1import{n as o,a as m,c as u,u as d,b as p,j as i,Q as f,m as x,p as b}from"./index-Cq3p5cmz.js";import{m as c,S as g,B as h}from"./vendor-mui-C1Ues8wz.js";import"./vendor-axios-BjtuyMK1.js";import"./vendor-date-fns-BnpE0Ung.js";import"./vendor-lodash-BARWvCnB.js";function k(){const l=o(b),{updateDataLayer:t}=m(),{kitchenId:n}=u(),{token:s}=d(),a=o(x),e=p(),[r]=c.useState(!0);return c.useEffect(()=>{a&&s&&(t("skip-to-menu"),e(`/diners/kitchens/${n}`,{replace:!0}))},[a,s,n,e,t]),i.jsxDEV(g,{sx:{position:"relative",overflow:"hidden",flex:1,justifyContent:"center",alignItems:"center",textAlign:"center"},children:i.jsxDEV(h,{sx:{width:"100%",maxWidth:600},children:r&&i.jsxDEV(f,{open:r,diner:l,onCancel:()=>e("/diners/landing")},void 0,!1,{fileName:"/tmp/build_b88208fb/client-virtualWaiter/src/components/DinersView/KitchenRegistrationPage/index.jsx",lineNumber:41,columnNumber:11},this)},void 0,!1,{fileName:"/tmp/build_b88208fb/client-virtualWaiter/src/components/DinersView/KitchenRegistrationPage/index.jsx",lineNumber:39,columnNumber:7},this)},void 0,!1,{fileName:"/tmp/build_b88208fb/client-virtualWaiter/src/components/DinersView/KitchenRegistrationPage/index.jsx",lineNumber:29,columnNumber:5},this)}export{k 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.