1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[71384],{9887:function(e,n,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/copy-trading/apply-trader",function(){return a(72139)}])},72139:function(e,n,a){"use strict";a.r(n),a.d(n,{default:function(){return b}});var r=a(36734),l=a(51776),s=a(50217),t=a(28757),o=a(67832),p=a.n(o),c=a(33906),i=a(72182),d=a(69303),u=a(58802),_=a(6414),h=a(49112),m=a(51063),y=a(99804),x=a(70353),g=a(88232),j=a(87821),f=a(57452),C=a(15422),U=a(13548),A=a(78772),D=a(34529),N=a(40339),k=a.n(N);var T=()=>{const{t:e}=(0,t.Z)("copyTrading"),n=(0,c.useRouter)(),{runCreateUser:a,setIsNeedReload:o,copyTraderInfo:N}=(0,D.Z)(),{agree:T,avatar:b,userInfo:v,handleCheck:S,handleInputChange:Z,handleUploadSuccess:B,handleSubmit:M}=(0,A.Z)(!1),w={...N||{},...v||{}},I=(0,s.useMediaQuery)({maxWidth:1024}),E=(0,s.useMediaQuery)({maxWidth:480}),[O,R]=(0,l.useState)(m.Z.src),W=(0,l.useMemo)(()=>I||E?"cover":"100% 100%",[I,E]);(0,l.useEffect)(()=>{E?R(x.Z.src):I&&R(y.Z.src)},[I,E]);const[L,P]=(0,l.useState)(!1),[G,Q]=(0,l.useState)(!0);(0,l.useEffect)(()=>{Q(!0),(0,h.kk)({contractId:1}).then(e=>{const{code:n,data:a}=e||{};0===Number(n)&&a&&1!==a.openContract&&P(!0)}).finally(()=>{Q(!1)})},[]);const F=(0,l.useMemo)(()=>[{value:e("traderSquare"),href:"/copy-trading"},{value:e("traderApply"),href:""}],[e]),H=(0,l.useMemo)(()=>!T||!w.email,[T,w.email]);return(0,r.jsxs)("div",{className:k().applyWrapper,children:[(0,r.jsxs)(C.Z,{menus:F,size:W,bg:O,children:[(0,r.jsxs)("div",{className:k().applySlogan,children:[(0,r.jsx)("h1",{children:e("traderApply")}),(0,r.jsx)("p",{children:e("shareProfitSlogan")})]}),(0,r.jsx)("div",{className:k().placeholder})]}),(0,r.jsxs)(U.Z,{children:[w.email&&(0,r.jsxs)("form",{children:[(0,r.jsx)(d.Z,{size:80,defaultUrl:b,uploadUrl:_.a3o,onUploadSuccess:B}),(0,r.jsx)("label",{htmlFor:"nickname",children:e("nickname")}),(0,r.jsx)(i.Z,{maxLength:40,placeholder:e("nickname"),defaultValue:w.email,onChange:Z}),(0,r.jsxs)("p",{className:k().type,children:[(0,r.jsxs)("span",{children:[e("futureType"),":"]}),(0,r.jsx)("span",{children:e("USDTPerpetualFuture")})]}),(0,r.jsxs)("p",{className:k().asset,children:[(0,r.jsxs)("span",{children:[e("assets"),":"]}),(0,r.jsxs)("span",{children:[(0,r.jsx)(p(),{width:16,height:16,alt:"usdt",src:"//cdn.bitrue.com/icon/icon_USDT.png"}),"USDT"]})]}),(0,r.jsxs)("div",{className:k().tip,children:[(0,r.jsxs)("h5",{children:[(0,r.jsx)("i",{className:"iconfont icon-info"}),e("reminder")]}),(0,r.jsxs)("p",{children:["1. ",e("applyReminder")]}),(0,r.jsxs)("p",{children:["2. ",e("applyTraderRule")]})]}),(0,r.jsxs)("div",{className:k().agree,children:[(0,r.jsx)(u.Z,{onChange:S,defaultChecked:T}),(0,r.jsx)("span",{dangerouslySetInnerHTML:{__html:e("traderAgreement",{agreeUrl:"https://support.bitrue.com/hc/en-001/articles/15624013477145-Terms-of-Services-for-Bitrue-Traders"})}})]}),(0,r.jsx)("button",{disabled:H,className:k().submitBtn,onClick:M,children:e("submitApply")})]}),(0,r.jsx)(f.Z,{visible:L&&!G,onCancel:()=>{n.back()}}),(0,r.jsx)(g.Z,{runCreateUser:a,setIsNeedReload:o}),(0,r.jsx)(j.Z,{})]})]})};var b=()=>(0,r.jsx)(T,{})},40339:function(e){e.exports={applyWrapper:"normalApply_applyWrapper__NjGtM",applySlogan:"normalApply_applySlogan__MQNLn",placeholder:"normalApply_placeholder__ypUW_",type:"normalApply_type__TZJ6a",asset:"normalApply_asset__BVkyx",tip:"normalApply_tip__pluMw",agree:"normalApply_agree__ofMkd",submitBtn:"normalApply_submitBtn__aROeV",UnopenedContractDialogTitle:"normalApply_UnopenedContractDialogTitle__ZiuPn",UnopenedContractDialogHeader:"normalApply_UnopenedContractDialogHeader__aO_Uh",UnopenedContractDialog:"normalApply_UnopenedContractDialog__FxiRT",UnopenedContractDialogTip:"normalApply_UnopenedContractDialogTip__l7L9J",UnopenedContractDialogCancelBtn:"normalApply_UnopenedContractDialogCancelBtn__aQD6G",UnopenedContractDialogOkBtn:"normalApply_UnopenedContractDialogOkBtn__d9DkU",UnopenedContractDialogBtnGroup:"normalApply_UnopenedContractDialogBtnGroup__OKyLI"}}},function(e){e.O(0,[54736,79351,49977,92888,40179],function(){return n=9887,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.