import{a as F}from"./chunk-FAZDIGO2.js";import{b as w,d as A}from"./chunk-WX63IFDP.js";import"./chunk-7CPWWFHE.js";import"./chunk-X6UPRG7K.js";import"./chunk-B7C5HNNP.js";import"./chunk-J25DWYAL.js";import"./chunk-RAH5V445.js";import"./chunk-EODP4Z73.js";import{b as o,c as C}from"./chunk-4AOSHZTN.js";import{k as T}from"./chunk-ZZNPAPIF.js";import"./chunk-J2K6XPCC.js";import"./chunk-Z5VIOXYK.js";import"./chunk-KERO2S36.js";import"./chunk-KCUKQ67F.js";import{e as M,f as k}from"./chunk-VH2CTNDD.js";import"./chunk-FU3L2UE5.js";import{A as v,B as H,w as a,x as S}from"./chunk-ISCRPPFS.js";import"./chunk-RZVYIWPU.js";import"./chunk-2AAPUETT.js";import"./chunk-4TDNJBFX.js";import"./chunk-DRQJ626T.js";import"./chunk-JOS5ROAP.js";import"./chunk-GYIOPDJL.js";import{p as f}from"./chunk-3Y5U3B3K.js";import"./chunk-QBH5ADXQ.js";import"./chunk-AIB6DFCP.js";import{$b as c,Kb as s,Lb as p,Nd as h,Ob as m,Qb as l,Td as g,kc as u,od as d,ra as n,yb as r}from"./chunk-EBMUBP7P.js";g();S();d();H();function D(e,I){e&1&&u(0,"paw-main-module-view")}var x=(()=>{class e extends F{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(C),r(v))}}static{this.\u0275cmp=s({type:e,selectors:[["paw-task"]],standalone:!1,features:[m],decls:1,vars:2,consts:[[4,"pawAuthFeature","pawAuthFeatureShowNotAllowed"]],template:function(i,_){i&1&&l(0,D,1,0,"paw-main-module-view",0),i&2&&c("pawAuthFeature","Tasks.Access")("pawAuthFeatureShowNotAllowed",!0)},dependencies:[w,M],encapsulation:2})}}return e})();d();var G=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=p({type:e})}static{this.\u0275inj=n({imports:[h,A,T,k,f.forChild([{path:"",component:x,children:[{path:"",redirectTo:"task-main",pathMatch:"full"},{path:"task-main",loadChildren:()=>import("./chunk-FOW5QCHB.js").then(t=>t.TaskMainModule)},{path:"task-form",loadChildren:()=>import("./chunk-O5OQVRCS.js").then(t=>t.TaskFormModule)}]}])]})}}return e})();export{G as TaskModule};
