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OpV,EACnC,MAAM,IAAIjpB,SAAQ,SAAUC,GAC1BktB,EAAeE,EAAMvX,GAAY,WAC/B7V,GACF,GACF,GACF,CCrHO,SAASmgC,EAAgBttC,GAC9B,IAAIu6B,EAAOv6B,EAAKu6B,KACZxZ,EAAY/gB,EAAK+gB,UACjB3J,EAAWpX,EAAKoX,SAChBxS,GAAQ,IAAAjB,UAAQ,WAClB,MAAO,CACL42B,KAAMA,EACNxZ,UAAWA,EAEf,GAAG,CAACwZ,EAAMxZ,IACV,OAAO,IAAAymB,eAAc,WAAsB,CACzC5iC,MAAOA,GACNwS,EACL,C","sources":["webpack://oriproductinfodialog/./node_modules/@ori/product-box/esm/mappers/constants.js","webpack://oriproductinfodialog/./node_modules/@ori/beauty-app-info/esm/index.js","webpack://oriproductinfodialog/./node_modules/@ori/product-box/esm/mappers/shared.js","webpack://oriproductinfodialog/./node_modules/@ori/product-box/esm/mappers/gql.js","webpack://oriproductinfodialog/./node_modules/@ori/product-info-dialog-lib/esm/constants.js","webpack://oriproductinfodialog/./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js","webpack://oriproductinfodialog/./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","webpack://oriproductinfodialog/./node_modules/@ori/product-info-dialog-lib/esm/hooks/internal/useSWRFetch.js","webpack://oriproductinfodialog/./node_modules/tslib/tslib.es6.js","webpack://oriproductinfodialog/./node_modules/pascal-case/node_modules/lower-case/dist.es2015/index.js","webpack://oriproductinfodialog/./node_modules/pascal-case/node_modules/no-case/dist.es2015/index.js","webpack://oriproductinfodialog/./node_modules/pascal-case/dist.es2015/index.js","webpack://oriproductinfodialog/./node_modules/camel-case/dist.es2015/index.js","webpack://oriproductinfodialog/./node_modules/axios-case-converter/node_modules/lower-case/dist.es2015/index.js","webpack://oriproductinfodialog/./node_modules/axios-case-converter/node_modules/no-case/dist.es2015/index.js","webpack://oriproductinfodialog/./node_modules/axios-case-converter/node_modules/dot-case/dist.es2015/index.js","webpack://oriproductinfodialog/./node_modules/capital-case/node_modules/lower-case/dist.es2015/index.js","webpack://oriproductinfodialog/./node_modules/capital-case/node_modules/no-case/dist.es2015/index.js","webpack://oriproductinfodialog/./node_modules/capital-case/dist.es2015/index.js","webpack://oriproductinfodialog/./node_modules/capital-case/node_modules/upper-case-first/dist.es2015/index.js","webpack://oriproductinfodialog/./node_modules/axios-case-converter/es/decorators.js","webpack://oriproductinfodialog/./node_modules/axios-case-converter/es/util.js","webpack://oriproductinfodialog/./node_modules/axios-case-converter/es/transformers.js","webpack://oriproductinfodialog/./node_modules/axios-case-converter/node_modules/snake-case/dist.es2015/index.js","webpack://oriproductinfodialog/./node_modules/axios-case-converter/node_modules/header-case/dist.es2015/index.js","webpack://oriproductinfodialog/./node_modules/axios-case-converter/es/middleware.js","webpack://oriproductinfodialog/./node_modules/axios-case-converter/es/index.js","webpack://oriproductinfodialog/./node_modules/@ori/global-api-client/esm/ApiClient.js","webpack://oriproductinfodialog/./node_modules/@ori/global-api-client/esm/apiClientContext.js","webpack://oriproductinfodialog/./node_modules/@ori/product-info-dialog-lib/esm/api/getProductInfoDialogProducts/getHeaders.js","webpack://oriproductinfodialog/./node_modules/@ori/global-api-client/esm/api.js","webpack://oriproductinfodialog/./node_modules/@ori/product-box/esm/graphql/fragments/concept.js","webpack://oriproductinfodialog/./node_modules/@ori/product-box/esm/graphql/fragments/labels.js","webpack://oriproductinfodialog/./node_modules/@ori/product-box/esm/graphql/fragments/product.js","webpack://oriproductinfodialog/./node_modules/@ori/product-info-dialog-lib/esm/api/getProductInfoDialogProducts/query.js","webpack://oriproductinfodialog/./node_modules/@ori/product-info-dialog-lib/esm/api/mappers.js","webpack://oriproductinfodialog/./node_modules/@ori/product-info-dialog-lib/esm/api/getProductInfoDialogProducts/getProductInfoDialogProducts.js","webpack://oriproductinfodialog/./node_modules/@ori/static-api-client/esm/ApiClient.js","webpack://oriproductinfodialog/./node_modules/@ori/product-info-dialog-lib/esm/hooks/useGetProductInfoDialogShowMrpStatement.js","webpack://oriproductinfodialog/./node_modules/@ori/static-api-client/esm/apiClientContext.js","webpack://oriproductinfodialog/./node_modules/@ori/product-info-dialog-lib/esm/api/getProductInfoDialogShowMrpStatement.js","webpack://oriproductinfodialog/./node_modules/@ori/static-api-client/esm/api.js","webpack://oriproductinfodialog/./node_modules/@ori/product-info-dialog-lib/esm/translations/utils.js","webpack://oriproductinfodialog/./node_modules/@ori/product-info-dialog-lib/esm/components/Dialog/styles.js","webpack://oriproductinfodialog/./node_modules/@ori/product-info-dialog-lib/esm/hooks/useGetProductInfoDialogTranslations.js","webpack://oriproductinfodialog/./node_modules/@ori/product-info-dialog-lib/esm/api/getProductInfoDialogTranslations.js","webpack://oriproductinfodialog/./node_modules/@ori/product-info-dialog-lib/esm/components/Dialog/Dialog.js","webpack://oriproductinfodialog/./node_modules/@ori/product-info-dialog-lib/esm/components/Loading/Loading.js","webpack://oriproductinfodialog/./node_modules/@ori/product-info-dialog-lib/esm/containers/DialogContainer.js","webpack://oriproductinfodialog/./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","webpack://oriproductinfodialog/./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","webpack://oriproductinfodialog/./node_modules/@babel/runtime/helpers/esm/inherits.js","webpack://oriproductinfodialog/./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","webpack://oriproductinfodialog/./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","webpack://oriproductinfodialog/./node_modules/@ori/product-info-dialog-lib/esm/containers/ErrorBoundary.js","webpack://oriproductinfodialog/./node_modules/i18next/dist/esm/i18next.js","webpack://oriproductinfodialog/./node_modules/@babel/runtime/helpers/esm/toArray.js","webpack://oriproductinfodialog/./node_modules/@ori/product-info-dialog-lib/esm/translations/i18n.js","webpack://oriproductinfodialog/./node_modules/@ori/product-info-dialog-lib/esm/containers/ProductInfoDialog.js","webpack://oriproductinfodialog/./node_modules/@ori/product-info-dialog-lib/esm/hooks/useProductInfoDialog.js","webpack://oriproductinfodialog/./node_modules/@ori/product-info-dialog-lib/esm/hooks/useGetProductInfoDialogProducts.js","webpack://oriproductinfodialog/./node_modules/@ori/product-info-dialog-lib/esm/hooks/internal/useIsDesktop.js","webpack://oriproductinfodialog/./node_modules/@ori/product-info-dialog-lib/esm/translations/TranslationKeys.js","webpack://oriproductinfodialog/./node_modules/@ori/product-info-dialog-lib/esm/utils/getInitialProduct.js","webpack://oriproductinfodialog/./node_modules/axios/index.js","webpack://oriproductinfodialog/./node_modules/axios/lib/adapters/xhr.js","webpack://oriproductinfodialog/./node_modules/axios/lib/axios.js","webpack://oriproductinfodialog/./node_modules/axios/lib/cancel/Cancel.js","webpack://oriproductinfodialog/./node_modules/axios/lib/cancel/CancelToken.js","webpack://oriproductinfodialog/./node_modules/axios/lib/cancel/isCancel.js","webpack://oriproductinfodialog/./node_modules/axios/lib/core/Axios.js","webpack://oriproductinfodialog/./node_modules/axios/lib/core/InterceptorManager.js","webpack://oriproductinfodialog/./node_modules/axios/lib/core/buildFullPath.js","webpack://oriproductinfodialog/./node_modules/axios/lib/core/createError.js","webpack://oriproductinfodialog/./node_modules/axios/lib/core/dispatchRequest.js","webpack://oriproductinfodialog/./node_modules/axios/lib/core/enhanceError.js","webpack://oriproductinfodialog/./node_modules/axios/lib/core/mergeConfig.js","webpack://oriproductinfodialog/./node_modules/axios/lib/core/settle.js","webpack://oriproductinfodialog/./node_modules/axios/lib/core/transformData.js","webpack://oriproductinfodialog/./node_modules/axios/lib/defaults/index.js","webpack://oriproductinfodialog/./node_modules/axios/lib/defaults/transitional.js","webpack://oriproductinfodialog/./node_modules/axios/lib/env/data.js","webpack://oriproductinfodialog/./node_modules/axios/lib/helpers/bind.js","webpack://oriproductinfodialog/./node_modules/axios/lib/helpers/buildURL.js","webpack://oriproductinfodialog/./node_modules/axios/lib/helpers/combineURLs.js","webpack://oriproductinfodialog/./node_modules/axios/lib/helpers/cookies.js","webpack://oriproductinfodialog/./node_modules/axios/lib/helpers/isAbsoluteURL.js","webpack://oriproductinfodialog/./node_modules/axios/lib/helpers/isAxiosError.js","webpack://oriproductinfodialog/./node_modules/axios/lib/helpers/isURLSameOrigin.js","webpack://oriproductinfodialog/./node_modules/axios/lib/helpers/normalizeHeaderName.js","webpack://oriproductinfodialog/./node_modules/axios/lib/helpers/parseHeaders.js","webpack://oriproductinfodialog/./node_modules/axios/lib/helpers/spread.js","webpack://oriproductinfodialog/./node_modules/axios/lib/helpers/validator.js","webpack://oriproductinfodialog/./node_modules/axios/lib/utils.js","webpack://oriproductinfodialog/./node_modules/void-elements/index.js","webpack://oriproductinfodialog/./node_modules/@babel/runtime/helpers/esm/classCallCheck.js","webpack://oriproductinfodialog/./node_modules/@babel/runtime/helpers/esm/createClass.js","webpack://oriproductinfodialog/./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","webpack://oriproductinfodialog/./node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js","webpack://oriproductinfodialog/./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","webpack://oriproductinfodialog/./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","webpack://oriproductinfodialog/./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","webpack://oriproductinfodialog/./node_modules/html-parse-stringify/dist/html-parse-stringify.module.js","webpack://oriproductinfodialog/./node_modules/react-i18next/dist/es/utils.js","webpack://oriproductinfodialog/./node_modules/react-i18next/dist/es/unescape.js","webpack://oriproductinfodialog/./node_modules/react-i18next/dist/es/defaults.js","webpack://oriproductinfodialog/./node_modules/react-i18next/dist/es/i18nInstance.js","webpack://oriproductinfodialog/./node_modules/react-i18next/dist/es/initReactI18next.js","webpack://oriproductinfodialog/./node_modules/react-i18next/dist/es/context.js","webpack://oriproductinfodialog/./node_modules/react-i18next/dist/es/useTranslation.js","webpack://oriproductinfodialog/./node_modules/react-i18next/dist/es/I18nextProvider.js"],"sourcesContent":["export var FLAG_COMING_SOON = 'ComingSoon';\nexport var FLAG_NEW = 'New';\nexport var FLAG_NO_LONGER_FOR_SALE = 'NoLongerForSale';\nexport var FLAG_NOT_SOLD_ONLINE = 'NotSoldOnline';\nexport var FLAG_OFFER = 'Offer';\nexport var FLAG_OUT_OF_STOCK = 'OutOfStock';\nexport var FLAG_SOLD_OUT = 'SoldOut';\nexport var FLAG_SUPER_DEAL = 'SuperDeal';\nexport var LABEL_ADD_TO_BASKET_VISIBLE = 'AddToBasketVisible';\nexport var LABEL_CAN_BE_RESERVED = 'CanBeReserved';\nexport var LABEL_DEAL = 'Deal';\nexport var LABEL_PPA = 'PPA';\nexport var PRODUCT_UNAVAILABLE_FLAGS = [FLAG_COMING_SOON, FLAG_NO_LONGER_FOR_SALE, FLAG_NOT_SOLD_ONLINE, FLAG_OUT_OF_STOCK, FLAG_SOLD_OUT];","export var TESTING_PARAM_NAME = 'sc_device';\nexport var TESTING_PARAM_VALUE = 'beautyapp';\nexport var isTestingParam = function isTestingParam() {\n var siteUrl = new URL(window.location.href);\n return siteUrl.searchParams.get(TESTING_PARAM_NAME) === TESTING_PARAM_VALUE;\n};\nexport var USER_AGENT_FLAG = 'BeautyAppV3';\nexport var isUserAgentFlag = function isUserAgentFlag() {\n return navigator.userAgent.includes(USER_AGENT_FLAG);\n};\nexport var isBeautyApp = function isBeautyApp() {\n if (typeof window === 'undefined') return false;\n return isTestingParam() || isUserAgentFlag();\n};","import _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nimport { isBeautyApp } from '@ori/beauty-app-info';\nimport { LABEL_ADD_TO_BASKET_VISIBLE, LABEL_CAN_BE_RESERVED, LABEL_DEAL, LABEL_PPA } from './constants';\nvar findLabelByDomainType = function findLabelByDomainType(domainType) {\n return function (label) {\n return (label === null || label === void 0 ? void 0 : label.productLabelDomain) === domainType;\n };\n};\nvar findLabelByKey = function findLabelByKey(key) {\n return function (label) {\n return (label === null || label === void 0 ? void 0 : label.labelKey) === key;\n };\n};\nexport var filterData = function filterData(data) {\n return data != null;\n};\nexport var filterMappedProducts = function filterMappedProducts(products) {\n return products.filter(filterData);\n};\nexport var filterProducts = function filterProducts(products) {\n return products.filter(filterData);\n};\nexport var filterShades = function filterShades(shades) {\n return shades.filter(filterData);\n};\nexport var getProductUrl = function getProductUrl(code) {\n return \"/products/product?code=\".concat(code);\n};\nexport var maybeMapProps = function maybeMapProps(_ref, props) {\n var currentPrice = _ref.currentPrice,\n name = _ref.name;\n if (currentPrice && name) {\n return _objectSpread(_objectSpread({}, props), {}, {\n currentPrice: currentPrice,\n hasRelatedSet: false,\n isFavoritesDisabled: isBeautyApp(),\n name: name,\n showPoints: false\n });\n }\n return null;\n};\nexport var mapCanBeReserved = function mapCanBeReserved(collection) {\n var canBeReserved = collection === null || collection === void 0 ? void 0 : collection.find(findLabelByKey(LABEL_CAN_BE_RESERVED));\n return canBeReserved ? true : undefined;\n};\nexport var mapCanBeSold = function mapCanBeSold(collection) {\n return (collection === null || collection === void 0 ? void 0 : collection.find(findLabelByKey(LABEL_ADD_TO_BASKET_VISIBLE))) !== undefined;\n};\nexport var mapLabels = function mapLabels(collection) {\n if (collection) {\n var _deal$labelKey, _deal$title, _flag$labelKey, _flag$title;\n var deal = collection.find(findLabelByDomainType(LABEL_DEAL));\n var flag = collection.find(findLabelByDomainType(LABEL_PPA));\n return {\n labelDealFlag: (_deal$labelKey = deal === null || deal === void 0 ? void 0 : deal.labelKey) !== null && _deal$labelKey !== void 0 ? _deal$labelKey : null,\n labelDealString: (_deal$title = deal === null || deal === void 0 ? void 0 : deal.title) !== null && _deal$title !== void 0 ? _deal$title : null,\n labelFlag: (_flag$labelKey = flag === null || flag === void 0 ? void 0 : flag.labelKey) !== null && _flag$labelKey !== void 0 ? _flag$labelKey : null,\n labelString: (_flag$title = flag === null || flag === void 0 ? void 0 : flag.title) !== null && _flag$title !== void 0 ? _flag$title : null\n };\n }\n return {\n labelDealFlag: null,\n labelDealString: null,\n labelFlag: null,\n labelString: null\n };\n};\nexport var mapShade = function mapShade(_ref2) {\n var colorHexCode = _ref2.colorHexCode,\n colorImageUrl = _ref2.colorImageUrl,\n productCode = _ref2.productCode;\n var props = {\n productCode: productCode !== null && productCode !== void 0 ? productCode : ''\n };\n if (colorHexCode) {\n props.hexColors = colorHexCode.split(',');\n }\n if (colorImageUrl) {\n props.imageUrl = colorImageUrl;\n }\n return props;\n};\nexport var mapShades = function mapShades(shades) {\n if (shades) {\n return filterShades(shades).map(mapShade);\n }\n return undefined;\n};","import _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nimport { getProductUrl, mapCanBeReserved, mapCanBeSold, mapLabels, mapShades, maybeMapProps } from './shared';\nexport var mapProductBoxPropsFromGql = function mapProductBoxPropsFromGql(data, options) {\n var _data$formattedPrice, _data$formattedPrice$, _data$concept, _data$concept2, _data$concept3, _data$concept3$brand, _data$price$price$cur, _data$price, _data$price$price, _data$imageUrl, _data$backInStockAvai, _data$backInStockAvai2, _data$formattedPrice$2, _data$formattedPrice2, _data$formattedPrice3, _data$concept$ratingA, _data$concept4, _data$concept5;\n var currentPrice = (_data$formattedPrice = data.formattedPrice) === null || _data$formattedPrice === void 0 ? void 0 : (_data$formattedPrice$ = _data$formattedPrice.price) === null || _data$formattedPrice$ === void 0 ? void 0 : _data$formattedPrice$.currentPrice;\n var name = (_data$concept = data.concept) === null || _data$concept === void 0 ? void 0 : _data$concept.productName;\n var labels = options !== null && options !== void 0 && options.labelsFromProduct ? data.labels : (_data$concept2 = data.concept) === null || _data$concept2 === void 0 ? void 0 : _data$concept2.labels;\n return maybeMapProps({\n currentPrice: currentPrice,\n name: name\n }, _objectSpread(_objectSpread({}, mapLabels(labels)), {}, {\n brand: (_data$concept3 = data.concept) === null || _data$concept3 === void 0 ? void 0 : (_data$concept3$brand = _data$concept3.brand) === null || _data$concept3$brand === void 0 ? void 0 : _data$concept3$brand.name,\n canBeReserved: mapCanBeReserved(labels),\n canBeSold: mapCanBeSold(labels),\n currentPriceValue: (_data$price$price$cur = (_data$price = data.price) === null || _data$price === void 0 ? void 0 : (_data$price$price = _data$price.price) === null || _data$price$price === void 0 ? void 0 : _data$price$price.currentPrice) !== null && _data$price$price$cur !== void 0 ? _data$price$price$cur : undefined,\n code: data.productCode,\n image: (_data$imageUrl = data.imageUrl) !== null && _data$imageUrl !== void 0 ? _data$imageUrl : null,\n isStockNotificationEnabled: (_data$backInStockAvai = (_data$backInStockAvai2 = data.backInStockAvailability) === null || _data$backInStockAvai2 === void 0 ? void 0 : _data$backInStockAvai2.showBackInStockNotification) !== null && _data$backInStockAvai !== void 0 ? _data$backInStockAvai : false,\n oldPrice: (_data$formattedPrice$2 = (_data$formattedPrice2 = data.formattedPrice) === null || _data$formattedPrice2 === void 0 ? void 0 : (_data$formattedPrice3 = _data$formattedPrice2.price) === null || _data$formattedPrice3 === void 0 ? void 0 : _data$formattedPrice3.basicCataloguePrice) !== null && _data$formattedPrice$2 !== void 0 ? _data$formattedPrice$2 : null,\n rating: (_data$concept$ratingA = (_data$concept4 = data.concept) === null || _data$concept4 === void 0 ? void 0 : _data$concept4.ratingAverage) !== null && _data$concept$ratingA !== void 0 ? _data$concept$ratingA : 0,\n shades: mapShades((_data$concept5 = data.concept) === null || _data$concept5 === void 0 ? void 0 : _data$concept5.products),\n url: getProductUrl(data.productCode)\n }));\n};\nexport var mapProductBoxesFromGql = function mapProductBoxesFromGql(products, options) {\n return products.filter(function (product) {\n return product !== null;\n }).map(function (product) {\n return mapProductBoxPropsFromGql(product, options);\n }).filter(function (product) {\n return product !== null;\n });\n};","export var BUY_BUTTON_STATE_DEFAULT = 'default';\nexport var BUY_BUTTON_STATE_LOADING = 'loading';\nexport var DIALOG_MODE_FAVORITES = 'favorites';\nexport var DIALOG_MODE_LOADING = 'loading';\nexport var DIALOG_MODE_REWARDS_SHOP = 'rewardsShop';\nexport var DIALOG_MODE_STANDARD_BUY = 'standardBuy';\nexport var FAVORITES_BUTTON_STATE_IN = 'in';\nexport var FAVORITES_BUTTON_STATE_OUT = 'out';\nexport var FETCH_MODE_EAGER = 'eager';\nexport var FETCH_MODE_LAZY = 'lazy';\nexport var QUICK_BUY_BUTTON_STATE_DEFAULT = 'default';\nexport var QUICK_BUY_BUTTON_STATE_ERROR = 'error';\nexport var QUICK_BUY_BUTTON_STATE_LOADING = 'loading';\nexport var QUICK_BUY_BUTTON_STATE_SUCCESS = 'success';\nexport var QUICK_BUY_BUTTON_STATE_WAITING = 'waiting';\nexport var PRODUCT_INITIAL_QUANTITY = 1;","import objectWithoutPropertiesLoose from \"./objectWithoutPropertiesLoose.js\";\nexport default function _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n var target = objectWithoutPropertiesLoose(source, excluded);\n var key, i;\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n return target;\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}","import _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport { useCallback, useMemo, useState } from 'react';\nimport useSWR from 'swr';\nexport var useSWRFetch = function useSWRFetch(_ref) {\n var fallback = _ref.fallback,\n fetcher = _ref.fetcher,\n key = _ref.key;\n var formattedKey = JSON.stringify({\n key: key\n });\n var _useState = useState(null),\n _useState2 = _slicedToArray(_useState, 2),\n currentKey = _useState2[0],\n setCurrentKey = _useState2[1];\n var matchingKey = currentKey === formattedKey;\n var _useSWR = useSWR(currentKey, fetcher),\n data = _useSWR.data,\n error = _useSWR.error;\n var fetch = useCallback(function () {\n if (!matchingKey) {\n setCurrentKey(formattedKey);\n }\n }, [formattedKey, matchingKey]);\n return useMemo(function () {\n return {\n data: data !== null && data !== void 0 ? data : fallback,\n error: error,\n fetch: fetch,\n isLoaded: matchingKey && data != null && error == null,\n isLoading: data == null && error == null\n };\n }, [data, error, fallback, fetch, matchingKey]);\n};","/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n","/**\n * Source: ftp://ftp.unicode.org/Public/UCD/latest/ucd/SpecialCasing.txt\n */\nvar SUPPORTED_LOCALE = {\n tr: {\n regexp: /\\u0130|\\u0049|\\u0049\\u0307/g,\n map: {\n İ: \"\\u0069\",\n I: \"\\u0131\",\n İ: \"\\u0069\",\n },\n },\n az: {\n regexp: /\\u0130/g,\n map: {\n İ: \"\\u0069\",\n I: \"\\u0131\",\n İ: \"\\u0069\",\n },\n },\n lt: {\n regexp: /\\u0049|\\u004A|\\u012E|\\u00CC|\\u00CD|\\u0128/g,\n map: {\n I: \"\\u0069\\u0307\",\n J: \"\\u006A\\u0307\",\n Į: \"\\u012F\\u0307\",\n Ì: \"\\u0069\\u0307\\u0300\",\n Í: \"\\u0069\\u0307\\u0301\",\n Ĩ: \"\\u0069\\u0307\\u0303\",\n },\n },\n};\n/**\n * Localized lower case.\n */\nexport function localeLowerCase(str, locale) {\n var lang = SUPPORTED_LOCALE[locale.toLowerCase()];\n if (lang)\n return lowerCase(str.replace(lang.regexp, function (m) { return lang.map[m]; }));\n return lowerCase(str);\n}\n/**\n * Lower case as a function.\n */\nexport function lowerCase(str) {\n return str.toLowerCase();\n}\n//# sourceMappingURL=index.js.map","import { lowerCase } from \"lower-case\";\n// Support camel case (\"camelCase\" -> \"camel Case\" and \"CAMELCase\" -> \"CAMEL Case\").\nvar DEFAULT_SPLIT_REGEXP = [/([a-z0-9])([A-Z])/g, /([A-Z])([A-Z][a-z])/g];\n// Remove all non-word characters.\nvar DEFAULT_STRIP_REGEXP = /[^A-Z0-9]+/gi;\n/**\n * Normalize the string into something other libraries can manipulate easier.\n */\nexport function noCase(input, options) {\n if (options === void 0) { options = {}; }\n var _a = options.splitRegexp, splitRegexp = _a === void 0 ? DEFAULT_SPLIT_REGEXP : _a, _b = options.stripRegexp, stripRegexp = _b === void 0 ? DEFAULT_STRIP_REGEXP : _b, _c = options.transform, transform = _c === void 0 ? lowerCase : _c, _d = options.delimiter, delimiter = _d === void 0 ? \" \" : _d;\n var result = replace(replace(input, splitRegexp, \"$1\\0$2\"), stripRegexp, \"\\0\");\n var start = 0;\n var end = result.length;\n // Trim the delimiter from around the output string.\n while (result.charAt(start) === \"\\0\")\n start++;\n while (result.charAt(end - 1) === \"\\0\")\n end--;\n // Transform each token independently.\n return result.slice(start, end).split(\"\\0\").map(transform).join(delimiter);\n}\n/**\n * Replace `re` in the input string with the replacement value.\n */\nfunction replace(input, re, value) {\n if (re instanceof RegExp)\n return input.replace(re, value);\n return re.reduce(function (input, re) { return input.replace(re, value); }, input);\n}\n//# sourceMappingURL=index.js.map","import { __assign } from \"tslib\";\nimport { noCase } from \"no-case\";\nexport function pascalCaseTransform(input, index) {\n var firstChar = input.charAt(0);\n var lowerChars = input.substr(1).toLowerCase();\n if (index > 0 && firstChar >= \"0\" && firstChar <= \"9\") {\n return \"_\" + firstChar + lowerChars;\n }\n return \"\" + firstChar.toUpperCase() + lowerChars;\n}\nexport function pascalCaseTransformMerge(input) {\n return input.charAt(0).toUpperCase() + input.slice(1).toLowerCase();\n}\nexport function pascalCase(input, options) {\n if (options === void 0) { options = {}; }\n return noCase(input, __assign({ delimiter: \"\", transform: pascalCaseTransform }, options));\n}\n//# sourceMappingURL=index.js.map","import { __assign } from \"tslib\";\nimport { pascalCase, pascalCaseTransform, pascalCaseTransformMerge, } from \"pascal-case\";\nexport function camelCaseTransform(input, index) {\n if (index === 0)\n return input.toLowerCase();\n return pascalCaseTransform(input, index);\n}\nexport function camelCaseTransformMerge(input, index) {\n if (index === 0)\n return input.toLowerCase();\n return pascalCaseTransformMerge(input);\n}\nexport function camelCase(input, options) {\n if (options === void 0) { options = {}; }\n return pascalCase(input, __assign({ transform: camelCaseTransform }, options));\n}\n//# sourceMappingURL=index.js.map","/**\n * Source: ftp://ftp.unicode.org/Public/UCD/latest/ucd/SpecialCasing.txt\n */\nvar SUPPORTED_LOCALE = {\n tr: {\n regexp: /\\u0130|\\u0049|\\u0049\\u0307/g,\n map: {\n İ: \"\\u0069\",\n I: \"\\u0131\",\n İ: \"\\u0069\",\n },\n },\n az: {\n regexp: /\\u0130/g,\n map: {\n İ: \"\\u0069\",\n I: \"\\u0131\",\n İ: \"\\u0069\",\n },\n },\n lt: {\n regexp: /\\u0049|\\u004A|\\u012E|\\u00CC|\\u00CD|\\u0128/g,\n map: {\n I: \"\\u0069\\u0307\",\n J: \"\\u006A\\u0307\",\n Į: \"\\u012F\\u0307\",\n Ì: \"\\u0069\\u0307\\u0300\",\n Í: \"\\u0069\\u0307\\u0301\",\n Ĩ: \"\\u0069\\u0307\\u0303\",\n },\n },\n};\n/**\n * Localized lower case.\n */\nexport function localeLowerCase(str, locale) {\n var lang = SUPPORTED_LOCALE[locale.toLowerCase()];\n if (lang)\n return lowerCase(str.replace(lang.regexp, function (m) { return lang.map[m]; }));\n return lowerCase(str);\n}\n/**\n * Lower case as a function.\n */\nexport function lowerCase(str) {\n return str.toLowerCase();\n}\n//# sourceMappingURL=index.js.map","import { lowerCase } from \"lower-case\";\n// Support camel case (\"camelCase\" -> \"camel Case\" and \"CAMELCase\" -> \"CAMEL Case\").\nvar DEFAULT_SPLIT_REGEXP = [/([a-z0-9])([A-Z])/g, /([A-Z])([A-Z][a-z])/g];\n// Remove all non-word characters.\nvar DEFAULT_STRIP_REGEXP = /[^A-Z0-9]+/gi;\n/**\n * Normalize the string into something other libraries can manipulate easier.\n */\nexport function noCase(input, options) {\n if (options === void 0) { options = {}; }\n var _a = options.splitRegexp, splitRegexp = _a === void 0 ? DEFAULT_SPLIT_REGEXP : _a, _b = options.stripRegexp, stripRegexp = _b === void 0 ? DEFAULT_STRIP_REGEXP : _b, _c = options.transform, transform = _c === void 0 ? lowerCase : _c, _d = options.delimiter, delimiter = _d === void 0 ? \" \" : _d;\n var result = replace(replace(input, splitRegexp, \"$1\\0$2\"), stripRegexp, \"\\0\");\n var start = 0;\n var end = result.length;\n // Trim the delimiter from around the output string.\n while (result.charAt(start) === \"\\0\")\n start++;\n while (result.charAt(end - 1) === \"\\0\")\n end--;\n // Transform each token independently.\n return result.slice(start, end).split(\"\\0\").map(transform).join(delimiter);\n}\n/**\n * Replace `re` in the input string with the replacement value.\n */\nfunction replace(input, re, value) {\n if (re instanceof RegExp)\n return input.replace(re, value);\n return re.reduce(function (input, re) { return input.replace(re, value); }, input);\n}\n//# sourceMappingURL=index.js.map","import { __assign } from \"tslib\";\nimport { noCase } from \"no-case\";\nexport function dotCase(input, options) {\n if (options === void 0) { options = {}; }\n return noCase(input, __assign({ delimiter: \".\" }, options));\n}\n//# sourceMappingURL=index.js.map","/**\n * Source: ftp://ftp.unicode.org/Public/UCD/latest/ucd/SpecialCasing.txt\n */\nvar SUPPORTED_LOCALE = {\n tr: {\n regexp: /\\u0130|\\u0049|\\u0049\\u0307/g,\n map: {\n İ: \"\\u0069\",\n I: \"\\u0131\",\n İ: \"\\u0069\",\n },\n },\n az: {\n regexp: /\\u0130/g,\n map: {\n İ: \"\\u0069\",\n I: \"\\u0131\",\n İ: \"\\u0069\",\n },\n },\n lt: {\n regexp: /\\u0049|\\u004A|\\u012E|\\u00CC|\\u00CD|\\u0128/g,\n map: {\n I: \"\\u0069\\u0307\",\n J: \"\\u006A\\u0307\",\n Į: \"\\u012F\\u0307\",\n Ì: \"\\u0069\\u0307\\u0300\",\n Í: \"\\u0069\\u0307\\u0301\",\n Ĩ: \"\\u0069\\u0307\\u0303\",\n },\n },\n};\n/**\n * Localized lower case.\n */\nexport function localeLowerCase(str, locale) {\n var lang = SUPPORTED_LOCALE[locale.toLowerCase()];\n if (lang)\n return lowerCase(str.replace(lang.regexp, function (m) { return lang.map[m]; }));\n return lowerCase(str);\n}\n/**\n * Lower case as a function.\n */\nexport function lowerCase(str) {\n return str.toLowerCase();\n}\n//# sourceMappingURL=index.js.map","import { lowerCase } from \"lower-case\";\n// Support camel case (\"camelCase\" -> \"camel Case\" and \"CAMELCase\" -> \"CAMEL Case\").\nvar DEFAULT_SPLIT_REGEXP = [/([a-z0-9])([A-Z])/g, /([A-Z])([A-Z][a-z])/g];\n// Remove all non-word characters.\nvar DEFAULT_STRIP_REGEXP = /[^A-Z0-9]+/gi;\n/**\n * Normalize the string into something other libraries can manipulate easier.\n */\nexport function noCase(input, options) {\n if (options === void 0) { options = {}; }\n var _a = options.splitRegexp, splitRegexp = _a === void 0 ? DEFAULT_SPLIT_REGEXP : _a, _b = options.stripRegexp, stripRegexp = _b === void 0 ? DEFAULT_STRIP_REGEXP : _b, _c = options.transform, transform = _c === void 0 ? lowerCase : _c, _d = options.delimiter, delimiter = _d === void 0 ? \" \" : _d;\n var result = replace(replace(input, splitRegexp, \"$1\\0$2\"), stripRegexp, \"\\0\");\n var start = 0;\n var end = result.length;\n // Trim the delimiter from around the output string.\n while (result.charAt(start) === \"\\0\")\n start++;\n while (result.charAt(end - 1) === \"\\0\")\n end--;\n // Transform each token independently.\n return result.slice(start, end).split(\"\\0\").map(transform).join(delimiter);\n}\n/**\n * Replace `re` in the input string with the replacement value.\n */\nfunction replace(input, re, value) {\n if (re instanceof RegExp)\n return input.replace(re, value);\n return re.reduce(function (input, re) { return input.replace(re, value); }, input);\n}\n//# sourceMappingURL=index.js.map","import { __assign } from \"tslib\";\nimport { noCase } from \"no-case\";\nimport { upperCaseFirst } from \"upper-case-first\";\nexport function capitalCaseTransform(input) {\n return upperCaseFirst(input.toLowerCase());\n}\nexport function capitalCase(input, options) {\n if (options === void 0) { options = {}; }\n return noCase(input, __assign({ delimiter: \" \", transform: capitalCaseTransform }, options));\n}\n//# sourceMappingURL=index.js.map","/**\n * Upper case the first character of an input string.\n */\nexport function upperCaseFirst(input) {\n return input.charAt(0).toUpperCase() + input.substr(1);\n}\n//# sourceMappingURL=index.js.map","import { __assign } from \"tslib\";\nexport var applyCaseOptions = function (fn, defaultOptions) {\n return function (input, options) {\n return fn(input, __assign(__assign({}, defaultOptions), options));\n };\n};\nexport var preserveSpecificKeys = function (fn, keys) {\n var condition = typeof keys === 'function'\n ? keys\n : function (input) { return keys.includes(input); };\n return function (input, options) {\n return condition(input, options) ? input : fn(input, options);\n };\n};\n","export var isURLSearchParams = function (value) {\n return (typeof URLSearchParams !== 'undefined' && value instanceof URLSearchParams);\n};\nexport var isFormData = function (value) {\n return typeof FormData !== 'undefined' && value instanceof FormData;\n};\nexport var isPlainObject = function (value) {\n if (value == null) {\n return false;\n }\n var proto = Object.getPrototypeOf(value);\n return proto === null || proto === Object.prototype;\n};\nexport var isTransformable = function (value) {\n return (Array.isArray(value) ||\n isPlainObject(value) ||\n isFormData(value) ||\n isURLSearchParams(value));\n};\n// Dirty hack for unexported AxiosHeaders.\n// Don't handle it as Transformable to reduce the scope of the impact.\nexport var isAxiosHeaders = function (value) {\n var _a, _b;\n if (value == null) {\n return false;\n }\n return ((_b = (_a = Object.getPrototypeOf(value)) === null || _a === void 0 ? void 0 : _a.constructor) === null || _b === void 0 ? void 0 : _b.name) === 'AxiosHeaders';\n};\n","import { __assign, __read, __spreadArray, __values } from \"tslib\";\nimport { camelCase as camelCaseString } from 'camel-case';\nimport { snakeCase as snakeCaseString } from 'snake-case';\nimport { headerCase as headerCaseString } from 'header-case';\nimport { applyCaseOptions, preserveSpecificKeys } from './decorators';\nimport { isFormData, isTransformable, isURLSearchParams } from './util';\nvar caseFunctions = {\n snake: snakeCaseString,\n camel: camelCaseString,\n header: headerCaseString,\n};\nvar transformObjectUsingCallbackRecursive = function (data, fn, overwrite) {\n var e_1, _a, e_2, _b, e_3, _c;\n if (!isTransformable(data)) {\n return data;\n }\n /* eslint-disable no-console */\n // Check FormData/URLSearchParams compatibility\n if ((isFormData(data) || isURLSearchParams(data)) &&\n (!data.entries || (overwrite && !data.delete))) {\n var type = isFormData(data) ? 'FormData' : 'URLSearchParams';\n var polyfill = isFormData(data)\n ? 'https://github.com/jimmywarting/FormData'\n : 'https://github.com/jerrybendy/url-search-params-polyfill';\n if (typeof navigator !== 'undefined' &&\n navigator.product === 'ReactNative') {\n // You cannot transform FormData/URLSearchParams on React Native\n console.warn(\"Be careful that \".concat(type, \" cannot be transformed on React Native. If you intentionally implemented, ignore this kind of warning: https://facebook.github.io/react-native/docs/debugging.html\"));\n }\n else {\n if (!data.entries) {\n // You need to polyfill `entries` method\n console.warn(\"You must use polyfill of \".concat(type, \".prototype.entries() on Internet Explorer or Safari: \").concat(polyfill));\n }\n if (overwrite && !data.delete) {\n // You need to polyfill `delete` method for overwriting\n console.warn(\"You must use polyfill of \".concat(type, \".prototype.delete() on Internet Explorer or Safari: \").concat(polyfill));\n }\n }\n return data;\n }\n /* eslint-enable no-console */\n var prototype = Object.getPrototypeOf(data);\n // Storage of new values.\n // New instances are created when overwriting is disabled.\n var store = overwrite\n ? data\n : !prototype\n ? Object.create(null)\n : new prototype.constructor();\n // We need to clean up all entries before overwriting.\n var series;\n if (isFormData(data) || isURLSearchParams(data)) {\n // Create native iterator from FormData/URLSearchParams\n series = data.entries();\n if (overwrite) {\n // When overwriting, native iterator needs to be copied as array.\n series = __spreadArray([], __read(series), false);\n try {\n for (var series_1 = __values(series), series_1_1 = series_1.next(); !series_1_1.done; series_1_1 = series_1.next()) {\n var _d = __read(series_1_1.value, 1), key = _d[0];\n data.delete(key);\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (series_1_1 && !series_1_1.done && (_a = series_1.return)) _a.call(series_1);\n }\n finally { if (e_1) throw e_1.error; }\n }\n }\n }\n else {\n // Create array from objects\n series = Object.entries(data);\n // Array keys never change, so we don't need to clean up\n if (overwrite && !Array.isArray(data)) {\n try {\n for (var series_2 = __values(series), series_2_1 = series_2.next(); !series_2_1.done; series_2_1 = series_2.next()) {\n var _e = __read(series_2_1.value, 1), key = _e[0];\n delete data[key];\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (series_2_1 && !series_2_1.done && (_b = series_2.return)) _b.call(series_2);\n }\n finally { if (e_2) throw e_2.error; }\n }\n }\n }\n try {\n for (var series_3 = __values(series), series_3_1 = series_3.next(); !series_3_1.done; series_3_1 = series_3.next()) {\n var _f = __read(series_3_1.value, 2), key = _f[0], value = _f[1];\n if (isFormData(store) || isURLSearchParams(store)) {\n store.append(fn(key), value);\n }\n else if (key !== '__proto__') {\n store[fn(typeof key === 'string' ? key : \"\".concat(key))] =\n transformObjectUsingCallbackRecursive(value, fn, overwrite);\n }\n }\n }\n catch (e_3_1) { e_3 = { error: e_3_1 }; }\n finally {\n try {\n if (series_3_1 && !series_3_1.done && (_c = series_3.return)) _c.call(series_3);\n }\n finally { if (e_3) throw e_3.error; }\n }\n return store;\n};\nvar transformObjectUsingCallback = function (data, fn, options) {\n fn = applyCaseOptions(fn, __assign({ stripRegexp: /[^A-Z0-9[\\]]+/gi }, options === null || options === void 0 ? void 0 : options.caseOptions));\n if (options === null || options === void 0 ? void 0 : options.preservedKeys) {\n fn = preserveSpecificKeys(fn, options.preservedKeys);\n }\n return transformObjectUsingCallbackRecursive(data, fn, (options === null || options === void 0 ? void 0 : options.overwrite) || false);\n};\nexport var createObjectTransformer = function (fn) {\n return function (data, options) {\n return transformObjectUsingCallback(data, fn, options);\n };\n};\nexport var createObjectTransformerOf = function (functionName, options) {\n return createObjectTransformer((options === null || options === void 0 ? void 0 : options[functionName]) || caseFunctions[functionName]);\n};\nexport var createObjectTransformers = function (options) {\n var e_4, _a;\n var functionNames = Object.keys(caseFunctions);\n var objectTransformers = {};\n try {\n for (var functionNames_1 = __values(functionNames), functionNames_1_1 = functionNames_1.next(); !functionNames_1_1.done; functionNames_1_1 = functionNames_1.next()) {\n var functionName = functionNames_1_1.value;\n objectTransformers[functionName] = createObjectTransformerOf(functionName, options);\n }\n }\n catch (e_4_1) { e_4 = { error: e_4_1 }; }\n finally {\n try {\n if (functionNames_1_1 && !functionNames_1_1.done && (_a = functionNames_1.return)) _a.call(functionNames_1);\n }\n finally { if (e_4) throw e_4.error; }\n }\n return objectTransformers;\n};\n","import { __assign } from \"tslib\";\nimport { dotCase } from \"dot-case\";\nexport function snakeCase(input, options) {\n if (options === void 0) { options = {}; }\n return dotCase(input, __assign({ delimiter: \"_\" }, options));\n}\n//# sourceMappingURL=index.js.map","import { __assign } from \"tslib\";\nimport { capitalCase } from \"capital-case\";\nexport function headerCase(input, options) {\n if (options === void 0) { options = {}; }\n return capitalCase(input, __assign({ delimiter: \"-\" }, options));\n}\n//# sourceMappingURL=index.js.map","import { __assign, __read, __spreadArray, __values } from \"tslib\";\nimport { createObjectTransformers } from './transformers';\nimport { isAxiosHeaders, isPlainObject } from './util';\nexport var createSnakeParamsInterceptor = function (options) {\n var snake = createObjectTransformers(options === null || options === void 0 ? void 0 : options.caseFunctions).snake;\n return function (config) {\n if (config.params) {\n config.params = snake(config.params, options);\n }\n return config;\n };\n};\nexport var createSnakeRequestTransformer = function (options) {\n var _a = createObjectTransformers(options === null || options === void 0 ? void 0 : options.caseFunctions), snake = _a.snake, header = _a.header;\n return function (data, headers) {\n overwriteHeadersOrNoop(headers, header, options, [\n 'common',\n 'delete',\n 'get',\n 'head',\n 'post',\n 'put',\n 'patch',\n ]);\n return snake(data, options);\n };\n};\nexport var createCamelResponseTransformer = function (options) {\n var camel = createObjectTransformers(options === null || options === void 0 ? void 0 : options.caseFunctions).camel;\n return function (data, headers) {\n overwriteHeadersOrNoop(headers, camel, options);\n return camel(data, options);\n };\n};\nvar overwriteHeadersOrNoop = function (headers, fn, options, excludedKeys) {\n var e_1, _a, _b, _c;\n if ((options === null || options === void 0 ? void 0 : options.ignoreHeaders) ||\n (!isPlainObject(headers) && !isAxiosHeaders(headers))) {\n return;\n }\n try {\n for (var _d = __values(Object.entries(headers)), _e = _d.next(); !_e.done; _e = _d.next()) {\n var _f = __read(_e.value, 2), key = _f[0], value = _f[1];\n fn(value, __assign({ overwrite: true }, options));\n if ((excludedKeys || []).includes(key)) {\n continue;\n }\n if (isAxiosHeaders(headers)) {\n headers.delete(key);\n headers.set(Object.keys(fn((_b = {}, _b[key] = null, _b), options))[0], value, true);\n }\n else {\n delete headers[key];\n headers[Object.keys(fn((_c = {}, _c[key] = null, _c), options))[0]] = value;\n }\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_e && !_e.done && (_a = _d.return)) _a.call(_d);\n }\n finally { if (e_1) throw e_1.error; }\n }\n};\nexport var applyCaseMiddleware = function (axios, options) {\n var _a, _b, _c;\n axios.defaults.transformRequest = __spreadArray([\n ((_a = options === null || options === void 0 ? void 0 : options.caseMiddleware) === null || _a === void 0 ? void 0 : _a.requestTransformer) ||\n createSnakeRequestTransformer(options)\n ], __read((Array.isArray(axios.defaults.transformRequest)\n ? axios.defaults.transformRequest\n : axios.defaults.transformRequest !== undefined\n ? [axios.defaults.transformRequest]\n : [])), false);\n axios.defaults.transformResponse = __spreadArray(__spreadArray([], __read((Array.isArray(axios.defaults.transformResponse)\n ? axios.defaults.transformResponse\n : axios.defaults.transformResponse !== undefined\n ? [axios.defaults.transformResponse]\n : [])), false), [\n ((_b = options === null || options === void 0 ? void 0 : options.caseMiddleware) === null || _b === void 0 ? void 0 : _b.responseTransformer) ||\n createCamelResponseTransformer(options),\n ], false);\n axios.interceptors.request.use(((_c = options === null || options === void 0 ? void 0 : options.caseMiddleware) === null || _c === void 0 ? void 0 : _c.requestInterceptor) ||\n createSnakeParamsInterceptor(options));\n return axios;\n};\n","import { applyCaseMiddleware } from './middleware';\nexport default applyCaseMiddleware;\nexport * from './types';\n","var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nimport Axios from 'axios';\nimport applyCaseMiddleware from 'axios-case-converter';\nvar isoDateFormat = /^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d*)?(?:[+-]\\d{2}:?\\d{2}|Z)?$/;\nfunction isIsoDateString(value) {\n return typeof value === 'string' && isoDateFormat.test(value);\n}\nfunction handleDates(body) {\n if (body === null || typeof body !== 'object') {\n return body;\n }\n return Object.fromEntries(new Map(Object.entries(body).map(function (_a) {\n var key = _a[0], value = _a[1];\n if (isIsoDateString(value)) {\n return [key, new Date(value)];\n }\n else if (typeof value === 'object') {\n return [key, handleDates(value)];\n }\n return [key, value];\n })));\n}\nvar applyDateMiddleware = function (axiosInstance) {\n axiosInstance.interceptors.response.use(function (originalResponse) { return (__assign(__assign({}, originalResponse), { data: handleDates(originalResponse.data) })); });\n};\nvar AUTHORIZATION_HEADER = 'Authorization';\nvar LANGUAGE_HEADER = 'Accept-Language';\nvar TENANT_HEADER = 'x-tenant-context';\nfunction isAxiosInstace(variable) {\n if ('defaults' in variable && 'interceptors' in variable) {\n return true;\n }\n return false;\n}\nvar ApiClient = /** @class */ (function () {\n function ApiClient(options) {\n if (isAxiosInstace(options)) {\n this.axiosInstance = options;\n }\n else {\n var baseUrl = options.baseUrl, language = options.language, tenant = options.tenant, token = options.token;\n this.axiosInstance = Axios.create({\n baseURL: baseUrl,\n });\n if (token) {\n this.axiosInstance.defaults.headers.common[AUTHORIZATION_HEADER] = token;\n }\n if (tenant) {\n this.axiosInstance.defaults.headers.common[TENANT_HEADER] = tenant;\n }\n if (language) {\n this.axiosInstance.defaults.headers.common[LANGUAGE_HEADER] = language;\n }\n }\n applyDateMiddleware(this.axiosInstance);\n applyCaseMiddleware(this.axiosInstance);\n }\n ApiClient.prototype.createFetcher = function () {\n var _this = this;\n return function (config, signal) { return __awaiter(_this, void 0, void 0, function () {\n var data;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, this.axiosInstance(__assign(__assign({}, config), { signal: signal }))];\n case 1:\n data = (_a.sent()).data;\n return [2 /*return*/, data];\n }\n });\n }); };\n };\n return ApiClient;\n}());\nexport { ApiClient };\n\n//# sourceMappingURL=ApiClient.js.map\n","import { createContext } from 'react';\nexport var apiClientContext = createContext(undefined);\n\n//# sourceMappingURL=apiClientContext.js.map\n","import _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\n// TODO -- replace this module with shared GQL headers factory once implemented in `@ori/presentation-utils`\nimport { ApiClient, getAtpClusters, getCustomerInfo } from '@ori/global-api-client';\nvar formatToken = function formatToken(token) {\n return token.toLowerCase().startsWith('bearer') ? token : \"Bearer \".concat(token);\n};\nvar getAtpClusterId = async function getAtpClusterId(client, _ref) {\n var _atpClusters$collecti;\n var atpClusterId = _ref.atpClusterId,\n customerId = _ref.customerId;\n if (typeof atpClusterId === 'number') {\n return atpClusterId;\n }\n // eslint-disable-next-line @typescript-eslint/no-confusing-void-expression -- wrong typings\n var atpClusters = await getAtpClusters(client, {\n customerId: customerId\n });\n return (_atpClusters$collecti = atpClusters.collection[0]) === null || _atpClusters$collecti === void 0 ? void 0 : _atpClusters$collecti.atpClusterId;\n};\n\n/* eslint-disable @typescript-eslint/naming-convention -- we need this for custom headers */\nexport var getHeaders = async function getHeaders(props) {\n var atpClusterId = props.atpClusterId,\n customerId = props.customerId,\n globalApiUrl = props.globalApiUrl,\n tenant = props.tenant,\n token = props.token;\n var headers = {\n 'x-atp-cluster-id': atpClusterId !== null && atpClusterId !== void 0 ? atpClusterId : '',\n 'x-client-application': '@ori/product-info-dialog-lib',\n 'x-tenant-context': tenant,\n 'x-use-product-data-caching': true,\n authorization: formatToken(token)\n };\n if (typeof customerId === 'number' && customerId !== -1) {\n var _customerInfo$custome, _customerInfo$custome2;\n var client = new ApiClient({\n baseUrl: globalApiUrl,\n tenant: tenant,\n token: token\n });\n var atpCluster = await getAtpClusterId(client, props);\n var customerInfo = await getCustomerInfo(client, customerId);\n return _objectSpread(_objectSpread({}, headers), {}, {\n 'x-atp-cluster-id': atpCluster !== null && atpCluster !== void 0 ? atpCluster : '',\n 'x-customer-type-id': (_customerInfo$custome = (_customerInfo$custome2 = customerInfo.customerType) === null || _customerInfo$custome2 === void 0 ? void 0 : _customerInfo$custome2.customerTypeId) !== null && _customerInfo$custome !== void 0 ? _customerInfo$custome : '',\n 'x-visitor-segment': customerInfo.visitorSegment,\n 'x-customer-context': customerInfo.customerId\n });\n }\n return headers;\n};\n/* eslint-enable @typescript-eslint/naming-convention */","var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\n/**\n * Accepts a term for customer\n * @summary customers/{customerId}/acceptedTerms\n */\nexport var createCustomerAcceptedTerm = function (client, customerId, globalCustomersAcceptedTermDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/acceptedTerms\"),\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalCustomersAcceptedTermDto,\n }, signal);\n};\n/**\n * Change password based on the old one.\n * @summary accounts/my/changePassword\n */\nexport var updateAccountsMyChangePassword = function (client, globalAccountsChangePasswordDto, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/accounts/my/changePassword\",\n method: 'put',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalAccountsChangePasswordDto,\n params: params,\n }, signal);\n};\n/**\n * Retrieves the account info for account with given login string.\n * @summary accounts/my\n */\nexport var getAccountsMy = function (client, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/accounts/my\", method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * First step of password reset. Send temporary password to the user over notification channel(s)\n * @summary accounts/my/sendTemporaryPassword\n */\nexport var createAccountsMySendTemporaryPassword = function (client, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/accounts/my/sendTemporaryPassword\", method: 'post', headers: headers, params: params }, signal);\n};\n/**\n * Second step of password reset. Reset password based on temporary and new password.\n * @summary accounts/my/resetPassword\n */\nexport var updateAccountsMyResetPassword = function (client, globalAccountsResetPasswordDto, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/accounts/my/resetPassword\",\n method: 'put',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalAccountsResetPasswordDto,\n params: params,\n }, signal);\n};\n/**\n * Returns metadata for change password endpoint\n * @summary accounts/changePasswordMetadata\n */\nexport var getAccountsChangePasswordMetadata = function (client, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/accounts/changePasswordMetadata\", method: 'get', headers: headers }, signal);\n};\n/**\n * Provides set of permissions based on identity in access token\n * @summary accounts/my/permissions\n */\nexport var getAccountsMyPermissions = function (client, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/accounts/my/permissions\", method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Returns information about customer activation\n * @summary customers/{customerId}/activationRequest\n */\nexport var getCustomerActivationRequest = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/activationRequest\"), method: 'get', headers: headers }, signal);\n};\n/**\n * PUT: Requests resending of activation code for given customer\n * @summary customers/{customerId}/activationRequest\n */\nexport var updateCustomerActivationRequest = function (client, customerId, globalCustomersActivationRequestDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/activationRequest\"),\n method: 'put',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalCustomersActivationRequestDto,\n }, signal);\n};\n/**\n * GET: Gets customer addresses\n * @summary customers/{customerId}/addresses\n */\nexport var getCustomerAddresses = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/addresses\"), method: 'get', headers: headers }, signal);\n};\n/**\n * POST: Creates customer address\n * @summary customers/{customerId}/addresses\n */\nexport var createCustomerAddress = function (client, customerId, globalCustomersAddressDtoBody, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/addresses\"),\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalCustomersAddressDtoBody,\n }, signal);\n};\n/**\n * PUT: Updates customer address\n * @summary customers/{customerId}/addresses/{addressId}\n */\nexport var updateCustomerAddress = function (client, customerId, addressId, globalCustomersAddressDtoBody, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/addresses/\").concat(addressId),\n method: 'put',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalCustomersAddressDtoBody,\n }, signal);\n};\n/**\n * DELETE: Remove customer address identified by id\n * @summary customers/{customerId}/addresses/{addressId}\n */\nexport var deleteCustomerAddress = function (client, customerId, addressId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/addresses/\").concat(addressId), method: 'delete', headers: headers }, signal);\n};\n/**\n * GET: Gets metadata information for address endpoints of the customer with given customer id\n * @summary customers/{customerId}/addressesMetadata\n */\nexport var getCustomerAddressesMetadata = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/addressesMetadata\"), method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Returns options for address formatting\n * @summary addressFormats\n */\nexport var getAddressFormats = function (client, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/addressFormats\", method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Returns specific option for address formatting\n * @summary addressFormats/{type}\n */\nexport var getAddressFormat = function (client, type, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/addressFormats/\".concat(type), method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Returns the available payment methods\n * @summary payments/{onlinePaymentId}/paymentProviders/adyen/paymentMethods\n */\nexport var getPaymentPaymentProvidersAdyenPaymentMethods = function (client, onlinePaymentId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/payments/\".concat(onlinePaymentId, \"/paymentProviders/adyen/paymentMethods\"),\n method: 'get',\n headers: headers,\n }, signal);\n};\n/**\n * POST: Initiates payment\n * @summary payments/{onlinePaymentId}/paymentProviders/adyen/payments\n */\nexport var createPaymentPaymentProvidersAdyenPayment = function (client, onlinePaymentId, globalPaymentsAdyenPaymentRequestDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/payments/\".concat(onlinePaymentId, \"/paymentProviders/adyen/payments\"),\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalPaymentsAdyenPaymentRequestDto,\n }, signal);\n};\n/**\n * POST: Sends payment details when a customer is required to perform additional actions\n * @summary payments/{onlinePaymentId}/paymentProviders/adyen/paymentDetails\n */\nexport var createPaymentPaymentProvidersAdyenPaymentDetail = function (client, onlinePaymentId, createPaymentPaymentProvidersAdyenPaymentDetailBody, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/payments/\".concat(onlinePaymentId, \"/paymentProviders/adyen/paymentDetails\"),\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: createPaymentPaymentProvidersAdyenPaymentDetailBody,\n }, signal);\n};\n/**\n * GET: Returns client credentials for FE component\n * @summary payments/{onlinePaymentId}/paymentProviders/adyen/clientCredentials\n */\nexport var getPaymentPaymentProvidersAdyenClientCredentials = function (client, onlinePaymentId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/payments/\".concat(onlinePaymentId, \"/paymentProviders/adyen/clientCredentials\"),\n method: 'get',\n headers: headers,\n }, signal);\n};\n/**\n * POST: Adyen Checkout/Recurring API - Disables stored payment details to stop charging a shopper with this particular recurring detail ID\n * @summary customers/{customerId}/paymentProviders/adyen/contractDisableRequest\n */\nexport var createCustomerPaymentProvidersAdyenContractDisableRequest = function (client, customerId, globalCustomersAdyenContractDisableRequestDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/paymentProviders/adyen/contractDisableRequest\"),\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalCustomersAdyenContractDisableRequestDto,\n }, signal);\n};\n/**\n * GET: Returns analytics data of registration with given ID\n * @summary customerRegistrations/{registrationId}/analytics\n */\nexport var getCustomerRegistrationAnalytics = function (client, registrationId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customerRegistrations/\".concat(registrationId, \"/analytics\"), method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Gets the customer approvals of the customer for given customer id\n * @summary customers/{customerId}/approval\n */\nexport var getCustomerApproval = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/approval\"), method: 'get', headers: headers }, signal);\n};\n/**\n * PUT: Update the customer approvals of the customer for given customer id\n * @summary customers/{customerId}/approval\n */\nexport var updateCustomerApproval = function (client, customerId, globalSharedApprovalDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/approval\"),\n method: 'put',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalSharedApprovalDto,\n }, signal);\n};\n/**\n * GET: Gets metadata information for approval endpoints of the customer with given customer id\n * @summary customers/{customerId}/approvalMetadata\n */\nexport var getCustomerApprovalMetadata = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/approvalMetadata\"), method: 'get', headers: headers }, signal);\n};\n/**\n * Gets product(s) ATP\n * @summary atpClusters/{atpClusterId}/atps/{itemCode}\n */\nexport var getAtpClusterAtp = function (client, atpClusterId, itemCode, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/atpClusters/\".concat(atpClusterId, \"/atps/\").concat(itemCode), method: 'get', headers: headers }, signal);\n};\n/**\n * Gets product(s) ATP\n * @summary atpClusters/{atpClusterId}/atps\n */\nexport var getAtpClusterAtps = function (client, atpClusterId, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/atpClusters/\".concat(atpClusterId, \"/atps\"), method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * Gets ATP cluster\n * @summary atpClusters/{atpClusterId}\n */\nexport var getAtpCluster = function (client, atpClusterId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/atpClusters/\".concat(atpClusterId), method: 'get', headers: headers }, signal);\n};\n/**\n * Find ATP cluster based on delivery channel and/or delivery address\n * @summary atpClusters\n */\nexport var getAtpClusters = function (client, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/atpClusters\", method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * Get autoship configuration\n * @summary customers/{customerId}/autoshipConfiguration\n */\nexport var getCustomerAutoshipConfiguration = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/autoshipConfiguration\"), method: 'get', headers: headers }, signal);\n};\n/**\n * Get autoship availability per specified product/item\n * @summary customers/{customerId}/autoshipAvailabilities\n */\nexport var getCustomerAutoshipAvailabilities = function (client, customerId, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/autoshipAvailabilities\"), method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * Get autoship types.\nOptionally filtered by product contained in subscription.\n * @summary customers/{customerId}/autoshipTypes\n */\nexport var getCustomerAutoshipTypes = function (client, customerId, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/autoshipTypes\"), method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * Returns URLs and titles of legal info articles.\n * @summary customers/{customerId}/autoshipLegalArticles\n */\nexport var getCustomerAutoshipLegalArticles = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/autoshipLegalArticles\"), method: 'get', headers: headers }, signal);\n};\n/**\n * Post autoship instruction.\nDepends on instruction status (Pending/Finished) provides only validation or also creates new autoship subscription if Finished\n * @summary customers/{customerId}/autoshipInstructions\n */\nexport var createCustomerAutoshipInstruction = function (client, customerId, globalCustomersAutoshipInstructionDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/autoshipInstructions\"),\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalCustomersAutoshipInstructionDto,\n }, signal);\n};\n/**\n * GET: Provides information about concept availability\n * @summary concepts/{conceptCode}/availability\n */\nexport var getConceptAvailability = function (client, conceptCode, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/concepts/\".concat(conceptCode, \"/availability\"), method: 'get', headers: headers }, signal);\n};\n/**\n * Get availability of concepts for specific customer\n * @summary customers/{customerId}/concepts/availabilities\n */\nexport var getCustomerConceptsAvailabilities = function (client, customerId, globalConceptsAvailabilitiesQueryDtoBody, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/concepts/availabilities\"),\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalConceptsAvailabilitiesQueryDtoBody,\n }, signal);\n};\n/**\n * Get availability of concepts\n * @summary concepts/availabilities\n */\nexport var getConceptsAvailabilities = function (client, globalConceptsAvailabilitiesQueryDtoBody, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/concepts/availabilities\",\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalConceptsAvailabilitiesQueryDtoBody,\n }, signal);\n};\n/**\n * GET: Provides information about concept availability\n * @summary customers/{customerId}/concepts/{conceptCode}/availability\n */\nexport var getCustomerConceptAvailability = function (client, customerId, conceptCode, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/concepts/\").concat(conceptCode, \"/availability\"),\n method: 'get',\n headers: headers,\n }, signal);\n};\n/**\n * Get availability of product for specific customer\n * @summary customers/{customerId}/products/{productCode}/availability\n */\nexport var getCustomerProductAvailability = function (client, customerId, productCode, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/products/\").concat(productCode, \"/availability\"),\n method: 'get',\n headers: headers,\n }, signal);\n};\n/**\n * Get availability of product\n * @summary products/{productCode}/availability\n */\nexport var getProductAvailability = function (client, productCode, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/products/\".concat(productCode, \"/availability\"), method: 'get', headers: headers }, signal);\n};\n/**\n * Get products availability for specified collection of products\n * @summary products/availability\n */\nexport var getProductsAvailability = function (client, globalProductsProductAvailabilityQueryDtoBody, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/products/availability\",\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalProductsProductAvailabilityQueryDtoBody,\n }, signal);\n};\n/**\n * Get products Availability for specified customer and specified collection of products\n * @summary customer/{customerId}/products/availability\n */\nexport var getCustomerProductsAvailability = function (client, customerId, globalProductsProductAvailabilityQueryDtoBody, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customer/\".concat(customerId, \"/products/availability\"),\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalProductsProductAvailabilityQueryDtoBody,\n }, signal);\n};\n/**\n * Get information about possibility to subscribe for BIS notifications for each product requested by productCodes.\n * @summary backInStockNotifications\n */\nexport var getBackInStockNotifications = function (client, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/backInStockNotifications\", method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * Stores passed by parameter notificationData information so user receives BIS notifications.\n * @summary backInStockNotificationSubscriptions\n */\nexport var createBackInStockNotificationSubscription = function (client, globalBackInStockNotificationsBackInStockNotificationSubscriptionDtoBody, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/backInStockNotificationSubscriptions\",\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalBackInStockNotificationsBackInStockNotificationSubscriptionDtoBody,\n }, signal);\n};\n/**\n * Get configuration for back in stock notifications.\n * @summary backInStockNotificationsConfiguration\n */\nexport var getBackInStockNotificationsConfiguration = function (client, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/backInStockNotificationsConfiguration\", method: 'get', headers: headers }, signal);\n};\n/**\n * Get information about possibility to subscribe for BIS notifications for each product requested by productCodes.\n * @summary customers/{customerId}/backInStockNotifications\n */\nexport var getCustomerBackInStockNotifications = function (client, customerId, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/backInStockNotifications\"), method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * Stores passed by parameter notificationData information so user receives BIS notifications.\n * @summary customers/{customerId}/backInStockNotificationSubscriptions\n */\nexport var createCustomerBackInStockNotificationSubscription = function (client, customerId, globalBackInStockNotificationsBackInStockNotificationSubscriptionDtoBody, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/backInStockNotificationSubscriptions\"),\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalBackInStockNotificationsBackInStockNotificationSubscriptionDtoBody,\n }, signal);\n};\n/**\n * GET: Gets bank account approvals\n * @summary customers/{customerId}/bankAccountApprovals\n */\nexport var getCustomerBankAccountApprovals = function (client, customerId, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/bankAccountApprovals\"), method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * GET: Gets customer bank accounts\n * @summary customers/{customerId}/bankAccounts\n */\nexport var getCustomerBankAccounts = function (client, customerId, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/bankAccounts\"), method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * POST: Creates customer bank account\n * @summary customers/{customerId}/bankAccounts\n */\nexport var createCustomerBankAccount = function (client, customerId, globalCustomersBankAccountDtoBody, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/bankAccounts\"),\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalCustomersBankAccountDtoBody,\n }, signal);\n};\n/**\n * PUT: Updates customer bank account\n * @summary customers/{customerId}/bankAccounts/{bankAccountId}\n */\nexport var updateCustomerBankAccount = function (client, customerId, bankAccountId, globalCustomersBankAccountDtoBody, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/bankAccounts/\").concat(bankAccountId),\n method: 'put',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalCustomersBankAccountDtoBody,\n }, signal);\n};\n/**\n * DELETE: Removes customer bank account by Id\n * @summary customers/{customerId}/bankAccounts/{bankAccountId}\n */\nexport var deleteCustomerBankAccount = function (client, customerId, bankAccountId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/bankAccounts/\").concat(bankAccountId), method: 'delete', headers: headers }, signal);\n};\n/**\n * GET: Gets metadata information for bank account endpoints of the customer with given customer id\n * @summary customers/{customerId}/bankAccountsMetadata\n */\nexport var getCustomerBankAccountsMetadata = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/bankAccountsMetadata\"), method: 'get', headers: headers }, signal);\n};\n/**\n * POST: Authorize customer's bank account\n * @summary customers/{customerId}/bankAccounts/{bankAccountId}/authorizationRequest\n */\nexport var createCustomerBankAccountAuthorizationRequest = function (client, customerId, bankAccountId, globalCustomersBankAccountAuthorizationRequestDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/bankAccounts/\").concat(bankAccountId, \"/authorizationRequest\"),\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalCustomersBankAccountAuthorizationRequestDto,\n }, signal);\n};\n/**\n * GET: Provides all bank branches matching the optional filters\n * @summary bankBranches\n */\nexport var getBankBranches = function (client, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/bankBranches\", method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * GET: Provides bank branch by id\n * @summary bankBranches/{bankBranchId}\n */\nexport var getBankBranch = function (client, bankBranchId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/bankBranches/\".concat(bankBranchId), method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Provides all banks\n * @summary banks\n */\nexport var getBanks = function (client, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/banks\", method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * GET: Returns bank by id\n * @summary banks/{bankId}\n */\nexport var getBank = function (client, bankId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/banks/\".concat(bankId), method: 'get', headers: headers }, signal);\n};\n/**\n * POST: Apply shopping bag related offer\n * @summary shoppingSessions/{sessionId}/basketOffers/{offerId}\n */\nexport var createShoppingSessionBasketOffer = function (client, sessionId, offerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/shoppingSessions/\".concat(sessionId, \"/basketOffers/\").concat(offerId), method: 'post', headers: headers }, signal);\n};\n/**\n * PUT: Purchase shopping bag related offer\n * @summary shoppingSessions/{sessionId}/basketOffers/{offerId}\n */\nexport var updateShoppingSessionBasketOffer = function (client, sessionId, offerId, globalShoppingOfferChoicesDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/shoppingSessions/\".concat(sessionId, \"/basketOffers/\").concat(offerId),\n method: 'put',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalShoppingOfferChoicesDto,\n }, signal);\n};\n/**\n * GET: Get list of shopping bag related offers\n * @summary shoppingSessions/{sessionId}/basketOffers\n */\nexport var getShoppingSessionBasketOffers = function (client, sessionId, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/shoppingSessions/\".concat(sessionId, \"/basketOffers\"), method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * GET: Gets available blocking codes\n * @summary blockingCodes\n */\nexport var getBlockingCodes = function (client, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/blockingCodes\", method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * GET: Gets blockings for given customer\n * @summary customers/{customerId}/blockings\n */\nexport var getCustomerBlockings = function (client, customerId, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/blockings\"), method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * DELETE: Deletes single blocking for customer\n * @summary customers/{customerId}/blockings/{blockingId}\n */\nexport var deleteCustomerBlocking = function (client, customerId, blockingId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/blockings/\").concat(blockingId), method: 'delete', headers: headers }, signal);\n};\n/**\n * GET: Returns branch for given customer\n * @summary customers/{customerId}/branch\n */\nexport var getCustomerBranch = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/branch\"), method: 'get', headers: headers }, signal);\n};\n/**\n * PUT: Updates branch for given customer\n * @summary customers/{customerId}/branch\n */\nexport var updateCustomerBranch = function (client, customerId, globalCustomersCustomerBranchDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/branch\"),\n method: 'put',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalCustomersCustomerBranchDto,\n }, signal);\n};\n/**\n * GET: Returns metadata for customer branch\n * @summary customers/{customerId}/branchMetadata\n */\nexport var getCustomerBranchMetadata = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/branchMetadata\"), method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Returns all available Oriflame branches\n * @summary branches\n */\nexport var getBranches = function (client, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/branches\", method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Returns specific branch by ID\n * @summary branches/{branchId}\n */\nexport var getBranch = function (client, branchId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/branches/\".concat(branchId), method: 'get', headers: headers }, signal);\n};\n/**\n * Get all brands, optionally filtered by given category\n * @summary brands\n */\nexport var getBrands = function (client, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/brands\", method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * POST: Creates a record of a call interaction between customer service and the customer.\n * @summary callInteractions\n */\nexport var createCallInteraction = function (client, globalCallInteractionsCallInteractionDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/callInteractions\",\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalCallInteractionsCallInteractionDto,\n }, signal);\n};\n/**\n * GET: Gets campaigns points of the customer\n * @summary campaigns/{campaignId}/points\n */\nexport var getCampaignPoints = function (client, campaignId, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/campaigns/\".concat(campaignId, \"/points\"), method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * GET: Gets campaigns points of the sponsor earned by recruits\n * @summary campaigns/{campaignId}/recruitPoints\n */\nexport var getCampaignRecruitPoints = function (client, campaignId, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/campaigns/\".concat(campaignId, \"/recruitPoints\"), method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * GET: Gets campaigns filterable by optional parameters\n * @summary campaigns\n */\nexport var getCampaigns = function (client, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/campaigns\", method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * GET: Get specific campaign\n * @summary campaigns/{campaignId}\n */\nexport var getCampaign = function (client, campaignId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/campaigns/\".concat(campaignId), method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Gets configuration of welcome program step targets\n * @summary campaigns/welcomeProgram/targets\n */\nexport var getCampaignsWelcomeProgramTargets = function (client, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/campaigns/welcomeProgram/targets\", method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Gets welcome program benefits\n * @summary campaigns/welcomeProgram/{step}/benefits\n */\nexport var getCampaignsWelcomeProgramBenefits = function (client, step, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/campaigns/welcomeProgram/\".concat(step, \"/benefits\"), method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Gets configuration of activity program step targets\n * @summary campaigns/activityProgram/targets\n */\nexport var getCampaignsActivityProgramTargets = function (client, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/campaigns/activityProgram/targets\", method: 'get', headers: headers }, signal);\n};\n/**\n * Gets collection of points assigned to products in campaign\n * @summary customers/{customerId}/campaigns/{campaignType}/benefits\n */\nexport var getCustomerCampaignBenefits = function (client, customerId, campaignType, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/campaigns/\").concat(campaignType, \"/benefits\"),\n method: 'get',\n headers: headers,\n params: params,\n }, signal);\n};\n/**\n * GET: Gets orders of the customer together with points earned and redeemed by that orders\nTenant nameCustomer IdPeriod IdAdditional filter URL encoded expression. Eg. Bp GT 100 | (ConsultantName CONTAINS John & ConsultantName NEQ Rambo)Sort expression (field sortType)Include total count in resultSkipTake\n * @summary customer/{customerId}/reports/campaignPointsByOrders\n */\nexport var getCustomerReportsCampaignPointsByOrders = function (client, customerId, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customer/\".concat(customerId, \"/reports/campaignPointsByOrders\"),\n method: 'get',\n headers: headers,\n params: params,\n }, signal);\n};\n/**\n * GET: Provide content of the catalogue\n * @summary catalogues/catalogue/{catalogueCode}/content\n */\nexport var getCataloguesCatalogueContent = function (client, catalogueCode, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/catalogues/catalogue/\".concat(catalogueCode, \"/content\"), method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * Gets configuration for CatalogueIPaper for authorized customer.\n * @summary applications/catalogueIPaper/customers/{customerId}/configuration\n */\nexport var getApplicationsCatalogueIPaperCustomerConfiguration = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/applications/catalogueIPaper/customers/\".concat(customerId, \"/configuration\"),\n method: 'get',\n headers: headers,\n }, signal);\n};\n/**\n * GET: Provide catalogue item\n * @summary catalogues/{catalogueId}/catalogueItems/{catalogueItemId}\n */\nexport var getCatalogueCatalogueItem = function (client, catalogueId, catalogueItemId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/catalogues/\".concat(catalogueId, \"/catalogueItems/\").concat(catalogueItemId), method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Provide items of the catalogue\n * @summary catalogues/{catalogueId}/catalogueItems\n */\nexport var getCatalogueCatalogueItems = function (client, catalogueId, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/catalogues/\".concat(catalogueId, \"/catalogueItems\"), method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * GET: Provide merchandising offers related to printed catalogue\n * @summary catalogueOffers\n */\nexport var getCatalogueOffers = function (client, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/catalogueOffers\", method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * GET: Provide catalogues related to the period\n * @deprecated\n * @summary catalogues\n */\nexport var getCataloguesDeprecated = function (client, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/catalogues\", method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * Get social media library category by categoryId.\n * @summary socialMediaLibrary/categories/{categoryId}\n */\nexport var getSocialMediaLibraryCategory = function (client, categoryId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/socialMediaLibrary/categories/\".concat(categoryId), method: 'get', headers: headers }, signal);\n};\n/**\n * Get social media library category by part of the name\n * @summary socialMediaLibrary/categories\n */\nexport var getSocialMediaLibraryCategories = function (client, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/socialMediaLibrary/categories\", method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * Get all categories\n * @summary categories\n */\nexport var getCategories = function (client, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/categories\", method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Returns Chat bot configuration\n * @summary applications/chatBot/configuration\n */\nexport var getApplicationsChatBotConfiguration = function (client, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/applications/chatBot/configuration\", method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Returns catalogue items from all catalogues for specified period and product code\n * @summary applications/claimsSpa/catalogueItemsSearch\n */\nexport var getApplicationsClaimsSpaCatalogueItemsSearch = function (client, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/applications/claimsSpa/catalogueItemsSearch\", method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * Gets collection of concept labels for anonymous customer.\n * @summary conceptLabels\n */\nexport var getConceptLabels = function (client, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/conceptLabels\", method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * POST: Returns concepts\n * @summary concepts\n */\nexport var getConcepts = function (client, globalConceptsQueryDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/concepts\",\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalConceptsQueryDto,\n }, signal);\n};\n/**\n * GET: Provides concept\n * @summary concepts/{conceptCode}\n */\nexport var getConcept = function (client, conceptCode, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/concepts/\".concat(conceptCode), method: 'get', headers: headers }, signal);\n};\n/**\n * Submits email with backoffice configuration\n * @summary applications/concernReportForm\n */\nexport var createApplicationsConcernReportForm = function (client, globalConcernReportFormConcernReportFormDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/applications/concernReportForm\",\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalConcernReportFormConcernReportFormDto,\n }, signal);\n};\n/**\n * Get social media library configurations\n * @summary applications/socialMediaLibrary/configuration\n */\nexport var getApplicationsSocialMediaLibraryConfiguration = function (client, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/applications/socialMediaLibrary/configuration\", method: 'get', headers: headers }, signal);\n};\n/**\n * POST: Confirms entity (email, phone etc.) by confirmation code\n * @summary customers/{customerId}/confirmation\n */\nexport var createCustomerConfirmation = function (client, customerId, globalCustomersConfirmationDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/confirmation\"),\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalCustomersConfirmationDto,\n }, signal);\n};\n/**\n * Provides information about connected user to WeChat account\n * @summary login/providers/weChat/externalAccount/{unionId}/connectedUser\n */\nexport var getLoginProvidersWeChatExternalAccountConnectedUser = function (client, unionId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/login/providers/weChat/externalAccount/\".concat(unionId, \"/connectedUser\"),\n method: 'get',\n headers: headers,\n }, signal);\n};\n/**\n * Gets the titles.\n * @summary consultantTitles\n */\nexport var getConsultantTitles = function (client, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/consultantTitles\", method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Returns information about contact details of registration with given ID\n * @summary customerRegistrations/{registrationId}/contactDetails\n */\nexport var getCustomerRegistrationContactDetails = function (client, registrationId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customerRegistrations/\".concat(registrationId, \"/contactDetails\"), method: 'get', headers: headers }, signal);\n};\n/**\n * PUT: Modifies information about contact details of registration with given ID\n * @summary customerRegistrations/{registrationId}/contactDetails\n */\nexport var updateCustomerRegistrationContactDetails = function (client, registrationId, globalCustomerRegistrationsRegistrationContactDetailsDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customerRegistrations/\".concat(registrationId, \"/contactDetails\"),\n method: 'put',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalCustomerRegistrationsRegistrationContactDetailsDto,\n }, signal);\n};\n/**\n * POST: Confirms contact details by confirmation code\n * @summary customerRegistrations/{registrationId}/contactDetails/confirmation\n */\nexport var createCustomerRegistrationContactDetailsConfirmation = function (client, registrationId, globalCustomerRegistrationsRegistrationContactDetailsConfirmationDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customerRegistrations/\".concat(registrationId, \"/contactDetails/confirmation\"),\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalCustomerRegistrationsRegistrationContactDetailsConfirmationDto,\n }, signal);\n};\n/**\n * GET: Returns documents for specific custom document\n * @summary customers/{customerId}/customDocuments/{customDocumentId}\n */\nexport var getCustomerCustomDocument = function (client, customerId, customDocumentId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/customDocuments/\").concat(customDocumentId), method: 'get', headers: headers }, signal);\n};\n/**\n * PUT: Change data for specific custom document (temporary document are submitted and will no longer be deleted)\n * @summary customers/{customerId}/customDocuments/{customDocumentId}\n */\nexport var updateCustomerCustomDocument = function (client, customerId, customDocumentId, globalCustomersCustomDocumentsDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/customDocuments/\").concat(customDocumentId),\n method: 'put',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalCustomersCustomDocumentsDto,\n }, signal);\n};\n/**\n * Get customer Id by consultant number\n * @summary consultants/{consultantNumber}/customerId\n */\nexport var getConsultantCustomerId = function (client, consultantNumber, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/consultants/\".concat(consultantNumber, \"/customerId\"), method: 'get', headers: headers }, signal);\n};\n/**\n * Get consultant number for customer\n * @summary customers/{customerId}/consultantNumber\n */\nexport var getCustomerConsultantNumber = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/consultantNumber\"), method: 'get', headers: headers }, signal);\n};\n/**\n * Obsolete\n * @deprecated\n * @summary customer/{customerId}/consultantNumber\n */\nexport var getCustomerConsultantNumberDeprecated = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customer/\".concat(customerId, \"/consultantNumber\"), method: 'get', headers: headers }, signal);\n};\n/**\n * Obsolete\n * @deprecated\n * @summary consultant/{consultantNumber}/customerId\n */\nexport var getConsultantCustomerIdDeprecated = function (client, consultantNumber, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/consultant/\".concat(consultantNumber, \"/customerId\"), method: 'get', headers: headers }, signal);\n};\n/**\n * Gets collection of concept labels for anonymous customer.\n * @summary customers/{customerId}/conceptLabels\n */\nexport var getCustomerConceptLabels = function (client, customerId, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/conceptLabels\"), method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * GET: Gets the information about the customer for given customer id\n * @summary customers/{customerId}/info\n */\nexport var getCustomerInfo = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/info\"), method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Gets the metadata about customer info API\n * @summary customers/{customerId}/infoMetadata\n */\nexport var getCustomerInfoMetadata = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/infoMetadata\"), method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Welcome program progress of the consultant\n * @summary customers/{customerId}/welcomeProgram\n */\nexport var getCustomerWelcomeProgram = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/welcomeProgram\"), method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Activity program progress of the consultant\n * @summary customers/{customerId}/activityProgram\n */\nexport var getCustomerActivityProgram = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/activityProgram\"), method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Recruitment campaign data\n * @summary customers/{customerId}/recruitmentCampaign\n */\nexport var getCustomerRecruitmentCampaign = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/recruitmentCampaign\"), method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Consultant personal sales for the current period\n * @summary customers/{customerId}/personalSales\n */\nexport var getCustomerPersonalSales = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/personalSales\"), method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Consultant personal sales for 3 past periods\n * @summary customers/{customerId}/personalSalesHistory\n */\nexport var getCustomerPersonalSalesHistory = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/personalSalesHistory\"), method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Get current loyalty program overview\n * @summary customers/{customerId}/loyaltyProgram\n */\nexport var getCustomerLoyaltyProgram = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/loyaltyProgram\"), method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Returns metadata for customer attributes\n * @summary customers/{customerId}/metadata\n */\nexport var getCustomerMetadata = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/metadata\"), method: 'get', headers: headers }, signal);\n};\n/**\n * Subscribes or returns status of newsletter subscription for given email, origin and source values.\n * @summary customers/{customerId}/newsletterSubscriptions\n */\nexport var createCustomerNewsletterSubscription = function (client, customerId, globalNewsletterSubscriptionsNewsletterSubscriptionsDtoBody, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/newsletterSubscriptions\"),\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalNewsletterSubscriptionsNewsletterSubscriptionsDtoBody,\n }, signal);\n};\n/**\n * Gets collection of product labels for a specific customer.\n * @summary customers/{customerId}/productsLabels\n */\nexport var getCustomerProductsLabels = function (client, customerId, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/productsLabels\"), method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * Returns set of customer terms which are required to be accepted\n * @summary customers/{customerId}/requiredTerms\n */\nexport var getCustomerRequiredTerms = function (client, customerId, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/requiredTerms\"), method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * Returns customer status by given request query\n * @summary reports/customerStatuses\n */\nexport var createReportsCustomerStatus = function (client, globalReportsCustomerStatusesRequestDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/reports/customerStatuses\",\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalReportsCustomerStatusesRequestDto,\n }, signal);\n};\n/**\n * GET: customer status\n * @summary customers/{customerId}/customerStatus\n */\nexport var getCustomerCustomerStatus = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/customerStatus\"), method: 'get', headers: headers }, signal);\n};\n/**\n * PUT: modify customer's status\n * @summary customers/{customerId}/customerStatus\n */\nexport var updateCustomerCustomerStatus = function (client, customerId, globalCustomersCustomerStatusDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/customerStatus\"),\n method: 'put',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalCustomersCustomerStatusDto,\n }, signal);\n};\n/**\n * GET: Gets customer status metadata\n * @summary customers/{customerId}/customerStatusMetadata\n */\nexport var getCustomerCustomerStatusMetadata = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/customerStatusMetadata\"), method: 'get', headers: headers }, signal);\n};\n/**\n * Gets the title.\n * @summary customers/{customerId}/localConsultantTitle\n */\nexport var getCustomerLocalConsultantTitle = function (client, customerId, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/localConsultantTitle\"), method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * Gets documents in folder\n * @summary digitalDocuments\n */\nexport var getDigitalDocuments = function (client, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/digitalDocuments\", method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * Gets document by ID\n * @summary digitalDocuments/{id}\n */\nexport var getDigitalDocument = function (client, id, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/digitalDocuments/\".concat(id), method: 'get', headers: headers }, signal);\n};\n/**\n * Gets document content (direct download) by document ID and content ID\n * @summary digitalDocuments/{id}/contents/{contentId}\n */\nexport var getDigitalDocumentContent = function (client, id, contentId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/digitalDocuments/\".concat(id, \"/contents/\").concat(contentId),\n method: 'get',\n headers: headers,\n responseType: 'blob',\n }, signal);\n};\n/**\n * Gets document content (direct download) - latest revision\n * @summary digitalDocuments/{id}/latestContent\n */\nexport var getDigitalDocumentLatestContent = function (client, id, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/digitalDocuments/\".concat(id, \"/latestContent\"), method: 'get', headers: headers, responseType: 'blob' }, signal);\n};\n/**\n * GET: Get customer's delivery address\n * @summary customers/{customerId}/deliveryAddresses/{deliveryAddressId}\n */\nexport var getCustomerDeliveryAddress = function (client, customerId, deliveryAddressId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/deliveryAddresses/\").concat(deliveryAddressId),\n method: 'get',\n headers: headers,\n }, signal);\n};\n/**\n * GET: Provide delivery channel\n * @summary deliveryChannels/{deliveryChannelId}\n */\nexport var getDeliveryChannel = function (client, deliveryChannelId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/deliveryChannels/\".concat(deliveryChannelId), method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Provide delivery channel address\n * @summary deliveryChannels/{deliveryChannelId}/address\n */\nexport var getDeliveryChannelAddress = function (client, deliveryChannelId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/deliveryChannels/\".concat(deliveryChannelId, \"/address\"), method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Provide delivery channel coordinates\n * @summary deliveryChannels/{deliveryChannelId}/coordinates\n */\nexport var getDeliveryChannelCoordinates = function (client, deliveryChannelId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/deliveryChannels/\".concat(deliveryChannelId, \"/coordinates\"), method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Find available delivery channel based on search criteria\n * @summary shoppingSessions/{sessionId}/deliveryChannels\n */\nexport var getShoppingSessionDeliveryChannels = function (client, sessionId, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/shoppingSessions/\".concat(sessionId, \"/deliveryChannels\"), method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * GET: Find available pick-up points based on search criteria on the map\n * @summary shoppingSessions/{sessionId}/clusteredPickupPoints\n */\nexport var getShoppingSessionClusteredPickupPoints = function (client, sessionId, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/shoppingSessions/\".concat(sessionId, \"/clusteredPickupPoints\"), method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * GET: Gets delivery channel by id\n * @summary shoppingSessions/{sessionId}/deliveryChannels/{deliveryChannelId}\n */\nexport var getShoppingSessionDeliveryChannel = function (client, sessionId, deliveryChannelId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/shoppingSessions/\".concat(sessionId, \"/deliveryChannels/\").concat(deliveryChannelId),\n method: 'get',\n headers: headers,\n }, signal);\n};\n/**\n * GET: Provides available delivery methods\n * @summary shoppingSessions/{sessionId}/deliveryMethods\n */\nexport var getShoppingSessionDeliveryMethods = function (client, sessionId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/shoppingSessions/\".concat(sessionId, \"/deliveryMethods\"), method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Provide relevant delivery filters\n * @summary shoppingSessions/{sessionId}/deliveryFilters\n */\nexport var getShoppingSessionDeliveryFilters = function (client, sessionId, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/shoppingSessions/\".concat(sessionId, \"/deliveryFilters\"), method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * GET: Find available delivery options\n * @summary shoppingSessions/{sessionId}/deliveryOptions\n */\nexport var getShoppingSessionDeliveryOptions = function (client, sessionId, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/shoppingSessions/\".concat(sessionId, \"/deliveryOptions\"), method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * GET: Provide selected delivery channel and address\n * @summary shoppingSessions/{sessionId}/delivery\n */\nexport var getShoppingSessionDelivery = function (client, sessionId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/shoppingSessions/\".concat(sessionId, \"/delivery\"), method: 'get', headers: headers }, signal);\n};\n/**\n * PUT: Update selected delivery channel and address\n * @summary shoppingSessions/{sessionId}/delivery\n */\nexport var updateShoppingSessionDelivery = function (client, sessionId, globalShoppingDeliveryDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/shoppingSessions/\".concat(sessionId, \"/delivery\"),\n method: 'put',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalShoppingDeliveryDto,\n }, signal);\n};\n/**\n * Courier can post information about new status of a delivery\n * @summary couriers/{courierId}/wayBillNumbers/{wayBillNumber}/deliveryStatuses\n */\nexport var createCourierWayBillNumberDeliveryStatus = function (client, courierId, wayBillNumber, globalDeliveryDeliveryStatusDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/couriers/\".concat(courierId, \"/wayBillNumbers/\").concat(wayBillNumber, \"/deliveryStatuses\"),\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalDeliveryDeliveryStatusDto,\n }, signal);\n};\n/**\n * Saves customer document.\n * @summary customers/{customerId}/documents\n */\nexport var createCustomerDocument = function (client, customerId, createCustomerDocumentBody, params, headers, signal) {\n var customInstance = client.createFetcher();\n var formData = new FormData();\n if (createCustomerDocumentBody.file !== undefined) {\n formData.append('file', createCustomerDocumentBody.file);\n }\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/documents\"),\n method: 'post',\n headers: __assign({ 'Content-Type': 'multipart/form-data' }, headers),\n data: formData,\n params: params,\n }, signal);\n};\n/**\n * Gets customer image by id and optionally resizes it,\nif width and height parameters are provided.\nCaches result for 7 days.\n * @summary customers/{customerId}/documents/{documentId}/image\n */\nexport var getCustomerDocumentImage = function (client, customerId, documentId, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/documents/\").concat(documentId, \"/image\"),\n method: 'get',\n headers: headers,\n params: params,\n }, signal);\n};\n/**\n * Gets customer binary document by id.\nCaches result for 7 days.\n * @summary customers/{customerId}/documents/{documentId}\n */\nexport var getCustomerDocument = function (client, customerId, documentId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/documents/\").concat(documentId), method: 'get', headers: headers }, signal);\n};\n/**\n * Delete customers document\n * @summary customers/{customerId}/documents/{documentId}\n */\nexport var deleteCustomerDocument = function (client, customerId, documentId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/documents/\").concat(documentId), method: 'delete', headers: headers }, signal);\n};\n/**\n * Gets the customer documents ids.\n * @summary customers/{customerId}/documents/infos\n */\nexport var getCustomerDocumentsInfos = function (client, customerId, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/documents/infos\"), method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * Gets all available document types\n * @summary documentTypes\n */\nexport var getDocumentTypes = function (client, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/documentTypes\", method: 'get', headers: headers }, signal);\n};\n/**\n * Saves an anonymous (without assigning customer)\n * @summary documents\n */\nexport var createDocument = function (client, createCustomerDocumentBody, params, headers, signal) {\n var customInstance = client.createFetcher();\n var formData = new FormData();\n if (createCustomerDocumentBody.file !== undefined) {\n formData.append('file', createCustomerDocumentBody.file);\n }\n return customInstance({\n url: \"/documents\",\n method: 'post',\n headers: __assign({ 'Content-Type': 'multipart/form-data' }, headers),\n data: formData,\n params: params,\n }, signal);\n};\n/**\n * Gets anonymous (without assigned customer) image by id and optionally resizes it,\nif width and height parameters are provided.\nCaches result for 7 days.\n * @summary documents/{documentId}/image\n */\nexport var getDocumentImage = function (client, documentId, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/documents/\".concat(documentId, \"/image\"), method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * Gets anonymous (without assigned customer) binary document by id.\nCaches result for 7 days.\n * @summary documents/{documentId}\n */\nexport var getDocument = function (client, documentId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/documents/\".concat(documentId), method: 'get', headers: headers }, signal);\n};\n/**\n * Gets the anonymous (without assigned customer) documents info.\n * @summary documents/infos\n */\nexport var getDocumentsInfos = function (client, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/documents/infos\", method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * Get document approvals by filter parameters\n * @summary customers/{customerId}/documentApprovals\n */\nexport var getCustomerDocumentApprovals = function (client, customerId, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/documentApprovals\"), method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * Create document approval\n * @summary customers/{customerId}/documentApprovals\n */\nexport var createCustomerDocumentApproval = function (client, customerId, globalCustomersDocumentApprovalDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/documentApprovals\"),\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalCustomersDocumentApprovalDto,\n }, signal);\n};\n/**\n * Get document approval by ID\n * @summary customers/{customerId}/documentApprovals/{documentApprovalId}\n */\nexport var getCustomerDocumentApproval = function (client, customerId, documentApprovalId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/documentApprovals/\").concat(documentApprovalId),\n method: 'get',\n headers: headers,\n }, signal);\n};\n/**\n * GET: Returns downline customers for given customer\n * @summary customers/{customerId}/downlineCustomers\n */\nexport var getCustomerDownlineCustomers = function (client, customerId, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/downlineCustomers\"), method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * GET: Get downline performance kpis\n * @summary customers/{customerId}/downlinePerformance\n */\nexport var getCustomerDownlinePerformance = function (client, customerId, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/downlinePerformance\"), method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * Get summary data about consultants in downline\n * @summary customers/{customerId}/downlineSummary\n */\nexport var getCustomerDownlineSummary = function (client, customerId, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/downlineSummary\"), method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * GET - provides collection of editorial articles\n * @summary editorialArticles\n */\nexport var getEditorialArticles = function (client, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/editorialArticles\", method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * GET: Localization for EInvoice application\n * @summary applications/eInvoice/localization\n */\nexport var getApplicationsEInvoiceLocalization = function (client, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/applications/eInvoice/localization\", method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Returns documents for identity card\n * @summary customers/{customerId}/eInvoiceApproval\n */\nexport var getCustomerEInvoiceApproval = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/eInvoiceApproval\"), method: 'get', headers: headers }, signal);\n};\n/**\n * PUT: Change e-invoice approval flag\n * @summary customers/{customerId}/eInvoiceApproval\n */\nexport var updateCustomerEInvoiceApproval = function (client, customerId, globalCustomersCustomerBooleanDtoBody, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/eInvoiceApproval\"),\n method: 'put',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalCustomersCustomerBooleanDtoBody,\n }, signal);\n};\n/**\n * Gets customer emails.\nCustomer can own only single active and single pending email at the moment.\n * @summary customers/{customerId}/emails\n */\nexport var getCustomerEmails = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/emails\"), method: 'get', headers: headers }, signal);\n};\n/**\n * Sets new/overrides email for customer.\nCustomer can own only single active and single pending email at the moment.\nEmail is stored as pending and waiting for confirmation\n * @summary customers/{customerId}/emails\n */\nexport var createCustomerEmail = function (client, customerId, globalCustomersEmailDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/emails\"),\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalCustomersEmailDto,\n }, signal);\n};\n/**\n * Delete customers active or pending email.\n * @summary customers/{customerId}/emails/{emailAddress}\n */\nexport var deleteCustomerEmail = function (client, customerId, emailAddress, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/emails/\").concat(emailAddress), method: 'delete', headers: headers }, signal);\n};\n/**\n * GET: Gets metadata information for email endpoints of the customer with given customer id\n * @summary customers/{customerId}/emailsMetadata\n */\nexport var getCustomerEmailsMetadata = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/emailsMetadata\"), method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Gets the status of verification process for given email and customer id\n * @summary customers/{customerId}/emails/{emailAddress}/verificationRequest\n */\nexport var getCustomerEmailVerificationRequest = function (client, customerId, emailAddress, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/emails/\").concat(emailAddress, \"/verificationRequest\"),\n method: 'get',\n headers: headers,\n }, signal);\n};\n/**\n * PUT: Requests resending verification email for customer with given customer id and email address\n * @summary customers/{customerId}/emails/{emailAddress}/verificationRequest\n */\nexport var updateCustomerEmailVerificationRequest = function (client, customerId, emailAddress, globalCustomersEmailVerificationRequestDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/emails/\").concat(emailAddress, \"/verificationRequest\"),\n method: 'put',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalCustomersEmailVerificationRequestDto,\n }, signal);\n};\n/**\n * Get end consumer order by ItemCode\n * @summary endConsumerOrders/{endConsumerOrderId}/items/{itemCode}\n */\nexport var getEndConsumerOrderItem = function (client, endConsumerOrderId, itemCode, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/endConsumerOrders/\".concat(endConsumerOrderId, \"/items/\").concat(itemCode), method: 'get', headers: headers }, signal);\n};\n/**\n * Update existing item on end consumer order\n * @summary endConsumerOrders/{endConsumerOrderId}/items/{itemCode}\n */\nexport var updateEndConsumerOrderItem = function (client, endConsumerOrderId, itemCode, globalEndConsumerOrdersEndConsumerOrderItemDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/endConsumerOrders/\".concat(endConsumerOrderId, \"/items/\").concat(itemCode),\n method: 'put',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalEndConsumerOrdersEndConsumerOrderItemDto,\n }, signal);\n};\n/**\n * Delete/remove item from end consumer order\n * @summary endConsumerOrders/{endConsumerOrderId}/items/{itemCode}\n */\nexport var deleteEndConsumerOrderItem = function (client, endConsumerOrderId, itemCode, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/endConsumerOrders/\".concat(endConsumerOrderId, \"/items/\").concat(itemCode),\n method: 'delete',\n headers: headers,\n }, signal);\n};\n/**\n * Add new item to end consumer order\n * @summary endConsumerOrders/{endConsumerOrderId}/items\n */\nexport var createEndConsumerOrderItem = function (client, endConsumerOrderId, globalEndConsumerOrdersEndConsumerOrderItemDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/endConsumerOrders/\".concat(endConsumerOrderId, \"/items\"),\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalEndConsumerOrdersEndConsumerOrderItemDto,\n }, signal);\n};\n/**\n * Creates new end consumer order\n * @summary endConsumerOrders\n */\nexport var createEndConsumerOrder = function (client, globalEndConsumerOrdersEndConsumerOrderDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/endConsumerOrders\",\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalEndConsumerOrdersEndConsumerOrderDto,\n }, signal);\n};\n/**\n * Get all end consumer orders for given customer ID\n * @summary endConsumerOrders\n */\nexport var getEndConsumerOrders = function (client, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/endConsumerOrders\", method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * Get end consumer order by id\n * @summary endConsumerOrders/{endConsumerOrderId}\n */\nexport var getEndConsumerOrder = function (client, endConsumerOrderId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/endConsumerOrders/\".concat(endConsumerOrderId), method: 'get', headers: headers }, signal);\n};\n/**\n * Create approval for end consumer order\n * @summary endConsumerOrders/{endConsumerOrderId}/approval\n */\nexport var createEndConsumerOrderApproval = function (client, endConsumerOrderId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/endConsumerOrders/\".concat(endConsumerOrderId, \"/approval\"), method: 'post', headers: headers }, signal);\n};\n/**\n * Delete approval for end consumer order\n * @summary endConsumerOrders/{endConsumerOrderId}/approval\n */\nexport var deleteEndConsumerOrderApproval = function (client, endConsumerOrderId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/endConsumerOrders/\".concat(endConsumerOrderId, \"/approval\"), method: 'delete', headers: headers }, signal);\n};\n/**\n * GET: Gets the collection of all end consumers of the customer with given customer id\n * @summary customers/{customerId}/endConsumers\n */\nexport var getCustomerEndConsumers = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/endConsumers\"), method: 'get', headers: headers }, signal);\n};\n/**\n * POST: Creates new end consumer for the customer with given customer id\n * @summary customers/{customerId}/endConsumers\n */\nexport var createCustomerEndConsumer = function (client, customerId, globalCustomersEndConsumerDtoBody, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/endConsumers\"),\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalCustomersEndConsumerDtoBody,\n }, signal);\n};\n/**\n * GET: Get specific end consumer of the customer with given customer id\n * @summary customers/{customerId}/endConsumers/{endConsumerId}\n */\nexport var getCustomerEndConsumer = function (client, customerId, endConsumerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/endConsumers/\").concat(endConsumerId), method: 'get', headers: headers }, signal);\n};\n/**\n * PUT: Updates end consumer for the customer with given customer id\n * @summary customers/{customerId}/endConsumers/{endConsumerId}\n */\nexport var updateCustomerEndConsumer = function (client, customerId, endConsumerId, globalCustomersEndConsumerDtoBody, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/endConsumers/\").concat(endConsumerId),\n method: 'put',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalCustomersEndConsumerDtoBody,\n }, signal);\n};\n/**\n * DELETE: Removes end consumer for the customer with given customer id\n * @summary customers/{customerId}/endConsumers/{endConsumerId}\n */\nexport var deleteCustomerEndConsumer = function (client, customerId, endConsumerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/endConsumers/\").concat(endConsumerId), method: 'delete', headers: headers }, signal);\n};\n/**\n * GET: Returns metadata information for endConsumer endpoints\n * @summary endConsumersMetadata\n */\nexport var getEndConsumersMetadata = function (client, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/endConsumersMetadata\", method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Localization for EndCustomer Referral Discount application\n * @summary applications/endCustomerReferralDiscount/localization\n */\nexport var getApplicationsEndCustomerReferralDiscountLocalization = function (client, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/applications/endCustomerReferralDiscount/localization\", method: 'get', headers: headers }, signal);\n};\n/**\n * POST: Creates new end customer\n * @summary endCustomers\n */\nexport var createEndCustomer = function (client, globalCustomersEndCustomerDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/endCustomers\",\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalCustomersEndCustomerDto,\n }, signal);\n};\n/**\n * GET: Gets metadata information for endCustomers endpoints\n * @summary endCustomersMetadata\n */\nexport var getEndCustomersMetadata = function (client, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/endCustomersMetadata\", method: 'get', headers: headers }, signal);\n};\n/**\n * Gets identity server endpoints for communication with identity server (API, OAuth, OpenId)\n * @deprecated\n * @summary system/endpoints/identityServer\n */\nexport var getSystemEndpointsIdentityServerDeprecated = function (client, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/system/endpoints/identityServer\", method: 'get', headers: headers }, signal);\n};\n/**\n * Gets Online url for specific tenant. It could be used for redirects to oriflame pages\n * @deprecated\n * @summary system/endpoints/online\n */\nexport var getSystemEndpointsOnlineDeprecated = function (client, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/system/endpoints/online\", method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Gets customer eWallet accounts\n * @summary customers/{customerId}/eWalletAccounts\n */\nexport var getCustomerEWalletAccounts = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/eWalletAccounts\"), method: 'get', headers: headers }, signal);\n};\n/**\n * POST: Creates customer eWallet account\n * @summary customers/{customerId}/eWalletAccounts\n */\nexport var createCustomerEWalletAccount = function (client, customerId, globalCustomersEWalletAccountDtoBody, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/eWalletAccounts\"),\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalCustomersEWalletAccountDtoBody,\n }, signal);\n};\n/**\n * PUT: Updates customer eWallet account\n * @summary customers/{customerId}/eWalletAccounts/{eWalletAccountId}\n */\nexport var updateCustomerEWalletAccount = function (client, customerId, eWalletAccountId, globalCustomersEWalletAccountDtoBody, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/eWalletAccounts/\").concat(eWalletAccountId),\n method: 'put',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalCustomersEWalletAccountDtoBody,\n }, signal);\n};\n/**\n * DELETE: Removes customer eWallet account by ID\n * @summary customers/{customerId}/eWalletAccounts/{eWalletAccountId}\n */\nexport var deleteCustomerEWalletAccount = function (client, customerId, eWalletAccountId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/eWalletAccounts/\").concat(eWalletAccountId),\n method: 'delete',\n headers: headers,\n }, signal);\n};\n/**\n * GET: Gets metadata information for eWallet endpoints of the customer with given customer id\n * @summary customers/{customerId}/eWalletAccountsMetadata\n */\nexport var getCustomerEWalletAccountsMetadata = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/eWalletAccountsMetadata\"), method: 'get', headers: headers }, signal);\n};\n/**\n * Get WeChat unionId for customer id\n * @summary customers/{customerId}/externalAccounts/weChat/unionId\n */\nexport var getCustomerExternalAccountsWeChatUnionId = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/externalAccounts/weChat/unionId\"), method: 'get', headers: headers }, signal);\n};\n/**\n * Retrieves the profiles for external providers (FB, WeChat, VKontakte...)\n * @summary customers/{customerId}/externalProfiles\n */\nexport var getCustomerExternalProfiles = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/externalProfiles\"), method: 'get', headers: headers }, signal);\n};\n/**\n * Disconnects external account (FB, WeChat, VKontakte...)\n * @summary customers/{customerId}/externalAccounts/{externalProvider}\n */\nexport var deleteCustomerExternalAccount = function (client, customerId, externalProvider, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/externalAccounts/\").concat(externalProvider),\n method: 'delete',\n headers: headers,\n }, signal);\n};\n/**\n * Gets feature toggle value for current tenant by the feature GUID.\n * @summary featureToggles/{featureId}\n */\nexport var getFeatureToggle = function (client, featureId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/featureToggles/\".concat(featureId), method: 'get', headers: headers }, signal);\n};\n/**\n * Gets all feature toggle values for current tenant.\n * @summary featureToggles\n */\nexport var getFeatureToggles = function (client, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/featureToggles\", method: 'get', headers: headers }, signal);\n};\n/**\n * Get customer's FinancialSet\n * @summary customers/{customerId}/financialSet\n */\nexport var getCustomerFinancialSet = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/financialSet\"), method: 'get', headers: headers }, signal);\n};\n/**\n * Gets collection of formatted price data for products\n * @summary productsFormattedPrices\n */\nexport var getProductsFormattedPrices = function (client, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/productsFormattedPrices\", method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * Gets collection of formatted price data for concepts\n * @summary conceptsFormattedPrices\n */\nexport var getConceptsFormattedPrices = function (client, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/conceptsFormattedPrices\", method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * Get Front Page Banners\n * @summary applications/oriflameApp/frontPageBanners\n */\nexport var getApplicationsOriflameAppFrontPageBanners = function (client, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/applications/oriflameApp/frontPageBanners\", method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * Get Front Page Banner by ID\n * @summary applications/oriflameApp/frontPageBanners/{frontPageBannerId}\n */\nexport var getApplicationsOriflameAppFrontPageBanner = function (client, frontPageBannerId, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/applications/oriflameApp/frontPageBanners/\".concat(frontPageBannerId),\n method: 'get',\n headers: headers,\n params: params,\n }, signal);\n};\n/**\n * GET - provides content for the Benefit Banner for segmented customer.\n * @summary applications/frontpage/customers/{customerId}/benefitBanner\n */\nexport var getApplicationsFrontpageCustomerBenefitBanner = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/applications/frontpage/customers/\".concat(customerId, \"/benefitBanner\"),\n method: 'get',\n headers: headers,\n }, signal);\n};\n/**\n * GET: Returns Genesys widget configuration\n * @summary applications/genesysWidget\n */\nexport var getApplicationsGenesysWidget = function (client, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/applications/genesysWidget\", method: 'get', headers: headers }, signal);\n};\n/**\n * GET: granted credit\n * @summary customers/{customerId}/grantedCredit\n */\nexport var getCustomerGrantedCredit = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/grantedCredit\"), method: 'get', headers: headers }, signal);\n};\n/**\n * PUT: granted credit limit\n * @summary customers/{customerId}/grantedCredit\n */\nexport var updateCustomerGrantedCredit = function (client, customerId, globalCustomersGrantedCreditDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/grantedCredit\"),\n method: 'put',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalCustomersGrantedCreditDto,\n }, signal);\n};\n/**\n * GET: guarantee Credit\n * @summary customers/{customerId}/guaranteeCredit\n */\nexport var getCustomerGuaranteeCredit = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/guaranteeCredit\"), method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Localization for guarantee credit application\n * @summary applications/guaranteeCredit/localization\n */\nexport var getApplicationsGuaranteeCreditLocalization = function (client, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/applications/guaranteeCredit/localization\", method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Configuration for guarantee credit application\n * @summary applications/guaranteeCredit/grantedCreditConfiguration\n */\nexport var getApplicationsGuaranteeCreditGrantedCreditConfiguration = function (client, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/applications/guaranteeCredit/grantedCreditConfiguration\", method: 'get', headers: headers }, signal);\n};\n/**\n * GET: guarantee credit customers\n * @summary applications/guaranteeCredit/customers\n */\nexport var getApplicationsGuaranteeCreditCustomers = function (client, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/applications/guaranteeCredit/customers\", method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * GET: Provides home delivery addresses of the customer and related delivery channels (couriers)\n * @summary shoppingSessions/{sessionId}/homeDeliveryOptions\n */\nexport var getShoppingSessionHomeDeliveryOptions = function (client, sessionId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/shoppingSessions/\".concat(sessionId, \"/homeDeliveryOptions\"), method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Returns documents for identity card\n * @summary customers/{customerId}/identityCard\n */\nexport var getCustomerIdentityCard = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/identityCard\"), method: 'get', headers: headers }, signal);\n};\n/**\n * PUT: Change documents for identity card (temporary document are submitted and will no longer be deleted)\n * @summary customers/{customerId}/identityCard\n */\nexport var updateCustomerIdentityCard = function (client, customerId, globalCustomersIdentityCardDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/identityCard\"),\n method: 'put',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalCustomersIdentityCardDto,\n }, signal);\n};\n/**\n * Get social media library image info by imageInfoId\n * @summary socialMediaLibrary/imageInfos/{imageInfoId}\n */\nexport var getSocialMediaLibraryImageInfo = function (client, imageInfoId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/socialMediaLibrary/imageInfos/\".concat(imageInfoId), method: 'get', headers: headers }, signal);\n};\n/**\n * Get social media library images\n * @summary socialMediaLibrary/imageInfos\n */\nexport var getSocialMediaLibraryImageInfos = function (client, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/socialMediaLibrary/imageInfos\", method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * Returns anonymous (unregistered) customer notifications.\n * @summary inAppNotifications\n */\nexport var getInAppNotifications = function (client, headers, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/inAppNotifications\", method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * Returns anonymous (unregistered) customer notifications. This method should be used to get most recent updates including new notifications.\n * @summary inAppNotificationUpdates\n */\nexport var getInAppNotificationUpdates = function (client, headers, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/inAppNotificationUpdates\", method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * Returns client notifications.\n * @summary customers/{customerId}/inAppNotifications\n */\nexport var getCustomerInAppNotifications = function (client, customerId, headers, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/inAppNotifications\"), method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * Deletes all notifications of customer prior to due/current date.\n * @summary customers/{customerId}/inAppNotifications\n */\nexport var deleteCustomerInAppNotifications = function (client, customerId, headers, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/inAppNotifications\"), method: 'delete', headers: headers, params: params }, signal);\n};\n/**\n * Returns client notifications. This method should be used to get most recent updates including new notifications.\n * @summary customers/{customerId}/inAppNotificationUpdates\n */\nexport var getCustomerInAppNotificationUpdates = function (client, customerId, headers, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/inAppNotificationUpdates\"), method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * Marks given notification as viewed.\n * @summary customers/{customerId}/inAppNotifications/{notificationId}/viewed\n */\nexport var createCustomerInAppNotificationViewed = function (client, customerId, notificationId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/inAppNotifications/\").concat(notificationId, \"/viewed\"),\n method: 'post',\n headers: headers,\n }, signal);\n};\n/**\n * Marks all notifications of customer prior to due/current date as viewed.\n * @summary customers/{customerId}/inAppNotifications/viewed\n */\nexport var createCustomerInAppNotificationsViewed = function (client, customerId, headers, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/inAppNotifications/viewed\"), method: 'post', headers: headers, params: params }, signal);\n};\n/**\n * Deletes given notification.\n * @summary customers/{customerId}/inAppNotifications/{notificationId}\n */\nexport var deleteCustomerInAppNotification = function (client, customerId, notificationId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/inAppNotifications/\").concat(notificationId),\n method: 'delete',\n headers: headers,\n }, signal);\n};\n/**\n * Undo delete given notification.\n * @summary customers/{customerId}/inAppNotifications/{notificationId}/undelete\n */\nexport var createCustomerInAppNotificationUndelete = function (client, customerId, notificationId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/inAppNotifications/\").concat(notificationId, \"/undelete\"),\n method: 'post',\n headers: headers,\n }, signal);\n};\n/**\n * Returns message types collection.\n * @summary notificationMessageTypes\n */\nexport var getNotificationMessageTypes = function (client, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/notificationMessageTypes\", method: 'get', headers: headers }, signal);\n};\n/**\n * Marks all notifications of customer prior to due/current date as seen.\n * @summary customers/{customerId}/inAppNotifications/seen\n */\nexport var createCustomerInAppNotificationsSeen = function (client, customerId, headers, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/inAppNotifications/seen\"), method: 'post', headers: headers, params: params }, signal);\n};\n/**\n * Marks given notification as seen.\n * @summary customers/{customerId}/inAppNotifications/{notificationId}/seen\n */\nexport var createCustomerInAppNotificationSeen = function (client, customerId, notificationId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/inAppNotifications/\").concat(notificationId, \"/seen\"),\n method: 'post',\n headers: headers,\n }, signal);\n};\n/**\n * Returns count of unseen notifications\n * @summary customers/{customerId}/unseenNotificationsCount\n */\nexport var getCustomerUnseenNotificationsCount = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/unseenNotificationsCount\"), method: 'get', headers: headers }, signal);\n};\n/**\n * Gets collection of Ingredients for given ingredient Names. If collection of ingredients is empty\nall ingredients are returned\n * @summary ingredients\n */\nexport var getIngredients = function (client, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/ingredients\", method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * Gets Ingredient for given name\n * @summary ingredients/{ingredientName}\n */\nexport var getIngredient = function (client, ingredientName, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/ingredients/\".concat(ingredientName), method: 'get', headers: headers }, signal);\n};\n/**\n * GET: international info\n * @summary customers/{customerId}/internationalInfo\n */\nexport var getCustomerInternationalInfo = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/internationalInfo\"), method: 'get', headers: headers }, signal);\n};\n/**\n * Gets Invite Friend profile for the customer with given customer id\n * @summary customers/{customerId}/inviteFriendProfile\n */\nexport var getCustomerInviteFriendProfile = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/inviteFriendProfile\"), method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Returns joining fee info and html content\n * @deprecated\n * @summary joiningFeeDialog/html\n */\nexport var getJoiningFeeDialogHtmlDeprecated = function (client, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/joiningFeeDialog/html\", method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Returns legal information of registration with given ID\n * @summary customerRegistrations/{registrationId}/legalDetails\n */\nexport var getCustomerRegistrationLegalDetails = function (client, registrationId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customerRegistrations/\".concat(registrationId, \"/legalDetails\"), method: 'get', headers: headers }, signal);\n};\n/**\n * PUT: Modifies legal information of registration with given ID\n * @summary customerRegistrations/{registrationId}/legalDetails\n */\nexport var updateCustomerRegistrationLegalDetails = function (client, registrationId, globalCustomerRegistrationsRegistrationLegalDetailsDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customerRegistrations/\".concat(registrationId, \"/legalDetails\"),\n method: 'put',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalCustomerRegistrationsRegistrationLegalDetailsDto,\n }, signal);\n};\n/**\n * GET: Returns legal document with given area manager filled in\n * @summary customers/{customerId}/legalDocument\n */\nexport var getCustomerLegalDocument = function (client, customerId, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/legalDocument\"), method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * Get social media library localization\n * @summary applications/socialMediaLibrary/localization\n */\nexport var getApplicationsSocialMediaLibraryLocalization = function (client, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/applications/socialMediaLibrary/localization\", method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Returns information about Online login status - disabled?\n * @summary login/status\n */\nexport var getLoginStatus = function (client, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/login/status\", method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Lookup for addresses by ID\n * @deprecated\n * @summary addressNodes/{nodeId}\n */\nexport var getAddressNodeDeprecated = function (client, nodeId, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/addressNodes/\".concat(nodeId), method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * GET: Returns single search result item by ID. Use 'GET addressSuggestions' to find results.\n * @summary addressSearchResults/{addressSearchResultId}\n */\nexport var getAddressSearchResult = function (client, addressSearchResultId, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/addressSearchResults/\".concat(addressSearchResultId), method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * GET: Lookup for address suggestions by filter\n * @summary addressSuggestions\n */\nexport var getAddressSuggestions = function (client, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/addressSuggestions\", method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * Gets the looks.\n * @summary applications/makeupwizard/looks\n */\nexport var getApplicationsMakeupwizardLooks = function (client, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/applications/makeupwizard/looks\", method: 'get', headers: headers }, signal);\n};\n/**\n * Gets the look tags.\n * @summary applications/makeupwizard/looktags\n */\nexport var getApplicationsMakeupwizardLooktags = function (client, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/applications/makeupwizard/looktags\", method: 'get', headers: headers }, signal);\n};\n/**\n * Gets the localization.\n * @summary applications/makeupwizard/localization\n */\nexport var getApplicationsMakeupwizardLocalization = function (client, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/applications/makeupwizard/localization\", method: 'get', headers: headers }, signal);\n};\n/**\n * Gets the Makeup Wizard Categories\n * @summary applications/makeupwizard/categories\n */\nexport var getApplicationsMakeupwizardCategories = function (client, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/applications/makeupwizard/categories\", method: 'get', headers: headers }, signal);\n};\n/**\n * Gets the welcome screen steps.\n * @summary applications/makeupwizard/welcomeScreenSteps\n */\nexport var getApplicationsMakeupwizardWelcomeScreenSteps = function (client, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/applications/makeupwizard/welcomeScreenSteps\", method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Returns selected value for marital status\n * @summary customers/{customerId}/maritalStatus\n */\nexport var getCustomerMaritalStatus = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/maritalStatus\"), method: 'get', headers: headers }, signal);\n};\n/**\n * PUT: Change selected value for marital status\n * @summary customers/{customerId}/maritalStatus\n */\nexport var updateCustomerMaritalStatus = function (client, customerId, globalCustomersCustomerSelectionDtoBody, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/maritalStatus\"),\n method: 'put',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalCustomersCustomerSelectionDtoBody,\n }, signal);\n};\n/**\n * Get title qualification parameters\n * @summary commissionPlans/matureMarket/titleQualifications\n */\nexport var getCommissionPlansMatureMarketTitleQualifications = function (client, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/commissionPlans/matureMarket/titleQualifications\", method: 'get', headers: headers }, signal);\n};\n/**\n * Get personal menu data\n * @summary customers/{customerId}/menu\n */\nexport var getCustomerMenu = function (client, customerId, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/menu\"), method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * Gets links for all existing mobile applications.\n * @summary mobileAppsLinks\n */\nexport var getMobileAppsLinks = function (client, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/mobileAppsLinks\", method: 'get', headers: headers }, signal);\n};\n/**\n * Returns configuration of MV7.\n * @summary applications/mv7/configuration\n */\nexport var getApplicationsMv7Configuration = function (client, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/applications/mv7/configuration\", method: 'get', headers: headers }, signal);\n};\n/**\n * GET - Returns collection of Custom Links from My Page\n * @summary applications/oriflameapp/myPage\n */\nexport var getApplicationsOriflameappMyPage = function (client, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/applications/oriflameapp/myPage\", method: 'get', headers: headers }, signal);\n};\n/**\n * Provides name bank contacts of specific customer\n * @summary customers/{customerId}/nameBankContacts\n */\nexport var getCustomerNameBankContacts = function (client, customerId, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/nameBankContacts\"), method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * Adds contact for specific customer\n * @summary customers/{customerId}/nameBankContacts\n */\nexport var createCustomerNameBankContact = function (client, customerId, globalMobileOfficeNameBankNameBankContactDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/nameBankContacts\"),\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalMobileOfficeNameBankNameBankContactDto,\n }, signal);\n};\n/**\n * Gets specific name bank contact of specific customer by id\n * @summary customers/{customerId}/nameBankContacts/{contactId}\n */\nexport var getCustomerNameBankContact = function (client, customerId, contactId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/nameBankContacts/\").concat(contactId), method: 'get', headers: headers }, signal);\n};\n/**\n * Updates contact of specific customer\n * @summary customers/{customerId}/nameBankContacts/{contactId}\n */\nexport var updateCustomerNameBankContact = function (client, customerId, contactId, globalMobileOfficeNameBankNameBankContactDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/nameBankContacts/\").concat(contactId),\n method: 'put',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalMobileOfficeNameBankNameBankContactDto,\n }, signal);\n};\n/**\n * Deletes contact of specific customer\n * @summary customers/{customerId}/nameBankContacts/{contactId}\n */\nexport var deleteCustomerNameBankContact = function (client, customerId, contactId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/nameBankContacts/\").concat(contactId), method: 'delete', headers: headers }, signal);\n};\n/**\n * Get navigation items for specific type\n * @summary applications/navigation/navigations/{navigationType}\n */\nexport var getApplicationsNavigationNavigation = function (client, navigationType, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/applications/navigation/navigations/\".concat(navigationType),\n method: 'get',\n headers: headers,\n params: params,\n }, signal);\n};\n/**\n * Sends search signal - it is created on specific action.\n * @summary applications/navigation/signal\n */\nexport var createApplicationsNavigationSignal = function (client, globalProductQuerySignalsDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/applications/navigation/signal\",\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalProductQuerySignalsDto,\n }, signal);\n};\n/**\n * Sends search signals bulk - it is created on specific action.\n * @summary applications/navigation/signalsBulk\n */\nexport var createApplicationsNavigationSignalsBulk = function (client, globalProductQuerySignalsBulkDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/applications/navigation/signalsBulk\",\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalProductQuerySignalsBulkDto,\n }, signal);\n};\n/**\n * Get navigation items of specific type for customer\n * @summary applications/navigation/customers/{customerId}/navigations/{navigationType}\n */\nexport var getApplicationsNavigationCustomerNavigation = function (client, customerId, navigationType, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/applications/navigation/customers/\".concat(customerId, \"/navigations/\").concat(navigationType),\n method: 'get',\n headers: headers,\n params: params,\n }, signal);\n};\n/**\n * GET: Gets the information about the customer for given customer id\n * @summary applications/navigation/customers/{customerId}/info\n */\nexport var getApplicationsNavigationCustomerInfo = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/applications/navigation/customers/\".concat(customerId, \"/info\"), method: 'get', headers: headers }, signal);\n};\n/**\n * Provides top news for specific customer\n * @summary customers/{customerId}/news/top\n */\nexport var createCustomerNewsTop = function (client, customerId, globalSharedPagingDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/news/top\"),\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalSharedPagingDto,\n }, signal);\n};\n/**\n * Subscribes or returns status of newsletter subscription for given email, origin and source values.\n * @summary newsletterSubscriptions\n */\nexport var createNewsletterSubscription = function (client, globalNewsletterSubscriptionsNewsletterSubscriptionsDtoBody, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/newsletterSubscriptions\",\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalNewsletterSubscriptionsNewsletterSubscriptionsDtoBody,\n }, signal);\n};\n/**\n * GET: Returns nominee (e.g. spouse name)\n * @summary customers/{customerId}/nominee\n */\nexport var getCustomerNominee = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/nominee\"), method: 'get', headers: headers }, signal);\n};\n/**\n * PUT: Change nominee (e.g. spouse name)\n * @summary customers/{customerId}/nominee\n */\nexport var updateCustomerNominee = function (client, customerId, globalCustomersNomineeDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/nominee\"),\n method: 'put',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalCustomersNomineeDto,\n }, signal);\n};\n/**\n * Relays mobile (inapp+push) notification delivery.\n * @summary relayNotifications/mobile\n */\nexport var createRelayNotificationsMobile = function (client, globalNotificationsMobileNotificationDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/relayNotifications/mobile\",\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalNotificationsMobileNotificationDto,\n }, signal);\n};\n/**\n * Relays mobile (inapp+push) notification delivery. This is new version of api which allows send one notification with many recipients in one call.\n * @summary relayNotifications/mobileBulk\n */\nexport var createRelayNotificationsMobileBulk = function (client, globalNotificationsBulkMobileNotificationDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/relayNotifications/mobileBulk\",\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalNotificationsBulkMobileNotificationDto,\n }, signal);\n};\n/**\n * Update or create new customer notification.\n * @summary customers/{customerId}/notifications\n */\nexport var createCustomerNotification = function (client, customerId, globalNotificationsCustomerNotificationDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/notifications\"),\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalNotificationsCustomerNotificationDto,\n }, signal);\n};\n/**\n * Delete customer notification.\n * @summary customers/{customerId}/notifications/{notificationId}\n */\nexport var deleteCustomerNotification = function (client, customerId, notificationId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/notifications/\").concat(notificationId), method: 'delete', headers: headers }, signal);\n};\n/**\n * Returns single customer notification.\n * @summary customers/{customerId}/notifications/{notificationId}\n */\nexport var getCustomerNotification = function (client, customerId, notificationId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/notifications/\").concat(notificationId), method: 'get', headers: headers }, signal);\n};\n/**\n * Send customer notification.\n * @summary customers/{customerId}/notifications/{notificationId}/send\n */\nexport var createCustomerNotificationSend = function (client, customerId, notificationId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/notifications/\").concat(notificationId, \"/send\"),\n method: 'post',\n headers: headers,\n }, signal);\n};\n/**\n * Recall customer notification.\n * @summary customers/{customerId}/notifications/{notificationId}/recall\n */\nexport var createCustomerNotificationRecall = function (client, customerId, notificationId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/notifications/\").concat(notificationId, \"/recall\"),\n method: 'post',\n headers: headers,\n }, signal);\n};\n/**\n * Search for customer's notifications by criteria.\n * @summary customers/{customerId}/notifications/search\n */\nexport var createCustomerNotificationsSearch = function (client, customerId, globalNotificationsCustomerNotificationSearchRequestDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/notifications/search\"),\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalNotificationsCustomerNotificationSearchRequestDto,\n }, signal);\n};\n/**\n * Returns target collection\n * @summary customers/notifications/targets\n */\nexport var getCustomersNotificationsTargets = function (client, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/notifications/targets\", method: 'get', headers: headers }, signal);\n};\n/**\n * Returns categories collection\n * @summary notificationCategories\n */\nexport var getNotificationCategories = function (client, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/notificationCategories\", method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * Return single customer attribute by attribute type\n * @deprecated\n * @summary customers/{customerId}/customerAttributes/{customerAttributeTypeId}\n */\nexport var getCustomerCustomerAttributeDeprecated = function (client, customerId, customerAttributeTypeId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/customerAttributes/\").concat(customerAttributeTypeId),\n method: 'get',\n headers: headers,\n }, signal);\n};\n/**\n * Updates single customer attribute by attribute type\n * @deprecated\n * @summary customers/{customerId}/customerAttributes/{customerAttributeTypeId}\n */\nexport var updateCustomerCustomerAttributeDeprecated = function (client, customerId, customerAttributeTypeId, globalCustomersAttributeDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/customerAttributes/\").concat(customerAttributeTypeId),\n method: 'put',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalCustomersAttributeDto,\n }, signal);\n};\n/**\n * Gets all customer attributes\n * @deprecated\n * @summary customers/{customerId}/customerAttributes\n */\nexport var getCustomerCustomerAttributesDeprecated = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/customerAttributes\"), method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Get list of chosen products of the offer\n * @summary shoppingSessions/{sessionId}/offers/{offerId}/choices\n */\nexport var getShoppingSessionOfferChoices = function (client, sessionId, offerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/shoppingSessions/\".concat(sessionId, \"/offers/\").concat(offerId, \"/choices\"), method: 'get', headers: headers }, signal);\n};\n/**\n * PUT: Update chosen products of the offer\n * @summary shoppingSessions/{sessionId}/offers/{offerId}/choices\n */\nexport var updateShoppingSessionOfferChoices = function (client, sessionId, offerId, globalShoppingOfferChoicesDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/shoppingSessions/\".concat(sessionId, \"/offers/\").concat(offerId, \"/choices\"),\n method: 'put',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalShoppingOfferChoicesDto,\n }, signal);\n};\n/**\n * DELETE: Remove all chosen products of the offer\n * @summary shoppingSessions/{sessionId}/offers/{offerId}/choices\n */\nexport var deleteShoppingSessionOfferChoices = function (client, sessionId, offerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/shoppingSessions/\".concat(sessionId, \"/offers/\").concat(offerId, \"/choices\"), method: 'delete', headers: headers }, signal);\n};\n/**\n * POST: Add new chosen offer item\n * @summary shoppingSessions/{sessionId}/offers/{offerId}/choices\n */\nexport var createShoppingSessionOfferChoice = function (client, sessionId, offerId, globalShoppingOfferChoiceDtoBody, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/shoppingSessions/\".concat(sessionId, \"/offers/\").concat(offerId, \"/choices\"),\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalShoppingOfferChoiceDtoBody,\n }, signal);\n};\n/**\n * GET: Get chosen offer item by product code\n * @summary shoppingSessions/{sessionId}/offers/{offerId}/choices/{itemCode}\n */\nexport var getShoppingSessionOfferChoice = function (client, sessionId, offerId, itemCode, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/shoppingSessions/\".concat(sessionId, \"/offers/\").concat(offerId, \"/choices/\").concat(itemCode),\n method: 'get',\n headers: headers,\n }, signal);\n};\n/**\n * PUT: Modify requested quantity of chosen offer item\n * @summary shoppingSessions/{sessionId}/offers/{offerId}/choices/{itemCode}\n */\nexport var updateShoppingSessionOfferChoice = function (client, sessionId, offerId, itemCode, globalShoppingOfferChoiceDtoBody, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/shoppingSessions/\".concat(sessionId, \"/offers/\").concat(offerId, \"/choices/\").concat(itemCode),\n method: 'put',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalShoppingOfferChoiceDtoBody,\n }, signal);\n};\n/**\n * DELETE: Remove previously chosen offer item\n * @summary shoppingSessions/{sessionId}/offers/{offerId}/choices/{itemCode}\n */\nexport var deleteShoppingSessionOfferChoice = function (client, sessionId, offerId, itemCode, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/shoppingSessions/\".concat(sessionId, \"/offers/\").concat(offerId, \"/choices/\").concat(itemCode),\n method: 'delete',\n headers: headers,\n }, signal);\n};\n/**\n * GET: Get list of offered products\n * @summary shoppingSessions/{sessionId}/offers/{offerId}/offerItems\n */\nexport var getShoppingSessionOfferOfferItems = function (client, sessionId, offerId, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/shoppingSessions/\".concat(sessionId, \"/offers/\").concat(offerId, \"/offerItems\"),\n method: 'get',\n headers: headers,\n params: params,\n }, signal);\n};\n/**\n * GET: Get list of shopping offers evaluated for current shopping bag\n * @summary shoppingSessions/{sessionId}/offers\n */\nexport var getShoppingSessionOffers = function (client, sessionId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/shoppingSessions/\".concat(sessionId, \"/offers\"), method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Returns data for onboarding\n * @summary customers/{customerId}/onboarding\n */\nexport var getCustomerOnboarding = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/onboarding\"), method: 'get', headers: headers }, signal);\n};\n/**\n * PUT: Submits data for onboarding process\n * @summary customers/{customerId}/onboarding\n */\nexport var updateCustomerOnboarding = function (client, customerId, globalOnboardingOnboardingDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/onboarding\"),\n method: 'put',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalOnboardingOnboardingDto,\n }, signal);\n};\n/**\n * GET: Returns metadata information about onboarding\n * @summary customers/{customerId}/onboardingMetadata\n */\nexport var getCustomerOnboardingMetadata = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/onboardingMetadata\"), method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Provides information whether the customer has passed the onboarding test.\n * @summary customers/{customerId}/onboardingTest\n */\nexport var getCustomerOnboardingTest = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/onboardingTest\"), method: 'get', headers: headers }, signal);\n};\n/**\n * PUT: Provides the possibility to pass the onboarding test.\n * @summary customers/{customerId}/onboardingTest\n */\nexport var updateCustomerOnboardingTest = function (client, customerId, globalCustomersOnboardingTestDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/onboardingTest\"),\n method: 'put',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalCustomersOnboardingTestDto,\n }, signal);\n};\n/**\n * Simulates behavior of a standard GET endpoint from Online API with authorization and without any further logic\n * @summary tests/smallSizeResponse/online\n */\nexport var getTestsSmallSizeResponseOnline = function (client, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tests/smallSizeResponse/online\", method: 'get', headers: headers }, signal);\n};\n/**\n * Simulates behavior of a standard GET endpoint from Online API with authorization and without any further logic\n * @summary tests/mediumSizeResponse/online\n */\nexport var getTestsMediumSizeResponseOnline = function (client, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tests/mediumSizeResponse/online\", method: 'get', headers: headers }, signal);\n};\n/**\n * Simulates behavior of a standard GET endpoint from Online API with authorization and without any further logic\n * @summary tests/bigSizeResponse/online\n */\nexport var getTestsBigSizeResponseOnline = function (client, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tests/bigSizeResponse/online\", method: 'get', headers: headers }, signal);\n};\n/**\n * POST: Place new order\n * @summary shoppingSessions/{sessionId}/order\n */\nexport var createShoppingSessionOrder = function (client, sessionId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/shoppingSessions/\".concat(sessionId, \"/order\"), method: 'post', headers: headers }, signal);\n};\n/**\n * GET: Returns key performance indicators based on order history of the customer\nSome information may be omitted based on market settings and customer type.\n * @summary applications/orderHistory/customers/{customerId}/kpi\n */\nexport var getApplicationsOrderHistoryCustomerKpi = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/applications/orderHistory/customers/\".concat(customerId, \"/kpi\"), method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Configuration for Order history\n * @summary applications/orderHistory/customers/{customerId}/configuration\n */\nexport var getApplicationsOrderHistoryCustomerConfiguration = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/applications/orderHistory/customers/\".concat(customerId, \"/configuration\"),\n method: 'get',\n headers: headers,\n }, signal);\n};\n/**\n * Returns order items for given orders from one customer.\n * @summary orderItems\n */\nexport var getOrderItems = function (client, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/orderItems\", method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * Gets a list of orders for a specified customerId, with the possibility of filtering only desired status, and paging.\nYou can additionally filter by a search phrase, and choose to include WeChat orders.\nHistory type switches between returning orders in the Current + past 3 periods; or the entire history (2 years).\n\r\nIf paging parameters are not provided, no paging is applied and full history for given time period is returned.\n * @summary orders\n */\nexport var getOrders = function (client, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/orders\", method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * Place new order\n * @summary orders\n */\nexport var createOrder = function (client, globalShoppingOrderDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/orders\",\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalShoppingOrderDto,\n }, signal);\n};\n/**\n * GET: Get specific order of a customer\n * @summary orders/{orderId}\n */\nexport var getOrder = function (client, orderId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/orders/\".concat(orderId), method: 'get', headers: headers }, signal);\n};\n/**\n * DELETE : cancel order if cancellation is allowed\n * @summary orders/{orderId}\n */\nexport var deleteOrder = function (client, orderId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/orders/\".concat(orderId), method: 'delete', headers: headers }, signal);\n};\n/**\n * GET: Get operation principals\n * @summary orders/{orderId}/operationPrincipals\n */\nexport var getOrderOperationPrincipals = function (client, orderId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/orders/\".concat(orderId, \"/operationPrincipals\"), method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Get last unpaid order for specific customer\n * @summary customers/{customerId}/orders/lastUnpaid\n */\nexport var getCustomerOrdersLastUnpaid = function (client, customerId, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/orders/lastUnpaid\"), method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * GET: Provide availability of order cancel operation\n * @summary orders/{orderId}/cancellation\n */\nexport var getOrderCancellation = function (client, orderId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/orders/\".concat(orderId, \"/cancellation\"), method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Get realtime order trackings\n * @summary orders/{orderId}/realtimeOrderTracking\n */\nexport var getOrderRealtimeOrderTracking = function (client, orderId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/orders/\".concat(orderId, \"/realtimeOrderTracking\"), method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Provide selected payment provider\n * @summary orders/{orderId}/paymentProvider\n */\nexport var getOrderPaymentProvider = function (client, orderId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/orders/\".concat(orderId, \"/paymentProvider\"), method: 'get', headers: headers }, signal);\n};\n/**\n * PUT: Update selected payment provider\n * @summary orders/{orderId}/paymentProvider\n */\nexport var updateOrderPaymentProvider = function (client, orderId, globalShoppingOrderPaymentProviderDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/orders/\".concat(orderId, \"/paymentProvider\"),\n method: 'put',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalShoppingOrderPaymentProviderDto,\n }, signal);\n};\n/**\n * Returns a list of all discounts applied to the order.\n * @summary orders/{orderId}/discounts\n */\nexport var getOrderDiscounts = function (client, orderId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/orders/\".concat(orderId, \"/discounts\"), method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Gets the collection of all end consumers from a given order.\n * @summary orders/{orderId}/endConsumers\n */\nexport var getOrderEndConsumers = function (client, orderId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/orders/\".concat(orderId, \"/endConsumers\"), method: 'get', headers: headers }, signal);\n};\n/**\n * Returns a list of order statuses and the total sum of orders per each status.\n * @summary orderStatuses\n */\nexport var getOrderStatuses = function (client, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/orderStatuses\", method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * Returns order navigation information (e.g. order detail page URL)\n * @summary orders/{orderId}/navigation\n */\nexport var getOrderNavigation = function (client, orderId, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/orders/\".concat(orderId, \"/navigation\"), method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * GET: Returns financial aggregates for a given order such as debt, fees, discounts and BPs.\nSome information may be omitted based on market settings and customer type.\n * @summary applications/orderSummary/orders/{orderId}/summary\n */\nexport var getApplicationsOrderSummaryOrderSummary = function (client, orderId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/applications/orderSummary/orders/\".concat(orderId, \"/summary\"), method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Returns customer oriflame card in PDF format\n * @summary customers/{customerId}/oriflameCard\n */\nexport var getCustomerOriflameCard = function (client, customerId, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/oriflameCard\"), method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * Get OutdatedBrowserInfo localization.\n * @summary applications/outdatedBrowserInfo/localization\n */\nexport var getApplicationsOutdatedBrowserInfoLocalization = function (client, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/applications/outdatedBrowserInfo/localization\", method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Provides payment methods\n * @summary orders/{orderId}/paymentMethods\n */\nexport var getOrderPaymentMethods = function (client, orderId, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/orders/\".concat(orderId, \"/paymentMethods\"), method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * GET: Provides payment methods\n * @summary shoppingSessions/{sessionId}/paymentMethods\n */\nexport var getShoppingSessionPaymentMethods = function (client, sessionId, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/shoppingSessions/\".concat(sessionId, \"/paymentMethods\"), method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * GET: Provides payment providers\n * @summary shoppingSessions/{sessionId}/paymentProviders\n */\nexport var getShoppingSessionPaymentProviders = function (client, sessionId, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/shoppingSessions/\".concat(sessionId, \"/paymentProviders\"), method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * GET: Provides payment provider\n * @summary shoppingSessions/{sessionId}/paymentProviders/{paymentProviderId}\n */\nexport var getShoppingSessionPaymentProvider = function (client, sessionId, paymentProviderId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/shoppingSessions/\".concat(sessionId, \"/paymentProviders/\").concat(paymentProviderId),\n method: 'get',\n headers: headers,\n }, signal);\n};\n/**\n * GET: Get payment provider\n * @summary paymentProviders/{paymentProviderId}\n */\nexport var getPaymentProvider = function (client, paymentProviderId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/paymentProviders/\".concat(paymentProviderId), method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Provides payment providers\n * @summary orders/{orderId}/paymentProviders\n */\nexport var getOrderPaymentProviders = function (client, orderId, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/orders/\".concat(orderId, \"/paymentProviders\"), method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * POST: Initialization of the online payment process, returns the parameters that are needed for further processing by the payment provider\n * @summary customer/{customerId}/order/{orderId}/paymentData\n */\nexport var createCustomerOrderPaymentDatum = function (client, customerId, orderId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customer/\".concat(customerId, \"/order/\").concat(orderId, \"/paymentData\"), method: 'post', headers: headers }, signal);\n};\n/**\n * POST: Initialization of the shared online payment process, returns the parameters that are needed for further processing by the payment provider\n * @summary customer/{customerId}/order/{orderId}/sharedPaymentData\n */\nexport var createCustomerOrderSharedPaymentDatum = function (client, customerId, orderId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customer/\".concat(customerId, \"/order/\").concat(orderId, \"/sharedPaymentData\"), method: 'post', headers: headers }, signal);\n};\n/**\n * GET: Provide selected payment\n * @summary shoppingSessions/{sessionId}/payment\n */\nexport var getShoppingSessionPayment = function (client, sessionId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/shoppingSessions/\".concat(sessionId, \"/payment\"), method: 'get', headers: headers }, signal);\n};\n/**\n * PUT: Update selected payment\n * @summary shoppingSessions/{sessionId}/payment\n */\nexport var updateShoppingSessionPayment = function (client, sessionId, globalShoppingPaymentDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/shoppingSessions/\".concat(sessionId, \"/payment\"),\n method: 'put',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalShoppingPaymentDto,\n }, signal);\n};\n/**\n * GET: Returns result of evaluation if the order can be paid and number of pending payments\n * @summary orders/{orderId}/pendingPaymentsResult\n */\nexport var getOrderPendingPaymentsResult = function (client, orderId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/orders/\".concat(orderId, \"/pendingPaymentsResult\"), method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Returns pending registration\n * @summary pendingRegistrations/{pendingRegistrationId}\n */\nexport var getPendingRegistration = function (client, pendingRegistrationId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/pendingRegistrations/\".concat(pendingRegistrationId), method: 'get', headers: headers }, signal);\n};\n/**\n * PUT: Updates pending registration\n * @summary pendingRegistrations/{pendingRegistrationId}\n */\nexport var updatePendingRegistration = function (client, pendingRegistrationId, globalPendingRegistrationsPendingRegistrationDtoBody, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/pendingRegistrations/\".concat(pendingRegistrationId),\n method: 'put',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalPendingRegistrationsPendingRegistrationDtoBody,\n }, signal);\n};\n/**\n * POST: Creates new pending registration\n * @summary pendingRegistrations\n */\nexport var createPendingRegistration = function (client, globalPendingRegistrationsPendingRegistrationDtoBody, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/pendingRegistrations\",\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalPendingRegistrationsPendingRegistrationDtoBody,\n }, signal);\n};\n/**\n * GET: Returns settings and metadata for pending registration\n * @summary pendingRegistrationsMetadata\n */\nexport var getPendingRegistrationsMetadata = function (client, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/pendingRegistrationsMetadata\", method: 'get', headers: headers }, signal);\n};\n/**\n * GET period information based on given period code\n * @summary periods/{periodCode}\n */\nexport var getPeriod = function (client, periodCode, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/periods/\".concat(periodCode), method: 'get', headers: headers }, signal);\n};\n/**\n * GET periods information based on given offsets\n * @summary periods\n */\nexport var getPeriods = function (client, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/periods\", method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * GET current period information\n * @summary periods/currentPeriod\n */\nexport var getPeriodsCurrentPeriod = function (client, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/periods/currentPeriod\", method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Provide status of period tasks\n * @summary periods/{periodCode}/tasks\n */\nexport var getPeriodTasks = function (client, periodCode, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/periods/\".concat(periodCode, \"/tasks\"), method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * GET: provide status of period task\n * @summary periods/{periodCode}/tasks/{taskId}\n */\nexport var getPeriodTask = function (client, periodCode, taskId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/periods/\".concat(periodCode, \"/tasks/\").concat(taskId), method: 'get', headers: headers }, signal);\n};\n/**\n * POST: Returns concepts permissions\n * @summary concepts/permissions\n */\nexport var getConceptsPermissions = function (client, globalConceptsPermissionsQueryDtoBody, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/concepts/permissions\",\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalConceptsPermissionsQueryDtoBody,\n }, signal);\n};\n/**\n * GET: Provides concept permissions\n * @summary concepts/{conceptCode}/permission\n */\nexport var getConceptPermission = function (client, conceptCode, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/concepts/\".concat(conceptCode, \"/permission\"), method: 'get', headers: headers }, signal);\n};\n/**\n * POST: Returns concepts permissions\n * @summary customers/{customerId}/concepts/permissions\n */\nexport var getCustomerConceptsPermissions = function (client, customerId, globalConceptsPermissionsQueryDtoBody, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/concepts/permissions\"),\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalConceptsPermissionsQueryDtoBody,\n }, signal);\n};\n/**\n * GET: Provides concept permissions\n * @summary customers/{customerId}/concepts/{conceptCode}/permission\n */\nexport var getCustomerConceptPermission = function (client, customerId, conceptCode, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/concepts/\").concat(conceptCode, \"/permission\"), method: 'get', headers: headers }, signal);\n};\n/**\n * POST: Returns products permissions\n * @summary products/permissions\n */\nexport var getProductsPermissions = function (client, globalProductsPermissionsQueryDtoBody, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/products/permissions\",\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalProductsPermissionsQueryDtoBody,\n }, signal);\n};\n/**\n * GET: Provides product permissions\n * @summary products/{productCode}/permission\n */\nexport var getProductPermission = function (client, productCode, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/products/\".concat(productCode, \"/permission\"), method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Provides product permissions\n * @summary customers/{customerId}/products/{productCode}/permission\n */\nexport var getCustomerProductPermission = function (client, customerId, productCode, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/products/\").concat(productCode, \"/permission\"), method: 'get', headers: headers }, signal);\n};\n/**\n * POST: Returns products permissions\n * @summary customers/{customerId}/products/permissions\n */\nexport var getCustomerProductsPermissions = function (client, customerId, globalProductsPermissionsQueryDtoBody, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/products/permissions\"),\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalProductsPermissionsQueryDtoBody,\n }, signal);\n};\n/**\n * Provides permissions for customer\n * @summary customer/{customerId}/roles/permissions\n */\nexport var getCustomerRolesPermissions = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customer/\".concat(customerId, \"/roles/permissions\"), method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Personal Beauty Store information\n * @summary customers/{customerId}/personalBeautyStore\n */\nexport var getCustomerPersonalBeautyStore = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/personalBeautyStore\"), method: 'get', headers: headers }, signal);\n};\n/**\n * POST: Create Personal Beauty Store\n * @summary customers/{customerId}/personalBeautyStore\n */\nexport var createCustomerPersonalBeautyStore = function (client, customerId, globalCustomersPersonalBeautyStoreDtoBody, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/personalBeautyStore\"),\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalCustomersPersonalBeautyStoreDtoBody,\n }, signal);\n};\n/**\n * PUT: Modify Personal Beauty Store\n * @summary customers/{customerId}/personalBeautyStore\n */\nexport var updateCustomerPersonalBeautyStore = function (client, customerId, globalCustomersPersonalBeautyStoreDtoBody, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/personalBeautyStore\"),\n method: 'put',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalCustomersPersonalBeautyStoreDtoBody,\n }, signal);\n};\n/**\n * GET: Checks if is allowed to create Personal Beauty Store\n * @summary customers/{customerId}/personalBeautyStore/metadata\n */\nexport var getCustomerPersonalBeautyStoreMetadata = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/personalBeautyStore/metadata\"), method: 'get', headers: headers }, signal);\n};\n/**\n * Gets PBS profile for the customer with given customer id\n * @summary customers/{customerId}/personalBeautyStore/profile\n */\nexport var getCustomerPersonalBeautyStoreProfile = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/personalBeautyStore/profile\"), method: 'get', headers: headers }, signal);\n};\n/**\n * Provides personal beauty store link\n * @summary customers/{customerId}/personalBeautyStore/dynamiclink\n */\nexport var getCustomerPersonalBeautyStoreDynamiclink = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/personalBeautyStore/dynamiclink\"), method: 'get', headers: headers }, signal);\n};\n/**\n * Get Personal Beauty Store configuration\n * @summary personalBeautyStoreConfiguration\n */\nexport var getPersonalBeautyStoreConfiguration = function (client, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/personalBeautyStoreConfiguration\", method: 'get', headers: headers }, signal);\n};\n/**\n * Get Personal Beauty Store details\n * @summary personalBeautyStores/{name}\n */\nexport var getPersonalBeautyStore = function (client, name, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/personalBeautyStores/\".concat(name), method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Returns information about personal details of registration with given ID\n * @summary customerRegistrations/{registrationId}/personalDetails\n */\nexport var getCustomerRegistrationPersonalDetails = function (client, registrationId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customerRegistrations/\".concat(registrationId, \"/personalDetails\"), method: 'get', headers: headers }, signal);\n};\n/**\n * PUT: Modifies information about personal details of registration with given ID\n * @summary customerRegistrations/{registrationId}/personalDetails\n */\nexport var updateCustomerRegistrationPersonalDetails = function (client, registrationId, globalCustomerRegistrationsRegistrationPersonalDetailsDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customerRegistrations/\".concat(registrationId, \"/personalDetails\"),\n method: 'put',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalCustomerRegistrationsRegistrationPersonalDetailsDto,\n }, signal);\n};\n/**\n * GET: Returns documents for personal document\n * @summary customers/{customerId}/personalDocument\n */\nexport var getCustomerPersonalDocument = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/personalDocument\"), method: 'get', headers: headers }, signal);\n};\n/**\n * PUT: Change documents for personal document (temporary document are submitted and will no longer be deleted)\n * @summary customers/{customerId}/personalDocument\n */\nexport var updateCustomerPersonalDocument = function (client, customerId, globalCustomersCustomerDocumentsDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/personalDocument\"),\n method: 'put',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalCustomersCustomerDocumentsDto,\n }, signal);\n};\n/**\n * Get Personal Menu localization\n * @deprecated\n * @summary applications/personalMenu/localization\n */\nexport var getApplicationsPersonalMenuLocalizationDeprecated = function (client, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/applications/personalMenu/localization\", method: 'get', headers: headers }, signal);\n};\n/**\n * Get personal menu data\n * @summary applications/personalMenu\n */\nexport var getApplicationsPersonalMenu = function (client, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/applications/personalMenu\", method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * Gets OriSales menu items which will be merged with Online ones in personal menu application.\n * @summary applications/personalMenu/orisalesMenu\n */\nexport var getApplicationsPersonalMenuOrisalesMenu = function (client, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/applications/personalMenu/orisalesMenu\", method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Get personal performance kpis\n * @summary customers/{customerId}/personalPerformance\n */\nexport var getCustomerPersonalPerformance = function (client, customerId, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/personalPerformance\"), method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * Gets the localization.\n * @summary applications/personalProductsList/localization\n */\nexport var getApplicationsPersonalProductsListLocalization = function (client, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/applications/personalProductsList/localization\", method: 'get', headers: headers }, signal);\n};\n/**\n * Gets the configuration.\n * @summary applications/personalProductsList/configuration\n */\nexport var getApplicationsPersonalProductsListConfiguration = function (client, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/applications/personalProductsList/configuration\", method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Gets the telephones of customer with given customer id\n * @summary customers/{customerId}/phones\n */\nexport var getCustomerPhones = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/phones\"), method: 'get', headers: headers }, signal);\n};\n/**\n * POST: Creates a telephone for given customer id\n * @summary customers/{customerId}/phones\n */\nexport var createCustomerPhone = function (client, customerId, globalCustomersPhoneDtoBody, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/phones\"),\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalCustomersPhoneDtoBody,\n }, signal);\n};\n/**\n * PUT: Updates the telephone with given telephone id\n * @summary customers/{customerId}/phones/{telephoneId}\n */\nexport var updateCustomerPhone = function (client, customerId, telephoneId, globalCustomersPhoneDtoBody, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/phones/\").concat(telephoneId),\n method: 'put',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalCustomersPhoneDtoBody,\n }, signal);\n};\n/**\n * DELETE: Deletes a telephone with given telephone id\n * @summary customers/{customerId}/phones/{telephoneId}\n */\nexport var deleteCustomerPhone = function (client, customerId, telephoneId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/phones/\").concat(telephoneId), method: 'delete', headers: headers }, signal);\n};\n/**\n * GET: Gets metadata information for phone endpoints of the customer with given customer id\n * @summary customers/{customerId}/phonesMetadata\n */\nexport var getCustomerPhonesMetadata = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/phonesMetadata\"), method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Gets the status of verification process for given telephone id and customer id\n * @summary customers/{customerId}/phones/{telephoneId}/verificationRequest\n */\nexport var getCustomerPhoneVerificationRequest = function (client, customerId, telephoneId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/phones/\").concat(telephoneId, \"/verificationRequest\"),\n method: 'get',\n headers: headers,\n }, signal);\n};\n/**\n * PUT: Requests resending verification code for customer with a given telephone id and customer id\n * @summary customers/{customerId}/phones/{telephoneId}/verificationRequest\n */\nexport var updateCustomerPhoneVerificationRequest = function (client, customerId, telephoneId, globalCustomersTelephoneVerificationRequestDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/phones/\").concat(telephoneId, \"/verificationRequest\"),\n method: 'put',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalCustomersTelephoneVerificationRequestDto,\n }, signal);\n};\n/**\n * Returns collection of popular product for chosen type and related category.\n * @summary popularProducts\n */\nexport var getPopularProducts = function (client, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/popularProducts\", method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * GET: Returns preferences\n * @summary customers/{customerId}/preferences\n */\nexport var getCustomerPreferences = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/preferences\"), method: 'get', headers: headers }, signal);\n};\n/**\n * PUT: Change preferences values\n * @summary customers/{customerId}/preferences\n */\nexport var updateCustomerPreferences = function (client, customerId, globalCustomersCustomerPreferencesDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/preferences\"),\n method: 'put',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalCustomersCustomerPreferencesDto,\n }, signal);\n};\n/**\n * GET: Returns metadata for preferences\n * @summary customers/{customerId}/preferencesMetadata\n */\nexport var getCustomerPreferencesMetadata = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/preferencesMetadata\"), method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Returns prerequisites for checkout process\n * @summary customers/{customerId}/checkoutPrerequisites\n */\nexport var getCustomerCheckoutPrerequisites = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/checkoutPrerequisites\"), method: 'get', headers: headers }, signal);\n};\n/**\n * POST: Provides information about concept price\n * @summary concepts/prices\n */\nexport var getConceptsPrices = function (client, globalConceptsConceptPricesQueryDtoBody, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/concepts/prices\",\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalConceptsConceptPricesQueryDtoBody,\n }, signal);\n};\n/**\n * GET: Provides information about concept price\n * @summary concepts/{conceptCode}/price\n */\nexport var getConceptPrice = function (client, conceptCode, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/concepts/\".concat(conceptCode, \"/price\"), method: 'get', headers: headers }, signal);\n};\n/**\n * POST: Provides information about concept price\n * @summary customers/{customerId}/concepts/prices\n */\nexport var getCustomerConceptsPrices = function (client, customerId, globalConceptsConceptPricesQueryDtoBody, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/concepts/prices\"),\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalConceptsConceptPricesQueryDtoBody,\n }, signal);\n};\n/**\n * GET: Provides information about concept price\n * @summary customers/{customerId}/concepts/{conceptCode}/price\n */\nexport var getCustomerConceptPrice = function (client, customerId, conceptCode, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/concepts/\").concat(conceptCode, \"/price\"), method: 'get', headers: headers }, signal);\n};\n/**\n * POST: Provides information about product price\n * @summary products/prices\n */\nexport var getProductsPrices = function (client, globalProductsProductPricesQueryDtoBody, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/products/prices\",\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalProductsProductPricesQueryDtoBody,\n }, signal);\n};\n/**\n * GET: Provides information about product price\n * @summary customers/{customerId}/products/{productCode}/price\n */\nexport var getCustomerProductPrice = function (client, customerId, productCode, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/products/\").concat(productCode, \"/price\"), method: 'get', headers: headers }, signal);\n};\n/**\n * POST: Provides information about product price\n * @summary customers/{customerId}/products/prices\n */\nexport var getCustomerProductsPrices = function (client, customerId, globalProductsProductPricesQueryDtoBody, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/products/prices\"),\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalProductsProductPricesQueryDtoBody,\n }, signal);\n};\n/**\n * Gets single product bundle by product code\n * @summary productBundles/{productCode}\n */\nexport var getProductBundle = function (client, productCode, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/productBundles/\".concat(productCode), method: 'get', headers: headers }, signal);\n};\n/**\n * Gets collection of product bundles\n * @summary productBundles\n */\nexport var getProductBundles = function (client, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/productBundles\", method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * GET: Provides collection of Product Labels' contents.\n * @summary productLabelsContent\n */\nexport var getProductLabelsContent = function (client, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/productLabelsContent\", method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Get product list specified by productListId.\n * @summary productListTypes/{productListType}/productLists/{productListId}\n */\nexport var getProductListTypeProductList = function (client, productListType, productListId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/productListTypes/\".concat(productListType, \"/productLists/\").concat(productListId),\n method: 'get',\n headers: headers,\n }, signal);\n};\n/**\n * GET: Gets all product lists for specified customer of specified productListType.\n * @summary customers/{customerId}/productListTypes/{productListType}/productLists\n */\nexport var getCustomerProductListTypeProductLists = function (client, customerId, productListType, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/productListTypes/\").concat(productListType, \"/productLists\"),\n method: 'get',\n headers: headers,\n }, signal);\n};\n/**\n * POST: Creates new product list for specified customer of provided productListType.\n * @summary customers/{customerId}/productListTypes/{productListType}/productLists\n */\nexport var createCustomerProductListTypeProductList = function (client, customerId, productListType, globalSharedProductListDtoBody, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/productListTypes/\").concat(productListType, \"/productLists\"),\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalSharedProductListDtoBody,\n }, signal);\n};\n/**\n * Gets one product list of type productListType specified by productListId.\n * @summary customers/{customerId}/productListTypes/{productListType}/productLists/{productListId}\n */\nexport var getCustomerProductListTypeProductList = function (client, customerId, productListType, productListId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/productListTypes/\").concat(productListType, \"/productLists/\").concat(productListId),\n method: 'get',\n headers: headers,\n }, signal);\n};\n/**\n * Updates product list of type productListType specified by productListId.\n * @summary customers/{customerId}/productListTypes/{productListType}/productLists/{productListId}\n */\nexport var updateCustomerProductListTypeProductList = function (client, customerId, productListType, productListId, globalSharedProductListDtoBody, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/productListTypes/\").concat(productListType, \"/productLists/\").concat(productListId),\n method: 'put',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalSharedProductListDtoBody,\n }, signal);\n};\n/**\n * Delete product list of type productListType specified by productListId.\n * @summary customers/{customerId}/productListTypes/{productListType}/productLists/{productListId}\n */\nexport var deleteCustomerProductListTypeProductList = function (client, customerId, productListType, productListId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/productListTypes/\").concat(productListType, \"/productLists/\").concat(productListId),\n method: 'delete',\n headers: headers,\n }, signal);\n};\n/**\n * Deletes product item of specified code from product list.\n * @summary customers/{customerId}/ProductListTypes/{productListType}/ProductLists/{productListId}/Items/{itemCode}\n */\nexport var deleteCustomerProductListTypeProductListItem = function (client, customerId, productListType, productListId, itemCode, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/ProductListTypes/\").concat(productListType, \"/ProductLists/\").concat(productListId, \"/Items/\").concat(itemCode),\n method: 'delete',\n headers: headers,\n }, signal);\n};\n/**\n * Add one item of specified item code to product list.\n * @summary customers/{customerId}/ProductListTypes/{productListType}/ProductLists/{productListId}/Items\n */\nexport var createCustomerProductListTypeProductListItem = function (client, customerId, productListType, productListId, globalSharedProductListItemDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/ProductListTypes/\").concat(productListType, \"/ProductLists/\").concat(productListId, \"/Items\"),\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalSharedProductListItemDto,\n }, signal);\n};\n/**\n * Provides personal product list link.\n * @summary customers/{customerId}/productListTypes/{productListType}/productLists/{productListId}/dynamiclink\n */\nexport var getCustomerProductListTypeProductListDynamiclink = function (client, customerId, productListId, headers, params, productListType, signal) {\n if (productListType === void 0) { productListType = 'Personal'; }\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/productListTypes/\").concat(productListType, \"/productLists/\").concat(productListId, \"/dynamiclink\"),\n method: 'get',\n headers: headers,\n params: params,\n }, signal);\n};\n/**\n * GET: Get product listing specified by productListingPageId\n * @summary applications/productListing/listings\n */\nexport var getApplicationsProductListingListings = function (client, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/applications/productListing/listings\", method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * Provides collection of Product Listing Promo Banners\n * @summary applications/productListing/promoBanners\n */\nexport var getApplicationsProductListingPromoBanners = function (client, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/applications/productListing/promoBanners\", method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * POST: Provides products\n * @summary products\n */\nexport var getProducts = function (client, globalProductsQueryDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/products\",\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalProductsQueryDto,\n }, signal);\n};\n/**\n * GET: Provides product\n * @summary products/{productCode}\n */\nexport var getProduct = function (client, productCode, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/products/\".concat(productCode), method: 'get', headers: headers }, signal);\n};\n/**\n * Gets the products expected inbounds\n * @summary productsExpectedInbounds\n */\nexport var getProductsExpectedInbounds = function (client, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/productsExpectedInbounds\", method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * Gets the products ingredients\n * @summary productsIngredients\n */\nexport var getProductsIngredients = function (client, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/productsIngredients\", method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * Gets collection of product labels for anonymous customer.\n * @summary productsLabels\n */\nexport var getProductsLabels = function (client, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/productsLabels\", method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * Gets products replacements for specific customer.\n * @summary customers/{customerId}/productsReplacements\n */\nexport var getCustomerProductsReplacements = function (client, customerId, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/productsReplacements\"), method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * GET: Collection of products by search criteria\n * @summary applications/shoppingBag/products\n */\nexport var getApplicationsShoppingBagProducts = function (client, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/applications/shoppingBag/products\", method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * GET: Gets the customer profile of the customer with given customer id\n * @summary customers/{customerId}/profile\n */\nexport var getCustomerProfile = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/profile\"), method: 'get', headers: headers }, signal);\n};\n/**\n * PUT: Updates the customer profile of the customer with given customer id\n * @summary customers/{customerId}/profile\n */\nexport var updateCustomerProfile = function (client, customerId, globalCustomersProfileDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/profile\"),\n method: 'put',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalCustomersProfileDto,\n }, signal);\n};\n/**\n * GET: Gets metadata information for profile endpoints of the customer with given customer id\n * @summary customers/{customerId}/profileMetadata\n */\nexport var getCustomerProfileMetadata = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/profileMetadata\"), method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Gets information about completeness of user's profile\n * @summary customers/{customerId}/profileCompleteness\n */\nexport var getCustomerProfileCompleteness = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/profileCompleteness\"), method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Gets configuration for user's profile completeness\n * @summary customers/{customerId}/profileCompletenessMetadata\n */\nexport var getCustomerProfileCompletenessMetadata = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/profileCompletenessMetadata\"), method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Configuration for profile sections for customer\n * @summary customers/{customerId}/applications/profile/configurations/sections\n */\nexport var getCustomerApplicationsProfileConfigurationsSections = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/applications/profile/configurations/sections\"),\n method: 'get',\n headers: headers,\n }, signal);\n};\n/**\n * Returns information about all profile approvals for customer\n * @summary customers/{customerId}/profileApproval\n */\nexport var getCustomerProfileApproval = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/profileApproval\"), method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Returns document for profile image\n * @summary customers/{customerId}/profileImage\n */\nexport var getCustomerProfileImage = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/profileImage\"), method: 'get', headers: headers }, signal);\n};\n/**\n * PUT: Change documents for profile image (temporary document are submitted and will no longer be deleted)\n * @summary customers/{customerId}/profileImage\n */\nexport var updateCustomerProfileImage = function (client, customerId, globalCustomersProfileImageDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/profileImage\"),\n method: 'put',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalCustomersProfileImageDto,\n }, signal);\n};\n/**\n * GET: Returns metadata for profile image\n * @summary customers/{customerId}/profileImageMetadata\n */\nexport var getCustomerProfileImageMetadata = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/profileImageMetadata\"), method: 'get', headers: headers }, signal);\n};\n/**\n * Provide a specific promotion\n * @summary promotions/{promotionId}\n */\nexport var getPromotion = function (client, promotionId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/promotions/\".concat(promotionId), method: 'get', headers: headers }, signal);\n};\n/**\n * Gets best offers banners\n * @summary promotionBestOffersBanners\n */\nexport var getPromotionBestOffersBanners = function (client, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/promotionBestOffersBanners\", method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * Gets whats new type banners\n * @summary promotionWhatsNewBanners\n */\nexport var getPromotionWhatsNewBanners = function (client, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/promotionWhatsNewBanners\", method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * Gets hero banners\n * @summary promotionHeroBanners\n */\nexport var getPromotionHeroBanners = function (client, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/promotionHeroBanners\", method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * Gets campaign banners\n * @summary promotionCampaignBanners\n */\nexport var getPromotionCampaignBanners = function (client, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/promotionCampaignBanners\", method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * Gets category banners\n * @summary promotionCategoryBanners\n */\nexport var getPromotionCategoryBanners = function (client, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/promotionCategoryBanners\", method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * Gets current promotions\n * @summary digitalPromotions\n */\nexport var getDigitalPromotions = function (client, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/digitalPromotions\", method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * Provide all valid promotions\n * @summary promotions\n */\nexport var getPromotions = function (client, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/promotions\", method: 'get', headers: headers }, signal);\n};\n/**\n * Creates or updates push notification installation for anonymous customer\n * @summary pushNotifications/installations\n */\nexport var createPushNotificationsInstallation = function (client, globalNotificationsInstallationRequestDtoBody, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/pushNotifications/installations\",\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalNotificationsInstallationRequestDtoBody,\n }, signal);\n};\n/**\n * Creates or updates push notification installation for logged in customer\n * @summary customers/{customerId}/pushNotifications/installations\n */\nexport var createCustomerPushNotificationsInstallation = function (client, customerId, globalNotificationsInstallationRequestDtoBody, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/pushNotifications/installations\"),\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalNotificationsInstallationRequestDtoBody,\n }, signal);\n};\n/**\n * Deletes installation\n * @summary customers/{customerId}/pushNotifications/installations/{installationId}\n */\nexport var deleteCustomerPushNotificationsInstallation = function (client, customerId, installationId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/pushNotifications/installations/\").concat(installationId),\n method: 'delete',\n headers: headers,\n }, signal);\n};\n/**\n * Create or update device registration in Push notification center to possible to deliver the push notification to this device.\n \r\nDeprecated for Cumulus Markets: Please use route /pushNotifications/installations or /customers/{customerId}/pushNotifications/installations instead\n * @summary pushNotifications/registrations\n */\nexport var createPushNotificationsRegistration = function (client, globalNotificationsPushRegistrationDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/pushNotifications/registrations\",\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalNotificationsPushRegistrationDto,\n }, signal);\n};\n/**\n * Unregister device from application by registration ID\n \r\nDeprecated for Cumulus Markets\n * @summary pushNotifications/applications/{applicationKey}/registrationId/{registrationId}\n */\nexport var deletePushNotificationsApplicationRegistrationId = function (client, applicationKey, registrationId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/pushNotifications/applications/\".concat(applicationKey, \"/registrationId/\").concat(registrationId),\n method: 'delete',\n headers: headers,\n }, signal);\n};\n/**\n * Unregister device from application by device token\n \r\nDeprecated for Cumulus Markets\n * @summary pushNotifications/applications/{applicationKey}/deviceToken/{deviceToken}\n */\nexport var deletePushNotificationsApplicationDeviceToken = function (client, applicationKey, deviceToken, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/pushNotifications/applications/\".concat(applicationKey, \"/deviceToken/\").concat(deviceToken),\n method: 'delete',\n headers: headers,\n }, signal);\n};\n/**\n * GET: Localization for RealTime Order Tracking application\n * @summary applications/realTimeOrderTracking/localization\n */\nexport var getApplicationsRealTimeOrderTrackingLocalization = function (client, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/applications/realTimeOrderTracking/localization\", method: 'get', headers: headers }, signal);\n};\n/**\n * Get stored payment cards\n * @summary customers/{customerId}/recurringPaymentCards\n */\nexport var getCustomerRecurringPaymentCards = function (client, customerId, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/recurringPaymentCards\"), method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * Delete stored payment card\n * @summary customers/{customerId}/recurringPaymentCards/{recurringPaymentCardId}\n */\nexport var deleteCustomerRecurringPaymentCard = function (client, customerId, recurringPaymentCardId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/recurringPaymentCards/\").concat(recurringPaymentCardId),\n method: 'delete',\n headers: headers,\n }, signal);\n};\n/**\n * GET: Gets metadata information for recurring payment card endpoints of the customer with given customer id\n * @summary customers/{customerId}/recurringPaymentCardsMetadata\n */\nexport var getCustomerRecurringPaymentCardsMetadata = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/recurringPaymentCardsMetadata\"), method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Provide assigned referral\n * @summary shoppingSessions/{sessionId}/referral\n */\nexport var getShoppingSessionReferral = function (client, sessionId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/shoppingSessions/\".concat(sessionId, \"/referral\"), method: 'get', headers: headers }, signal);\n};\n/**\n * POST: Assign referral invitation\n * @summary shoppingSessions/{sessionId}/referral\n */\nexport var createShoppingSessionReferral = function (client, sessionId, globalShoppingReferralDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/shoppingSessions/\".concat(sessionId, \"/referral\"),\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalShoppingReferralDto,\n }, signal);\n};\n/**\n * POST: Performs consultant registration done by sponsor, SPO or customer service\n * @summary customers/{customerId}/consultants\n */\nexport var createCustomerConsultant = function (client, customerId, globalCustomersConsultantRegistrationDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/consultants\"),\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalCustomersConsultantRegistrationDto,\n }, signal);\n};\n/**\n * POST: Performs self registration for consultant\n * @summary consultants\n */\nexport var createConsultant = function (client, globalCustomersSelfRegistrationDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/consultants\",\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalCustomersSelfRegistrationDto,\n }, signal);\n};\n/**\n * Return metadata for registration done by sponsor\n * @summary customers/{customerId}/consultantsMetadata\n */\nexport var getCustomerConsultantsMetadata = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/consultantsMetadata\"), method: 'get', headers: headers }, signal);\n};\n/**\n * Return metadata for registration done by sponsor\n * @summary consultantsMetadata\n */\nexport var getConsultantsMetadata = function (client, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/consultantsMetadata\", method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Returns customer's registration info\n * @summary customers/{customerId}/registrationInfo\n */\nexport var getCustomerRegistrationInfo = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/registrationInfo\"), method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Returns information about registration order for given customer\n * @summary customers/{customerId}/registrationOrder\n */\nexport var getCustomerRegistrationOrder = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/registrationOrder\"), method: 'get', headers: headers }, signal);\n};\n/**\n * POST: Creates order returns its ID\n * @summary customers/{customerId}/registrationOrder\n */\nexport var createCustomerRegistrationOrder = function (client, customerId, globalCustomersRegistrationOrderDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/registrationOrder\"),\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalCustomersRegistrationOrderDto,\n }, signal);\n};\n/**\n * GET: Returns information about registration with given ID\n * @summary customerRegistrations/{registrationId}\n */\nexport var getCustomerRegistration = function (client, registrationId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customerRegistrations/\".concat(registrationId), method: 'get', headers: headers }, signal);\n};\n/**\n * PUT: Updates a registration\n * @summary customerRegistrations/{registrationId}\n */\nexport var updateCustomerRegistration = function (client, registrationId, globalCustomerRegistrationsRegistrationDtoBody, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customerRegistrations/\".concat(registrationId),\n method: 'put',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalCustomerRegistrationsRegistrationDtoBody,\n }, signal);\n};\n/**\n * GET: Returns information about registration with given customer ID\n * @summary customerRegistrations/customers/{customerId}\n */\nexport var getCustomerRegistrationsCustomer = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customerRegistrations/customers/\".concat(customerId), method: 'get', headers: headers }, signal);\n};\n/**\n * POST: Creates a registration and returns its ID\n * @summary customerRegistrations\n */\nexport var createCustomerRegistration = function (client, globalCustomerRegistrationsRegistrationDtoBody, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customerRegistrations\",\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalCustomerRegistrationsRegistrationDtoBody,\n }, signal);\n};\n/**\n * GET - Provides related product codes and relation types.\n * @summary products/{productCode}/relations\n */\nexport var getProductRelations = function (client, productCode, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/products/\".concat(productCode, \"/relations\"), method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * Installs all SQL scripts for tenant environment. Old scripts are replaced.\n * @summary reporting/reports/install\n */\nexport var createReportingReportsInstall = function (client, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/reporting/reports/install\", method: 'post', headers: headers }, signal);\n};\n/**\n * Returns terms info and html content\n * @summary requiredTerms\n */\nexport var getRequiredTerms = function (client, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/requiredTerms\", method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * POST: Creates new revolut account bound to provided IBAN\n * @summary revolutProfiles\n */\nexport var createRevolutProfile = function (client, globalFinanceRevolutProfileDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/revolutProfiles\",\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalFinanceRevolutProfileDto,\n }, signal);\n};\n/**\n * GET: Get shopping bag sales\n * @summary shoppingSessions/{sessionId}/sales\n */\nexport var getShoppingSessionSales = function (client, sessionId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/shoppingSessions/\".concat(sessionId, \"/sales\"), method: 'get', headers: headers }, signal);\n};\n/**\n * @summary salesmanagoClientData\n */\nexport var getSalesmanagoClientData = function (client, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/salesmanagoClientData\", method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Get evaluated section items\n * @summary shoppingSessions/{sessionId}/sections/{sectionId}/sectionItems\n */\nexport var getShoppingSessionSectionSectionItems = function (client, sessionId, sectionId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/shoppingSessions/\".concat(sessionId, \"/sections/\").concat(sectionId, \"/sectionItems\"),\n method: 'get',\n headers: headers,\n }, signal);\n};\n/**\n * GET: Get list of shopping sections evaluated for current shopping bag\n * @summary shoppingSessions/{sessionId}/sections\n */\nexport var getShoppingSessionSections = function (client, sessionId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/shoppingSessions/\".concat(sessionId, \"/sections\"), method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Provide suggested product codes (max. 10 results is provided)\n * @summary shoppingSessions/{sessionId}/sectionSuggestions\n */\nexport var getShoppingSessionSectionSuggestions = function (client, sessionId, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/shoppingSessions/\".concat(sessionId, \"/sectionSuggestions\"), method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * GET: Get product wish-list of the section\n * @summary shoppingSessions/{sessionId}/sections/{sectionId}/wishlist\n */\nexport var getShoppingSessionSectionWishlistItems = function (client, sessionId, sectionId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/shoppingSessions/\".concat(sessionId, \"/sections/\").concat(sectionId, \"/wishlist\"),\n method: 'get',\n headers: headers,\n }, signal);\n};\n/**\n * DELETE: Remove all products from section wish-list\n * @summary shoppingSessions/{sessionId}/sections/{sectionId}/wishlist\n */\nexport var deleteShoppingSessionSectionWishlistItems = function (client, sessionId, sectionId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/shoppingSessions/\".concat(sessionId, \"/sections/\").concat(sectionId, \"/wishlist\"),\n method: 'delete',\n headers: headers,\n }, signal);\n};\n/**\n * POST: Add product to section wish-list\n * @summary shoppingSessions/{sessionId}/sections/{sectionId}/wishlist\n */\nexport var createShoppingSessionSectionWishlist = function (client, sessionId, sectionId, globalShoppingSectionWishlistItemDtoBody, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/shoppingSessions/\".concat(sessionId, \"/sections/\").concat(sectionId, \"/wishlist\"),\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalShoppingSectionWishlistItemDtoBody,\n }, signal);\n};\n/**\n * GET: Get wish-list item by product code\n * @summary shoppingSessions/{sessionId}/sections/{sectionId}/wishlist/{itemCode}\n */\nexport var getShoppingSessionSectionWishlist = function (client, sessionId, sectionId, itemCode, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/shoppingSessions/\".concat(sessionId, \"/sections/\").concat(sectionId, \"/wishlist/\").concat(itemCode),\n method: 'get',\n headers: headers,\n }, signal);\n};\n/**\n * PUT: Update product quantity in section wish-list\n * @summary shoppingSessions/{sessionId}/sections/{sectionId}/wishlist/{itemCode}\n */\nexport var updateShoppingSessionSectionWishlist = function (client, sessionId, sectionId, itemCode, globalShoppingSectionWishlistItemDtoBody, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/shoppingSessions/\".concat(sessionId, \"/sections/\").concat(sectionId, \"/wishlist/\").concat(itemCode),\n method: 'put',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalShoppingSectionWishlistItemDtoBody,\n }, signal);\n};\n/**\n * DELETE: Remove product from section wish-list\n * @summary shoppingSessions/{sessionId}/sections/{sectionId}/wishlist/{itemCode}\n */\nexport var deleteShoppingSessionSectionWishlist = function (client, sessionId, sectionId, itemCode, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/shoppingSessions/\".concat(sessionId, \"/sections/\").concat(sectionId, \"/wishlist/\").concat(itemCode),\n method: 'delete',\n headers: headers,\n }, signal);\n};\n/**\n * Get Network Communications configurations\n * @summary applications/networkCommunication/configuration\n */\nexport var getApplicationsNetworkCommunicationConfiguration = function (client, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/applications/networkCommunication/configuration\", method: 'get', headers: headers }, signal);\n};\n/**\n * Get Network Communications localization\n * @summary applications/networkCommunication/localization\n */\nexport var getApplicationsNetworkCommunicationLocalization = function (client, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/applications/networkCommunication/localization\", method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Get selected free shipping product\n * @summary shoppingSessions/{sessionId}/shippingJokerChoice\n */\nexport var getShoppingSessionShippingJokerChoice = function (client, sessionId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/shoppingSessions/\".concat(sessionId, \"/shippingJokerChoice\"), method: 'get', headers: headers }, signal);\n};\n/**\n * DELETE: Reset free shipping selection\n * @summary shoppingSessions/{sessionId}/shippingJokerChoice\n */\nexport var deleteShoppingSessionShippingJokerChoice = function (client, sessionId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/shoppingSessions/\".concat(sessionId, \"/shippingJokerChoice\"), method: 'delete', headers: headers }, signal);\n};\n/**\n * POST: Apply free shipping product\n * @summary shoppingSessions/{sessionId}/shippingJokerChoice\n */\nexport var createShoppingSessionShippingJokerChoice = function (client, sessionId, globalShoppingShippingChoiceDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/shoppingSessions/\".concat(sessionId, \"/shippingJokerChoice\"),\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalShoppingShippingChoiceDto,\n }, signal);\n};\n/**\n * GET: Get selected free shipping products\n * @summary shoppingSessions/{sessionId}/shippingJokerChoices\n */\nexport var getShoppingSessionShippingJokerChoices = function (client, sessionId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/shoppingSessions/\".concat(sessionId, \"/shippingJokerChoices\"), method: 'get', headers: headers }, signal);\n};\n/**\n * DELETE: Reset free shipping selection\n * @summary shoppingSessions/{sessionId}/shippingJokerChoices\n */\nexport var deleteShoppingSessionShippingJokerChoices = function (client, sessionId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/shoppingSessions/\".concat(sessionId, \"/shippingJokerChoices\"), method: 'delete', headers: headers }, signal);\n};\n/**\n * PUT: Apply free shipping products\n * @summary shoppingSessions/{sessionId}/shippingJokerChoices\n */\nexport var updateShoppingSessionShippingJokerChoices = function (client, sessionId, globalShoppingShippingChoicesDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/shoppingSessions/\".concat(sessionId, \"/shippingJokerChoices\"),\n method: 'put',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalShoppingShippingChoicesDto,\n }, signal);\n};\n/**\n * GET: Provides free shipping offers for selected or alternative delivery channel\n * @summary shoppingSessions/{sessionId}/shippingJokers\n */\nexport var getShoppingSessionShippingJokers = function (client, sessionId, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/shoppingSessions/\".concat(sessionId, \"/shippingJokers\"), method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * POST: Saves the shopping bag.\n * @summary shoppingSessions/{sessionId}/shoppingBag\n */\nexport var createShoppingSessionShoppingBag = function (client, sessionId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/shoppingSessions/\".concat(sessionId, \"/shoppingBag\"), method: 'post', headers: headers }, signal);\n};\n/**\n * DELETE: Clears a shopping bag (added products, selected offers and all other user inputs).\n * @summary shoppingSessions/{sessionId}/shoppingBag\n */\nexport var deleteShoppingSessionShoppingBag = function (client, sessionId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/shoppingSessions/\".concat(sessionId, \"/shoppingBag\"), method: 'delete', headers: headers }, signal);\n};\n/**\n * GET: Get list of aggregated shopping bag items.\n * @summary shoppingSessions/{sessionId}/shoppingBag/aggregatedItems\n */\nexport var getShoppingSessionShoppingBagAggregatedItems = function (client, sessionId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/shoppingSessions/\".concat(sessionId, \"/shoppingBag/aggregatedItems\"), method: 'get', headers: headers }, signal);\n};\n/**\n * PUT: Update quantity of a shopping bag item.\n * @summary shoppingSessions/{sessionId}/shoppingBag/bagItems/{bagItemId}\n */\nexport var updateShoppingSessionShoppingBagBagItem = function (client, sessionId, bagItemId, globalShoppingShoppingBagItemDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/shoppingSessions/\".concat(sessionId, \"/shoppingBag/bagItems/\").concat(bagItemId),\n method: 'put',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalShoppingShoppingBagItemDto,\n }, signal);\n};\n/**\n * DELETE: Remove a shopping bag item.\n * @summary shoppingSessions/{sessionId}/shoppingBag/bagItems/{bagItemId}\n */\nexport var deleteShoppingSessionShoppingBagBagItem = function (client, sessionId, bagItemId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/shoppingSessions/\".concat(sessionId, \"/shoppingBag/bagItems/\").concat(bagItemId),\n method: 'delete',\n headers: headers,\n }, signal);\n};\n/**\n * GET: Provide status of back-order demand.\n * @summary shoppingSessions/{sessionId}/shoppingBag/bagItems/{bagItemId}/backorder\n */\nexport var getShoppingSessionShoppingBagBagItemBackorder = function (client, sessionId, bagItemId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/shoppingSessions/\".concat(sessionId, \"/shoppingBag/bagItems/\").concat(bagItemId, \"/backorder\"),\n method: 'get',\n headers: headers,\n }, signal);\n};\n/**\n * POST: Request to be out-of-stock product back-ordered.\n * @summary shoppingSessions/{sessionId}/shoppingBag/bagItems/{bagItemId}/backorder\n */\nexport var createShoppingSessionShoppingBagBagItemBackorder = function (client, sessionId, bagItemId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/shoppingSessions/\".concat(sessionId, \"/shoppingBag/bagItems/\").concat(bagItemId, \"/backorder\"),\n method: 'post',\n headers: headers,\n }, signal);\n};\n/**\n * DELETE: Recall back-order demand.\n * @summary shoppingSessions/{sessionId}/shoppingBag/bagItems/{bagItemId}/backorder\n */\nexport var deleteShoppingSessionShoppingBagBagItemBackorder = function (client, sessionId, bagItemId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/shoppingSessions/\".concat(sessionId, \"/shoppingBag/bagItems/\").concat(bagItemId, \"/backorder\"),\n method: 'delete',\n headers: headers,\n }, signal);\n};\n/**\n * GET: Provide pending (not available) back-orders.\n * @summary shoppingSessions/{sessionId}/pendingBackorders\n */\nexport var getShoppingSessionPendingBackorders = function (client, sessionId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/shoppingSessions/\".concat(sessionId, \"/pendingBackorders\"), method: 'get', headers: headers }, signal);\n};\n/**\n * POST: Adds a new item to the shopping bag.\n * @summary shoppingSessions/{sessionId}/shoppingBag/bagItems\n */\nexport var createShoppingSessionShoppingBagBagItem = function (client, sessionId, globalShoppingShoppingBagItemDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/shoppingSessions/\".concat(sessionId, \"/shoppingBag/bagItems\"),\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalShoppingShoppingBagItemDto,\n }, signal);\n};\n/**\n * PUT: Update shopping bag items (remove all current items and add specified items)\n * @summary shoppingSessions/{sessionId}/shoppingBag/bagItems\n */\nexport var updateShoppingSessionShoppingBagBagItems = function (client, sessionId, globalShoppingShoppingBagItemDtoArrayBody, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/shoppingSessions/\".concat(sessionId, \"/shoppingBag/bagItems\"),\n method: 'put',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalShoppingShoppingBagItemDtoArrayBody,\n }, signal);\n};\n/**\n * PUT: Update shopping bag items (remove all current items and add specified items)\nReturns object with current shopping bag items and summary\n * @summary applications/wechatpbs/shoppingSessions/{sessionId}/shoppingBag/bagItems\n */\nexport var updateApplicationsWechatpbsShoppingSessionShoppingBagBagItems = function (client, sessionId, globalShoppingShoppingBagItemDtoArrayBody, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/applications/wechatpbs/shoppingSessions/\".concat(sessionId, \"/shoppingBag/bagItems\"),\n method: 'put',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalShoppingShoppingBagItemDtoArrayBody,\n }, signal);\n};\n/**\n * GET: Provides campaign points balance\n * @summary shoppingSessions/{sessionId}/campaigns/{campaignId}/points\n */\nexport var getShoppingSessionCampaignPoints = function (client, sessionId, campaignId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/shoppingSessions/\".concat(sessionId, \"/campaigns/\").concat(campaignId, \"/points\"),\n method: 'get',\n headers: headers,\n }, signal);\n};\n/**\n * GET: Get approved end-consumer orders\n * @summary shoppingSessions/{sessionId}/endConsumerOrders\n */\nexport var getShoppingSessionEndConsumerOrders = function (client, sessionId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/shoppingSessions/\".concat(sessionId, \"/endConsumerOrders\"), method: 'get', headers: headers }, signal);\n};\n/**\n * DELETE: Unapproved end-consumer order to prevent dropping to consultant's basket\n * @summary shoppingSessions/{sessionId}/endConsumerOrders/{endConsumerOrderId}\n */\nexport var deleteShoppingSessionEndConsumerOrder = function (client, sessionId, endConsumerOrderId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/shoppingSessions/\".concat(sessionId, \"/endConsumerOrders/\").concat(endConsumerOrderId),\n method: 'delete',\n headers: headers,\n }, signal);\n};\n/**\n * GET: Get items of end-consumer order\n * @summary shoppingSessions/{sessionId}/endConsumerOrders/{endConsumerOrderId}/items\n */\nexport var getShoppingSessionEndConsumerOrderItems = function (client, sessionId, endConsumerOrderId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/shoppingSessions/\".concat(sessionId, \"/endConsumerOrders/\").concat(endConsumerOrderId, \"/items\"),\n method: 'get',\n headers: headers,\n }, signal);\n};\n/**\n * PUT: Modify number of purchased products in the end-consumer's order\n * @summary shoppingSessions/{sessionId}/endConsumerOrders/{endConsumerOrderId}/items/{itemCode}\n */\nexport var updateShoppingSessionEndConsumerOrderItem = function (client, sessionId, endConsumerOrderId, itemCode, globalShoppingEndConsumerOrderItemDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/shoppingSessions/\".concat(sessionId, \"/endConsumerOrders/\").concat(endConsumerOrderId, \"/items/\").concat(itemCode),\n method: 'put',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalShoppingEndConsumerOrderItemDto,\n }, signal);\n};\n/**\n * DELETE: Delete product from end-consumer's order\n * @summary shoppingSessions/{sessionId}/endConsumerOrders/{endConsumerOrderId}/items/{itemCode}\n */\nexport var deleteShoppingSessionEndConsumerOrderItem = function (client, sessionId, endConsumerOrderId, itemCode, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/shoppingSessions/\".concat(sessionId, \"/endConsumerOrders/\").concat(endConsumerOrderId, \"/items/\").concat(itemCode),\n method: 'delete',\n headers: headers,\n }, signal);\n};\n/**\n * GET: Get list of shopping messages evaluated for current shopping bag\n * @summary shoppingSessions/{sessionId}/messages\n */\nexport var getShoppingSessionMessages = function (client, sessionId, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/shoppingSessions/\".concat(sessionId, \"/messages\"), method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * POST: Starts new shopping session. Session expires after defined time of inactivity.\n * @summary shoppingSessions\n */\nexport var createShoppingSession = function (client, globalShoppingShoppingDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/shoppingSessions\",\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalShoppingShoppingDto,\n }, signal);\n};\n/**\n * GET: Gets shopping session data. Also refreshes the session, so it will not expire.\n * @summary shoppingSessions/{sessionId}\n */\nexport var getShoppingSession = function (client, sessionId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/shoppingSessions/\".concat(sessionId), method: 'get', headers: headers }, signal);\n};\n/**\n * DELETE: Delete shopping session from Redis.\n * @summary shoppingSessions/{sessionId}\n */\nexport var deleteShoppingSession = function (client, sessionId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/shoppingSessions/\".concat(sessionId), method: 'delete', headers: headers }, signal);\n};\n/**\n * Creates the visit to social media entity.\n * @summary applications/socialMediaLibrary/customers/{customerId}/socialEntities/{entityId}/visit\n */\nexport var createApplicationsSocialMediaLibraryCustomerSocialEntityVisit = function (client, customerId, entityId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/applications/socialMediaLibrary/customers/\".concat(customerId, \"/socialEntities/\").concat(entityId, \"/visit\"),\n method: 'post',\n headers: headers,\n }, signal);\n};\n/**\n * Creates like of social media entity.\n * @summary applications/socialMediaLibrary/customers/{customerId}/socialEntities/{entityId}/like\n */\nexport var createApplicationsSocialMediaLibraryCustomerSocialEntityLike = function (client, customerId, entityId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/applications/socialMediaLibrary/customers/\".concat(customerId, \"/socialEntities/\").concat(entityId, \"/like\"),\n method: 'post',\n headers: headers,\n }, signal);\n};\n/**\n * Delete like of social media entity.\n * @summary applications/socialMediaLibrary/customers/{customerId}/socialEntities/{entityId}/like\n */\nexport var deleteApplicationsSocialMediaLibraryCustomerSocialEntityLike = function (client, customerId, entityId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/applications/socialMediaLibrary/customers/\".concat(customerId, \"/socialEntities/\").concat(entityId, \"/like\"),\n method: 'delete',\n headers: headers,\n }, signal);\n};\n/**\n * Gets all liked social entities of specified customer.\n * @summary applications/socialMediaLibrary/customers/{customerId}/SocialEntityLikes\n */\nexport var getApplicationsSocialMediaLibraryCustomerSocialEntityLikes = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/applications/socialMediaLibrary/customers/\".concat(customerId, \"/SocialEntityLikes\"),\n method: 'get',\n headers: headers,\n }, signal);\n};\n/**\n * Gets the social entities statistics.\n * @summary applications/socialMediaLibrary/stats\n */\nexport var getApplicationsSocialMediaLibraryStats = function (client, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/applications/socialMediaLibrary/stats\", method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * GET: Get special offer evaluated by for current shopping bag\n * @summary shoppingSessions/{sessionId}/specialOffers/{offerId}\n */\nexport var getShoppingSessionSpecialOffer = function (client, sessionId, offerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/shoppingSessions/\".concat(sessionId, \"/specialOffers/\").concat(offerId), method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Get offer choice preferences selected by customer\n * @summary shoppingSessions/{sessionId}/specialOffers/{offerId}/choice\n */\nexport var getShoppingSessionSpecialOfferChoice = function (client, sessionId, offerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/shoppingSessions/\".concat(sessionId, \"/specialOffers/\").concat(offerId, \"/choice\"),\n method: 'get',\n headers: headers,\n }, signal);\n};\n/**\n * PUT: Select offer, backorder or replacement\n * @summary shoppingSessions/{sessionId}/specialOffers/{offerId}/choice\n */\nexport var updateShoppingSessionSpecialOfferChoice = function (client, sessionId, offerId, globalShoppingSpecialOfferChoiceDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/shoppingSessions/\".concat(sessionId, \"/specialOffers/\").concat(offerId, \"/choice\"),\n method: 'put',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalShoppingSpecialOfferChoiceDto,\n }, signal);\n};\n/**\n * DELETE: Reset offer choice selection\n * @summary shoppingSessions/{sessionId}/specialOffers/{offerId}/choice\n */\nexport var deleteShoppingSessionSpecialOfferChoice = function (client, sessionId, offerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/shoppingSessions/\".concat(sessionId, \"/specialOffers/\").concat(offerId, \"/choice\"),\n method: 'delete',\n headers: headers,\n }, signal);\n};\n/**\n * GET: Get alternative products for a special offer\n * @summary shoppingSessions/{sessionId}/specialOffers/{offerId}/replacements\n */\nexport var getShoppingSessionSpecialOfferReplacements = function (client, sessionId, offerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/shoppingSessions/\".concat(sessionId, \"/specialOffers/\").concat(offerId, \"/replacements\"),\n method: 'get',\n headers: headers,\n }, signal);\n};\n/**\n * GET: Get list of special offers evaluated for current shopping bag\n * @summary shoppingSessions/{sessionId}/specialOffers\n */\nexport var getShoppingSessionSpecialOffers = function (client, sessionId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/shoppingSessions/\".concat(sessionId, \"/specialOffers\"), method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Get offer voucher data and voucher items selected by customer\n * @summary shoppingSessions/{sessionId}/specialOffers/{offerId}/voucher\n */\nexport var getShoppingSessionSpecialOfferVoucher = function (client, sessionId, offerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/shoppingSessions/\".concat(sessionId, \"/specialOffers/\").concat(offerId, \"/voucher\"),\n method: 'get',\n headers: headers,\n }, signal);\n};\n/**\n * POST: Add offer voucher choice selected by customer\n * @summary shoppingSessions/{sessionId}/specialOffers/{offerId}/voucher/choices\n */\nexport var createShoppingSessionSpecialOfferVoucherChoice = function (client, sessionId, offerId, globalShoppingSpecialOfferVoucherChoiceDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/shoppingSessions/\".concat(sessionId, \"/specialOffers/\").concat(offerId, \"/voucher/choices\"),\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalShoppingSpecialOfferVoucherChoiceDto,\n }, signal);\n};\n/**\n * DELETE: Remove offer voucher choice selected by customer\n * @summary shoppingSessions/{sessionId}/specialOffers/{offerId}/voucher/choices/{choiceId}\n */\nexport var deleteShoppingSessionSpecialOfferVoucherChoice = function (client, sessionId, offerId, choiceId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/shoppingSessions/\".concat(sessionId, \"/specialOffers/\").concat(offerId, \"/voucher/choices/\").concat(choiceId),\n method: 'delete',\n headers: headers,\n }, signal);\n};\n/**\n * GET: Returns sponsor information of registration with given ID\n * @summary customerRegistrations/{registrationId}/sponsorDetails\n */\nexport var getCustomerRegistrationSponsorDetails = function (client, registrationId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customerRegistrations/\".concat(registrationId, \"/sponsorDetails\"), method: 'get', headers: headers }, signal);\n};\n/**\n * PUT: Modifies sponsor information of registration with given ID\n * @summary customerRegistrations/{registrationId}/sponsorDetails\n */\nexport var updateCustomerRegistrationSponsorDetails = function (client, registrationId, globalCustomerRegistrationsRegistrationSponsorDetailsDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customerRegistrations/\".concat(registrationId, \"/sponsorDetails\"),\n method: 'put',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalCustomerRegistrationsRegistrationSponsorDetailsDto,\n }, signal);\n};\n/**\n * GET: Returns information about the sponsor selected in the simplified registration process\n * @summary customerRegistrations/{registrationId}/sponsorDetails/sponsorInfo\n */\nexport var getCustomerRegistrationSponsorDetailsSponsorInfo = function (client, registrationId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customerRegistrations/\".concat(registrationId, \"/sponsorDetails/sponsorInfo\"),\n method: 'get',\n headers: headers,\n }, signal);\n};\n/**\n * GET: Returns profile image of selected sponsor\n * @summary customerRegistrations/{registrationId}/sponsorDetails/profileImage\n */\nexport var getCustomerRegistrationSponsorDetailsProfileImage = function (client, registrationId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customerRegistrations/\".concat(registrationId, \"/sponsorDetails/profileImage\"),\n method: 'get',\n headers: headers,\n }, signal);\n};\n/**\n * GET: Returns information about all sponsors for customer\n * @summary customers/{customerId}/sponsors\n */\nexport var getCustomerSponsors = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/sponsors\"), method: 'get', headers: headers }, signal);\n};\n/**\n * Provides steps to success tasks of specific customer\n * @summary customers/{customerId}/stepsToSuccess\n */\nexport var getCustomerStepsToSuccessTasks = function (client, customerId, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/stepsToSuccess\"), method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * Provides steps to success tasks phases of specific customer\n * @summary customers/{customerId}/stepsToSuccessPhases\n */\nexport var getCustomerStepsToSuccessTasksPhases = function (client, customerId, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/stepsToSuccessPhases\"), method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * Gets specific steps to success task of specific customer by id\n * @summary customers/{customerId}/stepsToSuccess/{taskId}\n */\nexport var getCustomerStepsToSuccessTask = function (client, customerId, taskId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/stepsToSuccess/\").concat(taskId), method: 'get', headers: headers }, signal);\n};\n/**\n * Completes task for specific customer\n * @summary customers/{customerId}/stepsToSuccess/{taskId}/complete\n */\nexport var createCustomerStepsToSuccessComplete = function (client, customerId, taskId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/stepsToSuccess/\").concat(taskId, \"/complete\"), method: 'post', headers: headers }, signal);\n};\n/**\n * Get subscription configuration\n * @summary customers/{customerId}/subscriptionConfiguration\n */\nexport var getCustomerSubscriptionConfiguration = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/subscriptionConfiguration\"), method: 'get', headers: headers }, signal);\n};\n/**\n * Get subscription availability per specified product/item\n * @summary customers/{customerId}/subscriptionAvailabilities\n */\nexport var getCustomerSubscriptionAvailabilities = function (client, customerId, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/subscriptionAvailabilities\"), method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * Get subscription types.\nOptionally filtered by product contained in subscription.\n * @summary customers/{customerId}/subscriptionTypes\n */\nexport var getCustomerSubscriptionTypes = function (client, customerId, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/subscriptionTypes\"), method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * Post subscription instruction.\nDepends on instruction status (Pending/Finished) provides only validation or also creates new subscription if Finished\n * @summary customers/{customerId}/subscriptionInstructions\n */\nexport var createCustomerSubscriptionInstruction = function (client, customerId, globalCustomersSubscriptionInstructionDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/subscriptionInstructions\"),\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalCustomersSubscriptionInstructionDto,\n }, signal);\n};\n/**\n * Get subscriptions for specified period.\n * @summary customers/{customerId}/subscriptions\n */\nexport var getCustomerSubscriptions = function (client, customerId, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/subscriptions\"), method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * Cancels an active subscription.\n * @summary customers/{customerId}/subscriptions/{subscriptionId}\n */\nexport var deleteCustomerSubscription = function (client, customerId, subscriptionId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/subscriptions/\").concat(subscriptionId), method: 'delete', headers: headers }, signal);\n};\n/**\n * Updates a subscription.\nCurrently the only legal modification is changing the status from 'Canceled' to 'Reactivated'.\nNo other modifications are supported at this time.\n * @summary customers/{customerId}/subscriptions/{subscriptionId}\n */\nexport var updateCustomerSubscription = function (client, customerId, subscriptionId, globalCustomersSubscriptionDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/subscriptions/\").concat(subscriptionId),\n method: 'put',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalCustomersSubscriptionDto,\n }, signal);\n};\n/**\n * Put subscription item. Currently the only supported change is replacing a subscribed product\nby a similar one using the ItemCode property, all other changes will be ignored.\n * @summary customers/{customerId}/subscriptions/{subscriptionId}/subscriptionItems/{subscriptionItemId}\n */\nexport var updateCustomerSubscriptionSubscriptionItem = function (client, customerId, subscriptionId, subscriptionItemId, globalCustomersSubscriptionItemDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/subscriptions/\").concat(subscriptionId, \"/subscriptionItems/\").concat(subscriptionItemId),\n method: 'put',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalCustomersSubscriptionItemDto,\n }, signal);\n};\n/**\n * Get all dropped subscriptions\n * @summary shoppingSessions/{sessionId}/subscriptions\n */\nexport var getShoppingSessionSubscriptions = function (client, sessionId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/shoppingSessions/\".concat(sessionId, \"/subscriptions\"), method: 'get', headers: headers }, signal);\n};\n/**\n * Get subscription by id\n * @summary shoppingSessions/{sessionId}/subscriptions/{subscriptionId}\n */\nexport var getShoppingSessionSubscription = function (client, sessionId, subscriptionId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/shoppingSessions/\".concat(sessionId, \"/subscriptions/\").concat(subscriptionId),\n method: 'get',\n headers: headers,\n }, signal);\n};\n/**\n * Cancel (delete) subscription\n * @summary shoppingSessions/{sessionId}/subscriptions/{subscriptionId}\n */\nexport var deleteShoppingSessionSubscription = function (client, sessionId, subscriptionId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/shoppingSessions/\".concat(sessionId, \"/subscriptions/\").concat(subscriptionId),\n method: 'delete',\n headers: headers,\n }, signal);\n};\n/**\n * Get steps of the subscription dropped to the orders\n * @summary shoppingSessions/{sessionId}/subscriptions/{subscriptionId}/steps\n */\nexport var getShoppingSessionSubscriptionSteps = function (client, sessionId, subscriptionId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/shoppingSessions/\".concat(sessionId, \"/subscriptions/\").concat(subscriptionId, \"/steps\"),\n method: 'get',\n headers: headers,\n }, signal);\n};\n/**\n * Get subscription step by the step number\n * @summary shoppingSessions/{sessionId}/subscriptions/{subscriptionId}/steps/{stepNumber}\n */\nexport var getShoppingSessionSubscriptionStep = function (client, sessionId, subscriptionId, stepNumber, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/shoppingSessions/\".concat(sessionId, \"/subscriptions/\").concat(subscriptionId, \"/steps/\").concat(stepNumber),\n method: 'get',\n headers: headers,\n }, signal);\n};\n/**\n * Postpone subscription to the next order\n * @summary shoppingSessions/{sessionId}/subscriptions/{subscriptionId}/steps/{stepNumber}\n */\nexport var deleteShoppingSessionSubscriptionStep = function (client, sessionId, subscriptionId, stepNumber, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/shoppingSessions/\".concat(sessionId, \"/subscriptions/\").concat(subscriptionId, \"/steps/\").concat(stepNumber),\n method: 'delete',\n headers: headers,\n }, signal);\n};\n/**\n * Postpone subscription to the next order based on cycle and step\n * @summary shoppingSessions/{sessionId}/subscriptions/{subscriptionId}/cycles/{cycleNumber}/steps/{stepNumber}\n */\nexport var deleteShoppingSessionSubscriptionCycleStep = function (client, sessionId, subscriptionId, cycleNumber, stepNumber, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/shoppingSessions/\".concat(sessionId, \"/subscriptions/\").concat(subscriptionId, \"/cycles/\").concat(cycleNumber, \"/steps/\").concat(stepNumber),\n method: 'delete',\n headers: headers,\n }, signal);\n};\n/**\n * GET: Localization for SubscriptionWizard application\n * @summary applications/subscriptionWizard/localization\n */\nexport var getApplicationsSubscriptionWizardLocalization = function (client, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/applications/subscriptionWizard/localization\", method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Get shopping bag amounts summary\n * @summary shoppingSessions/{sessionId}/summary\n */\nexport var getShoppingSessionSummary = function (client, sessionId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/shoppingSessions/\".concat(sessionId, \"/summary\"), method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Get accounts balance before and after shopping\n * @summary shoppingSessions/{sessionId}/summary/accounts\n */\nexport var getShoppingSessionSummaryAccounts = function (client, sessionId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/shoppingSessions/\".concat(sessionId, \"/summary/accounts\"), method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Get discounts applied to reduce price of the order\n * @summary shoppingSessions/{sessionId}/summary/discounts\n */\nexport var getShoppingSessionSummaryDiscounts = function (client, sessionId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/shoppingSessions/\".concat(sessionId, \"/summary/discounts\"), method: 'get', headers: headers }, signal);\n};\n/**\n * Gets the categories.\n * @summary applications/supportCenter/categories\n */\nexport var getApplicationsSupportCenterCategories = function (client, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/applications/supportCenter/categories\", method: 'get', headers: headers }, signal);\n};\n/**\n * Gets the category by its key.\n * @summary applications/supportCenter/categories/{categoryId}\n */\nexport var getApplicationsSupportCenterCategory = function (client, categoryId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/applications/supportCenter/categories/\".concat(categoryId), method: 'get', headers: headers }, signal);\n};\n/**\n * Gets the localization.\n * @deprecated\n * @summary applications/supportCenter/localization\n */\nexport var getApplicationsSupportCenterLocalizationDeprecated = function (client, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/applications/supportCenter/localization\", method: 'get', headers: headers }, signal);\n};\n/**\n * Gets all featured Faqs\n * @summary applications/supportCenter/featuredFaqs\n */\nexport var getApplicationsSupportCenterFeaturedFaqs = function (client, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/applications/supportCenter/featuredFaqs\", method: 'get', headers: headers }, signal);\n};\n/**\n * Gets search results\n * @summary applications/supportCenter/search\n */\nexport var getApplicationsSupportCenterSearch = function (client, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/applications/supportCenter/search\", method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * GET: Provides group tags along with belonging tags.\n * @summary products/tagGroups\n */\nexport var getProductsTagGroups = function (client, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/products/tagGroups\", method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Returns documents for tax document\n * @summary customers/{customerId}/taxDocument\n */\nexport var getCustomerTaxDocument = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/taxDocument\"), method: 'get', headers: headers }, signal);\n};\n/**\n * PUT: Change documents for tax document (temporary document are submitted and will no longer be deleted)\n * @summary customers/{customerId}/taxDocument\n */\nexport var updateCustomerTaxDocument = function (client, customerId, globalCustomersTaxDocumentDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/taxDocument\"),\n method: 'put',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalCustomersTaxDocumentDto,\n }, signal);\n};\n/**\n * GET: Returns information about customer termination\n * @summary customers/{customerId}/terminationStatus\n */\nexport var getCustomerTerminationStatus = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/terminationStatus\"), method: 'get', headers: headers }, signal);\n};\n/**\n * PUT: Updates information about customer termination\n * @summary customers/{customerId}/terminationStatus\n */\nexport var updateCustomerTerminationStatus = function (client, customerId, globalCustomersTerminationStatusDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/terminationStatus\"),\n method: 'put',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalCustomersTerminationStatusDto,\n }, signal);\n};\n/**\n * Returns terms info and html content\n * @deprecated\n * @summary terms/{termId}/html\n */\nexport var getTermHtmlDeprecated = function (client, termId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/terms/\".concat(termId, \"/html\"), method: 'get', headers: headers }, signal);\n};\n/**\n * @summary test/ping\n */\nexport var getTestPing = function (client, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/test/ping\", method: 'get' }, signal);\n};\n/**\n * GET: Returns data for customer upgrade\n * @summary customers/{customerId}/upgradeRequest\n */\nexport var getCustomerUpgradeRequest = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/upgradeRequest\"), method: 'get', headers: headers }, signal);\n};\n/**\n * PUT: Upgrades VIP customer to consultant.\n * @summary customers/{customerId}/upgradeRequest\n */\nexport var updateCustomerUpgradeRequest = function (client, customerId, globalUpgradeRequestUpgradeRequestDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/upgradeRequest\"),\n method: 'put',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalUpgradeRequestUpgradeRequestDto,\n }, signal);\n};\n/**\n * GET: Returns metadata for customer upgrade process\n * @summary customers/{customerId}/upgradeRequestMetadata\n */\nexport var getCustomerUpgradeRequestMetadata = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/upgradeRequestMetadata\"), method: 'get', headers: headers }, signal);\n};\n/**\n * GET setting for specified customerId and specified business tool Id.\n * @summary businessTools/{businessToolId}/customerSettings/{customerId}\n */\nexport var getBusinessToolCustomerSetting = function (client, businessToolId, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/businessTools/\".concat(businessToolId, \"/customerSettings/\").concat(customerId),\n method: 'get',\n headers: headers,\n }, signal);\n};\n/**\n * DELETE setting for specified business tool / external tool.\n * @summary businessTools/{businessToolId}/customerSettings/{customerId}\n */\nexport var deleteBusinessToolCustomerSetting = function (client, businessToolId, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/businessTools/\".concat(businessToolId, \"/customerSettings/\").concat(customerId),\n method: 'delete',\n headers: headers,\n }, signal);\n};\n/**\n * PUT setting for specified customerId and specified business tool Id, allow to store information if tool is activated for customer.\n * @summary businessTools/{businessToolId}/customerSettings/{customerId}\n */\nexport var updateBusinessToolCustomerSetting = function (client, businessToolId, customerId, globalConsultantsBusinessToolActivationDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/businessTools/\".concat(businessToolId, \"/customerSettings/\").concat(customerId),\n method: 'put',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalConsultantsBusinessToolActivationDto,\n }, signal);\n};\n/**\n * GET settings\n * @summary settingsClients/{settingsClient}/settings/{settingId}/customers/{customerId}\n */\nexport var getSettingsClientSettingCustomer = function (client, settingsClient, settingId, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/settingsClients/\".concat(settingsClient, \"/settings/\").concat(settingId, \"/customers/\").concat(customerId),\n method: 'get',\n headers: headers,\n }, signal);\n};\n/**\n * PUT settings\n * @summary settingsClients/{settingsClient}/settings/{settingId}/customers/{customerId}\n */\nexport var updateSettingsClientSettingCustomer = function (client, settingsClient, settingId, customerId, globalConsultantsSettingDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/settingsClients/\".concat(settingsClient, \"/settings/\").concat(settingId, \"/customers/\").concat(customerId),\n method: 'put',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalConsultantsSettingDto,\n }, signal);\n};\n/**\n * DELETE settings\n * @summary settingsClients/{settingsClient}/settings/{settingId}/customers/{customerId}\n */\nexport var deleteSettingsClientSettingCustomer = function (client, settingsClient, settingId, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/settingsClients/\".concat(settingsClient, \"/settings/\").concat(settingId, \"/customers/\").concat(customerId),\n method: 'delete',\n headers: headers,\n }, signal);\n};\n/**\n * GET: Returns preferred type of document for VAT\n * @summary customers/{customerId}/vatDocumentType\n */\nexport var getCustomerVatDocumentType = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/vatDocumentType\"), method: 'get', headers: headers }, signal);\n};\n/**\n * PUT: Change preferred type of document for VAT\n * @summary customers/{customerId}/vatDocumentType\n */\nexport var updateCustomerVatDocumentType = function (client, customerId, globalCustomersCustomerSelectionDtoBody, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/vatDocumentType\"),\n method: 'put',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalCustomersCustomerSelectionDtoBody,\n }, signal);\n};\n/**\n * Get video shopping configuration\n * @summary applications/videoShopping/localization\n */\nexport var getApplicationsVideoShoppingLocalization = function (client, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/applications/videoShopping/localization\", method: 'get', headers: headers }, signal);\n};\n/**\n * Get video shopping configuration\n * @summary applications/videoShopping/configuration\n */\nexport var getApplicationsVideoShoppingConfiguration = function (client, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/applications/videoShopping/configuration\", method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Get video shopping shows for specified user.\n * @summary customers/{customerId}/videoShoppingShows\n */\nexport var getCustomerVideoShoppingShows = function (client, customerId, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/videoShoppingShows\"), method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * Invites the user to Live video shopping program.\n * @summary customers/{customerId}/videoShoppingInvitation\n */\nexport var createCustomerVideoShoppingInvitation = function (client, customerId, globalCustomersVideoShoppingUserInvitationDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/videoShoppingInvitation\"),\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalCustomersVideoShoppingUserInvitationDto,\n }, signal);\n};\n/**\n * GET - provides content of Vip Customer Banner dependent on whether the customer is Vip End Customer.\n * @summary customers/{customerId}/vipCustomerBanner\n */\nexport var getCustomerVipCustomerBanner = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/vipCustomerBanner\"), method: 'get', headers: headers }, signal);\n};\n/**\n * Get reward steps configuration for VIP customers.\n * @summary vipLoyaltyCampaignStepperConfiguration\n */\nexport var getVipLoyaltyCampaignStepperConfiguration = function (client, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/vipLoyaltyCampaignStepperConfiguration\", method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Localization for VipUpgrade application\n * @deprecated\n * @summary applications/vipUpgrade/localization\n */\nexport var getApplicationsVipUpgradeLocalizationDeprecated = function (client, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/applications/vipUpgrade/localization\", method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Get list of vouchers entered by customer\n * @summary shoppingSessions/{sessionId}/voucherCodes\n */\nexport var getShoppingSessionVoucherCodes = function (client, sessionId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/shoppingSessions/\".concat(sessionId, \"/voucherCodes\"), method: 'get', headers: headers }, signal);\n};\n/**\n * DELETE: Remove all vouchers entered by customer\n * @summary shoppingSessions/{sessionId}/voucherCodes\n */\nexport var deleteShoppingSessionVoucherCodes = function (client, sessionId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/shoppingSessions/\".concat(sessionId, \"/voucherCodes\"), method: 'delete', headers: headers }, signal);\n};\n/**\n * POST: Remove all vouchers entered by customer\n * @summary shoppingSessions/{sessionId}/voucherCodes\n */\nexport var createShoppingSessionVoucherCode = function (client, sessionId, globalShoppingVoucherCodeDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/shoppingSessions/\".concat(sessionId, \"/voucherCodes\"),\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalShoppingVoucherCodeDto,\n }, signal);\n};\n/**\n * GET: Get voucher entered by customer\n * @summary shoppingSessions/{sessionId}/voucherCodes/{voucherCode}\n */\nexport var getShoppingSessionVoucherCode = function (client, sessionId, voucherCode, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/shoppingSessions/\".concat(sessionId, \"/voucherCodes/\").concat(voucherCode), method: 'get', headers: headers }, signal);\n};\n/**\n * DELETE: Remove voucher entered by customer\n * @summary shoppingSessions/{sessionId}/voucherCodes/{voucherCode}\n */\nexport var deleteShoppingSessionVoucherCode = function (client, sessionId, voucherCode, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/shoppingSessions/\".concat(sessionId, \"/voucherCodes/\").concat(voucherCode),\n method: 'delete',\n headers: headers,\n }, signal);\n};\n/**\n * GET: Get list of active personal vouchers\n * @summary vouchers\n */\nexport var getVouchers = function (client, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/vouchers\", method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * GET: Get list of vouchers evaluated for current shopping bag\n * @summary shoppingSessions/{sessionId}/vouchers\n */\nexport var getShoppingSessionVouchers = function (client, sessionId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/shoppingSessions/\".concat(sessionId, \"/vouchers\"), method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Localization for Vouchers application\n * @summary applications/vouchers/localization\n */\nexport var getApplicationsVouchersLocalization = function (client, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/applications/vouchers/localization\", method: 'get', headers: headers }, signal);\n};\n/**\n * User update webook event from bambuser system.\n * @summary applications/videoShopping/accounts/{accountId}/userEvents\n */\nexport var createApplicationsVideoShoppingAccountUserEvent = function (client, accountId, globalApplicationsVideoShoppingUserEventDto, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/applications/videoShopping/accounts/\".concat(accountId, \"/userEvents\"),\n method: 'post',\n headers: { 'Content-Type': 'application/json' },\n data: globalApplicationsVideoShoppingUserEventDto,\n }, signal);\n};\n/**\n * Creates new WeChat external account\n * @summary login/providers/weChat/externalAccount\n */\nexport var createLoginProvidersWeChatExternalAccount = function (client, globalLoginWeChatAccountDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/login/providers/weChat/externalAccount\",\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalLoginWeChatAccountDto,\n }, signal);\n};\n/**\n * Provides collection of connected WeChat platform by unionId\n * @summary login/providers/weChat/externalAccount/{unionId}/platforms\n */\nexport var getLoginProvidersWeChatExternalAccountPlatforms = function (client, unionId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/login/providers/weChat/externalAccount/\".concat(unionId, \"/platforms\"), method: 'get', headers: headers }, signal);\n};\n/**\n * Add new platform to specific WeChat\n * @summary login/providers/weChat/externalAccount/{unionId}/platforms\n */\nexport var createLoginProvidersWeChatExternalAccountPlatform = function (client, unionId, globalLoginProvidersWeChatPlatformDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/login/providers/weChat/externalAccount/\".concat(unionId, \"/platforms\"),\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalLoginProvidersWeChatPlatformDto,\n }, signal);\n};\n/**\n * Get all wellness club managed by specified customer base on query parameter.\nIn case that isMember is False then wellness club where customerId is owner will be returned.\nOtherwise wellness club where customerId is member will be returned.\n * @summary customers/{customerId}/wellnessClubs\n */\nexport var getCustomerWellnessClubs = function (client, customerId, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/wellnessClubs\"), method: 'get', headers: headers, params: params }, signal);\n};\n/**\n * Create wellness club.\n * @summary customers/{customerId}/wellnessClubTypes/{clubType}/wellnessClubs\n */\nexport var createCustomerWellnessClubTypeWellnessClub = function (client, customerId, clubType, globalCustomersWellnessClubDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/wellnessClubTypes/\").concat(clubType, \"/wellnessClubs\"),\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalCustomersWellnessClubDto,\n }, signal);\n};\n/**\n * Get Wellness club base on type and club id.\n * @summary customers/{customerId}/wellnessClubTypes/{clubType}/wellnessClubs/{clubId}\n */\nexport var getCustomerWellnessClubTypeWellnessClub = function (client, customerId, clubType, clubId, params, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/wellnessClubTypes/\").concat(clubType, \"/wellnessClubs/\").concat(clubId),\n method: 'get',\n headers: headers,\n params: params,\n }, signal);\n};\n/**\n * Update specified Wellness club.\n * @summary customers/{customerId}/wellnessClubTypes/{clubType}/wellnessClubs/{clubId}\n */\nexport var updateCustomerWellnessClubTypeWellnessClub = function (client, customerId, clubType, clubId, globalCustomersWellnessClubDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/wellnessClubTypes/\").concat(clubType, \"/wellnessClubs/\").concat(clubId),\n method: 'put',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalCustomersWellnessClubDto,\n }, signal);\n};\n/**\n * Delete specified Wellness club.\n * @summary customers/{customerId}/wellnessClubTypes/{clubType}/wellnessClubs/{clubId}\n */\nexport var deleteCustomerWellnessClubTypeWellnessClub = function (client, customerId, clubType, clubId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/wellnessClubTypes/\").concat(clubType, \"/wellnessClubs/\").concat(clubId),\n method: 'delete',\n headers: headers,\n }, signal);\n};\n/**\n * Add one customer as a club member to club specified by club id.\n * @summary customers/{customerId}/wellnessClubTypes/{clubType}/wellnessClubs/{clubId}/members\n */\nexport var createCustomerWellnessClubTypeWellnessClubMember = function (client, customerId, clubType, clubId, globalCustomersWellnessClubMemberDtoBody, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/wellnessClubTypes/\").concat(clubType, \"/wellnessClubs/\").concat(clubId, \"/members\"),\n method: 'post',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalCustomersWellnessClubMemberDtoBody,\n }, signal);\n};\n/**\n * Delete one member specified by it's customer id from a club specified by it's club id.\n * @summary customers/{customerId}/wellnessClubTypes/{clubType}/wellnessClubs/{clubId}/members/{memberCustomerId}\n */\nexport var deleteCustomerWellnessClubTypeWellnessClubMember = function (client, customerId, clubType, clubId, memberCustomerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/wellnessClubTypes/\").concat(clubType, \"/wellnessClubs/\").concat(clubId, \"/members/\").concat(memberCustomerId),\n method: 'delete',\n headers: headers,\n }, signal);\n};\n/**\n * Update club membership of specified member customer id nad specified by club id.\n * @summary customers/{customerId}/wellnessClubTypes/{clubType}/wellnessClubs/{clubId}/members/{memberCustomerId}\n */\nexport var updateCustomerWellnessClubTypeWellnessClubMember = function (client, customerId, clubType, clubId, memberCustomerId, globalCustomersWellnessClubMemberDtoBody, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/wellnessClubTypes/\").concat(clubType, \"/wellnessClubs/\").concat(clubId, \"/members/\").concat(memberCustomerId),\n method: 'put',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalCustomersWellnessClubMemberDtoBody,\n }, signal);\n};\n/**\n * Approve or reject of wellness club invitation.\n * @summary wellnessClubInvitations/{invitationCode}/approval\n */\nexport var updateWellnessClubInvitationApproval = function (client, invitationCode, globalCustomersWellnessClubInvitationApprovalDto, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/wellnessClubInvitations/\".concat(invitationCode, \"/approval\"),\n method: 'put',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalCustomersWellnessClubInvitationApprovalDto,\n }, signal);\n};\n/**\n * Get wellness club information base on invitation code.\n * @summary wellnessClubInvitations/{invitationCode}/details\n */\nexport var getWellnessClubInvitationDetails = function (client, invitationCode, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/wellnessClubInvitations/\".concat(invitationCode, \"/details\"), method: 'get', headers: headers }, signal);\n};\n/**\n * Get wellness club configuration\n * @summary applications/wellnessClub/localization\n */\nexport var getApplicationsWellnessClubLocalization = function (client, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/applications/wellnessClub/localization\", method: 'get', headers: headers }, signal);\n};\n/**\n * Get wellnes club configuration\n * @summary applications/wellnessClub/configuration\n */\nexport var getApplicationsWellnessClubConfiguration = function (client, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/applications/wellnessClub/configuration\", method: 'get', headers: headers }, signal);\n};\n/**\n * GET: Returns information about wellness life for given customer\n * @summary customers/{customerId}/wellnessLife\n */\nexport var getCustomerWellnessLife = function (client, customerId, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/customers/\".concat(customerId, \"/wellnessLife\"), method: 'get', headers: headers }, signal);\n};\n/**\n * PUT: Change wellness life approval flag\n * @summary customers/{customerId}/wellnessLife\n */\nexport var updateCustomerWellnessLife = function (client, customerId, globalCustomersCustomerBooleanDtoBody, headers, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/customers/\".concat(customerId, \"/wellnessLife\"),\n method: 'put',\n headers: __assign({ 'Content-Type': 'application/json' }, headers),\n data: globalCustomersCustomerBooleanDtoBody,\n }, signal);\n};\n\n//# sourceMappingURL=api.js.map\n","import { PRODUCT_LABELS_FRAGMENT } from './labels';\nexport var BASE_CONCEPT_FRAGMENT = \"\\n \".concat(PRODUCT_LABELS_FRAGMENT, \"\\n fragment BaseConcept on Concept {\\n brand {\\n name\\n }\\n conceptCode\\n labels {\\n ...ProductLabels\\n }\\n productName\\n ratingAverage\\n }\\n\");","export var PRODUCT_LABELS_FRAGMENT = \"\\n fragment ProductLabels on ProductLabel {\\n labelKey\\n productLabelDomain\\n title\\n }\\n\";","import { BASE_CONCEPT_FRAGMENT } from './concept';\nexport var BASE_PRODUCT_FRAGMENT = \"\\n \".concat(BASE_CONCEPT_FRAGMENT, \"\\n fragment BaseProduct on Product {\\n backInStockAvailability {\\n showBackInStockNotification\\n }\\n concept {\\n ...BaseConcept\\n }\\n formattedPrice {\\n price {\\n basicCataloguePrice\\n currentPrice\\n }\\n }\\n labels {\\n ...ProductLabels\\n }\\n price {\\n price {\\n currentPrice\\n }\\n }\\n imageUrl\\n productCode\\n }\\n\");\nexport var PRODUCT_WITH_SHADES_FRAGMENT = \"\\n \".concat(BASE_PRODUCT_FRAGMENT, \"\\n fragment ProductWithShades on Product {\\n ...BaseProduct\\n concept {\\n ...BaseConcept\\n products {\\n colorHexCode\\n colorImageUrl\\n productCode\\n }\\n }\\n }\\n\");","import { BASE_PRODUCT_FRAGMENT } from '@ori/product-box';\nvar PRODUCT_FRAGMENT = /* GraphQL */\"\\n \".concat(BASE_PRODUCT_FRAGMENT, \"\\n fragment ProductInfoDialogProduct on Product {\\n ...BaseProduct\\n concept {\\n ...BaseConcept\\n availability {\\n isBackorder\\n }\\n benefits\\n brand {\\n url\\n }\\n categories {\\n taxonomyId\\n }\\n productDescription\\n products {\\n ...BaseProduct\\n availability {\\n isBackorder\\n }\\n color\\n colorHexCode\\n colorImageUrl\\n labels {\\n ...ProductLabels\\n }\\n volume\\n volumeUnit\\n }\\n ratingCount\\n }\\n pdpUrl {\\n relativeUrl\\n }\\n }\\n\");\nexport var query = /* GraphQL */\"\\n \".concat(PRODUCT_FRAGMENT, \"\\n query GetProducts($productCodes: [ID]) {\\n products(productCodes: $productCodes) {\\n ...ProductInfoDialogProduct\\n replacements {\\n product {\\n ...ProductInfoDialogProduct\\n }\\n }\\n }\\n }\\n\");","import _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nimport { filterProducts, mapCanBeReserved, mapCanBeSold, mapLabels, mapProductBoxPropsFromGql, mapShade } from '@ori/product-box';\nvar getProductShades = function getProductShades(shades) {\n return filterProducts(shades).map(function (shade) {\n var _shade$availability$i, _shade$availability, _shade$color, _shade$formattedPrice, _shade$formattedPrice2, _shade$formattedPrice3, _shade$backInStockAva, _shade$backInStockAva2, _shade$price$bp, _shade$price, _shade$formattedPrice4, _shade$formattedPrice5, _shade$formattedPrice6, _shade$imageUrl;\n return _objectSpread(_objectSpread(_objectSpread({}, mapLabels(shade.labels)), mapShade(shade)), {}, {\n canBeReserved: (_shade$availability$i = (_shade$availability = shade.availability) === null || _shade$availability === void 0 ? void 0 : _shade$availability.isBackorder) !== null && _shade$availability$i !== void 0 ? _shade$availability$i : mapCanBeReserved(shade.labels),\n canBeSold: mapCanBeSold(shade.labels),\n colorName: (_shade$color = shade.color) !== null && _shade$color !== void 0 ? _shade$color : null,\n currentPrice: (_shade$formattedPrice = (_shade$formattedPrice2 = shade.formattedPrice) === null || _shade$formattedPrice2 === void 0 ? void 0 : (_shade$formattedPrice3 = _shade$formattedPrice2.price) === null || _shade$formattedPrice3 === void 0 ? void 0 : _shade$formattedPrice3.currentPrice) !== null && _shade$formattedPrice !== void 0 ? _shade$formattedPrice : '',\n isStockNotificationEnabled: (_shade$backInStockAva = (_shade$backInStockAva2 = shade.backInStockAvailability) === null || _shade$backInStockAva2 === void 0 ? void 0 : _shade$backInStockAva2.showBackInStockNotification) !== null && _shade$backInStockAva !== void 0 ? _shade$backInStockAva : false,\n loyaltyRedeemPoints: (_shade$price$bp = (_shade$price = shade.price) === null || _shade$price === void 0 ? void 0 : _shade$price.bp) !== null && _shade$price$bp !== void 0 ? _shade$price$bp : 0,\n oldPrice: (_shade$formattedPrice4 = (_shade$formattedPrice5 = shade.formattedPrice) === null || _shade$formattedPrice5 === void 0 ? void 0 : (_shade$formattedPrice6 = _shade$formattedPrice5.price) === null || _shade$formattedPrice6 === void 0 ? void 0 : _shade$formattedPrice6.basicCataloguePrice) !== null && _shade$formattedPrice4 !== void 0 ? _shade$formattedPrice4 : '',\n productImageUrl: (_shade$imageUrl = shade.imageUrl) !== null && _shade$imageUrl !== void 0 ? _shade$imageUrl : null\n });\n });\n};\nvar getProductSize = function getProductSize(_ref) {\n var _concept$products;\n var concept = _ref.concept;\n var product = concept === null || concept === void 0 ? void 0 : (_concept$products = concept.products) === null || _concept$products === void 0 ? void 0 : _concept$products.filter(function (conceptProduct) {\n return conceptProduct != null;\n }).pop();\n if (!product || !(concept !== null && concept !== void 0 && concept.categories)) {\n return null;\n }\n var volume = product.volume,\n volumeUnit = product.volumeUnit;\n if (volume != null && volumeUnit != null) {\n return \"\".concat(volume, \" \").concat(volumeUnit.trim());\n }\n return null;\n};\nvar getProduct = function getProduct(product) {\n var data = mapProductBoxPropsFromGql(product);\n if (data) {\n var _product$concept$avai, _product$concept, _product$concept$avai2, _product$concept$bran, _product$concept2, _product$concept2$bra, _product$concept$prod, _product$concept3, _product$concept$bene, _product$concept4, _product$concept4$ben, _product$concept5, _product$concept$rati, _product$concept6, _product$pdpUrl$relat, _product$pdpUrl;\n return _objectSpread(_objectSpread({}, data), {}, {\n canBeReserved: (_product$concept$avai = (_product$concept = product.concept) === null || _product$concept === void 0 ? void 0 : (_product$concept$avai2 = _product$concept.availability) === null || _product$concept$avai2 === void 0 ? void 0 : _product$concept$avai2.isBackorder) !== null && _product$concept$avai !== void 0 ? _product$concept$avai : false,\n brandUrl: (_product$concept$bran = (_product$concept2 = product.concept) === null || _product$concept2 === void 0 ? void 0 : (_product$concept2$bra = _product$concept2.brand) === null || _product$concept2$bra === void 0 ? void 0 : _product$concept2$bra.url) !== null && _product$concept$bran !== void 0 ? _product$concept$bran : '',\n description: (_product$concept$prod = (_product$concept3 = product.concept) === null || _product$concept3 === void 0 ? void 0 : _product$concept3.productDescription) !== null && _product$concept$prod !== void 0 ? _product$concept$prod : '',\n keyFeatures: (_product$concept$bene = (_product$concept4 = product.concept) === null || _product$concept4 === void 0 ? void 0 : (_product$concept4$ben = _product$concept4.benefits) === null || _product$concept4$ben === void 0 ? void 0 : _product$concept4$ben.filter(function (benefit) {\n return benefit != null;\n })) !== null && _product$concept$bene !== void 0 ? _product$concept$bene : [],\n size: getProductSize(product),\n shades: (_product$concept5 = product.concept) !== null && _product$concept5 !== void 0 && _product$concept5.products ? getProductShades(product.concept.products) : undefined,\n totalReviews: (_product$concept$rati = (_product$concept6 = product.concept) === null || _product$concept6 === void 0 ? void 0 : _product$concept6.ratingCount) !== null && _product$concept$rati !== void 0 ? _product$concept$rati : 0,\n url: (_product$pdpUrl$relat = (_product$pdpUrl = product.pdpUrl) === null || _product$pdpUrl === void 0 ? void 0 : _product$pdpUrl.relativeUrl) !== null && _product$pdpUrl$relat !== void 0 ? _product$pdpUrl$relat : ''\n });\n }\n return null;\n};\nexport var mapProductReplacementFromGql = function mapProductReplacementFromGql(replacement) {\n return replacement !== null && replacement !== void 0 && replacement.product ? getProduct(replacement.product) : null;\n};\nexport var mapProductReplacementsFromGql = function mapProductReplacementsFromGql(_ref2) {\n var replacements = _ref2.replacements;\n return replacements === null || replacements === void 0 ? void 0 : replacements.map(mapProductReplacementFromGql).filter(function (replacement) {\n return replacement != null;\n });\n};\nexport var mapProductFromGql = function mapProductFromGql(product) {\n var data = getProduct(product);\n if (data) {\n data.replacements = mapProductReplacementsFromGql(product);\n }\n return data;\n};\nexport var mapProductsFromGql = function mapProductsFromGql(products) {\n return products.map(function (product) {\n return product ? mapProductFromGql(product) : null;\n }).filter(function (product) {\n return product != null;\n });\n};","import axios from 'axios';\nimport { getHeaders } from './getHeaders';\nimport { query } from './query';\nimport { mapProductsFromGql } from '../mappers';\nexport var getProductInfoDialogProducts = async function getProductInfoDialogProducts(props) {\n var graphQlUrl = props.graphQlUrl,\n productCodes = props.productCodes;\n var url = new URL('/graphql', graphQlUrl);\n var _await$axios$post = await axios.post(url.toString(), {\n query: query,\n variables: {\n productCodes: productCodes\n }\n }, {\n headers: await getHeaders(props)\n }),\n products = _await$axios$post.data.data.products;\n return products ? mapProductsFromGql(products) : [];\n};","var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nimport Axios from 'axios';\nimport applyCaseMiddleware from 'axios-case-converter';\nvar isoDateFormat = /^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d*)?(?:[+-]\\d{2}:?\\d{2}|Z)?$/;\nfunction isIsoDateString(value) {\n return typeof value === 'string' && isoDateFormat.test(value);\n}\nfunction handleDates(body) {\n if (body === null || typeof body !== 'object') {\n return body;\n }\n return Object.fromEntries(new Map(Object.entries(body).map(function (_a) {\n var key = _a[0], value = _a[1];\n if (isIsoDateString(value)) {\n return [key, new Date(value)];\n }\n else if (typeof value === 'object') {\n return [key, handleDates(value)];\n }\n return [key, value];\n })));\n}\nvar applyDateMiddleware = function (axiosInstance) {\n axiosInstance.interceptors.response.use(function (originalResponse) { return (__assign(__assign({}, originalResponse), { data: handleDates(originalResponse.data) })); });\n};\nvar AUTHORIZATION_HEADER = 'Authorization';\nvar LANGUAGE_HEADER = 'Accept-Language';\nvar TENANT_HEADER = 'x-tenant-context';\nfunction isAxiosInstace(variable) {\n if ('defaults' in variable && 'interceptors' in variable) {\n return true;\n }\n return false;\n}\nvar ApiClient = /** @class */ (function () {\n function ApiClient(options) {\n if (isAxiosInstace(options)) {\n this.axiosInstance = options;\n }\n else {\n var baseUrl = options.baseUrl, language = options.language, tenant = options.tenant, token = options.token;\n this.axiosInstance = Axios.create({\n baseURL: baseUrl,\n });\n if (token) {\n this.axiosInstance.defaults.headers.common[AUTHORIZATION_HEADER] = token;\n }\n if (tenant) {\n this.axiosInstance.defaults.headers.common[TENANT_HEADER] = tenant;\n }\n if (language) {\n this.axiosInstance.defaults.headers.common[LANGUAGE_HEADER] = language;\n }\n }\n applyDateMiddleware(this.axiosInstance);\n applyCaseMiddleware(this.axiosInstance);\n }\n ApiClient.prototype.createFetcher = function () {\n var _this = this;\n return function (config, signal) { return __awaiter(_this, void 0, void 0, function () {\n var data;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, this.axiosInstance(__assign(__assign({}, config), { signal: signal }))];\n case 1:\n data = (_a.sent()).data;\n return [2 /*return*/, data];\n }\n });\n }); };\n };\n return ApiClient;\n}());\nexport { ApiClient };\n\n//# sourceMappingURL=ApiClient.js.map\n","import { useSWRFetch } from './internal/useSWRFetch';\nimport { getProductInfoDialogShowMrpStatement } from '../api';\nexport var useGetProductInfoDialogShowMrpStatement = function useGetProductInfoDialogShowMrpStatement(_ref) {\n var staticApiUrl = _ref.staticApiUrl,\n tenant = _ref.tenant;\n return useSWRFetch({\n fallback: false,\n fetcher: async function fetcher() {\n return getProductInfoDialogShowMrpStatement({\n staticApiUrl: staticApiUrl,\n tenant: tenant\n });\n },\n key: [staticApiUrl, tenant]\n });\n};","import { createContext } from 'react';\nexport var apiClientContext = createContext(undefined);\n\n//# sourceMappingURL=apiClientContext.js.map\n","import { ApiClient, getTenantApplicationsProductDetailConfiguration } from '@ori/static-api-client';\nexport var getProductInfoDialogShowMrpStatement = async function getProductInfoDialogShowMrpStatement(_ref) {\n var staticApiUrl = _ref.staticApiUrl,\n tenant = _ref.tenant;\n var client = new ApiClient({\n baseUrl: staticApiUrl\n });\n var _await$getTenantAppli = await getTenantApplicationsProductDetailConfiguration(client, tenant),\n isMrpStatementEnabled = _await$getTenantAppli.isMrpStatementEnabled;\n return isMrpStatementEnabled;\n};","/**\n * GET: Localization for AddressForm application\n * @summary tenants/{tenant}/applications/addressForm/localization\n */\nexport var getTenantApplicationsAddressFormLocalization = function (client, tenant, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/applications/addressForm/localization\"), method: 'get' }, signal);\n};\n/**\n * GET: Localization for Adverse Reaction SPA\n * @summary tenants/{tenant}/applications/adverseReaction/localization\n */\nexport var getTenantApplicationsAdverseReactionLocalization = function (client, tenant, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/applications/adverseReaction/localization\"), method: 'get' }, signal);\n};\n/**\n * GET: Get partial set of products - returned limited number of products.\n * @summary tenants/{tenant}/applications/adverseReaction/productsPartialSet\n */\nexport var getTenantApplicationsAdverseReactionProductsPartialSet = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/tenants/\".concat(tenant, \"/applications/adverseReaction/productsPartialSet\"),\n method: 'get',\n params: params,\n }, signal);\n};\n/**\n * Get availability of product\n * @summary tenants/{tenant}/products/{productCode}/availability\n */\nexport var getTenantProductAvailability = function (client, tenant, productCode, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/products/\").concat(productCode, \"/availability\"), method: 'get', params: params }, signal);\n};\n/**\n * GET: Provides information about concept availability\n * @summary tenants/{tenant}/concepts/{conceptCode}/availability\n */\nexport var getTenantConceptAvailability = function (client, tenant, conceptCode, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/concepts/\").concat(conceptCode, \"/availability\"), method: 'get', params: params }, signal);\n};\n/**\n * GET - returns Configuration properties for BackInStock Notifications.\n * @summary tenants/{tenant}/backInStockNotificationsConfiguration\n */\nexport var getTenantBackInStockNotificationsConfiguration = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/backInStockNotificationsConfiguration\"), method: 'get', params: params }, signal);\n};\n/**\n * GET - Bazaar Voice Api Controller\n * @summary tenants/{tenant}/bazaarvoice/configuration\n */\nexport var getTenantBazaarvoiceConfiguration = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/bazaarvoice/configuration\"), method: 'get', params: params }, signal);\n};\n/**\n * Get beauty reward points localization\n * @summary beautyRewardPoints/tenants/{tenant}/localization\n */\nexport var getBeautyRewardPointsTenantLocalization = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/beautyRewardPoints/tenants/\".concat(tenant, \"/localization\"), method: 'get', params: params }, signal);\n};\n/**\n * Get all brands, optionally filtered by given category\n * @summary tenants/{tenant}/brands\n */\nexport var getTenantBrands = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/brands\"), method: 'get', params: params }, signal);\n};\n/**\n * Gets brand by brand id\n * @summary tenants/{tenant}/brands/{brandId}\n */\nexport var getTenantBrand = function (client, tenant, brandId, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/brands/\").concat(brandId), method: 'get', params: params }, signal);\n};\n/**\n * Provides link to a single brand.\n * @summary tenants/{tenant}/brands/{brandId}/dynamiclink\n */\nexport var getTenantBrandDynamiclink = function (client, tenant, brandId, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/brands/\").concat(brandId, \"/dynamiclink\"), method: 'get', params: params }, signal);\n};\n/**\n * Get Breadcrumbs links.\n * @summary tenants/{tenant}/applications/breadcrumb/links\n */\nexport var getTenantApplicationsBreadcrumbLinks = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/applications/breadcrumb/links\"), method: 'get', params: params }, signal);\n};\n/**\n * Get Rewards Shop configurations\n * @summary tenants/{tenant}/rewardShopConfigurations\n */\nexport var getTenantRewardShopConfigurations = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/rewardShopConfigurations\"), method: 'get', params: params }, signal);\n};\n/**\n * GET - returns configuration for Catalogue IPaper\n * @summary tenants/{tenant}/applications/catalogueIPaper/configuration\n */\nexport var getTenantApplicationsCatalogueIPaperConfiguration = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/applications/catalogueIPaper/configuration\"), method: 'get', params: params }, signal);\n};\n/**\n * GET - returns collection of available catalogues for iPaper platform.\n * @summary tenants/{tenant}/applications/catalogueOverview\n */\nexport var getTenantApplicationsCatalogueOverview = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/applications/catalogueOverview\"), method: 'get', params: params }, signal);\n};\n/**\n * GET: Provide catalogues related to the period\n * @summary tenants/{tenant}/catalogues\n */\nexport var getTenantCatalogues = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/catalogues\"), method: 'get', params: params }, signal);\n};\n/**\n * Provides link to the current digital catalogue.\n * @summary tenants/{tenant}/catalogues/{catalogueId}/dynamiclink\n */\nexport var getTenantCatalogueDynamiclink = function (client, tenant, catalogueId, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/catalogues/\").concat(catalogueId, \"/dynamiclink\"), method: 'get', params: params }, signal);\n};\n/**\n * Get social media library category by categoryId.\n * @summary tenants/{tenant}/socialMediaLibrary/categories/{categoryId}\n */\nexport var getTenantSocialMediaLibraryCategory = function (client, tenant, categoryId, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/tenants/\".concat(tenant, \"/socialMediaLibrary/categories/\").concat(categoryId),\n method: 'get',\n params: params,\n }, signal);\n};\n/**\n * Get social media library categories.\n * @summary tenants/{tenant}/socialMediaLibrary/categories\n */\nexport var getTenantSocialMediaLibraryCategories = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/socialMediaLibrary/categories\"), method: 'get', params: params }, signal);\n};\n/**\n * Get all categories\n * @summary tenants/{tenant}/categories\n */\nexport var getTenantCategories = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/categories\"), method: 'get', params: params }, signal);\n};\n/**\n * Returns Chat bot metadata\n * @summary tenants/{tenant}/applications/chatBot/metadata\n */\nexport var getTenantApplicationsChatBotMetadata = function (client, tenant, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/applications/chatBot/metadata\"), method: 'get' }, signal);\n};\n/**\n * Returns Chat bot page metadata\n * @summary tenants/{tenant}/applications/chatBot/pageMetadata\n */\nexport var getTenantApplicationsChatBotPageMetadata = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/applications/chatBot/pageMetadata\"), method: 'get', params: params }, signal);\n};\n/**\n * Provides information about commission plan type for the market in the specified period. If the period is not specified, the current period is used.\n * @summary tenants/{tenant}/commissionPlanType\n */\nexport var getTenantCommissionPlanType = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/commissionPlanType\"), method: 'get', params: params }, signal);\n};\n/**\n * Gets calculated attributes for concepts from product index.\n * @summary tenants/{tenant}/conceptIndexItems\n */\nexport var getTenantConceptIndexItems = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/conceptIndexItems\"), method: 'get', params: params }, signal);\n};\n/**\n * Gets collection of concept labels for anonymous customer.\n * @summary tenants/{tenant}/conceptLabels\n */\nexport var getTenantConceptLabels = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/conceptLabels\"), method: 'get', params: params }, signal);\n};\n/**\n * GET: Provides concept\n * @summary tenants/{tenant}/deprecatedConcepts/{conceptCode}\n */\nexport var getTenantDeprecatedConcept = function (client, tenant, conceptCode, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/deprecatedConcepts/\").concat(conceptCode), method: 'get', params: params }, signal);\n};\n/**\n * GET: Provides concept\n * @summary tenants/{tenant}/concepts/{conceptCode}\n */\nexport var getTenantConcept = function (client, tenant, conceptCode, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/concepts/\").concat(conceptCode), method: 'get', params: params }, signal);\n};\n/**\n * Gets the concepts data for Mv7 mobile app.\n * @summary tenants/{tenant}/applications/mv7/modules/conceptsRepository/concepts\n */\nexport var getTenantApplicationsMv7ModulesConceptsRepositoryConcepts = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/tenants/\".concat(tenant, \"/applications/mv7/modules/conceptsRepository/concepts\"),\n method: 'get',\n params: params,\n }, signal);\n};\n/**\n * Gets the concepts hash codes data for Mv7 mobile app.\n * @summary tenants/{tenant}/applications/mv7/modules/conceptsRepository/conceptsHashCodes\n */\nexport var getTenantApplicationsMv7ModulesConceptsRepositoryConceptsHashCodes = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/tenants/\".concat(tenant, \"/applications/mv7/modules/conceptsRepository/conceptsHashCodes\"),\n method: 'get',\n params: params,\n }, signal);\n};\n/**\n * Gets the concepts labels data for Mv7 mobile app.\n * @summary tenants/{tenant}/applications/mv7/modules/conceptsLabelsRepository/conceptsLabels\n */\nexport var getTenantApplicationsMv7ModulesConceptsLabelsRepositoryConceptsLabels = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/tenants/\".concat(tenant, \"/applications/mv7/modules/conceptsLabelsRepository/conceptsLabels\"),\n method: 'get',\n params: params,\n }, signal);\n};\n/**\n * GET - returns Concern Report Form localization labels.\n * @summary tenants/{tenant}/applications/concernReportForm/localization\n */\nexport var getTenantApplicationsConcernReportFormLocalization = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/tenants/\".concat(tenant, \"/applications/concernReportForm/localization\"),\n method: 'get',\n params: params,\n }, signal);\n};\n/**\n * GET - returns configuration for Concern Report Form\n * @summary tenants/{tenant}/applications/concernReportForm/configuration\n */\nexport var getTenantApplicationsConcernReportFormConfiguration = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/tenants/\".concat(tenant, \"/applications/concernReportForm/configuration\"),\n method: 'get',\n params: params,\n }, signal);\n};\n/**\n * Get consultant info localization\n * @summary consultantInfo/tenants/{tenant}/localization\n */\nexport var getConsultantInfoTenantLocalization = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/consultantInfo/tenants/\".concat(tenant, \"/localization\"), method: 'get', params: params }, signal);\n};\n/**\n * GET: Returns metadata about contact details of registration with given ID\n * @summary tenants/{tenant}/customerRegistrationsMetadata/{registrationType}/contactDetailsMetadata\n */\nexport var getTenantCustomerRegistrationsMetadatumContactDetailsMetadata = function (client, tenant, registrationType, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/tenants/\".concat(tenant, \"/customerRegistrationsMetadata/\").concat(registrationType, \"/contactDetailsMetadata\"),\n method: 'get',\n }, signal);\n};\n/**\n * GET: Returns localization for all countries on market\n * @summary tenants/{tenant}/countries\n */\nexport var getTenantCountries = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/countries\"), method: 'get', params: params }, signal);\n};\n/**\n * GET - provides tenant culture settings\n * @summary tenants/{tenant}/culture\n */\nexport var getTenantCulture = function (client, tenant, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/culture\"), method: 'get' }, signal);\n};\n/**\n * GET: Returns metadata for customer confirmation endpoints\n * @summary tenants/{tenant}/customerConfirmationMetadata\n */\nexport var getTenantCustomerConfirmationMetadata = function (client, tenant, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/customerConfirmationMetadata\"), method: 'get' }, signal);\n};\n/**\n * Gets all available document types\n * @summary tenants/{tenant}/documentTypes\n */\nexport var getTenantDocumentTypes = function (client, tenant, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/documentTypes\"), method: 'get' }, signal);\n};\n/**\n * Get Earnings app localization\n * @summary tenants/{tenant}/applications/earningsApp/localization\n */\nexport var getTenantApplicationsEarningsAppLocalization = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/applications/earningsApp/localization\"), method: 'get', params: params }, signal);\n};\n/**\n * Gets the search results for specified iPaper url and query using internal iPaper api.\n * @summary tenants/{tenant}/eCatalogueSearchResults/{eCatalogueId}\n */\nexport var getTenantECatalogueSearchResult = function (client, tenant, eCatalogueId, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/eCatalogueSearchResults/\").concat(eCatalogueId), method: 'get', params: params }, signal);\n};\n/**\n * Gets the structure of eCatalogue for given eCatalogue Id\nInternally, the microservice calls the external service twice and then returns the data\n * @summary tenants/{tenant}/eCatalogueStructures/{eCatalogueId}\n */\nexport var getTenantECatalogueStructure = function (client, tenant, eCatalogueId, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/eCatalogueStructures/\").concat(eCatalogueId), method: 'get', params: params }, signal);\n};\n/**\n * GET: Get editorial pages by query parameters.\n * @summary tenants/{tenant}/applications/editorial/editorialPages\n */\nexport var getTenantApplicationsEditorialEditorialPages = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/applications/editorial/editorialPages\"), method: 'get', params: params }, signal);\n};\n/**\n * GET: Get editorial header by ids.\n * @summary tenants/{tenant}/applications/editorial/headers\n */\nexport var getTenantApplicationsEditorialHeaders = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/applications/editorial/headers\"), method: 'get', params: params }, signal);\n};\n/**\n * GET: Get product box carousels by ids.\n * @summary tenants/{tenant}/applications/editorial/productBoxCarousels\n */\nexport var getTenantApplicationsEditorialProductBoxCarousels = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/applications/editorial/productBoxCarousels\"), method: 'get', params: params }, signal);\n};\n/**\n * GET: Get article carousels by ids.\n * @summary tenants/{tenant}/applications/editorial/articleCarousels\n */\nexport var getTenantApplicationsEditorialArticleCarousels = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/applications/editorial/articleCarousels\"), method: 'get', params: params }, signal);\n};\n/**\n * GET: Get olapics by ids.\n * @summary tenants/{tenant}/applications/editorial/olapics\n */\nexport var getTenantApplicationsEditorialOlapics = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/applications/editorial/olapics\"), method: 'get', params: params }, signal);\n};\n/**\n * GET: Get banners by ids.\n * @summary tenants/{tenant}/applications/editorial/banners\n */\nexport var getTenantApplicationsEditorialBanners = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/applications/editorial/banners\"), method: 'get', params: params }, signal);\n};\n/**\n * Gets collection of editorial articles of specific type, related to products.\n * @summary tenants/{tenant}/editorialArticles\n */\nexport var getTenantEditorialArticles = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/editorialArticles\"), method: 'get', params: params }, signal);\n};\n/**\n * GET: Localization for EInvoice application\n * @summary tenants/{tenant}/applications/eInvoice/localization\n */\nexport var getTenantApplicationsEInvoiceLocalization = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/applications/eInvoice/localization\"), method: 'get', params: params }, signal);\n};\n/**\n * GET: Localization for EndCustomer Referral Discount application\n * @summary tenants/{tenant}/applications/endCustomerReferralDiscount/localization\n */\nexport var getTenantApplicationsEndCustomerReferralDiscountLocalization = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/tenants/\".concat(tenant, \"/applications/endCustomerReferralDiscount/localization\"),\n method: 'get',\n params: params,\n }, signal);\n};\n/**\n * Gets identity server endpoints for communication with identity server (API, OAuth, OpenId)\n * @summary tenants/{tenant}/system/endpoints/identityServer\n */\nexport var getTenantSystemEndpointsIdentityServer = function (client, tenant, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/system/endpoints/identityServer\"), method: 'get' }, signal);\n};\n/**\n * Gets Online url for specific tenant. It could be used for redirects to oriflame pages\n * @summary tenants/{tenant}/system/endpoints/online\n */\nexport var getTenantSystemEndpointsOnline = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/system/endpoints/online\"), method: 'get', params: params }, signal);\n};\n/**\n * Gets external campaigns for given campaing urls\n * @summary tenants/{tenant}/applications/externalCampaignApp/externalCampaigns\n */\nexport var getTenantApplicationsExternalCampaignAppExternalCampaigns = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/tenants/\".concat(tenant, \"/applications/externalCampaignApp/externalCampaigns\"),\n method: 'get',\n params: params,\n }, signal);\n};\n/**\n * GET: Retrieves the metadata for external providers (FB, WeChat, VKontakte...)\n * @summary tenants/{tenant}/customerExternalProfilesMetadata\n */\nexport var getTenantCustomerExternalProfilesMetadata = function (client, tenant, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/customerExternalProfilesMetadata\"), method: 'get' }, signal);\n};\n/**\n * Get footer\n * @summary tenants/{tenant}/applications/footer\n */\nexport var getTenantApplicationsFooter = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/applications/footer\"), method: 'get', params: params }, signal);\n};\n/**\n * Gets collection of formatted price data for products\n * @summary tenants/{tenant}/productsFormattedPrices\n */\nexport var getTenantProductsFormattedPrices = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/productsFormattedPrices\"), method: 'get', params: params }, signal);\n};\n/**\n * Gets collection of formatted price data for concepts\n * @summary tenants/{tenant}/conceptsFormattedPrices\n */\nexport var getTenantConceptsFormattedPrices = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/conceptsFormattedPrices\"), method: 'get', params: params }, signal);\n};\n/**\n * GET - provides Product Standards.\n * @summary tenants/{tenant}/applications/frontPage/productStandards\n */\nexport var getTenantApplicationsFrontPageProductStandards = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/applications/frontPage/productStandards\"), method: 'get', params: params }, signal);\n};\n/**\n * GET - provides Motivation Content.\n * @summary tenants/{tenant}/applications/frontPage/motivationContent\n */\nexport var getTenantApplicationsFrontPageMotivationContent = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/applications/frontPage/motivationContent\"), method: 'get', params: params }, signal);\n};\n/**\n * GET - provides Beauty Edit section's data\n * @summary tenants/{tenant}/applications/frontPage/beautyEdit\n */\nexport var getTenantApplicationsFrontPageBeautyEdit = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/applications/frontPage/beautyEdit\"), method: 'get', params: params }, signal);\n};\n/**\n * GET - provides VIP Benefits section's data\n * @summary tenants/{tenant}/applications/frontPage/vipBenefits\n */\nexport var getTenantApplicationsFrontPageVipBenefits = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/applications/frontPage/vipBenefits\"), method: 'get', params: params }, signal);\n};\n/**\n * GET - provides Top Brands section's configuration\n * @summary tenants/{tenant}/applications/frontPage/topBrands\n */\nexport var getTenantApplicationsFrontPageTopBrands = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/applications/frontPage/topBrands\"), method: 'get', params: params }, signal);\n};\n/**\n * GET - provides Beauty Video data.\n * @summary tenants/{tenant}/applications/frontPage/beautyVideo\n */\nexport var getTenantApplicationsFrontPageBeautyVideo = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/applications/frontPage/beautyVideo\"), method: 'get', params: params }, signal);\n};\n/**\n * GET - provides content for the Benefit Banner.\n * @summary tenants/{tenant}/applications/frontPage/benefitBanner\n */\nexport var getTenantApplicationsFrontPageBenefitBanner = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/applications/frontPage/benefitBanner\"), method: 'get', params: params }, signal);\n};\n/**\n * GET - provides content for the Notification Banner.\n * @summary tenants/{tenant}/applications/frontPage/notificationBanner\n */\nexport var getTenantApplicationsFrontPageNotificationBanner = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/applications/frontPage/notificationBanner\"), method: 'get', params: params }, signal);\n};\n/**\n * GET - provides content for the FrontPage\n * @summary tenants/{tenant}/applications/frontPage\n */\nexport var getTenantApplicationsFrontPage = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/applications/frontPage\"), method: 'get', params: params }, signal);\n};\n/**\n * Returns Genesys widget metadata\n * @summary tenants/{tenant}/applications/genesysWidget/metadata\n */\nexport var getTenantApplicationsGenesysWidgetMetadata = function (client, tenant, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/applications/genesysWidget/metadata\"), method: 'get' }, signal);\n};\n/**\n * Returns Genesys widget page metadata\n * @summary tenants/{tenant}/applications/genesysWidget/pageMetadata\n */\nexport var getTenantApplicationsGenesysWidgetPageMetadata = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/applications/genesysWidget/pageMetadata\"), method: 'get', params: params }, signal);\n};\n/**\n * GET: Localization for guarantee credit application\n * @summary tenants/{tenant}/applications/guaranteeCredit/localization\n */\nexport var getTenantApplicationsGuaranteeCreditLocalization = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/applications/guaranteeCredit/localization\"), method: 'get', params: params }, signal);\n};\n/**\n * GET: Configuration for guarantee credit application\n * @summary tenants/{tenant}/applications/guaranteeCredit/grantedCreditConfiguration\n */\nexport var getTenantApplicationsGuaranteeCreditGrantedCreditConfiguration = function (client, tenant, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/tenants/\".concat(tenant, \"/applications/guaranteeCredit/grantedCreditConfiguration\"),\n method: 'get',\n }, signal);\n};\n/**\n * Gets the mobile application homepage.\n * @summary tenants/{tenant}/applications/MV7/homepage\n */\nexport var getTenantApplicationsMV7Homepage = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/applications/MV7/homepage\"), method: 'get', params: params }, signal);\n};\n/**\n * Return possible userSegment types\n * @summary tenants/{tenant}/applications/MV7/usersegmenttypes\n */\nexport var getTenantApplicationsMV7Usersegmenttypes = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/applications/MV7/usersegmenttypes\"), method: 'get', params: params }, signal);\n};\n/**\n * Get social media library image info by imageInfoId\n * @summary tenants/{tenant}/socialMediaLibrary/imageInfos/{imageInfoId}\n */\nexport var getTenantSocialMediaLibraryImageInfo = function (client, tenant, imageInfoId, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/tenants/\".concat(tenant, \"/socialMediaLibrary/imageInfos/\").concat(imageInfoId),\n method: 'get',\n params: params,\n }, signal);\n};\n/**\n * Get social media library images\n * @summary tenants/{tenant}/socialMediaLibrary/imageInfos\n */\nexport var getTenantSocialMediaLibraryImageInfos = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/socialMediaLibrary/imageInfos\"), method: 'get', params: params }, signal);\n};\n/**\n * Gets collection of Ingredients for given ingredient Names. If collection of ingredients is empty\nall ingredients are returned\n * @summary tenants/{tenant}/ingredients\n */\nexport var getTenantIngredients = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/ingredients\"), method: 'get', params: params }, signal);\n};\n/**\n * Gets Ingredient for given name\n * @summary tenants/{tenant}/ingredients/{ingredientName}\n */\nexport var getTenantIngredient = function (client, tenant, ingredientName, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/ingredients/\").concat(ingredientName), method: 'get', params: params }, signal);\n};\n/**\n * Gets the ingredients inspirations\n * @summary tenants/{tenant}/ingredientsInspirations\n */\nexport var getTenantIngredientsInspirations = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/ingredientsInspirations\"), method: 'get', params: params }, signal);\n};\n/**\n * Get Invite a friend configuration\n * @summary tenants/{tenant}/inviteFriendConfiguration\n */\nexport var getTenantInviteFriendConfiguration = function (client, tenant, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/inviteFriendConfiguration\"), method: 'get' }, signal);\n};\n/**\n * Gets Invite a friend / end customer referral program profile for the customer with given consultant number\n * @summary tenants/{tenant}/inviteFriendLinks/{consultantNumber}\n */\nexport var getTenantInviteFriendLink = function (client, tenant, consultantNumber, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/inviteFriendLinks/\").concat(consultantNumber), method: 'get' }, signal);\n};\n/**\n * GET: Returns joining fee info and html content\n * @summary tenants/{tenant}/joiningFeeDialog/html\n */\nexport var getTenantJoiningFeeDialogHtml = function (client, tenant, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/joiningFeeDialog/html\"), method: 'get' }, signal);\n};\n/**\n * GET - returns language configuration for footer.\n * @summary tenants/{tenant}/applications/footer/languageConfiguration\n */\nexport var getTenantApplicationsFooterLanguageConfiguration = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/applications/footer/languageConfiguration\"), method: 'get', params: params }, signal);\n};\n/**\n * GET - returns collection of languages for footer.\n * @summary tenants/{tenant}/languages\n */\nexport var getTenantLanguages = function (client, tenant, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/languages\"), method: 'get' }, signal);\n};\n/**\n * GET: Returns metadata about legal details of registration with given ID\n * @summary tenants/{tenant}/customerRegistrationsMetadata/{registrationType}/legalDetailsMetadata\n */\nexport var getTenantCustomerRegistrationsMetadatumLegalDetailsMetadata = function (client, tenant, registrationType, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/tenants/\".concat(tenant, \"/customerRegistrationsMetadata/\").concat(registrationType, \"/legalDetailsMetadata\"),\n method: 'get',\n }, signal);\n};\n/**\n * Gets lookbooks\n * @summary tenants/{tenant}/lookbooks\n */\nexport var getTenantLookbooks = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/lookbooks\"), method: 'get', params: params }, signal);\n};\n/**\n * Gets lookbook banners\n * @summary tenants/{tenant}/lookbookBanners\n */\nexport var getTenantLookbookBanners = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/lookbookBanners\"), method: 'get', params: params }, signal);\n};\n/**\n * Gets lookbook editorial articles carousels.\n * @summary tenants/{tenant}/lookbookEditorialArticlesCarousels\n */\nexport var getTenantLookbookEditorialArticlesCarousels = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/lookbookEditorialArticlesCarousels\"), method: 'get', params: params }, signal);\n};\n/**\n * Gets lookbook product box carousel .\n * @summary tenants/{tenant}/lookbookProductBoxCarousels\n */\nexport var getTenantLookbookProductBoxCarousels = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/lookbookProductBoxCarousels\"), method: 'get', params: params }, signal);\n};\n/**\n * GET - Product Detail of Makeup Try On Configuration\n * @summary tenants/{tenant}/applications/makeupTryOn/configuration\n */\nexport var getTenantApplicationsMakeupTryOnConfiguration = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/applications/makeupTryOn/configuration\"), method: 'get', params: params }, signal);\n};\n/**\n * Gets products relations for given product codes\n * @summary tenants/{tenant}/applications/makeupTryOn/productsRelation\n */\nexport var getTenantApplicationsMakeupTryOnProductsRelation = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/applications/makeupTryOn/productsRelation\"), method: 'get', params: params }, signal);\n};\n/**\n * GET: Localization for Member upgrade application\n * @summary tenants/{tenant}/applications/memberUpgrade/localization\n */\nexport var getTenantApplicationsMemberUpgradeLocalization = function (client, tenant, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/applications/memberUpgrade/localization\"), method: 'get' }, signal);\n};\n/**\n * Gets the mobile apps.\n * @summary tenants/{tenant}/mobileApps\n */\nexport var getTenantMobileApps = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/mobileApps\"), method: 'get', params: params }, signal);\n};\n/**\n * Gets the mobile app download page header.\n * @summary tenants/{tenant}/applications/mobileApps/pageHeader\n */\nexport var getTenantApplicationsMobileAppsPageHeader = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/applications/mobileApps/pageHeader\"), method: 'get', params: params }, signal);\n};\n/**\n * Gets links for all existing mobile applications.\n * @summary tenants/{tenant}/mobileAppsLinks\n */\nexport var getTenantMobileAppsLinks = function (client, tenant, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/mobileAppsLinks\"), method: 'get' }, signal);\n};\n/**\n * Provides configuration for Mobile Office\n * @summary tenants/{tenant}/applications/mobileOffice/configuration\n */\nexport var getTenantApplicationsMobileOfficeConfiguration = function (client, tenant, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/applications/mobileOffice/configuration\"), method: 'get' }, signal);\n};\n/**\n * Get My Business localization\n * @summary myBusiness/tenants/{tenant}/localization\n */\nexport var getMyBusinessTenantLocalization = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/myBusiness/tenants/\".concat(tenant, \"/localization\"), method: 'get', params: params }, signal);\n};\n/**\n * Get category navigation tree or subtree.\n * @summary tenants/{tenant}/applications/MV7/navigationCategories/{category}\n */\nexport var getTenantApplicationsMV7NavigationCategory = function (client, tenant, category, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/tenants/\".concat(tenant, \"/applications/MV7/navigationCategories/\").concat(category),\n method: 'get',\n params: params,\n }, signal);\n};\n/**\n * Get brand navigation tree or subtree.\n * @summary tenants/{tenant}/applications/MV7/navigationBrands/{brand}\n */\nexport var getTenantApplicationsMV7NavigationBrand = function (client, tenant, brand, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/applications/MV7/navigationBrands/\").concat(brand), method: 'get', params: params }, signal);\n};\n/**\n * Gets concept search results by the specified category.\n * @summary tenants/{tenant}/applications/MV7/navigationCategories/{category}/concepts\n */\nexport var getTenantApplicationsMV7NavigationCategoryConcepts = function (client, tenant, category, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/tenants/\".concat(tenant, \"/applications/MV7/navigationCategories/\").concat(category, \"/concepts\"),\n method: 'get',\n params: params,\n }, signal);\n};\n/**\n * Gets concepts by the specified brand.\n * @summary tenants/{tenant}/applications/MV7/navigationBrands/{brand}/concepts\n */\nexport var getTenantApplicationsMV7NavigationBrandConcepts = function (client, tenant, brand, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/tenants/\".concat(tenant, \"/applications/MV7/navigationBrands/\").concat(brand, \"/concepts\"),\n method: 'get',\n params: params,\n }, signal);\n};\n/**\n * Get navigation items for specific type\n * @summary tenants/{tenant}/applications/navigation/navigations/{navigationType}\n */\nexport var getTenantApplicationsNavigationNavigation = function (client, tenant, navigationType, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/tenants/\".concat(tenant, \"/applications/navigation/navigations/\").concat(navigationType),\n method: 'get',\n params: params,\n }, signal);\n};\n/**\n * Returns collection of tags for chosen related category\n * @summary tenants/{tenant}/navigationTags/{relatedCategory}\n */\nexport var getTenantNavigationTag = function (client, tenant, relatedCategory, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/navigationTags/\").concat(relatedCategory), method: 'get', params: params }, signal);\n};\n/**\n * GET - Returns Newsletter Subscription Configuration.\n * @summary tenants/{tenant}/applications/newsletterSubscription/Configuration\n */\nexport var getTenantApplicationsNewsletterSubscriptionConfiguration = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/tenants/\".concat(tenant, \"/applications/newsletterSubscription/Configuration\"),\n method: 'get',\n params: params,\n }, signal);\n};\n/**\n * Get Notification Web Client localization\n * @summary notifications/tenants/{tenant}/localization\n */\nexport var getNotificationsTenantLocalization = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/notifications/tenants/\".concat(tenant, \"/localization\"), method: 'get', params: params }, signal);\n};\n/**\n * GET: NovAge skincare advisor configuration.\n * @summary tenants/{tenant}/applications/advisor/novAgeSkincareConfiguration\n */\nexport var getTenantApplicationsAdvisorNovAgeSkincareConfiguration = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/tenants/\".concat(tenant, \"/applications/advisor/novAgeSkincareConfiguration\"),\n method: 'get',\n params: params,\n }, signal);\n};\n/**\n * Returns configurations for given olapic type and optional parameters.\n * @summary tenants/{tenant}/applications/olapic/configuration\n */\nexport var getTenantApplicationsOlapicConfiguration = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/applications/olapic/configuration\"), method: 'get', params: params }, signal);\n};\n/**\n * GET: Localization for Onboarding application\n * @summary tenants/{tenant}/applications/onboarding/localization\n */\nexport var getTenantApplicationsOnboardingLocalization = function (client, tenant, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/applications/onboarding/localization\"), method: 'get' }, signal);\n};\n/**\n * GET: Localization for Order History application\n * @summary tenants/{tenant}/applications/orderHistory/localization\n */\nexport var getTenantApplicationsOrderHistoryLocalization = function (client, tenant, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/applications/orderHistory/localization\"), method: 'get' }, signal);\n};\n/**\n * GET: Returns meta information for specified pageId. Publicly cached for 10 minutes.\n * @summary tenants/{tenant}/pageMetaData\n */\nexport var getTenantPageMetaData = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/pageMetaData\"), method: 'get', params: params }, signal);\n};\n/**\n * GET current period information\n * @summary tenants/{tenant}/periods/currentPeriod\n */\nexport var getTenantPeriodsCurrentPeriod = function (client, tenant, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/periods/currentPeriod\"), method: 'get' }, signal);\n};\n/**\n * GET: Provides product permissions\n * @summary tenants/{tenant}/products/{productCode}/permission\n */\nexport var getTenantProductPermission = function (client, tenant, productCode, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/products/\").concat(productCode, \"/permission\"), method: 'get', params: params }, signal);\n};\n/**\n * GET: Provides concept permissions\n * @summary tenants/{tenant}/concepts/{conceptCode}/permission\n */\nexport var getTenantConceptPermission = function (client, tenant, conceptCode, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/concepts/\").concat(conceptCode, \"/permission\"), method: 'get', params: params }, signal);\n};\n/**\n * Get personal beauty store localization\n * @summary personalBeautyStore/tenants/{tenant}/localization\n */\nexport var getPersonalBeautyStoreTenantLocalization = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/personalBeautyStore/tenants/\".concat(tenant, \"/localization\"), method: 'get', params: params }, signal);\n};\n/**\n * GET: Returns metadata about personal details of registration with given ID\n * @summary tenants/{tenant}/customerRegistrationsMetadata/{registrationType}/personalDetailsMetadata\n */\nexport var getTenantCustomerRegistrationsMetadatumPersonalDetailsMetadata = function (client, tenant, registrationType, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/tenants/\".concat(tenant, \"/customerRegistrationsMetadata/\").concat(registrationType, \"/personalDetailsMetadata\"),\n method: 'get',\n }, signal);\n};\n/**\n * Get Personal Group Listing localization\n * @summary personalGroupListing/tenants/{tenant}/localization\n */\nexport var getPersonalGroupListingTenantLocalization = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/personalGroupListing/tenants/\".concat(tenant, \"/localization\"), method: 'get', params: params }, signal);\n};\n/**\n * Get Personal Group Overview localization\n * @summary personalGroupOverview/tenants/{tenant}/localization\n */\nexport var getPersonalGroupOverviewTenantLocalization = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/personalGroupOverview/tenants/\".concat(tenant, \"/localization\"), method: 'get', params: params }, signal);\n};\n/**\n * Get Personal Menu localization\n * @summary applications/personalMenu/tenants/{tenant}/localization\n */\nexport var getApplicationsPersonalMenuTenantLocalization = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/applications/personalMenu/tenants/\".concat(tenant, \"/localization\"), method: 'get', params: params }, signal);\n};\n/**\n * Returns collection of popular product for chosen type and related category.\n * @summary tenants/{tenant}/popularProducts\n */\nexport var getTenantPopularProducts = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/popularProducts\"), method: 'get', params: params }, signal);\n};\n/**\n * GET: Provides information about product price\n * @summary tenants/{tenant}/products/{productCode}/price\n */\nexport var getTenantProductPrice = function (client, tenant, productCode, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/products/\").concat(productCode, \"/price\"), method: 'get', params: params }, signal);\n};\n/**\n * GET: Provides information about concept price\n * @summary tenants/{tenant}/concepts/{conceptCode}/price\n */\nexport var getTenantConceptPrice = function (client, tenant, conceptCode, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/concepts/\").concat(conceptCode, \"/price\"), method: 'get', params: params }, signal);\n};\n/**\n * Get product box\n * @summary tenants/{tenant}/applications/productBox\n */\nexport var getTenantApplicationsProductBox = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/applications/productBox\"), method: 'get', params: params }, signal);\n};\n/**\n * Gets single product bundle by product code\n * @summary tenants/{tenant}/productBundles/{productCode}\n */\nexport var getTenantProductBundle = function (client, tenant, productCode, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/productBundles/\").concat(productCode), method: 'get', params: params }, signal);\n};\n/**\n * Gets collection of product bundles\n * @summary tenants/{tenant}/productBundles\n */\nexport var getTenantProductBundles = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/productBundles\"), method: 'get', params: params }, signal);\n};\n/**\n * GET - Product Detail Configuration\n * @summary tenants/{tenant}/applications/productDetail/configuration\n */\nexport var getTenantApplicationsProductDetailConfiguration = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/applications/productDetail/configuration\"), method: 'get', params: params }, signal);\n};\n/**\n * Gets calculated attributes for producr from product index.\n * @summary tenants/{tenant}/productIndexItems\n */\nexport var getTenantProductIndexItems = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/productIndexItems\"), method: 'get', params: params }, signal);\n};\n/**\n * GET: Provides collection of Product Labels' contents.\n * @summary tenants/{tenant}/productLabelsContent\n */\nexport var getTenantProductLabelsContent = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/productLabelsContent\"), method: 'get', params: params }, signal);\n};\n/**\n * Get product listing with products and promo banners based on ID\n * @summary tenants/{tenant}/applications/MV7/productlistings\n */\nexport var getTenantApplicationsMV7Productlistings = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/applications/MV7/productlistings\"), method: 'get', params: params }, signal);\n};\n/**\n * GET: Provides product\n * @summary tenants/{tenant}/deprecatedProducts/{productCode}\n */\nexport var getTenantDeprecatedProduct = function (client, tenant, productCode, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/deprecatedProducts/\").concat(productCode), method: 'get', params: params }, signal);\n};\n/**\n * Provides dynamic link to a single product.\n * @summary tenants/{tenant}/products/{productCode}/dynamiclink\n */\nexport var getTenantProductDynamiclink = function (client, tenant, productCode, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/products/\").concat(productCode, \"/dynamiclink\"), method: 'get', params: params }, signal);\n};\n/**\n * GET: Provides product from product service\n * @summary tenants/{tenant}/products/{productCode}\n */\nexport var getTenantProduct = function (client, tenant, productCode, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/products/\").concat(productCode), method: 'get', params: params }, signal);\n};\n/**\n * Gets the product data for Mv7 mobile app.\n * @summary tenants/{tenant}/applications/mv7/modules/productsRepository/products\n */\nexport var getTenantApplicationsMv7ModulesProductsRepositoryProducts = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/tenants/\".concat(tenant, \"/applications/mv7/modules/productsRepository/products\"),\n method: 'get',\n params: params,\n }, signal);\n};\n/**\n * Gets the products hashcodes data for Mv7 mobile app.\n * @summary tenants/{tenant}/applications/mv7/modules/productsRepository/productsHashCodes\n */\nexport var getTenantApplicationsMv7ModulesProductsRepositoryProductsHashCodes = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/tenants/\".concat(tenant, \"/applications/mv7/modules/productsRepository/productsHashCodes\"),\n method: 'get',\n params: params,\n }, signal);\n};\n/**\n * Gets the products expected inbounds\n * @summary tenants/{tenant}/productsExpectedInbounds\n */\nexport var getTenantProductsExpectedInbounds = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/productsExpectedInbounds\"), method: 'get', params: params }, signal);\n};\n/**\n * Gets the products ingredients\n * @summary tenants/{tenant}/productsIngredients\n */\nexport var getTenantProductsIngredients = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/productsIngredients\"), method: 'get', params: params }, signal);\n};\n/**\n * Gets collection of product labels for anonymous customer.\n * @summary tenants/{tenant}/productsLabels\n */\nexport var getTenantProductsLabels = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/productsLabels\"), method: 'get', params: params }, signal);\n};\n/**\n * Gets the products labels data for Mv7 mobile app.\n * @summary tenants/{tenant}/applications/mv7/modules/productsLabelsRepository/productsLabels\n */\nexport var getTenantApplicationsMv7ModulesProductsLabelsRepositoryProductsLabels = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/tenants/\".concat(tenant, \"/applications/mv7/modules/productsLabelsRepository/productsLabels\"),\n method: 'get',\n params: params,\n }, signal);\n};\n/**\n * Gets products manufacturers.\n * @summary tenants/{tenant}/productsManufacturers\n */\nexport var getTenantProductsManufacturers = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/productsManufacturers\"), method: 'get', params: params }, signal);\n};\n/**\n * Gets the products prices data for Mv7 mobile app.\n * @summary tenants/{tenant}/applications/mv7/modules/productsPricesRepository/productsPrices\n */\nexport var getTenantApplicationsMv7ModulesProductsPricesRepositoryProductsPrices = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/tenants/\".concat(tenant, \"/applications/mv7/modules/productsPricesRepository/productsPrices\"),\n method: 'get',\n params: params,\n }, signal);\n};\n/**\n * Gets products replacements for specific customer.\n * @summary tenants/{tenant}/productsReplacements\n */\nexport var getTenantProductsReplacements = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/productsReplacements\"), method: 'get', params: params }, signal);\n};\n/**\n * GET: Localization for profile application\n * @summary tenants/{tenant}/applications/profile/localization\n */\nexport var getTenantApplicationsProfileLocalization = function (client, tenant, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/applications/profile/localization\"), method: 'get' }, signal);\n};\n/**\n * Gets best offers banners\n * @summary tenants/{tenant}/promotions/banners/bestoffers\n */\nexport var getTenantPromotionsBannersBestoffers = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/promotions/banners/bestoffers\"), method: 'get', params: params }, signal);\n};\n/**\n * Gets whats new type banners\n * @summary tenants/{tenant}/promotions/banners/whatsnew\n */\nexport var getTenantPromotionsBannersWhatsnew = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/promotions/banners/whatsnew\"), method: 'get', params: params }, signal);\n};\n/**\n * Gets hero banners\n * @summary tenants/{tenant}/promotions/banners/hero\n */\nexport var getTenantPromotionsBannersHero = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/promotions/banners/hero\"), method: 'get', params: params }, signal);\n};\n/**\n * Gets campaign banners\n * @summary tenants/{tenant}/promotions/banners/campaign\n */\nexport var getTenantPromotionsBannersCampaign = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/promotions/banners/campaign\"), method: 'get', params: params }, signal);\n};\n/**\n * Gets category banners\n * @summary tenants/{tenant}/promotions/banners/category\n */\nexport var getTenantPromotionsBannersCategory = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/promotions/banners/category\"), method: 'get', params: params }, signal);\n};\n/**\n * Gets current promotions\n * @summary tenants/{tenant}/digitalPromotions\n */\nexport var getTenantDigitalPromotions = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/digitalPromotions\"), method: 'get', params: params }, signal);\n};\n/**\n * GET: Localization for RealTime Order Tracking application\n * @summary tenants/{tenant}/applications/realTimeOrderTracking/localization\n */\nexport var getTenantApplicationsRealTimeOrderTrackingLocalization = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/tenants/\".concat(tenant, \"/applications/realTimeOrderTracking/localization\"),\n method: 'get',\n params: params,\n }, signal);\n};\n/**\n * GET: Get RealTimeOrderTracking\n * @summary tenants/{tenant}/realtimeOrderTrackings/{orderId}\n */\nexport var getTenantRealtimeOrderTracking = function (client, tenant, orderId, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/realtimeOrderTrackings/\").concat(orderId), method: 'get', params: params }, signal);\n};\n/**\n * GET: Returns metadata about pre-step of registration\n * @summary tenants/{tenant}/customerRegistrationsMetadata/{registrationType}/registrationsMetadata\n */\nexport var getTenantCustomerRegistrationsMetadatumRegistrationsMetadata = function (client, tenant, registrationType, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/tenants/\".concat(tenant, \"/customerRegistrationsMetadata/\").concat(registrationType, \"/registrationsMetadata\"),\n method: 'get',\n }, signal);\n};\n/**\n * GET - Provides related product codes and relation types.\n * @summary tenants/{tenant}/products/{productCode}/relations\n */\nexport var getTenantProductRelations = function (client, tenant, productCode, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/products/\").concat(productCode, \"/relations\"), method: 'get', params: params }, signal);\n};\n/**\n * GET: Returns metadata for reports SPA\n * @summary tenants/{tenant}/applications/reportsSpa/metadata\n */\nexport var getTenantApplicationsReportsSpaMetadata = function (client, tenant, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/applications/reportsSpa/metadata\"), method: 'get' }, signal);\n};\n/**\n * Dummy endpoint\n * @summary tenants/{tenant}/sample\n */\nexport var getTenantSample = function (client, tenant, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/sample\"), method: 'get' }, signal);\n};\n/**\n * Gets available facets for each category to use in search filters.\n * @summary tenants/{tenant}/applications/MV7/facetSettings\n */\nexport var getTenantApplicationsMV7FacetSettings = function (client, tenant, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/applications/MV7/facetSettings\"), method: 'get' }, signal);\n};\n/**\n * GET: Localization for brand partner's simplified registration application\n * @summary tenants/{tenant}/applications/simplifiedRegistration/brandPartnerLocalization\n */\nexport var getTenantApplicationsSimplifiedRegistrationBrandPartnerLocalization = function (client, tenant, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/tenants/\".concat(tenant, \"/applications/simplifiedRegistration/brandPartnerLocalization\"),\n method: 'get',\n }, signal);\n};\n/**\n * GET: Localization for VIP customer's simplified registration application\n * @summary tenants/{tenant}/applications/simplifiedRegistration/vipCustomerLocalization\n */\nexport var getTenantApplicationsSimplifiedRegistrationVipCustomerLocalization = function (client, tenant, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/tenants/\".concat(tenant, \"/applications/simplifiedRegistration/vipCustomerLocalization\"),\n method: 'get',\n }, signal);\n};\n/**\n * GET - Returns collection of Social Media Links.\n * @summary tenants/{tenant}/socialMediaLinks\n */\nexport var getTenantSocialMediaLinks = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/socialMediaLinks\"), method: 'get', params: params }, signal);\n};\n/**\n * GET: Returns metadata about sponsor details of registration with given ID\n * @summary tenants/{tenant}/customerRegistrationsMetadata/{registrationType}/sponsorDetailsMetadata\n */\nexport var getTenantCustomerRegistrationsMetadatumSponsorDetailsMetadata = function (client, tenant, registrationType, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/tenants/\".concat(tenant, \"/customerRegistrationsMetadata/\").concat(registrationType, \"/sponsorDetailsMetadata\"),\n method: 'get',\n }, signal);\n};\n/**\n * @summary tenants/{tenant}/stepsToSuccessPhases\n */\nexport var getTenantStepsToSuccessPhases = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/stepsToSuccessPhases\"), method: 'get', params: params }, signal);\n};\n/**\n * Get Steps to success localization\n * @summary tenants/{tenant}/applications/stepsToSuccess/localization\n */\nexport var getTenantApplicationsStepsToSuccessLocalization = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/applications/stepsToSuccess/localization\"), method: 'get', params: params }, signal);\n};\n/**\n * Returns all existing subscription types and their packages, including inactive ones.\n * @summary tenants/{tenant}/subscriptionTypes\n */\nexport var getTenantSubscriptionTypes = function (client, tenant, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/subscriptionTypes\"), method: 'get' }, signal);\n};\n/**\n * @summary tenants/{tenant}/subscriptionReplacements\n */\nexport var getTenantSubscriptionReplacements = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/subscriptionReplacements\"), method: 'get', params: params }, signal);\n};\n/**\n * GET: Localization for SubscriptionWizard application\n * @summary tenants/{tenant}/applications/subscriptionWizard/localization\n */\nexport var getTenantApplicationsSubscriptionWizardLocalization = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({\n url: \"/tenants/\".concat(tenant, \"/applications/subscriptionWizard/localization\"),\n method: 'get',\n params: params,\n }, signal);\n};\n/**\n * Gets the localization.\n * @summary applications/supportCenter/tenants/{tenant}/localization\n */\nexport var getApplicationsSupportCenterTenantLocalization = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/applications/supportCenter/tenants/\".concat(tenant, \"/localization\"), method: 'get', params: params }, signal);\n};\n/**\n * gets tag groups\n * @summary tenants/{tenant}/tagGroups\n */\nexport var getTenantTagGroups = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/tagGroups\"), method: 'get', params: params }, signal);\n};\n/**\n * Get target list localization\n * @summary targetList/tenants/{tenant}/localization\n */\nexport var getTargetListTenantLocalization = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/targetList/tenants/\".concat(tenant, \"/localization\"), method: 'get', params: params }, signal);\n};\n/**\n * Returns terms info and html content\n * @summary tenants/{tenant}/terms/{termId}/html\n */\nexport var getTenantTermHtml = function (client, tenant, termId, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/terms/\").concat(termId, \"/html\"), method: 'get' }, signal);\n};\n/**\n * Ping\n * @summary test/tenants/{tenant}/ping\n */\nexport var getTestTenantPing = function (client, tenant, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/test/tenants/\".concat(tenant, \"/ping\"), method: 'get' }, signal);\n};\n/**\n * Get GTM, Google Analytics and OneTrust configuration\n * @summary tenants/{tenant}/thirdPartyConfiguration\n */\nexport var getTenantThirdPartyConfiguration = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/thirdPartyConfiguration\"), method: 'get', params: params }, signal);\n};\n/**\n * Get title progress localization\n * @summary titleProgress/tenants/{tenant}/localization\n */\nexport var getTitleProgressTenantLocalization = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/titleProgress/tenants/\".concat(tenant, \"/localization\"), method: 'get', params: params }, signal);\n};\n/**\n * GET - provides tenant translations\n * @deprecated\n * @summary tenants/{tenant}/translations\n */\nexport var getTenantTranslationsDeprecated = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/translations\"), method: 'get', params: params }, signal);\n};\n/**\n * GET - provides Vip Customer Banner content.\n * @summary tenants/{tenant}/vipCustomerBanner\n */\nexport var getTenantVipCustomerBanner = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/vipCustomerBanner\"), method: 'get', params: params }, signal);\n};\n/**\n * GET: Localization for VipUpgrade application\n * @summary tenants/{tenant}/applications/vipUpgrade/localization\n */\nexport var getTenantApplicationsVipUpgradeLocalization = function (client, tenant, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/applications/vipUpgrade/localization\"), method: 'get' }, signal);\n};\n/**\n * GET: Localization for Vouchers application\n * @summary tenants/{tenant}/applications/vouchers/localization\n */\nexport var getTenantApplicationsVouchersLocalization = function (client, tenant, params, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/applications/vouchers/localization\"), method: 'get', params: params }, signal);\n};\n/**\n * Get wellnes club static image banners\n * @summary tenants/{tenant}/applications/WellnessClub/banners\n */\nexport var getTenantApplicationsWellnessClubBanners = function (client, tenant, signal) {\n var customInstance = client.createFetcher();\n return customInstance({ url: \"/tenants/\".concat(tenant, \"/applications/WellnessClub/banners\"), method: 'get' }, signal);\n};\n\n//# sourceMappingURL=api.js.map\n","import _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nimport { TranslationKeys } from './TranslationKeys';\nexport var getTranslationKeys = function getTranslationKeys() {\n return Object.values(TranslationKeys);\n};\nexport var getTranslationsWithFallback = function getTranslationsWithFallback(translations) {\n if (translations) {\n return translations;\n }\n return getTranslationKeys().map(function (key) {\n return _defineProperty({}, key, key);\n }).reduce(function (prev, next) {\n return _objectSpread(_objectSpread({}, prev), next);\n });\n};","import _taggedTemplateLiteral from \"@babel/runtime/helpers/taggedTemplateLiteral\";\nvar _templateObject;\nimport { Dialog } from '@ori-ui/components';\nimport { styled } from '@ori-ui/mui';\nexport var Root = styled(Dialog, {\n shouldForwardProp: function shouldForwardProp(propName) {\n return propName !== 'zIndex';\n }\n})(_templateObject || (_templateObject = _taggedTemplateLiteral([\"\\n z-index: \", \";\\n\\n button {\\n z-index: \", \";\\n }\\n\\n & .MuiOriDialogBase-closeButton {\\n z-index: 10;\\n }\\n\\n & .MuiPaper-root {\\n \", \" {\\n height: 450px;\\n overflow: visible;\\n width: 766px;\\n }\\n\\n \", \" {\\n width: 855px;\\n }\\n }\\n\"])), function (_ref) {\n var zIndex = _ref.zIndex;\n return zIndex;\n}, function (_ref2) {\n var zIndex = _ref2.zIndex;\n return typeof zIndex === 'number' ? zIndex + 1 : undefined;\n}, function (_ref3) {\n var theme = _ref3.theme;\n return theme.breakpoints.up('md');\n}, function (_ref4) {\n var theme = _ref4.theme;\n return theme.breakpoints.up('lg');\n});","import { useSWRFetch } from './internal/useSWRFetch';\nimport { getProductInfoDialogTranslations } from '../api';\nimport { getTranslationsWithFallback } from '../translations';\nexport var useGetProductInfoDialogTranslations = function useGetProductInfoDialogTranslations(_ref) {\n var currentLanguage = _ref.currentLanguage,\n translationsUrl = _ref.translationsUrl;\n return useSWRFetch({\n fallback: getTranslationsWithFallback(),\n fetcher: async function fetcher() {\n return getProductInfoDialogTranslations({\n currentLanguage: currentLanguage,\n translationsUrl: translationsUrl\n });\n },\n key: [currentLanguage, translationsUrl]\n });\n};","import axios from 'axios';\nimport { getTranslationKeys } from '../translations';\nexport var getProductInfoDialogTranslations = async function getProductInfoDialogTranslations(_ref) {\n var currentLanguage = _ref.currentLanguage,\n translationsUrl = _ref.translationsUrl;\n var url = new URL('/system/ajax/Localization/Translate', translationsUrl);\n url.searchParams.set('sc_lang', currentLanguage);\n getTranslationKeys().forEach(function (key) {\n return url.searchParams.append('keys', key);\n });\n var _await$axios$get = await axios.get(url.toString()),\n data = _await$axios$get.data;\n return data;\n};","import { Root } from './styles';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport var Dialog = function Dialog(_ref) {\n var children = _ref.children,\n container = _ref.container,\n header = _ref.header,\n id = _ref.id,\n onClose = _ref.onClose,\n open = _ref.open,\n zIndex = _ref.zIndex;\n return /*#__PURE__*/_jsx(Root, {\n container: container,\n header: header,\n id: id,\n open: open !== null && open !== void 0 ? open : false,\n size: \"small\",\n zIndex: zIndex,\n onClose: onClose,\n children: children\n });\n};","import { Box, CircularProgress } from '@ori-ui/mui';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport var Loading = function Loading() {\n return /*#__PURE__*/_jsx(Box, {\n alignItems: \"center\",\n display: \"flex\",\n flexDirection: \"column\",\n height: \"100%\",\n justifyContent: \"center\",\n textAlign: \"center\",\n width: \"100%\",\n children: /*#__PURE__*/_jsx(CircularProgress, {\n color: \"primary\"\n })\n });\n};","import _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nimport { lazy, Suspense, useMemo } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport { Dialog } from '../components/Dialog';\nimport { Loading } from '../components/Loading';\nimport { DIALOG_MODE_LOADING } from '../constants';\nimport { useIsDesktop } from '../hooks/internal';\nimport { TranslationKeys } from '../translations';\nimport { getInitialProduct } from '../utils';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport var DialogContent = /*#__PURE__*/lazy(async function () {\n return {\n default: (await import('./DialogContent')).DialogContent\n };\n});\nexport var DialogContainer = function DialogContainer(_ref) {\n var _ref$analytics = _ref.analytics,\n analytics = _ref$analytics === void 0 ? {} : _ref$analytics,\n _ref$customer = _ref.customer,\n customer = _ref$customer === void 0 ? {} : _ref$customer,\n _ref$dialog = _ref.dialog,\n dialog = _ref$dialog === void 0 ? {} : _ref$dialog,\n _ref$handlers = _ref.handlers,\n handlers = _ref$handlers === void 0 ? {} : _ref$handlers,\n initialProductCode = _ref.initialProductCode,\n _ref$mode = _ref.mode,\n mode = _ref$mode === void 0 ? DIALOG_MODE_LOADING : _ref$mode,\n _ref$products = _ref.products,\n products = _ref$products === void 0 ? [] : _ref$products,\n _ref$shared = _ref.shared,\n shared = _ref$shared === void 0 ? {} : _ref$shared;\n var originalItemCode = shared.originalItemCode;\n var _getInitialProduct = getInitialProduct({\n initialProductCode: initialProductCode,\n products: products\n }),\n product = _getInitialProduct.product;\n var _ref2 = product !== null && product !== void 0 ? product : {},\n canBeReserved = _ref2.canBeReserved;\n var _useTranslation = useTranslation(),\n _useTranslation2 = _slicedToArray(_useTranslation, 1),\n translate = _useTranslation2[0];\n var isDesktop = useIsDesktop();\n var header = useMemo(function () {\n if (!isDesktop) {\n if (originalItemCode) {\n return translate(TranslationKeys.ReplaceWith);\n }\n if (canBeReserved) {\n return translate(TranslationKeys.Reserve);\n }\n }\n return undefined;\n }, [canBeReserved, isDesktop, originalItemCode, translate]);\n return /*#__PURE__*/_jsx(Dialog, _objectSpread(_objectSpread({\n header: header\n }, dialog), {}, {\n children: /*#__PURE__*/_jsx(Suspense, {\n fallback: /*#__PURE__*/_jsx(Loading, {}),\n children: mode === DIALOG_MODE_LOADING ? /*#__PURE__*/_jsx(Loading, {}) : /*#__PURE__*/_jsx(DialogContent, {\n analytics: analytics,\n customer: customer,\n handlers: handlers,\n initialProductCode: initialProductCode,\n mode: mode,\n products: products,\n shared: shared\n })\n })\n }));\n};","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/assertThisInitialized\";\nimport _inherits from \"@babel/runtime/helpers/inherits\";\nimport _possibleConstructorReturn from \"@babel/runtime/helpers/possibleConstructorReturn\";\nimport _getPrototypeOf from \"@babel/runtime/helpers/getPrototypeOf\";\nimport _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\nimport { Dialog } from '@ori-ui/components';\nimport { Component } from 'react';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport var ErrorBoundary = /*#__PURE__*/function (_Component) {\n _inherits(ErrorBoundary, _Component);\n var _super = _createSuper(ErrorBoundary);\n function ErrorBoundary() {\n var _this;\n _classCallCheck(this, ErrorBoundary);\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n _this = _super.call.apply(_super, [this].concat(args));\n _defineProperty(_assertThisInitialized(_this), \"state\", {\n open: false\n });\n _defineProperty(_assertThisInitialized(_this), \"handleOnClose\", function () {\n return _this.setState({\n open: false\n });\n });\n return _this;\n }\n _createClass(ErrorBoundary, [{\n key: \"render\",\n value: function render() {\n var _this$state = this.state,\n error = _this$state.error,\n open = _this$state.open;\n if (error) {\n return /*#__PURE__*/_jsx(Dialog, {\n open: open,\n header: \"Ooops... error found :(\",\n size: \"small\",\n onClose: this.handleOnClose,\n children: /*#__PURE__*/_jsx(\"pre\", {\n children: error.message\n })\n });\n }\n var children = this.props.children;\n return children;\n }\n }], [{\n key: \"getDerivedStateFromError\",\n value: function getDerivedStateFromError(error) {\n return {\n error: error,\n open: true\n };\n }\n }]);\n return ErrorBoundary;\n}(Component);","import _typeof from '@babel/runtime/helpers/esm/typeof';\nimport _classCallCheck from '@babel/runtime/helpers/esm/classCallCheck';\nimport _createClass from '@babel/runtime/helpers/esm/createClass';\nimport _assertThisInitialized from '@babel/runtime/helpers/esm/assertThisInitialized';\nimport _inherits from '@babel/runtime/helpers/esm/inherits';\nimport _possibleConstructorReturn from '@babel/runtime/helpers/esm/possibleConstructorReturn';\nimport _getPrototypeOf from '@babel/runtime/helpers/esm/getPrototypeOf';\nimport _defineProperty from '@babel/runtime/helpers/esm/defineProperty';\nimport _toArray from '@babel/runtime/helpers/esm/toArray';\n\nfunction ownKeys$6(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread$6(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$6(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$6(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nvar consoleLogger = {\n type: 'logger',\n log: function log(args) {\n this.output('log', args);\n },\n warn: function warn(args) {\n this.output('warn', args);\n },\n error: function error(args) {\n this.output('error', args);\n },\n output: function output(type, args) {\n if (console && console[type]) console[type].apply(console, args);\n }\n};\nvar Logger = function () {\n function Logger(concreteLogger) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n _classCallCheck(this, Logger);\n this.init(concreteLogger, options);\n }\n _createClass(Logger, [{\n key: \"init\",\n value: function init(concreteLogger) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n this.prefix = options.prefix || 'i18next:';\n this.logger = concreteLogger || consoleLogger;\n this.options = options;\n this.debug = options.debug;\n }\n }, {\n key: \"setDebug\",\n value: function setDebug(bool) {\n this.debug = bool;\n }\n }, {\n key: \"log\",\n value: function log() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n return this.forward(args, 'log', '', true);\n }\n }, {\n key: \"warn\",\n value: function warn() {\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n return this.forward(args, 'warn', '', true);\n }\n }, {\n key: \"error\",\n value: function error() {\n for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {\n args[_key3] = arguments[_key3];\n }\n return this.forward(args, 'error', '');\n }\n }, {\n key: \"deprecate\",\n value: function deprecate() {\n for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {\n args[_key4] = arguments[_key4];\n }\n return this.forward(args, 'warn', 'WARNING DEPRECATED: ', true);\n }\n }, {\n key: \"forward\",\n value: function forward(args, lvl, prefix, debugOnly) {\n if (debugOnly && !this.debug) return null;\n if (typeof args[0] === 'string') args[0] = \"\".concat(prefix).concat(this.prefix, \" \").concat(args[0]);\n return this.logger[lvl](args);\n }\n }, {\n key: \"create\",\n value: function create(moduleName) {\n return new Logger(this.logger, _objectSpread$6(_objectSpread$6({}, {\n prefix: \"\".concat(this.prefix, \":\").concat(moduleName, \":\")\n }), this.options));\n }\n }, {\n key: \"clone\",\n value: function clone(options) {\n options = options || this.options;\n options.prefix = options.prefix || this.prefix;\n return new Logger(this.logger, options);\n }\n }]);\n return Logger;\n}();\nvar baseLogger = new Logger();\n\nvar EventEmitter = function () {\n function EventEmitter() {\n _classCallCheck(this, EventEmitter);\n this.observers = {};\n }\n _createClass(EventEmitter, [{\n key: \"on\",\n value: function on(events, listener) {\n var _this = this;\n events.split(' ').forEach(function (event) {\n _this.observers[event] = _this.observers[event] || [];\n _this.observers[event].push(listener);\n });\n return this;\n }\n }, {\n key: \"off\",\n value: function off(event, listener) {\n if (!this.observers[event]) return;\n if (!listener) {\n delete this.observers[event];\n return;\n }\n this.observers[event] = this.observers[event].filter(function (l) {\n return l !== listener;\n });\n }\n }, {\n key: \"emit\",\n value: function emit(event) {\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n if (this.observers[event]) {\n var cloned = [].concat(this.observers[event]);\n cloned.forEach(function (observer) {\n observer.apply(void 0, args);\n });\n }\n if (this.observers['*']) {\n var _cloned = [].concat(this.observers['*']);\n _cloned.forEach(function (observer) {\n observer.apply(observer, [event].concat(args));\n });\n }\n }\n }]);\n return EventEmitter;\n}();\n\nfunction defer() {\n var res;\n var rej;\n var promise = new Promise(function (resolve, reject) {\n res = resolve;\n rej = reject;\n });\n promise.resolve = res;\n promise.reject = rej;\n return promise;\n}\nfunction makeString(object) {\n if (object == null) return '';\n return '' + object;\n}\nfunction copy(a, s, t) {\n a.forEach(function (m) {\n if (s[m]) t[m] = s[m];\n });\n}\nfunction getLastOfPath(object, path, Empty) {\n function cleanKey(key) {\n return key && key.indexOf('###') > -1 ? key.replace(/###/g, '.') : key;\n }\n function canNotTraverseDeeper() {\n return !object || typeof object === 'string';\n }\n var stack = typeof path !== 'string' ? [].concat(path) : path.split('.');\n while (stack.length > 1) {\n if (canNotTraverseDeeper()) return {};\n var key = cleanKey(stack.shift());\n if (!object[key] && Empty) object[key] = new Empty();\n if (Object.prototype.hasOwnProperty.call(object, key)) {\n object = object[key];\n } else {\n object = {};\n }\n }\n if (canNotTraverseDeeper()) return {};\n return {\n obj: object,\n k: cleanKey(stack.shift())\n };\n}\nfunction setPath(object, path, newValue) {\n var _getLastOfPath = getLastOfPath(object, path, Object),\n obj = _getLastOfPath.obj,\n k = _getLastOfPath.k;\n obj[k] = newValue;\n}\nfunction pushPath(object, path, newValue, concat) {\n var _getLastOfPath2 = getLastOfPath(object, path, Object),\n obj = _getLastOfPath2.obj,\n k = _getLastOfPath2.k;\n obj[k] = obj[k] || [];\n if (concat) obj[k] = obj[k].concat(newValue);\n if (!concat) obj[k].push(newValue);\n}\nfunction getPath(object, path) {\n var _getLastOfPath3 = getLastOfPath(object, path),\n obj = _getLastOfPath3.obj,\n k = _getLastOfPath3.k;\n if (!obj) return undefined;\n return obj[k];\n}\nfunction getPathWithDefaults(data, defaultData, key) {\n var value = getPath(data, key);\n if (value !== undefined) {\n return value;\n }\n return getPath(defaultData, key);\n}\nfunction deepExtend(target, source, overwrite) {\n for (var prop in source) {\n if (prop !== '__proto__' && prop !== 'constructor') {\n if (prop in target) {\n if (typeof target[prop] === 'string' || target[prop] instanceof String || typeof source[prop] === 'string' || source[prop] instanceof String) {\n if (overwrite) target[prop] = source[prop];\n } else {\n deepExtend(target[prop], source[prop], overwrite);\n }\n } else {\n target[prop] = source[prop];\n }\n }\n }\n return target;\n}\nfunction regexEscape(str) {\n return str.replace(/[\\-\\[\\]\\/\\{\\}\\(\\)\\*\\+\\?\\.\\\\\\^\\$\\|]/g, '\\\\$&');\n}\nvar _entityMap = {\n '&': '&',\n '<': '<',\n '>': '>',\n '\"': '"',\n \"'\": ''',\n '/': '/'\n};\nfunction escape(data) {\n if (typeof data === 'string') {\n return data.replace(/[&<>\"'\\/]/g, function (s) {\n return _entityMap[s];\n });\n }\n return data;\n}\nvar isIE10 = typeof window !== 'undefined' && window.navigator && typeof window.navigator.userAgentData === 'undefined' && window.navigator.userAgent && window.navigator.userAgent.indexOf('MSIE') > -1;\nvar chars = [' ', ',', '?', '!', ';'];\nfunction looksLikeObjectPath(key, nsSeparator, keySeparator) {\n nsSeparator = nsSeparator || '';\n keySeparator = keySeparator || '';\n var possibleChars = chars.filter(function (c) {\n return nsSeparator.indexOf(c) < 0 && keySeparator.indexOf(c) < 0;\n });\n if (possibleChars.length === 0) return true;\n var r = new RegExp(\"(\".concat(possibleChars.map(function (c) {\n return c === '?' ? '\\\\?' : c;\n }).join('|'), \")\"));\n var matched = !r.test(key);\n if (!matched) {\n var ki = key.indexOf(keySeparator);\n if (ki > 0 && !r.test(key.substring(0, ki))) {\n matched = true;\n }\n }\n return matched;\n}\n\nfunction ownKeys$5(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread$5(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$5(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$5(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _createSuper$3(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$3(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\nfunction _isNativeReflectConstruct$3() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\nfunction deepFind(obj, path) {\n var keySeparator = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '.';\n if (!obj) return undefined;\n if (obj[path]) return obj[path];\n var paths = path.split(keySeparator);\n var current = obj;\n for (var i = 0; i < paths.length; ++i) {\n if (!current) return undefined;\n if (typeof current[paths[i]] === 'string' && i + 1 < paths.length) {\n return undefined;\n }\n if (current[paths[i]] === undefined) {\n var j = 2;\n var p = paths.slice(i, i + j).join(keySeparator);\n var mix = current[p];\n while (mix === undefined && paths.length > i + j) {\n j++;\n p = paths.slice(i, i + j).join(keySeparator);\n mix = current[p];\n }\n if (mix === undefined) return undefined;\n if (mix === null) return null;\n if (path.endsWith(p)) {\n if (typeof mix === 'string') return mix;\n if (p && typeof mix[p] === 'string') return mix[p];\n }\n var joinedPath = paths.slice(i + j).join(keySeparator);\n if (joinedPath) return deepFind(mix, joinedPath, keySeparator);\n return undefined;\n }\n current = current[paths[i]];\n }\n return current;\n}\nvar ResourceStore = function (_EventEmitter) {\n _inherits(ResourceStore, _EventEmitter);\n var _super = _createSuper$3(ResourceStore);\n function ResourceStore(data) {\n var _this;\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {\n ns: ['translation'],\n defaultNS: 'translation'\n };\n _classCallCheck(this, ResourceStore);\n _this = _super.call(this);\n if (isIE10) {\n EventEmitter.call(_assertThisInitialized(_this));\n }\n _this.data = data || {};\n _this.options = options;\n if (_this.options.keySeparator === undefined) {\n _this.options.keySeparator = '.';\n }\n if (_this.options.ignoreJSONStructure === undefined) {\n _this.options.ignoreJSONStructure = true;\n }\n return _this;\n }\n _createClass(ResourceStore, [{\n key: \"addNamespaces\",\n value: function addNamespaces(ns) {\n if (this.options.ns.indexOf(ns) < 0) {\n this.options.ns.push(ns);\n }\n }\n }, {\n key: \"removeNamespaces\",\n value: function removeNamespaces(ns) {\n var index = this.options.ns.indexOf(ns);\n if (index > -1) {\n this.options.ns.splice(index, 1);\n }\n }\n }, {\n key: \"getResource\",\n value: function getResource(lng, ns, key) {\n var options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};\n var keySeparator = options.keySeparator !== undefined ? options.keySeparator : this.options.keySeparator;\n var ignoreJSONStructure = options.ignoreJSONStructure !== undefined ? options.ignoreJSONStructure : this.options.ignoreJSONStructure;\n var path = [lng, ns];\n if (key && typeof key !== 'string') path = path.concat(key);\n if (key && typeof key === 'string') path = path.concat(keySeparator ? key.split(keySeparator) : key);\n if (lng.indexOf('.') > -1) {\n path = lng.split('.');\n }\n var result = getPath(this.data, path);\n if (result || !ignoreJSONStructure || typeof key !== 'string') return result;\n return deepFind(this.data && this.data[lng] && this.data[lng][ns], key, keySeparator);\n }\n }, {\n key: \"addResource\",\n value: function addResource(lng, ns, key, value) {\n var options = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : {\n silent: false\n };\n var keySeparator = this.options.keySeparator;\n if (keySeparator === undefined) keySeparator = '.';\n var path = [lng, ns];\n if (key) path = path.concat(keySeparator ? key.split(keySeparator) : key);\n if (lng.indexOf('.') > -1) {\n path = lng.split('.');\n value = ns;\n ns = path[1];\n }\n this.addNamespaces(ns);\n setPath(this.data, path, value);\n if (!options.silent) this.emit('added', lng, ns, key, value);\n }\n }, {\n key: \"addResources\",\n value: function addResources(lng, ns, resources) {\n var options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {\n silent: false\n };\n for (var m in resources) {\n if (typeof resources[m] === 'string' || Object.prototype.toString.apply(resources[m]) === '[object Array]') this.addResource(lng, ns, m, resources[m], {\n silent: true\n });\n }\n if (!options.silent) this.emit('added', lng, ns, resources);\n }\n }, {\n key: \"addResourceBundle\",\n value: function addResourceBundle(lng, ns, resources, deep, overwrite) {\n var options = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : {\n silent: false\n };\n var path = [lng, ns];\n if (lng.indexOf('.') > -1) {\n path = lng.split('.');\n deep = resources;\n resources = ns;\n ns = path[1];\n }\n this.addNamespaces(ns);\n var pack = getPath(this.data, path) || {};\n if (deep) {\n deepExtend(pack, resources, overwrite);\n } else {\n pack = _objectSpread$5(_objectSpread$5({}, pack), resources);\n }\n setPath(this.data, path, pack);\n if (!options.silent) this.emit('added', lng, ns, resources);\n }\n }, {\n key: \"removeResourceBundle\",\n value: function removeResourceBundle(lng, ns) {\n if (this.hasResourceBundle(lng, ns)) {\n delete this.data[lng][ns];\n }\n this.removeNamespaces(ns);\n this.emit('removed', lng, ns);\n }\n }, {\n key: \"hasResourceBundle\",\n value: function hasResourceBundle(lng, ns) {\n return this.getResource(lng, ns) !== undefined;\n }\n }, {\n key: \"getResourceBundle\",\n value: function getResourceBundle(lng, ns) {\n if (!ns) ns = this.options.defaultNS;\n if (this.options.compatibilityAPI === 'v1') return _objectSpread$5(_objectSpread$5({}, {}), this.getResource(lng, ns));\n return this.getResource(lng, ns);\n }\n }, {\n key: \"getDataByLanguage\",\n value: function getDataByLanguage(lng) {\n return this.data[lng];\n }\n }, {\n key: \"hasLanguageSomeTranslations\",\n value: function hasLanguageSomeTranslations(lng) {\n var data = this.getDataByLanguage(lng);\n var n = data && Object.keys(data) || [];\n return !!n.find(function (v) {\n return data[v] && Object.keys(data[v]).length > 0;\n });\n }\n }, {\n key: \"toJSON\",\n value: function toJSON() {\n return this.data;\n }\n }]);\n return ResourceStore;\n}(EventEmitter);\n\nvar postProcessor = {\n processors: {},\n addPostProcessor: function addPostProcessor(module) {\n this.processors[module.name] = module;\n },\n handle: function handle(processors, value, key, options, translator) {\n var _this = this;\n processors.forEach(function (processor) {\n if (_this.processors[processor]) value = _this.processors[processor].process(value, key, options, translator);\n });\n return value;\n }\n};\n\nfunction ownKeys$4(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread$4(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$4(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$4(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _createSuper$2(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$2(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\nfunction _isNativeReflectConstruct$2() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\nvar checkedLoadedFor = {};\nvar Translator = function (_EventEmitter) {\n _inherits(Translator, _EventEmitter);\n var _super = _createSuper$2(Translator);\n function Translator(services) {\n var _this;\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n _classCallCheck(this, Translator);\n _this = _super.call(this);\n if (isIE10) {\n EventEmitter.call(_assertThisInitialized(_this));\n }\n copy(['resourceStore', 'languageUtils', 'pluralResolver', 'interpolator', 'backendConnector', 'i18nFormat', 'utils'], services, _assertThisInitialized(_this));\n _this.options = options;\n if (_this.options.keySeparator === undefined) {\n _this.options.keySeparator = '.';\n }\n _this.logger = baseLogger.create('translator');\n return _this;\n }\n _createClass(Translator, [{\n key: \"changeLanguage\",\n value: function changeLanguage(lng) {\n if (lng) this.language = lng;\n }\n }, {\n key: \"exists\",\n value: function exists(key) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {\n interpolation: {}\n };\n if (key === undefined || key === null) {\n return false;\n }\n var resolved = this.resolve(key, options);\n return resolved && resolved.res !== undefined;\n }\n }, {\n key: \"extractFromKey\",\n value: function extractFromKey(key, options) {\n var nsSeparator = options.nsSeparator !== undefined ? options.nsSeparator : this.options.nsSeparator;\n if (nsSeparator === undefined) nsSeparator = ':';\n var keySeparator = options.keySeparator !== undefined ? options.keySeparator : this.options.keySeparator;\n var namespaces = options.ns || this.options.defaultNS || [];\n var wouldCheckForNsInKey = nsSeparator && key.indexOf(nsSeparator) > -1;\n var seemsNaturalLanguage = !this.options.userDefinedKeySeparator && !options.keySeparator && !this.options.userDefinedNsSeparator && !options.nsSeparator && !looksLikeObjectPath(key, nsSeparator, keySeparator);\n if (wouldCheckForNsInKey && !seemsNaturalLanguage) {\n var m = key.match(this.interpolator.nestingRegexp);\n if (m && m.length > 0) {\n return {\n key: key,\n namespaces: namespaces\n };\n }\n var parts = key.split(nsSeparator);\n if (nsSeparator !== keySeparator || nsSeparator === keySeparator && this.options.ns.indexOf(parts[0]) > -1) namespaces = parts.shift();\n key = parts.join(keySeparator);\n }\n if (typeof namespaces === 'string') namespaces = [namespaces];\n return {\n key: key,\n namespaces: namespaces\n };\n }\n }, {\n key: \"translate\",\n value: function translate(keys, options, lastKey) {\n var _this2 = this;\n if (_typeof(options) !== 'object' && this.options.overloadTranslationOptionHandler) {\n options = this.options.overloadTranslationOptionHandler(arguments);\n }\n if (!options) options = {};\n if (keys === undefined || keys === null) return '';\n if (!Array.isArray(keys)) keys = [String(keys)];\n var returnDetails = options.returnDetails !== undefined ? options.returnDetails : this.options.returnDetails;\n var keySeparator = options.keySeparator !== undefined ? options.keySeparator : this.options.keySeparator;\n var _this$extractFromKey = this.extractFromKey(keys[keys.length - 1], options),\n key = _this$extractFromKey.key,\n namespaces = _this$extractFromKey.namespaces;\n var namespace = namespaces[namespaces.length - 1];\n var lng = options.lng || this.language;\n var appendNamespaceToCIMode = options.appendNamespaceToCIMode || this.options.appendNamespaceToCIMode;\n if (lng && lng.toLowerCase() === 'cimode') {\n if (appendNamespaceToCIMode) {\n var nsSeparator = options.nsSeparator || this.options.nsSeparator;\n if (returnDetails) {\n resolved.res = \"\".concat(namespace).concat(nsSeparator).concat(key);\n return resolved;\n }\n return \"\".concat(namespace).concat(nsSeparator).concat(key);\n }\n if (returnDetails) {\n resolved.res = key;\n return resolved;\n }\n return key;\n }\n var resolved = this.resolve(keys, options);\n var res = resolved && resolved.res;\n var resUsedKey = resolved && resolved.usedKey || key;\n var resExactUsedKey = resolved && resolved.exactUsedKey || key;\n var resType = Object.prototype.toString.apply(res);\n var noObject = ['[object Number]', '[object Function]', '[object RegExp]'];\n var joinArrays = options.joinArrays !== undefined ? options.joinArrays : this.options.joinArrays;\n var handleAsObjectInI18nFormat = !this.i18nFormat || this.i18nFormat.handleAsObject;\n var handleAsObject = typeof res !== 'string' && typeof res !== 'boolean' && typeof res !== 'number';\n if (handleAsObjectInI18nFormat && res && handleAsObject && noObject.indexOf(resType) < 0 && !(typeof joinArrays === 'string' && resType === '[object Array]')) {\n if (!options.returnObjects && !this.options.returnObjects) {\n if (!this.options.returnedObjectHandler) {\n this.logger.warn('accessing an object - but returnObjects options is not enabled!');\n }\n var r = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(resUsedKey, res, _objectSpread$4(_objectSpread$4({}, options), {}, {\n ns: namespaces\n })) : \"key '\".concat(key, \" (\").concat(this.language, \")' returned an object instead of string.\");\n if (returnDetails) {\n resolved.res = r;\n return resolved;\n }\n return r;\n }\n if (keySeparator) {\n var resTypeIsArray = resType === '[object Array]';\n var copy = resTypeIsArray ? [] : {};\n var newKeyToUse = resTypeIsArray ? resExactUsedKey : resUsedKey;\n for (var m in res) {\n if (Object.prototype.hasOwnProperty.call(res, m)) {\n var deepKey = \"\".concat(newKeyToUse).concat(keySeparator).concat(m);\n copy[m] = this.translate(deepKey, _objectSpread$4(_objectSpread$4({}, options), {\n joinArrays: false,\n ns: namespaces\n }));\n if (copy[m] === deepKey) copy[m] = res[m];\n }\n }\n res = copy;\n }\n } else if (handleAsObjectInI18nFormat && typeof joinArrays === 'string' && resType === '[object Array]') {\n res = res.join(joinArrays);\n if (res) res = this.extendTranslation(res, keys, options, lastKey);\n } else {\n var usedDefault = false;\n var usedKey = false;\n var needsPluralHandling = options.count !== undefined && typeof options.count !== 'string';\n var hasDefaultValue = Translator.hasDefaultValue(options);\n var defaultValueSuffix = needsPluralHandling ? this.pluralResolver.getSuffix(lng, options.count, options) : '';\n var defaultValue = options[\"defaultValue\".concat(defaultValueSuffix)] || options.defaultValue;\n if (!this.isValidLookup(res) && hasDefaultValue) {\n usedDefault = true;\n res = defaultValue;\n }\n if (!this.isValidLookup(res)) {\n usedKey = true;\n res = key;\n }\n var missingKeyNoValueFallbackToKey = options.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey;\n var resForMissing = missingKeyNoValueFallbackToKey && usedKey ? undefined : res;\n var updateMissing = hasDefaultValue && defaultValue !== res && this.options.updateMissing;\n if (usedKey || usedDefault || updateMissing) {\n this.logger.log(updateMissing ? 'updateKey' : 'missingKey', lng, namespace, key, updateMissing ? defaultValue : res);\n if (keySeparator) {\n var fk = this.resolve(key, _objectSpread$4(_objectSpread$4({}, options), {}, {\n keySeparator: false\n }));\n if (fk && fk.res) this.logger.warn('Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.');\n }\n var lngs = [];\n var fallbackLngs = this.languageUtils.getFallbackCodes(this.options.fallbackLng, options.lng || this.language);\n if (this.options.saveMissingTo === 'fallback' && fallbackLngs && fallbackLngs[0]) {\n for (var i = 0; i < fallbackLngs.length; i++) {\n lngs.push(fallbackLngs[i]);\n }\n } else if (this.options.saveMissingTo === 'all') {\n lngs = this.languageUtils.toResolveHierarchy(options.lng || this.language);\n } else {\n lngs.push(options.lng || this.language);\n }\n var send = function send(l, k, specificDefaultValue) {\n var defaultForMissing = hasDefaultValue && specificDefaultValue !== res ? specificDefaultValue : resForMissing;\n if (_this2.options.missingKeyHandler) {\n _this2.options.missingKeyHandler(l, namespace, k, defaultForMissing, updateMissing, options);\n } else if (_this2.backendConnector && _this2.backendConnector.saveMissing) {\n _this2.backendConnector.saveMissing(l, namespace, k, defaultForMissing, updateMissing, options);\n }\n _this2.emit('missingKey', l, namespace, k, res);\n };\n if (this.options.saveMissing) {\n if (this.options.saveMissingPlurals && needsPluralHandling) {\n lngs.forEach(function (language) {\n _this2.pluralResolver.getSuffixes(language, options).forEach(function (suffix) {\n send([language], key + suffix, options[\"defaultValue\".concat(suffix)] || defaultValue);\n });\n });\n } else {\n send(lngs, key, defaultValue);\n }\n }\n }\n res = this.extendTranslation(res, keys, options, resolved, lastKey);\n if (usedKey && res === key && this.options.appendNamespaceToMissingKey) res = \"\".concat(namespace, \":\").concat(key);\n if ((usedKey || usedDefault) && this.options.parseMissingKeyHandler) {\n if (this.options.compatibilityAPI !== 'v1') {\n res = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? \"\".concat(namespace, \":\").concat(key) : key, usedDefault ? res : undefined);\n } else {\n res = this.options.parseMissingKeyHandler(res);\n }\n }\n }\n if (returnDetails) {\n resolved.res = res;\n return resolved;\n }\n return res;\n }\n }, {\n key: \"extendTranslation\",\n value: function extendTranslation(res, key, options, resolved, lastKey) {\n var _this3 = this;\n if (this.i18nFormat && this.i18nFormat.parse) {\n res = this.i18nFormat.parse(res, _objectSpread$4(_objectSpread$4({}, this.options.interpolation.defaultVariables), options), resolved.usedLng, resolved.usedNS, resolved.usedKey, {\n resolved: resolved\n });\n } else if (!options.skipInterpolation) {\n if (options.interpolation) this.interpolator.init(_objectSpread$4(_objectSpread$4({}, options), {\n interpolation: _objectSpread$4(_objectSpread$4({}, this.options.interpolation), options.interpolation)\n }));\n var skipOnVariables = typeof res === 'string' && (options && options.interpolation && options.interpolation.skipOnVariables !== undefined ? options.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables);\n var nestBef;\n if (skipOnVariables) {\n var nb = res.match(this.interpolator.nestingRegexp);\n nestBef = nb && nb.length;\n }\n var data = options.replace && typeof options.replace !== 'string' ? options.replace : options;\n if (this.options.interpolation.defaultVariables) data = _objectSpread$4(_objectSpread$4({}, this.options.interpolation.defaultVariables), data);\n res = this.interpolator.interpolate(res, data, options.lng || this.language, options);\n if (skipOnVariables) {\n var na = res.match(this.interpolator.nestingRegexp);\n var nestAft = na && na.length;\n if (nestBef < nestAft) options.nest = false;\n }\n if (options.nest !== false) res = this.interpolator.nest(res, function () {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n if (lastKey && lastKey[0] === args[0] && !options.context) {\n _this3.logger.warn(\"It seems you are nesting recursively key: \".concat(args[0], \" in key: \").concat(key[0]));\n return null;\n }\n return _this3.translate.apply(_this3, args.concat([key]));\n }, options);\n if (options.interpolation) this.interpolator.reset();\n }\n var postProcess = options.postProcess || this.options.postProcess;\n var postProcessorNames = typeof postProcess === 'string' ? [postProcess] : postProcess;\n if (res !== undefined && res !== null && postProcessorNames && postProcessorNames.length && options.applyPostProcessor !== false) {\n res = postProcessor.handle(postProcessorNames, res, key, this.options && this.options.postProcessPassResolved ? _objectSpread$4({\n i18nResolved: resolved\n }, options) : options, this);\n }\n return res;\n }\n }, {\n key: \"resolve\",\n value: function resolve(keys) {\n var _this4 = this;\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var found;\n var usedKey;\n var exactUsedKey;\n var usedLng;\n var usedNS;\n if (typeof keys === 'string') keys = [keys];\n keys.forEach(function (k) {\n if (_this4.isValidLookup(found)) return;\n var extracted = _this4.extractFromKey(k, options);\n var key = extracted.key;\n usedKey = key;\n var namespaces = extracted.namespaces;\n if (_this4.options.fallbackNS) namespaces = namespaces.concat(_this4.options.fallbackNS);\n var needsPluralHandling = options.count !== undefined && typeof options.count !== 'string';\n var needsZeroSuffixLookup = needsPluralHandling && !options.ordinal && options.count === 0 && _this4.pluralResolver.shouldUseIntlApi();\n var needsContextHandling = options.context !== undefined && (typeof options.context === 'string' || typeof options.context === 'number') && options.context !== '';\n var codes = options.lngs ? options.lngs : _this4.languageUtils.toResolveHierarchy(options.lng || _this4.language, options.fallbackLng);\n namespaces.forEach(function (ns) {\n if (_this4.isValidLookup(found)) return;\n usedNS = ns;\n if (!checkedLoadedFor[\"\".concat(codes[0], \"-\").concat(ns)] && _this4.utils && _this4.utils.hasLoadedNamespace && !_this4.utils.hasLoadedNamespace(usedNS)) {\n checkedLoadedFor[\"\".concat(codes[0], \"-\").concat(ns)] = true;\n _this4.logger.warn(\"key \\\"\".concat(usedKey, \"\\\" for languages \\\"\").concat(codes.join(', '), \"\\\" won't get resolved as namespace \\\"\").concat(usedNS, \"\\\" was not yet loaded\"), 'This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!');\n }\n codes.forEach(function (code) {\n if (_this4.isValidLookup(found)) return;\n usedLng = code;\n var finalKeys = [key];\n if (_this4.i18nFormat && _this4.i18nFormat.addLookupKeys) {\n _this4.i18nFormat.addLookupKeys(finalKeys, key, code, ns, options);\n } else {\n var pluralSuffix;\n if (needsPluralHandling) pluralSuffix = _this4.pluralResolver.getSuffix(code, options.count, options);\n var zeroSuffix = \"\".concat(_this4.options.pluralSeparator, \"zero\");\n if (needsPluralHandling) {\n finalKeys.push(key + pluralSuffix);\n if (needsZeroSuffixLookup) {\n finalKeys.push(key + zeroSuffix);\n }\n }\n if (needsContextHandling) {\n var contextKey = \"\".concat(key).concat(_this4.options.contextSeparator).concat(options.context);\n finalKeys.push(contextKey);\n if (needsPluralHandling) {\n finalKeys.push(contextKey + pluralSuffix);\n if (needsZeroSuffixLookup) {\n finalKeys.push(contextKey + zeroSuffix);\n }\n }\n }\n }\n var possibleKey;\n while (possibleKey = finalKeys.pop()) {\n if (!_this4.isValidLookup(found)) {\n exactUsedKey = possibleKey;\n found = _this4.getResource(code, ns, possibleKey, options);\n }\n }\n });\n });\n });\n return {\n res: found,\n usedKey: usedKey,\n exactUsedKey: exactUsedKey,\n usedLng: usedLng,\n usedNS: usedNS\n };\n }\n }, {\n key: \"isValidLookup\",\n value: function isValidLookup(res) {\n return res !== undefined && !(!this.options.returnNull && res === null) && !(!this.options.returnEmptyString && res === '');\n }\n }, {\n key: \"getResource\",\n value: function getResource(code, ns, key) {\n var options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};\n if (this.i18nFormat && this.i18nFormat.getResource) return this.i18nFormat.getResource(code, ns, key, options);\n return this.resourceStore.getResource(code, ns, key, options);\n }\n }], [{\n key: \"hasDefaultValue\",\n value: function hasDefaultValue(options) {\n var prefix = 'defaultValue';\n for (var option in options) {\n if (Object.prototype.hasOwnProperty.call(options, option) && prefix === option.substring(0, prefix.length) && undefined !== options[option]) {\n return true;\n }\n }\n return false;\n }\n }]);\n return Translator;\n}(EventEmitter);\n\nfunction capitalize(string) {\n return string.charAt(0).toUpperCase() + string.slice(1);\n}\nvar LanguageUtil = function () {\n function LanguageUtil(options) {\n _classCallCheck(this, LanguageUtil);\n this.options = options;\n this.supportedLngs = this.options.supportedLngs || false;\n this.logger = baseLogger.create('languageUtils');\n }\n _createClass(LanguageUtil, [{\n key: \"getScriptPartFromCode\",\n value: function getScriptPartFromCode(code) {\n if (!code || code.indexOf('-') < 0) return null;\n var p = code.split('-');\n if (p.length === 2) return null;\n p.pop();\n if (p[p.length - 1].toLowerCase() === 'x') return null;\n return this.formatLanguageCode(p.join('-'));\n }\n }, {\n key: \"getLanguagePartFromCode\",\n value: function getLanguagePartFromCode(code) {\n if (!code || code.indexOf('-') < 0) return code;\n var p = code.split('-');\n return this.formatLanguageCode(p[0]);\n }\n }, {\n key: \"formatLanguageCode\",\n value: function formatLanguageCode(code) {\n if (typeof code === 'string' && code.indexOf('-') > -1) {\n var specialCases = ['hans', 'hant', 'latn', 'cyrl', 'cans', 'mong', 'arab'];\n var p = code.split('-');\n if (this.options.lowerCaseLng) {\n p = p.map(function (part) {\n return part.toLowerCase();\n });\n } else if (p.length === 2) {\n p[0] = p[0].toLowerCase();\n p[1] = p[1].toUpperCase();\n if (specialCases.indexOf(p[1].toLowerCase()) > -1) p[1] = capitalize(p[1].toLowerCase());\n } else if (p.length === 3) {\n p[0] = p[0].toLowerCase();\n if (p[1].length === 2) p[1] = p[1].toUpperCase();\n if (p[0] !== 'sgn' && p[2].length === 2) p[2] = p[2].toUpperCase();\n if (specialCases.indexOf(p[1].toLowerCase()) > -1) p[1] = capitalize(p[1].toLowerCase());\n if (specialCases.indexOf(p[2].toLowerCase()) > -1) p[2] = capitalize(p[2].toLowerCase());\n }\n return p.join('-');\n }\n return this.options.cleanCode || this.options.lowerCaseLng ? code.toLowerCase() : code;\n }\n }, {\n key: \"isSupportedCode\",\n value: function isSupportedCode(code) {\n if (this.options.load === 'languageOnly' || this.options.nonExplicitSupportedLngs) {\n code = this.getLanguagePartFromCode(code);\n }\n return !this.supportedLngs || !this.supportedLngs.length || this.supportedLngs.indexOf(code) > -1;\n }\n }, {\n key: \"getBestMatchFromCodes\",\n value: function getBestMatchFromCodes(codes) {\n var _this = this;\n if (!codes) return null;\n var found;\n codes.forEach(function (code) {\n if (found) return;\n var cleanedLng = _this.formatLanguageCode(code);\n if (!_this.options.supportedLngs || _this.isSupportedCode(cleanedLng)) found = cleanedLng;\n });\n if (!found && this.options.supportedLngs) {\n codes.forEach(function (code) {\n if (found) return;\n var lngOnly = _this.getLanguagePartFromCode(code);\n if (_this.isSupportedCode(lngOnly)) return found = lngOnly;\n found = _this.options.supportedLngs.find(function (supportedLng) {\n if (supportedLng.indexOf(lngOnly) === 0) return supportedLng;\n });\n });\n }\n if (!found) found = this.getFallbackCodes(this.options.fallbackLng)[0];\n return found;\n }\n }, {\n key: \"getFallbackCodes\",\n value: function getFallbackCodes(fallbacks, code) {\n if (!fallbacks) return [];\n if (typeof fallbacks === 'function') fallbacks = fallbacks(code);\n if (typeof fallbacks === 'string') fallbacks = [fallbacks];\n if (Object.prototype.toString.apply(fallbacks) === '[object Array]') return fallbacks;\n if (!code) return fallbacks[\"default\"] || [];\n var found = fallbacks[code];\n if (!found) found = fallbacks[this.getScriptPartFromCode(code)];\n if (!found) found = fallbacks[this.formatLanguageCode(code)];\n if (!found) found = fallbacks[this.getLanguagePartFromCode(code)];\n if (!found) found = fallbacks[\"default\"];\n return found || [];\n }\n }, {\n key: \"toResolveHierarchy\",\n value: function toResolveHierarchy(code, fallbackCode) {\n var _this2 = this;\n var fallbackCodes = this.getFallbackCodes(fallbackCode || this.options.fallbackLng || [], code);\n var codes = [];\n var addCode = function addCode(c) {\n if (!c) return;\n if (_this2.isSupportedCode(c)) {\n codes.push(c);\n } else {\n _this2.logger.warn(\"rejecting language code not found in supportedLngs: \".concat(c));\n }\n };\n if (typeof code === 'string' && code.indexOf('-') > -1) {\n if (this.options.load !== 'languageOnly') addCode(this.formatLanguageCode(code));\n if (this.options.load !== 'languageOnly' && this.options.load !== 'currentOnly') addCode(this.getScriptPartFromCode(code));\n if (this.options.load !== 'currentOnly') addCode(this.getLanguagePartFromCode(code));\n } else if (typeof code === 'string') {\n addCode(this.formatLanguageCode(code));\n }\n fallbackCodes.forEach(function (fc) {\n if (codes.indexOf(fc) < 0) addCode(_this2.formatLanguageCode(fc));\n });\n return codes;\n }\n }]);\n return LanguageUtil;\n}();\n\nvar sets = [{\n lngs: ['ach', 'ak', 'am', 'arn', 'br', 'fil', 'gun', 'ln', 'mfe', 'mg', 'mi', 'oc', 'pt', 'pt-BR', 'tg', 'tl', 'ti', 'tr', 'uz', 'wa'],\n nr: [1, 2],\n fc: 1\n}, {\n lngs: ['af', 'an', 'ast', 'az', 'bg', 'bn', 'ca', 'da', 'de', 'dev', 'el', 'en', 'eo', 'es', 'et', 'eu', 'fi', 'fo', 'fur', 'fy', 'gl', 'gu', 'ha', 'hi', 'hu', 'hy', 'ia', 'it', 'kk', 'kn', 'ku', 'lb', 'mai', 'ml', 'mn', 'mr', 'nah', 'nap', 'nb', 'ne', 'nl', 'nn', 'no', 'nso', 'pa', 'pap', 'pms', 'ps', 'pt-PT', 'rm', 'sco', 'se', 'si', 'so', 'son', 'sq', 'sv', 'sw', 'ta', 'te', 'tk', 'ur', 'yo'],\n nr: [1, 2],\n fc: 2\n}, {\n lngs: ['ay', 'bo', 'cgg', 'fa', 'ht', 'id', 'ja', 'jbo', 'ka', 'km', 'ko', 'ky', 'lo', 'ms', 'sah', 'su', 'th', 'tt', 'ug', 'vi', 'wo', 'zh'],\n nr: [1],\n fc: 3\n}, {\n lngs: ['be', 'bs', 'cnr', 'dz', 'hr', 'ru', 'sr', 'uk'],\n nr: [1, 2, 5],\n fc: 4\n}, {\n lngs: ['ar'],\n nr: [0, 1, 2, 3, 11, 100],\n fc: 5\n}, {\n lngs: ['cs', 'sk'],\n nr: [1, 2, 5],\n fc: 6\n}, {\n lngs: ['csb', 'pl'],\n nr: [1, 2, 5],\n fc: 7\n}, {\n lngs: ['cy'],\n nr: [1, 2, 3, 8],\n fc: 8\n}, {\n lngs: ['fr'],\n nr: [1, 2],\n fc: 9\n}, {\n lngs: ['ga'],\n nr: [1, 2, 3, 7, 11],\n fc: 10\n}, {\n lngs: ['gd'],\n nr: [1, 2, 3, 20],\n fc: 11\n}, {\n lngs: ['is'],\n nr: [1, 2],\n fc: 12\n}, {\n lngs: ['jv'],\n nr: [0, 1],\n fc: 13\n}, {\n lngs: ['kw'],\n nr: [1, 2, 3, 4],\n fc: 14\n}, {\n lngs: ['lt'],\n nr: [1, 2, 10],\n fc: 15\n}, {\n lngs: ['lv'],\n nr: [1, 2, 0],\n fc: 16\n}, {\n lngs: ['mk'],\n nr: [1, 2],\n fc: 17\n}, {\n lngs: ['mnk'],\n nr: [0, 1, 2],\n fc: 18\n}, {\n lngs: ['mt'],\n nr: [1, 2, 11, 20],\n fc: 19\n}, {\n lngs: ['or'],\n nr: [2, 1],\n fc: 2\n}, {\n lngs: ['ro'],\n nr: [1, 2, 20],\n fc: 20\n}, {\n lngs: ['sl'],\n nr: [5, 1, 2, 3],\n fc: 21\n}, {\n lngs: ['he', 'iw'],\n nr: [1, 2, 20, 21],\n fc: 22\n}];\nvar _rulesPluralsTypes = {\n 1: function _(n) {\n return Number(n > 1);\n },\n 2: function _(n) {\n return Number(n != 1);\n },\n 3: function _(n) {\n return 0;\n },\n 4: function _(n) {\n return Number(n % 10 == 1 && n % 100 != 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2);\n },\n 5: function _(n) {\n return Number(n == 0 ? 0 : n == 1 ? 1 : n == 2 ? 2 : n % 100 >= 3 && n % 100 <= 10 ? 3 : n % 100 >= 11 ? 4 : 5);\n },\n 6: function _(n) {\n return Number(n == 1 ? 0 : n >= 2 && n <= 4 ? 1 : 2);\n },\n 7: function _(n) {\n return Number(n == 1 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2);\n },\n 8: function _(n) {\n return Number(n == 1 ? 0 : n == 2 ? 1 : n != 8 && n != 11 ? 2 : 3);\n },\n 9: function _(n) {\n return Number(n >= 2);\n },\n 10: function _(n) {\n return Number(n == 1 ? 0 : n == 2 ? 1 : n < 7 ? 2 : n < 11 ? 3 : 4);\n },\n 11: function _(n) {\n return Number(n == 1 || n == 11 ? 0 : n == 2 || n == 12 ? 1 : n > 2 && n < 20 ? 2 : 3);\n },\n 12: function _(n) {\n return Number(n % 10 != 1 || n % 100 == 11);\n },\n 13: function _(n) {\n return Number(n !== 0);\n },\n 14: function _(n) {\n return Number(n == 1 ? 0 : n == 2 ? 1 : n == 3 ? 2 : 3);\n },\n 15: function _(n) {\n return Number(n % 10 == 1 && n % 100 != 11 ? 0 : n % 10 >= 2 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2);\n },\n 16: function _(n) {\n return Number(n % 10 == 1 && n % 100 != 11 ? 0 : n !== 0 ? 1 : 2);\n },\n 17: function _(n) {\n return Number(n == 1 || n % 10 == 1 && n % 100 != 11 ? 0 : 1);\n },\n 18: function _(n) {\n return Number(n == 0 ? 0 : n == 1 ? 1 : 2);\n },\n 19: function _(n) {\n return Number(n == 1 ? 0 : n == 0 || n % 100 > 1 && n % 100 < 11 ? 1 : n % 100 > 10 && n % 100 < 20 ? 2 : 3);\n },\n 20: function _(n) {\n return Number(n == 1 ? 0 : n == 0 || n % 100 > 0 && n % 100 < 20 ? 1 : 2);\n },\n 21: function _(n) {\n return Number(n % 100 == 1 ? 1 : n % 100 == 2 ? 2 : n % 100 == 3 || n % 100 == 4 ? 3 : 0);\n },\n 22: function _(n) {\n return Number(n == 1 ? 0 : n == 2 ? 1 : (n < 0 || n > 10) && n % 10 == 0 ? 2 : 3);\n }\n};\nvar deprecatedJsonVersions = ['v1', 'v2', 'v3'];\nvar suffixesOrder = {\n zero: 0,\n one: 1,\n two: 2,\n few: 3,\n many: 4,\n other: 5\n};\nfunction createRules() {\n var rules = {};\n sets.forEach(function (set) {\n set.lngs.forEach(function (l) {\n rules[l] = {\n numbers: set.nr,\n plurals: _rulesPluralsTypes[set.fc]\n };\n });\n });\n return rules;\n}\nvar PluralResolver = function () {\n function PluralResolver(languageUtils) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n _classCallCheck(this, PluralResolver);\n this.languageUtils = languageUtils;\n this.options = options;\n this.logger = baseLogger.create('pluralResolver');\n if ((!this.options.compatibilityJSON || this.options.compatibilityJSON === 'v4') && (typeof Intl === 'undefined' || !Intl.PluralRules)) {\n this.options.compatibilityJSON = 'v3';\n this.logger.error('Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.');\n }\n this.rules = createRules();\n }\n _createClass(PluralResolver, [{\n key: \"addRule\",\n value: function addRule(lng, obj) {\n this.rules[lng] = obj;\n }\n }, {\n key: \"getRule\",\n value: function getRule(code) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n if (this.shouldUseIntlApi()) {\n try {\n return new Intl.PluralRules(code, {\n type: options.ordinal ? 'ordinal' : 'cardinal'\n });\n } catch (_unused) {\n return;\n }\n }\n return this.rules[code] || this.rules[this.languageUtils.getLanguagePartFromCode(code)];\n }\n }, {\n key: \"needsPlural\",\n value: function needsPlural(code) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var rule = this.getRule(code, options);\n if (this.shouldUseIntlApi()) {\n return rule && rule.resolvedOptions().pluralCategories.length > 1;\n }\n return rule && rule.numbers.length > 1;\n }\n }, {\n key: \"getPluralFormsOfKey\",\n value: function getPluralFormsOfKey(code, key) {\n var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n return this.getSuffixes(code, options).map(function (suffix) {\n return \"\".concat(key).concat(suffix);\n });\n }\n }, {\n key: \"getSuffixes\",\n value: function getSuffixes(code) {\n var _this = this;\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var rule = this.getRule(code, options);\n if (!rule) {\n return [];\n }\n if (this.shouldUseIntlApi()) {\n return rule.resolvedOptions().pluralCategories.sort(function (pluralCategory1, pluralCategory2) {\n return suffixesOrder[pluralCategory1] - suffixesOrder[pluralCategory2];\n }).map(function (pluralCategory) {\n return \"\".concat(_this.options.prepend).concat(pluralCategory);\n });\n }\n return rule.numbers.map(function (number) {\n return _this.getSuffix(code, number, options);\n });\n }\n }, {\n key: \"getSuffix\",\n value: function getSuffix(code, count) {\n var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n var rule = this.getRule(code, options);\n if (rule) {\n if (this.shouldUseIntlApi()) {\n return \"\".concat(this.options.prepend).concat(rule.select(count));\n }\n return this.getSuffixRetroCompatible(rule, count);\n }\n this.logger.warn(\"no plural rule found for: \".concat(code));\n return '';\n }\n }, {\n key: \"getSuffixRetroCompatible\",\n value: function getSuffixRetroCompatible(rule, count) {\n var _this2 = this;\n var idx = rule.noAbs ? rule.plurals(count) : rule.plurals(Math.abs(count));\n var suffix = rule.numbers[idx];\n if (this.options.simplifyPluralSuffix && rule.numbers.length === 2 && rule.numbers[0] === 1) {\n if (suffix === 2) {\n suffix = 'plural';\n } else if (suffix === 1) {\n suffix = '';\n }\n }\n var returnSuffix = function returnSuffix() {\n return _this2.options.prepend && suffix.toString() ? _this2.options.prepend + suffix.toString() : suffix.toString();\n };\n if (this.options.compatibilityJSON === 'v1') {\n if (suffix === 1) return '';\n if (typeof suffix === 'number') return \"_plural_\".concat(suffix.toString());\n return returnSuffix();\n } else if (this.options.compatibilityJSON === 'v2') {\n return returnSuffix();\n } else if (this.options.simplifyPluralSuffix && rule.numbers.length === 2 && rule.numbers[0] === 1) {\n return returnSuffix();\n }\n return this.options.prepend && idx.toString() ? this.options.prepend + idx.toString() : idx.toString();\n }\n }, {\n key: \"shouldUseIntlApi\",\n value: function shouldUseIntlApi() {\n return !deprecatedJsonVersions.includes(this.options.compatibilityJSON);\n }\n }]);\n return PluralResolver;\n}();\n\nfunction ownKeys$3(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread$3(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$3(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$3(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nvar Interpolator = function () {\n function Interpolator() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n _classCallCheck(this, Interpolator);\n this.logger = baseLogger.create('interpolator');\n this.options = options;\n this.format = options.interpolation && options.interpolation.format || function (value) {\n return value;\n };\n this.init(options);\n }\n _createClass(Interpolator, [{\n key: \"init\",\n value: function init() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n if (!options.interpolation) options.interpolation = {\n escapeValue: true\n };\n var iOpts = options.interpolation;\n this.escape = iOpts.escape !== undefined ? iOpts.escape : escape;\n this.escapeValue = iOpts.escapeValue !== undefined ? iOpts.escapeValue : true;\n this.useRawValueToEscape = iOpts.useRawValueToEscape !== undefined ? iOpts.useRawValueToEscape : false;\n this.prefix = iOpts.prefix ? regexEscape(iOpts.prefix) : iOpts.prefixEscaped || '{{';\n this.suffix = iOpts.suffix ? regexEscape(iOpts.suffix) : iOpts.suffixEscaped || '}}';\n this.formatSeparator = iOpts.formatSeparator ? iOpts.formatSeparator : iOpts.formatSeparator || ',';\n this.unescapePrefix = iOpts.unescapeSuffix ? '' : iOpts.unescapePrefix || '-';\n this.unescapeSuffix = this.unescapePrefix ? '' : iOpts.unescapeSuffix || '';\n this.nestingPrefix = iOpts.nestingPrefix ? regexEscape(iOpts.nestingPrefix) : iOpts.nestingPrefixEscaped || regexEscape('$t(');\n this.nestingSuffix = iOpts.nestingSuffix ? regexEscape(iOpts.nestingSuffix) : iOpts.nestingSuffixEscaped || regexEscape(')');\n this.nestingOptionsSeparator = iOpts.nestingOptionsSeparator ? iOpts.nestingOptionsSeparator : iOpts.nestingOptionsSeparator || ',';\n this.maxReplaces = iOpts.maxReplaces ? iOpts.maxReplaces : 1000;\n this.alwaysFormat = iOpts.alwaysFormat !== undefined ? iOpts.alwaysFormat : false;\n this.resetRegExp();\n }\n }, {\n key: \"reset\",\n value: function reset() {\n if (this.options) this.init(this.options);\n }\n }, {\n key: \"resetRegExp\",\n value: function resetRegExp() {\n var regexpStr = \"\".concat(this.prefix, \"(.+?)\").concat(this.suffix);\n this.regexp = new RegExp(regexpStr, 'g');\n var regexpUnescapeStr = \"\".concat(this.prefix).concat(this.unescapePrefix, \"(.+?)\").concat(this.unescapeSuffix).concat(this.suffix);\n this.regexpUnescape = new RegExp(regexpUnescapeStr, 'g');\n var nestingRegexpStr = \"\".concat(this.nestingPrefix, \"(.+?)\").concat(this.nestingSuffix);\n this.nestingRegexp = new RegExp(nestingRegexpStr, 'g');\n }\n }, {\n key: \"interpolate\",\n value: function interpolate(str, data, lng, options) {\n var _this = this;\n var match;\n var value;\n var replaces;\n var defaultData = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {};\n function regexSafe(val) {\n return val.replace(/\\$/g, '$$$$');\n }\n var handleFormat = function handleFormat(key) {\n if (key.indexOf(_this.formatSeparator) < 0) {\n var path = getPathWithDefaults(data, defaultData, key);\n return _this.alwaysFormat ? _this.format(path, undefined, lng, _objectSpread$3(_objectSpread$3(_objectSpread$3({}, options), data), {}, {\n interpolationkey: key\n })) : path;\n }\n var p = key.split(_this.formatSeparator);\n var k = p.shift().trim();\n var f = p.join(_this.formatSeparator).trim();\n return _this.format(getPathWithDefaults(data, defaultData, k), f, lng, _objectSpread$3(_objectSpread$3(_objectSpread$3({}, options), data), {}, {\n interpolationkey: k\n }));\n };\n this.resetRegExp();\n var missingInterpolationHandler = options && options.missingInterpolationHandler || this.options.missingInterpolationHandler;\n var skipOnVariables = options && options.interpolation && options.interpolation.skipOnVariables !== undefined ? options.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables;\n var todos = [{\n regex: this.regexpUnescape,\n safeValue: function safeValue(val) {\n return regexSafe(val);\n }\n }, {\n regex: this.regexp,\n safeValue: function safeValue(val) {\n return _this.escapeValue ? regexSafe(_this.escape(val)) : regexSafe(val);\n }\n }];\n todos.forEach(function (todo) {\n replaces = 0;\n while (match = todo.regex.exec(str)) {\n var matchedVar = match[1].trim();\n value = handleFormat(matchedVar);\n if (value === undefined) {\n if (typeof missingInterpolationHandler === 'function') {\n var temp = missingInterpolationHandler(str, match, options);\n value = typeof temp === 'string' ? temp : '';\n } else if (options && options.hasOwnProperty(matchedVar)) {\n value = '';\n } else if (skipOnVariables) {\n value = match[0];\n continue;\n } else {\n _this.logger.warn(\"missed to pass in variable \".concat(matchedVar, \" for interpolating \").concat(str));\n value = '';\n }\n } else if (typeof value !== 'string' && !_this.useRawValueToEscape) {\n value = makeString(value);\n }\n var safeValue = todo.safeValue(value);\n str = str.replace(match[0], safeValue);\n if (skipOnVariables) {\n todo.regex.lastIndex += value.length;\n todo.regex.lastIndex -= match[0].length;\n } else {\n todo.regex.lastIndex = 0;\n }\n replaces++;\n if (replaces >= _this.maxReplaces) {\n break;\n }\n }\n });\n return str;\n }\n }, {\n key: \"nest\",\n value: function nest(str, fc) {\n var _this2 = this;\n var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n var match;\n var value;\n var clonedOptions;\n function handleHasOptions(key, inheritedOptions) {\n var sep = this.nestingOptionsSeparator;\n if (key.indexOf(sep) < 0) return key;\n var c = key.split(new RegExp(\"\".concat(sep, \"[ ]*{\")));\n var optionsString = \"{\".concat(c[1]);\n key = c[0];\n optionsString = this.interpolate(optionsString, clonedOptions);\n var matchedSingleQuotes = optionsString.match(/'/g);\n var matchedDoubleQuotes = optionsString.match(/\"/g);\n if (matchedSingleQuotes && matchedSingleQuotes.length % 2 === 0 && !matchedDoubleQuotes || matchedDoubleQuotes.length % 2 !== 0) {\n optionsString = optionsString.replace(/'/g, '\"');\n }\n try {\n clonedOptions = JSON.parse(optionsString);\n if (inheritedOptions) clonedOptions = _objectSpread$3(_objectSpread$3({}, inheritedOptions), clonedOptions);\n } catch (e) {\n this.logger.warn(\"failed parsing options string in nesting for key \".concat(key), e);\n return \"\".concat(key).concat(sep).concat(optionsString);\n }\n delete clonedOptions.defaultValue;\n return key;\n }\n while (match = this.nestingRegexp.exec(str)) {\n var formatters = [];\n clonedOptions = _objectSpread$3({}, options);\n clonedOptions.applyPostProcessor = false;\n delete clonedOptions.defaultValue;\n var doReduce = false;\n if (match[0].indexOf(this.formatSeparator) !== -1 && !/{.*}/.test(match[1])) {\n var r = match[1].split(this.formatSeparator).map(function (elem) {\n return elem.trim();\n });\n match[1] = r.shift();\n formatters = r;\n doReduce = true;\n }\n value = fc(handleHasOptions.call(this, match[1].trim(), clonedOptions), clonedOptions);\n if (value && match[0] === str && typeof value !== 'string') return value;\n if (typeof value !== 'string') value = makeString(value);\n if (!value) {\n this.logger.warn(\"missed to resolve \".concat(match[1], \" for nesting \").concat(str));\n value = '';\n }\n if (doReduce) {\n value = formatters.reduce(function (v, f) {\n return _this2.format(v, f, options.lng, _objectSpread$3(_objectSpread$3({}, options), {}, {\n interpolationkey: match[1].trim()\n }));\n }, value.trim());\n }\n str = str.replace(match[0], value);\n this.regexp.lastIndex = 0;\n }\n return str;\n }\n }]);\n return Interpolator;\n}();\n\nfunction ownKeys$2(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread$2(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$2(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$2(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction parseFormatStr(formatStr) {\n var formatName = formatStr.toLowerCase().trim();\n var formatOptions = {};\n if (formatStr.indexOf('(') > -1) {\n var p = formatStr.split('(');\n formatName = p[0].toLowerCase().trim();\n var optStr = p[1].substring(0, p[1].length - 1);\n if (formatName === 'currency' && optStr.indexOf(':') < 0) {\n if (!formatOptions.currency) formatOptions.currency = optStr.trim();\n } else if (formatName === 'relativetime' && optStr.indexOf(':') < 0) {\n if (!formatOptions.range) formatOptions.range = optStr.trim();\n } else {\n var opts = optStr.split(';');\n opts.forEach(function (opt) {\n if (!opt) return;\n var _opt$split = opt.split(':'),\n _opt$split2 = _toArray(_opt$split),\n key = _opt$split2[0],\n rest = _opt$split2.slice(1);\n var val = rest.join(':').trim().replace(/^'+|'+$/g, '');\n if (!formatOptions[key.trim()]) formatOptions[key.trim()] = val;\n if (val === 'false') formatOptions[key.trim()] = false;\n if (val === 'true') formatOptions[key.trim()] = true;\n if (!isNaN(val)) formatOptions[key.trim()] = parseInt(val, 10);\n });\n }\n }\n return {\n formatName: formatName,\n formatOptions: formatOptions\n };\n}\nfunction createCachedFormatter(fn) {\n var cache = {};\n return function invokeFormatter(val, lng, options) {\n var key = lng + JSON.stringify(options);\n var formatter = cache[key];\n if (!formatter) {\n formatter = fn(lng, options);\n cache[key] = formatter;\n }\n return formatter(val);\n };\n}\nvar Formatter = function () {\n function Formatter() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n _classCallCheck(this, Formatter);\n this.logger = baseLogger.create('formatter');\n this.options = options;\n this.formats = {\n number: createCachedFormatter(function (lng, options) {\n var formatter = new Intl.NumberFormat(lng, options);\n return function (val) {\n return formatter.format(val);\n };\n }),\n currency: createCachedFormatter(function (lng, options) {\n var formatter = new Intl.NumberFormat(lng, _objectSpread$2(_objectSpread$2({}, options), {}, {\n style: 'currency'\n }));\n return function (val) {\n return formatter.format(val);\n };\n }),\n datetime: createCachedFormatter(function (lng, options) {\n var formatter = new Intl.DateTimeFormat(lng, _objectSpread$2({}, options));\n return function (val) {\n return formatter.format(val);\n };\n }),\n relativetime: createCachedFormatter(function (lng, options) {\n var formatter = new Intl.RelativeTimeFormat(lng, _objectSpread$2({}, options));\n return function (val) {\n return formatter.format(val, options.range || 'day');\n };\n }),\n list: createCachedFormatter(function (lng, options) {\n var formatter = new Intl.ListFormat(lng, _objectSpread$2({}, options));\n return function (val) {\n return formatter.format(val);\n };\n })\n };\n this.init(options);\n }\n _createClass(Formatter, [{\n key: \"init\",\n value: function init(services) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {\n interpolation: {}\n };\n var iOpts = options.interpolation;\n this.formatSeparator = iOpts.formatSeparator ? iOpts.formatSeparator : iOpts.formatSeparator || ',';\n }\n }, {\n key: \"add\",\n value: function add(name, fc) {\n this.formats[name.toLowerCase().trim()] = fc;\n }\n }, {\n key: \"addCached\",\n value: function addCached(name, fc) {\n this.formats[name.toLowerCase().trim()] = createCachedFormatter(fc);\n }\n }, {\n key: \"format\",\n value: function format(value, _format, lng, options) {\n var _this = this;\n var formats = _format.split(this.formatSeparator);\n var result = formats.reduce(function (mem, f) {\n var _parseFormatStr = parseFormatStr(f),\n formatName = _parseFormatStr.formatName,\n formatOptions = _parseFormatStr.formatOptions;\n if (_this.formats[formatName]) {\n var formatted = mem;\n try {\n var valOptions = options && options.formatParams && options.formatParams[options.interpolationkey] || {};\n var l = valOptions.locale || valOptions.lng || options.locale || options.lng || lng;\n formatted = _this.formats[formatName](mem, l, _objectSpread$2(_objectSpread$2(_objectSpread$2({}, formatOptions), options), valOptions));\n } catch (error) {\n _this.logger.warn(error);\n }\n return formatted;\n } else {\n _this.logger.warn(\"there was no format function for \".concat(formatName));\n }\n return mem;\n }, value);\n return result;\n }\n }]);\n return Formatter;\n}();\n\nfunction ownKeys$1(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread$1(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _createSuper$1(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$1(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\nfunction _isNativeReflectConstruct$1() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\nfunction removePending(q, name) {\n if (q.pending[name] !== undefined) {\n delete q.pending[name];\n q.pendingCount--;\n }\n}\nvar Connector = function (_EventEmitter) {\n _inherits(Connector, _EventEmitter);\n var _super = _createSuper$1(Connector);\n function Connector(backend, store, services) {\n var _this;\n var options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};\n _classCallCheck(this, Connector);\n _this = _super.call(this);\n if (isIE10) {\n EventEmitter.call(_assertThisInitialized(_this));\n }\n _this.backend = backend;\n _this.store = store;\n _this.services = services;\n _this.languageUtils = services.languageUtils;\n _this.options = options;\n _this.logger = baseLogger.create('backendConnector');\n _this.waitingReads = [];\n _this.maxParallelReads = options.maxParallelReads || 10;\n _this.readingCalls = 0;\n _this.maxRetries = options.maxRetries >= 0 ? options.maxRetries : 5;\n _this.retryTimeout = options.retryTimeout >= 1 ? options.retryTimeout : 350;\n _this.state = {};\n _this.queue = [];\n if (_this.backend && _this.backend.init) {\n _this.backend.init(services, options.backend, options);\n }\n return _this;\n }\n _createClass(Connector, [{\n key: \"queueLoad\",\n value: function queueLoad(languages, namespaces, options, callback) {\n var _this2 = this;\n var toLoad = {};\n var pending = {};\n var toLoadLanguages = {};\n var toLoadNamespaces = {};\n languages.forEach(function (lng) {\n var hasAllNamespaces = true;\n namespaces.forEach(function (ns) {\n var name = \"\".concat(lng, \"|\").concat(ns);\n if (!options.reload && _this2.store.hasResourceBundle(lng, ns)) {\n _this2.state[name] = 2;\n } else if (_this2.state[name] < 0) ; else if (_this2.state[name] === 1) {\n if (pending[name] === undefined) pending[name] = true;\n } else {\n _this2.state[name] = 1;\n hasAllNamespaces = false;\n if (pending[name] === undefined) pending[name] = true;\n if (toLoad[name] === undefined) toLoad[name] = true;\n if (toLoadNamespaces[ns] === undefined) toLoadNamespaces[ns] = true;\n }\n });\n if (!hasAllNamespaces) toLoadLanguages[lng] = true;\n });\n if (Object.keys(toLoad).length || Object.keys(pending).length) {\n this.queue.push({\n pending: pending,\n pendingCount: Object.keys(pending).length,\n loaded: {},\n errors: [],\n callback: callback\n });\n }\n return {\n toLoad: Object.keys(toLoad),\n pending: Object.keys(pending),\n toLoadLanguages: Object.keys(toLoadLanguages),\n toLoadNamespaces: Object.keys(toLoadNamespaces)\n };\n }\n }, {\n key: \"loaded\",\n value: function loaded(name, err, data) {\n var s = name.split('|');\n var lng = s[0];\n var ns = s[1];\n if (err) this.emit('failedLoading', lng, ns, err);\n if (data) {\n this.store.addResourceBundle(lng, ns, data);\n }\n this.state[name] = err ? -1 : 2;\n var loaded = {};\n this.queue.forEach(function (q) {\n pushPath(q.loaded, [lng], ns);\n removePending(q, name);\n if (err) q.errors.push(err);\n if (q.pendingCount === 0 && !q.done) {\n Object.keys(q.loaded).forEach(function (l) {\n if (!loaded[l]) loaded[l] = {};\n var loadedKeys = q.loaded[l];\n if (loadedKeys.length) {\n loadedKeys.forEach(function (ns) {\n if (loaded[l][ns] === undefined) loaded[l][ns] = true;\n });\n }\n });\n q.done = true;\n if (q.errors.length) {\n q.callback(q.errors);\n } else {\n q.callback();\n }\n }\n });\n this.emit('loaded', loaded);\n this.queue = this.queue.filter(function (q) {\n return !q.done;\n });\n }\n }, {\n key: \"read\",\n value: function read(lng, ns, fcName) {\n var _this3 = this;\n var tried = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 0;\n var wait = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : this.retryTimeout;\n var callback = arguments.length > 5 ? arguments[5] : undefined;\n if (!lng.length) return callback(null, {});\n if (this.readingCalls >= this.maxParallelReads) {\n this.waitingReads.push({\n lng: lng,\n ns: ns,\n fcName: fcName,\n tried: tried,\n wait: wait,\n callback: callback\n });\n return;\n }\n this.readingCalls++;\n var resolver = function resolver(err, data) {\n _this3.readingCalls--;\n if (_this3.waitingReads.length > 0) {\n var next = _this3.waitingReads.shift();\n _this3.read(next.lng, next.ns, next.fcName, next.tried, next.wait, next.callback);\n }\n if (err && data && tried < _this3.maxRetries) {\n setTimeout(function () {\n _this3.read.call(_this3, lng, ns, fcName, tried + 1, wait * 2, callback);\n }, wait);\n return;\n }\n callback(err, data);\n };\n var fc = this.backend[fcName].bind(this.backend);\n if (fc.length === 2) {\n try {\n var r = fc(lng, ns);\n if (r && typeof r.then === 'function') {\n r.then(function (data) {\n return resolver(null, data);\n })[\"catch\"](resolver);\n } else {\n resolver(null, r);\n }\n } catch (err) {\n resolver(err);\n }\n return;\n }\n return fc(lng, ns, resolver);\n }\n }, {\n key: \"prepareLoading\",\n value: function prepareLoading(languages, namespaces) {\n var _this4 = this;\n var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n var callback = arguments.length > 3 ? arguments[3] : undefined;\n if (!this.backend) {\n this.logger.warn('No backend was added via i18next.use. Will not load resources.');\n return callback && callback();\n }\n if (typeof languages === 'string') languages = this.languageUtils.toResolveHierarchy(languages);\n if (typeof namespaces === 'string') namespaces = [namespaces];\n var toLoad = this.queueLoad(languages, namespaces, options, callback);\n if (!toLoad.toLoad.length) {\n if (!toLoad.pending.length) callback();\n return null;\n }\n toLoad.toLoad.forEach(function (name) {\n _this4.loadOne(name);\n });\n }\n }, {\n key: \"load\",\n value: function load(languages, namespaces, callback) {\n this.prepareLoading(languages, namespaces, {}, callback);\n }\n }, {\n key: \"reload\",\n value: function reload(languages, namespaces, callback) {\n this.prepareLoading(languages, namespaces, {\n reload: true\n }, callback);\n }\n }, {\n key: \"loadOne\",\n value: function loadOne(name) {\n var _this5 = this;\n var prefix = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n var s = name.split('|');\n var lng = s[0];\n var ns = s[1];\n this.read(lng, ns, 'read', undefined, undefined, function (err, data) {\n if (err) _this5.logger.warn(\"\".concat(prefix, \"loading namespace \").concat(ns, \" for language \").concat(lng, \" failed\"), err);\n if (!err && data) _this5.logger.log(\"\".concat(prefix, \"loaded namespace \").concat(ns, \" for language \").concat(lng), data);\n _this5.loaded(name, err, data);\n });\n }\n }, {\n key: \"saveMissing\",\n value: function saveMissing(languages, namespace, key, fallbackValue, isUpdate) {\n var options = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : {};\n var clb = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : function () {};\n if (this.services.utils && this.services.utils.hasLoadedNamespace && !this.services.utils.hasLoadedNamespace(namespace)) {\n this.logger.warn(\"did not save key \\\"\".concat(key, \"\\\" as the namespace \\\"\").concat(namespace, \"\\\" was not yet loaded\"), 'This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!');\n return;\n }\n if (key === undefined || key === null || key === '') return;\n if (this.backend && this.backend.create) {\n var opts = _objectSpread$1(_objectSpread$1({}, options), {}, {\n isUpdate: isUpdate\n });\n var fc = this.backend.create.bind(this.backend);\n if (fc.length < 6) {\n try {\n var r;\n if (fc.length === 5) {\n r = fc(languages, namespace, key, fallbackValue, opts);\n } else {\n r = fc(languages, namespace, key, fallbackValue);\n }\n if (r && typeof r.then === 'function') {\n r.then(function (data) {\n return clb(null, data);\n })[\"catch\"](clb);\n } else {\n clb(null, r);\n }\n } catch (err) {\n clb(err);\n }\n } else {\n fc(languages, namespace, key, fallbackValue, clb, opts);\n }\n }\n if (!languages || !languages[0]) return;\n this.store.addResource(languages[0], namespace, key, fallbackValue);\n }\n }]);\n return Connector;\n}(EventEmitter);\n\nfunction get() {\n return {\n debug: false,\n initImmediate: true,\n ns: ['translation'],\n defaultNS: ['translation'],\n fallbackLng: ['dev'],\n fallbackNS: false,\n supportedLngs: false,\n nonExplicitSupportedLngs: false,\n load: 'all',\n preload: false,\n simplifyPluralSuffix: true,\n keySeparator: '.',\n nsSeparator: ':',\n pluralSeparator: '_',\n contextSeparator: '_',\n partialBundledLanguages: false,\n saveMissing: false,\n updateMissing: false,\n saveMissingTo: 'fallback',\n saveMissingPlurals: true,\n missingKeyHandler: false,\n missingInterpolationHandler: false,\n postProcess: false,\n postProcessPassResolved: false,\n returnNull: true,\n returnEmptyString: true,\n returnObjects: false,\n joinArrays: false,\n returnedObjectHandler: false,\n parseMissingKeyHandler: false,\n appendNamespaceToMissingKey: false,\n appendNamespaceToCIMode: false,\n overloadTranslationOptionHandler: function handle(args) {\n var ret = {};\n if (_typeof(args[1]) === 'object') ret = args[1];\n if (typeof args[1] === 'string') ret.defaultValue = args[1];\n if (typeof args[2] === 'string') ret.tDescription = args[2];\n if (_typeof(args[2]) === 'object' || _typeof(args[3]) === 'object') {\n var options = args[3] || args[2];\n Object.keys(options).forEach(function (key) {\n ret[key] = options[key];\n });\n }\n return ret;\n },\n interpolation: {\n escapeValue: true,\n format: function format(value, _format, lng, options) {\n return value;\n },\n prefix: '{{',\n suffix: '}}',\n formatSeparator: ',',\n unescapePrefix: '-',\n nestingPrefix: '$t(',\n nestingSuffix: ')',\n nestingOptionsSeparator: ',',\n maxReplaces: 1000,\n skipOnVariables: true\n }\n };\n}\nfunction transformOptions(options) {\n if (typeof options.ns === 'string') options.ns = [options.ns];\n if (typeof options.fallbackLng === 'string') options.fallbackLng = [options.fallbackLng];\n if (typeof options.fallbackNS === 'string') options.fallbackNS = [options.fallbackNS];\n if (options.supportedLngs && options.supportedLngs.indexOf('cimode') < 0) {\n options.supportedLngs = options.supportedLngs.concat(['cimode']);\n }\n return options;\n}\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\nfunction noop() {}\nfunction bindMemberFunctions(inst) {\n var mems = Object.getOwnPropertyNames(Object.getPrototypeOf(inst));\n mems.forEach(function (mem) {\n if (typeof inst[mem] === 'function') {\n inst[mem] = inst[mem].bind(inst);\n }\n });\n}\nvar I18n = function (_EventEmitter) {\n _inherits(I18n, _EventEmitter);\n var _super = _createSuper(I18n);\n function I18n() {\n var _this;\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var callback = arguments.length > 1 ? arguments[1] : undefined;\n _classCallCheck(this, I18n);\n _this = _super.call(this);\n if (isIE10) {\n EventEmitter.call(_assertThisInitialized(_this));\n }\n _this.options = transformOptions(options);\n _this.services = {};\n _this.logger = baseLogger;\n _this.modules = {\n external: []\n };\n bindMemberFunctions(_assertThisInitialized(_this));\n if (callback && !_this.isInitialized && !options.isClone) {\n if (!_this.options.initImmediate) {\n _this.init(options, callback);\n return _possibleConstructorReturn(_this, _assertThisInitialized(_this));\n }\n setTimeout(function () {\n _this.init(options, callback);\n }, 0);\n }\n return _this;\n }\n _createClass(I18n, [{\n key: \"init\",\n value: function init() {\n var _this2 = this;\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var callback = arguments.length > 1 ? arguments[1] : undefined;\n if (typeof options === 'function') {\n callback = options;\n options = {};\n }\n if (!options.defaultNS && options.defaultNS !== false && options.ns) {\n if (typeof options.ns === 'string') {\n options.defaultNS = options.ns;\n } else if (options.ns.indexOf('translation') < 0) {\n options.defaultNS = options.ns[0];\n }\n }\n var defOpts = get();\n this.options = _objectSpread(_objectSpread(_objectSpread({}, defOpts), this.options), transformOptions(options));\n if (this.options.compatibilityAPI !== 'v1') {\n this.options.interpolation = _objectSpread(_objectSpread({}, defOpts.interpolation), this.options.interpolation);\n }\n if (options.keySeparator !== undefined) {\n this.options.userDefinedKeySeparator = options.keySeparator;\n }\n if (options.nsSeparator !== undefined) {\n this.options.userDefinedNsSeparator = options.nsSeparator;\n }\n function createClassOnDemand(ClassOrObject) {\n if (!ClassOrObject) return null;\n if (typeof ClassOrObject === 'function') return new ClassOrObject();\n return ClassOrObject;\n }\n if (!this.options.isClone) {\n if (this.modules.logger) {\n baseLogger.init(createClassOnDemand(this.modules.logger), this.options);\n } else {\n baseLogger.init(null, this.options);\n }\n var formatter;\n if (this.modules.formatter) {\n formatter = this.modules.formatter;\n } else if (typeof Intl !== 'undefined') {\n formatter = Formatter;\n }\n var lu = new LanguageUtil(this.options);\n this.store = new ResourceStore(this.options.resources, this.options);\n var s = this.services;\n s.logger = baseLogger;\n s.resourceStore = this.store;\n s.languageUtils = lu;\n s.pluralResolver = new PluralResolver(lu, {\n prepend: this.options.pluralSeparator,\n compatibilityJSON: this.options.compatibilityJSON,\n simplifyPluralSuffix: this.options.simplifyPluralSuffix\n });\n if (formatter && (!this.options.interpolation.format || this.options.interpolation.format === defOpts.interpolation.format)) {\n s.formatter = createClassOnDemand(formatter);\n s.formatter.init(s, this.options);\n this.options.interpolation.format = s.formatter.format.bind(s.formatter);\n }\n s.interpolator = new Interpolator(this.options);\n s.utils = {\n hasLoadedNamespace: this.hasLoadedNamespace.bind(this)\n };\n s.backendConnector = new Connector(createClassOnDemand(this.modules.backend), s.resourceStore, s, this.options);\n s.backendConnector.on('*', function (event) {\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n _this2.emit.apply(_this2, [event].concat(args));\n });\n if (this.modules.languageDetector) {\n s.languageDetector = createClassOnDemand(this.modules.languageDetector);\n if (s.languageDetector.init) s.languageDetector.init(s, this.options.detection, this.options);\n }\n if (this.modules.i18nFormat) {\n s.i18nFormat = createClassOnDemand(this.modules.i18nFormat);\n if (s.i18nFormat.init) s.i18nFormat.init(this);\n }\n this.translator = new Translator(this.services, this.options);\n this.translator.on('*', function (event) {\n for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n args[_key2 - 1] = arguments[_key2];\n }\n _this2.emit.apply(_this2, [event].concat(args));\n });\n this.modules.external.forEach(function (m) {\n if (m.init) m.init(_this2);\n });\n }\n this.format = this.options.interpolation.format;\n if (!callback) callback = noop;\n if (this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {\n var codes = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);\n if (codes.length > 0 && codes[0] !== 'dev') this.options.lng = codes[0];\n }\n if (!this.services.languageDetector && !this.options.lng) {\n this.logger.warn('init: no languageDetector is used and no lng is defined');\n }\n var storeApi = ['getResource', 'hasResourceBundle', 'getResourceBundle', 'getDataByLanguage'];\n storeApi.forEach(function (fcName) {\n _this2[fcName] = function () {\n var _this2$store;\n return (_this2$store = _this2.store)[fcName].apply(_this2$store, arguments);\n };\n });\n var storeApiChained = ['addResource', 'addResources', 'addResourceBundle', 'removeResourceBundle'];\n storeApiChained.forEach(function (fcName) {\n _this2[fcName] = function () {\n var _this2$store2;\n (_this2$store2 = _this2.store)[fcName].apply(_this2$store2, arguments);\n return _this2;\n };\n });\n var deferred = defer();\n var load = function load() {\n var finish = function finish(err, t) {\n if (_this2.isInitialized && !_this2.initializedStoreOnce) _this2.logger.warn('init: i18next is already initialized. You should call init just once!');\n _this2.isInitialized = true;\n if (!_this2.options.isClone) _this2.logger.log('initialized', _this2.options);\n _this2.emit('initialized', _this2.options);\n deferred.resolve(t);\n callback(err, t);\n };\n if (_this2.languages && _this2.options.compatibilityAPI !== 'v1' && !_this2.isInitialized) return finish(null, _this2.t.bind(_this2));\n _this2.changeLanguage(_this2.options.lng, finish);\n };\n if (this.options.resources || !this.options.initImmediate) {\n load();\n } else {\n setTimeout(load, 0);\n }\n return deferred;\n }\n }, {\n key: \"loadResources\",\n value: function loadResources(language) {\n var _this3 = this;\n var callback = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : noop;\n var usedCallback = callback;\n var usedLng = typeof language === 'string' ? language : this.language;\n if (typeof language === 'function') usedCallback = language;\n if (!this.options.resources || this.options.partialBundledLanguages) {\n if (usedLng && usedLng.toLowerCase() === 'cimode') return usedCallback();\n var toLoad = [];\n var append = function append(lng) {\n if (!lng) return;\n var lngs = _this3.services.languageUtils.toResolveHierarchy(lng);\n lngs.forEach(function (l) {\n if (toLoad.indexOf(l) < 0) toLoad.push(l);\n });\n };\n if (!usedLng) {\n var fallbacks = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);\n fallbacks.forEach(function (l) {\n return append(l);\n });\n } else {\n append(usedLng);\n }\n if (this.options.preload) {\n this.options.preload.forEach(function (l) {\n return append(l);\n });\n }\n this.services.backendConnector.load(toLoad, this.options.ns, function (e) {\n if (!e && !_this3.resolvedLanguage && _this3.language) _this3.setResolvedLanguage(_this3.language);\n usedCallback(e);\n });\n } else {\n usedCallback(null);\n }\n }\n }, {\n key: \"reloadResources\",\n value: function reloadResources(lngs, ns, callback) {\n var deferred = defer();\n if (!lngs) lngs = this.languages;\n if (!ns) ns = this.options.ns;\n if (!callback) callback = noop;\n this.services.backendConnector.reload(lngs, ns, function (err) {\n deferred.resolve();\n callback(err);\n });\n return deferred;\n }\n }, {\n key: \"use\",\n value: function use(module) {\n if (!module) throw new Error('You are passing an undefined module! Please check the object you are passing to i18next.use()');\n if (!module.type) throw new Error('You are passing a wrong module! Please check the object you are passing to i18next.use()');\n if (module.type === 'backend') {\n this.modules.backend = module;\n }\n if (module.type === 'logger' || module.log && module.warn && module.error) {\n this.modules.logger = module;\n }\n if (module.type === 'languageDetector') {\n this.modules.languageDetector = module;\n }\n if (module.type === 'i18nFormat') {\n this.modules.i18nFormat = module;\n }\n if (module.type === 'postProcessor') {\n postProcessor.addPostProcessor(module);\n }\n if (module.type === 'formatter') {\n this.modules.formatter = module;\n }\n if (module.type === '3rdParty') {\n this.modules.external.push(module);\n }\n return this;\n }\n }, {\n key: \"setResolvedLanguage\",\n value: function setResolvedLanguage(l) {\n if (!l || !this.languages) return;\n if (['cimode', 'dev'].indexOf(l) > -1) return;\n for (var li = 0; li < this.languages.length; li++) {\n var lngInLngs = this.languages[li];\n if (['cimode', 'dev'].indexOf(lngInLngs) > -1) continue;\n if (this.store.hasLanguageSomeTranslations(lngInLngs)) {\n this.resolvedLanguage = lngInLngs;\n break;\n }\n }\n }\n }, {\n key: \"changeLanguage\",\n value: function changeLanguage(lng, callback) {\n var _this4 = this;\n this.isLanguageChangingTo = lng;\n var deferred = defer();\n this.emit('languageChanging', lng);\n var setLngProps = function setLngProps(l) {\n _this4.language = l;\n _this4.languages = _this4.services.languageUtils.toResolveHierarchy(l);\n _this4.resolvedLanguage = undefined;\n _this4.setResolvedLanguage(l);\n };\n var done = function done(err, l) {\n if (l) {\n setLngProps(l);\n _this4.translator.changeLanguage(l);\n _this4.isLanguageChangingTo = undefined;\n _this4.emit('languageChanged', l);\n _this4.logger.log('languageChanged', l);\n } else {\n _this4.isLanguageChangingTo = undefined;\n }\n deferred.resolve(function () {\n return _this4.t.apply(_this4, arguments);\n });\n if (callback) callback(err, function () {\n return _this4.t.apply(_this4, arguments);\n });\n };\n var setLng = function setLng(lngs) {\n if (!lng && !lngs && _this4.services.languageDetector) lngs = [];\n var l = typeof lngs === 'string' ? lngs : _this4.services.languageUtils.getBestMatchFromCodes(lngs);\n if (l) {\n if (!_this4.language) {\n setLngProps(l);\n }\n if (!_this4.translator.language) _this4.translator.changeLanguage(l);\n if (_this4.services.languageDetector && _this4.services.languageDetector.cacheUserLanguage) _this4.services.languageDetector.cacheUserLanguage(l);\n }\n _this4.loadResources(l, function (err) {\n done(err, l);\n });\n };\n if (!lng && this.services.languageDetector && !this.services.languageDetector.async) {\n setLng(this.services.languageDetector.detect());\n } else if (!lng && this.services.languageDetector && this.services.languageDetector.async) {\n if (this.services.languageDetector.detect.length === 0) {\n this.services.languageDetector.detect().then(setLng);\n } else {\n this.services.languageDetector.detect(setLng);\n }\n } else {\n setLng(lng);\n }\n return deferred;\n }\n }, {\n key: \"getFixedT\",\n value: function getFixedT(lng, ns, keyPrefix) {\n var _this5 = this;\n var fixedT = function fixedT(key, opts) {\n var options;\n if (_typeof(opts) !== 'object') {\n for (var _len3 = arguments.length, rest = new Array(_len3 > 2 ? _len3 - 2 : 0), _key3 = 2; _key3 < _len3; _key3++) {\n rest[_key3 - 2] = arguments[_key3];\n }\n options = _this5.options.overloadTranslationOptionHandler([key, opts].concat(rest));\n } else {\n options = _objectSpread({}, opts);\n }\n options.lng = options.lng || fixedT.lng;\n options.lngs = options.lngs || fixedT.lngs;\n options.ns = options.ns || fixedT.ns;\n options.keyPrefix = options.keyPrefix || keyPrefix || fixedT.keyPrefix;\n var keySeparator = _this5.options.keySeparator || '.';\n var resultKey = options.keyPrefix ? \"\".concat(options.keyPrefix).concat(keySeparator).concat(key) : key;\n return _this5.t(resultKey, options);\n };\n if (typeof lng === 'string') {\n fixedT.lng = lng;\n } else {\n fixedT.lngs = lng;\n }\n fixedT.ns = ns;\n fixedT.keyPrefix = keyPrefix;\n return fixedT;\n }\n }, {\n key: \"t\",\n value: function t() {\n var _this$translator;\n return this.translator && (_this$translator = this.translator).translate.apply(_this$translator, arguments);\n }\n }, {\n key: \"exists\",\n value: function exists() {\n var _this$translator2;\n return this.translator && (_this$translator2 = this.translator).exists.apply(_this$translator2, arguments);\n }\n }, {\n key: \"setDefaultNamespace\",\n value: function setDefaultNamespace(ns) {\n this.options.defaultNS = ns;\n }\n }, {\n key: \"hasLoadedNamespace\",\n value: function hasLoadedNamespace(ns) {\n var _this6 = this;\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n if (!this.isInitialized) {\n this.logger.warn('hasLoadedNamespace: i18next was not initialized', this.languages);\n return false;\n }\n if (!this.languages || !this.languages.length) {\n this.logger.warn('hasLoadedNamespace: i18n.languages were undefined or empty', this.languages);\n return false;\n }\n var lng = this.resolvedLanguage || this.languages[0];\n var fallbackLng = this.options ? this.options.fallbackLng : false;\n var lastLng = this.languages[this.languages.length - 1];\n if (lng.toLowerCase() === 'cimode') return true;\n var loadNotPending = function loadNotPending(l, n) {\n var loadState = _this6.services.backendConnector.state[\"\".concat(l, \"|\").concat(n)];\n return loadState === -1 || loadState === 2;\n };\n if (options.precheck) {\n var preResult = options.precheck(this, loadNotPending);\n if (preResult !== undefined) return preResult;\n }\n if (this.hasResourceBundle(lng, ns)) return true;\n if (!this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages) return true;\n if (loadNotPending(lng, ns) && (!fallbackLng || loadNotPending(lastLng, ns))) return true;\n return false;\n }\n }, {\n key: \"loadNamespaces\",\n value: function loadNamespaces(ns, callback) {\n var _this7 = this;\n var deferred = defer();\n if (!this.options.ns) {\n callback && callback();\n return Promise.resolve();\n }\n if (typeof ns === 'string') ns = [ns];\n ns.forEach(function (n) {\n if (_this7.options.ns.indexOf(n) < 0) _this7.options.ns.push(n);\n });\n this.loadResources(function (err) {\n deferred.resolve();\n if (callback) callback(err);\n });\n return deferred;\n }\n }, {\n key: \"loadLanguages\",\n value: function loadLanguages(lngs, callback) {\n var deferred = defer();\n if (typeof lngs === 'string') lngs = [lngs];\n var preloaded = this.options.preload || [];\n var newLngs = lngs.filter(function (lng) {\n return preloaded.indexOf(lng) < 0;\n });\n if (!newLngs.length) {\n if (callback) callback();\n return Promise.resolve();\n }\n this.options.preload = preloaded.concat(newLngs);\n this.loadResources(function (err) {\n deferred.resolve();\n if (callback) callback(err);\n });\n return deferred;\n }\n }, {\n key: \"dir\",\n value: function dir(lng) {\n if (!lng) lng = this.resolvedLanguage || (this.languages && this.languages.length > 0 ? this.languages[0] : this.language);\n if (!lng) return 'rtl';\n var rtlLngs = ['ar', 'shu', 'sqr', 'ssh', 'xaa', 'yhd', 'yud', 'aao', 'abh', 'abv', 'acm', 'acq', 'acw', 'acx', 'acy', 'adf', 'ads', 'aeb', 'aec', 'afb', 'ajp', 'apc', 'apd', 'arb', 'arq', 'ars', 'ary', 'arz', 'auz', 'avl', 'ayh', 'ayl', 'ayn', 'ayp', 'bbz', 'pga', 'he', 'iw', 'ps', 'pbt', 'pbu', 'pst', 'prp', 'prd', 'ug', 'ur', 'ydd', 'yds', 'yih', 'ji', 'yi', 'hbo', 'men', 'xmn', 'fa', 'jpr', 'peo', 'pes', 'prs', 'dv', 'sam', 'ckb'];\n var languageUtils = this.services && this.services.languageUtils || new LanguageUtil(get());\n return rtlLngs.indexOf(languageUtils.getLanguagePartFromCode(lng)) > -1 || lng.toLowerCase().indexOf('-arab') > 1 ? 'rtl' : 'ltr';\n }\n }, {\n key: \"cloneInstance\",\n value: function cloneInstance() {\n var _this8 = this;\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var callback = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : noop;\n var mergedOptions = _objectSpread(_objectSpread(_objectSpread({}, this.options), options), {\n isClone: true\n });\n var clone = new I18n(mergedOptions);\n if (options.debug !== undefined || options.prefix !== undefined) {\n clone.logger = clone.logger.clone(options);\n }\n var membersToCopy = ['store', 'services', 'language'];\n membersToCopy.forEach(function (m) {\n clone[m] = _this8[m];\n });\n clone.services = _objectSpread({}, this.services);\n clone.services.utils = {\n hasLoadedNamespace: clone.hasLoadedNamespace.bind(clone)\n };\n clone.translator = new Translator(clone.services, clone.options);\n clone.translator.on('*', function (event) {\n for (var _len4 = arguments.length, args = new Array(_len4 > 1 ? _len4 - 1 : 0), _key4 = 1; _key4 < _len4; _key4++) {\n args[_key4 - 1] = arguments[_key4];\n }\n clone.emit.apply(clone, [event].concat(args));\n });\n clone.init(mergedOptions, callback);\n clone.translator.options = clone.options;\n clone.translator.backendConnector.services.utils = {\n hasLoadedNamespace: clone.hasLoadedNamespace.bind(clone)\n };\n return clone;\n }\n }, {\n key: \"toJSON\",\n value: function toJSON() {\n return {\n options: this.options,\n store: this.store,\n language: this.language,\n languages: this.languages,\n resolvedLanguage: this.resolvedLanguage\n };\n }\n }]);\n return I18n;\n}(EventEmitter);\n_defineProperty(I18n, \"createInstance\", function () {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var callback = arguments.length > 1 ? arguments[1] : undefined;\n return new I18n(options, callback);\n});\nvar instance = I18n.createInstance();\ninstance.createInstance = I18n.createInstance;\n\nvar createInstance = instance.createInstance;\nvar dir = instance.dir;\nvar init = instance.init;\nvar loadResources = instance.loadResources;\nvar reloadResources = instance.reloadResources;\nvar use = instance.use;\nvar changeLanguage = instance.changeLanguage;\nvar getFixedT = instance.getFixedT;\nvar t = instance.t;\nvar exists = instance.exists;\nvar setDefaultNamespace = instance.setDefaultNamespace;\nvar hasLoadedNamespace = instance.hasLoadedNamespace;\nvar loadNamespaces = instance.loadNamespaces;\nvar loadLanguages = instance.loadLanguages;\n\nexport { changeLanguage, createInstance, instance as default, dir, exists, getFixedT, hasLoadedNamespace, init, loadLanguages, loadNamespaces, loadResources, reloadResources, setDefaultNamespace, t, use };\n","import arrayWithHoles from \"./arrayWithHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableRest from \"./nonIterableRest.js\";\nexport default function _toArray(arr) {\n return arrayWithHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableRest();\n}","import i18next from 'i18next';\nimport { initReactI18next } from 'react-i18next';\nimport { getTranslationsWithFallback } from './utils';\nexport var i18n = function i18n(translations) {\n var instance = i18next.createInstance({\n lng: 'default',\n resources: {\n default: {\n translation: getTranslationsWithFallback(translations)\n }\n },\n keySeparator: '::'\n });\n instance.use(initReactI18next).init();\n return instance;\n};","import _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/objectWithoutProperties\";\nvar _excluded = [\"translations\"];\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nimport { Team, TestIdProvider } from '@ori/testid-generator';\nimport { ThemeProvider } from '@ori-ui/mui';\nimport { Suspense } from 'react';\nimport { I18nextProvider } from 'react-i18next';\nimport { DialogContainer } from './DialogContainer';\nimport { ErrorBoundary } from './ErrorBoundary';\nimport { i18n } from '../translations';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport var ProductInfoDialog = function ProductInfoDialog(props) {\n var translations = props.translations,\n containerProps = _objectWithoutProperties(props, _excluded);\n return /*#__PURE__*/_jsx(ErrorBoundary, {\n children: /*#__PURE__*/_jsx(Suspense, {\n fallback: null,\n children: /*#__PURE__*/_jsx(I18nextProvider, {\n i18n: i18n(translations),\n children: /*#__PURE__*/_jsx(ThemeProvider, {\n enableCacheProvider: true,\n cacheKey: \"product-info-dialog\",\n children: /*#__PURE__*/_jsx(TestIdProvider, {\n team: Team.Presentation,\n project: \"product-info-dialog\",\n children: /*#__PURE__*/_jsx(DialogContainer, _objectSpread({}, containerProps))\n })\n })\n })\n })\n });\n};","import _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/objectWithoutProperties\";\nvar _excluded = [\"atpClusterId\", \"currentLanguage\", \"customer\", \"dialog\", \"fetchMode\", \"globalApiUrl\", \"graphQlUrl\", \"mode\", \"productCodes\", \"shared\", \"staticApiUrl\", \"tenant\", \"token\", \"translationsUrl\"],\n _excluded2 = [\"onClose\"];\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nimport { useCallback, useEffect, useMemo, useState } from 'react';\nimport { useGetProductInfoDialogProducts } from './useGetProductInfoDialogProducts';\nimport { useGetProductInfoDialogShowMrpStatement } from './useGetProductInfoDialogShowMrpStatement';\nimport { useGetProductInfoDialogTranslations } from './useGetProductInfoDialogTranslations';\nimport { DIALOG_MODE_LOADING, DIALOG_MODE_STANDARD_BUY, FETCH_MODE_EAGER, FETCH_MODE_LAZY } from '../constants';\nimport { ProductInfoDialog } from '../containers';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport var useProductInfoDialog = function useProductInfoDialog(_ref) {\n var atpClusterId = _ref.atpClusterId,\n currentLanguage = _ref.currentLanguage,\n customer = _ref.customer,\n dialog = _ref.dialog,\n _ref$fetchMode = _ref.fetchMode,\n fetchMode = _ref$fetchMode === void 0 ? FETCH_MODE_LAZY : _ref$fetchMode,\n globalApiUrl = _ref.globalApiUrl,\n graphQlUrl = _ref.graphQlUrl,\n _ref$mode = _ref.mode,\n mode = _ref$mode === void 0 ? DIALOG_MODE_STANDARD_BUY : _ref$mode,\n productCodes = _ref.productCodes,\n shared = _ref.shared,\n staticApiUrl = _ref.staticApiUrl,\n tenant = _ref.tenant,\n token = _ref.token,\n translationsUrl = _ref.translationsUrl,\n props = _objectWithoutProperties(_ref, _excluded);\n var _ref2 = dialog !== null && dialog !== void 0 ? dialog : {},\n onClose = _ref2.onClose,\n dialogProps = _objectWithoutProperties(_ref2, _excluded2);\n var _ref3 = customer !== null && customer !== void 0 ? customer : {},\n customerId = _ref3.customerId;\n var _useGetProductInfoDia = useGetProductInfoDialogProducts({\n atpClusterId: atpClusterId,\n globalApiUrl: globalApiUrl,\n customerId: customerId,\n graphQlUrl: graphQlUrl,\n productCodes: productCodes,\n tenant: tenant,\n token: token\n }),\n products = _useGetProductInfoDia.data,\n fetchProducts = _useGetProductInfoDia.fetch,\n areProductsLoaded = _useGetProductInfoDia.isLoaded,\n areProductsLoading = _useGetProductInfoDia.isLoading;\n var _useGetProductInfoDia2 = useGetProductInfoDialogShowMrpStatement({\n staticApiUrl: staticApiUrl,\n tenant: tenant\n }),\n showMrpStatement = _useGetProductInfoDia2.data,\n fetchShowMrpStatement = _useGetProductInfoDia2.fetch,\n isShowMrpStatementLoaded = _useGetProductInfoDia2.isLoaded,\n isShowMrpStatementLoading = _useGetProductInfoDia2.isLoading;\n var _useGetProductInfoDia3 = useGetProductInfoDialogTranslations({\n currentLanguage: currentLanguage,\n translationsUrl: translationsUrl\n }),\n translations = _useGetProductInfoDia3.data,\n fetchTranslations = _useGetProductInfoDia3.fetch,\n areTranslationsLoaded = _useGetProductInfoDia3.isLoaded,\n areTranslationsLoading = _useGetProductInfoDia3.isLoading;\n var _useState = useState(false),\n _useState2 = _slicedToArray(_useState, 2),\n isOpen = _useState2[0],\n setIsOpen = _useState2[1];\n var isLoaded = isShowMrpStatementLoaded && areProductsLoaded && areTranslationsLoaded;\n var isLoading = isShowMrpStatementLoading || areProductsLoading || areTranslationsLoading;\n var fetchData = useCallback(function () {\n if (!isLoaded) {\n fetchProducts();\n fetchShowMrpStatement();\n fetchTranslations();\n }\n }, [fetchProducts, fetchShowMrpStatement, fetchTranslations, isLoaded]);\n var close = useCallback(function () {\n setIsOpen(false);\n onClose === null || onClose === void 0 ? void 0 : onClose();\n }, [onClose]);\n var open = useCallback(function () {\n setIsOpen(true);\n if (fetchMode === FETCH_MODE_LAZY) {\n fetchData();\n }\n }, [fetchData, fetchMode]);\n useEffect(function () {\n if (fetchMode === FETCH_MODE_EAGER) {\n fetchData();\n }\n }, [fetchData, fetchMode]);\n useEffect(function () {\n if (isOpen && !areProductsLoading && !areProductsLoaded) {\n // eslint-disable-next-line no-console -- warn about missing data\n console.warn('[PID]: Dialog was closed as GQL returned no product data to display.');\n close();\n }\n }, [areProductsLoaded, areProductsLoading, close, isOpen]);\n return useMemo(function () {\n return {\n closeProductInfoDialog: close,\n isProductInfoDialogOpen: isOpen,\n openProductInfoDialog: open,\n productInfoDialog: /*#__PURE__*/_jsx(ProductInfoDialog, _objectSpread(_objectSpread({}, props), {}, {\n customer: customer,\n dialog: _objectSpread(_objectSpread({}, dialogProps), {}, {\n onClose: close,\n open: isOpen\n }),\n mode: isLoading ? DIALOG_MODE_LOADING : mode,\n products: products,\n shared: _objectSpread(_objectSpread({}, shared), {}, {\n showMrpStatement: showMrpStatement\n }),\n translations: translations\n }))\n };\n }, [close, customer, dialogProps, isLoading, mode, isOpen, open, products, props, shared, showMrpStatement, translations]);\n};","import _toConsumableArray from \"@babel/runtime/helpers/toConsumableArray\";\nimport { useMemo } from 'react';\nimport { useSWRFetch } from './internal/useSWRFetch';\nimport { getProductInfoDialogProducts } from '../api';\nexport var useGetProductInfoDialogProducts = function useGetProductInfoDialogProducts(_ref) {\n var atpClusterId = _ref.atpClusterId,\n customerId = _ref.customerId,\n globalApiUrl = _ref.globalApiUrl,\n graphQlUrl = _ref.graphQlUrl,\n productCodes = _ref.productCodes,\n tenant = _ref.tenant,\n token = _ref.token;\n var _useSWRFetch = useSWRFetch({\n fallback: [],\n fetcher: async function fetcher() {\n return getProductInfoDialogProducts({\n atpClusterId: atpClusterId,\n customerId: customerId,\n globalApiUrl: globalApiUrl,\n graphQlUrl: graphQlUrl,\n productCodes: productCodes,\n tenant: tenant,\n token: token\n });\n },\n key: [atpClusterId, customerId, globalApiUrl, graphQlUrl, tenant, token].concat(_toConsumableArray(productCodes))\n }),\n data = _useSWRFetch.data,\n error = _useSWRFetch.error,\n fetch = _useSWRFetch.fetch,\n isLoaded = _useSWRFetch.isLoaded,\n isLoading = _useSWRFetch.isLoading;\n return useMemo(function () {\n return {\n data: data,\n error: error,\n fetch: fetch,\n isLoaded: isLoaded && data.length > 0,\n isLoading: isLoading\n };\n }, [data, error, fetch, isLoaded, isLoading]);\n};","import { useMediaQuery } from '@ori-ui/mui';\nexport var useIsDesktop = function useIsDesktop() {\n return useMediaQuery(function (theme) {\n return theme.breakpoints.up('md');\n });\n};","export var TranslationKeys;\n(function (TranslationKeys) {\n TranslationKeys[\"Added\"] = \"Added\";\n TranslationKeys[\"Buy\"] = \"Buy\";\n TranslationKeys[\"Choose\"] = \"Choose\";\n TranslationKeys[\"InclusiveOfAllTaxes\"] = \"Inclusive Of All Taxes\";\n TranslationKeys[\"ReplaceWith\"] = \"Replace with\";\n TranslationKeys[\"Reserve\"] = \"Reserve\";\n TranslationKeys[\"Save\"] = \"Save\";\n TranslationKeys[\"SeeAllXReviews\"] = \"SeeAllXReviews\";\n})(TranslationKeys || (TranslationKeys = {}));","export var getInitialProduct = function getInitialProduct(_ref) {\n var initialProductCode = _ref.initialProductCode,\n products = _ref.products;\n if (initialProductCode) {\n var productIndex = products.findIndex(function (_ref2) {\n var code = _ref2.code;\n return code === initialProductCode;\n });\n var index = productIndex < 0 ? 0 : productIndex;\n return {\n index: index,\n product: products[index]\n };\n }\n return {\n index: 0,\n product: products[0]\n };\n};","module.exports = require('./lib/axios');","'use strict';\n\nvar utils = require('./../utils');\nvar settle = require('./../core/settle');\nvar cookies = require('./../helpers/cookies');\nvar buildURL = require('./../helpers/buildURL');\nvar buildFullPath = require('../core/buildFullPath');\nvar parseHeaders = require('./../helpers/parseHeaders');\nvar isURLSameOrigin = require('./../helpers/isURLSameOrigin');\nvar createError = require('../core/createError');\nvar transitionalDefaults = require('../defaults/transitional');\nvar Cancel = require('../cancel/Cancel');\n\nmodule.exports = function xhrAdapter(config) {\n return new Promise(function dispatchXhrRequest(resolve, reject) {\n var requestData = config.data;\n var requestHeaders = config.headers;\n var responseType = config.responseType;\n var onCanceled;\n function done() {\n if (config.cancelToken) {\n config.cancelToken.unsubscribe(onCanceled);\n }\n\n if (config.signal) {\n config.signal.removeEventListener('abort', onCanceled);\n }\n }\n\n if (utils.isFormData(requestData)) {\n delete requestHeaders['Content-Type']; // Let the browser set it\n }\n\n var request = new XMLHttpRequest();\n\n // HTTP basic authentication\n if (config.auth) {\n var username = config.auth.username || '';\n var password = config.auth.password ? unescape(encodeURIComponent(config.auth.password)) : '';\n requestHeaders.Authorization = 'Basic ' + btoa(username + ':' + password);\n }\n\n var fullPath = buildFullPath(config.baseURL, config.url);\n request.open(config.method.toUpperCase(), buildURL(fullPath, config.params, config.paramsSerializer), true);\n\n // Set the request timeout in MS\n request.timeout = config.timeout;\n\n function onloadend() {\n if (!request) {\n return;\n }\n // Prepare the response\n var responseHeaders = 'getAllResponseHeaders' in request ? parseHeaders(request.getAllResponseHeaders()) : null;\n var responseData = !responseType || responseType === 'text' || responseType === 'json' ?\n request.responseText : request.response;\n var response = {\n data: responseData,\n status: request.status,\n statusText: request.statusText,\n headers: responseHeaders,\n config: config,\n request: request\n };\n\n settle(function _resolve(value) {\n resolve(value);\n done();\n }, function _reject(err) {\n reject(err);\n done();\n }, response);\n\n // Clean up request\n request = null;\n }\n\n if ('onloadend' in request) {\n // Use onloadend if available\n request.onloadend = onloadend;\n } else {\n // Listen for ready state to emulate onloadend\n request.onreadystatechange = function handleLoad() {\n if (!request || request.readyState !== 4) {\n return;\n }\n\n // The request errored out and we didn't get a response, this will be\n // handled by onerror instead\n // With one exception: request that using file: protocol, most browsers\n // will return status as 0 even though it's a successful request\n if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf('file:') === 0)) {\n return;\n }\n // readystate handler is calling before onerror or ontimeout handlers,\n // so we should call onloadend on the next 'tick'\n setTimeout(onloadend);\n };\n }\n\n // Handle browser request cancellation (as opposed to a manual cancellation)\n request.onabort = function handleAbort() {\n if (!request) {\n return;\n }\n\n reject(createError('Request aborted', config, 'ECONNABORTED', request));\n\n // Clean up request\n request = null;\n };\n\n // Handle low level network errors\n request.onerror = function handleError() {\n // Real errors are hidden from us by the browser\n // onerror should only fire if it's a network error\n reject(createError('Network Error', config, null, request));\n\n // Clean up request\n request = null;\n };\n\n // Handle timeout\n request.ontimeout = function handleTimeout() {\n var timeoutErrorMessage = config.timeout ? 'timeout of ' + config.timeout + 'ms exceeded' : 'timeout exceeded';\n var transitional = config.transitional || transitionalDefaults;\n if (config.timeoutErrorMessage) {\n timeoutErrorMessage = config.timeoutErrorMessage;\n }\n reject(createError(\n timeoutErrorMessage,\n config,\n transitional.clarifyTimeoutError ? 'ETIMEDOUT' : 'ECONNABORTED',\n request));\n\n // Clean up request\n request = null;\n };\n\n // Add xsrf header\n // This is only done if running in a standard browser environment.\n // Specifically not if we're in a web worker, or react-native.\n if (utils.isStandardBrowserEnv()) {\n // Add xsrf header\n var xsrfValue = (config.withCredentials || isURLSameOrigin(fullPath)) && config.xsrfCookieName ?\n cookies.read(config.xsrfCookieName) :\n undefined;\n\n if (xsrfValue) {\n requestHeaders[config.xsrfHeaderName] = xsrfValue;\n }\n }\n\n // Add headers to the request\n if ('setRequestHeader' in request) {\n utils.forEach(requestHeaders, function setRequestHeader(val, key) {\n if (typeof requestData === 'undefined' && key.toLowerCase() === 'content-type') {\n // Remove Content-Type if data is undefined\n delete requestHeaders[key];\n } else {\n // Otherwise add header to the request\n request.setRequestHeader(key, val);\n }\n });\n }\n\n // Add withCredentials to request if needed\n if (!utils.isUndefined(config.withCredentials)) {\n request.withCredentials = !!config.withCredentials;\n }\n\n // Add responseType to request if needed\n if (responseType && responseType !== 'json') {\n request.responseType = config.responseType;\n }\n\n // Handle progress if needed\n if (typeof config.onDownloadProgress === 'function') {\n request.addEventListener('progress', config.onDownloadProgress);\n }\n\n // Not all browsers support upload events\n if (typeof config.onUploadProgress === 'function' && request.upload) {\n request.upload.addEventListener('progress', config.onUploadProgress);\n }\n\n if (config.cancelToken || config.signal) {\n // Handle cancellation\n // eslint-disable-next-line func-names\n onCanceled = function(cancel) {\n if (!request) {\n return;\n }\n reject(!cancel || (cancel && cancel.type) ? new Cancel('canceled') : cancel);\n request.abort();\n request = null;\n };\n\n config.cancelToken && config.cancelToken.subscribe(onCanceled);\n if (config.signal) {\n config.signal.aborted ? onCanceled() : config.signal.addEventListener('abort', onCanceled);\n }\n }\n\n if (!requestData) {\n requestData = null;\n }\n\n // Send the request\n request.send(requestData);\n });\n};\n","'use strict';\n\nvar utils = require('./utils');\nvar bind = require('./helpers/bind');\nvar Axios = require('./core/Axios');\nvar mergeConfig = require('./core/mergeConfig');\nvar defaults = require('./defaults');\n\n/**\n * Create an instance of Axios\n *\n * @param {Object} defaultConfig The default config for the instance\n * @return {Axios} A new instance of Axios\n */\nfunction createInstance(defaultConfig) {\n var context = new Axios(defaultConfig);\n var instance = bind(Axios.prototype.request, context);\n\n // Copy axios.prototype to instance\n utils.extend(instance, Axios.prototype, context);\n\n // Copy context to instance\n utils.extend(instance, context);\n\n // Factory for creating new instances\n instance.create = function create(instanceConfig) {\n return createInstance(mergeConfig(defaultConfig, instanceConfig));\n };\n\n return instance;\n}\n\n// Create the default instance to be exported\nvar axios = createInstance(defaults);\n\n// Expose Axios class to allow class inheritance\naxios.Axios = Axios;\n\n// Expose Cancel & CancelToken\naxios.Cancel = require('./cancel/Cancel');\naxios.CancelToken = require('./cancel/CancelToken');\naxios.isCancel = require('./cancel/isCancel');\naxios.VERSION = require('./env/data').version;\n\n// Expose all/spread\naxios.all = function all(promises) {\n return Promise.all(promises);\n};\naxios.spread = require('./helpers/spread');\n\n// Expose isAxiosError\naxios.isAxiosError = require('./helpers/isAxiosError');\n\nmodule.exports = axios;\n\n// Allow use of default import syntax in TypeScript\nmodule.exports.default = axios;\n","'use strict';\n\n/**\n * A `Cancel` is an object that is thrown when an operation is canceled.\n *\n * @class\n * @param {string=} message The message.\n */\nfunction Cancel(message) {\n this.message = message;\n}\n\nCancel.prototype.toString = function toString() {\n return 'Cancel' + (this.message ? ': ' + this.message : '');\n};\n\nCancel.prototype.__CANCEL__ = true;\n\nmodule.exports = Cancel;\n","'use strict';\n\nvar Cancel = require('./Cancel');\n\n/**\n * A `CancelToken` is an object that can be used to request cancellation of an operation.\n *\n * @class\n * @param {Function} executor The executor function.\n */\nfunction CancelToken(executor) {\n if (typeof executor !== 'function') {\n throw new TypeError('executor must be a function.');\n }\n\n var resolvePromise;\n\n this.promise = new Promise(function promiseExecutor(resolve) {\n resolvePromise = resolve;\n });\n\n var token = this;\n\n // eslint-disable-next-line func-names\n this.promise.then(function(cancel) {\n if (!token._listeners) return;\n\n var i;\n var l = token._listeners.length;\n\n for (i = 0; i < l; i++) {\n token._listeners[i](cancel);\n }\n token._listeners = null;\n });\n\n // eslint-disable-next-line func-names\n this.promise.then = function(onfulfilled) {\n var _resolve;\n // eslint-disable-next-line func-names\n var promise = new Promise(function(resolve) {\n token.subscribe(resolve);\n _resolve = resolve;\n }).then(onfulfilled);\n\n promise.cancel = function reject() {\n token.unsubscribe(_resolve);\n };\n\n return promise;\n };\n\n executor(function cancel(message) {\n if (token.reason) {\n // Cancellation has already been requested\n return;\n }\n\n token.reason = new Cancel(message);\n resolvePromise(token.reason);\n });\n}\n\n/**\n * Throws a `Cancel` if cancellation has been requested.\n */\nCancelToken.prototype.throwIfRequested = function throwIfRequested() {\n if (this.reason) {\n throw this.reason;\n }\n};\n\n/**\n * Subscribe to the cancel signal\n */\n\nCancelToken.prototype.subscribe = function subscribe(listener) {\n if (this.reason) {\n listener(this.reason);\n return;\n }\n\n if (this._listeners) {\n this._listeners.push(listener);\n } else {\n this._listeners = [listener];\n }\n};\n\n/**\n * Unsubscribe from the cancel signal\n */\n\nCancelToken.prototype.unsubscribe = function unsubscribe(listener) {\n if (!this._listeners) {\n return;\n }\n var index = this._listeners.indexOf(listener);\n if (index !== -1) {\n this._listeners.splice(index, 1);\n }\n};\n\n/**\n * Returns an object that contains a new `CancelToken` and a function that, when called,\n * cancels the `CancelToken`.\n */\nCancelToken.source = function source() {\n var cancel;\n var token = new CancelToken(function executor(c) {\n cancel = c;\n });\n return {\n token: token,\n cancel: cancel\n };\n};\n\nmodule.exports = CancelToken;\n","'use strict';\n\nmodule.exports = function isCancel(value) {\n return !!(value && value.__CANCEL__);\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar buildURL = require('../helpers/buildURL');\nvar InterceptorManager = require('./InterceptorManager');\nvar dispatchRequest = require('./dispatchRequest');\nvar mergeConfig = require('./mergeConfig');\nvar validator = require('../helpers/validator');\n\nvar validators = validator.validators;\n/**\n * Create a new instance of Axios\n *\n * @param {Object} instanceConfig The default config for the instance\n */\nfunction Axios(instanceConfig) {\n this.defaults = instanceConfig;\n this.interceptors = {\n request: new InterceptorManager(),\n response: new InterceptorManager()\n };\n}\n\n/**\n * Dispatch a request\n *\n * @param {Object} config The config specific for this request (merged with this.defaults)\n */\nAxios.prototype.request = function request(configOrUrl, config) {\n /*eslint no-param-reassign:0*/\n // Allow for axios('example/url'[, config]) a la fetch API\n if (typeof configOrUrl === 'string') {\n config = config || {};\n config.url = configOrUrl;\n } else {\n config = configOrUrl || {};\n }\n\n config = mergeConfig(this.defaults, config);\n\n // Set config.method\n if (config.method) {\n config.method = config.method.toLowerCase();\n } else if (this.defaults.method) {\n config.method = this.defaults.method.toLowerCase();\n } else {\n config.method = 'get';\n }\n\n var transitional = config.transitional;\n\n if (transitional !== undefined) {\n validator.assertOptions(transitional, {\n silentJSONParsing: validators.transitional(validators.boolean),\n forcedJSONParsing: validators.transitional(validators.boolean),\n clarifyTimeoutError: validators.transitional(validators.boolean)\n }, false);\n }\n\n // filter out skipped interceptors\n var requestInterceptorChain = [];\n var synchronousRequestInterceptors = true;\n this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {\n if (typeof interceptor.runWhen === 'function' && interceptor.runWhen(config) === false) {\n return;\n }\n\n synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;\n\n requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);\n });\n\n var responseInterceptorChain = [];\n this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {\n responseInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);\n });\n\n var promise;\n\n if (!synchronousRequestInterceptors) {\n var chain = [dispatchRequest, undefined];\n\n Array.prototype.unshift.apply(chain, requestInterceptorChain);\n chain = chain.concat(responseInterceptorChain);\n\n promise = Promise.resolve(config);\n while (chain.length) {\n promise = promise.then(chain.shift(), chain.shift());\n }\n\n return promise;\n }\n\n\n var newConfig = config;\n while (requestInterceptorChain.length) {\n var onFulfilled = requestInterceptorChain.shift();\n var onRejected = requestInterceptorChain.shift();\n try {\n newConfig = onFulfilled(newConfig);\n } catch (error) {\n onRejected(error);\n break;\n }\n }\n\n try {\n promise = dispatchRequest(newConfig);\n } catch (error) {\n return Promise.reject(error);\n }\n\n while (responseInterceptorChain.length) {\n promise = promise.then(responseInterceptorChain.shift(), responseInterceptorChain.shift());\n }\n\n return promise;\n};\n\nAxios.prototype.getUri = function getUri(config) {\n config = mergeConfig(this.defaults, config);\n return buildURL(config.url, config.params, config.paramsSerializer).replace(/^\\?/, '');\n};\n\n// Provide aliases for supported request methods\nutils.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {\n /*eslint func-names:0*/\n Axios.prototype[method] = function(url, config) {\n return this.request(mergeConfig(config || {}, {\n method: method,\n url: url,\n data: (config || {}).data\n }));\n };\n});\n\nutils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {\n /*eslint func-names:0*/\n Axios.prototype[method] = function(url, data, config) {\n return this.request(mergeConfig(config || {}, {\n method: method,\n url: url,\n data: data\n }));\n };\n});\n\nmodule.exports = Axios;\n","'use strict';\n\nvar utils = require('./../utils');\n\nfunction InterceptorManager() {\n this.handlers = [];\n}\n\n/**\n * Add a new interceptor to the stack\n *\n * @param {Function} fulfilled The function to handle `then` for a `Promise`\n * @param {Function} rejected The function to handle `reject` for a `Promise`\n *\n * @return {Number} An ID used to remove interceptor later\n */\nInterceptorManager.prototype.use = function use(fulfilled, rejected, options) {\n this.handlers.push({\n fulfilled: fulfilled,\n rejected: rejected,\n synchronous: options ? options.synchronous : false,\n runWhen: options ? options.runWhen : null\n });\n return this.handlers.length - 1;\n};\n\n/**\n * Remove an interceptor from the stack\n *\n * @param {Number} id The ID that was returned by `use`\n */\nInterceptorManager.prototype.eject = function eject(id) {\n if (this.handlers[id]) {\n this.handlers[id] = null;\n }\n};\n\n/**\n * Iterate over all the registered interceptors\n *\n * This method is particularly useful for skipping over any\n * interceptors that may have become `null` calling `eject`.\n *\n * @param {Function} fn The function to call for each interceptor\n */\nInterceptorManager.prototype.forEach = function forEach(fn) {\n utils.forEach(this.handlers, function forEachHandler(h) {\n if (h !== null) {\n fn(h);\n }\n });\n};\n\nmodule.exports = InterceptorManager;\n","'use strict';\n\nvar isAbsoluteURL = require('../helpers/isAbsoluteURL');\nvar combineURLs = require('../helpers/combineURLs');\n\n/**\n * Creates a new URL by combining the baseURL with the requestedURL,\n * only when the requestedURL is not already an absolute URL.\n * If the requestURL is absolute, this function returns the requestedURL untouched.\n *\n * @param {string} baseURL The base URL\n * @param {string} requestedURL Absolute or relative URL to combine\n * @returns {string} The combined full path\n */\nmodule.exports = function buildFullPath(baseURL, requestedURL) {\n if (baseURL && !isAbsoluteURL(requestedURL)) {\n return combineURLs(baseURL, requestedURL);\n }\n return requestedURL;\n};\n","'use strict';\n\nvar enhanceError = require('./enhanceError');\n\n/**\n * Create an Error with the specified message, config, error code, request and response.\n *\n * @param {string} message The error message.\n * @param {Object} config The config.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n * @returns {Error} The created error.\n */\nmodule.exports = function createError(message, config, code, request, response) {\n var error = new Error(message);\n return enhanceError(error, config, code, request, response);\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar transformData = require('./transformData');\nvar isCancel = require('../cancel/isCancel');\nvar defaults = require('../defaults');\nvar Cancel = require('../cancel/Cancel');\n\n/**\n * Throws a `Cancel` if cancellation has been requested.\n */\nfunction throwIfCancellationRequested(config) {\n if (config.cancelToken) {\n config.cancelToken.throwIfRequested();\n }\n\n if (config.signal && config.signal.aborted) {\n throw new Cancel('canceled');\n }\n}\n\n/**\n * Dispatch a request to the server using the configured adapter.\n *\n * @param {object} config The config that is to be used for the request\n * @returns {Promise} The Promise to be fulfilled\n */\nmodule.exports = function dispatchRequest(config) {\n throwIfCancellationRequested(config);\n\n // Ensure headers exist\n config.headers = config.headers || {};\n\n // Transform request data\n config.data = transformData.call(\n config,\n config.data,\n config.headers,\n config.transformRequest\n );\n\n // Flatten headers\n config.headers = utils.merge(\n config.headers.common || {},\n config.headers[config.method] || {},\n config.headers\n );\n\n utils.forEach(\n ['delete', 'get', 'head', 'post', 'put', 'patch', 'common'],\n function cleanHeaderConfig(method) {\n delete config.headers[method];\n }\n );\n\n var adapter = config.adapter || defaults.adapter;\n\n return adapter(config).then(function onAdapterResolution(response) {\n throwIfCancellationRequested(config);\n\n // Transform response data\n response.data = transformData.call(\n config,\n response.data,\n response.headers,\n config.transformResponse\n );\n\n return response;\n }, function onAdapterRejection(reason) {\n if (!isCancel(reason)) {\n throwIfCancellationRequested(config);\n\n // Transform response data\n if (reason && reason.response) {\n reason.response.data = transformData.call(\n config,\n reason.response.data,\n reason.response.headers,\n config.transformResponse\n );\n }\n }\n\n return Promise.reject(reason);\n });\n};\n","'use strict';\n\n/**\n * Update an Error with the specified config, error code, and response.\n *\n * @param {Error} error The error to update.\n * @param {Object} config The config.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n * @returns {Error} The error.\n */\nmodule.exports = function enhanceError(error, config, code, request, response) {\n error.config = config;\n if (code) {\n error.code = code;\n }\n\n error.request = request;\n error.response = response;\n error.isAxiosError = true;\n\n error.toJSON = function toJSON() {\n return {\n // Standard\n message: this.message,\n name: this.name,\n // Microsoft\n description: this.description,\n number: this.number,\n // Mozilla\n fileName: this.fileName,\n lineNumber: this.lineNumber,\n columnNumber: this.columnNumber,\n stack: this.stack,\n // Axios\n config: this.config,\n code: this.code,\n status: this.response && this.response.status ? this.response.status : null\n };\n };\n return error;\n};\n","'use strict';\n\nvar utils = require('../utils');\n\n/**\n * Config-specific merge-function which creates a new config-object\n * by merging two configuration objects together.\n *\n * @param {Object} config1\n * @param {Object} config2\n * @returns {Object} New object resulting from merging config2 to config1\n */\nmodule.exports = function mergeConfig(config1, config2) {\n // eslint-disable-next-line no-param-reassign\n config2 = config2 || {};\n var config = {};\n\n function getMergedValue(target, source) {\n if (utils.isPlainObject(target) && utils.isPlainObject(source)) {\n return utils.merge(target, source);\n } else if (utils.isPlainObject(source)) {\n return utils.merge({}, source);\n } else if (utils.isArray(source)) {\n return source.slice();\n }\n return source;\n }\n\n // eslint-disable-next-line consistent-return\n function mergeDeepProperties(prop) {\n if (!utils.isUndefined(config2[prop])) {\n return getMergedValue(config1[prop], config2[prop]);\n } else if (!utils.isUndefined(config1[prop])) {\n return getMergedValue(undefined, config1[prop]);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function valueFromConfig2(prop) {\n if (!utils.isUndefined(config2[prop])) {\n return getMergedValue(undefined, config2[prop]);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function defaultToConfig2(prop) {\n if (!utils.isUndefined(config2[prop])) {\n return getMergedValue(undefined, config2[prop]);\n } else if (!utils.isUndefined(config1[prop])) {\n return getMergedValue(undefined, config1[prop]);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function mergeDirectKeys(prop) {\n if (prop in config2) {\n return getMergedValue(config1[prop], config2[prop]);\n } else if (prop in config1) {\n return getMergedValue(undefined, config1[prop]);\n }\n }\n\n var mergeMap = {\n 'url': valueFromConfig2,\n 'method': valueFromConfig2,\n 'data': valueFromConfig2,\n 'baseURL': defaultToConfig2,\n 'transformRequest': defaultToConfig2,\n 'transformResponse': defaultToConfig2,\n 'paramsSerializer': defaultToConfig2,\n 'timeout': defaultToConfig2,\n 'timeoutMessage': defaultToConfig2,\n 'withCredentials': defaultToConfig2,\n 'adapter': defaultToConfig2,\n 'responseType': defaultToConfig2,\n 'xsrfCookieName': defaultToConfig2,\n 'xsrfHeaderName': defaultToConfig2,\n 'onUploadProgress': defaultToConfig2,\n 'onDownloadProgress': defaultToConfig2,\n 'decompress': defaultToConfig2,\n 'maxContentLength': defaultToConfig2,\n 'maxBodyLength': defaultToConfig2,\n 'transport': defaultToConfig2,\n 'httpAgent': defaultToConfig2,\n 'httpsAgent': defaultToConfig2,\n 'cancelToken': defaultToConfig2,\n 'socketPath': defaultToConfig2,\n 'responseEncoding': defaultToConfig2,\n 'validateStatus': mergeDirectKeys\n };\n\n utils.forEach(Object.keys(config1).concat(Object.keys(config2)), function computeConfigValue(prop) {\n var merge = mergeMap[prop] || mergeDeepProperties;\n var configValue = merge(prop);\n (utils.isUndefined(configValue) && merge !== mergeDirectKeys) || (config[prop] = configValue);\n });\n\n return config;\n};\n","'use strict';\n\nvar createError = require('./createError');\n\n/**\n * Resolve or reject a Promise based on response status.\n *\n * @param {Function} resolve A function that resolves the promise.\n * @param {Function} reject A function that rejects the promise.\n * @param {object} response The response.\n */\nmodule.exports = function settle(resolve, reject, response) {\n var validateStatus = response.config.validateStatus;\n if (!response.status || !validateStatus || validateStatus(response.status)) {\n resolve(response);\n } else {\n reject(createError(\n 'Request failed with status code ' + response.status,\n response.config,\n null,\n response.request,\n response\n ));\n }\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar defaults = require('../defaults');\n\n/**\n * Transform the data for a request or a response\n *\n * @param {Object|String} data The data to be transformed\n * @param {Array} headers The headers for the request or response\n * @param {Array|Function} fns A single function or Array of functions\n * @returns {*} The resulting transformed data\n */\nmodule.exports = function transformData(data, headers, fns) {\n var context = this || defaults;\n /*eslint no-param-reassign:0*/\n utils.forEach(fns, function transform(fn) {\n data = fn.call(context, data, headers);\n });\n\n return data;\n};\n","'use strict';\n\nvar utils = require('../utils');\nvar normalizeHeaderName = require('../helpers/normalizeHeaderName');\nvar enhanceError = require('../core/enhanceError');\nvar transitionalDefaults = require('./transitional');\n\nvar DEFAULT_CONTENT_TYPE = {\n 'Content-Type': 'application/x-www-form-urlencoded'\n};\n\nfunction setContentTypeIfUnset(headers, value) {\n if (!utils.isUndefined(headers) && utils.isUndefined(headers['Content-Type'])) {\n headers['Content-Type'] = value;\n }\n}\n\nfunction getDefaultAdapter() {\n var adapter;\n if (typeof XMLHttpRequest !== 'undefined') {\n // For browsers use XHR adapter\n adapter = require('../adapters/xhr');\n } else if (typeof process !== 'undefined' && Object.prototype.toString.call(process) === '[object process]') {\n // For node use HTTP adapter\n adapter = require('../adapters/http');\n }\n return adapter;\n}\n\nfunction stringifySafely(rawValue, parser, encoder) {\n if (utils.isString(rawValue)) {\n try {\n (parser || JSON.parse)(rawValue);\n return utils.trim(rawValue);\n } catch (e) {\n if (e.name !== 'SyntaxError') {\n throw e;\n }\n }\n }\n\n return (encoder || JSON.stringify)(rawValue);\n}\n\nvar defaults = {\n\n transitional: transitionalDefaults,\n\n adapter: getDefaultAdapter(),\n\n transformRequest: [function transformRequest(data, headers) {\n normalizeHeaderName(headers, 'Accept');\n normalizeHeaderName(headers, 'Content-Type');\n\n if (utils.isFormData(data) ||\n utils.isArrayBuffer(data) ||\n utils.isBuffer(data) ||\n utils.isStream(data) ||\n utils.isFile(data) ||\n utils.isBlob(data)\n ) {\n return data;\n }\n if (utils.isArrayBufferView(data)) {\n return data.buffer;\n }\n if (utils.isURLSearchParams(data)) {\n setContentTypeIfUnset(headers, 'application/x-www-form-urlencoded;charset=utf-8');\n return data.toString();\n }\n if (utils.isObject(data) || (headers && headers['Content-Type'] === 'application/json')) {\n setContentTypeIfUnset(headers, 'application/json');\n return stringifySafely(data);\n }\n return data;\n }],\n\n transformResponse: [function transformResponse(data) {\n var transitional = this.transitional || defaults.transitional;\n var silentJSONParsing = transitional && transitional.silentJSONParsing;\n var forcedJSONParsing = transitional && transitional.forcedJSONParsing;\n var strictJSONParsing = !silentJSONParsing && this.responseType === 'json';\n\n if (strictJSONParsing || (forcedJSONParsing && utils.isString(data) && data.length)) {\n try {\n return JSON.parse(data);\n } catch (e) {\n if (strictJSONParsing) {\n if (e.name === 'SyntaxError') {\n throw enhanceError(e, this, 'E_JSON_PARSE');\n }\n throw e;\n }\n }\n }\n\n return data;\n }],\n\n /**\n * A timeout in milliseconds to abort a request. If set to 0 (default) a\n * timeout is not created.\n */\n timeout: 0,\n\n xsrfCookieName: 'XSRF-TOKEN',\n xsrfHeaderName: 'X-XSRF-TOKEN',\n\n maxContentLength: -1,\n maxBodyLength: -1,\n\n validateStatus: function validateStatus(status) {\n return status >= 200 && status < 300;\n },\n\n headers: {\n common: {\n 'Accept': 'application/json, text/plain, */*'\n }\n }\n};\n\nutils.forEach(['delete', 'get', 'head'], function forEachMethodNoData(method) {\n defaults.headers[method] = {};\n});\n\nutils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {\n defaults.headers[method] = utils.merge(DEFAULT_CONTENT_TYPE);\n});\n\nmodule.exports = defaults;\n","'use strict';\n\nmodule.exports = {\n silentJSONParsing: true,\n forcedJSONParsing: true,\n clarifyTimeoutError: false\n};\n","module.exports = {\n \"version\": \"0.26.1\"\n};","'use strict';\n\nmodule.exports = function bind(fn, thisArg) {\n return function wrap() {\n var args = new Array(arguments.length);\n for (var i = 0; i < args.length; i++) {\n args[i] = arguments[i];\n }\n return fn.apply(thisArg, args);\n };\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nfunction encode(val) {\n return encodeURIComponent(val).\n replace(/%3A/gi, ':').\n replace(/%24/g, '$').\n replace(/%2C/gi, ',').\n replace(/%20/g, '+').\n replace(/%5B/gi, '[').\n replace(/%5D/gi, ']');\n}\n\n/**\n * Build a URL by appending params to the end\n *\n * @param {string} url The base of the url (e.g., http://www.google.com)\n * @param {object} [params] The params to be appended\n * @returns {string} The formatted url\n */\nmodule.exports = function buildURL(url, params, paramsSerializer) {\n /*eslint no-param-reassign:0*/\n if (!params) {\n return url;\n }\n\n var serializedParams;\n if (paramsSerializer) {\n serializedParams = paramsSerializer(params);\n } else if (utils.isURLSearchParams(params)) {\n serializedParams = params.toString();\n } else {\n var parts = [];\n\n utils.forEach(params, function serialize(val, key) {\n if (val === null || typeof val === 'undefined') {\n return;\n }\n\n if (utils.isArray(val)) {\n key = key + '[]';\n } else {\n val = [val];\n }\n\n utils.forEach(val, function parseValue(v) {\n if (utils.isDate(v)) {\n v = v.toISOString();\n } else if (utils.isObject(v)) {\n v = JSON.stringify(v);\n }\n parts.push(encode(key) + '=' + encode(v));\n });\n });\n\n serializedParams = parts.join('&');\n }\n\n if (serializedParams) {\n var hashmarkIndex = url.indexOf('#');\n if (hashmarkIndex !== -1) {\n url = url.slice(0, hashmarkIndex);\n }\n\n url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;\n }\n\n return url;\n};\n","'use strict';\n\n/**\n * Creates a new URL by combining the specified URLs\n *\n * @param {string} baseURL The base URL\n * @param {string} relativeURL The relative URL\n * @returns {string} The combined URL\n */\nmodule.exports = function combineURLs(baseURL, relativeURL) {\n return relativeURL\n ? baseURL.replace(/\\/+$/, '') + '/' + relativeURL.replace(/^\\/+/, '')\n : baseURL;\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nmodule.exports = (\n utils.isStandardBrowserEnv() ?\n\n // Standard browser envs support document.cookie\n (function standardBrowserEnv() {\n return {\n write: function write(name, value, expires, path, domain, secure) {\n var cookie = [];\n cookie.push(name + '=' + encodeURIComponent(value));\n\n if (utils.isNumber(expires)) {\n cookie.push('expires=' + new Date(expires).toGMTString());\n }\n\n if (utils.isString(path)) {\n cookie.push('path=' + path);\n }\n\n if (utils.isString(domain)) {\n cookie.push('domain=' + domain);\n }\n\n if (secure === true) {\n cookie.push('secure');\n }\n\n document.cookie = cookie.join('; ');\n },\n\n read: function read(name) {\n var match = document.cookie.match(new RegExp('(^|;\\\\s*)(' + name + ')=([^;]*)'));\n return (match ? decodeURIComponent(match[3]) : null);\n },\n\n remove: function remove(name) {\n this.write(name, '', Date.now() - 86400000);\n }\n };\n })() :\n\n // Non standard browser env (web workers, react-native) lack needed support.\n (function nonStandardBrowserEnv() {\n return {\n write: function write() {},\n read: function read() { return null; },\n remove: function remove() {}\n };\n })()\n);\n","'use strict';\n\n/**\n * Determines whether the specified URL is absolute\n *\n * @param {string} url The URL to test\n * @returns {boolean} True if the specified URL is absolute, otherwise false\n */\nmodule.exports = function isAbsoluteURL(url) {\n // A URL is considered absolute if it begins with \"://\" or \"//\" (protocol-relative URL).\n // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed\n // by any combination of letters, digits, plus, period, or hyphen.\n return /^([a-z][a-z\\d+\\-.]*:)?\\/\\//i.test(url);\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\n/**\n * Determines whether the payload is an error thrown by Axios\n *\n * @param {*} payload The value to test\n * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false\n */\nmodule.exports = function isAxiosError(payload) {\n return utils.isObject(payload) && (payload.isAxiosError === true);\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nmodule.exports = (\n utils.isStandardBrowserEnv() ?\n\n // Standard browser envs have full support of the APIs needed to test\n // whether the request URL is of the same origin as current location.\n (function standardBrowserEnv() {\n var msie = /(msie|trident)/i.test(navigator.userAgent);\n var urlParsingNode = document.createElement('a');\n var originURL;\n\n /**\n * Parse a URL to discover it's components\n *\n * @param {String} url The URL to be parsed\n * @returns {Object}\n */\n function resolveURL(url) {\n var href = url;\n\n if (msie) {\n // IE needs attribute set twice to normalize properties\n urlParsingNode.setAttribute('href', href);\n href = urlParsingNode.href;\n }\n\n urlParsingNode.setAttribute('href', href);\n\n // urlParsingNode provides the UrlUtils interface - http://url.spec.whatwg.org/#urlutils\n return {\n href: urlParsingNode.href,\n protocol: urlParsingNode.protocol ? urlParsingNode.protocol.replace(/:$/, '') : '',\n host: urlParsingNode.host,\n search: urlParsingNode.search ? urlParsingNode.search.replace(/^\\?/, '') : '',\n hash: urlParsingNode.hash ? urlParsingNode.hash.replace(/^#/, '') : '',\n hostname: urlParsingNode.hostname,\n port: urlParsingNode.port,\n pathname: (urlParsingNode.pathname.charAt(0) === '/') ?\n urlParsingNode.pathname :\n '/' + urlParsingNode.pathname\n };\n }\n\n originURL = resolveURL(window.location.href);\n\n /**\n * Determine if a URL shares the same origin as the current location\n *\n * @param {String} requestURL The URL to test\n * @returns {boolean} True if URL shares the same origin, otherwise false\n */\n return function isURLSameOrigin(requestURL) {\n var parsed = (utils.isString(requestURL)) ? resolveURL(requestURL) : requestURL;\n return (parsed.protocol === originURL.protocol &&\n parsed.host === originURL.host);\n };\n })() :\n\n // Non standard browser envs (web workers, react-native) lack needed support.\n (function nonStandardBrowserEnv() {\n return function isURLSameOrigin() {\n return true;\n };\n })()\n);\n","'use strict';\n\nvar utils = require('../utils');\n\nmodule.exports = function normalizeHeaderName(headers, normalizedName) {\n utils.forEach(headers, function processHeader(value, name) {\n if (name !== normalizedName && name.toUpperCase() === normalizedName.toUpperCase()) {\n headers[normalizedName] = value;\n delete headers[name];\n }\n });\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\n// Headers whose duplicates are ignored by node\n// c.f. https://nodejs.org/api/http.html#http_message_headers\nvar ignoreDuplicateOf = [\n 'age', 'authorization', 'content-length', 'content-type', 'etag',\n 'expires', 'from', 'host', 'if-modified-since', 'if-unmodified-since',\n 'last-modified', 'location', 'max-forwards', 'proxy-authorization',\n 'referer', 'retry-after', 'user-agent'\n];\n\n/**\n * Parse headers into an object\n *\n * ```\n * Date: Wed, 27 Aug 2014 08:58:49 GMT\n * Content-Type: application/json\n * Connection: keep-alive\n * Transfer-Encoding: chunked\n * ```\n *\n * @param {String} headers Headers needing to be parsed\n * @returns {Object} Headers parsed into an object\n */\nmodule.exports = function parseHeaders(headers) {\n var parsed = {};\n var key;\n var val;\n var i;\n\n if (!headers) { return parsed; }\n\n utils.forEach(headers.split('\\n'), function parser(line) {\n i = line.indexOf(':');\n key = utils.trim(line.substr(0, i)).toLowerCase();\n val = utils.trim(line.substr(i + 1));\n\n if (key) {\n if (parsed[key] && ignoreDuplicateOf.indexOf(key) >= 0) {\n return;\n }\n if (key === 'set-cookie') {\n parsed[key] = (parsed[key] ? parsed[key] : []).concat([val]);\n } else {\n parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;\n }\n }\n });\n\n return parsed;\n};\n","'use strict';\n\n/**\n * Syntactic sugar for invoking a function and expanding an array for arguments.\n *\n * Common use case would be to use `Function.prototype.apply`.\n *\n * ```js\n * function f(x, y, z) {}\n * var args = [1, 2, 3];\n * f.apply(null, args);\n * ```\n *\n * With `spread` this example can be re-written.\n *\n * ```js\n * spread(function(x, y, z) {})([1, 2, 3]);\n * ```\n *\n * @param {Function} callback\n * @returns {Function}\n */\nmodule.exports = function spread(callback) {\n return function wrap(arr) {\n return callback.apply(null, arr);\n };\n};\n","'use strict';\n\nvar VERSION = require('../env/data').version;\n\nvar validators = {};\n\n// eslint-disable-next-line func-names\n['object', 'boolean', 'number', 'function', 'string', 'symbol'].forEach(function(type, i) {\n validators[type] = function validator(thing) {\n return typeof thing === type || 'a' + (i < 1 ? 'n ' : ' ') + type;\n };\n});\n\nvar deprecatedWarnings = {};\n\n/**\n * Transitional option validator\n * @param {function|boolean?} validator - set to false if the transitional option has been removed\n * @param {string?} version - deprecated version / removed since version\n * @param {string?} message - some message with additional info\n * @returns {function}\n */\nvalidators.transitional = function transitional(validator, version, message) {\n function formatMessage(opt, desc) {\n return '[Axios v' + VERSION + '] Transitional option \\'' + opt + '\\'' + desc + (message ? '. ' + message : '');\n }\n\n // eslint-disable-next-line func-names\n return function(value, opt, opts) {\n if (validator === false) {\n throw new Error(formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')));\n }\n\n if (version && !deprecatedWarnings[opt]) {\n deprecatedWarnings[opt] = true;\n // eslint-disable-next-line no-console\n console.warn(\n formatMessage(\n opt,\n ' has been deprecated since v' + version + ' and will be removed in the near future'\n )\n );\n }\n\n return validator ? validator(value, opt, opts) : true;\n };\n};\n\n/**\n * Assert object's properties type\n * @param {object} options\n * @param {object} schema\n * @param {boolean?} allowUnknown\n */\n\nfunction assertOptions(options, schema, allowUnknown) {\n if (typeof options !== 'object') {\n throw new TypeError('options must be an object');\n }\n var keys = Object.keys(options);\n var i = keys.length;\n while (i-- > 0) {\n var opt = keys[i];\n var validator = schema[opt];\n if (validator) {\n var value = options[opt];\n var result = value === undefined || validator(value, opt, options);\n if (result !== true) {\n throw new TypeError('option ' + opt + ' must be ' + result);\n }\n continue;\n }\n if (allowUnknown !== true) {\n throw Error('Unknown option ' + opt);\n }\n }\n}\n\nmodule.exports = {\n assertOptions: assertOptions,\n validators: validators\n};\n","'use strict';\n\nvar bind = require('./helpers/bind');\n\n// utils is a library of generic helper functions non-specific to axios\n\nvar toString = Object.prototype.toString;\n\n/**\n * Determine if a value is an Array\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an Array, otherwise false\n */\nfunction isArray(val) {\n return Array.isArray(val);\n}\n\n/**\n * Determine if a value is undefined\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if the value is undefined, otherwise false\n */\nfunction isUndefined(val) {\n return typeof val === 'undefined';\n}\n\n/**\n * Determine if a value is a Buffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Buffer, otherwise false\n */\nfunction isBuffer(val) {\n return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor)\n && typeof val.constructor.isBuffer === 'function' && val.constructor.isBuffer(val);\n}\n\n/**\n * Determine if a value is an ArrayBuffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an ArrayBuffer, otherwise false\n */\nfunction isArrayBuffer(val) {\n return toString.call(val) === '[object ArrayBuffer]';\n}\n\n/**\n * Determine if a value is a FormData\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an FormData, otherwise false\n */\nfunction isFormData(val) {\n return toString.call(val) === '[object FormData]';\n}\n\n/**\n * Determine if a value is a view on an ArrayBuffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false\n */\nfunction isArrayBufferView(val) {\n var result;\n if ((typeof ArrayBuffer !== 'undefined') && (ArrayBuffer.isView)) {\n result = ArrayBuffer.isView(val);\n } else {\n result = (val) && (val.buffer) && (isArrayBuffer(val.buffer));\n }\n return result;\n}\n\n/**\n * Determine if a value is a String\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a String, otherwise false\n */\nfunction isString(val) {\n return typeof val === 'string';\n}\n\n/**\n * Determine if a value is a Number\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Number, otherwise false\n */\nfunction isNumber(val) {\n return typeof val === 'number';\n}\n\n/**\n * Determine if a value is an Object\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an Object, otherwise false\n */\nfunction isObject(val) {\n return val !== null && typeof val === 'object';\n}\n\n/**\n * Determine if a value is a plain Object\n *\n * @param {Object} val The value to test\n * @return {boolean} True if value is a plain Object, otherwise false\n */\nfunction isPlainObject(val) {\n if (toString.call(val) !== '[object Object]') {\n return false;\n }\n\n var prototype = Object.getPrototypeOf(val);\n return prototype === null || prototype === Object.prototype;\n}\n\n/**\n * Determine if a value is a Date\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Date, otherwise false\n */\nfunction isDate(val) {\n return toString.call(val) === '[object Date]';\n}\n\n/**\n * Determine if a value is a File\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a File, otherwise false\n */\nfunction isFile(val) {\n return toString.call(val) === '[object File]';\n}\n\n/**\n * Determine if a value is a Blob\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Blob, otherwise false\n */\nfunction isBlob(val) {\n return toString.call(val) === '[object Blob]';\n}\n\n/**\n * Determine if a value is a Function\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Function, otherwise false\n */\nfunction isFunction(val) {\n return toString.call(val) === '[object Function]';\n}\n\n/**\n * Determine if a value is a Stream\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Stream, otherwise false\n */\nfunction isStream(val) {\n return isObject(val) && isFunction(val.pipe);\n}\n\n/**\n * Determine if a value is a URLSearchParams object\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a URLSearchParams object, otherwise false\n */\nfunction isURLSearchParams(val) {\n return toString.call(val) === '[object URLSearchParams]';\n}\n\n/**\n * Trim excess whitespace off the beginning and end of a string\n *\n * @param {String} str The String to trim\n * @returns {String} The String freed of excess whitespace\n */\nfunction trim(str) {\n return str.trim ? str.trim() : str.replace(/^\\s+|\\s+$/g, '');\n}\n\n/**\n * Determine if we're running in a standard browser environment\n *\n * This allows axios to run in a web worker, and react-native.\n * Both environments support XMLHttpRequest, but not fully standard globals.\n *\n * web workers:\n * typeof window -> undefined\n * typeof document -> undefined\n *\n * react-native:\n * navigator.product -> 'ReactNative'\n * nativescript\n * navigator.product -> 'NativeScript' or 'NS'\n */\nfunction isStandardBrowserEnv() {\n if (typeof navigator !== 'undefined' && (navigator.product === 'ReactNative' ||\n navigator.product === 'NativeScript' ||\n navigator.product === 'NS')) {\n return false;\n }\n return (\n typeof window !== 'undefined' &&\n typeof document !== 'undefined'\n );\n}\n\n/**\n * Iterate over an Array or an Object invoking a function for each item.\n *\n * If `obj` is an Array callback will be called passing\n * the value, index, and complete array for each item.\n *\n * If 'obj' is an Object callback will be called passing\n * the value, key, and complete object for each property.\n *\n * @param {Object|Array} obj The object to iterate\n * @param {Function} fn The callback to invoke for each item\n */\nfunction forEach(obj, fn) {\n // Don't bother if no value provided\n if (obj === null || typeof obj === 'undefined') {\n return;\n }\n\n // Force an array if not already something iterable\n if (typeof obj !== 'object') {\n /*eslint no-param-reassign:0*/\n obj = [obj];\n }\n\n if (isArray(obj)) {\n // Iterate over array values\n for (var i = 0, l = obj.length; i < l; i++) {\n fn.call(null, obj[i], i, obj);\n }\n } else {\n // Iterate over object keys\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) {\n fn.call(null, obj[key], key, obj);\n }\n }\n }\n}\n\n/**\n * Accepts varargs expecting each argument to be an object, then\n * immutably merges the properties of each object and returns result.\n *\n * When multiple objects contain the same key the later object in\n * the arguments list will take precedence.\n *\n * Example:\n *\n * ```js\n * var result = merge({foo: 123}, {foo: 456});\n * console.log(result.foo); // outputs 456\n * ```\n *\n * @param {Object} obj1 Object to merge\n * @returns {Object} Result of all merge properties\n */\nfunction merge(/* obj1, obj2, obj3, ... */) {\n var result = {};\n function assignValue(val, key) {\n if (isPlainObject(result[key]) && isPlainObject(val)) {\n result[key] = merge(result[key], val);\n } else if (isPlainObject(val)) {\n result[key] = merge({}, val);\n } else if (isArray(val)) {\n result[key] = val.slice();\n } else {\n result[key] = val;\n }\n }\n\n for (var i = 0, l = arguments.length; i < l; i++) {\n forEach(arguments[i], assignValue);\n }\n return result;\n}\n\n/**\n * Extends object a by mutably adding to it the properties of object b.\n *\n * @param {Object} a The object to be extended\n * @param {Object} b The object to copy properties from\n * @param {Object} thisArg The object to bind function to\n * @return {Object} The resulting value of object a\n */\nfunction extend(a, b, thisArg) {\n forEach(b, function assignValue(val, key) {\n if (thisArg && typeof val === 'function') {\n a[key] = bind(val, thisArg);\n } else {\n a[key] = val;\n }\n });\n return a;\n}\n\n/**\n * Remove byte order marker. This catches EF BB BF (the UTF-8 BOM)\n *\n * @param {string} content with BOM\n * @return {string} content value without BOM\n */\nfunction stripBOM(content) {\n if (content.charCodeAt(0) === 0xFEFF) {\n content = content.slice(1);\n }\n return content;\n}\n\nmodule.exports = {\n isArray: isArray,\n isArrayBuffer: isArrayBuffer,\n isBuffer: isBuffer,\n isFormData: isFormData,\n isArrayBufferView: isArrayBufferView,\n isString: isString,\n isNumber: isNumber,\n isObject: isObject,\n isPlainObject: isPlainObject,\n isUndefined: isUndefined,\n isDate: isDate,\n isFile: isFile,\n isBlob: isBlob,\n isFunction: isFunction,\n isStream: isStream,\n isURLSearchParams: isURLSearchParams,\n isStandardBrowserEnv: isStandardBrowserEnv,\n forEach: forEach,\n merge: merge,\n extend: extend,\n trim: trim,\n stripBOM: stripBOM\n};\n","/**\n * This file automatically generated from `pre-publish.js`.\n * Do not manually edit.\n */\n\nmodule.exports = {\n \"area\": true,\n \"base\": true,\n \"br\": true,\n \"col\": true,\n \"embed\": true,\n \"hr\": true,\n \"img\": true,\n \"input\": true,\n \"link\": true,\n \"meta\": true,\n \"param\": true,\n \"source\": true,\n \"track\": true,\n \"wbr\": true\n};\n","export default function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}","import toPropertyKey from \"./toPropertyKey.js\";\nfunction _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor);\n }\n}\nexport default function _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n Object.defineProperty(Constructor, \"prototype\", {\n writable: false\n });\n return Constructor;\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","export default function _taggedTemplateLiteral(strings, raw) {\n if (!raw) {\n raw = strings.slice(0);\n }\n return Object.freeze(Object.defineProperties(strings, {\n raw: {\n value: Object.freeze(raw)\n }\n }));\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default function _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}","import e from\"void-elements\";var t=/\\s([^'\"/\\s><]+?)[\\s/>]|([^\\s=]+)=\\s?(\".*?\"|'.*?')/g;function n(n){var r={type:\"tag\",name:\"\",voidElement:!1,attrs:{},children:[]},i=n.match(/<\\/?([^\\s]+?)[/\\s>]/);if(i&&(r.name=i[1],(e[i[1]]||\"/\"===n.charAt(n.length-2))&&(r.voidElement=!0),r.name.startsWith(\"!--\"))){var s=n.indexOf(\"--\\x3e\");return{type:\"comment\",comment:-1!==s?n.slice(4,s):\"\"}}for(var a=new RegExp(t),c=null;null!==(c=a.exec(n));)if(c[0].trim())if(c[1]){var o=c[1].trim(),l=[o,\"\"];o.indexOf(\"=\")>-1&&(l=o.split(\"=\")),r.attrs[l[0]]=l[1],a.lastIndex--}else c[2]&&(r.attrs[c[2]]=c[3].trim().substring(1,c[3].length-1));return r}var r=/<[a-zA-Z0-9\\-\\!\\/](?:\"[^\"]*\"|'[^']*'|[^'\">])*>/g,i=/^\\s*$/,s=Object.create(null);function a(e,t){switch(t.type){case\"text\":return e+t.content;case\"tag\":return e+=\"<\"+t.name+(t.attrs?function(e){var t=[];for(var n in e)t.push(n+'=\"'+e[n]+'\"');return t.length?\" \"+t.join(\" \"):\"\"}(t.attrs):\"\")+(t.voidElement?\"/>\":\">\"),t.voidElement?e:e+t.children.reduce(a,\"\")+\"\"+t.name+\">\";case\"comment\":return e+\"\\x3c!--\"+t.comment+\"--\\x3e\"}}var c={parse:function(e,t){t||(t={}),t.components||(t.components=s);var a,c=[],o=[],l=-1,m=!1;if(0!==e.indexOf(\"<\")){var u=e.indexOf(\"<\");c.push({type:\"text\",content:-1===u?e:e.substring(0,u)})}return e.replace(r,function(r,s){if(m){if(r!==\"\"+a.name+\">\")return;m=!1}var u,f=\"/\"!==r.charAt(1),h=r.startsWith(\"\\x3c!--\"),p=s+r.length,d=e.charAt(p);if(h){var v=n(r);return l<0?(c.push(v),c):((u=o[l]).children.push(v),c)}if(f&&(l++,\"tag\"===(a=n(r)).type&&t.components[a.name]&&(a.type=\"component\",m=!0),a.voidElement||m||!d||\"<\"===d||a.children.push({type:\"text\",content:e.slice(p,e.indexOf(\"<\",p))}),0===l&&c.push(a),(u=o[l-1])&&u.children.push(a),o[l]=a),(!f||a.voidElement)&&(l>-1&&(a.voidElement||a.name===r.slice(2,-1))&&(l--,a=-1===l?c:o[l]),!m&&\"<\"!==d&&d)){u=-1===l?c:o[l].children;var x=e.indexOf(\"<\",p),g=e.slice(p,-1===x?void 0:x);i.test(g)&&(g=\" \"),(x>-1&&l+u.length>=0||\" \"!==g)&&u.push({type:\"text\",content:g})}}),c},stringify:function(e){return e.reduce(function(e,t){return e+a(\"\",t)},\"\")}};export default c;\n//# sourceMappingURL=html-parse-stringify.module.js.map\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}","var matchHtmlEntity = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g;\nvar htmlEntities = {\n '&': '&',\n '&': '&',\n '<': '<',\n '<': '<',\n '>': '>',\n '>': '>',\n ''': \"'\",\n ''': \"'\",\n '"': '\"',\n '"': '\"',\n ' ': ' ',\n ' ': ' ',\n '©': '©',\n '©': '©',\n '®': '®',\n '®': '®',\n '…': '…',\n '…': '…',\n '/': '/',\n '/': '/'\n};\n\nvar unescapeHtmlEntity = function unescapeHtmlEntity(m) {\n return htmlEntities[m];\n};\n\nexport var unescape = function unescape(text) {\n return text.replace(matchHtmlEntity, unescapeHtmlEntity);\n};","import _defineProperty from \"@babel/runtime/helpers/defineProperty\";\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 { unescape } from './unescape.js';\nvar defaultOptions = {\n bindI18n: 'languageChanged',\n bindI18nStore: '',\n transEmptyNodeValue: '',\n transSupportBasicHtmlNodes: true,\n transWrapTextNodes: '',\n transKeepBasicHtmlNodesFor: ['br', 'strong', 'i', 'p'],\n useSuspense: true,\n unescape: unescape\n};\nexport function setDefaults() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n defaultOptions = _objectSpread(_objectSpread({}, defaultOptions), options);\n}\nexport function getDefaults() {\n return defaultOptions;\n}","var i18nInstance;\nexport function setI18n(instance) {\n i18nInstance = instance;\n}\nexport function getI18n() {\n return i18nInstance;\n}","import { setDefaults } from './defaults.js';\nimport { setI18n } from './i18nInstance.js';\nexport var initReactI18next = {\n type: '3rdParty',\n init: function init(instance) {\n setDefaults(instance.options.react);\n setI18n(instance);\n }\n};","import _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\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 { createContext } from 'react';\nimport { getDefaults, setDefaults } from './defaults.js';\nimport { getI18n, setI18n } from './i18nInstance.js';\nimport { initReactI18next } from './initReactI18next.js';\nexport { getDefaults, setDefaults, getI18n, setI18n, initReactI18next };\nexport var I18nContext = createContext();\nexport var ReportNamespaces = function () {\n function ReportNamespaces() {\n _classCallCheck(this, ReportNamespaces);\n\n this.usedNamespaces = {};\n }\n\n _createClass(ReportNamespaces, [{\n key: \"addUsedNamespaces\",\n value: function addUsedNamespaces(namespaces) {\n var _this = this;\n\n namespaces.forEach(function (ns) {\n if (!_this.usedNamespaces[ns]) _this.usedNamespaces[ns] = true;\n });\n }\n }, {\n key: \"getUsedNamespaces\",\n value: function getUsedNamespaces() {\n return Object.keys(this.usedNamespaces);\n }\n }]);\n\n return ReportNamespaces;\n}();\nexport function composeInitialProps(ForComponent) {\n return function (ctx) {\n return new Promise(function (resolve) {\n var i18nInitialProps = getInitialProps();\n\n if (ForComponent.getInitialProps) {\n ForComponent.getInitialProps(ctx).then(function (componentsInitialProps) {\n resolve(_objectSpread(_objectSpread({}, componentsInitialProps), i18nInitialProps));\n });\n } else {\n resolve(i18nInitialProps);\n }\n });\n };\n}\nexport function getInitialProps() {\n var i18n = getI18n();\n var namespaces = i18n.reportNamespaces ? i18n.reportNamespaces.getUsedNamespaces() : [];\n var ret = {};\n var initialI18nStore = {};\n i18n.languages.forEach(function (l) {\n initialI18nStore[l] = {};\n namespaces.forEach(function (ns) {\n initialI18nStore[l][ns] = i18n.getResourceBundle(l, ns) || {};\n });\n });\n ret.initialI18nStore = initialI18nStore;\n ret.initialLanguage = i18n.language;\n return ret;\n}","import _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport _defineProperty from \"@babel/runtime/helpers/defineProperty\";\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 { useState, useEffect, useContext, useRef } from 'react';\nimport { getI18n, getDefaults, ReportNamespaces, I18nContext } from './context.js';\nimport { warnOnce, loadNamespaces, hasLoadedNamespace } from './utils.js';\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 function getT() {\n return 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}","import { createElement, useMemo } from 'react';\nimport { I18nContext } from './context.js';\nexport function I18nextProvider(_ref) {\n var i18n = _ref.i18n,\n defaultNS = _ref.defaultNS,\n children = _ref.children;\n var value = useMemo(function () {\n return {\n i18n: i18n,\n defaultNS: defaultNS\n };\n }, [i18n, defaultNS]);\n return createElement(I18nContext.Provider, {\n value: value\n }, children);\n}"],"names":["FLAG_NEW","FLAG_OFFER","FLAG_SUPER_DEAL","PRODUCT_UNAVAILABLE_FLAGS","isBeautyApp","window","URL","location","href","searchParams","get","navigator","userAgent","includes","ownKeys","object","enumerableOnly","keys","Object","getOwnPropertySymbols","symbols","filter","sym","getOwnPropertyDescriptor","enumerable","push","apply","_objectSpread","target","i","arguments","length","source","forEach","key","getOwnPropertyDescriptors","defineProperties","defineProperty","findLabelByDomainType","domainType","label","productLabelDomain","findLabelByKey","labelKey","filterData","data","filterProducts","products","mapCanBeReserved","collection","find","undefined","mapCanBeSold","mapLabels","_deal$labelKey","_deal$title","_flag$labelKey","_flag$title","deal","flag","labelDealFlag","labelDealString","title","labelFlag","labelString","mapShade","_ref2","colorHexCode","colorImageUrl","productCode","props","hexColors","split","imageUrl","mapShades","shades","filterShades","map","mapProductBoxPropsFromGql","options","_data$formattedPrice","_data$formattedPrice$","_data$concept","_data$concept2","_data$concept3","_data$concept3$brand","_data$price$price$cur","_data$price","_data$price$price","_data$imageUrl","_data$backInStockAvai","_data$backInStockAvai2","_data$formattedPrice$2","_data$formattedPrice2","_data$formattedPrice3","_data$concept$ratingA","_data$concept4","_data$concept5","code","currentPrice","formattedPrice","price","name","concept","productName","labels","labelsFromProduct","_ref","hasRelatedSet","isFavoritesDisabled","showPoints","maybeMapProps","brand","canBeReserved","canBeSold","currentPriceValue","image","isStockNotificationEnabled","backInStockAvailability","showBackInStockNotification","oldPrice","basicCataloguePrice","rating","ratingAverage","url","concat","BUY_BUTTON_STATE_DEFAULT","BUY_BUTTON_STATE_LOADING","DIALOG_MODE_FAVORITES","DIALOG_MODE_LOADING","DIALOG_MODE_REWARDS_SHOP","DIALOG_MODE_STANDARD_BUY","FAVORITES_BUTTON_STATE_IN","FAVORITES_BUTTON_STATE_OUT","FETCH_MODE_EAGER","FETCH_MODE_LAZY","QUICK_BUY_BUTTON_STATE_DEFAULT","QUICK_BUY_BUTTON_STATE_ERROR","QUICK_BUY_BUTTON_STATE_LOADING","QUICK_BUY_BUTTON_STATE_SUCCESS","QUICK_BUY_BUTTON_STATE_WAITING","PRODUCT_INITIAL_QUANTITY","_objectWithoutProperties","excluded","sourceKeys","indexOf","sourceSymbolKeys","prototype","propertyIsEnumerable","call","useSWRFetch","fallback","fetcher","formattedKey","JSON","stringify","_useState","useState","_useState2","currentKey","setCurrentKey","matchingKey","_useSWR","error","fetch","useCallback","useMemo","isLoaded","isLoading","assign","t","s","n","p","hasOwnProperty","this","create","__values","o","Symbol","iterator","m","next","value","done","TypeError","__read","r","e","ar","__spreadArray","to","from","pack","l","Array","slice","lowerCase","str","toLowerCase","DEFAULT_SPLIT_REGEXP","DEFAULT_STRIP_REGEXP","replace","input","re","RegExp","reduce","pascalCaseTransform","index","firstChar","charAt","lowerChars","substr","toUpperCase","pascalCase","_a","splitRegexp","_b","stripRegexp","_c","transform","_d","delimiter","result","start","end","join","noCase","camelCaseTransform","dotCase","capitalCaseTransform","upperCaseFirst","capitalCase","isURLSearchParams","URLSearchParams","isFormData","FormData","isPlainObject","proto","getPrototypeOf","isAxiosHeaders","constructor","caseFunctions","snake","camel","header","transformObjectUsingCallbackRecursive","fn","overwrite","e_1","e_2","e_3","isArray","isTransformable","entries","delete","type","polyfill","product","console","warn","series","store","series_1","series_1_1","e_1_1","return","series_2","series_2_1","e_2_1","series_3","series_3_1","_f","append","e_3_1","transformObjectUsingCallback","defaultOptions","applyCaseOptions","caseOptions","preservedKeys","condition","preserveSpecificKeys","createObjectTransformerOf","functionName","createObjectTransformers","e_4","functionNames","objectTransformers","functionNames_1","functionNames_1_1","e_4_1","createSnakeRequestTransformer","headers","overwriteHeadersOrNoop","createCamelResponseTransformer","excludedKeys","ignoreHeaders","_e","set","axios","defaults","transformRequest","caseMiddleware","requestTransformer","transformResponse","responseTransformer","interceptors","request","use","requestInterceptor","config","params","createSnakeParamsInterceptor","thisArg","_arguments","P","generator","Promise","resolve","reject","fulfilled","step","rejected","then","body","f","y","g","_","sent","trys","ops","verb","v","op","pop","isoDateFormat","handleDates","fromEntries","Map","test","isIsoDateString","Date","ApiClient","variable","axiosInstance","baseUrl","language","tenant","token","baseURL","common","response","originalResponse","createFetcher","_this","signal","createContext","formatToken","startsWith","getHeaders","async","atpClusterId","customerId","globalApiUrl","authorization","_customerInfo$custome","_customerInfo$custome2","client","atpCluster","_atpClusters$collecti","atpClusters","customInstance","method","getAtpClusters","getAtpClusterId","customerInfo","getCustomerInfo","customerType","customerTypeId","visitorSegment","BASE_CONCEPT_FRAGMENT","BASE_PRODUCT_FRAGMENT","PRODUCT_FRAGMENT","query","getProductSize","_concept$products","conceptProduct","categories","volume","volumeUnit","trim","_product$concept$avai","_product$concept","_product$concept$avai2","_product$concept$bran","_product$concept2","_product$concept2$bra","_product$concept$prod","_product$concept3","_product$concept$bene","_product$concept4","_product$concept4$ben","_product$concept5","_product$concept$rati","_product$concept6","_product$pdpUrl$relat","_product$pdpUrl","availability","isBackorder","brandUrl","description","productDescription","keyFeatures","benefits","benefit","size","shade","_shade$availability$i","_shade$availability","_shade$color","_shade$formattedPrice","_shade$formattedPrice2","_shade$formattedPrice3","_shade$backInStockAva","_shade$backInStockAva2","_shade$price$bp","_shade$price","_shade$formattedPrice4","_shade$formattedPrice5","_shade$formattedPrice6","_shade$imageUrl","colorName","color","loyaltyRedeemPoints","bp","productImageUrl","totalReviews","ratingCount","pdpUrl","relativeUrl","mapProductReplacementFromGql","replacement","mapProductFromGql","replacements","getProductInfoDialogProducts","graphQlUrl","productCodes","toString","variables","mapProductsFromGql","useGetProductInfoDialogShowMrpStatement","staticApiUrl","_await$getTenantAppli","getTenantApplicationsProductDetailConfiguration","isMrpStatementEnabled","getProductInfoDialogShowMrpStatement","_templateObject","getTranslationKeys","values","TranslationKeys","getTranslationsWithFallback","translations","prev","useGetProductInfoDialogTranslations","currentLanguage","translationsUrl","getProductInfoDialogTranslations","Root","styled","Dialog","shouldForwardProp","propName","zIndex","_ref3","theme","breakpoints","up","_ref4","children","container","id","onClose","open","Loading","Box","alignItems","display","flexDirection","height","justifyContent","textAlign","width","CircularProgress","DialogContent","lazy","default","DialogContainer","_ref$analytics","analytics","_ref$customer","customer","_ref$dialog","dialog","_ref$handlers","handlers","initialProductCode","_ref$mode","mode","_ref$products","_ref$shared","shared","originalItemCode","getInitialProduct","_useTranslation","translate","isDesktop","useIsDesktop","Suspense","_assertThisInitialized","self","ReferenceError","_setPrototypeOf","setPrototypeOf","bind","__proto__","_inherits","subClass","superClass","writable","configurable","_possibleConstructorReturn","_getPrototypeOf","_createSuper","Derived","hasNativeReflectConstruct","Reflect","construct","sham","Proxy","Boolean","valueOf","_isNativeReflectConstruct","Super","NewTarget","ErrorBoundary","_Component","_super","_len","args","_key","setState","_this$state","state","handleOnClose","message","Component","ownKeys$6","_objectSpread$6","consoleLogger","log","output","baseLogger","Logger","concreteLogger","init","prefix","logger","debug","bool","forward","_len2","_key2","_len3","_key3","_len4","_key4","lvl","debugOnly","moduleName","EventEmitter","observers","events","listener","event","cloned","observer","_cloned","defer","res","rej","promise","makeString","copy","a","getLastOfPath","path","Empty","cleanKey","canNotTraverseDeeper","stack","shift","obj","k","setPath","newValue","_getLastOfPath","getPath","_getLastOfPath3","getPathWithDefaults","defaultData","deepExtend","prop","String","regexEscape","_entityMap","isIE10","userAgentData","chars","ownKeys$5","_objectSpread$5","_createSuper$3","_isNativeReflectConstruct$3","deepFind","keySeparator","paths","current","j","mix","endsWith","joinedPath","ResourceStore","_EventEmitter","ns","defaultNS","ignoreJSONStructure","splice","lng","silent","addNamespaces","emit","resources","addResource","deep","hasResourceBundle","removeNamespaces","getResource","compatibilityAPI","getDataByLanguage","postProcessor","processors","addPostProcessor","module","handle","translator","processor","process","ownKeys$4","_objectSpread$4","_createSuper$2","_isNativeReflectConstruct$2","checkedLoadedFor","Translator","services","interpolation","resolved","nsSeparator","namespaces","wouldCheckForNsInKey","seemsNaturalLanguage","userDefinedKeySeparator","userDefinedNsSeparator","possibleChars","c","matched","ki","substring","looksLikeObjectPath","match","interpolator","nestingRegexp","parts","lastKey","_this2","overloadTranslationOptionHandler","returnDetails","_this$extractFromKey","extractFromKey","namespace","appendNamespaceToCIMode","resUsedKey","usedKey","resExactUsedKey","exactUsedKey","resType","noObject","joinArrays","handleAsObjectInI18nFormat","i18nFormat","handleAsObject","returnObjects","returnedObjectHandler","resTypeIsArray","newKeyToUse","deepKey","extendTranslation","usedDefault","needsPluralHandling","count","hasDefaultValue","defaultValueSuffix","pluralResolver","getSuffix","defaultValue","isValidLookup","missingKeyNoValueFallbackToKey","resForMissing","updateMissing","fk","lngs","fallbackLngs","languageUtils","getFallbackCodes","fallbackLng","saveMissingTo","toResolveHierarchy","send","specificDefaultValue","defaultForMissing","missingKeyHandler","backendConnector","saveMissing","saveMissingPlurals","getSuffixes","suffix","appendNamespaceToMissingKey","parseMissingKeyHandler","_this3","parse","defaultVariables","usedLng","usedNS","skipInterpolation","nestBef","skipOnVariables","nb","interpolate","na","nest","context","reset","postProcess","postProcessorNames","applyPostProcessor","postProcessPassResolved","i18nResolved","found","_this4","extracted","fallbackNS","needsZeroSuffixLookup","ordinal","shouldUseIntlApi","needsContextHandling","codes","utils","hasLoadedNamespace","possibleKey","finalKeys","addLookupKeys","pluralSuffix","zeroSuffix","pluralSeparator","contextKey","contextSeparator","returnNull","returnEmptyString","resourceStore","option","capitalize","string","LanguageUtil","supportedLngs","formatLanguageCode","specialCases","lowerCaseLng","part","cleanCode","load","nonExplicitSupportedLngs","getLanguagePartFromCode","cleanedLng","isSupportedCode","lngOnly","supportedLng","fallbacks","getScriptPartFromCode","fallbackCode","fallbackCodes","addCode","fc","sets","nr","_rulesPluralsTypes","Number","deprecatedJsonVersions","suffixesOrder","zero","one","two","few","many","other","createRules","rules","numbers","plurals","PluralResolver","compatibilityJSON","Intl","PluralRules","_unused","rule","getRule","resolvedOptions","pluralCategories","sort","pluralCategory1","pluralCategory2","pluralCategory","prepend","number","select","getSuffixRetroCompatible","idx","noAbs","Math","abs","simplifyPluralSuffix","returnSuffix","ownKeys$3","_objectSpread$3","Interpolator","format","escapeValue","iOpts","escape","useRawValueToEscape","prefixEscaped","suffixEscaped","formatSeparator","unescapePrefix","unescapeSuffix","nestingPrefix","nestingPrefixEscaped","nestingSuffix","nestingSuffixEscaped","nestingOptionsSeparator","maxReplaces","alwaysFormat","resetRegExp","regexpStr","regexp","regexpUnescapeStr","regexpUnescape","nestingRegexpStr","replaces","regexSafe","val","handleFormat","interpolationkey","missingInterpolationHandler","regex","safeValue","todo","exec","matchedVar","temp","lastIndex","clonedOptions","handleHasOptions","inheritedOptions","sep","optionsString","matchedSingleQuotes","matchedDoubleQuotes","formatters","doReduce","elem","ownKeys$2","_objectSpread$2","parseFormatStr","formatStr","formatName","formatOptions","optStr","currency","range","opt","arr","_opt$split","_opt$split2","arrayWithHoles","iterableToArray","unsupportedIterableToArray","nonIterableRest","isNaN","parseInt","createCachedFormatter","cache","formatter","Formatter","formats","NumberFormat","style","datetime","DateTimeFormat","relativetime","RelativeTimeFormat","list","ListFormat","_format","mem","_parseFormatStr","formatted","valOptions","formatParams","locale","ownKeys$1","_objectSpread$1","_createSuper$1","_isNativeReflectConstruct$1","Connector","backend","waitingReads","maxParallelReads","readingCalls","maxRetries","retryTimeout","queue","languages","callback","toLoad","pending","toLoadLanguages","toLoadNamespaces","hasAllNamespaces","reload","pendingCount","loaded","errors","err","addResourceBundle","q","_getLastOfPath2","removePending","loadedKeys","fcName","tried","wait","resolver","read","setTimeout","queueLoad","loadOne","prepareLoading","_this5","fallbackValue","isUpdate","clb","opts","initImmediate","preload","partialBundledLanguages","ret","tDescription","transformOptions","noop","bindMemberFunctions","inst","getOwnPropertyNames","I18n","modules","external","isInitialized","isClone","defOpts","createClassOnDemand","ClassOrObject","lu","on","languageDetector","detection","storeApi","_this2$store","storeApiChained","_this2$store2","deferred","finish","initializedStoreOnce","changeLanguage","usedCallback","resolvedLanguage","setResolvedLanguage","Error","li","lngInLngs","hasLanguageSomeTranslations","isLanguageChangingTo","setLngProps","setLng","getBestMatchFromCodes","cacheUserLanguage","loadResources","detect","keyPrefix","fixedT","rest","resultKey","_this$translator","_this$translator2","exists","_this6","lastLng","loadNotPending","loadState","precheck","preResult","_this7","preloaded","newLngs","_this8","mergedOptions","clone","membersToCopy","createInstance","dir","reloadResources","getFixedT","setDefaultNamespace","loadNamespaces","loadLanguages","i18n","instance","translation","_excluded","ProductInfoDialog","containerProps","ThemeProvider","enableCacheProvider","cacheKey","TestIdProvider","team","Team","project","_excluded2","useProductInfoDialog","_ref$fetchMode","fetchMode","dialogProps","_useGetProductInfoDia","_useSWRFetch","useGetProductInfoDialogProducts","fetchProducts","areProductsLoaded","areProductsLoading","_useGetProductInfoDia2","showMrpStatement","fetchShowMrpStatement","isShowMrpStatementLoaded","isShowMrpStatementLoading","_useGetProductInfoDia3","fetchTranslations","areTranslationsLoaded","areTranslationsLoading","isOpen","setIsOpen","fetchData","close","useEffect","closeProductInfoDialog","isProductInfoDialogOpen","openProductInfoDialog","productInfoDialog","useMediaQuery","productIndex","findIndex","exports","settle","cookies","buildURL","buildFullPath","parseHeaders","isURLSameOrigin","createError","transitionalDefaults","Cancel","onCanceled","requestData","requestHeaders","responseType","cancelToken","unsubscribe","removeEventListener","XMLHttpRequest","auth","username","password","unescape","encodeURIComponent","Authorization","btoa","fullPath","onloadend","responseHeaders","getAllResponseHeaders","responseText","status","statusText","paramsSerializer","timeout","onreadystatechange","readyState","responseURL","onabort","onerror","ontimeout","timeoutErrorMessage","transitional","clarifyTimeoutError","isStandardBrowserEnv","xsrfValue","withCredentials","xsrfCookieName","xsrfHeaderName","setRequestHeader","isUndefined","onDownloadProgress","addEventListener","onUploadProgress","upload","cancel","abort","subscribe","aborted","Axios","mergeConfig","defaultConfig","extend","instanceConfig","CancelToken","isCancel","VERSION","all","promises","spread","isAxiosError","__CANCEL__","executor","resolvePromise","_listeners","onfulfilled","_resolve","reason","throwIfRequested","InterceptorManager","dispatchRequest","validator","validators","configOrUrl","assertOptions","silentJSONParsing","boolean","forcedJSONParsing","requestInterceptorChain","synchronousRequestInterceptors","interceptor","runWhen","synchronous","unshift","responseInterceptorChain","chain","newConfig","onFulfilled","onRejected","getUri","eject","h","isAbsoluteURL","combineURLs","requestedURL","enhanceError","transformData","throwIfCancellationRequested","merge","adapter","toJSON","fileName","lineNumber","columnNumber","config1","config2","getMergedValue","mergeDeepProperties","valueFromConfig2","defaultToConfig2","mergeDirectKeys","mergeMap","configValue","validateStatus","fns","normalizeHeaderName","DEFAULT_CONTENT_TYPE","setContentTypeIfUnset","isArrayBuffer","isBuffer","isStream","isFile","isBlob","isArrayBufferView","buffer","isObject","rawValue","parser","encoder","isString","stringifySafely","strictJSONParsing","maxContentLength","maxBodyLength","encode","serializedParams","isDate","toISOString","hashmarkIndex","relativeURL","write","expires","domain","secure","cookie","isNumber","toGMTString","document","decodeURIComponent","remove","now","payload","originURL","msie","urlParsingNode","createElement","resolveURL","setAttribute","protocol","host","search","hash","hostname","port","pathname","requestURL","parsed","normalizedName","ignoreDuplicateOf","line","thing","deprecatedWarnings","version","formatMessage","desc","schema","allowUnknown","isFunction","ArrayBuffer","isView","pipe","assignValue","b","stripBOM","content","charCodeAt","_classCallCheck","Constructor","_defineProperties","descriptor","_createClass","protoProps","staticProps","_iterableToArray","iter","_taggedTemplateLiteral","strings","raw","freeze","_toConsumableArray","arrayLikeToArray","_console","alreadyWarned","cb","initialized","off","oldI18nextHasLoadedNamespace","bindI18n","isNewerI18next","i18nInstance","matchHtmlEntity","htmlEntities","unescapeHtmlEntity","bindI18nStore","transEmptyNodeValue","transSupportBasicHtmlNodes","transWrapTextNodes","transKeepBasicHtmlNodesFor","useSuspense","text","initReactI18next","setDefaults","react","setI18n","ReportNamespaces","usedNamespaces","usePrevious","ignore","ref","useRef","i18nFromProps","useContext","i18nFromContext","defaultNSFromContext","reportNamespaces","notReadyT","retNotReady","ready","i18nOptions","addUsedNamespaces","every","getT","nsMode","setT","joinedNS","previousJoinedNS","isMounted","boundReset","isInitial","I18nextProvider"],"sourceRoot":""}