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]="c45ae288-9728-4724-ac1f-fed7c91916da",e._sentryDebugIdIdentifier="sentry-dbid-c45ae288-9728-4724-ac1f-fed7c91916da")}()}catch(e){}!function(){try{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"42723ee3ac76a36f1098dcdc5d31fc6a02de85b1"}}catch(e){}}(),(self.webpackChunkstaylive_partnerplatform=self.webpackChunkstaylive_partnerplatform||[]).push([[3049],{13248:(e,t,s)=>{s.r(t),s.d(t,{default:()=>n});var l=s(74848),i=s(24712);function a(){return(0,l.jsxs)("a",{className:"p-2.5 mr-2 cursor-pointer text-white hover:text-white font-medium rounded text-base bg-blue-500 hover:bg-blue-600",onClick:()=>!window.open(`https://www.facebook.com/sharer/sharer.php?u=${encodeURIComponent(window.location.href)}&display=popup&ref=plugin&src=share_button`,"Facebook","width=640,height=580"),target:"_blank",children:[(0,l.jsx)(i.default,{className:"mr-1 bg-transparent rounded-full focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-800 focus:ring-white hover:opacity-75 svg-inline--fa",icon:["fab","facebook"]}),"Facebook"]})}s(96540),a.propTypes={};const n=a},6006:(e,t,s)=>{s.r(t),s.d(t,{default:()=>a,scope:()=>i});var l=s(11164);const i="app.components.FacebookShareButton",a=(0,l.YK)({header:{id:`${i}.shareFacebook`,defaultMessage:"Share"}})},49398:(e,t,s)=>{s.r(t),s.d(t,{default:()=>y});var l=s(74848),i=(s(96540),s(17386)),a=s(1081),n=s(16683),r=s(84976),o=s(24712),d=s(5556),c=s.n(d),p=s(24100),h=s(23114),x=s(36104),u=s(23220),m=s(3803);const g=(0,a.j8)({theme:(0,i.makeSelectTheme)()});function f({wrapperClasses:e,containerClasses:t,footerLogo:s={show:!0,logotypeURL:null,containerClasses:"flex justify-center mb-10",classes:"max-w-xs max-h-36"},socialMedia:i={show:!1,containerClasses:"py-8 mb-10 bg-primary",iconClasses:"text-5xl text-white cursor-pointer hover:text-gray-400 duration-200",instagram:{show:!1,link:"/"},facebook:{show:!1,link:"/"},twitter:{show:!1,link:"/"},linkedIn:{show:!1,link:"/"},youtube:{show:!1,link:"/"},tiktok:{show:!1,link:"/"}},footerColumns:a={containerClasses:"md:flex mb-4",titleClasses:"text-2xl m-0 leading-none uppercase text-white",linkClasses:"text-black cursor-pointer font-medium text-lg mb-5\ttext-white duration-200 hover:text-gray-400",textClasses:"text-lg mb-5 text-white",columnContainerClasses:"flex flex-col justify-center p-0 list-none",columnOne:{show:!0,classes:"flex-1 p-4 text-center",title:{text:"left column"},links:[{title:"Left link 1",href:"https://www.staylive.se/"},{title:"Left link 2",href:"https://www.staylive.se/"},{title:"Left link 3",href:"https://www.staylive.se/"}]},columnTwo:{show:!0,classes:"flex-1 p-4 text-center ",title:{text:"middle column"},links:[{title:"Middle link 1",href:"https://www.staylive.se/"},{title:"Middle link 2",href:"https://www.staylive.se/"},{title:"Middle link 3",href:"https://www.staylive.se/"}]},columnThree:{show:!0,classes:"flex-1 p-4 text-center",title:{text:"right column "},links:[{title:"Right link 1",href:"https://www.staylive.se/"},{title:"Right link 2",href:"https://www.staylive.se/"},{title:"Right link 3",href:"https://www.staylive.se/"}]}},showLanguage:d={active:!1,showLanguageIcon:!0,showLanguageText:!0,toggleButton:{classes:"flex items-center px-4 py-3 text-2xl text-white bg-transparent border-0 rounded-md cursor-pointer hover:text-gray-500 sm:text-xl ",textClasses:"block truncate sm:ml-4",iconClasses:"flex ml-2 pointer-events-none"},dropdown:{wrapperClasses:"absolute px-1 py-1 mt-1 overflow-auto text-lg list-none bg-white rounded-md shadow-lg max-h-56 ring-1 ring-black",languageClasses:"relative py-2 pl-3 cursor-pointer select-none pr-9",languageActiveClasses:"text-white bg-primary",languageInactiveClasses:"text-gray-900",textClasses:"block ml-3 truncate",textActiveClasses:"font-semibold",textInactiveClasses:"font-normal",iconClasses:"absolute inset-y-0 right-0 flex items-center pl-2 pr-3",iconActiveClasses:"text-white",iconInactiveClasses:"text-primary"}},poweredBy:c={show:!0,classes:"m-0 self-center font-medium text-s text-white"}}){const{theme:f}=(0,n.d4)(g),{data:y}=(0,u.X)(),b=e=>{var t,s;if(!(null==y?void 0:y.currentAgreements))return e;const l={"https://faq.staylive.io/en/article/user-terms-1vuzh4o/":"USER_AGREEMENT","https://faq.staylive.io/en/article/privacy-policy-18sigqg/":"PRIVACY_POLICY"}[e];return l&&(null==(s=null==(t=null==y?void 0:y.currentAgreements)?void 0:t[l])?void 0:s.url)?y.currentAgreements[l].url:e};return(0,l.jsx)("div",{className:e||"bg-primary pb-8 z-20",children:(0,l.jsxs)("div",{className:t||"max-w-6xl mx-auto",children:[i&&i.show&&(0,l.jsx)("div",{className:i.containerClasses,children:(0,l.jsxs)("div",{className:"flex mx-auto justify-evenly sm:w-1/3",children:[i.instagram&&i.instagram.show&&(0,l.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:i.instagram.link,children:(0,l.jsx)(o.default,{icon:["fab","instagram"],className:i.iconClasses})}),i.facebook&&i.facebook.show&&(0,l.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:i.facebook.link,children:(0,l.jsx)(o.default,{icon:["fab","facebook"],className:i.iconClasses})}),i.twitter&&i.twitter.show&&(0,l.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:i.twitter.link,children:(0,l.jsx)(o.default,{icon:["fab","x-twitter"],className:i.iconClasses})}),i.linkedIn&&i.linkedIn.show&&(0,l.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:i.linkedIn.link,children:(0,l.jsx)(o.default,{icon:["fab","linkedin"],className:i.iconClasses})}),i.youtube&&i.youtube.show&&(0,l.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:i.youtube.link,children:(0,l.jsx)(o.default,{icon:["fab","y
1outube"],className:i.iconClasses})}),i.tiktok&&i.tiktok.show&&(0,l.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:i.tiktok.link,children:(0,l.jsx)(o.default,{icon:["fab","tiktok"],className:i.iconClasses})})]})}),s.show&&(0,l.jsx)("div",{className:s.containerClasses||"flex justify-center mb-10",children:(0,l.jsx)("img",{src:s.logotypeURL||f.logos.webLogo,alt:"LogoType",id:"footerImage",className:s.classes})}),(0,l.jsxs)("div",{className:a.containerClasses,children:[a.columnOne.show&&(0,l.jsxs)("div",{className:a.columnOne.classes,children:[(0,l.jsx)("h6",{className:a.titleClasses,children:(0,l.jsx)(h.default,{text:a.columnOne.title.text})}),(0,l.jsx)("ul",{className:a.columnContainerClasses||"flex flex-col justify-center p-0 list-none",children:a.columnOne.links.map(((e,t)=>{var s;const i=`${t}-${null!=(s=e.href)?s:"text"}`;return null===e.href?(0,l.jsx)("li",{children:(0,l.jsx)("span",{className:a.textClasses||"text-lg mb-5 text-white",children:(0,l.jsx)(h.default,{text:e.title})})},i):(0,p.pE)(e.href)?(0,l.jsx)("li",{children:(0,l.jsx)(r.N_,{className:a.linkClasses,to:e.href,target:e.openInNewTab?"_blank":"_self",rel:e.openInNewTab?"noreferrer":"",children:(0,l.jsx)(h.default,{text:e.title})})},i):(0,l.jsx)("li",{children:(0,l.jsx)("a",{"data-testid":`footer-col-one-link-${i}`,className:a.linkClasses,href:b(e.href),target:e.openInNewTab?"_blank":"_self",rel:e.openInNewTab?"noreferrer":"",children:(0,l.jsx)(h.default,{text:e.title})})},i)}))})]}),a.columnTwo.show&&(0,l.jsxs)("div",{className:a.columnTwo.classes,children:[(0,l.jsx)("h6",{className:a.titleClasses,children:(0,l.jsx)(h.default,{text:a.columnTwo.title.text})}),(0,l.jsx)("ul",{className:a.columnContainerClasses||"flex flex-col justify-center p-0 list-none",children:a.columnTwo.links.map(((e,t)=>{var s;const i=`${t}-${null!=(s=e.href)?s:"text"}`;return null===e.href?(0,l.jsx)("li",{children:(0,l.jsx)("span",{className:a.textClasses||"text-lg mb-5 text-white",children:(0,l.jsx)(h.default,{text:e.title})})},i):(0,p.pE)(e.href)?(0,l.jsx)("li",{children:(0,l.jsx)(r.N_,{className:a.linkClasses,to:e.href,target:e.openInNewTab?"_blank":"_self",rel:e.openInNewTab?"noreferrer":"",children:(0,l.jsx)(h.default,{text:e.title})})},i):(0,l.jsx)("li",{children:(0,l.jsx)("a",{"data-testid":`footer-col-two-link-${i}`,className:a.linkClasses,href:b(e.href),target:e.openInNewTab?"_blank":"_self",rel:e.openInNewTab?"noreferrer":"",children:(0,l.jsx)(h.default,{text:e.title})})},i)}))})]}),a.columnThree.show&&(0,l.jsxs)("div",{className:a.columnThree.classes,children:[(0,l.jsx)("h6",{className:a.titleClasses,children:(0,l.jsx)(h.default,{text:a.columnThree.title.text})}),(0,l.jsx)("ul",{className:a.columnContainerClasses||"flex flex-col justify-center p-0 list-none",children:a.columnThree.links.map(((e,t)=>{var s;const i=`${t}-${null!=(s=e.href)?s:"text"}`;return null===e.href?(0,l.jsx)("li",{children:(0,l.jsx)("span",{className:a.textClasses||"text-lg mb-5 text-white",children:(0,l.jsx)(h.default,{text:e.title})})},i):(0,p.pE)(e.href)?(0,l.jsx)("li",{children:(0,l.jsx)(r.N_,{className:a.linkClasses,to:e.href,target:e.openInNewTab?"_blank":"_self",rel:e.openInNewTab?"noreferrer":"",children:(0,l.jsx)(h.default,{text:e.title})})},i):(0,l.jsx)("li",{children:(0,l.jsx)("a",{"data-testid":`footer-col-three-link-${i}`,className:a.linkClasses,href:b(e.href),target:e.openInNewTab?"_blank":"_self",rel:e.openInNewTab?"noreferrer":"",children:(0,l.jsx)(h.default,{text:e.title})})},i)}))})]})]}),(0,l.jsx)("div",{className:"flex justify-center",children:d&&d.active&&(0,l.jsx)(m.default,{wrapperClasses:d.wrapperClasses,showLanguageIcon:d.showLanguageIcon,showLanguageText:d.showLanguageText,toggleButton:d.toggleButton,dropdown:d.dropdown,direction:"up"})}),c.show&&(0,l.jsx)("div",{className:"flex justify-center",children:(0,l.jsxs)("a",{"data-testid":"footer-link-powered-by",target:"_blank",href:"https://www.staylive.io/",rel:"noreferrer",className:"flex",children:[(0,l.jsx)("p",{className:c.classes,children:"Powered by Staylive"}),(0,l.jsx)("div",{className:"px-3 py-2 ml-3 bg-white rounded-full",children:(0,l.jsx)("img",{src:x,alt:"StayLive",className:"h-8"})})]})})]})})}f.propTypes={wrapperClasses:c().string,containerClasses:c().string,footerLogo:c().object,footerColumns:c().object,socialMedia:c().shape({show:c().bool,containerClasses:c().string,iconClasses:c().string,instagram:c().object,facebook:c().object,twitter:c().object,linkedIn:c().object,youtube:c().object,tiktok:c().object}),showLanguage:c().shape({active:c().bool,classes:c().string}),poweredBy:c().object};const y=f},29972:(e,t,s)=>{s.r(t),s.d(t,{default:()=>o});var l=s(74848),i=s(96540),a=s(5556),n=s.n(a);function r({imageUrl:e}){return(0,i.useEffect)((()=>{document.getElementById("stickyMenu").getElementsByClassName("logotype")[0].src=e})),(0,l.jsx)("div",{style:{display:"none",height:0,width:0}})}r.propTypes={imageUrl:n().string};const o=r},94686:(e,t,s)=>{s.r(t),s.d(t,{default:()=>h});var l=s(74848),i=(s(96540),s(5556)),a=s.n(i),n=s(38267),r=s(90285),o=s(35174);const d=n.Ay.div` 2 position: relative; 3 width: 100%; 4 min-height: 88vh; 5 color: white !important; 6 background: black; 7 z-index: 2; 8 overflow: hidden; 9`,c=n.Ay.div` 10 position: absolute; 11 top: 0; 12 left: 0; 13 width: 100%; 14 height: 100%; 15 z-index: 2; 16 box-shadow: -40px 0 100px 100px 17 ${e=>e.color?e.color:"black"} inset; 18 ${e=>{var t;return(null==(t=null==e?void 0:e.color)?void 0:t.length)>8?`background-image: ${e.color}`:`background-image: linear-gradient(\n 0deg,\n ${e.color?e.color:"black"} 0%,\n rgba(15, 22, 26, 0) 80%\n )`}} 19`;function p({color:e,children:t,image:s,style:i={},showBlackBox:a=!0}){return(0,l.jsxs)(d,{style:i,children:[(0,l.jsx)(c,{color:e}),a&&(0,l.jsx)(r.default,{}),void 0!==s&&(0,l.jsx)(o.default,{image:s}),(0,l.jsx)("div",{style:{position:"relative",zIndex:3,minHeight:"100%"},children:t})]})}p.propTypes={color:a().string,children:a().object,image:a().string,
19style:a().object,showBlackBox:a().bool};const h=p},15290:(e,t,s)=>{s.r(t),s.d(t,{default:()=>p});var l=s(74848),i=(s(96540),s(5556)),a=s.n(i),n=s(16683),r=s(1081),o=s(17386);const d=(0,r.j8)({theme:(0,o.makeSelectTheme)()});function c({children:e}){const{theme:t}=(0,n.d4)(d),{fullpageContainer:s}=t.styling,{fullpageWrapper:i}=t.styling;return(0,l.jsx)("div",{style:s.style,className:`flex-grow ${s.classes}`,children:(0,l.jsx)("div",{style:i.style,className:i.classes,children:e})})}c.propTypes={children:a().oneOfType([a().object,a().array])};const p=c},43384:(e,t,s)=>{s.r(t),s.d(t,{default:()=>z});var l=s(74848),i=s(96540),a=s(51058),n=s(94686),r=s(68074),o=s(39522),d=s(1802),c=s(53794),p=s(1104),h=s(5556),x=s.n(h),u=s(67438),m=s(38267),g=s(78210),f=Object.defineProperty,y=Object.defineProperties,b=Object.getOwnPropertyDescriptors,j=Object.getOwnPropertySymbols,w=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable,k=(e,t,s)=>t in e?f(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,C=(e,t)=>{for(var s in t||(t={}))w.call(t,s)&&k(e,s,t[s]);if(j)for(var s of j(t))v.call(t,s)&&k(e,s,t[s]);return e},N=(e,t)=>y(e,b(t));const $=m.Ay.div` 20 ${e=>e.styling.inactive} 21 cursor: pointer; 22 23 &:hover { 24 ${e=>e.styling.active} 25 } 26 27 @media screen and (max-width: 766px) { 28 margin: 0px auto !important; 29 } 30`,T=m.Ay.div` 31 p { 32 display: inline-block; 33 margin: 0 auto; 34 padding: 0; 35 } 36`,L=m.Ay.div` 37 display: inline-block; 38 39 p { 40 font-size: 1em; 41 font-weight: bold; 42 } 43 44 ${e=>e.styling} 45`,A=m.Ay.div` 46 display: inline-block; 47 48 p { 49 font-size: 1em; 50 } 51 52 ${e=>e.styling} 53`,_=m.Ay.div` 54 display: inline-block; 55 56 p { 57 font-size: 1em; 58 } 59 60 ${e=>e.styling} 61`,I=m.Ay.div` 62 margin-top: 10px; 63 64 p { 65 font-size: 1em; 66 } 67 68 ${e=>e.styling} 69`,O="w-full px-4 py-3 m-0 text-base bg-white border-0 rounded cursor-pointer",S=e=>(e?8*e:8)>=16?"w-full":"w-full md:w-1/2";function E(e){var t,s;const{label:h,button:x,links:m,text:f,input:y,container:b,shadow:j,title:w,termsAndConditions:v,subscriptionsHeader:k,subscriptions:E,packagesHeader:z,packages:B,customMessageHeader:H,customMessage:P,topDescMessageHeader:M,topDescMessage:R,cancelButton:W={},showLogotype:D=!0}=e,[F,G]=(0,i.useState)(null),{user:U}=(0,g.Jd)(),[Q,Y]=(0,i.useState)({value:null,proceed:!1});if(null!==F&&!U)return(0,l.jsx)(n.default,N(C({}
69,j),{children:(0,l.jsxs)("div",{style:{padding:"120px 0 60px"},children:[w&&(0,l.jsx)(r.default,{as:"h1",style:{display:"block",margin:"0 auto 24px",textAlign:"center"},children:w}),(0,l.jsxs)("div",{style:C({background:"white",maxWidth:"550px",margin:"0 auto",padding:"20px 8px",borderRadius:"6px"},b.style),children:[(0,l.jsx)(d.default,{}),P&&"string"==typeof P&&(0,l.jsx)(r.default,{style:N(C({},h.style),{fontSize:"0.9em",textAlign:"center",marginTop:"24px"}),children:P}),P&&"object"==typeof P&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("br",{}),(0,l.jsx)(r.default,C({},P))]})]}),(0,l.jsx)("div",{style:{margin:"10px auto 0",maxWidth:b.style.maxWidth?b.style.maxWidth:"550px"},children:(0,l.jsx)("button",{"data-testid":"gamepass-cancel-button",type:"button",className:O,style:C({border:"2px solid white",background:"none",color:"white",marginLeft:0},W),onClick:()=>{G(null),Y({value:null,proceed:!1})},children:(0,l.jsx)("strong",{children:(0,l.jsx)(u.A,C({},o.default.cancel))})})})]})}));if(null!==F){const e=(null==(s=null==(t=F.data)?void 0:t.signupQuestion)?void 0:s.dropdown)||{},i=e.options||[];return(0,l.jsx)(n.default,N(C({}
69,j),{children:(0,l.jsxs)("div",{style:{padding:"120px 0 60px"},children:[w&&(0,l.jsx)(r.default,{as:"h1",style:{display:"block",margin:"0 auto 24px",textAlign:"center"},children:w}),(0,l.jsxs)("div",{style:C({background:"white",maxWidth:"550px",margin:"0 auto",padding:"20px 8px",borderRadius:"6px"},b.style),children:[F.data&&F.data.signupQuestion&&!Q.proceed&&(0,l.jsxs)("div",{className:"flex flex-col gap-4 text-center",children:[(0,l.jsx)("div",{children:(0,l.jsx)(r.default,C({},F.data.signupQuestion.header))}),(0,l.jsx)("div",{children:(0,l.jsxs)("select",{"data-testid":"gamepass-signup-question-select","aria-label":e.placeholder,defaultValue:"",onChange:e=>{const t=i.find((({value:t})=>String(t)===e.target.value));Y({value:t?t.value:null,proceed:!1})},className:"box-border w-full px-3 py-2 m-0 text-base text-gray-900 bg-white border border-gray-300 border-solid rounded",children:[(0,l.jsx)("option",{value:"",disabled:!0,children:e.placeholder}),i.map((e=>{var t;return(0,l.jsx)("option",{value:e.value,children:e.text},null!=(t=e.key)?t:e.value)}))]})}),(0,l.jsx)("div",{children:(0,l.jsx)("button",{"data-testid":"gamepass-signup-next-button",type:"button",className:O,style:F.data.signupQuestion.nextButton.style,onClick:()=>Y({value:Q.value,proceed:!0}),children:(0,l.jsx)(r.default,{children:F.data.signupQuestion.nextButton.content})})})]}),(!(F.data&&F.data.signupQuestion)||Q.proceed)&&(0,l.jsx)(p.default,{type:F.type,subscriptions:F.subscription,packages:F.package,label:h,button:x,links:m,embed:Q.value,termsAndConditions:v,showLogotype:D,text:f,input:y,content:{price:0,currency:"sek"},subscribersOnly:!0,showGoBack:!1,paymentOption:"2"}),P&&"string"==typeof P&&(0,l.jsx)(r.default,{style:N(C({},h.style),{fontSize:"0.9em",textAlign:"center",marginTop:"24px"}),children:P}),P&&"object"==typeof P&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("br",{}),(0,l.jsx)(r.default,C({},P))]})]}),(0,l.jsx)("div",{style:{margin:"10px auto 0",maxWidth:b.style.maxWidth?b.style.maxWidth:"550px"},children:(0,l.jsx)("button",{"data-testid":"gamepass-cancel-button",type:"button",className:O,style:C({border:"2px solid white",background:"none",color:"white",marginLeft:0},W),onClick:()=>{G(null),Y({value:null,proceed:!1})},children:(0,l.jsx)("strong",{children:(0,l.jsx)(u.A,C({},o.default.cancel))})})})]})}))}return(0,l.jsx)(n.default,N(C({}
69,j),{children:(0,l.jsxs)("div",{style:{padding:"120px 0 60px"},children:[w&&(0,l.jsx)(r.default,{as:"h1",style:{display:"block",margin:"0 auto 24px",textAlign:"center"},children:w}),(0,l.jsxs)("div",{style:C({background:"white",maxWidth:"550px",margin:"0 auto",padding:"20px 8px",borderRadius:"6px"},b.style),children:[M&&(0,l.jsx)(r.default,C({},M)),R&&"string"==typeof R&&(0,l.jsx)(r.default,{style:N(C({},h.style),{fontSize:"0.9em",textAlign:"center",marginTop:"24px"}),children:R}),R&&"object"==typeof R&&(0,l.jsx)(r.default,C({},R)),E&&E.length>0&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(r.default,C({},k)),(0,l.jsxs)("div",{style:{marginBottom:"22px"},children:[(0,l.jsx)("div",{className:"flex flex-wrap",style:{padding:"20px 0"},children:E.map(((e,t)=>(0,l.jsx)("div",{className:S(e.width),style:{padding:"0 4px",textAlign:"center"},children:(0,l.jsxs)($,{"data-testid":`gamepass-subscription-${e.id}`,tabIndex:t,styling:e.styles,onClick:()=>G({type:"subscription",subscription:e.id,data:e,package:null}),children:[(0,l.jsx)(r.default,{text:e.name,as:"h7"}),(0,l.jsxs)(T,{children:[e.price&&(0,l.jsxs)(L,{styling:e.styles.price,children:[(0,l.jsx)(r.default,{text:`${e.price} ${e.currency} / `})," ",(0,l.jsx)(r.default,{style:{textTransform:"lowercase"},text:(0,l.jsx)(a.default,{billingInterval:e.billingInterval||"month",billingIntervalCount:e.billingIntervalCount||1})})]}),e.description&&(0,l.jsx)(A,{styling:e.styles.description,children:(0,l.jsx)(r.default,{text:e.description})})]})]})},e.id)))}),B&&B.length>0&&(0,l.jsxs)("div",{className:"flex items-center gap-4",style:{padding:"12px 0"},children:[(0,l.jsx)("span",{className:"flex-1 border-0 border-t border-gray-300 border-solid"}),(0,l.jsx)(r.default,{children:(0,l.jsx)(u.A,C({},c.default.or))}),(0,l.jsx)("span",{className:"flex-1 border-0 border-t border-gray-300 border-solid"})]})]})]}),B&&B.length>0&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(r.default,C({},z)),(0,l.jsx)("div",{className:"flex flex-wrap",style:{padding:"20px 0"},children:B.map(((e,t)=>(0,l.jsx)("div",{className:S(e.width),style:{padding:"0 4px",textAlign:"center"},children:(0,l.jsxs)($,{"data-testid":`gamepass-package-${e.id}`,tabIndex:t,styling:e.styles,onClick:()=>G({type:"packages",package:e.id,subscriptions:"",data:e}),children:[(0,l.jsx)(r.default,{text:e.name,as:"h7"}),e.price&&(0,l.jsx)(_,{styling:e.styles.price,children:(0,l.jsx)(r.default,{text:`${e.price} ${e.currency}`})}),e.description&&(0,l.jsx)(I,{styling:e.styles.description,children:(0,l.jsx)(r.default,{text:e.description})})]})},e.id)))})]}),H&&(0,l.jsx)(r.default,C({},H)),P&&"string"==typeof P&&(0,l.jsx)(r.default,{style:N(C({},h.style),{fontSize:"0.9em",textAlign:"center",marginTop:"24px"}),children:P}),P&&"object"==typeof P&&(0,l.jsx)(r.default,C({},P))]})]})}))}E.propTypes={label:x().object,button:x().object,links:x().object,text:x().object,input:x().object,container:x().object,shadow:x().object,title:x().string,customMessage:x().oneOfType([x().string,x().object]),customMessageHeader:x().object,topDescMessage:x().oneOfType([x().string,x().object]),topDescMessageHeader:x().object,termsAndConditions:x().string,subscriptions:x().array,subscriptionsHeader:x().object,packagesHeader:x().object,packages:x().array,bandyplaySubscriptionInformation:x().string,bandyplaySubscriptionCustomHeader:x().string,cancelButton:x().object,showLogotype:x().bool};const z=E},97805:(e,t,s)=>{s.r(t),s.d(t,{default:()=>v});var l=s(74848),i=(s(96540),s(5556)),a=s.n(i),n=s(38267),r=s(68074),o=s(67119),d=s(1081),c=s(17386),p=s(16683),h=Object.defineProperty,x=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,g=(e,t,s)=>t in e?h(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,f=(e,t)=>{for(var s in t||(t={}))u.call(t,s)&&g(e,s,t[s]);if(x)for(var s of x(t))m.call(t,s)&&g(e,s,t[s]);return e};const y=n.Ay.div` 70 background: ${e=>e.background?e.background:"black"}; 71 padding: 30px 0; 72 text-align: center; 73 position: relative; 74 z-index: 999; 75`,b=n.Ay.div` 76 margin: 0; 77 text-align: center; 78 font-size: 1.4em; 79 80 a { 81 margin: 8px 0; 82 } 83`,j=(0,d.j8)({theme:(0,c.makeSelectTheme)()});function w({background:e,style:t={},lists:s,logotype:i,poweredBy:a=!1,poweredByColor:n="black",showLanguage:d=!1}){const{theme:c}=(0,p.d4)(j),h=s.map((e=>(0,l.jsxs)(b,{className:"relative w-full p-4 md:w-[6.25%] md:grow lg:py-[10px]",children:[(0,l.jsx)(r.default,{as:"h6",style:e.header.style,children:e.header.content}),e.children.map((e=>(0,l.jsx)("a",{href:e.href,target:e.target||"self",style:f({display:"block"},e.style),children:(0,l.jsx)(r.default,{as:"p",children:e.text})},e.text)))]},e.header.content)));return(0,l.jsxs)(y,{background:e,style:t,children:[(0,l.jsx)("img",{src:c.logos.webLogo||i.url,style:f({width:"120px",maxWidth:"95%",height:"auto",margin:"0 auto",display:"block"},i.style),alt:"Logotype"}),(0,l.jsx)("div",{className:"mx-auto flex max-w-[1080px] flex-wrap",children:(0,l.jsx)("div",{className:"relative flex w-full flex-wrap lg:py-4",children:h})}),d&&(0,l.jsx)(o.default,{}),a&&(0,l.jsx)("div",{className:"mx-auto flow-root max-w-[1080px] px-4 text-center",children:(0,l.jsxs)(r.default,{as:"h9",style:{color:n},children:["Powered by Staylive"," ",(0,l.jsx)("img",{src:"https://assets.platform.staylive.io/assets/images/logo_2022/staylive_round_lightgrey.png",style:{display:"inline-block",width:"25px",height:"auto"},alt:"StayLive"})]})})]})}w.propTypes={background:a().string,logotype:a().object,style:a().object,lists:a().array,showLanguage:a().bool,poweredBy:a().bool,poweredByColor:a().string};const v=w},1408:(e,t,s)=>{s.r(t),s.d(t,{default:()=>o});var l=s(74848),i=(s(96540),s(39125)),a=s(5556),n=s.n(a);function r({styles:e}){return(0,l.jsx)(i.m,{children:(0,l.jsx)("style",{type:"text/css",children:e})})}r.propTypes={styles:n().string};const o=r},98003:(e,t,s)=>{s.r(t),s.d(t,{default:()=>o});var l=s(74848),i=(s(96540),s(39125)),a=s(5556),n=s.n(a);function r({links:e=[],headers:t,paragraphs:s,buttons:a,fontUrls:n=null,headersStyle:r="",buttonsStyle:o="",paragraphsStyle:d=""}){return(0,l.jsxs)(i.m,{children:[e&&e.length>0&&e.map((e=>(0,l.jsx)("link",{href:e,rel:"stylesheet"},e))),null!==n&&n.map((e=>(0,l.jsx)("style",{type:"text/css",children:`\n @font-face {\n font-family: "${e.name}";\n ${e.weight?`font-weight:${e.weight};`:""}\n src: url("${e.url}") format("woff");\n }\n `},e.name))),(0,l.jsx)("style",{type:"text/css",children:`\n p, label, .styledText {\n font-family: ${s}, sans-serif;\n ${d}\n }\n\n body.fontLoaded, h1, h2, h3, h4, h5, h6, h7, .styledText:not(p) {\n font-family: ${t}, sans-serif;\n ${r}\n }\n\n .button:not(.vjs-menu-button),\n .header,\n .menu-label {\n font-family: ${a}, sans-serif;\n ${o}\n }\n `})]})}r.propTypes={links:n().array,headers:n().string,paragraphs:n().string,buttons:n().string,fontUrls:n().array,headersStyle:n().string,buttonsStyle:n().string,paragraphsStyle:n().string};const o=r},88277:(e,t,s)=>{s.r(t),s.d(t,{default:()=>g});var l=s(74848),i=(s(96540),s(38267)),a=s(5556),n=s.n(a),r=s(896),o=s(15979),d=s(24100),c=s(8406);const p=i.Ay.div` 84 position: absolute; 85 top: 0; 86 left: 0; 87 right: 0; 88 bottom: 0; 89 height: 100%; 90 width: 100%; 91 background: linear-gradient(transparent, ${e=>e.gradientColor}) 0% 92 0% / cover no-repeat; 93 background-repeat: no-repeat; 94 z-index: 5; 95`,h=i.Ay.div` 96 padding-top: calc(720 / 1280 * 100%); 97 position: relative; 98 overflow: hidden; 99`,x=i.Ay.div` 100 max-height: 70vh; 101 position: relative; 102 overflow: hidden; 103 z-index: 0; 104`,u=(0,i.Ay)(o.default)` 105 position: absolute; 106 top: 0; 107 left: 0; 108 right: 0; 109 bottom: 0; 110 margin-top: 0; 111 max-width: 100%; 112 object-fit: cover; 113 height: 100%; 114 width: 100vw; 115 vertical-align: middle; 116`;function m({image:e,backgroundColor:t,startTime:s,endTime:i,countdownClasse
116s:a={}}){return(0,l.jsxs)(x,{children:[(0,l.jsx)(p,{gradientColor:t}),!(0,c.Ag)(s)&&!(0,c.vC)(s,i)&&(0,l.jsx)("div",{className:"absolute inset-0 z-10 flex items-center px-10 text-4xl text-white md:text-3xl sm:px-12 md:px-0",children:(0,l.jsx)(r.default,{date:(0,d.u4)(s),textClasses:(null==a?void 0:a.textClasses)||""})}),(0,l.jsx)(h,{children:(0,l.jsx)(u,{alt:"Livestream background",src:e})})]})}m.propTypes={image:n().any,backgroundColor:n().string,startTime:n().string,endTime:n().string,countdownClasses:n().shape({textClasses:n().string})};const g=m},3694:(e,t,s)=>{s.r(t),s.d(t,{default:()=>m});var l=s(74848),i=(s(96540),s(5556)),a=s.n(i),n=s(23114),r=s(84976),o=s(24100),d=Object.defineProperty,c=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,x=(e,t,s)=>t in e?d(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,u=(e,t)=>{for(var s in t||(t={}))p.call(t,s)&&x(e,s,t[s]);if(c)for(var s of c(t))h.call(t,s)&&x(e,s,t[s]);return e};function m(e){return"GRID"===e.mode?(0,l.jsx)(g,u({title:e.title,description:e.description,content:e.content},e.gridProps)):"VERTICAL"===e.mode?(0,l.jsx)(f,u({title:e.title,description:e.description,content:e.content},e.verticalProps)):null}function g({content:e,title:t,description:s,wrapperClasses:i,containerClasses:a,items:d,button:c}){return(0,l.jsxs)("div",{className:i,children:[t.show&&(0,l.jsx)("p",{className:t.classes,children:(0,l.jsx)(n.default,{text:t.text})}),s.show&&(0,l.jsx)("p",{className:s.classes,children:(0,l.jsx)(n.default,{text:s.text})}),(0,l.jsxs)("div",{className:a,children:[null==e?void 0:e.map(((e,t)=>{var s;return(0,l.jsxs)("div",{className:d.itemClasses,children:[(0,l.jsx)("img",{src:e.image.url,alt:e.title[0],className:d.imageClasses}),(0,l.jsx)("p",{className:d.titleClasses,children:(0,l.jsx)(n.default,{text:e.title})}),(0,l.jsx)("p",{className:d.descriptionClasses,children:(0,l.jsx)(n.default,{text:e.description})})]},`${null==(s=null==e?void 0:e.image)?void 0:s.url}-${t}`)})),(null==c?void 0:c.show)&&(0,l.jsx)(l.Fragment,{children:(0,o.pE)(c.href)?(0,l.jsx)(r.N_,{to:c.href,className:c.classes,children:(0,l.jsx)(n.default,{text:c.text||"Button"})},`${c.href}-${c.text}`):(0,l.jsx)("a",{href:c.href,target:"_blank",className:c.classes,children:(0,l.jsx)(n.default,{text:c.text||"Button"})},`${c.href}-${c.text}`)})]})]})}function f({content:e,title:t,description:s,wrapperClasses:i,containerClasses:a,items:d,button:c}){return(0,l.jsxs)("div",{className:i,children:[t.show&&(0,l.jsx)("p",{className:t.classes,children:(0,l.jsx)(n.default,{text:t.text})}),s.show&&(0,l.jsx)("p",{className:s.classes,children:(0,l.jsx)(n.default,{text:s.text})}),(0,l.jsxs)("div",{className:a,children:[(null==e?void 0:e.map((e=>(0,l.jsxs)("div",{className:d.itemClasses,children:[(0,l.jsx)("p",{className:d.titleClasses,children:(0,l.jsx)(n.default,{text:e.title})}),(0,l.jsx)("p",{className:d.descriptionClasses,children:(0,l.jsx)(n.default,{text:e.description})}),(0,l.jsx)("img",{src:e.image.url,alt:e.title[0],className:d.imageClasses})]},`${e.image.url}-${e.title[0]}}`))))||[],(null==c?void 0:c.show)&&(0,l.jsx)(l.Fragment,{children:(0,o.pE)(c.href)?(0,l.jsx)(r.N_,{to:c.href,className:c.classes,children:(0,l.jsx)(n.default,{text:c.text||"Button"})},`${c.href}-${c.text}`):(0,l.jsx)("a",{href:c.href,target:"_blank",className:c.classes,children:(0,l.jsx)(n.default,{text:c.text||"Button"})},`${c.href}-${c.text}`)})]})]})}m.propTypes={mode:a().oneOf(["GRID","VERTICAL"]),content:a().arrayOf(a().shape({image:a().shape({url:a().string}),title:a().oneOfType([a().string,a().object]),description:a().oneOfType([a().string,a().object])})),gridProps:a().shape({wrapperClasses:a().string,title:a().shape({show:a().bool,text:a().oneOfType([a().string,a().object]),classes:a().string}),description:a().shape({show:a().bool,text:a().oneOfType([a().string,a().object]),classes:a().string}),containerClasses:a().string,items:a().shape({itemClasses:a().string,imageClasses:a().string,titleClasses:a().string,descriptionClasses:a().string}),button:a().shape({show:a().bool,href:a().string,text:a().oneOfType([a().string,a().object]),classes:a().string})}),verticalProps:a().shape({wrapperClasses:a().string,title:a().shape({show:a().bool,text:a().oneOfType([a().string,a().object]),classes:a().string}),description:a().shape({show:a().bool,text:a().oneOfType([a().string,a().object]),classes:a().string}),containerClasses:a().string,items:a().shape({itemClasses:a().string,imageClasses:a().string,titleClasses:a().string,descriptionClasses:a().string}),button:a().shape({show:a().bool,href:a().string,text:a().oneOfType([a().string,a().object]),classes:a().string})})}},90915:(e,t,s)=>{s.r(t),s.d(t,{default:()=>z});var l=s(74848),i=s(96540),a=s(38267),n=s(5556),r=s.n(n),o=s(24100),d=s(23114),c=s(68074),p=s(24712),h=s(15422),x=s(88626),u=s(77335),m=s(461),g=Object.defineProperty,f=Object.defineProperties,y=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,j=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable,v=(e,t,s)=>t in e?g(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,k=(e,t)=>{for(var s in t||(t={}))j.call(t,s)&&v(e,s,t[s]);if(b)for(var s of b(t))w.call(t,s)&&v(e,s,t[s]);return e},C=(e,t)=>f(e,y(t));const N=u.tileWidth/(16/9),$="700px";function T(e,t=!0){document.getElementById(`scrollview-${e}`).style["scroll-behavior"]="smooth",t?document.getElementById(`scrollview-${e}`).scrollLeft+=window.innerWidth-100:document.getElementById(`scrollview-${e}`).scrollLeft-=window.innerWidth,setTimeout((()=>{document.getElementById(`scrollview-${e}`).style["scroll-behavior"]="inherit"}),1e3)}const L=a.Ay.div` 117 overflow: scroll; 118 align-items: top; 119 margin: 5px auto; 120 width: 100%; 121 position: relative; 122 overflow-y: hidden; 123 margin-top: -20px; 124 -ms-overflow-style: none; 125 min-height: ${1.1*(x.cardHeight+40)}px; 126 127 &::-webkit-scrollbar {
128 display: none; 129 } 130 scrollbar-width: none; 131 -webkit-overflow-scrolling: touch; 132`,A=(0,a.Ay)(c.default)` 133 position: relative; 134 top: 20px; 135 left: 20px; 136 display: inline-block; 137`,_=a.Ay.span` 138 position: relative; 139 display: inline-block; 140 width: ${220/3}px !important; 141 height: ${200}px !important; 142 background: none !important; 143 border-radius: 6px; 144 overflow: hidden; 145 z-index: 2; 146 margin-right: 20px; 147 cursor: pointer; 148 border: 2px solid white; 149 transition: ${x.duration} all; 150 -webkit-user-select: none; 151 user-select: none; 152 transform-origin: center left; 153 154 .icon, 155 .loader { 156 position: absolute !important; 157 top: 50% !important; 158 left: 50% !important; 159 transform: translate(-50%, -50%) !important; 160 } 161 162 @media only screen and (max-width: ${$}) { 163 width: ${220/3}px !important; 164 height: ${220/3}px !important; 165 } 166`,I=a.Ay.div` 167 position: relative; 168 top: 40px; 169 padding: 0 20px; 170 transition: ${x.duration} transform; 171 white-space: nowrap; 172 margin: (${x.cardHeight}px / 2) 0; 173 174 @media only screen and (min-width: ${$}) { 175 &:hover { 176 transform: translate3d(${-20}px, 0, 0); 177 178 .tile { 179 opacity: 0.6; 180 181 &:not(.loadMore):hover { 182 transform: scale(${1.1}); 183 } 184 &:hover { 185 opacity: 1; 186 } 187 } 188 189 .tile:hover ~ .tile { 190 transform: translate3d(${20}px, 0, 0); 191 } 192 193 .tile:first-child:hover ~ .tile { 194 transform: translate3d(${40}px, 0, 0); 195 } 196 197 .tile:first-child:hover { 198 transform: translate3d(${20}px, 0, 0) scale(${1.1}); 199 } 200 } 201 } 202 203 @media only screen and (max-width: ${$}) { 204 .tile { 205 width: ${1.2*N}px; 206 height: ${1.2*x.cardHeight}px; 207 } 208 } 209`,O=a.Ay.button` 210 display: inline-block; 211 margin: 0 4px; 212 border-radius: 10em; 213 font-size: 0.92857143rem; 214 box-shadow: none !important; 215 cursor: pointer; 216 background: none !important; 217 border: 2px solid white; 218 text-align: center !important; 219 padding: 6px 9px 6px 9px !important; 220 221 &:disabled { 222 cursor: default; 223 opacity: 0.45; 224 pointer-events: none; 225 } 226`,S=a.Ay.div` 227 position: absolute; 228 top: 15px; 229 z-index: 20; 230 right: 15px; 231 text-align: right; 232 233 @media only screen and (max-width: 800px) { 234 display: none; 235 } 236`;function E(e){const[t,s]=(0,i.useState)(!1),[a,n]=(0,i.useState)(!1),{content:r,title:c,customHref:g=null,liveLabel:f,type:y,dateLabel:b,onLoadMore:j,loadingAppend:w}=e;return setTimeout((()=>{document.getElementById(`scrollview-${e.id}`).addEventListener("scroll",(()=>{document.getElementById(`scrollview-${e.id}`).scrollLeft>0?s(!0):s(!1)})),document.getElementById(`scrollview-${e.id}`).addEventListener("mousedown",(()=>{n(!1)})),document.getElementById(`scrollview-${e.id}`).addEventListener("mousemove",(()=>{})),document.getElementById(`scrollview-${e.id}`).addEventListener("click",(e=>{a&&e.preventDefault()}))}),1e3),"video"===y?(0,l.jsxs)("div",{style:{position:"relative"},children:[(0,l.jsx)(A,C(k({as:"h2",className:"styledText"},c),{children:(0,l.jsx)(d.default,{text:c.title})})),(0,l.jsxs)(S,{children:[(0,l.jsx)(O,{type:"button","data-testid":"scroll-left-button",onClick:()=>T(e.id,!1),disabled:!t,style:C(k({},c.style),{borderColor:c.style?`${c.style.background||c.style.color}`:"white !important",color:c.style?`${c.style.background||c.style.color}`:"white !important"}),children:(0,l.jsx)(p.default,{icon:"chevron-left",className:"w-[1em]"})}),(0,l.jsx)(O,{type:"button","data-testid":"scroll-right-button",onClick:()=>T(e.id),style:C(k({},c.style),{borderColor:c.style?`${c.style.background||c.style.color}`:"white !important",color:c.style?`${c.style.background||c.style.color}`:"white !important"}),children:(0,l.jsx)(p.default,{icon:"chevron-right",className:"w-[1em]"})})]}),(0,l.jsx)(L,{id:`scrollview-${e.id}`,children:(0,l.jsxs)(I,{children:[r.map((e=>(0,l.jsx)(m.default,{video:e,dateLabel:b,to:g?(0,o.x_)(g,e.seo_string||e.id||e.video_id):`/video?id=${e.seo_string||e.id||e.video_id}`},e.id))),r.length>19&&(0,l.jsxs)(_,{onClick:()=>j(),className:"tile loadMore",style:C(k({},c.style),{borderColor:c.style?`${c.style.background||c.style.color}`:"white !important",color:c.style?`${c.style.background||c.style.color}`:"white !important"}),children:[(0,l.jsx)(u.TileDetails,{style:{background:"none",boxShadow:"none"}}),(0,l.jsx)(u.TileContent,{}),(0,l.jsx)(u.LoadMoreTile,{style:{opacity:0}
236}),w?(0,l.jsx)(h.default,{size:6}):(0,l.jsx)(p.default,{icon:"chevron-right",size:"xl",className:"icon"})]})]})})]}):(0,l.jsxs)("div",{style:{position:"relative"},children:[(0,l.jsx)(A,C(k({as:"h2",className:"styledText"},c),{children:(0,l.jsx)(d.default,{text:c.title})})),(0,l.jsxs)(S,{children:[(0,l.jsx)(O,{type:"button","data-testid":"scroll-left-button",onClick:()=>T(e.id,!1),disabled:!t,style:C(k({},c.style),{borderColor:c.style?`${c.style.background||c.style.color}`:"white !important",color:c.style?`${c.style.background||c.style.color}`:"white !important"}),children:(0,l.jsx)(p.default,{icon:"chevron-left",className:"w-[1em]"})}),(0,l.jsx)(O,{type:"button","data-testid":"scroll-right-button",onClick:()=>T(e.id),style:C(k({},c.style),{borderColor:c.style?`${c.style.background||c.style.color}`:"white !important",color:c.style?`${c.style.background||c.style.color}`:"white !important"}),children:(0,l.jsx)(p.default,{icon:"chevron-right",className:"w-[1em]"})})]}),(0,l.jsx)(L,{id:`scrollview-${e.id}`,children:(0,l.jsx)(I,{children:r.map((e=>(0,l.jsx)(x.default,{livestream:e,liveLabel:f,to:g?(0,o.x_)(g,e.seo_string||e.id):`/livestream?id=${e.seo_string||e.id}`},e.id)))})})]})}E.propTypes={content:r().array,id:r().string,title:r().object,liveLabel:r().object,type:r().string,customHref:r().string,dateLabel:r().object,onLoadMore:r().func,loadingAppend:r().bool,designType:r().string};const z=E},88626:(e,t,s)=>{s.r(t),s.d(t,{cardHeight:()=>u,cardWidth:()=>x,default:()=>v,duration:()=>m});var l=s(74848),i=(s(96540),s(5556)),a=s.n(i),n=s(38267),r=s(84976),o=s(26840),d=s(4870),c=s(24100),p=s(15979),h=s(68074);const x=220,u=220,m="300ms",g=(0,n.Ay)(r.N_)` 237 position: relative; 238 display: inline-block; 239 background: white; 240 width: ${x}px; 241 height: ${u}px; 242 box-shadow: 0px 0px 6px 1px rgba(0, 0, 0, 0.2); 243 border-radius: 3px; 244 z-index: 2; 245 margin-right: 10px; 246 cursor: pointer; 247 white-space: normal; 248 overflow: hidden; 249 transition: ${m} all; 250 color: black; 251 transform-origin: center left; 252 -webkit-user-select: none; 253 user-select: none; 254 255 &:hover { 256 color: black; 257 } 258 259 @media only screen and (min-width: ${700}) { 260 &:hover { 261 .tile-details { 262 opacity: 1; 263 } 264 } 265 } 266 267 @media only screen and (max-width: ${700}) { 268 .tile-details { 269 opacity: 1; 270 } 271 } 272`,f=n.Ay.div` 273 position: absolute; 274 bottom: 0; 275 left: 0; 276 border-radius: 3px; 277 height: 4px; 278 background: #a11014; 279 width: 0; 280 padding: 0 !important; 281`,y=n.Ay.div` 282 height: 46px !important; 283`,b=n.Ay.div` 284 width: 100%; 285 height: 125px; 286 overflow: hidden; 287 object-fit: cover; 288 289 img { 290 display: inline-block; 291 width: 100%; 292 height: auto; 293 } 294`,j=(0,n.Ay)(h.default)` 295 font-family: Arial; 296 font-weight: bold; 297`;function w(e){const{livestream:t,to:s}=e;return(0,l.jsx)(g,{className:"tile",to:s,children:(0,l.jsxs)("div",{className:"-my-4 flex flex-wrap",children:[(0,l.jsx)("div",{className:"relative flex w-full flex-wrap",children:(0,l.jsx)("div",{className:"relative w-full",children:(0,l.jsx)(b,{children:(0,l.jsx)(p.default,{src:`${t.thumbnail}?width=500`,alt:t.name,loading:"lazy",decoding:"async"})})})}),(0,l.jsx)("div",{className:"relative flex w-full flex-wrap",children:(0,l.jsx)("div",{className:"relative w-full",style:{padding:"6px 10px 3px 10px"},children:(0,l.jsxs)(j,{as:"h9",style:{fontSize:"0.8em"},children:[(0,l.jsx)(o.default,{date:t.start,showDate:!1})," - ",(0,l.jsx)(d.default,{start:t.start})]})})}),(0,l.jsx)("div",{className:"relative flex w-full flex-wrap",children:(0,l.jsx)(y,{className:"relative w-full",style:{padding:"0 10px"},children:(0,l.jsx)(j,{as:"h8",style:{maxWidth:"100%"},children:t.name})})}),(0,l.jsx)("div",{className:"relative flex w-full flex-wrap",children:(0,l.jsx)("div",{className:"relative w-full",style:{padding:"0 10px"},children:(0,l.jsx)(h.default,{as:"h9",style:{position:"relative"},children:t.channelName})})}),(0,l.jsx)(f,{style:{width:(i=t.start,a=t.end,100-(new Date((0,c.u4)(a)).getTime()-(new Date).getTime())/(new Date(a).getTime()-new Date((0,c.u4)(i)).getTime())*100+"%")}})]})},t.id);var i,a}w.propTypes={livestream:a().object,to:a().string};const v=w},12240:(e,t,s)=>{s.r(t),s.d(t,{default:()=>y});var l=s(74848),i=(s(96540),s(38267)),a=s(84976),n=s(5556),r=s.n(n),o=s(24712),d=s(24100),c=s(68074),p=s(15979),h=s(32367),x=s(29236),u=s(68841),m=s(77335);const g=i.Ay.h5` 298 ${e=>e.headerstyle?e.headerstyle:""}; 299`;function f(e){const{livestream:t,to:s,liveLabel:i,cardHeader:n,index:r,cardSubHeader:f,handleClick:y=()=>{}}=e;return(0,l.jsx)(m.Tile,{className:"tile",onClick:()=>y({content_id:t.id,content_title:t.name,index:r,type:"live",accessible:0===t.price}),children:(0,l.jsxs)(a.N_,{to:s,children:[(0,l.jsx)("div",{className:"play-button",children:(0,l.jsx)(o.default,{icon:"play",size:"4x",fixedWidth:!0})}),(0,l.jsx)(m.TileImgWrapper,{children:(0,l.jsx)(p.default,{src:`${t.thumbnail}?width=500`,alt:t.name,draggable:"false",loading:"lazy",decoding:"async"})}),(0,l.jsx)(m.StatusLabel,{className:"styledText",style:new Date((0,d.u4)(t.start))<new Date?i.live:i.upcoming,children:(0,l.jsx)("h4",{children:(0,l.jsx)(x.default,{date:t.start})})}),(0,l.jsx)(m.TileDetails,{className:"tile-details",children:(0,l.jsx)(m.TileContent,{children:(0,l.jsx)("div",{className:"-my-4 flex flex-wrap",children:(0,l.jsxs)("div",{className:"relative flex w-full flex-wrap py-4",children:[(0,l.jsx)("div",{className:"relative w-[12.5%] self-center text-center",style:{paddingLeft:0,paddingRight:0,margin:"0 auto",fontSize:"1.15em"},children:(0,l.jsx)(c.default,{style:{paddingLeft:0,paddingRight:0,textAlign:"center",margin:"0 auto",fontSize:"0.9em"},as:"h7",children:(0,l.jsx)(u.default,{date:t.start})})}),(0,l.jsx)("div",{className:"relative w-[81.25%] px-4 text-left",style:{paddingLeft:"10px",margin:"0 auto",display:"flex",alignItems:"center"},children:(0,l.jsxs)(g,{headerstyle:n.style,children:[(0,l.jsx)(h.default,{limit:f.disabled?45:35,children:t.name}),!f.disabled&&(0,l.jsx)(g.Subheader,{headerstyle:f.style,children:t.channelName})]})})]})})})})]})},t.id)}g.Subheader=i.Ay.p` 300 color: inherit; 301 z-index: 10; 302 303 ${e=>e.headerstyle?e.headerstyle:""}; 304`,f.propTypes={livestream:r().object,to:r().string,liveLabel:r().object,cardHeader:r().object,cardSubHeader:r().object,handleClick:r().func,index:r().number};const y=f},72278:(e,t,s)=>{s.r(t),s.d(t,{Row:()=>N,RowInner:()=>T,default:()=>I});var l=s(74848),i=s(96540),a=s(38267),n=s(5556),r=s.n(n),o=s(24100),d=s(23114),c=s(68074),p=s(24712),h=s(78210),x=s(12240),u=s(14623),m=Object.defineProperty,g=Object.defineProperties,f=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable,w=(e,t,s)=>t in e?m(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,v=(e,t)=>
304{for(var s in t||(t={}))b.call(t,s)&&w(e,s,t[s]);if(y)for(var s of y(t))j.call(t,s)&&w(e,s,t[s]);return e},k=(e,t)=>g(e,f(t));function C(e,t=!0){document.getElementById(`scrollview-${e}`).style["scroll-behavior"]="smooth",t?document.getElementById(`scrollview-${e}`).scrollLeft+=window.innerWidth-100:document.getElementById(`scrollview-${e}`).scrollLeft-=window.innerWidth,setTimeout((()=>{document.getElementById(`scrollview-${e}`).style["scroll-behavior"]="inherit"}),1e3)}const N=a.Ay.div` 305 overflow: scroll; 306 align-items: top; 307 width: 100%; 308 position: relative; 309 overflow-y: hidden; 310 margin-top: -20px; 311 -ms-overflow-style: none; 312 height: ${236.25}px; 313 314 &::-webkit-scrollbar { 315 display: none; 316 } 317 scrollbar-width: none; 318 -webkit-overflow-scrolling: touch; 319`,$=(0,a.Ay)(c.default)` 320 position: relative; 321 top: 20px; 322 margin-left: 20px; 323 display: inline-block; 324 overflow: hidden; 325`,T=a.Ay.div` 326 position: relative; 327 top: 40px; 328 padding: 0 20px; 329 transition: ${"300ms"} transform; 330 white-space: nowrap; 331 margin: (${157.5}px / 2) 0; 332 333 @media only screen and (min-width: ${"700px"}) { 334 &:hover { 335 transform: translate3d(${-70}px, 0, 0); 336 337 .tile { 338 opacity: 0.6; 339 340 &:not(.loadMore):hover { 341 transform: scale(${1.5}); 342 } 343 &:hover { 344 opacity: 1; 345 } 346 } 347 348 .tile:hover ~ .tile { 349 transform: translate3d(${140}px, 0, 0); 350 } 351 352 .tile:first-child:hover ~ .tile { 353 transform: translate3d(${210}px, 0, 0); 354 } 355 356 .tile:first-child:hover { 357 transform: translate3d(${70}px, 0, 0) scale(${1.5}); 358 } 359 } 360 } 361`,L=a.Ay.button` 362 display: inline-block; 363 margin: 0 4px; 364 border-radius: 10em; 365 font-size: 0.92857143rem; 366 box-shadow: none !important; 367 cursor: pointer; 368 background: none !important; 369 border: 2px solid white; 370 text-align: center !important; 371 padding: 6px 9px 6px 9px !important; 372 373 &:disabled { 374 cursor: default; 375 opacity: 0.45; 376 pointer-events: none; 377 } 378`,A=a.Ay.div` 379 position: absolute; 380 top: 15px; 381 z-index: 20; 382 right: 15px; 383 text-align: right; 384 385 @media only screen and (max-width: 800px) { 386 display: none; 387 } 388`;function _(e){const[t,s]=(0,i.useState)(!1),[a,n]=(0,i.useState)(0),r=(0,i.useRef)(),c=(0,h.Pd)(r,"0px",!0),{content:m,title:g,type:f,onLoadMore:y,loadingAppend:b,customHref:j=null,dateLabel:w,liveLabel:_,cardHeader:I,cardSubHeader:O,onContentClick:S=()=>{}}=e;return(0,i.useEffect)((()=>{c&&m.length>19&&m.length>a&&!b&&(n(m.length),y())}),[c]),setTimeout((()=>{const t=document.getElementById(`scrollview-${e.id}`);t&&t.addEventListener("scroll",(()=>{t.scrollLeft>0?s(!0):s(!1)}))}),1e3),"video"===f?(0,l.jsxs)("div",{style:{position:"relative"},children:[(0,l.jsx)($,k(v({as:"h2",className:"styledText",style:g},g),{children:(0,l.jsx)(d.default,{text:g.title})})),(0,l.jsxs)(A,{children:[(0,l.jsx)(L,{type:"button","data-testid":"scroll-left-button",onClick:()=>C(e.id,!1),disabled:!t,style:k(v({},g.style),{borderColor:g.style?`${g.style.background||g.style.color}`:"white !important",color:g.style?`${g.style.background||g.style.color}`:"white !important",display:t?"":"none"}),children:(0,l.jsx)(p.default,{icon:"chevron-left",className:"w-[1em]"})}),(0,l.jsx)(L,{type:"button","data-testid":"scroll-right-button",onClick:()=>C(e.id),style:k(v({},g.style),{borderColor:g.style?`${g.style.background||g.style.color}`:"white !important",color:g.style?`${g.style.background||g.style.color}`:"white !important"}),children:(0,l.jsx)(p.default,{icon:"chevron-right",className:"w-[1em]"})})]}),(0,l.jsx)(N,{id:`scrollview-${e.id}`,children:(0,l.jsx)(T,{children:m.map(((e,t)=>(0,l.jsxs)(i.Fragment,{children:[(0,l.jsx)(u.default,{video:e,index:t,dateLabel:w,id:e.id,cardHeader:I,handleClick:e=>S(k(v({},e),{list:g.title})),cardSubHeader:O,to:j?(0,o.x_)(j,e.seo_string||e.video_id||e.id):`/video?id=${e.seo_string||e.video_id||e.id}`},e.video_id||e.id),(0,l.jsx)("div",{ref:m.length-3===t?r:null,style:{visibility:"hidden",display:"inline-block",height:0,width:0,padding:0,margin:0}})]},e.id||e.video_id)))})})]}):(0,l.jsxs)("div",{style:{position:"relative"},children:[(0,l.jsx)($,k(v({as:"h2",className:"styledText"},g),{children:(0,l.jsx)(d.default,{text:g.title})})),(0,l.jsxs)(A,{children:[(0,l.jsx)(L,{type:"button","data-testid":"scroll-left-button",onClick:()=>C(e.id,!1),disabled:!t,style:k(v({},g.style),{borderColor:g.style?`${g.style.background||g.style.color}`:"white !important",color:g.style?`${g.style.background||g.style.color}`:"white !important",display:t?"":"none"}),children:(0,l.jsx)(p.default,{icon:"chevron-left",className:"w-[1em]"})}),(0,l.jsx)(L,{type:"button","data-testid":"scroll-right-button",onClick:()=>C(e.id),style:k(v({},g.style),{borderColor:g.style?`${g.style.background||g.style.color}`:"white !important",color:g.style?`${g.style.background||g.style.color}`:"white !important"}),children:(0,l.jsx)(p.default,{icon:"chevron-right",className:"w-[1em]"})})]}),(0,l.jsx)(N,{id:`scrollview-${e.id}`,children:(0,l.jsx)(T,{children:m.map(((e,t)=>(0,l.jsxs)(i.Fragment,{children:[(0,l.jsx)(x.default,{livestream:e,index:t,liveLabel:_,handleClick:e=>S(k(v({},e),{list:g.title})),cardHeader:I,cardSubHeader:O,to:j?(0,o.x_)(j,e.seo_string||e.id):`/livestream?id=${e.seo_string||e.id}`},e.id),(0,l.jsx)("div",{ref:m.length-3===t?r:null,style:{visibility:"hidden",display:"inline-block",height:0,width:0,padding:0,margin:0}})]},e.id)))})})]})}
388_.propTypes={content:r().array,id:r().string,title:r().object,liveLabel:r().object,cardHeader:r().object,cardSubHeader:r().object,type:r().string,customHref:r().string,dateLabel:r().object,onLoadMore:r().func,loadingAppend:r().bool,designType:r().string,onContentClick:r().func};const I=_},77335:(e,t,s)=>{s.r(t),s.d(t,{LoadMoreTile:()=>d,StatusLabel:()=>h,Tile:()=>p,TileContent:()=>x,TileDetails:()=>c,TileImgWrapper:()=>o,tileHeight:()=>r,tileWidth:()=>n});var l=s(38267);const i="700px",a="300ms",n=280,r=n/(16/9),o=l.Ay.div` 389 img, 390 div { 391 width: ${n}px; 392 overflow: hidden; 393 height: ${r}px; 394 object-fit: cover; 395 } 396`,d=l.Ay.img` 397 width: ${n}px; 398 height: ${r}px; 399 object-fit: cover; 400`,c=l.Ay.div` 401 position: absolute; 402 bottom: 0; 403 bottom: 0; 404 left: 0; 405 right: 0; 406 top: 0; 407 opacity: 1; 408 -webkit-user-select: none; 409 user-select: none; 410 background: linear-gradient( 411 to top, 412 rgba(0, 0, 0, 0.9) 0%, 413 rgba(0, 0, 0, 0) 100% 414 ); 415 416 transition: ${a} opacity; 417`,p=l.Ay.div` 418 position: relative; 419 display: inline-block; 420 width: ${n}px; 421 height: ${r}px; 422 border-radius: 6px; 423 overflow: hidden; 424 z-index: 2; 425 margin-right: 10px; 426 cursor: pointer; 427 transition: ${a} all; 428 transform-origin: center left; 429 -webkit-user-select: none; 430 user-select: none; 431 432 .play-button { 433 position: absolute; 434 top: 50%; 435 bottom: 0; 436 left: 50%; 437 right: 0; 438 color: white; 439 z-index: 10; 440 transform: translate(-20%, -45%); 441 transition: opacity 0.35s ease-in-out; 442 opacity: 0; 443 font-size: 0.8em; 444 } 445 446 @media only screen and (min-width: ${i}) { 447 &:hover { 448 .tile-details { 449 opacity: 1; 450 } 451 } 452 } 453 454 &:hover { 455 .play-button { 456 opacity: 1; 457 } 458 } 459 460 @media only screen and (max-width: ${i}) { 461 .tile-details { 462 opacity: 1; 463 } 464 } 465`,h=l.Ay.div` 466 position: absolute; 467 top: 0; 468 left: 0; 469 background: #00274a; 470 color: white; 471 padding: 6px 22px 4px 22px; 472 border-radius: 0 0 6px 0; 473 z-index: 2; 474 font-size: 1em; 475 box-shadow: 1px 0px 4px 0 rgba(0, 0, 0, 0.3); 476`,x=l.Ay.div` 477 position absolute; 478 bottom: 0; 479 color: white; 480 width: 100%; 481 padding: 10px; 482`},461:(e,t,s)=>{s.r(t),s.d(t,{cardHeight:()=>x,cardWidth:()=>h,default:()=>j,duration:()=>u});var l=s(74848),i=(s(96540),s(5556)),a=s.n(i),n=s(38267),r=s(84976),o=s(26840),d=s(68074),c=s(15979),p=s(77335);const h=220,x=200,u="300ms",m=(0,n.Ay)(r.N_)` 483 position: relative; 484 display: inline-block; 485 background: white; 486 width: ${h}px; 487 height: ${x}px; 488 box-shadow: 0px 0px 6px 1px rgba(0, 0, 0, 0.2); 489 border-radius: 3px; 490 z-index: 2; 491 margin-right: 10px; 492 cursor: pointer; 493 white-space: normal; 494 overflow: hidden; 495 transition: ${u} all; 496 color: black; 497 transform-origin: center left; 498 -webkit-user-select: none; 499 user-select: none; 500 501 &:hover { 502 color: black; 503 } 504 505 @media only screen and (min-width: ${700}) { 506 &:hover { 507 .tile-details { 508 opacity: 1; 509 } 510 } 511 } 512 513 @media only screen and (max-width: ${700}) { 514 .tile-details { 515 opacity: 1; 516 } 517 } 518`,g=n.Ay.div` 519 height: 60px !important; 520`,f=n.Ay.div` 521 width: 100%; 522 height: 125px; 523 overflow: hidden; 524 object-fit: cover; 525 526 img { 527 display: inline-block; 528 width: 100%; 529 height: auto; 530 } 531`,y=(0,n.Ay)(d.default)` 532 font-family: Arial; 533 font-weight: bold; 534`;function b(e){const{video:t,to:s,dateLabel:i}=e;return(0,l.jsxs)(m,{className:"tile",to:s,children:[(0,l.jsx)(p.StatusLabel,{style:i,children:(0,l.jsx)("h4",{children:(0,l.jsx)(o.default,{date:t.publish_date||t.created_at,short:!0,time:!1})})}),(0,l.jsxs)("div",{className:"-my-4 flex flex-wrap",children:[(0,l.jsx)("div",{className:"relative flex w-full flex-wrap",children:(0,l.jsx)("div",{className:"relative w-full",children:(0,l.jsx)(f,{children:(0,l.jsx)(c.default,{src:`${t.thumbnail}?width=500`,alt:t.name,loading:"lazy",decoding:"async"})})})}),(0,l.jsx)("div",{className:"relative flex w-full flex-wrap",children:(0,l.jsx)(g,{className:"relative w-full",style:{padding:"10px 10px 0 10px"},children:(0,l.jsx)(y,{as:"h8",style:{maxWidth:"100%"},children:t.name})})}),(0,l.jsx)("div",{className:"relative flex w-full flex-wrap",children:(0,l.jsx)("div",{className:"relative w-full",style:{padding:"0 10px"},children:(0,l.jsx)(d.default,{as:"h9",style:{position:"relative"},children:t.channelName})})})]})]},t.id||t.video_id)}b.propTypes={video:a().object,to:a().string,dateLabel:a().string};const j=b},14623:(e,t,s)=>{s.r(t),s.d(t,{default:()=>m});var l=s(74848),i=(s(96540),s(38267)),a=s(5556),n=s.n(a),r=s(84976),o=s(24712),d=s(15979),c=s(26840),p=s(32367),h=s(77335);const x=i.Ay.h5` 535 ${e=>e.headerstyle?e.headerstyle:""}; 536`;function u(e){const{video:t,to:s,dateLabel:i,cardHeader:a,index:n,cardSubHeader:u,handleClick:m=()=>{}}=e;return(0,l.jsx)(h.Tile,{className:"tile",onClick:()=>m({content_id:t.id||t.video_id,content_title:t.name,index:n,type:"clip",accessible:0===t.price}),children:(0,l.jsxs)(r.N_,{to:s,children:[(0,l.jsx)("div",{className:"play-button",children:(0,l.jsx)(o.default,{icon:"play",size:"4x",fixedWidth:!0})}),(0,l.jsx)(h.TileImgWrapper,{children:(0,l.jsx)(d.default,{src:`${t.thumbnail}?width=500`,alt:t.name,draggable:"false",loading:"lazy",decoding:"async"})}),(0,l.jsx)(h.StatusLabel,{style:i,children:(0,l.jsx)("h4",{children:(0,l.jsx)(c.default,{date:t.publish_date||t.created_at,
536short:!0,time:!1})})}),(0,l.jsx)(h.TileDetails,{className:"tile-details",children:(0,l.jsx)(h.TileContent,{children:(0,l.jsx)("div",{className:"-my-4 flex flex-wrap",children:(0,l.jsx)("div",{className:"relative flex w-full flex-wrap py-4",children:(0,l.jsx)("div",{className:"relative w-full px-4 text-left",style:{paddingLeft:"10px",margin:"0 auto",display:"flex",alignItems:"center"},children:(0,l.jsxs)(x,{headerstyle:a.style,children:[(0,l.jsx)(p.default,{limit:u.disabled?65:35,children:t.name}),!u.disabled&&(0,l.jsx)(x.Subheader,{headerstyle:u.style,children:t.channelName})]})})})})})})]})},t.id||t.video_id)}x.Subheader=i.Ay.p` 537 color: inherit; 538 z-index: 10; 539 540 ${e=>e.headerstyle?e.headerstyle:""}; 541`,u.propTypes={video:n().object,to:n().string,dateLabel:n().object,cardHeader:n().object,cardSubHeader:n().object,handleClick:n().func,index:n().number};const m=u},50504:(e,t,s)=>{s.r(t),s.d(t,{default:()=>f});var l=s(74848),i=(s(96540),s(5556)),a=s.n(i),n=s(82960),r=s(21535),o=s(72278),d=s(90915),c=Object.defineProperty,p=Object.getOwnPropertySymbols,h=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,u=(e,t,s)=>t in e?c(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,m=(e,t)=>{for(var s in t||(t={}))h.call(t,s)&&u(e,s,t[s]);if(p)for(var s of p(t))x.call(t,s)&&u(e,s,t[s]);return e};function g(e){(0,r.R)("[[HorizontalScrollList]] mounted",e);const{designType:t="lolomo"}=e;return"lolomo"===t?(0,l.jsx)(o.default,m({},e)):"Cards"===t?(0,l.jsx)(d.default,m({},e)):"No design type"}g.propTypes={content:a().array,id:a().string,title:a().object,liveLabel:a().object,cardHeader:a().object,cardSubHeader:a().object,type:a().string,customHref:a().string,dateLabel:a().object,onLoadMore:a().func,loadingAppend:a().bool,designType:a().string};const f=(0,n.Zz)(g)},91454:(e,t,s)=>{s.r(t),s.d(t,{default:()=>x});var l=s(74848),i=s(96540),a=s(5556),n=s.n(a),r=s(16683),o=s(1081),d=s(73108),c=s(23114);const p=(0,o.j8)({locale:(0,d.makeSelectLocale)()});function h({src:e="",title:t="",width:s="100%",height:a="600px",heading:n="",wrapperClasses:o="md:px-10 py-2 mt-24 max-w-screen-2xl",containerClasses:d="",headingClasses:h="text-2xl font-bold mb-4",iframeClasses:x="w-full border-0",enableAutoResize:u=!1,localeParam:m=""}){const{locale:g}=(0,r.d4)(p),f=(0,i.useMemo)((()=>{if(!e||!m||!g)return e;try{const t=new URL(e);return t.searchParams.set(m,g),t.toString()}catch(t){return e}}),[e,m,g]),y=(0,i.useRef)(null),[b,j]=(0,i.useState)(a);return(0,i.useEffect)((()=>{if(!u)return;const e=e=>{if(e.data&&"resize"===e.data.type){const t=e.data.height;t&&j(`${t}px`)}};return window.addEventListener("message",e),()=>{window.removeEventListener("message",e)}}),[u]),e?(0,l.jsx)("div",{className:o,children:(0,l.jsxs)("div",{className:d,children:[n&&(0,l.jsx)("h2",{className:h,children:(0,l.jsx)(c.default,{text:n})}),(0,l.jsx)("iframe",{ref:y,src:f,title:t||"Embedded content",width:s,height:u?b:a,className:x,allowFullScreen:!0})]})}):null}h.propTypes={src:n().string,title:n().string,width:n().string,height:n().string,heading:n().string,wrapperClasses:n().string,containerClasses:n().string,headingClasses:n().string,iframeClasses:n().string,enableAutoResize:n().bool,localeParam:n().string};const x=h},29758:(e,t,s)=>{s.r(t),s.d(t,{default:()=>g});var l=s(74848),i=(s(96540),s(5556)),a=s.n(i),n=s(24100),r=s(84976),o=s(23114),d=s(16683),c=s(1081),p=s(73108),h=s(17386);const x=(0,c.j8)({locale:(0,p.makeSelectLocale)(),theme:(0,h.makeSelectTheme)()});function u({wrapperClasses:e="px-10 py-6 mx-auto my-4 max-w-screen-2xl",containerClasses:t="flex flex-wrap justify-center",card:s={showBG:!1,backgroundClasses:"bg-white p-4",classes:"align-middle inline-block mt-4 mx-4 rounded-md h-16 md:h-20",imageClasses:"object-contain w-full h-full"},title:i={showTitle:!0,text:"",titleClasses:"text-2xl text-center mb-4 font-medium text-black sm:text-3xl"},items:a=[]}){return(0,l.jsxs)("div",{className:e,children:[i.showTitle&&(0,l.jsx)("div",{className:i.titleClasses,children:(0,l.jsx)(o.default,{text:i.text})}),(0,l.jsx)("div",{className:t,children:a.map((e=>(0,l.jsx)(m,{item:e,card:s},e)))})]})}function m({item:e,card:t}){const{theme:s,locale:i}=(0,d.d4)(x),a="string"==typeof(o=e.url)?o:(0,n.Gv)(o)?o[i]||o[null==(c=null==s?void 0:s.languages)?void 0:c.default_language]||Object.values(o).find((e=>e))||Object.values(o)[0]||"":o||"";var o,c;return(0,l.jsx)(l.Fragment,{children:e.src&&(0,l.jsx)(l.Fragment,{children:""===a?(0,l.jsx)("div",{className:`${t.showBG?t.backgroundClasses:"bg-transparent"} ${t.classes}`,children:(0,l.jsx)("img",{src:e.src,alt:"",className:t.imageClasses})}):(0,n.pE)(a)?(0,l.jsx)(r.N_,{to:a,className:`${t.showBG?t.backgroundClasses:"bg-transparent"} ${t.classes}`,children:(0,l.jsx)("img",{src:e.src,alt:"",className:t.imageClasses})},a):(0,l.jsx)("a",{href:a,target:"_blank",className:`${t.showBG?t.backgroundClasses:"bg-transparent"} ${t.classes}`,"data-testid":"ImageGrid-externalLink",rel:"noopener noreferrer",children:(0,l.jsx)("img",{src:e.src,alt:"",className:t.imageClasses})},a)})})}
541u.propTypes={items:a().array,wrapperClasses:a().string,containerClasses:a().string,card:a().shape({showBG:a().bool,backgroundClasses:a().string,classes:a().string}),title:a().shape({showTitle:a().bool,text:a().string,titleClasses:a().string})},m.propTypes={item:a().shape({src:a().string,url:a().oneOfType([a().string,a().object])}),card:a().shape({showBG:a().bool,backgroundClasses:a().string,classes:a().string,imageClasses:a().string})};const g=u},40775:(e,t,s)=>{s.r(t),s.d(t,{default:()=>a,scope:()=>i});var l=s(11164);const i="app.components.Input",a=(0,l.YK)({show:{id:`${i}.show`,defaultMessage:"Show"},hide:{id:`${i}.hide`,defaultMessage:"Hide"}})}}]);
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.