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K,EAAgBpK,EAAW,IAAI,CACrE,IAAIqF,KAAYqF,EACZtF,EAAoBoB,EAAEkE,EAAarF,KACrCD,EAAoB7D,EAAE8D,GAAYqF,EAAYrF,IAGhD,GAAGsF,EAAS,IAAItV,EAASsV,EAAQvF,EAClC,CAEA,IADGqF,GAA4BA,EAA2BnU,GACrDhB,EAAIoQ,EAAStQ,OAAQE,IACzBuR,EAAUnB,EAASpQ,GAChB8P,EAAoBoB,EAAE4D,EAAiBvD,IAAYuD,EAAgBvD,IACrEuD,EAAgBvD,GAAS,KAE1BuD,EAAgBvD,GAAW,EAE5B,OAAOzB,EAAoBK,EAAEpQ,EAC9B,EAEIwV,EAAqBC,KAAoC,8BAAIA,KAAoC,+BAAK,GAC1GD,EAAmBpC,QAAQ+B,EAAqB9B,KAAK,KAAM,IAC3DmC,EAAmBlG,KAAO6F,EAAqB9B,KAAK,KAAMmC,EAAmBlG,KAAK+D,KAAKmC,G,ICpFvF,IAAIE,EAAsB3F,EAAoBK,OAAEzI,EAAW,CAAC,OAAO,WAAa,OAAOoI,EAAoB,KAAO,IAClH2F,EAAsB3F,EAAoBK,EAAEsF,E","sources":["webpack://normanaustraliaui/webpack/runtime/chunk loaded","webpack://normanaustraliaui/webpack/runtime/load script","webpack://normanaustraliaui/./src/app.vue","webpack://normanaustraliaui/./src/router/index.js","webpack://normanaustraliaui/./src/utils/auto-update.js","webpack://normanaustraliaui/./src/main.js","webpack://normanaustraliaui/./src/utils/extendUtilsToVue.js","webpack://normanaustraliaui/./src/utils/AxiosToken.js","webpack://normanaustraliaui/./src/utils/util.js","webpack://normanaustraliaui/external var \"bootstrap\"","webpack://normanaustraliaui/external var \"html2pdf\"","webpack://normanaustraliaui/webpack/bootstrap","webpack://normanaustraliaui/webpack/runtime/compat get default export","webpack://normanaustraliaui/webpack/runtime/define property getters","webpack://normanaustraliaui/webpack/runtime/ensure chunk","webpack://normanaustraliaui/webpack/runtime/get javascript chunk filename","webpack://normanaustraliaui/webpack/runtime/get mini-css chunk filename","webpack://normanaustraliaui/webpack/runtime/global","webpack://normanaustraliaui/webpack/runtime/hasOwnProperty shorthand","webpack://normanaustraliaui/webpack/runtime/make namespace object","webpack://normanaustraliaui/webpack/runtime/publicPath","webpack://normanaustraliaui/webpack/runtime/css loading","webpack://normanaustraliaui/webpack/runtime/jsonp chunk loading","webpack://normanaustraliaui/webpack/startup"],"sourcesContent":["var deferred = [];\n__webpack_require__.O = function(result, chunkIds, fn, priority) {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar chunkIds = deferred[i][0];\n\t\tvar fn = deferred[i][1];\n\t\tvar priority = deferred[i][2];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every(function(key) { return __webpack_require__.O[key](chunkIds[j]); })) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","var inProgress = {};\nvar dataWebpackPrefix = \"normanaustraliaui:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = function(url, done, key, chunkId) {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = function(prev, event) {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach(function(fn) { return fn(event); });\n\t\tif(prev) return prev(event);\n\t}\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","import script from \"./app.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./app.vue?vue&type=script&setup=true&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\r\nimport { createRouter, createWebHashHistory,createWebHistory } from \"vue-router\"\r\nimport { startLoading, loadComplete, Err401 } from '@/utils/util'\r\nimport { checkToken, Session } from '@/utils/AxiosToken'\r\n\r\n/** 常驻路由 */\r\nexport const constantRoutes = [{\r\n path: \"/\",\r\n name: \"home\",\r\n component: () => import(\"@/views/index/index.vue\"),\r\n}, {\r\n path: '/mainpage',\r\n component: () => import(\"@/views/mainpage/index.vue\"),\r\n},\r\n{\r\n path: '/pendingorders/:ishistory?',\r\n name: 'pendingorders',\r\n component: () => import(\"@/views/pendingorders/index.vue\"),\r\n},\r\n{\r\n path: '/trackorders/:ishistory?/:dt?',\r\n name: 'trackorders',\r\n component: () => import(\"@/views/pendingorders/trackMyOrder.vue\"),\r\n},\r\n{\r\n path: '/selectproduct',\r\n name: 'selectproduct',\r\n component: () => import(\"@/views/pendingorders/selectProduct.vue\"),\r\n},\r\n{\r\n path: '/checkout/:orderno/:payterm/:orderno1?',\r\n name: \"checkout\",\r\n component: () => import(\"@/views/pendingorders/Checkoutpost.vue\"),\r\n},\r\n{\r\n path: '/orderinfo/:orderid/:orderno?',\r\n name: \"orderinfo\",\r\n component: () => import(\"@/views/orderinfo/index.vue\"),\r\n // beforeEnter: (to, from, next) => {\r\n \r\n // if (to.meta.refreshOrders) {\r\n \r\n // getModel().then((data) => {\r\n \r\n // to.meta.orders = data;\r\n // next();\r\n // }).catch((error) => {\r\n \r\n // console.error(error);\r\n // next();\r\n // });\r\n // } else {\r\n // next();\r\n // }\r\n // }\r\n},\r\n{\r\n path: '/addneworder/:producttype/:lastactioncode/:orderid?',\r\n\r\n name: \"addneworder\",\r\n component: () => import(\"@/views/orderinfo/addOrderHdr.vue\"),\r\n},\r\n{\r\n path: '/editorder/:producttype/:lastactioncode/:orderid',\r\n name: \"editorderhdr\",\r\n component: () => import(\"@/views/orderinfo/editOrderHdr.vue\"),\r\n},\r\n{\r\n path: '/shutters/:producttype/:lastactioncode/:orderid?/:line_no?/:orderno?',\r\n name: 'shutters',\r\n meta: { orderpage: true },\r\n component: () => import(\"@/views/shutters/index.vue\"),\r\n },\r\n {\r\n path: '/shuttershandSample/:producttype/:lastactioncode/:orderid?/:handsamplecode?/:line_no?/:orderno?',\r\n name: \"shuttershandSample\",\r\n meta: { orderpage: true },\r\n component: () => import(\"@/views/shutters/handSample.vue\"),\r\n },\r\n {\r\n path: '/shutters/printDraw/:orderid?/:line_no?/:img?',\r\n name: 'printDraw',\r\n meta: { orderpage: true },\r\n component: () => import(\"@/views/shutters/components/printDraw.vue\")\r\n },\r\n\r\n {\r\n path: '/displaytower/:producttype/:lastactioncode/:orderid?/:line_no?/:orderno?',\r\n name: \"displaytower\",\r\n meta: { orderpage: true },\r\n component: () => import(\"@/views/displaytower/index.vue\"),\r\n },\r\n {\r\n path: '/shutterPart/:producttype/:lastactioncode/:orderid?/:line_no?/:orderno?',\r\n name: \"shutterPart\",\r\n meta: { orderpage: true },\r\n component: () => import(\"@/views/shutters/part.vue\"),\r\n },\r\n{\r\n path: '/honeycomb/:producttype/:lastactioncode/:orderid?/:line_no?/:orderno?',\r\n name: \"honeycomb\",\r\n meta: { orderpage: true },\r\n component: () => import(\"@/views/honeycomb_shades/index.vue\"),\r\n},\r\n\r\n{\r\n path: '/honeycombPart/:producttype/:lastactioncode/:orderid?/:line_no?/:orderno?',\r\n name: \"honeycombPart\",\r\n meta: { orderpage: true },\r\n component: () => import(\"@/views/honeycomb_shades/part.vue\"),\r\n},\r\n{\r\n path: '/honeycombhandSample/:producttype/:lastactioncode/:orderid?/:handsamplecode?/:line_no?/:orderno?',\r\n name: \"honeycombhandSample\",\r\n meta: { orderpage: true },\r\n component: () => import(\"@/views/honeycomb_shades/handSample.vue\"),\r\n},\r\n{\r\n path: '/blinds/:producttype/:lastactioncode/:orderid?/:line_no?/:orderno?',\r\n name: \"blinds\", \r\n meta: { orderpage: true },\r\n component: () => import(\"@/views/blinds/index.vue\"),\r\n},\r\n\r\n{\r\n path: '/blindsPart/:producttype/:lastactioncode/:orderid?/:line_no?/:orderno?',\r\n name: \"blindsPart\",\r\n meta: { orderpage: true },\r\n component: () => import(\"@/views/blinds/part.vue\"),\r\n},\r\n{\r\n path: '/blindshandSample/:producttype/:lastactioncode/:orderid?/:handsamplecode?/:line_no?/:orderno?',\r\n name: \"blindshandSample\",\r\n meta: { orderpage: true },\r\n component: () => import(\"@/views/blinds/handSample.vue\"), \r\n},\r\n{\r\n path: '/smartdrape/:producttype/:lastactioncode/:orderid?/:line_no?/:orderno?',\r\n name: \"smartdrape\",\r\n meta: { orderpage: true },\r\n component: () => import(\"@/views/smartdrape/index.vue\"),\r\n},\r\n{\r\n path: '/smartdrapPart/:producttype/:lastactioncode/:orderid?/:line_no?/:orderno?',\r\n name: \"smartdrapPart\",\r\n meta: { orderpage: true },\r\n component: () => import(\"@/views/smartdrape/part.vue\"),\r\n},\r\n{\r\n path: '/dagger',\r\n name: 'dagger',\r\n component: () => import(\"@/views/daggertest/index.vue\"),\r\n},\r\n{\r\n path: '/questionlist/:dt?',\r\n name: 'questionlist',\r\n component: () => import(\"@/views/QandA/QuestionList.vue\"),\r\n},\r\n{\r\n path: '/questioneditwithout/:orderno',\r\n name: 'questioneditwithout',\r\n component: () => import(\"@/views/QandA/QuestionEditWithOut.vue\"),\r\n},\r\n{\r\n path: '/questionedit/:orderno',\r\n name: 'questionedit',\r\n component: () => import(\"@/views/QandA/QuestionEdit.vue\"),\r\n},\r\n\r\n{\r\n path: '/perfectsheer/:producttype/:lastactioncode/:orderid?/:line_no?/:orderno?',\r\n name: \"perfectsheer\",\r\n meta: { orderpage: true },\r\n component: () => import(\"@/views/perfectsheer_shades/index.vue\"),\r\n},\r\n{\r\n path: '/perfectsheerhandSample/:producttype/:lastactioncode/:orderid?/:handsamplecode?/:line_no?/:orderno?',\r\n name: \"perfectsheerhandSample\",\r\n meta: { orderpage: true },\r\n component: () => import(\"@/views/perfectsheer_shades/handSample.vue\"),\r\n},\r\n{\r\n path: '/soluna/:producttype/:lastactioncode/:orderid?/:line_no?/:orderno?',\r\n name: \"soluna\",\r\n meta: { orderpage: true },\r\n component: () => import(\"@/views/soluna_shades/index.vue\"),\r\n},\r\n{\r\n path: '/solunahandSample/:producttype/:lastactioncode/:orderid?/:handsamplecode?/:line_no?/:orderno?',\r\n name: \"solunahandSample\",\r\n meta: { orderpage: true },\r\n component: () => import(\"@/views/soluna_shades/handSample.vue\"),\r\n},\r\n{\r\n path: '/print/:orderid/:orderno?/:sp?',\r\n name: \"print\",\r\n component: () => import(\"@/views/print/index.vue\"),\r\n},\r\n {\r\n path: '/userlist/:requestUserType?',\r\n name: 'userlist',\r\n component: () => import(\"@/views/Users/UserList.vue\"),\r\n } ,\r\n {\r\n path: '/useredit/:userid?',\r\n name: 'useredit',\r\n component: () => import(\"@/views/Users/UserEdit.vue\"),\r\n },\r\n {\r\n path: '/usertest',\r\n name: 'usertest',\r\n component: () => import(\"@/views/Users/test.vue\"),\r\n },\r\n {\r\n path: '/approveaccount/:userid/:action?',\r\n name: 'approveaccount',\r\n component: () => import(\"@/views/Users/ApproveRegAccount.vue\"),\r\n },\r\n {\r\n path: '/changepassword/:havetochange?',\r\n name: 'changepassword',\r\n component: () => import(\"@/views/Users/ChangePwd.vue\"),\r\n },\r\n {\r\n path: '/dealerlist',\r\n name: 'dealerlist',\r\n component: () => import(\"@/views/Users/Dealer.vue\"),\r\n } ,\r\n {\r\n path: '/dealeredit/:custid?/:action',\r\n name: 'dealeredit',\r\n component: () => import(\"@/views/Users/DealerEdit.vue\"),\r\n },\r\n {\r\n path: '/shipvia',\r\n name: 'shipvia',\r\n component: () => import(\"@/views/Users/ShipVia.vue\"),\r\n } ,\r\n {\r\n path: '/shipviaprint/:ctn?',\r\n name: 'shipviaprint',\r\n component: () => import(\"@/views/Users/ShipViaPrint.vue\"),\r\n } ,\r\n {\r\n path: '/invoice',\r\n name: 'invoice',\r\n component: () => import(\"@/views/Users/InvoiceCompare.vue\"),\r\n },\r\n {\r\n path: '/report',\r\n name: 'report',\r\n component: () => import(\"@/views/report/index.vue\"),\r\n },\r\n {\r\n path: '/oh_qlist/:requestyype?/:ishistory?',\r\n name: 'oh_qlist',\r\n component: () => import(\"@/views/onhold_question/OHOrderTrack.vue\"),\r\n },\r\n {\r\n path: '/oh_questionedit/:WO/:tp?',\r\n name: 'oh_questionedit',\r\n component: () => import(\"@/views/onhold_question/OHOrderList.vue\"),\r\n },\r\n {\r\n path: '/oh_questionprint',\r\n name: 'oh_questionprint',\r\n component: () => import(\"@/views/onhold_question/PrintQuestion.vue\"),\r\n },\r\n {\r\n path: '/oh_allquestionprint',\r\n name: 'oh_allquestionprint',\r\n component: () => import(\"@/views/onhold_question/PrintAllQuestion.vue\"),\r\n },\r\n {\r\n path: '/rga',\r\n name: \"rga\",\r\n component: () => import(\"@/views/rga/index.vue\"),\r\n }, {\r\n path: '/rga/request/:type/:qtno',\r\n name: \"request\",\r\n component: () => import(\"@/views/rga/request.vue\"),\r\n }, {\r\n path: '/rga/rgadetails/:rgatype/:type/:qtno',\r\n name: \"rgadetails\",\r\n component: () => import(\"@/views/rga/rgadetails.vue\"),\r\n }, {\r\n path: '/rga/rgatrack/:ishistory?',\r\n name: \"rgatrack\",\r\n component: () => import(\"@/views/rga/rgatrack.vue\"),\r\n }, {\r\n path: '/rga/print/:qtno',\r\n name: \"rgaprint\",\r\n component: () => import(\"@/views/rga/print.vue\"),\r\n }, {\r\n path: '/rga/printtrack',\r\n name: \"printtrack\",\r\n component: () => import(\"@/views/rga/printtrack.vue\"),\r\n },\r\n\r\n {\r\n path: '/aboutSales',\r\n name: 'aboutSales',\r\n component: () => import(\"@/views/about_sales/sales_information/index.vue\"),\r\n },\r\n // {\r\n // path: '/aboutSales/:type?',\r\n // name: 'aboutSales',\r\n // component: () => import(\"@/views/about_sales/sales_information/index.vue\"),\r\n // },\r\n {\r\n path: '/aboutSales/customColour',\r\n name: 'customColour',\r\n component: () => import(\"@/views/about_sales/sales_information/customColour.vue\"),\r\n },\r\n {\r\n path: '/aboutSales/FAQ',\r\n name: 'FAQ',\r\n component: () => import(\"@/views/about_sales/sales_information/FAQ.vue\"),\r\n },\r\n {\r\n path: '/aboutSales/maintenance_Cleaening',\r\n name: 'maintenance_Cleaening',\r\n component: () => import(\"@/views/about_sales/sales_information/maintenance_Cleaening.vue\"),\r\n },\r\n {\r\n path: '/aboutSales/newsLetter',\r\n name: 'newsLetter',\r\n component: () => import(\"@/views/about_sales/sales_information/newsLetter.vue\"),\r\n },\r\n {\r\n path: '/aboutSales/NQA',\r\n name: 'NQA',\r\n component: () => import(\"@/views/about_sales/sales_information/NQA.vue\"),\r\n },\r\n {\r\n path: '/aboutSales/priceLists',\r\n name: \"priceLists\",\r\n component: () => import(\"@/views/about_sales/sales_information/priceLists.vue\"),\r\n },\r\n {\r\n path: '/aboutSales/programSpec',\r\n name: \"programSpec\",\r\n component: () => import(\"@/views/about_sales/sales_information/programSpec.vue\"),\r\n },\r\n {\r\n path: '/aboutSales/ShutterBinList',\r\n name: \"ShutterBinList\",\r\n component: () => import(\"@/views/about_sales/sales_information/component/ShutterBinList.vue\"),\r\n },\r\n {\r\n path: '/aboutSales/BFWoodBinList',\r\n name: \"BFWoodBinList\",\r\n component: () => import(\"@/views/about_sales/sales_information/component/BFWoodBinList.vue\"),\r\n },\r\n {\r\n path: '/aboutSales/HoneycombBinList',\r\n name: \"HoneycombBinList\",\r\n component: () => import(\"@/views/about_sales/sales_information/component/HoneycombBinList.vue\"),\r\n },\r\n {\r\n path: '/aboutSales/SolunaBinList',\r\n name: \"SolunaBinList\",\r\n component: () => import(\"@/views/about_sales/sales_information/component/SolunaBinList.vue\"),\r\n },\r\n {\r\n path: '/aboutSales/PerfectsheerBinList',\r\n name: \"PerfectsheerBinList\",\r\n component: () => import(\"@/views/about_sales/sales_information/component/PerfectsheerBinList.vue\"),\r\n },\r\n {\r\n path: '/aboutSales/SmartDrapeBinList',\r\n name: \"SmartDrapeBinList\",\r\n component: () => import(\"@/views/about_sales/sales_information/component/SmartDrapeBinList.vue\"),\r\n },\r\n {\r\n path: '/aboutSales/rgaGuide',\r\n name: \"rgaGuide\",\r\n component: () => import(\"@/views/about_sales/sales_information/rgaGuide.vue\"),\r\n }, {\r\n path: '/aboutSales/shutterProcedure',\r\n name: \"shutterProcedure\",\r\n component: () => import(\"@/views/about_sales/sales_information/shutterProcedure.vue\"),\r\n },\r\n {\r\n path: '/aboutSales/privacyPolicy',\r\n name: \"privacyPolicy\",\r\n component: () => import(\"@/views/about_sales/sales_information/trade_privacyPolicy.vue\"),\r\n },\r\n {\r\n path: '/aboutSales/marketing/:orderby?/:type1?/:type2?',\r\n name: \"marketing\",\r\n component: () => import(\"@/views/about_sales/marketing/index.vue\"),\r\n }\r\n \r\n\r\n\r\n]\r\nconst whiteList = ['home']\r\nconst router = createRouter({\r\n history: createWebHashHistory(process.env.NODE_ENV === \"production\" ? \"/NormanAustralia/\" : \"/\"),\r\n routes: constantRoutes\r\n})\r\n\r\n//router.beforeEach(async (to, from, next) => {\r\n// //if (to.name !== 'home' && !isAuthenticated) next({ name: 'Login' })\r\n// //else next()\r\n// //console.log(\"beforeEach\", to)\r\n// startLoading();\r\n// if (whiteList.indexOf(to.name) == -1) {\r\n// if (checkToken()) {\r\n// next();\r\n// return;\r\n// } else {\r\n// Err401();\r\n// return;\r\n// }\r\n// }\r\n// next()\r\n//})\r\nrouter.beforeEach(async (to, from, next) => {\r\n\r\n startLoading();\r\n //const token = Session.get('token');\r\n //if (to.path === '/login' && !token) {\r\n // next();\r\n \r\n //} else {\r\n // if (!token) {\r\n // next(`/login?redirect=${to.path}¶ms=${JSON.stringify(to.query ? to.query : to.params)}`);\r\n // Session.clear();\r\n // }\r\n // next()\r\n //}\r\n next()\r\n})\r\nrouter.afterEach((to, from, failure) => {\r\n //console.log(\"afterEach\", to)\r\n loadComplete();\r\n //if (!failure) sendToAnalytics(to.fullPath)\r\n})\r\nexport default router","/**\r\n *通过监听当前页面的JS的SRC来判断当前网页是否有更新\r\n *使用方法 main.js import checkUpdate from \"/@/utils/auto-update\";\r\n */\r\nlet lastSrcs=[]; //上次js地址集合\r\n// const scriptReg = /(?<= null //去掉控制台警告信息\r\nextendUtilsToVue(myapp)\r\naxios.interceptors.response.use(\r\n response => {\r\n // console.log(response.status)\r\n loadComplete();\r\n if (response.data.status == 401) {\r\n clearAccessTokens();\r\n }\r\n \r\n if (response.status === 200) {\r\n var accessToken = response.headers[accessTokenKey];\r\n var refreshAccessToken = response.headers[refreshAccessTokenKey];\r\n \r\n if (accessToken === 'invalid_token') {\r\n Err401();\r\n return Promise.reject(response);\r\n }\r\n // 判断是否存在刷新 token,如果存在则存储在本地\r\n else if (refreshAccessToken && accessToken && accessToken !== 'invalid_token') {\r\n \r\n setToken(accessToken, refreshAccessToken);\r\n }\r\n if (response.data.status == 500) {\r\n // return Promise.reject(response);\r\n return Promise.reject(response.data);\r\n } else if (response.data.status == 401) {\r\n \r\n Err401();\r\n return Promise.reject(response.data);\r\n } else if (response.data.status == 601) {\r\n //並發\r\n // console.error(response.data);\r\n return Promise.reject(response.data);\r\n }\r\n // if (!response.data.data)\r\n return Promise.resolve(response.data);\r\n // return Promise.resolve(response.data.data);\r\n } else {\r\n return Promise.reject(response.data);\r\n }\r\n },\r\n error => {\r\n \r\n loadComplete();\r\n if (error.response && error.response.status) {\r\n\r\n switch (error.response.status) {\r\n case 401:\r\n //clearAccessTokens();\r\n Err401();\r\n \r\n break;\r\n case 403:\r\n clearAccessTokens();\r\n // console.log(error.response);\r\n // alert(\"CCc\");\r\n window.location.href = process.env.NODE_ENV === \"production\" ? \"/\" : \"/\";\r\n //Err401();\r\n break;\r\n\r\n // delCookie(\"authuser\");\r\n // window.location.href = \"../account/Logout\";\r\n // window.location.href = loginUrl;\r\n //break;\r\n case 500:\r\n // alert(error.response.statusText);\r\n console.log(\"500\",error.response);\r\n\r\n break;\r\n\r\n case 404:\r\n console.log(\"404\", error.response);\r\n break;\r\n default:\r\n console.error(error.response);\r\n\r\n\r\n }\r\n return Promise.reject(error.response);\r\n } else {\r\n console.error(error);\r\n return Promise.reject(error);\r\n }\r\n });\r\naxios.interceptors.request.use(function (config) {\r\n \r\n const accessToken = getToken();\r\n \r\n if (accessToken) {\r\n \r\n // 将 token 添加到请求报文头中\r\n config.headers['Authorization'] = `Bearer ${accessToken}`;\r\n // 判断 accessToken 是否过期\r\n let jwt = decryptJWT(accessToken);\r\n let exp = getJWTDate(Number(jwt.exp));\r\n\r\n if (new Date() >= exp) {\r\n // 获取刷新 token\r\n const refreshAccessToken = getRefreshToken();// Local.get(refreshAccessTokenKey);\r\n if (refreshAccessToken) {\r\n config.headers['X-Authorization'] = `Bearer ${refreshAccessToken}`;\r\n }\r\n }\r\n\r\n if (config.method?.toLowerCase() === 'get' && config.data) {\r\n let url = config.url + '?' + tansParams(config.data);\r\n url = url.slice(0, -1);\r\n config.data = {};\r\n config.url = url;\r\n //alert(url);\r\n // console.warn(url)\r\n }\r\n }\r\n\r\n\r\n if (config.url.toLowerCase().indexOf('account/login') == -1) {\r\n //config.headers = {\r\n // \"authorization\": \"Bearer \" + sessionStorage.getItem(\"authuser\"),\r\n // 'Content-Type': 'application/json'\r\n //};\r\n startLoading();\r\n }\r\n //if (config.url.toLowerCase().indexOf('refreshtoken') == -1) {\r\n // sessionStorage.setItem(\"actdate\", new Date());\r\n //}\r\n //console.log(config)\r\n return config\r\n})\r\nmyapp.use(router)\r\nmyapp.use(createPinia())\r\nrouter.isReady().then(() => {\r\n myapp.mount('#app');\r\n Session.remove(\"xi\");\r\n if (process.env.NODE_ENV === \"production\") {\r\n checkUpdateInterval(() => {\r\n alert(\"the portal has been updated, please refresh.\");\r\n window.location.href = process.env.NODE_ENV === \"production\" ? \"/\" : \"/\";\r\n });\r\n }\r\n})\r\n//window.addEventListener('storage', function (e) {\r\n// localStorage.setItem(e.key, e.oldValue)\r\n//});\r\n//window.addEventListener('storage', function (e) {\r\n// this.sessionStorage.setItem(e.key, e.oldValue)\r\n//});\r\n\r\n//自定义防抖全局组件\r\nmyapp.directive('debounce', {\r\n mounted(el, binding) {\r\n // 至少需要回调函数以及监听事件类型\r\n if (typeof binding.value.fn !== 'function' || !binding.value.event) return;\r\n let delay = 200; // 默认延迟时间\r\n el.timer = null;\r\n el.handler = function() {\r\n if (el.timer) {\r\n clearTimeout(el.timer);\r\n el.timer = null;\r\n };\r\n el.timer = setTimeout(() => {\r\n binding.value.fn.apply(this, arguments)\r\n el.timer = null;\r\n }, binding.value.delay || delay);\r\n }\r\n el.addEventListener(binding.value.event, el.handler);\r\n },\r\n // 元素卸载前清理定时器并且移除监听事件\r\n beforeMount(el, binding) {\r\n if (el.timer) {\r\n clearTimeout(el.timer);\r\n el.timer = null;\r\n }\r\n el.removeEventListener(binding.value.event, el.handler)\r\n }\r\n })","import { axios, get, post, patch, put, isNullOrEmpty, alertvue, success, failed, errorvue } from '@/utils/util'\r\n\r\nexport default function extendUtilsToVue(app) {\r\n // app.provide('$axios', axios)\r\n //app.provide('$get', get);\r\n //app.provide('$post', post);\r\n //app.provide('$patch', patch); \r\n //app.provide('$put', put);\r\n // app.provide('$isNullOrEmpty', isNullOrEmpty);\r\n\r\n //app.provide('$alert', alertvue);\r\n //app.provide('$success', success);\r\n //app.provide('$failed', failed);\r\n //app.provide('$error', errorvue);\r\n\r\n app.config.errorHandler = (err) => {\r\n /* 处理错误 */\r\n console.log(err);\r\n }\r\n}","import Cookies from 'js-cookie'\r\nexport const Local = {\r\n\tallowStorage:window.localStorage ? true : false,\r\n\tsetKey(key) {\r\n\t\treturn `naweb:${key}`;\r\n\t},\r\n\tset(key, val) {\r\n\t\ttry {\r\n\t\t\tif (Local.allowStorage) {\r\n\t\t\t\twindow.localStorage.setItem(Local.setKey(key), JSON.stringify(val));\r\n\t\t\t} else {\r\n\t\t\t\tCookies.set(Local.setKey(key), val ? JSON.stringify(val) : \"\");\r\n\t\t\t}\r\n\t\t} catch {\r\n\t\t\talert(\"Please open the LocalStorage function of the browser, thank you!\");\r\n\t\t}\r\n\t},\r\n\tget(key) {\r\n\t\tif (Local.allowStorage) {\r\n\t\t\tlet json = window.localStorage.getItem(Local.setKey(key));\r\n\t\t\treturn JSON.parse(json);\r\n\t\t} else {\r\n\t\t\t\r\n\t\t\tlet json = Cookies.get(Local.setKey(key));\r\n\t\t\t\r\n\t\t\treturn json?JSON.parse(json):\"\";\r\n\t\t}\r\n\t},\r\n\tremove(key) {\r\n\t\tif (Local.allowStorage) {\r\n\t\t\twindow.localStorage.removeItem(Local.setKey(key));\r\n\t\t} else {\r\n\t\t\tCookies.remove(Local.setKey(key));\r\n\t\t}\r\n\t},\r\n\tclear() {\r\n\t\tif (Local.allowStorage) {\r\n\t\t\twindow.localStorage.clear();\r\n\t\t} else {\r\n\t\t\tCookies.clear();\r\n\t\t}\r\n\t},\r\n};\r\nexport const Session = {\r\n\tallowsessionStorage: window.sessionStorage ? true : false,\r\n\tset(key, val) {\r\n\t\tif (Session.allowsessionStorage) {\r\n\t\t\tif (key === 'token') return window.sessionStorage.setItem(Local.setKey(key), val);\r\n\t\t\twindow.sessionStorage.setItem(Local.setKey(key), JSON.stringify(val));\r\n\t\t}\r\n\t\telse {\r\n\t\t\tLocal.set(key,val);\r\n\t\t} \r\n\t},\r\n\tget(key) {\r\n\t\tif (Session.allowsessionStorage) {\r\n\t\t\tif (key === 'token') return window.sessionStorage.getItem(Local.setKey(key));\r\n\t\t\tlet json = window.sessionStorage.getItem(Local.setKey(key));\r\n\t\t\treturn JSON.parse(json);\r\n\t\t} else {\r\n\t\t\treturn Local.get(key);\r\n\t\t\r\n\t\t}\r\n\t},\r\n\r\n\tremove(key) {\r\n\t\tif (Session.allowsessionStorage) {\r\n\t\t\twindow.sessionStorage.removeItem(Local.setKey(key));\r\n\t\t} else {\r\n\t\t\tLocal.remove(key);\r\n\t\t}\r\n\t},\r\n\tclear() {\r\n\t\tif (Session.allowsessionStorage) {\r\n\t\t\twindow.sessionStorage.clear();\r\n\t\t} else {\r\n\t\t\tLocal.clear();\r\n\t\t}\r\n\t},\r\n};\r\nexport const accessTokenKey = 'access-token';\r\nexport const refreshAccessTokenKey = `x-${accessTokenKey}`;\r\n\r\nexport const getToken = () => {\r\n\treturn Local.get(accessTokenKey) ? Local.get(accessTokenKey) : Session.get('token');\r\n};\r\nexport const setToken = (accesstk, refreshtk) => {\r\n\tLocal.set(accessTokenKey, accesstk);\r\n\tLocal.set(refreshAccessTokenKey, refreshtk);\r\n\tSession.set('token', accesstk);\r\n\r\n};\r\nexport const getRefreshToken = () => {\r\n\treturn Local.get(refreshAccessTokenKey);\r\n};\r\nexport const getTenantId = () => {\r\n\treturn Session.get(\"deviceid\") || \"\";\r\n};\r\nexport const clearAccessTokens = () => {\r\n\tclearTokens();\r\n\t//window.location.reload();\r\n}\r\n\r\nexport const clearTokens = () => {\r\n\tLocal.remove(accessTokenKey);\r\n\tLocal.remove(refreshAccessTokenKey);\r\n\tSession.clear();\r\n};\r\n\r\n\r\nexport function decryptJWT(token) {\r\n\ttoken = token.replace(/_/g, '/').replace(/-/g, '+');\r\n\tvar json = decodeURIComponent(escape(window.atob(token.split('.')[1])));\r\n\treturn JSON.parse(json);\r\n}\r\n\r\n\r\nexport function getJWTDate(timestamp) {\r\n\treturn new Date(timestamp * 1000);\r\n}\r\n\r\nexport function tansParams(params) {\r\n\tlet result = '';\r\n\tfor (const propName of Object.keys(params)) {\r\n\t\tconst value = params[propName];\r\n\t\tvar part = encodeURIComponent(propName) + '=';\r\n\t\tif (value !== null && value !== '' && typeof value !== 'undefined') {\r\n\t\t\tif (typeof value === 'object') {\r\n\t\t\t\tfor (const key of Object.keys(value)) {\r\n\t\t\t\t\tif (value[key] !== null && value[key] !== '' && typeof value[key] !== 'undefined') {\r\n\t\t\t\t\t\tlet params = propName + '[' + key + ']';\r\n\t\t\t\t\t\tvar subPart = encodeURIComponent(params) + '=';\r\n\t\t\t\t\t\tresult += subPart + encodeURIComponent(value[key]) + '&';\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\tresult += part + encodeURIComponent(value) + '&';\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\treturn result;\r\n}","import axios from 'axios';\r\nimport qs from 'qs'\r\nimport { ref, onMounted, onUnmounted } from 'vue';\r\n//import { useRouter } from 'vue-router';\r\n//import * as bootstrap from 'bootstrap'\r\nimport { Local, getToken, decryptJWT, getJWTDate, getRefreshToken, Session } from '@/utils/AxiosToken'\r\n//export const baseUrl = 'http://localhost:62495/';\r\n\r\n// export const baseUrl = 'http://192.168.90.31:8003/';//your local test port. //'http://192.168.90.31:8004/'\r\n\r\n//please dont change baseUrl define when you push to DEV branch. by dagger.li2024-07-08\r\n// export const baseUrl = process.env.NODE_ENV === \"production\" ? \"/API\" : \"http://172.16.1.44:8083/API/\";\r\n\r\nexport const baseUrl = process.env.NODE_ENV === \"production\" ? \"API/\" : \"http://172.16.1.44:8083/API/\";\r\n// export const baseUrl = process.env.NODE_ENV === \"production\" ? \"http://172.16.1.44:8083/\" : \"http://172.16.1.44:8083/API/\";\r\n\r\n\r\nexport const oldwebbaseUrl = process.env.NODE_ENV === \"production\" ? \"NormanAuPrint/\" : \"http://172.16.1.44:8083/NormanAuPrint/\";\r\n\r\n//export const publicStaticPath = process.env.NODE_ENV === \"production\" ? \"/NormanAustralia/\" : \"/\";\r\nexport const publicStaticPath = process.env.NODE_ENV === \"production\" ? \"/\" : \"/\";\r\nexport const onHoldAttachPath = process.env.NODE_ENV === \"production\" ? \"/Onhold/\" : \"http://172.16.1.44/Onhold/\";\r\n\r\nexport function Err401() {\r\n\r\n loadComplete();\r\n\r\n if (Local.get(\"userId\")) {\r\n var myModalEl = document.getElementById('reloginmodal');\r\n var modal = bootstrap.Modal.getInstance(myModalEl);\r\n\r\n if (modal && !modal._isShown) {\r\n modal.show();\r\n }\r\n } else {\r\n\r\n // sessionStorage.removeItem(\"authuser\");\r\n // console.log(\"Err401 return;\");\r\n window.location.href = process.env.NODE_ENV === \"production\" ? \"/\" : \"/\";\r\n // window.location.href = process.env.NODE_ENV === \"production\" ? \"/normanaustralia\" : \"/\";\r\n // let router = useRouter();\r\n // router.push({ name: \"home\" });\r\n\r\n // let loginUrl = \"../index?returnurl=\" + window.location.href;\r\n\r\n }\r\n\r\n\r\n //sessionStorage.removeItem(\"authuser\");\r\n //if (Session.get(\"deviceid\")) {\r\n\r\n // if (parent && parent.window) {\r\n // parent.window.location.href = loginUrl;\r\n // } else {\r\n // window.location.href = loginUrl;\r\n // }\r\n\r\n //} else {\r\n // window.location.href = loginUrl;\r\n //}\r\n}\r\nexport function startLoading() {\r\n if (document.getElementById(\"pageloading\")) document.getElementById(\"pageloading\").style.display = \"\";\r\n}\r\nexport function loadComplete() {\r\n if (document.getElementById(\"pageloading\")) document.getElementById(\"pageloading\").style.display = \"none\";\r\n}\r\nexport function isLoading() {\r\n if (document.getElementById(\"pageloading\")) if (document.getElementById(\"pageloading\").style.display.toLowerCase() != \"none\") return true;\r\n return false;\r\n}\r\nexport async function checkToken() {\r\n let tenantid = Session.get(\"cbdid_token\") || \"\";\r\n let deviceid = Local.get(\"deviceid\") || \"\";\r\n\r\n if (tenantid && deviceid) {\r\n return true;\r\n //try {\r\n // return true;\r\n // if (Session.get(\"lastchktoken\"))\r\n // {\r\n\r\n // let olddate = new Date(Number(Session.get(\"lastchktoken\")));\r\n // let cm = (new Date().getTime() - olddate.getTime()) / 1000 / 60;\r\n\r\n // if (cm < 30) {\r\n // return true;\r\n // }\r\n // }\r\n // let res = await get(\"account/RefreshToken\", { deviceId: deviceid, tenantId: tenantid });\r\n // if (res.success) {\r\n\r\n // return true;\r\n // } else {\r\n // return false;\r\n // }\r\n //} catch {\r\n // return false;\r\n //}\r\n } else {\r\n return false;\r\n }\r\n}\r\nexport function get(url, params) {\r\n return new Promise((resolve, reject) => {\r\n axios.get(baseUrl + url, {\r\n params: params\r\n })\r\n .then(response => {\r\n resolve(response);\r\n })\r\n .catch(err => {\r\n reject(err)\r\n })\r\n })\r\n}\r\n\r\n// Form Data\r\n// headers: {\r\n// \"Content-Type\": 'application/x-www-form-urlencoded; charset=UTF-8'\r\n// }\r\n\r\nexport function post(url, params = {}, headers) {\r\n return new Promise((resolve, reject) => {\r\n if (headers == undefined) {\r\n\r\n axios.post(baseUrl + url, JSON.stringify(params), {\r\n headers: {\r\n \"Content-Type\": \"application/json;charset=UTF-8\"\r\n }\r\n }).then(res => {\r\n resolve(res);\r\n })\r\n .catch(err => {\r\n reject(err)\r\n })\r\n } else {\r\n axios.post(baseUrl + url, qs.stringify(params), headers)\r\n .then(res => {\r\n resolve(res);\r\n })\r\n .catch(err => {\r\n reject(err)\r\n })\r\n }\r\n\r\n });\r\n}\r\nexport function postWithFiles(url, data) {\r\n var configHeader = {\r\n 'Content-Type': 'application/x-www-form-urlencoded'\r\n };\r\n const accessToken = getToken();\r\n if (accessToken) {\r\n configHeader['Authorization'] = `Bearer ${accessToken}`;\r\n\r\n // 判断 accessToken 是否过期\r\n let jwt = decryptJWT(accessToken);\r\n let exp = getJWTDate(Number(jwt.exp));\r\n\r\n if (new Date() >= exp) {\r\n // 获取刷新 token\r\n const refreshAccessToken = getRefreshToken();// Local.get(refreshAccessTokenKey);\r\n if (refreshAccessToken) {\r\n configHeader['X-Authorization'] = `Bearer ${refreshAccessToken}`;\r\n }\r\n }\r\n }\r\n const $http = axios.create({\r\n baseURL: baseUrl,\r\n timeout: 20000,\r\n headers: configHeader,\r\n transformRequest: [function (data, headers) {\r\n const ContentType = headers['Content-Type'] || ''\r\n if (ContentType.indexOf('application/json') >= 0) {\r\n return JSON.stringify(data)\r\n }\r\n return data instanceof FormData ? data : qs.stringify(data, { encode: false });\r\n }],\r\n transformResponse: [function (data) {\r\n return data;\r\n }, function (data) {\r\n return data;\r\n }],\r\n })\r\n return $http.post(url, data);\r\n}\r\nexport function postGetFiles(url, params = {}, filename) {\r\n axios.post(baseUrl + url, JSON.stringify(params), {\r\n responseType: 'blob',\r\n headers: {\r\n \"Content-Type\": \"application/json;charset=UTF-8\"\r\n }\r\n // \"authorization\": \"Bearer \" + sessionStorage.getItem(\"authuser\")\r\n }).then(res => {\r\n if (res.size) {\r\n let blob = new Blob([res]);\r\n const elink = document.createElement('a');\r\n elink.download = filename;\r\n elink.style.display = 'none';\r\n elink.href = URL.createObjectURL(blob);\r\n document.body.appendChild(elink);\r\n elink.click();\r\n URL.revokeObjectURL(elink.href);\r\n document.body.removeChild(elink);\r\n\r\n } else {\r\n errorvue(\"download error.\");\r\n }\r\n }).catch(err => {\r\n errorvue(err)\r\n })\r\n}\r\nexport function patch(url, data = {}) {\r\n return new Promise((resolve, reject) => {\r\n axios.patch(baseUrl + url, data)\r\n .then(response => {\r\n resolve(response);\r\n }, err => {\r\n reject(err)\r\n })\r\n })\r\n}\r\n\r\nexport function put(url, data = {}) {\r\n return new Promise((resolve, reject) => {\r\n axios.put(baseUrl + url, data)\r\n .then(response => {\r\n resolve(response);\r\n }, err => {\r\n reject(err)\r\n })\r\n })\r\n}\r\nexport function getLoginInfo() {\r\n let loginInfo = {\r\n userid: Local.get(\"userId\") || \"\",\r\n username: Session.get(\"userName\") || \"\",\r\n showPrice: Session.get(\"ABC\") == \"Y\", //showPrice\r\n showPriceList: Session.get(\"BCD\") == \"Y\", //priceList\r\n showAnswer: Session.get(\"CDE\") == \"Y\", //Answer\r\n srhTmpOrders: (Session.get(\"DEF\") == \"*\" || Session.get(\"DEF\") == \"M\"), //rights\r\n hasCheckout: Session.get(\"EFG\") == 0 || Session.get(\"EFG\") == \"0\",//isCash\r\n hasRga: (Session.get(\"FGH\") || \"0\").indexOf(\"1\") > -1,//hasRga\r\n isAU: Session.get(\"DEF\") == \"*\" || Session.get(\"DEF\") == \"M\",//rights\r\n accountName: Session.get(\"accountName\") || \"\",//AccountName\r\n securityLevel: parseInt(Session.get(\"GHI\") || \"0\") //\r\n };\r\n let xi = \"\";\r\n for (var attr in loginInfo) {\r\n xi += loginInfo[attr].toString();\r\n }\r\n if (window.btoa)\r\n xi = window.btoa(xi);\r\n if (!Session.get(\"xi\")) {\r\n Session.set(\"xi\", xi);\r\n } else {\r\n if (Session.get(\"xi\") != xi) {\r\n\r\n Session.remove(\"cbdid_token\");\r\n Session.remove(\"islogined\");\r\n }\r\n }\r\n return loginInfo;\r\n}\r\n\r\n\r\nexport function isNullOrEmpty(str) {\r\n if (str == null || str === \"\" || str == undefined) return true;\r\n return false;\r\n}\r\n\r\nexport function checkMessageHolder() {\r\n if (!document.getElementById('liveToastholder')) {\r\n var docholer = document.createElement('div')\r\n docholer.id = \"liveToastholder\";\r\n docholer.className = \"position-fixed\";\r\n docholer.classList.add(\"position-fixed\");\r\n docholer.classList.add(\"bottom-0\");\r\n docholer.classList.add(\"end-0\");\r\n docholer.classList.add(\"p-3\");\r\n docholer.style.zIndex = \"11\";\r\n document.body.appendChild(docholer);\r\n }\r\n}\r\n\r\nexport function alertvue(message, callback) {\r\n //checkMessageHolder();\r\n //if (!document.getElementById('livealertToast')) {\r\n // document.getElementById(\"liveToastholder\").innerHTML = \"
Alert
\";\r\n //}\r\n //document.getElementById('livealertToastbody').innerHTML = message;\r\n //var toast = new bootstrap.Toast(document.getElementById('livealertToast'));\r\n //toast.show({ delay: 10000 });\r\n if (typeof callback == \"function\")\r\n callback();\r\n try {\r\n window.alert(message);\r\n } catch {\r\n failed(message);\r\n }\r\n}\r\n\r\nexport function failed(message, callback) {\r\n checkMessageHolder();\r\n if (!document.getElementById('livefailedToast')) {\r\n document.getElementById(\"liveToastholder\").innerHTML = \"
Failed
\";\r\n }\r\n document.getElementById('livefailedToastbody').innerHTML = message;\r\n var toast = new bootstrap.Toast(document.getElementById('livefailedToast'));\r\n toast.show();\r\n if (typeof callback == \"function\")\r\n callback();\r\n}\r\n\r\nexport function success(message, callback) {\r\n checkMessageHolder();\r\n if (!document.getElementById('livesuccessToast')) {\r\n document.getElementById(\"liveToastholder\").innerHTML = \"
Success
\";\r\n }\r\n document.getElementById('livesuccessToastbody').innerHTML = message;\r\n var toast = new bootstrap.Toast(document.getElementById('livesuccessToast'));\r\n toast.show();\r\n\r\n window.setTimeout(2000, () => { toast.hide(); });\r\n\r\n if (typeof callback == \"function\")\r\n callback();\r\n}\r\n\r\nexport function errorvue(message, callback) {\r\n if (message && message.status && message.status == 401) {\r\n console.error(message);\r\n return;\r\n }\r\n checkMessageHolder();\r\n if (!document.getElementById('liveerrorToast')) {\r\n document.getElementById(\"liveToastholder\").innerHTML = \"
Error
\";\r\n }\r\n document.getElementById('liveerrorToastbody').innerHTML = message;\r\n var toast = new bootstrap.Toast(document.getElementById('liveerrorToast'));\r\n toast.show();\r\n if (typeof callback == \"function\")\r\n callback();\r\n}\r\nexport function checkrequired(obj) {\r\n if (obj.required) {\r\n if (obj.value == \"\") {\r\n obj.classList.add('is-invalid');\r\n return false;\r\n } else {\r\n obj.classList.remove('is-invalid');\r\n }\r\n }\r\n\r\n if (obj.getAttribute(\"rules\")) {\r\n\r\n switch (obj.getAttribute(\"rules\")) {\r\n case \"number\":\r\n if (isNaN(obj.value)) {\r\n obj.classList.add('is-invalid');\r\n throw new Error('Please input number');\r\n\r\n }\r\n if (parseFloat(obj.value) == 0) {\r\n obj.classList.add('is-invalid');\r\n throw new Error('Please input number');\r\n }\r\n break;\r\n case \"int\":\r\n break;\r\n }\r\n // obj.\r\n }\r\n return true;\r\n}\r\n\r\n\r\nexport function checkRange(n, m, params, name) {\r\n const min = parseFloat(n);\r\n const max = parseFloat(m);\r\n if (parseFloat(params) < min || parseFloat(params) > max) {\r\n alert(`${name}`);\r\n }\r\n}\r\n\r\nexport function limitToNumbers(obj, key) {\r\n\r\n obj[key] = obj[key].toString().replace(/[^0-9]/g, '');\r\n}\r\n\r\nexport function limitStrToNumbers(str) {\r\n str = str.replace(/[^0-9]/g, '');\r\n}\r\n\r\nexport function limitTodecimal(obj, key, decimalPlaces = 1) {\r\n // console.log(obj, key, obj[key])\r\n obj[key] = obj[key].toString().replace(/[^\\d^\\.]+/g, '')\r\n .replace(/^0+(\\d)/, '$1')\r\n .replace(/^\\./, '0.')\r\n .match(new RegExp(`^\\\\d*(\\\\.?\\\\d{0,${decimalPlaces}})`))[0] || ''\r\n\r\n // console.log(obj, key, obj[key])\r\n}\r\n\r\n\r\n\r\nexport function setNumberNullToZero(messageItems) {\r\n for (let att in messageItems) {\r\n if (messageItems[att] == null) {\r\n messageItems[att] = 0;\r\n }\r\n }\r\n}\r\n\r\nexport function setZeroToNumberNull(obj, arr) {\r\n for (let key in obj) {\r\n if (typeof obj[key] === 'number' && obj[key] === 0 && (!arr || arr.indexOf(key) === -1)) {\r\n obj[key] = null;\r\n }\r\n }\r\n return obj;\r\n}\r\n\r\nexport function WindowResize() {\r\n const isLargeScreen = ref(window.innerWidth >= 992);\r\n const isMediumScreen = ref(window.innerWidth >= 576 && window.innerWidth < 992);\r\n const isSmallScreen = ref(window.innerWidth < 576);\r\n\r\n const handleResize = () => {\r\n isLargeScreen.value = window.innerWidth >= 992;\r\n isMediumScreen.value = window.innerWidth >= 576 && window.innerWidth < 992;\r\n isSmallScreen.value = window.innerWidth < 576;\r\n };\r\n\r\n onMounted(() => {\r\n window.addEventListener('resize', handleResize);\r\n });\r\n\r\n onUnmounted(() => {\r\n window.removeEventListener('resize', handleResize);\r\n });\r\n\r\n return {\r\n isSmallScreen,\r\n isMediumScreen,\r\n isLargeScreen\r\n };\r\n}\r\n\r\nexport function checkOrderHeadAddress(state, city, postcode, street, callback) {\r\n post(\"Account/AddressVerify\", [state, city, postcode, street]).then((res) => {\r\n if (res.success == false) {\r\n failed(res.message);\r\n return;\r\n } else {\r\n if (callback && callback instanceof Function) {\r\n callback(res.resultdata);\r\n }\r\n }\r\n })\r\n}\r\n\r\n// 防抖\r\nexport function debounce(fn, delay) {\r\n var timer;\r\n\r\n return function () {\r\n var context = this;\r\n var args = arguments;\r\n\r\n if (timer) {\r\n clearTimeout(timer);\r\n }\r\n\r\n timer = setTimeout(function () {\r\n timer = null;\r\n fn.apply(context, args);\r\n }, delay || 500);\r\n };\r\n}\r\n\r\nexport function getFirstWord(str) {\r\n return str.trimStart().split(/\\s+/)[0];\r\n}\r\n\r\nexport async function checkoutSideBySide(ProductType, OrderId, line_no) {\r\n try {\r\n const itemcount = await get(\"Order/GetNewItemNo\", { orderid: OrderId, producttype: ProductType });\r\n if (parseInt(itemcount.resultdata) > 1) {\r\n const tempinterface = {\r\n CB: \"Blind/CheckSideBySide\",\r\n RL: \"Roller/CheckSideBySide\",\r\n PS: \"PerfectSheer/CheckSideBySide\"\r\n }[ProductType];\r\n\r\n const sideArr = [];\r\n for (let i = 1; i < itemcount.resultdata; i++) {\r\n const arrres = await get(tempinterface, { OrderId, MatchItemNo: i, Line_No: i });\r\n if (arrres.success) {\r\n const chs = JSON.parse(arrres.resultdata).rows;\r\n chs[0] = { ...chs[0], line_no: i };\r\n sideArr.push(...chs);\r\n }\r\n }\r\n\r\n const tempItem = {\r\n CB: sideArr.find(item => parseInt(item.matchitemno) === parseInt(line_no)),\r\n RL: sideArr.find(item => parseInt(item.togetherwith) === parseInt(line_no)),\r\n PS: sideArr.find(item => parseInt(item.togetherwith) === parseInt(line_no))\r\n }[ProductType];\r\n\r\n return tempItem;\r\n }\r\n } catch (error) {\r\n errorvue(\"checkoutSideBySide error.\");\r\n return false;\r\n }\r\n}\r\n\r\n\r\n","module.exports = bootstrap;","module.exports = html2pdf;","// 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].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(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__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = function(chunkId) {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = function(chunkId) {\n\t// return url for filenames based on template\n\treturn \"js/\" + chunkId + \".\" + {\"36\":\"5b800b3c\",\"173\":\"115e5772\",\"198\":\"800756de\",\"393\":\"cfd601b5\",\"485\":\"b10d51ca\",\"542\":\"2c68a00a\",\"771\":\"4ca053bf\",\"775\":\"130bbbee\",\"787\":\"d4d079a5\",\"846\":\"d651f8ed\",\"873\":\"47991a23\",\"952\":\"e707ba89\",\"1032\":\"d1514450\",\"1269\":\"0693a45d\",\"1289\":\"bf45b3a8\",\"1298\":\"26e7b308\",\"1336\":\"c8913366\",\"1381\":\"5eed59a6\",\"1387\":\"ea7478d8\",\"1584\":\"d6754c05\",\"1688\":\"72b5bbf1\",\"1848\":\"915c67e9\",\"1891\":\"98eb5d9b\",\"1944\":\"f8595af7\",\"1996\":\"c8c395cd\",\"2008\":\"2d15e2a8\",\"2111\":\"bcd84e88\",\"2125\":\"454feea5\",\"2130\":\"82a19aef\",\"2185\":\"ed14ae2d\",\"2333\":\"c3e8b7f5\",\"2517\":\"550c94e0\",\"2590\":\"68f266ba\",\"2662\":\"03b37cb2\",\"2679\":\"10eb8792\",\"2803\":\"519bc386\",\"3135\":\"79545952\",\"3311\":\"1aedb429\",\"3468\":\"ae3973ab\",\"3638\":\"ff52b6b0\",\"3673\":\"ec6218eb\",\"3775\":\"40263fd1\",\"3846\":\"809895ec\",\"3893\":\"5d7d6cc3\",\"4135\":\"0a794afe\",\"4139\":\"1f8ae47a\",\"4303\":\"000749c4\",\"4359\":\"1ea24ea8\",\"4396\":\"94c382a2\",\"4585\":\"7d3edf11\",\"4682\":\"59f7bfaa\",\"4762\":\"8dfe5cb3\",\"5007\":\"cadc4ffc\",\"5029\":\"dc5b67b6\",\"5118\":\"d505ec00\",\"5147\":\"a0cfcce3\",\"5159\":\"7151b5e5\",\"5276\":\"d25b8c36\",\"5356\":\"2a289be3\",\"5496\":\"233e1074\",\"5677\":\"d2a15fab\",\"5720\":\"e84fed9a\",\"5728\":\"9d965668\",\"6011\":\"aa97e379\",\"6026\":\"2e69b093\",\"6034\":\"025db13f\",\"6081\":\"00841098\",\"6094\":\"44c19a2d\",\"6182\":\"866bb346\",\"6283\":\"f0b63910\",\"6320\":\"86017127\",\"6499\":\"fcb7ecd4\",\"6596\":\"202498fc\",\"6643\":\"9f5c24d6\",\"6704\":\"9276fe6b\",\"6756\":\"733ea23b\",\"6980\":\"4901cf98\",\"6994\":\"546e9bc8\",\"7152\":\"e42ac674\",\"7288\":\"425dbe34\",\"7347\":\"a2445248\",\"7353\":\"f7c93679\",\"7624\":\"adc447ce\",\"7652\":\"d3ba263a\",\"7928\":\"ce54e242\",\"7935\":\"3deb10e7\",\"8069\":\"b18138a1\",\"8075\":\"b83bf636\",\"8137\":\"9e2beca8\",\"8251\":\"62a08fdc\",\"8370\":\"962a05a9\",\"8616\":\"7d24e5a4\",\"8861\":\"8d6fc1c7\",\"8980\":\"899cf5a9\",\"9002\":\"f2cbf24f\",\"9099\":\"ffab40b8\",\"9190\":\"297e50fb\",\"9228\":\"1238ecd3\",\"9482\":\"1c5140dd\",\"9485\":\"e6aa1121\",\"9508\":\"d6f2b385\",\"9540\":\"b20bf0a3\",\"9603\":\"6854c740\",\"9647\":\"a0f32d43\",\"9793\":\"ee4ab656\"}[chunkId] + \".js\";\n};","// This function allow to reference async chunks\n__webpack_require__.miniCssF = function(chunkId) {\n\t// return url for filenames based on template\n\treturn \"css/\" + chunkId + \".\" + {\"36\":\"31f0894a\",\"173\":\"d0fdb3b1\",\"198\":\"c290fe33\",\"485\":\"797a9954\",\"542\":\"b86c41b3\",\"771\":\"8db39084\",\"775\":\"8db39084\",\"787\":\"9b1f618d\",\"846\":\"686ed713\",\"873\":\"b8f1bd9a\",\"1032\":\"318b8464\",\"1269\":\"3f02683c\",\"1289\":\"8db39084\",\"1298\":\"8db39084\",\"1336\":\"04582962\",\"1381\":\"dffbfab2\",\"1387\":\"b04ac286\",\"1584\":\"8db39084\",\"1688\":\"8db39084\",\"1848\":\"230c9ff4\",\"1891\":\"98e0c316\",\"1944\":\"29649c86\",\"1996\":\"d4764d5d\",\"2008\":\"8db39084\",\"2125\":\"99e3a0f7\",\"2130\":\"07f89c77\",\"2185\":\"8db39084\",\"2333\":\"7e6b2b5c\",\"2517\":\"7c2200fd\",\"2590\":\"c7869afe\",\"2662\":\"22f3fc46\",\"2679\":\"fc934e70\",\"2803\":\"d69a86d0\",\"3135\":\"a4712b81\",\"3311\":\"8db39084\",\"3468\":\"a6c5fc90\",\"3638\":\"1faf6909\",\"3673\":\"cbddb280\",\"3775\":\"a90c4295\",\"3846\":\"902ea93a\",\"3893\":\"8db39084\",\"4135\":\"8db39084\",\"4139\":\"ffcbd781\",\"4359\":\"0f6971e0\",\"4396\":\"466255b2\",\"5007\":\"8db39084\",\"5029\":\"4bea5fc0\",\"5147\":\"8a470127\",\"5159\":\"e88c8c77\",\"5356\":\"772e8e4f\",\"5496\":\"8db39084\",\"5677\":\"8db39084\",\"5720\":\"ec065b4b\",\"5728\":\"8db39084\",\"6011\":\"b478e77e\",\"6026\":\"40558b88\",\"6034\":\"311192fc\",\"6081\":\"b3555215\",\"6094\":\"8db39084\",\"6182\":\"8f4328b8\",\"6283\":\"05f68643\",\"6320\":\"fb7f56bc\",\"6499\":\"54b16ea2\",\"6596\":\"70f9074e\",\"6643\":\"c6d7c5e6\",\"6704\":\"88eab075\",\"6756\":\"d4764d5d\",\"6980\":\"73795fb3\",\"7288\":\"541a4ec4\",\"7353\":\"8db39084\",\"7624\":\"b559a912\",\"7652\":\"8e664bc3\",\"7935\":\"2210c3c8\",\"8069\":\"a7fbaec8\",\"8075\":\"8db39084\",\"8137\":\"3a284fbf\",\"8251\":\"8db39084\",\"8370\":\"cc6f3cf6\",\"8616\":\"62d86061\",\"8861\":\"8db39084\",\"8980\":\"131aa0f8\",\"9002\":\"8db39084\",\"9099\":\"6ba64d7a\",\"9190\":\"58427c0a\",\"9228\":\"8db39084\",\"9482\":\"30984639\",\"9485\":\"7eb88a15\",\"9508\":\"400d0b03\",\"9540\":\"8db39084\",\"9603\":\"d4ba05d1\",\"9647\":\"377091a4\",\"9793\":\"8db39084\"}[chunkId] + \".css\";\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// define __esModule on exports\n__webpack_require__.r = function(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 = \"/\";","if (typeof document === \"undefined\") return;\nvar createStylesheet = function(chunkId, fullhref, oldTag, resolve, reject) {\n\tvar linkTag = document.createElement(\"link\");\n\n\tlinkTag.rel = \"stylesheet\";\n\tlinkTag.type = \"text/css\";\n\tvar onLinkComplete = function(event) {\n\t\t// avoid mem leaks.\n\t\tlinkTag.onerror = linkTag.onload = null;\n\t\tif (event.type === 'load') {\n\t\t\tresolve();\n\t\t} else {\n\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\tvar realHref = event && event.target && event.target.href || fullhref;\n\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + realHref + \")\");\n\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n\t\t\terr.type = errorType;\n\t\t\terr.request = realHref;\n\t\t\tif (linkTag.parentNode) linkTag.parentNode.removeChild(linkTag)\n\t\t\treject(err);\n\t\t}\n\t}\n\tlinkTag.onerror = linkTag.onload = onLinkComplete;\n\tlinkTag.href = fullhref;\n\n\tif (oldTag) {\n\t\toldTag.parentNode.insertBefore(linkTag, oldTag.nextSibling);\n\t} else {\n\t\tdocument.head.appendChild(linkTag);\n\t}\n\treturn linkTag;\n};\nvar findStylesheet = function(href, fullhref) {\n\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n\tfor(var i = 0; i < existingLinkTags.length; i++) {\n\t\tvar tag = existingLinkTags[i];\n\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return tag;\n\t}\n\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n\tfor(var i = 0; i < existingStyleTags.length; i++) {\n\t\tvar tag = existingStyleTags[i];\n\t\tvar dataHref = tag.getAttribute(\"data-href\");\n\t\tif(dataHref === href || dataHref === fullhref) return tag;\n\t}\n};\nvar loadStylesheet = function(chunkId) {\n\treturn new Promise(function(resolve, reject) {\n\t\tvar href = __webpack_require__.miniCssF(chunkId);\n\t\tvar fullhref = __webpack_require__.p + href;\n\t\tif(findStylesheet(href, fullhref)) return resolve();\n\t\tcreateStylesheet(chunkId, fullhref, null, resolve, reject);\n\t});\n}\n// object to store loaded CSS chunks\nvar installedCssChunks = {\n\t4826: 0\n};\n\n__webpack_require__.f.miniCss = function(chunkId, promises) {\n\tvar cssChunks = {\"36\":1,\"173\":1,\"198\":1,\"485\":1,\"542\":1,\"771\":1,\"775\":1,\"787\":1,\"846\":1,\"873\":1,\"1032\":1,\"1269\":1,\"1289\":1,\"1298\":1,\"1336\":1,\"1381\":1,\"1387\":1,\"1584\":1,\"1688\":1,\"1848\":1,\"1891\":1,\"1944\":1,\"1996\":1,\"2008\":1,\"2125\":1,\"2130\":1,\"2185\":1,\"2333\":1,\"2517\":1,\"2590\":1,\"2662\":1,\"2679\":1,\"2803\":1,\"3135\":1,\"3311\":1,\"3468\":1,\"3638\":1,\"3673\":1,\"3775\":1,\"3846\":1,\"3893\":1,\"4135\":1,\"4139\":1,\"4359\":1,\"4396\":1,\"5007\":1,\"5029\":1,\"5147\":1,\"5159\":1,\"5356\":1,\"5496\":1,\"5677\":1,\"5720\":1,\"5728\":1,\"6011\":1,\"6026\":1,\"6034\":1,\"6081\":1,\"6094\":1,\"6182\":1,\"6283\":1,\"6320\":1,\"6499\":1,\"6596\":1,\"6643\":1,\"6704\":1,\"6756\":1,\"6980\":1,\"7288\":1,\"7353\":1,\"7624\":1,\"7652\":1,\"7935\":1,\"8069\":1,\"8075\":1,\"8137\":1,\"8251\":1,\"8370\":1,\"8616\":1,\"8861\":1,\"8980\":1,\"9002\":1,\"9099\":1,\"9190\":1,\"9228\":1,\"9482\":1,\"9485\":1,\"9508\":1,\"9540\":1,\"9603\":1,\"9647\":1,\"9793\":1};\n\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n\t\tpromises.push(installedCssChunks[chunkId] = loadStylesheet(chunkId).then(function() {\n\t\t\tinstalledCssChunks[chunkId] = 0;\n\t\t}, function(e) {\n\t\t\tdelete installedCssChunks[chunkId];\n\t\t\tthrow e;\n\t\t}));\n\t}\n};\n\n// no hmr","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t4826: 0\n};\n\n__webpack_require__.f.j = function(chunkId, promises) {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(9190 != chunkId) {\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise(function(resolve, reject) { installedChunkData = installedChunks[chunkId] = [resolve, reject]; });\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = function(event) {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t} else installedChunks[chunkId] = 0;\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = function(chunkId) { return installedChunks[chunkId] === 0; };\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = function(parentChunkLoadingFunction, data) {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunknormanaustraliaui\"] = self[\"webpackChunknormanaustraliaui\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [4998], function() { return __webpack_require__(2139); })\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["deferred","inProgress","dataWebpackPrefix","constantRoutes","path","name","component","meta","orderpage","router","createRouter","history","createWebHashHistory","routes","beforeEach","async","to","from","next","startLoading","afterEach","failure","loadComplete","lastSrcs","scriptReg","checkUpdate","newScripts","html","fetch","Date","now","then","res","text","lastIndex","match","extractNewScripts","length","result","i","checkUpdateInterval","callbackFn","interval","setTimeout","myapp","createApp","App","config","warnHandler","app","errorHandler","err","extendUtilsToVue","axios","response","data","status","clearAccessTokens","accessToken","headers","accessTokenKey","refreshAccessToken","refreshAccessTokenKey","Err401","Promise","reject","setToken","resolve","error","window","location","href","getToken","jwt","decryptJWT","exp","getJWTDate","Number","getRefreshToken","method","toLowerCase","url","tansParams","slice","indexOf","use","createPinia","mount","Session","alert","directive","mounted","el","binding","value","fn","event","timer","handler","clearTimeout","apply","this","arguments","delay","addEventListener","beforeMount","removeEventListener","Local","allowStorage","localStorage","setKey","key","set","val","setItem","JSON","stringify","Cookies","get","json","getItem","parse","remove","removeItem","clear","allowsessionStorage","sessionStorage","accesstk","refreshtk","clearTokens","token","replace","decodeURIComponent","escape","atob","split","timestamp","params","propName","Object","keys","part","encodeURIComponent","baseUrl","oldwebbaseUrl","publicStaticPath","onHoldAttachPath","myModalEl","document","getElementById","modal","bootstrap","Modal","getInstance","_isShown","show","style","display","isLoading","catch","post","undefined","qs","postWithFiles","configHeader","$http","baseURL","timeout","transformRequest","FormData","encode","transformResponse","postGetFiles","filename","responseType","size","blob","Blob","elink","createElement","download","URL","createObjectURL","body","appendChild","click","revokeObjectURL","removeChild","errorvue","getLoginInfo","loginInfo","userid","username","showPrice","showPriceList","showAnswer","srhTmpOrders","hasCheckout","hasRga","isAU","accountName","securityLevel","parseInt","xi","attr","toString","btoa","checkMessageHolder","docholer","id","className","classList","add","zIndex","alertvue","message","callback","failed","innerHTML","Toast","success","toast","hide","checkrequired","obj","required","getAttribute","isNaN","Error","parseFloat","checkRange","n","m","min","max","limitToNumbers","limitStrToNumbers","str","limitTodecimal","decimalPlaces","RegExp","setNumberNullToZero","messageItems","att","setZeroToNumberNull","arr","WindowResize","isLargeScreen","ref","innerWidth","isMediumScreen","isSmallScreen","handleResize","onMounted","onUnmounted","checkOrderHeadAddress","state","city","postcode","street","Function","resultdata","debounce","context","args","getFirstWord","trimStart","checkoutSideBySide","ProductType","OrderId","line_no","itemcount","orderid","producttype","tempinterface","CB","RL","PS","sideArr","arrres","MatchItemNo","Line_No","chs","rows","push","find","item","matchitemno","togetherwith","module","exports","html2pdf","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","__webpack_modules__","call","O","chunkIds","priority","notFulfilled","Infinity","fulfilled","j","every","splice","r","getter","__esModule","d","a","definition","o","defineProperty","enumerable","f","e","chunkId","all","reduce","promises","u","miniCssF","g","globalThis","prop","prototype","hasOwnProperty","l","done","script","needAttach","scripts","getElementsByTagName","s","charset","nc","setAttribute","src","onScriptComplete","prev","onerror","onload","doneFns","parentNode","forEach","bind","type","target","head","Symbol","toStringTag","p","loadStylesheet","fullhref","existingLinkTags","dataHref","tag","rel","existingStyleTags","findStylesheet","oldTag","linkTag","errorType","realHref","code","request","insertBefore","nextSibling","createStylesheet","installedCssChunks","miniCss","installedChunks","installedChunkData","promise","realSrc","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","some","chunkLoadingGlobal","self","__webpack_exports__"],"sourceRoot":""}