PageSourceSearch

https://core16etf.com/_nuxt/Bh2FKiAi.js

js core16etf.com collected 2026-10-05 07:02:26 UTC 3,081 bytes, 1 lines download raw bytes

1import{_ as I}from"./SbAe6jDn.js";import q from"./o17oftnj.js";import S from"./BZGgxSOV.js";import{o as l,c as o,a,a1 as r,t as g,F as b,r as k,v as x,b as u,w as d,j as V,E as C,d as L}from"./B7A9RFpj.js";import"./B8IKnCnP.js";const z={class:"wrapper"},A={class:"carousel"},H={class:"posts"},P={class:"position-relative"},T=["src"],j={key:0},D={key:1},G={__name:"Carousel",props:{posts:{type:Array,required:!0},component:{type:Object,required:!0},categories:{type:Array,required:!0}},setup(n){const f=n,c=C(0),p=C(380);function _(){const s=document.getElementsByClassName("posts")[0];c.value>(f.posts.length-1)*p.value*-1&&(c.value-=p.value),s.style.left=c.value+"px"}function w(){const s=document.getElementsByClassName("posts")[0];c.value!==0&&(c.value+=p.value,s.style.left=c.value+"px")}function h(s){return s.label||(f.categories.find(t=>s.category===t.key)||{}).name||""}function B(s){return s.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;")}function v(s){if(s.length<=120)return s;const t=s.substring(0,120);return[".","!","?"].includes(t.charAt(t.length-1))?t:t+"..."}function N(s){return s.replace(/<[^>]*>/g," ").replace(/\s+/g," ").trim()}function E(s){const t=String(s??"");if(!/<[a-z][\s\S]*>/i.test(t))return v(t);const i=N(t);if(i.length<=120)return t;const m=B(v(i)),e=t.match(/^\s*<([a-z][\w:-]*)(\s[^>]*)?>/i);return!e||["script","style"].includes(e[1].toLowerCase())?m:"<"+e[1]+(e[2]||"")+">"+m+"</"+e[1]+">"}return(s,t)=>{const i=I,m=q;return l(),o("div",z,[a("div",{class:"prev arrow left",onClick:t[0]||(t[0]=e=>w())}),a("div",{class:"next arrow right",onClick:t[1]||(t[1]=e=>_())}),a("div",A,[a("header",{class:"row pb-3",style:r(n.component.cssStyleSheet.headerContainer)},[a("h2",{style:r(n.component.cssStyleSheet.header)},g(n.component.header),5)],4),a("ul",H,[(l(!0),o(b,null,k(n.posts,e=>(l(),o("li",{key:e.id,class:"post"},[a("div",P,[h(e)?(l(),o("div",{key:0,class:"label",style:r(n.component.cssStyleSheet.label)},g(h(e)),5)):x("",!0),u(i,{to:`/posts/${e.postId}`,class:"blog-link"},{default:d(()=>[a("img",{src:e.thumbnailImage,class:"carousel-image",style:r(n.component.cssStyleSheet.postImage)},null,12,T)]),_:2},1032,["to"])]),u(i,{to:`/posts/${e.postId}`,class:"blog-link"},{default:d(()=>[u(S,{tag:"h2",style:r(n.component.cssStyleSheet.postLabel),class:"blog-title",html:e.title},null,8,["style","html"])]),_:2},1032,["to"]),e.description?(l(),V(S,{key:0,tag:"div",paragraph:"",style:r(n.component.cssStyleSheet.description),html:E(e.description)},null,8,["style","html"])):x("",!0),(l(!0),o(b,null,k(e.buttons,(y,$)=>(l(),o("span",{key:$},[y.buttonLink?(l(),o("span",j,[u(m,{url:y.buttonLink,class:"btn-primary",style:r(n.component.cssStyleSheet.externalButton)},{default:d(()=>[L(g(y.buttonLabel),1)]),_:2}
1,1032,["url","style"])])):(l(),o("span",D,[u(i,{to:`/posts/${e.postId}`,class:"btn-primary",style:r(n.component.cssStyleSheet.postButton)},{default:d(()=>[...t[2]||(t[2]=[L(" Read More ",-1)])]),_:1},8,["to","style"])]))]))),128))]))),128))])])])}}};export{G 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.