PageSourceSearch

https://www.btse.com/static/js/k5c3p2xw.js

js btse.com collected 2026-09-25 18:39:20 UTC 5,637 bytes, 2 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"btse@5f19a485"};var a=(new e.Error).stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="1387e857-1ca2-4fc5-a508-729ecec765b1",e._sentryDebugIdIdentifier="sentry-dbid-1387e857-1ca2-4fc5-a508-729ecec765b1")}catch(t){}}();import{ar as e,ak as a,a9 as t,am as s,aK as l,aa as r,af as n,a8 as c,ad as i,aU as o,aq as d,aM as u,aN as p,ab as h,ag as f,r as m,as as g,a_ as y}from"./PmfENnFs.js";import{P as b}from"./C2-AFtvo.js";import{U as x,N as w,dY as _,x as R,fE as v,iL as L}from"./BhKTELSe.js";import{_ as E}from"./CRPzHAml.js";import"./DzIKp7QL.js";import"./ByGuns7q.js";import"./DTvt6p8J.js";import"../../app.DuROpXuw.js";import"./Bam2FmDF.js";import"./ByOB-9wo.js";import"./tad1MRrM.js";import"./cvxruSMo.js";import"./chunk-echarts.AHWYl6Ef.js";import"./chunk-lottie.zeumoeGY.js";import"./chunk-sentry.q36DUBwH.js";import"./B9Yq6Vz0.js";import"./CXr9G-CP.js";import"./chunk-web3.7EmC4Up1.js";import"./chunk-web3-onboard-utils.D-9VMiP0.js";const j={class:"cell-wrapper"},S={class:"cell-wrapper"},k={class:"cell-wrapper right"},I={class:"cell-wrapper right"},C={class:"cell-wrapper right"};const N={gridSize:12,gridSpacing:16,colWidthUnit:[1,2,3,3,3]},$=[{prop:"currency",title:"exchangeRate.currency",style:{align:"left"}},{prop:"name",title:"wallets.spotList.name",style:{align:"left"}},{prop:"sell",title:"exchangeRate.sell",style:{align:"right"}},{prop:"buy",title:"exchangeRate.buy",style:{align:"right"}},{prop:"mid",title:"exchangeRate.mid",style:{align:"right"}}],D={class:"exchange-rate"},T={key:0,class:"last-update-time"};const U=E({name:"ExchangeRate",components:{ExchangeRateRow:E({name:"ExchangeRateRow",components:{BrandIcon:x},props:{data:{type:Object,default:()=>({})},index:{type:Number,required:!0}}},[["render",function(c,i,o,d,u,p){const h=e("BrandIcon"),f=e("Cell"),m=e("Row");return t(),a(m,{class:"table-tbody-row exchange-rate-row",index:o.index,disableBackground:!0,disableCssHoverEffect:""},{default:s((()=>[l(f,null,{default:s((()=>[r("div",j,[l(h,{class:"icon",type:"fiat",displayName:o.data.currency,name:o.data.currency,"short-name":!1},null,8,["displayName","name"])])])),_:1}),l(f,{class:"currency-name"},{default:s((()=>[r("div",S,n(c.$filters.fiatCurrency(o.data.currency)),1)])),_:1}),l(f,null,{default:s((()=>[r("div",k,n(c.$filters.formatNumber(o.data.sellrate,4)),1)])),_:1}),l(f,null,{default:s((()=>[r("div",I,n(c.$filters.formatNumber(o.data.buyrate,4)),1)])),_:1}),l(f,null,{default:s((()=>[r("div",C,n(c.$filters.formatNumber(o.data.rate,4)),1)])),_:1})])),_:1},8,["index"])}],["__scopeId","data-v-8e5c392e"]]),ExchangeRowHeader:E({name:"ExchangeRowHeader",props:{columns:{type:Array,default:function(){return[]}}}},[["render",function(l,u,p,h,f,m){const g=e("HeaderRow");return t(),a(g,{class:"table-thead-row",isSticky:""},{default:s((()=>[(t(!0),c(i,null,o(p.columns,(({prop:e,title:a,style:s})=>(t(),c("th",d({ref_for:!0},l.$attrs,{key:e,class:s.align}),[r("span",null,n(l.$t(a)),1)],16)))),128))])),_:1})}],["__scopeId","data-v-459d9746"]]),NoDataAvailable:w},props:{searchKey:{type:String,default:""}},data:()=>({IS_SCROLL_LEFT:!1,colgroup:N,columns:$,isLoading:!0,exchangeRateList:[],lastUpdated:""}),computed:{listsData(){return this.exchangeRateList.filter((e=>{const a=this.getCurrencyName(e.currency),t=this.searchKey.toLowerCase();return e.currency&&e.currency.toLowerCase().includes(t)||a&&a.toLowerCase().includes(t)}))}},mounted(){this.tableScroll(),this.handleTableScroll=_((()=>{this.tableScroll()}),600),window.addEventListener("resize",this.handleTableScroll),R.getExchangeRate().then((({rateList:e,lastUpdated:a})=>{this.exchangeRateList=e.filter((({currency:e})=>v(e))),this.lastUpdated=a})).finally((()=>{this.isLoading=!1}))},beforeUnmount(){window.removeEventListener("resize",this.handleTableScroll)},methods:{tableScroll(){const e=this.$refs["table-scroll"],{clientWidth:a=0,scrollWidth:t=0}=e;this.IS_SCROLL_LEFT=t>a},getCurrencyName(e){return this.$filters.fiatCurrency(e)}}},[["render",function(d,m,g,y,b,x){const w=e("ExchangeRowHeader"),_=e("ExchangeRateRow"),R=e("DataTable"),v=e("NoD
1ataAvailable"),L=u("loading");return p((t(),c("div",D,[r("div",{ref:"table-scroll",class:f(["table-scroll",{"is-scroll-left":b.IS_SCROLL_LEFT}])},[l(R,{"fix-first-column":!0,colgroup:b.colgroup},{header:s((()=>[l(w,{columns:b.columns},null,8,["columns"])])),body:s((()=>[(t(!0),c(i,null,o(x.listsData,((e,s)=>(t(),a(_,{key:e.currency,index:s,data:e},null,8,["index","data"])))),128))])),_:1},8,["colgroup"])],2),b.lastUpdated&&x.listsData.length>0?(t(),c("div",T,n(d.$t("exchangeRate.lastUpdated"))+": "+n(d.$filters.formatDate(b.lastUpdated)),1)):h("",!0),0===x.listsData.length?(t(),a(v,{key:1,class:"no-result",emptyText:d.$t("t.noMatchesFound")},null,8,["emptyText"])):h("",!0)])),[[L,b.isLoading]])}],["__scopeId","data-v-faf93ca9"]]),F={class:"exchange-rate"},H={class:"main-container"},K={class:"search-filter"},A=["placeholder"],O=E({__name:"ExchangeRate",setup(e){const a=m("");return(e,s)=>(t(),c("div",F,[l(g(b),{class:"banner",title:e.$t("nav.exchangeRate")},null,8,["title"]),r("div",H,[r("div",K,[l(g(L),{class:"search-icon"}),p(r("input",{"onUpdate:modelValue":s[0]||(s[0]=e=>a.value=e),class:"market-search-input",type:"text",placeholder:e.$t("exchangeRate.searchCurrency")},null,8,A),[[y,a.value]])]),l(g(U),{searchKey:a.value},null,8,["searchKey"])])]))}},[["__scopeId","data-v-66412866"]]);export{O as default};
2//# sourceMappingURL=k5c3p2xw.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.