PageSourceSearch

https://www.hydrotour.sk/assets/HolidayBookingInstallmentPaymentResult-CtQ0dcAW.js

js hydrotour.sk collected 2026-09-25 05:28:40 UTC 3,854 bytes, 1 lines download raw bytes

1import{_ as V}from"./HeaderBooking.vue_vue_type_script_setup_true_lang-drqalOZ3.js";import{P as w,I as x}from"./IWebObjednavkaApi-Dc4ETivY.js";import{H as R,T as I,b as i}from"./types-Dha0ew-n.js";import{d as S,x as d,p as T,at as C,r as B,o as a,c as t,a as N,b as e,F as z,j as c,i as o,g as p,t as l,k as E,w as F,a1 as f}from"./index-Dl04tRNy.js";const M={class:"holiday-booking"},U={class:"content"},q={class:"step"},H={key:0,class:"white-box thank-you"},Z=e("h1",null,"Ďakujeme za úhradu",-1),A={key:0},D={key:1},L=e("p",null,"Toto okno je možné zavrieť.",-1),O={key:1,class:"white-box thank-you"},Q=e("h1",null,"Ďakujeme za úhradu",-1),W={key:0},Y={key:1},$=e("p",null,"Toto okno je možné zavrieť.",-1),G={key:2,class:"white-box thank-you"},J=e("h1",null,"Informácia z platobnej brány",-1),K={key:0},X={key:1},ee=e("p",null,"platbu sa nepodarilo zrealizovať s nasledovnou správou od platobnej brány finby:",-1),ae={key:0},te=e("p",null,"Ponúkame Vám možnosť zvoliť si iný druh platby, prípadne použiť inú platobnú kartu.",-1),oe={key:1,class:"white-box thank-you"},ne=e("h1",null,"Informácia z platobnej brány",-1),se=e("p",null,"Platbu sa nepodarilo zrealizovať s nasledovnou správou od platobnej brány finby:",-1),le=e("p",null,"Zákazník zrušil platbu.",-1),ue=e("p",null,"Pre zopakovanie platby kliknite znovu na doručený odkaz.",-1),re=[ne,se,le,ue],ie={key:2,class:"white-box thank-you"},de=e("div",null,"Nastala chyba",-1),me=S({__name:"HolidayBookingInstallmentPaymentResult",setup(ce){const g=d(R.ThankYou),_=d(""),u=d(""),y=d(!1),h=new URLSearchParams(window.location.search),k=h.get("Reference")??"",v=h.get("ResultCode"),b=h.get("AcquirerResponseId"),m=()=>{const s=Number(v);if(s===0)return i.Success;if(s===1)return i.Pending;if(s>=1e3)return i.Error};v&&v.length&&(_.value=I[v]??""),b&&b.length;const r=T(()=>{var s;return((s=n.value)==null?void 0:s.pohlavie)===w.M}),j=x.objednavkaUhradaFinal(k),n=d(null);return C(async()=>{if(!k||!k.length){y.value=!0;return}try{n.value=await j}catch(s){u.value=s.message}}),(s,ve)=>{const P=B("router-link");return a(),t(z,null,[N(V,{"current-step":g.value,"payment-only":!0},null,8,["current-step"]),e("main",M,[e("div",U,[e("div",q,[n.value?(a(),t(z,{key:0},[m()===c(i).Success&&!u.value.length?(a(),t("div",H,[Z,e("p",null,[r.value?(a(),t("span",A,"Vážený pán")):o("",!0),r.value?o("",!0):(a(),t("span",D,"Vážená pani")),p(" "+l(n.value.priezvisko)+",",1)]),e("p",null," Potvrdzujeme, že sme k Zmluve o zájazde číslo "+l(n.value.objednavkaId)+" priradili Vašu úhradu za poskytované služby vo výške "+l(c(f)(n.value.vyskaPlatby))+". ",1),L])):o("",!0),m()===c(i).Pending&&!u.value.length?(a(),t("div",O,[Q,e("p",null,[r.value?(a(),t("span",W,"Vážený pán")):o("",!0),r.value?o("",!0):(a(),t("span",Y,"Vážená pani")),p(" "+l(n.value.priezvisko)+",",1)]),e("p",null," Potvrdzujeme, že sme k Zmluve o zájazde číslo "+l(n.value.objednavkaId)+" zaevidovali Vašu úhradu za poskytované služby vo výške "+l(c(f)(n.value.vyskaPlatby))+". Čakáme na konečné potvrdenie spracovania platby z banky o čom Vás budeme informovať emailom. ",1),$])):o("",!0),m()===c(i).Error&&!u.value.length?(a(),t("div",G,[J,e("p",null,[r.value?(a(),t("span",K,"Vážený pán")):o("",!0),r.value?o("",!0):(a(),t("span",X,"Vážená pani")),p(" "+l(n.value.priezvisko)+",",1)]),ee,_.value.length?(a(),t("div",ae,[e("strong",null,l(_.value),1)])):o("",!0),te,n.value.ident.length?(a(),E(P,{key:1,to:{name:"objednavka-uhrada",query:{ident:n.value.ident}},class:"button primary h-auto"},{default:F(()=>[p("Upraviť nastavenia a zopakovať platbu")]),_:1},8,["to"])):o("",!0)])):o("",!0)],64)):o("",!0),y.value?(a(),t("div",oe,re)):o("",!0),u.value.length?(a(),t("div",ie,[de,e("div",null,l(u.value),1)])):o("",!0)])])])],64)}}});export{me 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.