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]="b0eb728b-85e8-481a-bf51-370979b24857",e._sentryDebugIdIdentifier="sentry-dbid-b0eb728b-85e8-481a-bf51-370979b24857")}()}catch(e){}!function(){try{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"bc80ff691c578d2371b38b037f81c58f5aa85e9a"}}catch(e){}}(),(self.webpackChunkstaylive_partnerplatform=self.webpackChunkstaylive_partnerplatform||[]).push([[2009],{42858:(e,t,n)=>{n.r(t),n.d(t,{default:()=>d});var i=n(78210),r=n(96540),s=n(1081),a=n(17386),o=n(16683);const l=(0,s.j8)({platform:(0,a.makeSelectPlatform)()}),d=({signInRequired:e=!1})=>{const{user:t,isAuthenticated:n,isLoading:s}=(0,i.Jd)(),[a,d]=(0,r.useState)(!1),{platform:c}=(0,o.d4)(l);(0,r.useEffect)((()=>{if(!window.location.pathname.includes("/embed/")&&(!e||n||t||s)&&(null==c?void 0:c.uid)&&!s)try{if(!a){const e=document.createElement("script");if(e.src="https://client.crisp.chat/l.js",e.id="crisp-chat-script",document.getElementById(e.id))return void d(!0);document.body.appendChild(e),window.$crisp=[],window.CRISP_WEBSITE_ID="7f28db60-7547-4f12-adc2-ab7212aafd15",$crisp.push(["safe",!0]),e.addEventListener("load",(()=>{var e,n,i,r;try{(null==t?void 0:t.email)&&$crisp.push(["set","user:email",null==t?void 0:t.email]),(null==(n=null==(e=null==c?void 0:c.metadata)?void 0:e.platform)?void 0:n.name)&&$crisp.push(["set","session:data",["platform",null==(r=null==(i=null==c?void 0:c.metadata)?void 0:i.platform)?void 0:r.name]]),$crisp.push(["set","session:data",["platform_uid",null==c?void 0:c.uid]])}catch(e){}}))}}catch(e){console.debug("Error initializing Crisp",e)}}),[c,t,s])}},78159:(e,t,n)=>{n.r(t),n.d(t,{default:()=>C});var i=n(74848),r=n(96540),s=n(5556),a=n.n(s),o=n(23615),l=n(73574),d=n(35907),c=n(12870),u=n(89736),p=n(64011),h=n(67438),b=n(47494),f=n(12927),m=Object.defineProperty,x=Object.defineProperties,y=Object.getOwnPropertyDescriptors,j=Object.getOwnPropertySymbols,g=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable,v=(e,t,n)=>t in e?m(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,A=(e,t)=>
1{for(var n in t||(t={}))g.call(t,n)&&v(e,n,t[n]);if(j)for(var n of j(t))w.call(t,n)&&v(e,n,t[n]);return e},S=(e,t)=>x(e,y(t));class k extends r.PureComponent{constructor(){var e;super(...arguments),v(this,"symbol"!=typeof(e="state")?e+"":e,{phonenumber:""})}handleSubmit(e){e.preventDefault(),this.props.onSubmit({requestPayload:this.state.phonenumber,paymentProvider:"swish"})}render(){const{loading:e,success:t,error:n,currency:r,price:s,callbackStatus:a,label:m,button:x,onSuccess:y}=this.props;return 1===a||1===t.callbackStatus?(y&&y(),(0,i.jsx)(o.A,{children:(0,i.jsx)(o.A.Row,{children:(0,i.jsx)(o.A.Column,{children:(0,i.jsxs)(l.A,{icon:!0,positive:!0,size:"small",children:[(0,i.jsx)(d.A,{name:"check circle",size:"small"}),(0,i.jsxs)(l.A.Content,{children:[(0,i.jsx)(l.A.Header,{children:(0,i.jsx)(h.A,A({},b.default.paymentSuccess))}),(0,i.jsx)(h.A,A({},b.default.paymentSuccessDescription))]})]})})})})):0===a?(0,i.jsx)(o.A,{children:(0,i.jsx)(o.A.Row,{children:(0,i.jsxs)(o.A.Column,{children:[(0,i.jsx)(l.A,{icon:!0,negative:!0,size:"small",children:(0,i.jsxs)(l.A.Content,{children:[(0,i.jsx)(l.A.Header,{children:(0,i.jsx)(h.A,A({},b.default.paymentFailed))}),(0,i.jsx)(h.A,A({},b.default.paymentFailedDescription))]})}),(0,i.jsx)(c.A,{negative:!0,size:"tiny",circular:!0,fluid:!0,onClick:()=>window.location.reload(),children:(0,i.jsx)(h.A,A({},b.default.tryAgain))})]})})}):t.callbackRequired?(0,i.jsx)(o.A,{children:(0,i.jsx)(o.A.Row,{children:(0,i.jsx)(o.A.Column,{children:(0,i.jsxs)(l.A,{icon:!0,positive:!0,size:"small",children:[(0,i.jsx)("div",{style:{marginRight:"15px"},children:(0,i.jsx)(p.default,{})}),(0,i.jsxs)(l.A.Content,{children:[(0,i.jsx)(l.A.Header,{children:(0,i.jsx)(h.A,A({},b.default.waiting))}),(0,i.jsx)(h.A,A({},b.default.swishWaiting))]})]})})})}):(0,i.jsx)(u.A,{onSubmit:t=>e?"":this.handleSubmit(t),children:(0,i.jsxs)(o.A,{children:[n&&(0,i.jsx)(o.A.Row,{children:(0,i.jsx)(o.A.Column,{children:(0,i.jsx)(l.A,{negative:!0,content:(0,i.jsx)(h.A,A({},b.default.errorMessage)),size:"small"})})}),(0,i.jsx)(o.A.Row,{style:{margin:"0px auto",padding:"2px 0"},children:(0,i.jsx)(o.A.Column,{style:{margin:"6px auto"},children:(0,i.jsxs)(u.A.Field,{children:[(0,i.jsx)("label",{htmlFor:"phonenumber",style:A({},m.style),children:(0,i.jsx)(h.A,A({},f.default.phoneNumber))}),(0,i.jsx)(u.A.Input,{name:"phonenumber",id:"phonenumber",placeholder:"123 456 78 91 01",type:"phone",value:this.state.phonenumber,onChange:(e,{value:t})=>this.setState({phonenumber:t}),required:!0,icon:"phone",iconPosition:"left",fluid:!0})]})})}),(0,i.jsx)(o.A.Row,{children:(0,i.jsxs)(o.A.Column,{children:[(0,i.jsxs)(c.A,{fluid:!0,type:"submit",disabled:e,loading:e,icon:!0,labelPosition:"left",style:S(A({},x.style),{marginLeft:0}),children:[(0,i.jsx)(d.A,{name:"unlock alternate"}),(0,i.jsx)("strong",{children:(0,i.jsx)(h.A,S(A({},b.default.purchaseButton),{values:{price:s,currency:r.toUpperCase()}}))})]}),(0,i.jsx)("div",{style:{textAlign:"center",marginTop:"6px"},children:(0,i.jsx)("img",{style:{marginTop:"6px"},height:"24",src:"https://image.staylive.se/resources/logotypes/swish_horizontal_main.png",alt:"Swish"})})]})})]})})}}k.propTypes={success:a().object,error:a().object,loading:a().bool,onSubmit:a().func,currency:a().string,price:a().number,callbackStatus:a().number,primaryColor:a().string,label:a().object,links:a().object,button:a().object,text:a().object,onSuccess:a().func},k.defaultProps={primaryColor:"blue"};const C=k},12927:(e,t,n)=>{n.r(t),n.d(t,{default:()=>s,scope:()=>r});var i=n(11164);
1const r="app.components.SwishForm",s=(0,i.YK)({phoneNumber:{id:`${r}.phoneNumber`,defaultMessage:"Phone number"}})},88905:(e,t,n)=>{n.r(t),n.d(t,{default:()=>v});var i=n(74848),r=(n(96540),n(5556)),s=n.n(r),a=n(94686),o=n(68074),l=n(23615),d=n(24100),c=n(38267),u=Object.defineProperty,p=Object.defineProperties,h=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,x=(e,t,n)=>t in e?u(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,y=(e,t)=>{for(var n in t||(t={}))f.call(t,n)&&x(e,n,t[n]);if(b)for(var n of b(t))m.call(t,n)&&x(e,n,t[n]);return e},j=(e,t)=>p(e,h(t));const g=(0,c.Ay)((0,d.cD)("div"))``;function w({container:e,content:t,background:n}){return n?(0,i.jsx)(a.default,j(y({},n),{children:(0,i.jsx)(l.A,{verticalAlign:"middle",style:{paddingTop:"120px"},children:(0,i.jsx)(l.A.Row,{children:(0,i.jsx)(l.A.Column,{children:(0,i.jsx)("div",j(y({},e),{children:t.map((e=>(0,i.jsxs)("div",{children:[e.header&&(0,i.jsx)(o.default,{as:e.header.as||"h2",style:e.header.style,text:e.header.content}),e.paragraph&&(0,i.jsx)(o.default,{as:"p",style:e.paragraph.style,text:e.paragraph.content})]},e)))}))})})})})):(0,i.jsx)(g,j(y({},e),{children:t.map((e=>(0,i.jsxs)("div",{children:[e.header&&(0,i.jsx)(o.default,{as:e.header.as||"h2",style:e.header.style,text:e.header.content}),e.paragraph&&(0,i.jsx)(o.default,{as:"p",style:e.paragraph.style,text:e.paragraph.content})]},e)))}))}w.propTypes={container:s().object,content:s().oneOfType([s().object,s().array]),background:s().object};const v=w},22875:(e,t,n)=>{n.r(t),n.d(t,{default:()=>a});var i=n(74848),r=n(24712);function s(){return(0,i.jsxs)("a",{className:"p-2.5 text-white hover:text-white font-medium rounded text-base bg-gray-700 hover:bg-gray-800",href:`http://twitter.com/share?&url=${window.location.href}`,target:"_blank",children:[(0,i.jsx)(r.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","x-twitter"]}),"Twitter"]})}n(96540),s.propTypes={};const a=s},12070:(e,t,n)=>{n.r(t),n.d(t,{default:()=>i});const i=(0,n(40313).A)((()=>Promise.resolve().then(n.bind(n,93668))))},31743:(e,t,n)=>{n.r(t),n.d(t,{default:()=>C});var i=n(74848),r=(n(96540),n(5556)),s=n.n(r),a=n(84976),o=n(38267),l=n(24100),d=n(15979),c=n(29236),u=n(26840),p=n(32367),h=n(35907),b=n(23615),f=n(14294);const m="300ms",x=157.5,y=o.Ay.div` 2 position: relative; 3 padding: 40px 0px; 4 margin: (${x}px) 0; 5 6 @media only screen and (max-width: ${"700px"}) { 7 .tile, 8 .tile img { 9 width: 100%; 10 height: auto; 11 margin: 10px auto; 12 } 13 } 14`,j=(0,o.Ay)(a.N_)` 15 position: relative; 16 display: inline-block; 17 width: ${280}px; 18 height: ${x}px; 19 border-radius: 6px; 20 max-width: 100%; 21 overflow: hidden; 22 z-index: 2; 23 margin: 10px; 24 white-space: nowrap; 25 cursor: pointer; 26 transition: ${m} all; 27 transform-origin: center left; 28 -webkit-user-select: none; 29 user-select: none; 30 31 @media screen and (max-width: ${672}) { 32 margin: 10px auto; 33 } 34 35 .play-button { 36 position: absolute; 37 top: 50%; 38 bottom: 0; 39 left: 50%; 40 right: 0; 41 color: white; 42 z-index: 10; 43 transform: translate(-20%, -45%); 44 transition: opacity 0.35s ease-in-out; 45 opacity: 0; 46 font-size: 0.8em; 47 } 48 49 &:hover { 50 .play-button { 51 opacity: 1; 52 } 53 } 54`,g=o.Ay.div` 55 position: absolute; 56 top: 0; 57 left: 0; 58 background: #00274a; 59 color: white; 60 padding: 6px 22px 4px 22px; 61 border-radius: 0 0 6px 0; 62 font-size: 1em; 63 box-shadow: 1px 0px 4px 0 rgba(0, 0, 0, 0.3); 64`,w=(0,o.Ay)(d.default)` 65 width: ${280}px; 66 height: ${x}px; 67 object-fit: cover; 68`,v=o.Ay.div` 69 position: absolute; 70 bottom: 0; 71 bottom: 0; 72 left: 0; 73 right: 0; 74 top: 0; 75 opacity: 1; 76 -webkit-user-select: none; 77 user-select: none; 78 background: linear-gradient( 79 to top, 80 rgba(0, 0, 0, 0.9) 0%, 81 rgba(0, 0, 0, 0) 100% 82 ); 83 84 transition: ${m} opacity; 85`,A=o.Ay.div` 86 position absolute; 87 bottom: 0; 88 color: white; 89 width: 100%; 90 padding: 10px; 91`,S=o.Ay.p` 92 color: inherit; 93 z-index: 10; 94 95 &:hover { 96 text-decoration: underline; 97 color: inherit; 98 } 99`;function k({content:e,dateLabel:t,customHref:n=null,rowStyle:r,type:s="videos",cardHeader:a={style:{color:"white",fontSize:"1em"}},cardSubHeader:o={style:{color:"white",fontSize:"0.8em"},disabled:!1}}){return(0,i.jsx)(y,{style:r,children:e.map((e=>(0,i.jsxs)(j,{className:"tile",to:n?(0,l.x_)(n,e.seo_string||e.id||e.video_id):`/video?id=${e.seo_string||e.id||e.video_id}`,children:[(0,i.jsx)("div",{className:"play-button",children:(0,i.jsx)(h.A,{name:"play",size:"huge"})}),(0,i.jsx)("div",{children:(0,i.jsx)(w,{src:`${e.thumbnail}?width=500`,alt:e.name,draggable:"false",loading:"lazy",decoding:"async"})}),"videos"===s&&(0,i.jsx)(g,{style:t,children:(0,i.jsx)("h4",{children:(0,i.jsx)(u.default,{date:e.publish_date||e.created_at,
99short:!0,time:!1})})}),"livestreams"===s&&(0,i.jsx)(g,{className:"styledText",style:new Date((0,l.u4)(e.start))<new Date?t.live:t.upcoming,children:(0,i.jsx)("h4",{children:(0,i.jsx)(c.default,{date:e.start})})}),(0,i.jsx)(v,{className:"tile-details",children:(0,i.jsx)(A,{children:(0,i.jsx)(b.A,{children:(0,i.jsx)(b.A.Row,{textAlign:"left",columns:16,children:(0,i.jsx)(b.A.Column,{width:16,textAlign:"left",style:{paddingLeft:"10px",margin:"0 auto"},children:(0,i.jsxs)(f.A,{style:a.style,children:[(0,i.jsx)(p.default,{limit:o.disabled?45:35,children:e.name}),!o.disabled&&(0,i.jsx)(f.A.Subheader,{style:o.style,className:"subheader",children:(0,i.jsx)(S,{children:e.channelName})})]})})})})})})]},e.id||e.video_id)))})}k.propTypes={content:s().array,customHref:s().string,dateLabel:s().object,rowStyle:s().object,type:s().oneOf(["videos","livestreams"]),cardHeader:s().object,cardSubHeader:s().object};const C=k},38694:(e,t,n)=>{n.r(t),n.d(t,{default:()=>s});var i=n(21988),r=n(96540);const s=function(){const{logout:e}=(0,i.WB)();return(0,r.useEffect)((()=>(window.staylive=window.staylive||{},window.staylive.logout=()=>{e({openUrl:!1})},()=>{window.staylive&&delete window.staylive.logout})),[e]),null}}}]);
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.