(self.webpackChunkressurectit_github_io=self.webpackChunkressurectit_github_io||[]).push([[8976],{21675:(t,e,n)=>{"use strict";n.d(e,{_:()=>c});var s=n(77901),l=n(20244),r=n(18070),o=n(60205);class i{transform(t,e="L"){return(0,l.isPresent)(t)&&((t=(0,r.Z)(t)).isValid||(t=null)),t?t.format(e):null}}i.ɵfac=function(t){return new(t||i)},i.ɵpipe=o.Yj({name:"momentFormat",type:i,pure:!0});var a=n(17144);class c{}c.ɵfac=function(t){return new(t||c)},c.ɵmod=o.oA({type:c}),c.ɵinj=a.cJ({}),("undefined"==typeof ngJitMode||ngJitMode)&&o.kY(c,{declarations:function(){return[s.P,i]},exports:function(){return[s.P,i]}})},5280:(t,e,n)=>{"use strict";n.d(e,{e:()=>p});var s=n(39946),l=n(76947),r=n(10544),o=n(52193),i=n(93239),a=n(25458),c=n(60205),u=n(17144);class p{}p.ɵfac=function(t){return new(t||p)},p.ɵmod=c.oA({type:p}),p.ɵinj=u.cJ({providers:[],imports:[[s.e,l.e]]}),("undefined"==typeof ngJitMode||ngJitMode)&&c.kY(p,{declarations:function(){return[a.z,o.g,r.F,i.i]},imports:function(){return[s.e,l.e]},exports:function(){return[a.z,o.g,r.F,i.i]}})},20513:(t,e,n)=>{"use strict";n.d(e,{i:()=>dt});var s=n(39946),l=n(89779),r=n(76947),o=n(54711),i=n(25349),a=n(12007),c=n(72715),u=n(64812),p=n(6292),d=n(96230),g=n(29579),f=n(25140),h=n(20244),m=n(89408),C=n(47391),y=n(54241),b=n(1293),x=n(84925),v=n(57076),_=n(85862),w=n(35540),O=n(3242),P=n(90779),Y=n(89942),S=n(83824),T=n(59478),B=n(14258),V=n(10748),I=n(84184),k=n(60205),F=n(90496),R=n(52838),Q=n(50651),M=n(46846),E=n(55668);function D(t,e){if(1&t&&(y.Tg(0,"span",7),b._(1),y.qZ()),2&t){const t=x.o(2).$implicit,e=x.o();v.Q("ngClass",null==e.options||null==e.options.cssClasses?null:e.options.cssClasses.spanContent),_.x(1),w.Oq(null==t?null:t.title)}}function q(t,e){}function J(t,e){if(1&t&&y._U(0,"span",7),2&t){const t=x.o(2).$implicit,e=x.o();v.Q("ngClass",e.mergeStringClasses(null==e.options||null==e.options.cssClasses?null:e.options.cssClasses.spanOrdering,null==t?null:t.orderingClass))}}function z(t,e){if(1&t&&(O.Y(0,D,2,2,"ng-template",3),O.Y(1,q,0,0,"ng-template",4,5,P.W),O.Y(3,J,1,1,"span",6)),2&t){const t=Y.M(2),e=x.o(),n=e.$implicit,s=e.index;v.Q("ngIf",!(null!=n&&n.headerTemplate))("ngIfElse",t),_.x(1),v.Q("ngTemplateOutlet",null==n?null:n.headerTemplate)("ngTemplateOutletContext",null==n?null:n.getColumnContext(null,n,s,0)),_.x(2),v.Q("ngIf",null==n?null:n.ordering)}}function Z(t,e){if(1&t){const t=S.E();y.Tg(0,"th",1),T.N("click",(function(){const e=B.CH(t).$implicit;return x.o().orderBy(e)})),O.Y(1,z,4,5,"ng-template",2),y.qZ()}if(2&t){const t=e.$implicit,n=x.o();V.Ud("top",n.fromStart,"px")("width",null==t?null:t.width),v.Q("ngClass",n.mergeStringClasses(null==n.options||null==n.options.cssClasses?null:n.options.cssClasses.thDefault,null==t?null:t.headerClass,null!=t&&t.ordering?null==n.options||null==n.options.cssClasses?null:n.options.cssClasses.thOrderable:null))("title",(null==t?null:t.headerTooltip)||(null==t?null:t.title)),_.x(1),v.Q("ngIf",null==t?null:t.titleVisible)}}const $={cssClasses:{thead:"",thDefault:"header-default",thOrderable:"header-orderable",spanContent:"header-content",spanOrdering:"header-ordering",spanOrderingDirection:{none:"fa fa-sort",asc:"fa fa-sort-up",desc:"fa fa-sort-down"}}};class X extends C.V{constructor(t,e,n,s){super(t,n,e),this._options=(0,h.extend)(!0,{},$,s)}get fromStart(){return this._scrollViewport?-this._scrollViewport.getOffsetToRenderedContentStart():0}get cssClass(){return this._options.cssClasses.thead}initialize(){super.initialize();let t=this.gridPlugins[f.Xd];this._scrollViewport=t.scrollViewport}}X.ɵfac=function(t){return new(t||X)(I.Y(i.SB),I.Y(m.sB),I.Y(g.e,8),I.Y(f.ss,8))},X.ɵcmp=k.Xp({type:X,selectors:[["thead",8,"virtual-scroll-content-renderer"]],hostVars:2,hostBindings:function(t,e){2&t&&V.To(e.cssClass)},features:[F.q],attrs:["class","virtual-scroll-content-renderer"],decls:2,vars:1,consts:[[3,"ngClass","top","width","title","click",4,"ngFor","ngForOf"],[3,"ngClass","title","click"],[3,"ngIf"],[3,"ngIf","ngIfElse"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["headerTemplate",""],[3,"ngClass",4,"ngIf"],[3,"ngClass"]],template:function(t,e){1&t&&(y.Tg(0,"tr"),O.Y(1,Z,2,7,"th",0),y.qZ()),2&t&&(_.x(1),v.Q("ngForOf",null==e.metadata?null:e.metadata.columns))},directives:[R.s,Q.m,M.O,E.t],styles:[".header-default[_ngcontent-%COMP%]\r\n{\r\n    white-space: nowrap;\r\n    position: sticky;\r\n}\r\n\r\n.header-orderable[_ngcontent-%COMP%]:hover\r\n{\r\n    background-color: #E3E3E3;\r\n    cursor: pointer;\r\n}\r\n\r\n.header-content[_ngcontent-%COMP%]\r\n{\r\n    white-space: normal;\r\n}"]}),X.ctorParameters=()=>[{type:i.SB},{type:m.sB},{type:void 0,decorators:[{type:a.tB,args:[g.e]},{type:a.Fi}]},{type:void 0,decorators:[{type:a.tB,args:[f.ss]},{type:a.Fi}]}],X.propDecorators={cssClass:[{type:c.pf,args:["class"]}]};var A=n(55483),N=n(86022),j=n(59272);function G(t,e){if(1&t&&b._(0),2&t){const t=x.o().$implicit,e=x.o().$implicit;w.hi(" ",e[null==t?null:t.name]," ")}}function H(t,e){}function L(t,e){if(1&t&&(y.Tg(0,"td",2),O.Y(1,G,1,1,"ng-template",3),O.Y(2,H,0,0,"ng-template",4,5,P.W),y.qZ()),2&t){const t=e.$implicit,n=Y.M(3),s=x.o(),l=s.$implicit,r=s.index,o=x.o();v.Q("ngClass",null==t?null:t.cellClass),N.u("data-header-title",null==t?null:t.title),_.x(1),v.Q("ngIf",!(null!=t&&t.bodyTemplate))("ngIfElse",n),_.x(1),v.Q("ngTemplateOutlet",null==t?null:t.bodyTemplate)("ngTemplateOutletContext",null==t?null:t.getColumnContext(l,t,r,o.startingIndex))}}function U(t,e){if(1&t&&(y.Tg(0,"tr"),O.Y(1,L,4,6,"ng-template",1),y.qZ()),2&t){const t=x.o();_.x(1),v.Q("ngForOf",null==t.metadata?null:t.metadata.columns)}}const W={};class K extends A.k{constructor(t,e,n,s){super(t,e,n),this._options=(0,h.extend)(!0,{},W,s)}}K.ɵfac=function(t){return new(t||K)(I.Y(i.SB),I.Y(m.sB),I.Y(g.e,8),I.Y(f.rX,8))},K.ɵcmp=k.Xp({type:K,selectors:[["tbody",8,"content-renderer"]],features:[F.q],attrs:["class","content-renderer"],decls:1,vars:1,consts:[[4,"cdkVirtualFor","cdkVirtualForOf"],["ngFor","",3,"ngForOf"],[3,"ngClass"],[3,"ngIf","ngIfElse"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["bodyTemplate",""]],template:function(t,e){1&t&&O.Y(0,U,2,1,"tr",0),2&t&&v.Q("cdkVirtualForOf",e.data)},directives:[j.x,R.s,Q.m,M.O,E.t],encapsulation:2}),K.ctorParameters=()=>[{type:i.SB},{type:m.sB},{type:void 0,decorators:[{type:a.tB,args:[g.e]},{type:a.Fi}]},{type:void 0,decorators:[{type:a.tB,args:[f.rX]},{type:a.Fi}]}];var tt=n(69016),et=n(78878),nt=n(36357);function st(t,e){}function lt(t,e){}const rt={itemSize:28,cssClasses:{table:"table table-condensed table-striped table-hover",containerDiv:"table-container",virtualScrollViewport:"viewport-container thin-scrollbar"},plugins:{bodyRenderer:{type:(0,o.Gp)((()=>K))},headerRenderer:{type:(0,o.Gp)((()=>X))}}};class ot extends d.D{constructor(t,e,n){super(t,e),this._options=(0,h.extend)(!0,{},rt,n)}get cssClass(){return this._options.cssClasses.containerDiv}}ot.ɵfac=function(t){return new(t||ot)(I.Y(i.SB),I.Y(g.e,8),I.Y(f.eP,8))},ot.ɵcmp=k.Xp({type:ot,selectors:[["div",8,"virtual-scroll-table-content-renderer"]],viewQuery:function(t,e){if(1&t&&tt.Gf(p.N,5),2&t){let t;tt.iG(t=tt.CR())&&(e.scrollViewport=t.first)}},hostVars:2,hostBindings:function(t,e){2&t&&V.To(e.cssClass)},features:[F.q],attrs:["class","virtual-scroll-table-content-renderer"],decls:4,vars:5,consts:[[3,"itemSize","ngClass"],[3,"ngClass"],[3,"ngComponentOutletEx","ngComponentOutletExCreated"]],template:function(t,e){1&t&&(y.Tg(0,"cdk-virtual-scroll-viewport",0),y.Tg(1,"table",1),O.Y(2,st,0,0,"ng-template",2),T.N("ngComponentOutletExCreated",(function(t){return e.setHeaderRendererComponent(t)})),O.Y(3,lt,0,0,"ng-template",2),T.N("ngComponentOutletExCreated",(function(t){return e.setBodyRendererComponent(t)})),y.qZ(),y.qZ()),2&t&&(v.Q("itemSize",null==e.options?null:e.options.itemSize)("ngClass",null==e.options||null==e.options.cssClasses?null:e.options.cssClasses.virtualScrollViewport),_.x(1),v.Q("ngClass",null==e.options||null==e.options.cssClasses?null:e.options.cssClasses.table),_.x(1),v.Q("ngComponentOutletEx",null==e.options||null==e.options.plugins||null==e.options.plugins.headerRenderer?null:e.options.plugins.headerRenderer.type),_.x(1),v.Q("ngComponentOutletEx",null==e.options||null==e.options.plugins||null==e.options.plugins.bodyRenderer?null:e.options.plugins.bodyRenderer.type))},directives:[p.N,et.xd,Q.m,nt.c],styles:[".table-container[_nghost-%COMP%]\r\n{\r\n    display: flex;\r\n    flex-direction: column;\r\n    flex: 1;\r\n    min-height: 0;\r\n}\r\n\r\n.viewport-container[_ngcontent-%COMP%]\r\n{\r\n    flex: 1;\r\n    min-height: 0;\r\n}"],changeDetection:0}),ot.ctorParameters=()=>[{type:i.SB},{type:void 0,decorators:[{type:a.tB,args:[g.e]},{type:a.Fi}]},{type:void 0,decorators:[{type:a.tB,args:[f.eP]},{type:a.Fi}]}],ot.propDecorators={cssClass:[{type:c.pf,args:["class"]}],scrollViewport:[{type:u.i9,args:[p.N]}]};var it=n(59798),at=n(49148);const ct={initialItemsPerPage:25,initialPage:1,loadPageTreshold:.8};class ut extends it.h{constructor(t,e,n,s){super(t,e,n),this._displayedPages=1,this._totalCount=0,this.moreAvailable=!0,this._options=(0,h.extend)(!0,{},ct,s)}get firstItemIndex(){return 0}get totalCount(){return this._totalCount}set totalCount(t){this._totalCount=t,this.moreAvailable=this._displayedPages*this.itemsPerPage<this._totalCount}ngOnDestroy(){super.ngOnDestroy(),this._scrollRangeChangeSubscription&&(this._scrollRangeChangeSubscription.unsubscribe(),this._scrollRangeChangeSubscription=null)}initialize(){super.initialize();let t=this.gridPlugins[f.Xd];if(!t||!t.scrollViewport)throw new Error('It is not possible to use "CdkVirtualScrollPagingComponent" without "VirtualScrollTableContentRenderer"');this._scrollViewport=t.scrollViewport,this._scrollRangeChangeSubscription&&(this._scrollRangeChangeSubscription.unsubscribe(),this._scrollRangeChangeSubscription=null),this._scrollRangeChangeSubscription=this._scrollViewport.renderedRangeStream.subscribe((t=>{let e=this._scrollViewport.getDataLength(),n=t.end;0!==e&&n/e>this._options.loadPageTreshold&&this._loadMore()}))}_loadMore(){this.moreAvailable&&(this._displayedPages++,this.page=this._displayedPages,this.pageChange.emit(this._displayedPages))}}ut.ɵfac=function(t){return new(t||ut)(I.Y(i.SB),I.Y(m.sB),I.Y(g.e,8),I.Y(at.P,8))},ut.ɵcmp=k.Xp({type:ut,selectors:[["cdk-virtual-scroll-paging"]],features:[F.q],decls:0,vars:0,template:function(t,e){},encapsulation:2,changeDetection:0}),ut.ctorParameters=()=>[{type:i.SB},{type:m.sB},{type:void 0,decorators:[{type:a.tB,args:[g.e]},{type:a.Fi}]},{type:void 0,decorators:[{type:a.tB,args:[at.P]},{type:a.Fi}]}];var pt=n(17144);class dt{}dt.ɵfac=function(t){return new(t||dt)},dt.ɵmod=k.oA({type:dt}),dt.ɵinj=pt.cJ({imports:[[s.e,r.e,l.C]]}),("undefined"==typeof ngJitMode||ngJitMode)&&k.kY(dt,{declarations:function(){return[ot,K,X,ut]},imports:function(){return[s.e,r.e,l.C]},exports:function(){return[ot,K,X,ut]}})},3742:(t,e,n)=>{"use strict";n.d(e,{y:()=>u});var s=n(39946),l=n(12908),r=n(39592),o=n(55097),i=n(23562),a=n(60205),c=n(17144);class u{}u.ɵfac=function(t){return new(t||u)},u.ɵmod=a.oA({type:u}),u.ɵinj=c.cJ({imports:[[s.e,l.I]]}),("undefined"==typeof ngJitMode||ngJitMode)&&a.kY(u,{declarations:function(){return[o.Z,r.I,i.H]},imports:function(){return[s.e,l.I]},exports:function(){return[o.Z,r.I,i.H]}})}}]);
//# sourceMappingURL=8976.client.es2015.chunk.6e1400c5f01fe3a86140.js.map