PageSourceSearch

https://www.asiangym.tv/commons-7e4d15bd.f2a96f59f9970927b055.chunk.js

js asiangym.tv collected 2026-10-06 02:28:00 UTC 32,073 bytes, 43 lines download raw bytes

1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="9fae7daf-4f30-43d5-9a3b-e44082d286b9",e._sentryDebugIdIdentifier="sentry-dbid-9fae7daf-4f30-43d5-9a3b-e44082d286b9")}()}catch(e){}!function(){try{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"bf14fb925ddb84c2e94cf02dcd71704d586cd14e"}}catch(e){}}(),(self.webpackChunkstaylive_partnerplatform=self.webpackChunkstaylive_partnerplatform||[]).push([[1268],{4870:(e,t,s)=>{s.r(t),s.d(t,{default:()=>b});var r=s(74848),n=(s(96540),s(24100)),i=s(26840),a=s(5556),l=s.n(a),o=s(67438),d=s(7444),c=Object.defineProperty,u=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,f=(e,t,s)=>t in e?c(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,x=(e,t)=>{for(var s in t||(t={}))p.call(t,s)&&f(e,s,t[s]);if(u)for(var s of u(t))m.call(t,s)&&f(e,s,t[s]);return e};function h({start:e}){return new Date((0,n.u4)(e))<new Date?(0,r.jsx)("span",{children:(0,r.jsx)(o.A,x({},d.default.ongoing))}):(0,r.jsx)(i.default,{date:e,time:!1})}h.propTypes={start:l().string};const b=h},7444:(e,t,s)=>{s.r(t),s.d(t,{default:()=>i,scope:()=>n});var r=s(11164);const n="app.components.IsOngoing",i=(0,r.YK)({ongoing:{id:`${n}.ongoing`,defaultMessage:"Ongoing"}})},8376:(e,t,s)=>{s.r(t),s.d(t,{default:()=>c});var r=s(74848),n=s(96540),i=s(5556),a=s.n(i),l=s(52255),o=s(78210);function d(e){const t=(0,n.useRef)(),s=(0,o.Pd)(t,"0px"),[i,a]=(0,n.useState)(!1),d=(0,n.useCallback)((()=>{if(!i){const t=window.lwhble||{cmd:[]};window.innerWidth<980?t.cmd.push((()=>{t.loadAd({tagId:e.small.tagId})})):t.cmd.push((()=>{t.loadAd({tagId:e.large.tagId})})),a(!0)}}),[i,e.large.tagId,e.small.tagId]);return(0,n.useEffect)((()=>{const t=document.head||document.getElementsByTagName("head")[0],s=document.createElement("script");s.type="text/javascript",s.async=!1,s.src="https://lwadm.com/lw/pbjs?pid=537f4767-b611-431a-9db4-57ba7d5bba76",t.insertBefore(s,t.firstChild),s.addEventListener("load",(()=>{e.lazyload||d()}))}),[d,e.lazyload]),(0,n.useEffect)((()=>{e.lazyload&&s&&!i&&d()}),[s,d,e,i]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(l.WidthRange,{minWidth:e.large.width,children:(0,r.jsx)("div",{id:e.large.tagId,ref:t,style:{textAlign:"center"}})}),(0,r.jsx)(l.WidthRange,{maxWidth:e.large.width,children:(0,r.jsx)("div",{id:e.small.tagId,ref:t,style:{textAlign:"center"}})})]})}d.propTypes={large:a().object,small:a().object,lazyload:a().bool},d.defaultProps={lazyload:!1};const c=d},71570:(e,t,s)=>{s.r(t),s.d(t,{default:()=>d});var r=s(74848),n=(s(96540),s(84976)),i=s(5556),a=s.n(i);const l={mini:"text-[0.7857rem]",tiny:"text-[0.8571rem]",small:"text-[0.9286rem]",medium:"text-base",large:"text-[1.1429rem]",big:"text-[1.2857rem]",huge:"text-[1.4286rem]",massive:"text-[1.7143rem]"};function o({href:e,size:t="medium",style:s,className:i="",onClick:a,children:o,type:d="button",dataTestid:c="legacy-button"}){const u=`inline-block mx-1 py-[6px] px-[14px] border-0 rounded-sm bg-white text-[#3f54b4] hover:text-[#3f54b4] font-medium text-center no-underline cursor-pointer select-none shadow-[0_2px_3px_0_rgba(63,81,180,0.5)] hover:shadow-[0_2px_3px_0_rgba(63,81,180,0.6)] transition-shadow ${l[t]||l.medium} ${i}`;return e?(0,r.jsx)(n.N_,{to:e,style:s,className:u,onClick:a,"data-testid":c,children:o}):(0,r.jsx)("button",{type:d,style:s,className:u,onClick:a,"data-testid":c,children:o})}o.propTypes={href:a().string,size:a().string,style:a().object,className:a().string,onClick:a().func,children:a().node,type:a().string,dataTestid:a().string};const d=o},71906:(e,t,s)=>{s.r(t),s.d(t,{Description:()=>F,LabelContainer:()=>O,SubHeader:()=>M,default:()=>$});var r=s(74848),n=(s(96540),s(47767)),i=s(84976),a=s(5556),l=s.n(a),o=s(38267),d=s(24100),c=s(21535),u=s(23114),p=s(67438),m=s(60404),f=s(24712),x=s(50924),h=s(15422),b=s(68074),g=s(896
1),y=s(68087),v=s(68841),w=s(29236),j=s(7399),C=s(13248),N=s(22875),k=s(94686),_=s(39522),T=s(2890),I=Object.defineProperty,S=Object.defineProperties,A=Object.getOwnPropertyDescriptors,P=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable,D=(e,t,s)=>t in e?I(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,R=(e,t)=>{for(var s in t||(t={}))z.call(t,s)&&D(e,s,t[s]);if(P)for(var s of P(t))E.call(t,s)&&D(e,s,t[s]);return e},B=(e,t)=>S(e,A(t));const O=o.Ay.span`
2  position: relative;
3  margin-left: 12px;
4  display: inline-block;
5
6  @media screen and (max-width: 390px) {
7    display: block;
8    width: auto;
9    margin-left: 0;
10    margin: 10px auto 0 auto;
11  }
12
13  span:first-child {
14    border-radius: 2px;
15    padding: 4px 14px 4px 14px;
16    border: 1px solid white;
17    color: white;
18    font-size: 0.7em;
19    font-weight: 100;
20  }
21`;function q({dataTestid:e,secondary:t=!1,disabled:s=!1,href:n,onClick:i,style:a,children:l}){const o="mr-1 inline-block w-80 max-w-[98%] cursor-pointer rounded-sm border-0 text-center text-[1.1em] font-bold no-underline disabled:cursor-default disabled:opacity-[.45] md:text-[1.4em] md:px-0 "+(t?"mt-[10px] p-2 md:ml-[10px] md:mt-0":"p-[10px]");return n?(0,r.jsx)("a",{"data-testid":e,href:n,className:o,style:R({lineHeight:1},a),children:l}):(0,r.jsx)("button",{"data-testid":e,type:"button",disabled:s,onClick:i,className:o,style:R({lineHeight:1},a),children:l})}q.propTypes={dataTestid:l().string.isRequired,secondary:l().bool,disabled:l().bool,href:l().string,onClick:l().func,style:l().object,children:l().node};const F=(0,o.Ay)(b.default)`
22  color: white !important;
23  margin-top: 10px;
24  max-width: 700px;
25  text-align: left;
26`,M=o.Ay.span`
27  color: white !important;
28  font-size: 1.2em !important;
29
30  @media screen and (min-width: 1200px) {
31    font-size: 1.5em !important;
32  }
33`;function L(e){const{loading:t,livestream:s}=e,a=(0,n.Zp)(),{user:l,verifiedlabels:o,subscriptionbutton:I,ppvbutton:S,shadow:A,proceed:P,pressPlay:z,disableSubscriptions:E=!1,useNewCheckout:D=!1,header:L={}}=e,$=(0,m.zh)({to:{opacity:1,top:"0px"},from:{opacity:0,top:"200px"}}),W=!s.playback_url,H=!l,V=s.geo_restricted&&!s.geo_restricted.allowed,U=new Date((0,d.u4)(s.end)).getTime()<new Date((new Date).getTime()-36e5).getTime(),Y=new Date((0,d.u4)(s.start)).getTime()<(new Date).getTime(),K=s.subscription&&s.subscription.general_access.length?s.subscription.general_access.map((e=>e.id)).toString():"";return(0,c.R)("[[LivestreamPlayer]]","loggedIn",!H),(0,c.R)("[[LivestreamPlayer]]","geoBlocked",V),(0,c.R)("[[LivestreamPlayer]]","hasEnded",U),t?(0,r.jsx)(k.default,{color:A.color,children:(0,r.jsx)("div",{className:"flex h-full flex-col justify-center",children:(0,r.jsx)("div",{children:(0,r.jsx)("div",{className:"px-4",children:(0,r.jsx)(h.default,{size:6})})})})}):(0,r.jsx)(k.default,{color:A.color,image:s.thumbnail,children:(0,r.jsx)("div",{className:"flex min-h-[88vh] flex-col justify-end pt-[120px]",children:(0,r.jsx)("div",{children:(0,r.jsx)("div",{className:"px-4",children:(0,r.jsx)(m.CS.div,{style:B(R({},$),{height:"100%"}),config:{delay:300},children:(0,r.jsxs)("div",{style:{width:"2100px",maxWidth:"95%",margin:"0 auto"},children:[(0,r.jsx)("div",{className:"text-center",children:(0,r.jsxs)("div",{className:"px-4",children:[!Y&&!U&&(0,r.jsx)("div",{className:"text-[2em] font-bold leading-tight text-white",children:(0,r.jsx)(g.default,{date:(0,d.u4)(s.start)})}),Y&&!W&&!U&&!V&&(0,r.jsx)(y.default,{onClick:()=>z()})]})}),(0,r.jsx)("div",{className:"hidden py-4 xl:block"}),(0,r.jsx)("div",{className:"hidden py-4 xl:block"}),(0,r.jsx)("div",{className:"py-4"}),(0,r.jsx)("div",{className:"py-4"}),(0,r.jsx)("div",{className:"py-4",children:(0,r.jsx)("div",{className:"px-4",children:(0,r.jsx)(b.default,{as:"h1",style:L,children:s.name})})}),(0,r.jsx)("div",{className:"pb-[10px]",children:(0,r.jsxs)("div",{className:"styledText px-4",children:[(0,r.jsx)(M,{style:{cursor:"pointer"},onClick:()=>a(`/tournament?name=${s.channelPath}`),children:s.channelName}),(0,r.jsx)("strong",{style:{padding:"0 8px",fontSize:"26px"},children:"·"}),(0,r.jsxs)(M,{children:[(0,r.jsxs)("strong",{children:[(0,r.jsx)(v.default,{date:s.start}),(0,r.jsx)("span",{style:{padding:"0 8px",fontSize:"26px"},children:"·"}),!U&&(0,r.jsx)(w.default,{bold:!1,date:s.start})]}),o.active&&(0,r.jsx)(O,{children:(0,r.jsxs)("span",{children:[(0,r.jsx)(f.SemanticIcon,{name:s.verified?o.verified.icon:o.notverified.icon,className:"mr-1"}),s.verified?(0,r.jsx)(u.default,{text:o.verified.name}):(0,r.jsx)(u.default,{text:o.notverified.name})]})})]})]})}),(0,r.jsx)("div",{className:"py-4",children:(0,r.jsxs)("div",{className:"px-4",children:[!U&&!V&&(0,r.jsxs)(r.Fragment,{children:[!W&&Y&&(0,r.jsx)(q,{dataTestid:"livestream-watch-live-button",style:R({color:"white",background:"#FF1A5A"},I.style),onClick:()=>z(),children:(0,r.jsx)("strong",{children:(0,r.jsx)(p.A,R({},_.default.watchLive))})}),!W&&!Y&&(0,r.jsx)(j.default,{date:new Date(s.start),className:"flex items-center px-6 py-3 mt-2 mr-2 text-lg font-semibold text-gray-100 uppercase duration-200 border-4 border-solid rounded opacity-75 sm:py-4 sm:text-xl border-primary bg-primary hover:text-gray-100 hover:opacity-75"}),W&&!V&&(!E||1===s.subscribers_only)&&K&&(0,r.jsx)(q,{dataTestid:"livestream-subscribe-button",style:R({color:"white",background:"#FF1A5A"},I.style),onClick:()=>D?a(1===s.subscription.general_access.length&&0===s.packages.length?`/checkout?s=${s.subscription.general_access[0].id}&cta=${window.location.pathname+window.location.search}`:`/subscribe?cta=${window.location.pathname+window.location.search}`):P(),children:(0,r.jsx)("strong",{children:(0,r.jsx)(p.A,R({},_.default.startYourSubscription))})}),!l&&!V&&W&&1===s.requires_login&&0===s.price&&0===s.subscribers_only&&(0,r.jsx)(q,{dataTestid:"livestream-sign-in-button",style:R({color:"white",lineHeight:"1.5",background:"#FF1A5A"},I.style),href:(0,d.dE)(),children:(0,r.jsx)("strong",{children:(0,r.jsx)(p.A,R({},_.default.signInToAccount))})}),W&&!s.subscribers_only&&!V&&s.price>0&&(0,r.jsx)(q,{dataTestid:"livestream-buy-button",secondary:!E,onClick:()=>
33P(),style:R({color:"white",background:"none",border:"2px solid white"},S.style),children:(0,r.jsx)("strong",{children:(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(p.A,B(R({},_.default.buySeparatelyFor),{values:{price:(0,r.jsx)("span",{className:"ml-2",children:(0,T.O)(s.price_with_discount_applied||s.price,s.currency)})}}))})})}),W&&1===s.subscribers_only&&!V&&0===s.price&&!K.length&&(0,r.jsx)(q,{dataTestid:"livestream-unlock-button",onClick:()=>D?a(s.subscription.general_access.length>0?`/subscribe?cta=${window.location.pathname+window.location.search}`:`/checkout?cta=${window.location.pathname+window.location.search}\n                                        &l=${s.url_string||s.id}`):P(),style:R({color:"white",background:"#FF1A5A"},I.style),children:(0,r.jsx)("strong",{children:(0,r.jsx)(p.A,R({},_.default.unlockNow))})})]}),U&&(0,r.jsx)(q,{dataTestid:"livestream-ended-button",secondary:!E,disabled:!0,style:R({color:"white",background:"none",border:"2px solid white"},S.style),children:(0,r.jsx)("strong",{children:(0,r.jsx)(p.A,R({},_.default.livestreamHasEnded))})}),V&&(0,r.jsx)(b.default,{children:(0,r.jsx)(p.A,R({},_.default.livestreamIsNotAvailableInCountry))})]})}),!l&&!V&&(0,r.jsx)("div",{className:"py-4",children:(0,r.jsx)("div",{className:"px-4",children:(0,r.jsx)(b.default,{as:"p",children:(0,r.jsx)(i.N_,{role:"button",to:(0,d.dE)(),style:{cursor:"pointer",textDecoration:"underline",display:"inline-block",color:"#fff"},children:(0,r.jsx)(p.A,R({},_.default.signInToAccount))})})})}),s.errorMessage&&(0,r.jsx)("div",{className:"py-4",children:(0,r.jsx)("div",{className:"px-4",children:(0,r.jsx)(x.default,{type:"error",children:(0,r.jsx)(b.default,{as:"p",style:{fontSize:"1.1em"},children:s.errorMessage})})})}),(0,r.jsx)("div",{className:"py-4",children:(0,r.jsx)("div",{className:"px-4",children:(0,r.jsx)(F,{text:s.description})})}),(0,r.jsx)("div",{className:"py-4",children:(0,r.jsxs)("div",{className:"px-4",children:[(0,r.jsx)(C.default,{}),(0,r.jsx)(N.default,{})]})}),(0,r.jsx)("div",{className:"py-4"})]})})})})})})}L.propTypes={livestream:l().object,loading:l().bool,user:l().object,verifiedlabels:l().object,subscriptionbutton:l().object,ppvbutton:l().object,shadow:l().object,proceed:l().func.isRequired,pressPlay:l().func.isRequired,disableSubscriptions:l().bool,disablePackages:l().bool,header:l().object,useNewCheckout:l().bool};const $=L},53050:(e,t,s)=>{s.r(t),s.d(t,{default:()=>l});var r=s(74848),n=(s(96540),s(5556)),i=s.n(n),a=s(88911);function l({feature:e,contentId:t}){return(0,r.jsx)("div",{className:"w-full h-full",children:(0,r.jsx)(a.default,{feature:e,contentId:t})})}l.propTypes={feature:i().shape({config:i().shape({url:i().string.isRequired}).isRequired}).isRequired,contentId:i().number.isRequired}},45559:(e,t,s)=>{s.r(t),s.d(t,{PlayerSidebar:()=>g});var r=s(74848),n=s(96540),i=s(5556),a=s.n(i),l=s(67943),o=s(51848),d=s(96541),c=s(44263),u=s(20058),p=s(74321),m=s(24712),f=s(48851),x=s(39455),h=s(10255),b=s(23114);function g({livestream:e,livescoreEnabled:t,playerRef:s,setSidebarState:i,liveChatClasses:a,cmsData:g,cmsPreview:y}){const v=(0,d.A)(),[w,j]=(0,n.useState)((()=>"undefined"!=typeof window&&window.innerWidth>=1280)),{data:C,isValidating:N}=(0,x.I)({contentType:"LIVESTREAM",id:null==e?void 0:e.id}),k=(0,n.useMemo)((()=>{var n,i,o;const d=[];if((y||(null==e?void 0:e.chat))&&d.push({title:v.formatMessage(l.default.livechat),content:(0,r.jsx)(c.default,{room:`livestream_${e.id}`,liveChatClasses:a,cmsData:g,cmsPreview:y}),priority:10}),t&&d.push({title:v.formatMessage(f.default.livescoring),content:(0,r.jsx)(u.default,{url:null==(n=null==e?void 0:e.livescore)?void 0:n.events_url,currentPlayer:s}),priority:10}),null==(i=null==C?void 0:C.features)?void 0:i.length)for(const t of C.features)"SIDEBAR"===t.placement&&d.push({title:(0,r.jsx)(b.default,{text:t.display_name}),content:(0,r.jsx)(h.default,{feature:t,contentId:e.id}),index:t.id,priority:null!=(o=t.priority)?o:20});return d.sort(((e,t)=>e.priority-t.priority)),d}),[v,t,e,s,C,y,g,a]);return(0,n.useEffect)((()=>{i(w&&k.length>0)}),[i,w,k]),N&&!C?null:k.length?w?(0,r.jsxs)(o.fu,{className:null==a?void 0:a.wrapperClasses,children:[(0,r.jsxs)(o.wb,{className:null==a?void 0:a.headerContainerClasses,children:[(0,r.jsxs)("button",{type:"button",onClick:()=>j(!1),className:null==a?void 0:a.headerBtnClasses,"data-testid":"close-sidebar-btn",children:[(0,r.jsx)(m.default,{icon:["fa","right-from-line"],className:"hidden xl:inline-block"}),(0,r.jsx)(m.default,{icon:["fa","down-from-line"],className:"inline-block xl:hidden"})]}),k.map((({title:e},t)=>(0,r.jsx)(o.oz,{as:n.Fragment,children:({selected:s,hover:n})=>(0,r.jsx)("button",{className:(0,p.x)(null==a?void 0:a.headerTabClasses,n&&(null==a?void 0:a.headerTabHoverClasses),s&&(null==a?void 0:a.headerTabSelectedClasses)),type:"button","data-testid":`tab-${t}`,children:e})},t)))]}),(0,r.jsx)(o.T2,{className:"max-h-full overflow-hidden grow",children:k.map((({content:e,index:t})=>(0,r.jsx)(o.Kp,{className:"h-full",unmount:!1,children:e},t)))})]}):(0,r.jsxs)("button",{onClick:()=>j(!0),type:"button",className:null==a?void 0:a.headerBtnClosedClasse
33s,"data-testid":"open-sidebar-btn",children:[(0,r.jsx)(m.default,{icon:["fa","left-from-line"],className:"hidden xl:inline-block"}),(0,r.jsx)(m.default,{icon:["fa","up-from-line"],className:"inline-block xl:hidden"})]}):null}g.propTypes={livestream:a().object,playerRef:a().object,livescoreEnabled:a().bool,setSidebarState:a().func,liveChatClasses:a().object,cmsData:a().object,cmsPreview:a().bool}},10255:(e,t,s)=>{s.r(t),s.d(t,{default:()=>c});var r=s(74848),n=s(96540),i=s(5556),a=s.n(i),l=s(24712),o=s(49216),d=s(88911);function c({feature:e,contentId:t}){var s;const[i,a]=(0,n.useState)(null),{data:c,isValidating:u}=(0,o.A)({featureId:"locked_iframe"===e.config.provider?e.feature_instance_id:null,contentId:t}),p=(0,n.useMemo)((()=>{var t;if("locked_iframe"===e.config.provider&&(null==(t=null==c?void 0:c.config)?void 0:t.locked_iframe_token))try{const t=new URL(e.config.url);return t.searchParams.append("token",c.config.locked_iframe_token),t.toString()}catch(t){return e.config.url}return e.config.url}),[e,c]),m=!i&&("locked_iframe"!==e.config.provider||!u&&!!(null==(s=null==c?void 0:c.config)?void 0:s.locked_iframe_token));return(0,n.useEffect)((()=>{if(!i)return;const e=setInterval((()=>{i.closed&&a(null)}),500);return()=>clearInterval(e)}),[i]),(0,r.jsxs)("div",{className:"relative w-full h-full",children:[e.config.allowPopOut&&(0,r.jsx)("button",{type:"button","data-testid":"pop-out-button",disabled:!m,onClick:()=>{if(!m)return;const e=window.open(p,"_blank",`width=${Math.floor(window.screen.width/2)},height=${window.screen.height}`);e&&a(e)},className:"absolute z-10 flex items-center justify-center w-14 h-14 m-3 text-white/70 bg-zinc-800 backdrop-blur-sm rounded-lg cursor-pointer right-2 bottom-2 transition-all hover:text-white hover:bg-gray-700 hover:border-white/20 hover:scale-105 focus-visible:ring-2 focus-visible:ring-white/40 focus-visible:outline-none disabled:opacity-40 disabled:cursor-not-allowed border-2 border-solid border-white","aria-label":"Pop out",title:"Pop out",children:(0,r.jsx)(l.default,{icon:["fal","arrow-up-right-from-square"]})}),i?(0,r.jsxs)("div",{className:"flex flex-col items-center justify-center w-full h-full gap-4 text-white bg-zinc-900",children:[(0,r.jsx)(l.default,{icon:["fal","arrow-up-right-from-square"],className:"text-3xl"}),(0,r.jsx)("span",{className:"text-lg font-medium",children:"Content is open in another window"})]}):(0,r.jsx)(d.default,{feature:e,contentId:t})]})}c.propTypes={feature:a().shape({config:a().shape({allowPopOut:a().bool,url:a().string.isRequired,provider:a().string.isRequired}).isRequired,feature_instance_id:a().number.isRequired}).isRequired,contentId:a().number.isRequired}},88911:(e,t,s)=>{s.r(t),s.d(t,{default:()=>o});var r=s(74848),n=(s(96540),s(5556)),i=s.n(n),a=s(4160),l=s(54182);function o({feature:e,contentId:t}){switch(e.config.provider){case"iframe":return(0,r.jsx)(a.default,{src:e.config.url});case"locked_iframe":return(0,r.jsx)(l.default,{src:e.config.url,featureId:e.feature_instance_id,contentId:t});default:return null}}o.propTypes={feature:i().shape({config:i().shape({provider:i().string.isRequired,allowPopOut:i().bool,url:i().string}).isRequired,feature_instance_id:i().number.isRequired}).isRequired,contentId:i().number.isRequired}},4160:(e,t,s)=>{s.r(t),s.d(t,{default:()=>a});var r=s(74848),n=(s(96540),s(5556)),i=s.n(n);function a({src:e}){return(0,r.jsx)("div",{className:"w-full h-full",children:(0,r.jsx)("iframe",{src:e,className:"w-full h-full border-0",allow:"fullscreen;autoplay;picture-in-picture;accelerometer;gyroscope"})})}a.propTypes={src:i().string.isRequired}},54182:(e,t,s)=>{s.r(t),s.d(t,{default:()=>l});var r=s(74848),n=(s(96540),s(5556)),i=s.n(n),a=s(49216);function l({src:e,featureId:t,contentId:s}){var n;const{data:i,isValidating:l,error:o}=(0,a.A)({featureId:t,contentId:s});if(l)return null;if(!(null==(n=null==i?void 0:i.config)?void 0:n.locked_iframe_token)||o)return(0,r.jsx)("div",{children:"Unable to load content"});let d;try{d=new URL(e)}catch(e){return(0,r.jsx)("div",{children:"Invalid URL"})}
33return d.searchParams.append("token",i.config.locked_iframe_token),(0,r.jsx)("div",{className:"w-full h-full",children:(0,r.jsx)("iframe",{src:d.toString(),className:"w-full h-full border-0",allow:"fullscreen;autoplay;picture-in-picture;accelerometer;gyroscope"})})}l.propTypes={src:i().string.isRequired,featureId:i().number.isRequired,contentId:i().number.isRequired}},25715:(e,t,s)=>{s.r(t),s.d(t,{default:()=>M});var r=s(74848),n=s(26840),i=s(88744),a=s(23114),l=s(39522),o=s(5556),d=s.n(o),c=s(86663),u=s(96540),p=s(67438),m=s(84976),f=s(24712),x=s(38267),h=s(8406),b=s(33932),g=s(88277),y=s(24100),v=s(74321),w=s(74767),j=s(79409),C=s(48851),N=s(45559),k=s(39455),_=s(53050),T=Object.defineProperty,I=Object.defineProperties,S=Object.getOwnPropertyDescriptors,A=Object.getOwnPropertySymbols,P=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,E=(e,t,s)=>t in e?T(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,D=(e,t)=>{for(var s in t||(t={}))P.call(t,s)&&E(e,s,t[s]);if(A)for(var s of A(t))z.call(t,s)&&E(e,s,t[s]);return e},R=(e,t)=>I(e,S(t));const B=x.Ay.div`
34  background: ${e=>e.color};
35`,O=x.Ay.div`
36  position: fixed;
37  top: 0;
38  left: 0;
39  width: 100%;
40  height: 100dvh;
41  z-index: 999999;
42  background: black;
43`,q={containerClasses:"inline-block bg-red-700 rounded py-4 px-6 my-2",textClasses:"text-white text-lg font-semibold"};function F({livestream:e,defaultVast:t=null,platformBg:s,cmsData:o,cmsPreview:d,classes:x={containerClasses:"relative px-6 mb-12 md:max-w-screen-xl md:-mt-32 md:mx-auto",titleClasses:"text-3xl text-white sm:text-4xl md:text-5xl xl:text-6xl",loginBtnClasses:"block px-1 py-2 mt-2 text-gray-100 underline cursor-pointer font-base hover:text-gray-400",metaDataClasses:"mt-6 space-x-4 font-semibold text-gray-500",descriptionClasses:"mt-2 leading-6 text-white md:max-w-2xl",informationContainer:{containerClasses:"inline-block mt-2 rounded shadow",textClasses:"text-xl font-medium text-white md:text-2xl"},alreadyWatching:q,actionButtons:{buttonClasses:"flex items-center px-6 py-3 mt-2 mr-2 text-lg font-semibold text-gray-100 uppercase duration-200 border-4 border-solid rounded cursor-pointer sm:py-4 sm:text-xl border-primary bg-primary hover:text-gray-100 hover:opacity-75",secondaryButtonClasses:"flex items-center px-6 py-3 mt-2 mr-2 text-lg font-semibold text-gray-100 uppercase duration-200 bg-transparent border-4 border-gray-100 border-solid rounded cursor-pointer sm:py-4 sm:text-xl hover:text-gray-100 hover:opacity-75",multipleButtonContainerClasses:"flex flex-wrap items-center"}},playerAccentColor:T={color:"",useCustomColor:!1},userLoggedIn:I,livestreamStatus:S,useModal:A,showAddToCalendar:P,geoBlockShowDesc:z,showShareButton:E,loginText:F,customButtons:M={},showLivescoreFeature:L=!1,multipleProductsModal:$={titleColor:"text-white",backgroundColor:"bg-white",textColor:"text-gray-900",buttonClasses:"w-full px-6 py-2 mt-2 text-xl font-medium text-white transition-all duration-300 border-none rounded-md cursor-pointer hover:bg-primaryDarker bg-primary disabled:opacity-50"},liveChatClasses:W={wrapperClasses:"flex flex-col w-full max-h-full overflow-hidden border-t border-solid shadow-inner h-2/3 xl:h-full bg-zinc-900 xl:w-1/3 xl:border-t-0 xl:border-l border-zinc-800",headerContainerClasses:"flex flex-row items-center gap-4 pt-4 pb-4 grow-0 bg-zinc-800",headerTabClasses:"border-none shadow-none rounded-md cursor-pointer text-lg px-4 py-1 bg-transparent font-semibold text-white",headerTabSelectedClasses:"bg-white bg-opacity-20 font-medium",headerTabHoverClasses:"bg-white bg-opacity-10 font-medium",headerBtnClasses:"ml-4 text-lg text-white bg-transparent border-none shadow-none cursor-pointer",headerBtnClosedClasses:"absolute z-50 w-14 h-14 m-3 text-2xl text-white bg-zinc-800 border-none rounded-lg cursor-pointer bottom-6 right-4 hover:bg-zinc-900",announcementClasses:{wrapperClasses:"flex flex-row items-center justify-between mt-1.5 p-1 mb-6 bg-zinc-800 border border-zinc-700 border-solid rounded-md",containerClasses:"flex items-center flex-1 text-zinc-100",textClasses:"text-base font-medium text-zinc-100",linkClasses:"text-blue-600 underline break-words",iconClasses:"px-0 py-1 mb-2 text-sm bg-transparent border-none cursor-pointer w-fit text-zinc-100 hover:text-primaryDarker",innerIconClasses:"p-2 text-xs"},moderatorMessagesClasses:"bg-zinc-700 p-2 py-1 rounded text-zinc-100",chatMessagesClasses:"text-zinc-100",chatInputClasses:"w-full p-4 transition duration-200 border-2 border-transparent roun
43ded-t-none rounded-r-none bg-zinc-700 rounded-l-md placeholder-zinc-300 text-zinc-100 focus:border-primary focus:outline-none",sendButtonClasses:"w-full px-4 py-2 text-sm font-medium text-white border-none rounded-l-none cursor-pointer rounded-r-md bg-primary focus:outline-none hover:opacity-75 disabled:cursor-not-allowed disabled:opacity-50",chatActiveUsersClasses:"flex flex-row items-center self-start my-2 space-x-2 text-sm text-white",scrollButtonClasses:"absolute right-0 z-10 h-10 mr-1 bottom-28 text-sm font-semibold border-none rounded-lg cursor-pointer hover:bg-white bg-zinc-100",timeStamp:{classes:"mr-2 font-medium text-zinc-100 font-mono"}},countdownClasses:H={textClasses:""}}){var V,U;const[Y,K]=(0,u.useState)(!1),[G,Z]=(0,u.useState)({}),[J,Q]=(0,u.useState)(!1),[X,ee]=(0,u.useState)(null),{autoplay:te}=c.parse(window.location.search),{data:se,isValidating:re}=(0,k.I)({contentType:"LIVESTREAM",id:null==e?void 0:e.id}),ne=null==(V=null==se?void 0:se.features)?void 0:V.find((e=>"FULLSCREEN"===e.placement));(0,u.useEffect)((()=>(Y?(document.body.style.overflow="hidden",document.body.style.position="fixed"):(document.body.style.overflow="auto",document.body.style.position="relative"),()=>{document.body.style.overflow="auto",document.body.style.position="relative"})),[Y]),(0,u.useEffect)((()=>{try{Y?window.$crisp.push(["do","chat:hide"]):window.$crisp.push(["do","chat:show"])}catch(e){}return()=>{try{window.$crisp.push(["do","chat:show"])}catch(e){}}}),[Y]),(0,u.useEffect)((()=>{const e=()=>{var e,t;window.screen.orientation?"landscape-primary"===window.screen.orientation.type||"landscape-secondary"===window.screen.orientation.type?(null==(e=null==G?void 0:G.player)?void 0:e.requestFullscreen)&&G.player.requestFullscreen():"portrait-primary"!==window.screen.orientation.type&&"portrait-secondary"!==window.screen.orientation.type||document.fullscreenElement&&document.exitFullscreen():window.innerWidth>window.innerHeight?(null==(t=null==G?void 0:G.player)?void 0:t.requestFullscreen)&&G.player.requestFullscreen():document.fullscreenElement&&document.exitFullscreen()};return window.screen&&window.screen.orientation?window.screen.orientation.addEventListener("change",e):window.addEventListener("resize",e),()=>{window.screen&&window.screen.orientation?window.screen.orientation.removeEventListener("change",e):window.removeEventListener("resize",e)}}),[G]);const ie={element:"staylive_player",type:"stream",dvr:!!e.dvr,objectID:e.id,autoplay:!te||"1"===te,muted:!1,fillMode:!1,debug:!1,livestream:e};!e.advertising&&t&&(ie.livestream.advertising=t),null!==X&&(ie.offset=X);const ae=(null==(U=null==e?void 0:e.livescore)?void 0:U.events_url)&&L;if(Y||d&&o)return(0,r.jsxs)(O,{children:[(0,r.jsx)("button",{type:"button",onClick:()=>K(!1),"aria-label":"Back",title:"Back",className:"absolute z-50 w-10 h-10 m-3 text-lg text-white bg-gray-800 border-none rounded-lg cursor-pointer left-2 top-6 hover:bg-gray-900",children:(0,r.jsx)(f.default,{icon:["fa","chevron-left"],className:"mt-2"})}),(0,r.jsxs)("div",{className:"flex flex-col items-center justify-center w-full h-full xl:flex-row",children:[(0,r.jsx)("div",{className:(0,v.x)("w-full m-auto",d?"flex justify-center items-center":"",J?"xl:w-3/4 xl:h-full h-1/3":"h-full"),children:d&&o?(0,r.jsxs)("div",{className:"flex flex-col items-center justify-center w-full text-xl font-bold text-zinc-100 bg-zinc-800 aspect-video",children:[(0,r.jsx)("span",{children:"Livestream preview"}),(0,r.jsx)(f.default,{icon:["fas","play"],className:"p-6 mt-4 border-2 border-solid rounded-full"})]}):re&&!se?null:ne?(0,r.jsx)(_.default,{feature:ne,contentId:e.id}):(0,r.jsx)(i.default,{setup:R(D({},ie),{fillMode:!1,containMode:!0}),onTimeUpdate:e=>{Z(e)},playerAccentColor:T})}),(0,r.jsx)(N.PlayerSidebar,{setSidebarState:Q,livestream:e,playerRef:G,livescoreEnabled:ae,liveChatClasses:W,cmsData:o,cmsPreview:d})]})]});const le=e.subscription.general_access.length+e.subscription.specific_access.length;return(0,r.jsxs)(B,{color:s,children:[(0,r.jsx)(g.default,{image:e.thumbnail,backgroundColor:s,startTime:e.start,endTime:e.end,countdownClasse
43s:H}),(0,r.jsxs)("div",{className:x.containerClasses,children:[(0,r.jsx)("h3",{className:x.titleClasses,children:(0,r.jsx)(a.default,{text:e.name})}),S===h.Bu.livestreamEnded&&(0,r.jsx)("div",{className:x.informationContainer.containerClasses,children:(0,r.jsx)("span",{className:x.informationContainer.textClasses,children:(0,r.jsx)(p.A,D({},l.default.livestreamHasEnded))})}),S===h.Bu.isGeoBlocked&&(0,r.jsx)("div",{className:x.informationContainer.containerClasses,children:(0,r.jsx)("span",{className:x.informationContainer.textClasses,children:(0,r.jsx)(p.A,D({},l.default.livestreamIsNotAvailableInCountry))})}),S===h.Bu.watchingOnDifferentSession&&(0,r.jsx)("div",{className:x.alreadyWatching?x.alreadyWatching.containerClasses:q.containerClasses,children:(0,r.jsx)("span",{className:x.alreadyWatching?x.alreadyWatching.textClasses:q.textClasses,children:(0,r.jsx)(p.A,D({},l.default.alreadyWatchingFromDifferentSession))})}),e.errorMessage&&e.errorMessage.length>0&&(0,r.jsx)("p",{className:"text-red-600 text-md",children:e.errorMessage}),(0,r.jsx)(b.default,{contentStatus:S,content:e,classes:x.actionButtons,showPlayer:()=>K(!0),setStartPlayerFrom:ee,isLiveStream:!0,useModal:A,customButtons:M,multipleProductsModal:$,hasFullscreenFeature:re&&!se||!!ne,fullscreenFeatureDisplayName:null==ne?void 0:ne.display_name}),1===le&&!e.packages.length&&!e.discount&&null!==(null==e?void 0:e.price_with_discount_applied)&&(0,r.jsx)("div",{className:"mt-2 text-base text-gray-50",children:(0,r.jsx)(p.A,R(D({},C.default.subscriptionDiscount),{values:{price:null==e?void 0:e.price_with_discount_applied,currency:e.currency.toUpperCase()}}))}),le>1&&!e.packages.length&&!e.discount&&null!==(null==e?void 0:e.price_with_discount_applied)&&(0,r.jsx)("div",{className:"mt-2 text-base text-gray-50",children:(0,r.jsx)(p.A,D({},C.default.multiSubscriptionDiscount))}),!I&&S!==h.Bu.loggedInOnly&&S!==h.Bu.livestreamEnded&&(0,r.jsx)("div",{children:(0,r.jsx)(m.N_,{to:(0,y.dE)(),className:x.loginBtnClasses,children:F&&!Object.values(F).every((e=>""===e))?(0,r.jsx)(a.default,{text:F}):(0,r.jsx)(p.A,D({},l.default.signInToAccount))})}),S!==h.Bu.livestreamEnded&&(S!==h.Bu.isGeoBlocked||z)&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:x.metaDataClasses,children:[(0,r.jsx)(n.default,{date:e.start}),(0,r.jsx)("span",{children:e.channelName})]}),(0,r.jsx)("div",{className:x.descriptionClasses,children:(0,r.jsx)(a.default,{text:e.description})}),(0,r.jsxs)("div",{className:"mt-4 space-y-2",children:[E&&(0,r.jsx)(j.default,{}),P&&(0,r.jsx)("div",{children:(0,r.jsx)(w.default,{title:e.name,startTime:e.start,endTime:e.end,description:e.description})})]})]})]})]})}F.propTypes={livestream:d().object,platformBg:d().string,defaultVast:d().string,classes:d().object,userLoggedIn:d().bool,livestreamStatus:d().string,useModal:d().bool,showAddToCalendar:d().bool,geoBlockShowDesc:d().bool,showShareButton:d().bool,loginText:d().object,customButtons:d().shape({startYouSubscriptionText:d().object,buySeparatelyForText:d().object,unlockNowText:d().object,buyNowText:d().object,voucherDescriptionText:d().object}),showLivescoreFeature:d().bool,playerAccentColor:d().shape({color:d().string,useCustomColor:d().bool}),multipleProductsModal:d().object,cmsData:d().object,cmsPreview:d().bool,liveChatClasses:d().object,countdownClasses:d().shape({textClasses:d().string})};const M=F},48851:(e,t,s)=>{s.r(t),s.d(t,{default:()=>i,scope:()=>n});var r=s(11164);const n="app.components.LivestreamPresentation",i=(0,r.YK)({subscriptionDiscount:{id:`${n}.subscriptionDiscount`,defaultMessage:"* Subscribe today and access the livestream for {price} {currency}."},livescoring:{id:`${n}.livescoring`,defaultMessage:"Scoring"},multiSubscriptionDiscount:{id:`${n}.multiSubscriptionDiscount`,defaultMessage:"* Subscribe today and access the livestream with a discounted PPV price."}})}}]);

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.