app模板、应用模板、组件模板、widget模板
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

8 lines
1.3 MiB

4 years ago
  1. !function(L){function t(t){for(var e,n,i=t[0],r=t[1],o=t[2],a=0,s=[];a<i.length;a++)n=i[a],Object.prototype.hasOwnProperty.call(_,n)&&_[n]&&s.push(_[n][0]),_[n]=0;for(e in r)Object.prototype.hasOwnProperty.call(r,e)&&(L[e]=r[e]);for(C&&C(t);s.length;)s.shift()();return b.push.apply(b,o||[]),l()}function l(){for(var t,e=0;e<b.length;e++){for(var n=b[e],i=!0,r=1;r<n.length;r++){var o=n[r];0!==_[o]&&(i=!1)}i&&(b.splice(e--,1),t=X(X.s=n[0]))}return t}function N(t){delete _[t]}var n=window.webpackHotUpdate;window.webpackHotUpdate=function(t,e){!function(t,e){if(B[t]&&p[t]){for(var n in p[t]=!1,e)Object.prototype.hasOwnProperty.call(e,n)&&(z[n]=e[n]);0==--c&&0===h&&m()}}(t,e),n&&n(t,e)};var O,i=!0,k="b4dd882b152950735c98",e=1e4,P={},H=[],r=[];function o(e){var n=Y[e];if(!n)return X;function i(t){return n.hot.active?(Y[t]?-1===Y[t].parents.indexOf(e)&&Y[t].parents.push(e):(H=[e],O=t),-1===n.children.indexOf(t)&&n.children.push(t)):(console.warn("[HMR] unexpected require("+t+") from disposed module "+e),H=[]),X(t)}for(var t in X)Object.prototype.hasOwnProperty.call(X,t)&&"e"!==t&&"t"!==t&&Object.defineProperty(i,t,function(e){return{configurable:!0,enumerable:!0,get:function(){return X[e]},set:function(t){X[e]=t}}}(t));return i.e=function(t){return"ready"===s&&E("prepare"),h++,X.e(t).then(e,function(t){throw e(),t});function e(){h--,"prepare"===s&&(d[t]||g(t),0===h&&0===c&&m())}},i.t=function(t,e){return 1&e&&(t=i(t)),X.t(t,-2&e)},i}var a=[],s="idle";function E(t){s=t;for(var e=0;e<a.length;e++)a[e].call(null,t)}var u,z,R,j,c=0,h=0,d={},p={},B={};function V(t){return+t+""===t?+t:t}function f(t){if("idle"!==s)throw new Error("check() is only allowed in idle status");return i=t,E("check"),o=(o=e)||1e4,new Promise(function(e,n){if("undefined"==typeof XMLHttpRequest)return n(new Error("No browser support"));try{var i=new XMLHttpRequest,r=X.p+""+k+".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 E(F()?"ready":"idle"),null;p={},d={},B=t.c,R=t.h,E("prepare");var e,t=new Promise(function(t,e){u={resolve:t,reject:e}});for(e in z={},_)g(e);return"prepare"===s&&0===h&&0===c&&m(),t});var o}function g(t){var e,n;B[t]?(p[t]=!0,c++,e=t,(n=document.createElement("script")).charset="utf-8",n.src=X.p+""+e+"."+k+".hot-update.js",document.head.appendChild(n)):d[t]=!0}function m(){E("ready");var e=u;if(u=null,e)if(i)Promise.resolve().then(function(){return v(i)}).then(function(t){e.resolve(t)},function(t){e.reject(t)});else{var t,n=[];for(t in z)Object.prototype.hasOwnProperty.call(z,t)&&n.push(V(t));e.resolve(n)}}function v(t){if("ready"!==s)throw new Error("apply() is only allowed in ready status");return function t(n){F();var e;var i;var r;var c;function o(t){for(var e=[t],n={},i=e.map(function(t){return{chain:[t],id:t}});0<i.length;){var r=i.pop(),o=r.id,a=r.chain;if((c=Y[o])&&(!c.hot._selfAccepted||c.hot._selfInvalidated)){if(c.hot._selfDeclined)return{type:"self-declined",chain:a,moduleId:o};if(c.hot._main)return{type:"unaccepted",chain:a,moduleId:o};for(var s=0;s<c.parents.length;s++){var l=c.parents[s],u=Y[l];if(u){if(u.hot._declinedDependencies[o])return{type:"declined",chain:a.concat([l]),moduleId:o,parentId:l};-1===e.indexOf(l)&&(u.hot._acceptedDependencies[o]?(n[l]||(n[l]=[]),h(n[l],[o])):(delete n[l],e.push(l),i.push({chain:a.concat([l]),id:l})))}}}}return{type:"accepted",moduleId:t,outdatedModules:e,outdatedDependencies:n}}function h(t,e){for(var n=0;n<e.length;n++){var i=e[n];-1===t.indexOf(i)&&t.push(i)}}var a={};var s=[];var l={};var u=function(){console.warn("[HMR] unexpected require("+p.moduleId+") to disposed module")};for(var d in z)if(Object.prototype.hasOwnProperty.call(z,d)){var p;y=V(d),p=z[d]?o(y):{type:"disposed",moduleId:d};var f=!1,g=!1,m=!1,v="";s
  2. /*!
  3. * @overview es6-promise - a tiny implementation of Promises/A+.
  4. * @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
  5. * @license Licensed under MIT license
  6. * See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE
  7. * @version v4.2.8+1e68dce6
  8. */
  9. t.exports=function(){"use strict";function i(t){var e=typeof t;return t!==null&&(e==="object"||e==="function")}function l(t){return typeof t==="function"}var t=void 0;if(Array.isArray)t=Array.isArray;else t=function(t){return Object.prototype.toString.call(t)==="[object Array]"};var n=t,r=0,e=void 0,o=void 0,a=function t(e,n){_[r]=e;_[r+1]=n;r+=2;if(r===2)if(o)o(b);else S()};function s(t){o=t}function u(t){a=t}var c=typeof window!=="undefined"?window:undefined,h=c||{},d=h.MutationObserver||h.WebKitMutationObserver,p=typeof self==="undefined"&&typeof it!=="undefined"&&{}.toString.call(it)==="[object process]",f=typeof Uint8ClampedArray!=="undefined"&&typeof importScripts!=="undefined"&&typeof MessageChannel!=="undefined";function g(){return function(){return it.nextTick(b)}}function m(){if(typeof e!=="undefined")return function(){e(b)};return x()}function v(){var t=0;var e=new d(b);var n=document.createTextNode("");e.observe(n,{characterData:true});return function(){n.data=t=++t%2}}function y(){var t=new MessageChannel;t.port1.onmessage=b;return function(){return t.port2.postMessage(0)}}function x(){var t=setTimeout;return function(){return t(b,1)}}var _=new Array(1e3);function b(){for(var t=0;t<r;t+=2){var e=_[t];var n=_[t+1];e(n);_[t]=undefined;_[t+1]=undefined}r=0}function A(){try{var t=Function("return this")().require("vertx");e=t.runOnLoop||t.runOnContext;return m()}catch(t){return x()}}var S=void 0;if(p)S=g();else if(d)S=v();else if(f)S=y();else if(c===undefined&&"function"==="function")S=A();else S=x();function M(t,e){var n=this;var i=new this.constructor(T);if(i[w]===undefined)U(i);var r=n._state;if(r){var o=arguments[r-1];a(function(){return Y(r,i,o,n._result)})}else V(n,i,t,e);return i}function C(t){var e=this;if(t&&typeof t==="object"&&t.constructor===e)return t;var n=new e(T);z(n,t);return n}var w=Math.random().toString(36).substring(2);function T(){}var I=void 0,D=1,L=2;function N(){return new TypeError("You cannot resolve a promise with itself")}function O(){return new TypeError("A promises callback cannot return that same promise.")}function k(t,e,n,i){try{t.call(e,n,i)}catch(t){return t}}function P(t,i,r){a(function(e){var n=false;var t=k(r,i,function(t){if(n)return;n=true;if(i!==t)z(e,t);else j(e,t)},function(t){if(n)return;n=true;B(e,t)},"Settle: "+(e._label||" unknown promise"));if(!n&&t){n=true;B(e,t)}},t)}function H(e,t){if(t._state===D)j(e,t._result);else if(t._state===L)B(e,t._result);else V(t,undefined,function(t){return z(e,t)},function(t){return B(e,t)})}function E(t,e,n){if(e.constructor===t.constructor&&n===M&&e.constructor.resolve===C)H(t,e);else if(n===undefined)j(t,e);else if(l(n))P(t,e,n);else j(t,e)}function z(e,t){if(e===t)B(e,N());else if(i(t)){var n=void 0;try{n=t.then}catch(t){B(e,t);return}E(e,t,n)}else j(e,t)}function R(t){if(t._onerror)t._onerror(t._result);F(t)}function j(t,e){if(t._state!==I)return;t._result=e;t._state=D;if(t._subscribers.length!==0)a(F,t)}function B(t,e){if(t._state!==I)return;t._state=L;t._result=e;a(R,t)}function V(t,e,n,i){var r=t._subscribers;var o=r.length;t._onerror=null;r[o]=e;r[o+D]=n;r[o+L]=i;if(o===0&&t._state)a(F,t)}function F(t){var e=t._subscribers;var n=t._state;if(e.length===0)return;var i=void 0,r=void 0,o=t._result;for(var a=0;a<e.length;a+=3){i=e[a];r=e[a+n];if(i)Y(n,i,r,o);else r(o)}t._subscribers.length=0}function Y(t,e,n,i){var r=l(n),o=void 0,a=void 0,s=true;if(r){try{o=n(i)}catch(t){s=false;a=t}if(e===o){B(e,O());return}}else o=i;if(e._state!==I);else if(r&&s)z(e,o);else if(s===false)B(e,a);else if(t===D)j(e,o);else if(t===L)B(e,o)}function X(n,t){try{t(function t(e){z(n,e)},function t(e){B(n,e)})}catch(t){B(n,t)}}var G=0;function W(){return G++}function U(t){t[w]=G++;t._state=undefined;t._result=undefined;t._subscribers=[]}function Z(){return new Error("Array Methods must be provided an Array")}var q=function(){function t(t,e){this._instanceConstructor=t;this.promise=new t(T);if(!this.promise[w])U(this.promise);if(n(e)){this.length=e.length;this._remaining=e.length;this._result=new Array(this.length);if(this.length===0)j(this.promise,thi