1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4799],{39695:function(e,t,o){"use strict";var n=o(47300),a=o(10404),l=o(9008),i=o.n(l),r=o(41664),c=o.n(r),u=(o(67294),o(31096)),s=o(85893),f=u.ZP.div.withConfig({displayName:"ChildAccountInviteLayout__Layout",componentId:"sc-1l067yb-0"})(["width:100vw;min-height:100vh;display:flex;flex-direction:column;padding:20px;background-color:#f0f0f0;"]),d=u.ZP.div.withConfig({displayName:"ChildAccountInviteLayout__Body",componentId:"sc-1l067yb-1"})(["flex-grow:1;width:100%;display:grid;place-items:center;"]),p=u.ZP.div.withConfig({displayName:"ChildAccountInviteLayout__Stack",componentId:"sc-1l067yb-2"})(["display:flex;flex-direction:column;align-items:center;gap:30px;"]);t.Z=function(e){var t=e.icon,o=e.children,l=e.title,r=e.pageTitle,u=void 0===r?"Child Account Onboarding":r,x=(0,a.P)().isTabletOrMobile;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(i(),{children:(0,s.jsx)("title",{children:u})}),(0,s.jsxs)(f,{children:[(0,s.jsx)(c(),{href:"/",passHref:!0,children:(0,s.jsx)(h,{src:"/rezeve-logo-black.svg",width:154})}),(0,s.jsx)(d,{children:(0,s.jsxs)(p,{children:[t&&t,(0,s.jsxs)(v,{children:[(0,s.jsx)(n.ZT,{color:"#010101",fontSize:x?"20px":"24px",lineHeight:"30px",fontWeight:"700",mb:"12px",children:l}),o]})]})}),(0,s.jsxs)(y,{children:["\xa9 Rezerv. All rights reserved."," "]})]})]})};var h=(0,u.ZP)("img").withConfig({displayName:"ChildAccountInviteLayout___StyledImg",componentId:"sc-1l067yb-3"})(["margin:20px 0px 0px 20px;cursor:pointer;"]),v=(0,u.ZP)("div").withConfig({displayName:"ChildAccountInviteLayout___StyledDiv",componentId:"sc-1l067yb-4"})(["text-align:center;"]),y=(0,u.ZP)(n.ZT).withConfig({displayName:"ChildAccountInviteLayout___StyledTypography",componentId:"sc-1l067yb-5"})(["margin-bottom:20px;text-align:center;color:black;"])},44019:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDomainLocale=function(e,t,o,n){return!1};("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7942:function(e,t,o){"use strict";var n=o(85696);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(92648).Z,l=o(17273).Z,i=a(o(67294)),r=o(64957),c=o(57995),u=o(30647),s=o(51992),f=o(90639),d=o(44019),p=o(70227),h={};function v(e,t,o,n){if(e&&r.isLocalURL(t)){Promise.resolve(e.prefetch(t,o,n)).catch((function(e){0}));var a=n&&"undefined"!==typeof n.locale?n.locale:e&&e.locale;h[t+"%"+o+(a?"%"+a:"")]=!0}}var y=i.default.forwardRef((function(e,t){var o,a=e.href,y=e.as,x=e.children,m=e.prefetch,g=e.passHref,_=e.replace,C=e.shallow,b=e.scroll,j=e.locale,w=e.onClick,L=e.onMouseEnter,P=e.onTouchStart,R=e.legacyBehavior,k=void 0===R?!0!==Boolean(!1):R,N=l(e,["href","as","children","prefetch","passHref","replace","shallow","scroll","locale","onClick","onMouseEnter","onTouchStart","legacyBehavior"]);o=x,!k||"string"!==typeof o&&"number"!==typeof o||(o=i.default.createElement("a",null,o));var I=!1!==m,T=i.default.useContext(u.RouterContext),Z=i.default.useContext(s.AppRouterContext);Z&&(T=Z);var E,A=i.default.useMemo((function(){var e=r.resolveHref(T,a,!0),t=n(e,2),o=t[0],l=t[1];return{href:o,as:y?r.resolveHref(T,y):l||o}}),[T,a,y]),M=A.href,O=A.as,S=i.default.useRef(M),B=i.default.useRef(O);k&&(E=i.default.Children.only(o));var H=k?E&&"object"===typeof E&&E.ref:t,U=f.useIntersection({rootMargin:"200px"}),D=n(U,3),K=D[0],z=D[1],F=D[2],G=i.default.useCallback((function(e){B.current===O&&S.current===M||(F(),B.current=O,S.current=M),K(e),H&&("function"===typeof H?H(e):"object"===typeof H&&(H.current=e))}),[O,H,M,F,K]);i.default.useEffect((function(){var e=z&&I&&r.isLocalURL(M),t="undefined"!==typeof j?j:T&&T.locale,o=h[M+"%"+O+(t?"%"+t:"")];e&&!o&&v(T,M,O,{locale:t})}),[O,M,z,j,I,T]);var W={ref:G,onClick:function(e){k||"function"!==typeof w||w(e),k&&E.props&&"function"===typeof E.props.onClick&&E.props.onClick(e),e.defaultPrevented||function(e,t,o,n,a,l,c,u,s,f){if("A"!==e.currentTarget.nodeName.toUpperCase()||!function(e){var t=e.currentTarget.target;return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)&&r.isLocalURL(o)){e.preventDefault();var d=function(){"beforePopState"in t?t[a?"replace":"push"](o,n,{shallow:l,locale:u,scroll:c}):t[a?"replace":"push"](o,{forceOptimisticNavigation:!f})};s?i.default.startTransition(d):d()}}(e,T,M,O,_,C,b,j,Boolean(Z),I)},onMouseEnter:function(e){k||"function"!==typeof L||L(e),k&&E.props&&"function"===typeof E.props.onMouseEnter&&E.props.onMouseEnter(e),!I&&Z||r.isLocalURL(M)&&v(T,M,O,{priority:!0})},onTouchStart:function(e){k||"function"!==typeof P||P(e),k&&E.props&&"function"===typeof E.props.onTouchStart&&E.props.onTouchStart(e),!I&&Z||r.isLocalURL(M)&&v(T,M,O,{priority:!0})}};if(!k||g||"a"===E.type&&!("href"in E.props)){var q="undefined"!==typeof j?j:T&&T.locale,X=T&&T.isLocaleDomain&&d.getDomainLocale(O,q,T.locales,T.domainLocales);W.href=X||p.addBasePath(c.addLocale(O,q,T&&T.defaultLocale))}return k?i.default.cloneElement(E,W):i.default.createElement("a",Object.assign({},N,W),o)}));t.default=y,("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
1dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},51992:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TemplateContext=t.GlobalLayoutRouterContext=t.LayoutRouterContext=t.AppRouterContext=void 0;var n=(0,o(92648).Z)(o(67294)),a=n.default.createContext(null);t.AppRouterContext=a;var l=n.default.createContext(null);t.LayoutRouterContext=l;var i=n.default.createContext(null);t.GlobalLayoutRouterContext=i;var r=n.default.createContext(null);t.TemplateContext=r},18047:function(e,t,o){"use strict";o.r(t);var n=o(31096),a=o(57953),l=o(58255),i=o(39695),r=o(11163),c=(o(67294),o(74107)),u=o(13959),s=o(85893);t.default=function(){var e=(0,r.useRouter)(),t=e.query.code,o=(0,a.Ap)("/master-data/invitation/parent-child-user-info/".concat(t),{shouldFetch:!!t}),n=o.data,l=o.error,d=null===n||void 0===n?void 0:n.data;return(l||e.isReady&&!e.query.code)&&e.replace("/"),d?(0,s.jsx)(i.Z,{icon:(0,s.jsx)(c.jOl,{}),title:"Welcome to ".concat(null===d||void 0===d?void 0:d.parentUserName,"'s family account"),children:(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(f,{fromAccount:!0,width:"max-content",onClick:function(){return e.push("/account/bookings")},children:"Go to my booking"})})}):(0,s.jsx)(u.Z,{width:"200px",height:"200px"})};var f=(0,n.ZP)(l.hO).withConfig({displayName:"success___StyledBlackButton",componentId:"sc-1rt8x4n-0"})(["margin:auto;"])},13959:function(e,t,o){"use strict";var n=o(67162),a=(o(67294),o(31096)),l=o(67288),i=o(85893);t.Z=function(e){var t=e.width,o=void 0===t?"140px":t,a=e.height,c=void 0===a?"140px":a,u=e.color,s=void 0===u?"":u,f=e.className,d=(0,n.vH)().textColor,p=s||d;return(0,i.jsx)(r,{fillColor:p,className:f,children:(0,i.jsx)(l.nI,{style:{width:o,height:c},src:"/lotties/loadingAnimation.lottie",loop:!0,autoplay:!0})})};var r=a.ZP.div.withConfig({displayName:"loading__Wrapper",componentId:"sc-i8pai6-0"})(["path{fill:",";}"],(function(e){return e.fillColor}))},81751:function(e,t,o){(window.__NEXT_P=window.__NEXT_P||[]).push(["/invite/child-account/[code]/success",function(){return o(18047)}])},41664:function(e,t,o){e.exports=o(7942)}},function(e){e.O(0,[9774,2888,179],(function(){return t=81751,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
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.