PageSourceSearch

https://leaps.ph/_nuxt/CH52psPB.js

js leaps.ph collected 2026-10-04 11:30:32 UTC 6,078 bytes, 1 lines download raw bytes

1import{H as K,T as L}from"./VdBfQQiJ.js";import{_ as M}from"./BMD6dNB0.js";import{_ as W}from"./BJZMEsIN.js";import{b as Y}from"./BKGlbM5Q.js";import{_ as Q}from"./Q-r3gfvS.js";import{_ as Z}from"./7HZp54PF.js";import{_ as ee}from"./4GmH84Sv.js";import{aI as te,i as se,v as q,j as ae,m as s,q as oe,y as B,w as j,o as i,b as u,a as e,d as O,c as l,B as t,f as k,t as p}from"./Ccx6wRGg.js";import{u as ne}from"./DS8vtbIW.js";import"./BT-efqnr.js";import"./BmeRxDbM.js";import"./DndYWPIo.js";import"./XNmJFQd2.js";import"./DZm9Ek2U.js";import"./DBcF-D_d.js";import"./CHZfD73d.js";import"./CxIZtCgj.js";import"./g8qqMC4E.js";import"./B0BO6SiO.js";import"./CEVwrj26.js";import"./Dh7TvTxf.js";import"./DlTvxk4I.js";import"./DsL8W3m6.js";import"./AP0r9yol.js";import"./Czol2y6j.js";import"./BHmdEV6x.js";import"./BALsTMrr.js";import"./C_R6RtGF.js";import"./BPkWC1lF.js";const ie={class:"service_application_tracking_container"},le={class:"lg:container mx-auto px-6"},ce={key:0,class:"grid grid-cols-6 gap-5 justify-center my-10"},re=e("div",{class:"w-full col-span-3 h-20 animate-pulse bg-gray-100"},null,-1),ue=e("div",{class:"w-full col-span-3 h-20 animate-pulse bg-gray-100"},null,-1),_e=[re,ue],pe={key:1,class:"flex flex-col items-center gap-4 my-10"},me={key:2,class:"grid grid-cols-6 w-full justify-center gap-5 my-10"},de={class:"col-span-6 sm:col-span-2 order-2 bg-gray-100 p-5 rounded-xl"},fe={class:"flex flex-col gap-5 items-center justify-center"},he=e("label",{class:"block w-full uppercase text-green-800"},[O("Signature Upload "),e("sup",{class:"text-green-600"},"*")],-1),ve={class:"w-[300px] max-width-full"},ge=e("hr",{class:"border-gray-300 w-full"},null,-1),ye=e("label",{class:"block w-full uppercase text-green-800"},"Seal Upload",-1),xe={class:"w-[300px] max-width-full"},be={key:0,class:"mt-4 flex flex-col gap-4 justify-center"},ke=e("hr",{class:"border-gray-300 w-full"},null,-1),we={key:0,class:"flex items-center h-10 gap-2"},Se=e("i",{class:"fa fa-cog fa-spin"},null,-1),qe=e("span",null,"Request Submitting...Wait",-1),Be=[Se,qe],je=e("i",{class:"fa fa-check"},null,-1),Ie=e("span",null,"Submit",-1),Ce=[je,Ie],Re={class:"col-span-4"},ze=e("label",null,"Service Name",-1),Ae={class:"text-[20px] font-semibold uppercase mb-5"},Ne=e("label",null,"Applicant Info",-1),Te={class:"text-[16px] font-semibold uppercase"},De={key:0,class:"text-[14px]"},Oe=["href"],Ve=e("i",{class:"fa fa-envelope"},null,-1),Fe={key:1,class:"text-[14px]"},$e=["href"],Pe=e("i",{class:"fa fa-phone-alt"},null,-1),Ue="default",Ee="Your Signature has been successfully submitted.",xt={__name:"index",async setup(Xe){let m,I;const d=te("app_key"),V=se(),{$breadcrumbPageTitle:F,$assignPageSlug:He}=q(),{setBreadcrumbData:$}=([m,I]=ae(()=>ne()),m=await m,I(),m),f=s(!0),h=s(!1),C=s(""),a=s(""),R=s(""),w=s(""),o=s(""),_=s({}),z=s({}),A=s(""),r=s({signature:"",seal_photo:"",application_id:""}),N=s(!1),v=s(!1),g=s(!1);oe(async()=>{C.value=V.query.token,P();let n=[{title:F("verify-with-signature")}];await $(n)});const P=async()=>{var n,S,y,x,b;a.value="",R.value="";try{f.value=!0,v.value=!1;const c=await q().$apiFetch("/api/citizen/application/verify-with-signature",{method:"POST",body:{token:C.value},headers:{Authorization:"Bearer "+d.value,"Content-Type":"application/json","X-XSRF-TOKEN":d.value}});c.status&&(a.value=c.data,r.value.application_id=(n=a.value.AppRequestInfos)==null?void 0:n.application_id,(y=(S=a.value)==null?void 0:S.AppRequestInfos)!=null&&y.certificate_data_infos&&(R.value=JSON.parse(a.value.AppRequestInfos.certificate_data_infos)),(x=a.value)!=null&&x.ServiceInfo&&(w.value=a.value.ServiceInfo),(b=a.value)!=null&&b.CitizenInfo&&(o.value=a.value.CitizenInfo),_.value=a.value.AppRequestInfos.project_infos?JSON.parse(a.value.AppRequestInfos.project_infos):{},z.value=a.value.AppRequestInfos.request_infos?JSON.parse(a.value.AppRequestInfos.request_infos):{},A.value=c.storage_base_url,v.value=!0),f.value=!1}catch(c){throw f.value=!1,v.value=!1,c.message}},U=n=>{r.value.signature=n},E=n=>{r.value.seal_photo=n},X=async()=>{try{N.value=!1,h.value=!0,g.value=!1,(await q().$apiFetch("/api/citizen/application/verify-with-signature/submission",{method:"POST",body:r.value,headers:{Authorization:"Bearer "+d.value,"Content-Type":"application/json","X-XSRF-TOKEN":d.value}})).status&&(N.value=!0,g.value=!0),h.value=!1}catch(n){throw h.value=!1,g.value=!1,n.message}};return(n,S)=>{const y=L,x=K,b=M,c=W,T=Y,H=Q,J=Z,G=ee;return i(),B(G,{name:Ue},{default:j(()=>{var D;return[u(x,null,{default:j(()=>[u(y,null,{default:j(()=>
1[O("Verify with Signature")]),_:1})]),_:1}),u(b),e("div",ie,[e("div",le,[t(f)?(i(),l("div",ce,_e)):t(g)?(i(),l("div",pe,[u(c,{success_message:Ee})])):t(v)?(i(),l("div",me,[e("div",de,[e("div",fe,[he,e("div",ve,[u(T,{external:!0,onGetSignature:U})]),ge,ye,e("div",xe,[u(T,{only_upload:!0,external:!0,onGetSignature:E,button_name:"Seal"})])]),t(r).signature&&t(r).application_id?(i(),l("div",be,[ke,t(h)?(i(),l("div",we,Be)):(i(),l("div",{key:1,class:"flex items-center h-10 justify-center gap-2 cursor-pointer bg-green-600 hover:bg-green-800 text-white hover:ring-green-600 rounded-lg px-5",role:"button",onClick:X},Ce))])):k("",!0)]),e("div",Re,[ze,e("h1",Ae,p(t(w).service.service_name)+" ("+p(t(w).service_name)+")",1),Ne,e("h2",Te,p(((D=t(o).citizen_info)==null?void 0:D.first_name)+(t(o).citizen_info.middle_name?" "+t(o).citizen_info.middle_name:"")+(t(o).citizen_info.last_name?" "+t(o).citizen_info.last_name:"")),1),t(o).email?(i(),l("h3",De,[e("a",{class:"flex items-center h-6 gap-[5px] text-[#6b2479]",href:`mailto:${t(o).email}`},[Ve,e("span",null,p(t(o).email),1)],8,Oe)])):k("",!0),t(o).mobile?(i(),l("h4",Fe,[e("a",{class:"flex items-center h-6 gap-[5px] text-[#336633]",href:`tel:${t(o).email}`},[Pe,e("span",null,p(t(o).mobile),1)],8,$e)])):k("",!0),Object.keys(t(_)).length==0||Object.keys(t(_)).length&&t(_).implementing_ministry==1&&t(_).has_sub_project==1?(i(),B(H,{key:2,data:t(z),selFileBaseUrl:t(A)},null,8,["data","selFileBaseUrl"])):k("",!0)])])):(i(),B(J,{key:3}))])])]}),_:1})}}};export{xt as default};

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.