1import{A as k,E as x,It as f,M as h,Pt as e,S as y,T as v,Tt as _,W as F,X as d,dt as u,t as g,w}from"./vue.esm-bundler-oxAUYVOu.js";import{g as S,h as V}from"./useApi-BPuI6ZR9-CdqwwY9R.js";import{t as P}from"./useMediaQuery-BOqQ-eP1.js";import{c as M}from"./app-BstH_CEz.js";import{t as T}from"./trackStore-6c12C4jR.js";import{t as z}from"./VisitorFlowMapPanel-BdEJCZ2Y.js";import{t as A}from"./VisitorFlowMobileOverlay-CSI7VG0F.js";import{t as B}from"./VisitorFlowStatsPanel-BAvI6IfZ.js";g();var D=()=>{const p=S(),l=V(),m=_("visitor-flow"),a=_("horizontal");return u(m,o=>{const n=o==="visitor-path"?"TrackAnalysisVisitorPath":o==="visitor-flow"?"TrackAnalysisVisitorFlow":null;n&&l.name!==n&&p.push({name:n,params:l.params,query:l.query})}),{actionStackDirection:a,mobileActiveView:m}};g();var C={class:"flex h-full w-full flex-col gap-4 xl:grid xl:grid-cols-[minmax(0,1fr)_minmax(0,1fr)] 3xl:grid-cols-[minmax(0,1fr)_minmax(0,1.5fr)]"},E=h({__name:"VisitorFlowPage",setup(p){const l=V(),m=P(),a=y(()=>m.isDesktop.value),o=T(),{mapElements:n,mapId:b}=M(o),{actionStackDirection:i,mobileActiveView:t}=D();return u(t,r=>{if(a.value){i.value="horizontal";return}i.value=r==="map"?"horizontal":"vertical"},{immediate:!0}
1),u(a,r=>{if(r||t.value==="map"){i.value="horizontal";return}i.value="vertical"},{immediate:!0}),u([a,t],([r,s])=>{o.setFloorSelectorVisibleOnMobile(r||s==="map")},{immediate:!0}),F(()=>{o.resetFloorSelectorMobileVisibility()}),(r,s)=>(d(),x("div",C,[e(t)!=="map"||a.value?(d(),w(B,{key:0,class:f(e(t)==="map"?"hidden lg:flex":"flex")},null,8,["class"])):v("",!0),e(t)==="map"||a.value?(d(),w(z,{key:1,"action-stack-direction":e(i),elements:e(n),"map-id":String(e(b)),"show-branding":!e(l).meta.disableGlobalBranding,class:f(e(t)==="map"?"flex":"hidden lg:flex")},null,8,["action-stack-direction","elements","map-id","show-branding","class"])):v("",!0),k(A,{"active-view":e(t),direction:e(i),"onUpdate:activeView":s[0]||(s[0]=c=>t.value=c),"onUpdate:direction":s[1]||(s[1]=c=>i.value=c)},null,8,["active-view","direction"])]))}}),j=E;export{j 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.