1import{a$ as n,b1 as c,bj as i,bf as _,bh as A,b4 as E,aW as u,b5 as p,bm as d,bW as o}from"./D6to6l-M.js";import{u as I}from"./pgK3_rb6.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new t.Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="71dcfcdd-c817-4603-8ef5-444247ea1479",t._sentryDebugIdIdentifier="sentry-dbid-71dcfcdd-c817-4603-8ef5-444247ea1479")}catch{}})();const b=n({__name:"[id]",setup(t){const a=c(),s=i(),r=_(()=>s.params.id?a.getters["signableDocuments/getSignableDocumentById"](+s.params.id):null);return I({title:"Signature"}),A(()=>{!r.value&&s.params.id&&a.dispatch("signableDocuments/fetchDocument",+s.params.id)}),E(r,e=>{if(e)switch(e.kind){case d.LEGAL_CERTIFICATION:case d.STUDENT_ATTENDANCE_RECEIPT:a.dispatch("trainingCourses/fetchTrainingCourse",e.training_course_id),a.dispatch("SET_GLOBAL_MODAL",{type:o.LEGAL_CERTIFICATION_MODAL,payload:{document:e,documentId:e.id}});break;case d.ABSENCE_PROOF:a.dispatch("SET_GLOBAL_MODAL",{type:o.ABSENCE_PROOF_MODAL,payload:{document:e,documentId:e.id}});break;case d.WEBINAR_AGREEMENT:a.dispatch("SET_GLOBAL_MODAL",{type:o.PERSONAL_AGREEMENT_MODAL,payload:{document:e,documentId:e.id}});break;case d.TRAINING_DIPLOMA:a.dispatch("SET_GLOBAL_MODAL",{type:o.TRAINING_DIPLOMA_MAIN_MODAL,payload:{document:e}});break;case d.ATTENDANCE_CERTIFICATE:a.dispatch("SET_GLOBAL_MODAL",{type:o.ATTENDANCE_CERTIFICATE_MODAL,payload:{document:e}});break}}),(e,L)=>(u(),p("div"))}});export{b as default}; 2//# sourceMappingURL=gv2s_i7Q.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.