PageSourceSearch

https://connect.icpmnetwork.com/9290.420f8c7c8b4639fa.js

js icpmnetwork.com collected 2026-10-03 19:47:23 UTC 10,895 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkVeryConnect=self.webpackChunkVeryConnect||[]).push([[9290],{80801:(W,D,e)=>{e.d(D,{h:()=>B});var t=e(5296),m=e(23055),h=e(25336),M=e(9004),c=e(6281),C=e(3811),s=e(50725),g=e(60407),y=e(72313),u=e(14026),U=e(29180),v=e(75143),A=e(40226),l=e(58746),E=e(47528);let B=(()=>{class P{constructor(i,p,a,r,d){this.grpCfg=i,this.userSvc=p,this.grpSvc=a,this.showSvc=r,this.uRes=d}getCustomFields(i){return this.grpCfg.latest("customFields").pipe((0,C.w)(p=>this.userSvc.latest().pipe((0,C.w)(a=>{const r=(0,m.Z)(p);return a.isLoggedIn?this.grpSvc.filterPerGroupFields(p.fields,i).pipe((0,s.U)(d=>{const L=a.isAdmin||i.isGroupAdmin(a.user);return r.fields=L?d:d.filter(O=>!["custom.last_contact","custom.contact_list_updated","custom.commitment_to_renew"].includes(O.path)),r})):(r.fields=[],(0,h.of)(r))}))),(0,t.H)("[GroupDisplayService.getCustomFields]"))}groupPicture(i){return i?.local_picture_url||y.yX}show(i,p,a,r){if(void 0===a||void 0===r){const d=a?(0,h.of)(a):this.userSvc.resourcefulStore.pipe((0,g.q)(1),(0,s.U)(O=>O.user)),L=r?(0,h.of)(r):this.grpCfg.latest();return(0,M.D)([d,L]).pipe((0,s.U)(([O,S])=>this.showSync(i,p,O,S)))}return this.showSync(i,p,a,r)}showByGroup(i,p,a,r){return void 0===a||void 0===r?(0,c.a)([this.userSvc.resourcefulStore,this.grpCfg.store]).pipe((0,s.U)(d=>this.showByGroup(i,p,d[0].user||this.uRes.instantiate({}),d[1])),(0,t.H)(`[GroupDisplayService.showByGroup(${i})]`)):this.show(i,p,a,r)}showDeleteGroupButton(i){return this.grpSvc.validateLimitActionByRole(i,"deleteGroup")}showSync(i,p,a,r){return!!("membership"!==i||r.billing.enable&&r.billing.showIfSubscriptionActive)&&this.showSvc.shouldShow(r.detailsTab[i].show,a,p)}}return P.\u0275fac=function(i){return new(i||P)(u.LFG(U.o),u.LFG(v.KD),u.LFG(A.l),u.LFG(l.l),u.LFG(E.q))},P.\u0275prov=u.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"}),P})()},49227:(W,D,e)=>{e.d(D,{d:()=>M});var t=e(14026),m=e(72313),h=e(54074);let M=(()=>{class c{constructor(){var s;this.loading="lazy",this.anonGroupImg=(0,t.f3M)(m.o9),this.cdr=(0,t.f3M)(t.sBO),this.src=this.anonGroupImg,(s=c.prototype).alt??(s.alt=(0,t.f3M)(h.D).translate("groupProfilePicture","group"))}ngOnChanges(){this.src=this.localGroupSrc||this.anonGroupImg}onError(){this.src=this.anonGroupImg,this.cdr.markForCheck()}}return c.\u0275fac=function(s){return new(s||c)},c.\u0275dir=t.lG2({type:c,selectors:[["img","tg-group-profile-picture",""]],hostVars:3,hostBindings:function(s,g){1&s&&t.NdJ("error.passive",function(){return g.onError()}),2&s&&(t.Ikx("loading",g.loading),t.uIk("alt",g.alt)("src",g.src,t.LSH))},inputs:{alt:"alt",loading:"loading",localGroupSrc:["tg-group-profile-picture","localGroupSrc"]},standalone:!0,features:[t.TTD]}),c})()},16516:(W,D,e)=>{e.d(D,{_:()=>I});var t=e(14026),m=e(15791),h=e(74831),M=e(15859),c=e(97482),C=e(56788),s=e(83375),g=e(79662),y=e(72313),u=e(25275),U=e(90237),v=e(94953),A=e(95612),l=e(46477),E=e(34998),B=e(41157),P=e(61322),R=e(78611),i=e(64177),p=e(85868),a=e(5830),r=e(64683);const d=function(n,_){return[n,_]};function L(n,_){if(1&n){const o=t.EpF();t.TgZ(0,"img",12,13),t.NdJ("click.passive",function(){const z=t.CHM(o).$implicit,Z=t.oxw(2);return t.KtG(Z.onSourceClick(z))}),t.qZA()}if(2&n){const o=_.$implicit,f=t.MAs(1),T=t.oxw(2);t.ekj("d-none",f.busy||!f.src||f.src===T.anon),t.Q6J("placement","bottom")("container","body")("tooltip",o.label)("alt",o.label)("tgFallbackImage",t.WLB(7,d,o.url,T.anon))}}function O(n,_){1&n&&(t.TgZ(0,"div",14),t._UZ(1,"i",10),t.qZA())}function S(n,_){if(1&n&&(t.TgZ(0,"div",5),t.YNc(1,L,2,10,"img",6),t.TgZ(2,"tg-upload-drop-outlet",7),t.ALo(3,"tr"),t.YNc(4,O,2,0,"div",8),t.TgZ(5,"div",9),t._UZ(6,"i",10),t.qZA()()(),t._UZ(7,"input",11)),2&n){const o=t.oxw();
1t.xp6(1),t.Q6J("ngForOf",o.sources)("ngForTrackBy",o.trackByTy),t.xp6(1),t.Q6J("tooltip",t.lcZ(3,5,"uploadNew"))("placement","bottom")("container","body")}}function K(n,_){if(1&n&&(t.TgZ(0,"div",15),t._UZ(1,"i",16),t.TgZ(2,"span"),t._uU(3),t.qZA()(),t.Hsn(4)),2&n){const o=t.oxw();t.xp6(3),t.Oqu(o.pictureLabel)}}function G(n,_){1&n&&t._UZ(0,"tg-loader-spinner",17)}const x={aspectRatio:1,backgroundColor:"white",enableRotation:!0,onlyScaleDown:!0,resizeToHeight:4096,resizeToWidth:4096};let I=(()=>{class n{constructor(){this.anon=(0,t.f3M)(y.sG),this.busy=!1,this.cropperConfig=x,this.sourceClick=new t.vpe,this.uploaded=new t.vpe,this.cdr=(0,t.f3M)(t.sBO),this.el=(0,t.f3M)(t.SBq).nativeElement}set cssHeight(o){this.el.style.setProperty("--tg-pp-height",`${o}px`)}set cssWidth(o){this.el.style.setProperty("--tg-pp-width",`${o}px`)}ngOnChanges(o){o.width&&(this.cssWidth=this.width),o.height&&(this.cssHeight=this.height),(o.cropperConfig||o.width||o.height)&&(this.cropperConfig={...x,aspectRatio:this.width/this.height,cropperMinHeight:this.height,cropperMinWidth:this.width,...this.cropperConfig})}ngOnDestroy(){(0,s.completeAll)(this.sourceClick,this.uploaded)}onEvent(o){switch(o.type){case"cancel":this.busy=!1,this.cdr.markForCheck();break;case"start":this.busy=!0,this.updatePopover.hide(),this.cdr.markForCheck();break;case"uploaded":this.busy=!1,this.uploaded.emit(o.file),this.cdr.markForCheck()}}onSourceClick(o){this.updatePopover.hide(),this.sourceClick.emit(o)}}return n.DEFAULT_CONFIG=x,n})();I.prototype.trackByTy=(0,g.createTrackFn)("ty"),I.\u0275fac=function(_){return new(_||I)},I.\u0275cmp=t.Xpm({type:I,selectors:[["tg-profile-picture-edit-shell"]],viewQuery:function(_,o){if(1&_&&t.Gf(m.k5,5),2&_){let f;t.iGM(f=t.CRH())&&(o.updatePopover=f.first)}},inputs:{cropperConfig:"cropperConfig",height:"height",pictureLabel:"pictureLabel",popoverTitle:"popoverTitle",query:"query",sources:"sources",width:"width"},outputs:{sourceClick:"sourceClick",uploaded:"uploaded"},standalone:!0,features:[t._Bn([],[{provide:c.z,useValue:"profilePictureEdit"}]),t.TTD,t.jDz],ngContentSelectors:["*"],decls:7,vars:10,consts:[[1,"dyn-sized",3,"popover","popoverTitle","cropImage","cropperConfig","placement","container","query","multi","onCrop"],["up","tg-upload-outlet"],["tplPopover",""],["tplNotBusy",""],["class","dyn-sized",4,"ngIf","ngIfElse"],[1,"d-flex","flex-row","flex-wrap"],["class","p dyn-sized",3,"d-none","placement","container","tooltip","alt","tgFallbackImage","click.passive",4,"ngFor","ngForOf","ngForTrackBy"],[1,"d-inline-block","p","dyn-sized",3,"controlsUploadInput","tooltip","placement","container"],["class","text-success file-drop-inner text-center dyn-sized justify-content-center",4,"uploadDropHoverTemplate"],[1,"file-drop-inner","text-center","dyn-sized","justify-content-center"],[1,"fa","fa-upload","fa-3x"],["type","file","accept","image/*","ngFileSelect","",1,"d-none"],[1,"p","dyn-sized",3,"placement","container","tooltip","alt","tgFallbackImage","click.passive"],["img","tgFallbackImage"],[1,"text-success","file-drop-inner","text-center","dyn-sized","justify-content-center"],[1,"edit-image-overlay","dyn-sized","flex-column","justify-content-center","text-center","d-flex"],[1,"fa","fa-pencil","fa-4x"],[1,"dyn-sized"]],template:function(_,o){if(1&_&&(t.F$t(),t.TgZ(0,"tg-upload-outlet",0,1),t.NdJ("onCrop",function(T){return o.onEvent(T)}),t.YNc(2,S,8,7,"ng-template",null,2,t.W1O),t.YNc(4,K,5,1,"ng-template",null,3,t.W1O),t.YNc(6,G,1,0,"tg-loader-spinner",4),t.qZA()),2&_){const f=t.MAs(3),T=t.MAs(5);t.Q6J("popover",f)("popoverTitle",o.popoverTitle)("cropImage",!0)("cropperConfig",o.cropperConfig)("placement","right")("container",void 0)("query",o.query)("multi",!1),t.xp6(6),t.Q6J("ngIf",o.busy)("ngIfElse",T)}},dependencies:[u.FallbackImageModule,v.Q,U.I,C.c,A.O,l.u,E.h,B.i,P.U,R.qx,m.UU,m.k5,h.z8,h.i9,M.GlobalModule,i.sg,i.O5,p.G,a.K,r.H],styles:["[_nghost-%COMP%]{--tg-zindex:1000;cursor:pointer;display:block}[_nghost-%COMP%]    >popover-container{z-index:var(--tg-zindex)}[_nghost-%COMP%]     .dyn-sized{height:var(--tg-pp-height);width:var(--tg-pp-width)}.p[_ngcontent-%COMP%]{cursor:pointer;margin-bottom:var(--tg-space-1);margin-right:var(--tg-space-1)}.edit-image-overlay[_ngcontent-%COMP%]{--tg-opacity:.5;--tg-transition:all .35s ease;background-color:rgba(0,0,0,var(--tg-opacity));color:#fff;left:0;position:absolute;text-shadow:-1px -1px 0 #000,1px -1px 0 #000,-1px 1px 0 #000,1px 1px 0 #000;top:0;transition:var(--tg-transition);z-index:var(--tg-zindex)}.edit-image-overlay[_ngcontent-%COMP%]:hover{--tg-opacity:.75;text-shadow:none}.file-drop-inner[_ngcontent-%COMP%]{align-items:center;background-color:#d3d3d3;border:1px dashed #000;display:flex;line-height:var(--tg-pp-height);vertical-align:middle}tg-upload-outlet[_ngcontent-%COMP%]{display:block;position:relative}"],changeDetection:0})},49290:(W,D,e)=>{e.d(D,{J:()=>U});var t=e(14026),m=e(15859),h=e(80801),M=e(49227),c=e(97482),C=e(54074),s=e(72313),g=e(16516),y=e(64683);const u="profilePictureEdit";let U=(()=>{class v{constructor(){this.height=150,this.modelChange=new t.vpe,this.width=150,this.cdr=(0,t.f3M)(t.sBO),this.grpDisplaySvc=(0,t.f3M)(h.h),this.tr=(0,t.f3M)(C.D),this.cropperConfig={resizeToHeight:this.height,resizeToWidth:this.width},this.query={height:this.height,width:this.width}}ngOnChanges(l){(l.width||l.height)&&(this.query={...this.query},this.cropperConfig={...this.cropperConfig},this.width?this.cropperConfig.resizeToWidth=this.query.width=this.width:(delete this.query.width,delete this.cropperConfig.resizeToWidth),this.height?this.cropperConfig.resizeToHeight=this.query.height=this.height:(delete this.query.height,delete this.cropperConfig.resizeToHeight)),l.model&&(this.groupPicture=this.grpDisplaySvc.groupPicture(this.model),this.sources=this.regenerateSources())}onUploaded(l){this.model.local_picture_url=l.url,this.groupPicture=this.grpDisplaySvc.groupPicture(this.model),this.modelChange.emit(this.model),this.cdr.markForCheck()}regenerateSources(){const l=[];return this.model.local_picture_url&&l.push({label:this.tr.translate("local",u),t
1y:"local",url:this.model.local_picture_url}),l}}return v.\u0275fac=function(l){return new(l||v)},v.\u0275cmp=t.Xpm({type:v,selectors:[["tg-group-profile-picture-edit"]],inputs:{height:"height",model:"model",width:"width"},outputs:{modelChange:"modelChange"},standalone:!0,features:[t._Bn([{provide:s.sG,useExisting:s.o9}],[{provide:c.z,useValue:u}]),t.TTD,t.jDz],decls:4,vars:12,consts:[[3,"height","width","query","pictureLabel","popoverTitle","sources","uploaded"],[1,"media-object","dyn-sized",3,"tg-group-profile-picture"]],template:function(l,E){1&l&&(t.TgZ(0,"tg-profile-picture-edit-shell",0),t.NdJ("uploaded",function(P){return E.onUploaded(P)}),t.ALo(1,"tr"),t.ALo(2,"tr"),t._UZ(3,"img",1),t.qZA()),2&l&&(t.Q6J("height",E.height)("width",E.width)("query",E.query)("pictureLabel",t.xi3(1,7,"addLogo","group"))("popoverTitle",t.lcZ(2,10,"groupTitle"))("sources",E.sources),t.xp6(3),t.Q6J("tg-group-profile-picture",E.groupPicture))},dependencies:[m.GlobalModule,y.H,g._,M.d],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0}),v})()}}]);

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.