PageSourceSearch

https://edk.ch/_nuxt/BBvNM0Oo.js

js edk.ch collected 2026-10-02 03:17:47 UTC 25,129 bytes, 1 lines download raw bytes

1const G=typeof global<"u"&&{}.toString.call(global)==="[object global]",Z=typeof Bun<"u",K=typeof Deno<"u",ee=typeof WebSocketPair=="function"&&typeof caches?.default<"u",z=G||Z||K||ee;function L(i,e){return i.indexOf(e.toLowerCase())===0?i:`${e.toLowerCase()}${i.substr(0,1).toUpperCase()}${i.substr(1)}`}function te(i){return!!(i&&i.nodeType===1&&"nodeName"in i&&i.ownerDocument&&i.ownerDocument.defaultView)}function ne(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 U(i){return/^https:\/\/player\.((vimeo\.com)|([a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))\/video\/\d+/.test(i)}function re(i){const e=(i||"").match(/^(?:https?:)?(?:\/\/)?([^/?]+)/),t=(e&&e[1]||"").replace("player.",""),n=[".videoji.hk",".vimeo.work",".videoji.cn"];for(const r of n)if(t.endsWith(r))return t;return"vimeo.com"}function B(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const 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(ne(n))return`https://vimeo.com/${n}`;if(k(n))return n.replace("http:","https:");throw e?new TypeError(`“${e}” is not a valid video id.`):new TypeError(`“${n}” is not a vimeo.com url.`)}const W=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";const o=typeof e=="string"?[e]:e;return o.forEach(u=>{i[n](u,t)}),{cancel:()=>o.forEach(u=>i[r](u,t))}};function D(i){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:document;if(!i||!e||typeof e.querySelectorAll!="function")return null;const t=e.querySelectorAll("iframe");for(let n=0;n<t.length;n++)if(t[n]&&t[n].contentWindow===i)return t[n];return null}const ie=typeof Array.prototype.indexOf<"u",oe=typeof window<"u"&&typeof window.postMessage<"u";if(!z&&(!ie||!oe))throw new Error("Sorry, the Vimeo Player API is not available in this browser.");var F=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function se(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,c){t?Object.defineProperty(o,u,{configurable:!0,writable:!0,value:c}):o[u]=c};i.WeakMap=(function(){function o(){if(this===void 0)throw new TypeError("Constructor WeakMap requires 'new'");if(n(this,"_id",c("_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 g=f[this._id];return g&&g[0]===f?(delete f[this._id],!0):!1}),n(o.prototype,"get",function(f){if(u(this,"get"),!!r(f)){var g=f[this._id];if(g&&g[0]===f)return g[1]}}),n(o.prototype,"has",function(f){if(u(this,"has"),!r(f))return!1;var g=f[this._id];return!!(g&&g[0]===f)}),n(o.prototype,"set",function(f,g){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]=g,this):(n(f,this._id,[f,g]),this)});function u(f,g){if(!r(f)||!e.call(f,"_id"))throw new TypeError(g+" method called on incompatible receiver "+typeof f)}function c(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:F);var v=se(function(i){(function(t,n,r){n[t]=n[t]||r(),i.exports&&(i.exports=n[t])})("Promise",F,function(){var t,n,r,o=Object.prototype.toString,u=typeof setImmediate<"u"?function(s){return setImmediate(s)}:setTimeout;try{Object.defineProperty({},"x",{}),t=function(s,a,d,h){return Object.defineProperty(s,a,{value:d,writable:!0,configurable:h!==!1})}}catch{t=function(a,d,h){return a[d]=h,a}}r=(function(){var s,a,d;function h(p,w){this.fn=p,this.self=w,this.next=void 0}return{add:function(w,T){d=new h(w,T),a?a.next=d:s=d,a=d,d=void 0},drain:function(){var w=s;for(s=a=n=void 0;w;)w.fn.call(w.self),w=w.next}}})();function c(l,s){r.add(l,s),n||(n=u(r.drain))}function m(l){var s,a=typeof l;return l!=null&&(a=="object"||a=="function")&&(s=l.then),typeof s=="function"?s:!1}function f(){for(var l=0;l<this.chain.length;l++)g(this,this.state===1?this.chain[l].success:this.chain[l].failure,this.chain[l]);this.chain.length=0}function g(l,s,a){var d,h;try{s===!1?a.reject(l.msg):(s===!0?d=l.msg:d=s.call(void 0,l.msg),d===a.promise?a.reject(TypeError("Promise-chain cycle")):(h=m(d))?h.call(
1d,a.resolve,a.reject):a.resolve(d))}catch(p){a.reject(p)}}function E(l){var s,a=this;if(!a.triggered){a.triggered=!0,a.def&&(a=a.def);try{(s=m(l))?c(function(){var d=new S(a);try{s.call(l,function(){E.apply(d,arguments)},function(){b.apply(d,arguments)})}catch(h){b.call(d,h)}}):(a.msg=l,a.state=1,a.chain.length>0&&c(f,a))}catch(d){b.call(new S(a),d)}}}function b(l){var s=this;s.triggered||(s.triggered=!0,s.def&&(s=s.def),s.msg=l,s.state=2,s.chain.length>0&&c(f,s))}function A(l,s,a,d){for(var h=0;h<s.length;h++)(function(w){l.resolve(s[w]).then(function(C){a(w,C)},d)})(h)}function S(l){this.def=l,this.triggered=!1}function R(l){this.promise=l,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function P(l){if(typeof l!="function")throw TypeError("Not a function");if(this.__NPO__!==0)throw TypeError("Not a promise");this.__NPO__=1;var s=new R(this);this.then=function(d,h){var p={success:typeof d=="function"?d:!0,failure:typeof h=="function"?h:!1};return p.promise=new this.constructor(function(T,C){if(typeof T!="function"||typeof C!="function")throw TypeError("Not a function");p.resolve=T,p.reject=C}),s.chain.push(p),s.state!==0&&c(f,s),p.promise},this.catch=function(d){return this.then(void 0,d)};try{l.call(void 0,function(d){E.call(s,d)},function(d){b.call(s,d)})}catch(a){b.call(s,a)}}var O=t({},"constructor",P,!1);return P.prototype=O,t(O,"__NPO__",0,!1),t(P,"resolve",function(s){var a=this;return s&&typeof s=="object"&&s.__NPO__===1?s:new a(function(h,p){if(typeof h!="function"||typeof p!="function")throw TypeError("Not a function");h(s)})}),t(P,"reject",function(s){return new this(function(d,h){if(typeof d!="function"||typeof h!="function")throw TypeError("Not a function");h(s)})}),t(P,"all",function(s){var a=this;return o.call(s)!="[object Array]"?a.reject(TypeError("Not an array")):s.length===0?a.resolve([]):new a(function(h,p){if(typeof h!="function"||typeof p!="function")throw TypeError("Not a function");var w=s.length,T=Array(w),C=0;A(a,s,function(J,X){T[J]=X,++C===w&&h(T)},p)})}),t(P,"race",function(s){var a=this;return o.call(s)!="[object Array]"?a.reject(TypeError("Not an array")):new a(function(h,p){if(typeof h!="function"||typeof p!="function")throw TypeError("Not a function");A(a,s,function(T,C){h(C)},p)})}),P})});const M=new WeakMap;function I(i,e,t){const n=M.get(i.element)||{};e in n||(n[e]=[]),n[e].push(t),M.set(i.element,n)}function $(i,e){return(M.get(i.element)||{})[e]||[]}function q(i,e,t){const n=M.get(i.element)||{};if(!n[e])return!0;if(!t)return n[e]=[],M.set(i.element,n),!0;const r=n[e].indexOf(t);return r!==-1&&n[e].splice(r,1),M.set(i.element,n),n[e]&&n[e].length===0}function ae(i,e){const t=$(i,e);if(t.length<1)return!1;const n=t.shift();return q(i,e,n),n}function ue(i,e){const t=M.get(i);M.set(e,t),M.delete(i)}function N(i){if(typeof i=="string")try{i=JSON.parse(i)}catch(e){return console.warn(e),{}}return i}function _(i,e,t){if(!i.element.contentWindow||!i.element.contentWindow.postMessage)return;let n={method:e};t!==void 0&&(n.value=t);const 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 ce(i,e){e=N(e);let t=[],n;if(e.event)e.event==="error"&&$(i,e.data.method).forEach(o=>{const u=new Error(e.data.message);u.name=e.data.name,o.reject(u),q(i,e.data.method,o)}),t=$(i,`event:${e.event}`),n=e.data;else if(e.method){const r=ae(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{}})}const le=["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 H(i){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return le.reduce((t,n)=>{const r=i.getAttribute(`data-vimeo-${n}`);return(r||r==="")&&(t[n]=r===""?1:r),t},e)}function j(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");const n=document.createElement("div");return n.innerHTML=t,e.appendChild(n.firstChild),e.setAttribute("data-vimeo-initialized","true"),e.querySelector("iframe")}function Q(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(`“${i}” is not a vimeo.com url.`);let u=`https://${re(i)}/api/oembed.json?url=${encodeURIComponent(i)}`;for(const m in e)e.hasOwnProperty(m)&&(u+=`&${m}=${encodeURIComponent(e[m])}`);const c="XDomainRequest"in window?new XDomainRequest:new XMLHttpRequest;c.open("GET",u,!0),c.onload=function(){if(c.status===404){r(new Error(`“${i}” was not found.`));return}if(c.status===403){r(new Error(`“${i}” is not embeddable.`));return}try{const m=JSON.parse(c.responseText);if(m.domain_status_code===403){j(m,t),r(new Error(`“${i}” is not embeddable.`));return}n(m)}catch(m){r(m)}},c.onerror=function(){const m=c.status?` (${c.status})`:"";r(new Error(`There was an error fetching the embed code from Vimeo${m}.`))},c.send()})}function de(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;const 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;const r=H(n),o=B(r);Q(o,r,n).then(u=>j(u,n)).catch(t)}catch(r){t(r)}})}function fe(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(window.VimeoPlayerResizeEmbeds_)return;window.VimeoPlayerResizeEmbeds_=!0;const e=t=>{if(!k(t.origin)||!t.data||t.data.event!=="spacechange")return;const n=t.source?D(t.source,i):null;if(n){const r=n.parentElement;r.style.paddingBottom=`${t.data.data[0].bottom}px`}};window.addEventListener("message",e)}function he(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(window.VimeoSeoMetadataAppended)return;window.VimeoSeoMetadataAppended=!0;const e=t=>{if(!k(t.origin))return;const n=N(t.data);if(!n||n.event!=="ready")return;const r=t.source?D(t.source,i):null;r&&U(r.src)&&new Y(r).callMethod("appendVideoMetadata",window.location.href)};window.addEventListener("message",e)}function me(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(window.VimeoCheckedUrlTimeParam)return;
1window.VimeoCheckedUrlTimeParam=!0;const e=n=>{"console"in window&&console.error&&console.error(`There was an error getting video Id: ${n}`)},t=n=>{if(!k(n.origin))return;const r=N(n.data);if(!r||r.event!=="ready")return;const o=n.source?D(n.source,i):null;if(o&&U(o.src)){const u=new Y(o);u.getVideoId().then(c=>{const m=new RegExp(`[?&]vimeo_t_${c}=([^&#]*)`).exec(window.location.href);if(m&&m[1]){const f=decodeURI(m[1]);u.setCurrentTime(f)}}).catch(e)}};window.addEventListener("message",t)}function ge(){if(window.VimeoDRMEmbedsUpdated)return;window.VimeoDRMEmbedsUpdated=!0;const i=e=>{if(!k(e.origin))return;const t=N(e.data);if(!t||t.event!=="drminitfailed")return;const n=e.source?D(e.source):null;if(!n)return;const r=n.getAttribute("allow")||"";if(!r.includes("encrypted-media")){n.setAttribute("allow",`${r}; encrypted-media`);const u=new URL(n.getAttribute("src"));u.searchParams.set("forcereload","drm"),n.setAttribute("src",u.toString());return}};window.addEventListener("message",i)}function pe(){const i=(function(){let n;const 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"]];let o=0;const u=r.length,c={};for(;o<u;o++)if(n=r[o],n&&n[1]in document){for(o=0;o<n.length;o++)c[r[0][o]]=n[o];return c}return!1})(),e={fullscreenchange:i.fullscreenchange,fullscreenerror:i.fullscreenerror},t={request(n){return new Promise((r,o)=>{const u=function(){t.off("fullscreenchange",u),r()};t.on("fullscreenchange",u),n=n||document.documentElement;const c=n[i.requestFullscreen]();c instanceof Promise&&c.then(u).catch(o)})},exit(){return new Promise((n,r)=>{if(!t.isFullscreen){n();return}const o=function(){t.off("fullscreenchange",o),n()};t.on("fullscreenchange",o);const u=document[i.exitFullscreen]();u instanceof Promise&&u.then(o).catch(r)})},on(n,r){const o=e[n];o&&document.addEventListener(o,r)},off(n,r){const 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}const we={role:"viewer",autoPlayMuted:!0,allowedDrift:.3,maxAllowedDrift:1,minCheckInterval:.1,maxRateAdjustment:.2,maxTimeToCatchUp:1};class ye 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,{...we,...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);const r=W(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);const r=W(t,["seeked","play","pause","ratechange"],()=>this.updateTimingObject(e,t),"on","off");this.addEventListener("disconnect",()=>r.cancel())}}async updateTimingObject(e,t){const[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){const{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(c=>console.error("Couldn't play the video from TimingSrcConnector. Error:",c)))}),this.updatePlayer(e,t,n)),await t.getPlaybackRate()!==o&&t.setPlaybackRate(o)))}maintainPlaybackPosition(e,t,n){const{allowedDrift:r,maxAllowedDrift:o,minCheckInterval:u,maxRateAdjustment:c,maxTimeToCatchUp:m}=n,f=Math.min(m,Math.max(u,o))*1e3,g=async()=>
1{if(e.query().velocity===0||await t.getPaused()===!0)return;const b=e.query().position-await t.getCurrentTime(),A=Math.abs(b);if(this.log(`Drift: ${b}`),A>o)await this.adjustSpeed(t,0),t.setCurrentTime(e.query().position),this.log("Resync by currentTime");else if(A>r){const S=A/m,R=c,P=S<R?(R-S)/2:R;await this.adjustSpeed(t,P*Math.sign(b)),this.log("Resync by playbackRate")}},E=setInterval(()=>g(),f);return{cancel:()=>clearInterval(E)}}log(e){this.logger?.(`TimingSrcConnector: ${e}`)}speedAdjustment=0;adjustSpeed=async(e,t)=>{if(this.speedAdjustment===t)return;const 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=>{const r=()=>{e.readyState===t?n():e.addEventListener("readystatechange",r,{once:!0})};r()})}}const x=new WeakMap,V=new WeakMap;let y={};class Y{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)),!te(e))throw new TypeError("You must pass either a valid element or a valid id.");if(e.nodeName!=="IFRAME"){const r=e.querySelector("iframe");r&&(e=r)}if(e.nodeName==="IFRAME"&&!k(e.getAttribute("src")||""))throw new Error("The player element passed isn’t a Vimeo embed.");if(x.has(e))return x.get(e);this._window=e.ownerDocument.defaultView,this.element=e,this.origin="*";const 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);const c=N(u.data);if(c&&c.event==="error"&&c.data&&c.data.method==="ready"){const b=new Error(c.data.message);b.name=c.data.name,o(b);return}const g=c&&c.event==="ready",E=c&&c.method==="ping";if(g||E){this.element.setAttribute("data-ready","true"),r();return}ce(this,c)},this._window.addEventListener("message",this._onMessage),this.element.nodeName!=="IFRAME"){const u=H(e,t),c=B(u);Q(c,u,e).then(m=>{const f=j(m,e);return this.element=f,this._originalElement=e,ue(e,f),x.set(this.element,this),m}).catch(o)}});if(V.set(this,n),x.set(this.element,this),this.element.nodeName==="IFRAME"&&_(this,"ping"),y.isEnabled){const r=()=>y.exit();this.fullscreenchangeHandler=()=>{y.isFullscreen?I(this,"event:exitFullscreen",r):q(this,"event:exitFullscreen",r),this.ready().then(()=>{_(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(()=>{I(this,e,{resolve:o,reject:u}),n.length===0?n={}:n.length===1&&(n=n[0]),_(this,e,n)}).catch(u))}get(e){return new v((t,n)=>(e=L(e,"get"),this.ready().then(()=>{I(this,e,{resolve:t,reject:n}),_(this,e)}).catch(n)))}set(e,t){return new v((n,r)=>{if(e=L(e,"set"),t==null)throw new TypeError("There must be a value to set.");return this.ready().then(()=>{I(this,e,{resolve:n,reject:r}),_(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(()=>{}),I(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.");q(this,`event:${e}`,t)&&this.callMethod("removeEventListener",e).catch(r=>{})}loadVideo(e){return this.callMethod("loadVideo",e)}ready(){const e=V.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(V.delete(this),x.delete(this.element),this._originalElement&&(x.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");const 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.")));const 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();const n=new ye(this,e,t);return _(this,"notifyTimingObjectConnect"),n.addEventListener("disconnect",()=>_(this,"notifyTimingObjectDisconnect")),n}}z||(y=pe(),de(),fe(),he(),me(),ge());export{Y as default};

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.