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B,UAER,G,uCCAf,SAASC,EAASC,IACdC,EAAAA,EAAAA,qBAAoBD,GAAM,kBAAME,OAAM,OAAQ,WAAaF,EAAK,IAAE,mBAAQhC,SAASmC,cAAc,6BAA+BH,EAAK,GACzI,CAEAD,EAAS,qBACTA,EAAS,4BACTA,EAAS,mBACTA,EAAS,kBACTA,EAAS,iBACTA,EAAS,YACTA,EAAS,6BACTA,EAAS,sBACTA,EAAS,qBACTA,EAAS,UACTA,EAAS,aACTA,EAAS,sBACTA,EAAS,mBACTA,EAAS,iBACTA,EAAS,gCACTA,EAAS,2BACTA,EAAS,oBACTA,EAAS,+BACTA,EAAS,sBACTA,EAAS,2BACTA,EAAS,iBACTA,EAAS,sBACTA,EAAS,eACTA,EAAS,mCACTA,EAAS,0CACTA,EAAS,wBACTA,EAAS,gBACTA,EAAS,4CACTA,EAAS,kBACTA,EAAS,wBACTA,EAAS,6BACTA,EAAS,0BACTA,EAAS,oCACTA,EAAS,oBACTA,EAAS,2BACTA,EAAS,qBACTA,EAAS,oBACTA,EAAS,yBACTA,EAAS,sBACTA,EAAS,gCACTA,EAAS,iBACTA,EAAS,kBAGTK,EAAAA,EAAAA,Q","sources":["webpack://root-config/../../node_modules/systemjs-webpack-interop/auto-public-path/auto-public-path.js","webpack://root-config/../../node_modules/systemjs-webpack-interop/public-path.js","webpack://root-config/external system \"single-spa\"","webpack://root-config/webpack/bootstrap","webpack://root-config/webpack/runtime/__system_context__","webpack://root-config/webpack/runtime/make namespace object","webpack://root-config/webpack/runtime/publicPath","webpack://root-config/../../node_modules/systemjs-webpack-interop/auto-public-path/1.js","webpack://root-config/./src/swecon-root-config.js"],"sourcesContent":["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__496__;","// 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\t// no module.id needed\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__;","// 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 = \"\";","const autoPublicPath = require(\"./auto-public-path\").autoPublicPath;\n\nautoPublicPath(1);\n","import { registerApplication, start } from \"single-spa\";\r\n\r\nfunction register(name) {\r\n    registerApplication(name, () => System.import(\"@swecon/\" + name), () => !!document.querySelector(\"#single-spa-application\\\\:\" + name));\r\n}\r\n\r\nregister(\"header-search-box\");\r\nregister(\"header-search-box-mobile\");\r\nregister(\"customer-picker\");\r\nregister(\"select-machine\");\r\nregister(\"exploded-view\");\r\nregister(\"checkout\");\r\nregister(\"spare-part-variation-list\");\r\nregister(\"search-result-list\");\r\nregister(\"quantity-selector\");\r\nregister(\"pop-up\");\r\nregister(\"mini-cart\");\r\nregister(\"order-confirmation\");\r\nregister(\"inventory-label\");\r\nregister(\"pdp-accordion\");\r\nregister(\"navigation-standard-exploded\");\r\nregister(\"recommended-spare-parts\");\r\nregister(\"sorting-dropdown\");\r\nregister(\"exploded-view-machines-list\");\r\nregister(\"service-kit-bundle\");\r\nregister(\"machine-selector-button\");\r\nregister(\"faq-accordion\");\r\nregister(\"exploded-view-page\");\r\nregister(\"quick-order\");\r\nregister(\"machine-sales-header-search-box\");\r\nregister(\"machine-sales-header-search-box-mobile\");\r\nregister(\"machine-pdp-carousel\");\r\nregister(\"scroll-group\");\r\nregister(\"machines-sales-pdp-technical-information\");\r\nregister(\"finance-button\");\r\nregister(\"recommended-machines\");\r\nregister(\"machine-quantity-selector\");\r\nregister(\"machine-sales-checkout\");\r\nregister(\"machine-sales-order-confirmation\");\r\nregister(\"pdp-availability\");\r\nregister(\"machines-search-results\");\r\nregister(\"machines-list-plp\");\r\nregister(\"pdp-image-slider\");\r\nregister(\"contact-seller-button\");\r\nregister(\"anonymous-checkout\");\r\nregister(\"anonymous-order-confirmation\");\r\nregister(\"tax-info-note\");\r\nregister(\"pdp-copy-link\");\r\n// NEW PROJECT HERE DO NOT REMOVE\r\n\r\nstart();\r\n"],"names":["resolveDirectory","exports","rootDirLevel","meta","url","console","error","Error","urlString","rootDirectoryLevel","a","document","createElement","href","pathname","numDirsProcessed","index","length","finalPath","slice","protocol","host","Number","isInteger","module","__WEBPACK_EXTERNAL_MODULE__496__","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","__webpack_modules__","y","__system_context__","r","Symbol","toStringTag","Object","defineProperty","value","p","autoPublicPath","register","name","registerApplication","System","querySelector","start"],"sourceRoot":""}