PageSourceSearch

https://hotelzify.com/static/js/252.aa8a68ff.chunk.js

js hotelzify.com collected 2026-09-24 12:16:44 UTC 20,315 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunklanding_page=self.webpackChunklanding_page||[]).push([[252,5937],{252:(e,t,o)=>{o.r(t),o.d(t,{default:()=>g});var n=o(9379),a=o(5043),r=o(4117),l=o(7100),i=o(5937),s=(o(5016),o(3716)),c=o.n(s),d=o(5346),h=o(3976),u=o(6851),p=o(270),v=o(579);const g=()=>{const[e,t]=(0,a.useState)(),[o,s]=(0,a.useState)(),g=(0,p.N)(),[m,y]=(0,a.useState)(!1),f="sterlingholidays"===new URLSearchParams(window.location.search).get("brand"),{t:b}=(0,r.Bd)();return(0,v.jsxs)("div",{className:"modifyVerification",children:[(0,v.jsx)("main",{id:"main-content",className:"modifyVerificationContainer",children:(0,v.jsxs)("div",{className:"modifyVerificationBox",children:[(0,v.jsx)("h1",{children:b("modify_booking_title")}),(0,v.jsxs)("label",{htmlFor:"modify-booking-id",className:"visually-hidden",children:[b("enter_booking_id")," (required)"]}),(0,v.jsx)("input",{id:"modify-booking-id",type:"text",value:e,onChange:e=>t(e.target.value),placeholder:b("enter_booking_id"),"aria-required":"true",inputMode:"numeric",autoComplete:"off"}),(0,v.jsxs)("label",{htmlFor:"modify-phone",className:"visually-hidden",children:[b("enter_contact_number")," (required)"]}),(0,v.jsx)(l.Ay,{id:"modify-phone",defaultCountry:g,placeholder:b("enter_contact_number"),value:o,name:"phone",onChange:e=>{s(e)},"aria-required":"true",autoComplete:"tel"}),(0,v.jsx)("button",{type:"button",onClick:async()=>{if(!o)return void c().error("Please enter valid phone number");if(!e)return void c().error("Please enter booking id");let t=(0,l.parsePhoneNumber)(String(o)),a={dialCode:"+".concat(null===t||void 0===t?void 0:t.countryCallingCode),mobile:null===t||void 0===t?void 0:t.nationalNumber,bookingId:e};(0,d.fireGtmEvent)("modify_booking_verify",{modify:a});try{y(!0);const t=await(0,h.L3)(a);if(200===(null===t||void 0===t?void 0:t.status))window.location.href="/bookings/modify/".concat(e);else if(400===(null===t||void 0===t?void 0:t.status)){if(f)return void window.open("https://www.sterlingholidays.com/","_blank");c().error("Booking ID is not valid!")}}catch(r){(0,d.fireGtmEvent)("modify_verify_failed",(0,n.A)((0,n.A)({},a),{},{error:null===r||void 0===r?void 0:r.message}))}finally{y(!1)}},"aria-label":m?"Verifying booking details...":"Verify booking details",disabled:m,children:m?(0,v.jsx)(u.A,{}):b("verify")})]})}),(0,v.jsx)(i.default,{})]})}},270:(e,t,o)=>{o.d(t,{N:()=>h});var n=o(5043),a=o(7100),r=o(5989),l=o(7343);const i=new Set((0,a.X6)()),s=e=>{const t="string"===typeof e?e.replace(/[^a-zA-Z]/g,"").toUpperCase():"";return i.has(t)?t:null};let c=null;const d=async()=>{const e=s(r.A.get("country_code"));return e||(c||(c=(0,l.ow)().then(e=>{const t=s(null===e||void 0===e?void 0:e.country);return t?(r.A.set("ipAdress",e.ip),r.A.set("city",e.city),r.A.set("state",e.region),r.A.set("country",e.country_name),r.A.set("country_code",t),r.A.set("dialcode",e.country_calling_code),r.A.set("locationDetails",e),t):null}).catch(()=>null)),c)};function h(e){const[t,o]=(0,n.useState)(()=>s(r.A.get("country_code"))||null);return(0,n.useEffect)(()=>{if(t)return;let e=!1;return d().then(t=>{!e&&t&&o(t)}),()=>{e=!0}},[t]),console.log("hotel?.country",e),t||s(e)||"US"}},2213:e=>{var t="Invariant failed";e.exports=function(e,o){if(!e)throw new Error(t)}},3976:(e,t,o)=>{o.d(t,{Ak:()=>E,C8:()=>u,CN:()=>fe,DE:()=>_,EI:()=>re,Eh:()=>G,GO:()=>p,GR:()=>b,IB:()=>Ae,Jq:()=>we,Jy:()=>O,L3:()=>z,Lo:()=>P,MF:()=>Q,MQ:()=>Y,N7:()=>$,O2:()=>F,P$:()=>ee,PG:()=>v,PH:()=>k,PU:()=>te,QD:()=>C,Qn:()=>l,Qo:()=>s,RT:()=>L,RU:()=>ke,TP:()=>he,US:()=>q,Vz:()=>B,Wk:()=>U,Xr:()=>se,Yy:()=>f,Z1:()=>N,Zf:()=>i,_B:()=>ye,aK:()=>j,aO:()=>g,be:()=>je,bx:()=>w,cc:()=>le,cp:()=>de,dP:()=>Z,eQ:()=>m,fj:()=>ve,h0:()=>ie,hK:()=>K,iR:()=>me,j$:()=>xe,jR:()=>ue,ls:()=>pe,mA:()=>y,mI:()=>d,mN:()=>ce,nC:()=>c,r3:()=>R,rC:()=>x,t3:()=>H,tO:()=>X,te:()=>D,th:()=>oe,uB:()=>J,uR:()=>ne,um:()=>V,x7:()=>I,xD:()=>S,xp:()=>W,yD:()=>ge,yJ:()=>ae,yQ:()=>A,yX:()=>T,yZ:()=>be,zr:()=>h,zv:()=>M});var n=o(9379),a=(o(854),o(666)),r=o(6471);const l=(e,t)=>{if(r.A.isCorporateBooking()){const o=r.A.getAvailabilityEndpoint(!1);return r.A.get(o,(0,n.A)((0,n.A)({},e),{},{ln:t}))}return a.A.get("hotel/v2/hotel/availability",(0,n.A)((0,n.A)({},e),{},{ln:t}))},i=e=>a.A.get("payments/v1/gateways/hotel",e),s=(e,t,o)=>a.A.get("payments/v1/gateways/hotel",(0,n.A)((0,n.A)({},e),{},{contextType:t,contextValue:o})),c=e=>a.A.post("users/v1/getOrCreateCustomerBookingToken",e),d=e=>a.A.post("hotel/authorised/v1/bookings",e),h=e=>a.A.post("payments/authorized/v2/order/",e),u=e=>a.A.post("payments/authorized/v2/order/success",e),p=e=>a.A.post("payments/v1/gift-cards/reverse-voucher-on-dismiss",e),v=e=>a.A.get("hotel/v1/bookings",e),g=e=>a.A.get("hotel/v1/bookings",e),m=e=>a.A.get("hotel/v2/bookings",e),y=(e,t)=>a.A.put("hotel/v1/hotel/".concat(e,"/view"),t),f=(e,t)=>a.A.put("hotel/v1/hotel/".concat(e,"/whatsapp"),t),b=e=>a.A.get("hotel/v1/hotel/reviews?placeId=".concat(e)),A=e=>a.A.get("hotel/v2/hotel/reviews?hotelId=".concat(e)),x=(e,t,o)=>a.A.get("/hotel/v2/hotel/nearby-locations?latitude=".concat(t,"&longitude=").concat(o,"&hotelId=").concat(e)),k=()=>a.A.get("hotel/authorised/v2/hotel/lookups?type=pending_reason&ln=en"),j=e=>a.A.post("hotel/authorised/v1/abandonReason",e),w=e=>a.A.get("hotel/v1/hotel/instagramData?userName=".concat(e)),I=e=>a.A.get("hotel/v2/promotions/get-promotion?hotelId=".concat(e)),_=e=>a.A.get("hotel/v2/promotions/get-promotion",e),C=e=>a.A.get("hotel/authorized/v2/promotions/get-memberdeal-promotions",e),N=e=>a.A.get("hotel/v1/faq/get-faq?hotelId=".concat(e)),S=e=>a.A.post("hotel/v1/faq/add-faq",e),P=(e,t)=>a.A.get("hotel/v2/hotel/policies/".concat(e,"?ln=").concat(t)),R=e=>a.A.post("hotel/v1/bookings/cancel",e),z=e=>a.A.post("hotel/v1/bookings/cancel/info",e),E=e=>a.A.get("payments/authorised/v2/order/paymentDetails?bookingId=".concat(e)),D=(e,t)=>a.A.put("hotel/v1/hotel/".concat(e,"/").concat(t)),O=e=>a.A.post("hotel/v1/bookings/confirmation",e),T=e=>a.A.post("hotel/v1/hotel/travel-planner",e),H=(e,t)=>a.A.get("hotel/v1/hotel/is-lowest?hotelId=".concat(e,"&checkIn=").concat(t)),B=(e,t)=>a.A.get("hotel/v1/bookings/autofill?dialCode=".concat(e,"&mobile=").concat(t)),L=e=>{const t=new URLSearchParams(e).toString();return a.A.get("hotel/v2/promotions/returning-member-promotion?".concat(t))},q=e=>a.A.post("hotel/v2/promotions/verify-sterling-member",e),U=e=>a.A.post("hotel/v1/abandonReason/price-enquiry",e),G=e=>a.A.get("payments/v2/order/paymentDetails?bookingId=".concat(e)),V=e=>a.A.get("hotel/v1/profile/getProfile?hotelId=".concat(e)),K=()=>a.A.get("hotel/v1/hotel/slugs-list"),F=(e,t)=>a.A.get("hotel/v2/promotions/get-promotion-id?id=".concat(e,"&hotelId=").concat(t)),Q=e=>a.A.get("hotel/v1/pricing_and_inventory/calendar-list",e),W=e=>a.A.get("payments/v1/tax/list?hotelId=".concat(e,"&page=1&pageSize=100&getDefaultTaxes=false")),Z=e=>a.A.post("hotel/v1/bookings/prices-logs",e),$=e=>a.A.post("hotel/v1/bookings/is-room-available",e),J=e=>a.A.post("hotel/v2/promotions/validate-coupon-codes",e),M=e=>a.A.get("hotel/v2/bookings/".concat(e)),X=e=>a.A.post("hotel/authorised/v1/bookings/modify-booking",e),Y=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n="payments/v1/gateways/payment-provider?hotelId=".concat(e);return t&&(n+="&contextType=".concat(t)),o&&(n+="&contextValue=".concat(o)),a.A.get(n)},ee=e=>localStorage.getItem("corporateToken")?a.A.get("hotel/v1/corporate/agents/".concat(e)):Promise.resolve({status:404,data:null}),te=e=>a.A.get("/hotel/v1/hotel/bnpl-config?hotelId=".concat(e)),oe=e=>a.A.get("hotel/v1/chatbot/scripttag?hotelId=".concat(e)),ne=e=>a.A.post("hotel/v1/hotel/scraper/get-latest-price",e),ae=e=>a.A.get("hotel/v2/promotions/retargeting-promotion-hotel?hotelId=".concat(e)),re=e=>a.A.post("users/v1/otpCreateLoginAccount",e),le=e=>a.A.post("users/v1/otpLoginAccount",e),ie=e=>a.A.post("users/v1/verifyOtpLoginAccount",e),se=e=>a.A.post("users/v1/verifyOtpCreateLoginAccount",e),ce=e=>a.A.post("hotel/v2/bookings/is-rooms-available",e),de=e=>a.A.post("hotel/v1/hotel/inventory-retargtting",e),he=e=>a.A.get("hotel/v1/hotel/get-videos?hotelId=".concat(e)),ue=e=>a.A.post("hotel/v1/chatbot/request-voice-callback",e),pe=e=>a.A.get("hotel/v1/bookings?id=".concat(e)),ve=e=>{let{bookingId:t}=e;return a.A.post("hotel/v2/bookings/".concat(t,"/booking-token"))},ge=e=>{let{hotelId:t}=e;return a.A.get("payments/v1/gateways/cod-payment-provider?hotelId=".concat(t))},me=e=>{let{hotelId:t,checkInDate:o}=e;return a.A.get("hotel/v1/custom-messages/active?hotelId=".concat(t,"&checkInDate=").concat(o))},ye=e=>a.A.post("hotel/v1/hotel/send-roi",e),fe=e=>a.A.get("hotel/v1/pricing_and_inventory/next-available-dates",e),be=e=>a.A.get("hotel/v1/hotel/booking-engine-config?hotelId=".concat(e)),Ae=(e,t,o)=>a.A.get("hotel/v2/hotel/nearby-hotels-availability?hotelId=".concat(e,"&checkInDate=").concat(t,"&checkOutDate=").concat(o)),xe=e=>a.A.get("hotel/v2/hotel/chain-hotels-lite-v2?chainId=".concat(e)),ke=(e,t,o,n)=>a.A.post("hotel/v1/loyalty/validate",{programName:e,memberId:t,amount:o,hotelId:n}),je=e=>a.A.post("payments/v1/gift-cards/balance",e),we=e=>{let{hotelId:t}=e;return a.A.get("payments/v1/gift-cards/enabled",{hotelId:t})}},5323:(e,t,o)=>{function n(e){return e&&"object"==typeof e&&"default"in e?e.default:e}var a=o(3751),r=n(o(5043)),l=o(6046);o(5173),o(8620);var i=n(o(2213));function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e}).apply(this,arguments)}function c(e,t){e.prototype=Object.create(t.prototype),d(e.prototype.constructor=e,t)}
1function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e,t){if(null==e)return{};var o,n,a={},r=Object.keys(e);for(n=0;n<r.length;n++)o=r[n],0<=t.indexOf(o)||(a[o]=e[o]);return a}var u=function(e){function t(){for(var t,o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return(t=e.call.apply(e,[this].concat(n))||this).history=l.createBrowserHistory(t.props),t}return c(t,e),t.prototype.render=function(){return r.createElement(a.Router,{history:this.history,children:this.props.children})},t}(r.Component),p=function(e){function t(){for(var t,o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return(t=e.call.apply(e,[this].concat(n))||this).history=l.createHashHistory(t.props),t}return c(t,e),t.prototype.render=function(){return r.createElement(a.Router,{history:this.history,children:this.props.children})},t}(r.Component),v=function(e,t){return"function"==typeof e?e(t):e},g=function(e,t){return"string"==typeof e?l.createLocation(e,null,null,t):e},m=function(e){return e},y=r.forwardRef;void 0===y&&(y=m);var f=y(function(e,t){var o=e.innerRef,n=e.navigate,a=e.onClick,l=h(e,["innerRef","navigate","onClick"]),i=l.target,c=s({},l,{onClick:function(t){try{a&&a(t)}catch(e){throw t.preventDefault(),e}t.defaultPrevented||0!==t.button||i&&"_self"!==i||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(t)||(t.preventDefault(),n())}});return c.ref=m!==y&&t||o,r.createElement("a",c)}),b=y(function(e,t){var o=e.component,n=void 0===o?f:o,c=e.replace,d=e.to,u=e.innerRef,p=h(e,["component","replace","to","innerRef"]);return r.createElement(a.__RouterContext.Consumer,null,function(e){e||i(!1);var o=e.history,a=g(v(d,e.location),e.location),h=a?o.createHref(a):"",f=s({},p,{href:h,navigate:function(){var t=v(d,e.location),n=l.createPath(e.location)===l.createPath(g(t));(c||n?o.replace:o.push)(t)}});return m!==y?f.ref=t||u:f.innerRef=u,r.createElement(n,f)})}),A=function(e){return e},x=r.forwardRef;void 0===x&&(x=A);var k=x(function(e,t){var o=e["aria-current"],n=void 0===o?"page":o,l=e.activeClassName,c=void 0===l?"active":l,d=e.activeStyle,u=e.className,p=e.exact,m=e.isActive,y=e.location,f=e.sensitive,k=e.strict,j=e.style,w=e.to,I=e.innerRef,_=h(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return r.createElement(a.__RouterContext.Consumer,null,function(e){e||i(!1);var o=y||e.location,l=g(v(w,o),o),h=l.pathname,C=h&&h.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),N=C?a.matchPath(o.pathname,{path:C,exact:p,sensitive:f,strict:k}):null,S=!!(m?m(N,o):N),P="function"==typeof u?u(S):u,R="function"==typeof j?j(S):j;S&&(P=function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return t.filter(function(e){return e}).join(" ")}(P,c),R=s({},R,d));var z=s({"aria-current":S&&n||null,className:P,style:R,to:l},_);return A!==x?z.ref=t||I:z.innerRef=I,r.createElement(b,z)})});Object.defineProperty(t,"W6",{enumerable:!0,get:function(){return a.useHistory}}),Object.defineProperty(t,"zy",{enumerable:!0,get:function(){return a.useLocation}})},5937:(e,t,o)=>{o.r(t),o.d(t,{default:()=>h});var n=o(5043),a=o(2582),r=o(4117),l=o(1526),i=o(5989),s=o(5346),c=o(5323),d=o(579);const h=e=>{let{isHotel:t=!0,slug:o="",id:h="",name:u="",brandName:p=""}=e;const[v,g]=(0,n.useState)("en"),m=(0,c.zy)(),y=(0,c.W6)(),[f]=(0,n.useState)(["www.bookmystay.io","bookmystay.io","dev.hotelzify.com","hotelzify.com","www.hotelzify.com"].includes(window.location.host)),[b]=(0,n.useState)(["dev.hotelzify.com","hotelzify.com","www.hotelzify.com","localhost:3005","booking.sterlingholidays.com","bookings.mhohotels.com","bookings.thealtruisthotels.com","bookings.subahotels.com","bookings.burgbnb.com","bookings.fernhotels.com","bookings.thealtitudehotels.com","stay.clubmahindra.com","bookings.rocklandhotels.com","bookings.oliveliving.com","booking.openhotels.in","booking.envihotel.com","owniacollection.com"].includes(window.location.host)),{t:A}=(0,r.Bd)();(0,n.useEffect)(()=>{let e=i.A.get("lang")||"en";g(e)},[]);return(0,d.jsxs)("footer",{className:"footer",id:"footer",role:"contentinfo",children:[(0,d.jsxs)("div",{className:"footerTexts",children:[!t&&(0,d.jsx)("p",{children:(0,d.jsx)(a.N_,{style:{textDecoration:"none",color:"var(--text-gray)"},to:"/privacy-policy",children:A("privacy_policy")})}),!t&&(0,d.jsx)("p",{children:(0,d.jsx)(a.N_,{style:{textDecoration:"none",color:"var(--text-gray)"},to:"/terms-conditions",children:A("terms_and_conditions")})}),t&&(0,d.jsxs)("label",{htmlFor:"language-selector",style:{display:"flex",justifyContent:"center",alignItems:"center",gap:"10px"},children:[(0,d.jsx)("span",{id:"language-selector-label",children:A("change_language")}),(0,d.jsxs)("select",{id:"language-selector",name:"language",style:{border:"none",background:"transparent"}
1,value:v,onChange:e=>{var t,o;let n=e.target.value;(0,s.fireGtmEvent)("language_changed",{languageSelected:n});const a=new URLSearchParams(m.search);a.set("language",n),y.push({pathname:m.pathname,search:a.toString()}),g(n),i.A.set("lang",n),(0,l.Ip)(n),null===(t=window)||void 0===t||null===(o=t.location)||void 0===o||o.reload()},"aria-labelledby":"language-selector-label",children:[(0,d.jsx)("option",{value:"en",children:"English"}),(0,d.jsx)("option",{value:"hi",children:"Hindi"}),(0,d.jsx)("option",{value:"de",children:"German"}),(0,d.jsx)("option",{value:"ar",children:"Arabic"}),(0,d.jsx)("option",{value:"zh",children:"Chinese"}),(0,d.jsx)("option",{value:"hr",children:"Croatian"}),(0,d.jsx)("option",{value:"cs",children:"Czech"}),(0,d.jsx)("option",{value:"fr",children:"French"}),(0,d.jsx)("option",{value:"it",children:"Italian"}),(0,d.jsx)("option",{value:"pl",children:"Polish"}),(0,d.jsx)("option",{value:"pt",children:"Portuguese"}),(0,d.jsx)("option",{value:"sl",children:"Slovenian"}),(0,d.jsx)("option",{value:"es",children:"Spanish"})]})]}),t&&(0,d.jsx)("p",{children:(0,d.jsx)(a.N_,{style:{textDecoration:"none",color:"var(--text-gray)"},to:{pathname:b?"/".concat(o,"/privacy-policy"):"/privacy-policy",state:{slug:o}},children:A("privacy_policy")})}),t&&(0,d.jsx)("p",{children:(0,d.jsx)(a.N_,{style:{textDecoration:"none",color:"var(--text-gray)"},to:{pathname:b?"/".concat(o,"/terms-conditions"):"/terms-conditions",state:{slug:o}},children:A("terms_and_conditions")})}),(0,d.jsxs)("p",{style:{display:"flex",gap:"5px"},children:[A("powered_by")," ",(0,d.jsxs)("a",{href:"https://hotelzify.com",target:"_blank",rel:"noopener noreferrer","aria-label":"Visit Hotelzify website (opens in new tab)",children:[" ","Hotelzify"]})]})]}),(0,d.jsx)("div",{className:"footerAddress",style:{color:"#000"},children:(0,d.jsxs)("p",{style:{textTransform:"uppercase"},children:[A("copyrights")," \xa9"," ",null!==p&&void 0!==p&&p.trim()?p:u.split("|")[0]||u,"."," ",A("all_rights_reserved")]})}),!t&&(0,d.jsxs)("div",{className:"footerAddress",children:[(0,d.jsxs)("p",{children:[A("please_reach_us_at")," ",(0,d.jsx)("a",{href:"tel:+917975660291","aria-label":"Call Hotelzify at 79756 60291",children:"79756 60291"})]}),(0,d.jsx)("p",{children:"S4-101, Greenwood Regency, Bengaluru, Karnataka 560035"})]})]})}},6471:(e,t,o)=>{o.d(t,{A:()=>v});var n=o(9379),a=o(854),r=o.n(a),l=o(8173),i=o(5346),s=o(5989),c=o(6695);const d=r().create({baseURL:(h="https://api.hotelzify.com/",null!==h&&void 0!==h&&h.endsWith("/")?h.slice(0,-1):h)});var h;d.interceptors.request.use(e=>{const t=localStorage.getItem("corporateToken"),o=localStorage.getItem("corporateHotelId"),a=localStorage.getItem("corporateAgentId");if(console.log({corporateAgentId:a,corporateHotelId:o,corporateToken:t}),t&&o)e.headers.Authorization="Bearer ".concat(t),console.log({request:e}),"get"===e.method&&a&&(e.params=(0,n.A)((0,n.A)({},e.params),{},{corporateAgentId:a})),["post","put","patch"].includes(e.method)&&a&&e.data&&(e.data=(0,n.A)((0,n.A)({},e.data),{},{corporateAgentId:a}));else{const t=s.A.get("token");t&&(e.headers.Authorization="Bearer monne ".concat(t))}return e}),d.interceptors.response.use(null,e=>{const{status:t}=(null===e||void 0===e?void 0:e.response)||{};if(401===t){localStorage.removeItem("corporateToken"),localStorage.removeItem("corporateHotelId"),localStorage.removeItem("corporateAgentId"),s.A.remove("token");const e=new URLSearchParams(window.location.search),t=e.get("hotelId");e.get("corporate")&&t?window.location.href="/corporate-booking?hotelId=".concat(t,"&returnUrl=").concat(encodeURIComponent(window.location.pathname+window.location.search)):l.b.push("/")}return Promise.reject(e)});const u=async e=>{try{const{data:t}=await d(e);return 400===(null===t||void 0===t?void 0:t.status)&&(0,i.fireGtmEvent)("api_error",{url:null===e||void 0===e?void 0:e.url,params:null===e||void 0===e?void 0:e.params,payload:null===e||void 0===e?void 0:e.data,data:t}),t}catch(a){var t,o,n;if((null===a||void 0===a||null===(t=a.response)||void 0===t?void 0:t.status)>=500)(0,c.Cp)("API: ".concat(null===e||void 0===e||null===(n=e.url)||void 0===n?void 0:n.slice(0,30)," Failed!"),{data:{request:e,error:a}});return(0,i.fireGtmEvent)("api_error",{url:null===e||void 0===e?void 0:e.url,axiosObject:e,error:a}),(null===a||void 0===a||null===(o=a.response)||void 0===o?void 0:o.data)||{}}},p={get:(e,t)=>u({method:"GET",url:e,params:t}),post:(e,t)=>
1u({method:"POST",url:e,data:t}),put:(e,t)=>u({method:"PUT",url:e,data:t}),patch:(e,t)=>u({method:"PATCH",url:e,data:t}),delete:(e,t)=>u({method:"DELETE",url:e,data:t}),isCorporateBooking:()=>!!localStorage.getItem("corporateToken")&&!!localStorage.getItem("corporateHotelId"),getAvailabilityEndpoint:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return p.isCorporateBooking()?"hotel/authorized/v2/hotel/availability":e?"hotel/v2/hotel/availability/rateplan":"hotel/v2/hotel/availability"},clearCorporateSession:()=>{localStorage.clear()}},v=p},6851:(e,t,o)=>{o.d(t,{A:()=>a});o(5043);var n=o(579);const a=()=>(0,n.jsxs)("div",{className:"loader",children:[(0,n.jsx)("div",{className:"bar1"}),(0,n.jsx)("div",{className:"bar2"}),(0,n.jsx)("div",{className:"bar3"}),(0,n.jsx)("div",{className:"bar4"}),(0,n.jsx)("div",{className:"bar5"}),(0,n.jsx)("div",{className:"bar6"}),(0,n.jsx)("div",{className:"bar7"}),(0,n.jsx)("div",{className:"bar8"}),(0,n.jsx)("div",{className:"bar9"}),(0,n.jsx)("div",{className:"bar10"}),(0,n.jsx)("div",{className:"bar11"}),(0,n.jsx)("div",{className:"bar12"})]})},8620:(e,t,o)=>{o.r(t),o.d(t,{default:()=>n});const n=function(e,t){}}}]);
2//# sourceMappingURL=252.aa8a68ff.chunk.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.