PageSourceSearch

https://www.politeianet.gr/assets/Viva.7t1Gh07r.js

js politeianet.gr collected 2026-09-24 09:27:53 UTC 751 bytes, 1 lines download raw bytes

1import{Q as u,cN as g,g as l,z as d,r as h,j as n,aP as o}from"./index-KDcLenRU.js";const v=s=>u({queryKey:["viva-parse-transaction",s],queryFn:()=>g(s).then(e=>e).catch(e=>(console.log(e),{})),placeholderData:e=>e??{},enabled:!!s.uuid,refetchOnWindowFocus:!1}),f=()=>{const s=l(),e=d(),r=h.useMemo(()=>{var t=new URLSearchParams(e.search);return{uuid:t.get("t"),ocd:t.get("s"),lang:t.get("lang"),event:t.get("eventId"),eci:t.get("eci")}},[e.search]),{isPending:c,isFetching:i,data:a}=v(r);return c||i?n.jsx(o,{withSpace:!0}):(a&&a.uid&&a.res!==-1&&s(`/checkout-success/${a.uid}`),a&&a.res===-1&&(console.log("FAILURE!"),console.log("PAYLOAD:",r),console.log("DATA RESPONSE:",a),s("/checkout-failure")),n.jsx(o,{withSpace:!0}))};export{f 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.