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mBAAoB,aACpBG,SAAU,CACRC,OAAQ,CAAC,gB,KAIXV,MAAO,+BACPC,KAAM,yBACH,GAAmB,CACtBE,SAAU,uEAIVG,mBAAoB,aACpBG,SAAU,CACRC,OAAQ,CAAC,gB,KAIXV,MAAO,gDACPC,KAAM,qBACH,GAAmB,CACtBE,SAAU,mEAIVG,mBAAoB,aACpBG,SAAU,CACRC,OAAQ,CAAC,gB,KAIXV,MAAO,gDACPC,KAAM,0BACH,GAAmB,CACtBE,SAAU,mEAIVG,mBAAoB,aACpBG,SAAU,CACRC,OAAQ,CAAC,gB,KAIXV,MAAO,6CACPC,KAAM,sBACH,GAAmB,CACtBE,SAAU,mEAIVG,mBAAoB,aACpBG,SAAU,CACRC,OAAQ,CAAC,gB,KAIXV,MAAO,+CACPC,KAAM,yBACH,GAAmB,CACtBE,SAAU,sEAIVG,mBAAoB,aACpBG,SAAU,CACRC,OAAQ,CAAC,gB,KAIXV,MAAO,+BACPC,KAAM,yBACH,GAAmB,CACtBE,SAAU,kEAIVG,mBAAoB,aACpBG,SAAU,CACRC,OAAQ,CAAC,gB,KAIXV,MAAO,2CACPC,KAAM,qBACH,GAAmB,CACtBE,SAAU,8DACVG,mBAAoB,aACpBG,SAAU,CACRC,OAAQ,CAAC,iBChSFM,EAAoB,CAC/B,CACEhB,MAAO,cACPC,KAAM,cACNE,SAAU,6CACVG,mBAAoB,aACpBG,SAAU,CACRC,OAAQ,M,4dCFDO,EAAY,EAAH,WACpB,CAAEjB,MAAO,cAAeC,KAAM,aAAcC,KAAK,EAAOC,SAAU,0B,EAC/DJ,IAAU,KACVS,IAAY,KACZM,IAAW,KACXC,IAAc,KACdF,IAAa,KACbG,IAAiB,E","sources":["webpack://iadviser/./src/route-definitions/home.ts","webpack://iadviser/./src/route-definitions/client.ts","webpack://iadviser/./src/route-definitions/reports.ts","webpack://iadviser/./src/route-definitions/admin.ts","webpack://iadviser/./src/route-definitions/accounts.ts","webpack://iadviser/./src/route-definitions/diagnostics.ts","webpack://iadviser/./src/route-definitions/index.ts"],"sourcesContent":["import { activationStrategy } from 'aurelia-router';\r\n\r\nimport { PLATFORM } from 'aurelia-pal';\r\n\r\nexport const footerLayoutModules = {\r\n layoutView: PLATFORM.moduleName('router-layouts/default-layout-with-footer/default-layout-with-footer.html'),\r\n layoutViewModel: PLATFORM.moduleName('router-layouts/default-layout-with-footer/default-layout-with-footer'),\r\n};\r\n\r\nexport const homeRoutes = [\r\n {\r\n route: ['', 'home'],\r\n name: 'home',\r\n nav: true,\r\n moduleId: PLATFORM.moduleName('routes/app-adviser/home/home'),\r\n },\r\n {\r\n route: 'pre-renewal',\r\n name: 'preRenewal',\r\n ...footerLayoutModules,\r\n moduleId: PLATFORM.moduleName('routes/app-adviser/pre-renewals/pre-renewals'),\r\n activationStrategy: activationStrategy.replace,\r\n },\r\n];\r\n","import { PLATFORM } from 'aurelia-pal';\r\nimport { activationStrategy } from 'aurelia-router';\r\n\r\nexport const footerLayoutModules = {\r\n layoutView: PLATFORM.moduleName('router-layouts/default-layout-with-footer/default-layout-with-footer.html'),\r\n layoutViewModel: PLATFORM.moduleName('router-layouts/default-layout-with-footer/default-layout-with-footer'),\r\n};\r\n\r\nexport const clientLayoutModules = {\r\n layoutView: PLATFORM.moduleName('router-layouts/client-layout/client-layout.html'),\r\n layoutViewModel: PLATFORM.moduleName('router-layouts/client-layout/client-layout'),\r\n};\r\n\r\nexport const clientRoutes = [\r\n {\r\n route: 'client/new/:id?',\r\n name: 'newClient',\r\n ...footerLayoutModules,\r\n moduleId: PLATFORM.moduleName('routes/app-adviser/client/new/new', 'client-new'),\r\n activationStrategy: activationStrategy.replace,\r\n settings: {\r\n claims: ['IadviserProcessingClientNewClient'],\r\n },\r\n },\r\n // client routes\r\n {\r\n route: 'client/:id',\r\n name: 'clientHome',\r\n ...clientLayoutModules,\r\n moduleId: PLATFORM.moduleName('routes/app-adviser/client/home/home', 'client-home'),\r\n activationStrategy: activationStrategy.replace,\r\n settings: {\r\n clientAction: true,\r\n clientNavLabel: 'clientHome',\r\n claims: ['IadviserProcessingClientFindClientView', 'IadviserProcessingClientFindClientEdit'],\r\n },\r\n },\r\n {\r\n route: 'client/:id/insured/:clientInsuredPartyId?',\r\n name: 'clientInsured',\r\n ...clientLayoutModules,\r\n moduleId: PLATFORM.moduleName('routes/app-adviser/client/insured/insured', 'client-insured'),\r\n activationStrategy: activationStrategy.replace,\r\n settings: {\r\n clientAction: true,\r\n clientNavLabel: 'insured',\r\n claims: ['IadviserProcessingInsurednameFindInsuredNameView', 'IadviserProcessingInsurednameFindInsuredNameEdit'],\r\n },\r\n },\r\n {\r\n route: 'client/:id/insured/new',\r\n name: 'insuredNameNew',\r\n ...clientLayoutModules,\r\n moduleId: PLATFORM.moduleName('routes/app-adviser/client/insured/insured', 'client-insured'),\r\n activationStrategy: activationStrategy.replace,\r\n settings: {\r\n clientAction: true,\r\n clientNavLabel: 'insured',\r\n claims: ['IadviserProcessingInsurednameNewInsuredName'],\r\n },\r\n },\r\n {\r\n route: 'client/:id/quotes/wizard/:entityMode/:entityType/:step/:statusTypeId/:versionNo/:isTakeUp',\r\n name: 'newQuote',\r\n ...clientLayoutModules,\r\n moduleId: PLATFORM.moduleName('routes/app-adviser/client/wizard/wizard'),\r\n activationStrategy: activationStrategy.replace,\r\n settings: {\r\n claims: ['IadviserProcessingQuoteNewQuote'],\r\n },\r\n },\r\n {\r\n route:\r\n 'client/:id/wizard/go/:parentEntityId/:entityId/:actionType/:entityType/:entityMode/:step/:statusTypeId/:versionNo/:newActionType?',\r\n name: 'wizard',\r\n ...clientLayoutModules,\r\n moduleId: PLATFORM.moduleName('routes/app-adviser/client/wizard/wizard'),\r\n activationStrategy: activationStrategy.replace,\r\n settings: {\r\n claims: [\r\n 'IadviserProcessingQuoteFindQuoteView',\r\n 'IadviserProcessingQuoteFindQuoteEdit',\r\n 'IadviserProcessingPolicyFindPolicyView',\r\n 'IadviserProcessingPolicyFindPolicyEdit',\r\n ],\r\n },\r\n },\r\n {\r\n route: 'client/:id/quotes/:quoteId?',\r\n name: 'clientQuotes',\r\n ...clientLayoutModules,\r\n moduleId: PLATFORM.moduleName('routes/app-adviser/client/quotes/quotes', 'client-quotes'),\r\n activationStrategy: activationStrategy.replace,\r\n settings: {\r\n clientAction: true,\r\n clientNavLabel: 'quotes',\r\n claims: ['IadviserProcessingQuoteFindQuoteView', 'IadviserProcessingQuoteFindQuoteEdit'],\r\n },\r\n },\r\n {\r\n // policyVersionId - used to open doc pack\r\n // statusTypeId - used to update policy filter, needed to return correct policies\r\n // versionNo - used to highlight version row\r\n route: 'client/:id/policies/:policyId?/:policyVersionId?/:statusTypeId?/:versionNo?',\r\n name: 'clientPolicies',\r\n ...clientLayoutModules,\r\n moduleId: PLATFORM.moduleName('routes/app-adviser/client/policies/policies', 'client-policies'),\r\n activationStrategy: activationStrategy.replace,\r\n settings: {\r\n clientAction: true,\r\n clientNavLabel: 'policies',\r\n claims: ['IadviserProcessingPolicyFindPolicyView', 'IadviserProcessingPolicyFindPolicyEdit'],\r\n },\r\n },\r\n {\r\n route: 'client/:id/claims/:claimId?',\r\n name: 'clientClaims',\r\n ...clientLayoutModules,\r\n moduleId: PLATFORM.moduleName('routes/app-adviser/client/claims/claims', 'client-claims'),\r\n activationStrategy: activationStrategy.replace,\r\n settings: {\r\n clientAction: true,\r\n clientNavLabel: 'claims',\r\n claims: ['IadviserProcessingClaimsFindClaimView', 'IadviserProcessingClaimsFindClaimEdit'],\r\n },\r\n },\r\n {\r\n route: 'client/:id/tasks/:taskId?/:taskTypeId?',\r\n name: 'clientTasks',\r\n ...clientLayoutModules,\r\n moduleId: PLATFORM.moduleName('routes/app-adviser/client/tasks/tasks', 'client-tasks'),\r\n activationStrategy: activationStrategy.replace,\r\n settings: {\r\n clientAction: true,\r\n clientNavLabel: 'tasks',\r\n claims: ['IadviserProcessingDiaryViewClientTasks', 'IadviserProcessingDiaryEditTask'],\r\n },\r\n },\r\n {\r\n route: 'client/:id/documents/:entityTaskOrDocumentId?/:defaultFolderId?',\r\n name: 'clientDocuments',\r\n ...clientLayoutModules,\r\n moduleId: PLATFORM.moduleName('routes/app-adviser/client/documents/documents', 'client-documents'),\r\n activationStrategy: activationStrategy.replace,\r\n settings: {\r\n clientAction: true,\r\n clientNavLabel: 'documents',\r\n claims: ['IadviserProcessingDocumentFindDocumentsView', 'IadviserProcessingDocumentFindDocumentsEdit'],\r\n },\r\n },\r\n {\r\n route: 'client/:id/advice/:adviceId?/:versionNo?',\r\n name: 'clientAdvice',\r\n ...clientLayoutModules,\r\n moduleId: PLATFORM.moduleName('routes/app-adviser/client/advice/advice', 'client-advice'),\r\n activationStrategy: activationStrategy.replace,\r\n settings: {\r\n clientAction: true,\r\n clientNavLabel: 'rpg',\r\n claims: ['IadviserProcessingAdviceView', 'IadviserProcessingAdviceEdit'],\r\n },\r\n },\r\n {\r\n route: 'client/:id/advice/new',\r\n name: 'clientAdviceNew',\r\n ...clientLayoutModules,\r\n moduleId: PLATFORM.moduleName('routes/app-adviser/client/advice/advice', 'client-advice'),\r\n activationStrategy: activationStrategy.replace,\r\n settings: {\r\n clientAction: true,\r\n clientNavLabel: 'rpg',\r\n claims: ['IadviserProcessingAdviceNew'],\r\n },\r\n },\r\n {\r\n route: 'client/:id/kyc',\r\n name: 'clientKyc',\r\n ...clientLayoutModules,\r\n moduleId: PLATFORM.moduleName('routes/app-adviser/client/know-your-client/know-your-client', 'know-your-client'),\r\n activationStrategy: activationStrategy.replace,\r\n settings: {\r\n clientAction: true,\r\n clientNavLabel: 'kyc',\r\n claims: ['IadviserProcessingKnowYourClientView', 'IadviserProcessingKnowYourClientEdit'],\r\n },\r\n },\r\n {\r\n route: 'client/:id/kyc/new',\r\n name: 'clientKycNew',\r\n ...clientLayoutModules,\r\n moduleId: PLATFORM.moduleName('routes/app-adviser/client/know-your-client/know-your-client', 'know-your-client'),\r\n activationStrategy: activationStrategy.replace,\r\n settings: {\r\n clientAction: true,\r\n clientNavLabel: 'kyc',\r\n claims: ['IadviserProcessingKnowYourClientNew'],\r\n },\r\n },\r\n {\r\n route: 'client/:id/claims/wizard/:parentEntityId/:entityMode/:entityType/:step',\r\n name: 'newClaim',\r\n ...clientLayoutModules,\r\n moduleId: PLATFORM.moduleName('routes/app-adviser/client/claims/wizard'),\r\n activationStrategy: activationStrategy.replace,\r\n settings: {\r\n claims: ['IadviserProcessingClaimsNewClaim'],\r\n },\r\n },\r\n {\r\n route: 'client/:id/wizard/go/:entityId/:entityType/:entityMode/:step?',\r\n name: 'claimWizard',\r\n ...clientLayoutModules,\r\n moduleId: PLATFORM.moduleName('routes/app-adviser/client/claims/wizard'),\r\n activationStrategy: activationStrategy.replace,\r\n settings: {\r\n claims: ['IadviserProcessingClaimsFindClaimView', 'IadviserProcessingClaimsFindClaimEdit'],\r\n },\r\n },\r\n {\r\n route: 'usageGuide',\r\n name: 'usageGuide',\r\n moduleId: PLATFORM.moduleName('routes/app-adviser/usage-guide/usage-guide'),\r\n },\r\n];\r\n","import { PLATFORM } from 'aurelia-pal';\r\nimport { activationStrategy } from 'aurelia-router';\r\n\r\nexport const footerLayoutModules = {\r\n layoutView: PLATFORM.moduleName('router-layouts/default-layout-with-footer/default-layout-with-footer.html'),\r\n layoutViewModel: PLATFORM.moduleName('router-layouts/default-layout-with-footer/default-layout-with-footer'),\r\n};\r\n\r\nexport const reportsRoutes = [\r\n {\r\n route: 'reports',\r\n name: 'app-reports',\r\n moduleId: PLATFORM.moduleName('routes/app-reports/app-reports', 'app-reports'),\r\n activationStrategy: activationStrategy.replace,\r\n settings: {\r\n claims: [],\r\n },\r\n },\r\n {\r\n route: 'reports/:systemKey',\r\n name: 'app-reports-view',\r\n ...footerLayoutModules,\r\n moduleId: PLATFORM.moduleName('routes/app-reports/app-reports-view', 'app-reports-view'),\r\n activationStrategy: activationStrategy.replace,\r\n settings: {\r\n claims: [],\r\n },\r\n },\r\n];\r\n","import { PLATFORM } from 'aurelia-pal';\r\nimport { activationStrategy } from 'aurelia-router';\r\n\r\nexport const adminRoutes = [\r\n {\r\n route: 'admin',\r\n name: 'app-admin',\r\n moduleId: PLATFORM.moduleName('routes/app-admin/app-admin', 'app-admin'),\r\n activationStrategy: activationStrategy.replace,\r\n settings: {\r\n claims: ['Iadmin'],\r\n },\r\n },\r\n {\r\n route: 'admin/:menuItemId',\r\n name: 'app-admin-view',\r\n moduleId: PLATFORM.moduleName('routes/app-admin/app-admin-view', 'app-admin-view'),\r\n activationStrategy: activationStrategy.replace,\r\n settings: {\r\n claims: ['Iadmin'],\r\n },\r\n },\r\n];\r\n","import { PLATFORM } from 'aurelia-pal';\r\nimport { activationStrategy } from 'aurelia-router';\r\n\r\nexport const footerLayoutModules = {\r\n layoutView: PLATFORM.moduleName('router-layouts/default-layout-with-footer/default-layout-with-footer.html'),\r\n layoutViewModel: PLATFORM.moduleName('router-layouts/default-layout-with-footer/default-layout-with-footer'),\r\n};\r\n\r\nexport const accountsRoutes = [\r\n {\r\n route: 'accounts',\r\n name: 'app-accounts',\r\n moduleId: PLATFORM.moduleName('routes/app-accounts/app-accounts', 'app-accounts'),\r\n activationStrategy: activationStrategy.replace,\r\n settings: {\r\n claims: ['Iaccounts'],\r\n },\r\n },\r\n {\r\n route: 'accounts/:menuItemId/:batchId?',\r\n name: 'app-accounts-view',\r\n ...footerLayoutModules,\r\n moduleId: PLATFORM.moduleName('routes/app-accounts/app-accounts-view', 'app-accounts-view'),\r\n activationStrategy: activationStrategy.replace,\r\n settings: {\r\n claims: ['Iaccounts'],\r\n },\r\n },\r\n {\r\n route: 'accounts/newClientBatch/:batchId?',\r\n name: 'new-client-batch',\r\n ...footerLayoutModules,\r\n moduleId: PLATFORM.moduleName('routes/app-accounts/views/client-payments/client-batch', 'client-batch'),\r\n activationStrategy: activationStrategy.replace,\r\n settings: {\r\n claims: ['Iaccounts'],\r\n },\r\n },\r\n {\r\n route: 'accounts/clientBatch/:batchId?',\r\n name: 'client-batch',\r\n ...footerLayoutModules,\r\n moduleId: PLATFORM.moduleName('routes/app-accounts/views/client-payments/client-batch', 'client-batch'),\r\n activationStrategy: activationStrategy.replace,\r\n settings: {\r\n claims: ['Iaccounts'],\r\n },\r\n },\r\n {\r\n route: 'accounts/newClientBatchFileUpload',\r\n name: 'upload-client-payment',\r\n ...footerLayoutModules,\r\n moduleId: PLATFORM.moduleName(\r\n 'routes/app-accounts/views/client-payments/upload-client-payment',\r\n 'upload-client-payment',\r\n ),\r\n activationStrategy: activationStrategy.replace,\r\n settings: {\r\n claims: ['Iaccounts'],\r\n },\r\n },\r\n {\r\n route: 'accounts/dishonourClientPayment',\r\n name: 'dishonour-client-payment',\r\n ...footerLayoutModules,\r\n moduleId: PLATFORM.moduleName(\r\n 'routes/app-accounts/views/client-payments/dishonour-client-payment',\r\n 'dishonour-client-payment',\r\n ),\r\n activationStrategy: activationStrategy.replace,\r\n settings: {\r\n claims: ['Iaccounts'],\r\n },\r\n },\r\n {\r\n route: 'accounts/newClientSettlement',\r\n name: 'new-client-settlement',\r\n ...footerLayoutModules,\r\n moduleId: PLATFORM.moduleName(\r\n 'routes/app-accounts/views/client-settlements/new-client-settlement',\r\n 'new-client-settlement',\r\n ),\r\n activationStrategy: activationStrategy.replace,\r\n settings: {\r\n claims: ['Iaccounts'],\r\n },\r\n },\r\n {\r\n route: 'accounts/clientSettlement/:settlementId?',\r\n name: 'client-settlement',\r\n ...footerLayoutModules,\r\n moduleId: PLATFORM.moduleName(\r\n 'routes/app-accounts/views/client-settlements/client-settlement',\r\n 'settlement-authorisation',\r\n ),\r\n activationStrategy: activationStrategy.replace,\r\n settings: {\r\n claims: ['Iaccounts'],\r\n },\r\n },\r\n {\r\n route: 'accounts/findClientSettlement/:clientId?/:journalId?',\r\n name: 'find-client-settlement',\r\n ...footerLayoutModules,\r\n moduleId: PLATFORM.moduleName(\r\n 'routes/app-accounts/views/client-settlements/find-client-settlement',\r\n 'find-client-settlement',\r\n ),\r\n activationStrategy: activationStrategy.replace,\r\n settings: {\r\n claims: ['Iaccounts'],\r\n },\r\n },\r\n {\r\n route: 'accounts/clientToClient',\r\n name: 'client-to-client',\r\n ...footerLayoutModules,\r\n moduleId: PLATFORM.moduleName('routes/app-accounts/views/journals/client-to-client', 'client-to-client'),\r\n activationStrategy: activationStrategy.replace,\r\n settings: {\r\n claims: ['Iaccounts'],\r\n },\r\n },\r\n {\r\n route: 'accounts/clientToSundry',\r\n name: 'client-to-sundry',\r\n ...footerLayoutModules,\r\n moduleId: PLATFORM.moduleName('routes/app-accounts/views/journals/client-to-sundry', 'client-to-sundry'),\r\n activationStrategy: activationStrategy.replace,\r\n settings: {\r\n claims: ['Iaccounts'],\r\n },\r\n },\r\n {\r\n route: 'accounts/sundryToClient',\r\n name: 'sundry-to-client',\r\n ...footerLayoutModules,\r\n moduleId: PLATFORM.moduleName('routes/app-accounts/views/journals/sundry-to-client', 'sundry-to-client'),\r\n activationStrategy: activationStrategy.replace,\r\n settings: {\r\n claims: ['Iaccounts'],\r\n },\r\n },\r\n {\r\n route: 'accounts/findJournal/:type?/:journalId?',\r\n name: 'find-journal',\r\n ...footerLayoutModules,\r\n moduleId: PLATFORM.moduleName('routes/app-accounts/views/journals/find-journal', 'find-journal'),\r\n activationStrategy: activationStrategy.replace,\r\n settings: {\r\n claims: ['Iaccounts'],\r\n },\r\n },\r\n {\r\n route: 'accounts/journalAuthorisation',\r\n name: 'journal-authorisation',\r\n ...footerLayoutModules,\r\n moduleId: PLATFORM.moduleName('routes/app-accounts/views/journals/journal-authorisation', 'journal-authorisation'),\r\n activationStrategy: activationStrategy.replace,\r\n settings: {\r\n claims: ['Iaccounts'],\r\n },\r\n },\r\n {\r\n route: 'accounts/newInsurerBatch/:batchId?',\r\n name: 'new-insurer-batch',\r\n ...footerLayoutModules,\r\n moduleId: PLATFORM.moduleName('routes/app-accounts/views/insurer-payments/insurer-batch', 'insurer-batch'),\r\n activationStrategy: activationStrategy.replace,\r\n settings: {\r\n claims: ['Iaccounts'],\r\n },\r\n },\r\n {\r\n route: 'accounts/insurerBatch/:batchId?',\r\n name: 'insurer-batch',\r\n ...footerLayoutModules,\r\n moduleId: PLATFORM.moduleName('routes/app-accounts/views/insurer-payments/insurer-batch', 'insurer-batch'),\r\n activationStrategy: activationStrategy.replace,\r\n settings: {\r\n claims: ['Iaccounts'],\r\n },\r\n },\r\n {\r\n route: 'accounts/newInsurerWorkfile',\r\n name: 'new-insurer-workfile',\r\n ...footerLayoutModules,\r\n moduleId: PLATFORM.moduleName(\r\n 'routes/app-accounts/views/insurer-settlements/new-insurer-workfile',\r\n 'new-insurer-workfile',\r\n ),\r\n activationStrategy: activationStrategy.replace,\r\n settings: {\r\n claims: ['Iaccounts'],\r\n },\r\n },\r\n {\r\n route: 'accounts/insurerWorkfile/:workfileId?',\r\n name: 'insurer-workfile',\r\n ...footerLayoutModules,\r\n moduleId: PLATFORM.moduleName('routes/app-accounts/views/insurer-settlements/insurer-workfile', 'insurer-workfile'),\r\n activationStrategy: activationStrategy.replace,\r\n settings: {\r\n claims: ['Iaccounts'],\r\n },\r\n },\r\n {\r\n route: 'accounts/newEarningsWorkfile',\r\n name: 'new-earnings-workfile',\r\n ...footerLayoutModules,\r\n moduleId: PLATFORM.moduleName(\r\n 'routes/app-accounts/views/earnings-settlements/new-earnings-workfile',\r\n 'new-earnings-workfile',\r\n ),\r\n activationStrategy: activationStrategy.replace,\r\n settings: {\r\n claims: ['Iaccounts'],\r\n },\r\n },\r\n {\r\n route: 'accounts/earningsWorkfile/:earningWorkfileId?',\r\n name: 'earnings-workfile',\r\n ...footerLayoutModules,\r\n moduleId: PLATFORM.moduleName(\r\n 'routes/app-accounts/views/earnings-settlements/earnings-workfile',\r\n 'earnings-workfile',\r\n ),\r\n activationStrategy: activationStrategy.replace,\r\n settings: {\r\n claims: ['Iaccounts'],\r\n },\r\n },\r\n {\r\n route: 'accounts/newElectronicPayment/:fileContentId?',\r\n name: 'new-electronic-payment',\r\n ...footerLayoutModules,\r\n moduleId: PLATFORM.moduleName(\r\n 'routes/app-accounts/views/electronic-payments/electronic-payment',\r\n 'electronic-payment',\r\n ),\r\n activationStrategy: activationStrategy.replace,\r\n settings: {\r\n claims: ['Iaccounts'],\r\n },\r\n },\r\n {\r\n route: 'accounts/electronicPayment/:fileContentId?',\r\n name: 'electronic-payment',\r\n ...footerLayoutModules,\r\n moduleId: PLATFORM.moduleName(\r\n 'routes/app-accounts/views/electronic-payments/electronic-payment',\r\n 'electronic-payment',\r\n ),\r\n activationStrategy: activationStrategy.replace,\r\n settings: {\r\n claims: ['Iaccounts'],\r\n },\r\n },\r\n {\r\n route: 'accounts/electronicSettlement/:paymentOutId?',\r\n name: 'electronic-settlement',\r\n ...footerLayoutModules,\r\n moduleId: PLATFORM.moduleName(\r\n 'routes/app-accounts/views/electronic-payments/electronic-settlement',\r\n 'electronic-settlement',\r\n ),\r\n activationStrategy: activationStrategy.replace,\r\n settings: {\r\n claims: ['Iaccounts'],\r\n },\r\n },\r\n {\r\n route: 'accounts/newChequeSettlement',\r\n name: 'new-cheque-settlement',\r\n ...footerLayoutModules,\r\n moduleId: PLATFORM.moduleName(\r\n 'routes/app-accounts/views/cheque-payments/new-cheque-settlement',\r\n 'new-cheque-settlement',\r\n ),\r\n activationStrategy: activationStrategy.replace,\r\n settings: {\r\n claims: ['Iaccounts'],\r\n },\r\n },\r\n {\r\n route: 'accounts/chequeSettlement/:paymentOutId?',\r\n name: 'cheque-settlement',\r\n ...footerLayoutModules,\r\n moduleId: PLATFORM.moduleName('routes/app-accounts/views/cheque-payments/cheque-settlement', 'cheque-settlement'),\r\n activationStrategy: activationStrategy.replace,\r\n settings: {\r\n claims: ['Iaccounts'],\r\n },\r\n },\r\n];\r\n","import { PLATFORM } from 'aurelia-pal';\r\nimport { activationStrategy } from 'aurelia-router';\r\n\r\nexport const diagnosticsRoutes = [\r\n {\r\n route: 'diagnostics',\r\n name: 'diagnostics',\r\n moduleId: PLATFORM.moduleName('routes/app-adviser/diagnostics/diagnostics', 'diagnostics'),\r\n activationStrategy: activationStrategy.replace,\r\n settings: {\r\n claims: [],\r\n },\r\n },\r\n];\r\n","import { PLATFORM } from 'aurelia-pal';\r\nimport { homeRoutes } from './home';\r\nimport { clientRoutes } from './client';\r\nimport { reportsRoutes } from './reports';\r\nimport { adminRoutes } from './admin';\r\nimport { accountsRoutes } from './accounts';\r\nimport { diagnosticsRoutes } from './diagnostics';\r\n\r\nexport const appRoutes = [\r\n { route: 'pdf-preview', name: 'pdfPreview', nav: false, moduleId: PLATFORM.moduleName('../routes/pdf-preview') },\r\n ...homeRoutes,\r\n ...clientRoutes,\r\n ...adminRoutes,\r\n ...accountsRoutes,\r\n ...reportsRoutes,\r\n ...diagnosticsRoutes,\r\n];\r\n"],"names":["homeRoutes","route","name","nav","moduleId","layoutView","layoutViewModel","activationStrategy","clientLayoutModules","clientRoutes","settings","claims","clientAction","clientNavLabel","reportsRoutes","adminRoutes","accountsRoutes","diagnosticsRoutes","appRoutes"],"sourceRoot":""}