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iBAAAC,OAAA,CAAA4F,MAAA,SAAA3F,YAAA,EAAAC,SAAA,CAAAC,OAAAC,MAAA,GAAAC,KAAA,GAAAC,OAAA,4cAAAC,SAAA,SAAAC,EAAAC,GAAA,EAAAD,IDTtBL,MAHN,WAGMA,CAHE,UAGFA,CAF0B,UAE1BA,CAD2C,WAMzCA,MAJA,EAAA6F,EAAA,qBAIA7F,CAJsC,EAAA8F,EAAA,sBAQ1C9F,UAGIA,MAFJ,UAEIA,CAFsB,UAEtBA,CAD8B,SACPA,MAAA,yBACzBA,UAKEA,MADF,WACEA,CAD8B,UACGA,MAAA,0BACnCA,UAEEA,MADF,WACEA,CAD8B,UACLA,MAAA,0BAC3BA,UAEEA,MADF,WACEA,CAD8B,WACPA,MAAA,0BACzBA,UACAA,MAAA,YAAgCA,MAAA,0BAEpCA,YACAA,MAAA,aACFA,eA9BWA,MAAA,GAAAA,MAAA,WAAAM,EAAAmF,OACYzF,cAAA,wBAWQA,MAAA,GAAAA,YAAA,sBAMUA,MAAA,GAAAA,YAAA,sCAGRA,MAAA,GAAAA,YAAA,kCAGFA,MAAA,GAAAA,YAAA,6BAEOA,MAAA,GAAAA,MAAA,OAAAM,EAAAoF,cAAA,qBAAA1F,MAAA,uDCnB1B+F,KAAUC,KAAcC,KAAiB7E,KAAYb,MAAaC,OAAA,41BAEjEoC,CAAe","names":["OnboardingHowItWorksComponent","_OnboardingHowItWorksComponent","constructor","this","onboardingId","translatePath","TRANSLATE_ROOT","backgroundUrl","backgroundPosition","_routeId","OnboardingTypes","None","routeId","value","routeIdUpdated","getTranslatePath","Weddings","selectors","inputs","standalone","features","i0","decls","vars","consts","template","rf","ctx","TranslatePipe","styles","ctx_r0","actionUrl","OnboardingSectionGetStartedComponent","_OnboardingSectionGetStartedComponent","showTitle","showMessage","OnboardingSectionGetStartedComponent_h2_1_Template","OnboardingSectionGetStartedComponent_h1_2_Template","OnboardingSectionGetStartedComponent_div_3_Template","NgIf","IonButton","RouterLink","OnboardingLandingComponent","_OnboardingLandingComponent","onboardingService","router","route","DEFAULT_BACKGROUND_URL","DEFAULT_BACKGROUND_POSITION","onDestroy$","Subject","ngOnInit","routeOnboardingMeta$","pipe","takeUntil","subscribe","ngOnDestroy","next","complete","i1","i2","_c0","IonHeader","TopNavbarComponent","IonContent","FooterComponent","OnboardingService","_OnboardingService","publishService","translate","routeOnboardingType$","events","filter","event","NavigationEnd","map","_","firstChild","mergeMap","data","ROUTE_DATA_PROP","shareReplay","getMetaForRoute","Teams","createCollabStacksForWedding","userId","username","projectId","_this","_asyncToGenerator","console","warn","input","credits","privacy","STACK_PRIVACY","PUBLIC","playlist","isCollaborative","title","instant","poster","receptionStack","createStackDraft","error","i3","factory","ɵfac","providedIn","_FooterComponent","theme","copyrightYear","Date","getFullYear","FooterComponent_ng_container_4_Template","FooterComponent_ng_container_5_Template","NgSwitch","NgSwitchCase","NgSwitchDefault"],"ignoreList":[],"sourceRoot":"webpack:///","sources":["./src/app/onboarding/components/how-it-works/how-it-works.component.ts","./src/app/onboarding/components/how-it-works/how-it-works.component.html","./src/app/onboarding/components/section-get-started/section-get-started.component.html","./src/app/onboarding/components/section-get-started/section-get-started.component.ts","./src/app/onboarding/onboarding-landing/onboarding-landing.component.ts","./src/app/onboarding/onboarding-landing/onboarding-landing.component.html","./src/app/onboarding/shared/services/onboarding.service.ts","./src/app/shared/components/footer/footer.component.html","./src/app/shared/components/footer/footer.component.ts"],"sourcesContent":["/** @format */\n\nimport { Component, Input } from '@angular/core';\nimport { TranslatePipe } from '@ngx-translate/core';\nimport { OnboardingTypes, getTranslatePath, TRANSLATE_ROOT } from '@app/onboarding/shared/onboarding.model';\n\n@Component({\n selector: 'app-onboarding-how-it-works',\n templateUrl: './how-it-works.component.html',\n styleUrls: ['./how-it-works.component.scss'],\n standalone: true,\n imports: [TranslatePipe],\n})\nexport class OnboardingHowItWorksComponent {\n @Input()\n set routeId(value) {\n this._routeId = value || OnboardingTypes.None;\n this.routeIdUpdated();\n }\n get routeId(): OnboardingTypes {\n return this._routeId;\n }\n\n onboardingId = '';\n translatePath = TRANSLATE_ROOT;\n\n backgroundUrl = '/assets/images/events/crowd-filming@2.jpg';\n backgroundPosition = 'center';\n\n private _routeId = OnboardingTypes.None;\n\n routeIdUpdated() {\n this.translatePath = getTranslatePath(this.routeId);\n switch (this.routeId) {\n case OnboardingTypes.Weddings: {\n this.backgroundUrl = '/assets/images/events/weddings-bride@2.jpg';\n this.backgroundPosition = 'bottom right';\n break;\n }\n case OnboardingTypes.Projects:\n case OnboardingTypes.None:\n default: {\n this.backgroundUrl = '/assets/images/events/crowd-filming@2.jpg';\n this.backgroundPosition = 'center';\n }\n }\n }\n}\n","\n<div class=\"container\">\n <h2>\n {{ translatePath + 'HOW_IT_WORKS' | translate }}\n </h2>\n <h1>\n {{ translatePath + 'HOW_INTRO' | translate }} \n </h1>\n <div class=\"content-list\">\n <ol>\n <li>\n <b>\n {{ translatePath + 'HOW_1_TITLE' | translate }} \n </b>\n <div>\n <!-- \n During the signup, choose the size of the project based on how much content will be uploaded. \n You can also buy more minutes later if you need to.\n -->\n {{ translatePath + 'HOW_1_TEXT' | translate }} \n </div>\n </li>\n <li>\n <b>\n {{ translatePath + 'HOW_2_TITLE' | translate }} \n </b>\n <div>\n {{ translatePath + 'HOW_2_TEXT' | translate }} \n </div>\n </li>\n <li>\n <b>\n {{ translatePath + 'HOW_3_TITLE' | translate }} \n </b>\n <div>\n {{ translatePath + 'HOW_3_TEXT' | translate }} \n </div>\n </li>\n </ol>\n </div>\n</div>\n","<div class=\"container\">\n <h2 *ngIf=\"showTitle\">\n {{ translatePath + 'CTA_MEMBERS_1' | translate }}\n </h2>\n <h1 *ngIf=\"showMessage\">\n {{ translatePath + 'GET_STARTED_MESSAGE' | translate }} \n </h1>\n <div *ngIf=\"actionUrl\" class=\"content-actions\">\n <ion-button color=\"light\" size=\"large\" [routerLink]=\"actionUrl\">\n {{ translatePath + 'CTA_MEMBERS_1' | translate }}\n </ion-button>\n </div>\n</div>\n","/** @format */\n\nimport { Component, Input } from '@angular/core';\nimport { NgIf } from '@angular/common';\nimport { RouterLink } from '@angular/router';\nimport { IonButton } from '@ionic/angular/standalone';\nimport { TranslatePipe } from '@ngx-translate/core';\nimport { OnboardingTypes, getTranslatePath, TRANSLATE_ROOT } from '@app/onboarding/shared/onboarding.model';\n\n@Component({\n selector: 'app-onboarding-section-get-started',\n templateUrl: './section-get-started.component.html',\n styleUrls: ['./section-get-started.component.scss'],\n standalone: true,\n imports: [NgIf, IonButton, RouterLink, TranslatePipe],\n})\nexport class OnboardingSectionGetStartedComponent {\n // @Input() routeId: OnboardingTypes = OnboardingTypes.None;\n @Input()\n set routeId(value) {\n this._routeId = value || OnboardingTypes.None;\n this.translatePath = getTranslatePath(value);\n }\n get routeId(): OnboardingTypes {\n return this._routeId;\n }\n\n @Input() showTitle = false;\n @Input() showMessage = true;\n @Input() actionUrl = '/onboarding/signup';\n\n translatePath = TRANSLATE_ROOT;\n\n private _routeId = OnboardingTypes.None;\n}\n","/** @format */\n\nimport { Component, OnDestroy, OnInit } from '@angular/core';\nimport { ActivatedRoute, Router, RouterLink } from '@angular/router';\nimport { TranslatePipe } from '@ngx-translate/core';\nimport { IonHeader, IonContent, IonButton } from '@ionic/angular/standalone';\nimport { Subject } from 'rxjs';\nimport { takeUntil } from 'rxjs/operators';\nimport {\n OnboardingTypes,\n TRANSLATE_ROOT,\n DEFAULT_BACKGROUND_URL,\n DEFAULT_BACKGROUND_POSITION,\n} from '../shared/onboarding.model';\nimport { OnboardingService } from '../shared/services/onboarding.service';\nimport { TopNavbarComponent } from '@app/shared/components/top-navbar/top-navbar.component';\nimport { FooterComponent } from '@app/shared/components/footer/footer.component';\nimport { OnboardingHowItWorksComponent } from '../components/how-it-works/how-it-works.component';\nimport { OnboardingSectionGetStartedComponent } from '../components/section-get-started/section-get-started.component';\n\n@Component({\n selector: 'app-onboarding-landing',\n templateUrl: './onboarding-landing.component.html',\n styleUrls: ['./onboarding-landing.component.scss'],\n standalone: true,\n imports: [\n IonHeader,\n TopNavbarComponent,\n IonContent,\n IonButton,\n RouterLink,\n OnboardingHowItWorksComponent,\n OnboardingSectionGetStartedComponent,\n FooterComponent,\n TranslatePipe,\n ],\n})\nexport class OnboardingLandingComponent implements OnInit, OnDestroy {\n translatePath = TRANSLATE_ROOT;\n actionUrl = '/signup';\n routeId: OnboardingTypes;\n backgroundUrl = DEFAULT_BACKGROUND_URL;\n backgroundPosition = DEFAULT_BACKGROUND_POSITION;\n\n private onDestroy$ = new Subject<void>();\n\n constructor(private onboardingService: OnboardingService, private router: Router, private route: ActivatedRoute) {}\n\n ngOnInit(): void {\n this.onboardingService.routeOnboardingMeta$\n .pipe(takeUntil(this.onDestroy$))\n .subscribe(({ routeId, translatePath = '', actionUrl = '', backgroundUrl = '', backgroundPosition = '' }) => {\n this.routeId = routeId;\n this.translatePath = translatePath;\n this.actionUrl = actionUrl + 'signup';\n this.backgroundUrl = backgroundUrl;\n this.backgroundPosition = backgroundPosition;\n });\n }\n\n ngOnDestroy() {\n this.onDestroy$.next();\n this.onDestroy$.complete();\n }\n}\n","<ion-header>\n <app-top-navbar title=\"\">\n <!-- SLOT: anything added here will go below the ion-navbar -->\n </app-top-navbar>\n</ion-header>\n\n<ion-content>\n <div class=\"content-background d-flex ion-padding\"\n [style.background-image]=\"'url(' + backgroundUrl + ')'\"\n [style.background-position]=\"backgroundPosition\">\n <div class=\"container ion-padding\">\n <div class=\"content-wrap ion-padding\">\n <h1>\n {{ translatePath + 'NAME' | translate }}\n </h1>\n <h3>\n {{ translatePath + 'MEMBERS_INTRO' | translate }} \n <div>\n {{ translatePath + 'MEMBERS_INTRO_2' | translate }} \n </div>\n </h3>\n <div class=\"action-buttons ion-margin-top\">\n <ion-button [routerLink]=\"[actionUrl]\">\n {{ translatePath + 'CTA_MEMBERS_1' | translate }} \n </ion-button>\n <!-- <ion-button [routerLink]=\"['/onboarding/signup', routeId]\">\n {{ translatePath + 'CTA_MEMBERS_1' | translate }} \n </ion-button> -->\n <!-- <ion-button *ngIf=\"!showingHowItWorks\" fill=\"outline\" color=\"light\" (click)=\"showingHowItWorks = true\">\n {{ translatePath + 'CTA_MEMBERS_2' | translate }} \n </ion-button> -->\n </div>\n </div>\n </div>\n </div>\n <section class=\"how-it-works light\">\n <app-onboarding-how-it-works [routeId]=\"routeId\"></app-onboarding-how-it-works>\n </section>\n\n <app-onboarding-section-get-started [routeId]=\"routeId\" [actionUrl]=\"actionUrl\"></app-onboarding-section-get-started>\n\n <div class=\"ion-margin-top\">\n <app-footer></app-footer>\n </div>\n</ion-content>\n","/** @format */\n\nimport { Injectable } from '@angular/core';\nimport { ActivatedRoute, NavigationEnd, Router } from '@angular/router';\nimport { Observable } from 'rxjs';\nimport { filter, map, mergeMap, shareReplay } from 'rxjs/operators';\nimport { TranslateService } from '@ngx-translate/core';\nimport { OnboardingTypes, OnboardingMeta, getTranslatePath, ROUTE_DATA_PROP } from '../onboarding.model';\nimport { STACK_PRIVACY, Stack, StackDraftPublishInput } from '@app/shared/models/stack.model';\nimport { PublishStackService } from '@app/core/services/publish-stack.service';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class OnboardingService {\n /**\n * use with takeUntil(this.onDestroy$),\n * @todo consider where this should live\n */\n routeOnboardingType$: Observable<OnboardingTypes> = this.router.events.pipe(\n filter((event) => event instanceof NavigationEnd),\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n map((_) => this.route),\n map((route) => {\n while (route.firstChild) {\n route = route.firstChild;\n }\n return route;\n }),\n mergeMap((route) => route.data),\n map((data) => data[ROUTE_DATA_PROP]),\n shareReplay(1)\n );\n\n /**\n * use with takeUntil(this.onDestroy$),\n */\n routeOnboardingMeta$: Observable<OnboardingMeta> = this.routeOnboardingType$.pipe(\n map((routeId: OnboardingTypes) => this.getMetaForRoute(routeId)),\n shareReplay(1)\n );\n\n constructor(\n private publishService: PublishStackService,\n private translate: TranslateService,\n private router: Router,\n private route: ActivatedRoute\n ) {}\n\n getMetaForRoute(routeId: string): OnboardingMeta {\n const translatePath = getTranslatePath(routeId);\n switch (routeId) {\n case OnboardingTypes.Weddings:\n return {\n routeId,\n translatePath,\n actionUrl: `/events/weddings/`,\n backgroundUrl: '/assets/images/events/weddings-bride@2.jpg',\n backgroundPosition: 'bottom right',\n };\n case OnboardingTypes.Teams:\n return {\n routeId,\n translatePath,\n actionUrl: `/events/`,\n backgroundUrl: '/assets/images/events/crowd-filming@2.jpg',\n backgroundPosition: 'center',\n };\n case OnboardingTypes.Pro:\n case OnboardingTypes.Projects:\n case OnboardingTypes.None:\n default:\n return {\n routeId: (routeId as OnboardingTypes) || OnboardingTypes.None,\n translatePath,\n actionUrl: `/pro/`,\n backgroundUrl: '/assets/images/events/crowd-filming@2.jpg',\n backgroundPosition: 'center',\n // this.sideBlocks = this.buildSideBlocks('');\n };\n }\n }\n\n /**\n * On successful signup, create 2 collab drafts for Guests [MVP-1367]\n * The owner should be the person who just signed up\n * 1: Reception\n * poster: https://app.filmstacker.com/assets/images/events/weddings-jump@1.jpg\n * 2: Ceremony (created second so it shows up first?)\n * poster: https://app.filmstacker.com/assets/images/events/weddings-hands@1.jpg\n */\n async createCollabStacksForWedding({ userId, username, projectId }): Promise<Array<Stack>> {\n console.warn('create the collab stacks!', { userId, username, projectId });\n try {\n const input: StackDraftPublishInput = {\n userId,\n credits: username,\n projectId,\n privacy: STACK_PRIVACY.PUBLIC,\n playlist: [],\n isCollaborative: 1,\n title: this.translate.instant('ONBOARDING.COMMON.STACK_TITLE_RECEPTION'),\n poster: 'https://app.filmstacker.com/assets/images/events/weddings-jump@1.jpg',\n };\n const receptionStack = await this.publishService.createStackDraft(input);\n // ok, now the Ceremony\n input.title = this.translate.instant('ONBOARDING.COMMON.STACK_TITLE_CEREMONY');\n input.poster = 'https://app.filmstacker.com/assets/images/events/weddings-hands@1.jpg';\n const ceremonyStack = await this.publishService.createStackDraft(input);\n return [receptionStack, ceremonyStack];\n } catch (error) {\n console.error(error);\n throw error;\n }\n }\n}\n","<!-- @format -->\n\n<footer>\n <div class=\"footer container\">\n <div class=\"footer__side footer__side--left\">\n <div [ngSwitch]=\"theme\">\n <ng-container *ngSwitchCase=\"'light'\">\n <!-- if light theme, use blue logo -->\n <img class=\"logo\" src=\"/assets/images/logos/Filmstacker-logo-teal.png\" alt=\"Filmstacker\" />\n </ng-container>\n <ng-container *ngSwitchDefault>\n <img class=\"logo\" src=\"/assets/images/filmstacker-logo.png\" alt=\"Filmstacker\" />\n </ng-container>\n </div>\n </div>\n <div class=\"footer__side\">\n <div class=\"footer__side__item\">\n <a routerLink=\"/about\">{{ 'COMMON.ABOUT' | translate }}</a>\n </div>\n <!-- <div class=\"footer__side__item\">\n <a routerLink=\"/support\">{{ 'COMMON.SUPPORT' | translate }}</a>\n </div> -->\n <div class=\"footer__side__item\">\n <a routerLink=\"/community-rules\">{{ 'COMMON.COMMUNITY_GUIDELINES' | translate }}</a>\n </div>\n <div class=\"footer__side__item\">\n <a routerLink=\"/privacy\">{{ 'POLICIES.PRIVACY_POLICY' | translate }}</a>\n </div>\n <div class=\"footer__side__item\">\n <a routerLink=\"/terms\">{{ 'POLICIES.TERMS_USE' | translate }}</a>\n </div>\n <div class=\"footer__side__item\">©{{ copyrightYear }} Filmstacker Inc. {{ 'POLICIES.RIGHTS_RESERVED' | translate }}.</div>\n </div>\n </div>\n <div class=\"tab-bottom-spacer\"></div>\n</footer>\n","/** @format */\n\nimport { Component, Input } from '@angular/core';\nimport { NgSwitch, NgSwitchCase, NgSwitchDefault } from '@angular/common';\nimport { RouterLink } from '@angular/router';\nimport { TranslatePipe } from '@ngx-translate/core';\n\n@Component({\n selector: 'app-footer',\n templateUrl: './footer.component.html',\n styleUrls: ['./footer.component.scss'],\n standalone: true,\n imports: [NgSwitch, NgSwitchCase, NgSwitchDefault, RouterLink, TranslatePipe],\n})\nexport class FooterComponent {\n /** manages which logo */\n @Input() theme: 'light' | 'dark' = 'dark';\n\n copyrightYear = new Date().getFullYear();\n}\n"],"x_google_ignoreList":[]}