1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="1bd5511b-7018-46f2-8adf-b5afe2ce41e0",e._sentryDebugIdIdentifier="sentry-dbid-1bd5511b-7018-46f2-8adf-b5afe2ce41e0")}()}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5462],{35462:(e,t,a)=>{a.r(t),a.d(t,{default:()=>y});var s=a(79237),r=a(19125),n=a(81742),l=a(66960),c=a(83125),o=a(21083),i=a(77222),d=a(38113);let u={home:"home",markets:"market",perpetual:"perpetual",asset:"assets"};var p=a(60173);let f=["/wallet/overview","/wallet/spot","/wallet/futures","/wallet/financial","/wallet/address","/records/deposit","/records/withdraw","/records/transfer","/records/other"],m=["/futures/data/position-tiers","/futures/data/funding-rate","/futures/data/mark-price","/futures/data/mark-price/demo-trading"];function h(e,t){return e===t||e.startsWith("".concat(t,"/"))}function b(e){let t=function(e){let t=(0,p.Eq)(e);return(t?e.slice("/".concat(t).length):e)||"/"}(e);return f.some(e=>h(t,e))?"asset":h(t,"/markets")?"markets":!(m.includes(t)||h(t,"/futures/orders"))&&h(t,"/futures")?"perpetual":h(t,"/asset")?"asset":h(t,"/home")||"/"===t?"home":null}var g=a(98705);let k="absolute inset-0 size-[30px] transition-opacity duration-100",x=[{key:"home",path:"/home"},{key:"markets",path:"/markets"},{key:"perpetual",path:"/futures/BTC-USDT"},{key:"asset",path:"/wallet/overview"}];function y(e){let{placeholderColor:t="var(--color-bg7)"}=e,{$t:a}=(0,l.B)(),{theme:p}=(0,n.W)(),f=(0,i.useRouter)(),m=(0,r.q)(),h=(0,i.usePathname)(),y=(0,d.useMemo)(()=>{let e={home:a("Home"),markets:a("Markets"),perpetual:a("Perpetual"),asset:a("Asset")};return x.map(t=>({...t,label:e[t.key],icon:function(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",s=u[t],r="".concat(a,"/next-web/pwa/tabs/").concat(e,"-").concat(s);return{selected:"".concat(r,"-selected.png"),unselected:"".concat(r,"-unselected.png")}}(p,t.key,"https://cdn.tapbit.mobi")}))},[a,p]),w=(0,d.useMemo)(()=>b(h),[h]),v=(0,o.A)(e=>{var t;if(t=e.key,b(h)===t)return;let{path:a}=e;f.push(m(a))});return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{"aria-hidden":!0,className:g.Sm,style:{backgroundColor:t}}),(0,s.jsx)("div",{className:"bg-bg7 fixed bottom-0 left-0 z-[200] w-full ".concat(g.Sm," shadow-[0px_-0.5px_0px_0px_var(--color-l1)]"),children:(0,s.jsx)("nav",{className:"pt-s1 pb-s3 flex w-full items-start gap-4 ".concat(g.mH),children:y.map(e=>{let t=e.key===w;return(0,s.jsxs)("button",{type:"button","aria-label":e.label,className:"flex flex-1 cursor-pointer flex-col items-center gap-px",onClick:()=>v(e),children:[(0,s.jsxs)("span",{"aria-hidden":!0,className:"relative size-[30px] shrink-0",children:[(0,s.jsx)(c.Image,{className:"".concat(k," ").concat(t?"opacity-0":"opacity-100"),src:e.icon.unselected,alt:"",width:30,height:30,loading:"eager",unoptimized:!0,dpi:3}),(0,s.jsx)(c.Image,{className:"".concat(k," ").concat(t?"opacity-100":"opacity-0"),src:e.icon.selected,alt:"",width:30,height:30,loading:"eager",unoptimized:!0,dpi:3})]}),(0,s.jsx)("span",{className:"text-[10px] ".concat(t?"text-t1":"text-t4"),children:e.label})]},e.key)})})})]})}}}]);
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.