1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1583],{4277:e=>{e.exports={component:"tag_component__UGM4T",isLarge:"tag_isLarge__V0fs_",isPrimary:"tag_isPrimary__BzNkI",isSecondary:"tag_isSecondary__flHQ_",isTertiary:"tag_isTertiary__gHPUm",isQuaternary:"tag_isQuaternary__iZDRJ",isQuinary:"tag_isQuinary__aPELx"}},12713:e=>{e.exports={component:"dropdown_component___dO_Q",item:"dropdown_item__c44qE",items:"dropdown_items__2SA8J",label:"dropdown_label__3sNz5",texts:"dropdown_texts__J9J3o",textsWithIcon:"dropdown_textsWithIcon__tXqkE",trigger:"dropdown_trigger__P_vQe",value:"dropdown_value__S8RGp",isOpen:"dropdown_isOpen__EXPvG",isSelected:"dropdown_isSelected__al9OE",isDisabled:"dropdown_isDisabled__WiFMP"}},14699:e=>{e.exports={component:"icon-label_component__CHXIf",icon:"icon-label_icon___JeK2",textContainer:"icon-label_textContainer__H9Lan",text:"icon-label_text__98LuJ",animatedIconContainer:"icon-label_animatedIconContainer__T_mFV",animatedIcon:"icon-label_animatedIcon__KQO3l",isInProductCard:"icon-label_isInProductCard__bndPi",hasBackground:"icon-label_hasBackground__xshUR",isLoyalty:"icon-label_isLoyalty__5TFZg",isAnimated:"icon-label_isAnimated__wqlVr"}},18505:e=>{e.exports={component:"star-rating_component__jglj7",star:"star-rating_star__XHQfZ",starIcon:"star-rating_starIcon__Cmr58",isEmpty:"star-rating_isEmpty__tNRQx",isFull:"star-rating_isFull__YZaas",isHalf:"star-rating_isHalf__rmYya"}},19417:e=>{e.exports={component:"hotel-card_component__zyOrU",imageWrapper:"hotel-card_imageWrapper__ZCTdA",image:"hotel-card_image__oXDk1",detailsWrapper:"hotel-card_detailsWrapper__W8C3N",details:"hotel-card_details__wAe8N",detailsHeader:"hotel-card_detailsHeader__R3H83",name:"hotel-card_name__gNdjl",tagList:"hotel-card_tagList___j_Ip",link:"hotel-card_link__g9WHV",fromPrice:"hotel-card_fromPrice__ao3HS",isLoading:"hotel-card_isLoading__exKLo",isActive:"hotel-card_isActive__pqXtE",isCompact:"hotel-card_isCompact__XhHKk"}},20566:(e,t,a)=>{"use strict";a.d(t,{A:()=>m});var i=a(54568),l=a(25150),s=a.n(l),n=a(7620),r=a(46142),o=a(25013),d=a.n(o);let c=e=>{let{className:t,hasSideScroll:a=!1,tags:l=[]}=e,[o,c]=(0,n.useState)(!1),[m,p]=(0,n.useState)(!1),[u,h]=(0,n.useState)(!1),_=(0,n.useRef)(null),x=()=>{if(_.current){let{clientWidth:e,scrollLeft:t,scrollWidth:a}=_.current;p(t>0),h(t+e>=a)}};return(0,n.useEffect)(()=>{let e=()=>{if(_.current){let{clientWidth:e,scrollWidth:t}=_.current;c(t>e)}};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[]),(0,n.useEffect)(()=>{let e=_.current;if(e)return e.addEventListener("scroll",x),()=>{e.removeEventListener("scroll",x)}},[]),(0,i.jsx)("div",{ref:_,className:s()(d().component,t,{[d().hasMaskLeft]:u,[d().hasMaskLeftAndRight]:m&&!u,[d().hasMaskRight]:o&&!m,[d().hasSideScroll]:a}),children:l.map((e,t)=>(0,i.jsx)(r.A,{text:e.text,variant:e.variant},t))})};c.displayName="TagList";let m=c},25013:e=>{e.exports={component:"tag-list_component__61zR0",hasSideScroll:"tag-list_hasSideScroll__Be9Oy",hasMaskRight:"tag-list_hasMaskRight__1Il2N",hasMaskLeft:"tag-list_hasMaskLeft__fBTvc",hasMaskLeftAndRight:"tag-list_hasMaskLeftAndRight__U9fu4"}},34450:(e,t,a)=>{"use strict";a.d(t,{A:()=>m});var i=a(54568),l=a(25150),s=a.n(l),n=a(65353),r=a(89481),o=a(18505),d=a.n(o);let c=e=>{let{className:t,rating:a}=e,{t:l}=(0,r.s)();return(0,i.jsx)("div",{"aria-label":l("items.search.productCard.rating",{LENGTH:5,rating:a}),className:s()(d().component,t),role:"img",children:Array.from({length:5},(e,t)=>(e=>{let t=a>=e+1,l=!t&&a>e;return(0,i.jsxs)("div",{className:d().star,children:[t&&(0,i.jsx)(n.A,{className:s()(d().starIcon,d().isFull),name:"StarFilled",size:24}),l&&(0,i.jsx)(n.A,{className:s()(d().starIcon,d().isHalf),name:"StarHalfFilled",size:24}),!t&&!l&&(0,i.jsx)(n.A,{className:s()(d().starIcon,d().isEmpty),name:"StarOutline",size:24})]},e)})(t))})};c.displayName="StarRating";let m=c},37858:(e,t,a)=>{"use strict";a.d(t,{A:()=>c});var i=a(54568),l=a(96442),s=a(7620);let n={Confetti:()=>a.e(8561).then(a.t.bind(a,28561,17)),TravelHeartAnimatedBullet:()=>a.e(8337).then(a.t.bind(a,98337,17)),ProviderAarhuscharter:()=>a.e(4633).then(a.t.bind(a,94633,17)),ProviderBravotours:()=>a.e(5937).then(a.t.bind(a,25937,17)),ProviderDanski:()=>a.e(8228).then(a.t.bind(a,88228,17)),ProviderNortlander:()=>a.e(153).then(a.t.bind(a,20153,17)),ProviderPrimotours:()=>a.e(1412).then(a.t.bind(a,1412,17)),ProviderSnowtours:()=>
1a.e(8314).then(a.t.bind(a,68314,17)),ProviderSuncharter:()=>a.e(5487).then(a.t.bind(a,15487,17)),SlideInBottom:()=>a.e(4128).then(a.t.bind(a,14128,17)),SlideInLeft:()=>a.e(3470).then(a.t.bind(a,3470,17)),SlideInTop:()=>a.e(7590).then(a.t.bind(a,27590,17))},r=async e=>{let{default:t}=await n[e]();return t},o=(0,l.default)(()=>Promise.all([a.e(4776),a.e(2927)]).then(a.bind(a,82927)),{loadableGenerated:{webpack:()=>[82927]},ssr:!1}),d=e=>{let{name:t,...a}=e,[l,n]=(0,s.useState)();return((0,s.useEffect)(()=>{let e=!1;return r(t).then(t=>{e||n(t)}),()=>{e=!0}},[t]),l)?(0,i.jsx)(o,{...a,src:l}):null};d.displayName="RiveAnimation";let c=d},41583:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>J});var i=a(54568),l=a(25150),s=a.n(l),n=a(96442),r=a(7620),o=a(65353),d=a(22137),c=a(84431),m=a(38983),p=a(40760),u=a(96261),h=a(74342),_=a(90344),x=a(34450),f=a(20566),g=a(89481),y=a(92320),v=a(19417),j=a.n(v);let A=e=>{let{className:t,image:a,id:l,isActive:n=!1,isLoading:r=!1,name:o,onClick:p,rating:u=0,tags:v=[],totalPricePerPerson:A,type:b,url:N,variant:I}=e,{t:w}=(0,g.s)(),S=(0,y.A)(),C={Apartment:w("items.common.words.apartment"),Chalet:w("items.common.words.chalet"),Hotel:w("items.common.words.hotel"),TransportHotel:w("items.common.words.transport")},k="TransportHotel"===b?"PlaneTakeOff":b&&"Undefined"!==b?b:void 0;return r?(0,i.jsxs)("div",{className:s()(j().component,j().isLoading,t),children:[(0,i.jsx)("div",{className:j().imageWrapper,children:(0,i.jsx)(c.A,{height:"100%",width:"100%"})}),(0,i.jsx)("div",{className:j().detailsWrapper,children:(0,i.jsxs)("div",{className:j().details,children:[(0,i.jsxs)("div",{className:j().detailsHeader,children:[(0,i.jsx)(c.A,{borderRadius:"4px",height:"24px",width:"100px"}),(0,i.jsx)(c.A,{borderRadius:"4px",height:"24px",width:"120px"})]}),(0,i.jsx)("div",{className:j().name,children:(0,i.jsx)(c.A,{borderRadius:"4px",height:"24px",width:"35%"})}),(0,i.jsx)(c.A,{borderRadius:"4px",height:"16px",width:"70%"}),(0,i.jsx)(c.A,{borderRadius:"4px",height:"16px",width:"50%"}),(0,i.jsx)(c.A,{borderRadius:"4px",height:"16px",width:"25%"}),(0,i.jsx)("div",{className:j().fromPrice,children:(0,i.jsx)(c.A,{borderRadius:"4px",height:"25px",width:"40%"})})]})})]}):(0,i.jsxs)("button",{className:s()(j().component,t,{[j().isActive]:n,[j().isCompact]:"compact"===I}),id:l,onClick:p,children:[a&&(0,i.jsx)("div",{className:j().imageWrapper,children:(0,i.jsx)(d.A,{alt:a.altText,className:j().image,src:a.url,srcSet:{desktop:{width:236},laptop:{width:464},tablet:{width:612}},unoptimized:!0,width:343})}),(0,i.jsx)("div",{className:j().detailsWrapper,children:(0,i.jsxs)("div",{className:j().details,children:[(0,i.jsxs)("div",{className:j().detailsHeader,children:[!!k&&b&&(0,i.jsx)(_.A,{icon:k,text:C[b]}),(0,i.jsx)(x.A,{rating:u})]}),o&&(0,i.jsx)(m.A,{className:j().name,tag:"div",tagStyle:"headingSmall",children:o}),v.length>0&&(0,i.jsx)(f.A,{className:j().tagList,hasSideScroll:"compact"===I,tags:v}),N&&(0,i.jsx)(h.A,{className:j().link,icon:"ArrowRight",text:w("items.hotelCard.viewHotelDetails"),url:N}),A&&(0,i.jsxs)("div",{className:j().fromPrice,children:[(0,i.jsx)(m.A,{className:j().name,tagStyle:"priceSmall",children:w("items.common.words.from")}),(0,i.jsx)(m.A,{className:j().name,tagStyle:"priceMedium",children:S(A)})]})]})})]})};A.displayName="HotelCard";var b=a(56679),N=a(14741),I=a(54035),w=a(42179),S=a(75925),C=a(19873),k=a(66485),P=a(80442),L=a(41954),M=a(52906),T=a(2215),E=a(56721),R=a(71892);let H=e=>e?e.map(e=>{var t,a,i,l;let s=[...e.facilityHighlights.map(e=>({text:e,variant:"primary"})),...e.distances.map(e=>({text:e,variant:"secondary"}))];return{id:String(e.hotelId),image:e.picture?{altText:null!=(a=e.picture.description)?a:"",url:e.picture.url}:void 0,name:e.hotelName,rating:null!=(i=e.stars)?i:void 0,tags:s,totalPricePerPerson:null!=(l=null==(t=e.bestPrice)?void 0:t.totalPricePerPerson)?l:void 0,type:e.hotelType,url:e.url}}):[],B=(e,t)=>{var a,i,l,s,n,r;return{geometry:{coordinates:[null!=(n=null==(a=e.geoLocation)?void 0:a.longitude)?n:0,null!=(r=null==(i=e.geoLocation)?void 0:i.latitude)?r:0],type:"Point"},properties:{id:String(e.hotelId),markerLabel:(null==(l=e.bestPrice)?void 0:l.totalPricePerPerson)&&t?t(null==(s=e.bestPrice)?void 0:s.totalPricePerPerson):e.hotelName,name:e.hotelName,type:e.pointOfInterestType},type:"Feature"}};function F(e){return"MapHotelEntry"===e.$type}function W(e){return"MapPoiEntry"===e.$type}var D=a(81829),O=a.n(D);let z=(0,n.default)(()=>
1Promise.all([a.e(5781),a.e(8280),a.e(7611),a.e(9166),a.e(5246),a.e(1386),a.e(1100)]).then(a.bind(a,31100)),{loadableGenerated:{webpack:()=>[31100]},loading:()=>(0,i.jsx)(c.A,{height:"100%",width:"100%"}),ssr:!1}),Q=e=>{var t,a;let{preHeadline:l,destinationId:n,destinationMap:c,headline:h,filters:_,placeholderImage:x,...f}=e,{t:v}=(0,g.s)(),j=(0,R.l)("laptop"),D=(0,y.A)(),{handleUpdateIsScrolled:Q,hotelDetails:J,stickyTopContentHeight:G}=(0,P.M)(),V=(0,r.useRef)(null),U=(0,r.useRef)(G),{bindRef:K,elementRef:q,isHovered:X}=(0,T.A)(),[Y,Z]=(0,r.useState)(),[$,ee]=(0,r.useState)("list"),[et,ea]=(0,r.useState)([]),[ei,el]=(0,r.useState)([]),[es,en]=(0,r.useState)(),[er,eo]=(0,r.useState)(!0),[ed,ec]=(0,r.useState)(!1),[em,ep]=(0,r.useState)(null),[eu,eh]=(0,r.useState)([]),[e_,ex]=(0,r.useState)([]),[ef,eg]=(0,r.useState)(!x),{data:ey,isLoading:ev}=((e,t)=>{var a;let{destinationId:i,selectedFilters:l}=e,s=(0,M.Ay)(),{hotelDetails:n}=(0,P.M)(),r=null!=(a=null==n?void 0:n.hotelId)?a:"";return(0,C.useQuery)([k.Ol.DESTINATIONS_MAP,i,l,s],async()=>await fetch("/api/destinations/map?destinationId=".concat(i,"&filters=").concat(l,"&hotelId=").concat(r),{headers:{"Accept-Language":(0,L.A)(s),"Content-Type":"application/json"},method:"GET"}).then(e=>{if(e.ok)return e.json();throw Error("".concat(e.status," - ").concat(e.statusText))}).then(e=>e.result.entries).catch(e=>{throw console.error("hooks.useQueryDestinationsMap",e),e}),{enabled:!!i,initialData:void 0,keepPreviousData:!0,staleTime:k.SJ})})({destinationId:n,selectedFilters:eu.map(e=>e.facilityId)}),ej=(null==et?void 0:et.length)>0;(0,E.A)({isEnabled:!!em,onComplete:()=>{ec(!1),ep(null)},targetScrollY:null!=em?em:0,threshold:2}),(0,r.useEffect)(()=>{U.current=G},[G]),(0,r.useEffect)(()=>{if(!ed){if(X&&ef)return void Q(!1);Q(!0)}},[X,ed]),(0,r.useEffect)(()=>{ey&&(ea(ey.filter(F)),el(ey.filter(W)))},[ey]);let eA=(e,t)=>{en(void 0),Z(void 0),eg(!0),eh(a=>{let i=a.some(t=>t.facilityId===e.facilityId);return(null==t?void 0:t.replaceAllFilters)?i?[]:[e]:(null==t?void 0:t.isRadioButton)?null===e.facilityId?[...a.filter(t=>t.filterId!==e.filterId)]:[...a.filter(t=>t.filterId!==e.filterId),e]:i?[...a.filter(t=>t.facilityId!==e.facilityId)]:[...a,e]})},eb=(e,t)=>{eg(!0),ex(a=>{let i=a.includes(e);return t?i?[]:[e]:i?[...a.filter(t=>t!==e)]:[...a,e]})},eN=(0,r.useMemo)(()=>{let e=[];return _.forEach(t=>{t.facilities.forEach(a=>{a.facilityId&&e.push({facilityId:a.facilityId,filterId:t.id,label:a.facilityName})})}),e},[_]),eI=(0,r.useMemo)(()=>Object.values(ei.reduce((e,t)=>(e[t.pointOfInterestType]||(e[t.pointOfInterestType]={label:t.filterLabel,value:t.pointOfInterestType}),e),{})||[]),[ei]);(0,r.useEffect)(()=>{if(!J||!(null==et?void 0:et.length)||!er)return;let e=et.findIndex(e=>e.hotelId===J.hotelId);eo(!1),Z(e),en(String(J.hotelId))},[et]);let ew=(0,r.useMemo)(()=>"number"==typeof Y&&(null==et?void 0:et[Y])?B(et[Y],D):void 0,[Y,et]),eS=(0,r.useMemo)(()=>((e,t)=>t?{features:t.map(t=>B(t,e)),type:"FeatureCollection"}:{features:[],type:"FeatureCollection"})(D,et),[et]),eC=(0,r.useMemo)(()=>ei.filter(e=>e_.includes(e.pointOfInterestType)),[ei,e_]),ek=(0,r.useMemo)(()=>(e=>e?{features:e.map(e=>(e=>{var t,a,i,l;return{geometry:{coordinates:[null!=(i=null==(t=e.geoLocation)?void 0:t.longitude)?i:0,null!=(l=null==(a=e.geoLocation)?void 0:a.latitude)?l:0],type:"Point"},properties:{filterLabel:String(e.filterLabel),id:String(e.id),name:e.name,poiLabel:e.name,type:e.pointOfInterestType},type:"Feature"}})(e)),type:"FeatureCollection"}:{features:[],type:"FeatureCollection"})(eC),[eC]);return(0,i.jsxs)(w.A,{...f,className:O().component,children:[(l||h)&&(0,i.jsxs)(N.A,{className:O().textContainer,children:[l&&(0,i.jsx)(m.A,{className:O().preHeadline,tagStyle:"subHeading",children:l}),h&&(0,i.jsx)(m.A,{className:O().headline,tagStyle:"displayMedium",children:h})]}),_&&_.length>0&&(0,i.jsxs)(N.A,{className:O().filtersContainer,children:[j?(0,i.jsxs)("div",{className:O().filtersWrapper,children:[(0,i.jsx)(m.A,{tagStyle:"bodyMediumBold",children:v("items.modules.destinationMap.filterResults")}),(0,i.jsx)("div",{className:O().filters,children:_.map((e,t)=>(0,i.jsx)("div",{className:O().filterGroup,children:e.facilities.map((t,a)=>(0,i.jsx)("button",{className:s()(O().filter,{[O().isActive]:null===t.facilityId&&!eu.
1some(t=>t.filterId===e.id)||t.facilityId&&eu.some(e=>e.facilityId===t.facilityId)}),onClick:()=>eA({facilityId:t.facilityId,filterId:e.id},{isRadioButton:e.showAsRadioButtons}),children:(0,i.jsx)(m.A,{tagStyle:"bodyMediumBold",children:t.facilityName})},a))},t))})]}):(0,i.jsx)(u.A,{className:O().dropdown,items:eN.map(e=>({label:e.label,value:e.facilityId})),label:v("items.modules.destinationMap.filterResults"),onChange:e=>{var t;return eA({facilityId:e,filterId:Number(null==(t=eN.find(t=>t.filterId===e))?void 0:t.filterId)},{replaceAllFilters:!0})},value:null==(t=eu[0])?void 0:t.facilityId}),!j&&(0,i.jsxs)("div",{className:O().layoutPicker,children:[(0,i.jsx)("button",{className:s()(O().layoutPickerItem,{[O().isActive]:"map"===$}),onClick:()=>ee("map"),children:(0,i.jsx)(o.A,{name:"Location",size:24})}),(0,i.jsx)("button",{className:s()(O().layoutPickerItem,{[O().isActive]:"list"===$}),onClick:()=>ee("list"),children:(0,i.jsx)(o.A,{name:"ListView",size:24})})]})]}),(0,i.jsx)("div",{ref:V,children:(0,i.jsx)(N.A,{children:(0,i.jsxs)(S.A,{children:[(j||"list"===$)&&(0,i.jsx)(b.A,{width:{desktop:6,laptop:4},children:(0,i.jsxs)(S.A,{className:O().itemsRow,children:[(0,i.jsx)("noscript",{children:c.entries.length>0?c.entries.map((e,t)=>(0,i.jsx)(b.A,{className:O().itemsColumn,width:{laptop:12,tablet:6},children:(0,i.jsx)(I.A,{url:e.url,children:(0,i.jsx)(m.A,{tagStyle:"bodyMedium",children:e.hotelName})})},t)):(0,i.jsx)(b.A,{className:s()(O().itemsColumn,O().isEmpty),children:(0,i.jsx)(m.A,{tagStyle:"bodyLargeBold",children:v("items.modules.destinationMap.noResults")})})}),ev&&!ej&&Array.from({length:4}).map((e,t)=>(0,i.jsx)(b.A,{className:O().itemsColumn,width:{laptop:12,tablet:6},children:(0,i.jsx)(A,{className:O().loadingItem,isLoading:!0})},t)),!ej&&!ev&&(0,i.jsx)(b.A,{className:s()(O().itemsColumn,O().isEmpty),children:(0,i.jsx)(m.A,{tagStyle:"bodyLargeBold",children:v("items.modules.destinationMap.noResults")})}),ej&&H(et).map((e,t)=>(0,i.jsx)(b.A,{className:O().itemsColumn,width:{laptop:12,tablet:6},children:(0,i.jsx)(A,{...e,id:"hotel-".concat(e.id),isActive:String(e.id)===String(es),onClick:()=>{en(String(e.id)),Z(t),eg(!0)}})},t))]})}),(j||"map"===$)&&(0,i.jsxs)(b.A,{className:O().mapColumn,width:{desktop:6,laptop:8},children:[eI.length>0&&(0,i.jsx)("div",{className:O().poiContainer,children:j?(0,i.jsxs)(r.Fragment,{children:[(0,i.jsx)(m.A,{className:O().poiHeader,tagStyle:"bodyMediumBold",children:"".concat(v("items.maps.mapFilters"))}),(0,i.jsx)("div",{className:O().filterGroup,children:eI.map((e,t)=>(0,i.jsx)("button",{className:s()(O().filter,{[O().isActive]:e_.includes(e.value)}),onClick:()=>eb(e.value),children:(0,i.jsx)(m.A,{tagStyle:"bodyMediumBold",children:e.label})},t))})]}):(0,i.jsx)(u.A,{className:O().dropdown,items:eI,label:v("items.maps.mapFilters"),onChange:e=>eb(e,!0),value:e_[0]})}),(0,i.jsx)("div",{ref:K,className:O().mapWrapper,style:{top:"".concat(G+32,"px")},children:ef?(0,i.jsxs)(r.Fragment,{children:[(0,i.jsx)(z,{activeItem:ew,controlPosition:j?"bottom-right":void 0,items:{markers:eS,pois:ek},onClickMarker:e=>{if(!et)return;let t=et.find(t=>String(t.hotelId)===String(e.properties.id));if(!t)return;let a=et.indexOf(t);"number"==typeof a&&(Z(a),en(String(e.properties.id)),(e=>{if(!V.current||!q.current)return;let t=document.getElementById(e);if(!t)return;let a=window.scrollY+t.getBoundingClientRect().top-U.current-32;ec(!0),ep(a),Q(!1),window.scrollTo({behavior:"smooth",top:a})})("hotel-".concat(e.properties.id)))}},"destination-map-".concat(null!=(a=null==ey?void 0:ey.length)?a:0)),!(null==et?void 0:et.length)&&(0,i.jsx)("div",{className:O().mapTextWrapper,children:(0,i.jsx)(m.A,{className:O().mapText,tagStyle:"bodyLargeBold",children:v("items.modules.destinationMap.noResults")})}),"number"==typeof Y&&!j&&et&&(0,i.jsx)(A,{className:O().mapCard,...H(et)[Y],variant:"compact"})]}):(0,i.jsxs)("div",{className:O().placeholder,children:[x&&(0,i.jsx)(d.A,{alt:x.altText,className:O().placeholderImage,focalPoint:x.focalPoint,height:459,src:x.url,srcSet:{desktop:{height:656,width:656},laptop:{height:619,width:619},tablet:{height:514,width:720}},unoptimized:!0,width:328}),(0,i.jsx)(p.A,{className:O().placeholderButton,onClick:()=>eg(!0),text:v("items.common.words.showMap")})]})})]})]})})})]})};Q.displayName="DestinationMap";let J=Q},46142:(e,t,a)=>{"use strict";a.d(t,{A:()=>m});var i=a(54568),l=a(25150),s=a.n(l),n=a(38983),r=a(4277),o=a.n(r);let d={primary:o().isPrimary,secondary:o().isSecondary,tertiary:o().isTertiary,quaternary:o().isQuaternary,quinary:o().isQuinary},c=e=>{let{className:t,size:a="small",text:l,variant:r="primary",onClick:c,...m}=e,p=(0,i.jsx)(n.A,{tag:"span",tagStyle:"large"===a?"labelMedium":"labelSmall",children:l});return c?(0,i.jsx)("button",{...m,className:s()(o().component,t,d[r],{[o().isLarge]:"large"===a}),onClick:c,children:p}):(0,i.jsx)("div",{className:s()(o().component,t,d[r]),children:p})};c.displayName="Tag";let m=c},56721:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var i=a(7620);let l=e=>{let{isEnabled:t=!0,targetScrollY:a,threshold:l=2,onComplete:s}=e;(0,i.useEffect)(()=>
1{if(!window||!t)return;let e=setInterval(()=>{(Math.abs(window.scrollY-a)<l||0===a)&&(s(),clearInterval(e))},25),i=setTimeout(()=>clearInterval(e),2e3);return()=>{clearInterval(e),clearTimeout(i)}},[a,l,s,t])}},81829:e=>{e.exports={component:"destination-map_component__RViZW",textContainer:"destination-map_textContainer__VCK1_",preHeadline:"destination-map_preHeadline__VfgAb",headline:"destination-map_headline__ODzCY",itemsRow:"destination-map_itemsRow__LQNpj",itemsColumn:"destination-map_itemsColumn__ElJDH",isEmpty:"destination-map_isEmpty___TzUV",mapColumn:"destination-map_mapColumn__Q6Jw6",placeholder:"destination-map_placeholder__zgHJv",placeholderButton:"destination-map_placeholderButton___0SuR",placeholderImage:"destination-map_placeholderImage__6s9IJ",mapWrapper:"destination-map_mapWrapper__4bUKV",mapCard:"destination-map_mapCard__el229",mapTextWrapper:"destination-map_mapTextWrapper__DDaoQ",mapText:"destination-map_mapText__PksqJ",filtersContainer:"destination-map_filtersContainer__HzcEj",filtersWrapper:"destination-map_filtersWrapper__7j7A8",filters:"destination-map_filters__oF9C7",filterGroup:"destination-map_filterGroup__9EpWM",filter:"destination-map_filter__RFs37",isActive:"destination-map_isActive__xhrmy",poiContainer:"destination-map_poiContainer__levjm",poiHeader:"destination-map_poiHeader__zliSg",dropdown:"destination-map_dropdown__oNdPV",layoutPicker:"destination-map_layoutPicker__3kkDC",layoutPickerItem:"destination-map_layoutPickerItem__73u7o"}},90344:(e,t,a)=>{"use strict";a.d(t,{A:()=>p});var i=a(54568),l=a(25150),s=a.n(l),n=a(65353),r=a(85371),o=a(37858),d=a(14699),c=a.n(d);let m=e=>{let{className:t,hasIconBackground:a=!1,icon:l="CheckMark",iconClassName:d,isAnimated:m=!1,isInProductCard:p=!1,isLoyalty:u=!1,secondLineText:h,text:_}=e;return(0,i.jsxs)("div",{className:s()(c().component,t,{[c().hasBackground]:a,[c().isAnimated]:m,[c().isInProductCard]:p,[c().isLoyalty]:u}),children:[m&&u?(0,i.jsx)("div",{className:c().animatedIconContainer,children:(0,i.jsx)("div",{className:c().animatedIcon,children:(0,i.jsx)(o.A,{height:180,name:"TravelHeartAnimatedBullet",width:210})})}):(0,i.jsx)("div",{...u&&{"data-brand":"onehome"},children:(0,i.jsx)(n.A,{className:s()(c().icon,d),name:l})}),(0,i.jsxs)("div",{className:c().textContainer,children:[(0,i.jsx)(r.A,{className:c().text,text:_}),h&&(0,i.jsx)(r.A,{className:c().text,text:h})]})]})};m.displayName="IconLabel";let p=m},92320:(e,t,a)=>{"use strict";a.d(t,{A:()=>s});var i=a(29554),l=a(52906);let s=()=>{let e=(0,l.Ay)(),{localization:t}=(0,i.l)();return a=>{let i=a%1==0;return new Intl.NumberFormat(e,{currency:(null==t?void 0:t.regionInfo.isoCurrencySymbol)||"DKK",maximumFractionDigits:2,minimumFractionDigits:2*!i,style:"currency"}).format(a)}}},96261:(e,t,a)=>{"use strict";a.d(t,{A:()=>p});var i=a(54568),l=a(25150),s=a.n(l),n=a(7620),r=a(65353),o=a(38983),d=a(12713),c=a.n(d);let m=e=>{let{className:t,icon:a,isDisabled:l,items:d=[],label:m,onChange:p,value:u}
1=e,[h,_]=(0,n.useState)(!1),x=(0,n.useMemo)(()=>d.find(e=>e.value===u),[d,u]);return(0,n.useEffect)(()=>{if(!h||!window)return;let e=e=>{e.target.closest(".".concat(c().component))||_(!1)};return window.addEventListener("click",e),()=>{window.removeEventListener("click",e)}},[h]),(0,i.jsxs)("div",{className:s()(c().component,t,{[c().isDisabled]:l||0===d.length,[c().isOpen]:h}),children:[(0,i.jsxs)("button",{className:s()(c().item,c().trigger),onClick:()=>_(e=>!e),tabIndex:0,children:[(0,i.jsxs)("div",{className:c().textsWithIcon,children:[a&&(0,i.jsx)(r.A,{name:a,size:24}),(0,i.jsxs)("div",{className:c().texts,children:[(0,i.jsx)(o.A,{className:c().label,tagStyle:"bodySmallBold",children:m}),(0,i.jsx)(o.A,{className:c().value,tagStyle:"bodyMedium",children:(null==x?void 0:x.label)||m})]})]}),(0,i.jsx)(r.A,{name:h?"ChevronUp":"ChevronDown",size:12})]}),d.length&&(0,i.jsx)("div",{className:c().items,children:d.map((e,t)=>(0,i.jsxs)("button",{className:s()(c().item,{[c().isSelected]:e.value===(null==x?void 0:x.value)}),onClick:()=>{p(e.value),_(!1)},tabIndex:h?0:void 0,children:[(0,i.jsx)(o.A,{tagStyle:"bodyMedium",children:e.label}),e.subText&&(0,i.jsx)(o.A,{tagStyle:"bodySmall",children:e.subText})]},t))})]})};m.displayName="Dropdown";let p=m}}]); 2//# sourceMappingURL=1583.39f43ab9478d2edb.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.