PageSourceSearch

https://www.titani.tv/commons-c9817e97.9bdcc2aef80880679914.chunk.js

js titani.tv collected 2026-10-02 23:52:40 UTC 12,287 bytes, 99 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]="6b6cecbc-199f-4331-9bc4-513a0ef79649",e._sentryDebugIdIdentifier="sentry-dbid-6b6cecbc-199f-4331-9bc4-513a0ef79649")}()}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([[2009],{42858:(e,t,s)=>{s.r(t),s.d(t,{default:()=>d});var a=s(78210),r=s(96540),i=s(1081),n=s(17386),o=s(16683);const l=(0,i.j8)({platform:(0,n.makeSelectPlatform)()}),d=({signInRequired:e=!1})=>{const{user:t,isAuthenticated:s,isLoading:i}=(0,a.Jd)(),[n,d]=(0,r.useState)(!1),{platform:c}=(0,o.d4)(l);(0,r.useEffect)((()=>{if(!window.location.pathname.includes("/embed/")&&(!e||s||t||i)&&(null==c?void 0:c.uid)&&!i)try{if(!n){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,s,a,r;try{(null==t?void 0:t.email)&&$crisp.push(["set","user:email",null==t?void 0:t.email]),(null==(s=null==(e=null==c?void 0:c.metadata)?void 0:e.platform)?void 0:s.name)&&$crisp.push(["set","session:data",["platform",null==(r=null==(a=null==c?void 0:c.metadata)?void 0:a.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,i])}},78159:(e,t,s)=>{s.r(t),s.d(t,{default:()=>w});var a=s(74848),r=s(96540),i=s(5556),n=s.n(i),o=s(50321),l=s(24712),d=s(50924),c=s(67438),p=s(47494),u=s(12927),f=Object.defineProperty,h=Object.defineProperties,b=Object.getOwnPropertyDescriptors,m=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,g=(e,t,s)=>t in e?f(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,j=(e,t)=>{for(var s in t||(t={}))y.call(t,s)&&g(e,s,t[s]);if(m)for(var s of m(t))x.call(t,s)&&g(e,s,t[s]);return e};class v extends r.PureComponent{constructor(){var e;super(...arguments),g(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:s,currency:r,price:i,callbackStatus:n,label:f,button:m,onSuccess:y}=this.props;return 1===n||1===t.callbackStatus?(y&&y(),(0,a.jsx)(d.default,{type:"success",children:(0,a.jsxs)("div",{className:"flex flex-row items-center",children:[(0,a.jsx)(l.default,{icon:["far","check-circle"],className:"mr-4 text-2xl"}),(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"font-bold",children:(0,a.jsx)(c.A,j({},p.default.paymentSuccess))}),(0,a.jsx)(c.A,j({},p.default.paymentSuccessDescription))]})]})})):0===n?(0,a.jsxs)("div",{children:[(0,a.jsx)(d.default,{type:"error",children:(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"font-bold",children:(0,a.jsx)(c.A,j({},p.default.paymentFailed))}),(0,a.jsx)(c.A,j({},p.default.paymentFailedDescription))]})}),(0,a.jsx)(o.default,{dataTestid:"swish-try-again-button",color:"secondary",className:"w-full bg-red-600 rounded-full",size:"py-2 px-4",fontSize:"text-sm",onClick:()=>window.location.reload(),children:(0,a.jsx)(c.A,j({},p.default.tryAgain))})]}):t.callbackRequired?(0,a.jsx)(d.default,{type:"success",children:(0,a.jsxs)("div",{className:"flex flex-row items-center",children:[(0,a.jsx)(l.default,{icon:"circle-notch",className:"mr-4",spin:!0}),(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"font-bold",children:(0,a.jsx)(c.A,j({},p.default.waiting))}),(0,a.jsx)(c.A,j({},p.default.swishWaiting))]})]})}):(0,a.jsxs)("form",{"data-testid":"swish-form",className:"flex flex-col gap-4",onSubmit:t=>e?t.preventDefault():this.handleSubmit(t),children:[s&&(0,a.jsx)(d.default,{type:"error",children:(0,a.jsx)(c.A,j({},p.default.errorMessage))}),(0,a.jsxs)("div",{className:"my-1.5",children:[(0,a.jsx)("label",{htmlFor:"phonenumber",className:"block mb-1 font-bold text-gray-900",style:j({},f.style),children:(0,a.jsx)(c.A,j({},u.default.phoneNumber))}),(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)(l.default,{icon:"phone",className:"absolute text-gray-500 -translate-y-1/2 left-3 top-1/2"}
1),(0,a.jsx)("input",{"data-testid":"swish-phone-input",name:"phonenumber",id:"phonenumber",placeholder:"123 456 78 91 01",type:"phone",className:"w-full py-2.5 pr-3 text-base text-gray-900 bg-white border border-gray-300 border-solid rounded-md pl-9 focus:border-primary focus:outline-none",value:this.state.phonenumber,onChange:e=>this.setState({phonenumber:e.target.value}),required:!0})]})]}),(0,a.jsxs)("div",{children:[(0,a.jsxs)(o.default,{dataTestid:"swish-submit-button",type:"submit",className:"w-full",size:"py-3 px-6",fontSize:"text-base",disabled:e,loading:e,style:m.style,children:[(0,a.jsx)(l.default,{icon:"unlock-alt",className:"mr-2"}),(0,a.jsx)("strong",{children:(0,a.jsx)(c.A,(x=j({},p.default.purchaseButton),g={values:{price:i,currency:r.toUpperCase()}},h(x,b(g))))})]}),(0,a.jsx)("div",{style:{textAlign:"center",marginTop:"6px"},children:(0,a.jsx)("img",{style:{marginTop:"6px"},height:"24",src:"https://image.staylive.se/resources/logotypes/swish_horizontal_main.png",alt:"Swish"})})]})]});var x,g}}v.propTypes={success:n().object,error:n().object,loading:n().bool,onSubmit:n().func,currency:n().string,price:n().number,callbackStatus:n().number,primaryColor:n().string,label:n().object,links:n().object,button:n().object,text:n().object,onSuccess:n().func},v.defaultProps={primaryColor:"blue"};const w=v},12927:(e,t,s)=>{s.r(t),s.d(t,{default:()=>i,scope:()=>r});var a=s(11164);const r="app.components.SwishForm",i=(0,a.YK)({phoneNumber:{id:`${r}.phoneNumber`,defaultMessage:"Phone number"}})},88905:(e,t,s)=>{s.r(t),s.d(t,{default:()=>v});var a=s(74848),r=(s(96540),s(5556)),i=s.n(r),n=s(94686),o=s(68074),l=s(24100),d=s(38267),c=Object.defineProperty,p=Object.defineProperties,u=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,h=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,m=(e,t,s)=>t in e?c(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,y=(e,t)=>{for(var s in t||(t={}))h.call(t,s)&&m(e,s,t[s]);if(f)for(var s of f(t))b.call(t,s)&&m(e,s,t[s]);return e},x=(e,t)=>p(e,u(t));const g=(0,d.Ay)((0,l.cD)("div"))``;function j({container:e,content:t,background:s}){return s?(0,a.jsx)(n.default,x(y({},s),{children:(0,a.jsx)("div",{className:"flow-root px-4",style:{paddingTop:"120px"},children:(0,a.jsx)("div",x(y({},e),{children:t.map((e=>(0,a.jsxs)("div",{children:[e.header&&(0,a.jsx)(o.default,{as:e.header.as||"h2",style:e.header.style,text:e.header.content}),e.paragraph&&(0,a.jsx)(o.default,{as:"p",style:e.paragraph.style,text:e.paragraph.content})]},e)))}))})})):(0,a.jsx)(g,x(y({},e),{children:t.map((e=>(0,a.jsxs)("div",{children:[e.header&&(0,a.jsx)(o.default,{as:e.header.as||"h2",style:e.header.style,text:e.header.content}),e.paragraph&&(0,a.jsx)(o.default,{as:"p",style:e.paragraph.style,text:e.paragraph.content})]},e)))}))}j.propTypes={container:i().object,content:i().oneOfType([i().object,i().array]),background:i().object};const v=j},22875:(e,t,s)=>{s.r(t),s.d(t,{default:()=>n});var a=s(74848),r=s(24712);function i(){return(0,a.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,a.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"]})}s(96540),i.propTypes={};const n=i},12070:(e,t,s)=>{s.r(t),s.d(t,{default:()=>a});const a=(0,s(40313).A)((()=>Promise.resolve().then(s.bind(s,93668))))},31743:(e,t,s)=>{s.r(t),s.d(t,{default:()=>S});var a=s(74848),r=(s(96540),s(5556)),i=s.n(r),n=s(84976),o=s(38267),l=s(24100),d=s(15979),c=s(29236),p=s(26840),u=s(32367),f=s(24712);const h="300ms",b=157.5,m=o.Ay.div`
2  position: relative;
3  padding: 40px 0px;
4  margin: (${b}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`,y=(0,o.Ay)(n.N_)`
15  position: relative;
16  display: inline-block;
17  width: ${280}px;
18  height: ${b}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: ${h} 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`,x=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`,g=(0,o.Ay)(d.default)`
65  width: ${280}px;
66  height: ${b}px;
67  object-fit: cover;
68`,j=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: ${h} opacity;
85`,v=o.Ay.div`
86  position absolute;
87  bottom: 0;
88  color: white;
89  width: 100%;
90  padding: 10px;
91`,w=o.Ay.p`
92  color: inherit;
93  z-index: 10;
94
95  &:hover {
96    text-decoration: underline;
97    color: inherit;
98  }
99`;function N({content:e,dateLabel:t,customHref:s=null,rowStyle:r,type:i="videos",cardHeader:n={style:{color:"white",fontSize:"1em"}},cardSubHeader:o={style:{color:"white",fontSize:"0.8em"},disabled:!1}}){return(0,a.jsx)(m,{style:r,children:e.map((e=>(0,a.jsxs)(y,{className:"tile",to:s?(0,l.x_)(s,e.seo_string||e.id||e.video_id):`/video?id=${e.seo_string||e.id||e.video_id}`,children:[(0,a.jsx)("div",{className:"play-button",children:(0,a.jsx)(f.default,{icon:"play",size:"4x",fixedWidth:!0})}),(0,a.jsx)("div",{children:(0,a.jsx)(g,{src:`${e.thumbnail}?width=500`,alt:e.name,draggable:"false",loading:"lazy",decoding:"async"})}),"videos"===i&&(0,a.jsx)(x,{style:t,children:(0,a.jsx)("h4",{children:(0,a.jsx)(p.default,{date:e.publish_date||e.created_at,
99short:!0,time:!1})})}),"livestreams"===i&&(0,a.jsx)(x,{className:"styledText",style:new Date((0,l.u4)(e.start))<new Date?t.live:t.upcoming,children:(0,a.jsx)("h4",{children:(0,a.jsx)(c.default,{date:e.start})})}),(0,a.jsx)(j,{className:"tile-details",children:(0,a.jsx)(v,{children:(0,a.jsx)("div",{className:"flow-root pr-4 text-left",style:{paddingLeft:"10px",margin:"0 auto"},children:(0,a.jsxs)("div",{className:"font-bold leading-[1.28571429em]",style:n.style,children:[(0,a.jsx)(u.default,{limit:o.disabled?45:35,children:e.name}),!o.disabled&&(0,a.jsx)("div",{style:o.style,className:"subheader font-normal leading-[1.2em]",children:(0,a.jsx)(w,{children:e.channelName})})]})})})})]},e.id||e.video_id)))})}N.propTypes={content:i().array,customHref:i().string,dateLabel:i().object,rowStyle:i().object,type:i().oneOf(["videos","livestreams"]),cardHeader:i().object,cardSubHeader:i().object};const S=N},38694:(e,t,s)=>{s.r(t),s.d(t,{default:()=>i});var a=s(21988),r=s(96540);const i=function(){const{logout:e}=(0,a.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.