Socket
Socket
Sign inDemoInstall

dva

Package Overview
Dependencies
13
Maintainers
1
Versions
82
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.3.1 to 2.3.2

2

dist/dva.dynamic.min.js

@@ -1,1 +0,1 @@

!function(t,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("react")):"function"==typeof define&&define.amd?define(["react"],n):(t.dva=t.dva||{},t.dva.dynamic=n(t.React))}(this,function(t){"use strict";function n(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function e(t,n){return t(n={exports:{}},n.exports),n.exports}t=t&&t.hasOwnProperty("default")?t.default:t;var r={}.toString,o=function(t){return r.call(t).slice(8,-1)},i=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==o(t)?t.split(""):Object(t)},u=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t},c=function(t){return i(u(t))},f={f:{}.propertyIsEnumerable},a=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}},s=function(t){return"object"==typeof t?null!==t:"function"==typeof t},l=function(t,n){if(!s(t))return t;var e,r;if(n&&"function"==typeof(e=t.toString)&&!s(r=e.call(t)))return r;if("function"==typeof(e=t.valueOf)&&!s(r=e.call(t)))return r;if(!n&&"function"==typeof(e=t.toString)&&!s(r=e.call(t)))return r;throw TypeError("Can't convert object to primitive value")},p={}.hasOwnProperty,v=function(t,n){return p.call(t,n)},h=function(t){try{return!!t()}catch(t){return!0}},y=!h(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}),d=e(function(t){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)}),m=d.document,b=s(m)&&s(m.createElement),g=function(t){return b?m.createElement(t):{}},_=!y&&!h(function(){return 7!=Object.defineProperty(g("div"),"a",{get:function(){return 7}}).a}),O=Object.getOwnPropertyDescriptor,w={f:y?O:function(t,n){if(t=c(t),n=l(n,!0),_)try{return O(t,n)}catch(t){}if(v(t,n))return a(!f.f.call(t,n),t[n])}},j=e(function(t){var n=t.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)}),S=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t},P=function(t,n,e){if(S(t),void 0===n)return t;switch(e){case 1:return function(e){return t.call(n,e)};case 2:return function(e,r){return t.call(n,e,r)};case 3:return function(e,r,o){return t.call(n,e,r,o)}}return function(){return t.apply(n,arguments)}},E=function(t){if(!s(t))throw TypeError(t+" is not an object!");return t},x=Object.defineProperty,T={f:y?Object.defineProperty:function(t,n,e){if(E(t),n=l(n,!0),E(e),_)try{return x(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(t[n]=e.value),t}},A=y?function(t,n,e){return T.f(t,n,a(1,e))}:function(t,n,e){return t[n]=e,t},L=function(t,n,e){var r,o,i,u=t&L.F,c=t&L.G,f=t&L.S,a=t&L.P,s=t&L.B,l=t&L.W,p=c?j:j[n]||(j[n]={}),h=p.prototype,y=c?d:f?d[n]:(d[n]||{}).prototype;for(r in c&&(e=n),e)(o=!u&&y&&void 0!==y[r])&&v(p,r)||(i=o?y[r]:e[r],p[r]=c&&"function"!=typeof y[r]?e[r]:s&&o?P(i,d):l&&y[r]==i?function(t){var n=function(n,e,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,e)}return new t(n,e,r)}return t.apply(this,arguments)};return n.prototype=t.prototype,n}(i):a&&"function"==typeof i?P(Function.call,i):i,a&&((p.virtual||(p.virtual={}))[r]=i,t&L.R&&h&&!h[r]&&A(h,r,i)))};L.F=1,L.G=2,L.S=4,L.P=8,L.B=16,L.W=32,L.U=64,L.R=128;var M=L,k=function(t,n){var e=(j.Object||{})[t]||Object[t],r={};r[t]=n(e),M(M.S+M.F*h(function(){e(1)}),"Object",r)},C=w.f;k("getOwnPropertyDescriptor",function(){return function(t,n){return C(c(t),n)}});var F=j.Object,N=function(t,n){return F.getOwnPropertyDescriptor(t,n)};M(M.S+M.F*!y,"Object",{defineProperty:T.f});var I=j.Object,R=function(t,n,e){return I.defineProperty(t,n,e)},D=e(function(t){t.exports=function(t){if(t&&t.__esModule)return t;var n={};if(null!=t)for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e)){var r=R&&N?N(t,e):{};r.get||r.set?R(n,e,r):n[e]=t[e]}return n.default=t,n}});n(D);var G=e(function(t){t.exports=function(t){return t&&t.__esModule?t:{default:t}}});n(G);var W,V=function(t){if(Array.isArray(t)){for(var n=0,e=Array(t.length);t.length>n;n++)e[n]=t[n];return e}},B=Math.ceil,H=Math.floor,K=function(t){return isNaN(t=+t)?0:(t>0?H:B)(t)},U=A,J={},z=Math.min,q=function(t){return t>0?z(K(t),9007199254740991):0},Y=Math.max,Q=Math.min,X=e(function(t){var n=d["__core-js_shared__"]||(d["__core-js_shared__"]={});(t.exports=function(t,e){return n[t]||(n[t]=void 0!==e?e:{})})("versions",[]).push({version:j.version,mode:"pure",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})}),Z=0,$=Math.random(),tt=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++Z+$).toString(36))},nt=X("keys"),et=function(t){return nt[t]||(nt[t]=tt(t))},rt=(W=!1,function(t,n,e){var r,o=c(t),i=q(o.length),u=function(t,n){return 0>(t=K(t))?Y(t+n,0):Q(t,n)}(e,i);if(W&&n!=n){for(;i>u;)if((r=o[u++])!=r)return!0}else for(;i>u;u++)if((W||u in o)&&o[u]===n)return W||u||0;return!W&&-1}),ot=et("IE_PROTO"),it=function(t,n){var e,r=c(t),o=0,i=[];for(e in r)e!=ot&&v(r,e)&&i.push(e);for(;n.length>o;)v(r,e=n[o++])&&(~rt(i,e)||i.push(e));return i},ut="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),ct=Object.keys||function(t){return it(t,ut)},ft=y?Object.defineProperties:function(t,n){E(t);for(var e,r=ct(n),o=r.length,i=0;o>i;)T.f(t,e=r[i++],n[e]);return t},at=d.document,st=at&&at.documentElement,lt=et("IE_PROTO"),pt=function(){},vt=function(){var t,n=g("iframe"),e=ut.length;for(n.style.display="none",st.appendChild(n),n.src="javascript:",(t=n.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),vt=t.F;e--;)delete vt.prototype[ut[e]];return vt()},ht=Object.create||function(t,n){var e;return null!==t?(pt.prototype=E(t),e=new pt,pt.prototype=null,e[lt]=t):e=vt(),void 0===n?e:ft(e,n)},yt=e(function(t){var n=X("wks"),e=d.Symbol,r="function"==typeof e;(t.exports=function(t){return n[t]||(n[t]=r&&e[t]||(r?e:tt)("Symbol."+t))}).store=n}),dt=T.f,mt=yt("toStringTag"),bt=function(t,n,e){t&&!v(t=e?t:t.prototype,mt)&&dt(t,mt,{configurable:!0,value:n})},gt={};A(gt,yt("iterator"),function(){return this});var _t,Ot=function(t,n,e){t.prototype=ht(gt,{next:a(1,e)}),bt(t,n+" Iterator")},wt=function(t){return Object(u(t))},jt=et("IE_PROTO"),St=Object.prototype,Pt=Object.getPrototypeOf||function(t){return t=wt(t),v(t,jt)?t[jt]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?St:null},Et=yt("iterator"),xt=!([].keys&&"next"in[].keys()),Tt=function(){return this},At=function(t,n,e,r,o,i,u){Ot(e,n,r);var c,f,a,s=function(t){if(!xt&&t in h)return h[t];switch(t){case"keys":case"values":return function(){return new e(this,t)}}return function(){return new e(this,t)}},l=n+" Iterator",p="values"==o,v=!1,h=t.prototype,y=h[Et]||h["@@iterator"]||o&&h[o],d=y||s(o),m=o?p?s("entries"):d:void 0,b="Array"==n&&h.entries||y;if(b&&(a=Pt(b.call(new t)))!==Object.prototype&&a.next&&bt(a,l,!0),p&&y&&"values"!==y.name&&(v=!0,d=function(){return y.call(this)}),u&&(xt||v||!h[Et])&&A(h,Et,d),J[n]=d,J[l]=Tt,o)if(c={values:p?d:s("values"),keys:i?d:s("keys"),entries:m},u)for(f in c)f in h||U(h,f,c[f]);else M(M.P+M.F*(xt||v),n,c);return c},Lt=(_t=!0,function(t,n){var e,r,o=u(t)+"",i=K(n),c=o.length;return 0>i||i>=c?_t?"":void 0:55296>(e=o.charCodeAt(i))||e>56319||i+1===c||56320>(r=o.charCodeAt(i+1))||r>57343?_t?o.charAt(i):e:_t?o.slice(i,i+2):r-56320+(e-55296<<10)+65536});At(String,"String",function(t){this._t=t+"",this._i=0},function(){var t,n=this._t,e=this._i;return n.length>e?(t=Lt(n,e),this._i+=t.length,{value:t,done:!1}):{value:void 0,done:!0}});var Mt=function(t,n,e,r){try{return r?n(E(e)[0],e[1]):n(e)}catch(n){var o=t.return;throw void 0!==o&&E(o.call(t)),n}},kt=yt("iterator"),Ct=Array.prototype,Ft=function(t){return void 0!==t&&(J.Array===t||Ct[kt]===t)},Nt=function(t,n,e){n in t?T.f(t,n,a(0,e)):t[n]=e},It=yt("toStringTag"),Rt="Arguments"==o(function(){return arguments}()),Dt=function(t){var n,e,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=function(t,n){try{return t[n]}catch(t){}}(n=Object(t),It))?e:Rt?o(n):"Object"==(r=o(n))&&"function"==typeof n.callee?"Arguments":r},Gt=yt("iterator"),Wt=j.getIteratorMethod=function(t){if(void 0!=t)return t[Gt]||t["@@iterator"]||J[Dt(t)]},Vt=yt("iterator"),Bt=!1;try{[7][Vt]().return=function(){Bt=!0}}catch(t){}var Ht=function(t,n){if(!n&&!Bt)return!1;var e=!1;try{var r=[7],o=r[Vt]();o.next=function(){return{done:e=!0}},r[Vt]=function(){return o},t(r)}catch(t){}return e};M(M.S+M.F*!Ht(function(t){}),"Array",{from:function(t){var n,e,r,o,i=wt(t),u="function"==typeof this?this:Array,c=arguments.length,f=c>1?arguments[1]:void 0,a=void 0!==f,s=0,l=Wt(i);if(a&&(f=P(f,c>2?arguments[2]:void 0,2)),void 0==l||u==Array&&Ft(l))for(e=new u(n=q(i.length));n>s;s++)Nt(e,s,a?f(i[s],s):i[s]);else for(o=l.call(i),e=new u;!(r=o.next()).done;s++)Nt(e,s,a?Mt(o,f,[r.value,s],!0):r.value);return e.length=s,e}});var Kt=j.Array.from,Ut=function(t,n){return{value:n,done:!!t}};At(Array,"Array",function(t,n){this._t=c(t),this._i=0,this._k=n},function(){var t=this._t,n=this._k,e=this._i++;return t&&t.length>e?Ut(0,"keys"==n?e:"values"==n?t[e]:[e,t[e]]):(this._t=void 0,Ut(1))},"values");J.Arguments=J.Array;for(var Jt=yt("toStringTag"),zt="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),qt=0;zt.length>qt;qt++){var Yt=zt[qt],Qt=d[Yt],Xt=Qt&&Qt.prototype;Xt&&!Xt[Jt]&&A(Xt,Jt,Yt),J[Yt]=J.Array}var Zt=yt("iterator"),$t=j.isIterable=function(t){var n=Object(t);return void 0!==n[Zt]||"@@iterator"in n||J.hasOwnProperty(Dt(n))};var tn=function(t){if($t(Object(t))||"[object Arguments]"===Object.prototype.toString.call(t))return Kt(t)};var nn=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")};var en,rn,on,un=function(t){return V(t)||tn(t)||nn()},cn=e(function(t){var n={},e={},r=t.exports=function(t,r,o,i,u){var c,f,a,s,l=u?function(){return t}:Wt(t),p=P(o,i,r?2:1),v=0;if("function"!=typeof l)throw TypeError(t+" is not iterable!");if(Ft(l)){for(c=q(t.length);c>v;v++)if((s=r?p(E(f=t[v])[0],f[1]):p(t[v]))===n||s===e)return s}else for(a=l.call(t);!(f=a.next()).done;)if((s=Mt(a,p,f.value,r))===n||s===e)return s};r.BREAK=n,r.RETURN=e}),fn=yt("species"),an=function(t,n){var e,r=E(t).constructor;return void 0===r||void 0==(e=E(r)[fn])?n:S(e)},sn=d.process,ln=d.setImmediate,pn=d.clearImmediate,vn=d.MessageChannel,hn=d.Dispatch,yn=0,dn={},mn=function(){var t=+this;if(dn.hasOwnProperty(t)){var n=dn[t];delete dn[t],n()}},bn=function(t){mn.call(t.data)};ln&&pn||(ln=function(t){for(var n=[],e=1;arguments.length>e;)n.push(arguments[e++]);return dn[++yn]=function(){!function(t,n,e){var r=void 0===e;switch(n.length){case 0:return r?t():t.call(e);case 1:return r?t(n[0]):t.call(e,n[0]);case 2:return r?t(n[0],n[1]):t.call(e,n[0],n[1]);case 3:return r?t(n[0],n[1],n[2]):t.call(e,n[0],n[1],n[2]);case 4:return r?t(n[0],n[1],n[2],n[3]):t.call(e,n[0],n[1],n[2],n[3])}t.apply(e,n)}("function"==typeof t?t:Function(t),n)},en(yn),yn},pn=function(t){delete dn[t]},"process"==o(sn)?en=function(t){sn.nextTick(P(mn,t,1))}:hn&&hn.now?en=function(t){hn.now(P(mn,t,1))}:vn?(on=(rn=new vn).port2,rn.port1.onmessage=bn,en=P(on.postMessage,on,1)):d.addEventListener&&"function"==typeof postMessage&&!d.importScripts?(en=function(t){d.postMessage(t+"","*")},d.addEventListener("message",bn,!1)):en="onreadystatechange"in g("script")?function(t){st.appendChild(g("script")).onreadystatechange=function(){st.removeChild(this),mn.call(t)}}:function(t){setTimeout(P(mn,t,1),0)});var gn={set:ln,clear:pn},_n=gn.set,On=d.MutationObserver||d.WebKitMutationObserver,wn=d.process,jn=d.Promise,Sn="process"==o(wn);var Pn,En,xn,Tn,An,Ln,Mn={f:function(t){return new function(t){var n,e;this.promise=new t(function(t,r){if(void 0!==n||void 0!==e)throw TypeError("Bad Promise constructor");n=t,e=r}),this.resolve=S(n),this.reject=S(e)}(t)}},kn=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}},Cn=d.navigator,Fn=Cn&&Cn.userAgent||"",Nn=function(t,n){if(E(t),s(n)&&n.constructor===t)return n;var e=Mn.f(t);return(0,e.resolve)(n),e.promise},In=yt("species"),Rn=gn.set,Dn=function(){var t,n,e,r=function(){var r,o;for(Sn&&(r=wn.domain)&&r.exit();t;){o=t.fn,t=t.next;try{o()}catch(r){throw t?e():n=void 0,r}}n=void 0,r&&r.enter()};if(Sn)e=function(){wn.nextTick(r)};else if(!On||d.navigator&&d.navigator.standalone)if(jn&&jn.resolve){var o=jn.resolve(void 0);e=function(){o.then(r)}}else e=function(){_n.call(d,r)};else{var i=!0,u=document.createTextNode("");new On(r).observe(u,{characterData:!0}),e=function(){u.data=i=!i}}return function(r){var o={fn:r,next:void 0};n&&(n.next=o),t||(t=o,e()),n=o}}(),Gn=d.TypeError,Wn=d.process,Vn=Wn&&Wn.versions,Bn=Vn&&Vn.v8||"",Hn=d.Promise,Kn="process"==Dt(Wn),Un=function(){},Jn=En=Mn.f,zn=!!function(){try{var t=Hn.resolve(1),n=(t.constructor={})[yt("species")]=function(t){t(Un,Un)};return(Kn||"function"==typeof PromiseRejectionEvent)&&t.then(Un)instanceof n&&0!==Bn.indexOf("6.6")&&-1===Fn.indexOf("Chrome/66")}catch(t){}}(),qn=function(t){var n;return!(!s(t)||"function"!=typeof(n=t.then))&&n},Yn=function(t,n){if(!t._n){t._n=!0;var e=t._c;Dn(function(){for(var r=t._v,o=1==t._s,i=0,u=function(n){var e,i,u,c=o?n.ok:n.fail,f=n.resolve,a=n.reject,s=n.domain;try{c?(o||(2==t._h&&Zn(t),t._h=1),!0===c?e=r:(s&&s.enter(),e=c(r),s&&(s.exit(),u=!0)),e===n.promise?a(Gn("Promise-chain cycle")):(i=qn(e))?i.call(e,f,a):f(e)):a(r)}catch(t){s&&!u&&s.exit(),a(t)}};e.length>i;)u(e[i++]);t._c=[],t._n=!1,n&&!t._h&&Qn(t)})}},Qn=function(t){Rn.call(d,function(){var n,e,r,o=t._v,i=Xn(t);if(i&&(n=kn(function(){Kn?Wn.emit("unhandledRejection",o,t):(e=d.onunhandledrejection)?e({promise:t,reason:o}):(r=d.console)&&r.error&&r.error("Unhandled promise rejection",o)}),t._h=Kn||Xn(t)?2:1),t._a=void 0,i&&n.e)throw n.v})},Xn=function(t){return 1!==t._h&&0===(t._a||t._c).length},Zn=function(t){Rn.call(d,function(){var n;Kn?Wn.emit("rejectionHandled",t):(n=d.onrejectionhandled)&&n({promise:t,reason:t._v})})},$n=function(t){var n=this;n._d||(n._d=!0,(n=n._w||n)._v=t,n._s=2,n._a||(n._a=n._c.slice()),Yn(n,!0))},te=function(t){var n,e=this;if(!e._d){e._d=!0,e=e._w||e;try{if(e===t)throw Gn("Promise can't be resolved itself");(n=qn(t))?Dn(function(){var r={_w:e,_d:!1};try{n.call(t,P(te,r,1),P($n,r,1))}catch(t){$n.call(r,t)}}):(e._v=t,e._s=1,Yn(e,!1))}catch(t){$n.call({_w:e,_d:!1},t)}}};zn||(Hn=function(t){!function(t,n,e,r){if(!(t instanceof n)||void 0!==r&&r in t)throw TypeError(e+": incorrect invocation!")}(this,Hn,"Promise","_h"),S(t),Pn.call(this);try{t(P(te,this,1),P($n,this,1))}catch(t){$n.call(this,t)}},(Pn=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=function(t,n,e){for(var r in n)e&&t[r]?t[r]=n[r]:A(t,r,n[r]);return t}(Hn.prototype,{then:function(t,n){var e=Jn(an(this,Hn));return e.ok="function"!=typeof t||t,e.fail="function"==typeof n&&n,e.domain=Kn?Wn.domain:void 0,this._c.push(e),this._a&&this._a.push(e),this._s&&Yn(this,!1),e.promise},catch:function(t){return this.then(void 0,t)}}),xn=function(){var t=new Pn;this.promise=t,this.resolve=P(te,t,1),this.reject=P($n,t,1)},Mn.f=Jn=function(t){return t===Hn||t===Tn?new xn(t):En(t)}),M(M.G+M.W+M.F*!zn,{Promise:Hn}),bt(Hn,"Promise"),Ln="function"==typeof j[An="Promise"]?j[An]:d[An],y&&Ln&&!Ln[In]&&T.f(Ln,In,{configurable:!0,get:function(){return this}}),Tn=j.Promise,M(M.S+M.F*!zn,"Promise",{reject:function(t){var n=Jn(this);return(0,n.reject)(t),n.promise}}),M(M.S+!0*M.F,"Promise",{resolve:function(t){return Nn(this===Tn?Hn:this,t)}}),M(M.S+M.F*!(zn&&Ht(function(t){Hn.all(t).catch(Un)})),"Promise",{all:function(t){var n=this,e=Jn(n),r=e.resolve,o=e.reject,i=kn(function(){var e=[],i=0,u=1;cn(t,!1,function(t){var c=i++,f=!1;e.push(void 0),u++,n.resolve(t).then(function(t){f||(f=!0,e[c]=t,--u||r(e))},o)}),--u||r(e)});return i.e&&o(i.v),e.promise},race:function(t){var n=this,e=Jn(n),r=e.reject,o=kn(function(){cn(t,!1,function(t){n.resolve(t).then(e.resolve,r)})});return o.e&&r(o.v),e.promise}}),M(M.P+M.R,"Promise",{finally:function(t){var n=an(this,j.Promise||d.Promise),e="function"==typeof t;return this.then(e?function(e){return Nn(n,t()).then(function(){return e})}:t,e?function(e){return Nn(n,t()).then(function(){throw e})}:t)}}),M(M.S,"Promise",{try:function(t){var n=Mn.f(this),e=kn(t);return(e.e?n.reject:n.resolve)(e.v),n.promise}});var ne=j.Promise,ee=e(function(t){var n=tt("meta"),e=T.f,r=0,o=Object.isExtensible||function(){return!0},i=!h(function(){return o(Object.preventExtensions({}))}),u=function(t){e(t,n,{value:{i:"O"+ ++r,w:{}}})},c=t.exports={KEY:n,NEED:!1,fastKey:function(t,e){if(!s(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!v(t,n)){if(!o(t))return"F";if(!e)return"E";u(t)}return t[n].i},getWeak:function(t,e){if(!v(t,n)){if(!o(t))return!0;if(!e)return!1;u(t)}return t[n].w},onFreeze:function(t){return i&&c.NEED&&o(t)&&!v(t,n)&&u(t),t}}}),re={f:yt},oe=T.f,ie=function(t){var n=j.Symbol||(j.Symbol={});"_"==t.charAt(0)||t in n||oe(n,t,{value:re.f(t)})},ue={f:Object.getOwnPropertySymbols},ce=Array.isArray||function(t){return"Array"==o(t)},fe=ut.concat("length","prototype"),ae={f:Object.getOwnPropertyNames||function(t){return it(t,fe)}},se=ae.f,le={}.toString,pe="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],ve={f:function(t){return pe&&"[object Window]"==le.call(t)?function(t){try{return se(t)}catch(t){return pe.slice()}}(t):se(c(t))}},he=ee.KEY,ye=w.f,de=T.f,me=ve.f,be=d.Symbol,ge=d.JSON,_e=ge&&ge.stringify,Oe=yt("_hidden"),we=yt("toPrimitive"),je={}.propertyIsEnumerable,Se=X("symbol-registry"),Pe=X("symbols"),Ee=X("op-symbols"),xe=Object.prototype,Te="function"==typeof be,Ae=d.QObject,Le=!Ae||!Ae.prototype||!Ae.prototype.findChild,Me=y&&h(function(){return 7!=ht(de({},"a",{get:function(){return de(this,"a",{value:7}).a}})).a})?function(t,n,e){var r=ye(xe,n);r&&delete xe[n],de(t,n,e),r&&t!==xe&&de(xe,n,r)}:de,ke=function(t){var n=Pe[t]=ht(be.prototype);return n._k=t,n},Ce=Te&&"symbol"==typeof be.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof be},Fe=function(t,n,e){return t===xe&&Fe(Ee,n,e),E(t),n=l(n,!0),E(e),v(Pe,n)?(e.enumerable?(v(t,Oe)&&t[Oe][n]&&(t[Oe][n]=!1),e=ht(e,{enumerable:a(0,!1)})):(v(t,Oe)||de(t,Oe,a(1,{})),t[Oe][n]=!0),Me(t,n,e)):de(t,n,e)},Ne=function(t,n){E(t);for(var e,r=function(t){var n=ct(t),e=ue.f;if(e)for(var r,o=e(t),i=f.f,u=0;o.length>u;)i.call(t,r=o[u++])&&n.push(r);return n}(n=c(n)),o=0,i=r.length;i>o;)Fe(t,e=r[o++],n[e]);return t},Ie=function(t){var n=je.call(this,t=l(t,!0));return!(this===xe&&v(Pe,t)&&!v(Ee,t))&&(!(n||!v(this,t)||!v(Pe,t)||v(this,Oe)&&this[Oe][t])||n)},Re=function(t,n){if(t=c(t),n=l(n,!0),t!==xe||!v(Pe,n)||v(Ee,n)){var e=ye(t,n);return!e||!v(Pe,n)||v(t,Oe)&&t[Oe][n]||(e.enumerable=!0),e}},De=function(t){for(var n,e=me(c(t)),r=[],o=0;e.length>o;)v(Pe,n=e[o++])||n==Oe||n==he||r.push(n);return r},Ge=function(t){for(var n,e=t===xe,r=me(e?Ee:c(t)),o=[],i=0;r.length>i;)!v(Pe,n=r[i++])||e&&!v(xe,n)||o.push(Pe[n]);return o};Te||(U((be=function(){if(this instanceof be)throw TypeError("Symbol is not a constructor!");var t=tt(arguments.length>0?arguments[0]:void 0),n=function(e){this===xe&&n.call(Ee,e),v(this,Oe)&&v(this[Oe],t)&&(this[Oe][t]=!1),Me(this,t,a(1,e))};return y&&Le&&Me(xe,t,{configurable:!0,set:n}),ke(t)}).prototype,"toString",function(){return this._k}),w.f=Re,T.f=Fe,ae.f=ve.f=De,f.f=Ie,ue.f=Ge,re.f=function(t){return ke(yt(t))}),M(M.G+M.W+M.F*!Te,{Symbol:be});for(var We="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),Ve=0;We.length>Ve;)yt(We[Ve++]);for(var Be=ct(yt.store),He=0;Be.length>He;)ie(Be[He++]);M(M.S+M.F*!Te,"Symbol",{for:function(t){return v(Se,t+="")?Se[t]:Se[t]=be(t)},keyFor:function(t){if(!Ce(t))throw TypeError(t+" is not a symbol!");for(var n in Se)if(Se[n]===t)return n},useSetter:function(){Le=!0},useSimple:function(){Le=!1}}),M(M.S+M.F*!Te,"Object",{create:function(t,n){return void 0===n?ht(t):Ne(ht(t),n)},defineProperty:Fe,defineProperties:Ne,getOwnPropertyDescriptor:Re,getOwnPropertyNames:De,getOwnPropertySymbols:Ge}),ge&&M(M.S+M.F*(!Te||h(function(){var t=be();return"[null]"!=_e([t])||"{}"!=_e({a:t})||"{}"!=_e(Object(t))})),"JSON",{stringify:function(t){for(var n,e,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);if(e=n=r[1],(s(n)||void 0!==t)&&!Ce(t))return ce(n)||(n=function(t,n){if("function"==typeof e&&(n=e.call(this,t,n)),!Ce(n))return n}),r[1]=n,_e.apply(ge,r)}}),be.prototype[we]||A(be.prototype,we,be.prototype.valueOf),bt(be,"Symbol"),bt(Math,"Math",!0),bt(d.JSON,"JSON",!0);var Ke=j.Object.getOwnPropertySymbols;k("keys",function(){return function(t){return ct(wt(t))}});var Ue=j.Object.keys;var Je=function(t,n,e){return n in t?R(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t};var ze=function(t){for(var n=1;arguments.length>n;n++){var e=null!=arguments[n]?arguments[n]:{},r=Ue(e);"function"==typeof Ke&&(r=r.concat(Ke(e).filter(function(t){return N(e,t).enumerable}))),r.forEach(function(n){Je(t,n,e[n])})}return t};var qe=function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")};function Ye(t,n){for(var e=0;n.length>e;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),R(t,r.key,r)}}var Qe=function(t,n,e){return n&&Ye(t.prototype,n),e&&Ye(t,e),t},Xe=re.f("iterator");ie("asyncIterator"),ie("observable");var Ze=j.Symbol,$e=e(function(t){function n(t){return(n="function"==typeof Ze&&"symbol"==typeof Xe?function(t){return typeof t}:function(t){return t&&"function"==typeof Ze&&t.constructor===Ze&&t!==Ze.prototype?"symbol":typeof t})(t)}function e(r){return t.exports=e="function"==typeof Ze&&"symbol"===n(Xe)?function(t){return n(t)}:function(t){return t&&"function"==typeof Ze&&t.constructor===Ze&&t!==Ze.prototype?"symbol":n(t)},e(r)}t.exports=e});var tr=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t};var nr=function(t,n){return!n||"object"!==$e(n)&&"function"!=typeof n?tr(t):n};k("getPrototypeOf",function(){return function(t){return Pt(wt(t))}});var er=j.Object.getPrototypeOf,rr=function(t,n){if(E(t),!s(n)&&null!==n)throw TypeError(n+": can't set as prototype!")},or={set:Object.setPrototypeOf||("__proto__"in{}?function(t,n,e){try{(e=P(Function.call,w.f(Object.prototype,"__proto__").set,2))(t,[]),n=!(t instanceof Array)}catch(t){n=!0}return function(t,r){return rr(t,r),n?t.__proto__=r:e(t,r),t}}({},!1):void 0),check:rr};M(M.S,"Object",{setPrototypeOf:or.set});var ir=j.Object.setPrototypeOf,ur=e(function(t){function n(e){return t.exports=n=ir?er:function(t){return t.__proto__||er(t)},n(e)}t.exports=n});M(M.S,"Object",{create:ht});var cr=j.Object,fr=function(t,n){return cr.create(t,n)},ar=e(function(t){function n(e,r){return t.exports=n=ir||function(t,n){return t.__proto__=n,t},n(e,r)}t.exports=n});var sr=function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=fr(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),n&&ar(t,n)},lr=e(function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=h;var r=G(un),o=G(ne),i=G(ze),u=G(qe),c=G(Qe),f=G(nr),a=G(ur),s=G(sr),l=D(t),p={};var v=function(){return null};function h(t){var n=t.app,e=t.models,h=t.component;return function(t){var n=t.resolve;return function(e){function r(){var n,e;(0,u.default)(this,r);for(var o=arguments.length,i=Array(o),c=0;o>c;c++)i[c]=arguments[c];return(e=(0,f.default)(this,(n=(0,a.default)(r)).call.apply(n,[this].concat(i)))).LoadingComponent=t.LoadingComponent||v,e.state={AsyncComponent:null},e.load(),e}return(0,s.default)(r,l.Component),(0,c.default)(r,[{key:"componentDidMount",value:function(){this.mounted=!0}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"load",value:function(){var t=this;n().then(function(n){var e=n.default||n;t.mounted?t.setState({AsyncComponent:e}):t.state.AsyncComponent=e})}},{key:"render",value:function(){var t=this.state.AsyncComponent;return l.default.createElement(t||this.LoadingComponent,this.props)}}]),r}()}((0,i.default)({resolve:t.resolve||function(){var t="function"==typeof e?e():[],i=h();return new o.default(function(e){o.default.all((0,r.default)(t).concat([i])).then(function(r){if(!t||!t.length)return e(r[0]);var o=t.length;r.slice(0,o).forEach(function(t){Array.isArray(t=t.default||t)||(t=[t]),t.map(function(t){return function(t,n){p[(n=n.default||n).namespace]||(t.model(n),p[n.namespace]=1)}(n,t)})}),e(r[o])})})}},t))}h.setDefaultLoadingComponent=function(t){v=t}});return n(lr),lr});
!function(t,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("react")):"function"==typeof define&&define.amd?define(["react"],n):(t.dva=t.dva||{},t.dva.dynamic=n(t.React))}(this,function(t){"use strict";function n(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function e(t,n){return t(n={exports:{}},n.exports),n.exports}t=t&&t.hasOwnProperty("default")?t.default:t;var r={}.toString,o=function(t){return r.call(t).slice(8,-1)},i=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==o(t)?t.split(""):Object(t)},u=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t},c=function(t){return i(u(t))},f={f:{}.propertyIsEnumerable},a=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}},s=function(t){return"object"==typeof t?null!==t:"function"==typeof t},l=function(t,n){if(!s(t))return t;var e,r;if(n&&"function"==typeof(e=t.toString)&&!s(r=e.call(t)))return r;if("function"==typeof(e=t.valueOf)&&!s(r=e.call(t)))return r;if(!n&&"function"==typeof(e=t.toString)&&!s(r=e.call(t)))return r;throw TypeError("Can't convert object to primitive value")},p={}.hasOwnProperty,v=function(t,n){return p.call(t,n)},h=function(t){try{return!!t()}catch(t){return!0}},y=!h(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}),d=e(function(t){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)}),m=d.document,b=s(m)&&s(m.createElement),g=function(t){return b?m.createElement(t):{}},_=!y&&!h(function(){return 7!=Object.defineProperty(g("div"),"a",{get:function(){return 7}}).a}),O=Object.getOwnPropertyDescriptor,w={f:y?O:function(t,n){if(t=c(t),n=l(n,!0),_)try{return O(t,n)}catch(t){}if(v(t,n))return a(!f.f.call(t,n),t[n])}},S=e(function(t){var n=t.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)}),j=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t},P=function(t,n,e){if(j(t),void 0===n)return t;switch(e){case 1:return function(e){return t.call(n,e)};case 2:return function(e,r){return t.call(n,e,r)};case 3:return function(e,r,o){return t.call(n,e,r,o)}}return function(){return t.apply(n,arguments)}},E=function(t){if(!s(t))throw TypeError(t+" is not an object!");return t},x=Object.defineProperty,T={f:y?Object.defineProperty:function(t,n,e){if(E(t),n=l(n,!0),E(e),_)try{return x(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(t[n]=e.value),t}},A=y?function(t,n,e){return T.f(t,n,a(1,e))}:function(t,n,e){return t[n]=e,t},L=function(t,n,e){var r,o,i,u=t&L.F,c=t&L.G,f=t&L.S,a=t&L.P,s=t&L.B,l=t&L.W,p=c?S:S[n]||(S[n]={}),h=p.prototype,y=c?d:f?d[n]:(d[n]||{}).prototype;for(r in c&&(e=n),e)(o=!u&&y&&void 0!==y[r])&&v(p,r)||(i=o?y[r]:e[r],p[r]=c&&"function"!=typeof y[r]?e[r]:s&&o?P(i,d):l&&y[r]==i?function(t){var n=function(n,e,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,e)}return new t(n,e,r)}return t.apply(this,arguments)};return n.prototype=t.prototype,n}(i):a&&"function"==typeof i?P(Function.call,i):i,a&&((p.virtual||(p.virtual={}))[r]=i,t&L.R&&h&&!h[r]&&A(h,r,i)))};L.F=1,L.G=2,L.S=4,L.P=8,L.B=16,L.W=32,L.U=64,L.R=128;var M=L,k=function(t,n){var e=(S.Object||{})[t]||Object[t],r={};r[t]=n(e),M(M.S+M.F*h(function(){e(1)}),"Object",r)},C=w.f;k("getOwnPropertyDescriptor",function(){return function(t,n){return C(c(t),n)}});var F=S.Object,N=function(t,n){return F.getOwnPropertyDescriptor(t,n)};M(M.S+M.F*!y,"Object",{defineProperty:T.f});var I=S.Object,R=function(t,n,e){return I.defineProperty(t,n,e)},D=e(function(t){t.exports=function(t){if(t&&t.__esModule)return t;var n={};if(null!=t)for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e)){var r=R&&N?N(t,e):{};r.get||r.set?R(n,e,r):n[e]=t[e]}return n.default=t,n}});n(D);var G=e(function(t){t.exports=function(t){return t&&t.__esModule?t:{default:t}}});n(G);var W,V=function(t){if(Array.isArray(t)){for(var n=0,e=Array(t.length);t.length>n;n++)e[n]=t[n];return e}},B=Math.ceil,H=Math.floor,K=function(t){return isNaN(t=+t)?0:(t>0?H:B)(t)},U=A,J={},z=Math.min,q=function(t){return t>0?z(K(t),9007199254740991):0},Y=Math.max,Q=Math.min,X=e(function(t){var n=d["__core-js_shared__"]||(d["__core-js_shared__"]={});(t.exports=function(t,e){return n[t]||(n[t]=void 0!==e?e:{})})("versions",[]).push({version:S.version,mode:"pure",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})}),Z=0,$=Math.random(),tt=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++Z+$).toString(36))},nt=X("keys"),et=function(t){return nt[t]||(nt[t]=tt(t))},rt=(W=!1,function(t,n,e){var r,o=c(t),i=q(o.length),u=function(t,n){return 0>(t=K(t))?Y(t+n,0):Q(t,n)}(e,i);if(W&&n!=n){for(;i>u;)if((r=o[u++])!=r)return!0}else for(;i>u;u++)if((W||u in o)&&o[u]===n)return W||u||0;return!W&&-1}),ot=et("IE_PROTO"),it=function(t,n){var e,r=c(t),o=0,i=[];for(e in r)e!=ot&&v(r,e)&&i.push(e);for(;n.length>o;)v(r,e=n[o++])&&(~rt(i,e)||i.push(e));return i},ut="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),ct=Object.keys||function(t){return it(t,ut)},ft=y?Object.defineProperties:function(t,n){E(t);for(var e,r=ct(n),o=r.length,i=0;o>i;)T.f(t,e=r[i++],n[e]);return t},at=d.document,st=at&&at.documentElement,lt=et("IE_PROTO"),pt=function(){},vt=function(){var t,n=g("iframe"),e=ut.length;for(n.style.display="none",st.appendChild(n),n.src="javascript:",(t=n.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),vt=t.F;e--;)delete vt.prototype[ut[e]];return vt()},ht=Object.create||function(t,n){var e;return null!==t?(pt.prototype=E(t),e=new pt,pt.prototype=null,e[lt]=t):e=vt(),void 0===n?e:ft(e,n)},yt=e(function(t){var n=X("wks"),e=d.Symbol,r="function"==typeof e;(t.exports=function(t){return n[t]||(n[t]=r&&e[t]||(r?e:tt)("Symbol."+t))}).store=n}),dt=T.f,mt=yt("toStringTag"),bt=function(t,n,e){t&&!v(t=e?t:t.prototype,mt)&&dt(t,mt,{configurable:!0,value:n})},gt={};A(gt,yt("iterator"),function(){return this});var _t,Ot=function(t,n,e){t.prototype=ht(gt,{next:a(1,e)}),bt(t,n+" Iterator")},wt=function(t){return Object(u(t))},St=et("IE_PROTO"),jt=Object.prototype,Pt=Object.getPrototypeOf||function(t){return t=wt(t),v(t,St)?t[St]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?jt:null},Et=yt("iterator"),xt=!([].keys&&"next"in[].keys()),Tt=function(){return this},At=function(t,n,e,r,o,i,u){Ot(e,n,r);var c,f,a,s=function(t){if(!xt&&t in h)return h[t];switch(t){case"keys":case"values":return function(){return new e(this,t)}}return function(){return new e(this,t)}},l=n+" Iterator",p="values"==o,v=!1,h=t.prototype,y=h[Et]||h["@@iterator"]||o&&h[o],d=y||s(o),m=o?p?s("entries"):d:void 0,b="Array"==n&&h.entries||y;if(b&&(a=Pt(b.call(new t)))!==Object.prototype&&a.next&&bt(a,l,!0),p&&y&&"values"!==y.name&&(v=!0,d=function(){return y.call(this)}),u&&(xt||v||!h[Et])&&A(h,Et,d),J[n]=d,J[l]=Tt,o)if(c={values:p?d:s("values"),keys:i?d:s("keys"),entries:m},u)for(f in c)f in h||U(h,f,c[f]);else M(M.P+M.F*(xt||v),n,c);return c},Lt=(_t=!0,function(t,n){var e,r,o=u(t)+"",i=K(n),c=o.length;return 0>i||i>=c?_t?"":void 0:55296>(e=o.charCodeAt(i))||e>56319||i+1===c||56320>(r=o.charCodeAt(i+1))||r>57343?_t?o.charAt(i):e:_t?o.slice(i,i+2):r-56320+(e-55296<<10)+65536});At(String,"String",function(t){this._t=t+"",this._i=0},function(){var t,n=this._t,e=this._i;return n.length>e?(t=Lt(n,e),this._i+=t.length,{value:t,done:!1}):{value:void 0,done:!0}});var Mt=function(t,n,e,r){try{return r?n(E(e)[0],e[1]):n(e)}catch(n){var o=t.return;throw void 0!==o&&E(o.call(t)),n}},kt=yt("iterator"),Ct=Array.prototype,Ft=function(t){return void 0!==t&&(J.Array===t||Ct[kt]===t)},Nt=function(t,n,e){n in t?T.f(t,n,a(0,e)):t[n]=e},It=yt("toStringTag"),Rt="Arguments"==o(function(){return arguments}()),Dt=function(t){var n,e,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=function(t,n){try{return t[n]}catch(t){}}(n=Object(t),It))?e:Rt?o(n):"Object"==(r=o(n))&&"function"==typeof n.callee?"Arguments":r},Gt=yt("iterator"),Wt=S.getIteratorMethod=function(t){if(void 0!=t)return t[Gt]||t["@@iterator"]||J[Dt(t)]},Vt=yt("iterator"),Bt=!1;try{[7][Vt]().return=function(){Bt=!0}}catch(t){}var Ht=function(t,n){if(!n&&!Bt)return!1;var e=!1;try{var r=[7],o=r[Vt]();o.next=function(){return{done:e=!0}},r[Vt]=function(){return o},t(r)}catch(t){}return e};M(M.S+M.F*!Ht(function(t){}),"Array",{from:function(t){var n,e,r,o,i=wt(t),u="function"==typeof this?this:Array,c=arguments.length,f=c>1?arguments[1]:void 0,a=void 0!==f,s=0,l=Wt(i);if(a&&(f=P(f,c>2?arguments[2]:void 0,2)),void 0==l||u==Array&&Ft(l))for(e=new u(n=q(i.length));n>s;s++)Nt(e,s,a?f(i[s],s):i[s]);else for(o=l.call(i),e=new u;!(r=o.next()).done;s++)Nt(e,s,a?Mt(o,f,[r.value,s],!0):r.value);return e.length=s,e}});var Kt=S.Array.from,Ut=function(t,n){return{value:n,done:!!t}};At(Array,"Array",function(t,n){this._t=c(t),this._i=0,this._k=n},function(){var t=this._t,n=this._k,e=this._i++;return t&&t.length>e?Ut(0,"keys"==n?e:"values"==n?t[e]:[e,t[e]]):(this._t=void 0,Ut(1))},"values");J.Arguments=J.Array;for(var Jt=yt("toStringTag"),zt="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),qt=0;zt.length>qt;qt++){var Yt=zt[qt],Qt=d[Yt],Xt=Qt&&Qt.prototype;Xt&&!Xt[Jt]&&A(Xt,Jt,Yt),J[Yt]=J.Array}var Zt=yt("iterator"),$t=S.isIterable=function(t){var n=Object(t);return void 0!==n[Zt]||"@@iterator"in n||J.hasOwnProperty(Dt(n))};var tn=function(t){if($t(Object(t))||"[object Arguments]"===Object.prototype.toString.call(t))return Kt(t)};var nn=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")};var en,rn,on,un=function(t){return V(t)||tn(t)||nn()},cn=e(function(t){var n={},e={},r=t.exports=function(t,r,o,i,u){var c,f,a,s,l=u?function(){return t}:Wt(t),p=P(o,i,r?2:1),v=0;if("function"!=typeof l)throw TypeError(t+" is not iterable!");if(Ft(l)){for(c=q(t.length);c>v;v++)if((s=r?p(E(f=t[v])[0],f[1]):p(t[v]))===n||s===e)return s}else for(a=l.call(t);!(f=a.next()).done;)if((s=Mt(a,p,f.value,r))===n||s===e)return s};r.BREAK=n,r.RETURN=e}),fn=yt("species"),an=function(t,n){var e,r=E(t).constructor;return void 0===r||void 0==(e=E(r)[fn])?n:j(e)},sn=d.process,ln=d.setImmediate,pn=d.clearImmediate,vn=d.MessageChannel,hn=d.Dispatch,yn=0,dn={},mn=function(){var t=+this;if(dn.hasOwnProperty(t)){var n=dn[t];delete dn[t],n()}},bn=function(t){mn.call(t.data)};ln&&pn||(ln=function(t){for(var n=[],e=1;arguments.length>e;)n.push(arguments[e++]);return dn[++yn]=function(){!function(t,n,e){var r=void 0===e;switch(n.length){case 0:return r?t():t.call(e);case 1:return r?t(n[0]):t.call(e,n[0]);case 2:return r?t(n[0],n[1]):t.call(e,n[0],n[1]);case 3:return r?t(n[0],n[1],n[2]):t.call(e,n[0],n[1],n[2]);case 4:return r?t(n[0],n[1],n[2],n[3]):t.call(e,n[0],n[1],n[2],n[3])}t.apply(e,n)}("function"==typeof t?t:Function(t),n)},en(yn),yn},pn=function(t){delete dn[t]},"process"==o(sn)?en=function(t){sn.nextTick(P(mn,t,1))}:hn&&hn.now?en=function(t){hn.now(P(mn,t,1))}:vn?(on=(rn=new vn).port2,rn.port1.onmessage=bn,en=P(on.postMessage,on,1)):d.addEventListener&&"function"==typeof postMessage&&!d.importScripts?(en=function(t){d.postMessage(t+"","*")},d.addEventListener("message",bn,!1)):en="onreadystatechange"in g("script")?function(t){st.appendChild(g("script")).onreadystatechange=function(){st.removeChild(this),mn.call(t)}}:function(t){setTimeout(P(mn,t,1),0)});var gn={set:ln,clear:pn},_n=gn.set,On=d.MutationObserver||d.WebKitMutationObserver,wn=d.process,Sn=d.Promise,jn="process"==o(wn);var Pn,En,xn,Tn,An,Ln,Mn={f:function(t){return new function(t){var n,e;this.promise=new t(function(t,r){if(void 0!==n||void 0!==e)throw TypeError("Bad Promise constructor");n=t,e=r}),this.resolve=j(n),this.reject=j(e)}(t)}},kn=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}},Cn=d.navigator,Fn=Cn&&Cn.userAgent||"",Nn=function(t,n){if(E(t),s(n)&&n.constructor===t)return n;var e=Mn.f(t);return(0,e.resolve)(n),e.promise},In=yt("species"),Rn=gn.set,Dn=function(){var t,n,e,r=function(){var r,o;for(jn&&(r=wn.domain)&&r.exit();t;){o=t.fn,t=t.next;try{o()}catch(r){throw t?e():n=void 0,r}}n=void 0,r&&r.enter()};if(jn)e=function(){wn.nextTick(r)};else if(!On||d.navigator&&d.navigator.standalone)if(Sn&&Sn.resolve){var o=Sn.resolve(void 0);e=function(){o.then(r)}}else e=function(){_n.call(d,r)};else{var i=!0,u=document.createTextNode("");new On(r).observe(u,{characterData:!0}),e=function(){u.data=i=!i}}return function(r){var o={fn:r,next:void 0};n&&(n.next=o),t||(t=o,e()),n=o}}(),Gn=d.TypeError,Wn=d.process,Vn=Wn&&Wn.versions,Bn=Vn&&Vn.v8||"",Hn=d.Promise,Kn="process"==Dt(Wn),Un=function(){},Jn=En=Mn.f,zn=!!function(){try{var t=Hn.resolve(1),n=(t.constructor={})[yt("species")]=function(t){t(Un,Un)};return(Kn||"function"==typeof PromiseRejectionEvent)&&t.then(Un)instanceof n&&0!==Bn.indexOf("6.6")&&-1===Fn.indexOf("Chrome/66")}catch(t){}}(),qn=function(t){var n;return!(!s(t)||"function"!=typeof(n=t.then))&&n},Yn=function(t,n){if(!t._n){t._n=!0;var e=t._c;Dn(function(){for(var r=t._v,o=1==t._s,i=0,u=function(n){var e,i,u,c=o?n.ok:n.fail,f=n.resolve,a=n.reject,s=n.domain;try{c?(o||(2==t._h&&Zn(t),t._h=1),!0===c?e=r:(s&&s.enter(),e=c(r),s&&(s.exit(),u=!0)),e===n.promise?a(Gn("Promise-chain cycle")):(i=qn(e))?i.call(e,f,a):f(e)):a(r)}catch(t){s&&!u&&s.exit(),a(t)}};e.length>i;)u(e[i++]);t._c=[],t._n=!1,n&&!t._h&&Qn(t)})}},Qn=function(t){Rn.call(d,function(){var n,e,r,o=t._v,i=Xn(t);if(i&&(n=kn(function(){Kn?Wn.emit("unhandledRejection",o,t):(e=d.onunhandledrejection)?e({promise:t,reason:o}):(r=d.console)&&r.error&&r.error("Unhandled promise rejection",o)}),t._h=Kn||Xn(t)?2:1),t._a=void 0,i&&n.e)throw n.v})},Xn=function(t){return 1!==t._h&&0===(t._a||t._c).length},Zn=function(t){Rn.call(d,function(){var n;Kn?Wn.emit("rejectionHandled",t):(n=d.onrejectionhandled)&&n({promise:t,reason:t._v})})},$n=function(t){var n=this;n._d||(n._d=!0,(n=n._w||n)._v=t,n._s=2,n._a||(n._a=n._c.slice()),Yn(n,!0))},te=function(t){var n,e=this;if(!e._d){e._d=!0,e=e._w||e;try{if(e===t)throw Gn("Promise can't be resolved itself");(n=qn(t))?Dn(function(){var r={_w:e,_d:!1};try{n.call(t,P(te,r,1),P($n,r,1))}catch(t){$n.call(r,t)}}):(e._v=t,e._s=1,Yn(e,!1))}catch(t){$n.call({_w:e,_d:!1},t)}}};zn||(Hn=function(t){!function(t,n,e,r){if(!(t instanceof n)||void 0!==r&&r in t)throw TypeError(e+": incorrect invocation!")}(this,Hn,"Promise","_h"),j(t),Pn.call(this);try{t(P(te,this,1),P($n,this,1))}catch(t){$n.call(this,t)}},(Pn=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=function(t,n,e){for(var r in n)e&&t[r]?t[r]=n[r]:A(t,r,n[r]);return t}(Hn.prototype,{then:function(t,n){var e=Jn(an(this,Hn));return e.ok="function"!=typeof t||t,e.fail="function"==typeof n&&n,e.domain=Kn?Wn.domain:void 0,this._c.push(e),this._a&&this._a.push(e),this._s&&Yn(this,!1),e.promise},catch:function(t){return this.then(void 0,t)}}),xn=function(){var t=new Pn;this.promise=t,this.resolve=P(te,t,1),this.reject=P($n,t,1)},Mn.f=Jn=function(t){return t===Hn||t===Tn?new xn(t):En(t)}),M(M.G+M.W+M.F*!zn,{Promise:Hn}),bt(Hn,"Promise"),Ln="function"==typeof S[An="Promise"]?S[An]:d[An],y&&Ln&&!Ln[In]&&T.f(Ln,In,{configurable:!0,get:function(){return this}}),Tn=S.Promise,M(M.S+M.F*!zn,"Promise",{reject:function(t){var n=Jn(this);return(0,n.reject)(t),n.promise}}),M(M.S+!0*M.F,"Promise",{resolve:function(t){return Nn(this===Tn?Hn:this,t)}}),M(M.S+M.F*!(zn&&Ht(function(t){Hn.all(t).catch(Un)})),"Promise",{all:function(t){var n=this,e=Jn(n),r=e.resolve,o=e.reject,i=kn(function(){var e=[],i=0,u=1;cn(t,!1,function(t){var c=i++,f=!1;e.push(void 0),u++,n.resolve(t).then(function(t){f||(f=!0,e[c]=t,--u||r(e))},o)}),--u||r(e)});return i.e&&o(i.v),e.promise},race:function(t){var n=this,e=Jn(n),r=e.reject,o=kn(function(){cn(t,!1,function(t){n.resolve(t).then(e.resolve,r)})});return o.e&&r(o.v),e.promise}}),M(M.P+M.R,"Promise",{finally:function(t){var n=an(this,S.Promise||d.Promise),e="function"==typeof t;return this.then(e?function(e){return Nn(n,t()).then(function(){return e})}:t,e?function(e){return Nn(n,t()).then(function(){throw e})}:t)}}),M(M.S,"Promise",{try:function(t){var n=Mn.f(this),e=kn(t);return(e.e?n.reject:n.resolve)(e.v),n.promise}});var ne=S.Promise,ee=e(function(t){var n=tt("meta"),e=T.f,r=0,o=Object.isExtensible||function(){return!0},i=!h(function(){return o(Object.preventExtensions({}))}),u=function(t){e(t,n,{value:{i:"O"+ ++r,w:{}}})},c=t.exports={KEY:n,NEED:!1,fastKey:function(t,e){if(!s(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!v(t,n)){if(!o(t))return"F";if(!e)return"E";u(t)}return t[n].i},getWeak:function(t,e){if(!v(t,n)){if(!o(t))return!0;if(!e)return!1;u(t)}return t[n].w},onFreeze:function(t){return i&&c.NEED&&o(t)&&!v(t,n)&&u(t),t}}}),re={f:yt},oe=T.f,ie=function(t){var n=S.Symbol||(S.Symbol={});"_"==t.charAt(0)||t in n||oe(n,t,{value:re.f(t)})},ue={f:Object.getOwnPropertySymbols},ce=Array.isArray||function(t){return"Array"==o(t)},fe=ut.concat("length","prototype"),ae={f:Object.getOwnPropertyNames||function(t){return it(t,fe)}},se=ae.f,le={}.toString,pe="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],ve={f:function(t){return pe&&"[object Window]"==le.call(t)?function(t){try{return se(t)}catch(t){return pe.slice()}}(t):se(c(t))}},he=ee.KEY,ye=w.f,de=T.f,me=ve.f,be=d.Symbol,ge=d.JSON,_e=ge&&ge.stringify,Oe=yt("_hidden"),we=yt("toPrimitive"),Se={}.propertyIsEnumerable,je=X("symbol-registry"),Pe=X("symbols"),Ee=X("op-symbols"),xe=Object.prototype,Te="function"==typeof be,Ae=d.QObject,Le=!Ae||!Ae.prototype||!Ae.prototype.findChild,Me=y&&h(function(){return 7!=ht(de({},"a",{get:function(){return de(this,"a",{value:7}).a}})).a})?function(t,n,e){var r=ye(xe,n);r&&delete xe[n],de(t,n,e),r&&t!==xe&&de(xe,n,r)}:de,ke=function(t){var n=Pe[t]=ht(be.prototype);return n._k=t,n},Ce=Te&&"symbol"==typeof be.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof be},Fe=function(t,n,e){return t===xe&&Fe(Ee,n,e),E(t),n=l(n,!0),E(e),v(Pe,n)?(e.enumerable?(v(t,Oe)&&t[Oe][n]&&(t[Oe][n]=!1),e=ht(e,{enumerable:a(0,!1)})):(v(t,Oe)||de(t,Oe,a(1,{})),t[Oe][n]=!0),Me(t,n,e)):de(t,n,e)},Ne=function(t,n){E(t);for(var e,r=function(t){var n=ct(t),e=ue.f;if(e)for(var r,o=e(t),i=f.f,u=0;o.length>u;)i.call(t,r=o[u++])&&n.push(r);return n}(n=c(n)),o=0,i=r.length;i>o;)Fe(t,e=r[o++],n[e]);return t},Ie=function(t){var n=Se.call(this,t=l(t,!0));return!(this===xe&&v(Pe,t)&&!v(Ee,t))&&(!(n||!v(this,t)||!v(Pe,t)||v(this,Oe)&&this[Oe][t])||n)},Re=function(t,n){if(t=c(t),n=l(n,!0),t!==xe||!v(Pe,n)||v(Ee,n)){var e=ye(t,n);return!e||!v(Pe,n)||v(t,Oe)&&t[Oe][n]||(e.enumerable=!0),e}},De=function(t){for(var n,e=me(c(t)),r=[],o=0;e.length>o;)v(Pe,n=e[o++])||n==Oe||n==he||r.push(n);return r},Ge=function(t){for(var n,e=t===xe,r=me(e?Ee:c(t)),o=[],i=0;r.length>i;)!v(Pe,n=r[i++])||e&&!v(xe,n)||o.push(Pe[n]);return o};Te||(U((be=function(){if(this instanceof be)throw TypeError("Symbol is not a constructor!");var t=tt(arguments.length>0?arguments[0]:void 0),n=function(e){this===xe&&n.call(Ee,e),v(this,Oe)&&v(this[Oe],t)&&(this[Oe][t]=!1),Me(this,t,a(1,e))};return y&&Le&&Me(xe,t,{configurable:!0,set:n}),ke(t)}).prototype,"toString",function(){return this._k}),w.f=Re,T.f=Fe,ae.f=ve.f=De,f.f=Ie,ue.f=Ge,re.f=function(t){return ke(yt(t))}),M(M.G+M.W+M.F*!Te,{Symbol:be});for(var We="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),Ve=0;We.length>Ve;)yt(We[Ve++]);for(var Be=ct(yt.store),He=0;Be.length>He;)ie(Be[He++]);M(M.S+M.F*!Te,"Symbol",{for:function(t){return v(je,t+="")?je[t]:je[t]=be(t)},keyFor:function(t){if(!Ce(t))throw TypeError(t+" is not a symbol!");for(var n in je)if(je[n]===t)return n},useSetter:function(){Le=!0},useSimple:function(){Le=!1}}),M(M.S+M.F*!Te,"Object",{create:function(t,n){return void 0===n?ht(t):Ne(ht(t),n)},defineProperty:Fe,defineProperties:Ne,getOwnPropertyDescriptor:Re,getOwnPropertyNames:De,getOwnPropertySymbols:Ge}),ge&&M(M.S+M.F*(!Te||h(function(){var t=be();return"[null]"!=_e([t])||"{}"!=_e({a:t})||"{}"!=_e(Object(t))})),"JSON",{stringify:function(t){for(var n,e,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);if(e=n=r[1],(s(n)||void 0!==t)&&!Ce(t))return ce(n)||(n=function(t,n){if("function"==typeof e&&(n=e.call(this,t,n)),!Ce(n))return n}),r[1]=n,_e.apply(ge,r)}}),be.prototype[we]||A(be.prototype,we,be.prototype.valueOf),bt(be,"Symbol"),bt(Math,"Math",!0),bt(d.JSON,"JSON",!0);var Ke=S.Object.getOwnPropertySymbols;k("keys",function(){return function(t){return ct(wt(t))}});var Ue=S.Object.keys;var Je=function(t,n,e){return n in t?R(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t};var ze=function(t){for(var n=1;arguments.length>n;n++){var e=null!=arguments[n]?arguments[n]:{},r=Ue(e);"function"==typeof Ke&&(r=r.concat(Ke(e).filter(function(t){return N(e,t).enumerable}))),r.forEach(function(n){Je(t,n,e[n])})}return t};var qe=function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")},Ye=function(t,n){if(E(t),!s(n)&&null!==n)throw TypeError(n+": can't set as prototype!")},Qe={set:Object.setPrototypeOf||("__proto__"in{}?function(t,n,e){try{(e=P(Function.call,w.f(Object.prototype,"__proto__").set,2))(t,[]),n=!(t instanceof Array)}catch(t){n=!0}return function(t,r){return Ye(t,r),n?t.__proto__=r:e(t,r),t}}({},!1):void 0),check:Ye};M(M.S,"Object",{setPrototypeOf:Qe.set});var Xe=S.Object.setPrototypeOf,Ze=e(function(t){function n(e,r){return t.exports=n=Xe||function(t,n){return t.__proto__=n,t},n(e,r)}t.exports=n});var $e=function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");Ze(t.prototype,n&&n.prototype),n&&Ze(t,n)};function tr(t,n){for(var e=0;n.length>e;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),R(t,r.key,r)}}var nr=function(t,n,e){return n&&tr(t.prototype,n),e&&tr(t,e),t},er=re.f("iterator");ie("asyncIterator"),ie("observable");var rr=S.Symbol,or=e(function(t){function n(t){return(n="function"==typeof rr&&"symbol"==typeof er?function(t){return typeof t}:function(t){return t&&"function"==typeof rr&&t.constructor===rr&&t!==rr.prototype?"symbol":typeof t})(t)}function e(r){return t.exports=e="function"==typeof rr&&"symbol"===n(er)?function(t){return n(t)}:function(t){return t&&"function"==typeof rr&&t.constructor===rr&&t!==rr.prototype?"symbol":n(t)},e(r)}t.exports=e});var ir=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t};var ur=function(t,n){return!n||"object"!==or(n)&&"function"!=typeof n?ir(t):n};k("getPrototypeOf",function(){return function(t){return Pt(wt(t))}});var cr=S.Object.getPrototypeOf,fr=e(function(t){function n(e){return t.exports=n=cr||function(t){return t.__proto__},n(e)}t.exports=n}),ar=e(function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=h;var r=G(un),o=G(ne),i=G(ze),u=G(qe),c=G($e),f=G(nr),a=G(ur),s=G(fr),l=D(t),p={};var v=function(){return null};function h(t){var n=t.app,e=t.models,h=t.component;return function(t){var n=t.resolve;return function(e){function r(){var n,e;(0,u.default)(this,r);for(var o=arguments.length,i=Array(o),c=0;o>c;c++)i[c]=arguments[c];return(e=(0,a.default)(this,(n=(0,s.default)(r)).call.apply(n,[this].concat(i)))).LoadingComponent=t.LoadingComponent||v,e.state={AsyncComponent:null},e.load(),e}return(0,f.default)(r,[{key:"componentDidMount",value:function(){this.mounted=!0}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"load",value:function(){var t=this;n().then(function(n){var e=n.default||n;t.mounted?t.setState({AsyncComponent:e}):t.state.AsyncComponent=e})}},{key:"render",value:function(){var t=this.state.AsyncComponent;return l.default.createElement(t||this.LoadingComponent,this.props)}}]),(0,c.default)(r,e),r}(l.Component)}((0,i.default)({resolve:t.resolve||function(){var t="function"==typeof e?e():[],i=h();return new o.default(function(e){o.default.all((0,r.default)(t).concat([i])).then(function(r){if(!t||!t.length)return e(r[0]);var o=t.length;r.slice(0,o).forEach(function(t){Array.isArray(t=t.default||t)||(t=[t]),t.map(function(t){return function(t,n){p[(n=n.default||n).namespace]||(t.model(n),p[n.namespace]=1)}(n,t)})}),e(r[o])})})}},t))}h.setDefaultLoadingComponent=function(t){v=t}});return n(ar),ar});

