aliyun-aliplayer 2.37.7 → 2.37.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/aliplayer-h5-min.js +2 -2
- package/build/aliplayer-min.js +2 -2
- package/build/aliplayer-worker-min.js +2 -2
- package/build/lang/zh-cn.js +1 -1
- package/build/license/0.7.0/655.index.js +1 -0
- package/build/license/0.7.0/6dd94bc72ead9b689496.wasm +0 -0
- package/build/license/0.7.0/index.js +1 -0
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! aliyun-aliplayer - v2.37.
|
|
2
|
-
!function(t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).Aliplayer=t()}(function(){return function r(o,i,s){function u(e,t){if(!i[e]){if(!o[e]){var n="function"==typeof require&&require;if(!t&&n)return n(e,!0);if(c)return c(e,!0);throw(t=new Error("Cannot find module '"+e+"'")).code="MODULE_NOT_FOUND",t}n=i[e]={exports:{}},o[e][0].call(n.exports,function(t){return u(o[e][1][t]||t)},n,n.exports,r,o,i,s)}return i[e].exports}for(var c="function"==typeof require&&require,t=0;t<s.length;t++)u(s[t]);return u}({1:[function(D,n,r){!function(Y,B){!function(){var t,e;t=this,e=function(){function c(t){return"function"==typeof t}var n=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},r=0,e=void 0,o=void 0,s=function(t,e){l[r]=t,l[r+1]=e,2===(r+=2)&&(o?o(h):U())};var t="undefined"!=typeof window?window:void 0,i=t||{},i=i.MutationObserver||i.WebKitMutationObserver,u="undefined"==typeof self&&void 0!==Y&&"[object process]"==={}.toString.call(Y),a="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function f(){var t=setTimeout;return function(){return t(h,1)}}var l=new Array(1e3);function h(){for(var t=0;t<r;t+=2)(0,l[t])(l[t+1]),l[t]=void 0,l[t+1]=void 0;r=0}function p(){try{var t=Function("return this")().require("vertx");return void 0!==(e=t.runOnLoop||t.runOnContext)?function(){e(h)}:f()}catch(t){return f()}}var d,v,y,U=void 0;function m(t,e){var n,r=this,o=new this.constructor(_),i=(void 0===o[g]&&M(o),r._state);return i?(n=arguments[i-1],s(function(){return P(i,o,n,r._result)})):S(r,o,t,e),o}function w(t){var e;return t&&"object"==typeof t&&t.constructor===this?t:(E(e=new this(_),t),e)}var U=u?function(){return Y.nextTick(h)}:i?(v=0,u=new i(h),y=document.createTextNode(""),u.observe(y,{characterData:!0}),function(){y.data=v=++v%2}):a?((d=new MessageChannel).port1.onmessage=h,function(){return d.port2.postMessage(0)}):(void 0===t&&"function"==typeof D?p:f)(),g=Math.random().toString(36).substring(2);function _(){}var b=void 0,T=1,O=2;function G(t,r,o){s(function(e){var n=!1,t=((t,e,n,r)=>{try{t.call(e,n,r)}catch(t){return t}})(o,r,function(t){n||(n=!0,(r!==t?E:x)(e,t))},function(t){n||(n=!0,A(e,t))},e._label);!n&&t&&(n=!0,A(e,t))},t)}function j(t,e,n){var r,o;e.constructor===t.constructor&&n===m&&e.constructor.resolve===w?(r=t,(o=e)._state===T?x(r,o._result):o._state===O?A(r,o._result):S(o,void 0,function(t){return E(r,t)},function(t){return A(r,t)})):void 0!==n&&c(n)?G(t,e,n):x(t,e)}function E(e,t){if(e===t)A(e,new TypeError("You cannot resolve a promise with itself"));else if(n=typeof t,null===t||"object"!=n&&"function"!=n)x(e,t);else{n=void 0;try{n=t.then}catch(t){return void A(e,t)}j(e,t,n)}var n}function N(t){t._onerror&&t._onerror(t._result),k(t)}function x(t,e){t._state===b&&(t._result=e,t._state=T,0!==t._subscribers.length)&&s(k,t)}function A(t,e){t._state===b&&(t._state=O,t._result=e,s(N,t))}function S(t,e,n,r){var o=t._subscribers,i=o.length;t._onerror=null,o[i]=e,o[i+T]=n,o[i+O]=r,0===i&&t._state&&s(k,t)}function k(t){var e=t._subscribers,n=t._state;if(0!==e.length){for(var r,o=void 0,i=t._result,s=0;s<e.length;s+=3)r=e[s],o=e[s+n],r?P(n,r,o,i):o(i);t._subscribers.length=0}}function P(t,e,n,r){var o=c(n),i=void 0,s=void 0,u=!0;if(o){try{i=n(r)}catch(t){u=!1,s=t}if(e===i)return void A(e,new TypeError("A promises callback cannot return that same promise."))}else i=r;e._state===b&&(o&&u?E(e,i):!1===u?A(e,s):t===T?x(e,i):t===O&&A(e,i))}var L=0;function M(t){t[g]=L++,t._state=void 0,t._result=void 0,t._subscribers=[]}C.prototype._enumerate=function(t){for(var e=0;this._state===b&&e<t.length;e++)this._eachEntry(t[e],e)},C.prototype._eachEntry=function(e,t){var n=this._instanceConstructor,r=n.resolve;if(r===w){var o,i=void 0,s=void 0,u=!1;try{i=e.then}catch(t){u=!0,s=t}i===m&&e._state!==b?this._settledAt(e._state,t,e._result):"function"!=typeof i?(this._remaining--,this._result[t]=e):n===q?(o=new n(_),u?A(o,s):j(o,e,i),this._willSettleAt(o,t)):this._willSettleAt(new n(function(t){return t(e)}),t)}else this._willSettleAt(r(e),t)},C.prototype._settledAt=function(t,e,n){var r=this.promise;r._state===b&&(this._remaining--,t===O?A(r,n):this._result[e]=n),0===this._remaining&&x(r,this._result)},C.prototype._willSettleAt=function(t,e){var n=this;S(t,void 0,function(t){return n._settledAt(T,e,t)},function(t){return n._settledAt(O,e,t)})};var W=C;function C(t,e){this._instanceConstructor=t,this.promise=new t(_),this.promise[g]||M(this.promise),n(e)?(this.length=e.length,this._remaining=e.length,this._result=new Array(this.length),0!==this.length&&(this.length=this.length||0,this._enumerate(e),0!==this._remaining)||x(this.promise,this._result)):A(this.promise,new Error("Array Methods must be provided an Array"))}F.prototype.catch=function(t){return this.then(null,t)},F.prototype.finally=function(e){var n=this.constructor;return c(e)?this.then(function(t){return n.resolve(e()).then(function(){return t})},function(t){return n.resolve(e()).then(function(){throw t})}):this.then(e,e)};var q=F;function F(t){if(this[g]=L++,this._result=this._state=void 0,this._subscribers=[],_!==t){if("function"!=typeof t)throw new TypeError("You must pass a resolver function as the first argument to the promise constructor");if(!(this instanceof F))throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");var e=this;try{t(function(t){E(e,t)},function(t){A(e,t)})}catch(t){A(e,t)}}}return q.prototype.then=m,q.all=function(t){return new W(this,t).promise},q.race=function(o){var i=this;return n(o)?new i(function(t,e){for(var n=o.length,r=0;r<n;r++)i.resolve(o[r]).then(t,e)}):new i(function(t,e){return e(new TypeError("You must pass an array to race."))})},q.resolve=w,q.reject=function(t){var e=new this(_);return A(e,t),e},q._setScheduler=function(t){o=t},q._setAsap=function(t){s=t},q._asap=s,q.polyfill=function(){var t=void 0;if(void 0!==B)t=B;else if("undefined"!=typeof self)t=self;else try{t=Function("return this")()}catch(t){throw new Error("polyfill failed because global object is unavailable in this environment")}var e=t.Promise;if(e){var n=null;try{n=Object.prototype.toString.call(e.resolve())}catch(t){}if("[object Promise]"===n&&!e.cast)return}t.Promise=q},q.Promise=q},"object"==typeof r&&void 0!==n?n.exports=e():t.ES6Promise=e()}.call(this)}.call(this,D("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{_process:2}],2:[function(t,e,n){var r,o,e=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}try{r="function"==typeof setTimeout?setTimeout:i}catch(t){r=i}try{o="function"==typeof clearTimeout?clearTimeout:s}catch(t){o=s}function u(e){if(r===setTimeout)return setTimeout(e,0);if((r===i||!r)&&setTimeout)return(r=setTimeout)(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}var c,a=[],f=!1,l=-1;function h(){f&&c&&(f=!1,c.length?a=c.concat(a):l=-1,a.length)&&p()}function p(){if(!f){for(var t=u(h),e=(f=!0,a.length);e;){for(c=a,a=[];++l<e;)c&&c[l].run();l=-1,e=a.length}c=null,f=!1,!function(e){if(o===clearTimeout)return clearTimeout(e);if((o===s||!o)&&clearTimeout)return(o=clearTimeout)(e);try{o(e)}catch(t){try{return o.call(null,e)}catch(t){return o.call(this,e)}}}(t)}}function d(t,e){this.fun=t,this.array=e}function v(){}e.nextTick=function(t){var e=new Array(arguments.length-1);if(1<arguments.length)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];a.push(new d(t,e)),1!==a.length||f||u(p)},d.prototype.run=function(){this.fun.apply(null,this.array)},e.title="browser",e.browser=!0,e.env={},e.argv=[],e.version="",e.versions={},e.on=v,e.addListener=v,e.once=v,e.off=v,e.removeListener=v,e.removeAllListeners=v,e.emit=v,e.prependListener=v,e.prependOnceListener=v,e.listeners=function(t){return[]},e.binding=function(t){throw new Error("process.binding is not supported")},e.cwd=function(){return"/"},e.chdir=function(t){throw new Error("process.chdir is not supported")},e.umask=function(){return 0}},{}],3:[function(t,e,n){function c(){var d,t="function"==typeof Symbol?Symbol:{},e=t.iterator||"@@iterator",n=t.toStringTag||"@@toStringTag";function r(t,e,n,r){var o,i,s,u,c,a,f,l,h,e=e&&e.prototype instanceof y?e:y,e=Object.create(e.prototype);return w(e,"_invoke",(o=t,i=n,f=r||[],l=!1,h={p:a=0,n:0,v:d,a:p,f:p.bind(d,4),d:function(t,e){return s=t,u=0,c=d,h.n=e,v}},function(t,e,n){if(1<a)throw TypeError("Generator is already running");for(l&&1===e&&p(e,n),u=e,c=n;(m=u<2?d:c)||!l;){s||(u?u<3?(1<u&&(h.n=-1),p(u,c)):h.n=c:h.v=c);try{if(a=2,s){if(m=s[t=u?t:"next"]){if(!(m=m.call(s,c)))throw TypeError("iterator result is not an object");if(!m.done)return m;c=m.value,u<2&&(u=0)}else 1===u&&(m=s.return)&&m.call(s),u<2&&(c=TypeError("The iterator does not provide a '"+t+"' method"),u=1);s=d}else if((m=(l=h.n<0)?c:o.call(i,h))!==v)break}catch(t){s=d,u=1,c=t}finally{a=1}}return{value:m,done:l}}),!0),e;function p(t,e){for(u=t,c=e,m=0;!l&&a&&!n&&m<f.length;m++){var n,r=f[m],o=h.p,i=r[2];3<t?(n=i===e)&&(c=r[(u=r[4])?5:u=3],r[4]=r[5]=d):r[0]<=o&&((n=t<2&&o<r[1])?(u=0,h.v=e,h.n=r[1]):o<i&&(n=t<3||r[0]>e||i<e)&&(r[4]=t,r[5]=e,h.n=i,u=0))}if(n||1<t)return v;throw l=!0,e}}var v={};function y(){}function o(){}function i(){}var m=Object.getPrototypeOf,t=[][e]?m(m([][e]())):(w(m={},e,function(){return this}),m),s=i.prototype=y.prototype=Object.create(t);function u(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,i):(t.__proto__=i,w(t,n,"GeneratorFunction")),t.prototype=Object.create(s),t}return w(s,"constructor",o.prototype=i),w(i,"constructor",o),w(i,n,o.displayName="GeneratorFunction"),w(s),w(s,n,"Generator"),w(s,e,function(){return this}),w(s,"toString",function(){return"[object Generator]"}),(c=function(){return{w:r,m:u}})()}function w(t,e,n,r){var i=Object.defineProperty;try{i({},"",{})}catch(t){i=0}(w=function(t,e,n,r){function o(e,n){w(t,e,function(t){return this._invoke(e,n,t)})}e?i?i(t,e,{value:n,enumerable:!r,configurable:!r,writable:!r}):t[e]=n:(o("next",0),o("throw",1),o("return",2))})(t,e,n,r)}function a(t,e,n,r,o,i,s){try{var u=t[i](s),c=u.value}catch(t){return n(t)}u.done?e(c):Promise.resolve(c).then(r,o)}function f(u){return function(){var t=this,s=arguments;return new Promise(function(e,n){var r=u.apply(t,s);function o(t){a(r,e,n,o,i,"next",t)}function i(t){a(r,e,n,o,i,"throw",t)}o(void 0)})}}var l="undefined"==typeof Promise?t("es6-promise").Promise:Promise,h="__aliplayerMessage__",s="setup",u="setupAck",p="dispose",d="encSegment",v="decSegment",y="abortSegment",r=0,m=1,g="fragment",_="playlist",o="other",i="unknown",b=null,T={},O={},j=r;function E(){b=null,Object.keys(T).forEach(function(t){T[t].controller.abort(),T[t].reject("Fetch aborted.")}),T={},O={},j=r}function x(t,e,n){var r="";try{r=/[0-9]+\.ts/.exec(e.url)[0]}catch(t){}console.log(("send"===n?"[SW -> Main]":"[Main -> SW]")+"["+t+"]",r,e)}self.addEventListener("install",function(t){self.skipWaiting()}),self.addEventListener("activate",(()=>{var e=f(c().m(function t(e){return c().w(function(t){for(;;)switch(t.n){case 0:e.waitUntil(clients.claim());case 1:return t.a(2)}},t)}));return function(t){return e.apply(this,arguments)}})()),self.addEventListener("fetch",function(t){if("navigate"===t.request.mode)E();else if(j!==r){var e,s=t.request.url,u=-1===(e=s).indexOf("_s=enc")?o:-1<e.indexOf(".ts")?g:-1<e.indexOf(".m3u8")?_:i;if(u!==o){if(u===i)return console.warn("Unknown request type",s);try{/[0-9]+\.ts/.exec(s)[0]}catch(t){}t.respondWith(f(c().m(function t(){return c().w(function(t){for(;;)if(0===t.n)return t.a(2,new l((()=>{var n=f(c().m(function t(n,e){var o,i;return c().w(function(t){for(;;)switch(t.n){case 0:t.n=1;var r=s;return new l((()=>{var e=f(c().m(function t(e){var n;return c().w(function(t){for(;;)switch(t.n){case 0:if(0<Object.keys(T).length&&!T[r])return b||console.error("no player client!"),t.n=1,clients.get(b);t.n=2;break;case 1:n=t.v,Object.keys(T).forEach((()=>{var e=f(c().m(function t(e){return c().w(function(t){for(;;)switch(t.n){case 0:T[e].controller.abort(),T[e].reject(),n.postMessage({scope:h,name:y,payload:{url:e}}),x(y,{url:e},"send");case 1:return t.a(2)}},t)}));return function(t){return e.apply(this,arguments)}})());case 2:e();case 3:return t.a(2)}},t)}));return function(t){return e.apply(this,arguments)}})());case 1:o=new AbortController,u===g&&(T[s]={resolve:n,reject:e,controller:o}),performance.now(),fetch(s.replace("_s=enc",""),{signal:o.signal}).then(function(t){if(i=new Headers(t.headers),T[s])T[s].headers=i;else if(-1<s.indexOf(".ts"))return void console.warn("fragment request is missed",s);if(200===t.status)return u===_?t.text():t.arrayBuffer();n(t)}).then(function(e){var t;e&&(u===_?(O[s]=e,t=((t,e)=>{var r;if(e=e.replace(/#EXT-X-KEY:.*\n?/g,""),t=t.match(/^(.*)\/[^\/]*$/))return r=t[1],e=e.replace(/(#EXTINF:[^\n]+\n)([^\n]+)/g,function(t,e,n){return""+e+r+"/"+n+(-1<n.indexOf("?")?"&":"?")+"_s=enc"});console.warn("no match base url found.")})(s,e),i.set("Content-Length",new Blob([t]).size),n(new Response(t,{status:200,headers:i}))):(b||console.error("no player client!"),clients.get(b).then(function(t){t.postMessage({scope:h,name:d,payload:{buffer:e,url:s,playlistUrl:(t=>{var e,n=(t=>{var e;try{e=/\/([^/?]+)(\?|$)/.exec(t)[1]}catch(t){}return e})(t);return n||console.warn("no fragUrlBase"),Object.keys(O).some(function(t){return-1<O[t].indexOf(n)&&(e=t,!0)}),e})(s)}},[e]),x(d,{url:s},"send")})))}).catch(function(t){console.log("fetch error from remote",t),e(t),delete T[s]});case 2:return t.a(2)}},t)}));return function(t,e){return n.apply(this,arguments)}})()))},t)}))())}}}),self.addEventListener("message",function(t){var e=t.data;if((i=e)&&i.scope===h){var n,r,o,i=e.name;switch(x(i,e.payload),i){case s:b=t.source.id,j=m,clients.get(b).then(function(t){t.postMessage({scope:h,name:u,payload:{version:"2.37.5"}})});break;case p:E();break;case v:e.payload&&(n=e.payload,r=T[n.url])&&(delete T[n.url],(o=r.headers).set("Content-Length",n.buffer.byteLength),r.resolve(new Response(n.buffer,{status:200,headers:o})),x(v,n,"send"))}}})},{"es6-promise":1}]},{},[3])(3)});
|
|
1
|
+
/*! aliyun-aliplayer - v2.37.8 - 2026-05-28 14.49.54 */
|
|
2
|
+
!function(t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).Aliplayer=t()}(function(){return function r(o,i,s){function u(e,t){if(!i[e]){if(!o[e]){var n="function"==typeof require&&require;if(!t&&n)return n(e,!0);if(c)return c(e,!0);throw(t=new Error("Cannot find module '"+e+"'")).code="MODULE_NOT_FOUND",t}n=i[e]={exports:{}},o[e][0].call(n.exports,function(t){return u(o[e][1][t]||t)},n,n.exports,r,o,i,s)}return i[e].exports}for(var c="function"==typeof require&&require,t=0;t<s.length;t++)u(s[t]);return u}({1:[function(D,n,r){!function(Y,B){!function(){var t,e;t=this,e=function(){function c(t){return"function"==typeof t}var n=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},r=0,e=void 0,o=void 0,s=function(t,e){l[r]=t,l[r+1]=e,2===(r+=2)&&(o?o(h):U())};var t="undefined"!=typeof window?window:void 0,i=t||{},i=i.MutationObserver||i.WebKitMutationObserver,u="undefined"==typeof self&&void 0!==Y&&"[object process]"==={}.toString.call(Y),a="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function f(){var t=setTimeout;return function(){return t(h,1)}}var l=new Array(1e3);function h(){for(var t=0;t<r;t+=2)(0,l[t])(l[t+1]),l[t]=void 0,l[t+1]=void 0;r=0}function p(){try{var t=Function("return this")().require("vertx");return void 0!==(e=t.runOnLoop||t.runOnContext)?function(){e(h)}:f()}catch(t){return f()}}var d,v,y,U=void 0;function m(t,e){var n,r=this,o=new this.constructor(_),i=(void 0===o[g]&&M(o),r._state);return i?(n=arguments[i-1],s(function(){return P(i,o,n,r._result)})):S(r,o,t,e),o}function w(t){var e;return t&&"object"==typeof t&&t.constructor===this?t:(E(e=new this(_),t),e)}var U=u?function(){return Y.nextTick(h)}:i?(v=0,u=new i(h),y=document.createTextNode(""),u.observe(y,{characterData:!0}),function(){y.data=v=++v%2}):a?((d=new MessageChannel).port1.onmessage=h,function(){return d.port2.postMessage(0)}):(void 0===t&&"function"==typeof D?p:f)(),g=Math.random().toString(36).substring(2);function _(){}var b=void 0,T=1,O=2;function G(t,r,o){s(function(e){var n=!1,t=((t,e,n,r)=>{try{t.call(e,n,r)}catch(t){return t}})(o,r,function(t){n||(n=!0,(r!==t?E:x)(e,t))},function(t){n||(n=!0,A(e,t))},e._label);!n&&t&&(n=!0,A(e,t))},t)}function j(t,e,n){var r,o;e.constructor===t.constructor&&n===m&&e.constructor.resolve===w?(r=t,(o=e)._state===T?x(r,o._result):o._state===O?A(r,o._result):S(o,void 0,function(t){return E(r,t)},function(t){return A(r,t)})):void 0!==n&&c(n)?G(t,e,n):x(t,e)}function E(e,t){if(e===t)A(e,new TypeError("You cannot resolve a promise with itself"));else if(n=typeof t,null===t||"object"!=n&&"function"!=n)x(e,t);else{n=void 0;try{n=t.then}catch(t){return void A(e,t)}j(e,t,n)}var n}function N(t){t._onerror&&t._onerror(t._result),k(t)}function x(t,e){t._state===b&&(t._result=e,t._state=T,0!==t._subscribers.length)&&s(k,t)}function A(t,e){t._state===b&&(t._state=O,t._result=e,s(N,t))}function S(t,e,n,r){var o=t._subscribers,i=o.length;t._onerror=null,o[i]=e,o[i+T]=n,o[i+O]=r,0===i&&t._state&&s(k,t)}function k(t){var e=t._subscribers,n=t._state;if(0!==e.length){for(var r,o=void 0,i=t._result,s=0;s<e.length;s+=3)r=e[s],o=e[s+n],r?P(n,r,o,i):o(i);t._subscribers.length=0}}function P(t,e,n,r){var o=c(n),i=void 0,s=void 0,u=!0;if(o){try{i=n(r)}catch(t){u=!1,s=t}if(e===i)return void A(e,new TypeError("A promises callback cannot return that same promise."))}else i=r;e._state===b&&(o&&u?E(e,i):!1===u?A(e,s):t===T?x(e,i):t===O&&A(e,i))}var L=0;function M(t){t[g]=L++,t._state=void 0,t._result=void 0,t._subscribers=[]}C.prototype._enumerate=function(t){for(var e=0;this._state===b&&e<t.length;e++)this._eachEntry(t[e],e)},C.prototype._eachEntry=function(e,t){var n=this._instanceConstructor,r=n.resolve;if(r===w){var o,i=void 0,s=void 0,u=!1;try{i=e.then}catch(t){u=!0,s=t}i===m&&e._state!==b?this._settledAt(e._state,t,e._result):"function"!=typeof i?(this._remaining--,this._result[t]=e):n===q?(o=new n(_),u?A(o,s):j(o,e,i),this._willSettleAt(o,t)):this._willSettleAt(new n(function(t){return t(e)}),t)}else this._willSettleAt(r(e),t)},C.prototype._settledAt=function(t,e,n){var r=this.promise;r._state===b&&(this._remaining--,t===O?A(r,n):this._result[e]=n),0===this._remaining&&x(r,this._result)},C.prototype._willSettleAt=function(t,e){var n=this;S(t,void 0,function(t){return n._settledAt(T,e,t)},function(t){return n._settledAt(O,e,t)})};var W=C;function C(t,e){this._instanceConstructor=t,this.promise=new t(_),this.promise[g]||M(this.promise),n(e)?(this.length=e.length,this._remaining=e.length,this._result=new Array(this.length),0!==this.length&&(this.length=this.length||0,this._enumerate(e),0!==this._remaining)||x(this.promise,this._result)):A(this.promise,new Error("Array Methods must be provided an Array"))}F.prototype.catch=function(t){return this.then(null,t)},F.prototype.finally=function(e){var n=this.constructor;return c(e)?this.then(function(t){return n.resolve(e()).then(function(){return t})},function(t){return n.resolve(e()).then(function(){throw t})}):this.then(e,e)};var q=F;function F(t){if(this[g]=L++,this._result=this._state=void 0,this._subscribers=[],_!==t){if("function"!=typeof t)throw new TypeError("You must pass a resolver function as the first argument to the promise constructor");if(!(this instanceof F))throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");var e=this;try{t(function(t){E(e,t)},function(t){A(e,t)})}catch(t){A(e,t)}}}return q.prototype.then=m,q.all=function(t){return new W(this,t).promise},q.race=function(o){var i=this;return n(o)?new i(function(t,e){for(var n=o.length,r=0;r<n;r++)i.resolve(o[r]).then(t,e)}):new i(function(t,e){return e(new TypeError("You must pass an array to race."))})},q.resolve=w,q.reject=function(t){var e=new this(_);return A(e,t),e},q._setScheduler=function(t){o=t},q._setAsap=function(t){s=t},q._asap=s,q.polyfill=function(){var t=void 0;if(void 0!==B)t=B;else if("undefined"!=typeof self)t=self;else try{t=Function("return this")()}catch(t){throw new Error("polyfill failed because global object is unavailable in this environment")}var e=t.Promise;if(e){var n=null;try{n=Object.prototype.toString.call(e.resolve())}catch(t){}if("[object Promise]"===n&&!e.cast)return}t.Promise=q},q.Promise=q},"object"==typeof r&&void 0!==n?n.exports=e():t.ES6Promise=e()}.call(this)}.call(this,D("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{_process:2}],2:[function(t,e,n){var r,o,e=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}try{r="function"==typeof setTimeout?setTimeout:i}catch(t){r=i}try{o="function"==typeof clearTimeout?clearTimeout:s}catch(t){o=s}function u(e){if(r===setTimeout)return setTimeout(e,0);if((r===i||!r)&&setTimeout)return(r=setTimeout)(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}var c,a=[],f=!1,l=-1;function h(){f&&c&&(f=!1,c.length?a=c.concat(a):l=-1,a.length)&&p()}function p(){if(!f){for(var t=u(h),e=(f=!0,a.length);e;){for(c=a,a=[];++l<e;)c&&c[l].run();l=-1,e=a.length}c=null,f=!1,!function(e){if(o===clearTimeout)return clearTimeout(e);if((o===s||!o)&&clearTimeout)return(o=clearTimeout)(e);try{o(e)}catch(t){try{return o.call(null,e)}catch(t){return o.call(this,e)}}}(t)}}function d(t,e){this.fun=t,this.array=e}function v(){}e.nextTick=function(t){var e=new Array(arguments.length-1);if(1<arguments.length)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];a.push(new d(t,e)),1!==a.length||f||u(p)},d.prototype.run=function(){this.fun.apply(null,this.array)},e.title="browser",e.browser=!0,e.env={},e.argv=[],e.version="",e.versions={},e.on=v,e.addListener=v,e.once=v,e.off=v,e.removeListener=v,e.removeAllListeners=v,e.emit=v,e.prependListener=v,e.prependOnceListener=v,e.listeners=function(t){return[]},e.binding=function(t){throw new Error("process.binding is not supported")},e.cwd=function(){return"/"},e.chdir=function(t){throw new Error("process.chdir is not supported")},e.umask=function(){return 0}},{}],3:[function(t,e,n){function c(){var d,t="function"==typeof Symbol?Symbol:{},e=t.iterator||"@@iterator",n=t.toStringTag||"@@toStringTag";function r(t,e,n,r){var o,i,s,u,c,a,f,l,h,e=e&&e.prototype instanceof y?e:y,e=Object.create(e.prototype);return w(e,"_invoke",(o=t,i=n,f=r||[],l=!1,h={p:a=0,n:0,v:d,a:p,f:p.bind(d,4),d:function(t,e){return s=t,u=0,c=d,h.n=e,v}},function(t,e,n){if(1<a)throw TypeError("Generator is already running");for(l&&1===e&&p(e,n),u=e,c=n;(m=u<2?d:c)||!l;){s||(u?u<3?(1<u&&(h.n=-1),p(u,c)):h.n=c:h.v=c);try{if(a=2,s){if(m=s[t=u?t:"next"]){if(!(m=m.call(s,c)))throw TypeError("iterator result is not an object");if(!m.done)return m;c=m.value,u<2&&(u=0)}else 1===u&&(m=s.return)&&m.call(s),u<2&&(c=TypeError("The iterator does not provide a '"+t+"' method"),u=1);s=d}else if((m=(l=h.n<0)?c:o.call(i,h))!==v)break}catch(t){s=d,u=1,c=t}finally{a=1}}return{value:m,done:l}}),!0),e;function p(t,e){for(u=t,c=e,m=0;!l&&a&&!n&&m<f.length;m++){var n,r=f[m],o=h.p,i=r[2];3<t?(n=i===e)&&(c=r[(u=r[4])?5:u=3],r[4]=r[5]=d):r[0]<=o&&((n=t<2&&o<r[1])?(u=0,h.v=e,h.n=r[1]):o<i&&(n=t<3||r[0]>e||i<e)&&(r[4]=t,r[5]=e,h.n=i,u=0))}if(n||1<t)return v;throw l=!0,e}}var v={};function y(){}function o(){}function i(){}var m=Object.getPrototypeOf,t=[][e]?m(m([][e]())):(w(m={},e,function(){return this}),m),s=i.prototype=y.prototype=Object.create(t);function u(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,i):(t.__proto__=i,w(t,n,"GeneratorFunction")),t.prototype=Object.create(s),t}return w(s,"constructor",o.prototype=i),w(i,"constructor",o),w(i,n,o.displayName="GeneratorFunction"),w(s),w(s,n,"Generator"),w(s,e,function(){return this}),w(s,"toString",function(){return"[object Generator]"}),(c=function(){return{w:r,m:u}})()}function w(t,e,n,r){var i=Object.defineProperty;try{i({},"",{})}catch(t){i=0}(w=function(t,e,n,r){function o(e,n){w(t,e,function(t){return this._invoke(e,n,t)})}e?i?i(t,e,{value:n,enumerable:!r,configurable:!r,writable:!r}):t[e]=n:(o("next",0),o("throw",1),o("return",2))})(t,e,n,r)}function a(t,e,n,r,o,i,s){try{var u=t[i](s),c=u.value}catch(t){return n(t)}u.done?e(c):Promise.resolve(c).then(r,o)}function f(u){return function(){var t=this,s=arguments;return new Promise(function(e,n){var r=u.apply(t,s);function o(t){a(r,e,n,o,i,"next",t)}function i(t){a(r,e,n,o,i,"throw",t)}o(void 0)})}}var l="undefined"==typeof Promise?t("es6-promise").Promise:Promise,h="__aliplayerMessage__",s="setup",u="setupAck",p="dispose",d="encSegment",v="decSegment",y="abortSegment",r=0,m=1,g="fragment",_="playlist",o="other",i="unknown",b=null,T={},O={},j=r;function E(){b=null,Object.keys(T).forEach(function(t){T[t].controller.abort(),T[t].reject("Fetch aborted.")}),T={},O={},j=r}function x(t,e,n){var r="";try{r=/[0-9]+\.ts/.exec(e.url)[0]}catch(t){}console.log(("send"===n?"[SW -> Main]":"[Main -> SW]")+"["+t+"]",r,e)}self.addEventListener("install",function(t){self.skipWaiting()}),self.addEventListener("activate",(()=>{var e=f(c().m(function t(e){return c().w(function(t){for(;;)switch(t.n){case 0:e.waitUntil(clients.claim());case 1:return t.a(2)}},t)}));return function(t){return e.apply(this,arguments)}})()),self.addEventListener("fetch",function(t){if("navigate"===t.request.mode)E();else if(j!==r){var e,s=t.request.url,u=-1===(e=s).indexOf("_s=enc")?o:-1<e.indexOf(".ts")?g:-1<e.indexOf(".m3u8")?_:i;if(u!==o){if(u===i)return console.warn("Unknown request type",s);try{/[0-9]+\.ts/.exec(s)[0]}catch(t){}t.respondWith(f(c().m(function t(){return c().w(function(t){for(;;)if(0===t.n)return t.a(2,new l((()=>{var n=f(c().m(function t(n,e){var o,i;return c().w(function(t){for(;;)switch(t.n){case 0:t.n=1;var r=s;return new l((()=>{var e=f(c().m(function t(e){var n;return c().w(function(t){for(;;)switch(t.n){case 0:if(0<Object.keys(T).length&&!T[r])return b||console.error("no player client!"),t.n=1,clients.get(b);t.n=2;break;case 1:n=t.v,Object.keys(T).forEach((()=>{var e=f(c().m(function t(e){return c().w(function(t){for(;;)switch(t.n){case 0:T[e].controller.abort(),T[e].reject(),n.postMessage({scope:h,name:y,payload:{url:e}}),x(y,{url:e},"send");case 1:return t.a(2)}},t)}));return function(t){return e.apply(this,arguments)}})());case 2:e();case 3:return t.a(2)}},t)}));return function(t){return e.apply(this,arguments)}})());case 1:o=new AbortController,u===g&&(T[s]={resolve:n,reject:e,controller:o}),performance.now(),fetch(s.replace("_s=enc",""),{signal:o.signal}).then(function(t){if(i=new Headers(t.headers),T[s])T[s].headers=i;else if(-1<s.indexOf(".ts"))return void console.warn("fragment request is missed",s);if(200===t.status)return u===_?t.text():t.arrayBuffer();n(t)}).then(function(e){var t;e&&(u===_?(O[s]=e,t=((t,e)=>{var r;if(e=e.replace(/#EXT-X-KEY:.*\n?/g,""),t=t.match(/^(.*)\/[^\/]*$/))return r=t[1],e=e.replace(/(#EXTINF:[^\n]+\n)([^\n]+)/g,function(t,e,n){return""+e+r+"/"+n+(-1<n.indexOf("?")?"&":"?")+"_s=enc"});console.warn("no match base url found.")})(s,e),i.set("Content-Length",new Blob([t]).size),n(new Response(t,{status:200,headers:i}))):(b||console.error("no player client!"),clients.get(b).then(function(t){t.postMessage({scope:h,name:d,payload:{buffer:e,url:s,playlistUrl:(t=>{var e,n=(t=>{var e;try{e=/\/([^/?]+)(\?|$)/.exec(t)[1]}catch(t){}return e})(t);return n||console.warn("no fragUrlBase"),Object.keys(O).some(function(t){return-1<O[t].indexOf(n)&&(e=t,!0)}),e})(s)}},[e]),x(d,{url:s},"send")})))}).catch(function(t){console.log("fetch error from remote",t),e(t),delete T[s]});case 2:return t.a(2)}},t)}));return function(t,e){return n.apply(this,arguments)}})()))},t)}))())}}}),self.addEventListener("message",function(t){var e=t.data;if((i=e)&&i.scope===h){var n,r,o,i=e.name;switch(x(i,e.payload),i){case s:b=t.source.id,j=m,clients.get(b).then(function(t){t.postMessage({scope:h,name:u,payload:{version:"2.37.8"}})});break;case p:E();break;case v:e.payload&&(n=e.payload,r=T[n.url])&&(delete T[n.url],(o=r.headers).set("Content-Length",n.buffer.byteLength),r.resolve(new Response(n.buffer,{status:200,headers:o})),x(v,n,"send"))}}})},{"es6-promise":1}]},{},[3])(3)});
|
package/build/lang/zh-cn.js
CHANGED
|
@@ -43,7 +43,7 @@ module.exports = {
|
|
|
43
43
|
"Error_H5_Not_Support_Text":"不支持此格式的视频",
|
|
44
44
|
"Error_Not_Support_M3U8_Text":"浏览器不支持m3u8视频播放",
|
|
45
45
|
"Error_Not_Support_MP4_Text":"浏览器不支持mp4视频播放",
|
|
46
|
-
"Error_Not_Support_encrypt_Text": "
|
|
46
|
+
"Error_Not_Support_encrypt_Text": "播放标准加密/私有加密视频,请设置属性encryptType为1",
|
|
47
47
|
"Error_Encrypt_Fetch_Failed_Text": "请求加密地址失败",
|
|
48
48
|
"Error_Vod_URL_Is_Empty_Text":"获取播放地址为空",
|
|
49
49
|
"Error_Vod_Fetch_Urls_Text":"点播接口异常,请尝试退出重试或刷新",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkpost_build=self.webpackChunkpost_build||[]).push([[655],{730(n,e,t){n.exports=t.p+"6dd94bc72ead9b689496.wasm"},655(n,e,t){t.a(n,async(n,_)=>{try{t.d(e,{License:()=>r.License});var r=t(241);const i=new URL(t(730),t.b),o={"./index_bg.js":r};async function c(){const n=await fetch(i);if(!n.ok)throw new Error(`[license-sdk] failed to fetch wasm: ${n.status} ${n.statusText}`);if("function"==typeof WebAssembly.instantiateStreaming)try{return await WebAssembly.instantiateStreaming(n,o)}catch(n){}const e=await fetch(i).then(n=>n.arrayBuffer());return await WebAssembly.instantiate(e,o)}const{instance:u}=await c();(0,r.__wbg_set_wasm)(u.exports),u.exports.__wbindgen_start(),_()}catch(a){_(a)}},1)},241(n,e,t){let _;function r(n){_=n}function i(n){const e=_.__externref_table_alloc();return _.__wbindgen_export_2.set(e,n),e}function o(n,e){try{return n.apply(this,e)}catch(n){const e=i(n);_.__wbindgen_exn_store(e)}}function c(n){return null==n}t.r(e),t.d(e,{License:()=>x,__wbg_buffer_609cc3eee51ed158:()=>A,__wbg_call_672a4d21634d4a24:()=>R,__wbg_call_7cccdd69e0791ae2:()=>S,__wbg_clearTimeout_b2651b7485c58446:()=>k,__wbg_crypto_574e78ad8b13b65f:()=>q,__wbg_document_d249400bd7bd996d:()=>T,__wbg_fetch_b7bf320f681242d2:()=>F,__wbg_getItem_17f98dee3b43fa7e:()=>L,__wbg_getRandomValues_38097e921c2494c3:()=>j,__wbg_getRandomValues_b8f5dbd5f3995a9e:()=>O,__wbg_getwithrefkey_1dc361bd10053bfe:()=>$,__wbg_headers_7852a8ea641c1379:()=>B,__wbg_host_9bd7b5dc07c48606:()=>E,__wbg_href_87d60a783a012377:()=>U,__wbg_instanceof_ArrayBuffer_e14585432e3737fc:()=>W,__wbg_instanceof_Response_f2cc20d9f7dfd644:()=>D,__wbg_instanceof_Uint8Array_17156bcf118086a9:()=>M,__wbg_instanceof_Window_def73ea0955fc569:()=>C,__wbg_isSafeInteger_343e2beeeece1bb0:()=>V,__wbg_length_a446193dc22c12f8:()=>z,__wbg_license_new:()=>H,__wbg_localStorage_1406c99c39728187:()=>N,__wbg_location_350d99456c2f3693:()=>G,__wbg_msCrypto_a61aeb35a24c1329:()=>P,__wbg_navigator_1577371c070c8947:()=>J,__wbg_new_23a2665fac83c611:()=>X,__wbg_new_405e22f390576ce2:()=>K,__wbg_new_86231e225ca6b962:()=>Q,__wbg_new_a12002a7f91c75be:()=>Y,__wbg_newnoargs_105ed471475aaf50:()=>Z,__wbg_newwithbyteoffsetandlength_d97e637ebe145a9a:()=>nn,__wbg_newwithlength_a381634e90c276d4:()=>en,__wbg_newwithstrandinit_06c535e0a867c635:()=>tn,__wbg_node_905d3e251edff8a2:()=>_n,__wbg_now_807e54c39636c349:()=>rn,__wbg_open_13a598ea50d82926:()=>on,__wbg_process_dc0fbacc7c1c06f7:()=>cn,__wbg_queueMicrotask_97d92b4fcc8a61c5:()=>un,__wbg_queueMicrotask_d3219def82552485:()=>an,__wbg_randomFillSync_ac0988aba3254290:()=>sn,__wbg_removeItem_9d2669ee3bba6f7d:()=>fn,__wbg_require_60cc747a6bc5215a:()=>bn,__wbg_resolve_4851785c9c5f573d:()=>dn,__wbg_sendBeacon_a98a679269b5461a:()=>gn,__wbg_send_dfdb375d4404a997:()=>ln,__wbg_setItem_212ecc915942ab0a:()=>wn,__wbg_setRequestHeader_51d371ad5196f6ef:()=>yn,__wbg_set_11cd83f45504cedf:()=>hn,__wbg_set_65595bdd868b3009:()=>mn,__wbg_set_wasm:()=>r,__wbg_setbody_5923b78a95eedf29:()=>pn,__wbg_setmethod_3c5280fe5d890842:()=>vn,__wbg_setmode_5dc300b865044b65:()=>In,__wbg_static_accessor_GLOBAL_88a902d13a557d07:()=>xn,__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0:()=>An,__wbg_static_accessor_SELF_37c5d418e4bf5819:()=>Rn,__wbg_static_accessor_WINDOW_5de37043a91a9c40:()=>Sn,__wbg_subarray_aa9065fa9dc5df96:()=>kn,__wbg_text_7805bea50de2af49:()=>qn,__wbg_then_44b73946d2fb3e7d:()=>Tn,__wbg_then_48b406749878a531:()=>Fn,__wbg_title_09f6e06f98d0b686:()=>Ln,__wbg_versions_c01dfd4722a88165:()=>jn,__wbindgen_as_number:()=>On,__wbindgen_boolean_get:()=>$n,__wbindgen_cb_drop:()=>Bn,__wbindgen_closure_wrapper362:()=>En,__wbindgen_debug_string:()=>Un,__wbindgen_error_new:()=>Wn,__wbindgen_in:()=>Dn,__wbindgen_init_externref_table:()=>Mn,__wbindgen_is_function:()=>Cn,__wbindgen_is_object:()=>Vn,__wbindgen_is_string:()=>zn,__wbindgen_is_undefined:()=>Hn,__wbindgen_jsval_loose_eq:()=>Nn,__wbindgen_memory:()=>Gn,__wbindgen_number_get:()=>Pn,__wbindgen_string_get:()=>Jn,__wbindgen_string_new:()=>Xn,__wbindgen_throw:()=>Kn});let u=new("undefined"==typeof TextDecoder?(0,module.require)("util").TextDecoder:TextDecoder)("utf-8",{ignoreBOM:!0,fatal:!0});u.decode();let a=null;function s(){return null!==a&&0!==a.byteLength||(a=new Uint8Array(_.memory.buffer)),a}function f(n,e){return n>>>=0,u.decode(s().subarray(n,n+e))}let b=0,d=new("undefined"==typeof TextEncoder?(0,module.require)("util").TextEncoder:TextEncoder)("utf-8");const g="function"==typeof d.encodeInto?function(n,e){return d.encodeInto(n,e)}:function(n,e){const t=d.encode(n);return e.set(t),{read:n.length,written:t.length}};function l(n,e,t){if(void 0===t){const t=d.encode(n),_=e(t.length,1)>>>0;return s().subarray(_,_+t.length).set(t),b=t.length,_}let _=n.length,r=e(_,1)>>>0;const i=s();let o=0;for(;o<_;o++){const e=n.charCodeAt(o);if(e>127)break;i[r+o]=e}if(o!==_){0!==o&&(n=n.slice(o)),r=t(r,_,_=o+3*n.length,1)>>>0;const e=s().subarray(r+o,r+_);o+=g(n,e).written,r=t(r,_,o,1)>>>0}return b=o,r}let w=null;function y(){return(null===w||!0===w.buffer.detached||void 0===w.buffer.detached&&w.buffer!==_.memory.buffer)&&(w=new DataView(_.memory.buffer)),w}const h="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>{_.__wbindgen_export_5.get(n.dtor)(n.a,n.b)});function m(n){const e=typeof n;if("number"==e||"boolean"==e||null==n)return`${n}`;if("string"==e)return`"${n}"`;if("symbol"==e){const e=n.description;return null==e?"Symbol":`Symbol(${e})`}if("function"==e){const e=n.name;return"string"==typeof e&&e.length>0?`Function(${e})`:"Function"}if(Array.isArray(n)){const e=n.length;let t="[";e>0&&(t+=m(n[0]));for(let _=1;_<e;_++)t+=", "+m(n[_]);return t+="]",t}const t=/\[object ([^\]]+)\]/.exec(toString.call(n));let _;if(!(t&&t.length>1))return toString.call(n);if(_=t[1],"Object"==_)try{return"Object("+JSON.stringify(n)+")"}catch(n){return"Object"}return n instanceof Error?`${n.name}: ${n.message}\n${n.stack}`:_}function p(n,e,t){_.closure78_externref_shim(n,e,t)}const v=["same-origin","no-cors","cors","navigate"],I="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>_.__wbg_license_free(n>>>0,1));class x{static __wrap(n){n>>>=0;const e=Object.create(x.prototype);return e.__wbg_ptr=n,I.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const n=this.__wbg_ptr;return this.__wbg_ptr=0,I.unregister(this),n}free(){const n=this.__destroy_into_raw();_.__wbg_license_free(n,0)}get appId(){let n,e;try{const t=_.license_get_app_id(this.__wbg_ptr);return n=t[0],e=t[1],f(t[0],t[1])}finally{_.__wbindgen_free(n,e,1)}}static get version(){let n,e;try{const t=_.license_get_version();return n=t[0],e=t[1],f(t[0],t[1])}finally{_.__wbindgen_free(n,e,1)}}constructor(n){const e=_.license_new(n);return this.__wbg_ptr=e>>>0,I.register(this,this.__wbg_ptr,this),this}static init(n,e,t){const r=l(e,_.__wbindgen_malloc,_.__wbindgen_realloc),i=b,o=l(t,_.__wbindgen_malloc,_.__wbindgen_realloc),c=b;return _.license_init(n,r,i,o,c)}update(){return _.license_update(this.__wbg_ptr)}get pvid(){let n,e;try{const t=_.license_get_pvid(this.__wbg_ptr);return n=t[0],e=t[1],f(t[0],t[1])}finally{_.__wbindgen_free(n,e,1)}}validate(n,e){return _.license_validate(this.__wbg_ptr,n,c(e)?16777215:e)}}function A(n){return n.buffer}function R(){return o(function(n,e){return n.call(e)},arguments)}function S(){return o(function(n,e,t){return n.call(e,t)},arguments)}function k(n,e){n.clearTimeout(e)}function q(n){return n.crypto}function T(n){const e=n.document;return c(e)?0:i(e)}function F(n,e){return n.fetch(e)}function L(){return o(function(n,e,t,r){const i=e.getItem(f(t,r));var o=c(i)?0:l(i,_.__wbindgen_malloc,_.__wbindgen_realloc),u=b;y().setInt32(n+4,u,!0),y().setInt32(n+0,o,!0)},arguments)}function j(){return o(function(n,e){var t,_;globalThis.crypto.getRandomValues((t=n,_=e,t>>>=0,s().subarray(t/1,t/1+_)))},arguments)}function O(){return o(function(n,e){n.getRandomValues(e)},arguments)}function $(n,e){return n[e]}function B(n){return n.headers}function E(){return o(function(n,e){const t=l(e.host,_.__wbindgen_malloc,_.__wbindgen_realloc),r=b;y().setInt32(n+4,r,!0),y().setInt32(n+0,t,!0)},arguments)}function U(){return o(function(n,e){const t=l(e.href,_.__wbindgen_malloc,_.__wbindgen_realloc),r=b;y().setInt32(n+4,r,!0),y().setInt32(n+0,t,!0)},arguments)}function W(n){let e;try{e=n instanceof ArrayBuffer}catch(n){e=!1}return e}function D(n){let e;try{e=n instanceof Response}catch(n){e=!1}return e}function M(n){let e;try{e=n instanceof Uint8Array}catch(n){e=!1}return e}function C(n){let e;try{e=n instanceof Window}catch(n){e=!1}return e}function V(n){return Number.isSafeInteger(n)}function z(n){return n.length}function H(n){return x.__wrap(n)}function N(){return o(function(n){const e=n.localStorage;return c(e)?0:i(e)},arguments)}function G(n){return n.location}function P(n){return n.msCrypto}function J(n){return n.navigator}function X(n,e){try{var t={a:n,b:e};const r=new Promise((n,e)=>{const r=t.a;t.a=0;try{return function(n,e,t,r){_.closure142_externref_shim(n,e,t,r)}(r,t.b,n,e)}finally{t.a=r}});return r}finally{t.a=t.b=0}}function K(){return new Object}function Q(){return o(function(){return new XMLHttpRequest},arguments)}function Y(n){return new Uint8Array(n)}function Z(n,e){return new Function(f(n,e))}function nn(n,e,t){return new Uint8Array(n,e>>>0,t>>>0)}function en(n){return new Uint8Array(n>>>0)}function tn(){return o(function(n,e,t){return new Request(f(n,e),t)},arguments)}function _n(n){return n.node}function rn(){return Date.now()}function on(){return o(function(n,e,t,_,r,i){n.open(f(e,t),f(_,r),0!==i)},arguments)}function cn(n){return n.process}function un(n){queueMicrotask(n)}function an(n){return n.queueMicrotask}function sn(){return o(function(n,e){n.randomFillSync(e)},arguments)}function fn(){return o(function(n,e,t){n.removeItem(f(e,t))},arguments)}function bn(){return o(function(){return module.require},arguments)}function dn(n){return Promise.resolve(n)}function gn(){return o(function(n,e,t,_,r){return n.sendBeacon(f(e,t),0===_?void 0:f(_,r))},arguments)}function ln(){return o(function(n,e,t){n.send(0===e?void 0:f(e,t))},arguments)}function wn(){return o(function(n,e,t,_,r){n.setItem(f(e,t),f(_,r))},arguments)}function yn(){return o(function(n,e,t,_,r){n.setRequestHeader(f(e,t),f(_,r))},arguments)}function hn(){return o(function(n,e,t,_,r){n.set(f(e,t),f(_,r))},arguments)}function mn(n,e,t){n.set(e,t>>>0)}function pn(n,e){n.body=e}function vn(n,e,t){n.method=f(e,t)}function In(n,e){n.mode=v[e]}function xn(){const n=void 0===t.g?null:t.g;return c(n)?0:i(n)}function An(){const n="undefined"==typeof globalThis?null:globalThis;return c(n)?0:i(n)}function Rn(){const n="undefined"==typeof self?null:self;return c(n)?0:i(n)}function Sn(){const n="undefined"==typeof window?null:window;return c(n)?0:i(n)}function kn(n,e,t){return n.subarray(e>>>0,t>>>0)}function qn(){return o(function(n){return n.text()},arguments)}function Tn(n,e){return n.then(e)}function Fn(n,e,t){return n.then(e,t)}function Ln(n,e){const t=l(e.title,_.__wbindgen_malloc,_.__wbindgen_realloc),r=b;y().setInt32(n+4,r,!0),y().setInt32(n+0,t,!0)}function jn(n){return n.versions}function On(n){return+n}function $n(n){return"boolean"==typeof n?n?1:0:2}function Bn(n){const e=n.original;return 1==e.cnt--&&(e.a=0,!0)}function En(n,e,t){const r=function(n,e,t,r){const i={a:n,b:e,cnt:1,dtor:79},o=(...n)=>{i.cnt++;const e=i.a;i.a=0;try{return r(e,i.b,...n)}finally{0===--i.cnt?(_.__wbindgen_export_5.get(i.dtor)(e,i.b),h.unregister(i)):i.a=e}};return o.original=i,h.register(o,i,i),o}(n,e,0,p);return r}function Un(n,e){const t=l(m(e),_.__wbindgen_malloc,_.__wbindgen_realloc),r=b;y().setInt32(n+4,r,!0),y().setInt32(n+0,t,!0)}function Wn(n,e){return new Error(f(n,e))}function Dn(n,e){return n in e}function Mn(){const n=_.__wbindgen_export_2,e=n.grow(4);n.set(0,void 0),n.set(e+0,void 0),n.set(e+1,null),n.set(e+2,!0),n.set(e+3,!1)}function Cn(n){return"function"==typeof n}function Vn(n){return"object"==typeof n&&null!==n}function zn(n){return"string"==typeof n}function Hn(n){return void 0===n}function Nn(n,e){return n==e}function Gn(){return _.memory}function Pn(n,e){const t="number"==typeof e?e:void 0;y().setFloat64(n+8,c(t)?0:t,!0),y().setInt32(n+0,!c(t),!0)}function Jn(n,e){const t="string"==typeof e?e:void 0;var r=c(t)?0:l(t,_.__wbindgen_malloc,_.__wbindgen_realloc),i=b;y().setInt32(n+4,i,!0),y().setInt32(n+0,r,!0)}function Xn(n,e){return f(n,e)}function Kn(n,e){throw new Error(f(n,e))}}}]);
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(()=>{var e,r,t,o,n,a,i,c={},u={};function p(e){var r=u[e];if(void 0!==r)return r.exports;var t=u[e]={exports:{}};return c[e](t,t.exports,p),t.exports}p.m=c,e="function"==typeof Symbol,r=e?Symbol("webpack queues"):"__webpack_queues__",t=e?Symbol("webpack exports"):"__webpack_exports__",o=e?Symbol("webpack error"):"__webpack_error__",n=e=>{e&&e.d<1&&(e.d=1,e.forEach(e=>e.r--),e.forEach(e=>e.r--?e.r++:e()))},p.a=(e,a,i)=>{var c;i&&((c=[]).d=-1);var u,p,l,s=new Set,d=e.exports,f=new Promise((e,r)=>{l=r,p=e});f[t]=d,f[r]=e=>(c&&e(c),s.forEach(e),f.catch(e=>{})),e.exports=f,a(e=>{var a;u=(e=>e.map(e=>{if(null!==e&&"object"==typeof e){if(e[r])return e;if(e.then){var a=[];a.d=0,e.then(e=>{i[t]=e,n(a)},e=>{i[o]=e,n(a)});var i={};return i[r]=e=>e(a),i}}var c={};return c[r]=e=>{},c[t]=e,c}))(e);var i=()=>u.map(e=>{if(e[o])throw e[o];return e[t]}),p=new Promise(e=>{(a=()=>e(i)).r=0;var t=e=>e!==c&&!s.has(e)&&(s.add(e),e&&!e.d&&(a.r++,e.push(a)));u.map(e=>e[r](t))});return a.r?p:i()},e=>(e?l(f[o]=e):p(d),n(c))),c&&c.d<0&&(c.d=0)},p.d=(e,r)=>{for(var t in r)p.o(r,t)&&!p.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},p.f={},p.e=e=>Promise.all(Object.keys(p.f).reduce((r,t)=>(p.f[t](e,r),r),[])),p.u=e=>e+".index.js",p.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),p.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),a={},i="post-build:",p.l=(e,r,t,o)=>{if(a[e])a[e].push(r);else{var n,c;if(void 0!==t)for(var u=document.getElementsByTagName("script"),l=0;l<u.length;l++){var s=u[l];if(s.getAttribute("src")==e||s.getAttribute("data-webpack")==i+t){n=s;break}}n||(c=!0,(n=document.createElement("script")).charset="utf-8",p.nc&&n.setAttribute("nonce",p.nc),n.setAttribute("data-webpack",i+t),n.src=e),a[e]=[r];var d=(r,t)=>{n.onerror=n.onload=null,clearTimeout(f);var o=a[e];if(delete a[e],n.parentNode&&n.parentNode.removeChild(n),o&&o.forEach(e=>e(t)),r)return r(t)},f=setTimeout(d.bind(null,void 0,{type:"timeout",target:n}),12e4);n.onerror=d.bind(null,n.onerror),n.onload=d.bind(null,n.onload),c&&document.head.appendChild(n)}},p.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;p.g.importScripts&&(e=p.g.location+"");var r=p.g.document;if(!e&&r&&(r.currentScript&&"SCRIPT"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName("script");if(t.length)for(var o=t.length-1;o>-1&&(!e||!/^http(s?):/.test(e));)e=t[o--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),p.p=e})(),(()=>{p.b="undefined"!=typeof document&&document.baseURI||self.location.href;var e={792:0};p.f.j=(r,t)=>{var o=p.o(e,r)?e[r]:void 0;if(0!==o)if(o)t.push(o[2]);else{var n=new Promise((t,n)=>o=e[r]=[t,n]);t.push(o[2]=n);var a=p.p+p.u(r),i=new Error;p.l(a,t=>{if(p.o(e,r)&&(0!==(o=e[r])&&(e[r]=void 0),o)){var n=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;i.message="Loading chunk "+r+" failed.\n("+n+": "+a+")",i.name="ChunkLoadError",i.type=n,i.request=a,o[1](i)}},"chunk-"+r,r)}};var r=(r,t)=>{var o,n,[a,i,c]=t,u=0;if(a.some(r=>0!==e[r])){for(o in i)p.o(i,o)&&(p.m[o]=i[o]);c&&c(p)}for(r&&r(t);u<a.length;u++)n=a[u],p.o(e,n)&&e[n]&&e[n][0](),e[n]=0},t=self.webpackChunkpost_build=self.webpackChunkpost_build||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),window.loadLicenseSource=async()=>(await p.e(655).then(p.bind(p,655))).License})();
|