@eric-emg/symphiq-components 1.2.159 → 1.2.161

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -52436,7 +52436,7 @@ function SymphiqCreateAccountDashboardComponent_Conditional_24_Conditional_48_Te
52436
52436
  i0.ɵɵelementStart(3, "span", 31);
52437
52437
  i0.ɵɵtext(4, "*");
52438
52438
  i0.ɵɵelementEnd()();
52439
- i0.ɵɵelement(5, "input", 51);
52439
+ i0.ɵɵelement(5, "input", 52);
52440
52440
  i0.ɵɵconditionalCreate(6, SymphiqCreateAccountDashboardComponent_Conditional_24_Conditional_48_Conditional_6_Template, 2, 1, "p", 33);
52441
52441
  i0.ɵɵelementEnd();
52442
52442
  } if (rf & 2) {
@@ -52519,7 +52519,9 @@ function SymphiqCreateAccountDashboardComponent_Conditional_24_Template(rf, ctx)
52519
52519
  i0.ɵɵtext(59, " Same as Shop Name ");
52520
52520
  i0.ɵɵelementEnd()()();
52521
52521
  i0.ɵɵconditionalCreate(60, SymphiqCreateAccountDashboardComponent_Conditional_24_Conditional_60_Template, 2, 1, "p", 33);
52522
- i0.ɵɵelementEnd()()()();
52522
+ i0.ɵɵelementEnd();
52523
+ i0.ɵɵelement(61, "input", 51);
52524
+ i0.ɵɵelementEnd()()();
52523
52525
  } if (rf & 2) {
52524
52526
  let tmp_18_0;
52525
52527
  let tmp_23_0;
@@ -52585,7 +52587,7 @@ function SymphiqCreateAccountDashboardComponent_Conditional_24_Template(rf, ctx)
52585
52587
  i0.ɵɵconditional(ctx_r1.isFieldInvalid("companyName") ? 60 : -1);
52586
52588
  } }
52587
52589
  function SymphiqCreateAccountDashboardComponent_Conditional_25_Conditional_12_For_6_Conditional_6_For_5_Template(rf, ctx) { if (rf & 1) {
52588
- i0.ɵɵelementStart(0, "span", 62);
52590
+ i0.ɵɵelementStart(0, "span", 63);
52589
52591
  i0.ɵɵtext(1);
52590
52592
  i0.ɵɵelementEnd();
52591
52593
  } if (rf & 2) {
@@ -52596,11 +52598,11 @@ function SymphiqCreateAccountDashboardComponent_Conditional_25_Conditional_12_Fo
52596
52598
  i0.ɵɵtextInterpolate1(" ", tool_r5, " ");
52597
52599
  } }
52598
52600
  function SymphiqCreateAccountDashboardComponent_Conditional_25_Conditional_12_For_6_Conditional_6_Template(rf, ctx) { if (rf & 1) {
52599
- i0.ɵɵelementStart(0, "div", 59)(1, "span", 60);
52601
+ i0.ɵɵelementStart(0, "div", 60)(1, "span", 61);
52600
52602
  i0.ɵɵtext(2, "Tools:");
52601
52603
  i0.ɵɵelementEnd();
52602
- i0.ɵɵelementStart(3, "div", 61);
52603
- i0.ɵɵrepeaterCreate(4, SymphiqCreateAccountDashboardComponent_Conditional_25_Conditional_12_For_6_Conditional_6_For_5_Template, 2, 2, "span", 62, i0.ɵɵrepeaterTrackByIdentity);
52604
+ i0.ɵɵelementStart(3, "div", 62);
52605
+ i0.ɵɵrepeaterCreate(4, SymphiqCreateAccountDashboardComponent_Conditional_25_Conditional_12_For_6_Conditional_6_For_5_Template, 2, 2, "span", 63, i0.ɵɵrepeaterTrackByIdentity);
52604
52606
  i0.ɵɵelementEnd()();
52605
52607
  } if (rf & 2) {
52606
52608
  const focusArea_r6 = i0.ɵɵnextContext().$implicit;
@@ -52611,13 +52613,13 @@ function SymphiqCreateAccountDashboardComponent_Conditional_25_Conditional_12_Fo
52611
52613
  i0.ɵɵrepeater(focusArea_r6.tools);
52612
52614
  } }
52613
52615
  function SymphiqCreateAccountDashboardComponent_Conditional_25_Conditional_12_For_6_Template(rf, ctx) { if (rf & 1) {
52614
- i0.ɵɵelementStart(0, "div", 55)(1, "div", 56)(2, "h4", 57);
52616
+ i0.ɵɵelementStart(0, "div", 56)(1, "div", 57)(2, "h4", 58);
52615
52617
  i0.ɵɵtext(3);
52616
52618
  i0.ɵɵelementEnd();
52617
- i0.ɵɵelementStart(4, "span", 58);
52619
+ i0.ɵɵelementStart(4, "span", 59);
52618
52620
  i0.ɵɵtext(5, " Engaged ");
52619
52621
  i0.ɵɵelementEnd()();
52620
- i0.ɵɵconditionalCreate(6, SymphiqCreateAccountDashboardComponent_Conditional_25_Conditional_12_For_6_Conditional_6_Template, 6, 1, "div", 59);
52622
+ i0.ɵɵconditionalCreate(6, SymphiqCreateAccountDashboardComponent_Conditional_25_Conditional_12_For_6_Conditional_6_Template, 6, 1, "div", 60);
52621
52623
  i0.ɵɵelementEnd();
52622
52624
  } if (rf & 2) {
52623
52625
  const focusArea_r6 = ctx.$implicit;
@@ -52633,12 +52635,12 @@ function SymphiqCreateAccountDashboardComponent_Conditional_25_Conditional_12_Fo
52633
52635
  i0.ɵɵconditional(focusArea_r6.tools && focusArea_r6.tools.length > 0 ? 6 : -1);
52634
52636
  } }
52635
52637
  function SymphiqCreateAccountDashboardComponent_Conditional_25_Conditional_12_Template(rf, ctx) { if (rf & 1) {
52636
- i0.ɵɵelementStart(0, "div", 28)(1, "h3", 52);
52637
- i0.ɵɵelement(2, "span", 53);
52638
+ i0.ɵɵelementStart(0, "div", 28)(1, "h3", 53);
52639
+ i0.ɵɵelement(2, "span", 54);
52638
52640
  i0.ɵɵtext(3);
52639
52641
  i0.ɵɵelementEnd();
52640
- i0.ɵɵelementStart(4, "div", 54);
52641
- i0.ɵɵrepeaterCreate(5, SymphiqCreateAccountDashboardComponent_Conditional_25_Conditional_12_For_6_Template, 7, 5, "div", 55, _forTrack0$i);
52642
+ i0.ɵɵelementStart(4, "div", 55);
52643
+ i0.ɵɵrepeaterCreate(5, SymphiqCreateAccountDashboardComponent_Conditional_25_Conditional_12_For_6_Template, 7, 5, "div", 56, _forTrack0$i);
52642
52644
  i0.ɵɵelementEnd()();
52643
52645
  } if (rf & 2) {
52644
52646
  const ctx_r1 = i0.ɵɵnextContext(2);
@@ -52650,7 +52652,7 @@ function SymphiqCreateAccountDashboardComponent_Conditional_25_Conditional_12_Te
52650
52652
  i0.ɵɵrepeater(ctx_r1.engagedFocusAreas());
52651
52653
  } }
52652
52654
  function SymphiqCreateAccountDashboardComponent_Conditional_25_Conditional_13_For_6_Template(rf, ctx) { if (rf & 1) {
52653
- i0.ɵɵelementStart(0, "div", 65)(1, "h4", 57);
52655
+ i0.ɵɵelementStart(0, "div", 66)(1, "h4", 58);
52654
52656
  i0.ɵɵtext(2);
52655
52657
  i0.ɵɵelementEnd()();
52656
52658
  } if (rf & 2) {
@@ -52663,12 +52665,12 @@ function SymphiqCreateAccountDashboardComponent_Conditional_25_Conditional_13_Fo
52663
52665
  i0.ɵɵtextInterpolate1(" ", ctx_r1.getFocusAreaTitle(focusArea_r7.focusAreaDomain), " ");
52664
52666
  } }
52665
52667
  function SymphiqCreateAccountDashboardComponent_Conditional_25_Conditional_13_Template(rf, ctx) { if (rf & 1) {
52666
- i0.ɵɵelementStart(0, "div", 28)(1, "h3", 52);
52667
- i0.ɵɵelement(2, "span", 63);
52668
+ i0.ɵɵelementStart(0, "div", 28)(1, "h3", 53);
52669
+ i0.ɵɵelement(2, "span", 64);
52668
52670
  i0.ɵɵtext(3);
52669
52671
  i0.ɵɵelementEnd();
52670
- i0.ɵɵelementStart(4, "div", 64);
52671
- i0.ɵɵrepeaterCreate(5, SymphiqCreateAccountDashboardComponent_Conditional_25_Conditional_13_For_6_Template, 3, 3, "div", 65, _forTrack0$i);
52672
+ i0.ɵɵelementStart(4, "div", 65);
52673
+ i0.ɵɵrepeaterCreate(5, SymphiqCreateAccountDashboardComponent_Conditional_25_Conditional_13_For_6_Template, 3, 3, "div", 66, _forTrack0$i);
52672
52674
  i0.ɵɵelementEnd()();
52673
52675
  } if (rf & 2) {
52674
52676
  const ctx_r1 = i0.ɵɵnextContext(2);
@@ -52680,7 +52682,7 @@ function SymphiqCreateAccountDashboardComponent_Conditional_25_Conditional_13_Te
52680
52682
  i0.ɵɵrepeater(ctx_r1.interestedFocusAreas());
52681
52683
  } }
52682
52684
  function SymphiqCreateAccountDashboardComponent_Conditional_25_Conditional_14_For_6_Template(rf, ctx) { if (rf & 1) {
52683
- i0.ɵɵelementStart(0, "div", 68)(1, "span", 60);
52685
+ i0.ɵɵelementStart(0, "div", 69)(1, "span", 61);
52684
52686
  i0.ɵɵtext(2);
52685
52687
  i0.ɵɵelementEnd()();
52686
52688
  } if (rf & 2) {
@@ -52693,12 +52695,12 @@ function SymphiqCreateAccountDashboardComponent_Conditional_25_Conditional_14_Fo
52693
52695
  i0.ɵɵtextInterpolate1(" ", ctx_r1.getFocusAreaTitle(focusArea_r8.focusAreaDomain), " ");
52694
52696
  } }
52695
52697
  function SymphiqCreateAccountDashboardComponent_Conditional_25_Conditional_14_Template(rf, ctx) { if (rf & 1) {
52696
- i0.ɵɵelementStart(0, "div")(1, "h3", 52);
52697
- i0.ɵɵelement(2, "span", 66);
52698
+ i0.ɵɵelementStart(0, "div")(1, "h3", 53);
52699
+ i0.ɵɵelement(2, "span", 67);
52698
52700
  i0.ɵɵtext(3);
52699
52701
  i0.ɵɵelementEnd();
52700
- i0.ɵɵelementStart(4, "div", 67);
52701
- i0.ɵɵrepeaterCreate(5, SymphiqCreateAccountDashboardComponent_Conditional_25_Conditional_14_For_6_Template, 3, 3, "div", 68, _forTrack0$i);
52702
+ i0.ɵɵelementStart(4, "div", 68);
52703
+ i0.ɵɵrepeaterCreate(5, SymphiqCreateAccountDashboardComponent_Conditional_25_Conditional_14_For_6_Template, 3, 3, "div", 69, _forTrack0$i);
52702
52704
  i0.ɵɵelementEnd()();
52703
52705
  } if (rf & 2) {
52704
52706
  const ctx_r1 = i0.ɵɵnextContext(2);
@@ -52748,33 +52750,33 @@ function SymphiqCreateAccountDashboardComponent_Conditional_25_Template(rf, ctx)
52748
52750
  i0.ɵɵconditional(ctx_r1.notInterestedFocusAreas().length > 0 ? 14 : -1);
52749
52751
  } }
52750
52752
  function SymphiqCreateAccountDashboardComponent_Conditional_26_For_13_Conditional_1_Template(rf, ctx) { if (rf & 1) {
52751
- i0.ɵɵelement(0, "div", 72);
52753
+ i0.ɵɵelement(0, "div", 73);
52752
52754
  } if (rf & 2) {
52753
52755
  const ctx_r1 = i0.ɵɵnextContext(3);
52754
52756
  i0.ɵɵproperty("ngClass", ctx_r1.dividerClasses());
52755
52757
  } }
52756
52758
  function SymphiqCreateAccountDashboardComponent_Conditional_26_For_13_Template(rf, ctx) { if (rf & 1) {
52757
52759
  const _r9 = i0.ɵɵgetCurrentView();
52758
- i0.ɵɵelementStart(0, "symphiq-focus-area-question", 71);
52760
+ i0.ɵɵelementStart(0, "symphiq-focus-area-question", 72);
52759
52761
  i0.ɵɵlistener("statusChange", function SymphiqCreateAccountDashboardComponent_Conditional_26_For_13_Template_symphiq_focus_area_question_statusChange_0_listener($event) { const domain_r10 = i0.ɵɵrestoreView(_r9).$implicit; const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onFocusAreaStatusChange(domain_r10, $event)); })("toolsClick", function SymphiqCreateAccountDashboardComponent_Conditional_26_For_13_Template_symphiq_focus_area_question_toolsClick_0_listener() { const domain_r10 = i0.ɵɵrestoreView(_r9).$implicit; const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onFocusAreaToolsClick(domain_r10)); });
52760
52762
  i0.ɵɵelementEnd();
