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QAASgB,EACTtB,UAAW+B,IAAWC,EAAAA,aAErBlD,EAAa,6BAE9B,EDvCEtG,WAAY,aACZjB,cAAA,SAAc4E,EAAK+F,EAAMhU,GACrB,OAAO+R,EAAAA,EAAAA,KAAC,gBAAI,wCAChB,IAPaU,GAA8BJ,GAA9BI,UAAWC,GAAmBL,GAAnBK,MAAO/H,GAAY0H,GAAZ1H","sources":["webpack://inventory-label/./src/app.module.scss","webpack://inventory-label/../../node_modules/css-loader/dist/runtime/api.js","webpack://inventory-label/../../node_modules/css-loader/dist/runtime/noSourceMaps.js","webpack://inventory-label/../../node_modules/react-dom/client.js","webpack://inventory-label/../../node_modules/react/cjs/react-jsx-runtime.production.min.js","webpack://inventory-label/../../node_modules/react/jsx-runtime.js","webpack://inventory-label/../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js","webpack://inventory-label/../../node_modules/style-loader/dist/runtime/insertBySelector.js","webpack://inventory-label/../../node_modules/style-loader/dist/runtime/insertStyleElement.js","webpack://inventory-label/../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js","webpack://inventory-label/../../node_modules/style-loader/dist/runtime/styleDomAPI.js","webpack://inventory-label/../../node_modules/style-loader/dist/runtime/styleTagTransform.js","webpack://inventory-label/../../node_modules/systemjs-webpack-interop/auto-public-path/auto-public-path.js","webpack://inventory-label/../../node_modules/systemjs-webpack-interop/public-path.js","webpack://inventory-label/external system \"react\"","webpack://inventory-label/external system \"react-dom\"","webpack://inventory-label/../../node_modules/classnames/index.js","webpack://inventory-label/webpack/bootstrap","webpack://inventory-label/webpack/runtime/__system_context__","webpack://inventory-label/webpack/runtime/compat get default export","webpack://inventory-label/webpack/runtime/define property getters","webpack://inventory-label/webpack/runtime/hasOwnProperty shorthand","webpack://inventory-label/webpack/runtime/make namespace object","webpack://inventory-label/webpack/runtime/publicPath","webpack://inventory-label/webpack/runtime/nonce","webpack://inventory-label/../../node_modules/systemjs-webpack-interop/auto-public-path/1.js","webpack://inventory-label/../../node_modules/single-spa-react/lib/esm/single-spa-react.js","webpack://inventory-label/./src/app.module.scss?b08e","webpack://inventory-label/../../packages/ui/src/utilities/cart.ts","webpack://inventory-label/../../packages/ui/src/utilities/observable.ts","webpack://inventory-label/../../packages/ui/src/hooks/useCartItemUpdate.ts","webpack://inventory-label/../../packages/ui/src/utilities/popup.ts","webpack://inventory-label/../../packages/ui/src/components/Inventories/Inventories.tsx","webpack://inventory-label/../../packages/ui/src/hooks/usePromise.ts","webpack://inventory-label/./src/swecon-inventory-label.tsx","webpack://inventory-label/./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, `.oygeeQWL8Ct2K7Oj1XhA{text-decoration:underline;cursor:pointer}.HprYyB7D804I9ExGD_Z6,.HoY_N7yp18KfEz7ILkIf{position:relative;padding-left:20px;color:#50a40e}.HprYyB7D804I9ExGD_Z6::before,.HoY_N7yp18KfEz7ILkIf::before{display:inline-block;background-repeat:no-repeat;content:\"\";background-image:url(\"../assets/icons/Check-green.svg\")}.HprYyB7D804I9ExGD_Z6::before,.HoY_N7yp18KfEz7ILkIf::before{position:absolute;top:50%;left:0;transform:translateY(-50%);width:16px;height:16px;background-size:contain}.HoY_N7yp18KfEz7ILkIf{color:#c0453a}.HoY_N7yp18KfEz7ILkIf::before{display:inline-block;background-repeat:no-repeat;content:\"\";background-image:url(\"../assets/icons/Close-fire.svg\")}`, \"\"]);\n// Exports\nexport var inventoryIndicator = `oygeeQWL8Ct2K7Oj1XhA`;\nexport var check = `HprYyB7D804I9ExGD_Z6`;\nexport var close = `HoY_N7yp18KfEz7ILkIf`;\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","\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]!./app.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]!./app.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}","type Callback = (v: T) => void;\r\n\r\nexport const Observable = (updater: () => Promise | T) => {\r\n let value: T | undefined = undefined;\r\n\r\n let subscribers: Callback[] = [];\r\n\r\n const notify = (v: T) => {\r\n value = v;\r\n subscribers.forEach(callback => callback(v));\r\n }\r\n\r\n (async () => {\r\n try {\r\n notify(await updater());\r\n }\r\n catch (err) {\r\n console.error(err);\r\n }\r\n })();\r\n\r\n return {\r\n subscribe: (callback: Callback) => {\r\n subscribers.push(callback);\r\n if (value) callback(value);\r\n },\r\n unsubscribe: (callback: Callback) => {\r\n subscribers = subscribers.filter(c => c !== callback);\r\n },\r\n update: async () => {\r\n try {\r\n notify(await updater());\r\n }\r\n catch (err) {\r\n console.error(err);\r\n }\r\n }\r\n }\r\n}\r\n\r\nexport type Observable = ReturnType>;","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}","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}","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 * as styles from \"./app.module.scss\";\r\nimport classnames from \"classnames\";\r\nimport { useState } from \"react\";\r\nimport { popup, ButtonResult, ButtonType, PopupSize, useCartChange, getAvailabilityDisplay } from \"ui\";\r\nimport { Inventories } from \"ui/src/components/Inventories/Inventories\";\r\n\r\n\r\nfunction App() {\r\n const translations = (window as any).app.preloadState.translation;\r\n const part = (window as any).app.preloadState.inventoryLabel;\r\n\r\n const [hasStockAvailability, setHasStockAvailability] = useState(part.isAvailableInBranch);\r\n\r\n useCartChange(() => {\r\n (async () => {\r\n const stockAvailability = await getAvailabilityDisplay(part.code);\r\n setHasStockAvailability(stockAvailability.hasEnoughInStock);\r\n })();\r\n })\r\n\r\n const showInventoryPopup = () => {\r\n popup(\r\n translations[\"inventoryPopup.stockStatusAtFacility\"],\r\n ,\r\n [\r\n { label: translations[\"inventoryPopup.cancel\"], result: ButtonResult.Cancel, type: ButtonType.Primary }\r\n ],\r\n PopupSize.Large\r\n );\r\n }\r\n\r\n return part.branchDisplayName ?\r\n \r\n {part.branchDisplayName}\r\n \r\n :\r\n \r\n {translations[\"inventories.selectBranch\"]}\r\n \r\n}\r\n\r\n\r\n\r\n\r\nexport default App;\r\n"],"names":["___CSS_LOADER_EXPORT___","push","module","id","inventoryIndicator","check","close","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","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","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","error","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","l","unmount","unmountComponentAtNode","Provider","Component","state","caughtError","caughtErrorInfo","displayName","create","children","setState","SingleSpaRoot","mountFinished","updateFinished","unmountFinished","locals","ensureCart","subscribers","notify","cart","_async_to_generator","response","_","data","fetch","method","headers","app","preloadState","currentLanguage","_state","sent","ok","bind","text","json","isMatomoEnabled","Matomo","tracker","getAsyncTrackers","clearEcommerceCart","lineItems","_item_displayName","addEcommerceItem","code","categories","unitPriceAmount","quantity","trackEcommerceCartUpdate","summary","totalAmount","sendCartToMatomo","v","callback","err","subscribe","unsubscribe","updateCart","_window_cart","updateRemanItemBySparePartCode","updateItem","remanCode","depositCode","updateRemanAndDeposit","_window","getAvailabilityDisplay","isSuccess","sparePartCode","bundleCode","kitCode","serialNumber","items","ButtonResult","ButtonType","PopupSize","popupState","open","title","buttons","size","popUpClass","footerContent","footerReverse","_popupStateCallback","popupStateCallback","newState","popupCallback","footer","reverse","popupButtonCallback","enabled","_object_spread_props","_object_spread","Inventories","param","itemCode","itemDisplayName","translations","translation","_usePromise","deps","_useState","useState","setData","useEffect","isLoading","usePromise","sort","_a_displayName","_b_displayName","localeCompare","selectBranch","location","reload","_jsxs","className","_jsx","inv","hasEnoughStock","hideQuantity","isSelected","onClick","_singleSpaReact","componentDidMount","setTimeout","componentWillUnmount","bootstrap","mount","singleSpaReact","part","inventoryLabel","isAvailableInBranch","hasStockAvailability","setHasStockAvailability","stockAvailability","hasEnoughInStock","_obj","showInventoryPopup","popupButtonPrechecks","Map","popup","label","Cancel","Primary","Large","branchDisplayName","classnames","styles","_define_property","info"],"sourceRoot":""}