1import{r as s,F as A,C as S,j as t}from"./index-A3MnN04F.js";import{H as $}from"./index-P6ry0pKM.js";import{A as b}from"./index-xH5HM4d9.js";import{u as w,C as E}from"./index-OglMhijo.js";import{$ as k}from"./module-tGsUm5me.js";import"./index-jW6sDLht.js";import"./styled-components.browser.esm-maJW6Vb9.js";function G(){var g,c,p,m,u,h,f,x,j;const[i,n]=s.useState(!0),[e,v]=s.useState(null),{state:r}=A(),{setActive:y,pageID:l}=S(),{language:a,increment:F}=S();w(),s.useEffect(()=>{console.log(r,"unique id---->"),r?d(r):l&&(y(localStorage.getItem("active")),d(localStorage.getItem("pageId")))},[l,localStorage.getItem("pageId")]),s.useEffect(()=>{e&&console.log(e,"content-->")},[e]);const d=I=>{var C;(C=E(I))==null||C.then(o=>{o.status=="200"&&(console.log(o,"gggggggggggg"),v(o.data.data),n(!1),console.log(e,"content-->"))}).catch(o=>n(!1))};return t.jsx(t.Fragment,{children:i?t.jsx(t.Fragment,{children:t.jsx("div",{className:"d-flex align-items-center justify-content-center",style:{height:"100vh"},children:t.jsx(k,{visible:i,strokeWidth:4,height:"60",width:"60",color:"#00401A",secondaryColor:"#ddd",ariaLabel:"oval-loading",wrapperStyle:{},wrapperClass:""})})}):t.jsxs("div",{children:[t.jsx("section",{children:t.jsx($,{page:a=="en"?"Procedure":"طرÛÙÛ Ú©Ø§Ø±",pageChild:(g=e==null?void 0:e[a])==null?void 0:g.name})}),t.jsx("section",{children:t.jsx(b,{id:"1",heading:(p=(c=e==null?void 0:e[a])==null?void 0:c.properties)==null?void 0:p.title,description:(h=(u=(m=e==null?void 0:e[a])==null?void 0:m.properties)==null?void 0:u.bodyContent)==null?void 0:h.markup,image:`https://paawebadmin.paa.gov.pk/${
1(j=(x=(f=e==null?void 0:e.en)==null?void 0:f.properties)==null?void 0:x.headerImage[0])==null?void 0:j.url}`})})]})})}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.