Files
yoga/docs/commons-c1c1180f734cb1baa282.js

9 lines
245 KiB
JavaScript
Raw Normal View History

!function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={exports:{},id:n,loaded:!1};return e[n].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n=window.webpackJsonp;window.webpackJsonp=function(i,a){for(var u,l,c=0,s=[];c<i.length;c++)l=i[c],o[l]&&s.push.apply(s,o[l]),o[l]=0;for(u in a)Object.prototype.hasOwnProperty.call(a,u)&&(e[u]=a[u]);for(n&&n(i,a);s.length;)s.shift().call(null,t);if(a[0])return r[0]=0,t(0)};var r={},o={0x99703cc56f65:0};t.e=function(e,n){if(0===o[e])return n.call(null,t);if(void 0!==o[e])o[e].push(n);else{o[e]=[n];var r=document.getElementsByTagName("head")[0],i=document.createElement("script");i.type="text/javascript",i.charset="utf-8",i.async=!0,i.src=t.p+window.webpackManifest[e],r.appendChild(i)}},t.m=e,t.c=r,t.p="/",t.s=o}([,function(e,t,n){"use strict";e.exports=n(508)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(82),i=r(o);t.default=i.default||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}},function(e,t,n){e.exports=n(538)()},function(e,t){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(379),i=r(o),a=n(377),u=r(a),l=n(29),c=r(l);t.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+("undefined"==typeof t?"undefined":(0,c.default)(t)));e.prototype=(0,u.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(i.default?(0,i.default)(e,t):e.__proto__=t)}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(29),i=r(o);t.default=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==("undefined"==typeof t?"undefined":(0,i.default)(t))&&"function"!=typeof t?e:t}},function(e,t,n){var r,o;!function(){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r))e.push(n.apply(null,r));else if("object"===o)for(var a in r)i.call(r,a)&&r[a]&&e.push(a)}}return e.join(" ")}var i={}.hasOwnProperty;"undefined"!=typeof e&&e.exports?e.exports=n:(r=[],o=function(){return n}.apply(t,r),!(void 0!==o&&(e.exports=o)))}()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(317),i=r(o);t.default=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,i.default)(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(317),i=r(o);t.default=function(e,t,n){return t in e?(0,i.default)(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){"use strict";function r(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(e){console.error(e)}}r(),e.exports=n(507)},,function(e,t){},,,,,function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),a=o(i),u=n(9),l=o(u),c=n(1),s=r(c),f=n(7),p=o(f),d=n(50),h=o(d),y=function(e){var t=e.type,n=e.className,r=void 0===n?"":n,o=e.spin,i=(0,p.default)((0,l.default)({anticon:!0,"anticon-spin":!!o||"loading"===t},"anticon-"+t,!0),r);return s.createElement("i",(0,a.default)({},(0,h.default)(e,["type","spin"]),{className:i}))};t.default=y,e.exports
get:function(){return i.createPath}});var a=n(307),u=r(a),l=n(351),c=r(l),s=n(352),f=r(s);t.createBrowserHistory=u.default,t.createHashHistory=c.default,t.createMemoryHistory=f.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(311),i=r(o);t.default=i.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=n(23),c=r(l),s=n(49),f=r(s),p=n(1),d=r(p),h=n(3),y=r(h),v=function(e){function t(){var n,r,a;o(this,t);for(var u=arguments.length,l=Array(u),c=0;c<u;c++)l[c]=arguments[c];return n=r=i(this,e.call.apply(e,[this].concat(l))),r.state={match:r.computeMatch(r.props.history.location.pathname)},a=n,i(r,a)}return a(t,e),t.prototype.getChildContext=function(){return{router:u({},this.context.router,{history:this.props.history,route:{location:this.props.history.location,match:this.state.match}})}},t.prototype.computeMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}},t.prototype.componentWillMount=function(){var e=this,t=this.props,n=t.children,r=t.history;(0,f.default)(null==n||1===d.default.Children.count(n),"A <Router> may have only one child element"),this.unlisten=r.listen(function(){e.setState({match:e.computeMatch(r.location.pathname)})})},t.prototype.componentWillReceiveProps=function(e){(0,c.default)(this.props.history===e.history,"You cannot change <Router history>")},t.prototype.componentWillUnmount=function(){this.unlisten()},t.prototype.render=function(){var e=this.props.children;return e?d.default.Children.only(e):null},t}(d.default.Component);v.propTypes={history:y.default.object.isRequired,children:y.default.node},v.contextTypes={router:y.default.object},v.childContextTypes={router:y.default.object.isRequired},t.default=v},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(557),i=r(o),a={},u=1e4,l=0,c=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=a[n]||(a[n]={});if(r[e])return r[e];var o=[],c=(0,i.default)(e,o,t),s={re:c,keys:o};return l<u&&(r[e]=s,l++),s},s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};"string"==typeof t&&(t={path:t});var n=t,r=n.path,o=void 0===r?"/":r,i=n.exact,a=void 0!==i&&i,u=n.strict,l=void 0!==u&&u,s=n.sensitive,f=void 0!==s&&s,p=c(o,{end:a,strict:l,sensitive:f}),d=p.re,h=p.keys,y=d.exec(e);if(!y)return null;var v=y[0],m=y.slice(1),g=e===v;return a&&!g?null:{path:o,url:"/"===o&&""===v?"/":v,isExact:g,params:h.reduce(function(e,t,n){return e[t.name]=m[n],e},{})}};t.default=s},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Col=t.Row=void 0;var o=n(359),i=r(o),a=n(358),u=r(a);t.Row=i.default,t.Col=u.default},,,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,con
push:C,pull:C,className:E.default.string,children:E.default.node,xs:O,sm:O,md:O,lg:O,xl:O,xxl:O},e.exports=t.default},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(9),a=o(i),u=n(2),l=o(u),c=n(29),s=o(c),f=n(4),p=o(f),d=n(8),h=o(d),y=n(6),v=o(y),m=n(5),g=o(m),b=n(1),w=r(b),T=n(7),E=o(T),_=n(3),x=o(_),S=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]]);return n},C=void 0;if("undefined"!=typeof window){var O=function(e){return{media:e,matches:!1,addListener:function(){},removeListener:function(){}}};window.matchMedia=window.matchMedia||O,C=n(460)}var P=["xxl","xl","lg","md","sm","xs"],k={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"},A=function(e){function t(){(0,p.default)(this,t);var e=(0,v.default)(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.state={screens:{}},e}return(0,g.default)(t,e),(0,h.default)(t,[{key:"componentDidMount",value:function(){var e=this;Object.keys(k).map(function(t){return C.register(k[t],{match:function(){"object"===(0,s.default)(e.props.gutter)&&e.setState(function(e){return{screens:(0,l.default)({},e.screens,(0,a.default)({},t,!0))}})},unmatch:function(){"object"===(0,s.default)(e.props.gutter)&&e.setState(function(e){return{screens:(0,l.default)({},e.screens,(0,a.default)({},t,!1))}})},destroy:function(){}})})}},{key:"componentWillUnmount",value:function(){Object.keys(k).map(function(e){return C.unregister(k[e])})}},{key:"getGutter",value:function(){var e=this.props.gutter;if("object"===("undefined"==typeof e?"undefined":(0,s.default)(e)))for(var t=0;t<=P.length;t++){var n=P[t];if(this.state.screens[n]&&void 0!==e[n])return e[n]}return e}},{key:"render",value:function(){var e,t=this.props,n=t.type,r=t.justify,o=t.align,i=t.className,u=t.style,c=t.children,s=t.prefixCls,f=void 0===s?"ant-row":s,p=S(t,["type","justify","align","className","style","children","prefixCls"]),d=this.getGutter(),h=(0,E.default)((e={},(0,a.default)(e,f,!n),(0,a.default)(e,f+"-"+n,n),(0,a.default)(e,f+"-"+n+"-"+r,n&&r),(0,a.default)(e,f+"-"+n+"-"+o,n&&o),e),i),y=d>0?(0,l.default)({marginLeft:d/-2,marginRight:d/-2},u):u,v=b.Children.map(c,function(e){return e?e.props&&d>0?(0,b.cloneElement)(e,{style:(0,l.default)({paddingLeft:d/2,paddingRight:d/2},e.props.style)}):e:null}),m=(0,l.default)({},p);return delete m.gutter,w.createElement("div",(0,l.default)({},m,{className:h,style:y}),v)}}]),t}(w.Component);t.default=A,A.defaultProps={gutter:0},A.propTypes={type:x.default.string,align:x.default.string,justify:x.default.string,className:x.default.string,children:x.default.node,gutter:x.default.oneOfType([x.default.object,x.default.number]),prefixCls:x.default.string},e.exports=t.default},,,,,,,,,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(1),i=r(o);t.default=function(){return i.default.createElement("svg",{viewBox:"0 0 1133.9 1133.9"},i.default.createElement("g",null,i.default.createElement("path",{d:"M 498.3 3.7 c 153.6 88.9 307.3 177.7 461.1 266.2 c 7.6 4.4 10.3 9.1 10.3 17.8 c -0.3 179.1 -0.2 358.3 0 537.4 c 0 8.1 -2.4 12.8 -9.7 17.1 c -154.5 88.9 -308.8 178.1 -462.9 267.5 c -9 5.2 -15.5 5.3 -24.6 0.1 c -153.9 -89.2 -307.9 -178 -462.1 -266.8 C 3 838.8 0 833.9 0 825.1 c 0.3 -179.1 0.2 -358.3 0 -537.4 c 0 -8.6 2.6 -13.6 10.2 -18 C 164.4 180.9 318.4 92 472.4 3 C 477 -1.5 494.3 -0.7 498.3 3.7 Z M 48.8 555.3 c 0 79.9 0.2 159.9 -0.2 239.8 c -0.1 10 3 15.6 11.7 20.6 c 137.2 78.8 274.2 157.8 411 237.3 c 9.9 5.7 17 5.7 26.8 0.1 c 137.5 -79.8 275.2 -159.2 412.9 -238.5 c 7.4 -4.3 10.5 -8.9 10.5
e.removeEventListener(t,n,!1)}}):e.attachEvent?(e.attachEvent("on"+t,n),{remove:function(){e.detachEvent("on"+t,n)}}):void 0},capture:function(e,t,n){return e.addEventListener?(e.addEventListener(t,n,!0),{remove:function(){e.removeEventListener(t,n,!0)}}):{remove:r}},registerDefault:function(){}};e.exports=o},function(e,t){"use strict";var n=!("undefined"==typeof window||!window.document||!window.document.createElement),r={canUseDOM:n,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:n&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:n&&!!window.screen,isInWorker:!n};e.exports=r},function(e,t,n){"use strict";function r(e,t){return!(!e||!t)&&(e===t||!o(e)&&(o(t)?r(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}var o=n(476);e.exports=r},function(e,t){"use strict";function n(e){try{e.focus()}catch(e){}}e.exports=n},function(e,t){"use strict";function n(e){if(e=e||("undefined"!=typeof document?document:void 0),"undefined"==typeof e)return null;try{return e.activeElement||e.body}catch(t){return e.body}}e.exports=n},function(e,t){"use strict";function n(e){var t=e?e.ownerDocument||e:document,n=t.defaultView||window;return!(!e||!("function"==typeof n.Node?e instanceof n.Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))}e.exports=n},function(e,t,n){"use strict";function r(e){return o(e)&&3==e.nodeType}var o=n(475);e.exports=r},function(e,t){"use strict";function n(e,t){return e===t?0!==e||0!==t||1/e===1/t:e!==e&&t!==t}function r(e,t){if(n(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var r=Object.keys(e),i=Object.keys(t);if(r.length!==i.length)return!1;for(var a=0;a<r.length;a++)if(!o.call(t,r[a])||!n(e[r[a]],t[r[a]]))return!1;return!0}var o=Object.prototype.hasOwnProperty;e.exports=r},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";function r(e){for(var t=arguments.length-1,n="Minified React error #"+e+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);throw t=Error(n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."),t.name="Invariant Violation",t.framesToPop=1,t}function o(e,t){return(e&t)===t}function i(e,t){if(kn.hasOwnProperty(e)||2<e.length&&("o"===e[0]||"O"===e[0])&&("n"===e[1]||"N"===e[1]))return!1;if(null===t)return!0;switch(typeof t){case"boolean":return kn.hasOwnProperty(e)?e=!0:(t=a(e))?e=t.hasBooleanValue||t.hasStringBooleanValue||t.hasOverloadedBooleanValue:(e=e.toLowerCase().slice(0,5),e="data-"===e||"aria-"===e),e;case"undefined":case"number":case"string":case"object":return!0;default:return!1}}function a(e){return Mn.hasOwnProperty(e)?Mn[e]:null}function u(e){return e[1].toUpperCase()}function l(e,t,n,r,o,i,a,u,l){zn._hasCaughtError=!1,zn._caughtError=null;var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(e){zn._caughtError=e,zn._hasCaughtError=!0}}function c(){if(zn._hasRethrowError){var e=zn._rethrowError;throw zn._rethrowError=null,zn._hasRethrowError=!1,e}}function s(){if(Vn)for(var e in Yn){var t=Yn[e],n=Vn.indexOf(e);if(-1<n?void 0:r("96",e),!qn[n]){t.extractEvents?void 0:r("97",e),qn[n]=t,n=t.eventTypes;for(var o in n){var i=void 0,a=n[o],u=t,l=o;Zn.hasOwnProperty(l)?r("99",l):void 0,Zn[l]=a;var c=a.phasedRegistrationNames;if(c){for(i in c)c.hasOwnProperty(i)&&f(c[i],u,l);i=!0}else a.registrationName?(f(a.registrationName,u,l),i=!0):i=!1;i?void 0:r("98",o,e)}}}}function f(e,t,n){Qn[e]?r("100",e):void 0,Qn[e]=t,Kn[e]=t.eventTypes[n].dependencies}function p(e){Vn?r("101"):void 0,Vn=Array.prototype.slice.call(e),s()}function d(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var o=e[t];Yn.hasOwnProperty(t)&&Yn[t]===o||(Yn[t]?r("102",t):void 0,Yn[t]=o,n=!0)}n&&s()}function h(e,t,n,r){t=e.type||"unknown-event",e.currentTarget=er(r),zn.invokeGuardedCallbackAndCatchFirstError(t,n,void 0,e),e.currentTarget=null}function y(e,t){return null==t?r("30"):void 0,null==e?t:Arra
return i=rt(t),o=void 0,null===e?t.stateNode?r("153"):(T(t,t.pendingProps),E(t,n),o=!0):o=_(e,t,n),l(e,t,o,i);case 3:return c(t),i=t.updateQueue,null!==i?(o=t.memoizedState,i=Tt(e,t,i,null,null,n),o===i?(g(),t=s(e,t)):(o=i.element,x=t.stateNode,(null===e||null===e.child)&&x.hydrate&&m(t)?(t.effectTag|=2,t.child=Po(t,null,o,n)):(g(),a(e,t,o)),t.memoizedState=i,t=t.child)):(g(),t=s(e,t)),t;case 5:y(t),null===e&&b(t),i=t.type;var S=t.memoizedProps;return o=t.pendingProps,null===o&&(o=S,null===o?r("154"):void 0),x=null!==e?e.memoizedProps:null,yo.current||null!==o&&S!==o?(S=o.children,p(i,o)?S=null:x&&p(i,x)&&(t.effectTag|=16),u(e,t),2147483647!==n&&!d&&h(i,o)?(t.expirationTime=2147483647,t=null):(a(e,t,S),t.memoizedProps=o,t=t.child)):t=s(e,t),t;case 6:return null===e&&b(t),e=t.pendingProps,null===e&&(e=t.memoizedProps),t.memoizedProps=e,null;case 8:t.tag=7;case 7:return i=t.pendingProps,yo.current?null===i&&(i=e&&e.memoizedProps,null===i?r("154"):void 0):null!==i&&t.memoizedProps!==i||(i=t.memoizedProps),o=i.children,t.stateNode=null===e?Po(t,t.stateNode,o,n):Oo(t,t.stateNode,o,n),t.memoizedProps=i,t.stateNode;case 9:return null;case 4:e:{if(v(t,t.stateNode.containerInfo),i=t.pendingProps,yo.current)null===i&&(i=e&&e.memoizedProps,null==i?r("154"):void 0);else if(null===i||t.memoizedProps===i){t=s(e,t);break e}null===e?t.child=Oo(t,null,i,n):a(e,t,i),t.memoizedProps=i,t=t.child}return t;case 10:e:{if(n=t.pendingProps,yo.current)null===n&&(n=t.memoizedProps);else if(null===n||t.memoizedProps===n){t=s(e,t);break e}a(e,t,n),t.memoizedProps=n,t=t.child}return t;default:r("156")}},beginFailedWork:function(e,t,n){switch(t.tag){case 2:rt(t);break;case 3:c(t);break;default:r("157")}return t.effectTag|=64,null===e?t.child=null:t.child!==e.child&&(t.child=e.child),0===t.expirationTime||t.expirationTime>n?f(e,t):(t.firstEffect=null,t.lastEffect=null,t.child=null===e?Po(t,null,null,n):Oo(t,e.child,null,n),2===t.tag&&(e=t.stateNode,t.memoizedProps=e.props,t.memoizedState=e.state),t.child)}}}function kt(e,t,n){function o(e){e.effectTag|=4}var i=e.createInstance,a=e.createTextInstance,u=e.appendInitialChild,l=e.finalizeInitialChildren,c=e.prepareUpdate,s=e.persistence,f=t.getRootHostContainer,p=t.popHostContext,d=t.getHostContext,h=t.popHostContainer,y=n.prepareToHydrateHostInstance,v=n.prepareToHydrateHostTextInstance,m=n.popHydrationState,g=void 0,b=void 0,w=void 0;return e.mutation?(g=function(){},b=function(e,t,n){(t.updateQueue=n)&&o(t)},w=function(e,t,n,r){n!==r&&o(t)}):r(s?"235":"236"),{completeWork:function(e,t,n){var s=t.pendingProps;switch(null===s?s=t.memoizedProps:2147483647===t.expirationTime&&2147483647!==n||(t.pendingProps=null),t.tag){case 1:return null;case 2:return et(t),null;case 3:return h(t),Qe(yo,t),Qe(ho,t),s=t.stateNode,s.pendingContext&&(s.context=s.pendingContext,s.pendingContext=null),null!==e&&null!==e.child||(m(t),t.effectTag&=-3),g(t),null;case 5:p(t),n=f();var T=t.type;if(null!==e&&null!=t.stateNode){var E=e.memoizedProps,_=t.stateNode,x=d();_=c(_,T,E,s,n,x),b(e,t,_,T,E,s,n),e.ref!==t.ref&&(t.effectTag|=128)}else{if(!s)return null===t.stateNode?r("166"):void 0,null;if(e=d(),m(t))y(t,n,e)&&o(t);else{e=i(T,s,n,e,t);e:for(E=t.child;null!==E;){if(5===E.tag||6===E.tag)u(e,E.stateNode);else if(4!==E.tag&&null!==E.child){E.child.return=E,E=E.child;continue}if(E===t)break;for(;null===E.sibling;){if(null===E.return||E.return===t)break e;E=E.return}E.sibling.return=E.return,E=E.sibling}l(e,T,s,n)&&o(t),t.stateNode=e}null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)w(e,t,e.memoizedProps,s);else{if("string"!=typeof s)return null===t.stateNode?r("166"):void 0,null;e=f(),n=d(),m(t)?v(t)&&o(t):t.stateNode=a(s,e,n,t)}return null;case 7:(s=t.memoizedProps)?void 0:r("165"),t.tag=8,T=[];e:for((E=t.stateNode)&&(E.return=t);null!==E;){if(5===E.tag||6===E.tag||4===E.tag)r("247");else if(9===E.tag)T.push(E.type);else if(null!==E.child){E.child.return=E,E=E.child;continue}for(;null===E.sibling;){if(null===E.return||E.return===t)break e;E=E.return}E.sibling.return=E.return,E=E.sibling}return E=s.handler,
e.hasOwnProperty(u)&&(l.mutationMethod=e[u]),Mn[u]=l}}},Mn={},Rn=An,Nn=Rn.MUST_USE_PROPERTY,jn=Rn.HAS_BOOLEAN_VALUE,Ln=Rn.HAS_NUMERIC_VALUE,In=Rn.HAS_POSITIVE_NUMERIC_VALUE,Dn=Rn.HAS_OVERLOADED_BOOLEAN_VALUE,Hn=Rn.HAS_STRING_BOOLEAN_VALUE,Un={Properties:{allowFullScreen:jn,async:jn,autoFocus:jn,autoPlay:jn,capture:Dn,checked:Nn|jn,cols:In,contentEditable:Hn,controls:jn,default:jn,defer:jn,disabled:jn,download:Dn,draggable:Hn,formNoValidate:jn,hidden:jn,loop:jn,multiple:Nn|jn,muted:Nn|jn,noValidate:jn,open:jn,playsInline:jn,readOnly:jn,required:jn,reversed:jn,rows:In,rowSpan:Ln,scoped:jn,seamless:jn,selected:Nn|jn,size:In,start:Ln,span:In,spellCheck:Hn,style:0,tabIndex:0,itemScope:jn,acceptCharset:0,className:0,htmlFor:0,httpEquiv:0,value:Hn},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},DOMMutationMethods:{value:function(e,t){return null==t?e.removeAttribute("value"):void("number"!==e.type||!1===e.hasAttribute("value")?e.setAttribute("value",""+t):e.validity&&!e.validity.badInput&&e.ownerDocument.activeElement!==e&&e.setAttribute("value",""+t))}}},Fn=Rn.HAS_STRING_BOOLEAN_VALUE,Bn={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"},Gn={Properties:{autoReverse:Fn,externalResourcesRequired:Fn,preserveAlpha:Fn},DOMAttributeNames:{autoReverse:"autoReverse",externalResourcesRequired:"externalResourcesRequired",preserveAlpha:"preserveAlpha"},DOMAttributeNamespaces:{xlinkActuate:Bn.xlink,xlinkArcrole:Bn.xlink,xlinkHref:Bn.xlink,xlinkRole:Bn.xlink,xlinkShow:Bn.xlink,xlinkTitle:Bn.xlink,xlinkType:Bn.xlink,xmlBase:Bn.xml,xmlLang:Bn.xml,xmlSpace:Bn.xml}},Wn=/[\-\:]([a-z])/g;"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode x-height xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type xml:base xmlns:xlink xml:lang xml:space".split(" ").forEach(function(e){var t=e.replace(Wn,u);Gn.Properties[t]=0,Gn.DOMAttributeNames[t]=e}),Rn.injectDOMPropertyConfig(Un),Rn.injectDOMPropertyConfig(Gn);var zn={_caughtError:null,_hasCaughtError:!1,_rethrowError:null,_hasRethrowError:!1,injection:{injectErrorUtils:function(e){"function"!=typeof e.invokeGuardedCallback?r("197"):void 0,l=e.invokeGuardedCallback}},invokeGuardedCallback:function(e,t,n,r,o,i,a,u,c){l.apply(zn,arguments)},invokeGuardedCallbackAndCatchFirstError:function(e,t,n,r,o,i,a,u,l){if(zn.invokeGuardedCallback.apply(this,arguments),zn.hasCaughtError()){var c=zn.clearCaughtError();zn._hasRethrowError||(zn._hasRethrowError=!0,zn._rethrowError=c)}},rethrowCaughtError:function(){return c.apply(zn,arguments)},hasCaughtError:function(){return zn._hasCaughtError},clearCaughtError:function(){if(zn._hasCaughtError){var e=zn._caughtError;return zn._caughtError=null,zn._hasCaughtError=!1,e}r("198")}},Vn=null,Yn={},qn=[],Zn={},Qn={},Kn={},Xn=Object.freeze({plugins:qn,eventNameDispatchConfigs:Zn,registrationNameModules:Qn,registrationNameDependencies:Kn,possibleRegistrationNames:null,injectEventPluginOrder:p,injectEventPluginsByName:d}),Jn=null,$n=null,er=null,tr=null,nr={injectEventPlugin
"object"!=typeof e&&"function"!=typeof e&&null!=e?r("85"):void 0,this.updater.enqueueSetState(this,e,t,"setState")},o.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},a.prototype=o.prototype;var k=i.prototype=new a;k.constructor=i,g(k,o.prototype),k.isPureReactComponent=!0;var A=u.prototype=new a;A.constructor=u,g(A,o.prototype),A.unstable_isAsyncReactComponent=!0,A.render=function(){return this.props.children};var M={current:null},R=Object.prototype.hasOwnProperty,N={key:!0,ref:!0,__self:!0,__source:!0},j=/\/+/g,L=[],I={Children:{map:function(e,t,n){if(null==e)return e;var r=[];return m(e,r,null,t,n),r},forEach:function(e,t,n){return null==e?e:(t=f(null,null,t,n),null==e||d(e,"",y,t),void p(t))},count:function(e){return null==e?0:d(e,"",w.thatReturnsNull,null)},toArray:function(e){var t=[];return m(e,t,null,w.thatReturnsArgument),t},only:function(e){return c(e)?void 0:r("143"),e}},Component:o,PureComponent:i,unstable_AsyncComponent:u,Fragment:C,createElement:l,cloneElement:function(e,t,n){var r=g({},e.props),o=e.key,i=e.ref,a=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,a=M.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(l in t)R.call(t,l)&&!N.hasOwnProperty(l)&&(r[l]=void 0===t[l]&&void 0!==u?u[l]:t[l])}var l=arguments.length-2;if(1===l)r.children=n;else if(1<l){u=Array(l);for(var c=0;c<l;c++)u[c]=arguments[c+2];r.children=u}return{$$typeof:E,type:e.type,key:o,ref:i,props:r,_owner:a}},createFactory:function(e){var t=l.bind(null,e);return t.type=e,t},isValidElement:c,version:"16.2.0",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:M,assign:g}},D=Object.freeze({default:I}),H=D&&I||D;e.exports=H.default?H.default:H},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(4),i=r(o),a=n(6),u=r(a),l=n(5),c=r(l),s=n(1),f=r(s),p=n(277),d=n(561),h=r(d),y=n(3),v=r(y),m=n(511),g=r(m),b={shouldUpdateScroll:v.default.func,children:v.default.element.isRequired,location:v.default.object.isRequired,history:v.default.object.isRequired},w={scrollBehavior:v.default.object.isRequired},T=function(e){function t(n,r){(0,i.default)(this,t);var o=(0,u.default)(this,e.call(this,n,r));o.shouldUpdateScroll=function(e,t){var n=o.props.shouldUpdateScroll;return!n||n.call(o.scrollBehavior,e,t)},o.registerElement=function(e,t,n){o.scrollBehavior.registerElement(e,t,n,o.getRouterProps())},o.unregisterElement=function(e){o.scrollBehavior.unregisterElement(e)};var a=n.history;return o.scrollBehavior=new h.default({addTransitionHook:a.listen,stateStorage:new g.default,getCurrentLocation:function(){return o.props.location},shouldUpdateScroll:o.shouldUpdateScroll}),o.scrollBehavior.updateScroll(null,o.getRouterProps()),o}return(0,c.default)(t,e),t.prototype.getChildContext=function(){return{scrollBehavior:this}},t.prototype.componentDidUpdate=function(e){var t=this.props,n=t.location,r=t.history,o=e.location;if(n!==o){var i={history:e.history,location:e.location};n.action=r.action,this.scrollBehavior.updateScroll(i,{history:r,location:n})}},t.prototype.componentWillUnmount=function(){this.scrollBehavior.stop()},t.prototype.getRouterProps=function(){var e=this.props,t=e.history,n=e.location;return{history:t,location:n}},t.prototype.render=function(){return f.default.Children.only(this.props.children)},t}(f.default.Component);T.propTypes=b,T.childContextTypes=w,t.default=(0,p.withRouter)(T)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(4),i=r(o),a=n(6),u=r(a),l=n(5),c=r(l),s=n(1),f=r(s),p=n(10),d=r(p),h=n(23),y=(r(h),n(3)),v=r(y),m={scrollKey:v.default.string.isRequired,shouldUpdateScroll:v.default.func,children:v.default.element.isRequired},g={scrollBehavior:v.default.object},b=function(e){function t(n,r){(0,i.default)(this,t);var o=(0,u.default)(this,e.call(this,n,r));return o.shouldUpdateScroll=function(e,t){var n=o.props.shouldUpdateScroll;return!n||n.call(o.context.scrollBehavior.scrollBehavior,e,t)},o.scrollKey=n.scrollKey,o}return(0,
}t.__esModule=!0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=n(23),s=r(c),f=n(49),p=r(f),d=n(1),h=r(d),y=n(3),v=r(y),m=n(100),g=n(311),b=r(g),w=function(e){var t=e.pathname,n=void 0===t?"/":t,r=e.search,o=void 0===r?"":r,i=e.hash,a=void 0===i?"":i;return{pathname:n,search:"?"===o?"":o,hash:"#"===a?"":a}},T=function(e,t){return e?l({},t,{pathname:(0,m.addLeadingSlash)(e)+t.pathname}):t},E=function(e,t){if(!e)return t;var n=(0,m.addLeadingSlash)(e);return 0!==t.pathname.indexOf(n)?t:l({},t,{pathname:t.pathname.substr(n.length)})},_=function(e){return"string"==typeof e?(0,m.parsePath)(e):w(e)},x=function(e){return"string"==typeof e?e:(0,m.createPath)(e)},S=function(e){return function(){(0,p.default)(!1,"You cannot %s with <StaticRouter>",e)}},C=function(){},O=function(e){function t(){var n,r,o;i(this,t);for(var u=arguments.length,l=Array(u),c=0;c<u;c++)l[c]=arguments[c];return n=r=a(this,e.call.apply(e,[this].concat(l))),r.createHref=function(e){return(0,m.addLeadingSlash)(r.props.basename+x(e))},r.handlePush=function(e){var t=r.props,n=t.basename,o=t.context;o.action="PUSH",o.location=T(n,_(e)),o.url=x(o.location)},r.handleReplace=function(e){var t=r.props,n=t.basename,o=t.context;o.action="REPLACE",o.location=T(n,_(e)),o.url=x(o.location)},r.handleListen=function(){return C},r.handleBlock=function(){return C},o=n,a(r,o)}return u(t,e),t.prototype.getChildContext=function(){return{router:{staticContext:this.props.context}}},t.prototype.componentWillMount=function(){(0,s.default)(!this.props.history,"<StaticRouter> ignores the history prop. To use a custom history, use `import { Router }` instead of `import { StaticRouter as Router }`.")},t.prototype.render=function(){var e=this.props,t=e.basename,n=(e.context,e.location),r=o(e,["basename","context","location"]),i={createHref:this.createHref,action:"POP",location:E(t,_(n)),push:this.handlePush,replace:this.handleReplace,go:S("go"),goBack:S("goBack"),goForward:S("goForward"),listen:this.handleListen,block:this.handleBlock};return h.default.createElement(b.default,l({},r,{history:i}))},t}(h.default.Component);O.propTypes={basename:v.default.string,context:v.default.object.isRequired,location:v.default.oneOfType([v.default.string,v.default.object])},O.defaultProps={basename:"",location:"/"},O.childContextTypes={router:v.default.object.isRequired},t.default=O},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(1),l=r(u),c=n(3),s=r(c),f=n(23),p=r(f),d=n(49),h=r(d),y=n(312),v=r(y),m=function(e){function t(){return o(this,t),i(this,e.apply(this,arguments))}return a(t,e),t.prototype.componentWillMount=function(){(0,h.default)(this.context.router,"You should not use <Switch> outside a <Router>")},t.prototype.componentWillReceiveProps=function(e){(0,p.default)(!(e.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.'),(0,p.default)(!(!e.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.')},t.prototype.render=function(){var e=this.context.router.route,t=this.props.children,n=this.props.location||e.location,r=void 0,o=void 0;return l.default.Children.forEach(t
//# sourceMappingURL=commons-c1c1180f734cb1baa282.js.map