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rC,GAChBwB,EAAoBrH,EAAEiK,EAAiBC,IAAYD,EAAgBC,IACrED,EAAgBC,GAAS,KAE1BD,EAAgBC,GAAW,EAE5B,OAAO7C,EAAoBW,EAAEC,EAC9B,EAEIuC,EAAqBC,KAAK,iCAAmCA,KAAK,kCAAoC,GAC1GD,EAAmBE,QAAQP,EAAqBQ,KAAK,KAAM,IAC3DH,EAAmBpO,KAAO+N,EAAqBQ,KAAK,KAAMH,EAAmBpO,KAAKuO,KAAKH,G,IC/CvF,IAAII,EAAsBvD,EAAoBW,OAAElK,EAAW,CAAC,IAAI,MAAM,WAAa,OAAOuJ,EAAoB,MAAQ,IACtHuD,EAAsBvD,EAAoBW,EAAE4C,E","sources":["webpack://destgotlandclient/./src/composables/useUtilities.ts","webpack://destgotlandclient/./src/components/widgets/Widget.vue?6231","webpack://destgotlandclient/./src/components/widgets/Widget.vue","webpack://destgotlandclient/./src/components/widgets/Widget.vue?745e","webpack://destgotlandclient/./src/models/front/rooms/Room.ts","webpack://destgotlandclient/./src/components/accommodation/GuestSelect.vue?847e","webpack://destgotlandclient/./src/components/accommodation/GuestSelect.vue","webpack://destgotlandclient/./src/components/accommodation/GuestSelect.vue?b01c","webpack://destgotlandclient/./src/components/base/BaseDateRangePicker.vue?596f","webpack://destgotlandclient/./src/components/base/BaseDateRangePicker.vue","webpack://destgotlandclient/./src/components/base/BaseDateRangePicker.vue?9031","webpack://destgotlandclient/./src/modules/Quickform/components/AccommodationForm.vue?65b3","webpack://destgotlandclient/./src/modules/Quickform/components/AccommodationForm.vue","webpack://destgotlandclient/./src/modules/Quickform/components/AccommodationForm.vue?21d0","webpack://destgotlandclient/./src/modules/Quickform/components/FerryForm.vue?1ad9","webpack://destgotlandclient/./src/modules/Quickform/components/FerryForm.vue","webpack://destgotlandclient/./src/modules/Quickform/components/FerryForm.vue?c795","webpack://destgotlandclient/./src/modules/Quickform/components/PackageForm.vue?604a","webpack://destgotlandclient/./src/modules/Quickform/components/PackageForm.vue","webpack://destgotlandclient/./src/modules/Quickform/components/PackageForm.vue?a16e","webpack://destgotlandclient/./src/modules/Quickform/components/QuickForm.vue?5f41","webpack://destgotlandclient/./src/modules/Quickform/components/QuickForm.vue","webpack://destgotlandclient/./src/modules/Quickform/components/QuickForm.vue?216f","webpack://destgotlandclient/./src/modules/Quickform/App.vue?8e45","webpack://destgotlandclient/./src/modules/Quickform/App.vue","webpack://destgotlandclient/./src/modules/Quickform/main.ts","webpack://destgotlandclient/webpack/bootstrap","webpack://destgotlandclient/webpack/runtime/amd options","webpack://destgotlandclient/webpack/runtime/chunk loaded","webpack://destgotlandclient/webpack/runtime/compat get default export","webpack://destgotlandclient/webpack/runtime/define property getters","webpack://destgotlandclient/webpack/runtime/ensure chunk","webpack://destgotlandclient/webpack/runtime/global","webpack://destgotlandclient/webpack/runtime/hasOwnProperty shorthand","webpack://destgotlandclient/webpack/runtime/make namespace object","webpack://destgotlandclient/webpack/runtime/node module decorator","webpack://destgotlandclient/webpack/runtime/runtimeId","webpack://destgotlandclient/webpack/runtime/jsonp chunk loading","webpack://destgotlandclient/webpack/startup"],"sourcesContent":["interface useUtilites {\r\n\trange: (start: number, end: number) => number[];\r\n\trepeat: (count: number, value: T) => T[];\r\n}\r\n\r\nexport const range = (start: number, end: number): number[] => {\r\n\tif(isNaN(start) || isNaN(end)) {\r\n\t\treturn [];\r\n\t}\r\n\treturn [...Array(end)].map((_, i) => start + i);\r\n}\r\n\r\nexport const repeat = (count: number, value: T): T[] => {\r\n\tif(isNaN(count)) {\r\n\t\treturn [];\r\n\t}\r\n\r\n\treturn [...Array(count)].map(() => value);\r\n}\r\n\r\n\r\nexport const useUtilities = (): useUtilites => {\r\n\treturn {\r\n\t\trange,\r\n\t\trepeat\r\n\t}\r\n}","import { defineComponent as _defineComponent } from 'vue'\nimport { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, normalizeClass as _normalizeClass, resolveDynamicComponent as _resolveDynamicComponent, createBlock as _createBlock, KeepAlive as _KeepAlive, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-d501adbe\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"quickform\" }\nconst _hoisted_2 = { class: \"quickform__tabs\" }\nconst _hoisted_3 = [\"onClick\"]\nconst _hoisted_4 = {\n key: 0,\n class: \"discount\"\n}\nconst _hoisted_5 = [\"href\"]\nconst _hoisted_6 = {\n key: 0,\n class: \"discount\"\n}\nconst _hoisted_7 = { class: \"quickform__content\" }\n\nimport { QuickformTab } from \"@/models/QuickformTab\";\r\nimport { shallowRef } from \"vue\";\r\n\r\ninterface Props {\r\n tabs: QuickformTab[];\r\n activeTabIndex?: number;\r\n}\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'Widget',\n props: {\n tabs: {},\n activeTabIndex: {}\n },\n setup(__props: any) {\n\r\nconst props = __props;\r\nconst currentTab = shallowRef(props.tabs[props.activeTabIndex ?? 0]);\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"ul\", null, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.tabs, (tab) => {\n return (_openBlock(), _createElementBlock(\"li\", {\n class: _normalizeClass([\"tab\", { active: currentTab.value?.code === tab.code }]),\n key: tab.code\n }, [\n (tab.component)\n ? (_openBlock(), _createElementBlock(\"a\", {\n key: 0,\n onClick: ($event: any) => (currentTab.value = tab)\n }, [\n _createTextVNode(_toDisplayString(tab.label) + \" \", 1),\n (tab.badge)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_4, [\n _createElementVNode(\"span\", null, _toDisplayString(tab.badge), 1)\n ]))\n : _createCommentVNode(\"\", true)\n ], 8, _hoisted_3))\n : (_openBlock(), _createElementBlock(\"a\", {\n key: 1,\n href: tab.link,\n id: \"dg-quickform-external\"\n }, [\n _createTextVNode(_toDisplayString(tab.label) + \" \", 1),\n (tab.badge)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_6, [\n _createElementVNode(\"span\", null, _toDisplayString(tab.badge), 1)\n ]))\n : _createCommentVNode(\"\", true)\n ], 8, _hoisted_5))\n ], 2))\n }), 128))\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_7, [\n (_openBlock(), _createBlock(_KeepAlive, null, [\n (_openBlock(), _createBlock(_resolveDynamicComponent(currentTab.value?.component), {\n class: \"tab\",\n tab: currentTab.value\n }, null, 8, [\"tab\"]))\n ], 1024))\n ])\n ]))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./Widget.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./Widget.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./Widget.vue?vue&type=style&index=0&id=d501adbe&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-d501adbe\"]])\n\nexport default __exports__","import { createId } from \"@/helpers/idHelper\";\r\n\r\n\r\nexport class Room {\r\n id: string;\r\n adults: number;\r\n childrenAges?: number[]\r\n\r\n constructor(adults: number, children: number[]) {\r\n this.id = createId();\r\n this.adults = adults\r\n this.childrenAges = children\r\n }\r\n}","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, normalizeClass as _normalizeClass, withCtx as _withCtx, createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment, createBlock as _createBlock, createTextVNode as _createTextVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-4012a024\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { key: 0 }\nconst _hoisted_2 = { class: \"guest-select\" }\n\nimport { Room } from \"@/models/front/rooms/Room\";\r\nimport { computed, watch } from \"vue\";\r\nimport BaseButton from \"../base/BaseButton.vue\";\r\nimport Dropdown from \"../Dropdown.vue\";\r\nimport GuestSelectRow from \"./GuestSelectRow.vue\";\r\n\r\ninterface Props {\r\n allowMultipleRooms?: boolean;\r\n modelValue: Room[];\r\n}\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'GuestSelect',\n props: {\n allowMultipleRooms: { type: Boolean, default: false },\n modelValue: {}\n },\n emits: [\"update:modelValue\"],\n setup(__props: any, { emit: __emit }) {\n\r\nconst props = __props;\r\n\r\nconst emit = __emit;\r\n\r\nconst rooms = computed({\r\n get() {\r\n return props.modelValue;\r\n },\r\n set(value: Room[]) {\r\n emit(\"update:modelValue\", value);\r\n },\r\n});\r\n\r\nwatch(\r\n () => props.allowMultipleRooms,\r\n () => {\r\n rooms.value = [new Room(1, [])];\r\n }\r\n);\r\n\r\nconst guestCount = computed(() => {\r\n return rooms.value.reduce((a, b) => a + (b.adults ?? 0) + (b.childrenAges ?? []).length, 0);\r\n});\r\n\r\nconst addRoom = () => {\r\n rooms.value.push(new Room(1, []));\r\n};\r\n\r\nconst removeRoom = (id: string) => {\r\n rooms.value = rooms.value.filter((r) => r.id !== id);\r\n};\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(Dropdown, null, {\n trigger: _withCtx(({ toggle, isOpen }) => [\n _createVNode(BaseButton, {\n class: _normalizeClass([\"btn--input active\", { isOpen: isOpen }]),\n type: \"button\",\n icon: \"chevron/chevron-down\",\n onClick: toggle\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"label\", null, _toDisplayString(_ctx.$t(\"quickform.accommodation.numberOfGuests\")), 1),\n _createElementVNode(\"span\", null, [\n (_ctx.allowMultipleRooms)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_1, _toDisplayString(rooms.value.length) + \" \" + _toDisplayString(_ctx.$t(\"quickform.accommodation.room\")) + \",  \", 1))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"span\", null, _toDisplayString(guestCount.value) + \" \" + _toDisplayString(_ctx.$t(\"quickform.accommodation.guests\")), 1)\n ])\n ]),\n _: 2\n }, 1032, [\"class\", \"onClick\"])\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_2, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(rooms.value, (room, index) => {\n return (_openBlock(), _createBlock(GuestSelectRow, {\n key: room.id,\n id: room.id,\n index: index + 1,\n deletable: rooms.value.length > 1,\n room: rooms.value[index],\n \"onUpdate:room\": ($event: any) => ((rooms.value[index]) = $event),\n onOnRemove: removeRoom,\n allowMultipleRooms: _ctx.allowMultipleRooms\n }, null, 8, [\"id\", \"index\", \"deletable\", \"room\", \"onUpdate:room\", \"allowMultipleRooms\"]))\n }), 128)),\n (_ctx.allowMultipleRooms)\n ? (_openBlock(), _createBlock(BaseButton, {\n key: 0,\n class: \"btn--transparent\",\n type: \"button\",\n onClick: addRoom\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" + \" + _toDisplayString(_ctx.$t(\"quickform.accommodation.addRoom\")), 1)\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _: 1\n }))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./GuestSelect.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./GuestSelect.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./GuestSelect.vue?vue&type=style&index=0&id=4012a024&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-4012a024\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, toHandlers as _toHandlers, mergeProps as _mergeProps, createVNode as _createVNode, createElementVNode as _createElementVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-5c119db8\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"date-range\" }\n\nimport { DatePicker } from \"v-calendar\";\r\nimport { reactive } from \"vue\";\r\nimport BaseInput from \"./BaseInput.vue\";\r\nimport { rangeHighlights } from \"@/config/calendarAttributes\";\r\n\r\ninterface Props {\r\n hasError?: boolean;\r\n startDateLabel: string;\r\n endDateLabel: string;\r\n}\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BaseDateRangePicker',\n props: {\n hasError: { type: Boolean },\n startDateLabel: {},\n endDateLabel: {}\n },\n setup(__props: any) {\n\r\n\r\n\r\nconst state = reactive({\r\n dateRange: { start: undefined, end: undefined },\r\n});\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(_unref(DatePicker), {\n modelValue: state.dateRange,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((state.dateRange) = $event)),\n is24hr: \"\",\n locale: { id: _ctx.$i18n.locale, masks: { weekdays: 'WW' } },\n \"trim-weeks\": \"\",\n \"is-range\": \"\",\n minDate: new Date(),\n popover: { visibility: 'click' },\n columns: _ctx.$screens({ default: 1, lg: 2 }),\n \"select-attribute\": _unref(rangeHighlights),\n \"drag-attribute\": _unref(rangeHighlights),\n \"show-iso-weeknumbers\": \"\",\n step: 1,\n class: \"datepicker-container\"\n }, {\n default: _withCtx(({ inputValue, inputEvents }) => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(BaseInput, _mergeProps({\n hasError: _ctx.hasError,\n modelValue: inputValue.start,\n \"onUpdate:modelValue\": ($event: any) => ((inputValue.start) = $event)\n }, _toHandlers(inputEvents.start), {\n label: _ctx.startDateLabel,\n icon: \"booking/calendar\"\n }), null, 16, [\"hasError\", \"modelValue\", \"onUpdate:modelValue\", \"label\"]),\n _createVNode(BaseInput, _mergeProps({\n hasError: _ctx.hasError,\n modelValue: inputValue.end,\n \"onUpdate:modelValue\": ($event: any) => ((inputValue.end) = $event)\n }, _toHandlers(inputEvents.end), {\n label: _ctx.endDateLabel,\n icon: \"booking/calendar\"\n }), null, 16, [\"hasError\", \"modelValue\", \"onUpdate:modelValue\", \"label\"])\n ])\n ]),\n _: 1\n }, 8, [\"modelValue\", \"locale\", \"minDate\", \"columns\", \"select-attribute\", \"drag-attribute\"]))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./BaseDateRangePicker.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./BaseDateRangePicker.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./BaseDateRangePicker.vue?vue&type=style&index=0&id=5c119db8&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-5c119db8\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, withModifiers as _withModifiers, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-1572d5f2\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"form-container\" }\nconst _hoisted_2 = { class: \"form-container__inputs\" }\nconst _hoisted_3 = { class: \"form-container__campaign\" }\n\nimport GuestSelect from \"@/components/accommodation/GuestSelect.vue\";\r\nimport BaseButton from \"@/components/base/BaseButton.vue\";\r\nimport BaseDateRangePicker from \"@/components/base/BaseDateRangePicker.vue\";\r\nimport BaseDropdown from \"@/components/base/BaseDropdown.vue\";\r\nimport BaseInput from \"@/components/base/BaseInput.vue\";\r\nimport { accommodationConfig } from \"@/config/accommodationTypes\";\r\nimport { Room } from \"@/models/front/rooms/Room\";\r\nimport useVuelidate from \"@vuelidate/core\";\r\nimport { format } from \"date-fns\";\r\nimport { computed, reactive, ref } from \"vue\";\r\nimport { useI18n } from \"vue-i18n\";\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'AccommodationForm',\n setup(__props) {\n\r\nconst accommodationOptions = accommodationConfig;\r\nconst { locale } = useI18n();\r\n\r\nconst showCampaignInput = ref(false);\r\n\r\nconst state = reactive({\r\n dateRange: { start: undefined, end: undefined },\r\n accommodationType: 0,\r\n rooms: [new Room(1, [])],\r\n campaignCode: \"\",\r\n});\r\n\r\nconst rules = {\r\n dateRange: {\r\n v: (val: { start: Date; end: Date }) => {\r\n return val.start && val.end;\r\n },\r\n },\r\n accommodationType: {},\r\n rooms: {},\r\n};\r\n\r\nconst allowMultipleRooms = computed(() => accommodationOptions.find((o) => o.value === state.accommodationType)?.multipleRooms);\r\n\r\nconst v$ = useVuelidate(rules, state);\r\n\r\nconst submitForm = async () => {\r\n const isValid = await v$.value.$validate();\r\n if (!isValid) return;\r\n\r\n if (state.dateRange.start && state.dateRange.end) {\r\n const start = format(new Date(state.dateRange.start), \"yyyy-MM-dd\");\r\n const end = format(new Date(state.dateRange.end), \"yyyy-MM-dd\");\r\n\r\n const roomQueries = state.rooms.map((r, index) => {\r\n return `gc-${index}-adults=${r.adults}&gc-${index}-children=${r.childrenAges.length}&gc-${index}-age=${r.childrenAges.map(\r\n (a) => a\r\n )}`;\r\n });\r\n\r\n const queries = `category=${state.accommodationType}&rooms=${state.rooms.length}&start=${start}&end=${end}&${roomQueries}&promocode=${state.campaignCode}`;\r\n\r\n window.location.href = `https://book.destinationgotland.se/${locale.value}/stays?${queries}`;\r\n }\r\n};\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createElementVNode(\"form\", {\n onSubmit: _withModifiers(submitForm, [\"prevent\"])\n }, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(BaseDateRangePicker, {\n startDateLabel: _ctx.$t('quickform.accommodation.form.checkin'),\n endDateLabel: _ctx.$t('quickform.accommodation.form.checkout'),\n hasError: _unref(v$).dateRange.$error,\n modelValue: state.dateRange,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((state.dateRange) = $event))\n }, null, 8, [\"startDateLabel\", \"endDateLabel\", \"hasError\", \"modelValue\"]),\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(BaseDropdown, {\n hasError: _unref(v$).accommodationType.$error,\n modelValue: _unref(v$).accommodationType.$model,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_unref(v$).accommodationType.$model) = $event)),\n label: _ctx.$t('quickform.accommodation.type'),\n options: _unref(accommodationOptions)\n }, null, 8, [\"hasError\", \"modelValue\", \"label\", \"options\"]),\n _createVNode(GuestSelect, {\n modelValue: _unref(v$).rooms.$model,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((_unref(v$).rooms.$model) = $event)),\n allowMultipleRooms: allowMultipleRooms.value\n }, null, 8, [\"modelValue\", \"allowMultipleRooms\"])\n ]),\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"a\", {\n href: \"#\",\n onClick: _cache[3] || (_cache[3] = _withModifiers(($event: any) => (showCampaignInput.value = !showCampaignInput.value), [\"prevent\"]))\n }, _toDisplayString(_ctx.$t(\"quickform.accommodation.campaign\")), 1),\n (showCampaignInput.value)\n ? (_openBlock(), _createBlock(BaseInput, {\n key: 0,\n modelValue: state.campaignCode,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((state.campaignCode) = $event)),\n modelModifiers: { trim: true },\n class: \"form-container__campaign-input\",\n label: _ctx.$t('quickform.accommodation.campaignField')\n }, null, 8, [\"modelValue\", \"label\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _createVNode(BaseButton, { class: \"form__button\" }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"quickform.accommodation.searchButton\")), 1)\n ]),\n _: 1\n })\n ], 32)\n ]))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./AccommodationForm.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./AccommodationForm.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./AccommodationForm.vue?vue&type=style&index=0&id=1572d5f2&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-1572d5f2\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, createElementVNode as _createElementVNode, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, withCtx as _withCtx, withModifiers as _withModifiers, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-0198a286\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = [\"action\"]\nconst _hoisted_2 = { class: \"form__group\" }\nconst _hoisted_3 = { class: \"row\" }\nconst _hoisted_4 = { class: \"col--12 col-lg--7 col-xl--6 quickform__group\" }\nconst _hoisted_5 = { class: \"quickform__dropdown\" }\nconst _hoisted_6 = { class: \"quickform__dropdown\" }\nconst _hoisted_7 = { class: \"col--12 col-lg--5 col-xl--6 quickform__group\" }\nconst _hoisted_8 = { class: \"radio-checkbox\" }\nconst _hoisted_9 = { class: \"radio-container\" }\nconst _hoisted_10 = { class: \"button-container\" }\n\nimport BaseButton from \"@/components/base/BaseButton.vue\";\r\nimport BaseDropdown from \"@/components/base/BaseDropdown.vue\";\r\nimport BaseToggleSwitch from \"@/components/base/BaseToggleSwitch.vue\";\r\nimport SvgIcon from \"@/components/base/SvgIcon.vue\";\r\nimport useApi from \"@/composables/useApi\";\r\nimport useRuntimeConfig from \"@/composables/useRuntimeConfig\";\r\nimport { departureRoutes, getReturnRoutes, getReverseRoute } from \"@/config/routes\";\r\nimport { required } from \"@/helpers/validators\";\r\nimport { OptionItem } from \"@/models/OptionItem\";\r\nimport { LocaleString } from \"@/models/RuntimeConfig\";\r\nimport useVuelidate from \"@vuelidate/core\";\r\nimport { requiredIf } from \"@vuelidate/validators\";\r\nimport { computed, nextTick, reactive, ref, watch } from \"vue\";\r\nimport { useI18n } from \"vue-i18n\";\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'FerryForm',\n setup(__props) {\n\r\nconst quickform = ref();\r\nconst ferryStartpageUrl = ref(\"\");\r\nconst externalLink = ref(\"#\");\r\nconst externalText = ref(\"Boende\");\r\nconst externalDiscount = ref(\"\");\r\n\r\nconst { get } = useApi({ displayErrors: false, useBaseUrl: false });\r\nconst { t, locale } = useI18n();\r\n\r\nconst routes = ref(\r\n Array.from(Object.values(departureRoutes)).map((value) => {\r\n return {\r\n value,\r\n label: t(`routes.${value}`),\r\n };\r\n })\r\n);\r\n// Get the routes from api if possible\r\nget(\"/GetVisibleRoutes\", \"\")\r\n .then((resp) => {\r\n routes.value = resp.data.map((r) => ({\r\n label: t(`routes.${r}`),\r\n value: r,\r\n }));\r\n })\r\n .catch((err) => console.warn(err));\r\n\r\nconst toggleTrip = ref(true);\r\n\r\nconst tripValue = computed(() => (toggleTrip.value ? \"rt\" : \"st\"));\r\n\r\nconst submitQuickform = async () => {\r\n const isFormCorrect = await v$.value.$validate();\r\n if (!isFormCorrect) return;\r\n\r\n nextTick(() => {\r\n quickform.value.submit();\r\n });\r\n};\r\n\r\nconst state = reactive({\r\n outwardRoute: \"\",\r\n returnRoute: \"\",\r\n});\r\n\r\nconst rules = {\r\n outwardRoute: { required },\r\n returnRoute: {\r\n required: requiredIf(function () {\r\n return tripValue.value === \"rt\";\r\n }),\r\n },\r\n};\r\n\r\nferryStartpageUrl.value = `${document.getElementById(\"quickform\")?.dataset.linkFerry}`;\r\nexternalText.value = `${document.getElementById(\"quickform\")?.dataset.externalText ?? \"Boende\"}`;\r\nexternalLink.value = `${document.getElementById(\"quickform\")?.dataset.externalLink ?? \"#\"}`;\r\nexternalDiscount.value = `${document.getElementById(\"quickform\")?.dataset.externalDiscount ?? \"\"}`;\r\n\r\nconst { getRuntimeConfig } = useRuntimeConfig();\r\n\r\ngetRuntimeConfig().then((x) => {\r\n ferryStartpageUrl.value = (x.booking_path as LocaleString)[locale.value as keyof LocaleString];\r\n});\r\n\r\nconst filteredRoutes = computed(() => {\r\n return getReturnRoutes(state.outwardRoute, routes.value);\r\n});\r\n\r\nwatch(filteredRoutes, () => {\r\n if (state.outwardRoute) {\r\n state.returnRoute = getReverseRoute(state.outwardRoute);\r\n }\r\n});\r\n\r\nconst v$ = useVuelidate(rules, state);\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createElementVNode(\"form\", {\n class: \"form\",\n method: \"GET\",\n ref_key: \"quickform\",\n ref: quickform,\n action: ferryStartpageUrl.value,\n onSubmit: _withModifiers(submitQuickform, [\"prevent\"]),\n id: \"dg-quickform-ferry\"\n }, [\n _createElementVNode(\"fieldset\", null, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(BaseDropdown, {\n options: routes.value,\n placeholder: _ctx.$t('quickform.chooseOutward'),\n hasError: _unref(v$).outwardRoute.$error,\n modelValue: _unref(v$).outwardRoute.$model,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_unref(v$).outwardRoute.$model) = $event)),\n name: \"outwardRoute\"\n }, null, 8, [\"options\", \"placeholder\", \"hasError\", \"modelValue\"])\n ]),\n (tripValue.value === 'rt')\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n _createVNode(SvgIcon, {\n icon: 'booking/arrows-round-trip',\n class: \"icon\"\n }),\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(BaseDropdown, {\n options: filteredRoutes.value,\n placeholder: _ctx.$t('quickform.chooseReturn'),\n hasError: _unref(v$).returnRoute.$error,\n modelValue: _unref(v$).returnRoute.$model,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_unref(v$).returnRoute.$model) = $event)),\n name: \"returnRoute\"\n }, null, 8, [\"options\", \"placeholder\", \"hasError\", \"modelValue\"])\n ])\n ], 64))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_7, [\n _createElementVNode(\"div\", _hoisted_8, [\n _createElementVNode(\"div\", _hoisted_9, [\n _createVNode(BaseToggleSwitch, {\n id: \"tripType\",\n modelValue: toggleTrip.value,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((toggleTrip).value = $event)),\n label: _ctx.$t('quickform.tripType.return'),\n name: \"isReturn\"\n }, null, 8, [\"modelValue\", \"label\"])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_10, [\n _createVNode(BaseButton, { class: \"btn--primary\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$t(\"quickform.search\")), 1)\n ]),\n _: 1\n })\n ])\n ])\n ])\n ])\n ])\n ], 40, _hoisted_1)\n ]))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./FerryForm.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./FerryForm.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./FerryForm.vue?vue&type=style&index=0&id=0198a286&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-0198a286\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment, createElementBlock as _createElementBlock, createVNode as _createVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"packageform\" }\nconst _hoisted_2 = { class: \"cb-package-form\" }\nconst _hoisted_3 = {\n key: 0,\n class: \"usp\"\n}\nconst _hoisted_4 = [\"innerHTML\"]\n\nimport BaseSpinner from \"@/components/base/BaseSpinner.vue\";\r\nimport i18n from \"@/config/i18n\";\r\nimport { ref } from \"vue\";\r\nimport SvgIcon from \"@/components/base/SvgIcon.vue\";\r\nimport { QuickformTab } from \"@/models/QuickformTab\";\r\n\r\ninterface Props {\r\n tab: QuickformTab;\r\n}\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'PackageForm',\n props: {\n tab: {}\n },\n setup(__props: any) {\n\r\nconst props = __props;\r\n\r\nconst getLocaleUrl = () => {\r\n return i18n.global.locale.value;\r\n};\r\n\r\nconst loading = ref(true);\r\n\r\n(function () {\r\n const widget = document.createElement(\"script\");\r\n widget.type = \"text/javascript\";\r\n widget.async = true;\r\n widget.src = `https://www2.destinationgotland.se/${getLocaleUrl()}/accommodationferrypackagewidget/searchform?cbisProductId=${\r\n props.tab.citybreakId\r\n }`;\r\n const s = document.getElementsByTagName(\"script\")[0];\r\n s.parentNode?.insertBefore(widget, s);\r\n widget.onload = () => {\r\n setTimeout(() => {\r\n loading.value = false;\r\n }, 600);\r\n };\r\n})();\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", {\n id: \"citybreak_accommodation_ferry_package_searchform_widget\",\n class: _normalizeClass({ loading: loading.value })\n }, null, 2),\n (loading.value)\n ? (_openBlock(), _createBlock(BaseSpinner, {\n key: 0,\n color: \"dark\"\n }))\n : _createCommentVNode(\"\", true)\n ]),\n (!loading.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.tab.rows, (row, i) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"usp__container\",\n key: i\n }, [\n _createVNode(SvgIcon, {\n icon: \"checkmark\",\n class: \"check\"\n }),\n _createElementVNode(\"span\", { innerHTML: row }, null, 8, _hoisted_4)\n ]))\n }), 128))\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./PackageForm.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./PackageForm.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./PackageForm.vue?vue&type=style&index=0&id=56227550&lang=scss\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport Widget from \"@/components/widgets/Widget.vue\";\r\nimport { QuickformTab } from \"@/models/QuickformTab\";\r\nimport { computed, reactive } from \"vue\";\r\nimport { useI18n } from \"vue-i18n\";\r\nimport AccommodationForm from \"./AccommodationForm.vue\";\r\nimport Ferry from \"./FerryForm.vue\";\r\nimport PackageForm from \"./PackageForm.vue\";\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'QuickForm',\n setup(__props) {\n\r\nconst config = reactive({\r\n ferryStartpageUrl: `${document.getElementById(\"quickform\")?.dataset.linkFerry}`,\r\n externalText: `${document.getElementById(\"quickform\")?.dataset.externalText ?? \"\"}`,\r\n externalLink: `${document.getElementById(\"quickform\")?.dataset.externalLink ?? \"\"}`,\r\n externalDiscount: `${document.getElementById(\"quickform\")?.dataset.externalDiscount ?? \"\"}`,\r\n showFerry: !!(document.getElementById(\"quickform\")?.dataset.showFerry ?? true),\r\n showAccommodation: !!document.getElementById(\"quickform\")?.dataset.showAccommodation,\r\n showPackage: !!document.getElementById(\"quickform\")?.dataset.showPackage,\r\n activeTabIndex: +`${document.getElementById(\"quickform\")?.dataset.activeTabIndex ?? \"\"}`,\r\n rowOne: `${document.getElementById(\"quickform\")?.dataset.rowOne ?? \"\"}`,\r\n rowTwo: `${document.getElementById(\"quickform\")?.dataset.rowTwo ?? \"\"}`,\r\n rowThree: `${document.getElementById(\"quickform\")?.dataset.rowThree ?? \"\"}`,\r\n citybreakId: `${document.getElementById(\"quickform\")?.dataset.citybreakId ?? \"\"}`,\r\n});\r\n\r\nconst tabs: QuickformTab[] = [];\r\nconst { t } = useI18n();\r\n\r\nconst tabIndex = computed(() => {\r\n return tabs.length - 1 < config.activeTabIndex ? 0 : config.activeTabIndex;\r\n});\r\n\r\nif (config.showFerry) {\r\n tabs.push({\r\n component: Ferry,\r\n code: \"Ferry\",\r\n label: t(\"quickform.tabs.ferry\"),\r\n });\r\n}\r\n\r\nif (config.showAccommodation || process.env.NODE_ENV !== \"production\") {\r\n tabs.push({\r\n component: AccommodationForm,\r\n code: \"AccommodationForm\",\r\n label: t(\"quickform.tabs.accommodation\"),\r\n });\r\n}\r\n\r\nif (config.showPackage || process.env.NODE_ENV !== \"production\") {\r\n tabs.push({\r\n component: PackageForm,\r\n code: \"PackageForm\",\r\n label: t(\"quickform.tabs.package\"),\r\n badge: config.externalDiscount,\r\n rows: [config.rowOne, config.rowTwo, config.rowThree].filter((r) => !!r),\r\n citybreakId: config.citybreakId,\r\n });\r\n}\r\n\r\nif (config.externalLink) {\r\n tabs.push({\r\n code: \"Accommodation\",\r\n link: config.externalLink,\r\n label: config.externalText,\r\n badge: config.externalDiscount,\r\n });\r\n}\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(Widget, {\n activeTabIndex: tabIndex.value,\n tabs: tabs\n }, null, 8, [\"activeTabIndex\"]))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./QuickForm.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./QuickForm.vue?vue&type=script&lang=ts&setup=true\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport QuickForm from '@/modules/Quickform/components/QuickForm.vue';\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'App',\n setup(__props) {\n\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(QuickForm))\n}\n}\n\n})","import script from \"./App.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./App.vue?vue&type=script&lang=ts&setup=true\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { createApp } from 'vue';\r\nimport i18n from '~/config/i18n';\r\nimport { pinia } from \"~/store\";\r\nimport SetupCalendar from 'v-calendar';\r\nimport App from './App.vue';\r\nimport { VueQueryPlugin } from 'vue-query';\r\n\r\nconst app = createApp(App)\r\napp.use(SetupCalendar, {})\r\napp.use(pinia)\r\napp.use(i18n);\r\napp.use(VueQueryPlugin);\r\napp.mount('#quickform')","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","__webpack_require__.amdO = {};","var deferred = [];\n__webpack_require__.O = function(result, chunkIds, fn, priority) {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar chunkIds = deferred[i][0];\n\t\tvar fn = deferred[i][1];\n\t\tvar priority = deferred[i][2];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every(function(key) { return __webpack_require__.O[key](chunkIds[j]); })) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","// The chunk loading function for additional chunks\n// Since all referenced chunks are already included\n// in this file, this function is empty here.\n__webpack_require__.e = function() { return Promise.resolve(); };","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = function(module) {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","__webpack_require__.j = 478;","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t478: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = function(chunkId) { return installedChunks[chunkId] === 0; };\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = function(parentChunkLoadingFunction, data) {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkdestgotlandclient\"] = self[\"webpackChunkdestgotlandclient\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [504,996], function() { return __webpack_require__(80988); })\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["repeat","count","value","isNaN","Array","map","_hoisted_1","class","_hoisted_2","_hoisted_3","_hoisted_4","key","_hoisted_5","_hoisted_6","_hoisted_7","_defineComponent","__name","props","tabs","activeTabIndex","setup","__props","currentTab","shallowRef","_ctx","_cache","_openBlock","_createElementBlock","_createElementVNode","_Fragment","_renderList","tab","_normalizeClass","active","code","component","onClick","$event","_createTextVNode","_toDisplayString","label","badge","_createCommentVNode","href","link","id","_createBlock","_KeepAlive","_resolveDynamicComponent","__exports__","Room","constructor","adults","children","_defineProperty","this","createId","childrenAges","allowMultipleRooms","type","Boolean","default","modelValue","emits","emit","__emit","rooms","computed","get","set","watch","guestCount","reduce","a","b","length","addRoom","push","removeRoom","filter","r","Dropdown","trigger","_withCtx","toggle","isOpen","_createVNode","BaseButton","icon","$t","_","room","index","GuestSelectRow","deletable","onOnRemove","hasError","startDateLabel","endDateLabel","state","reactive","dateRange","start","undefined","end","_unref","DatePicker","is24hr","locale","$i18n","masks","weekdays","minDate","Date","popover","visibility","columns","$screens","lg","rangeHighlights","step","inputValue","inputEvents","BaseInput","_mergeProps","_toHandlers","accommodationOptions","accommodationConfig","useI18n","showCampaignInput","ref","accommodationType","campaignCode","rules","v","val","find","o","multipleRooms","v$","useVuelidate","submitForm","async","isValid","$validate","format","roomQueries","queries","window","location","onSubmit","_withModifiers","BaseDateRangePicker","$error","BaseDropdown","$model","options","GuestSelect","modelModifiers","trim","_hoisted_8","_hoisted_9","_hoisted_10","quickform","ferryStartpageUrl","externalLink","externalText","externalDiscount","useApi","displayErrors","useBaseUrl","t","routes","from","Object","values","departureRoutes","then","resp","data","catch","err","console","warn","toggleTrip","tripValue","submitQuickform","isFormCorrect","nextTick","submit","outwardRoute","returnRoute","required","requiredIf","document","getElementById","dataset","linkFerry","getRuntimeConfig","useRuntimeConfig","x","booking_path","filteredRoutes","getReturnRoutes","getReverseRoute","method","ref_key","action","placeholder","name","SvgIcon","BaseToggleSwitch","getLocaleUrl","i18n","global","loading","widget","createElement","src","citybreakId","s","getElementsByTagName","parentNode","insertBefore","onload","setTimeout","BaseSpinner","color","rows","row","i","innerHTML","config","showFerry","showAccommodation","showPackage","rowOne","rowTwo","rowThree","tabIndex","Ferry","AccommodationForm","PackageForm","Widget","QuickForm","app","createApp","App","use","SetupCalendar","pinia","VueQueryPlugin","mount","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","exports","module","loaded","__webpack_modules__","call","m","amdO","deferred","O","result","chunkIds","fn","priority","notFulfilled","Infinity","fulfilled","j","keys","every","splice","n","getter","__esModule","d","definition","defineProperty","enumerable","e","Promise","resolve","g","globalThis","Function","obj","prop","prototype","hasOwnProperty","Symbol","toStringTag","nmd","paths","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","some","chunkLoadingGlobal","self","forEach","bind","__webpack_exports__"],"sourceRoot":""}