1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/LegalRequestDialog-CW7Xk5wZ.js","assets/react-pdf-CiRvGOjn.js","assets/ag-grid-react-Cvi7zz2g.js","assets/ag-grid-community-DgkugROF.js","assets/jspdf-D30lQ_ys.js","assets/Visibility-Dcx-z9TN.js","assets/index-BeCDJ2GY.js","assets/ag-grid-enterprise-BRKZrOzu.js","assets/ag-charts-B9701BJR.js","assets/microsoft-BQSsBj1o.js","assets/index-HjXQqGBp.css","assets/Delete-BdUVppGu.js","assets/useFetchLegalRequestAttachmentsById-BOGy_qah.js","assets/AttachFile-CoQmTrQk.js","assets/Grid-BBMrhGf-.js","assets/MenuItem-BooRt6AV.js","assets/Autocomplete-BdHFHlqd.js","assets/Chip-RgG0-0Mv.js","assets/FormControlLabel-DdWjzyZX.js","assets/Checkbox-CdFJdX_5.js","assets/SwitchBase-TlZjw4VG.js","assets/DialogActions-C-5Bg9Od.js","assets/InputAdornment-an9r9uQO.js","assets/ListItem-fQTYOw8q.js","assets/useUserMap-CE5F7pXW.js","assets/Link-DeuMXBsb.js","assets/OpsRequestDialog-Drbww-2k.js","assets/Edit-B5yG1cT6.js","assets/AddCircleOutlined-KKJf3akn.js","assets/DatePicker-CgsWvtlb.js","assets/useThemeProps-BFOzI-2-.js","assets/index-CdJKtI6t.js","assets/index-Chjiymov.js","assets/formatErrorMessage-DkKmrRLY.js","assets/visuallyHidden-Dan1xhjv.js","assets/AdapterDateFns-DBLxwNC-.js","assets/Tabs-DVjYnumP.js","assets/KeyboardArrowRight-DX6dh-af.js"])))=>i.map(i=>d[i]); 2import{_ as c}from"./jspdf-D30lQ_ys.js";import{j as e}from"./react-pdf-CiRvGOjn.js";import{r as s}from"./ag-grid-react-Cvi7zz2g.js";import{l as p,a as g,P as j,f as a,k as M,T as l,y as _}from"./index-BeCDJ2GY.js";import{M as v}from"./MenuCardGrid-dza-O3PD.js";import"./ag-grid-community-DgkugROF.js";import"./ag-grid-enterprise-BRKZrOzu.js";import"./ag-charts-B9701BJR.js";import"./microsoft-BQSsBj1o.js";import"./CardContent-GKLn5Lh1.js";const S=p(e.jsx("path",{fillRule:"evenodd",d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m4.9 13.49-1.4 1.4c-.2.2-.51.2-.71 0l-3.41-3.41c-1.22.43-2.64.17-3.62-.81-1.11-1.11-1.3-2.79-.59-4.1l2.35 2.35 1.41-1.41-2.35-2.34c1.32-.71 2.99-.52 4.1.59.98.98 1.24 2.4.81 3.62l3.41 3.41c.19.19.19.51 0 .7"})),C=p(e.jsx("path",{d:"m5.2497 8.0687 2.83-2.8268 14.1342 14.15-2.83 2.8269zm4.2361-4.2415 2.828-2.8288 5.6577 5.656-2.828 2.8288zM.999 12.3147l2.8284-2.8284 5.6569 5.6568-2.8285 2.8285zM1 21h12v2H1z"})),I=s.lazy(()=>c(()=>import("./LegalRequestDialog-CW7Xk5wZ.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25]))),b=s.lazy(()=>c(()=>import("./OpsRequestDialog-Drbww-2k.js"),__vite__mapDeps([26,1,2,3,4,5,6,7,8,9,10,11,27,12,28,13,17,29,30,31,32,33,34,22,21,23,35,14,15,19,20,36,37])));function D(){const{canAccessItem:t,isAuthLoading:m}=g(),[u,i]=s.useState(!1),[d,o]=s.useState(!1),r=s.useMemo(()=>[{title:"Legal Request Form",icon:e.jsx(C,{sx:{fontSize:40,color:"#3b82f6"}}),action:"open-legal-requests"},{title:"Notice To Shipper Form",icon:e.jsx(S,{sx:{fontSize:40,color:"#059669"}}),action:"open-ops-requests",permissions:j.NoticeToShipperAll}],[]),x=s.useMemo(()=>r.filter(t),[r,t]),f=n=>{if(n.action==="open-legal-requests"){i(!0);return}n.action==="open-ops-requests"&&o(!0)},h=()=>{_.success("Ops request submitted."),o(!1)};return m?e.jsxs(a,{sx:{display:"flex",flex:1,justifyContent:"center",alignItems:"center",height:"60vh",gap:2},children:[e.jsx(M,{}),e.jsx(l,{variant:"h6",children:"Loading User Permissions"})]}):e.jsxs(a,{sx:{height:"100%",boxSizing:"border-box",px:{xs:2,md:4},py:{xs:2,md:3},mx:"auto",width:"100%",overflow:"auto"},children:[e.jsx(l,{variant:"h5",sx:{mb:2,textAlign:"left",fontWeight:"bold"},children:"Forms Menu"}),e.jsx(v,{items:x,onItemClick:f}),e.jsx(I,{open:u,onClose:()=>i(!1)}),e.jsx(b,{open:d,onClose:()=>o(!1),onSubmitted:h})]})}export{D 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.