PageSourceSearch

https://www.newway.ie/_next/static/chunks/3ee4scprn1hqt.js

js newway.ie collected 2026-10-07 04:17:37 UTC 2,714 bytes, 4 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="ad63545b-6c2b-40de-5455-fc07938737d5")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,77671,e=>{"use strict";var s=e.i(39013),i=e.i(98504),a=e.i(37301),r=e.i(99832),n=e.i(44225),t=e.i(27334),l=e.i(3010),o=e.i(88661),c=e.i(94611);e.i(82164);var d=e.i(93079);function u(){let[e,a]=(0,c.useState)(""),r=(0,o.useRouter)(),n=(0,o.useSearchParams)(),t=(0,d.useBookingsCreateSession)(),u=n.get("confirmationNumber")||"";return(0,s.jsxs)("div",{className:"booking-retrieval min-height",children:[e&&(0,s.jsx)("div",{className:"l-row",children:(0,s.jsx)("div",{className:"l-container",children:(0,s.jsxs)("div",{className:"alert alert--error",children:[(0,s.jsx)("i",{className:"icon icon--info","aria-hidden":!0,tabIndex:-1}),(0,s.jsx)("p",{className:"alert__message",children:e})]})})}),(0,s.jsx)("div",{className:"l-row title title--slim",children:(0,s.jsx)("div",{className:"l-container l-container--12",children:(0,s.jsx)("div",{className:"l-col l-col--12 title__text new-heading",children:(0,s.jsx)("h1",{className:"title__heading",children:"Manage Your Booking"})})})}),(0,s.jsx)("div",{className:"l-row",children:(0,s.jsx)("div",{className:"l-container l-container--12",children:(0,s.jsx)("div",{className:"l-col l-col--12",children:(0,s.jsxs)("fieldset",{className:"standard-form__fieldset standard-form__fieldset--stacked",children:[(0,s.jsx)("div",{className:"standard-form__row",children:(0,s.jsx)("p",{children:"To get started, please provide your confirmation number and your last name."})}),(0,s.jsx)(i.default,{initialConfirmationNumber:u,onSubmit:async e=>{let s=await t.mutateAsync({headers:{Authorization:`Basic ${(0,l.strToB64)(`${e.confirmationNumber}:${e.surname}`)}`}}),{response:i,data:n}=s;i.ok&&n?(a(""),r.push(`/session/${n.sessionId}/confirmed-booking/`)):404===i.status?a("We couldn't find a booking with that surname and confirmation number. Please check your details and try again."):400===i.status?a("error"in s&&s.error?.message?s.error.message:"Sorry, we could not process your request."):a("We're experiencing technical difficulties. Please try again later.")}})]})})})})]})}function m(){return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(r.default,{...t.default}),(0,s.jsx)(c.Suspense,{children:(0,s.jsx)(u,{})}),(0,s.jsx)(a.default,{...n.default})]})}e.s(["BookingManage",0,m,"default",0,function(){return(0,s.jsx)(m,{})}])}]);
3
4//# debugId=ad63545b-6c2b-40de-5455-fc07938737d5

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.