!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="4207a05c-88a0-4ee6-a9de-99b0de2f5baa",e._sentryDebugIdIdentifier="sentry-dbid-4207a05c-88a0-4ee6-a9de-99b0de2f5baa")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3190],{13524:function(e,t,n){"use strict";var a,r=n(67294);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(null,arguments)}t.Z=e=>r.createElement("svg",l({},e,{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",className:e.className?`${e.className} svgrIcon`:"svgrIcon",focusable:"false","aria-hidden":"true"}),a||(a=r.createElement("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"})))},40411:function(e,t,n){"use strict";n.d(t,{k:function(){return s}});var a=n(85893),r=n(90512),l=n(74597),i=n.n(l);let s=e=>{let{icon:t,title:n,description:l}=e;return(0,a.jsxs)("div",{className:(0,r.Z)(i().root,{[i().icon]:t},i()[t||""]),children:[(0,a.jsx)("h1",{className:i().title,children:n}),l&&(0,a.jsx)("div",{className:i().description,children:l})]})}},9155:function(e,t,n){"use strict";n.d(t,{P:function(){return b}});var a=n(85893),r=n(90512),l=n(40411),i=n(67294),s=n(46670),o=n(13524),c=n(81023),u=n(89448),d=n(61376),f=n(8531),p=n(14530),h=n.n(p);let m=(0,s.Pi)(function(e){let{auth:t}=e,{t:n}=(0,u.QT)("main"),{alert:l,setAlert:s}=t;if((0,i.useEffect)(()=>{let e=setTimeout(()=>{s(null)},5e3);return()=>clearTimeout(e)},[l,s]),!l)return;let c=d.P.auth.alert[l];return(0,a.jsxs)("div",{className:(0,r.Z)(h().root,{[h().shown]:l}),children:[(0,a.jsx)("p",{className:h().title,children:n(c.title)}),(0,a.jsx)("p",{className:h().text,children:n(c.text)}),(0,a.jsx)("div",{className:h().button,children:(0,a.jsx)(f.h,{type:"button",onClick:()=>s(null),children:(0,a.jsx)(o.Z,{})})})]})}),v=(0,c.Q)(m);var g=n(95891),x=n.n(g);let b=e=>{let{children:t,header:n,height:i}=e;return(0,a.jsxs)("section",{className:(0,r.Z)(x().root,x()[i||""]),children:[(0,a.jsx)(v,{}),n&&(0,a.jsx)(l.k,{...n}),t]})}},70595:function(e,t,n){"use strict";n.d(t,{L:function(){return j}});var a=n(85893),r=n(46670),l=n(351),i=n(89448),s=n(61376),o=n(71433),c=n(81023),u=n(13184),d=n(21778),f=n(90551),p=n(6515),h=n(19798),m=n.n(h);let v=e=>{let{provider:t,onClick:n,withLabel:r}=e,l=f.RN[t].icon;return(0,a.jsxs)(p.zx,{type:"button",color:p.rp.SECONDARY,variant:p.Wu.OUTLINED,size:{mobile:p.qE.L,tablet:p.qE.XL,desktop:p.qE.XL},onClick:e=>n(t)(e),children:[(0,a.jsx)(l,{}),r&&(0,a.jsx)("span",{className:m().label,children:f.RN[t].label})]})};var g=n(67294),x=n(70112);let b=(0,c.Q)(e=>{let{auth:t}=e,{t:n}=(0,i.QT)("main"),r=s.P.auth,l=(0,g.useRef)(new AbortController),{getPublicKeyRequestOptions:c,sendChallengeAnswer:u,setCommonError:d}=t,f=(0,g.useCallback)(async e=>{let t=await u(e);(null==t?void 0:t.code)&&t.code===o.cd&&d(n(r.passkeyLoginError))},[r.passkeyLoginError,u,d,n]),p=(0,g.useCallback)(async()=>{try{l.current=new AbortController;let e=await c(),t=await x.U2({publicKey:e,signal:l.current.signal,mediation:"conditional"});await f(t)}catch(e){console.error(e)}},[c,f]);return(0,a.jsx)(v,{provider:"passkey",onClick:()=>e=>{e.preventDefault(),h()}});async function h(){try{l.current.abort("");let e=await c(),t=await x.U2({publicKey:e});await f(t)}catch(e){console.error(e),await p()}}});var _=n(43382),w=n.n(_);let N=(0,r.Pi)(function(e){let{auth:t,withPasskey:n}=e,{t:r}=(0,i.QT)("main"),c=s.P.auth.signUp,{commonError:f,getSocialURL:p,onlyGoogleAuth:h}=t,m=e=>t=>{t.preventDefault(),(0,l.Od)(d.J6,{domain:d.JP,path:"/"}),localStorage.setItem(o.OS,"true"),window.open(p(e),"_self")};return(0,a.jsxs)("div",{className:w().root,children:[!h&&(0,a.jsxs)("div",{className:w().label,children:[(0,a.jsx)("div",{className:w().line}),(0,a.jsx)("div",{className:w().text,children:r(c.continueWith)}),(0,a.jsx)("div",{className:w().line})]}),(0,a.jsxs)("div",{className:w().content,children:[(0,a.jsx)(v,{provider:"google",onClick:m,withLabel:h}),!h&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(v,{provider:"apple",onClick:m}),(0,a.jsx)(v,{provider:"facebook",onClick:m}),n&&(0,a.jsx)(b,{})]})]}),(0,a.jsx)(u.u,{message:f,centered:!0})]})}),j=(0,c.Q)(N)},90551:function(e,t,n){"use strict";n.d(t,{RN:function(){return g},k2:function(){return v},lo:function(){return m}});var a,r,l,i,s,o,c,u=n(67294);function d(){return(d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(null,arguments)}function f(){return(f=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(null,arguments)}function p(){return(p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(null,arguments)}function h(){return(h=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(null,arguments)}let m=8,v=6,g={facebook:{icon:e=>u.createElement("svg",d({},e,{xmlns:"http://www.w3.org/2000/svg",width:25,height:24,fill:"none",viewBox:"0 0 25 24",className:e.className?`${e.className} svgrIcon`:"svgrIcon",focusable:"false","aria-hidden":"true"}),a||(a=u.createElement("path",{fill:"#4267B2",d:"M24.63 12c0-6.6-5.4-12-12-12s-12 5.4-12 12c0 6 4.35 10.95 10.05 11.85v-8.4h-3V12h3V9.3c0-3 1.8-4.65 4.5-4.65 1.34 0 2.7.3 2.7.3v3h-1.5c-1.5 0-1.95.9-1.95 1.8V12h3.3l-.6 3.45h-2.85V24c6-.9 10.35-6 10.35-12"}))),label:"Facebook"},google:{icon:e=>u.createElement("svg",p({},e,{xmlns:"http://www.w3.org/2000/svg",width:25,height:24,fill:"none",viewBox:"0 0 25 24",className:e.className?`${e.className} svgrIcon`:"svgrIcon",focusable:"false","aria-hidden":"true"}),l||(l=u.createElement("path",{fill:"#EA4335",d:"M12.37 4.64c2.3 0 3.85.97 4.73 1.79l3.46-3.31A12 12 0 0 0 12.36 0C7.59 0 3.45 2.7 1.44 6.6L5.4 9.63c1-2.9 3.74-5 6.98-5"})),i||(i=u.createElement("path",{fill:"#4285F4",d:"M24.12 12.26c0-.98-.08-1.7-.25-2.45h-11.5v4.45h6.75a5.9 5.9 0 0 1-2.5 3.9l3.86 2.93c2.31-2.1 3.64-5.17 3.64-8.83"})),s||(s=u.createElement("path",{fill:"#FBBC05",d:"M5.4 14.37a7.3 7.3 0 0 1-.01-4.74L1.43 6.6a11.8 11.8 0 0 0 0 10.78z"})),o||(o=u.createElement("path",{fill:"#34A853",d:"M12.37 24c3.3 0 6.08-1.07 8.1-2.9l-3.86-2.94a7.4 7.4 0 0 1-4.24 1.2 7.4 7.4 0 0 1-6.97-4.99L1.44 17.4A12.2 12.2 0 0 0 12.37 24"}))),label:"Google"},apple:{icon:e=>u.createElement("svg",f({},e,{xmlns:"http://www.w3.org/2000/svg",width:22,height:24,fill:"none",viewBox:"0 0 22 24",className:e.className?`${e.className} svgrIcon`:"svgrIcon",focusable:"false","aria-hidden":"true"}),r||(r=u.createElement("path",{fill:"#111827",d:"M21.43 18.7q-.56 1.26-1.34 2.32-1.05 1.45-1.72 2.01-1.04.91-2.22.94-.85 0-2.05-.47a6 6 0 0 0-2.2-.47q-1.07 0-2.28.47a6 6 0 0 1-1.96.5q-1.14.04-2.27-.97a13 13 0 0 1-1.8-2.08 14 14 0 0 1-1.91-3.65q-.8-2.25-.8-4.35 0-2.42 1.08-4.16A6.2 6.2 0 0 1 7.3 5.75q.9 0 2.37.53t1.89.53q.3 0 2.09-.63a7 7 0 0 1 2.83-.48q3.15.24 4.73 2.39-2.81 1.65-2.79 4.6.03 2.29 1.73 3.81a6 6 0 0 0 1.73 1.1q-.21.57-.45 1.1M16.63.48q0 1.8-1.37 3.36c-1.1 1.23-2.42 1.94-3.86 1.83l-.03-.45a5.55 5.55 0 0 1 3.2-4.67A5 5 0 0 1 16.61 0q.02.24.02.48"}))),label:"Apple"},passkey:{icon:e=>u.createElement("svg",h({},e,{xmlns:"http://www.w3.org/2000/svg",width:25,height:24,fill:"none",viewBox:"0 0 25 24",className:e.className?`${e.className} svgrIcon`:"svgrIcon",focusable:"false","aria-hidden":"true"}),c||(c=u.createElement("path",{fill:"#111827",d:"M9.6 2.05A4.7 4.7 0 0 0 6.06 5.5c-.15.59-.15 1.58 0 2.17a4.7 4.7 0 0 0 3.56 3.45c.28.06.56.07 1.12.06a4.45 4.45 0 0 0 3.48-1.78c.37-.5.6-.95.78-1.51.12-.4.13-.5.13-1.3s0-.9-.13-1.3a4.6 4.6 0 0 0-3.1-3.13c-.37-.13-.5-.14-1.2-.16q-.8-.01-1.12.05M18.58 8.17q-1.05.22-1.85 1.04a3.6 3.6 0 0 0-.74 3.84c.27.68.88 1.38 1.5 1.73l.3.17v5.54l.75.75.76.76 1.28-1.29.56-.55c.4-.4.4-1.06 0-1.46l-.8-.8.75-.76c.73-.75.89-.72.15-1.46a7 7 0 0 1-.59-.62l.42-.24a3.6 3.6 0 0 0 1.7-2.2c.13-.47.14-1.33.03-1.78a3.6 3.6 0 0 0-2.55-2.62 5 5 0 0 0-1.67-.05m1.3 1.64c.24.17.48.59.48.85s-.21.67-.41.82a1.2 1.2 0 0 1-.9.19 1.1 1.1 0 0 1-.77-.99c0-.82.93-1.33 1.6-.87M8.09 13.32a6.2 6.2 0 0 0-5.21 6.8v1.34H16.2v-5.64l-.4-.38q-.67-.64-1.04-1.36l-.17-.32-.54-.18c-1.77-.6-4.14-.54-5.97-.26"}))),label:"Passkey"}}},81023:function(e,t,n){"use strict";n.d(t,{Q:function(){return u}});var a=n(85893),r=n(67294),l=n(69339),i=n(35902),s=n(4894),o=n(45374),c=n(96971);function u(e){return function(t){let[u,d]=(0,r.useState)(null),f=(0,i.Z)(),p=(0,s.r)(),h=(0,o.S)(),m=(0,c.K)();return((0,r.useEffect)(()=>{Promise.all([n.e(5236).then(n.bind(n,2721)),n.e(3271).then(n.bind(n,83271))]).then(e=>{let[{AuthStore:t},{load:n}]=e;d((0,l.M)(()=>new t(f,p,h,m,n),"auth"))})},[m,p,h,f]),u)?(0,a.jsx)(e,{...t,auth:u}):null}}},19842:function(e,t,n){"use strict";n.d(t,{n:function(){return v}});var a=n(85893),r=n(46670),l=n(90512),i=n(9008),s=n.n(i),o=n(11163),c=n(89448),u=n(61406),d=n(39968),f=n(52903),p=n(92597),h=n(2335),m=n.n(h);let v=(0,r.Pi)(function(e){let{children:t,tMetaValues:n={},structuredData:r,disableLazyLoad:i,hidden:h=!0,noindex:v=!1,tNamespace:g,tKeysMeta:x,pathnameOverride:b}=e,{t:_}=(0,c.QT)(g),{asPath:w,locales:N,locale:j}=(0,o.useRouter)(),y=b??w,I=(0,d.G)(y),E=j&&"en"!==j?`/${j}`:"",O=(0,d.x)(y);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(s(),{children:[(0,a.jsx)("title",{children:_(x.metaTitle,n)}),v&&(0,a.jsx)("meta",{name:"robots",content:"noindex, nofollow"}),(0,a.jsx)("meta",{name:"description",content:_(x.metaDescription,n)},"description"),(0,a.jsx)("meta",{property:"og:title",content:_(x.metaTitle,n)},"og:title"),(0,a.jsx)("meta",{property:"og:description",content:_(x.metaDescription,n)},"og:description"),(0,a.jsx)("meta",{property:"og:url",content:I}),(0,a.jsx)("link",{rel:"canonical",href:`https://bitsgap.com${E}${O}`}),(0,a.jsx)("link",{rel:"alternate",href:I,hrefLang:"x-default"}),(0,a.jsx)("link",{rel:"alternate",href:I,hrefLang:"en-US"}),(0,u.lD)(y)?(0,a.jsx)("link",{rel:"alternate",href:I,hrefLang:"en"}):null==N?void 0:N.map(e=>(0,a.jsx)("link",{rel:"alternate",href:"en"===e?I:(0,d.G)(y,e),hrefLang:"it"===e?"it-IT":e},e)),r&&(0,a.jsx)("script",{type:"application/ld+json",children:JSON.stringify(r)})]}),(0,a.jsx)(p.h,{}),(0,a.jsx)(f.c,{disabled:i,children:(0,a.jsx)("main",{className:(0,l.Z)(j,m().main,{[m().hidden]:h}),children:t})})]})})},84120:function(e,t,n){"use strict";n.d(t,{W:function(){return E}});var a,r,l,i=n(85893),s=n(67294),o=n(89448),c=n(61376),u=n(90512),d=n(90551);function f(){return(f=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(null,arguments)}var p=e=>s.createElement("svg",f({},e,{xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"currentColor",viewBox:"0 0 16 16",className:e.className?`${e.className} svgrIcon`:"svgrIcon",focusable:"false","aria-hidden":"true"}),a||(a=s.createElement("path",{fillRule:"evenodd",d:"M6.58 12a.7.7 0 0 1-.5-.21L2.86 8.34a.67.67 0 1 1 .97-.92l2.75 2.93 5.6-6.13a.67.67 0 0 1 .99.9l-6.1 6.66a.7.7 0 0 1-.48.22Z",clipRule:"evenodd"}))),h=n(87255),m=n.n(h);let v=e=>{let{rules:t}=e,{t:n}=(0,o.QT)("main"),a=c.P.auth.login.validator;return(0,i.jsxs)("div",{className:m().root,children:[(0,i.jsx)("p",{className:m().title,children:n(a.title)}),(0,i.jsx)("ul",{children:t.map(e=>{let{type:t,result:r}=e;return(0,i.jsxs)("li",{className:(0,u.Z)(m().listItem,{[m().good]:r}),children:[(0,i.jsx)(p,{className:m().icon}),n(a[t],{count:d.lo})]},t)})})]})};var g=n(45412),x=n(62252),b=n(78336),_=n(8531);function w(){return(w=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(null,arguments)}var N=e=>s.createElement("svg",w({},e,{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24",className:e.className?`${e.className} svgrIcon`:"svgrIcon",focusable:"false","aria-hidden":"true"}),r||(r=s.createElement("path",{fill:"#6B7280",fillRule:"evenodd",d:"M21.87 12.5a16 16 0 0 1-2.92 3.63l-1.4-1.41c1.05-.96 1.82-2 2.28-2.72-.94-1.41-3.76-5.1-8.05-5q-.9.04-1.7.25L8.5 5.67A9 9 0 0 1 11.73 5c5.97-.18 9.5 5.39 10.14 6.5a1 1 0 0 1 0 1m-7.95 4.25 1.58 1.58a9 9 0 0 1-3.48.67c-5.86 0-9.26-5.4-9.89-6.5a1 1 0 0 1 0-1 16 16 0 0 1 2.91-3.63l1.42 1.41c-1.06.96-1.83 2-2.29 2.72.93 1.41 3.74 5.1 8.05 5q.9-.04 1.7-.25M12 13.5a1.5 1.5 0 0 1-1.5-1.5l.01-.07 1.56 1.56zM4.7 3.3a1 1 0 0 0-1.4 1.4l5.62 5.64a3.5 3.5 0 0 0 4.74 4.74l5.63 5.63a1 1 0 0 0 1.42 0 1 1 0 0 0 0-1.42l-16-16Z",clipRule:"evenodd"})));function j(){return(j=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(null,arguments)}var y=e=>s.createElement("svg",j({},e,{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24",className:e.className?`${e.className} svgrIcon`:"svgrIcon",focusable:"false","aria-hidden":"true"}),l||(l=s.createElement("path",{fill:"#111827",d:"M12 19a10 10 0 0 1-7.79-3.32 11 11 0 0 1-2.11-3.36L2 12l.1-.32a10.7 10.7 0 0 1 5.15-5.65C8.74 5.33 10.36 4.98 12 5a10 10 0 0 1 7.79 3.32 11 11 0 0 1 2.11 3.36l.1.32-.1.32A10.4 10.4 0 0 1 12 19m0-12a8.3 8.3 0 0 0-7.88 5A8.3 8.3 0 0 0 12 17a8.3 8.3 0 0 0 7.88-5A8.3 8.3 0 0 0 12 7m0 8a3.02 3.02 0 1 1-.04-6.04A3.02 3.02 0 0 1 12 15"})));let I=e=>{let{visibility:t,onClick:n}=e,{t:a}=(0,o.QT)("main"),r=c.P.auth;return(0,i.jsxs)(_.h,{onClick:n,type:"button","aria-pressed":t,"aria-controls":"password","aria-label":a(r[t?"hide":"show"]),children:[(0,i.jsx)("span",{className:"visually-hidden",children:a(r[t?"hide":"show"])}),t?(0,i.jsx)(y,{}):(0,i.jsx)(N,{})]})},E=e=>{let{validatorResult:t,...n}=e,{t:a}=(0,o.QT)("main"),r=c.P.auth,{isDesktop:l}=(0,x.h)(),[u,d]=(0,s.useState)(!1),[f,p]=(0,s.useState)(!1),h=()=>(0,i.jsx)(I,{visibility:u,onClick:()=>d(!u)});if((0,s.useEffect)(()=>{(null==t?void 0:t.isWeak)?p(!0):setTimeout(()=>{p(!1)},1e3)},[null==t?void 0:t.isWeak]),t)return(0,i.jsx)(b.u,{message:f&&(0,i.jsx)(v,{rules:t.validationRules}),placement:l?"right-start":"top",fallbackSideDirection:"start",open:f,offsetTooltip:l?12:8,children:m()});return m();function m(){return(0,i.jsx)(g.o,{id:"password",label:a(r.password),type:u?"text":"password",endAdornment:h(),...n})}}},58211:function(e,t,n){"use strict";n.d(t,{A:function(){return i}});var a=n(85893),r=n(45516),l=n.n(r);let i=e=>{let{testId:t,children:n,...r}=e;return(0,a.jsx)("button",{type:"button",className:l().root,...r,children:n})}},13184:function(e,t,n){"use strict";n.d(t,{u:function(){return s}});var a=n(85893),r=n(90512),l=n(66253),i=n.n(l);let s=e=>{let{dataTest:t,message:n,centered:l}=e;return(0,a.jsx)("div",{className:(0,r.Z)(i().root,{[i().visible]:!!n,[i().centered]:l}),children:n})}},45412:function(e,t,n){"use strict";n.d(t,{o:function(){return c}});var a=n(85893),r=n(67294),l=n(90512),i=n(13184),s=n(85259),o=n.n(s);let c=e=>{var t;let{value:n,label:s,placeholder:c,testId:u,inputTestId:d,disabled:f,error:p,errorText:h,endAdornment:m,endAdornmentSize:v=40,onFocus:g,onBlur:x,onChange:b,..._}=e,w=(0,r.useRef)(null),[N,j]=(0,r.useState)(!1);return(0,a.jsxs)("div",{className:(0,l.Z)(o().root,{[o().disabled]:f}),children:[(0,a.jsx)("label",{className:(0,l.Z)(o().label,{[o().labelRaised]:N||!!(null===(t=w.current)||void 0===t?void 0:t.value)||!!n}),children:s}),(0,a.jsxs)("div",{className:(0,l.Z)(o().inputRoot,{[o().focused]:N,[o().error]:!!h||p}),children:[(0,a.jsx)("input",{"aria-invalid":!!h||p,ref:w,type:"text",value:n,onFocus:function(e){j(!0),null==g||g(e)},onBlur:function(e){j(!1),null==x||x(e)},onChange:function(e){let{value:t}=e.target,n=t?t.toString():"";null==b||b(n)},className:o().input,disabled:f,placeholder:N&&c?c:void 0,style:{paddingRight:`${12+v+6}px`},..._}),(0,a.jsx)("div",{className:o().adornedEnd,children:m})]}),(0,a.jsx)(i.u,{dataTest:u?`${u}-error`:"",message:h})]})}},78336:function(e,t,n){"use strict";n.d(t,{u:function(){return m}});var a=n(85893),r=n(67294),l=n(93075),i=n(1371),s=n(24750),o=n(90512),c=n(73935),u=n(62252),d=n(18384),f=n(21778),p=n(1147),h=n.n(p);let m=e=>{let{open:t,title:n,message:p,children:m,onOpen:v,onClose:g,variant:x="primary",placement:b="top",fallbackSideDirection:_="none",ifNeeded:w,limitedWidth:N,offsetTooltip:j}=e,{isMobile:y}=(0,u.h)(),I=(0,r.useRef)(),[E,O]=(0,r.useState)(t??!1),[A,T]=(0,r.useState)(null),[C,R]=(0,r.useState)(null),P=(0,r.useRef)(null),[S,k]=(0,r.useState)(null),[M,D]=(0,r.useState)(!1),[L,B]=(0,r.useState)(!1);(0,r.useEffect)(()=>{O(t??!1)},[t]);let{floatingStyles:q,context:G}=(0,l.YF)({placement:b,elements:{reference:A,floating:C},middleware:[(0,i.cv)(j||(y?24:14)),(0,i.RR)({fallbackAxisSideDirection:`${_}`}),(0,i.x7)({element:P})],whileElementsMounted:s.Me});(0,r.useEffect)(()=>{I.current=document.body},[]),(0,d.L)(()=>{w&&(D(!1),B(e=>!e))},[p]),(0,d.L)(()=>{w&&A&&S&&D(A.offsetWidth<S.offsetWidth)},[L]);let U=!0===w?E&&M:E;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:h().root,onMouseLeave:e=>{null==g||g(e),void 0===t&&O(!1)},onMouseEnter:e=>{null==v||v(e),void 0===t&&O(!0)},ref:T,children:(0,a.jsx)("div",{className:(0,o.Z)(h().content,{[h().ellipsis]:M}),ref:k,children:m})}),U&&!f.DM&&(0,c.createPortal)((0,a.jsxs)("div",{className:(0,o.Z)(h().tooltip,{[h().tooltipPrimary]:"primary"===x,[h().tooltipSecondary]:"secondary"===x},{[h().tooltipHidden]:!E},{[h().limitedWidth]:N}),ref:R,style:q,children:[n&&(0,a.jsx)("div",{className:h().title,children:n}),p,(0,a.jsx)(l.Y$,{ref:P,context:G,className:(0,o.Z)(h().arrow,h()[G.placement]),tipRadius:"primary"===x?2:0})]}),document.body)]})}},39968:function(e,t,n){"use strict";n.d(t,{G:function(){return r},x:function(){return a}});let a=e=>{let[t]=e.split("?");return t.replace(/\/$/,"")},r=(e,t)=>`https://bitsgap.com${void 0!==t?`/${t}`:""}${a(e)}`},79566:function(e,t,n){"use strict";var a,r;n.d(t,{m:function(){return a}}),(r=a||(a={})).HOME="home",r.AI_ASSISTANT="aiAssistant",r.BOTS="bots",r.GRID_BOT="gridBot",r.DCA_BOT="dcaBot",r.FUTURES_BOT="futuresBot",r.BTD_BOT="btdBot",r.DCA_FUTURES_BOT="dcaFuturesBot",r.TRADING="trading",r.TRADING_LIMIT="trading_limit",r.TRADING_MARKET="trading_market",r.TRADING_SCALED="trading_scaled",r.TRADING_STOP="trading_stop",r.TRADING_STOP_LIMIT="trading_stopLimit",r.TRADING_TWAP="trading_twap",r.TRADING_CAMPAIGN="tradingCampaign",r.TRADING_CAMPAIGN_TERMS="tradingCampaignTerms",r.DEMO="demo",r.PRICING="pricing",r.SECURITY="security",r.CONTACT_US="contactUs",r.ABOUT_US="aboutUs",r.COOKIE_POLICY="cookiePolicy",r.PRIVACY_POLICY="privacyPolicy",r.REFUND_POLICY="refundPolicy",r.TERMS_AND_CONDITIONS="termsAndConditions",r.SIGN_IN="signIn",r.SIGN_UP="signUp",r.AFFILIATE_PROGRAM="affiliateProgram",r.AFFILIATE_COMPETITION="affiliateCompetition",r.BLOG="blog",r.EXCHANGES="exchanges"},14530:function(e){e.exports={root:"_xl",shown:"_xm",title:"_xn",text:"_xo",button:"_xp"}},74597:function(e){e.exports={root:"_tL",icon:"_tM",email:"_tN",alert:"_tO",key:"_tP",usb:"_tQ",title:"_tR",description:"_tS"}},95891:function(e){e.exports={root:"_tX",short:"_tY",long:"_tZ",header:"_t0",title:"_t1",description:"_t2"}},87255:function(e){e.exports={root:"_xx",title:"_xy",listItem:"_xz",good:"_xA",icon:"_xB"}},19798:function(e){e.exports={label:"_xH"}},43382:function(e){e.exports={root:"_uX",label:"_uY",line:"_uZ",text:"_u0",content:"_u1"}},2335:function(e){e.exports={main:"_fp",hidden:"_fq"}},45516:function(e){e.exports={root:"_ic"}},66253:function(e){e.exports={root:"_wU",centered:"_wV",visible:"_wW"}},85259:function(e){e.exports={root:"_vG",disabled:"_vH",inputRoot:"_vI",label:"_vJ",focused:"_vK",input:"_vL",adornedEnd:"_vM",labelRaised:"_vN",error:"_vO"}},1147:function(e){e.exports={root:"_sI",content:"_sJ",ellipsis:"_sK",tooltip:"_sL",tooltipSecondary:"_sM",arrow:"_sN",tooltipHidden:"_sO",limitedWidth:"_sP",tooltipPrimary:"_sQ",title:"_sR",left:"_sS",right:"_sT"}},70112:function(e,t,n){"use strict";function a(e){let t="==".slice(0,(4-e.length%4)%4),n=atob(e.replace(/-/g,"+").replace(/_/g,"/")+t),a=new ArrayBuffer(n.length),r=new Uint8Array(a);for(let e=0;e<n.length;e++)r[e]=n.charCodeAt(e);return a}function r(e){let t=new Uint8Array(e),n="";for(let e of t)n+=String.fromCharCode(e);return btoa(n).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}n.d(t,{U2:function(){return v}});var l="copy",i="convert";function s(e,t,n){if(t===l)return n;if(t===i)return e(n);if(t instanceof Array)return n.map(n=>s(e,t[0],n));if(t instanceof Object){let a={};for(let[r,l]of Object.entries(t)){if(l.derive){let e=l.derive(n);void 0!==e&&(n[r]=e)}if(!(r in n)){if(l.required)throw Error(`Missing key: ${r}`);continue}if(null==n[r]){a[r]=null;continue}a[r]=s(e,l.schema,n[r])}return a}}function o(e,t){return{required:!0,schema:e,derive:t}}function c(e){return{required:!0,schema:e}}function u(e){return{required:!1,schema:e}}var d={type:c(l),id:c(i),transports:u(l)},f={appid:u(l),appidExclude:u(l),credProps:u(l)},p={appid:u(l),appidExclude:u(l),credProps:u(l)};c({rp:c(l),user:c({id:c(i),name:c(l),displayName:c(l)}),challenge:c(i),pubKeyCredParams:c(l),timeout:u(l),excludeCredentials:u([d]),authenticatorSelection:u(l),attestation:u(l),extensions:u(f)}),u(l),c(l),c(l),c(i),u(l),c({clientDataJSON:c(i),attestationObject:c(i),transports:o(l,e=>{var t;return(null==(t=e.getTransports)?void 0:t.call(e))||[]})}),o(p,e=>e.getClientExtensionResults());var h={mediation:u(l),publicKey:c({challenge:c(i),timeout:u(l),rpId:u(l),allowCredentials:u([d]),userVerification:u(l),extensions:u(f)}),signal:u(l)},m={type:c(l),id:c(l),rawId:c(i),authenticatorAttachment:u(l),response:c({clientDataJSON:c(i),authenticatorData:c(i),signature:c(i),userHandle:c(i)}),clientExtensionResults:o(p,e=>e.getClientExtensionResults())};async function v(e){let t=await navigator.credentials.get(s(a,h,e));return s(r,m,t)}}}]);