diff --git a/app/config/wp/add-options-to-database.php b/app/config/wp/add-options-to-database.php index af89a55..4b2a4e9 100644 --- a/app/config/wp/add-options-to-database.php +++ b/app/config/wp/add-options-to-database.php @@ -1,27 +1,38 @@ session->custom_delivery = $delivery_enabled; + // var_dump(WC()->session->custom_delivery); + + wp_send_json( array( 'success' => true, 'message' => 'Saved', 'val' => $delivery_enabled ) ); // if ( ! wp_verify_nonce( $nonce, 'ajax-nonce' ) ) // die ( 'Busted!'); - if ( isset($_POST['delivery_enabled']) ) { - $delivery_enabled = $_POST['delivery_enabled']; - // update_option('wacs_delivery_enabled', $delivery_enabled); - - if ( $delivery_enabled == 'yes' ) { - echo 'TUDO CERTO!'; - } else { - echo 'ALGO ERRADO!'; - } - } + // if ( isset($_POST['delivery_enabled']) ) { + // $delivery_enabled = $_POST['delivery_enabled']; + // // update_option('wacs_delivery_enabled', $delivery_enabled); + + // if ( $delivery_enabled == 'yes' ) { + // echo 'TUDO CERTO!'; + // } else { + // echo 'ALGO ERRADO!'; + // } + // } - exit; + } + function before_checkout_create_order( $order, $data ) { + var_dump($data); + var_dump($order); + $order->update_meta_data( '_custom_meta_key', 'value' ); } diff --git a/package-lock.json b/package-lock.json index dacf925..466a462 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11968,6 +11968,11 @@ "setimmediate": "^1.0.4" } }, + "tiny-cookie": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/tiny-cookie/-/tiny-cookie-1.0.1.tgz", + "integrity": "sha1-dTeGB5xkKjw9CyrMrWAPjeEZrCo=" + }, "tmp": { "version": "0.0.33", "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", @@ -12642,6 +12647,14 @@ "resolved": "https://registry.npmjs.org/vue/-/vue-2.5.17.tgz", "integrity": "sha512-mFbcWoDIJi0w0Za4emyLiW72Jae0yjANHbCVquMKijcavBGypqlF7zHRgMa5k4sesdv7hv2rB4JPdZfR+TPfhQ==" }, + "vue-cookie": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/vue-cookie/-/vue-cookie-1.1.4.tgz", + "integrity": "sha1-uLRtESvan5Oi9HAXwu1SgtIGT9o=", + "requires": { + "tiny-cookie": "^1.0" + } + }, "vue-eslint-parser": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/vue-eslint-parser/-/vue-eslint-parser-2.0.3.tgz", diff --git a/package.json b/package.json index 35a6e57..aad18f7 100644 --- a/package.json +++ b/package.json @@ -50,6 +50,7 @@ "i": "^0.3.6", "jquery": "^3.3.1", "vue": "^2.5.16", + "vue-cookie": "^1.1.4", "vuejs-datepicker": "^1.5.3", "woocommerce-api": "^1.4.2" } diff --git a/resources/assets/js/main.js b/resources/assets/js/main.js index 63f955f..3f0da81 100644 --- a/resources/assets/js/main.js +++ b/resources/assets/js/main.js @@ -5,6 +5,8 @@ import Purchase from './components/Purchase'; import axios from 'axios' import Datepicker from 'vuejs-datepicker' import {en, ptBR} from 'vuejs-datepicker/dist/locale' +import VueCookie from 'vue-cookie' +Vue.use(VueCookie) Vue.component('slick', Slick) Vue.component('purchase', Purchase) @@ -41,6 +43,7 @@ new Vue({ en, br: ptBR }, + openModal: false, modalDelivery: defaultModalDeliveryData(), registerForm: { nationality: 'brazilian' @@ -120,23 +123,33 @@ new Vue({ mounted() { this.updateCartOnChangeQuantity() + }, + created() { + this.modalDelivery.delivery = this.$cookie.get('custom_delivery') + }, + methods: { openDeliveryModal() { - this.modalDelivery.isOpen = 'yes' + this.openModal = true }, closeDeliveryModal(action) { if (action == 'save') { + this.openModal = false this.modalDelivery.isOpen = 'no' this.modalDelivery.delivery = 'yes' + this.$cookie.set('custom_delivery', 'yes') this.updateCart() this.saveOptionToDatabase() return } + this.openModal = false this.modalDelivery.isOpen = 'no' this.modalDelivery.delivery = 'no' + this.$cookie.set('custom_delivery', 'no') + this.updateCart() this.resetModalDeliveryData() this.saveOptionToDatabase() }, @@ -166,23 +179,23 @@ new Vue({ const data = { action: 'my_save_options', nonce_ajax: ajax_var.nonce, - delivery_enabled: this.modalDelivery.delivery + delivery_enabled: this.modalDelivery.delivery, } axios .post(ajax_var.url, $.param(data)) .then(res => { console.log(res.data) - + window.location.reload(true) }) .catch(error => { console.log(error.data) }) }, - resetModalDeliveryData: function (){ - this.$data.modalDelivery = defaultModalDeliveryData(); - } + resetModalDeliveryData: function (){ + this.$data.modalDelivery = defaultModalDeliveryData(); + } } @@ -193,4 +206,4 @@ $(window).on('load', () => $('.pageloader').removeClass('is-active')) // Toggle mobile menu $('.navbar-burger').on('click', () => -$('.navbar-burger, .navbar-menu').toggleClass('is-active')) +$('.navbar-burger, .navbar-menu').toggleClass('is-active')) \ No newline at end of file diff --git a/resources/assets/sass/pages/_tickets.sass b/resources/assets/sass/pages/_tickets.sass index eeab56e..c84ff41 100644 --- a/resources/assets/sass/pages/_tickets.sass +++ b/resources/assets/sass/pages/_tickets.sass @@ -1,8 +1,6 @@ .tickets - .intro - &__title font-family: $font-title font-size: 28px diff --git a/resources/views/header/_head.twig b/resources/views/header/_head.twig index ba530d7..f4a34e2 100644 --- a/resources/views/header/_head.twig +++ b/resources/views/header/_head.twig @@ -26,6 +26,7 @@ + {{ function('wp_head') }} diff --git a/static/css/admin.9f555a48ff167050cc4b.css b/static/css/admin.2013b7037ab119ed3b29.css similarity index 100% rename from static/css/admin.9f555a48ff167050cc4b.css rename to static/css/admin.2013b7037ab119ed3b29.css diff --git a/static/css/app.0a08fe2f706b5e7a6dc3.css b/static/css/app.58656b497094aa9ab7d2.css similarity index 100% rename from static/css/app.0a08fe2f706b5e7a6dc3.css rename to static/css/app.58656b497094aa9ab7d2.css diff --git a/static/css/login.4148e63c0b1927954ce1.css b/static/css/login.1d74128b88bfc70aea2f.css similarity index 100% rename from static/css/login.4148e63c0b1927954ce1.css rename to static/css/login.1d74128b88bfc70aea2f.css diff --git a/static/js/admin.17b87ccb8f773ea111ea.js b/static/js/admin.45e1d7f519c849113793.js similarity index 93% rename from static/js/admin.17b87ccb8f773ea111ea.js rename to static/js/admin.45e1d7f519c849113793.js index d414020..0ff3e21 100644 --- a/static/js/admin.17b87ccb8f773ea111ea.js +++ b/static/js/admin.45e1d7f519c849113793.js @@ -1 +1 @@ -!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=70)}({1:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){for(var r=[],n={},o=0;or.parts.length&&(n.parts.length=r.parts.length)}else{var i=[];for(o=0;or.parts.length&&(n.parts.length=r.parts.length)}else{var i=[];for(o=0;oi.parts.length&&(s.parts.length=i.parts.length)}else{var o=[];for(n=0;n0})},filterDates:function(){var e=this;return this.dates.filter(function(t){return t.parade_id==e.selected.parade.id})},nextStep:function(e,t,i){this.currentSelectedIdx!=t&&(this.currentSelectedIdx=t,2==e&&this.getProducts(i.id)),this.currentStep=e;var s=event.target.parentElement,n=this.currentStep-1;document.querySelector(".step-"+n).querySelectorAll(".purchase__item").forEach(function(e){e.classList.remove("selected")}),s.classList.add("selected"),this.clearNextStep(e)},clearNextStep:function(e){document.querySelector(".step-"+e).querySelectorAll(".purchase__item").forEach(function(e){e.classList.remove("selected")})},isStep:function(e){return this.currentStep>=e},increase:function(){return this.quantity+=1},decrease:function(){if(this.quantity>1)return this.quantity-=1}},created:function(){this.parades=JSON.parse(this.paradesList),this.dates=JSON.parse(this.datesList),this.seats=JSON.parse(this.seatsList),this.stepsLabelsArray=JSON.parse(this.stepsLabels)}}},function(e,t,i){var s=i(58);"string"==typeof s&&(s=[[e.i,s,""]]),s.locals&&(e.exports=s.locals);(0,i(2).default)("0e15f952",s,!0,{})},,,function(e,t,i){"use strict";(function(t){var s=i(0),n=i(42),o={"Content-Type":"application/x-www-form-urlencoded"};function a(e,t){!s.isUndefined(e)&&s.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var r={adapter:function(){var e;return"undefined"!=typeof XMLHttpRequest?e=i(22):void 0!==t&&(e=i(22)),e}(),transformRequest:[function(e,t){return n(t,"Content-Type"),s.isFormData(e)||s.isArrayBuffer(e)||s.isBuffer(e)||s.isStream(e)||s.isFile(e)||s.isBlob(e)?e:s.isArrayBufferView(e)?e.buffer:s.isURLSearchParams(e)?(a(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):s.isObject(e)?(a(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};s.forEach(["delete","get","head"],function(e){r.headers[e]={}}),s.forEach(["post","put","patch"],function(e){r.headers[e]=s.merge(o)}),e.exports=r}).call(this,i(19))},function(e,t,i){"use strict";var s=function(){var e=this.$createElement;return(this._self._c||e)("div",[this._t("default")],2)},n=[];i.d(t,"a",function(){return s}),i.d(t,"b",function(){return n})},function(e,t,i){"use strict";var s=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"example"},[t("img",{staticClass:"example-logo",attrs:{src:i(34),alt:"Logo"}}),this._v(" "),t("p",{staticClass:"example-message"},[this._v(this._s(this.message))])])},n=[];i.d(t,"a",function(){return s}),i.d(t,"b",function(){return n})},function(e,t,i){"use strict";var s=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("section",{staticClass:"purchase section"},[i("div",{staticClass:"container"},[i("div",{directives:[{name:"show",rawName:"v-show",value:e.isStep(1),expression:"isStep(1)"}],staticClass:"purchase__step step-1"},[i("div",{staticClass:"purchase__step-label"},[i("span",{staticClass:"number"},[e._v("1")]),e._v(" "+e._s(this.stepsLabelsArray.parade)+"\n ")]),e._v(" "),i("div",{staticClass:"purchase__items"},e._l(e.parades,function(t,s){return i("label",{key:s,staticClass:"purchase__item button",attrs:{for:"parade-"+s}},[i("input",{directives:[{name:"model",rawName:"v-model",value:e.selected.parade,expression:"selected.parade"}],staticClass:"is-hidden",attrs:{id:"parade-"+s,type:"radio"},domProps:{value:t,checked:e._q(e.selected.parade,t)},on:{click:function(i){e.nextStep(2,s,t)},change:function(i){e.$set(e.selected,"parade",t)}}}),e._v("\n "+e._s(t.name)+"\n ")])}))]),e._v(" "),i("transition",{attrs:{name:"fade"}},[i("div",{directives:[{name:"show",rawName:"v-show",value:e.isStep(2),expression:"isStep(2)"}],staticClass:"purchase__step step-2"},[i("div",{staticClass:"purchase__step-label"},[i("span",{staticClass:"number"},[e._v("2")]),e._v(" "+e._s(this.stepsLabelsArray.date)+"\n ")]),e._v(" "),i("div",{staticClass:"purchase__items"},e._l(e.filterDates(),function(t,s){return i("label",{key:s,staticClass:"purchase__item button",attrs:{for:"date-"+s}},[i("input",{directives:[{name:"model",rawName:"v-model",value:e.selected.date,expression:"selected.date"}],staticClass:"is-hidden",attrs:{id:"date-"+s,type:"radio"},domProps:{value:t,checked:e._q(e.selected.date,t)},on:{click:function(t){e.nextStep(3,s)},change:function(i){e.$set(e.selected,"date",t)}}}),e._v("\n "+e._s(t.name)+"\n ")])}))])]),e._v(" "),i("transition",{attrs:{name:"fade"}},[i("div",{directives:[{name:"show",rawName:"v-show",value:e.isStep(3),expression:"isStep(3)"}],staticClass:"purchase__step step-3"},[i("div",{staticClass:"purchase__step-label"},[i("span",{staticClass:"number"},[e._v("3")]),e._v(" "+e._s(this.stepsLabelsArray.seat)+"\n ")]),e._v(" "),i("div",{staticClass:"purchase__items"},e._l(e.filterSeats(),function(t,s){return i("label",{key:s,staticClass:"purchase__item button",attrs:{for:"seat-"+s}},[i("input",{directives:[{name:"model",rawName:"v-model",value:e.selected.seat,expression:"selected.seat"}],staticClass:"is-hidden",attrs:{id:"seat-"+s,type:"radio"},domProps:{value:t,checked:e._q(e.selected.seat,t)},on:{click:function(t){e.nextStep(4,s)},change:function(i){e.$set(e.selected,"seat",t)}}}),e._v("\n "+e._s(t.name)+"\n ")])}))])]),e._v(" "),i("transition",{attrs:{name:"fade"}},[i("div",{directives:[{name:"show",rawName:"v-show",value:e.isStep(4),expression:"isStep(4)"}],staticClass:"purchase__step step-4"},[i("div",{staticClass:"purchase__step-label"},[i("span",{staticClass:"number"},[e._v("4")]),e._v(" "+e._s(this.stepsLabelsArray.sector)+"\n ")]),e._v(" "),i("div",{staticClass:"purchase__items"},e._l(e.productsFilter,function(t,s){return i("label",{key:s,staticClass:"purchase__item button sector",attrs:{for:"sector-"+s}},[i("input",{directives:[{name:"model",rawName:"v-model",value:e.selected.product,expression:"selected.product"}],staticClass:"is-hidden",attrs:{id:"sector-"+s,type:"radio"},domProps:{value:t,checked:e._q(e.selected.product,t)},on:{click:function(t){e.nextStep(5,s)},change:function(i){e.$set(e.selected,"product",t)}}}),e._v("\n "+e._s(t.name)+" "),i("br"),e._v(" "),i("span",{staticClass:"purchase__item-price"},[e._v("R$ "+e._s(t.price))])])}))])]),e._v(" "),i("transition",{attrs:{name:"fade"}},[i("div",{directives:[{name:"show",rawName:"v-show",value:e.isStep(5),expression:"isStep(5)"}],staticClass:"purchase__step step-5"},[i("div",{staticClass:"purchase__step-label"},[i("span",{staticClass:"number"},[e._v("5")]),e._v(" "+e._s(this.stepsLabelsArray.quantity)+"\n ")]),e._v(" "),i("div",{staticClass:"purchase__items"},[i("div",{staticClass:"purchase__item-quantity"},[i("button",{staticClass:"button",on:{click:function(t){e.decrease()}}},[e._v("-")]),e._v(" "),i("span",[e._v(e._s(e.quantity))]),e._v(" "),i("button",{staticClass:"button",on:{click:function(t){e.increase()}}},[e._v("+")])])])])]),e._v(" "),i("transition",{attrs:{name:"fade"}},[i("div",{directives:[{name:"show",rawName:"v-show",value:e.isStep(5),expression:"isStep(5)"}],staticClass:"purchase__step step-6"},[i("div",{staticClass:"purchase__step-label"},[i("span",{staticClass:"number"},[e._v("6")]),e._v(" "+e._s(this.stepsLabelsArray.add_to_cart)+"\n ")]),e._v(" "),i("div",{staticClass:"purchase__item-total"},[i("div",{staticClass:"columns"},[i("div",{staticClass:"column"},[i("span",[e._v(e._s(e.quantity)+"x R$"+e._s(e.selected.product.price))])]),e._v(" "),i("div",{staticClass:"column"},[i("a",{staticClass:"purchase__add-to-cart-btn button",attrs:{href:"?add-to-cart="+e.selected.product.ID+"&quantity="+e.quantity}},[e._v("\n "+e._s(this.stepsLabelsArray.add_to_cart)+"\n ")])])])])])])],1)])},n=[];i.d(t,"a",function(){return s}),i.d(t,"b",function(){return n})},,function(e,t,i){"use strict";e.exports=i(39)},function(e,t,i){"use strict";e.exports=function(e,t){return function(){for(var i=new Array(arguments.length),s=0;s',prevArrow:''},slickOptionsTour:{dots:!0,arrows:!1,fade:!1,autoplay:!0,slidesToShow:1,slidesToScroll:1,infinite:!0,appendDots:".slick__dots",focusOnSelect:!1,swipeToSlide:!1,touchThreshold:50}}},computed:{isBrazilian:function(){return"brazilian"==this.registerForm.nationality}},mounted:function(){this.updateCartOnChangeQuantity()},methods:{openDeliveryModal:function(){this.modalDelivery.isOpen="yes"},closeDeliveryModal:function(e){if("save"==e)return this.modalDelivery.isOpen="no",this.modalDelivery.delivery="yes",this.updateCart(),void this.saveOptionToDatabase();this.modalDelivery.isOpen="no",this.modalDelivery.delivery="no",this.resetModalDeliveryData(),this.saveOptionToDatabase()},updateCartOnChangeQuantity:function(){var i=void 0;e("div.woocommerce").on("change textInput input","form.woocommerce-cart-form input.qty",function(){void 0!==(void 0===i?"undefined":t(i))&&clearTimeout(i),""!=e(this).val()&&(i=setTimeout(function(){e('[name="update_cart"]').trigger("click")},1500))})},updateCart:function(){e('[name="update_cart"]').removeAttr("disabled"),e('[name="update_cart"]').trigger("click")},saveOptionToDatabase:function(){var t={action:"my_save_options",nonce_ajax:ajax_var.nonce,delivery_enabled:this.modalDelivery.delivery};r.default.post(ajax_var.url,e.param(t)).then(function(e){console.log(e.data)}).catch(function(e){console.log(e.data)})},resetModalDeliveryData:function(){this.$data.modalDelivery={delivery:"no",isOpen:"no",type:"hotel",arrival_date:"",departure_date:"",hotel:{name:"",reservation:"",customer_name:""},ship:{name:"",cabin_number:""}}}}}),e(window).on("load",function(){return e(".pageloader").removeClass("is-active")}),e(".navbar-burger").on("click",function(){return e(".navbar-burger, .navbar-menu").toggleClass("is-active")})}).call(this,i(4))},,,,function(e,t,i){"use strict";i.r(t);var s=i(16),n=i(5);for(var o in n)"default"!==o&&function(e){i.d(t,e,function(){return n[e]})}(o);var a=i(3),r=Object(a.a)(n.default,s.a,s.b,!1,null,null,null);r.options.__file="slickCarousel.vue",t.default=r.exports},function(e,t,i){"use strict";var s,n,o,a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};n=[i(4)],void 0===(o="function"==typeof(s=function(e){var t=window.Slick||{};(t=function(){var t=0;return function(i,s){var n,o=this;o.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:e(i),appendDots:e(i),arrows:!0,asNavFor:null,prevArrow:'',nextArrow:'',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(t,i){return e('',prevArrow:''},slickOptionsTour:{dots:!0,arrows:!1,fade:!1,autoplay:!0,slidesToShow:1,slidesToScroll:1,infinite:!0,appendDots:".slick__dots",focusOnSelect:!1,swipeToSlide:!1,touchThreshold:50}}},computed:{isBrazilian:function(){return"brazilian"==this.registerForm.nationality}},mounted:function(){this.updateCartOnChangeQuantity()},created:function(){this.modalDelivery.delivery=this.$cookie.get("custom_delivery")},methods:{openDeliveryModal:function(){this.openModal=!0},closeDeliveryModal:function(e){if("save"==e)return this.openModal=!1,this.modalDelivery.isOpen="no",this.modalDelivery.delivery="yes",this.$cookie.set("custom_delivery","yes"),this.updateCart(),void this.saveOptionToDatabase();this.openModal=!1,this.modalDelivery.isOpen="no",this.modalDelivery.delivery="no",this.$cookie.set("custom_delivery","no"),this.updateCart(),this.resetModalDeliveryData(),this.saveOptionToDatabase()},updateCartOnChangeQuantity:function(){var i=void 0;e("div.woocommerce").on("change textInput input","form.woocommerce-cart-form input.qty",function(){void 0!==(void 0===i?"undefined":t(i))&&clearTimeout(i),""!=e(this).val()&&(i=setTimeout(function(){e('[name="update_cart"]').trigger("click")},1500))})},updateCart:function(){e('[name="update_cart"]').removeAttr("disabled"),e('[name="update_cart"]').trigger("click")},saveOptionToDatabase:function(){var t={action:"my_save_options",nonce_ajax:ajax_var.nonce,delivery_enabled:this.modalDelivery.delivery};r.default.post(ajax_var.url,e.param(t)).then(function(e){console.log(e.data),window.location.reload(!0)}).catch(function(e){console.log(e.data)})},resetModalDeliveryData:function(){this.$data.modalDelivery={delivery:"no",isOpen:"no",type:"hotel",arrival_date:"",departure_date:"",hotel:{name:"",reservation:"",customer_name:""},ship:{name:"",cabin_number:""}}}}}),e(window).on("load",function(){return e(".pageloader").removeClass("is-active")}),e(".navbar-burger").on("click",function(){return e(".navbar-burger, .navbar-menu").toggleClass("is-active")})}).call(this,i(4))},,,,function(e,t,i){"use strict";i.r(t);var s=i(16),n=i(5);for(var o in n)"default"!==o&&function(e){i.d(t,e,function(){return n[e]})}(o);var a=i(3),r=Object(a.a)(n.default,s.a,s.b,!1,null,null,null);r.options.__file="slickCarousel.vue",t.default=r.exports},function(e,t,i){"use strict";var s,n,o,a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};n=[i(4)],void 0===(o="function"==typeof(s=function(e){var t=window.Slick||{};(t=function(){var t=0;return function(i,s){var n,o=this;o.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:e(i),appendDots:e(i),arrows:!0,asNavFor:null,prevArrow:'',nextArrow:'',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(t,i){return e('