"use strict";(self.webpackChunkworklenz=self.webpackChunkworklenz||[]).push([[921],{38265:(Y,w,l)=>{l.d(w,{u:()=>O});var P=l(96814),_=l(8083),i=l(65879);let O=(()=>{var A;class T{}return(A=T).\u0275fac=function(R){return new(R||A)},A.\u0275cmp=i.Xpm({type:A,selectors:[["worklenz-na"]],standalone:!0,features:[i.jDz],decls:2,vars:1,consts:[["nz-typography","",3,"nzType"]],template:function(R,g){1&R&&(i.TgZ(0,"span",0),i._uU(1,"-"),i.qZA()),2&R&&i.Q6J("nzType","secondary")},dependencies:[P.ez,_.ZJ,_.ZU],changeDetection:0}),T})()},47381:(Y,w,l)=>{l.d(w,{t:()=>A});var P=l(96814),_=l(62595),i=l(65879);function O(T,M){if(1&T&&i._UZ(0,"span",4),2&T){const R=i.oxw();i.Q6J("nzType",R.icon)("nzTheme","outline")}}let A=(()=>{var T;class M{constructor(){this.icon=null}}return(T=M).\u0275fac=function(g){return new(g||T)},T.\u0275cmp=i.Xpm({type:T,selectors:[["worklenz-rpt-drawer-title"]],inputs:{title:"title",icon:"icon"},standalone:!0,features:[i.jDz],decls:7,vars:4,consts:[[1,"d-flex","align-items-center"],["nz-icon","",3,"nzType","nzTheme"],["nz-icon","","class","ms-2",3,"nzType","nzTheme",4,"ngIf"],[1,"ellipsis"],["nz-icon","",1,"ms-2",3,"nzType","nzTheme"]],template:function(g,p){1&g&&(i.TgZ(0,"div",0),i._UZ(1,"span",1),i._uU(2,"\xa0 "),i.YNc(3,O,1,2,"span",2),i._uU(4,"\xa0 "),i.TgZ(5,"span",3),i._uU(6),i.qZA()()),2&g&&(i.xp6(1),i.Q6J("nzType","left")("nzTheme","outline"),i.xp6(2),i.Q6J("ngIf",p.icon),i.xp6(3),i.Oqu(p.title))},dependencies:[P.ez,P.O5,_.PV,_.Ls],styles:[".ellipsis[_ngcontent-%COMP%]{max-width:325px;line-height:24px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}"],changeDetection:0}),M})()},16196:(Y,w,l)=>{l.d(w,{U:()=>A});var P=l(26857),_=l(69649),i=l(65879),O=l(69862);let A=(()=>{var T;class M extends P.P{constructor(g){super(),this.http=g,this.root=`${this.API_BASE_URL}/reporting`}getInfo(){return this._get(this.http,`${this.root}/info`)}getOverviewStatistics(g=!1){const p=(0,_.UK)({archived:g});return this._get(this.http,`${this.root}/overview/statistics${p}`)}getOverviewTeams(g=!0){const p=(0,_.UK)({archived:g});return this._get(this.http,`${this.root}/overview/teams${p}`)}getOverviewProjects(g=null){const p=(0,_.UK)(g);return this._get(this.http,`${this.root}/overview/projects${p}`)}getOverviewProjectsByTeam(g,p){const b=(0,_.UK)({member:p||null});return this._get(this.http,`${this.root}/overview/projects/${g}${b}`)}getOverviewMembersByTeam(g,p){const b=(0,_.UK)({archived:p});return this._get(this.http,`${this.root}/overview/members/${g}${b}`)}getTeamInfo(g,p=!1){const b=(0,_.UK)({archived:p});return this._get(this.http,`${this.root}/overview/team/info/${g}${b}`)}getProjectInfo(g){return this._get(this.http,`${this.root}/overview/project/info/${g}`)}getMemberInfo(g=null){const p=(0,_.UK)(g);return this._get(this.http,`${this.root}/overview/member/info/${p}`)}getTeamMemberInfo(g=null){const p=(0,_.UK)(g);return this._get(this.http,`${this.root}/overview/team-member/info/${p}`)}getProjectMembers(g){return this._get(this.http,`${this.root}/overview/project/members/${g}`)}getTasks(g,p){const b=(0,_.UK)({group:p});return this._get(this.http,`${this.root}/overview/project/tasks/${g}${b}`)}getTasksByMember(g,p=null,b,B=null,S=null){const G=(0,_.UK)({project:p||null,is_multiple:b,teamId:B,only_single_member:S.only_single_member,duration:S.duration,date_range:S.date_range,archived:S.archived});return this._get(this.http,`${this.root}/overview/member/tasks/${g}${G}`)}getProjects(g=null){const p=(0,_.UK)(g);return this._get(this.http,`${this.root}/projects${p}`)}getProjectTimeLogs(g){return this._post(this.http,`${this.root}/project-timelogs`,g)}getCategories(g){return this._post(this.http,`${this.root}/allocation/categories`,g)}getAllocationProjects(g,p,b){return this._post(this.http,`${this.root}/allocation/projects`,{selectedTeams:g,selectedCategories:p,noCategoryIncluded:b})}getAllocationData(g={},p=!1){const b=(0,_.UK)({archived:p});return this._post(this.http,`${this.root}/allocation${b}`,g)}getMembers(g=null){const p=(0,_.UK)(g);return this._get(this.http,`${this.root}/members${p}`)}getMemberProjects(g=null){const p=(0,_.UK)(g);return this._get(this.http,`${this.root}/member-projects${p}`)}getProjectTimeSheets(g={},p=!1){const b=(0,_.UK)({archived:p});return this._post(this.http,`${this.root}/time-reports/projects${b}`,g)}getProjectEstimatedVsActual(g={},p=!1){const b=(0,_.UK)({archived:p});return this._post(this.http,`${this.root}/time-reports/estimated-vs-actual${b}`,g)}getMemberTimeSheets(g={},p=!1){const b=(0,_.UK)({archived:p});return this._post(this.http,`${this.root}/time-reports/members${b}`,g)}getSingleMemberActivities(g=null){return this._post(this.http,`${this.root}/members/single-member-activities`,g)}getSingleMemberTimeLogs(g=null){return this._post(this.http,`${this.root}/members/single-member-timelogs`,g)}getMemberTasksStats(g=null){const p=(0,_.UK)(g);return this._get(this.http,`${this.root}/members/single-member-task-stats${p}`)}getSingleMemberProjects(g=null){const p=(0,_.UK)(g);return this._get(this.http,`${this.root}/members/single-member-projects${p}`)}}return(T=M).\u0275fac=function(g){return new(g||T)(i.LFG(O.eN))},T.\u0275prov=i.Yz7({token:T,factory:T.\u0275fac,providedIn:"root"}),M})()},91921:(Y,w,l)=>{l.r(w),l.d(w,{ReportingModule:()=>lt});var P=l(96814),_=l(60095),i=l(62595),O=l(42840),A=l(62787),T=l(62612),M=l(92574),R=l(26254),g=l(33410),p=l(8083),b=l(35420),B=l(15861),S=l(86408),G=l(27782),W=l(17816),m=l(98137),te=function(){if(typeof window<"u"){if(window.devicePixelRatio)return window.devicePixelRatio;var e=window.screen;if(e)return(e.deviceXDPI||1)/(e.logicalXDPI||1)}return 1}(),j_textSize=function(e,r,t){var h,n=[].concat(r),a=n.length,o=e.font,s=0;for(e.font=t.string,h=0;ht.right&&(n|=V),rt.bottom&&(n|=q),n}function L(e,r){var a,o,t=r.anchor,n=e;return r.clamp&&(n=function ae(e,r){for(var u,v,y,t=e.x0,n=e.y0,a=e.x1,o=e.y1,s=J(t,n,r),h=J(a,o,r);s|h&&!(s&h);)(u=s||h)&re?(v=t+(a-t)*(r.top-n)/(o-n),y=r.top):u&q?(v=t+(a-t)*(r.bottom-n)/(o-n),y=r.bottom):u&V?(y=n+(o-n)*(r.right-t)/(a-t),v=r.right):u&ne&&(y=n+(o-n)*(r.left-t)/(a-t),v=r.left),u===s?s=J(t=v,n=y,r):h=J(a=v,o=y,r);return{x0:t,x1:a,y0:n,y1:o}}(n,r.area)),"start"===t?(a=n.x0,o=n.y0):"end"===t?(a=n.x1,o=n.y1):(a=(n.x0+n.x1)/2,o=(n.y0+n.y1)/2),function le(e,r,t,n,a){switch(a){case"center":t=n=0;break;case"bottom":t=0,n=1;break;case"right":t=1,n=0;break;case"left":t=-1,n=0;break;case"top":t=0,n=-1;break;case"start":t=-t,n=-n;break;case"end":break;default:a*=Math.PI/180,t=Math.cos(a),n=Math.sin(a)}return{x:e,y:r,vx:t,vy:n}}(a,o,e.vx,e.vy,r.align)}var k={arc:function(e,r){var t=(e.startAngle+e.endAngle)/2,n=Math.cos(t),a=Math.sin(t),o=e.innerRadius,s=e.outerRadius;return L({x0:e.x+n*o,y0:e.y+a*o,x1:e.x+n*s,y1:e.y+a*s,vx:n,vy:a},r)},point:function(e,r){var t=X(e,r.origin),n=t.x*e.options.radius,a=t.y*e.options.radius;return L({x0:e.x-n,y0:e.y-a,x1:e.x+n,y1:e.y+a,vx:t.x,vy:t.y},r)},bar:function(e,r){var t=X(e,r.origin),n=e.x,a=e.y,o=0,s=0;return e.horizontal?(n=Math.min(e.x,e.base),o=Math.abs(e.base-e.x)):(a=Math.min(e.y,e.base),s=Math.abs(e.base-e.y)),L({x0:n,y0:a+s,x1:n+o,y1:a,vx:t.x,vy:t.y},r)},fallback:function(e,r){var t=X(e,r.origin);return L({x0:e.x,y0:e.y,x1:e.x+(e.width||0),y1:e.y+(e.height||0),vx:t.x,vy:t.y},r)}},$=function(e){return Math.round(e*te)/te};function he(e,r){var t=r.chart.getDatasetMeta(r.datasetIndex).vScale;if(!t)return null;if(void 0!==t.xCenter&&void 0!==t.yCenter)return{x:t.xCenter,y:t.yCenter};var n=t.getBasePixel();return e.horizontal?{x:n,y:null}:{x:null,y:n}}function ze(e){return e instanceof W.qi?k.arc:e instanceof W.od?k.point:e instanceof W.ZL?k.bar:k.fallback}function x(e,r,t){var n=e.shadowBlur,a=t.stroked,o=$(t.x),s=$(t.y),h=$(t.w);a&&e.strokeText(r,o,s,h),t.filled&&(n&&a&&(e.shadowBlur=0),e.fillText(r,o,s,h),n&&a&&(e.shadowBlur=n))}var D=function(e,r,t,n){var a=this;a._config=e,a._index=n,a._model=null,a._rects=null,a._ctx=r,a._el=t};(0,m.a4)(D.prototype,{_modelize:function(e,r,t,n){var a=this,o=a._index,s=(0,m.a0)((0,m.a)([t.font,{}],n,o)),h=(0,m.a)([t.color,m.d.color],n,o);return{align:(0,m.a)([t.align,"center"],n,o),anchor:(0,m.a)([t.anchor,"center"],n,o),area:n.chart.chartArea,backgroundColor:(0,m.a)([t.backgroundColor,null],n,o),borderColor:(0,m.a)([t.borderColor,null],n,o),borderRadius:(0,m.a)([t.borderRadius,0],n,o),borderWidth:(0,m.a)([t.borderWidth,0],n,o),clamp:(0,m.a)([t.clamp,!1],n,o),clip:(0,m.a)([t.clip,!1],n,o),color:h,display:e,font:s,lines:r,offset:(0,m.a)([t.offset,4],n,o),opacity:(0,m.a)([t.opacity,1],n,o),origin:he(a._el,n),padding:(0,m.E)((0,m.a)([t.padding,4],n,o)),positioner:ze(a._el),rotation:(0,m.a)([t.rotation,0],n,o)*(Math.PI/180),size:j_textSize(a._ctx,r,s),textAlign:(0,m.a)([t.textAlign,"start"],n,o),textShadowBlur:(0,m.a)([t.textShadowBlur,0],n,o),textShadowColor:(0,m.a)([t.textShadowColor,h],n,o),textStrokeColor:(0,m.a)([t.textStrokeColor,h],n,o),textStrokeWidth:(0,m.a)([t.textStrokeWidth,0],n,o)}},update:function(e){var s,h,u,r=this,t=null,n=null,a=r._index,o=r._config,v=(0,m.a)([o.display,!0],e,a);v&&(h=(0,m.v)((0,m.Q)(o.formatter,[s=e.dataset.data[a],e]),s),(u=(0,m.k)(h)?[]:function(e){var t,r=[];for(e=[].concat(e);e.length;)"string"==typeof(t=e.pop())?r.unshift.apply(r,t.split("\n")):Array.isArray(t)?e.push.apply(e,t):(0,m.k)(e)||r.unshift(""+t);return r}(h)).length&&(n=function ce(e){var r=e.borderWidth||0,t=e.padding,n=e.size.height,a=e.size.width,o=-a/2,s=-n/2;return{frame:{x:o-t.left-r,y:s-t.top-r,w:a+t.width+2*r,h:n+t.height+2*r},text:{x:o,y:s,w:a,h:n}}}(t=r._modelize(v,u,o,e)))),r._model=t,r._rects=n},geometry:function(){return this._rects?this._rects.frame:{}},rotation:function(){return this._model?this._model.rotation:0},visible:function(){return this._model&&this._model.opacity},model:function(){return this._model},draw:function(e,r){var s,n=e.ctx,a=this._model,o=this._rects;this.visible()&&(n.save(),a.clip&&(s=a.area,n.beginPath(),n.rect(s.left,s.top,s.right-s.left,s.bottom-s.top),n.clip()),n.globalAlpha=function(e,r,t){return Math.max(e,Math.min(r,t))}(0,a.opacity,1),n.translate($(r.x),$(r.y)),n.rotate(a.rotation),function c(e,r,t){var n=t.backgroundColor,a=t.borderColor,o=t.borderWidth;!n&&(!a||!o)||(e.beginPath(),function ge(e,r,t,n,a,o){var s=Math.PI/2;if(o){var h=Math.min(o,a/2,n/2),u=r+h,v=t+h,y=r+n-h,C=t+a-h;e.moveTo(r,v),un.x+n.w+2||e.y>n.y+n.h+2)},intersects:function(e){var a,o,s,r=this._points(),t=e._points(),n=[ie(r[0],r[1]),ie(r[0],r[3])];for(this._rotation!==e._rotation&&n.push(ie(t[0],t[1]),ie(t[0],t[3])),a=0;au.getProps([v],!0)[v]}),o=n.geometry(),s=xe(h,n.model(),o),a._box.update(s,o,n.rotation()));(function De(e,r){var t,n,a,o;for(t=e.length-1;t>=0;--t)for(a=e[t].$layout,n=t-1;n>=0&&a._visible;--n)(o=e[n].$layout)._visible&&a._box.intersects(o._box)&&r(a,o)})(e,function(u,v){var y=u._hidable,C=v._hidable;y&&C||C?v._visible=!1:y&&(u._visible=!1)})}(e)},lookup:function(e,r){var t,n;for(t=e.length-1;t>=0;--t)if((n=e[t].$layout)&&n._visible&&n._box.contains(r))return e[t];return null},draw:function(e,r){var t,n,a,o,s,h;for(t=0,n=r.length;t{var e;class r{get organization(){return this.service.currentOrganization}constructor(n,a,o,s,h){this.cdr=n,this.service=a,this.api=o,this.renderer=s,this.ngZone=h,this.collapsed=!1,this.loading=!1,this.opened=!1,W.kL.register(Ie)}ngOnInit(){S.s.track(G.H7),this.getInfo(),this.ngZone.runOutsideAngular(()=>{this.opened=!!window.location.href.includes("/time-sheet-"),this.renderer.addClass(document.body,"reporting")})}ngOnDestroy(){this.ngZone.runOutsideAngular(()=>{this.renderer.removeClass(document.body,"reporting")})}getInfo(){var n=this;return(0,B.Z)(function*(){try{n.loading=!0;const a=yield n.api.getInfo();a.done&&(n.service.currentOrganization=a.body.organization_name),n.loading=!1}catch{n.loading=!1}n.cdr.markForCheck()})()}}return(e=r).\u0275fac=function(n){return new(n||e)(d.Y36(d.sBO),d.Y36(Se.m),d.Y36(Le.U),d.Y36(d.Qsj),d.Y36(d.R0b))},e.\u0275cmp=d.Xpm({type:e,selectors:[["worklenz-rpt-layout"]],decls:28,vars:55,consts:[[1,"reporting-tab-module"],[3,"nzCollapsible","nzCollapsed","nzCollapsedWidth","nzWidth","nzTrigger","nzCollapsedChange"],["nz-typography","","nz-tooltip","",3,"nzTooltipTitle","ngSwitch"],["nzType","input","nzSize","default","style","width:100%",3,"nzActive",4,"ngSwitchCase"],[4,"ngSwitchCase"],["nz-menu","",3,"nzMode"],["nz-menu-item","",3,"routerLink","routerLinkActive","routerLinkActiveOptions"],["nz-submenu","",1,"reporting-submenu",3,"nzTitle","nzOpen"],["nz-menu-item","",1,"ps-26",3,"routerLink","routerLinkActive","routerLinkActiveOptions"],["nz-menu-item","",1,"ps-26","d-block","ellipsis-trigger",3,"routerLink","routerLinkActive","routerLinkActiveOptions"],[1,"reporting-page-content","position-relative",3,"ngClass"],["nz-icon","",1,"trigger",3,"nzType","click"],[1,"inner-content"],["nzType","input","nzSize","default",2,"width","100%",3,"nzActive"],["nz-icon","",3,"nzType","nzTheme"]],template:function(n,a){1&n&&(d.TgZ(0,"div",0)(1,"nz-layout")(2,"nz-sider",1),d.NdJ("nzCollapsedChange",function(s){return a.collapsed=s}),d.TgZ(3,"p",2),d.YNc(4,Be,1,1,"nz-skeleton-element",3),d.YNc(5,je,3,3,"ng-container",4),d.qZA(),d.TgZ(6,"ul",5)(7,"li",6),d._uU(8,"Overview "),d.qZA(),d.TgZ(9,"li",6),d._uU(10,"Projects "),d.qZA(),d.TgZ(11,"li",6),d._uU(12,"Members "),d.qZA(),d.TgZ(13,"li",7)(14,"ul")(15,"li",8),d._uU(16,"Overview "),d.qZA(),d.TgZ(17,"li",8),d._uU(18,"Projects "),d.qZA(),d.TgZ(19,"li",8),d._uU(20,"Members "),d.qZA(),d.TgZ(21,"li",9),d._uU(22,"Estimated vs Actual "),d.qZA()()()()(),d.TgZ(23,"nz-layout",10)(24,"nz-content")(25,"button",11),d.NdJ("click",function(){return a.collapsed=!a.collapsed}),d.qZA(),d.TgZ(26,"div",12),d._UZ(27,"router-outlet"),d.qZA()()()()()),2&n&&(d.xp6(2),d.Q6J("nzCollapsible",!0)("nzCollapsed",a.collapsed)("nzCollapsedWidth",0)("nzWidth",160)("nzTrigger",null),d.xp6(1),d.Q6J("nzTooltipTitle","Current Organization")("ngSwitch",a.loading),d.xp6(1),d.Q6J("ngSwitchCase",!0),d.xp6(1),d.Q6J("ngSwitchCase",!1),d.xp6(1),d.Q6J("nzMode","inline"),d.xp6(1),d.Udp("padding-left","14px"),d.Q6J("routerLink","overview")("routerLinkActive",d.DdM(41,N))("routerLinkActiveOptions",d.DdM(42,Z)),d.xp6(2),d.Udp("padding-left","14px"),d.Q6J("routerLink","projects")("routerLinkActive",d.DdM(43,N))("routerLinkActiveOptions",d.DdM(44,Z)),d.xp6(2),d.Udp("padding-left","14px"),d.Q6J("routerLink","members")("routerLinkActive",d.DdM(45,N))("routerLinkActiveOptions",d.DdM(46,Z)),d.xp6(2),d.Q6J("nzTitle","Time Reports")("nzOpen",a.opened),d.xp6(2),d.Q6J("routerLink","time-sheet-overview")("routerLinkActive",d.DdM(47,N))("routerLinkActiveOptions",d.DdM(48,Z)),d.xp6(2),d.Q6J("routerLink","time-sheet-projects")("routerLinkActive",d.DdM(49,N))("routerLinkActiveOptions",d.DdM(50,Z)),d.xp6(2),d.Q6J("routerLink","time-sheet-members")("routerLinkActive",d.DdM(51,N))("routerLinkActiveOptions",d.DdM(52,Z)),d.xp6(2),d.Q6J("routerLink","time-sheet-estimated-vs-actual")("routerLinkActive",d.DdM(53,N))("routerLinkActiveOptions",d.DdM(54,Z)),d.xp6(2),d.Q6J("ngClass",a.collapsed?"full":""),d.xp6(2),d.Q6J("nzType",a.collapsed?"right-circle":"left-circle"))},dependencies:[P.mk,P.RF,P.n9,ve.wO,ve.r9,ve.rY,Ue.w,i.Ls,g.hw,g.OK,g.t7,p.ZU,b.rH,b.lC,b.Od,Me.SY,pe.Xw,pe.yg],styles:['nz-header[_ngcontent-%COMP%]{background:white;padding:0}nz-sider[_ngcontent-%COMP%]{height:100vh;position:fixed;left:0}nz-sider[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{padding:15px 10px;text-align:center;margin:0;font-weight:700;background:rgba(0,0,0,.031372549)}nz-layout[_ngcontent-%COMP%]{background:white}.trigger[_ngcontent-%COMP%]{position:fixed;top:80px;padding:0;border-radius:100%;background-color:#fff;border:none;font-size:22px;cursor:pointer;color:#c5c5c5;z-index:1;transition:.3s all}.reporting-page-content[_ngcontent-%COMP%]{margin-left:160px;padding-left:24px;transition:.3s all}.reporting-page-content[_ngcontent-%COMP%] [_ngcontent-%COMP%]:before{content:"";position:fixed;left:160px;top:0;bottom:0;width:1px;background:rgb(240,240,240);transition:.3s all;z-index:0}.reporting-page-content.full[_ngcontent-%COMP%]{margin-left:10px}.reporting-page-content.full[_ngcontent-%COMP%] [_ngcontent-%COMP%]:before{left:10px;transition:.3s all}.reporting-page-content.full[_ngcontent-%COMP%] .trigger[_ngcontent-%COMP%]{left:0}.reporting-page-content[_ngcontent-%COMP%] .trigger[_ngcontent-%COMP%]{left:150px}.sider-ul[_ngcontent-%COMP%]{padding-left:0;overflow-x:hidden;border-top:1px solid rgba(0,0,0,.06);padding-top:16px;border-right:none}.sider-ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{padding-left:20px;height:40px;margin-bottom:8px;display:flex;align-items:center}.sider-ul[_ngcontent-%COMP%] li.active[_ngcontent-%COMP%]{color:#1890ff;border-right:2px solid #1890ff;background-color:#e6f7ff}.inner-content[_ngcontent-%COMP%]{padding-top:26px}[nz-menu-item][_ngcontent-%COMP%]{-webkit-user-select:none;user-select:none}.ps-26[_ngcontent-%COMP%]{padding-left:26px!important}.ellipsis-trigger[_ngcontent-%COMP%]{text-overflow:ellipsis}.ellipsis-trigger[_ngcontent-%COMP%]:hover{text-overflow:clip}'],changeDetection:0}),r})(),children:[{path:"",redirectTo:"overview",pathMatch:"full"},{path:"overview",loadChildren:()=>Promise.all([l.e(889),l.e(771),l.e(31),l.e(508)]).then(l.bind(l,15508)).then(e=>e.RptOverviewModule)},{path:"projects",loadChildren:()=>Promise.all([l.e(889),l.e(771),l.e(31),l.e(787)]).then(l.bind(l,71787)).then(e=>e.RptProjectsModule)},{path:"members",loadChildren:()=>Promise.all([l.e(889),l.e(771),l.e(31),l.e(787),l.e(89)]).then(l.bind(l,53089)).then(e=>e.RptMembersModule)},{path:"time-sheet-overview",loadChildren:()=>Promise.all([l.e(889),l.e(945)]).then(l.bind(l,83945)).then(e=>e.RptAllocationModule)},{path:"time-sheet-projects",loadChildren:()=>Promise.all([l.e(889),l.e(169)]).then(l.bind(l,91169)).then(e=>e.RptTimeProjectsModule)},{path:"time-sheet-members",loadChildren:()=>l.e(589).then(l.bind(l,42589)).then(e=>e.RptTimeMembersModule)},{path:"time-sheet-estimated-vs-actual",loadChildren:()=>l.e(226).then(l.bind(l,55226)).then(e=>e.RptTimeEstimationVsActualModule)}]}];let He=(()=>{var e;class r{}return(e=r).\u0275fac=function(n){return new(n||e)},e.\u0275mod=d.oAB({type:e}),e.\u0275inj=d.cJS({imports:[b.Bz.forChild(ke),b.Bz]}),r})();var Ne=l(9691),Ze=l(52682),Ke=l(29666),We=l(33640),Je=l(55695),Qe=l(38265),Fe=l(20824),Ye=l(3599),Ge=l(82669),Xe=l(13740),Ve=l(48522),qe=l(48128),et=l(47246),tt=l(43389),nt=l(43498),rt=l(96928),at=l(82962),ot=l(66987),it=l(47381),st=l(90565);let lt=(()=>{var e;class r{}return(e=r).\u0275fac=function(n){return new(n||e)},e.\u0275mod=d.oAB({type:e}),e.\u0275inj=d.cJS({imports:[P.ez,M.zf,A.b1,O.sL,i.PV,R.KJ,_.u5,T.Wr,g.wm,p.ZJ,He,Me.cg,pe.H0,Ne.LV,Ze.Hb,Ke.V,We.mS,Je.X,Qe.u,_.UX,Fe.o7,Ye.U5,Ge.j,Xe.HQ,Ve.a,qe.W,et.vQ,tt.BL,nt.FT,rt.Rt,at.vh,ot.S,it.t,st.cD]}),r})()},42012:(Y,w,l)=>{l.d(w,{m:()=>i});var P=l(78645),_=l(65879);let i=(()=>{var O;class A{constructor(){this._currentOrganization=null,this._currentTeam=null,this._duration=null,this._dateRange=[],this._drawerDuration=null,this._drawerDateRange=[],this._includeArchived=!1,this._durationChangedSbj$=new P.x,this._dateRangeChangedSbj$=new P.x,this._drawerDurationChangedSbj$=new P.x,this._drawerDateRangeChangedSbj$=new P.x,this._archivedToggleChangedSbj$=new P.x}get currentOrganization(){return this._currentOrganization}set currentOrganization(M){this._currentOrganization=M}setCurrentTeam(M){this._currentTeam=M}getCurrentTeam(){return this._currentTeam}setDuration(M){this._duration=M}setDrawerDuration(M){this._drawerDuration=M}setDateRange(M){this._dateRange=M}setDrawerDateRange(M){this._drawerDateRange=M}getDuration(){return this._duration}getDrawerDuration(){return this._drawerDuration}getDateRange(){return this._dateRange}getDrawerDateRange(){return this._drawerDateRange}setIncludeToggle(M){this._includeArchived=M}getIncludeToggle(){return this._includeArchived}get onDurationChange(){return this._durationChangedSbj$.asObservable()}emitDurationChanged(){this._durationChangedSbj$.next()}get onDrawerDurationChange(){return this._drawerDurationChangedSbj$.asObservable()}emitDrawerDurationChanged(){this._drawerDurationChangedSbj$.next()}get onDateRangeChange(){return this._dateRangeChangedSbj$.asObservable()}emitDateRangeChanged(){this._dateRangeChangedSbj$.next()}get onDrawerDateRangeChange(){return this._drawerDateRangeChangedSbj$.asObservable()}emitDrawerDateRangeChanged(){this._drawerDateRangeChangedSbj$.next()}get onIncludeToggleChange(){return this._archivedToggleChangedSbj$.asObservable()}emitIncludeToggleChanged(){this._archivedToggleChangedSbj$.next()}}return(O=A).\u0275fac=function(M){return new(M||O)},O.\u0275prov=_.Yz7({token:O,factory:O.\u0275fac,providedIn:"root"}),A})()},26254:(Y,w,l)=>{l.d(w,{$:()=>L,$O:()=>he,Jp:()=>ae,KJ:()=>ge,u9:()=>V,yG:()=>q});var P=l(49388),_=l(96814),i=l(65879),O=l(8324),A=l(62595),T=l(97582),M=l(78645),R=l(59773),g=l(37398),p=l(40874),b=l(1608),B=l(28802);function S(c,f){if(1&c&&(i.ynx(0),i._UZ(1,"span",9),i.BQk()),2&c){const x=f.$implicit,z=i.oxw(2);i.xp6(1),i.Q6J("nzType",x||z.getBackIcon())}}function G(c,f){if(1&c){const x=i.EpF();i.TgZ(0,"div",6),i.NdJ("click",function(){i.CHM(x);const D=i.oxw();return i.KtG(D.onBack())}),i.TgZ(1,"div",7),i.YNc(2,S,2,1,"ng-container",8),i.qZA()()}if(2&c){const x=i.oxw();i.xp6(2),i.Q6J("nzStringTemplateOutlet",x.nzBackIcon)}}function W(c,f){if(1&c&&(i.ynx(0),i._uU(1),i.BQk()),2&c){const x=i.oxw(2);i.xp6(1),i.Oqu(x.nzTitle)}}function m(c,f){if(1&c&&(i.TgZ(0,"span",10),i.YNc(1,W,2,1,"ng-container",8),i.qZA()),2&c){const x=i.oxw();i.xp6(1),i.Q6J("nzStringTemplateOutlet",x.nzTitle)}}function te(c,f){1&c&&i.Hsn(0,6,["*ngIf","!nzTitle"])}function j(c,f){if(1&c&&(i.ynx(0),i._uU(1),i.BQk()),2&c){const x=i.oxw(2);i.xp6(1),i.Oqu(x.nzSubtitle)}}function X(c,f){if(1&c&&(i.TgZ(0,"span",11),i.YNc(1,j,2,1,"ng-container",8),i.qZA()),2&c){const x=i.oxw();i.xp6(1),i.Q6J("nzStringTemplateOutlet",x.nzSubtitle)}}function le(c,f){1&c&&i.Hsn(0,7,["*ngIf","!nzSubtitle"])}const de=[[["nz-breadcrumb","nz-page-header-breadcrumb",""]],[["nz-avatar","nz-page-header-avatar",""]],[["nz-page-header-tags"],["","nz-page-header-tags",""]],[["nz-page-header-extra"],["","nz-page-header-extra",""]],[["nz-page-header-content"],["","nz-page-header-content",""]],[["nz-page-header-footer"],["","nz-page-header-footer",""]],[["nz-page-header-title"],["","nz-page-header-title",""]],[["nz-page-header-subtitle"],["","nz-page-header-subtitle",""]]],ne=["nz-breadcrumb[nz-page-header-breadcrumb]","nz-avatar[nz-page-header-avatar]","nz-page-header-tags, [nz-page-header-tags]","nz-page-header-extra, [nz-page-header-extra]","nz-page-header-content, [nz-page-header-content]","nz-page-header-footer, [nz-page-header-footer]","nz-page-header-title, [nz-page-header-title]","nz-page-header-subtitle, [nz-page-header-subtitle]"];let V=(()=>{var c;class f{}return(c=f).\u0275fac=function(z){return new(z||c)},c.\u0275dir=i.lG2({type:c,selectors:[["nz-page-header-title"],["","nz-page-header-title",""]],hostAttrs:[1,"ant-page-header-heading-title"],exportAs:["nzPageHeaderTitle"]}),f})(),q=(()=>{var c;class f{}return(c=f).\u0275fac=function(z){return new(z||c)},c.\u0275dir=i.lG2({type:c,selectors:[["nz-page-header-subtitle"],["","nz-page-header-subtitle",""]],hostAttrs:[1,"ant-page-header-heading-sub-title"],exportAs:["nzPageHeaderSubtitle"]}),f})(),ae=(()=>{var c;class f{}return(c=f).\u0275fac=function(z){return new(z||c)},c.\u0275dir=i.lG2({type:c,selectors:[["nz-page-header-extra"],["","nz-page-header-extra",""]],hostAttrs:[1,"ant-page-header-heading-extra"],exportAs:["nzPageHeaderExtra"]}),f})(),L=(()=>{var c;class f{}return(c=f).\u0275fac=function(z){return new(z||c)},c.\u0275dir=i.lG2({type:c,selectors:[["nz-page-header-footer"],["","nz-page-header-footer",""]],hostAttrs:[1,"ant-page-header-footer"],exportAs:["nzPageHeaderFooter"]}),f})(),k=(()=>{var c;class f{}return(c=f).\u0275fac=function(z){return new(z||c)},c.\u0275dir=i.lG2({type:c,selectors:[["nz-breadcrumb","nz-page-header-breadcrumb",""]],exportAs:["nzPageHeaderBreadcrumb"]}),f})(),he=(()=>{var c;class f{constructor(z,D,Q,U,H,oe){this.location=z,this.nzConfigService=D,this.elementRef=Q,this.nzResizeObserver=U,this.cdr=H,this.directionality=oe,this._nzModuleName="pageHeader",this.nzBackIcon=null,this.nzGhost=!0,this.nzBack=new i.vpe,this.compact=!1,this.destroy$=new M.x,this.dir="ltr"}ngOnInit(){this.directionality.change?.pipe((0,R.R)(this.destroy$)).subscribe(z=>{this.dir=z,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngAfterViewInit(){this.nzResizeObserver.observe(this.elementRef).pipe((0,g.U)(([z])=>z.contentRect.width),(0,R.R)(this.destroy$)).subscribe(z=>{this.compact=z<768,this.cdr.markForCheck()})}onBack(){if(this.nzBack.observers.length)this.nzBack.emit();else{if(!this.location)throw new Error(`${b.Bq} you should import 'RouterModule' or register 'Location' if you want to use 'nzBack' default event!`);this.location.back()}}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}getBackIcon(){return"rtl"===this.dir?"arrow-right":"arrow-left"}}return(c=f).\u0275fac=function(z){return new(z||c)(i.Y36(_.Ye,8),i.Y36(p.jY),i.Y36(i.SBq),i.Y36(B.D3),i.Y36(i.sBO),i.Y36(P.Is,8))},c.\u0275cmp=i.Xpm({type:c,selectors:[["nz-page-header"]],contentQueries:function(z,D,Q){if(1&z&&(i.Suo(Q,L,5),i.Suo(Q,k,5)),2&z){let U;i.iGM(U=i.CRH())&&(D.nzPageHeaderFooter=U.first),i.iGM(U=i.CRH())&&(D.nzPageHeaderBreadcrumb=U.first)}},hostAttrs:[1,"ant-page-header"],hostVars:10,hostBindings:function(z,D){2&z&&i.ekj("has-footer",D.nzPageHeaderFooter)("ant-page-header-ghost",D.nzGhost)("has-breadcrumb",D.nzPageHeaderBreadcrumb)("ant-page-header-compact",D.compact)("ant-page-header-rtl","rtl"===D.dir)},inputs:{nzBackIcon:"nzBackIcon",nzTitle:"nzTitle",nzSubtitle:"nzSubtitle",nzGhost:"nzGhost"},outputs:{nzBack:"nzBack"},exportAs:["nzPageHeader"],ngContentSelectors:ne,decls:13,vars:5,consts:[[1,"ant-page-header-heading"],[1,"ant-page-header-heading-left"],["class","ant-page-header-back",3,"click",4,"ngIf"],["class","ant-page-header-heading-title",4,"ngIf"],[4,"ngIf"],["class","ant-page-header-heading-sub-title",4,"ngIf"],[1,"ant-page-header-back",3,"click"],["role","button","tabindex","0",1,"ant-page-header-back-button"],[4,"nzStringTemplateOutlet"],["nz-icon","","nzTheme","outline",3,"nzType"],[1,"ant-page-header-heading-title"],[1,"ant-page-header-heading-sub-title"]],template:function(z,D){1&z&&(i.F$t(de),i.Hsn(0),i.TgZ(1,"div",0)(2,"div",1),i.YNc(3,G,3,1,"div",2),i.Hsn(4,1),i.YNc(5,m,2,1,"span",3),i.YNc(6,te,1,0,"ng-content",4),i.YNc(7,X,2,1,"span",5),i.YNc(8,le,1,0,"ng-content",4),i.Hsn(9,2),i.qZA(),i.Hsn(10,3),i.qZA(),i.Hsn(11,4),i.Hsn(12,5)),2&z&&(i.xp6(3),i.Q6J("ngIf",null!==D.nzBackIcon),i.xp6(2),i.Q6J("ngIf",D.nzTitle),i.xp6(1),i.Q6J("ngIf",!D.nzTitle),i.xp6(1),i.Q6J("ngIf",D.nzSubtitle),i.xp6(1),i.Q6J("ngIf",!D.nzSubtitle))},dependencies:[_.O5,O.f,A.Ls],encapsulation:2,changeDetection:0}),(0,T.gn)([(0,p.oS)()],f.prototype,"nzGhost",void 0),f})(),ge=(()=>{var c;class f{}return(c=f).\u0275fac=function(z){return new(z||c)},c.\u0275mod=i.oAB({type:c}),c.\u0275inj=i.cJS({imports:[P.vT,_.ez,O.T,A.PV]}),f})()}}]);