PageSourceSearch

https://www.robinhoodbingo.com/app/chunk-ZHIUVYYP.js

js robinhoodbingo.com collected 2026-10-04 21:18:58 UTC 29,478 bytes, 1 lines download raw bytes

1import{E as ie}from"./chunk-4ZH7OCQT.js";import"./chunk-TYHNJDIL.js";import{Ba as N}from"./chunk-FPGJCOAR.js";import{Lb as X,Mb as G,Ra as H,Ua as Q,Uc as re,Vb as Z,Wb as K,Xb as ee,_ as j,_b as te,gc as ne,jb as J,ya as z}from"./chunk-TU7EUU3B.js";import{a as q}from"./chunk-IMPBB4AK.js";var ge=typeof global<"u"&&{}.toString.call(global)==="[object global]",we=typeof Bun<"u",ye=typeof Deno<"u",be=typeof WebSocketPair=="function"&&typeof caches?.default<"u",se=ge||we||ye||be;function oe(i,e){return i.indexOf(e.toLowerCase())===0?i:`${e.toLowerCase()}${i.substr(0,1).toUpperCase()}${i.substr(1)}`}function ve(i){return!!(i&&i.nodeType===1&&"nodeName"in i&&i.ownerDocument&&i.ownerDocument.defaultView)}function Ee(i){return!isNaN(parseFloat(i))&&isFinite(i)&&Math.floor(i)==i}function k(i){return/^(https?:)?\/\/((((player|www)\.)?vimeo\.com)|((player\.)?[a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))(?=$|\/)/.test(i)}function ue(i){return/^https:\/\/player\.((vimeo\.com)|([a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))\/video\/\d+/.test(i)}function Pe(i){let e=(i||"").match(/^(?:https?:)?(?:\/\/)?([^/?]+)/),t=(e&&e[1]||"").replace("player.",""),n=[".videoji.hk",".vimeo.work",".videoji.cn"];for(let r of n)if(t.endsWith(r))return t;return"vimeo.com"}function le(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=i.id,t=i.url,n=e||t;if(!n)throw new Error("An id or url must be passed, either in an options object or as a data-vimeo-id or data-vimeo-url attribute.");if(Ee(n))return`https://vimeo.com/${n}`;if(k(n))return n.replace("http:","https:");throw e?new TypeError(`\u201C${e}\u201D is not a valid video id.`):new TypeError(`\u201C${n}\u201D is not a vimeo.com url.`)}var ae=function(i,e,t){let n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"addEventListener",r=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"removeEventListener",o=typeof e=="string"?[e]:e;return o.forEach(u=>{i[n](u,t)}),{cancel:()=>o.forEach(u=>i[r](u,t))}};function O(i){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:document;if(!i||!e||typeof e.querySelectorAll!="function")return null;let t=e.querySelectorAll("iframe");for(let n=0;n<t.length;n++)if(t[n]&&t[n].contentWindow===i)return t[n];return null}var Te=typeof Array.prototype.indexOf<"u",ke=typeof window<"u"&&typeof window.postMessage<"u";if(!se&&(!Te||!ke))throw new Error("Sorry, the Vimeo Player API is not available in this browser.");var A=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function xe(i,e){return e={exports:{}},i(e,e.exports),e.exports}(function(i){if(i.WeakMap)return;var e=Object.prototype.hasOwnProperty,t=Object.defineProperty&&(function(){try{return Object.defineProperty({},"x",{value:1}).x===1}catch{}})(),n=function(o,u,l){t?Object.defineProperty(o,u,{configurable:!0,writable:!0,value:l}):o[u]=l};i.WeakMap=(function(){function o(){if(this===void 0)throw new TypeError("Constructor WeakMap requires 'new'");if(n(this,"_id",l("_WeakMap")),arguments.length>0)throw new TypeError("WeakMap iterable is not supported")}n(o.prototype,"delete",function(f){if(u(this,"delete"),!r(f))return!1;var p=f[this._id];return p&&p[0]===f?(delete f[this._id],!0):!1}),n(o.prototype,"get",function(f){if(u(this,"get"),!!r(f)){var p=f[this._id];if(p&&p[0]===f)return p[1]}}),n(o.prototype,"has",function(f){if(u(this,"has"),!r(f))return!1;var p=f[this._id];return!!(p&&p[0]===f)}),n(o.prototype,"set",function(f,p){if(u(this,"set"),!r(f))throw new TypeError("Invalid value used as weak map key");var E=f[this._id];return E&&E[0]===f?(E[1]=p,this):(n(f,this._id,[f,p]),this)});function u(f,p){if(!r(f)||!e.call(f,"_id"))throw new TypeError(p+" method called on incompatible receiver "+typeof f)}function l(f){return f+"_"+m()+"."+m()}function m(){return Math.random().toString().substring(2)}return n(o,"_polyfill",!0),o})();function r(o){return Object(o)===o}})(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:A);var v=xe(function(i){(function(t,n,r){n[t]=n[t]||r(),i.exports&&(i.exports=n[t])})("Promise",A,function(){var t,n,r,o=Object.prototype.toString,u=typeof setImmediate<"u"?function(a){return setImmediate(a)}:setTimeout;try{Object.defineProperty({},"x",{}),t=function(a,s,d,h){return Object.defineProperty(a,s,{value:d,writable:!0,configurable:h!==!1})}}catch{t=function(s,d,h){return s[d]=h,s}}r=(function(){var a,s,d;function h(g,w){this.fn=g,this.self=w,this.next=void 0}return{add:function(w,T){d=new h(w,T),s?s.next=d:a=d,s=d,d=void 0},drain:function(){var w=a;for(a=s=n=void 0;w;)w.fn.call(w.self),w=w.next}}})();function l(c,a){r.add(c,a),n||(n=u(r.drain))}function m(c){var a,s=typeof c;return c!=null&&(s=="object"||s=="function")&&(a=c.then),typeof a=="function"?a:!1}function f(){for(var c=0;c<this.chain.length;c++)p(this,this.state===1?this.chain[c].success:this.chain[c].failure,this.chain[c]);this.chain.length=0}function p(c,a,s){var d,h;try{a===!1?s.reject(c.msg):(a===!0?d=c.msg:d=a.call(void 0,c.msg),d===s.promise?s.reject(TypeError("Promise-chain cycle")):(h=m(d))?h.call(
1d,s.resolve,s.reject):s.resolve(d))}catch(g){s.reject(g)}}function E(c){var a,s=this;if(!s.triggered){s.triggered=!0,s.def&&(s=s.def);try{(a=m(c))?l(function(){var d=new S(s);try{a.call(c,function(){E.apply(d,arguments)},function(){b.apply(d,arguments)})}catch(h){b.call(d,h)}}):(s.msg=c,s.state=1,s.chain.length>0&&l(f,s))}catch(d){b.call(new S(s),d)}}}function b(c){var a=this;a.triggered||(a.triggered=!0,a.def&&(a=a.def),a.msg=c,a.state=2,a.chain.length>0&&l(f,a))}function _(c,a,s,d){for(var h=0;h<a.length;h++)(function(w){c.resolve(a[w]).then(function(M){s(w,M)},d)})(h)}function S(c){this.def=c,this.triggered=!1}function D(c){this.promise=c,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function P(c){if(typeof c!="function")throw TypeError("Not a function");if(this.__NPO__!==0)throw TypeError("Not a promise");this.__NPO__=1;var a=new D(this);this.then=function(d,h){var g={success:typeof d=="function"?d:!0,failure:typeof h=="function"?h:!1};return g.promise=new this.constructor(function(T,M){if(typeof T!="function"||typeof M!="function")throw TypeError("Not a function");g.resolve=T,g.reject=M}),a.chain.push(g),a.state!==0&&l(f,a),g.promise},this.catch=function(d){return this.then(void 0,d)};try{c.call(void 0,function(d){E.call(a,d)},function(d){b.call(a,d)})}catch(s){b.call(a,s)}}var W=t({},"constructor",P,!1);return P.prototype=W,t(W,"__NPO__",0,!1),t(P,"resolve",function(a){var s=this;return a&&typeof a=="object"&&a.__NPO__===1?a:new s(function(h,g){if(typeof h!="function"||typeof g!="function")throw TypeError("Not a function");h(a)})}),t(P,"reject",function(a){return new this(function(d,h){if(typeof d!="function"||typeof h!="function")throw TypeError("Not a function");h(a)})}),t(P,"all",function(a){var s=this;return o.call(a)!="[object Array]"?s.reject(TypeError("Not an array")):a.length===0?s.resolve([]):new s(function(h,g){if(typeof h!="function"||typeof g!="function")throw TypeError("Not a function");var w=a.length,T=Array(w),M=0;_(s,a,function(me,pe){T[me]=pe,++M===w&&h(T)},g)})}),t(P,"race",function(a){var s=this;return o.call(a)!="[object Array]"?s.reject(TypeError("Not an array")):new s(function(h,g){if(typeof h!="function"||typeof g!="function")throw TypeError("Not a function");_(s,a,function(T,M){h(M)},g)})}),P})}),x=new WeakMap;function F(i,e,t){let n=x.get(i.element)||{};e in n||(n[e]=[]),n[e].push(t),x.set(i.element,n)}function $(i,e){return(x.get(i.element)||{})[e]||[]}function L(i,e,t){let n=x.get(i.element)||{};if(!n[e])return!0;if(!t)return n[e]=[],x.set(i.element,n),!0;let r=n[e].indexOf(t);return r!==-1&&n[e].splice(r,1),x.set(i.element,n),n[e]&&n[e].length===0}function Me(i,e){let t=$(i,e);if(t.length<1)return!1;let n=t.shift();return L(i,e,n),n}function Ce(i,e){let t=x.get(i);x.set(e,t),x.delete(i)}function V(i){if(typeof i=="string")try{i=JSON.parse(i)}catch(e){return console.warn(e),{}}return i}function C(i,e,t){if(!i.element.contentWindow||!i.element.contentWindow.postMessage)return;let n={method:e};t!==void 0&&(n.value=t);let r=parseFloat(navigator.userAgent.toLowerCase().replace(/^.*msie (\d+).*$/,"$1"));r>=8&&r<10&&(n=JSON.stringify(n)),i.element.contentWindow.postMessage(n,i.origin)}function _e(i,e){e=V(e);let t=[],n;if(e.event)e.event==="error"&&$(i,e.data.method).forEach(o=>{let u=new Error(e.data.message);u.name=e.data.name,o.reject(u),L(i,e.data.method,o)}),t=$(i,`event:${e.event}`),n=e.data;else if(e.method){let r=Me(i,e.method);r&&(t.push(r),n=e.value)}t.forEach(r=>{try{if(typeof r=="function"){r.call(i,n);return}r.resolve(n)}catch{}})}var Ie=["airplay","audio_tracks","audiotrack","autopause","autoplay","background","byline","cc","chapter_id","chapters","chromecast","color","colors","controls","dnt","end_time","fullscreen","height","id","initial_quality","interactive_params","keyboard","loop","maxheight","max_quality","maxwidth","min_quality","muted","play_button_position","playsinline","portrait","preload","progress_bar","quality","quality_selector","responsive","skipping_forward","speed","start_time","texttrack","thumbnail_id","title","transcript","transparent","unmute_button","url","vimeo_logo","volume","watch_full_video","width"];function ce(i){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Ie.reduce((t,n)=>{let r=i.getAttribute(`data-vimeo-${n}`);return(r||r==="")&&(t[n]=r===""?1:r),t},e)}function Y(i,e){let{html:t}=i;if(!e)throw new TypeError("An element must be provided");
1if(e.getAttribute("data-vimeo-initialized")!==null)return e.querySelector("iframe");let n=document.createElement("div");return n.innerHTML=t,e.appendChild(n.firstChild),e.setAttribute("data-vimeo-initialized","true"),e.querySelector("iframe")}function de(i){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=arguments.length>2?arguments[2]:void 0;return new Promise((n,r)=>{if(!k(i))throw new TypeError(`\u201C${i}\u201D is not a vimeo.com url.`);let u=`https://${Pe(i)}/api/oembed.json?url=${encodeURIComponent(i)}`;for(let m in e)e.hasOwnProperty(m)&&(u+=`&${m}=${encodeURIComponent(e[m])}`);let l="XDomainRequest"in window?new XDomainRequest:new XMLHttpRequest;l.open("GET",u,!0),l.onload=function(){if(l.status===404){r(new Error(`\u201C${i}\u201D was not found.`));return}if(l.status===403){r(new Error(`\u201C${i}\u201D is not embeddable.`));return}try{let m=JSON.parse(l.responseText);if(m.domain_status_code===403){Y(m,t),r(new Error(`\u201C${i}\u201D is not embeddable.`));return}n(m)}catch(m){r(m)}},l.onerror=function(){let m=l.status?` (${l.status})`:"";r(new Error(`There was an error fetching the embed code from Vimeo${m}.`))},l.send()})}function Ae(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document,e=[].slice.call(i.querySelectorAll("[data-vimeo-id], [data-vimeo-url]")),t=n=>{"console"in window&&console.error&&console.error(`There was an error creating an embed: ${n}`)};e.forEach(n=>{try{if(n.getAttribute("data-vimeo-defer")!==null)return;let r=ce(n),o=le(r);de(o,r,n).then(u=>Y(u,n)).catch(t)}catch(r){t(r)}})}function Se(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(window.VimeoPlayerResizeEmbeds_)return;window.VimeoPlayerResizeEmbeds_=!0;let e=t=>{if(!k(t.origin)||!t.data||t.data.event!=="spacechange")return;let n=t.source?O(t.source,i):null;if(n){let r=n.parentElement;r.style.paddingBottom=`${t.data.data[0].bottom}px`}};window.addEventListener("message",e)}function De(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(window.VimeoSeoMetadataAppended)return;window.VimeoSeoMetadataAppended=!0;let e=t=>{if(!k(t.origin))return;let n=V(t.data);if(!n||n.event!=="ready")return;let r=t.source?O(t.source,i):null;r&&ue(r.src)&&new R(r).callMethod("appendVideoMetadata",window.location.href)};window.addEventListener("message",e)}function Fe(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(window.VimeoCheckedUrlTimeParam)return;
1window.VimeoCheckedUrlTimeParam=!0;let e=n=>{"console"in window&&console.error&&console.error(`There was an error getting video Id: ${n}`)},t=n=>{if(!k(n.origin))return;let r=V(n.data);if(!r||r.event!=="ready")return;let o=n.source?O(n.source,i):null;if(o&&ue(o.src)){let u=new R(o);u.getVideoId().then(l=>{let m=new RegExp(`[?&]vimeo_t_${l}=([^&#]*)`).exec(window.location.href);if(m&&m[1]){let f=decodeURI(m[1]);u.setCurrentTime(f)}}).catch(e)}};window.addEventListener("message",t)}function Re(){if(window.VimeoDRMEmbedsUpdated)return;window.VimeoDRMEmbedsUpdated=!0;let i=e=>{if(!k(e.origin))return;let t=V(e.data);if(!t||t.event!=="drminitfailed")return;let n=e.source?O(e.source):null;if(!n)return;let r=n.getAttribute("allow")||"";if(!r.includes("encrypted-media")){n.setAttribute("allow",`${r}; encrypted-media`);let u=new URL(n.getAttribute("src"));u.searchParams.set("forcereload","drm"),n.setAttribute("src",u.toString());return}};window.addEventListener("message",i)}function Ve(){let i=(function(){let n,r=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],o=0,u=r.length,l={};for(;o<u;o++)if(n=r[o],n&&n[1]in document){for(o=0;o<n.length;o++)l[r[0][o]]=n[o];return l}return!1})(),e={fullscreenchange:i.fullscreenchange,fullscreenerror:i.fullscreenerror},t={request(n){return new Promise((r,o)=>{let u=function(){t.off("fullscreenchange",u),r()};t.on("fullscreenchange",u),n=n||document.documentElement;let l=n[i.requestFullscreen]();l instanceof Promise&&l.then(u).catch(o)})},exit(){return new Promise((n,r)=>{if(!t.isFullscreen){n();return}let o=function(){t.off("fullscreenchange",o),n()};t.on("fullscreenchange",o);let u=document[i.exitFullscreen]();u instanceof Promise&&u.then(o).catch(r)})},on(n,r){let o=e[n];o&&document.addEventListener(o,r)},off(n,r){let o=e[n];o&&document.removeEventListener(o,r)}};return Object.defineProperties(t,{isFullscreen:{get(){return!!document[i.fullscreenElement]}},element:{enumerable:!0,get(){return document[i.fullscreenElement]}},isEnabled:{enumerable:!0,get(){return!!document[i.fullscreenEnabled]}}}),t}var Ne={role:"viewer",autoPlayMuted:!0,allowedDrift:.3,maxAllowedDrift:1,minCheckInterval:.1,maxRateAdjustment:.2,maxTimeToCatchUp:1},U=class extends EventTarget{logger;constructor(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0;super(),this.logger=r,this.init(t,e,q(q({},Ne),n))}disconnect(){this.dispatchEvent(new Event("disconnect"))}async init(e,t,n){if(await this.waitForTOReadyState(e,"open"),n.role==="viewer"){await this.updatePlayer(e,t,n);let r=ae(e,"change",()=>this.updatePlayer(e,t,n)),o=this.maintainPlaybackPosition(e,t,n);this.addEventListener("disconnect",()=>{o.cancel(),r.cancel()})}else{await this.updateTimingObject(e,t);let r=ae(t,["seeked","play","pause","ratechange"],()=>this.updateTimingObject(e,t),"on","off");this.addEventListener("disconnect",()=>r.cancel())}}async updateTimingObject(e,t){let[n,r,o]=await Promise.all([t.getCurrentTime(),t.getPaused(),t.getPlaybackRate()]);e.update({position:n,velocity:r?0:o})}async updatePlayer(e,t,n){let{position:r,velocity:o}=e.query();typeof r=="number"&&t.setCurrentTime(r),typeof o=="number"&&(o===0?await t.getPaused()===!1&&t.pause():o>0&&(await t.getPaused()===!0&&(await t.play().catch(async u=>{u.name==="NotAllowedError"&&n.autoPlayMuted&&(await t.setMuted(!0),await t.play().catch(l=>console.error("Couldn't play the video from TimingSrcConnector. Error:",l)))}),this.updatePlayer(e,t,n)),await t.getPlaybackRate()!==o&&t.setPlaybackRate(o)))}maintainPlaybackPosition(e,t,n){let{allowedDrift:r,maxAllowedDrift:o,minCheckInterval:u,maxRateAdjustment:l,maxTimeToCatchUp:m}=n,f=Math.min(m,Math.max(u,o))*1e3,p=async()=>
1{if(e.query().velocity===0||await t.getPaused()===!0)return;let b=e.query().position-await t.getCurrentTime(),_=Math.abs(b);if(this.log(`Drift: ${b}`),_>o)await this.adjustSpeed(t,0),t.setCurrentTime(e.query().position),this.log("Resync by currentTime");else if(_>r){let S=_/m,D=l,P=S<D?(D-S)/2:D;await this.adjustSpeed(t,P*Math.sign(b)),this.log("Resync by playbackRate")}},E=setInterval(()=>p(),f);return{cancel:()=>clearInterval(E)}}log(e){this.logger?.(`TimingSrcConnector: ${e}`)}speedAdjustment=0;adjustSpeed=async(e,t)=>{if(this.speedAdjustment===t)return;let n=await e.getPlaybackRate()-this.speedAdjustment+t;this.log(`New playbackRate:  ${n}`),await e.setPlaybackRate(n),this.speedAdjustment=t};waitForTOReadyState(e,t){return new Promise(n=>{let r=()=>{e.readyState===t?n():e.addEventListener("readystatechange",r,{once:!0})};r()})}},I=new WeakMap,B=new WeakMap,y={},R=class{constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(window.jQuery&&e instanceof jQuery&&(e.length>1&&window.console&&console.warn&&console.warn("A jQuery object with multiple elements was passed, using the first element."),e=e[0]),typeof document<"u"&&typeof e=="string"&&(e=document.getElementById(e)),!ve(e))throw new TypeError("You must pass either a valid element or a valid id.");if(e.nodeName!=="IFRAME"){let r=e.querySelector("iframe");r&&(e=r)}if(e.nodeName==="IFRAME"&&!k(e.getAttribute("src")||""))throw new Error("The player element passed isn\u2019t a Vimeo embed.");if(I.has(e))return I.get(e);this._window=e.ownerDocument.defaultView,this.element=e,this.origin="*";let n=new v((r,o)=>{if(this._onMessage=u=>{if(!k(u.origin)||this.element.contentWindow!==u.source)return;this.origin==="*"&&(this.origin=u.origin);let l=V(u.data);if(l&&l.event==="error"&&l.data&&l.data.method==="ready"){let b=new Error(l.data.message);b.name=l.data.name,o(b);return}let p=l&&l.event==="ready",E=l&&l.method==="ping";if(p||E){this.element.setAttribute("data-ready","true"),r();return}_e(this,l)},this._window.addEventListener("message",this._onMessage),this.element.nodeName!=="IFRAME"){let u=ce(e,t),l=le(u);de(l,u,e).then(m=>{let f=Y(m,e);return this.element=f,this._originalElement=e,Ce(e,f),I.set(this.element,this),m}).catch(o)}});if(B.set(this,n),I.set(this.element,this),this.element.nodeName==="IFRAME"&&C(this,"ping"),y.isEnabled){let r=()=>y.exit();this.fullscreenchangeHandler=()=>{y.isFullscreen?F(this,"event:exitFullscreen",r):L(this,"event:exitFullscreen",r),this.ready().then(()=>{C(this,"fullscreenchange",y.isFullscreen)})},y.on("fullscreenchange",this.fullscreenchangeHandler)}return this}static isVimeoUrl(e){return k(e)}callMethod(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(e==null)throw new TypeError("You must pass a method name.");return new v((o,u)=>this.ready().then(()=>{F(this,e,{resolve:o,reject:u}),n.length===0?n={}:n.length===1&&(n=n[0]),C(this,e,n)}).catch(u))}get(e){return new v((t,n)=>(e=oe(e,"get"),this.ready().then(()=>{F(this,e,{resolve:t,reject:n}),C(this,e)}).catch(n)))}set(e,t){return new v((n,r)=>{if(e=oe(e,"set"),t==null)throw new TypeError("There must be a value to set.");return this.ready().then(()=>{F(this,e,{resolve:n,reject:r}),C(this,e,t)}).catch(r)})}on(e,t){if(!e)throw new TypeError("You must pass an event name.");if(!t)throw new TypeError("You must pass a callback function.");if(typeof t!="function")throw new TypeError("The callback must be a function.");$(this,`event:${e}`).length===0&&this.callMethod("addEventListener",e).catch(()=>{}),F(this,`event:${e}`,t)}off(e,t){if(!e)throw new TypeError("You must pass an event name.");if(t&&typeof t!="function")throw new TypeError("The callback must be a function.");L(this,`event:${e}`,t)&&this.callMethod("removeEventListener",e).catch(r=>{})}loadVideo(e){return this.callMethod("loadVideo",e)}ready(){let e=B.get(this)||new v((t,n)=>{n(new Error("Unknown player. Probably unloaded."))});return v.resolve(e)}addCuePoint(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.callMethod("addCuePoint",{time:e,data:t})}removeCuePoint(e){return this.callMethod("removeCuePoint",e)}enableTextTrack(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!e)throw new TypeError("You must pass a language.");return this.callMethod("enableTextTrack",{language:e,kind:t,showing:n})}disableTextTrack(){return this.callMethod("disableTextTrack")}selectAudioTrack(e,t){if(!e)throw new TypeError("You must pass a language.");return this.callMethod("selectAudioTrack",{language:e,kind:t})}selectDefaultAudioTrack(){return this.callMethod("selectDefaultAudioTrack")}pause(){return this.callMethod("pause")}play(){return this.callMethod("play")}requestFullscreen(){return y.isEnabled?y.request(this.element):this.callMethod("requestFullscreen")}
1exitFullscreen(){return y.isEnabled?y.exit():this.callMethod("exitFullscreen")}getFullscreen(){return y.isEnabled?v.resolve(y.isFullscreen):this.get("fullscreen")}requestPictureInPicture(){return this.callMethod("requestPictureInPicture")}exitPictureInPicture(){return this.callMethod("exitPictureInPicture")}getPictureInPicture(){return this.get("pictureInPicture")}remotePlaybackPrompt(){return this.callMethod("remotePlaybackPrompt")}unload(){return this.callMethod("unload")}destroy(){return new v(e=>{if(B.delete(this),I.delete(this.element),this._originalElement&&(I.delete(this._originalElement),this._originalElement.removeAttribute("data-vimeo-initialized")),this.element&&this.element.nodeName==="IFRAME"&&this.element.parentNode&&(this.element.parentNode.parentNode&&this._originalElement&&this._originalElement!==this.element.parentNode?this.element.parentNode.parentNode.removeChild(this.element.parentNode):this.element.parentNode.removeChild(this.element)),this.element&&this.element.nodeName==="DIV"&&this.element.parentNode){this.element.removeAttribute("data-vimeo-initialized");let t=this.element.querySelector("iframe");t&&t.parentNode&&(t.parentNode.parentNode&&this._originalElement&&this._originalElement!==t.parentNode?t.parentNode.parentNode.removeChild(t.parentNode):t.parentNode.removeChild(t))}this._window.removeEventListener("message",this._onMessage),y.isEnabled&&y.off("fullscreenchange",this.fullscreenchangeHandler),e()})}getAutopause(){return this.get("autopause")}setAutopause(e){return this.set("autopause",e)}getBuffered(){return this.get("buffered")}getCameraProps(){return this.get("cameraProps")}setCameraProps(e){return this.set("cameraProps",e)}getChapters(){return this.get("chapters")}getCurrentChapter(){return this.get("currentChapter")}getColor(){return this.get("color")}getColors(){return v.all([this.get("colorOne"),this.get("colorTwo"),this.get("colorThree"),this.get("colorFour")])}setColor(e){return this.set("color",e)}setColors(e){if(!Array.isArray(e))return new v((r,o)=>o(new TypeError("Argument must be an array.")));let t=new v(r=>r(null)),n=[e[0]?this.set("colorOne",e[0]):t,e[1]?this.set("colorTwo",e[1]):t,e[2]?this.set("colorThree",e[2]):t,e[3]?this.set("colorFour",e[3]):t];return v.all(n)}getCuePoints(){return this.get("cuePoints")}getCurrentTime(){return this.get("currentTime")}setCurrentTime(e){return this.set("currentTime",e)}getDuration(){return this.get("duration")}getEnded(){return this.get("ended")}getLoop(){return this.get("loop")}setLoop(e){return this.set("loop",e)}setMuted(e){return this.set("muted",e)}getMuted(){return this.get("muted")}getPaused(){return this.get("paused")}getPlaybackRate(){return this.get("playbackRate")}setPlaybackRate(e){return this.set("playbackRate",e)}getPlayed(){return this.get("played")}getQualities(){return this.get("qualities")}getQuality(){return this.get("quality")}setQuality(e){return this.set("quality",e)}getRemotePlaybackAvailability(){return this.get("remotePlaybackAvailability")}getRemotePlaybackState(){return this.get("remotePlaybackState")}getSeekable(){return this.get("seekable")}getSeeking(){return this.get("seeking")}getTextTracks(){return this.get("textTracks")}getAudioTracks(){return this.get("audioTracks")}getEnabledAudioTrack(){return this.get("enabledAudioTrack")}getDefaultAudioTrack(){return this.get("defaultAudioTrack")}getVideoEmbedCode(){return this.get("videoEmbedCode")}getVideoId(){return this.get("videoId")}getVideoTitle(){return this.get("videoTitle")}getVideoWidth(){return this.get("videoWidth")}getVideoHeight(){return this.get("videoHeight")}getVideoUrl(){return this.get("videoUrl")}getVolume(){return this.get("volume")}setVolume(e){return this.set("volume",e)}async setTimingSrc(e,t){if(!e)throw new TypeError("A Timing Object must be provided.");await this.ready();let n=new U(this,e,t);return C(this,"notifyTimingObjectConnect"),n.addEventListener("disconnect",()=>C(this,"notifyTimingObjectDisconnect")),n}};se||(y=Ve(),Ae(),Se(),De(),Fe(),Re());var fe=R;function $e(i,e){if(i&1&&(Z(0,"div",0),ee(1,"iframe",1),K()),i&2){let t=ne();Q(),te("src",t.getURL(),H)}}var he=class i{utilityService=j(ie);platformId=j(z);appData=re(null);videoLink="";oneDay=864e5;threeDays=this.oneDay*3;vimeoPostFix="?title=0&byline=0&portrait=0";ngOnInit(){parseInt(this.appData()?.homepageBannerVideoShow)&&this.initialLink()}ngAfterViewInit(){N(this.platformId)&&this.utilityService.getNumberValue(this.appData()?.homepageBannerVideoShow)&&(this.videoType()==="youtube"?this.loadYouTubeAPI():this.videoType()==="vimeo"&&this.playVimeo())}loadYouTubeAPI(){if(window.YT)this.initYouTubePlayer();else{let e=document.createElement("script");e.src="https://www.youtube.com/iframe_api",document.body.appendChild(e),window.onYouTubeIframeAPIReady=()=>this.initYouTubePlayer()}}initYouTubePlayer(){window.ytPlayerInstance=new window.YT.Player("iframe-id",{videoId:this.extractYouTubeId(this.videoLink),events:{onReady:e=>{parseInt(this.appData()?.homepageBannerVideoAutoplay)&&(e.target.mute(),e.target.playVideo())},onStateChange:e=>{e.data===window.YT.PlayerState.ENDED&&(e.target.seekTo(0),e.target.playVideo())}}})}extractYouTubeId(e){let t=/(?:youtube\.com\/.*v=|youtu\.be\/)([^&#?/]+)/,n=e.match(t);
1return n?n[1]:e.split("/").pop()||""}playVimeo(){let e=new fe("iframe-id");e.setLoop(!0),parseInt(this.appData()?.homepageBannerVideoAutoplay)&&(e.setMuted(!0),e.play())}initialLink(){let e=N(this.platformId)?window.localStorage.getItem("time"):null;if(this.appData()?.homepageBannerVideoSecondLink&&e&&Date.now()-parseInt(e)<this.threeDays){this.videoLink=this.appData()?.homepageBannerVideoSecondLink;return}N(this.platformId)&&window.localStorage.setItem("time",Date.now().toString()),this.videoLink=this.appData()?.homepageBannerVideoLink}videoType(){return this.videoLink?this.videoLink.toLowerCase().includes("youtube")||this.videoLink.toLowerCase().includes("youtu.be")?"youtube":"vimeo":"youtube"}getYouTubeEmbedUrl(e,t=!1){let n=/^.*(?:youtu\.be\/|youtube\.com\/(?:embed\/|v\/|watch\?v=))([^#\&\?]*).*/,r=e.match(n);if(r&&r[1].length===11){let o=`https://www.youtube.com/embed/${r[1]}?rel=0&enablejsapi=1&origin=${window.location.origin}`;return t&&(o+="&autoplay=1&mute=1"),o}return null}getURL(){if(parseInt(this.appData()?.homepageBannerVideoShow))return this.videoLink.toLowerCase().includes("youtube")?this.getYouTubeEmbedUrl(this.videoLink,!!parseInt(this.appData()?.homepageBannerVideoAutoplay)):`https://player.vimeo.com/video/${this.videoLink.split("/").pop()}${this.vimeoPostFix}`}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=J({type:i,selectors:[["app-banner-promotion-placeholder"]],inputs:{appData:[1,"appData"]},decls:1,vars:1,consts:[[1,"video-container"],["id","iframe-id","width","560","height","315","allow","autoplay; encrypted-media; fullscreen; picture-in-picture","allowfullscreen","",3,"src"]],template:function(t,n){if(t&1&&X(0,$e,2,1,"div",0),t&2){let r;G(n.utilityService.getNumberValue((r=n.appData())==null?null:r.homepageBannerVideoShow)?0:-1)}},styles:[".video-container[_ngcontent-%COMP%]{position:absolute;height:445px;width:780px;margin-left:-85px;padding-top:10px}#iframe-id[_ngcontent-%COMP%]{position:absolute;width:100%;height:100%;border:none}@media (max-width: 1500px){.video-container[_ngcontent-%COMP%]{width:650px;height:375px;padding-top:55px}}@media (max-width: 1300px){.video-container[_ngcontent-%COMP%]{height:333px;width:600px}}@media (max-width: 1050px){.video-container[_ngcontent-%COMP%]{height:315px;width:555px;padding-top:86px}}@media (max-width: 950px){.video-container[_ngcontent-%COMP%]{height:273px;width:470px}}@media (max-width: 830px){.video-container[_ngcontent-%COMP%]{left:415px;padding-top:95px;height:250px;width:430px}}@media (max-width: 830px) and (min-width: 768px) and (orientation: landscape){.video-container[_ngcontent-%COMP%]{width:56%;height:50%;position:relative;display:flex;padding:0;margin-top:14%;margin-left:20.5%;left:0}}@media (max-width: 767px){.video-container[_ngcontent-%COMP%]{width:100%;height:73%;position:relative;display:flex;padding:0;margin-top:38%;margin-left:0;left:0}}"],changeDetection:0})};export{he as BannerPromotionPlaceholderComponent};

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.