1import{x as s,b as n,r as u,w as c,j as o}from"./index-Cz3wH2jj.js";function i(){const{id:e}=s(),r=n();return u.useEffect(()=>{let a=!1;return(async()=>{if(!e||e==="new"){r(e==="new"?"/brand/products/new?role=raw":"/brand/products?role=raw",{replace:!0});return}const{data:t}=await c.from("products").select("id").eq("raw_product_id",e).maybeSingle();a||(t!=null&&t.id?r(`/brand/products/${t.id}`,{replace:!0}):r("/brand/products?role=raw",{replace:!0}))})(),()=>{a=!0}},[e,r]),o.jsx("div",{className:"p-8 text-sm text-muted-foreground",children:"Opening in Product Catalogâ¦"})}export{i 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.