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EmuB,EAAc3D,EAAOzqB,OAAS,EAC9ByqB,EAAO4D,SAAQ,SAAAtwB,SAAS,IAAiBgC,OAAbhC,EAAM2D,IAAI,KAA0B3B,OAAvBhC,EAAMmX,OAAOjV,KAAK,SAAQA,KAAK,IACxE,GACW,GAAMmR,MAAM,mBAAsCrR,OAAnBiS,EAAK,gBAAqBjS,OAAP0sB,GAA2B1sB,OAApBquB,EAAY,UAA8BruB,OAAtB4R,EAAK,mBAAgD5R,OAA/B8sB,EAAgB,MAAQ,QAAU,CAClJ5a,OAAQ,MACRZ,QAAS,CACL,0BAA2BhM,OAAgBiL,IAAIC,aAAae,2BAGpE,MAAO,CAAP,EANiBC,EAAAC,OAMDE,WACpB,mMAZwB+a,EAAchC,EAAsB9Y,EAA2Bkb,mCAAjF,GAcN,OAAOta,EAAAA,EAAAA,KAACyZ,GAAA,CAAelY,MAAOtG,EAAOid,OAAQA,EAAQwB,MAAOA,EAAOC,aAAcM,GACrF,EDfExf,WAAY,aACZjB,cAAA,SAAcuiB,EAAKC,EAAM7rB,GACrB,OAAO6P,EAAAA,EAAAA,KAAC,gBAAI,wCAChB,IAPayb,GAA8BH,GAA9BG,UAAWE,GAAmBL,GAAnBK,MAAO9gB,GAAYygB,GAAZzgB","sources":["webpack://spare-part-variation-list/../../packages/ui/src/components/Adaptive/Adaptive.module.scss","webpack://spare-part-variation-list/../../packages/ui/src/components/Inputs/Inputs.module.scss","webpack://spare-part-variation-list/../../packages/ui/src/components/QuantitySelector/QuantitySelector.module.scss","webpack://spare-part-variation-list/../../packages/ui/src/components/SparePartsList/DesktopFacets.module.scss","webpack://spare-part-variation-list/../../packages/ui/src/components/SparePartsList/Item.module.scss","webpack://spare-part-variation-list/../../packages/ui/src/components/SparePartsList/MobileFacets.module.scss","webpack://spare-part-variation-list/../../packages/ui/src/components/SparePartsList/Sorter.module.scss","webpack://spare-part-variation-list/../../packages/ui/src/components/SparePartsList/SparePartsList.module.scss","webpack://spare-part-variation-list/../../packages/ui/src/components/TaxInfoNote/TaxInfoNote.module.scss","webpack://spare-part-variation-list/../../node_modules/css-loader/dist/runtime/api.js","webpack://spare-part-variation-list/../../node_modules/css-loader/dist/runtime/noSourceMaps.js","webpack://spare-part-variation-list/../../node_modules/react-dom/client.js","webpack://spare-part-variation-list/../../node_modules/react/cjs/react-jsx-runtime.production.min.js","webpack://spare-part-variation-list/../../node_modules/react/jsx-runtime.js","webpack://spare-part-variation-list/../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js","webpack://spare-part-variation-list/../../node_modules/style-loader/dist/runtime/insertBySelector.js","webpack://spare-part-variation-list/../../node_modules/style-loader/dist/runtime/insertStyleElement.js","webpack://spare-part-variation-list/../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js","webpack://spare-part-variation-list/../../node_modules/style-loader/dist/runtime/styleDomAPI.js","webpack://spare-part-variation-list/../../node_modules/style-loader/dist/runtime/styleTagTransform.js","webpack://spare-part-variation-list/../../node_modules/systemjs-webpack-interop/auto-public-path/auto-public-path.js","webpack://spare-part-variation-list/../../node_modules/systemjs-webpack-interop/public-path.js","webpack://spare-part-variation-list/external system \"react\"","webpack://spare-part-variation-list/external system \"react-dom\"","webpack://spare-part-variation-list/../../node_modules/classnames/index.js","webpack://spare-part-variation-list/webpack/bootstrap","webpack://spare-part-variation-list/webpack/runtime/__system_context__","webpack://spare-part-variation-list/webpack/runtime/compat get default export","webpack://spare-part-variation-list/webpack/runtime/define property getters","webpack://spare-part-variation-list/webpack/runtime/hasOwnProperty shorthand","webpack://spare-part-variation-list/webpack/runtime/make namespace object","webpack://spare-part-variation-list/webpack/runtime/publicPath","webpack://spare-part-variation-list/webpack/runtime/nonce","webpack://spare-part-variation-list/../../node_modules/systemjs-webpack-interop/auto-public-path/1.js","webpack://spare-part-variation-list/../../node_modules/single-spa-react/lib/esm/single-spa-react.js","webpack://spare-part-variation-list/../../packages/ui/src/utilities/matomo.ts","webpack://spare-part-variation-list/../../packages/ui/src/utilities/popup.ts","webpack://spare-part-variation-list/../../packages/ui/src/components/Inventories/Inventories.tsx","webpack://spare-part-variation-list/../../packages/ui/src/hooks/usePromise.ts","webpack://spare-part-variation-list/../../packages/ui/src/components/SparePartsList/SparePartsList.module.scss?291a","webpack://spare-part-variation-list/../../packages/ui/src/utilities/cart.ts","webpack://spare-part-variation-list/../../packages/ui/src/hooks/useCartItemUpdate.ts","webpack://spare-part-variation-list/../../packages/ui/src/utilities/debounce.ts","webpack://spare-part-variation-list/../../packages/ui/src/components/QuantitySelector/QuantitySelector.module.scss?559d","webpack://spare-part-variation-list/../../packages/ui/src/components/Loader/Loader.tsx","webpack://spare-part-variation-list/../../packages/ui/src/components/Adaptive/Adaptive.module.scss?30bd","webpack://spare-part-variation-list/../../packages/ui/src/components/Adaptive/Adaptive.tsx","webpack://spare-part-variation-list/../../packages/ui/src/components/QuantitySelector/QuantitySelector.tsx","webpack://spare-part-variation-list/../../packages/ui/src/components/RemanufacturedChoice/RemanufacturedChoice.tsx","webpack://spare-part-variation-list/../../packages/ui/src/components/SparePartsList/Item.module.scss?f2e5","webpack://spare-part-variation-list/../../packages/ui/src/components/TaxInfoNote/TaxInfoNote.module.scss?0f07","webpack://spare-part-variation-list/../../packages/ui/src/components/TaxInfoNote/TaxInfoNote.tsx","webpack://spare-part-variation-list/../../packages/ui/src/components/SparePartsList/Item.tsx","webpack://spare-part-variation-list/../../packages/ui/src/components/Inputs/Inputs.module.scss?c10d","webpack://spare-part-variation-list/../../packages/ui/src/components/Inputs/InputCheckbox.tsx","webpack://spare-part-variation-list/../../packages/ui/src/components/SparePartsList/Sorter.module.scss?ea00","webpack://spare-part-variation-list/../../packages/ui/src/components/SparePartsList/Sorter.tsx","webpack://spare-part-variation-list/../../packages/ui/src/components/Inputs/InputRange.tsx","webpack://spare-part-variation-list/../../packages/ui/src/components/SparePartsList/DesktopFacets.module.scss?d9eb","webpack://spare-part-variation-list/../../packages/ui/src/components/SparePartsList/DesktopFacets.tsx","webpack://spare-part-variation-list/../../packages/ui/src/components/SparePartsList/MobileFacets.module.scss?43be","webpack://spare-part-variation-list/../../packages/ui/src/components/SparePartsList/MobileFacets.tsx","webpack://spare-part-variation-list/../../packages/ui/src/components/SparePartsList/SparePartsList.tsx","webpack://spare-part-variation-list/./src/swecon-spare-part-variation-list.tsx","webpack://spare-part-variation-list/./src/app.tsx"],"sourcesContent":["// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.E3wuS5onJhEdp1esFFph,.E3wuS5onJhEdp1esFFph .dbEYhdrNjWJSY1qWW9tC{display:contents}.E3wuS5onJhEdp1esFFph .jqrYdgRUzerqC8Ri_39f{display:none}@media(max-width: 400.02px){.E3wuS5onJhEdp1esFFph.I1fYZWvhIipXWwtQYmho .dbEYhdrNjWJSY1qWW9tC{display:none}.E3wuS5onJhEdp1esFFph.I1fYZWvhIipXWwtQYmho .jqrYdgRUzerqC8Ri_39f{display:contents}}@media(max-width: 576.02px){.E3wuS5onJhEdp1esFFph._dvnaO6cuYjxmo1hR9yE .dbEYhdrNjWJSY1qWW9tC{display:none}.E3wuS5onJhEdp1esFFph._dvnaO6cuYjxmo1hR9yE .jqrYdgRUzerqC8Ri_39f{display:contents}}@media(max-width: 768.02px){.E3wuS5onJhEdp1esFFph.tO2e33ruirApbGq5DFHj .dbEYhdrNjWJSY1qWW9tC{display:none}.E3wuS5onJhEdp1esFFph.tO2e33ruirApbGq5DFHj .jqrYdgRUzerqC8Ri_39f{display:contents}}@media(max-width: 1024.02px){.E3wuS5onJhEdp1esFFph.T0Z1wGoL8DUIC1ARpvNx .dbEYhdrNjWJSY1qWW9tC{display:none}.E3wuS5onJhEdp1esFFph.T0Z1wGoL8DUIC1ARpvNx .jqrYdgRUzerqC8Ri_39f{display:contents}}@media(max-width: 1366.02px){.E3wuS5onJhEdp1esFFph.fHBBZVbgptwQCf1LePLD .dbEYhdrNjWJSY1qWW9tC{display:none}.E3wuS5onJhEdp1esFFph.fHBBZVbgptwQCf1LePLD .jqrYdgRUzerqC8Ri_39f{display:contents}}`, \"\"]);\n// Exports\nexport var adaptive = `E3wuS5onJhEdp1esFFph`;\nexport var over = `dbEYhdrNjWJSY1qWW9tC`;\nexport var under = `jqrYdgRUzerqC8Ri_39f`;\nexport var xs = `I1fYZWvhIipXWwtQYmho`;\nexport var sm = `_dvnaO6cuYjxmo1hR9yE`;\nexport var md = `tO2e33ruirApbGq5DFHj`;\nexport var lg = `T0Z1wGoL8DUIC1ARpvNx`;\nexport var xl = `fHBBZVbgptwQCf1LePLD`;\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.h_9x2LOgrrrTsv4SROpO::-webkit-outer-spin-button,.h_9x2LOgrrrTsv4SROpO::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.h_9x2LOgrrrTsv4SROpO[type=number]{-moz-appearance:textfield}.aTmc02qDIZyKAjo1Y_FP{position:relative;height:64px}.aTmc02qDIZyKAjo1Y_FP .DQcVOCRgbqA3j5rtpiH7{height:4px;border-radius:2px;position:absolute;bottom:40px;left:0;right:0;background-color:#9ca3af}.aTmc02qDIZyKAjo1Y_FP .UNKytXl8GcKaloSmt0yA{height:4px;position:absolute;bottom:40px;background-color:#4b5563}.aTmc02qDIZyKAjo1Y_FP .wanuBjftr7kyt60mNCtQ{position:absolute;width:16px;height:16px;bottom:34px;transform:translateX(-50%);border-radius:8px;background-color:#4b5563}.aTmc02qDIZyKAjo1Y_FP .wanuBjftr7kyt60mNCtQ:hover{cursor:grab}.aTmc02qDIZyKAjo1Y_FP input{color:#434b4f;background-color:#fff;position:absolute;bottom:0;width:90px;padding:4px;margin:0;line-height:21px;border:1px solid #9ca3af;font-size:14px}.aTmc02qDIZyKAjo1Y_FP input.hdHd7KVSMuLW3V8cCDtH{left:0;text-align:left}.aTmc02qDIZyKAjo1Y_FP input.bAPEtWjXpNjkrP26gZWt{right:0;text-align:right}.grabbedBall,.grabbedBall *{cursor:grabbing !important;user-select:none !important}.MWSaI6Bp5mKdTqe7HhaB{position:absolute;top:12px;right:0;display:flex;gap:8px}.jNRc27KnE2NkhkC0DXiv{position:absolute;left:0;top:0}.P3KJ5a4dnhJP_ETvboOJ{pointer-events:none;opacity:.5}.ui1R9nxW3hep53O1_nPI{display:none}.VxZdeCqsLTiRomE2f2Cz{position:absolute;top:-24px}`, \"\"]);\n// Exports\nexport var numberInput = `h_9x2LOgrrrTsv4SROpO`;\nexport var sliderInput = `aTmc02qDIZyKAjo1Y_FP`;\nexport var sliderGray = `DQcVOCRgbqA3j5rtpiH7`;\nexport var sliderBlack = `UNKytXl8GcKaloSmt0yA`;\nexport var ball = `wanuBjftr7kyt60mNCtQ`;\nexport var lowInput = `hdHd7KVSMuLW3V8cCDtH`;\nexport var highInput = `bAPEtWjXpNjkrP26gZWt`;\nexport var suffix = `MWSaI6Bp5mKdTqe7HhaB`;\nexport var selectLabel = `jNRc27KnE2NkhkC0DXiv`;\nexport var disabled = `P3KJ5a4dnhJP_ETvboOJ`;\nexport var hidden = `ui1R9nxW3hep53O1_nPI`;\nexport var onTop = `VxZdeCqsLTiRomE2f2Cz`;\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.MRNj31NucNVlmaSXXh1h{width:100%;font-size:1.9rem !important;line-height:2.8rem !important}.MRNj31NucNVlmaSXXh1h.ah39qj26SVHNzPznHgMk{pointer-events:none;opacity:.7}.MRNj31NucNVlmaSXXh1h.agw1Lrbp9AKPSoL2f7LC>div{height:unset;padding:0 !important}.MRNj31NucNVlmaSXXh1h.agw1Lrbp9AKPSoL2f7LC:hover>div{filter:invert(1)}.MRNj31NucNVlmaSXXh1h.GOPIXNZCO0i_lPlIAyuj{display:inline-flex;flex-direction:row;align-items:center;justify-content:center;pointer-events:none}.MRNj31NucNVlmaSXXh1h.GOPIXNZCO0i_lPlIAyuj .TT4lefWbPlLQkZtxoNIx{width:16px;height:16px;background-size:contain;background-repeat:no-repeat;content:\"\";background-image:url(../assets/icons/Check.svg);margin-right:min(10%,40px);margin-left:max(-10%,-40px)}.MRNj31NucNVlmaSXXh1h.GOPIXNZCO0i_lPlIAyuj .TT4lefWbPlLQkZtxoNIx:hover{background-image:url(../assets/icons/Check-cloud.svg)}.MRNj31NucNVlmaSXXh1h.GOPIXNZCO0i_lPlIAyuj .CtQtJGjCSGYdy7AzArhm{display:inline-block}.MRNj31NucNVlmaSXXh1h.GOPIXNZCO0i_lPlIAyuj:hover .TT4lefWbPlLQkZtxoNIx{background-image:url(../assets/icons/Check-cloud.svg)}.eSfzvtNupaRUFkfdwj1q{text-decoration:none !important;font-size:1.9rem !important;line-height:2.8rem !important;text-wrap:wrap;padding:6px 24px !important;text-align:center;white-space:break-spaces}.JLtL78fYvzFPzQyRuHyu{text-decoration:underline}div.s8uFc0eB_Udeb8aXyubt{margin:auto;width:128px;overflow:visible}div.s8uFc0eB_Udeb8aXyubt .WPif_gMWrSI_lD6LvHAZ{display:flex;justify-content:space-between;align-items:stretch;box-shadow:0 0 5px rgba(0,0,0,.2);position:relative}div.s8uFc0eB_Udeb8aXyubt .WPif_gMWrSI_lD6LvHAZ input{margin:0;padding:0 8px;height:48px;border:0;flex:1 1 auto;-moz-appearance:textfield}div.s8uFc0eB_Udeb8aXyubt .WPif_gMWrSI_lD6LvHAZ input::-webkit-outer-spin-button,div.s8uFc0eB_Udeb8aXyubt .WPif_gMWrSI_lD6LvHAZ input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}div.s8uFc0eB_Udeb8aXyubt .WPif_gMWrSI_lD6LvHAZ .w39JeX1XXrslcxLrNJtN{display:none;position:absolute;top:0;left:0;right:0;font-size:10px;user-select:none;text-align:center}div.s8uFc0eB_Udeb8aXyubt .WPif_gMWrSI_lD6LvHAZ .rC8D_0nlEC3yDoqzQDsv{flex:0 0 24px;display:flex;flex-direction:column;justify-content:space-around;align-items:center}div.s8uFc0eB_Udeb8aXyubt .WPif_gMWrSI_lD6LvHAZ .rC8D_0nlEC3yDoqzQDsv .nc8lExd_cgvJ6VmZMIjr,div.s8uFc0eB_Udeb8aXyubt .WPif_gMWrSI_lD6LvHAZ .rC8D_0nlEC3yDoqzQDsv .s_saf5ex65X1mK_M1NjE{text-align:center;vertical-align:middle;user-select:none;cursor:pointer;width:24px;margin:0}div.s8uFc0eB_Udeb8aXyubt .WPif_gMWrSI_lD6LvHAZ .rC8D_0nlEC3yDoqzQDsv .ah39qj26SVHNzPznHgMk.nc8lExd_cgvJ6VmZMIjr,div.s8uFc0eB_Udeb8aXyubt .WPif_gMWrSI_lD6LvHAZ .rC8D_0nlEC3yDoqzQDsv .ah39qj26SVHNzPznHgMk.s_saf5ex65X1mK_M1NjE{pointer-events:none;opacity:.5}div.s8uFc0eB_Udeb8aXyubt .WPif_gMWrSI_lD6LvHAZ .rC8D_0nlEC3yDoqzQDsv .nc8lExd_cgvJ6VmZMIjr:hover,div.s8uFc0eB_Udeb8aXyubt .WPif_gMWrSI_lD6LvHAZ .rC8D_0nlEC3yDoqzQDsv .s_saf5ex65X1mK_M1NjE:hover{background-color:#f2f2f0}div.s8uFc0eB_Udeb8aXyubt .WPif_gMWrSI_lD6LvHAZ .rC8D_0nlEC3yDoqzQDsv .nc8lExd_cgvJ6VmZMIjr div,div.s8uFc0eB_Udeb8aXyubt .WPif_gMWrSI_lD6LvHAZ .rC8D_0nlEC3yDoqzQDsv .s_saf5ex65X1mK_M1NjE div{line-height:24px;font-size:24px}div.s8uFc0eB_Udeb8aXyubt .WPif_gMWrSI_lD6LvHAZ .rC8D_0nlEC3yDoqzQDsv .s_saf5ex65X1mK_M1NjE div{transform:rotate(90deg) translateY(-2px)}div.s8uFc0eB_Udeb8aXyubt .WPif_gMWrSI_lD6LvHAZ .rC8D_0nlEC3yDoqzQDsv .nc8lExd_cgvJ6VmZMIjr div{transform:rotate(270deg) scaleY(-1) translateY(-2px)}div.s8uFc0eB_Udeb8aXyubt .yum8k3uetPoCBtVp_7OQ{width:fit-content;transform:translateX(calc(-50% + 49px));position:relative;top:8px;color:#c0453a;white-space:nowrap}.GtCNn9toKJ8YPSm17DF1{padding-top:26px}.GtCNn9toKJ8YPSm17DF1 div.s8uFc0eB_Udeb8aXyubt{width:98px;height:42px}.GtCNn9toKJ8YPSm17DF1 div.s8uFc0eB_Udeb8aXyubt .WPif_gMWrSI_lD6LvHAZ{height:100%;flex-direction:column-reverse;justify-content:flex-end;align-items:center;border-radius:30px;border:1px solid #434b4f;box-shadow:unset}.GtCNn9toKJ8YPSm17DF1 div.s8uFc0eB_Udeb8aXyubt .WPif_gMWrSI_lD6LvHAZ input{text-align:center;height:unset;width:98px;padding:0;line-height:1;min-height:unset}.GtCNn9toKJ8YPSm17DF1 div.s8uFc0eB_Udeb8aXyubt .WPif_gMWrSI_lD6LvHAZ .w39JeX1XXrslcxLrNJtN{display:block;position:absolute;white-space:nowrap;width:fit-content;top:-26px;transform:translateX(calc(49px - 50%))}@media(min-width: 0){.GtCNn9toKJ8YPSm17DF1 div.s8uFc0eB_Udeb8aXyubt .WPif_gMWrSI_lD6LvHAZ .w39JeX1XXrslcxLrNJtN{font-size:1.3rem;line-height:1.8rem}}@media(min-width: 400px){.GtCNn9toKJ8YPSm17DF1 div.s8uFc0eB_Udeb8aXyubt .WPif_gMWrSI_lD6LvHAZ .w39JeX1XXrslcxLrNJtN{font-size:1.3rem;line-height:1.8rem}}@media(min-width: 1366px){.GtCNn9toKJ8YPSm17DF1 div.s8uFc0eB_Udeb8aXyubt .WPif_gMWrSI_lD6LvHAZ .w39JeX1XXrslcxLrNJtN{font-size:1.4rem;line-height:2.1rem}}.GtCNn9toKJ8YPSm17DF1 div.s8uFc0eB_Udeb8aXyubt .WPif_gMWrSI_lD6LvHAZ .rC8D_0nlEC3yDoqzQDsv{position:absolute;width:100%;height:100%;flex-direction:row-reverse;gap:26px;justify-content:space-between;padding:0 11px}.GtCNn9toKJ8YPSm17DF1 div.s8uFc0eB_Udeb8aXyubt .WPif_gMWrSI_lD6LvHAZ .rC8D_0nlEC3yDoqzQDsv .s_saf5ex65X1mK_M1NjE{z-index:1;border-radius:50%;display:flex;align-items:center;justify-content:center;height:24px}.GtCNn9toKJ8YPSm17DF1 div.s8uFc0eB_Udeb8aXyubt .WPif_gMWrSI_lD6LvHAZ .rC8D_0nlEC3yDoqzQDsv .s_saf5ex65X1mK_M1NjE div{display:none}.GtCNn9toKJ8YPSm17DF1 div.s8uFc0eB_Udeb8aXyubt .WPif_gMWrSI_lD6LvHAZ .rC8D_0nlEC3yDoqzQDsv .s_saf5ex65X1mK_M1NjE:after{content:\"+\";color:#434b4f;font-size:24px;line-height:16px;display:inline-block;vertical-align:inherit;margin-bottom:3px}.GtCNn9toKJ8YPSm17DF1 div.s8uFc0eB_Udeb8aXyubt .WPif_gMWrSI_lD6LvHAZ .rC8D_0nlEC3yDoqzQDsv .nc8lExd_cgvJ6VmZMIjr{z-index:1;border-radius:50%;display:flex;align-items:center;justify-content:center;height:24px}.GtCNn9toKJ8YPSm17DF1 div.s8uFc0eB_Udeb8aXyubt .WPif_gMWrSI_lD6LvHAZ .rC8D_0nlEC3yDoqzQDsv .nc8lExd_cgvJ6VmZMIjr div{display:none}.GtCNn9toKJ8YPSm17DF1 div.s8uFc0eB_Udeb8aXyubt .WPif_gMWrSI_lD6LvHAZ .rC8D_0nlEC3yDoqzQDsv .nc8lExd_cgvJ6VmZMIjr:after{content:\"–\";color:#434b4f;font-size:24px;line-height:16px;display:inline-block;vertical-align:inherit;margin-bottom:3px}.GtCNn9toKJ8YPSm17DF1.sAMV85TpTN9TqNaEumD7 div.s8uFc0eB_Udeb8aXyubt{height:56px}.GtCNn9toKJ8YPSm17DF1.sAMV85TpTN9TqNaEumD7 div.s8uFc0eB_Udeb8aXyubt .WPif_gMWrSI_lD6LvHAZ .w39JeX1XXrslcxLrNJtN{margin-top:8px}.GtCNn9toKJ8YPSm17DF1.sAMV85TpTN9TqNaEumD7 div.s8uFc0eB_Udeb8aXyubt .WPif_gMWrSI_lD6LvHAZ .rC8D_0nlEC3yDoqzQDsv{padding:0 8px}`, \"\"]);\n// Exports\nexport var buyButton = `MRNj31NucNVlmaSXXh1h`;\nexport var disabled = `ah39qj26SVHNzPznHgMk`;\nexport var buttonLabelLoadingState = `agw1Lrbp9AKPSoL2f7LC`;\nexport var buttonLabelAddedState = `GOPIXNZCO0i_lPlIAyuj`;\nexport var buttonLabelAddedStateIcon = `TT4lefWbPlLQkZtxoNIx`;\nexport var buttonLabelAddedStateLbl = `CtQtJGjCSGYdy7AzArhm`;\nexport var buttonStyledAnchor = `eSfzvtNupaRUFkfdwj1q`;\nexport var itemLogInLink = `JLtL78fYvzFPzQyRuHyu`;\nexport var numberInput = `s8uFc0eB_Udeb8aXyubt`;\nexport var input = `WPif_gMWrSI_lD6LvHAZ`;\nexport var note = `w39JeX1XXrslcxLrNJtN`;\nexport var inputChevrons = `rC8D_0nlEC3yDoqzQDsv`;\nexport var chevronDown = `nc8lExd_cgvJ6VmZMIjr`;\nexport var chevronUp = `s_saf5ex65X1mK_M1NjE`;\nexport var error = `yum8k3uetPoCBtVp_7OQ`;\nexport var newDesign = `GtCNn9toKJ8YPSm17DF1`;\nexport var pdpDesign = `sAMV85TpTN9TqNaEumD7`;\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `span.z7ukL1Bra_YG1EWLXjyK::before{width:16px;height:16px;background-size:contain;transition:.5s}span.z7ukL1Bra_YG1EWLXjyK.eZEhC3CTYF9Z0rmvgCag::before{display:inline-block;background-repeat:no-repeat;content:\"\";background-image:url(\"../assets/icons/Up-chevron.svg\")}span.z7ukL1Bra_YG1EWLXjyK.daxgTQVkMv3Lxllv9otg::before{display:inline-block;background-repeat:no-repeat;content:\"\";background-image:url(\"../assets/icons/Up-chevron.svg\");transform:rotate(180deg)}span.Ijdp6OzaBHEZSjaQ8tAD{display:inline-block}span.Ijdp6OzaBHEZSjaQ8tAD::before{display:inline-block;background-repeat:no-repeat;content:\"\";background-image:url(\"../assets/icons/Help.svg\");width:24px;height:24px;background-size:24px;vertical-align:top;margin-left:4px}`, \"\"]);\n// Exports\nexport var chevron = `z7ukL1Bra_YG1EWLXjyK`;\nexport var chevronUp = `eZEhC3CTYF9Z0rmvgCag`;\nexport var chevronDown = `daxgTQVkMv3Lxllv9otg`;\nexport var popupIcon = `Ijdp6OzaBHEZSjaQ8tAD`;\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.TGTqvpSx86GWZ1UbW23a{display:flex;gap:24px;width:100%;justify-content:space-between;background-color:#fff;align-items:stretch;padding:24px}.TGTqvpSx86GWZ1UbW23a a:not(.btn){display:flex;position:relative;gap:24px;width:100%;justify-content:space-between;background-color:#fff;align-items:stretch}@media(max-width: 1196.02px){.TGTqvpSx86GWZ1UbW23a{padding:16px;gap:12px}.TGTqvpSx86GWZ1UbW23a a:not(.btn){gap:12px}}.AdNv3kgyg9dDQgWYIZCE{display:contents}.P30Ae7F61vK2PyX_iN6C{margin:12px 0 8px 0;line-height:1;min-height:29px}@media(min-width: 0){.P30Ae7F61vK2PyX_iN6C .Mp5CjA7gZw3o4UqjUfui{font-size:1.3rem;line-height:1.8rem}}@media(min-width: 400px){.P30Ae7F61vK2PyX_iN6C .Mp5CjA7gZw3o4UqjUfui{font-size:1.3rem;line-height:1.8rem}}@media(min-width: 1366px){.P30Ae7F61vK2PyX_iN6C .Mp5CjA7gZw3o4UqjUfui{font-size:1.4rem;line-height:2.1rem}}.P30Ae7F61vK2PyX_iN6C .Mp5CjA7gZw3o4UqjUfui{background-color:#dacea9;font-weight:400;padding:7px 8px;margin-right:8px;white-space:nowrap;text-overflow:ellipsis}.hGqkkSiQsyauFY61M31A{height:90px;width:139px;flex-shrink:0}.cvsNPkWzgnYaF9SprN0p{text-decoration:underline}.ANK80vb0x8DWBuRpTaxa{font-weight:700;margin-bottom:4px}@media(min-width: 0){.BMCmCq4qkb8NZBw1D1at{font-size:1.3rem;line-height:1.8rem}}@media(min-width: 400px){.BMCmCq4qkb8NZBw1D1at{font-size:1.3rem;line-height:1.8rem}}@media(min-width: 1366px){.BMCmCq4qkb8NZBw1D1at{font-size:1.4rem;line-height:2.1rem}}.BMCmCq4qkb8NZBw1D1at{color:#434B4FA6;margin-bottom:8px}@media(min-width: 0){.ICwxHI5xKKcYfCkmhsOc{font-size:1.3rem;line-height:1.8rem}}@media(min-width: 400px){.ICwxHI5xKKcYfCkmhsOc{font-size:1.3rem;line-height:1.8rem}}@media(min-width: 1366px){.ICwxHI5xKKcYfCkmhsOc{font-size:1.4rem;line-height:2.1rem}}.ICwxHI5xKKcYfCkmhsOc{display:flex;gap:16px}.tIzpRqZYCAz4faktevGl{flex:1}.fUeRCbjQwQMPLbHoawLi::before{background-image:url(../assets/icons/Check.svg);display:inline-block;background-repeat:no-repeat;content:\"\";width:24px;height:24px;margin:0 4px -6px 0;background-size:24px}.ArugBVadGB9si4TdIepi,.XT18O2n3WabsIUOtZcJf{color:#434B4FA6}@media(min-width: 0){.ArugBVadGB9si4TdIepi,.XT18O2n3WabsIUOtZcJf{font-size:1.3rem;line-height:1.8rem}}@media(min-width: 400px){.ArugBVadGB9si4TdIepi,.XT18O2n3WabsIUOtZcJf{font-size:1.3rem;line-height:1.8rem}}@media(min-width: 1366px){.ArugBVadGB9si4TdIepi,.XT18O2n3WabsIUOtZcJf{font-size:1.4rem;line-height:2.1rem}}.d8mYVQgELnbXG8KHZxz2{font-weight:bold}@media(min-width: 0){.d8mYVQgELnbXG8KHZxz2{font-size:1.6rem;line-height:2.4rem}}@media(min-width: 400px){.d8mYVQgELnbXG8KHZxz2{font-size:1.6rem;line-height:2.4rem}}@media(min-width: 768px){.d8mYVQgELnbXG8KHZxz2{font-size:1.8rem;line-height:2.8rem}}@media(min-width: 1366px){.d8mYVQgELnbXG8KHZxz2{font-size:1.9rem;line-height:2.8rem}}.XT18O2n3WabsIUOtZcJf{margin-left:5px}.wukZzVOhyvN8E1BnpNMu{text-decoration:line-through}@media(min-width: 0){.pU51V56C3gkB8dbWRDCB{font-size:1.6rem;line-height:2.4rem}}@media(min-width: 400px){.pU51V56C3gkB8dbWRDCB{font-size:1.6rem;line-height:2.4rem}}@media(min-width: 768px){.pU51V56C3gkB8dbWRDCB{font-size:1.8rem;line-height:2.8rem}}@media(min-width: 1366px){.pU51V56C3gkB8dbWRDCB{font-size:1.9rem;line-height:2.8rem}}.pU51V56C3gkB8dbWRDCB{color:#434b4f;font-weight:700}@media(min-width: 0){.upf4EQOAodqo4_DycRRR{font-size:1.3rem;line-height:1.8rem}}@media(min-width: 400px){.upf4EQOAodqo4_DycRRR{font-size:1.3rem;line-height:1.8rem}}@media(min-width: 1366px){.upf4EQOAodqo4_DycRRR{font-size:1.4rem;line-height:2.1rem}}.upf4EQOAodqo4_DycRRR{display:flex;flex-direction:column;align-items:start;justify-content:center;gap:4px}.PwDF3USTsPqOr3nZ7oYk,.CjPRW031mG2t4MysWlqs{position:relative;padding-left:20px;color:#50a40e}.PwDF3USTsPqOr3nZ7oYk::before,.CjPRW031mG2t4MysWlqs::before{display:inline-block;background-repeat:no-repeat;content:\"\";background-image:url(\"../assets/icons/Truck-green.svg\")}.PwDF3USTsPqOr3nZ7oYk::before,.CjPRW031mG2t4MysWlqs::before{font-weight:900;position:absolute;top:9px;left:0;transform:translateY(-50%);width:16px;height:16px;background-size:contain}.YYmeBwPWoVWlVA9PG5eA,.OT_1MkMniauGqtPnVlRd,.qoY2JJnMdbBjfOnIjMsK{position:relative;padding-left:20px;color:#50a40e}.YYmeBwPWoVWlVA9PG5eA::before,.OT_1MkMniauGqtPnVlRd::before,.qoY2JJnMdbBjfOnIjMsK::before{display:inline-block;background-repeat:no-repeat;content:\"\";background-image:url(\"../assets/icons/Check-green.svg\")}.YYmeBwPWoVWlVA9PG5eA::before,.OT_1MkMniauGqtPnVlRd::before,.qoY2JJnMdbBjfOnIjMsK::before{font-weight:900;position:absolute;top:9px;left:0;transform:translateY(-50%);width:16px;height:16px;background-size:contain}.qoY2JJnMdbBjfOnIjMsK{color:#c0453a}.qoY2JJnMdbBjfOnIjMsK::before{display:inline-block;background-repeat:no-repeat;content:\"\";background-image:url(\"../assets/icons/Close-fire.svg\")}.CjPRW031mG2t4MysWlqs{color:#c0453a}.CjPRW031mG2t4MysWlqs::before{display:inline-block;background-repeat:no-repeat;content:\"\";background-image:url(\"../assets/icons/Truck-fire.svg\")}.OT_1MkMniauGqtPnVlRd{color:#434b4f}.OT_1MkMniauGqtPnVlRd::before{display:inline-block;background-repeat:no-repeat;content:\"\";background-image:url(\"../assets/icons/Delete.svg\")}.yTzAu3oTSDIbteMMrj4z{text-decoration:underline;cursor:pointer}.wDRb1eNYEtg8FGVyBPq6{display:flex;align-items:center}.jB48ddLInhYMWuSefiVo{display:flex;align-items:center;flex:1 0 auto}.wFQGRfODHJVn5d0unZp4{display:flex;flex-direction:column;justify-content:space-between}.R0gySUPb8iOLFhpnraUq,.POdJz9VCgoTCg0YnexHe{display:none}@media(min-width: 0){.ymQVVeusB1lvOkpdTAg1{font-size:1.3rem;line-height:1.8rem}}@media(min-width: 400px){.ymQVVeusB1lvOkpdTAg1{font-size:1.3rem;line-height:1.8rem}}@media(min-width: 1366px){.ymQVVeusB1lvOkpdTAg1{font-size:1.4rem;line-height:2.1rem}}@media(min-width: 0){.CIgdibfJUMKh0xV2fTYD{margin:6px 0 0 0}}@media(min-width: 400px){.CIgdibfJUMKh0xV2fTYD{margin:6px 0 0 0}}@media(min-width: 768px){.CIgdibfJUMKh0xV2fTYD{margin:7px 0 0 0}}.U1pAxYFq6xTwXp37vVOu{color:#434B4FA6}._go54oWxwmWNon32VNLO{font-weight:bold}@media(min-width: 0){.XQ3BYOTL4dWiGCqS4dpK{font-size:1.3rem;line-height:1.8rem}}@media(min-width: 400px){.XQ3BYOTL4dWiGCqS4dpK{font-size:1.3rem;line-height:1.8rem}}@media(min-width: 1366px){.XQ3BYOTL4dWiGCqS4dpK{font-size:1.4rem;line-height:2.1rem}}.XQ3BYOTL4dWiGCqS4dpK{position:absolute;left:-40px;bottom:-8px;background-color:#0070b8;color:#fff;padding:4px 10px;font-weight:700;width:96px;text-align:center}@media(max-width: 768.02px){.TGTqvpSx86GWZ1UbW23a{padding:16px;gap:0;flex-direction:column;width:calc(50% - 8px)}.TGTqvpSx86GWZ1UbW23a .upf4EQOAodqo4_DycRRR{min-height:80px;justify-content:flex-start}.TGTqvpSx86GWZ1UbW23a .ANK80vb0x8DWBuRpTaxa{min-height:24px;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.TGTqvpSx86GWZ1UbW23a a{flex-direction:column;padding-bottom:16px;gap:0}.ICwxHI5xKKcYfCkmhsOc{flex-direction:column;gap:4px;min-height:40px}.AdNv3kgyg9dDQgWYIZCE{display:flex;flex-direction:column;gap:16px;padding-bottom:16px}.R0gySUPb8iOLFhpnraUq{display:block}}@media(max-width: 768.02px)and (min-width: 0){.R0gySUPb8iOLFhpnraUq{font-size:1.6rem;line-height:2.4rem}}@media(max-width: 768.02px)and (min-width: 400px){.R0gySUPb8iOLFhpnraUq{font-size:1.6rem;line-height:2.4rem}}@media(max-width: 768.02px)and (min-width: 768px){.R0gySUPb8iOLFhpnraUq{font-size:1.8rem;line-height:2.8rem}}@media(max-width: 768.02px)and (min-width: 1366px){.R0gySUPb8iOLFhpnraUq{font-size:1.9rem;line-height:2.8rem}}@media(max-width: 768.02px){.POdJz9VCgoTCg0YnexHe{display:inline}}@media(max-width: 768.02px)and (min-width: 0){.POdJz9VCgoTCg0YnexHe{font-size:1.6rem;line-height:2.4rem}}@media(max-width: 768.02px)and (min-width: 400px){.POdJz9VCgoTCg0YnexHe{font-size:1.6rem;line-height:2.4rem}}@media(max-width: 768.02px)and (min-width: 768px){.POdJz9VCgoTCg0YnexHe{font-size:1.8rem;line-height:2.8rem}}@media(max-width: 768.02px)and (min-width: 1366px){.POdJz9VCgoTCg0YnexHe{font-size:1.9rem;line-height:2.8rem}}@media(max-width: 768.02px){.bNEeGvOOyUBtwBNdWCtQ{display:none !important}.WJK1eHHnwXj88tkcVwoz{display:flex;gap:16px}.wFQGRfODHJVn5d0unZp4 .R0gySUPb8iOLFhpnraUq{font-weight:bold;color:#434b4f}.jB48ddLInhYMWuSefiVo{justify-content:center}}@media(max-width: 768.02px)and (min-width: 0){.ArugBVadGB9si4TdIepi,.XT18O2n3WabsIUOtZcJf{font-size:1.6rem;line-height:2.4rem}}@media(max-width: 768.02px)and (min-width: 400px){.ArugBVadGB9si4TdIepi,.XT18O2n3WabsIUOtZcJf{font-size:1.6rem;line-height:2.4rem}}@media(max-width: 768.02px)and (min-width: 768px){.ArugBVadGB9si4TdIepi,.XT18O2n3WabsIUOtZcJf{font-size:1.8rem;line-height:2.8rem}}@media(max-width: 768.02px)and (min-width: 1366px){.ArugBVadGB9si4TdIepi,.XT18O2n3WabsIUOtZcJf{font-size:1.9rem;line-height:2.8rem}}@media(max-width: 768.02px){.GyDBdX4IENiOLrDqgvDx{width:100%}.Ntkr3XH18CcXup2nzJAA{min-height:42px}}@media(max-width: 768.02px)and (min-width: 0){.Ntkr3XH18CcXup2nzJAA{margin:12px 0}}@media(max-width: 768.02px)and (min-width: 400px){.Ntkr3XH18CcXup2nzJAA{margin:12px 0}}@media(max-width: 768.02px)and (min-width: 768px){.Ntkr3XH18CcXup2nzJAA{margin:14px 0}}@media(max-width: 768.02px){.hGqkkSiQsyauFY61M31A{width:100%;height:180px}.P30Ae7F61vK2PyX_iN6C{min-height:34.8px}.P30Ae7F61vK2PyX_iN6C .Mp5CjA7gZw3o4UqjUfui{max-width:100%;display:inline-block;overflow:hidden}.XQ3BYOTL4dWiGCqS4dpK{left:0;top:129px;bottom:unset}}@media(max-width: 400.02px){.TGTqvpSx86GWZ1UbW23a{width:calc(100% - 16px);margin:0 8px}.TGTqvpSx86GWZ1UbW23a a:not(.btn){gap:12px}.ICwxHI5xKKcYfCkmhsOc{min-height:unset}.Ntkr3XH18CcXup2nzJAA{margin:0}.AdNv3kgyg9dDQgWYIZCE{padding-bottom:0}.P30Ae7F61vK2PyX_iN6C{min-height:unset}.P30Ae7F61vK2PyX_iN6C:empty{margin:0}}`, \"\"]);\n// Exports\nexport var wrapper = `TGTqvpSx86GWZ1UbW23a`;\nexport var group = `AdNv3kgyg9dDQgWYIZCE`;\nexport var labels = `P30Ae7F61vK2PyX_iN6C`;\nexport var label = `Mp5CjA7gZw3o4UqjUfui`;\nexport var mobileImage = `hGqkkSiQsyauFY61M31A`;\nexport var qualityClass = `cvsNPkWzgnYaF9SprN0p`;\nexport var title = `ANK80vb0x8DWBuRpTaxa`;\nexport var articleNumber = `BMCmCq4qkb8NZBw1D1at`;\nexport var additionalInfo = `ICwxHI5xKKcYfCkmhsOc`;\nexport var infoBlock = `tIzpRqZYCAz4faktevGl`;\nexport var deleteButton = `fUeRCbjQwQMPLbHoawLi`;\nexport var originalPrice = `ArugBVadGB9si4TdIepi`;\nexport var discount = `XT18O2n3WabsIUOtZcJf`;\nexport var discountedPrice = `d8mYVQgELnbXG8KHZxz2`;\nexport var strike = `wukZzVOhyvN8E1BnpNMu`;\nexport var sum = `pU51V56C3gkB8dbWRDCB`;\nexport var prices = `upf4EQOAodqo4_DycRRR`;\nexport var truck = `PwDF3USTsPqOr3nZ7oYk`;\nexport var redTruck = `CjPRW031mG2t4MysWlqs`;\nexport var check = `YYmeBwPWoVWlVA9PG5eA`;\nexport var remove = `OT_1MkMniauGqtPnVlRd`;\nexport var close = `qoY2JJnMdbBjfOnIjMsK`;\nexport var inventoryIndicator = `yTzAu3oTSDIbteMMrj4z`;\nexport var center = `wDRb1eNYEtg8FGVyBPq6`;\nexport var quantity = `jB48ddLInhYMWuSefiVo`;\nexport var sumWrapper = `wFQGRfODHJVn5d0unZp4`;\nexport var md = `R0gySUPb8iOLFhpnraUq`;\nexport var md_inline = `POdJz9VCgoTCg0YnexHe`;\nexport var smallFont = `ymQVVeusB1lvOkpdTAg1`;\nexport var smallMarginTop = `CIgdibfJUMKh0xV2fTYD`;\nexport var secondary = `U1pAxYFq6xTwXp37vVOu`;\nexport var boldText = `_go54oWxwmWNon32VNLO`;\nexport var usedLabel = `XQ3BYOTL4dWiGCqS4dpK`;\nexport var nmd = `bNEeGvOOyUBtwBNdWCtQ`;\nexport var inventoriesLabels = `WJK1eHHnwXj88tkcVwoz`;\nexport var buttonClass = `GyDBdX4IENiOLrDqgvDx`;\nexport var availabilityIndicators = `Ntkr3XH18CcXup2nzJAA`;\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.d89ZO6O29R3MeSkT1JyX{display:none;position:absolute;background-color:#fff;left:-42px;width:calc(100vw - 18px);margin-top:-62px;z-index:10;box-shadow:0px 2px 8px 0px rgba(0,0,0,.1490196078)}@media(max-width: 768.02px){.d89ZO6O29R3MeSkT1JyX{left:-18px}}.d89ZO6O29R3MeSkT1JyX.wg5QkH_UV9jKbVdLjAaA{display:block}.d89ZO6O29R3MeSkT1JyX>hr{margin-top:80px}.d89ZO6O29R3MeSkT1JyX .zEbq76CWqWfwkbTrS95x{display:flex;flex-direction:column;gap:8px;padding:0 32px}.d89ZO6O29R3MeSkT1JyX .zEbq76CWqWfwkbTrS95x .e9TlVVkZnsSHd3vtBnc8{display:flex;justify-content:space-between;border-bottom:1px solid #434b4f;margin-top:28px;cursor:pointer}.d89ZO6O29R3MeSkT1JyX .zEbq76CWqWfwkbTrS95x .e9TlVVkZnsSHd3vtBnc8 .HyLizsUJd_waeB9k5K9p:after{width:28px;height:28px;display:inline-block;background-repeat:no-repeat;content:\"\";background-image:url(\"../assets/icons/Up-and-down-chevrons.svg\")}.d89ZO6O29R3MeSkT1JyX .JPOyMC3GUnAmqaCe5Byg{display:flex;justify-content:space-between;padding:24px 20px}.vtDAHX5PjbIbaxAg1x_8{position:relative;z-index:999;padding:10px 24px;border:1px solid #434b4f;border-radius:24px;cursor:pointer}.vtDAHX5PjbIbaxAg1x_8:after{width:16px;height:16px;display:inline-block;background-repeat:no-repeat;content:\"\";background-image:url(\"../assets/icons/Plus.svg\")}.vtDAHX5PjbIbaxAg1x_8.wg5QkH_UV9jKbVdLjAaA:after{width:16px;height:16px;display:inline-block;background-repeat:no-repeat;content:\"\";background-image:url(\"../assets/icons/Minus.svg\")}.vtDAHX5PjbIbaxAg1x_8:after{background-size:16px;margin-bottom:-2px;margin-left:8px}.BN0S4P0ZvjUwenbIhlDF{position:fixed;top:0;bottom:0;left:0;right:0;z-index:1000;backdrop-filter:blur(0px);overflow:hidden;pointer-events:none;transition-property:backdrop-filter;transition-duration:.5s;display:flex;flex-direction:column;justify-content:end}.BN0S4P0ZvjUwenbIhlDF.dF9ZbOifm3vR1enS6w8s{backdrop-filter:blur(5px);pointer-events:unset}.BN0S4P0ZvjUwenbIhlDF.dF9ZbOifm3vR1enS6w8s .nAbfHMtfKHU4MzNqGzHb{top:0}.BN0S4P0ZvjUwenbIhlDF>div{position:relative}.BN0S4P0ZvjUwenbIhlDF .nAbfHMtfKHU4MzNqGzHb{position:relative;top:100%;background-color:#fff;border-top-left-radius:20px;border-top-right-radius:20px;width:100%;transition-duration:.5s;transition-property:top}.BN0S4P0ZvjUwenbIhlDF .nAbfHMtfKHU4MzNqGzHb .P82PTDVnMDHRp7NE82Vw{display:flex;justify-content:space-between;padding:24px;font-weight:bold}.BN0S4P0ZvjUwenbIhlDF .nAbfHMtfKHU4MzNqGzHb .P82PTDVnMDHRp7NE82Vw .uQOLor9UrN2bToUaswEq{cursor:pointer}.BN0S4P0ZvjUwenbIhlDF .nAbfHMtfKHU4MzNqGzHb .P82PTDVnMDHRp7NE82Vw .uQOLor9UrN2bToUaswEq:after{width:24px;height:24px;display:inline-block;background-repeat:no-repeat;content:\"\";background-image:url(\"../assets/icons/Close.svg\")}.BN0S4P0ZvjUwenbIhlDF .nAbfHMtfKHU4MzNqGzHb .cyz4RBcZRDfRrbIQlPIb{padding:0 24px 1px 24px}.BN0S4P0ZvjUwenbIhlDF .nAbfHMtfKHU4MzNqGzHb .cyz4RBcZRDfRrbIQlPIb>div{text-align:left;margin:18px}.BN0S4P0ZvjUwenbIhlDF .nAbfHMtfKHU4MzNqGzHb .BUWyqlOhKpx1MDPd2MsG{padding:0 24px 1px 24px}.BN0S4P0ZvjUwenbIhlDF .nAbfHMtfKHU4MzNqGzHb .BUWyqlOhKpx1MDPd2MsG>div{margin:18px}`, \"\"]);\n// Exports\nexport var filterContainer = `d89ZO6O29R3MeSkT1JyX`;\nexport var isOpen = `wg5QkH_UV9jKbVdLjAaA`;\nexport var filterFacets = `zEbq76CWqWfwkbTrS95x`;\nexport var facet = `e9TlVVkZnsSHd3vtBnc8`;\nexport var chevrons = `HyLizsUJd_waeB9k5K9p`;\nexport var endButtons = `JPOyMC3GUnAmqaCe5Byg`;\nexport var filterButton = `vtDAHX5PjbIbaxAg1x_8`;\nexport var filterDrawerBlur = `BN0S4P0ZvjUwenbIhlDF`;\nexport var open = `dF9ZbOifm3vR1enS6w8s`;\nexport var container = `nAbfHMtfKHU4MzNqGzHb`;\nexport var facetHeader = `P82PTDVnMDHRp7NE82Vw`;\nexport var close = `uQOLor9UrN2bToUaswEq`;\nexport var checkboxContainer = `cyz4RBcZRDfRrbIQlPIb`;\nexport var rangeContainer = `BUWyqlOhKpx1MDPd2MsG`;\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `span.WbNCV2ukWkrCIAGPg_0a::before{width:16px;height:16px;background-size:contain;transition:.5s}span.WbNCV2ukWkrCIAGPg_0a.TvEHpgC42taJTl3XU4ad::before{display:inline-block;background-repeat:no-repeat;content:\"\";background-image:url(\"../assets/icons/Up-chevron.svg\")}span.WbNCV2ukWkrCIAGPg_0a.aqGX_0paz7RM7dzVYuUb::before{display:inline-block;background-repeat:no-repeat;content:\"\";background-image:url(\"../assets/icons/Up-chevron.svg\");transform:rotate(180deg)}.qJ6WZu7l7YSo0iRSHBOl{margin:32px 0;position:relative;width:100%;display:flex;justify-content:space-between;align-items:center}.qJ6WZu7l7YSo0iRSHBOl .uHPW4KlI0qMai2b_0nP_{flex:0 0 auto}.qJ6WZu7l7YSo0iRSHBOl .uHPW4KlI0qMai2b_0nP_ span.WbNCV2ukWkrCIAGPg_0a{width:20px;height:20px;background-size:20px;margin-left:10px;margin-bottom:-3.5px}.qJ6WZu7l7YSo0iRSHBOl .v3pFUCzKMe2BR3RDAc5O{position:absolute;background-color:#f2f2f0;top:28px;right:0;z-index:1000;padding:8px;border-radius:8px;border-top-right-radius:0;box-shadow:0px 14px 14px rgba(0,0,0,.2)}.qJ6WZu7l7YSo0iRSHBOl .v3pFUCzKMe2BR3RDAc5O .atgllRNsZPiiSmaY93wC{display:flex;flex-direction:row;cursor:pointer;user-select:none}.qJ6WZu7l7YSo0iRSHBOl .v3pFUCzKMe2BR3RDAc5O .atgllRNsZPiiSmaY93wC .form-radio{width:100%}@media(max-width: 1024.02px){.qJ6WZu7l7YSo0iRSHBOl{margin-bottom:24px}}@media(max-width: 768.02px){.qJ6WZu7l7YSo0iRSHBOl{flex-direction:column;gap:20px}.qJ6WZu7l7YSo0iRSHBOl .uHPW4KlI0qMai2b_0nP_{align-self:end}.qJ6WZu7l7YSo0iRSHBOl .v3pFUCzKMe2BR3RDAc5O{top:94px}}`, \"\"]);\n// Exports\nexport var chevron = `WbNCV2ukWkrCIAGPg_0a`;\nexport var chevronUp = `TvEHpgC42taJTl3XU4ad`;\nexport var chevronDown = `aqGX_0paz7RM7dzVYuUb`;\nexport var sorterContainer = `qJ6WZu7l7YSo0iRSHBOl`;\nexport var sortByButton = `uHPW4KlI0qMai2b_0nP_`;\nexport var sorterRadioContainer = `v3pFUCzKMe2BR3RDAc5O`;\nexport var sorting = `atgllRNsZPiiSmaY93wC`;\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.JnMthDcw4bHz1A8zHmMa{display:flex;flex-direction:row;flex-wrap:wrap;gap:16px;margin-bottom:16px}.ATiGgaXhCShzK8ycx4w2{height:1500px}.Qm1QCGX0tOigiHlEyxpM{display:flex;gap:61px;flex-direction:row}.Qm1QCGX0tOigiHlEyxpM .JtWO6uqu_oJ42pPheqFi{flex:0 0 226px;display:flex;flex-direction:column;gap:32px;position:sticky;top:18px;align-self:start}.Qm1QCGX0tOigiHlEyxpM .JtWO6uqu_oJ42pPheqFi h3{cursor:pointer;display:flex;justify-content:space-between}.Qm1QCGX0tOigiHlEyxpM .JtWO6uqu_oJ42pPheqFi hr{margin-bottom:8px}.Qm1QCGX0tOigiHlEyxpM .yHjWhphg9fjX1EjaJK0m{display:none}.Qm1QCGX0tOigiHlEyxpM .mOy8O4XR5z0EnXt5vb6B{flex:1 1 auto}@media(max-width: 1196.02px){.Qm1QCGX0tOigiHlEyxpM{gap:16px}}@media(max-width: 1024.02px){.Qm1QCGX0tOigiHlEyxpM{flex-direction:column;gap:20px}.Qm1QCGX0tOigiHlEyxpM .JtWO6uqu_oJ42pPheqFi{display:none}.Qm1QCGX0tOigiHlEyxpM .yHjWhphg9fjX1EjaJK0m{align-self:end;display:block;text-align:right;position:relative;width:100%}}@media(max-width: 768.02px){.ATiGgaXhCShzK8ycx4w2{height:3126px}}`, \"\"]);\n// Exports\nexport var sparePartItems = `JnMthDcw4bHz1A8zHmMa`;\nexport var itemsPlaceholder = `ATiGgaXhCShzK8ycx4w2`;\nexport var sparePartItemsModule = `Qm1QCGX0tOigiHlEyxpM`;\nexport var sparePartsFacets = `JtWO6uqu_oJ42pPheqFi`;\nexport var sparePartsFacetsMobile = `yHjWhphg9fjX1EjaJK0m`;\nexport var sparePartsList = `mOy8O4XR5z0EnXt5vb6B`;\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `@media(max-width: 400.02px){.pePyMOEhDGfbOTvkqiIp{display:flex;flex-direction:column}}.jKRrE8xFsoKu3Rl8aNhn{display:flex;align-items:center;gap:4px}.jKRrE8xFsoKu3Rl8aNhn:after{width:24px;height:24px;display:inline-block;background-repeat:no-repeat;content:\"\";background-image:url(\"../assets/icons/Help-tip-gray.svg\")}.jKRrE8xFsoKu3Rl8aNhn{cursor:pointer}.jKRrE8xFsoKu3Rl8aNhn:after{background-size:24px 24px;margin-bottom:4px}.FvRt2AdGL6TtzYs18eWV{text-decoration:underline;font-weight:700;color:#0066a7;cursor:pointer}`, \"\"]);\n// Exports\nexport var taxInfoSpan = `pePyMOEhDGfbOTvkqiIp`;\nexport var infoIcon = `jKRrE8xFsoKu3Rl8aNhn`;\nexport var anchorLikeStyling = `FvRt2AdGL6TtzYs18eWV`;\nexport default ___CSS_LOADER_EXPORT___;\n","\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\nmodule.exports = function (cssWithMappingToString) {\n var list = [];\n\n // return the list of modules as css string\n list.toString = function toString() {\n return this.map(function (item) {\n var content = \"\";\n var needLayer = typeof item[5] !== \"undefined\";\n if (item[4]) {\n content += \"@supports (\".concat(item[4], \") {\");\n }\n if (item[2]) {\n content += \"@media \".concat(item[2], \" {\");\n }\n if (needLayer) {\n content += \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\");\n }\n content += cssWithMappingToString(item);\n if (needLayer) {\n content += \"}\";\n }\n if (item[2]) {\n content += \"}\";\n }\n if (item[4]) {\n content += \"}\";\n }\n return content;\n }).join(\"\");\n };\n\n // import a list of modules into the list\n list.i = function i(modules, media, dedupe, supports, layer) {\n if (typeof modules === \"string\") {\n modules = [[null, modules, undefined]];\n }\n var alreadyImportedModules = {};\n if (dedupe) {\n for (var k = 0; k < this.length; k++) {\n var id = this[k][0];\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n }\n for (var _k = 0; _k < modules.length; _k++) {\n var item = [].concat(modules[_k]);\n if (dedupe && alreadyImportedModules[item[0]]) {\n continue;\n }\n if (typeof layer !== \"undefined\") {\n if (typeof item[5] === \"undefined\") {\n item[5] = layer;\n } else {\n item[1] = \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\").concat(item[1], \"}\");\n item[5] = layer;\n }\n }\n if (media) {\n if (!item[2]) {\n item[2] = media;\n } else {\n item[1] = \"@media \".concat(item[2], \" {\").concat(item[1], \"}\");\n item[2] = media;\n }\n }\n if (supports) {\n if (!item[4]) {\n item[4] = \"\".concat(supports);\n } else {\n item[1] = \"@supports (\".concat(item[4], \") {\").concat(item[1], \"}\");\n item[4] = supports;\n }\n }\n list.push(item);\n }\n };\n return list;\n};","\"use strict\";\n\nmodule.exports = function (i) {\n return i[1];\n};","'use strict';\n\nvar m = require('react-dom');\nif (process.env.NODE_ENV === 'production') {\n exports.createRoot = m.createRoot;\n exports.hydrateRoot = m.hydrateRoot;\n} else {\n var i = m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\n exports.createRoot = function(c, o) {\n i.usingClientEntryPoint = true;\n try {\n return m.createRoot(c, o);\n } finally {\n i.usingClientEntryPoint = false;\n }\n };\n exports.hydrateRoot = function(c, h, o) {\n i.usingClientEntryPoint = true;\n try {\n return m.hydrateRoot(c, h, o);\n } finally {\n i.usingClientEntryPoint = false;\n }\n };\n}\n","/**\n * @license React\n * react-jsx-runtime.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var f=require(\"react\"),k=Symbol.for(\"react.element\"),l=Symbol.for(\"react.fragment\"),m=Object.prototype.hasOwnProperty,n=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};\nfunction q(c,a,g){var b,d={},e=null,h=null;void 0!==g&&(e=\"\"+g);void 0!==a.key&&(e=\"\"+a.key);void 0!==a.ref&&(h=a.ref);for(b in a)m.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:k,type:c,key:e,ref:h,props:d,_owner:n.current}}exports.Fragment=l;exports.jsx=q;exports.jsxs=q;\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.min.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","\"use strict\";\n\nvar stylesInDOM = [];\nfunction getIndexByIdentifier(identifier) {\n var result = -1;\n for (var i = 0; i < stylesInDOM.length; i++) {\n if (stylesInDOM[i].identifier === identifier) {\n result = i;\n break;\n }\n }\n return result;\n}\nfunction modulesToDom(list, options) {\n var idCountMap = {};\n var identifiers = [];\n for (var i = 0; i < list.length; i++) {\n var item = list[i];\n var id = options.base ? item[0] + options.base : item[0];\n var count = idCountMap[id] || 0;\n var identifier = \"\".concat(id, \" \").concat(count);\n idCountMap[id] = count + 1;\n var indexByIdentifier = getIndexByIdentifier(identifier);\n var obj = {\n css: item[1],\n media: item[2],\n sourceMap: item[3],\n supports: item[4],\n layer: item[5]\n };\n if (indexByIdentifier !== -1) {\n stylesInDOM[indexByIdentifier].references++;\n stylesInDOM[indexByIdentifier].updater(obj);\n } else {\n var updater = addElementStyle(obj, options);\n options.byIndex = i;\n stylesInDOM.splice(i, 0, {\n identifier: identifier,\n updater: updater,\n references: 1\n });\n }\n identifiers.push(identifier);\n }\n return identifiers;\n}\nfunction addElementStyle(obj, options) {\n var api = options.domAPI(options);\n api.update(obj);\n var updater = function updater(newObj) {\n if (newObj) {\n if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap && newObj.supports === obj.supports && newObj.layer === obj.layer) {\n return;\n }\n api.update(obj = newObj);\n } else {\n api.remove();\n }\n };\n return updater;\n}\nmodule.exports = function (list, options) {\n options = options || {};\n list = list || [];\n var lastIdentifiers = modulesToDom(list, options);\n return function update(newList) {\n newList = newList || [];\n for (var i = 0; i < lastIdentifiers.length; i++) {\n var identifier = lastIdentifiers[i];\n var index = getIndexByIdentifier(identifier);\n stylesInDOM[index].references--;\n }\n var newLastIdentifiers = modulesToDom(newList, options);\n for (var _i = 0; _i < lastIdentifiers.length; _i++) {\n var _identifier = lastIdentifiers[_i];\n var _index = getIndexByIdentifier(_identifier);\n if (stylesInDOM[_index].references === 0) {\n stylesInDOM[_index].updater();\n stylesInDOM.splice(_index, 1);\n }\n }\n lastIdentifiers = newLastIdentifiers;\n };\n};","\"use strict\";\n\nvar memo = {};\n\n/* istanbul ignore next */\nfunction getTarget(target) {\n if (typeof memo[target] === \"undefined\") {\n var styleTarget = document.querySelector(target);\n\n // Special case to return head of iframe instead of iframe itself\n if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {\n try {\n // This will throw an exception if access to iframe is blocked\n // due to cross-origin restrictions\n styleTarget = styleTarget.contentDocument.head;\n } catch (e) {\n // istanbul ignore next\n styleTarget = null;\n }\n }\n memo[target] = styleTarget;\n }\n return memo[target];\n}\n\n/* istanbul ignore next */\nfunction insertBySelector(insert, style) {\n var target = getTarget(insert);\n if (!target) {\n throw new Error(\"Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.\");\n }\n target.appendChild(style);\n}\nmodule.exports = insertBySelector;","\"use strict\";\n\n/* istanbul ignore next */\nfunction insertStyleElement(options) {\n var element = document.createElement(\"style\");\n options.setAttributes(element, options.attributes);\n options.insert(element, options.options);\n return element;\n}\nmodule.exports = insertStyleElement;","\"use strict\";\n\n/* istanbul ignore next */\nfunction setAttributesWithoutAttributes(styleElement) {\n var nonce = typeof __webpack_nonce__ !== \"undefined\" ? __webpack_nonce__ : null;\n if (nonce) {\n styleElement.setAttribute(\"nonce\", nonce);\n }\n}\nmodule.exports = setAttributesWithoutAttributes;","\"use strict\";\n\n/* istanbul ignore next */\nfunction apply(styleElement, options, obj) {\n var css = \"\";\n if (obj.supports) {\n css += \"@supports (\".concat(obj.supports, \") {\");\n }\n if (obj.media) {\n css += \"@media \".concat(obj.media, \" {\");\n }\n var needLayer = typeof obj.layer !== \"undefined\";\n if (needLayer) {\n css += \"@layer\".concat(obj.layer.length > 0 ? \" \".concat(obj.layer) : \"\", \" {\");\n }\n css += obj.css;\n if (needLayer) {\n css += \"}\";\n }\n if (obj.media) {\n css += \"}\";\n }\n if (obj.supports) {\n css += \"}\";\n }\n var sourceMap = obj.sourceMap;\n if (sourceMap && typeof btoa !== \"undefined\") {\n css += \"\\n/*# sourceMappingURL=data:application/json;base64,\".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), \" */\");\n }\n\n // For old IE\n /* istanbul ignore if */\n options.styleTagTransform(css, styleElement, options.options);\n}\nfunction removeStyleElement(styleElement) {\n // istanbul ignore if\n if (styleElement.parentNode === null) {\n return false;\n }\n styleElement.parentNode.removeChild(styleElement);\n}\n\n/* istanbul ignore next */\nfunction domAPI(options) {\n if (typeof document === \"undefined\") {\n return {\n update: function update() {},\n remove: function remove() {}\n };\n }\n var styleElement = options.insertStyleElement(options);\n return {\n update: function update(obj) {\n apply(styleElement, options, obj);\n },\n remove: function remove() {\n removeStyleElement(styleElement);\n }\n };\n}\nmodule.exports = domAPI;","\"use strict\";\n\n/* istanbul ignore next */\nfunction styleTagTransform(css, styleElement) {\n if (styleElement.styleSheet) {\n styleElement.styleSheet.cssText = css;\n } else {\n while (styleElement.firstChild) {\n styleElement.removeChild(styleElement.firstChild);\n }\n styleElement.appendChild(document.createTextNode(css));\n }\n}\nmodule.exports = styleTagTransform;","const resolveDirectory = require(\"../public-path\").resolveDirectory;\n\nexports.autoPublicPath = function autoPublicPath(rootDirLevel) {\n if (!rootDirLevel) {\n rootDirLevel = 1;\n }\n\n if (typeof __webpack_public_path__ !== \"undefined\") {\n if (typeof __system_context__ === \"undefined\") {\n throw Error(\n \"systemjs-webpack-interop requires webpack@>=5.0.0-beta.15 and output.libraryTarget set to 'system'\"\n );\n }\n\n if (!__system_context__.meta || !__system_context__.meta.url) {\n console.error(\"__system_context__\", __system_context__);\n throw Error(\n \"systemjs-webpack-interop was provided an unknown SystemJS context. Expected context.meta.url, but none was provided\"\n );\n }\n\n __webpack_public_path__ = resolveDirectory(\n __system_context__.meta.url,\n rootDirLevel\n );\n }\n};\n","exports.setPublicPath = function setPublicPath(\n systemjsModuleName,\n rootDirectoryLevel\n) {\n if (!rootDirectoryLevel) {\n rootDirectoryLevel = 1;\n }\n if (\n typeof systemjsModuleName !== \"string\" ||\n systemjsModuleName.trim().length === 0\n ) {\n throw Error(\n \"systemjs-webpack-interop: setPublicPath(systemjsModuleName) must be called with a non-empty string 'systemjsModuleName'\"\n );\n }\n\n if (\n typeof rootDirectoryLevel !== \"number\" ||\n rootDirectoryLevel <= 0 ||\n isNaN(rootDirectoryLevel) ||\n !isInteger(rootDirectoryLevel)\n ) {\n throw Error(\n \"systemjs-webpack-interop: setPublicPath(systemjsModuleName, rootDirectoryLevel) must be called with a positive integer 'rootDirectoryLevel'\"\n );\n }\n\n var moduleUrl;\n try {\n moduleUrl = window.System.resolve(systemjsModuleName);\n if (!moduleUrl) {\n throw Error();\n }\n } catch (err) {\n throw Error(\n \"systemjs-webpack-interop: There is no such module '\" +\n systemjsModuleName +\n \"' in the SystemJS registry. Did you misspell the name of your module?\"\n );\n }\n\n __webpack_public_path__ = resolveDirectory(moduleUrl, rootDirectoryLevel);\n};\n\nfunction resolveDirectory(urlString, rootDirectoryLevel) {\n // Our friend IE11 doesn't support new URL()\n // https://github.com/single-spa/single-spa/issues/612\n // https://gist.github.com/jlong/2428561\n\n var a = document.createElement(\"a\");\n a.href = urlString;\n\n var pathname = a.pathname[0] === \"/\" ? a.pathname : \"/\" + a.pathname;\n var numDirsProcessed = 0,\n index = pathname.length;\n while (numDirsProcessed !== rootDirectoryLevel && index >= 0) {\n var char = pathname[--index];\n if (char === \"/\") {\n numDirsProcessed++;\n }\n }\n\n if (numDirsProcessed !== rootDirectoryLevel) {\n throw Error(\n \"systemjs-webpack-interop: rootDirectoryLevel (\" +\n rootDirectoryLevel +\n \") is greater than the number of directories (\" +\n numDirsProcessed +\n \") in the URL path \" +\n urlString\n );\n }\n\n var finalPath = pathname.slice(0, index + 1);\n\n return a.protocol + \"//\" + a.host + finalPath;\n}\n\nexports.resolveDirectory = resolveDirectory;\n\n// borrowed from https://github.com/parshap/js-is-integer/blob/master/index.js\nvar isInteger =\n Number.isInteger ||\n function isInteger(val) {\n return typeof val === \"number\" && isFinite(val) && Math.floor(val) === val;\n };\n","module.exports = __WEBPACK_EXTERNAL_MODULE__726__;","module.exports = __WEBPACK_EXTERNAL_MODULE__867__;","/*!\n\tCopyright (c) 2018 Jed Watson.\n\tLicensed under the MIT License (MIT), see\n\thttp://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = '';\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (arg) {\n\t\t\t\tclasses = appendClass(classes, parseValue(arg));\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction parseValue (arg) {\n\t\tif (typeof arg === 'string' || typeof arg === 'number') {\n\t\t\treturn arg;\n\t\t}\n\n\t\tif (typeof arg !== 'object') {\n\t\t\treturn '';\n\t\t}\n\n\t\tif (Array.isArray(arg)) {\n\t\t\treturn classNames.apply(null, arg);\n\t\t}\n\n\t\tif (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {\n\t\t\treturn arg.toString();\n\t\t}\n\n\t\tvar classes = '';\n\n\t\tfor (var key in arg) {\n\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\tclasses = appendClass(classes, key);\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction appendClass (value, newClass) {\n\t\tif (!newClass) {\n\t\t\treturn value;\n\t\t}\n\t\n\t\tif (value) {\n\t\t\treturn value + ' ' + newClass;\n\t\t}\n\t\n\t\treturn value + newClass;\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","__webpack_require__.y = __system_context__;","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.p = \"\";","__webpack_require__.nc = undefined;","const autoPublicPath = require(\"./auto-public-path\").autoPublicPath;\n\nautoPublicPath(1);\n","function e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function t(t){for(var n=1;n=0))return!1;var t=e.version.slice(0,e.version.indexOf(\".\"));try{return Number(t)>=16}catch(e){return!1}}(e.React)||e.errorBoundary||e.errorBoundaryClass||(e.rootComponent.prototype?e.rootComponent.prototype.componentDidCatch||console.warn(\"single-spa-react: \".concat(t.name||t.appName||t.childAppName,\"'s rootComponent should implement componentDidCatch to avoid accidentally unmounting the entire single-spa application.\")):console.warn(\"single-spa-react: \".concat(t.name||t.appName||t.childAppName,\"'s rootComponent does not implement an error boundary. If using a functional component, consider providing an opts.errorBoundary to singleSpaReact(opts).\")));var r=y(e,t,(function(){n(this)})),c=a(e,t)(),u=function(e){var t=e.reactDom,n=e.renderType,o=e.elementToRender,r=e.domElement,a=t[n];if(\"function\"!=typeof a)throw new Error('renderType \"'.concat(n,'\" did not return a function.'));switch(n){case\"createRoot\":case\"unstable_createRoot\":case\"createBlockingRoot\":case\"unstable_createBlockingRoot\":var c=a(r);return c.render(o),c;case\"hydrateRoot\":return a(r,o);case\"hydrate\":default:return a(o,r),null}}({elementToRender:r,domElement:c,reactDom:d(e),renderType:f(e)});e.domElements[t.name]=c,e.renderResults[t.name]=u}))}function l(e,t){return new Promise((function(n){e.unmountResolves[t.name]=n;var o=e.renderResults[t.name];o&&o.unmount?o.unmount():d(e).unmountComponentAtNode(e.domElements[t.name]),delete e.domElements[t.name],delete e.renderResults[t.name]}))}function m(e,t){return new Promise((function(n){e.updateResolves[t.name]||(e.updateResolves[t.name]=[]),e.updateResolves[t.name].push(n);var o=y(e,t,null),r=e.renderResults[t.name];if(r&&r.render)r.render(o);else{var c=a(e,t)();d(e).render(o,c)}}))}function d(e){return e.ReactDOMClient||e.ReactDOM}function f(e){return\"function\"==typeof e.renderType?e.renderType():e.renderType}function y(e,n,o){var r=e.React.createElement(e.rootComponent,n),a=c?e.React.createElement(c.Provider,{value:n},r):r;return(e.errorBoundary||n.errorBoundary||e.errorBoundaryClass||n.errorBoundaryClass)&&(e.errorBoundaryClass=e.errorBoundaryClass||n.errorBoundaryClass||function(e,t){function n(t){e.React.Component.apply(this,arguments),this.state={caughtError:null,caughtErrorInfo:null},n.displayName=\"SingleSpaReactErrorBoundary(\".concat(t.name,\")\")}return n.prototype=Object.create(e.React.Component.prototype),n.prototype.render=function(){return this.state.caughtError?(e.errorBoundary||t.errorBoundary)(this.state.caughtError,this.state.caughtErrorInfo,this.props):this.props.children},n.prototype.componentDidCatch=function(e,t){this.setState({caughtError:e,caughtErrorInfo:t})},n}(e,n),a=e.React.createElement(e.errorBoundaryClass,n,a)),a=e.React.createElement(e.SingleSpaRoot,t(t({},n),{},{mountFinished:o,updateFinished:function(){e.updateResolves[n.name]&&(e.updateResolves[n.name].forEach((function(e){return e()})),delete e.updateResolves[n.name])},unmountFinished:function(){e.unmountResolves[n.name]&&(e.unmountResolves[n.name](),delete e.unmountResolves[n.name])}}),a)}export{c as SingleSpaContext,i as default};\n//# sourceMappingURL=single-spa-react.js.map\n","type Matomo = {\r\n getCustomVariable(id: number, label?: string): string | null;\r\n getCustomDimension(id: number): string | null;\r\n getVisitorId(): string | null;\r\n isUserOptedOut(): boolean;\r\n};\r\n\r\nexport const sendMatomoEvent = (category: string, action: string, name?: string | null, value?: number | null) => {\r\n const data: any[] = ['trackEvent', category, action];\r\n if (name != null) data.push(name);\r\n if (value != null) {\r\n if (data.length == 3) data.push(null);\r\n data.push(value);\r\n }\r\n (window as any)._paq?.push(data);\r\n}\r\n\r\nexport const sendMatomoSearch = (keyword: string, category: string | false, results: number | false) => {\r\n (window as any)._paq?.push(['trackSiteSearch', keyword, category, results]);\r\n}\r\n\r\nexport const executeMatomoScript = (lambda: (matomo: Matomo) => T): T | null => {\r\n let result: T | null = null;\r\n (window as any)._paq?.push([function (this: Matomo) { result = lambda(this); }]);\r\n return result;\r\n}\r\n\r\nexport const setMatomoCustomDimension = (id: number, value: string) => {\r\n (window as any)._paq?.push(['setCustomDimension', id, value]);\r\n}\r\n\r\nexport const deleteMatomoCustomDimension = (id: number) => {\r\n (window as any)._paq?.push(['deleteCustomDimension', id]);\r\n}\r\n\r\nexport const getMatomoCustomDimension = (id: number): string | null => {\r\n return executeMatomoScript(mtm => mtm.getCustomDimension(id));\r\n}","import { ReactNode, useState, useSyncExternalStore } from \"react\";\r\n\r\nexport enum ButtonResult {\r\n Ok = \"Ok\",\r\n Yes = \"Yes\", \r\n No = \"No\",\r\n Cancel = \"Cancel\",\r\n}\r\n\r\nexport enum ButtonType {\r\n Primary = \"primary\", \r\n Outlined = \"outlined\",\r\n Link = \"linked\"\r\n}\r\n\r\nexport interface Button {\r\n label: string;\r\n result: T;\r\n type: ButtonType;\r\n enabled?: boolean;\r\n className?: string;\r\n visible?: boolean;\r\n}\r\n\r\nexport enum PopupSize {\r\n Small = 'small',\r\n Large = 'large',\r\n ExtraVertical = 'vertical-large',\r\n ExtraLarge = 'extra-large'\r\n}\r\n\r\nexport const popup = (title: string, content: ReactNode, buttons: Button[], size: PopupSize = PopupSize.Small, popUpClass?: string, footer?: { content?: ReactNode, reverse?: boolean }) => {\r\n return new Promise(resolve => {\r\n window.popupButtonPrechecks = new Map (boolean | Promise)>();\r\n window.popupCallback(title, content, buttons, size, popUpClass, { content: footer?.content, reverse: footer?.reverse }, resolve as (_: ButtonResult) => void);\r\n });\r\n}\r\n\r\ntype PopupState = {\r\n open: boolean,\r\n title: string,\r\n content: ReactNode,\r\n buttons: Button[],\r\n size: PopupSize,\r\n footerContent?: ReactNode,\r\n footerReverse?: boolean,\r\n resolve: (result: ButtonResult) => void,\r\n popUpClass?: string;\r\n};\r\n\r\nwindow.popupState = {\r\n open: false,\r\n title: \"\",\r\n content: \"\" as ReactNode,\r\n buttons: [] as Button[],\r\n size: PopupSize.Small,\r\n popUpClass: undefined,\r\n footerContent: undefined,\r\n footerReverse: undefined,\r\n resolve: (_: ButtonResult) => { }\r\n};\r\n\r\nwindow.popupStateCallback ??= [];\r\n\r\nconst setState = (newState: PopupState) => {\r\n window.popupState = newState;\r\n window.popupStateCallback.forEach(c => {\r\n try {\r\n c();\r\n } catch (e) {\r\n console.error(e);\r\n }\r\n });\r\n}\r\n\r\nwindow.popupCallback = (title, content, buttons, size, popUpClass, footer, resolve) => {\r\n setState({ open: true, title, content, buttons, size, popUpClass, footerContent: footer?.content, footerReverse: footer?.reverse, resolve });\r\n}\r\n\r\nwindow.popupButtonCallback = (index, enabled) => {\r\n setState({ ...window.popupState, buttons: window.popupState.buttons.map((b, i) => i === index ? ({ ...b, enabled }) : { ...b }) });\r\n}\r\n\r\nexport const usePopup = () => {\r\n\r\n const state = useSyncExternalStore(\r\n (change) => {\r\n window.popupStateCallback.push(change);\r\n return () => {\r\n window.popupStateCallback = window.popupStateCallback.filter(c => c !== change);\r\n }\r\n },\r\n () => window.popupState\r\n );\r\n\r\n return {\r\n ...state,\r\n close: async (result: ButtonResult) => {\r\n const checkFunction = window.popupButtonPrechecks.get(result);\r\n if (checkFunction) {\r\n const checkResult = await checkFunction();\r\n if (!checkResult) return;\r\n }\r\n state.resolve(result);\r\n setState({\r\n open: false,\r\n title: \"\",\r\n content: \"\",\r\n buttons: [] as Button[],\r\n size: PopupSize.Small,\r\n popUpClass: undefined,\r\n footerContent: undefined,\r\n footerReverse: undefined,\r\n resolve: (_: ButtonResult) => { }\r\n })\r\n }\r\n };\r\n}\r\n\r\nexport const setPopupButton = (buttonIndex: number, enabled: boolean) => {\r\n window.popupButtonCallback?.(buttonIndex, enabled);\r\n}\r\n\r\nexport const usePopupButtonPrecheck = (buttonType: ButtonResult, check: () => (boolean | Promise)) => {\r\n window.popupButtonPrechecks.set(buttonType, check);\r\n};\r\n\r\ndeclare global {\r\n interface Window {\r\n popupCallback: (title: string, content: ReactNode, buttons: Button[], size: PopupSize, popUpClass: string | undefined, footer: { content?: ReactNode, reverse?: boolean }, resolve: (_: ButtonResult) => void) => void\r\n popupButtonCallback: (buttonIndex: number, enabled: boolean) => void;\r\n popupButtonPrechecks: Map (boolean | Promise)>;\r\n popupStateCallback: (() => void)[];\r\n popupState: PopupState;\r\n }\r\n}","import { usePromise } from \"../../hooks\";\r\n\r\ntype BranchInventoryModel = {\r\n variantCode: string | null;\r\n quantity: number;\r\n code: string | null;\r\n displayName: string | null;\r\n name: string | null;\r\n isSelected: boolean;\r\n hideQuantity: boolean;\r\n hasEnoughStock: boolean;\r\n}\r\n\r\nexport const Inventories = ({ itemCode, itemDisplayName }: { itemCode: string, itemDisplayName: string }) => {\r\n const translations = (window as any).app.preloadState.translation;\r\n\r\n const { data, isLoading } = usePromise(async () => {\r\n const response = await fetch('/api/inventory/branch/byVariant/' + itemCode, {\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n \"Swecon-Current-Language\": (window as any).app.preloadState.currentLanguage\r\n }\r\n });\r\n if (!response.ok) {\r\n return [];\r\n }\r\n const data = await response.json();\r\n return (data as BranchInventoryModel[]).sort((a, b) => (a.displayName ?? \"\").localeCompare(b.displayName ?? \"\"));\r\n }, [itemCode]);\r\n\r\n const selectBranch = async (code: string) => {\r\n const response = await fetch('/api/inventory/branch/' + code, {\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n \"Swecon-Current-Language\": (window as any).app.preloadState.currentLanguage\r\n },\r\n method: 'PUT'\r\n });\r\n if (!response.ok) {\r\n console.error(await response.text());\r\n } else {\r\n location.reload();\r\n }\r\n }\r\n\r\n return
\r\n
#{itemCode} {itemDisplayName}
\r\n
\r\n {!isLoading && data!.map(inv =>
\r\n
\r\n
{inv.displayName}
\r\n \r\n {inv.quantity === 0 ? translations[\"inventoryPopup.notInStock\"] : `${inv.hasEnoughStock ? translations[\"inventoryPopup.inStock\"] : translations[\"inventoryPopup.notInStock\"] }`} {inv.hideQuantity ? \"\" : ` (+${inv.quantity})`}\r\n \r\n
\r\n
\r\n \r\n
\r\n
)}\r\n
\r\n
\r\n}","import { useEffect, useState } from \"react\";\r\n\r\nexport const usePromise = (getter: () => Promise, deps: unknown[]) => {\r\n const [data, setData] = useState(null);\r\n\r\n useEffect(() => {\r\n getter().then(v => {\r\n setData(v);\r\n });\r\n }, deps);\r\n\r\n return {\r\n data,\r\n isLoading: data == null,\r\n }\r\n}","\n import API from \"!../../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[7].use[1]!../../../../../node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[7].use[2]!./SparePartsList.module.scss\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[7].use[1]!../../../../../node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[7].use[2]!./SparePartsList.module.scss\";\n export default content && content.locals ? content.locals : undefined;\n","import { Cart } from '../types';\r\nimport { Observable } from './observable';\r\nimport { useEffect } from 'react';\r\n\r\ntype Matomo = {\r\n getAsyncTrackers(): MatomoTracker[];\r\n}\r\n\r\ntype MatomoTracker = {\r\n clearEcommerceCart(): void;\r\n addEcommerceItem(code: string, name: string, labels: string | string[], unitPrice: number, quantity: number): void;\r\n trackEcommerceCartUpdate(cartTotal: number): void;\r\n}\r\n\r\ndeclare global {\r\n interface Window {\r\n cart: Observable,\r\n Matomo: Matomo | undefined;\r\n }\r\n}\r\n\r\nexport const ensureCart = () => {\r\n if (window.cart) return;\r\n\r\n window.cart = Observable(async () => {\r\n const response = await fetch('/api/cart?noValidation=true', {\r\n method: 'GET',\r\n headers: {\r\n \"Swecon-Current-Language\": (window as any).app.preloadState.currentLanguage\r\n }\r\n });\r\n if (!response.ok) {\r\n throw new Error(await response.text());\r\n }\r\n const data = await response.json() as Cart;\r\n\r\n sendCartToMatomo(data);\r\n\r\n return data;\r\n })\r\n}\r\n\r\nexport const useCartChange = (callback: (cart: Cart) => void) => {\r\n ensureCart();\r\n useEffect(() => {\r\n window.cart.subscribe(callback);\r\n return () => window.cart.unsubscribe(callback);\r\n }, [callback]);\r\n}\r\n\r\nexport const updateCart = () => window.cart?.update();\r\n\r\n\r\nfunction sendCartToMatomo(cart: Cart) {\r\n if (!cart.isMatomoEnabled) {\r\n return;\r\n }\r\n if (!window.Matomo) {\r\n return;\r\n }\r\n const tracker = window.Matomo.getAsyncTrackers()[0];\r\n if (!tracker) {\r\n return;\r\n }\r\n tracker.clearEcommerceCart();\r\n cart.lineItems.forEach(item => {\r\n tracker.addEcommerceItem(item.code, item.displayName ?? \"\", item.categories, item.unitPriceAmount, item.quantity);\r\n });\r\n tracker.trackEcommerceCartUpdate(cart.summary.totalAmount);\r\n}","import { StockAvailability } from \"../types\";\r\nimport { updateCart } from \"../utilities\";\r\n\r\nexport const useCartItemUpdate = (code: string) => {\r\n return async (quantity: number) => {\r\n await updateCartItem(code, quantity);\r\n };\r\n}\r\n\r\nexport const updateCartItem = async (code: string, quantity: number) => {\r\n await updateRemanItemBySparePartCode(code, 0);\r\n await updateItem(code, quantity);\r\n await updateCart();\r\n}\r\n\r\nexport const addRemanAndDepositItemsToCart = async (code: string, quantity: number) => {\r\n await updateItem(code, 0);\r\n await updateRemanItemBySparePartCode(code, quantity);\r\n await updateCart();\r\n}\r\n\r\nexport const updateRemanAndDepositCartItem = async (remanCode: string, depositCode: string, quantity: number) => {\r\n await updateRemanAndDeposit(remanCode, depositCode, quantity);\r\n await updateCart();\r\n}\r\n\r\nexport const getAvailabilityDisplay = async (code: string): Promise => {\r\n const response = await fetch(`/api/inventory/warehouse/byVariant/${code}/availability`, {\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n \"Swecon-Current-Language\": (window as any).app.preloadState.currentLanguage\r\n },\r\n method: \"GET\"\r\n });\r\n return await response.json();\r\n}\r\n\r\nconst updateItem = async (code: string, quantity: number) => {\r\n const response = await fetch(`/api/cart/items/update`, {\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n \"Swecon-Current-Language\": (window as any).app.preloadState.currentLanguage\r\n },\r\n body: JSON.stringify({ code, quantity }),\r\n method: \"POST\"\r\n });\r\n const data = await response.json();\r\n if (!data.isSuccess) {\r\n console.error(JSON.stringify(data))\r\n }\r\n}\r\n\r\nconst updateRemanAndDeposit = async (remanCode: string, depositCode : string, quantity: number) => {\r\n const response = await fetch(`/api/cart/items/reman-and-deposit-update`, {\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n \"Swecon-Current-Language\": (window as any).app.preloadState.currentLanguage\r\n },\r\n body: JSON.stringify({ remanCode, depositCode, quantity }),\r\n method: \"POST\"\r\n });\r\n const data = await response.json();\r\n if (!data.isSuccess) {\r\n console.error(JSON.stringify(data))\r\n }\r\n}\r\n\r\nconst updateRemanItemBySparePartCode = async (sparePartCode: string, quantity: number) => {\r\n const response = await fetch(`/api/cart/items/reman-and-deposit-update-by-spare-part-code`, {\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n \"Swecon-Current-Language\": (window as any).app.preloadState.currentLanguage\r\n },\r\n body: JSON.stringify({ code: sparePartCode, quantity }),\r\n method: \"POST\"\r\n });\r\n const data = await response.json();\r\n if (!data.isSuccess) {\r\n console.error(JSON.stringify(data))\r\n }\r\n}\r\n\r\nexport const updateCartKitItem = async (code: string, quantity: number, bundleCode: string, kitCode: string, serialNumber: string | null) => {\r\n const response = await fetch(`/api/cart/kit-items/update`, {\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n \"Swecon-Current-Language\": (window as any).app.preloadState.currentLanguage\r\n },\r\n body: JSON.stringify({ code, quantity, bundleCode, kitCode, serialNumber }),\r\n method: \"POST\"\r\n });\r\n const data = await response.json();\r\n if (!data.isSuccess) {\r\n console.error(JSON.stringify(data))\r\n } else {\r\n await updateCart();\r\n }\r\n}\r\n\r\nexport const updateMultipleCartItems = async (items: { code: string, quantity: number }[]) => {\r\n const response = await fetch(`/api/cart/items/updateMultiple`, {\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n \"Swecon-Current-Language\": (window as any).app.preloadState.currentLanguage\r\n },\r\n body: JSON.stringify(items),\r\n method: \"POST\"\r\n });\r\n const data = await response.json();\r\n if (!data.isSuccess) {\r\n console.error(JSON.stringify(data))\r\n } else {\r\n await updateCart();\r\n }\r\n}\r\n\r\n export const updateMultipleCartKitItems = async (items: { code: string, quantity: number, bundleCode: string, kitCode: string, serialNumber: string | null }[]) => {\r\n const response = await fetch(`/api/cart/kit-items/updateMultiple`, {\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n \"Swecon-Current-Language\": (window as any).app.preloadState.currentLanguage\r\n },\r\n body: JSON.stringify(items),\r\n method: \"POST\"\r\n });\r\n const data = await response.json();\r\n if (!data.isSuccess) {\r\n console.error(JSON.stringify(data))\r\n } else {\r\n await updateCart();\r\n }\r\n}","export const debounce = (func: (...args: Args) => R, time: number) => {\r\n let timeout: NodeJS.Timeout;\r\n let valueToSend: Args | null = null;\r\n const debounced = (...args: Args) => {\r\n valueToSend = args;\r\n clearTimeout(timeout);\r\n timeout = setTimeout(() => {\r\n func(...valueToSend!);\r\n }, time);\r\n };\r\n debounced.stop = () => clearTimeout(timeout);\r\n return debounced;\r\n}","\n import API from \"!../../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[7].use[1]!../../../../../node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[7].use[2]!./QuantitySelector.module.scss\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[7].use[1]!../../../../../node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[7].use[2]!./QuantitySelector.module.scss\";\n export default content && content.locals ? content.locals : undefined;\n","import React from \"react\";\r\nimport cn from 'classnames';\r\n\r\ntype LoaderProps = {\r\n size?: number;\r\n inline?: boolean;\r\n}\r\n\r\nexport const Loader = ({ size = 28, inline = false }: LoaderProps) => {\r\n return
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n}","\n import API from \"!../../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[7].use[1]!../../../../../node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[7].use[2]!./Adaptive.module.scss\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[7].use[1]!../../../../../node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[7].use[2]!./Adaptive.module.scss\";\n export default content && content.locals ? content.locals : undefined;\n","import * as styles from './Adaptive.module.scss';\r\nimport cn from 'classnames';\r\n\r\nexport const Adaptive = ({ breakpoint = 'lg', over, under }: { breakpoint: 'xs' | 'sm' | 'md' | 'lg' | 'xl', over?: React.ReactNode, under?: React.ReactNode }) => {\r\n return
\r\n
\r\n {over}\r\n
\r\n
\r\n {under}\r\n
\r\n
\r\n}","import React, { useState, useEffect, useMemo } from \"react\"\r\nimport { debounce } from \"../../utilities/debounce\";\r\nimport * as styles from './QuantitySelector.module.scss';\r\nimport { ButtonResult, ButtonType, PopupSize, popup, Loader, sendMatomoEvent } from \"ui\";\r\nimport cn from 'classnames';\r\nimport { RemanResults } from \"../../types\";\r\nimport { Adaptive } from \"../Adaptive/Adaptive\";\r\n\r\nenum ButtonState {\r\n Normal,\r\n Loader,\r\n LoadedLabel,\r\n LoadedRemanItem,\r\n RemanItemChosen,\r\n UsedPartChosen,\r\n RemovingItem\r\n}\r\n\r\nconst cancelDefault = (e: React.MouseEvent) => {\r\n e.preventDefault();\r\n e.stopPropagation();\r\n}\r\n\r\nfunction isNumeric(str: string | number) {\r\n if (typeof str != \"string\") return false;\r\n return !isNaN(str as unknown as number) && !isNaN(parseFloat(str));\r\n}\r\n\r\nconst clamp = (v: number, min: number, max: number) => Math.min(max, Math.max(min, v));\r\n\r\nconst translations = (window as any).app.preloadState.translation;\r\nconst loginLink = (window as any).app.preloadState.loginLink;\r\n\r\nconst tr = Object.fromEntries(Object.entries(translations)\r\n .filter(pair => pair[0].startsWith(\"quantitySelector.\"))\r\n .map(pair => ([pair[0].split('.')[1], pair[1] as string] as const)));\r\n\r\nexport const showNotAuthorizedPopup = (ev: React.MouseEvent) => {\r\n ev.preventDefault();\r\n popup(\r\n tr.cannotBuy,\r\n
\r\n {tr.insufficientRightsToBuy}

