import{t as s,x as r,N as n,W as f,_ as C,L as u,a3 as x,a4 as A,I as d,O as i,P as q,ad as M,z as D,a1 as F,Q as p,a2 as N,F as B,Y as Q,a5 as ie,q as $,Z as le}from"./vue.02ad7c87.js";import{cb as ae,_ as S,h as v,b_ as O,I as de,b8 as ue,c0 as E}from"./index.f2790301.js";import{V as L}from"./vue-scrollto.5429b5e5.js";import{f as ce}from"./faGraduationCap.759ab9e6.js";import{f as he}from"./faThumbsUp.63f20369.js";import me from"./PolicyViewer.3afae1ce.js";import{d as pe}from"./debounce.d927444c.js";import"./sentry.13e8e62e.js";import"./startCase.0949da17.js";var fe=ae();const _e={name:"ContactInformation",data(){return{email:null,address:null}},created(){this.getContactInformation()},methods:{getContactInformation(){this.axios.get(v("/omnis/v3/contact/get-contact-information/")).then(({data:o})=>{o&&o.address&&(this.address=o.address),o&&o.email&&(this.email=o.email)})}}},R=o=>(x("data-v-3f82ce34"),o=o(),A(),o),ge={key:0,class:"container"},ye={class:"row"},ve={class:"col-md-12"},be=R(()=>n("hr",{class:"mt-8 mb-8"},null,-1)),ke={class:"contact-information"},we={class:"address mb-2"},qe={key:0},Ce=C(" Website content created by "),Se=R(()=>n("span",{class:"smaller"}," Hosted by Teemill ",-1)),Ie={key:1},Te=C(". ");function xe(o,t,l,y,e,a){return e.address&&e.email?(s(),r("div",ge,[n("div",ye,[n("div",ve,[be,n("div",ke,[n("div",we,[o.$store.state.subdomain?(s(),r("span",qe,[Ce,n("b",null,f(o.$store.state.subdomain.company.name),1),Se])):(s(),r("span",Ie,[C(" Company Address | Teemill Tech Ltd. "+f(e.email)+" ",1),n("b",null,f(e.address.replace(/\n/g,", ")),1),Te]))])])])])])):u("",!0)}const G=S(_e,[["render",xe],["__scopeId","data-v-3f82ce34"]]);const Ae={name:"HelpAmendForm",data(){return{amendForm:0}},methods:{onSelect(o){this.amendForm=o,this.$emit("amend-order-value",this.amendForm)}}},W=o=>(x("data-v-53c4ef6f"),o=o(),A(),o),He=W(()=>n("p",null,"What would you like to change about your order?",-1)),Oe={key:0},Fe=W(()=>n("p",null,"We can make this happen, the best and fastest way to do this is by placing a new order.",-1)),Be=[Fe];function Ve(o,t,l,y,e,a){const h=d("tml-select"),m=d("tml-form");return s(),r("div",null,[He,i(m,{"form-name":"amendForm"},{default:q(()=>[i(h,{options:[{text:"Add",value:1},{text:"Remove",value:2}],"field-name":"amendOrder",onInput:a.onSelect},null,8,["onInput"])]),_:1}),e.amendForm===1?(s(),r("div",Oe,Be)):u("",!0)])}const Ne=S(Ae,[["render",Ve],["__scopeId","data-v-53c4ef6f"]]);const Qe={name:"HelpApprovalForm"},De=o=>(x("data-v-b0bda50b"),o=o(),A(),o),Ue=De(()=>n("p",null," Sorry, your product didn't meet our terms ",-1)),ze=C(" to view your products and find out why it was not approved. ");function Le(o,t,l,y,e,a){const h=d("tml-anchor");return s(),r("div",null,[Ue,n("p",null,[i(h,{text:"Click here",href:"/my-products/"}),ze])])}const Me=S(Qe,[["render",Le],["__scopeId","data-v-b0bda50b"]]);var z={},P;function Pe(){return P||(P=1,function(o){Object.defineProperty(o,"__esModule",{value:!0});var t="fal",l="thumbs-down",y=512,e=512,a=[128078,61576],h="f165",m="M128 280v-208C128 49.94 110.1 32 88 32h-48C17.94 32 0 49.94 0 72v208C0 302.1 17.94 320 40 320h48C110.1 320 128 302.1 128 280zM96 280C96 284.4 92.41 288 88 288h-48C35.59 288 32 284.4 32 280v-208C32 67.59 35.59 64 40 64h48C92.41 64 96 67.59 96 72V280zM477.9 235.7c2.469-6.672 3.75-13.77 3.75-20.98c0-22.97-12.75-43.42-32.06-53.94c1.141-4.672 1.734-9.469 1.734-14.27c0-22.06-11.78-41.94-30.33-52.8C421 59.84 393.4 32 359.5 32H303.9c-77.41 0-143.9 63.11-143.9 80.07c0 8.767 7.133 15.96 16 15.96C195.8 128 222.2 64 303.9 64h55.63c16.27 0 29.5 13.22 29.5 29.47c0 4.826-1.185 6.491-1.185 10.01c0 20.94 31.51 12.09 31.51 43.05c0 12.84-6.765 14.68-6.765 23.56c0 9.347 7.255 14.66 13.06 15.75c13.92 2.594 24.03 14.75 24.03 28.89c0 17.77-12.06 18.45-12.06 30.63c0 8.314 6.443 15.38 14.91 15.96C467.9 262.4 480 275.2 480 290.5C480 306.8 466.8 320 450.5 320h-128.3c-8.273 0-15.1 6.658-15.1 16.01c0 2.699 .68 5.398 2.046 7.83c17.73 31.53 26.62 65.39 26.62 75.48C334.9 431.2 325.6 448 304.9 448c-16.7 0-19.66-4.953-28.78-32.78c-21.79-66.41-36.14-69.47-88.81-122.5C184.2 289.6 180.1 288 176 288C167.4 288 160 294.9 160 303.1c0 23.25 57.94 36.53 85.73 121.2C254.2 450.9 263.6 480 304.9 480c38.77 0 62.01-30.84 62.01-60.67c0-13.84-6.844-40.27-18.83-67.33h102.5C484.4 352 512 324.4 512 290.5C512 266.8 498.2 245.8 477.9 235.7z";o.definition={prefix:t,iconName:l,icon:[y,e,a,h,m]},o.faThumbsDown=o.definition,o.prefix=t,o.iconName=l,o.width=y,o.height=e,o.ligatures=a,o.unicode=h,o.svgPathData=m,o.aliases=a}(z)),z}var $e=Pe();const Ee={name:"HelpTrackOrder",data(){return{order:null,email:null,zip:null,orderFound:!1,loading:!1}},methods:{onSubmitTracking(){this.loading||this.$refs.findOrderForm.validateAll().then(o=>{o&&(this.loading=!0,this.axios.post(v("/omnis/v3/contact/track-order/"),{order:this.orderId,email:this.email,zip:this.zip}).success(t=>{t&&("message"in t?snackbar.error(t.message):(this.order=t,this.orderFound=!0))}).validation().oops().finally(()=>{this.loading=!1}))})},emitNotArrived(){this.$emit("not-arrived",1)}}},H=o=>(x("data-v-25fbeffb"),o=o(),A(),o),Re={class:"mb-4"},Ge={key:0},We={key:0},Ze={key:0},Ye={key:0},je={style:{"font-weight":"bold"}},Je=H(()=>n("p",null,"The payment for this order has not yet been taken.",-1)),Ke={key:1},Xe={style:{"font-weight":"bold"}},eo=H(()=>n("p",null,"This order has been marked as paid and will be dispatched soon",-1)),oo={key:2},to={style:{"font-weight":"bold"}},so=H(()=>n("p",null," Your order is currently being processed and will be shipped shortly ",-1)),no={key:3},ro={key:0},io={style:{"font-weight":"bold"}},lo={key:1},ao={style:{"font-weight":"bold"}},uo={key:0},co=C(" Your order has been dispatched and is on its way to you. We expect it to arrive with you on "),ho=C(" at the latest. "),mo={key:0},po=C(" If it has still not arrived by "),fo=C(", please return to this form where we will update on the the next steps to track your order down. "),_o={key:1},go={key:0},yo=C(" You can track your order and see why it has not arrived by clicking "),vo=H(()=>n("p",null,' So we can resolve this for you please click the "still not arrived?" button below and fill in the contact form. ',-1)),bo=H(()=>n("p",null," Please include confirmation of the delivery address for the order, this is so we can rule out an incorrect delivery address as a reason why it may not have arrived. ",-1)),ko=H(()=>n("p",null," This will go directly to our senior customer support team who will look into and help solve this for you. ",-1)),wo=H(()=>n("p",null," One of our team will get back to you soon (Our office hours are Mon-Fri) ",-1)),qo={key:4},Co={style:{"font-weight":"bold"}};function So(o,t,l,y,e,a){const h=d("tml-input"),m=d("tml-re-captcha"),_=d("tml-button"),g=d("tml-form"),c=d("tml-anchor"),I=M("scroll-to");return s(),r("div",null,[n("div",Re,[!e.orderFound&&!o.submitted?(s(),r("p",Ge,"Enter your order ID, email address and zip / postcode.")):u("",!0)]),i(g,{ref:"findOrderForm","form-name":"find-order-form"},{default:q(()=>[o.submitted?u("",!0):(s(),r("div",We,[i(h,{modelValue:o.orderId,"onUpdate:modelValue":t[0]||(t[0]=b=>o.orderId=b),placeholder:"Order ID (e.g. 123123)",type:"text","field-name":"orderId","validation-rules":{required:!0,numeric:!0},onSubmit:a.onSubmitTracking},null,8,["modelValue","onSubmit"]),i(h,{modelValue:e.email,"onUpdate:modelValue":t[1]||(t[1]=b=>e.email=b),"validation-rules":{required:!0,email:!0},placeholder:"Email address","field-name":"emailAddress",type:"email",onSubmit:a.onSubmitTracking},null,8,["modelValue","onSubmit"]),i(h,{modelValue:e.zip,"onUpdate:modelValue":t[2]||(t[2]=b=>e.zip=b),"validation-rules":{required:!1},placeholder:"Postcode / zip",onSubmit:a.onSubmitTracking},null,8,["modelValue","onSubmit"]),i(m,{ref:"captcha",class:D({"mb-4":o.recaptchaMargin}),action:"subdomains/returns",onRendered:o.addMargin,onSubmit:a.onSubmitTracking},null,8,["class","onRendered","onSubmit"]),i(_,{fill:"",loading:e.loading,text:"Submit",onClick:a.onSubmitTracking},null,8,["loading","onClick"])]))]),_:1},512),e.orderFound?(s(),r("div",Ze,[e.order.status==="new"?(s(),r("div",Ye,[n("p",je," Order "+f(e.order.id)+" - Not Paid ",1),Je])):e.order.status==="paid"?(s(),r("div",Ke,[n("p",Xe," Order "+f(e.order.id)+" - Paid ",1),eo])):e.order.status==="processing"||e.order.status==="consolidated"||e.order.status==="printed"||e.order.status==="label_printed"||e.order.status==="packing"||e.order.status==="issue"?(s(),r("div",oo,[n("p",to," Order "+f(e.order.id)+" - Processing ",1),so])):e.order.status==="complete"||e.order.status==="exchanged"||e.order.status==="bespoke_shipped"?(s(),r("div",no,[e.order.shippingMethod.code==="store_collect"?(s(),r("div",ro,[n("p",io," Order "+f(e.order.id)+" - Ready For Collection ",1)])):(s(),r("div",lo,[n("p",ao," Order "+f(e.order.id)+" - Dispatched ",1),e.order.maxResendDaysDifference>0?(s(),r("div",uo,[n("p",null,[co,n("b",null,f(e.order.maxExpectedDeliveryDate),1),ho]),e.order.trackingUrl?(s(),r("p",mo,' You can track your order by clicking the "Track My Order" button below. ')):u("",!0),n("p",null,[po,n("b",null,f(e.order.maxExpectedDeliveryDatePlusOne),1),fo])])):e.order.maxResendDaysDifference<=0?(s(),r("div",_o,[n("p",null," Our records show that your order was shipped on "+f(e.order.dispatchDate)+". Our courier should definitely have delivered your order by now. ",1),e.order.trackingUrl?(s(),r("p",go,[yo,i(c,{text:"here",href:e.order.trackingUrl},null,8,["href"])])):u("",!0),vo,bo,ko,wo,F(i(_,{class:"mb-4",text:"Still not arrived?",onClick:a.emitNotArrived},null,8,["onClick"]),[[I,{el:"#contact-form",offset:-50}]])])):u("",!0),e.order.trackingUrl?(s(),p(_,{key:2,primary:"",text:"Track my order",target:"_blank",href:e.order.trackingUrl},null,8,["href"])):u("",!0)]))])):e.order.status==="refunded"?(s(),r("div",qo,[n("p",Co," Order "+f(e.order.id)+" - Refunded ",1)])):u("",!0)])):u("",!0)])}const Z=S(Ee,[["render",So],["__scopeId","data-v-25fbeffb"]]),Io={name:"HelpEditOrder",data(){return{zip:null,orderId:null,loading:!1,canReturn:null,submitted:!1,orderFound:null,confirmZip:!1,emailAddress:null,recaptchaMargin:!1,eligibilityMessage:""}},methods:{onSubmit(){this.$refs.findOrderForm.validateAll().then(o=>{o&&(this.loading=!0,this.axios.post(v("/omnis/v3/contact/return-order-eligibility/"),{orderId:this.orderId}).success(t=>{t&&(this.submitted=!0,this.canReturn=t.canReturn,this.confirmZip=t.confirmZip,this.orderFound=t.orderFound,this.eligibilityMessage=t.message)}).validation(t=>{t&&snackbar.error(t)}).oops().any(()=>{this.$refs.captcha&&this.$refs.captcha.recaptcha.reload()}).finally(()=>{this.loading=!1}))})},goToReturnsPage(){this.$refs.returnOrderForm.validateAll().then(o=>{o&&(this.loading=!0,this.$refs.captcha.recaptcha.ifHuman(t=>{this.axios.post(v(`/omnis/v3/frontend/retex/get-order-hash/${this.orderId}`),{zip:this.zip,emailAddress:this.emailAddress,v3captchaToken:t.v3Token,v2captchaToken:t.v2Token}).then(({data:l})=>{l.failure===!0?this.showErrorSnackBar(l.message):this.$router.push({path:`/returns/${l}/`}),this.loading=!1}).catch(({response:l})=>{l&&l.data&&l.data.message?this.showErrorSnackBar(l.data.message):this.showErrorSnackBar(),this.loading=!1})}).ifBot(()=>{this.loading=!1}))})},showErrorSnackBar(o){this.$dialogs.showSnackBar({type:"error",message:o||"Oops... looks like something went wrong. Please try again."})},addMargin(){this.recaptchaMargin=!0}}},To={class:"mb-4"},xo={key:0},Ao={key:1},Ho={key:0};function Oo(o,t,l,y,e,a){const h=d("tml-input"),m=d("tml-button"),_=d("tml-form"),g=d("tml-re-captcha");return s(),r("div",null,[n("div",To,[!e.orderFound&&!e.submitted?(s(),r("p",xo," We hope you love your order, but understand there may be times when you need to return items to us. Just enter your order ID to see if your order is eligible to be returned ")):e.submitted?(s(),r("p",Ao,f(e.eligibilityMessage),1)):u("",!0)]),i(_,{ref:"findOrderForm","form-name":"find-order-form"},{default:q(()=>[F(n("div",null,[i(h,{modelValue:e.orderId,"onUpdate:modelValue":t[0]||(t[0]=c=>e.orderId=c),placeholder:"Order ID (e.g. 123123)",type:"text","field-name":"orderId","validation-rules":{required:!0,numeric:!0},onSubmit:a.onSubmit},null,8,["modelValue","onSubmit"]),i(m,{fill:"",text:"Submit",loading:e.loading,onClick:a.onSubmit},null,8,["loading","onClick"])],512),[[N,!e.submitted]])]),_:1},512),i(_,{ref:"returnOrderForm","form-name":"return-order-form"},{default:q(()=>[e.submitted&&e.canReturn?(s(),r("div",Ho,[i(h,{modelValue:e.emailAddress,"onUpdate:modelValue":t[1]||(t[1]=c=>e.emailAddress=c),"validation-rules":{required:!0,email:!0},placeholder:"Email address","field-name":"emailAddress",type:"email"},null,8,["modelValue"]),e.confirmZip?(s(),p(h,{key:0,modelValue:e.zip,"onUpdate:modelValue":t[2]||(t[2]=c=>e.zip=c),"validation-rules":{required:!0},placeholder:"Postcode / zip"},null,8,["modelValue"])):u("",!0),i(g,{ref:"captcha",class:D({"mb-4":e.recaptchaMargin}),action:"subdomains/returns",onRendered:a.addMargin},null,8,["class","onRendered"]),i(m,{fill:"",loading:e.loading,text:"Confirm details",onClick:a.goToReturnsPage},null,8,["loading","onClick"])])):u("",!0)]),_:1},512)])}const Fo=S(Io,[["render",Oo]]),Bo={name:"HelpCancelOrder",data(){return{zip:null,orderId:null,loading:!1,orderFound:null,submitted:!1,cancelled:!1,confirmZip:!1,emailAddress:null,recaptchaMargin:!1,eligibilityMessage:""}},methods:{onSubmit(){this.$refs.findOrderForm.validateAll().then(o=>{o&&(this.loading=!0,this.axios.post(v("/omnis/v3/contact/cancel-order-eligibility/"),{orderId:this.orderId}).success(t=>{t&&(this.submitted=!0,this.orderFound=t.orderFound,this.confirmZip=t.confirmZip,this.canCancel=t.canCancel,this.eligibilityMessage=t.message)}).validation(t=>{t&&snackbar.error(t)}).oops().finally(()=>{this.loading=!1}))})},cancelOrder(){this.loading||this.$refs.captcha.recaptcha.ifHuman(o=>{this.loading=!0,this.axios.post(v(`/omnis/v3/frontend/retex/cancel-order/${this.orderId}`),{emailAddress:this.emailAddress,zip:this.zip,v3captchaToken:o.v3Token,v2captchaToken:o.v2Token}).then(({data:t})=>{t.failure===!0?this.showErrorSnackBar(t.message):this.cancelled=!0,this.loading=!1}).catch(({response:t})=>{t&&t.data&&t.data.message?this.showErrorSnackBar(t.data.message):this.showErrorSnackBar(),this.loading=!1}).finally(()=>{this.$refs.captcha&&this.$refs.captcha.recaptcha.reload()})}).ifBot(()=>{this.loading=!1})},showErrorSnackBar(o){this.$dialogs.showSnackBar({type:"error",message:o||"Oops... looks like something went wrong. Please try again."})}}},Vo=n("h5",null,"Cancel order",-1),No={class:"mb-4"},Qo={key:0},Do={key:1},Uo={key:2},zo={key:0},Lo={key:0};function Mo(o,t,l,y,e,a){const h=d("tml-input"),m=d("tml-button"),_=d("tml-form"),g=d("tml-re-captcha");return s(),r("div",null,[Vo,n("div",No,[!e.orderFound&&!e.submitted&&!e.cancelled?(s(),r("p",Qo," Enter your order ID to see if your order is eligible to be cancelled. ")):e.submitted&&!e.cancelled?(s(),r("p",Do,f(e.eligibilityMessage),1)):(s(),r("p",Uo," Your order has successfully been cancelled and your money should be back in your account within 5-10 days. "))]),i(_,{ref:"findOrderForm","form-name":"find-order-form"},{default:q(()=>[!e.submitted&&!e.cancelled?(s(),r("div",zo,[i(h,{modelValue:e.orderId,"onUpdate:modelValue":t[0]||(t[0]=c=>e.orderId=c),"validation-rules":{required:!0,numeric:!0},placeholder:"Order ID (e.g. 123123)","field-name":"orderId",type:"text",onSubmit:a.onSubmit},null,8,["modelValue","onSubmit"]),i(m,{fill:"",text:"Submit",loading:e.loading,onClick:a.onSubmit},null,8,["loading","onClick"])])):u("",!0)]),_:1},512),i(_,{ref:"cancelOrderForm","form-name":"cancel-order-form"},{default:q(()=>[e.submitted&&!e.cancelled&&o.canCancel?(s(),r("div",Lo,[i(h,{modelValue:e.emailAddress,"onUpdate:modelValue":t[1]||(t[1]=c=>e.emailAddress=c),"validation-rules":{required:!0,email:!0},placeholder:"Email address","field-name":"emailAddress",type:"email"},null,8,["modelValue"]),e.confirmZip?(s(),p(h,{key:0,modelValue:e.zip,"onUpdate:modelValue":t[2]||(t[2]=c=>e.zip=c),"validation-rules":{required:!0},placeholder:"Postcode / zip","field-name":"zip"},null,8,["modelValue"])):u("",!0),i(g,{ref:"captcha",class:D({"mb-4":e.recaptchaMargin}),action:"subdomains/order/cancel",onRendered:t[3]||(t[3]=c=>e.recaptchaMargin=!0)},null,8,["class"]),i(m,{fill:"",text:"Cancel order",loading:e.loading,onClick:a.cancelOrder},null,8,["loading","onClick"])])):u("",!0)]),_:1},512)])}const Po=S(Bo,[["render",Mo]]),$o={name:"HelpEditOrder",data(){return{zip:null,orderId:null,canEdit:null,loading:!1,orderFound:null,submitted:!1,confirmZip:!1,emailAddress:null,recaptchaMargin:!1,eligibilityMessage:""}},methods:{onSubmit(){this.$refs.findOrderForm.validateAll().then(o=>{o&&(this.loading=!0,this.axios.post(v("/omnis/v3/contact/edit-order-eligibility/"),{orderId:this.orderId}).success(t=>{t&&(this.submitted=!0,this.orderFound=t.orderFound,this.confirmZip=t.confirmZip,this.canEdit=t.canEdit,this.eligibilityMessage=t.message)}).validation(t=>{t&&snackbar.error(t)}).oops().any(()=>{this.$refs.captcha&&this.$refs.captcha.recaptcha.reload()}).finally(()=>{this.loading=!1}))})},editOrder(){this.$refs.editOrderForm.validateAll().then(o=>{o&&(this.loading=!0,this.$refs.captcha.recaptcha.ifHuman(t=>{this.axios.post(v(`/omnis/v3/frontend/retex/get-order-hash/${this.orderId}`),{zip:this.zip,emailAddress:this.emailAddress,v3captchaToken:t.v3Token,v2captchaToken:t.v2Token}).then(({data:l})=>{this.loading=!1,this.$router.push({path:`/edit-order/${l}/`})}).catch(({response:l})=>{l&&l.data&&l.data.message?this.showErrorSnackBar(l.data.message):this.showErrorSnackBar(),this.loading=!1})}).ifBot(()=>{this.loading=!1}))})},showErrorSnackBar(o){this.$dialogs.showSnackBar({type:"error",message:o||"Oops... looks like something went wrong. Please try again."})}}},Eo={class:"mb-4"},Ro={key:0},Go={key:1},Wo={key:0},Zo={key:0};function Yo(o,t,l,y,e,a){const h=d("tml-input"),m=d("tml-button"),_=d("tml-form"),g=d("tml-re-captcha");return s(),r("div",null,[n("div",Eo,[!e.orderFound&&!e.submitted?(s(),r("p",Ro," Enter your order ID to see if your order is eligible to be edited. ")):e.submitted?(s(),r("p",Go,f(e.eligibilityMessage),1)):u("",!0)]),i(_,{ref:"findOrderForm","form-name":"find-order-form"},{default:q(()=>[e.submitted?u("",!0):(s(),r("div",Wo,[i(h,{modelValue:e.orderId,"onUpdate:modelValue":t[0]||(t[0]=c=>e.orderId=c),"validation-rules":{required:!0,numeric:!0},placeholder:"Order ID (e.g. 123123)","field-name":"orderId",type:"text",onSubmit:a.onSubmit},null,8,["modelValue","onSubmit"]),i(m,{fill:"",text:"Submit",loading:e.loading,onClick:a.onSubmit},null,8,["loading","onClick"])]))]),_:1},512),i(_,{ref:"editOrderForm","form-name":"edit-order-form"},{default:q(()=>[e.submitted&&e.canEdit?(s(),r("div",Zo,[i(h,{modelValue:e.emailAddress,"onUpdate:modelValue":t[1]||(t[1]=c=>e.emailAddress=c),"validation-rules":{required:!0,email:!0},placeholder:"Email address","field-name":"emailAddress",type:"email"},null,8,["modelValue"]),e.confirmZip?(s(),p(h,{key:0,modelValue:e.zip,"onUpdate:modelValue":t[2]||(t[2]=c=>e.zip=c),"validation-rules":{required:!0},placeholder:"Postcode / zip","field-name":"zip"},null,8,["modelValue"])):u("",!0),i(g,{ref:"captcha",class:D({"mb-4":e.recaptchaMargin}),action:"subdomains/editOrder",onRendered:t[3]||(t[3]=c=>e.recaptchaMargin=!0)},null,8,["class"]),i(m,{fill:"",text:"Edit order",loading:e.loading,onClick:a.editOrder},null,8,["loading","onClick"])])):u("",!0)]),_:1},512)])}const jo=S($o,[["render",Yo]]);const Jo={name:"HelpQuestionList",components:{HelpTrackOrder:Z,HelpReturnOrder:Fo,HelpCancelOrder:Po,HelpEditOrder:jo},props:{questionList:[Object,Array],multiple:{type:Boolean,default:!1}},emits:["unhelpful"],data(){return{faThumbsUp:he.faThumbsUp,faThumbsDown:$e.faThumbsDown,question:null,loadingHelpful:!1,loadingUnhelpful:!1,open:!0}},methods:{onQuestionSelect(o){this.question=o,O.get(`faq-${this.question.id}-clicked`)||this.axios.post(v("/omnis/v3/contact/log-clicked/"),{question_id:this.question.id}),O.set(`faq-${this.question.id}-clicked`,!0,{expires:1})},onHelpful(o){this.loadingHelpful=!0,this.question=o,O.get(`faq-${this.question.id}-helpful`)?(this.$dialogs.showSnackBar({message:"You can only rate a question once.",type:"error"}),this.loadingHelpful=!1):this.axios.post(v("/omnis/v3/contact/log-helpful/"),{question_id:this.question.id}).then(({data:t})=>{this.loadingHelpful=!1,this.$dialogs.showSnackBar(t),O.set(`faq-${this.question.id}-helpful`,!0,{expires:1})}).catch(()=>{this.loadingHelpful=!1,this.$dialogs.showSnackBar({message:"Oops! Something went wrong, please try again later",type:"error"})})},onUnHelpful(o){this.loadingUnhelpful=!0,this.question=o,O.get(`faq-${this.question.id}-helpful`)?(this.$dialogs.showSnackBar({message:"You can only rate a question once.",type:"error"}),this.loadingUnhelpful=!1):(this.$emit("unhelpful",o),this.axios.post(v("/omnis/v3/contact/log-unhelpful/"),{question_id:this.question.id}).then(({data:t})=>{this.loadingUnhelpful=!1,this.$dialogs.showSnackBar(t),O.set(`faq-${this.question.id}-helpful`,!0,{expires:1})}).catch(()=>{this.loadingUnhelpful=!1,this.$dialogs.showSnackBar({message:"Oops! Something went wrong, please try again later",type:"error"})}))},onNotArrived(){this.$emit("not-arrived")}}},Y=o=>(x("data-v-f47a6d8f"),o=o(),A(),o),Ko={class:"help-question-list"},Xo=["innerHTML"],et=Y(()=>n("p",{class:"mb-4 mt-8 helpful"}," Did this answer your question? ",-1)),ot={class:"flex button-tray"},tt={class:"button-tray-item"},st={class:"button-tray-item"},nt=["innerHTML"],rt=Y(()=>n("p",{class:"mb-4 mt-8 helpful"}," Did this answer your question? ",-1)),it={class:"flex button-tray"},lt={class:"button-tray-item"},at={class:"button-tray-item"};function dt(o,t,l,y,e,a){const h=d("tml-contact-form"),m=d("help-track-order"),_=d("help-return-order"),g=d("help-edit-order"),c=d("help-cancel-order"),I=d("tml-button"),b=d("tml-expandable-container");return s(),r("div",Ko,[l.multiple?(s(!0),r(B,{key:0},Q(l.questionList,k=>(s(),p(b,{key:k.id,class:"question",title:k.question,onClick:V=>a.onQuestionSelect(k)},{default:q(()=>[k.question==="I'd like to report an Intellectual Property/Copyright Infringement"?(s(),p(h,{key:0})):u("",!0),k.question==="Where is my order?"?(s(),p(m,{key:1,onNotArrived:a.onNotArrived},null,8,["onNotArrived"])):k.question==="How do I return my order?"?(s(),p(_,{key:2})):k.question==="How do I edit my order?"?(s(),p(g,{key:3})):k.question==="How do I cancel my order?"?(s(),p(c,{key:4})):(s(),r("span",{key:5,class:"answer",innerHTML:k.answer},null,8,Xo)),et,n("div",ot,[n("div",tt,[i(I,{fill:"",icon:e.faThumbsUp,loading:e.loadingHelpful,onClick:V=>a.onHelpful(k)},null,8,["icon","loading","onClick"])]),n("div",st,[i(I,{fill:"",icon:e.faThumbsDown,loading:e.loadingUnhelpful,onClick:V=>a.onUnHelpful(k)},null,8,["icon","loading","onClick"])])])]),_:2},1032,["title","onClick"]))),128)):(s(),p(b,{key:1,style:{"padding-bottom":"10vh"},class:"question",title:l.questionList.question,"start-open":"",onClick:t[2]||(t[2]=k=>a.onQuestionSelect(l.questionList))},{default:q(()=>[l.questionList.question==="Where is my order?"?(s(),p(m,{key:0,onNotArrived:a.onNotArrived},null,8,["onNotArrived"])):l.questionList.question==="How do I return my order?"?(s(),p(_,{key:1})):l.questionList.question==="How do I cancel my order?"?(s(),p(c,{key:2})):l.questionList.question==="How do I edit my order?"?(s(),p(g,{key:3})):(s(),r("span",{key:4,class:"answer",innerHTML:l.questionList.answer},null,8,nt)),rt,n("div",it,[n("div",lt,[i(I,{fill:"",icon:e.faThumbsUp,loading:e.loadingHelpful,onClick:t[0]||(t[0]=k=>a.onHelpful(l.questionList))},null,8,["icon","loading"])]),n("div",at,[i(I,{fill:"",icon:e.faThumbsDown,loading:e.loadingUnhelpful,onClick:t[1]||(t[1]=k=>a.onUnHelpful(l.questionList))},null,8,["icon","loading"])])])]),_:1},8,["title"]))])}const ut=S(Jo,[["render",dt],["__scopeId","data-v-f47a6d8f"]]);const ct={name:"HelpWrongAmountForm",inject:["app"]},j=o=>(x("data-v-f3f88783"),o=o(),A(),o),ht=j(()=>n("p",null," Payments are made automatically and are calculated using our royalty rates. It also takes into account reductions from customers who have chosen to return unwanted goods for a refund. Payment rates for store operators can change as per our terms. ",-1)),mt=C(" to view your sales activity report "),pt=C(" to view our payment breakdown "),ft=j(()=>n("p",null," If you still feel you were paid too much or too little, please contact us using the form below. ",-1));function _t(o,t,l,y,e,a){const h=d("tml-anchor"),m=M("request-dashboard-permission");return s(),r("div",null,[ht,n("p",null,[F(i(h,{text:"Click here",href:o.hasDashboardPermission("view-royalties")?"/sales-activity/":"#"},null,8,["href"]),[[m,a.app.isTeemill?"view-royalties":null]]),mt]),n("p",null,[i(h,{text:"Click here",href:"/profit/"}),pt]),ft])}const gt=S(ct,[["render",_t],["__scopeId","data-v-f3f88783"]]);const yt={name:"HelpReturnOrderTracking",data(){return{returnOrders:null,returnFound:!1,loading:!1,complete:!1}},methods:{onSubmitReturn(){this.$refs.returnForm.validateAll().then(o=>{if(o){this.loading=!0;const t=this.$store.getters["forms/order-return-tracking-form/formData"];t&&this.axios.post(v("/omnis/v3/contact/find-return-order/"),{returnOrderId:t.returnOrderId?t.returnOrderId.value:null}).success(l=>{l&&("message"in l?snackbar.error(l.message):(this.returnOrders=l,this.returnFound=!0,this.complete=!0))}).validation(l=>{l&&snackbar.error(l)}).oops().finally(()=>{this.loading=!1})}})}}},J=o=>(x("data-v-97978696"),o=o(),A(),o),vt=J(()=>n("h5",null,"Please enter your order ID",-1)),bt={key:0},kt={key:0},wt=C(" We've received the original item. Your "),qt={key:0},Ct={key:1},St={key:2},It=C("was dispatched on "),Tt={key:3},xt={key:1},At=C(" We've received a returned "),Ht={key:0},Ot={key:1},Ft=C(" on "),Bt=J(()=>n("p",null," If the item you returned isn't listed above it either hasn't yet arrived at the factory or is waiting to be processed. ",-1));function Vt(o,t,l,y,e,a){const h=d("tml-input"),m=d("tml-button"),_=d("tml-form");return s(),r("div",null,[vt,i(_,{ref:"returnForm","form-name":"order-return-tracking-form"},{default:q(()=>[i(h,{placeholder:"Order ID (e.g. 123123)",type:"text","field-name":"returnOrderId","validation-rules":{required:!0,numeric:!0},onSubmit:a.onSubmitReturn},null,8,["onSubmit"]),e.complete?u("",!0):(s(),p(m,{key:0,text:"Find Order",fill:"",loading:e.loading,onClick:a.onSubmitReturn},null,8,["loading","onClick"]))]),_:1},512),e.returnFound?(s(),r("div",bt,[(s(!0),r(B,null,Q(e.returnOrders,g=>(s(),r("div",{key:g.id},[(s(!0),r(B,null,Q(g.items,(c,I)=>(s(),r("div",{key:I},[g.status==="exchanged"?(s(),r("div",kt,[n("p",null,[wt,c.options.Colour?(s(),r("span",qt,f(c.options.Colour),1)):u("",!0),c.options.Size?(s(),r("span",Ct,"size "+f(c.options.Size),1)):u("",!0),n("strong",null,f(c.productName),1),g.wasEverComplete?(s(),r("span",St,[It,n("strong",null,f(g.statusUpdateDatetime),1)])):(s(),r("span",Tt,"is currently being processed."))])])):(s(),r("div",xt,[n("p",null,[At,c.options.Colour?(s(),r("span",Ht,f(c.options.Colour),1)):u("",!0),c.options.Size&&c.options.Size!=="One Size"?(s(),r("span",Ot," size "+f(c.options.Size),1)):u("",!0),n("strong",null,f(c.productName),1),Ft,n("strong",null,f(g.statusUpdateDatetime),1)])]))]))),128))]))),128)),Bt])):u("",!0)])}const Nt=S(yt,[["render",Vt],["__scopeId","data-v-97978696"]]),Qt={name:"HelpCopyright",components:{PolicyViewer:me},data(){return{copyrightHolderToggle:!1,copyrightBehalfToggle:!1,submitLoading:!1,eula:""}},methods:{onlyOneSelection(o){o===1?this.copyrightBehalfToggle=!1:this.copyrightHolderToggle=!1},send(){this.submitLoading||this.$refs.copyrightForm.validateAll().then(o=>{if(o){const t=this.$store.getters["forms/copyright-form/formData"];this.submitLoading=!0,this.axios.post(v("/omnis/v3/contact/send-ip-contact/"),{firstName:t.firstName.value,surname:t.surname.value,phone:t.phone.value,email:t.email.value,address1:t.addr1.value,address2:t.addr2?t.addr2.value:null,claim:t.claim.value,location:t.location.value,proof:t.proof.value,process:t.process.value}).success(()=>{snackbar("Your copyright infringement claim has been sent")}).oops().finally(()=>{this.submitLoading=!1})}})}}},Dt=n("p",{class:"mb-4"}," To do so, please complete and provide us with the information requested here. ",-1);function Ut(o,t,l,y,e,a){const h=d("policy-viewer"),m=d("tml-input"),_=d("tml-textarea"),g=d("tml-toggle"),c=d("tml-button"),I=d("tml-form");return s(),r("div",null,[i(h,{"url-name":"ip-assistance",padding:!1,index:""}),Dt,i(I,{ref:"copyrightForm","form-name":"copyright-form"},{default:q(()=>[i(m,{"field-name":"firstName",type:"text",placeholder:"First name","validation-rules":{required:!0}}),i(m,{"field-name":"surname",type:"text",placeholder:"Surname","validation-rules":{required:!0}}),i(m,{"field-name":"email",type:"email",placeholder:"Email","validation-rules":{required:!0,email:!0}}),i(m,{"field-name":"phone",type:"tel",placeholder:"Phone Number","validation-rules":{required:!0,numeric:!0}}),i(m,{"field-name":"addr1",type:"text",placeholder:"Address Line 1","validation-rules":{required:!0}}),i(m,{"field-name":"addr2",type:"text",placeholder:"Address Line 2"}),i(_,{"field-name":"claim","placeholder-animation":"hide",placeholder:`
          Describe the copyrighted work and/or trademark and how you believe
          this to have been infringed. Please include as much information and
          detail as possible, including references to any documentation/trademarks/licenses
          that are relevant if appropriate
        `,"custom-style":{height:"300px"},"validation-rules":{required:!0}}),i(_,{"field-name":"location","placeholder-animation":"hide",placeholder:`
          Please describe where the claimed infringing content is located on the
          Site. URLS should be in the following form: www.teemill.co.uk/category/example
        `,"custom-style":{height:"300px"},"validation-rules":{required:!0}}),i(_,{"field-name":"proof","placeholder-animation":"hide",placeholder:`
          Describe to us any proof you have of your ownership of the IP at issue
        `,"custom-style":{height:"300px"},"validation-rules":{required:!0}}),i(_,{"field-name":"process","placeholder-animation":"hide",placeholder:`
          Explain the efforts you have made to reconcile your claim with the
          applicable Teemill Store Operator, including the names of the persons
          you have contacted and the outcome thus far of those discussions.
          Please note that if we elect to support you we will only be able to
          assist you in the work you are doing and only insofar as we consider
          our support to be useful and constructive. We are not in position to
          represent you or to independently work to resolve matters on your behalf.
        `,"custom-style":{height:"300px"},"validation-rules":{required:!0}}),i(g,{modelValue:e.copyrightHolderToggle,"onUpdate:modelValue":t[0]||(t[0]=b=>e.copyrightHolderToggle=b),label:"I am the copyright holder","field-name":"holder",onClick:t[1]||(t[1]=b=>a.onlyOneSelection(1))},null,8,["modelValue"]),i(g,{modelValue:e.copyrightBehalfToggle,"onUpdate:modelValue":t[2]||(t[2]=b=>e.copyrightBehalfToggle=b),label:"I am acting on behalf of the copyright holder","field-name":"behalf",onClick:t[3]||(t[3]=b=>a.onlyOneSelection(2))},null,8,["modelValue"]),i(c,{fill:"",style:{"margin-bottom":"15px"},text:"Send",primary:"",loading:e.submitLoading,onClick:a.send},null,8,["loading","onClick"])]),_:1},512)])}const zt=S(Qt,[["render",Ut]]);ie.use(L);const Lt={name:"HelpBrowser",components:{ContactInformation:G,HelpAmend:Ne,HelpApproval:Me,HelpWrongAmount:gt,HelpTrackOrder:Z,HelpReturnOrderTracking:Nt,HelpQuestionList:ut,HelpCopyright:zt},props:{faqCode:String,contactFormCode:String,isTeemill:{type:Boolean,default:!1},showTutorialsPod:{type:Boolean,default:!0}},emits:["unhelpful"],data(){return{faGraduationCap:ce.faGraduationCap,faMagnifyingGlass:fe.faMagnifyingGlass,urlQuestion:null,popularQuestions:[],questions:[],groupsQuestions:[],questionsLoaded:!1,question:{},questionSearch:"",searchableProperties:{question:3,tag:3,answer:1},allTerms:[],search:[],reasons:[],reasonsLoaded:!1,reasonForm:"",reasonCode:"",group:null,groups:[],groupsLoaded:!1,selected:null,submitLoading:!1,showTop5:!1,showTopic:!1,showContact:!1,showSearchButton:!1,showGroupSearchButton:!1,showTop5Button:!1,showSearch:!1,showGroupedQuestions:!1,showNone:!1,showGroupNone:!1,limit:10}},computed:{filteredSearch(){return this.search?this.search.slice(0,this.limit):null},shouldUpdateGroup(){return this.$route.params.groupCode&&this.groupsLoaded&&this.questionsLoaded}},watch:{questionsLoaded(){this.attemptSearch()},reasonsLoaded(){this.$route.params.reasonName&&this.setReasonFromRoute()},shouldUpdateGroup(o){o&&this.searchByGroup(this.$route.params.groupCode)},$route(){this.attemptSearch()},"$route.params":{handler(o){this.showTopic=!1,this.showContent=!1,this.selected=null,this.urlQuestion=null,this.showGroupedQuestions=!1,this.showSearch=!1,this.questionSearch="",this.showTop5=!1,o.questionName&&this.questionsLoaded&&this.setQuestionFromRoute(),o.reasonName&&this.reasonsLoaded&&this.setReasonFromRoute()}}},created(){this.setMetaData(),this.getQuestions(),this.getGroups(),this.getPopularQuestions(),this.getContactReasons()},methods:{maxDevice:de,getQuestions(){this.axios.get(v("/omnis/v3/contact/get-faqs/"),{params:{faq_code:this.faqCode}}).success(o=>{this.questions=o,(this.faqCode==="teemill"||this.faqCode==="customer")&&this.questions.push({question:"How do I cancel my order?",url:"how-do-i-cancel-my-order"}),this.faqCode==="customer"&&this.questions.push({question:"Where is my order?",url:"where-is-my-order"},{question:"How do I return my order?",url:"how-do-i-return-my-order"},{question:"How do I edit my order?",url:"how-do-i-edit-my-order"},{question:"How do I cancel my order?",url:"how-do-i-cancel-my-order"},{question:"I'd like to report an Intellectual Property/Copyright Infringement",url:"id-like-to-report-an-intellectual-property-copyright-infringement"}),this.setQuestionFromRoute(),this.questionsLoaded=!0}).oops()},getGroups(){this.axios.get(v("/omnis/v3/contact/get-groups/"),{params:{faq_code:this.faqCode}}).then(({data:o})=>{this.groups=Object.values(o).sort((t,l)=>t.order-l.order),this.groupsLoaded=!0})},getPopularQuestions(){this.axios.get(v("/omnis/v3/contact/popular-faqs/"),{params:{faq_code:this.faqCode}}).then(({data:o})=>{this.popularQuestions=o})},getContactReasons(){this.axios.get(v("/omnis/v3/contact/reason/"),{params:{form_code:this.contactFormCode}}).then(({data:o})=>{o.forEach(t=>{this.reasons.push({text:t.reason,value:t.id,code:t.code})}),this.reasonsLoaded=!0})},onSearchButtonClick(){this.showTop5=!0,this.showSearchButton=!1,this.showGroupSearchButton=!1,this.showTop5Button=!0},onGroupSearchButtonClick(){this.showTop5=!0,this.showSearchButton=!1,this.showGroupSearchButton=!1,this.showTop5Button=!0},searchByGroup(o){const t=this.groups.find(l=>l.code===o);if(!t){this.searchingByGroup=!1;return}this.showGroupedQuestions=!0,this.groupsQuestions=[],this.group=t.name,Object.keys(this.questions).forEach(l=>{this.questions[l].group_id===t.id&&this.groupsQuestions.push(this.questions[l])}),this.groupsQuestions&&this.groupsQuestions[0]&&(this.groupsQuestions[0].group_id===1&&this.faqCode==="customer"&&(this.groupsQuestions.unshift({question:"How do I cancel my order?"}),this.groupsQuestions.unshift({question:"How do I edit my order?"}),this.groupsQuestions.unshift({question:"How do I return my order?"}),this.groupsQuestions.unshift({question:"Where is my order?"})),this.groupsQuestions[0].group_id===4&&this.faqCode==="customer"&&this.groupsQuestions.unshift({question:"How do I return my order?"}),this.groupsQuestions[0].group_id===11&&this.groupsQuestions.unshift({question:"I'd like to report an Intellectual Property/Copyright Infringement"})),this.showGroupSearchButton=!0,this.showTop5=!1,this.showTopic=!1,this.showContact=!1,setTimeout(()=>{L.scrollTo("#search",{offset:-40})},0)},onNotArrived(){this.showContact=!0},onSearchInput(o){pe(this.callSearch(o),300)},callSearch(o){new ue(this.questions,this.searchableProperties).query(o).then(l=>{this.search=l,this.showSearch=!0,this.showSearchButton=!0,this.showTop5=!1,this.showTopic=!1,this.showContact=!1,o===""&&(this.showSearchButton=!1,this.search=""),this.timer&&(clearTimeout(this.timer),this.timer=null),this.timer=setTimeout(()=>{this.allTerms.push(o)},750),this.allTerms=this.allTerms.filter(y=>y!==null&&y.length>=3),this.search.length===0&&o!==""?this.showNone=!0:this.showNone=!1})},onReason(o){this.reasonCode=o==null?void 0:o.code,this.reasonCode==="report_offensive_product"||this.reasonCode==="paid_wrong_amount"||this.reasonCode==="report_bug"||this.reasonCode==="feedback"||this.reasonCode==="something_else"||this.reasonCode==="press_enquiry"?this.showContact=!0:this.showContact=!1},amendOrderValue(o){o===2&&(this.showContact=!0)},attemptSearch(){this.$route.query.search&&(this.questionSearch=this.$route.query.search,this.callSearch(this.questionSearch))},escapeQuotes(o){return o.replace(/"/g,'\\"')},setMetaData(){E($(()=>{if(this.questions.length===0)return{};const l=`[${this.questions.filter(y=>y.answer).map(y=>`{
      "@type": "Question",
      "name": "${y.question}",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "${this.escapeQuotes(y.answer)}"
      }
    }`).join(",")}]`;return{script:[{type:"application/ld+json",children:`
            {
              "@context": "http://schema.org/",
              "@type": "FAQPage",
              "mainEntity": ${l}
            }
          `}]}}))},setQuestionFromRoute(){Object.keys(this.questions).forEach(o=>{this.questions[o].url===this.$route.params.questionName&&(this.urlQuestion=this.questions[o])})},setReasonFromRoute(){this.showTopic=!0,this.$route.params.reasonName==="report"?this.selected={selected:!0,text:"I'd like to report an Intellectual Property / Copyright Infringement",code:"teemill_frontend_copyright",value:20}:this.selected=this.reasons.find(o=>o.code===this.$route.params.reasonName.replace(/-/g,"_")),setTimeout(()=>{L.scrollTo("#topic")},100)}}},T=o=>(x("data-v-19c28766"),o=o(),A(),o),Mt={key:0,class:"row"},Pt={class:"col-12"},$t={class:"row"},Et={class:"col-12"},Rt={key:1},Gt={key:0},Wt=T(()=>n("h4",{class:"md-2"},"Sorry, no questions found",-1)),Zt=[Wt],Yt=T(()=>n("div",{id:"search"},null,-1)),jt={key:3,class:"mt-12"},Jt={key:4},Kt=T(()=>n("h4",{class:"md-2"},"Sorry, no questions found",-1)),Xt=[Kt],es=T(()=>n("div",{id:"top5"},null,-1)),os={key:5},ts=T(()=>n("h3",{class:"mt-12"},"Top 5 FAQs",-1)),ss=T(()=>n("div",{class:"spaced"},null,-1)),ns={class:"col-md-6"},rs=T(()=>n("div",{id:"topic"},null,-1)),is={key:0},ls=T(()=>n("h3",{class:"md-2 spaced"},"Could you tell us a bit more?",-1)),as={class:"md-2"},ds=T(()=>n("div",{id:"contact-form"},null,-1));function us(o,t,l,y,e,a){const h=d("help-question-list"),m=d("tml-input"),_=d("tml-form"),g=d("tml-button"),c=d("tml-new-pod"),I=d("tml-grid"),b=d("tml-new-select"),k=d("tml-new-form"),V=d("help-amend"),K=d("help-approval"),X=d("help-wrong-amount"),ee=d("help-track-order"),oe=d("help-return-order-tracking"),te=d("help-copyright"),se=d("tml-contact-form"),ne=d("contact-information"),U=M("scroll-to");return s(),r(B,null,[n("div",null,[l.isTeemill?u("",!0):(s(),r("div",Mt,[n("div",Pt,[(s(),p(le(a.maxDevice("md")?"h4":"h1"),null,{default:q(()=>[n("b",null,f(o.$route.meta.title),1)]),_:1}))])])),n("div",$t,[n("div",Et,[e.urlQuestion?(s(),p(h,{key:0,"question-list":e.urlQuestion,onNotArrived:a.onNotArrived,onUnhelpful:t[0]||(t[0]=w=>o.$emit("unhelpful",w))},null,8,["question-list","onNotArrived"])):u("",!0),i(_,{"form-name":"search-form",class:"pb-4"},{default:q(()=>[i(m,{modelValue:e.questionSearch,"onUpdate:modelValue":t[1]||(t[1]=w=>e.questionSearch=w),class:"mb-0",icon:e.faMagnifyingGlass,placeholder:"Search FAQs","field-name":"search-input",onInput:a.callSearch},null,8,["modelValue","icon","onInput"])]),_:1}),e.showSearch?(s(),r("div",Rt,[i(h,{"question-list":a.filteredSearch,multiple:"",onNotArrived:a.onNotArrived,onUnhelpful:t[2]||(t[2]=w=>o.$emit("unhelpful",w))},null,8,["question-list","onNotArrived"]),e.showNone?(s(),r("div",Gt,Zt)):u("",!0),F(i(g,{class:"md-2 mb-8 spaced",text:"Can't find what you are looking for?",onClick:a.onSearchButtonClick},null,8,["onClick"]),[[N,e.showSearchButton],[U,{el:"#top5",offset:-80}]])])):u("",!0),e.groups?(s(),p(I,{key:2,breakpoints:{md:3,lg:6}},{default:q(()=>[(s(!0),r(B,null,Q(e.groups,(w,re)=>(s(),p(c,{key:re,title:w.name,icon:w.data,"horizontal-alignment":"center","icon-size":2,onClick:_s=>a.searchByGroup(w.code)},null,8,["title","icon","onClick"]))),128)),l.isTeemill&&l.showTutorialsPod?(s(),p(c,{key:0,title:"Tutorials",icon:e.faGraduationCap,"horizontal-alignment":"center",href:"/academy/","icon-size":2},null,8,["icon"])):u("",!0)]),_:1})):u("",!0),Yt,e.showGroupedQuestions?(s(),r("div",jt,[n("h3",null,"Questions about "+f(e.group),1),i(h,{"question-list":e.groupsQuestions,multiple:"",onNotArrived:a.onNotArrived,onUnhelpful:t[3]||(t[3]=w=>o.$emit("unhelpful",w))},null,8,["question-list","onNotArrived"])])):u("",!0),e.showGroupNone?(s(),r("div",Jt,Xt)):u("",!0),F(i(g,{class:"md-2 spaced",text:"Can't find what you are looking for?",onClick:a.onGroupSearchButtonClick},null,8,["onClick"]),[[N,e.showGroupSearchButton],[U,{el:"#top5",offset:-50}]]),es,e.showTop5?(s(),r("div",os,[ts,i(h,{"question-list":e.popularQuestions,multiple:"",onNotArrived:a.onNotArrived,onUnhelpful:t[4]||(t[4]=w=>o.$emit("unhelpful",w))},null,8,["question-list","onNotArrived"]),ss,F(i(g,{class:"md-2",text:"Still can't find what you are looking for?",onClick:t[5]||(t[5]=w=>(e.showTopic=!0,e.showTop5Button=!1))},null,512),[[N,e.showTop5Button],[U,{el:"#topic"}]])])):u("",!0)]),n("div",ns,[rs,e.showTopic?(s(),r("div",is,[i(k,{name:"topic-form"},{default:q(()=>[ls,i(b,{modelValue:e.selected,"onUpdate:modelValue":t[6]||(t[6]=w=>e.selected=w),class:"md-2",name:"formSelect",options:e.reasons,clearable:"","none-selected":"No topic selected",label:"Topic","max-height":"190",onInput:a.onReason},null,8,["modelValue","options","onInput"])]),_:1}),n("div",as,[e.reasonCode==="can_i_amend_my_order"?(s(),p(V,{key:0,onAmendOrderValue:a.amendOrderValue},null,8,["onAmendOrderValue"])):u("",!0),e.reasonCode==="product_not_approved"?(s(),p(K,{key:1})):u("",!0),e.reasonCode==="paid_wrong_amount"?(s(),p(X,{key:2})):u("",!0),e.reasonCode==="where_is_my_order"?(s(),p(ee,{key:3,onNotArrived:a.onNotArrived},null,8,["onNotArrived"])):u("",!0),e.reasonCode==="have_you_received_my_return"?(s(),p(oe,{key:4})):u("",!0),e.reasonCode==="teemill_frontend_copyright"?(s(),p(te,{key:5})):u("",!0)])])):u("",!0),ds,e.showContact?(s(),p(se,{key:1,"search-terms":e.allTerms,reason:e.selected},null,8,["search-terms","reason"])):u("",!0)])])]),e.groupsLoaded?(s(),p(ne,{key:0})):u("",!0)],64)}const cs=S(Lt,[["render",us],["__scopeId","data-v-19c28766"]]);const hs={name:"HelpPage",components:{HelpBrowser:cs,ContactInformation:G},created(){E($(()=>({title:this.$store.state.title})))}},ms={class:"search-form pt-4 lg:pt-8"},ps={class:"content"};function fs(o,t,l,y,e,a){const h=d("help-browser");return s(),r("div",ms,[n("div",ps,[o.$store.state.subdomain.company.division_code==="tshirt_printing_uk"?(s(),p(h,{key:0,"faq-code":"screenprint","contact-form-code":"contact_uktsp"})):(s(),p(h,{key:1,"faq-code":"customer","contact-form-code":"contact_teemill_b2c"}))])])}const Is=S(hs,[["render",fs],["__scopeId","data-v-aed0c55c"]]);export{Is as default};
//# sourceMappingURL=HelpPage.2c5f27a4.js.map
