PageSourceSearch

https://heymondo.it/_nuxt/BhvwvV1c.js

js heymondo.it collected 2026-09-25 23:58:51 UTC 7,804 bytes, 1 lines download raw bytes

1import{d as Z}from"./DYlE3VTY.js";import{_ as ee,a as te}from"./BJkLTQAJ.js";import{b as ae,a as le}from"./C65mkbUT.js";import{b as oe,m as i,a5 as ne,ag as se,aH as S,f as ie,i as re,ay as pe,c as ue,g as de}from"./BgV8POL3.js";import{_ as me}from"./COU374w6.js";import{_ as ce}from"./BgbIN0zd.js";import{d as fe,ad as _e,g as ve,e as be,o as p,j as f,B as s,O as e,F as A,k as o,E as L,P as u,y as b,q as _,c as ge,A as M,L as D,w as g,J as E,N as ye,h as y}from"./os5iY7Px.js";import{h as B,b as he}from"./DZ2pOKU3.js";import{T as I}from"./ClaJGP3A.js";import{u as xe}from"./CTB4w-a8.js";import{u as we}from"./CLIGmDCt.js";import"./BxBxJNCV.js";import"./DGULL8hu.js";import"./V1prML7D.js";import"./o7dP-tYH.js";import"./Cf6AsDUc.js";import"./BfGKakbq.js";import"./DnKCUSWV.js";import"./Cl4apfkV.js";const ke={key:0,class:"wrapper mx-auto lg:container xl:px-0 2xl:max-w-screen-2xl","data-testid":"wrp-step3Container"},Te={class:"py-10"},Ce={class:"p-float-label self-start"},Ve={id:"label-travelers",for:"travelers"},Fe={key:0,class:"p-float-label self-start","data-testid":"cnt-step3BookingCost"},Se={id:"label-booked",for:"booked"},Ae={class:"mx-auto max-w-3xl"},Le={key:0,class:"-mt-2 flex items-center"},Me={class:"ml-4 flex items-center"},De={for:"family",class:"mb-0 cursor-pointer"},Ee=["aria-label"],Be={key:0,class:"mx-auto mt-12 flex max-w-3xl justify-center","data-testid":"cnt-step3Acceptance"},Ie=["innerHTML"],Ue=["innerHTML"],$e={class:"mt-10 flex justify-center gap-5","data-testid":"cnt-step3Actions"},ot=fe({__name:"step3",setup(He){const U=oe(),{isReady:$,showLoader:H}=xe(()=>!i().getterStep2Complete,"funnelStep0"),h=y(!1),r=y(!1),x=y(!1),w=y(!1),d=y(null),{bookedCostMax:P,maxPaxNumber:R}=we(i()),{stateContent:a,stateTravelers:v,stateFamilyTravel:k,stateEmailTraveler:m,stateBookingCost:T,stateQuoteDate:G,getterInsuranceTypeData:c}=_e(i()),N=ne().resolve({name:"funnelStep2"})?.fullPath,C=()=>{let n=!0;const t=/^[^\s@]+@[^\s@]+\.[^\s@]+$/;return i().stateContent?.funnel?.step3EmailShow&&((m.value.length>0&&!m.value.match(t)||m.value.length==0)&&(n=!1),c.value?.showInsuredAmount&&T.value===void 0&&(n=!1),h.value||(n=!1)),n},O=()=>{x.value=!1,d.value&&d.value.hide()};ve(k,n=>{x.value=n,d.value&&(n?d.value.show():d.value.hide())});function Q(){const n=i().actionGetQuote();G.value=de().format("YYYY-MM-DD"),n.then(t=>{w.value=!0})}se({title:i().stateContent?.funnel?.step3_pageTitle,meta:[{name:"description",content:i().stateContent?.funnel?.step3_description},{name:"robots",content:i().stateContent?.funnel?.step3_robots}]});const j=()=>{const n={event:"select_travellers",travellers:v.value};S(n)};return be(async()=>{S({event:"hm_page_view"})}),(n,t)=>{const z=Z,Y=ee,K=te,q=le,V=re,J=ae,F=ue,W=me,X=ce;return p(),f(A,null,[s(z,{show:e(H),"data-testid":"ldr-step3Loader"},null,8,["show"]),e($)?(p(),f(A,{key:0},[t[11]||(t[11]=o("div",{class:"bg-hm-SoftGrey -mt-2 py-6"},null,-1)),e(a)?(p(),f("div",ke,[s(Y,{"current-step":3,"data-step":e(a)?.funnel?.generalStepsTracker,"data-testid":"stp-stepTrackerFunnel"},null,8,["data-step"]),o("div",Te,[s(K,{step:3,title:e(a)?.funnel?.step3Header,subtitle:e(a)?.funnel?.step3Subtitle},null,8,["title","subtitle"]),o("div",{class:L(["mx-auto flex max-w-3xl",e(c)?.showInsuredAmount?"gap-4":"gap-14",e(i)().stateContent?.funnel?.step3EmailShow?"":"place-content-center"]),"data-testid":"cnt-step3Form"},[o("div",Ce,[s(e(B),{modelValue:e(v),"onUpdate:modelValue":t[0]||(t[0]=l=>u(v)?v.value=l:null),options:e(R),class:"custom-dropdown w-40","panel-class":"custom-panel","input-id":"travelers","aria-labelledby":"label-travelers","data-testid":"drp-step3Travelers"},null,8,["modelValue","options"]),o("label",Ve,b(e(a)?.funnel?.step3TravelersSelect),1)]),e(c)?.showInsuredAmount?(p(),f("div",Fe,[s(e(B),{ref:"bookingCost",modelValue:e(T),"onUpdate:modelValue":t[1]||(t[1]=l=>u(T)?T.value=l:null),options:e(P),class:"custom-dropdown w-80","option-label":"optionValue","panel-class":"custom-panel","input-id":"booked","aria-labelledby":"label-booked","data-testid":"drp-step3BookingCost"},null,8,["modelValue","options"]),o("label",Se,b(e(a)?.funnel?.step3bookedCostPlaceholder),1)])):_("",!0),e(i)().stateContent?.funnel?.step3EmailShow?(p(),ge(q,{key:1,modelValue:e(m),"onUpdate:modelValue":t[2]||(t[2]=l=>u(m)?m.value=l:null),type:"email",name:"email","floating-label":e(a)?.funnel?.step3EmailPlaceholder,"max-length":100,"help-text":e(a)?.funnel?.step3EmailInfo,"data-testid":"ctm-input-step3Email"},null,8,["modelValue","floating-label","help-text"])):_("",!0)],2),o("div",Ae,[e(c)?.showFamily&&e(v)>=+e(ie)().stateBUconfig?.config?.minimumMembersFamilyDiscount?(p(),f("div",Le,[s(e(he),{modelValue:e(k),"onUpdate:modelValue":t[3]||(t[3]=l=>u(k)?k.value=l:null),"input-id":"family",binary:!0,class:"custom-checkbox green","aria-label":e(a)?.funnel?.step3_label,"data-testid":"chk-step3FamilyTravel"},null,8,["modelValue","aria-label"]),o("div",Me,[o("label",De,b(e(a)?.funnel?.step3_label),1),M(s(I,{ref_key:"familyTooltipRef",ref:d,hideOnClick:!1,trigger:"manual","data-testid":"tpy-step3FamilyActive"},{trigger:g(()=>[s(V,{loading:"lazy",width:"24",height:"24",classes:"ml-1 h-6 w-6 cursor-pointer",image:e(a)?.funnel?.step3_tooltip_imageDefault?.permalink,alt:e(a)?.funnel?.step3_tooltip_imageAlt,template:"24Icon","data-testid":"img-step3FamilyTooltipActive"},null,8,["image","alt"])]),default:g(()=>[o("span",null,b(e(a)?.funnel?.step3_message),1),o("button",{class:"ml-3 underline",type:"button","data-testid":"btn-step3FamilyTooltipOk",onClick:O}," OK ")]),_:1},512),[[D,e(x)]]),M(s(I,{"data-testid":"tpy-step3Family"},{trigger:g(()=>[o("button",{type:"button",class:"m-0 flex w-fit appearance-none items-center border-none bg-transparent p-0","aria-label":e(U).getterAriaLabel("more_information")||"More information","data-testid":"btn-step3FamilyTooltip"},[s(V,{loading:"lazy",width:"24",height:"24",classes:"ml-1 h-6 w-6 cursor-pointer","picture-classes":"flex",image:e(a)?.funnel?.step3_tooltip_imageDefault?.permalink,alt:e(a)?.funnel?.step3_tooltip_imageAlt,"data-testid":"img-step3FamilyTooltip"},null,8,["image","alt"])],8,Ee)]),default:g(()=>[o("span",null,b(e(a)?.funnel?.step3_message),1)]),_:1},512),[[D,!e(x)]])])])):_("",!0)]),e(i)().stateContent?.funnel?.step3EmailShow?(p(),f("div",Be,[s(J,{modelValue:e(h),"onUpdate:modelValue":t[6]||(t[6]=l=>u(h)?h.value=l:null),name:"acceptance","input-id":"acceptance",rules:"","data-testid":"chk-step3Acceptance"},{default:g(()=>[o("span",{class:"acceptance",innerHTML:e(a)?.funnel?.step3AcceptanceCheckbox},null,8,Ie),o("span",{class:"acceptance",role:"button",tabindex:"0",onKeydown:t[4]||(t[4]=ye(E(l=>r.value=!e(r),["prevent"]),["enter"])),onClick:t[5]||(t[5]=E(l=>r.value=!e(r),["prevent"])),innerHTML:e(a)?.funnel?.step3basicInformationTrigger},null,40,Ue)]),_:1},8,["modelValue"])])):_("",!0),o("div",$e,[s(F,{mode:"filled",background:"light",color:"white",class:"font-semibold",label:e(a)?.funnel?.step1Prev_ctaText,"data-testid":"btn-step3Prev",onClick:t[7]||(t[7]=l=>("navigateTo"in n?n.navigateTo:e(pe))(e(N)))},null,8,["label"]),s(F,{mode:"filled",color:"primary",class:L(["font-semibold",{"pointer-events-none":!C()}]),disabled:!C(),label:e(a)?.funnel?.step3Next_ctaText,"data-testid":"btn-step3GetQuote",onClick:t[8]||(t[8]=l
1=>(j(),Q()))},null,8,["class","disabled","label"])])])])):_("",!0)],64)):_("",!0),s(W,{modelValue:e(w),"onUpdate:modelValue":t[9]||(t[9]=l=>u(w)?w.value=l:null),"modal-title":e(c)?.noResultsTitle,"modal-description":e(c)?.noResultsDescription,"data-testid":"mdl-step3AlertError"},null,8,["modelValue","modal-title","modal-description"]),s(X,{modelValue:e(r),"onUpdate:modelValue":t[10]||(t[10]=l=>u(r)?r.value=l:null),slug:"funnel-basic-info","data-testid":"mdl-step3Lopd"},null,8,["modelValue"])],64)}}});export{ot 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.