1import{K as se,M as te,j as e,G as ie,k as re,W as ae,l as ne,m as le,e as oe,aI as a,C as H,T as t,S as i,a6 as w,a7 as S,B as u,aJ as P,aK as d,aL as c,aH as C,D as B,a5 as I,aw as R}from"./index-a4468079.js";import{R as k}from"./renewpassport-a23d9c0d.js";import{A as n,L as x,D as A}from"./index-a295fd6a.js";import{u as E}from"./useDrafts-cf601277.js";import{u as pe,S as L,A as z}from"./service-filter-5f43fe97.js";import"./Delete-78c1ffa4.js";import"./index-18c98c76.js";var $={},de=te;Object.defineProperty($,"__esModule",{value:!0});var l=$.default=void 0,ce=de(se()),Y=e;l=$.default=(0,ce.default)([(0,Y.jsx)("path",{d:"M6.41 6 5 7.41 9.58 12 5 16.59 6.41 18l6-6z"},"0"),(0,Y.jsx)("path",{d:"m13 6-1.41 1.41L16.17 12l-4.58 4.59L13 18l6-6z"},"1")],"KeyboardDoubleArrowRight");const q={standard:"Read the requirements, eligibility, terms, and conditions before proceeding with your application.",business:"Review the specific requirements, eligibility criteria, terms, and conditions for business passport applications before you apply."},Te=()=>{const{forms:_,SERVICE_TYPE_LABELS:g,PassportFormIdApplicationType:F}=ie(),b=re();ae(b.breakpoints.up("md"));const{user:r,checkSession:O}=ne(),G=le();oe.useEffect(()=>{O&&O()},[]);let m={};for(let s in F){m[s]={};for(let o in F[s]){let j=F[s][o],[y,h,p,v,f]=pe(j);m[s][o]=h}}let N=!m[a.ordinary][n.standard]||!m[a.ordinary][n.vip],K=!m[a.business][n.standard]||!m[a.business][n.vip],[M,xe,J]=E(!0,(r==null?void 0:r._id)||"",_["passport-standard"]),[U,he,Q]=E(!0,(r==null?void 0:r._id)||"",_["passport-vip"]),[V,ue,X]=E(!0,(r==null?void 0:r._id)||"",_["passport-business-standard"]),[W,me,Z]=E(!0,(r==null?void 0:r._id)||"",_["passport-business-vip"]);const T={background:b.palette.mode==="dark"?b.palette.dark.main:b.palette.grey[50],border:"1px solid #BCBCBC",display:"flex",flexDirection:"column",height:"100%"},ee=s=>{let o="",j=I.find(s.data,p=>p.name=="are_you_a_business_owner_Ø§ÛØ§_تاسÙ_د_Ø³ÙØ¯Ø§Ú«Ø±Û_خاÙÙØ¯_ÛØ§Ø³ØªØ_Ø¢ÛØ§_Ø´Ù
ا_ØµØ§ØØ¨_تجارت_ÙØ³ØªÛدØ"),y=I.find(s.data,p=>p.name=="have_you_ever_had_an_afghan_passport_Ø§ÛØ§_Ú©ÙÙ_Ù
Ù_د_Ø§ÙØºØ§ÙستاÙ_Ù¾Ø§Ø³Ù¾ÙØ±Ù¼_ÙØ±ÙÛ_Ø¯ÛØ_Ø§ÛØ§_تا_Ø¨ØØ§Ù_Ù¾Ø§Ø³Ù¾ÙØ±Øª_Ø§ÙØºØ§ÙÛ_داشتÙ_Ø§ÛØ¯Ø"),h=I.find(s.data,p=>p.name=="date_of_birth_gregorian");return j&&(o=`isOwner=${j.value}`),y&&(o+=`&hadAfghanPassport=${y.value}`),h&&(o+=`&birthDate=${h.value}`),o},D=(s,o)=>{let j=[...M,...U].map(f=>f._id),y=[...V,...W].map(f=>f._id),h="",p="",v="";j.includes(s._id)?(p=I.find(s.data,f=>f.name=="this_application_is_for_2"),h=p?p.value:"",v=o?R.passport_vip:R.passport_standard,G(`${v}?draft=${s._id}&applicant=${h}&liveliness-completed=1`)):y.includes(s._id)&&(h="Myself",v=o?R.business_passport_vip:R.business_passport_standard,G(`${v}?draft=${s._id}&liveliness-completed=1&${ee(s)}`))};return!N&&!K?e.jsx(H,{maxWidth:"xl",sx:{textAlign:"center",py:10},children:e.jsx(t,{variant:"h4",fontSize:"24px",children:"All passport application services are currently unavailable. Please check back later."})}):e.jsxs(H,{maxWidth:"xl",children:[e.jsxs(i,{container:!0,flexDirection:"column",children:[N&&e.jsx(i,{item:!0,my:"20px",children:e.jsx(t,{variant:"h3",fontSize:"32px",children:"Ordinary Passport Services"})}),e.jsxs(i,{item:!0,container:!0,spacing:2,children:[e.jsx(L,{serviceType:"passport",documentType:a.ordinary,applicationType:n.standard,children:e.jsx(i,{item:!0,xs:12,md:6,children:e.jsx(w,{sx:T,children:e.jsxs(S,{sx:{flexGrow:1},children:[e.jsxs(u,{display:"flex",alignItems:"center",gap:2,children:[e.jsx("img",{src:k,alt:"Renew Passport"}),e.jsx(t,{variant:"h4",fontSize:"22px",children:g[0].label})]}),e.jsxs(u,{my:2,children:[e.jsx(t,{color:"#5C5C5C",children:"If you are updating your passport well in advance or have no immediate travel plans, the Standard Application is the most cost-effective route."}),e.jsxs(P,{children:[e.jsxs(x,{children:[e.jsx(d,{children:e.jsx(l,{})}),e.jsx(c,{primary:"Estimated Processing: Up to 8 weeks from the date your application is officially accepted."})]}),e.jsxs(x,{children:[e.jsx(d,{children:e.jsx(l,{})}),e.jsx(c,{primary:"Best For: Routine renewals, first-time applicants with no trips booked, or those planning travel several months in the future."})]})]}),e.jsx("a",{target:"_blank",href:C.PassportRequirements,style:{textDecoration:"none"},children:e.jsx(t,{my:3,fontSize:"14px",color:"#16B572",children:q.standard})})]}),e.jsx(A,{list:M,callback:s=>D(s,!1),onDelete:J}),e.jsx(B,{}),e.jsx(i,{container:!0,mt:1,spacing:2,justifyContent:"start",alignItems:"center",children:e.jsx(z,{serviceType:"passport",documentType:a.ordinary,applicationType:n.standard})})]})})})}),e.jsx(L,{serviceType:"passport",documentType:a.ordinary,applicationType:n.vip,children:e.jsx(i,{item:!0,xs:12,md:6,children:e.jsx(w,{sx:T,children:e.jsxs(S,{sx:{flexGrow:1},children:[e.jsxs(u,{display:"flex",alignItems:"center",gap:2,children:[e.jsx("img",{src:k,alt:"Renew Pass
1port"}),e.jsx(t,{variant:"h4",fontSize:"22px",children:g[1].label})]}),e.jsxs(u,{my:2,children:[e.jsx(t,{color:"#5C5C5C",children:"If you have an upcoming trip, need to secure a visa quickly, or simply want peace of mind sooner, the Urgent Application puts your request at the front of the line."}),e.jsxs(P,{children:[e.jsxs(x,{children:[e.jsx(d,{children:e.jsx(l,{})}),e.jsx(c,{primary:"Estimated Processing: Up to 15 business days from the date your application is officially accepted."})]}),e.jsxs(x,{children:[e.jsx(d,{children:e.jsx(l,{})}),e.jsx(c,{primary:"Best For: Last-minute international travel, unexpected business trips, or expiring passports with imminent travel dates."})]})]}),e.jsx("a",{target:"_blank",href:C.PassportRequirements,style:{textDecoration:"none"},children:e.jsx(t,{my:3,fontSize:"14px",color:"#16B572",children:q.standard})})]}),e.jsx(A,{list:U,callback:s=>D(s,!0),onDelete:Q}),e.jsx(B,{}),e.jsx(i,{container:!0,mt:1,spacing:2,justifyContent:"start",alignItems:"center",children:e.jsx(z,{serviceType:"passport",documentType:a.ordinary,applicationType:n.vip})})]})})})})]})]}),e.jsxs(i,{container:!0,flexDirection:"column",children:[K&&e.jsx(i,{item:!0,my:"20px",children:e.jsx(t,{variant:"h3",fontSize:"32px",children:"Business Passport Services"})}),e.jsxs(i,{item:!0,container:!0,spacing:2,children:[e.jsx(L,{serviceType:"passport",documentType:a.business,applicationType:n.standard,children:e.jsx(i,{item:!0,xs:12,md:6,children:e.jsx(w,{sx:T,children:e.jsxs(S,{sx:{flexGrow:1},children:[e.jsxs(u,{display:"flex",alignItems:"center",gap:2,children:[e.jsx("img",{src:k,alt:"Renew Passport"}),e.jsx(t,{variant:"h4",fontSize:"22px",children:g[2].label})]}),e.jsxs(u,{my:2,children:[e.jsx(t,{color:"#5C5C5C",children:"A cost-effective option designed for professionals planning their international travel well in advance."}),e.jsxs(P,{children:[e.jsxs(x,{children:[e.jsx(d,{children:e.jsx(l,{})}),e.jsx(c,{primary:"Estimated Processing: Up to 8 weeks from the date your application is officially accepted."})]}),e.jsxs(x,{children:[e.jsx(d,{children:e.jsx(l,{})}),e.jsx(c,{primary:"Best For: Routine document updates or future corporate itineraries where immediate turnaround is not required."})]}),e.jsxs(x,{children:[e.jsx(d,{children:e.jsx(l,{})}),e.jsx(c,{primary:"Delivery Note: The 8-week window applies solely to the approval and printing phases and does not include the final delivery time."})]})]}),e.jsx("a",{target:"_blank",href:C.BusinessPassportRequirements,style:{textDecoration:"none"},children:e.jsx(t,{my:3,fontSize:"14px",color:"#16B572",children:q.business})})]}),e.jsx(A,{list:V,callback:s=>D(s,!1),onDelete:X}),e.jsx(B,{}),e.jsx(i,{container:!0,mt:1,spacing:2,justifyContent:"start",alignItems:"center",children:e.jsx(z,{serviceType:"passport",documentType:a.business,applicationType:n.standard})})]})})})}),e.jsx(L,{serviceType:"passport",documentType:a.business,applicationType:n.vip,children:e.jsx(i,{item:!0,xs:12,md:6,children:e.jsx(w,{sx:T,children:e.jsxs(S,{sx:{flexGrow:1},children:[e.jsxs(u,{display:"flex",alignItems:"center",gap:2,children:[e.jsx("img",{src:k,alt:"Renew Passport"}),e.jsx(t,{variant:"h4",fontSize:"22px",children:g[3].label})]}),e.jsxs(u,{my:2,children:[e.jsx(t,{color:"#5C5C5C",children:"A premium, fast-tracked service to accommodate last-minute overseas engagements for business travellers."}),e.jsxs(P,{children:[e.jsxs(x,{children:[e.jsx(d,{children:e.jsx(l,{})}),e.jsx(c,{primary:"Estimated Processing: Expedited, priority processing completed within just 15 business days."})]}),e.jsxs(x,{children:[e.jsx(d,{children:e.jsx(l,{})}),e.jsx(c,{primary:"Best For: Executives and professionals with urgent or unexpected corporate travel."})]}),e.jsxs(x,{children:[e.jsx(d,{children:e.jsx(l,{})}),e.jsx(c,{primary:"Delivery Note: The 15-day window applies solely to the approval and printing phases; applicants must allow additional time beyond this for final delivery."})]})]}),e.jsx("a",{target:"_blank",href:C.BusinessPassportRequirements,style:{textDecoration:"none"},children:e.jsx(t,{my:3,fontSize:"14px",color:"#16B572",children:q.business})})]}),e.jsx(A,{list:W,callback:s=>D(s,!0),onDelete:Z}),e.jsx(B,{}),e.jsx(i,{container:!0,mt:1,spacing:2,justifyContent:"start",alignItems:"center",children:e.jsx(z,{serviceType:"passport",documentType:a.business,applicationType:n.vip})})]})})})})]})]})]})};export{Te 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.