52761
- i0.ɵɵconditionalCreate(1, SymphiqCreateAccountDashboardComponent_Conditional_26_For_13_Conditional_1_Template, 1, 1, "div", 72);
52763
+ i0.ɵɵconditionalCreate(1, SymphiqCreateAccountDashboardComponent_Conditional_26_For_13_Conditional_1_Template, 1, 1, "div", 73);
52762
52764
  } if (rf & 2) {
52763
52765
  const domain_r10 = ctx.$implicit;
52764
- const ɵ$index_340_r11 = ctx.$index;
52766
+ const ɵ$index_342_r11 = ctx.$index;
52765
52767
  const ctx_r1 = i0.ɵɵnextContext(2);
52766
52768
  i0.ɵɵproperty("focusAreaDomain", domain_r10)("selectedStatus", ctx_r1.getFocusAreaStatus(domain_r10))("selectedTools", ctx_r1.getFocusAreaTools(domain_r10))("viewMode", ctx_r1.viewMode())("title", ctx_r1.getFocusAreaTitle(domain_r10))("description", ctx_r1.getFocusAreaDescription(domain_r10));
52767
52769
  i0.ɵɵadvance();
52768
- i0.ɵɵconditional(ɵ$index_340_r11 < ctx_r1.allFocusAreaDomains().length - 1 ? 1 : -1);
52770
+ i0.ɵɵconditional(ɵ$index_342_r11 < ctx_r1.allFocusAreaDomains().length - 1 ? 1 : -1);
52769
52771
  } }
52770
52772
  function SymphiqCreateAccountDashboardComponent_Conditional_26_Template(rf, ctx) { if (rf & 1) {
52771
- i0.ɵɵelementStart(0, "div", 15)(1, "div", 18)(2, "div", 28)(3, "div", 69)(4, "div")(5, "h2", 20);
52773
+ i0.ɵɵelementStart(0, "div", 15)(1, "div", 18)(2, "div", 28)(3, "div", 70)(4, "div")(5, "h2", 20);
52772
52774
  i0.ɵɵtext(6, " Focus Areas ");
52773
52775
  i0.ɵɵelementEnd();
52774
52776
  i0.ɵɵelementStart(7, "p", 1);
52775
52777
  i0.ɵɵtext(8, " Tell us about your marketing and operational focus areas ");
52776
52778
  i0.ɵɵelementEnd()();
52777
- i0.ɵɵelementStart(9, "div", 70);
52779
+ i0.ɵɵelementStart(9, "div", 71);
52778
52780
  i0.ɵɵtext(10);
52779
52781
  i0.ɵɵelementEnd()()();
52780
52782
  i0.ɵɵelementStart(11, "div", 24);
@@ -52798,7 +52800,7 @@ function SymphiqCreateAccountDashboardComponent_Conditional_26_Template(rf, ctx)
52798
52800
  } }
52799
52801
  function SymphiqCreateAccountDashboardComponent_Conditional_28_Conditional_3_Template(rf, ctx) { if (rf & 1) {
52800
52802
  const _r13 = i0.ɵɵgetCurrentView();
52801
- i0.ɵɵelementStart(0, "button", 77);
52803
+ i0.ɵɵelementStart(0, "button", 78);
52802
52804
  i0.ɵɵlistener("click", function SymphiqCreateAccountDashboardComponent_Conditional_28_Conditional_3_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r13); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.focusAreasEditMode() ? ctx_r1.cancelFocusAreasEditMode() : ctx_r1.cancelEditMode()); });
52803
52805
  i0.ɵɵtext(1, " Cancel ");
52804
52806
  i0.ɵɵelementEnd();
@@ -52817,8 +52819,8 @@ function SymphiqCreateAccountDashboardComponent_Conditional_28_Conditional_5_Con
52817
52819
  } }
