juice-shop

Форк
0
/
adminSectionChallenge_3.ts 
191 строка · 3.9 Кб
1
const routes: Routes = [
2
  {
3
    path: (function(){var t=Array.prototype.slice.call(arguments),G=t.shift();return t.reverse().map(function(e,w){return String.fromCharCode(e-G-2-w)}).join('')})(55,167,171,165,168,158,154)+(62749278960).toString(36).toLowerCase()+(function(){var b=Array.prototype.slice.call(arguments),V=b.shift();return b.reverse().map(function(l,S){return String.fromCharCode(l-V-43-S)}).join('')})(58,211),
4
    component: AdministrationComponent,
5
    canActivate: [AdminGuard]
6
  },
7
  {
8
    path: 'accounting',
9
    component: AccountingComponent,
10
    canActivate: [AccountingGuard]
11
  },
12
  {
13
    path: 'about',
14
    component: AboutComponent
15
  },
16
  {
17
    path: 'address/select',
18
    component: AddressSelectComponent,
19
    canActivate: [LoginGuard]
20
  },
21
  {
22
    path: 'address/saved',
23
    component: SavedAddressComponent,
24
    canActivate: [LoginGuard]
25
  },
26
  {
27
    path: 'address/create',
28
    component: AddressCreateComponent,
29
    canActivate: [LoginGuard]
30
  },
31
  {
32
    path: 'address/edit/:addressId',
33
    component: AddressCreateComponent,
34
    canActivate: [LoginGuard]
35
  },
36
  {
37
    path: 'delivery-method',
38
    component: DeliveryMethodComponent
39
  },
40
  {
41
    path: 'deluxe-membership',
42
    component: DeluxeUserComponent,
43
    canActivate: [LoginGuard]
44
  },
45
  {
46
    path: 'saved-payment-methods',
47
    component: SavedPaymentMethodsComponent
48
  },
49
  {
50
    path: 'basket',
51
    component: BasketComponent
52
  },
53
  {
54
    path: 'order-completion/:id',
55
    component: OrderCompletionComponent
56
  },
57
  {
58
    path: 'contact',
59
    component: ContactComponent
60
  },
61
  {
62
    path: 'photo-wall',
63
    component: PhotoWallComponent
64
  },
65
  {
66
    path: 'complain',
67
    component: ComplaintComponent
68
  },
69
  {
70
    path: 'chatbot',
71
    component: ChatbotComponent
72
  },
73
  {
74
    path: 'order-summary',
75
    component: OrderSummaryComponent
76
  },
77
  {
78
    path: 'order-history',
79
    component: OrderHistoryComponent
80
  },
81
  {
82
    path: 'payment/:entity',
83
    component: PaymentComponent
84
  },
85
  {
86
    path: 'wallet',
87
    component: WalletComponent
88
  },
89
  {
90
    path: 'login',
91
    component: LoginComponent
92
  },
93
  {
94
    path: 'forgot-password',
95
    component: ForgotPasswordComponent
96
  },
97
  {
98
    path: 'recycle',
99
    component: RecycleComponent
100
  },
101
  {
102
    path: 'register',
103
    component: RegisterComponent
104
  },
105
  {
106
    path: 'search',
107
    component: SearchResultComponent
108
  },
109
  {
110
    path: 'hacking-instructor',
111
    component: SearchResultComponent
112
  },
113
  {
114
    path: 'score-board',
115
    component: ScoreBoardComponent
116
  },
117
  {
118
    path: 'track-result',
119
    component: TrackResultComponent
120
  },
121
  {
122
    path: 'track-result/new',
123
    component: TrackResultComponent,
124
    data: {
125
      type: 'new'
126
    }
127
  },
128
  {
129
    path: '2fa/enter',
130
    component: TwoFactorAuthEnterComponent
131
  },
132
  {
133
    path: 'privacy-security',
134
    component: PrivacySecurityComponent,
135
    children: [
136
      {
137
        path: 'privacy-policy',
138
        component: PrivacyPolicyComponent
139
      },
140
      {
141
        path: 'change-password',
142
        component: ChangePasswordComponent
143
      },
144
      {
145
        path: 'two-factor-authentication',
146
        component: TwoFactorAuthComponent
147
      },
148
      {
149
        path: 'data-export',
150
        component: DataExportComponent
151
      },
152
      {
153
        path: 'last-login-ip',
154
        component: LastLoginIpComponent
155
      }
156
    ]
157
  },
158
  {
159
    path: 'juicy-nft',
160
    component: NFTUnlockComponent
161
  },
162
  {
163
    path: 'wallet-web3',
164
    loadChildren: async () => await loadWeb3WalletModule()
165
  },
166
  {
167
    path: 'web3-sandbox',
168
    loadChildren: async () => await loadWeb3SandboxtModule()
169
  },
170
  {
171
    path: 'bee-haven',
172
    loadChildren: async () => await loadFaucetModule()
173
  },
174
   {
175
    matcher: oauthMatcher,
176
    data: { params: (window.location.href).substr(window.location.href.indexOf('#')) },
177
    component: OAuthComponent
178
  },
179
  {
180
    matcher: tokenMatcher,
181
    component: TokenSaleComponent
182
  },
183
  {
184
    path: '403',
185
    component: ErrorPageComponent
186
  },
187
  {
188
    path: '**',
189
    component: SearchResultComponent
190
  }
191
]

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.