PageSourceSearch

https://www.offshore-mag.com/_nuxt/WebProfiles-CYgtMF7O.mjs

js offshore-mag.com collected 2026-09-24 08:28:17 UTC 2,456 bytes, 1 lines download raw bytes

1import{r as e}from"./rolldown-runtime-B0Z9INg1.mjs";import{A as t,D as n,E as r,H as i,Ht as a,Ln as o,Mn as s,N as c,O as l,Ot as u,P as d,Pt as f,Zt as p,ct as m,it as h,k as g,kn as _,tt as v,un as y,y as b}from"./vue.runtime.esm-bundler-DK-ieOMu.mjs";import{t as x}from"./WebButtonElement-BNGBrWtL.mjs";import{m as S}from"#entry";import{t as C}from"./WebHTML-ftG_2695.mjs";var w=e({default:()=>F});f(),i(),y();var T={class:`left`},E={key:0,class:`profile-image`},D={class:`profile-content`},O={key:0,class:`profile-name`},k=[`href`],A={key:1},j={key:1,class:`profile-title`},M={key:2,class:`profile-subtitle`},N=[`id`],P=[`onClick`],F={__name:`WebProfiles`,props:{profiles:{type:Array,required:!0},backgroundColor:{type:String}},setup(e){let i=a([]),f=a([]);function y(e){i.value.includes(e.id)?i.value=i.value.filter(t=>t!==e.id):i.value.push(e.id)}function w(e){return e.scrollHeight>e.clientHeight||e.scrollWidth>e.clientWidth}let F=r(()=>({"--background-color":e.backgroundColor&&e.backgroundColor.includes(`#`)?e.backgroundColor:e.backgroundColor&&!e.backgroundColor.includes(`#`)?`var(--color-${e.backgroundColor})`:`var(--color-secondary-container)`}));return v(()=>{e.profiles.forEach(e=>{let t=document.getElementById(`profileText${e.id}`);t&&w(t)&&f.value.push(e.id)})}),(r,a)=>{let v=S,w=x,I=C;return h(),t(`div`,{class:`web-profiles`,style:s(p(F))},[(h(!0),t(b,null,m(e.profiles,e=>(h(),t(`div`,{key:e.id,class:`profile-item`},[n(`div`,T,[e.primaryImage?(h(),t(`div`,E,[d(v,{src:e.primaryImage.src.split(`?`)[0]+`?w=120&h=120&fit=crop`,style:{width:`100%`},alt:e.name},null,8,[`src`,`alt`])])):g(``,!0),e.publicEmail?(h(),l(w,{key:1,type:`link`,mode:`solid`,link:`mailto:${e.publicEmail}`,class:`profile-email`},{default:u(()=>[...a[0]||=[c(` Email `,-1)]]),_:1},8,[`link`])):g(``,!0)]),n(`div`,D,[e.name?(h(),t(`h3`,O,[e?.siteContext?.canonicalUrl?(h(),t(`a`,{key:0,href:e.siteContext.canonicalUrl},o(e.name),9,k)):(h(),t(`span`,A,o(e.name),1))])):g(``,!0),e.title?(h(),t(`h3`,j,o(e.title),1)):g(``,!0),e.subtitle?(h(),t(`h3`,M,o(e.subtitle),1)):g(``,!0),e.body??e.bio?(h(),t(`div`,{key:3,class:_([`profile-bio`,p(i).includes(e.id)?`expanded`:``])},[n(`div`,{id:`profileText${e.id}`,class:`text`},[d(I,{html:e.body??e.bio},null,8,[`html`])],8,N),p(f).includes(e.id)?(h(),t(`div`,{key:0,class:`show-more`,onClick:()=>y(e)},o(p(i).includes(e.id)?`Show less`:`Show more`),9,P)):g(``,!0)],2)):g(``,!0)])]))),128))],4)}}};export{F as n,w as t};

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.