(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[653],{50499:function(o,e){"use strict";e.Z={src:"/_next/static/media/Logo-cryptospace-network.b1e13228.png",height:758,width:3174,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAACCAMAAABSSm3fAAAAGFBMVEX9r0H/rz/7sD/9rkH1rUH6r0D6rkD/rT2APodmAAAACHRSTlMwJGs+GaPiGYv2J68AAAAJcEhZcwAALiMAAC4jAXilP3YAAAAaSURBVHicY2BjYmRmZmRnYWBlYmFgZGBgAAABywAoMbqtBgAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:2}},79343:function(o,e,t){"use strict";t.d(e,{D:function(){return CompanyCardsLogin}});var n=t(85893),a=t(81458),_=t.n(a),r={src:"/_next/static/media/gold-card-LUX-final-2.c86c0639.gif"},i=t(67294),l=t(87066),s=t(11163),c=t.n(s),g=t(93945),m=t.n(g);let CompanyCards=o=>{let{mobile:e=!1}=o,[t,a]=(0,i.useState)(null),[s,g]=(0,i.useState)(null),[d,u]=(0,i.useState)(!0);return(0,i.useEffect)(()=>{let getLogo=async o=>{try{var e;let t=await l.Z.get(o,{headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json"}}),n=null==t?void 0:null===(e=t.data)||void 0===e?void 0:e.referral_card_image;n&&g(n),u(!1)}catch(o){o.response&&404===o.response.status&&g(r.src),u(!1)}},{code:o}=c().query,e=null;o?(e=Array.isArray(o)?o[0]:o,localStorage.setItem("registrationCode",e),t||a(e)):(e=localStorage.getItem("registrationCode"))&&!t?a(e):(u(!1),a(null)),e&&!s&&getLogo("".concat("https://xp1o76bls8ib.cards.apptrokera.com","/api/v2/referral_logo/logo/").concat(e))},[c().query,s]),(0,n.jsx)(n.Fragment,{children:!d&&(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("img",{className:"".concat(m().logo," ").concat(e?_().logo__mobile:""),src:"/img/trokera_card.jpg",alt:"cryptospace logo",style:{height:"auto",width:"80%",borderRadius:"10px"}})})})},CompanyCardsLogin=o=>{let{mobile:e=!1}=o;return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("div",{className:e?_().text__container__image__text__mobile:_().text__container__image__text,children:[(0,n.jsxs)("div",{className:"".concat(_().text__container__image," ").concat(e&&_().text__container__image__mobile),children:[(0,n.jsx)(CompanyCards,{}),(0,n.jsxs)("div",{className:_().logos_coins,children:[(0,n.jsx)("img",{src:"/img/coin-logos/USDT-LOGO.png",alt:"",className:_().usdt_logo}),(0,n.jsx)("img",{src:"/img/coin-logos/USDC-LOGO2.0.png",className:_().usdc_logo}),(0,n.jsx)("img",{src:"/icons-sections/logo-cs-token.svg",alt:"logo-coin",className:"".concat(_().usdc_logo),style:{cursor:"pointer"},onClick:()=>window.location.href="https://sun.io/?lang=en-US#/sun_swap/v2?t0=T9yD14Nj9j7xAB4dbGeiX9h8unkKHxuWwb&t1=TTuSkmCGUuR9W5WsdNhfMkbJW7evvgMJrT&type=swap&from=v3"}),(0,n.jsx)("img",{src:"/icons-sections/logo-pug-token.png",alt:"logo-coin",className:"".concat(_().usdc_logo," ").concat(_().bounce_effect),style:{cursor:"pointer"},onClick:()=>window.location.href="https://sun.io/?lang=en-US#/sun_swap/v2?t0=TEDEdyZzvtAtKW8jamqhXshdGFBkYQS6AW&t1=T9yD14Nj9j7xAB4dbGeiX9h8unkKHxuWwb&type=swap&from=v3"})]}),(0,n.jsx)("p",{className:"".concat(e&&_().text__product__mobile),children:"Physical Credit Card"})]}),(0,n.jsxs)("div",{className:"".concat(_().text__container__image," ").concat(e&&_().text__container__image__mobile),children:[(0,n.jsx)("img",{src:"/img/digital_debit_card.png",alt:"Online Shopping",style:{height:"auto",width:"80%",borderRadius:"10px"}}),(0,n.jsxs)("div",{className:"".concat(_().logos_coins," ").concat(e&&_().logos_coins_mobile),children:[(0,n.jsx)("img",{src:"/img/coin-logos/USDT-LOGO.png",alt:"",className:_().usdt_logo}),(0,n.jsx)("img",{src:"/img/coin-logos/USDC-LOGO2.0.png",className:_().usdc_logo}),(0,n.jsx)("img",{src:"/icons-sections/logo-cs-token.svg",alt:"logo-coin",className:"".concat(_().usdc_logo),style:{cursor:"pointer"},onClick:()=>window.location.href="https://sun.io/?lang=en-US#/sun_swap/v2?t0=T9yD14Nj9j7xAB4dbGeiX9h8unkKHxuWwb&t1=TTuSkmCGUuR9W5WsdNhfMkbJW7evvgMJrT&type=swap&from=v3"}),(0,n.jsx)("img",{src:"/icons-sections/logo-pug-token.png",alt:"logo-coin",className:"".concat(_().usdc_logo," ").concat(_().bounce_effect),style:{cursor:"pointer"},onClick:()=>window.location.href="https://sun.io/?lang=en-US#/sun_swap/v2?t0=TEDEdyZzvtAtKW8jamqhXshdGFBkYQS6AW&t1=T9yD14Nj9j7xAB4dbGeiX9h8unkKHxuWwb&type=swap&from=v3"})]}),(0,n.jsx)("p",{className:"".concat(e&&_().text__product__mobile),children:" PREPAID Digital Debit Card"})]})]})})}},40732:function(o,e,t){"use strict";t.d(e,{j:function(){return CompanyLogos}});var n=t(85893),a=t(50499),_=t(67294),r=t(87066),i=t(11163),l=t.n(i),s=t(93945),c=t.n(s),g=t(81458),m=t.n(g);let CompanyLogos=o=>{let{mobile:e=!1}=o,[t,i]=(0,_.useState)(null),[s,g]=(0,_.useState)(null),[d,u]=(0,_.useState)(!0);return(0,_.useEffect)(()=>{let getLogo=async o=>{try{var e;let t=await r.Z.get(o,{headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json"}}),n=null==t?void 0:null===(e=t.data)||void 0===e?void 0:e.referral_image_logo;n&&g(n||null),u(!1)}catch(o){o.response&&404===o.response.status&&g(a.Z.src),u(!1)}},{code:o}=l().query,e=null;o?(e=Array.isArray(o)?o[0]:o,localStorage.setItem("registrationCode",e),t||i(e)):(e=localStorage.getItem("registrationCode"))&&!t?i(e):(u(!1),i(null)),e&&!s&&getLogo("".concat("https://xp1o76bls8ib.cards.apptrokera.com","/api/v2/referral_logo/logo/").concat(e))},[l().query,s]),(0,n.jsx)(n.Fragment,{children:!d&&(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",flexDirection:"column",gap:"1rem"},children:[(0,n.jsx)("img",{className:"".concat(c().logo," ").concat(e?m().logo__mobile:""),src:"/img/logo_trokera_yellow.png",alt:"cryptospace logo",width:"203",style:{height:"auto"}}),s&&s!==a.Z.src&&(0,n.jsx)("p",{className:"".concat(c().poweredLogo," ").concat(e?m().poweredLogo:""),children:"Powered by CryptoSpace"})]})})})}},4894:function(o,e,t){"use strict";t.d(e,{Z:function(){return components_Layout}});var n=t(85893),a=t(67294),_=t(9008),r=t.n(_),i=t(4298),l=t.n(i);t(56953);var s=t(45962),c=t(66403),g=t(35194),m=t(5870),d=t(68597),u=t(83708);let p=(0,s.vX)({appName:"Prestabit Credit Cards",projectId:String("547a354d1488f9d7238f8227a3179bda"),chains:[c.R,g.F],ssr:!0,transports:{[c.R.id]:(0,m.t)([(0,d.d)("https://mainnet.infura.io/v3/7fdb01bad83844d4b8f1afde6d56cfe6")]),[g.F.id]:(0,m.t)([(0,d.d)("https://sepolia.infura.io/v3/7fdb01bad83844d4b8f1afde6d56cfe6")])}});(0,u._)({chains:[c.R,g.F],transports:{[c.R.id]:(0,m.t)([(0,d.d)("https://mainnet.infura.io/v3/7fdb01bad83844d4b8f1afde6d56cfe6")]),[g.F.id]:(0,m.t)([(0,d.d)("https://sepolia.infura.io/v3/7fdb01bad83844d4b8f1afde6d56cfe6")])}});var y=t(8590),f=t(30202),h=t(92611),b=t(73035),x=t(87066),A=t(11163),v=t.n(A),w=t(50499),components_Layout=o=>{let{children:e,title:t="Cryptospace - Cryptocurrency credit cards"}=o,[_,i]=(0,a.useState)(null),[c,g]=(0,a.useState)(null),[m,d]=(0,a.useState)(!0),[u,A]=(0,a.useState)(null),[j,C]=(0,a.useState)(null),{user:S}=(0,b.a)();(0,a.useEffect)(()=>{let getColors=async o=>{try{var e,t;let n=await x.Z.get(o,{headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json"}}),a=null==n?void 0:null===(e=n.data)||void 0===e?void 0:e.primary_color,_=null==n?void 0:null===(t=n.data)||void 0===t?void 0:t.hover_color;a&&(A(a),localStorage.setItem("fetchedPrimaryColor",a)),_&&(C(_),localStorage.setItem("fetchedHoverColor",_))}catch(o){console.error({error:o.message})}},{code:o}=v().query;if(o){let e=Array.isArray(o)?o[0]:o,t="".concat("https://xp1o76bls8ib.cards.apptrokera.com","/api/v2/referral_logo/logo/").concat(e);getColors(t)}},[v().query]),(0,a.useEffect)(()=>{let o=localStorage.getItem("fetchedPrimaryColor"),e=localStorage.getItem("fetchedHoverColor");o&&A(o),e&&C(e)},[]),(0,a.useEffect)(()=>{let o=u||(null==S?void 0:S.referred_by_primary_color)||(null==S?void 0:S.primary_color),e=j||(null==S?void 0:S.referred_by_hover_color)||(null==S?void 0:S.hover_color)||"#AB6D29";o&&document.documentElement.style.setProperty("--color-primary",o),e&&document.documentElement.style.setProperty("--color-hover",e),(null==S?void 0:S.primary_color)&&(null==S?void 0:S.hover_color)&&(localStorage.removeItem("fetchedPrimaryColor"),localStorage.removeItem("fetchedHoverColor"))},[u,j,S]),(0,a.useEffect)(()=>{let setVisitorData=()=>{window.tidioChatApi&&(S?window.tidioChatApi.setVisitorData({email:S.email,name:S.name,phone:S.telephone}):window.tidioChatApi.setVisitorData({}))};window.tidioChatApi?setVisitorData():document.addEventListener("tidioChat-ready",setVisitorData)},[S]);let k=w.Z.src;(0,a.useEffect)(()=>{let getLogo=async o=>{try{var e;let t=await x.Z.get(o,{headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json"}}),n=null==t?void 0:null===(e=t.data)||void 0===e?void 0:e.referral_image_logo;n&&i(n),d(!1)}catch(o){console.error({error:o.message}),d(!1)}},{code:o}=v().query,e=null;if(o?(e=Array.isArray(o)?o[0]:o,localStorage.setItem("registrationCode",e),c||g(e)):(e=localStorage.getItem("registrationCode"))&&!c?g(e):(d(!1),g(null)),e&&!_){let o="".concat("https://xp1o76bls8ib.cards.apptrokera.com","/api/v2/referral_logo/logo/").concat(e);getLogo(o)}},[v().query,_]);let L=new y.S;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(r(),{children:[(0,n.jsx)("title",{children:t}),(0,n.jsx)("meta",{charSet:"utf-8"}),(0,n.jsx)("meta",{name:"viewport",content:"initial-scale=1.0, width=device-width"}),(0,n.jsx)("meta",{property:"og:image",content:_||k})]}),(0,n.jsx)(l(),{src:"//code.tidio.co/wvfyt2sxin6qyysbubanx1ewpxwkvvcj.js",async:!0}),(0,n.jsx)("main",{style:{fontFamily:"'DINPro', sans-serif"},children:(0,n.jsx)(h.F,{config:p,children:(0,n.jsx)(f.aH,{client:L,children:(0,n.jsx)(s.pj,{children:e})})})})]})}},93945:function(o){o.exports={main__background:"Apply_main__background__OhEj1",logo__desktop:"Apply_logo__desktop__3xNtw",logo__mobile:"Apply_logo__mobile__AT9l5",poweredLogo:"Apply_poweredLogo__oJbWQ",logoutButton:"Apply_logoutButton__GbEnw",user_icon:"Apply_user_icon__9T8Yi",main__formContainer:"Apply_main__formContainer__N4ZEz",main__backgroundImage:"Apply_main__backgroundImage__jYbd6",main__buttonBack:"Apply_main__buttonBack__qtZB6",main__buttonContinue:"Apply_main__buttonContinue__Fl_C9",footer__apply:"Apply_footer__apply__QP5zd"}},81458:function(o){o.exports={login__container:"login_login__container__FAYBu",container__image:"login_container__image__V1C_t",background__animation:"login_background__animation__z3WJl",text__container:"login_text__container__SqVmj",text__title__mobile:"login_text__title__mobile__e_LFk",text__container__image__text:"login_text__container__image__text__ELMUO",text__container__image__text__mobile:"login_text__container__image__text__mobile__YbRVv",text__container__image:"login_text__container__image__g0PKW",text__container__image__mobile:"login_text__container__image__mobile__FFUhr",container__form:"login_container__form__o_Ma5",login__form:"login_login__form__g6VYN",error:"login_error__hosvB",password__input:"login_password__input__jASWT",password__toggle:"login_password__toggle__qTq8P",logo__mobile:"login_logo__mobile__yg9JD",poweredLogo:"login_poweredLogo__eVzZF",form__title:"login_form__title__6tgPo",form__title__mobile:"login_form__title__mobile___mdyH",form__title2:"login_form__title2__GaOHR",success__container:"login_success__container__ESl3D",success:"login_success__UbKUk",text__product__mobile:"login_text__product__mobile__HgoKf",logos_coins:"login_logos_coins__AzrQf",usdc_logo:"login_usdc_logo__JCLL9",usdt_logo:"login_usdt_logo__4j6CB",forgot:"login_forgot__GRHJs",phonenumber:"login_phonenumber__Fh21A",logo_mobile:"login_logo_mobile__pkTAi",bounce_effect:"login_bounce_effect__dvmOF",bounce:"login_bounce__V_YUV"}},66320:function(o){o.exports={container__summary:"summary_container__summary__aCu_E",order__text:"summary_order__text__T8vJV",buttonLogin:"summary_buttonLogin__SHsOm",container__summaryItems:"summary_container__summaryItems__hGw_m",container__summaryTotal:"summary_container__summaryTotal__Vvc9e",container__textImage:"summary_container__textImage__TJu2G",spinner:"summary_spinner__RKV2R",spin:"summary_spin__vXQtl",container__cards:"summary_container__cards__LSyHq"}}}]);