PageSourceSearch

https://core16etf.com/_nuxt/WtS-H5W2.js

js core16etf.com collected 2026-10-05 07:02:25 UTC 4,053 bytes, 1 lines download raw bytes

1import M from"./Bh2FKiAi.js";import B from"./C8kOB9ZP.js";import{e as E,g as F,Z as N,o as r,c as a,i as e,a1 as l,a as s,b as w,F as m,r as v,a7 as x,n as L,t as f,j as V,v as S,l as _,E as b,a2 as j}from"./B7A9RFpj.js";import"./SbAe6jDn.js";import"./o17oftnj.js";import"./B8IKnCnP.js";import"./BZGgxSOV.js";import"./BdYz40au.js";const H={class:"container"},T={class:"container"},q={class:"nav nav-pills categories-container"},D=["onClick"],O={class:"container"},R={class:"col-6"},U={class:"container"},W={class:"col-6"},Z={class:"container"},A={key:0,class:"my-5 text-center"},G={class:"container"},I={class:"col-6"},oe={__name:"PostsComponent",props:{pageComponent:{type:Object,required:!0}},setup(z){const $=z,k=E(),t=_(()=>j($.pageComponent)),d=b("all"),g=b(!1),h=_(()=>k.postsCategories),u=_(()=>{const y=k.sortedPosts;if(t.value.showMockPost){const o=y.filter(c=>!c.featured&&c.mockPost);return o.length?[o[0]]:[]}const i=y.filter(o=>!o.mockPost);return h.value?d.value==="all"?i.filter(o=>!o.featured):i.filter(o=>o.category===d.value).filter(o=>!o.featured):i}),C=_(()=>{if(t.value.display==="showFeatured"){const y=k.sortedPosts;if(t.value.showMockPost){const o=y.filter(c=>c.featured&&c.mockPost);return o.length?[o[0]]:[]}const i=y.filter(o=>!o.mockPost);return d.value==="all"?i.filter(o=>o.featured):i.filter(o=>o.category===d.value).filter(o=>o.featured)}return[]});function P(){g.value=window.innerWidth<768}return F(()=>{window.addEventListener("resize",P),P()}),N(()=>{window.removeEventListener("resize",P)}),(y,i)=>{const o=M,c=B;return r(),a("div",null,[e(t).display==="carousel"?(r(),a("div",{key:0,style:l(e(t).cssStyleSheet.componentContainer)},[s("div",H,[w(o,{posts:e(u),component:e(t),categories:e(h)},null,8,["posts","component","categories"])])],4)):e(h)?(r(),a("div",{key:1,style:l(e(t).cssStyleSheet.componentContainer)},[s("div",T,[s("ul",q,[i[0]||(i[0]=s("li",{class:"nav-item"},[s("h4",{class:"categories-title"}," Categories: ")],-1)),(r(!0),a(m,null,v(e(h),n=>(r(),a("li",{key:n.key,class:"nav-item"},[s("a",{class:L(["nav-link category",e(d)===n.key?"category-selected":""]),href:"#",style:l(e(d)===n.key?e(t).cssStyleSheet.selectedCategory:{}),onClick:x(p=>d.value=n.key,["prevent"])},f(n.name),15,D)]))),128))])]),s("div",O,[e(t).display==="showFeatured"&&e(C).length?(r(),a("div",{key:0,class:"mb-5",style:l(e(t).cssStyleSheet.postsContainer)},[s("header",{class:"row py-3",style:l(e(t).cssStyleSheet.headerContainer)},[s("div",R,[s("div",{class:"separator my-1",style:l(e(t).cssStyleSheet.featureSeparator)},null,4),s("h1",{style:l(e(t).cssStyleSheet.featuredHeader)},f(e(t).featuredHeader),5)])],4),s("div",null,[(r(!0),a(m,null,v(e(C),(n,p)=>(r(),V(c,{key:`${p}-vertical`,post:n,"vertical-style":!0,class:"my-4"},null,8,["post"]))),128))])],4)):S("",!0)]),s("div",U,[e(u).length?(r(),a("div",{key:0,class:"mb-5",style:l(e(t).cssStyleSheet.postsContainer)},[s("header",{class:"row pb-3",style:l(e(t).cssStyleSheet.headerContainer)},[s("div",W,[s("div",{class:"separator-2 my-1",style:l(e(t).cssStyleSheet.separator)},null,4),s("h1",{style:l(e(t).cssStyleSheet.header)},f(e(t).header),5)])],4),s("div",null,[(r(!0),a(m,null,v(e(u),(n,p)=>(r(),a("div",{key:`${p}-horizontal`,class:"mb-4"},[w(c,{post:n,"vertical-style":e(g)},null,8,["post","vertical-style"])]))),128))])],4)):S("",!0)]),s("div",Z,[!e(u).length&&!e(C).length?(r(),a("h3",A," No posts in this category ")):S("",!0)])],4)):(r(),a("div",{key:2,style:l(e(t).cssStyleSheet.postsContainer)},[s("div",G,[e(u).length?(r(),a("div",{key:0,class:"mb-5",style:l(e(t).cssStyleSheet.postsContainer)},[s("header",{class:"row pb-3",style:l(e(t).cssStyleSheet.headerContainer)},[s("div",I,[s("div",{class:"separator-2 my-1",style:l(e(t).cssStyleSheet.separator)},null,4),s("h1",{style:l(e(t).cssStyleSheet.header)},f(e(t).header),5)])],4),s("div",null,[(r(!0),a(m,null,v(e(u),(n,p)=>(r(),a("div",{key:`${p}-horizontal`,class:"mb-4"},[w(c,{post:n,"vertical-style":e(g)},null,8,["post","vertical-style"])]))),128))])],4)):S("",!0)])],4))])}}};export{oe 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.