"use strict";(self.webpackChunkwax_cloud_wallet_frontend=self.webpackChunkwax_cloud_wallet_frontend||[]).push([[4875],{3997:function(e,n,t){t.d(n,{r:function(){return w}});var i,r,o=t(74165),a=t(15861),s=t(29439),c=t(30168),l=t(44781),d=t(46473),u=l.ZP.div(i||(i=(0,c.Z)(["\n width: 100%;\n max-width: ",";\n height: 100%;\n margin-bottom: 16px;\n cursor: pointer;\n position: relative;\n\n .label {\n position: absolute;\n width: 31px;\n height: 20px;\n right: 8px;\n top: 8px;\n\n background: rgba(255, 255, 255, 0.4);\n backdrop-filter: blur(2px);\n\n font-family: 'Titillium Web';\n font-style: normal;\n font-weight: 700;\n font-size: 12px;\n line-height: 16px;\n display: flex;\n justify-content: center;\n align-items: center;\n\n color: #ffffff;\n }\n\n img {\n width: 100%;\n height: 100%;\n }\n"])),d.Pm),p=l.ZP.div(r||(r=(0,c.Z)(["\n width: 100%;\n max-width: ",";\n height: 100%;\n border-radius: 16px;\n margin-bottom: 16px;\n cursor: pointer;\n position: relative;\n\n .label {\n position: absolute;\n width: 31px;\n height: 20px;\n right: 8px;\n top: 8px;\n\n background: rgba(255, 255, 255, 0.4);\n backdrop-filter: blur(2px);\n\n font-family: 'Titillium Web';\n font-style: normal;\n font-weight: 700;\n font-size: 12px;\n line-height: 16px;\n\n display: flex;\n justify-content: center;\n align-items: center;\n\n color: #ffffff;\n }\n\n img {\n width: 100%;\n border-radius: 12px;\n object-fit: contain;\n }\n"])),d.Pm),h=t(47313),m=t(59624),g=t(14133),f=t(94876),x=t(46417),w=(0,h.memo)((function(e){var n,t=e.imgId,i=e.height,r=e.type,c=(0,h.useState)(!1),l=(0,s.Z)(c,2),d=l[0],w=l[1],v=(0,h.useState)(null),C=(0,s.Z)(v,2),j=C[0],b=C[1];(0,h.useEffect)((function(){t&&S()}),[t]);var S=function(){return(n=n||(0,a.Z)((0,o.Z)().mark((function e(){var n,i,r,a;return(0,o.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return w(!0),console.count("[AtomicAds]loadImage"),e.prev=2,e.next=5,f.$L.getAds(t);case 5:null!==(i=e.sent)&&void 0!==i&&null!==(n=i.data)&&void 0!==n&&n.booking&&(a=null===i||void 0===i||null===(r=i.data)||void 0===r?void 0:r.booking,b(a)),e.next=11;break;case 9:e.prev=9,e.t0=e.catch(2);case 11:return e.prev=11,w(!1),e.finish(11);case 14:case"end":return e.stop()}}),e,null,[[2,9,11,14]])})))).apply(this,arguments)};return d&&"card"===r?(0,x.jsx)(x.Fragment,{}):d?(0,x.jsx)(u,{children:(0,x.jsx)(g.Z.Button,{active:!0,size:"large",block:!0})}):"card"===r?(0,x.jsx)(x.Fragment,{children:j?(0,x.jsx)(m.Z,{xs:12,sm:12,md:6,xl:6,xxl:6,children:(0,x.jsxs)(p,{onClick:function(){window.open(null===j||void 0===j?void 0:j.targetUrl,"_blank")},children:[(0,x.jsx)("img",{height:i,src:null===j||void 0===j?void 0:j.imageUrl,alt:"card-ads"}),(0,x.jsx)("div",{className:"label",children:"AD"})]})}):null}):(0,x.jsx)(x.Fragment,{children:j?(0,x.jsxs)(u,{onClick:function(){window.open(null===j||void 0===j?void 0:j.targetUrl,"_blank")},children:[(0,x.jsx)("img",{height:i,src:null===j||void 0===j?void 0:j.imageUrl,alt:"banner-ads"}),(0,x.jsx)("div",{className:"label",children:"AD"})]}):null})}))},72527:function(e,n,t){t.d(n,{W:function(){return l}});var i=t(44781),r=t(37460),o=(0,i.ZP)(r.Z).withConfig({componentId:"sc-1pimtos-0"})(["right:6.25%;top:6.25%;bottom:6.25%;"]),a=i.ZP.div.withConfig({componentId:"sc-1pimtos-1"})(["padding:8px;display:flex;flex-direction:column;justify-content:center;align-items:center;.tool-img-1{margin-bottom:13px;width:25px;height:25px;}"]),s=i.ZP.div.withConfig({componentId:"sc-1pimtos-2"})(["color:",";white-space:pre-wrap;font-size:14px;text-align:left;font-family:'Inter';font-weight:400;font-size:12px;line-height:15px;.title{font-style:normal;font-weight:600;color:",";margin-bottom:4px;}span{color:",";text-decoration:none;background-color:transparent;outline:none;cursor:pointer;-webkit-transition:color 0.3s;-moz-transition:color 0.3s;transition:color 0.3s;font-weight:400;}"],(function(e){return e.theme.antTooltipColorBody}),(function(e){return e.theme.antTooltipColorTitle}),(function(e){return e.theme.antTooltipColorBody})),c=t(46417),l=function(e){var n=e.placement,t=void 0===n?"topLeft":n,i=e.text,r=e.children;return(0,c.jsx)(c.Fragment,{children:(0,c.jsx)(o,{placement:t,trigger:["hover","click"],title:i?(0,c.jsx)(a,{children:(0,c.jsx)(s,{children:i})}):void 0,children:r})})}},66752:function(e,n,t){t.r(n),t.d(n,{default:function(){return Ze}});var i=t(37762),r=t(1413),o=t(74165),a=t(15861),s=t(29439),c=t(44781),l=t(86136),d=t(46473),u="500px",p=c.ZP.div.withConfig({componentId:"sc-1e0sjc0-0"})(["width:100%;display:flex;justify-content:center;align-items:center;flex-direction:column;padding:"," 0;.new-sign-in-div-1{font-family:",";font-style:normal;font-weight:400;font-size:",";line-height:",";text-align:center;text-transform:uppercase;color:",";}.new-sign-in-div-2{margin-top:32px;width:100%;padding:24px;max-width:",";background:",";border-radius:24px;box-shadow:",";display:flex;flex-direction:column;justify-content:flex-start;align-items:center;}.new-sign-in-img-2{width:160px;height:24px;}.new-sign-in-div-3{width:100%;font-family:'Titillium Web';font-style:normal;font-weight:700;font-size:24px;line-height:32px;text-align:center;letter-spacing:-0.01em;color:",";& span{color:",";}}.new-sign-in-div-4{font-family:'Titillium Web';font-style:normal;font-weight:400;font-size:16px;line-height:24px;text-align:center;color:",";margin-bottom:40px;}.new-sign-in-div-5{font-family:'Open Sans';font-style:normal;font-weight:600;font-size:14px;line-height:18px;color:",";width:100%;}.new-sign-in-div-6{width:100%;margin-top:4px;margin-bottom:16px;}.new-sign-in-div-7{font-family:'Titillium Web';font-style:normal;font-weight:700;font-size:12px;line-height:14px;letter-spacing:0.04em;text-transform:uppercase;text-align:right;width:100%;a{color:",";&:hover{cursor:pointer;transition:all ease 0.5s;opacity:0.8;}}}.new-sign-in-div-8{margin-top:40px;width:100%;display:flex;justify-content:space-between;align-items:center;}.new-sign-in-div-9{width:30%;}.new-sign-in-div-10{width:calc(100% - 30% - 8px);}.new-sign-in-div-11{margin:24px 0px;background:",";width:100%;padding:16px 24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;font-family:'Open Sans';font-style:normal;font-weight:400;font-size:12px;line-height:18px;text-align:center;text-transform:capitalize;color:",";&.error{color:",";background:",";}}.new-sign-in-img-11{width:14px;height:14px;margin-right:8px;}.new-sign-in-div-12{width:100%;margin-top:24px;}@media (max-width:","){.new-sign-in-div-2{max-width:unset;}}"],d.Zh.destop,(function(e){return e.theme.newSignTitleFontFamily}),(function(e){return e.theme.newSignTitleFontSize}),(function(e){return e.theme.newSignTitleFontSize}),(function(e){return e.theme.newSignDiv1}),u,(function(e){return e.theme.newSignDiv2}),(function(e){return e.theme.newSignLayout}),(function(e){return e.theme.newSignDiv3Text}),(function(e){return e.theme.newSignDiv3Span}),(function(e){return e.theme.newSignDiv4}),(function(e){return e.theme.newSignDiv5}),(function(e){return e.theme.newSignDiv7}),(function(e){return e.theme.newSignDiv11}),(function(e){return e.theme.newSignDiv11Color}),(function(e){return e.theme.newSignDiv11ColorError}),(function(e){return e.theme.newSignDiv11Error}),d.r1.small),h=(0,c.ZP)(l.Z).withConfig({componentId:"sc-1e0sjc0-1"})(["width:100%;background:",";border-color:",";color:",";.ant-input{background:",";border-color:",";color:",";}"],(function(e){return e.theme.newSignInputBackground}),(function(e){return e.theme.newSignInputBorderColor}),(function(e){return e.theme.newSignInputTextColor}),(function(e){return e.theme.newSignInputBackground}),(function(e){return e.theme.newSignInputBorderColor}),(function(e){return e.theme.newSignInputTextColor})),m=(0,c.ZP)(l.Z.Password).withConfig({componentId:"sc-1e0sjc0-2"})(["width:100%;background:",";border-color:",";color:",";.ant-input{background:",";border-color:",";color:",";}.ant-input-password-icon{&.anticon{color:",";}}"],(function(e){return e.theme.newSignInputBackground}),(function(e){return e.theme.newSignInputBorderColor}),(function(e){return e.theme.newSignInputTextColor}),(function(e){return e.theme.newSignInputBackground}),(function(e){return e.theme.newSignInputBorderColor}),(function(e){return e.theme.newSignInputTextColor}),(function(e){return e.theme.signInEyeInvisibleColor})),g=c.ZP.div.withConfig({componentId:"sc-1e0sjc0-3"})(["width:100%;display:flex;justify-content:center;align-items:center;flex-direction:column;padding:"," 0;.new-sign-up-div-1{font-family:",";font-style:normal;font-weight:400;font-size:",";line-height:",";text-align:center;text-transform:uppercase;color:",";}.new-sign-up-div-2{width:100%;margin-top:24px;max-width:",";}.new-sign-up-div-3{margin-top:24px;width:100%;padding:24px;max-width:",";background:",";border-radius:16px;box-shadow:",";display:flex;flex-direction:column;justify-content:flex-start;align-items:center;}.new-sign-up-div-4{font-family:'Titillium Web';font-style:normal;font-weight:400;font-size:14px;line-height:20px;color:",";span{color:",";}}.new-sign-up-div-5{margin-top:4px;margin-bottom:24px;width:100%;font-family:'Titillium Web';font-style:normal;font-weight:700;font-size:14px;line-height:16px;letter-spacing:0.04em;text-transform:uppercase;color:#7d70f6;span:hover{color:#a49af8;cursor:pointer;transition:all ease 0.5s;}}.new-sign-up-div-6{width:100%;margin-top:16px;font-family:'Open Sans';font-style:normal;font-weight:600;font-size:14px;line-height:18px;color:",";}.new-sign-up-div-7{width:100%;margin-top:4px;}.new-sign-up-div-8{width:100%;margin-top:40px;display:flex;justify-content:space-between;align-items:center;}.new-sign-up-div-9{width:30%;}.new-sign-up-div-10{width:calc(100% - 30% - 8px);}.new-sign-up-div-11{width:100%;margin-top:24px;}.new-sign-up-div-12{margin:24px 0px 0px 0px;background:#f9fbff;width:100%;padding:16px 24px;display:flex;flex-direction:column;justify-content:flex-start;font-family:'Open Sans';font-style:normal;font-weight:400;font-size:12px;line-height:18px;text-align:center;text-transform:capitalize;color:#115e68;&.error{color:#ba4300;background:rgba(216,107,46,0.05);}& div{width:100%;text-align:left;}}.new-sign-up-div-13{width:100%;display:flex;justify-content:center;align-items:center;font-family:'Titillium Web';font-style:normal;font-weight:400;font-size:20px;line-height:32px;color:",";}.new-sign-up-div-14{width:100%;margin-top:24px;}.new-sign-up-div-15{display:flex;justify-content:space-between;gap:8px;width:100%;}.arrow-icon{color:",";}.tag-icon{color:",";}.promocode-text-1{color:",";}.promocode-badge{cursor:pointer;display:flex;padding:8px 12px;justify-content:center;align-items:center;gap:10px;border-radius:8px;border:1px solid;border-color:",";background:",";color:",";text-align:right;font-family:Titillium Web;font-size:14px;font-style:normal;font-weight:600;line-height:20px;span{white-space:nowrap;max-width:15ch;overflow:hidden;text-overflow:ellipsis;}}@media (max-width:","){.new-sign-up-div-2,.new-sign-up-div-3{max-width:unset;}}"],d.Zh.destop,(function(e){return e.theme.newSignUpTitleFontFamily}),(function(e){return e.theme.newSignUpTitleFontSize}),(function(e){return e.theme.newSignUpTitleFontSize}),(function(e){return e.theme.newSignUpDiv1}),u,u,(function(e){return e.theme.newSignUpDiv3}),(function(e){return e.theme.newSignUpLayout}),(function(e){return e.theme.newSignUpDiv4}),(function(e){return e.theme.newSignUpDiv4Span}),(function(e){return e.theme.newSignUpDiv6}),(function(e){return e.theme.newSignUpDiv13}),(function(e){return e.theme.newSignUpDiv13}),(function(e){return e.theme.promoCodeTextColor2}),(function(e){return e.theme.newSignUpDiv13}),(function(e){return e.theme.promoCodeBorderColor}),(function(e){return e.theme.promoCodeBgColor1}),(function(e){return e.theme.promoCodeTextColor2}),d.r1.small),f=c.ZP.div.withConfig({componentId:"sc-1e0sjc0-4"})(["width:100%;display:flex;justify-content:center;align-items:center;margin:24px 0;.devide-new-div-1{font-family:'Titillium Web';font-style:normal;font-weight:400;font-size:16px;line-height:24px;color:#7a7a7a;position:relative;margin:0 24px;::before{content:'';position:absolute;bottom:50%;left:48px;width:40px;height:1px;background:#7a7a7a;}::after{content:'';position:absolute;bottom:50%;right:48px;width:40px;height:1px;background:#7a7a7a;}}"]),x=c.ZP.div.withConfig({componentId:"sc-1e0sjc0-5"})(["width:100%;margin-top:-12px;@media (max-width:","){display:none;}"],d.r1.mobile),w=c.ZP.div.withConfig({componentId:"sc-1e0sjc0-6"})(["display:none;width:100%;@media (max-width:","){display:flex;margin-bottom:-16px;}"],d.r1.mobile),v=t(45987),C=t(6227),j=t(47313),b=t(58629),S=t(63635),y=t(27314),Z=t(46417),N=["code","handleApply"],I=function(e){var n=e.code,t=e.handleApply,i=(0,v.Z)(e,N),o=(0,b.$)().t,a=(0,j.useState)(n),c=(0,s.Z)(a,2),l=c[0],d=c[1];return(0,Z.jsxs)(C.nh,(0,r.Z)((0,r.Z)({footer:null},i),{},{children:[(0,Z.jsx)("div",{className:"promocode-text-1",children:"Promo Code"}),(0,Z.jsx)(h,{size:"large",value:l,placeholder:o(y.I.Signin["Enter code"]),onChange:function(e){return d(e.target.value)}}),(0,Z.jsx)(S.op,{onClick:function(){return t(l)},text:o(y.I.Signup.Apply)})]}))},k=t(65964),E=t(6899),T=t(1084),L=t(63830),P=t(28303),_=t(45705),z=t(3997),M=t(6653),H=(0,t(12540).u)((function(){return t.e(7739).then(t.bind(t,27739))}),(function(e){return e.DialogueContainer}),{fallback:(0,Z.jsx)(M.u,{children:(0,Z.jsx)(M.T,{})})}),V=c.ZP.div.withConfig({componentId:"sc-x0ymfp-0"})(["width:100%;display:flex;flex-direction:column;align-items:center;justfiy-content:flex-start;gap:16px;background:",";border-radius:8px;padding:24px;flex-wrap:wrap;.social-div-container-2{cursor:pointer;color:#8549b6;font-family:Titillium Web;font-size:12px;font-style:normal;font-weight:700;line-height:14px;letter-spacing:0.48px;text-transform:uppercase;}.social-div-container-1{width:100%;display:flex;justify-content:space-between;align-items:center;gap:8px;&.marginBottom{margin-bottom:16px;}}.social-div-1{display:flex;padding:8px;justify-content:center;align-items:center;gap:24px;flex:1 0 0;border-radius:8px;background:",";box-shadow:0px 4px 15px 0px rgba(43,56,125,0.08);.social-icon{width:24px;height:28px;& svg{fill:",";}:hover{cursor:pointer;transform:scale(1.5);transition:all ease 0.5s;}}}.social-img-1{width:100%;height:100%;}"],(function(e){return e.theme.SocialBtn}),(function(e){return e.theme.SocialBtn1}),(function(e){return e.theme.svgSocial1})),A=c.ZP.div.withConfig({componentId:"sc-x0ymfp-1"})(["width:100%;display:flex;flex-direction:column;align-items:center;justfiy-content:flex-start;gap:16px;margin-top:20px;"]),U=t(18941),D=t(95238),O=t(66749),B=t(78390),G=t(72286),F=(0,Z.jsx)("svg",{width:"30",height:"22",viewBox:"0 0 30 22",xmlns:"http://www.w3.org/2000/svg",className:"social-img-1",children:(0,Z.jsx)("path",{d:"M24.5625 2.28125C24.5625 2.28125 24.5625 2.28125 24.5156 2.28125C22.7812 1.48438 20.8594 0.875 18.9375 0.546875C18.8906 0.546875 18.8906 0.5 18.8906 0.5L18.8438 0.546875C18.5625 1.01562 18.3281 1.53125 18.1406 2C17.1094 1.85938 16.0312 1.76562 14.9531 1.76562C13.875 1.76562 12.8438 1.85938 11.8125 2C11.625 1.53125 11.3906 1.01562 11.1094 0.546875H11.0625C11.0156 0.546875 11.0156 0.546875 11.0156 0.546875C9.09375 0.875 7.17188 1.48438 5.4375 2.28125C5.39062 2.28125 5.39062 2.28125 5.39062 2.28125C1.82812 7.625 0.84375 12.8281 1.3125 17.9844C1.3125 17.9844 1.3125 18.0312 1.35938 18.0312C3.375 19.5781 5.71875 20.75 8.25 21.5C8.29688 21.5 8.29688 21.5 8.34375 21.5C8.85938 20.75 9.32812 20 9.75 19.2031V19.1562C9.75 19.1094 9.70312 19.1094 9.70312 19.0625C8.95312 18.7812 8.20312 18.4531 7.54688 18.0312C7.5 18.0312 7.5 18.0312 7.5 17.9844C7.5 17.9375 7.5 17.9375 7.54688 17.8906C7.6875 17.7969 7.82812 17.7031 7.96875 17.5625C7.96875 17.5625 7.96875 17.5625 8.01562 17.5625C8.01562 17.5625 8.01562 17.5625 8.0625 17.5625C12.5625 19.625 17.4375 19.625 21.8906 17.5625H21.9375H21.9844C22.125 17.7031 22.2656 17.7969 22.4062 17.8906C22.4531 17.9375 22.4531 17.9375 22.4531 17.9844C22.4531 18.0312 22.4531 18.0312 22.4062 18.0312C21.7031 18.4531 21 18.7812 20.25 19.0625C20.2031 19.1094 20.2031 19.1094 20.2031 19.1562V19.2031C20.625 20 21.0938 20.75 21.6094 21.5C21.6094 21.5 21.6562 21.5 21.7031 21.5C24.1875 20.75 26.5312 19.5781 28.5938 18.0312C28.6406 18.0312 28.6406 17.9844 28.6406 17.9844C29.2031 12.0312 27.6562 6.875 24.5625 2.28125ZM10.4062 14.8438C9.04688 14.8438 7.92188 13.5781 7.92188 12.0781C7.92188 10.5312 9.04688 9.3125 10.4062 9.3125C11.8125 9.3125 12.8906 10.5312 12.8906 12.0781C12.8906 13.5781 11.7656 14.8438 10.4062 14.8438ZM19.5469 14.8438C18.1875 14.8438 17.1094 13.5781 17.1094 12.0781C17.1094 10.5312 18.1875 9.3125 19.5469 9.3125C20.9531 9.3125 22.0781 10.5312 22.0312 12.0781C22.0312 13.5781 20.9531 14.8438 19.5469 14.8438Z"})}),R=(0,Z.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"social-img-1",children:(0,Z.jsx)("path",{d:"M23.425 12.5C23.425 6.07812 18.2219 0.875 11.8 0.875C5.37817 0.875 0.175049 6.07812 0.175049 12.5C0.175049 18.3125 4.3938 23.1406 9.97192 23.9844V15.875H7.0188V12.5H9.97192V9.96875C9.97192 7.0625 11.7063 5.42188 14.3313 5.42188C15.6438 5.42188 16.9563 5.65625 16.9563 5.65625V8.51562H15.5032C14.05 8.51562 13.5813 9.40625 13.5813 10.3438V12.5H16.8157L16.3 15.875H13.5813V23.9844C19.1594 23.1406 23.425 18.3125 23.425 12.5Z"})}),q=(0,Z.jsx)("svg",{width:"19",height:"19",viewBox:"0 0 19 19",xmlns:"http://www.w3.org/2000/svg",className:"social-img-1",children:(0,Z.jsx)("path",{d:"M0.5 9.5C0.5 4.5374 4.5374 0.5 9.5 0.5C11.5043 0.5 13.4013 1.14483 14.9861 2.3648L12.8946 5.0816C11.9147 4.32731 10.7409 3.92857 9.5 3.92857C6.42791 3.92857 3.92857 6.42791 3.92857 9.5C3.92857 12.5721 6.42791 15.0714 9.5 15.0714C11.9743 15.0714 14.077 13.4503 14.8016 11.2143H9.5V7.78571H18.5V9.5C18.5 14.4626 14.4626 18.5 9.5 18.5C4.5374 18.5 0.5 14.4626 0.5 9.5Z"})}),W=(0,Z.jsx)("svg",{width:"22",height:"21",viewBox:"0 0 22 21",xmlns:"http://www.w3.org/2000/svg",className:"social-img-1",children:(0,Z.jsx)("path",{d:"M18.7935 0.09375H3.46533C1.91846 0.09375 0.699707 1.35938 0.699707 2.90625V18.2344C0.699707 19.7812 1.91846 21 3.46533 21H18.7935C20.3403 21 21.606 19.7812 21.606 18.2344V2.90625C21.606 1.35938 20.3403 0.09375 18.7935 0.09375ZM4.77783 4.17188H9.27783V9.60938L12.1372 4.17188H17.3403L13.5435 10.3594H4.77783V4.17188ZM12.3247 16.9219L9.27783 11.625V16.9219H4.77783V10.8281H13.731L17.9028 16.9219H12.3247Z"})}),J=(0,Z.jsx)("svg",{width:"22",height:"22",viewBox:"0 0 22 22",xmlns:"http://www.w3.org/2000/svg",className:"social-img-1",children:(0,Z.jsx)("path",{d:"M12.8501 8.10938C12.8501 8.01562 12.7563 7.92188 12.6626 7.96875H12.147C12.0532 7.96875 12.0063 8.01562 12.0063 8.10938V10.0781L10.4595 8.01562C10.4595 7.96875 10.4126 7.96875 10.3657 7.96875H9.80322C9.70947 7.96875 9.6626 8.01562 9.6626 8.10938V11.4375C9.6626 11.5312 9.70947 11.5781 9.80322 11.5781H10.3657C10.4126 11.5781 10.5063 11.5312 10.5063 11.4375V9.46875L12.0063 11.5312C12.0532 11.5312 12.1001 11.5781 12.147 11.5781H12.6626C12.7563 11.5781 12.8501 11.5312 12.8501 11.4375V8.10938ZM9.00635 7.92188H8.44385C8.3501 7.92188 8.30322 8.01562 8.30322 8.10938V11.4375C8.30322 11.5312 8.3501 11.5781 8.44385 11.5781H9.00635C9.05322 11.5781 9.14697 11.5312 9.14697 11.4375V8.10938C9.14697 8.01562 9.05322 7.92188 9.00635 7.92188ZM7.69385 10.7344H6.24072V8.10938C6.24072 8.01562 6.19385 7.92188 6.1001 7.92188H5.5376C5.49072 7.92188 5.39697 8.01562 5.39697 8.10938V11.4375C5.39697 11.4844 5.44385 11.4844 5.44385 11.5312C5.49072 11.5312 5.49072 11.5781 5.5376 11.5781H7.69385C7.7876 11.5781 7.83447 11.4844 7.83447 11.4375V10.875C7.83447 10.8281 7.7876 10.7344 7.69385 10.7344ZM15.6626 7.92188H13.5063C13.4126 7.92188 13.3657 8.01562 13.3657 8.10938V11.4375C13.3657 11.4844 13.4126 11.5781 13.5063 11.5781H15.6626C15.7095 11.5781 15.8032 11.5312 15.8032 11.4375V10.875C15.8032 10.8281 15.7095 10.7344 15.6626 10.7344H14.2095V10.1719H15.6626C15.7095 10.1719 15.8032 10.125 15.8032 10.0312V9.46875C15.8032 9.42188 15.7095 9.32812 15.6626 9.32812H14.2095V8.76562H15.6626C15.7095 8.76562 15.8032 8.71875 15.8032 8.625V8.10938C15.8032 8.01562 15.7095 7.92188 15.6626 7.92188ZM21.1001 3.84375C21.1001 1.73438 19.3657 0.046875 17.3032 0H3.89697C1.7876 0 0.100098 1.73438 0.100098 3.79688V17.2031C0.0532227 19.3125 1.7876 21 3.89697 21H17.2563C19.3657 21.0469 21.0532 19.3125 21.1001 17.2031V3.84375ZM18.1938 9.60938C18.1938 10.9688 17.6782 12.1875 16.5532 13.4062C14.9595 15.2812 11.3501 17.5312 10.5532 17.8594C9.70947 18.1875 9.8501 17.625 9.89697 17.4375C10.0845 16.2188 10.1782 15.8906 9.2876 15.7031C5.63135 15.2344 2.9126 12.6562 2.9126 9.60938C2.9126 6.1875 6.33447 3.375 10.5532 3.375C14.772 3.375 18.1938 6.1875 18.1938 9.60938Z"})}),$=(0,Z.jsx)("svg",{width:"25",height:"25",viewBox:"0 0 25 25",xmlns:"http://www.w3.org/2000/svg",className:"social-img-1",children:(0,Z.jsx)("path",{d:"M10.022 14.8438C10.6782 14.8438 11.1938 14.3281 11.1938 13.6719C11.1938 13.0625 10.6782 12.5 10.022 12.5C9.36572 12.5 8.8501 13.0625 8.8501 13.6719C8.8501 14.3281 9.36572 14.8438 10.022 14.8438ZM24.2251 12.5C24.2251 6.07812 19.022 0.875 12.6001 0.875C6.17822 0.875 0.975098 6.07812 0.975098 12.5C0.975098 18.9219 6.17822 24.125 12.6001 24.125C19.022 24.125 24.2251 18.9219 24.2251 12.5ZM17.9907 10.5781C19.6313 10.5781 20.147 12.7812 18.6938 13.5312C18.7407 13.7656 18.7876 14 18.7876 14.2812C18.7876 16.7188 16.022 18.7344 12.6001 18.7344C9.17822 18.7344 6.4126 16.7188 6.4126 14.2812C6.4126 14 6.4126 13.7656 6.45947 13.5312C5.00635 12.7812 5.52197 10.5781 7.1626 10.5781C7.58447 10.5781 8.00635 10.7656 8.2876 11.0469C9.31885 10.3438 10.7251 9.875 12.272 9.82812L13.2095 5.75C13.2095 5.60938 13.3501 5.51562 13.4907 5.5625L16.397 6.17188C16.5845 5.79688 16.9595 5.5625 17.4282 5.5625C18.0845 5.5625 18.6001 6.07812 18.6001 6.73438C18.6001 7.34375 18.0845 7.85938 17.4282 7.85938C16.772 7.85938 16.2563 7.34375 16.2563 6.73438L13.6782 6.125L12.8345 9.82812C14.4282 9.875 15.8345 10.3438 16.8657 11.0469C17.1938 10.7656 17.5688 10.5781 17.9907 10.5781ZM14.7563 16.0156C13.9126 16.9062 11.1938 16.8594 10.397 16.0156C10.3032 15.9219 10.1157 15.9219 9.9751 16.0156C9.88135 16.1562 9.88135 16.3438 9.9751 16.4375C11.0532 17.5156 14.1001 17.5156 15.1782 16.4375C15.272 16.3438 15.272 16.1562 15.1782 16.0156C15.0376 15.9219 14.897 15.9219 14.7563 16.0156ZM15.1313 12.5C14.4751 12.5 13.9595 13.0625 13.9595 13.6719C13.9595 14.3281 14.522 14.8438 15.1313 14.8438C15.7876 14.8438 16.3032 14.3281 16.3032 13.6719C16.3032 13.0625 15.7876 12.5 15.1313 12.5Z"})}),Q=(0,Z.jsx)("svg",{width:"24",height:"25",viewBox:"0 0 24 25",xmlns:"http://www.w3.org/2000/svg",className:"social-img-1",children:(0,Z.jsx)("path",{d:"M23.4497 12.5C23.4497 6.07812 18.1997 0.875 11.7778 0.875C5.68408 0.875 0.668457 5.60938 0.199707 11.6094L6.43408 14.1875C6.99658 13.7656 7.74658 13.5781 8.44971 13.5781L11.2153 9.59375V9.54688C11.2153 7.10938 13.1841 5.14062 15.6216 5.14062C18.0591 5.14062 20.0278 7.10938 20.0278 9.54688C20.0278 11.9844 17.9653 13.9531 15.5278 13.9062L11.5435 16.7188C11.6372 18.6406 10.0903 20.1875 8.26221 20.1875C6.66846 20.1875 5.35596 19.0156 5.02783 17.5156L0.574707 15.6875C1.98096 20.5625 6.43408 24.125 11.7778 24.125C18.1997 24.125 23.4497 18.9219 23.4497 12.5ZM7.46533 18.5469L6.05908 17.9375C6.29346 18.5 6.76221 18.9219 7.32471 19.1562C8.59033 19.6719 10.0435 19.0625 10.5591 17.8438C10.7935 17.2344 10.7935 16.5312 10.5591 15.9219C10.3247 15.3125 9.85596 14.8438 9.24658 14.6094C8.63721 14.3281 7.98096 14.3281 7.41846 14.5625L8.87158 15.1719C9.80908 15.5469 10.231 16.625 9.85596 17.5625C9.48096 18.5 8.40283 18.9219 7.46533 18.5469ZM15.6216 12.4531C17.2622 12.4531 18.5278 11.1406 18.5278 9.54688C18.5278 7.90625 17.2153 6.59375 15.6216 6.59375C14.0278 6.59375 12.7153 7.90625 12.7153 9.54688C12.7153 11.1406 14.0278 12.4531 15.6216 12.4531ZM15.6216 11.7031C14.4028 11.7031 13.4185 10.7188 13.4185 9.5C13.4185 8.32812 14.4028 7.34375 15.6216 7.34375C16.8403 7.34375 17.8247 8.32812 17.8247 9.5C17.8247 10.7188 16.8403 11.7031 15.6216 11.7031Z"})}),K=(0,Z.jsx)("svg",{width:"23",height:"25",viewBox:"0 0 23 25",xmlns:"http://www.w3.org/2000/svg",className:"social-img-1",children:(0,Z.jsx)("path",{d:"M17.7283 5.375H15.9001V10.5312H17.7283V5.375ZM12.7595 5.32812H10.9314V10.4844H12.7595V5.32812ZM5.02515 0.5L0.525146 4.8125V20.2344H5.96265V24.5L10.4626 20.2344H14.072L22.2283 12.5V0.5H5.02515ZM20.447 11.6562L16.7908 15.0781H13.1814L10.0408 18.0781V15.0781H5.96265V2.23438H20.447V11.6562Z"})}),X=[{id:"facebook",icon:R},{id:"google",icon:q},{id:"twitter",icon:(0,Z.jsx)("svg",{width:"19",height:"15",viewBox:"0 0 19 15",xmlns:"http://www.w3.org/2000/svg",className:"social-img-1",children:(0,Z.jsx)("path",{d:"M18.5 1.91887C17.8306 2.2125 17.1174 2.40712 16.3737 2.50162C17.1388 2.04487 17.7226 1.32712 17.9971 0.462C17.2839 0.88725 16.4964 1.18763 15.6571 1.35525C14.9799 0.634125 14.0146 0.1875 12.9616 0.1875C10.9186 0.1875 9.27387 1.84575 9.27387 3.87863C9.27387 4.17113 9.29862 4.45237 9.35938 4.72012C6.2915 4.5705 3.57687 3.10013 1.75325 0.86025C1.43487 1.41263 1.24813 2.04488 1.24813 2.7255C1.24813 4.0035 1.90625 5.13637 2.88725 5.79225C2.29437 5.781 1.71275 5.60888 1.22 5.33775C1.22 5.349 1.22 5.36363 1.22 5.37825C1.22 7.1715 2.49912 8.661 4.1765 9.00412C3.87612 9.08625 3.54875 9.12562 3.209 9.12562C2.97275 9.12562 2.73425 9.11213 2.51038 9.06262C2.9885 10.524 4.34525 11.5984 5.9585 11.6332C4.703 12.6154 3.10888 13.2071 1.38313 13.2071C1.0805 13.2071 0.79025 13.1936 0.5 13.1565C2.13462 14.2106 4.07188 14.8125 6.161 14.8125C12.9515 14.8125 16.664 9.1875 16.664 4.31175C16.664 4.14862 16.6584 3.99113 16.6505 3.83475C17.3829 3.315 17.9982 2.66587 18.5 1.91887Z"})})},{id:"reddit",icon:$},{id:"steam",icon:Q}],Y=[{id:"discord",icon:F},{id:"twitch",icon:K},{id:"vkontakte",icon:(0,Z.jsx)("svg",{width:"26",height:"15",viewBox:"0 0 26 15",xmlns:"http://www.w3.org/2000/svg",children:(0,Z.jsx)("path",{d:"M25.0469 1.03125C25.1875 0.46875 25.0469 0 24.2031 0H21.4375C20.7344 0 20.4062 0.375 20.2188 0.796875C20.2188 0.796875 18.8125 4.21875 16.8438 6.46875C16.1875 7.07812 15.9062 7.3125 15.5312 7.3125C15.3906 7.3125 15.1094 7.07812 15.1094 6.51562V1.03125C15.1094 0.328125 14.9219 0 14.3125 0H10C9.53125 0 9.29688 0.328125 9.29688 0.65625C9.29688 1.3125 10.2812 1.45312 10.375 3.32812V7.40625C10.375 8.29688 10.2344 8.48438 9.85938 8.48438C8.92188 8.48438 6.67188 5.01562 5.3125 1.07812C5.03125 0.328125 4.75 0 4.04688 0H1.28125C0.53125 0 0.34375 0.375 0.34375 0.796875C0.34375 1.54688 1.28125 5.15625 4.70312 9.98438C7 13.2656 10.2344 15 13.1406 15C14.875 15 15.1094 14.625 15.1094 13.9688C15.1094 10.8281 14.9688 10.5 15.8125 10.5C16.2344 10.5 16.9375 10.7344 18.5781 12.3281C20.4531 14.2031 20.7812 15 21.8125 15H24.5781C25.375 15 25.75 14.625 25.5156 13.8281C25 12.2344 21.4844 8.85938 21.2969 8.625C20.875 8.10938 21.0156 7.875 21.2969 7.40625C21.2969 7.40625 24.6719 2.625 25.0469 1.03125Z"})})},{id:"line",icon:J},{id:"kakao",icon:W}],ee=U.Ou||"true"===localStorage.getItem("CF_TURNSTILE_ENABLED"),ne=function(e){var n,t=e.redirectTo,i=e.whiteListedSites,r=e.isWhitelisted,c=(0,j.useState)(!1),l=(0,s.Z)(c,2),d=l[0],u=l[1],p=(0,j.useState)(!1),h=(0,s.Z)(p,2),m=h[0],g=h[1],f=(0,b.$)().t;(0,j.useEffect)((function(){if(i&&i.length>0){var e=null===t||void 0===t?void 0:t.split("/")[2];i.filter((function(n){return n===e}))[0]&&u(!0)}r&&u(!0)}),[i]);var x=function(e){for(var i=[],r=function(r){i.push((0,Z.jsx)("div",{className:"social-div-1",onClick:function(){return function(e){return(n=n||(0,a.Z)((0,o.Z)().mark((function e(n){var i,r,a,s,c,l,u,p,h;return(0,o.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("twitter"!==n||U.wm){e.next=3;break}return(0,G.a)(O.k.ERROR,f(y.I["service-is-under-maintenance"])),e.abrupt("return");case 3:if("facebook"!==n||U.MO){e.next=6;break}return(0,G.a)(O.k.ERROR,f(y.I["service-is-under-maintenance"])),e.abrupt("return");case 6:if(i=new URL(document.location.href),r=null!=i.searchParams.get("rhash")?i.searchParams.get("rhash"):"",a=null!=i.searchParams.get("rcode")?i.searchParams.get("rcode"):"",(s=new URLSearchParams).append("redirect_to",t?encodeURIComponent(t):""),s.append("wl",d?"1":""),s.append("rhash",r||""),s.append("rcode",a||""),console.log("params",s,s.toString()),(c=new URL("".concat(U.wx,"/session/social/").concat(n))).search=s.toString(),l="",!ee){e.next=22;break}return e.next=21,(0,B.a)(D.r.SOCIAL_AUTHENTICATION,"#turnStileChallengeSocial");case 21:l=e.sent;case 22:(u=document.createElement("form")).method="POST",u.action=c.href,(p=document.createElement("input")).type="hidden",p.name="turnStileToken",p.value=l,u.appendChild(p),(h=document.createElement("input")).type="hidden",h.name="captcha",h.value="",u.appendChild(h),document.body.appendChild(u),u.submit(),document.body.removeChild(u);case 38:case"end":return e.stop()}}),e)})))).apply(this,arguments)}(e[r].id)},children:(0,Z.jsx)("div",{className:"social-icon",children:e[r].icon})},e[r].id))},s=0;s<e.length;++s)r(s);return i};return(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsxs)(V,{children:[(0,Z.jsx)("div",{className:"social-div-container-1",children:x(X)}),m?(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)("div",{className:"social-div-container-1",children:x(Y)}),(0,Z.jsx)("span",{className:"social-div-container-2",onClick:function(){return g(!1)},children:"View Less"})]}):(0,Z.jsx)("span",{className:"social-div-container-2",onClick:function(){return g(!0)},children:"View More"})]}),(0,Z.jsx)(A,{children:(0,Z.jsx)("div",{id:"turnStileChallengeSocial"})})]})},te=t(72527);var ie=t.p+"static/media/error_msg.63c7f1cfa4f84bb850ce4df80416218b.svg";var re=t.p+"static/media/good_msg.55affd8d50b80e261dda7e60a4706a69.svg",oe=["color"],ae=function(e){var n=e.color,t=void 0===n?"#363448":n,i=(0,v.Z)(e,oe);return(0,Z.jsx)("svg",(0,r.Z)((0,r.Z)({xmlns:"http://www.w3.org/2000/svg",width:"9",height:"12",viewBox:"0 0 9 12",fill:"none",color:t},i),{},{children:(0,Z.jsx)("path",{d:"M7.96405 5.60637L0.920313 0.104809C0.901908 0.0903191 0.879788 0.081314 0.856495 0.0788282C0.833203 0.0763424 0.809681 0.0804768 0.788632 0.0907565C0.767583 0.101036 0.749861 0.117045 0.7375 0.136943C0.725139 0.156841 0.71864 0.179822 0.718751 0.203247V1.41106C0.718751 1.48762 0.754689 1.56106 0.814064 1.60793L6.43905 6.00012L0.814064 10.3923C0.753126 10.4392 0.718751 10.5126 0.718751 10.5892V11.797C0.718751 11.9017 0.839063 11.9595 0.920313 11.8954L7.96405 6.39387C8.02391 6.34717 8.07234 6.28744 8.10565 6.21921C8.13896 6.15098 8.15628 6.07605 8.15628 6.00012C8.15628 5.92419 8.13896 5.84927 8.10565 5.78104C8.07234 5.71281 8.02391 5.65307 7.96405 5.60637Z",fill:"currentColor"})}))},se=["color"],ce=function(e){var n=e.color,t=void 0===n?"#7D70F6":n,i=(0,v.Z)(e,se);return(0,Z.jsx)("svg",(0,r.Z)((0,r.Z)({xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",color:t},i),{},{children:(0,Z.jsx)("path",{d:"M18.3213 8.96094L17.7432 2.85547C17.7139 2.53906 17.4619 2.28906 17.1455 2.25781L11.04 1.67969H11.0322C10.9697 1.67969 10.9209 1.69922 10.8838 1.73633L1.73729 10.8828C1.71919 10.9009 1.70482 10.9223 1.69502 10.946C1.68522 10.9696 1.68018 10.9949 1.68018 11.0205C1.68018 11.0461 1.68522 11.0714 1.69502 11.095C1.70482 11.1187 1.71919 11.1401 1.73729 11.1582L8.84276 18.2637C8.87987 18.3008 8.9287 18.3203 8.98143 18.3203C9.03417 18.3203 9.083 18.3008 9.12011 18.2637L18.2666 9.11719C18.3057 9.07617 18.3252 9.01953 18.3213 8.96094ZM8.97948 16.3027L3.69823 11.0215L11.5049 3.21484L16.3291 3.67188L16.7861 8.49609L8.97948 16.3027ZM13.2822 5C12.3349 5 11.5635 5.77148 11.5635 6.71875C11.5635 7.66602 12.3349 8.4375 13.2822 8.4375C14.2295 8.4375 15.001 7.66602 15.001 6.71875C15.001 5.77148 14.2295 5 13.2822 5ZM13.2822 7.34375C12.9365 7.34375 12.6572 7.06445 12.6572 6.71875C12.6572 6.37305 12.9365 6.09375 13.2822 6.09375C13.6279 6.09375 13.9072 6.37305 13.9072 6.71875C13.9072 7.06445 13.6279 7.34375 13.2822 7.34375Z",fill:"currentColor"})}))},le=t(35277),de=t(677),ue=t(3361),pe=t(44361),he=t(48481),me=t(66929),ge=t(25114),fe=t(10632),xe=t(78446),we=t(45193),ve=t(54962),Ce=function(e,n){(0,j.useEffect)((function(){var t=de.Z.parse(e)["errors[0]"]||"";t&&t&&n([(0,ve.G)(t.toString())])}),[e])},je=(0,Z.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",xmlns:"http://www.w3.org/2000/svg",children:[(0,Z.jsx)("path",{d:"M7 0C3.13438 0 0 3.13438 0 7C0 10.8656 3.13438 14 7 14C10.8656 14 14 10.8656 14 7C14 3.13438 10.8656 0 7 0ZM7 12.8125C3.79063 12.8125 1.1875 10.2094 1.1875 7C1.1875 3.79063 3.79063 1.1875 7 1.1875C10.2094 1.1875 12.8125 3.79063 12.8125 7C12.8125 10.2094 10.2094 12.8125 7 12.8125Z",fill:"#7A7A7A"}),(0,Z.jsx)("path",{d:"M6.25 9.75C6.25 9.94891 6.32902 10.1397 6.46967 10.2803C6.61032 10.421 6.80109 10.5 7 10.5C7.19891 10.5 7.38968 10.421 7.53033 10.2803C7.67098 10.1397 7.75 9.94891 7.75 9.75C7.75 9.55109 7.67098 9.36032 7.53033 9.21967C7.38968 9.07902 7.19891 9 7 9C6.80109 9 6.61032 9.07902 6.46967 9.21967C6.32902 9.36032 6.25 9.55109 6.25 9.75ZM6.625 8H7.375C7.44375 8 7.5 7.94375 7.5 7.875V3.625C7.5 3.55625 7.44375 3.5 7.375 3.5H6.625C6.55625 3.5 6.5 3.55625 6.5 3.625V7.875C6.5 7.94375 6.55625 8 6.625 8Z",fill:"#7A7A7A"})]}),be=function(e){return e.SIGNIN="SIGNIN",e.SIGNUP="SIGNUP",e}(be||{}),Se=function(e){return e.SIGN_IN="SIGN_IN",e.SIGN_UP="SIGN_UP",e}(Se||{}),ye=U.Ou||"true"===localStorage.getItem("CF_TURNSTILE_ENABLED"),Ze=function(e){var n,t,l,d,u=(0,L.TH)(),v=(0,L.k6)(),C=(0,j.useState)(Se.SIGN_IN),N=(0,s.Z)(C,2),M=N[0],V=N[1],A=(0,j.useState)(!0),O=(0,s.Z)(A,2),G=O[0],F=O[1],R=(0,j.useState)(""),q=(0,s.Z)(R,2),W=q[0],J=q[1],$=(0,j.useState)(""),Q=(0,s.Z)($,2),K=Q[0],X=Q[1],Y=(0,j.useState)(""),ee=(0,s.Z)(Y,2),oe=ee[0],se=ee[1],ve=(0,j.useState)(""),Ze=(0,s.Z)(ve,2),Ne=Ze[0],Ie=Ze[1],ke=(0,j.useState)(""),Ee=(0,s.Z)(ke,2),Te=Ee[0],Le=Ee[1],Pe=(0,j.useState)(!1),_e=(0,s.Z)(Pe,2),ze=_e[0],Me=_e[1],He=(0,j.useState)([]),Ve=(0,s.Z)(He,2),Ae=Ve[0],Ue=Ve[1],De=(0,me.uD)(),Oe=(0,T.useSelector)(fe.P);Ce(e.location.search,Ue);var Be=(0,me.qQ)(he.Kv),Ge=de.Z.parse(e.location.search)||{},Fe=Ge.redirect_to,Re=Ge.rhash,qe=Ge.show_verification_message,We=Ge.customTheme,Je=Ge.rcode,$e=(0,j.useState)(Je||""),Qe=(0,s.Z)($e,2),Ke=Qe[0],Xe=Qe[1],Ye=(0,j.useState)(!1),en=(0,s.Z)(Ye,2),nn=en[0],tn=en[1],rn=function(e){return J(e.target.value)},on=function(e){return X(e.target.value)},an=function(e){return se(e.target.value)},sn=function(e){return Ie(e.target.value)},cn=function(e){return Le(e.target.value)},ln=e.errors,dn=null===(n=window)||void 0===n||null===(t=n.location)||void 0===t?void 0:t.search,un=(0,me.qQ)(he.ln),pn=(0,me.qQ)(he.Ni),hn=(0,b.$)().t;function mn(){return(l=l||(0,a.Z)((0,o.Z)().mark((function e(){var n,t,i,r;return(0,o.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(""!==oe.trim()&&""!==Ne.trim()&&""!==Te.trim()){e.next=3;break}return Ue(["Username or passwords cannot be blank!"]),e.abrupt("return");case 3:if(Ne.trim()===Te.trim()){e.next=6;break}return Ue(["The passwords should match!"]),e.abrupt("return");case 6:if(F(!1),n="",t="",!ye){e.next=13;break}return e.next=12,(0,B.a)(D.r.REGISTRATION_VIA_EMAIL,"#turnStileChallenge");case 12:t=e.sent;case 13:return i={email:oe,password:Ne,repassword:Te,rhash:Re,captcha:n,rcode:U.I$&&Ke||void 0,turnStileToken:t},r=Fe,e.prev=16,e.next=19,De((0,ue.registerUserInit)({data:i,redirectTo:r}));case 19:e.next=24;break;case 21:e.prev=21,e.t0=e.catch(16),console.error("startSignupprocess error::",e.t0);case 24:F(!0);case 25:case"end":return e.stop()}}),e,null,[[16,21]])})))).apply(this,arguments)}function gn(){return(d=d||(0,a.Z)((0,o.Z)().mark((function e(){var n,t,i;return(0,o.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(F(!1),""===W.trim()||""===K.trim()){e.next=15;break}if(n="",t="",!ye){e.next=8;break}return e.next=7,(0,B.a)(D.r.LOGIN_VIA_EMAIL,"#turnStileChallenge");case 7:t=e.sent;case 8:i=(0,r.Z)((0,r.Z)({password:K,username:W},Fe?{redirectTo:Fe}:{}),{},{captcha:n,turnStileToken:t}),F(!1),setTimeout((function(){F(!0)}),1e3),De((0,pe.createSessionInit)((0,r.Z)((0,r.Z)({credentials:i},Fe?{redirectTo:Fe}:{}),We?{customTheme:We}:{}))),F(!0),e.next=17;break;case 15:Ue(["Username or Password cannot be blank."]),F(!0);case 17:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function fn(){J(""),X(""),se(""),Ue([]),Ie(""),Le(""),F(!0)}(0,ge.nw)((function(){"#create-account"===u.hash&&V(Se.SIGN_UP)})),function(){var e=(0,L.TH)();(0,j.useEffect)((function(){if(console.debug("_CF_TURNSTILE_ENABLED",ye),ye){if(!window.turnstile){var n=document.createElement("script");n.src="https://challenges.cloudflare.com/turnstile/v0/api.js",n.defer=!0,document.body.appendChild(n)}return function(){var e=document.querySelector('script[src="https://challenges.cloudflare.com/turnstile/v0/api.js"]');e&&document.body.removeChild(e)}}console.debug("location.pathname",e.pathname)}),[e])}(),(0,j.useEffect)((function(){u.pathname===we.Jx.Signup?V(Se.SIGN_UP):V(Se.SIGN_IN)}),[u]),(0,j.useEffect)((function(){var e,n=function(n){return(e=e||(0,a.Z)((0,o.Z)().mark((function e(n){return(0,o.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n.keyCode!==we.N5.ENTER){e.next=9;break}if(console.log("entered with state",M),M!==Se.SIGN_IN){e.next=7;break}return e.next=5,gn();case 5:e.next=9;break;case 7:return e.next=9,mn();case 9:case"end":return e.stop()}}),e)})))).apply(this,arguments)};return window.addEventListener("keydown",n),function(){window.removeEventListener("keydown",n)}}),[M,K,W,oe,Ne,Te]),(0,j.useEffect)((function(){ln&&ln.length>0&&Ue(ln.map((function(e){return e.message})))}),[ln]),(0,j.useEffect)((function(){Me(pn),!0===pn&&Ue([])}),[pn]),(0,j.useEffect)((function(){(null===un||void 0===un?void 0:un.length)>0&&Ue(un.map((function(e){return e.message})))}),[un]);var xn=function(e){if(!((null===Ae||void 0===Ae?void 0:Ae.length)>0))return null;var n,t=[],r=0,o=(0,i.Z)(Ae);try{for(o.s();!(n=o.n()).done;){var a=n.value;r++,t.push((0,Z.jsxs)("div",{children:[(0,Z.jsx)("img",{src:ie,alt:"error msg",style:{width:"14px",height:"14px",marginRight:"8px"}}),a]},r))}}catch(s){o.e(s)}finally{o.f()}switch(e){case be.SIGNIN:return(0,Z.jsx)("div",{className:"new-sign-in-div-11 error",children:t});case be.SIGNUP:return(0,Z.jsx)("div",{className:"new-sign-up-div-12 error",children:t});default:return null}},wn=function(){return(0,Z.jsx)(Z.Fragment,{children:(0,Z.jsx)(f,{children:(0,Z.jsx)("div",{className:"devide-new-div-1",children:" Or "})})})},vn=(0,j.useMemo)((function(){return"brawlers"===We?{carouselSettings:{dots:!1,autoplay:!1},carouselList:[{id:0,image:le,title:"Landing for Brawler"}],isUseThemeMode:!1,useCustomTheme:!0}:{isUseThemeMode:!0}}),[]),Cn=function(){return tn((function(e){return!e}))};return(0,Z.jsxs)(c.f6,{theme:"brawlers"===We?xe.n.brawlerDarkTheme:Oe,children:[u.pathname===we.Jx.Signin?(0,Z.jsx)(Z.Fragment,{children:(0,Z.jsxs)(k.ql,{children:[(0,Z.jsx)("title",{children:hn(y.I.Signin.title)}),(0,Z.jsx)("meta",{name:"description",content:hn(y.I.Signin.content)})]})}):(0,Z.jsx)(Z.Fragment,{children:(0,Z.jsxs)(k.ql,{children:[(0,Z.jsx)("title",{children:hn(y.I.Signin["Account Registration"])}),(0,Z.jsx)("meta",{name:"description",content:hn(y.I.Signin.content)})]})}),(0,Z.jsx)(w,{children:(0,Z.jsx)(z.r,{height:256,imgId:U.GP})}),(0,Z.jsxs)(H,(0,r.Z)((0,r.Z)({},vn),{},{children:[u.pathname===we.Jx.Signin||M===Se.SIGN_IN?(0,Z.jsx)(Z.Fragment,{children:(0,Z.jsxs)(p,{children:[(0,Z.jsx)("div",{className:"new-sign-in-div-1",children:hn(y.I.Signin["welcome back"])}),(0,Z.jsxs)("div",{className:"new-sign-in-div-2",children:["brawlers"!==We&&(0,Z.jsx)("div",{className:"new-sign-in-div-3",children:(0,Z.jsx)(E.c,{i18nKey:y.I.Signin["Simple. Instant. Secure. Global"],components:{span:(0,Z.jsx)("span",{})}})}),(0,Z.jsx)("div",{className:"new-sign-in-div-12",children:(0,Z.jsx)(ne,{redirectTo:Fe})}),wn(),(0,Z.jsx)("div",{className:"new-sign-in-div-5",children:hn(y.I.Signin.username)}),(0,Z.jsx)("div",{className:"new-sign-in-div-6",children:(0,Z.jsx)(h,{inputMode:"email",name:"email",size:"large",placeholder:hn(y.I.Signin["Enter profile username or email address"]),onChange:rn})}),(0,Z.jsx)("div",{className:"new-sign-in-div-5",children:hn(y.I.Signin.Password)}),(0,Z.jsx)("div",{className:"new-sign-in-div-6",children:(0,Z.jsx)(m,{maxLength:we.U2,name:"password",size:"large",placeholder:hn(y.I.Signin["Enter password"]),onChange:on})}),(0,Z.jsx)("div",{className:"new-sign-in-div-7",children:(0,Z.jsx)(P.rU,{to:we.Jx.PasswordReset,children:hn(y.I.Signin["Forgot Password"])})}),(0,Z.jsx)("div",{className:"new-sign-up-div-8",id:"turnStileChallenge"}),(0,Z.jsxs)("div",{className:"new-sign-in-div-8",children:[(0,Z.jsx)("div",{className:"new-sign-in-div-9",children:(0,Z.jsx)(S.Fj,{text:hn(y.I.Signin["sign up"]),onClick:function(){V(Se.SIGN_UP),v.push("".concat(we.Jx.Signup).concat(dn||"")),fn()}})}),(0,Z.jsx)("div",{className:"new-sign-in-div-10",children:(0,Z.jsx)(S.op,{text:hn(y.I.Signin["sign in"]),onClick:function(){return gn()},isLoading:!G||Be})})]}),xn(be.SIGNIN),"1"===qe&&(0,Z.jsx)("div",{className:"new-sign-in-div-11",children:(0,Z.jsxs)("div",{children:[(0,Z.jsx)("img",{src:re,alt:"error msg",style:{width:"14px",height:"14px",marginRight:"8px"}}),"Your Email Was Verified! Please Login To Start Using."]})})]})]})}):(0,Z.jsx)(Z.Fragment,{children:(0,Z.jsxs)(g,{children:[(0,Z.jsx)("div",{className:"new-sign-up-div-1",children:hn(y.I.Signin["account registration"])}),U.I$&&(0,Z.jsx)("div",{className:"new-sign-up-div-3",children:(0,Z.jsxs)("div",{className:"new-sign-up-div-15",children:[(0,Z.jsxs)(_.Z,{size:8,children:[(0,Z.jsx)("div",{className:"promocode-text-1",children:"Promo Code"}),(0,Z.jsx)(te.W,{text:(0,Z.jsx)("div",{children:hn(y.I.Signin["promo-code-desc"])}),children:je})]}),(0,Z.jsxs)(_.Z,{size:8,onClick:function(){return tn(!0)},children:[(0,Z.jsxs)("div",{className:"promocode-badge",children:[(0,Z.jsx)(ce,{className:"tag-icon"}),(0,Z.jsx)("span",{children:Ke||hn(y.I.Signin["Enter Promo Code"])})]}),(0,Z.jsx)(ae,{className:"arrow-icon"})]})]})}),(0,Z.jsxs)("div",{className:"new-sign-up-div-3",children:[(0,Z.jsx)("div",{className:"new-sign-up-div-13",children:hn(y.I.Signin["Signup with social account"])}),(0,Z.jsx)("div",{className:"new-sign-up-div-14",children:(0,Z.jsx)(ne,{redirectTo:Fe})}),wn(),(0,Z.jsx)("div",{className:"new-sign-up-div-6",children:hn(y.I.Signin.username)}),(0,Z.jsx)("div",{className:"new-sign-up-div-7",children:(0,Z.jsx)(h,{inputMode:"email",size:"large",placeholder:hn(y.I.Signin["Enter profile username or email address"]),onChange:an})}),(0,Z.jsx)("div",{className:"new-sign-up-div-6",children:hn(y.I.Signin.Password)}),(0,Z.jsx)("div",{className:"new-sign-up-div-7",children:(0,Z.jsx)(m,{name:"password",maxLength:we.U2,size:"large",placeholder:hn(y.I.Signin["Enter password"]),onChange:sn})}),(0,Z.jsx)("div",{className:"new-sign-up-div-6",children:hn(y.I.Signin.Confirm)}),(0,Z.jsx)("div",{className:"new-sign-up-div-7",children:(0,Z.jsx)(m,{name:"password",maxLength:we.U2,size:"large",placeholder:hn(y.I.Signin["Enter password"]),onChange:cn})}),xn(be.SIGNUP),0===(null===Ae||void 0===Ae?void 0:Ae.length)&&ze&&!Be&&(0,Z.jsx)("div",{className:"new-sign-up-div-12",children:(0,Z.jsxs)("div",{children:[(0,Z.jsx)("img",{src:re,alt:"error msg",style:{width:"14px",height:"14px",marginRight:"8px"}}),"Please Check Your Email To Proceed"]})}),(0,Z.jsx)("div",{className:"new-sign-up-div-8",id:"turnStileChallenge"}),(0,Z.jsxs)("div",{className:"new-sign-up-div-8",children:[(0,Z.jsx)("div",{className:"new-sign-up-div-9",children:(0,Z.jsx)(S.Fj,{text:hn(y.I.Signin["sign in"]),onClick:function(){V(Se.SIGN_IN),v.push("".concat(we.Jx.Signin).concat(dn||"")),fn()}})}),(0,Z.jsx)("div",{className:"new-sign-up-div-10",children:(0,Z.jsx)(S.op,{text:hn(y.I.Signin["Create Account"]),onClick:function(){return mn()},isLoading:!G||Be})})]})]})]})}),(0,Z.jsx)(x,{children:(0,Z.jsx)(z.r,{height:256,imgId:U.GP})})]})),(0,Z.jsx)(I,{visible:nn,code:Ke,onCancel:Cn,handleApply:function(e){Xe(e),Cn()}})]})}},6227:function(e,n,t){t.d(n,{LA:function(){return o},nh:function(){return a}});var i=t(44781),r=t(9274),o=i.ZP.div.withConfig({componentId:"sc-1aolnhn-0"})([".wax-notice-title{display:flex;justify-content:center;font-weight:600;font-size:18px;text-align:center;color:",";}.wax-notice-sub-1{margin-top:16px;font-style:normal;font-weight:400;font-size:12px;text-align:center;color:",";span{font-weight:700;}}.wax-notice-sub-2{margin-top:20px;font-style:normal;font-weight:400;font-size:12px;text-align:center;color:",";span{font-weight:700;}}.wax-notice-btn{margin-top:16px;}.payment-frame{a{color:#fff;}iframe{width:100%;height:100%;min-height:600px;background-color:#073b4c;border-bottom-left-radius:25px;border-bottom-right-radius:25px;}}"],(function(e){return e.theme.waxNoticeTitle}),(function(e){return e.theme.waxNoticeSubTitle}),(function(e){return e.theme.waxNoticeSubTitle})),a=(i.ZP.div.withConfig({componentId:"sc-1aolnhn-1"})(["width:100%;min-height:110px;background:",";box-shadow:",";border-radius:16px;padding:24px;.account-status-div-1{font-family:'Open Sans';font-style:normal;font-weight:600;font-size:14px;line-height:18px;color:",";}.account-status-div-2{width:100%;margin-top:16px;}"],(function(e){return e.theme.accountStatus}),(function(e){return e.theme.accountStatusBox}),(function(e){return e.theme.accountStatusDiv1})),i.ZP.div.withConfig({componentId:"sc-1aolnhn-2"})(["position:relative;display:flex;justify-content:center;align-items:center;width:16px;height:16px;border-radius:50%;background:",";.step-div-dot{width:8px;height:8px;border-radius:50%;background:",";&.done{background:",";}}.step-div-text{white-space:nowrap;left:-200%;position:absolute;top:22px;font-family:'Open Sans';font-style:normal;font-weight:600;font-size:10px;line-height:12px;color:",";text-align:center;&.first{left:0;}&.last{right:0;left:unset;}&.active{color:",";}}"],(function(e){return e.theme.stepDiv}),(function(e){return e.theme.stepDivDot}),(function(e){return e.theme.stepDivDotDone}),(function(e){return e.theme.StepDiv}),(function(e){return e.theme.StepDivActive})),(0,i.ZP)(r.Z).withConfig({componentId:"sc-1aolnhn-3"})([".promocode-text-1{color:",";font-family:Titillium Web;font-size:20px;font-style:normal;font-weight:400;line-height:32px;}.ant-modal-body{display:flex;padding:12px;flex-direction:column;align-items:center;gap:24px;}"],(function(e){return e.theme.promoCodeTextColor1})))},25114:function(e,n,t){t.d(n,{N:function(){return l},f1:function(){return u},iZ:function(){return d},nw:function(){return c}});var i=t(47313),r=t(18941),o=t(48481),a=t(66929),s=t(45193),c=function(e){(0,i.useEffect)((function(){e()}),[])},l=function(e){(0,i.useEffect)((function(){window.addEventListener("message",(function(n){n.data===s.rO.TX_CLOSED&&e()}))}),[e])},d=function(){(0,i.useEffect)((function(){window.addEventListener("beforeunload",(function(){(window.opener?window.opener:window.parent).postMessage(s.rO.TX_CLOSED,"*")}))}),[])},u=function(){var e=(0,a.qQ)(o.is),n=e.email;return(0,i.useMemo)((function(){if(e.email){var n=String(r.qj).split(",").filter((function(e){return""!==e&&"false"!==e})),t=String(e.email.split("@")[1]);return n.includes(t)}return!1}),[n])||"false"===r.qj}},95238:function(e,n,t){t.d(n,{r:function(){return i}});var i=function(e){return e.SOCIAL_AUTHENTICATION="social_authentication",e.REGISTRATION_VIA_EMAIL="registration_via_email",e.LOGIN_VIA_EMAIL="login_via_email",e.PASSWORD_RESET="password_reset",e.TWO_FA_AUTHENTICATION="2fa_authentication",e.TOS_CONIRMATION="tos_confirmation",e.EMAIL_UPDATE="email_update",e}({})},78390:function(e,n,t){t.d(n,{a:function(){return r}});var i=t(18941),r=function(e,n){return new Promise((function(t,r){var o;null===(o=window.turnstile)||void 0===o||o.render(n,{sitekey:i.fZ,action:e,theme:"light",callback:function(e){console.log("Challenge Success ".concat(e)),t(e)},error:function(e){r(e)}})}))}},59624:function(e,n,t){var i=t(26297);n.Z=i.Z},14133:function(e,n,t){t.d(n,{Z:function(){return y}});var i=t(4942),r=t(87462),o=t(71002),a=t(47313),s=t(46123),c=t.n(s),l=function(e){var n=e.prefixCls,t=e.className,i=e.width,o=e.style;return a.createElement("h3",{className:c()(n,t),style:(0,r.Z)({width:i},o)})},d=t(93433),u=function(e){var n=function(n){var t=e.width,i=e.rows,r=void 0===i?2:i;return Array.isArray(t)?t[n]:r-1===n?t:void 0},t=e.prefixCls,i=e.className,r=e.style,o=e.rows,s=(0,d.Z)(Array(o)).map((function(e,t){return a.createElement("li",{key:t,style:{width:n(t)}})}));return a.createElement("ul",{className:c()(t,i),style:r},s)},p=t(91964),h=function(e){var n,t,o=e.prefixCls,s=e.className,l=e.style,d=e.size,u=e.shape,p=c()((n={},(0,i.Z)(n,"".concat(o,"-lg"),"large"===d),(0,i.Z)(n,"".concat(o,"-sm"),"small"===d),n)),h=c()((t={},(0,i.Z)(t,"".concat(o,"-circle"),"circle"===u),(0,i.Z)(t,"".concat(o,"-square"),"square"===u),(0,i.Z)(t,"".concat(o,"-round"),"round"===u),t)),m="number"===typeof d?{width:d,height:d,lineHeight:"".concat(d,"px")}:{};return a.createElement("span",{className:c()(o,p,h,s),style:(0,r.Z)((0,r.Z)({},m),l)})},m=t(205),g=function(e){var n=e.prefixCls,t=e.className,o=e.active,s=(0,a.useContext(p.E_).getPrefixCls)("skeleton",n),l=(0,m.Z)(e,["prefixCls","className"]),d=c()(s,"".concat(s,"-element"),(0,i.Z)({},"".concat(s,"-active"),o),t);return a.createElement("div",{className:d},a.createElement(h,(0,r.Z)({prefixCls:"".concat(s,"-avatar")},l)))};g.defaultProps={size:"default",shape:"circle"};var f=g,x=function(e){var n,t=e.prefixCls,o=e.className,s=e.active,l=e.block,d=void 0!==l&&l,u=(0,a.useContext(p.E_).getPrefixCls)("skeleton",t),g=(0,m.Z)(e,["prefixCls"]),f=c()(u,"".concat(u,"-element"),(n={},(0,i.Z)(n,"".concat(u,"-active"),s),(0,i.Z)(n,"".concat(u,"-block"),d),n),o);return a.createElement("div",{className:f},a.createElement(h,(0,r.Z)({prefixCls:"".concat(u,"-button")},g)))};x.defaultProps={size:"default"};var w=x,v=function(e){var n,t=e.prefixCls,o=e.className,s=e.active,l=e.block,d=(0,a.useContext(p.E_).getPrefixCls)("skeleton",t),u=(0,m.Z)(e,["prefixCls"]),g=c()(d,"".concat(d,"-element"),(n={},(0,i.Z)(n,"".concat(d,"-active"),s),(0,i.Z)(n,"".concat(d,"-block"),l),n),o);return a.createElement("div",{className:g},a.createElement(h,(0,r.Z)({prefixCls:"".concat(d,"-input")},u)))};v.defaultProps={size:"default"};var C=v,j=function(e){var n=e.prefixCls,t=e.className,i=e.style,r=(0,a.useContext(p.E_).getPrefixCls)("skeleton",n),o=c()(r,"".concat(r,"-element"),t);return a.createElement("div",{className:o},a.createElement("div",{className:c()("".concat(r,"-image"),t),style:i},a.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat(r,"-image-svg")},a.createElement("path",{d:"M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",className:"".concat(r,"-image-path")}))))};function b(e){return e&&"object"===(0,o.Z)(e)?e:{}}var S=function(e){var n=e.prefixCls,t=e.loading,o=e.className,s=e.style,d=e.children,m=e.avatar,g=e.title,f=e.paragraph,x=e.active,w=e.round,v=a.useContext(p.E_),C=v.getPrefixCls,j=v.direction,S=C("skeleton",n);if(t||!("loading"in e)){var y,Z,N,I=!!m,k=!!g,E=!!f;if(I){var T=(0,r.Z)((0,r.Z)({prefixCls:"".concat(S,"-avatar")},function(e,n){return e&&!n?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}(k,E)),b(m));Z=a.createElement("div",{className:"".concat(S,"-header")},a.createElement(h,T))}if(k||E){var L,P;if(k){var _=(0,r.Z)((0,r.Z)({prefixCls:"".concat(S,"-title")},function(e,n){return!e&&n?{width:"38%"}:e&&n?{width:"50%"}:{}}(I,E)),b(g));L=a.createElement(l,_)}if(E){var z=(0,r.Z)((0,r.Z)({prefixCls:"".concat(S,"-paragraph")},function(e,n){var t={};return e&&n||(t.width="61%"),t.rows=!e&&n?3:2,t}(I,k)),b(f));P=a.createElement(u,z)}N=a.createElement("div",{className:"".concat(S,"-content")},L,P)}var M=c()(S,(y={},(0,i.Z)(y,"".concat(S,"-with-avatar"),I),(0,i.Z)(y,"".concat(S,"-active"),x),(0,i.Z)(y,"".concat(S,"-rtl"),"rtl"===j),(0,i.Z)(y,"".concat(S,"-round"),w),y),o);return a.createElement("div",{className:M,style:s},Z,N)}return"undefined"!==typeof d?d:null};S.defaultProps={avatar:!1,title:!0,paragraph:!0},S.Button=w,S.Avatar=f,S.Input=C,S.Image=j;var y=S},45705:function(e,n,t){t.d(n,{u:function(){return m},Z:function(){return f}});var i=t(87462),r=t(4942),o=t(29439),a=t(47313),s=t(46123),c=t.n(s),l=t(14903),d=t(91964);function u(e){var n=e.className,t=e.direction,o=e.index,s=e.marginDirection,c=e.children,l=e.split,d=e.wrap,u=a.useContext(m),p=u.horizontalSize,h=u.verticalSize,g=u.latestIndex,f={};return u.supportFlexGap||("vertical"===t?o<g&&(f={marginBottom:p/(l?2:1)}):f=(0,i.Z)((0,i.Z)({},o<g&&(0,r.Z)({},s,p/(l?2:1))),d&&{paddingBottom:h})),null===c||void 0===c?null:a.createElement(a.Fragment,null,a.createElement("div",{className:n,style:f},c),o<g&&l&&a.createElement("span",{className:"".concat(n,"-split"),style:f},l))}var p=t(90640),h=function(e,n){var t={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&n.indexOf(i)<0&&(t[i]=e[i]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)n.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(t[i[r]]=e[i[r]])}return t},m=a.createContext({latestIndex:0,horizontalSize:0,verticalSize:0,supportFlexGap:!1}),g={small:8,middle:16,large:24};var f=function(e){var n,t=a.useContext(d.E_),s=t.getPrefixCls,f=t.space,x=t.direction,w=e.size,v=void 0===w?(null===f||void 0===f?void 0:f.size)||"small":w,C=e.align,j=e.className,b=e.children,S=e.direction,y=void 0===S?"horizontal":S,Z=e.prefixCls,N=e.split,I=e.style,k=e.wrap,E=void 0!==k&&k,T=h(e,["size","align","className","children","direction","prefixCls","split","style","wrap"]),L=(0,p.Z)(),P=a.useMemo((function(){return(Array.isArray(v)?v:[v,v]).map((function(e){return function(e){return"string"===typeof e?g[e]:e||0}(e)}))}),[v]),_=(0,o.Z)(P,2),z=_[0],M=_[1],H=(0,l.Z)(b,{keepEmpty:!0}),V=void 0===C&&"horizontal"===y?"center":C,A=s("space",Z),U=c()(A,"".concat(A,"-").concat(y),(n={},(0,r.Z)(n,"".concat(A,"-rtl"),"rtl"===x),(0,r.Z)(n,"".concat(A,"-align-").concat(V),V),n),j),D="".concat(A,"-item"),O="rtl"===x?"marginLeft":"marginRight",B=0,G=H.map((function(e,n){null!==e&&void 0!==e&&(B=n);var t=e&&e.key||"".concat(D,"-").concat(n);return a.createElement(u,{className:D,key:t,direction:y,index:n,marginDirection:O,split:N,wrap:E},e)})),F=a.useMemo((function(){return{horizontalSize:z,verticalSize:M,latestIndex:B,supportFlexGap:L}}),[z,M,B,L]);if(0===H.length)return null;var R={};return E&&(R.flexWrap="wrap",L||(R.marginBottom=-M)),L&&(R.columnGap=z,R.rowGap=M),a.createElement("div",(0,i.Z)({className:U,style:(0,i.Z)((0,i.Z)({},R),I)},T),a.createElement(m.Provider,{value:F},G))}},35277:function(e,n,t){e.exports=t.p+"static/media/landing_brawler.5d9e7e838bcde823c67b.png"}}]);