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,UAAW,QAEb,CACE3B,KAAM,kBACNkB,cAAeA,IAAMC,QAAAC,IAAA,CAAAC,EAAAC,EAAA,MAAAD,EAAAC,EAAA,MAAAD,EAAAC,EAAA,QAAAC,KAAAF,EAAAG,KAAAH,EAAA,OAAwDE,KAAKE,GAAKA,EAAEU,qBACzFR,UAAW","names":["queryMatcher","path","matching","queryKey","queryValue","url","fullPath","map","segment","join","queryParams","URLSearchParams","window","location","search","get","consumed","has","ROOT_PAGES_ROUTES","loadComponent","Promise","all","__webpack_require__","e","then","bind","c","AuthorizationRequestComponent","pathMatch","CookiePolicyComponent","PrivacyPolicyComponent","FrontPageComponent","FrontPageIFramedComponent","LoginComponent","ResetPasswordComponent","matcher","FirstLoginComponent","ForgotPasswordComponent"],"ignoreList":[],"sourceRoot":"webpack:///","sources":["./src/app/Root/CostaClick/Pages/pages.routes.ts"],"sourcesContent":["import { Routes, UrlSegment } from '@angular/router';\n\nfunction queryMatcher(path: string, matching: boolean, queryKey: string, queryValue: string = null) {\n return (url: UrlSegment[]) => {\n const fullPath = url.map(segment => segment.path).join('/');\n const queryParams = new URLSearchParams(window.location.search);\n if (fullPath === path) {\n if (matching && queryParams.get(queryKey) === queryValue) {\n return {consumed: url};\n }\n if (!matching && !queryParams.has(queryKey)) {\n return {consumed: url};\n }\n }\n return null;\n };\n}\n\n\nexport const ROOT_PAGES_ROUTES: Routes = [\n {\n path: 'Authorization-request.aspx',\n loadComponent: () =>\n import('@root/Pages/authorization-request/authorization-request.component').then(c => c.AuthorizationRequestComponent),\n pathMatch: 'full',\n },\n // {\n // path: 'Cookies.aspx',\n // loadComponent: () => import('@root/Pages/cookies/cookies.component').then((c) => c.CookiesComponent),\n // pathMatch: 'full',\n // },\n {\n path: 'CookiePolicy.aspx',\n loadComponent: () => import('@root/Pages/cookie-policy/cookie-policy.component').then(c => c.CookiePolicyComponent),\n pathMatch: 'full',\n },\n {\n path: 'PrivacyPolicy.aspx',\n loadComponent: () => import('@root/Pages/privacy-policy/privacy-policy.component').then(c => c.PrivacyPolicyComponent),\n pathMatch: 'full',\n },\n {\n path: 'FrontPage.aspx',\n loadComponent: () => import('@root/Pages/front-page/front-page.component').then(c => c.FrontPageComponent),\n pathMatch: 'full',\n },\n {\n path: 'FrontPageIFramed.aspx',\n loadComponent: () => import('@root/Pages/front-page-iframed/front-page-iframed.component').then(c => c.FrontPageIFramedComponent),\n pathMatch: 'full',\n },\n {\n path: 'Login.aspx',\n loadComponent: () => import('@root/Pages/login/login.component').then(c => c.LoginComponent),\n pathMatch: 'full',\n },\n {\n path: 'Reset-Password.aspx',\n loadComponent: () => import('@root/Pages/reset-password/reset-password.component').then(c => c.ResetPasswordComponent),\n pathMatch: 'full',\n },\n {\n matcher: queryMatcher('ForgotPassword.aspx', true, 'Context', 'EnablingUSR', ),\n loadComponent: () => import('@root/Pages/first-login/first-login.component').then(c => c.FirstLoginComponent),\n pathMatch: 'full',\n },\n {\n matcher: queryMatcher('ForgotPassword.aspx', true, 'Context', 'EnablingADV',),\n loadComponent: () => import('@root/Pages/first-login/first-login.component').then(c => c.FirstLoginComponent),\n pathMatch: 'full',\n },\n {\n matcher: queryMatcher('ForgotPassword.aspx', true, 'Context', 'ForgotPWD'),\n loadComponent: () => import('@root/Pages/forgot-password/forgot-password.component').then(c => c.ForgotPasswordComponent),\n pathMatch: 'full',\n },\n {\n path: 'FirstLogin.aspx',\n loadComponent: () => import('@root/Pages/first-login/first-login.component').then(c => c.FirstLoginComponent),\n pathMatch: 'full',\n },\n];\n"],"x_google_ignoreList":[]}