1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1374,3431],{35141:(e,a,t)=>{"use strict";t.r(a),t.d(a,{__N_SSG:()=>x,default:()=>m});var i=t(37876),l=t(35837),n=t(97145),r=t(88587),s=t(40400),o=t(90708),c=t(37293);let u="national-park",d=(0,c.A)("nationalPark")((0,r.L)(l.L3.publicLand,u)),p=(0,c.A)("publicAreaList")((0,s.x)(l.L3.publicAreaList,u));var x=!0;let m=(0,o.Z)(e=>((0,n.p)("publicAreaParams"),"detail"===e.pageType)?(0,i.jsx)(d,{...e}):(0,i.jsx)(p,{...e}),"NationalPark")},40400:(e,a,t)=>{"use strict";t.d(a,{x:()=>U});var i=t(37876),l=t(89099),n=t(14232),r=t(89307),s=t(73821),o=t(90602),c=t(31219),u=t(37094),d=t(40591),p=t(6313),x=t(47468),m=t(74413),h=t(99316),j=t(89623),g=t(7162),A=t(94444),v=t(68026),b=t(75183),y=t(70135),C=t(17400),f=t(99713),P=t(43106);let L=({publicAreas:e,name:a,countryCode:t,hideRichSchema:l=!1})=>(0,i.jsx)(c.Box,{display:"grid",gridTemplateColumns:"1fr 1fr",gridColumnGap:"16px",gridRowGap:"24px",children:e.map((e,n)=>(0,i.jsx)(_,{publicArea:e,name:a,countryCode:t,index:n,hideRichSchema:l},`public-area-tile-${e.id}`))}),_=({publicArea:e,countryCode:a,index:t,hideRichSchema:l=!1})=>{let{isWebView:n}=(0,C.A)(),{setHoveredEntity:s}=(0,r.Rw)();return(0,i.jsx)(b.C,{name:e.name,url:e.url||"",id:e.id,coverFilename:e.coverPhoto?.filename,coverDescription:e.coverPhoto?.description,TileContent:(0,i.jsx)(y.A,{publicArea:e,countryCode:a,hideRichSchema:l,variant:"list"}),listIndex:t,aspectRatio:"1 / 1",isWebviewVariant:n,onMouseEnter:()=>s({id:e.id,type:"publicArea"}),onMouseLeave:()=>s(null)})},k=({title:e,hideRichSchema:a=!1,isWebviewVariant:t=!1})=>{let l=(0,r.ux)();if(!l)return null;let{place:n}=l,s="publicAreas"in n&&n.publicAreas?.nodes||[];if(!s.length||!n.name)return null;let{name:o,countryCode:c}=n,u=e??(0,P.Wf)(n.seoData.pageHeading,"in");return(0,i.jsx)(A.oj,{"data-cy":"publicAreasModule",firstModule:!0,children:(0,i.jsx)(C.P,{isWebviewVariant:t,children:(0,i.jsx)(v.A,{listTitle:u,Tiles:(0,i.jsx)(L,{publicAreas:s,name:o,countryCode:c,hideRichSchema:a}),source:f.kLi.PUBLIC_LAND_PAGE,listName:f.IQK.PUBLIC_LAND_CAMPGROUNDS,listItems:s,listEntityType:f.Cbv.PUBLIC_CAMPGROUND,hideViewAllButton:s.length<200,variant:"list"})})})};var w=t(43275),M=t(93720),N=t(34822),S=t(38394),T=t(74866),E=t(47270);let B=({place:e})=>{let{t:a}=(0,u.Bd)(),t=(0,M.Y)(),l=(0,r.ux)()?.path,s=(0,n.useRef)(null);if(!e)return null;let o=async a=>{let i=T.Cy.DiscoverAutocomplete,n={...(0,S.O)(e,l),...a},r=await (0,N.rW)(n,i,t);(0,E.kL)(n),window.location.href=r};return(0,i.jsxs)(h.A,{hero:(0,i.jsx)(m.V,{heading:e.seoData.pageHeading||"",handleSearchSubmit:o}),children:[(0,i.jsx)(j.A,{headerHeight:j.o,overviewContent:(0,i.jsxs)(c.VStack,{"data-cy":"publicLandIntroModule",mb:"32px",spacing:"8px",children:[(0,i.jsx)(c.Text,{as:"p",variant:"paragraphM",children:a("publicLand:modules.subtitle",{name:e.name})}),(0,i.jsx)(d.A,{isParkListPage:!0})]}),mobileOverviewContent:(0,i.jsxs)(c.VStack,{"data-cy":"publicLandIntroModule",mb:["8px","8px","8px","32px"],spacing:"8px",children:[(0,i.jsx)(c.Text,{as:"p",variant:"paragraphM",children:a("publicLand:modules.subtitle",{name:e.name})}),(0,i.jsx)(d.A,{isParkListPage:!0})]}),listContent:(0,i.jsx)(k,{}),mapContent:(0,i.jsx)(p.fC,{mapInteractive:!0,mapHeight:"calc(100vh - 96px)",showControls:!0,mapBorderRadius:"24px"})}),(0,i.jsx)(w.A,{}),(0,i.jsx)(A.hs,{ref:s}),(0,i.jsx)(x.A,{}),(0,i.jsx)(g.A,{})]})};var I=t(38977),D=t(29062),R=t(97055),G=t(8855),O=t(84877),F=t(90999);let U=(e,a)=>{let t=t=>{let{searchQueryId:c,place:u}=t,d=(0,l.useRouter)(),{pageRenderId:p}=(0,R.A)(e,{contentGroup1:e,contentGroup2:(0,F.MY)(a),trackPageUnload:!0}),{Track:x}=(0,I.CF)({searchQueryId:c,productPageId:p}),m=(0,G.Y8)((0,O.QZ)(d.asPath)).split("?")[0],h=(0,n.useMemo)(()=>({place:u,path:m,listCapacity:14,pageRenderId:p,isFilterDiscover:!1,layoutType:"default",pageType:"all"}),[m,p,u?.name]),j=(0,o.Tl)(),g=u?.coordinate?.lat,A=u?.coordinate?.lng;return(0,n.useEffect)(()=>{if(u?.name&&null!=g&&null!=A)return j({name:u.name,lat:g,lng:A,kind:"place",geography:(0,S.O)(u,m)}),()=>j(null)},[u,m,g,A,j]),(0,i.jsxs)(x,{children:[(0,i.jsx)(D.X.Provider,{value:{surface:e},children:(0,i.jsx)(r.Jn,{value:h,children:(0,i.jsx)(B,{place:u})})}),(0,i.jsx)(s.A,{page:"publicLand"})]})};return t.displayName=`PublicAreaListPage(${a})`,t}},62860:(e,a,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/national-park/[[...publicAreaParams]]",function(){return t(35141)}])},70135:(e,a,t)=>{"use strict";t.d(a,{A:()=>c});var i=t(37876),l=t(31219);t(14232);var n=t(53097),r=t(3711),s=t(75693),o=t(71327);let c=({publicArea:e,listIndex:a=null,hideRichSchema:t=!1,variant:c="tile"})=>{let{recommendsCount:u,recommendsPercentage:d,hasEnoughRecommends:p,allAccommodationKeys:x,totalParksCount:m}=e,h={recommendsCount:u,recommendsPercentage:Math.round(d||0),hasEnoughRecommends:p},{deviceType:j}=(0,o.kW)(),g=j===o.kc.Mobile,A="list"===c?e.stateName:e.tileSummary,v=null!==a&&(g||"list"===c);return(0,i.jsxs)(i.Fragment,{children:[!t&&(0,i.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify((0,s.lj)({name:e.name,url:e.url,recommendsCount:u||void 0,recommendsPercentage:d||void 0,latitude:e.coordinate?.latitude,longitude:e.coordinate?.longitude,coverImageFileName:e.coverPhoto?.f
1ilename||void 0,countryCode:e.countryCode}))}}),"tile"===c?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(l.Box,{children:(0,i.jsx)(r.A,{...h})}),(0,i.jsx)(l.Box,{color:"surface.800",children:(0,i.jsxs)(l.Text,{variant:"titleM",as:"h3",children:[v&&`${a+1}. `,e.name]})}),(0,i.jsx)(l.Box,{display:"flex",flexDirection:"column",color:"#6E6E6E",children:(0,i.jsx)(n.A,{campgroundCount:m,allAccommodationKeys:x,tileSummary:A})})]}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(r.A,{...h}),(0,i.jsxs)(l.Text,{variant:"titleM",as:"h3",children:[v&&`${a+1}. `,e.name]}),(0,i.jsx)(l.Box,{display:"flex",flexDirection:"column",color:"#6E6E6E",children:(0,i.jsx)(l.Box,{mb:"4px",children:(0,i.jsx)(n.A,{campgroundCount:m,allAccommodationKeys:x,tileSummary:A,variant:"paragraphS"})})})]})]})}}},e=>{e.O(0,[3602,4587,8010,3866,6332,4101,4023,2199,9579,8575,4041,5474,2449,4774,9172,2091,3893,2084,3338,1328,1083,5581,4453,3698,7270,5012,5183,6581,9202,6283,8058,3707,636,6593,8792],()=>e(e.s=62860)),_N_E=e.O()}]); 2//# sourceMappingURL=[[...publicAreaParams]]-53b597f03c66b926.js.map
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.