PageSourceSearch

https://estaie.com/build/assets/PaymentCancel-BTTy-IKU.js

js estaie.com collected 2026-09-24 13:15:51 UTC 7,766 bytes, 1 lines download raw bytes

1import{W as k,U as C,M as N,d as P,P as L,N as j}from"./url-B08cuRnd.js";import{u as A}from"./useAnalytics-C27pRcT6.js";import{y as U,Q as E,c as I,o as d,w,a as t,t as s,u as e,d as v,f as $,g as c,b as i,E as R}from"./app-BvX0wXJU.js";import{f as p}from"./utilities-glpkDN0b.js";import{_ as M}from"./NewAppLayout-B7E4WUfU.js";import{_ as r}from"./GuestDetailAttribute-DxTdsvcc.js";import"./Footer-mv2YaO3Q.js";import"./Navbar-D2ycALSB.js";import"./main-Co-HTiyG.js";import"./country_phone_codes-C3Q5OVnP.js";import"./getUTM-BiPv4UPP.js";import"./useLocale-BkHdFk5i.js";import"./AuthModal-DmB3EU27.js";import"./Modal-BiPtAQ-m.js";/* empty css                                              */import"./store-6rA-1QnX.js";import"./EmailPhone-DZnR4ci2.js";import"./AuthTypeButton-Dnw9_2_V.js";import"./events-F68Qreji.js";import"./OtpVerify-hQyYATT9.js";import"./moment-C5S46NFB.js";import"./GoBackButton-B3YcsBUv.js";import"./SetPassword-CQu5YqVM.js";import"./SetSuccess-DlGWnSqZ.js";import"./LoginEmailPhone-BX0x54tk.js";import"./PasswordLogin-CZvKomcW.js";import"./ForgotPassword-XwXa6nU8.js";import"./secretKeys-Ddq43D7o.js";import"./BackgroundWorldMap-CJQmKlKM.js";const O={class:"max-w-5xl mx-auto py-12 px-4"},B={class:"text-center mb-8"},D={id:"payment-cancelled-message",class:"text-4xl font-light text-yellow-600"},S={class:"text-gray-600 mt-2"},T={class:"w-full flex flex-col md:flex-row gap-6"},V={class:"w-full md:w-2/5 space-y-4 bg-white p-6 rounded-xl shadow"},W=["src"],z={class:"text-xl font-semibold"},H={class:"text-lg font-medium text-gray-700"},Q={class:"flex justify-between items-start mt-3 font-light text-sm"},q=["href"],F=["src"],G={key:0},J=["href"],K={class:"flex flex-col space-y-2"},X={class:"flex justify-between items-start mt-2 mb-2 font-light text-sm"},Y={class:"flex items-center text-sm text-gray-600 mt-1"},Z=["href"],tt={class:"flex justify-between items-start font-light text-sm text-gray-800 space-y-1"},et={class:"font-normal !mt-0"},st={class:"flex justify-between items-start font-light text-sm text-gray-800 space-y-1"},ot={class:"font-normal !mt-0"},at={class:"flex justify-between items-start font-light text-sm text-gray-800 space-y-1"},nt={class:"font-normal !mt-0"},lt={class:"w-full h-2/3 md:w-3/5 space-y-6 bg-white p-6 rounded-xl shadow"},it={class:"font-normal mb-2"},rt={class:"text-sm space-y-1 text-[#333232]"},mt={class:"bg-yellow-50 border border-yellow-200 rounded-lg p-4 mb-4"},ct={class:"flex items-center gap-2"},dt={class:"font-medium text-yellow-700"},pt={class:"text-sm text-yellow-600 mt-2"},_t={class:"flex items-center justify-between mt-3 py-3 border-t border-gray-100"},ut={class:"text-gray-600"},yt={class:"font-medium text-[#8c2ee0]"},ht={class:"flex flex-col space-y-2 py-4 border-t border-gray-100"},ft={class:"flex justify-between items-center text-sm text-gray-600"},gt={key:0,class:"flex justify-between items-center text-sm text-green-600 font-medium"},xt={class:"flex justify-between items-center"},bt={class:"font-normal text-2xl"},wt={class:"font-semibold text-gray-900 text-lg"},vt={class:"text-xs text-gray-500 italic text-left"},Zt={__name:"PaymentCancel",setup($t){const{trackEvent:_}=A();U(()=>{_("Payment_Cancelled_Pageload",{method:"booking",screen_name:"Payment Cancelled"}),_("payment_failure",{error_details:{transaction_id:a.bookingId||"",payment_method:h(a.paymentType),failure_reason:y||"Payment cancelled",amount_attempted:a.totalPrice||0,currency:m()||"AED"}})});const u=E(),{bookingData:a,propertyData:n,message:y}=u.props,m=()=>u.props.currency||null,h=o=>({stripe_pay_once:"credit_debit_card_full_payment",stripe_partial:"partial_payment_installments",tamara:"tamara_buy_now_pay_later",pay_at_hotel:"pay_at_hotel",pay_at_crypto:"Pay at Crypto"})[o]||"card_payment";return(o,l)=>(d(),I(M,{title:"Payment Cancelled"},{default:w(()=>{var f,g,x,b;return[t("div",O,[t("div",B,[l[0]||(l[0]=t("div",{class:"w-16 h-16 mx-auto mb-4 bg-yellow-100 rounded-full flex items-center justify-center"},[t("svg",{class:"w-10 h-10 text-yellow-500",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"})])],-1)),t("h1",D,s(o.$t("payment_cancelled")),1),t("p",S,s(e(y)||o.$t("payment_cancelled_message")),1)]),t("div",T,[t("div",V,[t("img",{src:((g=(f=e(n).property.images)==null?void 0:f[0])==null?void 0:g.url)||((b=(x=e(n).images)==null?void 0:x[0])==null?void 0:b.url),alt:"Apartment",class:"rounded-xl w-full h-64 object-cover"},null,8,W),t("div",null,[t("h2",z,s(e(n).property.official_name),1),t("h3",H,s(e(n).property.subarea)+", "+s(e(n).property.city),1),t("div",Q,[t("div",null,[t("a",{href:"tel:"+e(n).property.p
1hone,class:"text-[#8c2ee0] underline flex items-center gap-1"},[t("span",null,[t("img",{src:e(k),alt:"WhatsApp icon"},null,8,F)]),c(" "+s(e(n).property.phone),1)],8,q)]),e(n).property.email?(d(),v("div",G,[t("a",{href:"mailto:"+e(n).property.email,class:"text-[#8c2ee0] underline flex items-center gap-1"},[l[1]||(l[1]=t("span",null,[t("img",{src:"/assets/icons/email.png",alt:"WhatsApp"})],-1)),c(" "+s(e(n).property.email),1)],8,J)])):$("",!0)]),t("div",K,[t("div",X,[t("div",Y,[l[2]||(l[2]=t("span",{class:"mr-1"},"📍",-1)),c(" "+s(e(n).property.area),1)]),t("a",{href:e(n).property.location_link,target:"_blank",class:"text-[#8c2ee0] underline"},s(o.$t("view_on_map")),9,Z)]),t("div",tt,[t("span",null,s(o.$t("check_in_date")),1),t("span",et,s(e(a).checkInDate),1)]),t("div",st,[t("span",null,s(o.$t("check_out_date")),1),t("span",ot,s(e(a).checkOutDate),1)]),t("div",at,[t("span",null,s(o.$t("accommodation_type")),1),t("span",nt,s(e(n).name),1)])])])]),t("div",lt,[t("div",null,[t("h3",it,s(o.$t("guest_details")),1),t("div",rt,[i(r,{icon:e(C),title:o.$t("name"),data:e(a).guestName},null,8,["icon","title","data"]),i(r,{icon:e(N),title:o.$t("e_mail"),data:e(a).guestEmail},null,8,["icon","title","data"]),i(r,{icon:e(P),title:o.$t("maximum_guests_allowed"),data:`${e(a).guestCount} ${o.$t("guests")}`},null,8,["icon","title","data"]),i(r,{icon:e(L),title:o.$t("contact_number"),data:e(a).guestContactNumber},null,8,["icon","title","data"]),i(r,{icon:e(j),title:o.$t("total_nights"),data:`${e(a).totalNights} ${o.$t("nights")}`},null,8,["icon","title","data"])])]),t("div",null,[t("div",mt,[t("div",ct,[l[3]||(l[3]=t("svg",{class:"w-5 h-5 text-yellow-500",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"})],-1)),t("span",dt,s(o.$t("payment_status"))+": "+s(o.$t("cancelled")),1)]),t("p",pt,s(o.$t("payment_cancelled_no_charge")),1)]),t("div",_t,[t("span",ut,s(o.$t("payment_mode"))+":",1),t("span",yt,s(o.$t(h(e(a).paymentType))),1)]),t("div",ht,[t("div",ft,[t("span",null,s(o.$t("subtotal")),1),t("span",null,s(o.$t(m()))+" "+s(e(p)(Number(e(a).totalPrice)+Number(e(a).discountAmount||0))),1)]),e(a).discountAmount?(d(),v("div",gt,[t("span",null,s(o.$t("discount"))+" ("+s(e(a).promoCode)+")",1),t("span",null,"-"+s(o.$t(m()))+" "+s(e(p)(e(a).discountAmount)),1)])):$("",!0),t("div",xt,[t("h3",bt,s(o.$t("payment_details")),1),t("div",wt,s(o.$t(m()))+" "+s(e(p)(e(a).totalPrice)),1)])]),i(e(R),{href:"/",as:"button",class:"my-4 w-full rounded-lg text-white font-medium py-3 bg-gradient-to-b from-fuchsia-500 to-purple-600 text-sm shadow-md hover:opacity-90 transition"},{default:w(()=>[c(s(o.$t("back_to_home")),1)]),_:1}),t("p",vt,s(o.$t("complete_booking_anytime")),1)])])])])]}),_:1}))}};export{Zt 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.