<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e=(new Error).stack;e&amp;&amp;(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="74c200e6-73b6-4061-80dd-bbc63fe94449",t._sentryDebugIdIdentifier="sentry-dbid-74c200e6-73b6-4061-80dd-bbc63fe94449")}catch(t){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"d9b518e99a1b50b360eed43f80ecfd0e6c162b36"},(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{456:function(t,e,r){"use strict";r(19),r(20),r(25),r(26),r(23),r(10),r(17);var o=r(6),n=(r(35),r(13));function c(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&amp;&amp;(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,o)}return r}function l(t){for(var e=1;e&lt;arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?c(Object(r),!0).forEach((function(e){Object(o.a)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var d={props:{image:{type:Object,required:!0},contentImage:{type:Boolean,default:!1}},data:function(){return{mounted:!1}},computed:l(l({},Object(n.c)({breakpoint:function(t){return t.device.breakpoint},resolution:function(t){return t.device.resolution},format:function(t){return t.device.image_format}})),{},{src:function(){return!!this.mounted&amp;&amp;this.image.urls[this.breakpoint][this.resolution][this.format]},alt:function(){return!!this.mounted&amp;&amp;this.image.alt},styles:function(){return!!this.contentImage&amp;&amp;{width:this.image.width?"".concat(this.image.width,"px"):"100%"}},width:function(){return!(!this.image.hasOwnProperty("dimensions")||null===this.image.dimensions)&amp;&amp;this.image.dimensions[this.breakpoint].width},height:function(){return!(!this.image.hasOwnProperty("dimensions")||null===this.image.dimensions)&amp;&amp;this.image.dimensions[this.breakpoint].height}}),mounted:function(){var t=this;this.$nextTick((function(){setTimeout((function(){t.mounted=!0}),10)}))}},m=r(2),component=Object(m.a)(d,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"lazy-image"},[e("img",{style:t.styles,attrs:{src:t.src,alt:t.alt,width:t.width,height:t.height}})])}),[],!1,null,null,null);e.a=component.exports},471:function(t,e,r){"use strict";r(20),r(56),r(10),r(99),r(35);var o={props:{value:{type:[String,Number],required:!0},options:{type:Array,default:function(){return[]}},label:{type:[String,Boolean],default:!1},error:{type:String,default:""},shake:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},size:{type:[Boolean,String],default:"false"}},data:function(){return{inputValue:this.value,addShakeClass:!1}},computed:{internalValue:{get:function(){return this.inputValue},set:function(t){this.inputValue=t,this.$emit("input",this.inputValue)}},inputClasses:function(){var t={loading:this.loading};return this.size&amp;&amp;(t["is-".concat(this.size)]=!0),t}},watch:{value:function(t){this.inputValue=t},shake:function(t){var e=this;t&amp;&amp;this.error&amp;&amp;(this.addShakeClass=!0,setTimeout((function(){e.addShakeClass=!1}),820))}}},n=r(2),component=Object(n.a)(o,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"field"},[t.label?e("label",{staticClass:"label is-small"},[t._v(t._s(t.label))]):t._e(),t._v(" "),e("div",{staticClass:"control"},[e("div",{staticClass:"select is-fullwidth",class:{loading:t.loading}},[e("select",{directives:[{name:"model",rawName:"v-model",value:t.internalValue,expression:"internalValue"}],staticClass:"input",class:t.inputClasses,on:{change:function(e){var r=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.internalValue=e.target.multiple?r:r[0]}}},t._l(t.options,(function(option){return e("option",{key:option.value,domProps:{value:option.value}},[t._v("\n\t\t\t\t\t"+t._s(option.text)+"\n\t\t\t\t")])})),0),t._v(" "),e("transition",{attrs:{duration:250,name:"fade",appear:""}},[t.loading?e("div",{staticClass:"loader"}):t._e()])],1),t._v(" "),e("transition",{attrs:{duration:150,name:"error"}},[t.error?e("div",{staticClass:"form-error",class:{shake:t.addShakeClass}},[e("span",{staticClass:"tag is-primary"},[t._v("\n\t\t\t\t\t"+t._s(t.error)+"\n\t\t\t\t")])]):t._e()])],1)])}),[],!1,null,null,null);e.a=component.exports},472:function(t,e,r){"use strict";r(42),r(57),r(99),r(35);var o={props:{type:{type:String,default:"text"},value:{type:[String,Number],required:!0},label:{type:[String,Boolean],default:!1},placeholder:{type:[String,Boolean],default:!1},error:{type:String,default:""},identifier:{type:String,default:""},shake:{type:Boolean,default:!1},required:{type:Boolean,default:!1}},data:function(){return{inputValue:this.value,addShakeClass:!1}},computed:{internalValue:{get:function(){return this.inputValue},set:function(t){this.inputValue=t,this.$emit("input",this.inputValue)}}},watch:{value:function(t){this.inputValue=t},shake:function(t){var e=this;t&amp;&amp;this.error&amp;&amp;(this.addShakeClass=!0,setTimeout((function(){e.addShakeClass=!1}),820))}}},n=r(2),component=Object(n.a)(o,(function(){var t=this,e=t._self._c;return e("div",{key:t.identifier,staticClass:"field"},[t.label?e("label",{staticClass:"label"},[t._v(t._s(t.label)+" "),t.required?e("sup",[t._v("*")]):t._e()]):t._e(),t._v(" "),e("div",{staticClass:"control"},["checkbox"===t.type?e("input",{directives:[{name:"model",rawName:"v-model",value:t.internalValue,expression:"internalValue"}],ref:"input",staticClass:"input",attrs:{placeholder:t.placeholder,type:"checkbox"},domProps:{checked:Array.isArray(t.internalValue)?t._i(t.internalValue,null)&gt;-1:t.internalValue},on:{change:function(e){var r=t.internalValue,o=e.target,n=!!o.checked;if(Array.isArray(r)){var c=t._i(r,null);o.checked?c&lt;0&amp;&amp;(t.internalValue=r.concat([null])):c&gt;-1&amp;&amp;(t.internalValue=r.slice(0,c).concat(r.slice(c+1)))}else t.internalValue=n}}}):"radio"===t.type?e("input",{directives:[{name:"model",rawName:"v-model",value:t.internalValue,expression:"internalValue"}],ref:"input",staticClass:"input",attrs:{placeholder:t.placeholder,type:"radio"},domProps:{checked:t._q(t.internalValue,null)},on:{change:function(e){t.internalValue=null}}}):e("input",{directives:[{name:"model",rawName:"v-model",value:t.internalValue,expression:"internalValue"}],ref:"input",staticClass:"input",attrs:{placeholder:t.placeholder,type:t.type},domProps:{value:t.internalValue},on:{input:function(e){e.target.composing||(t.internalValue=e.target.value)}}}),t._v(" "),e("transition",{attrs:{duration:150,name:"error"}},[t.error?e("div",{staticClass:"form-error",class:{shake:t.addShakeClass}},[e("span",{staticClass:"tag is-primary"},[t._v("\n\t\t\t\t\t"+t._s(t.error)+"\n\t\t\t\t")])]):t._e()])],1)])}),[],!1,null,null,null);e.a=component.exports},475:function(t,e,r){"use strict";r(99),r(35);var o={props:{type:{type:String,default:"text"},value:{type:[String,Number],required:!0},label:{type:[String,Boolean],default:!1},placeholder:{type:[String,Boolean],default:!1},hint:{type:[String,Boolean],default:!1},error:{type:String,default:""},identifier:{type:String,default:""},shake:{type:Boolean,default:!1},minHeight:{type:[Number,Boolean],default:!1},required:{type:Boolean,default:!1}},data:function(){return{inputValue:this.value,addShakeClass:!1}},computed:{internalValue:{get:function(){return this.inputValue},set:function(t){this.inputValue=t,this.$emit("input",this.inputValue)}},styles:function(){var t={};return this.minHeight&amp;&amp;(t["min-height"]="".concat(this.minHeight,"px")),t}},watch:{value:function(t){this.inputValue=t},shake:function(t){var e=this;t&amp;&amp;this.error&amp;&amp;(this.addShakeClass=!0,setTimeout((function(){e.addShakeClass=!1}),820))}}},n=r(2),component=Object(n.a)(o,(function(){var t=this,e=t._self._c;return e("div",{key:t.identifier,staticClass:"field"},[t.label?e("label",{staticClass:"label"},[t._v(t._s(t.label)+" "),t.required?e("sup",[t._v("*")]):t._e()]):t._e(),t._v(" "),e("div",{staticClass:"control"},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.internalValue,expression:"internalValue"}],ref:"input",staticClass:"textarea",style:t.styles,attrs:{placeholder:t.placeholder},domProps:{value:t.internalValue},on:{input:function(e){e.target.composing||(t.internalValue=e.target.value)}}}),t._v(" "),t.hint?e("div",{staticClass:"form-hint"},[t._v(t._s(t.hint))]):t._e(),t._v(" "),e("transition",{attrs:{duration:150,name:"error"}},[t.error?e("div",{staticClass:"form-error",class:{shake:t.addShakeClass}},[e("span",{staticClass:"tag is-primary"},[t._v(t._s(t.error))])]):t._e()])],1)])}),[],!1,null,null,null);e.a=component.exports},493:function(t,e,r){"use strict";var o,n,c,l=r(4),d=r(1),m=r.n(d),f=(r(42),r(35),r(49)),h=r(171),v=r(471),y=r(170),_={components:{Select:v.a,Button:y.a},mixins:[h.a],props:{role:{type:String,required:!0},resetting:{type:Boolean,required:!0}},data:function(){return{form:{type:"",category:"",product:""},attributes:{type:{label:"Choose Your Format"},category:{label:"Category"},product:{label:"Product"}},options:{type:[{value:"vinyl",text:"Vinyl"},{value:"cd",text:"CD"},{value:"cassette",text:"Cassette"},{value:"dvd",text:"DVD"}]},categoryLabels:{vinyl:"Vinyl Type",cd:"CD Packaging",cassette:"Cassette Type",dvd:"DVD Type","":"Category"},errorMessages:{type:{required:"Please choose a type"},category:{required:"Please choose a category"},product:{required:"Please choose a product"}}}},computed:{typeLoading:function(){return this.$store.state.loading.quoteType},showCategory:function(){return!!this.$store.state.forms.quote.show.category},categoryOptions:function(){return this.$store.state.forms.quote.options.category},categoryLoading:function(){return this.$store.state.loading.quoteCategory},categoryLabel:function(){return this.categoryLabels[this.form.type]},showProduct:function(){return!!this.$store.state.forms.quote.show.product},productOptions:function(){return this.$store.state.forms.quote.options.product},productLoading:function(){return this.$store.state.loading.quoteProduct},isOther:function(){return"other"===this.form.type||"other"===this.form.category||"other"===this.form.product}},watch:{"$store.state.forms.quote.attrs.type":{immediate:!0,handler:function(t){t&amp;&amp;t!==this.form.type&amp;&amp;(this.form.type=t)}},"$store.state.forms.quote.attrs.category":{immediate:!0,handler:function(t){t&amp;&amp;t!==this.form.category&amp;&amp;(this.form.category=t)}},"$store.state.forms.quote.attrs.product":{immediate:!0,handler:function(t){t&amp;&amp;t!==this.form.product&amp;&amp;(this.form.product=t)}},"form.type":(c=Object(l.a)(m.a.mark((function t(e,r){return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e||e===r||this.$store.state.forms.quote.attrs.type===e){t.next=9;break}return t.prev=1,t.next=4,this.$store.dispatch("forms/quote/setType",e);case 4:t.next=9;break;case 6:t.prev=6,t.t0=t.catch(1),console.error("Error setting type:",t.t0);case 9:case"end":return t.stop()}}),t,this,[[1,6]])}))),function(t,e){return c.apply(this,arguments)}),"form.category":(n=Object(l.a)(m.a.mark((function t(e,r){return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e||e===r||this.$store.state.forms.quote.attrs.category===e){t.next=9;break}return t.prev=1,t.next=4,this.$store.dispatch("forms/quote/setCategory",e);case 4:t.next=9;break;case 6:t.prev=6,t.t0=t.catch(1),console.error("Error setting category:",t.t0);case 9:case"end":return t.stop()}}),t,this,[[1,6]])}))),function(t,e){return n.apply(this,arguments)}),"form.product":(o=Object(l.a)(m.a.mark((function t(e,r){return m.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e||e===r||this.$store.state.forms.quote.attrs.product===e){t.next=12;break}return t.prev=1,t.next=4,this.$store.dispatch("forms/quote/setProduct",e);case 4:if(void 0===e||""===e){t.next=7;break}return t.next=7,this.submit();case 7:t.next=12;break;case 9:t.prev=9,t.t0=t.catch(1),console.error("Error setting product:",t.t0);case 12:case"end":return t.stop()}}),t,this,[[1,9]])}))),function(t,e){return o.apply(this,arguments)}),resetting:function(t){var e=this;t?this.$validator.pause():this.$nextTick((function(){e.$validator.errors.clear(),e.$validator.resume()}))}},mounted:function(){this.syncFormWithStore()},methods:{syncFormWithStore:function(){var t=this.$store.state.forms.quote.attrs;this.form.type=t.type||"",this.form.category=t.category||"",this.form.product=t.product||""},onValid:function(){var t=this;return Object(l.a)(m.a.mark((function e(){return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,t.$store.commit("app/block"),!t.isOther){e.next=7;break}return e.next=5,t.$store.commit("forms/quote/show","details");case 5:e.next=9;break;case 7:return e.next=9,t.$store.commit("forms/quote/productComplete");case 9:t.$store.commit("app/unblock"),e.next=16;break;case 12:e.prev=12,e.t0=e.catch(0),console.error("Error in onValid:",e.t0),t.$store.commit("app/unblock");case 16:case"end":return e.stop()}}),e,null,[[0,12]])})))()},skip:function(){var t=this;return Object(l.a)(m.a.mark((function e(){return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t.$store.commit("app/block"),t.errors.clear(),e.next=5,t.$store.commit("forms/quote/skip","product");case 5:t.$store.commit("app/unblock"),t.$nextTick((function(){t.scrollIntoView("#quote-details")})),e.next=13;break;case 9:e.prev=9,e.t0=e.catch(0),console.error("Error in skip:",e.t0),t.$store.commit("app/unblock");case 13:case"end":return e.stop()}}),e,null,[[0,9]])})))()}}},k=_,$=r(2),component=Object($.a)(k,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"quote-product"},[e("form",{staticClass:"form",on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("div",{staticClass:"columns is-desktop is-variable is-5"},[e("div",{staticClass:"column"},[e("Select",t._b({directives:[{name:"validate",rawName:"v-validate",value:"required",expression:"'required'"}],attrs:{loading:t.typeLoading},model:{value:t.form.type,callback:function(e){t.$set(t.form,"type",e)},expression:"form.type"}},"Select",t.inputAttributes("type","select"),!1))],1),t._v(" "),e("div",{staticClass:"column"},[e("transition",{attrs:{duration:{enter:150,leave:0},name:"fade-in-quick"}},[t.showCategory?e("Select",t._b({directives:[{name:"validate",rawName:"v-validate",value:"required",expression:"'required'"}],attrs:{options:t.categoryOptions,loading:t.categoryLoading,label:t.categoryLabel},model:{value:t.form.category,callback:function(e){t.$set(t.form,"category",e)},expression:"form.category"}},"Select",t.inputAttributes("category","select"),!1)):t._e()],1)],1),t._v(" "),e("div",{staticClass:"column"},[e("transition",{attrs:{duration:{enter:150,leave:0},name:"fade-in-quick"}},[t.showProduct?e("Select",t._b({directives:[{name:"validate",rawName:"v-validate",value:"required",expression:"'required'"}],attrs:{options:t.productOptions,loading:t.productLoading},model:{value:t.form.product,callback:function(e){t.$set(t.form,"product",e)},expression:"form.product"}},"Select",t.inputAttributes("product","select"),!1)):t._e()],1)],1)])])])}),[],!1,null,null,null),C=component.exports,x=(r(27),r(174),r(23),r(10),r(532),r(17),r(176)),w=r.n(x),S={props:{on:{type:Boolean,required:!0},label:{type:String,required:!0},left:{type:Boolean,default:!1}},computed:{fieldClasses:function(){return{"is-reversed":this.left}},toggleClasses:function(){return{"is-on":this.on}}},methods:{toggle:function(){this.$emit("input",!this.on)}}},O=Object($.a)(S,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"toggle-field",class:t.fieldClasses,on:{click:t.toggle}},[e("div",{staticClass:"toggle-label"},[t._v("\n\t\t"+t._s(t.label)+"\n\t")]),t._v(" "),e("div",{staticClass:"toggle-switch",class:t.toggleClasses},[e("div",{staticClass:"toggle"})])])}),[],!1,null,null,null).exports,V=r(530),T=r(472),P={props:{error:{type:String,default:""},shake:{type:Boolean,default:!1}},data:function(){return{addShakeClass:!1}},watch:{shake:function(t){var e=this;t&amp;&amp;this.error&amp;&amp;(this.addShakeClass=!0,setTimeout((function(){e.addShakeClass=!1}),820))}}},B=Object($.a)(P,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"control"},[e("transition",{attrs:{duration:150,name:"error"}},[t.error?e("div",{staticClass:"form-error",class:{shake:t.addShakeClass}},[e("span",{staticClass:"tag is-primary"},[t._v("\n\t\t\t\t"+t._s(t.error)+"\n\t\t\t")])]):t._e()])],1)}),[],!1,null,null,null).exports,I=Object($.a)({},(function(){var t=this._self._c;return t("svg",{staticClass:"check-bold-icon",attrs:{viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M9,20.42L2.79,14.21L5.62,11.38L9,14.77L18.88,4.88L21.71,7.71L9,20.42Z"}})])}),[],!1,null,null,null).exports,A=r(527),j={components:{MobileGallery:r(529).a,Gallery:A.a,Toggle:O,VatToggle:V.a,Select:v.a,Input:T.a,Error:B,Button:y.a,CheckBold:I},mixins:[h.a],props:{section:{type:String,required:!0},resetting:{type:Boolean,required:!0}},data:function(){return{variations:[],images:{},quantities:{},quantityBounds:{vinyl:{minimum:250,maxPriced:1e3},cd:{minimum:100,maxPriced:2e3},dvd:{minimum:100,maxPriced:2e3},cassette:{minimum:50,maxPriced:1e3}},other_qty_selected:!1,qyt_required_error:"",qyt_required_error_message:"Please select one or more a quantities",quantityOptions:[],showQuantityOptions:!0,form:{other_qty_value:""},attributes:{other_qty_value:{delay:500}},errorMessages:{other_qty_value:{required:"Please specify",min_value:"The quantity must be higher than the minimum"}}}},computed:{active:function(){return this.$store.state.forms.quote.complete.product},role:function(){return this.$store.state.forms.quote.role},type:function(){return this.$store.state.forms.quote.attrs.type},typeDisplayName:function(){switch(this.type){case"vinyl":default:return"vinyl";case"cassette":return"cassettes";case"cd":return"CDs";case"dvd":return"DVDs"}},otherQtyRules:function(){return"required|min_value:"+this.quantityBounds[this.type].minimum},product:function(){var t=this,option=this.$store.state.forms.quote.options.product.find((function(e){return e.value===t.$store.state.forms.quote.attrs.product}));return option?option.text:""},hasVariations:function(){return this.variations&amp;&amp;this.variations.length},vat:function(){return this.$store.state.settings.vat},showSpecifications:function(){return this.$store.state.forms.quote.show.specifications},specifications:function(){return this.$store.state.forms.quote.data.specifications},quantityHasBeenSelected:function(){var t=!1;return Object.values(this.quantities).forEach((function(e){e&amp;&amp;(t=!0)})),t},hideSkip:function(){return this.quantityHasBeenSelected&amp;&amp;!this.other_qty_selected||this.other_qty_selected&amp;&amp;this.form.other_qty_value},complete:function(){return this.$store.state.forms.quote.complete.options||this.$store.state.forms.quote.skip.options},mobile:function(){return this.$store.state.device.mobile},widescreen:function(){return this.$store.state.device.widescreen}},mounted:function(){var t=this;this.loading=!0,this.$nextTick((function(){setTimeout((function(){t.populateData(),t.addWatchers(),t.loading=!1}),300)}))},methods:{toggleVat:function(t){this.$store.commit("settings/setVat",t)},populateData:function(){this.variations=w()(this.$store.state.forms.quote.options.variations),this.images=w()(this.$store.state.forms.quote.options.images),this.quantities=w()(this.$store.state.forms.quote.attrs.quantities),this.other_qty_selected=this.$store.state.forms.quote.attrs.other_qty_selected,this.form.other_qty_value=this.$store.state.forms.quote.attrs.other_qty_value,this.quantityOptions=this.$store.state.forms.quote.options.quantities},addWatchers:function(){var t=this;this.$watch("active",(function(e){e&amp;&amp;t.$nextTick((function(){t.loading=!1,t.populateData()}))})),this.$watch("form.other_qty_value",(function(e){e&amp;&amp;t.$store.dispatch("forms/quote/setOtherQtyValue",e)})),this.$watch("$store.state.forms.quote.options.quantities",(function(e){e&amp;&amp;(t.showQuantityOptions=!1,setTimeout((function(){t.quantityOptions=e,t.showQuantityOptions=!0}),250))})),this.$watch("resetting",(function(e){e?t.$validator.pause():t.$nextTick((function(){t.$validator.errors.clear(),t.$validator.resume()}))}))},onVariationSelected:function(t){var e=this;return Object(l.a)(m.a.mark((function r(){return m.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t.loading=!0,r.next=3,e.$store.dispatch("forms/quote/setVariation",t);case 3:e.populateData();case 4:case"end":return r.stop()}}),r)})))()},onQtySelected:function(t){this.clearErrors();var e="quote"==this.role?"setQuantity":"setOnlyQuantity";this.$store.dispatch("forms/quote/".concat(e),{qty:t,checked:this.quantities[t]})},setSelected:function(t){var e=this;"order"==this.role&amp;&amp;(Object.keys(this.quantities).forEach((function(r){r!=t&amp;&amp;(e.quantities[r]=!1)})),this.other_qty_selected=!1),this.quantities[t]=!this.quantities[t],this.onQtySelected(t)},isSelected:function(t){return this.quantities[t]},onOtherQtySelected:function(){this.clearErrors();var t="quote"==this.role?"setOtherQtySelected":"setOnlyOtherQtySelected";this.$store.dispatch("forms/quote/".concat(t),this.other_qty_selected)},setOtherQtySelected:function(){var t=this;"order"==this.role&amp;&amp;Object.keys(this.quantities).forEach((function(e){t.quantities[e]=!1})),this.other_qty_selected=!this.other_qty_selected,this.onOtherQtySelected()},toggleSpecifications:function(t){this.$store.commit("forms/quote/setShowSpecifications",t)},onValid:function(){var t=this;return Object(l.a)(m.a.mark((function e(){return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.validateQuantities()?(t.$store.commit("app/block"),t.loading=!0,setTimeout((function(){t.$store.commit("forms/quote/optionsComplete");var e="#quote-extras";"cassette"===t.type&amp;&amp;(t.$store.commit("forms/quote/extrasComplete"),e="#quote-details"),t.loading=!1,t.$store.commit("app/unblock"),setTimeout((function(){t.scrollIntoView(e)}),150)}),500)):t.showErrors();case 1:case"end":return e.stop()}}),e)})))()},validateQuantities:function(){return!!this.other_qty_selected||this.quantityHasBeenSelected},showErrors:function(){var t=this;this.qyt_required_error=this.qyt_required_error_message,this.scrollErrorIntoView(),setTimeout((function(){t.shakeErrors()}),250)},clearErrors:function(){this.qyt_required_error=""},skip:function(){var t=this;this.$store.commit("app/block"),this.loading=!0,this.errors.clear(),this.clearErrors(),setTimeout((function(){t.$store.commit("forms/quote/skip","options"),t.loading=!1,t.$store.commit("app/unblock"),setTimeout((function(){t.scrollIntoView("#quote-details")}),150)}),500)}}},D=Object($.a)(j,(function(){var t=this,e=t._self._c;return t.active?e("div",{staticClass:"quote-options",attrs:{id:"quote-options","data-offset":"-22"}},[!t.widescreen&amp;&amp;t.images.length?e("MobileGallery",{attrs:{images:t.images}}):t._e(),t._v(" "),e("form",{staticClass:"form",on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("div",{staticClass:"columns is-desktop is-variable is-5"},[t.hasVariations?e("div",{staticClass:"column is-5"},[t._l(t.variations,(function(r){return e("Select",{key:r.id,attrs:{options:r.options,label:r.name,loading:r.loading},on:{input:function(e){return t.onVariationSelected(r)}},model:{value:r.selected,callback:function(e){t.$set(r,"selected",e)},expression:"variation.selected"}})})),t._v(" "),e("div",{staticClass:"option-switch-specifications"},[e("Toggle",{attrs:{on:t.showSpecifications,left:!0,label:"Show Full Specifications"},on:{input:function(e){return t.toggleSpecifications(e)}}})],1),t._v(" "),t.showSpecifications?e("div",{staticClass:"breakdown"},[e("label",{staticClass:"label"},[t._v("Price Includes")]),t._v(" "),e("ul",{staticClass:"list-divided"},t._l(t.specifications,(function(line,r){return e("li",{key:r},[t._v("\n\t\t\t\t\t\t\t"+t._s(line)+"\n\t\t\t\t\t\t")])})),0)]):t._e(),t._v(" "),!t.complete&amp;&amp;t.widescreen?e("div",{staticClass:"quote-buttons columns"},[e("div",{staticClass:"column"},[e("Button",{attrs:{loading:t.loading,size:"medium"}},[t._v("\n\t\t\t\t\t\t\tContinue\n\t\t\t\t\t\t")])],1),t._v(" "),e("div",{staticClass:"column is-narrow"},[t.hideSkip?t._e():e("Button",{attrs:{loading:t.loading,size:"medium",color:"grey-light"},nativeOn:{click:function(e){return e.preventDefault(),t.skip()}}},[t._v("\n\t\t\t\t\t\t\tSkip\n\t\t\t\t\t\t")])],1)]):t._e()],2):t._e(),t._v(" "),e("div",{staticClass:"column"},[e("div",{staticClass:"columns is-mobile is-gapless columns-labels"},[t._m(0),t._v(" "),e("div",{staticClass:"column is-narrow"},[e("transition",{attrs:{duration:250,name:"fade",mode:"out-in"}},["none"===t.vat?e("div",{key:"none",staticClass:"label"},[t._v("\n\t\t\t\t\t\t\t\tPrice Ex VAT\n\t\t\t\t\t\t\t")]):"uk"===t.vat?e("div",{key:"uk",staticClass:"label"},[t._v("\n\t\t\t\t\t\t\t\tPrice Inc VAT (UK)\n\t\t\t\t\t\t\t")]):e("div",{key:"eu",staticClass:"label"},[t._v("\n\t\t\t\t\t\t\t\tPrice Inc VAT (EU)\n\t\t\t\t\t\t\t")])])],1)]),t._v(" "),e("Error",{attrs:{error:t.qyt_required_error,shake:t.shake}}),t._v(" "),e("div",{staticClass:"quote-quantities"},[t._l(t.quantityOptions,(function(line,r){return[line.quantity&lt;3e3&amp;&amp;t.showQuantityOptions?e("div",{key:r,staticClass:"quote-quantity",class:{active:t.isSelected(line.quantity)},on:{click:function(e){return t.setSelected(line.quantity)}}},[e("div",{staticClass:"content"},[e("h6",[t._v(t._s(line.quantity))])]),t._v(" "),"none"===t.vat?e("p",{key:"none"},[t._v(t._s(line.ex_vat))]):"uk"===t.vat?e("p",{key:"uk"},[t._v(t._s(line.inc_vat))]):t._e(),t._v(" "),e("div",{staticClass:"qty-selected"},[e("CheckBold")],1)]):t._e()]})),t._v(" "),e("div",{staticClass:"quote-quantity",class:{active:t.other_qty_selected},on:{click:function(e){return t.setOtherQtySelected()}}},[e("div",{staticClass:"content"},[e("h6",[t._v("\n\t\t\t\t\t\t\t\tOther\n\t\t\t\t\t\t\t")]),t._v(" "),t.other_qty_selected?e("div",{staticClass:"other-qty-input"},[e("Input",t._b({directives:[{name:"validate",rawName:"v-validate",value:t.otherQtyRules,expression:"otherQtyRules"}],nativeOn:{click:function(t){t.stopPropagation()}},model:{value:t.form.other_qty_value,callback:function(e){t.$set(t.form,"other_qty_value",e)},expression:"form.other_qty_value"}},"Input",t.inputAttributes("other_qty_value"),!1)),t._v(" "),e("p",{staticClass:"is-size-7"},[t._v("The minimum order quantity for "+t._s(t.typeDisplayName)+" is "+t._s(t.quantityBounds[t.type].minimum)+" units.")])],1):t._e()]),t._v(" "),e("div",{staticClass:"qty-selected"},[e("CheckBold")],1)])],2),t._v(" "),t.hasVariations&amp;&amp;t.widescreen&amp;&amp;t.images.length?e("Gallery",{attrs:{images:t.images}}):t._e(),t._v(" "),e("div",{staticClass:"column has-text-right is-narrow is-hidden-touch"},[e("VatToggle",{attrs:{value:t.vat},on:{input:function(e){return t.toggleVat(e)}}})],1),t._v(" "),t.complete||t.hasVariations||!t.widescreen?t._e():e("div",{staticClass:"quote-buttons columns"},[e("div",{staticClass:"column"},[e("Button",{attrs:{loading:t.loading,size:"medium"}},[t._v("\n\t\t\t\t\t\t\tContinue\n\t\t\t\t\t\t")])],1),t._v(" "),e("div",{staticClass:"column is-narrow"},[t.hideSkip?t._e():e("Button",{attrs:{loading:t.loading,size:"medium",color:"grey-light"},nativeOn:{click:function(e){return e.preventDefault(),t.skip()}}},[t._v("\n\t\t\t\t\t\t\tSkip\n\t\t\t\t\t\t")])],1)])],1),t._v(" "),t.hasVariations?t._e():e("div",{staticClass:"column"},[t.widescreen&amp;&amp;t.images.length?e("Gallery",{attrs:{images:t.images}}):t._e(),t._v(" "),e("div",{staticClass:"breakdown"},[e("label",{staticClass:"label"},[t._v("Price Includes")]),t._v(" "),e("ul",{staticClass:"list-divided"},t._l(t.specifications,(function(line,r){return e("li",{key:r},[t._v("\n\t\t\t\t\t\t\t"+t._s(line)+"\n\t\t\t\t\t\t")])})),0)])],1)]),t._v(" "),e("div",{staticClass:"option-switch-vat"},[e("VatToggle",{attrs:{value:t.vat},on:{input:function(e){return t.toggleVat(e)}}})],1),t._v(" "),!t.complete&amp;&amp;t.mobile?e("div",{staticClass:"quote-buttons columns is-mobile"},[e("div",{staticClass:"column"},[e("Button",{attrs:{loading:t.loading,size:"medium"}},[t._v("\n\t\t\t\t\tContinue\n\t\t\t\t")])],1),t._v(" "),e("div",{staticClass:"column is-narrow"},[t.hideSkip?t._e():e("Button",{attrs:{loading:t.loading,size:"medium",color:"grey-light"},nativeOn:{click:function(e){return e.preventDefault(),t.skip()}}},[t._v("\n\t\t\t\t\tSkip\n\t\t\t\t")])],1)]):t._e()])],1):t._e()}),[function(){var t=this._self._c;return t("div",{staticClass:"column"},[t("div",{staticClass:"label"},[this._v("Quantities")])])}],!1,null,null,null),L=D.exports,E=(r(19),r(55),r(456)),N=Object($.a)({},(function(){var t=this._self._c;return t("svg",{staticClass:"icon-alert-circle-outline",attrs:{viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M11,15H13V17H11V15M11,7H13V13H11V7M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20Z"}})])}),[],!1,null,null,null).exports,z={components:{LazyImage:E.a,AlertCircleOutline:N,CheckBold:I,Button:y.a},mixins:[f.a],data:function(){return{loading:!1,extras:{}}},computed:{active:function(){return this.$store.state.forms.quote.complete.options&amp;&amp;"cassette"!==this.$store.state.forms.quote.attrs.type},extraOptions:function(){return this.$store.state.forms.quote.options.extras},complete:function(){return this.$store.state.forms.quote.complete.extras},type:function(){return this.$store.state.forms.quote.attrs.type}},created:function(){var t=this;setTimeout((function(){t.populateData(),t.addWatchers()}))},methods:{populateData:function(){this.extras=w()(this.$store.state.forms.quote.attrs.extras)},addWatchers:function(){var t=this;this.$watch("active",(function(e){e&amp;&amp;t.populateData()}))},setExtraSelected:function(t){this.extras[t]=!this.extras[t],this.$store.dispatch("forms/quote/setExtra",{id:t,checked:this.extras[t]})},isSelected:function(t){return this.extras[t]},onContinue:function(){var t=this;this.$store.commit("app/block"),this.loading=!0,setTimeout((function(){t.$store.commit("forms/quote/extrasComplete"),t.loading=!1,t.$store.commit("app/unblock"),setTimeout((function(){t.scrollIntoView("#quote-details")}),150)}),500)}}},Q=Object($.a)(z,(function(){var t=this,e=t._self._c;return e("transition",{attrs:{duration:{enter:150,leave:0},name:"fade-in-quick"}},[t.active?e("div",{staticClass:"box quote-optional-extras",attrs:{id:"quote-extras","data-offset":"-22"}},[e("div",{staticClass:"box-content"},[e("h3",{staticClass:"title is-4 is-underlined is-primary is-inline-block"},[t._v("\n\t\t\t\tProduct Options\n\t\t\t")]),t._v(" "),e("div",{staticClass:"content"},[e("p",[t._v("Please tick all of the options you are interested in and we will provide you with a clear breakdown of how each option affects the overall price. There is absolutely no obligation to add these options to your order, you can change your mind at any time before you approve the order for production.")])]),t._v(" "),e("div",{staticClass:"quote-extras columns is-multiline"},t._l(t.extraOptions,(function(r,o){return e("div",{key:o,staticClass:"column is-2"},[e("div",{staticClass:"quote-extra",class:{active:t.isSelected(r.id)},on:{click:function(e){return t.setExtraSelected(r.id)}}},[e("div",{staticClass:"extra-image"},[e("LazyImage",{attrs:{image:r.image}})],1),t._v(" "),e("div",{staticClass:"content"},[e("h6",[t._v(t._s(r.name))])]),t._v(" "),r.vital&amp;&amp;!t.extras[r.id]?e("div",{staticClass:"notification is-primary is-small"},[e("AlertCircleOutline"),t._v("\n\t\t\t\t\t\t\t"+t._s(r.disclaimer)+"\n\t\t\t\t\t\t")],1):t._e(),t._v(" "),e("div",{staticClass:"extra-selected"},[e("CheckBold")],1)]),t._v(" "),e("div",[e("VDropdown",{attrs:{theme:"tooltip",triggers:["click","touch"],"auto-hide":!0},scopedSlots:t._u([{key:"popper",fn:function(){return[e("p",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(r.description)+"\n\t\t\t\t\t\t\t\t")])]},proxy:!0}],null,!0)},[e("button",{staticClass:"button more-info"},[t._v("More Info")])])],1)])})),0),t._v(" "),e("transition",{attrs:{duration:{enter:150,leave:0},name:"fade-in-quick"}},[t.complete?t._e():e("Button",{attrs:{loading:t.loading,size:"medium"},nativeOn:{click:function(e){return t.onContinue()}}},[t._v("\n\t\t\t\t\tContinue\n\t\t\t\t")])],1)],1)]):t._e()])}),[],!1,null,null,null).exports,R=(r(57),r(58),r(68),r(475)),M={components:{Input:T.a,Select:v.a,Textarea:R.a,Button:y.a},mixins:[h.a],props:{section:{type:String,required:!0},resetting:{type:Boolean,required:!0}},data:function(){return{form:{first_name:"",email:"",phone:"",organisation_type:"",organisation_other:"",label:"",comments:"",newsletter:!1},attributes:{first_name:{label:"Name",required:!0,delay:500},email:{label:"Email Address",required:!0,delay:1e3,type:"email"},phone:{label:"Phone Number",required:!0,delay:500,type:"tel"},organisation_type:{label:"Industry Type"},organisation_other:{label:"Industry Type"},label:{label:"Artist / Label / Organisation Name"}},options:{organisation_type:[{value:"Artist / Band",text:"Artist / Band"},{value:"Record Label",text:"Record Label"},{value:"Studio",text:"Studio"},{value:"Management",text:"Management"},{value:"Other",text:"Other"}]},errorMessages:{first_name:{required:"Please provide your name"},email:{required:"Please provide an email address",email:"Please provide a valid email address"},organisation_type:{required:"Please select your organisation type"},phone:{regex:"Please provide a valid phone number"},comments:{required:"Please describe your order requirements"}}}},computed:{active:function(){return this.$store.state.forms.quote.show.details||this.$store.state.forms.quote.complete.extras||this.$store.state.forms.quote.skip.product||this.$store.state.forms.quote.skip.options},action:function(){return"quote"===this.$store.state.forms.quote.role?"Request Quote":"Start Order"},isOther:function(){return[this.$store.state.forms.quote.attrs.type,this.$store.state.forms.quote.attrs.category,this.$store.state.forms.quote.attrs.product].includes("other")},isSkipped:function(){return this.$store.state.forms.quote.skip.product||this.$store.state.forms.quote.skip.options},commentsRules:function(){return this.isOther||this.isSkipped?"required":""},commentsLabel:function(){return this.isOther||this.isSkipped?"Order Requirements":"Additional Requirements"},commentsMinHeight:function(){return!(!this.isOther&amp;&amp;!this.isSkipped)&amp;&amp;260}},watch:{form:{handler:function(){this.saveDetails()},deep:!0},"form.organisation_type":function(t){switch(t){case"Artist / Band":this.attributes.label.label="Artist / Band Name";break;case"Record Label":this.attributes.label.label="Record Label Name";break;case"Studio":this.attributes.label.label="Studio Name";break;case"Management":this.attributes.label.label="Management Company Name";break;default:this.attributes.label.label="Organisation Name"}},resetting:function(t){var e=this;t?this.$validator.pause():this.$nextTick((function(){e.$validator.errors.clear(),e.$validator.resume()}))}},methods:{saveDetails:function(){this.$store.commit("forms/details/set",{first_name:this.form.first_name,organisation_type:this.form.organisation_type,organisation_other:this.form.organisation_other,label:this.form.label,email:this.form.email,phone:this.form.phone}),this.$store.commit("forms/quote/setComments",this.form.comments)},onValid:function(){var t=this;return Object(l.a)(m.a.mark((function e(){return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.$store.commit("app/block"),t.loading=!0,setTimeout(Object(l.a)(m.a.mark((function e(){var r;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.$axios.$post("enquiry",t.getData());case 3:(r=e.sent).data.product?t.$router.push({name:"".concat(t.$store.state.section.section,"-").concat(t.$store.state.forms.quote.role,"-code-product"),params:{code:r.data.id,product:t.$store.state.forms.quote.attrs.product}}):t.$router.push({name:"".concat(t.$store.state.section.section,"-").concat(t.$store.state.forms.quote.role,"-code"),params:{code:r.data.id}}),e.next=9;break;case 7:e.prev=7,e.t0=e.catch(0);case 9:t.loading=!1,t.$store.commit("app/unblock");case 11:case"end":return e.stop()}}),e,null,[[0,7]])}))),500);case 3:case"end":return e.stop()}}),e)})))()},getData:function(){var data={type:this.$store.state.forms.quote.role,section:this.section,name:this.form.first_name,email:this.form.email,phone:this.form.phone,organisation_type:this.form.organisation_type,organisation_other:this.form.organisation_other,label:this.form.label,comments:this.form.comments,newsletter:this.form.newsletter,skip_product:this.$store.state.forms.quote.skip.product,skip_options:this.$store.state.forms.quote.skip.options};return this.getProductData(data),this.getOptionsData(data),data},getProductData:function(data){this.$store.getters["forms/quote/productTypeRequired"]&amp;&amp;(data.product_type=this.$store.getters["forms/quote/productType"],this.$store.getters["forms/quote/categoryRequired"]&amp;&amp;(data.category=this.$store.getters["forms/quote/category"]),this.$store.getters["forms/quote/productRequired"]&amp;&amp;(data.product=this.$store.getters["forms/quote/product"]))},getOptionsData:function(data){this.$store.getters["forms/quote/optionsRequired"]&amp;&amp;(data.currency=this.$store.state.settings.currency,data.specifications=this.$store.state.forms.quote.data.specifications,data.options=this.$store.getters["forms/quote/options"],data.other_qty_selected=this.$store.state.forms.quote.attrs.other_qty_selected,data.other_qty=this.$store.state.forms.quote.attrs.other_qty_value,data.quantities=this.getQuantitiesData(),data.extras=this.getExtrasData())},getQuantitiesData:function(){var t=this,e=[];return Object.keys(this.$store.state.forms.quote.attrs.quantities).forEach((function(r){t.$store.state.forms.quote.attrs.quantities[r]&amp;&amp;e.push({quantity:r,price:t.$store.state.forms.quote.options.quantities.find((function(q){return q.quantity==r})).price})})),e},getExtrasData:function(){var t=this,e=[];return Object.keys(this.$store.state.forms.quote.attrs.extras).forEach((function(r){t.$store.state.forms.quote.attrs.extras[r]&amp;&amp;e.push(t.$store.state.forms.quote.options.extras.find((function(t){return t.id==r})).name)})),e}}},H=Object($.a)(M,(function(){var t=this,e=t._self._c;return e("transition",{attrs:{duration:{enter:150,leave:0},name:"fade-in-quick"}},[t.active?e("div",{staticClass:"box quote-details",attrs:{id:"quote-details","data-offset":"-22"}},[e("div",{staticClass:"box-content"},[e("h3",{staticClass:"title is-4 is-underlined is-primary is-inline-block"},[t._v("Your Details")]),t._v(" "),e("form",{staticClass:"form",on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("div",{staticClass:"columns"},[e("div",{staticClass:"column is-one-third"},[e("Input",t._b({directives:[{name:"validate",rawName:"v-validate",value:"required",expression:"'required'"}],model:{value:t.form.first_name,callback:function(e){t.$set(t.form,"first_name",e)},expression:"form.first_name"}},"Input",t.inputAttributes("first_name","text",!0),!1))],1),t._v(" "),e("div",{staticClass:"column is-one-third"},[e("Input",t._b({directives:[{name:"validate",rawName:"v-validate",value:"required|email",expression:"'required|email'"}],model:{value:t.form.email,callback:function(e){t.$set(t.form,"email",e)},expression:"form.email"}},"Input",t.inputAttributes("email","text",!0),!1))],1),t._v(" "),e("div",{staticClass:"column is-one-third"},[e("Input",t._b({directives:[{name:"validate",rawName:"v-validate",value:{regex:/^[\+\(\)0-9 -]{5,30}$/},expression:"{\n\t\t\t\t\t\t\t\tregex: /^[\\+\\(\\)0-9 -]{5,30}$/\n\t\t\t\t\t\t\t}"}],model:{value:t.form.phone,callback:function(e){t.$set(t.form,"phone",e)},expression:"form.phone"}},"Input",t.inputAttributes("phone","text"),!1))],1)]),t._v(" "),e("div",{staticClass:"columns"},[e("div",{staticClass:"column is-one-third"},[e("Select",t._b({attrs:{options:t.options.organisation_type},model:{value:t.form.organisation_type,callback:function(e){t.$set(t.form,"organisation_type",e)},expression:"form.organisation_type"}},"Select",t.inputAttributes("organisation_type","select"),!1))],1),t._v(" "),"Other"===t.form.organisation_type?e("div",{staticClass:"column is-one-third"},[e("Input",t._b({model:{value:t.form.organisation_other,callback:function(e){t.$set(t.form,"organisation_other",e)},expression:"form.organisation_other"}},"Input",t.inputAttributes("organisation_other"),!1))],1):t._e(),t._v(" "),e("div",{staticClass:"column"},[e("Input",t._b({model:{value:t.form.label,callback:function(e){t.$set(t.form,"label",e)},expression:"form.label"}},"Input",t.inputAttributes("label"),!1))],1)]),t._v(" "),e("Textarea",t._b({directives:[{name:"validate",rawName:"v-validate",value:t.commentsRules,expression:"commentsRules"}],attrs:{label:t.commentsLabel,"min-height":t.commentsMinHeight},model:{value:t.form.comments,callback:function(e){t.$set(t.form,"comments",e)},expression:"form.comments"}},"Textarea",t.inputAttributes("comments"),!1)),t._v(" "),e("div",{staticClass:"field"},[e("div",{staticClass:"control"},[e("label",{staticClass:"checkbox"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.form.newsletter,expression:"form.newsletter"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.form.newsletter)?t._i(t.form.newsletter,null)&gt;-1:t.form.newsletter},on:{change:function(e){var r=t.form.newsletter,o=e.target,n=!!o.checked;if(Array.isArray(r)){var c=t._i(r,null);o.checked?c&lt;0&amp;&amp;t.$set(t.form,"newsletter",r.concat([null])):c&gt;-1&amp;&amp;t.$set(t.form,"newsletter",r.slice(0,c).concat(r.slice(c+1)))}else t.$set(t.form,"newsletter",n)}}}),t._v("\n\t\t\t\t\t\t\tClick this box to sign up to our email newsletter and receive occasional updates, industry tips and special offers.\n\t\t\t\t\t\t")])])]),t._v(" "),e("Button",{attrs:{loading:t.loading,size:"medium"}},[t._v(t._s(t.action))])],1)])]):t._e()])}),[],!1,null,null,null),F={components:{Product:C,Options:L,Extras:Q,Details:H.exports,Button:y.a},mixins:[f.a],props:{section:{type:String,required:!0},role:{type:String,required:!0}},data:function(){return{resetting:!1,isLoading:!0}},fetch:function(){var t=this;return Object(l.a)(m.a.mark((function e(){var r,o,n,c,l;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("false"!==t.$route.query.reset){e.next=2;break}return e.abrupt("return");case 2:return e.prev=2,e.next=5,t.$axios.$get("quote/".concat(t.currentSection,"/type"));case 5:return r=e.sent,t.$store.commit("forms/quote/setRole",t.role),t.$store.commit("forms/quote/setType",t.currentSection),t.$store.commit("forms/quote/setCategoryOptions",r.data.categories),t.$store.commit("forms/quote/setSurcharge",r.data.surcharge),t.$store.commit("forms/quote/show","category"),o=r.data.categories[0].value,t.$store.commit("forms/quote/setCategory",o),e.next=15,t.$axios.$get("quote/".concat(t.currentSection,"/categories/").concat(o,"/products"));case 15:return n=e.sent,t.$store.commit("forms/quote/setProductOptions",n.data),t.$store.commit("forms/quote/show","product"),c=n.data[0].value,t.$store.commit("forms/quote/setProduct",c),e.next=22,t.$axios.$post("quote/".concat(t.currentSection,"/categories/").concat(o,"/products/").concat(c,"/currency/").concat(t.$store.state.settings.currency||"gbp","/all"),{key:t.$store.state.settings.optionKey||{}});case 22:l=e.sent,t.$store.commit("settings/setOptionKey",l.data.options.key,{root:!0}),t.$store.commit("forms/quote/setVariationOptions",l.data.options.variations),t.$store.commit("forms/quote/setQuantityOptions",l.data.options.quantities),t.$store.commit("forms/quote/setImages",l.data.options.images||[]),t.$store.commit("forms/quote/setExtraOptions",l.data.options.extras),t.$store.commit("forms/quote/setSpecifications",l.data.options.specifications),t.$store.commit("forms/quote/productComplete"),e.next=35;break;case 32:e.prev=32,e.t0=e.catch(2),console.error("Error in Form fetch:",e.t0);case 35:case"end":return e.stop()}}),e,null,[[2,32]])})))()},computed:{title:function(){return"quote"===this.$store.state.forms.quote.role?"Request a Quote":"Start Your Order"},currentSection:function(){var t=this.$route?this.$route.path.split("/"):[];return(t.length&gt;1?t[1]:"")||this.section}},mounted:function(){var t=this;this.$route&amp;&amp;this.$route.query.show&amp;&amp;this.$nextTick((function(){setTimeout((function(){t.scrollIntoView("#quote-options"),t.$store.commit("app/unblock")}),300)}))},methods:{reset:function(){var t=this;return Object(l.a)(m.a.mark((function e(){var section,r,o,n,c,l;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.resetting=!0,e.prev=1,t.$store.commit("forms/quote/reset",t.role),section=t.currentSection,e.next=6,t.$axios.$get("quote/".concat(section,"/type"));case 6:return r=e.sent,t.$store.commit("forms/quote/setRole",t.role),t.$store.commit("forms/quote/setType",section),t.$store.commit("forms/quote/setCategoryOptions",r.data.categories),t.$store.commit("forms/quote/setSurcharge",r.data.surcharge),t.$store.commit("forms/quote/show","category"),o=r.data.categories[0].value,t.$store.commit("forms/quote/setCategory",o),e.next=16,t.$axios.$get("quote/".concat(section,"/categories/").concat(o,"/products"));case 16:return n=e.sent,t.$store.commit("forms/quote/setProductOptions",n.data),t.$store.commit("forms/quote/show","product"),c=n.data[0].value,t.$store.commit("forms/quote/setProduct",c),e.next=23,t.$axios.$post("quote/".concat(section,"/categories/").concat(o,"/products/").concat(c,"/currency/").concat(t.$store.state.settings.currency||"gbp","/all"),{key:t.$store.state.settings.optionKey||{}});case 23:l=e.sent,t.$store.commit("settings/setOptionKey",l.data.options.key,{root:!0}),t.$store.commit("forms/quote/setVariationOptions",l.data.options.variations),t.$store.commit("forms/quote/setQuantityOptions",l.data.options.quantities),t.$store.commit("forms/quote/setImages",l.data.options.images||[]),t.$store.commit("forms/quote/setExtraOptions",l.data.options.extras),t.$store.commit("forms/quote/setSpecifications",l.data.options.specifications),t.$store.commit("forms/quote/productComplete"),e.next=36;break;case 33:e.prev=33,e.t0=e.catch(1),console.error("Error in Form reset:",e.t0);case 36:return e.prev=36,t.resetting=!1,e.finish(36);case 39:case"end":return e.stop()}}),e,null,[[1,33,36,39]])})))()}}},W=Object($.a)(F,(function(){var t=this,e=t._self._c;return e("div",[e("section",{staticClass:"section quote-form"},[e("div",{staticClass:"container"},[e("div",{staticClass:"box"},[e("div",{staticClass:"box-content"},[e("Product",{attrs:{role:t.role,resetting:t.resetting}}),t._v(" "),e("Options",{attrs:{section:t.section,resetting:t.resetting}})],1)]),t._v(" "),e("Extras"),t._v(" "),e("Details",{attrs:{section:t.section,resetting:t.resetting}})],1)])])}),[],!1,null,null,null);e.a=W.exports},527:function(t,e,r){"use strict";r(99);var o=r(2),n=Object(o.a)({},(function(){var t=this._self._c;return t("svg",{staticClass:"magnify-icon",attrs:{viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.44,13.73L14.71,14H15.5L20.5,19L19,20.5L14,15.5V14.71L13.73,14.44C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3M9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5Z"}})])}),[],!1,null,null,null).exports,c=r(456),l={components:{Magnify:n,LazyImage:c.a},props:{images:{type:Array,required:!0},active:{type:Number,required:!0}}},d=Object(o.a)(l,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"image-large"},[e("transition",{attrs:{duration:300,name:"product-image-large",mode:"in-out"}},[t._l(t.images,(function(image,r){return[r==t.active?e("div",{key:r,staticClass:"frame"},[e("LazyImage",{attrs:{image:image}})],1):t._e()]}))],2),t._v(" "),e("div",{staticClass:"shadow"},[e("Magnify")],1)],1)}),[],!1,null,null,null).exports,m={components:{LazyImage:c.a},props:{images:{type:Array,required:!0},active:{type:Number,required:!0},start:{type:Number,required:!0}},data:function(){return{current:this.start}},methods:{activate:function(t){var e=this.current;this.current=this.active,this.$emit("activated",e)}}},f={components:{ImageLarge:d,ImageThumb:Object(o.a)(m,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"image-thumb"},[t._l(t.images,(function(image,r){return[r==t.current?e("div",{key:r,staticClass:"frame"},[e("LazyImage",{attrs:{image:image}})],1):t._e()]})),t._v(" "),e("transition",{attrs:{duration:300,name:"product-image-thumb",mode:"out-in"}},[t._l(t.images,(function(image,r){return[r==t.current?e("div",{key:r,staticClass:"frame",on:{click:function(e){return t.activate(r)}}},[e("LazyImage",{attrs:{image:image}})],1):t._e()]}))],2)],2)}),[],!1,null,null,null).exports},props:{images:{type:Array,required:!0}},data:function(){return{active:0}},methods:{activate:function(t){this.active=t}}},h=Object(o.a)(f,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"product-gallery",class:{"single-image":t.images.length&lt;2}},[e("ImageLarge",{attrs:{images:t.images,active:t.active}}),t._v(" "),e("div",{staticClass:"image-thumbs"},t._l(t.images.length-1,(function(r){return e("ImageThumb",{key:r,attrs:{images:t.images,active:t.active,start:r},on:{activated:function(e){return t.activate(e)}}})})),1)],1)}),[],!1,null,null,null);e.a=h.exports},529:function(t,e,r){"use strict";var o=r(3),n=r(456),c=r(175),l=r(100),d={components:{LazyImage:n.a,ChevronLeft:c.a,ChevronRight:l.a},props:{images:{type:Array,required:!0}},data:function(){var t=this;return{active:0,initialized:!1,swiperOption:{on:{init:function(){t.initialized=!0},slideChange:function(){t.active=t.mySwiper.activeIndex}}}}},created:function(){var t=r(533);o.a.use(t)},methods:{slideTo:function(t){this.initialized&amp;&amp;this.mySwiper.slideTo(t)},slidePrev:function(){this.initialized&amp;&amp;this.mySwiper.slidePrev()},slideNext:function(){this.initialized&amp;&amp;this.mySwiper.slideNext()}}},m=r(2),component=Object(m.a)(d,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"product-gallery-mobile",class:{"has-multiple":t.images.length&gt;1}},[e("div",{directives:[{name:"swiper",rawName:"v-swiper:mySwiper",value:t.swiperOption,expression:"swiperOption",arg:"mySwiper"}]},[e("div",{staticClass:"swiper-wrapper"},t._l(t.images,(function(image,t){return e("div",{key:t,staticClass:"swiper-slide"},[e("LazyImage",{attrs:{image:image}})],1)})),0)]),t._v(" "),t.images.length&gt;1?e("div",{staticClass:"controls"},[e("div",{staticClass:"control-direction control-left",on:{click:function(e){return t.slidePrev()}}},[e("ChevronLeft")],1),t._v(" "),t._l(t.images.length,(function(r){return e("div",{key:r,staticClass:"control-frame",class:{active:t.active==r-1},on:{click:function(e){return t.slideTo(r-1)}}},[e("div")])})),t._v(" "),e("div",{staticClass:"control-direction control-right",on:{click:function(e){return t.slideNext()}}},[e("ChevronRight")],1)],2):t._e()])}),[],!1,null,null,null);e.a=component.exports},530:function(t,e,r){"use strict";var o={props:{value:{type:String,required:!0}},data:function(){return{inputValue:this.value}},computed:{internalValue:{get:function(){return this.inputValue},set:function(t){this.inputValue=t,this.$emit("input",this.inputValue)}},noneClasses:function(){return{active:"none"===this.inputValue}},ukClasses:function(){return{active:"uk"===this.inputValue}},euClasses:function(){return{active:"eu"===this.inputValue}}},watch:{value:function(t){this.inputValue=t}}},n=r(2),component=Object(n.a)(o,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"button-group"},[e("div",{staticClass:"btns"},[e("div",{staticClass:"btn",class:t.noneClasses,on:{click:function(e){t.internalValue="none"}}},[t._v("\n\t\t\tEx VAT\n\t\t")]),t._v(" "),e("div",{staticClass:"btn",class:t.ukClasses,on:{click:function(e){t.internalValue="uk"}}},[t._v("Inc VAT "),e("span",{staticClass:"star"},[t._v("*")])])])])}),[],!1,null,null,null);e.a=component.exports}}]);</pre></body></html>