2020-03-31 20:42:07 +08:00
! function ( e ) { var t = { } ; function n ( r ) { if ( t [ r ] ) return t [ r ] . exports ; var l = t [ r ] = { i : r , l : ! 1 , exports : { } } ; return e [ r ] . call ( l . exports , l , l . exports , n ) , l . l = ! 0 , l . exports } n . m = e , n . c = t , n . d = function ( e , t , r ) { n . o ( e , t ) || Object . defineProperty ( e , t , { enumerable : ! 0 , get : r } ) } , n . r = function ( e ) { "undefined" != typeof Symbol && Symbol . toStringTag && Object . defineProperty ( e , Symbol . toStringTag , { value : "Module" } ) , Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) } , n . t = function ( e , t ) { if ( 1 & t && ( e = n ( e ) ) , 8 & t ) return e ; if ( 4 & t && "object" == typeof e && e && e . _ _esModule ) return e ; var r = Object . create ( null ) ; if ( n . r ( r ) , Object . defineProperty ( r , "default" , { enumerable : ! 0 , value : e } ) , 2 & t && "string" != typeof e ) for ( var l in e ) n . d ( r , l , function ( t ) { return e [ t ] } . bind ( null , l ) ) ; return r } , n . n = function ( e ) { var t = e && e . _ _esModule ? function ( ) { return e . default } : function ( ) { return e } ; return n . d ( t , "a" , t ) , t } , n . o = function ( e , t ) { return Object . prototype . hasOwnProperty . call ( e , t ) } , n . p = "" , n ( n . s = 2 ) } ( [ function ( e , t , n ) { "use strict" ; e . exports = n ( 3 ) } , function ( e , t , n ) { "use strict" ;
/ *
object - assign
( c ) Sindre Sorhus
@ license MIT
2020-03-31 20:57:48 +08:00
* /var r=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;function i(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,o,u=i(e),c=1;c<arguments.length;c++){for(var s in n=Object(arguments[c]))l.call(n,s)&&(u[s]=n[s]);if(r){o=r(n);for(var f=0;f<o.length;f++)a.call(n,o[f])&&(u[o[f]]=n[o[f]])}}return u}},function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],r=!0,l=!1,a=void 0;try{for(var i,o=e[Symbol.iterator]();!(r=(i=o.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){l=!0,a=e}finally{try{r||null==o.return||o.return()}finally{if(l)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}for(var a=n(0),i=n(4),o=n(8),u=n(9),c=n(10),s=n(11),f=n(12),d=n(13),p=n(14),m=n(15),h=m.setLocation,v=m.decodeLocation,y=a.useState,g=a.useMemo,b=a.useEffect,w=window.data,E={},k=0;k<window.metricsToShow.length;k++)E[window.metricsToShow[k]]=!0;var x=!0;i.render(a.createElement((function(){var e=v(),t=l(y(e&&e.activeSort||{sortKey:"file",order:"desc"}),2),n=t[0],m=t[1],k=l(y(e&&e.isFlat||!1),2),S=k[0],T=k[1],C=l(y(e&&e.activeFilters||{low:!0,medium:!0,high:!0}),2),_=C[0],P=C[1],N=l(y(e&&e.expandedLines||[]),2),O=N[0],F=N[1],z=l(y(e&&e.fileFilter||""),2),M=z[0],I=z[1],R=g((function(){return s(w,E,n,S,_,M)}),[n,S,_,M]),j=w.metrics;return b((function(){h(x,n,S,_,M,O),x=!1}),[n,S,_,M,O]),b((function(){window.onpopstate=function(){var e=v();e&&i.unstable_batchedUpdates((function(){P(e.activeFilters),m(e.activeSort),T(e.isFlat),F(e.expandedLines),I(e.fileFilter)}))}}),[]),a.createElement("div",{className:"layout"},a.createElement("div",{className:"layout__section"},a.createElement(c,{metrics:j,metricsToShow:E})),a.createElement("div",{className:"layout__section"},a.createElement("div",{className:"toolbar"},a.createElement("div",{className:"toolbar__item"},a.createElement(f,{setIsFlat:T,isFlat:S})),a.createElement("div",{className:"toolbar__item"},a.createElement(d,{activeFilters:_,setFilters:P})))),a.createElement("div",{className:"layout__section"},a.createElement("h1",null,a.createElement(p,{fileFilter:M,setFileFilter:I}))),a.createElement("div",{className:"layout__section layout__section--fill"},a.createElement("table",{className:"coverage-summary"},a.createElement(o,{onSort:function(e){m(e)},activeSort:n,metricsToShow:E}),a.createElement("tbody",null,R.map((function(e){return a.createElement(u,r({},e,{key:e.file,metricsToShow:E,expandedLines:O,setExpandedLines:F,fileFilter:M,setFileFilter:I}))}))))),a.createElement("div",{className:"layout__section center small quiet"},"Code coverage generated by"," ",a.createElement("a",{href:"https:/ / istanbul . js . org / ",target:" _blank "}," istanbul ")," "," at ",window.generatedDatetime))}),null),document.getElementById(" app "))},function(e,t,n){" use strict " ;
/ * * @ l i c e n s e R e a c t v 1 6 . 1 2 . 0
2020-03-31 20:42:07 +08:00
* react . production . min . js
*
* Copyright ( c ) Facebook , Inc . and its affiliates .
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree .
2020-03-31 20:57:48 +08:00
* /var r=n(1),l="function"==typeof Symbol&&Symbol.for,a=l?Symbol.for("react.element"):60103,i=l?Symbol.for("react.portal"):60106,o=l?Symbol.for("react.fragment"):60107,u=l?Symbol.for("react.strict_mode"):60108,c=l?Symbol.for("react.profiler"):60114,s=l?Symbol.for("react.provider"):60109,f=l?Symbol.for("react.context"):60110,d=l?Symbol.for("react.forward_ref"):60112,p=l?Symbol.for("react.suspense"):60113;l&&Symbol.for("react.suspense_list");var m=l?Symbol.for("react.memo"):60115,h=l?Symbol.for("react.lazy"):60116;l&&Symbol.for("react.fundamental"),l&&Symbol.for("react.responder"),l&&Symbol.for("react.scope");var v="function"==typeof Symbol&&Symbol.iterator;function y(e){for(var t="https:/ / reactjs . org / docs / error - decoder . html ? invariant = "+e,n=1;n<arguments.length;n++)t+=" & args [ ] = "+encodeURIComponent(arguments[n]);return" Minified React error # "+e+" ; visit "+t+" for the full message or use the non - minified dev environment for full errors and additional helpful warnings . "}var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b={};function w(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||g}function E(){}function k(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||g}w.prototype.isReactComponent={},w.prototype.setState=function(e,t){if(" object "!=typeof e&&" function "!=typeof e&&null!=e)throw Error(y(85));this.updater.enqueueSetState(this,e,t," setState ")},w.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e," forceUpdate ")},E.prototype=w.prototype;var x=k.prototype=new E;x.constructor=k,r(x,w.prototype),x.isPureReactComponent=!0;var S={current:null},T={current:null},C=Object.prototype.hasOwnProperty,_={key:!0,ref:!0,__self:!0,__source:!0};function P(e,t,n){var r,l={},i=null,o=null;if(null!=t)for(r in void 0!==t.ref&&(o=t.ref),void 0!==t.key&&(i=" "+t.key),t)C.call(t,r)&&!_.hasOwnProperty(r)&&(l[r]=t[r]);var u=arguments.length-2;if(1===u)l.children=n;else if(1<u){for(var c=Array(u),s=0;s<u;s++)c[s]=arguments[s+2];l.children=c}if(e&&e.defaultProps)for(r in u=e.defaultProps)void 0===l[r]&&(l[r]=u[r]);return{$$typeof:a,type:e,key:i,ref:o,props:l,_owner:T.current}}function N(e){return" object "==typeof e&&null!==e&&e.$$typeof===a}var O=/\/+/g,F=[];function z(e,t,n,r){if(F.length){var l=F.pop();return l.result=e,l.keyPrefix=t,l.func=n,l.context=r,l.count=0,l}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function M(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>F.length&&F.push(e)}function I(e,t,n){return null==e?0:function e(t,n,r,l){var o=typeof t;" undefined "!==o&&" boolean "!==o||(t=null);var u=!1;if(null===t)u=!0;else switch(o){case" string ":case" number ":u=!0;break;case" object ":switch(t.$$typeof){case a:case i:u=!0}}if(u)return r(l,t," "===n?" . "+R(t,0):n),1;if(u=0,n=" "===n?" . ":n+" : ",Array.isArray(t))for(var c=0;c<t.length;c++){var s=n+R(o=t[c],c);u+=e(o,s,r,l)}else if(null===t||" object "!=typeof t?s=null:s=" function "==typeof(s=v&&t[v]||t[" @ @ iterator "])?s:null," function "==typeof s)for(t=s.call(t),c=0;!(o=t.next()).done;)u+=e(o=o.value,s=n+R(o,c++),r,l);else if(" object "===o)throw r=" "+t,Error(y(31," [ object Object ] "===r?" object with keys { "+Object.keys(t).join(" , ")+" } ":r," "));return u}(e," ",t,n)}function R(e,t){return" object "==typeof e&&null!==e&&null!=e.key?function(e){var t={" = ":" = 0 "," : ":" = 2 "};return" $ "+(" "+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function j(e,t){e.func.call(e.context,t,e.count++)}function L(e,t,n){var r=e.result,l=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?U(e,r,n,(function(e){return e})):null!=e&&(N(e)&&(e=function(e,t){return{$$typeof:a,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,l+(!e.key||t&&t.key===e.key?" ":(" "+e.key).replace(O," $ & /")+"/ ")+n)),r.push(e))}function U(e,t,n,r,l){var a=" ";null!=n&&(a=(" "+n).replace(O," $ & /")+"/ " ) , I ( e , L , t = z ( t , a , r , l ) ) , M ( t ) } function D ( ) { var e = S . current ; if ( null === e ) throw Error ( y ( 321 ) ) ; return e } var A = { Children : { map : function ( e , t , n ) { if ( null == e ) return e ; var r = [ ] ; return
/ * * @ l i c e n s e R e a c t v 1 6 . 1 2 . 0
2020-03-31 20:42:07 +08:00
* react - dom . production . min . js
*
* Copyright ( c ) Facebook , Inc . and its affiliates .
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree .
2020-03-31 20:57:48 +08:00
* /var r=n(0),l=n(1),a=n(6);function i(e){for(var t="https:/ / reactjs . org / docs / error - decoder . html ? invariant = "+e,n=1;n<arguments.length;n++)t+=" & args [ ] = "+encodeURIComponent(arguments[n]);return" Minified React error # "+e+" ; visit "+t+" for the full message or use the non - minified dev environment for full errors and additional helpful warnings . "}if(!r)throw Error(i(227));var o=null,u={};function c(){if(o)for(var e in u){var t=u[e],n=o.indexOf(e);if(!(-1<n))throw Error(i(96,e));if(!f[n]){if(!t.extractEvents)throw Error(i(97,e));for(var r in f[n]=t,n=t.eventTypes){var l=void 0,a=n[r],c=t,p=r;if(d.hasOwnProperty(p))throw Error(i(99,p));d[p]=a;var m=a.phasedRegistrationNames;if(m){for(l in m)m.hasOwnProperty(l)&&s(m[l],c,p);l=!0}else a.registrationName?(s(a.registrationName,c,p),l=!0):l=!1;if(!l)throw Error(i(98,r,e))}}}}function s(e,t,n){if(p[e])throw Error(i(100,e));p[e]=t,m[e]=t.eventTypes[n].dependencies}var f=[],d={},p={},m={};function h(e,t,n,r,l,a,i,o,u){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(e){this.onError(e)}}var v=!1,y=null,g=!1,b=null,w={onError:function(e){v=!0,y=e}};function E(e,t,n,r,l,a,i,o,u){v=!1,y=null,h.apply(w,arguments)}var k=null,x=null,S=null;function T(e,t,n){var r=e.type||" unknown - event ";e.currentTarget=S(n),function(e,t,n,r,l,a,o,u,c){if(E.apply(this,arguments),v){if(!v)throw Error(i(198));var s=y;v=!1,y=null,g||(g=!0,b=s)}}(r,t,void 0,e),e.currentTarget=null}function C(e,t){if(null==t)throw Error(i(30));return null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function _(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}var P=null;function N(e){if(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t))for(var r=0;r<t.length&&!e.isPropagationStopped();r++)T(e,t[r],n[r]);else t&&T(e,t,n);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function O(e){if(null!==e&&(P=C(P,e)),e=P,P=null,e){if(_(e,N),P)throw Error(i(95));if(g)throw e=b,g=!1,b=null,e}}var F={injectEventPluginOrder:function(e){if(o)throw Error(i(101));o=Array.prototype.slice.call(e),c()},injectEventPluginsByName:function(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var r=e[t];if(!u.hasOwnProperty(t)||u[t]!==r){if(u[t])throw Error(i(102,t));u[t]=r,n=!0}}n&&c()}};function z(e,t){var n=e.stateNode;if(!n)return null;var r=k(n);if(!r)return null;n=r[t];e:switch(t){case" onClick ":case" onClickCapture ":case" onDoubleClick ":case" onDoubleClickCapture ":case" onMouseDown ":case" onMouseDownCapture ":case" onMouseMove ":case" onMouseMoveCapture ":case" onMouseUp ":case" onMouseUpCapture ":(r=!r.disabled)||(r=!(" button "===(e=e.type)||" input "===e||" select "===e||" textarea "===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&" function "!=typeof n)throw Error(i(231,t,typeof n));return n}var M=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;M.hasOwnProperty(" ReactCurrentDispatcher ")||(M.ReactCurrentDispatcher={current:null}),M.hasOwnProperty(" ReactCurrentBatchConfig ")||(M.ReactCurrentBatchConfig={suspense:null});var I=/^(.*)[\\\/]/,R=" function "==typeof Symbol&&Symbol.for,j=R?Symbol.for(" react . element "):60103,L=R?Symbol.for(" react . portal "):60106,U=R?Symbol.for(" react . fragment "):60107,D=R?Symbol.for(" react . strict _mode "):60108,A=R?Symbol.for(" react . profiler "):60114,V=R?Symbol.for(" react . provider "):60109,W=R?Symbol.for(" react . context "):60110,B=R?Symbol.for(" react . concurrent _mode "):60111,H=R?Symbol.for(" react . forward _ref "):60112,K=R?Symbol.for(" react . suspense "):60113,$=R?Symbol.for(" react . suspense _list "):60120,Q=R?Symbol.for(" react . memo "):60115,q=R?Symbol.for(" react . lazy "):60116;R&&Symbol.for(" react . fundamental "),R&&Symbol.for(" react . responder "),R&&Symbol.for(" react . scope ");var Y=" function "==typeof Symbol&&Symbol.iterator;function X(e){return null===e||" object "!=typeof e?null:" function "==typeof(e=Y&&e[Y]||e[" @ @ iterator "])?e:null}function G(e){if(null==e)return null;if(" function "==typeof e)return e.displayName||e.name||null;if(" string "==typeof e)return e;switch(e){case U:return" Fragment ";case L:return" Porta
/ * * @ l i c e n s e R e a c t v 0 . 1 8 . 0
2020-03-31 20:42:07 +08:00
* scheduler . production . min . js
*
* Copyright ( c ) Facebook , Inc . and its affiliates .
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree .
2020-03-31 20:57:48 +08:00
* /var r,l,a,i,o;if(Object.defineProperty(t,"__esModule",{value:!0}),"undefined"==typeof window||"function"!=typeof MessageChannel){var u=null,c=null,s=function(){if(null!==u)try{var e=t.unstable_now();u(!0,e),u=null}catch(e){throw setTimeout(s,0),e}},f=Date.now();t.unstable_now=function(){return Date.now()-f},r=function(e){null!==u?setTimeout(r,0,e):(u=e,setTimeout(s,0))},l=function(e,t){c=setTimeout(e,t)},a=function(){clearTimeout(c)},i=function(){return!1},o=t.unstable_forceFrameRate=function(){}}else{var d=window.performance,p=window.Date,m=window.setTimeout,h=window.clearTimeout;if("undefined"!=typeof console){var v=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https:/ / fb . me / react - polyfills ")," function "!=typeof v&&console.error(" This browser doesn ' t support cancelAnimationFrame . Make sure that you load a polyfill in older browsers . https : //fb.me/react-polyfills")}if("object"==typeof d&&"function"==typeof d.now)t.unstable_now=function(){return d.now()};else{var y=p.now();t.unstable_now=function(){return p.now()-y}}var g=!1,b=null,w=-1,E=5,k=0;i=function(){return t.unstable_now()>=k},o=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):E=0<e?Math.floor(1e3/e):5};var x=new MessageChannel,S=x.port2;x.port1.onmessage=function(){if(null!==b){var e=t.unstable_now();k=e+E;try{b(!0,e)?S.postMessage(null):(g=!1,b=null)}catch(e){throw S.postMessage(null),e}}else g=!1},r=function(e){b=e,g||(g=!0,S.postMessage(null))},l=function(e,n){w=m((function(){e(t.unstable_now())}),n)},a=function(){h(w),w=-1}}function T(e,t){var n=e.length;e.push(t);e:for(;;){var r=Math.floor((n-1)/2),l=e[r];if(!(void 0!==l&&0<P(l,t)))break e;e[r]=t,e[n]=l,n=r}}function C(e){return void 0===(e=e[0])?null:e}function _(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,l=e.length;r<l;){var a=2*(r+1)-1,i=e[a],o=a+1,u=e[o];if(void 0!==i&&0>P(i,n))void 0!==u&&0>P(u,i)?(e[r]=u,e[o]=n,r=o):(e[r]=i,e[a]=n,r=a);else{if(!(void 0!==u&&0>P(u,n)))break e;e[r]=u,e[o]=n,r=o}}}return t}return null}function P(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var N=[],O=[],F=1,z=null,M=3,I=!1,R=!1,j=!1;function L(e){for(var t=C(O);null!==t;){if(null===t.callback)_(O);else{if(!(t.startTime<=e))break;_(O),t.sortIndex=t.expirationTime,T(N,t)}t=C(O)}}function U(e){if(j=!1,L(e),!R)if(null!==C(N))R=!0,r(D);else{var t=C(O);null!==t&&l(U,t.startTime-e)}}function D(e,n){R=!1,j&&(j=!1,a()),I=!0;var r=M;try{for(L(n),z=C(N);null!==z&&(!(z.expirationTime>n)||e&&!i());){var o=z.callback;if(null!==o){z.callback=null,M=z.priorityLevel;var u=o(z.expirationTime<=n);n=t.unstable_now(),"function"==typeof u?z.callback=u:z===C(N)&&_(N),L(n)}else _(N);z=C(N)}if(null!==z)var c=!0;else{var s=C(O);null!==s&&l(U,s.startTime-n),c=!1}return c}finally{z=null,M=r,I=!1}}function A(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var V=o;t.unstable_ImmediatePriority=1,t.unstable_UserBlockingPriority=2,t.unstable_NormalPriority=3,t.unstable_IdlePriority=5,t.unstable_LowPriority=4,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=M;M=e;try{return t()}finally{M=n}},t.unstable_next=function(e){switch(M){case 1:case 2:case 3:var t=3;break;default:t=M}var n=M;M=t;try{return e()}finally{M=n}},t.unstable_scheduleCallback=function(e,n,i){var o=t.unstable_now();if("object"==typeof i&&null!==i){var u=i.delay;u="number"==typeof u&&0<u?o+u:o,i="number"==typeof i.timeout?i.timeout:A(e)}else i=A(e),u=o;return e={id:F++,callback:n,priorityLevel:e,startTime:u,expirationTime:i=u+i,sortIndex:-1},u>o?(e.sortIndex=u,T(O,e),null===C(N)&&e===C(O)&&(j?a():j=!0,l(U,u-o))):(e.sortIndex=i,T(N,e),R||I||(R=!0,r(D))),e},t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_wrapCallbac