PageSourceSearch

https://www.asiangym.tv/main-cdaee15f.2e2c8322e977cce60d63.js

js asiangym.tv collected 2026-10-06 02:27:44 UTC 39,470 bytes, 10 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]="41437ae6-fd5d-4bfb-90f0-d91d8504e677",e._sentryDebugIdIdentifier="sentry-dbid-41437ae6-fd5d-4bfb-90f0-d91d8504e677")}()}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([[8645],{24100:(e,t,r)=>{"use strict";r.d(t,{$J:()=>l,$w:()=>_,Gv:()=>y,LA:()=>p,Qq:()=>A,S3:()=>O,a3:()=>f,cD:()=>m,dE:()=>T,ol:()=>g,pE:()=>h,tT:()=>b,tf:()=>d,u4:()=>c,vp:()=>S,wn:()=>C,x$:()=>$,xM:()=>E,x_:()=>u,xr:()=>w,y9:()=>s,z6:()=>v,zG:()=>P}),r(96540);var n=r(28323),a=r(45484),o=r(32689),i=r(38267);function s(e){return{__html:e}}function l(e){return(new DOMParser).parseFromString(e,"text/html").body.textContent||""}function c(e){if(!e)return null;if(e.includes("+")){const t=e.substring(26,30);return`${e.substring(0,26)}:${t}`}return e}function u(e,t){return e.replace("{id}",t)}function d(){const e=n.Ay.load(o.COOKIE_CONSENT)||0;if(1===parseInt(e,10))return!0;const t=n.Ay.load(o.COOKIE_EXPLICIT_CONSENT)||{analytical:!1};return!(!t||!t.analytical)}function p(e,t){return t.length>
1e?`${t.replace(/\\n/g,"").substring(0,e-3)}...`:t}function m(e){return(0,i.Ay)(e)`
2    @media all and (max-width: 900px) {
3      /* Optional styling for tablet */
4      ${e=>e.responsiveStyle&&e.responsiveStyle.tablet?e.responsiveStyle.tablet:null}
5    }
6    @media all and (max-width: 480px) {
7      /* Optional styling for mobile */
8      ${e=>e.responsiveStyle&&e.responsiveStyle.mobile?e.responsiveStyle.mobile:null}
9    }
10  `}function f(e){return"00"===e.substring(0,2)?e.slice(3,e.length[-1]):e}function g(e){const t=e.split(":"),r=3600*parseInt(t[0],10)+60*parseInt(t[1],10)+parseInt(t[2],10);if(r<60)return`${r} sec`;const n=Math.floor(r/60),a=r%60,o=Math.floor(n/60),i=n%60;let s="";return o>0&&(s+=`${o} h`),(i>0||o>0)&&(s+=`${i} min`),0===i&&0===o&&(s="1 min"),a>0&&(s+=` ${a} sec`),s.trim()}function h(e){try{return new URL(e).origin===window.location.origin}catch(t){return!(e.startsWith("//")||e.startsWith("https://")||e.startsWith("http://")||e.startsWith("www")||(e.charAt(0).match(/[A-Za-z0-9/]/g),0))}}function y(e){return"object"==typeof e}function v(e,t){const r=new Date(c(e)),n=new Date(c(t));return!(r.getDate()===n.getDate()&&r.getMonth()===n.getMonth()&&r.getFullYear()===n.getFullYear())}function T(){const e=window.location.pathname,t=window.location.search,{pathWithoutLang:r}=(0,a.vM)(e);if(r.includes("/login")){const e=t.match(/[?&]back=([^&]*)/);return(null==e?void 0:e[1])?`/login?back=${e[1]}`:"/login?back=/"}return`/login?back=${"/"===r?"/":r+t}`}function b(e){if(!e)return"";const t=e.some((e=>e.key))?e.map((e=>encodeURIComponent(e.key))).join(","):encodeURIComponent(e.toString());return t?`&tags=${t}`:""}function E(){return window!==window.parent}Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;const S={subscription:"s",package:"pa",ppv_livestream:"l",ppv_video:"v",giftcard:"g"};function O(e,t){const r=e.replace(/^#/,"");let n=parseInt(r.substring(0,2),16),a=parseInt(r.substring(2,4),16),o=parseInt(r.substring(4,6),16);return n=Math.floor(n*(1-t/100)),a=Math.floor(a*(1-t/100)),o=Math.floor(o*(1-t/100)),n=Math.max(0,Math.min(255,n)),a=Math.max(0,Math.min(255,a)),o=Math.max(0,Math.min(255,o)),`#${n.toString(16).padStart(2,"0")}${a.toString(16).padStart(2,"0")}${o.toString(16).padStart(2,"0")}`}function P(e,t){if(!e||!t)return!1;const r=.75+Math.log10(t/60+1)/Math.log10(721)*(.98-.75);return!(e<10)&&(e/t>=r&&(!(t>600)||e>=.5*t))}const C={"16/9":0,"9/16":1},A={few:.75,standard:1,many:1.5};function w(e){const t="string"==typeof e?e:null==e?void 0:e.name;return{"google-oauth2":"Google",apple:"Apple",facebook:"Facebook"}[t]||(null==e?void 0:e.display_name)||t}function _(e){const t={"google-oauth2":["fab","google"],apple:["fab","apple"],facebook:["fab","facebook"]};return t[e.name]||t.default}function $(e){if("string"!=typeof e)return!1;try{return"https:"===new URL(e).protocol}catch(e){return!1}}},59088:(e,t,r)=>{"use strict";r.d(t,{N:()=>a});const n=["America/New_York","America/Chicago","America/Denver","America/Los_Angeles","America/Phoenix","America/Anchorage","Pacific/Honolulu","America/Toronto","America/Winnipeg","America/Edmonton","America/Vancouver","Australia/Sydney","Australia/Brisbane","Australia/Perth","Australia/Adelaide","Australia/Darwin","New_Zealand","Asia/Manila","Asia/Kolkata","Asia/Dhaka","Asia/Karachi","Asia/Dubai","Asia/Riyadh","Asia/Kuwait","Asia/Qatar","Asia/Bahrain","America/Bogota","America/Lima","Asia/Kuala_Lumpur","Asia/Singapore","Asia/Brunei","Asia/Manama","America/Puerto_Rico","Pacific/Guam","Pacific/Saipan","Pacific/Pago_Pago","America/Nassau","America/Belize","America/Cayman","America/Jamaica","America/Port_of_Spain","America/Tortola","America/St_Thomas","Pacific/Midway","Pacific/Wake","Etc/GMT+12","Etc/GMT+11","Etc/GMT+10","Etc/GMT+9","Etc/GMT+8"];function a(){const e=Intl.DateTimeFormat().resolvedOptions().timeZone;return n.includes(e)}},75355:(e,t,r)=>{"use strict";r.d(t,{G:()=>c});var n=r(57626),a=r(16683),o=r(1081),i=r(72748),s=r(17386);const l=(0,o.j8)({platform:(0,s.makeSelectPlatform)()});function c(e){const{platform:{uid:t}}=(0,a.d4)(l),{error:r,data:o,mutate:s,isValidating:c}=(0,n.Ay)(e&&t?`platforms/${t}/available-subscription-switches?subscriptionGroupId=${e}
10`:null,i.lA,{revalidateOnFocus:!1});return o?0===Object.keys(o).length?{data:[],error:r,mutate:s,isValidating:c}:{data:null==o?void 0:o.message,error:r,mutate:s,isValidating:c}:{data:o,error:r,mutate:s,isValidating:c}}},6028:(e,t,r)=>{"use strict";r.d(t,{X:()=>o});var n=r(57626),a=r(72748);function o(e){const{error:t,data:r,mutate:o,isValidating:i}=(0,n.Ay)(e?`https://cmsdata.stayliveio.workers.dev/api/data?component=${e}`:null,a.Ay);return t&&404===t.response.status?{data:{},error:void 0,mutate:o}:{data:r,isValidating:i,error:t,mutate:o}}},75781:(e,t,r)=>{"use strict";r.d(t,{R:()=>v});var n=r(16683),a=r(1081),o=r(57626),i=r(72748),s=r(17386),l=Object.defineProperty,c=Object.defineProperties,u=Object.getOwnPropertyDescriptors,d=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,f=(e,t,r)=>t in e?l(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,g=(e,t)=>{for(var r in t||(t={}))p.call(t,r)&&f(e,r,t[r]);if(d)for(var r of d(t))m.call(t,r)&&f(e,r,t[r]);return e},h=(e,t)=>c(e,u(t));const y=(0,a.j8)({platform:(0,s.makeSelectPlatform)()});function v(){const{platform:{uid:e}}=(0,n.d4)(y),{error:t,data:r,mutate:a,isValidating:s}=(0,o.Ay)(`platforms/${e}/condition-lists`,i.GO,{revalidateOnFocus:!1,revalidateIfStale:!1});return r&&r.message?{isLoading:!1,error:t,data:r.message.reduce(((e,t)=>{const{packages:r,subscriptions:n}=t.items.reduce(((e,{type:t,identifier:r})=>(e[t].push(r),e)),{packages:[],subscriptions:[]});return h(g({},e),{[t.id]:h(g({},t),{packages:r,subscriptions:n})})}),{}),raw:r,mutate:a,isValidating:s}:{isLoading:!t&&!r,data:r,error:t,mutate:a,isValidating:s}}},70810:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>A});var n=r(45221),a=r(72748),o=r(32689),i=r(41038),s=r(24100),l=r(1081),c=r(17386),u=r(16683),d=Object.defineProperty,p=Object.defineProperties,m=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,g=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,y=(e,t,r)=>t in e?d(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,v=(e,t)=>{for(var r in t||(t={}))g.call(t,r)&&y(e,r,t[r]);if(f)for(var r of f(t))h.call(t,r)&&y(e,r,t[r]);return e};const T=({pageIndex:e,previousPageData:t,totalPages:r,url:n,options:a,type:o})=>{if(t&&!t.length)return null;if(t&&e>r)return null;const s=[i.CONTENT_TYPES.videoPlaylist,i.CONTENT_TYPES.videoContinueWatching].includes(o)?n:n.replace("page=1",`page=${e+1}`);return o===i.CONTENT_TYPES.videoContinueWatching?s:[s,a]},b=e=>{return t=function*(){const[t,r,n]=e,o=yield(0,a.GO)(`collections/feed/${r}`);return(0,a.Ay)(t,{headers:{"X-STAYLIVE-CHANNELS":o.message.channels.map((e=>e.id)).toString()}})},new Promise(((e,r)=>{var n=e=>{try{o(t.next(e))}catch(e){r(e)}},a=e=>{try{o(t.throw(e))}catch(e){r(e)}},o=t=>t.done?e(t.value):Promise.resolve(t.value).then(n,a);o((t=t.apply(undefined,null)).next())}));var t},E=(e,t)=>{var r,n;switch(e){case i.CONTENT_TYPES.videoCollectionCategory:case i.CONTENT_TYPES.videoCategories:case i.CONTENT_TYPES.liveStreamCategories:return t.data.objects;case i.CONTENT_TYPES.videoChannels:case i.CONTENT_TYPES.videoCollection:case i.CONTENT_TYPES.videoChannelTags:case i.CONTENT_TYPES.videoCollectionTags:case i.CONTENT_TYPES.livestreamCollectionTags:return t.data.pageCount.videos;case i.CONTENT_TYPES.videoPlaylist:default:return null==(n=null==(r=null==t?void 0:t.data)?void 0:r.pageCount)?void 0:n.objects}},S=(e,t)=>{var r,n,a,o;switch(e){case i.CONTENT_TYPES.videoCollectionCategory:case i.CONTENT_TYPES.videoCategories:case i.CONTENT_TYPES.liveStreamCategories:return(null==(r=t.data)?void 0:r.totalPages)||1;case i.CONTENT_TYPES.videoPlaylist:return(null==(n=t.data)?void 0:n.totalPages)||1;default:return(null==(o=null==(a=null==t?void 0:t.data)?void 0:a.pageCount)?void 0:o.totalPages)||1}},O=(e,t,r=null)=>{let n;switch(e){case i.CONTENT_TYPES.liveStreamCollectionCategory:n=t.message.streams.length?t.message.streams.map((e=>v({id:e.stream_id},e))):[];break;case i.CONTENT_TYPES.videoCategories:n=t.message[0].videos;break;case i.CONTENT_TYPES.videoCollectionCategory:n=t.message.videos;break;case i.CONTENT_TYPES.liveStreamCategories:n=t.message[0].streams;break;case i.CONTENT_TYPES.liveStreamChannels:case i.CONTENT_TYPES.videoChannels:case i.CONTENT_TYPES.liveStreamCollection:case i.CONTENT_TYPES.videoCollection:case i.CONTENT_TYPES.videoChannelTags:case i.CONTENT_TYPES.liveStreamChannelTags:case i.CONTENT_TYPES.videoCollectionTags:case i.CONTENT_TYPES.videoContinueWatching:case i.CONTENT_TYPES.livestreamCollectionTags:n=t.message;break;case i.CONTENT_TYPES.videoPlaylist:n=t.message.videos.map((e=>{return r=v({},e),n={playlist:t.message,videos:void 0},p(r,m(n));var r,n}));break;default:n=[]}return r?[...n].sort(r):n},P=(e,t,r,n,l,c,u,d,p)=>{if(!t||!e)return{url:null,fetcher:null,options:null};const m=(null==d?void 0:d.start)&&(null==d?void 0:d.end)?`&date_range_start=${d.start}&date_range_end=${d.end}`:"",f=p?"&alltagsrequired=true":"";switch(e){case i.CONTENT_TYPES.liveStreamCollectionCategory:return{url:`collection/livestreams/category/${t}?limit=${r}&page=${n}`,fetcher:a.GO,options:null};case i.CONTENT_TYPES.liveStreamChannels:return{url:`${o.DEFAULT_STAYLIVE_API}livestreams/feed?limit=${r}&page=${n}`,fetcher:a.md,options:t};case i.CONTENT_TYPES.videoCategories:return{url:`videos/categories/${t}?limit=${r}&page=${n}${m}`,fetcher:a.GO,options:null};case i.CONTENT_TYPES.videoCollectionCategory:return{url:`collection/videos/category/${t}?limit=${r}&page=${n}${m}`,fetcher:a.GO,options:null};case i.CONTENT_TYPES.videoChannels:return{url:`${o.DEFAULT_STAYLIVE_API}videos/feed?limit=${r}&page=${n}&categories=${l}${m}`,fetcher:a.md,options:t};case i.CONTENT_TYPES.liveStreamCollection:return{url:`${o.DEFAULT_STAYLIVE_API}livestreams/feed?limit=${r}&page=${n}`,fetcher:b,options:t};case i.CONTENT_TYPES.videoCollection:return{url:`${o.DEFAULT_STAYLIVE_API}videos/feed?limit=${r}&page=${n}&categories=${l}${m}`,fetcher:b,options:t};case i.CONTENT_TYPES.liveStreamCategories:return{url:`livestreams/categories/${t}?limit=${r}&page=${n}`,fetcher:a.GO,options:null};case i.CONTENT_TYPES.videoChannelTags:{const e=(0,s.tT)(c);return{url:`${o.DEFAULT_STAYLIVE_API}tags/videos/feed?page=${n}&limit=${r}${e}${f}`,fetcher:a.md,options:t}}case i.CONTENT_TYPES.liveStreamChannelTags:{const e=(0,s.tT)(c);return{url:`${o.DEFAULT_STAYLIVE_API}tags/livestreams/feed?page=${n}&limit=${r}${e}${f}`,fetcher:a.md,options:t}}case i.CONTENT_TYPES.livestreamCollectionTags:{const e=(0,s.tT)(c);return{url:`${o.DEFAULT_STAYLIVE_API}tags/livestreams/feed?page=${n}&limit=${r}${e}${f}`,fetcher:b,options:t}}case i.CONTENT_TYPES.videoCollectionTags:{const e=(0,s.tT)(c);return{url:`${o.DEFAULT_STAYLIVE_API}tags/videos/feed?page=${n}&limit=${r}${e}${f}`,fetcher:b,options:t}}case i.CONTENT_TYPES.videoPlaylist:return{url:`${o.DEFAULT_STAYLIVE_API}platforms/${u}/playlists/${t}?page=${n}&limit=${r}`,fetcher:a.md,options:t};case i.CONTENT_TYPES.videoContinueWatching:return{url:`platforms/${u}/watch-history`,fetcher:a.lA,options:null}}},C=(0,l.j8)({platform:(0,c.makeSelectPlatform)()});function A({type:e,id:t,limit:r,page:a=1,includeCategories:o,tags:i,revalidateOnFocus:s=!0,onScreen:l=!0,includePreviousData:c=!0,dateRangeFilter:d=null,
10sortFunction:p=null,allTagsRequired:m=!1}){var f;const{platform:{uid:g}}=(0,u.d4)(C),{url:h,fetcher:y,options:v}=P(e,t,r,a,o,i,g,d,m),{data:b,error:A,isValidating:w,setSize:_,size:$,mutate:N}=(0,n.Ay)(((t,r)=>l?T({pageIndex:t,previousPageData:c?null:r,totalPages:2,url:h,options:v,type:e}):null),y,{initialSize:a,revalidateFirstPage:!1,shouldRetryOnError:!1,errorRetryCount:0,revalidateOnFocus:s});return 0===r?{data:[],error:null}:404===(null==(f=null==A?void 0:A.json)?void 0:f.statuscode)?{data:[],error:null,isValidating:w,mutate:N}:b?{data:b.flatMap((t=>O(e,t,p))),totalPages:S(e,b[0]),totalCount:E(e,b[0]),error:A,isValidating:w,setSize:_,size:$,mutate:N}:{data:null,error:A,isValidating:w,mutate:N}}},80839:(e,t,r)=>{"use strict";r.d(t,{s:()=>c});var n=r(16683),a=r(1081),o=r(57626),i=r(72748),s=r(17386);const l=(0,a.j8)({platform:(0,s.makeSelectPlatform)()});function c(){const{platform:{uid:e}}=(0,n.d4)(l),{error:t,data:r,mutate:a,isValidating:s}=(0,o.Ay)(`platforms/${e}/enabled-connections`,i.GO);return(null==r?void 0:r.message)?{data:r.message,error:t,mutate:a,isValidating:s}:{data:r,error:t,mutate:a,isValidating:s}}},23220:(e,t,r)=>{"use strict";r.d(t,{X:()=>c});var n=r(16683),a=r(1081),o=r(57626),i=r(72748),s=r(17386);const l=(0,a.j8)({platform:(0,s.makeSelectPlatform)(),theme:(0,s.makeSelectTheme)()});function c(){const{platform:e,theme:t}=(0,n.d4)(l),{error:r,data:a,mutate:s,isValidating:c}=(0,o.Ay)(`platforms/${e.uid}/agreements/consent`,i.lA,{revalidateOnFocus:!1}),u={PRIVACY_POLICY:{url:t.terms.privacyPolicy},USER_AGREEMENT:{url:t.terms.userTerms},COOKIE_POLICY:null};if(r)return{isLoading:!1,error:r,data:{currentAgreements:u},mutate:s,isValidating:c};if(a&&a.message){const e=a.message.agreements.active_agreements;return{isLoading:!1,error:r,data:{currentAgreements:{PRIVACY_POLICY:e.PRIVACY_POLICY?e.PRIVACY_POLICY:u.PRIVACY_POLICY,USER_AGREEMENT:e.USER_AGREEMENT?e.USER_AGREEMENT:u.USER_AGREEMENT,COOKIE_POLICY:e.COOKIE_POLICY?e.COOKIE_POLICY:u.COOKIE_POLICY},upcomingAgreements:a.message.consents.upcoming_agreements_to_consent_to,activeAgreementsAndConsentStatus:a.message.consents.active_agreements_and_consent_status},mutate:s,isValidating:c}}return{isLoading:!r&&!a,data:{currentAgreements:[],upcomingAgreements:[],activeAgreementsAndConsentStatus:[]},error:r,mutate:s,isValidating:c}}},96229:(e,t,r)=>{"use strict";r.d(t,{I:()=>u});var n=r(57626),a=r(16683),o=r(1081),i=r(72748),s=r(73108),l=r(17386);const c=(0,o.j8)({platform:(0,l.makeSelectPlatform)(),locale:(0,s.makeSelectLocale)()});function u(e){const{platform:{uid:t},locale:r}=(0,a.d4)(c),{error:o,data:s,mutate:l}=(0,n.Ay)(e?`platforms/${t}/checkouts/giftcards/${e}`:null,(e=>(0,i.GO)(e,{"Content-Language":r})));return o&&404===o.response.status?{data:{},error:void 0,mutate:l}:s&&s.message?{data:s.message,error:o,mutate:l}:{data:s,error:o,mutate:l}}},44511:(e,t,r)=>{"use strict";r.d(t,{M:()=>a});var n=r(96540);function a(){const[e,t]=(0,n.useState)(!1),r=(0,n.useRef)(null),a=()=>t(!0),o=()=>t(!1);return(0,n.useEffect)((()=>{const e=r.current;if(e)return e.addEventListener("mouseover",a),e.addEventListener("mouseout",o),()=>{e.removeEventListener("mouseover",a),e.removeEventListener("mouseout",o)}}),[]),[r,e]}},45581:(e,t,r)=>{"use strict";r.d(t,{m:()=>l});var n=r(17386),a=r(16683),o=r(1081);const i={light:"light",dark:"dark"},s=(0,o.j8)({theme:(0,n.makeSelectTheme)()});function l(){var e,t;const{theme:r}=(0,a.d4)(s);return{theme:r,backgroundColor:null==(e=null==r?void 0:r.colors)?void 0:e.backgroundColor,baseColor:(null==(t=null==r?void 0:r.colors)?void 0:t.baseColor)||"light",BASE_COLORS:i}}},38495:(e,t,r)=>{"use strict";r.d(t,{Q:()=>c});var n=r(57626),a=r(16683),o=r(1081),i=r(72748),s=r(17386);const l=(0,o.j8)({platform:(0,s.makeSelectPlatform)()});function c(e=!0){const{platform:t}=(0,a.d4)(l),{error:r,data:o,mutate:s,isValidating:c}=(0,n.Ay)(e?`https://prod.watch-history.staylive.cloud/user/platform-watch-history?platform_id=${t.id}`:null,i.W8,{revalidateOnFocus:!1});return{data:o,error:r,mutate:s,isValidating:c}}},77461:(e,t,r)=>{"use strict";r.d(t,{Q:()=>c});var n=r(57626),a=r(16683),o=r(1081),i=r(72748),s=r(17386);const l=(0,o.j8)({platform:(0,s.makeSelectPlatform)()});function c(e=!0){const{platform:{uid:t}}=(0,a.d4)(l),{error:r,data:o,mutate:s,isValidating:c}=(0,n.Ay)(e&&t?`platforms/${t}/me/products`:null,i.lA,{revalidateOnFocus:!1});return o&&o.message?{data:o.message,error:r,mutate:s,isValidating:c}:{data:o,error:r,mutate:s,isValidating:c}}},91005:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(47767);const a=()=>new URLSearchParams((0,n.zy)().search)},67894:(e,t,r)=>{"use strict";r.d(t,{O:()=>c,R:()=>l});var n=r(96540),a=r(40979);const o="referrerUpdated";function i(e){if(!e)return"";try{return(e.includes("://")?new URL(e):new URL(`https://${e}`)).hostname.toLowerCase().replace(/^www\./,"")}catch(t){return e.split("/")[0].split("?")[0].toLowerCase().replace(/^www\./,"")}}function s(){let e,t;try{e=sessionStorage.getItem("referrerLink"),t=sessionStorage.getItem("referrerCode")}catch(e){return null}if(!e)return null;const r=i(e),n=a.W.find((e=>{const t=e.productDomain.toLowerCase();return r===t||r.endsWith(`.${t}`)}));return{referrerLink:e,referrerCode:t,referrerTitle:null==n?void 0:n.title,base_subscription_entitlements:(null==n?void 0:n.base_subscription_entitlements)||[]}}
10function l(){const[e,t]=(0,n.useState)(s);return(0,n.useEffect)((()=>{const e=()=>{t(s())};return window.addEventListener(o,e),()=>{window.removeEventListener(o,e)}}),[]),e}function c(e){if(!e)return;const t=i(e),r=a.W.find((e=>{const r=e.productDomain.toLowerCase();return t===r||t.endsWith(`.${r}`)}));try{sessionStorage.setItem("referrerLink",e),r&&sessionStorage.setItem("referrerCode",r.id)}catch(e){return}window.dispatchEvent(new Event(o))}},31689:(e,t,r)=>{"use strict";r.d(t,{_:()=>u});var n=r(72748),a=r(57626),o=r(21988),i=r(17386),s=r(1081),l=r(16683);const c=(0,s.j8)({platform:(0,i.makeSelectPlatform)()});function u(){const{platform:e}=(0,l.d4)(c),{user:t}=(0,o.WB)(),{error:r,data:i}=(0,a.Ay)(t&&Object.keys(t).length?`user?platform_uid=${e.uid}`:null,n.lA,{revalidateOnFocus:!1});return r||!i?{}:i.message}},69165:(e,t,r)=>{"use strict";r.d(t,{a:()=>c});var n=r(57626),a=r(16683),o=r(1081),i=r(72748),s=r(17386);const l=(0,o.j8)({platform:(0,s.makeSelectPlatform)()});function c(e){const{platform:{uid:t}}=(0,a.d4)(l),{error:r,data:o,mutate:s,isValidating:c}=(0,n.Ay)(e&&t?`platforms/${t}/subscription-groups/${e}`:null,i.lA,{revalidateOnFocus:!1});return(null==o?void 0:o.message)?{data:o.message,error:r,mutate:s,isValidating:c}:{data:o,error:r,mutate:s,isValidating:c}}},41412:(e,t,r)=>{"use strict";r.d(t,{V:()=>c});var n=r(57626),a=r(16683),o=r(1081),i=r(72748),s=r(17386);const l=(0,o.j8)({platform:(0,s.makeSelectPlatform)()});function c({planId:e,enabled:t,currentSubscriptionId:r}){const{platform:{uid:o}}=(0,a.d4)(l),{data:s,error:c,isValidating:u}=(0,n.Ay)(t&&e&&o?`platforms/${o}/switch-subscription/preview?planId=${e}&currentSubscriptionId=${r}`:null,i.lA,{revalidateOnFocus:!1});return{data:null==s?void 0:s.message,error:c,isLoading:u&&!s}}},24111:(e,t,r)=>{"use strict";r.d(t,{e:()=>d});var n=r(57626),a=r(32689),o=r(72748),i=r(17386),s=r(16683),l=r(1081),c=r(6028);const u=(0,l.j8)({platform:(0,i.makeSelectPlatform)(),cmsPreview:(0,i.makeSelectCmsPreviewMode)()});function d(){const{platform:e,cmsPreview:t}=(0,s.d4)(u),{data:r,isValidating:i,error:l}=(0,c.X)(t?"userAttributesPage":null),{error:d,data:p,mutate:m,isValidating:f}=(0,n.Ay)(!t&&e?`${a.DEFAULT_STAYLIVE_API}platforms/${e.uid}/user-attributes`:null,o.Ay,{revalidateOnFocus:!1});return t?{data:(null==r?void 0:r.user_attributes)||[],error:l,isValidating:i}:(null==p?void 0:p.message)?{data:p.message.user_attributes,error:d,mutate:m,isValidating:f}:{data:p,error:d,isValidating:f,mutate:m}}},56352:(e,t,r)=>{"use strict";r.d(t,{n:()=>T});var n=r(57626),a=r(21988),o=r(72748),i=r(17386),s=r(16683),l=r(1081),c=Object.defineProperty,u=Object.defineProperties,d=Object.getOwnPropertyDescriptors,p=Object.getOwnPropertySymbols,m=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,g=(e,t,r)=>t in e?c(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,h=(e,t)=>{for(var r in t||(t={}))m.call(t,r)&&g(e,r,t[r]);if(p)for(var r of p(t))f.call(t,r)&&g(e,r,t[r]);return e},y=(e,t)=>u(e,d(t));const v=(0,l.j8)({platform:(0,i.makeSelectPlatform)()});function T(){var e;const{platform:t}=(0,s.d4)(v),{user:r}=(0,a.WB)(),{error:i,data:l,mutate:c,isValidating:u}=(0,n.Ay)(t&&r&&Object.keys(r).length?`platforms/${t.uid}/user-attributes/answers`:null,o.lA,{revalidateOnFocus:!1});return(null==(e=null==l?void 0:l.message)?void 0:e.answers)?{data:l.message.answers.map((e=>y(h({},e.user_attribute),{answer:e.answer,answered:e.answered,answer_id:e.id,created_at:e.created_at}))),error:i,mutate:c,isValidating:u}:{data:l,error:i,isValidating:u,mutate:c}}},26196:(e,t,r)=>{"use strict";r.d(t,{V:()=>c});var n=r(16683),a=r(1081),o=r(57626),i=r(72748),s=r(17386);const l=(0,a.j8)({platform:(0,s.makeSelectPlatform)()});function c({user:e,locale:t}){const{platform:{uid:r}}=(0,n.d4)(l),{error:a,data:s,mutate:c,isValidating:u}=(0,o.Ay)(e&&t?`platforms/${r}/users/languages?setThisLanguageIfNoOtherLanguageExists=${t}`:null,i.lA,{revalidateOnFocus:!1,errorRetryCount:1});return s?{data:s.message,error:a,mutate:c,isValidating:u}:{error:a&&a.response?a.response.status:null,data:s,mutate:c,isValidating:u}}},25694:(e,t,r)=>{"use strict";r.d(t,{h:()=>o});var n=r(96540),a=(e,t,r)=>new Promise(((n,a)=>{var o=e=>
10{try{s(r.next(e))}catch(e){a(e)}},i=e=>{try{s(r.throw(e))}catch(e){a(e)}},s=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,i);s((r=r.apply(e,t)).next())}));const o=({lazyLoad:e=!0,preload:t="metadata",rootMargin:r="50px",threshold:o=.1,autoplay:i=!0,muted:s=!0,debug:l=!1}={})=>{const c=(0,n.useRef)(null),u=(0,n.useRef)(null),[d,p]=(0,n.useState)(!e),[m,f]=(0,n.useState)(!e),[g,h]=(0,n.useState)(!1),[y,v]=(0,n.useState)(!1),[T,b]=(0,n.useState)(null),E=(0,n.useRef)(null),S=(0,n.useCallback)(((e,t)=>{l&&console.log(`[useVideoPerformance] ${e}`,t)}),[l]);(0,n.useEffect)((()=>{if(!e)return S("Lazy loading disabled, setting immediate visibility"),p(!0),void f(!0);S("Setting up intersection observer",{rootMargin:r,threshold:o});const t=setTimeout((()=>{d||(S("Fallback timeout triggered - forcing visibility"),p(!0),f(!0))}),2e3),n=new IntersectionObserver((([e])=>{S("Intersection observer callback",{isIntersecting:e.isIntersecting,intersectionRatio:e.intersectionRatio,boundingClientRect:e.boundingClientRect}),e.isIntersecting?(S("Element is intersecting, setting visible and should load"),clearTimeout(t),p(!0),setTimeout((()=>{S("Setting shouldLoad to true after delay"),f(!0)}),100)):S("Element is not intersecting")}),{rootMargin:r,threshold:o});E.current=n;const a=()=>{if(u.current){const e=u.current.getBoundingClientRect();if(S("Container dimensions",{width:e.width,height:e.height,top:e.top,left:e.left,bottom:e.bottom,right:e.right}),0===e.width&&0===e.height)return S("Container has no dimensions, retrying in 100ms"),void setTimeout(a,100);S("Observing container element"),n.observe(u.current)}else S("Container ref not available yet, retrying in 100ms"),setTimeout(a,100)};return a(),()=>{S("Cleaning up intersection observer"),clearTimeout(t),E.current&&(E.current.disconnect(),E.current=null)}}),[e,r,o,S,d]);const O=(0,n.useCallback)((()=>a(void 0,null,(function*(){if(S("playVideo called",{isVisible:d,shouldLoad:m,isLoaded:g,hasVideoRef:!!c.current}),c.current&&d&&!g)try{s&&(c.current.muted=!0),i&&(S("Attempting to play video"),yield c.current.play(),v(!0),S("Video play successful")),h(!0),b(null),S("Video loaded successfully")}catch(e){console.warn("Video autoplay failed:",e),b(e),S("Video autoplay failed",e)}else S("playVideo early return",{hasVideoRef:!!c.current,isVisible:d,isLoaded:g})}))),[d,g,i,s,S]);(0,n.useEffect)((()=>{S("Visibility/load state changed",{isVisible:d,shouldLoad:m}),d&&m&&(S("Video should play, scheduling playVideo"),requestAnimationFrame(O))}),[d,m,O,S]);const P=(0,n.useCallback)((()=>a(void 0,null,(function*(){if(c.current)try{return yield c.current.play(),v(!0),!0}catch(e){return b(e),!1}return!1}))),[]),C=(0,n.useCallback)((()=>{c.current&&(c.current.pause(),v(!1))}),[]),A=(0,n.useCallback)((()=>{S("Manual load called"),f(!0),p(!0)}),[S]);return(0,n.useEffect)((()=>{S("State update",{isVisible:d,shouldLoad:m,isLoaded:g,isPlaying:y,error:null==T?void 0:T.message,hasContainerRef:!!u.current,hasVideoRef:!!c.current})}),[d,m,g,y,T,S]),{videoRef:c,containerRef:u,isVisible:d,shouldLoad:m,isLoaded:g,isPlaying:y,error:T,play:P,pause:C,load:A,preload:t}}},74980:(e,t,r)=>{"use strict";r.d(t,{A:()=>E,N:()=>S});var n=r(74848),a=r(96540),o=r(4146),i=r.n(o),s=r(16683),l=r(20311),c=r.n(l),u=r(2543),d=r(7296),p=r(482);function m(e,t){return function(r,n){t||(0,d.A)(e),c()((0,u.isString)(r)&&!(0,u.isEmpty)(r)&&(0,u.isFunction)(n),"(app/utils...) injectReducer: Expected `reducer` to be a reducer function"),Reflect.has(e.injectedReducers,r)&&e.injectedReducers[r]===n||(e.injectedReducers[r]=n,e.replaceReducer((0,p.A)(e.injectedReducers)))}}function f(e){return(0,d.A)(e),{injectReducer:m(e,!0)}}var g=Object.defineProperty,h=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable,T=(e,t,r)=>t in e?g(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,b=(e,t,r)=>T(e,"symbol"!=typeof t?t+"":t,r);const E=({key:e,reducer:t})=>r=>{class o extends a.Component{constructor(r,n){super(r,n),f(n.store).injectReducer(e,t)}render(){return(0,n.jsx)(r,((e,t)=>{for(var r in t||(t={}))y.call(t,r)&&T(e,r,t[r]);if(h)for(var r of h(t))v.call(t,r)&&T(e,r,t[r]);return e})({},this.props))}}return b(o,"WrappedComponent",r),b(o,"contextType",s.ty),b(o,"displayName",`withReducer(${r.displayName||r.name||"Component"})`),i()(o,r)},S=({key:e,reducer:t})=>{const r=a.useContext(s.ty);a.useEffect((()=>{f(r.store).injectReducer(e,t)}),[])}},40260:(e,t,r)=>{"use strict";r.d(t,{A:()=>L,f:()=>k});
10var n=r(74848),a=r(96540),o=r(4146),i=r.n(o),s=r(16683),l=r(20311),c=r.n(l),u=r(2543),d=r(7296),p=r(67456),m=Object.defineProperty,f=Object.defineProperties,g=Object.getOwnPropertyDescriptors,h=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable,T=(e,t,r)=>t in e?m(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,b=(e,t)=>{for(var r in t||(t={}))y.call(t,r)&&T(e,r,t[r]);if(h)for(var r of h(t))v.call(t,r)&&T(e,r,t[r]);return e},E=(e,t)=>f(e,g(t));const S=[p.zh,p.Zc,p.R_],O=e=>c()((0,u.isString)(e)&&!(0,u.isEmpty)(e),"(app/utils...) injectSaga: Expected `key` to be a non empty string");function P(e,t){return function(r,n={},a){t||(0,d.A)(e);const o=E(b({},n),{mode:n.mode||p.Zc}),{saga:i,mode:s}=o;O(r),(e=>{const t={saga:u.isFunction,mode:e=>(0,u.isString)(e)&&S.includes(e)};c()((0,u.conformsTo)(e,t),"(app/utils...) injectSaga: Expected a valid saga descriptor")})(o);let l=Reflect.has(e.injectedSagas,r);(!l||l&&s!==p.Zc&&s!==p.R_)&&(e.injectedSagas[r]=E(b({},o),{task:e.runSaga(i,a)}))}}function C(e,t){return function(r){if(t||(0,d.A)(e),O(r),Reflect.has(e.injectedSagas,r)){const t=e.injectedSagas[r];t.mode&&t.mode!==p.Zc&&(t.task.cancel(),e.injectedSagas[r]="done")}}}function A(e){return(0,d.A)(e),{injectSaga:P(e,!0),ejectSaga:C(e,!0)}}var w=Object.defineProperty,_=Object.getOwnPropertySymbols,$=Object.prototype.hasOwnProperty,N=Object.prototype.propertyIsEnumerable,j=(e,t,r)=>t in e?w(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,I=(e,t,r)=>j(e,"symbol"!=typeof t?t+"":t,r);const L=({key:e,saga:t,mode:r})=>o=>{class l extends a.Component{constructor(n,a){super(n,a),this.injectors=A(a.store),this.injectors.injectSaga(e,{saga:t,mode:r},this.props)}componentWillUnmount(){this.injectors.ejectSaga(e)}render(){return(0,n.jsx)(o,((e,t)=>{for(var r in t||(t={}))$.call(t,r)&&j(e,r,t[r]);if(_)for(var r of _(t))N.call(t,r)&&j(e,r,t[r]);return e})({},this.props))}}return I(l,"WrappedComponent",o),I(l,"contextType",s.ty),I(l,"displayName",`withSaga(${o.displayName||o.name||"Component"})`),i()(l,o)},k=({key:e,saga:t,mode:r})=>{const n=a.useContext(s.ty);a.useEffect((()=>{const a=A(n.store);return a.injectSaga(e,{saga:t,mode:r}),()=>{a.ejectSaga(e)}}),[])}},78210:(e,t,r)=>{"use strict";r.d(t,{BL:()=>T,Jd:()=>S,Pd:()=>b,d7:()=>v});var n=r(96540),a=r(21988),o=r(16683),i=r(31689),s=r(1081),l=r(17386),c=Object.defineProperty,u=Object.defineProperties,d=Object.getOwnPropertyDescriptors,p=Object.getOwnPropertySymbols,m=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,g=(e,t,r)=>t in e?c(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,h=(e,t)=>{for(var r in t||(t={}))m.call(t,r)&&g(e,r,t[r]);if(p)for(var r of p(t))f.call(t,r)&&g(e,r,t[r]);return e},y=(e,t)=>u(e,d(t));function v(e,t){const[r,a]=(0,n.useState)(e);return(0,n.useEffect)((()=>{const r=setTimeout((()=>{a(e)}),t);return()=>{clearTimeout(r)}}),[t,e]),r}function T(e={}){const{threshold:t=1,root:r=null,rootMargin:a="0px"}=e,[o,i]=(0,n.useState)(null),s=(0,n.useRef)(null);return[(0,n.useCallback)((e=>{if(s.current&&(s.current.disconnect(),s.current=null),(null==e?void 0:e.nodeType)===Node.ELEMENT_NODE){const n=new IntersectionObserver((([e])=>{i(e)}),{threshold:t,root:r,rootMargin:a});n.observe(e),s.current=n}}),[t,r,a]),o]}function b(e,t="0px",r=!1){const[a,o]=(0,n.useState)(!1);return(0,n.useEffect)((()=>{const n=e.current,a=new IntersectionObserver((([e])=>{e.isIntersecting&&r&&a.unobserve(n),o(e.isIntersecting)}),{rootMargin:t});return e.current&&a.observe(e.current),()=>{n&&a.unobserve(n)}})),a}const E=(0,s.j8)({userMetadata:(0,l.makeSelectUser)(),cmsPreview:(0,l.makeSelectCmsPreviewMode)()});function S(){const{user:e,isAuthenticated:t,getAccessTokenSilently:r}
10=(0,a.WB)(),[s,l]=(0,n.useState)(null),c=(0,i._)(),{cmsPreview:u,userMetadata:{subscriptions:d,packages:p,authenticated:m}}=(0,o.d4)(E);return(0,n.useEffect)((()=>{if(t&&e&&Object.keys(c).length){const t=(r=e)?y(h({},r),{metadata:r["https://staylive.io/claims/app_metadata"],user_metadata:r["https://staylive.io/claims/user_metadata"],crisp_chat_id:null==c?void 0:c.email_hmac,isAuth0User:r.sub.indexOf("auth0|")>-1,subscriptions:c.subscriptions||[],packages:c.packages||[],external_subscriptions:c.external_subscriptions||[]}):null;l(t)}var r}),[c,e]),(0,n.useEffect)((()=>{u&&l({name:"CMS User",email:"[email protected]",subscriptions:d,packages:p,authenticated:m})}),[u,d,p,m]),{user:s,isLoading:O({isAuthenticated:t,user:s}),isAuthenticated:t,getAccessTokenSilently:r}}const O=({isAuthenticated:e,user:t})=>!(t||!e)},45484:(e,t,r)=>{"use strict";r.d(t,{$:()=>s,Ms:()=>d,RY:()=>o,fW:()=>i,rN:()=>c,vM:()=>l,yM:()=>u});var n=r(15420),a=r(59005);const o=e=>{let t=e;return t||"undefined"==typeof window||(t=window.document.domain),a.some((e=>t.includes(e)))};function i(e){return n.appLocales.includes(e)}const s=()=>o()?window.document.location.pathname.split("/")[1]:null;function l(e){const t=e.replace(/^\/+/,"").split("/"),r=s();let n="",a=1;if(r?(n=t[1],a=2):(n=t[0],a=1),n&&i(n)){const e=t.slice(a).join("/");return{lang:n,pathWithoutLang:e?`/${e}`:"/"}}if(r){const e=t.slice(1).join("/");return{lang:null,pathWithoutLang:e?`/${e}`:"/"}}return{lang:null,pathWithoutLang:e}}const c=()=>{const{lang:e}=l(window.location.pathname);return o()?`${window.document.location.pathname.split("/")[1]}/${e||""}`.replace(/\/+$/,""):`${e||""}`.replace(/\/+$/,"")};function u(e,t){if(!e)return t;const r=s();return`${r?`/${r}/`:"/"}${e}${"/"===t?"":t}`}const d=e=>{const t=e?e.split("/"):window.location.pathname.split("/");return o()?(t.splice(0,3),`/${t.join("/")}`):(t.splice(0,2),t.length>0?`/${t.join("/")}`:"/")}},43395:()=>{try{document.createDocumentFragment().querySelector(":is(a)")}catch(e){const{querySelector:t}=DocumentFragment.prototype;DocumentFragment.prototype.querySelector=function(e){return t.call(this,':is(video,audio) > track[kind="chapters"][default][src]'===e?'video > track[kind="chapters"][default][src], audio > track[kind="chapters"][default][src]':e)}}},49087:(e,t,r)=>{"use strict";r.d(t,{ID:()=>s,Ph:()=>a,U$:()=>i,Uk:()=>o,r5:()=>l,vS:()=>n});const n="sl-just-registered",a="/complete-signup";function o(e){if(e)try{sessionStorage.setItem(n,e)}catch(e){}}function i(){try{sessionStorage.removeItem(n)}catch(e){}}function s(e){if(!(null==e?void 0:e.sub))return!1;try{return sessionStorage.getItem(n)===e.sub}catch(e){return!1}}function l(e="/"){const t=new URLSearchParams;return t.set("returnTo",e||"/"),`${a}?${t.toString()}`}},40313:(e,t,r)=>{"use strict";r.d(t,{A:()=>d});var n=r(74848),a=r(96540),o=Object.defineProperty,i=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,c=(e,t,r)=>t in e?o(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,u=(e,t)=>{for(var r in t||(t={}))s.call(t,r)&&c(e,r,t[r]);if(i)for(var r of i(t))l.call(t,r)&&c(e,r,t[r]);return e};const d=(e,{fallback:t=null}={fallback:null})=>{const r=(0,a.lazy)(e);return e=>(0,n.jsx)(a.Suspense,{fallback:t,children:(0,n.jsx)(r,u({},e))})}},93989:(e,t,r)=>{"use strict";r.d(t,{b:()=>a,h:()=>n});const n=(e,t)=>{const{pathname:r}=e;if(!Object.keys(t).length)return r;let n=r;return Object.entries(t).forEach((([e,t])=>{t&&(n=n.replace(t,`:${e}`))})),n=n.replace(/\/+$/,""),n},a=e=>e.length>2?encodeURIComponent(e.substring(1,e.length)):"home"},34125:()=>{[Element.prototype,Document.prototype,DocumentFragment.prototype].forEach((e=>{"function"!=typeof e.replaceChildren&&(e.replaceChildren=function(...e){const t=this.ownerDocument||this;for(;this.lastChild;)this.removeChild(this.lastChild);e.forEach((e=>this.appendChild(e instanceof Node?e:t.createTextNode(String(e)))))})}))},72748:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>v,GO:()=>b,Ku:()=>O,W8:()=>C,hr:()=>A,lA:()=>E,lw:()=>T,md:()=>w,tX:()=>_,un:()=>S,wb:()=>P}),r(78624);var n=r(32689),a=r(30727),o=r(35559),i=Object.defineProperty,s=Object.defineProperties,l=Object.getOwnPropertyDescriptors,c=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,p=(e,t,r)=>t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,m=(e,t)=>
10{for(var r in t||(t={}))u.call(t,r)&&p(e,r,t[r]);if(c)for(var r of c(t))d.call(t,r)&&p(e,r,t[r]);return e},f=(e,t)=>s(e,l(t)),g=(e,t,r)=>new Promise(((n,a)=>{var o=e=>{try{s(r.next(e))}catch(e){a(e)}},i=e=>{try{s(r.throw(e))}catch(e){a(e)}},s=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,i);s((r=r.apply(e,t)).next())}));function h(e){return 204===e.status||205===e.status?null:e.json()}function y(e){return g(this,null,(function*(){if(e.status>=200&&e.status<300)return e;const t=new Error(e.statusText||`HTTP ${e.status}`);throw t.response=e,t.json=yield e.json(),t}))}function v(e,t){const r=t&&t.headers?f(m({},t.headers),{"Content-Language":(0,o.JK)()}):{"Content-Language":(0,o.JK)()};return t&&t.catch?fetch(e,m(m({},t),r)).then(y).then(h).catch((()=>{})):fetch(e,f(m({},t),{headers:r,catch:void 0})).then(y).then(h)}function T(e,t){const r=f(m({},t.headers),{"Content-Language":(0,o.JK)()})||{"Content-Language":(0,o.JK)()};return t.catch?fetch(e,m(m({},t),r)).then(y).catch((()=>{})):fetch(e,f(m({},t),{headers:r,catch:void 0})).then(y)}function b(e,t){return g(this,null,(function*(){if(Array.isArray(e)){const[t,r]=e;let a=r;return a=a?f(m({},r),{"Content-Language":(0,o.JK)()}):{"Content-Language":(0,o.JK)()},fetch(`${n.DEFAULT_STAYLIVE_API}${t}`,{headers:a}).then(y).then(h)}return fetch(`${n.DEFAULT_STAYLIVE_API}${e}`,{headers:t}).then(y).then(h)}))}function E(e){return g(this,null,(function*(){try{const t=yield(0,a.dI)({});return t?fetch(`${n.DEFAULT_STAYLIVE_API}${e}`,{headers:{Authorization:`Bearer ${t}`}}).then(y).then(h):new Promise((t=>{setTimeout((()=>t(E(e))),500)}))}catch(t){if(t.message===a.zF)return new Promise((t=>{setTimeout((()=>t(E(e))),200)}))}return b(e)}))}function S(e,t){return g(this,null,(function*(){return fetch(`${n.DEFAULT_STAYLIVE_API}${e}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)}).then(y).then(h)}))}function O(e,t){return g(this,null,(function*(){try{const r=yield(0,a.dI)({});if(r)return fetch(`${n.DEFAULT_STAYLIVE_API}${e}`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${r}`},body:JSON.stringify(t)}).then(y).then(h)}catch(t){if(t.message===a.zF)return new Promise((t=>{setTimeout((()=>t(E(e))),2e3)}));throw t}return null}))}function P(e,t){return g(this,null,(function*(){try{const r=yield(0,a.dI)({});if(r)return fetch(e,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${r}`},body:JSON.stringify(t)}).then(y).then(h)}catch(t){if(t.message===a.zF)return new Promise((t=>{setTimeout((()=>t(P(e))),2e3)}));throw t}return null}))}function C(e){return g(this,null,(function*(){try{const t=yield(0,a.dI)({});if(t)return fetch(e,{method:"GET",headers:{"Content-Type":"application/json",Authorization:`Bearer ${t}`}}).then(y).then(h)}catch(t){if(t.message===a.zF)return new Promise((t=>{setTimeout((()=>t(C(e))),2e3)}));throw t}return null}))}function A(e,t){return g(this,null,(function*(){try{const r=yield(0,a.dI)({});if(r)return fetch(`${n.DEFAULT_STAYLIVE_API}${e}`,{method:"PUT",headers:{"Content-Type":"application/json",Authorization:`Bearer ${r}`},body:JSON.stringify(t)}).then(y).then(h)}catch(t){if(t.message===a.zF)return new Promise((t=>{setTimeout((()=>t(E(e))),2e3)}));throw t}return null}))}const w=(e,t)=>g(void 0,null,(function*(){if(Array.isArray(e)){const[t,r]=e;return v(t,{headers:{"X-STAYLIVE-CHANNELS":r.toString()}})}return v(e,{headers:{"X-STAYLIVE-CHANNELS":t.toString()}})}));function _(e,t){return g(this,null,(function*(){const r=yield(0,a.dI)({});return r?fetch(`${n.DEFAULT_STAYLIVE_API}${e}`,{method:"DELETE",headers:{"Content-Type":"application/json",Authorization:`Bearer ${r}`},body:t?JSON.stringify(t):null}).then(y).then(h):null}))}},40288:(e,t,r)=>{"use strict";r.d(t,{i:()=>a});const n="https://safe-cta.invalid",a=e=>{if("string"!=typeof e||!e.startsWith("/"))return null;if(e.startsWith("//")||e.startsWith("/\\"))return null;try{const t=new URL(e,n);return t.origin!==n?null:`${t.pathname}${t.search}${t.hash}`}catch(e){return null}}},891:()=>{void 0===window.WeakRef&&(window.WeakRef=class{constructor(e){this.target=e}deref(){return this.target}})}}]);

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.