PageSourceSearch

https://msubobcats.com/_nuxt/CWCTqPp-2.js

js msubobcats.com collected 2026-10-02 03:21:01 UTC 1,933 bytes, 1 lines download raw bytes

1import{T as e,o as t,t as n}from"./CelOV2hS.js";var r=e=>({abbreviation:e.abbreviation,facebook:null,gender:null,global_sport_id:null,global_sport_shortname:e.globalSportShortName,global_sport_name_slug:e.globalSportNameSlug,id:e.id,instagram:null,non_sport:!1,pinterest:null,shortname:e.shortName,title:e.title,tickets:null,twitter:null,youtube:null,short_title:e.shortTitle||null,url:null});function i(e,n){return{credit:e.credit,caption:e.caption,image:t({url:e.imageUrl[n],alt_text:e.caption}),id:e.id}}function a(e){return{caption:e.primaryImage?.caption||``,credit:e.primaryImage?.credit||``,date:e.date,gallery_images:e.images?.length?e.images?.map(e=>({small:i(e,`small`),medium:i(e,`medium`),large:i(e,`large`),original:i(e,`original`)})):null,id:e.id,images:{small:i(e.primaryImage,`small`),medium:i(e.primaryImage,`medium`),large:i(e.primaryImage,`large`),original:i(e.primaryImage,`original`)},sport:e.sports?.length?r(e.sports[0]):null,title:e.title,title_slug:e.titleSlug,url:e.url}}var o=e=>{let{props:t}=e,r=new n(t?.start,t?.count);return{params:{$pageIndex:r.pageIndex,$pageSize:r.pageSize,sportId:t?.sport_id,galleryId:`extra`in t&&t?.extra?.gallery_id?t.extra.gallery_id:void 0,imageId:`extra`in t&&t?.extra?.image_id?t.extra.image_id:void 0,includeImages:!0},paginationHandler:r}},s=class{fetch;resource=`/api/v2/ImageGalleries`;constructor({fetch:e}){this.fetch=e}async get(e){let{params:t,paginationHandler:n}=o(e);return this.fetch(this.resource,{params:t}).then(e=>{if(!e)return console.error(`[GalleryRepo] get() fetch Failed`),[];let t=e.map(e=>a(e));return t?.length?n.getData(t):[]}).catch(e=>(console.error(`[GalleryRepo] get() mapping Failed`,e),[]))}async getSettings(){return this.fetch(`${this.resource}/settings`).then(t=>t?e(t):(console.error(`[GalleryRepo] getSettings() fetch Failed`),null)).catch(e=>(console.error(`[GalleryRepo] getSettings() mapping Failed`,e),null))}};export{a as n,s 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.