element/2.13/docs.0216a22.js

9 lines
182 KiB
JavaScript
Raw Normal View History

2020-05-18 09:50:58 +00:00
!function(v){function t(t){for(var e,n,i=t[0],r=t[1],o=t[2],a=0,c=[];a<i.length;a++)n=i[a],P[n]&&c.push(P[n][0]),P[n]=0;for(e in r)Object.prototype.hasOwnProperty.call(r,e)&&(v[e]=r[e]);for(m&&m(t);c.length;)c.shift()();return j.push.apply(j,o||[]),s()}function s(){for(var t,e=0;e<j.length;e++){for(var n=j[e],i=!0,r=1;r<n.length;r++){var o=n[r];0!==P[o]&&(i=!1)}i&&(j.splice(e--,1),t=G(G.s=n[0]))}return t}var n=window.webpackHotUpdate;window.webpackHotUpdate=function(t,e){!function(t,e){if(!Q[t]||!g[t])return;for(var n in g[t]=!1,e)Object.prototype.hasOwnProperty.call(e,n)&&(k[n]=e[n]);0==--u&&0===l&&h()}(t,e),n&&n(t,e)};var o,i=!0,x="0216a225e1350b93540e",e=1e4,O={},E=[],r=[];var a=[],S="idle";function b(t){S=t;for(var e=0;e<a.length;e++)a[e].call(null,t)}var c,k,Y,u=0,l=0,M={},g={},Q={};function U(t){return+t+""===t?+t:t}function N(t){if("idle"!==S)throw new Error("check() is only allowed in idle status");return i=t,b("check"),(o=e,o=o||1e4,new Promise(function(e,n){if("undefined"==typeof XMLHttpRequest)return n(new Error("No browser support"));try{var i=new XMLHttpRequest,r=G.p+""+x+".hot-update.json";i.open("GET",r,!0),i.timeout=o,i.send(null)}catch(t){return n(t)}i.onreadystatechange=function(){if(4===i.readyState)if(0===i.status)n(new Error("Manifest request to "+r+" timed out."));else if(404===i.status)e();else if(200!==i.status&&304!==i.status)n(new Error("Manifest request to "+r+" failed."));else{try{var t=JSON.parse(i.responseText)}catch(t){return void n(t)}e(t)}}})).then(function(t){if(!t)return b("idle"),null;g={},M={},Q=t.c,Y=t.h,b("prepare");var e=new Promise(function(t,e){c={resolve:t,reject:e}});for(var n in k={},P)f(n);return"prepare"===S&&0===l&&0===u&&h(),e});var o}function f(t){var e,n;Q[t]?(g[t]=!0,u++,e=t,(n=document.createElement("script")).charset="utf-8",n.src=G.p+""+e+"."+x+".hot-update.js",document.head.appendChild(n)):M[t]=!0}function h(){b("ready");var e=c;if(c=null,e)if(i)Promise.resolve().then(function(){return d(i)}).then(function(t){e.resolve(t)},function(t){e.reject(t)});else{var t=[];for(var n in k)Object.prototype.hasOwnProperty.call(k,n)&&t.push(U(n));e.resolve(t)}}function d(n){if("ready"!==S)throw new Error("apply() is only allowed in ready status");var t,e,i,l,r;function o(t){for(var e=[t],n={},i=e.slice().map(function(t){return{chain:[t],id:t}});0<i.length;){var r=i.pop(),o=r.id,a=r.chain;if((l=_[o])&&!l.hot._selfAccepted){if(l.hot._selfDeclined)return{type:"self-declined",chain:a,moduleId:o};if(l.hot._main)return{type:"unaccepted",chain:a,moduleId:o};for(var c=0;c<l.parents.length;c++){var s=l.parents[c],u=_[s];if(u){if(u.hot._declinedDependencies[o])return{type:"declined",chain:a.concat([s]),moduleId:o,parentId:s};-1===e.indexOf(s)&&(u.hot._acceptedDependencies[o]?(n[s]||(n[s]=[]),M(n[s],[o])):(delete n[s],e.push(s),i.push({chain:a.concat([s]),id:s})))}}}}return{type:"accepted",moduleId:t,outdatedModules:e,outdatedDependencies:n}}function M(t,e){for(var n=0;n<e.length;n++){var i=e[n];-1===t.indexOf(i)&&t.push(i)}}n=n||{};var a={},c=[],s={},u=function(){console.warn("[HMR] unexpected require("+N.moduleId+") to disposed module")};for(var g in k)if(Object.prototype.hasOwnProperty.call(k,g)){var N;r=U(g);var f=!1,h=!1,d=!1,p="";switch((N=k[g]?o(r):{type:"disposed",moduleId:g}).chain&&(p="\nUpdate propagation: "+N.chain.join(" -> ")),N.type){case"self-declined":n.onDeclined&&n.onDeclined(N),n.ignoreDeclined||(f=new Error("Aborted because of self decline: "+N.moduleId+p));break;case"declined":n.onDeclined&&n.onDeclined(N),n.ignoreDeclined||(f=new Error("Aborted because of declined dependency: "+N.moduleId+" in "+N.parentId+p));break;case"unaccepted":n.onUnaccepted&&n.onUnaccepted(N),n.ignoreUnaccepted||(f=new Error("Aborted because "+r+" is not accepted"+p));break;case"accepted":n.onAccepted&&n.onAccepted(N),h=!0;break;case"disposed":n.onDisposed&&n.onDisposed(N),d=!0;break;default:throw new Error("Unexception type "+N.type)}if(f)return b("abort"),Promise.reject(f);if(h)for(r in s[r]=k[r],M(c,N.outdatedModules),N.outdatedDependencies)Object.prototype.hasOwnProperty.call(N.outdatedDepe
2019-11-26 10:30:59 +00:00
/*!
* @overview es6-promise - a tiny implementation of Promises/A+.
* @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
* @license Licensed under MIT license
* See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE
* @version v4.2.5+7f2b526d
*/
t.exports=function(){"use strict";function u(t){return"function"==typeof t}var n=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)},i=0,e=void 0,r=void 0,c=function(t,e){g[i]=t,g[i+1]=e,2===(i+=2)&&(r?r(N):j())},t="undefined"!=typeof window?window:void 0,o=t||{},a=o.MutationObserver||o.WebKitMutationObserver,s="undefined"==typeof self&&void 0!==G&&"[object process]"==={}.toString.call(G),l="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function M(){var t=setTimeout;return function(){return t(N,1)}}var g=new Array(1e3);function N(){for(var t=0;t<i;t+=2){var e=g[t],n=g[t+1];e(n),g[t]=void 0,g[t+1]=void 0}i=0}var f,h,d,p,j=void 0;function D(t,e){var n=this,i=new this.constructor(m);void 0===i[y]&&U(i);var r=n._state;if(r){var o=arguments[r-1];c(function(){return Y(r,i,o,n._result)})}else b(n,i,t,e);return i}function I(t){if(t&&"object"==typeof t&&t.constructor===this)return t;var e=new this(m);return x(e,t),e}j=s?function(){return G.nextTick(N)}:a?(h=0,d=new a(N),p=document.createTextNode(""),d.observe(p,{characterData:!0}),function(){p.data=h=++h%2}):l?((f=new MessageChannel).port1.onmessage=N,function(){return f.port2.postMessage(0)}):void 0===t?function(){try{var t=Function("return this")().require("vertx");return void 0===(e=t.runOnLoop||t.runOnContext)?M():function(){e(N)}}catch(t){return M()}}():M();var y=Math.random().toString(36).substring(2);function m(){}var L=void 0,z=1,w=2,T={error:null};function A(t){try{return t.then}catch(t){return T.error=t,T}}function C(t,e,n,i){try{t.call(e,n,i)}catch(t){return t}}function v(t,e,n){var i,r,o,a;e.constructor===t.constructor&&n===D&&e.constructor.resolve===I?(o=t,(a=e)._state===z?E(o,a._result):a._state===w?S(o,a._result):b(a,void 0,function(t){return x(o,t)},function(t){return S(o,t)})):n===T?(S(t,T.error),T.error=null):void 0===n?E(t,e):u(n)?(i=e,r=n,c(function(e){var n=!1,t=C(r,i,function(t){n||(n=!0,i!==t?x(e,t):E(e,t))},function(t){n||(n=!0,S(e,t))},e._label);!n&&t&&(n=!0,S(e,t))},t)):E(t,e)}function x(t,e){var n,i;t===e?S(t,new TypeError("You cannot resolve a promise with itself")):(i=typeof(n=e),null===n||"object"!==i&&"function"!==i?E(t,e):v(t,e,A(e)))}function O(t){t._onerror&&t._onerror(t._result),k(t)}function E(t,e){t._state===L&&(t._result=e,t._state=z,0!==t._subscribers.length&&c(k,t))}function S(t,e){t._state===L&&(t._state=w,t._result=e,c(O,t))}function b(t,e,n,i){var r=t._subscribers,o=r.length;t._onerror=null,r[o]=e,r[o+z]=n,r[o+w]=i,0===o&&t._state&&c(k,t)}function k(t){var e=t._subscribers,n=t._state;if(0!==e.length){for(var i=void 0,r=void 0,o=t._result,a=0;a<e.length;a+=3)i=e[a],r=e[a+n],i?Y(n,i,r,o):r(o);t._subscribers.length=0}}function Y(t,e,n,i){var r=u(n),o=void 0,a=void 0,c=void 0,s=void 0;if(r){if((o=function(t,e){try{return t(e)}catch(t){return T.error=t,T}}(n,i))===T?(s=!0,a=o.error,o.error=null):c=!0,e===o)return void S(e,new TypeError("A promises callback cannot return that same promise."))}else o=i,c=!0;e._state!==L||(r&&c?x(e,o):s?S(e,a):t===z?E(e,o):t===w&&S(e,o))}var Q=0;function U(t){t[y]=Q++,t._state=void 0,t._result=void 0,t._subscribers=[]}var _=function(){function t(t,e){this._instanceConstructor=t,this.promise=new t(m),this.promise[y]||U(this.promise),n(e)?(this.length=e.length,this._remaining=e.length,this._result=new Array(this.length),0===this.length?E(this.promise,this._result):(this.length=this.length||0,this._enumerate(e),0===this._remaining&&E(this.promise,this._result))):S(this.promise,new Error("Array Methods must be provided an Array"))}return t.prototype._enumerate=function(t){for(var e=0;this._state===L&&e<t.length;e++)this._eachEntry(t[e],e)},t.prototype._eachEntry=function(e,t){var n=this._instanceConstructor,i=n.resolve;if(i===I){var r=A(e);if(r===D&&e._state!==L)this._settledAt(e._state,t,e._result);else if("function"!=typeof r)this._remaining--,this._result[t]=e;else if(n===P){var o=new n(m);v(o,e,r),this._willSettleAt(o,t)}else this._willSettleAt(new n(function(t){return t(e)}),t)}else this._willSettleAt(