import{a as F}from"./chunk-FAZDIGO2.js";import{b as C,e as A}from"./chunk-5H5H6C4Y.js";import"./chunk-QEMINC2A.js";import"./chunk-P4KRQVGS.js";import"./chunk-HVLAIORG.js";import"./chunk-7NRTBDEV.js";import"./chunk-WTAT2E5Z.js";import"./chunk-4KB2I3K5.js";import"./chunk-4EEGS4SZ.js";import"./chunk-Y46LOK5X.js";import"./chunk-3PEMIHKH.js";import{o as T}from"./chunk-DFPET44C.js";import"./chunk-3SGEAGU4.js";import"./chunk-AXJC5PD4.js";import"./chunk-KX2PR432.js";import{c as v,d as M}from"./chunk-PCQVD4UN.js";import"./chunk-FUKRVTQR.js";import"./chunk-HMHHBN2H.js";import"./chunk-LTTEKZWN.js";import"./chunk-JD7XHN2Y.js";import"./chunk-PNYIEM2I.js";import{b as o,c as k}from"./chunk-WAKTITOT.js";import"./chunk-DIZJ6SFW.js";import"./chunk-NGFJDF4M.js";import{F as w,G as H,l as a,m as S}from"./chunk-DQXXLIFV.js";import{n as f}from"./chunk-BKF2JYPP.js";import"./chunk-OFEKULYN.js";import"./chunk-T3Q3DASN.js";import"./chunk-PYC6L6XB.js";import"./chunk-BEQYW66E.js";import{Ab as s,Bb as p,Eb as m,Fd as h,Gb as l,Ld as g,Rb as c,bc as u,ea as n,fd as d,ob as r}from"./chunk-LU6Q5ONP.js";import"./chunk-5VMFMKJR.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(k),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,_){i&1&&l(0,D,1,0,"paw-main-module-view",0),i&2&&c("pawAuthFeature","Tasks.Access")("pawAuthFeatureShowNotAllowed",!0)},dependencies:[C,v],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,M,f.forChild([{path:"",component:x,children:[{path:"",redirectTo:"task-main",pathMatch:"full"},{path:"task-main",loadChildren:()=>import("./chunk-66SFOJCN.js").then(t=>t.TaskMainModule)},{path:"task-form",loadChildren:()=>import("./chunk-2JQJNNGE.js").then(t=>t.TaskFormModule)}]}])]})}}return e})();export{G as TaskModule};
