1!function(){try{var n="u">typeof window?window:"u">typeof global?global:"u">typeof self?self:{},e=(new n.Error).stack;e&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[e]="86424b3d-7e8e-46cb-a5f3-3da64808b726",n._sentryDebugIdIdentifier="sentry-dbid-86424b3d-7e8e-46cb-a5f3-3da64808b726")}catch(n){}}();var _global="u">typeof window?window:"u">typeof global?global:"u">typeof self?self:{};_global.SENTRY_RELEASE={id:"57ecc7b471fce630a9a83e03af7702d6977a38be"};"use strict";(self.webpackChunkopus1io=self.webpackChunkopus1io||[]).push([["11719"],{96577:function(n,e,t){var r=t(84577),i=t(74848);t(96540);var o=t(17378),a=t(5556),s=t.n(a),c=t(20615);function l(){var n=(0,r._)(["\n cursor: pointer;\n "]);return l=function(){return n},n}function u(){var n=(0,r._)(["\n display: flex;\n align-items: center;\n min-height: 110px;\n color: #b1b8c8;\n font-size: 20px;\n\n ","\n"]);return u=function(){return n},n}var d=o.Ay.div(u(),n=>(0,c.wb)(n.onClick)(l())),f=n=>{var{message:e,onClick:t}=n;return(0,i.jsx)(d,{className:"text-danger",onClick:t,children:e})};f.propTypes={message:s().string,onClick:s().func},f.defaultProps={message:"An error has occurred",onClick:void 0},e.A=f},53114:function(n,e,t){t.r(e),t.d(e,{SlotClientAttributes:function(){return nP}}),t(41374);var r=t(84577);t(45336),t(23446),t(79936),t(82963),t(84560),t(60726),t(13467),t(42273),t(93632);var i=t(74848),o=t(78258);t(96540);var a=t(52956),s=t(17378),c=t(16517),l=t(50613),u=t(59003),d=t(20615),f=t(50926),m=t(96577),x=t(60597),p=t(54713),h=t(71098),v=t(61734),g=t(53894),b=t(78677);function _(){var n=(0,r._)(["\n query sessionEventProgramQuery(\n $business: String!\n $serviceId: ID!\n $sessionId: ID!\n ) {\n service(business: $business, id: $serviceId) {\n id\n name\n mainPhoto\n requiresBooking\n hasSessions\n sessions(id: $sessionId) {\n id\n name\n allowEnrollmentUntilDate\n maxAllowedSlots\n eventDurationAllowedPercentage\n clientEnrollmentAttributes {\n name\n appearsInProgram\n type\n }\n events {\n id\n serviceId\n sessionId\n name\n onlineId\n isLocked\n isLockedForSelfBooking\n location {\n id\n name\n locationType\n address\n }\n roomName\n startAt\n endAt\n staff {\n peopleId\n name\n profilePhoto\n eventRole\n }\n slotsDuration\n slots {\n id\n enrolledAt\n order\n waitlist\n status\n duration\n enrolledBy {\n id\n name\n }
1\n clients {\n id\n name\n profilePhoto\n ageYears\n }\n attributes {\n name\n text\n duration\n boolean\n staff {\n id\n name\n profilePhoto\n }\n }\n }\n }\n }\n }\n }\n"]);return _=function(){return n},n}function y(){var n=(0,r._)(["\n width: 100%;\n object-fit: cover;\n position: absolute;\n top: 0px;\n "]);return y=function(){return n},n}function j(){var n=(0,r._)(["\n height: 300px;\n object-fit: contain;\n\n ","\n"]);return j=function(){return n},n}function w(){var n=(0,r._)(["\n padding: 8px;\n max-width: 300px;\n max-height: 150px;\n"]);return w=function(){return n},n}function A(){var n=(0,r._)(["\n position: relative;\n height: 300px;\n\n margin-top: -8px;\n margin-left: -8px;\n width: calc(100% + 16px);\n "]);return A=function(){return n},n}function k(){var n=(0,r._)(["\n display: flex;\n box-shadow: 0px 0px 20px 3px rgb(60 70 85 / 10%);\n justify-content: space-between;\n margin-bottom: 25px;\n\n ","\n"]);return k=function(){return n},n}function N(){var n=(0,r._)(["\n position: absolute;\n top: 0px;\n height: 100%;\n z-index: 3;\n "]);return N=function(){return n},n}function I(){var n=(0,r._)(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n width: 100%;\n align-items: center;\n\n ","\n"]);return I=function(){return n},n}function M(){var n=(0,r._)(["\n padding: 8px;\n "]);return M=function(){return n},n}function L(){var n=(0,r._)(["\n max-width: 1080px;\n margin: 0 auto !important;\n float: none !important;\n padding: 25px;\n\n ","\n"]);return L=function(){return n},n}function z(){var n=(0,r._)(["\n display: block;\n "]);return z=function(){return n},n}function $(){var n=(0,r._)(["\n position: absolute;\n top: 0px;\n width: 100%;\n height: 100%;\n background-color: rgba(0, 0, 0, 50%);\n display: none;\n\n ","\n"]);return $=function(){return n},n}function P(){var n=(0,r._)(["\n margin: 15px;\n color: white;\n "]);return P=function(){return n},n}function C(){var n=(0,r._)(["\n font-family: 'Montserrat', tahoma;\n font-size: 40px;\n font-weight: bold;\n line-height: 42px;\n margin: 25px;\n text-align: center;\n\n ","\n"]);return C=function(){return n},n}function E(){var n=(0,r._)(["\n cursor: pointer;\n"]);return E=function(){return n},n}function Y(){var n=(0,r._)(["\n font-size: 14px;"]);return Y=function(){return n},n}function D(){var n=(0,r._)(["font-size: 14px;"]);return D=function(){return n},n}function F(){var n=(0,r._)(["\n width: 100%;\n font-family: 'Montserrat', tahoma;\n font-weight: normal !important;\n font-size: 16px;\n border-radius: 3px;\n margin-bottom: 10px;\n color: #3c384b;\n hover: "," ",";\n"]);return F=function(){return n},n}function S(){var n=(0,r._)(["\n font-weight: bold;\n font-size: 18px;\n"]);return S=function(){return n},n}function H(){var n=(0,r._)(["\n font-size: 14px;\n"]);return H=function(){return n},n}function T(){var n=(0,r._)(["\n font-size: 14px;\n "]);return T=function(){return n},n}function O(){var n=(0,r._)(["\n font-size: 14px;\n "]);return O=function(){return n},n}function V(){var n=(0,r._)(["\n width: 100%;\n font-family: 'Montserrat', tahoma;\n font-weight: normal !important;\n font-size: 16px;\n border-radius: 3px;\n margin-bottom: 10px;\n color: #3c384b;\n background-color: white;\n padding: 30px 10px !important;\n box-shadow: 0px 0px 20px 3px rgb(60 70 85 / 10%);\n\n ","\n\n ","\n"]);return V=function(){return n},n}function X(){var n=(0,r._)(["\n flex-direction: column;\n "]);return X=function(){return n},n}function q(){var n=(0,r._)(["\n display: flex;\n flex-direction: row;\n overflow: hidden;\n width: 100%;\n\n ","\n"]);return q=function(){return n},n}function B(){var n=(0,r._)(["\n margin: 0px;\n margin-bottom: 15px;\n "]);return B=function(){return n},n}function W(){var n=(0,r._)(["\n font-size: 20px;\n font-weight: bold;\n line-height: 22px;\n margin: 15px;\n margin-right: 25px;
1\n align-self: center;\n\n ","\n"]);return W=function(){return n},n}function R(){var n=(0,r._)(["\n margin: 0px;\n "]);return R=function(){return n},n}function Z(){var n=(0,r._)(["\n margin: 0px;\n background: none;\n "]);return Z=function(){return n},n}function J(){var n=(0,r._)(["\n align-self: center;\n margin-right: 15px;\n\n ","\n\n ","\n"]);return J=function(){return n},n}function U(){var n=(0,r._)(["\n min-width: 200px;\n "]);return U=function(){return n},n}function Q(){var n=(0,r._)(["\n .graphic {\n width: 40px !important;\n height: 40px !important;\n div div span {\n line-height: 40px !important;\n font-size: 14px !important;\n }\n }\n "]);return Q=function(){return n},n}function G(){var n=(0,r._)(["\n display: flex;\n flex-direction: row;\n align-items: center;\n margin-bottom: 5px;\n min-width: 300px;\n\n ",";\n\n ",";\n"]);return G=function(){return n},n}function K(){var n=(0,r._)(["\n font-weight: 600;\n"]);return K=function(){return n},n}function nn(){var n=(0,r._)(["\n width: unset;\n "]);return nn=function(){return n},n}function ne(){var n=(0,r._)(["\n margin-right: 0px;\n "]);return ne=function(){return n},n}function nt(){var n=(0,r._)(["\n padding-top: 10px;\n padding-bottom: 10px;\n padding-right: 10px;\n width: 100%;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n\n ",";\n\n ","\n"]);return nt=function(){return n},n}function nr(){var n=(0,r._)(["\n margin-right: 15px;\n font-weight: 600;\n"]);return nr=function(){return n},n}function ni(){var n=(0,r._)(["\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n background: none;\n"]);return ni=function(){return n},n}function no(){var n=(0,r._)(["\n margin-left: 15px;\n margin-right: 15px;\n"]);return no=function(){return n},n}function na(){var n=(0,r._)(["\n margin-top: 25px;\n margin-bottom: 25px;\n"]);return na=function(){return n},n}var ns=(0,o.J1)(_()),nc=s.Ay.img(j(),d.$_.tablet(y())),nl=s.Ay.img(w()),nu=s.Ay.div(k(),d.$_.tablet(A())),nd=s.Ay.div(I(),d.$_.tablet(N())),nf=s.Ay.div(L(),d.Xu.mobileLg(M())),nm=s.Ay.div($(),d.$_.tablet(z())),nx=s.Ay.div(C(),d.$_.tablet(P())),np=s.Ay.div(E()),nh=s.Ay.div(F(),d.Xu.tablet(Y()),d.Xu.mobileLg(D())),nv=s.Ay.div(S()),ng=s.Ay.div(H()),nb=n=>{var{session:e,service:t}=n,r=(0,u.Ay)(t.mainPhoto,800,600,"service"),o=(0,a.useSelector)(n=>n.app.business),s=(0,u.Ay)(o.uiLogoUrl,null,null,"service");return(0,i.jsxs)(nu,{children:[(0,i.jsxs)(nd,{children:[(0,i.jsx)(nl,{src:s}),(0,i.jsx)(nx,{id:"event-program-title",children:e.name})]}),(0,i.jsx)(nc,{src:r}),(0,i.jsx)(nm,{})]})},n_=n=>{var{business:e}=n;return(0,i.jsxs)("div",{className:"mb-3 d-flex justify-content-center",children:[e.facebookLink&&(0,i.jsx)("a",{href:e.facebookLink,children:(0,i.jsx)("img",{src:(0,u.Ay)("3f2aa7a7-1667-4874-a0eb-6bbdfa69a40e",24,24,"common"),alt:"social",className:"mr-4"})}),e.instagramLink&&(0,i.jsx)("a",{href:e.instagramLink,children:(0,i.jsx)("img",{src:(0,u.Ay)("013b92ee-79fa-46ba-ba08-4eee26999405",24,24,"common"),alt:"social",className:"mr-4"})}),e.twitterLink&&(0,i.jsx)("a",{href:e.twitterLink,children:(0,i.jsx)("img",{src:(0,u.Ay)("ba76be42-131c-467c-9065-62693dd83f91",24,24,"common"),alt:"social"})})]})},ny=s.Ay.div(V(),d.Xu.tablet(T()),d.Xu.mobileLg(O())),nj=s.Ay.div(q(),d.$_.tabletMd(X())),nw=s.Ay.div(W(),d.$_.tabletMd(B())),nA=s.Ay.div(J(),d.$_.tabletMd(R()),d.$_.tablet(Z())),nk=s.Ay.div(G(),d.$_.tabletMd(U()),d.$_.mobileLg(Q())),nN=s.Ay.div(K()),nI=n=>{var{client:e}=n;return(0,i.jsxs)(nk,{children:[(0,i.jsx)(x.H8,{size:45,user:e}),(0,i.jsx)(nN,{className:"slot-client",children:e.name})]})},nM=s.Ay.div(nt(),d.$_.tabletMd(nn()),d.$_.phone(ne())),nL=s.Ay.div(nr()),nz=s.Ay.div(ni()),n$=(0,s.Ay)(n=>{var{className:e}=n;return(0,i.jsx)("div",{className:e,children:"/"})})(no()),nP=n=>{var{slot:e,session:{clientEnrollmentAttributes:t}}=n,r=(0,b.C)(t,e.attributes);return(0,i.jsxs)(nM,{children:[["_1","_2","_3"].map(n=>(0,i.jsx)("div",{className:"d-flex flex-row",children:r.filter(e=>!!e.text&&e.name.endsWith(n)).map(n=>(0,i.jsx)(nz,{children:n.text})).reduce((n,e)=>null===n?e:(0,i.jsxs)(i.Fragment,{children:[n,(0,i.jsx)(n$,{}),e]}),null)},n)),r.filter(n=>!!n.text&&!n.name.endsWith("_1")&&!n.name.endsWith("_2")&&!n.name.endsWith("_3")).map(n=>(0,i.jsxs)("div",{className:"d-flex",children:[(0,i.jsx)(nL,{children:"".concat((0,f.ZH)(n.name.replace(/_/g," ")),": ")}),(0,i.jsx)(nz,{children:n.text})]},n.name)),r.filter(n=>!!n.staff).map(n=>(0,i.jsxs)("div",{className:"d-flex",children:[(0,i.jsx)(nL,{children:"".concat((0,f.ZH)(n.name.replace(/_/g," ")),": ")}),(0,i.jsx)(nz,{children:(0,f.nx)(n.staff.name," ")})]},n.name)),r.filter(n=>"boolean"==typeof n.boolean).map(n=>(0,i.jsxs)("div",{className:"d-flex",children:[(0,i.jsx)(nL,{children:"".concat((0,f.ZH)(n.name.replace("_"," ")),": ")}),(0,i.jsx)(nz,{children:n.boolean?(0,i.jsx)("i",{className:"fas fa-check text-success"}):(0,i.jsx)("i",{className:"fas fa-times text-danger"})})]},n.name))]})},nC=n=>{var{event:e,slot:t,session:r}=n;return(0,i.jsx)(ny,{className:"event-slot",children:(0,i.jsxs)(nj,{children:[(0,i.jsx)(nw,{className:"slot-order",children:t.order}),(0,i.jsx)(nA,{children:(t.clients||[]).map(n=>(0,i.jsx)(nI,{client:n},"".concat(n.id,":").concat(t.id)))}),(0,i.jsx)(nP,{slot:t,session:r})]})})},nE=s.Ay.div(na()),nY=n=>{var{session:e,event:t}=n,r=(0,g.A)();return(0,i.jsxs)(nE,{className:"event-program-list",id:"event-list-".concat(t.id),children:[(0,i.jsx)(h.H1,{className:"event-list-title",children:t.name}),(0,i.jsxs)(h.H3,{children:["".concat(r(t.startAt).format("dddd, MMMM Do YYYY")," - "),"".concat(r(t.startAt).format("h:mma")," to ").concat(r(t.endAt).format("h:mma")," "),"LOCATION_TYPE_ONLINE"===t.location.locationType?t.onlineId&&(0,i.jsxs)(i.Fragment,{children:[" - ",(0,i.jsx)("a",{target:"_blank",rel:"noreferrer",href:t.onlineId,children:"Join Online"})]}):(0,i.jsxs)(i.Fragment,{children:[" - ",(0,i.jsx)("a",{target:"_blank",rel:"noreferrer",href:"https://maps.apple.com/?q=".concat(t.location.address),children:"".concat(t.location.name," ").concat(t.roomName?" - ".concat(t.roomName):"")})]})]}),(t.slots||[]).filter(n=>{var e;return!n.waitlist&&[c.xm,c.PV].includes(n.status)&&n.order&&(null==(e=n.clients)?void 0:e.length)}).sort((n,e)=>n.order>e.order?1:-1).map(n=>(0,i.jsx)(nC,{slot:n,session:e},n.id))]})},nD=n=>{var{session:e}=n,t=(0,g.A)();return(0,i.jsx)(i.Fragment,{children:e.events.map(n=>(0,i.jsx)(np,{onClick:()=>{var e;return e=n.id,void document.getElementById("event-list-".concat(e)).scrollIntoView({behavior:"smooth"})},children:(0,i.jsxs)(nh,{children:[(0,i.jsx)(nv,{className:"event-program-title",children:(0,i.jsx)("u",{children:n.name})}),(0,i.jsxs)(ng,{children:["".concat(t(n.startAt).format("dddd, MMMM Do YYYY")," - "),"".concat(t(n.startAt).format("h:mma")," to ").concat(t(n.endAt).format("h:mma")," "),"LOCATION_TYPE_ONLINE"===n.location.locationType?n.onlineId&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("br",{}),"Location: Online"]}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("br",{}),"Location:"," ","".concat(n.location.name," ").concat(n.roomName?" - ".concat(n.roomName):"")]})]})]})},n.id))})},nF=n=>{var{session:e}=n;return(0,i.jsxs)("div",{className:"mb-5 event-program-sessions",children:[(0,i.jsx)(h.H1,{children:"Sessions"}),(0,i.jsx)(nD,{session:e})]})};e.default=n=>{var{match:e}=n,t=(0,a.useSelector)(n=>n.app.business),{serviceId:r,sessionId:o}=e.params||{},{data:s,loading:c,error:u,refetch:d}=(0,l.A)({query:ns,variables:{business:t.name,serviceId:r,sessionId:o},processor:n=>n.service});if(c)return(0,i.jsxs)("div",{children:[(0,i.jsx)(v.A,{}),(0,i.jsx)("p",{className:"text-center",children:"This can take a few seconds - please hold"})]});if(u)return(0,i.jsx)(m.A,{children:u});var[f]=s.sessions;return f?(0,i.jsxs)(nf,{children:[(0,i.jsx)(nb,{service:s,session:f}),f.events.length>1&&(0,i.jsx)(nF,{session:f}),f.events.map(n=>(0,i.jsx)(nY,{session:f,event:n},n.id)),(0,i.jsx)(n_,{session:f,business:t}),(0,i.jsx)(p.c,{business:t})]}):(0,i.jsx)(m.A,{children:"Invalid session"})}},71098:function(n,e,t){t.d(e,{H1:function(){return d},H2:function(){return f},H3:function(){return m},P:function(){return x}});var r=t(84577),i=t(17378),o=t(80418);function a(){var n=(0,r._)(["\n color: ",";\n font-family: ",";\n font-size: 30px;\n font-weight: bold;\n line-height: 37px;\n"]);return a=function(){return n},n}function s(){var n=(0,r._)(["\n color: ",";\n font-family: ",";\n font-size: 30px;\n font-weight: bold;\n line-height: 37px;\n"]);return s=function(){return n},n}function c(){var n=(0,r._)(["\n color: ",";\n font-family: ",";\n font-size: 24px;\n font-weight: bold;\n line-height: 29px;\n"]);return c=function(){return n},n}function l(){var n=(0,r._)(["\n color: ",";\n font-family: ",";\n font-size: 15px;\n font-weight: bold;\n line-height: 19px;\n"]);return l=function(){return n},n}function u(){var n=(0,r._)(["\n color: ",";\n font-family: ",";\n font-size: 12px;\n line-height: 16px;\n"]);return u=function(){return n},n}i.Ay.h1(a(),n=>n.theme.businessPrimaryColor,o.VM);var d=i.Ay.h1(s(),n=>n.theme.businessPrimaryFontColor,o.VM),f=i.Ay.h1(c(),n=>n.theme.businessPrimaryFontColor,o.VM),m=i.Ay.h1(l(),n=>n.theme.businessPrimaryFontColor,o.VM),x=i.Ay.p(u(),n=>n.theme.businessSecondaryFontColor,o.VM)},78677:function(n,e,t){t.d(e,{C:function(){return r}}),t(82963),t(45336),t(84560),t(79936),t(23446);var r=(n,e)=>{var t=e.reduce((n,e)=>(n[e.name]=e,n),{});return n.filter(n=>n.name in t&&n.appearsInProgram).map(n=>t[n.name])}}}]); 2//# sourceMappingURL=11719.9ba16431.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.