(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2874],{17495:function(e,t,n){Promise.resolve().then(n.bind(n,68496)),Promise.resolve().then(n.bind(n,99969))},68496:function(e,t,n){"use strict";n.d(t,{Page:function(){return c}});var i=n(57437),r=n(2265),s=n(57818),o=n(16463),u=n(22323),l=n(93031);let a=(0,s.default)(()=>Promise.all([n.e(7067),n.e(4868),n.e(6803),n.e(231),n.e(89),n.e(6157),n.e(9935),n.e(9644),n.e(5295),n.e(7087),n.e(7318),n.e(853),n.e(8082),n.e(6950),n.e(2738),n.e(8257)]).then(n.bind(n,88257)),{loadableGenerated:{webpack:()=>[88257]},loading:()=>null,ssr:!1}),c=e=>{let{noAuth:t,children:n}=e,s=(0,o.usePathname)(),u=(0,l.Z)();return t||"logged"===u?(0,i.jsx)(r.Suspense,{fallback:null,children:(0,i.jsx)(d,{children:n},s)}):"loading"!==u?(0,i.jsx)(a,{}):null},d=e=>{let{children:t}=e,{pageId:n}=(0,u.a2)();return(0,i.jsx)(r.Fragment,{children:t},n)}},99969:function(e,t,n){"use strict";n.d(t,{Enter:function(){return s}});var i=n(57437),r=n(12738);let s=()=>(0,i.jsx)("div",{className:"app-padding-x flex flex-1 flex-col items-center justify-center py-16",children:(0,i.jsx)(r.gx,{title:"Login"})})},22323:function(e,t,n){"use strict";n.d(t,{LK:function(){return u},a2:function(){return o}});var i=n(13e3),r=n(25055);let s=(0,i.Ue)(()=>({pageId:"",isPopState:!1})),o=()=>({...s(e=>e)}),u=()=>{l()},l=()=>{if(window.__hookHistoryState)return;window.__hookHistoryState=!0;let e=window.history.pushState,t=window.history.replaceState;window.addEventListener("popstate",()=>{queueMicrotask(()=>{s.setState({isPopState:!0})})}),window.history.pushState=function(t,n,i){var o;let u=null!==(o=null==t?void 0:t.pageId)&&void 0!==o?o:(0,r.DO)();queueMicrotask(()=>{s.setState({pageId:u,isPopState:!1})}),e.call(this,{...t,pageId:u},n,i)},window.history.replaceState=function(e,n,i){var o,u,l;let a=null!==(l=null!==(u=null==e?void 0:e.pageId)&&void 0!==u?u:null===(o=history.state)||void 0===o?void 0:o.pageId)&&void 0!==l?l:(0,r.DO)();queueMicrotask(()=>{s.setState({pageId:a})}),t.call(this,{...e,pageId:a},n,i)}};l()},93031:function(e,t,n){"use strict";var i=n(27376);t.Z=()=>(0,i.F)(e=>e.user).status},27376:function(e,t,n){"use strict";n.d(t,{F:function(){return i}});let i=(0,n(13e3).Ue)(e=>({user:{status:"loading",user:null,is_new:!1},setUser:t=>e({user:t})}))},25055:function(e,t,n){"use strict";n.d(t,{DO:function(){return o},Xz:function(){return r},io:function(){return s},kC:function(){return i}});let i=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{allWords:n=!0}=t;return n?e.split(" ").map(e=>0===e.length?e:e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()).join(" "):0===e.length?e:e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()},r=e=>{let t;let n=[],i=/[\s\S]/gu;for(;null!==(t=i.exec(e));)n.push(t[0]);return n},s=(e,t)=>e.length>t?e.slice(0,t)+"...":e,o=()=>crypto.randomUUID()}},function(e){e.O(0,[7067,4868,6803,231,89,6157,9935,9644,4903,7087,7318,853,8082,6950,2738,2971,3526,1744],function(){return e(e.s=17495)}),_N_E=e.O()}]);