PageSourceSearch

https://www.offshore-mag.com/_nuxt/WebHTML-ftG_2695.mjs

js offshore-mag.com collected 2026-09-24 08:28:01 UTC 3,054 bytes, 2 lines download raw bytes

1import{a as e,r as t}from"./rolldown-runtime-B0Z9INg1.mjs";import{A as n,D as r,H as i,Mn as a,O as o,Tn as s,an as c,c as l,en as u,h as d,it as f,k as p,kn as m,kt as h,o as g,on as _,st as v,un as y}from"./vue.runtime.esm-bundler-DK-ieOMu.mjs";import{f as b}from"./error-Dvy0PY9B.mjs";import{t as x}from"./_plugin-vue_export-helper-BDNMzG2s.mjs";import{o as S,s as C}from"#entry";import{t as w}from"./WebImage-BRmiTuSd.mjs";import{t as T}from"./sanitize-html-CoRWXNaY.mjs";import{n as E}from"./WebContentListNew-pth7X-q2.mjs";import{n as D}from"./WebSubscribeNew-DrYKrZM4.mjs";g(),g(),C(),y();var O=Object.create(null);function k(e,t){if(!s(e)){if(e.nodeType)e=e.innerHTML;else return u}let n=_(e,t),r=O[n];if(r)return r;if(e[0]===`#`){let t=document.querySelector(e);e=t?t.innerHTML:``}let i=c({hoistStatic:!0,onError:void 0,onWarn:u},t);!i.isCustomElement&&typeof customElements<`u`&&(i.isCustomElement=e=>!!customElements.get(e));let{code:a}=S(e,i),o=Function(`Vue`,a)(l);return o._rc=!0,O[n]=o}v(k);var A=e(T()),j=Object.assign({components:{WebContentListNew:E,WebSubscribeNew:D},props:{html:{type:String}},setup(e){return k(`<div>${(0,A.default)(e.html,{allowedTags:!1,allowedAttributes:!1,nonBooleanAttributes:[`*`],allowVulnerableTags:!0,selfClosing:[`img`,`br`,`hr`,`area`,`base`,`basefont`,`input`,`link`,`meta`],parser:{lowerCaseTags:!1}})}</div>`)}},{__name:`WebVueInHtml`}),M=t({default:()=>L});i(),y(),g();var N={props:{fontFamily:String,html:{type:String,required:!0},textAlign:{type:String,default:`left`},textWidth:{type:String,default:`100`},showPreview:{type:Boolean,default:!1},ungatedParagraphs:{type:Number,default:1},embedPrimaryImage:{type:Boolean,default:!1},primaryImage:{type:Object,default:()=>{}},logoEmbedLocation:{type:String,default:`right-wrap`},useVueInHtml:{type:Boolean,default:!1}},computed:{isPrintPage(){return b().fullPath.includes(`/print/content/`)},newHtml(){let e=this.html.replace(/<div class="iav-target"\/[^\0]*?>/gm,`<div class="iav-target"></div>`);if(this.showPreview){let t=this.html.match(/<p[^\0]*?<\/p>/gm);e=t?.length?t.slice(0,this.ungatedParagraphs).join(`
2`):e}return e}}},P=[`innerHTML`],F={class:`preview-overlay`};function I(e,t,i,s,c,l){let u=w,g=j;return f(),n(`div`,{style:a({width:`${i.textWidth}%`,textAlign:i.textAlign})},[r(`section`,{style:a({fontFamily:i.fontFamily,fontSize:`1.1rem`,lineHeight:`1.8rem`}),class:`web-html`},[i.logoEmbedLocation!==`none`&&i.embedPrimaryImage?(f(),n(`div`,{key:0,class:m(`embedded-image ${i.logoEmbedLocation}`)},[i.embedPrimaryImage?(f(),o(u,{key:0,image:i.primaryImage.src,credit:i.primaryImage.credit,caption:i.primaryImage.caption,"is-logo":!0,alt:i.primaryImage.alt,"credit-position":`top`},null,8,[`image`,`credit`,`caption`,`alt`])):p(``,!0)],2)):p(``,!0),l.newHtml&&i.useVueInHtml?(f(),o(g,{key:1,html:l.newHtml,class:`html`},null,8,[`html`])):(f(),n(`div`,{key:2,class:`html`,innerHTML:l.newHtml},null,8,P)),h(r(`div`,F,null,512),[[d,i.showPreview]])],4)],4)}var L=Object.assign(x(N,[[`render`,I]]),{__name:`WebHTML`});export{M as n,L 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.