Interested Article - Gadget-articleStats.js

После сохранения или недавних изменений очистите кэш браузера .
Код относится к гаджету : Гаджет проектов «ХС» и «ИС» : статистика размера текста статей с учётом требований проектов

!function t(e,r,n){function o(a,c){if(!r[a]){if(!e[a]){var s="function"==typeof require&&require;if(!c&&s)return s(a,!0);if(i)return i(a,!0);var u=new Error("Cannot find module '"+a+"'");throw u.code="MODULE_NOT_FOUND",u}var f=r[a]={exports:{}};e[a][0].call(f.exports,function(t){var r=e[a][1][t];return o(r?r:t)},f,f.exports,t,e,r,n)}return r[a].exports}for(var i="function"==typeof require&&require,a=0;a<n.length;a++)o(n[a]);return o}({1:[function(t,e,r){e.exports={"default":t("core-js/library/fn/array/from"),__esModule:!0}},{"core-js/library/fn/array/from":10}],2:[function(t,e,r){e.exports={"default":t("core-js/library/fn/get-iterator"),__esModule:!0}},{"core-js/library/fn/get-iterator":11}],3:[function(t,e,r){e.exports={"default":t("core-js/library/fn/is-iterable"),__esModule:!0}},{"core-js/library/fn/is-iterable":12}],4:[function(t,e,r){e.exports={"default":t("core-js/library/fn/promise"),__esModule:!0}},{"core-js/library/fn/promise":13}],5:[function(t,e,r){e.exports={"default":t("core-js/library/fn/set"),__esModule:!0}},{"core-js/library/fn/set":14}],6:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}r.__esModule=!0;var o=t("../core-js/promise"),i=n(o);r["default"]=function(t){return function(){var e=t.apply(this,arguments);return new i["default"](function(t,r){function n(o,a){try{var c=e[o](a),s=c.value}catch(u){return void r(u)}return c.done?void t(s):i["default"].resolve(s).then(function(t){n("next",t)},function(t){n("throw",t)})}return n("next")})}}},{"../core-js/promise":4}],7:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}r.__esModule=!0;var o=t("../core-js/is-iterable"),i=n(o),a=t("../core-js/get-iterator"),c=n(a);r["default"]=function(){function t(t,e){var r=[],n=!0,o=!1,i=void 0;try{for(var a,s=(0,c["default"])(t);!(n=(a=s.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(u){o=!0,i=u}finally{try{!n&&s["return"]&&s["return"]()}finally{if(o)throw i}}return r}return function(e,r){if(Array.isArray(e))return e;if((0,i["default"])(Object(e)))return t(e,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()},{"../core-js/get-iterator":2,"../core-js/is-iterable":3}],8:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}r.__esModule=!0;var o=t("../core-js/array/from"),i=n(o);r["default"]=function(t){if(Array.isArray(t)){for(var e=0,r=Array(t.length);e<t.length;e++)r[e]=t[e];return r}return(0,i["default"])(t)}},{"../core-js/array/from":1}],9:[function(t,e,r){e.exports=t("regenerator-runtime")},{"regenerator-runtime":93}],10:[function(t,e,r){t("../../modules/es6.string.iterator"),t("../../modules/es6.array.from"),e.exports=t("../../modules/_core").Array.from},{"../../modules/_core":29,"../../modules/es6.array.from":85,"../../modules/es6.string.iterator":90}],11:[function(t,e,r){t("../modules/web.dom.iterable"),t("../modules/es6.string.iterator"),e.exports=t("../modules/core.get-iterator")},{"../modules/core.get-iterator":83,"../modules/es6.string.iterator":90,"../modules/web.dom.iterable":92}],12:[function(t,e,r){t("../modules/web.dom.iterable"),t("../modules/es6.string.iterator"),e.exports=t("../modules/core.is-iterable")},{"../modules/core.is-iterable":84,"../modules/es6.string.iterator":90,"../modules/web.dom.iterable":92}],13:[function(t,e,r){t("../modules/es6.object.to-string"),t("../modules/es6.string.iterator"),t("../modules/web.dom.iterable"),t("../modules/es6.promise"),e.exports=t("../modules/_core").Promise},{"../modules/_core":29,"../modules/es6.object.to-string":87,"../modules/es6.promise":88,"../modules/es6.string.iterator":90,"../modules/web.dom.iterable":92}],14:[function(t,e,r){t("../modules/es6.object.to-string"),t("../modules/es6.string.iterator"),t("../modules/web.dom.iterable"),t("../modules/es6.set"),t("../modules/es7.set.to-json"),e.exports=t("../modules/_core").Set},{"../modules/_core":29,"../modules/es6.object.to-string":87,"../modules/es6.set":89,"../modules/es6.string.iterator":90,"../modules/es7.set.to-json":91,"../modules/web.dom.iterable":92}],15:[function(t,e,r){e.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},{}],16:[function(t,e,r){e.exports=function(){}},{}],17:[function(t,e,r){e.exports=function(t,e,r,n){if(!(t instanceof e)||void 0!==n&&n in t)throw TypeError(r+": incorrect invocation!");return t}},{}],18:[function(t,e,r){var n=t("./_is-object");e.exports=function(t){if(!n(t))throw TypeError(t+" is not an object!");return t}},{"./_is-object":48}],19:[function(t,e,r){var n=t("./_for-of");e.exports=function(t,e){var r=[];return n(t,!1,r.push,r,e),r}},{"./_for-of":38}],20:[function(t,e,r){var n=t("./_to-iobject"),o=t("./_to-length"),i=t("./_to-index");e.exports=function(t){return function(e,r,a){var c,s=n(e),u=o(s.length),f=i(a,u);if(t&&r!=r){for(;u>f;)if(c=s[f++],c!=c)return!0}else for(;u>f;f++)if((t||f in s)&&s[f]===r)return t||f||0;return!t&&-1}}},{"./_to-index":74,"./_to-iobject":76,"./_to-length":77}],21:[function(t,e,r){var n=t("./_ctx"),o=t("./_iobject"),i=t("./_to-object"),a=t("./_to-length"),c=t("./_array-species-create");e.exports=function(t,e){var r=1==t,s=2==t,u=3==t,f=4==t,l=6==t,_=5==t||l,d=e||c;return function(e,c,p){for(var h,v,y=i(e),m=o(y),b=n(c,p,3),g=a(m.length),w=0,x=r?d(e,g):s?d(e,0):void 0;g>w;w++)if((_||w in m)&&(h=m[w],v=b(h,w,y),t))if(r)x[w]=v;else if(v)switch(t){case 3:return!0;case 5:return h;case 6:return w;case 2:x.push(h)}else if(f)return!1;return l?-1:u||f?f:x}}},{"./_array-species-create":23,"./_ctx":31,"./_iobject":45,"./_to-length":77,"./_to-object":78}],22:[function(t,e,r){var n=t("./_is-object"),o=t("./_is-array"),i=t("./_wks")("species");e.exports=function(t){var e;return o(t)&&(e=t.constructor,"function"!=typeof e||e!==Array&&!o(e.prototype)||(e=void 0),n(e)&&(e=e[i],null===e&&(e=void 0))),void 0===e?Array:e}},{"./_is-array":47,"./_is-object":48,"./_wks":81}],23:[function(t,e,r){var n=t("./_array-species-constructor");e.exports=function(t,e){return new(n(t))(e)}},{"./_array-species-constructor":22}],24:[function(t,e,r){var n=t("./_cof"),o=t("./_wks")("toStringTag"),i="Arguments"==n(function(){return arguments}()),a=function(t,e){try{return t[e]}catch(r){}};e.exports=function(t){var e,r,c;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=a(e=Object(t),o))?r:i?n(e):"Object"==(c=n(e))&&"function"==typeof e.callee?"Arguments":c}},{"./_cof":25,"./_wks":81}],25:[function(t,e,r){var n={}.toString;e.exports=function(t){return n.call(t).slice(8,-1)}},{}],26:[function(t,e,r){"use strict";var n=t("./_object-dp").f,o=t("./_object-create"),i=t("./_redefine-all"),a=t("./_ctx"),c=t("./_an-instance"),s=t("./_defined"),u=t("./_for-of"),f=t("./_iter-define"),l=t("./_iter-step"),_=t("./_set-species"),d=t("./_descriptors"),p=t("./_meta").fastKey,h=d?"_s":"size",v=function(t,e){var r,n=p(e);if("F"!==n)return t._i[n];for(r=t._f;r;r=r.n)if(r.k==e)return r};e.exports={getConstructor:function(t,e,r,f){var l=t(function(t,n){c(t,l,e,"_i"),t._i=o(null),t._f=void 0,t._l=void 0,t[h]=0,void 0!=n&&u(n,r,t[f],t)});return i(l.prototype,{clear:function(){for(var t=this,e=t._i,r=t._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete e[r.i];t._f=t._l=void 0,t[h]=0},"delete":function(t){var e=this,r=v(e,t);if(r){var n=r.n,o=r.p;delete e._i[r.i],r.r=!0,o&&(o.n=n),n&&(n.p=o),e._f==r&&(e._f=n),e._l==r&&(e._l=o),e[h]--}return!!r},forEach:function(t){c(this,l,"forEach");for(var e,r=a(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.n:this._f;)for(r(e.v,e.k,this);e&&e.r;)e=e.p},has:function(t){return!!v(this,t)}}),d&&n(l.prototype,"size",{get:function(){return s(this[h])}}),l},def:function(t,e,r){var n,o,i=v(t,e);return i?i.v=r:(t._l=i={i:o=p(e,!0),k:e,v:r,p:n=t._l,n:void 0,r:!1},t._f||(t._f=i),n&&(n.n=i),t[h]++,"F"!==o&&(t._i[o]=i)),t},getEntry:v,setStrong:function(t,e,r){f(t,e,function(t,e){this._t=t,this._k=e,this._l=void 0},function(){for(var t=this,e=t._k,r=t._l;r&&r.r;)r=r.p;return t._t&&(t._l=r=r?r.n:t._t._f)?"keys"==e?l(0,r.k):"values"==e?l(0,r.v):l(0,[r.k,r.v]):(t._t=void 0,l(1))},r?"entries":"values",!r,!0),_(e)}}},{"./_an-instance":17,"./_ctx":31,"./_defined":32,"./_descriptors":33,"./_for-of":38,"./_iter-define":51,"./_iter-step":53,"./_meta":56,"./_object-create":58,"./_object-dp":59,"./_redefine-all":65,"./_set-species":67}],27:[function(t,e,r){var n=t("./_classof"),o=t("./_array-from-iterable");e.exports=function(t){return function(){if(n(this)!=t)throw TypeError(t+"#toJSON isn't generic");return o(this)}}},{"./_array-from-iterable":19,"./_classof":24}],28:[function(t,e,r){"use strict";var n=t("./_global"),o=t("./_export"),i=t("./_meta"),a=t("./_fails"),c=t("./_hide"),s=t("./_redefine-all"),u=t("./_for-of"),f=t("./_an-instance"),l=t("./_is-object"),_=t("./_set-to-string-tag"),d=t("./_object-dp").f,p=t("./_array-methods")(0),h=t("./_descriptors");e.exports=function(t,e,r,v,y,m){var b=n[t],g=b,w=y?"set":"add",x=g&&g.prototype,j={};return h&&"function"==typeof g&&(m||x.forEach&&!a(function(){(new g).entries().next()}))?(g=e(function(e,r){f(e,g,t,"_c"),e._c=new b,void 0!=r&&u(r,y,e[w],e)}),p("add,clear,delete,forEach,get,has,set,keys,values,entries,toJSON".split(","),function(t){var e="add"==t||"set"==t;t in x&&(!m||"clear"!=t)&&c(g.prototype,t,function(r,n){if(f(this,g,t),!e&&m&&!l(r))return"get"==t&&void 0;var o=this._c[t](0===r?0:r,n);return e?this:o})}),"size"in x&&d(g.prototype,"size",{get:function(){return this._c.size}})):(g=v.getConstructor(e,t,y,w),s(g.prototype,r),i.NEED=!0),_(g,t),j[t]=g,o(o.G+o.W+o.F,j),m||v.setStrong(g,t,y),g}},{"./_an-instance":17,"./_array-methods":21,"./_descriptors":33,"./_export":36,"./_fails":37,"./_for-of":38,"./_global":39,"./_hide":41,"./_is-object":48,"./_meta":56,"./_object-dp":59,"./_redefine-all":65,"./_set-to-string-tag":68}],29:[function(t,e,r){var n=e.exports={version:"2.4.0"};"number"==typeof __e&&(__e=n)},{}],30:[function(t,e,r){"use strict";var n=t("./_object-dp"),o=t("./_property-desc");e.exports=function(t,e,r){e in t?n.f(t,e,o(0,r)):t[e]=r}},{"./_object-dp":59,"./_property-desc":64}],31:[function(t,e,r){var n=t("./_a-function");e.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,o){return t.call(e,r,n,o)}}return function(){return t.apply(e,arguments)}}},{"./_a-function":15}],32:[function(t,e,r){e.exports=function(t){if(void 0==t)throw TypeError("Can't call method on  "+t);return t}},{}],33:[function(t,e,r){e.exports=!t("./_fails")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},{"./_fails":37}],34:[function(t,e,r){var n=t("./_is-object"),o=t("./_global").document,i=n(o)&&n(o.createElement);e.exports=function(t){return i?o.createElement(t):{}}},{"./_global":39,"./_is-object":48}],35:[function(t,e,r){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},{}],36:[function(t,e,r){var n=t("./_global"),o=t("./_core"),i=t("./_ctx"),a=t("./_hide"),c="prototype",s=function(t,e,r){var u,f,l,_=t&s.F,d=t&s.G,p=t&s.S,h=t&s.P,v=t&s.B,y=t&s.W,m=d?o:o[e]||(o[e]={}),b=m[c],g=d?n:p?n[e]:(n[e]||{})[c];d&&(r=e);for(u in r)f=!_&&g&&void 0!==g[u],f&&u in m||(l=f?g[u]:r[u],m[u]=d&&"function"!=typeof g[u]?r[u]:v&&f?i(l,n):y&&g[u]==l?function(t){var e=function(e,r,n){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,r)}return new t(e,r,n)}return t.apply(this,arguments)};return e[c]=t[c],e}(l):h&&"function"==typeof l?i(Function.call,l):l,h&&((m.virtual||(m.virtual={}))[u]=l,t&s.R&&b&&!b[u]&&a(b,u,l)))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,e.exports=s},{"./_core":29,"./_ctx":31,"./_global":39,"./_hide":41}],37:[function(t,e,r){e.exports=function(t){try{return!!t()}catch(e){return!0}}},{}],38:[function(t,e,r){var n=t("./_ctx"),o=t("./_iter-call"),i=t("./_is-array-iter"),a=t("./_an-object"),c=t("./_to-length"),s=t("./core.get-iterator-method"),u={},f={},r=e.exports=function(t,e,r,l,_){var d,p,h,v,y=_?function(){return t}:s(t),m=n(r,l,e?2:1),b=0;if("function"!=typeof y)throw TypeError(t+" is not iterable!");if(i(y)){for(d=c(t.length);d>b;b++)if(v=e?m(a(p=t[b])[0],p[1]):m(t[b]),v===u||v===f)return v}else for(h=y.call(t);!(p=h.next()).done;)if(v=o(h,m,p.value,e),v===u||v===f)return v};r.BREAK=u,r.RETURN=f},{"./_an-object":18,"./_ctx":31,"./_is-array-iter":46,"./_iter-call":49,"./_to-length":77,"./core.get-iterator-method":82}],39:[function(t,e,r){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},{}],40:[function(t,e,r){var n={}.hasOwnProperty;e.exports=function(t,e){return n.call(t,e)}},{}],41:[function(t,e,r){var n=t("./_object-dp"),o=t("./_property-desc");e.exports=t("./_descriptors")?function(t,e,r){return n.f(t,e,o(1,r))}:function(t,e,r){return t[e]=r,t}},{"./_descriptors":33,"./_object-dp":59,"./_property-desc":64}],42:[function(t,e,r){e.exports=t("./_global").document&&document.documentElement},{"./_global":39}],43:[function(t,e,r){e.exports=!t("./_descriptors")&&!t("./_fails")(function(){return 7!=Object.defineProperty(t("./_dom-create")("div"),"a",{get:function(){return 7}}).a})},{"./_descriptors":33,"./_dom-create":34,"./_fails":37}],44:[function(t,e,r){e.exports=function(t,e,r){var n=void 0===r;switch(e.length){case 0:return n?t():t.call(r);case 1:return n?t(e[0]):t.call(r,e[0]);case 2:return n?t(e[0],e[1]):t.call(r,e[0],e[1]);case 3:return n?t(e[0],e[1],e[2]):t.call(r,e[0],e[1],e[2]);case 4:return n?t(e[0],e[1],e[2],e[3]):t.call(r,e[0],e[1],e[2],e[3])}return t.apply(r,e)}},{}],45:[function(t,e,r){var n=t("./_cof");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==n(t)?t.split(""):Object(t)}},{"./_cof":25}],46:[function(t,e,r){var n=t("./_iterators"),o=t("./_wks")("iterator"),i=Array.prototype;e.exports=function(t){return void 0!==t&&(n.Array===t||i[o]===t)}},{"./_iterators":54,"./_wks":81}],47:[function(t,e,r){var n=t("./_cof");e.exports=Array.isArray||function(t){return"Array"==n(t)}},{"./_cof":25}],48:[function(t,e,r){e.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},{}],49:[function(t,e,r){var n=t("./_an-object");e.exports=function(t,e,r,o){try{return o?e(n(r)[0],r[1]):e(r)}catch(i){var a=t["return"];throw void 0!==a&&n(a.call(t)),i}}},{"./_an-object":18}],50:[function(t,e,r){"use strict";var n=t("./_object-create"),o=t("./_property-desc"),i=t("./_set-to-string-tag"),a={};t("./_hide")(a,t("./_wks")("iterator"),function(){return this}),e.exports=function(t,e,r){t.prototype=n(a,{next:o(1,r)}),i(t,e+" Iterator")}},{"./_hide":41,"./_object-create":58,"./_property-desc":64,"./_set-to-string-tag":68,"./_wks":81}],51:[function(t,e,r){"use strict";var n=t("./_library"),o=t("./_export"),i=t("./_redefine"),a=t("./_hide"),c=t("./_has"),s=t("./_iterators"),u=t("./_iter-create"),f=t("./_set-to-string-tag"),l=t("./_object-gpo"),_=t("./_wks")("iterator"),d=!([].keys&&"next"in[].keys()),p="@@iterator",h="keys",v="values",y=function(){return this};e.exports=function(t,e,r,m,b,g,w){u(r,e,m);var x,j,k,O=function(t){if(!d&&t in P)return P[t];switch(t){case h:return function(){return new r(this,t)};case v:return function(){return new r(this,t)}}return function(){return new r(this,t)}},E=e+" Iterator",A=b==v,S=!1,P=t.prototype,M=P[_]||P[p]||b&&P[b],L=M||O(b),T=b?A?O("entries"):L:void 0,N="Array"==e?P.entries||M:M;if(N&&(k=l(N.call(new t)),k!==Object.prototype&&(f(k,E,!0),n||c(k,_)||a(k,_,y))),A&&M&&M.name!==v&&(S=!0,L=function(){return M.call(this)}),n&&!w||!d&&!S&&P[_]||a(P,_,L),s[e]=L,s[E]=y,b)if(x={values:A?L:O(v),keys:g?L:O(h),entries:T},w)for(j in x)j in P||i(P,j,x[j]);else o(o.P+o.F*(d||S),e,x);return x}},{"./_export":36,"./_has":40,"./_hide":41,"./_iter-create":50,"./_iterators":54,"./_library":55,"./_object-gpo":61,"./_redefine":66,"./_set-to-string-tag":68,"./_wks":81}],52:[function(t,e,r){var n=t("./_wks")("iterator"),o=!1;try{var i=[7][n]();i["return"]=function(){o=!0},Array.from(i,function(){throw 2})}catch(a){}e.exports=function(t,e){if(!e&&!o)return!1;var r=!1;try{var i=[7],a=i[n]();a.next=function(){return{done:r=!0}},i[n]=function(){return a},t(i)}catch(c){}return r}},{"./_wks":81}],53:[function(t,e,r){e.exports=function(t,e){return{value:e,done:!!t}}},{}],54:[function(t,e,r){e.exports={}},{}],55:[function(t,e,r){e.exports=!0},{}],56:[function(t,e,r){var n=t("./_uid")("meta"),o=t("./_is-object"),i=t("./_has"),a=t("./_object-dp").f,c=0,s=Object.isExtensible||function(){return!0},u=!t("./_fails")(function(){return s(Object.preventExtensions({}))}),f=function(t){a(t,n,{value:{i:"O"+ ++c,w:{}}})},l=function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,n)){if(!s(t))return"F";if(!e)return"E";f(t)}return t[n].i},_=function(t,e){if(!i(t,n)){if(!s(t))return!0;if(!e)return!1;f(t)}return t[n].w},d=function(t){return u&&p.NEED&&s(t)&&!i(t,n)&&f(t),t},p=e.exports={KEY:n,NEED:!1,fastKey:l,getWeak:_,onFreeze:d}},{"./_fails":37,"./_has":40,"./_is-object":48,"./_object-dp":59,"./_uid":80}],57:[function(t,e,r){var n=t("./_global"),o=t("./_task").set,i=n.MutationObserver||n.WebKitMutationObserver,a=n.process,c=n.Promise,s="process"==t("./_cof")(a);e.exports=function(){var t,e,r,u=function(){var n,o;for(s&&(n=a.domain)&&n.exit();t;){o=t.fn,t=t.next;try{o()}catch(i){throw t?r():e=void 0,i}}e=void 0,n&&n.enter()};if(s)r=function(){a.nextTick(u)};else if(i){var f=!0,l=document.createTextNode("");new i(u).observe(l,{characterData:!0}),r=function(){l.data=f=!f}}else if(c&&c.resolve){var _=c.resolve();r=function(){_.then(u)}}else r=function(){o.call(n,u)};return function(n){var o={fn:n,next:void 0};e&&(e.next=o),t||(t=o,r()),e=o}}},{"./_cof":25,"./_global":39,"./_task":73}],58:[function(t,e,r){var n=t("./_an-object"),o=t("./_object-dps"),i=t("./_enum-bug-keys"),a=t("./_shared-key")("IE_PROTO"),c=function(){},s="prototype",u=function(){var e,r=t("./_dom-create")("iframe"),n=i.length,o="<",a=">";for(r.style.display="none",t("./_html").appendChild(r),r.src="javascript:",e=r.contentWindow.document,e.open(),e.write(o+"script"+a+"document.F=Object"+o+"/script"+a),e.close(),u=e.F;n--;)delete u[s][i[n]];return u()};e.exports=Object.create||function(t,e){var r;return null!==t?(c[s]=n(t),r=new c,c[s]=null,r[a]=t):r=u(),void 0===e?r:o(r,e)}},{"./_an-object":18,"./_dom-create":34,"./_enum-bug-keys":35,"./_html":42,"./_object-dps":60,"./_shared-key":69}],59:[function(t,e,r){var n=t("./_an-object"),o=t("./_ie8-dom-define"),i=t("./_to-primitive"),a=Object.defineProperty;r.f=t("./_descriptors")?Object.defineProperty:function(t,e,r){if(n(t),e=i(e,!0),n(r),o)try{return a(t,e,r)}catch(c){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(t[e]=r.value),t}},{"./_an-object":18,"./_descriptors":33,"./_ie8-dom-define":43,"./_to-primitive":79}],60:[function(t,e,r){var n=t("./_object-dp"),o=t("./_an-object"),i=t("./_object-keys");e.exports=t("./_descriptors")?Object.defineProperties:function(t,e){o(t);for(var r,a=i(e),c=a.length,s=0;c>s;)n.f(t,r=a[s++],e[r]);return t}},{"./_an-object":18,"./_descriptors":33,"./_object-dp":59,"./_object-keys":63}],61:[function(t,e,r){var n=t("./_has"),o=t("./_to-object"),i=t("./_shared-key")("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(t){return t=o(t),n(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},{"./_has":40,"./_shared-key":69,"./_to-object":78}],62:[function(t,e,r){var n=t("./_has"),o=t("./_to-iobject"),i=t("./_array-includes")(!1),a=t("./_shared-key")("IE_PROTO");e.exports=function(t,e){var r,c=o(t),s=0,u=[];for(r in c)r!=a&&n(c,r)&&u.push(r);for(;e.length>s;)n(c,r=e[s++])&&(~i(u,r)||u.push(r));return u}},{"./_array-includes":20,"./_has":40,"./_shared-key":69,"./_to-iobject":76}],63:[function(t,e,r){var n=t("./_object-keys-internal"),o=t("./_enum-bug-keys");e.exports=Object.keys||function(t){return n(t,o)}},{"./_enum-bug-keys":35,"./_object-keys-internal":62}],64:[function(t,e,r){e.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},{}],65:[function(t,e,r){var n=t("./_hide");e.exports=function(t,e,r){for(var o in e)r&&t[o]?t[o]=e[o]:n(t,o,e[o]);return t}},{"./_hide":41}],66:[function(t,e,r){e.exports=t("./_hide")},{"./_hide":41}],67:[function(t,e,r){"use strict";var n=t("./_global"),o=t("./_core"),i=t("./_object-dp"),a=t("./_descriptors"),c=t("./_wks")("species");e.exports=function(t){var e="function"==typeof o[t]?o[t]:n[t];a&&e&&!e[c]&&i.f(e,c,{configurable:!0,get:function(){return this}})}},{"./_core":29,"./_descriptors":33,"./_global":39,"./_object-dp":59,"./_wks":81}],68:[function(t,e,r){var n=t("./_object-dp").f,o=t("./_has"),i=t("./_wks")("toStringTag");e.exports=function(t,e,r){t&&!o(t=r?t:t.prototype,i)&&n(t,i,{configurable:!0,value:e})}},{"./_has":40,"./_object-dp":59,"./_wks":81}],69:[function(t,e,r){var n=t("./_shared")("keys"),o=t("./_uid");e.exports=function(t){return n[t]||(n[t]=o(t))}},{"./_shared":70,"./_uid":80}],70:[function(t,e,r){var n=t("./_global"),o="__core-js_shared__",i=n[o]||(n[o]={});e.exports=function(t){return i[t]||(i[t]={})}},{"./_global":39}],71:[function(t,e,r){var n=t("./_an-object"),o=t("./_a-function"),i=t("./_wks")("species");e.exports=function(t,e){var r,a=n(t).constructor;return void 0===a||void 0==(r=n(a)[i])?e:o(r)}},{"./_a-function":15,"./_an-object":18,"./_wks":81}],72:[function(t,e,r){var n=t("./_to-integer"),o=t("./_defined");e.exports=function(t){return function(e,r){var i,a,c=String(o(e)),s=n(r),u=c.length;return s<0||s>=u?t?"":void 0:(i=c.charCodeAt(s),i<55296||i>56319||s+1===u||(a=c.charCodeAt(s+1))<56320||a>57343?t?c.charAt(s):i:t?c.slice(s,s+2):(i-55296<<10)+(a-56320)+65536)}}},{"./_defined":32,"./_to-integer":75}],73:[function(t,e,r){var n,o,i,a=t("./_ctx"),c=t("./_invoke"),s=t("./_html"),u=t("./_dom-create"),f=t("./_global"),l=f.process,_=f.setImmediate,d=f.clearImmediate,p=f.MessageChannel,h=0,v={},y="onreadystatechange",m=function(){var t=+this;if(v.hasOwnProperty(t)){var e=v[t];delete v[t],e()}},b=function(t){m.call(t.data)};_&&d||(_=function(t){for(var e=[],r=1;arguments.length>r;)e.push(arguments[r++]);return v[++h]=function(){c("function"==typeof t?t:Function(t),e)},n(h),h},d=function(t){delete v[t]},"process"==t("./_cof")(l)?n=function(t){l.nextTick(a(m,t,1))}:p?(o=new p,i=o.port2,o.port1.onmessage=b,n=a(i.postMessage,i,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(n=function(t){f.postMessage(t+"","*")},f.addEventListener("message",b,!1)):n=y in u("script")?function(t){s.appendChild(u("script"))[y]=function(){s.removeChild(this),m.call(t)}}:function(t){setTimeout(a(m,t,1),0)}),e.exports={set:_,clear:d}},{"./_cof":25,"./_ctx":31,"./_dom-create":34,"./_global":39,"./_html":42,"./_invoke":44}],74:[function(t,e,r){var n=t("./_to-integer"),o=Math.max,i=Math.min;e.exports=function(t,e){return t=n(t),t<0?o(t+e,0):i(t,e)}},{"./_to-integer":75}],75:[function(t,e,r){var n=Math.ceil,o=Math.floor;e.exports=function(t){return isNaN(t=+t)?0:(t>0?o:n)(t)}},{}],76:[function(t,e,r){var n=t("./_iobject"),o=t("./_defined");e.exports=function(t){return n(o(t))}},{"./_defined":32,"./_iobject":45}],77:[function(t,e,r){var n=t("./_to-integer"),o=Math.min;e.exports=function(t){return t>0?o(n(t),9007199254740991):0}},{"./_to-integer":75}],78:[function(t,e,r){var n=t("./_defined");e.exports=function(t){return Object(n(t))}},{"./_defined":32}],79:[function(t,e,r){var n=t("./_is-object");e.exports=function(t,e){if(!n(t))return t;var r,o;if(e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!n(o=r.call(t)))return o;if(!e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},{"./_is-object":48}],80:[function(t,e,r){var n=0,o=Math.random();e.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+o).toString(36))}},{}],81:[function(t,e,r){var n=t("./_shared")("wks"),o=t("./_uid"),i=t("./_global").Symbol,a="function"==typeof i,c=e.exports=function(t){return n[t]||(n[t]=a&&i[t]||(a?i:o)("Symbol."+t))};c.store=n},{"./_global":39,"./_shared":70,"./_uid":80}],82:[function(t,e,r){var n=t("./_classof"),o=t("./_wks")("iterator"),i=t("./_iterators");e.exports=t("./_core").getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[n(t)]}},{"./_classof":24,"./_core":29,"./_iterators":54,"./_wks":81}],83:[function(t,e,r){var n=t("./_an-object"),o=t("./core.get-iterator-method");e.exports=t("./_core").getIterator=function(t){var e=o(t);if("function"!=typeof e)throw TypeError(t+" is not iterable!");return n(e.call(t))}},{"./_an-object":18,"./_core":29,"./core.get-iterator-method":82}],84:[function(t,e,r){var n=t("./_classof"),o=t("./_wks")("iterator"),i=t("./_iterators");e.exports=t("./_core").isIterable=function(t){var e=Object(t);return void 0!==e[o]||"@@iterator"in e||i.hasOwnProperty(n(e))}},{"./_classof":24,"./_core":29,"./_iterators":54,"./_wks":81}],85:[function(t,e,r){"use strict";var n=t("./_ctx"),o=t("./_export"),i=t("./_to-object"),a=t("./_iter-call"),c=t("./_is-array-iter"),s=t("./_to-length"),u=t("./_create-property"),f=t("./core.get-iterator-method");o(o.S+o.F*!t("./_iter-detect")(function(t){Array.from(t)}),"Array",{from:function(t){var e,r,o,l,_=i(t),d="function"==typeof this?this:Array,p=arguments.length,h=p>1?arguments[1]:void 0,v=void 0!==h,y=0,m=f(_);if(v&&(h=n(h,p>2?arguments[2]:void 0,2)),void 0==m||d==Array&&c(m))for(e=s(_.length),r=new d(e);e>y;y++)u(r,y,v?h(_[y],y):_[y]);else for(l=m.call(_),r=new d;!(o=l.next()).done;y++)u(r,y,v?a(l,h,[o.value,y],!0):o.value);return r.length=y,r}})},{"./_create-property":30,"./_ctx":31,"./_export":36,"./_is-array-iter":46,"./_iter-call":49,"./_iter-detect":52,"./_to-length":77,"./_to-object":78,"./core.get-iterator-method":82}],86:[function(t,e,r){"use strict";var n=t("./_add-to-unscopables"),o=t("./_iter-step"),i=t("./_iterators"),a=t("./_to-iobject");e.exports=t("./_iter-define")(Array,"Array",function(t,e){this._t=a(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,r=this._i++;return!t||r>=t.length?(this._t=void 0,o(1)):"keys"==e?o(0,r):"values"==e?o(0,t[r]):o(0,[r,t[r]])},"values"),i.Arguments=i.Array,n("keys"),n("values"),n("entries")},{"./_add-to-unscopables":16,"./_iter-define":51,"./_iter-step":53,"./_iterators":54,"./_to-iobject":76}],87:[function(t,e,r){},{}],88:[function(t,e,r){"use strict";var n,o,i,a=t("./_library"),c=t("./_global"),s=t("./_ctx"),u=t("./_classof"),f=t("./_export"),l=t("./_is-object"),_=t("./_a-function"),d=t("./_an-instance"),p=t("./_for-of"),h=t("./_species-constructor"),v=t("./_task").set,y=t("./_microtask")(),m="Promise",b=c.TypeError,g=c.process,w=c[m],g=c.process,x="process"==u(g),j=function(){},k=!!function(){try{var e=w.resolve(1),r=(e.constructor={})[t("./_wks")("species")]=function(t){t(j,j)};return(x||"function"==typeof PromiseRejectionEvent)&&e.then(j)instanceof r}catch(n){}}(),O=function(t,e){return t===e||t===w&&e===i},E=function(t){var e;return!(!l(t)||"function"!=typeof(e=t.then))&&e},A=function(t){return O(w,t)?new S(t):new o(t)},S=o=function(t){var e,r;this.promise=new t(function(t,n){if(void 0!==e||void 0!==r)throw b("Bad Promise constructor");e=t,r=n}),this.resolve=_(e),this.reject=_(r)},P=function(t){try{t()}catch(e){return{error:e}}},M=function(t,e){if(!t._n){t._n=!0;var r=t._c;y(function(){for(var n=t._v,o=1==t._s,i=0,a=function(e){var r,i,a=o?e.ok:e.fail,c=e.resolve,s=e.reject,u=e.domain;try{a?(o||(2==t._h&&N(t),t._h=1),a===!0?r=n:(u&&u.enter(),r=a(n),u&&u.exit()),r===e.promise?s(b("Promise-chain cycle")):(i=E(r))?i.call(r,c,s):c(r)):s(n)}catch(f){s(f)}};r.length>i;)a(r[i++]);t._c=[],t._n=!1,e&&!t._h&&L(t)})}},L=function(t){v.call(c,function(){var e,r,n,o=t._v;if(T(t)&&(e=P(function(){x?g.emit("unhandledRejection",o,t):(r=c.onunhandledrejection)?r({promise:t,reason:o}):(n=c.console)&&n.error&&n.error("Unhandled promise rejection",o)}),t._h=x||T(t)?2:1),t._a=void 0,e)throw e.error})},T=function(t){if(1==t._h)return!1;for(var e,r=t._a||t._c,n=0;r.length>n;)if(e=r[n++],e.fail||!T(e.promise))return!1;return!0},N=function(t){v.call(c,function(){var e;x?g.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})})},C=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),M(e,!0))},F=function(t){var e,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===t)throw b("Promise can't be resolved itself");(e=E(t))?y(function(){var n={_w:r,_d:!1};try{e.call(t,s(F,n,1),s(C,n,1))}catch(o){C.call(n,o)}}):(r._v=t,r._s=1,M(r,!1))}catch(n){C.call({_w:r,_d:!1},n)}}};k||(w=function(t){d(this,w,m,"_h"),_(t),n.call(this);try{t(s(F,this,1),s(C,this,1))}catch(e){C.call(this,e)}},n=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},n.prototype=t("./_redefine-all")(w.prototype,{then:function(t,e){var r=A(h(this,w));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=x?g.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&M(this,!1),r.promise},"catch":function(t){return this.then(void 0,t)}}),S=function(){var t=new n;this.promise=t,this.resolve=s(F,t,1),this.reject=s(C,t,1)}),f(f.G+f.W+f.F*!k,{Promise:w}),t("./_set-to-string-tag")(w,m),t("./_set-species")(m),i=t("./_core")[m],f(f.S+f.F*!k,m,{reject:function(t){var e=A(this),r=e.reject;return r(t),e.promise}}),f(f.S+f.F*(a||!k),m,{resolve:function(t){if(t instanceof w&&O(t.constructor,this))return t;var e=A(this),r=e.resolve;return r(t),e.promise}}),f(f.S+f.F*!(k&&t("./_iter-detect")(function(t){w.all(t)["catch"](j)})),m,{all:function(t){var e=this,r=A(e),n=r.resolve,o=r.reject,i=P(function(){var r=[],i=0,a=1;p(t,!1,function(t){var c=i++,s=!1;r.push(void 0),a++,e.resolve(t).then(function(t){s||(s=!0,r[c]=t,--a||n(r))},o)}),--a||n(r)});return i&&o(i.error),r.promise},race:function(t){var e=this,r=A(e),n=r.reject,o=P(function(){p(t,!1,function(t){e.resolve(t).then(r.resolve,n)})});return o&&n(o.error),r.promise}})},{"./_a-function":15,"./_an-instance":17,"./_classof":24,"./_core":29,"./_ctx":31,"./_export":36,"./_for-of":38,"./_global":39,"./_is-object":48,"./_iter-detect":52,"./_library":55,"./_microtask":57,"./_redefine-all":65,"./_set-species":67,"./_set-to-string-tag":68,"./_species-constructor":71,"./_task":73,"./_wks":81}],89:[function(t,e,r){"use strict";var n=t("./_collection-strong");e.exports=t("./_collection")("Set",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return n.def(this,t=0===t?0:t,t)}},n)},{"./_collection":28,"./_collection-strong":26}],90:[function(t,e,r){"use strict";var n=t("./_string-at")(!0);t("./_iter-define")(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,r=this._i;return r>=e.length?{value:void 0,done:!0}:(t=n(e,r),this._i+=t.length,{value:t,done:!1})})},{"./_iter-define":51,"./_string-at":72}],91:[function(t,e,r){var n=t("./_export");n(n.P+n.R,"Set",{toJSON:t("./_collection-to-json")("Set")})},{"./_collection-to-json":27,"./_export":36}],92:[function(t,e,r){t("./es6.array.iterator");for(var n=t("./_global"),o=t("./_hide"),i=t("./_iterators"),a=t("./_wks")("toStringTag"),c=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],s=0;s<5;s++){var u=c[s],f=n[u],l=f&&f.prototype;l&&!l[a]&&o(l,a,u),i[u]=i.Array}},{"./_global":39,"./_hide":41,"./_iterators":54,"./_wks":81,"./es6.array.iterator":86}],93:[function(t,e,r){(function(r){var n="object"==typeof r?r:"object"==typeof window?window:"object"==typeof self?self:this,o=n.regeneratorRuntime&&Object.getOwnPropertyNames(n).indexOf("regeneratorRuntime")>=0,i=o&&n.regeneratorRuntime;if(n.regeneratorRuntime=void 0,e.exports=t("./runtime"),o)n.regeneratorRuntime=i;else try{delete n.regeneratorRuntime}catch(a){
n.regeneratorRuntime=void 0}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./runtime":94}],94:[function(t,e,r){(function(t){!function(t){"use strict";function r(t,e,r,n){var i=e&&e.prototype instanceof o?e:o,a=Object.create(i.prototype),c=new d(n||[]);return a._invoke=u(t,r,c),a}function n(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(n){return{type:"throw",arg:n}}}function o(){}function i(){}function a(){}function c(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function s(e){function r(t,o,i,a){var c=n(e[t],e,o);if("throw"!==c.type){var s=c.arg,u=s.value;return u&&"object"==typeof u&&m.call(u,"__await")?Promise.resolve(u.__await).then(function(t){r("next",t,i,a)},function(t){r("throw",t,i,a)}):Promise.resolve(u).then(function(t){s.value=t,i(s)},a)}a(c.arg)}function o(t,e){function n(){return new Promise(function(n,o){r(t,e,n,o)})}return i=i?i.then(n,n):n()}"object"==typeof t.process&&t.process.domain&&(r=t.process.domain.bind(r));var i;this._invoke=o}function u(t,e,r){var o=O;return function(i,a){if(o===A)throw new Error("Generator is already running");if(o===S){if("throw"===i)throw a;return h()}for(r.method=i,r.arg=a;;){var c=r.delegate;if(c){var s=f(c,r);if(s){if(s===P)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===O)throw o=S,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=A;var u=n(t,e,r);if("normal"===u.type){if(o=r.done?S:E,u.arg===P)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(o=S,r.method="throw",r.arg=u.arg)}}}function f(t,e){var r=t.iterator[e.method];if(r===v){if(e.delegate=null,"throw"===e.method){if(t.iterator["return"]&&(e.method="return",e.arg=v,f(t,e),"throw"===e.method))return P;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return P}var o=n(r,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,P;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=v),e.delegate=null,P):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,P)}function l(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function d(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(l,this),this.reset(!0)}function p(t){if(t){var e=t[g];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,n=function o(){for(;++r<t.length;)if(m.call(t,r))return o.value=t[r],o.done=!1,o;return o.value=v,o.done=!0,o};return n.next=n}}return{next:h}}function h(){return{value:v,done:!0}}var v,y=Object.prototype,m=y.hasOwnProperty,b="function"==typeof Symbol?Symbol:{},g=b.iterator||"@@iterator",w=b.asyncIterator||"@@asyncIterator",x=b.toStringTag||"@@toStringTag",j="object"==typeof e,k=t.regeneratorRuntime;if(k)return void(j&&(e.exports=k));k=t.regeneratorRuntime=j?e.exports:{},k.wrap=r;var O="suspendedStart",E="suspendedYield",A="executing",S="completed",P={},M={};M[g]=function(){return this};var L=Object.getPrototypeOf,T=L&&L(L(p([])));T&&T!==y&&m.call(T,g)&&(M=T);var N=a.prototype=o.prototype=Object.create(M);i.prototype=N.constructor=a,a.constructor=i,a[x]=i.displayName="GeneratorFunction",k.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===i||"GeneratorFunction"===(e.displayName||e.name))},k.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,a):(t.__proto__=a,x in t||(t[x]="GeneratorFunction")),t.prototype=Object.create(N),t},k.awrap=function(t){return{__await:t}},c(s.prototype),s.prototype[w]=function(){return this},k.AsyncIterator=s,k.async=function(t,e,n,o){var i=new s(r(t,e,n,o));return k.isGeneratorFunction(e)?i:i.next().then(function(t){return t.done?t.value:i.next()})},c(N),N[x]="Generator",N[g]=function(){return this},N.toString=function(){return"[object Generator]"},k.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},k.values=p,d.prototype={constructor:d,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=v,this.done=!1,this.delegate=null,this.method="next",this.arg=v,this.tryEntries.forEach(_),!t)for(var e in this)"t"===e.charAt(0)&&m.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=v)},stop:function(){this.done=!0;var t=this.tryEntries[0],e=t.completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){function e(e,n){return i.type="throw",i.arg=t,r.next=e,n&&(r.method="next",r.arg=v),!!n}if(this.done)throw t;for(var r=this,n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n],i=o.completion;if("root"===o.tryLoc)return e("end");if(o.tryLoc<=this.prev){var a=m.call(o,"catchLoc"),c=m.call(o,"finallyLoc");if(a&&c){if(this.prev<o.catchLoc)return e(o.catchLoc,!0);if(this.prev<o.finallyLoc)return e(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return e(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return e(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&m.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o.finallyLoc,P):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),P},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),P}},"catch":function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:p(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=v),P}}}("object"==typeof t?t:"object"==typeof window?window:"object"==typeof self?self:this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],95:[function(t,e,r){e.exports={name:"wiki-article-stats",version:"1.2.0","private":!0,description:"",dependencies:{},devDependencies:{"babel-plugin-transform-async-to-generator":"^6.4.6","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-plugin-transform-runtime":"^6.4.3","babel-preset-es2015":"^6.3.13","babel-runtime":"^6.3.19",babelify:"^7.2.0",browserify:"^13.0.0",gulp:"^3.9.0","gulp-if":"^2.0.0","gulp-notify":"^2.2.0","gulp-uglify":"^1.5.3","node-lessify":"^0.1.5","vinyl-buffer":"^1.0.0","vinyl-source-stream":"^1.1.0",watchify:"^3.7.0",yargs:"^4.3.2"}}},{}],96:[function(t,e,r){"use strict";var n=t("./loader");t("./ui"),(0,n.initGadget)()},{"./loader":97,"./ui":102}],97:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){if(e&&_.push(e),!Array.isArray(t))return void d.add(t);var r=!0,n=!1,o=void 0;try{for(var i,a=(0,u["default"])(t);!(r=(i=a.next()).done);r=!0){var c=i.value;d.add(c)}}catch(s){n=!0,o=s}finally{try{!r&&a["return"]&&a["return"]()}finally{if(n)throw o}}}function i(){mw.loader.using([].concat((0,c["default"])(d)),function(){_.forEach(function(t){return t()})})}Object.defineProperty(r,"__esModule",{value:!0});var a=t("babel-runtime/helpers/toConsumableArray"),c=n(a),s=t("babel-runtime/core-js/get-iterator"),u=n(s),f=t("babel-runtime/core-js/set"),l=n(f);r.loadUsing=o,r.initGadget=i;var _=[],d=new l["default"]},{"babel-runtime/core-js/get-iterator":2,"babel-runtime/core-js/set":5,"babel-runtime/helpers/toConsumableArray":8}],98:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function o(){return mw.config.get("wgRevisionId")}Object.defineProperty(r,"__esModule",{value:!0}),r.getArticleSize=void 0;var i=t("babel-runtime/regenerator"),a=n(i),c=t("babel-runtime/core-js/promise"),s=n(c),u=t("babel-runtime/helpers/slicedToArray"),f=n(u),l=t("babel-runtime/helpers/asyncToGenerator"),_=n(l),d=function(){var t=(0,_["default"])(a["default"].mark(function e(t){var r,n,o,i,c,u;return a["default"].wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s["default"].all([(0,h["default"])({action:"query",prop:"revisions",rvprop:"size",revids:t}),(0,h["default"])({oldid:t,action:"parse",redirects:!0,prop:["text"],wrapoutputclass:""})]);case 2:return r=e.sent,n=(0,f["default"])(r,2),o=n[0],i=n[1],c=o.query&&o.query.pages[0].revisions,u=c?c[0]:{},e.abrupt("return",{size:u.size,html:i.parse.text});case 9:case"end":return e.stop()}},e,this)}));return function(e){return t.apply(this,arguments)}}();r.getArticleSize=function(){var t=(0,_["default"])(a["default"].mark(function e(t){var r,n,o,i;return a["default"].wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,d(t);case 2:return r=e.sent,n=r.size,o=r.html,i=(0,v.getPlainText)(o),e.abrupt("return",{bytes:n,words:(0,v.getWordCount)(i),chars:i.length});case 7:case"end":return e.stop()}},e,this)}));return function(e){return t.apply(this,arguments)}}();r.getCurrentRevId=o;var p=t("./mwApi"),h=n(p),v=t("./parser")},{"./mwApi":99,"./parser":100,"babel-runtime/core-js/promise":4,"babel-runtime/helpers/asyncToGenerator":6,"babel-runtime/helpers/slicedToArray":7,"babel-runtime/regenerator":9}],99:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function o(t){return new a["default"](function(e,r){f||r("Api not set.");var n={format:"json",formatversion:"2"};for(var o in t)n[o]=t[o];f.post(n).done(e).fail(r)})}Object.defineProperty(r,"__esModule",{value:!0});var i=t("babel-runtime/core-js/promise"),a=n(i);r["default"]=o;var c=t("./loader"),s=t("../package.json"),u=n(s),f=void 0;(0,c.loadUsing)("mediawiki.api",function(){f=new mw.Api({ajax:{headers:{"Api-User-Agent":u["default"].name+"/"+u["default"].version}}})})},{"../package.json":95,"./loader":97,"babel-runtime/core-js/promise":4}],100:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){return t.childNodes.length?[].concat((0,s["default"])(t.childNodes)).filter(function(t){return e.indexOf(t.nodeName.toLowerCase())===-1}).map(function(t){return o(t,e).trim()}).filter(function(t){return t}).join(" "):t.textContent}function i(t){var e=["sup","sub","style","table","div","ul","ol","li","dl","dd","dt","#comment","h1","h2","h3","h4","h5","h6"],r=new DOMParser,n=r.parseFromString(t,"text/html");return o(n.body,e)}function a(t){return(t.match(/[^\s]*[^\s.,;:()\-—\[\]'"«»„“$%*°]+[^\s]*(\s|$)+/g)||[]).length}Object.defineProperty(r,"__esModule",{value:!0});var c=t("babel-runtime/helpers/toConsumableArray"),s=n(c);r.getPlainText=i,r.getWordCount=a},{"babel-runtime/helpers/toConsumableArray":8}],101:[function(t,e,r){e.exports=".article-stats dl{width:200px;margin:5px auto}.article-stats dt{float:left;clear:left;margin-right:10px}.article-stats dd{margin-left:40%;text-align:right}"},{}],102:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function o(){i().dialog({modal:!0,resizable:!1})}function i(){var t=$("<dl />");return a(t,{}),_(t),$("<div />").attr("title","Article stats").addClass("article-stats").append(t)}function a(t,e){var r=e.bytes,n=e.words,o=e.chars;$(t).empty(),$(t).append(c("Size, bytes",r),c("Word count",n),c("Character count",o))}function c(t,e){return[$("<dt />").text(t),$("<dd />").text((e||"…").toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1 "))]}var s=t("babel-runtime/regenerator"),u=n(s),f=t("babel-runtime/helpers/asyncToGenerator"),l=n(f),_=function(){var t=(0,l["default"])(u["default"].mark(function e(t){var r;return u["default"].wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=(0,p.getCurrentRevId)(),e.t0=a,e.t1=t,e.next=5,(0,p.getArticleSize)(r);case 5:e.t2=e.sent,(0,e.t0)(e.t1,e.t2);case 7:case"end":return e.stop()}},e,this)}));return function(e){return t.apply(this,arguments)}}(),d=t("./loader"),p=t("./mw"),h=t("./style.less"),v=n(h);(0,d.loadUsing)(["jquery.ui","mediawiki.util"],function(){mw.util.addCSS(v["default"]),$(mw.util.addPortletLink("p-cactions","#","Статистика")).click(function(t){t.preventDefault(),o()})})},{"./loader":97,"./mw":98,"./style.less":101,"babel-runtime/helpers/asyncToGenerator":6,"babel-runtime/regenerator":9}]},{},[96]);
Источник —

Same as Gadget-articleStats.js