PageSourceSearch

https://platform.eyevestor.com/9450.9a0be4d324098656.js

js eyevestor.com collected 2026-09-28 05:50:58 UTC 63,180 bytes, 460 lines download raw bytes

1"use strict";(self.webpackChunkclient=self.webpackChunkclient||[]).push([[9450,6520],{32269:(k,M,i)=>{i.d(M,{B:()=>J});var m=i(8239),p=i(58816),h=i(27969),g=i(79676),b=i(57445),e=i(67278),l=i(64537),s=i(15472),_=i(14503),N=i(48292),T=i(29790),O=i(98046);let U=(()=>{class u extends O.AE{constructor(){super(...arguments),this.document=O.Ps`
2        query ($accountId: String!) {
3            account (accountId: $accountId) {
4                pk
5                created
6                modified
7                disabled
8                deleted
9                numberOfSharesIn
10                valueOfSharesIn
11                numberOfSharesOut
12                valueOfSharesOut
13                lastTradeDate
14                lastTradePrice
15                accountValue
16                totalEyeferAmount
17                totalTradedShareLastSixMonths
18                averagePriceLastSixMonths
19                profitLossValuation
20                owner {
21                    pk
22                    firstName
23                    lastName
24                    fullName
25                    username
26                    email
27                    fullPhoneNumber
28                    phoneVerified
29                }
30                toEscrow
31                hasPendingTransaction
32                hasRecognizedEcoTransfers
33                eyeventure {
34                    ctId
35                    pk
36                    country
37                    tickerSymbol
38                    name
39                    logo
40                    created
41                    certtype
42                    legalFormOfIncorporation
43                    eyevalue
44                    percentageOfParent
45                    parentEyevalue
46                    isLive
47                    onceLive
48                    ecoPaymentParty
49                    marketplacePaymentParty
50                    directSalePaymentParty
51                    buyBackPaymentParty
52                    isListed
53                    deleted
54                    isEyeventureUser
55                    hasActiveDividend
56                    instrument
57                    owner {
58                        pk
59                    }
60                    eyeventurevisibility {
61                        backgroundImage
62                        directSaleOnOff
63                    }
64                    eyeventureplan {
65                        isPrivate
66                        isProfessional
67                        isEnterprise
68                        directEco
69                        marketplace
70                        bulletinBoard
71                        plan{
72                            chargerates{
73                                transactionType
74                                rate,
75                                minCharge,
76                                maxCharge
77                            }
78                        }
79                    }
80                    marketplace {
81                        marketplaceOnOff
82                        switchOnPriceBandwidth
83                        priceBandwidth {
84                            basePrice
85                            spreadPercentage
86                            minPrice
87                            maxPrice
88                        }
89                    }
90                    bulletinboard {
91                        bulletinboardPriceBandwidth {
92                            basePrice
93                            spreadPercentage
94                            minPrice
95                            maxPrice
96                        }
97                        bulletinboardOnOff
98                        switchOnPriceBandwidth
99                    }
100                    eyeventurecontactinformation {
101                        homePage
102                        publicContactEmail
103                    }
104                }
105                role {
106                    name
107                    memberTypeSymbol
108                    isMarketplaceOn
109                    isDirectSaleOn
110                }
111                accountId
112                email
113                number
114                iban
115                firstName
116                lastName
117                balance
118                reserved
119                reservedEco
120                pending
121                escrowIn
122                escrowOut
123                timelocked
124                amountSoldPending
125                totalBalance
126                isBuybackActive
127                marketplaceNotifications
128                message
129                sourceOrder
130                permissions
131                beneficiary {
132                    id
133                    beneficialOwnerFirstName
134                    beneficialOwnerLastName
135                    name
136                    phone
137                    email
138                    status
139                    address
140                  	postalCode
141                  	city
142                  	country
143                  	birthPlace
144                  	dateOfBirth
145                    merchant {
146                        id
147                        bankAccount
148                        complianceLevel
149                        complianceStatus
150                        status
151                        oppMerchantId
152                        bank{
153                            id
154                            accountIban
155                        }
156                    }
157                }
158                partnerChargeRates {
159                    transactionType,
160                    rate,
161                    minCharge,
162                    maxCharge
163                }
164            }
165        }
166    `}}return u.\u0275fac=function(){let C;return function(y){return(C||(C=l.n5z(u)))(y||u)}}(),u.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})(),R=(()=>{class u extends O.AE{constructor(){super(...arguments),this.document=O.Ps`
167        query ($accountId: String!) {
168            accountEyecons (accountId: $accountId) {
169                pk
170                accountId
171                balance
172                reserved
173                reservedEco
174                pending
175                timelocked
176                amountSoldPending
177            }
178        }
179    `}}return u.\u0275fac=function(){let C;return function(y){return(C||(C=l.n5z(u)))(y||u)}}(),u.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();var q=i(68017),v=i(45485),G=i(27339),Y=i(40306),D=i(64315),B=i(31207);let J=(()=>{class u{constructor(d,y,A,L,S,I,x,Q,z,$,H,V){this.router=d,this.meService=y,this.toaster=A,this.translate=L,this.accountFetchingGraphql=S,this.accountEyeconsFetchingGraphql=I,this.eventEmittersService=x,this.accountRequestGraphql=Q,this.errorsService=z,this.confirmationService=$,this.authService=H,this.superAdminPermissionsService=V,this.accountId=null,this.eventEmittersService.reloadAccountEventEmitter.subscribe(()=>{this.loadAccount()}),this.eventEmittersService.reloadAccountEyeconsEventEmitter.subscribe(()=>{this.loadAccountEyecons()})}requestForAccount(d){var y=this;return(0,m.Z)(function*(){if(!(yield y.authService.isLoggedIn()))return void y.authService.showUnauthenticatedPopup("PLEASE_LOGIN_TO_REQUEST_ACCOUNT");const{confirmed:A,value:L}=yield y.confirmationService.confirmWithTextInput("TOGGLE_ACCOUNT_REQUEST",{key:"ACCOUNT_REQUEST_MESSAGE",options:{eyeventureName:d?.name||""}},"TH.COMMENTS","BUTTONS.YES","BUTTONS.NO");var S;!A||y.accountRequestGraphql.mutate({pk:d?.pk,message:L||""}).subscribe({next:(S=(0,m.Z)(function*({data:I}){const x=I.requestForEyeventureAccount;x.success?y.toaster.success(y.translate.instant("ACCOUNT_REQUEST_SUCCESS_MESSAGE")):y.errorsService.showToastForNonFieldErrors(y.errorsService.getNonFieldErrors(x.errors))}),function(x){return S.apply(this,arguments)}),error:S=>{y.errorsService.showInternalServerError(S)}})})()}loadAccount(){var d=this;this.accountId&&(this.account=void 0,this.accountFetchingGraphql.wat
179ch({accountId:this.accountId}).valueChanges.pipe((0,h.U)(y=>y.data.account),(0,g.P)()).subscribe(function(){var y=(0,m.Z)(function*(A){A||(d.toaster.warning((yield(0,b.z)(d.translate.get("ACCOUNT_WITH_ID")))+d.accountId+(yield(0,b.z)(d.translate.get("IS_NOT_AVAILABLE")))),d.router.navigate(["/dashboard"])),d.accountTobeDeserialized=A,d.account=e.t.convertPlainObjectToClassObject(p.m,d.accountTobeDeserialized),d.eventEmittersService.eyeventureLoadedEventEmitter.next(d.account.eyeventure)});return function(A){return y.apply(this,arguments)}}()),this.eventEmittersService.reloadAccountTransactions())}loadAccountEyecons(){this.accountId&&this.accountTobeDeserialized&&(this.accountEyeconsFetchingGraphql.watch({accountId:this.accountId}).valueChanges.pipe((0,h.U)(d=>d.data.accountEyecons),(0,g.P)()).subscribe(d=>{this.accountTobeDeserialized={...this.accountTobeDeserialized,...d},this.account=e.t.convertPlainObjectToClassObject(p.m,this.accountTobeDeserialized),this.eventEmittersService.eyeventureLoadedEventEmitter.next(this.account.eyeventure)}),this.eventEmittersService.reloadAccountTransactions())}isOwner(){return!(!this.meService.me||this.meService.me.pk!==this.account.owner.pk)}canEdit(){return!(!this.account||this.account.deleted)&&(!!this.isOwner()||(this.meService.isSuperUser()?this.superAdminPermissionsService.canManageVentureManagement(this.meService.me,this.account.eyeventure??null):!0===this.account.eyeventure?.isEyeventureUser))}isOwnerOrSuperUserOrEyeventureAdmin(){return this.canEdit()||this.account.isEyeventureAdmin()}generateDestinationAccountOptions(d){return d.map(y=>({value:y.pk,name:y.iban+" (Member Type: "+y.role?.name+")"}))}}return u.\u0275fac=function(d){return new(d||u)(l.LFG(s.F0),l.LFG(_.w),l.LFG(N._W),l.LFG(T.sK),l.LFG(U),l.LFG(R),l.LFG(q.r),l.LFG(v.v),l.LFG(G.r),l.LFG(Y.Y),l.LFG(D.e),l.LFG(B.v))},u.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})()},79450:(k,M,i)=>{i.r(M),i.d(M,{CommunityMailsComponent:()=>$e});var m=i(8239),p=i(88692),h=i(21671),g=i(54428),b=i(71328),e=i(64537),l=i(73479),s=i(20092),_=i(38023),N=i(65598),T=i(13528),O=i(57445),U=i(36520),R=i(67278),q=i(75728),v=i(98046);let G=(()=>{class n extends v.mm{constructor(){super(...arguments),this.document=v.Ps`mutation(
180            $eyeventure: Int!
181            $title: String!
182            $sendTo: String!
183            $content: String!
184            $sendEmail: Boolean
185        ){
186            createMailPost(
187                eyeventure: $eyeventure,
188                title: $title,
189                sendTo: $sendTo,
190                content: $content,
191                sendEmail: $sendEmail
192            ){
193                success
194                errors
195                mailPost{
196                    pk
197                    title
198                    content
199                    status
200                    commentsCount
201                    showNewMailTag
202                    owner{
203                        email
204                        firstName
205                        lastName
206                        username
207                    }
208                    sendTo
209                    created
210                    comments {
211                        pk
212                        content
213                        owner {
214                            pk
215                            email
216                            firstName
217                            lastName
218                            profilePicture
219                        }
220                        created
221                    }
222                }
223            }
224        }
225    `}}return n.\u0275fac=function(){let r;return function(o){return(r||(r=e.n5z(n)))(o||n)}}(),n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Y=(()=>{class n extends v.mm{constructor(){super(...arguments),this.document=v.Ps`mutation(
226            $eyeventure: Int!
227            $title: String!
228            $content: String!
229            $sendEmail: Boolean
230        ){
231            sendMailPostToAdmin(
232                eyeventure: $eyeventure,
233                title: $title,
234                content: $content
235                sendEmail: $sendEmail
236            ){
237                success
238                errors
239                mailPost{
240                    pk
241                    title
242                    content
243                    status
244                    commentsCount
245                    showNewMailTag
246                    owner{
247                        email
248                        firstName
249                        lastName
250                        username
251                    }
252                    sendTo
253                    created
254                    comments {
255                        pk
256                        content
257                        owner {
258                            pk
259                            email
260                            firstName
261                            lastName
262                            profilePicture
263                        }
264                        created
265                    }
266                }
267            }
268        }
269    `}}return n.\u0275fac=function(){let r;return function(o){return(r||(r=e.n5z(n)))(o||n)}}(),n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),D=(()=>{class n extends v.mm{constructor(){super(...arguments),this.document=v.P
269s`mutation(
270            $eyeventure: Int!
271            $post: Int!
272            $content: String!
273            $sendEmail: Boolean
274        ){
275            replyOnMailPost(
276                eyeventure: $eyeventure
277                post: $post,
278                content: $content
279                sendEmail: $sendEmail
280            ){
281                success
282                errors
283                mailPost{
284                    pk
285                    title
286                    content
287                    status
288                    commentsCount
289                    showNewMailTag
290                    owner{
291                        email
292                        firstName
293                        lastName
294                        username
295                    }
296                    sendTo
297                    created
298                    comments {
299                        pk
300                        content
301                        owner {
302                            pk
303                            email
304                            firstName
305                            lastName
306                            profilePicture
307                        }
308                        created
309                    }
310                }
311            }
312        }
313    `}}return n.\u0275fac=function(){let r;return function(o){return(r||(r=e.n5z(n)))(o||n)}}(),n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),B=(()=>{class n extends v.mm{constructor(){super(...arguments),this.document=v.Ps`mutation(
314            $pk: Int!
315            $eyeventure: Int!
316        ){
317            archiveMailPost(
318                pk: $pk,
319                eyeventure: $eyeventure,
320            ){
321                success
322                errors
323            }
324        }
325    `}}return n.\u0275fac=function(){let r;return function(o){return(r||(r=e.n5z(n)))(o||n)}}(),n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),J=(()=>{class n extends v.AE{constructor(){super(...arguments),this.document=v.Ps`
326        query (
327            $eyeventure: ID!
328            $searchingFrom: ID!
329            $first: Int
330            $iban: String
331            $after: String
332        ) {
333            destinationAccounts (
334                eyeventureId: $eyeventure,
335                searchingFrom: $searchingFrom,
336                first: $first,
337                ibanOrEmail: $iban,
338                after: $after
339            ) {
340                pageInfo {
341                    startCursor
342                    endCursor
343                    hasNextPage
344                    hasPreviousPage
345                }
346                edges {
347                    cursor
348                    node {
349                        id
350                        pk
351                        iban
352                        ownerEmail
353                        owner{
354                            email
355                        }
356                    }
357                }
358            }
359        }
360    `}}return n.\u0275fac=function(){let r;return function(o){return(r||(r=e.n5z(n)))(o||n)}}(),n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();var u=i(29790),C=i(48292),d=i(80404),y=i(27339),A=i(19729);function L(n,r){1&n&&(e.TgZ(0,"strong"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"FORM_ERRORS.REQUIRED")," "))}function S(n,r){if(1&n&&(e.TgZ(0,"small",13),e.YNc(1,L,3,3,"strong",14),e.qZA()),2&n){const t=e.oxw().ngIf;e.xp6(1),e.Q6J("ngIf",null==t.errors?null:t.errors.required)}}function I(n,r){if(1&n&&(e.TgZ(0,"div",5)(1,"label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e._UZ(4,"editor",11),e.YNc(5,S,2,1,"small",12),e.qZA()),2&n){const t=r.ngIf,o=e.oxw();e.xp6(2),e.Oqu(e.lcZ(3,3,"MESSAGE")),e.xp6(2),e.Q6J("init",o.tinymceInit),e.xp6(1),e.Q6J("ngIf",t.invalid&&(t.touched||t.dirty))}}let x=(()=>{class n{constructor(t,o,a,c,f,P,w,F,E){this.fb=t,this.utilityService=o,this.modalRef=a,this.sendReplyOnMailPostGraphql=c,this.translator=f,this.toastr=P,this.ngxLoaderService=w,this.errorService=F,this.partnerBleService=E,this.ngUnsubscribe$=new _.x,this.loadMailPost=new e.vpe,this.sendEmail=!1,this.communityBlpStyle=null,this.form=this.fb.group({content:this.fb.nonNullable.control("",s.kI.required)}),this.tinymceInit=this.utilityService.getTinyMceDefaultConfig(),this.partnerBleService.partnerBlp$.pipe((0,N.q)(1)).subscribe(Z=>{this.communityBlpStyle=(0,U.mQ)(Z)})}onSubmit(){var t=this;return(0,m.Z)(function*(){const o=structuredClone(t.form.value);var a;o.post=t.mailPost?.pk,o.eyeventure=t.eyeventure.pk,o.sendEmail=t.sendEmail,t.ngxLoaderService.ngxLoading=!0,t.sendReplyOnMailPostGraphql.mutate(o).pipe((0,T.R)(t.ngUnsubscribe$)).subscribe({next:(a=(0,m.Z)(function*({data:c}){c&&c.replyOnMailPost?.success?(t.toastr.success(yield(0,O.z)(t.translator.get("EMAIL_POST.REPLY.CREATED.SUCCESS"))),t.ngxLoaderService.ngxLoading=!1,t.loadMailPost.emit(c.replyOnMailPost?.mailPost),t.modalRef.hide()):(c.replyOnMailPost?.errors?.nonFieldErrors?.length?t.errorService.showToastForNonFieldErrors(t.errorService.getNonFieldErrors(c.replyOnMailPost.errors)):t.errorService.showInternalServerError(),t.ngxLoaderService.ngxLoading=!1)}),function(f){return a.apply(this,arguments)}),error:a=>{t.errorService.showInternalServerError(a),t.ngxLoaderService.ngxLoading=!1}})})()}onSendEmailToggle(t){this.sendEmail=t.target.checked}ngOnDestroy(){this.ngUnsubscribe$.next()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(s.qu),e.Y36(R.t),e.Y36(q.UZ),e.Y36(D),e.Y36(u.sK),e.Y36(C._W),e.Y36(d.b),e.Y36(y.r),e.Y36(A.J))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-community-create-reply-drawer"]],inputs:{eyeventure:"eyeventure",mailPost:"mailPost"},outputs:{loadMailPost:"loadMailPost"},standalone:!0,features:[e.jDz],decls:24,vars:32,consts:[[1,"community-mails-drawer",3,"ngStyle"],["href","javascript:void(0)",1,"d-table","mb-4",3,"click"],[1,"sub-heading-1","mb-4"],[1,"add-safe-area-inset-bottom",3,"formGroup"],["class","form-group mb-4",4,"ngIf"],[1,"form-group","mb-4"],[1,"switch-container","d-block","my-1"],[1,"theme-v2-switch","mb-0","theme-v2-switch-sm"],["type","checkbox","hidden","",3,"change"],["type","submit",1,"btn","btn-secondary","btn-lg",3,"click"],["type","button",1,"btn","btn-lg","btn-link","btn-link-2",3,"click"],["formControlName","content","height","350",3,"init"],["class","form-text text-danger",4,"ngIf"],[1,"form-text","text-danger"],[4,"ngIf"]],template:function(t,o){1&t&&(e.TgZ(0,"div",0)(1,"a",1),e.NdJ("click",function(){return o.modalRef.hide()}),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"h2",2),e._uU(5),e.ALo(6,"translate"),e.qZA(),e.TgZ(7,"form",3),e.YNc(8,I,6,5,"div",4),e.TgZ(9,"div",5)(10,"label"),e._uU(11),e.ALo(12,"translate"),e.qZA(),e.TgZ(13,"span",6)(14,"label",7)(15,"input",8),e.NdJ("change",function(c){return o.onSendEmailToggle(c)}),e.qZA(),e._UZ(16,"span"),e.qZA()()(),e.TgZ(17,"button",9),e.NdJ("click",function(){return o.onSubmit()}),e._uU(18),e.ALo(19,"translate"),e.qZA(),e._uU(20," \xa0\xa0 "),e.TgZ(21,"button",10),e.NdJ("click",function(){return o.modalRef.hide()}),e._uU(22),e.ALo(23,"translate"),e.qZA()()()),2&t&&(e.ekj("community-mails-drawer--blp",!!o.communityBlpStyle),e.Q6J("ngStyle",o.communityBlpStyle),e.xp6(1),e.Udp("color",o.eyeventure.eyeventuretypography.highlightingColorOfFooterAndTab),e.xp6(1),e.hij(" ",e.lcZ(3,22,"BUTTONS.CLOSE"),"\n"),e.xp6(2),e.Udp("color",o.eyeventure.eyeventuretypography.backgroundColorOfFooterAndTab),e.xp6(1),e.Oqu(e.l
360cZ(6,24,"REPLY")),e.xp6(2),e.Q6J("formGroup",o.form),e.xp6(1),e.Q6J("ngIf",o.form.controls.content),e.xp6(3),e.Oqu(e.lcZ(12,26,"BUTTONS.SEND_EMAIL")),e.xp6(6),e.Udp("background-color",o.eyeventure.eyeventuretypography.backgroundColorOfFooterAndTab)("border-color",o.eyeventure.eyeventuretypography.backgroundColorOfFooterAndTab)("color",o.eyeventure.eyeventuretypography.textColorOfFooterAndTab),e.xp6(1),e.Oqu(e.lcZ(19,28,"SEND_REPLY")),e.xp6(3),e.Udp("color",o.eyeventure.eyeventuretypography.highlightingColorOfFooterAndTab),e.xp6(1),e.Oqu(e.lcZ(23,30,"BUTTONS.CANCEL")))},dependencies:[p.ez,p.O5,p.PC,h.m,s._Y,s.JJ,s.JL,s.sg,s.u,u.X$,l.Z_,l.PG],styles:[".community-mails-drawer--blp[_ngcontent-%COMP%]   .btn-primary[_ngcontent-%COMP%], .community-mails-drawer--blp[_ngcontent-%COMP%]   .btn-secondary[_ngcontent-%COMP%]{background-color:var(--community-button-bg)!important;color:var(--community-button-color)!important;border:1px solid var(--community-button-border-color)!important}.community-mails-drawer--blp[_ngcontent-%COMP%]   .btn-primary[_ngcontent-%COMP%]:hover, .community-mails-drawer--blp[_ngcontent-%COMP%]   .btn-primary[_ngcontent-%COMP%]:focus, .community-mails-drawer--blp[_ngcontent-%COMP%]   .btn-primary[_ngcontent-%COMP%]:active, .community-mails-drawer--blp[_ngcontent-%COMP%]   .btn-secondary[_ngcontent-%COMP%]:hover, .community-mails-drawer--blp[_ngcontent-%COMP%]   .btn-secondary[_ngcontent-%COMP%]:focus, .community-mails-drawer--blp[_ngcontent-%COMP%]   .btn-secondary[_ngcontent-%COMP%]:active{background-color:var(--community-button-bg)!important;color:var(--community-button-color)!important;border-color:var(--community-button-border-color)!important}.community-mails-drawer--blp[_ngcontent-%COMP%]   .btn-primary[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]   path[_ngcontent-%COMP%], .community-mails-drawer--blp[_ngcontent-%COMP%]   .btn-secondary[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]   path[_ngcontent-%COMP%]{fill:currentColor!important}"]}),n})();var Q=i(3706);let z=(()=>{class n{constructor(){this.classNames="rounded d-block mt-3"}ngOnInit(){}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-community-mail-reply"]],hostVars:2,hostBindings:function(t,o){2&t&&e.Tol(o.classNames)},inputs:{comment:"comment"},standalone:!0,features:[e.jDz],decls:6,vars:10,consts:[[1,"position-relative","p-3","p-md-4"],[1,"body-bold-small","community-post-comment-title"],[1,"comment-content",3,"innerHTML"]],template:function(t,o){1&t&&(e.TgZ(0,"div",0)(1,"p",1),e._uU(2),e.ALo(3,"translate"),e.ALo(4,"date"),e.qZA(),e._UZ(5,"div",2),e.qZA()),2&t&&(e.xp6(2),e.HOy(" ",null==o.comment.owner?null:o.comment.owner.firstName," ",null==o.comment.owner?null:o.comment.owner.lastName," ",e.lcZ(3,5,"REPLIED_ON"),": ",e.xi3(4,7,null==o.comment?null:o.comment.created,"short")," "),e.xp6(3),e.Q6J("innerHTML",null==o.comment?null:o.comment.content,e.oJD))},dependencies:[p.ez,p.uU,h.m,u.X$,Q.mr],styles:["[_nghost-%COMP%]{background-color:#f9fafb}.community-post-comment-title[_ngcontent-%COMP%]   small[_ngcontent-%COMP%]{font-weight:400}.community-news-post-comment-dropdown[_ngcontent-%COMP%]{padding:12px 0;position:absolute;right:12px;top:0}.community-news-post-comment-dropdown[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{background-color:transparent;border:0;box-shadow:none;color:#0f0f0f;display:block;outline:none;padding:0}.community-news-post-comment-dropdown[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{display:block}"]}),n})();var $=i(76784);let H=(()=>{class n extends v.AE{constructor(){super(...arguments),this.document=v.Ps`
361        query(
362            $eyeventure: Int!,
363            $first: Int,
364            $last: Int,
365            $owner: Int,
366            $showArchived: Boolean,
367            $searchedText: String,
368            $created: String,
369        ){
370            mails(
371                eyeventure: $eyeventure,
372                first: $first,
373                last: $last,
374                owner: $owner,
375                showArchived: $showArchived,
376                searchedText: $searchedText,
377                created: $created,
378            ){
379                pageInfo {
380                    hasNextPage
381                    hasPreviousPage
382                    startCursor
383                    endCursor
384                }
385                totalCount
386                edges{
387                    node{
388                        pk
389                        title
390                        content
391                        status
392                        commentsCount
393                        showNewMailTag
394                        owner{
395                            email
396                            firstName
397                            lastName
398                            username
399                        }
400                        sendTo
401                        created
402                        comments {
403                            pk
404                            content
405                            owner {
406                                pk
407                                email
408                                firstName
409                                lastName
410                                profilePicture
411                            }
412                            created
413                        }
414                    }
415                }
416            }
417        }
418    `}}return n.\u0275fac=function(){let r;return function(o){return(r||(r=e.n5z(n)))(o||n)}}(),n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),V=(()=>{class n extends v.mm{constructor(){super(...arguments),this.document=v.Ps`mutation(
419            $eyeventure: Int!
420            $ids: [ID]!
421        ){
422            makeReadMailPost(
423                eyeventure: $eyeventure,
424                ids: $ids
425            ){
426                success
427                errors
428            }
429        }
430    `}}return n.\u0275fac=function(){let r;return function(o){return(r||(r=e.n5z(n)))(o||n)}}(),n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),te=(()=>{class n extends v.AE{constructor(){super(...arguments),this.document=v.Ps`
431        query(
432            $mailId: Int!,
433        ){
434            mailReplies(
435                mailId: $mailId,
436            ){
437                pk
438                content
439                owner {
440                    pk
441                    email
442                    firstName
443                    lastName
444                    profilePicture
445                }
446                created
447            }
448        }
449    `}}return n.\u0275fac=function(){let r;return function(o){return(r||(r=e.n5z(n)))(o||n)}}(),n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();var ne=i(40306),K=i(14503),W=i(31459),X=i(31207);function oe(n,r){if(1&n&&(e.TgZ(0,"span",10),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n){const t=e.oxw();e.Udp("background-color",t.eyeventure.eyeventuretypography.backgroundColorOfFooterAndTab)("color",t.eyeventure.eyeventuretypography.textColorOfFooterAndTab),e.xp6(1),e.Oqu(e.lcZ(2,5,"NEW_MAIL"))}}function re(n,r){if(1&n){const t=e.EpF();e.TgZ(0,"button",12),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.openReplyDrawer())}),e.O4$(),e.TgZ(1,"svg",13),e._UZ(2,"path",14),e.qZA(),e._uU(3),e.ALo(4,"translate"),e.qZA()}if(2&n){const t=e.oxw(2);e.Udp("background-color",t.isBlpPage?void 0:t.eyeventure.eyeventuretypography.highlightingColorOfFooterAndTab)("border-color",t.isBlpPage?void 0:t.eyeventure.eyeventuretypography.highlightingColorOfFooterAndTab)("color",t.isBlpPage?void 0:t.eyeventure.eyeventuretypography.textColorOfFooterAndTab),e.xp6(3),e.hij("\xa0 ",e.lcZ(4,7,"REPLY")," ")}}function ie(n,r){if(1&n){const t=e.EpF();e.TgZ(0,"button",15),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.archiveMailPost())}),e._uU(1),e.ALo(2,"translate"),e.qZA()}if(2&n){const t=e.oxw(2);e.Udp("background-color",t.isBlpPage?void 0:t.eyeventure.eyeventuretypography.backgroundColorOfFooterAndTab)("border-color",t.isBlpPage?void 0:t.eyeventure.eyeventuretypography.backgroundColorOfFooterAndTab)("color",t.isBlpPage?void 0:t.eyeventure.eyeventuretypography.textColorOfFooterAndTab),e.xp6(1),e.hij(" ",e.lcZ(2,7,"ARCHIVE_MAIL")," ")}}function ae(n,r){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,re,5,9,"button",11),e._uU(2," \xa0\xa0 "),e.YNc(3,ie,3,9,"button",9),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("ngIf",t.canReplyOnMailPost),e.xp6(2),e.Q6J("ngIf",t.canArchiveMailPost)}}function se(n,r){1&n&&e._UZ(0,"app-community-mail-reply",17),2&n&&e.Q6J("comment",r.$implicit)}function le(n,r){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,se,1,1,"app-community-mail-reply",16),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("ngForOf",t.mailReplies)}}function ce(n,r){if(1&n){const t=e.EpF();e.TgZ(0,"button",15),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();
449return e.KtG(a.loadMoreReplays())}),e._uU(1),e.ALo(2,"translate"),e.qZA()}if(2&n){const t=e.oxw();e.Udp("background-color",t.isBlpPage?void 0:t.eyeventure.eyeventuretypography.backgroundColorOfFooterAndTab)("border-color",t.isBlpPage?void 0:t.eyeventure.eyeventuretypography.backgroundColorOfFooterAndTab)("color",t.isBlpPage?void 0:t.eyeventure.eyeventuretypography.textColorOfFooterAndTab),e.xp6(1),e.hij(" ",e.lcZ(2,7,"LOAD_MORE")," ")}}const ue=["*"];let me=(()=>{class n{constructor(t,o,a,c,f,P,w,F,E,Z){this.offCanvasService=t,this.archiveMailPostGraphql=o,this.translator=a,this.toastrService=c,this.errorsService=f,this.fetchMailReplyGraphql=P,this.confirmationService=w,this.meService=F,this.eyeventureService=E,this.superAdminPermissionsService=Z,this.classNames="d-block p-4 bg-white rounded",this.isBlpPage=!1,this.loadMailPost=new e.vpe,this.archivedMailPost=new e.vpe,this.canReplyOnMailPost=!1,this.isLoadingResults=!1,this.loadMore=!1,this.mailStatus=["New","Read","Archived"]}ngOnInit(){"archived-mails"!==this.category&&(this.canArchiveMailPost=this.superAdminPermissionsService.canArchiveCommunityPost(this.meService.me??null,this.eyeventure??null)||this.eyeventureService.hasMyAccounts()),this.mailReplies=this.mailPost?.comments,this.loadMore=this.mailPost.commentsCount>2,this.canReplyOnMailPost=this.superAdminPermissionsService.canReplyOnCommunityPost(this.meService.me??null,this.eyeventure??null)||this.eyeventureService.hasMyAccounts()}openReplyDrawer(){this.offCanvasService.show(x,{eyeventure:this.eyeventure,mailPost:this.mailPost},"lg").content?.loadMailPost.subscribe(o=>{this.loadMailPost.emit(o)})}loadMoreReplays(){this.fetchMailReplyGraphql.watch({mailId:this.mailPost?.pk}).valueChanges.subscribe(t=>{t.data?.mailReplies&&(this.mailReplies=t.data?.mailReplies,this.loadMore=!1)})}archiveMailPost(){var t=this;return(0,m.Z)(function*(){!(yield t.confirmationService.confirm(t.translator.instant("CONFIRM"),`${t.translator.instant("ARE_YOU_SURE_YOU_WANT_TO_ARCHIVE_THIS_EMAI_POST")}?`))||(t.isLoadingResults=!0,t.archiveMailPostGraphql.mutate({pk:t.mailPost.pk,eyeventure:t.eyeventure.pk}).subscribe(function(){var a=(0,m.Z)(function*({data:c}){const f=c.archiveMailPost;f.success?(t.toastrService.success(yield(0,O.z)(t.translator.get("ARCHIVED_EMAIL_POST_SUCCESSFULLY")),"Success"),t.archivedMailPost.emit(t.mailPost)):t.errorsService.showToastForNonFieldErrors(t.errorsService.getNonFieldErrors(f.errors)),t.isLoadingResults=!1});return function(c){return a.apply(this,arguments)}}(),a=>{t.errorsService.showInternalServerError(a),t.isLoadingResults=!1}))})()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36($.P),e.Y36(B),e.Y36(u.sK),e.Y36(C._W),e.Y36(y.r),e.Y36(te),e.Y36(ne.Y),e.Y36(K.w),e.Y36(W.x),e.Y36(X.v))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-community-single-mail"]],hostVars:2,hostBindings:function(t,o){2&t&&e.Tol(o.classNames)},inputs:{eyeventure:"eyeventure",mailPost:"mailPost",category:"category",isBlpPage:"isBlpPage"},outputs:{loadMailPost:"loadMailPost",archivedMailPost:"archivedMailPost"},standalone:!0,features:[e.jDz],ngContentSelectors:ue,decls:18,vars:16,consts:[[1,"d-flex","align-items-start","mb-2"],[1,"body-bold","py-1","flex-grow-1","mb-0","pr-3"],["class","badge",3,"backgroundColor","color",4,"ngIf"],[1,"body-bold-small","mb-1"],[1,"mb-4","body-small"],[1,"body-bold-large","mb-2","pb-1"],[1,"body-small","mb-4",3,"innerHTML"],[4,"ngIf"],[1,"pt-4"],["type","button","class","btn btn-primary",3,"backgroundColor","borderColor","color","click",4,"ngIf"],[1,"badge"],["type","button","class","btn btn-primary d-inline-flex align-items-center",3,"backgroundColor","borderColor","color","click",4,"ngIf"],["type","button",1,"btn","btn-primary","d-inline-flex","align-items-center",3,"click"],["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M0.227196 5.19083L5.0398 1.03499C5.46106 0.671177 6.125 0.966517 6.125 1.53166V3.72061C10.5172 3.77089 14 4.65117 14 8.8136C14 10.4936 12.9177 12.158 11.7214 13.0281C11.348 13.2997 10.816 12.9589 10.9536 12.5187C12.1935 8.55353 10.3655 7.50085 6.125 7.43982V9.84375C6.125 10.4098 5.46054 10.7038 5.0398 10.3404L0.227196 6.18417C-0.0755268 5.92271 -0.
449075937 5.45264 0.227196 5.19083Z","fill","white"],["type","button",1,"btn","btn-primary",3,"click"],[3,"comment",4,"ngFor","ngForOf"],[3,"comment"]],template:function(t,o){1&t&&(e.F$t(),e.TgZ(0,"div",0)(1,"h3",1),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.YNc(4,oe,3,7,"span",2),e.qZA(),e.TgZ(5,"h4",3),e._uU(6),e.qZA(),e.TgZ(7,"p",4),e._uU(8),e.ALo(9,"date"),e.qZA(),e.TgZ(10,"h2",5),e._uU(11),e.qZA(),e._UZ(12,"p",6),e.YNc(13,ae,4,2,"div",7),e.YNc(14,le,2,1,"div",7),e.TgZ(15,"div",8),e.YNc(16,ce,3,9,"button",9),e.qZA(),e.Hsn(17)),2&t&&(e.xp6(2),e.lnq(" ",e.lcZ(3,11,"FROM")," ",null==o.mailPost||null==o.mailPost.owner?null:o.mailPost.owner.firstName," ",null==o.mailPost||null==o.mailPost.owner?null:o.mailPost.owner.lastName," "),e.xp6(2),e.Q6J("ngIf",o.mailPost.showNewMailTag),e.xp6(2),e.Oqu(null==o.mailPost||null==o.mailPost.owner?null:o.mailPost.owner.email),e.xp6(2),e.Oqu(e.xi3(9,13,null==o.mailPost?null:o.mailPost.created,"short")),e.xp6(3),e.Oqu(null==o.mailPost?null:o.mailPost.title),e.xp6(1),e.Q6J("innerHTML",null==o.mailPost?null:o.mailPost.content,e.oJD),e.xp6(1),e.Q6J("ngIf",o.canReplyOnMailPost||o.canArchiveMailPost),e.xp6(1),e.Q6J("ngIf",null==o.mailReplies?null:o.mailReplies.length),e.xp6(2),e.Q6J("ngIf",o.loadMore))},dependencies:[p.ez,p.sg,p.O5,p.uU,h.m,u.X$,z],styles:["[_nghost-%COMP%]{margin-bottom:20px}[_nghost-%COMP%]:last-child{margin-bottom:0}.badge[_ngcontent-%COMP%]{background-color:#e5e7eb;border-radius:15px;color:#111827;font-size:14px;font-weight:500;line-height:18px;margin-top:6px;padding:6px 10px}"]}),n})();var pe=i(64799),de=i(85439),ye=i(80351);const ge=function(n,r){return{eyeventure:n,searchingFrom:r}};function he(n,r){if(1&n){const t=e.EpF();e.TgZ(0,"div",5)(1,"div",12)(2,"app-lazy-scroll-select",13),e.NdJ("onUpdate",function(a){e.CHM(t);const c=e.oxw();return e.KtG(c.onChangeDestination(a))}),e.ALo(3,"castAny"),e.qZA()()()}if(2&n){const t=e.oxw();e.xp6(2),e.Q6J("listQuery",t.destinationAccountsFetchingGraphql)("extraQueryParams",e.WLB(5,ge,t.eyeventure.pk+"",t.eyeventure.depotAccount.pk+""))("control",e.lcZ(3,3,t.form.controls.iban))}}function ve(n,r){1&n&&(e.TgZ(0,"strong"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"FORM_ERRORS.REQUIRED")," "))}function fe(n,r){if(1&n&&(e.TgZ(0,"small",16),e.YNc(1,ve,3,3,"strong",17),e.qZA()),2&n){const t=e.oxw().ngIf;e.xp6(1),e.Q6J("ngIf",null==t.errors?null:t.errors.required)}}function be(n,r){if(1&n&&(e.TgZ(0,"div",5)(1,"label"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e._UZ(4,"input",14),e.YNc(5,fe,2,1,"small",15),e.qZA()),2&n){const t=r.ngIf;e.xp6(2),e.Oqu(e.lcZ(3,2,"TITLE")),e.xp6(3),e.Q6J("ngIf",t.invalid&&(t.touched||t.dirty))}}let _e=(()=>{class n{constructor(t,o,a,c,f,P,w,F,E,Z,j){this.fb=t,this.utilityService=o,this.createMailPostGraphql=a,this.sendMailPostToAdminGraphql=c,this.destinationAccountsFetchingGraphql=f,this.translator=P,this.toastr=w,this.ngxLoaderService=F,this.errorService=E,this.modalRef=Z,this.partnerBleService=j,this.ngUnsubscribe$=new _.x,this.accounts$=new _.x,this.loadMailPost=new e.vpe,this.sendEmail=!1,this.communityBlpStyle=null,this.form=this.fb.group({sendTo:this.fb.nonNullable.control("",[s.kI.required,s.kI.email]),iban:this.fb.control(""),title:this.fb.nonNullable.control("",s.kI.required),content:this.fb.nonNullable.control("",s.kI.required)}),this.tinymceInit=this.utilityService.getTinyMceDefaultConfig(),this.eyeventureAccounts$=new _.x,this.partnerBleService.partnerBlp$.pipe((0,N.q)(1)).subscribe(Ge=>{this.communityBlpStyle=(0,U.mQ)(Ge)})}ngOnInit(){var t=this;return(0,m.Z)(function*(){"send_email"!==t.mailFrom&&t.form.removeControl("sendTo")})()}onSubmit(){var t=this;return(0,m.Z)(function*(){t.form.removeControl("iban");const o=structuredClone(t.form.value);var c;o.eyeventure=t.eyeventure.pk,o.sendEmail=t.sendEmail,t.ngxLoaderService.ngxLoading=!0,("send_email"===t.mailFrom?t.createMailPostGraphql:t.sendMailPostToAdminGraphql).mutate(o).pipe((0,T.R)(t.ngUnsubscribe$)).subscribe({next:(c=(0,m.Z)(function*({data:f}){const P="send_email"===t.mailFrom?f?.createMailPost:f?.sendMailPostToAdmin;f&&P?.success?(t.toastr.success(yield(0,O.z)(t.translator.get("EMAIL_POST.CREATE.SUCCESS"))),t.ngxLoaderService.ngxLoading=!1,t.loadMailPost.emit(P?.mailPost),t.modalRef.hide()):(P?.errors?.nonFieldErrors?.length?t.errorService.showToastForNonFieldErrors(t.errorService.getNonFieldErrors(P.errors)):t.errorService.showInternalServerError(),t.ngxLoaderService.ngxLoading=!1)}),function(P){return c.apply(this,arguments)}),error:c=>{t.errorService.showInternalServerError(c),t.ngxLoaderService.ngxLoading=!1}})})()}onChangeDestination(t){console.log(t);let a=t.options[0];this.form.controls.iban.value!==a.value&&this.form.controls.iban.setValue(a.value),this.form.controls.sendTo.setValue(a.ownerEmail)}onSendEmailToggle(t){this.sendEmail=t.target.checked}ngOnDestroy(){this.ngUnsubscribe$.next()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(s.qu),e.Y36(R.t),e.Y36(G),e.Y36(Y),e.Y36(J),e.Y36(u.sK),e.Y36(C._W),e.Y36(d.b),e.Y36(y.r),e.Y36(q.UZ),e.Y36(A.J))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-community-create-mail-drawer"]],inputs:{eyeventure:"eyeventure",accounts$:"accounts$",mailFrom:"mailFrom"},outputs:{loadMailPost:"loadMailPost"},standalone:!0,features:[e.jDz],decls:30,vars:38,consts:[[1,"community-mails-drawer",3,"ngStyle"],["href","javascript:void(0)",1,"d-table","mb-4",3,"click"],[1,"sub-heading-1","mb-4"],[1,"add-safe-area-inset-bottom",3,"formGroup"],["class","form-group mb-4",4,"ngIf"],[1,"form-group","mb-4"],["formControlName","content","height","350",3,"init"],[1,"switch-container","d-block","my-1"],[1,"theme-v2-switch","mb-0","theme-v2-switch-sm"],["type","checkbox","hidden","",3,"change"],["type","submit",1,"btn","btn-secondary","btn-lg",3,"disabled","click"],["type","button",1,"btn","btn-lg","btn-link","btn-link-2",3,"click"],[1,"mb-1"],["queryName","destinationAccounts","searchField","iban","optionLabelKey","iban","optionValueKey","iban",3,"listQuery","extraQueryParams","control","onUpdate"],["type","text","formControlName","title",1,"form-control"],["class","form-text text-danger",4,"ngIf"],[1,"form-text","text-danger"],[4,"ngIf"]],template:function(t,o){1&t&&(e.TgZ(0,"div",0)(1,"a",1),e.NdJ("click",function(){return o.modalRef.hide()}),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"h2",2),e._uU(5),e.ALo(6,"translate"),e.qZA(),e.TgZ(7,"form",3),e.YNc(8,he,4,8,"div",4),e.YNc(9,be,6,4,"div",4),e.TgZ(10,"div",5)(11,"label"),e._uU(12),e.ALo(13,"translate"),e.qZA(),e._UZ(14,"editor",6),e.qZA(),e.TgZ(15,"div",5)(16,"label"),e._uU(17),e.ALo(18,"translate"),e.qZA(),e.TgZ(19,"span",7)(20,"label",8)(21,"input",9),e.NdJ("change",function(c){return o.onSendEmailToggle(c)}),e.qZA(),e._UZ(22,"span"),e.qZA()()(),e.TgZ(23,"button",10),e.NdJ("click",function(){return o.onSubmit()}),e._uU(24),e.ALo(25,"translate"),e.qZA(),e._uU(26," \xa0\xa0 "),e.TgZ(27,"button",11),e.NdJ("click",function(){return o.modalRef.hide()}),e._uU(28),e.ALo(29,"translate"),e.qZA()()()),2&t&&(e.ekj("community-mails-drawer--blp",!!o.communityBlpStyle),e.Q6J("ngStyle",o.communityBlpStyle),e.xp6(1),e.Udp("color",o.eyeventure.eyeventuretypography.highlightingColorOfFooterAndTab),e.xp6(1),e.hij(" ",e.lcZ(3,26,"BUTTONS.CLOSE"),"\n"),e.xp6(2),e.Udp("color",o.eyeventure.eyeventuretypography.backgroundColorOfFooterAndTab),e.xp6(1),e.Oqu(e.l
449cZ(6,28,"SEND_A_MAIL")),e.xp6(2),e.Q6J("formGroup",o.form),e.xp6(1),e.Q6J("ngIf","send_email"===o.mailFrom&&o.form.controls.sendTo),e.xp6(1),e.Q6J("ngIf",o.form.controls.title),e.xp6(3),e.Oqu(e.lcZ(13,30,"MESSAGE")),e.xp6(2),e.Q6J("init",o.tinymceInit),e.xp6(3),e.Oqu(e.lcZ(18,32,"BUTTONS.SEND_EMAIL")),e.xp6(6),e.Udp("background-color",o.eyeventure.eyeventuretypography.backgroundColorOfFooterAndTab)("border-color",o.eyeventure.eyeventuretypography.backgroundColorOfFooterAndTab)("color",o.eyeventure.eyeventuretypography.textColorOfFooterAndTab),e.Q6J("disabled",o.form.invalid),e.xp6(1),e.Oqu(e.lcZ(25,34,"BUTTONS.SEND_EMAIL")),e.xp6(3),e.Udp("color",o.eyeventure.eyeventuretypography.highlightingColorOfFooterAndTab),e.xp6(1),e.Oqu(e.lcZ(29,36,"BUTTONS.CANCEL")))},dependencies:[p.ez,p.O5,p.PC,h.m,s._Y,s.Fj,s.JJ,s.JL,s.sg,s.u,u.X$,ye.U,l.Z_,l.PG,de.p],styles:[".community-mails-drawer--blp[_ngcontent-%COMP%]   .btn-primary[_ngcontent-%COMP%], .community-mails-drawer--blp[_ngcontent-%COMP%]   .btn-secondary[_ngcontent-%COMP%]{background-color:var(--community-button-bg)!important;color:var(--community-button-color)!important;border:1px solid var(--community-button-border-color)!important}.community-mails-drawer--blp[_ngcontent-%COMP%]   .btn-primary[_ngcontent-%COMP%]:hover, .community-mails-drawer--blp[_ngcontent-%COMP%]   .btn-primary[_ngcontent-%COMP%]:focus, .community-mails-drawer--blp[_ngcontent-%COMP%]   .btn-primary[_ngcontent-%COMP%]:active, .community-mails-drawer--blp[_ngcontent-%COMP%]   .btn-secondary[_ngcontent-%COMP%]:hover, .community-mails-drawer--blp[_ngcontent-%COMP%]   .btn-secondary[_ngcontent-%COMP%]:focus, .community-mails-drawer--blp[_ngcontent-%COMP%]   .btn-secondary[_ngcontent-%COMP%]:active{background-color:var(--community-button-bg)!important;color:var(--community-button-color)!important;border-color:var(--community-button-border-color)!important}.community-mails-drawer--blp[_ngcontent-%COMP%]   .btn-primary[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]   path[_ngcontent-%COMP%], .community-mails-drawer--blp[_ngcontent-%COMP%]   .btn-secondary[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]   path[_ngcontent-%COMP%]{fill:currentColor!important}"]}),n})();var Ce=i(54121),Pe=i(42147),Me=i(98168),Ae=i(27969),Te=i(32269),ee=i(15472),Oe=i(37868);function Se(n,r){1&n&&(e.TgZ(0,"p"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"COMMUNITY.VISITOR.ALERT.MESSAGE.FOR_MY_MAIL_SECTION")))}function xe(n,r){if(1&n){const t=e.EpF();e.TgZ(0,"button",17),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.openSendMailDrawer("send_email"))}),e.O4$(),e.TgZ(1,"svg",18),e._UZ(2,"path",19),e.qZA(),e._uU(3),e.ALo(4,"translate"),e.qZA()}if(2&n){const t=e.oxw(2);e.Udp("background-color",t.isBlpPage?void 0:t.eyeventure.eyeventuretypography.highlightingColorOfFooterAndTab)("border-color",t.isBlpPage?void 0:t.eyeventure.eyeventuretypography.highlightingColorOfFooterAndTab)("color",t.isBlpPage?void 0:t.eyeventure.eyeventuretypography.textColorOfFooterAndTab),e.xp6(3),e.hij("\xa0 ",e.lcZ(4,7,"SEND_A_MAIL")," ")}}function we(n,r){if(1&n){const t=e.EpF();e.TgZ(0,"button",20),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.openSendMailDrawer("send_email_to_admin"))}),e.O4$(),e.TgZ(1,"svg",18),e._UZ(2,"path",19),e.qZA(),e._uU(3),e.ALo(4,"translate"),e.qZA()}if(2&n){const t=e.oxw(2);e.Udp("background-color",t.isBlpPage?void 0:t.eyeventure.eyeventuretypography.backgroundColorOfFooterAndTab)("border-color",t.isBlpPage?void 0:t.eyeventure.eyeventuretypography.backgroundColorOfFooterAndTab)("color",t.isBlpPage?void 0:t.eyeventure.eyeventuretypography.textColorOfFooterAndTab),e.xp6(3),e.hij("\xa0 ",e.lcZ(4,7,"SEND_A_MAIL_TO_ADMIN")," ")}}function Fe(n,r){if(1&n&&(e.TgZ(0,"option",21),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n){const t=r.$implicit;e.Q6J("value",null==t.queryParams?null:t.queryParams.category),e.xp6(1),e.hij(" ",e.lcZ(2,2,t.title)," ")}}function Ee(n,r){if(1&n){const t=e.EpF();e.TgZ(0,"app-community-content-layout",3),e.ynx(1,4),e.TgZ(2,"div",5)(3,"div",6),e.YNc(4,xe,5,9,"button",7),e.YNc(5,we,5,9,"button",8),e.qZA(),e.TgZ(6,"div",9)(7,"div",10)(8,"label"),e._uU(9),e.ALo(10,"translate"),e.qZA(),e.TgZ(11,"select",11),e.YNc(12,Fe,3,4,"option",12),e.qZA()()(),e.TgZ(13,"div",13)(14,"button",14),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.showSearchOnMobile=!0)}),e.O4$(),e.TgZ(15,"svg",15),e._UZ(16,"path",16),e.qZA(),e._uU(17),e.ALo(18,"translate"),e.qZA()()(),e.BQk(),e.qZA()}if(2&n){const t=e.oxw();e.xp6(4),e.Q6J("ngIf",t.canCreateMailPost),e.xp6(1),e.Q6J("ngIf",t.canSendM
449ailToAdmin),e.xp6(4),e.Oqu(e.lcZ(10,12,"SHOW_DOCUMENT_TYPE")),e.xp6(2),e.Q6J("formControl",t.categoryControl),e.xp6(1),e.Q6J("ngForOf",t.menus),e.xp6(2),e.Udp("background-color",t.isBlpPage?void 0:t.eyeventure.eyeventuretypography.backgroundColorOfFooterAndTab)("border-color",t.isBlpPage?void 0:t.eyeventure.eyeventuretypography.backgroundColorOfFooterAndTab)("color",t.isBlpPage?void 0:t.eyeventure.eyeventuretypography.textColorOfFooterAndTab),e.xp6(3),e.hij("\xa0 ",e.lcZ(18,14,"SEARCH")," ")}}function Ze(n,r){if(1&n){const t=e.EpF();e.TgZ(0,"button",28),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.openSendMailDrawer("send_email"))}),e.O4$(),e.TgZ(1,"svg",18),e._UZ(2,"path",19),e.qZA(),e._uU(3),e.ALo(4,"translate"),e.qZA()}if(2&n){const t=e.oxw(2);e.Udp("background-color",t.isBlpPage?void 0:t.eyeventure.eyeventuretypography.highlightingColorOfFooterAndTab)("border-color",t.isBlpPage?void 0:t.eyeventure.eyeventuretypography.highlightingColorOfFooterAndTab)("color",t.isBlpPage?void 0:t.eyeventure.eyeventuretypography.textColorOfFooterAndTab),e.xp6(3),e.hij("\xa0 ",e.lcZ(4,7,"SEND_A_MAIL")," ")}}function Ie(n,r){if(1&n){const t=e.EpF();e.TgZ(0,"button",28),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.openSendMailDrawer("send_email_to_admin"))}),e.O4$(),e.TgZ(1,"svg",18),e._UZ(2,"path",19),e.qZA(),e._uU(3),e.ALo(4,"translate"),e.qZA()}if(2&n){const t=e.oxw(2);e.Udp("background-color",t.isBlpPage?void 0:t.eyeventure.eyeventuretypography.highlightingColorOfFooterAndTab)("border-color",t.isBlpPage?void 0:t.eyeventure.eyeventuretypography.highlightingColorOfFooterAndTab)("color",t.isBlpPage?void 0:t.eyeventure.eyeventuretypography.textColorOfFooterAndTab),e.xp6(3),e.hij("\xa0 ",e.lcZ(4,7,"SEND_A_MAIL_TO_ADMIN")," ")}}function ke(n,r){if(1&n){const t=e.EpF();e.TgZ(0,"app-community-single-mail",29),e.NdJ("loadMailPost",function(a){e.CHM(t);const c=e.oxw(2);return e.KtG(c.setNewComments(a))})("archivedMailPost",function(a){e.CHM(t);const c=e.oxw(2);return e.KtG(c.archivedMailPost(a))}),e.qZA()}if(2&n){const t=r.$implicit,o=e.oxw(2);e.Q6J("eyeventure",o.eyeventure)("mailPost",t)("category",o.category)("isBlpPage",o.isBlpPage)}}function Ne(n,r){1&n&&e._UZ(0,"app-mat-spinner")}function Le(n,r){1&n&&(e.TgZ(0,"p"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&n&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"THERE_IS_NO_EMAIL_TO_SHOW")))}function Ue(n,r){if(1&n&&(e.ynx(0),e.YNc(1,Le,3,3,"p",1),e.BQk()),2&n){const t=r.ngIf;e.xp6(1),e.Q6J("ngIf",0===(null==t?null:t.length))}}function Re(n,r){if(1&n){const t=e.EpF();e.TgZ(0,"div",30)(1,"button",31),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);
449return e.KtG(a.loadMore())}),e._uU(2),e.ALo(3,"translate"),e.qZA()()}if(2&n){const t=e.oxw(2);e.xp6(1),e.Udp("background-color",t.isBlpPage?void 0:t.eyeventure.eyeventuretypography.highlightingColorOfFooterAndTab)("border-color",t.isBlpPage?void 0:t.eyeventure.eyeventuretypography.highlightingColorOfFooterAndTab)("color",t.isBlpPage?void 0:t.eyeventure.eyeventuretypography.textColorOfFooterAndTab),e.xp6(1),e.Oqu(e.lcZ(3,7,"LOAD_MORE"))}}function qe(n,r){if(1&n){const t=e.EpF();e.TgZ(0,"app-community-content-layout"),e.ynx(1,4),e.TgZ(2,"app-community-nav",22),e.YNc(3,Ze,5,9,"button",23),e.YNc(4,Ie,5,9,"button",23),e.qZA(),e.YNc(5,ke,1,4,"app-community-single-mail",24),e.ALo(6,"async"),e.YNc(7,Ne,1,0,"app-mat-spinner",1),e.YNc(8,Ue,2,1,"ng-container",1),e.ALo(9,"async"),e.YNc(10,Re,4,9,"div",25),e.BQk(),e.ynx(11,26),e.TgZ(12,"app-community-search",27),e.NdJ("closeSearch",function(){e.CHM(t);const a=e.oxw();return e.KtG(a.showSearchOnMobile=!1)}),e.qZA(),e.BQk(),e.qZA()}if(2&n){const t=e.oxw();e.xp6(2),e.Q6J("menus",t.menus)("eyeventure",t.eyeventure)("isInnerNav",!0),e.xp6(1),e.Q6J("ngIf",t.canCreateMailPost),e.xp6(1),e.Q6J("ngIf",t.canSendMailToAdmin),e.xp6(1),e.Q6J("ngForOf",e.lcZ(6,18,t.mailPosts$)),e.xp6(2),e.Q6J("ngIf",t.isLoadingResults),e.xp6(1),e.Q6J("ngIf",e.lcZ(9,20,t.mailPosts$)),e.xp6(2),e.Q6J("ngIf",t.hasMore),e.xp6(2),e.ekj("d-none",!t.showSearchOnMobile)("d-block",t.showSearchOnMobile),e.Q6J("isBlpPage",t.isBlpPage)("eyeventure",t.eyeventure)("showDateRange",!0)("showDocumentType",!1)("showUploadedSince",!1)}}let $e=(()=>{class n{constructor(t,o,a,c,f,P,w,F,E,Z){this.eyeventureService=t,this.accountService=o,this.meService=a,this.offCanvasService=c,this.route=f,this.router=P,this.mailPostsFetchingGraphql=w,this.makeReadMailPostGraphql=F,this.superAdminPermissionsService=E,this.partnerBleService=Z,this.ngUnsubscribe$=new _.x,this.isBlpPage=!1,this.me=this.meService.me,this.eyeventure=this.eyeventureService.eyeventure,this.mailSendFrom="'eyeventure_user' | 'comment' | 'account_holder'",this.canCreateMailPost=!1,this.canSendMailToAdmin=!1,this.isLoadingResults=!1,this.variables={eyeventure:this.eyeventure.pk},this.page=1,this.perPage=5,this.hasMore=!1,this.newMailIds=[],this.mailsRoot=["/community",this.eyeventure.ctId,"mails"],this.menus=[{title:"ALL_MAILS",route:[...this.mailsRoot],queryParams:{category:"all-mails"}},{title:"MY_MAILS",route:[...this.mailsRoot],queryParams:{category:"my-mails"}},{title:"ARCHIVED_MAILS",route:[...this.mailsRoot],queryParams:{category:"archived-mails"}}],this.items=Array.from(Array(5)),this.showSearchOnMobile=!1,this.categoryControl=new s.NI(this.route.snapshot.queryParams.category||"all-mails"),this._mailPostsQuery=this.mailPostsFetchingGraphql.watch({eyeventure:this.eyeventure.pk}),this.mailPosts$=new Ce.X([]),this.partnerBleService.partnerBlp$.pipe((0,N.q)(1)).subscribe(j=>{this.isBlpPage=!!j})}get canManageVentureManagement(){return this.superAdminPermissionsService.canManageVentureManagement(this.meService.me,this.eyeventure)}ngOnInit(){var t=this;return(0,m.Z)(function*(){yield t.eyeventureService.myEyeventureAccounts$.pipe((0,T.R)(t.ngUnsubscribe$)).subscribe(function(){var o=(0,m.Z)(function*(a){t.canManageVentureManagement||t.meService.isSuperUser()||!(a.length<=0)||t.eyeventure.isEyeventureUser?(t.setPermission(),t.categoryControl.valueChanges.pipe((0,Pe.x)(),(0,T.R)(t.ngUnsubscribe$)).subscribe(c=>{c!==t.route.snapshot.queryParams?.category&&("all"===c&&!t.route.snapshot.queryParams?.category||t.router.navigate(["."],{relativeTo:t.route,queryParams:{category:c},queryParamsHandling:"merge"}))}),yield t.setQueryParams(),yield t.loadMailPost()):t.showAlertToVisitor=!0});return function(a){return o.apply(this,arguments)}}())})()}setPermission(){this.canManageVentureManagement||this.eyeventure.isEyeventureUser&&this.eyeventure.permissions.can_access_community?this.canCreateMailPost=!0:this.eyeventureService.myEyeventureAccounts$.pipe((0,T.R)(this.ngUnsubscribe$)).subscribe(t=>{t?.length>0&&(this.canSendMailToAdmin=!0)})}setQueryParams(){var t=this;return(0,m.Z)(function*(){t.route.queryParams.pipe((0,T.R)(t.ngUnsubscribe$)).subscribe(o=>{let a;t.categoryControl.setValue(o.category?o.category:"all-mails"),t.category=o.category,t.variables.owner="my-mails"===o.category?t.me?.pk:null,t.variables.showArchived="archived-mails"===o.category||null,t.variables.searchedText=o.search||null,o.from&&o.until&&(a=`${o.from.split("-").reverse().join("-")},${o.until.split("-").reverse().join("-")}`),t.variables.created=a||null,t.page=1,t.mailPosts$.next([]),t.updateNewsQueryVariables()})})()}loadMailPost(){var t=this;return(0,m.Z)(function*(){t.isLoadingResults=!0,t._mailPostsQuery.valueChanges.pipe((0,Me.b)(({data:o})=>t.hasMore=o.mails.pageInfo.hasNextPage),(0,Ae.U)(o=>o.data?.mails?.edges.map(({node:a})=>a).filter(a=>!t.mailPosts$.value.find(({pk:c})=>c===a.pk))),(0,T.R)(t.ngUnsubscribe$)).subscribe(o=>{t.isLoadingResults=!1,t.mailPosts$.next([...t.mailPosts$.value,...o]),"all-mails"==t.category&&(o.filter(a=>!0===a.showNewMailTag).map(a=>t.newMailIds.push(parseInt(a.pk))),t.newMailIds.length>0&&t.makeEmailPostRead())})})()}loadMore(){this.page++,this.updateNewsQueryVariables()}updateNewsQueryVariables(){this.variables={...this.variables,first:this.page*this.perPage,last:this.perPage},this._mailPostsQuery.resetLastResults(),this._mailPostsQuery.setVariables(this.variables),this._mailPostsQuery.refetch()}openSendMailDrawer(t){this.offCanvasService.show(_e,{eyeventure:this.eyeventure,mailFrom:t},"lg").content?.loadMailPost.subscribe(a=>{this.mailPosts$.next([a,...this.mailPosts$.value])})}setNewComments(t){this.mailPosts$.next(this.mailPosts$.value.map(o=>(o.pk===t.pk&&(o=t),o)))}archivedMailPost(t){this.mailPosts$.next(this.mailPosts$.value.filter(o=>o.pk!==t.pk))}makeEmailPostRead(){this.makeReadMailPostGraphql.mutate({eyeventure:this.eyeventure.pk,ids:this.newMailIds}).pipe((0,T.R)(this.ngUnsubscribe$)).subscribe({next:({})=>{this.newMailIds=[]},error:t=>{this.newMailIds=[]}})}ngOnDestroy(){this.ngUnsubscribe$.next(),this.ngUnsubscribe$.complete()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(W.x),e.Y36(Te.B),e.Y36(K.w),e.Y36($.P),e.Y36(ee.gz),e.Y36(ee.F0),e.Y36(H),e.Y36(V),e.Y36(X.v),e.Y36(A.J))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-community-mails"]],hostVars:2,hostBindings:function(t,o){2&t&&e.ekj("c
449ommunity-mails--blp",o.isBlpPage)},standalone:!0,features:[e.jDz],decls:6,vars:6,consts:[[1,"heading-2","mb-3","pb-2"],[4,"ngIf"],["class","d-flex d-lg-none",4,"ngIf"],[1,"d-flex","d-lg-none"],["communityContentLeft",""],[1,"row","d-flex","d-xl-none","align-items-end"],[1,"col-12","pb-3"],["type","button","class","btn btn-primary d-inline-flex align-items-center",3,"backgroundColor","borderColor","color","click",4,"ngIf"],["class","btn btn-primary d-inline-flex align-items-center ml-2",3,"backgroundColor","borderColor","color","click",4,"ngIf"],[1,"col-12","col-md-5","mb-3"],[1,"form-group","mb-0"],[1,"form-control","py-8",3,"formControl"],[3,"value",4,"ngFor","ngForOf"],[1,"col-12","col-md-7","text-left","text-md-right","mb-3"],["type","button",1,"btn","btn-primary","d-inline-flex","align-items-center","ml-2",3,"click"],["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M13.8086 12.1051L11.0824 9.37891C10.9594 9.25586 10.7926 9.1875 10.6176 9.1875H10.1719C10.9266 8.22227 11.375 7.0082 11.375 5.6875C11.375 2.5457 8.8293 0 5.6875 0C2.5457 0 0 2.5457 0 5.6875C0 8.8293 2.5457 11.375 5.6875 11.375C7.0082 11.375 8.22227 10.9266 9.1875 10.1719V10.6176C9.1875 10.7926 9.25586 10.9594 9.37891 11.0824L12.1051 13.8086C12.3621 14.0656 12.7777 14.0656 13.032 13.8086L13.8059 13.0348C14.0629 12.7777 14.0629 12.3621 13.8086 12.1051ZM5.6875 9.1875C3.7543 9.1875 2.1875 7.62344 2.1875 5.6875C2.1875 3.7543 3.75156 2.1875 5.6875 2.1875C7.6207 2.1875 9.1875 3.75156 9.1875 5.6875C9.1875 7.6207 7.62344 9.1875 5.6875 9.1875Z","fill","white"],["type","button",1,"btn","btn-primary","d-inline-flex","align-items-center",3,"click"],["width","14","height","15","viewBox","0 0 14 15","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M13.0154 0.0873637L0.341522 7.39908C-0.1534 7.68346 -0.0905093 8.37252 0.401678 8.58033L3.30832 9.79986L11.1642 2.87643C11.3146 2.74244 11.5279 2.94752 11.3993 3.10338L4.81222 11.1288V13.3299C4.81222 13.9753 5.59152 14.2296 5.97433 13.762L7.71066 11.6483L11.1177 13.0756C11.506 13.2397 11.9489 12.9963 12.02 12.578L13.9888 0.765489C14.0818 0.213145 13.4884 -0.186074 13.0154 0.0873637Z","fill","white"],[1,"btn","btn-primary","d-inline-flex","align-items-center","ml-2",3,"click"],[3,"value"],[1,"d-none","d-lg-block",3,"menus","eyeventure","isInnerNav"],["type","button","class","btn btn-primary d-inline-flex align-items-center community-nav-btn",3,"backgroundColor","borderColor","color","click",4,"ngIf"],[3,"eyeventure","mailPost","category","isBlpPage","loadMailPost","archivedMailPost",4,"ngFor","ngForOf"],["class","pt-3 text-center",4,"ngIf"],["communityContentRight",""],[1,"d-lg-block","pt-3","pt-lg-0",3,"isBlpPage","eyeventure","showDateRange","showDocumentType","showUploadedSince","closeSearch"],["type","button",1,"btn","btn-primary","d-inline-flex","align-items-center","community-nav-btn",3,"click"],[3,"eyeventure","mailPost","category","isBlpPage","loadMailPost","archivedMailPost"],[1,"pt-3","text-center"],[1,"btn","btn-secondary",3,"click"]],template:function(t,o){1&t&&(e.TgZ(0,"h2",0),e._uU(1),e.ALo(2,"translate"),e.qZA(),e.YNc(3,Se,3,3,"p",1),e.YNc(4,Ee,19,16,"app-community-content-layout",2),e.YNc(5,qe,13,22,"app-community-content-layout",1)),2&t&&(e.xp6(1),e.Oqu(e.lcZ(2,4,"MY_MAIL")),e.xp6(2),e.Q6J("ngIf",o.showAlertToVisitor),e.xp6(1),e.Q6J("ngIf",!o.showAlertToVisitor),e.xp6(1),e.Q6J("ngIf",!o.showAlertToVisitor))},dependencies:[p.ez,p.sg,p.O5,p.Ov,h.m,s.YN,s.Kr,s.EJ,s.JJ,s.oH,Oe.Q,u.X$,g.L,b.B,me,pe.Y],styles:[".community-mails--blp[_nghost-%COMP%]     .btn-primary, .community-mails--blp[_nghost-%COMP%]     .btn-secondary{background-color:var(--community-button-bg)!important;color:var(--community-button-color)!important;border:1px solid var(--community-button-border-color)!important}.community-mails--blp[_nghost-%COMP%]     .btn-primary:hover, .community-mails--blp[_nghost-%COMP%]     .btn-primary:focus, .community-mails--blp[_nghost-%COMP%]     .btn-primary:active, .community-mails--blp[_nghost-%COMP%]     .btn-secondary:hover, .community-mails--blp[_nghost-%COMP%]     .btn-secondary:focus, .community-mails--blp[_nghost-%COMP%]     .btn-secondary:active{background-color:var(--community-button-bg)!important;color:var(--community-button-color)!important;border-color:var(--community-button-border-color)!important}.community-mails--blp[_nghost-%COMP%]     .btn-primary svg path, .community-mails--blp[_nghost-%COMP%]     .btn-secondary svg path{f
449ill:currentColor!important}.community-mails--blp[_nghost-%COMP%]     app-community-nav .btn-primary, .community-mails--blp[_nghost-%COMP%]     app-community-nav .btn-secondary{background-color:var(--community-button-bg)!important;color:var(--community-button-color)!important;border:1px solid var(--community-button-border-color)!important}.community-mails--blp[_nghost-%COMP%]     app-community-nav .community-nav-btn{border-color:var(--community-button-bg)!important}"]}),n})()},45485:(k,M,i)=>{i.d(M,{v:()=>h});var m=i(98046),p=i(64537);let h=(()=>{class g extends m.mm{constructor(){super(...arguments),this.document=m.Ps`mutation(
450        $pk: ID!,
451        $message: String
452      ){
453        requestForEyeventureAccount(
454          pk:$pk,
455          message:$message
456        ){
457          success
458          errors
459        }
460    }`}}return g.\u0275fac=function(){let b;return function(l){return(b||(b=p.n5z(g)))(l||g)}}(),g.\u0275prov=p.Yz7({token:g,factory:g.\u0275fac,providedIn:"any"}),g})()},76784:(k,M,i)=>{i.d(M,{P:()=>h});var m=i(64537),p=i(75728);let h=(()=>{class g{constructor(e){this.modalService=e}show(e,l,s="md"){return this.modalService.show(e,{class:`off-canvas theme-v2 off-canvas-${s}`,ignoreBackdropClick:!0,animated:!0,initialState:l})}}return g.\u0275fac=function(e){return new(e||g)(m.LFG(p.tT))},g.\u0275prov=m.Yz7({token:g,factory:g.\u0275fac,providedIn:"root"}),g})()},36520:(k,M,i)=>{function m(e){if(!e)return null;const l=e.primaryColor,s=e?.textColorTwo||"#FFFFFF";return{"--dashboard-heading-color":l,"--dashboard-tab-active-bg":l,"--dashboard-tab-active-color":s,"--dashboard-tab-inactive-bg":s,"--dashboard-tab-inactive-color":l,"--dashboard-tab-border-color":l,"--dashboard-tab-active-badge-bg":s,"--dashboard-tab-active-badge-color":l,"--dashboard-tab-inactive-badge-bg":l,"--dashboard-tab-inactive-badge-color":s}}function p(e){return e?.primaryColor&&e?.secondaryColor?{"--running-eco-banner-bg":e.primaryColor,"--running-eco-banner-color":e.textColorTwo||"#FFFFFF","--running-eco-banner-dot-color":e.primaryColor}:null}function h(e){const l=m(e);if(!l||!e?.primaryColor)return null;const s=e.textColorTwo||"#FFFFFF",_="#999999";return{...l,"--community-nav-bg":e.primaryColor,"--community-nav-color":s,"--community-nav-active-indicator-bg":s,"--community-button-bg":s,"--community-button-color":e.primaryColor,"--community-button-border-color":_,"--community-search-bg":s,"--community-search-border-color":e.primaryColor,"--community-search-text-color":e.primaryColor,"--community-search-input-border-color":e.primaryColor,"--community-search-input-placeholder-color":e.primaryColor,"--community-search-button-color":e.primaryColor,"--community-search-button-border-color":_}}function g(e){const l=m(e);if(!l||!e?.primaryColor)return null;const s=e.textColorTwo||"#FFFFFF",_="#999999";return{...l,"--notification-center-nav-bg":e.primaryColor,"--notification-center-nav-color":s,"--notification-center-nav-active-indicator-bg":s,"--notification-center-button-bg":s,"--notification-center-button-color":e.primaryColor,"--notification-center-button-border-color":_,"--notification-center-search-bg":s,"--notification-center-search-border-color":e.primaryColor,"--notification-center-search-text-color":e.primaryColor,"--notification-center-search-input-border-color":e.primaryColor,"--notification-center-search-input-placeholder-color":e.primaryColor,"--notification-center-search-button-color":e.primaryColor,"--notification-center-search-button-border-color":_}}function b(e){const l=m(e);if(!l||!e?.primaryColor)return null;const s=e.textColorTwo||"#FFFFFF";return{...l,"--user-profile-heading-color":e.primaryColor,"--user-profile-header-fallback-bg":e.primaryColor,"--user-profile-button-bg":e.primaryColor,"--user-profile-button-color":s,"--user-profile-social-active-bg":e.primaryColor}}i.d(M,{Gf:()=>p,Nf:()=>b,Ng:()=>m,mQ:()=>h,sF:()=>g})},80351:(k,M,i)=>{i.d(M,{U:()=>p});var m=i(64537);let p=(()=>{class h{transform(b){return b}}return h.\u0275fac=function(b){return new(b||h)},h.\u0275pipe=m.Yjl({name:"castAny",type:h,pure:!0}),h})()}}]);

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.