1/*! For license information please see 8931.3abb9b3271.js.LICENSE.txt */ 2"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[8931,29397,49285,51778,63409,74159,86064,96540],{63409:function(e,t,r){r.r(t),r.d(t,{BookingProvider:function(){return a},useBooking:function(){return u}});var n=r(96540);const o=(0,n.createContext)(null),a=({uniqueKey:e,id:t,trans:r,locale:a,children:u})=>{const[l,c]=(0,n.useState)(null),[i,s]=(0,n.useState)(!0),[f,p]=(0,n.useState)(null),[d,y]=(0,n.useState)(""),[m,h]=(0,n.useState)(""),[b,v]=(0,n.useState)(new Date),[E,_]=(0,n.useState)(""),[S,w]=(0,n.useState)(null);(0,n.useEffect)(()=>{g()},[e]);const g=()=>{s(!0),c(null),y(""),h(""),v(new Date),_(""),w(null),fetch(`/booking/${e}/booking_days`).then(e=>{if(!e.ok)throw new Error("Error loading booking days");return e.json()}).then(e=>{c(e)}).catch(e=>{p(e.message)}).finally(()=>{s(!1)})};return n.createElement(o.Provider,{value:{id:t,uniqueKey:e,bookingData:l,loading:i,error:f,trans:r,locale:a,name:d,setName:y,email:m,setEmail:h,selectedDate:b,setSelectedDate:v,selectedTime:E,setSelectedTime:_,bookedHash:S,setBookedHash:w,resetAll:g}},u)},u=()=>(0,n.useContext)(o)},8931:function(e,t,r){r.r(t);var n=r(96540),o=r(63409),a=r(49285);t.default=()=>{const{trans:e,bookingData:t,selectedDate:r,selectedTime:u}=(0,o.useBooking)();return n.createElement(n.Fragment,null,n.createElement("div",{className:"mt-5 mb-4"},n.createElement(a.default,null)),n.createElement("div",{className:"fw-bold fs-4 mb-3"},e["Your booking request has been sent!"]),n.createElement("div",{className:"mb-3"},e["Weâve received your request for"]," ",n.createElement("span",{className:"fw-bold"},t.title),","," ",n.createElement("span",{className:"fw-bold"},r.toLocaleDateString("en-CA"))," ",e.at," ",n.createElement("span",{className:"fw-bold"},u),"."," ",e["The organizer will review it shortly."]),n.createElement("div",{className:"mb-5"},e["Youâll get an email confirmation once your booking is approved."]))}},49285:function(e,t,r){r.r(t);var n=r(96540);t.default=()=>n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:181,height:123,fill:"none"},n.createElement("g",{clipPath:"url(#a)"},n.createElement("path",{fill:"#F5E7F8",d:"m150.592 57.717 4.766 36.52c1.152 8.825-5.16 16.922-14.1 18.087l-83.723 10.928c-8.946 1.157-17.117-5.043-18.27-13.868L34.5 72.864a15.894 15.894 0 0 1 .965-7.882 16.342 16.342 0 0 1 13.14-10.199l83.73-10.913a16.36 16.36 0 0 1 15.324 6.489 15.897 15.897 0 0 1 2.934 7.358Z"}),n.createElement("path",{fill:"#F5E7F8",d:"m145.256 51.81-10.862 9.232-35.163 29.896a4.09 4.09 0 0 1-5.733.747L48.141 69.473l-9.27-4.54a4.086 4.086 0 0 1-.747-5.73l7.418-9.638 13.977-18.16 22.009-28.59a4.083 4.083 0 0 1 5.732-.747l28.607 21.993L131.1 35.77l13.412 10.31a4.091 4.091 0 0 1 .744 5.729Z"}),n.createElement("path",{fill:"#3E4957",d:"M145.726 52.258 99.69 91.389a4.74 4.74 0 0 1-6.547.857l-54.63-26.754-.043-.048a4.736 4.736 0 0 1-.865-6.633L81.007 2.424a4.73 4.73 0 0 1 6.64-.867l57.253 44.01a4.742 4.742 0 0 1 .865 6.638l-.039.053ZM98.757 90.487l46.036-39.132a3.442 3.442 0 0 0-.67-4.774L86.873 2.566a3.442 3.442 0 0 0-4.828.63L38.64 59.584a3.445 3.445 0 0 0 .582 4.788l54.622 26.75.043.048c.61.474 1.363.725 2.135.713a3.426 3.426 0 0 0 2.694-1.343l.04-.054Z"}),n.createElement("path",{fill:"#fff",d:"m129.665 24.81 4.728 36.233L99.23 90.94a4.09 4.09 0 0 1-5.733.747L48.14 69.474l-4.367-33.463a2.528 2.528 0 0 1 2.185-2.836l80.861-10.546a2.533 2.533 0 0 1 2.846 2.18Z"}),n.createElement("path",{fill:"#3E4957",d:"m135.065 61.3-.254.232-35.117 29.85a4.725 4.725 0 0 1-6.527.848L47.56 69.895l-4.411-33.8a3.167 3.167 0 0 1 2.739-3.534L126.743 22a3.162 3.162 0 0 1 3.547 2.725l4.775 36.576Zm-36.3 29.196.05-.045 34.906-29.669-4.685-35.894a1.885 1.885 0 0 0-.725-1.26 1.897 1.897 0 0 0-1.404-.375l-80.87 10.544a1.902 1.902 0 0 0-1.64 2.128l4.322 33.127 45.108 22.09.043.048a3.454 3.454 0 0 0 4.847-.632l.049-.062Z"}),n.createElement("path",{fill:"#3E4957",d:"M123.959 37.338a.547.547 0 0 1-.305.14L52.397 46.77a.565.565 0 0 1-.146-1.12l71.257-9.286a.563.563 0 0 1 .456.98l-.005-.005ZM125.479 48.98a.574.574 0 0 1-.307.142L53.915 58.41a.563.563 0 0 1-.146-1.115l71.257-9.29a.564.564 0 0 1 .456.98l-.003-.004ZM126.997 60.62a.548.548 0 0 1-.304.141l-71.25 9.3a.565.565 0 0 1-.145-1.12l71.257-9.286a.563.563 0 0 1 .456.98l-.014-.015Z"})),n.createElement("defs",null,n.createElement("clipPath",{id:"a"},n.createElement("path",{fill:"#fff",d:"M.5 0h180v123H.5z"}))))},15287:function(e,t){var r=Symbol.for("react.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),c=Symbol.for("react.context"),i=Symbol.for("react.forward_ref"),s=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),d=Symbol.iterator;var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,h={};function b(e,t,r){this.props=e,this.context=t,this.refs=h,this.updater=r||y}function v(){}function E(e,t,r){this.props=e,this.context=t,this.refs=h,this.updater=r||y}b.prototype.isReactComponent={},b.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=b.prototype;var _=E.prototype=new v;_.constructor=E,m(_,b.prototype),_.isPureReactComponent=!0;var S=Array.isArray,w=Object.prototype.hasOwnProperty,g={current:null},k={key:!0,ref:!0,__self:!0,__source:!0};
vendor: 5,182 bytes, lines 2-3
2function C(e,t,n){var o,a={},u=null,l=null;if(null!=t)for(o in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(u=""+t.key),t)w.call(t,o)&&!k.hasOwnProperty(o)&&(a[o]=t[o]);var c=arguments.length-2;if(1===c)a.children=n;else if(1<c){for(var i=Array(c),s=0;s<c;s++)i[s]=arguments[s+2];a.children=i}if(e&&e.defaultProps)for(o in c=e.defaultProps)void 0===a[o]&&(a[o]=c[o]);return{$$typeof:r,type:e,key:u,ref:l,props:a,_owner:g.current}}function $(e){return"object"==typeof e&&null!==e&&e.$$typeof===r}var R=/\/+/g;function L(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(e){return t[e]})}(""+e.key):t.toString(36)}function j(e,t,o,a,u){var l=typeof e;"undefined"!==l&&"boolean"!==l||(e=null);var c=!1;if(null===e)c=!0;else switch(l){case"string":case"number":c=!0;break;case"object":switch(e.$$typeof){case r:case n:c=!0}}if(c)return u=u(c=e),e=""===a?"."+L(c,0):a,S(u)?(o="",null!=e&&(o=e.replace(R,"$&/")+"/"),j(u,t,o,"",function(e){return e})):null!=u&&($(u)&&(u=function(e,t){return{$$typeof:r,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(u,o+(!u.key||c&&c.key===u.key?"":(""+u.key).replace(R,"$&/")+"/")+e)),t.push(u)),1;if(c=0,a=""===a?".":a+":",S(e))for(var i=0;i<e.length;i++){var s=a+L(l=e[i],i);c+=j(l,t,o,s,u)}else if(s=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=d&&e[d]||e["@@iterator"])?e:null}(e),"function"==typeof s)for(e=s.call(e),i=0;!(l=e.next()).done;)c+=j(l=l.value,t,o,s=a+L(l,i++),u);else if("object"===l)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return c}function P(e,t,r){if(null==e)return e;var n=[],o=0;return j(e,n,"","",function(e){return t.call(r,e,o++)}),n}function x(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)},function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var D={current:null},O={transition:null},N={ReactCurrentDispatcher:D,ReactCurrentBatchConfig:O,ReactCurrentOwner:g};function T(){throw Error("act(...) is not supported in production builds of React.")}t.Children={map:P,forEach:function(e,t,r){P(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return P(e,function(){t++}),t},toArray:function(e){return P(e,function(e){return e})||[]},only:function(e){if(!$(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=b,t.Fragment=o,t.Profiler=u,t.PureComponent=E,t.StrictMode=a,t.Suspense=s,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=N,t.act=T,t.cloneElement=function(e,t,n){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=m({},e.props),a=e.key,u=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(u=t.ref,l=g.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(i in t)w.call(t,i)&&!k.hasOwnProperty(i)&&(o[i]=void 0===t[i]&&void 0!==c?c[i]:t[i])}var i=arguments.length-2;if(1===i)o.children=n;else if(1<i){c=Array(i);for(var s=0;s<i;s++)c[s]=arguments[s+2];o.children=c}return{$$typeof:r,type:e.type,key:a,ref:u,props:o,_owner:l}},t.createContext=function(e){return(e={$$typeof:c,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},t.createElement=C,t.createFactory=function(e){var t=C.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:i,render:e}},t.isValidElement=$,t.lazy=function(e){return{$$typeof:p,_payload:{_status:-1,_result:e},_init:x}},t.memo=function(e,t){return{$$typeof:f,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=O.transition;O.transition={};try{e()}finally{O.transition=t}},t.unstable_act=T,t.useCallback=function(e,t){return D.current.useCallback(e,t)},t.useContext=function(e){return D.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return D.current.useDeferredValue(e)},t.useEffect=function(e,t){return D.current.useEffect(e,t)},t.useId=function(){return D.current.useId()},t.useImperativeHandle=function(e,t,r){return D.current.useImperativeHandle(e,t,r)},t.useInsertionEffect=function(e,t){return D.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return D.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return D.current.useMemo(e,t)},t.useReducer=function(e,t,r){return D.current.useReducer(e,t,r)},t.useRef=function(e){return D.current.useRef(e)},t.useState=function(e){return D.current.useState(e)},t.useSyncExternalStore=function(e,t,r){return D.current.useSyncExternalStore(e,t,r)},t.useTransition=function(){return D.current.useTransition()},t.version="18.3.1"},96540:function(e,t,r){e.exports=r(15287)}}]); 3//# sourceMappingURL=8931.3abb9b3271.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.