-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
22 lines (22 loc) · 167 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=13)}([function(e,t,n){e.exports=n(27)()},function(e,t,n){"use strict";e.exports=n(14)},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,i,a,l){if(!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,l],s=0;(u=new Error(t.replace(/%s/g,function(){return c[s++]}))).name="Invariant Violation"}throw u.framesToPop=1,u}}},function(e,t,n){"use strict";e.exports=function(){}},function(e,t,n){var r=n(29);e.exports=h,e.exports.parse=i,e.exports.compile=function(e,t){return u(i(e,t))},e.exports.tokensToFunction=u,e.exports.tokensToRegExp=d;var o=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function i(e,t){for(var n,r=[],i=0,a=0,l="",u=t&&t.delimiter||"/";null!=(n=o.exec(e));){var f=n[0],p=n[1],d=n.index;if(l+=e.slice(a,d),a=d+f.length,p)l+=p[1];else{var h=e[a],m=n[2],y=n[3],v=n[4],g=n[5],b=n[6],w=n[7];l&&(r.push(l),l="");var k=null!=m&&null!=h&&h!==m,x="+"===b||"*"===b,_="?"===b||"*"===b,E=n[2]||u,T=v||g;r.push({name:y||i++,prefix:m||"",delimiter:E,optional:_,repeat:x,partial:k,asterisk:!!w,pattern:T?s(T):w?".*":"[^"+c(E)+"]+?"})}}return a<e.length&&(l+=e.substr(a)),l&&r.push(l),r}function a(e){return encodeURI(e).replace(/[\/?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function l(e){return encodeURI(e).replace(/[?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function u(e){for(var t=new Array(e.length),n=0;n<e.length;n++)"object"==typeof e[n]&&(t[n]=new RegExp("^(?:"+e[n].pattern+")$"));return function(n,o){for(var i="",u=n||{},c=(o||{}).pretty?a:encodeURIComponent,s=0;s<e.length;s++){var f=e[s];if("string"!=typeof f){var p,d=u[f.name];if(null==d){if(f.optional){f.partial&&(i+=f.prefix);continue}throw new TypeError('Expected "'+f.name+'" to be defined')}if(r(d)){if(!f.repeat)throw new TypeError('Expected "'+f.name+'" to not repeat, but received `'+JSON.stringify(d)+"`");if(0===d.length){if(f.optional)continue;throw new TypeError('Expected "'+f.name+'" to not be empty')}for(var h=0;h<d.length;h++){if(p=c(d[h]),!t[s].test(p))throw new TypeError('Expected all "'+f.name+'" to match "'+f.pattern+'", but received `'+JSON.stringify(p)+"`");i+=(0===h?f.prefix:f.delimiter)+p}}else{if(p=f.asterisk?l(d):c(d),!t[s].test(p))throw new TypeError('Expected "'+f.name+'" to match "'+f.pattern+'", but received "'+p+'"');i+=f.prefix+p}}else i+=f}return i}}function c(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function s(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function f(e,t){return e.keys=t,e}function p(e){return e.sensitive?"":"i"}function d(e,t,n){r(t)||(n=t||n,t=[]);for(var o=(n=n||{}).strict,i=!1!==n.end,a="",l=0;l<e.length;l++){var u=e[l];if("string"==typeof u)a+=c(u);else{var s=c(u.prefix),d="(?:"+u.pattern+")";t.push(u),u.repeat&&(d+="(?:"+s+d+")*"),a+=d=u.optional?u.partial?s+"("+d+")?":"(?:"+s+"("+d+"))?":s+"("+d+")"}}var h=c(n.delimiter||"/"),m=a.slice(-h.length)===h;return o||(a=(m?a.slice(0,-h.length):a)+"(?:"+h+"(?=$))?"),a+=i?"$":o&&m?"":"(?="+h+"|$)",f(new RegExp("^"+a,p(n)),t)}function h(e,t,n){return r(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return f(e,t)}(e,t):r(e)?function(e,t,n){for(var r=[],o=0;o<e.length;o++)r.push(h(e[o],t,n).source);return f(new RegExp("(?:"+r.join("|")+")",p(n)),t)}(e,t,n):function(e,t,n){return d(i(e,n),t,n)}(e,t,n)}},function(e,t,n){"use strict";
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,a,l=function(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),u=1;u<arguments.length;u++){for(var c in n=Object(arguments[u]))o.call(n,c)&&(l[c]=n[c]);if(r){a=r(n);for(var s=0;s<a.length;s++)i.call(n,a[s])&&(l[a[s]]=n[a[s]])}}return l}},function(e,t,n){"use strict";var r=function(e){};e.exports=function(e,t,n,o,i,a,l,u){if(r(t),!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[n,o,i,a,l,u],f=0;(c=new Error(t.replace(/%s/g,function(){return s[f++]}))).name="Invariant Violation"}throw c.framesToPop=1,c}}},function(e,t,n){"use strict";e.exports={}},function(e,t,n){"use strict";function r(e){return function(){return e}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},function(e,t,n){"use strict";n.r(t);var r=n(2),o=n.n(r),i=n(1),a=n.n(i),l=n(0),u=n.n(l),c=n(4),s=n.n(c),f=n(3),p=n.n(f);function d(e){return"/"===e.charAt(0)}function h(e,t){for(var n=t,r=n+1,o=e.length;r<o;n+=1,r+=1)e[n]=e[r];e.pop()}var m=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e&&e.split("/")||[],r=t&&t.split("/")||[],o=e&&d(e),i=t&&d(t),a=o||i;if(e&&d(e)?r=n:n.length&&(r.pop(),r=r.concat(n)),!r.length)return"/";var l=void 0;if(r.length){var u=r[r.length-1];l="."===u||".."===u||""===u}else l=!1;for(var c=0,s=r.length;s>=0;s--){var f=r[s];"."===f?h(r,s):".."===f?(h(r,s),c++):c&&(h(r,s),c--)}if(!a)for(;c--;c)r.unshift("..");!a||""===r[0]||r[0]&&d(r[0])||r.unshift("");var p=r.join("/");return l&&"/"!==p.substr(-1)&&(p+="/"),p},y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var v=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every(function(t,r){return e(t,n[r])});var r=void 0===t?"undefined":y(t);if(r!==(void 0===n?"undefined":y(n)))return!1;if("object"===r){var o=t.valueOf(),i=n.valueOf();if(o!==t||i!==n)return e(o,i);var a=Object.keys(t),l=Object.keys(n);return a.length===l.length&&a.every(function(r){return e(t[r],n[r])})}return!1},g=function(e){return"/"===e.charAt(0)?e:"/"+e},b=function(e){return"/"===e.charAt(0)?e.substr(1):e},w=function(e,t){return new RegExp("^"+t+"(\\/|\\?|#|$)","i").test(e)},k=function(e,t){return w(e,t)?e.substr(t.length):e},x=function(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e},_=function(e){var t=e.pathname,n=e.search,r=e.hash,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o},E=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},T=function(e,t,n,r){var o=void 0;"string"==typeof e?(o=function(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var i=t.indexOf("?");return-1!==i&&(n=t.substr(i),t=t.substr(0,i)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e)).state=t:(void 0===(o=E({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(o.key=n),r?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=m(o.pathname,r.pathname)):o.pathname=r.pathname:o.pathname||(o.pathname="/"),o},C=function(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&v(e.state,t.state)},P=function(){var e=null,t=[];return{setPrompt:function(t){return s()(null==e,"A history supports only one prompt at a time"),e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,o){if(null!=e){var i="function"==typeof e?e(t,n):e;"string"==typeof i?"function"==typeof r?r(i,o):(s()(!1,"A history needs a getUserConfirmation function in order to use a prompt message"),o(!0)):o(!1!==i)}else o(!0)},appendListener:function(e){var n=!0,r=function(){n&&e.apply(void 0,arguments)};return t.push(r),function(){n=!1,t=t.filter(function(e){return e!==r})}},notifyListeners:function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach(function(e){return e.apply(void 0,n)})}}},S=!("undefined"==typeof window||!window.document||!window.document.createElement),O=function(e,t,n){return e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)},R=function(e,t,n){return e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent("on"+t,n)},N=function(e,t){return t(window.confirm(e))},A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},j=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},M=function(){try{return window.history.state||{}}catch(e){return{}}},U=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};p()(S,"Browser history needs a DOM");var t=window.history,n=function(){var e=window.navigator.userAgent;return(-1===e.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")),o=e.forceRefresh,i=void 0!==o&&o,a=e.getUserConfirmation,l=void 0===a?N:a,u=e.keyLength,c=void 0===u?6:u,f=e.basename?x(g(e.basename)):"",d=function(e){var t=e||{},n=t.key,r=t.state,o=window.location,i=o.pathname+o.search+o.hash;return s()(!f||w(i,f),'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 "'+f+'".'),f&&(i=k(i,f)),T(i,r,n)},h=function(){return Math.random().toString(36).substr(2,c)},m=P(),y=function(e){j(H,e),H.length=t.length,m.notifyListeners(H.location,H.action)},v=function(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||C(d(e.state))},b=function(){C(d(M()))},E=!1,C=function(e){E?(E=!1,y()):m.confirmTransitionTo(e,"POP",l,function(t){t?y({action:"POP",location:e}):U(e)})},U=function(e){var t=H.location,n=L.indexOf(t.key);-1===n&&(n=0);var r=L.indexOf(e.key);-1===r&&(r=0);var o=n-r;o&&(E=!0,D(o))},I=d(M()),L=[I.key],F=function(e){return f+_(e)},D=function(e){t.go(e)},z=0,B=function(e){1===(z+=e)?(O(window,"popstate",v),r&&O(window,"hashchange",b)):0===z&&(R(window,"popstate",v),r&&R(window,"hashchange",b))},W=!1,H={length:t.length,action:"POP",location:I,createHref:F,push:function(e,r){s()(!("object"===(void 0===e?"undefined":A(e))&&void 0!==e.state&&void 0!==r),"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=T(e,r,h(),H.location);m.confirmTransitionTo(o,"PUSH",l,function(e){if(e){var r=F(o),a=o.key,l=o.state;if(n)if(t.pushState({key:a,state:l},null,r),i)window.location.href=r;else{var u=L.indexOf(H.location.key),c=L.slice(0,-1===u?0:u+1);c.push(o.key),L=c,y({action:"PUSH",location:o})}else s()(void 0===l,"Browser history cannot push state in browsers that do not support HTML5 history"),window.location.href=r}})},replace:function(e,r){s()(!("object"===(void 0===e?"undefined":A(e))&&void 0!==e.state&&void 0!==r),"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=T(e,r,h(),H.location);m.confirmTransitionTo(o,"REPLACE",l,function(e){if(e){var r=F(o),a=o.key,l=o.state;if(n)if(t.replaceState({key:a,state:l},null,r),i)window.location.replace(r);else{var u=L.indexOf(H.location.key);-1!==u&&(L[u]=o.key),y({action:"REPLACE",location:o})}else s()(void 0===l,"Browser history cannot replace state in browsers that do not support HTML5 history"),window.location.replace(r)}})},go:D,goBack:function(){return D(-1)},goForward:function(){return D(1)},block:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=m.setPrompt(e);return W||(B(1),W=!0),function(){return W&&(W=!1,B(-1)),t()}},listen:function(e){var t=m.appendListener(e);return B(1),function(){B(-1),t()}}};return H},I=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={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+b(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:b,decodePath:g},slash:{encodePath:g,decodePath:g}},F=function(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)},D=function(e){var t=window.location.href.indexOf("#");window.location.replace(window.location.href.slice(0,t>=0?t:0)+"#"+e)},z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};p()(S,"Hash history needs a DOM");var t=window.history,n=-1===window.navigator.userAgent.indexOf("Firefox"),r=e.getUserConfirmation,o=void 0===r?N:r,i=e.hashType,a=void 0===i?"slash":i,l=e.basename?x(g(e.basename)):"",u=L[a],c=u.encodePath,f=u.decodePath,d=function(){var e=f(F());return s()(!l||w(e,l),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+e+'" to begin with "'+l+'".'),l&&(e=k(e,l)),T(e)},h=P(),m=function(e){I($,e),$.length=t.length,h.notifyListeners($.location,$.action)},y=!1,v=null,b=function(){var e=F(),t=c(e);if(e!==t)D(t);else{var n=d(),r=$.location;if(!y&&C(r,n))return;if(v===_(n))return;v=null,E(n)}},E=function(e){y?(y=!1,m()):h.confirmTransitionTo(e,"POP",o,function(t){t?m({action:"POP",location:e}):A(e)})},A=function(e){var t=$.location,n=z.lastIndexOf(_(t));-1===n&&(n=0);var r=z.lastIndexOf(_(e));-1===r&&(r=0);var o=n-r;o&&(y=!0,B(o))},j=F(),M=c(j);j!==M&&D(M);var U=d(),z=[_(U)],B=function(e){s()(n,"Hash history go(n) causes a full page reload in this browser"),t.go(e)},W=0,H=function(e){1===(W+=e)?O(window,"hashchange",b):0===W&&R(window,"hashchange",b)},V=!1,$={length:t.length,action:"POP",location:U,createHref:function(e){return"#"+c(l+_(e))},push:function(e,t){s()(void 0===t,"Hash history cannot push state; it is ignored");var n=T(e,void 0,void 0,$.location);h.confirmTransitionTo(n,"PUSH",o,function(e){if(e){var t=_(n),r=c(l+t);if(F()!==r){v=t,function(e){window.location.hash=e}(r);var o=z.lastIndexOf(_($.location)),i=z.slice(0,-1===o?0:o+1);i.push(t),z=i,m({action:"PUSH",location:n})}else s()(!1,"Hash history cannot PUSH the same path; a new entry will not be added to the history stack"),m()}})},replace:function(e,t){s()(void 0===t,"Hash history cannot replace state; it is ignored");var n=T(e,void 0,void 0,$.location);h.confirmTransitionTo(n,"REPLACE",o,function(e){if(e){var t=_(n),r=c(l+t);F()!==r&&(v=t,D(r));var o=z.indexOf(_($.location));-1!==o&&(z[o]=t),m({action:"REPLACE",location:n})}})},go:B,goBack:function(){return B(-1)},goForward:function(){return B(1)},block:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=h.setPrompt(e);return V||(H(1),V=!0),function(){return V&&(V=!1,H(-1)),t()}},listen:function(e){var t=h.appendListener(e);return H(1),function(){H(-1),t()}}};return $},B="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},W=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},H=function(e,t,n){return Math.min(Math.max(e,t),n)},V=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.getUserConfirmation,n=e.initialEntries,r=void 0===n?["/"]:n,o=e.initialIndex,i=void 0===o?0:o,a=e.keyLength,l=void 0===a?6:a,u=P(),c=function(e){W(y,e),y.length=y.entries.length,u.notifyListeners(y.location,y.action)},f=function(){return Math.random().toString(36).substr(2,l)},p=H(i,0,r.length-1),d=r.map(function(e){return T(e,void 0,"string"==typeof e?f():e.key||f())}),h=_,m=function(e){var n=H(y.index+e,0,y.entries.length-1),r=y.entries[n];u.confirmTransitionTo(r,"POP",t,function(e){e?c({action:"POP",location:r,index:n}):c()})},y={length:d.length,action:"POP",location:d[p],index:p,entries:d,createHref:h,push:function(e,n){s()(!("object"===(void 0===e?"undefined":B(e))&&void 0!==e.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 r=T(e,n,f(),y.location);u.confirmTransitionTo(r,"PUSH",t,function(e){if(e){var t=y.index+1,n=y.entries.slice(0);n.length>t?n.splice(t,n.length-t,r):n.push(r),c({action:"PUSH",location:r,index:t,entries:n})}})},replace:function(e,n){s()(!("object"===(void 0===e?"undefined":B(e))&&void 0!==e.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 r=T(e,n,f(),y.location);u.confirmTransitionTo(r,"REPLACE",t,function(e){e&&(y.entries[y.index]=r,c({action:"REPLACE",location:r}))})},go:m,goBack:function(){return m(-1)},goForward:function(){return m(1)},canGo:function(e){var t=y.index+e;return t>=0&&t<y.entries.length},block:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return u.setPrompt(e)},listen:function(e){return u.appendListener(e)}};return y},$=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};function q(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}var K=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=q(this,e.call.apply(e,[this].concat(i))),r.state={match:r.computeMatch(r.props.history.location.pathname)},q(r,n)}return function(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,e),t.prototype.getChildContext=function(){return{router:$({},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;p()(null==n||1===a.a.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){o()(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?a.a.Children.only(e):null},t}(a.a.Component);K.propTypes={history:u.a.object.isRequired,children:u.a.node},K.contextTypes={router:u.a.object},K.childContextTypes={router:u.a.object.isRequired};var Y=K,Q=Y;function G(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}var X=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=G(this,e.call.apply(e,[this].concat(i))),r.history=U(r.props),G(r,n)}return function(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,e),t.prototype.componentWillMount=function(){o()(!this.props.history,"<BrowserRouter> ignores the history prop. To use a custom history, use `import { Router }` instead of `import { BrowserRouter as Router }`.")},t.prototype.render=function(){return a.a.createElement(Q,{history:this.history,children:this.props.children})},t}(a.a.Component);X.propTypes={basename:u.a.string,forceRefresh:u.a.bool,getUserConfirmation:u.a.func,keyLength:u.a.number,children:u.a.node};var Z=X;function J(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}var ee=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=J(this,e.call.apply(e,[this].concat(i))),r.history=z(r.props),J(r,n)}return function(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,e),t.prototype.componentWillMount=function(){o()(!this.props.history,"<HashRouter> ignores the history prop. To use a custom history, use `import { Router }` instead of `import { HashRouter as Router }`.")},t.prototype.render=function(){return a.a.createElement(Q,{history:this.history,children:this.props.children})},t}(a.a.Component);ee.propTypes={basename:u.a.string,getUserConfirmation:u.a.func,hashType:u.a.oneOf(["hashbang","noslash","slash"]),children:u.a.node};var te=ee,ne=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};function re(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}var oe=function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)},ie=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=re(this,e.call.apply(e,[this].concat(i))),r.handleClick=function(e){if(r.props.onClick&&r.props.onClick(e),!e.defaultPrevented&&0===e.button&&!r.props.target&&!oe(e)){e.preventDefault();var t=r.context.router.history,n=r.props,o=n.replace,i=n.to;o?t.replace(i):t.push(i)}},re(r,n)}return function(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,e),t.prototype.render=function(){var e=this.props,t=(e.replace,e.to),n=e.innerRef,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["replace","to","innerRef"]);p()(this.context.router,"You should not use <Link> outside a <Router>"),p()(void 0!==t,'You must specify the "to" property');var o=this.context.router.history,i="string"==typeof t?T(t,null,null,o.location):t,l=o.createHref(i);return a.a.createElement("a",ne({},r,{onClick:this.handleClick,href:l,ref:n}))},t}(a.a.Component);ie.propTypes={onClick:u.a.func,target:u.a.string,replace:u.a.bool,to:u.a.oneOfType([u.a.string,u.a.object]).isRequired,innerRef:u.a.oneOfType([u.a.string,u.a.func])},ie.defaultProps={replace:!1},ie.contextTypes={router:u.a.shape({history:u.a.shape({push:u.a.func.isRequired,replace:u.a.func.isRequired,createHref:u.a.func.isRequired}).isRequired}).isRequired};var ae=ie;function le(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}var ue=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=le(this,e.call.apply(e,[this].concat(i))),r.history=V(r.props),le(r,n)}return function(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,e),t.prototype.componentWillMount=function(){o()(!this.props.history,"<MemoryRouter> ignores the history prop. To use a custom history, use `import { Router }` instead of `import { MemoryRouter as Router }`.")},t.prototype.render=function(){return a.a.createElement(Y,{history:this.history,children:this.props.children})},t}(a.a.Component);ue.propTypes={initialEntries:u.a.array,initialIndex:u.a.number,getUserConfirmation:u.a.func,keyLength:u.a.number,children:u.a.node};var ce=ue,se=n(5),fe=n.n(se),pe={},de=0,he=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments[2];"string"==typeof t&&(t={path:t});var r=t,o=r.path,i=r.exact,a=void 0!==i&&i,l=r.strict,u=void 0!==l&&l,c=r.sensitive,s=void 0!==c&&c;if(null==o)return n;var f=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=pe[n]||(pe[n]={});if(r[e])return r[e];var o=[],i={re:fe()(e,o,t),keys:o};return de<1e4&&(r[e]=i,de++),i}(o,{end:a,strict:u,sensitive:s}),p=f.re,d=f.keys,h=p.exec(e);if(!h)return null;var m=h[0],y=h.slice(1),v=e===m;return a&&!v?null:{path:o,url:"/"===o&&""===m?"/":m,isExact:v,params:d.reduce(function(e,t,n){return e[t.name]=y[n],e},{})}},me=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};function ye(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}var ve=function(e){return 0===a.a.Children.count(e)},ge=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=ye(this,e.call.apply(e,[this].concat(i))),r.state={match:r.computeMatch(r.props,r.context.router)},ye(r,n)}return function(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,e),t.prototype.getChildContext=function(){return{router:me({},this.context.router,{route:{location:this.props.location||this.context.router.route.location,match:this.state.match}})}},t.prototype.computeMatch=function(e,t){var n=e.computedMatch,r=e.location,o=e.path,i=e.strict,a=e.exact,l=e.sensitive;if(n)return n;p()(t,"You should not use <Route> or withRouter() outside a <Router>");var u=t.route,c=(r||u.location).pathname;return he(c,{path:o,strict:i,exact:a,sensitive:l},u.match)},t.prototype.componentWillMount=function(){o()(!(this.props.component&&this.props.render),"You should not use <Route component> and <Route render> in the same route; <Route render> will be ignored"),o()(!(this.props.component&&this.props.children&&!ve(this.props.children)),"You should not use <Route component> and <Route children> in the same route; <Route children> will be ignored"),o()(!(this.props.render&&this.props.children&&!ve(this.props.children)),"You should not use <Route render> and <Route children> in the same route; <Route children> will be ignored")},t.prototype.componentWillReceiveProps=function(e,t){o()(!(e.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.'),o()(!(!e.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(e,t.router)})},t.prototype.render=function(){var e=this.state.match,t=this.props,n=t.children,r=t.component,o=t.render,i=this.context.router,l=i.history,u=i.route,c=i.staticContext,s={match:e,location:this.props.location||u.location,history:l,staticContext:c};return r?e?a.a.createElement(r,s):null:o?e?o(s):null:"function"==typeof n?n(s):n&&!ve(n)?a.a.Children.only(n):null},t}(a.a.Component);ge.propTypes={computedMatch:u.a.object,path:u.a.string,exact:u.a.bool,strict:u.a.bool,sensitive:u.a.bool,component:u.a.func,render:u.a.func,children:u.a.oneOfType([u.a.func,u.a.node]),location:u.a.object},ge.contextTypes={router:u.a.shape({history:u.a.object.isRequired,route:u.a.object.isRequired,staticContext:u.a.object})},ge.childContextTypes={router:u.a.object.isRequired};var be=ge,we=be,ke=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},xe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var _e=function(e){var t=e.to,n=e.exact,r=e.strict,o=e.location,i=e.activeClassName,l=e.className,u=e.activeStyle,c=e.style,s=e.isActive,f=e["aria-current"],p=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["to","exact","strict","location","activeClassName","className","activeStyle","style","isActive","aria-current"]),d="object"===(void 0===t?"undefined":xe(t))?t.pathname:t,h=d&&d.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1");return a.a.createElement(we,{path:h,exact:n,strict:r,location:o,children:function(e){var n=e.location,r=e.match,o=!!(s?s(r,n):r);return a.a.createElement(ae,ke({to:t,className:o?[l,i].filter(function(e){return e}).join(" "):l,style:o?ke({},c,u):c,"aria-current":o&&f||null},p))}})};_e.propTypes={to:ae.propTypes.to,exact:u.a.bool,strict:u.a.bool,location:u.a.object,activeClassName:u.a.string,className:u.a.string,activeStyle:u.a.object,style:u.a.object,isActive:u.a.func,"aria-current":u.a.oneOf(["page","step","location","date","time","true"])},_e.defaultProps={activeClassName:"active","aria-current":"page"};var Ee=_e;var Te=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(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}(this,e.apply(this,arguments))}return function(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,e),t.prototype.enable=function(e){this.unblock&&this.unblock(),this.unblock=this.context.router.history.block(e)},t.prototype.disable=function(){this.unblock&&(this.unblock(),this.unblock=null)},t.prototype.componentWillMount=function(){p()(this.context.router,"You should not use <Prompt> outside a <Router>"),this.props.when&&this.enable(this.props.message)},t.prototype.componentWillReceiveProps=function(e){e.when?this.props.when&&this.props.message===e.message||this.enable(e.message):this.disable()},t.prototype.componentWillUnmount=function(){this.disable()},t.prototype.render=function(){return null},t}(a.a.Component);Te.propTypes={when:u.a.bool,message:u.a.oneOfType([u.a.func,u.a.string]).isRequired},Te.defaultProps={when:!0},Te.contextTypes={router:u.a.shape({history:u.a.shape({block:u.a.func.isRequired}).isRequired}).isRequired};var Ce=Te,Pe={},Se=0,Oe=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"/"===e?e:function(e){var t=e,n=Pe[t]||(Pe[t]={});if(n[e])return n[e];var r=fe.a.compile(e);return Se<1e4&&(n[e]=r,Se++),r}(e)(t,{pretty:!0})},Re=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};var Ne=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(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}(this,e.apply(this,arguments))}return function(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,e),t.prototype.isStatic=function(){return this.context.router&&this.context.router.staticContext},t.prototype.componentWillMount=function(){p()(this.context.router,"You should not use <Redirect> outside a <Router>"),this.isStatic()&&this.perform()},t.prototype.componentDidMount=function(){this.isStatic()||this.perform()},t.prototype.componentDidUpdate=function(e){var t=T(e.to),n=T(this.props.to);C(t,n)?o()(!1,"You tried to redirect to the same route you're currently on: \""+n.pathname+n.search+'"'):this.perform()},t.prototype.computeTo=function(e){var t=e.computedMatch,n=e.to;return t?"string"==typeof n?Oe(n,t.params):Re({},n,{pathname:Oe(n.pathname,t.params)}):n},t.prototype.perform=function(){var e=this.context.router.history,t=this.props.push,n=this.computeTo(this.props);t?e.push(n):e.replace(n)},t.prototype.render=function(){return null},t}(a.a.Component);Ne.propTypes={computedMatch:u.a.object,push:u.a.bool,from:u.a.string,to:u.a.oneOfType([u.a.string,u.a.object]).isRequired},Ne.defaultProps={push:!1},Ne.contextTypes={router:u.a.shape({history:u.a.shape({push:u.a.func.isRequired,replace:u.a.func.isRequired}).isRequired,staticContext:u.a.object}).isRequired};var Ae=Ne,je=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};function Me(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}var Ue=function(e){return"/"===e.charAt(0)?e:"/"+e},Ie=function(e,t){return e?je({},t,{pathname:Ue(e)+t.pathname}):t},Le=function(e){return"string"==typeof e?e:_(e)},Fe=function(e){return function(){p()(!1,"You cannot %s with <StaticRouter>",e)}},De=function(){},ze=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=Me(this,e.call.apply(e,[this].concat(i))),r.createHref=function(e){return Ue(r.props.basename+Le(e))},r.handlePush=function(e){var t=r.props,n=t.basename,o=t.context;o.action="PUSH",o.location=Ie(n,T(e)),o.url=Le(o.location)},r.handleReplace=function(e){var t=r.props,n=t.basename,o=t.context;o.action="REPLACE",o.location=Ie(n,T(e)),o.url=Le(o.location)},r.handleListen=function(){return De},r.handleBlock=function(){return De},Me(r,n)}return function(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,e),t.prototype.getChildContext=function(){return{router:{staticContext:this.props.context}}},t.prototype.componentWillMount=function(){o()(!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=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["basename","context","location"]),o={createHref:this.createHref,action:"POP",location:function(e,t){if(!e)return t;var n=Ue(e);return 0!==t.pathname.indexOf(n)?t:je({},t,{pathname:t.pathname.substr(n.length)})}(t,T(n)),push:this.handlePush,replace:this.handleReplace,go:Fe("go"),goBack:Fe("goBack"),goForward:Fe("goForward"),listen:this.handleListen,block:this.handleBlock};return a.a.createElement(Y,je({},r,{history:o}))},t}(a.a.Component);ze.propTypes={basename:u.a.string,context:u.a.object.isRequired,location:u.a.oneOfType([u.a.string,u.a.object])},ze.defaultProps={basename:"",location:"/"},ze.childContextTypes={router:u.a.object.isRequired};var Be=ze;var We=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(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}(this,e.apply(this,arguments))}return function(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,e),t.prototype.componentWillMount=function(){p()(this.context.router,"You should not use <Switch> outside a <Router>")},t.prototype.componentWillReceiveProps=function(e){o()(!(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.'),o()(!(!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 a.a.Children.forEach(t,function(t){if(null==r&&a.a.isValidElement(t)){var i=t.props,l=i.path,u=i.exact,c=i.strict,s=i.sensitive,f=i.from,p=l||f;o=t,r=he(n.pathname,{path:p,exact:u,strict:c,sensitive:s},e.match)}}),r?a.a.cloneElement(o,{location:n,computedMatch:r}):null},t}(a.a.Component);We.contextTypes={router:u.a.shape({route:u.a.object.isRequired}).isRequired},We.propTypes={children:u.a.node,location:u.a.object};var He=We,Ve=Oe,$e=he,qe=n(11),Ke=n.n(qe),Ye=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};var Qe=function(e){var t=function(t){var n=t.wrappedComponentRef,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(t,["wrappedComponentRef"]);return a.a.createElement(be,{children:function(t){return a.a.createElement(e,Ye({},r,t,{ref:n}))}})};return t.displayName="withRouter("+(e.displayName||e.name)+")",t.WrappedComponent=e,t.propTypes={wrappedComponentRef:u.a.func},Ke()(t,e)};n.d(t,"BrowserRouter",function(){return Z}),n.d(t,"HashRouter",function(){return te}),n.d(t,"Link",function(){return ae}),n.d(t,"MemoryRouter",function(){return ce}),n.d(t,"NavLink",function(){return Ee}),n.d(t,"Prompt",function(){return Ce}),n.d(t,"Redirect",function(){return Ae}),n.d(t,"Route",function(){return we}),n.d(t,"Router",function(){return Q}),n.d(t,"StaticRouter",function(){return Be}),n.d(t,"Switch",function(){return He}),n.d(t,"generatePath",function(){return Ve}),n.d(t,"matchPath",function(){return $e}),n.d(t,"withRouter",function(){return Qe})},function(e,t,n){"use strict";var r={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},i=Object.defineProperty,a=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,u=Object.getOwnPropertyDescriptor,c=Object.getPrototypeOf,s=c&&c(Object);e.exports=function e(t,n,f){if("string"!=typeof n){if(s){var p=c(n);p&&p!==s&&e(t,p,f)}var d=a(n);l&&(d=d.concat(l(n)));for(var h=0;h<d.length;++h){var m=d[h];if(!(r[m]||o[m]||f&&f[m])){var y=u(n,m);try{i(t,m,y)}catch(e){}}}return t}return t}},function(e,t){var n=/[\'\"]/;e.exports=function(e){return e?(n.test(e.charAt(0))&&(e=e.substr(1)),n.test(e.charAt(e.length-1))&&(e=e.substr(0,e.length-1)),e):""}},function(e,t,n){"use strict";var r=c(n(1)),o=(c(n(15)),n(17)),i=c(n(25)),a=(c(n(26)),n(10)),l=n(30),u=c(n(34));function c(e){return e&&e.__esModule?e:{default:e}}(0,o.render)(r.default.createElement(function(){return r.default.createElement(a.HashRouter,{basename:"/"},r.default.createElement(u.default,null,r.default.createElement("div",{className:"container"},r.default.createElement("div",{className:"sidebar"},r.default.createElement("p",{className:"main-quote"},'"Through chances various, through all vicissitudes, we make our way" - Aeneid'),r.default.createElement("a",{className:"logo",href:"./"},r.default.createElement("img",{alt:"acheronte",src:i.default})),r.default.createElement("h1",null,r.default.createElement("a",{className:"my-name",href:"./"},"Anthony Ori")),r.default.createElement("p",{className:"signature"},"a happiness engineer..."),r.default.createElement("p",null,"... and my journey within data, programming and finance")),r.default.createElement("div",{className:"main"},r.default.createElement(a.Route,{exact:!0,path:"/",component:l.Blog})))))},null),document.getElementById("reactApp"))},function(e,t,n){"use strict";
/** @license React v16.4.2
* react.production.min.js
*
* Copyright (c) 2013-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var r=n(6),o=n(7),i=n(8),a=n(9),l="function"==typeof Symbol&&Symbol.for,u=l?Symbol.for("react.element"):60103,c=l?Symbol.for("react.portal"):60106,s=l?Symbol.for("react.fragment"):60107,f=l?Symbol.for("react.strict_mode"):60108,p=l?Symbol.for("react.profiler"):60114,d=l?Symbol.for("react.provider"):60109,h=l?Symbol.for("react.context"):60110,m=l?Symbol.for("react.async_mode"):60111,y=l?Symbol.for("react.forward_ref"):60112;l&&Symbol.for("react.timeout");var v="function"==typeof Symbol&&Symbol.iterator;function g(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);o(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",n)}var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}};function w(e,t,n){this.props=e,this.context=t,this.refs=i,this.updater=n||b}function k(){}function x(e,t,n){this.props=e,this.context=t,this.refs=i,this.updater=n||b}w.prototype.isReactComponent={},w.prototype.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e&&g("85"),this.updater.enqueueSetState(this,e,t,"setState")},w.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},k.prototype=w.prototype;var _=x.prototype=new k;_.constructor=x,r(_,w.prototype),_.isPureReactComponent=!0;var E={current:null},T=Object.prototype.hasOwnProperty,C={key:!0,ref:!0,__self:!0,__source:!0};function P(e,t,n){var r=void 0,o={},i=null,a=null;if(null!=t)for(r in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(i=""+t.key),t)T.call(t,r)&&!C.hasOwnProperty(r)&&(o[r]=t[r]);var l=arguments.length-2;if(1===l)o.children=n;else if(1<l){for(var c=Array(l),s=0;s<l;s++)c[s]=arguments[s+2];o.children=c}if(e&&e.defaultProps)for(r in l=e.defaultProps)void 0===o[r]&&(o[r]=l[r]);return{$$typeof:u,type:e,key:i,ref:a,props:o,_owner:E.current}}function S(e){return"object"==typeof e&&null!==e&&e.$$typeof===u}var O=/\/+/g,R=[];function N(e,t,n,r){if(R.length){var o=R.pop();return o.result=e,o.keyPrefix=t,o.func=n,o.context=r,o.count=0,o}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function A(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>R.length&&R.push(e)}function j(e,t,n,r){var o=typeof e;"undefined"!==o&&"boolean"!==o||(e=null);var i=!1;if(null===e)i=!0;else switch(o){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case u:case c:i=!0}}if(i)return n(r,e,""===t?"."+M(e,0):t),1;if(i=0,t=""===t?".":t+":",Array.isArray(e))for(var a=0;a<e.length;a++){var l=t+M(o=e[a],a);i+=j(o,l,n,r)}else if(null===e||void 0===e?l=null:l="function"==typeof(l=v&&e[v]||e["@@iterator"])?l:null,"function"==typeof l)for(e=l.call(e),a=0;!(o=e.next()).done;)i+=j(o=o.value,l=t+M(o,a++),n,r);else"object"===o&&g("31","[object Object]"===(n=""+e)?"object with keys {"+Object.keys(e).join(", ")+"}":n,"");return i}function M(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(e){return t[e]})}(e.key):t.toString(36)}function U(e,t){e.func.call(e.context,t,e.count++)}function I(e,t,n){var r=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?L(e,r,n,a.thatReturnsArgument):null!=e&&(S(e)&&(t=o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(O,"$&/")+"/")+n,e={$$typeof:u,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}),r.push(e))}function L(e,t,n,r,o){var i="";null!=n&&(i=(""+n).replace(O,"$&/")+"/"),t=N(t,i,r,o),null==e||j(e,"",I,t),A(t)}var F={Children:{map:function(e,t,n){if(null==e)return e;var r=[];return L(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;t=N(null,null,t,n),null==e||j(e,"",U,t),A(t)},count:function(e){return null==e?0:j(e,"",a.thatReturnsNull,null)},toArray:function(e){var t=[];return L(e,t,null,a.thatReturnsArgument),t},only:function(e){return S(e)||g("143"),e}},createRef:function(){return{current:null}},Component:w,PureComponent:x,createContext:function(e,t){return void 0===t&&(t=null),(e={$$typeof:h,_calculateChangedBits:t,_defaultValue:e,_currentValue:e,_currentValue2:e,_changedBits:0,_changedBits2:0,Provider:null,Consumer:null}).Provider={$$typeof:d,_context:e},e.Consumer=e},forwardRef:function(e){return{$$typeof:y,render:e}},Fragment:s,StrictMode:f,unstable_AsyncMode:m,unstable_Profiler:p,createElement:P,cloneElement:function(e,t,n){(null===e||void 0===e)&&g("267",e);var o=void 0,i=r({},e.props),a=e.key,l=e.ref,c=e._owner;if(null!=t){void 0!==t.ref&&(l=t.ref,c=E.current),void 0!==t.key&&(a=""+t.key);var s=void 0;for(o in e.type&&e.type.defaultProps&&(s=e.type.defaultProps),t)T.call(t,o)&&!C.hasOwnProperty(o)&&(i[o]=void 0===t[o]&&void 0!==s?s[o]:t[o])}if(1===(o=arguments.length-2))i.children=n;else if(1<o){s=Array(o);for(var f=0;f<o;f++)s[f]=arguments[f+2];i.children=s}return{$$typeof:u,type:e.type,key:a,ref:l,props:i,_owner:c}},createFactory:function(e){var t=P.bind(null,e);return t.type=e,t},isValidElement:S,version:"16.4.2",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:E,assign:r}},D={default:F},z=D&&F||D;e.exports=z.default?z.default:z},function(e,t,n){},,function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(18)},function(e,t,n){"use strict";
/** @license React v16.4.2
* react-dom.production.min.js
*
* Copyright (c) 2013-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var r=n(7),o=n(1),i=n(19),a=n(6),l=n(9),u=n(20),c=n(21),s=n(22),f=n(8);function p(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,o=0;o<t;o++)n+="&args[]="+encodeURIComponent(arguments[o+1]);r(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",n)}o||p("227");var d={_caughtError:null,_hasCaughtError:!1,_rethrowError:null,_hasRethrowError:!1,invokeGuardedCallback:function(e,t,n,r,o,i,a,l,u){(function(e,t,n,r,o,i,a,l,u){this._hasCaughtError=!1,this._caughtError=null;var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(e){this._caughtError=e,this._hasCaughtError=!0}}).apply(d,arguments)},invokeGuardedCallbackAndCatchFirstError:function(e,t,n,r,o,i,a,l,u){if(d.invokeGuardedCallback.apply(this,arguments),d.hasCaughtError()){var c=d.clearCaughtError();d._hasRethrowError||(d._hasRethrowError=!0,d._rethrowError=c)}},rethrowCaughtError:function(){return function(){if(d._hasRethrowError){var e=d._rethrowError;throw d._rethrowError=null,d._hasRethrowError=!1,e}}.apply(d,arguments)},hasCaughtError:function(){return d._hasCaughtError},clearCaughtError:function(){if(d._hasCaughtError){var e=d._caughtError;return d._caughtError=null,d._hasCaughtError=!1,e}p("198")}};var h=null,m={};function y(){if(h)for(var e in m){var t=m[e],n=h.indexOf(e);if(-1<n||p("96",e),!g[n])for(var r in t.extractEvents||p("97",e),g[n]=t,n=t.eventTypes){var o=void 0,i=n[r],a=t,l=r;b.hasOwnProperty(l)&&p("99",l),b[l]=i;var u=i.phasedRegistrationNames;if(u){for(o in u)u.hasOwnProperty(o)&&v(u[o],a,l);o=!0}else i.registrationName?(v(i.registrationName,a,l),o=!0):o=!1;o||p("98",r,e)}}}function v(e,t,n){w[e]&&p("100",e),w[e]=t,k[e]=t.eventTypes[n].dependencies}var g=[],b={},w={},k={};function x(e){h&&p("101"),h=Array.prototype.slice.call(e),y()}function _(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var r=e[t];m.hasOwnProperty(t)&&m[t]===r||(m[t]&&p("102",t),m[t]=r,n=!0)}n&&y()}var E={plugins:g,eventNameDispatchConfigs:b,registrationNameModules:w,registrationNameDependencies:k,possibleRegistrationNames:null,injectEventPluginOrder:x,injectEventPluginsByName:_},T=null,C=null,P=null;function S(e,t,n,r){t=e.type||"unknown-event",e.currentTarget=P(r),d.invokeGuardedCallbackAndCatchFirstError(t,n,void 0,e),e.currentTarget=null}function O(e,t){return null==t&&p("30"),null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function R(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}var N=null;function A(e,t){if(e){var n=e._dispatchListeners,r=e._dispatchInstances;if(Array.isArray(n))for(var o=0;o<n.length&&!e.isPropagationStopped();o++)S(e,t,n[o],r[o]);else n&&S(e,t,n,r);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function j(e){return A(e,!0)}function M(e){return A(e,!1)}var U={injectEventPluginOrder:x,injectEventPluginsByName:_};function I(e,t){var n=e.stateNode;if(!n)return null;var r=T(n);if(!r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}return e?null:(n&&"function"!=typeof n&&p("231",t,typeof n),n)}function L(e,t){null!==e&&(N=O(N,e)),e=N,N=null,e&&(R(e,t?j:M),N&&p("95"),d.rethrowCaughtError())}function F(e,t,n,r){for(var o=null,i=0;i<g.length;i++){var a=g[i];a&&(a=a.extractEvents(e,t,n,r))&&(o=O(o,a))}L(o,!1)}var D={injection:U,getListener:I,runEventsInBatch:L,runExtractedEventsInBatch:F},z=Math.random().toString(36).slice(2),B="__reactInternalInstance$"+z,W="__reactEventHandlers$"+z;function H(e){if(e[B])return e[B];for(;!e[B];){if(!e.parentNode)return null;e=e.parentNode}return 5===(e=e[B]).tag||6===e.tag?e:null}function V(e){if(5===e.tag||6===e.tag)return e.stateNode;p("33")}function $(e){return e[W]||null}var q={precacheFiberNode:function(e,t){t[B]=e},getClosestInstanceFromNode:H,getInstanceFromNode:function(e){return!(e=e[B])||5!==e.tag&&6!==e.tag?null:e},getNodeFromInstance:V,getFiberCurrentPropsFromNode:$,updateFiberProps:function(e,t){e[W]=t}};function K(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function Y(e,t,n){for(var r=[];e;)r.push(e),e=K(e);for(e=r.length;0<e--;)t(r[e],"captured",n);for(e=0;e<r.length;e++)t(r[e],"bubbled",n)}function Q(e,t,n){(t=I(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=O(n._dispatchListeners,t),n._dispatchInstances=O(n._dispatchInstances,e))}function G(e){e&&e.dispatchConfig.phasedRegistrationNames&&Y(e._targetInst,Q,e)}function X(e){if(e&&e.dispatchConfig.phasedRegistrationNames){var t=e._targetInst;Y(t=t?K(t):null,Q,e)}}function Z(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=I(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=O(n._dispatchListeners,t),n._dispatchInstances=O(n._dispatchInstances,e))}function J(e){e&&e.dispatchConfig.registrationName&&Z(e._targetInst,null,e)}function ee(e){R(e,G)}function te(e,t,n,r){if(n&&r)e:{for(var o=n,i=r,a=0,l=o;l;l=K(l))a++;l=0;for(var u=i;u;u=K(u))l++;for(;0<a-l;)o=K(o),a--;for(;0<l-a;)i=K(i),l--;for(;a--;){if(o===i||o===i.alternate)break e;o=K(o),i=K(i)}o=null}else o=null;for(i=o,o=[];n&&n!==i&&(null===(a=n.alternate)||a!==i);)o.push(n),n=K(n);for(n=[];r&&r!==i&&(null===(a=r.alternate)||a!==i);)n.push(r),r=K(r);for(r=0;r<o.length;r++)Z(o[r],"bubbled",e);for(e=n.length;0<e--;)Z(n[e],"captured",t)}var ne={accumulateTwoPhaseDispatches:ee,accumulateTwoPhaseDispatchesSkipTarget:function(e){R(e,X)},accumulateEnterLeaveDispatches:te,accumulateDirectDispatches:function(e){R(e,J)}};function re(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n["ms"+e]="MS"+t,n["O"+e]="o"+t.toLowerCase(),n}var oe={animationend:re("Animation","AnimationEnd"),animationiteration:re("Animation","AnimationIteration"),animationstart:re("Animation","AnimationStart"),transitionend:re("Transition","TransitionEnd")},ie={},ae={};function le(e){if(ie[e])return ie[e];if(!oe[e])return e;var t,n=oe[e];for(t in n)if(n.hasOwnProperty(t)&&t in ae)return ie[e]=n[t];return e}i.canUseDOM&&(ae=document.createElement("div").style,"AnimationEvent"in window||(delete oe.animationend.animation,delete oe.animationiteration.animation,delete oe.animationstart.animation),"TransitionEvent"in window||delete oe.transitionend.transition);var ue=le("animationend"),ce=le("animationiteration"),se=le("animationstart"),fe=le("transitionend"),pe="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),de=null;function he(){return!de&&i.canUseDOM&&(de="textContent"in document.documentElement?"textContent":"innerText"),de}var me={_root:null,_startText:null,_fallbackText:null};function ye(){if(me._fallbackText)return me._fallbackText;var e,t,n=me._startText,r=n.length,o=ve(),i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return me._fallbackText=o.slice(e,1<t?1-t:void 0),me._fallbackText}function ve(){return"value"in me._root?me._root.value:me._root[he()]}var ge="dispatchConfig _targetInst nativeEvent isDefaultPrevented isPropagationStopped _dispatchListeners _dispatchInstances".split(" "),be={type:null,target:null,currentTarget:l.thatReturnsNull,eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};function we(e,t,n,r){for(var o in this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface)e.hasOwnProperty(o)&&((t=e[o])?this[o]=t(n):"target"===o?this.target=r:this[o]=n[o]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?l.thatReturnsTrue:l.thatReturnsFalse,this.isPropagationStopped=l.thatReturnsFalse,this}function ke(e,t,n,r){if(this.eventPool.length){var o=this.eventPool.pop();return this.call(o,e,t,n,r),o}return new this(e,t,n,r)}function xe(e){e instanceof this||p("223"),e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function _e(e){e.eventPool=[],e.getPooled=ke,e.release=xe}a(we.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=l.thatReturnsTrue)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=l.thatReturnsTrue)},persist:function(){this.isPersistent=l.thatReturnsTrue},isPersistent:l.thatReturnsFalse,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;for(t=0;t<ge.length;t++)this[ge[t]]=null}}),we.Interface=be,we.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var o=new t;return a(o,n.prototype),n.prototype=o,n.prototype.constructor=n,n.Interface=a({},r.Interface,e),n.extend=r.extend,_e(n),n},_e(we);var Ee=we.extend({data:null}),Te=we.extend({data:null}),Ce=[9,13,27,32],Pe=i.canUseDOM&&"CompositionEvent"in window,Se=null;i.canUseDOM&&"documentMode"in document&&(Se=document.documentMode);var Oe=i.canUseDOM&&"TextEvent"in window&&!Se,Re=i.canUseDOM&&(!Pe||Se&&8<Se&&11>=Se),Ne=String.fromCharCode(32),Ae={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},je=!1;function Me(e,t){switch(e){case"keyup":return-1!==Ce.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function Ue(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Ie=!1;var Le={eventTypes:Ae,extractEvents:function(e,t,n,r){var o=void 0,i=void 0;if(Pe)e:{switch(e){case"compositionstart":o=Ae.compositionStart;break e;case"compositionend":o=Ae.compositionEnd;break e;case"compositionupdate":o=Ae.compositionUpdate;break e}o=void 0}else Ie?Me(e,n)&&(o=Ae.compositionEnd):"keydown"===e&&229===n.keyCode&&(o=Ae.compositionStart);return o?(Re&&(Ie||o!==Ae.compositionStart?o===Ae.compositionEnd&&Ie&&(i=ye()):(me._root=r,me._startText=ve(),Ie=!0)),o=Ee.getPooled(o,t,n,r),i?o.data=i:null!==(i=Ue(n))&&(o.data=i),ee(o),i=o):i=null,(e=Oe?function(e,t){switch(e){case"compositionend":return Ue(t);case"keypress":return 32!==t.which?null:(je=!0,Ne);case"textInput":return(e=t.data)===Ne&&je?null:e;default:return null}}(e,n):function(e,t){if(Ie)return"compositionend"===e||!Pe&&Me(e,t)?(e=ye(),me._root=null,me._startText=null,me._fallbackText=null,Ie=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Re?null:t.data;default:return null}}(e,n))?((t=Te.getPooled(Ae.beforeInput,t,n,r)).data=e,ee(t)):t=null,null===i?t:null===t?i:[i,t]}},Fe=null,De={injectFiberControlledHostComponent:function(e){Fe=e}},ze=null,Be=null;function We(e){if(e=C(e)){Fe&&"function"==typeof Fe.restoreControlledState||p("194");var t=T(e.stateNode);Fe.restoreControlledState(e.stateNode,e.type,t)}}function He(e){ze?Be?Be.push(e):Be=[e]:ze=e}function Ve(){return null!==ze||null!==Be}function $e(){if(ze){var e=ze,t=Be;if(Be=ze=null,We(e),t)for(e=0;e<t.length;e++)We(t[e])}}var qe={injection:De,enqueueStateRestore:He,needsStateRestore:Ve,restoreStateIfNeeded:$e};function Ke(e,t){return e(t)}function Ye(e,t,n){return e(t,n)}function Qe(){}var Ge=!1;function Xe(e,t){if(Ge)return e(t);Ge=!0;try{return Ke(e,t)}finally{Ge=!1,Ve()&&(Qe(),$e())}}var Ze={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Je(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Ze[e.type]:"textarea"===t}function et(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function tt(e,t){return!(!i.canUseDOM||t&&!("addEventListener"in document))&&((t=(e="on"+e)in document)||((t=document.createElement("div")).setAttribute(e,"return;"),t="function"==typeof t[e]),t)}function nt(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function rt(e){e._valueTracker||(e._valueTracker=function(e){var t=nt(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function ot(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=nt(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}var it=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,at="function"==typeof Symbol&&Symbol.for,lt=at?Symbol.for("react.element"):60103,ut=at?Symbol.for("react.portal"):60106,ct=at?Symbol.for("react.fragment"):60107,st=at?Symbol.for("react.strict_mode"):60108,ft=at?Symbol.for("react.profiler"):60114,pt=at?Symbol.for("react.provider"):60109,dt=at?Symbol.for("react.context"):60110,ht=at?Symbol.for("react.async_mode"):60111,mt=at?Symbol.for("react.forward_ref"):60112,yt=at?Symbol.for("react.timeout"):60113,vt="function"==typeof Symbol&&Symbol.iterator;function gt(e){return null===e||void 0===e?null:"function"==typeof(e=vt&&e[vt]||e["@@iterator"])?e:null}function bt(e){var t=e.type;if("function"==typeof t)return t.displayName||t.name;if("string"==typeof t)return t;switch(t){case ht:return"AsyncMode";case dt:return"Context.Consumer";case ct:return"ReactFragment";case ut:return"ReactPortal";case ft:return"Profiler("+e.pendingProps.id+")";case pt:return"Context.Provider";case st:return"StrictMode";case yt:return"Timeout"}if("object"==typeof t&&null!==t)switch(t.$$typeof){case mt:return""!==(e=t.render.displayName||t.render.name||"")?"ForwardRef("+e+")":"ForwardRef"}return null}function wt(e){var t="";do{e:switch(e.tag){case 0:case 1:case 2:case 5:var n=e._debugOwner,r=e._debugSource,o=bt(e),i=null;n&&(i=bt(n)),n=r,o="\n in "+(o||"Unknown")+(n?" (at "+n.fileName.replace(/^.*[\\\/]/,"")+":"+n.lineNumber+")":i?" (created by "+i+")":"");break e;default:o=""}t+=o,e=e.return}while(e);return t}var kt=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,xt=Object.prototype.hasOwnProperty,_t={},Et={};function Tt(e,t,n,r,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t}var Ct={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ct[e]=new Tt(e,0,!1,e,null)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Ct[t]=new Tt(t,1,!1,e[1],null)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ct[e]=new Tt(e,2,!1,e.toLowerCase(),null)}),["autoReverse","externalResourcesRequired","preserveAlpha"].forEach(function(e){Ct[e]=new Tt(e,2,!1,e,null)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Ct[e]=new Tt(e,3,!1,e.toLowerCase(),null)}),["checked","multiple","muted","selected"].forEach(function(e){Ct[e]=new Tt(e,3,!0,e.toLowerCase(),null)}),["capture","download"].forEach(function(e){Ct[e]=new Tt(e,4,!1,e.toLowerCase(),null)}),["cols","rows","size","span"].forEach(function(e){Ct[e]=new Tt(e,6,!1,e.toLowerCase(),null)}),["rowSpan","start"].forEach(function(e){Ct[e]=new Tt(e,5,!1,e.toLowerCase(),null)});var Pt=/[\-:]([a-z])/g;function St(e){return e[1].toUpperCase()}function Ot(e,t,n,r){var o=Ct.hasOwnProperty(t)?Ct[t]:null;(null!==o?0===o.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,n,r){if(null===t||void 0===t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!xt.call(Et,e)||!xt.call(_t,e)&&(kt.test(e)?Et[e]=!0:(_t[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}function Rt(e,t){var n=t.checked;return a({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Nt(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=It(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function At(e,t){null!=(t=t.checked)&&Ot(e,"checked",t,!1)}function jt(e,t){At(e,t);var n=It(t.value);null!=n&&("number"===t.type?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n)),t.hasOwnProperty("value")?Ut(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ut(e,t.type,It(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Mt(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){t=""+e._wrapperState.initialValue;var r=e.value;n||t===r||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!e.defaultChecked,e.defaultChecked=!e.defaultChecked,""!==n&&(e.name=n)}function Ut(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function It(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}"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 xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Pt,St);Ct[t]=new Tt(t,1,!1,e,null)}),"xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Pt,St);Ct[t]=new Tt(t,1,!1,e,"http://www.w3.org/1999/xlink")}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Pt,St);Ct[t]=new Tt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace")}),Ct.tabIndex=new Tt("tabIndex",1,!1,"tabindex",null);var Lt={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function Ft(e,t,n){return(e=we.getPooled(Lt.change,e,t,n)).type="change",He(n),ee(e),e}var Dt=null,zt=null;function Bt(e){L(e,!1)}function Wt(e){if(ot(V(e)))return e}function Ht(e,t){if("change"===e)return t}var Vt=!1;function $t(){Dt&&(Dt.detachEvent("onpropertychange",qt),zt=Dt=null)}function qt(e){"value"===e.propertyName&&Wt(zt)&&Xe(Bt,e=Ft(zt,e,et(e)))}function Kt(e,t,n){"focus"===e?($t(),zt=n,(Dt=t).attachEvent("onpropertychange",qt)):"blur"===e&&$t()}function Yt(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Wt(zt)}function Qt(e,t){if("click"===e)return Wt(t)}function Gt(e,t){if("input"===e||"change"===e)return Wt(t)}i.canUseDOM&&(Vt=tt("input")&&(!document.documentMode||9<document.documentMode));var Xt={eventTypes:Lt,_isInputEventSupported:Vt,extractEvents:function(e,t,n,r){var o=t?V(t):window,i=void 0,a=void 0,l=o.nodeName&&o.nodeName.toLowerCase();if("select"===l||"input"===l&&"file"===o.type?i=Ht:Je(o)?Vt?i=Gt:(i=Yt,a=Kt):(l=o.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===o.type||"radio"===o.type)&&(i=Qt),i&&(i=i(e,t)))return Ft(i,n,r);a&&a(e,o,t),"blur"===e&&(e=o._wrapperState)&&e.controlled&&"number"===o.type&&Ut(o,"number",o.value)}},Zt=we.extend({view:null,detail:null}),Jt={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function en(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Jt[e])&&!!t[e]}function tn(){return en}var nn=Zt.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:tn,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)}}),rn=nn.extend({pointerId:null,width:null,height:null,pressure:null,tiltX:null,tiltY:null,pointerType:null,isPrimary:null}),on={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},an={eventTypes:on,extractEvents:function(e,t,n,r){var o="mouseover"===e||"pointerover"===e,i="mouseout"===e||"pointerout"===e;if(o&&(n.relatedTarget||n.fromElement)||!i&&!o)return null;if(o=r.window===r?r:(o=r.ownerDocument)?o.defaultView||o.parentWindow:window,i?(i=t,t=(t=n.relatedTarget||n.toElement)?H(t):null):i=null,i===t)return null;var a=void 0,l=void 0,u=void 0,c=void 0;return"mouseout"===e||"mouseover"===e?(a=nn,l=on.mouseLeave,u=on.mouseEnter,c="mouse"):"pointerout"!==e&&"pointerover"!==e||(a=rn,l=on.pointerLeave,u=on.pointerEnter,c="pointer"),e=null==i?o:V(i),o=null==t?o:V(t),(l=a.getPooled(l,i,n,r)).type=c+"leave",l.target=e,l.relatedTarget=o,(n=a.getPooled(u,t,n,r)).type=c+"enter",n.target=o,n.relatedTarget=e,te(l,n,i,t),[l,n]}};function ln(e){var t=e;if(e.alternate)for(;t.return;)t=t.return;else{if(0!=(2&t.effectTag))return 1;for(;t.return;)if(0!=(2&(t=t.return).effectTag))return 1}return 3===t.tag?2:3}function un(e){2!==ln(e)&&p("188")}function cn(e){var t=e.alternate;if(!t)return 3===(t=ln(e))&&p("188"),1===t?null:e;for(var n=e,r=t;;){var o=n.return,i=o?o.alternate:null;if(!o||!i)break;if(o.child===i.child){for(var a=o.child;a;){if(a===n)return un(o),e;if(a===r)return un(o),t;a=a.sibling}p("188")}if(n.return!==r.return)n=o,r=i;else{a=!1;for(var l=o.child;l;){if(l===n){a=!0,n=o,r=i;break}if(l===r){a=!0,r=o,n=i;break}l=l.sibling}if(!a){for(l=i.child;l;){if(l===n){a=!0,n=i,r=o;break}if(l===r){a=!0,r=i,n=o;break}l=l.sibling}a||p("189")}}n.alternate!==r&&p("190")}return 3!==n.tag&&p("188"),n.stateNode.current===n?e:t}function sn(e){if(!(e=cn(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}var fn=we.extend({animationName:null,elapsedTime:null,pseudoElement:null}),pn=we.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),dn=Zt.extend({relatedTarget:null});function hn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}var mn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},yn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},vn=Zt.extend({key:function(e){if(e.key){var t=mn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=hn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?yn[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:tn,charCode:function(e){return"keypress"===e.type?hn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?hn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),gn=nn.extend({dataTransfer:null}),bn=Zt.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:tn}),wn=we.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),kn=nn.extend({deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null}),xn=[["abort","abort"],[ue,"animationEnd"],[ce,"animationIteration"],[se,"animationStart"],["canplay","canPlay"],["canplaythrough","canPlayThrough"],["drag","drag"],["dragenter","dragEnter"],["dragexit","dragExit"],["dragleave","dragLeave"],["dragover","dragOver"],["durationchange","durationChange"],["emptied","emptied"],["encrypted","encrypted"],["ended","ended"],["error","error"],["gotpointercapture","gotPointerCapture"],["load","load"],["loadeddata","loadedData"],["loadedmetadata","loadedMetadata"],["loadstart","loadStart"],["lostpointercapture","lostPointerCapture"],["mousemove","mouseMove"],["mouseout","mouseOut"],["mouseover","mouseOver"],["playing","playing"],["pointermove","pointerMove"],["pointerout","pointerOut"],["pointerover","pointerOver"],["progress","progress"],["scroll","scroll"],["seeking","seeking"],["stalled","stalled"],["suspend","suspend"],["timeupdate","timeUpdate"],["toggle","toggle"],["touchmove","touchMove"],[fe,"transitionEnd"],["waiting","waiting"],["wheel","wheel"]],_n={},En={};function Tn(e,t){var n=e[0],r="on"+((e=e[1])[0].toUpperCase()+e.slice(1));t={phasedRegistrationNames:{bubbled:r,captured:r+"Capture"},dependencies:[n],isInteractive:t},_n[e]=t,En[n]=t}[["blur","blur"],["cancel","cancel"],["click","click"],["close","close"],["contextmenu","contextMenu"],["copy","copy"],["cut","cut"],["dblclick","doubleClick"],["dragend","dragEnd"],["dragstart","dragStart"],["drop","drop"],["focus","focus"],["input","input"],["invalid","invalid"],["keydown","keyDown"],["keypress","keyPress"],["keyup","keyUp"],["mousedown","mouseDown"],["mouseup","mouseUp"],["paste","paste"],["pause","pause"],["play","play"],["pointercancel","pointerCancel"],["pointerdown","pointerDown"],["pointerup","pointerUp"],["ratechange","rateChange"],["reset","reset"],["seeked","seeked"],["submit","submit"],["touchcancel","touchCancel"],["touchend","touchEnd"],["touchstart","touchStart"],["volumechange","volumeChange"]].forEach(function(e){Tn(e,!0)}),xn.forEach(function(e){Tn(e,!1)});var Cn={eventTypes:_n,isInteractiveTopLevelEventType:function(e){return void 0!==(e=En[e])&&!0===e.isInteractive},extractEvents:function(e,t,n,r){var o=En[e];if(!o)return null;switch(e){case"keypress":if(0===hn(n))return null;case"keydown":case"keyup":e=vn;break;case"blur":case"focus":e=dn;break;case"click":if(2===n.button)return null;case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":e=nn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=gn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=bn;break;case ue:case ce:case se:e=fn;break;case fe:e=wn;break;case"scroll":e=Zt;break;case"wheel":e=kn;break;case"copy":case"cut":case"paste":e=pn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=rn;break;default:e=we}return ee(t=e.getPooled(o,t,n,r)),t}},Pn=Cn.isInteractiveTopLevelEventType,Sn=[];function On(e){var t=e.targetInst;do{if(!t){e.ancestors.push(t);break}var n;for(n=t;n.return;)n=n.return;if(!(n=3!==n.tag?null:n.stateNode.containerInfo))break;e.ancestors.push(t),t=H(n)}while(t);for(n=0;n<e.ancestors.length;n++)t=e.ancestors[n],F(e.topLevelType,t,e.nativeEvent,et(e.nativeEvent))}var Rn=!0;function Nn(e){Rn=!!e}function An(e,t){if(!t)return null;var n=(Pn(e)?Mn:Un).bind(null,e);t.addEventListener(e,n,!1)}function jn(e,t){if(!t)return null;var n=(Pn(e)?Mn:Un).bind(null,e);t.addEventListener(e,n,!0)}function Mn(e,t){Ye(Un,e,t)}function Un(e,t){if(Rn){var n=et(t);if(null===(n=H(n))||"number"!=typeof n.tag||2===ln(n)||(n=null),Sn.length){var r=Sn.pop();r.topLevelType=e,r.nativeEvent=t,r.targetInst=n,e=r}else e={topLevelType:e,nativeEvent:t,targetInst:n,ancestors:[]};try{Xe(On,e)}finally{e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>Sn.length&&Sn.push(e)}}}var In={get _enabled(){return Rn},setEnabled:Nn,isEnabled:function(){return Rn},trapBubbledEvent:An,trapCapturedEvent:jn,dispatchEvent:Un},Ln={},Fn=0,Dn="_reactListenersID"+(""+Math.random()).slice(2);function zn(e){return Object.prototype.hasOwnProperty.call(e,Dn)||(e[Dn]=Fn++,Ln[e[Dn]]={}),Ln[e[Dn]]}function Bn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Wn(e,t){var n,r=Bn(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Bn(r)}}function Hn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var Vn=i.canUseDOM&&"documentMode"in document&&11>=document.documentMode,$n={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu focus keydown keyup mousedown mouseup selectionchange".split(" ")}},qn=null,Kn=null,Yn=null,Qn=!1;function Gn(e,t){if(Qn||null==qn||qn!==u())return null;var n=qn;return"selectionStart"in n&&Hn(n)?n={start:n.selectionStart,end:n.selectionEnd}:window.getSelection?n={anchorNode:(n=window.getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}:n=void 0,Yn&&c(Yn,n)?null:(Yn=n,(e=we.getPooled($n.select,Kn,e,t)).type="select",e.target=qn,ee(e),e)}var Xn={eventTypes:$n,extractEvents:function(e,t,n,r){var o,i=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument;if(!(o=!i)){e:{i=zn(i),o=k.onSelect;for(var a=0;a<o.length;a++){var l=o[a];if(!i.hasOwnProperty(l)||!i[l]){i=!1;break e}}i=!0}o=!i}if(o)return null;switch(i=t?V(t):window,e){case"focus":(Je(i)||"true"===i.contentEditable)&&(qn=i,Kn=t,Yn=null);break;case"blur":Yn=Kn=qn=null;break;case"mousedown":Qn=!0;break;case"contextmenu":case"mouseup":return Qn=!1,Gn(n,r);case"selectionchange":if(Vn)break;case"keydown":case"keyup":return Gn(n,r)}return null}};U.injectEventPluginOrder("ResponderEventPlugin SimpleEventPlugin TapEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),T=q.getFiberCurrentPropsFromNode,C=q.getInstanceFromNode,P=q.getNodeFromInstance,U.injectEventPluginsByName({SimpleEventPlugin:Cn,EnterLeaveEventPlugin:an,ChangeEventPlugin:Xt,SelectEventPlugin:Xn,BeforeInputEventPlugin:Le});var Zn="function"==typeof requestAnimationFrame?requestAnimationFrame:void 0,Jn=Date,er=setTimeout,tr=clearTimeout,nr=void 0;if("object"==typeof performance&&"function"==typeof performance.now){var rr=performance;nr=function(){return rr.now()}}else nr=function(){return Jn.now()};var or=void 0,ir=void 0;if(i.canUseDOM){var ar="function"==typeof Zn?Zn:function(){p("276")},lr=null,ur=null,cr=-1,sr=!1,fr=!1,pr=0,dr=33,hr=33,mr={didTimeout:!1,timeRemaining:function(){var e=pr-nr();return 0<e?e:0}},yr=function(e,t){var n=e.scheduledCallback,r=!1;try{n(t),r=!0}finally{ir(e),r||(sr=!0,window.postMessage(vr,"*"))}},vr="__reactIdleCallback$"+Math.random().toString(36).slice(2);window.addEventListener("message",function(e){if(e.source===window&&e.data===vr&&(sr=!1,null!==lr)){if(null!==lr){var t=nr();if(!(-1===cr||cr>t)){e=-1;for(var n=[],r=lr;null!==r;){var o=r.timeoutTime;-1!==o&&o<=t?n.push(r):-1!==o&&(-1===e||o<e)&&(e=o),r=r.next}if(0<n.length)for(mr.didTimeout=!0,t=0,r=n.length;t<r;t++)yr(n[t],mr);cr=e}}for(e=nr();0<pr-e&&null!==lr;)e=lr,mr.didTimeout=!1,yr(e,mr),e=nr();null===lr||fr||(fr=!0,ar(gr))}},!1);var gr=function(e){fr=!1;var t=e-pr+hr;t<hr&&dr<hr?(8>t&&(t=8),hr=t<dr?dr:t):dr=t,pr=e+hr,sr||(sr=!0,window.postMessage(vr,"*"))};or=function(e,t){var n=-1;return null!=t&&"number"==typeof t.timeout&&(n=nr()+t.timeout),(-1===cr||-1!==n&&n<cr)&&(cr=n),e={scheduledCallback:e,timeoutTime:n,prev:null,next:null},null===lr?lr=e:null!==(t=e.prev=ur)&&(t.next=e),ur=e,fr||(fr=!0,ar(gr)),e},ir=function(e){if(null!==e.prev||lr===e){var t=e.next,n=e.prev;e.next=null,e.prev=null,null!==t?null!==n?(n.next=t,t.prev=n):(t.prev=null,lr=t):null!==n?(n.next=null,ur=n):ur=lr=null}}}else{var br=new Map;or=function(e){var t={scheduledCallback:e,timeoutTime:0,next:null,prev:null},n=er(function(){e({timeRemaining:function(){return 1/0},didTimeout:!1})});return br.set(e,n),t},ir=function(e){var t=br.get(e.scheduledCallback);br.delete(e),tr(t)}}function wr(e,t){return e=a({children:void 0},t),(t=function(e){var t="";return o.Children.forEach(e,function(e){null==e||"string"!=typeof e&&"number"!=typeof e||(t+=e)}),t}(t.children))&&(e.children=t),e}function kr(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+n,t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function xr(e,t){var n=t.value;e._wrapperState={initialValue:null!=n?n:t.defaultValue,wasMultiple:!!t.multiple}}function _r(e,t){return null!=t.dangerouslySetInnerHTML&&p("91"),a({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Er(e,t){var n=t.value;null==n&&(n=t.defaultValue,null!=(t=t.children)&&(null!=n&&p("92"),Array.isArray(t)&&(1>=t.length||p("93"),t=t[0]),n=""+t),null==n&&(n="")),e._wrapperState={initialValue:""+n}}function Tr(e,t){var n=t.value;null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&(e.defaultValue=n)),null!=t.defaultValue&&(e.defaultValue=t.defaultValue)}function Cr(e){var t=e.textContent;t===e._wrapperState.initialValue&&(e.value=t)}var Pr={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function Sr(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Or(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?Sr(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var Rr=void 0,Nr=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n)})}:e}(function(e,t){if(e.namespaceURI!==Pr.svg||"innerHTML"in e)e.innerHTML=t;else{for((Rr=Rr||document.createElement("div")).innerHTML="<svg>"+t+"</svg>",t=Rr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Ar(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var jr={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Mr=["Webkit","ms","Moz","O"];function Ur(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=n,i=t[n];o=null==i||"boolean"==typeof i||""===i?"":r||"number"!=typeof i||0===i||jr.hasOwnProperty(o)&&jr[o]?(""+i).trim():i+"px","float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(jr).forEach(function(e){Mr.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),jr[t]=jr[e]})});var Ir=a({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Lr(e,t,n){t&&(Ir[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML)&&p("137",e,n()),null!=t.dangerouslySetInnerHTML&&(null!=t.children&&p("60"),"object"==typeof t.dangerouslySetInnerHTML&&"__html"in t.dangerouslySetInnerHTML||p("61")),null!=t.style&&"object"!=typeof t.style&&p("62",n()))}function Fr(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Dr=l.thatReturns("");function zr(e,t){var n=zn(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=k[t];for(var r=0;r<t.length;r++){var o=t[r];if(!n.hasOwnProperty(o)||!n[o]){switch(o){case"scroll":jn("scroll",e);break;case"focus":case"blur":jn("focus",e),jn("blur",e),n.blur=!0,n.focus=!0;break;case"cancel":case"close":tt(o,!0)&&jn(o,e);break;case"invalid":case"submit":case"reset":break;default:-1===pe.indexOf(o)&&An(o,e)}n[o]=!0}}}function Br(e,t,n,r){return n=9===n.nodeType?n:n.ownerDocument,r===Pr.html&&(r=Sr(e)),r===Pr.html?"script"===e?((e=n.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):e="string"==typeof t.is?n.createElement(e,{is:t.is}):n.createElement(e):e=n.createElementNS(r,e),e}function Wr(e,t){return(9===t.nodeType?t:t.ownerDocument).createTextNode(e)}function Hr(e,t,n,r){var o=Fr(t,n);switch(t){case"iframe":case"object":An("load",e);var i=n;break;case"video":case"audio":for(i=0;i<pe.length;i++)An(pe[i],e);i=n;break;case"source":An("error",e),i=n;break;case"img":case"image":case"link":An("error",e),An("load",e),i=n;break;case"form":An("reset",e),An("submit",e),i=n;break;case"details":An("toggle",e),i=n;break;case"input":Nt(e,n),i=Rt(e,n),An("invalid",e),zr(r,"onChange");break;case"option":i=wr(e,n);break;case"select":xr(e,n),i=a({},n,{value:void 0}),An("invalid",e),zr(r,"onChange");break;case"textarea":Er(e,n),i=_r(e,n),An("invalid",e),zr(r,"onChange");break;default:i=n}Lr(t,i,Dr);var u,c=i;for(u in c)if(c.hasOwnProperty(u)){var s=c[u];"style"===u?Ur(e,s):"dangerouslySetInnerHTML"===u?null!=(s=s?s.__html:void 0)&&Nr(e,s):"children"===u?"string"==typeof s?("textarea"!==t||""!==s)&&Ar(e,s):"number"==typeof s&&Ar(e,""+s):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(w.hasOwnProperty(u)?null!=s&&zr(r,u):null!=s&&Ot(e,u,s,o))}switch(t){case"input":rt(e),Mt(e,n,!1);break;case"textarea":rt(e),Cr(e);break;case"option":null!=n.value&&e.setAttribute("value",n.value);break;case"select":e.multiple=!!n.multiple,null!=(t=n.value)?kr(e,!!n.multiple,t,!1):null!=n.defaultValue&&kr(e,!!n.multiple,n.defaultValue,!0);break;default:"function"==typeof i.onClick&&(e.onclick=l)}}function Vr(e,t,n,r,o){var i=null;switch(t){case"input":n=Rt(e,n),r=Rt(e,r),i=[];break;case"option":n=wr(e,n),r=wr(e,r),i=[];break;case"select":n=a({},n,{value:void 0}),r=a({},r,{value:void 0}),i=[];break;case"textarea":n=_r(e,n),r=_r(e,r),i=[];break;default:"function"!=typeof n.onClick&&"function"==typeof r.onClick&&(e.onclick=l)}Lr(t,r,Dr),t=e=void 0;var u=null;for(e in n)if(!r.hasOwnProperty(e)&&n.hasOwnProperty(e)&&null!=n[e])if("style"===e){var c=n[e];for(t in c)c.hasOwnProperty(t)&&(u||(u={}),u[t]="")}else"dangerouslySetInnerHTML"!==e&&"children"!==e&&"suppressContentEditableWarning"!==e&&"suppressHydrationWarning"!==e&&"autoFocus"!==e&&(w.hasOwnProperty(e)?i||(i=[]):(i=i||[]).push(e,null));for(e in r){var s=r[e];if(c=null!=n?n[e]:void 0,r.hasOwnProperty(e)&&s!==c&&(null!=s||null!=c))if("style"===e)if(c){for(t in c)!c.hasOwnProperty(t)||s&&s.hasOwnProperty(t)||(u||(u={}),u[t]="");for(t in s)s.hasOwnProperty(t)&&c[t]!==s[t]&&(u||(u={}),u[t]=s[t])}else u||(i||(i=[]),i.push(e,u)),u=s;else"dangerouslySetInnerHTML"===e?(s=s?s.__html:void 0,c=c?c.__html:void 0,null!=s&&c!==s&&(i=i||[]).push(e,""+s)):"children"===e?c===s||"string"!=typeof s&&"number"!=typeof s||(i=i||[]).push(e,""+s):"suppressContentEditableWarning"!==e&&"suppressHydrationWarning"!==e&&(w.hasOwnProperty(e)?(null!=s&&zr(o,e),i||c===s||(i=[])):(i=i||[]).push(e,s))}return u&&(i=i||[]).push("style",u),i}function $r(e,t,n,r,o){"input"===n&&"radio"===o.type&&null!=o.name&&At(e,o),Fr(n,r),r=Fr(n,o);for(var i=0;i<t.length;i+=2){var a=t[i],l=t[i+1];"style"===a?Ur(e,l):"dangerouslySetInnerHTML"===a?Nr(e,l):"children"===a?Ar(e,l):Ot(e,a,l,r)}switch(n){case"input":jt(e,o);break;case"textarea":Tr(e,o);break;case"select":e._wrapperState.initialValue=void 0,t=e._wrapperState.wasMultiple,e._wrapperState.wasMultiple=!!o.multiple,null!=(n=o.value)?kr(e,!!o.multiple,n,!1):t!==!!o.multiple&&(null!=o.defaultValue?kr(e,!!o.multiple,o.defaultValue,!0):kr(e,!!o.multiple,o.multiple?[]:"",!1))}}function qr(e,t,n,r,o){switch(t){case"iframe":case"object":An("load",e);break;case"video":case"audio":for(r=0;r<pe.length;r++)An(pe[r],e);break;case"source":An("error",e);break;case"img":case"image":case"link":An("error",e),An("load",e);break;case"form":An("reset",e),An("submit",e);break;case"details":An("toggle",e);break;case"input":Nt(e,n),An("invalid",e),zr(o,"onChange");break;case"select":xr(e,n),An("invalid",e),zr(o,"onChange");break;case"textarea":Er(e,n),An("invalid",e),zr(o,"onChange")}for(var i in Lr(t,n,Dr),r=null,n)if(n.hasOwnProperty(i)){var a=n[i];"children"===i?"string"==typeof a?e.textContent!==a&&(r=["children",a]):"number"==typeof a&&e.textContent!==""+a&&(r=["children",""+a]):w.hasOwnProperty(i)&&null!=a&&zr(o,i)}switch(t){case"input":rt(e),Mt(e,n,!0);break;case"textarea":rt(e),Cr(e);break;case"select":case"option":break;default:"function"==typeof n.onClick&&(e.onclick=l)}return r}function Kr(e,t){return e.nodeValue!==t}var Yr={createElement:Br,createTextNode:Wr,setInitialProperties:Hr,diffProperties:Vr,updateProperties:$r,diffHydratedProperties:qr,diffHydratedText:Kr,warnForUnmatchedText:function(){},warnForDeletedHydratableElement:function(){},warnForDeletedHydratableText:function(){},warnForInsertedHydratedElement:function(){},warnForInsertedHydratedText:function(){},restoreControlledState:function(e,t,n){switch(t){case"input":if(jt(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=$(r);o||p("90"),ot(r),jt(r,o)}}}break;case"textarea":Tr(e,n);break;case"select":null!=(t=n.value)&&kr(e,!!n.multiple,t,!1)}}},Qr=null,Gr=null;function Xr(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Zr(e,t){return"textarea"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&"string"==typeof t.dangerouslySetInnerHTML.__html}var Jr=nr,eo=or,to=ir;function no(e){for(e=e.nextSibling;e&&1!==e.nodeType&&3!==e.nodeType;)e=e.nextSibling;return e}function ro(e){for(e=e.firstChild;e&&1!==e.nodeType&&3!==e.nodeType;)e=e.nextSibling;return e}new Set;var oo=[],io=-1;function ao(e){return{current:e}}function lo(e){0>io||(e.current=oo[io],oo[io]=null,io--)}function uo(e,t){oo[++io]=e.current,e.current=t}var co=ao(f),so=ao(!1),fo=f;function po(e){return mo(e)?fo:co.current}function ho(e,t){var n=e.type.contextTypes;if(!n)return f;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function mo(e){return 2===e.tag&&null!=e.type.childContextTypes}function yo(e){mo(e)&&(lo(so),lo(co))}function vo(e){lo(so),lo(co)}function go(e,t,n){co.current!==f&&p("168"),uo(co,t),uo(so,n)}function bo(e,t){var n=e.stateNode,r=e.type.childContextTypes;if("function"!=typeof n.getChildContext)return t;for(var o in n=n.getChildContext())o in r||p("108",bt(e)||"Unknown",o);return a({},t,n)}function wo(e){if(!mo(e))return!1;var t=e.stateNode;return t=t&&t.__reactInternalMemoizedMergedChildContext||f,fo=co.current,uo(co,t),uo(so,so.current),!0}function ko(e,t){var n=e.stateNode;if(n||p("169"),t){var r=bo(e,fo);n.__reactInternalMemoizedMergedChildContext=r,lo(so),lo(co),uo(co,r)}else lo(so);uo(so,t)}function xo(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=null,this.index=0,this.ref=null,this.pendingProps=t,this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.expirationTime=0,this.alternate=null}function _o(e,t,n){var r=e.alternate;return null===r?((r=new xo(e.tag,t,e.key,e.mode)).type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.effectTag=0,r.nextEffect=null,r.firstEffect=null,r.lastEffect=null),r.expirationTime=n,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function Eo(e,t,n){var r=e.type,o=e.key;if(e=e.props,"function"==typeof r)var i=r.prototype&&r.prototype.isReactComponent?2:0;else if("string"==typeof r)i=5;else switch(r){case ct:return To(e.children,t,n,o);case ht:i=11,t|=3;break;case st:i=11,t|=2;break;case ft:return(r=new xo(15,e,o,4|t)).type=ft,r.expirationTime=n,r;case yt:i=16,t|=2;break;default:e:{switch("object"==typeof r&&null!==r?r.$$typeof:null){case pt:i=13;break e;case dt:i=12;break e;case mt:i=14;break e;default:p("130",null==r?r:typeof r,"")}i=void 0}}return(t=new xo(i,e,o,t)).type=r,t.expirationTime=n,t}function To(e,t,n,r){return(e=new xo(10,e,r,t)).expirationTime=n,e}function Co(e,t,n){return(e=new xo(6,e,null,t)).expirationTime=n,e}function Po(e,t,n){return(t=new xo(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function So(e,t,n){return e={current:t=new xo(3,null,null,t?3:0),containerInfo:e,pendingChildren:null,earliestPendingTime:0,latestPendingTime:0,earliestSuspendedTime:0,latestSuspendedTime:0,latestPingedTime:0,pendingCommitExpirationTime:0,finishedWork:null,context:null,pendingContext:null,hydrate:n,remainingExpirationTime:0,firstBatch:null,nextScheduledRoot:null},t.stateNode=e}var Oo=null,Ro=null;function No(e){return function(t){try{return e(t)}catch(e){}}}function Ao(e){"function"==typeof Oo&&Oo(e)}function jo(e){"function"==typeof Ro&&Ro(e)}var Mo=!1;function Uo(e){return{expirationTime:0,baseState:e,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Io(e){return{expirationTime:e.expirationTime,baseState:e.baseState,firstUpdate:e.firstUpdate,lastUpdate:e.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Lo(e){return{expirationTime:e,tag:0,payload:null,callback:null,next:null,nextEffect:null}}function Fo(e,t,n){null===e.lastUpdate?e.firstUpdate=e.lastUpdate=t:(e.lastUpdate.next=t,e.lastUpdate=t),(0===e.expirationTime||e.expirationTime>n)&&(e.expirationTime=n)}function Do(e,t,n){var r=e.alternate;if(null===r){var o=e.updateQueue,i=null;null===o&&(o=e.updateQueue=Uo(e.memoizedState))}else o=e.updateQueue,i=r.updateQueue,null===o?null===i?(o=e.updateQueue=Uo(e.memoizedState),i=r.updateQueue=Uo(r.memoizedState)):o=e.updateQueue=Io(i):null===i&&(i=r.updateQueue=Io(o));null===i||o===i?Fo(o,t,n):null===o.lastUpdate||null===i.lastUpdate?(Fo(o,t,n),Fo(i,t,n)):(Fo(o,t,n),i.lastUpdate=t)}function zo(e,t,n){var r=e.updateQueue;null===(r=null===r?e.updateQueue=Uo(e.memoizedState):Bo(e,r)).lastCapturedUpdate?r.firstCapturedUpdate=r.lastCapturedUpdate=t:(r.lastCapturedUpdate.next=t,r.lastCapturedUpdate=t),(0===r.expirationTime||r.expirationTime>n)&&(r.expirationTime=n)}function Bo(e,t){var n=e.alternate;return null!==n&&t===n.updateQueue&&(t=e.updateQueue=Io(t)),t}function Wo(e,t,n,r,o,i){switch(n.tag){case 1:return"function"==typeof(e=n.payload)?e.call(i,r,o):e;case 3:e.effectTag=-1025&e.effectTag|64;case 0:if(null===(o="function"==typeof(e=n.payload)?e.call(i,r,o):e)||void 0===o)break;return a({},r,o);case 2:Mo=!0}return r}function Ho(e,t,n,r,o){if(Mo=!1,!(0===t.expirationTime||t.expirationTime>o)){for(var i=(t=Bo(e,t)).baseState,a=null,l=0,u=t.firstUpdate,c=i;null!==u;){var s=u.expirationTime;s>o?(null===a&&(a=u,i=c),(0===l||l>s)&&(l=s)):(c=Wo(e,0,u,c,n,r),null!==u.callback&&(e.effectTag|=32,u.nextEffect=null,null===t.lastEffect?t.firstEffect=t.lastEffect=u:(t.lastEffect.nextEffect=u,t.lastEffect=u))),u=u.next}for(s=null,u=t.firstCapturedUpdate;null!==u;){var f=u.expirationTime;f>o?(null===s&&(s=u,null===a&&(i=c)),(0===l||l>f)&&(l=f)):(c=Wo(e,0,u,c,n,r),null!==u.callback&&(e.effectTag|=32,u.nextEffect=null,null===t.lastCapturedEffect?t.firstCapturedEffect=t.lastCapturedEffect=u:(t.lastCapturedEffect.nextEffect=u,t.lastCapturedEffect=u))),u=u.next}null===a&&(t.lastUpdate=null),null===s?t.lastCapturedUpdate=null:e.effectTag|=32,null===a&&null===s&&(i=c),t.baseState=i,t.firstUpdate=a,t.firstCapturedUpdate=s,t.expirationTime=l,e.memoizedState=c}}function Vo(e,t){"function"!=typeof e&&p("191",e),e.call(t)}function $o(e,t,n){for(null!==t.firstCapturedUpdate&&(null!==t.lastUpdate&&(t.lastUpdate.next=t.firstCapturedUpdate,t.lastUpdate=t.lastCapturedUpdate),t.firstCapturedUpdate=t.lastCapturedUpdate=null),e=t.firstEffect,t.firstEffect=t.lastEffect=null;null!==e;){var r=e.callback;null!==r&&(e.callback=null,Vo(r,n)),e=e.nextEffect}for(e=t.firstCapturedEffect,t.firstCapturedEffect=t.lastCapturedEffect=null;null!==e;)null!==(t=e.callback)&&(e.callback=null,Vo(t,n)),e=e.nextEffect}function qo(e,t){return{value:e,source:t,stack:wt(t)}}var Ko=ao(null),Yo=ao(null),Qo=ao(0);function Go(e){var t=e.type._context;uo(Qo,t._changedBits),uo(Yo,t._currentValue),uo(Ko,e),t._currentValue=e.pendingProps.value,t._changedBits=e.stateNode}function Xo(e){var t=Qo.current,n=Yo.current;lo(Ko),lo(Yo),lo(Qo),(e=e.type._context)._currentValue=n,e._changedBits=t}var Zo={},Jo=ao(Zo),ei=ao(Zo),ti=ao(Zo);function ni(e){return e===Zo&&p("174"),e}function ri(e,t){uo(ti,t),uo(ei,e),uo(Jo,Zo);var n=t.nodeType;switch(n){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Or(null,"");break;default:t=Or(t=(n=8===n?t.parentNode:t).namespaceURI||null,n=n.tagName)}lo(Jo),uo(Jo,t)}function oi(e){lo(Jo),lo(ei),lo(ti)}function ii(e){ei.current===e&&(lo(Jo),lo(ei))}function ai(e,t,n){var r=e.memoizedState;r=null===(t=t(n,r))||void 0===t?r:a({},r,t),e.memoizedState=r,null!==(e=e.updateQueue)&&0===e.expirationTime&&(e.baseState=r)}var li={isMounted:function(e){return!!(e=e._reactInternalFiber)&&2===ln(e)},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var r=ba(),o=Lo(r=va(r,e));o.payload=t,void 0!==n&&null!==n&&(o.callback=n),Do(e,o,r),ga(e,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var r=ba(),o=Lo(r=va(r,e));o.tag=1,o.payload=t,void 0!==n&&null!==n&&(o.callback=n),Do(e,o,r),ga(e,r)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=ba(),r=Lo(n=va(n,e));r.tag=2,void 0!==t&&null!==t&&(r.callback=t),Do(e,r,n),ga(e,n)}};function ui(e,t,n,r,o,i){var a=e.stateNode;return e=e.type,"function"==typeof a.shouldComponentUpdate?a.shouldComponentUpdate(n,o,i):!e.prototype||!e.prototype.isPureReactComponent||(!c(t,n)||!c(r,o))}function ci(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&li.enqueueReplaceState(t,t.state,null)}function si(e,t){var n=e.type,r=e.stateNode,o=e.pendingProps,i=po(e);r.props=o,r.state=e.memoizedState,r.refs=f,r.context=ho(e,i),null!==(i=e.updateQueue)&&(Ho(e,i,o,r,t),r.state=e.memoizedState),"function"==typeof(i=e.type.getDerivedStateFromProps)&&(ai(e,i,o),r.state=e.memoizedState),"function"==typeof n.getDerivedStateFromProps||"function"==typeof r.getSnapshotBeforeUpdate||"function"!=typeof r.UNSAFE_componentWillMount&&"function"!=typeof r.componentWillMount||(n=r.state,"function"==typeof r.componentWillMount&&r.componentWillMount(),"function"==typeof r.UNSAFE_componentWillMount&&r.UNSAFE_componentWillMount(),n!==r.state&&li.enqueueReplaceState(r,r.state,null),null!==(i=e.updateQueue)&&(Ho(e,i,o,r,t),r.state=e.memoizedState)),"function"==typeof r.componentDidMount&&(e.effectTag|=4)}var fi=Array.isArray;function pi(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){var r=void 0;(n=n._owner)&&(2!==n.tag&&p("110"),r=n.stateNode),r||p("147",e);var o=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===o?t.ref:((t=function(e){var t=r.refs===f?r.refs={}:r.refs;null===e?delete t[o]:t[o]=e})._stringRef=o,t)}"string"!=typeof e&&p("148"),n._owner||p("254",e)}return e}function di(e,t){"textarea"!==e.type&&p("31","[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,"")}function hi(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t,n){return(e=_o(e,t,n)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.effectTag=2,n):r:(t.effectTag=2,n):n}function a(t){return e&&null===t.alternate&&(t.effectTag=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Co(n,e.mode,r)).return=e,t):((t=o(t,n,r)).return=e,t)}function u(e,t,n,r){return null!==t&&t.type===n.type?((r=o(t,n.props,r)).ref=pi(e,t,n),r.return=e,r):((r=Eo(n,e.mode,r)).ref=pi(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Po(n,e.mode,r)).return=e,t):((t=o(t,n.children||[],r)).return=e,t)}function s(e,t,n,r,i){return null===t||10!==t.tag?((t=To(n,e.mode,r,i)).return=e,t):((t=o(t,n,r)).return=e,t)}function f(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=Co(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case lt:return(n=Eo(t,e.mode,n)).ref=pi(e,null,t),n.return=e,n;case ut:return(t=Po(t,e.mode,n)).return=e,t}if(fi(t)||gt(t))return(t=To(t,e.mode,n,null)).return=e,t;di(e,t)}return null}function d(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==o?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case lt:return n.key===o?n.type===ct?s(e,t,n.props.children,r,o):u(e,t,n,r):null;case ut:return n.key===o?c(e,t,n,r):null}if(fi(n)||gt(n))return null!==o?null:s(e,t,n,r,null);di(e,n)}return null}function h(e,t,n,r,o){if("string"==typeof r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case lt:return e=e.get(null===r.key?n:r.key)||null,r.type===ct?s(t,e,r.props.children,o,r.key):u(t,e,r,o);case ut:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o)}if(fi(r)||gt(r))return s(t,e=e.get(n)||null,r,o,null);di(t,r)}return null}function m(o,a,l,u){for(var c=null,s=null,p=a,m=a=0,y=null;null!==p&&m<l.length;m++){p.index>m?(y=p,p=null):y=p.sibling;var v=d(o,p,l[m],u);if(null===v){null===p&&(p=y);break}e&&p&&null===v.alternate&&t(o,p),a=i(v,a,m),null===s?c=v:s.sibling=v,s=v,p=y}if(m===l.length)return n(o,p),c;if(null===p){for(;m<l.length;m++)(p=f(o,l[m],u))&&(a=i(p,a,m),null===s?c=p:s.sibling=p,s=p);return c}for(p=r(o,p);m<l.length;m++)(y=h(p,o,m,l[m],u))&&(e&&null!==y.alternate&&p.delete(null===y.key?m:y.key),a=i(y,a,m),null===s?c=y:s.sibling=y,s=y);return e&&p.forEach(function(e){return t(o,e)}),c}function y(o,a,l,u){var c=gt(l);"function"!=typeof c&&p("150"),null==(l=c.call(l))&&p("151");for(var s=c=null,m=a,y=a=0,v=null,g=l.next();null!==m&&!g.done;y++,g=l.next()){m.index>y?(v=m,m=null):v=m.sibling;var b=d(o,m,g.value,u);if(null===b){m||(m=v);break}e&&m&&null===b.alternate&&t(o,m),a=i(b,a,y),null===s?c=b:s.sibling=b,s=b,m=v}if(g.done)return n(o,m),c;if(null===m){for(;!g.done;y++,g=l.next())null!==(g=f(o,g.value,u))&&(a=i(g,a,y),null===s?c=g:s.sibling=g,s=g);return c}for(m=r(o,m);!g.done;y++,g=l.next())null!==(g=h(m,o,y,g.value,u))&&(e&&null!==g.alternate&&m.delete(null===g.key?y:g.key),a=i(g,a,y),null===s?c=g:s.sibling=g,s=g);return e&&m.forEach(function(e){return t(o,e)}),c}return function(e,r,i,l){var u="object"==typeof i&&null!==i&&i.type===ct&&null===i.key;u&&(i=i.props.children);var c="object"==typeof i&&null!==i;if(c)switch(i.$$typeof){case lt:e:{for(c=i.key,u=r;null!==u;){if(u.key===c){if(10===u.tag?i.type===ct:u.type===i.type){n(e,u.sibling),(r=o(u,i.type===ct?i.props.children:i.props,l)).ref=pi(e,u,i),r.return=e,e=r;break e}n(e,u);break}t(e,u),u=u.sibling}i.type===ct?((r=To(i.props.children,e.mode,l,i.key)).return=e,e=r):((l=Eo(i,e.mode,l)).ref=pi(e,r,i),l.return=e,e=l)}return a(e);case ut:e:{for(u=i.key;null!==r;){if(r.key===u){if(4===r.tag&&r.stateNode.containerInfo===i.containerInfo&&r.stateNode.implementation===i.implementation){n(e,r.sibling),(r=o(r,i.children||[],l)).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Po(i,e.mode,l)).return=e,e=r}return a(e)}if("string"==typeof i||"number"==typeof i)return i=""+i,null!==r&&6===r.tag?(n(e,r.sibling),(r=o(r,i,l)).return=e,e=r):(n(e,r),(r=Co(i,e.mode,l)).return=e,e=r),a(e);if(fi(i))return m(e,r,i,l);if(gt(i))return y(e,r,i,l);if(c&&di(e,i),void 0===i&&!u)switch(e.tag){case 2:case 1:p("152",(l=e.type).displayName||l.name||"Component")}return n(e,r)}}var mi=hi(!0),yi=hi(!1),vi=null,gi=null,bi=!1;function wi(e,t){var n=new xo(5,null,null,0);n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function ki(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);default:return!1}}function xi(e){if(bi){var t=gi;if(t){var n=t;if(!ki(e,t)){if(!(t=no(n))||!ki(e,t))return e.effectTag|=2,bi=!1,void(vi=e);wi(vi,n)}vi=e,gi=ro(t)}else e.effectTag|=2,bi=!1,vi=e}}function _i(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag;)e=e.return;vi=e}function Ei(e){if(e!==vi)return!1;if(!bi)return _i(e),bi=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!Zr(t,e.memoizedProps))for(t=gi;t;)wi(e,t),t=no(t);return _i(e),gi=vi?no(e.stateNode):null,!0}function Ti(){gi=vi=null,bi=!1}function Ci(e,t,n){Pi(e,t,n,t.expirationTime)}function Pi(e,t,n,r){t.child=null===e?yi(t,null,n,r):mi(t,e.child,n,r)}function Si(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function Oi(e,t,n,r,o){Si(e,t);var i=0!=(64&t.effectTag);if(!n&&!i)return r&&ko(t,!1),Ai(e,t);n=t.stateNode,it.current=t;var a=i?null:n.render();return t.effectTag|=1,i&&(Pi(e,t,null,o),t.child=null),Pi(e,t,a,o),t.memoizedState=n.state,t.memoizedProps=n.props,r&&ko(t,!0),t.child}function Ri(e){var t=e.stateNode;t.pendingContext?go(0,t.pendingContext,t.pendingContext!==t.context):t.context&&go(0,t.context,!1),ri(e,t.containerInfo)}function Ni(e,t,n,r){var o=e.child;for(null!==o&&(o.return=e);null!==o;){switch(o.tag){case 12:var i=0|o.stateNode;if(o.type===t&&0!=(i&n)){for(i=o;null!==i;){var a=i.alternate;if(0===i.expirationTime||i.expirationTime>r)i.expirationTime=r,null!==a&&(0===a.expirationTime||a.expirationTime>r)&&(a.expirationTime=r);else{if(null===a||!(0===a.expirationTime||a.expirationTime>r))break;a.expirationTime=r}i=i.return}i=null}else i=o.child;break;case 13:i=o.type===e.type?null:o.child;break;default:i=o.child}if(null!==i)i.return=o;else for(i=o;null!==i;){if(i===e){i=null;break}if(null!==(o=i.sibling)){o.return=i.return,i=o;break}i=i.return}o=i}}function Ai(e,t){if(null!==e&&t.child!==e.child&&p("153"),null!==t.child){var n=_o(e=t.child,e.pendingProps,e.expirationTime);for(t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=_o(e,e.pendingProps,e.expirationTime)).return=t;n.sibling=null}return t.child}function ji(e,t,n){if(0===t.expirationTime||t.expirationTime>n){switch(t.tag){case 3:Ri(t);break;case 2:wo(t);break;case 4:ri(t,t.stateNode.containerInfo);break;case 13:Go(t)}return null}switch(t.tag){case 0:null!==e&&p("155");var r=t.type,o=t.pendingProps,i=po(t);return r=r(o,i=ho(t,i)),t.effectTag|=1,"object"==typeof r&&null!==r&&"function"==typeof r.render&&void 0===r.$$typeof?(i=t.type,t.tag=2,t.memoizedState=null!==r.state&&void 0!==r.state?r.state:null,"function"==typeof(i=i.getDerivedStateFromProps)&&ai(t,i,o),o=wo(t),r.updater=li,t.stateNode=r,r._reactInternalFiber=t,si(t,n),e=Oi(e,t,!0,o,n)):(t.tag=1,Ci(e,t,r),t.memoizedProps=o,e=t.child),e;case 1:return o=t.type,n=t.pendingProps,so.current||t.memoizedProps!==n?(o=o(n,r=ho(t,r=po(t))),t.effectTag|=1,Ci(e,t,o),t.memoizedProps=n,e=t.child):e=Ai(e,t),e;case 2:if(o=wo(t),null===e)if(null===t.stateNode){var a=t.pendingProps,l=t.type;r=po(t);var u=2===t.tag&&null!=t.type.contextTypes;a=new l(a,i=u?ho(t,r):f),t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,a.updater=li,t.stateNode=a,a._reactInternalFiber=t,u&&((u=t.stateNode).__reactInternalMemoizedUnmaskedChildContext=r,u.__reactInternalMemoizedMaskedChildContext=i),si(t,n),r=!0}else{l=t.type,r=t.stateNode,u=t.memoizedProps,i=t.pendingProps,r.props=u;var c=r.context;a=ho(t,a=po(t));var s=l.getDerivedStateFromProps;(l="function"==typeof s||"function"==typeof r.getSnapshotBeforeUpdate)||"function"!=typeof r.UNSAFE_componentWillReceiveProps&&"function"!=typeof r.componentWillReceiveProps||(u!==i||c!==a)&&ci(t,r,i,a),Mo=!1;var d=t.memoizedState;c=r.state=d;var h=t.updateQueue;null!==h&&(Ho(t,h,i,r,n),c=t.memoizedState),u!==i||d!==c||so.current||Mo?("function"==typeof s&&(ai(t,s,i),c=t.memoizedState),(u=Mo||ui(t,u,i,d,c,a))?(l||"function"!=typeof r.UNSAFE_componentWillMount&&"function"!=typeof r.componentWillMount||("function"==typeof r.componentWillMount&&r.componentWillMount(),"function"==typeof r.UNSAFE_componentWillMount&&r.UNSAFE_componentWillMount()),"function"==typeof r.componentDidMount&&(t.effectTag|=4)):("function"==typeof r.componentDidMount&&(t.effectTag|=4),t.memoizedProps=i,t.memoizedState=c),r.props=i,r.state=c,r.context=a,r=u):("function"==typeof r.componentDidMount&&(t.effectTag|=4),r=!1)}else l=t.type,r=t.stateNode,i=t.memoizedProps,u=t.pendingProps,r.props=i,c=r.context,a=ho(t,a=po(t)),(l="function"==typeof(s=l.getDerivedStateFromProps)||"function"==typeof r.getSnapshotBeforeUpdate)||"function"!=typeof r.UNSAFE_componentWillReceiveProps&&"function"!=typeof r.componentWillReceiveProps||(i!==u||c!==a)&&ci(t,r,u,a),Mo=!1,c=t.memoizedState,d=r.state=c,null!==(h=t.updateQueue)&&(Ho(t,h,u,r,n),d=t.memoizedState),i!==u||c!==d||so.current||Mo?("function"==typeof s&&(ai(t,s,u),d=t.memoizedState),(s=Mo||ui(t,i,u,c,d,a))?(l||"function"!=typeof r.UNSAFE_componentWillUpdate&&"function"!=typeof r.componentWillUpdate||("function"==typeof r.componentWillUpdate&&r.componentWillUpdate(u,d,a),"function"==typeof r.UNSAFE_componentWillUpdate&&r.UNSAFE_componentWillUpdate(u,d,a)),"function"==typeof r.componentDidUpdate&&(t.effectTag|=4),"function"==typeof r.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!=typeof r.componentDidUpdate||i===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=4),"function"!=typeof r.getSnapshotBeforeUpdate||i===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=256),t.memoizedProps=u,t.memoizedState=d),r.props=u,r.state=d,r.context=a,r=s):("function"!=typeof r.componentDidUpdate||i===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=4),"function"!=typeof r.getSnapshotBeforeUpdate||i===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=256),r=!1);return Oi(e,t,r,o,n);case 3:return Ri(t),null!==(o=t.updateQueue)?(r=null!==(r=t.memoizedState)?r.element:null,Ho(t,o,t.pendingProps,null,n),(o=t.memoizedState.element)===r?(Ti(),e=Ai(e,t)):(r=t.stateNode,(r=(null===e||null===e.child)&&r.hydrate)&&(gi=ro(t.stateNode.containerInfo),vi=t,r=bi=!0),r?(t.effectTag|=2,t.child=yi(t,null,o,n)):(Ti(),Ci(e,t,o)),e=t.child)):(Ti(),e=Ai(e,t)),e;case 5:return ni(ti.current),(o=ni(Jo.current))!==(r=Or(o,t.type))&&(uo(ei,t),uo(Jo,r)),null===e&&xi(t),o=t.type,u=t.memoizedProps,r=t.pendingProps,i=null!==e?e.memoizedProps:null,so.current||u!==r||((u=1&t.mode&&!!r.hidden)&&(t.expirationTime=1073741823),u&&1073741823===n)?(u=r.children,Zr(o,r)?u=null:i&&Zr(o,i)&&(t.effectTag|=16),Si(e,t),1073741823!==n&&1&t.mode&&r.hidden?(t.expirationTime=1073741823,t.memoizedProps=r,e=null):(Ci(e,t,u),t.memoizedProps=r,e=t.child)):e=Ai(e,t),e;case 6:return null===e&&xi(t),t.memoizedProps=t.pendingProps,null;case 16:return null;case 4:return ri(t,t.stateNode.containerInfo),o=t.pendingProps,so.current||t.memoizedProps!==o?(null===e?t.child=mi(t,null,o,n):Ci(e,t,o),t.memoizedProps=o,e=t.child):e=Ai(e,t),e;case 14:return o=t.type.render,n=t.pendingProps,r=t.ref,so.current||t.memoizedProps!==n||r!==(null!==e?e.ref:null)?(Ci(e,t,o=o(n,r)),t.memoizedProps=n,e=t.child):e=Ai(e,t),e;case 10:return n=t.pendingProps,so.current||t.memoizedProps!==n?(Ci(e,t,n),t.memoizedProps=n,e=t.child):e=Ai(e,t),e;case 11:return n=t.pendingProps.children,so.current||null!==n&&t.memoizedProps!==n?(Ci(e,t,n),t.memoizedProps=n,e=t.child):e=Ai(e,t),e;case 15:return n=t.pendingProps,t.memoizedProps===n?e=Ai(e,t):(Ci(e,t,n.children),t.memoizedProps=n,e=t.child),e;case 13:return function(e,t,n){var r=t.type._context,o=t.pendingProps,i=t.memoizedProps,a=!0;if(so.current)a=!1;else if(i===o)return t.stateNode=0,Go(t),Ai(e,t);var l=o.value;if(t.memoizedProps=o,null===i)l=1073741823;else if(i.value===o.value){if(i.children===o.children&&a)return t.stateNode=0,Go(t),Ai(e,t);l=0}else{var u=i.value;if(u===l&&(0!==u||1/u==1/l)||u!=u&&l!=l){if(i.children===o.children&&a)return t.stateNode=0,Go(t),Ai(e,t);l=0}else if(l="function"==typeof r._calculateChangedBits?r._calculateChangedBits(u,l):1073741823,0==(l|=0)){if(i.children===o.children&&a)return t.stateNode=0,Go(t),Ai(e,t)}else Ni(t,r,l,n)}return t.stateNode=l,Go(t),Ci(e,t,o.children),t.child}(e,t,n);case 12:e:if(r=t.type,i=t.pendingProps,u=t.memoizedProps,o=r._currentValue,a=r._changedBits,so.current||0!==a||u!==i){if(t.memoizedProps=i,void 0!==(l=i.unstable_observedBits)&&null!==l||(l=1073741823),t.stateNode=l,0!=(a&l))Ni(t,r,a,n);else if(u===i){e=Ai(e,t);break e}n=(n=i.children)(o),t.effectTag|=1,Ci(e,t,n),e=t.child}else e=Ai(e,t);return e;default:p("156")}}function Mi(e){e.effectTag|=4}var Ui=void 0,Ii=void 0,Li=void 0;function Fi(e,t){var n=t.pendingProps;switch(t.tag){case 1:return null;case 2:return yo(t),null;case 3:oi(),vo();var r=t.stateNode;return r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(Ei(t),t.effectTag&=-3),Ui(t),null;case 5:ii(t),r=ni(ti.current);var o=t.type;if(null!==e&&null!=t.stateNode){var i=e.memoizedProps,a=t.stateNode,l=ni(Jo.current);a=Vr(a,o,i,n,r),Ii(e,t,a,o,i,n,r,l),e.ref!==t.ref&&(t.effectTag|=128)}else{if(!n)return null===t.stateNode&&p("166"),null;if(e=ni(Jo.current),Ei(t))n=t.stateNode,o=t.type,i=t.memoizedProps,n[B]=t,n[W]=i,r=qr(n,o,i,e,r),t.updateQueue=r,null!==r&&Mi(t);else{(e=Br(o,n,r,e))[B]=t,e[W]=n;e:for(i=t.child;null!==i;){if(5===i.tag||6===i.tag)e.appendChild(i.stateNode);else if(4!==i.tag&&null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)break;for(;null===i.sibling;){if(null===i.return||i.return===t)break e;i=i.return}i.sibling.return=i.return,i=i.sibling}Hr(e,o,n,r),Xr(o,n)&&Mi(t),t.stateNode=e}null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)Li(e,t,e.memoizedProps,n);else{if("string"!=typeof n)return null===t.stateNode&&p("166"),null;r=ni(ti.current),ni(Jo.current),Ei(t)?(r=t.stateNode,n=t.memoizedProps,r[B]=t,Kr(r,n)&&Mi(t)):((r=Wr(n,r))[B]=t,t.stateNode=r)}return null;case 14:case 16:case 10:case 11:case 15:return null;case 4:return oi(),Ui(t),null;case 13:return Xo(t),null;case 12:return null;case 0:p("167");default:p("156")}}function Di(e,t){var n=t.source;null===t.stack&&null!==n&&wt(n),null!==n&&bt(n),t=t.value,null!==e&&2===e.tag&&bt(e);try{t&&t.suppressReactErrorLogging||console.error(t)}catch(e){e&&e.suppressReactErrorLogging||console.error(e)}}function zi(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){ma(e,t)}else t.current=null}function Bi(e){switch(jo(e),e.tag){case 2:zi(e);var t=e.stateNode;if("function"==typeof t.componentWillUnmount)try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(t){ma(e,t)}break;case 5:zi(e);break;case 4:Vi(e)}}function Wi(e){return 5===e.tag||3===e.tag||4===e.tag}function Hi(e){e:{for(var t=e.return;null!==t;){if(Wi(t)){var n=t;break e}t=t.return}p("160"),n=void 0}var r=t=void 0;switch(n.tag){case 5:t=n.stateNode,r=!1;break;case 3:case 4:t=n.stateNode.containerInfo,r=!0;break;default:p("161")}16&n.effectTag&&(Ar(t,""),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||Wi(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag;){if(2&n.effectTag)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break e}}for(var o=e;;){if(5===o.tag||6===o.tag)if(n)if(r){var i=t,a=o.stateNode,l=n;8===i.nodeType?i.parentNode.insertBefore(a,l):i.insertBefore(a,l)}else t.insertBefore(o.stateNode,n);else r?(i=t,a=o.stateNode,8===i.nodeType?i.parentNode.insertBefore(a,i):i.appendChild(a)):t.appendChild(o.stateNode);else if(4!==o.tag&&null!==o.child){o.child.return=o,o=o.child;continue}if(o===e)break;for(;null===o.sibling;){if(null===o.return||o.return===e)return;o=o.return}o.sibling.return=o.return,o=o.sibling}}function Vi(e){for(var t=e,n=!1,r=void 0,o=void 0;;){if(!n){n=t.return;e:for(;;){switch(null===n&&p("160"),n.tag){case 5:r=n.stateNode,o=!1;break e;case 3:case 4:r=n.stateNode.containerInfo,o=!0;break e}n=n.return}n=!0}if(5===t.tag||6===t.tag){e:for(var i=t,a=i;;)if(Bi(a),null!==a.child&&4!==a.tag)a.child.return=a,a=a.child;else{if(a===i)break;for(;null===a.sibling;){if(null===a.return||a.return===i)break e;a=a.return}a.sibling.return=a.return,a=a.sibling}o?(i=r,a=t.stateNode,8===i.nodeType?i.parentNode.removeChild(a):i.removeChild(a)):r.removeChild(t.stateNode)}else if(4===t.tag?r=t.stateNode.containerInfo:Bi(t),null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return;4===(t=t.return).tag&&(n=!1)}t.sibling.return=t.return,t=t.sibling}}function $i(e,t){switch(t.tag){case 2:break;case 5:var n=t.stateNode;if(null!=n){var r=t.memoizedProps;e=null!==e?e.memoizedProps:r;var o=t.type,i=t.updateQueue;t.updateQueue=null,null!==i&&(n[W]=r,$r(n,i,o,e,r))}break;case 6:null===t.stateNode&&p("162"),t.stateNode.nodeValue=t.memoizedProps;break;case 3:case 15:case 16:break;default:p("163")}}function qi(e,t,n){(n=Lo(n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Za(r),Di(e,t)},n}function Ki(e,t,n){(n=Lo(n)).tag=3;var r=e.stateNode;return null!==r&&"function"==typeof r.componentDidCatch&&(n.callback=function(){null===sa?sa=new Set([this]):sa.add(this);var n=t.value,r=t.stack;Di(e,t),this.componentDidCatch(n,{componentStack:null!==r?r:""})}),n}function Yi(e,t,n,r,o,i){n.effectTag|=512,n.firstEffect=n.lastEffect=null,r=qo(r,n),e=t;do{switch(e.tag){case 3:return e.effectTag|=1024,void zo(e,r=qi(e,r,i),i);case 2:if(t=r,n=e.stateNode,0==(64&e.effectTag)&&null!==n&&"function"==typeof n.componentDidCatch&&(null===sa||!sa.has(n)))return e.effectTag|=1024,void zo(e,r=Ki(e,t,i),i)}e=e.return}while(null!==e)}function Qi(e){switch(e.tag){case 2:yo(e);var t=e.effectTag;return 1024&t?(e.effectTag=-1025&t|64,e):null;case 3:return oi(),vo(),1024&(t=e.effectTag)?(e.effectTag=-1025&t|64,e):null;case 5:return ii(e),null;case 16:return 1024&(t=e.effectTag)?(e.effectTag=-1025&t|64,e):null;case 4:return oi(),null;case 13:return Xo(e),null;default:return null}}Ui=function(){},Ii=function(e,t,n){(t.updateQueue=n)&&Mi(t)},Li=function(e,t,n,r){n!==r&&Mi(t)};var Gi=Jr(),Xi=2,Zi=Gi,Ji=0,ea=0,ta=!1,na=null,ra=null,oa=0,ia=-1,aa=!1,la=null,ua=!1,ca=!1,sa=null;function fa(){if(null!==na)for(var e=na.return;null!==e;){var t=e;switch(t.tag){case 2:yo(t);break;case 3:oi(),vo();break;case 5:ii(t);break;case 4:oi();break;case 13:Xo(t)}e=e.return}ra=null,oa=0,ia=-1,aa=!1,na=null,ca=!1}function pa(e){for(;;){var t=e.alternate,n=e.return,r=e.sibling;if(0==(512&e.effectTag)){t=Fi(t,e);var o=e;if(1073741823===oa||1073741823!==o.expirationTime){var i=0;switch(o.tag){case 3:case 2:var a=o.updateQueue;null!==a&&(i=a.expirationTime)}for(a=o.child;null!==a;)0!==a.expirationTime&&(0===i||i>a.expirationTime)&&(i=a.expirationTime),a=a.sibling;o.expirationTime=i}if(null!==t)return t;if(null!==n&&0==(512&n.effectTag)&&(null===n.firstEffect&&(n.firstEffect=e.firstEffect),null!==e.lastEffect&&(null!==n.lastEffect&&(n.lastEffect.nextEffect=e.firstEffect),n.lastEffect=e.lastEffect),1<e.effectTag&&(null!==n.lastEffect?n.lastEffect.nextEffect=e:n.firstEffect=e,n.lastEffect=e)),null!==r)return r;if(null===n){ca=!0;break}e=n}else{if(null!==(e=Qi(e)))return e.effectTag&=511,e;if(null!==n&&(n.firstEffect=n.lastEffect=null,n.effectTag|=512),null!==r)return r;if(null===n)break;e=n}}return null}function da(e){var t=ji(e.alternate,e,oa);return null===t&&(t=pa(e)),it.current=null,t}function ha(e,t,n){ta&&p("243"),ta=!0,t===oa&&e===ra&&null!==na||(fa(),oa=t,ia=-1,na=_o((ra=e).current,null,oa),e.pendingCommitExpirationTime=0);var r=!1;for(aa=!n||oa<=Xi;;){try{if(n)for(;null!==na&&!Xa();)na=da(na);else for(;null!==na;)na=da(na)}catch(t){if(null===na)r=!0,Za(t);else{null===na&&p("271");var o=(n=na).return;if(null===o){r=!0,Za(t);break}Yi(e,o,n,t,0,oa),na=pa(n)}}break}if(ta=!1,r)return null;if(null===na){if(ca)return e.pendingCommitExpirationTime=t,e.current.alternate;aa&&p("262"),0<=ia&&setTimeout(function(){var t=e.current.expirationTime;0!==t&&(0===e.remainingExpirationTime||e.remainingExpirationTime<t)&&Wa(e,t)},ia),function(e){null===Pa&&p("246"),Pa.remainingExpirationTime=e}(e.current.expirationTime)}return null}function ma(e,t){var n;e:{for(ta&&!ua&&p("263"),n=e.return;null!==n;){switch(n.tag){case 2:var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromCatch||"function"==typeof r.componentDidCatch&&(null===sa||!sa.has(r))){Do(n,e=Ki(n,e=qo(t,e),1),1),ga(n,1),n=void 0;break e}break;case 3:Do(n,e=qi(n,e=qo(t,e),1),1),ga(n,1),n=void 0;break e}n=n.return}3===e.tag&&(Do(e,n=qi(e,n=qo(t,e),1),1),ga(e,1)),n=void 0}return n}function ya(){var e=2+25*(1+((ba()-2+500)/25|0));return e<=Ji&&(e=Ji+1),Ji=e}function va(e,t){return e=0!==ea?ea:ta?ua?1:oa:1&t.mode?Ia?2+10*(1+((e-2+15)/10|0)):2+25*(1+((e-2+500)/25|0)):1,Ia&&(0===Oa||e>Oa)&&(Oa=e),e}function ga(e,t){for(;null!==e;){if((0===e.expirationTime||e.expirationTime>t)&&(e.expirationTime=t),null!==e.alternate&&(0===e.alternate.expirationTime||e.alternate.expirationTime>t)&&(e.alternate.expirationTime=t),null===e.return){if(3!==e.tag)break;var n=e.stateNode;!ta&&0!==oa&&t<oa&&fa();var r=n.current.expirationTime;ta&&!ua&&ra===n||Wa(n,r),Da>Fa&&p("185")}e=e.return}}function ba(){return Zi=Jr()-Gi,Xi=2+(Zi/10|0)}function wa(e){var t=ea;ea=2+25*(1+((ba()-2+500)/25|0));try{return e()}finally{ea=t}}function ka(e,t,n,r,o){var i=ea;ea=1;try{return e(t,n,r,o)}finally{ea=i}}var xa=null,_a=null,Ea=0,Ta=void 0,Ca=!1,Pa=null,Sa=0,Oa=0,Ra=!1,Na=!1,Aa=null,ja=null,Ma=!1,Ua=!1,Ia=!1,La=null,Fa=1e3,Da=0,za=1;function Ba(e){if(0!==Ea){if(e>Ea)return;null!==Ta&&to(Ta)}var t=Jr()-Gi;Ea=e,Ta=eo(Va,{timeout:10*(e-2)-t})}function Wa(e,t){if(null===e.nextScheduledRoot)e.remainingExpirationTime=t,null===_a?(xa=_a=e,e.nextScheduledRoot=e):(_a=_a.nextScheduledRoot=e).nextScheduledRoot=xa;else{var n=e.remainingExpirationTime;(0===n||t<n)&&(e.remainingExpirationTime=t)}Ca||(Ma?Ua&&(Pa=e,Sa=1,Qa(e,1,!1)):1===t?$a():Ba(t))}function Ha(){var e=0,t=null;if(null!==_a)for(var n=_a,r=xa;null!==r;){var o=r.remainingExpirationTime;if(0===o){if((null===n||null===_a)&&p("244"),r===r.nextScheduledRoot){xa=_a=r.nextScheduledRoot=null;break}if(r===xa)xa=o=r.nextScheduledRoot,_a.nextScheduledRoot=o,r.nextScheduledRoot=null;else{if(r===_a){(_a=n).nextScheduledRoot=xa,r.nextScheduledRoot=null;break}n.nextScheduledRoot=r.nextScheduledRoot,r.nextScheduledRoot=null}r=n.nextScheduledRoot}else{if((0===e||o<e)&&(e=o,t=r),r===_a)break;n=r,r=r.nextScheduledRoot}}null!==(n=Pa)&&n===t&&1===e?Da++:Da=0,Pa=t,Sa=e}function Va(e){qa(0,!0,e)}function $a(){qa(1,!1,null)}function qa(e,t,n){if(ja=n,Ha(),t)for(;null!==Pa&&0!==Sa&&(0===e||e>=Sa)&&(!Ra||ba()>=Sa);)ba(),Qa(Pa,Sa,!Ra),Ha();else for(;null!==Pa&&0!==Sa&&(0===e||e>=Sa);)Qa(Pa,Sa,!1),Ha();null!==ja&&(Ea=0,Ta=null),0!==Sa&&Ba(Sa),ja=null,Ra=!1,Ya()}function Ka(e,t){Ca&&p("253"),Pa=e,Sa=t,Qa(e,t,!1),$a(),Ya()}function Ya(){if(Da=0,null!==La){var e=La;La=null;for(var t=0;t<e.length;t++){var n=e[t];try{n._onComplete()}catch(e){Na||(Na=!0,Aa=e)}}}if(Na)throw e=Aa,Aa=null,Na=!1,e}function Qa(e,t,n){Ca&&p("245"),Ca=!0,n?null!==(n=e.finishedWork)?Ga(e,n,t):null!==(n=ha(e,t,!0))&&(Xa()?e.finishedWork=n:Ga(e,n,t)):null!==(n=e.finishedWork)?Ga(e,n,t):null!==(n=ha(e,t,!1))&&Ga(e,n,t),Ca=!1}function Ga(e,t,n){var r=e.firstBatch;if(null!==r&&r._expirationTime<=n&&(null===La?La=[r]:La.push(r),r._defer))return e.finishedWork=t,void(e.remainingExpirationTime=0);if(e.finishedWork=null,ua=ta=!0,(n=t.stateNode).current===t&&p("177"),0===(r=n.pendingCommitExpirationTime)&&p("261"),n.pendingCommitExpirationTime=0,ba(),it.current=null,1<t.effectTag)if(null!==t.lastEffect){t.lastEffect.nextEffect=t;var o=t.firstEffect}else o=t;else o=t.firstEffect;Qr=Rn;var i=u();if(Hn(i)){if("selectionStart"in i)var a={start:i.selectionStart,end:i.selectionEnd};else e:{var l=window.getSelection&&window.getSelection();if(l&&0!==l.rangeCount){a=l.anchorNode;var c=l.anchorOffset,f=l.focusNode;l=l.focusOffset;try{a.nodeType,f.nodeType}catch(e){a=null;break e}var d=0,h=-1,m=-1,y=0,v=0,g=i,b=null;t:for(;;){for(var w;g!==a||0!==c&&3!==g.nodeType||(h=d+c),g!==f||0!==l&&3!==g.nodeType||(m=d+l),3===g.nodeType&&(d+=g.nodeValue.length),null!==(w=g.firstChild);)b=g,g=w;for(;;){if(g===i)break t;if(b===a&&++y===c&&(h=d),b===f&&++v===l&&(m=d),null!==(w=g.nextSibling))break;b=(g=b).parentNode}g=w}a=-1===h||-1===m?null:{start:h,end:m}}else a=null}a=a||{start:0,end:0}}else a=null;for(Gr={focusedElem:i,selectionRange:a},Nn(!1),la=o;null!==la;){i=!1,a=void 0;try{for(;null!==la;){if(256&la.effectTag){var k=la.alternate;switch((c=la).tag){case 2:if(256&c.effectTag&&null!==k){var x=k.memoizedProps,_=k.memoizedState,E=c.stateNode;E.props=c.memoizedProps,E.state=c.memoizedState;var T=E.getSnapshotBeforeUpdate(x,_);E.__reactInternalSnapshotBeforeUpdate=T}break;case 3:case 5:case 6:case 4:break;default:p("163")}}la=la.nextEffect}}catch(e){i=!0,a=e}i&&(null===la&&p("178"),ma(la,a),null!==la&&(la=la.nextEffect))}for(la=o;null!==la;){k=!1,x=void 0;try{for(;null!==la;){var C=la.effectTag;if(16&C&&Ar(la.stateNode,""),128&C){var P=la.alternate;if(null!==P){var S=P.ref;null!==S&&("function"==typeof S?S(null):S.current=null)}}switch(14&C){case 2:Hi(la),la.effectTag&=-3;break;case 6:Hi(la),la.effectTag&=-3,$i(la.alternate,la);break;case 4:$i(la.alternate,la);break;case 8:Vi(_=la),_.return=null,_.child=null,_.alternate&&(_.alternate.child=null,_.alternate.return=null)}la=la.nextEffect}}catch(e){k=!0,x=e}k&&(null===la&&p("178"),ma(la,x),null!==la&&(la=la.nextEffect))}if(S=Gr,P=u(),C=S.focusedElem,k=S.selectionRange,P!==C&&s(document.documentElement,C)){null!==k&&Hn(C)&&(P=k.start,void 0===(S=k.end)&&(S=P),"selectionStart"in C?(C.selectionStart=P,C.selectionEnd=Math.min(S,C.value.length)):window.getSelection&&(P=window.getSelection(),x=C[he()].length,S=Math.min(k.start,x),k=void 0===k.end?S:Math.min(k.end,x),!P.extend&&S>k&&(x=k,k=S,S=x),x=Wn(C,S),_=Wn(C,k),x&&_&&(1!==P.rangeCount||P.anchorNode!==x.node||P.anchorOffset!==x.offset||P.focusNode!==_.node||P.focusOffset!==_.offset)&&((E=document.createRange()).setStart(x.node,x.offset),P.removeAllRanges(),S>k?(P.addRange(E),P.extend(_.node,_.offset)):(E.setEnd(_.node,_.offset),P.addRange(E))))),P=[];for(S=C;S=S.parentNode;)1===S.nodeType&&P.push({element:S,left:S.scrollLeft,top:S.scrollTop});for("function"==typeof C.focus&&C.focus(),C=0;C<P.length;C++)(S=P[C]).element.scrollLeft=S.left,S.element.scrollTop=S.top}for(Gr=null,Nn(Qr),Qr=null,n.current=t,la=o;null!==la;){o=!1,C=void 0;try{for(P=r;null!==la;){var O=la.effectTag;if(36&O){var R=la.alternate;switch(k=P,(S=la).tag){case 2:var N=S.stateNode;if(4&S.effectTag)if(null===R)N.props=S.memoizedProps,N.state=S.memoizedState,N.componentDidMount();else{var A=R.memoizedProps,j=R.memoizedState;N.props=S.memoizedProps,N.state=S.memoizedState,N.componentDidUpdate(A,j,N.__reactInternalSnapshotBeforeUpdate)}var M=S.updateQueue;null!==M&&(N.props=S.memoizedProps,N.state=S.memoizedState,$o(S,M,N));break;case 3:var U=S.updateQueue;if(null!==U){if(x=null,null!==S.child)switch(S.child.tag){case 5:x=S.child.stateNode;break;case 2:x=S.child.stateNode}$o(S,U,x)}break;case 5:var I=S.stateNode;null===R&&4&S.effectTag&&Xr(S.type,S.memoizedProps)&&I.focus();break;case 6:case 4:case 15:case 16:break;default:p("163")}}if(128&O){S=void 0;var L=la.ref;if(null!==L){var F=la.stateNode;switch(la.tag){case 5:S=F;break;default:S=F}"function"==typeof L?L(S):L.current=S}}var D=la.nextEffect;la.nextEffect=null,la=D}}catch(e){o=!0,C=e}o&&(null===la&&p("178"),ma(la,C),null!==la&&(la=la.nextEffect))}ta=ua=!1,Ao(t.stateNode),0===(t=n.current.expirationTime)&&(sa=null),e.remainingExpirationTime=t}function Xa(){return!(null===ja||ja.timeRemaining()>za)&&(Ra=!0)}function Za(e){null===Pa&&p("246"),Pa.remainingExpirationTime=0,Na||(Na=!0,Aa=e)}function Ja(e,t){var n=Ma;Ma=!0;try{return e(t)}finally{(Ma=n)||Ca||$a()}}function el(e,t){if(Ma&&!Ua){Ua=!0;try{return e(t)}finally{Ua=!1}}return e(t)}function tl(e,t){Ca&&p("187");var n=Ma;Ma=!0;try{return ka(e,t)}finally{Ma=n,$a()}}function nl(e,t,n){if(Ia)return e(t,n);Ma||Ca||0===Oa||(qa(Oa,!1,null),Oa=0);var r=Ia,o=Ma;Ma=Ia=!0;try{return e(t,n)}finally{Ia=r,(Ma=o)||Ca||$a()}}function rl(e){var t=Ma;Ma=!0;try{ka(e)}finally{(Ma=t)||Ca||qa(1,!1,null)}}function ol(e,t,n,r,o){var i=t.current;if(n){var a;n=n._reactInternalFiber;e:{for(2===ln(n)&&2===n.tag||p("170"),a=n;3!==a.tag;){if(mo(a)){a=a.stateNode.__reactInternalMemoizedMergedChildContext;break e}(a=a.return)||p("171")}a=a.stateNode.context}n=mo(n)?bo(n,a):a}else n=f;return null===t.context?t.context=n:t.pendingContext=n,t=o,(o=Lo(r)).payload={element:e},null!==(t=void 0===t?null:t)&&(o.callback=t),Do(i,o,r),ga(i,r),r}function il(e){var t=e._reactInternalFiber;return void 0===t&&("function"==typeof e.render?p("188"):p("268",Object.keys(e))),null===(e=sn(t))?null:e.stateNode}function al(e,t,n,r){var o=t.current;return ol(e,t,n,o=va(ba(),o),r)}function ll(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function ul(e){var t=e.findFiberByHostInstance;return function(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);Oo=No(function(e){return t.onCommitFiberRoot(n,e)}),Ro=No(function(e){return t.onCommitFiberUnmount(n,e)})}catch(e){}return!0}(a({},e,{findHostInstanceByFiber:function(e){return null===(e=sn(e))?null:e.stateNode},findFiberByHostInstance:function(e){return t?t(e):null}}))}var cl=Ja,sl=nl,fl=function(){Ca||0===Oa||(qa(Oa,!1,null),Oa=0)};function pl(e){this._expirationTime=ya(),this._root=e,this._callbacks=this._next=null,this._hasChildren=this._didComplete=!1,this._children=null,this._defer=!0}function dl(){this._callbacks=null,this._didCommit=!1,this._onCommit=this._onCommit.bind(this)}function hl(e,t,n){this._internalRoot=So(e,t,n)}function ml(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function yl(e,t,n,r,o){ml(n)||p("200");var i=n._reactRootContainer;if(i){if("function"==typeof o){var a=o;o=function(){var e=ll(i._internalRoot);a.call(e)}}null!=e?i.legacy_renderSubtreeIntoContainer(e,t,o):i.render(t,o)}else{if(i=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new hl(e,!1,t)}(n,r),"function"==typeof o){var l=o;o=function(){var e=ll(i._internalRoot);l.call(e)}}el(function(){null!=e?i.legacy_renderSubtreeIntoContainer(e,t,o):i.render(t,o)})}return ll(i._internalRoot)}function vl(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;return ml(t)||p("200"),function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:ut,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)}De.injectFiberControlledHostComponent(Yr),pl.prototype.render=function(e){this._defer||p("250"),this._hasChildren=!0,this._children=e;var t=this._root._internalRoot,n=this._expirationTime,r=new dl;return ol(e,t,null,n,r._onCommit),r},pl.prototype.then=function(e){if(this._didComplete)e();else{var t=this._callbacks;null===t&&(t=this._callbacks=[]),t.push(e)}},pl.prototype.commit=function(){var e=this._root._internalRoot,t=e.firstBatch;if(this._defer&&null!==t||p("251"),this._hasChildren){var n=this._expirationTime;if(t!==this){this._hasChildren&&(n=this._expirationTime=t._expirationTime,this.render(this._children));for(var r=null,o=t;o!==this;)r=o,o=o._next;null===r&&p("251"),r._next=o._next,this._next=t,e.firstBatch=this}this._defer=!1,Ka(e,n),t=this._next,this._next=null,null!==(t=e.firstBatch=t)&&t._hasChildren&&t.render(t._children)}else this._next=null,this._defer=!1},pl.prototype._onComplete=function(){if(!this._didComplete){this._didComplete=!0;var e=this._callbacks;if(null!==e)for(var t=0;t<e.length;t++)(0,e[t])()}},dl.prototype.then=function(e){if(this._didCommit)e();else{var t=this._callbacks;null===t&&(t=this._callbacks=[]),t.push(e)}},dl.prototype._onCommit=function(){if(!this._didCommit){this._didCommit=!0;var e=this._callbacks;if(null!==e)for(var t=0;t<e.length;t++){var n=e[t];"function"!=typeof n&&p("191",n),n()}}},hl.prototype.render=function(e,t){var n=this._internalRoot,r=new dl;return null!==(t=void 0===t?null:t)&&r.then(t),al(e,n,null,r._onCommit),r},hl.prototype.unmount=function(e){var t=this._internalRoot,n=new dl;return null!==(e=void 0===e?null:e)&&n.then(e),al(null,t,null,n._onCommit),n},hl.prototype.legacy_renderSubtreeIntoContainer=function(e,t,n){var r=this._internalRoot,o=new dl;return null!==(n=void 0===n?null:n)&&o.then(n),al(t,r,e,o._onCommit),o},hl.prototype.createBatch=function(){var e=new pl(this),t=e._expirationTime,n=this._internalRoot,r=n.firstBatch;if(null===r)n.firstBatch=e,e._next=null;else{for(n=null;null!==r&&r._expirationTime<=t;)n=r,r=r._next;e._next=r,null!==n&&(n._next=e)}return e},Ke=cl,Ye=sl,Qe=fl;var gl={createPortal:vl,findDOMNode:function(e){return null==e?null:1===e.nodeType?e:il(e)},hydrate:function(e,t,n){return yl(null,e,t,!0,n)},render:function(e,t,n){return yl(null,e,t,!1,n)},unstable_renderSubtreeIntoContainer:function(e,t,n,r){return(null==e||void 0===e._reactInternalFiber)&&p("38"),yl(e,t,n,!1,r)},unmountComponentAtNode:function(e){return ml(e)||p("40"),!!e._reactRootContainer&&(el(function(){yl(null,null,e,!1,function(){e._reactRootContainer=null})}),!0)},unstable_createPortal:function(){return vl.apply(void 0,arguments)},unstable_batchedUpdates:Ja,unstable_deferredUpdates:wa,unstable_interactiveUpdates:nl,flushSync:tl,unstable_flushControlled:rl,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{EventPluginHub:D,EventPluginRegistry:E,EventPropagators:ne,ReactControlledComponent:qe,ReactDOMComponentTree:q,ReactDOMEventListener:In},unstable_createRoot:function(e,t){return new hl(e,!0,null!=t&&!0===t.hydrate)}};ul({findFiberByHostInstance:H,bundleType:0,version:"16.4.2",rendererPackageName:"react-dom"});var bl={default:gl},wl=bl&&gl||bl;e.exports=wl.default?wl.default:wl},function(e,t,n){"use strict";var r=!("undefined"==typeof window||!window.document||!window.document.createElement),o={canUseDOM:r,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:r&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:r&&!!window.screen,isInWorker:!r};e.exports=o},function(e,t,n){"use strict";e.exports=function(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty;function o(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}e.exports=function(e,t){if(o(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(var a=0;a<n.length;a++)if(!r.call(t,n[a])||!o(e[n[a]],t[n[a]]))return!1;return!0}},function(e,t,n){"use strict";var r=n(23);e.exports=function e(t,n){return!(!t||!n)&&(t===n||!r(t)&&(r(n)?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}},function(e,t,n){"use strict";var r=n(24);e.exports=function(e){return r(e)&&3==e.nodeType}},function(e,t,n){"use strict";e.exports=function(e){var t=(e?e.ownerDocument||e:document).defaultView||window;return!(!e||!("function"==typeof t.Node?e instanceof t.Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))}},function(e,t,n){e.exports=n.p+"images/55d8ca3966840fe97f1b0cd6a374519a-io.jpg"},function(e,t,n){e.exports=n.p+"dcc77f5e3948c3aaf1af5b3c24f8a4ab.ttf"},function(e,t,n){"use strict";var r=n(28);function o(){}e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var l=new 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 l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=o,n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Blog=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(1)),o=n(31);t.Blog=function(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)?r.default.createElement("div",null,r.default.createElement("div",{className:"suggestion"},r.default.createElement("p",null,"Looks like you're browsing from a mobile, but consider that the page contains code snippets, so to make the most of it, view in landscape mode, or ideally from a tablet or desktop.")),r.default.createElement(o.MainPost,null)):r.default.createElement(o.MainPost,null)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MainPost=void 0;var r=a(n(1)),o=a(n(32)),i=a(n(33));function a(e){return e&&e.__esModule?e:{default:e}}t.MainPost=function(){return r.default.createElement(i.default,{options:{forceBlock:!0}},o.default)}},function(e,t){e.exports='<h2 id="my-solutions-to-codility-training-lessons">My solutions to codility training lessons</h2>\n<p>Background information: in each training lesson, codility mentions a specific topic that will be helpful to solve the\nproblems within that section, and very often, if close attention is paid to that topic then solving the exercises is a \nlot easier. That is not to say you can’t solve them without reading the help/guidelines – in fact I you’ll notice \nthat some of the solutions deviate from the section’s topic. At the end of the day, \nthe solution needs to pass the tests, regardless of implementation.</p>\n<p>With that said, all of the code is in Python 3.</p>\n<h4 id="lesson-1-iterations">Lesson 1 - Iterations</h4>\n<ul>\n<li><em>binary gap:</em></li>\n</ul>\n<pre>\n<code>\n```\n# lesson_1/binary_gap.py\n\n# Task score: perfect score!\ndef solution(N):\n n_binary = bin(N)\n n_binary = n_binary.replace(\'0b\', \'\')\n zeroes_between_ones = n_binary.split(\'1\')\n # to handle case where an empty sequence is returned (when there\'s no binary gaps)\n zeroes_between_ones = zeroes_between_ones[0:-1]\n return len(max(zeroes_between_ones))\n```\n</code>\n</pre>\n\n<h4 id="lesson-2-arrays">Lesson 2 - Arrays</h4>\n<ul>\n<li><em>cyclic rotation:</em></li>\n</ul>\n<pre>\n<code>\n```\n# lesson_2/cyclic_rotation.py\n\n# Task score: perfect score!\ndef solution(A, K):\n n = len(A)\n if n == 0 or n == 1:\n return A\n\n for k_shift in range(K):\n first_element = A[0]\n last_element = A.pop()\n A = [last_element] + [first_element] + A[1:]\n\n return A\n```\n</code>\n</pre>\n\n<ul>\n<li><em>odd occurrences in array:</em></li>\n</ul>\n<pre>\n<code>\n```\n# lesson_2/odd_occurrences_in_array.py\n\n# Task score: perfect score!\ndef solution(A):\n n = len(A)\n if n == 1:\n return A[0]\n occurrences = {}\n\n for i in range(0, n):\n occurrences[A[i]] = occurrences.get(A[i], 0) + 1\n\n for key, val in occurrences.items():\n if val % 2 != 0:\n return key\n```\n</code>\n</pre>\n\n<h4 id="lesson-3-time-complexity">Lesson 3 - Time Complexity</h4>\n<ul>\n<li><em>frog jump:</em></li>\n</ul>\n<pre>\n<code>\n```\n# lesson_3/frog_jump.py\n\nfrom math import ceil\n\n# Task score: perfect score!\ndef solution(X, Y, D):\n distance = Y - X\n return ceil(distance/D)\n```\n</code>\n</pre>\n\n<ul>\n<li><em>perm missing elem:</em></li>\n</ul>\n<pre>\n<code>\n```\n# lesson_3/perm_missing_elem.py\n\n# Task score: perfect score!\ndef solution(A):\n n = len(A)\n # + 1 because end of range is exclusive, and + 1 again because the exercise says range is [1, ...(N + 1)]\n s = {x for x in range(1, n + 1 + 1)}\n a = set(A)\n return s.difference(a).pop()\n```\n</code>\n</pre>\n\n<ul>\n<li><em>tape equilibrium:</em></li>\n</ul>\n<pre>\n<code>\n```\n# lesson_3/tape_equilibrium.py\n\ndef prefix_sums(A):\n n = len(A)\n P = [0] * (n + 1)\n for k in range(1, n + 1):\n P[k] = P[k - 1] + A[k - 1]\n return P\n\ndef count_total(P, x, y):\n return P[y + 1] - P[x]\n\n# Task score: perfect score!\ndef solution(A):\n n = len(A) # O(1)\n prefix_sums_array = prefix_sums(A) # O(n)\n\n diffs = []\n for p in range(1, n):\n first_part_total = count_total(prefix_sums_array, 0, p - 1) # O(1)\n second_part_total = count_total(prefix_sums_array, p, n - 1) # O(1)\n diff = abs(first_part_total - second_part_total) # O(1)\n diffs.append(diff) # O(1)\n\n return min(diffs) # O(n)\n```\n</code>\n</pre>\n\n<h4 id="lesson-4-counting-elements">Lesson 4 - Counting Elements</h4>\n<ul>\n<li><em>perm check:</em></li>\n</ul>\n<pre>\n<code>\n```\n# lesson_4/perm_check.py\n\n# Task score: perfect score!\ndef solution(A):\n n = len(A)\n # n + 1 because range is exclusive but need to include the last number in the sequence\n s = {x for x in range(1, n + 1)}\n a = set(A)\n if len(s.difference(a)) > 0:\n return 0\n return 1\n```\n</code>\n</pre>\n\n<ul>\n<li><em>frog river one:</em></li>\n</ul>\n<pre>\n<code>\n```\n# lesson_4/frog_river_one.py\n\n# Task score: perfect score!\ndef solution(X, A):\n complete_path = {position for position in range(1, X + 1)}\n current_path = set()\n for time in range(0, len(A)):\n current_path.add(A[time])\n # as soon as the two sets are equal, return the current index/time, which will be the solution\n if current_path == complete_path:\n return time\n\n return -1\n```\n</code>\n</pre>\n\n<ul>\n<li><em>max counters:</em></li>\n</ul>\n<pre>\n<code>\n```\n# lesson_4/max_counters.py\n\n# Task score 66%: 100% correctness, 40% performance\ndef solution(N, A):\n counters = [0] * N\n for instruction in A:\n if instruction == N + 1:\n counters = [max(counters)] * N\n else:\n counters[instruction - 1] += 1\n\n return counters\n```\n</code>\n</pre>\n\n<ul>\n<li><em>missing integer:</em></li>\n</ul>\n<pre>\n<code>\n```\n# lesson_4/missing_integer.py\n\n# Task score: perfect score!\ndef solution(A):\n n = len(A)\n # n + 1 because end of range is exclusive, and + 1 again because the exercise wants range [1, ...(N + 1)]\n s = {x for x in range(1, n + 1 + 1)}\n a = set(A)\n return min(s.difference(a))\n```\n</code>\n</pre>\n\n<h4 id="lesson-5-prefix-sums">Lesson 5 - Prefix Sums</h4>\n<ul>\n<li><em>passing cars:</em></li>\n</ul>\n<pre>\n<code>\n```\n# lesson_5/passing_cars.py\n\n# Task score: perfect score! (prefix sums -- cumulative sum from the start of sequence)\n#\n# The crucial idea behind the algorithm is that each West car(1) creates a pair with each preceding East car(0).\n# Hence, anytime we encounter a 1, we add up all preceding 0s.\ndef solution(A):\n n = len(A)\n\n zeros_counter = 0\n pairs_count = 0\n for i in range(n):\n if A[i] == 0:\n zeros_counter += 1\n if A[i] == 1:\n pairs_count += zeros_counter\n if pairs_count > 1000000000:\n return -1\n\n return pairs_count\n```\n</code>\n</pre>\n\n<ul>\n<li><em>genomic range query:</em></li>\n</ul>\n<pre>\n<code>\n```\n# lesson_5/genomic_range_query.py\n\n# Task score: perfect score!\ndef solution(S, P, Q):\n m = len(P)\n\n result = []\n for k in range(0, m):\n sub_sequence = S[P[k] : Q[k] + 1]\n if \'A\' in sub_sequence:\n result.append(1)\n elif \'C\' in sub_sequence:\n result.append(2)\n elif \'G\' in sub_sequence:\n result.append(3)\n else:\n result.append(4)\n\n return result\n```\n</code>\n</pre>\n\n<ul>\n<li><em>min avg two slice:</em></li>\n</ul>\n<pre>\n<code>\n```\n# lesson_5/min_avg_two_slice.py\n\ndef prefix_sums(A):\n n = len(A)\n P = [0] * (n + 1)\n for k in range(1, n + 1):\n P[k] = P[k - 1] + A[k - 1]\n return P\n\ndef count_total(P, x, y):\n return P[y + 1] - P[x]\n\n# Task score: perfect score!\ndef solution(A):\n n = len(A)\n P = prefix_sums(A)\n min_avg_idx = 0\n min_avg = (count_total(P, 0, 1)) / 2\n\n for i in range(1, n - 2):\n local_avg_of_two = (count_total(P, i, i + 1)) / 2\n local_avg_of_three = (count_total(P, i, i + 2)) / 3\n # the core idea is that on every iteration, we assign to min_avg and min_avg_idx\n # whichever is smaller between avg of the local duplet or triplet\n local_min_avg = min(local_avg_of_two, local_avg_of_three)\n if local_min_avg < min_avg:\n min_avg = local_min_avg\n min_avg_idx = i\n\n last_pair_avg = (count_total(P, n - 2, n - 1)) / 2\n if last_pair_avg < min_avg:\n min_avg = last_pair_avg # no need to set this but doing it for the sake of completeness\n min_avg_idx = n - 2\n\n return min_avg_idx\n```\n</code>\n</pre>\n\n<ul>\n<li><em>count div:</em></li>\n</ul>\n<pre>\n<code>\n```\n# lesson_5/count_div.py\n\n# Prefix sums approach. The crucial bit here is understanding that the number of divisors in slice\n# [0... A] and [0... B] is A/K and B/K respectively, with the added benefit of also finding the upper and lower\n# bounds of our "prefix sum array" (except we don\'t have to actually build the array as we\'re only concerned with the\n# slices here).\n#\n# Task score: perfect score!\ndef solution(A, B, K):\n # Note: A/K = number of divisors from 1 to A\n # B/K = number of divisors from 1 to B\n upper_bound = (B // K)\n lower_bound = (A // K)\n # because "A" is inclusive, and since the number of divisors has\n # already been counted in the lower_bound, take away the divisor that was double counted\n if A % K == 0:\n lower_bound -= 1\n return upper_bound - lower_bound # all operations in the solution run in O(1) time\n```\n</code>\n</pre>\n\n<ul>\n<li><em>distinct:</em></li>\n</ul>\n<pre>\n<code>\n```\n# lesson_6/distinct.py\n\n# Task score: perfect score!\ndef solution(A):\n n = len(A)\n if n == 0:\n return 0\n A = sorted(A) # time complexity O(n * log n), space complexity O(n)\n distinct = 1\n for i in range(1, n):\n if A[i] != A[i - 1]:\n distinct += 1 # time complex. O(n)\n\n return distinct\n```\n</code>\n</pre>\n\n<ul>\n<li><em>max product of three:</em></li>\n</ul>\n<pre>\n<code>\n```\n# lesson_6/max_product_of_three.py\n\n# Task score: perfect score!\ndef solution(A):\n n = len(A)\n A = sorted(A) # space complexity O(n), time complexity O(n * log n)\n initial_triplet = A[0] * A[1] * A[n - 1] # biggest triplet is made of negative and positive numbers\n last_triplet = A[n - 1] * A[n - 2] * A[n - 3] # biggest triplet is made of only positive numbers\n return max(initial_triplet, last_triplet)\n```\n</code>\n</pre>\n\n<ul>\n<li><em>triangle:</em></li>\n</ul>\n<pre>\n<code>\n```\n# lesson_6/triangle.py\n\n# Task score: perfect score!\ndef solution(A):\n n = len(A)\n if n < 3:\n return 0\n A = sorted(A)\n\n for i in range(0, n - 2):\n if A[i] + A[i + 1] > A[i + 2]:\n if A[i + 1] + A[i + 2] > A[i]:\n if A[i + 2] + A[i] > A[i + 1]:\n return 1\n\n return 0\n```\n</code>\n</pre>\n\n<br>\n<br>'},function(e,t,n){"use strict";n.r(t),n.d(t,"compiler",function(){return Ie}),n.d(t,"default",function(){return Le});var r=n(1),o=n.n(r),i=n(12),a=n.n(i),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};var u={accesskey:"accessKey",allowfullscreen:"allowFullScreen",allowtransparency:"allowTransparency",autocomplete:"autoComplete",autofocus:"autoFocus",autoplay:"autoPlay",cellpadding:"cellPadding",cellspacing:"cellSpacing",charset:"charSet",class:"className",classid:"classId",colspan:"colSpan",contenteditable:"contentEditable",contextmenu:"contextMenu",crossorigin:"crossOrigin",enctype:"encType",for:"htmlFor",formaction:"formAction",formenctype:"formEncType",formmethod:"formMethod",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",hreflang:"hrefLang",inputmode:"inputMode",keyparams:"keyParams",keytype:"keyType",marginheight:"marginHeight",marginwidth:"marginWidth",maxlength:"maxLength",mediagroup:"mediaGroup",minlength:"minLength",novalidate:"noValidate",radiogroup:"radioGroup",readonly:"readOnly",rowspan:"rowSpan",spellcheck:"spellCheck",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",tabindex:"tabIndex",usemap:"useMap"},c=["style","script"],s=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,f=/mailto:/i,p=/\n{2,}$/,d=/^( *>[^\n]+(\n[^\n]+)*\n*)+\n{2,}/,h=/^ *> ?/gm,m=/^ {2,}\n/,y=/^(?:( *[-*_]) *){3,}(?:\n *)+\n/,v=/^\s*(`{3,}|~{3,}) *(\S+)? *\n([\s\S]+?)\s*\1 *(?:\n *)+\n?/,g=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,b=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,w=/^(?:\n *)*\n/,k=/\r\n?/g,x=/^\[\^(.*)\](:.*)\n/,_=/^\[\^(.*)\]/,E=/\f/g,T=/^\s*?\[(x|\s)\]/,C=/^ *(#{1,6}) *([^\n]+)\n{0,2}/,P=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,S=/^ *<([A-Za-z][^ >/]*) ?([^>]*)\/{0}>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1)[\s\S])*?)<\/\1>\n*/,O=/^<!--.*?-->/,R=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,N=/^ *<([A-Za-z][\w:]*)\s*((?:<.*?>|[^>])*)>(?!<\/\1>)\s*/,A=/^\{.*\}$/,j=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,M=/^<([^ >]+@[^ >]+)>/,U=/^<([^ >]+:\/[^ >]+)>/,I=/ *\n+$/,L=/(?:^|\n)( *)$/,F=/-([a-z])?/gi,D=/^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/,z=/^((?:[^\n]|\n(?! *\n))+)(?:\n *)+\n/,B=/^\[([^\]]*)\]:\s*(\S+)\s*("([^"]*)")?/,W=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,H=/^\[([^\]]*)\] ?\[([^\]]*)\]/,V=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,$=/\t/g,q=/(^ *\||\| *$)/g,K=/^ *:-+: *$/,Y=/^ *:-+ *$/,Q=/^ *-+: *$/,G=/ *\| */,X=/^([*_])\1((?:[^`~()\[\]<>]*?|(?:.*?([`~]).*?\3.*?)*|(?:.*?\([^)]*?\).*?)*|(?:.*?\[[^\]]*?\].*?)*|(?:.*?<.*?>.*?)*|[^\1]*?)\1?)\1{2}/,Z=/^([*_])((?:[^`~()\[\]<>]*?|(?:.*?([`~]).*?\3.*?)*|(?:.*?\([^)]*?\).*?)*|(?:.*?\[[^\]]*?\].*?)*|(?:.*?<.*?>.*?)*|[^\1]*?))\1/,J=/^~~((?:.*?([`~]).*?\2.*?)*|(?:.*?<.*?>.*?)*|.+?)~~/,ee=/^\\([^0-9A-Za-z\s])/,te=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,ne=/(^\n+|(\n|\s)+$)/g,re=/^(\s*)/,oe=/\\([^0-9A-Z\s])/gi,ie=new RegExp("^( *)((?:[*+-]|\\d+\\.)) +"),ae=new RegExp("( *)((?:[*+-]|\\d+\\.)) +[^\\n]*(?:\\n(?!\\1(?:[*+-]|\\d+\\.) )[^\\n]*)*(\\n|$)","gm"),le=new RegExp("^( *)((?:[*+-]|\\d+\\.)) [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1(?:[*+-]|\\d+\\.) )\\n*|\\s*\\n*$)"),ue="(?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*",ce="\\s*<?((?:[^\\s\\\\]|\\\\.)*?)>?(?:\\s+['\"]([\\s\\S]*?)['\"])?\\s*",se=new RegExp("^\\[("+ue+")\\]\\("+ce+"\\)"),fe=new RegExp("^!\\[("+ue+")\\]\\("+ce+"\\)"),pe=[d,g,v,C,P,S,O,N,ae,le,D];function de(e){return e.replace(/[ÀÁÂÃÄÅàáâãäåæÆ]/g,"a").replace(/[çÇ]/g,"c").replace(/[ðÐ]/g,"d").replace(/[ÈÉÊËéèêë]/g,"e").replace(/[ÏïÎîÍíÌì]/g,"i").replace(/[Ññ]/g,"n").replace(/[øØœŒÕõÔôÓóÒò]/g,"o").replace(/[ÜüÛûÚúÙù]/g,"u").replace(/[ŸÿÝý]/g,"y").replace(/[^a-z0-9- ]/gi,"").replace(/ /gi,"-").toLowerCase()}function he(e){return Q.test(e)?"right":K.test(e)?"center":Y.test(e)?"left":null}function me(e,t,n){n.inline=!0;var r=function(e,t,n){return e[1].replace(q,"").trim().split(G).map(function(e){return t(e,n)})}(e,t,n),o=function(e){return e[2].replace(q,"").trim().split(G).map(he)}(e),i=function(e,t,n){return e[3].replace(q,"").trim().split("\n").map(function(e){return e.replace(q,"").split(G).map(function(e){return t(e.trim(),n)})})}(e,t,n);return n.inline=!1,{align:o,cells:i,header:r,type:"table"}}function ye(e,t){return null==e.align[t]?{}:{textAlign:e.align[t]}}function ve(e,t){return"style"===e?t.split(/;\s?/).reduce(function(e,t){var n=t.slice(0,t.indexOf(":"));return e[n.replace(/(-[a-z])/g,function(e){return e[1].toUpperCase()})]=t.slice(n.length+1).trim(),e},{}):(function(e){return A.test(e)}(t)&&(t=t.slice(1,t.length-1)),"true"===t||"false"!==t&&t)}function ge(e){var t=Object.keys(e);function n(r,o){for(var i=[],a="";r;)for(var l=0;l<t.length;){var u=t[l],c=e[u],s=c.match(r,o,a);if(s){var f=s[0];r=r.substring(f.length);var p=c.parse(s,n,o);null==p.type&&(p.type=u),i.push(p),a=f;break}l++}return i}return t.sort(function(t,n){var r=e[t].order,o=e[n].order;return r!==o?r-o:t<n?-1:1}),function(e,t){return n(function(e){return e.replace(k,"\n").replace(E,"").replace($," ")}(e),t)}}function be(e){return function(t,n){return n.inline?e.exec(t):null}}function we(e){return function(t,n){return n.inline||n.simple?e.exec(t):null}}function ke(e){return function(t,n){return n.inline||n.simple?null:e.exec(t)}}function xe(e){return function(t){return e.exec(t)}}function _e(e){try{if(0===decodeURIComponent(e).replace(/[^A-Z0-9/:]/gi,"").toLowerCase().indexOf("javascript:"))return null}catch(e){return null}return e}function Ee(e){return e.replace(oe,"$1")}function Te(e,t,n){var r=n.inline||!1,o=n.simple||!1;n.inline=!0,n.simple=!0;var i=e(t,n);return n.inline=r,n.simple=o,i}function Ce(e,t,n){return n.inline=!1,e(t+"\n\n",n)}function Pe(e,t,n){return{content:Te(t,e[1],n)}}function Se(){return{}}function Oe(){return null}function Re(e,t,n){for(var r=e,o=t.split(".");o.length&&void 0!==(r=r[o[0]]);)o.shift();return r||n}var Ne=1,Ae=2,je=3,Me=4,Ue=5;function Ie(e,t){(t=t||{}).overrides=t.overrides||{},t.slugify=t.slugify||de;var n=t.createElement||o.a.createElement;function r(e,r){for(var o=Re(t.overrides,e+".props",{}),i=arguments.length,a=Array(i>2?i-2:0),u=2;u<i;u++)a[u-2]=arguments[u];return n.apply(void 0,[function(e,t){var n=Re(t,e);return"function"==typeof n?n:Re(t,e+".component",e)}(e,t.overrides),l({},o,r,{className:function(){return Array.prototype.slice.call(arguments).filter(Boolean).join(" ")}(r&&r.className,o.className)||void 0})].concat(a))}function i(e){var n=!1;t.forceInline?n=!0:t.forceBlock||(n=!1===V.test(e));var o=K(q(n?e:e.replace(ne,"")+"\n\n",{inline:n})),i=void 0;return o.length>1?i=r(n?"span":"div",null,o):1===o.length?"string"==typeof(i=o[0])&&(i=r("span",null,i)):i=r("span",null),i}function k(e){var t=e.match(s);return t?t.reduce(function(e,t,n){var r=t.indexOf("=");if(-1!==r){var l=function(e){return-1!==e.indexOf("-")&&null===e.match(R)&&(e=e.replace(F,function(e,t){return t.toUpperCase()})),e}(t.slice(0,r)).trim(),c=a()(t.slice(r+1).trim()),s=u[l]||l,f=e[s]=ve(l,c);(S.test(f)||N.test(f))&&(e[s]=o.a.cloneElement(i(f.trim()),{key:n}))}else e[u[t]||t]=!0;return e},{}):void 0}var E=[],A={},$={blockQuote:{match:ke(d),order:Ae,parse:function(e,t,n){return{content:t(e[0].replace(h,""),n)}},react:function(e,t,n){return r("blockquote",{key:n.key},t(e.content,n))}},breakLine:{match:xe(m),order:Ae,parse:Se,react:function(e,t,n){return r("br",{key:n.key})}},breakThematic:{match:ke(y),order:Ae,parse:Se,react:function(e,t,n){return r("hr",{key:n.key})}},codeBlock:{match:ke(g),order:Ne,parse:function(e){return{content:e[0].replace(/^ {4}/gm,"").replace(/\n+$/,""),lang:void 0}},react:function(e,t,n){return r("pre",{key:n.key},r("code",{className:e.lang?"lang-"+e.lang:""},e.content))}},codeFenced:{match:ke(v),order:Ne,parse:function(e){return{content:e[3],lang:e[2]||void 0,type:"codeBlock"}}},codeInline:{match:we(b),order:Me,parse:function(e){return{content:e[2]}},react:function(e,t,n){return r("code",{key:n.key},e.content)}},footnote:{match:ke(x),order:Ne,parse:function(e){return E.push({footnote:e[2],identifier:e[1]}),{}},react:Oe},footnoteReference:{match:be(_),order:Ae,parse:function(e){return{content:e[1],target:"#"+e[1]}},react:function(e,t,n){return r("a",{key:n.key,href:_e(e.target)},r("sup",{key:n.key},e.content))}},gfmTask:{match:be(T),order:Ae,parse:function(e){return{completed:"x"===e[1].toLowerCase()}},react:function(e,t,n){return r("input",{checked:e.completed,key:n.key,readOnly:!0,type:"checkbox"})}},heading:{match:ke(C),order:Ae,parse:function(e,n,r){return{content:Te(n,e[2],r),id:t.slugify(e[2]),level:e[1].length}},react:function(e,t,n){return r("h"+e.level,{id:e.id,key:n.key},t(e.content,n))}},headingSetext:{match:ke(P),order:Ne,parse:function(e,t,n){return{content:Te(t,e[1],n),level:"="===e[2]?1:2,type:"heading"}}},htmlBlock:{match:xe(S),order:Ae,parse:function(e,t,n){var r=e[3].match(re)[1],o=new RegExp("^"+r,"gm"),i=e[3].replace(o,""),a=function(e){return pe.some(function(t){return t.test(e)})}(i)?Ce:Te,l=-1!==c.indexOf(e[1]);return{attrs:k(e[2]),content:l?e[3]:a(t,i,n),noInnerParse:l,tag:e[1]}},react:function(e,t,n){return r(e.tag,l({key:n.key},e.attrs),e.noInnerParse?e.content:t(e.content,n))}},htmlComment:{match:xe(O),order:Ae,parse:function(){return{}},react:Oe},htmlSelfClosing:{match:xe(N),order:Ae,parse:function(e){return{attrs:k(e[2]),tag:e[1]}},react:function(e,t,n){return r(e.tag,l({},e.attrs,{key:n.key}))}},image:{match:we(fe),order:Ae,parse:function(e){return{alt:e[1],target:Ee(e[2]),title:e[3]}},react:function(e,t,n){return r("img",{key:n.key,alt:e.alt||void 0,title:e.title||void 0,src:_e(e.target)})}},link:{match:be(se),order:Me,parse:function(e,t,n){return{content:function(e,t,n){var r=n.inline||!1,o=n.simple||!1;n.inline=!1,n.simple=!0;var i=e(t,n);return n.inline=r,n.simple=o,i}(t,e[1],n),target:Ee(e[2]),title:e[3]}},react:function(e,t,n){return r("a",{key:n.key,href:_e(e.target),title:e.title},t(e.content,n))}},linkAngleBraceStyleDetector:{match:be(U),order:Ne,parse:function(e){return{content:[{content:e[1],type:"text"}],target:e[1],type:"link"}}},linkBareUrlDetector:{match:be(j),order:Ne,parse:function(e){return{content:[{content:e[1],type:"text"}],target:e[1],title:void 0,type:"link"}}},linkMailtoDetector:{match:be(M),order:Ne,parse:function(e){var t=e[1],n=e[1];return f.test(n)||(n="mailto:"+n),{content:[{content:t.replace("mailto:",""),type:"text"}],target:n,type:"link"}}},list:{match:function(e,t,n){var r=L.exec(n),o=t._list||!t.inline;return r&&o?(e=r[1]+e,le.exec(e)):null},order:Ae,parse:function(e,t,n){var r=e[2],o=r.length>1,i=o?+r:void 0,a=e[0].replace(p,"\n").match(ae),l=!1;return{items:a.map(function(e,r){var o=ie.exec(e)[0].length,i=new RegExp("^ {1,"+o+"}","gm"),u=e.replace(i,"").replace(ie,""),c=r===a.length-1,s=-1!==u.indexOf("\n\n")||c&&l;l=s;var f=n.inline,p=n._list;n._list=!0;var d=void 0;s?(n.inline=!1,d=u.replace(I,"\n\n")):(n.inline=!0,d=u.replace(I,""));var h=t(d,n);return n.inline=f,n._list=p,h}),ordered:o,start:i}},react:function(e,t,n){return r(e.ordered?"ol":"ul",{key:n.key,start:e.start},e.items.map(function(e,o){return r("li",{key:o},t(e,n))}))}},newlineCoalescer:{match:ke(w),order:Me,parse:Se,react:function(){return"\n"}},paragraph:{match:ke(z),order:Me,parse:Pe,react:function(e,t,n){return r("p",{key:n.key},t(e.content,n))}},ref:{match:be(B),order:Ne,parse:function(e){return A[e[1]]={target:e[2],title:e[4]},{}},react:Oe},refImage:{match:we(W),order:Ne,parse:function(e){return{alt:e[1]||void 0,ref:e[2]}},react:function(e,t,n){return r("img",{key:n.key,alt:e.alt,src:_e(A[e.ref].target),title:A[e.ref].title})}},refLink:{match:be(H),order:Ne,parse:function(e,t,n){return{content:t(e[1],n),ref:e[2]}},react:function(e,t,n){return r("a",{key:n.key,href:_e(A[e.ref].target),title:A[e.ref].title},t(e.content,n))}},table:{match:ke(D),order:Ae,parse:me,react:function(e,t,n){return r("table",{key:n.key},r("thead",null,r("tr",null,e.header.map(function(o,i){return r("th",{key:i,style:ye(e,i),scope:"col"},t(o,n))}))),r("tbody",null,e.cells.map(function(o,i){return r("tr",{key:i},o.map(function(o,i){return r("td",{key:i,style:ye(e,i)},t(o,n))}))})))}},text:{match:xe(te),order:Ue,parse:function(e){return{content:e[0]}},react:function(e){return e.content}},textBolded:{match:we(X),order:je,parse:function(e,t,n){return{content:t(e[2],n)}},react:function(e,t,n){return r("strong",{key:n.key},t(e.content,n))}},textEmphasized:{match:we(Z),order:Me,parse:function(e,t,n){return{content:t(e[2],n)}},react:function(e,t,n){return r("em",{key:n.key},t(e.content,n))}},textEscaped:{match:we(ee),order:Ae,parse:function(e){return{content:e[1],type:"text"}}},textStrikethroughed:{match:we(J),order:Me,parse:Pe,react:function(e,t,n){return r("del",{key:n.key},t(e.content,n))}}},q=ge($),K=function(e){return function t(n,r){if(r=r||{},Array.isArray(n)){for(var o=r.key,i=[],a=!1,l=0;l<n.length;l++){r.key=l;var u=t(n[l],r),c="string"==typeof u;c&&a?i[i.length-1]+=u:i.push(u),a=c}return r.key=o,i}return e(n,t,r)}}(function(e){return function(t,n,r){return e[t.type].react(t,n,r)}}($)),Y=i(e);return E.length&&Y.props.children.push(r("footer",null,E.map(function(e){return r("div",{id:e.identifier,key:e.identifier},e.identifier,K(q(e.footnote,{inline:!0})))}))),Y}function Le(e){var t=e.children,n=e.options,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","options"]);return o.a.cloneElement(Ie(t,n),r)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(1),i=(function(e){e&&e.__esModule}(o),n(10));var a=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(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}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(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,o.Component),r(t,[{key:"componentDidUpdate",value:function(e){this.props.location!==e.location&&window.scrollTo(0,0)}},{key:"render",value:function(){return this.props.children}}]),t}();t.default=(0,i.withRouter)(a)}]);