1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1716],{4973:(e,s,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/destinationer/[slug]/hotell",function(){return t(97074)}])},53899:(e,s,t)=>{"use strict";t.d(s,{A:()=>g});var l=t(37876),n=t(14232),a=t(48230),o=t.n(a),r=t(54587),i=t.n(r),c=t(89099),d=t(15039),u=t.n(d),m=t(46872),x=t(89368),h=t(81523);function p(e){var s,t;let{slug:a,title:r,excerpt:d,details:p,featuredImage:g,hotel:v,siteId:f,priority:j=!1}=e,w=(0,x.useTranslations)("Destination.Cabins"),N=(0,c.useRouter)(),{getRoute:b}=(0,m.fi)(),[y,A]=(0,n.useState)(!0),_=b(v?"hotell":"rum"),k="".concat(b("destinationer"),"/").concat(null==N||null==(s=N.query)?void 0:s.slug,"/").concat(_);return(0,l.jsx)("li",{children:(0,l.jsxs)(o(),{href:"".concat(k,"/").concat(a),className:"group text-sm",prefetch:!1,children:[(0,l.jsxs)("div",{className:"aspect-h-2 aspect-w-3 mb-3 w-full overflow-hidden rounded-lg bg-gray-100 group-hover:opacity-75",children:[(null==g||null==(t=g.node)?void 0:t.sourceUrl)&&(0,l.jsx)(i(),{width:"292",height:"195",priority:j,src:g.node.sourceUrl,alt:g.node.altText,className:u()("h-full w-full object-cover object-center duration-700 ease-in-out group-hover:opacity-75",y?"scale-110 blur-2xl":"scale-100 blur-0"),onLoad:()=>A(!1)}),(0,l.jsx)("div",{className:"absolute flex items-end justify-start pb-3 pl-3",children:(0,l.jsx)("button",{type:"button",className:"z-10 rounded-lg bg-red-600 px-3 py-2 font-semibold text-white transition-all duration-300 hover:bg-red-700",children:w("Book")})})]}),(0,l.jsx)("h3",{className:"text-lg",children:r}),d&&(0,l.jsx)("div",{className:"line-clamp-2 text-sm",dangerouslySetInnerHTML:{__html:d}}),(0,l.jsxs)("div",{className:"mt-3 flex w-full justify-items-start space-x-3 text-sm",children:[(null==p?void 0:p.roomLivingspace)&&(0,l.jsxs)("div",{className:"inline-flex text-neutral-900",children:[(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 17 15",width:"17",height:"15",children:(0,l.jsxs)("g",{fill:"currentColor",children:[(0,l.jsx)("path",{d:"M16.233 9.161a.694.694 0 0 1-.492-.2L8.462 1.682 1.186 8.957a.7.7 0 0 1-.984 0 .7.7 0 0 1 0-.984L7.973.203a.7.7 0 0 1 .984 0l7.771 7.77a.7.7 0 0 1 0 .984.7.7 0 0 1-.495.204Z"}),(0,l.jsx)("path",{d:"M13.841 14.541H3.082a.7.7 0 0 1-.7-.7v-7.77a.7.7 0 1 1 1.4 0v7.074h9.36V6.07a.7.7 0 0 1 1.4 0v7.771a.7.7 0 0 1-.7.7Z"}),(0,l.jsx)("path",{d:"M8.462 14.538a.7.7 0 0 1-.7-.7V9.056a.7.7 0 1 1 1.4 0v4.782a.7.7 0 0 1-.7.7Z"})]})}),(0,l.jsxs)("span",{className:"ml-1",children:[(0,l.jsxs)("span",{className:"font-semibold",children:[p.roomLivingspace,w("SquareMeter")]})," ",w("Area")]})]}),(null==p?void 0:p.roomBeds)&&(0,l.jsxs)("div",{className:"inline-flex text-neutral-900",children:[(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 13 15",width:"13",height:"15",children:(0,l.jsxs)("g",{fill:"none",fillRule:"evenodd",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",transform:"translate(.745 .748)",children:[(0,l.jsx)("rect",{width:"10.613",height:"12.544",rx:"1.51"}),(0,l.jsx)("path",{d:"M7.726 0v2.9h-4.83V0M0 5.306h10.613"})]})}),(0,l.jsxs)("span",{className:"ml-1",children:[(0,l.jsx)("span",{className:"font-semibold",children:p.roomBeds})," ",w("Beds")]})]}),(null==p?void 0:p.roomRooms)&&(0,l.jsxs)("div",{className:"inline-flex text-neutral-900",children:[(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 11 15",width:"11",height:"15",children:(0,l.jsx)("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M.745.748h8.848v12.776H.745zm5.408 6.88h.984"})}),(0,l.jsxs)("span",{className:"ml-1",children:[(0,l.jsx)("span",{className:"font-semibold",children:p.roomRooms})," ",w("Room")]})]})]}),(0,l.jsx)("div",{className:"mt-2",children:(0,l.jsx)(h.A,{siteId:f,profileName:null==p?void 0:p.roomAccommodation,profileId:null==p?void 0:p.roomObjectId})})]})})}function g(e){let{rooms:s,hotel:t=!1,siteId:n}=e;return(0,l.jsx)("ul",{className:"mb-12 grid grid-cols-1 gap-x-4 gap-y-8 sm:grid-cols-2 sm:gap-x-6 md:grid-cols-3 lg:grid-cols-4 xl:gap-x-4",children:null==s?void 0:s.map((e,s)=>(0,l.jsx)(p,{title:e.title,excerpt:e.excerpt,slug:e.slug,featuredImage:e.featuredImage,details:e.acfRoom,hotel:t,siteId:n,priority:0===s},e.id))})}},81523:(e,s,t)=>{"use strict";t.d(s,{A:()=>m});
1var l=t(37876);t(14232);var n=t(89099),a=t(89368),o=t(6768),r=t(45162),i=t(95484);let c=["FRIGAARD","BOSORE","HASMARK","TEMPEL","HOLCAMP","AJSCAMP","GRECAMP","BOJCAMP"],d=["NORSJO","GOL","BOO","KANAL","BEITOSTO"],u=function(){for(var e=arguments.length,s=Array(e),t=0;t<e;t++)s[t]=arguments[t];return fetch(...s).then(e=>e.json())};function m(e){let{isMap:s,siteId:t,profileName:m="camping",profileId:x="",isBottom:h}=e,p=(0,a.useTranslations)("Destination"),{locale:g}=(0,n.useRouter)(),{currency:v}=(0,r.f)(null!=g?g:"sv"),f=new Date,j=new Date(f.getTime()+18144e5),w=new Date(f.getTime()+24192e5),N=j.toISOString().slice(0,10),b=w.toISOString().slice(0,10),y=m;("stuga"===y||"hytte"===y)&&(y=c.includes(t)||d.includes(t)?"hytte":"stuga");let A="/api/pricerange?siteId=".concat(t,"¤cy=").concat(v,"&from=").concat(N,"&to=").concat(b,"&profileName=").concat(x?"":y);x&&(A+="&profileId=".concat(x));let{data:_,error:k,isLoading:I}=(0,o.Ay)(A,u,{revalidateOnFocus:!1});return!k&&(null==_?void 0:_.min)?I?(0,l.jsx)(i.A,{}):(0,l.jsx)("div",{style:{textAlign:h||s?"start":"end",padding:s?"0 0px 10px 10px":"0"},className:"w-full font-bold",children:(0,l.jsx)("span",{className:"text-black",children:p("FromPrice",{price:"".concat(null==_?void 0:_.min," ").concat(v)})})}):""}},95484:(e,s,t)=>{"use strict";t.d(s,{A:()=>n});var l=t(37876);function n(){return(0,l.jsxs)("svg",{className:"h-10 w-10 animate-spin",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[(0,l.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"red",strokeWidth:"4"}),(0,l.jsx)("path",{className:"opacity-75",fill:"red",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]})}t(14232)},97074:(e,s,t)=>{"use strict";t.r(s),t.d(s,{__N_SSG:()=>c,default:()=>d});var l=t(37876);t(14232);var n=t(89099),a=t(46872),o=t(23426),r=t(53899),i=t(21596),c=!0;function d(e){var s;let{posts:t,description:c,accommodations:d,hasB2B:u,menuItems:m,seo:x,messages:h,siteId:p,destinationTranslations:g}=e,{locale:v,...f}=(0,n.useRouter)(),{getRoute:j}=(0,a.fi)(),w=(0,a.xI)("hotell",g),N="https://".concat((e=>{switch(e){case"da":return"firstcamp.dk";case"nb":return"firstcamp.no";case"de":return"firstcamp.de";case"nl":return"firstcamp.nl";case"en":return"en.firstcamp.se";default:return"firstcamp.se"}})(v)).concat(j("destinationer"),"/").concat(null==f||null==(s=f.query)?void 0:s.slug,"/").concat(j("hotell")),b={...{...x,metaRobotsNofollow:"follow",metaRobotsNoindex:"index"},fullHead:'\n <meta property="og:title" content="'.concat(null==x?void 0:x.title,'">\n <meta property="og:description" content="').concat(null==x?void 0:x.metaDesc,'">\n <meta property="og:url" content="').concat(N,'" />\n <link rel="canonical" href="').concat(N,'" />\n ')};return(0,l.jsx)(o.A,{seo:b,messages:h,translations:w,children:(0,l.jsxs)("div",{className:"mx-auto max-w-screen-2xl px-4 sm:px-6 lg:px-8 xl:px-12",children:[d&&(null==d?void 0:d.edges.length)>0&&(0,l.jsx)(i.A,{hasB2B:u,accommodations:null==d?void 0:d.edges,menuItems:m}),(null==c?void 0:c.description)&&(0,l.jsxs)("div",{className:"mb-10 md:grid md:grid-cols-12 md:gap-x-6",children:[(0,l.jsx)("div",{className:"md:col-span-4",children:(0,l.jsx)("h1",{className:"font-semobold mb:6 text-3xl",children:c.title})}),(0,l.jsx)("div",{className:"text-base md:col-span-8",dangerouslySetInnerHTML:{__html:c.description}})]}),(0,l.jsx)(r.A,{rooms:t,hotel:!0,siteId:p})]})})}}},e=>{e.O(0,[371,4387,1552,7181,636,6593,8792],()=>e(e.s=4973)),_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.