\r\n {tr.contactMySweconAdministrator}\r\n
,\r\n [\r\n { label: tr.close, result: ButtonResult.Cancel, type: ButtonType.Primary }\r\n ],\r\n PopupSize.Small\r\n );\r\n}\r\n\r\nconst shouldShowModeButton = (m: Mode) => !(m == Mode.UsedPart || m == Mode.AddToCart || m == Mode.Buy);\r\n\r\nexport enum Mode {\r\n LoginToBuy,\r\n NotAuthorized,\r\n RequestQuotationByEmail,\r\n ContactSupport,\r\n Buy,\r\n AddToCart,\r\n NotAvailableAndDisabled,\r\n UsedPart\r\n}\r\n\r\nexport enum Design {\r\n Normal,\r\n PDP,\r\n New\r\n}\r\n\r\ntype QuantitySelectorProps = {\r\n step: number;\r\n min: number;\r\n max: number;\r\n initialValue: number;\r\n disabled?: boolean;\r\n onChange: (value: number) => void;\r\n onRemove: (doAfter: () => void) => void;\r\n onAddReman?: (value: number) => void;\r\n forceMinValue: boolean;\r\n mode: Mode;\r\n requestQuotationByEmail: string | null;\r\n contactSupportLink: string | null;\r\n className?: string;\r\n showRemanufacturePopUp?: () => Promise;\r\n buttonClassName?: string;\r\n hasRemanInCart?: boolean;\r\n hasRemanAvailable?: boolean;\r\n design?: Design;\r\n}\r\n\r\nexport const QuantitySelector = (props: QuantitySelectorProps) => {\r\n if (shouldShowModeButton(props.mode)) {\r\n return \r\n }\r\n return \r\n}\r\n\r\nconst ModeButton = ({ mode, requestQuotationByEmail, contactSupportLink }: QuantitySelectorProps) => {\r\n switch (mode) {\r\n case Mode.LoginToBuy:\r\n return {tr.login}\r\n case Mode.NotAuthorized:\r\n return ;\r\n case Mode.RequestQuotationByEmail:\r\n return {tr.requestForQuotation};\r\n case Mode.NotAvailableAndDisabled:\r\n return ;\r\n case Mode.ContactSupport:\r\n return {tr.contactSupport};\r\n default:\r\n return ;\r\n }\r\n}\r\n\r\nconst InternalQuantitySelector = ({\r\n step,\r\n min,\r\n max,\r\n initialValue,\r\n disabled,\r\n onChange,\r\n onRemove,\r\n onAddReman = () => { },\r\n forceMinValue,\r\n mode,\r\n className = \"\",\r\n showRemanufacturePopUp = undefined,\r\n buttonClassName = \"btn--primary\",\r\n hasRemanInCart,\r\n hasRemanAvailable = false,\r\n design = Design.New\r\n}: QuantitySelectorProps) => {\r\n\r\n const maxTruncated = useMemo(() => Math.trunc(max / step) * step, [max, step]);\r\n\r\n const [textValue, setTextValue] = useState(initialValue.toString());\r\n const [lastValidValue, setLastValidValue] = useState(initialValue);\r\n const [shouldShowButton, setShowButton] = useState(initialValue === 0);\r\n const [infoMessage, setInfoMessage] = useState(\"\");\r\n const [buttonState, setButtonState] = useState(mode === Mode.UsedPart && initialValue > 0\r\n ? ButtonState.UsedPartChosen\r\n : (hasRemanInCart\r\n ? ButtonState.RemanItemChosen\r\n : ButtonState.Normal)\r\n );\r\n\r\n const debouncedOnChange = useMemo(() => debounce((v: number) => {\r\n sendMatomoEvent('Quantity Selector', 'Clicked', 'Buy', v);\r\n onChange(v);\r\n }, 500), [onChange]);\r\n\r\n useEffect(() => {\r\n if (!disabled && checkForErrors(textValue, lastValidValue) === null && lastValidValue > 0) {\r\n debouncedOnChange(lastValidValue);\r\n }\r\n }, [lastValidValue, textValue]);\r\n\r\n const updateValue = (text: string | number) => {\r\n setInfoMessage(\"\");\r\n\r\n if (typeof text === 'number') {\r\n text = text.toString();\r\n }\r\n setTextValue(text);\r\n if (isNumeric(text)) {\r\n const num = +text;\r\n min = Math.max(min, 1);\r\n setLastValidValue(num);\r\n if (forceMinValue && num < min) {\r\n setLastValidValue(min);\r\n setTextValue(min.toString());\r\n }\r\n }\r\n };\r\n\r\n const updateButton = (v: number) => {\r\n const shouldRemove = v === 0;\r\n if (shouldRemove) {\r\n if (buttonState === ButtonState.UsedPartChosen) {\r\n setButtonState(ButtonState.Loader);\r\n setTimeout(() => setButtonState(ButtonState.Normal), 1000);\r\n onRemove(() => setShowButton(true));\r\n } else {\r\n debouncedOnChange.stop();\r\n onRemove(() => setShowButton(true));\r\n }\r\n } else {\r\n setShowButton(false);\r\n }\r\n }\r\n\r\n const add = async () => {\r\n\r\n const addSparePartToCart = (quantity?: number) => {\r\n setButtonState(ButtonState.Loader);\r\n\r\n (quantity == 0) ?\r\n setTimeout(() => setButtonState(ButtonState.RemovingItem), 1000)\r\n :\r\n setTimeout(() => setButtonState(ButtonState.LoadedLabel), 1000)\r\n\r\n setTimeout(() => setButtonState(ButtonState.Normal), 2000);\r\n updateValue(quantity ?? step);\r\n updateButton(quantity ?? step);\r\n }\r\n\r\n const addRemanItemToCart = (quantity: number) => {\r\n onAddReman(quantity);\r\n\r\n setButtonState(ButtonState.Loader);\r\n setTimeout(() => setButtonState(ButtonState.LoadedRemanItem), 1000);\r\n setTimeout(() => setButtonState(ButtonState.RemanItemChosen), 2000);\r\n }\r\n\r\n const addUsedItemToCart = (quantity: number) => {\r\n setButtonState(ButtonState.Loader);\r\n setTimeout(() => setButtonState(ButtonState.LoadedLabel), 1000);\r\n setTimeout(() => setButtonState(ButtonState.UsedPartChosen), 2000);\r\n\r\n updateValue(quantity ?? step);\r\n updateButton(quantity ?? step);\r\n }\r\n\r\n if (mode === Mode.UsedPart) {\r\n addUsedItemToCart(1);\r\n return;\r\n }\r\n if (!showRemanufacturePopUp) {\r\n addSparePartToCart();\r\n } else {\r\n const popupData = await showRemanufacturePopUp();\r\n if (!popupData) {\r\n //undefined, user canceled the pop up\r\n //do nothing\r\n return;\r\n }\r\n if (popupData.selectedReman) {\r\n addRemanItemToCart(popupData.remanQuantity);\r\n } else {\r\n addSparePartToCart(popupData.sparePartQuantity);\r\n }\r\n }\r\n };\r\n\r\n const increment = () => {\r\n const intendedValue = Math.trunc((lastValidValue + step) / step) * step;\r\n const possibleValue = clamp(intendedValue, min, maxTruncated)\r\n updateValue(possibleValue);\r\n\r\n if (intendedValue > possibleValue)\r\n setInfoMessage(tr.maxNumberOfItems ?? \"\");\r\n }\r\n\r\n const decrement = () => {\r\n const newValue = clamp(Math.trunc((lastValidValue - step) / step) * step, 0, max);\r\n updateValue(newValue);\r\n if (!forceMinValue) {\r\n updateButton(newValue);\r\n }\r\n }\r\n\r\n const onEnter = (e: React.KeyboardEvent) => {\r\n if (e.key == \"Enter\") {\r\n e.currentTarget.blur();\r\n }\r\n }\r\n\r\n const checkForErrors = (textValue: string, numberValue: number) => {\r\n if (numberValue.toString() !== textValue) {\r\n return tr.invalidValue;\r\n }\r\n if (numberValue === 0) {\r\n return tr.productRemoved;\r\n }\r\n if (numberValue < min) {\r\n return tr.valueTooLow;\r\n }\r\n if (numberValue > max) {\r\n return tr.valueTooHigh;\r\n }\r\n if (numberValue % step !== 0) {\r\n return tr.cannotDivideUnit;\r\n }\r\n return null;\r\n };\r\n\r\n const errorMessage = checkForErrors(textValue, lastValidValue);\r\n const checkButton = () => updateButton(lastValidValue);\r\n\r\n const MainButton = () => {\r\n switch (buttonState) {\r\n case ButtonState.Loader:\r\n return ;\r\n case ButtonState.LoadedLabel:\r\n return ;\r\n case ButtonState.LoadedRemanItem:\r\n return ;\r\n case ButtonState.RemanItemChosen:\r\n return ;\r\n case ButtonState.RemovingItem:\r\n return ;\r\n case ButtonState.UsedPartChosen:\r\n return ;\r\n default:\r\n return ;\r\n };\r\n };\r\n\r\n const NumberInput = () =>
\r\n
\r\n updateValue(e.currentTarget.value)}>\r\n
{tr.countInCart}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {errorMessage !== null && (\r\n
{errorMessage}
\r\n )}\r\n {errorMessage == null && infoMessage?.length > 0 && (\r\n
{infoMessage}
\r\n )}\r\n
;\r\n\r\n const designStyle = useMemo(() => {\r\n switch (design) {\r\n case Design.New:\r\n return styles.newDesign;\r\n case Design.PDP:\r\n return styles.pdpDesign;\r\n default:\r\n return \"\";\r\n };\r\n }, [design]);\r\n\r\n return (\r\n
\r\n {shouldShowButton || buttonState !== ButtonState.Normal ? : }\r\n
\r\n );\r\n}","import React, { useEffect, useState } from \"react\";\r\nimport { Loader } from \"../Loader/Loader\";\r\nimport { RemanChoices, RemanResults, RemanufacturedPopUpItemDetails } from \"../../types\";\r\n\r\nconst translations = (window as any).app.preloadState.translation;\r\nexport function RemanufacturedChoice({ changeResult, sparePartIds, quantityOverride }: { changeResult: (results: RemanResults) => void, sparePartIds: string[], quantityOverride?: Record}) {\r\n\r\n const [choices, setChoices] = useState({});\r\n const [chosenResult, setChosenResult] = useState(\r\n Object.fromEntries(sparePartIds.map(id => ([id, { selectedReman: true, sparePartQuantity: 0, remanQuantity: 0 }] as const)))\r\n );\r\n const [totalSum, setTotalSum] = useState(\"0\");\r\n\r\n useEffect(() => {\r\n changeResult(chosenResult);\r\n }, [chosenResult]);\r\n\r\n useEffect(() => {\r\n (async () => {\r\n const itemDetailsResponse = await fetch(`/api/pdp/reman-item-details`, {\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n \"Swecon-Current-Language\": (window as any).app.preloadState.currentLanguage\r\n },\r\n body: JSON.stringify(sparePartIds),\r\n method: \"POST\"\r\n });\r\n\r\n if (!itemDetailsResponse.ok) {\r\n console.error(await itemDetailsResponse.text());\r\n }\r\n else {\r\n var choices: RemanChoices = await itemDetailsResponse.json();\r\n setChoices(choices);\r\n setChosenResult(\r\n Object.fromEntries(\r\n sparePartIds.map(id => ([id, {\r\n selectedReman: true,\r\n sparePartQuantity: quantityOverride?.[id] ?? choices[id]?.sparePartDetails.quantity ?? 0,\r\n remanQuantity: quantityOverride?.[id] ?? choices[id]?.remanPartDetails.quantity ?? 0\r\n }] as const))\r\n )\r\n );\r\n }\r\n })();\r\n }, [...sparePartIds]);\r\n\r\n useEffect(() => {\r\n (async () => {\r\n const response = await fetch(`/api/pdp/reman-items-total-price`, {\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n \"Swecon-Current-Language\": (window as any).app.preloadState.currentLanguage\r\n },\r\n body: JSON.stringify({ ...chosenResult }),\r\n method: \"POST\"\r\n });\r\n if (!response.ok) {\r\n console.error(await response.text())\r\n } else {\r\n setTotalSum(await response.json());\r\n }\r\n })();\r\n }, [chosenResult])\r\n\r\n\r\n return <>{Object.keys(choices).length > 0 ?\r\n
{sparePartIds.map(sparePartId => {\r\n const sparePartItem = choices[sparePartId]!.sparePartDetails;\r\n const remanItem = choices[sparePartId]!.remanPartDetails;\r\n const depositItem = choices[sparePartId]!.depositDetails;\r\n const chosenData = chosenResult[sparePartId];\r\n\r\n return (
\r\n
\r\n
{translations[\"remanufacturedItemPopUp.articleNo\"]}
\r\n
{translations[\"remanufacturedItemPopUp.description\"]}
\r\n
{translations[\"remanufacturedItemPopUp.displayName\"]}
\r\n
{translations[\"remanufacturedItemPopUp.unit\"]}
\r\n
{translations[\"remanufacturedItemPopUp.quantity\"]}
\r\n
{translations[\"remanufacturedItemPopUp.webStorage\"]}
\r\n
{translations[\"remanufacturedItemPopUp.facility\"]}
\r\n
{translations[\"remanufacturedItemPopUp.price\"]} ({translations[\"remanufacturedItemPopUp.discountIncluded\"]})
\r\n
\r\n\r\n
setChosenResult({ ...chosenResult, [sparePartId]: { ...chosenData, selectedReman: false } })}>\r\n
\r\n
\r\n setChosenResult({ ...chosenResult, [sparePartId]: { ...chosenData, selectedReman: false } })} />\r\n \r\n
\r\n
\r\n
{translations[\"remanufacturedItemPopUp.originalSparePart\"]}
\r\n
\r\n setChosenResult({ ...chosenResult, [sparePartId]: { ...chosenData, sparePartQuantity: Math.max(1, q), remanQuantity: Math.max(1, q) } })} />\r\n
setChosenResult({ ...chosenResult, [sparePartId]: { ...chosenData, selectedReman: true } })}>\r\n
\r\n
\r\n setChosenResult({ ...chosenResult, [sparePartId]: { ...chosenData, selectedReman: true } })} />\r\n \r\n
\r\n
\r\n
{translations[\"remanufacturedItemPopUp.remanufacturedPart\"]}
\r\n
\r\n setChosenResult({ ...chosenResult, [sparePartId]: { ...chosenData, remanQuantity: Math.max(1, q), sparePartQuantity: Math.max(1, q) } })} />\r\n \r\n
\r\n
);\r\n })}\r\n
\r\n
{translations[\"remanufacturedItemPopUp.totalPrice\"]}
\r\n
{totalSum}
\r\n
\r\n
\r\n :\r\n }\r\n \r\n}\r\n\r\nconst RemanufacturedItem = ({ item, updateItemQuantity = () => { }, isDisabled = false, showAvailability = true, quantity }: { item: RemanufacturedPopUpItemDetails, updateItemQuantity?: (quantity: number) => void, isDisabled ?: boolean, showAvailability?: boolean, quantity: number }) => {\r\n const [price, setPrice] = useState(item.price);\r\n\r\n useEffect(() => {\r\n (async () => {\r\n const response = await fetch(`/api/pdp/${item.code}/price?quantity=${quantity}`, {\r\n headers: {\r\n \"Swecon-Current-Language\": (window as any).app.preloadState.currentLanguage\r\n },\r\n method: \"GET\"\r\n });\r\n if (!response.ok) {\r\n console.error(await response.text())\r\n } else {\r\n setPrice(await response.json());\r\n }\r\n })();\r\n }, [quantity]);\r\n\r\n return (\r\n
\r\n
{item.code}
\r\n
{item.description}
\r\n
{item.displayName}
\r\n
{item.unit}
\r\n
\r\n !isDisabled && updateItemQuantity(ev.target.valueAsNumber ?? 1)}/>\r\n
\r\n {showAvailability &&
{item.availability ? () : translations[\"inventoryPopup.notInStock\"]}
}\r\n {showAvailability &&
{item.branch}
}\r\n
{price}
\r\n
\r\n );\r\n}","\n import API from \"!../../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[7].use[1]!../../../../../node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[7].use[2]!./Item.module.scss\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[7].use[1]!../../../../../node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[7].use[2]!./Item.module.scss\";\n export default content && content.locals ? content.locals : undefined;\n","\n import API from \"!../../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[7].use[1]!../../../../../node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[7].use[2]!./TaxInfoNote.module.scss\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[7].use[1]!../../../../../node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[7].use[2]!./TaxInfoNote.module.scss\";\n export default content && content.locals ? content.locals : undefined;\n","import * as styles from \"./TaxInfoNote.module.scss\";\r\nimport {\r\n popup,\r\n ButtonResult,\r\n ButtonType,\r\n} from \"ui\";\r\n\r\ntype TaxInfoNoteProps = {\r\n iconOnly?: boolean\r\n}\r\n\r\nconst taxInfoForAnonymousUsers = (window as any).app.preloadState.taxInfoForAnonymousUsers;\r\nconst translations = window.app.preloadState.translation;\r\nconst isLoggedIn = (window as any).app.preloadState.isLoggedIn;\r\n\r\nexport const TaxInfoNote = ({ iconOnly = false }: TaxInfoNoteProps) => {\r\n\r\n if (isLoggedIn) {\r\n return;\r\n }\r\n\r\n const showDeliveryInfoPopUp = (e: React.MouseEvent) => {\r\n e.preventDefault();\r\n e.stopPropagation();\r\n popup(\r\n taxInfoForAnonymousUsers.title,\r\n taxInfoForAnonymousUsers.description,\r\n [\r\n { label: translations[\"taxInfo.button\"], result: ButtonResult.Cancel, type: ButtonType.Primary }\r\n ]\r\n );\r\n }\r\n\r\n return <>\r\n {iconOnly ?\r\n { showDeliveryInfoPopUp(e) }}>\r\n :\r\n {taxInfoForAnonymousUsers.taxInfoStringStaticPart} { showDeliveryInfoPopUp(e) }}>{translations[\"taxInfo.taxInfoPopUp\"]}\r\n }\r\n \r\n}\r\n","import { useCallback, useState } from 'react';\r\nimport { addRemanAndDepositItemsToCart, getAvailabilityDisplay, updateCartItem } from '../../hooks';\r\nimport { QualityClass, RemanResults, SearchResultItem } from '../../types';\r\nimport { ButtonResult, ButtonType, PopupSize, popup } from '../../utilities';\r\nimport { Mode, QuantitySelector } from '../QuantitySelector/QuantitySelector';\r\nimport { RemanufacturedChoice } from '../RemanufacturedChoice/RemanufacturedChoice';\r\nimport * as styles from './Item.module.scss';\r\nimport cn from 'classnames';\r\nimport { TaxInfoNote } from '../TaxInfoNote/TaxInfoNote';\r\n\r\ntype ItemProps = {\r\n item: SearchResultItem;\r\n showInventoryPopup: (item: SearchResultItem, ev: React.MouseEvent) => void;\r\n};\r\n\r\nconst isLoggedIn = (window as any).app.preloadState.isLoggedIn;\r\nconst translations = (window as any).app.preloadState.translation;\r\n\r\nexport const Item = ({ item, showInventoryPopup }: ItemProps) => {\r\n const [availabilityDisplay, setAvailabilityDisplay] = useState(item.inventory?.warehouse?.availabilityDisplay);\r\n const [hasEnoughInStock, setHasEnoughInStock] = useState(item.inventory?.branch?.hasEnoughStock);\r\n\r\n const maximumQuantity = item.inventory?.maximumQuantity ?? 0;\r\n const minimumQuantity = item.inventory?.minimumQuantity ?? 0;\r\n const packageQuantity = item.inventory?.packageQuantity ?? 0;\r\n const quantityStep = item.inventory?.quantityStep ?? 0;\r\n\r\n const showRemanufacturePopUp = async (): Promise => {\r\n\r\n let result: RemanResults[string] | undefined = undefined;\r\n\r\n const changeResult = (results: RemanResults) => {\r\n result = results[item.code];\r\n }\r\n\r\n const override = item.remanQuantity\r\n ? {\r\n [item.code]: item.remanQuantity\r\n } : undefined;\r\n\r\n const popupResult = await popup(\r\n translations[\"remanufacturedItemPopUp.selectItemToAddToCart\"],\r\n ,\r\n [\r\n { label: translations[\"remanufacturedItemPopUp.remove\"], result: ButtonResult.No, type: ButtonType.Link, className: styles.deleteButton, visible: override != null },\r\n { label: translations[\"remanufacturedItemPopUp.cancel\"], result: ButtonResult.Cancel, type: ButtonType.Outlined },\r\n { label: translations[\"remanufacturedItemPopUp.ok\"], result: ButtonResult.Ok, type: ButtonType.Primary }\r\n ],\r\n PopupSize.ExtraLarge,\r\n \"noPaddingsPopUp\"\r\n );\r\n\r\n if (popupResult == ButtonResult.Ok) {\r\n return result;\r\n } else if (popupResult == ButtonResult.No) {\r\n return {\r\n selectedReman: false,\r\n sparePartQuantity: 0,\r\n remanQuantity: 0\r\n };\r\n } else {\r\n return undefined;\r\n }\r\n }\r\n\r\n const updateItem = async (code: string, quantity: number) => {\r\n await updateCartItem(code, quantity);\r\n item.remanQuantity = 0;\r\n\r\n const stockAvailability = await getAvailabilityDisplay(code);\r\n if (stockAvailability.availability) {\r\n setAvailabilityDisplay(stockAvailability.availability);\r\n }\r\n setHasEnoughInStock(stockAvailability.hasEnoughInStock);\r\n }\r\n\r\n const onAddReman = async (quantity: number) => {\r\n await addRemanAndDepositItemsToCart(item.code, quantity);\r\n item.remanQuantity = quantity;\r\n }\r\n\r\n return (\r\n
\r\n \r\n
\r\n {item.displayName}\r\n {item.qualityClass !== \"0\" && {translations[\"common.used\"]}}\r\n
\r\n

{item.displayName}

\r\n

\r\n {item.sparePartItemNumber && `${item.sparePartItemNumber} | `}{item.code}{\" \"}\r\n

\r\n {item.labels?.length > 0 &&\r\n

\r\n {item.labels.map(label =>\r\n {label.text}\r\n )}\r\n

\r\n }\r\n

\r\n {packageQuantity > 0 && {translations[\"sparePartItem.quantityFrp\"]}: {packageQuantity}}\r\n {!!item.itemUnitId && {translations[\"sparePartItem.unit\"]}: {item.itemUnitId}}\r\n {item.qualityClass === \"0\"\r\n ? \r\n : \r\n }\r\n

\r\n
\r\n
\r\n {
\r\n {item.mode !== Mode.AddToCart && <>\r\n {item.percentageDiscount > 0 && (\r\n
\r\n

{item.discountedPrice}

\r\n
\r\n )}\r\n
\r\n 0,\r\n [styles.discountedPrice]: item.percentageDiscount > 0,\r\n [styles.strike]: item.percentageDiscount > 0,\r\n [styles.smallFont]: item.percentageDiscount > 0\r\n })}\r\n >\r\n {item.unitPriceWithTax ?? item.unitPrice}\r\n \r\n

\r\n {item.discountedPrice ?? (item.unitPriceWithTax ?? item.unitPrice)}\r\n
\r\n {item.percentageDiscount > 0 && (\r\n <>\r\n
\r\n {item.unitPriceWithTax ?? item.unitPrice}\r\n
\r\n
\r\n
{translations[\"sparePartItem.discount\"]}:
\r\n
\r\n {item.discountPercentageDisplay}\r\n
\r\n
\r\n \r\n )}\r\n {(item.unitPriceWithTax?.length ?? 0) > 0 && }\r\n }\r\n
}\r\n
\r\n {item.qualityClass === \"0\"\r\n ? \r\n : \r\n }\r\n
\r\n

\r\n {item.labels?.length > 0 &&\r\n {item.labels[0].text}\r\n }\r\n

\r\n
\r\n
\r\n void) => updateItem(item.code, 0).then(() => f())}\r\n onChange={(quantity: number) => updateItem(item.code, quantity)}\r\n showRemanufacturePopUp={item.hasRemanItem ? showRemanufacturePopUp : undefined}\r\n onAddReman={onAddReman}\r\n hasRemanAvailable={item.hasRemanItem}\r\n >\r\n
\r\n
\r\n );\r\n};\r\n\r\ntype DeliveryDataProps = {\r\n item: SearchResultItem;\r\n showInventoryPopup: (item: SearchResultItem, ev: React.MouseEvent) => void;\r\n availabilityDisplay: string | null | undefined;\r\n hasEnoughInStock: boolean | undefined;\r\n}\r\n\r\nconst DeliveryData = ({ item, availabilityDisplay, showInventoryPopup, hasEnoughInStock }: DeliveryDataProps) => {\r\n const isInInventory = item.inventory?.warehouse?.isAvailable ?? false;\r\n\r\n return item.mode !== Mode.AddToCart ? <>\r\n \r\n {isInInventory ? : {translations[\"inventoryPopup.notInStock\"]}}\r\n \r\n {item.inventory?.branch?.branchName ?\r\n showInventoryPopup(item, ev)}\r\n className={cn(styles.inventoryIndicator, \"d-md-none\", {\r\n [styles.check]: hasEnoughInStock,\r\n [styles.close]: !hasEnoughInStock,\r\n })}\r\n >\r\n {item.inventory?.branch?.branchName}\r\n \r\n :\r\n showInventoryPopup(item, ev)}\r\n className={cn(styles.inventoryIndicator, \"d-md-none\")}\r\n >\r\n {translations[\"inventories.selectBranch\"]}\r\n \r\n }\r\n : \r\n {translations[\"common.deliveryTimeToBeChecked\"]}\r\n \r\n}\r\n\r\nconst MobileDeliveryData = ({ item, showInventoryPopup, availabilityDisplay, hasEnoughInStock }: DeliveryDataProps) => {\r\n const isInInventory = item.inventory?.warehouse?.isAvailable ?? false;\r\n\r\n return item.mode !== Mode.AddToCart ? <>\r\n \r\n {isInInventory ? : {translations[\"inventoryPopup.notInStock\"]}}\r\n \r\n {item.inventory?.branch?.branchName ?\r\n showInventoryPopup(item, ev)}\r\n className={cn(styles.inventoryIndicator, \"d-none d-md-block\", styles.smallFont, styles.smallMarginTop, {\r\n [styles.check]: hasEnoughInStock,\r\n [styles.close]: !hasEnoughInStock,\r\n })}\r\n >\r\n {item.inventory?.branch?.branchName}\r\n \r\n :\r\n showInventoryPopup(item, ev)}\r\n className={cn(styles.inventoryIndicator, \"d-none d-md-block\", styles.smallFont, styles.smallMarginTop)}\r\n >\r\n {translations[\"inventories.selectBranch\"]}\r\n \r\n }\r\n : \r\n {translations[\"common.deliveryTimeToBeChecked\"]}\r\n \r\n}\r\n\r\nconst QualityClassData = ({ quality, mobile = false }: { quality: QualityClass, mobile?: boolean }) => {\r\n\r\n const showQualityPopup = useCallback((ev: React.MouseEvent) => {\r\n ev.preventDefault();\r\n ev.stopPropagation();\r\n popup(\r\n translations[\"common.popUpHeader\"],\r\n translations[\"common.usedPartsPopUpBody\"],\r\n [\r\n { label: translations[\"common.usedPartsPopUpButtonLabel\"], result: ButtonResult.Cancel, type: ButtonType.Outlined }\r\n ],\r\n PopupSize.Small,\r\n \"noPaddingsPopUp\"\r\n );\r\n }, []);\r\n\r\n return {translations[\"common.class\"]} {quality}\r\n}","\n import API from \"!../../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[7].use[1]!../../../../../node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[7].use[2]!./Inputs.module.scss\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[7].use[1]!../../../../../node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[7].use[2]!./Inputs.module.scss\";\n export default content && content.locals ? content.locals : undefined;\n","import cn from 'classnames';\r\nimport { useId } from 'react';\r\nimport * as styles from './Inputs.module.scss';\r\n\r\ntype InputCheckbox = {\r\n label: string | React.ReactNode; \r\n name: string;\r\n disabled?: boolean;\r\n checked?: boolean;\r\n onChange?: (value: boolean) => void;\r\n};\r\n\r\nexport const InputCheckbox = ({\r\n label,\r\n disabled,\r\n name,\r\n checked = false,\r\n onChange\r\n}: InputCheckbox) => (\r\n
\r\n onChange?.(ev.target.checked)}\r\n />\r\n \r\n
\r\n);\r\n\r\nexport const InputRadio = ({\r\n label,\r\n disabled,\r\n name,\r\n checked = false,\r\n onChange\r\n}: InputCheckbox) => {\r\n const id = useId().replace(/:/g, '');\r\n return
\r\n onChange?.(ev.target.checked)}\r\n />\r\n \r\n
\r\n};","\n import API from \"!../../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[7].use[1]!../../../../../node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[7].use[2]!./Sorter.module.scss\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[7].use[1]!../../../../../node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[7].use[2]!./Sorter.module.scss\";\n export default content && content.locals ? content.locals : undefined;\n","import { ReactNode, useEffect, useMemo, useState, useSyncExternalStore } from \"react\";\r\nimport { SparePartsSortField, urlSubscribe } from \"./SparePartsList\";\r\nimport { InputRadio } from \"../Inputs\";\r\nimport cn from 'classnames';\r\nimport * as styles from './Sorter.module.scss';\r\n\r\nconst loggedIn = window.app.preloadState.isLoggedIn;\r\nconst usedPartsEnabled = window.app.preloadState.usedPartsEnabled;\r\nconst translationState = (window as any).app.preloadState.translation;\r\n\r\nexport const Sorter = ({ reload, children }: { reload: () => void, children?: ReactNode }) => {\r\n const [open, setOpen] = useState(false);\r\n\r\n const urlData = useSyncExternalStore(\r\n urlSubscribe,\r\n () => {\r\n const params = new URLSearchParams(location.search);\r\n return (params.get('sort') ?? SparePartsSortField.Best) + ';' + (params.get('sortDirection') ?? 'desc');\r\n }\r\n );\r\n\r\n const sorting = useMemo(() => {\r\n const [sort, sortDirection] = urlData.split(';');\r\n switch (sort) {\r\n case SparePartsSortField.Best:\r\n case SparePartsSortField.Name:\r\n case SparePartsSortField.Created:\r\n case SparePartsSortField.Price:\r\n return [sort, sortDirection === 'asc'] as [SparePartsSortField, boolean];\r\n default:\r\n return [SparePartsSortField.Best, sortDirection === 'asc'] as [SparePartsSortField, boolean];\r\n }\r\n }, [urlData]);\r\n\r\n const toggleSorting = (value: SparePartsSortField, ascending: boolean) => {\r\n const params = new URLSearchParams(location.search);\r\n params.set('sort', value);\r\n params.set('sortDirection', ascending ? 'asc' : 'desc');\r\n window.history.replaceState(null, \"\", location.pathname + '?' + params.toString());\r\n reload();\r\n }\r\n\r\n useEffect(() => {\r\n document.addEventListener(\"click\", (ev) => {\r\n const filterRadioContainer = document.getElementById(\"SorterRadioContainer\")!;\r\n const filterRadioButton = document.getElementById(\"SorterRadioButton\")!;\r\n const target = (ev.target as HTMLDivElement);\r\n if (filterRadioContainer && !filterRadioContainer.contains(target) && !filterRadioButton.contains(target)) {\r\n setOpen(false);\r\n }\r\n });\r\n }, []);\r\n\r\n const getLabelFor = (field: SparePartsSortField, ascending: boolean): string => {\r\n switch (field) {\r\n case SparePartsSortField.Best:\r\n return translationState['sorting.best'];\r\n case SparePartsSortField.Name:\r\n return ascending ? translationState['sorting.nameAscending'] : translationState['sorting.nameDescending'];\r\n case SparePartsSortField.Created:\r\n return ascending ? translationState['sorting.createdAscending'] : translationState['sorting.createdDescending'];\r\n case SparePartsSortField.Price:\r\n return ascending ? translationState['sorting.priceAscending'] : translationState['sorting.priceDescending'];\r\n }\r\n }\r\n\r\n const radioHelper = (field: SparePartsSortField, ascending: boolean) => ({\r\n label: getLabelFor(field, ascending),\r\n name: \"sortingMethod\",\r\n checked: sorting[0] === field && sorting[1] === ascending,\r\n onChange: () => toggleSorting(field, ascending)\r\n });\r\n\r\n return
\r\n {children ? children :
}\r\n\r\n \r\n {open &&
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n {loggedIn && usedPartsEnabled && <>\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n }\r\n
}\r\n
\r\n}","import cn from 'classnames';\r\nimport * as styles from './Inputs.module.scss';\r\nimport { useMemo, useRef, useState } from 'react';\r\n\r\nexport type RangeValue = {\r\n low: number;\r\n high: number;\r\n};\r\n\r\ntype InputRangeProps = {\r\n label?: string;\r\n value: RangeValue;\r\n min: number;\r\n max: number;\r\n onChange?: (value: RangeValue) => void;\r\n onBlur?: (value: RangeValue) => void;\r\n error?: string | undefined;\r\n disabled?: boolean;\r\n className?: string | undefined;\r\n suffix?: string;\r\n}\r\n\r\nconst clampValue = (value: RangeValue, min: number, max: number): RangeValue => {\r\n value = { ...value };\r\n if (value.high < value.low) {\r\n const temp = value.high;\r\n value.high = value.low;\r\n value.low = temp;\r\n }\r\n value.high = Math.min(value.high, max);\r\n value.low = Math.max(value.low, min);\r\n return value;\r\n}\r\n\r\nexport const InputRange = ({ label, value, min, max, disabled = false, onChange, onBlur, error, className, suffix }: InputRangeProps) => {\r\n const slider = useRef(null);\r\n const [internalValue, setInternalValue] = useState(clampValue(value, min, max));\r\n\r\n const calculateNewValue = (x: number): [number, number] => {\r\n const boundingBox = slider.current?.getBoundingClientRect() ?? { left: 0, width: 1 };\r\n const leftOffset = x - boundingBox.left;\r\n const valuePercent = leftOffset / boundingBox.width;\r\n return [\r\n valuePercent * (max - min) + min,\r\n 16 * (max - min) / boundingBox.width\r\n ];\r\n }\r\n\r\n const handleBall = (moveCallback: (ev: MouseEvent) => void) => {\r\n document.body.classList.add('grabbedBall');\r\n document.addEventListener('mousemove', moveCallback);\r\n document.addEventListener('mouseup', () => {\r\n document.removeEventListener('mousemove', moveCallback);\r\n document.body.classList.remove('grabbedBall');\r\n setInternalValue(v => {\r\n onBlur?.(v);\r\n return v;\r\n });\r\n }, { once: true });\r\n };\r\n\r\n const handleLowBall = () => {\r\n const moveCallback = (ev: MouseEvent) => {\r\n const [newValue, ballValue] = calculateNewValue(ev.clientX);\r\n setInternalValue(v => {\r\n const newV = {\r\n ...v,\r\n low: Math.trunc(Math.min(Math.min(Math.max(newValue, min), max), v.high - ballValue))\r\n };\r\n onChange?.(newV);\r\n return newV;\r\n });\r\n };\r\n handleBall(moveCallback);\r\n };\r\n\r\n const handleHighBall = () => {\r\n const moveCallback = (ev: MouseEvent) => {\r\n const [newValue, ballValue] = calculateNewValue(ev.clientX);\r\n setInternalValue(v => {\r\n const newV = {\r\n ...v,\r\n high: Math.trunc(Math.max(Math.min(Math.max(newValue, min), max), v.low + ballValue))\r\n };\r\n onChange?.(newV);\r\n return newV;\r\n });\r\n };\r\n handleBall(moveCallback);\r\n }\r\n\r\n const left = useMemo(() => (100 * (internalValue.low - min) / (max - min)) + '%', [internalValue, max, min]);\r\n const width = useMemo(() => (100 * (internalValue.high - internalValue.low) / (max - min)) + '%', [internalValue, max, min]);\r\n const right = useMemo(() => (100 * (internalValue.high - min) / (max - min)) + '%', [internalValue, max, min]);\r\n\r\n const addSuffix = (value: number) => suffix ? `${value} ${suffix}` : value;\r\n\r\n return (
\r\n {label && }\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n {error && {error}}\r\n
);\r\n}","\n import API from \"!../../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[7].use[1]!../../../../../node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[7].use[2]!./DesktopFacets.module.scss\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[7].use[1]!../../../../../node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[7].use[2]!./DesktopFacets.module.scss\";\n export default content && content.locals ? content.locals : undefined;\n","import { useMemo, useState, useSyncExternalStore } from \"react\";\r\nimport { CheckboxFacet, FacetData, RangeFacet, urlSubscribe } from \"./SparePartsList\";\r\nimport { ButtonResult, ButtonType, popup, PopupSize } from \"../../utilities\";\r\nimport cn from 'classnames';\r\nimport { InputCheckbox, InputRange } from \"../Inputs\";\r\nimport * as styles from './DesktopFacets.module.scss';\r\n\r\nconst translationState = (window as any).app.preloadState.translation;\r\n\r\nexport const DesktopFacet = ({ facet, reload }: { facet: FacetData, reload: () => void }) => {\r\n const [open, setOpen] = useState(true);\r\n\r\n const showInfoPopup = (ev: React.MouseEvent) => {\r\n if (!facet.infoPopUp) return;\r\n ev.stopPropagation();\r\n popup(\r\n facet.infoPopUp.title,\r\n
,\r\n [\r\n { label: translationState[\"sparePartVariationButtonOptions.close\"], result: ButtonResult.Cancel, type: ButtonType.Primary }\r\n ],\r\n PopupSize.Small\r\n );\r\n }\r\n\r\n const ActualFacet = () => {\r\n switch (facet.type) {\r\n case 'checkbox':\r\n return \r\n case 'range':\r\n return \r\n }\r\n }\r\n return
\r\n

setOpen(!open)}>\r\n \r\n {facet.header}\r\n {(facet.infoPopUp != null) && }\r\n \r\n \r\n

\r\n
\r\n {open && ActualFacet()}\r\n
;\r\n}\r\n\r\nconst FacetCheckboxes = ({ facet, reload }: { facet: CheckboxFacet, reload: () => void }) => {\r\n\r\n const urlData = useSyncExternalStore(\r\n urlSubscribe,\r\n () => new URLSearchParams(location.search).get(facet.name)\r\n );\r\n\r\n const selectedValues = useMemo(() => {\r\n if (urlData == null) return new Set();\r\n return new Set(urlData.split(',').filter(s => !!s));\r\n }, [urlData]);\r\n\r\n const toggleFacet = (value: string) => {\r\n if (selectedValues.has(value)) {\r\n selectedValues.delete(value);\r\n } else {\r\n selectedValues.add(value);\r\n }\r\n const params = new URLSearchParams(location.search);\r\n if (selectedValues.size == 0) {\r\n params.delete(facet.name);\r\n } else {\r\n params.set(facet.name, Array.from(selectedValues).join(','));\r\n }\r\n window.history.replaceState(null, \"\", location.pathname + '?' + params.toString());\r\n reload();\r\n }\r\n\r\n return <>{\r\n facet.options.map(option => toggleFacet(option.value)} />)\r\n };\r\n}\r\n\r\nconst FacetRange = ({ facet, reload }: { facet: RangeFacet, reload: () => void }) => {\r\n\r\n const urlData = useSyncExternalStore(\r\n urlSubscribe,\r\n () => new URLSearchParams(location.search).get(facet.name)\r\n );\r\n\r\n const selectedValue = useMemo(() => {\r\n if (urlData == null) return { low: facet.min, high: facet.max };\r\n const [low, high] = urlData.split(',');\r\n const data = { low: parseInt(low, 10), high: parseInt(high, 10) };\r\n if (data.low > data.high) return { low: facet.min, high: facet.max };\r\n return data;\r\n }, [urlData, facet.min, facet.max]);\r\n\r\n const toggleFacet = (value: { low: number, high: number }) => {\r\n const params = new URLSearchParams(location.search);\r\n params.set(facet.name, value.low + ',' + value.high);\r\n window.history.replaceState(null, \"\", location.pathname + '?' + params.toString());\r\n reload();\r\n };\r\n\r\n return \r\n}\r\n","\n import API from \"!../../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[7].use[1]!../../../../../node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[7].use[2]!./MobileFacets.module.scss\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[7].use[1]!../../../../../node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[7].use[2]!./MobileFacets.module.scss\";\n export default content && content.locals ? content.locals : undefined;\n","import * as styles from './MobileFacets.module.scss';\r\nimport cn from 'classnames';\r\nimport { CheckboxFacet, FacetData, RangeFacet, urlSubscribe } from './SparePartsList';\r\nimport { Fragment, useEffect, useMemo, useState, useSyncExternalStore } from 'react';\r\nimport { InputCheckbox, InputRange } from '../Inputs';\r\nimport { RangeValue } from '../Inputs/InputRange';\r\n\r\nexport const MobileFacets = ({ facets, reload }: { facets: FacetData[], reload: () => void }) => {\r\n\r\n const [isFilterOpen, setIsFilterOpen] = useState(false);\r\n\r\n const [willClose, setWillClose] = useState(false);\r\n\r\n const [selectedFacet, setSelectedFacet] = useState(null);\r\n\r\n const urlData = useSyncExternalStore(\r\n urlSubscribe,\r\n () => {\r\n const obj: Record = {};\r\n new URLSearchParams(location.search).forEach((v, k) => obj[k] = v);\r\n return JSON.stringify(obj);\r\n }\r\n );\r\n\r\n const [values, setValues] = useState>(JSON.parse(urlData))\r\n\r\n useEffect(() => {\r\n const csIcon = document.getElementById('CustomerSupportIcon');\r\n if (!csIcon) return;\r\n if (selectedFacet) {\r\n csIcon.classList.add('d-none');\r\n } else {\r\n csIcon.classList.remove('d-none');\r\n }\r\n }, [selectedFacet]);\r\n\r\n useEffect(() => {\r\n if (!isFilterOpen) {\r\n setValues(JSON.parse(urlData));\r\n }\r\n }, [isFilterOpen, urlData])\r\n\r\n const clearFacet = () => {\r\n setWillClose(true);\r\n setTimeout(() => {\r\n setWillClose(false);\r\n setSelectedFacet(null);\r\n }, 500);\r\n }\r\n\r\n const resetFilters = () => {\r\n const params = new URLSearchParams(location.search);\r\n facets.forEach(facet => params.delete(facet.name));\r\n window.history.replaceState(null, \"\", location.pathname + '?' + params.toString());\r\n setValues({})\r\n reload();\r\n }\r\n\r\n const applyFilters = () => {\r\n const params = new URLSearchParams(location.search);\r\n Object.entries(values).forEach(([name, value]) => params.set(name, value));\r\n window.history.replaceState(null, \"\", location.pathname + '?' + params.toString());\r\n reload();\r\n setIsFilterOpen(false);\r\n }\r\n\r\n return <>\r\n \r\n
\r\n
\r\n
\r\n {facets.map(facet => setSelectedFacet(facet)} />)}\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n {
\r\n
\r\n \r\n
\r\n
}\r\n \r\n}\r\n\r\nconst Facet = ({ facet, selectFacet }: { facet: FacetData, selectFacet: () => void }) => {\r\n return
\r\n {facet.header}\r\n \r\n
;\r\n}\r\n\r\nconst FacetComponent = ({ facet, close, values, setValues }: { facet: FacetData | null, close: () => void, values: Record, setValues: (v: Record) => void }) => {\r\n const ActualFacet = ({ facet }: { facet: FacetData }) => {\r\n switch (facet.type) {\r\n case 'checkbox': {\r\n const value = new Set((values[facet.name] ?? \"\").split(',').filter(s => !!s));\r\n return {\r\n setValues({\r\n ...values,\r\n [facet.name]: Array.from(set).join(',')\r\n })\r\n }} />\r\n }\r\n case 'range': {\r\n const [low, high] = values[facet.name]?.split(',') ?? [\"\" + facet.min, \"\" + facet.max ];\r\n let value = { low: parseInt(low, 10), high: parseInt(high, 10) };\r\n if (value.low > value.high) {\r\n value = { low: facet.min, high: facet.max };\r\n }\r\n return {\r\n setValues({\r\n ...values,\r\n [facet.name]: range.low + ',' + range.high\r\n })\r\n }} />\r\n }\r\n }\r\n }\r\n return
ev.stopPropagation()}>\r\n {!!facet && <>\r\n
\r\n {facet.header}\r\n \r\n
\r\n
\r\n \r\n }\r\n
\r\n}\r\n\r\nconst FacetCheckboxes = ({ facet, facetValue, setFacetValue }: { facet: CheckboxFacet, facetValue: Set, setFacetValue: (set: Set) => void }) => {\r\n\r\n const selectedValues = useMemo(() => new Set(facetValue), [facetValue]);\r\n\r\n const toggleFacet = (value: string) => {\r\n if (selectedValues.has(value)) {\r\n selectedValues.delete(value);\r\n } else {\r\n selectedValues.add(value);\r\n }\r\n setFacetValue(selectedValues);\r\n }\r\n\r\n return
\r\n {facet.options.map((option, index) => \r\n {index > 0 &&
}\r\n toggleFacet(option.value)} />\r\n
)}\r\n
\r\n}\r\n\r\nconst FacetRange = ({ facet, facetValue, setFacetValue }: { facet: RangeFacet, facetValue: RangeValue, setFacetValue: (value: RangeValue) => void }) => {\r\n return
\r\n \r\n
\r\n}","import React, { ReactNode, useEffect, useMemo, useRef, useState } from \"react\"\r\nimport { ButtonResult, ButtonType, PopupSize, popup } from \"ui\";\r\nimport { Inventories } from \"../Inventories/Inventories\";\r\nimport * as styles from './SparePartsList.module.scss';\r\nimport { Item } from \"./Item\";\r\nimport { SearchResultItem } from \"../../types\";\r\nimport { Sorter } from \"./Sorter\";\r\nimport { DesktopFacet } from \"./DesktopFacets\";\r\nimport { MobileFacets } from \"./MobileFacets\";\r\n\r\nconst translationState = (window as any).app.preloadState.translation;\r\nconst showInventoryPopup = (item: SearchResultItem, ev: React.MouseEvent) => {\r\n ev.preventDefault();\r\n popup(\r\n translationState[\"inventoryPopup.stockStatusAtFacility\"],\r\n ,\r\n [\r\n { label: translationState[\"inventoryPopup.cancel\"], result: ButtonResult.Cancel, type: ButtonType.Primary }\r\n ],\r\n PopupSize.Large\r\n );\r\n}\r\n\r\nexport type FacetValue = {\r\n key: string;\r\n values: string[];\r\n}\r\n\r\ntype SparePartsListProps = {\r\n items: SearchResultItem[];\r\n total: number;\r\n facets: FacetData[];\r\n pageCallback: (page: number, facets: FacetValue[], sort: SparePartsSortField, sortAscending: boolean) => Promise;\r\n children?: ReactNode;\r\n}\r\n\r\nexport const SparePartsList = ({ items, facets, total, pageCallback, children }: SparePartsListProps) => {\r\n\r\n const [firstItems, setFirstItems] = useState([items, 0] as [SearchResultItem[], number]);\r\n\r\n const numberOfDivs = firstItems[0].length > 0 ? Math.ceil(total / firstItems[0].length) : 1;\r\n\r\n const mapping = Array.from(Array(numberOfDivs - 1).keys())\r\n\r\n const callback = async (page: number) => {\r\n const params = new URLSearchParams(location.search);\r\n\r\n const facetValues = facets\r\n .filter(facet => params.has(facet.name))\r\n .map(facet => ({\r\n key: facet.name,\r\n values: params.get(facet.name)!.split(',')\r\n }));\r\n\r\n const sortValue = params.get('sort') ?? SparePartsSortField.Best;\r\n const sortDirectionValue = params.get('sortDirection') ?? 'desc';\r\n\r\n let sort: SparePartsSortField;\r\n let sortAscending: boolean;\r\n\r\n switch (sortValue) {\r\n case SparePartsSortField.Best:\r\n case SparePartsSortField.Name:\r\n case SparePartsSortField.Created:\r\n case SparePartsSortField.Price:\r\n [sort, sortAscending] = [sortValue, sortDirectionValue === 'asc'] as [SparePartsSortField, boolean];\r\n break;\r\n default:\r\n [sort, sortAscending] = [SparePartsSortField.Best, sortDirectionValue === 'asc'] as [SparePartsSortField, boolean];\r\n break;\r\n }\r\n\r\n return await pageCallback(page, facetValues, sort, sortAscending);\r\n }\r\n\r\n const reloadData = () => {\r\n setTimeout(() => {\r\n urlChanged.forEach(c => c());\r\n callback(1).then(data => setFirstItems(p => [data, p[1] + 1]));\r\n }, 10);\r\n };\r\n\r\n return <>\r\n \r\n
\r\n
\r\n {facets.map(facet => ) }\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n {firstItems[0].map(item => )}\r\n
\r\n {mapping.map((x) => {\r\n return \r\n })}\r\n
\r\n
\r\n \r\n}\r\n\r\nconst SparePartsObserver = ({ page, pageCallback }: { page: number, pageCallback: (page: number, ) => Promise }) => {\r\n const [items, setItems] = useState([]);\r\n const loaded = useRef(false);\r\n\r\n const observer = useMemo(() => {\r\n const classOptions = {\r\n root: document.rootElement,\r\n rootMargin: \"200px 0px\",\r\n threshold: 0,\r\n };\r\n\r\n const callback = async (entries: IntersectionObserverEntry[]) => {\r\n if (entries[0].isIntersecting && !loaded.current) {\r\n const data = await pageCallback(page);\r\n setItems(data);\r\n loaded.current = true;\r\n }\r\n }\r\n\r\n return new IntersectionObserver(callback, classOptions);\r\n }, []);\r\n\r\n useEffect(() => {\r\n let target = document.querySelector(`#list_${page}`);\r\n observer.observe(target!);\r\n }, [])\r\n\r\n return <>\r\n {items.length ?\r\n
\r\n {items.map(item => )}\r\n
\r\n :\r\n
\r\n\r\n
\r\n }\r\n \r\n}\r\n\r\ntype InfoPopUp = {\r\n title: string;\r\n description: string;\r\n};\r\n\r\nexport type BaseFacet = {\r\n name: string;\r\n header: string;\r\n infoPopUp: InfoPopUp | null;\r\n};\r\n\r\nexport type CheckboxFacet = BaseFacet & {\r\n type: 'checkbox';\r\n options: { label: string; value: string, disabled: boolean }[];\r\n};\r\n\r\nexport type RangeFacet = BaseFacet & {\r\n type: 'range';\r\n min: number;\r\n max: number;\r\n};\r\n\r\nexport type FacetData = CheckboxFacet | RangeFacet;\r\n\r\nlet urlChanged: (() => void)[] = [];\r\n\r\nexport const urlSubscribe = (callback: () => void) => {\r\n urlChanged.push(callback);\r\n return () => {\r\n urlChanged = urlChanged.filter(c => c != callback);\r\n }\r\n}\r\n\r\nexport enum SparePartsSortField {\r\n Best = 'Best',\r\n Name = 'Name',\r\n Created = 'Created',\r\n Price = 'Price'\r\n}\r\n","import React from \"react\";\r\nimport ReactDOMClient from 'react-dom/client';\r\nimport singleSpaReact from \"single-spa-react\";\r\nimport rootComponent from \"./app\";\r\n\r\nexport const { bootstrap, mount, unmount } = singleSpaReact({\r\n React,\r\n ReactDOMClient,\r\n rootComponent,\r\n renderType: \"createRoot\",\r\n errorBoundary(err, info, props) {\r\n return
An unhandled frontend error occurred
;\r\n },\r\n});\r\n","import React from \"react\";\r\nimport { FacetValue, sendMatomoEvent, SparePartsList, SparePartsSortField } from \"ui\";\r\n\r\nfunction App() {\r\n const state = (window as any).app.preloadState[\"sparePartVariationList\"];\r\n const facets = (window as any).app.preloadState[\"sparePartVariationFacets\"];\r\n const total = (window as any).app.preloadState[\"sparePartVariationTotal\"];\r\n const code = (window as any).app.preloadState[\"sparePartVariationCode\"];\r\n\r\n const callback = async (page: number, facets: FacetValue[], sort: SparePartsSortField, sortAscending: boolean) => {\r\n facets.forEach(facet => sendMatomoEvent('PLP Facet', facet.key, facet.values.join()));\r\n const facetString = facets.length > 0\r\n ? facets.flatMap(facet => `&${facet.key}=${facet.values.join(',')}`).join('')\r\n : \"\";\r\n const response = await fetch(`/api/spareparts/${code}?pageNumber=${page}${facetString}&sort=${sort}&sortDirection=${sortAscending ? 'asc' : 'desc'}`, {\r\n method: \"GET\",\r\n headers: {\r\n \"Swecon-Current-Language\": (window as any).app.preloadState.currentLanguage\r\n }\r\n });\r\n return response.json();\r\n }\r\n\r\n return \r\n}\r\n\r\nexport default App;\r\n"],"names":["___CSS_LOADER_EXPORT___","push","module","id","adaptive","over","under","xs","sm","md","lg","xl","sliderInput","sliderGray","sliderBlack","ball","lowInput","highInput","disabled","buyButton","buttonLabelLoadingState","buttonLabelAddedState","buttonLabelAddedStateIcon","buttonLabelAddedStateLbl","buttonStyledAnchor","numberInput","input","note","inputChevrons","chevronDown","chevronUp","error","newDesign","pdpDesign","chevron","popupIcon","wrapper","group","labels","label","mobileImage","qualityClass","title","articleNumber","additionalInfo","infoBlock","deleteButton","originalPrice","discount","discountedPrice","strike","prices","truck","redTruck","check","close","inventoryIndicator","quantity","md_inline","smallFont","smallMarginTop","secondary","boldText","usedLabel","nmd","buttonClass","availabilityIndicators","filterContainer","isOpen","filterFacets","facet","chevrons","endButtons","filterButton","filterDrawerBlur","open","container","facetHeader","checkboxContainer","rangeContainer","sorterContainer","sortByButton","sorterRadioContainer","sorting","sparePartItems","itemsPlaceholder","sparePartItemsModule","sparePartsFacets","sparePartsFacetsMobile","sparePartsList","taxInfoSpan","infoIcon","anchorLikeStyling","exports","cssWithMappingToString","list","toString","this","map","item","content","needLayer","concat","length","join","i","modules","media","dedupe","supports","layer","undefined","alreadyImportedModules","k","_k","m","createRoot","hydrateRoot","f","Symbol","for","l","Object","prototype","hasOwnProperty","n","__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED","ReactCurrentOwner","p","key","ref","__self","__source","q","c","a","g","b","d","e","h","call","defaultProps","$$typeof","type","props","_owner","current","Fragment","jsx","jsxs","stylesInDOM","getIndexByIdentifier","identifier","result","modulesToDom","options","idCountMap","identifiers","base","count","indexByIdentifier","obj","css","sourceMap","references","updater","addElementStyle","byIndex","splice","api","domAPI","update","newObj","remove","lastIdentifiers","newList","index","newLastIdentifiers","_i","_index","memo","insert","style","target","styleTarget","document","querySelector","window","HTMLIFrameElement","contentDocument","head","getTarget","Error","appendChild","element","createElement","setAttributes","attributes","styleElement","nonce","setAttribute","insertStyleElement","btoa","unescape","encodeURIComponent","JSON","stringify","styleTagTransform","apply","parentNode","removeChild","removeStyleElement","styleSheet","cssText","firstChild","createTextNode","resolveDirectory","rootDirLevel","meta","url","console","urlString","rootDirectoryLevel","href","pathname","numDirsProcessed","finalPath","slice","protocol","host","Number","isInteger","__WEBPACK_EXTERNAL_MODULE__726__","__WEBPACK_EXTERNAL_MODULE__867__","hasOwn","classNames","classes","arguments","arg","appendClass","parseValue","Array","isArray","includes","value","newClass","default","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","__webpack_modules__","y","__system_context__","getter","__esModule","definition","o","defineProperty","enumerable","get","prop","r","toStringTag","nc","autoPublicPath","t","keys","getOwnPropertySymbols","filter","getOwnPropertyDescriptor","forEach","getOwnPropertyDescriptors","defineProperties","iterator","constructor","configurable","writable","domElement","domElementGetter","appName","name","getElementById","body","HTMLElement","require","createContext","u","React","ReactDOM","ReactDOMClient","rootComponent","loadRootComponent","errorBoundary","errorBoundaryClass","parcelCanUpdate","suppressComponentDidCatchWarning","domElements","renderResults","updateResolves","unmountResolves","s","Promise","resolve","then","version","indexOf","componentDidCatch","warn","childAppName","renderType","elementToRender","reactDom","render","unmount","unmountComponentAtNode","Provider","Component","state","caughtError","caughtErrorInfo","displayName","create","children","setState","SingleSpaRoot","mountFinished","updateFinished","unmountFinished","_window","sendMatomoEvent","category","action","_window__paq","data","_paq","ButtonResult","ButtonType","PopupSize","popup","buttons","size","popUpClass","footer","popupButtonPrechecks","Map","popupCallback","reverse","popupState","footerContent","footerReverse","_","_popupStateCallback","popupStateCallback","newState","popupButtonCallback","enabled","_object_spread_props","_object_spread","Inventories","param","itemCode","itemDisplayName","translations","app","preloadState","translation","_usePromise","deps","_useState","useState","setData","useEffect","v","isLoading","usePromise","_async_to_generator","response","fetch","headers","currentLanguage","_state","sent","ok","json","sort","_a_displayName","_b_displayName","localeCompare","selectBranch","code","method","text","location","reload","_jsxs","className","_jsx","inv","hasEnoughStock","hideQuantity","isSelected","onClick","locals","updateCart","_window_cart","cart","updateCartItem","updateRemanItemBySparePartCode","updateItem","addRemanAndDepositItemsToCart","getAvailabilityDisplay","remanCode","depositCode","updateRemanAndDeposit","isSuccess","sparePartCode","bundleCode","kitCode","serialNumber","items","Loader","_param_size","_param_inline","inline","cn","xmlns","width","height","viewBox","preserveAspectRatio","cx","cy","fill","stroke","strokeWidth","strokeDasharray","attributeName","repeatCount","dur","values","keyTimes","Adaptive","breakpoint","_param_breakpoint","styles","ButtonState","cancelDefault","preventDefault","stopPropagation","clamp","min","max","Math","loginLink","tr","fromEntries","entries","pair","startsWith","split","showNotAuthorizedPopup","ev","cannotBuy","insufficientRightsToBuy","contactMySweconAdministrator","Cancel","Primary","Small","Mode","Design","QuantitySelector","shouldShowModeButton","mode","ModeButton","InternalQuantitySelector","requestQuotationByEmail","contactSupportLink","login","moreInformation","requestForQuotation","notAvailable","contactSupport","step","initialValue","onChange","onRemove","_param_onAddReman","onAddReman","forceMinValue","_param_className","_param_showRemanufacturePopUp","showRemanufacturePopUp","_param_buttonClassName","buttonClassName","hasRemanInCart","_param_hasRemanAvailable","hasRemanAvailable","_param_design","design","maxTruncated","useMemo","trunc","_sliced_to_array","textValue","setTextValue","_useState1","lastValidValue","setLastValidValue","_useState2","shouldShowButton","setShowButton","_useState3","infoMessage","setInfoMessage","_useState4","buttonState","setButtonState","debouncedOnChange","func","valueToSend","debounced","args","_len","_key","clearTimeout","timeout","setTimeout","stop","checkForErrors","updateValue","str","isNaN","parseFloat","num","updateButton","add","addSparePartToCart","addRemanItemToCart","addUsedItemToCart","popupData","selectedReman","remanQuantity","sparePartQuantity","increment","_tr_maxNumberOfItems","intendedValue","possibleValue","maxNumberOfItems","decrement","newValue","onEnter","currentTarget","blur","numberValue","invalidValue","productRemoved","valueTooLow","valueTooHigh","cannotDivideUnit","errorMessage","checkButton","MainButton","buttonLabelAdded","buttonLabelRemanAdded","buttonLabelReman","itemRemoved","buttonLabelRemanBase","buttonLabelAddToCart","buttonLabelAddToCartMobile","buttonLabel","NumberInput","onKeyUp","onBlur","onInput","countInCart","designStyle","RemanufacturedChoice","changeResult","sparePartIds","quantityOverride","choices","setChoices","chosenResult","setChosenResult","totalSum","setTotalSum","itemDetailsResponse","_choices_id","_choices_id1","_quantityOverride_id","_ref","_quantityOverride_id1","_ref1","sparePartDetails","remanPartDetails","_Fragment","sparePartId","sparePartItem","remanItem","depositItem","depositDetails","chosenData","_define_property","checked","RemanufacturedItem","updateItemQuantity","isDisabled","showAvailability","_item_availability","_param_updateItemQuantity","_param_isDisabled","_param_showAvailability","price","setPrice","description","unit","_ev_target_valueAsNumber","valueAsNumber","availability","dangerouslySetInnerHTML","__html","isInBranch","branch","taxInfoForAnonymousUsers","isLoggedIn","TaxInfoNote","iconOnly","_param_iconOnly","showDeliveryInfoPopUp","taxInfoStringStaticPart","Item","_item_inventory_warehouse","_item_inventory","_item_inventory_branch","_item_inventory1","_item_inventory2","_item_inventory3","_item_inventory4","_item_inventory5","_item_labels","_item_unitPriceWithTax","_item_labels1","_item_inventory_maximumQuantity","_item_inventory_minimumQuantity","_item_inventory_packageQuantity","_item_inventory_quantityStep","_item_unitPriceWithTax1","_item_unitPriceWithTax2","_item_discountedPrice","_item_unitPriceWithTax3","_item_unitPriceWithTax_length","_obj","showInventoryPopup","inventory","warehouse","availabilityDisplay","setAvailabilityDisplay","hasEnoughInStock","setHasEnoughInStock","maximumQuantity","minimumQuantity","packageQuantity","quantityStep","override","popupResult","results","No","Link","visible","Outlined","Ok","ExtraLarge","stockAvailability","src","imageUrl","alt","sparePartItemNumber","itemUnitId","DeliveryData","QualityClassData","quality","AddToCart","percentageDiscount","unitPriceWithTax","unitPrice","discountPercentageDisplay","MobileDeliveryData","mobile","hasRemanItem","_item_inventory_branch1","_item_inventory_warehouse_isAvailable","_obj1","isInInventory","isAvailable","branchName","_param_mobile","showQualityPopup","useCallback","InputCheckbox","_param_checked","htmlFor","InputRadio","useId","replace","loggedIn","usedPartsEnabled","translationState","Sorter","setOpen","urlData","useSyncExternalStore","urlSubscribe","_params_get","_params_get1","params","URLSearchParams","search","SparePartsSortField","Best","_urlData_split","sortDirection","Name","Created","Price","addEventListener","filterRadioContainer","filterRadioButton","contains","getLabelFor","field","ascending","radioHelper","set","history","replaceState","toggleSorting","InputRange","_param_disabled","suffix","slider","useRef","high","low","temp","clampValue","internalValue","setInternalValue","calculateNewValue","x","_slider_current","_slider_current_getBoundingClientRect","boundingBox","getBoundingClientRect","left","handleBall","moveCallback","classList","removeEventListener","once","right","addSuffix","onMouseDown","_calculateNewValue","clientX","ballValue","newV","readOnly","DesktopFacet","header","infoPopUp","FacetCheckboxes","FacetRange","ActualFacet","selectedValues","Set","option","has","from","toggleFacet","selectedValue","parseInt","MobileFacets","facets","isFilterOpen","setIsFilterOpen","willClose","setWillClose","selectedFacet","setSelectedFacet","parse","setValues","csIcon","clearFacet","Facet","selectFacet","_param","FacetComponent","_values_facet_name","facetValue","setFacetValue","_values_facet_name1","_values_facet_name_split","value1","range","Large","SparePartsList","total","pageCallback","firstItems","setFirstItems","numberOfDivs","ceil","mapping","callback","page","facetValues","sortValue","sortDirectionValue","sortAscending","ref1","reloadData","urlChanged","SparePartsObserver","setItems","loaded","observer","classOptions","root","rootElement","rootMargin","threshold","isIntersecting","IntersectionObserver","observe","_singleSpaReact","componentDidMount","componentWillUnmount","bootstrap","bind","mount","singleSpaReact","facetString","flatMap","err","info"],"sourceRoot":""}