1import{n as e,o as t}from"./2782-DETa8UTu.js";import{B as n,H as r,J as i,L as a,W as o,X as s,Z as c,b as l,v as u,x as d,y as f}from"./vendor-KgfzWwwX.js";import{Bn as p,Ct as m,D as h,E as g,It as _,Lt as v,Pt as y,Rt as b,St as x,Ut as S,Vn as ee,Wt as C,_n as w,a as te,bt as T,ct as E,d as D,f as O,ft as k,g as ne,h as re,ht as ie,i as ae,l as oe,lt as A,m as se,mt as ce,n as le,o as ue,p as j,pt as de,r as fe,t as pe,u as me,ut as he,xt as ge,zn as _e}from"./vendor-Cm1zGwN7.js";import{o as ve,t as ye}from"./vendor-BNysmXrB.js";function be(e){let t=[];for(let n of e){let e=n.charCodeAt(0);e<128?t.push(e):e<2048?(t.push(192+(e>>6)),t.push(128+(e&63))):e<65536&&(t.push(224+(e>>12)),t.push(128+(e>>6&63)),t.push(128+(e&63)))}return Uint8Array.from(t)}function M(e,t){let n=N();return M=function(e,t){return e-=343,n[e]},M(e,t)}function xe(e){let t=M;return window[t(345)].subtle[t(355)](t(358),e,`AES-CBC`,!0,[t(351),t(347)])}function N(){let e=[`decrypt`,`fromCharCode`,`896734mmCnuE`,`18591iHWORD`,`encrypt`,`subtle`,`encode`,`1108384zbbKIN`,`importKey`,`2446706Fggprb`,`508lIPimf`,`raw`,`42246ujtwKo`,`AES-CBC`,`3400shAJrv`,`21vGkgOI`,`1405086oUxEtN`,`crypto`,`5112260kplntC`];return N=function(){return e},N()}async function Se(e){let t=M,n=new TextEncoder()[t(353)](e),r=await xe(we),i=await window.crypto[t(352)][t(351)]({name:t(360),length:128,iv:P},r,n);return window.btoa(String[t(348)](...new Uint8Array(i)))}var Ce,P,we,Te=e((()=>{Ce=[111,107,120,95,106,115,95,103,97,116,101,119,97,121,49,50].map(e=>String.fromCharCode(e)).join(``),P=be(Ce),we=P,(function(e,t){let n=M,r=e();for(;;)try{if(parseInt(n(349))/1+-parseInt(n(356))/2+-parseInt(n(350))/3*(parseInt(n(357))/4)+parseInt(n(346))/5+parseInt(n(344))/6*(-parseInt(n(343))/7)+-parseInt(n(354))/8+parseInt(n(359))/9*(parseInt(n(361))/10)===t)break;r.push(r.shift())}catch{r.push(r.shift())}})(N,663683)}));function Ee(e){let t=`${e}=`,n=document.cookie.split(`;`);for(let e=0;e<n.length;e++){let r=n[e].replace(/(^\s*)|(\s*$)/g,``);if(r.indexOf(t)===0)return r.substring(t.length,r.length)}return``}function De(e,t,n){let r=new Date;r.setTime(r.getTime()+n);let i=`expires=${r.toUTCString()}`;document.cookie=`${e}=${t};path=/;${i}`}var Oe=e((()=>{}));function ke(){var e=Date.now();return typeof performance<`u`&&typeof performance.now==`function`&&(e+=performance.now()),`xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx`.replace(/[xy]/g,function(t){var n=(e+Math.random()*16)%16|0;return e=Math.floor(e/16),(t===`x`?n:n&3|8).toString(16)})}function F(e,t){let n=I();return F=function(e,t){return e-=355,n[e]},F(e,t)}function I(){let e=[`446517YoPIlw`,`720WVvUwD`,`slice`,`crypto`,`error`,`6416aAvPFw`,`1369951OgxMlI`,`9owwgHy`,`765lJIKkt`,`join`,`map`,`setItem`,`8350836tOBTSW`,`host`,`659747ajiisN`,`encryptMessage`,`location`,`40tQAeyG`,`encryptBrowserify`,`183239iCPQPv`,`12EAEDzB`,`8677070XqbojE`];return I=function(){return e},I()}var L,Ae,je,Me,R,Ne,Pe=e((()=>{Te(),Oe(),L=localStorage.getItem(`dev-test`),Ae=()=>{let e=new Date,t=e.getFullYear(),n=e.getMonth(),r=e.getDate(),i=e.getHours(),a=e.getMinutes();return new Date(t,n,r,i,a).toUTCString().split(`, `)[1].replace(` GMT`,``)},je=()=>`ABCDEFGHIJKLMNOPQRSTUVWXYZ`.split(``)[Math.floor(Math.random()*26)],Me=(e=``)=>!window.crypto||!TextEncoder||L?new Promise((t,n)=>{if(window.encryptBrowserify){t(!1);return}let r=e=>{let t=document.createElement(`script`);t.className=`encrypt-browserify`,t.src=`${e}/cdn/assets/files/234/E2BF7B5C808E3C28.js`,document.body.appendChild(t)};(e?[e]:[`https://static.coinall.ltd`,`https://static.okx.com`,`https://static.okx.cab`]).forEach(e=>{r(e)});let i=document.querySelectorAll(`.encrypt-browserify`),a=0,o=!1;i.forEach(e=>{e.onload=()=>{o||(o=!0,t(!1))},e.onerror=e=>{a++,a===i.length&&n(!1)}})}):Promise.resolve(!0),(function(e,t){let n=F,r=e();for(;;)try{if(-parseInt(n(375))/1+parseInt(n(367))/2*(parseInt(n(369))/3)+-parseInt(n(374))/4*(parseInt(n(355))/5)+-parseInt(n(359))/6+parseInt(n(366))/7*(parseInt(n(364))/8)+p
1arseInt(n(376))/9*(-parseInt(n(368))/10)+-parseInt(n(361))/11*(-parseInt(n(370))/12)===t)break;r.push(r.shift())}catch{r.push(r.shift())}})(I,747663),R=async({cdnBaseUrl:e=``,setLoading:t,removeLoading:n})=>{let r=F;try{let i=`devId`,a=Ee(i);!a&&(a=ke(),De(i,a,60*1e3*60*24*365));let o=window[r(363)][r(360)],s=[111,107,120,95,106,115,95,103,97,116,101,119,97,121];s=s[r(357)](e=>String.fromCharCode(e))[r(356)](``);let c=``+Ae()+o+s+a,l=``,u=!1;if(t&&(!window[r(372)]||L)&&setTimeout(()=>{!u&&t()},L?5:500),await Me(e))l=await Se(c);else{if(l=window[r(365)](c),L){let e=await Se(c);localStorage[r(358)](r(362),e),localStorage[r(358)](r(365),l)}u=!0,n&&n()}l=l.replace(/=/g,``);let d=``;d=l[r(371)](0,7)+je()+l[r(371)](7),d=d.slice(0,128);let f=[111,107,45,115,101,115,45,105,100];f=f[r(357)](e=>String.fromCharCode(e))[r(356)](``),De(f,d,120*1e3)}catch{}},Ne=async(e={})=>{let{delay:t=!1,cdnBaseUrl:n=``,setLoading:r,removeLoading:i}=e,a={cdnBaseUrl:n,setLoading:r,removeLoading:i};t?setTimeout(async()=>{try{await R(a)}catch{}},1e3):await R(a),setInterval(async()=>{try{await R(a)}catch{}},6e4),document.addEventListener(`visibilitychange`,async()=>{if(document.visibilityState===`visible`)try{await R(a)}catch{}})}})),Fe,Ie,Le=e((()=>{Fe=`wrapper_KPpXK`,Ie={wrapper:Fe}})),Re,ze,Be=e((()=>{a(),b(),C(),y(),Le(),f(),Re=()=>{let e=i(()=>{let e=v[S.chainName.toUpperCase()];return e?_(`explorer_main_home_textarea_chain_page`,{chainFullName:e.name}):_(`explorer_main_home_textarea_data_platform`)},[]);return l(`p`,{className:Ie.wrapper,children:e})},ze=n(Re)})),Ve,He,Ue,We,Ge,z,Ke=e((()=>{Ve=`titleWrapper_J5dBM`,He=`icon_cjwjC`,Ue=`rotate_LZ0zo`,We=`hidden_uRcxr`,Ge=`content_2qZv9`,z={titleWrapper:Ve,icon:He,rotate:Ue,hidden:We,content:Ge}})),B,qe,V,H=e((()=>{a(),B=t(T()),ce(),he(),A(),h(),Ke(),f(),qe=({className:e,titleClassName:t,contentClassName:n,title:r,children:a,defaultExpand:o=!1})=>{let{isMobile:s}=ie(),[c,u]=de(o),f=k(()=>{u(!c)},[u,c]),{Com:p,...m}=i(()=>s?{Com:E,onClick:f}:{Com:`div`},[s,f]);return d(`div`,{className:(0,B.default)(e),children:[d(p,{className:(0,B.default)(z.titleWrapper,t),...m,children:[r,l(g,{className:(0,B.default)(`oklink-header-footer-chevron-down`,z.icon,c&&z.rotate)})]}),l(`div`,{className:(0,B.default)(z.content,n,!c&&z.hidden),children:a})]})},V=n(qe)})),U,Je=e((()=>{a(),ve(),U=e=>r(()=>{ye({url:e})},[e])})),Ye,W,Xe=e((()=>{Ye=`link_BvZ3A`,W={link:Ye,new:`new_QrkL6`}})),Ze,Qe,G,$e=e((()=>{a(),Ze=t(T()),O(),y(),Je(),Xe(),f(),Qe=({href:e,name:t,className:n,isNew:r})=>{let i=U(e);return d(D,{href:e,className:(0,Ze.default)(W.link,n),onClick:i,children:[t,r&&l(`span`,{className:W.new,children:_(`oklinkexplorer_tracker_homepage_common_explorer_new`)})]})},G=n(Qe)})),et,tt,nt,rt,K,it=e((()=>{et=`wrapper_8AE40`,tt=`titleClassName_mSPvs`,nt=`list_oJT2p`,rt=`item_Jn6ri`,K={wrapper:et,titleClassName:tt,list:nt,item:rt}})),at,ot,st=e((()=>{a(),ge(),H(),y(),$e(),it(),f(),at=()=>{let{explorerListInfo:e}=x();return l(V,{className:K.wrapper,title:_(`oklinkexplorer_tracker_homepage_footer_explorer_title`),contentClassName:K.list,titleClassName:K.titleClassName,children:e.map(e=>l(G,{className:K.item,...e},e.name))})},ot=n(at)})),ct,lt,ut=e((()=>{se(),y(),ct=()=>{let e=[{name:_(`oklinkexplorer_homepage_footer_tos`),href:j.userTerms},{name:_(`oklinkexplorer_homepage_footer_pps`),href:j.privacyClause}];return{title:_(`oklinkexplorer_tracker_homepage_footer_aboutus_title`),list:e}},lt={getAboutUs:ct}})),dt,ft,pt=e((()=>{dt=`item_OE6MH`,ft={item:dt}})),mt,ht,gt=e((()=>{a(),H(),ut(),$e(),pt(),f(),mt=()=>{let e=i(()=>lt.getAboutUs(),[]);return l(V,{className:ft.item,title:e.title,children:e.list.map(e=>l(G,{...e},e.name))},e.title)},ht=n(mt)})),_t,vt,yt,bt,xt,q,St=e((()=>{_t=`wrapper_R0XKq`,vt=`titleClassName_A0Qwn`,yt=`item_WLA8x`,bt=`title_MWhy8`,xt=`link_59Q8r`,q={wrapper:_t,titleClassName:vt,item:yt,title:bt,link:xt}})),Ct,wt,Tt,Et,Dt=e((()=>{a(),H(),O(),C(),se(),y(),Je(),St(),f(),Ct=({text:e,href:t})=>{let n=U(t);return l(D,{isBlankTarget:!0,className:q.link,href:t,onClick:n,children:e})},wt=()=>{let e=i(()=>{let e=_(`explorer_main_common_homepage_title_okx`);return[{title:_(`explorer_main_homepage_label_site_website`,{site:e}),content:[{href:j.okx,text:_(`explorer_main_homepage_label_okx_com`)}]},{title:_(`explorer_main_footer_title_okx_web3`,{site:e}),content:[{href:j.web3,text:_(`explorer_footer_label_okx_web3`)}]},{title:_(`explorer_main_footer_title_okx_wallet`,{site:e}),content:[{href:j.okxWallet,text:_(`explorer_main_footer_label_okx_wallet`)},{href:j.btcWallet,text:_(`explorer_main_footer_label_btc_wallet`)},{href:j.ethWallet,text:_(`explorer_main_footer_label_eth_wallet`)},{href:j.solWallet,text:_(`explorer_main_footer_label_sol_wallet`)}]},{title:_(`explorer_main_homepage_label_site_price`,{site:e}),content:[{href:j.bitcoinPrice,text:_(`explorer_main_homepage_label_btc_price`)},{href:j.ethPrice,text:_(`explorer_main_homepage_label_eth_price`)}
1,{href:j.cardanoPrice,text:_(`explorer_main_homepage_label_cardona_price`)},{href:j.solanaPrice,text:_(`explorer_main_homepage_label_solana_price`)},{href:j.xrpPrice,text:_(`explorer_main_homepage_label_xrp_price`)}]},{title:_(`explorer_main_homepage_label_caculator`,{site:e}),content:[{text:_(`explorer_main_homepage_label_caculator_btc_to_usd`),href:j.btcToUSD},{text:_(`explorer_main_homepage_label_caculator_eth_to_usd`),href:j.ethToUSD},{text:_(`explorer_main_homepage_label_caculator_usdt_to_usd`),href:j.usdtToUSD},{text:_(`explorer_main_homepage_label_caculator_sol_to_usd`),href:j.solToUSD},{text:_(`explorer_main_homepage_label_caculator_xrp_to_usd`),href:j.xrpToUSD}]},{title:_(`explorer_main_homepage_label_trade_spot`,{site:e}),content:[{href:j.btcUSDC,text:_(`explorer_main_homepage_label_trade_spot_btc_usdc`)},{href:j.ethUSDC,text:_(`explorer_main_homepage_label_trade_spot_eth_usdc`)},{href:j.btcUSDT,text:_(`explorer_main_homepage_label_trade_spot_btc_usdt`)},{href:j.ethUSDT,text:_(`explorer_main_homepage_label_trade_spot_eth_usdt`)},{href:j.maticUSDT,text:_(`explorer_main_homepage_label_trade_spot_matic_usdt`)},{href:j.ltcUSDT,text:_(`explorer_main_homepage_label_trade_spot_ltc_usdt`)},{href:j.solUSDT,text:_(`explorer_main_homepage_label_trade_spot_sol_usdt`)},{href:j.xrpUSDT,text:_(`explorer_main_homepage_label_trade_spot_xrp_usdt`)}]}]},[]);return l(V,{defaultExpand:!0,className:q.wrapper,titleClassName:q.titleClassName,title:_(`explorer_main_common_homepage_title_partner_link`),children:l(`div`,{children:e.map(e=>d(`div`,{className:q.item,children:[l(`span`,{className:q.title,children:e.title}),e.content.map(e=>l(Ct,{...e},e.text))]},e.title))})})},Tt=()=>S.isZhCnLocale||!S.isAboard?null:l(wt,{}),Et=n(Tt)})),Ot,kt,At=e((()=>{Ot=`wrapper_i6q6j`,kt={wrapper:Ot}})),jt,Mt,Nt,Pt=e((()=>{a(),w(),A(),ue(),C(),At(),f(),jt=()=>/mobile|android|webos|iphone|ipod|blackberry/i.test(navigator.userAgent.toLowerCase()),Mt=()=>{let e=s(),t=s(0);return r(()=>{let{cdnBaseUrl:n,envSign:r}=ee;jt()&&(t.current===0&&(e.current=new Date().getTime()),t.current+=1,!(t.current<6)&&(new Date().getTime()-e.current<=2*1e3&&_e({url:r===`prod`?`${n}/cdn/assets/okfe/okt/ok-helper-v3/content-script.js`:`${n}/cdnpre/assets/okfe/okt/ok-helper-v3/content-script.js`}),t.current=0))},[])},Nt=()=>{let e=Mt();return l(E,{className:kt.wrapper,onClick:e,children:l(te,{width:128,height:28,src:`${S.cdnBaseUrl}/cdn/assets/imgs/235/4EC890FA53A98FFF.png`,altValue:`oklink`})})}})),Ft,It,Lt,J,Rt=e((()=>{Ft=`popupBox_yliy9`,It=`layerBox_YAri2`,Lt=`show_1e-QR`,J={popupBox:Ft,layerBox:It,show:Lt}})),Y,zt,Bt=e((()=>{a(),Y=t(T()),w(),ce(),he(),Rt(),f(),zt=({className:e,children:t,content:n,onVisibleChange:a=()=>{},popupLayerStyle:c,popupLayerClassName:u,popupContentClassName:f})=>{let m=s(),h=s(),[g,_]=de(!1),{isMobile:v}=ie(),y=k(()=>{v?(_(!g),a(!g)):(_(!0),a(!0))},[g,v,a]),b=r(()=>{_(!1),a(!1)},[a,_]),x=i(()=>p(()=>{g?b():y()}),[y,g,b]);return o(()=>m.current?v?(m.current.addEventListener(`click`,x),()=>{m.current.removeEventListener(`click`,x)}):(m.current.addEventListener(`mouseenter`,y),m.current.addEventListener(`mouseleave`,b),()=>{m.current.removeEventListener(`mouseenter`,y),m.current.removeEventListener(`mouseleave`,b)}):null,[y,b,x,v]),d(`div`,{ref:m,className:(0,Y.default)(e,J.popupBox),children:[t,l(`div`,{ref:h,className:(0,Y.default)(u,J.layerBox,g&&J.show),style:{bottom:`100%`,...c},children:l(`div`,{className:(0,Y.default)(f),children:n})})]})}})),Vt,Ht,Ut,Wt,Gt,Kt,qt,Jt,Yt,Xt,X,Zt=e((()=>{Vt=`wrapper_0qzQP`,Ht=`display_abeAc`,Ut=`text_MzAju`,Wt=`arrow_2riH6`,Gt=`contentWrapper_edY8V`,Kt=`content_-vsG9`,qt=`title_5uKWr`,Jt=`ulBox_PLdwS`,Yt=`option_aglFH`,Xt=`active_RZzZk`,X={wrapper:Vt,display:Ht,text:Ut,arrow:Wt,contentWrapper:Gt,content:Kt,title:qt,ulBox:Jt,option:Yt,active:Xt}})),Z,Qt,$t=e((()=>{a(),Z=t(T()),ge(),pe(),A(),O(),h(),Bt(),ae(),ne(),Zt(),f(),Qt=({className:e,SSRRoute:t})=>{let[n,r]=c(!1),a=m(),{locale:o,label:s,onClickOption:u}=le(),f=i(()=>l(`div`,{className:X.contentWrapper,children:l(`div`,{className:X.content,children:l(`div`,{className:X.ulBox,children:fe.map(e=>{let n=re(e.value,t);return a||(n=n.split(`#`)[0]),l(D,{className:(0,Z.default)(X.option,o===e.value&&X.active),onClick:()=>{u(e)},href:n,children:e.label},e.value)})})})}),[t,a,n,u]);return l(zt,{className:(0,Z.default)(X.wrapper,e),content:f,popupLayerStyle:{paddingTop:4,paddingBottom:4},onVisibleChange:r,children:d(E,{className:X.display,children:[l(g,{className:`oklink-header-footer-globe`}),l(`span`,{className:X.text,children:s}),l(g,{className:(0,Z.default)(`oklink-header-footer-chevron-down`,n&&X.arrow)})]})})}})),en,Q,tn=e((()=>{en=`wrapper_m9iDv`,Q={wrapper:en}})),nn,rn,an=e((()=>{a(),w(),me(),Pt(),$t(),tn(),f(),nn=()=>{let{isApp:e}=ee;return d(`div`,{className:Q.wrapper,children:[l(Nt,{}),!e&&l(u,{children:oe()?`OKLINK_FOOTER_LANGUAGE_CONTENT_PLACEHOLDER`:l(Qt,{})})]})},rn=n(nn)})),on,sn,$,cn=e((()=>{on=`footerBox_5-lA9`,sn=`explorerModule_tkWf6`,$={footerBox:on,explorerModule:sn}})),ln,un,dn=e((()=>{a(),Be(),st(),gt(),Dt(),an(),cn(),f(),ln=n(()=>d(`div`,{className:$.explorerModule,children:[l(ot,{}),l(ht,{})]})),un=()=>l(`div`,{className:$.footerBox,children:d(`div`,{className:`pageCenter`,children:[l(rn,{}),l(ze,{}),l(ln,{}),l(Et,{})]})})}));export{Ne as i,dn as n,Pe as r,un as t}; 2//# sourceMappingURL=https://static-daily.okg.com/crash/okfe/oklink-nav/assets/25558-JZVhwWbl.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.