{"version":3,"file":"chunk-gy9qj5od.js","sources":["packages/payments/common-utils/src/http/custom-http-client.service.ts","packages/payments/common-utils/src/auth/auth-details-store.ts","packages/payments/common-utils/src/client-config/client-config.models.ts","packages/payments/common-utils/src/api/payments-authentication.service.ts","packages/payments/common-utils/src/api/payments-custom-api.service.ts","packages/payments/common-utils/src/api/payments.api.sevice.ts","packages/payments/common-utils/src/translation/custom-translate-loader.service.ts"],"sourcesContent":["import { HttpBackend, HttpClient, HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\n\nimport { Observable } from 'rxjs';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class CustomHttpClientService {\n private http: HttpClient | undefined;\n\n constructor(private httpBackend: HttpBackend) {}\n\n initialize(customInterceptors: HttpInterceptor[]) {\n const handler = this.createInterceptorChain(this.httpBackend, customInterceptors);\n this.http = new HttpClient(handler);\n }\n\n get httpClient(): HttpClient {\n if (this.http) {\n return this.http;\n } else {\n this.initialize([]);\n return this.http!;\n }\n }\n\n private createInterceptorChain(backend: HttpBackend, interceptors: HttpInterceptor[]): HttpHandler {\n let handler: HttpHandler = backend;\n\n [...interceptors].reverse().forEach((interceptor) => {\n handler = new InterceptorHandler(handler, interceptor);\n });\n\n return handler;\n }\n}\n\nclass InterceptorHandler implements HttpHandler {\n constructor(\n private next: HttpHandler,\n private interceptor: HttpInterceptor,\n ) {}\n\n handle(req: HttpRequest): Observable> {\n return this.interceptor.intercept(req, this.next);\n }\n}\n","import { Injectable, signal } from '@angular/core';\n\nimport { AuthDetails } from '../models/models';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class AuthDetailsStore {\n private _authDetails = signal({ authCode: '', authFlag: false });\n initialize() {\n this.updateAuthDetails({ authCode: '', authFlag: false });\n }\n getAuthDetails() {\n return this._authDetails();\n }\n\n updateAuthDetails(value: AuthDetails) {\n this._authDetails.set(value);\n }\n}\n","import { Injectable, inject } from '@angular/core';\n\nimport { ClientConfig, ClientConfigProductName, ClientConfigService, StylesService } from '@frontend/vanilla/core';\n\n@ClientConfig({ key: 'paAssets', product: ClientConfigProductName.PAYMENTS })\n@Injectable({\n providedIn: 'root',\n useFactory: AssetsDataFactory,\n deps: [ClientConfigService],\n})\nexport class AssetsData {\n imageVariablesCSS!: string;\n assets!: {\n achInterchecks?: { [key: string]: string };\n brazilimages?: { [key: string]: string };\n footerlogos?: { [key: string]: string };\n managebankaccount?: { [key: string]: string };\n miscimages?: { [key: string]: string };\n transactionhistory?: { [key: string]: string };\n truelayerlogos?: { [key: string]: string };\n videos?: { [key: string]: string };\n };\n}\n\nexport function AssetsDataFactory(clientConfigService: ClientConfigService) {\n const data = clientConfigService.get(AssetsData);\n const stylesService: StylesService = inject(StylesService);\n stylesService.addStyle('payments-image-variables', data.imageVariablesCSS);\n return data;\n}\n\n@ClientConfig({ key: 'paCashier', product: ClientConfigProductName.PAYMENTS })\n@Injectable({\n providedIn: 'root',\n useFactory: PaymentsCashierConfigFactory,\n deps: [ClientConfigService],\n})\nexport class PaymentsCashierConfig {\n host!: string;\n ngpgHost!: string;\n enableAppV2!: boolean;\n}\n\nexport function PaymentsCashierConfigFactory(clientConfigService: ClientConfigService) {\n return clientConfigService.get(PaymentsCashierConfig);\n}\n","import { HttpHeaders } from '@angular/common/http';\nimport { Injectable, Injector } from '@angular/core';\n\nimport { PaymentsCashierConfig } from '../client-config/client-config.models';\nimport { CustomHttpClientService } from '../http/custom-http-client.service';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class PaymentsAuthenticationService {\n constructor(\n protected customHttpClientService: CustomHttpClientService,\n protected injector: Injector,\n ) {}\n\n authenticateUser(sessionInfo: { [key: string]: string }, url: string) {\n const host = this.injector.get(PaymentsCashierConfig).host;\n const requestData: { [key: string]: string | { [key: string]: string } } = {\n userId: sessionInfo['userId'] ?? '',\n labelInfo: {\n brandId: sessionInfo['brandId'] ?? '',\n productId: sessionInfo['productId'] ?? '',\n channelId: sessionInfo['channelId'] ?? '',\n },\n };\n if (sessionInfo['LANG_ID']) {\n requestData['languageCode'] = sessionInfo['LANG_ID'];\n }\n\n const httpOptions = {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json',\n 'Accept': 'application/json',\n // TODO: Remove once the cashier backend starts reading SSO from cookies\n 'sso-key': sessionInfo['sessionKey'] || '',\n }),\n observe: 'response' as 'body',\n withCredentials: true,\n };\n\n return this.customHttpClientService.httpClient.post(host + url, requestData, httpOptions);\n }\n}\n","import { HttpHeaders } from '@angular/common/http';\nimport { Injectable, Injector } from '@angular/core';\n\nimport { Page } from '@frontend/vanilla/core';\nimport { map } from 'rxjs';\n\nimport { AuthDetailsStore } from '../auth/auth-details-store';\nimport { PaymentsCashierConfig } from '../client-config/client-config.models';\nimport { CustomHttpClientService } from '../http/custom-http-client.service';\nimport { PaymentsAuthenticationService } from './payments-authentication.service';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class PaymentsCustomApiService {\n constructor(\n protected customHttpClientService: CustomHttpClientService,\n protected authService: PaymentsAuthenticationService,\n protected page: Page,\n protected injector: Injector,\n protected authDetailsStore: AuthDetailsStore,\n ) {}\n\n isProdOrBeta() {\n return this.page.isProduction || this.page.environment.toLowerCase() === 'beta';\n }\n\n getHttpHeaders(type?: string): HttpHeaders {\n const headerConfig: Record = {\n Accept: 'application/json',\n };\n\n if (!this.isProdOrBeta()) {\n headerConfig['auth-code'] = this.authDetailsStore.getAuthDetails().authCode;\n }\n\n if (type !== 'GET') {\n headerConfig['Content-Type'] = 'application/json';\n }\n\n return new HttpHeaders(headerConfig);\n }\n\n getHttpOptions(type?: string) {\n return {\n headers: this.getHttpHeaders(type),\n observe: 'response' as 'body',\n withCredentials: true,\n };\n }\n\n post(url: string, requestData: any) {\n const host = this.injector.get(PaymentsCashierConfig).host;\n return this.customHttpClientService.httpClient.post(host + url, requestData, this.getHttpOptions()).pipe(map((data: any) => data.body));\n }\n\n put(url: string, requestData: any) {\n const host = this.injector.get(PaymentsCashierConfig).host;\n return this.customHttpClientService.httpClient.put(host + url, requestData, this.getHttpOptions()).pipe(map((data: any) => data.body));\n }\n\n get(url: string) {\n const host = this.injector.get(PaymentsCashierConfig).host;\n return this.customHttpClientService.httpClient.get(host + url, this.getHttpOptions('GET')).pipe(map((data: any) => data.body));\n }\n\n postPgwRequest(url: string, requestData: any, cardToken?: any) {\n const headers = {\n 'Content-Type': 'application/json; charset=utf-8',\n 'Accept': 'application/json',\n 'token': cardToken || '',\n };\n\n return this.customHttpClientService.httpClient.post(url, requestData, { headers }).pipe(map((data: any) => data.body));\n }\n}\n","import { Injectable } from '@angular/core';\n\nimport { ApiBase, ApiServiceFactory, ClientConfigProductName, ProductService } from '@frontend/vanilla/core';\n\n@Injectable({\n providedIn: 'root',\n useFactory: apiServiceFactory,\n deps: [ApiServiceFactory, ProductService],\n})\nexport class PaymentsApiService extends ApiBase {}\n\nexport function apiServiceFactory(apiServiceFactory: ApiServiceFactory) {\n return apiServiceFactory.createForProduct(PaymentsApiService, {\n product: ClientConfigProductName.PAYMENTS,\n area: 'payments',\n forwardProductApiRequestHeader: true,\n });\n}\n","import { inject } from '@angular/core';\n\nimport { TranslateLoader } from '@ngx-translate/core';\nimport { Observable } from 'rxjs';\n\nimport { PaymentsApiService } from './../api/payments.api.sevice';\n\nexport class CustomTranslateLoaderService implements TranslateLoader {\n cashierType: string = '';\n paymentsApiService = inject(PaymentsApiService);\n\n constructor(cashierType: string) {\n this.cashierType = cashierType;\n }\n\n getTranslation(_langCountry: string): Observable {\n return this.getContent();\n }\n\n getContent(): Observable<{ [key: string]: string }> {\n return this.paymentsApiService.get(`PaymentsApi/content?cashierType=${this.cashierType}`);\n }\n}\n\nexport function createMainCashierTranslateLoader(): CustomTranslateLoaderService {\n return new CustomTranslateLoaderService('MainCashier');\n}\n\nexport function createBetSlipQdTranslateLoader(): CustomTranslateLoaderService {\n return new CustomTranslateLoaderService('BetSlipQD');\n}\n\nexport function createQuickDepositTranslateLoader(): CustomTranslateLoaderService {\n return new CustomTranslateLoaderService('QuickDeposit');\n}\n"],"names":["CustomHttpClientService","constructor","httpBackend","initialize","customInterceptors","handler","createInterceptorChain","http","HttpClient","httpClient","backend","interceptors","reverse","forEach","interceptor","InterceptorHandler","ɵɵinject","HttpBackend","factory","ɵfac","providedIn","_CustomHttpClientService","next","handle","req","intercept","AuthDetailsStore","_authDetails","signal","authCode","authFlag","updateAuthDetails","getAuthDetails","value","set","a","_AuthDetailsStore","AssetsData","_a","__ngFactoryType__","__ngConditionalFactory__","AssetsDataFactory","ClientConfigService","__decorate","ClientConfig","key","product","ClientConfigProductName","PAYMENTS","clientConfigService","data","get","stylesService","inject","StylesService","addStyle","imageVariablesCSS","PaymentsCashierConfig","PaymentsCashierConfigFactory","PaymentsAuthenticationService","customHttpClientService","injector","authenticateUser","sessionInfo","url","host","requestData","userId","labelInfo","brandId","productId","channelId","httpOptions","headers","HttpHeaders","observe","withCredentials","post","Injector","_PaymentsAuthenticationService","PaymentsCustomApiService","authService","page","authDetailsStore","isProdOrBeta","isProduction","environment","toLowerCase","getHttpHeaders","type","headerConfig","Accept","getHttpOptions","pipe","map","body","put","postPgwRequest","cardToken","Page","_PaymentsCustomApiService","PaymentsApiService","ApiBase","w","apiServiceFactory","ApiServiceFactory","ProductService","_PaymentsApiService","createForProduct","area","forwardProductApiRequestHeader","CustomTranslateLoaderService","cashierType","paymentsApiService","getTranslation","_langCountry","getContent","createBetSlipQdTranslateLoader"],"mappings":"6MAQaA,IAAAA,CAAAA,CAAAA,CAAuB,IAAA,CAA9B,IAAOA,EAAP,MAAOA,CAAuB,CAGhCC,WAAoBC,CAAAA,CAAAA,CAAwB,CAAxB,IAAAA,CAAAA,WAAAA,CAAAA,EAA2B,CAE/CC,UAAAA,CAAWC,EAAqC,CAC5C,IAAMC,EAAU,IAAKC,CAAAA,sBAAAA,CAAuB,KAAKJ,WAAaE,CAAAA,CAAkB,EAChF,IAAKG,CAAAA,IAAAA,CAAO,IAAIC,EAAWH,CAAAA,CAAO,EACtC,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