PageSourceSearch

https://gofrogs.com/_nuxt/B8vfhr2-2.js

js gofrogs.com collected 2026-10-02 03:37:40 UTC 7,967 bytes, 1 lines download raw bytes

1import{D as e,Dt as t,E as n,Ht as r,O as i,P as a,T as o,_ as s,at as c,dn as l,dt as u,hn as d,mn as f,qt as p,ut as m,zt as h}from"./BaBhFZm2.js";import{f as g}from"./PTSJo-lX.js";import{t as _}from"./Eu9ZsN_V.js";import{t as v}from"./ClgVSphX.js";import{t as y}from"./oQPVSlJP.js";import{i as b}from"./Bi4S3ORV.js";import{t as x}from"./C2ANWNt82.js";import"./P2dL7rAj2.js";import{t as S}from"./T-MO7ztJ2.js";import{n as C}from"./B3lgwyEm2.js";function w(e){return e?.sort(function(e,t){if(e.id&&t.id){let n=e.title?.toLowerCase()??``,r=t.title?.toLowerCase()??``;if(n<r)return-1;if(n>r)return 1}return 0}),e}var T={key:0,class:`c-templated-header__logo`},E=[`id`],D=[`id`],O={key:1,class:`c-templated-header__filter ml-auto`},k=[`aria-label`,`value`],A=[`value`],j=[`aria-label`,`value`],M=[`value`],N={class:`c-templated-header__filter-icon flex justify-center items-center`},P={key:2,class:`c-templated-header__filter ml-auto`},F=[`aria-label`,`value`],I=[`value`],L=[`aria-label`,`value`],R=[`value`],z={class:`c-templated-header__filter-icon flex justify-center items-center`},B={__name:`TSectionHeader`,props:{headerConfig:{type:Object,required:!0,showText:{type:Boolean,default:!0},headerText:{type:String,default:`Header Text Placeholder`},adLocationName:{type:String,default:``},wrapAd:{type:Boolean,default:!1},identifier:{type:String,default:``},sportFilter:{type:Boolean,default:!1},sportFilterText:{type:String,default:`Filter by Sport`},logo:{type:Object,src:{type:String,default:null},alt:{type:String,default:``},width:{type:Number,default:null},height:{type:Number,default:null}}},cta:{type:[Object,null],location:{type:String,default:``},text:{type:String,default:``},opensInNewWindow:{type:Boolean,default:!1}},ctaLink:{type:String,default:``},theme:{type:String,default:`on-light-theme`},filterOptions:{type:Array},statFilterOptions:{type:Array}},emits:[`selectHeaderFilter`],setup(r,{emit:u}){let g=b(),v=r,y=h(``),B=u,V=function(e){B(`selectHeaderFilter`,e),y.value=e.target?.value};function H(e,t){let n=``;return e&&(n+=`width: ${e}px;`),t&&(n+=`height: ${t}px;`),n}return(r,u)=>{let h=_,b=C,B=x,U=S;return c(),i(`div`,{class:l([`c-templated-header flex items-center gap-4`,[v.headerConfig.identifier,v.headerConfig.theme?v.headerConfig.theme:v.theme,{"wrapped-enabled":v.headerConfig.wrapped},{"ad-wrapped":v.headerConfig.wrapAd}]])},[v.headerConfig?.logo?.src?(c(),i(`div`,T,[a(h,{class:`c-templated-header__logo-image`,alt:v.headerConfig.logo.alt?v.headerConfig.logo.alt:``,style:f(H(v.headerConfig.logo?.width,v.headerConfig.logo?.height)),images:[{breakpoint:0,image:v.headerConfig.logo.src,width:v.headerConfig.logo.width,height:v.headerConfig.logo.height}]},null,8,[`alt`,`style`,`images`])])):e(``,!0),v.headerConfig.showText===!0?(c(),i(`h2`,{key:1,id:v.headerConfig.identifier,class:l([`c-templated-header__text s-text-heading`,{"sr-only":!v.headerConfig.showText}])},d(v.headerConfig.headerText),11,E)):(c(),i(`h2`,{key:2,id:v.headerConfig.identifier,class:`sr-only`},d(v.headerConfig.headerText),9,D)),v.headerConfig.wrapAd?(c(),i(s,{key:3},[v?.cta?.location===`header`&&!v.headerConfig.filter?(c(),n(b,{key:0,class:`c-templated-header__cta s-text-regular-bold ml-auto`,"aria-label":v.cta.opensInNewWindow?`${v.cta.text}, opens in new window`:`${v.cta.text}`,target:v.cta.opensInNewWindow?`_blank`:``,href:v.ctaLink},{default:t(()=>[o(`span`,null,d(v.cta.text),1)]),_:1},8,[`aria-label`,`target`,`href`])):e(``,!0),v.headerConfig.sportFilter&&(v.filterOptions||v.statFilterOptions)?(c(),i(`div`,O,[v.statFilterOptions?(c(),i(`select`,{key:0,"aria-label":`Filter `+v.headerConfig.headerText+` by stat type`,class:`c-templated-header__filter-select appearance-none s-text-regular`,value:p(y)?p(y):v.statFilterOptions[0],onChange:u[0]||=e=>V(e)},[(c(!0),i(s,null,m(v.statFilterOptions,(t,n)=>(c(),i(s,{key:n},[t?(c(),i(`option`,{key:0,value:t},d(t),9,A)):e(``,!0)],64))),128))],40,k)):v.filterOptions?(c(),i(`select`,{key:1,"aria-label":`Filter `+v.headerConfig.headerText+` by sport`,class:`c-templated-header__filter-select appearance-none s-text-regular`,value:p(y)?p(y):p(g),onChange:u[1]||=e=>V(e)},[(c(!0),i(s,null,m(p(w)(v.filterOptions),(t,n)=>(c(),i(s,{key:n},[t.title?(c(),i(`option`,{key:0,value:t.id},d(t.title),9,M)):e(``,!0)],64))),128))],40,j)):e(``,!0),o(`div`,N,[a(B,{name:`icon-chevron-down`,"aria-hidden":`true`})])])):e(``,!0),v.headerConfig.adLocationName?(c(),n(U,{key:2,adSlotName:v.headerConfig.adLocationName,class:`basis-full`},null,8,[`adSlotName`])):e(``,!0)],64)):(c(),i(s,{key:4},[v.headerConfig.adLocationName?(c(),n(U,{key:0,adSlotName:v.headerConfig.adLocationName},null,8,[`adSlotName`])):e(``,!0),v?.cta?.location===`header`&&!v.headerConfig.filter?(c(),n(b,{key:1,class:`c-templated-header__cta s-text-regular-bold ml-auto`,"aria-label":v.cta.opensInNewWindow?`${v.cta.text}, opens in new window`:`${v.cta.text}`,target:v.cta.opensInNewWindow?`_blank`:``,href:v.ctaLink},{default:t(()=>[o(`span`,null,d(v.cta.text),1)]),_:1},8,[`aria-label`,`target`,`href`])):e(``,!0),v.headerConfig.sportFilter&&(v.filterOptions||v.statFilterOptions)?(c(),i(`div`,P,[v.statFilterOptions?(c(),i(`select`,{key:0,"aria-label":`Filter `+v.headerConfig.headerText+` by stat type`,class:`c-templated-header__filter-select appearance-none s-text-regular`,value:p(y)?p(y):v.statFilterOptions[0],onChange:u[2]||=e=>V(e)},[(c(!0),i(s,null,m(v.statFilterOptions,(t,n)=>(c(),i(s,{key:n},[t?(c(),i(`option`,{key:0,value:t},d(t),9,I)):e(``,!0)],64))),128))],40,F)):v.filterOptions?(c(),i(`select`,{key:1,"aria-label":`Filter `+v.headerConfig.headerText+` by sport`,class:`c-templated-header__filter-select appearance-none s-text-regular`,value:p(y)?p(y):p(g),onChange:u[3]||=e=>V(e)},[(c(!0),i(s,null,m(p(w)(v.filterOptions),(t,n)=>(c(),i(s,{key:n},[t.title?(c(),i(`option`,{key:0,value:t.id},d(t.title),9,R)):e(``,!0)],64))),128))],40,L)):e(``,!0),o(`div`,z,[a(B,{name:`icon-chevron-down`,"aria-hidden":`true`})])])):e(``,!0)],64))],2)}}};
1function V(e,t,n){let i=y(),a=g();if(e||e==0){if(e==0)return n;{let a=r(i.getSportById(Number(e))),o=a?.global_sport_shortname?a.global_sport_shortname:a?.global_sport_name_slug;return o&&t?`/sports/${o}${t}`:o?`/sports/${o}${n}`:n}}return a.params.slug&&t?`/sports/${a.params.slug}${t}`:a.params.slug?`/sports/${a.params.slug}${n}`:n}var H=e=>{let t=document.getElementById(e);if(t){let e=t.getElementsByClassName(`swiper`);if(e.length){let t=e[0];if(t instanceof HTMLElement){let e=t.swiper;if(e)return e}}}},U={key:1,class:`c-component-cta__text`},W={__name:`TComponentCTA`,props:{cta:{type:Object,text:{type:String,default:``},showText:{type:Boolean,default:!0},icon:{type:String,default:``},iconLocation:{type:String,default:`right`},opensInNewWindow:{type:Boolean,default:!1}},link:{type:String,default:``},theme:{type:String,default:`on-light-theme`}},setup(r){let a=r;return(r,o)=>{let s=x,u=v;return c(),n(u,{href:a?.link,class:l([`c-component-cta__link s-text-regular-bold`,a?.theme]),"aria-label":a?.cta?.opensInNewWindow?`${a?.cta?.text}, opens in new window`:`${a?.cta?.text}`,target:a?.cta?.opensInNewWindow?`_blank`:`_self`},{default:t(()=>[a?.cta?.icon&&a?.cta?.iconLocation===`left`?(c(),n(s,{key:0,name:a?.cta?.icon},null,8,[`name`])):e(``,!0),a?.cta?.showText===!1?e(``,!0):(c(),i(`span`,U,d(a?.cta?.text),1)),a?.cta?.icon&&a?.cta?.iconLocation===`right`?(c(),n(s,{key:2,name:a?.cta?.icon},null,8,[`name`])):e(``,!0)]),_:1},8,[`href`,`class`,`aria-label`,`target`])}}},G={__name:`SidearmContainer`,props:{mobilePx:{type:String},tabletPx:{type:String},desktopPx:{type:String}},setup(e){return(t,n)=>(c(),i(`div`,{"data-test-id":`sidearm-container-component__root`,class:`sidearm-wrapper`,style:f([e.mobilePx?`--sidearm-wrapper-padding-mobile:`+e.mobilePx:``,e.tabletPx?`--sidearm-wrapper-padding-tablet:`+e.tabletPx:``,e.desktopPx?`--sidearm-wrapper-padding-desktop:`+e.desktopPx:``])},[u(t.$slots,`default`)],4))}};export{B as a,V as i,W as n,w as o,H as r,G 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.