mirror of
https://github.com/vega-org/vega-providers.git
synced 2026-04-17 23:51:44 +00:00
1 line
1.1 KiB
JavaScript
1 line
1.1 KiB
JavaScript
"use strict";var __defProp=Object.defineProperty,__getOwnPropDesc=Object.getOwnPropertyDescriptor,__getOwnPropNames=Object.getOwnPropertyNames,__hasOwnProp=Object.prototype.hasOwnProperty,__name=(e,t)=>__defProp(e,"name",{value:t,configurable:!0}),__export=(e,t)=>{for(var r in t)__defProp(e,r,{get:t[r],enumerable:!0})},__copyProps=(e,t,r,o)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let _ of __getOwnPropNames(t))__hasOwnProp.call(e,_)||_===r||__defProp(e,_,{get:()=>t[_],enumerable:!(o=__getOwnPropDesc(t,_))||o.enumerable});return e},__toCommonJS=e=>__copyProps(__defProp({},"__esModule",{value:!0}),e),__async=(e,t,r)=>new Promise((o,_)=>{var n=e=>{try{p(r.next(e))}catch(e){_(e)}},a=e=>{try{p(r.throw(e))}catch(e){_(e)}},p=e=>e.done?o(e.value):Promise.resolve(e.value).then(n,a);p((r=r.apply(e,t)).next())}),stream_exports={};__export(stream_exports,{getStream:()=>getStream});var getStream=__name(function(e){return __async(this,arguments,function*({link:e}){try{const t=[];return t.push({server:"vadapav",link:e,type:(null==e?void 0:e.split(".").pop())||"mkv"}),t}catch(e){return[]}})},"getStream");exports.getStream=getStream; |