PageSourceSearch

https://landfolk.com/_next/static/chunks/pages/bookings/[bookingId]/success-0f5cd64bb0656a97.js

js landfolk.com collected 2026-09-24 22:56:52 UTC 6,656 bytes, 2 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="4dde2b65-5621-44f8-a403-e09a08640c11",e._sentryDebugIdIdentifier="sentry-dbid-4dde2b65-5621-44f8-a403-e09a08640c11")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7190,595],{71735:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/bookings/[bookingId]/success",function(){return s(93733)}])},93733:function(e,t,s){"use strict";s.r(t),s.d(t,{default:function(){return v}});var i=s(97458),n=s(71775),o=s(80215),r=s(37655),a=s(90122),l=s(61959),c=s(33028),u=s(22257),d=s(81641),h=s(61716),g=s(48938),f=s(11133),p=s(44664),m=s(3666),b=s(42384);function k({listing:e,booking:t,viewer:s}){let n=(0,f.S)(),o=(0,u.Z)(c.Kp,c.Bi),r=!!s?.travelAgency?.name&&t.flow===g.Zw.Instant&&!0===t.paymentSkippedInCheckout;return(0,i.jsxs)("div",{className:"mb-5 lg:mb-6 lg:grid lg:grid-cols-12 lg:gap-3",children:[(0,i.jsxs)("div",{className:"col-start-1 col-end-8",children:[(0,i.jsxs)("div",{className:"relative pb-6 pt-4 lg:mb-4 lg:py-5",children:[(0,i.jsx)("div",{className:"absolute -left-3 -right-3 bottom-0 top-0 -z-10 bg-confirmation-muted lg:-left-6 lg:-right-7"}),(0,i.jsxs)("div",{className:"flex nl:flex-col-reverse",children:[(0,i.jsxs)("div",{children:[(0,i.jsx)("h1",{className:"mb-3 font-serif text-f2.5 lg:mb-4 lg:mt-5 lg:text-f2",children:(0,i.jsx)(d.Z,{...r?w.confirmedTitle:w.title})}),t.flow===g.Zw.Manual?(0,i.jsx)("p",{className:"nl:mb-4",children:(0,i.jsx)(d.Z,{...w.descriptionManual,values:{hostNames:e.host.displayName}})}):(0,i.jsxs)("div",{className:"nl:mb-4",children:[(0,i.jsx)("p",{className:"mb-3",children:(0,i.jsx)(d.Z,{...o?w.descriptionAutomaticSlowResponseTolerated:w.descriptionAutomatic,values:{hostNames:e.host.displayName,hostCount:e.host.hostCount}})}),s?(0,i.jsx)(p.r,{href:e=>e.bookingAsParticipant(t.shortId),children:(0,i.jsx)(l.zx,{"data-testid":"booking-success-view-details-button",children:(0,i.jsx)(d.Z,{...w.viewDetailsButton})})}):(0,i.jsx)("p",{className:"mb-2",children:(0,i.jsx)(d.Z,{...w.instructionsNewUser,values:{a:e=>(0,i.jsx)("button",{onClick:n?.show,className:"underline",children:e}),email:t.email}})})]})]}),(0,i.jsx)(a.Z,{className:"h-3.5 w-3.5 flex-shrink-0 lg:-mt-4 nl:mb-2 nl:mr-3 nl:h-3 nl:w-3"})]})]}),(0,i.jsx)(b.K,{email:t.email,firstName:t.firstName,newsletterAcceptedInCheckout:t.newsletterAcceptedInCheckout,trackEvent:"Newsletter Booking Success Subscribed",source:"booking-success",bookingValue:e.bookingQuote?.total})]}),(0,i.jsx)("div",{className:"col-start-9 col-end-13 lg:pt-5 nl:-mt-6",children:(0,i.jsx)(m.Lv,{listing:e,checkinOn:t.checkin,checkoutOn:t.checkout,participants:{adults:t.adults,children:t.children,infants:t.infants,pets:t.pets},className:"overflow-hidden rounded bg-white shadow-sm"})})]})}let w=(0,h.vU)({title:{defaultMessage:"Great! Your booking request has been sent.",id:"5DLF2U79At",description:"Booking request sent: title"},confirmedTitle:{defaultMessage:"Great! Your booking has been confirmed.",id:"hKXUVo6qXK",description:"Booking checkout payment success: title"},descriptionManual:{defaultMessage:"We have passed on your request to {hostNames} and we'll get back to you within 24 hours.",id:"wgEEgKDkDF",description:"Booking request sent: manual flow description"},descriptionAutomatic:{defaultMessage:"Your {hostCount, plural, one {host} other {hosts}} {hostNames} will get back to you within 24 hours - and more often than not it's quicker than that.",id:"nQOMkhGyZ3",description:"Booking request sent: automatic flow description"},descriptionAutomaticSlowResponseTolerated:{defaultMessage:"Your {hostCount, plural, one {host} other {hosts}} {hostNames} will usually get back to you within 24 hours. However, longer response times may occur during the holiday season.",id:"2db4GnjALg",description:"Booking request sent: automatic flow description"},instructionsNewUser:{defaultMessage:"We've sent an email to you at {email}. Did you not receive it? Please let us know <a>here</a>.",id:"AF3i1UOriP",description:"Booking request sent: automatic flow user creation instructions"},instructionExistingUser:{defaultMessage:"You can communicate directly with the host and see the status and details of your booking request by viewing the booking details.",id:"kLjDdip3Vb",description:"Booking request sent: automatic flow user creation instructions"},viewDetailsButton:{defaultMessage:"View booking page",id:"QHB4JRCKGe",description:"Booking request sent: view details button"}});var y=s(16063);function v(){let e=(0,o.useRouter)(),{bookingId:t,flow:s,listingId:a,adults:l,children:c,infants:u,pets:d,checkin:h,checkout:g,email:f,firstName:p,paymentSkippedInCheckout:m,newsletterAccepted:b}=e.query,w="true"===m,v="string"==typeof b?"true"===b:void 0,N={adults:Number(l),children:Number(c),infants:Number(u),pets:Number(d)};"string"==typeof t&&/[A-Z]/.test(t)&&"string"==typeof a&&"string"==typeof l&&"string"==typeof c&&"string"==typeof u&&"string"==typeof d&&"string"==typeof f&&"string"==typeof h&&"string"==typeof g&&"string"==typeof s&&e.replace(y._j.bookingSuccess(t.toLowerCase(),{...N,checkin:h,checkout:g,listingId:a,flow:s,email:f,..."string"==typeof p&&{firstName:p},...void 0!==v&&{newsletterAccepted:v},...w&&{paymentSkippedInCheckout:!0}}));let x={id:a,filter:{availableIn:{checkinOn:h,checkoutOn:g},minimumCapacity:N.adults+N.children,petsAllowed:!!N.pets||void 0,suitableForChildren:!!N.children||void 0,suitableForInfants:!!N.infants||void 0}},j=(0,r.sp)({variables:x,skip:!a||!h||!g||!l});if("string"==typeof a&&"string"==typeof f&&"string"==typeof h&&"string"==typeof g)return(0,i.jsx)(n.G,{query:j,children:({listing:e,viewer:n})=>{if(e?.id)return(0,i.jsx)(k,{listing:e,booking:{shortId:t,flow:s,email:f,firstName:"string"==typeof p?p:void 0,checkin:h,checkout:g,adults:Number(l),children:Number(c),infants:Number(u),pets:Number(d),paymentSkippedInCheckout:w,newsletterAcceptedInCheckout:v},viewer:n})}})}},22257:function(e,t,s){"use strict";s.d(t,{Z:function(){return o}});var i=s(117),n=s(66034);function o(e,t){(0,n.Z)(2,arguments);var s=(0,i.Z)(e).getTime(),o=(0,i.Z)(t.start).getTime(),r=(0,i.Z)(t.end).getTime();if(!(o<=r))throw RangeError("Invalid interval");return s>=o&&s<=r}}},function(e){e.O(0,[4138,1367,6028,5809,5483,7132,6205,7325,3468,7746,2614,2790,2335,8256,9905,3574,9630,3644,99,48,4520,4821,625,3361,8195,3273,6235,9627,1524,299,5072,7614,6954,7618,4408,3975,8022,2888,9774,179],function(){return e(e.s=71735)}),_N_E=e.O()}]);
2//# sourceMappingURL=success-0f5cd64bb0656a97.js.map

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.