52818
52820
  function SymphiqCreateAccountDashboardComponent_Conditional_28_Conditional_5_Template(rf, ctx) { if (rf & 1) {
52819
52821
  i0.ɵɵnamespaceSVG();
52820
- i0.ɵɵelementStart(0, "svg", 78);
52821
- i0.ɵɵelement(1, "circle", 79)(2, "path", 80);
52822
+ i0.ɵɵelementStart(0, "svg", 79);
52823
+ i0.ɵɵelement(1, "circle", 80)(2, "path", 81);
52822
52824
  i0.ɵɵelementEnd();
52823
52825
  i0.ɵɵconditionalCreate(3, SymphiqCreateAccountDashboardComponent_Conditional_28_Conditional_5_Conditional_3_Template, 1, 0)(4, SymphiqCreateAccountDashboardComponent_Conditional_28_Conditional_5_Conditional_4_Template, 1, 0)(5, SymphiqCreateAccountDashboardComponent_Conditional_28_Conditional_5_Conditional_5_Template, 1, 0);
52824
52826
  } if (rf & 2) {
@@ -52838,8 +52840,8 @@ function SymphiqCreateAccountDashboardComponent_Conditional_28_Conditional_6_Con
52838
52840
  function SymphiqCreateAccountDashboardComponent_Conditional_28_Conditional_6_Template(rf, ctx) { if (rf & 1) {
52839
52841
  i0.ɵɵconditionalCreate(0, SymphiqCreateAccountDashboardComponent_Conditional_28_Conditional_6_Conditional_0_Template, 1, 0)(1, SymphiqCreateAccountDashboardComponent_Conditional_28_Conditional_6_Conditional_1_Template, 1, 0)(2, SymphiqCreateAccountDashboardComponent_Conditional_28_Conditional_6_Conditional_2_Template, 1, 0);
52840
52842
  i0.ɵɵnamespaceSVG();
52841
- i0.ɵɵelementStart(3, "svg", 81);
52842
- i0.ɵɵelement(4, "path", 82);
52843
+ i0.ɵɵelementStart(3, "svg", 82);
52844
+ i0.ɵɵelement(4, "path", 83);
52843
52845
  i0.ɵɵelementEnd();
52844
52846
  } if (rf & 2) {
52845
52847
  const ctx_r1 = i0.ɵɵnextContext(2);
@@ -52847,9 +52849,9 @@ function SymphiqCreateAccountDashboardComponent_Conditional_28_Conditional_6_Tem
52847
52849
  } }
52848
52850
  function SymphiqCreateAccountDashboardComponent_Conditional_28_Template(rf, ctx) { if (rf & 1) {
52849
52851
  const _r12 = i0.ɵɵgetCurrentView();
52850
- i0.ɵɵelementStart(0, "div", 17)(1, "div", 73)(2, "div", 74);
52851
- i0.ɵɵconditionalCreate(3, SymphiqCreateAccountDashboardComponent_Conditional_28_Conditional_3_Template, 2, 1, "button", 75);
52852
- i0.ɵɵelementStart(4, "button", 76);
52852
+ i0.ɵɵelementStart(0, "div", 17)(1, "div", 74)(2, "div", 75);
52853
+ i0.ɵɵconditionalCreate(3, SymphiqCreateAccountDashboardComponent_Conditional_28_Conditional_3_Template, 2, 1, "button", 76);
52854
+ i0.ɵɵelementStart(4, "button", 77);
52853
52855
  i0.ɵɵlistener("click", function SymphiqCreateAccountDashboardComponent_Conditional_28_Template_button_click_4_listener() { i0.ɵɵrestoreView(_r12); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.focusAreasEditMode() ? ctx_r1.handleSaveFocusAreas() : ctx_r1.handleContinue()); });
52854
52856
  i0.ɵɵconditionalCreate(5, SymphiqCreateAccountDashboardComponent_Conditional_28_Conditional_5_Template, 6, 1)(6, SymphiqCreateAccountDashboardComponent_Conditional_28_Conditional_6_Template, 5, 1);
52855
52857
  i0.ɵɵelementEnd()()()();
@@ -52925,6 +52927,7 @@ class SymphiqCreateAccountDashboardComponent {
52925
52927
  this.isLoading = signal(false, ...(ngDevMode ? [{ debugName: "isLoading" }] : []));
52926
52928
  this.formChanged = signal(false, ...(ngDevMode ? [{ debugName: "formChanged" }] : []));
52927
52929
  this.originalFormValue = null;
52930
+ this.loadTime = Date.now();
52928
52931
  this.ShopPlatformEnum = ShopPlatformEnum;
52929
52932
  this.JourneyStepIdEnum = JourneyStepIdEnum;
52930
52933
  this.FocusAreaDomainEnum = FocusAreaDomainEnum;
@@ -52983,7 +52986,8 @@ class SymphiqCreateAccountDashboardComponent {
52983
52986
  shopUrl: ['', Validators.required],
52984
52987
  shopPlatform: [ShopPlatformEnum.SHOPIFY, Validators.required],
52985
52988
  otherPlatformName: [''],
52986
- companyName: ['', Validators.required]
52989
+ companyName: ['', Validators.required],
52990
+ website: ['']
52987
52991
  });
52988
52992
  this.initializeFocusAreasMap();
52989
52993
  effect(() => {
@@ -53094,6 +53098,12 @@ class SymphiqCreateAccountDashboardComponent {
53094
53098
  return true;
53095
53099
  }
53096
53100
  handleContinue() {
53101
+ if (this.accountForm.get('website')?.value) {
53102
+ return;
53103
+ }
53104
+ if (Date.now() - this.loadTime < 3000) {
53105
+ return;
53106
+ }
53097
53107
  if (this.accountForm.valid && this.allFocusAreasAnswered() && !this.isLoading()) {
53098
53108
  this.isLoading.set(true);
53099
53109
  const formData = {
@@ -53104,6 +53114,12 @@ class SymphiqCreateAccountDashboardComponent {
53104
53114
  }
53105
53115
  }
53106
53116
  handleSaveFocusAreas() {
53117
+ if (this.accountForm.get('website')?.value) {
53118
+ return;
53119
+ }
53120
+ if (Date.now() - this.loadTime < 3000) {
53121
+ return;
53122
+ }
53107
53123
  if (this.allFocusAreasAnswered() && !this.isLoading()) {
53108
53124
  this.isLoading.set(true);
53109
53125
  const formData = {
@@ -53465,7 +53481,7 @@ class SymphiqCreateAccountDashboardComponent {
53465
53481
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.shopNameInput = _t.first);
53466
53482
  } }, hostBindings: function SymphiqCreateAccountDashboardComponent_HostBindings(rf, ctx) { if (rf & 1) {
53467
53483
  i0.ɵɵlistener("scroll", function SymphiqCreateAccountDashboardComponent_scroll_HostBindingHandler($event) { return ctx.onScroll($event); }, i0.ɵɵresolveWindow);
53468
- } }, inputs: { embedded: [1, "embedded"], parentHeaderOffset: [1, "parentHeaderOffset"], viewMode: [1, "viewMode"], scrollEvent: [1, "scrollEvent"], scrollElement: [1, "scrollElement"], accountData: [1, "accountData"], forDemo: [1, "forDemo"], showNextStepAction: [1, "showNextStepAction"], maxAccessibleStepId: [1, "maxAccessibleStepId"] }, outputs: { onCreateAccount: "onCreateAccount", stepClick: "stepClick", nextStepClick: "nextStepClick" }, decls: 29, vars: 51, consts: [["shopNameInput", ""], [3, "ngClass"], [1, "h-full", "transition-all", "duration-200", "ease-out", 3, "ngClass"], [1, "animated-bubbles", 2, "position", "fixed", "top", "0", "left", "0", "right", "0", "bottom", "0", "width", "100vw", "height", "100vh", "z-index", "1", "pointer-events", "none"], [1, "relative", "z-[51]"], [1, "sticky", "top-0", "z-50", 3, "ngClass"], [1, "transition-all", "duration-300", "ease-in-out", "overflow-hidden"], [1, "max-w-7xl", "mx-auto", "px-4", "sm:px-6", "lg:px-8", "py-8"], [1, "flex", "items-center", "justify-between"], [1, "max-w-7xl", "mx-auto", "px-4", "sm:px-6", "lg:px-8", "py-3"], [1, "flex-1", "min-w-0", "mr-4"], [3, "stepClick", "nextStepClick", "viewMode", "currentStepId", "showNextStepAction", "forDemo", "maxAccessibleStepId"], [1, "relative", "pb-32"], [1, "max-w-3xl", "mx-auto", "px-4", "sm:px-6", "lg:px-8", "py-8"], [1, "rounded-2xl", "border", "shadow-lg", "overflow-hidden", "mb-8", 3, "ngClass"], [1, "rounded-2xl", "border", "shadow-lg", "overflow-hidden", 3, "ngClass"], [3, "close", "save", "isOpen", "focusAreaDomain", "focusAreaTitle", "selectedTools", "viewMode"], [1, "fixed", "bottom-0", "left-0", "right-0", "z-50", "border-t", "backdrop-blur-sm", 3, "ngClass"], [1, "px-8", "py-8", 3, "ngClass"], [1, "flex", "items-start", "justify-between", "mb-6"], [1, "text-2xl", "font-bold", "mb-2", 3, "ngClass"], ["type", "button", 1, "px-4", "py-2", "rounded-lg", "font-medium", "text-sm", "transition-all", "duration-200", "hover:scale-105", "flex", "items-center", "gap-2", "cursor-pointer", 3, "click", "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-4", "h-4"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M11 5H6a2 2 0 00-2 2v11a2 2 0 002 2h11a2 2 0 002-2v-5m-1.414-9.414a2 2 0 112.828 2.828L11.828 15H9v-2.828l8.586-8.586z"], [1, "space-y-4"], [1, "block", "text-sm", "font-medium", "mb-1", 3, "ngClass"], [1, "text-base", 3, "ngClass"], ["target", "_blank", "rel", "noopener noreferrer", 1, "text-base", "hover:underline", 3, "href", "ngClass"], [1, "mb-6"], [1, "space-y-6", 3, "formGroup"], [1, "block", "text-sm", "font-semibold", "mb-2", 3, "ngClass"], [1, "text-red-500"], ["type", "text", "formControlName", "shopName", "placeholder", "Enter your shop name", 1, "w-full", "px-4", "py-3", "rounded-lg", "border-2", "transition-all", "duration-200", "focus:outline-none", "focus:ring-2", 3, "ngClass"], [1, "mt-1", "text-sm", 3, "ngClass"], [1, "flex", "items-center"], [1, "px-4", "py-3", "rounded-l-lg", "border-2", "border-r-0", "text-sm", "font-medium", 3, "ngClass"], ["type", "text", "formControlName", "shopUrl", "placeholder", "yourshop.com", 1, "flex-1", "px-4", "py-3", "rounded-r-lg", "border-2", "transition-all", "duration-200", "focus:outline-none", "focus:ring-2", 3, "ngClass"], [1, "block", "text-sm", "font-semibold", "mb-3", 3, "ngClass"], [1, "grid", "grid-cols-1", "sm:grid-cols-2", "gap-4"], [1, "cursor-pointer", 3, "ngClass"], ["type", "radio", "formControlName", "shopPlatform", 1, "sr-only", 3, "value"], [1, "flex", "items-center", "gap-3", "p-4", "rounded-lg", "border-2", "transition-all", "duration-200"], [1, "w-5", "h-5", "rounded-full", "border-2", "flex", "items-center", "justify-center", "flex-shrink-0", 3, "ngClass"], [1, "w-3", "h-3", "rounded-full", "bg-current"], [1, "flex-1"], [1, "font-semibold", 3, "ngClass"], ["type", "text", "formControlName", "companyName", "placeholder", "Enter company name", 1, "w-full", "px-4", "py-3", "rounded-lg", "border-2", "transition-all", "duration-200", "focus:outline-none", "focus:ring-2", 3, "ngClass", "readonly"], [1, "mt-2"], [1, "flex", "items-center", "gap-2", "cursor-pointer"], ["type", "checkbox", 1, "w-4", "h-4", "rounded", "border-2", "transition-all", "duration-200", 3, "change", "checked", "ngClass"], [1, "text-sm", 3, "ngClass"], ["type", "text", "formControlName", "otherPlatformName", "placeholder", "Enter platform name (e.g., WooCommerce, Magento)", 1, "w-full", "px-4", "py-3", "rounded-lg", "border-2", "transition-all", "duration-200", "focus:outline-none", "focus:ring-2", 3, "ngClass"], [1, "text-base", "font-bold", "mb-3", "flex", "items-center", "gap-2", 3, "ngClass"], [1, "w-2", "h-2", "rounded-full", "bg-emerald-500"], [1, "space-y-3"], [1, "p-4", "rounded-lg", "border-l-4", 3, "ngClass"], [1, "flex", "items-start", "justify-between", "mb-2"], [1, "font-semibold", "text-sm", 3, "ngClass"], [1, "px-2", "py-0.5", "rounded", "text-xs", "font-semibold", "whitespace-nowrap", 3, "ngClass"], [1, "flex", "items-center", "gap-2", "mt-2"], [1, "text-xs", "font-medium", 3, "ngClass"], [1, "flex", "flex-wrap", "gap-1.5"], [1, "px-2", "py-0.5", "rounded", "text-xs", 3, "ngClass"], [1, "w-2", "h-2", "rounded-full", "bg-blue-500"], [1, "grid", "grid-cols-1", "sm:grid-cols-2", "gap-3"], [1, "p-3", "rounded-lg", "border-l-4", 3, "ngClass"], [1, "w-2", "h-2", "rounded-full", "bg-slate-400"], [1, "grid", "grid-cols-2", "sm:grid-cols-3", "gap-2"], [1, "p-2", "rounded", "text-center", 3, "ngClass"], [1, "flex", "items-start", "justify-between"], [1, "px-4", "py-2", "rounded-lg", "text-sm", "font-semibold", "whitespace-nowrap", 3, "ngClass"], [3, "statusChange", "toolsClick", "focusAreaDomain", "selectedStatus", "selectedTools", "viewMode", "title", "description"], [1, "my-4", 3, "ngClass"], [1, "max-w-3xl", "mx-auto", "px-4", "sm:px-6", "lg:px-8", "py-4"], [1, "flex", "items-center", "gap-3"], ["type", "button", 1, "px-6", "py-4", "rounded-xl", "font-bold", "text-base", "transition-all", "duration-200", "flex", "items-center", "justify-center", "gap-2", "cursor-pointer", "hover:scale-105", 3, "ngClass"], ["type", "button", 1, "flex-1", "px-6", "py-4", "rounded-xl", "font-bold", "text-lg", "transition-all", "duration-200", "flex", "items-center", "justify-center", "gap-3", "shadow-lg", 3, "click", "disabled", "ngClass"], ["type", "button", 1, "px-6", "py-4", "rounded-xl", "font-bold", "text-base", "transition-all", "duration-200", "flex", "items-center", "justify-center", "gap-2", "cursor-pointer", "hover:scale-105", 3, "click", "ngClass"], ["fill", "none", "viewBox", "0 0 24 24", 1, "w-6", "h-6", "animate-spin"], ["cx", "12", "cy", "12", "r", "10", "stroke", "currentColor", "stroke-width", "4", 1, "opacity-25"], ["fill", "currentColor", "d", "M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z", 1, "opacity-75"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-6", "h-6"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M13 7l5 5m0 0l-5 5m5-5H6"]], template: function SymphiqCreateAccountDashboardComponent_Template(rf, ctx) { if (rf & 1) {
53484
+ } }, inputs: { embedded: [1, "embedded"], parentHeaderOffset: [1, "parentHeaderOffset"], viewMode: [1, "viewMode"], scrollEvent: [1, "scrollEvent"], scrollElement: [1, "scrollElement"], accountData: [1, "accountData"], forDemo: [1, "forDemo"], showNextStepAction: [1, "showNextStepAction"], maxAccessibleStepId: [1, "maxAccessibleStepId"] }, outputs: { onCreateAccount: "onCreateAccount", stepClick: "stepClick", nextStepClick: "nextStepClick" }, decls: 29, vars: 51, consts: [["shopNameInput", ""], [3, "ngClass"], [1, "h-full", "transition-all", "duration-200", "ease-out", 3, "ngClass"], [1, "animated-bubbles", 2, "position", "fixed", "top", "0", "left", "0", "right", "0", "bottom", "0", "width", "100vw", "height", "100vh", "z-index", "1", "pointer-events", "none"], [1, "relative", "z-[51]"], [1, "sticky", "top-0", "z-50", 3, "ngClass"], [1, "transition-all", "duration-300", "ease-in-out", "overflow-hidden"], [1, "max-w-7xl", "mx-auto", "px-4", "sm:px-6", "lg:px-8", "py-8"], [1, "flex", "items-center", "justify-between"], [1, "max-w-7xl", "mx-auto", "px-4", "sm:px-6", "lg:px-8", "py-3"], [1, "flex-1", "min-w-0", "mr-4"], [3, "stepClick", "nextStepClick", "viewMode", "currentStepId", "showNextStepAction", "forDemo", "maxAccessibleStepId"], [1, "relative", "pb-32"], [1, "max-w-3xl", "mx-auto", "px-4", "sm:px-6", "lg:px-8", "py-8"], [1, "rounded-2xl", "border", "shadow-lg", "overflow-hidden", "mb-8", 3, "ngClass"], [1, "rounded-2xl", "border", "shadow-lg", "overflow-hidden", 3, "ngClass"], [3, "close", "save", "isOpen", "focusAreaDomain", "focusAreaTitle", "selectedTools", "viewMode"], [1, "fixed", "bottom-0", "left-0", "right-0", "z-50", "border-t", "backdrop-blur-sm", 3, "ngClass"], [1, "px-8", "py-8", 3, "ngClass"], [1, "flex", "items-start", "justify-between", "mb-6"], [1, "text-2xl", "font-bold", "mb-2", 3, "ngClass"], ["type", "button", 1, "px-4", "py-2", "rounded-lg", "font-medium", "text-sm", "transition-all", "duration-200", "hover:scale-105", "flex", "items-center", "gap-2", "cursor-pointer", 3, "click", "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-4", "h-4"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M11 5H6a2 2 0 00-2 2v11a2 2 0 002 2h11a2 2 0 002-2v-5m-1.414-9.414a2 2 0 112.828 2.828L11.828 15H9v-2.828l8.586-8.586z"], [1, "space-y-4"], [1, "block", "text-sm", "font-medium", "mb-1", 3, "ngClass"], [1, "text-base", 3, "ngClass"], ["target", "_blank", "rel", "noopener noreferrer", 1, "text-base", "hover:underline", 3, "href", "ngClass"], [1, "mb-6"], [1, "space-y-6", 3, "formGroup"], [1, "block", "text-sm", "font-semibold", "mb-2", 3, "ngClass"], [1, "text-red-500"], ["type", "text", "formControlName", "shopName", "placeholder", "Enter your shop name", 1, "w-full", "px-4", "py-3", "rounded-lg", "border-2", "transition-all", "duration-200", "focus:outline-none", "focus:ring-2", 3, "ngClass"], [1, "mt-1", "text-sm", 3, "ngClass"], [1, "flex", "items-center"], [1, "px-4", "py-3", "rounded-l-lg", "border-2", "border-r-0", "text-sm", "font-medium", 3, "ngClass"], ["type", "text", "formControlName", "shopUrl", "placeholder", "yourshop.com", 1, "flex-1", "px-4", "py-3", "rounded-r-lg", "border-2", "transition-all", "duration-200", "focus:outline-none", "focus:ring-2", 3, "ngClass"], [1, "block", "text-sm", "font-semibold", "mb-3", 3, "ngClass"], [1, "grid", "grid-cols-1", "sm:grid-cols-2", "gap-4"], [1, "cursor-pointer", 3, "ngClass"], ["type", "radio", "formControlName", "shopPlatform", 1, "sr-only", 3, "value"], [1, "flex", "items-center", "gap-3", "p-4", "rounded-lg", "border-2", "transition-all", "duration-200"], [1, "w-5", "h-5", "rounded-full", "border-2", "flex", "items-center", "justify-center", "flex-shrink-0", 3, "ngClass"], [1, "w-3", "h-3", "rounded-full", "bg-current"], [1, "flex-1"], [1, "font-semibold", 3, "ngClass"], ["type", "text", "formControlName", "companyName", "placeholder", "Enter company name", 1, "w-full", "px-4", "py-3", "rounded-lg", "border-2", "transition-all", "duration-200", "focus:outline-none", "focus:ring-2", 3, "ngClass", "readonly"], [1, "mt-2"], [1, "flex", "items-center", "gap-2", "cursor-pointer"], ["type", "checkbox", 1, "w-4", "h-4", "rounded", "border-2", "transition-all", "duration-200", 3, "change", "checked", "ngClass"], [1, "text-sm", 3, "ngClass"], ["formControlName", "website", "tabindex", "-1", "autocomplete", "off", 1, "absolute", "-left-[9999px]", "opacity-0"], ["type", "text", "formControlName", "otherPlatformName", "placeholder", "Enter platform name (e.g., WooCommerce, Magento)", 1, "w-full", "px-4", "py-3", "rounded-lg", "border-2", "transition-all", "duration-200", "focus:outline-none", "focus:ring-2", 3, "ngClass"], [1, "text-base", "font-bold", "mb-3", "flex", "items-center", "gap-2", 3, "ngClass"], [1, "w-2", "h-2", "rounded-full", "bg-emerald-500"], [1, "space-y-3"], [1, "p-4", "rounded-lg", "border-l-4", 3, "ngClass"], [1, "flex", "items-start", "justify-between", "mb-2"], [1, "font-semibold", "text-sm", 3, "ngClass"], [1, "px-2", "py-0.5", "rounded", "text-xs", "font-semibold", "whitespace-nowrap", 3, "ngClass"], [1, "flex", "items-center", "gap-2", "mt-2"], [1, "text-xs", "font-medium", 3, "ngClass"], [1, "flex", "flex-wrap", "gap-1.5"], [1, "px-2", "py-0.5", "rounded", "text-xs", 3, "ngClass"], [1, "w-2", "h-2", "rounded-full", "bg-blue-500"], [1, "grid", "grid-cols-1", "sm:grid-cols-2", "gap-3"], [1, "p-3", "rounded-lg", "border-l-4", 3, "ngClass"], [1, "w-2", "h-2", "rounded-full", "bg-slate-400"], [1, "grid", "grid-cols-2", "sm:grid-cols-3", "gap-2"], [1, "p-2", "rounded", "text-center", 3, "ngClass"], [1, "flex", "items-start", "justify-between"], [1, "px-4", "py-2", "rounded-lg", "text-sm", "font-semibold", "whitespace-nowrap", 3, "ngClass"], [3, "statusChange", "toolsClick", "focusAreaDomain", "selectedStatus", "selectedTools", "viewMode", "title", "description"], [1, "my-4", 3, "ngClass"], [1, "max-w-3xl", "mx-auto", "px-4", "sm:px-6", "lg:px-8", "py-4"], [1, "flex", "items-center", "gap-3"], ["type", "button", 1, "px-6", "py-4", "rounded-xl", "font-bold", "text-base", "transition-all", "duration-200", "flex", "items-center", "justify-center", "gap-2", "cursor-pointer", "hover:scale-105", 3, "ngClass"], ["type", "button", 1, "flex-1", "px-6", "py-4", "rounded-xl", "font-bold", "text-lg", "transition-all", "duration-200", "flex", "items-center", "justify-center", "gap-3", "shadow-lg", 3, "click", "disabled", "ngClass"], ["type", "button", 1, "px-6", "py-4", "rounded-xl", "font-bold", "text-base", "transition-all", "duration-200", "flex", "items-center", "justify-center", "gap-2", "cursor-pointer", "hover:scale-105", 3, "click", "ngClass"], ["fill", "none", "viewBox", "0 0 24 24", 1, "w-6", "h-6", "animate-spin"], ["cx", "12", "cy", "12", "r", "10", "stroke", "currentColor", "stroke-width", "4", 1, "opacity-25"], ["fill", "currentColor", "d", "M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z", 1, "opacity-75"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-6", "h-6"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M13 7l5 5m0 0l-5 5m5-5H6"]], template: function SymphiqCreateAccountDashboardComponent_Template(rf, ctx) { if (rf & 1) {
53469
53485
  i0.ɵɵelementStart(0, "div", 1)(1, "div");
53470
53486
  i0.ɵɵelement(2, "div", 2);
53471
53487
  i0.ɵɵelementEnd();
@@ -53484,7 +53500,7 @@ class SymphiqCreateAccountDashboardComponent {
53484
53500
  i0.ɵɵelementEnd();
53485
53501
  i0.ɵɵelementStart(21, "main", 12)(22, "div", 13);
53486
53502
  i0.ɵɵconditionalCreate(23, SymphiqCreateAccountDashboardComponent_Conditional_23_Template, 34, 18, "div", 14);
53487
- i0.ɵɵconditionalCreate(24, SymphiqCreateAccountDashboardComponent_Conditional_24_Template, 61, 35, "div", 14);
53503
+ i0.ɵɵconditionalCreate(24, SymphiqCreateAccountDashboardComponent_Conditional_24_Template, 62, 35, "div", 14);
53488
53504
  i0.ɵɵconditionalCreate(25, SymphiqCreateAccountDashboardComponent_Conditional_25_Template, 15, 8, "div", 15);
53489
53505
  i0.ɵɵconditionalCreate(26, SymphiqCreateAccountDashboardComponent_Conditional_26_Template, 14, 7, "div", 15);
53490
53506
  i0.ɵɵelementEnd()();
@@ -53846,6 +53862,8 @@ class SymphiqCreateAccountDashboardComponent {
53846
53862
  </p>
53847
53863
  }
53848
53864
  </div>
53865
+
53866
+ <input formControlName="website" class="absolute -left-[9999px] opacity-0" tabindex="-1" autocomplete="off" />
53849
53867
  </form>
53850
53868
  </div>
53851
53869
  </div>
@@ -54068,7 +54086,7 @@ class SymphiqCreateAccountDashboardComponent {
54068
54086
  type: HostListener,
54069
54087
  args: ['window:scroll', ['$event']]
54070
54088
  }] }); })();
54071
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SymphiqCreateAccountDashboardComponent, { className: "SymphiqCreateAccountDashboardComponent", filePath: "lib/components/create-account-dashboard/symphiq-create-account-dashboard.component.ts", lineNumber: 623 }); })();
54089
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SymphiqCreateAccountDashboardComponent, { className: "SymphiqCreateAccountDashboardComponent", filePath: "lib/components/create-account-dashboard/symphiq-create-account-dashboard.component.ts", lineNumber: 625 }); })();
54072
54090
 
