1import{j as r,Z as t,i as n,Q as i,b as a,r as m,H as c}from"./index-093ed4f9.js";import{C as d,a as p,b as C,e as x,c as h}from"./Card-ba9d6670.js";const F=({form:e})=>r.jsx("li",{className:"px-4 py-3 grid grid-flow-row w-full",children:r.jsx("a",{href:e.url,target:"_blank",type:t,className:"text-lg text-primary-foreground font-bold bg-primary rounded p-3 w-full",onClick:u=>{n()&&(u.preventDefault(),fetch(e.url).then(l=>i(e,l)))},children:e.title})},e.title);function g(){const{t:e,i18n:u}=a();m.useEffect(()=>{document.title=e("useful-form.useful-form.title")},[u.language]);const l=c(),f=[{title:e("useful-form.useful-form.accident"),url:e("useful-form.useful-form.accidentUrl")},{title:e("useful-form.useful-form.curePriorApproval"),url:e("useful-form.useful-form.curePriorApprovalUrl")},{title:e("useful-form.useful-form.priorApproval"),url:e("useful-form.useful-form.priorApprovalUrl")}],o=[{title:e("useful-form.useful-form.cernCHISF02"),url:e("useful-form.useful-form.cernCHISF02Url")},{title:e("useful-form.useful-form.cernCHISF03"),url:e("useful-form.useful-form.cernCHISF03Url")},{title:e("useful-form.useful-form.cernCHISF05"),url:e("useful-form.useful-form.cernCHISF05Url")},{title:e("useful-form.useful-form.cernCHISF06"),url:e("useful-form.useful-form.cernCHISF06Url")},{title:e("useful-form.useful-form.cernCHISF07"),url:e("useful-form.useful-form.cernCHISF07Url")}];return r.jsxs(d,{className:"w-full border-none shadow-none bg-primary",children:[r.jsxs(p,{children:[r.jsx(C,{className:"flex justify-between items-center",children:e("useful-form.useful-form.title")}),r.jsx(x,{children:e("useful-form.useful-form.description")})]}),r.jsx(h,{children:r.jsx("ul",{className:"bg-background rounded",children:[...l.user?.profile.customerID===1?o:f].map(s=>r.jsx(F,{form:s},s.title))})})]})}export{g as Component};
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.