{"version":3,"file":"app.cbeb19fd4566a354b1ce.bundle.js","mappings":";;;;;AAAA;AACA;AACA;AACA;AACA;;;;;;;ACJA;AACA;AACA;AACA;AACA;;;;;;;ACJA;AACA;AACA;AACA;AACA;;;;;;;ACJA;AACA;AACA;AACA;AACA;;;;;;;ACJA;AACA;AACA;AACA;AACA;;;;;;;ACJA;AACA;AACA;AACA;AACA;;;;;;;ACJA;AACA;AACA;AACA;AACA;;;;;;;ACJA;AACA;AACA;AACA;AACA;;;;;;;ACJA;AACA;AACA;AACA;AACA;;;;;;;ACJA;AACA;AACA;AACA;AACA;;;;;;;ACJA;AACA;AACA;AACA;AACA;;;;;;;ACJA;AACA;AACA;AACA;AACA;;;;;;;ACJA;AACA;AACA;AACA;AACA;;;;;;;ACJA;AACA;AACA;AACA;AACA;;;;;;;ACJA;AACA;AACA;AACA;AACA;;;;;;;ACJA;AACA;AACA;AACA;AACA;;;;;;;ACJA;AACA;AACA;AACA;AACA;;;;;;;ACJA;AACA;AACA;AACA;AACA;;;;;;;ACJA;AACA;AACA;AACA;AACA;;;;;;;ACJA;AACA;AACA;AACA;AACA;;;;;;;ACJA;AACA;AACA;AACA;AACA;;;;;;;ACJA;AACA;AACA;AACA;AACA;;;;;;;ACJA;AACA;AACA;AACA;AACA;;;;;;;ACJA;AACA;AACA;AACA;AACA;;;;;;;ACJA;AACA;AACA;AACA;AACA;;;;;;;ACJA;AACA;AACA;AACA;AACA;;;;;;;ACJA;AACA;AACA;AACA;AACA;;;;;;;ACJA;AACA;AACA;AACA;AACA;;;;;;;ACJA;AACA;AACA;AACA;AACA;;;;;;;ACJA;AACA;AACA;AACA;AACA;;;;;;;ACJA;AACA;AACA;AACA;AACA;;;;;;;ACJA;AACA;AACA;AACA;AACA;;;;;;;ACJA;AACA;AACA;AACA;AACA;;;;;;;ACJA;AACA;AACA;AACA;AACA;;;;;;;ACJA;AACA;AACA;AACA;AACA;;;;;;;ACJA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACJA;AAEA;AAGA;AAEA;AAEA;;;;;AACA;AACA;AAEA;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AACA;AAAA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AAEA;;AAEA;AAEA;AACA;;AARA;AACA;AAEA;;AAEA;AAEA;AACA;AAEA;;AAAA;;;;;AACA","sources":["webpack://SpotOnDays.WebClient/./src/home/app-start.ts","webpack://SpotOnDays.WebClient/./src/account/external-login-failure/external-login-failure.ts","webpack://SpotOnDays.WebClient/./src/account/login/login.ts","webpack://SpotOnDays.WebClient/./src/account/unauthorized/unauthorized.ts","webpack://SpotOnDays.WebClient/./src/common/enums.ts","webpack://SpotOnDays.WebClient/./src/common/view-model-base.ts","webpack://SpotOnDays.WebClient/./src/common/view-model-public-base.ts","webpack://SpotOnDays.WebClient/./src/error/error404.ts","webpack://SpotOnDays.WebClient/./src/home/about/about.ts","webpack://SpotOnDays.WebClient/./src/home/help/help.ts","webpack://SpotOnDays.WebClient/./src/home/index.ts","webpack://SpotOnDays.WebClient/./src/mood-calendar/mood-calendar.ts","webpack://SpotOnDays.WebClient/./src/resources/elements/nav-bar.ts","webpack://SpotOnDays.WebClient/./src/resources/index.ts","webpack://SpotOnDays.WebClient/./src/services/cache-service.ts","webpack://SpotOnDays.WebClient/./src/services/infrastructure.ts","webpack://SpotOnDays.WebClient/./src/services/logger.ts","webpack://SpotOnDays.WebClient/./src/shell/app-config.ts","webpack://SpotOnDays.WebClient/./src/shell/roots/public-routes.ts","webpack://SpotOnDays.WebClient/./src/shell/roots/public.ts","webpack://SpotOnDays.WebClient/./src/spy/spy.ts","webpack://SpotOnDays.WebClient/./src/home/correspondence/correspondence-service.ts","webpack://SpotOnDays.WebClient/./src/home/correspondence/correspondence.ts","webpack://SpotOnDays.WebClient/./src/shell/roots/user-routes.ts","webpack://SpotOnDays.WebClient/./src/shell/roots/user.ts","webpack://SpotOnDays.WebClient/./src/user/dashboard/dashboard.ts","webpack://SpotOnDays.WebClient/./src/user/feedback/feedback.ts","webpack://SpotOnDays.WebClient/./src/account/register/register-step1.html?a4bc","webpack://SpotOnDays.WebClient/./src/account/register/register-step2.html?7c45","webpack://SpotOnDays.WebClient/./src/account/register/register-step3.html?d082","webpack://SpotOnDays.WebClient/./src/resources/dialogs/a2hs-prompt/android-a2hs-prompt.html?6a44","webpack://SpotOnDays.WebClient/./src/resources/dialogs/a2hs-prompt/ios-a2hs-prompt.html?1112","webpack://SpotOnDays.WebClient/./src/home/copyright/copyright.ts","webpack://SpotOnDays.WebClient/./src/home/disclaimer/disclaimer.ts","webpack://SpotOnDays.WebClient/./src/home/privacy/privacy.ts","webpack://SpotOnDays.WebClient/./src/home/terms/terms.ts","webpack://SpotOnDays.WebClient/src/C:\\Project\\Dev\\SpotOnDays\\SpotOnDays.WebClient\\src\\main.ts"],"sourcesContent":["module.exports = function(cb) {\n\trequire.ensure([], function(require) {\n\t\tcb(require(\"!!../../node_modules/ts-loader/index.js!./app-start.ts\"));\n\t}, \"appstart\");\n}","module.exports = function(cb) {\n\trequire.ensure([], function(require) {\n\t\tcb(require(\"!!../../../node_modules/ts-loader/index.js!./external-login-failure.ts\"));\n\t}, \"publicuser\");\n}","module.exports = function(cb) {\n\trequire.ensure([], function(require) {\n\t\tcb(require(\"!!../../../node_modules/ts-loader/index.js!./login.ts\"));\n\t}, \"publicuser\");\n}","module.exports = function(cb) {\n\trequire.ensure([], function(require) {\n\t\tcb(require(\"!!../../../node_modules/ts-loader/index.js!./unauthorized.ts\"));\n\t}, \"publicuser\");\n}","module.exports = function(cb) {\n\trequire.ensure([], function(require) {\n\t\tcb(require(\"!!../../node_modules/ts-loader/index.js!./enums.ts\"));\n\t}, \"publicuser\");\n}","module.exports = function(cb) {\n\trequire.ensure([], function(require) {\n\t\tcb(require(\"!!../../node_modules/ts-loader/index.js!./view-model-base.ts\"));\n\t}, \"publicuser\");\n}","module.exports = function(cb) {\n\trequire.ensure([], function(require) {\n\t\tcb(require(\"!!../../node_modules/ts-loader/index.js!./view-model-public-base.ts\"));\n\t}, \"publicuser\");\n}","module.exports = function(cb) {\n\trequire.ensure([], function(require) {\n\t\tcb(require(\"!!../../node_modules/ts-loader/index.js!./error404.ts\"));\n\t}, \"publicuser\");\n}","module.exports = function(cb) {\n\trequire.ensure([], function(require) {\n\t\tcb(require(\"!!../../../node_modules/ts-loader/index.js!./about.ts\"));\n\t}, \"publicuser\");\n}","module.exports = function(cb) {\n\trequire.ensure([], function(require) {\n\t\tcb(require(\"!!../../../node_modules/ts-loader/index.js!./help.ts\"));\n\t}, \"publicuser\");\n}","module.exports = function(cb) {\n\trequire.ensure([], function(require) {\n\t\tcb(require(\"!!../../node_modules/ts-loader/index.js!./index.ts\"));\n\t}, \"publicuser\");\n}","module.exports = function(cb) {\n\trequire.ensure([], function(require) {\n\t\tcb(require(\"!!../../node_modules/ts-loader/index.js!./mood-calendar.ts\"));\n\t}, \"publicuser\");\n}","module.exports = function(cb) {\n\trequire.ensure([], function(require) {\n\t\tcb(require(\"!!../../../node_modules/ts-loader/index.js!./nav-bar.ts\"));\n\t}, \"publicuser\");\n}","module.exports = function(cb) {\n\trequire.ensure([], function(require) {\n\t\tcb(require(\"!!../../node_modules/ts-loader/index.js!./index.ts\"));\n\t}, \"publicuser\");\n}","module.exports = function(cb) {\n\trequire.ensure([], function(require) {\n\t\tcb(require(\"!!../../node_modules/ts-loader/index.js!./cache-service.ts\"));\n\t}, \"publicuser\");\n}","module.exports = function(cb) {\n\trequire.ensure([], function(require) {\n\t\tcb(require(\"!!../../node_modules/ts-loader/index.js!./infrastructure.ts\"));\n\t}, \"publicuser\");\n}","module.exports = function(cb) {\n\trequire.ensure([], function(require) {\n\t\tcb(require(\"!!../../node_modules/ts-loader/index.js!./logger.ts\"));\n\t}, \"publicuser\");\n}","module.exports = function(cb) {\n\trequire.ensure([], function(require) {\n\t\tcb(require(\"!!../../node_modules/ts-loader/index.js!./app-config.ts\"));\n\t}, \"publicuser\");\n}","module.exports = function(cb) {\n\trequire.ensure([], function(require) {\n\t\tcb(require(\"!!../../../node_modules/ts-loader/index.js!./public-routes.ts\"));\n\t}, \"publicuser\");\n}","module.exports = function(cb) {\n\trequire.ensure([], function(require) {\n\t\tcb(require(\"!!../../../node_modules/ts-loader/index.js!./public.ts\"));\n\t}, \"publicuser\");\n}","module.exports = function(cb) {\n\trequire.ensure([], function(require) {\n\t\tcb(require(\"!!../../node_modules/ts-loader/index.js!./spy.ts\"));\n\t}, \"publicuser\");\n}","module.exports = function(cb) {\n\trequire.ensure([], function(require) {\n\t\tcb(require(\"!!../../../node_modules/ts-loader/index.js!./correspondence-service.ts\"));\n\t}, \"usermain\");\n}","module.exports = function(cb) {\n\trequire.ensure([], function(require) {\n\t\tcb(require(\"!!../../../node_modules/ts-loader/index.js!./correspondence.ts\"));\n\t}, \"usermain\");\n}","module.exports = function(cb) {\n\trequire.ensure([], function(require) {\n\t\tcb(require(\"!!../../../node_modules/ts-loader/index.js!./user-routes.ts\"));\n\t}, \"usermain\");\n}","module.exports = function(cb) {\n\trequire.ensure([], function(require) {\n\t\tcb(require(\"!!../../../node_modules/ts-loader/index.js!./user.ts\"));\n\t}, \"usermain\");\n}","module.exports = function(cb) {\n\trequire.ensure([], function(require) {\n\t\tcb(require(\"!!../../../node_modules/ts-loader/index.js!./dashboard.ts\"));\n\t}, \"usermain\");\n}","module.exports = function(cb) {\n\trequire.ensure([], function(require) {\n\t\tcb(require(\"!!../../../node_modules/ts-loader/index.js!./feedback.ts\"));\n\t}, \"usermain\");\n}","module.exports = function(cb) {\n\trequire.ensure([], function(require) {\n\t\tcb(require(\"!!../../../node_modules/html-loader/dist/cjs.js??ruleSet[1].rules[5]!../../../node_modules/aurelia-webpack-plugin/dist/html-requires-loader.js!./register-step1.html\"));\n\t}, \"utility\");\n}","module.exports = function(cb) {\n\trequire.ensure([], function(require) {\n\t\tcb(require(\"!!../../../node_modules/html-loader/dist/cjs.js??ruleSet[1].rules[5]!../../../node_modules/aurelia-webpack-plugin/dist/html-requires-loader.js!./register-step2.html\"));\n\t}, \"utility\");\n}","module.exports = function(cb) {\n\trequire.ensure([], function(require) {\n\t\tcb(require(\"!!../../../node_modules/html-loader/dist/cjs.js??ruleSet[1].rules[5]!../../../node_modules/aurelia-webpack-plugin/dist/html-requires-loader.js!./register-step3.html\"));\n\t}, \"utility\");\n}","module.exports = function(cb) {\n\trequire.ensure([], function(require) {\n\t\tcb(require(\"!!../../../../node_modules/html-loader/dist/cjs.js??ruleSet[1].rules[5]!../../../../node_modules/aurelia-webpack-plugin/dist/html-requires-loader.js!./android-a2hs-prompt.html\"));\n\t}, \"utility\");\n}","module.exports = function(cb) {\n\trequire.ensure([], function(require) {\n\t\tcb(require(\"!!../../../../node_modules/html-loader/dist/cjs.js??ruleSet[1].rules[5]!../../../../node_modules/aurelia-webpack-plugin/dist/html-requires-loader.js!./ios-a2hs-prompt.html\"));\n\t}, \"utility\");\n}","module.exports = function(cb) {\n\trequire.ensure([], function(require) {\n\t\tcb(require(\"!!../../../node_modules/ts-loader/index.js!./copyright.ts\"));\n\t}, \"utility\");\n}","module.exports = function(cb) {\n\trequire.ensure([], function(require) {\n\t\tcb(require(\"!!../../../node_modules/ts-loader/index.js!./disclaimer.ts\"));\n\t}, \"utility\");\n}","module.exports = function(cb) {\n\trequire.ensure([], function(require) {\n\t\tcb(require(\"!!../../../node_modules/ts-loader/index.js!./privacy.ts\"));\n\t}, \"utility\");\n}","module.exports = function(cb) {\n\trequire.ensure([], function(require) {\n\t\tcb(require(\"!!../../../node_modules/ts-loader/index.js!./terms.ts\"));\n\t}, \"utility\");\n}","import { PLATFORM } from \"aurelia-pal\";\r\nimport { Aurelia, Container } from \"aurelia-framework\";\r\nimport * as LogManager from \"aurelia-logging\";\r\nimport { ConsoleAppender } from \"aurelia-logging-console\";\r\nimport { AppSecurity } from \"services/appsecurity\";\r\nimport environment from \"../config/environment.json\";\r\nimport { HttpClient, } from \"aurelia-fetch-client\";\r\n//import { MockHttpClient } from \"backend/mock-httpclient\";\r\n\r\nexport async function configure(aurelia: Aurelia) {\r\n // Aurelia add a default ConsoleAppender so we don't nee3d to add it.\r\n LogManager.setLevel(LogManager.logLevel.debug);\r\n\r\n await aurelia.loader.loadModule(PLATFORM.moduleName(\"materialize-css\"));\r\n // The below is the current maintained version, but this will require updating\r\n /// SASS components and testing.\r\n //await aurelia.loader.loadModule(PLATFORM.moduleName(\"@materializecss/materialize\"));\r\n // Additional configuration modules loaded in appStart postAttached method. This is necessary\r\n // to increase the load time and improve the Lighthouse performance score.\r\n aurelia.use\r\n .standardConfiguration();\r\n\r\n if (environment.useMockFetchClient) {\r\n //Create fake httpClient for testing.\r\n //aurelia.container.autoRegister(HttpClient, MockHttpClient);\r\n }\r\n\r\n // Uncomment the line below to enable animation.\r\n // aurelia.use.plugin(PLATFORM.moduleName(\"aurelia-animator-css\"));\r\n // if the css animator is enabled, add swap-order=\"after\" to all router-view elements\r\n\r\n // Anyone wanting to use HTMLImports to load views, will need to install the following plugin.\r\n // aurelia.use.plugin(PLATFORM.moduleName(\"aurelia-html-import-template-loader\"));\r\n\r\n if (environment.debug) {\r\n console.warn(\"** Aurelia debugging enabled **\")\r\n aurelia.use.developmentLogging(\"debug\");\r\n } else {\r\n aurelia.use.developmentLogging(\"warn\");\r\n }\r\n\r\n if (environment.testing) {\r\n console.warn(\"** Aurelia testing enabled **\");\r\n aurelia.use.plugin(PLATFORM.moduleName(\"aurelia-testing\"));\r\n }\r\n\r\n // start up\r\n //user root\r\n\r\n //public root\r\n PLATFORM.moduleName(\"spy/spy\", \"publicuser\");\r\n PLATFORM.moduleName(\"mood-calendar/mood-calendar\", \"publicuser\");\r\n PLATFORM.moduleName(\"shell/roots/public\", \"publicuser\");\r\n PLATFORM.moduleName(\"shell/roots/public-routes.ts\", \"publicuser\");\r\n //PLATFORM.moduleName(\"shell/roots/user\", \"publicuser\");\r\n PLATFORM.moduleName(\"shell/roots/user-routes.ts\", \"usermain\");\r\n PLATFORM.moduleName(\"home/index\", \"publicuser\");\r\n\r\n PLATFORM.moduleName(\"common/view-model-base.ts\", \"publicuser\");\r\n PLATFORM.moduleName(\"common/view-model-public-base.ts\", \"publicuser\");\r\n PLATFORM.moduleName(\"services/logger\", \"publicuser\");\r\n PLATFORM.moduleName(\"common/enums\", \"publicuser\");\r\n PLATFORM.moduleName(\"services/cache-service\", \"publicuser\");\r\n PLATFORM.moduleName(\"resources/elements/nav-bar\", \"publicuser\");\r\n\r\n PLATFORM.moduleName(\"shell/app-config\", \"publicuser\");\r\n PLATFORM.moduleName(\"services/infrastructure\", \"publicuser\");\r\n\r\n PLATFORM.moduleName(\"account/register/register-step1.html\", \"utility\");\r\n PLATFORM.moduleName(\"account/register/register-step2.html\", \"utility\");\r\n PLATFORM.moduleName(\"account/register/register-step3.html\", \"utility\");\r\n //PLATFORM.moduleName(\"account/register/register-step4.html\", \"utility\");\r\n\r\n PLATFORM.moduleName(\"account/external-login-failure/external-login-failure\", \"publicuser\");\r\n PLATFORM.moduleName(\"account/login/login\", \"publicuser\");\r\n PLATFORM.moduleName(\"home/about/about\", \"publicuser\");\r\n PLATFORM.moduleName(\"home/help/help\", \"publicuser\");\r\n PLATFORM.moduleName(\"resources/index\", \"publicuser\");\r\n PLATFORM.moduleName(\"home/copyright/copyright\", \"utility\");\r\n PLATFORM.moduleName(\"home/correspondence/correspondence-service\", \"usermain\");\r\n PLATFORM.moduleName(\"home/correspondence/correspondence\", \"usermain\");\r\n PLATFORM.moduleName(\"user/feedback/feedback\", \"usermain\");\r\n PLATFORM.moduleName(\"user/dashboard/dashboard\", \"usermain\");\r\n PLATFORM.moduleName(\"shell/roots/user\", \"usermain\")\r\n\r\n PLATFORM.moduleName(\"home/disclaimer/disclaimer\", \"utility\");\r\n PLATFORM.moduleName(\"home/privacy/privacy\", \"utility\");\r\n PLATFORM.moduleName(\"home/terms/terms\", \"utility\");\r\n\r\n PLATFORM.moduleName(\"error/error404\", \"publicuser\");\r\n PLATFORM.moduleName(\"account/unauthorized/unauthorized\", \"publicuser\");\r\n PLATFORM.moduleName(\"resources/dialogs/a2hs-prompt/ios-a2hs-prompt.html\", \"utility\");\r\n PLATFORM.moduleName(\"resources/dialogs/a2hs-prompt/android-a2hs-prompt.html\", \"utility\");\r\n\r\n //Test server and static data base disable when real back is working.\r\n //PLATFORM.moduleName(\"backend/mock-httpclient\", \"publicuser\");\r\n \r\n /*\r\n aurelia.use.plugin(PLATFORM.moduleName(\"home/velocity-test/sequences\", \"main\"));\r\n */\r\n\r\n // Startup Aurelia and set the appropriate root.\r\n await aurelia.start();\r\n \r\n await aurelia.setRoot(PLATFORM.moduleName(\"home/app-start\", \"appstart\"));\r\n}\r\n"],"names":[],"sourceRoot":""}