import{a as A}from"./chunk-FAZDIGO2.js";import{b as f,d as C}from"./chunk-C2WGQZZS.js";import"./chunk-4NKYXKKW.js";import"./chunk-LNWF7VZ2.js";import"./chunk-T6NRFYFX.js";import{e as o,f as T}from"./chunk-RQCMKSAN.js";import"./chunk-JI65IOIM.js";import{O as k}from"./chunk-57DG2VC5.js";import"./chunk-NMMBNW5X.js";import"./chunk-5IDV7BCW.js";import"./chunk-CVFNZXIB.js";import{e as v,f as M}from"./chunk-EU5XKS65.js";import"./chunk-XALE2GEX.js";import{o as a,p as w}from"./chunk-GJIGZB63.js";import"./chunk-TOJME4VO.js";import"./chunk-2CD72B3Z.js";import"./chunk-4TDNJBFX.js";import"./chunk-4LZAXRJQ.js";import"./chunk-XHRSSCXW.js";import"./chunk-5VDVFGVW.js";import{p as h}from"./chunk-NLMVBXFK.js";import"./chunk-BUHB7MLU.js";import"./chunk-KUS3L5XF.js";import{Eb as s,Fb as p,Fd as d,Ib as m,Kb as l,Vb as c,ec as u,la as n,sb as r}from"./chunk-J476KISY.js";function g(e,S){e&1&&u(0,"paw-main-module-view")}var F=(()=>{class e extends A{constructor(t,i){super(),this.helpService=t,this.userAuthService=i}ngOnInit(){this.setHelp()}ngOnDestroy(){this.helpService.clearHelp()}setHelp(){this.helpService.setHelpUrls(this.getHelpForLicence(this.userAuthService.licence.licence))}getHelpForLicence(t){switch(t){case a.CM:return{help:o.TasksLicenseCM,example:o.ExampleTasks,video:""};case a.WP:return{help:o.Tasks,example:o.ExampleTasks,video:""}}return{help:o.Tasks,example:o.ExampleTasks,video:""}}static{this.\u0275fac=function(i){return new(i||e)(r(T),r(w))}}static{this.\u0275cmp=s({type:e,selectors:[["paw-task"]],standalone:!1,features:[m],decls:1,vars:2,consts:[[4,"pawAuthFeature","pawAuthFeatureShowNotAllowed"]],template:function(i,H){i&1&&l(0,g,1,0,"paw-main-module-view",0),i&2&&c("pawAuthFeature","Tasks.Access")("pawAuthFeatureShowNotAllowed",!0)},dependencies:[f,v],encapsulation:2})}}return e})();var W=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=p({type:e})}static{this.\u0275inj=n({imports:[d,C,k,M,h.forChild([{path:"",component:F,children:[{path:"",redirectTo:"task-main",pathMatch:"full"},{path:"task-main",loadChildren:()=>import("./chunk-P6UCS6P7.js").then(t=>t.TaskMainModule)},{path:"task-form",loadChildren:()=>import("./chunk-JZ256AQL.js").then(t=>t.TaskFormModule)}]}])]})}}return e})();export{W as TaskModule};
