PageSourceSearch

https://spinalmuscularatrophy.net/_nuxt/C0MOj0Yg.js

js spinalmuscularatrophy.net collected 2026-10-08 14:45:09 UTC 3,815 bytes, 1 lines download raw bytes

1import{_ as h,o as n,a as m,w as _,s as f,c as u,t as y,q as g,b as C,u as b,l as S,ay as P,az as x,p as L,aA as $,A as p,aB as v,aC as A}from"./-DkriudL.js";import{_ as E}from"./B7Dl8R6m.js";import{_ as R}from"./CVg3ZSyg.js";import{_ as k}from"./CBLPmXYd.js";import{S as w}from"./BN3zJEY-.js";import{c as M}from"./ZNiQiSmP.js";import{g as O,_ as q}from"./DNJdhJpw.js";import"./BxESkbYr.js";import"./Er4l7Dva.js";import"./CxhKVk0c.js";import"./DO4jGwA_.js";import"./NdmdrM1v.js";import"./hluG1KeH.js";import"./BxhtaiKi.js";import"./D30gcobe.js";import"./ChB2NNz5.js";import"./CqR_lYze.js";import"./TAj5Znf1.js";import"./DUw7-_Rx.js";import"./yD_POQlA.js";import"./Dijfqr2V.js";import"./88_U2qs2.js";import"./_UG8-0SC.js";import"./BZA3sKrJ.js";import"./s0L9kW2c.js";import"./BObgucdu.js";import"./D57HMMVN.js";import"./Cf9A85K0.js";import"./yta9ubjC.js";import"./DsnyDqKm.js";import"./Cn9FudEp.js";import"./wbRiUsfb.js";import"./Cr1vx80L.js";import"./CcxG3q8R.js";import"./lzbMc3bu.js";import"./DXnYCFTZ.js";import"./hOdYZoiQ.js";import"./HjLISgWb.js";import"./CSGKK0rR.js";import"./DtHjGJUE.js";import"./C4IerdmJ.js";import"./Bv4ERxYl.js";import"./CNcBgwzn.js";import"./BFi5aAMW.js";const G={name:"CollectionComponent",props:{tag:String,title:String},setup(t){const r=P(),o=v(0),{$site:i,$hostname:a}=x(),s=p(()=>{const e=r.params.pageNumber||r.query.page;return e?Number(e):1}),c=p(()=>Math.ceil(o.value/20)),l=p(()=>{const e=`page ${s.value} of ${c.value}`;return`${(i.defaultMeta["metadesc-tax-category"]||"").replace("%%term_title%%",t.title)} ${e}`});return L({title:p(()=>t.title),meta:p(()=>{const e=[{name:"description",content:l.value},{property:"og:description",content:l.value},{property:"twitter:description",content:l.value}];return s.value>1&&e.push({name:"robots",content:"noindex"}),e})}),$([p(()=>M("Collection",o.value,r.path,a,i.settings.condition_name))]),{PER_PAGE:20,currentPage:s,totalCount:o,totalPages:c}},data(){return{posts:[],dataLayer:{},sidebarAdSections:S.sidebarAdSections}},watch:{posts(t){t&&this.onLoad()}},mounted(){this.onLoad()},methods:{onLoad(){b().updateGlobalContext({page:{type:"Collection",id:`${this.tag}-${this.currentPage}`},search:{type:"Content Collection",query:this.posts.map(t=>t.id)}}),this.$emit("loaded",this.dataLayer)}},apollo:{search:{query:w,variables(){return{page:this.currentPage,query:"*",index:"POST",searchSort:"DATE",tagSlug:this.tag,limit:this.perPage}},result({data:t}){if(t){if(!t.search||!t.search.searchResults)return;this.totalCount=t.search.total,this.dataLayer=t.search.dataLayer,this.posts=t.search.searchResults}}}}},N={key:1,class:"collection-page"},B={key:0,class:"page-heading page-heading--underline","data-test-id":"collection-page-heading"};function D(t,d,r,o,i,a){const s=f,c=E,l=R,e=k;return n(),m(e,{name:"sidebar","show-leaderboard-ad":!t.$apollo.loading},{"sidebar-ads":_(()=>[t.$apollo.loading?g("",!0):(n(),m(l,{key:0,sections:i.sidebarAdSections},null,8,["sections"]))]),default:_(()=>[t.$apollo.loading?(n(),m(s,{key:0})):(n(),u("div",N,[r.title?(n(),u("h1",B,y(r.title),1)):g("",!0),C(c,{items:i.posts,"current-page":o.currentPage,"per-page":o.PER_PAGE,"total-count":o.totalCount},null,8,["items","current-page","per-page","total-count"])]))]),_:1},8,["show-leaderboard-ad"])}const F=Object.assign(h(G,[["render",D],["__scopeId","data-v-b4c4f9ec"]]),{__name:"CollectionComponent"}),H={setup(){},computed:{slug(){return O()},category(){return A().categoryMap[this.slug]}},methods:{handleOnLoad(t){this.$emit("loaded",t)}}};function I(t,d,r,o,i,a){const s=F,c=q;return n(),u("div",null,[a.category?(n(),m(s,{key:0,title:a.category.name,tag:a.slug,onLoaded:a.handleOnLoad},null,8,["title","tag","onLoaded"])):(n(),m(c,{key:1,onLoaded:a.handleOnLoad},null,8,["onLoaded"]))])}const Ot=h(H,[["render",I]]);export{Ot 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.