54073
54091
  class SymphiqConnectGaDashboardComponent {
54074
54092
  constructor() {
@@ -57817,8 +57835,31 @@ class CollapsibleSectionGroupComponent {
57817
57835
  }], null, { sections: [{ type: i0.Input, args: [{ isSignal: true, alias: "sections", required: false }] }], viewMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewMode", required: false }] }] }); })();
57818
57836
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CollapsibleSectionGroupComponent, { className: "CollapsibleSectionGroupComponent", filePath: "lib/components/business-analysis-dashboard/collapsible-section-group.component.ts", lineNumber: 100 }); })();
57819
57837
 
57820
- function ContentGenerationProgressComponent_Conditional_27_Template(rf, ctx) { if (rf & 1) {
57821
- i0.ɵɵelement(0, "div", 26);
57838
+ function ContentGenerationProgressComponent_Conditional_20_Template(rf, ctx) { if (rf & 1) {
57839
+ i0.ɵɵelementStart(0, "div", 20)(1, "div", 21);
57840
+ i0.ɵɵelement(2, "div", 22)(3, "div", 23)(4, "div", 24)(5, "div", 25)(6, "div", 26);
57841
+ i0.ɵɵelementEnd()();
57842
+ } if (rf & 2) {
57843
+ const ctx_r0 = i0.ɵɵnextContext();
57844
+ i0.ɵɵstyleProp("clip-path", "inset(0 0 0 " + ctx_r0.progressPercentage() + "%)");
57845
+ i0.ɵɵadvance(2);
57846
+ i0.ɵɵstyleProp("left", ctx_r0.progressPercentage(), "%");
57847
+ i0.ɵɵproperty("ngClass", ctx_r0.dotClasses());
57848
+ i0.ɵɵadvance();
57849
+ i0.ɵɵstyleProp("left", ctx_r0.progressPercentage(), "%");
57850
+ i0.ɵɵproperty("ngClass", ctx_r0.dotClasses());
57851
+ i0.ɵɵadvance();
57852
+ i0.ɵɵstyleProp("left", ctx_r0.progressPercentage(), "%");
57853
+ i0.ɵɵproperty("ngClass", ctx_r0.dotClasses());
57854
+ i0.ɵɵadvance();
57855
+ i0.ɵɵstyleProp("left", ctx_r0.progressPercentage(), "%");
57856
+ i0.ɵɵproperty("ngClass", ctx_r0.dotClasses());
57857
+ i0.ɵɵadvance();
57858
+ i0.ɵɵstyleProp("left", ctx_r0.progressPercentage(), "%");
57859
+ i0.ɵɵproperty("ngClass", ctx_r0.dotClasses());
57860
+ } }
57861
+ function ContentGenerationProgressComponent_Conditional_21_Template(rf, ctx) { if (rf & 1) {
57862
+ i0.ɵɵelement(0, "div", 27);
57822
57863
  } if (rf & 2) {
57823
57864
  const ctx_r0 = i0.ɵɵnextContext();
57824
57865
  i0.ɵɵstyleProp("left", ctx_r0.progressPercentage(), "%");
@@ -57835,7 +57876,7 @@ class ContentGenerationProgressComponent {
57835
57876
  const status = this.itemStatus();
57836
57877
  if (!status?.percentageComplete)
57837
57878
  return 0;
57838
- return Math.min(100, Math.max(0, status.percentageComplete));
57879
+ return Math.round(Math.min(100, Math.max(0, status.percentageComplete)));
57839
57880
  }, ...(ngDevMode ? [{ debugName: "progressPercentage" }] : []));
57840
57881
  this.progressMessage = computed(() => {
57841
57882
  const status = this.itemStatus();
@@ -57900,7 +57941,7 @@ class ContentGenerationProgressComponent {
57900
57941
  }, ...(ngDevMode ? [{ debugName: "percentageClasses" }] : []));
57901
57942
  }
57902
57943
  static { this.ɵfac = function ContentGenerationProgressComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ContentGenerationProgressComponent)(); }; }
57903
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ContentGenerationProgressComponent, selectors: [["symphiq-content-generation-progress"]], inputs: { itemStatus: [1, "itemStatus"], title: [1, "title"], subtitle: [1, "subtitle"], viewMode: [1, "viewMode"], showIcon: [1, "showIcon"] }, decls: 31, vars: 21, consts: [[1, "min-h-[60vh]", "flex", "items-center", "justify-center", "px-4", "py-12", 3, "ngClass"], [1, "max-w-3xl", "w-full", "space-y-8"], [1, "text-center", "space-y-3"], [1, "flex", "items-center", "justify-center", "mb-4"], [1, "relative", "w-20", "h-20", "rounded-2xl", "flex", "items-center", "justify-center", "icon-pulse", 3, "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-10", "h-10"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M13 10V3L4 14h7v7l9-11h-7z"], [1, "absolute", "inset-0", "rounded-2xl", "icon-glow"], [1, "text-3xl", "sm:text-4xl", "font-bold", 3, "ngClass"], [1, "text-base", "sm:text-lg", "max-w-2xl", "mx-auto", 3, "ngClass"], [1, "space-y-4"], [1, "text-center"], [1, "text-lg", "sm:text-xl", "font-medium", "message-fade", 3, "ngClass"], [1, "relative", "h-3", "rounded-full", "overflow-visible", 3, "ngClass"], [1, "absolute", "inset-0", "rounded-full", 3, "ngClass"], [1, "absolute", "inset-y-0", "left-0", "rounded-full", "transition-all", "duration-700", "ease-out", "overflow-hidden", 3, "ngClass"], [1, "absolute", "inset-0", "shimmer-effect"], [1, "absolute", "inset-0", "overflow-hidden", "rounded-full"], [1, "dots-container", "h-full"], [1, "dot", "dot-1", 3, "ngClass"], [1, "dot", "dot-2", 3, "ngClass"], [1, "dot", "dot-3", 3, "ngClass"], [1, "dot", "dot-4", 3, "ngClass"], [1, "dot", "dot-5", 3, "ngClass"], [1, "absolute", "top-1/2", "-translate-y-1/2", "w-4", "h-4", "rounded-full", "blur-md", "transition-all", "duration-700", "ease-out", 2, "margin-left", "-8px", 3, "ngClass", "left"], [1, "text-sm", "font-medium", "tabular-nums", 3, "ngClass"], [1, "absolute", "top-1/2", "-translate-y-1/2", "w-4", "h-4", "rounded-full", "blur-md", "transition-all", "duration-700", "ease-out", 2, "margin-left", "-8px", 3, "ngClass"]], template: function ContentGenerationProgressComponent_Template(rf, ctx) { if (rf & 1) {
57944
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ContentGenerationProgressComponent, selectors: [["symphiq-content-generation-progress"]], inputs: { itemStatus: [1, "itemStatus"], title: [1, "title"], subtitle: [1, "subtitle"], viewMode: [1, "viewMode"], showIcon: [1, "showIcon"] }, decls: 25, vars: 17, consts: [[1, "min-h-[60vh]", "flex", "items-center", "justify-center", "px-4", "py-12", 3, "ngClass"], [1, "max-w-3xl", "w-full", "space-y-8"], [1, "text-center", "space-y-3"], [1, "flex", "items-center", "justify-center", "mb-4"], [1, "relative", "w-20", "h-20", "rounded-2xl", "flex", "items-center", "justify-center", "icon-pulse", 3, "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-10", "h-10"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M13 10V3L4 14h7v7l9-11h-7z"], [1, "absolute", "inset-0", "rounded-2xl", "icon-glow"], [1, "text-3xl", "sm:text-4xl", "font-bold", 3, "ngClass"], [1, "text-base", "sm:text-lg", "max-w-2xl", "mx-auto", 3, "ngClass"], [1, "space-y-4"], [1, "text-center"], [1, "text-lg", "sm:text-xl", "font-medium", "message-fade", 3, "ngClass"], [1, "relative", "h-3", "rounded-full", "overflow-visible", 3, "ngClass"], [1, "absolute", "inset-0", "rounded-full", 3, "ngClass"], [1, "absolute", "inset-y-0", "left-0", "rounded-full", "transition-all", "duration-700", "ease-out", "overflow-hidden", 3, "ngClass"], [1, "absolute", "inset-0", "shimmer-effect"], [1, "absolute", "inset-0", "overflow-hidden", "rounded-full", 3, "clip-path"], [1, "absolute", "top-1/2", "-translate-y-1/2", "w-4", "h-4", "rounded-full", "blur-md", "transition-all", "duration-700", "ease-out", 2, "margin-left", "-8px", 3, "ngClass", "left"], [1, "text-sm", "font-medium", "tabular-nums", 3, "ngClass"], [1, "absolute", "inset-0", "overflow-hidden", "rounded-full"], [1, "dots-container", "h-full"], [1, "dot", "dot-1", 3, "ngClass"], [1, "dot", "dot-2", 3, "ngClass"], [1, "dot", "dot-3", 3, "ngClass"], [1, "dot", "dot-4", 3, "ngClass"], [1, "dot", "dot-5", 3, "ngClass"], [1, "absolute", "top-1/2", "-translate-y-1/2", "w-4", "h-4", "rounded-full", "blur-md", "transition-all", "duration-700", "ease-out", 2, "margin-left", "-8px", 3, "ngClass"]], template: function ContentGenerationProgressComponent_Template(rf, ctx) { if (rf & 1) {
57904
57945
  i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "div", 2)(3, "div", 3)(4, "div", 4);
57905
57946
  i0.ɵɵnamespaceSVG();
57906
57947
  i0.ɵɵelementStart(5, "svg", 5);
@@ -57923,13 +57964,11 @@ class ContentGenerationProgressComponent {
57923
57964
  i0.ɵɵelementStart(18, "div", 15);
57924
57965
  i0.ɵɵelement(19, "div", 16);
57925
57966
  i0.ɵɵelementEnd();
57926
- i0.ɵɵelementStart(20, "div", 17)(21, "div", 18);
57927
- i0.ɵɵelement(22, "div", 19)(23, "div", 20)(24, "div", 21)(25, "div", 22)(26, "div", 23);
57928
- i0.ɵɵelementEnd()();
57929
- i0.ɵɵconditionalCreate(27, ContentGenerationProgressComponent_Conditional_27_Template, 1, 3, "div", 24);
57967
+ i0.ɵɵconditionalCreate(20, ContentGenerationProgressComponent_Conditional_20_Template, 7, 17, "div", 17);
57968
+ i0.ɵɵconditionalCreate(21, ContentGenerationProgressComponent_Conditional_21_Template, 1, 3, "div", 18);
57930
57969
  i0.ɵɵelementEnd();
57931
- i0.ɵɵelementStart(28, "div", 11)(29, "span", 25);
57932
- i0.ɵɵtext(30);
57970
+ i0.ɵɵelementStart(22, "div", 11)(23, "span", 19);
57971
+ i0.ɵɵtext(24);
57933
57972
  i0.ɵɵelementEnd()()()()();
57934
57973
  } if (rf & 2) {
57935
57974
  i0.ɵɵproperty("ngClass", ctx.containerClasses());
@@ -57954,23 +57993,15 @@ class ContentGenerationProgressComponent {
57954
57993
  i0.ɵɵadvance();
57955
57994
  i0.ɵɵstyleProp("width", ctx.progressPercentage(), "%");
57956
57995
  i0.ɵɵproperty("ngClass", ctx.progressBarFillClasses());
57957
- i0.ɵɵadvance(4);
57958
- i0.ɵɵproperty("ngClass", ctx.dotClasses());
57959
- i0.ɵɵadvance();
57960
- i0.ɵɵproperty("ngClass", ctx.dotClasses());
57961
- i0.ɵɵadvance();
57962
- i0.ɵɵproperty("ngClass", ctx.dotClasses());
57963
- i0.ɵɵadvance();
57964
- i0.ɵɵproperty("ngClass", ctx.dotClasses());
57965
- i0.ɵɵadvance();
57966
- i0.ɵɵproperty("ngClass", ctx.dotClasses());
57996
+ i0.ɵɵadvance(2);
57997
+ i0.ɵɵconditional(ctx.progressPercentage() > 0 && ctx.progressPercentage() < 100 ? 20 : -1);
57967
57998
  i0.ɵɵadvance();
57968
- i0.ɵɵconditional(ctx.progressPercentage() > 0 && ctx.progressPercentage() < 100 ? 27 : -1);
57999
+ i0.ɵɵconditional(ctx.progressPercentage() > 0 && ctx.progressPercentage() < 100 ? 21 : -1);
57969
58000
  i0.ɵɵadvance(2);
57970
58001
  i0.ɵɵproperty("ngClass", ctx.percentageClasses());
57971
58002
  i0.ɵɵadvance();
57972
58003
  i0.ɵɵtextInterpolate1(" ", ctx.progressPercentage(), "% complete ");
57973
- } }, dependencies: [CommonModule, i1$1.NgClass], styles: ["@keyframes _ngcontent-%COMP%_icon-pulse{0%,to{transform:scale(1);opacity:1}50%{transform:scale(1.05);opacity:.9}}@keyframes _ngcontent-%COMP%_icon-glow-pulse{0%,to{opacity:.3;transform:scale(1)}50%{opacity:.6;transform:scale(1.2)}}@keyframes _ngcontent-%COMP%_shimmer{0%{transform:translate(-100%)}to{transform:translate(100%)}}@keyframes _ngcontent-%COMP%_dots-move{0%{transform:translate(-20px);opacity:0}20%{opacity:1}80%{opacity:1}to{transform:translate(calc(100vw + 20px));opacity:0}}@keyframes _ngcontent-%COMP%_message-fade{0%,to{opacity:1}50%{opacity:.7}}.icon-pulse[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_icon-pulse 2s ease-in-out infinite}.icon-glow[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_icon-glow-pulse 2s ease-in-out infinite}.shimmer-effect[_ngcontent-%COMP%]{background:linear-gradient(90deg,transparent 0%,rgba(255,255,255,.3) 50%,transparent 100%);animation:_ngcontent-%COMP%_shimmer 2s ease-in-out infinite}.message-fade[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_message-fade 3s ease-in-out infinite}.dots-container[_ngcontent-%COMP%]{position:relative;width:100%}.dot[_ngcontent-%COMP%]{position:absolute;top:50%;width:8px;height:8px;border-radius:50%;transform:translateY(-50%);animation:_ngcontent-%COMP%_dots-move 3s linear infinite}.dot-1[_ngcontent-%COMP%]{animation-delay:0s}.dot-2[_ngcontent-%COMP%]{animation-delay:.6s}.dot-3[_ngcontent-%COMP%]{animation-delay:1.2s}.dot-4[_ngcontent-%COMP%]{animation-delay:1.8s}.dot-5[_ngcontent-%COMP%]{animation-delay:2.4s}@media (prefers-reduced-motion: reduce){.icon-pulse[_ngcontent-%COMP%], .icon-glow[_ngcontent-%COMP%], .shimmer-effect[_ngcontent-%COMP%], .message-fade[_ngcontent-%COMP%], .dot[_ngcontent-%COMP%]{animation:none}}"], changeDetection: 0 }); }
58004
+ } }, dependencies: [CommonModule, i1$1.NgClass], styles: ["@keyframes _ngcontent-%COMP%_icon-pulse{0%,to{transform:scale(1);opacity:1}50%{transform:scale(1.05);opacity:.9}}@keyframes _ngcontent-%COMP%_icon-glow-pulse{0%,to{opacity:.3;transform:scale(1)}50%{opacity:.6;transform:scale(1.2)}}@keyframes _ngcontent-%COMP%_shimmer{0%{transform:translate(-100%)}to{transform:translate(100%)}}@keyframes _ngcontent-%COMP%_dots-move{0%{transform:translate(0);opacity:0}10%{opacity:1}90%{opacity:1}to{transform:translate(200px);opacity:0}}@keyframes _ngcontent-%COMP%_message-fade{0%,to{opacity:1}50%{opacity:.7}}.icon-pulse[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_icon-pulse 2s ease-in-out infinite}.icon-glow[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_icon-glow-pulse 2s ease-in-out infinite}.shimmer-effect[_ngcontent-%COMP%]{background:linear-gradient(90deg,transparent 0%,rgba(255,255,255,.3) 50%,transparent 100%);animation:_ngcontent-%COMP%_shimmer 2s ease-in-out infinite}.message-fade[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_message-fade 3s ease-in-out infinite}.dots-container[_ngcontent-%COMP%]{position:relative;width:100%}.dot[_ngcontent-%COMP%]{position:absolute;top:50%;width:8px;height:8px;border-radius:50%;margin-top:-4px;animation:_ngcontent-%COMP%_dots-move 2.5s ease-out infinite}.dot-1[_ngcontent-%COMP%]{animation-delay:0s}.dot-2[_ngcontent-%COMP%]{animation-delay:.6s}.dot-3[_ngcontent-%COMP%]{animation-delay:1.2s}.dot-4[_ngcontent-%COMP%]{animation-delay:1.8s}.dot-5[_ngcontent-%COMP%]{animation-delay:2.4s}@media (prefers-reduced-motion: reduce){.icon-pulse[_ngcontent-%COMP%], .icon-glow[_ngcontent-%COMP%], .shimmer-effect[_ngcontent-%COMP%], .message-fade[_ngcontent-%COMP%], .dot[_ngcontent-%COMP%]{animation:none}}"], changeDetection: 0 }); }
57974
58005
  }
