PageSourceSearch

https://www.saffronstays.com/static/js/4214.870ac924.chunk.js

js saffronstays.com collected 2026-10-06 04:51:16 UTC 5,216 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkmy_app=self.webpackChunkmy_app||[]).push([[4214],{8955:(e,t,i)=>{i.d(t,{r:()=>c});var n,s,a=i(47313);function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},l.apply(this,arguments)}function r(e,t){let{title:i,titleId:r,...c}=e;return a.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:18,height:18,viewBox:"0 0 18 18",fill:"none",ref:t,"aria-labelledby":r},c),i?a.createElement("title",{id:r},i):null,n||(n=a.createElement("g",{clipPath:"url(#clip0_4069_4085)"},a.createElement("path",{d:"M9 1.5C4.86 1.5 1.5 4.86 1.5 9C1.5 13.14 4.86 16.5 9 16.5C13.14 16.5 16.5 13.14 16.5 9C16.5 4.86 13.14 1.5 9 1.5ZM9.75 12.75H8.25V8.25H9.75V12.75ZM9.75 6.75H8.25V5.25H9.75V6.75Z",fill:"#2D66A1"}))),s||(s=a.createElement("defs",null,a.createElement("clipPath",{id:"clip0_4069_4085"},a.createElement("rect",{width:18,height:18,fill:"white"})))))}const c=a.forwardRef(r);i.p},11501:(e,t,i)=>{i.d(t,{Z:()=>h});var n,s,a,l=i(47313);function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},r.apply(this,arguments)}function c(e,t){let{title:i,titleId:c,...o}=e;return l.createElement("svg",r({width:69,height:69,viewBox:"0 0 69 69",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":c},o),i?l.createElement("title",{id:c},i):null,n||(n=l.createElement("rect",{width:69,height:69,rx:34.5,fill:"#11BF0E"})),s||(s=l.createElement("rect",{width:69,height:69,rx:34.5,fill:"black",fillOpacity:.2})),a||(a=l.createElement("path",{d:"M54.5234 21.4342C53.3386 20.1849 51.3634 20.1299 50.1122 21.3177L30.1913 40.21L20.6896 30.4544C19.4862 29.2197 17.5131 29.1926 16.2773 30.3962C15.0426 31.5986 15.0166 33.5738 16.219 34.8085L27.8686 46.7692C28.4791 47.3964 29.2905 47.7125 30.104 47.7125C30.8758 47.7125 31.6476 47.4275 32.2519 46.8565L54.407 25.8456C55.6572 24.6598 55.7101 22.6845 54.5234 21.4342Z",fill:"white"})))}const o=l.forwardRef(c);i.p;var d=i(46417);const h=e=>{let{heading:t,subHeading:i}=e;return(0,d.jsx)("div",{className:"bidding-success-popup-wrapper",children:(0,d.jsxs)("div",{className:"bidding-success-popup-content",children:[(0,d.jsxs)("div",{className:"bidding-success-popup-header",children:[(0,d.jsx)(o,{}),(0,d.jsx)("h3",{children:"Thank you!"})]}),(0,d.jsx)("div",{className:"bidding-success-popup-body",children:(0,d.jsxs)("p",{children:[t,(0,d.jsx)("br",{}),i]})})]})})}},34214:(e,t,i)=>{i.r(t),i.d(t,{default:()=>u});var n=i(47313),s=i(2135),a=i(8955),l=i(31881),r=i.n(l),c=i(41757),o=i(11501),d=i(11120),h=i(46417);const u=()=>{const[e]=(0,s.lr)(),[t,i]=n.useState(!1),[l,u]=n.useState(""),[p,m]=n.useState(""),[g,b]=n.useState(!1),f=`\n\u2705 Booking Claimed via Bidding Program\n\n\t\ud83d\ude4b\u200d\u2640\ufe0f Member: ${l}\n\n\t\ud83d\udcde Contact: ${p}\n\n\t\ud83c\udd94 Booking ID: ${e.get("bookingId")}\n\n\t\ud83d\udd17 Claim Form: https://www.saffronstays.com/guestBidClaim?bookingId=${e.get("bookingId")}\n\n\t\u26a0\ufe0f Please verify and coordinate manually. 10% convenience fee applicable.`;return g?(0,h.jsx)(d.default,{shouldShow:!0,onRequestClose:()=>{},children:(0,h.jsx)(o.Z,{heading:"Your interest has been recorded.",subHeading:"If your request is accepted, our team will get in touch shortly for the next steps"})}):(0,h.jsx)("div",{className:"guest-bid-claim-wrapper",children:(0,h.jsx)("div",{className:"guest-bid-claim-container",children:(0,h.jsx)("div",{className:"guest-bid-claim-content",children:(0,h.jsxs)("div",{className:"guest-bid-claim-details",children:[(0,h.jsx)("div",{className:"guest-bid-claim-header",children:(0,h.jsx)("p",{children:"Place a Bid for Booking"})}),(0,h.jsxs)("div",{className:"guest-bid-claim-note",children:[(0,h.jsx)("span",{children:(0,h.jsx)(a.r,{})}),(0,h.jsx)("p",{children:"This booking is available on a first-come, first-serve basis at the listed price (no negotiation). Once claimed, our team will get in touch for confirmation and payment."})]}),(0,h.jsxs)("div",{className:"guest-bid-claim-input",children:[(0,h.jsx)("p",{children:"Name"}),(0,h.jsx)("input",{onChange:e=>{u(e.target.value)},type:"text",placeholder:"Your Name"})]}),(0,h.jsxs)("div",{className:"guest-bid-claim-input",style:{marginTop:"20px"},children:[(0,h.jsx)("p",{children:"Phone Number"}),(0,h.jsx)("input",{onChange:e=>{m(e.target.value)},type:"tel",placeholder:"+91"})]}),(0,h.jsxs)("div",{className:"guest-bid-claim-btn",children:[(0,h.jsx)("button",{onClick:()=>{window.location.href="/"},children:"Cancel"}),(0,h.jsx)("button",{onClick:async()=>{i(!0);try{const e=await r().post("https://hooks.slack.com/services/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",JSON.stringify({text:f}),{transformRequest:[(e,t)=>e]});"ok"===(null===e||void 0===e?void 0:e.data)&&(i(!1),b(!0),setTimeout((()=>{window.location.reload()}),3e3))}catch(e){r().isAxiosError(e)&&console.log(null===e||void 0===e?void 0:e.message)}},disabled:t,children:t?(0,h.jsx)(c.Z,{color:"white"}):"Claim this Booking"})]})]})})})})}}}]);

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.