@@ -1,1 +0,1 @@

!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("react")):"function"==typeof define&&define.amd?define(["react"],e):(t.dva=t.dva||{},t.dva.router=e(t.React))}(this,function(t){"use strict";var e="default"in t?t.default:t,n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;var i=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;10>n;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map(function(t){return e[t]}).join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(t){o[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(t){return!1}}()?Object.assign:function(t,e){for(var i,a,c=function(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}(t),s=1;arguments.length>s;s++){for(var u in i=Object(arguments[s]))o.call(i,u)&&(c[u]=i[u]);if(n){a=n(i);for(var p=0;a.length>p;p++)r.call(i,a[p])&&(c[a[p]]=i[a[p]])}}return c},a=function(){},c=a;"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function s(t,e){return t(e={exports:{}},e.exports),e.exports}function u(t){return function(){return t}}var p=function(){};p.thatReturns=u,p.thatReturnsFalse=u(!1),p.thatReturnsTrue=u(!0),p.thatReturnsNull=u(null),p.thatReturnsThis=function(){return this},p.thatReturnsArgument=function(t){return t};var l=p;var f=function(t,e,n,o,r,i,a,c){if(!t){var s;if(void 0===e)s=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,o,r,i,a,c],p=0;(s=Error(e.replace(/%s/g,function(){return u[p++]}))).name="Invariant Violation"}throw s.framesToPop=1,s}},h="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",d=s(function(t){t.exports=function(){function t(t,e,n,o,r,i){i!==h&&f(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function e(){return t}t.isRequired=t;var n={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e};return n.checkPropTypes=l,n.PropTypes=n,n}()}),y=function(){};var v=y,m=function(t,e,n,o,r,i,a,c){if(!t){var s;if(void 0===e)s=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,o,r,i,a,c],p=0;(s=Error(e.replace(/%s/g,function(){return u[p++]}))).name="Invariant Violation"}throw s.framesToPop=1,s}};function b(t){return"/"===t.charAt(0)}function g(t,e){for(var n=e,o=n+1,r=t.length;r>o;n+=1,o+=1)t[n]=t[o];t.pop()}var w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};var O=function(t){return"/"===t.charAt(0)?t:"/"+t},j=function(t){return"/"===t.charAt(0)?t.substr(1):t},R=function(t,e){return RegExp("^"+e+"(\\/|\\?|#|$)","i").test(t)},x=function(t,e){return R(t,e)?t.substr(e.length):t},P=function(t){return"/"===t.charAt(t.length-1)?t.slice(0,-1):t},T=function(t){var e=t.search,n=t.hash,o=t.pathname||"/";return e&&"?"!==e&&(o+="?"===e.charAt(0)?e:"?"+e),n&&"#"!==n&&(o+="#"===n.charAt(0)?n:"#"+n),o},E=Object.assign||function(t){for(var e=1;arguments.length>e;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},C=function(t,e,n,o){var r=void 0;"string"==typeof t?(r=function(t){var e=t||"/",n="",o="",r=e.indexOf("#");-1!==r&&(o=e.substr(r),e=e.substr(0,r));var i=e.indexOf("?");return-1!==i&&(n=e.substr(i),e=e.substr(0,i)),{pathname:e,search:"?"===n?"":n,hash:"#"===o?"":o}}(t)).state=e:(void 0===(r=E({},t)).pathname&&(r.pathname=""),r.search?"?"!==r.search.charAt(0)&&(r.search="?"+r.search):r.search="",r.hash?"#"!==r.hash.charAt(0)&&(r.hash="#"+r.hash):r.hash="",void 0!==e&&void 0===r.state&&(r.state=e));try{r.pathname=decodeURI(r.pathname)}catch(t){throw t instanceof URIError?new URIError('Pathname "'+r.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):t}return n&&(r.key=n),o?r.pathname?"/"!==r.pathname.charAt(0)&&(r.pathname=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=t&&t.split("/")||[],o=e&&e.split("/")||[],r=t&&b(t),i=e&&b(e),a=r||i;if(t&&b(t)?o=n:n.length&&(o.pop(),o=o.concat(n)),!o.length)return"/";var c=void 0;if(o.length){var s=o[o.length-1];c="."===s||".."===s||""===s}else c=!1;for(var u=0,p=o.length;p>=0;p--){var l=o[p];"."===l?g(o,p):".."===l?(g(o,p),u++):u&&(g(o,p),u--)}if(!a)for(;u--;u)o.unshift("..");!a||""===o[0]||o[0]&&b(o[0])||o.unshift("");var f=o.join("/");return c&&"/"!==f.substr(-1)&&(f+="/"),f}(r.pathname,o.pathname)):r.pathname=o.pathname:r.pathname||(r.pathname="/"),r},S=function(t,e){return t.pathname===e.pathname&&t.search===e.search&&t.hash===e.hash&&t.key===e.key&&function t(e,n){if(e===n)return!0;if(null==e||null==n)return!1;if(Array.isArray(e))return Array.isArray(n)&&e.length===n.length&&e.every(function(e,o){return t(e,n[o])});var o=void 0===e?"undefined":w(e);if(o!==(void 0===n?"undefined":w(n)))return!1;if("object"===o){var r=e.valueOf(),i=n.valueOf();if(r!==e||i!==n)return t(r,i);var a=Object.keys(e);return a.length===Object.keys(n).length&&a.every(function(o){return t(e[o],n[o])})}return!1}(t.state,e.state)},k=function(){var t=null,e=[];return{setPrompt:function(e){return v(null==t,"A history supports only one prompt at a time"),t=e,function(){t===e&&(t=null)}},confirmTransitionTo:function(e,n,o,r){if(null!=t){var i="function"==typeof t?t(e,n):t;"string"==typeof i?"function"==typeof o?o(i,r):(v(!1,"A history needs a getUserConfirmation function in order to use a prompt message"),r(!0)):r(!1!==i)}else r(!0)},appendListener:function(t){var n=!0,o=function(){n&&t.apply(void 0,arguments)};return e.push(o),function(){n=!1,e=e.filter(function(t){return t!==o})}},notifyListeners:function(){for(var t=arguments.length,n=Array(t),o=0;t>o;o++)n[o]=arguments[o];e.forEach(function(t){return t.apply(void 0,n)})}}},A=!("undefined"==typeof window||!window.document||!window.document.createElement),_=function(t,e,n){return t.addEventListener?t.addEventListener(e,n,!1):t.attachEvent("on"+e,n)},L=function(t,e,n){return t.removeEventListener?t.removeEventListener(e,n,!1):t.detachEvent("on"+e,n)},M=function(t,e){return e(window.confirm(t))},H="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},q=Object.assign||function(t){for(var e=1;arguments.length>e;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},U=function(){try{return window.history.state||{}}catch(t){return{}}},Y=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};m(A,"Browser history needs a DOM");var e,n=window.history,o=(-1===(e=window.navigator.userAgent).indexOf("Android 2.")&&-1===e.indexOf("Android 4.0")||-1===e.indexOf("Mobile Safari")||-1!==e.indexOf("Chrome")||-1!==e.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,r=!(-1===window.navigator.userAgent.indexOf("Trident")),i=t.forceRefresh,a=void 0!==i&&i,c=t.getUserConfirmation,s=void 0===c?M:c,u=t.keyLength,p=void 0===u?6:u,l=t.basename?P(O(t.basename)):"",f=function(t){var e=t||{},n=e.key,o=e.state,r=window.location,i=r.pathname+r.search+r.hash;return v(!l||R(i,l),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+i+'" to begin with "'+l+'".'),l&&(i=x(i,l)),C(i,o,n)},h=function(){return Math.random().toString(36).substr(2,p)},d=k(),y=function(t){q(D,t),D.length=n.length,d.notifyListeners(D.location,D.action)},b=function(t){(function(t){return void 0===t.state&&-1===navigator.userAgent.indexOf("CriOS")})(t)||j(f(t.state))},g=function(){j(f(U()))},w=!1,j=function(t){if(w)w=!1,y();else{d.confirmTransitionTo(t,"POP",s,function(e){e?y({action:"POP",location:t}):E(t)})}},E=function(t){var e=Y.indexOf(D.location.key);-1===e&&(e=0);var n=Y.indexOf(t.key);-1===n&&(n=0);var o=e-n;o&&(w=!0,I(o))},S=f(U()),Y=[S.key],N=function(t){return l+T(t)},I=function(t){n.go(t)},W=0,B=function(t){1===(W+=t)?(_(window,"popstate",b),r&&_(window,"hashchange",g)):0===W&&(L(window,"popstate",b),r&&L(window,"hashchange",g))},F=!1,D={length:n.length,action:"POP",location:S,createHref:N,push:function(t,e){v(!("object"===(void 0===t?"undefined":H(t))&&void 0!==t.state&&void 0!==e),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var r=C(t,e,h(),D.location);d.confirmTransitionTo(r,"PUSH",s,function(t){if(t){var e=N(r),i=r.state;if(o)if(n.pushState({key:r.key,state:i},null,e),a)window.location.href=e;else{var c=Y.indexOf(D.location.key),s=Y.slice(0,-1===c?0:c+1);s.push(r.key),Y=s,y({action:"PUSH",location:r})}else v(void 0===i,"Browser history cannot push state in browsers that do not support HTML5 history"),window.location.href=e}})},replace:function(t,e){v(!("object"===(void 0===t?"undefined":H(t))&&void 0!==t.state&&void 0!==e),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var r=C(t,e,h(),D.location);d.confirmTransitionTo(r,"REPLACE",s,function(t){if(t){var e=N(r),i=r.state;if(o)if(n.replaceState({key:r.key,state:i},null,e),a)window.location.replace(e);else{var c=Y.indexOf(D.location.key);-1!==c&&(Y[c]=r.key),y({action:"REPLACE",location:r})}else v(void 0===i,"Browser history cannot replace state in browsers that do not support HTML5 history"),window.location.replace(e)}})},go:I,goBack:function(){return I(-1)},goForward:function(){return I(1)},block:function(){var t=d.setPrompt(arguments.length>0&&void 0!==arguments[0]&&arguments[0]);return F||(B(1),F=!0),function(){return F&&(F=!1,B(-1)),t()}},listen:function(t){var e=d.appendListener(t);return B(1),function(){B(-1),e()}}};return D},N=Object.assign||function(t){for(var e=1;arguments.length>e;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},I={hashbang:{encodePath:function(t){return"!"===t.charAt(0)?t:"!/"+j(t)},decodePath:function(t){return"!"===t.charAt(0)?t.substr(1):t}},noslash:{encodePath:j,decodePath:O},slash:{encodePath:O,decodePath:O}},W=function(){var t=window.location.href,e=t.indexOf("#");return-1===e?"":t.substring(e+1)},B=function(t){var e=window.location.href.indexOf("#");window.location.replace(window.location.href.slice(0,0>e?0:e)+"#"+t)},F=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};m(A,"Hash history needs a DOM");var e=window.history,n=-1===window.navigator.userAgent.indexOf("Firefox"),o=t.getUserConfirmation,r=void 0===o?M:o,i=t.hashType,a=void 0===i?"slash":i,c=t.basename?P(O(t.basename)):"",s=I[a],u=s.encodePath,p=s.decodePath,l=function(){var t=p(W());return v(!c||R(t,c),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+t+'" to begin with "'+c+'".'),c&&(t=x(t,c)),C(t)},f=k(),h=function(t){N($,t),$.length=e.length,f.notifyListeners($.location,$.action)},d=!1,y=null,b=function(){var t=W(),e=u(t);if(t!==e)B(e);else{var n=l();if(!d&&S($.location,n))return;if(y===T(n))return;y=null,g(n)}},g=function(t){if(d)d=!1,h();else{f.confirmTransitionTo(t,"POP",r,function(e){e?h({action:"POP",location:t}):w(t)})}},w=function(t){var e=q.lastIndexOf(T($.location));-1===e&&(e=0);var n=q.lastIndexOf(T(t));-1===n&&(n=0);var o=e-n;o&&(d=!0,U(o))},j=W(),E=u(j);j!==E&&B(E);var H=l(),q=[T(H)],U=function(t){v(n,"Hash history go(n) causes a full page reload in this browser"),e.go(t)},Y=0,F=function(t){1===(Y+=t)?_(window,"hashchange",b):0===Y&&L(window,"hashchange",b)},D=!1,$={length:e.length,action:"POP",location:H,createHref:function(t){return"#"+u(c+T(t))},push:function(t,e){v(void 0===e,"Hash history cannot push state; it is ignored");var n=C(t,void 0,void 0,$.location);f.confirmTransitionTo(n,"PUSH",r,function(t){if(t){var e=T(n),o=u(c+e);if(W()!==o){y=e,function(t){window.location.hash=t}(o);var r=q.lastIndexOf(T($.location)),i=q.slice(0,-1===r?0:r+1);i.push(e),q=i,h({action:"PUSH",location:n})}else v(!1,"Hash history cannot PUSH the same path; a new entry will not be added to the history stack"),h()}})},replace:function(t,e){v(void 0===e,"Hash history cannot replace state; it is ignored");var n=C(t,void 0,void 0,$.location);f.confirmTransitionTo(n,"REPLACE",r,function(t){if(t){var e=T(n),o=u(c+e);W()!==o&&(y=e,B(o));var r=q.indexOf(T($.location));-1!==r&&(q[r]=e),h({action:"REPLACE",location:n})}})},go:U,goBack:function(){return U(-1)},goForward:function(){return U(1)},block:function(){var t=f.setPrompt(arguments.length>0&&void 0!==arguments[0]&&arguments[0]);return D||(F(1),D=!0),function(){return D&&(D=!1,F(-1)),t()}},listen:function(t){var e=f.appendListener(t);return F(1),function(){F(-1),e()}}};return $},D="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},$=Object.assign||function(t){for(var e=1;arguments.length>e;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},K=function(t,e,n){return Math.min(Math.max(t,e),n)},G=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.getUserConfirmation,n=t.initialEntries,o=void 0===n?["/"]:n,r=t.initialIndex,i=void 0===r?0:r,a=t.keyLength,c=void 0===a?6:a,s=k(),u=function(t){$(d,t),d.length=d.entries.length,s.notifyListeners(d.location,d.action)},p=function(){return Math.random().toString(36).substr(2,c)},l=K(i,0,o.length-1),f=o.map(function(t){return C(t,void 0,"string"==typeof t?p():t.key||p())}),h=function(t){var n=K(d.index+t,0,d.entries.length-1),o=d.entries[n];s.confirmTransitionTo(o,"POP",e,function(t){t?u({action:"POP",location:o,index:n}):u()})},d={length:f.length,action:"POP",location:f[l],index:l,entries:f,createHref:T,push:function(t,n){v(!("object"===(void 0===t?"undefined":D(t))&&void 0!==t.state&&void 0!==n),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var o=C(t,n,p(),d.location);s.confirmTransitionTo(o,"PUSH",e,function(t){if(t){var e=d.index+1,n=d.entries.slice(0);n.length>e?n.splice(e,n.length-e,o):n.push(o),u({action:"PUSH",location:o,index:e,entries:n})}})},replace:function(t,n){v(!("object"===(void 0===t?"undefined":D(t))&&void 0!==t.state&&void 0!==n),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var o=C(t,n,p(),d.location);s.confirmTransitionTo(o,"REPLACE",e,function(t){t&&(d.entries[d.index]=o,u({action:"REPLACE",location:o}))})},go:h,goBack:function(){return h(-1)},goForward:function(){return h(1)},canGo:function(t){var e=d.index+t;return e>=0&&d.entries.length>e},block:function(){return s.setPrompt(arguments.length>0&&void 0!==arguments[0]&&arguments[0])},listen:function(t){return s.appendListener(t)}};return d},V=Object.assign||function(t){for(var e=1;arguments.length>e;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t};function z(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var J=function(t){function n(){var e,o;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n);for(var r=arguments.length,i=Array(r),a=0;r>a;a++)i[a]=arguments[a];return e=o=z(this,t.call.apply(t,[this].concat(i))),o.state={match:o.computeMatch(o.props.history.location.pathname)},z(o,e)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(n,t),n.prototype.getChildContext=function(){return{router:V({},this.context.router,{history:this.props.history,route:{location:this.props.history.location,match:this.state.match}})}},n.prototype.computeMatch=function(t){return{path:"/",url:"/",params:{},isExact:"/"===t}},n.prototype.componentWillMount=function(){var t=this,n=this.props,o=n.children,r=n.history;m(null==o||1===e.Children.count(o),"A <Router> may have only one child element"),this.unlisten=r.listen(function(){t.setState({match:t.computeMatch(r.location.pathname)})})},n.prototype.componentWillReceiveProps=function(t){c(this.props.history===t.history,"You cannot change <Router history>")},n.prototype.componentWillUnmount=function(){this.unlisten()},n.prototype.render=function(){var t=this.props.children;return t?e.Children.only(t):null},n}(e.Component);function Q(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}J.propTypes={history:d.object.isRequired,children:d.node},J.contextTypes={router:d.object},J.childContextTypes={router:d.object.isRequired};var X=function(t){function n(){var e,o;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n);for(var r=arguments.length,i=Array(r),a=0;r>a;a++)i[a]=arguments[a];return e=o=Q(this,t.call.apply(t,[this].concat(i))),o.history=Y(o.props),Q(o,e)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(n,t),n.prototype.componentWillMount=function(){c(!this.props.history,"<BrowserRouter> ignores the history prop. To use a custom history, use `import { Router }` instead of `import { BrowserRouter as Router }`.")},n.prototype.render=function(){return e.createElement(J,{history:this.history,children:this.props.children})},n}(e.Component);function Z(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}X.propTypes={basename:d.string,forceRefresh:d.bool,getUserConfirmation:d.func,keyLength:d.number,children:d.node};var tt=function(t){function n(){var e,o;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n);for(var r=arguments.length,i=Array(r),a=0;r>a;a++)i[a]=arguments[a];return e=o=Z(this,t.call.apply(t,[this].concat(i))),o.history=F(o.props),Z(o,e)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(n,t),n.prototype.componentWillMount=function(){c(!this.props.history,"<HashRouter> ignores the history prop. To use a custom history, use `import { Router }` instead of `import { HashRouter as Router }`.")},n.prototype.render=function(){return e.createElement(J,{history:this.history,children:this.props.children})},n}(e.Component);tt.propTypes={basename:d.string,getUserConfirmation:d.func,hashType:d.oneOf(["hashbang","noslash","slash"]),children:d.node};var et=Object.assign||function(t){for(var e=1;arguments.length>e;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t};function nt(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var ot=function(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)},rt=function(t){function n(){var e,o;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n);for(var r=arguments.length,i=Array(r),a=0;r>a;a++)i[a]=arguments[a];return e=o=nt(this,t.call.apply(t,[this].concat(i))),o.handleClick=function(t){if(o.props.onClick&&o.props.onClick(t),!t.defaultPrevented&&0===t.button&&!o.props.target&&!ot(t)){t.preventDefault();var e=o.context.router.history,n=o.props,r=n.to;n.replace?e.replace(r):e.push(r)}},nt(o,e)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(n,t),n.prototype.render=function(){var t=this.props,n=t.to,o=t.innerRef,r=function(t,e){var n={};for(var o in t)0>e.indexOf(o)&&Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=t[o]);return n}(t,["replace","to","innerRef"]);m(this.context.router,"You should not use <Link> outside a <Router>"),m(void 0!==n,'You must specify the "to" property');var i=this.context.router.history,a="string"==typeof n?C(n,null,null,i.location):n,c=i.createHref(a);return e.createElement("a",et({},r,{onClick:this.handleClick,href:c,ref:o}))},n}(e.Component);function it(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}rt.propTypes={onClick:d.func,target:d.string,replace:d.bool,to:d.oneOfType([d.string,d.object]).isRequired,innerRef:d.oneOfType([d.string,d.func])},rt.defaultProps={replace:!1},rt.contextTypes={router:d.shape({history:d.shape({push:d.func.isRequired,replace:d.func.isRequired,createHref:d.func.isRequired}).isRequired}).isRequired};var at=function(t){function n(){var e,o;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n);for(var r=arguments.length,i=Array(r),a=0;r>a;a++)i[a]=arguments[a];return e=o=it(this,t.call.apply(t,[this].concat(i))),o.history=G(o.props),it(o,e)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(n,t),n.prototype.componentWillMount=function(){c(!this.props.history,"<MemoryRouter> ignores the history prop. To use a custom history, use `import { Router }` instead of `import { MemoryRouter as Router }`.")},n.prototype.render=function(){return e.createElement(J,{history:this.history,children:this.props.children})},n}(e.Component);at.propTypes={initialEntries:d.array,initialIndex:d.number,getUserConfirmation:d.func,keyLength:d.number,children:d.node};var ct=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)},st=Ot,ut=function(t,e){return yt(ht(t,e))},pt=yt,lt=wt,ft=/(\\.)|([\/.])?(?:(?:\:(\w+)(?:\(((?:\\.|[^\\()])+)\))?|\(((?:\\.|[^\\()])+)\))([+*?])?|(\*))/g;function ht(t,e){for(var n,o=[],r=0,i=0,a="",c=e&&e.delimiter||"/";null!=(n=ft.exec(t));){var s=n[0],u=n[1],p=n.index;if(a+=t.slice(i,p),i=p+s.length,u)a+=u[1];else{var l=t[i],f=n[2],h=n[3],d=n[4],y=n[5],v=n[6],m=n[7];a&&(o.push(a),a="");var b=n[2]||c,g=d||y;o.push({name:h||r++,prefix:f||"",delimiter:b,optional:"?"===v||"*"===v,repeat:"+"===v||"*"===v,partial:null!=f&&null!=l&&l!==f,asterisk:!!m,pattern:g?mt(g):m?".*":"[^"+vt(b)+"]+?"})}}return t.length>i&&(a+=t.substr(i)),a&&o.push(a),o}function dt(t){return encodeURI(t).replace(/[\/?#]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}function yt(t){for(var e=Array(t.length),n=0;t.length>n;n++)"object"==typeof t[n]&&(e[n]=RegExp("^(?:"+t[n].pattern+")$"));return function(n,o){for(var r="",i=n||{},a=(o||{}).pretty?dt:encodeURIComponent,c=0;t.length>c;c++){var s=t[c];if("string"!=typeof s){var u,p=i[s.name];if(null==p){if(s.optional){s.partial&&(r+=s.prefix);continue}throw new TypeError('Expected "'+s.name+'" to be defined')}if(ct(p)){if(!s.repeat)throw new TypeError('Expected "'+s.name+'" to not repeat, but received `'+JSON.stringify(p)+"`");if(0===p.length){if(s.optional)continue;throw new TypeError('Expected "'+s.name+'" to not be empty')}for(var l=0;p.length>l;l++){if(u=a(p[l]),!e[c].test(u))throw new TypeError('Expected all "'+s.name+'" to match "'+s.pattern+'", but received `'+JSON.stringify(u)+"`");r+=(0===l?s.prefix:s.delimiter)+u}}else{if(u=s.asterisk?encodeURI(p).replace(/[?#]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()}):a(p),!e[c].test(u))throw new TypeError('Expected "'+s.name+'" to match "'+s.pattern+'", but received "'+u+'"');r+=s.prefix+u}}else r+=s}return r}}function vt(t){return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function mt(t){return t.replace(/([=!:$\/()])/g,"\\$1")}function bt(t,e){return t.keys=e,t}function gt(t){return t.sensitive?"":"i"}function wt(t,e,n){ct(e)||(n=e||n,e=[]);for(var o=(n=n||{}).strict,r=!1!==n.end,i="",a=0;t.length>a;a++){var c=t[a];if("string"==typeof c)i+=vt(c);else{var s=vt(c.prefix),u="(?:"+c.pattern+")";e.push(c),c.repeat&&(u+="(?:"+s+u+")*"),i+=u=c.optional?c.partial?s+"("+u+")?":"(?:"+s+"("+u+"))?":s+"("+u+")"}}var p=vt(n.delimiter||"/"),l=i.slice(-p.length)===p;return o||(i=(l?i.slice(0,-p.length):i)+"(?:"+p+"(?=$))?"),bt(RegExp("^"+(i+=r?"$":o&&l?"":"(?="+p+"|$)"),gt(n)),e)}function Ot(t,e,n){return ct(e)||(n=e||n,e=[]),n=n||{},t instanceof RegExp?function(t,e){var n=t.source.match(/\((?!\?)/g);if(n)for(var o=0;n.length>o;o++)e.push({name:o,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return bt(t,e)}(t,e):ct(t)?function(t,e,n){for(var o=[],r=0;t.length>r;r++)o.push(Ot(t[r],e,n).source);return bt(RegExp("(?:"+o.join("|")+")",gt(n)),e)}(t,e,n):function(t,e,n){return wt(ht(t,n),e,n)}(t,e,n)}st.parse=ht,st.compile=ut,st.tokensToFunction=pt,st.tokensToRegExp=lt;var jt={},Rt=0,xt=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};"string"==typeof e&&(e={path:e});var n=e.path,o=e.exact,r=void 0!==o&&o,i=e.strict,a=void 0!==i&&i,c=e.sensitive,s=void 0!==c&&c;if(null==n)return arguments[2];var u=function(t,e){var n=""+e.end+e.strict+e.sensitive,o=jt[n]||(jt[n]={});if(o[t])return o[t];var r=[],i={re:st(t,r,e),keys:r};return 1e4>Rt&&(o[t]=i,Rt++),i}(n,{end:r,strict:a,sensitive:s}),p=u.keys,l=u.re.exec(t);if(!l)return null;var f=l[0],h=l.slice(1),d=t===f;return r&&!d?null:{path:n,url:"/"===n&&""===f?"/":f,isExact:d,params:p.reduce(function(t,e,n){return t[e.name]=h[n],t},{})}},Pt=Object.assign||function(t){for(var e=1;arguments.length>e;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t};function Tt(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var Et=function(t){return 0===e.Children.count(t)},Ct=function(t){function n(){var e,o;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n);for(var r=arguments.length,i=Array(r),a=0;r>a;a++)i[a]=arguments[a];return e=o=Tt(this,t.call.apply(t,[this].concat(i))),o.state={match:o.computeMatch(o.props,o.context.router)},Tt(o,e)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(n,t),n.prototype.getChildContext=function(){return{router:Pt({},this.context.router,{route:{location:this.props.location||this.context.router.route.location,match:this.state.match}})}},n.prototype.computeMatch=function(t,e){var n=t.computedMatch,o=t.location,r=t.path,i=t.strict,a=t.exact,c=t.sensitive;if(n)return n;m(e,"You should not use <Route> or withRouter() outside a <Router>");var s=e.route;return xt((o||s.location).pathname,{path:r,strict:i,exact:a,sensitive:c},s.match)},n.prototype.componentWillMount=function(){c(!(this.props.component&&this.props.render),"You should not use <Route component> and <Route render> in the same route; <Route render> will be ignored"),c(!(this.props.component&&this.props.children&&!Et(this.props.children)),"You should not use <Route component> and <Route children> in the same route; <Route children> will be ignored"),c(!(this.props.render&&this.props.children&&!Et(this.props.children)),"You should not use <Route render> and <Route children> in the same route; <Route children> will be ignored")},n.prototype.componentWillReceiveProps=function(t,e){c(!(t.location&&!this.props.location),'<Route> elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),c(!(!t.location&&this.props.location),'<Route> elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.'),this.setState({match:this.computeMatch(t,e.router)})},n.prototype.render=function(){var t=this.state.match,n=this.props,o=n.children,r=n.component,i=n.render,a=this.context.router,c={match:t,location:this.props.location||a.route.location,history:a.history,staticContext:a.staticContext};return r?t?e.createElement(r,c):null:i?t?i(c):null:"function"==typeof o?o(c):o&&!Et(o)?e.Children.only(o):null},n}(e.Component);Ct.propTypes={computedMatch:d.object,path:d.string,exact:d.bool,strict:d.bool,sensitive:d.bool,component:d.func,render:d.func,children:d.oneOfType([d.func,d.node]),location:d.object},Ct.contextTypes={router:d.shape({history:d.object.isRequired,route:d.object.isRequired,staticContext:d.object})},Ct.childContextTypes={router:d.object.isRequired};var St=Object.assign||function(t){for(var e=1;arguments.length>e;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},kt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};var At=function(t){var n=t.to,o=t.exact,r=t.strict,i=t.location,a=t.activeClassName,c=t.className,s=t.activeStyle,u=t.style,p=t.isActive,l=t["aria-current"],f=function(t,e){var n={};for(var o in t)0>e.indexOf(o)&&Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=t[o]);return n}(t,["to","exact","strict","location","activeClassName","className","activeStyle","style","isActive","aria-current"]),h="object"===(void 0===n?"undefined":kt(n))?n.pathname:n,d=h&&h.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1");return e.createElement(Ct,{path:d,exact:o,strict:r,location:i,children:function(t){var o=t.match,r=!!(p?p(o,t.location):o);return e.createElement(rt,St({to:n,className:r?[c,a].filter(function(t){return t}).join(" "):c,style:r?St({},u,s):u,"aria-current":r&&l||null},f))}})};At.propTypes={to:rt.propTypes.to,exact:d.bool,strict:d.bool,location:d.object,activeClassName:d.string,className:d.string,activeStyle:d.object,style:d.object,isActive:d.func,"aria-current":d.oneOf(["page","step","location","date","time","true"])},At.defaultProps={activeClassName:"active","aria-current":"page"};var _t=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.enable=function(t){this.unblock&&this.unblock(),this.unblock=this.context.router.history.block(t)},e.prototype.disable=function(){this.unblock&&(this.unblock(),this.unblock=null)},e.prototype.componentWillMount=function(){m(this.context.router,"You should not use <Prompt> outside a <Router>"),this.props.when&&this.enable(this.props.message)},e.prototype.componentWillReceiveProps=function(t){t.when?this.props.when&&this.props.message===t.message||this.enable(t.message):this.disable()},e.prototype.componentWillUnmount=function(){this.disable()},e.prototype.render=function(){return null},e}(e.Component);_t.propTypes={when:d.bool,message:d.oneOfType([d.func,d.string]).isRequired},_t.defaultProps={when:!0},_t.contextTypes={router:d.shape({history:d.shape({block:d.func.isRequired}).isRequired}).isRequired};var Lt={},Mt=0,Ht=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"/"===t?t:function(t){var e=Lt[t]||(Lt[t]={});if(e[t])return e[t];var n=st.compile(t);return 1e4>Mt&&(e[t]=n,Mt++),n}(t)(e,{pretty:!0})},qt=Object.assign||function(t){for(var e=1;arguments.length>e;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t};var Ut=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.isStatic=function(){return this.context.router&&this.context.router.staticContext},e.prototype.componentWillMount=function(){m(this.context.router,"You should not use <Redirect> outside a <Router>"),this.isStatic()&&this.perform()},e.prototype.componentDidMount=function(){this.isStatic()||this.perform()},e.prototype.componentDidUpdate=function(t){var e=C(t.to),n=C(this.props.to);S(e,n)?c(!1,"You tried to redirect to the same route you're currently on: \""+n.pathname+n.search+'"'):this.perform()},e.prototype.computeTo=function(t){var e=t.computedMatch,n=t.to;return e?"string"==typeof n?Ht(n,e.params):qt({},n,{pathname:Ht(n.pathname,e.params)}):n},e.prototype.perform=function(){var t=this.context.router.history,e=this.props.push,n=this.computeTo(this.props);e?t.push(n):t.replace(n)},e.prototype.render=function(){return null},e}(e.Component);Ut.propTypes={computedMatch:d.object,push:d.bool,from:d.string,to:d.oneOfType([d.string,d.object]).isRequired},Ut.defaultProps={push:!1},Ut.contextTypes={router:d.shape({history:d.shape({push:d.func.isRequired,replace:d.func.isRequired}).isRequired,staticContext:d.object}).isRequired};var Yt=Object.assign||function(t){for(var e=1;arguments.length>e;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t};function Nt(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var It=function(t){return"/"===t.charAt(0)?t:"/"+t},Wt=function(t,e){return t?Yt({},e,{pathname:It(t)+e.pathname}):e},Bt=function(t){return"string"==typeof t?t:T(t)},Ft=function(t){return function(){m(!1,"You cannot %s with <StaticRouter>",t)}},Dt=function(){},$t=function(t){function n(){var e,o;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n);for(var r=arguments.length,i=Array(r),a=0;r>a;a++)i[a]=arguments[a];return e=o=Nt(this,t.call.apply(t,[this].concat(i))),o.createHref=function(t){return It(o.props.basename+Bt(t))},o.handlePush=function(t){var e=o.props,n=e.basename,r=e.context;r.action="PUSH",r.location=Wt(n,C(t)),r.url=Bt(r.location)},o.handleReplace=function(t){var e=o.props,n=e.basename,r=e.context;r.action="REPLACE",r.location=Wt(n,C(t)),r.url=Bt(r.location)},o.handleListen=function(){return Dt},o.handleBlock=function(){return Dt},Nt(o,e)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(n,t),n.prototype.getChildContext=function(){return{router:{staticContext:this.props.context}}},n.prototype.componentWillMount=function(){c(!this.props.history,"<StaticRouter> ignores the history prop. To use a custom history, use `import { Router }` instead of `import { StaticRouter as Router }`.")},n.prototype.render=function(){var t=this.props,n=t.basename,o=t.location,r=function(t,e){var n={};for(var o in t)0>e.indexOf(o)&&Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=t[o]);return n}(t,["basename","context","location"]),i={createHref:this.createHref,action:"POP",location:function(t,e){if(!t)return e;var n=It(t);return 0!==e.pathname.indexOf(n)?e:Yt({},e,{pathname:e.pathname.substr(n.length)})}(n,C(o)),push:this.handlePush,replace:this.handleReplace,go:Ft("go"),goBack:Ft("goBack"),goForward:Ft("goForward"),listen:this.handleListen,block:this.handleBlock};return e.createElement(J,Yt({},r,{history:i}))},n}(e.Component);$t.propTypes={basename:d.string,context:d.object.isRequired,location:d.oneOfType([d.string,d.object])},$t.defaultProps={basename:"",location:"/"},$t.childContextTypes={router:d.object.isRequired};var Kt=function(t){function n(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(n,t),n.prototype.componentWillMount=function(){m(this.context.router,"You should not use <Switch> outside a <Router>")},n.prototype.componentWillReceiveProps=function(t){c(!(t.location&&!this.props.location),'<Switch> elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),c(!(!t.location&&this.props.location),'<Switch> elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.')},n.prototype.render=function(){var t=this.context.router.route,n=this.props.location||t.location,o=void 0,r=void 0;return e.Children.forEach(this.props.children,function(i){if(null==o&&e.isValidElement(i)){var a=i.props;r=i,o=xt(n.pathname,{path:a.path||a.from,exact:a.exact,strict:a.strict,sensitive:a.sensitive},t.match)}}),o?e.cloneElement(r,{location:n,computedMatch:o}):null},n}(e.Component);Kt.contextTypes={router:d.shape({route:d.object.isRequired}).isRequired},Kt.propTypes={children:d.node,location:d.object};var Gt=s(function(t,e){var n,o,r,i,a,c,s,u;t.exports=(n={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r=Object.defineProperty,i=Object.getOwnPropertyNames,a=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,u=(s=Object.getPrototypeOf)&&s(Object),function t(e,p,l){if("string"!=typeof p){if(u){var f=s(p);f&&f!==u&&t(e,f,l)}var h=i(p);a&&(h=h.concat(a(p)));for(var d=0;h.length>d;++d){var y=h[d];if(!(n[y]||o[y]||l&&l[y])){var v=c(p,y);try{r(e,y,v)}catch(t){}}}return e}return e})}),Vt=Object.assign||function(t){for(var e=1;arguments.length>e;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t};var zt=Object.freeze({BrowserRouter:X,HashRouter:tt,Link:rt,MemoryRouter:at,NavLink:At,Prompt:_t,Redirect:Ut,Route:Ct,Router:J,StaticRouter:$t,Switch:Kt,generatePath:Ht,matchPath:xt,withRouter:function(t){var n=function(n){var o=n.wrappedComponentRef,r=function(t,e){var n={};for(var o in t)0>e.indexOf(o)&&Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=t[o]);return n}(n,["wrappedComponentRef"]);return e.createElement(Ct,{children:function(n){return e.createElement(t,Vt({},r,n,{ref:o}))}})};return n.displayName="withRouter("+(t.displayName||t.name)+")",n.WrappedComponent=t,n.propTypes={wrappedComponentRef:d.func},Gt(n,t)}}),Jt=Object.assign||function(t){for(var e=1;arguments.length>e;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},Qt="@@router/LOCATION_CHANGE",Xt={location:null};function Zt(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var te=function(t){function n(){var e,o;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n);for(var r=arguments.length,i=Array(r),a=0;r>a;a++)i[a]=arguments[a];return e=o=Zt(this,t.call.apply(t,[this].concat(i))),o.handleLocationChange=function(t){o.store.dispatch({type:Qt,payload:t})},Zt(o,e)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(n,t),n.prototype.componentWillMount=function(){var t=this.props,e=t.history,n=t.isSSR;this.store=t.store||this.context.store,this.handleLocationChange(e.location),n||(this.unsubscribeFromHistory=e.listen(this.handleLocationChange))},n.prototype.componentWillUnmount=function(){this.unsubscribeFromHistory&&this.unsubscribeFromHistory()},n.prototype.render=function(){return e.createElement(J,this.props)},n}(t.Component);te.propTypes={store:d.object,history:d.object.isRequired,children:d.node,isSSR:d.bool},te.contextTypes={store:d.object};var ee=function(t){return t.router.location},ne="@@router/CALL_HISTORY_METHOD";function oe(t){return function(){for(var e=arguments.length,n=Array(e),o=0;e>o;o++)n[o]=arguments[o];return{type:ne,payload:{method:t,args:n}}}}var re=oe("push"),ie=oe("replace"),ae=oe("go"),ce=oe("goBack"),se=oe("goForward");return i({},zt,{routerRedux:Object.freeze({ConnectedRouter:te,routerMiddleware:function(t){return function(){return function(e){return function(n){if(n.type!==ne)return e(n);var o=n.payload;t[o.method].apply(t,o.args)}}}},getLocation:ee,createMatchSelector:function(t){var e=null,n=null;return function(o){var r=(ee(o)||{}).pathname;if(r===e)return n;e=r;var i=xt(r,t);return i&&n&&i.url===n.url||(n=i),n}},LOCATION_CHANGE:Qt,routerReducer:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Xt,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.type===Qt?Jt({},t,{location:e.payload}):t},CALL_HISTORY_METHOD:ne,push:re,replace:ie,go:ae,goBack:ce,goForward:se,routerActions:{push:re,replace:ie,go:ae,goBack:ce,goForward:se}})})});
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("react")):"function"==typeof define&&define.amd?define(["react"],e):(t.dva=t.dva||{},t.dva.router=e(t.React))}(this,function(t){"use strict";var e="default"in t?t.default:t,n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;var i=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;10>n;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map(function(t){return e[t]}).join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(t){o[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(t){return!1}}()?Object.assign:function(t,e){for(var i,a,c=function(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}(t),s=1;arguments.length>s;s++){for(var u in i=Object(arguments[s]))o.call(i,u)&&(c[u]=i[u]);if(n){a=n(i);for(var p=0;a.length>p;p++)r.call(i,a[p])&&(c[a[p]]=i[a[p]])}}return c},a=function(){},c=a;var s="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";function u(){}var p,l=(function(t){t.exports=function(){function t(t,e,n,o,r,i){if(i!==s){var a=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function e(){return t}t.isRequired=t;var n={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e};return n.checkPropTypes=u,n.PropTypes=n,n}()}(p={exports:{}},p.exports),p.exports),f=function(){};var h=f,d=function(t,e,n,o,r,i,a,c){if(!t){var s;if(void 0===e)s=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,o,r,i,a,c],p=0;(s=Error(e.replace(/%s/g,function(){return u[p++]}))).name="Invariant Violation"}throw s.framesToPop=1,s}};function y(t){return"/"===t.charAt(0)}function v(t,e){for(var n=e,o=n+1,r=t.length;r>o;n+=1,o+=1)t[n]=t[o];t.pop()}var m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};var b=function(t){return"/"===t.charAt(0)?t:"/"+t},g=function(t){return"/"===t.charAt(0)?t.substr(1):t},w=function(t,e){return RegExp("^"+e+"(\\/|\\?|#|$)","i").test(t)},O=function(t,e){return w(t,e)?t.substr(e.length):t},j=function(t){return"/"===t.charAt(t.length-1)?t.slice(0,-1):t},x=function(t){var e=t.search,n=t.hash,o=t.pathname||"/";return e&&"?"!==e&&(o+="?"===e.charAt(0)?e:"?"+e),n&&"#"!==n&&(o+="#"===n.charAt(0)?n:"#"+n),o},R=Object.assign||function(t){for(var e=1;arguments.length>e;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},P=function(t,e,n,o){var r=void 0;"string"==typeof t?(r=function(t){var e=t||"/",n="",o="",r=e.indexOf("#");-1!==r&&(o=e.substr(r),e=e.substr(0,r));var i=e.indexOf("?");return-1!==i&&(n=e.substr(i),e=e.substr(0,i)),{pathname:e,search:"?"===n?"":n,hash:"#"===o?"":o}}(t)).state=e:(void 0===(r=R({},t)).pathname&&(r.pathname=""),r.search?"?"!==r.search.charAt(0)&&(r.search="?"+r.search):r.search="",r.hash?"#"!==r.hash.charAt(0)&&(r.hash="#"+r.hash):r.hash="",void 0!==e&&void 0===r.state&&(r.state=e));try{r.pathname=decodeURI(r.pathname)}catch(t){throw t instanceof URIError?new URIError('Pathname "'+r.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):t}return n&&(r.key=n),o?r.pathname?"/"!==r.pathname.charAt(0)&&(r.pathname=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=t&&t.split("/")||[],o=e&&e.split("/")||[],r=t&&y(t),i=e&&y(e),a=r||i;if(t&&y(t)?o=n:n.length&&(o.pop(),o=o.concat(n)),!o.length)return"/";var c=void 0;if(o.length){var s=o[o.length-1];c="."===s||".."===s||""===s}else c=!1;for(var u=0,p=o.length;p>=0;p--){var l=o[p];"."===l?v(o,p):".."===l?(v(o,p),u++):u&&(v(o,p),u--)}if(!a)for(;u--;u)o.unshift("..");!a||""===o[0]||o[0]&&y(o[0])||o.unshift("");var f=o.join("/");return c&&"/"!==f.substr(-1)&&(f+="/"),f}(r.pathname,o.pathname)):r.pathname=o.pathname:r.pathname||(r.pathname="/"),r},T=function(t,e){return t.pathname===e.pathname&&t.search===e.search&&t.hash===e.hash&&t.key===e.key&&function t(e,n){if(e===n)return!0;if(null==e||null==n)return!1;if(Array.isArray(e))return Array.isArray(n)&&e.length===n.length&&e.every(function(e,o){return t(e,n[o])});var o=void 0===e?"undefined":m(e);if(o!==(void 0===n?"undefined":m(n)))return!1;if("object"===o){var r=e.valueOf(),i=n.valueOf();if(r!==e||i!==n)return t(r,i);var a=Object.keys(e);return a.length===Object.keys(n).length&&a.every(function(o){return t(e[o],n[o])})}return!1}(t.state,e.state)},E=function(){var t=null,e=[];return{setPrompt:function(e){return h(null==t,"A history supports only one prompt at a time"),t=e,function(){t===e&&(t=null)}},confirmTransitionTo:function(e,n,o,r){if(null!=t){var i="function"==typeof t?t(e,n):t;"string"==typeof i?"function"==typeof o?o(i,r):(h(!1,"A history needs a getUserConfirmation function in order to use a prompt message"),r(!0)):r(!1!==i)}else r(!0)},appendListener:function(t){var n=!0,o=function(){n&&t.apply(void 0,arguments)};return e.push(o),function(){n=!1,e=e.filter(function(t){return t!==o})}},notifyListeners:function(){for(var t=arguments.length,n=Array(t),o=0;t>o;o++)n[o]=arguments[o];e.forEach(function(t){return t.apply(void 0,n)})}}},C=!("undefined"==typeof window||!window.document||!window.document.createElement),S=function(t,e,n){return t.addEventListener?t.addEventListener(e,n,!1):t.attachEvent("on"+e,n)},k=function(t,e,n){return t.removeEventListener?t.removeEventListener(e,n,!1):t.detachEvent("on"+e,n)},_=function(t,e){return e(window.confirm(t))},A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},L=Object.assign||function(t){for(var e=1;arguments.length>e;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},M=function(){try{return window.history.state||{}}catch(t){return{}}},H=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};d(C,"Browser history needs a DOM");var e,n=window.history,o=(-1===(e=window.navigator.userAgent).indexOf("Android 2.")&&-1===e.indexOf("Android 4.0")||-1===e.indexOf("Mobile Safari")||-1!==e.indexOf("Chrome")||-1!==e.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,r=!(-1===window.navigator.userAgent.indexOf("Trident")),i=t.forceRefresh,a=void 0!==i&&i,c=t.getUserConfirmation,s=void 0===c?_:c,u=t.keyLength,p=void 0===u?6:u,l=t.basename?j(b(t.basename)):"",f=function(t){var e=t||{},n=e.key,o=e.state,r=window.location,i=r.pathname+r.search+r.hash;return h(!l||w(i,l),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+i+'" to begin with "'+l+'".'),l&&(i=O(i,l)),P(i,o,n)},y=function(){return Math.random().toString(36).substr(2,p)},v=E(),m=function(t){L(D,t),D.length=n.length,v.notifyListeners(D.location,D.action)},g=function(t){(function(t){return void 0===t.state&&-1===navigator.userAgent.indexOf("CriOS")})(t)||H(f(t.state))},R=function(){H(f(M()))},T=!1,H=function(t){if(T)T=!1,m();else{v.confirmTransitionTo(t,"POP",s,function(e){e?m({action:"POP",location:t}):q(t)})}},q=function(t){var e=Y.indexOf(D.location.key);-1===e&&(e=0);var n=Y.indexOf(t.key);-1===n&&(n=0);var o=e-n;o&&(T=!0,I(o))},U=f(M()),Y=[U.key],N=function(t){return l+x(t)},I=function(t){n.go(t)},W=0,B=function(t){1===(W+=t)?(S(window,"popstate",g),r&&S(window,"hashchange",R)):0===W&&(k(window,"popstate",g),r&&k(window,"hashchange",R))},F=!1,D={length:n.length,action:"POP",location:U,createHref:N,push:function(t,e){h(!("object"===(void 0===t?"undefined":A(t))&&void 0!==t.state&&void 0!==e),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var r=P(t,e,y(),D.location);v.confirmTransitionTo(r,"PUSH",s,function(t){if(t){var e=N(r),i=r.state;if(o)if(n.pushState({key:r.key,state:i},null,e),a)window.location.href=e;else{var c=Y.indexOf(D.location.key),s=Y.slice(0,-1===c?0:c+1);s.push(r.key),Y=s,m({action:"PUSH",location:r})}else h(void 0===i,"Browser history cannot push state in browsers that do not support HTML5 history"),window.location.href=e}})},replace:function(t,e){h(!("object"===(void 0===t?"undefined":A(t))&&void 0!==t.state&&void 0!==e),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var r=P(t,e,y(),D.location);v.confirmTransitionTo(r,"REPLACE",s,function(t){if(t){var e=N(r),i=r.state;if(o)if(n.replaceState({key:r.key,state:i},null,e),a)window.location.replace(e);else{var c=Y.indexOf(D.location.key);-1!==c&&(Y[c]=r.key),m({action:"REPLACE",location:r})}else h(void 0===i,"Browser history cannot replace state in browsers that do not support HTML5 history"),window.location.replace(e)}})},go:I,goBack:function(){return I(-1)},goForward:function(){return I(1)},block:function(){var t=v.setPrompt(arguments.length>0&&void 0!==arguments[0]&&arguments[0]);return F||(B(1),F=!0),function(){return F&&(F=!1,B(-1)),t()}},listen:function(t){var e=v.appendListener(t);return B(1),function(){B(-1),e()}}};return D},q=Object.assign||function(t){for(var e=1;arguments.length>e;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},U={hashbang:{encodePath:function(t){return"!"===t.charAt(0)?t:"!/"+g(t)},decodePath:function(t){return"!"===t.charAt(0)?t.substr(1):t}},noslash:{encodePath:g,decodePath:b},slash:{encodePath:b,decodePath:b}},Y=function(){var t=window.location.href,e=t.indexOf("#");return-1===e?"":t.substring(e+1)},N=function(t){var e=window.location.href.indexOf("#");window.location.replace(window.location.href.slice(0,0>e?0:e)+"#"+t)},I=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};d(C,"Hash history needs a DOM");var e=window.history,n=-1===window.navigator.userAgent.indexOf("Firefox"),o=t.getUserConfirmation,r=void 0===o?_:o,i=t.hashType,a=void 0===i?"slash":i,c=t.basename?j(b(t.basename)):"",s=U[a],u=s.encodePath,p=s.decodePath,l=function(){var t=p(Y());return h(!c||w(t,c),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+t+'" to begin with "'+c+'".'),c&&(t=O(t,c)),P(t)},f=E(),y=function(t){q($,t),$.length=e.length,f.notifyListeners($.location,$.action)},v=!1,m=null,g=function(){var t=Y(),e=u(t);if(t!==e)N(e);else{var n=l();if(!v&&T($.location,n))return;if(m===x(n))return;m=null,R(n)}},R=function(t){if(v)v=!1,y();else{f.confirmTransitionTo(t,"POP",r,function(e){e?y({action:"POP",location:t}):A(t)})}},A=function(t){var e=I.lastIndexOf(x($.location));-1===e&&(e=0);var n=I.lastIndexOf(x(t));-1===n&&(n=0);var o=e-n;o&&(v=!0,W(o))},L=Y(),M=u(L);L!==M&&N(M);var H=l(),I=[x(H)],W=function(t){h(n,"Hash history go(n) causes a full page reload in this browser"),e.go(t)},B=0,F=function(t){1===(B+=t)?S(window,"hashchange",g):0===B&&k(window,"hashchange",g)},D=!1,$={length:e.length,action:"POP",location:H,createHref:function(t){return"#"+u(c+x(t))},push:function(t,e){h(void 0===e,"Hash history cannot push state; it is ignored");var n=P(t,void 0,void 0,$.location);f.confirmTransitionTo(n,"PUSH",r,function(t){if(t){var e=x(n),o=u(c+e);if(Y()!==o){m=e,function(t){window.location.hash=t}(o);var r=I.lastIndexOf(x($.location)),i=I.slice(0,-1===r?0:r+1);i.push(e),I=i,y({action:"PUSH",location:n})}else h(!1,"Hash history cannot PUSH the same path; a new entry will not be added to the history stack"),y()}})},replace:function(t,e){h(void 0===e,"Hash history cannot replace state; it is ignored");var n=P(t,void 0,void 0,$.location);f.confirmTransitionTo(n,"REPLACE",r,function(t){if(t){var e=x(n),o=u(c+e);Y()!==o&&(m=e,N(o));var r=I.indexOf(x($.location));-1!==r&&(I[r]=e),y({action:"REPLACE",location:n})}})},go:W,goBack:function(){return W(-1)},goForward:function(){return W(1)},block:function(){var t=f.setPrompt(arguments.length>0&&void 0!==arguments[0]&&arguments[0]);return D||(F(1),D=!0),function(){return D&&(D=!1,F(-1)),t()}},listen:function(t){var e=f.appendListener(t);return F(1),function(){F(-1),e()}}};return $},W="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},B=Object.assign||function(t){for(var e=1;arguments.length>e;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},F=function(t,e,n){return Math.min(Math.max(t,e),n)},D=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.getUserConfirmation,n=t.initialEntries,o=void 0===n?["/"]:n,r=t.initialIndex,i=void 0===r?0:r,a=t.keyLength,c=void 0===a?6:a,s=E(),u=function(t){B(y,t),y.length=y.entries.length,s.notifyListeners(y.location,y.action)},p=function(){return Math.random().toString(36).substr(2,c)},l=F(i,0,o.length-1),f=o.map(function(t){return P(t,void 0,"string"==typeof t?p():t.key||p())}),d=function(t){var n=F(y.index+t,0,y.entries.length-1),o=y.entries[n];s.confirmTransitionTo(o,"POP",e,function(t){t?u({action:"POP",location:o,index:n}):u()})},y={length:f.length,action:"POP",location:f[l],index:l,entries:f,createHref:x,push:function(t,n){h(!("object"===(void 0===t?"undefined":W(t))&&void 0!==t.state&&void 0!==n),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var o=P(t,n,p(),y.location);s.confirmTransitionTo(o,"PUSH",e,function(t){if(t){var e=y.index+1,n=y.entries.slice(0);n.length>e?n.splice(e,n.length-e,o):n.push(o),u({action:"PUSH",location:o,index:e,entries:n})}})},replace:function(t,n){h(!("object"===(void 0===t?"undefined":W(t))&&void 0!==t.state&&void 0!==n),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var o=P(t,n,p(),y.location);s.confirmTransitionTo(o,"REPLACE",e,function(t){t&&(y.entries[y.index]=o,u({action:"REPLACE",location:o}))})},go:d,goBack:function(){return d(-1)},goForward:function(){return d(1)},canGo:function(t){var e=y.index+t;return e>=0&&y.entries.length>e},block:function(){return s.setPrompt(arguments.length>0&&void 0!==arguments[0]&&arguments[0])},listen:function(t){return s.appendListener(t)}};return y},$=Object.assign||function(t){for(var e=1;arguments.length>e;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t};function K(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var G=function(t){function n(){var e,o;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n);for(var r=arguments.length,i=Array(r),a=0;r>a;a++)i[a]=arguments[a];return e=o=K(this,t.call.apply(t,[this].concat(i))),o.state={match:o.computeMatch(o.props.history.location.pathname)},K(o,e)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(n,t),n.prototype.getChildContext=function(){return{router:$({},this.context.router,{history:this.props.history,route:{location:this.props.history.location,match:this.state.match}})}},n.prototype.computeMatch=function(t){return{path:"/",url:"/",params:{},isExact:"/"===t}},n.prototype.componentWillMount=function(){var t=this,n=this.props,o=n.children,r=n.history;d(null==o||1===e.Children.count(o),"A <Router> may have only one child element"),this.unlisten=r.listen(function(){t.setState({match:t.computeMatch(r.location.pathname)})})},n.prototype.componentWillReceiveProps=function(t){c(this.props.history===t.history,"You cannot change <Router history>")},n.prototype.componentWillUnmount=function(){this.unlisten()},n.prototype.render=function(){var t=this.props.children;return t?e.Children.only(t):null},n}(e.Component);function V(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}G.propTypes={history:l.object.isRequired,children:l.node},G.contextTypes={router:l.object},G.childContextTypes={router:l.object.isRequired};var z=function(t){function n(){var e,o;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n);for(var r=arguments.length,i=Array(r),a=0;r>a;a++)i[a]=arguments[a];return e=o=V(this,t.call.apply(t,[this].concat(i))),o.history=H(o.props),V(o,e)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(n,t),n.prototype.componentWillMount=function(){c(!this.props.history,"<BrowserRouter> ignores the history prop. To use a custom history, use `import { Router }` instead of `import { BrowserRouter as Router }`.")},n.prototype.render=function(){return e.createElement(G,{history:this.history,children:this.props.children})},n}(e.Component);function J(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}z.propTypes={basename:l.string,forceRefresh:l.bool,getUserConfirmation:l.func,keyLength:l.number,children:l.node};var Q=function(t){function n(){var e,o;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n);for(var r=arguments.length,i=Array(r),a=0;r>a;a++)i[a]=arguments[a];return e=o=J(this,t.call.apply(t,[this].concat(i))),o.history=I(o.props),J(o,e)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(n,t),n.prototype.componentWillMount=function(){c(!this.props.history,"<HashRouter> ignores the history prop. To use a custom history, use `import { Router }` instead of `import { HashRouter as Router }`.")},n.prototype.render=function(){return e.createElement(G,{history:this.history,children:this.props.children})},n}(e.Component);Q.propTypes={basename:l.string,getUserConfirmation:l.func,hashType:l.oneOf(["hashbang","noslash","slash"]),children:l.node};var X=Object.assign||function(t){for(var e=1;arguments.length>e;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t};function Z(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var tt=function(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)},et=function(t){function n(){var e,o;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n);for(var r=arguments.length,i=Array(r),a=0;r>a;a++)i[a]=arguments[a];return e=o=Z(this,t.call.apply(t,[this].concat(i))),o.handleClick=function(t){if(o.props.onClick&&o.props.onClick(t),!t.defaultPrevented&&0===t.button&&!o.props.target&&!tt(t)){t.preventDefault();var e=o.context.router.history,n=o.props,r=n.to;n.replace?e.replace(r):e.push(r)}},Z(o,e)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(n,t),n.prototype.render=function(){var t=this.props,n=t.to,o=t.innerRef,r=function(t,e){var n={};for(var o in t)0>e.indexOf(o)&&Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=t[o]);return n}(t,["replace","to","innerRef"]);d(this.context.router,"You should not use <Link> outside a <Router>"),d(void 0!==n,'You must specify the "to" property');var i=this.context.router.history,a="string"==typeof n?P(n,null,null,i.location):n,c=i.createHref(a);return e.createElement("a",X({},r,{onClick:this.handleClick,href:c,ref:o}))},n}(e.Component);function nt(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}et.propTypes={onClick:l.func,target:l.string,replace:l.bool,to:l.oneOfType([l.string,l.object]).isRequired,innerRef:l.oneOfType([l.string,l.func])},et.defaultProps={replace:!1},et.contextTypes={router:l.shape({history:l.shape({push:l.func.isRequired,replace:l.func.isRequired,createHref:l.func.isRequired}).isRequired}).isRequired};var ot=function(t){function n(){var e,o;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n);for(var r=arguments.length,i=Array(r),a=0;r>a;a++)i[a]=arguments[a];return e=o=nt(this,t.call.apply(t,[this].concat(i))),o.history=D(o.props),nt(o,e)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(n,t),n.prototype.componentWillMount=function(){c(!this.props.history,"<MemoryRouter> ignores the history prop. To use a custom history, use `import { Router }` instead of `import { MemoryRouter as Router }`.")},n.prototype.render=function(){return e.createElement(G,{history:this.history,children:this.props.children})},n}(e.Component);ot.propTypes={initialEntries:l.array,initialIndex:l.number,getUserConfirmation:l.func,keyLength:l.number,children:l.node};var rt=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)},it=bt,at=function(t,e){return ft(pt(t,e))},ct=ft,st=mt,ut=/(\\.)|([\/.])?(?:(?:\:(\w+)(?:\(((?:\\.|[^\\()])+)\))?|\(((?:\\.|[^\\()])+)\))([+*?])?|(\*))/g;function pt(t,e){for(var n,o=[],r=0,i=0,a="",c=e&&e.delimiter||"/";null!=(n=ut.exec(t));){var s=n[0],u=n[1],p=n.index;if(a+=t.slice(i,p),i=p+s.length,u)a+=u[1];else{var l=t[i],f=n[2],h=n[3],d=n[4],y=n[5],v=n[6],m=n[7];a&&(o.push(a),a="");var b=n[2]||c,g=d||y;o.push({name:h||r++,prefix:f||"",delimiter:b,optional:"?"===v||"*"===v,repeat:"+"===v||"*"===v,partial:null!=f&&null!=l&&l!==f,asterisk:!!m,pattern:g?dt(g):m?".*":"[^"+ht(b)+"]+?"})}}return t.length>i&&(a+=t.substr(i)),a&&o.push(a),o}function lt(t){return encodeURI(t).replace(/[\/?#]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}function ft(t){for(var e=Array(t.length),n=0;t.length>n;n++)"object"==typeof t[n]&&(e[n]=RegExp("^(?:"+t[n].pattern+")$"));return function(n,o){for(var r="",i=n||{},a=(o||{}).pretty?lt:encodeURIComponent,c=0;t.length>c;c++){var s=t[c];if("string"!=typeof s){var u,p=i[s.name];if(null==p){if(s.optional){s.partial&&(r+=s.prefix);continue}throw new TypeError('Expected "'+s.name+'" to be defined')}if(rt(p)){if(!s.repeat)throw new TypeError('Expected "'+s.name+'" to not repeat, but received `'+JSON.stringify(p)+"`");if(0===p.length){if(s.optional)continue;throw new TypeError('Expected "'+s.name+'" to not be empty')}for(var l=0;p.length>l;l++){if(u=a(p[l]),!e[c].test(u))throw new TypeError('Expected all "'+s.name+'" to match "'+s.pattern+'", but received `'+JSON.stringify(u)+"`");r+=(0===l?s.prefix:s.delimiter)+u}}else{if(u=s.asterisk?encodeURI(p).replace(/[?#]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()}):a(p),!e[c].test(u))throw new TypeError('Expected "'+s.name+'" to match "'+s.pattern+'", but received "'+u+'"');r+=s.prefix+u}}else r+=s}return r}}function ht(t){return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function dt(t){return t.replace(/([=!:$\/()])/g,"\\$1")}function yt(t,e){return t.keys=e,t}function vt(t){return t.sensitive?"":"i"}function mt(t,e,n){rt(e)||(n=e||n,e=[]);for(var o=(n=n||{}).strict,r=!1!==n.end,i="",a=0;t.length>a;a++){var c=t[a];if("string"==typeof c)i+=ht(c);else{var s=ht(c.prefix),u="(?:"+c.pattern+")";e.push(c),c.repeat&&(u+="(?:"+s+u+")*"),i+=u=c.optional?c.partial?s+"("+u+")?":"(?:"+s+"("+u+"))?":s+"("+u+")"}}var p=ht(n.delimiter||"/"),l=i.slice(-p.length)===p;return o||(i=(l?i.slice(0,-p.length):i)+"(?:"+p+"(?=$))?"),yt(RegExp("^"+(i+=r?"$":o&&l?"":"(?="+p+"|$)"),vt(n)),e)}function bt(t,e,n){return rt(e)||(n=e||n,e=[]),n=n||{},t instanceof RegExp?function(t,e){var n=t.source.match(/\((?!\?)/g);if(n)for(var o=0;n.length>o;o++)e.push({name:o,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return yt(t,e)}(t,e):rt(t)?function(t,e,n){for(var o=[],r=0;t.length>r;r++)o.push(bt(t[r],e,n).source);return yt(RegExp("(?:"+o.join("|")+")",vt(n)),e)}(t,e,n):function(t,e,n){return mt(pt(t,n),e,n)}(t,e,n)}it.parse=pt,it.compile=at,it.tokensToFunction=ct,it.tokensToRegExp=st;var gt={},wt=0,Ot=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};"string"==typeof e&&(e={path:e});var n=e.path,o=e.exact,r=void 0!==o&&o,i=e.strict,a=void 0!==i&&i,c=e.sensitive,s=void 0!==c&&c;if(null==n)return arguments[2];var u=function(t,e){var n=""+e.end+e.strict+e.sensitive,o=gt[n]||(gt[n]={});if(o[t])return o[t];var r=[],i={re:it(t,r,e),keys:r};return 1e4>wt&&(o[t]=i,wt++),i}(n,{end:r,strict:a,sensitive:s}),p=u.keys,l=u.re.exec(t);if(!l)return null;var f=l[0],h=l.slice(1),d=t===f;return r&&!d?null:{path:n,url:"/"===n&&""===f?"/":f,isExact:d,params:p.reduce(function(t,e,n){return t[e.name]=h[n],t},{})}},jt=Object.assign||function(t){for(var e=1;arguments.length>e;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t};function xt(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var Rt=function(t){return 0===e.Children.count(t)},Pt=function(t){function n(){var e,o;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n);for(var r=arguments.length,i=Array(r),a=0;r>a;a++)i[a]=arguments[a];return e=o=xt(this,t.call.apply(t,[this].concat(i))),o.state={match:o.computeMatch(o.props,o.context.router)},xt(o,e)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(n,t),n.prototype.getChildContext=function(){return{router:jt({},this.context.router,{route:{location:this.props.location||this.context.router.route.location,match:this.state.match}})}},n.prototype.computeMatch=function(t,e){var n=t.computedMatch,o=t.location,r=t.path,i=t.strict,a=t.exact,c=t.sensitive;if(n)return n;d(e,"You should not use <Route> or withRouter() outside a <Router>");var s=e.route;return Ot((o||s.location).pathname,{path:r,strict:i,exact:a,sensitive:c},s.match)},n.prototype.componentWillMount=function(){c(!(this.props.component&&this.props.render),"You should not use <Route component> and <Route render> in the same route; <Route render> will be ignored"),c(!(this.props.component&&this.props.children&&!Rt(this.props.children)),"You should not use <Route component> and <Route children> in the same route; <Route children> will be ignored"),c(!(this.props.render&&this.props.children&&!Rt(this.props.children)),"You should not use <Route render> and <Route children> in the same route; <Route children> will be ignored")},n.prototype.componentWillReceiveProps=function(t,e){c(!(t.location&&!this.props.location),'<Route> elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),c(!(!t.location&&this.props.location),'<Route> elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.'),this.setState({match:this.computeMatch(t,e.router)})},n.prototype.render=function(){var t=this.state.match,n=this.props,o=n.children,r=n.component,i=n.render,a=this.context.router,c={match:t,location:this.props.location||a.route.location,history:a.history,staticContext:a.staticContext};return r?t?e.createElement(r,c):null:i?t?i(c):null:"function"==typeof o?o(c):o&&!Rt(o)?e.Children.only(o):null},n}(e.Component);Pt.propTypes={computedMatch:l.object,path:l.string,exact:l.bool,strict:l.bool,sensitive:l.bool,component:l.func,render:l.func,children:l.oneOfType([l.func,l.node]),location:l.object},Pt.contextTypes={router:l.shape({history:l.object.isRequired,route:l.object.isRequired,staticContext:l.object})},Pt.childContextTypes={router:l.object.isRequired};var Tt=Object.assign||function(t){for(var e=1;arguments.length>e;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},Et="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};var Ct=function(t){var n=t.to,o=t.exact,r=t.strict,i=t.location,a=t.activeClassName,c=t.className,s=t.activeStyle,u=t.style,p=t.isActive,l=t["aria-current"],f=function(t,e){var n={};for(var o in t)0>e.indexOf(o)&&Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=t[o]);return n}(t,["to","exact","strict","location","activeClassName","className","activeStyle","style","isActive","aria-current"]),h="object"===(void 0===n?"undefined":Et(n))?n.pathname:n,d=h&&h.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1");return e.createElement(Pt,{path:d,exact:o,strict:r,location:i,children:function(t){var o=t.match,r=!!(p?p(o,t.location):o);return e.createElement(et,Tt({to:n,className:r?[c,a].filter(function(t){return t}).join(" "):c,style:r?Tt({},u,s):u,"aria-current":r&&l||null},f))}})};Ct.propTypes={to:et.propTypes.to,exact:l.bool,strict:l.bool,location:l.object,activeClassName:l.string,className:l.string,activeStyle:l.object,style:l.object,isActive:l.func,"aria-current":l.oneOf(["page","step","location","date","time","true"])},Ct.defaultProps={activeClassName:"active","aria-current":"page"};var St=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.enable=function(t){this.unblock&&this.unblock(),this.unblock=this.context.router.history.block(t)},e.prototype.disable=function(){this.unblock&&(this.unblock(),this.unblock=null)},e.prototype.componentWillMount=function(){d(this.context.router,"You should not use <Prompt> outside a <Router>"),this.props.when&&this.enable(this.props.message)},e.prototype.componentWillReceiveProps=function(t){t.when?this.props.when&&this.props.message===t.message||this.enable(t.message):this.disable()},e.prototype.componentWillUnmount=function(){this.disable()},e.prototype.render=function(){return null},e}(e.Component);St.propTypes={when:l.bool,message:l.oneOfType([l.func,l.string]).isRequired},St.defaultProps={when:!0},St.contextTypes={router:l.shape({history:l.shape({block:l.func.isRequired}).isRequired}).isRequired};var kt={},_t=0,At=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"/"===t?t:function(t){var e=kt[t]||(kt[t]={});if(e[t])return e[t];var n=it.compile(t);return 1e4>_t&&(e[t]=n,_t++),n}(t)(e,{pretty:!0})},Lt=Object.assign||function(t){for(var e=1;arguments.length>e;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t};var Mt=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.isStatic=function(){return this.context.router&&this.context.router.staticContext},e.prototype.componentWillMount=function(){d(this.context.router,"You should not use <Redirect> outside a <Router>"),this.isStatic()&&this.perform()},e.prototype.componentDidMount=function(){this.isStatic()||this.perform()},e.prototype.componentDidUpdate=function(t){var e=P(t.to),n=P(this.props.to);T(e,n)?c(!1,"You tried to redirect to the same route you're currently on: \""+n.pathname+n.search+'"'):this.perform()},e.prototype.computeTo=function(t){var e=t.computedMatch,n=t.to;return e?"string"==typeof n?At(n,e.params):Lt({},n,{pathname:At(n.pathname,e.params)}):n},e.prototype.perform=function(){var t=this.context.router.history,e=this.props.push,n=this.computeTo(this.props);e?t.push(n):t.replace(n)},e.prototype.render=function(){return null},e}(e.Component);Mt.propTypes={computedMatch:l.object,push:l.bool,from:l.string,to:l.oneOfType([l.string,l.object]).isRequired},Mt.defaultProps={push:!1},Mt.contextTypes={router:l.shape({history:l.shape({push:l.func.isRequired,replace:l.func.isRequired}).isRequired,staticContext:l.object}).isRequired};var Ht=Object.assign||function(t){for(var e=1;arguments.length>e;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t};function qt(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var Ut=function(t){return"/"===t.charAt(0)?t:"/"+t},Yt=function(t,e){return t?Ht({},e,{pathname:Ut(t)+e.pathname}):e},Nt=function(t){return"string"==typeof t?t:x(t)},It=function(t){return function(){d(!1,"You cannot %s with <StaticRouter>",t)}},Wt=function(){},Bt=function(t){function n(){var e,o;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n);for(var r=arguments.length,i=Array(r),a=0;r>a;a++)i[a]=arguments[a];return e=o=qt(this,t.call.apply(t,[this].concat(i))),o.createHref=function(t){return Ut(o.props.basename+Nt(t))},o.handlePush=function(t){var e=o.props,n=e.basename,r=e.context;r.action="PUSH",r.location=Yt(n,P(t)),r.url=Nt(r.location)},o.handleReplace=function(t){var e=o.props,n=e.basename,r=e.context;r.action="REPLACE",r.location=Yt(n,P(t)),r.url=Nt(r.location)},o.handleListen=function(){return Wt},o.handleBlock=function(){return Wt},qt(o,e)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(n,t),n.prototype.getChildContext=function(){return{router:{staticContext:this.props.context}}},n.prototype.componentWillMount=function(){c(!this.props.history,"<StaticRouter> ignores the history prop. To use a custom history, use `import { Router }` instead of `import { StaticRouter as Router }`.")},n.prototype.render=function(){var t=this.props,n=t.basename,o=t.location,r=function(t,e){var n={};for(var o in t)0>e.indexOf(o)&&Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=t[o]);return n}(t,["basename","context","location"]),i={createHref:this.createHref,action:"POP",location:function(t,e){if(!t)return e;var n=Ut(t);return 0!==e.pathname.indexOf(n)?e:Ht({},e,{pathname:e.pathname.substr(n.length)})}(n,P(o)),push:this.handlePush,replace:this.handleReplace,go:It("go"),goBack:It("goBack"),goForward:It("goForward"),listen:this.handleListen,block:this.handleBlock};return e.createElement(G,Ht({},r,{history:i}))},n}(e.Component);Bt.propTypes={basename:l.string,context:l.object.isRequired,location:l.oneOfType([l.string,l.object])},Bt.defaultProps={basename:"",location:"/"},Bt.childContextTypes={router:l.object.isRequired};var Ft=function(t){function n(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(n,t),n.prototype.componentWillMount=function(){d(this.context.router,"You should not use <Switch> outside a <Router>")},n.prototype.componentWillReceiveProps=function(t){c(!(t.location&&!this.props.location),'<Switch> elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),c(!(!t.location&&this.props.location),'<Switch> elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.')},n.prototype.render=function(){var t=this.context.router.route,n=this.props.location||t.location,o=void 0,r=void 0;return e.Children.forEach(this.props.children,function(i){if(null==o&&e.isValidElement(i)){var a=i.props;r=i,o=Ot(n.pathname,{path:a.path||a.from,exact:a.exact,strict:a.strict,sensitive:a.sensitive},t.match)}}),o?e.cloneElement(r,{location:n,computedMatch:o}):null},n}(e.Component);Ft.contextTypes={router:l.shape({route:l.object.isRequired}).isRequired},Ft.propTypes={children:l.node,location:l.object};var Dt={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},$t={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Kt=Object.defineProperty,Gt=Object.getOwnPropertyNames,Vt=Object.getOwnPropertySymbols,zt=Object.getOwnPropertyDescriptor,Jt=Object.getPrototypeOf,Qt=Jt&&Jt(Object);var Xt=function t(e,n,o){if("string"!=typeof n){if(Qt){var r=Jt(n);r&&r!==Qt&&t(e,r,o)}var i=Gt(n);Vt&&(i=i.concat(Vt(n)));for(var a=0;i.length>a;++a){var c=i[a];if(!(Dt[c]||$t[c]||o&&o[c])){var s=zt(n,c);try{Kt(e,c,s)}catch(t){}}}return e}return e},Zt=Object.assign||function(t){for(var e=1;arguments.length>e;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t};var te=Object.freeze({BrowserRouter:z,HashRouter:Q,Link:et,MemoryRouter:ot,NavLink:Ct,Prompt:St,Redirect:Mt,Route:Pt,Router:G,StaticRouter:Bt,Switch:Ft,generatePath:At,matchPath:Ot,withRouter:function(t){var n=function(n){var o=n.wrappedComponentRef,r=function(t,e){var n={};for(var o in t)0>e.indexOf(o)&&Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=t[o]);return n}(n,["wrappedComponentRef"]);return e.createElement(Pt,{children:function(n){return e.createElement(t,Zt({},r,n,{ref:o}))}})};return n.displayName="withRouter("+(t.displayName||t.name)+")",n.WrappedComponent=t,n.propTypes={wrappedComponentRef:l.func},Xt(n,t)}}),ee=Object.assign||function(t){for(var e=1;arguments.length>e;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},ne="@@router/LOCATION_CHANGE",oe={location:null};function re(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var ie=function(t){function n(){var e,o;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n);for(var r=arguments.length,i=Array(r),a=0;r>a;a++)i[a]=arguments[a];return e=o=re(this,t.call.apply(t,[this].concat(i))),o.handleLocationChange=function(t){o.store.dispatch({type:ne,payload:t})},re(o,e)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(n,t),n.prototype.componentWillMount=function(){var t=this.props,e=t.history,n=t.isSSR;this.store=t.store||this.context.store,this.handleLocationChange(e.location),n||(this.unsubscribeFromHistory=e.listen(this.handleLocationChange))},n.prototype.componentWillUnmount=function(){this.unsubscribeFromHistory&&this.unsubscribeFromHistory()},n.prototype.render=function(){return e.createElement(G,this.props)},n}(t.Component);ie.propTypes={store:l.object,history:l.object.isRequired,children:l.node,isSSR:l.bool},ie.contextTypes={store:l.object};var ae=function(t){return t.router.location},ce="@@router/CALL_HISTORY_METHOD";function se(t){return function(){for(var e=arguments.length,n=Array(e),o=0;e>o;o++)n[o]=arguments[o];return{type:ce,payload:{method:t,args:n}}}}var ue=se("push"),pe=se("replace"),le=se("go"),fe=se("goBack"),he=se("goForward");return i({},te,{routerRedux:Object.freeze({ConnectedRouter:ie,routerMiddleware:function(t){return function(){return function(e){return function(n){if(n.type!==ce)return e(n);var o=n.payload;t[o.method].apply(t,o.args)}}}},getLocation:ae,createMatchSelector:function(t){var e=null,n=null;return function(o){var r=(ae(o)||{}).pathname;if(r===e)return n;e=r;var i=Ot(r,t);return i&&n&&i.url===n.url||(n=i),n}},LOCATION_CHANGE:ne,routerReducer:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:oe,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.type===ne?ee({},t,{location:e.payload}):t},CALL_HISTORY_METHOD:ce,push:ue,replace:pe,go:le,goBack:fe,goForward:he,routerActions:{push:ue,replace:pe,go:le,goBack:fe,goForward:he}})})});

@@ -20,2 +20,4 @@ "use strict";

var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));

@@ -27,4 +29,2 @@

var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
var _react = _interopRequireWildcard(require("react"));

@@ -52,4 +52,2 @@

function (_Component) {
(0, _inherits2.default)(DynamicComponent, _Component);
function DynamicComponent() {

@@ -113,2 +111,3 @@ var _getPrototypeOf2;

}]);
(0, _inherits2.default)(DynamicComponent, _Component);
return DynamicComponent;

@@ -115,0 +114,0 @@ }(_react.Component)

{
"name": "dva",
"version": "2.3.1",
"version": "2.3.2",
"description": "React and redux based, lightweight and elm-style framework.",

@@ -29,7 +29,7 @@ "repository": {

"dependencies": {
"@babel/runtime": "^7.0.0-beta.34",
"@babel/runtime": "7.0.0-beta.46",
"@types/isomorphic-fetch": "^0.0.34",
"@types/react-router-dom": "^4.2.7",
"@types/react-router-redux": "^5.0.13",
"dva-core": "^1.3.0",
"dva-core": "^1.3.1",
"global": "^4.3.2",

@@ -36,0 +36,0 @@ "history": "^4.6.3",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc