1import{k as y,m as j,G as A,e as l,a5 as d,j as e,S as E,y as F,C as k,a6 as S,a7 as I,T as r}from"./index-a4468079.js";import{g as T,u as z}from"./service-filter-5f43fe97.js";function G({serviceType:o,documentType:p,applicationType:i,children:x}){const s=y();let m=j();const{PassportFormIdApplicationType:f,CertificateFormIdApplicationType:h}=A();let u=T(o,p,i,{passport:f,certificate:h}),[g,n,b,c,v]=z(u);const C={background:s.palette.mode==="dark"?s.palette.dark.main:s.palette.grey[50],border:"1px solid #BCBCBC"};l.useEffect(function(){c||v()},[]),l.useEffect(function(){n&&m("/404")},[n]);let t,a;switch(o){case"passport":a=`${d.capitalize(i)} Passport Application`;break;case"certificate":a=`${d.capitalize(i)} Certificate Application`;break;default:a=""}return c?t=e.jsx(E,{item:!0,xs:12,sx:{textAlign:"center"},children:e.jsx(F,{})}):g?t=x:t=e.jsx(k,{maxWidth:"md",sx:{backgroundColor:"#FEFEFE",minHeight:"100vh",py:4},children:e.jsx(S,{sx:C,children:e.jsxs(I,{sx:{p:4},children:[e.jsx(r,{variant:"h4",component:"h1",sx:{fontWeight:"bold",mb:2,fontSize:"28px"},children:a}),e.jsx(r,{variant:"h4",component:"h3",sx:{fontWeight:"bold",mb:2},children:"Service Unavailable"}),e.jsx(r,{variant:"body1",sx:{fontSize:"16px",color:"text.secondary"},children:b})]})})}),t}export{G 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.