1import{d as C,bK as D,o as l,c,j as t,ao as y,an as n,w as _,ap as d,bL as U,bM as w,D as E,bN as F,bO as O,b as e,k as J,ae as $,bJ as x,n as b,bF as M,aI as B,bj as K,r as Y,h as S,v as Z}from"./C2i3VHsF.js";import{_ as q}from"./CN3YmN7d.js";import{_ as G,a as P,b as Q,c as W}from"./mapLvCCb.js";import{u as X,a as ee}from"./CsIgT5Ik.js";import"./BXfSPKp2.js";import"./BPNtONYh.js";import"./CUbsMcgx.js";import"./CGtugDWL.js";import"./BR6p1_aO.js";import"./CuE_I9cF.js";import"./zF-A6mWY.js";import"./yddHjrpG.js";import"./DO-Sup8Z.js";import"./edOYkSCx.js";import"./C5xvrIxx.js";import"./i3slV3KF.js";import"./lRvc0DYd.js";import"./hBgkOPjx.js";import"./DW7oRU_r.js";import"./B8fR0R-w.js";import"./DYRjDSQF.js";import"./CFS6d_oR.js";import"./-xVt6KJz.js";const te={key:0,class:"sticky w-full top-0 z-[100] px-3 sm:px-4 py-2.5 flex justify-between items-center bg-[#dbebf5] dark:bg-[#1c3341]"},se={class:"flex-1"},ae={class:"text-xs sm:text-sm leading-tight text-center"},oe={class:"shrink-0"},ne=C({__name:"HeaderAlert",props:{visible:{type:Boolean,default:!1},visibleModifiers:{}},emits:["update:visible"],setup(h){const a=D(h,"visible");return(s,r)=>{const p=q;return a.value?(l(),c("div",te,[t("div",se,[t("p",ae,y(s.$profile.user.general_nofication.message),1)]),t("div",oe,[n(p,{color:"gray",variant:"ghost",onClick:r[0]||(r[0]=u=>a.value=!a.value)},{default:_(()=>[...r[1]||(r[1]=[t("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"size-5"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 18 18 6M6 6l12 12"})],-1)])]),_:1})])])):d("",!0)}}}),re=Object.assign(ne,{__name:"HeaderAlert"}),le={class:"flex flex-wrap relative flex-1"},ie={class:"relative h-dvh bg-white dark:bg-gray-900 border-r border-gray-100 dark:border-gray-800"},ce={class:"flex flex-col"},de={key:0,class:"max-sm:hidden"},pe={class:"pl-2.5"},ue={class:"px-3 py-2 relative inline-flex items-center bg-gray-700 rounded-lg"},me={class:"text-sm text-white tracking-tight font-medium whitespace-nowrap"},fe={class:"relative py-4 min-w-60 bg-white ring-1 ring-gray-100 shadow-lg dark:bg-gray-800 rounded-lg dark:ring-gray-700"},_e=["href"],ve={class:"-translate-x-2 group-hover:translate-x-0 transition-transform ease-in whitespace-nowrap"},ge={class:"flex-1 min-w-0 min-h-dvh"},xe={class:"flex-1 flex flex-col"},Fe=C({name:"LayoutMarket",__name:"market",setup(h){const a=U("openCloseSidebar"),s=S(),r=S(!0),p=w("sidebarRef"),u=w("infoRef"),v=E(),{height:m,top:R}=X(u),{arrivedState:j}=ee(document),f=Z(()=>v.$profile.isLoggedIn&&r.value&&v.$profile.user.general_nofication&&v.$profile.user.general_nofication.enable);function z(g){s.value=g,u.value&&s.value&&(s.value.y-=R.value,s.value.y-=m.value)}return(g,o)=>{const k=F,A=O,H=re,L=G,N=P,V=Q,I=W;return l(),c(B,null,[n(A,null,{default:_(()=>[n(k,{name:"viewport",content:"width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no"}),n(k,{name:"theme-color",content:"#030712"})]),_:1}),e(f)?(l(),J(H,{key:0,ref_key:"infoRef",ref:u,visible:e(r),"onUpdate:visible":o[0]||(o[0]=i=>$(r)?r.value=i:null)},null,8,["visible"])):d("",!0),t("div",le,[t("aside",{class:b(["transition-all duration-300 h-dvh sticky z-[100]",{"translate-x-0 w-16":e(a),"max-sm:-translate-x-full w-60":!e(a)}]),style:x({top:e(f)?`${e(m)}px`:0,transform:`translateY(${e(f)&&e(j).bottom?e(m):0}px)`})},[t("div",ie,[t("div",ce,[t("div",{class:b(["flex h-16 items-center border-b border-gray-100 dark:border-gray-800",e(a)?"justify-center":"justify-between px-4 lg:px-5"])},[t("a",{href:"/","aria-label":"Indodax",class:b(["transition-all duration-200",{"w-0 invisible opacity-0 overflow-hidden":e(a)}])},[n(L)],2),n(N,{toggle:e(a),"onUpdate:toggle":o[1]||(o[1]=i=>$(a)?a.value=i:null)},null,8,["toggle"])],2),n(V,{ref_key:"sidebarRef",ref:p,onMenu:z},null,512),e(a)?(l(),c("div",de,[n(M,{"enter-active-class":"transition duration-200 ease-out","enter-from-class":"translate-x-4 opacity-0","enter-to-class":"translate-x-0 opacity-100","leave-active-class":"transition duration-150 ease-in","leave-from-class":"translate-x-0 opacity-100","leave-to-class":"translate-x-4 opacity-0"},{default:_(()=>[e(s)&&e(s).text?(l(),c("div",{key:0,class:"absolute left-full",style:x({top:e(s).y+5+"px"})},[t("div",pe,[t("div",ue,[o[3]||(o[3]=t("div",{class:"absolute right-full h-0 w-0 border-y-8 border-y-transparent border-r-[10px] border-r-gray-700"},null,-1)),t("span",me,y(e(s).text),1)])])],4)):d("",!0)]),_:1}),n(M,{"enter-active-class":"transition duration-200 ease-out","enter-from-class":"translate-x-4 opacity-0","enter-to-class":"translate-x-0 opacity-100","leave-active-class":"transition duration-150 ease-in","leave-from-class":"translate-x-0 opacity-100","leave-to-class":"translate-x-4 opacity-0"},{default:_(()=>[e(s)&&e(s).keepAlive&&e(s).child.length>0?(l(),c("div",{key:0,class:"absolute left-full",style:x({top:e(s).y+5+"px"})},[t("div",{class:"pl-2.5 text-gray-600 dark:text-gray-300",onMouseleave:o[2]||(o[2]=i=>e(p).keepMeAlive(!1))},[t("ul",fe,[(l(!0),c(B,null,K(e(s).child,(i,T)=>(l(),c("li",{key:T},[t("a",{href:i.link,target:"_blank",class:"group px-3 py-2.5 flex items-center text-sm tracking-tight font-medium capitalize transition hover:bg-[#eff6ff] dark:hover:bg-sky-950/50"},[o[4]||(o[4]=t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",class:"size-4 scale-0 -translate-x-2 group-hover:scale-100 group-hover:translate-x-0 transition-transform ease-in"},[t("path",{"fill-rule":"evenodd",d:"M8.22 5.22a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.75.75 0 0 1-1.06-1.06L11.94 10 8.22 6.28a.75.75 0 0 1 0-1.06Z","clip-rule":"evenodd"})],-1)),t("span",ve,y(i.text),1)],8,_e)]))),128))])],32)],4)):d("",!0)]),_:1})])):d("",!0)])])],6),t("div",ge,[n(I,{toggle:"",top:e(f)?e(m):0},null,8,["top"]),t("main",xe,[Y(g.$slots,"default")])])])],64)}}});
1export{Fe as default};
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.