PageSourceSearch

https://sportal.bg/assets/fu-widgets/assets/index-YzxROK_n.js

js sportal.bg collected 2026-09-24 09:29:43 UTC 2,881 bytes, 34 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-CUVuO1Yw.js","indexDG-t2xYb.js","assets/index-jzGpQP2P.js","assets/index-BPNC8kD_.js","assets/withDraggableScroll-eelHqWwn-DjyzrmXO.js","assets/index-CvYzfLY1.js","assets/update-swiper-B1V2aUn_.js","assets/index-_wH0_aWu.js","assets/index-B0RSl5TH.js","assets/picture-CvC75irv-BKcKF0i3.js","assets/index-phIZXobz.js","assets/index-CbwTSuiS.js","assets/useBranding-IbJA2ISi.js"])))=>i.map(i=>d[i]);
2import{r as c,_ as u,j as a,i as m,u as d}from"../indexDG-t2xYb.js";import{N as p}from"./notFound-Cr0KC2gK.js";/**
3                     * @name fu-widgets
4                     * @version 5.5.0
5                     * @copyright 2026 Sportal.bg
6                     * @license All rights reserved. Unauthorized copying or distribution is strictly prohibited.
7                     * Proprietary and confidential.
8                     */const l={POLL:"POLL"},f={[l.POLL]:c.lazy(()=>u(()=>import("./index-CUVuO1Yw.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12])))},x=t=>f[t]??null,y=t=>{var r;const e=t.find(s=>{var i;return(i=s.entityModel.customFields)==null?void 0:i.listconfig});if(!e)return null;let n;try{n=JSON.parse(e.entityModel.customFields.listconfig)}catch(s){return console.error(`Error parsing listconfig: ${s}`),null}const o=(r=n==null?void 0:n.allowedtype)==null?void 0:r.toUpperCase();return o in l?o:null},g=(t,e)=>t in l?e?t===e:!0:!1,L=t=>{const e=y(t);return t.reduce((n,o)=>{const r=o.entityType.toUpperCase();return g(r,e)&&n.push({...o,entityType:r}),n},[])},w=()=>a.jsx(_,{children:a.jsx(h,{children:"Благодарим Ви за участието!"})}),h=d.p`
9    font-size: 18px;
10    font-weight: bold;
11    text-align: center;
12    color: ${({theme:t})=>t.colors.primary.main};
13    @media (min-width: 675px) {
14        font-size: 24px;
15    }
16`,_=d.div`
17    display: flex;
18    flex-direction: column;
19    justify-content: center;
20    max-width: 950px;
21    margin: 0 auto;
22    padding: 30px 10px;
23    border-radius: 20px;
24
25    background-color: ${({theme:t})=>t.colors.content.main};
26
27    ${({theme:t})=>t.applyLightThemeStyles(m`
28            background-color: ${t.colors.content.black};
29        `)};
30
31    @media (min-width: 675px) {
32        padding: 50px 20px;
33    }
34`,E=({data:t})=>{const e=c.useMemo(()=>L(t),[]),[n,o]=c.useState(0),r=e[n],s=()=>{o(n+1)};if(!r)return a.jsx(w,{});const i=x(r.entityType);return i?a.jsx(c.Suspense,{fallback:null,children:a.jsx(i,{data:r.entityModel,skipResultScreenCallback:s})},r.entityId):null},G=async({id:t})=>{if(!t)return console.error(`ListGame widget missing initial data: id: ${t}`),[{},p];try{const e=await window.FU.sdk.lists.getListContent(t);if(!(e!=null&&e.data)||e.data.length===0)throw new Error("List is empty!");return[{data:e.data},E]}catch(e){return console.error(`ListGame widget with id: ${t}`,e),[{},p]}};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.