1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[395],{77985:function(e,t,i){"use strict";var s=i(36734),l=i(33911),o=i(48956),n=i.n(o);t.Z=function(e){let{title:t,subtitle:i,onClose:o,children:a,width:r,bodyStyle:d,...c}=e;return(0,s.jsx)(l.u_,{bodyStyle:r?{maxWidth:"".concat(r,"px"),...d}:d,title:(0,s.jsxs)("div",{className:n().header,children:[(0,s.jsxs)("div",{className:n().titleArea,children:[(0,s.jsx)("span",{children:t}),i&&(0,s.jsx)("p",{className:n().subtitle,children:i})]}),(0,s.jsx)("button",{type:"button",className:n().close,onClick:o,children:(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",children:[(0,s.jsx)("rect",{width:"32",height:"32",rx:"16",fill:"#232832",fillOpacity:"0.04"}),(0,s.jsx)("path",{d:"M12.6726 11.3413C12.3051 10.9738 11.7091 10.9738 11.3416 11.3413C10.974 11.7089 10.974 12.3048 11.3416 12.6724L14.6692 15.9999L11.3416 19.3275C10.974 19.6951 10.974 20.291 11.3416 20.6585C11.7091 21.0261 12.3051 21.0261 12.6726 20.6585L16.0002 17.331L19.3277 20.6585C19.6953 21.0261 20.2912 21.0261 20.6588 20.6585C21.0263 20.291 21.0263 19.695 20.6588 19.3275L17.3312 15.9999L20.6588 12.6724C21.0263 12.3049 21.0263 11.7089 20.6588 11.3414C20.2912 10.9738 19.6953 10.9738 19.3277 11.3414L16.0002 14.6689L12.6726 11.3413Z",fill:"#373C46"})]})})]}),onClose:o,...c,children:a})}},93767:function(e,t,i){"use strict";var s=i(36734),l=i(6425),o=i.n(l),n=i(12534),a=i.n(n);t.Z=function(e){let{cls:t,title:i,content:l,contentStyle:n}=e;return(0,s.jsxs)("div",{className:o()([a().tooltips_wrap,t]),children:[i||(0,s.jsx)("i",{className:"iconfont icon-help"}),(0,s.jsx)("em",{style:n,children:l})]})}},22659:function(e,t,i){"use strict";i.d(t,{j:function(){return s}});let s=e=>{let{item:t,coinName:i,aliasName:s}=e;if(t&&t[s])return"".concat(t[s].toUpperCase());if(t&&t[i]){var o;return(null==t?void 0:t.coinAlias)?null==t?void 0:t.coinAlias:"".concat(null===(o=t[i])||void 0===o?void 0:o.toUpperCase())}return l(t)},l=e=>e&&e.aliasBase?"".concat(e.aliasBase.toUpperCase()):e&&e.coinAlias?"".concat(e.coinAlias.toUpperCase()):e&&e.coinName?"".concat(e.coinName.toUpperCase()):e&&e.coin?"".concat(e.coin.toUpperCase()):e&&e.Coin?"".concat(e.Coin.toUpperCase()):""},23850:function(e,t,i){"use strict";var s=i(50217);let l=()=>{let e=(0,s.useMediaQuery)({maxWidth:767.95}),t=(0,s.useMediaQuery)({minWidth:751,maxWidth:1280});return{isMobile:e,isTablet:t}};t.Z=l},62361:function(e,t,i){"use strict";var s=i(36734),l=i(86880),o=i(77985),n=i(23850),a=i(7267),r=i.n(a);t.Z=function(e){let{open:t,onClose:i,content:a}=e,{t:d}=(0,l.Z)("rewards"),{isMobile:c}=(0,n.Z)();return(0,s.jsx)(o.Z,{title:d("positionExperienceCoupon"),subtitle:d("claimFreeFuturesPosition"),open:t,footer:null,onClose:i,width:480,bodyStyle:c?{borderRadius:"16px"}:void 0,children:(0,s.jsxs)("div",{className:r().wrapper,children:[(0,s.jsxs)("div",{className:r().header,children:[(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"60",height:"60",viewBox:"0 0 60 60",fill:"none",children:[(0,s.jsx)("path",{d:"M53.9196 48.3545L53.1378 46.3215H52.4275C48.8867 43.1172 40.2695 40.8555 30.2002 40.8555C20.1309 40.8555 11.5137 43.1172 7.97172 46.3215H7.26139L6.48087 48.3545C6.32868 48.7429 6.2495 49.156 6.24731 49.5731C6.24731 54.3869 16.9701 58.2859 30.199 58.2859C43.4279 58.2859 54.1507 54.3821 54.1507 49.5731C54.1498 49.1561 54.0715 48.7429 53.9196 48.3545Z",fill:"#61625D"}),(0,s.jsx)("path",{d:"M30.2004 39.9426C35.2426 39.9426 39.9232 40.5094 43.7883 41.4778C47.6278 42.4397 50.6732 43.8022 52.467 45.4094H53.2112L53.2375 45.4778L54.0198 47.51L54.1223 47.8147C54.2113 48.124 54.2574 48.445 54.2581 48.7678C54.258 50.013 53.563 51.1861 52.3381 52.2395C51.1128 53.2931 49.3459 54.2376 47.1721 55.0286C42.8234 56.6108 36.8227 57.5871 30.1995 57.5872C23.5759 57.5872 17.5747 56.6113 13.2258 55.0295C11.052 54.2389 9.28512 53.2953 8.05981 52.2415C6.83488 51.1878 6.13994 50.0142 6.13989 48.7678V48.7668C6.14218 48.3366 6.22414 47.9106 6.3811 47.51L7.16138 45.4778L7.18774 45.4094H7.93188C9.72635 43.8021 12.7727 42.4398 16.6125 41.4778C20.4778 40.5094 25.1583 39.9426 30.2004 39.9426Z",fill:"#EBF0F8",stroke:"#1D1D1D",strokeWidth:"0.214286"}),(0,s.jsx)("mask",{id:"mask0_40002365_17985",style:{maskType:"alpha"}
1,maskUnits:"userSpaceOnUse",x:"6",y:"40",width:"49",height:"18",children:(0,s.jsx)("path",{d:"M53.9196 47.5491L53.1378 45.5161H52.4275C48.8867 42.3117 40.2695 40.05 30.2002 40.05C20.1309 40.05 11.5137 42.3117 7.97172 45.5161H7.26139L6.48087 47.5491C6.32868 47.9374 6.2495 48.3506 6.24731 48.7677C6.24731 53.5815 16.9701 57.4805 30.199 57.4805C43.4279 57.4805 54.1507 53.5767 54.1507 48.7677C54.1498 48.3507 54.0715 47.9375 53.9196 47.5491Z",fill:"white"})}),(0,s.jsxs)("g",{mask:"url(#mask0_40002365_17985)",children:[(0,s.jsx)("path",{d:"M31.4575 54.137H30.7544V57.2119H31.4575V54.137Z",fill:"white"}),(0,s.jsx)("path",{d:"M33.8535 54.0195H33.5146V57.0944H33.8535V54.0195Z",fill:"white"}),(0,s.jsx)("path",{d:"M30.2535 56.9868V39.5527H30.2027C20.1321 39.5527 11.5162 41.8144 7.97416 45.0176H7.26383L6.48331 47.0518C6.33112 47.4401 6.25194 47.8533 6.24976 48.2704C6.24976 53.0842 16.9725 56.9832 30.2015 56.9832L30.2535 56.9868Z",fill:"white"})]}),(0,s.jsx)("path",{d:"M30.2027 54.627C42.9952 54.627 53.3654 50.8524 53.3654 46.1962C53.3654 41.54 42.9952 37.7654 30.2027 37.7654C17.4103 37.7654 7.04004 41.54 7.04004 46.1962C7.04004 50.8524 17.4103 54.627 30.2027 54.627Z",fill:"white",stroke:"#1D1D1D",strokeWidth:"0.214286"}),(0,s.jsx)("path",{d:"M30.2025 54.6269C17.4104 54.6269 7.03979 50.8525 7.03979 46.196",stroke:"#1D1D1D",strokeWidth:"0.214286",strokeMiterlimit:"10"}),(0,s.jsx)("path",{d:"M30.2143 53.5714C41.4573 53.5714 50.5715 50.3095 50.5715 46.2857C50.5715 42.2619 41.4573 39 30.2143 39C18.9714 39 9.85718 42.2619 9.85718 46.2857C9.85718 50.3095 18.9714 53.5714 30.2143 53.5714Z",stroke:"#EBF0F8",strokeWidth:"0.428571",strokeMiterlimit:"10"}),(0,s.jsx)("path",{d:"M30.2144 51.8571C38.8537 51.8571 45.8572 49.2667 45.8572 46.0713C45.8572 42.876 38.8537 40.2856 30.2144 40.2856C21.5751 40.2856 14.5715 42.876 14.5715 46.0713C14.5715 49.2667 21.5751 51.8571 30.2144 51.8571Z",fill:"#1D1D1D"}),(0,s.jsx)("mask",{id:"mask1_40002365_17985",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"14",y:"40",width:"32",height:"12",children:(0,s.jsx)("path",{d:"M30.2229 51.7072C38.8476 51.7072 45.8393 49.1648 45.8393 46.0285C45.8393 42.8923 38.8476 40.3499 30.2229 40.3499C21.5982 40.3499 14.6064 42.8923 14.6064 46.0285C14.6064 49.1648 21.5982 51.7072 30.2229 51.7072Z",fill:"black"})}),(0,s.jsx)("g",{mask:"url(#mask1_40002365_17985)",children:(0,s.jsx)("path",{d:"M47.6472 38.1869V47.4424M30.7014 36.0621V56.3191M38.5005 36.3857V55.9964M44.6688 37.2675V48.3622M23.0311 36.3738V56.0074M16.8628 37.2389V48.3906M13.8855 38.1275V47.502M44.335 48.4338C40.9936 47.738 36.1225 47.2998 30.6989 47.2998C25.2753 47.2998 20.4042 47.738 17.0628 48.4338",stroke:"white",strokeWidth:"0.0428571",strokeLinecap:"round",strokeLinejoin:"round"})}),(0,s.jsx)("circle",{cx:"5.48581",cy:"17.0144",r:"0.728571",fill:"white",stroke:"#1D1D1D",strokeWidth:"0.257143"}),(0,s.jsx)("path",{d:"M27.5539 3.45125C24.8129 3.06548 22.0744 4.13142 20.4908 6.81912L7.92783 28.1329C4.72746 33.5591 8.63085 41.5258 14.9504 42.475L39.7767 46.2058C46.1318 47.0991 50.0809 40.3482 46.9744 34.0007L34.711 8.95609C33.1349 5.74049 30.3431 3.84463 27.5539 3.45125Z",fill:"white",stroke:"#1D1D1D",strokeWidth:"0.257143",strokeMiterlimit:"10"}),(0,s.jsx)("path",{d:"M27.0362 8.11283C24.8245 7.80606 22.6149 8.6537 21.3371 10.7909L11.2003 27.7395C8.61796 32.0544 11.7675 38.3894 16.8666 39.1442L36.8986 42.1109C42.0264 42.8213 45.2128 37.453 42.7063 32.4055L32.8111 12.4902C31.5394 9.93321 29.2868 8.42564 27.0362 8.11283Z",fill:"url(#paint0_linear_40002365_17985)",stroke:"#1D1D1D",strokeWidth:"0.257143",strokeMiterlimit:"10"}),(0,s.jsx)("mask",{id:"mask2_40002365_17985",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"10",y:"8",width:"34",height:"35",children:(0,s.jsx)("path",{d:"M27.0362 8.11283C24.8245 7.80606 22.6149 8.6537 21.3371 10.7909L11.2003 27.7395C8.61796 32.0544 11.7675 38.3894 16.8666 39.1442L36.8986 42.1109C42.0264 42.8213 45.2128 37.453 42.7063 32.4055L32.8111 12.4902C31.5394 9.93321 29.2868 8.42564 27.0362 8.11283Z",fill:"url(#paint1_linear_40002365_17985)"})}),(0,s.jsxs)("g",{mask:"url(#mask2_40002365_17985)",children:[(0,s.jsx)("path",{d:"M29.503 7.29056C27.2913 6.9838 25.0817 7.83143 23.8
1039 9.96867L13.6671 26.9173C11.0848 31.2321 14.2343 37.5671 19.3334 38.3219L39.3654 41.2886C44.4932 41.999 47.6796 36.6307 45.1731 31.5833L35.2779 11.668C34.0062 9.11095 31.7536 7.60338 29.503 7.29056Z",stroke:"white",strokeWidth:"0.642857",strokeMiterlimit:"10"}),(0,s.jsx)("path",{d:"M27.0362 8.11283C24.8245 7.80606 22.6149 8.6537 21.3371 10.7909L11.2003 27.7395C8.61796 32.0544 11.7675 38.3894 16.8666 39.1442L36.8986 42.1109C42.0264 42.8213 45.2128 37.453 42.7063 32.4055L32.8111 12.4902C31.5394 9.93321 29.2868 8.42564 27.0362 8.11283Z",stroke:"#1D1D1D",strokeWidth:"0.257143",strokeMiterlimit:"10"})]}),(0,s.jsx)("path",{d:"M27.7798 1.68227C29.1122 0.956414 30.6452 0.717845 32.1806 0.933572C34.9699 1.32696 37.7616 3.22281 39.3377 6.43841L51.5986 31.483C53.8853 36.1529 52.3524 41.0385 48.8525 42.9419L44.2258 45.4596C47.7231 43.5561 49.2561 38.6705 46.9719 34.0007L34.711 8.95607C33.1349 5.74047 30.3432 3.84462 27.5539 3.45123C26.0185 3.2355 24.4855 3.47407 23.1531 4.19993L27.7798 1.68227Z",fill:"white",stroke:"#1D1D1D",strokeWidth:"0.257143",strokeMiterlimit:"10"}),(0,s.jsx)("mask",{id:"mask3_40002365_17985",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"23",y:"0",width:"30",height:"46",children:(0,s.jsx)("path",{d:"M27.7798 1.68227C29.1122 0.956414 30.6452 0.717845 32.1806 0.933572C34.9699 1.32696 37.7616 3.22281 39.3377 6.43841L51.5986 31.483C53.8853 36.1529 52.3524 41.0385 48.8525 42.9419L44.2258 45.4596C47.7231 43.5561 49.2561 38.6705 46.9719 34.0007L34.711 8.95607C33.1349 5.74047 30.3432 3.84462 27.5539 3.45123C26.0185 3.2355 24.4855 3.47407 23.1531 4.19993L27.7798 1.68227Z",fill:"white",stroke:"#1D1D1D",strokeWidth:"0.257143",strokeMiterlimit:"10"})}),(0,s.jsxs)("g",{mask:"url(#mask3_40002365_17985)",children:[(0,s.jsx)("path",{d:"M55.0715 34.9287L46.2858 38.5716V39.2144L41.5715 46.0716L51.8572 45.4287L55.0715 34.9287Z",fill:"#EBF0F8"}),(0,s.jsx)("path",{d:"M55.0715 34.0715L46.2858 37.7144V38.3572L41.5715 45.2144L51.8572 44.5715L55.0715 34.0715Z",stroke:"#EBF0F8",strokeWidth:"0.428571"}),(0,s.jsx)("path",{d:"M27.7798 1.68227C29.1122 0.956414 30.6452 0.717845 32.1806 0.933572C34.9699 1.32696 37.7616 3.22281 39.3377 6.43841L51.5986 31.483C53.8853 36.1529 52.3524 41.0385 48.8525 42.9419L44.2258 45.4596C47.7231 43.5561 49.2561 38.6705 46.9719 34.0007L34.711 8.95607C33.1349 5.74047 30.3432 3.84462 27.5539 3.45123C26.0185 3.2355 24.4855 3.47407 23.1531 4.19993L27.7798 1.68227Z",stroke:"#1D1D1D",strokeWidth:"0.257143",strokeMiterlimit:"10"})]}),(0,s.jsx)("path",{d:"M25.5486 30.0647C25.0749 29.9914 24.6904 30.391 24.6921 30.9544L24.696 33.304C24.696 33.8673 25.0818 34.3868 25.5554 34.4602L27.5291 34.7669C28.0027 34.8401 28.3855 34.4406 28.3855 33.8772L28.3816 31.5266C28.3814 30.9634 27.9957 30.4448 27.5222 30.3714L25.5486 30.0647ZM25.5105 15.3675C25.0439 15.2961 24.6678 15.8109 24.6677 16.5208L24.6873 27.5305C24.6873 28.2406 25.068 28.8742 25.533 28.9475L27.5339 29.2581C28.0006 29.3295 28.3767 28.8138 28.3767 28.1038L28.3572 17.0921C28.3571 16.3821 27.9763 15.7494 27.5115 15.676L25.5105 15.3675Z",fill:"#1D1D1D"}),(0,s.jsx)("path",{d:"M25.1375 30.0647C24.6638 29.9914 24.2793 30.391 24.281 30.9544L24.2849 33.304C24.2849 33.8673 24.6707 34.3868 25.1443 34.4602L27.1179 34.7669C27.5915 34.8401 27.9743 34.4406 27.9744 33.8772L27.9705 31.5266C27.9703 30.9634 27.5846 30.4448 27.1111 30.3714L25.1375 30.0647ZM25.0994 15.3675C24.6327 15.2961 24.2567 15.8109 24.2566 16.5208L24.2761 27.5305C24.2761 28.2406 24.6569 28.8742 25.1218 28.9475L27.1228 29.2581C27.5895 29.3295 27.9656 28.8138 27.9656 28.1038L27.946 17.0921C27.946 16.3821 27.5652 15.7494 27.1003 15.676L25.0994 15.3675Z",fill:"white"}),(0,s.jsx)("path",{d:"M53.4581 30.0845L55.192 33.1759C55.2669 33.3094 55.2193 33.4785 55.0858 33.5534L51.9944 35.2873C51.8608 35.3622 51.6918 35.3146 51.6168 35.1811L49.883 32.0897C49.808 31.9561 49.8556 31.7871 49.9892 31.7121L53.0806 29.9783C53.2141 29.9033 53.3832 29.9509 53.4581 30.0845Z",fill:"white",stroke:"#1D1D1D",strokeWidth:"0.257143"}),(0,s.jsx)("path",{d:"M38.7625 11.5364L42.0826 17.9172",stroke:"#151C20",strokeWidth:"0.214286",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M36.6277 7.42749L37.7427 9.57484",stroke:"#151C20",strokeWidth:"0.214286",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("line",{x1:"46.1604",y1:"9.82827",x2:"47.4461",y2:"4.25684",stroke:"black",strokeWidth:"0.257143"}),(0,s.jsx)("line",{x1:"50.5377",y1:"12.3044",x2:"55.252",y2:"11.0187",stroke:"black",strokeWidth:"0.257143"}),(0,s.jsx)("path",{d:"M54.5005 4.83447L48.8569 11.1431L48.6655 10.9712L54.3062 4.6665L54.5005 4.83447ZM56.1431 2.99951L55.3579 3.87549L55.1646 3.70752L55.9517 2.82861L56.1431 2.99951Z",fill:"black"}),(0,s.jsx)("path",{d:"M2.57143 24.8572C2.49698 22.4211 2.43612 22.3606 0 22.2858C2.43612 22.2113 2.49661 22.1505 2.57143 19.7144C2.64587 22.1505 2.70674 22.211 5.14286 22.2858C2.70674 22.3606 2.64626 22.4203 2.57143 24.8572Z",fill:"#1D1D1D"}),(0,s.jsxs)("defs",{children:[(0,s.jsxs)("linearGradient",{id:"paint0_linear_40002365_17985",x1:"26.929",y1:"42.1745",x2:"26.929",y2:"8.052",gradientUnits:"userSpaceOnUse",children:[(0,s.jsx)("stop",{stopColor:"#FFEC7C"}),(0,s.jsx)("stop",{offset:"1",stopColor:"#FFC12E"})]}),(0,s.jsxs)("linearGradient",{id:"paint1_linear_40002365_17985",x1:"26.929",y1:"42.1745",x2:"26.929",y2:"8.052",gradientUnits:"userSpaceOnUse",children:[(0,s.jsx)("stop",{stopColor:"#FEEFA1"}),(0,s.jsx)("stop",{offset:"1",stopColor:"#FFC637"})]})]})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("strong",{children:d("position_claim_failed")}),(0,s.jsx)("p",{children:a})]})]}),(0,s.jsx)("div",{className:r().footer,children:(0,s.jsx)("button",{type:"button",className:r().confirmBtn,onClick:i,children:d("confirm")})})]})})}},32263:function(e,t,i){"use strict";i.d(t,{b:function(){return k},Z:function(){return f}});var s=i(36734),l=i(51776),o=i(6425),n=i.n(o),a=i(86880),r=i(77985),d=i(93767),c=i(97829),h=i(36049),u=i(54008),p=i(22659),x={src:"/_next/static/media/ic_Check_Circle_Filled.fb54b03f.svg",height:20,width:20},C={src:"/_next/static/media/right_q.a5ae81a6.svg",height:20,width:20},m=i(91866),_=i.n(m),j=function(e){let{open:t,onClose:i,onConfirm:l}=e,{t:o}=(0,a.Z)("rewards");
1return(0,s.jsxs)(r.Z,{title:o("coupon_tip"),open:t,footer:null,onClose:i,width:480,children:[(0,s.jsx)("p",{className:_().desc,children:o("coupon_pair_not_eligible")}),(0,s.jsxs)("div",{className:_().footer,children:[(0,s.jsx)("button",{type:"button",className:_().cancelBtn,onClick:i,children:o("cancel")}),(0,s.jsx)("button",{type:"button",className:_().confirmBtn,onClick:l,children:o("coupon_confirm")})]})]})},v=i(88783),b=i.n(v);function k(e){var t,i,o;let{className:d,type:C,getRequestHeaders:m,detailData:_,onSuccess:v,onFail:k}=e,{t:f}=(0,a.Z)("rewards"),{t:L}=(0,a.Z)("common"),[M,y]=(0,l.useState)(1),[g,D]=(0,l.useState)("allTradeFutures"),[N,w]=(0,l.useState)(""),[V,P]=(0,l.useState)({}),[Z,F]=(0,l.useState)(null),[S,B]=(0,l.useState)(null),[W,U]=(0,l.useState)(!1),[T,A]=(0,l.useState)(!1),E=!(0,u.Ji)(),I=((null==_?void 0:null===(t=_.contractConfig)||void 0===t?void 0:t.type)===2?[{label:f("usdtM"),key:"allTradeFutures"}]:[{label:f("usdtM"),key:"allTradeFutures"},...E?[{label:f("coinM"),key:"allTradeInverseFutures"},{label:f("usdcM"),key:"allTradeUsdcFutures"}]:[]]).filter(e=>(V[e.key]||[]).length>0);(0,l.useEffect)(()=>{_&&(0,h.getAllTradeFutures)({},{headers:null==m?void 0:m()}).then(e=>{let t=(null==e?void 0:e.data)||{},i={};Object.keys(t).forEach(e=>{i[e]=(t[e]||[]).map(e=>({...e,baseAlias:(0,p.j)({item:e,coinName:"baseCoin",aliasName:"baseAlias"}),futuresName:(e.symbolAlias||e.symbol||"").toUpperCase()}))}),P(i)}).catch(()=>{})},[_]);let H=(null==_?void 0:null===(i=_.contractConfig)||void 0===i?void 0:i.type)===0?null:null==_?void 0:null===(o=_.contractConfig)||void 0===o?void 0:o.contractList,O=(()=>{var e,t;let i=null!==H&&(null==H?void 0:H.length)?(H||[]).map(e=>(V[g]||[]).find(t=>t.id===e)).filter(Boolean):V[g]||[];if((null==_?void 0:null===(e=_.contractConfig)||void 0===e?void 0:e.type)===2){let s=(null==_?void 0:null===(t=_.contractConfig)||void 0===t?void 0:t.rank)||0;i=[...i].sort((e,t)=>(t.amount||0)-(e.amount||0)).slice(0,s)}if(N){let l=N.toUpperCase();i=i.filter(e=>(e.futuresName||"").includes(l))}return i})();async function R(){if(Z){try{var e;let t=await (0,c.Cn)({contractId:Z.id},null==m?void 0:m());(null==t?void 0:t.code)==="0"&&(null==t?void 0:null===(e=t.data)||void 0===e?void 0:e.maxLevel)&&B(t.data.maxLevel)}catch(i){}y(2)}}async function Q(e){try{let t=await (0,h.postVoucherUse)({code:null==_?void 0:_.code,contractId:null==Z?void 0:Z.id,side:e,leverageLevel:S?Math.min(null==_?void 0:_.leverage,S):null==_?void 0:_.leverage},{headers:null==m?void 0:m()});if((null==t?void 0:t.code)==="0")null==v||v();else if((null==t?void 0:t.code)==="100534")U(!0);else{let i="fail_code_".concat(null==t?void 0:t.code),s=f(i);null==k||k(s===i?(null==t?void 0:t.msg)||i:s)}}catch(l){}}let J=S?Math.min(null==_?void 0:_.leverage,S):null==_?void 0:_.leverage;return(0,s.jsxs)("div",{className:n()(b().content,d),children:[(0,s.jsxs)("div",{className:n()(b().header,"mobile"===C&&b().headerMobile),children:[(0,s.jsxs)("div",{className:n()(b().item,{[b().itemCurrent]:1===M,[b().itemFinished]:M>1}),children:["mobile"===C&&M>1?(0,s.jsx)("img",{src:x.src,width:20,height:20,alt:""}):(0,s.jsx)("span",{className:n()(b().number,{[b().numberCurrent]:1===M,[b().numberFinished]:M>1}),children:M>1?"â":"1"}),f("selectFuturesPair")]}),(0,s.jsx)("div",{className:b().divider}),(0,s.jsxs)("div",{className:n()(b().item,{[b().itemCurrent]:2===M}),children:[(0,s.jsx)("span",{className:n()(b().number,{[b().numberCurrent]:2===M}),children:"2"}),f("selectPositionDirection")]})]}),(0,s.jsx)("div",{className:n()(b().section,"mobile"===C&&b().sectionMobile),children:1===M?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:b().searchWrapper,children:[(0,s.jsx)("input",{className:b().searchInput,value:N,onChange:e=>w(e.target.value),placeholder:f("searchFutures")}),(0,s.jsxs)("svg",{className:b().searchIcon,width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:[(0,s.jsx)("circle",{cx:"6.5",cy:"6.5",r:"4.5",stroke:"currentColor",strokeWidth:"1.4"}),(0,s.jsx)("path",{d:"M10.5 10.5L13.5 13.5",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round"})]})]}),(0,s.jsx)("div",{className:n()(b().tabs,{[b().tabsHidden]:!!N}),children:I.map(e=>(0,s.jsx)("span",{className:n()(b().tab,{[b().tabActive]:g===e.key}),onClick:()=>D(e.key),children:e.label},e.key))}),(0,s.jsx)("div",{className:b().tableScroll,children:(0,s.jsxs)("table",{className:b().pvTable,children:[(0,s.jsx)("thead",{children:(0,s.jsxs)("tr",{children:[(0,s.jsx)("th",{children:f("futuresPairLabel")}),(0,s.jsx)("th",{children:f("latestPrice")}),(0,s.jsx)("th",{style:{textAlign:"right"},children:f("change24h")})]})}),(0,s.jsx)("tbody",{children:0===O.length?(0,s.jsx)("tr",{className:b().noDataRow,children:(0,s.jsx)("td",{colSpan:3,children:(0,s.jsxs)("div",{className:b().noData,children:[(0,s.jsx)("div",{className:b().noDataPic}),(0,s.jsx)("p",{children:L("other.noData")})]})})}):O.map(e=>(0,s.jsxs)("tr",{className:(null==Z?void 0:Z.symbol)===e.symbol?b().rowSelected:"",onClick:()=>F(e),children:[(0,s.jsx)("td",{children:(0,s.jsxs)("div",{className:b().futuresCell,children:[(0,s.jsx)("img",{src:(0,u.tb)(e.baseAlias),alt:e.baseAlias}),(0,s.jsx)("span",{children:e.futuresName})]})}),(0,s.jsx)("td",{children:e.price?(0,u.uf)(e.price):"-"}),(0,s.jsxs)("td",{style:{textAlign:"right"},className:e.rose>=0?b().colorRise:b().colorDrop,children:[e.rose>=0?"+":"",(0,u.uf)(100*(e.rose||0),2),"%"]})]},e.symbol))})]})})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:b().step2Content,children:[(0,s.jsxs)("div",{className:b().step2Title,children:[(0,s.jsx)("img",{src:(0,u.tb)(null==Z?void 0:Z.baseAlias),alt:null==Z?void 0:Z.baseAlias}),(0,s.jsx)("span",{children:null==Z?void 0:Z.futuresName})]}),(0,s.jsxs)("div",{className:b().step2List,children:[(0,s.jsxs)("div",{className:b().step2ListItem,children:[(0,s.jsx)("span",{children:f("value")}),(0,s.jsxs)("strong",{children:[(0,u.uf)(null==_?void 0:_.amount,2)," USDT"]})]}),(0,s.jsxs)("div",{className:b().step2ListItem,children:[(0,s.jsx)("span",{children:f("applicableLeverage")}),(0,s.jsxs)("strong",{children:[J,"x"]})]}),(0,s.jsxs)("div",{className:b().step2ListItem,children:["mobile"===C?(0,s.jsx)("span",{className:b().underline,onClick:()=>A(!0),children:f("positionValidityPeriod")}):(0,s.jsx)("span",{children:f("positionValidityPeriod")}),(0,s.jsxs)("strong",{children:[(null==_?void 0:_.positionValidTime)?Math.floor(_.positionValidTime/3600):"-"," ",f("hours")]})]})]})]}),(0,s.jsxs)("button",{type:"button",className:b().backButton,onClick:()=>y(1),children:["â ",f("previousStep")]})]})}),(0,s.jsx)("div",{className:n()(b().footer,"mobile"===C&&b().footerMobile),children:1===M?(0,s.jsx)("button",{type:"button",className:n()(b().btn,Z?b().btnNext:b().btnDisabled),disabled:!Z,onClick:Z?R:void 0,children:f("nextStep")}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("button",{type:"button",className:n()(b().btn,b().btnBuy),onClick:()=>Q("BUY"),children:f("buyLong")}),(0,s.jsx)("button",{type:"button",className:n()(b().btn,b().btnSell),onClick:()=>Q("SELL"),children:f("sellShort")})]})}),(0,s.jsx)(j,{open:W,onClose:()=>U(!1),onConfirm(){U(!1),y(1),F(null)}}),"mobile"===C&&(0,s.jsxs)(r.Z,{open:T,title:f("positionValidityPeriod"),onClose:()=>A(!1),footer:null,children:[(0,s.jsx)("p",{className:b().validityDesc,children:f("positionValidityDesc")}),(0,s.jsx)("button",{type:"button",className:b().validityConfirmBtn,onClick:()=>A(!1),children:f("confirm")})]})]})}var f=function(e){var t,i,o;let{open:m,onClose:_,detailData:v,onSuccess:k,onFail:f,getRequestHeaders:L}=e,{t:M}=(0,a.Z)("rewards"),{t:y}=(0,a.Z)("common"),[g,D]=(0,l.useState)(1),[N,w]=(0,l.useState)("allTradeFutures"),[V,P]=(0,l.useState)(""),[Z,F]=(0,l.useState)({}),[S,B]=(0,l.useState)(null),[W,U]=(0,l.useState)(null),[T,A]=(0,l.useState)(!1),E=!(0,u.Ji)(),I=((null==v?void 0:null===(t=v.contractConfig)||void 0===t?void 0:t.type)===2?[{label:M("usdtM"),key:"allTradeFutures"}]:[{label:M("usdtM"),key:"allTradeFutures"},...E?[{label:M("coinM"),key:"allTradeInverseFutures"},{label:M("usdcM"),key:"allTradeUsdcFutures"}]:[]]).filter(e=>(Z[e.key]||[]).length>0);(0,l.useEffect)(()=>{m||(D(1),B(null),P(""),F({}))},[m]),(0,l.useEffect)(()=>{m&&v&&(0,h.getAllTradeFutures)({},{headers:null==L?void 0:L()}).then(e=>{let t=(null==e?void 0:e.data)||{},i={};
1Object.keys(t).forEach(e=>{i[e]=(t[e]||[]).map(e=>({...e,baseAlias:(0,p.j)({item:e,coinName:"baseCoin",aliasName:"baseAlias"}),futuresName:(e.symbolAlias||e.symbol||"").toUpperCase()}))}),F(i)}).catch(()=>{})},[m,v]);let H=(null==v?void 0:null===(i=v.contractConfig)||void 0===i?void 0:i.type)===0?null:null==v?void 0:null===(o=v.contractConfig)||void 0===o?void 0:o.contractList,O=(()=>{var e,t;let i=null!==H&&(null==H?void 0:H.length)?(H||[]).map(e=>(Z[N]||[]).find(t=>t.id===e)).filter(Boolean):Z[N]||[];if((null==v?void 0:null===(e=v.contractConfig)||void 0===e?void 0:e.type)===2){let s=(null==v?void 0:null===(t=v.contractConfig)||void 0===t?void 0:t.rank)||0;i=[...i].sort((e,t)=>(t.amount||0)-(e.amount||0)).slice(0,s)}if(V){let l=V.toUpperCase();i=i.filter(e=>(e.futuresName||"").includes(l))}return i})();async function R(){if(S){try{var e;let t=await (0,c.Cn)({contractId:S.id},null==L?void 0:L());(null==t?void 0:t.code)==="0"&&(null==t?void 0:null===(e=t.data)||void 0===e?void 0:e.maxLevel)&&U(t.data.maxLevel)}catch(i){}D(2)}}async function Q(e){try{let t=await (0,h.postVoucherUse)({code:null==v?void 0:v.code,contractId:null==S?void 0:S.id,side:e,leverageLevel:W?Math.min(null==v?void 0:v.leverage,W):null==v?void 0:v.leverage},{headers:null==L?void 0:L()});if((null==t?void 0:t.code)==="0")null==k||k();else if((null==t?void 0:t.code)==="100534")A(!0);else{let i="fail_code_".concat(null==t?void 0:t.code),s=M(i);null==f||f(s===i?(null==t?void 0:t.msg)||i:s)}}catch(l){}}let J=W?Math.min(null==v?void 0:v.leverage,W):null==v?void 0:v.leverage;return(0,s.jsxs)(r.Z,{title:M("positionExperienceCoupon"),open:m,footer:null,onClose:_,width:580,children:[(0,s.jsxs)("div",{className:b().header,children:[(0,s.jsxs)("div",{className:n()(b().item,{[b().itemCurrent]:1===g,[b().itemFinished]:g>1}),children:[g>1?(0,s.jsx)("img",{src:x.src,width:20,height:20,alt:""}):(0,s.jsx)("span",{className:n()(b().number,{[b().numberCurrent]:1===g}),children:"1"}),M("selectFuturesPair")]}),(0,s.jsxs)("div",{className:b().divider,children:[(0,s.jsx)("div",{className:b().dividerLine}),(0,s.jsx)("img",{src:C.src,width:20,height:20,alt:""}),(0,s.jsx)("div",{className:b().dividerLine})]}),(0,s.jsxs)("div",{className:n()(b().item,{[b().itemCurrent]:2===g}),children:[(0,s.jsx)("span",{className:n()(b().number,{[b().numberCurrent]:2===g}),children:"2"}),M("selectPositionDirection")]})]}),(0,s.jsx)("div",{className:b().section,children:1===g?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:b().searchWrapper,children:[(0,s.jsx)("input",{className:b().searchInput,value:V,onChange:e=>P(e.target.value),placeholder:M("searchFutures")}),(0,s.jsxs)("svg",{className:b().searchIcon,width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:[(0,s.jsx)("circle",{cx:"6.5",cy:"6.5",r:"4.5",stroke:"currentColor",strokeWidth:"1.4"}),(0,s.jsx)("path",{d:"M10.5 10.5L13.5 13.5",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round"})]})]}),(0,s.jsx)("div",{className:n()(b().tabs,{[b().tabsHidden]:!!V}),children:I.map(e=>(0,s.jsx)("span",{className:n()(b().tab,{[b().tabActive]:N===e.key}),onClick:()=>w(e.key),children:e.label},e.key))}),(0,s.jsx)("div",{className:b().tableScroll,children:(0,s.jsxs)("table",{className:b().pvTable,children:[(0,s.jsx)("thead",{children:(0,s.jsxs)("tr",{children:[(0,s.jsx)("th",{children:M("futuresPairLabel")}),(0,s.jsx)("th",{children:M("latestPrice")}),(0,s.jsx)("th",{style:{textAlign:"right"},children:M("change24h")})]})}),(0,s.jsx)("tbody",{children:0===O.length?(0,s.jsx)("tr",{className:b().noDataRow,children:(0,s.jsx)("td",{colSpan:3,children:(0,s.jsxs)("div",{className:b().noData,children:[(0,s.jsx)("div",{className:b().noDataPic}),(0,s.jsx)("p",{children:y("other.noData")})]})})}):O.map(e=>(0,s.jsxs)("tr",{className:(null==S?void 0:S.symbol)===e.symbol?b().rowSelected:"",onClick:()=>B(e),children:[(0,s.jsx)("td",{children:(0,s.jsxs)("div",{className:b().futuresCell,children:[(0,s.jsx)("img",{src:(0,u.tb)(e.baseAlias),alt:e.baseAlias}),(0,s.jsx)("span",{children:e.futuresName})]})}),(0,s.jsx)("td",{children:e.price?(0,u.uf)(e.price):"-"}),(0,s.jsxs)("td",{style:{textAlign:"right"},className:e.rose>=0?b().colorRise:b().colorDrop,children:[e.rose>=0?"+":"",(0,u.uf)(100*(e.rose||0),2),"%"]})]},e.symbol))})]})})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:b().step2Content,children:[(0,s.jsxs)("div",{className:b().step2Title,children:[(0,s.jsx)("img",{src:(0,u.tb)(null==S?void 0:S.baseAlias),alt:null==S?void 0:S.baseAlias}),(0,s.jsx)("span",{children:null==S?void 0:S.futuresName})]}),(0,s.jsxs)("div",{className:b().step2List,children:[(0,s.jsxs)("div",{className:b().step2ListItem,children:[(0,s.jsx)("span",{children:M("value")}),(0,s.jsxs)("strong",{children:[(0,u.uf)(null==v?void 0:v.amount,2)," USDT"]})]}),(0,s.jsxs)("div",{className:b().step2ListItem,children:[(0,s.jsx)("span",{children:M("applicableLeverage")}),(0,s.jsxs)("strong",{children:[J,"x"]})]}),(0,s.jsxs)("div",{className:b().step2ListItem,children:[(0,s.jsx)(d.Z,{title:(0,s.jsx)("span",{style:{borderBottom:"1px dashed #B0B9C3",cursor:"help"},children:M("positionValidityPeriod")}),content:(0,s.jsx)("span",{style:{display:"block",width:280,whiteSpace:"normal",lineHeight:1.5,textAlign:"left",color:"#fff"},children:M("positionValidityDesc")})}),(0,s.jsxs)("strong",{children:[(null==v?void 0:v.positionValidTime)?Math.floor(v.positionValidTime/3600):"-"," ",M("hours")]})]})]})]}),(0,s.jsxs)("button",{type:"button",className:b().backButton,onClick:()=>D(1),children:["â ",M("previousStep")]})]})}),(0,s.jsx)("div",{className:b().footer,children:1===g?(0,s.jsx)("button",{type:"button",className:n()(b().btn,S?b().btnNext:b().btnDisabled),disabled:!S,onClick:S?R:void 0,children:M("nextStep")}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("button",{type:"button",className:n()(b().btn,b().btnBuy),onClick:()=>Q("BUY"),children:M("buyLong")}),(0,s.jsx)("button",{type:"button",className:n()(b().btn,b().btnSell),onClick:()=>Q("SELL"),children:M("sellShort")})]})}),(0,s.jsx)(j,{open:T,onClose:()=>A(!1),onConfirm(){A(!1),D(1),B(null)}})]})}},25554:function(e,t,i){"use strict";i.d(t,{Z:function(){return h}});var s=i(36734),l=i(86880),o=i(67832),n=i.n(o),a=i(77985),r={src:"/_next/static/media/ic_warning.272faac8.svg",height:13,width:12},d=i(80734),c=i.n(d),h=function(e){let{open:t,onOk:i}=e,{t:o}=(0,l.Z)("rewards"),d=()=>
1{if(window.currencyexchange||window.currency_exchange){var e;null===(e=window.jsBridge)||void 0===e||e.invoke("openHomeTabInfo",{tabIndex:3,params:null})}else window.location.href="/futures"};return(0,s.jsx)(a.Z,{title:o("positionExperienceCoupon"),subtitle:o("claimFreeFuturesPosition"),open:t,footer:null,onClose:i,width:480,children:(0,s.jsxs)("div",{className:c().wrapper,children:[(0,s.jsxs)("div",{className:c().header,children:[(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"60",height:"60",viewBox:"0 0 60 60",fill:"none",children:[(0,s.jsx)("path",{d:"M53.9196 48.3545L53.1378 46.3215H52.4275C48.8867 43.1172 40.2695 40.8555 30.2002 40.8555C20.1309 40.8555 11.5137 43.1172 7.97172 46.3215H7.26139L6.48087 48.3545C6.32868 48.7429 6.2495 49.156 6.24731 49.5731C6.24731 54.3869 16.9701 58.2859 30.199 58.2859C43.4279 58.2859 54.1507 54.3821 54.1507 49.5731C54.1498 49.1561 54.0715 48.7429 53.9196 48.3545Z",fill:"#61625D"}),(0,s.jsx)("path",{d:"M30.2004 39.9426C35.2426 39.9426 39.9232 40.5094 43.7883 41.4778C47.6278 42.4397 50.6732 43.8022 52.467 45.4094H53.2112L53.2375 45.4778L54.0198 47.51L54.1223 47.8147C54.2113 48.124 54.2574 48.445 54.2581 48.7678C54.258 50.013 53.563 51.1861 52.3381 52.2395C51.1128 53.2931 49.3459 54.2376 47.1721 55.0286C42.8234 56.6108 36.8227 57.5871 30.1995 57.5872C23.5759 57.5872 17.5747 56.6113 13.2258 55.0295C11.052 54.2389 9.28512 53.2953 8.05981 52.2415C6.83488 51.1878 6.13994 50.0142 6.13989 48.7678V48.7668C6.14218 48.3366 6.22414 47.9106 6.3811 47.51L7.16138 45.4778L7.18774 45.4094H7.93188C9.72635 43.8021 12.7727 42.4398 16.6125 41.4778C20.4778 40.5094 25.1583 39.9426 30.2004 39.9426Z",fill:"#EBF0F8",stroke:"#1D1D1D",strokeWidth:"0.214286"}),(0,s.jsx)("mask",{id:"mask0_40002365_17964",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"6",y:"40",width:"49",height:"18",children:(0,s.jsx)("path",{d:"M53.9196 47.5491L53.1378 45.5161H52.4275C48.8867 42.3117 40.2695 40.05 30.2002 40.05C20.1309 40.05 11.5137 42.3117 7.97172 45.5161H7.26139L6.48087 47.5491C6.32868 47.9374 6.2495 48.3506 6.24731 48.7677C6.24731 53.5815 16.9701 57.4805 30.199 57.4805C43.4279 57.4805 54.1507 53.5767 54.1507 48.7677C54.1498 48.3507 54.0715 47.9375 53.9196 47.5491Z",fill:"white"})}),(0,s.jsxs)("g",{mask:"url(#mask0_40002365_17964)",children:[(0,s.jsx)("path",{d:"M31.4575 54.137H30.7544V57.2119H31.4575V54.137Z",fill:"white"}),(0,s.jsx)("path",{d:"M33.8535 54.0195H33.5146V57.0944H33.8535V54.0195Z",fill:"white"}),(0,s.jsx)("path",{d:"M30.2535 56.9868V39.5527H30.2027C20.1321 39.5527 11.5162 41.8144 7.97416 45.0176H7.26383L6.48331 47.0518C6.33112 47.4401 6.25194 47.8533 6.24976 48.2704C6.24976 53.0842 16.9725 56.9832 30.2015 56.9832L30.2535 56.9868Z",fill:"white"})]}),(0,s.jsx)("path",{d:"M30.2027 54.627C42.9952 54.627 53.3654 50.8524 53.3654 46.1962C53.3654 41.54 42.9952 37.7654 30.2027 37.7654C17.4103 37.7654 7.04004 41.54 7.04004 46.1962C7.04004 50.8524 17.4103 54.627 30.2027 54.627Z",fill:"white",stroke:"#1D1D1D",strokeWidth:"0.214286"}),(0,s.jsx)("path",{d:"M30.2025 54.6269C17.4104 54.6269 7.03979 50.8525 7.03979 46.196",stroke:"#1D1D1D",strokeWidth:"0.214286",strokeMiterlimit:"10"}),(0,s.jsx)("path",{d:"M30.2143 53.5714C41.4573 53.5714 50.5715 50.3095 50.5715 46.2857C50.5715 42.2619 41.4573 39 30.2143 39C18.9714 39 9.85718 42.2619 9.85718 46.2857C9.85718 50.3095 18.9714 53.5714 30.2143 53.5714Z",stroke:"#EBF0F8",strokeWidth:"0.428571",strokeMiterlimit:"10"}),(0,s.jsx)("path",{d:"M30.2144 51.8571C38.8537 51.8571 45.8572 49.2667 45.8572 46.0713C45.8572 42.876 38.8537 40.2856 30.2144 40.2856C21.5751 40.2856 14.5715 42.876 14.5715 46.0713C14.5715 49.2667 21.5751 51.8571 30.2144 51.8571Z",fill:"#1D1D1D"}),(0,s.jsx)("mask",{id:"mask1_40002365_17964",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"14",y:"40",width:"32",height:"12",children:(0,s.jsx)("path",{d:"M30.2229 51.7072C38.8476 51.7072 45.8393 49.1648 45.8393 46.0285C45.8393 42.8923 38.8476 40.3499 30.2229 40.3499C21.5982 40.3499 14.6064 42.8923 14.6064 46.0285C14.6064 49.1648 21.5982 51.7072 30.2229 51.7072Z",fill:"black"})}),(0,s.jsx)("g",{mask:"url(#mask1_40002365_17964)",children:(0,s.jsx)("path",{d:"M47.6472 38.1869V47.4424M30.7014 36.0621V56.3191M38.5005 36.3857V55.9964M44.6688 37.2675V48.3622M23.0311 36.3738V56.0074M16.8628 37.2389V48.3906M13.8855 38.1275V47.502M44.335 48.4338C40.9936 47.738 36.1225 47.2998 30.6989 47.2998C25.2753 47.2998 20.4042 47.738 17.0628 48.4338",stroke:"white",strokeWidth:"0.09",strokeLinecap:"round",strokeLinejoin:"round"})}),(0,s.jsx)("path",{d:"M44.5487 3.81689C44.1293 3.85883 43.7295 4.10207 43.4555 4.53823L25.5617 33.0314C25.2933 33.4591 24.9018 33.6996 24.488 33.7415L31.0696 33.0957C31.4834 33.0565 31.8748 32.8133 32.1432 32.3855L50.0399 3.89517C50.3139 3.45901 50.7137 3.21297 51.1331 3.17383L44.5515 3.81968L44.5487 3.81689Z",fill:"white",stroke:"#1D1D1D",strokeWidth:"0.257143",strokeMiterlimit:"10"}),(0,s.jsx)("path",{d:"M31.447 45.9931L26.5849 41.2401L15.5746 30.4758C14.8645 29.7824 14.7191 28.5327 15.2531 27.6855L17.9372 23.4106C18.2112 22.9744 18.6082 22.7311 19.0276 22.6892L12.446 23.3351C12.02
166 23.377 11.6296 23.6202 11.3556 24.0564L8.67152 28.3314C8.1403 29.1785 8.28289 30.4283 8.99305 31.1217L20.0033 41.8859L24.8654 46.639C25.2093 46.9773 25.6259 47.1199 26.0229 47.0807L32.6045 46.4349C32.2075 46.474 31.7937 46.3286 31.447 45.9931Z",fill:"white",stroke:"#1D1D1D",strokeWidth:"0.257143",strokeMiterlimit:"10"}),(0,s.jsx)("mask",{id:"mask2_40002365_17964",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"8",y:"22",width:"25",height:"26",children:(0,s.jsx)("path",{d:"M31.447 45.9931L26.5849 41.2401L15.5746 30.4758C14.8645 29.7824 14.7191 28.5327 15.2531 27.6855L17.9372 23.4106C18.2112 22.9744 18.6082 22.7311 19.0276 22.6892L12.446 23.3351C12.0266 23.377 11.6296 23.6202 11.3556 24.0564L8.67152 28.3314C8.1403 29.1785 8.28289 30.4283 8.99305 31.1217L20.0033 41.8859L24.8654 46.639C25.2093 46.9773 25.6259 47.1199 26.0229 47.0807L32.6045 46.4349C32.2075 46.474 31.7937 46.3286 31.447 45.9931Z",fill:"#EFFFE0",stroke:"#1D1D1D",strokeWidth:"0.257143",strokeMiterlimit:"10"})}),(0,s.jsxs)("g",{mask:"url(#mask2_40002365_17964)",children:[(0,s.jsx)("path",{d:"M20.5128 28.4707L4.43628 30.0085L20.5128 53.3543L39.6648 47.4829L20.5128 28.4707Z",fill:"#EEFFE0",stroke:"#1D1D1D",strokeWidth:"0.257143"}),(0,s.jsx)("path",{d:"M31.447 45.9931L26.5849 41.2401L15.5746 30.4758C14.8645 29.7824 14.7191 28.5327 15.2531 27.6855L17.9372 23.4106C18.2112 22.9744 18.6082 22.7311 19.0276 22.6892L12.446 23.3351C12.0266 23.377 11.6296 23.6202 11.3556 24.0564L8.67152 28.3314C8.1403 29.1785 8.28289 30.4283 8.99305 31.1217L20.0033 41.8859L24.8654 46.639C25.2093 46.9773 25.6259 47.1199 26.0229 47.0807L32.6045 46.4349C32.2075 46.474 31.7937 46.3286 31.447 45.9931Z",stroke:"#1D1D1D",strokeWidth:"0.257143",strokeMiterlimit:"10"})]}),(0,s.jsx)("path",{d:"M17.9371 23.4107C18.4683 22.5635 19.4777 22.4405 20.185 23.1339L29.9316 32.6623C30.6306 33.3445 31.6203 33.2215 32.1459 32.3883L50.0398 3.8952C50.571 3.04804 51.5775 2.92222 52.2877 3.61561L55.8664 7.11329C56.5766 7.80668 56.7192 9.05645 56.1852 9.90361L37.3435 39.9065L33.6949 45.7164C33.1636 46.5636 32.1571 46.6894 31.447 45.996L26.5849 41.243L15.5746 30.4759C14.8644 29.7825 14.719 28.5328 15.253 27.6856L17.9371 23.4107Z",fill:"#76E17D",stroke:"#1D1D1D",strokeWidth:"0.257143",strokeMiterlimit:"10"}),(0,s.jsx)("path",{d:"M7.79126 12.5232C8.33784 12.5232 8.78139 12.9659 8.78149 13.5125C8.78149 14.0591 8.33791 14.5027 7.79126 14.5027C7.2447 14.5026 6.802 14.059 6.802 13.5125C6.80211 12.966 7.24477 12.5233 7.79126 12.5232Z",fill:"white",stroke:"#1D1D1D",strokeWidth:"0.257143"}),(0,s.jsx)("path",{d:"M50.7581 30.9591L52.8105 30.6225C52.965 30.5972 53.1109 30.702 53.1362 30.8565L53.4728 32.9089C53.4981 33.0634 53.3933 33.2093 53.2388 33.2346L51.1864 33.5712C51.0319 33.5965 50.886 33.4917 50.8607 33.3372L50.5241 31.2848C50.4988 31.1303 50.6036 30.9844 50.7581 30.9591Z",fill:"white",stroke:"#1D1D1D",strokeWidth:"0.257143"}),(0,s.jsx)("path",{d:"M16.729 35.0059L18.765 37.1337",stroke:"#151C20",strokeWidth:"0.214286",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M47.1429 40.7143C47.0188 36.6541 46.9174 36.5533 42.8572 36.4285C46.9174 36.3045 47.0182 36.203 47.1429 32.1428C47.267 36.203 47.3684 36.3038 51.4286 36.4285C47.3684 36.5533 47.2676 36.6528 47.1429 40.7143Z",fill:"#1D1D1D"})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("strong",{children:o("positionClaimedSuccess")}),(0,s.jsx)("p",{children:o("viewPositionDesc1")})]})]}),(0,s.jsx)("p",{className:c().text,children:o("profitDesc")}),(0,s.jsxs)("div",{className:c().info,children:[(0,s.jsx)(n(),{src:r,width:16,height:16,alt:"",style:{flexShrink:0,marginTop:1}}),o("trialPositionNote")]}),(0,s.jsxs)("div",{className:c().footer,children:[(0,s.jsx)("button",{type:"button",className:c().cancelBtn,onClick:d,children:o("view_position")}),(0,s.jsx)("button",{type:"button",className:c().confirmBtn,onClick:i,children:o("confirm")})]})]})})}},48956:function(e){e.exports={header:"bit-modal_header__fVuSF",titleArea:"bit-modal_titleArea__IatgT",subtitle:"bit-modal_subtitle__AIDPR",close:"bit-modal_close__Y7aDL"}},12534:function(e){e.exports={tooltips_wrap:"tooltips_tooltips_wrap__Q20KT",tips:"tooltips_tips__GYO9I"}},91866:function(e){e.exports={desc:"PairNotEligibleModal_desc__745Ey",footer
1:"PairNotEligibleModal_footer__dkhxO",cancelBtn:"PairNotEligibleModal_cancelBtn__DaJA_",confirmBtn:"PairNotEligibleModal_confirmBtn__jtP8i"}},7267:function(e){e.exports={wrapper:"PositionVoucherFailModal_wrapper__MIBtp",header:"PositionVoucherFailModal_header__4wJPx",footer:"PositionVoucherFailModal_footer__70QzW",confirmBtn:"PositionVoucherFailModal_confirmBtn__Ws_NZ"}},88783:function(e){e.exports={header:"PositionVoucherModal_header__DSI03",item:"PositionVoucherModal_item___RFJe",itemCurrent:"PositionVoucherModal_itemCurrent__P1Clh",itemFinished:"PositionVoucherModal_itemFinished__j9GQo",number:"PositionVoucherModal_number__9Dww8",numberCurrent:"PositionVoucherModal_numberCurrent__byYRw",numberFinished:"PositionVoucherModal_numberFinished__hS2AH",divider:"PositionVoucherModal_divider__zrpQk",dividerLine:"PositionVoucherModal_dividerLine__P9on8",section:"PositionVoucherModal_section__PoIQm",searchWrapper:"PositionVoucherModal_searchWrapper__b0cxA",searchInput:"PositionVoucherModal_searchInput__qbp1H",searchIcon:"PositionVoucherModal_searchIcon__kaHFU",tabs:"PositionVoucherModal_tabs__OJUGw",tabsHidden:"PositionVoucherModal_tabsHidden__E3CS9",tab:"PositionVoucherModal_tab__Yyft4",tabActive:"PositionVoucherModal_tabActive__1_XDI",tableScroll:"PositionVoucherModal_tableScroll__XRKYy",pvTable:"PositionVoucherModal_pvTable__Hlpf2",rowSelected:"PositionVoucherModal_rowSelected__lJiZ9",futuresCell:"PositionVoucherModal_futuresCell__7Idoj",colorRise:"PositionVoucherModal_colorRise__LZ609",colorDrop:"PositionVoucherModal_colorDrop__tdI0A",step2Content:"PositionVoucherModal_step2Content__90u4t",step2Title:"PositionVoucherModal_step2Title__jB9ZI",step2List:"PositionVoucherModal_step2List__EpzFz",step2ListItem:"PositionVoucherModal_step2ListItem__1Ui8a",backButton:"PositionVoucherModal_backButton__g8sFX",footer:"PositionVoucherModal_footer__3LgGR",btn:"PositionVoucherModal_btn__tzXx7",btnNext:"PositionVoucherModal_btnNext__sgCzb",btnDisabled:"PositionVoucherModal_btnDisabled__QEWlQ",btnBuy:"PositionVoucherModal_btnBuy__01TQp",btnSell:"PositionVoucherModal_btnSell__5IR71",noDataRow:"PositionVoucherModal_noDataRow__xPDQ0",noData:"PositionVoucherModal_noData__CZqOn",noDataPic:"PositionVoucherModal_noDataPic__B1iS9",empty:"PositionVoucherModal_empty__qW_ja",content:"PositionVoucherModal_content__lILLG",sectionMobile:"PositionVoucherModal_sectionMobile__Sh2gP",headerMobile:"PositionVoucherModal_headerMobile__VTU7A",footerMobile:"PositionVoucherModal_footerMobile__PF12S",underline:"PositionVoucherModal_underline__qywKN",validityDesc:"PositionVoucherModal_validityDesc__WXzOJ",validityConfirmBtn:"PositionVoucherModal_validityConfirmBtn__U7pKm"}},80734:function(e){e.exports={wrapper:"PositionVoucherSuccessModal_wrapper__XzZ0X",header:"PositionVoucherSuccessModal_header__quMCn",text:"PositionVoucherSuccessModal_text__FUemP",info:"PositionVoucherSuccessModal_info__1FNEP",footer:"PositionVoucherSuccessModal_footer__2b_Jw",cancelBtn:"PositionVoucherSuccessModal_cancelBtn__Q3DYn",confirmBtn:"PositionVoucherSuccessModal_confirmBtn__r9TmK"}}}]);
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.