PageSourceSearch

https://www.istracamping.com/_next/static/chunks/3syov0c-scww3.js

js istracamping.com collected 2026-10-02 11:56:28 UTC 22,948 bytes, 405 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,84660,e=>{e.v(t=>Promise.all(["static/chunks/06qsn4x3hlf41.js"].map(t=>e.l(t))).then(()=>t(26627)))},96590,e=>{"use strict";var t=e.i(91398),a=e.i(91788),o=e.i(415);e.i(64157);var n=e.i(71179),i=e.i(32638),r=e.i(19538),s=e.i(70227),l=e.i(51369),c=e.i(53782),d=e.i(90796),p=e.i(46864),u=e.i(60814);e.i(67037);var h=e.i(97012);let m=u.default.div.withConfig({displayName:"style__DateRangePickerDesktopStyled",componentId:"sc-ebfe5e65-0"})`
2    align-items: center;
3    background-color: transparent;
4    display: flex;
5    justify-content: space-between;
6    position: relative;
7    width: 23%;
8
9    @media (max-width: ${d.sizes.tbBreakpointMax}) {
10        display: none;
11    }
12
13    &.input-style {
14        width: 100%;
15        justify-content: center;
16        flex-direction: column;
17        align-items: flex-start;
18        margin-right: 16px;
19        border: 1px solid ${d.colors.neutral200};
20    }
21
22    .calendar--left { 
23        left: 0;
24    }
25
26    .calendar--right { 
27        right: 0;
28    }
29
30`,y={fadeIn:u.keyframes`
31        0% { opacity: 0; scale: 0.7; }
32        100% { opacity: 1; scale: 1; }
33    `},g=u.default.div.withConfig({displayName:"style__CalendarDropdownStyled",componentId:"sc-ebfe5e65-1"})`
34    width: 930px;
35    animation: ${y.fadeIn} 250ms ease-in-out;
36    background-color: #fff;
37    border-radius: 4px;
38    box-shadow: 0px 8px 8px -4px rgba(23, 34, 77, 0.03); box-shadow: 0px 20px 24px -4px rgba(23, 34, 77, 0.08);
39    display: ${e=>e.$isOpen?"block":"none"};
40    padding: 32px 60px;
41    position: absolute;
42    top: ${e=>e.$isSticky?"3.611rem":"5.13rem"};
43    z-index: 99;
44
45    @media (min-width: 2500px) {
46        width: calc(70vw);
47        min-width: 1200px;
48    }
49
50    .react-calendar {
51        border: 0;
52        margin: 0 auto;
53        width: 100%;
54
55        .react-calendar__viewContainer {
56            margin-top: 5px;
57            justify-content: space-between;
58
59            .react-calendar__month-view {
60                font-family: ${h.circe.style.fontFamily};
61                margin: 0;
62                padding: 0 32px 14px 32px;
63                width: 50%;
64            }
65        }
66
67        .react-calendar__month-view__weekdays {
68            color: ${d.colors.neutral500};
69            font-size: 1.056rem;
70            font-weight: 400;
71            height: 53px;
72            line-height: 1.47;
73            text-decoration: none;
74
75            abbr[title] {
76                text-decoration: none;
77            }
78
79        }
80
81        .react-calendar__month-view__days__day--neighboringMonth {
82            visibility: hidden;
83        }
84
85        .react-calendar__navigation {
86            margin: 0;
87            position: relative;
88
89            .react-calendar__navigation__label {
90                align-items: center;
91                cursor: unset;
92                display: flex;
93                justify-content: space-around;
94
95                &:hover {
96                    background-color: transparent;
97                }
98
99                .react-calendar__navigation__label__labelText {
100                    font-size: 1.222rem;
101                    font-weight: 700;
102                    line-height: 1.47;
103                    font-family: ${h.circe.style.fontFamily};
104                }
105
106                .react-calendar__navigation__label__divider {
107                    display: none;
108                }
109            }
110
111            .react-calendar__navigation__prev-button {
112                background: white;
113                display: block;
114                position: absolute;
115                left: 0;
116                top: 0;
117                bottom: 0;
118
119                &:hover {
120                    background-color: transparent;
121                }
122
123                &:focus {
124                    ${d.mixins.focusableItem};
125                }
126            }
127
128            .react-calendar__navigation__next-button {
129                background: white;
130                display: block;
131                position: absolute;
132                right: 0;
133                top: 0;
134                bottom: 0;
135
136                &:hover {
137                    background-color: transparent;
138                }
139
140                &:focus {
141                    ${d.mixins.focusableItem};
142                }
143            }
144        }
145
146        .custom-tile {
147            box-sizing: border-box;
148            color: ${d.colors.body};
149            font-size: 1.056rem;
150            font-weight: 700;
151            height: 54px;
152            line-height: 1.47;
153            width: 54px;
154
155            @media (min-width: 2500px) {
156                height: 66px;
157                width: 66px;
158            }
159
160            &.react-calendar__tile--hover,
161            &.react-calendar__tile--active {
162                background-color: ${d.colors.green100};
163                color: ${d.colors.primaryGreen};
164            }
165
166            &.react-calendar__tile--rangeStart,
167            &.react-calendar__tile--rangeEnd {
168                background-color: ${d.colors.primaryGreen};
169                color: white;
170            }
171
172            &:hover {
173                background-color: ${d.colors.primaryGreen};
174                color: white;
175            }
176
177            &.react-calendar__tile--range {
178                &:not(.react-calendar__tile--rangeStart) {
179                    &:not(.react-calendar__tile--rangeEnd) {
180                        background-color: ${d.colors.green100};
181                        color: ${d.colors.primaryGreen};
182                    }
183                }
184            }
185
186            &.react-calendar__tile--rangeBothEnds {
187                pointer-events: none;
188            }
189
190            &:disabled {
191                background-color: white;
192                color: ${d.colors.neutral300};
193                font-weight: 700;
194            }
195
196            &.react-calendar__tile--now {
197                background-color: white;
198                border: 1px solid ${d.colors.primaryGreen};
199                color: ${d.colors.body};
200
201                &.react-calendar__tile--active {
202                    background-color: ${d.colors.primaryGreen};
203                    color: white;
204                }
205
206                &:hover {
207                    background-color: ${d.colors.primaryGreen};
208                    color: white;
209                }
210            }
211        }
212    }
213
214    .dropdown-footer {
215        display: flex;
216        justify-content: space-between;
217
218        .period-block {
219            color: ${d.colors.neutral800};
220            font-size: 1.167rem;
221            font-weight: 700;
222            line-height: 1.47;
223
224            .total-nights {
225                color: ${d.colors.bodyGrey};
226                font-weight: 400;
227                margin-left: 11px;
228            }
229        }
230
231        .buttons-block {
232            align-items: center;
233            display: flex;
234
235            .clear-dates-button {
236                margin-right: 40px;
237            }
238        }
239    }
240`,x={en:["S","M","T","W","T","F","S"],hr:["N","P","U","S","Č","P","S"],de:["S","M","D","M","D","F","S"],it:["D","L","M","M","G","V","S"],nl:["Z","M","D","W","D","V","Z"],sl:["N","P","T","S","Č","P","S"]};e.s(["default",0,e=>{let{isOpen:u,setOpen:h,calendarAlign:y="left"}=e,{dispatch:f,state:S}=(0,r.useApp)(),[b,k]=(0,a.useState)(!1),[_,w]=(0,a.useState)(null),[v,M]=(0,a.useState)(null),[D,T]=(0,a.useState)(new Date),{t:E,i18n:j}=(0,n.useTranslation)("common"),A=(0,a.useRef)(null),$=(0,a.useRef)(null);(0,a.useEffect)(()=>{u&&e.startDate&&e.endDate&&(w(e.startDate),M(e.endDate),T(e.startDate))},[u]),(0,a.useEffect)(()=>{S.globalMessage&&setTimeout(()=>{f({type:"SET_GLOBAL_MESSAGE",payload:null})},5e3)},[S.globalMessage]);let C=()=>{u&&(w(null),M(null)),h(u?null:s.SearchFields.CALENDAR)},N=e=>"prev2"===e?(0,t.jsx)(c.default,{color:d.colors.body}):(0,t.jsx)(c.default,{color:d.colors.body,direction:"next"});return(0,t.jsxs)(m,{ref:A,onBlur:()=>{!b&&u&&(w(null),M(null),h(null))},onTouchStart:()=>k(!0),className:e.className,children:[(0,t.jsx)(p.default,{startDate:e.startDate,endD
240ate:e.endDate,onToggle:C,handleKeyDown:e=>{"Enter"===e.key?C():"Escape"===e.key||"Esc"===e.key?(u&&(w(null),M(null)),h(null)):"Tab"===e.key&&k(!0)},isMenuSticky:e.isMenuSticky,placeholderStyle:e.placeholderStyle,isOpen:u}),(0,t.jsxs)(g,{tabIndex:-1,$isOpen:u,$isSticky:e.isMenuSticky,onKeyDown:e=>{("Escape"===e.key||"Esc"===e.key)&&(u&&(w(null),M(null)),h(null))},onMouseEnter:()=>k(!0),onMouseLeave:()=>k(!1),className:"left"===y?"calendar--left":"calendar--right",children:[(0,t.jsx)(i.default,{selectRange:!0,value:_&&v&&[_,v],onChange:t=>{(0,o.differenceInDays)(t[1]||null,t[0]||null)>90?f({type:"SET_GLOBAL_MESSAGE",payload:{type:"info",value:E("mainAccommodationSearch.tooManyDays.warning")}}):(w(t[0]||null),M(t[1]||null),t[0]&&t[1]&&(e.onChange(t[0],t[1]),h(null)))},onClickDay:()=>f({type:"SET_GLOBAL_MESSAGE",payload:null}),showDoubleView:!0,showNeighboringMonth:!1,view:"month",prev2Label:null,next2Label:null,tileClassName:"custom-tile",formatShortWeekday:(e,t)=>x[e??"en"][t.getDay()],prevLabel:N("prev2"),nextLabel:N("next2"),minDate:new Date,locale:j.language,formatDay:(e,t)=>t.getDate().toString(),goToRangeStartOnSelect:!1,activeStartDate:D,onActiveStartDateChange:e=>{"onChange"!==e.action&&T(e.activeStartDate??new Date)}}),(0,t.jsxs)("div",{className:"dropdown-footer",children:[(0,t.jsx)("div",{className:"period-block",children:(()=>{if(!_||!v)return null;let e=(0,o.differenceInDays)(v,_);return(0,t.jsxs)(t.Fragment,{children:[_.toLocaleDateString("en"===j.language?"hr":j.language)," - ",v.toLocaleDateString("en"===j.language?"hr":j.language),(0,t.jsxs)("span",{className:"total-nights",children:["(",e," ",e>1?E("mainAccommodationSearch.night.plural"):E("mainAccommodationSearch.night.singular"),")"]})]})})()}),(0,t.jsx)("div",{className:"buttons-block",children:(0,t.jsx)(l.default,{buttonRef:$,className:"small clear-dates-button",theme:"underlined-link",text:E("mainAccommodationSearch.button.clearDates"),onClick:()=>{w(null),M(null),e.onChange(null,null),h(null)},onKeyDown:e=>{"Tab"!==e.key||e.shiftKey||C()}})})]})]})]})}],96590)},37011,e=>{"use strict";var t=e.i(91398),a=e.i(91788),o=e.i(3828),n=e.i(14756);e.i(64157);var i=e.i(71179),r=e.i(81908),s=e.i(19538),l=e.i(55391),c=e.i(9712),d=e.i(8641),p=e.i(61748),u=e.i(35288),h=e.i(98418),m=e.i(94839),y=e.i(51369),g=e.i(95336),x=e.i(10588),f=e.i(70227),S=e.i(99090),b=e.i(29786),k=e.i(50462),_=e.i(93989),w=e.i(60814),v=e.i(90796);let M={fadeIn:w.keyframes`
241        0% { opacity: 0; scale: 0.7; }
242        100% { opacity: 1; scale: 1; }
243    `},D=w.default.div.withConfig({displayName:"style__AccommodationTypeSelectorDesktopStyled",componentId:"sc-e431fe3d-0"})`
244    position: relative;
245    width: 20%;
246
247    @media (max-width: ${v.sizes.tbBreakpointMax}) {
248        margin: 8px 0;
249    }
250`,T=w.default.div.withConfig({displayName:"style__AccommodationTypeDropdown",componentId:"sc-e431fe3d-1"})`
251    animation: ${M.fadeIn} 250ms ease-in-out;
252    background-color: #fff;
253    border-radius: 4px;
254    box-shadow: 0px 8px 8px -4px rgba(23, 34, 77, 0.03); box-shadow: 0px 20px 24px -4px rgba(23, 34, 77, 0.08);
255    display: ${e=>e.$isOpen?"block":"none"};
256    left: 0;
257    padding: 24px;
258    position: absolute;
259    top: ${e=>e.$isSticky?"3.611rem":"5.278rem"};
260    width: 24.667rem;
261    z-index: 9999;
262
263    @media (max-width: ${v.sizes.tbBreakpointMax}) {
264        animation: none;
265        border-radius: 2px;
266        box-shadow: none;
267        padding: 16px;
268        position: relative;
269        top: 0;
270        width: 100%;
271        z-index: 1;
272    }
273`,E=e=>{let o,{isOpen:n,setOpen:i}=e,[r,s]=(0,a.useState)(!1),[l,c]=(0,a.useState)(e.properties),[p,h]=(0,a.useState)(e.propertyTypes),[m,y]=(0,a.useState)(e.searchTerm);(0,a.useEffect)(()=>{c([...e.properties]),h([...e.propertyTypes]),y(e.searchTerm)},[e.properties,e.propertyTypes,e.searchTerm]),(0,a.useEffect)(()=>{n||e.onChange([...l],[...p],m)},[n]);let g=()=>{i(n?null:f.SearchFields.TYPE)};return(0,t.jsxs)(D,{tabIndex:-1,onBlur:()=>{!r&&n&&i(null)},onTouchStart:()=>s(!0),children:[(0,t.jsx)(_.default,{onToggle:g,handleKeyDown:e=>{"Enter"===e.key?g():"Escape"===e.key||"Esc"===e.key?i(null):"Tab"===e.key&&s(!0)},accommodationTypes:p,isMenuSticky:e.isMenuSticky}),(0,t.jsx)(T,{$isOpen:n,$isSticky:e.isMenuSticky,onKeyDown:e=>{("Escape"===e.key||"Esc"===e.key)&&i(null)},onMouseEnter:()=>s(!0),onMouseLeave:()=>s(!1),children:(0,t.jsx)(k.default,{allProperties:e.allProperties,properties:l,propertyTypes:p,propertyLocations:(o=e.destinations.filter(e=>e.checked).map(e=>e.label),e.destinations.some(e=>!e.checked)?(0,u.generateStringFromArray)(o):""),searchTerm:m,handleChangeSearchTerm:t=>{let a=t.target.value||"";c([...(0,d.filterProperties)(e.allProperties,a,p,e.destinations)]),y(a)},handleChangeProperties:(e,t)=>{c([...void 0===t?l.map((t,a)=>({...t,checked:e.includes(a)?!t.checked:t.checked})):l.map((a,o)=>({...a,checked:e.includes(o)?t:a.checked}))])},handleChangePropertyType:(t,a)=>{let o;o=void 0===a?p.map((e,a)=>({...e,checked:t.includes(a)?!e.checked:e.checked})):p.map((e,o)=>({...e,checked:t.includes(o)?a:e.checked}));let n=(0,d.filterProperties)(e.allProperties,e.searchTerm,o,e.destinations);h([...o]),c([...n])},handleBlurLastItem:e=>{"Tab"!==e.key||e.shiftKey||i(null)},device:"desktop"})})]})};var j=e.i(96590),A=e.i(78835),$=e.i(14997),C=e.i(24503);let N=w.default.div.withConfig({displayName:"style__DesktopMenuContainerStyled",componentId:"sc-2f8f7e51-0"})`
274    display: flex;
275    flex-grow: 1;
276
277    &.sticky {
278        background: white;
279        box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.13);
280    }
281
282    @media (max-width: ${v.sizes.tbBreakpointMax}) {
283        display: none;
284    }
285
286    .room-search-items {
287        width: 33%;
288    }
289`,P=e=>{let{state:o,dispatch:n,allProperties:i,isShortSearch:s}=(0,r.useAccommodationSearch)(),l=(0,a.useRef)(null);(0,b.default)([l],()=>c(null));let c=t=>
289{e.setActiveMenu(t)};return(0,t.jsxs)(N,{className:e.isMenuSticky?"sticky":"",ref:l,children:[(0,t.jsx)(j.default,{startDate:o.startDate,endDate:o.endDate,onChange:(e,t)=>{n({type:"SET_PERIOD",payload:{start:e,end:t}})},isMenuSticky:e.isMenuSticky,className:s?"room-search-items":"",isOpen:e.activeMenu===f.SearchFields.CALENDAR,setOpen:c}),(0,t.jsx)($.default,{adultsCount:o.adultsCount,childrenCount:o.childrenCount,childrenAges:o.childrenAges,onChange:e=>{n({type:"SET_GUESTS",payload:e})},isMenuSticky:e.isMenuSticky,className:s?"room-search-items":"",isOpen:e.activeMenu===f.SearchFields.GUESTS,setOpen:c}),!s&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(A.default,{destinations:o.destinations,onChange:e=>{if(!i)return;let t=(0,d.filterProperties)(i,"",S.propertyTypes,e);n({type:"SET_STATE",payload:{...o,destinations:[...e],properties:[...t],propertyTypes:[...S.propertyTypes],searchTerm:""}})},isMenuSticky:e.isMenuSticky,isOpen:e.activeMenu===f.SearchFields.DESTINATION,setOpen:c}),(0,t.jsx)(E,{properties:o.properties,propertyTypes:o.propertyTypes,destinations:o.destinations,allProperties:i??[],searchTerm:o.searchTerm,onChange:(e,t,a)=>{n({type:"SET_STATE",payload:{...o,properties:[...e],propertyTypes:[...t],searchTerm:a}})},isMenuSticky:e.isMenuSticky,isOpen:e.activeMenu===f.SearchFields.TYPE,setOpen:c})]}),(0,t.jsx)(C.default,{promoCode:o.promoCode,isValidPromo:o.isValidPromo,onChange:e=>{n({type:"SET_PROMO_CODE",payload:e})},isMenuSticky:e.isMenuSticky,className:s?"room-search-items":"",setActiveMenu:e.setActiveMenu})]})},I=w.default.section.withConfig({displayName:"style__MainAccommodationSearchStyled",componentId:"sc-a345410c-0"})`
290    background-color: transparent;
291    display: block;
292    height: 0;
293    position: relative;
294    transition: all 350ms;
295    width: 100%;
296    z-index: 11;
297
298    @media(max-width: ${v.sizes.tbBreakpointMax}) {
299        
300        &.hidden-sticky {
301            display: none;
302        }
303    }
304
305    &.on-top {
306        @media(max-width: ${v.sizes.tbBreakpointMax}) {
307            z-index: 101;
308            height: 100%;
309            top: 0;
310            position: fixed;
311        }
312    }
313
314    &.with-margin {
315        ${v.mixins.componentMargin};
316    }
317
318    .search-bar-wrapper {
319        ${v.mixins.contentWide};
320        background-color: white;
321        box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.05);
322        display: flex;
323        justify-content: space-between;
324        height: auto;
325        left: 50%;
326        position: absolute;
327        top: -45px;
328        transform: translateX(-50%);
329        transition: all 350ms ease-out;
330
331        @media (max-width: ${v.sizes.tbBreakpointMax}) {
332            height: 70px;
333            top: -35px;
334            display: none;
335        }
336
337        .search-button {
338            height: auto !important;
339            display: block;
340
341            .label {
342                align-items: center;
343                display: flex;
344                justify-content: center;
345
346                .text {
347                    margin-left: 8px;
348
349                    @media (max-width: ${v.sizes.tbBreakpointMax}) {
350                        display: none;
351                    }
352                }
353            }
354        }
355    }
356
357    &.sticky {
358        @media (min-width: ${v.sizes.dtBreakpointMin}) {
359            position: fixed;
360            top: 134px;
361            height: 5rem;
362            background-color: ${v.colors.neutral200};
363            width: 100vw;
364            z-index: 11;
365
366            .search-bar-wrapper {
367                background-color: transparent;
368                box-shadow: none;
369                top: 0;
370                padding: 16px 0;
371            }
372
373            .close-icon {
374                display: inline-block;
375                position: absolute;
376                right: 50px;
377                top: 50%;
378                transform: translateY(-50%);
379                
380                @media (max-width: 1440px) {
381                    right: 30px;
382                }
383                
384                @media (max-width: 1330px) {
385                    right: 20px;
386                }
387                
388                @media (max-width: 1280px) {
389                    right: 15px;
390                }
391            }
392        }
393    }
394
395    .close-icon {
396        display: none;
397    }
398
399
400    &.hidden-sticky {
401        @media (min-width: ${v.sizes.dtBreakpointMin}) {
402            top: 0;
403        }
404    }
405`;e.s(["default",0,e=>{let{t:f,i18n:S}=(0,i.useTranslation)("common"),b=(0,o.useRouter)(),k=(0,m.default)(),_=(0,h.default)(),{state:w,dispatch:v}=(0,s.useApp)(),{state:M,dispatch:D,searchRoute:T,saveState:E,isShortSearch:j,resort:A}=(0,r.useAccommodationSearch)(),$=(0,a.useRef)(null),{bottomMargin:C,isInitSticky:N=!1,hasSecondaryNav:O=!0}=e,[L,z]=(0,a.useState)(N),[B,R]=(0,a.useState)(N),[G,F]=(0,a.useState)(!1),[U,K]=(0,a.useState)(w.contentZeroPoint+56),[Y,Z]=(0,a.useState)(null);return(0,a.useEffect)(()=>{R(!w.displaySearchMenu)},[w.displaySearchMenu]),(0,a.useEffect)(()=>
405{if($){let t=$?.current?.getBoundingClientRect();!t||L||G||z(t.top<=128),k.pos<=700&&!e.onlyInSecondaryNavigation&&(z(!1),R(!1),F(!1),_?.isDesktop&&O&&v({type:"DISPLAY_SEARCH_MENU",payload:!0}))}},[k.pos]),(0,a.useEffect)(()=>{_?.isDesktop&&e.onlyInSecondaryNavigation&&O&&v({type:"DISPLAY_SEARCH_MENU",payload:!0})},[_?.isDesktop]),(0,a.useEffect)(()=>{let e=O?w.contentZeroPoint+54:w.contentZeroPoint;K("down"===k.dir?e:e+72)},[k.dir,w.contentZeroPoint]),(0,t.jsxs)(I,{ref:$,className:[L?"sticky":"regular",B&&L&&_?.isDesktop?"hidden-sticky":"",C?"with-margin":"",w.displayMobileMenu?"on-top":"",!w.displayMobileMenu&&e.onlyInSecondaryNavigation?"hidden-sticky":""].join(" "),style:_?.isDesktop?{top:B?`${w.contentZeroPoint-100}px`:L?`${U}px`:0}:{},children:[(0,t.jsxs)("div",{className:"search-bar-wrapper",children:[(0,t.jsx)(P,{isMenuSticky:L,activeMenu:Y,setActiveMenu:Z}),(0,t.jsxs)(y.default,{className:"button search-button",onClick:()=>{let e;Z(null),v({type:"SET_LOADING",payload:!0}),v({type:"DISPLAY_MOBILE_MENU",payload:!1});let t={...M,destinations:j?r.initAccommodationSearchState.destinations:M.destinations,propertyTypes:j?r.initAccommodationSearchState.propertyTypes:M.propertyTypes,properties:j?r.initAccommodationSearchState.properties:M.properties},a=Array.from(new Set(t.properties.map(e=>`${e.type} ${e.location}`))).join(", "),o=Array.from(new Set(t.properties.map(e=>e.type))).join(", ");A&&(t.properties=[],e=(0,d.getResortProperties)(M.properties,A)),j&&D({type:"SET_STATE",payload:t}),E(t),(0,p.triggerAccommodationInteractionSearchEvent)({action:"Search",context:"Accommodation",category:o,accommodation_adults:t?.adultsCount,accommodation_children:t?.childrenCount,accommodation_date:t?.startDate&&t?.endDate&&(0,n.format)(t?.startDate,"MM/dd/yyy")+" - "+(0,n.format)(t.endDate,"MM/dd/yyy"),accommodation_pagetype:"searchresults",accommodation_promo:t?.promoCode,accommodation_search:t?.startDate&&t.endDate&&(0,c.calculateNightsBetween
405Dates)((0,n.format)(t?.startDate,"yyyy-MM-dd"),(0,n.format)(t.endDate,"yyyy-MM-dd")),accommodation_type:a});let i=(0,d.buildSearchUrl)({...t},T??`/${l.RoutesLoc[S.language].ACCOMMODATION}/`,e);b.push((0,u.singleline)(i)).finally(()=>v({type:"SET_LOADING",payload:!1}))},ariaLabel:"search-button",children:[(0,t.jsx)(x.default,{}),(0,t.jsx)("span",{className:"text",children:f("mainAccommodationSearch.search")})]})]}),(0,t.jsx)(g.default,{className:"close-icon",onClick:()=>{O&&v({type:"DISPLAY_SEARCH_MENU",payload:!1}),R(!0),F(!0)}})]})}],37011)},66191,e=>{e.v(t=>Promise.all(["static/chunks/2khbxb4jgz1i4.js"].map(t=>e.l(t))).then(()=>t(66279)))},13855,e=>{e.v(t=>Promise.all(["static/chunks/0du32qag6d8ym.js"].map(t=>e.l(t))).then(()=>t(45542)))},28805,e=>{e.v(t=>Promise.all(["static/chunks/0h0r_q6xa9qr_.js"].map(t=>e.l(t))).then(()=>t(79466)))},48761,e=>{e.v(t=>Promise.all(["static/chunks/1ae-9ft5cgojf.js"].map(t=>e.l(t))).then(()=>t(93594)))},43181,e=>{"use strict";var t=e.i(91398),a=e.i(81908),o=e.i(87941),n=e.i(41308),i=e.i(37011),r=e.i(98132),s=e.i(6404);let l=()=>{let e=(0,r.generateOrganizationSchema)();return(0,t.jsx)(s.default,{schema:e})};e.s(["__N_SSG",0,!0,"default",0,e=>{let{seoMetaData:r,header:s,footer:c,components:d,properties:p}=e,u={component:(0,t.jsx)(i.default,{hasSecondaryNav:!1}),insertIndex:1};return(0,t.jsxs)(a.default,{properties:p,children:[(0,t.jsx)(l,{}),(0,t.jsx)(n.default,{seoMetaData:r,header:s,footer:c,hasSecondaryNav:!1,children:(0,t.jsx)(o.ComponentsMapper,{components:d,additionalComponents:[u]})})]})}],43181)},19675,(e,t,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/",()=>e.r(43181)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push(["/"])})}]);

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.