1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[560],{8195:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/pakistan-political-map",function(){return i(2381)}])},8445:function(e,t,i){"use strict";var n=i(5893);i(7294);var r=i(549);i(462),t.Z=e=>{let{count:t=6,height:i="h-[90px]",className:l}=e;return(0,n.jsx)(n.Fragment,{children:Array(t).fill(null).map((e,t)=>(0,n.jsx)(r.Z,{className:"".concat(i," ").concat(l),baseColor:"#e4e4e7"},t))})}},2381:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return f}});var n=i(5893),r=i(9008),l=i.n(r),s=i(5675),a=i.n(s),o=i(1664),c=i.n(o),d=i(7294),u=i(230),h=i(4176),p=i(8445),x=i(3764),m=()=>{var e,t,i,r,l,s,o,m,f;let{get:v}=(0,x.s)(),[j,b]=(0,d.useState)([]),[g,k]=(0,d.useState)(!1),y=async()=>{k(!0);try{let{data:e}=await v("/political-map-of-pakistan?populate=Photo");b(e)}catch(e){console.error("Error fetching data: ",e)}k(!1)};return((0,d.useEffect)(()=>{y()},[]),g&&!j.length)?(0,n.jsx)("div",{className:"custom-container",children:(0,n.jsx)("div",{className:"grid grid-cols-2 gap-6 py-[64px] max-[1023px]:grid-cols-1",children:(0,n.jsx)(p.Z,{count:2,height:"h-[550px]"})})}):(0,n.jsx)(h.Z,{children:(0,n.jsxs)("div",{className:"grid grid-cols-2 gap-6 max-[1023px]:flex max-[1023px]:flex-col",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{children:(0,n.jsx)("h1",{className:"mb-4 font-playFair text-3xl font-bold",children:null==j?void 0:null===(e=j.attributes)||void 0===e?void 0:e.Title})}),!g&&(null==j?void 0:j.attributes)&&(0,n.jsx)("div",{className:"editor-data map-of-pakistan-content",children:(0,n.jsx)(u.i,{content:null==j?void 0:null===(t=j.attributes)||void 0===t?void 0:t.Description})})]}),(0,n.jsx)("div",{children:!g&&(null==j?void 0:j.attributes)&&(0,n.jsx)(c(),{href:null==j?void 0:null===(i=j.attributes)||void 0===i?void 0:i.Link,target:"__blank",children:(0,n.jsx)(a(),{src:"https://cdn.pakun.org"+(null==j?void 0:null===(f=j.attributes)||void 0===f?void 0:null===(m=f.Photo)||void 0===m?void 0:null===(o=m.data)||void 0===o?void 0:null===(s=o.attributes)||void 0===s?void 0:null===(l=s.formats)||void 0===l?void 0:null===(r=l.medium)||void 0===r?void 0:r.url),width:644,height:550,className:"max-[1023px]:w-full",alt:"Political Map of Pakistan"})})})]})})},f=()=>(0,n.jsxs)("div",{children:[(0,n.jsxs)(l(),{children:[(0,n.jsx)("title",{children:"Political Map of Pakistan"}),(0,n.jsx)("meta",{name:"description",content:"Discover Pakistan's diverse provinces and territories with our interactive political map. Learn about Punjab, Sindh, Khyber Pakhtunkhwa, Balochistan, and more!"})]}),(0,n.jsx)("div",{children:(0,n.jsx)(m,{})})]})},462:function(){},9008:function(e,t,i){e.exports=i(7828)},230:function(e,t,i){"use strict";i.d(t,{i:function(){return p}});var n=i(5893),r=i(7294);let l=({text:e,...t})=>{let{modifiers:i,missingModifierTypes:r}=h();return Object.keys(t).reduce((e,l)=>{if(!t[l])return e;let s=i[l];return s?(0,n.jsx)(s,{children:e}):(r.includes(l)||(console.warn(`[@strapi/block-react-renderer] No component found for modifier "${l}"`),r.push(l)),e)},(0,n.jsx)(n.Fragment,{children:e}))},s=["image"],a=e=>{let{children:t,type:i,...n}=e;if("code"===i){let t=e=>e.reduce((e,i)=>
1"text"===i.type?e.concat(i.text):"link"===i.type?e.concat(t(i.children)):e,"");return{...n,plainText:t(e.children)}}return n},o=({content:e})=>{let{children:t,type:i,...c}=e,{blocks:d,missingBlockTypes:u}=h(),p=d[i];if(!p)return u.includes(i)||(console.warn(`[@strapi/block-react-renderer] No component found for block type "${i}"`),u.push(i)),null;if(s.includes(i))return(0,n.jsx)(p,{...c});if("paragraph"===i&&1===t.length&&"text"===t[0].type&&""===t[0].text)return(0,n.jsx)("br",{});let x=a(e);return(0,n.jsx)(p,{...x,children:t.map((e,t)=>{if("text"===e.type){let{type:i,...n}=e;return(0,r.createElement)(l,{...n,key:t})}return(0,n.jsx)(o,{content:e},t)})})},c={blocks:{paragraph:e=>(0,n.jsx)("p",{children:e.children}),quote:e=>(0,n.jsx)("blockquote",{children:e.children}),code:e=>(0,n.jsx)("pre",{children:(0,n.jsx)("code",{children:e.plainText})}),heading:({level:e,children:t})=>{switch(e){case 1:return(0,n.jsx)("h1",{children:t});case 2:return(0,n.jsx)("h2",{children:t});case 3:return(0,n.jsx)("h3",{children:t});case 4:return(0,n.jsx)("h4",{children:t});case 5:return(0,n.jsx)("h5",{children:t});case 6:return(0,n.jsx)("h6",{children:t})}},link:e=>(0,n.jsx)("a",{href:e.url,children:e.children}),list:e=>"ordered"===e.format?(0,n.jsx)("ol",{children:e.children}):(0,n.jsx)("ul",{children:e.children}),"list-item":e=>(0,n.jsx)("li",{children:e.children}),image:e=>(0,n.jsx)("img",{src:e.image.url,alt:e.image.alternativeText||void 0})},modifiers:{bold:e=>(0,n.jsx)("strong",{children:e.children}),italic:e=>(0,n.jsx)("em",{children:e.children}),underline:e=>(0,n.jsx)("u",{children:e.children}),strikethrough:e=>(0,n.jsx)("del",{children:e.children}),code:e=>(0,n.jsx)("code",{children:e.children})},missingBlockTypes:[],missingModifierTypes:[]},d=r.createContext(c),u=({children:e,value:t=c})=>{let i=r.useMemo(()=>t,[t]);return(0,n.jsx)(d.Provider,{value:i,children:e})};function h(){return r.useContext(d)}let p=e=>{let t={...c.blocks,...e.blocks},i={...c.modifiers,...e.modifiers},l=r.useRef([]),s=r.useRef([]);return(0,n.jsx)(u,{value:{blocks:t,modifiers:i,missingBlockTypes:l.current,missingModifierTypes:s.current},children:e.content.map((e,t)=>(0,n.jsx)(o,{content:e},t))})}},549:function(e,t,i){"use strict";i.d(t,{Z:function(){return l}});var n=i(7294);let r=n.createContext({});function l({count:e=1,wrapper:t,className:i,containerClassName:l,containerTestId:s,circle:a=!1,style:o,...c}){var d,u,h;let p=n.useContext(r),x={...c};for(let[e,t]of Object.entries(c))void 0===t&&delete x[e];let m={...p,...x,circle:a},f={...o,...function({baseColor:e,highlightColor:t,width:i,height:n,borderRadius:r,circle:l,direction:s,duration:a,enableAnimation:o=!0}){let c={};return"rtl"===s&&(c["--animation-direction"]="reverse"),"number"==typeof a&&(c["--animation-duration"]=`${a}s`),o||(c["--pseudo-element-display"]="none"),("string"==typeof i||"number"==typeof i)&&(c.width=i),("string"==typeof n||"number"==typeof n)&&(c.height=n),("string"==typeof r||"number"==typeof r)&&(c.borderRadius=r),l&&(c.borderRadius="50%"),void 0!==e&&(c["--base-color"]=e),void 0!==t&&(c["--highlight-color"]=t),c}(m)},v="react-loading-skeleton";i&&(v+=` ${i}`);let j=null!==(d=m.inline)&&void 0!==d&&d,b=[],g=Math.ceil(e);for(let t=0;t<g;t++){let i=f;if(g>e&&t===g-1){let t=null!==(u=i.width)&&void 0!==u?u:"100%",n=e%1,r="number"==typeof t?t*n:`calc(${t} * ${n})`;i={...i,width:r}}let r=n.createElement("span",{className:v,style:i,key:t},"â");j?b.push(r):b.push(n.createElement(n.Fragment,{key:t},r,n.createElement("br",null)))}return n.createElement("span",{className:l,"data-testid":s,"aria-live":"polite","aria-busy":null===(h=m.enableAnimation)||void 0===h||h},t?b.map((e,i)=>n.createElement(t,{key:i},e)):b)}}},function(e){e.O(0,[888,774,179],function(){return e(e.s=8195)}),_N_E=e.O()}]);
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.