1import{j as e}from"./vendor-ui-BUR-GDUn.js";import{d,N as p,c2 as n,P as h,F as g,s as o,E as l}from"./index-B0Fu6ckJ.js";import{f as u,r as m}from"./vendor-react-DCbXEM4Z.js";import"./vendor-dnd-CecOPVzN.js";import"./vendor-editor-CS7TB4mw.js";import"./vendor-charts-BbJn_gn3.js";import"./vendor-data-CUxnnq7o.js";const w=()=>{const t=u(),[s,c]=m.useState({});m.useEffect(()=>{(async()=>{const{data:{session:i}}=await o.auth.getSession();if(!i){t("/exhibitor-portal/login");return}const{data:a,error:r}=await o.from("exhibitors").select("name, booth_number").eq("user_id",i.user.id).maybeSingle();if(r){console.error("Error fetching exhibitor:",r);return}a&&c(a)})()},[t]);const x=[{id:"sampling-title",component:e.jsx("section",{className:"py-12",children:e.jsxs("div",{className:"container mx-auto px-4",children:[e.jsx(l,{pageName:"exhibitor-sampling",sectionName:"title",contentKey:"heading",defaultValue:"Sampling",className:"text-4xl font-bold mb-4 text-foreground",as:"h1"}),e.jsx(l,{pageName:"exhibitor-sampling",sectionName:"title",contentKey:"description",defaultValue:"Coming soon",className:"text-lg text-muted-foreground max-w-3xl",as:"p"})]})})}];return e.jsxs(e.Fragment,{children:[e.jsx(d,{titlePrefix:"Sampling - Exhibitor Portal",noIndex:!0}),e.jsxs("div",{className:"min-h-screen flex flex-col",children:[e.jsx(p,{}),e.jsx("main",{className:"flex-1 pt-page pb-12",children:e.jsx("div",{className:"container mx-auto px-6",children:e.jsxs("div",{className:"flex gap-8 mt-[60px]",children:[e.jsx("aside",{className:"w-64 flex-shrink-0 sticky top-24 h-fit hidden lg:block",children:e.jsx(n,{exhibitorName:s==null?void 0:s.name,standNumber:s==null?void 0:s.booth_number,renderTrigger:!1,alwaysVisible:!0})}),e.jsx("div",{className:"lg:hidden fixed top-20 left-4 z-50",children:e.jsx(n,{exhibitorName:s==null?void 0:s.name,standNumber:s==null?void 0:s.booth_number,renderTrigger:!0})}),e.jsx("div",{className:"flex-1 min-w-0",children:e.jsx(h,{pageName:"exhibitor-sampling",sections:x})})]})})}),e.jsx(g,{})]})]})};export{w 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.