1(self.webpackChunkdspace_angular=self.webpackChunkdspace_angular||[]).push([[7613,6370],{32854:(K,O,t)=>{"use strict";t.d(O,{C:()=>l});var p=t(19672),y=t(21721),s=t(25340),P=t(46418),E=t(16422),e=t(24755),v=t(31241),_=t(58943),h=t(21540),o=t(94650),i=t(89383),A=t(38187),R=t(26125),n=t(63311),a=t(36895),V=t(98605);function $(m,I){if(1&m){const c=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementStart(0,"button",15),o.\u0275\u0275listener("click",function(){o.\u0275\u0275restoreView(c);const B=o.\u0275\u0275nextContext(4);return o.\u0275\u0275resetView(B.deleteLogo())}),o.\u0275\u0275pipe(1,"translate"),o.\u0275\u0275element(2,"i",16),o.\u0275\u0275elementEnd()}if(2&m){const c=o.\u0275\u0275nextContext(4);o.\u0275\u0275propertyInterpolate("title",o.\u0275\u0275pipeBind1(1,1,c.type.value+".edit.logo.delete.title"))}}function G(m,I){if(1&m){const c=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementStart(0,"button",17),o.\u0275\u0275listener("click",function(){o.\u0275\u0275restoreView(c);const B=o.\u0275\u0275nextContext(4);return o.\u0275\u0275resetView(B.undoDeleteLogo())}),o.\u0275\u0275pipe(1,"translate"),o.\u0275\u0275element(2,"i",18),o.\u0275\u0275elementEnd()}if(2&m){const c=o.\u0275\u0275nextContext(4);o.\u0275\u0275propertyInterpolate("title",o.\u0275\u0275pipeBind1(1,1,c.type.value+".edit.logo.delete-undo.title"))}}function H(m,I){if(1&m&&(o.\u0275\u0275elementStart(0,"div",12),o.\u0275\u0275template(1,$,3,3,"button",13),o.\u0275\u0275template(2,G,3,3,"button",14),o.\u0275\u0275elementEnd()),2&m){const c=o.\u0275\u0275nextContext(3);o.\u0275\u0275advance(1),o.\u0275\u0275property("ngIf",!c.markLogoForDeletion),o.\u0275\u0275advance(1),o.\u0275\u0275property("ngIf",c.markLogoForDeletion)}}const z=function(m){return{"alert-danger":m}};function X(m,I){if(1&m&&(o.\u0275\u0275elementStart(0,"div",7)(1,"div",1)(2,"div",8),o.\u0275\u0275element(3,"ds-comcol-page-logo",9),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(4,"div",10),o.\u0275\u0275template(5,H,3,2,"div",11),o.\u0275\u0275elementEnd()()()),2&m){const c=o.\u0275\u0275nextContext().ngVar,b=o.\u0275\u0275nextContext();o.\u0275\u0275property("ngClass",o.\u0275\u0275pureFunction1(4,z,b.markLogoForDeletion)),o.\u0275\u0275advance(3),o.\u0275\u0275property("alternateText",b.type.value+".logo.alt")("logo",c),o.\u0275\u0275advance(2),o.\u0275\u0275property("ngIf",c)}}function W(m,I){if(1&m){const c=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementStart(0,"ds-uploader",21),o.\u0275\u0275listener("onCompleteItem",function(){o.\u0275\u0275restoreView(c);const B=o.\u0275\u0275nextContext(3);return o.\u0275\u0275resetView(B.onCompleteItem())})("onUploadError",function(){o.\u0275\u0275restoreView(c);const B=o.\u0275\u0275nextContext(3);return o.\u0275\u0275resetView(B.onUploadError())}),o.\u0275\u0275elementEnd()}if(2&m){const c=o.\u0275\u0275nextContext(3);o.\u0275\u0275property("ariaLabel",c.type.value+".browse.logo")("dropMsg",c.type.value+".edit.logo.upload")("dropOverDocumentMsg",c.type.value+".edit.logo.upload")("enableDragOverDocument",!0)("uploadFilesOptions",c.uploadFilesOptions)}}function N(m,I){if(1&m&&(o.\u0275\u0275elementStart(0,"div",19),o.\u0275\u0275template(1,W,1,5,"ds-uploader",20),o.\u0275\u0275pipe(2,"async"),o.\u0275\u0275elementEnd()),2&m){const c=o.\u0275\u0275nextContext(2);o.\u0275\u0275advance(1),o.\u0275\u0275property("ngIf",o.\u0275\u0275pipeBind1(2,1,c.initializedUploaderOptions))}}function g(m,I){if(1&m&&(o.\u0275\u0275elementContainerStart(0),o.\u0275\u0275template(1,X,6,6,"div",5),o.\u0275\u0275template(2,N,3,3,"div",6),o.\u0275\u0275elementContainerEnd()),2&m){const c=I.ngVar;o.\u0275\u0275advance(1),o.\u0275\u0275property("ngIf",c),o.\u0275\u0275advance(1),o.\u0275\u0275property("ngIf",!c)}}function S(m,I){if(1&m){const c=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementStart(0,"ds-form",22),o.\u0275\u0275listener("submitForm",function(){o.\u0275\u0275restoreView(c);const B=o.\u0275\u0275nextContext();return o.\u0275\u0275resetView(B.onSubmit())}),o.\u0275\u0275elementStart(1,"button",23),o.\u0275\u0275listener("click",function(){o.\u0275\u0275restoreView(c);const B=o.\u0275\u0275nextContext();
1return o.\u0275\u0275resetView(B.back.emit())}),o.\u0275\u0275element(2,"i",24),o.\u0275\u0275text(3),o.\u0275\u0275pipe(4,"translate"),o.\u0275\u0275elementEnd()()}if(2&m){const c=o.\u0275\u0275nextContext();o.\u0275\u0275property("formId","comcol-form-id")("formModel",c.formModel)("displayCancel",!1),o.\u0275\u0275advance(3),o.\u0275\u0275textInterpolate1(" ",o.\u0275\u0275pipeBind1(4,4,c.type.value+".edit.return")," ")}}let l=(()=>{class m extends s.M{constructor(c,b,B,Y,w,Q,C){super(c,b,B,Y,Q,C),this.formService=c,this.translate=b,this.notificationsService=B,this.authService=Y,this.dsoService=w,this.requestService=Q,this.objectCache=C,this.dso=new y.S,this.type=y.S.type,this.formModel=[new p.b1u({id:"title",name:"dc.title",required:!0,validators:{required:null},errorMessages:{required:"Please enter a name for this title"}}),new p.HBf({id:"description",name:"dc.description",spellCheck:h.N.form.spellCheck}),new p.HBf({id:"abstract",name:"dc.description.abstract",spellCheck:h.N.form.spellCheck}),new p.HBf({id:"rights",name:"dc.rights",spellCheck:h.N.form.spellCheck}),new p.HBf({id:"tableofcontents",name:"dc.description.tableofcontents",spellCheck:h.N.form.spellCheck})]}ngOnChanges(c){const b=c.dso;this.dso&&b&&!b.isFirstChange()&&super.ngOnInit()}}return m.\u0275fac=function(c){return new(c||m)(o.\u0275\u0275directiveInject(p.w1X),o.\u0275\u0275directiveInject(i.sK),o.\u0275\u0275directiveInject(P.T),o.\u0275\u0275directiveInject(e.e8),o.\u0275\u0275directiveInject(E.w),o.\u0275\u0275directiveInject(v.s),o.\u0275\u0275directiveInject(_.a))},m.\u0275cmp=o.\u0275\u0275defineComponent({type:m,selectors:[["ds-community-form"]],inputs:{dso:"dso"},features:[o.\u0275\u0275InheritDefinitionFeature,o.\u0275\u0275NgOnChangesFeature],decls:9,vars:7,consts:[[1,"container-fluid"],[1,"row"],[1,"col-12","d-inline-block","mb-1"],[4,"ngVar"],[3,"formId","formModel","displayCancel","submitForm",4,"ngIf"],["class","col-12 d-inline-block alert","id","logo-section",3,"ngClass",4,"ngIf"],["class","col-12 d-inline-block",4,"ngIf"],["id","logo-section",1,"col-12","d-inline-block","alert",3,"ngClass"],[1,"col-8","d-inline-block"],[3,"alternateText","logo"],[1,"col-4","d-inline-block"],["class","btn-group btn-group-sm float-right","role","group",4,"ngIf"],["role","group",1,"btn-group","btn-group-sm","float-right"],["type","button","class","btn btn-danger",3,"title","click",4,"ngIf"],["type","button","class","btn btn-warning",3,"title","click",4,"ngIf"],["type","button",1,"btn","btn-danger",3,"title","click"],["aria-hidden","true",1,"fas","fa-trash"],["type","button",1,"btn","btn-warning",3,"title","click"],["aria-hidden","true",1,"fas","fa-undo"],[1,"col-12","d-inline-block"],[3,"ariaLabel","dropMsg","dropOverDocumentMsg","enableDragOverDocument","uploadFilesOptions","onCompleteItem","onUploadError",4,"ngIf"],[3,"ariaLabel","dropMsg","dropOverDocumentMsg","enableDragOverDocument","uploadFilesOptions","onCompleteItem","onUploadError"],[3,"formId","formModel","displayCancel","submitForm"],["before","","type","button",1,"btn","btn-outline-secondary",3,"click"],["aria-hidden","true",1,"fas","fa-arrow-left"]],template:function(c,b){if(1&c&&(o.\u0275\u0275elementStart(0,"div",0)(1,"div",1)(2,"div",2)(3,"span"),o.\u0275\u0275text(4),o.\u0275\u0275pipe(5,"translate"),o.\u0275\u0275elementEnd()(),o.\u0275\u0275template(6,g,3,2,"ng-container",3),o.\u0275\u0275pipe(7,"async"),o.\u0275\u0275elementEnd()(),o.\u0275\u0275template(8,S,5,6,"ds-form",4)),2&c){let B;o.\u0275\u0275advance(4),o.\u0275\u0275textInterpolate(o.\u0275\u0275pipeBind1(5,3,b.type.value+".edit.logo.label")),o.\u0275\u0275advance(2),o.\u0275\u0275property("ngVar",null==(B=o.\u0275\u0275pipeBind1(7,5,null==b.dso?null:b.dso.logo))?null:B.payload),o.\u0275\u0275advance(2),o.\u0275\u0275property("ngIf",b.formModel)}},dependencies:[A.e,R.B,n.U,a.mk,a.O5,V.g,a.Ov,i.X$]}),m})()},63133:(K,O,t)=>{"use strict";t.d(O,{T:()=>E});var p=t(44186),y=t(18247),s=t(10194),P=t(94650);let E=(()=>{class e{}return e.\u0275fac=function(_){return new(_||e)},e.\u0275mod=P.\u0275\u0275defineNgModule({type:e}),e.\u0275inj=P.\u0275\u0275defineInjector({imports:[y.H,s.e,p.m]}),e})()},43465:(K,O,t)=>{"use strict";t.r(O),t.d(O,{CommunityPageComponent:()=>j});
1var p=t(54004),y=t(39300),s=t(86099),P=t(16422),E=t(82307),e=t(28652),v=t(24702),_=t(68285),h=t(24755),o=t(19937),i=t(47235),A=t(43438),R=t(12691),n=t(83616),a=t(94650),V=t(34793),$=t(36895),G=t(41971),H=t(48106),z=t(98605),X=t(66370),W=t(75838),N=t(62512),g=t(38187),S=t(56572),l=t(38934),m=t(74009),I=t(55653),c=t(91451),b=t(89383);function B(M,F){if(1&M&&(a.\u0275\u0275element(0,"ds-comcol-page-logo",18),a.\u0275\u0275pipe(1,"async"),a.\u0275\u0275pipe(2,"translate")),2&M){const f=a.\u0275\u0275nextContext(4);let J;a.\u0275\u0275property("logo",null==(J=a.\u0275\u0275pipeBind1(1,2,f.logoRD$))?null:J.payload)("alternateText",a.\u0275\u0275pipeBind1(2,4,"community.logo"))}}function Y(M,F){if(1&M&&(a.\u0275\u0275elementStart(0,"footer",19),a.\u0275\u0275element(1,"ds-comcol-page-content",12),a.\u0275\u0275elementEnd()),2&M){const f=a.\u0275\u0275nextContext().$implicit;a.\u0275\u0275advance(1),a.\u0275\u0275property("content",f.copyrightText)("hasInnerHtml",!0)}}function w(M,F){if(1&M&&(a.\u0275\u0275elementStart(0,"div"),a.\u0275\u0275element(1,"ds-view-tracker",6),a.\u0275\u0275elementStart(2,"div",7)(3,"header",8),a.\u0275\u0275element(4,"ds-comcol-page-header",9),a.\u0275\u0275template(5,B,3,6,"ds-comcol-page-logo",10),a.\u
10275\u0275element(6,"ds-themed-comcol-page-handle",11)(7,"ds-comcol-page-content",12)(8,"ds-comcol-page-content",13),a.\u0275\u0275elementEnd(),a.\u0275\u0275element(9,"ds-dso-edit-menu"),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(10,"section",14),a.\u0275\u0275element(11,"ds-themed-comcol-page-browse-by",15)(12,"ds-themed-community-page-sub-community-list",16)(13,"ds-themed-community-page-sub-collection-list",16),a.\u0275\u0275elementEnd(),a.\u0275\u0275template(14,Y,2,2,"footer",17),a.\u0275\u0275elementEnd()),2&M){const f=F.$implicit,J=a.\u0275\u0275nextContext(3);a.\u0275\u0275advance(1),a.\u0275\u0275property("object",f),a.\u0275\u0275advance(3),a.\u0275\u0275property("name",J.dsoNameService.getName(f)),a.\u0275\u0275advance(1),a.\u0275\u0275property("ngIf",J.logoRD$),a.\u0275\u0275advance(1),a.\u0275\u0275property("content",f.handle)("title","community.page.handle"),a.\u0275\u0275advance(1),a.\u0275\u0275property("content",f.introductoryText)("hasInnerHtml",!0),a.\u0275\u0275advance(1),a.\u0275\u0275property("content",f.sidebarText)("hasInnerHtml",!0)("title","community.page.news"),a.\u0275\u0275advance(3),a.\u0275\u0275property("id",f.id)("contentType",f.type),a.\u0275\u0275advance(1),a.\u0275\u0275property("community",f),a.\u0275\u0275advance(1),a.\u0275\u0275property("community",f),a.\u0275\u0275advance(1),a.\u0275\u0275property("ngIf",f.copyrightText)}}function Q(M,F){if(1&M&&(a.\u0275\u0275elementStart(0,"div",4),a.\u0275\u0275template(1,w,15,15,"div",5),a.\u0275\u0275elementEnd()),2&M){const f=a.\u0275\u0275nextContext().ngVar;a.\u0275\u0275property("@fadeInOut",void 0),a.\u0275\u0275advance(1),a.\u0275\u0275property("ngIf",null==f?null:f.payload)}}function C(M,F){1&M&&(a.\u0275\u0275element(0,"ds-error",20),a.\u0275\u0275pipe(1,"translate")),2&M&&a.\u0275\u0275propertyInterpolate("message",a.\u0275\u0275pipeBind1(1,1,"error.community"))}function D(M,F){1&M&&(a.\u0275\u0275element(0,"ds-themed-loading",20),a.\u0275\u0275pipe(1,"translate")),2&M&&a.\u0275\u0275propertyInterpolate("message",a.\u0275\u0275pipeBind1(1,1,"loading.community"))}function d(M,F){if(1&M&&(a.\u0275\u0275elementStart(0,"div",1),a.\u0275\u0275template(1,Q,2,2,"div",2),a.\u0275\u0275template(2,C,2,3,"ds-error",3),a.\u0275\u0275template(3,D,2,3,"ds-themed-loading",3),a.\u0275\u0275elementEnd()),2&M){const f=F.ngVar;a.\u0275\u0275advance(1),a.\u0275\u0275property("ngIf",null==f?null:f.hasSucceeded),a.\u0275\u0275advance(1),a.\u0275\u0275property("ngIf",null==f?null:f.hasFailed),a.\u0275\u0275advance(1),a.\u0275\u0275property("ngIf",null==f?null:f.isLoading)}}let j=(()=>{class M{constructor(f,J,tt,et,q,nt,ot){this.communityDataService=f,this.metadata=J,this.route=tt,this.router=et,this.authService=q,this.authorizationDataService=nt,this.dsoNameService=ot}ngOnInit(){this.communityRD$=this.route.data.pipe((0,p.U)(f=>f.dso),(0,R.Gh)(this.router,this.authService)),this.logoRD$=this.communityRD$.pipe((0,p.U)(f=>f.payload),(0,y.h)(f=>(0,v.Uh)(f)),(0,s.z)(f=>f.logo)),this.communityPageRoute$=this.communityRD$.pipe((0,_.mc)(),(0,p.U)(f=>(0,A.Ke)(f.id))),this.isCommunityAdmin$=this.authorizationDataService.isAuthorized(i.i.IsCommunityAdmin)}}return M.\u0275fac=function(f){return new(f||M)(a.\u0275\u0275directiveInject(P.w),a.\u0275\u0275directiveInject(E.D),a.\u0275\u0275directiveInject(V.gz),a.\u0275\u0275directiveInject(V.F0),a.\u0275\u0275directiveInject(h.e8),a.\u0275\u0275directiveInject(o._),a.\u0275\u0275directiveInject(n._))},M.\u0275cmp=a.\u0275\u0275defineComponent({type:M,selectors:[["ds-community-page"]],decls:2,vars:3,consts:[["class","container",4,"ngVar"],[1,"container"],["class","community-page",4,"ngIf"],[3,"message",4,"ngIf"],[1,"community-page"],[4,"ngIf"],[3,"object"],[1,"d-flex","flex-row","border-bottom","mb-4","pb-4"],[1,"comcol-header","mr-auto"],[3,"name"],[3,"logo","alternateText",4,"ngIf"],[3,"content","title"],[3,"content","hasInnerHtml"],[3,"content","hasInnerHtml","title"],[1,"comcol-page-browse-section"],[3,"id","contentType"],[3,"community"],["class","border-top my-5 pt-4",4,"ngIf"],[3,"logo","alternateText"],[1,"border-top","my-5","pt-4"],[3,"message"]],template:function(f,J){1&f&&(a.\u0275\u0275template(0,d,4,3,"div",0),a.\u0275\u0275pipe(1,"async")),2&f&&a.\u
10275\u0275property("ngVar",a.\u0275\u0275pipeBind1(1,1,J.communityRD$))},dependencies:[$.O5,G.q,H.Z,z.g,X.f,W.v,N.U,g.e,S.g,l.g,m.g,I.v,c.F,$.Ov,b.X$],data:{animation:[e.Ic]},changeDetection:0}),M})()},29152:(K,O,t)=>{"use strict";t.r(O),t.d(O,{CommunityPageModule:()=>ft});var p=t(36895),y=t(44186),E=(t(43465),t(39643),t(34793)),e=t(32125),v=t(21721),_=t(16422),h=t(5360),o=t(92031),i=t(46418),A=t(31241),R=t(83616),n=t(94650),a=t(89383),V=t(98605),$=t(32854);function G(r,T){1&r&&(n.\u0275\u0275elementStart(0,"h1",7),n.\u0275\u0275text(1),n.\u0275\u0275pipe(2,"translate"),n.\u0275\u0275elementEnd()),2&r&&(n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate(n.\u0275\u0275pipeBind1(2,1,"community.create.head")))}const H=function(r){return{parent:r}};function z(r,T){if(1&r&&(n.\u0275\u0275elementStart(0,"h1",8),n.\u0275\u0275text(1),n.\u0275\u0275pipe(2,"translate"),n.\u0275\u0275elementEnd()),2&r){const u=n.\u0275\u0275nextContext().ngVar,x=n.\u0275\u0275nextContext();n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate(n.\u0275\u0275pipeBind2(2,1,"community.create.sub-head",n.\u0275\u0275pureFunction1(4,H,x.dsoNameService.getName(u))))}}function X(r,T){if(1&r&&(n.\u0275\u0275elementContainerStart(0),n.\u0275\u0275template(1,G,3,3,"h1",5),n.\u0275\u0275template(2,z,3,6,"h1",6),n.\u0275\u0275elementContainerEnd()),2&r){const u=T.ngVar;n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",!u),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",u)}}let W=(()=>{class r extends o.k{constructor(u,x,L,U,Z,k,at){super(u,x,u,L,U,Z,k,at),this.communityDataService=u,this.dsoNameService=x,this.routeService=L,this.router=U,this.notificationsService=Z,this.translate=k,this.requestService=at,this.frontendURL="/communities/",this.type=v.S.type}}return r.\u0275fac=function(u){return new(u||r)(n.\u0275\u0275directiveInject(_.w),n.\u0275\u0275directiveInject(R._),n.\u0275\u0275directiveInject(h.MZ),n.\u0275\u0275directiveInject(E.F0),n.\u0275\u0275directiveInject(i.T),n.\u0275\u0275directiveInject(a.sK),n.\u0275\u0275directiveInject(A.s))},r.\u0275cmp=n.\u0275\u0275defineComponent({type:r,selectors:[["ds-create-community"]],features:[n.\u0275\u0275InheritDefinitionFeature],decls:6,vars:3,consts:[[1,"container"],[1,"row"],[1,"col-12","pb-4"],[4,"ngVar"],[3,"submitForm","back","finish"],["id","header","class","border-bottom pb-2",4,"ngIf"],["id","sub-header","class","border-bottom pb-2",4,"ngIf"],["id","header",1,"border-bottom","pb-2"],["id","sub-header",1,"border-bottom","pb-2"]],template:function(u,x){if(1&u&&(n.\u0275\u0275elementStart(0,"div",0)(1,"div",1)(2,"div",2),n.\u0275\u0275template(3,X,3,2,"ng-container",3),n.\u0275\u0275pipe(4,"async"),n.\u0275\u0275elementEnd()(),n.\u0275\u0275elementStart(5,"ds-community-form",4),n.\u0275\u0275listener("submitForm",function(U){return x.onSubmit(U)})("back",function(){return x.navigateToHome()})("finish",function(){return x.navigateToNewPage()}),n.\u0275\u0275elementEnd()()),2&u){let L;n.\u0275\u0275advance(3),n.\u0275\u0275property("ngVar",null==(L=n.\u0275\u0275pipeBind1(4,1,x.parentRD$))?null:L.payload)}},dependencies:[p.O5,V.g,$.C,p.Ov,a.X$]}),r})();var N=t(74851),g=t(24702),S=t(54004),l=t(18505),m=t(39646),I=t(68285);let c=(()=>{class r{constructor(u,x){this.router=u,this.communityService=x}canActivate(u,x){const L=u.queryParams.parent;return(0,g.xI)(L)?(0,m.of)(!0):this.communityService.findById(L).pipe((0,I.hC)(),(0,S.U)(U=>(0,g.Uh)(U)&&U.hasSucceeded&&(0,g.Uh)(U.payload)),(0,l.b)(U=>{U||this.router.navigate(["/404"])}))}}return r.\u0275fac=function(u){return new(u||r)(n.\u0275\u0275inject(E.F0),n.\u0275\u0275inject(_.w))},r.\u0275prov=n.\u0275\u0275defineInjectable({token:r,factory:r.\u0275fac}),r})();var b=t(80212),B=t(25575);function Y(r,T){1&r&&(n.\u0275\u0275elementStart(0,"span"),n.\u0275\u0275element(1,"i",12),n.\u0275\u0275text(2),n.\u0275\u0275pipe(3,"translate"),n.\u0275\u0275elementEnd()),2&r&&(n.\u0275\u0275advance(2),n.\u0275\u0275textInterpolate1(" ",n.\u0275\u0275pipeBind1(3,1,"community.delete.processing"),""))}function w(r,T){1&r&&(n.\u0275\u0275elementStart(0,"span"),n.\u0275\u0275element(1,"i",13),n.\u0275\u0275text(2),n.\u0275\u0275pipe(3,"translate"),n.\u0275\u0275elementEnd()),2&r&&(n.\u0275\u0275advance(2),n.\u0275\u0275textInterpolate1(" ",n.\u0275\u0275pipeBind1(3,1,"community.delete.confirm"),""))}const Q=function(r){return{dso:r}};function C(r,T){if(1&r){const u=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementContainerStart(0),n.\u0275\u0275elementStart(1,"div",3)(2,"h1",4),n.\u0275\u0275text(3),n.\u0275\u0275pipe(4,"translate"),n.\u0275\u0275elementEnd(),n.\u0275\u0275elementStart(5,"p",5),n.\u0275\u0275text(6),n.\u0275\u0275pipe(7,"translate"),n.\u0275\u0275elementEnd(),n.\u0275\u0275elementStart(8,"div",6)(9,"div",7)(10,"button",8),n.\u0275\u0275listener("click",function(){const U=n.\u0275\u0275restoreView(u).ngVar,Z=n.\u0275\u0275nextContext();
1return n.\u0275\u0275resetView(Z.onCancel(U))}),n.\u0275\u0275pipe(11,"async"),n.\u0275\u0275element(12,"i",9),n.\u0275\u0275text(13),n.\u0275\u0275pipe(14,"translate"),n.\u0275\u0275elementEnd(),n.\u0275\u0275elementStart(15,"button",10),n.\u0275\u0275listener("click",function(){const U=n.\u0275\u0275restoreView(u).ngVar,Z=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(Z.onConfirm(U))}),n.\u0275\u0275pipe(16,"async"),n.\u0275\u0275template(17,Y,4,3,"span",11),n.\u0275\u0275pipe(18,"async"),n.\u0275\u0275template(19,w,4,3,"span",11),n.\u0275\u0275pipe(20,"async"),n.\u0275\u0275elementEnd()()()(),n.\u0275\u0275elementContainerEnd()}if(2&r){const u=T.ngVar,x=n.\u0275\u0275nextContext();n.\u0275\u0275advance(3),n.\u0275\u0275textInterpolate(n.\u0275\u0275pipeBind1(4,7,"community.delete.head")),n.\u0275\u0275advance(3),n.\u0275\u0275textInterpolate(n.\u0275\u0275pipeBind2(7,9,"community.delete.text",n.\u0275\u0275pureFunction1(22,Q,x.dsoNameService.getName(u)))),n.\u0275\u0275advance(4),n.\u0275\u0275property("dsBtnDisabled",n.\u0275\u0275pipeBind1(11,12,x.processing$)),n.\u0275\u0275advance(3),n.\u0275\u0275textInterpolate1(" ",n.\u0275\u0275pipeBind1(14,14,"community.delete.cancel")," "),n.\u0275\u0275advance(2),n.\u0275\u0275property("dsBtnDisabled",n.\u0275\u0275pipeBind1(16,16,x.processing$)),n.\u0275\u0275advance(2),n.\u0275\u0275property("ngIf",n.\u0275\u0275pipeBind1(18,18,x.processing$)),n.\u0275\u0275advance(2),n.\u0275\u0275property("ngIf",!n.\u0275\u0275pipeBind1(20,20,x.processing$))}}let D=(()=>{class r extends b.M{constructor(u,x,L,U,Z,k){super(u,x,L,U,Z,k),this.dsoDataService=u,this.dsoNameService=x,this.router=L,this.route=U,this.notifications=Z,this.translate=k,this.frontendURL="/communities/"}}return r.\u0275fac=function(u){return new(u||r)(n.\u0275\u0275directiveInject(_.w),n.\u0275\u0275directiveInject(R._),n.\u0275\u0275directiveInject(E.F0),n.\u0275\u0275directiveInject(E.gz),n.\u0275\u0275directiveInject(i.T),n.\u0275\u0275directiveInject(a.sK))},r.\u0275cmp=n.\u0275\u0275defineComponent({type:r,selectors:[["ds-delete-community"]],features:[n.\u0275\u0275InheritDefinitionFeature],decls:4,vars:3,consts:[[1,"container"],[1,"row"],[4,"ngVar"],[1,"col-12","pb-4"],["id","header",1,"border-bottom","pb-2"],[1,"pb-2"],[1,"form-group","row"],[1,"col","text-right","space-children-mr"],[1,"btn","btn-outline-secondary",3,"dsBtnDisabled","click"],["aria-hidden","true",1,"fas","fa-times"],[1,"btn","btn-danger",3,"dsBtnDisabled","click"],[4,"ngIf"],["aria-hidden","true",1,"fas","fa-circle-notch","fa-spin"],["aria-hidden","true",1,"fas","fa-trash"]],template:function(u,x){if(1&u&&(n.\u0275\u0275elementStart(0,"div",0)(1,"div",1),n.\u0275\u0275template(2,C,21,24,"ng-container",2),n.\u0275\u0275pipe(3,"async"),n.\u0275\u0275elementEnd()()),2&u){let L;n.\u0275\u0275advance(2),n.\u0275\u0275property("ngVar",null==(L=n.\u0275\u0275pipeBind1(3,1,x.dsoRD$))?null:L.payload)}},dependencies:[p.O5,V.g,B.v,p.Ov,a.X$]}),r})();var d=t(78269),j=t(86362),M=t(94476),F=t(43438),f=t(19937),J=t(94369),tt=t(47235),et=t(24755);let q=(()=>{class r extends J.h{constructor(u,x,L,U){super(u,x,L,U),this.resolver=u,this.authorizationService=x,this.router=L,this.authService=U}getFeatureID(u,x){return(0,m.of)(tt.i.AdministratorOf)}}return r.\u0275fac=function(u){return new(u||r)(n.\u0275\u0275inject(e.h),n.\u0275\u0275inject(f._),n.\u0275\u0275inject(E.F0),n.\u0275\u0275inject(et.e8))},r.\u0275prov=n.\u0275\u0275defineInjectable({token:r,factory:r.\u0275fac,providedIn:"root"}),r})();var nt=t(25330);function ot(r,T){}const rt=["*"];let it=(()=>{class r extends nt.F{getComponentName(){return"CommunityPageComponent"}importThemedComponent(u){return t(67695)(`./${u}/app/community-page/community-page.component`)}importUnthemedComponent(){return Promise.resolve().then(t.bind(t,43465))}}return r.\u0275fac=function(){let T;return function(x){return(T||(T=n.\u0275\u0275getInheritedFactory(r)))(x||r)}}(),r.\u0275cmp=n.\u0275\u0275defineComponent({type:r,selectors:[["ds-themed-community-page"]],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:rt,decls:5,vars:0,consts:[["vcr",""],["content",""]],template:function(u,x){1&u&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275template(0,ot,0,0,"ng-template",null,0,n.\u0275\u0275templateRefExtractor),n.\u0275\u0275elementStart(2,"div",null,1),n.\u0275\u0275projection(4),n.\u0275\u0275elementEnd())},encapsulation:2}),r})();var st=t(58460),mt=t(45792),ct=t(98655);let lt=(()=>{class r{}return r.\u0275fac=function(u){return new(u||r)},r.\u0275mod=n.\u0275\u0275defineNgModule({type:r}),r.\u0275inj=n.\u0275\u0275defineInjector({providers:[e.h,d.G,j.B,M.M,c,q],imports:[E.Bz.forChild([{path:F.GR,children:[{path:"",component:W,resolve:{breadcrumb:ct.t}
1,data:{breadcrumbKey:"community.create"}}],canActivate:[N.J,c],data:{breadcrumbQueryParam:"parent"},resolve:{breadcrumb:d.G},runGuardsAndResolvers:"always"},{path:":id",resolve:{dso:e.h,breadcrumb:d.G},runGuardsAndResolvers:"always",children:[{path:F.WY,loadChildren:()=>Promise.all([t.e(1021),t.e(2514)]).then(t.bind(t,72514)).then(T=>T.EditCommunityPageModule),canActivate:[q]},{path:"delete",pathMatch:"full",component:D,canActivate:[N.J]},{path:"",component:it,pathMatch:"full",resolve:{menu:mt.M}}],data:{menu:{public:[{id:"statistics_community_:id",active:!0,visible:!0,index:2,model:{type:st.U.LINK,text:"menu.section.statistics",link:"statistics/communities/:id/"}}]}}}])]}),r})();t(31356);var pt=t(79248),_t=t(63133),ut=t(18247),Ct=(t(55653),t(91451),t(68242));let ft=(()=>{class r{}return r.\u0275fac=function(u){return new(u||r)},r.\u0275mod=n.\u0275\u0275defineNgModule({type:r}),r.\u0275inj=n.\u0275\u0275defineInjector({imports:[p.ez,y.m,lt,pt.p.forRoot(),_t.T,ut.H,Ct.H]}),r})()},39643:(K,O,t)=>{"use strict";t.r(O),t.d(O,{CommunityPageSubCollectionListComponent:()=>N});var p=t(61135),y=t(39841),P=(t(21721),t(28652)),E=t(4177),e=t(42943),v=t(36391),_=t(77467),h=t(63900),o=t(24702),i=t(94650),A=t(34793),R=t(36895),n=t(41971),a=t(48106),V=t(70714),$=t(98605),G=t(89383);function H(g,S){if(1&g&&(i.\u0275\u0275elementStart(0,"div")(1,"h2"),i.\u0275\u0275text(2),i.\u0275\u0275pipe(3,"translate"),i.\u0275\u0275elementEnd(),i.\u0275\u0275element(4,"ds-viewable-collection",3),i.\u0275\u0275elementEnd()),2&g){const l=i.\u0275\u0275nextContext().ngVar,m=i.\u0275\u0275nextContext();i.\u0275\u0275property("@fadeIn",void 0),i.\u0275\u0275advance(2),i.\u0275\u0275textInterpolate(i.\u0275\u0275pipeBind1(3,6,"community.sub-collection-list.head")),i.\u0275\u0275advance(2),i.\u0275\u0275property("config",m.config)("sortConfig",m.sortConfig)("objects",l)("hideGear",!1)}}function z(g,S){1&g&&(i.\u0275\u0275element(0,"ds-error",4),i.\u0275\u0275pipe(1,"translate")),2&g&&i.\u0275\u0275propertyInterpolate("message",i.\u0275\u0275pipeBind1(1,1,"error.sub-collections"))}function X(g,S){1&g&&(i.\u0275\u0275element(0,"ds-themed-loading",4),i.\u0275\u0275pipe(1,"translate")),2&g&&i.\u0275\u0275propertyInterpolate("message",i.\u0275\u0275pipeBind1(1,1,"loading.sub-collections"))}function W(g,S){if(1&g&&(i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275template(1,H,5,8,"div",1),i.\u0275\u0275template(2,z,2,3,"ds-error",2),i.\u0275\u0275template(3,X,2,3,"ds-themed-loading",2),i.\u0275\u0275elementContainerEnd()),2&g){const l=S.ngVar;i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf",(null==l?null:l.hasSucceeded)&&(null==l?null:l.payload.totalElements)>0),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf",null==l?null:l.hasFailed),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf",null==l?null:l.isLoading)}}let N=(()=>{class g{constructor(l,m,I){this.cds=l,this.paginationService=m,this.route=I,this.pageId="cmcl",this.subCollectionsRDObs=new p.X({}),this.subscriptions=[]}ngOnInit(){this.config=new E.r,this.config.id=this.pageId,this.config.pageSize=(0,o.Uh)(this.pageSize)?this.pageSize:this.route.snapshot.queryParams[this.pageId+".rpp"]??this.config.pageSize,this.config.currentPage=this.route.snapshot.queryParams[this.pageId+".page"]??1,this.sortConfig=new e.o("dc.title",e.S[this.route.snapshot.queryParams[this.pageId+".sd"]]??e.S.ASC),this.initPage()}initPage(){const l=this.paginationService.getCurrentPagination(this.config.id,this.config),m=this.paginationService.getCurrentSort(this.config.id,this.sortConfig);this.subscriptions.push((0,y.a)([l,m]).pipe((0,h.w)(([I,c])=>this.cds.findByParent(this.community.id,{currentPage:I.currentPage,elementsPerPage:I.pageSize,sort:{field:c.field,direction:c.direction}}))).subscribe(I=>{this.subCollectionsRDObs.next(I)}))}ngOnDestroy(){this.paginationService.clearPagination(this.config?.id),this.subscriptions.map(l=>l.unsubscribe())}}return g.\u0275fac=function(l){return new(l||g)(i.\u0275\u0275directiveInject(v.W),i.\u0275\u0275directiveInject(_.N),i.\u0275\u0275directiveInject(A.gz))},g.\u0275cmp=i.\u0275\u0275defineComponent({type:g,selectors:[["ds-community-page-sub-collection-list"]],inputs:{community:"community",pageSize:"pageSize"},decls:2,vars:3,consts:[[4,"ngVar"],[4,"ngIf"],[3,"message",4,"ngIf"],[3,"config","sortConfig","objects","hideGear"],[3,"message"]],template:function(l,m){1&l&&(i.\u0275\u0275template(0,W,4,3,"ng-container",0),i.\u0275\u0275pipe(1,"async")),2&l&&i.\u0275\u0275property("ngVar",i.\u0275\u0275pipeBind1(1,1,m.subCollectionsRDObs))},dependencies:[R.O5,n.q,a.Z,V.c,$.g,R.Ov,G.X$],data:{animation:[P.Ji]}}),g})()},91451:(K,O,t)=>{"use strict";t.d(O,{F:()=>e});
1var p=t(25330),s=(t(21721),t(94650));function P(v,_){}const E=["*"];let e=(()=>{class v extends p.F{constructor(){super(...arguments),this.inAndOutputNames=["community","pageSize"]}getComponentName(){return"CommunityPageSubCollectionListComponent"}importThemedComponent(h){return t(89108)(`./${h}/app/community-page/sub-collection-list/community-page-sub-collection-list.component`)}importUnthemedComponent(){return Promise.resolve().then(t.bind(t,39643))}}return v.\u0275fac=function(){let _;return function(o){return(_||(_=s.\u0275\u0275getInheritedFactory(v)))(o||v)}}(),v.\u0275cmp=s.\u0275\u0275defineComponent({type:v,selectors:[["ds-themed-community-page-sub-collection-list"]],inputs:{community:"community",pageSize:"pageSize"},features:[s.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:E,decls:5,vars:0,consts:[["vcr",""],["content",""]],template:function(h,o){1&h&&(s.\u0275\u0275projectionDef(),s.\u0275\u0275template(0,P,0,0,"ng-template",null,0,s.\u0275\u0275templateRefExtractor),s.\u0275\u0275elementStart(2,"div",null,1),s.\u0275\u0275projection(4),s.\u0275\u0275elementEnd())},encapsulation:2}),v})()},31356:(K,O,t)=>{"use strict";t.r(O),t.d(O,{CommunityPageSubCommunityListComponent:()=>N});var p=t(61135),y=t(39841),P=(t(21721),t(28652)),E=t(4177),e=t(42943),v=t(16422),_=t(63900),h=t(77467),o=t(24702),i=t(94650),A=t(34793),R=t(36895),n=t(41971),a=t(48106),V=t(70714),$=t(98605),G=t(89383);function H(g,S){if(1&g&&(i.\u0275\u0275elementStart(0,"div")(1,"h2"),i.\u0275\u0275text(2),i.\u0275\u0275pipe(3,"translate"),i.\u0275\u0275elementEnd(),i.\u0275\u0275element(4,"ds-viewable-collection",3),i.\u0275\u0275elementEnd()),2&g){const l=i.\u0275\u0275nextContext().ngVar,m=i.\u0275\u0275nextContext();i.\u0275\u0275property("@fadeIn",void 0),i.\u0275\u0275advance(2),i.\u0275\u0275textInterpolate(i.\u0275\u0275pipeBind1(3,6,"community.sub-community-list.head")),i.\u0275\u0275advance(2),i.\u0275\u0275property("config",m.config)("sortConfig",m.sortConfig)("objects",l)("hideGear",!1)}}function z(g,S){1&g&&(i.\u0275\u0275element(0,"ds-error",4),i.\u0275\u0275pipe(1,"translate")),2&g&&i.\u0275\u0275propertyInterpolate("message",i.\u0275\u0275pipeBind1(1,1,"error.sub-communities"))}function X(g,S){1&g&&(i.\u0275\u0275element(0,"ds-themed-loading",4),i.\u0275\u0275pipe(1,"translate")),2&g&&i.\u0275\u0275propertyInterpolate("message",i.\u0275\u0275pipeBind1(1,1,"loading.sub-communities"))}function W(g,S){if(1&g&&(i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275template(1,H,5,8,"div",1),i.\u0275\u0275template(2,z,2,3,"ds-error",2),i.\u0275\u0275template(3,X,2,3,"ds-themed-loading",2),i.\u0275\u0275elementContainerEnd()),2&g){const l=S.ngVar;i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf",(null==l?null:l.hasSucceeded)&&(null==l?null:l.payload.totalElements)>0),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf",null==l?null:l.hasFailed),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf",null==l?null:l.isLoading)}}let N=(()=>{class g{constructor(l,m,I){this.cds=l,this.paginationService=m,this.route=I,this.pageId="cmscm",this.subCommunitiesRDObs=new p.X({}),this.subscriptions=[]}ngOnInit(){this.config=new E.r,this.config.id=this.pageId,this.config.pageSize=(0,o.Uh)(this.pageSize)?this.pageSize:this.route.snapshot.queryParams[this.pageId+".rpp"]??this.config.pageSize,this.config.currentPage=this.route.snapshot.queryParams[this.pageId+".page"]??1,this.sortConfig=new e.o("dc.title",e.S[this.route.snapshot.queryParams[this.pageId+".sd"]]??e.S.ASC),this.initPage()}initPage(){const l=this.paginationService.getCurrentPagination(this.config.id,this.config),m=this.paginationService.getCurrentSort(this.config.id,this.sortConfig);this.subscriptions.push((0,y.a)([l,m]).pipe((0,_.w)(([I,c])=>this.cds.findByParent(this.community.id,{currentPage:I.currentPage,elementsPerPage:I.pageSize,sort:{field:c.field,direction:c.direction}}))).subscribe(I=>{this.subCommunitiesRDObs.next(I)}))}ngOnDestroy(){this.paginationService.clearPagination(this.config?.id),this.subscriptions.map(l=>l.unsubscribe())}}return g.\u0275fac=function(l){return new(l||g)(i.\u0275\u0275directiveInject(v.w),i.\u0275\u0275directiveInject(h.N),i.\u0275\u0275directiveInject(A.gz))},g.\u0275cmp=i.\u0275\u0275defineComponent({type:g,selectors:[["ds-community-page-sub-community-list"]],inputs:{community:"community",pageSize:"pageSize"},decls:2,vars:3,consts:[[4,"ngVar"],[4,"ngIf"],[3,"message",4,"ngIf"],[3,"config","sortConfig","objects","hideGear"],[3,"message"]],template:function(l,m){1&l&&(i.\u0275\u0275template(0,W,4,3,"ng-container",0),i.\u0275\u0275pipe(1,"async")),2&l&&i.\u0275\u0275property("ngVar",i.\u0275\u0275pipeBind1(1,1,m.subCommunitiesRDObs))},dependencies:[R.O5,n.q,a.Z,V.c,$.g,R.Ov,G.X$],data:{animation:[P.Ji]}}),g})()},55653:(K,O,t)=>{"use strict";t.d(O,{v:()=>e});
1var p=t(25330),s=(t(21721),t(94650));function P(v,_){}const E=["*"];let e=(()=>{class v extends p.F{constructor(){super(...arguments),this.inAndOutputNames=["community","pageSize"]}getComponentName(){return"CommunityPageSubCommunityListComponent"}importThemedComponent(h){return t(58655)(`./${h}/app/community-page/sub-community-list/community-page-sub-community-list.component`)}importUnthemedComponent(){return Promise.resolve().then(t.bind(t,31356))}}return v.\u0275fac=function(){let _;return function(o){return(_||(_=s.\u0275\u0275getInheritedFactory(v)))(o||v)}}(),v.\u0275cmp=s.\u0275\u0275defineComponent({type:v,selectors:[["ds-themed-community-page-sub-community-list"]],inputs:{community:"community",pageSize:"pageSize"},features:[s.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:E,decls:5,vars:0,consts:[["vcr",""],["content",""]],template:function(h,o){1&h&&(s.\u0275\u0275projectionDef(),s.\u0275\u0275template(0,P,0,0,"ng-template",null,0,s.\u0275\u0275templateRefExtractor),s.\u0275\u0275elementStart(2,"div",null,1),s.\u0275\u0275projection(4),s.\u0275\u0275elementEnd())},encapsulation:2}),v})()},77284:(K,O,t)=>{"use strict";t.d(O,{t:()=>_});var p=t(86362),y=t(68285),s=t(54004),P=t(24702),E=t(72839),e=t(50503),v=t(94650);let _=(()=>{class h{constructor(i,A){this.breadcrumbService=i,this.dataService=A}resolve(i,A){return this.resolveById(i.params.id)}resolveById(i){return this.dataService.findById(i,!0,!1,...this.followLinks).pipe((0,y.hC)(),(0,y.xe)(),(0,s.U)(A=>{if((0,P.Uh)(A))return{provider:this.breadcrumbService,key:A,url:(0,e.Y4)(A)}}))}}return h.\u0275fac=function(i){return new(i||h)(v.\u0275\u0275inject(p.B),v.\u0275\u0275inject(E.t))},h.\u0275prov=v.\u0275\u0275defineInjectable({token:h,factory:h.\u0275fac,providedIn:"root"}),h})()},94369:(K,O,t)=>{"use strict";t.d(O,{h:()=>s});var p=t(74307),y=t(54004);class s extends p.q{getFeatureIDs(E,e){return this.getFeatureID(E,e).pipe((0,y.U)(v=>[v]))}}},74307:(K,O,t)=>{"use strict";t.d(O,{q:()=>E});
1var p=t(68285),y=t(54004),s=t(24702),P=t(89141);class E extends P.I{constructor(v,_,h,o){super(_,h,o),this.resolver=v,this.authorizationService=_,this.router=h,this.authService=o}getObjectUrl(v,_){const h=this.getRouteWithDSOId(v);return this.resolver.resolve(h,_).pipe((0,p.mc)(),(0,y.U)(o=>o.self))}getRouteWithDSOId(v){let _=v;for(;(0,s.xI)(_.params.id)&&(0,s.Uh)(_.parent);)_=_.parent;return _}}},68242:(K,O,t)=>{"use strict";t.d(O,{H:()=>Q});var a,p=t(89383),y=t(34793),s=t(36895),E=(t(74009),t(70655)),e=t(94650),v=t(9498),_=t(89359),h=t(54541),o=t(24702),i=t(78969),A=t(7145),R=t(9769),n=t(25575);function V(C,D){if(1&C&&(e.\u0275\u0275elementStart(0,"a",4),e.\u0275\u0275element(1,"i",5),e.\u0275\u0275elementStart(2,"span",6),e.\u0275\u0275text(3),e.\u0275\u0275pipe(4,"translate"),e.\u0275\u0275elementEnd()()),2&C){const d=e.\u0275\u0275nextContext(2);e.\u0275\u0275property("routerLink",d.itemModel.link),e.\u0275\u0275advance(1),e.\u0275\u0275classMapInterpolate1("fas fa-",d.section.icon," fa-fw"),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(4,5,d.itemModel.text))}}function $(C,D){if(1&C&&(e.\u0275\u0275elementStart(0,"button",7),e.\u0275\u0275element(1,"i",5),e.\u0275\u0275elementStart(2,"span",6),e.\u0275\u0275text(3),e.\u0275\u0275pipe(4,"translate"),e.\u0275\u0275elementEnd()()),2&C){const d=e.\u0275\u0275nextContext(2);e.\u0275\u0275property("dsBtnDisabled",!0),e.\u0275\u0275advance(1),e.\u0275\u0275classMapInterpolate1("fas fa-",d.section.icon," fa-fw"),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(4,5,d.itemModel.text))}}function G(C,D){if(1&C&&(e.\u0275\u0275elementStart(0,"div",1),e.\u0275\u0275pipe(1,"translate"),e.\u0275\u0275template(2,V,5,7,"a",2),e.\u0275\u0275template(3,$,5,7,"button",3),e.\u0275\u0275elementEnd()),2&C){const d=e.\u0275\u0275nextContext();e.\u0275\u0275property("ngbTooltip",e.\u0275\u0275pipeBind1(1,3,d.itemModel.text)),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",!d.section.model.disabled),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",d.section.model.disabled)}}function H(C,D){if(1&C){const d=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",1),e.\u0275\u0275pipe(1,"translate"),e.\u0275\u0275elementStart(2,"button",8),e.\u0275\u0275listener("click",function(M){e.\u0275\u0275restoreView(d);const F=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(F.activate(M))}),e.\u0275\u0275element(3,"i",5),e.\u0275\u0275elementStart(4,"span",6),e.\u0275\u0275text(5),e.\u0275\u0275pipe(6,"translate"),e.\u0275\u0275elementEnd()()()}if(2&C){const d=e.\u0275\u0275nextContext();e.\u0275\u0275property("ngbTooltip",e.\u0275\u0275pipeBind1(1,6,d.itemModel.text)),e.\u0275\u0275advance(2),e.\u0275\u0275property("dsBtnDisabled",d.section.model.disabled),e.\u0275\u0275advance(1),e.\u0275\u0275classMapInterpolate1("fas fa-",d.section.icon," fa-fw"),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(6,8,d.itemModel.text))}}let z=((a=class extends _.q{constructor(D,d,j){super(D,d,j),this.menuService=d,this.injector=j,this.menuID=i.z.DSO_EDIT,this.itemModel=D.model}ngOnInit(){this.hasLink=(0,o.UE)(this.itemModel?.link),this.canActivate=(0,o.UE)(this.itemModel?.function),super.ngOnInit()}activate(D){D.preventDefault(),this.itemModel.disabled||this.itemModel.function(),D.stopPropagation()}}).\u0275fac=function(D){return new(D||a)(e.\u0275\u0275directiveInject("sectionDataProvider"),e.\u0275\u0275directiveInject(h.h),e.\u0275\u0275directiveInject(e.Injector))},a.\u0275cmp=e.\u0275\u0275defineComponent({type:a,selectors:[["ds-dso-edit-menu-section"]],features:[e.\u0275\u0275InheritDefinitionFeature],decls:2,vars:2,consts:[["class","dso-button-menu mb-1",3,"ngbTooltip",4,"ngIf"],[1,"dso-button-menu","mb-1",3,"ngbTooltip"],["class","btn btn-dark btn-sm",3,"routerLink",4,"ngIf"],["class","btn btn-dark btn-sm",3,"dsBtnDisabled",4,"ngIf"],[1,"btn","btn-dark","btn-sm",3,"routerLink"],["aria-hidden","true"],[1,"sr-only"],[1,"btn","btn-dark","btn-sm",3,"dsBtnDisabled"],[1,"btn","btn-dark","btn-sm",3,"dsBtnDisabled","click"]],template:function(D,d){1&D&&(e.\u0275\u0275template(0,G,4,5,"div",0),e.\u0275\u0275template(1,H,7,10,"div",0)),2&D&&(e.\u0275\u0275property("ngIf",!d.canActivate),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",d.canActivate))},dependencies:[y.rH,s.O5,R._L,n.v,p.X$],styles:[".btn-dark[_ngcontent-%COMP%]{background-color:var(--ds-admin-sidebar-bg)}"]}),a);z=(0,E.__decorate)([(0,v.h)(i.z.DSO_EDIT,!1),(0,E.__metadata)("design:paramtypes",[A.x,h.h,e.Injector])],z);var W,X=t(54004);function N(C,D){if(1&C&&e.\u0275\u0275element(0,"i"),2&C){const d=e.\u0275\u0275nextContext(2).$implicit;e.\u0275\u0275classMapInterpolate1("fas fa-",d.icon," fa-fw")}}function g(C,D){1&C&&e.\u0275\u0275element(0,"i",11)}function S(C,D){if(1&C&&(e.\u0275\u0275elementStart(0,"div",8),e.\u0275\u0275template(1,N,1,3,"i",9),e.\u0275\u0275template(2,g,1,0,"ng-template",null,10,e.\u0275\u0275templateRefExtractor),e.\u0275\u0275elementEnd()),2&C){const d=e.\u0275\u0275reference(3),j=e.\u0275\u0275nextContext().$implicit;e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",j.icon)("ngIfElse",d)}}function l(C,D){1&C&&e.\u0275\u0275elementContainer(0)}function m(C,D){if(1&C&&(e.\u0275\u0275elementStart(0,"li",5),e.\u0275\u0275template(1,S,4,2,"div",6),e.\u0275\u0275pipe(2,"async"),e.\u0275\u0275template(3,l,1,0,"ng-container",7),e.\u0275\u0275pipe(4,"async"),e.\u0275\u0275pipe(5,"async"),e.\u0275\u0275elementEnd()),2&C){const d=D.$implicit,j=e.\u0275\u0275nextContext();e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",e.\u0275\u0275pipeBind1(2,3,j.renderIcons$)),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngComponentOutlet",e.\u0275\u0275pipeBind1(4,5,j.sectionMap$).get(d.id).component)("ngComponentOutletInjector",e.\u0275\u0275pipeBind1(5,7,j.sectionMap$).get(d.id).injector)}}let I=((W=class extends _.q{constructor(D,d,j,M){super(D,d,j),this.menuService=d,this.injector=j,this.router=M,this.menuID=i.z.DSO_EDIT,this.itemModel=D.model}ngOnInit(){this.menuService.activateSection(this.menuID,this.section.id),super.ngOnInit(),this.renderIcons$=this.subSections$.pipe((0,X.U)(D=>D.some(d=>(0,o.Uh)(d.icon))))}}).\u0275fac=function(D){return new(D||W)(e.\u0275\u0275directiveInject("sectionDataProvider"),e.\u0275\u0275directiveInject(h.h),e.\u0275\u0275directiveInject(e.Injector),e.\u0275\u0275directiveInject(y.F0))},W.\u0275cmp=e.\u0275\u0275defineComponent({type:W,selectors:[["ds-dso-edit-menu-expandable-section"]],features:[e.\u0275\u0275InheritDefinitionFeature],decls:10,vars:16,consts:[["ngbDropdown","","container","body","placement","bottom-right",1,"dso-button-menu","mb-1"],["container","body",1,"d-flex","flex-row","flex-nowrap",3,"ngbTooltip"],["ngbDropdownToggle","",1,"btn","btn-dark","btn-sm",3,"title","dsBtnDisabled"],["ngbDropdownMenu","",1,"dso-edit-menu-dropdown"],["class","nav-item nav-link d-flex flex-row",4,"ngFor","ngForOf"],[1,"nav-item","nav-link","d-flex","flex-row"],["class","mr-2",4,"ngIf"],[4,"ngComponentOutlet","ngComponentOutletInjector"],[1,"mr-2"],[3,"class",4,"ngIf","ngIfElse"],["spacer",""],[1,"fas","fa-fw"]],template:function(D,d){1&D&&(e.\u0275\u0275elementStart(0,"div",0)(1,"div",1),e.\u0275\u0275pipe(2,"translate"),e.\u0275\u0275elementStart(3,"button",2),e.\u0275\u0275pipe(4,"translate"),e.\u0275\u0275pipe(5,"translate"),e.\u0275\u0275element(6,"i"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(7,"ul",3),e.\u0275\u0275template(8,m,6,9,"li",4),e.\u0275\u0275pipe(9,"async"),e.\u0275\u0275elementEnd()()()),2&D&&(e.\u0275\u0275advance(1),e.\u0275\u0275property("ngbTooltip",e.\u0275\u0275pipeBind1(2,8,d.itemModel.text)),e.\u0275\u0275advance(2),e.\u0275\u0275property("title",e.\u0275\u0275pipeBind1(5,12,d.itemModel.text))("dsBtnDisabled",null==d.section.model?null:d.section.model.disabled),e.\u0275\u0275attribute("aria-label",e.\u0275\u0275pipeBind1(4,10,d.itemModel.text)),e.\u0275\u0275advance(3),e.\u0275\u0275classMapInterpolate1("fas fa-",d.section.icon," fa-fw"),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngForOf",e.\u0275\u0275pipeBind1(9,14,d.subSections$)))},dependencies:[s.$G,s.sg,s.O5,R._L,R.jt,R.iD,R.Vi,n.v,p.X$,s.Ov],styles:[".btn-dark[_ngcontent-%COMP%]{background-color:var(--ds-admin-sidebar-bg)}.dso-button-menu[_ngcontent-%COMP%] .dropdown-toggle[_ngcontent-%COMP%]:after{display:none}ul.dropdown-menu[_ngcontent-%COMP%]{background-color:var(--ds-admin-sidebar-bg);color:#fff}ul.dropdown-menu[_ngcontent-%COMP%] a{color:#fff}ul.dropdown-menu[_ngcontent-%COMP%] a.disabled{color:var(--bs-btn-link-disabled-color)}ul.dropdown-menu[_ngcontent-%COMP%] .disabled[_ngcontent-%COMP%]{color:var(--bs-btn-link-disabled-color)}.dso-edit-menu-dropdown[_ngcontent-%COMP%]{max-width:min(600px,75vw)}"]}),W);I=(0,E.__decorate)([(0,v.h)(i.z.DSO_EDIT,!0),(0,E.__metadata)("design:paramtypes",[A.x,h.h,e.Injector,y.F0])],I);var c=t(44186);const B=[],Y=[p.aw,y.Bz,s.ez,R.HK,R.XC,c.m],w=[];let Q=(()=>{class C{}return C.\u0275fac=function(d){return new(d||C)},C.\u0275mod=e.\u0275\u0275defineNgModule({type:C}),C.\u0275inj=e.\u0275\u0275defineInjector({providers:[...w,...B],imports:[Y]}),C})()},66370:(K,O,t)=>{"use strict";t.d(O,{f:()=>v}),t(42621);var y=t(95698),s=t(24702),P=t(94650),E=t(33723),e=t(66481);let v=(()=>{class _{constructor(o,i){this.angulartics2=o,this.referrerService=i}ngOnInit(){this.sub=this.referrerService.getReferrer().pipe((0,y.q)(1)).subscribe(o=>{this.angulartics2.eventTrack.next({action:"page_view",properties:{object:this.object,referrer:o}})})}ngOnDestroy(){(0,s.Uh)(this.sub)&&this.sub.unsubscribe()}}return _.\u0275fac=function(o){return new(o||_)(P.\u0275\u0275directiveInject(E.b),P.\u0275\u0275directiveInject(e.V))},_.\u0275cmp=P.\u0275\u0275defineComponent({type:_,selectors:[["ds-view-tracker"]],inputs:{object:"object"},decls:1,vars:0,template:function(o,i){1&o&&P.\u0275\u0275text(0,"\xa0\n")},styles:["[_nghost-%COMP%]{display:none}"]}),_})()},67695:(K,O,t)=>{var p={"./custom/app/community-page/community-page.component":[90351,351]};function y(s){if(!t.o(p,s))return Promise.resolve().then(()=>{var e=new Error("Cannot find module '"+s+"'");throw e.code="MODULE_NOT_FOUND",e});var P=p[s],E=P[0];return t.e(P[1]).then(()=>t(E))}y.keys=()=>Object.keys(p),y.id=67695,K.exports=y},89108:(K,O,t)=>{var p={"./custom/app/community-page/sub-collection-list/community-page-sub-collection-list.component":[13813,3813]};function y(s){if(!t.o(p,s))return Promise.resolve().then(()=>{var e=new Error("Cannot find module '"+s+"'");throw e.code="MODULE_NOT_FOUND",e});var P=p[s],E=P[0];return t.e(P[1]).then(()=>t(E))}y.keys=()=>Object.keys(p),y.id=89108,K.exports=y},58655:(K,O,t)=>{var p={"./custom/app/community-page/sub-community-list/community-page-sub-community-list.component":[10074,74]};function y(s){if(!t.o(p,s))return Promise.resolve().then(()=>{var e=new Error("Cannot find module '"+s+"'");throw e.code="MODULE_NOT_FOUND",e});var P=p[s],E=P[0];return t.e(P[1]).then(()=>t(E))}y.keys=()=>Object.keys(p),y.id=58655,K.exports=y}}]);
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.