PageSourceSearch

https://www.ghadiscovery.com/_next/static/chunks/pages/experience_booking/confirmation-73ceb48a8757d93a.js

js ghadiscovery.com collected 2026-10-01 13:57:31 UTC 16,935 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2524],{21640:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/experience_booking/confirmation",function(){return n(21021)}])},6507:function(e,t,n){"use strict";var i=n(47568),r=n(97582),o=n(85893),s=n(67294),l=n(4374),c=n(91681),a=n(52294),d=n(86443),u=n(73385),x=n(81043),m=n(56889),p=n(33434),f=n(55089),h=n(61068),b=n(8437),v=function(e){var t=e.hideHelp,n=e.showSubmitClaim,v=void 0!==n&&n,g=e.onClaimClick,C=(0,l.$)().t,j=(0,x.I0)(),w=(0,d.Z)(),k=(0,s.useState)(!1),y=k[0],N=k[1],_=(0,s.useState)(!1),Z=_[0],L=_[1],T=(0,x.v9)(function(e){return e.member.user.user}),H=(0,x.v9)(function(e){return(0,m.Z)(e.member.user.state).hasState(p.j1.loggedId)}),z=function(){!y&&window.pageYOffset>300?N(!0):y&&window.pageYOffset<=300&&N(!1)};if((0,s.useEffect)(function(){return window.addEventListener("scroll",z),function(){window.removeEventListener("scroll",z)}}),(0,s.useEffect)(function(){var e=function(e){e.persisted&&L(!1)};return window.addEventListener("pageshow",e),function(){return window.removeEventListener("pageshow",e)}},[]),!y)return null;var R,E=function(){window.scrollTo({top:0,behavior:"smooth"})},V=(R=(0,i.Z)(function(e){var t;return(0,r.__generator)(this,function(t){switch(t.label){case 0:if(e.preventDefault(),Z)return[2];if(w.trackCtaClick("Help",u.Wq.footer),!H)return(0,h.VI)({source:"zendesk"}),j((0,b.f5H)(!0)),[2];return L(!0),[4,(0,h.Tc)(T)];case 1:return t.sent()||(L(!1),(0,h.jd)()),[2]}})}),function(e){return R.apply(this,arguments)});return(0,o.jsxs)("nav",{className:"pt-8 md:pb-8 flex sticky bottom-0 right-1 md:right-6 ml-auto w-48 md:w-56 -mt-32 mb-3.5 md:mb-0 md:-mt-36 z-20",children:[void 0!==t&&t?!v&&(0,o.jsx)("div",{className:"w-1/2"}):(0,o.jsxs)("button",{type:"button",onClick:V,className:"text-center md:mr-6 tid-HelpButton",children:[(0,o.jsx)("span",{className:"btn-rounded btn-rounded--inline bg-primary mb-2",children:(0,o.jsxs)("svg",{width:"30",height:"30",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,o.jsx)("path",{d:"M16.79 22.9a1.6 1.6 0 11-3.22 0 1.6 1.6 0 013.22 0z",fill:"#fff"}),(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.31 10.02c-.32.2-.74.61-.74 1.72a1.29 1.29 0 11-2.57 0c0-1.96.84-3.21 1.96-3.9 1.01-.63 2.1-.7 2.54-.7.54 0 1.6.17 2.57.8a4.33 4.33 0 011.93 3.8
1c0 1.07-.3 2.1-.85 2.9a3.14 3.14 0 01-2.67 1.48c-.03.1-.04.25-.04.49l.01.38.01.44a1.29 1.29 0 11-2.57 0V17.08l-.02-.45c0-.32.01-.75.12-1.18.12-.45.36-.97.86-1.36.5-.4 1.11-.55 1.75-.55.01 0 .2-.01.43-.36.22-.33.4-.84.4-1.44 0-.96-.4-1.4-.77-1.65-.47-.3-1-.38-1.16-.38-.24 0-.77.05-1.19.31z",fill:"#fff"})]})}),(0,o.jsx)(a.C,{textType:"link",text:C("label.button.help"),className:"w-24 drop-shadow-sm text-shadow-white"})]}),v&&(0,o.jsxs)("a",{href:"/member/membership_details?tab=claim",className:"text-center md:mr-6 uppercase tid-submitClaim",onClick:function(e){g&&(e.preventDefault(),e.stopPropagation(),g(),w.trackCtaClick("Back to top",u.Wq.footer))},children:[(0,o.jsx)("span",{className:"btn-rounded btn-rounded--inline bg-primary mb-2",children:(0,o.jsxs)("svg",{width:"30",height:"30",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,o.jsx)("path",{d:"M16.79 22.9a1.6 1.6 0 11-3.22 0 1.6 1.6 0 013.22 0z",fill:"#fff"}),(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.31 10.02c-.32.2-.74.61-.74 1.72a1.29 1.29 0 11-2.57 0c0-1.96.84-3.21 1.96-3.9 1.01-.63 2.1-.7 2.54-.7.54 0 1.6.17 2.57.8a4.33 4.33 0 011.93 3.8
1c0 1.07-.3 2.1-.85 2.9a3.14 3.14 0 01-2.67 1.48c-.03.1-.04.25-.04.49l.01.38.01.44a1.29 1.29 0 11-2.57 0V17.08l-.02-.45c0-.32.01-.75.12-1.18.12-.45.36-.97.86-1.36.5-.4 1.11-.55 1.75-.55.01 0 .2-.01.43-.36.22-.33.4-.84.4-1.44 0-.96-.4-1.4-.77-1.65-.47-.3-1-.38-1.16-.38-.24 0-.77.05-1.19.31z",fill:"#fff"})]})}),(0,o.jsx)(a.C,{textType:"link",text:C("label.button.submit_claim"),className:"w-24 drop-shadow-sm text-shadow-white"})]}),(0,o.jsxs)("a",{className:"text-center cursor-pointer tid-backToTopButton",onClick:E,children:[(0,o.jsx)("span",{className:"btn-rounded btn-rounded--inline bg-white mb-2",children:(0,o.jsx)(c.LZ,{fill:"text-dark -rotate-90 transform",size:30})}),(0,o.jsx)(a.C,{textType:"link",text:C("label.button.back_to_top"),className:"w-24 drop-shadow-sm text-shadow-white"})]}),Z&&(0,o.jsx)(f.Z,{})]})};t.Z=v},42242:function(e,t,n){"use strict";var i=n(47568),r=n(26042),o=n(97582),s=n(85893),l=n(67294),c=n(11163),a=n(81043),d=n(56889),u=n(33434),x=n(43369),m=n(8437),p=function(e){var t,n=function(t){var n=(0,a.v9)(function(e){return(0,d.Z)(e.member.user.state)}),i=(0,a.v9)(function(e){return e.member.registration.conciergeInfo}),o=(0,a.v9)(function(e){return e.member.registration.partnerInfo}),p=(0,a.I0)(),f=(0,c.useRouter)(),h=(0,l.useState)(!1),b=h[0],v=h[1],g=(0,l.useState)(!1),C=g[0],j=g[1];return(0,l.useEffect)(function(){if(!C){if(n.hasState(u.j1.idle)||n.hasState(u.j1.userLoading)){v(!1);return}if(n.hasState(u.j1.loggedId))v(!0);else{v(!1),p((0,m.Vib)(f.asPath)),j(!0);var e="";(null==i?void 0:i.conciergeHash)?e+="?conciergeHash="+i.conciergeHash:(null==o?void 0:o.partnerHash)&&(e+="?partnerHash="+o.partnerHash),f.push("/member/login"+e)}}},[C,f,(0,a.v9)(function(e){return e.member.user.state}),i,o]),b&&n.hasState(u.j1.loggedId)?(0,s.jsx)(e,(0,r.Z)({},t)):(0,s.jsx)("div",{style:{minHeight:"60vh"},className:"flex-grow flex items-center justify-center",children:(0,s.jsx)(x.Z,{center:!0})})};return n.getInitialProps=(t=(0,i.Z)(function(t){var n;return(0,o.__generator)(this,function(i){switch(i.label){case 0:if(n={},!e.getInitialProps)return[3,2];return[4,e.getInitialProps(t)];case 1:n=i.sent(),i.label=2;case 2:return[2,n]}})}),function(e){return t.apply(this,arguments)}),n.Layout=e.Layout,n};t.Z=p},21021:function(e,t,n){"use strict";n.r(t);var i=n(47568),r=n(97582),o=n(85893),s=n(67294),l=n(52294),c=n(6507),a=n(91681),d=n(14655),u=n(42242),x=n(81043),m=n(8437),p=n(4374),f=n(2512),h=n(33434),b=n(43369),v=n(56889),g=n(29806),C=n(98168),j=n(56546),w=n(86443),k=n(73385),y=function(){var e,t,n=(0,p.$)().t,i=(0,x.I0)(),r=(0,w.Z)(),u=(0,x.v9)(function(e){return e.booking.experience.experience}),y=(0,x.v9)(function(e){return e.booking.experience.date}),N=(0,x.v9)(function(e){return e.booking.experience.time}),_=(0,x.v9)(function(e){return e.booking.experience.guestCount}),Z=(0,x.v9)(function(e){return e.booking.experience.confirmationNumber}),L=(0,x.v9)(function(e){return e.booking.experience.status}),T=(0,x.v9)(function(e){return e.member.user.user}),H=(0,x.v9)(function(e){return e.booking.experience.hotelId}),z=(0,x.v9)(function(e){return e.booking.experience.totalPrice}),R=(0,x.v9)(function(e){return e.member.user.timeFormat12}),E=(0,x.v9)(function(e){return e.global.currency.rates}),V=(0,x.v9)(function(e){return e.global.currency.selectedCurrency}),I=(0,g.Z)(V,E);if((0,s.useEffect)(function(){u||i((0,m.D_u)())},[]),!(0,x.v9)(function(e){return(0,v.Z)(e.booking.experience.state)}).hasState(h.w3.experienceSelected)||!T)return(0,o.jsx)("div",{className:"flex-grow flex align-middle justify-center",children:(0,o.jsx)(b.Z,{center:!0})});var M=(null===(e=u._allLocations)||void 0===e?void 0:e.find(function(e){return e.parentLocation.parentLocation.content._info.id===H}))||(null===(t=u._allLocations)||void 0===t?void 0:t[0]),S=null==M?void 0:M.parentLocation.parentLocation.content,B=(0,f.AC)(u.city),P=I.dateString2FormattedString(y+" "+N,"dd mm yy - time",{month:"short",day:"numeric",hour:"numeric",minute:"numeric",hour12:R,year:"numeric"}),O=[{icon:"location",text:B},{icon:"clock",text:P},{icon:"person",text:n("label.guests_with_count",{count:_})},];return z&&O.push({icon:"bill",text:n("reservation.total",{price:I.getPriceWithCode(z,u.currency)})}),(0,o.jsxs)(j.Z,{children:[(0,o.jsx)("div",{className:"bg-ivory",children:(0,o.jsx)("div",{className:"m-container",children:(0,o.jsxs)("div",{className:"pb-10 pl-16 md:px-24 lg:px-36",children:[(0,o.jsx)(l.C,{textType:"heading2",text:n("label.header.experience_booking_confirmation"),className:"pt-8 md:pt-10 pb-6"}),(0,o.jsx)(l.C,{textType:"body2",text:n("message.experience_booking_confirmation")})]})})}),(0,o.jsx)("hr",{className:"hr-gray"}),(0,o.jsxs)("div",{className:"m-container relative",children:[(0,o.jsx)("div",{className:"-mt-48 md:mt-20 absolute md:left-6",children:(0,o.jsx)("a",{href:"/search/experiences",className:"btn-rounded tid-searchExperience",children:(0,o.jsx)(a.Y4,{fill:"text-dark",size:30})})}),(0,o.jsxs)("div",{className:"flex flex-col md:flex-row pt-10 md:pt-20 md:px-24 lg:px-36",children:[(0,o.jsxs)("div",{className:"flex flex-col md:w-2/3 md:pb-48",children:[(0,o.jsx)(l.C,{textType:"heading2",text:u.title,className:"w-1/2 md: w-full pb-8"}),(0,o.jsx)(l.C,{textType:"body",text:(null==S?void 0:S.name)||"",className:"pb-3"}),(0,o.jsx)(l.C,{textType:"link",text:"CONFIRMATION NUMBER - "+Z,className:"uppercase pb-6"}),L&&(0,o.jsx)(l.C,{text:n("booking_status",{status:L}),textType:"disclaimer",block:!0,color:(null==L?void 0:L.toLowerCase())==="cancelled"?"danger":(null==L?void 0:L.toLowerCase())==="confirmed"?"statusGreen":"statusGold",className:"pb-12 text-12 uppercase font-bold md:hidden block"}),(0,o.jsx)("hr",{className:"hr-gray"}),L&&(0,o.jsx)(l.C,{text:n("booking_status",{status:L}),textType:"disclaimer",block:!0,color:(null==L?void 0:L.toLowerCase())==="cancelled"?"danger":(null==L?void 0:L.toLowerCase())==="confirmed"?"statusGreen":"statusGold",className:"mt-3  text-12 uppercase font-bold md:block hidden"}),(0,o.jsx)(d.Z,{iconSize:25,listItems:O,textType:"body2",className:"sm:inline-flex sm:space-x-6 pt-4 pb-10 md:pt-7"})]}),(0,o.jsxs)("div",{className:"flex flex-col md:w-1/3 pb-64 md:pl-4 lg:pl-20",children:[(0,o.jsx)(C.Z,{onClick:function(){return r.trackCtaClick(n("label.button.view_booking"),k.Wq.experienceConfirmation)},rootClassName:"tid-viewBookingExperience",label:n("label.button.view_booking"),type:"primary",size:"large",className:"uppercase mb-4",href:"/member/bookings/experience/"+Z}),u.city&&(u.city.experienceBookingViewMoreLink&&u.city.experienceBookingViewMoreText?(0,o.jsx)(C.Z,{onClick:function(){return u.city.experienceBookingViewMoreText&&r.trackCtaClick(u.city.experienceBookingViewMoreText,k.Wq.experienceConfirmation)},rootClassName:"tid-experienceBookingViewMoreText",type:"secondary",size:"large",className:"uppercase",label:u.city.experienceBookingViewMoreText,href:u.city.experienceBookingViewMoreLink}):(0,o.jsx)(C.Z,{onClick:function(){return r.trackCtaClick(n("label.button.more_experiences"),k.Wq.experienceConfirmation)},rootClassName:"tid-moreExperience",type:"secondary",size:"large",className:"uppercase",label:n("label.button.more_experiences",{citi:u.city.name}),href:"/search/experiences?cityId=".concat(u.city._info.id,"&keyword=").concat(encodeURIComponent(u.city.name))}))]})]})]}),(0,o.jsx)(c.Z,{})]})};y.getInitialProps=(0,i.Z)(function(){return(0,r.__generator)(this,function(e){return[2,{subHeaderExplore:"experiences"}]})}),t.default=(0,u.Z)(y)},78198:function(e,t,n){"use strict";var i=n(85893);n(67294);var r=function(e){var t=e.fill,n=e.size,r=void 0===n?24:n;return(0,i.jsxs)("svg",{width:r,height:r,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"mt-0.5 mx-0.5 fill-current ".concat(void 0===t?"text-primary":t),children:[(0,i.jsxs)("g",{clipPath:"url(#clip0_1_795)",children:[(0,i.jsx)("path",{d:"M4.77686 1.61719H3.29907C6.48163 1.61862 9.06057 4.23982 9.05897 7.47175C9.05756 10.7016 6.47962 13.3196 3.29907 13.321H4.77686C7.95941 13.3171 10.5364 10.6941 10.5327 7.46217C10.5291 4.23554 7.95419 1.62086 4.77686 1.61699"}),(0,i.jsx)("path",{d:"M17.6773 7.59699C17.2802 7.32284 16.7561 7.04848 16.1049 6.7421L15.5491 6.48406L15.2472 6.33882C13.8337 5.6775 12.9442 5.17754 12.8808 3.82247C12.8808 2.61284 13.7861 1.69328 15.23
113 1.69328C15.3267 1.69328 15.5535 1.71225 15.6602 1.7255C15.7206 1.73305 15.8725 1.75692 15.942 1.76814C15.9641 1.77161 16.002 1.77895 16.0143 1.7816C16.8581 1.96417 17.6401 2.41334 18.3604 3.12892L18.5828 2.29013C18.0085 1.94622 17.1478 1.63045 16.228 1.49623L16.3626 0H15.5931L15.4639 1.43564C15.4308 1.43564 15.3958 1.43524 15.3585 1.43524C13.1825 1.43524 11.6894 2.75787 11.6894 4.53213C11.6894 5.74176 12.3565 6.54831 13.1349 7.06439C13.532 7.30632 14.0241 7.58047 14.6277 7.85463L15.0883 8.06432L15.4219 8.20956C16.8196 8.88699 17.852 9.45162 17.9155 10.9515C17.9155 12.3064 16.7878 13.3065 15.2472 13.3065C15.1044 13.3065 15.0684 13.3028 14.9417 13.2957C14.8374 13.2898 14.6277 13.2582 14.6277 13.2582C13.5 13.0807 12.3724 12.4516 11.7531 11.5967L11.4829 12.5646C12.1389 12.9885 13.2568 13.3981 14.3768 13.5136L14.243 15H15.0128L15.1419 13.5646H15.1839C17.3758 13.5646 19.091 12.2742 19.091 10.2096C19.091 8.93534 18.4874 8.11267 17.6773 7.59659V7.59699Z"}),(0,i.jsx)("path",{d:"M0 1.61719V9.28068V10.5748V13.321H1.47779V10.5748V9.28068V1.61719H0Z"})]}),(0,i.jsx)("defs",{children:(0,i.jsx)("clipPath",{id:"clip0_1_795",children:(0,i.jsx)("rect",{width:"19.0909",height:"20"})})})]})};t.Z=r},14655:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var i=n(85893);n(67294);var r,o=n(2317),s=n(62736),l=n(11491),c=function(e){var t=e.size,n=void 0===t?l.J.icon:t,r=e.fill;return(0,i.jsxs)("svg",{width:n,height:n,className:"fill-current ".concat(void 0===r?"text-primary":r),viewBox:"0 0 70 70",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsx)("path",{d:"M27.58 38.4483H33.8676C35.0444 38.4483 36 37.4758 36 36.2759C36 35.0759 35.0444 34.1034 33.8676 34.1034H27.58C26.4025 34.1034 25.4483 35.0759 25.4483 36.2759C25.4483 37.4758 26.4025 38.4483 27.58 38.4483Z"}),(0,i.jsx)("path",{d:"M27.58 47.7586H43.1779C44.3548 47.7586 45.3103 46.7862 45.3103 45.5862C45.3103 44.3862 44.3548 43.4138 43.1779 43.4138H27.58C26.4025 43.4138 25.4483 44.3862 25.4483 45.5862C25.4483 46.7862 26.4025 47.7586 27.58 47.7586Z"}),(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 19.8276C18 16.0568 21.0568 13 24.8276 13H39.7241C40.218 13 40.6916 13.1962 41.0408 13.5454L51.9029 24.4075C52.2521 24.7567 52.4483 25.2303 52.4483 25.7241V51.1724C52.4483 54.9432 49.3915 58 45.6207 58H24.8276C21.0568 58 18 54.9432 18 51.1724V19.8276ZM24.8276 16.7241C23.1136 16.7241 21.7241 18.1136 21.7241 19.8276V51.1724C21.7241 52.8864 23.1136 54.2759 24.8276 54.2759H45.6207C47.3347 54.2759 48.7241 52.8864 48.7241 51.1724V26.4954L38.9528 16.7241H24.8276Z"}),(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.8621 23.2414V14.8621H41.5862V23.2414C41.5862 23.5842 41.8641 23.8621 42.2069 23.8621H50.5862C51.6146 23.8621 52.4483 24.6957 52.4483 25.7241C52.4483 26.7525 51.6146 27.5862 50.5862 27.5862H42.2069C39.8073 27.5862 37.8621 25.641 37.8621 23.2414Z"})]})},a=n(91681),d=n(78198),u=function(e){var t=e.className,n=e.reservationNumber,r=e.listItems,l=e.textColor,u=void 0===l?"dark":l,x=e.iconColor,m=void 0===x?"primary":x,p=e.textType,f=void 0===p?"link":p,h=e.reservationCodeText,b=e.iconSize,v=void 0===b?20:b,g=e.reserationDataDirection,C=e.notEligible,j=e.notEligibleHint,w=e.outsideLabelText;return(0,i.jsxs)("div",{className:t,children:[n&&(0,i.jsx)(o.Z,{text:"".concat(void 0===h?"RESERVATION NUMBER":h," - ").concat(n),textType:"link",block:!0,style:{fontSize:"12px"},className:"mb-3 break-words tid-confirmationNumber",color:u}),!!w&&(0,i.jsx)("div",{children:(0,i.jsx)("div",{style:{backgroundColor:"#bbb0dc",borderRadius:"0px 20px 20px 0px"},className:"py-1.5 pr-4 pl-6 mb-4 inline-block -ml-5",children:(0,i.jsx)(o.Z,{text:w,textType:"link",block:!0,style:{letterSpacing:"1px"},className:"break-words tid-outsideLabel",color:"white"})})}),C&&(0,i.jsxs)("div",{className:"relative mb-3",children:[(0,i.jsx)(o.Z,{text:"NOT ELIGIBLE",textType:"link",className:"text-12",color:"primary"}),j]}),r&&r.map(function(e,t){return(0,i.jsx)("div",{className:"mb-2 ".concat("horizontal"===g?"sm:inline-block sm:mr-5":""," "),children:(0,i.jsxs)("div",{className:"flex items-center",children:[(0,i.jsxs)("div",{className:"mr-1",children:["roomSize"===e.icon&&(0,i.jsx)(a.rS,{size:v,fill:s.eR[m]}),"location"===e.icon&&(0,i.jsx)(a._t,{size:v,fill:s.eR[m]}),"map"===e.icon&&(0,i.jsx)(a.Zl,{size:v,fill:s.eR[m]}),"bill"===e.icon&&(0,i.jsx)(c,{size:v,fill:s.eR[m]}),"clock"===e.icon&&(0,i.jsx)(a.T3,{size:v,fill:s.eR[m]}),"person"===e.icon&&(0,i.jsx)(a.Tk,{size:v,fill:s.eR[m]}),"doubleBed"===e.icon&&(0,i.jsx)(a.fp,{size:v,fill:s.eR[m]}),"cost"===e.icon&&(0,i.jsx)(a.S$,{size:v,fill:s.eR[m]}),"calendar"===e.icon&&(0,i.jsx)(a.Qu,{size:v,fill:s.eR[m]}),"dDollars"===e.icon&&(0,i.jsx)(d.Z,{size:v,fill:s.eR[m]}),"info"===e.icon&&(0,i.jsx)(a.Yk,{size:v,fill:s.eR[m]})]}),(0,i.jsxs)("div",{className:"mt-0.5",children:[(0,i.jsx)(o.Z,{text:e.text,html:e.html,textType:f,color:u,block:!0,className:"text-12 md:text-12"}),e.additionalContent&&(0,i.jsx)(o.Z,{text:e.additionalContent,textType:"link",color:u,block:!0,className:"text-12 md:text-12"})]})]})},t)})]})}}},function(e){e.O(0,[9774,2888,179],function(){return e(e.s=21640)}),_N_E=e.O()}]);

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.