1import{M as e,P as t,t as n}from"./jsx-runtime-G4NFK4Wr.js";import{a as r,t as i}from"./company-Iv-oCYwM.js";import{t as a}from"./Icons-C-lSmRvV.js";import{a as o,c as s,l as c,n as l,o as u,s as d}from"./Footer-BCzbpIKt.js";var f=t(e(),1),p=n(),m=d.filter(e=>e.label===`MikroTik Certificate Search`);function h({onLight:e=!1,links:t=d}){return(0,p.jsx)(`div`,{className:`mk-verify ${e?`on-light`:``}`,children:t.map(e=>(0,p.jsxs)(`a`,{className:`mk-verify-link`,href:e.href,target:`_blank`,rel:`noopener noreferrer`,children:[e.label,` `,(0,p.jsx)(a.ext,{})]},e.label))})}function g({cert:e,trainer:t=!1,onDark:n=!1,interactive:r=!0}){let[i,o]=(0,f.useState)(!1),s=t?`TRAINER`:e.program,c=l[s]??e.program,u=`${t?`mk-trainer-pill`:`mk-cert-pill`} ${n?`on-dark`:``}`,d=t?(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(a.award,{}),` MikroTik Certified Trainer`]}):(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(`span`,{className:`d`}),` `,e.program]});return r?(0,p.jsxs)(`button`,{type:`button`,className:`${u} is-interactive`,onClick:()=>{let t=()=>{o(!0),setTimeout(()=>o(!1),1300)};try{navigator.clipboard?.writeText?navigator.clipboard.writeText(e.certificateNo).then(t,t):t()}catch{t()}},"aria-label":`${s} â ${c} · Cert. ${e.certificateNo}. Clicca per copiare il numero di certificato`,children:[d,(0,p.jsxs)(`span`,{className:`mk-cert-pop`,role:`tooltip`,children:[(0,p.jsxs)(`span`,{className:`nm`,children:[(0,p.jsx)(`strong`,{children:s}),` â `,c]}),(0,p.jsxs)(`span`,{className:`cn`,children:[`Cert. `,e.certificateNo]}),(0,p.jsx)(`span`,{className:`cp`,children:i?`â Copiato`:`Clicca per copiare`})]})]}):(0,p.jsx)(`span`,{className:u,title:`${s} â ${c} · Cert. ${e.certificateNo}`,children:d})}function _({member:e,onDark:t=!1,interactive:n=!0}){let r=s(e),i=r.find(e=>e.program===`TRAINER`),a=r.filter(e=>e.program!==`TRAINER`);return(0,p.jsxs)(`div`,{className:`mk-certs-block`,children:[i&&(0,p.jsx)(g,{cert:i,trainer:!0,onDark:t,interactive:n}),a.length>0&&(0,p.jsx)(`div`,{className:`mk-cert-pills`,children:a.map(e=>(0,p.jsx)(g,{cert:e,onDark:t,interactive:n},e.program))})]})}function v({member:e}){return(0,p.jsxs)(`article`,{className:`mk-consultant`,children:[(0,p.jsxs)(`div`,{className:`mk-consultant-head`,children:[(0,p.jsx)(`span`,{className:`mk-avatar`,"aria-hidden":`true`,children:e.initials}),(0,p.jsxs)(`div`,{children:[(0,p.jsx)(`div`,{className:`nm`,children:e.name}),(0,p.jsx)(`div`,{className:`role`,children:e.role})]})]}),(0,p.jsx)(`p`,{dangerouslySetInnerHTML:{__html:e.bio}}),(0,p.jsx)(_,{member:e}),c(e)&&(0,p.jsxs)(`div`,{className:`mk-course-note`,children:[(0,p.jsx)(`span`,{className:`ic`,children:(0,p.jsx)(a.award,{})}),(0,p.jsxs)(`span`,{children:[`Certificazioni conseguite in un corso ufficiale MikroTik erogato da Spadhausen.`,(0,p.jsxs)(p.Fragment,{children:[` `,(0,p.jsx)(`a`,{href:`/corsi-mikrotik`,children:`Scopri i corsi`})]})]})]}),(0,p.jsx)(h,{onLight:!0,links:e.consultantListed?d:m})]})}function y({node:e,base:t=!1}){let n=a[e.icon]??a.router;return(0,p.jsxs)(`div`,{className:`mk-tnode ${t?`is-base`:`is-eng`}`,children:[(0,p.jsx)(`span`,{className:`mk-tnode-seal`,"aria-hidden":`true`,children:(0,p.jsx)(n,{})}),(0,p.jsx)(`span`,{className:`mk-tnode-code`,children:e.code}),(0,p.jsx)(`span`,{className:`mk-tnode-name`,children:e.name}),(0,p.jsxs)(`a`,{className:`mk-tnode-dl`,href:e.pdf,target:`_blank`,rel:`noopener noreferrer`,"aria-label":`Apri l'outline PDF di ${e.code} â MikroTik Certified ${e.name}`,children:[(0,p.jsx)(a.download,{}),` `,(0,p.jsx)(`span`,{children:`Outline PDF`})]})]})}function b(){return(0,p.jsxs)(`div`,{className:`mk-tree`,children:[(0,p.jsx)(`div`,{className:`mk-tree-root`,children:(0,p.jsx)(y,{node:u,base:!0})}),(0,p.jsx)(`span`,{className:`mk-tree-stem`,"aria-hidden":`true`}),(0,p.jsx)(`div`,{className:`mk-tree-branches`,children:o.map(e=>(0,p.jsxs)(`div`,{className:`mk-tree-branch ${e.child?`has-child`:``}`,children:[(0,p.jsx)(y,{node:e}),e.child&&(0,p.jsx)(`span`,{className:`mk-tree-substem`,"aria-hidden":`true`}),e.child&&(0,p.jsx)(y,{node:e.child})]},e.code))})]})}function x(e){return{"@type":`Person`,"@id":r(`/#${e.id}`),name:e.name,jobTitle:e.role,worksFor:{"@type":`Organization`,name:i.legalName,url:r(`/`)},hasCredential:s(e).map(e=>({"@type":`EducationalOccupationalCredential`,credentialCategory:`certification`,name:e.program===`TRAINER`?`MikroTik Certified Trainer`:`${e.program} â MikroTik Certified ${l[e.program]}`,identifier:e.certificateNo,recognizedBy:{"@type":`Organization`,name:`MikroTik`,url:`https://mikrotik.com`}}))}}export{x as a,h as i,b as n,v as r,_ as t}; 2//# sourceMappingURL=Mikrotik-DsCUzXe1.js.map
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.