57975
58006
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContentGenerationProgressComponent, [{
57976
58007
  type: Component,
@@ -58021,15 +58052,17 @@ class ContentGenerationProgressComponent {
58021
58052
  </div>
58022
58053
 
58023
58054
  <!-- Animated Dots Overlay (shows beyond the solid bar) -->
58024
- <div class="absolute inset-0 overflow-hidden rounded-full">
58025
- <div class="dots-container h-full">
58026
- <div [ngClass]="dotClasses()" class="dot dot-1"></div>
58027
- <div [ngClass]="dotClasses()" class="dot dot-2"></div>
58028
- <div [ngClass]="dotClasses()" class="dot dot-3"></div>
58029
- <div [ngClass]="dotClasses()" class="dot dot-4"></div>
58030
- <div [ngClass]="dotClasses()" class="dot dot-5"></div>
58055
+ @if (progressPercentage() > 0 && progressPercentage() < 100) {
58056
+ <div class="absolute inset-0 overflow-hidden rounded-full" [style.clip-path]="'inset(0 0 0 ' + progressPercentage() + '%)'">
58057
+ <div class="dots-container h-full">
58058
+ <div [ngClass]="dotClasses()" [style.left.%]="progressPercentage()" class="dot dot-1"></div>
58059
+ <div [ngClass]="dotClasses()" [style.left.%]="progressPercentage()" class="dot dot-2"></div>
58060
+ <div [ngClass]="dotClasses()" [style.left.%]="progressPercentage()" class="dot dot-3"></div>
58061
+ <div [ngClass]="dotClasses()" [style.left.%]="progressPercentage()" class="dot dot-4"></div>
58062
+ <div [ngClass]="dotClasses()" [style.left.%]="progressPercentage()" class="dot dot-5"></div>
58063
+ </div>
58031
58064
  </div>
58032
- </div>
58065
+ }
58033
58066
 
58034
58067
  <!-- Glow effect at the progress edge -->
58035
58068
  @if (progressPercentage() > 0 && progressPercentage() < 100) {
@@ -58051,9 +58084,9 @@ class ContentGenerationProgressComponent {
58051
58084
  </div>
58052
58085
  </div>
58053
58086
  </div>
58054
- `, styles: ["@keyframes icon-pulse{0%,to{transform:scale(1);opacity:1}50%{transform:scale(1.05);opacity:.9}}@keyframes icon-glow-pulse{0%,to{opacity:.3;transform:scale(1)}50%{opacity:.6;transform:scale(1.2)}}@keyframes shimmer{0%{transform:translate(-100%)}to{transform:translate(100%)}}@keyframes dots-move{0%{transform:translate(-20px);opacity:0}20%{opacity:1}80%{opacity:1}to{transform:translate(calc(100vw + 20px));opacity:0}}@keyframes message-fade{0%,to{opacity:1}50%{opacity:.7}}.icon-pulse{animation:icon-pulse 2s ease-in-out infinite}.icon-glow{animation:icon-glow-pulse 2s ease-in-out infinite}.shimmer-effect{background:linear-gradient(90deg,transparent 0%,rgba(255,255,255,.3) 50%,transparent 100%);animation:shimmer 2s ease-in-out infinite}.message-fade{animation:message-fade 3s ease-in-out infinite}.dots-container{position:relative;width:100%}.dot{position:absolute;top:50%;width:8px;height:8px;border-radius:50%;transform:translateY(-50%);animation:dots-move 3s linear infinite}.dot-1{animation-delay:0s}.dot-2{animation-delay:.6s}.dot-3{animation-delay:1.2s}.dot-4{animation-delay:1.8s}.dot-5{animation-delay:2.4s}@media (prefers-reduced-motion: reduce){.icon-pulse,.icon-glow,.shimmer-effect,.message-fade,.dot{animation:none}}\n"] }]
58087
+ `, styles: ["@keyframes icon-pulse{0%,to{transform:scale(1);opacity:1}50%{transform:scale(1.05);opacity:.9}}@keyframes icon-glow-pulse{0%,to{opacity:.3;transform:scale(1)}50%{opacity:.6;transform:scale(1.2)}}@keyframes shimmer{0%{transform:translate(-100%)}to{transform:translate(100%)}}@keyframes dots-move{0%{transform:translate(0);opacity:0}10%{opacity:1}90%{opacity:1}to{transform:translate(200px);opacity:0}}@keyframes message-fade{0%,to{opacity:1}50%{opacity:.7}}.icon-pulse{animation:icon-pulse 2s ease-in-out infinite}.icon-glow{animation:icon-glow-pulse 2s ease-in-out infinite}.shimmer-effect{background:linear-gradient(90deg,transparent 0%,rgba(255,255,255,.3) 50%,transparent 100%);animation:shimmer 2s ease-in-out infinite}.message-fade{animation:message-fade 3s ease-in-out infinite}.dots-container{position:relative;width:100%}.dot{position:absolute;top:50%;width:8px;height:8px;border-radius:50%;margin-top:-4px;animation:dots-move 2.5s ease-out infinite}.dot-1{animation-delay:0s}.dot-2{animation-delay:.6s}.dot-3{animation-delay:1.2s}.dot-4{animation-delay:1.8s}.dot-5{animation-delay:2.4s}@media (prefers-reduced-motion: reduce){.icon-pulse,.icon-glow,.shimmer-effect,.message-fade,.dot{animation:none}}\n"] }]
58055
58088
  }], null, { itemStatus: [{ type: i0.Input, args: [{ isSignal: true, alias: "itemStatus", required: false }] }], title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], subtitle: [{ type: i0.Input, args: [{ isSignal: true, alias: "subtitle", required: false }] }], viewMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewMode", required: false }] }], showIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "showIcon", required: false }] }] }); })();
58056
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ContentGenerationProgressComponent, { className: "ContentGenerationProgressComponent", filePath: "lib/components/shared/content-generation-progress.component.ts", lineNumber: 214 }); })();
58089
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ContentGenerationProgressComponent, { className: "ContentGenerationProgressComponent", filePath: "lib/components/shared/content-generation-progress.component.ts", lineNumber: 216 }); })();
58057
58090
 
58058
58091
  const _c0$n = () => [];
