PageSourceSearch

https://www.butlins.com/app-assets/workflow_dispatch/4839/_next/static/chunks/7301-46814033f124d768.js

js butlins.com collected 2026-10-01 10:33:57 UTC 11,828 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7301],{97301:(n,e,i)=>{i.d(e,{A:()=>ni});var t=i(21626),o=i(7634),r=i(3041),a=i(44357),s={title:"Thank you for your payment",description:"Thank you for making a payment on this booking",subDescription:"Please allow up to 10 minutes before making any further payments while we update your booking"},l=i(37876),c=t.Ay.div.withConfig({displayName:"MyButlinsAccountConfirmationBanner__HighlightBox",componentId:"sc-xh5rd4-0"})(["display:flex;flex-direction:column;align-items:center;background:#f5f5f5;margin:3.1250rem auto;text-align:center;p{font-family:Neutraface;margin:0.6250rem 0;line-height:1.3750rem;}span{font-family:NeutrafaceBold;margin:1.2500rem;font-weight:700;font-size:1.3750rem;line-height:1.7500rem;color:#65b32e;letter-spacing:0.2062rem;text-transform:uppercase;}","{align-items:center;margin-top:0;margin-bottom:1.5625rem;section{margin-left:0;padding-top:0;padding-bottom:0.3125rem;padding-left:0;}}"],function(n){return n.theme.responsive.maxTablet}),d=t.Ay.h2.withConfig({displayName:"MyButlinsAccountConfirmationBanner__HighlightBoxTitle",componentId:"sc-xh5rd4-1"})(["margin:0;display:block;width:100%;padding:1.2500rem;padding-bottom:0.6250rem;text-align:center;font-weight:700;font-size:1.3750rem;line-height:1.7500rem;letter-spacing:0.2062rem;text-transform:uppercase;font-family:'NeutraFaceBold';color:#fff;background-color:#da291c;"]),m=t.Ay.div.withConfig({displayName:"MyButlinsAccountConfirmationBanner__DescriptionContainer",componentId:"sc-xh5rd4-2"})(["margin:1.2500rem 0%;"]);let u=function(){return(0,l.jsxs)(c,{children:[(0,l.jsx)(d,{children:s.title}),(0,l.jsxs)(m,{children:[(0,l.jsx)("p",{children:s.description}),(0,l.jsx)("p",{children:s.subDescription})]})]})};var p=i(37641),f=i(36701),h=t.Ay.div.withConfig({displayName:"MyButlinsAccountConfirmationBreakDetails__BreakDetailsContainer",componentId:"sc-1y1nes-0"})(["display:flex;justify-content:space-between;flex-direction:column;background:#f5f5f5;padding:1.2500rem;font-family:Neutraface;"]),g=(0,t.Ay)(f.A).withConfig({displayName:"MyButlinsAccountConfirmationBreakDetails__HeadingContainer",componentId:"sc-1y1nes-1"})(["font-family:NeutrafaceBold;font-size:1.3750rem;line-height:1.7500rem;padding-bottom:0.9375rem;border-bottom:0.1250rem solid;border-color:#000;width:100%;"]),y=(0,t.Ay)(f.A).withConfig({displayName:"MyButlinsAccountConfirmationBreakDetails__SectionTitle",componentId:"sc-1y1nes-2"})(["margin:5.0000rem 0 2.5000rem 0;"]),x=t.Ay.div.withConfig({displayName:"MyButlinsAccountConfirmationBreakDetails__ValuesContainer",componentId:"sc-1y1nes-3"})(["display:flex;justify-content:space-between;flex-direction:column;"]),b=t.Ay.div.withConfig({displayName:"MyButlinsAccountConfirmationBreakDetails__ValueContainer",componentId:"sc-1y1nes-4"})(["display:flex;justify-content:space-between;flex-direction:row;line-height:1.3125rem;font-size:1.0000rem;margin:0.6250rem 0;"]),j=t.Ay.div.withConfig({displayName:"MyButlinsAccountConfirmationBreakDetails__TotalContainer",componentId:"sc-1y1nes-5"})(["display:flex;justify-content:space-between;flex-direction:row;line-height:1.7500rem;font-size:1.3750rem;margin:1.8750rem 0;"]);let k=function(n){var e=n.myBooking;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(y,{level:1,color:"#000",children:"Your Break details"}),(0,l.jsxs)(h,{children:[(0,l.jsx)(g,{children:"Your Booking"}),(0,l.jsxs)(x,{children:[(0,l.jsxs)(b,{children:[(0,l.jsx)("span",{children:"Booking Reference"}),(0,l.jsx)("span",{children:null==e?void 0:e.bookingRef})]}),(0,l.jsxs)(b,{children:[(0,l.jsx)("span",{children:"Value paid"}),(0,l.jsx)("span",{children:(0,p.vny)(null==e?void 0:e.paidAmount)})]}),(0,l.jsxs)(b,{children:[(0,l.jsx)("span",{children:"Balance remaining"}),(0,l.jsx)("span",{children:(0,p.vny)(null==e?void 0:e.remainingAmount)})]}),(0,l.jsxs)(j,{children:[(0,l.jsx)("span",{children:"TOTAL HOLIDAY COST"}),(0,l.jsx)("span",{children:(0,p.vny)(null==e?void 0:e.totalAmount)})]})]})]})]})};var A=i(57186),w=i(66839);let C=function(n){var e,i,t,o=n.myBooking,r=n.breakTypes,a=(0,p._yH)(null!=(e=null==o?void 0:o.startDate)?e:null,null!=(i=null==o?void 0:o.endDate)?i:null);return(0,l.jsx)(w.A,{isImageLeft:!0,bgColor:"#3c3c3b",fgColor:"#fff",titleColor:"#ee1c25",containerWidth:"100%",title2:"".concat(a," (").concat(null==o?void 0:o.duration," NIGHTS)"),title3:"".concat(null==o?void 0:o.numOfGuests," GUESTS"),widthSize:"md",variant:"AccountImagePromo",dataAutomationId:"account-confirmation-image",style:{contentBox:{padding:"50px"},summary:{lineHeight:"22px",padding:"24px 0"}},content:{isLink:!1,field:"fallback",copy:"VIEW BOOKING",isCta:!1,title:null==o?void 0:o.breakDescription,image:null==(t=r[0])?void 0:t.imageCta.image}},(0,A.A)())};var v=i(66284),B=i(63857),_=i(43081),I=i.n(_),N=i(35881),O=i(14232),D=i(42348),P=i(88161),T=i(55529),S=i(90083),M=i(63528),L=i(49030),z=i(86746),E=i(82377),G=(0,i(26062).K)(o.cp5.GET_CONFIRMATION_DATA,"POST");function F(n,e){var i=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);e&&(t=t.filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})),i.push.apply(i,t)}return i}function H(n){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};
1e%2?F(Object(i),!0).forEach(function(e){(0,v.A)(n,e,i[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):F(Object(i)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(i,e))})}return n}var R=(0,N.Mz)(L.A.getLoading,z.A.getBooking,function(n,e){return{isLoading:n,booking:e}});let Y=function(){var n=(0,T.w)(),e=(0,r.A)(),i=(0,T.d)(R),t=i.isLoading,o=i.booking,a=(0,O.useState)(null),s=a[0],l=a[1],c=(0,O.useState)([]),d=c[0],m=c[1],u=(0,O.useCallback)((0,B.A)(I().mark(function i(){return I().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return n(M.A.actions.handleLoadingChange(!0)),i.next=3,n(G({resId:e.query.resId})).unwrap().then(function(){var e=(0,B.A)(I().mark(function e(i){var t,r,a,s,c;return I().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(s=i.data){e.next=4;break}return n(M.A.actions.pushError("Failed to load booking data!")),e.abrupt("return");case 4:return o&&n(S.A.actions.setBFFResponse({url:(0,P.Tw)(),response:H(H({},o),{},{priceBreakdown:null!=(c=s.priceBreakdown)?c:null,payment:H(H({},o.payment),{},{total:s.totalAmount,paid:s.paidAmount,remaining:s.remainingAmount})})})),l(s),(0,D.Xu)(s),e.next=9,n((0,E._)({name:null!=(r=s.breakDescription)?r:""}));case 9:if(e.t1=t=e.sent,e.t0=null!==e.t1,!e.t0){e.next=13;break}e.t0=void 0!==t;case 13:if(!e.t0){e.next=17;break}e.t2=t,e.next=18;break;case 17:e.t2=[];case 18:m(null!=(a=e.t2.payload.results)?a:[]);case 20:case"end":return e.stop()}},e)}));return function(n){return e.apply(this,arguments)}}()).catch(function(e){var i=e.error||e.message||"Failed to load booking data!";n(M.A.actions.pushError(i))});case 3:n(M.A.actions.handleLoadingChange(!1));case 4:case"end":return i.stop()}},i)})),[]);return(0,O.useEffect)(function(){u()},[]),{isLoading:t,myBooking:s,breakTypes:d}};var K=t.Ay.div.withConfig({displayName:"PrintableContent__Container",componentId:"sc-mp5u5n-0"})(["@media only print{#printable-content{font-family:Neutraface;display:block;}}"]),V=t.Ay.div.withConfig({displayName:"PrintableContent__PrintDisplayTest",componentId:"sc-mp5u5n-1"})(["color:#000;display:none;"]),U=t.Ay.div.withConfig({displayName:"PrintableContent__BreakDetailsContainer",componentId:"sc-mp5u5n-2"})(["display:flex;justify-content:space-between;flex-direction:column;background:#f5f5f5;padding:1.2500rem;font-family:Neutraface;"]),W=t.Ay.div.withConfig({displayName:"PrintableContent__ValuesContainer",componentId:"sc-mp5u5n-3"})(["display:flex;justify-content:space-between;flex-direction:column;"]),X=t.Ay.div.withConfig({displayName:"PrintableContent__ValueContainer",componentId:"sc-mp5u5n-4"})(["display:flex;justify-content:space-between;flex-direction:row;line-height:1.3125rem;font-size:1.0000rem;margin:0.6250rem 0;"]),q=t.Ay.div.withConfig({displayName:"PrintableContent__TotalContainer",componentId:"sc-mp5u5n-5"})(["display:flex;justify-content:space-between;flex-direction:row;line-height:1.7500rem;font-size:1.3750rem;margin:1.8750rem 0;"]);let J=function(n){var e,i,t,o,r,a=n.myBooking;return(0,l.jsx)(K,{children:(0,l.jsxs)(V,{id:"printable-content",children:[(0,l.jsx)("p",{children:s.title}),(0,l.jsx)("p",{children:s.description}),(0,l.jsx)("p",{children:s.subDescription}),(0,l.jsx)("div",{children:"Your Booking reference is: ".concat(null!=(e=null==a?void 0:a.bookingRef)?e:"")}),(0,l.jsxs)("div",{children:[(0,l.jsx)("h1",{children:"YOUR BREAK DETAILS"}),(0,l.jsx)(U,{children:(0,l.jsxs)(W,{children:[(0,l.jsxs)(X,{children:[(0,l.jsx)("span",{children:"Break"}),(0,l.jsx)("span",{children:null!=(i=null==a?void 0:a.breakDescription)?i:""})]}),(0,l.jsxs)(X,{children:[(0,l.jsx)("span",{children:"Arrival Date"}),(0,l.jsx)("span",{children:null!=(t=null==a?void 0:a.startDate)?t:""})]}),(0,l.jsxs)(X,{children:[(0,l.jsx)("span",{children:"Nights"}),(0,l.jsx)("span",{children:"".concat(null!=(o=null==a?void 0:a.duration)?o:""," Nights")})]}),(0,l.jsxs)(X,{children:[(0,l.jsx)("span",{children:"Guest Details"}),(0,l.jsx)("span",{children:null!=(r=null==a?void 0:a.numOfGuests)?r:""})]}),(0,l.jsxs)(q,{children:[(0,l.jsx)("span",{children:"TOTAL HOLIDAY COST"}),(0,l.jsx)("span",{children:(0,p.vny)(null==a?void 0:a.totalAmount)})]})]})})]})]})})};var Q=i(88513),Z=t.Ay.div.withConfig({displayName:"MyButlinsAccountConfirmationPage__ConfirmationDetail
1sContainer",componentId:"sc-59adae-0"})(["padding:1.2500rem 1.2500rem 2.5000rem;","{padding:0;}"],function(n){return n.theme.responsive.minMd}),$=t.Ay.div.withConfig({displayName:"MyButlinsAccountConfirmationPage__Container",componentId:"sc-59adae-1"})(["@media only print{#not-show-in-print{display:none;}}"]),nn=t.Ay.div.withConfig({displayName:"MyButlinsAccountConfirmationPage__ButtonContainer",componentId:"sc-59adae-2"})(["display:flex;width:100%;flex-direction:row;justify-content:flex-end;margin:2.1250rem 0;","{margin-bottom:3.4375rem;}","{button{font-size:1.0000rem;font-family:NeutraFaceBold;}}"],function(n){return n.theme.responsive.maxSm},function(n){return n.theme.responsive.maxXs}),ne=(0,t.Ay)(a.A).withConfig({displayName:"MyButlinsAccountConfirmationPage__EditButton",componentId:"sc-59adae-3"})(["display:flex;align-items:center;justify-content:space-between;max-width:12.5000rem;font-size:1.5000rem;line-height:1.8750rem;margin:0.6250rem;border:0.0625rem solid #000;","{width:100%;justify-content:center;span{margin-right:0.9375rem;}}"],function(n){return n.theme.responsive.maxSm});let ni=function(n){var e=n.layout,i=n.siteGlobalBannerContent,t=n.isSignedInHeader,a=n.showBasket,s=n.showAddonMenu,c=n.desktopPadding,d=n.mobilePadding,m=n.skipFetchBooking,p=n.showKSPBanner,f=(0,r.A)(),h=Y(),g=h.isLoading,y=h.breakTypes,x=h.myBooking;return(0,l.jsx)(Q.A,{layout:e,siteGlobalBannerContent:i,isLoading:g,showHeader:!0,isSignedInHeader:!!t,showBasket:a,showAddonMenu:s,desktopPadding:c,mobilePadding:d,skipFetchBooking:m,showKSPBanner:p,children:(0,l.jsx)(Z,{children:(0,l.jsxs)($,{children:[x&&(0,l.jsx)(J,{myBooking:x}),(0,l.jsxs)("div",{id:"not-show-in-print",children:[(0,l.jsx)(u,{}),(0,l.jsx)(k,{myBooking:x}),(0,l.jsx)(C,{breakTypes:y,myBooking:x}),(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)(nn,{children:[(0,l.jsx)(ne,{onClick:function(){f.push(o.Nb_.MY_BUTLINS_BOOKINGS)},variant:o.Cki.outline,size:o.GO8.md,dataAutomationId:"my-butlins-button",children:(0,l.jsx)("span",{children:"My Butlins"})}),(0,l.jsx)(ne,{onClick:function(){window.print()},variant:o.Cki.outline,size:o.GO8.md,dataAutomationId:"print-button",children:(0,l.jsx)("span",{children:"Print"})})]})})]})]})})})}}}]);

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.