{"version":3,"sources":["webpack:///./src/project/ui-components/address/AddressCard.vue?31c3","webpack:///./src/project/ui-components/address/AddressCard.vue","webpack:///./src/project/ui-components/address/AddressCard.vue?27e5","webpack:///./src/project/ui-components/address/AddressCard.vue?22ca","webpack:///./src/project/ui-components/address/AddressCard.vue?2982","webpack:///./src/project/ui-components/date-picker/DatePicker.vue?1dd7","webpack:///./src/project/ui-components/order/OrderSummary.vue?1e1a","webpack:///./src/project/ui-components/order/OrderSummary.vue","webpack:///./src/project/ui-components/order/OrderSummary.vue?2744","webpack:///./src/project/ui-components/order/OrderSummary.vue?0a50","webpack:///./src/project/ui-components/order/OrderSummary.vue?06df","webpack:///./src/project/ui-components/date-picker/DatePicker.vue?c31e","webpack:///./src/project/ui-components/date-picker/vue-airbnb-style-datepicker.service.ts","webpack:///./src/project/ui-components/date-picker/DatePicker.vue","webpack:///./src/project/ui-components/date-picker/DatePicker.vue?5407","webpack:///./src/project/ui-components/date-picker/DatePicker.vue?ea72","webpack:///./src/project/app/client-pages/checkout/addresses/address.service.ts","webpack:///./src/project/app/client-pages/checkout/CheckoutElementLayout.vue?436d","webpack:///./src/project/app/client-pages/checkout/addresses/CheckoutAddressOverview.vue?3501","webpack:///./src/project/modals/overlays/CheckoutChangeAddressOverlay.service.ts","webpack:///./src/project/app/client-pages/checkout/addresses/CheckoutAddressOverview.vue","webpack:///./src/project/app/client-pages/checkout/addresses/CheckoutAddressOverview.vue?9fd9","webpack:///./src/project/app/client-pages/checkout/addresses/CheckoutAddressOverview.vue?b7fd","webpack:///./node_modules/lodash/capitalize.js","webpack:///./src/project/app/client-pages/checkout/CheckoutElementLayout.vue?6838","webpack:///./src/project/app/client-pages/checkout/CheckoutElementLayout.vue","webpack:///./src/project/app/client-pages/checkout/CheckoutElementLayout.vue?88a5","webpack:///./src/project/app/client-pages/checkout/CheckoutElementLayout.vue?512e"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","class","headerClass","_v","_s","_f","headingLabel","bodyClass","address","companyName","_e","street","street2","postalCode","city","region","countryLabel","countryCode","contact","email","phone","attrs","_l","error","key","field","msg","errorLabel","staticRenderFns","validate","fieldsToValidate","fieldLabelErrors","requiredLabel","get","filter","x","map","validationErrors","length","String","Object","Boolean","component","wrapClass","checkoutMode","model","subTotal","cultureFormatted","deliveryPrice","deliveryPriceLines","delivery","deliveryIndex","description","price","basketMode","totalExVat","totalVat","total","mode","required","type","default","validator","value","includes","components","AnimateValue","SpinnerOverlay","ctaFull","id","on","$event","activeDatePickerId","selectedDates","text","ref","fullscreenMobile","mobileHeader","dateToIso","minDate","maxDate","internalDate1","internalDate2","startOpen","dateOneSelected","dateTwoSelected","slot","days","day","Date","UTC","date","toLocaleString","weekday","daysShort","monthNames","month","options","culture","getCulture","selectedColor","isOprema","theme","colors","opremablue","blue","datepickerOptions","selected","inRange","selectedText","inRangeBorder","disabled","hoveredInRange","texts","apply","cancel","airbnbStyleDatePickerDeferred","Deferred","async","init","isSettled","airbnbStyleDatepickerDynamicImport","airbnbStyleDatepicker","use","resolve","promise","activeDatePicker","observable","Math","round","random","valueOf","initialized","oldValue","closeDatepicker","isoDate","$emit","isValidDate","toISOString","split","toLocaleDateString","formattedDates","isoDateToString","d","isNaN","$refs","datepicker","openDatepicker","immediate","localPrefix","deliveryAddresses","getDeliveryAddresses","genLocalWebId","isLocalWebId","webId","startsWith","setOriginalDeliveryAddresses","addresses","applyAddress","addr","findPredicate","createFindPredicate","existing","find","other","temporaryId","addrInList","isDefault","forEach","a","push","validationError","dataLoaded","invoiceAddress","deliveryAddress","showChangeAddressOverlay","AbstractModalService","allowedCountryCodes","showModal","componentAttrs","wide","usePanelWrapper","closeButtonPosition","isBreakpointActive","show","placement","side","valid","isValid","Promise","Array","AddressCard","CheckoutElementLayout","prop","event","toString","upperFirst","capitalize","string","toLowerCase","module","exports","_t","showPlaceholder"],"mappings":"kHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EA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/chunk-1f9ba1d2.8323f16e.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('article',[_c('h3',{staticClass:\"text-16 font-medium mb-10 print:text-14 print:font-medium\",class:_vm.headerClass},[_vm._v(\" \"+_vm._s(_vm._f(\"t\")(_vm.headingLabel))+\" \")]),(_vm.address)?_c('section',{staticClass:\"address-card__body\",class:_vm.bodyClass},[(_vm.address.companyName)?_c('p',{staticClass:\"font-semi-bold text-15 print:text-10\"},[_vm._v(\" \"+_vm._s(_vm.address.companyName)+\" \")]):_vm._e(),(_vm.address.street)?_c('p',{staticClass:\"text-15 print:text-10\"},[_vm._v(\" \"+_vm._s(_vm.address.street)+\" \")]):_vm._e(),(_vm.address.street2)?_c('p',{staticClass:\"text-15 print:text-10\"},[_vm._v(\" \"+_vm._s(_vm.address.street2)+\" \")]):_vm._e(),_c('p',{staticClass:\"text-15 print:text-10\"},[(_vm.address.postalCode)?_c('span',[_vm._v(_vm._s(_vm.address.postalCode)+\" \")]):_vm._e(),(_vm.address.city)?_c('span',[_vm._v(_vm._s(_vm.address.city))]):_vm._e()]),(_vm.address.region)?_c('p',{staticClass:\"text-15 print:text-10\"},[_vm._v(\" \"+_vm._s(_vm.address.region)+\" \")]):_vm._e(),(_vm.address.countryCode)?_c('p',{staticClass:\"text-15 print:text-10\"},[_vm._v(\" \"+_vm._s(_vm._f(\"t\")(_vm.countryLabel(_vm.address.countryCode)))+\" \")]):_vm._e(),(_vm.address.contact)?_c('p',{staticClass:\"text-15 print:text-10\"},[_vm._v(\" \"+_vm._s(_vm._f(\"t\")('Checkout.Address.AttentionAbbr'))+\": \"+_vm._s(_vm.address.contact)+\" \")]):_vm._e(),(_vm.address.email || _vm.address.phone)?_c('div',{staticClass:\"mt-20 text-15 print:text-10 print:mt-10\"},[(_vm.address.email)?_c('p',{staticClass:\"truncate\",attrs:{\"title\":_vm.address.email}},[_vm._v(\" \"+_vm._s(_vm._f(\"t\")('Checkout.Address.EmailAbbr'))+\": \"+_vm._s(_vm.address.email)+\" \")]):_vm._e(),(_vm.address.phone)?_c('p',{staticClass:\"truncate\",attrs:{\"title\":_vm.address.phone}},[_vm._v(\" \"+_vm._s(_vm._f(\"t\")('Checkout.Address.PhoneAbbr'))+\": \"+_vm._s(_vm.address.phone)+\" \")]):_vm._e()]):_vm._e(),(_vm.validate)?[_c('ol',{staticClass:\"print:hidden\"},_vm._l((_vm.validationErrors),function(error){return _c('li',{key:error.field,staticClass:\"text-red-500 text-11 font-medium my-5\"},[_vm._v(\" \"+_vm._s(error.msg)+\" \"),_c('span',{staticClass:\"lowercase\"},[_vm._v(_vm._s(error.errorLabel))])])}),0)]:_vm._e()],2):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from 'vue';\r\nimport Component from 'vue-class-component';\r\nimport { AddressViewObject, DeliveryAddressViewObject } from '@/types/apiServerContract';\r\nimport { Prop } from 'vue-property-decorator';\r\nimport siteService from '@/project/site/site.service';\r\nimport dictionaryService from '@/core/translation/dictionary.service';\r\n\r\n@Component\r\nexport default class AddressCard extends Vue {\r\n @Prop(String)\r\n private headingLabel!: string;\r\n\r\n @Prop(Object)\r\n private address!: AddressViewObject | DeliveryAddressViewObject | null;\r\n\r\n @Prop(String)\r\n private headerClass!: string;\r\n\r\n @Prop(String)\r\n private bodyClass!: string;\r\n\r\n @Prop(Boolean)\r\n private validate!: boolean;\r\n\r\n private countryLabel(countryCode: string): string {\r\n return siteService.countryLabel(countryCode);\r\n }\r\n\r\n private get validationErrors() {\r\n if (!this.validate || !this.address) return [];\r\n\r\n const fieldsToValidate: Array<(keyof DeliveryAddressViewObject)> =\r\n ['companyName', 'street', 'postalCode', 'city'];\r\n\r\n const fieldLabelErrors = {\r\n companyName: 'Checkout.Address.CompanyNameField',\r\n street: 'Checkout.Address.StreetAndNoField',\r\n postalCode: 'Checkout.Address.PostalCodeField',\r\n city: 'Checkout.Address.CityField'\r\n };\r\n\r\n const requiredLabel = dictionaryService.get('Validation.Required');\r\n\r\n return fieldsToValidate\r\n .filter(x => !this.address![x])\r\n .map(x => ({\r\n field: x,\r\n msg: dictionaryService.get(fieldLabelErrors[x]),\r\n errorLabel: requiredLabel\r\n }));\r\n }\r\n\r\n public isValid() {\r\n return this.validationErrors.length === 0;\r\n }\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddressCard.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddressCard.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./AddressCard.vue?vue&type=template&id=1b29eeea&\"\nimport script from \"./AddressCard.vue?vue&type=script&lang=ts&\"\nexport * from \"./AddressCard.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./AddressCard.vue?vue&type=style&index=0&lang=less&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../../../node_modules/less-loader/dist/cjs.js??ref--11-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddressCard.vue?vue&type=style&index=0&lang=less&\"; export default mod; export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../../../node_modules/less-loader/dist/cjs.js??ref--11-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddressCard.vue?vue&type=style&index=0&lang=less&\"","import mod from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../../../node_modules/less-loader/dist/cjs.js??ref--11-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DatePicker.vue?vue&type=style&index=0&id=42db713f&lang=less&scoped=true&\"; export default mod; export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../../../node_modules/less-loader/dist/cjs.js??ref--11-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DatePicker.vue?vue&type=style&index=0&id=42db713f&lang=less&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showPrices)?_c('div',{staticClass:\"summary bg-white self-end mb-30 text-15 relative print:p-0 print:text-10\",class:[_vm.wrapClass, {'summary--checkout': _vm.checkoutMode}]},[(_vm.model.subTotal)?_c('p',{staticClass:\"mb-10\"},[_c('span',{staticClass:\"flex justify-between font-semi-bold\"},[_c('span',{staticClass:\"mr-10\"},[_vm._v(_vm._s(_vm._f(\"t\")('Order.Summary.SubTotal')))]),_c('span',{staticClass:\"text-right\"},[_c('animate-value',{attrs:{\"value\":_vm.model.subTotal.cultureFormatted}})],1)])]):_vm._e(),_vm._l((_vm.model.deliveryPrice && _vm.model.deliveryPrice.deliveryPriceLines),function(delivery,deliveryIndex){return _c('p',{key:deliveryIndex,staticClass:\"mb-14\"},[_c('span',{staticClass:\"flex justify-between\"},[_c('span',{staticClass:\"mr-10 w-1/2 lg:w-2/3\"},[_vm._v(_vm._s(delivery.description))]),_c('span',{staticClass:\"text-right\"},[_c('animate-value',{attrs:{\"value\":delivery.price.cultureFormatted}})],1)])])}),(_vm.model.deliveryPrice && _vm.model.deliveryPrice.price && _vm.model.deliveryPrice.deliveryPriceLines.length === 0)?_c('p',{staticClass:\"mb-14\"},[_c('span',{staticClass:\"flex justify-between\"},[(!_vm.basketMode)?_c('span',{staticClass:\"mr-10 w-1/2 lg:w-2/3\"},[_vm._v(_vm._s(_vm._f(\"t\")('Order.Summary.DeliveryPriceStandard')))]):_c('span',{staticClass:\"mr-10 w-1/2 lg:w-2/3\"},[_vm._v(_vm._s(_vm._f(\"t\")('Order.Summary.DeliveryPrice')))]),_c('span',{staticClass:\"text-right\"},[_c('animate-value',{attrs:{\"value\":_vm.model.deliveryPrice.price.cultureFormatted}})],1)]),_c('span',{staticClass:\"block text-right text-13 print:text-10 text-gray-825\"},[_vm._v(_vm._s(_vm._f(\"t\")('Order.Summary.ExVat')))])]):_vm._e(),(_vm.model.totalExVat)?_c('p',{staticClass:\"mb-8\"},[_c('span',{staticClass:\"flex justify-between font-semi-bold\"},[_c('span',{staticClass:\"mr-10\"},[_vm._v(_vm._s(_vm._f(\"t\")('Order.Summary.TotalExVat')))]),_c('span',{staticClass:\"text-right\"},[_c('animate-value',{attrs:{\"value\":_vm.model.totalExVat.cultureFormatted}})],1)])]):_vm._e(),(_vm.model.totalVat)?_c('p',{staticClass:\"mb-14\"},[_c('span',{staticClass:\"flex justify-between\"},[_c('span',{staticClass:\"mr-10\"},[_vm._v(_vm._s(_vm._f(\"t\")('Order.Summary.Vat')))]),_c('span',{staticClass:\"text-right\"},[_c('animate-value',{attrs:{\"value\":_vm.model.totalVat.cultureFormatted}})],1)])]):_vm._e(),(!_vm.basketMode && _vm.model.total)?_c('p',[_c('span',{staticClass:\"flex justify-between font-semi-bold\"},[_c('span',{staticClass:\"mr-10\"},[_vm._v(_vm._s(_vm._f(\"t\")('Order.Summary.TotalIncVat')))]),_c('span',{staticClass:\"text-20 print:text-10 text-right\"},[_vm._v(_vm._s(_vm.model.total.cultureFormatted))])])]):_vm._e(),(_vm.checkoutMode)?_c('p',{staticClass:\"text-gray-800 mt-50 italic\"},[_vm._v(\" \"+_vm._s(_vm._f(\"t\")('Order.Summary.PrecautionsForErrors'))+\" \")]):_vm._e(),(_vm.updateInProgress)?_c('div',{staticClass:\"absolute inset-0\"},[_c('spinner-overlay',{attrs:{\"show\":\"\",\"delay\":0}})],1):_vm._e()],2):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Vue, Prop, Component } from 'vue-property-decorator';\r\nimport { ReceiptViewModel, BasketViewModel } from '@/types/apiServerContract';\r\nimport AnimateValue from '@/core/ui-components/AnimateValue.vue';\r\nimport SpinnerOverlay from '@/project/spinners/SpinnerOverlay.vue';\r\n\r\n@Component({\r\n components: { AnimateValue, SpinnerOverlay }\r\n})\r\n\r\nexport default class OrderSummary extends Vue {\r\n @Prop({\r\n required: true,\r\n type: Object\r\n }) model!: ReceiptViewModel | BasketViewModel;\r\n\r\n @Prop({\r\n required: false,\r\n default: true,\r\n type: Boolean\r\n }) showPrices!: boolean\r\n\r\n @Prop(Boolean)\r\n private updateInProgress!: boolean;\r\n\r\n @Prop({ required: false, type: String, default: '', validator: (value: string) => ['', 'basket', 'checkout', 'receipt'].includes(value) })\r\n private mode!: 'basket' | 'checkout' | 'receipt';\r\n\r\n @Prop({ required: false, default: 'pt-30 px-10 md:px-40 pb-25' })\r\n wrapClass!: string;\r\n\r\n private get basketMode() : boolean {\r\n return this.mode === 'basket';\r\n }\r\n\r\n private get checkoutMode() : boolean {\r\n return this.mode === 'checkout';\r\n }\r\n};\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OrderSummary.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OrderSummary.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./OrderSummary.vue?vue&type=template&id=47ca5b86&scoped=true&\"\nimport script from \"./OrderSummary.vue?vue&type=script&lang=ts&\"\nexport * from \"./OrderSummary.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./OrderSummary.vue?vue&type=style&index=0&id=47ca5b86&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"47ca5b86\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../../../node_modules/less-loader/dist/cjs.js??ref--11-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OrderSummary.vue?vue&type=style&index=0&id=47ca5b86&lang=less&scoped=true&\"; export default mod; export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../../../node_modules/less-loader/dist/cjs.js??ref--11-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OrderSummary.vue?vue&type=style&index=0&id=47ca5b86&lang=less&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"datepicker-trigger h-full\"},[_c('call-to-action',{staticClass:\"cta cta--white\",class:{ 'cta--full': _vm.ctaFull },attrs:{\"id\":_vm.id,\"icon\":\"calendar\",\"icon-is-after\":true},on:{\"click\":function($event){_vm.activeDatePickerId = _vm.id}}},[(_vm.selectedDates)?[_vm._v(\" \"+_vm._s(_vm.selectedDates)+\" \")]:[_vm._v(\" \"+_vm._s(_vm.text)+\" \")]],2),(_vm.initialized)?_c('airbnb-style-datepicker',{ref:\"datepicker\",attrs:{\"trigger-element-id\":_vm.id,\"mode\":_vm.mode,\"fullscreen-mobile\":_vm.fullscreenMobile,\"mobile-header\":_vm.mobileHeader,\"min-date\":_vm.dateToIso(_vm.minDate),\"end-date\":_vm.dateToIso(_vm.maxDate),\"date-one\":_vm.internalDate1,\"date-two\":_vm.internalDate2,\"show-actions-buttons\":false,\"start-open\":_vm.startOpen,\"months-to-show\":1,\"show-shortcuts-menu-trigger\":false},on:{\"date-one-selected\":_vm.dateOneSelected,\"date-two-selected\":_vm.dateTwoSelected}},[_c('div',{attrs:{\"slot\":\"close-icon\"},slot:\"close-icon\"},[_c('CIcon',{staticClass:\"mr-5\",attrs:{\"name\":\"close\",\"width\":\"10\",\"height\":\"12\"}})],1)]):_vm._e()],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import Vue from 'vue';\r\nimport { range, capitalize } from 'lodash';\r\nimport siteService from '@/project/site/site.service';\r\nimport dictionaryService from '@/core/translation/dictionary.service';\r\n\r\nimport 'vue-airbnb-style-datepicker/dist/vue-airbnb-style-datepicker.min.css';\r\nimport Deferred from '@/core/async/Deferred';\r\nimport serverContextService from '@/core/serverContext.service';\r\nimport tailwind from '@/styling/tailwind.config';\r\n\r\n// A random monday 20/4-2020 (remember month is 0-based)\r\nconst days = range(20, 27)\r\n .map(day => new Date(Date.UTC(2020, 3, day)))\r\n .map(date => toLocaleString(date, { weekday: 'long' }));\r\n\r\nconst daysShort = range(20, 27)\r\n .map(day => new Date(Date.UTC(2020, 3, day)))\r\n .map(date => toLocaleString(date, { weekday: 'short' }));\r\n\r\n// Month is 0-based\r\nconst monthNames = range(0, 12)\r\n .map(month => new Date(Date.UTC(2020, month, 1)))\r\n .map(date => toLocaleString(date, { month: 'long' }));\r\n\r\nfunction toLocaleString(date: Date, options: Intl.DateTimeFormatOptions): string {\r\n // Will fallback to browsers locale if we don't have culture\r\n const culture = siteService.getCulture() || '';\r\n try {\r\n return capitalize(date.toLocaleString(culture, options));\r\n } catch {\r\n // Edge has been to blow up here sometimes.\r\n return capitalize(date.toLocaleString('en', options));\r\n }\r\n}\r\n\r\n// see docs for available options\r\nconst selectedColor = serverContextService?.isOprema ? tailwind.theme.colors.opremablue['300'] : tailwind.theme.colors.blue['500'];\r\nconst datepickerOptions = {\r\n days,\r\n daysShort,\r\n monthNames,\r\n colors: {\r\n selected: selectedColor,\r\n inRange: '#C5D2E0',\r\n selectedText: '#fff',\r\n text: '#262422',\r\n inRangeBorder: '#E5EAEF',\r\n disabled: '#fff',\r\n hoveredInRange: '#E5EAEF'\r\n },\r\n texts: {\r\n apply: dictionaryService.get('Generic.DatePicker.Apply'),\r\n cancel: dictionaryService.get('Generic.DatePicker.Cancel')\r\n }\r\n};\r\n\r\n// Load and register datepicker dynamically when needed\r\nconst airbnbStyleDatePickerDeferred = new Deferred();\r\n\r\nexport async function init(): Promise {\r\n if (!airbnbStyleDatePickerDeferred.isSettled) {\r\n const airbnbStyleDatepickerDynamicImport = () => import(/* webpackPrefetch: true, webpackChunkName: 'airbnbStyleDatepicker' */ 'vue-airbnb-style-datepicker');\r\n const { default: airbnbStyleDatepicker } = await airbnbStyleDatepickerDynamicImport();\r\n\r\n Vue.use(airbnbStyleDatepicker, datepickerOptions);\r\n airbnbStyleDatePickerDeferred.resolve();\r\n }\r\n\r\n return airbnbStyleDatePickerDeferred.promise;\r\n}\r\n\r\n// Keep track of the active date picker's id\r\nexport const activeDatePicker: { id: string | null } = Vue.observable({ id: null });\r\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\r\n\r\nimport siteService from '@/project/site/site.service';\r\n\r\nimport { init as vueAirBnbInit, activeDatePicker } from './vue-airbnb-style-datepicker.service';\r\n\r\ninterface AirBnbDatepicker extends Vue {\r\n closeDatepicker: () => void,\r\n openDatepicker: () => void\r\n}\r\n\r\n@Component\r\nexport default class DatePicker extends Vue {\r\n private internalDate1: string | null = null;\r\n private internalDate2: string | null = null;\r\n private id = `${Math.round(Math.random() * 10000)}-${new Date().valueOf()}`;\r\n private initialized = false;\r\n\r\n @Prop({\r\n type: String,\r\n default: 'single',\r\n validator: value => ['single', 'range'].includes(value as string)\r\n })\r\n mode!: 'single' | 'range';\r\n\r\n @Prop(Date)\r\n value!: Date | null;\r\n\r\n @Prop(Date)\r\n date1!: Date | null;\r\n\r\n @Prop(Date)\r\n date2!: Date | null;\r\n\r\n @Prop(Date)\r\n minDate!: Date | null;\r\n\r\n @Prop(Date)\r\n maxDate!: Date | null;\r\n\r\n @Prop({ type: Boolean, default: false })\r\n startOpen!: boolean;\r\n\r\n @Prop({ type: Boolean, default: false })\r\n fullscreenMobile!: boolean;\r\n\r\n @Prop({ type: Boolean, default: false })\r\n ctaFull!: boolean;\r\n\r\n @Prop({ type: String, default: '' })\r\n text!: string;\r\n\r\n get activeDatePickerId(): string | null {\r\n return activeDatePicker.id;\r\n }\r\n\r\n set activeDatePickerId(id: string | null) {\r\n activeDatePicker.id = id;\r\n }\r\n\r\n get mobileHeader() {\r\n return this.fullscreenMobile ? ' ' : null; // for now, add empty text to remove header on mobile\r\n }\r\n\r\n async created() {\r\n await vueAirBnbInit();\r\n this.initialized = true;\r\n }\r\n\r\n destroyed() {\r\n if (this.activeDatePickerId === this.id) {\r\n this.activeDatePickerId = null;\r\n }\r\n }\r\n\r\n @Watch('value', { immediate: true })\r\n onValueChange(value: Date | null, oldValue: Date | null) {\r\n this.internalDate1 = value ? this.dateToIso(value) : null;\r\n }\r\n\r\n @Watch('date1', { immediate: true })\r\n onDate1Change(value: Date | null) {\r\n if (value) {\r\n this.internalDate1 = this.dateToIso(value);\r\n }\r\n }\r\n\r\n @Watch('date2', { immediate: true })\r\n onDate2Change(value: Date | null) {\r\n if (value) {\r\n this.internalDate2 = this.dateToIso(value);\r\n }\r\n }\r\n\r\n @Watch('activeDatePickerId')\r\n onActiveDatePickerIdChanged(id: string | null) {\r\n if (id !== this.id) {\r\n this.closeDatepicker();\r\n }\r\n }\r\n\r\n private dateOneSelected(isoDate: string):void {\r\n const date = new Date(isoDate);\r\n this.$emit('input', date);\r\n this.$emit('update:date1', date);\r\n }\r\n\r\n private dateTwoSelected(isoDate: string):void {\r\n const date = new Date(isoDate);\r\n this.$emit('update:date2', date);\r\n }\r\n\r\n private dateToIso(date: Date | null): string | null {\r\n if (!date || !this.isValidDate(date)) return null;\r\n return date.toISOString().split('T')[0];\r\n }\r\n\r\n private isoDateToString(date: string): string {\r\n return new Date(date).toLocaleDateString(siteService.getCulture() || '');\r\n }\r\n\r\n private get selectedDates() {\r\n let formattedDates = '';\r\n if (this.internalDate1) {\r\n formattedDates = this.isoDateToString(this.internalDate1);\r\n }\r\n if (this.internalDate2) {\r\n formattedDates += ' - ' + this.isoDateToString(this.internalDate2);\r\n }\r\n return formattedDates;\r\n }\r\n\r\n private isValidDate(d: Date) {\r\n return d instanceof Date && !isNaN(d as any);\r\n }\r\n\r\n public $refs!: {\r\n datepicker: AirBnbDatepicker\r\n }\r\n\r\n public openDatepicker() {\r\n if (this.$refs.datepicker) {\r\n this.$refs.datepicker.openDatepicker();\r\n this.activeDatePickerId = this.id;\r\n }\r\n }\r\n\r\n public closeDatepicker() {\r\n if (this.$refs.datepicker) {\r\n this.$refs.datepicker.closeDatepicker();\r\n\r\n if (this.activeDatePickerId === this.id) {\r\n this.activeDatePickerId = null;\r\n }\r\n }\r\n }\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DatePicker.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DatePicker.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DatePicker.vue?vue&type=template&id=42db713f&scoped=true&\"\nimport script from \"./DatePicker.vue?vue&type=script&lang=ts&\"\nexport * from \"./DatePicker.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./DatePicker.vue?vue&type=style&index=0&id=42db713f&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"42db713f\",\n null\n \n)\n\nexport default component.exports","import { DeliveryAddressViewObject } from '@/types/apiServerContract';\r\nimport { ExtendedDeliveryAddressViewObject } from '@/project/app/client-pages/checkout/types';\r\n\r\nconst localPrefix = 'local-';\r\nlet deliveryAddresses: DeliveryAddressViewObject[] = [];\r\n\r\nfunction getDeliveryAddresses(): DeliveryAddressViewObject[] {\r\n return deliveryAddresses;\r\n}\r\n\r\nfunction genLocalWebId(): string {\r\n return `${localPrefix}${Math.random()}`;\r\n}\r\n\r\nfunction isLocalWebId(webId: string): boolean {\r\n return webId != null && webId.startsWith(localPrefix);\r\n}\r\n\r\nfunction setOriginalDeliveryAddresses(addresses: DeliveryAddressViewObject[]) {\r\n deliveryAddresses = [...addresses];\r\n}\r\n\r\nfunction applyAddress(addr: ExtendedDeliveryAddressViewObject) {\r\n const findPredicate = createFindPredicate(addr);\r\n const existing = deliveryAddresses.find(findPredicate);\r\n if (existing) {\r\n // Remove old to update\r\n deliveryAddresses = deliveryAddresses.filter(addrInList => !findPredicate(addrInList));\r\n }\r\n // Check for update on isDefault\r\n if (addr.isDefault) {\r\n // isDefault set - clear for everyone\r\n deliveryAddresses.forEach(a => a.isDefault = false);\r\n }\r\n deliveryAddresses.push(addr);\r\n\r\n function createFindPredicate(addr: ExtendedDeliveryAddressViewObject) {\r\n // If addr has a temporary id - use that to look up - else use webid\r\n return (other: ExtendedDeliveryAddressViewObject) => {\r\n return addr.temporaryId ? addr.temporaryId === other.temporaryId : addr.webId === other.webId;\r\n };\r\n }\r\n}\r\n\r\nexport default {\r\n genLocalWebId,\r\n isLocalWebId,\r\n applyAddress,\r\n setOriginalDeliveryAddresses,\r\n getDeliveryAddresses\r\n};\r\n","import mod from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../../../../node_modules/less-loader/dist/cjs.js??ref--11-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CheckoutElementLayout.vue?vue&type=style&index=0&id=79c16ac4&scoped=true&lang=less&\"; export default mod; export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../../../../node_modules/less-loader/dist/cjs.js??ref--11-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CheckoutElementLayout.vue?vue&type=style&index=0&id=79c16ac4&scoped=true&lang=less&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('CheckoutElementLayout',{attrs:{\"heading-label\":\"Checkout.Address.Heading\",\"validation-error\":_vm.validationError,\"show-placeholder\":!_vm.dataLoaded}},[_c('div',{staticClass:\"flex flex-col md:flex-row relative bg-white p-10 md:p-30 lg:p-40\"},[_c('article',{staticClass:\"w-full md:w-1/2\"},[_c('AddressCard',{attrs:{\"heading-label\":\"Checkout.Address.InvoiceHeading\",\"address\":_vm.invoiceAddress}})],1),_c('article',{staticClass:\"w-full mt-40 md:w-1/2 md:mt-0\"},[_c('AddressCard',{ref:\"deliveryAddress\",attrs:{\"heading-label\":\"Checkout.Address.DeliveryHeading\",\"validate\":\"\",\"address\":_vm.deliveryAddress}}),_c('button',{staticClass:\"inline-flex items-center mt-20 underline hover:no-underline focus:no-underline\",class:_vm.validationError ? 'text-red-500' : 'theme-text-linkcolor',attrs:{\"type\":\"button\",\"disabled\":!_vm.dataLoaded},on:{\"click\":function($event){return _vm.showChangeAddressOverlay()}}},[_c('CIcon',{attrs:{\"name\":\"edit\",\"width\":\"18\",\"height\":\"18\"}}),_c('span',{staticClass:\"text-15 ml-10\"},[_vm._v(_vm._s(_vm._f(\"t\")((_vm.validationError ? 'Checkout.Address.SpecifyAddress' : 'Checkout.Address.ChangeAddress'))))])],1)],1)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { AbstractModalService } from '@/core/modals/AbstractModalService';\r\nimport { ModalOptions } from '@/core/modals/ModalState';\r\nimport { AddressViewObject, DeliveryAddressViewObject } from '@/types/apiServerContract';\r\n\r\nclass CheckoutChangeAddressOverlayService extends AbstractModalService {\r\n public show(\r\n deliveryAddresses: DeliveryAddressViewObject[],\r\n deliveryAddress: AddressViewObject | DeliveryAddressViewObject | null,\r\n allowedCountryCodes: string[],\r\n options?: Partial\r\n ) {\r\n return this.showModal({\r\n component: () => import(\r\n /* webpackPrefetch: true */\r\n '@/project/app/client-pages/checkout/addresses/CheckoutChangeAddressOverlay.vue'),\r\n componentAttrs: {\r\n deliveryAddresses,\r\n deliveryAddress,\r\n allowedCountryCodes\r\n },\r\n options: {\r\n wide: true,\r\n usePanelWrapper: false,\r\n closeButtonPosition: 'right-30',\r\n ...options\r\n }\r\n });\r\n }\r\n}\r\n\r\nexport default new CheckoutChangeAddressOverlayService();\r\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from 'vue';\r\nimport Component from 'vue-class-component';\r\nimport CheckoutElementLayout from '@/project/app/client-pages/checkout/CheckoutElementLayout.vue';\r\nimport { AddressViewObject, DeliveryAddressViewObject } from '@/types/apiServerContract';\r\nimport { Prop, Watch } from 'vue-property-decorator';\r\nimport AddressCard from '@/project/ui-components/address/AddressCard.vue';\r\nimport checkoutChangeAddressOverlayService from '@/project/modals/overlays/CheckoutChangeAddressOverlay.service';\r\nimport breakpointsState from '@/core/responsive/breakpoints/breakpointsState.observable';\r\nimport { MAX_SM } from '@/core/config/breakpointConfig';\r\nimport addressService from './address.service';\r\nimport { Validatable } from '@/project/app/client-pages/checkout/types';\r\n\r\n@Component({\r\n components: { AddressCard, CheckoutElementLayout },\r\n model: {\r\n prop: 'deliveryAddress',\r\n event: 'deliveryAddressUpdated'\r\n }\r\n})\r\nexport default class CheckoutAddressOverview extends Vue implements Validatable {\r\n validationError = false;\r\n\r\n @Prop(Object)\r\n invoiceAddress!: AddressViewObject;\r\n\r\n @Prop(Object)\r\n deliveryAddress!: AddressViewObject | DeliveryAddressViewObject | null;\r\n\r\n @Prop(Array)\r\n deliveryAddresses!: DeliveryAddressViewObject[];\r\n\r\n @Prop({\r\n type: Array,\r\n required: true\r\n })\r\n allowedCountryCodes!: string[];\r\n\r\n @Prop(Boolean)\r\n private dataLoaded!: boolean;\r\n\r\n private get side(): 'left' | 'center' {\r\n return breakpointsState.isBreakpointActive(MAX_SM) ? 'left' : 'center';\r\n }\r\n\r\n private async showChangeAddressOverlay() {\r\n const address = await checkoutChangeAddressOverlayService.show(\r\n this.deliveryAddresses, this.deliveryAddress, this.allowedCountryCodes, {\r\n placement: this.side\r\n });\r\n if (address) {\r\n this.validationError = false;\r\n this.$emit('deliveryAddressUpdated', address);\r\n }\r\n }\r\n\r\n public validate(): Promise {\r\n const valid = !!this.deliveryAddress && this.$refs.deliveryAddress.isValid();\r\n this.validationError = !valid;\r\n return Promise.resolve(valid);\r\n }\r\n\r\n @Watch('deliveryAddresses', {\r\n immediate: true\r\n })\r\n private onDeliveryAddressesChange(value: DeliveryAddressViewObject[]) {\r\n addressService.setOriginalDeliveryAddresses(value);\r\n }\r\n\r\n $refs!: Vue['$refs'] & {\r\n deliveryAddress: AddressCard\r\n }\r\n}\r\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CheckoutAddressOverview.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CheckoutAddressOverview.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./CheckoutAddressOverview.vue?vue&type=template&id=e76aff6a&\"\nimport script from \"./CheckoutAddressOverview.vue?vue&type=script&lang=ts&\"\nexport * from \"./CheckoutAddressOverview.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var toString = require('./toString'),\n upperFirst = require('./upperFirst');\n\n/**\n * Converts the first character of `string` to upper case and the remaining\n * to lower case.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to capitalize.\n * @returns {string} Returns the capitalized string.\n * @example\n *\n * _.capitalize('FRED');\n * // => 'Fred'\n */\nfunction capitalize(string) {\n return upperFirst(toString(string).toLowerCase());\n}\n\nmodule.exports = capitalize;\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('article',[_c('h2',{staticClass:\"mb-15\"},[_vm._v(\" \"+_vm._s(_vm._f(\"t\")(_vm.headingLabel))+\" \")]),_c('div',{staticClass:\"relative\",class:{ 'invalid': _vm.validationError}},[_vm._t(\"default\"),_c('spinner-overlay',{attrs:{\"show\":_vm.showPlaceholder,\"delay\":500}})],2)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from 'vue';\r\nimport Component from 'vue-class-component';\r\nimport { Prop } from 'vue-property-decorator';\r\nimport SpinnerOverlay from '@/project/spinners/SpinnerOverlay.vue';\r\n\r\n@Component({\r\n components: {\r\n SpinnerOverlay\r\n }\r\n})\r\nexport default class CheckoutElementLayout extends Vue {\r\n @Prop({\r\n type: String,\r\n required: true\r\n })\r\n headingLabel!: string;\r\n\r\n @Prop({\r\n type: Boolean,\r\n default: false\r\n })\r\n showPlaceholder!: boolean;\r\n\r\n @Prop({\r\n type: Boolean,\r\n default: false\r\n })\r\n validationError!: boolean;\r\n}\r\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CheckoutElementLayout.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CheckoutElementLayout.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./CheckoutElementLayout.vue?vue&type=template&id=79c16ac4&scoped=true&\"\nimport script from \"./CheckoutElementLayout.vue?vue&type=script&lang=ts&\"\nexport * from \"./CheckoutElementLayout.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./CheckoutElementLayout.vue?vue&type=style&index=0&id=79c16ac4&scoped=true&lang=less&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"79c16ac4\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}