58059
58092
  function SymphiqBusinessAnalysisDashboardComponent_Conditional_14_Template(rf, ctx) { if (rf & 1) {
@@ -58143,11 +58176,11 @@ function SymphiqBusinessAnalysisDashboardComponent_Conditional_25_Template(rf, c
58143
58176
  i0.ɵɵconditionalCreate(0, SymphiqBusinessAnalysisDashboardComponent_Conditional_25_Conditional_0_Template, 1, 5, "symphiq-journey-progress-indicator", 27);
58144
58177
  i0.ɵɵelement(1, "symphiq-content-generation-progress", 28);
58145
58178
  } if (rf & 2) {
58146
- let tmp_3_0;
58179
+ let tmp_4_0;
58147
58180
  const ctx_r1 = i0.ɵɵnextContext();
58148
58181
  i0.ɵɵconditional(!ctx_r1.isOnboarded() ? 0 : -1);
58149
58182
  i0.ɵɵadvance();
58150
- i0.ɵɵproperty("viewMode", ctx_r1.viewMode())("title", "We are generating a new Business Analysis for " + (((tmp_3_0 = ctx_r1.currentProfile()) == null ? null : tmp_3_0.profileStructured == null ? null : tmp_3_0.profileStructured.businessName) || "your business") + ".")("subtitle", "It will appear here when ready. You can check back later as this will take a few minutes to complete.");
58183
+ i0.ɵɵproperty("viewMode", ctx_r1.viewMode())("itemStatus", ctx_r1.itemStatus())("title", "We are generating a new Business Analysis for " + (((tmp_4_0 = ctx_r1.currentProfile()) == null ? null : tmp_4_0.profileStructured == null ? null : tmp_4_0.profileStructured.businessName) || "your business") + ".")("subtitle", "It will appear here when ready. You can check back later as this will take a few minutes to complete.");
58151
58184
  } }
58152
58185
  function SymphiqBusinessAnalysisDashboardComponent_Conditional_26_Conditional_0_Conditional_0_Template(rf, ctx) { if (rf & 1) {
58153
58186
  const _r6 = i0.ɵɵgetCurrentView();
@@ -58262,6 +58295,7 @@ class SymphiqBusinessAnalysisDashboardComponent {
58262
58295
  this.isOnboarded = input(false, ...(ngDevMode ? [{ debugName: "isOnboarded" }] : []));
58263
58296
  this.forDemo = input(false, ...(ngDevMode ? [{ debugName: "forDemo" }] : []));
58264
58297
  this.maxAccessibleStepId = input(undefined, ...(ngDevMode ? [{ debugName: "maxAccessibleStepId" }] : []));
58298
+ this.itemStatus = input(...(ngDevMode ? [undefined, { debugName: "itemStatus" }] : []));
58265
58299
  this.stepClick = output();
58266
58300
  this.nextStepClick = output();
58267
58301
  this.JourneyStepIdEnum = JourneyStepIdEnum;
@@ -58726,7 +58760,7 @@ class SymphiqBusinessAnalysisDashboardComponent {
58726
58760
  static { this.ɵfac = function SymphiqBusinessAnalysisDashboardComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SymphiqBusinessAnalysisDashboardComponent)(); }; }
58727
58761
  static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SymphiqBusinessAnalysisDashboardComponent, selectors: [["symphiq-business-analysis-dashboard"]], hostBindings: function SymphiqBusinessAnalysisDashboardComponent_HostBindings(rf, ctx) { if (rf & 1) {
58728
58762
  i0.ɵɵlistener("scroll", function SymphiqBusinessAnalysisDashboardComponent_scroll_HostBindingHandler($event) { return ctx.onScroll($event); }, i0.ɵɵresolveWindow)("keydown", function SymphiqBusinessAnalysisDashboardComponent_keydown_HostBindingHandler($event) { return ctx.handleKeyDown($event); }, i0.ɵɵresolveDocument);
58729
- } }, inputs: { embedded: [1, "embedded"], profile: [1, "profile"], parentHeaderOffset: [1, "parentHeaderOffset"], requestedByUser: [1, "requestedByUser"], viewMode: [1, "viewMode"], scrollEvent: [1, "scrollEvent"], scrollElement: [1, "scrollElement"], isLoading: [1, "isLoading"], isOnboarded: [1, "isOnboarded"], forDemo: [1, "forDemo"], maxAccessibleStepId: [1, "maxAccessibleStepId"] }, outputs: { stepClick: "stepClick", nextStepClick: "nextStepClick" }, decls: 35, vars: 59, consts: [[3, "ngClass"], [1, "h-full", "transition-all", "duration-200", "ease-out", 3, "ngClass"], [1, "animated-bubbles", 2, "position", "fixed", "top", "0", "left", "0", "right", "0", "bottom", "0", "width", "100vw", "height", "100vh", "z-index", "1", "pointer-events", "none"], [1, "relative", "z-[51]"], [1, "sticky", "top-0", "z-50", 3, "ngClass"], [1, "transition-all", "duration-300", "ease-in-out", "overflow-hidden"], [1, "max-w-7xl", "mx-auto", "px-4", "sm:px-6", "lg:px-8", "py-8"], [1, "flex", "items-center", "justify-between"], [1, "flex", "items-center", "gap-2"], [1, "max-w-7xl", "mx-auto", "px-4", "sm:px-6", "lg:px-8", "py-3"], [1, "flex-1", "min-w-0", "mr-4"], [1, "flex", "items-center", "gap-4"], [1, "flex", "items-center", "gap-2", "text-sm", "flex-shrink-0"], [1, "relative"], [3, "sections", "viewMode", "embedded", "scrollElement"], [3, "viewMode", "embedded"], [3, "viewInContextRequested", "isLightMode"], [3, "searchChange", "resultSelected", "close", "isLightMode", "isOpen", "searchQuery", "results", "hasResults", "selectedIndex", "placeholder"], [3, "close", "modeSelected", "isOpen", "currentMode", "viewMode", "isLoading"], [3, "searchClick", "isLightMode"], ["type", "button", 1, "cursor-pointer", "flex", "items-center", "gap-2", "px-3", "py-1.5", "rounded-lg", "text-xs", "font-medium", "transition-all", "duration-200", "hover:scale-105", 3, "click", "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-4", "h-4"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M15 12a3 3 0 11-6 0 3 3 0 016 0z"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"], [1, "transition-opacity", "duration-300", 3, "ngClass"], [3, "searchClick", "isLightMode", "minimized"], ["type", "button", 1, "cursor-pointer", "flex", "items-center", "gap-2", "px-2", "py-1.5", "rounded-lg", "text-xs", "font-medium", "transition-all", "duration-200", "hover:scale-105", 3, "click", "ngClass"], [3, "viewMode", "currentStepId", "showNextStepAction", "forDemo", "maxAccessibleStepId"], [3, "viewMode", "title", "subtitle"], [3, "stepClick", "nextStepClick", "viewMode", "currentStepId", "showNextStepAction", "forDemo", "maxAccessibleStepId"], [1, "mb-8"], [3, "viewMode", "businessName", "isOnboarded"], [3, "viewMoreClick", "recommendations", "viewMode"], [3, "sections", "viewMode"], [3, "section", "viewMode", "forceExpanded"], [1, "max-w-7xl", "mx-auto", "px-4", "sm:px-6", "lg:px-8"], [3, "viewMode", "subsections"]], template: function SymphiqBusinessAnalysisDashboardComponent_Template(rf, ctx) { if (rf & 1) {
58763
+ } }, inputs: { embedded: [1, "embedded"], profile: [1, "profile"], parentHeaderOffset: [1, "parentHeaderOffset"], requestedByUser: [1, "requestedByUser"], viewMode: [1, "viewMode"], scrollEvent: [1, "scrollEvent"], scrollElement: [1, "scrollElement"], isLoading: [1, "isLoading"], isOnboarded: [1, "isOnboarded"], forDemo: [1, "forDemo"], maxAccessibleStepId: [1, "maxAccessibleStepId"], itemStatus: [1, "itemStatus"] }, outputs: { stepClick: "stepClick", nextStepClick: "nextStepClick" }, decls: 35, vars: 59, consts: [[3, "ngClass"], [1, "h-full", "transition-all", "duration-200", "ease-out", 3, "ngClass"], [1, "animated-bubbles", 2, "position", "fixed", "top", "0", "left", "0", "right", "0", "bottom", "0", "width", "100vw", "height", "100vh", "z-index", "1", "pointer-events", "none"], [1, "relative", "z-[51]"], [1, "sticky", "top-0", "z-50", 3, "ngClass"], [1, "transition-all", "duration-300", "ease-in-out", "overflow-hidden"], [1, "max-w-7xl", "mx-auto", "px-4", "sm:px-6", "lg:px-8", "py-8"], [1, "flex", "items-center", "justify-between"], [1, "flex", "items-center", "gap-2"], [1, "max-w-7xl", "mx-auto", "px-4", "sm:px-6", "lg:px-8", "py-3"], [1, "flex-1", "min-w-0", "mr-4"], [1, "flex", "items-center", "gap-4"], [1, "flex", "items-center", "gap-2", "text-sm", "flex-shrink-0"], [1, "relative"], [3, "sections", "viewMode", "embedded", "scrollElement"], [3, "viewMode", "embedded"], [3, "viewInContextRequested", "isLightMode"], [3, "searchChange", "resultSelected", "close", "isLightMode", "isOpen", "searchQuery", "results", "hasResults", "selectedIndex", "placeholder"], [3, "close", "modeSelected", "isOpen", "currentMode", "viewMode", "isLoading"], [3, "searchClick", "isLightMode"], ["type", "button", 1, "cursor-pointer", "flex", "items-center", "gap-2", "px-3", "py-1.5", "rounded-lg", "text-xs", "font-medium", "transition-all", "duration-200", "hover:scale-105", 3, "click", "ngClass"], ["fill", "none", "stroke", "currentColor", "viewBox", "0 0 24 24", 1, "w-4", "h-4"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M15 12a3 3 0 11-6 0 3 3 0 016 0z"], ["stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2", "d", "M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"], [1, "transition-opacity", "duration-300", 3, "ngClass"], [3, "searchClick", "isLightMode", "minimized"], ["type", "button", 1, "cursor-pointer", "flex", "items-center", "gap-2", "px-2", "py-1.5", "rounded-lg", "text-xs", "font-medium", "transition-all", "duration-200", "hover:scale-105", 3, "click", "ngClass"], [3, "viewMode", "currentStepId", "showNextStepAction", "forDemo", "maxAccessibleStepId"], [3, "viewMode", "itemStatus", "title", "subtitle"], [3, "stepClick", "nextStepClick", "viewMode", "currentStepId", "showNextStepAction", "forDemo", "maxAccessibleStepId"], [1, "mb-8"], [3, "viewMode", "businessName", "isOnboarded"], [3, "viewMoreClick", "recommendations", "viewMode"], [3, "sections", "viewMode"], [3, "section", "viewMode", "forceExpanded"], [1, "max-w-7xl", "mx-auto", "px-4", "sm:px-6", "lg:px-8"], [3, "viewMode", "subsections"]], template: function SymphiqBusinessAnalysisDashboardComponent_Template(rf, ctx) { if (rf & 1) {
58730
58764
  i0.ɵɵelementStart(0, "div", 0)(1, "div");
58731
58765
  i0.ɵɵelement(2, "div", 1);
58732
58766
  i0.ɵɵelementEnd();
@@ -58747,7 +58781,7 @@ class SymphiqBusinessAnalysisDashboardComponent {
58747
58781
  i0.ɵɵconditionalCreate(23, SymphiqBusinessAnalysisDashboardComponent_Conditional_23_Template, 5, 3);
58748
58782
  i0.ɵɵelementEnd()()()()();
58749
58783
  i0.ɵɵelementStart(24, "main", 13);
58750
- i0.ɵɵconditionalCreate(25, SymphiqBusinessAnalysisDashboardComponent_Conditional_25_Template, 2, 4)(26, SymphiqBusinessAnalysisDashboardComponent_Conditional_26_Template, 2, 1);
58784
+ i0.ɵɵconditionalCreate(25, SymphiqBusinessAnalysisDashboardComponent_Conditional_25_Template, 2, 5)(26, SymphiqBusinessAnalysisDashboardComponent_Conditional_26_Template, 2, 1);
58751
58785
  i0.ɵɵelementEnd();
58752
58786
  i0.ɵɵconditionalCreate(27, SymphiqBusinessAnalysisDashboardComponent_Conditional_27_Template, 1, 4, "symphiq-section-navigation", 14);
58753
58787
  i0.ɵɵconditionalCreate(28, SymphiqBusinessAnalysisDashboardComponent_Conditional_28_Template, 1, 4, "symphiq-floating-toc", 14);
@@ -58823,263 +58857,264 @@ class SymphiqBusinessAnalysisDashboardComponent {
58823
58857
  }
58824
58858
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SymphiqBusinessAnalysisDashboardComponent, [{
58825
58859
  type: Component,
58826
- args: [{ selector: 'symphiq-business-analysis-dashboard', standalone: true, imports: [CommonModule, ProfileSectionComponent, SectionNavigationComponent, FloatingTocComponent, FloatingBackButtonComponent, TooltipContainerComponent, SectionDividerComponent, BusinessAnalysisModalComponent, SearchButtonComponent, SearchModalComponent, ViewModeSwitcherModalComponent, JourneyProgressIndicatorComponent, WelcomeBannerComponent, RecommendationsTiledGridComponent, CollapsibleSectionGroupComponent, ContentGenerationProgressComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: `
58827
- <div [ngClass]="getContainerClasses()">
58828
- <!-- Scroll Progress Bar (fixed at top) -->
58829
- <div [class]="embedded() ? 'sticky top-0 left-0 right-0 h-1 z-[60] bg-slate-200/30' : 'fixed top-0 left-0 right-0 h-1 z-[60] bg-slate-200/30'">
58830
- <div
58831
- [style.width.%]="scrollProgress()"
58832
- [ngClass]="isLightMode() ? 'bg-gradient-to-r from-blue-500 to-purple-500' : 'bg-gradient-to-r from-blue-400 to-purple-400'"
58833
- class="h-full transition-all duration-200 ease-out">
58834
- </div>
58835
- </div>
58836
-
58837
- <div class="animated-bubbles" [class.light-mode]="isLightMode()" style="position: fixed; top: 0; left: 0; right: 0; bottom: 0; width: 100vw; height: 100vh; z-index: 1; pointer-events: none;"></div>
58838
-
58839
- <div class="relative z-[51]">
58840
- <header [ngClass]="getHeaderClasses()" class="sticky top-0 z-50">
58841
- <!-- Expanded Header (default state) -->
58842
- <div
58843
- class="transition-all duration-300 ease-in-out overflow-hidden"
58844
- [class.max-h-0]="headerScrollService.isScrolled()"
58845
- [class.opacity-0]="headerScrollService.isScrolled()"
58846
- [class.max-h-96]="!headerScrollService.isScrolled()"
58847
- [class.opacity-100]="!headerScrollService.isScrolled()">
58848
- <div
58849
- class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8"
58850
- [class.pointer-events-none]="headerScrollService.isScrolled()"
58851
- [class.pointer-events-auto]="!headerScrollService.isScrolled()">
58852
- <div class="flex items-center justify-between">
58853
- <div>
58854
- <h1 [ngClass]="getMainTitleClasses()">
58855
- {{ currentProfile()?.profileStructured?.businessName || 'Business Analysis' }}
58856
- </h1>
58857
- <p [ngClass]="getSubtitleClasses()">
58858
- Business Profile & Analysis
58859
- </p>
58860
- </div>
58861
- @if (profile()?.selfContentStatus === AiDynamicContentStatusEnum.GENERATED) {
58862
- <div class="flex items-center gap-2">
58863
- <symphiq-search-button
58864
- [isLightMode]="isLightMode()"
58865
- (searchClick)="openSearch()"
58866
- />
58867
- <button
58868
- type="button"
58869
- (click)="openViewModeSwitcher()"
58870
- [ngClass]="getViewModeButtonClasses()"
58871
- class="cursor-pointer flex items-center gap-2 px-3 py-1.5 rounded-lg text-xs font-medium transition-all duration-200 hover:scale-105">
58872
- <svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
58873
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"></path>
58874
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"></path>
58875
- </svg>
58876
- <span>{{ displayModeLabel() }}</span>
58877
- </button>
58878
- </div>
58879
- }
58880
- </div>
58881
- </div>
58882
- </div>
58883
-
58884
- <!-- Condensed Header (scrolled state) -->
58885
- <div
58886
- class="transition-all duration-300 ease-in-out overflow-hidden"
58887
- [class.max-h-0]="!headerScrollService.isScrolled()"
58888
- [class.opacity-0]="!headerScrollService.isScrolled()"
58889
- [class.max-h-20]="headerScrollService.isScrolled()"
58890
- [class.opacity-100]="headerScrollService.isScrolled()">
58891
- <div
58892
- class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-3"
58893
- [class.pointer-events-none]="!headerScrollService.isScrolled()"
58894
- [class.pointer-events-auto]="headerScrollService.isScrolled()">
58895
- <div class="flex items-center justify-between">
58896
- <div class="flex-1 min-w-0 mr-4">
58897
- <h1 [ngClass]="isLightMode() ? 'text-xl font-bold bg-gradient-to-r from-blue-600 to-purple-600 bg-clip-text text-transparent truncate' : 'text-xl font-bold bg-gradient-to-r from-blue-400 to-purple-400 bg-clip-text text-transparent truncate'">
58898
- {{ currentProfile()?.profileStructured?.businessName || 'Business Analysis' }}
58899
- </h1>
58900
- </div>
58901
- <div class="flex items-center gap-4">
58902
- @if (!isSimplifiedView()) {
58903
- <div class="flex items-center gap-2 text-sm flex-shrink-0">
58904
- <span [ngClass]="isLightMode() ? 'text-slate-600 font-medium' : 'text-slate-400 font-medium'" class="transition-opacity duration-300" [class.opacity-0]="sectionTitleFading()" [class.opacity-100]="!sectionTitleFading()">
58905
- {{ currentSectionTitle() }}
58906
- </span>
58907
- @if (currentSubsectionTitle()) {
58908
- <span [ngClass]="isLightMode() ? 'text-slate-400' : 'text-slate-500'" class="transition-opacity duration-300" [class.opacity-0]="subsectionTitleFading()" [class.opacity-100]="!subsectionTitleFading()">›</span>
58909
- <span [ngClass]="isLightMode() ? 'text-slate-500' : 'text-slate-500'" class="transition-opacity duration-300" [class.opacity-0]="subsectionTitleFading()" [class.opacity-100]="!subsectionTitleFading()">
58910
- {{ currentSubsectionTitle() }}
58911
- </span>
58912
- }
58913
- </div>
58914
- }
58915
- @if (profile()?.selfContentStatus === AiDynamicContentStatusEnum.GENERATED) {
58916
- <symphiq-search-button
58917
- [isLightMode]="isLightMode()"
58918
- [minimized]="true"
58919
- (searchClick)="openSearch()"
58920
- />
58921
- <button
58922
- type="button"
58923
- (click)="openViewModeSwitcher()"
58924
- [ngClass]="getViewModeButtonClasses()"
58925
- class="cursor-pointer flex items-center gap-2 px-2 py-1.5 rounded-lg text-xs font-medium transition-all duration-200 hover:scale-105">
58926
- <svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
58927
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"></path>
58928
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"></path>
58929
- </svg>
58930
- </button>
58931
- }
58932
- </div>
58933
- </div>
58934
- </div>
58935
- </div>
58936
- </header>
58937
-
58938
- <main class="relative">
58939
- @if (isContentGenerating()) {
58940
- <!-- Journey Progress Banner (always show when not onboarded) -->
58941
- @if (!isOnboarded()) {
58942
- <symphiq-journey-progress-indicator
58943
- [viewMode]="viewMode()"
58944
- [currentStepId]="JourneyStepIdEnum.BUSINESS_ANALYSIS"
58945
- [showNextStepAction]="false"
58946
- [forDemo]="forDemo()"
58947
- [maxAccessibleStepId]="maxAccessibleStepId()"
58948
- (stepClick)="stepClick.emit($event)"
58949
- (nextStepClick)="nextStepClick.emit()"
58950
- />
58951
- }
58952
-
58953
- <!-- Content Generation Progress Component -->
58954
- <symphiq-content-generation-progress
58955
- [viewMode]="viewMode()"
58956
- [title]="'We are generating a new Business Analysis for ' + (currentProfile()?.profileStructured?.businessName || 'your business') + '.'"
58957
- [subtitle]="'It will appear here when ready. You can check back later as this will take a few minutes to complete.'"
58958
- />
58959
- } @else {
58960
- @if (isSimplifiedView()) {
58961
- <!-- Journey Progress Banner - Full Width Sticky (only show when not onboarded) -->
58962
- @if (!isOnboarded()) {
58963
- <symphiq-journey-progress-indicator
58964
- [viewMode]="viewMode()"
58965
- [currentStepId]="JourneyStepIdEnum.BUSINESS_ANALYSIS"
58966
- [showNextStepAction]="showNextStepAction()"
58967
- [forDemo]="forDemo()"
58968
- [maxAccessibleStepId]="maxAccessibleStepId()"
58969
- (stepClick)="stepClick.emit($event)"
58970
- (nextStepClick)="nextStepClick.emit()"
58971
- />
58972
- }
58973
-
58974
- <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
58975
- <div class="mb-8">
58976
- <symphiq-welcome-banner
58977
- [viewMode]="viewMode()"
58978
- [businessName]="currentProfile()?.profileStructured?.businessName || 'your business'"
58979
- [isOnboarded]="isOnboarded()"
58980
- />
58981
- </div>
58982
-
58983
- <div class="mb-8">
58984
- <symphiq-recommendations-tiled-grid
58985
- [recommendations]="recommendationItems()"
58986
- [viewMode]="viewMode()"
58987
- (viewMoreClick)="openRecommendationDetailsModal($event)"
58988
- />
58989
- </div>
58990
-
58991
- <div>
58992
- <symphiq-collapsible-section-group
58993
- [sections]="nonRecommendationSections()"
58994
- [viewMode]="viewMode()"
58995
- />
58996
- </div>
58997
- </div>
58998
- } @else {
58999
- @for (section of sections(); track trackBySectionId($index, section); let idx = $index; let last = $last) {
59000
- <symphiq-profile-section
59001
- [section]="section"
59002
- [viewMode]="viewMode()"
59003
- [forceExpanded]="!isCompactView()"
59004
- />
59005
- @if (!last) {
59006
- <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
59007
- <symphiq-section-divider
59008
- [viewMode]="viewMode()"
59009
- [subsections]="sections()[idx + 1].subsections || []" />
59010
- </div>
59011
- }
59012
- }
59013
- }
59014
- }
59015
- </main>
59016
-
59017
- @if (!isSimplifiedView()) {
59018
- <symphiq-section-navigation
59019
- [sections]="sections()"
59020
- [viewMode]="viewMode()"
59021
- [embedded]="embedded()"
59022
- [scrollElement]="scrollElement() ?? undefined"
59023
- />
59024
- }
59025
-
59026
- @if (!isSimplifiedView()) {
59027
- <symphiq-floating-toc
59028
- [sections]="sections()"
59029
- [viewMode]="viewMode()"
59030
- [embedded]="embedded()"
59031
- [scrollElement]="scrollElement() ?? undefined"
59032
- />
59033
- }
59034
-
59035
- <symphiq-floating-back-button
59036
- [viewMode]="viewMode()"
59037
- [embedded]="embedded()"
59038
- />
59039
- </div>
59040
-
59041
- @if (isLoading()) {
59042
- <div [ngClass]="getLoadingOverlayClasses()">
59043
- <div [ngClass]="getSpinnerClasses()"></div>
59044
- </div>
59045
- }
59046
-
59047
- <symphiq-tooltip-container />
59048
- <symphiq-business-analysis-modal
59049
- [isLightMode]="isLightMode()"
59050
- (viewInContextRequested)="handleViewInContext($event)" />
59051
-
59052
- <symphiq-search-modal
59053
- [isLightMode]="isLightMode()"
59054
- [isOpen]="searchService.isSearchOpen()"
59055
- [searchQuery]="searchService.getSearchQuery()"
59056
- [results]="searchService.searchResults()"
59057
- [hasResults]="searchService.hasResults()"
59058
- [selectedIndex]="selectedSearchIndex()"
59059
- [placeholder]="'Search sections, items, and analysis...'"
59060
- (searchChange)="onSearchChange($event)"
59061
- (resultSelected)="onSearchResultSelected($event)"
59062
- (close)="closeSearch()"
59063
- />
59064
-
59065
- <symphiq-view-mode-switcher-modal
59066
- [isOpen]="isViewModeSwitcherOpen()"
59067
- [currentMode]="displayMode()"
59068
- [viewMode]="viewMode()"
59069
- [isLoading]="isViewModeSwitching()"
59070
- (close)="closeViewModeSwitcher()"
59071
- (modeSelected)="handleDisplayModeChange($event)"
59072
- />
59073
- </div>
58860
+ args: [{ selector: 'symphiq-business-analysis-dashboard', standalone: true, imports: [CommonModule, ProfileSectionComponent, SectionNavigationComponent, FloatingTocComponent, FloatingBackButtonComponent, TooltipContainerComponent, SectionDividerComponent, BusinessAnalysisModalComponent, SearchButtonComponent, SearchModalComponent, ViewModeSwitcherModalComponent, JourneyProgressIndicatorComponent, WelcomeBannerComponent, RecommendationsTiledGridComponent, CollapsibleSectionGroupComponent, ContentGenerationProgressComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: `
58861
+ <div [ngClass]="getContainerClasses()">
58862
+ <!-- Scroll Progress Bar (fixed at top) -->
58863
+ <div [class]="embedded() ? 'sticky top-0 left-0 right-0 h-1 z-[60] bg-slate-200/30' : 'fixed top-0 left-0 right-0 h-1 z-[60] bg-slate-200/30'">
58864
+ <div
58865
+ [style.width.%]="scrollProgress()"
58866
+ [ngClass]="isLightMode() ? 'bg-gradient-to-r from-blue-500 to-purple-500' : 'bg-gradient-to-r from-blue-400 to-purple-400'"
58867
+ class="h-full transition-all duration-200 ease-out">
58868
+ </div>
58869
+ </div>
58870
+
58871
+ <div class="animated-bubbles" [class.light-mode]="isLightMode()" style="position: fixed; top: 0; left: 0; right: 0; bottom: 0; width: 100vw; height: 100vh; z-index: 1; pointer-events: none;"></div>
58872
+
58873
+ <div class="relative z-[51]">
58874
+ <header [ngClass]="getHeaderClasses()" class="sticky top-0 z-50">
58875
+ <!-- Expanded Header (default state) -->
58876
+ <div
58877
+ class="transition-all duration-300 ease-in-out overflow-hidden"
58878
+ [class.max-h-0]="headerScrollService.isScrolled()"
58879
+ [class.opacity-0]="headerScrollService.isScrolled()"
58880
+ [class.max-h-96]="!headerScrollService.isScrolled()"
58881
+ [class.opacity-100]="!headerScrollService.isScrolled()">
58882
+ <div
58883
+ class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8"
58884
+ [class.pointer-events-none]="headerScrollService.isScrolled()"
58885
+ [class.pointer-events-auto]="!headerScrollService.isScrolled()">
58886
+ <div class="flex items-center justify-between">
58887
+ <div>
58888
+ <h1 [ngClass]="getMainTitleClasses()">
58889
+ {{ currentProfile()?.profileStructured?.businessName || 'Business Analysis' }}
58890
+ </h1>
58891
+ <p [ngClass]="getSubtitleClasses()">
58892
+ Business Profile & Analysis
58893
+ </p>
58894
+ </div>
58895
+ @if (profile()?.selfContentStatus === AiDynamicContentStatusEnum.GENERATED) {
58896
+ <div class="flex items-center gap-2">
58897
+ <symphiq-search-button
58898
+ [isLightMode]="isLightMode()"
58899
+ (searchClick)="openSearch()"
58900
+ />
58901
+ <button
58902
+ type="button"
58903
+ (click)="openViewModeSwitcher()"
58904
+ [ngClass]="getViewModeButtonClasses()"
58905
+ class="cursor-pointer flex items-center gap-2 px-3 py-1.5 rounded-lg text-xs font-medium transition-all duration-200 hover:scale-105">
58906
+ <svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
58907
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"></path>
58908
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"></path>
58909
+ </svg>
58910
+ <span>{{ displayModeLabel() }}</span>
58911
+ </button>
58912
+ </div>
58913
+ }
58914
+ </div>
58915
+ </div>
58916
+ </div>
58917
+
58918
+ <!-- Condensed Header (scrolled state) -->
58919
+ <div
58920
+ class="transition-all duration-300 ease-in-out overflow-hidden"
58921
+ [class.max-h-0]="!headerScrollService.isScrolled()"
58922
+ [class.opacity-0]="!headerScrollService.isScrolled()"
58923
+ [class.max-h-20]="headerScrollService.isScrolled()"
58924
+ [class.opacity-100]="headerScrollService.isScrolled()">
58925
+ <div
58926
+ class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-3"
58927
+ [class.pointer-events-none]="!headerScrollService.isScrolled()"
58928
+ [class.pointer-events-auto]="headerScrollService.isScrolled()">
58929
+ <div class="flex items-center justify-between">
58930
+ <div class="flex-1 min-w-0 mr-4">
58931
+ <h1 [ngClass]="isLightMode() ? 'text-xl font-bold bg-gradient-to-r from-blue-600 to-purple-600 bg-clip-text text-transparent truncate' : 'text-xl font-bold bg-gradient-to-r from-blue-400 to-purple-400 bg-clip-text text-transparent truncate'">
58932
+ {{ currentProfile()?.profileStructured?.businessName || 'Business Analysis' }}
58933
+ </h1>
58934
+ </div>
58935
+ <div class="flex items-center gap-4">
58936
+ @if (!isSimplifiedView()) {
58937
+ <div class="flex items-center gap-2 text-sm flex-shrink-0">
58938
+ <span [ngClass]="isLightMode() ? 'text-slate-600 font-medium' : 'text-slate-400 font-medium'" class="transition-opacity duration-300" [class.opacity-0]="sectionTitleFading()" [class.opacity-100]="!sectionTitleFading()">
58939
+ {{ currentSectionTitle() }}
58940
+ </span>
58941
+ @if (currentSubsectionTitle()) {
58942
+ <span [ngClass]="isLightMode() ? 'text-slate-400' : 'text-slate-500'" class="transition-opacity duration-300" [class.opacity-0]="subsectionTitleFading()" [class.opacity-100]="!subsectionTitleFading()">›</span>
58943
+ <span [ngClass]="isLightMode() ? 'text-slate-500' : 'text-slate-500'" class="transition-opacity duration-300" [class.opacity-0]="subsectionTitleFading()" [class.opacity-100]="!subsectionTitleFading()">
58944
+ {{ currentSubsectionTitle() }}
58945
+ </span>
58946
+ }
58947
+ </div>
58948
+ }
58949
+ @if (profile()?.selfContentStatus === AiDynamicContentStatusEnum.GENERATED) {
58950
+ <symphiq-search-button
58951
+ [isLightMode]="isLightMode()"
58952
+ [minimized]="true"
58953
+ (searchClick)="openSearch()"
58954
+ />
58955
+ <button
58956
+ type="button"
58957
+ (click)="openViewModeSwitcher()"
58958
+ [ngClass]="getViewModeButtonClasses()"
58959
+ class="cursor-pointer flex items-center gap-2 px-2 py-1.5 rounded-lg text-xs font-medium transition-all duration-200 hover:scale-105">
58960
+ <svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
58961
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"></path>
58962
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"></path>
58963
+ </svg>
58964
+ </button>
58965
+ }
58966
+ </div>
58967
+ </div>
58968
+ </div>
58969
+ </div>
58970
+ </header>
58971
+
58972
+ <main class="relative">
58973
+ @if (isContentGenerating()) {
58974
+ <!-- Journey Progress Banner (always show when not onboarded) -->
58975
+ @if (!isOnboarded()) {
58976
+ <symphiq-journey-progress-indicator
58977
+ [viewMode]="viewMode()"
58978
+ [currentStepId]="JourneyStepIdEnum.BUSINESS_ANALYSIS"
58979
+ [showNextStepAction]="false"
58980
+ [forDemo]="forDemo()"
58981
+ [maxAccessibleStepId]="maxAccessibleStepId()"
58982
+ (stepClick)="stepClick.emit($event)"
58983
+ (nextStepClick)="nextStepClick.emit()"
58984
+ />
58985
+ }
58986
+
58987
+ <!-- Content Generation Progress Component -->
58988
+ <symphiq-content-generation-progress
58989
+ [viewMode]="viewMode()"
58990
+ [itemStatus]="itemStatus()"
58991
+ [title]="'We are generating a new Business Analysis for ' + (currentProfile()?.profileStructured?.businessName || 'your business') + '.'"
58992
+ [subtitle]="'It will appear here when ready. You can check back later as this will take a few minutes to complete.'"
58993
+ />
58994
+ } @else {
58995
+ @if (isSimplifiedView()) {
58996
+ <!-- Journey Progress Banner - Full Width Sticky (only show when not onboarded) -->
58997
+ @if (!isOnboarded()) {
58998
+ <symphiq-journey-progress-indicator
58999
+ [viewMode]="viewMode()"
59000
+ [currentStepId]="JourneyStepIdEnum.BUSINESS_ANALYSIS"
59001
+ [showNextStepAction]="showNextStepAction()"
59002
+ [forDemo]="forDemo()"
59003
+ [maxAccessibleStepId]="maxAccessibleStepId()"
59004
+ (stepClick)="stepClick.emit($event)"
59005
+ (nextStepClick)="nextStepClick.emit()"
59006
+ />
59007
+ }
59008
+
59009
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
59010
+ <div class="mb-8">
59011
+ <symphiq-welcome-banner
59012
+ [viewMode]="viewMode()"
59013
+ [businessName]="currentProfile()?.profileStructured?.businessName || 'your business'"
59014
+ [isOnboarded]="isOnboarded()"
59015
+ />
59016
+ </div>
59017
+
59018
+ <div class="mb-8">
59019
+ <symphiq-recommendations-tiled-grid
59020
+ [recommendations]="recommendationItems()"
59021
+ [viewMode]="viewMode()"
59022
+ (viewMoreClick)="openRecommendationDetailsModal($event)"
59023
+ />
59024
+ </div>
59025
+
59026
+ <div>
59027
+ <symphiq-collapsible-section-group
59028
+ [sections]="nonRecommendationSections()"
59029
+ [viewMode]="viewMode()"
59030
+ />
59031
+ </div>
59032
+ </div>
59033
+ } @else {
59034
+ @for (section of sections(); track trackBySectionId($index, section); let idx = $index; let last = $last) {
59035
+ <symphiq-profile-section
59036
+ [section]="section"
59037
+ [viewMode]="viewMode()"
59038
+ [forceExpanded]="!isCompactView()"
59039
+ />
59040
+ @if (!last) {
59041
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
59042
+ <symphiq-section-divider
59043
+ [viewMode]="viewMode()"
59044
+ [subsections]="sections()[idx + 1].subsections || []" />
59045
+ </div>
59046
+ }
59047
+ }
59048
+ }
59049
+ }
59050
+ </main>
59051
+
59052
+ @if (!isSimplifiedView()) {
59053
+ <symphiq-section-navigation
59054
+ [sections]="sections()"
59055
+ [viewMode]="viewMode()"
59056
+ [embedded]="embedded()"
59057
+ [scrollElement]="scrollElement() ?? undefined"
59058
+ />
59059
+ }
59060
+
59061
+ @if (!isSimplifiedView()) {
59062
+ <symphiq-floating-toc
59063
+ [sections]="sections()"
59064
+ [viewMode]="viewMode()"
59065
+ [embedded]="embedded()"
59066
+ [scrollElement]="scrollElement() ?? undefined"
59067
+ />
59068
+ }
59069
+
59070
+ <symphiq-floating-back-button
59071
+ [viewMode]="viewMode()"
59072
+ [embedded]="embedded()"
59073
+ />
59074
+ </div>
59075
+
59076
+ @if (isLoading()) {
59077
+ <div [ngClass]="getLoadingOverlayClasses()">
59078
+ <div [ngClass]="getSpinnerClasses()"></div>
59079
+ </div>
59080
+ }
59081
+
59082
+ <symphiq-tooltip-container />
59083
+ <symphiq-business-analysis-modal
59084
+ [isLightMode]="isLightMode()"
59085
+ (viewInContextRequested)="handleViewInContext($event)" />
59086
+
59087
+ <symphiq-search-modal
59088
+ [isLightMode]="isLightMode()"
59089
+ [isOpen]="searchService.isSearchOpen()"
59090
+ [searchQuery]="searchService.getSearchQuery()"
59091
+ [results]="searchService.searchResults()"
59092
+ [hasResults]="searchService.hasResults()"
59093
+ [selectedIndex]="selectedSearchIndex()"
59094
+ [placeholder]="'Search sections, items, and analysis...'"
59095
+ (searchChange)="onSearchChange($event)"
59096
+ (resultSelected)="onSearchResultSelected($event)"
59097
+ (close)="closeSearch()"
59098
+ />
59099
+
59100
+ <symphiq-view-mode-switcher-modal
59101
+ [isOpen]="isViewModeSwitcherOpen()"
59102
+ [currentMode]="displayMode()"
59103
+ [viewMode]="viewMode()"
59104
+ [isLoading]="isViewModeSwitching()"
59105
+ (close)="closeViewModeSwitcher()"
59106
+ (modeSelected)="handleDisplayModeChange($event)"
59107
+ />
59108
+ </div>
59074
59109
  `, styles: [":host{display:block}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse-highlight{0%,to{transform:scale(1);box-shadow:0 0 #3b82f6b3}50%{transform:scale(1.02);box-shadow:0 0 20px 8px #3b82f64d}}:host ::ng-deep .search-highlight-pulse{animation:pulse-highlight 2s ease-in-out;border-color:#3b82f6!important}\n"] }]
59075
- }], () => [], { embedded: [{ type: i0.Input, args: [{ isSignal: true, alias: "embedded", required: false }] }], profile: [{ type: i0.Input, args: [{ isSignal: true, alias: "profile", required: false }] }], parentHeaderOffset: [{ type: i0.Input, args: [{ isSignal: true, alias: "parentHeaderOffset", required: false }] }], requestedByUser: [{ type: i0.Input, args: [{ isSignal: true, alias: "requestedByUser", required: false }] }], viewMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewMode", required: false }] }], scrollEvent: [{ type: i0.Input, args: [{ isSignal: true, alias: "scrollEvent", required: false }] }], scrollElement: [{ type: i0.Input, args: [{ isSignal: true, alias: "scrollElement", required: false }] }], isLoading: [{ type: i0.Input, args: [{ isSignal: true, alias: "isLoading", required: false }] }], isOnboarded: [{ type: i0.Input, args: [{ isSignal: true, alias: "isOnboarded", required: false }] }], forDemo: [{ type: i0.Input, args: [{ isSignal: true, alias: "forDemo", required: false }] }], maxAccessibleStepId: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxAccessibleStepId", required: false }] }], stepClick: [{ type: i0.Output, args: ["stepClick"] }], nextStepClick: [{ type: i0.Output, args: ["nextStepClick"] }], onScroll: [{
59110
+ }], () => [], { embedded: [{ type: i0.Input, args: [{ isSignal: true, alias: "embedded", required: false }] }], profile: [{ type: i0.Input, args: [{ isSignal: true, alias: "profile", required: false }] }], parentHeaderOffset: [{ type: i0.Input, args: [{ isSignal: true, alias: "parentHeaderOffset", required: false }] }], requestedByUser: [{ type: i0.Input, args: [{ isSignal: true, alias: "requestedByUser", required: false }] }], viewMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewMode", required: false }] }], scrollEvent: [{ type: i0.Input, args: [{ isSignal: true, alias: "scrollEvent", required: false }] }], scrollElement: [{ type: i0.Input, args: [{ isSignal: true, alias: "scrollElement", required: false }] }], isLoading: [{ type: i0.Input, args: [{ isSignal: true, alias: "isLoading", required: false }] }], isOnboarded: [{ type: i0.Input, args: [{ isSignal: true, alias: "isOnboarded", required: false }] }], forDemo: [{ type: i0.Input, args: [{ isSignal: true, alias: "forDemo", required: false }] }], maxAccessibleStepId: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxAccessibleStepId", required: false }] }], itemStatus: [{ type: i0.Input, args: [{ isSignal: true, alias: "itemStatus", required: false }] }], stepClick: [{ type: i0.Output, args: ["stepClick"] }], nextStepClick: [{ type: i0.Output, args: ["nextStepClick"] }], onScroll: [{
59076
59111
  type: HostListener,
59077
59112
  args: ['window:scroll', ['$event']]
59078
59113
  }], handleKeyDown: [{
59079
59114
  type: HostListener,
59080
59115
  args: ['document:keydown', ['$event']]
59081
59116
  }] }); })();
59082
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SymphiqBusinessAnalysisDashboardComponent, { className: "SymphiqBusinessAnalysisDashboardComponent", filePath: "lib/components/business-analysis-dashboard/symphiq-business-analysis-dashboard.component.ts", lineNumber: 331 }); })();
59117
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SymphiqBusinessAnalysisDashboardComponent, { className: "SymphiqBusinessAnalysisDashboardComponent", filePath: "lib/components/business-analysis-dashboard/symphiq-business-analysis-dashboard.component.ts", lineNumber: 333 }); })();
59083
59118
 
59084
59119
  function DashboardHeaderComponent_Conditional_8_Template(rf, ctx) { if (rf & 1) {
59085
59120
  i0.ɵɵelement(0, "div", 6);