1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[228],{59200:function(e,n,o){"use strict";o(67294);var t=o(53481),r=o(43489),i=o(89583),c=o(91288),a=o(85893),l=c.ZP.div.withConfig({displayName:"CaptionTooltip__StyledCaptionIcon",componentId:"sc-17u4v2h-0"})(["margin-left:10px;color:rgba(255,255,255,0.5);"]);n.Z=function(e){var n=e.value,o=e.icon,c=void 0===o?i.MXt:o;return(0,a.jsx)(t.Z,{overlay:(0,a.jsx)(r.Z,{id:"tooltip-",children:n}),children:(0,a.jsx)(l,{children:(0,a.jsx)(c,{})})})}},15743:function(e,n,o){"use strict";var t=o(92809),r=o(10219),i=(o(67294),o(2151)),c=o(91288),a=o(59200),l=o(85893),d=["label","children","caption","errorText","isInvalid"];function s(e,n){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),o.push.apply(o,t)}return o}function p(e){for(var n=1;n<arguments.length;n++){var o=null!=arguments[n]?arguments[n]:{};n%2?s(Object(o),!0).forEach((function(n){(0,t.Z)(e,n,o[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):s(Object(o)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(o,n))}))}return e}var m=(0,c.ZP)(i.Z.Group).withConfig({displayName:"FormGroup__StyledFormGroup",componentId:"sc-1ob0z8x-0"})(["margin-top:20px;margin-bottom:20px;text-align:left;.form-label{color:#ccc;margin-bottom:10px;display:flex;align-items:center;padding-left:5px;}.form-text{display:inline-block;margin-top:10px;opacity:0.7;}.form-control{","}"],(function(e){return e.isInvalidValue?"border-color: red;":""})),u=c.ZP.div.withConfig({displayName:"FormGroup__ErrorTextBlock",componentId:"sc-1ob0z8x-1"})(["color:red;padding:5px 0 0 10px;"]);n.Z=function(e){var n=e.label,o=e.children,t=e.caption,c=e.errorText,s=e.isInvalid,x=(0,r.Z)(e,d);return(0,l.jsxs)(m,p(p({},x),{},{isInvalidValue:s,children:[n&&(0,l.jsxs)(i.Z.Label,{children:[n,t&&(0,l.jsx)(a.Z,{value:t})]}),o,c&&s?(0,l.jsx)(u,{children:c}):null]}))}},38571:function(e,n,o){"use strict";o.d(n,{v3:function(){return r},XM:function(){return i},Dt:function(){return c}});var t=o(91288),r=t.ZP.div.withConfig({displayName:"Inputstyled__ErrorTextBlock",componentId:"sc-nce7v2-0"})(["color:red;padding:5px 0 0 20px;"]),i=t.ZP.div.withConfig({displayName:"Inputstyled__StyledInputWrapper",componentId:"sc-nce7v2-1"})(["position:relative;textarea{resize:none;font-family:inherit;&.form-control{height:200px;}}.form-control{padding:12px 20px;width:100%;background:",";border:1px solid ",";border-radius:4px;height:auto;box-shadow:none;color:#fff;font-size:1rem;font-weight:400;line-height:1.5;&:focus{outline:none;border-color:",";}",";"," &[disabled]{opacity:0.5;&:hover{cursor:not-allowed;}}}.form-control::-webkit-input-placeholder,.form-control::-moz-placeholder,.form-control:-ms-input-placeholder,.form-control::-ms-input-placeholder,.form-control::placeholder{color:#fff;}"],(function(e){return e.theme.colors.dark}),(function(e){return e.theme.colors.dark}),(function(e){return e.theme.colors.primary}),(function(e){return e.clearable?"padding-right: 40px":"padding-right: 20px"}),(function(e){return e.isInvalid?"\n border-color: red;\n ":""})),c=t.ZP.button.withConfig({displayName:"Inputstyled__StyledClearButton",componentId:"sc-nce7v2-2"})(["position:absolute;right:14px;top:13px;width:14px;height:15px;background:none;border:none;cursor:pointer;color:rgba(255,255,255,0.5);&:hover{color:rgba(255,255,255,0.75);}"])},71935:function(e,n,o){"use strict";o.d(n,{bl:function(){return a},Wc:function(){return l}});o(67294);var t=o(10682),r=o(91288),i=o(85893),c=r.ZP.section.withConfig({displayName:"Section__StyledSection",componentId:"sc-3nq1ew-0"})(["padding:20px 15px;width:100%;"]),a=r.ZP.div.withConfig({displayName:"Section__StyledSectionHeader",componentId:"sc-3nq1ew-1"})(["text-align:center;margin-bottom:20px;"]),l=r.ZP.h2.withConfig({displayName:"Section__StyledSectionTitle",componentId:"sc-3nq1ew-2"})(["margin-top:0;color:",";font-size:30px;"],(function(e){return e.theme.colors.white})),d=function(e){var n=e.title;return(0,i.jsx)(a,{children:(0,i.jsx)(l,{children:n})})};n.ZP=function(e){var n=e.children,o=e.title;return(0,i.jsx)(c,{children:(0,i.jsxs)(t.Z,{children:[o&&(0,i.jsx)(d,{title:o}),n]})})}},48911:function(e,n,o){"use strict";o.r(n),o.d(n,{default:function(){return z}});o(67294);var t=o(9008),r=o(68447),i=o(33637),c=o(63172),a=o(39648),l=o(78743),d=o(1298),s=o(34499),p=o(15616),m=o(76924),u=o(98485),x=o(15743),f=o(26933),h=o(60362),g=o(22006),y=o(93127),b=o(84440),w=o(91288),j=o(84841),_=o(66565),v=o(13811),Z=w.ZP.div.withConfig({displayName:"SwapFormstyled__HelpTextStyled",componentId:"sc-oxb4qm-0"})(["font-style:normal;font-weight:normal;font-size:14px;line-height:20px;color:#b1b5c4;a{border-bottom:1px solid #ffffff;}"]),C=(0,w.ZP)(_.Z).withConfig({displayName:"SwapFormstyled__StyledCard",componentId:"sc-oxb4qm-1"})(["border-radius:3px;.card-title{font-weight:normal;font-size:42px;}@media (min-width:991px){padding:70px;}"]),I=(w.ZP.div.withConfig({displayName:"SwapFormstyled__SelectsWrapper",componentId:"sc-oxb4qm-2"})(["display:flex;align-items:center;flex-direction:column;"]),w.ZP.div.withConfig({displayName:"SwapFormstyled__FormWrapper",componentId:"sc-oxb4qm-3"})(["max-width:516px;margin:0 auto;"])),S=(w.ZP.div.withConfig({displayName:"SwapFormstyled__FormWrapperHeader",componentId:"sc-oxb4qm-4"})(["margin-bottom:10px;display:flex;align-items:center;justify-content:center;"]),w.ZP.div.withConfig({displayName:"SwapFormstyled__FormWrapperTitle",componentId:"sc-oxb4qm-5"})(["font-size:26px;font-weigt:bold;"]),w.ZP.div.withConfig({displayName:"SwapFormstyled__SwapSelect",componentId:"sc-oxb4qm-6"})(["display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,0.5);margin-top:10px;margin-bottom:10px;&:hover{cursor:pointer;color:rgba(255,255,255,1);}img{margin-left:10px;margin-right:10px;max-height:40px;max-width:150px;}"]),(0,w.ZP)(v.om).withConfig({displayName:"SwapFormstyled__BalanceLabel",componentId:"sc-oxb4qm-7"})(["display:block;text-align:right;margin-top:10px;font-size:12px;"])),P=(w.ZP.div.withConfig({displayName:"SwapFormstyled__BuyWithCardWrapper",componentId:"sc-oxb4qm-8"})(["margin:10px auto;font-size:16px;display:flex;align-items:center;justify-content:center;"]),w.ZP.div.withConfig({displayName:"SwapFormstyled__InputGroup",componentId:"sc-oxb4qm-9"})(["display:flex;align-items:center;"]),w.ZP.div.withConfig({displayName:"SwapFormstyled__InputGroupToken",componentId:"sc-oxb4qm-10"})(["flex:0 0 140px;"]),w.ZP.div.withConfig({displayName:"SwapFormstyled__InputGroupControl",componentId:"sc-oxb4qm-11"})(["flex:1;"]),w.ZP.div.withConfig({displayName:"SwapFormstyled__SwapFormButtons",componentId:"sc-oxb4qm-12"})(["display:flex;"])),N=((0,w.ZP)(j.Z).withConfig({displayName:"SwapFormstyled__StyledButton",componentId:"sc-oxb4qm-13"})(["background:linear-gradient(270.42deg,#ff7940 -2.65%,#ff5ddb 99.64%);border-radius:4px;color:#fff !important;border:none;"]),o(85893)),F=function(){return(0,N.jsx)(g.default,{address:(0,i.Fz)(),size:"30px"})},k=function(){return(0,N.jsx)(g.default,{address:(0,i.LP)(),size:"30px"})},B=function(){var e=(0,d.Z)(),n=e.chainId,o=e.form,t=e.fromMaxBalance,r=e.account,i=e.bnbBalance,a=e.crxBalance,g=e.canSwap,w=e.loading,j=e.onCh
1ange,_=e.onBuy,v=(0,l.mq)(),Z=(0,s.Z)(),C=Z.termsAccepted,I=Z.onAcceptTerms;return(0,N.jsxs)(N.Fragment,{children:[(0,N.jsxs)(f.Z,{children:[(0,N.jsx)(f.h,{number:1,children:(0,N.jsx)(u.Z,{currency:"bnb"})}),(0,N.jsx)(f.h,{icon:F,children:(0,N.jsxs)(x.Z,{label:"How much BNB you need to pay:",children:[(0,N.jsx)(m.Z,{onChange:j("bnbAmount"),value:o.bnbAmount,currency:c.w.BNB,max:t}),(0,N.jsxs)(S,{children:[(0,p.RW)(i,5)," ",c.w.BNB]})]})}),(0,N.jsx)(f.h,{icon:k,last:!0,children:(0,N.jsxs)(x.Z,{label:"How much CRX you want to buy:",children:[(0,N.jsx)(m.Z,{onChange:j("crxAmount"),value:o.crxAmount,currency:c.w.CRX}),(0,N.jsxs)(S,{children:[a," CRX"]})]})})]}),(0,N.jsx)(b.Z,{fromAmount:o.bnbAmount}),(0,N.jsx)(h.Z,{checked:C,onChange:I}),(0,N.jsx)(P,{children:(0,N.jsx)(y.Z,{account:r,toggleWalletModal:v,canSwap:g&&C,loading:w,onBuy:_,chainId:n})})]})},O=function(){return(0,N.jsxs)(Z,{children:[(0,N.jsx)("span",{children:"Need help? Read detailed "}),(0,N.jsx)("a",{href:"https://blog.hashex.org/how-to-buy-crx-on-cryptex-website-19c0e4d6a91f",rel:"noopener noreferrer",target:"_blank",children:"instructions"}),(0,N.jsx)("span",{children:" or contact us on "}),(0,N.jsx)("a",{href:"https://t.me/HashExOfficial",rel:"noopener noreferrer",target:"_blank",children:"telegram"})]})},q=function(e){var n=e.cardTitleAs;return(0,N.jsx)(I,{children:(0,N.jsxs)(C,{title:"Buy CRX",cardTitleAs:n,children:[(0,N.jsx)(O,{}),(0,N.jsx)(a.Z,{swapKey:i.f7.PANCAKE_V2,children:(0,N.jsx)(B,{})})]})})},T=o(71935),z=function(){return(0,N.jsxs)(r.Z,{children:[(0,N.jsxs)(t.default,{children:[(0,N.jsx)("title",{children:"Buy CRX | CryptEx"}),(0,N.jsx)("meta",{name:"description",content:"Buy CRX in CryptEx \u2192 Liquidity provider tokens lock. Team tokens vesting."})]}),(0,N.jsx)(T.ZP,{children:(0,N.jsx)(q,{cardTitleAs:"h1"})})]})}},11182:function(e,n,o){(window.__NEXT_P=window.__NEXT_P||[]).push(["/buy",function(){return o(48911)}])}},function(e){e.O(0,[9774,5445,4617,3874,3482,7422,387,6548,2065,4374,2517,5138,3952,7115,6389,8568,8447,9667,9059,2888,179],(function(){return n=11182,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.