PageSourceSearch

https://iheat.co.uk/web/assets/Index-e57853a2.js

js iheat.co.uk collected 2026-09-24 12:32:04 UTC 5,053 bytes, 1 lines download raw bytes

1import{L as _}from"./LoadingJourney-f715c2d0.js";import{u as x,m as g}from"./vuex-acdfc790.js";import{b as y}from"./vue-router-42226a4c.js";import{a as v}from"./vee-validate-7754014b.js";import{S as b,D as l}from"./meta-70e4432a.js";import{M as w}from"./Footer-98206cc5.js";import{C as k}from"./Details-d17b5bb0.js";import{C as D}from"./journey-faqs-ec7cf920.js";import{s as S}from"./scroll-to-45e05b7c.js";import{u as N}from"./@unhead-9e3f7909.js";import{k as C,M as s,C as o,E as a,N as i,D as r,F as e,G as m,Q as j,K as H,Y}from"./@vue-5319c5cc.js";import{_ as $}from"./main-cfca9c5a.js";import"./Help-b21cf41c.js";import"./yup-4b41f893.js";import"./nanoclone-8dc95fbc.js";import"./lodash-c9533085.js";import"./click-outside-vue3-c4fa2243.js";import"./property-expr-38205fa5.js";import"./toposort-47e1d23b.js";import"./yup-phone-lite-113193ff.js";import"./libphonenumber-js-0deec75d.js";import"./moment-fbc5633a.js";import"./UsefulInfo-6e46ea0b.js";import"./orders-c1c7c3ed.js";import"./JourneyFaqList-1ab9b18f.js";import"./FaqAnswer-464b8bb6.js";import"./unhead-61a90b96.js";import"./hookable-e7fd869b.js";import"./axios-a342f982.js";import"./sweetalert2-83f7d833.js";import"./lodash.clonedeep-e678ee7f.js";import"./@vueuse-9afea8b7.js";/* empty css             */import"./@sentry-757d3dd0.js";const B=C({components:{LoadingJourney:_,ContinueButton:D,CustomerDetails:k,Form:v,MainFooter:w,SimpleHeader:b},setup(){const t=x(),n=y();return N({title:"Your details - iHeat",meta:[{name:"description",content:""},{property:"og:title",content:"Your details - iHeat"},{property:"og:description",content:""},...l.facebook,{name:"twitter:title",content:"Your details - iHeat"},{name:"twitter:description",content:""},...l.twitter]}),{store:t,route:n}},data(){return{loadError:!1}},computed:{...g("customerDetails",["loading","needsDetails","saved","steps","step","firstName"]),detailsStep(){return this.steps[0]}},async mounted(){try{await this.store.dispatch("customerDetails/show",this.route.params.quote_id)}catch{this.loadError=!0}},methods:{async saveDetails(){await this.store.dispatch("customerDetails/changeStep",{step:1,quoteId:this.route.params.quote_id})},scrollTo({errors:t}){S.checkoutDetails(t)}}}),E={key:1,class:"bg-light-gray p-4 pb-14"},F=e("div",{class:"container mx-auto text-primary sm:p-8 mt-6 sm:mt-10"},[e("div",{class:"max-w-3xl mx-auto bg-white rounded-3xl px-6 py-12 text-center"},[e("p",{class:"text-gray-700"},"This page could not be loaded.")])],-1),I=[F],T={key:2,class:"bg-light-gray p-4 pb-14"},q=Y('<div class="container mx-auto text-primary sm:p-8 mt-6 sm:mt-10"><div class="max-w-3xl mx-auto bg-white rounded-3xl px-6 py-12"><div class="w-16 h-16 rounded-full bg-green-100 flex items-center justify-center"><i class="fa fa-check text-2xl text-green-600"></i></div><h1 class="text-2xl font-semibold mt-5 md:text-3xl">Your details are saved</h1><p class="text-gray-600 mt-2">We already have your install address on file. We will continue finding an engineer for your order.</p></div></div>',1),M=[q],V={key:3,class:"bg-light-gray p-4 pb-14"},L={class:"container mx-auto text-primary sm:p-8 mt-6 sm:mt-10"},W={class:"max-w-3xl mx-auto bg-white rounded-3xl px-6 py-12"},G=e("div",{class:"w-16 h-16 rounded-full bg-green-100 flex items-center justify-center"},[e("i",{class:"fa fa-check text-2xl text-green-600"})],-1),z=e("h1",{class:"text-2xl font-semibold mt-5 md:text-3xl"},"Details saved",-1),J={class:"text-gray-600 mt-2"},K={class:"block w-full fixed bottom-0 right-0 left-0 px-2 py-3 shadow-2xl z-50 bg-white bg-opacity-90 xl:hidden"},P={class:"flex justify-center items-center"},Q={class:"container mx-auto flex justify-start px-4 mt-6 sm:mt-10"},R={class:"w-full overflow-hidden"},A=e("h1",{class:"text-2xl font-semibold mb-2 text-primary md:text-3xl"},"Your details",-1),O={class:"text-gray-700 mb-6"};function U(t,n,X,Z,tt,et){const d=s("simple-header"),c=s("loading-journey"),p=s("continue-button"),u=s("customer-details"),h=s("Form"),f=s("main-footer");return o(),a("div",null,[i(d,{withProgress:!1}),t.loading?(o(),r(c,{key:0,stage:"general",label:"Loading your details"})):t.loadError?(o(),a("div",E,I)):!t.needsDetails&&!t.saved?(o(),a("div",T,M)):t.saved?(o(),a("div",V,[e("div",L,[e("div",W,[G,z,e("p",J,"Thanks"+m(t.firstName?` ${t.firstName}`:"")+". We have your install address and will continue finding an engineer for your order.",1)])])])):(o(),r(h,{key:4,class:"container mx-auto min-h-screen pb-6 relative","validation-schema":t.detailsStep.schema,onInvalidSubmit:t.scrollTo,onSubmit:t.saveDetails},{default:j(()=>[e("div",K,[e("div",P,[i(p,{class:"block",step:t.detailsStep,"store-name":"customerDetails"},null,8,["step"])])]),e("div",Q,[e("div",R,[A,e("p",O,"Hi"+m(t.firstName?` ${t.firstName}`:"")+", before we can request engineers for your order we need your full install address.",1),i(u,{class:"mt-2","store-name":"customerDetails"})])])]),_:1},8,["validation-schema","onInvalidSubmit","onSubmit"])),t.loading?H("",!0):(o(),r(f,{key:5}))])}const Tt=$(B,[["render",U]]);export{Tt as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.