1"use strict";(self.webpackChunkclient=self.webpackChunkclient||[]).push([[6862],{86862:(G,h,n)=>{n.r(h),n.d(h,{UsersModule:()=>L});var x=n(21671),p=n(89921),g=n(15472),c=n(95107),M=n(88692),v=n(8239),O=n(38023),m=n(57445),t=n(64537),d=n(29790),P=n(48292),f=n(80404),b=n(27339),U=n(14503),C=n(98046);let Z=(()=>{class e extends C.mm{constructor(){super(...arguments),this.document=C.Ps`mutation( 2 $newsletters: Boolean! 3 $opportunities: Boolean! 4 ){ 5 unsubscribe ( 6 newsletters: $newsletters 7 opportunities: $opportunities 8 ){ 9 success 10 errors 11 } 12 }`}}return e.\u0275fac=function(){let s;return function(i){return(s||(s=t.n5z(e)))(i||e)}}(),e.\u0275prov=t.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var T=n(19729),l=n(20092);let u=(()=>{class e{constructor(o,i,r,a,B,I,D,N,R){this.router=o,this.route=i,this.translateService=r,this.toasterService=a,this.ngxLoaderService=B,this.errorsService=I,this.meService=D,this.unsubscribeUserGraphql=N,this.partnerBleService=R,this.ngUnsubscribe$=new O.x,this.newsletters=!1,this.opportunities=!1}ngOnInit(){var o=this;return(0,v.Z)(function*(){if(yield(0,m.z)(o.partnerBleService.partnerBlp$))return void o.router.navigate(["/profile"]);o.action=o.route.snapshot.url[o.route.snapshot.url.length-1].path,o.meService.me||(yield(0,m.z)(o.meService.meLoaded));const{me:r}=o.meService;r&&(o.newsletters=r.newsletters,o.opportunities=r.opportunities)})()}confirmUnsubscription(){this.ngxLoaderService.ngxLoading=!0,this.unsubscribeUserGraphql.mutate({newsletters:this.newsletters,opportunities:this.opportunities}).subscribe({next:({data:o})=>{const i=o.unsubscribe;i?.success?(this.toasterService.success(this.translateService.instant("SUCCESSFULLY_UPDATED_YOUR_PREFERENCES"),"Success"),this.meService.loadMe(),this.router.navigate(["/profile"])):this.errorsService.showToastForNonFieldErrors(this.errorsService.getNonFieldErrors(i.errors)),this.ngxLoaderService.ngxLoading=!1},error:o=>{this.ngxLoaderService.ngxLoading=!1,this.errorsService.showInternalServerError(o)}})}ngOnDestroy(){this.ngUnsubscribe$.next(),this.ngUnsubscribe$.complete()}}return e.\u0275fac=function(o){return new(o||e)(t.Y36(g.F0),t.Y36(g.gz),t.Y36(d.sK),t.Y36(P._W),t.Y36(f.b),t.Y36(b.r),t.Y36(U.w),t.Y36(Z),t.Y36(T.J))},e.\u0275cmp=t.Xpm({type:e,selectors:[["app-unsubscribe"]],decls:47,vars:23,consts:[[1,"theme-v2","d-flex","align-items-center","py-5"],[1,"container","text-center"],[1,"text-center"],[1,"text-center","mx-auto","mb-4","mb-lg-5"],[1,"d-inline-flex","flex-column","align-items-center","pb-3"],[1,"theme-v2-switch","theme-v2-switch-red","w-100"],["type","checkbox","hidden","","name","newsletters",3,"ngModel","ngModelChange"],[1,"flex-grow-1","text-center"],["type","checkbox","hidden","","name","opportunities",3,"ngModel","ngModelChange"],["type","submit",1,"btn","btn-lg","btn-primary",3,"click"],[1,"d-inline-flex","flex-column","align-items-center","mt-4"],[1,"app-download-buttons"],["href","https://apps.apple.com/nl/app/eyevestor/id6514272897","target","_blank"],["src","assets/img/apple-store-button-black.png","alt","App Store"],["href","https://play.google.com/store/apps/details?id=co.eyevestor.android.wqkenq&hl=nl","target","_blank"],["src","assets/img/google-play-button-black.png","alt","Google Play"],[1,"get-in-touch-box","mx-auto"],[1,"d-flex","align-items-center","justify-content-center","m-0","p-0"],["href","https://www.linkedin.com/company/eyevestor/","target","_blank"],["width","30","height","30","viewBox","0 0 30 30","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M27.8571 0H2.13616C0.957589 0 0 0.970982 0 2.16295V27.8371C0 29.029 0.957589 30 2.13616 30H27.8571C29.0357 30 30 29.029 30 27.8371V2.16295C30 0.970982 29.0357 0 27.8571 0ZM9.06696 25.7143H4.62054V11.3973H9.07366V25.7143H9.06696ZM6.84375 9.44196C5.41741 9.44196 4.26562 8.28348 4.26562 6.86384C4.26562 5.4442 5.41741 4.28571 6.84375 4.28571C8.26339 4.28571 9.42187 5.4442 9.42187 6.86384C9.42187 8.29018 8.27009 9.44196 6.84375 9.44196ZM25.7344 25.7143H21.2879V18.75C21.2879 17.0893 21.2545 14.9531 18.9777 14.9531C16.6607 14.9531 16.3058 16.7612 16.3058 18.6295V25.7143H11.8594V11.3973H16.125V13.3527H16.1853C16.7812 12.2277 18.2344 11.0424 20.3973 11.0424C24.8973 11.0424 25.7344 14.0089 25.7344 17.8661V25.7143Z","fill","currentColor"],["href","https://www.instagram.com/eyevestor/","target","_blank"],["width","31","height","30","viewBox","0 0 31 30","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M15.9643 7.30838C11.7077 7.30838 8.27438 10.7425 8.27438 15C8.27438 19.2575 11.7077 22.6916 15.9643 22.6916C20.2208 22.6916 23.6542 19.2575 23.6542 15C23.6542 10.7425 20.2208 7.30838 15.9643 7.30838ZM15.9643 20.0006C13.2136 20.0006 10.9648 17.758 10.9648 15C10.9648 12.242 13.2069 9.99944 15.9643 9.99944C18.7217 9.99944 20.9637 12.242 20.9637 15C20.9637 17.758 18.715 20.0006 15.9643 20.0006ZM25.7624 6.99375C25.7624 7.99119 24.9593 8.7878 23.9687 8.7878C22.9715 8.7878 22.1751 7.98449 22.1751 6.99375C22.1751 6.00301 22.9782 5.19971 23.9687 5.19971C24.9593 5.19971 25.7624 6.00301 25.7624 6.99375ZM30.8555 8.81457C30.74
1218 6.41136 30.193 4.28261 28.4328 2.52873C26.6793 0.774852 24.551 0.225929 22.1483 0.105433C19.672 -0.0351445 12.2498 -0.0351445 9.77354 0.105433C7.37756 0.219235 5.24928 0.768158 3.4891 2.52203C1.72892 4.27591 1.18682 6.40466 1.06635 8.80788C0.925801 11.2847 0.925801 18.7086 1.06635 21.1854C1.18012 23.5886 1.72892 25.7174 3.4891 27.4713C5.24928 29.2251 7.37087 29.7741 9.77354 29.8946C12.2498 30.0351 19.672 30.0351 22.1483 29.8946C24.551 29.7808 26.6793 29.2318 28.4328 27.4713C30.1863 25.7174 30.7351 23.5886 30.8555 21.1854C30.9961 18.7086 30.9961 11.2914 30.8555 8.81457ZM27.6564 23.843C27.1344 25.1551 26.1238 26.1659 24.8053 26.6947C22.831 27.478 18.1461 27.2972 15.9643 27.2972C13.7825 27.2972 9.09089 27.4713 7.12324 26.6947C5.81147 26.1726 4.80087 25.1618 4.27215 23.843C3.4891 21.8682 3.66981 17.1823 3.66981 15C3.66981 12.8177 3.4958 8.12507 4.27215 6.15698C4.79418 4.84492 5.80477 3.8341 7.12324 3.30525C9.09758 2.52203 13.7825 2.70278 15.9643 2.70278C18.1461 2.70278 22.8377 2.52873 24.8053 3.30525C26.1171 3.8274 27.1277 4.83822 27.6564 6.15698C28.4395 8.13176 28.2588 12.8177 28.2588 15C28.2588 17.1823 28.4395 21.8749 27.6564 23.843Z","fill","currentColor"]],template:function(o,i){1&o&&(t.TgZ(0,"main",0)(1,"form",1)(2,"h1",2),t._uU(3),t.ALo(4,"translate"),t.qZA(),t.TgZ(5,"p",3),t._uU(6),t.ALo(7,"translate"),t.qZA(),t.TgZ(8,"div",4)(9,"label",5)(10,"input",6),t.NdJ("ngModelChange",function(a){return i.newsletters=a}),t.qZA(),t._UZ(11,"span"),t.TgZ(12,"p",7),t._uU(13),t.ALo(14,"translate"),t.qZA()(),t.TgZ(15,"label",5)(16,"input",8),t.NdJ("ngModelChange",function(a){return i.opportunities=a}),t.qZA(),t._UZ(17,"span"),t.TgZ(18,"p",7),t._uU(19),t.ALo(20,"translate"),t.qZA()()(),t.TgZ(21,"div",2)(22,"button",9),t.NdJ("click",function(){return i.confirmUnsubscription()}),t._uU(23),t.ALo(24,"translate"),t.qZA()(),t.TgZ(25,"div",10)(26,"p"),t._uU(27),t.ALo(28,"translate"),t.qZA(),t.TgZ(29,"div",11)(30,"a",12),t._UZ(31,"img",13),t.qZA(),t.TgZ(32,"a",14),t._UZ(33,"img",15),t.qZA()()(),t.TgZ(34,"div",16)(35,"h3",2),t._uU(36),t.ALo(37,"translate"),t.qZA(),t.TgZ(38,"ul",17)(39,"li")(40,"a",18),t.O4$(),t.TgZ(41,"svg",19),t._UZ(42,"path",20),t.qZA()()(),t.kcU(),t.TgZ(43,"li")(44,"a",21),t.O4$(),t.TgZ(45,"svg",22),t._UZ(46,"path",23),t.qZA()()()()()()()),2&o&&(t.xp6(3),t.Oqu(t.lcZ(4,9,"UNSUBSCRIBE_PAGE.TITLE")),t.xp6(3),t.Oqu(t.lcZ(7,11,"UNSUBSCRIBE_PAGE.TITLE_DESCRIPTION")),t.xp6(4),t.Q6J("ngModel",i.newsletters),t.xp6(3),t.Oqu(t.lcZ(14,13,"NEWSLETTERS")),t.xp6(3),t.Q6J("ngModel",i.opportunities),t.xp6(3),t.Oqu(t.lcZ(20,15,"OPPORTUNITIES")),t.xp6(4),t.Oqu(t.lcZ(24,17,"UNSUBSCRIBE_PAGE.BUTTON_TEXT")),t.xp6(4),t.Oqu(t.lcZ(28,19,"DOWNLOAD_THE_EYEVESTOR_APP_AND_SUBSCRIBE")),t.xp6(9),t.Oqu(t.lcZ(37,21,"PROFILE.GET_IN_TOUCH")))},dependencies:[l._Y,l.Wl,l.JJ,l.JL,l.On,l.F,d.X$],styles:["main[_ngcontent-%COMP%]{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNDQwIiBoZWlnaHQ9Ijg2NSIgdmlld0JveD0iMCAwIDE0NDAgODY1IiBmaWxsPSJub25lIj4KPHBhdGggZD0iTTAgMEgxMTM5TDkxNy42ODMgODY5SDBWMFoiIGZpbGw9IiNFN0UwRDgiLz4KPHBhdGggZD0iTTE5MDEgODY5TDg4MiA4NjlMMTA4MCAwTDE5MDEgMEwxOTAxIDg2OVoiIGZpbGw9IiNGMTRGNDgiLz4KPC9zdmc+);background-position:center center;background-size:cover;min-height:calc(100vh - 272px);position:relative}html.blp-theme[_nghost-%COMP%] main[_ngcontent-%COMP%], html.blp-theme [_nghost-%COMP%] main[_ngcontent-%COMP%]{background-image:none;background-color:#e7e0d8}html.blp-theme[_nghost-%COMP%] main[_ngcontent-%COMP%]:before, html.blp-theme [_nghost-%COMP%] main[_ngcontent-%COMP%]:before{background-color:var(--blp-primary-color);content:\"\";inset:0;mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1440' height='865' viewBox='0 0 1440 865'%3E%3Cpath d='M1901 869L882 869L1080 0L1901 0L1901 869Z' fill='black'/%3E%3C/svg%3E\");mask-position:center;mask-repeat:no-repeat;mask-size:cover;pointer-events:none;position:absolute;z-index:0;-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1440' height='865' viewBox='0 0 1440 865'%3E%3Cpath d='M1901 869L882 869L1080 0L1901 0L1901 869Z' fill='black'/%3E%3C/svg%3E\");-webkit-mask-position:center;-webkit-mask-repeat:no-repeat;-webkit-mask-size:cover}html.blp-theme[_nghost-%COMP%] main[_ngcontent-%COMP%] > *[_ngcontent-%COMP%], html.blp-theme [_nghost-%COMP%] main[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{position:relative;z-index:1}html.blp-theme[_nghost-%COMP%] .btn-primary[_ngcontent-%COMP%]:not(:disabled):not(.disabled), html.blp-theme [_nghost-%COMP%] .btn-primary[_ngcontent-%COMP%]:not(:disabled):not(.disabled){background-color:var(--blp-primary-color)!important;border-color:var(--blp-primary-color)!important;color:#fff!important}html.blp-theme[_nghost-%COMP%] .get-in-touch-box[_ngcontent-%COMP%] a[_ngcontent-%COMP%], html.blp-theme [_nghost-%COMP%] .get-in-touch-box[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:var(--blp-primary-color)}html.blp-theme[_nghost-%COMP%] .theme-v2-switch-red[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked ~ span[_ngcontent-%COMP%], html.blp-theme [_nghost-%COMP%] .theme-v2-switch-red[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked ~ span[_ngcontent-%COMP%]{background-color:var(--blp-primary-color)!important}.container[_ngcontent-%COMP%]{max-width:600px}h1[_ngcontent-%COMP%]{color:#34364e;font-size:22px;font-weight:900;line-height:24px;margin:0 0 10px}@media (min-width: 576px){h1[_ngcontent-%COMP%]{font-size:26px;line-height:28px}}@media (min-width: 768px){h1[_ngcontent-%COMP%]{font-size:30px;line-height:32px}}@media (min-width: 992px){h1[_ngcontent-%COMP%]{font-size:36px;line-height:38px}}@media (min-width: 1200px){h1[_ngcontent-%COMP%]{font-size:42px;line-height:44px}}h1[_ngcontent-%COMP%] + p[_ngcontent-%COMP%]{color:#34364e;font-size:15px;line-height:20px;max-width:460px}@media (min-width: 768px){h1[_ngcontent-%COMP%] + p[_ngcontent-%COMP%]{font-size:17px;line-height:22px}}@media (min-width: 992px){h1[_ngcontent-%COMP%] + p[_ngcontent-%COMP%]{font-size:19px;line-height:24px}}h2[_ngcontent-%COMP%]{color:#34364e;font-size:18px;font-weight:900;line-height:1.5714em}@media (min-width: 576px){h2[_ngcontent-%COMP%]{font-size:20px}}@media (min-width: 768px){h2[_ngcontent-%COMP%]{font-size:22px}}@media (min-width: 992px){h2[_ngcontent-%COMP%]{font-size:25px}}@media (min-width: 1200px){h2[_ngcontent-%COMP%]{font-size:28px}}h2[_ngcontent-%COMP%] + p[_ngcontent-%COMP%]{color:#000;font-size:14px;line-height:1.125em;max-width:350px}@media (min-width: 768px){h2[_ngcontent-%COMP%] + p[_ngcontent-%COMP%]{font-size:15px}}@media (min-width: 992px){h2[_ngcontent-%COMP%] + p[_ngcontent-%COMP%]{font-size:16px}}.get-in-touch-box[_ngcontent-%COMP%]{margin:80px 0 0;padding:4px 20px 20px;width:250px}@media (min-width: 992px){.get-in-touch-box[_ngcontent-%COMP%]{margin-top:100px}}.get-in-touch-box[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{color:#34364e;font-size:16px;font-weight:900;line-height:2.444em;margin-bottom:12px}@media (min-width: 768px){.get-in-touch-box[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:17px}}@media (min-width: 992px){.get-in-touch-box[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:18px}}.get-in-touch-box[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{border-radius:4px;gap:11px;list-style:none}.get-in-touch-box[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#f14f48}.app-download-buttons[_ngcontent-%COMP%]{display:flex;gap:10px}"]}),e})();const w=[{path:"",loadComponent:()=>Promise.all([n.e(7592),n.e(8520),n.e(1208),n.e(1415),n.e(3881),n.e(1092),n.e(5963),n.e(4059),n.e(8592),n.e(91)]).then(n.bind(n,85963)).then(e=>e.UserProfileComponent),canActivate:[c.a]},{path:"unsubscribe",component:u,canActivate:[c.a]},{path:"subscribe",component:u,canActivate:[c.a]},{path:":uid",loadComponent:()=>Promise.all([n.e(7592),n.e(8520),n.e(1208),n.e(1415),n.e(3881),n.e(1092),n.e(5963),n.e(4059),n.e(8592),n.e(91)]).then(n.bind(n,85963)).then(e=>e.UserProfileComponent)}];let S=(()=>{class e{}return e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=t.oAB({type:e}),e.\u0275inj=t.cJS({imports:[M.ez,g.Bz.forChild(w),g.Bz]}),e})();var E=n(55190),y=n(25379),A=n(27621),z=n(99565);let L=(()=>{class e{}return e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=t.oAB({type:e}),e.\u0275inj=t.cJS({providers:[p.oM],imports:[S,E.a,x.m,p.u3.forRoot(),y.e,A.C,z.$]}),e})()}}]);
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.