PageSourceSearch

https://www.xxkk.com/_next/static/chunks/2795.ac5e64d0d8e3dce3.js

js xxkk.com collected 2026-09-26 04:00:07 UTC 24,971 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2795],{87985:function(e,t,n){n.d(t,{Z:function(){return w}});var i=n(59499),o=n(4730),s=n(64254),a=n.n(s),r=n(50308),l=n.n(r),c=n(56610),d=n(95541),p=n(67294),x=n(43631),b=n(38323),h=n(85893),m=["name","fillColor","pathColor"],u=["labelcolor","checked","disabled","label","onChange","theme","large","size","fillColor","pathColor","maxWidth","aria-label"];function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach(function(t){(0,i.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function j(e){var t=e.name,n=e.fillColor,i=e.pathColor,s=(0,o.Z)(e,m),a=(0,p.useCallback)(function(e,t,n){var i=null;switch(e){case"checkboxChecked":i='<path d="M6.25033 9.99984L8.75033 12.4998L13.7503 7.49984M18.3337 9.99984C18.3337 14.6022 14.6027 18.3332 10.0003 18.3332C5.39795 18.3332 1.66699 14.6022 1.66699 9.99984C1.66699 5.39746 5.39795 1.6665 10.0003 1.6665C14.6027 1.6665 18.3337 5.39746 18.3337 9.99984Z" stroke="'.concat(t||"#1DA2B3",'" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"/>');break;case"checkbox":i='<path d="M10.0003 18.3332C14.6027 18.3332 18.3337 14.6022 18.3337 9.99984C18.3337 5.39746 14.6027 1.6665 10.0003 1.6665C5.39795 1.6665 1.66699 5.39746 1.66699 9.99984C1.66699 14.6022 5.39795 18.3332 10.0003 18.3332Z" stroke="#333333" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"/>';break;case"checkboxLight":i='<path d="M10.0003 18.3332C14.6027 18.3332 18.3337 14.6022 18.3337 9.99984C18.3337 5.39746 14.6027 1.6665 10.0003 1.6665C5.39795 1.6665 1.66699 5.39746 1.66699 9.99984C1.66699 14.6022 5.39795 18.3332 10.0003 18.3332Z" stroke="#666666" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"/>'}return i},[t,n,i])(t,n||"",i||"");return a?(0,h.jsx)(c.JO,g({className:"check-icon",name:t,value:a,size:20,decorative:!0},s)):null}function w(e){var t=(0,x.Fg)().isDark,n=e.labelcolor,i=e.checked,s=e.disabled,r=void 0!==s&&s,c=e.label,p=e.onChange,m=void 0===p?l():p,f=(e.theme,e.large,e.size),w=void 0===f?12:f,v=e.fillColor,k=e.pathColor,y=e.maxWidth,_=e["aria-label"],C=(0,o.Z)(e,u),S=!(null==c||""===c),N=S?_:_||(0,d.bn)("选择");return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsxs)("label",{onClick:function(){return!r&&m(!i)},role:"checkbox","aria-checked":i,"aria-disabled":r||void 0,"aria-label":N,className:a().dynamic([["3781015193",[n||"var(--content_2)",w,n||"var(--content_2)",w,b.a$.mobile,n||"var(--content_1)"]]])+" "+"icon-radio ".concat(r?"icon-radio-disabled":""),children:[(0,h.jsx)(j,g({name:i?"checkboxChecked":t?"checkbox":"checkboxLight",viewBox:"0 0 20 20",fillColor:void 0===v?"#1DA2B3":v,pathColor:void 0===k?"var(--text-".concat(t?"black":"white",")"):k},g({width:w,height:w},C))),S&&(0,h.jsx)("span",{style:{maxWidth:y||"auto"},className:a().dynamic([["3781015193",[n||"var(--content_2)",w,n||"var(--content_2)",w,b.a$.mobile,n||"var(--content_1)"]]])+" icon-span",children:c})]}),(0,h.jsx)(a(),{id:"3781015193",dynamic:[n||"var(--content_2)",w,n||"var(--content_2)",w,b.a$.mobile,n||"var(--content_1)"],children:[".icon-radio.__jsx-style-dynamic-selector{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-radius:50%;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;gap:8px;}",".icon-radio.icon-radio-disabled.__jsx-style-dynamic-selector{opacity:0.6;}",".icon-radio.__jsx-style-dynamic-selector:not(.icon-radio-disabled){cursor:pointer;}",".icon-radio.__jsx-style-dynamic-selector .check-icon{-webkit-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto;}",".icon-radio.__jsx-style-dynamic-selector span.__jsx-style-dynamic-selector{color:".concat(n||"var(--content_2)",";font-size:").concat(w,"px;font-weight:400;}"),".icon-radio.__jsx-style-dynamic-selector .icon-span.__jsx-style-dynamic-selector{color:".concat(n||"var(--content_2)",";font-size:").concat(w,"px;font-weight:400;line-height:1rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}"),"@media ".concat(b.a$.mobile,"{.icon-radio.__jsx-style-dynamic-selector .icon-span.__jsx-style-dynamic-selector{color:").concat(n||"var(--content_1)",";white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;}}")]})]})}},54182:function(e,t,n){n.d(t,{y:function(){return a}});var i=n(64254),o=n.n(i),s=n(85893),a=function(){return(0,s.jsx)(o(),{id:"32632159",children:[".spot_fundsContent{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:12px;font-weight:500;}",".spot_entrustError{color:#ef454a;font-size:12px;font-style:normal;font-weight:500;}",".spot_Cancelallorders{color:#717171;font-size:12px;font-style:normal;font-weight:500;}",".spot_ordercancellation{color:#f0ba30;font-size:12px;font-style:normal;font-weight:500;}",".spot_success{color:#07828b;font-size:12px;font-style:normal;font-weight:500;}",".container{height:100%;}",".grid-table .pair>div:first-child{font-weight:500;}",".grid-table .pair>div:last-child{margin-top:4px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-weight:400;}",".grid-table .pair>div:last-child span{width:6px;height:6px;border-radius:50%;margin-inline-end:5px;background-color:var(--color-green);}",".grid-table .pair.stop>div:last-child span{background-color:var(--content_3);}",".grid-table .sub-label{color:var(--content_3);font-size:12px;}",".grid-table .normal{color:var(--content_3);}",".grid-table .coin-wrapper{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}",".grid-table .coin-wrapper .coin-list-wrapper{position:relative;height:14px;}",".grid-table .coin-wrapper .coin-list-wrapper img{position:absolute;
1left:0;}",".grid-table .coin-wrapper .coin-list-wrapper img:nth-child(2){left:9px;}",".grid-table .coin-wrapper .coin-list-wrapper img:nth-child(3){left:16px;}",".grid-table .coin-wrapper span{display:inline-block;margin-inline-start:10px;width:180px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;}",".spot-table .ant-table-fixed-header{background:transparent !important;}",".spot-table .ant-table-row td{padding:2px 8px !important;font-size:14px;color:var(--content_1) !important;font-weight:500;height:46px;background:var(--bg_0);}",".spot-table .ant-table-row td:first-child{padding-inline-start:8px !important;}",".spot-table .ant-table-row td:last-child{padding-inline-end:8px !important;}",".spot-table .ant-spin-nested-loading .ant-spin-container::after{position:relative;}",".spot-table .grid-operation-wrapper{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}",".spot-table .grid-operation-wrapper>div{margin-inline-end:7px;width:24px;height:24px;border-radius:4px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border:1px solid var(--theme-border-color-3);cursor:pointer;}",".spot-table .grid-operation-wrapper .detail-btn{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:24px;border-radius:4px;border:none;color:var(--skin-font-color);padding:0 15px;font-size:12px;background-color:var(--skin-primary-color);cursor:pointer;}",".spot-table .operationBtn{height:20px;line-height:19px;min-width:50px;text-align:center;font-size:12px;padding:0 12px;border-radius:2px;cursor:pointer;font-weight:500;margin-inline-end:12px;color:#333333;border:none;background:linear-gradient(91deg,#f7d54f,#eebd54);}",".spot-table .delete_icon{cursor:pointer;}",".spot-table .revoke-btn{border:none;outline:none;background:var(--fill_default);padding:6px 16px;border-radius:22px;color:var(--content_1);font-size:12px;min-width:80px;cursor:pointer;}",".dark .ant-table-row td{color:var(--content_1) !important;}",".ant-dropdown .menus{background:var(--fill_default);border-radius:4px;top:100%;padding:8px;border-radius:8px;right:0;min-width:59px;position:relative;top:5px;max-height:250px;overflow:auto;}",".spot-table.order-table .ant-table-row td:first-child{padding-inline-start:24px !important;}",".spot-table.order-table .ant-table-row td:last-child{padding-inline-start:24px !important;}"]})}},91779:function(e,t,n){n.d(t,{Lq:function(){return w},Ws:function(){return v}});var i=n(17674),o=n(76232),s=n(43631),a=n(95541),r=n(97126),l=n(88926),c=n(27484),d=n.n(c),p=n(67294),x=n(38715),b=n(43575),h=n(54182),m=n(42771),u=n(85893),f=r.Spot.Position,g=r.Spot.Grid,j=r.Spot.Strategy,w=function(e){return Number(e)>0?"main-green":0>Number(e)?"main-red":"normal"},v=function(e){return e&&0!==Number(e)?e:"0.00"};t.ZP=function(e){var t=e.type,n=["",(0,a.bn)("手动停止"),(0,a.bn)("管理员停止"),(0,a.bn)("止盈停止"),(0,a.bn)("止损停止"),(0,a.bn)("到期停止"),(0,a.bn)("异常停止")],c=[(0,a.bn)("待触发"),(0,a.bn)("新建"),(0,a.bn)("运行中"),(0,a.bn)("停止中"),(0,a.bn)("已结束")],k=(0,s.tv)().query.id,y=(0,s.Fg)().theme,_=f.state,C=_.spotGridList,S=_.loading,N=_.hideOther,M=g.state.symbolList,Z=(0,s.Fs)(!1),z=Z.isTablet,O=Z.isMobile,P=r.Account.isLogin,T=t===r.SpotTabType.GRID_RUNNING,I=(0,x.x)({stopGridId:"",baseCoin:"",quoteCoin:"",stopSell:!1,stopModalVisible:!1,shareModalVisible:!1,shareModalTitle:"",shareModalTotalPnl:"",shareModalRoi:"",shareModalLowPrice:"",shareModalHighPrice:"",shareModalGridCount:""}),q=(0,i.Z)(I,2),D=q[0],L=q[1],F=[{title:"".concat((0,a.bn)("交易对"),"/").concat((0,a.bn)("状态")),dataIndex:"symbol",width:200,render:function(e,t){var i=t.symbol,o=t.startTime,s=t.stopTime,a=t.stopType,r=t.state,l=new Date().getTime();return(0,u.jsxs)("div",{className:"pair ".concat(T?"":"stop"),children:[(0,u.jsx)("div",{children:null==i?void 0:i.replace("_","/")}),(0,u.jsxs)("div",{children:[(0,u.jsx)("span",{}),(0,u.jsxs)("div",{className:"sub-label",children:[T?c[r]:n[a],"/",o?(0,u.jsxs)(u.Fragment,{children:[d()(T?l:s).diff(o,"d"),"D"," ",d()(T?l:s).diff(o,"h")%24,"h"," ",d()(T?l:s).diff(o,"minute")%60,"m"]}):"--"]})]})]})}},{title:"".concat((0,a.bn)("总收益"),"/").concat((0,a.bn)("收益率")),dataIndex:"pnl",width:130,render:function(e,t){var n=t.totalPnl,i=t.roi,o=t.symbol,s=M.find(function(e){return e.symbol===o});return(0,u.jsxs)("div",{children:[(0,u.jsxs)("div",{className:w(v(null==n?void 0:n.toRound(null==s?void 0:s.priceScale))),children:[Number(v(null==n?void 0:n.toRound(null==s?void 0:s.priceScale)))>0?"+":"",v(null==n?void 0:n.toRound(null==s?void 0:s.priceScale))]}),(0,u.jsxs)("div",{className:"".concat(w(v(null==i?void 0:i.mul(100).toFixed(2)))," sub-label"),children:[v(null==i?void 0:i.mul(100).toFixed(2)),"%"]})]})}},{title:"".concat((0,a.bn)("价格区间")),dataIndex:"priceMin",width:220,render:function(e,t){var n=t.priceMin,i=t.priceMax,o=t.quoteCoin;
1return(0,u.jsxs)("div",{children:[n,"-",i," ",o]})}},{title:"".concat((0,a.bn)("网格数量")),width:100,dataIndex:"gridCount"},{title:"".concat((0,a.bn)("投入金额")),dataIndex:"initQuote",width:100,render:function(e,t){var n=t.initQuote,i=t.quoteCoin;return(0,u.jsxs)("div",{children:[n," ",i]})}},{title:"".concat(T?(0,a.bn)("创建时间"):(0,a.bn)("停止时间")),dataIndex:"createTime",width:150,render:function(e,t){var n=t.createTime,i=t.stopTime;return(0,u.jsx)("div",{children:d()(T?n:i).format("YYYY/MM/DD HH:mm:ss")})}},{title:(0,a.bn)("操作"),align:"right",dataIndex:"id",width:150,fixed:z?"right":"none",render:function(e,t){return(0,u.jsxs)("div",{className:"grid-operation-wrapper",children:[!O&&(0,u.jsx)("div",{onClick:function(){return L(function(e){var n,i=M.find(function(e){return e.symbol===t.symbol});e.shareModalVisible=!0,e.shareModalTotalPnl=null==t||null===(n=t.totalPnl)||void 0===n?void 0:n.toRound(null==i?void 0:i.priceScale),e.shareModalRoi=null==t?void 0:t.roi.mul(100).toFixed(2),e.shareModalLowPrice=null==t?void 0:t.priceMin,e.shareModalHighPrice=null==t?void 0:t.priceMax,e.shareModalGridCount=null==t?void 0:t.gridCount,e.shareModalTitle=t.symbol.replace("_","/")})},children:(0,u.jsx)(o.Z,{name:"common-grid-share-0",size:13,className:"icon",enableSkin:!0})}),T&&(0,u.jsx)("div",{onClick:function(){return R(t)},children:(0,u.jsx)(o.Z,{name:"common-grid-stop-0",size:13,className:"icon",enableSkin:!0})}),(0,u.jsx)(a.jH,{href:"/trading-bot/detail",query:{id:t.id,type:"grid"},onClick:function(){l.fx.setItem(l.et.FROM_SPOT_TABLE,k)},className:"detail-btn",native:!0,children:(0,a.bn)("详情")})]})}}],G=(0,p.useMemo)(function(){var e=C.filter(function(e){return T?e.state<3:e.state>=3});return(N&&(e=e.filter(function(e){var t=e.symbol;return!N||t===k})),P)?e:[]},[k,P,C,T,N]),R=function(e){L(function(t){t.stopGridId=null==e?void 0:e.id,t.baseCoin=null==e?void 0:e.baseCoin,t.quoteCoin=null==e?void 0:e.quoteCoin,t.stopSell=null==e?void 0:e.stopSell,t.stopModalVisible=!0})};return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)("div",{className:"container",children:(0,u.jsx)(b.ZP,{loading:S,columns:F,data:G,className:"".concat(y," spot-table grid-table"),renderRowKey:function(e){return e.id}})}),D.stopModalVisible&&(0,u.jsx)(m.f,{id:D.stopGridId,baseCoin:D.baseCoin,quoteCoin:D.quoteCoin,stopSell:D.stopSell,open:D.stopModalVisible,onClose:function(){return L(function(e){e.stopModalVisible=!1})},onSuccess:function(){f.fetchSpotGridPositionList(r.LoadingType.Show),j.getBalance()}}),(0,u.jsx)(h.y,{})]})}},42771:function(e,t,n){n.d(t,{f:function(){return g}});var i=n(17674),o=n(64254),s=n.n(o),a=n(16626),r=n(76232),l=n(23459),c=n(27196),d=n(63673),p=n(95541),x=n(38323),b=n(45360),h=n(85576),m=n(67294),u=n(38715),f=n(85893),g=function(e){var t=e.id,n=e.baseCoin,o=e.quoteCoin,g=e.stopSell,w=e.open,v=e.onClose,k=e.onSuccess,y=(0,u.x)({stopSell:!0}),_=(0,i.Z)(y,2),C=_[0],S=_[1];return(0,m.useEffect)(function(){S(function(e){e.stopSell=g})},[g]),(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)(h.Z,{title:(0,p.bn)("停止{baseCoin}/{quoteCoin}现货网格",{baseCoin:n,quoteCoin:o}),open:w,onCancel:v,className:"base-modal no-header-border stop-grid-modal",destroyOnHidden:!0,closeIcon:null,closable:!1,okText:(0,p.bn)("确认"),cancelText:(0,p.bn)("取消"),onOk:function(){try{(0,d.stopTradeGridByIdApi)({strategyId:t,stopSell:C.stopSell}).then(function(e){var t=e.code,n=e.message;200===t?(b.ZP.success((0,p.bn)("操作成功")),v(),k()):b.ZP.error(n)})}catch(e){}},width:376,centered:!0,children:[(0,f.jsx)(l.A3,{className:"close-icon",onClose:v}),(0,f.jsxs)("div",{className:"jsx-".concat(j.__hash)+" stop-content",children:[(0,f.jsx)("div",{className:"jsx-".concat(j.__hash),children:(0,p.bn)("停止现货网格后,将撤销该网格下的所有订单,并将该现货网格内的全部资产,从量化账户划转至现货账户,是否将网格内剩余的{baseCoin}卖出为{quoteCoin}?",{baseCoin:n,quoteCoin:o})}),(0,f.jsxs)("div",{className:"jsx-".concat(j.__hash)+" check-wrapper",children:[(0,f.jsxs)("div",{onClick:function(){return S(function(e){e.stopSell=!0})},className:"jsx-".concat(j.__hash)+" "+((0,x.$)(C.stopSell)||""),children:[(0,f.jsxs)("div",{className:"jsx-".concat(j.__hash)+" header",children:[(0,f.jsxs)("div",{className:"jsx-".concat(j.__hash),children:[(0,f.jsx)(a.Z,{coin:o,width:16,height:16,alt:o,className:"coin"}),(0,p.bn)("停止并帮我卖出")]}),(0,f.jsx)(r.Z,{name:C.stopSell?"common-verified-icon-0":"common-unchecked-box-0",size:14,enableSkin:C.stopSell})]}),(0,f.jsx)("div",{className:"jsx-".concat(j.__hash),children:(0,p.bn)("市价卖出该网格内的全部{baseCoin}后返回现货账户。",{baseCoin:n})})]}),(0,f.jsxs)("div",{onClick:function(){return S(function(e){e.stopSell=!1})},className:"jsx-".concat(j.__hash)+" "+((0,x.$)(!C.stopSell)||""),children:[(0,f.jsxs)("div",{className:"jsx-".concat(j.__hash)+" header",children:[(0,f.jsxs)("div",{className:"jsx-".concat(j.__hash),children:[(0,f.jsx)(a.Z,{coin:n,width:16,height:16,alt:n}
1),(0,f.jsx)(a.Z,{coin:o,width:16,height:16,alt:o,className:"coin baseCoin"}),(0,p.bn)("停止但不需要卖出")]}),(0,f.jsx)(r.Z,{name:C.stopSell?"common-unchecked-box-0":"common-verified-icon-0",size:14,enableSkin:!C.stopSell})]}),(0,f.jsx)("div",{className:"jsx-".concat(j.__hash),children:(0,p.bn)("该网格内{baseCoin}和{quoteCoin}将直接返回现货账户。",{baseCoin:n,quoteCoin:o})})]})]})]})]}),(0,f.jsx)(c.H,{}),(0,f.jsx)(s(),{id:j.__hash,children:j})]})},j=[".stop-grid-modal .ant-modal-header{border:none;}",".stop-grid-modal .stop-content.jsx-83992814{padding-top:3px;color:var(--content_3);font-size:12px;}",".stop-grid-modal .stop-content.jsx-83992814 .check-wrapper.jsx-83992814{margin:16px 0;cursor:pointer;}",".stop-grid-modal .stop-content.jsx-83992814 .check-wrapper.jsx-83992814>div.jsx-83992814{background-color:var(--theme-background-color-8);border-radius:6px;padding:12px 16px;margin-bottom:10px;border:1px solid var(--theme-background-color-8);}",".stop-grid-modal .stop-content.jsx-83992814 .check-wrapper.jsx-83992814>div.active.jsx-83992814{box-sizing:content-box;border:1px solid var(--skin-primary-color);}",".stop-grid-modal .stop-content.jsx-83992814 .check-wrapper.jsx-83992814>div.jsx-83992814 .header.jsx-83992814{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:var(--content_1);font-weight:500;}",".stop-grid-modal .stop-content.jsx-83992814 .check-wrapper.jsx-83992814>div.jsx-83992814 .header.jsx-83992814>div.jsx-83992814{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}",".stop-grid-modal .stop-content.jsx-83992814 .check-wrapper.jsx-83992814>div.jsx-83992814 .header.jsx-83992814 .coin{margin-inline-end:5px;}",".stop-grid-modal .stop-content.jsx-83992814 .check-wrapper.jsx-83992814>div.jsx-83992814 .header.jsx-83992814 .baseCoin{position:relative;right:3px;}",".stop-grid-modal .stop-content.jsx-83992814 .check-wrapper.jsx-83992814>div.jsx-83992814 .header.jsx-83992814+div.jsx-83992814{margin-top:4px;}"];j.__hash="83992814"},21092:function(e,t,n){n.d(t,{p:function(){return g}});var i=n(17674),o=n(64254),s=n.n(o),a=n(16626),r=n(76232),l=n(23459),c=n(27196),d=n(63673),p=n(95541),x=n(38323),b=n(45360),h=n(85576),m=n(67294),u=n(38715),f=n(85893),g=function(e){var t=e.id,n=e.stopSell,o=e.open,g=e.onClose,w=e.stopSymbols,v=e.onSuccess,k=(0,u.x)({stopSell:!0}),y=(0,i.Z)(k,2),_=y[0],C=y[1];return(0,m.useEffect)(function(){C(function(e){e.stopSell=n})},[n]),(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)(h.Z,{title:(0,p.bn)("停止策略"),open:o,onCancel:g,className:"base-modal no-header-border stop-grid-modal",destroyOnHidden:!0,closeIcon:null,closable:!1,okText:(0,p.bn)("确认"),cancelText:(0,p.bn)("取消"),onOk:function(){try{(0,d.stopTradeInvestByIdApi)({planId:t,stopSell:_.stopSell}).then(function(e){var t=e.code,n=e.message;200===t?(b.ZP.success((0,p.bn)("操作成功")),g(),v()):b.ZP.error(n)})}catch(e){}},width:376,centered:!0,children:[(0,f.jsx)(l.A3,{className:"close-icon",onClose:g}),(0,f.jsxs)("div",{className:"jsx-".concat(j.__hash)+" stop-content",children:[(0,f.jsx)("div",{className:"jsx-".concat(j.__hash),children:(0,p.bn)("停止定投策略时,可选择将当前定投策略已购买的资产全部市价卖出为USDT,也可保留所有数字资产。")}),(0,f.jsxs)("div",{className:"jsx-".concat(j.__hash)+" check-wrapper",children:[(0,f.jsxs)("div",{onClick:function(){return C(function(e){e.stopSell=!0})},className:"jsx-".concat(j.__hash)+" "+((0,x.$)(_.stopSell)||""),children:[(0,f.jsxs)("div",{className:"jsx-".concat(j.__hash)+" header",children:[(0,f.jsxs)("div",{className:"jsx-".concat(j.__hash),children:[(0,f.jsx)(a.Z,{coin:"USDT",width:16,height:16,alt:"usdt",className:"coin"}),(0,p.bn)("停止并市价卖出")]}),(0,f.jsx)(r.Z,{name:_.stopSell?"common-verified-icon-0":"common-unchecked-box-0",size:14,enableSkin:_.stopSell})]}),(0,f.jsx)("div",{className:"jsx-".concat(j.__hash),children:(0,p.bn)("市价卖出所有定投购买的数字资产")})]}),(0,f.jsxs)("div",{onClick:function(){return C(function(e){e.stopSell=!1})},className:"jsx-".concat(j.__hash)+" "+((0,x.$)(!_.stopSell)||""),children:[(0,f.jsxs)("div",{className:"jsx-".concat(j.__hash)+" header",children:[(0,f.jsxs)("div",{className:"jsx-".concat(j.__hash),children:[(0,f.jsx)("div",{style:{width:"".concat(w.slice(0,3).length.mul(8).add(8),"px")}
1,className:"jsx-".concat(j.__hash)+" coin-list-wrapper",children:null==w?void 0:w.slice(0,3).map(function(e){return(0,f.jsx)(a.Z,{coin:e.baseCoin,width:16,height:16,alt:"baseCoin"},e.id)})}),(0,p.bn)("停止并保留资产")]}),(0,f.jsx)(r.Z,{name:_.stopSell?"common-unchecked-box-0":"common-verified-icon-0",size:14,enableSkin:!_.stopSell})]}),(0,f.jsx)("div",{className:"jsx-".concat(j.__hash),children:(0,p.bn)("停止策略并保留所有数字资产")})]})]})]})]}),(0,f.jsx)(c.H,{}),(0,f.jsx)(s(),{id:j.__hash,children:j})]})},j=[".stop-grid-modal .ant-modal-header{border:none;}",".stop-grid-modal .stop-content.jsx-463289923{padding-top:3px;color:var(--content_3);font-size:12px;}",".stop-grid-modal .stop-content.jsx-463289923 .check-wrapper.jsx-463289923{margin:16px 0;cursor:pointer;}",".stop-grid-modal .stop-content.jsx-463289923 .check-wrapper.jsx-463289923>div.jsx-463289923{background-color:var(--theme-background-color-8);border-radius:6px;padding:12px 16px;margin-bottom:10px;border:1px solid var(--theme-background-color-8);}",".stop-grid-modal .stop-content.jsx-463289923 .check-wrapper.jsx-463289923>div.active.jsx-463289923{box-sizing:content-box;border:1px solid var(--skin-primary-color);}",".stop-grid-modal .stop-content.jsx-463289923 .check-wrapper.jsx-463289923>div.jsx-463289923 .header.jsx-463289923{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:var(--content_1);font-weight:500;}",".stop-grid-modal .stop-content.jsx-463289923 .check-wrapper.jsx-463289923>div.jsx-463289923 .header.jsx-463289923>div.jsx-463289923{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}",".stop-grid-modal .stop-content.jsx-463289923 .check-wrapper.jsx-463289923>div.jsx-463289923 .header.jsx-463289923 .coin{margin-inline-end:5px;}",".stop-grid-modal .stop-content.jsx-463289923 .check-wrapper.jsx-463289923>div.jsx-463289923 .header.jsx-463289923 .baseCoin{position:relative;right:3px;}",".stop-grid-modal .stop-content.jsx-463289923 .check-wrapper.jsx-463289923>div.jsx-463289923 .header.jsx-463289923 .coin-list-wrapper.jsx-463289923{position:relative;height:16px;margin-inline-end:5px;}",".stop-grid-modal .stop-content.jsx-463289923 .check-wrapper.jsx-463289923>div.jsx-463289923 .header.jsx-463289923 .coin-list-wrapper.jsx-463289923 img{position:absolute;left:0;}",".stop-grid-modal .stop-content.jsx-463289923 .check-wrapper.jsx-463289923>div.jsx-463289923 .header.jsx-463289923 .coin-list-wrapper.jsx-463289923 img:nth-child(2){left:8px;}",".stop-grid-modal .stop-content.jsx-463289923 .check-wrapper.jsx-463289923>div.jsx-463289923 .header.jsx-463289923 .coin-list-wrapper.jsx-463289923 img:nth-child(3){left:16px;}",".stop-grid-modal .stop-content.jsx-463289923 .check-wrapper.jsx-463289923>div.jsx-463289923 .header.jsx-463289923+div.jsx-463289923{margin-top:4px;}"];j.__hash="463289923"}}]);

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.