PageSourceSearch

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

js sportal.bg collected 2026-09-24 09:29:45 UTC 3,862 bytes, 84 lines download raw bytes

1import{g as y}from"./getWidgetData-zsjt7dS9.js";import{w,M as s}from"./index-puVY_1BD.js";import{u as o,i as c,j as r}from"../indexDG-t2xYb.js";import{M as W}from"./index-BPNC8kD_.js";import{a as S}from"./index-DHatyQ9z.js";import{A as M,a as h,b as N,S as A,s as L}from"./index-Csoi-iIK.js";import{N as x}from"./notFound-Cr0KC2gK.js";import"./withDraggableScroll-eelHqWwn-DjyzrmXO.js";/**
2                     * @name fu-widgets
3                     * @version 5.5.0
4                     * @copyright 2026 Sportal.bg
5                     * @license All rights reserved. Unauthorized copying or distribution is strictly prohibited.
6                     * Proprietary and confidential.
7                     */const T=o.section`
8    display: flex;
9    justify-content: center;
10    gap: 10px;
11    max-width: 1280px;
12    margin: 0 auto 20px;
13
14    @media (max-width: 767px) {
15        flex-direction: column;
16    }
17`,C=o.main`
18    display: flex;
19    flex-direction: column;
20    width: 100%;
21`,u=o.header`
22    min-height: 60px;
23    padding-left: 10px;
24    padding-right: 10px;
25    border-radius: 5px 5px 0 0;
26    border-bottom: 1px solid transparent;
27    background-color: ${({theme:t})=>t.colors.palette.grey.grey90} !important;
28
29    ${({theme:t})=>t.applyLightThemeStyles(c`
30            background-color: ${t.colors.content.main} !important;
31        `)}
32`,f=o.h3`
33    font-size: 24px !important;
34    font-weight: 600 !important;
35    line-height: 2.3em !important;
36`,$=o.div`
37    background-color: ${({theme:t})=>t.colors.content.dark};
38    border: 1px solid ${({theme:t})=>t.colors.palette.grey.grey80};
39
40    ${({theme:t})=>t.applyLightThemeStyles(c`
41            border-color: #e2e2e2;
42            background-color: ${t.colors.content.main};
43        `)}
44`,E=o.div`
45    padding: 10px 0;
46    text-align: right;
47`,v=o.a`
48    display: inline-block;
49    padding-right: 30px;
50    font-size: 12px;
51    font-weight: 700;
52    background-image: ${`url("${M}")`};
53    background-position-x: 95%;
54    background-position-y: 50%;
55    background-repeat: no-repeat;
56    color: ${({theme:t})=>t.colors.content.light} !important;
57
58    &:hover {
59        color: ${({theme:t})=>t.colors.primary.main} !important;
60        background-image: ${`url("${h}")`};
61    }
62
63    ${({theme:t})=>t.applyLightThemeStyles(c`
64            color: ${({theme:i})=>i.colors.content.black} !important;
65            background-image: ${`url("${N}")`};
66
67            &:hover {
68                color: ${({theme:i})=>i.colors.primary.main} !important;
69                background-image: ${`url("${h}")`};
70            }
71        `)}
72`,H=o.aside`
73    width: 100%;
74    max-width: 300px;
75
76    @media (max-width: 767px) {
77        max-width: 100%;
78    }
79`,R=o.div`
80    display: flex;
81    flex-direction: column;
82`,_=o($)`
83    padding: 10px 0;
84`,B=({ftProps:t,stdProps:i,dcProps:a})=>{const e=w(W);return r.jsxs(T,{children:[r.jsxs(C,{children:[r.jsx(u,{children:r.jsx(f,{children:"Прогнози"})}),r.jsxs($,{children:[r.jsx(e,{...t}),a&&r.jsx(e,{...a}),r.jsx(E,{children:r.jsx(v,{href:"/game-center",children:"Още прогнози"})})]})]}),S(i.standings)&&r.jsx(H,{children:r.jsxs(R,{children:[r.jsx(u,{children:r.jsx(f,{children:"Топ познавачи"})}),r.jsx(_,{children:r.jsx(A,{...i})})]})})]})},q=async({id:t,sourceType:i,clubId:a,limit:e,viewMore:k,flag:b})=>{var m,g;if(!t||!i)return console.error(`NextMatchWithStanding widget missing initial data: id: ${t}, clubId: ${a}, sourceType: ${i}`),[{},x];const[d,n,j]=await y(i,t,a);if(!d)return[{},x];const[l]=await L({id:j,limit:e,viewMore:k,flag:b}),p={ftProps:{matchModel:d,market:s.FT_1X2,userPrediction:(m=n==null?void 0:n[s.FT_1X2])==null?void 0:m.value},stdProps:l};return l.standings!==null&&(p.dcProps={matchModel:d,market:s.DOUBLE_CHANCE,userPrediction:(g=n==null?void 0:n[s.DOUBLE_CHANCE])==null?void 0:g.value}),[p,B]};export{q 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.