1"use strict";(self.webpackChunkmyplanner=self.webpackChunkmyplanner||[]).push([[1695],{85406:(y,P,s)=>{s.d(P,{l:()=>B});var a=s(15861),h=s(65809),f=s(65730),g=s(67241),t=s(87051),m=s(41074),b=s(18457),p=s(72986),l=s(7206),e=s(94650),I=s(23767),E=s(65938),Z=s(74976),U=s(34793),D=s(36895),L=s(51572);function G(v,A){1&v&&e._UZ(0,"mat-spinner",38),2&v&&e.Q6J("diameter",18)}function N(v,A){if(1&v){const r=e.EpF();e.TgZ(0,"div",1)(1,"div",2)(2,"div",3)(3,"p",4),e._uU(4,"Welcome to IFANOW Growth+"),e.qZA(),e.TgZ(5,"p",5),e._uU(6,"Empanel now and start on your definitive growth path to expand into a truly multi-product distribution practice with IFANOW."),e.qZA(),e.TgZ(7,"p",6),e._uU(8,"Through this empanelment, you\u2019ll gain access to:"),e.qZA(),e.TgZ(9,"div",7)(10,"div",8)(11,"div",9)(12,"div",10),e.O4$(),e.TgZ(13,"svg",11)(14,"g",12),e._UZ(15,"path",13)(16,"path",14),e.qZA(),e.TgZ(17,"defs")(18,"clipPath",15),e._UZ(19,"rect",16),e.qZA()()()(),e.kcU(),e.TgZ(20,"div",17),e._uU(21,"A curated basket of differentiated high margin, high return investment products"),e.qZA()(),e.TgZ(22,"div",18)(23,"div",10),e.O4$(),e.TgZ(24,"svg",11)(25,"g",12),e._UZ(26,"path",13)(27,"path",14),e.qZA(),e.TgZ(28,"defs")(29,"clipPath",15),e._UZ(30,"rect",16),e.qZA()()()(),e.kcU(),e.TgZ(31,"div",17),e._uU(32,"Dedicated RM support for onboarding and sales enablement"),e.qZA()()(),e.TgZ(33,"div",19)(34,"div",9)(35,"div",10),e.O4$(),e.TgZ(36,"svg",11)(37,"g",12),e._UZ(38,"path",13)(39,"path",14),e.qZA(),e.TgZ(40,"defs")(41,"clipPath",15),e._UZ(42,"rect",16),e.qZA()()()(),e.kcU(),e.TgZ(43,"div",17),e._uU(44,"Seamless tracking & reporting through the IFANOW platform"),e.qZA()(),e.TgZ(45,"div",18)(46,"div",10),e.O4$(),e.TgZ(47,"svg",11)(48,"g",12),e._UZ(49,"path",13)(50,"path",14),e.qZA(),e.TgZ(51,"defs")(52,"clipPath",15),e._UZ(53,"rect",16),e.qZA()()()(),e.kcU(),e.TgZ(54,"div",17),e._uU(55,"Sales and Marketing support on Multi Product"),e.qZA()()()(),e.TgZ(56,"p",20),e._uU(57,"Looking forward to welcoming you into the Growth+ community!! "),e.qZA()(),e.TgZ(58,"div",21),e._UZ(59,"img",22),e.TgZ(60,"p",23),e._uU(61,"You have not Empanelled yet"),e.qZA(),e.TgZ(62,"button",24),e.NdJ("click",function(){e.CHM(r);const u=e.oxw();return e.KtG(u.onClick(u.existingData))}),e._uU(63,"Empanel Now"),e.qZA(),e.TgZ(64,"button",25),e.NdJ("click",function(){e.CHM(r);const u=e.oxw();return e.KtG(u.onClickredirect())}),e._uU(65),e.YNc(66,G,1,1,"mat-spinner",26),e.qZA()()(),e.TgZ(67,"p",27),e._uU(68,"Offer Handpicked product basket for maximizing IFA & Investor Success with IFANOW Growth+"),e.qZA(),e.TgZ(69,"div",8)(70,"div",28),e._UZ(71,"img",29),e._uU(72," \xa0 Fixed Income "),e.qZA(),e.TgZ(73,"div",28),e._UZ(74,"img",30),e._uU(75," \xa0 Managed Investments "),e.qZA(),e.TgZ(76,"div",28),e._UZ(77,"img",31),e._uU(78," \xa0 Equities "),e.qZA(),e.TgZ(79,"div",32),e._UZ(80,"img",33),e._uU(81," \xa0 Structured Products "),e.qZA()(),e.TgZ(82,"div",8)(83,"div",28),e._UZ(84,"img",34),e._uU(85," \xa0 Insurance "),e.qZA(),e.TgZ(86,"div",28),e._UZ(87,"img",35),e._uU(88," \xa0 Loans "),e.qZA(),e.TgZ(89,"div",28),e._UZ(90,"img",36),e._uU(91," \xa0 Add-On Services "),e.qZA(),e.TgZ(92,"div",32),e._UZ(93,"img",37),e._uU(94," \xa0 Commodities "),e.qZA()()()}if(2&v){const r=e.oxw();e.xp6(64),e.Q6J("disabled",r.redirectdashboard),e.xp6(1),e.hij(" ",r.redirectdashboard?"Loading...":"Go to Dashboard"," "),e.xp6(1),e.Q6J("ngIf",r.redirectdashboard)}}function R(v,A){1&v&&e._UZ(0,"mat-spinner",38),2&v&&e.Q6J("diameter",18)}function k(v,A){if(1&v){const r=e.EpF();e.TgZ(0,"div",1)(1,"div",2)(2,"div",39)(3,"p",40),e._uU(4,"Welcome to IFANOW Growth+"),e.qZA(),e.TgZ(5,"p",27),e._uU(6," Congratulations \u2014 you\u2019re now successfully empanelled with IFANOW and ready to expand your advisory practice across multiple investment products. "),e.qZA(),e.TgZ(7,"p",41),e._uU(8,"You now have access to:"),e.qZA(),e.TgZ(9,"div",42)(10,"div",43)(11,"div",10),e.O4$(),e.TgZ(12,"svg",11)(13,"g",12),e._UZ(14,"path",13)(15,"path",14),e.qZA(),e.TgZ(16,"defs")(17,"clipPath",15),e._UZ(18,"rect",16),e.qZA()()()(),e.kcU(),e.TgZ(19,"p",44),e._uU(20," A curated basket of differentiated high margin, high return investment products "),e.qZA()(),e.TgZ(21,"div",43)(22,"div",10),e.O4$(),e.TgZ(23,"svg",11)(24,"g",12),e._UZ(25,"path",13)(26,"path",14),e.qZA(),e.TgZ(27,"defs")(28,"clipPath",15),e._UZ(29,"rect",16),e.qZA()()()(),e.kcU(),e.TgZ(30,"p",44),e._uU(31," Dedicated RM support for onboarding and sales enablement "),e.qZA()(),e.TgZ(32,"div",43)(33,"div",10),e.O4$(),e.TgZ(34,"svg",11)(35,"g",12),e._UZ(36,"path",13)(37,"path",14),e.qZA(),e.TgZ(38,"defs")(39,"clipPath",15),e._UZ(40,"rect",16),e.qZA()()()(),e.kcU(),e.TgZ(41,"p",44),e._uU(42," Seamless tracking & reporting through the IFANOW platform "),e.qZA()(),e.TgZ(43,"div",43)(44,"div",10),e.O4$(),e.TgZ(45,"svg",11)(46,"g",12),e._UZ(47,"path",13)(48,"path",14),e.qZA(),e.TgZ(49,"defs")(50,"clipPath",15),e._UZ(51,"rect",16),e.qZA()()()(),e.kcU(),e.TgZ(52,"p",44),e._uU(53," Sales and Marketing support on Multi Product "),e.qZA()()(),e._UZ(54,"div",7),e.TgZ(55,"p",45),e._uU(56,"Next Steps"),e.qZA(),e.TgZ(57,"ol",46)(58,"li",47),e._uU(59,"Explore available product categories below."),e.qZA(),e.TgZ(60,"li",47),e._uU(61,"Start recommending investment opportunities to your empanelled clients."),e.qZA(),e.TgZ(62,"li",47),e._uU(63,"Track earnings and client engagement directly from your Growth Hub dashboard."),e.qZA()()(),e.TgZ(64,"div",48),e._UZ(65,"img",49),e.TgZ(66,"p",50),e._uU(67,"Manage your Multi Product Practice"),e.qZA(),e.TgZ(68,"button",25),e.NdJ("click",function(){e.CHM(r);const u=e.oxw();return e.KtG(u.onClickredirect())}),e._uU(69),e.YNc(70,R,1,1,"mat-spinner",26),e.qZA()()(),e.TgZ(71,"p",27),e._uU(72," Offer Handpicked product basket for maximizing IFA & Investor Success with IFANOW Growth+ "),e.qZA(),e.TgZ(73,"div",8)(74,"div",28),e._UZ(75,"img",29),e._uU(76," \xa0 Fixed Income "),e.qZA(),e.TgZ(77,"div",28),e._UZ(78,"img",30),e._uU(79," \xa0 Managed Investments "),e.qZA(),e.TgZ(80,"div",28),e._UZ(81,"img",31),e._uU(82," \xa0 Equities "),e.qZA(),e.TgZ(83,"div",32),e._UZ(84,"img",33),e._uU(85," \xa0 Structured Products "),e.qZA()(),e.TgZ(86,"div",8)(87,"div",28),e._UZ(88,"img",34),e._uU(89," \xa0 Insurance "),e.qZA(),e.TgZ(90,"div",28),e._UZ(91,"img",35),e._uU(92," \xa0 Loans "),e.qZA(),e.TgZ(93,"div",28),e._UZ(94,"img",36),e._uU(95," \xa0 Add-On Services "),e.qZA(),e.TgZ(96,"div",32),e._UZ(97,"img",37),e._uU(98," \xa0 Commodities "),e.qZA()()()}if(2&v){const r=e.oxw();e.xp6(68),e.Q6J("disabled",r.redirectdashboard),e.xp6(1),e.hij(" ",r.redirectdashboard?"Loading...":"Go to Dashboard"," "),e.xp6(1),e.Q6J("ngIf",r.redirectdashboard)}}let B=(()=>{class v{constructor(r,_,u,w,M,F,K,W){this.subInjectService=r,this.utilService=_,this.dialog=u,this.transactionService=w,this.iframeModalService=M,this.eventService=F,this.accountBillingService=K,this.router=W,this.productMasterList=[],this.dataToPass=[],this.status=0,this.redirectdashboard=!1,this.GP_EXEC_URL="https://script.google.com/macros/s/AKfycbw-sCWAksK4O7sgwTrRy2kRqKCxq3qiMDX8pHAV7K13lUemeqlOpyhs47GnD0CInENplA/exec",this.GP_AES_KEY_HEX="1144f00492a5a8b272ea621d01cf72e5295f37fc01eaee7326a2dd7156eeb1c3",this.GP_HMAC_KEY="SnFouaOuMBtdfH2AkCYmRnk7lvfaNnuKIR6eBkkORMU=",this.GP_FIXED_IV=l.enc.Hex.parse("00000000000000000000000000000000"),this.toNotShowMainScreen=!1,this.productSet=new Set,this.productUsage={},this.iconTick="https://res.cloudinary.com/futurewise/image/upload/v1760701191/myplanner/Vector3334.svg",this.iconCross="https://res.cloudinary.com/futurewise/image/upload/v1760701191/myplanner/close-cross_123.svg"}
1ngOnInit(){this.getPayeeSubscriptionDetails(),this.loadProductMaster(),this.getFormDetails()}onClickredirect(){var r=this;return(0,a.Z)(function*(){r.redirectdashboard=!0;try{const _=f.e.getUserInfo()?.userName;if(!_)return void r.eventService.openSnackBar("No user identifier available for Growth+ SSO.","Dismiss");const u=r.encryptRequest({action:"sso_token",username:_}),w=yield fetch(r.GP_EXEC_URL,{method:"POST",headers:{"Content-Type":"text/plain;charset=utf-8"},body:JSON.stringify(u),redirect:"follow"}),M=r.decryptResponse(yield w.json());if(!M||!M.success||!M.token)return void r.eventService.openSnackBar("Growth+ SSO failed: "+(M?.error||"Unknown error"),"Dismiss");window.open(r.GP_EXEC_URL+"?token="+encodeURIComponent(M.token)+"&page=autologin","_blank")}catch(_){console.error("Growth+ SSO error",_),r.eventService.openSnackBar("Unable to open Growth+ right now. Please try again.","Dismiss")}finally{r.redirectdashboard=!1}})()}encryptRequest(r){const _=l.enc.Hex.parse(this.GP_AES_KEY_HEX),w=l.AES.encrypt(JSON.stringify(r),_,{iv:this.GP_FIXED_IV,mode:l.mode.CBC,padding:l.pad.Pkcs7}).ciphertext.toString(l.enc.Base64);return{data:w,hmac:l.HmacSHA256(w,this.GP_HMAC_KEY).toString(l.enc.Base64)}}decryptResponse(r){if(!r||!r.data||!r.hmac)throw new Error("Malformed envelope (expected { data, hmac })");if(l.HmacSHA256(r.data,this.GP_HMAC_KEY).toString(l.enc.Base64)!==r.hmac)throw new Error("HMAC verification failed (wrong key or altered response)");const u=l.enc.Hex.parse(this.GP_AES_KEY_HEX),w=l.AES.decrypt({ciphertext:l.enc.Base64.parse(r.data)},u,{iv:this.GP_FIXED_IV,mode:l.mode.CBC,padding:l.pad.Pkcs7});return JSON.parse(w.toString(l.enc.Utf8))}getPayeeSubscriptionDetails(){const r={advisorId:f.e.getAdminAdvisorId()};this.accountBillingService.getsubscriptionData(r).subscribe(_=>{_&&(console.log(_),this.existingData=this.mapToEmpanelment(_))},_=>{})}mapToEmpanelment(r,_=0){return console.log(r),{contactName:r.primaryContact,email:r.customerEmail,mobileNumber:r.customerPhone,authPersonPan:r.pan,businessName:r.companyName,businessDisplayName:r.companyName,gstNumber:r.gstIn,address:r.address,pincode:r.zipCode,city:r.city,state:r.state}}loadProductMaster(){this.transactionService.getEmpanelmentCompleted({adminId:f.e.getAdminAdvisorId()}).pipe((0,p.q)(1)).subscribe(r=>{this.productMasterList=r||[]})}getFormDetails(){this.transactionService.getEmpanelmentFormDetails({adminId:f.e.getAdminAdvisorId()}).pipe((0,p.q)(1)).subscribe(r=>{if(r&&r.length){this.dataToPass=r;const _=r.reduce((u,w)=>u.empanelmentId>w.empanelmentId?u:w);this.status=Number(_.status),this.setProductIdsFromApi(_?.productIds),this.toNotShowMainScreen=!1}else this.toNotShowMainScreen=!0})}isProductInUse(r,_){return!(!r?.products||!Array.isArray(r.products))&&r.products.some(u=>u.product===_&&(!0===u.inUse||"true"===String(u.inUse).toLowerCase()))}hasProduct(r,_){const u=r?.productIds??r?.products??r?.productds??null;return Array.isArray(u)&&u.length?u.some(w=>Number(w)===Number(_)):this.productSet.has(Number(_))}buildProductUsage(r){this.productUsage={},(r||[]).forEach(_=>{this.productUsage[_.product]=!0===_.inUse||"true"===_.inUse})}onClick(r){this.router.navigate(["/admin/growth-hub/settings/empanelment"],{state:{openempanelment:!0}})}openSlider(r){const u=this.subInjectService.changeNewRightSliderState({data:{category:r},state:"open65",componentName:h.s}).subscribe(w=>{g.fK.isDialogClose(w)&&(this.getFormDetails(),u.unsubscribe())})}onEsign(r){const _=r?.signUrl;if(!_)return console.warn("No signUrl for empanelment",r),void this.eventService.openSnackBar("No e-sign link available for this empanelment.","Dismiss");window.open(_,"_blank","toolbar=yes,scrollbars=yes,resizable=yes,top=50,left=50,width=1200,height=800")}setProductIdsFromApi(r){this.productSet.clear(),Array.isArray(r)&&r.forEach(_=>{const u=Number(_);Number.isNaN(u)||this.productSet.add(u)})}}return v.\u0275fac=function(r){return new(r||v)(e.Y36(I.f),e.Y36(g.fK),e.Y36(E.uw),e.Y36(b.D),e.Y36(Z.W),e.Y36(m.P),e.Y36(t.B),e.Y36(U.F0))},v.\u0275cmp=e.Xpm({type:v,selectors:[["app-growth-hub-home"]],decls:2,vars:2,consts:[["class","pt-150 pl-30 pr-30 pb-50",4,"ngIf"],[1,"pt-150","pl-30","pr-30","pb-50"],[1,"d-flex","mb-24"],[1,"w-70","ba-primitive","br-6","p-16","mr-15","bg-grey","lter"],[1,"f-500","f-24","mb-10","roboto"],[1,"f-400","f-14","pb-20","bb","mb-20","roboto"],[1,"f-500","f-14","mb-8","roboto"],[1,"w-100","pb-20","mb-2
10","bb"],[1,"d-flex"],[1,"d-flex","w-50","align-items-baseline","pr-10"],[1,"mr-8"],["width","16","height","16","viewBox","0 0 16 16","fill","none","xmlns","http://www.w3.org/2000/svg"],["clip-path","url(#clip0_5641_12212)"],["d","M7.99999 15.208C11.9809 15.208 15.208 11.9809 15.208 7.99999C15.208 4.01912 11.9809 0.791992 7.99999 0.791992C4.01912 0.791992 0.791992 4.01912 0.791992 7.99999C0.791992 11.9809 4.01912 15.208 7.99999 15.208Z","fill","white"],["d","M7.992 0.791992C6.56797 0.791992 5.17592 1.21426 3.99189 2.00541C2.80786 2.79656 1.88501 3.92104 1.34006 5.23667C0.795112 6.5523 0.652528 7.99998 0.930341 9.39664C1.20815 10.7933 1.89389 12.0762 2.90083 13.0832C3.90776 14.0901 5.19068 14.7758 6.58734 15.0536C7.98401 15.3315 9.43169 15.1889 10.7473 14.6439C12.0629 14.099 13.1874 13.1761 13.9786 11.9921C14.7697 10.8081 15.192 9.41602 15.192 7.99199C15.192 6.08243 14.4334 4.25109 13.0832 2.90082C11.7329 1.55056 9.90155 0.791992 7.992 0.791992ZM11.376 5.95999L7.824 10.888C7.71819 11.0308 7.56379 11.13 7.38989 11.1669C7.216 11.2037 7.03463 11.1757 6.88 11.088L4.84 9.89599C4.6745 9.79627 4.5554 9.63489 4.50889 9.44736C4.46238 9.25982 4.49227 9.06149 4.592 8.89599C4.69172 8.7305 4.8531 8.61139 5.04063 8.56489C5.22817 8.51838 5.4265 8.54827 5.592 8.64799L7.04 9.51199L10.24 5.11999C10.3588 5.00101 10.5154 4.92734 10.6828 4.91175C10.8502 4.89616 11.0177 4.93963 11.1564 5.03462C11.2951 5.12962 11.3962 5.27015 11.4422 5.43186C11.4881 5.59357 11.476 5.76626 11.408 5.91999L11.376 5.95999Z",1,"svg-primary"],["id","clip0_5641_12212"],["width","16","height","16","fill","white"],[1,"f-500","f-14","roboto","text-primary","lh-16","mb-0"],[1,"d-flex","w-50","align-items-baseline","pl-10"],[1,"d-flex","mt-10"],[1,"mb-0","f-400","f-4","roboto"],[1,"w-30","ml-10","d-flex","flex-column","align-items-center","justify-content-center","ba-dashed"],["src","https://res.cloudinary.com/futurewise/image/upload/v1760701163/myplanner/undraw_agreement_aajr.svg"],[1,"mb-25","mt-25","f-500","f-18","roboto"],[1,"btn-primary","mb-15","d-flex",3,"click"],[1,"btn-green","dashboard-btn",3,"disabled","click"],["class","dashboard-spinner",3,"diameter",4,"ngIf"],[1,"f-400","f-14","roboto","mb-16"],[1,"w-33","mr-16","bg-grey","lter","ba-primitive","br-6","p-10","mb-8","d-flex","align-items-center","f-500","f-12","roboto","text-uppercase"],["src","https://res.cloudinary.com/futurewise/image/upload/v1761724273/myplanner/Frame_2117375264221.svg"],["src","https://res.cloudinary.com/futurewise/image/upload/v1761725625/myplanner/Frame_2117375264.svg"],["src","https://res.cloudinary.com/futurewise/image/upload/v1761724273/myplanner/Frame_2117375264_2_32.svg"],[1,"w-33","bg-grey","lter","ba-primitive","br-6","p-10","mb-8","d-flex","align-items-center","f-500","f-12","roboto","text-uppercase"],["src","https://res.cloudinary.com/futurewise/image/upload/v1761725624/myplanner/Group_1000011318.svg"],["src","https://res.cloudinary.com/futurewise/image/upload/v1761727025/myplanner/Vector87122.svg"],["src","https://res.cloudinary.com/futurewise/image/upload/v1761724273/myplanner/Frame_2117375264_3_3.svg"],["src","https://res.cloudinary.com/futurewise/image/upload/v1761727025/myplanner/Frame_2117375264_1.svg"],["src","https://res.cloudinary.com/futurewise/image/upload/v1761727025/myplanner/Group_1171278119.svg"],[1,"dashboard-spinner",3,"diameter"],[1,"w-90","ba-primitive","br-6","p-20","mb-24","bg-grey","lter"],[1,"f-500","f-22","roboto","mb-8"],[1,"f-500","f-14","roboto","mb-10"],[1,"d-flex","flex-wrap","mb-16"],[1,"d-flex","w-50","align-items-baseline","mb-10"],[1,"f-500","f-14","roboto","text-primary","mb-0"],[1,"f-500","f-14","roboto","mb-6"],[1,"f-400","f-14","roboto","pl-16","mb-0","d-flex","flex-column","ml-10"],[1,"text-left"],[1,"w-40","mb-24","ml-10","d-flex","flex-column","align-items-center","justify-content-center","ba-dashed"],["src","https://res.cloudinary.com/futurewise/image/upload/v1781948123/Frame_2117375449_zpd7gz.png"],[1,"mb-30","mt-30","f-500","f-18","roboto"]],template:function(r,_){1&r&&(e.YNc(0,N,95,3,"div",0),e.YNc(1,k,99,3,"div",0)),2&r&&(e.Q6J("ngIf",_.toNotShowMainScreen),e.xp6(1),e.Q6J("ngIf",!_.toNotShowMainScreen))},dependencies:[D.O5,L.Ou],styles:[".dashboard-btn[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:36px}.dashboard-spinner[_ngcontent-%COMP%]{flex-shrink:0} .dashboard-spinner circle{stroke:#fff!important}button.dashboard-btn[_ngcontent-%COMP%]{color:#fff!important}button.dashboard-btn[_ngcontent-%COMP%]:disabled{color:#fff!important}"]}),v})()},71096:(y,P,s)=>{s.d(P,{I:()=>f});var a=s(94650),h=s(34793);let f=(()=>{class g{constructor(){}ngOnInit(){}}return g.\u0275fac=function(m){return new(m||g)},g.\u0275cmp=a.Xpm({type:g,selectors:[["app-growth-hub-marketing"]],decls:1,vars:0,template:function(m,b){1&m&&a._UZ(0,"router-outlet")},dependencies:[h.lC]}),g})()},10555:(y,P,s)=>{s.d(P,{a:()=>it});var a=s(23968),h=s(41074),f=s(33089),g=s(65730),t=s(94650),m=s(34793),b=s(11481),p=s(36895),l=s(49652),C=s(51572),e=s(3848),I=s(81825);const E=function(i,c){return{"text-white bg-primary":i,"bl-1":c}};
1function Z(i,c){if(1&i){const o=t.EpF();t.TgZ(0,"div",12),t.NdJ("click",function(){const x=t.CHM(o).$implicit,T=t.oxw(3);return t.KtG(T.getgrowthhubprooductSublist(x.growthHubSegregationTypeMasterId))}),t._uU(1),t.qZA()}if(2&i){const o=c.$implicit,n=c.index,d=t.oxw(3);t.Q6J("ngClass",t.WLB(2,E,d.selectedSegregationId===o.growthHubSegregationTypeMasterId,0!==n)),t.xp6(1),t.hij(" ",o.segregationTypeName," ")}}function U(i,c){if(1&i&&(t.TgZ(0,"div",10),t.YNc(1,Z,2,5,"div",11),t.qZA()),2&i){const o=t.oxw(2);t.xp6(1),t.Q6J("ngForOf",o.productList)}}function D(i,c){1&i&&(t.TgZ(0,"div",13)(1,"div",14),t._uU(2,"Loading..."),t.qZA()())}function L(i,c){if(1&i&&t._UZ(0,"img",23),2&i){const o=t.oxw().$implicit;t.Q6J("src",o.logoUrl,t.LSH)}}function G(i,c){if(1&i){const o=t.EpF();t.TgZ(0,"div",24),t.NdJ("click",function(){const x=t.CHM(o).$implicit,T=t.oxw(5);return t.KtG(T.getgrowthhubheaders(x))}),t._uU(1),t.qZA()}if(2&i){const o=c.$implicit;t.xp6(1),t.hij(" ",o.productName," ")}}function N(i,c){if(1&i&&(t.ynx(0),t.TgZ(1,"div",17)(2,"div",18),t.YNc(3,L,1,1,"img",19),t._uU(4),t.qZA(),t.TgZ(5,"div",20),t.YNc(6,G,2,1,"div",21),t.qZA()(),t._UZ(7,"div",22),t.BQk()),2&i){const o=c.$implicit,n=t.oxw(4);t.xp6(3),t.Q6J("ngIf",o.logoUrl),t.xp6(1),t.hij(" \xa0 ",o.segregationName," "),t.xp6(2),t.Q6J("ngForOf",o.products)("ngForTrackBy",n.trackByProduct)}}function R(i,c){if(1&i&&(t.ynx(0),t.YNc(1,N,8,4,"ng-container",16),t.BQk()),2&i){const o=t.oxw(3);t.xp6(1),t.Q6J("ngForOf",o.subproductList)("ngForTrackBy",o.trackBySegregation)}}function k(i,c){if(1&i&&(t.TgZ(0,"div"),t.YNc(1,R,2,2,"ng-container",15),t.qZA()),2&i){t.oxw();const o=t.MAs(9),n=t.oxw();t.xp6(1),t.Q6J("ngIf",n.subproductList&&n.subproductList.length>0)("ngIfElse",o)}}function B(i,c){1&i&&(t.TgZ(0,"div",25)(1,"div",26),t._UZ(2,"img",27),t.TgZ(3,"p",28),t._uU(4,"No Products Available"),t.qZA()()())}function v(i,c){if(1&i&&(t.TgZ(0,"div",2)(1,"p",3),t._uU(2,"Discover, Compare, and Promote Products that Grow Your Business."),t.qZA(),t.TgZ(3,"div",4),t.YNc(4,U,2,1,"div",5),t.qZA(),t._UZ(5,"div",6),t.YNc(6,D,3,0,"div",7),t.YNc(7,k,2,2,"div",8),t.YNc(8,B,5,0,"ng-template",null,9,t.W1O),t.qZA()),2&i){const o=t.oxw();t.xp6(4),t.Q6J("ngIf",o.productList.length>0),t.xp6(2),t.Q6J("ngIf",o.isLoading2),t.xp6(1),t.Q6J("ngIf",!o.isLoading2)}}function A(i,c){if(1&i&&(t.TgZ(0,"div",41)(1,"p",42),t._uU(2),t.qZA(),t.TgZ(3,"p",43),t._uU(4),t.qZA()()),2&i){const o=c.$implicit;t.ekj("br",!c.last),t.xp6(2),t.Oqu(o.specificationTitle),t.xp6(2),t.Oqu(o.specificationDetails)}}function r(i,c){if(1&i&&(t.TgZ(0,"div",39),t.YNc(1,A,5,4,"div",40),t.qZA()),2&i){const o=t.oxw(3);t.xp6(1),t.Q6J("ngForOf",o.productHeaders.specificationDetails)}}const _=function(i,c,o){return{"btn-primary":i,"dynamic-color-lighter1":c,"dynamic-color-lighter2":o}};function u(i,c){if(1&i){const o=t.EpF();t.TgZ(0,"div")(1,"button",44),t.NdJ("click",function(){const x=t.CHM(o).$implicit,T=t.oxw(3);return t.KtG(T.redirect(x.redirectionUrl))}),t._uU(2),t.qZA()()}if(2&i){const o=c.$implicit,n=c.index;t.xp6(1),t.Q6J("ngClass",t.kEZ(2,_,0===n,1===n,2===n)),t.xp6(1),t.hij(" ",o.buttonName," ")}}const w=function(i){return{"background-image":i,"background-size":"cover","background-position":"center","background-repeat":"no-repeat"}};function M(i,c){if(1&i){const o=t.EpF();t.TgZ(0,"div")(1,"div",32)(2,"img",33),t.NdJ("click",function(){t.CHM(o);const d=t.oxw(2);return t.KtG(d.backtoPart1(1))}),t.qZA(),t.TgZ(3,"p",34),t._uU(4),t.qZA(),t.TgZ(5,"p",35),t._uU(6),t.qZA(),t.YNc(7,r,2,1,"div",36),t.TgZ(8,"div",37),t.YNc(9,u,3,6,"div",38),t.qZA()()()}if(2&i){const o=t.oxw(2);t.xp6(1),t.Q6J("ngStyle",t.VKq(5,w,null!=o.productHeaders&&null!=o.productHeaders.basicDetails&&o.productHeaders.basicDetails.bannerUrl?"url("+o.productHeaders.basicDetails.bannerUrl+")":"none")),t.xp6(3),t.Oqu(null==o.productHeaders||null==o.productHeaders.basicDetails?null:o.productHeaders.basicDetails.productName),t.xp6(2),t.Oqu(null==o.productHeaders||null==o.productHeaders.basicDetails?null:o.productHeaders.basicDetails.description),t.xp6(1),t.Q6J("ngIf",(null==o.productHeaders||null==o.productHeaders.specificationDetail
1s?null:o.productHeaders.specificationDetails.length)>0),t.xp6(2),t.Q6J("ngForOf",null==o.productHeaders?null:o.productHeaders.buttonDetails)}}function F(i,c){1&i&&(t.TgZ(0,"div",51),t._UZ(1,"mat-spinner",52),t.qZA())}function K(i,c){if(1&i&&(t.TgZ(0,"div"),t._UZ(1,"div",53),t.qZA()),2&i){const o=t.oxw(4);t.xp6(1),t.Q6J("innerHTML",o.safeHtmlContent,t.oJD)}}function W(i,c){if(1&i&&(t.TgZ(0,"th",60),t._uU(1),t.qZA()),2&i){const o=c.$implicit;t.xp6(1),t.hij(" ",o," ")}}function q(i,c){1&i&&t._UZ(0,"img",64)}function J(i,c){if(1&i&&(t.ynx(0),t.YNc(1,q,1,0,"img",63),t._uU(2),t.BQk()),2&i){const o=t.oxw().$implicit,n=t.oxw().$implicit;t.xp6(1),t.Q6J("ngIf",n[o].isSelected),t.xp6(1),t.hij(" ",n[o].segregationName," ")}}function Y(i,c){if(1&i&&(t.TgZ(0,"td",62),t.YNc(1,J,3,2,"ng-container",8),t.qZA()),2&i){const o=c.$implicit,n=t.oxw().$implicit;t.Udp("visibility",n[o]?"visible":"hidden"),t.Q6J("ngClass",null!=n[o]&&n[o].isSelected?"blue":"grey text-black"),t.xp6(1),t.Q6J("ngIf",n[o])}}function Q(i,c){if(1&i&&(t.TgZ(0,"tr",57),t.YNc(1,Y,2,4,"td",61),t.qZA()),2&i){const o=t.oxw(5);t.xp6(1),t.Q6J("ngForOf",o.tableColumns)}}function j(i,c){if(1&i&&(t.TgZ(0,"div",54)(1,"p",55),t._uU(2,"Who is this Product suited for?"),t.qZA(),t.TgZ(3,"table",56)(4,"tr",57),t.YNc(5,W,2,1,"th",58),t.qZA(),t.YNc(6,Q,2,1,"tr",59),t.qZA()()),2&i){const o=t.oxw(4);t.xp6(5),t.Q6J("ngForOf",o.tableColumns),t.xp6(1),t.Q6J("ngForOf",o.dynamicTableRows)}}function z(i,c){if(1&i&&(t.TgZ(0,"p",73),t._uU(1),t.qZA()),2&i){const o=t.oxw().$implicit;t.xp6(1),t.hij(" ",o.answer," ")}}function $(i,c){if(1&i&&t._UZ(0,"div",53),2&i){const o=t.oxw().$implicit;t.Q6J("innerHTML",o.answer,t.oJD)}}function X(i,c){if(1&i&&(t.TgZ(0,"mat-expansion-panel",68)(1,"mat-expansion-panel-header",69)(2,"mat-panel-title")(3,"p",70),t._uU(4),t.qZA()()(),t.TgZ(5,"div",69),t.YNc(6,z,2,1,"p",71),t.YNc(7,$,1,1,"div",72),t.qZA()()),2&i){const o=c.$implicit;t.Q6J("expanded",0===c.index),t.xp6(4),t.hij(" ",o.question," "),t.xp6(2),t.Q6J("ngIf",!o.answerType||"text"===o.answerType),t.xp6(1),t.Q6J("ngIf",o.answerType&&"text"!==o.answerType)}}function V(i,c){if(1&i&&(t.TgZ(0,"div",65)(1,"section",66)(2,"mat-accordion"),t.YNc(3,X,8,4,"mat-expansion-panel",67),t.qZA()()()),2&i){const o=t.oxw(4);t.xp6(3),t.Q6J("ngForOf",o.tabssectiondata)}}function tt(i,c){if(1&i&&(t.TgZ(0,"div"),t._UZ(1,"app-resources-main",74),t.qZA()),2&i){const o=t.oxw(4);t.xp6(1),t.Q6J("filterDataa",o.resourcesFilterData)("growthHubProductMasterId",o.growthHubProductMasterId)}}function et(i,c){if(1&i&&(t.TgZ(0,"mat-tab",47),t.YNc(1,F,2,0,"div",48),t.YNc(2,K,2,1,"div",8),t.YNc(3,j,7,2,"div",49),t.YNc(4,V,4,1,"div",50),t.YNc(5,tt,2,2,"div",8),t.qZA()),2&i){const o=c.$implicit,n=t.oxw(3);t.Q6J("label",o.sectionName),t.xp6(1),t.Q6J("ngIf",n.isLoading4),t.xp6(1),t.Q6J("ngIf",!n.isLoading4&&!n.sectionDynamic),t.xp6(1),t.Q6J("ngIf",!n.isLoading4&&n.sectionDynamic&&3==n.growthHubProductSectionMasterId),t.xp6(1),t.Q6J("ngIf",!n.isLoading4&&n.sectionDynamic&&10==n.growthHubProductSectionMasterId),t.xp6(1),t.Q6J("ngIf",!n.isLoading4&&n.sectionDynamic&&8==n.growthHubProductSectionMasterId)}}function ot(i,c){if(1&i){const o=t.EpF();t.TgZ(0,"mat-tab-group",45),t.NdJ("selectedTabChange",function(d){t.CHM(o);const x=t.oxw(2);return t.KtG(x.onTabChange(d))}),t.YNc(1,et,6,6,"mat-tab",46),t.qZA()}if(2&i){const o=t.oxw(2);t.xp6(1),t.Q6J("ngForOf",o.productHeaders.sections)}}function nt(i,c){if(1&i&&(t.TgZ(0,"div",29),t.YNc(1,M,10,7,"div",8),t.TgZ(2,"div",30),t.YNc(3,ot,2,1,"mat-tab-group",31),t.qZA()()),2&i){const o=t.oxw();t.xp6(1),t.Q6J("ngIf",!o.isLoading3&&null!=o.productHeaders.basicDetails),t.xp6(2),t.Q6J("ngIf",null==o.productHeaders||null==o.productHeaders.sections?null:o.productHeaders.sections.length)}}let it=(()=>{class i{constructor(o,n,d,x,T){this.growthservice=o,this.router=n,this.eventService=d,this.resourcesMainService=x,this.sanitizer=T,this.isLoading1=!1,this.panelOpenState=!1,this.productList=[],this.part1=!0,this.part2=!1,this.activeTab="about",this.tabs=[{id:"about",label:"About"},{id:"performance",label:"Performance"},{id:"investors",label:"Ideal Investors"},{id:"why",label:"Why Recommend?"},{id:"products",label:"Live Products"},{id:"journey",label:"Investment Journey"}
1,{id:"benefits",label:"Growth+ Benefits"},{id:"sales",label:"Sales Toolkit"},{id:"promotion",label:"Promotion"},{id:"faqs",label:"FAQs"}],this.isLoading2=!0,this.isLoading3=!1,this.isLoading4=!1,this.dynamicTableRows=[],this.tableColumns=["Product Category","Solutions","Life Stage","Client Segment","Risk Profile","Investment Horizon"],this.sectionDynamic=!1,this.allResources=[],this.advisorId=g.e.getAdminAdvisorId()}ngOnInit(){this.getgrowthProductList()}ngAfterViewInit(){const o=document.querySelectorAll("section");this.observer=new IntersectionObserver(n=>{n.forEach(d=>{d.isIntersecting&&(this.activeTab=d.target.id)})},{threshold:.4}),o.forEach(n=>this.observer.observe(n))}getgrowthProductList(){this.isLoading1=!0,this.growthservice.getgrowthProductList({}).subscribe(n=>{n?(console.log("growth product list",n),this.productList=n,this.productList?.length&&(this.selectedSegregationId=this.productList[0].growthHubSegregationTypeMasterId,this.getgrowthhubprooductSublist(this.selectedSegregationId))):(this.isLoading1=!1,this.productList=[])},n=>{console.log("error in growth product list",n),this.isLoading1=!1})}getgrowthhubprooductSublist(o){this.subproductList=[],this.selectedSegregationId=o,this.isLoading2=!0,this.growthservice.getgrowthhubprooductSublist({growthHubSegregationTypeMasterId:o}).subscribe(d=>{d?(console.log("growth product sublist",d),this.subproductList=d,this.isLoading2=!1):(this.isLoading2=!1,this.subproductList=[])},d=>{console.log("error in growth product sublist",d),this.isLoading2=!1,this.subproductList=[]})}getgrowthhubheaders(o){this.isLoading3=!0,this.part1=!1,this.part2=!0,this.growthHubProductMasterId=o.growthHubProductMasterId,console.log("Request growthHubProductMasterId:",this.growthHubProductMasterId),this.growthservice.getgrowthhubheaders({growthHubProductMasterId:this.growthHubProductMasterId}).subscribe(d=>{d?(console.log("growth product headers response",d),this.productHeaders=this.mapProductHeaders(d),this.selectedResCategoryId=this.productHeaders?.rescategoryId,this.getAllData(),this.isLoading3=!1,this.productHeaders?.sections?.length&&this.getgrowthhubSubsections(this.productHeaders.sections[0])):(this.isLoading3=!1,this.productHeaders=[])},d=>{console.log("error in growth product headers",d),this.isLoading3=!1,this.productHeaders=[]})}getAllData(){this.resourcesMainService.getAllData({search:null,advisorId:this.advisorId,rescategoryIds:[],resSubcategoryIds:[],languageIds:[],resourceTypeIds:[],amc_ids:[],isFavourite:0,limit:-1,offset:0}).subscribe(n=>{console.log("getAllData response:",n),console.log("growthHubProductMasterId all:",this.growthHubProductMasterId),this.allResources=n||[];const d=this.buildRequestFromResources();console.log("Filtered request ready:",d)},n=>{this.eventService.openSnackBar("No data found","Dismiss")})}buildRequestFromResources(){const o=this.growthHubProductMasterId,n=this.allResources.filter(O=>O.rescategoryId===o),d=Array.from(new Set(n.map(O=>O.resSubcategoryId))),x=Array.from(new Set(n.map(O=>O.languageId))),T=Array.from(new Set(n.map(O=>O.resourceTypeId))),S=Array.from(new Set(n.map(O=>O.amc_id))),H={search:null,advisorId:this.advisorId,rescategoryIds:[o],resSubcategoryIds:d,languageIds:x,resourceTypeIds:T,amc_ids:S,isFavourite:0,sortby:[],limit:-1,offset:0};return console.log("\u{1f539} Generated Request:",H),H}applyFilter(){const o={search:null,advisorId:this.advisorId,rescategoryIds:[this.growthHubProductMasterId],resSubcategoryIds:[...new Set(this.allResources.filter(n=>n.rescategoryId===this.growthHubProductMasterId).map(n=>n.resSubcategoryId))],languageIds:[...new Set(this.allResources.filter(n=>n.rescategoryId===this.growthHubProductMasterId).map(n=>n.languageId))],resourceTypeIds:[...new Set(this.allResources.filter(n=>n.rescategoryId===this.growthHubProductMasterId).map(n=>n.resourceTypeId))],amc_ids:[...new Set(this.allResources.filter(n=>n.rescategoryId===this.growthHubProductMasterId).map(n=>n.amc_id))],isFavourite:0,limit:-1,offset:0};console.log("Final request obj:",o),this.resourcesMainService.getAllData(o).subscribe(n=>{console.log("Filtered data received:",n),this.resourcesFilterData=n},n=>{this.eventService.openSnackBar("No data found","Dismiss")})}redirect(o){!o||(o.includes("admin")?this.router.navigate([o]):o.startsWith("http://")||o.startsWith("https://")?window.open(o,"_blank"):window.open("http://"+o,"_blank"))}
1mapProductHeaders(o){return{basicDetails:o?.basicDetails||{},specificationDetails:(o?.specificationDetails||[]).slice().sort((n,d)=>(n.sequenceNo??0)-(d.sequenceNo??0)),sections:(o?.sections||[]).slice().sort((n,d)=>(n.sequenceNo??0)-(d.sequenceNo??0)),buttonDetails:(o?.buttonDetails||[]).slice().sort((n,d)=>(n.sequenceNo??0)-(d.sequenceNo??0))}}onTabChange(o){this.getgrowthhubSubsections(this.productHeaders.sections[o.index])}getgrowthhubSubsections(o){this.isLoading4=!0;let n={growthHubProductSectionMasterId:o.growthHubProductSectionMasterId,growthHubProductSectionDetailsId:o.growthHubProductSectionDetailsId,isDynamic:o.isDynamic};this.growthservice.getgrowthhubSubsections(n).subscribe(d=>{d?(console.log("growth product subsections",d),this.tabssectiondata=d,this.sectionDynamic=n.isDynamic,this.growthHubProductSectionMasterId=n.growthHubProductSectionMasterId,!d[0]?.isDynamic&&d[0]?.sectionContent?(this.safeHtmlContent=d[0]?.sectionContent,this.tabidealsectiondata=[],this.isLoading4=!1):(this.safeHtmlContent=null,this.tabidealsectiondata=this.buildIdealForTable(d),this.isLoading4=!1)):(this.safeHtmlContent=null,this.tabssectiondata=[],this.tabidealsectiondata=null,this.safeHtmlContent=null,this.isLoading4=!1),8===n.growthHubProductSectionMasterId&&this.applyFilter()},d=>{this.isLoading4=!1,this.tabssectiondata=[],this.tabidealsectiondata=null,console.log("error in growth product subsections",d)})}buildIdealForTable(o){const n={};o.forEach(x=>{n[x.segregationTypeName]||(n[x.segregationTypeName]=[]),n[x.segregationTypeName].push(x)});const d=Math.max(...Object.values(n).map(x=>x.length));this.dynamicTableRows=Array.from({length:d}).map((x,T)=>{const S={};return this.tableColumns.forEach(H=>{S[H]=n[H]?.[T]||null}),S})}scrollTo(o){document.getElementById(o)?.scrollIntoView({behavior:"smooth",block:"start"}),this.activeTab=o}backtoPart1(o){1==o&&(this.part1=!0,this.part2=!1)}trackBySegregation(o,n){return n.segregationId}trackByProduct(o,n){return n.productId}ngOnDestroy(){this.observer&&this.observer.disconnect()}}return i.\u0275fac=function(o){return new(o||i)(t.Y36(a.F),t.Y36(m.F0),t.Y36(h.P),t.Y36(f.d),t.Y36(b.H7))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-growth-hub-products"]],decls:2,vars:2,consts:[["style","padding-top: 150px;","class","pl-30 pr-30",4,"ngIf"],["style","padding-top: 127px;",4,"ngIf"],[1,"pl-30","pr-30",2,"padding-top","150px"],[1,"f-500","f-14","roboto","mb-20"],[1,"d-flex","justify-content-between","align-items-center"],["class","d-flex b",4,"ngIf"],[1,"mt-20","mb-20","bb-dashed-2"],["class","loader-overlay",4,"ngIf"],[4,"ngIf"],["noDataTpl",""],[1,"d-flex","b"],["class","f-400 f-14 c-p pt-8 pb-8 pl-20 pr-20 roboto",3,"ngClass","click",4,"ngFor","ngForOf"],[1,"f-400","f-14","c-p","pt-8","pb-8","pl-20","pr-20","roboto",3,"ngClass","click"],[1,"loader-overlay"],[1,"loader"],[4,"ngIf","ngIfElse"],[4,"ngFor","ngForOf","ngForTrackBy"],[1,"d-flex","align-items-center"],[1,"f-500","f-14","roboto","mb-0","w-20"],["loading","lazy",3,"src",4,"ngIf"],[1,"w-80","d-flex","flex-wrap"],["class","p-8 c-p br-5 b f-400 f-14 roboto mb-10 mr-10",3,"click",4,"ngFor","ngForOf","ngForTrackBy"],[1,"mt-10","mb-20","bb-dashed-2"],["loading","lazy",3,"src"],[1,"p-8","c-p","br-5","b","f-400","f-14","roboto","mb-10","mr-10",3,"click"],[1,"d-flex","align-items-center","w-100","justify-content-center",2,"height","60vh"],[1,"text-center","d-flex","flex-column","align-items-center"],["src","https://res.cloudinary.com/futurewise/image/upload/v1704796984/My-Planner_Whitewashed/documents-empty-states-w_2.2-svg_1.svg","alt","No Products Available",1,"bg-primary"],[1,"f-400","f-14","roboto","mb-0","p-5"],[2,"padding-top","127px"],[1,"tab-neww","pl-20","pr-20"],["animationDuration","0ms",3,"selectedTabChange",4,"ngIf"],[1,"mb-10","pl-30","pr-30","pb-20","pt-20",3,"ngStyle"],["src","https://res.cloudinary.com/futurewise/image/upload/v1767330871/myplanner/Vector09.png",1,"c-p",3,"click"],[1,"mt-18","mb-5","roboto","f-600","f-20","roboto"],[1,"f-400","f-14","roboto","mb-16"],["class","yellow b bg-white br-4 p-15 pt-8 pb-8 d-flex",4,"ngIf"],[1,"d-flex"],[4,"ngFor","ngForOf"],[1,"yellow","b","bg-white","br-4","p-15","pt-8","pb-8","d-flex"],["class","mr-8 pr-8",3,"br",4,"ngFor","ngForOf"],[1,"mr-8","pr-8"],[1,"f-400","f-14","roboto","mb-0","text-primitive","text-uppercase"],[1,"f-500","f-14","roboto","mb-0"],[1,"mt-16","mr-10",3,"ngClass","click"],["animationDuration","0ms",3,"selectedTabChange"],[3,"label",4,"ngFor","ngForOf"],[3,"label"],["class","p-16 text-center d-flex justify-content-center mt-60",4,"ngIf"],["class","pl-24 pr-24 mb-20 growth",4,"ngIf"],["class","pl-24 pr-24 mb-20",4,"ngIf"],[1,"p-16","text-center","d-flex","justify-content-center","mt-60"],["diameter","32"],[3,"innerHTML"],[1,"pl-24","pr-24","mb-20","growth"],[1,"f-600","f-14","roboto","mb-15"],[2,"border","1p
1x solid white","width","100%"],[2,"border-bottom","1px solid white"],["class","p-10 f-500 f-14 roboto text-primary text-center w-16","style","border-right: 1px solid white;",4,"ngFor","ngForOf"],["style","border-bottom: 1px solid white;",4,"ngFor","ngForOf"],[1,"p-10","f-500","f-14","roboto","text-primary","text-center","w-16",2,"border-right","1px solid white"],["class","f-400 f-12 roboto p-10 w-16","style","border-right: 1px solid white;",3,"ngClass","visibility",4,"ngFor","ngForOf"],[1,"f-400","f-12","roboto","p-10","w-16",2,"border-right","1px solid white",3,"ngClass"],["src","https://res.cloudinary.com/futurewise/image/upload/v1765280153/myplanner/righttick.png",4,"ngIf"],["src","https://res.cloudinary.com/futurewise/image/upload/v1765280153/myplanner/righttick.png"],[1,"pl-24","pr-24","mb-20"],["id","faqs",1,"section","p-10"],[3,"expanded",4,"ngFor","ngForOf"],[3,"expanded"],[1,"p-10"],[1,"mb-0","text-black","roboto","f-500","f-14"],["class","mb-0 f-400 f-14 roboto lh-8",4,"ngIf"],[3,"innerHTML",4,"ngIf"],[1,"mb-0","f-400","f-14","roboto","lh-8"],[3,"filterDataa","growthHubProductMasterId"]],template:function(o,n){1&o&&(t.YNc(0,v,10,3,"div",0),t.YNc(1,nt,4,2,"div",1)),2&o&&(t.Q6J("ngIf",n.part1),t.xp6(1),t.Q6J("ngIf",n.part2))},dependencies:[p.mk,p.sg,p.O5,p.PC,l.pp,l.ib,l.yz,l.yK,C.Ou,e.SP,e.uX,I.Y],styles:['@charset "UTF-8";.container1[_ngcontent-%COMP%]{display:flex;height:100vh;font-family:Arial,sans-serif}.sidebar[_ngcontent-%COMP%]{width:170px;padding:10px;position:sticky;top:0;height:100vh;background:#fff}.tab[_ngcontent-%COMP%]{padding:10px 12px;cursor:pointer;border-right:1px solid #BCC6CA;font-weight:400;font-size:14px}.tab.active[_ngcontent-%COMP%]{font-weight:400;font-size:14px;border:1px solid #BCC6CA;border-right:0px;background-color:#fff!important;color:#000!important}.content[_ngcontent-%COMP%]{flex:1;padding:0 20px 20px;overflow-y:auto!important;height:calc(100vh - 214px)}.section[_ngcontent-%COMP%]{padding-bottom:20px}.dummy-box[_ngcontent-%COMP%]{height:400px}.b-yellow[_ngcontent-%COMP%]{border:1px solid rgba(254,196,114,.6);background-color:#fec47214}.grey[_ngcontent-%COMP%]{color:#0006;background-color:#bcc6cab3}.blue[_ngcontent-%COMP%]{color:#fff;background-color:#004164}.steps-container[_ngcontent-%COMP%]{position:relative;padding-left:30px;border-left:3px solid #f8a329;margin:20px 0}.step[_ngcontent-%COMP%]{display:flex;align-items:flex-start;margin-bottom:20px;position:relative}.dot[_ngcontent-%COMP%]{width:12px;height:12px;background:#f8a329;border-radius:50%;position:absolute;left:-39px;top:5px}.text[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{margin:0;font-size:16px;font-weight:700;color:#000}.text[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:3px 0 0;font-size:14px;color:#555;line-height:1.5}.w-33-33[_ngcontent-%COMP%]{width:33.33%}.side[_ngcontent-%COMP%] .mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer!important;border-left:0px!important;border-right:0px!important;border-radius:0!important;height:50px!important;border:none!important}.side[_ngcontent-%COMP%] .mat-expansion-panel-body{padding:0!important}.side[_ngcontent-%COMP%] .mat-expansion-panel-spacing{margin:0!important}.side[_ngcontent-%COMP%] .mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:0!important;border-bottom-left-radius:0!important}.side[_ngcontent-%COMP%] .mat-accordion .mat-expansion-panel{border-bottom:1px solid #DADCE0!important}.side[_ngcontent-%COMP%] .mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:none!important} .pt .mat-form-field-appearance-standard .mat-form-field-flex{padding-top:0!important}.assets-container[_ngcontent-%COMP%]{-moz-column-gap:20px;column-gap:20px;width:100%}.asset-item[_ngcontent-%COMP%]{position:relative;margin-bottom:10px;width:100%}.asset-item[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:auto;display:block;border:1px solid #ccc}.delete-btn[_ngcontent-%COMP%]{position:absolute;top:0;right:5px;z-index:10;color:#000}.heart-icon[_ngcontent-%COMP%]{position:absolute;top:9px;right:5px;z-index:10}.name[_ngcontent-%COMP%]{position:absolute;bottom:0;z-index:10}.image-container[_ngcontent-%COMP%]{position:relative}.hover-content[_ngcontent-%COMP%]{position:absolute;inset:0;visibility:hidden;opacity:0;transition:visibility 0s,opacity .3s ease-in-out}.image-container[_ngcontent-%COMP%]:hover .hover-content[_ngcontent-%COMP%]{visibility:visible;opacity:1}.w-20[_ngcontent-%COMP%]{flex:1 0 18%;max-width:18%;margin-bottom:20px} .mat-form-field-appearance-standard .mat-form-field-flex{padding-top:0!important}.skeleton[_ngcontent-%COMP%]{width:217px;height:217px;background-color:#e0e0e0;border-radius:8px;position:relative;overflow:hidden}.skeleton[_ngcontent-%COMP%]:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,rgba(255,255,255,.2),rgba(255,255,255,.5),rgba(255,255,255,.2));animation:shimmer 1.5s infinite}@keyframes shimmer{0%{transform:translate(-100%)}to{transform:translate(100%)}}.yellow[_ngcontent-%COMP%]{border:1px solid rgba(255,160,26,.6);width:-moz-fit-content;width:fit-content;max-width:100%}[_nghost-%COMP%] .tab-neww .mat-tab-labels{flex-direction:column}[_nghost-%COMP%] .tab-neww .mat-tab-group{flex-grow:1;display:flex;flex-direction:row}[_nghost-%COMP%] .tab-neww .mat-tab-body-wrapper{flex-grow:1;display:flex;flex-direction:column}[_nghost-%COMP%] .tab-neww .mat-tab-body{flex-grow:1;display:flex;flex-direction:column}[_nghost-%COMP%] .tab-neww .mat-ink-bar{display:none}[_nghost-%COMP%] .tab-neww .mat-tab-label.mat-tab-label-active{background-color:transparent;border-top:1px solid lightgrey;border-bottom:1px solid lightgray;border-left:1px solid lightgray;border-right:none;color:#000;font-weight:400;font-size:14px}[_nghost-%COMP%] .tab-neww .mat-tab-label{background-color:transparent;border-right:1px solid lightgray;height:40px!important;justify-content:left;font-weight:400;font-size:14px;color:#000;padding:0 8px}.loader-overlay[_ngcontent-%COMP%]{position:absolute;inset:0;background:rgba(255,255,255,.8);display:flex;align-items:center;justify-content:center;z-index:10}.loader[_ngcontent-%COMP%]{font-weight:500;font-size:14px}']}),i})()},54550:(y,P,s)=>{s.d(P,{x:()=>E});var a=s(34793),h=s(43463),f=s(9321),g=s(71096),t=s(10555),m=s(85406),b=s(95683),p=s(38380),l=s(11679),C=s(81825),e=s(94650);const I=[{path:"",component:h.E,canActivate:[l.p],children:[{path:"home",component:m.l,children:[{path:"empanelment",component:p.e},{path:"",redirectTo:"empanelment",pathMatch:"full"}]},{path:"products",component:t.a},{path:"resources",component:g.I,children:[{path:"resources-main",component:C.Y},{path:"",redirectTo:"resources-main",pathMatch:"full"}]},{path:"settings",component:f.a,children:[{path:"",component:b.W,children:[{path:"empanelment",component:p.e},{path:"",redirectTo:"empanelment",pathMatch:"full"}]}]}]}];let E=(()=>{class Z{}
1return Z.\u0275fac=function(D){return new(D||Z)},Z.\u0275mod=e.oAB({type:Z}),Z.\u0275inj=e.cJS({imports:[a.Bz.forChild(I),a.Bz]}),Z})()},9321:(y,P,s)=>{s.d(P,{a:()=>f});var a=s(94650),h=s(34793);let f=(()=>{class g{constructor(){}ngOnInit(){}}return g.\u0275fac=function(m){return new(m||g)},g.\u0275cmp=a.Xpm({type:g,selectors:[["app-growth-hub-settings"]],decls:1,vars:0,template:function(m,b){1&m&&a._UZ(0,"router-outlet")},dependencies:[h.lC]}),g})()},43463:(y,P,s)=>{s.d(P,{E:()=>m});var a=s(94650),h=s(34793),f=s(36895),g=s(3848);const t=function(b){return{active:b}};let m=(()=>{class b{constructor(l){this.router=l,this._value=1}ngOnInit(){this.checkUrlAndSetValue()}checkUrlAndSetValue(){this.router.url.includes("/admin/growth-hub/home")?this._value=1:this.router.url.includes("/admin/growth-hub/products")?this._value=2:this.router.url.includes("/admin/growth-hub/resources")?this._value=3:this.router.url.includes("/admin/growth-hub/settings")&&(this._value=4)}}return b.\u0275fac=function(l){return new(l||b)(a.Y36(h.F0))},b.\u0275cmp=a.Xpm({type:b,selectors:[["app-growth-hub"]],decls:15,vars:12,consts:[["id","uiTransactions",1,"d-none-768"],[1,"row"],[1,"col-md-2","mob50"],[1,"col-md-10","p-0"],[1,"subnav-fixed"],["mat-align-tabs","end","mat-tab-nav-bar","",1,"d-none-992"],["mat-tab-link","","routerLinkActive","active","routerLink","/admin/growth-hub/home",1,"text-white","Roboto","mfWidth","text-uppercase",3,"ngClass"],["mat-tab-link","","routerLinkActive","active","routerLink","/admin/growth-hub/products",1,"text-white","Roboto","mfWidth","text-uppercase",3,"ngClass"],["mat-tab-link","","routerLinkActive","active","routerLink","/admin/growth-hub/resources",1,"text-white","Roboto","mfWidth","text-uppercase",3,"ngClass"],["mat-tab-link","","routerLinkActive","active","routerLink","/admin/growth-hub/settings",1,"text-white","Roboto","mfWidth","text-uppercase",3,"ngClass"]],template:function(l,C){1&l&&(a.TgZ(0,"div",0)(1,"div",1),a._UZ(2,"div",2),a.TgZ(3,"div",3)(4,"div",4)(5,"nav",5)(6,"a",6),a._uU(7,"HOME"),a.qZA(),a.TgZ(8,"a",7),a._uU(9,"Products"),a.qZA(),a.TgZ(10,"a",8),a._uU(11,"resources"),a.qZA(),a.TgZ(12,"a",9),a._uU(13,"Settings"),a.qZA()()()()()(),a._UZ(14,"router-outlet")),2&l&&(a.xp6(6),a.Q6J("ngClass",a.VKq(4,t,1==C._value)),a.xp6(2),a.Q6J("ngClass",a.VKq(6,t,2==C._value)),a.xp6(2),a.Q6J("ngClass",a.VKq(8,t,3==C._value)),a.xp6(2),a.Q6J("ngClass",a.VKq(10,t,4==C._value)))},dependencies:[f.mk,g.BU,g.Nj,h.lC,h.yS,h.Od],styles:[".example-card[_ngcontent-%COMP%]{height:457px}#uiTransactions[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%]{border-bottom:4px solid transparent;width:120px;background:transparent!important;letter-spacing:.75px!important}#uiTransactions[_ngcontent-%COMP%] .mat-tab-link.kycWidth[_ngcontent-%COMP%]{min-width:50px!important;width:50px!important}#uiTransactions[_ngcontent-%COMP%] .mat-tab-link.transactionsWidth[_ngcontent-%COMP%]{width:150px!important}#uiTransactions[_ngcontent-%COMP%] .mat-tab-link.mfWidth[_ngcontent-%COMP%]{width:120px!important}@media (max-width: 768px){#uiTransactions[_ngcontent-%COMP%]{overflow-y:hidden!important;z-index:99}#uiTransactions[_ngcontent-%COMP%] .mat-tab-links[_ngcontent-%COMP%]{align-items:center}#uiTransactions[_ngcontent-%COMP%] .mat-tab-link[_ngcontent-%COMP%]{color:#fff!important;height:24px!important;max-width:80px;padding-right:0!important;padding-left:0!important}#uiTransactions[_ngcontent-%COMP%] .mat-tab-link.active[_ngcontent-%COMP%]{background-color:#fff!important;color:#1a303e!important;border-bottom:0px!important;border-radius:16px!important}}"]}),b})()},61695:(y,P,s)=>{s.r(P),s.d(P,{GrowthHubModule:()=>p});var a=s(36895),h=s(14528),f=s(24006),g=s(10049),t=s(49028),m=s(54550),b=s(94650);let p=(()=>{class l{}return l.\u0275fac=function(e){return new(e||l)},l.\u0275mod=b.oAB({type:l}),l.\u0275inj=b.cJS({imports:[a.ez,h.q,g.Z,t.Q,f.u5,f.UX,m.x]}),l})()},23968:(y,P,s)=>{s.d(P,{F:()=>t});var a=s(82129),h=s(22811),f=s(719),g=s(94650);let t=(()=>{class m{constructor(p){this.http=p}getgrowthProductList(p){return this.http.get(h.d.MAIN_URL+a.e.Growthhubprooductlist_get,p)}getgrowthhubprooductSublist(p){return this.http.get(h.d.MAIN_URL+a.e.GrowthhubprooductSublist_get,p)}getgrowthhubheaders(p){return this.http.get(h.d.MAIN_URL+a.e.Growthhubheaders_get,p)}getgrowthhubSubsections(p){return this.http.get(h.d.MAIN_URL+a.e.GrowthhubSubsections_get,p)}}
1return m.\u0275fac=function(p){return new(p||m)(g.LFG(f.O))},m.\u0275prov=g.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"}),m})()}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.