import{u as e,w as o,f as t}from"./index-4c745ab9.js";import{U as s,a as r}from"./index-3f7909ef.js";import{P as a}from"./public-7285197c.js";import{L as i}from"./leftSide-5270356f.js";import{L as n,l,x as u,q as m,o as c,a as p,f as d,u as f,w as h}from"./vendor-edc0678f.js";import"./handicap-0340996a.js";import"./filters-692458bf.js";/* empty css              */import"./useFreeze-8df38998.js";/* empty css              */import"./index-28ad00a5.js";import"./currencyItem-8e423279.js";const j={__name:"tradeU",props:{headerList:{type:Array}},setup(j){const y=e(),v=n(),L=l({});u(()=>v.query.symbol,e=>{L.value=y.contractCoinList.filter((o,t)=>o.coin===e)[0]},{deep:!0});m(()=>{v.query.symbol?(L.value=y.contractCoinList.filter((e,o)=>e.coin===v.query.symbol)[0],L.value||(L.value=y.contractCoinList[0])):L.value=y.contractCoinList[0]});const x=l(!1),C=()=>{x.value=!0};return(e,n)=>{const l=o;return c(),p("div",null,[d(l,{currentName:f(t)("trade_tab5",["paxpay","latcoin"]),border_bottom:!0},null,8,["currentName"]),d(s,{coinInfo:f(L),onShowSidePopup:C},null,8,["coinInfo"]),d(r,{coinInfo:f(L)},null,8,["coinInfo"]),d(a,{show:f(x),onHandelClose:n[1]||(n[1]=e=>x.value=!1),direction:"left",height:"100%",width:"80%",showHeader:!1,empty:!1},{emptyContentCustomize:h(()=>[d(i,{onClose:n[0]||(n[0]=e=>x.value=!1),headerList:j.headerList},null,8,["headerList"])]),_:1},8,["show"])])}}};export{j as default};
