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,CAAC;AAG0B","sources":["./src/app/auth/auth-callback/auth-callback.component.ts","./src/app/auth/auth-callback/auth-callback.component.html","./src/app/auth/auth-routing.module.ts","./src/app/auth/auth.module.ts","./src/app/auth/confirm-account/confirm-account.component.ts","./src/app/auth/confirm-account/confirm-account.component.html","./src/app/auth/forgot-password/forgot-password.component.ts","./src/app/auth/forgot-password/forgot-password.component.html","./src/app/auth/login/login.component.ts","./src/app/auth/login/login.component.html","./src/app/auth/logout/logout.component.ts","./src/app/auth/shared/auth-layout/auth-layout.component.ts","./src/app/auth/shared/auth-layout/auth-layout.component.html","./src/app/auth/shared/shared.module.ts","./src/app/core/service/configuration.service.ts","./src/app/core/service/instant-tokens-ig.service.ts","./src/app/shared/widgets/slider/data.ts"],"sourcesContent":["import { Component, OnInit } from '@angular/core';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { Auth } from 'aws-amplify';\nimport { InstantTokensIgService } from 'src/app/core/service/instant-tokens-ig.service';\n\n@Component({\n selector: 'app-auth-callback',\n templateUrl: './auth-callback.component.html',\n styleUrls: ['./auth-callback.component.css']\n})\nexport class AuthCallbackComponent implements OnInit {\n\n authCode: string;\n state: string;\n\n userCreated = false;\n userDetails: any;\n hasError = false;\n\n error: any;\n isAnonCallbackComplete = false;\n\n constructor(private route: ActivatedRoute,\n private router: Router,\n private instantTokensService: InstantTokensIgService) { }\n\n ngOnInit() {\n\n\n this.authCode = this.route.snapshot.queryParams.code;\n this.state = this.route.snapshot.queryParams.state;\n \n if (!this.authCode) {\n this.error = { error: 'No Auth Code found in querystring parameters.'};\n this.hasError = true;\n return;\n }\n this.authCode = this.authCode.replace('#_', '');\n \n if (this.state) {\n this.processAuthCodeAnonUser();\n } else {\n this.processAuthCode();\n }\n\n \n }\n \n async processAuthCodeAnonUser() {\n \n if (this.state) {\n \n this.instantTokensService.authoriseAnonCallback(this.state, this.authCode)\n .subscribe({\n next: (data) => {\n this.isAnonCallbackComplete = true;\n },\n error: (err) => {\n this.hasError = true;\n this.error = err;\n }\n });\n \n } else {\n this.hasError = true \n }\n \n }\n\n async processAuthCode() {\n \n const token = (await Auth.currentSession()).getAccessToken().getJwtToken();\n \n this.instantTokensService.authoriseCallback(token, this.authCode)\n .subscribe({\n next: (data) => {\n if (data) {\n this.router.navigate(['/pages/account/dashboard']);\n }\n },\n error: (err) => {\n console.log(err);\n this.hasError = true;\n this.error = err;\n }\n });\n \n \n }\n\n}\n","<app-auth-layout>\n <ng-container cardContent>\n <h6 class=\"h5 mb-0 mt-3 text-primary\" i18n>Authorising Instagram Application</h6>\n \n\n \n <div class=\"row mt-4\" *ngIf=\"!userCreated && !hasError && !isAnonCallbackComplete\">\n <div class=\"col-12 text-center\">\n <h6>\n <i class=\"fa-solid fa-spinner fa-spin me-2\"></i>\n Generating Instagram Access Tokens...\n </h6>\n \n </div>\n </div>\n\n\n <div class=\"row mt-4\" *ngIf=\"isAnonCallbackComplete\">\n <div class=\"col-12 text-center\">\n <h6>\n <i class=\"fa-solid fa-info-circle me-2 text-primary\"></i>\n Complete\n </h6>\n <p>\n Your Instagram account has been added to Instant-Tokens.com. If you have any queries please contact the person or company who provided you with this link.\n </p>\n \n </div>\n </div>\n\n\n\n <ngb-alert type=\"danger\" *ngIf=\"hasError\" [dismissible]=\"false\" class=\"mt-3\">\n Sorry, we were unable to process your request. Please contact Support and quote the error below:\n\n <pre>\n {{ this.error | json }}\n </pre>\n </ngb-alert>\n\n \n \n\n\n\n </ng-container>\n\n</app-auth-layout>","import { NgModule } from '@angular/core';\nimport { RouterModule, Routes } from '@angular/router';\nimport { AuthCallbackComponent } from './auth-callback/auth-callback.component';\nimport { ConfirmAccountComponent } from './confirm-account/confirm-account.component';\nimport { ForgotPasswordComponent } from './forgot-password/forgot-password.component';\nimport { LoginComponent } from './login/login.component';\nimport { LogoutComponent } from './logout/logout.component';\n\n\nconst routes: Routes = [\n {\n path: '',\n component: AuthCallbackComponent\n },\n {\n path: 'login',\n component: LoginComponent\n },\n {\n path: 'confirm-account',\n component: ConfirmAccountComponent\n },\n {\n path: 'forgot-password',\n component: ForgotPasswordComponent\n },\n {\n path: 'logout',\n component: LogoutComponent\n }\n];\n\n@NgModule({\n imports: [RouterModule.forChild(routes)],\n exports: [RouterModule]\n})\nexport class AuthRoutingModule { }\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { NgbAlertModule } from '@ng-bootstrap/ng-bootstrap';\n\n// modules\nimport { UiModule } from '../shared/ui/ui.module';\nimport { AuthRoutingModule } from './auth-routing.module';\nimport { SharedModule } from './shared/shared.module';\n\n// component\nimport { ConfirmAccountComponent } from './confirm-account/confirm-account.component';\nimport { ForgotPasswordComponent } from './forgot-password/forgot-password.component';\nimport { LoginComponent } from './login/login.component';\nimport { LogoutComponent } from './logout/logout.component';\nimport { AmplifyAuthenticatorModule } from '@aws-amplify/ui-angular';\nimport { AuthCallbackComponent } from './auth-callback/auth-callback.component';\n\n\n@NgModule({\n declarations: [\n LoginComponent,\n ForgotPasswordComponent,\n ConfirmAccountComponent,\n LogoutComponent,\n AuthCallbackComponent\n ],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n NgbAlertModule,\n UiModule,\n SharedModule,\n AuthRoutingModule,\n AmplifyAuthenticatorModule\n ]\n})\nexport class AuthModule { }\n","import { Component, OnInit } from '@angular/core';\n\n@Component({\n selector: 'app-auth-confirm-account',\n templateUrl: './confirm-account.component.html',\n styleUrls: ['./confirm-account.component.scss']\n})\nexport class ConfirmAccountComponent implements OnInit {\n\n constructor () { }\n\n ngOnInit(): void {\n }\n\n}\n","<div class=\"bg-gradient2 min-vh-100 align-items-center d-flex justify-content-center pt-2 pt-sm-5 pb-4 pb-sm-5\">\n <div class=\"container\">\n <div class=\"row justify-content-center\">\n <div class=\"col-md-10 col-lg-8 col-xl-6\">\n <div class=\"mx-auto mb-3\">\n <a routerLink=\"/\" class=\"d-flex justify-content-center align-items-center\">\n <img src=\"assets/images/logo.svg\" alt=\"\" height=\"30\" />\n </a>\n </div>\n <div class=\"card\">\n <div class=\"card-body p-0\">\n <div class=\"p-4 text-center\">\n <h4 class=\"mt-3\" i18n>Please check your inbox</h4>\n\n <div class=\"py-3\">\n <span class=\"icon icon-xxl text-info\">\n <svg width=\"24px\" height=\"24px\" viewBox=\"0 0 98 98\" version=\"1.1\"\n xmlns=\"http://www.w3.org/2000/svg\">\n <g>\n <circle id=\"XMLID_50_\" class=\"st0\" style=\"fill: '#FFFFFF'\" cx=\"49\" cy=\"49\"\n r=\"49\" />\n <g id=\"XMLID_4_\">\n <path id=\"XMLID_49_\" class=\"st1\" style=\"fill: 'currentColor'\" d=\"M77.3,42.7V77c0,0.6-0.4,1-1,1H21.7c-0.5,0-1-0.5-1-1V42.7c0-0.3,0.1-0.6,0.4-0.8l27.3-21.7\n c0.3-0.3,0.8-0.3,1.2,0l27.3,21.7C77.1,42.1,77.3,42.4,77.3,42.7z\" />\n <path id=\"XMLID_48_\" class=\"st2\" style=\"fill: '#FFFFFF' ; stroke: 'currentColor' ; strokeWidth: 2;\n strokeMiterlimit: 10\" d=\"M66.5,69.5h-35c-1.1,0-2-0.9-2-2V26.8c0-1.1,0.9-2,2-2h35c1.1,0,2,0.9,2,2v40.7\n C68.5,68.6,67.6,69.5,66.5,69.5z\" />\n <path id=\"XMLID_47_\" class=\"st1\" style=\"fill: 'currentColor'\" d=\"M62.9,33.4H47.2c-0.5,0-0.9-0.4-0.9-0.9v-0.2c0-0.5,0.4-0.9,0.9-0.9h15.7\n c0.5,0,0.9,0.4,0.9,0.9v0.2C63.8,33,63.4,33.4,62.9,33.4z\" />\n <path id=\"XMLID_46_\" class=\"st1\" style=\"fill: 'currentColor'\" d=\"M62.9,40.3H47.2c-0.5,0-0.9-0.4-0.9-0.9v-0.2c0-0.5,0.4-0.9,0.9-0.9h15.7\n c0.5,0,0.9,0.4,0.9,0.9v0.2C63.8,39.9,63.4,40.3,62.9,40.3z\" />\n <path id=\"XMLID_45_\" class=\"st1\" style=\"fill: 'currentColor'\" d=\"M62.9,47.2H47.2c-0.5,0-0.9-0.4-0.9-0.9v-0.2c0-0.5,0.4-0.9,0.9-0.9h15.7\n c0.5,0,0.9,0.4,0.9,0.9v0.2C63.8,46.8,63.4,47.2,62.9,47.2z\" />\n <path id=\"XMLID_44_\" class=\"st1\" style=\"fill: 'currentColor'\" d=\"M62.9,54.1H47.2c-0.5,0-0.9-0.4-0.9-0.9v-0.2c0-0.5,0.4-0.9,0.9-0.9h15.7\n c0.5,0,0.9,0.4,0.9,0.9v0.2C63.8,53.7,63.4,54.1,62.9,54.1z\" />\n <path id=\"XMLID_43_\" class=\"st2\" style=\"fill: '#FFFFFF' ; stroke: 'currentColor' ; strokeWidth: 2;\n strokeMiterlimit: 10\" d=\"M41.6,40.1h-5.8c-0.6,0-1-0.4-1-1v-6.7c0-0.6,0.4-1,1-1h5.8c0.6,0,1,0.4,1,1v6.7\n C42.6,39.7,42.2,40.1,41.6,40.1z\" />\n <path id=\"XMLID_42_\" class=\"st2\" style=\"fill: '#FFFFFF' ; stroke: 'currentColor' ; strokeWidth: 2;\n strokeMiterlimit: 10\" d=\"M41.6,54.2h-5.8c-0.6,0-1-0.4-1-1v-6.7c0-0.6,0.4-1,1-1h5.8c0.6,0,1,0.4,1,1v6.7\n C42.6,53.8,42.2,54.2,41.6,54.2z\" />\n <path id=\"XMLID_41_\" class=\"st1\" style=\"fill: 'currentColor'\"\n d=\"M23.4,46.2l25,17.8c0.3,0.2,0.7,0.2,1.1,0l26.8-19.8l-3.3,30.9H27.7L23.4,46.2z\" />\n <path id=\"XMLID_40_\" class=\"st3\" style=\"fill: 'none' ; stroke: '#FFFFFF' ; strokeWidth: 2;\n strokeLinecap: 'round' ; strokeMiterlimit: 10\"\n d=\"M74.9,45.2L49.5,63.5c-0.3,0.2-0.7,0.2-1.1,0L23.2,45.2\" />\n </g>\n </g>\n </svg>\n </span>\n </div>\n\n <p class=\"text-muted mb-4\" i18n>We sent a confirmation link to your registered email address.</p>\n\n <p class=\"text-muted mb-0 fs-13\" i18n>Simply click on the link available in the email to\n confirm\n your account.</p>\n </div>\n </div> <!-- end card-body -->\n </div>\n <!-- end card -->\n\n <div class=\"row mt-3\">\n <div class=\"col-12 text-center\">\n <p class=\"text-muted\" i18n>Back to <a [routerLink]=\"['../login']\"\n class=\"text-primary fw-semibold ms-1\">Log In</a></p>\n </div> <!-- end col -->\n </div>\n <!-- end row -->\n\n </div> <!-- end col -->\n </div>\n <!-- end row -->\n </div>\n <!-- end container -->\n</div>","import { Component, OnInit } from '@angular/core';\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\nimport { Title } from '@angular/platform-browser';\n\n@Component({\n selector: 'app-auth-forgot-password',\n templateUrl: './forgot-password.component.html',\n styleUrls: ['./forgot-password.component.scss']\n})\nexport class ForgotPasswordComponent implements OnInit {\n\n resetPassswordForm: FormGroup = this.fb.group({\n email: ['', [Validators.required, Validators.email]]\n });\n formSubmitted: boolean = false;\n successMessage?: string;\n\n constructor (\n private fb: FormBuilder,\n private titleService: Title\n ) { }\n\n ngOnInit(): void {\n this.titleService.setTitle(\"Instant Tokens | Forgot Paassword\");\n }\n\n /**\n * convenience getter for easy access to form fields\n */\n get formValues() {\n return this.resetPassswordForm.controls;\n }\n\n /**\n * On form submit\n */\n onSubmit(): void {\n this.formSubmitted = true;\n if (this.resetPassswordForm.valid) {\n this.successMessage = \"We have sent you an email containing a link to reset your password\";\n }\n }\n\n}\n","<app-auth-layout [hasSlider]=\"false\">\n <ng-container cardContent>\n <h6 class=\"h5 mb-0 mt-3\" i18n>Reset Password</h6>\n <p class=\"text-muted mt-1 mb-4\" *ngIf=\"!successMessage\" i18n>Enter your email address and we'll send you an\n email\n with instructions\n to\n reset your password.</p>\n <ngb-alert type=\"success\" *ngIf=\"successMessage\" [dismissible]=\"false\" class=\"mt-3\">{{\n successMessage }}\n </ngb-alert>\n\n <form class=\"authentication-form\" [formGroup]=\"resetPassswordForm\" (ngSubmit)=\"onSubmit()\"\n *ngIf=\"!successMessage\">\n <div class=\"mb-3\">\n <label for=\"exampleInputEmail1\" class=\"form-label\" i18n>Email <small>*</small></label>\n <input type=\"email\" class=\"form-control\" id=\"exampleInputEmail1\" i18n-placeholder placeholder=\"Email\"\n name=\"email\" formControlName=\"email\"\n [ngClass]=\"{'is-invalid': formSubmitted && formValues['email'].invalid}\" required>\n\n <div *ngIf=\"formSubmitted && formValues['email'].invalid\" class=\"invalid-feedback\">\n\n <div *ngIf=\"formValues['email'].errors?.['required']\" i18n>\n Please enter email\n </div>\n <div *ngIf=\"formValues['email'].errors?.['email']\" i18n>\n Email must be a valid Email Address\n </div>\n\n </div>\n </div>\n\n <div class=\"mb-0 text-center pt-3 d-grid\">\n <button class=\"btn btn-primary\" type=\"submit\" i18n>Submit</button>\n </div>\n </form>\n\n </ng-container>\n <p class=\"text-muted\" footerLink i18n>Back to <a [routerLink]=\"['../login']\"\n class=\"text-primary fw-semibold ms-1\">Log\n In</a>\n </p>\n</app-auth-layout>","import { Component, OnInit } from '@angular/core';\nimport { Title } from '@angular/platform-browser';\nimport { FormBuilder } from '@angular/forms';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { Auth, Hub } from 'aws-amplify';\nimport { AuthenticationService } from 'src/app/core/service/auth.service';\n\n@Component({\n selector: 'app-auth-login',\n templateUrl: './login.component.html',\n styleUrls: ['./login.component.scss']\n})\nexport class LoginComponent implements OnInit {\n\n public formFields = {\n signIn: {\n username: {\n labelHidden: false,\n placeholder: 'Enter your email address',\n isRequired: true,\n label: 'Email'\n },\n password: {\n labelHidden: false,\n placeholder: 'Enter your password',\n isRequired: true,\n label: 'Password'\n },\n },\n signUp: {\n username: {\n labelHidden: false,\n placeholder: 'Enter your email address',\n isRequired: true,\n label: 'Email'\n },\n password: {\n labelHidden: false,\n placeholder: 'Enter your password',\n isRequired: true,\n label: 'Password'\n },\n confirm_password: {\n labelHidden: false,\n placeholder: 'Re-enter your password',\n isRequired: true,\n label: 'Confirm Password'\n },\n },\n resetPassword: {\n username: {\n labelHidden: false,\n placeholder: 'Enter your email address',\n isRequired: true,\n label: 'Email'\n }\n },\n };\n\n\n returnUrl: string = '/';\n\n\n constructor (\n private route: ActivatedRoute,\n private router: Router,\n private authenticationService: AuthenticationService,\n private titleService: Title,\n private fb: FormBuilder\n ) \n { \n const returnUrl = this.route.snapshot.queryParams.returnUrl;\n \n Auth.currentAuthenticatedUser()\n .then(() => {\n this.router.navigate([ returnUrl ? returnUrl : '/pages/account/dashboard']);\n })\n .catch((err) => {console.trace({err})});\n \n\n Hub.listen('auth', ({ payload: {event, data}}) => {\n switch (event) {\n case 'signIn':\n console.log(returnUrl);\n setTimeout(() => {\n this.router.navigate([returnUrl ? returnUrl : '/pages/account/dashboard']);\n }, 500);\n break;\n case 'signOut':\n this.router.navigate(['/']);\n break;\n \n default:\n this.router.navigate([returnUrl ? returnUrl : '/pages/account/dashboard']);\n break;\n }\n });\n\n }\n\n ngOnInit(): void {\n //this.titleService.setTitle(\"Prompt - Angular | Login into your account\");\n // get return url from route parameters or default to '/'\n this.returnUrl = this.route.snapshot.queryParams['returnUrl'] || this.returnUrl;\n }\n\n\n}\n","<app-auth-layout [hasSlider]=\"false\">\n <ng-container cardContent>\n\n <amplify-authenticator [formFields]=\"formFields\">\n <ng-template\n amplifySlot=\"authenticated\"\n let-user=\"user\"\n let-signOut=\"signOut\"\n >\n <button (click)=\"signOut()\">Sign Out</button>\n </ng-template>\n </amplify-authenticator>\n \n\n\n\n\n </ng-container>\n\n</app-auth-layout>","import { Component, OnInit } from '@angular/core';\nimport { Router } from '@angular/router';\n\n// service\nimport { AuthenticationService } from 'src/app/core/service/auth.service';\n\n@Component({\n selector: 'app-logout',\n templateUrl: './logout.component.html',\n styleUrls: ['./logout.component.scss']\n})\nexport class LogoutComponent implements OnInit {\n\n constructor (\n private router: Router,\n private authenticationService: AuthenticationService\n ) {\n authenticationService.logout();\n router.navigateByUrl('auth/login');\n }\n\n ngOnInit(): void {\n }\n\n}\n","import { Component, Input, OnInit } from '@angular/core';\nimport * as feather from 'feather-icons';\n\n// types\nimport { AuthSlider } from 'src/app/shared/widgets/slider/slider.model';\n\n// data\nimport { SLIDES1 } from 'src/app/shared/widgets/slider/data';\n\n@Component({\n selector: 'app-auth-layout',\n templateUrl: './auth-layout.component.html',\n styleUrls: ['./auth-layout.component.scss']\n})\nexport class AuthLayoutComponent implements OnInit {\n\n @Input() hasSlider?: boolean = false;\n sliderItems: AuthSlider[] = SLIDES1;\n\n constructor () { }\n\n ngOnInit(): void {\n }\n\n ngAfterViewInit() {\n // feather icon\n feather.replace();\n }\n\n\n}\n","<div class=\"bg-gradient2 min-vh-100 align-items-center d-flex justify-content-center pt-2 pt-sm-5 pb-4 pb-sm-5\">\n <div class=\"container\">\n <div class=\"row justify-content-center\">\n <div [class]=\"hasSlider ? 'col-xl-12' : 'col-md-10 col-lg-8 col-xl-6'\">\n <div class=\"card\">\n <div class=\"card-body p-0\">\n <div class=\"row g-0\">\n <div [class]=\"hasSlider ? 'col-md-7 shadow' : 'col-12'\">\n <div class=\"p-xl-5 p-3\">\n <div class=\"mx-auto mb-5\">\n <a routerLink=\"/\" class=\"d-flex justify-content-center\">\n <img src=\"assets/images/logo.svg\" class=\"align-self-center\" alt=\"logo-img\"\n height=\"50\" />\n </a>\n </div>\n <ng-content select=\"[cardContent]\"></ng-content>\n </div>\n </div>\n <div class=\"col-md-5 d-none d-md-inline-block\" *ngIf=\"hasSlider\">\n <div class=\"position-relative mt-5 pt-5\">\n <!-- slider -->\n <app-widget-swiper-slider-1 [sliderItems]=\"sliderItems\">\n </app-widget-swiper-slider-1>\n </div>\n </div>\n </div>\n </div> <!-- end card-body -->\n </div>\n <!-- end card -->\n <div class=\"row mt-3\">\n <div class=\"col-12 text-center\">\n <ng-content select=\"[footerLink]\"></ng-content>\n </div> <!-- end col -->\n </div>\n <!-- end row -->\n </div>\n\n </div>\n <!-- end row -->\n </div>\n <!-- end container -->\n</div>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { RouterModule } from '@angular/router';\n\nimport { WidgetsModule } from 'src/app/shared/widgets/widgets.module';\n\nimport { AuthLayoutComponent } from './auth-layout/auth-layout.component';\n\n\n@NgModule({\n declarations: [\n AuthLayoutComponent,\n ],\n imports: [\n CommonModule,\n WidgetsModule,\n RouterModule,\n ],\n exports: [AuthLayoutComponent]\n})\nexport class SharedModule { }\n","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { Observable } from 'rxjs';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class ConfigurationService {\n\n public baseUrl = 'https://ig.instant-tokens.com';\n\nconstructor(private http: HttpClient) { }\n\n\npublic getConfiguration(): Observable<any> {\n return this.http.get(`${this.baseUrl}/configuration`);\n}\n\n}\n\n","import { HttpClient, HttpHeaders } from \"@angular/common/http\";\nimport { Injectable } from \"@angular/core\";\nimport { from, Observable, of, mergeMap } from \"rxjs\";\nimport { AuthenticationService } from \"./auth.service\";\nimport { ConfigurationService } from \"./configuration.service\";\n\n@Injectable({\n providedIn: \"root\",\n})\nexport class InstantTokensIgService {\n public baseUrl = \"https://ig.instant-tokens.com\";\n public config: any;\n\n constructor(\n private http: HttpClient,\n private configurationService: ConfigurationService,\n private authenticationService: AuthenticationService\n ) {\n this.configurationService.getConfiguration().subscribe({\n next: (data) => {\n this.config = data;\n },\n });\n }\n\n public getAuthorisations(page: number, limit: number): Observable<any> {\n return from(this.authenticationService.getToken()).pipe(\n mergeMap((token) => {\n let headers = new HttpHeaders();\n headers = headers.set(\"authorization\", `${token}`);\n\n return this.http.get(\n `${this.baseUrl}/tokens?page=${page}&limit=${limit}`,\n { headers }\n );\n })\n );\n }\n\n public getDomains(userId: string, instaUserId: string): Observable<any> {\n return from(this.authenticationService.getToken()).pipe(\n mergeMap((token) => {\n let headers = new HttpHeaders();\n headers = headers.set(\"authorization\", `${token}`);\n\n return this.http.get(\n `${this.baseUrl}/domains/${userId}/instagram/${instaUserId}/list`,\n { headers }\n );\n })\n );\n }\n\n public updateDomains(\n userId: string,\n instaUserId: string,\n domains: any\n ): Observable<any> {\n return from(this.authenticationService.getToken()).pipe(\n mergeMap((token) => {\n let headers = new HttpHeaders();\n headers = headers.set(\"authorization\", `${token}`);\n return this.http.post(\n `${this.baseUrl}/domains/${userId}/instagram/${instaUserId}/update`,\n domains,\n { headers }\n );\n })\n );\n }\n\n public refreshUserName(\n userId: string,\n instagramUserId: string\n ): Observable<any> {\n // let headers = new HttpHeaders();\n // headers = headers.set('authorization', `${token}`);\n\n // return this.http.put(`${this.baseUrl}/users/${userId}/instagram/${instagramUserId}/username`, null, { headers })\n\n return from(this.authenticationService.getToken()).pipe(\n mergeMap((token) => {\n let headers = new HttpHeaders();\n headers = headers.set(\"authorization\", `${token}`);\n\n return this.http.put(\n `${this.baseUrl}/users/${userId}/instagram/${instagramUserId}/username`,\n null,\n { headers }\n );\n })\n );\n }\n\n public regenerateUserSecret(\n userId: string,\n instagramUserId: string\n ): Observable<any> {\n // let headers = new HttpHeaders();\n // headers = headers.set('authorization', `${token}`);\n // return this.http.put(`${this.baseUrl}/users/${userId}/instagram/${instagramUserId}/token`, null, { headers })\n\n return from(this.authenticationService.getToken()).pipe(\n mergeMap((token) => {\n let headers = new HttpHeaders();\n headers = headers.set(\"authorization\", `${token}`);\n\n return this.http.put(\n `${this.baseUrl}/users/${userId}/instagram/${instagramUserId}/token`,\n null,\n { headers }\n );\n })\n );\n }\n\n public removeInstagramAccount(\n userId: string,\n instagramUserId: string\n ): Observable<any> {\n return from(this.authenticationService.getToken()).pipe(\n mergeMap((token) => {\n let headers = new HttpHeaders();\n headers = headers.set(\"authorization\", `${token}`);\n\n return this.http.delete(\n `${this.baseUrl}/users/${userId}/instagram/${instagramUserId}/username`,\n { headers }\n );\n })\n );\n }\n\n public generateNewAuthorisationLink(): string {\n return `https://www.instagram.com/oauth/authorize?client_id=${this.config.InstagramClientId}&redirect_uri=${this.config.InstagramRedirectUrl}&response_type=code&scope=business_basic`;\n }\n\n public authoriseCallback(token: string, authCode: string): Observable<any> {\n let headers = new HttpHeaders();\n headers = headers.set(\"authorization\", `${token}`);\n return this.http.get(`${this.baseUrl}/tokens/authorise?code=${authCode}`, {\n headers,\n });\n }\n\n public authoriseAnonCallback(\n state: string,\n authCode: string\n ): Observable<any> {\n return this.http.get(\n `${this.baseUrl}/tokens/authorise/anon?code=${authCode}&userId=${state}`\n );\n }\n\n public updateNickname(\n userId: string,\n instagramUserId: string,\n nickname: string\n ): Observable<any> {\n // let headers = new HttpHeaders();\n // headers = headers.set('authorization', `${token}`);\n var data = {\n Nickname: nickname,\n };\n\n //return this.http.post(`${this.baseUrl}/users/${userId}/instagram/${instagramUserId}/nickname`, data, { headers })\n\n return from(this.authenticationService.getToken()).pipe(\n mergeMap((token) => {\n let headers = new HttpHeaders();\n headers = headers.set(\"authorization\", `${token}`);\n\n return this.http.post(\n `${this.baseUrl}/users/${userId}/instagram/${instagramUserId}/nickname`,\n data,\n { headers }\n );\n })\n );\n }\n}\n","// types\nimport { AuthSlider, SliderItem } from \"./slider.model\";\n\nconst SLIDES1: AuthSlider[] = [\n {\n image: 'assets/images/hero/saas1.jpg',\n slideTitle: 'Manage your saas business with ease',\n description: 'Make your saas application stand out with high-quality landing page designed and developed by professional.'\n },\n {\n image: 'assets/images/hero/saas2.jpg',\n slideTitle: 'The best way to showcase your mobile app',\n description: 'Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium.'\n },\n {\n image: 'assets/images/hero/saas3.jpg',\n slideTitle: 'Smart Solution that convert Lead to Customer',\n description: 'Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium.'\n }\n];\n\nconst SLIDES2: SliderItem[] = [\n {\n text: ' This app is a truly blessing for all professionals! A day to day project management was never easy for me.But with prompt, I can manage more than 100 projects easily.',\n customer: {\n avatar: 'assets/images/avatars/img-8.jpg',\n name: 'Cersei Lannister',\n designation: 'Senior Project Manager',\n },\n logo: 'assets/images/brands/amazon.svg',\n },\n {\n text: 'It is one of the very convenient to use project manager ever! I have tried many project management apps for my daily tasks, but this one is far better than others.Simply loved it!',\n customer: {\n avatar: 'assets/images/avatars/img-5.jpg',\n name: 'John Stark',\n designation: 'Engineering Director',\n },\n logo: 'assets/images/brands/google.svg',\n },\n];\n\n\nexport { SLIDES1, SLIDES2 };"],"names":["Auth","i0","AuthCallbackComponent","constructor","route","router","instantTokensService","ngOnInit","authCode","snapshot","queryParams","code","state","error","hasError","replace","processAuthCodeAnonUser","processAuthCode","authoriseAnonCallback","subscribe","next","data","isAnonCallbackComplete","err","token","currentSession","getAccessToken","getJwtToken","authoriseCallback","navigate","console","log","selectors","decls","vars","consts","$localize"],"sourceRoot":"webpack:///","x_google_ignoreList":[]}