PageSourceSearch

https://s2.coinmarketcap.com/v1/cmc/_next/static/chunks/pages/airdropdetail/[...id]-854f843d794dd2ce.js

js coinmarketcap.com collected 2026-09-24 07:58:18 UTC 75,589 bytes, 2 lines download raw bytes

1!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="52854787-ac35-4d7d-baf6-413e4adad802",t._sentryDebugIdIdentifier="sentry-dbid-52854787-ac35-4d7d-baf6-413e4adad802")}catch(t){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[87454,10954],{663300:function(t,e,o){(window.__NEXT_P=window.__NEXT_P||[]).push(["/airdropdetail/[...id]",function(){return o(509599)}])},929142:function(t,e,o){"use strict";o.d(e,{dq:function(){return a},eT:function(){return i},fq:function(){return n},kc:function(){return r}});let n={FORBIDDEN:"FORBIDDEN",GO_SPEND_DIAMONDS:"GO_SPEND_DIAMONDS",GO_JOIN_AIRDROP:"GO_JOIN_AIRDROP",COMPLETE:"COMPLETE"},r={UPCOMING:"UPCOMING",ONGOING:"ONGOING",ENDED:"ENDED",ENDINGSOON:"ENDINGSOON"},i={NORMAL:"NORMAL",LARGE:"LARGE",CAROUSEL:"CAROUSEL"},a=2592e5},483567:function(t,e,o){"use strict";o.d(e,{Z:function(){return Z}});var n=o(552322),r=o(202784),i=o(815197),a=r.memo(t=>{let{sx:e={},...o}=t;return(0,n.jsxs)(i.Z,{sx:e,...o,iconName:"reward",children:[(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 6C6 4.01177 7.61178 2.4 9.6 2.4C10.522 2.4 11.3631 2.74663 12 3.31667C12.6369 2.74663 13.478 2.4 14.4 2.4C16.3882 2.4 18 4.01177 18 6C18 6.42076 17.9278 6.82467 17.7952 7.2H19.2C20.5255 7.2 21.6 8.27452 21.6 9.6C21.6 10.9255 20.5255 12 19.2 12H13.2V10.8C13.2 10.1373 12.6627 9.6 12 9.6C11.3373 9.6 10.8 10.1373 10.8 10.8V12H4.8C3.47452 12 2.4 10.9255 2.4 9.6C2.4 8.27452 3.47452 7.2 4.8 7.2H6.20485C6.07219 6.82467 6 6.42076 6 6ZM10.8 7.2V6C10.8 5.33726 10.2627 4.8 9.6 4.8C8.93726 4.8 8.4 5.33726 8.4 6C8.4 6.66274 8.93726 7.2 9.6 7.2H10.8ZM14.4 7.2C15.0627 7.2 15.6 6.66274 15.6 6C15.6 5.33726 15.0627 4.8 14.4 4.8C13.7373 4.8 13.2 5.33726 13.2 6V7.2H14.4Z",fill:"currentColor"}),(0,n.jsx)("path",{d:"M10.8 13.2H3.6V19.2C3.6 20.5255 4.67452 21.6 6 21.6H10.8V13.2Z",fill:"currentColor"}),(0,n.jsx)("path",{d:"M13.2 21.6H18C19.3255 21.6 20.4 20.5255 20.4 19.2V13.2H13.2V21.6Z",fill:"currentColor"})]})}),l=o(107138),s=o(325575),d=o(160315),c=o(400752),p=o(183214),u=o(70413),h=o(770356),m=o(981433),f=o(411934),x=o(578801),g=o(436456),w=o(338524),v=o(902215),y=o(929142),j=o(82740);let b=j.ZP.div.withConfig({componentId:"sc-56318ffe-0"})(["width:",";min-height:",";padding:16px 16px;border-radius:12px;box-shadow:0px 4px 24px rgba(88,102,126,0.08),0px 1px 2px rgba(88,102,126,0.12);border:1px solid var(--color-light-neutral-2);overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;"],t=>t.cardType===y.eT.CAROUSEL?"320px":"100%",t=>t.status===y.kc.ONGOING||t.status===y.kc.ENDINGSOON||t.status===y.kc.ENDED?"290px":""),C=j.ZP.div.withConfig({componentId:"sc-56318ffe-1"})(["background:",";width:fit-content;color:",";border-radius:40px;font-size:11px;padding:2px 12px;font-weight:600;display:flex;align-items:center;"],t=>t.status===y.kc.ONGOING?"#defbf0":t.status===y.kc.ENDED?"#EFF2F5":"#FCE6E8",t=>t.status===y.kc.ONGOING?"#16c784":t.status===y.kc.ENDED?"#808A9D":"#FF775F"),A=j.ZP.div.withConfig({componentId:"sc-56318ffe-2"})(["margin-right:4px;background:",";width:8px;height:8px;border-radius:5px;"],t=>t.status===y.kc.ONGOING?"#16c784":"#FF775F"),_=(t,e)=>(0,n.jsxs)(n.Fragment,{children:[(e===y.kc.ONGOING||e===y.kc.ENDINGSOON)&&(0,n.jsx)(A,{status:e}),e===y.kc.ONGOING?t("airdrop_card_label_web",{ns:"sheet_AirdropDiamonds",defaultValue:"Live now"}):e===y.kc.ENDED?t("airdrop_LP_previous_end_web",{ns:"sheet_AirdropDiamonds",defaultValue:"Ended"}):t("airdrop_card_label2_web",{ns:"sheet_AirdropDiamonds",defaultValue:"Ending soon"})]});var Z=t=>{let{cardType:e=y.eT.NORMAL,isUpcoming:o=!1,item:r}=t,{isLoggedIn:i}=(0,f.v$)(),j=(0,c.b9)(f.k_),{t:A}=(0,m.$G)(),{language:Z}=(0,x.qL)(),{cryptoCurrency:I}=r,N=r.status===y.kc.ONGOING&&r.endDate>Date.now()&&r.endDate<Date.now()+y.dq?y.kc.ENDINGSOON:r.status;return(0,n.jsxs)(b,{cardType:e,status:N,children:[(0,n.jsxs)(p.Z,{mb:3,display:"flex",alignItems:"center",children:[(0,n.jsx)("img",{src:"".concat((0,v.pt)("/static/img/coins/64x64/".concat(I.cryptoId,".png"))),height:"24",width:"24"}),(0,n.jsx)(h.ZP,{ml:2,color:"textColor",fontWeight:500,children:r.partnerName})]}),(0,n.jsxs)(p.Z,{display:"flex",justifyContent:"space-between",children:[(0,n.jsxs)(p.Z,{maxWidth:e===y.eT.LARGE?"250px":"200px",children:[(0,n.jsx)(h.ZP,{mb:2,fontWeight:"600",fontSize:"16px",style:{whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden"},children:r.eventName}),(N===y.kc.ONGOING||N===y.kc.ENDED||N===y.kc.ENDINGSOON)&&(0,n.jsx)(C,{status:N,children:_(A,N)}),N===y.kc.UPCOMING&&(0,n.jsx)(h.ZP,{color:"neutral6",fontSize:"12px",children:(0,d.default)(r.startDate,"MMMM do, yyyy")})]}),(0,n.jsx)("img",{src:r.imageUrl,style:{width:"56px",height:"56px",borderRadius:"8px"}})]}),(0,n.jsxs)(p.Z,{display:"flex",mt:"20px",children:[(0,n.jsxs)(p.Z,{children:[(0,n.jsxs)(p.Z,{display:"flex",alignItems:"center",children:[(0,n.jsx)(a,{fontSize:16,color:"gray500"}),(0,n.jsx)(h.ZP,{ml:1,color:"neutral6",fontSize:"12px",fontWeight:500,children:A("airdrop_card_rewards_web",{ns:"sheet_AirdropDiamonds",defaultValue:"Rewards"})})]}),(0,n.jsx)(h.ZP,{mt:"6px",fontWeight:500,fontSize:"16px",children:(0,w.q1)(r.totalPrize)})]}),(0,n.jsxs)(p.Z,{ml:"32px",children:[(0,n.jsxs)(p.Z,{display:"flex",alignItems:"center",children:[(0,n.jsx)(l.Z,{fontSize:16,color:"gray500"}),(0,n.jsx)(h.ZP,{ml:1,color:"neutral6",fontSize:"12px",fontWeight:500,children:A("airdrop_LP_previous_winners_web",{ns:"sheet_AirdropDiamonds",defaultValue:"Winners"})})]}),(0,n.jsx)(h.ZP,{mt:"6px",fontWeight:500,fontSize:"16px",children:(0,w.q1)(r.winnerCount)})]})]}),!o&&(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)(p.Z,{mt:"24px",children:[r.participantStatus!==y.fq.COMPLETE&&(0,n.jsxs)(p.Z,{display:"flex",alignItems:"center",justifyContent:"center",children:[(0,n.jsx)(h.ZP,{mr:1,color:"neutral6",fontSize:"12px",fontWeight:500,children:(0,w.q1)(r.requiredDiamonds)}),(0,n.jsx)(s.Z,{fontSize:16}),r.participantStatus===y.fq.GO_JOIN_AIRDROP&&(0,n.jsx)(h.ZP,{ml:1,color:"neutral6",fontSize:"12px",children:"used"})]}),(0,n.jsx)(u.ZP,{mt:"4px",fullWidth:!0,style:{background:r.participantStatus!==y.fq.GO_JOIN_AIRDROP?"var(--theme-color)":"",color:r.participantStatus!==y.fq.GO_JOIN_AIRDROP?"white":"var(--text-color)",fontSize:"12px"},disabled:i&&r.participantStatus===y.fq.FORBIDDEN,onClick:()=>
1{if(g.ZP.sendEvent({category:"Airdrop",action:"AirdropCalendar_projectclick",json_data:{project_name:r.projectName,airdrop_id:r.airdropId,button_status:N===y.kc.ENDED?"ended":r.participantStatus===y.fq.GO_SPEND_DIAMONDS?"waiting_redeem":r.participantStatus===y.fq.GO_JOIN_AIRDROP?"redeemed":""}}),!i){j({loginModal:"LOGIN",loginContinue:()=>location.reload()});return}window.location.href="/".concat(Z,"/airdropdetail/").concat(I.slug,"/").concat(r.airdropId,"/")},children:r.participantStatus===y.fq.GO_JOIN_AIRDROP?A("airdrop_card_cta2_web",{ns:"sheet_AirdropDiamonds",defaultValue:"Complete tasks now"}):A("airdrop_card_cta_web",{ns:"sheet_AirdropDiamonds",defaultValue:"See details"})})]})})]})}},220746:function(t,e,o){"use strict";o.d(e,{F1:function(){return w},I:function(){return g},Kk:function(){return y},OR:function(){return h},Of:function(){return s},SM:function(){return f},VX:function(){return p},Xl:function(){return l},Z5:function(){return v},ZS:function(){return x},bT:function(){return c},fo:function(){return m},k4:function(){return u},l6:function(){return j},qq:function(){return b},uY:function(){return d}});var n=o(983562),r=o.n(n),i=o(688536),a=o(264523);let l=t=>(0,i.N4)({baseURL:r().env.endpoints.javaApi,method:"post",url:"/asset/v3/loyalty/check-in/",withAuthHeader:!0,data:{platform:"web"},headers:t}).then(t=>{if("0"!==t.data.status.error_code)throw Error(t.data.status.error_message);return t}),s=()=>(0,i.N4)({baseURL:r().env.endpoints.javaApi,method:"post",url:"/asset/v3/loyalty/latest-check-in-logs",withAuthHeader:!0,data:{}}).then(t=>t.data),d=()=>(0,i.N4)({baseURL:r().env.endpoints.javaApi,method:"post",url:"/asset/v3/loyalty/user-point-summary",withAuthHeader:!0,data:{}}).then(t=>t.data),c=function(){let{page:t=1,limit:e=20}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{page:1};return(0,i.N4)({baseURL:r().env.endpoints.javaApi,method:"post",url:"/shop/v3/point/user-point-list",withAuthHeader:!0,data:{start:t-1,limit:e}}).then(t=>t.data)},p=t=>(0,i.N4)({baseURL:r().env.endpoints.javaApi,method:"post",url:"/shop/v3/product/list",withAuthHeader:!0,data:t}).then(t=>{let{data:e}=t.data;return{data:e?{...e,list:e?e.list.filter(t=>t.type!==a.tB["Airdrop Ticket"]):[]}:null}}),u=t=>(0,i.N4)({baseURL:r().env.endpoints.javaApi,method:"post",url:"/shop/v3/product/stock",withAuthHeader:!0,data:t}).then(t=>t.data),h=t=>(0,i.N4)({baseURL:r().env.endpoints.javaApi,method:"post",url:"/shop/v3/order/create-order",withAuthHeader:!0,data:t}).then(function(){let{data:t,status:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{data:{},status:200};return{data:t,status:e}}).catch(t=>{var e;return(null==t?void 0:null===(e=t.message)||void 0===e?void 0:e.includes("503"))?{data:{},status:503}:{data:{}}}),m=t=>(0,i.N4)({baseURL:r().env.endpoints.javaApi,method:"post",url:"/shop/v3/order/input-wallet-address",withAuthHeader:!0,data:t}).then(function(){let{data:t,status:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{data:{},status:200};return{data:t,status:e}}).catch(t=>{var e;return(null==t?void 0:null===(e=t.message)||void 0===e?void 0:e.includes("503"))?{data:{},status:503}:{data:{}}}),f=t=>(0,i.N4)({baseURL:r().env.endpoints.javaApi,method:"post",url:"/shop/v3/order/history",withAuthHeader:!0,data:t}).then(t=>t.data),x=t=>(0,i.N4)({baseURL:r().env.endpoints.javaApi,method:"post",url:"/data-api/v3/task/list",withAuthHeader:!0,data:t}).then(t=>t.data).catch(t=>({data:[]})),g=t=>(0,i.N4)({baseURL:r().env.endpoints.javaApi,method:"post",url:"/asset/task/process",withAuthHeader:!0,data:t}).then(t=>t.data).catch(t=>({data:{}})),w=t=>(0,i.N4)({baseURL:r().env.endpoints.javaApi,method:"post",url:"/asset/task/daily/collect",withAuthHeader:!0,data:t}).then(t=>t.data).catch(t=>{}),v=t=>(0,i.N4)({baseURL:r().env.endpoints.javaApi,method:"post",url:"/shop/v3/order/order-count-daily",withAuthHeader:!0,data:t}).then(t=>t.data).catch(t=>({data:[]})),y=()=>(0,i.N4)({baseURL:r().env.endpoints.javaApi,url:"/user-info/v3/user-info/check-ineligible",method:"post",withAuthHeader:!0,data:{}}).then(t=>{let{data:e}=t;return(null==e?void 0:e.data)||!1}).catch(t=>!1),j=t=>(0,i.N4)({baseURL:r().env.endpoints.javaApi,url:"/data-api/v3/airdrop/rewarded-events/query",method:"post",withAuthHeader:!0,data:t}).then(t=>{var e;let{data:o}=t;return(null==o?void 0:null===(e=o.data)||void 0===e?void 0:e.projects)||[]}).catch(t=>!1),b=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,i.N4)({baseURL:r().env.endpoints.javaApi,url:"/asset/v3/loyalty/query-check-in-log",method:"post",withAuthHeader:!0,data:t}).then(t=>{let{data:e}=t;return e||{data:{extra:[]}}}).catch(t=>({data:{extra:[]}}))}},264523:function(t,e,o){"use strict";var n,r,i,a,l,s;o.d(e,{Kd:function(){return r},MN:function(){return d},Yk:function(){return p},iE:function(){return h},mS:function(){return c},pt:function(){return m},qc:function(){return u},sg:function(){return i},tB:function(){return n}}),(a=n||(n={}))[a.Box=1]="Box",a[a.NFT=2]="NFT",a[a.Coupon=3]="Coupon",a[a.Avatar=4]="Avatar",a[a["Diamonds Lucky Draw"]=5]="Diamonds Lucky Draw",a[a["E-Book"]=6]="E-Book",a[a["Airdrop Ticket"]=7]="Airdrop Ticket",(l=r||(r={}))[l.DAILY=2]="DAILY",l[l.NORMAL=0]="NORMAL";let d=["Date","Price:Low to High","Price:High to Low"],c=["All Rewards","Avatar","Mystery Box","NFT","Coupon","Diamonds Lucky Draw","E-Book"],p={"All Rewards":-1,Avatar:4,"Mystery Box":1,NFT:2,Coupon:3,"Diamonds Lucky Draw":5,"E-Book":6},u="isVerifiedEmail";(s=i||(i={})).DAILY="daily",s.TENDER="tender";let h="4.29.0",m="4.36.0"},509599:function(t,e,o){"use strict";o.r(e),o.d(e,{default:function(){return er}});var n=o(552322),r=o(202784),i=o(815197),a=r.memo(t=>{let{sx:e={},...o}=t;return(0,n.jsx)(i.Z,{sx:e,...o,iconName:"airdropVerified",children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.2157 3.86986L11.8481 2L8.48046 3.86986L4.77701 4.92893L3.71794 8.63239L1.84808 12L3.71794 15.3676L4.77701 19.0711L8.48046 20.1301L11.8481 22L15.2157 20.1301L18.9191 19.0711L19.9782 15.3676L21.8481 12L19.9782 8.63239L18.9191 4.92893L15.2157 3.86986ZM16.6038 9.65493C16.9655 9.23758 16.9204 8.60602 16.503 8.24431C16.0857 7.8826 15.4541 7.92771 15.0924 8.34507L10.6481 13.4731L8.60377 11.1143C8.24206 10.6969 7.6105 10.6518 7.19315 11.0135C6.77579 11.3752 6.73068 12.0068 7.09239 12.4242L9.89239 15.6549C10.0823 15.8741 10.3581 16 10.6481 16C10.9381 16 11.2138 15.8741 11.4038 15.6549L16.6038 9.65493Z",fill:"currentColor"})})}),l=r.memo(t=>{let{sx:e={},...o}=t;return(0,n.jsxs)(i.Z,{sx:e,...o,iconName:"following",children:[(0,n.jsx)("path",{d:"M12 12.8334C14.7073 12.8334 16.9091 10.5908 16.9091 7.83334V7.00001C16.9091 4.2425 14.7073 2 12 2C9.29262 2 7.09089 4.2425 7.09089 7.00001V7.83334C7.09089 10.5908 9.29262 12.8334 12 12.8334Z",fill:"currentColor"}),(0,n.jsx)("path",{d:"M17.9907 15.3175C14.142 14.2317 9.85882 14.2317 6.00927 15.3175C4.23791 15.8175 3 17.47 3 19.3375V21C3 21.5523 3.44772 22 4 22H20C20.5523 22 21 21.5523 21 21V19.3375C21 17.47 19.7621 15.8175 17.9907 15.3175Z",fill:"currentColor"})]})}),s=o(262966),d=o(986656),c=r.memo(t=>{let{sx:e={},...o}=t;return(0,n.jsxs)(i.Z,{sx:e,...o,iconName:"face",children:[(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12ZM12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM9.54439 10.7722C9.54439 11.45 8.99492 11.9995 8.31712 11.9995C7.63931 11.9995 7.08984 11.45 7.08984 10.7722C7.08984 10.0944 7.63931 9.54492 8.31712 9.54492C8.99492 9.54492 9.54439 10.0944 9.54439 10.7722ZM16.9077 10.7722C16.9077 11.45 16.3582 11.9995 15.6804 11.9995C15.0026 11.9995 14.4531 11.45 14.4531 10.7722C14.4531 10.0944 15.0026 9.54492 15.6804 9.54492C16.3582 9.54492 16.9077 10.0944 16.9077 10.7722Z",fill:"currentColor"}),(0,n.jsx)("path",{d:"M8.72656 16.7274C8.72656 15.8594 9.07137 15.027 9.68512 14.4132C10.2989 13.7995 11.1313 13.4547 11.9993 13.4547C12.8673 13.4547 13.6997 13.7995 14.3135 14.4132C14.9272 15.027 15.272 15.8594 15.272 16.7274H8.72656Z",fill:"currentColor"})]})}),p=o(160315),u=o(400752),h=o(300367),m=o(981433),f=o(183214),x=o(70413),g=o(770356),w=o(97729),v=o.n(w),y=o(557730),j=o(411934),b=o(140503),C=o(983562),A=o.n(C),_=o(75197),Z=o(578801),I=o(436456),N=o(338524),L=o(902215),k=o(758968),P=o(557538),D=o(929142),E=o(124799),O=o(325575),S=o(205632),F=o(251400),R=o(724167),M=o(959),T=o(82740),z=o(229581);let G=T.ZP.div.withConfig({componentId:"sc-8748daac-0"})(["position:absolute;width:100%;height:100%;display:flex;justify-content:center;align-items:center;top:0;left:0;background:",";z-index:",";.container{padding:16px 16px;width:340px;display:flex;flex-direction:column;align-items:center;background:var(--control-background-color);border-radius:16px;}"],t=>t.theme.isDay?"rgba(255, 255, 255, 0.8);":"rgba(23, 23, 26, 0.8)",z.W5.MODAL),V="isVerifiedEmail";var q=t=>{let{yourDiamonds:e,payDiamonds:o,openDiamondModal:i,airdropId:a}=t,l=(0,S.useRouter)(),s=(0,r.useRef)(),{t:d}=(0,m.$G)(),{isLoggedIn:c}=(0,j.v$)(),p=(0,u.b9)(j.k_),{invokeLogin:h}=(0,r.useContext)(_.gX),w=()=>
1{if((0,M.fp)(V)){i(),clearTimeout(s.current);return}s.current=setTimeout(()=>{w()},1e3)},v=async()=>{let t=await (0,R.W)();(null==t?void 0:t.needValidateEmail)===!1?((0,M.qQ)(V,!0),i()):(h({action:F.loginModalActionStatus.twoFaVerify}),w())},y=async()=>{if(!c){p({loginModal:"LOGIN",loginContinue:()=>location.reload()});return}(0,M.fp)(V)?i():v()};return(0,r.useEffect)(()=>{e<o&&I.ZP.sendEvent({category:"Airdrop",action:"AirdropDetail_InsufficientDiamond_Popup",json_data:{airdrop_id:a}})},[]),(0,n.jsx)(G,{children:(0,n.jsx)("div",{className:"container",children:e>=o||!c?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(f.Z,{display:"flex",children:(0,n.jsx)(g.ZP,{color:"neutral6",fontWeight:600,children:(0,n.jsx)(m.cC,{ns:"sheet_AirdropDiamonds",i18nKey:"airdrop_card_detail_tool_web",values:{counter:(0,N.q1)(o)},components:{bold:(0,n.jsx)("span",{style:{fontSize:"16px",fontWeight:700}}),diamond:(0,n.jsx)(O.Z,{fontSize:20})},defaults:"This airdrop needs <bold>".concat((0,N.q1)(o),"</bold>  <diamond/>")})})}),(0,n.jsx)(x.KM,{mt:2,onClick:y,fullWidth:!0,children:d("airdrop_card_detail_toolcta_web",{ns:"sheet_AirdropDiamonds",defaultValue:"Participate now"})})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("img",{src:(0,L.pZ)("/static/cloud/img/loyalty-program/sad-face.svg")}),(0,n.jsx)(g.ZP,{mt:"20px",color:"text-color",fontWeight:700,fontSize:"16px",children:"Not enough diamonds"}),(0,n.jsx)(g.ZP,{mt:"8px",color:"neutral6",fontWeight:500,children:"To earn more diamonds, go to My Diamonds."}),(0,n.jsxs)(f.Z,{mt:"14px",style:{width:"100%"},display:"flex",justifyContent:"space-between",alignItems:"center",children:[(0,n.jsx)(g.ZP,{color:"neutral6",fontWeight:600,fontSize:"14px",children:"Diamonds required"}),(0,n.jsxs)(f.Z,{display:"flex",alignItems:"center",children:[(0,n.jsx)(O.Z,{fontSize:20}),(0,n.jsx)(g.ZP,{ml:2,fontWeight:700,fontSize:"16px",children:(0,N.q1)(o)})]})]}),(0,n.jsxs)(f.Z,{mt:"10px",style:{width:"100%"},display:"flex",justifyContent:"space-between",alignItems:"center",children:[(0,n.jsx)(g.ZP,{color:"neutral6",fontWeight:600,fontSize:"14px",children:"You have"}),(0,n.jsxs)(f.Z,{display:"flex",alignItems:"center",children:[(0,n.jsx)(O.Z,{fontSize:20}),(0,n.jsx)(g.ZP,{ml:2,fontWeight:700,fontSize:"16px",children:(0,N.q1)(e)})]})]}),(0,n.jsx)(x.KM,{fullWidth:!0,mt:"24px",onClick:()=>{I.ZP.sendEvent({category:"Airdrop",action:"AirdropDetail_InsufficientDiamond_ClickEarnButton"}),l.push("/account/my-diamonds/")},children:"Earn diamonds"})]})})})},W=o(549948),H=o(294184),U=o.n(H),B=o(64556),K=o(958850),X=o(105327),Y=o(967701),J=o(632517),$=o(893783),Q=o(24300),tt=o(911513),te=o(628439),to=o(47426),tn=o(788687),tr=o(242565),ti=o(368024),ta=o(879743),tl=o(810458),ts=o(372296),td=o(496664),tc=o(338789),tp=o(58395);let tu=T.ZP.div.withConfig({componentId:"sc-e3926842-0"})(["*{font-size:14px;}.small{font-size:12px;color:var(--text-color-sub);}"]),th=T.ZP.div.withConfig({componentId:"sc-e3926842-1"})(["display:flex;justify-content:space-between;margin-bottom:8px;& > div{&:nth-child(1){font-weight:500;font-size:12px;color:var(--text-color-sub-1);}&:nth-child(2){display:flex;align-items:center;font-weight:500;font-size:12px;color:var(--theme-color);cursor:pointer;}}.spin{animation:"," 1s linear 0s infinite paused;&.played{animation-play-state:running;}}"],tp.m),tm=T.ZP.div.withConfig({componentId:"sc-e3926842-2"})(["& > span{font-size:14px;font-weight:500;margin-right:1em;word-break:break-word;}display:flex;justify-content:space-between;align-items:",";border-bottom:",";padding-bottom:",";margin-top:",";button{white-space:nowrap;margin-left:0.5em;}","{align-items:flex-start;& > span{align-self:center;}}"],t=>{let{agreement:e}=t;return e?"flex-start":"center"},t=>{let{agreement:e}=t;return e?"none":"1px solid var(--border-color)"},t=>{let{agreement:e}=t;return e?"none":"20px"},t=>{let{agreement:e}=t;return e?"32px":"8px"},td[tc.mqMd].down),tf=T.ZP.div.withConfig({componentId:"sc-e3926842-3"})(["margin:24px auto 16px;> p{font-size:12px;font-weight:600;margin:4px auto;}"]),tx=T.ZP.div.withConfig({componentId:"sc-e3926842-4"})(["margin-top 56px;display:flex;justify-content:center;align-items:center;"]),tg=T.ZP.div.withConfig({componentId:"sc-e3926842-5"})(["& > div{font-weight:500;font-size:14px;color:var(--color-primary-black);}& > span{font-weight:500;font-size:12px;color:var(--text-color-sub-1);}"]),tw=T.ZP.div.withConfig({componentId:"sc-e3926842-6"})(["& .rc-tooltip-arrow{border-bottom-color:var(--color-primary-white) !important;}& .rc-tooltip{opacity:1 !important;}"]),tv=T.ZP.div.withConfig({componentId:"sc-e3926842-7"})(["& > div{&:nth-child(1){font-weight:600;font-size:14px;color:var(--color-primary-black);}&:nth-child(2){font-weight:500;font-size:12px;color:var(--text-color-sub-1);}}img{width:268px;height:268px;margin-top:16px;min-height:268px;}"]),ty=t=>"60e41c30b6191c3c4abe4c70"===t.airdropId?"Maiar App @herotag":"Enter your ".concat(t.rewardPlatform," wallet address"),tj=t=>{let{title:e,placeholder:o,value:r,error:i,setter:a,options:l=[],extra:s=null}=t;return(0,n.jsxs)(tf,{children:[(0,n.jsx)("p",{children:e}),(0,n.jsx)(J.Z,{placeholder:o,value:r,error:!!i,onChange:t=>a(t),searchFilter:function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return(t=t.toLowerCase()).includes(e)||t.includes(e.toLowerCase())},options:l,autoFocus:!1}),(0,n.jsx)(ti.j,{error:i}),s]})},tb=t=>{let{href:e,children:o,style:r={}}=t;return(0,n.jsx)("a",{href:e,target:"_blank",rel:"noreferrer",style:{color:"#fff",...r},children:o})},tC=t=>{let{success:e,children:o,...r}=t;return(0,n.jsx)(x.KM,{style:{backgroundColor:e?"#16C784":void 0,color:"#fff",padding:"5px 8px"},...r,size:"sm",children:o})},tA={agreement:t=>({validator:t=>t,message:t("Kindly agree to all our user agreements above to continue",{ns:"Airdrops"})})},t_=t=>{let{item:e,t:o,socialName:r,followLoading:i,onClickFollowGravity:a,currentGuid:l,name:s,getFollowGravityStatus:d}=t,{gravityUserId:c,gravityName:p,isFollow:u}=e,{language:h}=(0,Z.qL)(),m="/community/".concat(h,"/profile/").concat(p,"/");return p?p.split(",").map(t=>(0,n.jsxs)(tm,{children:[(0,n.jsx)("span",{children:o("quest_detail_task_community_follow_title",{ns:"sheet_AirdropDiamonds",defaultValue:"Follow @{{Username}} on Community",Username:t})}),(0,n.jsx)("div",{children:(0,n.jsx)(tC,{onClick:()=>window.open("".concat(m)),loading:i&&l===c,success:u,children:u?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(X.Z,{style:{width:"1.3em"}}),"\xa0",o("Done")]}):(0,n.jsx)(n.Fragment,{children:o("follow_at_username",{ns:"sheet_AirdropDiamonds",defaultValue:"Follow @{{Username}}",Username:t})})})})]},t)):null},tZ=t=>{let{t:e}=t;return(0,n.jsxs)(tv,{children:[(0,n.jsx)("div",{children:e("Scan QR code to download")}),(0,n.jsx)("div",{children:e("Available in App Store and Google Play")}),(0,n.jsx)("img",{src:(0,tr.ZP)("/cloud/img/qrcode.png")})]})},tI=t=>{let{t:e,form:o,linkPage:r}=t,i=(0,to.ZP)(),a=(0,n.jsx)(tw,{id:"qrcodeBtn",onClick:()=>{i&&!o.hasDownloadApp&&(window.location.href="".concat(location.origin).concat(r.href))},children:(0,n.jsx)(tC,{success:o.hasDownloadApp,children:o.hasDownloadApp?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(X.Z,{style:{width:"1.3em"}}),"\xa0",e("Done")]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("img",{src:(0,tr.ZP)("/cloud/img/icon/smartphone.svg")}),"\xa0",e("Download app")]})})});return i?a:(0,n.jsx)($.default,{placement:"bottomRight",overlayStyle:{zIndex:9999},overlayInnerStyle:{backgroundColor:"var(--bg-color)",padding:"25px 24px"},trigger:"click",content:(0,n.jsx)(tZ,{t:e}),getTooltipContainer:()=>document.querySelector("#qrcodeBtn"),children:a})},tN=t=>{let{t:e,form:o,getDownloadAppStatus:r}=t,i=(0,te.ZP)({url:"/link/"});return(0,n.jsxs)(tm,{children:[(0,n.jsxs)(tg,{children:[(0,n.jsx)("div",{children:e("Get the CoinMarketCap app and turn on notifications")}),(0,n.jsx)("span",{children:e("Log in using your CMC account to let us know it’s you")})]}),(0,n.jsx)("div",{style:{display:"flex",alignItems:"center"},children:(0,n.jsx)(tI,{linkPage:i,t:e,form:o})})]})};var tL=(0,ta.Z)(t=>{let{cryptoAirdropInfo:e,onSuccess:o}=t,{airdropInfo:i,currencyTagDTO:a}=e||{},{requirements:l,followGravityInfo:s}=i||{},{name:d,cryptoId:c}=a||{};if(!l)return null;let[p,u]=(0,r.useState)(!1),[h,f]=(0,r.useState)(!1),[w,v]=(0,r.useState)(!1),[b,C]=(0,r.useState)(!1),[A,Z]=(0,r.useState)(),{invokeLogin:N}=(0,r.useContext)(_.gX),{isIdInWatchlist:L}=(0,r.useContext)(ta.r),k=(0,W.useDispatch)(),{isLoggedIn:P}=(0,j.v$)(),{t:D}=(0,m.$G)(),E=(0,r.useMemo)(()=>({watchlist:l.needFollowWatchlist?[{validator:t=>
1t,message:D("Add to watchlist to continue")}]:[],hasFollowGravity:[{validator:t=>t,message:D("Follow on Community to continue")}],walletAddress:[{required:!0,message:D("Enter address to continue",{ns:"Airdrops"})}],userPlatformEmail:l.needUserPlatformEmail?[{required:!0,message:D("Enter address to continue",{ns:"Airdrops"})},{type:"email",message:D("Email format error!")}]:[],hasDownloadApp:l.needDownloadApp?[{validator:t=>t,message:D("Please Download APP!")}]:[],agreement1:[tA.agreement(D)],agreement2:[tA.agreement(D)],agreement3:[tA.agreement(D)],agreement4:[tA.agreement(D)]}),[D]),O=L(c),{form:S,setFields:R,validate:T,errors:z}=(0,ti.Z)({watchlist:!1,hasFollowGravity:!1,hasDownloadApp:!1,walletAddress:"",userPlatformEmail:"",agreement1:!1,agreement2:!1,agreement3:!1,agreement4:!1},E);(0,r.useEffect)(()=>{O&&R({watchlist:!0})},[O]),(0,r.useEffect)(()=>{P&&q()},[]),(0,r.useEffect)(()=>{(0,tn.gd)()},[]);let G=()=>{N({action:F.loginModalActionStatus.twoFaVerify})},V=async()=>{R({hasDownloadApp:await (0,y.kw)()})},q=async()=>await Promise.all([H(),V()]),H=async()=>{try{let t=s.map(t=>t.gravityUserId),e=await (0,y.CF)({guIds:t});s.map(t=>(t.isFollow=!!e[t.gravityUserId],!!e[t.gravityUserId])).includes(!1)?R({hasFollowGravity:!1}):R({hasFollowGravity:!0})}catch(t){}},J=async t=>{f(!0),Z(t),await (0,y.KM)({guid:t}),await H(),f(!1)},$=(0,r.useMemo)(()=>({email:(0,B.Z)((0,M.fp)("airdrop:form:email"))||[],wallet:(0,B.Z)((0,M.fp)("airdrop:form:wallet"))||[]}),[]),te=(t,e)=>{let{userPlatformEmail:o,walletAddress:n}=t;o&&!e.email.includes(o)&&(0,M.qQ)("airdrop:form:email",[o,...e.email].slice(0,3)),n&&!e.wallet.includes(n)&&(0,M.qQ)("airdrop:form:wallet",[n,...e.wallet].slice(0,3))},to=async()=>{C(!0),await q(),C(!1)};return(0,n.jsxs)(tu,{children:[(0,n.jsxs)(th,{children:[(0,n.jsx)(g.ZP,{fontSize:"16px",fontWeight:600,children:D("Requirements")}),(0,n.jsxs)("div",{onClick:to,children:[(0,n.jsx)(tt.Du,{style:{cursor:"pointer"},width:12,height:12,color:"var(--theme-color)",className:U()({spin:!0,played:b})}),(0,n.jsx)("span",{style:{marginLeft:"6px"},children:D("Refresh")})]})]}),l.needFollowWatchlist&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(tm,{children:[(0,n.jsxs)("span",{children:["Add ",d," to your watchlist"]}),(0,n.jsx)(tC,{onClick:()=>{O||(u(!0),k((0,K.subscribeWatchList)("SUBSCRIBE","CRYPTO",c,void 0,()=>{u(!1),R({watchlist:!0})})))},loading:p,success:O,children:O?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(X.Z,{style:{width:"1.3em"}}),"\xa0",D("Done")]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(Y.Z,{style:{width:"1.3em"}}),"\xa0",D("Add to watchlist")]})})]}),(0,n.jsx)(ti.j,{error:z.watchlist})]}),s.map((t,e)=>(0,n.jsxs)("div",{children:[t_({item:t,t:D,name:d,socialName:"Community",onClickFollowGravity:J,followLoading:h,currentGuid:A,getFollowGravityStatus:H}),!t.isFollow&&(0,n.jsx)(ti.j,{error:z.hasFollowGravity})]},e)),l.needDownloadApp&&(0,n.jsxs)("div",{children:[tN({t:D,form:S,getDownloadAppStatus:V}),!S.hasDownloadApp&&(0,n.jsx)(ti.j,{error:z.hasDownloadApp})]}),l.needUserPlatformEmail&&(0,n.jsx)(tj,{title:"Email address used on ".concat(i.partnerName,"’s platform"),placeholder:D("Enter your email address")+"...",value:S.userPlatformEmail,error:z.userPlatformEmail,setter:t=>R({userPlatformEmail:t}),options:$.email,extra:l.partnerLink?(0,n.jsxs)("p",{className:"small",children:["In case you don’t have an account on ".concat(i.partnerName,"'s platform"),", ",(0,n.jsx)(tb,{href:l.partnerLink,style:{fontSize:12,color:"var(--theme-color)"},children:D("create one here")})]}):null}),(0,n.jsx)(tj,{title:"".concat(ty(i)),placeholder:"",value:S.walletAddress,error:z.walletAddress,setter:t=>R({walletAddress:t}),options:$.wallet}),(0,n.jsxs)(tm,{agreement:!0,children:[(0,n.jsxs)("span",{children:["I hereby authorize CoinMarketCap to share pertinent details with the respective third-party platform for the purpose of selecting the winners from its pool of eligible users. ",i.partnerName," platform will then cross-reference my (i)"," ",i.rewardPlatform+" "," wallet address and (ii) email address against its database of users who comply with the (i) contest requirements and (ii) platform's policies."]}),(0,n.jsx)(ts.Z,{id:"3",handleToggle:t=>R({agreement1:t}),on:S.agreement1})]}),(0,n.jsx)(ti.j,{error:z.agreement1}),(0,n.jsxs)(tm,{agreement:!0,children:[(0,n.jsx)("span",{children:"I understand and acknowledge that fulfilling the aforementioned conditions DOES NOT guarantee success as the winners will be determined solely by the airdrop partner according to their selection criteria."}),(0,n.jsx)(ts.Z,{id:"4",handleToggle:t=>R({agreement2:t}),on:S.agreement2})]}),(0,n.jsx)(ti.j,{error:z.agreement2}),(0,n.jsxs)(tm,{agreement:!0,children:[(0,n.jsx)("span",{children:"I will contact the airdrop partner directly if I have any queries about the results or distribution."}),(0,n.jsx)(ts.Z,{id:"5",handleToggle:t=>R({agreement3:t}),on:S.agreement3})]}),(0,n.jsx)(ti.j,{error:z.agreement3}),(0,n.jsxs)(tm,{agreement:!0,children:[(0,n.jsxs)("span",{children:["I have reviewed these"," ",(0,n.jsx)(tl.Z,{href:"https://tinyurl.com/56ah7zsy",children:"cybersecurity best practices"})," ","and will take the necessary precautions to safeguard myself against malicious actors."]}),(0,n.jsx)(ts.Z,{id:"6",handleToggle:t=>R({agreement4:t}),on:S.agreement4})]}),(0,n.jsx)(ti.j,{error:z.agreement4}),(0,n.jsx)(tx,{children:(0,n.jsx)(x.KM,{onClick:()=>{let t=T();if(!t.isValid)return console.log(t);I.ZP.sendEvent({category:"Airdrop",action:"AirdropDetail_ClickSubmitTasks",json_data:{airdrop_id:i.airdropId}});let{form:e}=t;Promise.resolve().then(()=>(v(!0),(0,y.pN)({airdropId:i.airdropId,agreeType:3,requirements:{walletId:c,walletAddress:e.walletAddress,hasAddWatchList:!0,hasFollowGravity:!0,userPlatformEmail:e.userPlatformEmail}}))).then(t=>{if(t.status&&"3600"===t.status.error_code){G();return}o(),te(e,$)}).catch(t=>{(0,Q.v)({title:t.message,type:"error"})}).finally(()=>v(!1))},loading:w,disabled:w,"data-test":"airdrop-form-submit",style:{width:"256px"},children:D("Submit")})})]})});let tk=(0,T.ZP)(f.Z).withConfig({componentId:"sc-7da0c687-0"})(["position:relative;"]);var tP=t=>{let{cryptoAirdropInfo:e,onSuccess:o,enabled:r,yourDiamonds:i,payDiamonds:a,openDiamondModal:l}=t,{airdropInfo:s}=e||{};return(0,n.jsxs)(tk,{children:[(0,n.jsx)(tL,{cryptoAirdropInfo:e,onSuccess:o}),(0,n.jsx)(E.Z,{}),!r&&(0,n.jsx)(q,{payDiamonds:a,yourDiamonds:i,openDiamondModal:l,airdropId:s.airdropId})]})},tD=o(483567),tE=o(237581);let tO=T.ZP.div.withConfig({componentId:"sc-ba8f6752-0"})(["margin-top:24px;display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));grid-gap:32px;"]);var tS=t=>{let{currentAirdropId:e}=t,[o,i]=(0,r.useState)(!0),[a,l]=(0,r.useState)([]),{isLoggedIn:s}=(0,j.v$)();(0,r.useEffect)(()=>{d(1,9999)},[s]);let d=async(t,o)=>{i(!0);let n=await (0,tE._1)(t,o,"ongoing");i(!1),l(n.data.projects.filter(t=>t.airdropId!==e&&t.participantStatus!==D.fq.COMPLETE).slice(0,4))};return(0,n.jsx)(n.Fragment,{children:o?(0,n.jsx)(b.Z,{size:"md"}):(0,n.jsx)(n.Fragment,{children:a.length>0&&(0,n.jsxs)(f.Z,{children:[(0,n.jsxs)(f.Z,{display:"flex",justifyContent:"space-between",children:[(0,n.jsx)(g.ZP,{fontWeight:600,fontSize:"16px",children:"Other Airdrops"}),(0,n.jsx)("a",{href:"/airdrop",children:"See all Airdrops"})]}),(0,n.jsx)(tO,{children:a.map(t=>(0,n.jsx)(f.Z,{children:(0,n.jsx)(tD.Z,{cardType:D.eT.LARGE,item:t})},t.airdropId))})]})})})},tF=o(508743);let tR=(0,T.ZP)(f.Z).withConfig({componentId:"sc-6f9ee104-0"})(["padding:30px 0px;display:flex;flex-direction:column;align-items:center;"]);var tM=t=>{let{open:e,onClose:o}=t,r=(0,S.useRouter)(),{t:i}=(0,m.$G)();return(0,n.jsx)(tF.ZP,{style:{width:496},open:e,onClose:()=>o(),hideFooter:!0,"data-test":"airdrop-join-modal",children:(0,n.jsxs)(tR,{children:[(0,n.jsx)("img",{src:(0,L.pZ)("/static/cloud/img/loyalty-program/congrats.jpg"),style:{width:"218px",height:"218px"}}),(0,n.jsx)(g.ZP,{textAlign:"center",color:"text-color",fontWeight:700,fontSize:"24px",children:i("airdrop_card_detail_taskjoin_web",{ns:"sheet_AirdropDiamonds",defaultValue:"Woohoo! You’ve joined the airdrop!"})}),(0,n.jsx)(g.ZP,{mt:"8px",textAlign:"center",color:"neutral6",fontWeight:500,children:(0,n.jsx)(m.cC,{ns:"sheet_AirdropDiamonds",i18nKey:"airdrop_card_detail_taskjoin_desc_web",components:{a:(0,n.jsx)("a",{href:"/airdrop/participated/"})},defaults:"Check your results when the airdrop is open for redemption, and view the airdrops you joined under the “Participated airdrops” tab on the <a>Airdrops</a> page."})}),(0,n.jsx)(x.KM,{mt:"32px",fullWidth:!0,onClick:()=>r.reload(),children:i("airdrop_card_detail_taskjoincta1_web",{ns:"sheet_AirdropDiamonds",defaultValue:"See details"})}),(0,n.jsx)(x.KM,{mt:"16px",fullWidth:!0,style:{background:"#EFF2F5",color:"#000000"},onClick:()=>r.push("/airdrop"),children:i("airdrop_card_detail_taskjoincta2_web",{ns:"sheet_AirdropDiamonds",defaultValue:"Check out other airdrops"})})]})})},tT=o(220746);let tz=(0,T.ZP)(f.Z).withConfig({componentId:"sc-17d50b46-0"})(["padding:30px 0px;display:flex;flex-direction:column;align-items:center;"]),tG=(0,T.ZP)(f.Z).withConfig({componentId:"sc-17d50b46-1"})(["padding:10px 10px;background:#eff2f5;border-radius:72px;"]);var tV=t=>{let{open:e,onClose:o,productInfo:i,fetchAirdropDetail:a}=t,[l,s]=(0,r.useState)(!1),{invokeLogin:d}=(0,r.useContext)(_.gX),{t:c}=(0,m.$G)();return(0,n.jsx)(tF.ZP,{style:{width:496},open:e,onClose:()=>o(),hideFooter:!0,"data-test":"airdrop-diamond-modal",children:(0,n.jsxs)(tz,{children:[(0,n.jsx)(tG,{children:(0,n.jsx)(O.Z,{fontSize:104})}),(0,n.jsx)(g.ZP,{mt:"32px",textAlign:"center",color:"text-color",fontWeight:700,fontSize:"24px",children:(0,n.jsx)(m.cC,{ns:"sheet_AirdropDiamonds",i18nKey:"airdrop_card_detail_confirm_web",values:{counter:i.price},defaults:"Use ".concat(i.price," diamonds on this airdrop?")})}),(0,n.jsx)(g.ZP,{mt:"8px",color:"neutral6",fontWeight:500,children:c("airdrop_card_detail_confirm2_web",{ns:"sheet_AirdropDiamonds",defaultValue:"Once confirmed, this amount cannot be refunded to your account."})}),(0,n.jsx)(x.KM,{mt:"32px",fullWidth:!0,onClick:async()=>{s(!0),I.ZP.sendEvent({category:"Airdrop",action:"AirdropDetail_ClickSpendDiamonds",json_data:{diamonds_price:i.price}}),(0,tT.OR)({amount:1,productId:i.productId,productType:i.type}).then(t=>{let{data:e,status:n}=t;503===n?(0,Q.v)({title:"Please do not submit more than twice within a minute",type:"error"}):(null==e?void 0:e.status.error_code)==="3600"?d({action:F.loginModalActionStatus.twoFaVerify}):(null==e?void 0:e.data)&&e.data.productId&&(o(),a())}).catch(t=>{console.warn(t)}).finally(()=>{s(!1)})},disabled:l,children:c("airdrop_card_detail_confirmcta_web",{ns:"sheet_AirdropDiamonds",defaultValue:"Join airdrop"})}),(0,n.jsx)(x.KM,{mt:"16px",fullWidth:!0,style:{background:"#EFF2F5",color:"#000000"},onClick:()=>o(),disabled:l,children:c("Cancel",{ns:"Airdrops"})})]})})};let tq=T.ZP.div.withConfig({componentId:"sc-36620cb6-0"})([""," p,ul,li,ol{color:var(--color-light-neutral-6);font-size:14px;line-height:1.8;","{font-size:12px;}}div,h1,h2,h3,p{color:var(--color-light-neutral-6);}a{color:var(--color-primary-blue) !important;}li{margin-bottom:6px;}"],t=>{let{closed:e}=t;return e?'\n    max-height: 250px;\n    overflow: hidden;\n    position: relative;\n    &:before {\n      content: "";\n      position: absolute;\n      left: 0px;\n      bottom: 0px;\n      width: 100%;\n      height: 8em;\n    }\n  ':""},td[tc.mqMd].down),tW=(0,T.ZP)(f.Z).withConfig({componentId:"sc-36620cb6-1"})(["display:flex;justify-content:center;"]),tH=T.ZP.div.withConfig({componentId:"sc-36620cb6-2"})(["margin-top:24px;background-color:var(--color-light-neutral-2);color:var(--color-primary-black);font-size:14px;font-weight:600;line-height:24px;display:flex;align-items:center;justify-content:center;outline:none;cursor:pointer;width:170px;height:40px;border-radius:8px;border-color:transparent;","{width:80px;height:32px;}"],td[tc.mqSm].down);function tU(t){let{t:e,children:o}=t,[i,a]=(0,r.useState)(!1),[l,s]=(0,r.useState)(!1),d=(0,r.useRef)(null);(0,r.useEffect)(()=>
1{if(c(d.current)){a(!0);return}a(!1)},[i]);let c=t=>!!t&&(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth);return(0,to.vP)()?(0,n.jsxs)(f.Z,{children:[(0,n.jsx)(tq,{closed:!l,ref:d,children:o}),i&&(l?(0,n.jsx)(tW,{children:(0,n.jsx)(tH,{onClick:()=>s(!1),children:e("Hide")})}):(0,n.jsx)(tW,{children:(0,n.jsx)(tH,{onClick:()=>s(!0),children:e("View more")})}))]}):(0,n.jsx)(n.Fragment,{children:o})}let tB=(0,T.ZP)(f.Z).withConfig({componentId:"sc-62053a10-0"})(["display:flex;"]),tK=(0,T.ZP)(f.Z).withConfig({componentId:"sc-62053a10-1"})(["margin-right:12px;display:flex;align-items:center;"]),tX=T.ZP.div.withConfig({componentId:"sc-62053a10-2"})(["font-size:20px;font-weight:700;"]),tY=T.ZP.div.withConfig({componentId:"sc-62053a10-3"})(["margin-left:4px;font-size:11px;font-weight:400;color:",";"],t=>t.theme.isDay?"#313544":"#EFF2F5");class tJ extends r.PureComponent{componentDidMount(){this.t=setInterval(this.count,1e3)}componentWillUnmount(){clearInterval(this.t)}render(){let{cd:t}=this.state,{t:e}=this.props,o=parseInt(t/86400,10),r=86400*o,i=parseInt((t-r)/3600,10),a=3600*i,l=parseInt((t-r-a)/60,10),s=parseInt(t-r-a-60*l,10);return(0,n.jsxs)(tB,{children:[(0,n.jsxs)(tK,{children:[(0,n.jsx)(tX,{children:o}),(0,n.jsx)(tY,{children:e("days",{ns:"Airdrops"})})]}),(0,n.jsxs)(tK,{children:[(0,n.jsx)(tX,{children:i}),(0,n.jsx)(tY,{children:e("hours",{ns:"Airdrops"})})]}),(0,n.jsxs)(tK,{children:[(0,n.jsx)(tX,{children:l}),(0,n.jsx)(tY,{children:e("minutes",{ns:"Airdrops"})})]}),(0,n.jsxs)(tK,{children:[(0,n.jsx)(tX,{children:s}),(0,n.jsx)(tY,{children:e("seconds",{ns:"Airdrops"})})]})]})}constructor(t){super(t),this.count=()=>{this.state.cd&&this.setState({cd:this.state.cd-1})},this.state={cd:parseInt(t.seconds,10)}}}var t$=o(688536);let tQ=(t,e,o)=>(0,t$.zh)({baseURL:"".concat(A().env.endpoints.javaApi,"/gravity"),method:"post",url:"/v3/gravity/follow",data:{guid:t,following:e,selfGuid:o}}).then(t=>t.data),t0=async t=>(0,t$.N4)({baseURL:"".concat(A().env.endpoints.javaApi),method:"post",url:"/data-api/v3/airdrop/detail",data:{airdropId:t},withAuthHeader:!0}).then(t=>t.data),t1={ONGOING:"ONGOING",ENDED:"ENDED"};var t2=o(761192);let t4=(0,T.ZP)(f.Z).withConfig({componentId:"sc-27cac024-0"})(["display:flex;flex-direction:row;","{flex-direction:column;}"],td[tc.mqLg].down),t6=(0,T.ZP)(f.Z).withConfig({componentId:"sc-27cac024-1"})(["padding-top:48px;width:408px;","{width:100%;}"],td[tc.mqLg].down),t5=(0,T.ZP)(f.Z).withConfig({componentId:"sc-27cac024-2"})(["margin-top:56px;display:flex;@media (max-width:","px){justify-content:center;}"],t2.AV.LARGE_MIN),t9=(0,T.ZP)(f.Z).withConfig({componentId:"sc-27cac024-3"})(["width:100%;display:flex;justify-content:space-between;align-items:center;@media (max-width:","px){width:408px;}@media (max-width:375px){width:100%;}"],t2.AV.LARGE_MIN),t7=(0,T.ZP)(f.Z).withConfig({componentId:"sc-27cac024-4"})(["flex:1;padding-top:48px;padding-bottom:48px;padding-left:88px;","{padding-left:0px;}"],td[tc.mqLg].down),t3=(0,T.ZP)(f.Z).withConfig({componentId:"sc-27cac024-5"})(["display:flex;alignitems:center;@media (max-width:","px){max-width:200px;}"],t2.AV.XSMALL_MIN),t8=T.ZP.div.withConfig({componentId:"sc-27cac024-6"})(["background:",";width:fit-content;color:",";border-radius:40px;font-size:11px;padding:2px 12px;font-weight:600;display:flex;align-items:center;"],t=>t.status===t1.ONGOING?"#defbf0":"#EFF2F5",t=>t.status===t1.ONGOING?"#16c784":"#808A9D"),et=T.ZP.div.withConfig({componentId:"sc-27cac024-7"})(["margin-right:4px;background:#16c784;width:8px;height:8px;border-radius:5px;"]),ee=(0,T.ZP)(f.Z).withConfig({componentId:"sc-27cac024-8"})(["margin-top:48px;padding:21px 21px;background:",";height:145px;"],t=>t.theme.isDay?"#f8fafd":"#222531"),eo=T.ZP.div.withConfig({componentId:"sc-27cac024-9"})(["margin-top:36px;margin-bottom:24px;height:1px;background-color:",";"],t=>t.theme.isDay?"#EFF2F5":"#323546"),en=t=>{let{airdropId:e}=t,[o,i]=(0,r.useState)(!0),[h,w]=(0,r.useState)({}),{userPoint:C={point:0,accumulatedPoints:0},productInfo:A={name:"",description:"",price:0,imageUrl:"",saleStartTime:0,saleEndTime:0,eventName:"",winnerCounts:0,eventTotalPrize:0},cryptoAirdropInfo:k={airdropInfo:{airdropId:null,name:"",partnerName:"",totalPrize:null,winnerCounts:null,rewardPlatform:"",requirements:{partnerLink:"",needFollowWatchlist:!0,needFollowGravity:!0,needDownloadApp:!1,needUserPlatformEmail:!1,telegramLink:"",followTwitterLink:"",followFacebookLink:"",followYoutubeLink:[],retweetLink:""},followGravityInfo:[],status:null,awardingStatus:null,cryptoCurrency:{slug:"",name:"",cryptoId:null,
1symbol:""}},currencyTagDTO:{slug:"",name:"",cryptoId:null,symbol:""}},gravityAccount:E={handle:"",followers:0,hasFollowed:!1,guid:null},participantStatus:O={}}=h||{},{airdropInfo:S,currencyTagDTO:F}=k,[R,M]=(0,r.useState)(!1),[T,z]=(0,r.useState)(!1),[G,V]=(0,r.useState)(!1),[q,W]=(0,r.useState)(!1),[H,U]=(0,r.useState)(null),{t:B}=(0,m.$G)(),K=(null==S?void 0:S.participationStartTime)?(S.participationEndTime-Date.now())/1e3:0,{userInfo:X}=(0,r.useContext)(_.gX),{isLoggedIn:Y}=(0,j.v$)(),J=(0,u.b9)(j.k_),{language:$}=(0,Z.qL)();(0,r.useEffect)(()=>{I.ZP.sendEvent({category:"Airdrop",action:"Airdrop_Campaigns_DetailPage"})},[]),(0,r.useEffect)(()=>{Q()},[Y]);let Q=async()=>{i(!0);try{await tt(),await te()}catch(t){}finally{i(!1)}},tt=async()=>{var t,o,n,r;let i=await t0(e);Y&&(null===(o=i.data)||void 0===o?void 0:null===(t=o.gravityAccount)||void 0===t?void 0:t.guid)&&await to(null===(r=i.data)||void 0===r?void 0:null===(n=r.gravityAccount)||void 0===n?void 0:n.guid),w(i.data)},te=async()=>{var t;U(null===(t=(await (0,y.z1)({airdropIds:[e]}))[0])||void 0===t?void 0:t.participationStatus)},to=async t=>{let e=await (0,y.CF)({guIds:[t]});V(null==e?void 0:e[t])};async function tn(){if(!Y){J({loginModal:"LOGIN",loginContinue:()=>location.reload()});return}G||I.ZP.sendEvent({category:"Airdrop",action:"AirdropDetail_ClickFollow",json_data:{project_name:A.name}}),(await tQ(E.guid,!G,X.guid)).data.success&&V(!G)}return(0,n.jsxs)(P.Z,{children:[(0,n.jsxs)(v(),{children:[(0,n.jsx)("title",{children:"Airdrop Detail"},"title"),(0,n.jsx)("meta",{name:"description",content:"Airdrop Detail"},"meta:description")]}),o?(0,n.jsx)(b.Z,{size:"lg"}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(t4,{children:[(0,n.jsxs)(t6,{children:[(0,n.jsxs)(f.Z,{display:"flex",flexDirection:"column",alignItems:"center",children:[(0,n.jsx)("img",{src:A.imageUrl,style:{width:"96px",height:"96px",borderRadius:"8px"}}),(0,n.jsx)(g.ZP,{mt:"20px",color:"textColor",fontWeight:"700",fontSize:"20px",children:A.eventName})]}),(0,n.jsx)(t5,{children:(0,n.jsxs)(t9,{children:[(0,n.jsxs)(f.Z,{display:"flex",alignItems:"center",children:[(0,n.jsx)("img",{src:F.cryptoId?"".concat((0,L.pt)("/static/img/coins/64x64/".concat(F.cryptoId,".png"))):"",height:"36",width:"36"}),(0,n.jsxs)(f.Z,{ml:"8px",children:[(0,n.jsxs)(t3,{children:[(0,n.jsx)(g.ZP,{mr:"8px",color:"textColor",fontWeight:"500",style:{cursor:"pointer",whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden"},onClick:()=>window.open("".concat(location.origin,"/community/").concat($,"/profile/").concat(E.handle)),children:A.name}),(0,n.jsx)(a,{fontSize:20,style:{color:"#3861FB"}})]}),(0,n.jsx)(g.ZP,{color:"neutral6",fontSize:"12px",children:(0,n.jsx)(m.cC,{ns:"sheet_AirdropDiamonds",i18nKey:"airdrop_card_detailinfo_web",values:{counter:E.followers},defaults:"".concat(E.followers," followers")})})]})]}),G?(0,n.jsx)(x.ZP,{size:"sm",style:{background:"#FFFFFF",color:"#616E85",border:"1px solid #CFD6E4"},onClick:tn,onMouseEnter:()=>{W(!0)},onMouseLeave:()=>{W(!1)},children:(0,n.jsxs)(f.Z,{display:"flex",alignItems:"center",children:[!q&&(0,n.jsx)(l,{fontSize:20,style:{color:"#616E85"}}),(0,n.jsx)(g.ZP,{ml:"4px",color:"#616E85",children:B(q?"Unfollow":"Following",{ns:"Airdrops"})})]})}):(0,n.jsxs)(x.ZP,{size:"sm",style:{background:"var(--theme-color)",color:"white"},onClick:tn,children:["+ ",B("Follow",{ns:"Airdrops"})]})]})}),(0,n.jsx)(g.ZP,{mt:"35px",color:"textColor",fontWeight:"600",fontSize:"16px",children:"About this project"}),(0,n.jsx)(tU,{t:B,children:(0,n.jsx)(g.ZP,{mt:"16px",color:"neutral6",fontWeight:"500",fontSize:"16px",children:A.description})})]}),(0,n.jsxs)(t7,{children:[(S.status===t1.ONGOING||S.status===t1.ENDED)&&(0,n.jsxs)(t8,{status:S.status,children:[S.status===t1.ONGOING&&(0,n.jsx)(et,{}),S.status===t1.ONGOING?B("airdrop_card_label_web",{ns:"sheet_AirdropDiamonds",defaultValue:"Live now"}):B("airdrop_LP_previous_end_web",{ns:"sheet_AirdropDiamonds",defaultValue:"Ended"})]}),S.status===t1.ONGOING&&(0,n.jsxs)(f.Z,{mt:"16px",children:[(0,n.jsx)(g.ZP,{color:"neutral6",fontWeight:600,children:B("Ends in",{ns:"Airdrops"})}),(0,n.jsx)(f.Z,{mt:"8px",children:(0,n.jsx)(tJ,{t:B,seconds:K>0?K:0})})]}),(0,n.jsxs)(f.Z,{mt:"36px",display:"flex",children:[(0,n.jsxs)(f.Z,{children:[(0,n.jsx)(g.ZP,{color:"neutral6",fontWeight:600,children:B("airdrop_card_rewards_web",{ns:"sheet_AirdropDiamonds",defaultValue:"Rewards"})}),(0,n.jsx)(g.ZP,{fontWeight:700,fontSize:"20px",children:(0,N.q1)(A.eventTotalPrize)})]}),(0,n.jsxs)(f.Z,{ml:"64px",children:[(0,n.jsx)(g.ZP,{color:"neutral6",fontWeight:600,children:B("airdrop_LP_previous_winners_web",{ns:"sheet_AirdropDiamonds",defaultValue:"Winners"})}),(0,n.jsx)(g.ZP,{fontWeight:700,fontSize:"20px",children:(0,N.q1)(A.winnerCounts)})]})]}),H===y.rH.PARTICIPATED&&(0,n.jsxs)(ee,{children:[(0,n.jsx)(s.Z,{fontSize:40}),(0,n.jsx)(g.ZP,{mt:"21px",fontWeight:500,color:"text-color",children:B("airdrop_card_detail_status1_web",{ns:"sheet_AirdropDiamonds",defaultValue:"You’re already a participant"})}),(0,n.jsx)(g.ZP,{mt:"4px",fontWeight:500,fontSize:"12px",color:"neutral6",children:(0,n.jsx)(m.cC,{ns:"sheet_AirdropDiamonds",i18nKey:"airdrop_card_detail_status1desc_web",values:{"date range":(0,p.default)(A.saleEndTime,"dd LLLL")},defaults:"Come back on ".concat((0,p.default)(A.saleEndTime,"dd LLLL")," to see if you're a winner!")})})]}),H===y.rH.WAITING&&(0,n.jsxs)(ee,{children:[(0,n.jsx)(s.Z,{fontSize:40}),(0,n.jsx)(g.ZP,{mt:"21px",fontWeight:500,color:"text-color",children:B("airdrop_card_detail_status4_web",{ns:"sheet_AirdropDiamonds",defaultValue:"We’re still waiting for the results..."})}),(0,n.jsx)(g.ZP,{mt:"4px",fontWeight:500,fontSize:"12px",color:"neutral6",children:B("airdrop_card_detail_status4desc_web",{ns:"sheet_AirdropDiamonds",defaultValue:"Updates from our Rewards partner will be available soon."})})]}),H===y.rH.WINNING&&(0,n.jsxs)(ee,{children:[(0,n.jsx)(d.Z,{fontSize:40,style:{color:"#16C784"}}),(0,n.jsx)(g.ZP,{mt:"21px",fontWeight:500,color:"text-color",children:B("Congratulations, you've won!",{ns:"Airdrops"})}),(0,n.jsx)(g.ZP,{mt:"4px",fontWeight:500,fontSize:"12px",color:"neutral6",children:B("Check your wallet for more details.",{ns:"Airdrops"})})]}),H===y.rH.NO_WIN&&(0,n.jsxs)(ee,{children:[(0,n.jsx)(c,{fontSize:40}),(0,n.jsx)(g.ZP,{mt:"21px",fontWeight:500,color:"text-color",children:B("airdrop_card_detail_status3_web",{ns:"sheet_AirdropDiamonds",defaultValue:"Awww… Better luck next time."})}),(0,n.jsx)(g.ZP,{mt:"4px",fontWeight:500,fontSize:"12px",color:"neutral6",children:B("airdrop_card_detail_status3desc_web",{ns:"sheet_AirdropDiamonds",defaultValue:"Don’t give up, there are lots more to win from below."})})]}),(0,n.jsx)(eo,{}),S.status!==t1.ENDED&&O!==D.fq.COMPLETE&&O!==D.fq.FORBIDDEN?(0,n.jsx)(tP,{cryptoAirdropInfo:k,onSuccess:()=>z(!0),enabled:O===D.fq.GO_JOIN_AIRDROP,yourDiamonds:C.point,payDiamonds:A.price,openDiamondModal:()=>M(!0)}):(0,n.jsx)(tS,{currentAirdropId:S.airdropId})]})]}),(0,n.jsx)(tV,{open:R,onClose:()=>M(!1),productInfo:A,fetchAirdropDetail:tt}),(0,n.jsx)(tM,{open:T,onClose:()=>z(!1)})]})]})};en.getInitialProps=async t=>{let{ctx:e}=t,{query:o={},res:n}=e,{id:r}=o;try{if(!Array.isArray(r)||r.length<2)throw Error("Invalid airdrop id");let t=r[1],{data:e}=await t0(t);if((0,h.Z)(e))throw Error("Airdrop not found");return{airdropId:t,namespacesRequired:["common","Airdrops","sheet_AirdropDiamonds"]}}catch(t){return n.statusCode=404,{statusCode:A().http.status.NOT_FOUND,error:"404"}}},en.AppWrapper=k.Z;var er=en},557730:function(t,e,o){"use strict";o.d(e,{B0:function(){return p},CF:function(){return I},Dx:function(){return L},KF:function(){return A},KM:function(){return N},P2:function(){return f},Q1:function(){return x},Vp:function(){return D},Xv:function(){return g},hF:function(){return P},kw:function(){return Z},oZ:function(){return k},pN:function(){return C},po:function(){return m},rH:function(){return w},vg:function(){return _},w5:function(){return v},z1:function(){return y}});var n=o(24300),r=o(983562),i=o.n(r),a=o(199607),l=o(688536),s=o(479406),d=o(980375),c=o(358923);let p=20,u=(t,e)=>{for(let[o,n]of Object.entries(e)){let e=t[o];null==e?t[o]=n:"Object"===Object.prototype.toString.call(n).slice(8,-1)&&u(e,n)}}
1,h={detail:{id:0,name:"",symbol:"",slug:"",category:"",description:"",dateAdded:"",status:"",notice:"",latestUpdateTime:"",launchPrice:0,tags:[],selfReportedTags:[],dateLaunched:"",urls:{website:[],technical_doc:[],explorer:[],source_code:[],message_board:[],chat:[],announcement:[],reddit:[],twitter:[]},volume:0,volumeChangePercentage24h:0,statistics:{price:0,priceChangePercentage24h:0,marketCap:0,marketCapChangePercentage24h:0,fullyDilutedMarketCap:0,fullyDilutedMarketCapChangePercentage24h:0,circulatingSupply:0,totalSupply:0,marketCapDominance:0,rank:0,roi:0,low24h:0,high24h:0,low7d:0,high7d:0,low30d:0,high30d:0,low90d:0,high90d:0,low52w:0,high52w:0,lowAllTime:0,highAllTime:0,lowAllTimeChangePercentage:0,highAllTimeChangePercentage:0,lowAllTimeTimestamp:"0",highAllTimeTimestamp:"0",lowYesterday:0,highYesterday:0,openYesterday:0,closeYesterday:0,priceChangePercentageYesterday:0,volumeYesterday:0,status:""},platforms:[],relatedCoins:[],relatedExchanges:[],watchCount:"0",isAudited:!1},article:[],trending:{trendingList:[]},gravityFlag:!1,projectInfoFlag:!1,airDropFlag:!1,hasOngoingAirdrop:!1,popularCryptoInfo:{popularCrypto:[],platformInfo:{id:0,cryptocurrencyId:0,name:"",dexerPlatformName:""}},tokenUnlockLatest:null};async function m(t,e){let{data:o}=await (0,l.N4)({url:"".concat(i().env.endpoints.javaApi,"/aggr/v3/web/coin-detail"),params:{slug:t,langCode:e,aux:"status"},apiFallback:async e=>{var o;if((0,d.Z)(()=>e.data.data.detail.id&&e.data.data.detail.slug,!1))return e;let n=null===(o=(await (0,l.N4)({url:"".concat(i().env.endpoints.staticS3,"/static/data/coin-slug.json")})).data.data.find(e=>e.slug===t))||void 0===o?void 0:o.id;return n?{data:{data:{detail:(await (0,l.N4)({url:"".concat(i().env.endpoints.staticS3,"/static/data/cdp-detail/").concat(n,".json")})).data,gravityFlag:!1,projectInfoFlag:!1,airDropFlag:!1,hasOngoingAirdrop:!1,trending:{trendingList:[]}}}}:e}});return u(o.data,h),o.data}async function f(t,e){let{data:o}=await (0,l.N4)({url:"".concat(i().env.endpoints.javaApi,"/data-api/v3/cryptocurrency/detail"),params:{slug:t,langCode:e}});return o.data}async function x(t,e){try{let{data:o}=await (0,l.N4)({url:"".concat(i().env.endpoints.javaApi,"/aggr/v3/web/untracked-coin-detail"),params:{slug:t,langCode:e}});return o.data}catch(t){return{upcoming:{},detail:{},announcement:[]}}}async function g(t){let{id:e,convertId:o="2781",timeStart:n,timeEnd:r,interval:i="1d",containsLatest:a}=t,s=(0,c.NI)(c.yf.getOhlcvHistorical),{data:d}=await (0,l.N4)({...s,params:{id:e,convertId:o,timeStart:n,timeEnd:r,interval:i,containsLatest:a}});return d}let w={NO_LOGIN:"NO_LOGIN",PARTICIPABLE:"PARTICIPABLE",NO_PARTICIPABLE:"NO_PARTICIPABLE",PARTICIPATED:"PARTICIPATED",WAITING:"WAITING",WINNING:"WINNING",NO_WIN:"NO_WIN"},v=t=>{let{slug:e}=t;return"suterusu"===e&&(e="xsuter"),(0,l.N4)({baseURL:i().env.endpoints.javaApi,url:"/data-api/v3/airdrop/info/new",method:"get",params:{slug:e,platform:(0,s.X)()},withAuthHeader:!r.isServer}).then(t=>{let{data:e}=t;return e.data.now=e.status.timestamp,e.data}).catch(t=>({airdropInfos:[],now:new Date}))},y=t=>{let{airdropIds:e}=t;return(0,l.N4)({baseURL:i().env.endpoints.javaApi,url:"/data-api/v3/airdrop/ui",method:"post",data:{airdropIds:e},withAuthHeader:!r.isServer}).then(t=>{let{data:e}=t;return e.data}).catch(t=>[])},j={1150:"Two terms have not been confirmed",1151:"WalletAddress is empty",1152:"Fill in the email address used on the partner platform is empty",1153:"Link to retweeted post is required",1154:"The telegram Handle is required",1155:"The twitter Handle is required",1156:"Retweet this post is required",1157:"Add WatchList is required",1158:"Follow Twitter Account is required",1159:"Join Telegram Channel is required"},b=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{fieldErrorCodes:[]};(t.fieldErrorCodes||[]).forEach(t=>{let e={title:j[t]||"an unknow error occured",type:"error"};(0,n.v)(e)})},C=t=>(0,l.N4)({baseURL:i().env.endpoints.javaApi,url:"/data-api/v3/airdrop/join",method:"post",data:{userAirdropTicket:t,platform:"web"},withAuthHeader:!0}).then(t=>{let{data:e}=t;if(e.status&&"0"!==e.status.error_code)throw b(e.data),Error(e.status.error_message);return e}),A=t=>{let{slug:e}=t;return(0,l.N4)({baseURL:i().env.endpoints.javaApi,url:"/data-api/v3/project-info/detail",method:"get",params:{slug:e}}).then(t=>{let{data:e}=t;return e.data}).catch(t=>({}))},_=()=>(0,l.N4)({baseURL:i().env.endpoints.javaApi,url:"/data-api/v3/airdrop/verify-eligibility",method:"get",withAuthHeader:!0}).then(t=>{let{data:e}=t;return(null==e?void 0:e.data)||!1}).catch(t=>!1),Z=()=>(0,l.N4)({baseURL:i().env.endpoints.javaApi,url:"/auth/v4/user/mobile-user",method:"post",data:{},withAuthHeader:!r.isServer}).then(t=>{let{data:e}=t;return e.data}).catch(t=>[]),I=t=>{let{guIds:e}=t;return(0,l.N4)({baseURL:i().env.endpoints.javaApi,url:"/gravity/v3/gravity/follow/status",method:"post",data:{guIds:e},withAuthHeader:!r.isServer}).then(t=>{let{data:e}=t;return e.data}).catch(t=>[])},N=t=>{let{guid:e}=t;return(0,l.N4)({baseURL:i().env.endpoints.javaApi,url:"/gravity/v3/gravity/follow",method:"post",data:{guid:e,following:!0},withAuthHeader:!r.isServer}).then(t=>{let{data:e}=t;return e.data}).catch(t=>({}))},L=async t=>(0,l.N4)({baseURL:i().env.endpoints.javaApi,url:"/data-api/v3/topsearch/trend-country",method:"get",params:t}).then(t=>{var e;let{data:o}=t;return null!==(e=o.data)&&void 0!==e?e:[]}).catch(()=>[]),k=async function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,l.N4)({baseURL:i().env.endpoints.javaApi,url:"/data-api/v3/topsearch/rank",method:"get",params:{dataType:4,timeframe:"24h",top:30,...t}}).then(t=>{var e;let{data:o}=t;return null!==(e=o.data.cryptoMostVisitedList)&&void 0!==e?e:[]}).catch(()=>[])},P=async t=>{let{slug:e,lang:o}=t;
1try{var n;let t=await (0,l.Pk)({baseURL:i().env.endpoints.s3,method:"get",url:"/cdp/about/faq/".concat(e,"/").concat(o,".json"),timeout:3e4,suppressWarning:!0});if((null==t?void 0:null===(n=t.data)||void 0===n?void 0:n.faqDescription)&&Array.isArray(t.data.faqDescription))return t.data.faqDescription=t.data.faqDescription.filter(t=>t&&t.a),{faqDescription:t.data.faqDescription};return{faqDescription:[]}}catch(t){return{faqDescription:[]}}},D=async t=>{if(t)try{let{data:e}=await (0,l.N4)({baseURL:i().env.endpoints.javaApi,method:i().http.method.GET,url:"/data-api/v3/cryptocurrency/quote/latest",params:{id:t,convertId:2781}});(null==e?void 0:e.data)&&a.C.updateByQuoteLatestApi(e.data)}catch(t){var e;console.error("[fetchAndSyncQuoteLatest] failed:",null!==(e=null==t?void 0:t.message)&&void 0!==e?e:"Unknown error")}}},113217:function(t,e,o){"use strict";o.d(e,{OD:function(){return u},Pc:function(){return f},Sv:function(){return h},Uk:function(){return d},gT:function(){return p},zT:function(){return c}});var n=o(552322),r=o(202784),i=o(735197),a=o(983562),l=o(578801),s=o(338524);let d=t=>{let{rootMargin:e="800px",threshold:o=.1,PlaceHolder:i=r.forwardRef((t,e)=>(0,n.jsx)("div",{ref:e,children:"\xa0"})),trigger:a=()=>{},...l}=t,s=(0,r.useRef)();return(0,r.useEffect)(()=>{if(!window.IntersectionObserver)return a(!0);let t=new IntersectionObserver(e=>{let[o]=e;o.isIntersecting&&(a(!0),t.unobserve(o.target),t=null)},{rootMargin:e,threshold:o});return t.observe(s.current),()=>{t&&t.disconnect()}},[]),(0,n.jsx)(i,{ref:s,...l})},c=t=>{null==t||t.scrollIntoView({behavior:"smooth"})},p=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",e=!(arguments.length>1)||void 0===arguments[1]||arguments[1],o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,n=o||(0,s.Y3)(()=>l.Tc._currentValue.language,"en"),r="en"===n?t:"/".concat(n).concat(t,"/").replace("//","/");if(e){location.href=r;return}return r},u=(t,e)=>p(t,!1,e),h=(t,e)=>{if(!t)return;let o=document.createElement("a");o.setAttribute("download",e||"true"),o.setAttribute("href",t),o.click()};class m{addEventListener(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,o=arguments.length>2?arguments[2]:void 0;this.callbacks.set(null!=o?o:t,e?(0,i.Z)(t,e):t)}removeEventListener(t,e){this.callbacks.delete(null!=e?e:t)}constructor(){if(this.callbacks=new Map,a.isServer)return;document.addEventListener("scroll",t=>{this.callbacks.forEach(e=>{"function"==typeof e&&e(t)})},{passive:!0})}}let f=new m},981433:function(t,e,o){"use strict";o.d(e,{$G:function(){return n.useTranslation},GV:function(){return r},cC:function(){return n.Trans}});var n=o(797563);let r=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"common";return(0,n.withTranslation)(t)}},902215:function(t,e,o){"use strict";o.d(e,{NE:function(){return a},YO:function(){return u},ZP:function(){return i},bZ:function(){return c},o:function(){return p},pZ:function(){return l},pt:function(){return s},zt:function(){return d}});var n=o(983562),r=o.n(n);function i(t){let e=-1===t.indexOf("?")?"?":"&",o="".concat(e,"_=").concat("ee5493a1".slice(0,7)||"nohash");return a("".concat(t).concat(o))}function a(t){return r().isLocalDev?t.includes("coins")?s("/static".concat(t)):"/static".concat(t):"".concat(r().env.endpoints.assets,"/static").concat(t)}function l(t){return r().isLocalDev&&t.includes("coins")?s(t):"".concat(r().env.endpoints.assets).concat(t)}function s(t){return"".concat(r().env.endpoints.logos).concat(t)}let d={rain:{src:a("/cloud/img/logo/rain/Rain_Logo_Animation_V2_64x64.gif"),srcSet:"".concat(a("/cloud/img/logo/rain/Rain_Logo_Animation_V2_32x32.gif")," 1x, ").concat(a("/cloud/img/logo/rain/Rain_Logo_Animation_V2_64x64.gif")," 2x")}};function c(t){return"".concat(r().env.endpoints.sparklines).concat(t)}function p(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"7d",o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2781;return c("/generated/sparklines/web/".concat(e,"/").concat(o,"/").concat(t,".svg"))}let u=t=>i("/cloud/img/fiat-flags/".concat(t,".svg"))},58395:function(t,e,o){"use strict";o.d(e,{m:function(){return l}});var n=o(552322),r=o(82740),i=o(338789),a=o(242565);let l=(0,r.F4)(["to{transform:rotate(1turn);}"]),s=r.ZP.div.withConfig({componentId:"sc-9a646512-0"})(["display:flex;align-items:center;justify-content:center;width:100%;padding:38px 0;color:",";font-size:12px;font-weight:500;gap:4px;> img{vertical-align:sub;width:18px;}&.spin > img{animation:"," 1s linear 0s infinite;}"],i.colorGray500,l);e.Z=t=>{let{spin:e,text:o,img:r=(0,a.ZP)("/cloud/img/icon/loading.png"),wrapperStyle:i={}}=t;return(0,n.jsxs)(s,{className:e?"spin":void 0,style:i,children:[r&&(0,n.jsx)("img",{src:r}),o&&"string"==typeof o?(0,n.jsx)("span",{children:o}):o]})}},508743:function(t,e,o){"use strict";o.d(e,{ZP:function(){return I},JC:function(){return _},dd:function(){return Z}});var n=o(552322),r=o(202784),i=o(928316),a=o(117029),l=o(82740),s=o(412524),d=o.n(s),c=o(70413),p=o(929751),u=o(32934),h=o(537063),m=o(62218),f=o(172953),x=o(229581);let g=l.ZP.div.withConfig({componentId:"sc-acb6320-0"})(["position:fixed;z-index:9999;width:100%;height:100%;background:rgba(10,30,66,0.4);display:flex;justify-content:center;align-items:center;transition:visibility 0.3s ease-in-out,opacity 0.3s ease-in-out,transform 0.3s ease-in-out,box-shadow 0.3s ease-in-out;top:0;left:0;.close-button{color:#a6b0c3;font-size:12px;z-index:1;cursor:pointer;position:absolute;",":18px;top:18px;z-index:1;@media (max-width:","px){right:0px;top:16px;}@media (max-width:","px){right:16px;}}> div{max-height:90vh;display:flex;flex-direction:column;transition:height 0.3s ease-in-out;&::-webkit-scrollbar{display:none;}> button{margin-top:24px;}max-width:100vw;position:relative;@media (max-width:","px){width:100vw;height:100%;max-height:100%;&:not(.has-style){width:100vw !important;height:100% !important;max-height:100% !important;}border-radius:0;}background:var(--control-background-color);border-radius:16px;overflow:hidden;}"," &.modalOpened{","}&.minimizeOnMobile > div{@media (max-width:","px){height:unset !important;width:86vw !important;border-radius:16px;}> div.has-title{box-shadow:none;font-size:24px;}}"],t=>{let{theme:e}=t;return e.rtl?"left":"right"},x.AV.XSMALL_MIN,x.AV.XSMALL_MIN,x.AV.XSMALL_MIN,t=>{let{animation:e}=t;return"slide"===e?"\n    transform: translateX(-100%);\n  ":"visibility: hidden;\n  opacity: 0;"},t=>{let{animation:e}=t;return"slide"===e?"\n    transform: none;\n    box-shadow: 0px 0px 300px rgb(0 0 0 / 60%);\n  ":"\n        visibility: visible;\n        opacity: 1;\n        "},x.AV.XSMALL_MIN),w=l.ZP.div.withConfig({componentId:"sc-acb6320-1"})(["text-align:start;font-weight:600;font-size:24px;color:var(--color-primary-black);line-height:inherit;position:relative;flex-shrink:0;padding:24px;z-index:1010;&.has-title{background:var(--control-background-color);}> span{width:100%;}@media (max-width:","px){padding:16px;font-size:16px;&.has-title{line-height:1.5;
1box-shadow:var(--box-shadow);}}"],x.AV.XSMALL_MIN),v=l.ZP.div.withConfig({componentId:"sc-acb6320-2"})(["padding:16px 24px;overflow-y:scroll;scrollbar-width:none;"," overscroll-behavior-y:contain;&.has-title{padding-top:0px;}&.has-footer{padding-bottom:0px;}@media (max-width:","px){padding:16px;flex-grow:1;&.has-title{padding-top:16px;}&.has-footer{padding-bottom:16px;}}"],(0,x.xt)(0),x.AV.XSMALL_MIN),y=l.ZP.div.withConfig({componentId:"sc-acb6320-3"})(["flex-shrink:0;background-color:var(--control-background-color);padding:16px 24px;@media (max-width:","px){padding:16px;box-shadow:var(--box-shadow);}button{width:100%;}"],x.AV.XSMALL_MIN),j=(t,e)=>{let o=()=>{if(e.current){let t=e.current.querySelector("input[type=email],input[type=password], input[type=text],input[type=tel],input[type=number],input[type=search],textarea,[contenteditable=true]");t instanceof HTMLElement&&setTimeout(()=>{t.focus()},500)}};(0,h.Z)(()=>{t&&o()},[t])},b=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f.Z,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Escape";(0,r.useEffect)(()=>{let o=o=>{o.key===e&&t()};return document.addEventListener("keydown",o),()=>{document.removeEventListener("keydown",o)}})},C=t=>{let{open:e,okText:o,onClose:n=f.Z,destroyOnClose:i,onOK:a,style:l,hideFooter:s,children:d,title:c,bodyStyle:p,titleStyle:u,closable:m=!0,wrapperClassName:x,closeOnShadeClick:g=!0,bodyWrapperRef:w,footer:v,useAnimation:y,contentStyle:C,minimizeOnMobile:_,noAutoFocus:Z,lockBodyOnShow:I=!0,animation:N="fade",wrapperStyle:L,closeButtonStyle:k,okBtnDisableStatus:P,"data-test":D}=t,[E,O]=(0,r.useState)(e),[S,F]=(0,r.useState)(e),[R,M]=(0,r.useState)(void 0),T=(0,r.useRef)(),z=(0,r.useRef)(void 0);return(j(E&&!Z,T),(0,r.useEffect)(()=>{if(I){if(E){let t=window.innerWidth-document.documentElement.clientWidth;window.document.body.classList.add("common-overflow"),window.document.body.style.marginRight="".concat(t,"px")}else window.document.body.classList.remove("common-overflow"),window.document.body.style.marginRight="";return()=>{window.document.body.classList.remove("common-overflow"),window.document.body.style.marginRight=""}}},[E]),(0,r.useEffect)(()=>{e?(void 0!==z.current&&(window.clearTimeout(z.current),z.current=void 0),F(!0),"fade"!==N?(window.requestIdleCallback||window.requestAnimationFrame)(()=>{O(!0)}):O(!0)):E&&(O(!1),i&&(z.current=window.setTimeout(()=>{F(!1)},500)))},[e]),b(()=>{e&&n()}),(0,r.useEffect)(()=>{window.isModelOpen=S&&E},[S,E]),(0,h.Z)(()=>{if(!S||!T.current||!y)return;let t=new MutationObserver((t,e)=>{if(T.current){let t=T.current.children[1]||T.current.children[0];M(null==t?void 0:t.scrollHeight)}});return t.observe(T.current,{childList:!0,subtree:!0}),()=>t.disconnect()},[S]),S)?A({showed:E,okText:o,onClose:n,onOK:a,style:l,hideFooter:s,children:d,wrapperClassName:x,bodyStyle:p,titleStyle:u,title:c,closable:m,closeOnShadeClick:g,footer:v,bodyWrapperRef:w,bodyRef:T,bodyHeight:R,contentStyle:C,minimizeOnMobile:_,animation:N,wrapperStyle:L,closeButtonStyle:k,okBtnDisableStatus:P,"data-test":D}):null},A=function(t){let{showed:e,onClose:o,style:r={},children:a,hideFooter:l,onOK:s,okText:u,wrapperClassName:h="",titleStyle:m,bodyStyle:f,title:x,closable:j,closeOnShadeClick:b,footer:C,bodyWrapperRef:A,bodyRef:_,bodyHeight:Z,contentStyle:I,minimizeOnMobile:N,animation:L,wrapperStyle:k,closeButtonStyle:P,okBtnDisableStatus:D,"data-test":E}=t,O=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.body;return i.createPortal((0,n.jsx)(g,{animation:L,className:"".concat(e?"modalOpened":""," ").concat(h||""," ").concat(N?"minimizeOnMobile":""),onClick:t=>{t.stopPropagation(),b&&o&&o()},style:k,children:(0,n.jsxs)("div",{onClick:t=>t.stopPropagation(),style:{height:Z,...f,...r},ref:_,className:d()("cmc-modal",{"has-style":(null==f?void 0:f.height)||(null==f?void 0:f.width)}),"data-test":E,children:[x?(0,n.jsxs)(w,{style:m,className:d()("cmc-modal-title",{"has-title":x}),children:[(0,n.jsx)("span",{children:x}),j&&(0,n.jsx)(p.Z,{onClick:()=>{o&&o()},className:"close-button",style:P})]}):j&&(0,n.jsx)(p.Z,{onClick:o,className:"close-button",style:P}),(0,n.jsx)(v,{ref:A,className:d()("cmc-modal-body",{"has-title":x,"has-footer":!l}),style:I,children:a}),!l&&(0,n.jsx)(y,{children:C||(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(c.ZP,{disabled:D,variant:"primary",onClick:s,children:u||"OK"})})})]})}),O)},_=(t,e)=>{let o=document.createElement("div");document.body.appendChild(o);let r=()=>document.body.removeChild(o),i=A({showed:!0,onClose:r,style:{zIndex:1},onOK:r,closeOnShadeClick:!0,...t(r),...e||{}},o),s="night"===m.pR.get("cmc-theme")?u.B:u.v;(0,a.createRoot)(o).render((0,n.jsx)(l.f6,{theme:s,children:i}))},Z=t=>{let[e,o]=(0,r.useState)(!1),i=t(()=>o(!1));return{Component:e?(0,n.jsx)(C,{...i,showed:!0,onClose:()=>o(!1),open:!0}):null,close:()=>o(!1),open:()=>o(!0)}};var I=C},325575:function(t,e,o){"use strict";var n=o(552322),r=o(202784),i=o(815197);e.Z=r.memo(t=>{let{sx:e={},...o}=t;return(0,n.jsxs)(i.Z,{sx:e,...o,iconName:"diamond",children:[(0,n.jsx)("path",{d:"M8.79342 
16.82875L15.793 7.74548L19.7542 4.38413L15.5905 2.55066L8.23075 2.73871L4.4271 4.85424L8.79342 6.82875Z",fill:"#7CFFF9"}),(0,n.jsx)("path",{d:"M8.79264 6.82871L7.03711 11.9295L17.1652 12.2821L15.2971 6.82871H8.79264Z",fill:"#00A5EC"}),(0,n.jsx)("path",{d:"M15.2978 6.82856L19.7542 4.38394L22.5 7.43972L16.9183 11.9999L15.2978 6.82856Z",fill:"#00DBFF"}),(0,n.jsx)("path",{d:"M4.42589 4.85404L1.5 8.45046L7.03668 11.9293L8.79221 6.82854L4.42589 4.85404Z",fill:"#00DCFF"}),(0,n.jsx)("path",{d:"M7.03711 11.9298L12.3262 21.4498L16.9176 12.0003L7.03711 11.9298Z",fill:"#105BC4"}),(0,n.jsx)("path",{d:"M1.5 8.4504L12.3258 21.4492L7.03668 11.9293L1.5 8.4504Z",fill:"#2181E5"}),(0,n.jsx)("path",{d:"M22.4988 7.4396L12.3258 21.4492L16.9172 11.9998L22.4988 7.4396Z",fill:"#00AFFF"}),(0,n.jsx)("path",{d:"M4.4271 4.85424L19.7542 4.38413L15.5905 2.55066L8.23075 2.73871L4.4271 4.85424Z",fill:"#B6FFF9"}),(0,n.jsx)("path",{d:"M7.03711 11.9295C7.03711 11.9295 7.41973 9.36735 8.79264 6.82871C8.45504 8.96775 7.03711 11.9295 7.03711 11.9295Z",fill:"#7CFFF9"}),(0,n.jsx)("path",{d:"M15.2968 6.82871C15.0943 8.16855 16.6697 11.7179 16.9173 12C16.8498 10.2371 15.2968 6.82871 15.2968 6.82871Z",fill:"#7CFFF9"})]})})},262966:function(t,e,o){"use strict";var n=o(552322),r=o(202784),i=o(815197);e.Z=r.memo(t=>{let{sx:e={},...o}=t;return(0,n.jsxs)(i.Z,{sx:e,...o,iconName:"time",children:[(0,n.jsx)("path",{fill:"currentColor",d:"M12 2C6.49 2 2 6.49 2 12C2 17.51 6.49 22 12 22C17.51 22 22 17.51 22 12C22 6.49 17.51 2 12 2ZM12 20C7.59 20 4 16.41 4 12C4 7.59 7.59 4 12 4C16.41 4 20 7.59 20 12C20 16.41 16.41 20 12 20Z"}),(0,n.jsx)("path",{fill:"currentColor",d:"M16.78 13.61L13 11.43V7.01001C13 6.46001 12.55 6.01001 12 6.01001C11.45 6.01001 11 6.46001 11 7.01001V12.01C11 12.01 11.01 12.07 11.02 12.09C11.02 12.18 11.04 12.26 11.07 12.34C11.09 12.39 11.11 12.44 11.14 12.48C11.17 12.54 11.21 12.6 11.26 12.65C11.31 12.7 11.36 12.74 11.41 12.78C11.44 12.8 11.46 12.84 11.5 12.86L15.78 15.33C15.94 15.42 16.11 15.46 16.28 15.46C16.63 15.46 16.96 15.28 17.15 14.96C17.43 14.48 17.26 13.87 16.78 13.59V13.61Z"})]})})},107138:function(t,e,o){"use strict";var n=o(552322),r=o(202784),i=o(815197);e.Z=r.memo(t=>{let{sx:e={},...o}=t;return(0,n.jsx)(i.Z,{sx:e,...o,iconName:"winner",children:(0,n.jsx)("path",{d:"M19.96 5H17.96V4C17.96 3.45 17.51 3 16.96 3H6.95996C6.40996 3 5.95996 3.45 5.95996 4V5H3.95996C3.40996 5 2.95996 5.45 2.95996 6V9C2.95996 11.14 4.64996 12.87 6.75996 12.98C7.63996 14.51 9.15996 15.61 10.96 15.91V19H7.95996C7.40996 19 6.95996 19.45 6.95996 20C6.95996 20.55 7.40996 21 7.95996 21H15.96C16.51 21 16.96 20.55 16.96 20C16.96 19.45 16.51 19 15.96 19H12.96V15.91C14.76 15.61 16.28 14.51 17.16 12.98C19.27 12.87 20.96 11.14 20.96 9V6C20.96 5.45 20.51 5 19.96 5ZM4.95996 9V7H5.95996V10C5.95996 10.25 5.97996 10.5 6.00996 10.75C5.38996 10.41 4.95996 9.76 4.95996 9ZM11.96 14C9.74996 14 7.95996 12.21 7.95996 10V5H15.96V10C15.96 12.21 14.17 14 11.96 14ZM18.96 9C18.96 9.76 18.53 10.41 17.91 10.75C17.94 10.5 17.96 10.25 17.96 10V7H18.96V9Z",fill:"currentColor"})})})},893783:function(t,e,o){"use strict";o.r(e),o.d(e,{default:function(){return s}});var n=o(552322);o(202784);var r=o(462018),i=o(82740);let a=(0,i.vJ)([".cmc-uikit-tooltip-overlay-night .rc-tooltip-inner{background-color:#323546;}.cmc-uikit-tooltip-overlay-night.rc-tooltip-placement-right .rc-tooltip-arrow,.cmc-uikit-tooltip-overlay-night.rc-tooltip-placement-rightTop .rc-tooltip-arrow,.cmc-uikit-tooltip-overlay-night.rc-tooltip-placement-rightBottom .rc-tooltip-arrow{border-right-color:#323546;}.cmc-uikit-tooltip-overlay-night.rc-tooltip-placement-left .rc-tooltip-arrow,.cmc-uikit-tooltip-overlay-night.rc-tooltip-placement-leftTop .rc-tooltip-arrow,.cmc-uikit-tooltip-overlay-night.rc-tooltip-placement-leftBottom .rc-tooltip-arrow{border-left-color:#323546;}.cmc-uikit-tooltip-overlay-night.rc-tooltip-placement-top .rc-tooltip-arrow,.cmc-uikit-tooltip-overlay-night.rc-tooltip-placement-topLeft .rc-tooltip-arrow,.cmc-uikit-tooltip-overlay-night.rc-tooltip-placement-topRight .rc-tooltip-arrow{border-top-color:#323546;}.cmc-uikit-tooltip-overlay-night.rc-tooltip-placement-bottom .rc-tooltip-arrow,.cmc-uikit-tooltip-overlay-night.rc-tooltip-placement-bottomLeft .rc-tooltip-arrow,.cmc-uikit-tooltip-overlay-night.rc-tooltip-placement-bottomRight .rc-tooltip-arrow{border-bottom-color:#323546;}.rc-tooltip.rc-tooltip-zoom-enter,.rc-tooltip.rc-tooltip-zoom-leave{display:block;}.rc-tooltip-zoom-enter,.rc-tooltip-zoom-appear{opacity:0;animation-duration:0.3s;animation-fill-mode:both;animation-timing-function:cubic-bezier(0.18,0.89,0.32,1.28);animation-play-state:paused;}.rc-tooltip-zoom-leave{animation-duration:0.3s;animation-fill-mode:both;animation-timing-function:cubic-bezier(0.6,-0.3,0.74,0.05);animation-play-state:paused;}.rc-tooltip-zoom-enter.rc-tooltip-zoom-enter-active,.rc-tooltip-zoom-appear.rc-tooltip-zoom-appear-active{animation-name:rcToolTipZoomIn;animation-play-state:running;}.rc-tooltip-zoom-leave.rc-tooltip-zoom-leave-active{animation-name:rcToolTipZoomOut;animation-play-state:running;}@keyframes rcToolTipZoomIn{0%{opacity:0;transform-origin:50% 50%;transform:scale(0,0);}100%{opacity:1;transform-origin:50% 50%;transform:scale(1,1);}}@keyframes rcToolTipZoomOut{0%{opacity:1;transform-origin:50% 50%;transform:scale(1,1);}100%{opacity:0;transform-origin:50% 50%;transform:scale(0,0);}}.rc-tooltip{position:absolute;z-index:1070;display:block;visibility:visible;font-size:12px;line-height:1.5;opacity:0.9;}.rc-tooltip-hidden{display:none;}.rc-tooltip-placement-top,.rc-tooltip-placement-topLeft,.rc-tooltip-placement-topRight{padding:5px 0 9px 0;}.rc-tooltip-placement-right,.rc-tooltip-placement-rightTop,.rc-tooltip-placement-rightBottom{padding:0 5px 0 9px;}.rc-tooltip-placement-bottom,.rc-tooltip-placement-bottomLeft,.rc-tooltip-placement-bottomRight{padding:9px 0 5px 0;}.rc-tooltip-placement-left,.rc-tooltip-placement-leftTop,.rc-tooltip-placement-leftBottom{padding:0 9px 0 5px;}.rc-tooltip-inner{padding:4px 8px;color:#fff;text-align:left;text-decoration:none;background-color:#000;border-radius:8px;box-shadow:0 0 4px rgba(0,0,0,0.17);}.rc-tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid;}.rc-tooltip-placement-top .rc-tooltip-arrow,.rc-tooltip-placement-topLeft .rc-tooltip-arrow,.rc-tooltip-placement-topRight .rc-tooltip-arrow{bottom:4px;margin-left:-5px;border-width:5px 5px 0;border-top-color:#000;}.rc-tooltip-placement-top .rc-tooltip-arrow{left:50%;}.rc-tooltip-placement-topLeft .rc-tooltip-arrow{left:15%;}.rc-tooltip-placement-topRight .rc-tooltip-arrow{right:15%;}.rc-tooltip-placement-right .rc-tooltip-arrow,.rc-tooltip-placement-rightTop .rc-tooltip-arrow,.rc-tooltip-placement-rightBottom .rc-tooltip-arrow{left:4px;margin-top:-5px;border-width:5px 5px 5px 0;border-right-color:#000;}.rc-tooltip-placement-right .rc-tooltip-arrow{top:50%;}.rc-tooltip-placement-rightTop .rc-tooltip-arrow{top:15%;margin-top:0;}.rc-tooltip-placement-rightBottom .rc-tooltip-arrow{bottom:15%;}.rc-tooltip-placement-left .rc-tooltip-arrow,.rc-tooltip-placement-leftTop .rc-tooltip-arrow,.rc-tooltip-placement-leftBottom .rc-tooltip-arrow{right:4px;margin-top:-5px;border-width:5px 0 5px 5px;border-left-color:#000;}.rc-tooltip-placement-left .rc-tooltip-arrow{top:50%;}.rc-tooltip-placement-leftTop .rc-tooltip-arrow{top:15%;margin-top:0;}.rc-tooltip-placement-leftBottom .rc-tooltip-arrow{bottom:15%;}.rc-tooltip-placement-bottom .rc-tooltip-arrow,.rc-tooltip-placement-bottomLeft .rc-tooltip-arrow,.rc-tooltip-placement-bottomRight .rc-tooltip-arrow{top:4px;margin-left:-5px;border-width:0 5px 5px;border-bottom-color:#000;}.rc-tooltip-placement-bottom .rc-tooltip-arrow{left:50%;}.rc-tooltip-placement-bottomLeft .rc-tooltip-arrow{left:15%;}.rc-tooltip-placement-bottomRight .rc-tooltip-arrow{right:15%;}"]);function l(t){let{placement:e="left",content:o,children:l,trigger:s="hover",...d}=t,c=(0,i.Fg)();return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(a,{}),(0,n.jsx)(r.Z,{placement:e,overlay:o,trigger:s,overlayClassName:"cmc-uikit-tooltip-overlay-"+(c.isDay?"day":"night"),...d,children:l})]})}l.defaultProps={trigger:"hover",placement:"left"};var s=l}},function(t){t.O(0,[49774,43701,58964,29782,60315,97209,62078,87460,9497,558,32109,26226,57538,47580,55601,76421,6264,92888,40179],function(){return t(t.s=663300)}),_N_E=t.O()}]);
2//# sourceMappingURL=[...id]-854f843d794dd2ce.js.map

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.