blob: 20ca629c2d4e0f864b74fcf8eee5ca90589a4d2c [file] [log] [blame]
!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/workflow/",t(t.s=45)}([function(e,t,n){"use strict";e.exports=n(53)},function(e,t,n){e.exports=n(65)()},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return(e+" "+n.filter(function(e){return e}).join(" ")).trim()}},function(e,t,n){"use strict";n.d(t,"e",function(){return r}),n.d(t,"c",function(){return o}),n.d(t,"b",function(){return a}),n.d(t,"a",function(){return i}),n.d(t,"d",function(){return u}),n.d(t,"f",function(){return c});var r="4px",o="8px",a="16px",i="32px",u="64px",c="128px"},function(e,t,n){"use strict";n.d(t,"a",function(){return l});var r=n(0),o=n.n(r),a=n(1),i=n.n(a),u=n(3),c={top:i.a.oneOf([u.e,u.c,u.b,u.a,u.d,u.f]),right:i.a.oneOf([u.e,u.c,u.b,u.a,u.d,u.f]),bottom:i.a.oneOf([u.e,u.c,u.b,u.a,u.d,u.f]),left:i.a.oneOf([u.e,u.c,u.b,u.a,u.d,u.f])},l=function(e){var t=e.children,n=e.top,r=e.right,a=e.bottom,i=e.left,u={paddingTop:n,paddingRight:r,paddingBottom:a,paddingLeft:i};return o.a.createElement("div",{style:u},t)};l.propTypes=c},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t,n){"use strict";function r(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}n.d(t,"a",function(){return d});var o=n(0),a=n.n(o),i=n(1),u=n.n(i),c=n(2),l=n(7),s=n(104),f=(n.n(s),{children:u.a.string,loading:u.a.bool,weight:u.a.oneOf([l.g,l.i,l.j,l.a,l.b]).isRequired,size:u.a.oneOf([l.e,l.k,l.h,l.f,l.d,l.c]).isRequired,hideOverflow:u.a.bool}),p={weight:l.i,size:l.k},d=function(e){var t=e.children,n=e.className,o=e.weight,i=e.size,u=e.hideOverflow,l=e.loading,s=(r(e,["children","className","weight","size","hideOverflow","loading"]),Object(c.a)("text",i,o));return u&&(s=Object(c.a)(s,"hideoverflow")),l&&(s=Object(c.a)(s,"loading")),s=Object(c.a)(s,n),a.a.createElement("div",{className:s},t)};d.propTypes=f,d.defaultProps=p},function(e,t,n){"use strict";n.d(t,"g",function(){return r}),n.d(t,"i",function(){return o}),n.d(t,"j",function(){return a}),n.d(t,"a",function(){return i}),n.d(t,"b",function(){return u}),n.d(t,"c",function(){return c}),n.d(t,"d",function(){return l}),n.d(t,"f",function(){return s}),n.d(t,"h",function(){return f}),n.d(t,"k",function(){return p}),n.d(t,"e",function(){return d});var r="light",o="regular",a="semibold",i="bold",u="extrabold",c="xxl",l="xl",s="l",f="m",p="s",d="xs"},function(e,t,n){"use strict";var r=function(e,t,n,r,o,a,i,u){if(!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 l=[n,r,o,a,i,u],s=0;c=new Error(t.replace(/%s/g,function(){return l[s++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}};e.exports=r},function(e,t,n){"use strict";function r(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}n.d(t,"a",function(){return c}),n.d(t,"b",function(){return l});var o=n(0),a=n.n(o),i=n(2),u=n(98),c=(n.n(u),function(e){var t=e.className,n=r(e,["className"]),o=Object(i.a)("card",t);return a.a.createElement("div",Object.assign({className:o},n),n.children)}),l=function(e){var t=e.className,n=r(e,["className"]),o=Object(i.a)("card-divider",t);return a.a.createElement("div",Object.assign({className:o},n))}},function(e,t,n){"use strict";var r=n(64);n.d(t,"a",function(){return r.a});var o=(n(69),n(35));n.d(t,"b",function(){return o.a});var a=(n(71),n(74),n(77),n(79));n.d(t,"c",function(){return a.a});var i=n(36);n.d(t,"d",function(){return i.a});var u=(n(25),n(85),n(87));n.d(t,"e",function(){return u.a});var c=(n(89),n(90));n.d(t,"f",function(){return c.a})},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function a(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function i(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}n.d(t,"a",function(){return h}),n.d(t,"c",function(){return m}),n.d(t,"b",function(){return y});var u=n(0),c=n.n(u),l=n(1),s=n.n(l),f=n(2),p=n(102),d=(n.n(p),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}}()),h=function(e){var t=e.className,n=i(e,["className"]),r=Object(f.a)("loading",t);return c.a.createElement("div",Object.assign({className:r},n),c.a.createElement("div",null),c.a.createElement("div",null),c.a.createElement("div",null))},m=function(e){function t(){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return a(t,e),d(t,[{key:"getChildContext",value:function(){return{LoadingProvider_LOADING:this.props.loading}}},{key:"render",value:function(){return this.props.children}}]),t}(u.Component);m.childContextTypes={LoadingProvider_LOADING:s.a.bool.isRequired};var y=function(e,t){var n=e.render,r=e.children;return(void 0===r?n:r)(t.LoadingProvider_LOADING)};y.contextTypes={LoadingProvider_LOADING:s.a.bool}},function(e,t,n){"use strict";n.d(t,"b",function(){return r}),n.d(t,"c",function(){return o}),n.d(t,"a",function(){return a});var r=1e3,o=1001,a=1002},function(e,t,n){"use strict";n.d(t,"b",function(){return r}),n.d(t,"d",function(){return o}),n.d(t,"c",function(){return a}),n.d(t,"a",function(){return i});var r="SINGLE_LINE",o="TWO_LINES",a="THREE_LINES",i="list--highlighted"},function(e,t,n){"use strict";t.__esModule=!0;var r=(t.addLeadingSlash=function(e){return"/"===e.charAt(0)?e:"/"+e},t.stripLeadingSlash=function(e){return"/"===e.charAt(0)?e.substr(1):e},t.hasBasename=function(e,t){return new RegExp("^"+t+"(\\/|\\?|#|$)","i").test(e)});t.stripBasename=function(e,t){return r(e,t)?e.substr(t.length):e},t.stripTrailingSlash=function(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e},t.parsePath=function(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var a=t.indexOf("?");return-1!==a&&(n=t.substr(a),t=t.substr(0,a)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}},t.createPath=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}},function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"f",function(){return o}),n.d(t,"c",function(){return a}),n.d(t,"e",function(){return i}),n.d(t,"g",function(){return u}),n.d(t,"d",function(){return c}),n.d(t,"b",function(){return l});var r=function(e){return"/"===e.charAt(0)?e:"/"+e},o=function(e){return"/"===e.charAt(0)?e.substr(1):e},a=function(e,t){return new RegExp("^"+t+"(\\/|\\?|#|$)","i").test(e)},i=function(e,t){return a(e,t)?e.substr(t.length):e},u=function(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e},c=function(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var a=t.indexOf("?");return-1!==a&&(n=t.substr(a),t=t.substr(0,a)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}},l=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}},function(e,t,n){"use strict";function r(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}n.d(t,"a",function(){return h});var o=n(0),a=n.n(o),i=n(1),u=n.n(i),c=n(2),l=n(9),s=n(4),f=n(3),p=n(99),d=(n.n(p),{code:u.a.number.isRequired,title:u.a.string.isRequired,message:u.a.string.isRequired}),h=function(e){var t=e.className,n=e.code,o=e.title,i=e.message,u=r(e,["className","code","title","message"]),p=Object(c.a)("errorcard",t);return a.a.createElement(l.a,Object.assign({},u,{className:p}),a.a.createElement(s.a,{top:f.a,right:f.a,bottom:f.a,left:f.a},a.a.createElement("div",{className:"errorcard-container"},a.a.createElement(s.a,{top:f.b,right:f.b,bottom:f.b,left:f.b},a.a.createElement("h1",{className:"title-l"},o)),a.a.createElement("p",null,i+" (code: "+n+")"))))};h.propTypes=d},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=function(e,t,n){return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{stateId:n},o=arguments[1],a=arguments[2],i=e[r.stateId],u=i[a.kind];if(u){var c=t(r,o,a);if(-1!==u.indexOf(c.stateId)){if(e[c.stateId])return c;console.error("The state "+c.stateId+" does not exist.")}else console.error("The state '"+c.stateId+"' should not be accessible from "+r.stateId+" with the transition "+a.kind+".")}else console.error("The state '"+r.stateId+"' does not support the transition '"+a.kind+"'.");return r}}},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.d(t,"a",function(){return u}),n.d(t,"b",function(){return c});var r=n(32),o=n(33),a=n(15),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},u=function(e,t,n,o){var u=void 0;"string"===typeof e?(u=Object(a.d)(e),u.state=t):(u=i({},e),void 0===u.pathname&&(u.pathname=""),u.search?"?"!==u.search.charAt(0)&&(u.search="?"+u.search):u.search="",u.hash?"#"!==u.hash.charAt(0)&&(u.hash="#"+u.hash):u.hash="",void 0!==t&&void 0===u.state&&(u.state=t));try{u.pathname=decodeURI(u.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+u.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(u.key=n),o?u.pathname?"/"!==u.pathname.charAt(0)&&(u.pathname=Object(r.default)(u.pathname,o.pathname)):u.pathname=o.pathname:u.pathname||(u.pathname="/"),u},c=function(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&Object(o.default)(e.state,t.state)}},function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function o(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}n.d(t,"a",function(){return b}),n.d(t,"d",function(){return w}),n.d(t,"b",function(){return O}),n.d(t,"e",function(){return _}),n.d(t,"c",function(){return k});var a=n(0),i=n.n(a),u=n(1),c=n.n(u),l=n(2),s=n(4),f=n(3),p=n(6),d=n(13),h=n(111),m=(n.n(h),n(7)),y={};(function(e){var t=e.className,n=o(e,["className"]),r=Object(l.a)("tile-mainicon",t);return i.a.createElement("div",Object.assign({className:r},n))}).propTypes=y;var v={},b=function(e){var t=e.className,n=o(e,["className"]),r=Object(l.a)("tile-additionalicon",t);return i.a.createElement("div",Object.assign({className:r},n))};b.propTypes=v;var g={children:c.a.string},w=function(e){var t=e.className,n=e.children,r=o(e,["className","children"]),a=Object(l.a)("tile-maintext",t);return i.a.createElement(p.a,Object.assign({className:a},r),n)};w.propTypes=g;var E={children:c.a.string},O=function(e){var t=e.className,n=e.children,r=o(e,["className","children"]),a=Object(l.a)("tile-additionaltext",t);return i.a.createElement(p.a,Object.assign({className:a},r,{size:m.e,weight:m.g}),n)};O.propTypes=E;var T={kind:c.a.oneOf([d.b,d.d,d.c]).isRequired},_=function(e){var t=e.className,n=e.kind,r=o(e,["className","kind"]),a="tile--singleline";n===d.d?a="tile--twoline":n===d.c&&(a="tile--threeline");var u=Object(l.a)("tile",a,t);return i.a.createElement("li",Object.assign({className:u},r))};_.propTypes=T;var C={kind:c.a.oneOfType([c.a.string,c.a.array]),children:c.a.oneOfType([c.a.arrayOf(_),c.a.objectOf(_)])},x={kind:""},k=function(e){var t=e.children,n=e.className,a=e.kind,u=o(e,["children","className","kind"]),c=N(a),p=l.a.apply(void 0,["list"].concat(r(c),[n]));return i.a.createElement("ul",Object.assign({className:p},u),i.a.createElement(s.a,{top:f.c,bottom:f.c},t))};k.propTypes=C,k.defaultProps=x;var N=function(e){var t=[];return Array.isArray(e)?t=e:"string"===typeof e&&t.push(e),t}},function(e,t,n){e.exports=n(138)},function(e,t,n){"use strict";function r(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var o=Object.getOwnPropertySymbols,a=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,u,c=r(e),l=1;l<arguments.length;l++){n=Object(arguments[l]);for(var s in n)a.call(n,s)&&(c[s]=n[s]);if(o){u=o(n);for(var f=0;f<u.length;f++)i.call(n,u[f])&&(c[u[f]]=n[u[f]])}}return c}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.locationsAreEqual=t.createLocation=void 0;var o=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},a=n(32),i=r(a),u=n(33),c=r(u),l=n(14);t.createLocation=function(e,t,n,r){var a=void 0;"string"===typeof e?(a=(0,l.parsePath)(e),a.state=t):(a=o({},e),void 0===a.pathname&&(a.pathname=""),a.search?"?"!==a.search.charAt(0)&&(a.search="?"+a.search):a.search="",a.hash?"#"!==a.hash.charAt(0)&&(a.hash="#"+a.hash):a.hash="",void 0!==t&&void 0===a.state&&(a.state=t));try{a.pathname=decodeURI(a.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+a.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(a.key=n),r?a.pathname?"/"!==a.pathname.charAt(0)&&(a.pathname=(0,i.default)(a.pathname,r.pathname)):a.pathname=r.pathname:a.pathname||(a.pathname="/"),a},t.locationsAreEqual=function(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&(0,c.default)(e.state,t.state)}},function(e,t,n){"use strict";t.__esModule=!0;var r=n(5),o=function(e){return e&&e.__esModule?e:{default:e}}(r),a=function(){var e=null,t=function(t){return(0,o.default)(null==e,"A history supports only one prompt at a time"),e=t,function(){e===t&&(e=null)}},n=function(t,n,r,a){if(null!=e){var i="function"===typeof e?e(t,n):e;"string"===typeof i?"function"===typeof r?r(i,a):((0,o.default)(!1,"A history needs a getUserConfirmation function in order to use a prompt message"),a(!0)):a(!1!==i)}else a(!0)},r=[];return{setPrompt:t,confirmTransitionTo:n,appendListener:function(e){var t=!0,n=function(){t&&e.apply(void 0,arguments)};return r.push(n),function(){t=!1,r=r.filter(function(e){return e!==n})}},notifyListeners:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];r.forEach(function(e){return e.apply(void 0,t)})}}};t.default=a},function(e,t,n){"use strict";var r=n(26);t.a=r.a},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function a(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=n(5),u=n.n(i),c=n(8),l=n.n(c),s=n(0),f=n.n(s),p=n(1),d=n.n(p),h=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(e){function t(){var n,a,i;r(this,t);for(var u=arguments.length,c=Array(u),l=0;l<u;l++)c[l]=arguments[l];return n=a=o(this,e.call.apply(e,[this].concat(c))),a.state={match:a.computeMatch(a.props.history.location.pathname)},i=n,o(a,i)}return a(t,e),t.prototype.getChildContext=function(){return{router:h({},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;l()(null==n||1===f.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){u()(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?f.a.Children.only(e):null},t}(f.a.Component);m.propTypes={history:d.a.object.isRequired,children:d.a.node},m.contextTypes={router:d.a.object},m.childContextTypes={router:d.a.object.isRequired},t.a=m},function(e,t,n){"use strict";var r=n(75),o=n.n(r),a={},i=0,u=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=a[n]||(a[n]={});if(r[e])return r[e];var u=[],c=o()(e,u,t),l={re:c,keys:u};return i<1e4&&(r[e]=l,i++),l},c=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};"string"===typeof t&&(t={path:t});var n=t,r=n.path,o=void 0===r?"/":r,a=n.exact,i=void 0!==a&&a,c=n.strict,l=void 0!==c&&c,s=n.sensitive,f=void 0!==s&&s,p=u(o,{end:i,strict:l,sensitive:f}),d=p.re,h=p.keys,m=d.exec(e);if(!m)return null;var y=m[0],v=m.slice(1),b=e===y;return i&&!b?null:{path:o,url:"/"===o&&""===y?"/":y,isExact:b,params:h.reduce(function(e,t,n){return e[t.name]=v[n],e},{})}};t.a=c},function(e,t,n){"use strict";var r=n(5),o=n.n(r),a=function(){var e=null,t=function(t){return o()(null==e,"A history supports only one prompt at a time"),e=t,function(){e===t&&(e=null)}},n=function(t,n,r,a){if(null!=e){var i="function"===typeof e?e(t,n):e;"string"===typeof i?"function"===typeof r?r(i,a):(o()(!1,"A history needs a getUserConfirmation function in order to use a prompt message"),a(!0)):a(!1!==i)}else a(!0)},r=[];return{setPrompt:t,confirmTransitionTo:n,appendListener:function(e){var t=!0,n=function(){t&&e.apply(void 0,arguments)};return r.push(n),function(){t=!1,r=r.filter(function(e){return e!==n})}},notifyListeners:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];r.forEach(function(e){return e.apply(void 0,t)})}}};t.a=a},function(e,t,n){"use strict";function r(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}n.d(t,"a",function(){return b});var o=n(0),a=n.n(o),i=n(1),u=n.n(i),c=n(2),l=n(11),s=n(4),f=n(3),p=n(6),d=n(7),h=n(41),m=n(115),y=(n.n(m),{kind:u.a.oneOf([h.a,h.b,h.c,h.d,h.e]),loading:u.a.bool}),v={kind:h.b},b=function(e){var t=e.className,n=e.kind,o=e.loading,i=r(e,["className","kind","loading"]),u=Object(c.a)("button",t);if(o)u=Object(c.a)(u,"button--loading");else{var h=g(n);u=Object(c.a)(u,h)}return a.a.createElement("button",Object.assign({className:u},i,{disabled:o}),a.a.createElement(s.a,{right:f.b,left:f.b},a.a.createElement("div",{className:"button-container"},a.a.createElement(l.a,{className:"button-loadingindicator"}),a.a.createElement(p.a,{className:"button-label",weight:d.j},i.children))))};b.propTypes=y,b.defaultProps=v;var g=function(e){var t=void 0;switch(e){case h.b:t="button--default";break;case h.c:t="button--primary";break;case h.d:t="button--success";break;case h.e:t="button--warning";break;case h.a:t="button--danger";break;default:t="button--default"}return t}},function(e,t,n){"use strict";function r(){}function o(e){try{return e.then}catch(e){return v=e,b}}function a(e,t){try{return e(t)}catch(e){return v=e,b}}function i(e,t,n){try{e(t,n)}catch(e){return v=e,b}}function u(e){if("object"!==typeof this)throw new TypeError("Promises must be constructed via new");if("function"!==typeof e)throw new TypeError("Promise constructor's argument is not a function");this._75=0,this._83=0,this._18=null,this._38=null,e!==r&&m(e,this)}function c(e,t,n){return new e.constructor(function(o,a){var i=new u(r);i.then(o,a),l(e,new h(t,n,i))})}function l(e,t){for(;3===e._83;)e=e._18;if(u._47&&u._47(e),0===e._83)return 0===e._75?(e._75=1,void(e._38=t)):1===e._75?(e._75=2,void(e._38=[e._38,t])):void e._38.push(t);s(e,t)}function s(e,t){y(function(){var n=1===e._83?t.onFulfilled:t.onRejected;if(null===n)return void(1===e._83?f(t.promise,e._18):p(t.promise,e._18));var r=a(n,e._18);r===b?p(t.promise,v):f(t.promise,r)})}function f(e,t){if(t===e)return p(e,new TypeError("A promise cannot be resolved with itself."));if(t&&("object"===typeof t||"function"===typeof t)){var n=o(t);if(n===b)return p(e,v);if(n===e.then&&t instanceof u)return e._83=3,e._18=t,void d(e);if("function"===typeof n)return void m(n.bind(t),e)}e._83=1,e._18=t,d(e)}function p(e,t){e._83=2,e._18=t,u._71&&u._71(e,t),d(e)}function d(e){if(1===e._75&&(l(e,e._38),e._38=null),2===e._75){for(var t=0;t<e._38.length;t++)l(e,e._38[t]);e._38=null}}function h(e,t,n){this.onFulfilled="function"===typeof e?e:null,this.onRejected="function"===typeof t?t:null,this.promise=n}function m(e,t){var n=!1,r=i(e,function(e){n||(n=!0,f(t,e))},function(e){n||(n=!0,p(t,e))});n||r!==b||(n=!0,p(t,v))}var y=n(48),v=null,b={};e.exports=u,u._47=null,u._71=null,u._44=r,u.prototype.then=function(e,t){if(this.constructor!==u)return c(this,e,t);var n=new u(r);return l(this,new h(e,t,n)),n}},function(e,t,n){"use strict";var r={};e.exports=r},function(e,t,n){"use strict";function r(e){return"/"===e.charAt(0)}function o(e,t){for(var n=t,r=n+1,o=e.length;r<o;n+=1,r+=1)e[n]=e[r];e.pop()}function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e&&e.split("/")||[],a=t&&t.split("/")||[],i=e&&r(e),u=t&&r(t),c=i||u;if(e&&r(e)?a=n:n.length&&(a.pop(),a=a.concat(n)),!a.length)return"/";var l=void 0;if(a.length){var s=a[a.length-1];l="."===s||".."===s||""===s}else l=!1;for(var f=0,p=a.length;p>=0;p--){var d=a[p];"."===d?o(a,p):".."===d?(o(a,p),f++):f&&(o(a,p),f--)}if(!c)for(;f--;f)a.unshift("..");!c||""===a[0]||a[0]&&r(a[0])||a.unshift("");var h=a.join("/");return l&&"/"!==h.substr(-1)&&(h+="/"),h}Object.defineProperty(t,"__esModule",{value:!0}),t.default=a},function(e,t,n){"use strict";function r(e,t){if(e===t)return!0;if(null==e||null==t)return!1;if(Array.isArray(e))return Array.isArray(t)&&e.length===t.length&&e.every(function(e,n){return r(e,t[n])});var n="undefined"===typeof e?"undefined":o(e);if(n!==("undefined"===typeof t?"undefined":o(t)))return!1;if("object"===n){var a=e.valueOf(),i=t.valueOf();if(a!==e||i!==t)return r(a,i);var u=Object.keys(e),c=Object.keys(t);return u.length===c.length&&u.every(function(n){return r(e[n],t[n])})}return!1}Object.defineProperty(t,"__esModule",{value:!0});var o="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};t.default=r},function(e,t,n){"use strict";t.__esModule=!0;t.canUseDOM=!("undefined"===typeof window||!window.document||!window.document.createElement),t.addEventListener=function(e,t,n){return e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)},t.removeEventListener=function(e,t,n){return e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent("on"+t,n)},t.getConfirmation=function(e,t){return t(window.confirm(e))},t.supportsHistory=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)},t.supportsPopStateOnHashChange=function(){return-1===window.navigator.userAgent.indexOf("Trident")},t.supportsGoWithoutReloadUsingHash=function(){return-1===window.navigator.userAgent.indexOf("Firefox")},t.isExtraneousPopstateEvent=function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")}},function(e,t,n){"use strict";function r(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}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function i(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)}var u=n(0),c=n.n(u),l=n(1),s=n.n(l),f=n(8),p=n.n(f),d=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){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)},m=function(e){function t(){var n,r,i;o(this,t);for(var u=arguments.length,c=Array(u),l=0;l<u;l++)c[l]=arguments[l];return n=r=a(this,e.call.apply(e,[this].concat(c))),r.handleClick=function(e){if(r.props.onClick&&r.props.onClick(e),!e.defaultPrevented&&0===e.button&&!r.props.target&&!h(e)){e.preventDefault();var t=r.context.router.history,n=r.props,o=n.replace,a=n.to;o?t.replace(a):t.push(a)}},i=n,a(r,i)}return i(t,e),t.prototype.render=function(){var e=this.props,t=(e.replace,e.to),n=e.innerRef,o=r(e,["replace","to","innerRef"]);p()(this.context.router,"You should not use <Link> outside a <Router>");var a=this.context.router.history.createHref("string"===typeof t?{pathname:t}:t);return c.a.createElement("a",d({},o,{onClick:this.handleClick,href:a,ref:n}))},t}(c.a.Component);m.propTypes={onClick:s.a.func,target:s.a.string,replace:s.a.bool,to:s.a.oneOfType([s.a.string,s.a.object]).isRequired,innerRef:s.a.oneOfType([s.a.string,s.a.func])},m.defaultProps={replace:!1},m.contextTypes={router:s.a.shape({history:s.a.shape({push:s.a.func.isRequired,replace:s.a.func.isRequired,createHref:s.a.func.isRequired}).isRequired}).isRequired},t.a=m},function(e,t,n){"use strict";var r=n(37);t.a=r.a},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function a(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=n(5),u=n.n(i),c=n(8),l=n.n(c),s=n(0),f=n.n(s),p=n(1),d=n.n(p),h=n(27),m=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},y=function(e){return 0===f.a.Children.count(e)},v=function(e){function t(){var n,a,i;r(this,t);for(var u=arguments.length,c=Array(u),l=0;l<u;l++)c[l]=arguments[l];return n=a=o(this,e.call.apply(e,[this].concat(c))),a.state={match:a.computeMatch(a.props,a.context.router)},i=n,o(a,i)}return a(t,e),t.prototype.getChildContext=function(){return{router:m({},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,a=e.strict,i=e.exact,u=e.sensitive;if(n)return n;l()(t,"You should not use <Route> or withRouter() outside a <Router>");var c=t.route,s=(r||c.location).pathname;return o?Object(h.a)(s,{path:o,strict:a,exact:i,sensitive:u}):c.match},t.prototype.componentWillMount=function(){u()(!(this.props.component&&this.props.render),"You should not use <Route component> and <Route render> in the same route; <Route render> will be ignored"),u()(!(this.props.component&&this.props.children&&!y(this.props.children)),"You should not use <Route component> and <Route children> in the same route; <Route children> will be ignored"),u()(!(this.props.render&&this.props.children&&!y(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){u()(!(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.'),u()(!(!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,a=this.context.router,i=a.history,u=a.route,c=a.staticContext,l=this.props.location||u.location,s={match:e,location:l,history:i,staticContext:c};return r?e?f.a.createElement(r,s):null:o?e?o(s):null:n?"function"===typeof n?n(s):y(n)?null:f.a.Children.only(n):null},t}(f.a.Component);v.propTypes={computedMatch:d.a.object,path:d.a.string,exact:d.a.bool,strict:d.a.bool,sensitive:d.a.bool,component:d.a.func,render:d.a.func,children:d.a.oneOfType([d.a.func,d.a.node]),location:d.a.object},v.contextTypes={router:d.a.shape({history:d.a.object.isRequired,route:d.a.object.isRequired,staticContext:d.a.object})},v.childContextTypes={router:d.a.object.isRequired},t.a=v},function(e,t,n){"use strict";n.d(t,"b",function(){return r}),n.d(t,"a",function(){return o}),n.d(t,"e",function(){return a}),n.d(t,"c",function(){return i}),n.d(t,"g",function(){return u}),n.d(t,"h",function(){return c}),n.d(t,"f",function(){return l}),n.d(t,"d",function(){return s});var r=!("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)},a=function(e,t,n){return e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent("on"+t,n)},i=function(e,t){return t(window.confirm(e))},u=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)},c=function(){return-1===window.navigator.userAgent.indexOf("Trident")},l=function(){return-1===window.navigator.userAgent.indexOf("Firefox")},s=function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")}},function(e,t,n){"use strict";n.d(t,"g",function(){return r}),n.d(t,"h",function(){return o}),n.d(t,"b",function(){return a}),n.d(t,"a",function(){return i}),n.d(t,"f",function(){return u}),n.d(t,"e",function(){return c}),n.d(t,"d",function(){return l}),n.d(t,"c",function(){return s});var r="INITIAL__STATE",o="LOADING__STATE",a="ERROR__STATE",i="DASHBOARD_LOADED__STATE",u="INITIALIZE__ACTION",c="HANDLE_FETCHED_DASHBOARD__ACTION",l="HANDLE_ERROR__ACTION",s={INITIAL__STATE:{INITIALIZE__ACTION:[o]},LOADING__STATE:{HANDLE_FETCHED_DASHBOARD__ACTION:[i],HANDLE_ERROR__ACTION:[a]},DASHBOARD_LOADED__STATE:{},ERROR__STATE:{}}},function(e,t,n){"use strict";n.d(t,"f",function(){return r}),n.d(t,"g",function(){return o}),n.d(t,"a",function(){return a}),n.d(t,"h",function(){return i}),n.d(t,"i",function(){return u}),n.d(t,"e",function(){return c}),n.d(t,"d",function(){return l}),n.d(t,"c",function(){return s}),n.d(t,"b",function(){return f});var r="INITIAL__STATE",o="LOADING__STATE",a="ERROR__STATE",i="NO_PROJECTS_LOADED__STATE",u="PROJECTS_LOADED__STATE",c="INITIALIZE__ACTION",l="HANDLE_FETCHED_PROJECTS__ACTION",s="HANDLE_ERROR__ACTION",f={INITIAL__STATE:{INITIALIZE__ACTION:[o]},LOADING__STATE:{HANDLE_FETCHED_PROJECTS__ACTION:[i,u],HANDLE_ERROR__ACTION:[a]},NO_PROJECTS_LOADED__STATE:{},PROJECTS_LOADED__STATE:{},ERROR__STATE:{}}},function(e,t,n){"use strict";n.d(t,"b",function(){return r}),n.d(t,"c",function(){return o}),n.d(t,"d",function(){return a}),n.d(t,"e",function(){return i}),n.d(t,"a",function(){return u});var r="default",o="primary",a="success",i="warning",u="danger"},function(e,t,n){"use strict";function r(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}n.d(t,"f",function(){return s}),n.d(t,"e",function(){return f}),n.d(t,"g",function(){return p}),n.d(t,"b",function(){return d}),n.d(t,"h",function(){return h}),n.d(t,"a",function(){return m}),n.d(t,"d",function(){return y}),n.d(t,"c",function(){return v});var o=n(0),a=n.n(o),i=n(2),u=n(4),c=n(3),l=n(116),s=(n.n(l),function(e){var t=e.children,n=e.className,o=r(e,["children","className"]),l=Object(i.a)("form",n);return a.a.createElement("form",Object.assign({className:l},o),a.a.createElement(u.a,{top:c.b,right:c.b,bottom:c.b,left:c.b},t))}),f=function(e){var t=e.children,n=e.className,o=r(e,["children","className"]),l=Object(i.a)("field",n);return a.a.createElement("div",Object.assign({className:l},o),a.a.createElement(u.a,{bottom:c.b},t))},p=function(e){var t=e.className,n=r(e,["className"]),o=Object(i.a)("label body-l",t);return a.a.createElement(u.a,{bottom:c.c},a.a.createElement("label",Object.assign({className:o},n)))},d=function(e){var t=e.className,n=r(e,["className"]),o=Object(i.a)("description caption-m",t);return a.a.createElement(u.a,{bottom:c.c},a.a.createElement("p",Object.assign({className:o},n)))},h=function(e){var t=e.className,n=r(e,["className"]),o=Object(i.a)("textfield",t);return a.a.createElement("input",Object.assign({className:o,type:"text"},n))},m=function(e){var t=e.children,n=e.className,o=r(e,["children","className"]),l=Object(i.a)("actiongroup",n);return a.a.createElement("div",Object.assign({className:l},o),a.a.createElement(u.a,{top:c.b},t))},y=function(e){var t=e.children,n=e.className,o=r(e,["children","className"]),l=Object(i.a)("errorgroup",n);return a.a.createElement("div",Object.assign({className:l},o),a.a.createElement(u.a,{top:c.c,bottom:c.c},t))},v=function(e){var t=e.children,n=e.className,o=r(e,["children","className"]),l=Object(i.a)("error",n);return a.a.createElement("div",Object.assign({className:l},o),a.a.createElement(u.a,{top:c.c},t))}},function(e,t,n){"use strict";n.d(t,"e",function(){return r}),n.d(t,"h",function(){return o}),n.d(t,"f",function(){return a}),n.d(t,"i",function(){return i}),n.d(t,"d",function(){return u}),n.d(t,"g",function(){return c}),n.d(t,"c",function(){return l}),n.d(t,"b",function(){return s}),n.d(t,"a",function(){return f});var r="INITIAL__STATE",o="PRISTINE__STATE",a="MODIFIED__STATE",i="REDIRECT__STATE",u="INITIALIZE__ACTION",c="MODIFY_NAME__ACTION",l="HANDLE_ERROR__ACTION",s="HANDLE_CREATED_PROJECT__ACTION",f={INITIAL__STATE:{INITIALIZE__ACTION:[o]},PRISTINE__STATE:{MODIFY_NAME__ACTION:[a]},MODIFIED__STATE:{MODIFY_NAME__ACTION:[a],HANDLE_ERROR__ACTION:[a],HANDLE_CREATED_PROJECT__ACTION:[i]},REDIRECT__STATE:{}}},function(e,t,n){"use strict";n.d(t,"h",function(){return r}),n.d(t,"i",function(){return o}),n.d(t,"a",function(){return a}),n.d(t,"j",function(){return i}),n.d(t,"g",function(){return u}),n.d(t,"f",function(){return c}),n.d(t,"e",function(){return l}),n.d(t,"c",function(){return s}),n.d(t,"d",function(){return f}),n.d(t,"b",function(){return p});var r="INITIAL__STATE",o="LOADING__STATE",a="ERROR__STATE",i="PROJECT_LOADED__STATE",u="INITIALIZE__ACTION",c="HANDLE_FETCHED_PROJECT__ACTION",l="HANDLE_FETCHED_PAGE__ACTION",s="HANDLE_DESCRIPTION_UPDATED__ACTION",f="HANDLE_ERROR__ACTION",p={INITIAL__STATE:{INITIALIZE__ACTION:[o]},LOADING__STATE:{HANDLE_FETCHED_PROJECT__ACTION:[i],HANDLE_ERROR__ACTION:[a]},PROJECT_LOADED__STATE:{HANDLE_FETCHED_PROJECT__ACTION:[i],HANDLE_FETCHED_PAGE__ACTION:[i],HANDLE_DESCRIPTION_UPDATED__ACTION:[i]},ERROR__STATE:{}}},function(e,t,n){n(46),e.exports=n(52)},function(e,t,n){"use strict";"undefined"===typeof Promise&&(n(47).enable(),window.Promise=n(50)),n(51),Object.assign=n(22)},function(e,t,n){"use strict";function r(){l=!1,u._47=null,u._71=null}function o(e){function t(t){(e.allRejections||i(f[t].error,e.whitelist||c))&&(f[t].displayId=s++,e.onUnhandled?(f[t].logged=!0,e.onUnhandled(f[t].displayId,f[t].error)):(f[t].logged=!0,a(f[t].displayId,f[t].error)))}function n(t){f[t].logged&&(e.onHandled?e.onHandled(f[t].displayId,f[t].error):f[t].onUnhandled||(console.warn("Promise Rejection Handled (id: "+f[t].displayId+"):"),console.warn(' This means you can ignore any previous messages of the form "Possible Unhandled Promise Rejection" with id '+f[t].displayId+".")))}e=e||{},l&&r(),l=!0;var o=0,s=0,f={};u._47=function(e){2===e._83&&f[e._56]&&(f[e._56].logged?n(e._56):clearTimeout(f[e._56].timeout),delete f[e._56])},u._71=function(e,n){0===e._75&&(e._56=o++,f[e._56]={displayId:null,error:n,timeout:setTimeout(t.bind(null,e._56),i(n,c)?100:2e3),logged:!1})}}function a(e,t){console.warn("Possible Unhandled Promise Rejection (id: "+e+"):"),((t&&(t.stack||t))+"").split("\n").forEach(function(e){console.warn(" "+e)})}function i(e,t){return t.some(function(t){return e instanceof t})}var u=n(30),c=[ReferenceError,TypeError,RangeError],l=!1;t.disable=r,t.enable=o},function(e,t,n){"use strict";(function(t){function n(e){i.length||(a(),u=!0),i[i.length]=e}function r(){for(;c<i.length;){var e=c;if(c+=1,i[e].call(),c>l){for(var t=0,n=i.length-c;t<n;t++)i[t]=i[t+c];i.length-=c,c=0}}i.length=0,c=0,u=!1}function o(e){return function(){function t(){clearTimeout(n),clearInterval(r),e()}var n=setTimeout(t,0),r=setInterval(t,50)}}e.exports=n;var a,i=[],u=!1,c=0,l=1024,s="undefined"!==typeof t?t:self,f=s.MutationObserver||s.WebKitMutationObserver;a="function"===typeof f?function(e){var t=1,n=new f(e),r=document.createTextNode("");return n.observe(r,{characterData:!0}),function(){t=-t,r.data=t}}(r):o(r),n.requestFlush=a,n.makeRequestCallFromTimer=o}).call(t,n(49))},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"===typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";function r(e){var t=new o(o._44);return t._83=1,t._18=e,t}var o=n(30);e.exports=o;var a=r(!0),i=r(!1),u=r(null),c=r(void 0),l=r(0),s=r("");o.resolve=function(e){if(e instanceof o)return e;if(null===e)return u;if(void 0===e)return c;if(!0===e)return a;if(!1===e)return i;if(0===e)return l;if(""===e)return s;if("object"===typeof e||"function"===typeof e)try{var t=e.then;if("function"===typeof t)return new o(t.bind(e))}catch(e){return new o(function(t,n){n(e)})}return r(e)},o.all=function(e){var t=Array.prototype.slice.call(e);return new o(function(e,n){function r(i,u){if(u&&("object"===typeof u||"function"===typeof u)){if(u instanceof o&&u.then===o.prototype.then){for(;3===u._83;)u=u._18;return 1===u._83?r(i,u._18):(2===u._83&&n(u._18),void u.then(function(e){r(i,e)},n))}var c=u.then;if("function"===typeof c){return void new o(c.bind(u)).then(function(e){r(i,e)},n)}}t[i]=u,0===--a&&e(t)}if(0===t.length)return e([]);for(var a=t.length,i=0;i<t.length;i++)r(i,t[i])})},o.reject=function(e){return new o(function(t,n){n(e)})},o.race=function(e){return new o(function(t,n){e.forEach(function(e){o.resolve(e).then(t,n)})})},o.prototype.catch=function(e){return this.then(null,e)}},function(e,t){!function(e){"use strict";function t(e){if("string"!==typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function n(e){return"string"!==typeof e&&(e=String(e)),e}function r(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return v.iterable&&(t[Symbol.iterator]=function(){return t}),t}function o(e){this.map={},e instanceof o?e.forEach(function(e,t){this.append(t,e)},this):Array.isArray(e)?e.forEach(function(e){this.append(e[0],e[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function a(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function i(e){return new Promise(function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}})}function u(e){var t=new FileReader,n=i(t);return t.readAsArrayBuffer(e),n}function c(e){var t=new FileReader,n=i(t);return t.readAsText(e),n}function l(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}function s(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function f(){return this.bodyUsed=!1,this._initBody=function(e){if(this._bodyInit=e,e)if("string"===typeof e)this._bodyText=e;else if(v.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(v.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(v.searchParams&&URLSearchParams.prototype.isPrototypeOf(e))this._bodyText=e.toString();else if(v.arrayBuffer&&v.blob&&g(e))this._bodyArrayBuffer=s(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);else{if(!v.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(e)&&!w(e))throw new Error("unsupported BodyInit type");this._bodyArrayBuffer=s(e)}else this._bodyText="";this.headers.get("content-type")||("string"===typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):v.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},v.blob&&(this.blob=function(){var e=a(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?a(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(u)}),this.text=function(){var e=a(this);if(e)return e;if(this._bodyBlob)return c(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(l(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},v.formData&&(this.formData=function(){return this.text().then(h)}),this.json=function(){return this.text().then(JSON.parse)},this}function p(e){var t=e.toUpperCase();return E.indexOf(t)>-1?t:e}function d(e,t){t=t||{};var n=t.body;if(e instanceof d){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new o(e.headers)),this.method=e.method,this.mode=e.mode,n||null==e._bodyInit||(n=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"omit",!t.headers&&this.headers||(this.headers=new o(t.headers)),this.method=p(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function h(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(o))}}),t}function m(e){var t=new o;return e.split(/\r?\n/).forEach(function(e){var n=e.split(":"),r=n.shift().trim();if(r){var o=n.join(":").trim();t.append(r,o)}}),t}function y(e,t){t||(t={}),this.type="default",this.status="status"in t?t.status:200,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new o(t.headers),this.url=t.url||"",this._initBody(e)}if(!e.fetch){var v={searchParams:"URLSearchParams"in e,iterable:"Symbol"in e&&"iterator"in Symbol,blob:"FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in e,arrayBuffer:"ArrayBuffer"in e};if(v.arrayBuffer)var b=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],g=function(e){return e&&DataView.prototype.isPrototypeOf(e)},w=ArrayBuffer.isView||function(e){return e&&b.indexOf(Object.prototype.toString.call(e))>-1};o.prototype.append=function(e,r){e=t(e),r=n(r);var o=this.map[e];this.map[e]=o?o+","+r:r},o.prototype.delete=function(e){delete this.map[t(e)]},o.prototype.get=function(e){return e=t(e),this.has(e)?this.map[e]:null},o.prototype.has=function(e){return this.map.hasOwnProperty(t(e))},o.prototype.set=function(e,r){this.map[t(e)]=n(r)},o.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},o.prototype.keys=function(){var e=[];return this.forEach(function(t,n){e.push(n)}),r(e)},o.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),r(e)},o.prototype.entries=function(){var e=[];return this.forEach(function(t,n){e.push([n,t])}),r(e)},v.iterable&&(o.prototype[Symbol.iterator]=o.prototype.entries);var E=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];d.prototype.clone=function(){return new d(this,{body:this._bodyInit})},f.call(d.prototype),f.call(y.prototype),y.prototype.clone=function(){return new y(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new o(this.headers),url:this.url})},y.error=function(){var e=new y(null,{status:0,statusText:""});return e.type="error",e};var O=[301,302,303,307,308];y.redirect=function(e,t){if(-1===O.indexOf(t))throw new RangeError("Invalid status code");return new y(null,{status:t,headers:{location:e}})},e.Headers=o,e.Request=d,e.Response=y,e.fetch=function(e,t){return new Promise(function(n,r){var o=new d(e,t),a=new XMLHttpRequest;a.onload=function(){var e={status:a.status,statusText:a.statusText,headers:m(a.getAllResponseHeaders()||"")};e.url="responseURL"in a?a.responseURL:e.headers.get("X-Request-URL");var t="response"in a?a.response:a.responseText;n(new y(t,e))},a.onerror=function(){r(new TypeError("Network request failed"))},a.ontimeout=function(){r(new TypeError("Network request failed"))},a.open(o.method,o.url,!0),"include"===o.credentials&&(a.withCredentials=!0),"responseType"in a&&v.blob&&(a.responseType="blob"),o.headers.forEach(function(e,t){a.setRequestHeader(t,e)}),a.send("undefined"===typeof o._bodyInit?null:o._bodyInit)})},e.fetch.polyfill=!0}}("undefined"!==typeof self?self:this)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),o=n.n(r),a=n(54),i=n.n(a),u=n(10),c=n(93),l=n(151),s=(n.n(l),n(152));n.n(s);i.a.render(o.a.createElement(u.a,{basename:"/workflow"},o.a.createElement(c.a,null)),document.getElementById("root"))},function(e,t,n){"use strict";function r(e){for(var t=arguments.length-1,n="Minified React error #"+e+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);throw t=Error(n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."),t.name="Invariant Violation",t.framesToPop=1,t}function o(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||N}function a(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||N}function i(){}function u(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||N}function c(e,t,n){var r,o={},a=null,i=null;if(null!=t)for(r in void 0!==t.ref&&(i=t.ref),void 0!==t.key&&(a=""+t.key),t)S.call(t,r)&&!A.hasOwnProperty(r)&&(o[r]=t[r]);var u=arguments.length-2;if(1===u)o.children=n;else if(1<u){for(var c=Array(u),l=0;l<u;l++)c[l]=arguments[l+2];o.children=c}if(e&&e.defaultProps)for(r in u=e.defaultProps)void 0===o[r]&&(o[r]=u[r]);return{$$typeof:O,type:e,key:a,ref:i,props:o,_owner:I.current}}function l(e){return"object"===typeof e&&null!==e&&e.$$typeof===O}function s(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(e){return t[e]})}function f(e,t,n,r){if(D.length){var o=D.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 p(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>D.length&&D.push(e)}function d(e,t,n,o){var a=typeof e;"undefined"!==a&&"boolean"!==a||(e=null);var i=!1;if(null===e)i=!0;else switch(a){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case O:case T:case _:case C:i=!0}}if(i)return n(o,e,""===t?"."+h(e,0):t),1;if(i=0,t=""===t?".":t+":",Array.isArray(e))for(var u=0;u<e.length;u++){a=e[u];var c=t+h(a,u);i+=d(a,c,n,o)}else if(null===e||"undefined"===typeof e?c=null:(c=k&&e[k]||e["@@iterator"],c="function"===typeof c?c:null),"function"===typeof c)for(e=c.call(e),u=0;!(a=e.next()).done;)a=a.value,c=t+h(a,u++),i+=d(a,c,n,o);else"object"===a&&(n=""+e,r("31","[object Object]"===n?"object with keys {"+Object.keys(e).join(", ")+"}":n,""));return i}function h(e,t){return"object"===typeof e&&null!==e&&null!=e.key?s(e.key):t.toString(36)}function m(e,t){e.func.call(e.context,t,e.count++)}function y(e,t,n){var r=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?v(e,r,n,w.thatReturnsArgument):null!=e&&(l(e)&&(t=o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(R,"$&/")+"/")+n,e={$$typeof:O,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}),r.push(e))}function v(e,t,n,r,o){var a="";null!=n&&(a=(""+n).replace(R,"$&/")+"/"),t=f(t,a,r,o),null==e||d(e,"",y,t),p(t)}var b=n(22),g=n(31),w=n(18),E="function"===typeof Symbol&&Symbol.for,O=E?Symbol.for("react.element"):60103,T=E?Symbol.for("react.call"):60104,_=E?Symbol.for("react.return"):60105,C=E?Symbol.for("react.portal"):60106,x=E?Symbol.for("react.fragment"):60107,k="function"===typeof Symbol&&Symbol.iterator,N={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}};o.prototype.isReactComponent={},o.prototype.setState=function(e,t){"object"!==typeof e&&"function"!==typeof e&&null!=e&&r("85"),this.updater.enqueueSetState(this,e,t,"setState")},o.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},i.prototype=o.prototype;var j=a.prototype=new i;j.constructor=a,b(j,o.prototype),j.isPureReactComponent=!0;var P=u.prototype=new i;P.constructor=u,b(P,o.prototype),P.unstable_isAsyncReactComponent=!0,P.render=function(){return this.props.children};var I={current:null},S=Object.prototype.hasOwnProperty,A={key:!0,ref:!0,__self:!0,__source:!0},R=/\/+/g,D=[],L={Children:{map:function(e,t,n){if(null==e)return e;var r=[];return v(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;t=f(null,null,t,n),null==e||d(e,"",m,t),p(t)},count:function(e){return null==e?0:d(e,"",w.thatReturnsNull,null)},toArray:function(e){var t=[];return v(e,t,null,w.thatReturnsArgument),t},only:function(e){return l(e)||r("143"),e}},Component:o,PureComponent:a,unstable_AsyncComponent:u,Fragment:x,createElement:c,cloneElement:function(e,t,n){var r=b({},e.props),o=e.key,a=e.ref,i=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,i=I.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(c in t)S.call(t,c)&&!A.hasOwnProperty(c)&&(r[c]=void 0===t[c]&&void 0!==u?u[c]:t[c])}var c=arguments.length-2;if(1===c)r.children=n;else if(1<c){u=Array(c);for(var l=0;l<c;l++)u[l]=arguments[l+2];r.children=u}return{$$typeof:O,type:e.type,key:o,ref:a,props:r,_owner:i}},createFactory:function(e){var t=c.bind(null,e);return t.type=e,t},isValidElement:l,version:"16.2.0",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:I,assign:b}},M=Object.freeze({default:L}),U=M&&L||M;e.exports=U.default?U.default:U},function(e,t,n){"use strict";function r(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(e){console.error(e)}}r(),e.exports=n(55)},function(e,t,n){"use strict";function r(e){for(var t=arguments.length-1,n="Minified React error #"+e+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);throw t=Error(n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."),t.name="Invariant Violation",t.framesToPop=1,t}function o(e,t){return(e&t)===t}function a(e,t){if(jn.hasOwnProperty(e)||2<e.length&&("o"===e[0]||"O"===e[0])&&("n"===e[1]||"N"===e[1]))return!1;if(null===t)return!0;switch(typeof t){case"boolean":return jn.hasOwnProperty(e)?e=!0:(t=i(e))?e=t.hasBooleanValue||t.hasStringBooleanValue||t.hasOverloadedBooleanValue:(e=e.toLowerCase().slice(0,5),e="data-"===e||"aria-"===e),e;case"undefined":case"number":case"string":case"object":return!0;default:return!1}}function i(e){return In.hasOwnProperty(e)?In[e]:null}function u(e){return e[1].toUpperCase()}function c(e,t,n,r,o,a,i,u,c){qn._hasCaughtError=!1,qn._caughtError=null;var l=Array.prototype.slice.call(arguments,3);try{t.apply(n,l)}catch(e){qn._caughtError=e,qn._hasCaughtError=!0}}function l(){if(qn._hasRethrowError){var e=qn._rethrowError;throw qn._rethrowError=null,qn._hasRethrowError=!1,e}}function s(){if(Wn)for(var e in Kn){var t=Kn[e],n=Wn.indexOf(e);if(-1<n||r("96",e),!Gn[n]){t.extractEvents||r("97",e),Gn[n]=t,n=t.eventTypes;for(var o in n){var a=void 0,i=n[o],u=t,c=o;Yn.hasOwnProperty(c)&&r("99",c),Yn[c]=i;var l=i.phasedRegistrationNames;if(l){for(a in l)l.hasOwnProperty(a)&&f(l[a],u,c);a=!0}else i.registrationName?(f(i.registrationName,u,c),a=!0):a=!1;a||r("98",o,e)}}}}function f(e,t,n){$n[e]&&r("100",e),$n[e]=t,Qn[e]=t.eventTypes[n].dependencies}function p(e){Wn&&r("101"),Wn=Array.prototype.slice.call(e),s()}function d(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var o=e[t];Kn.hasOwnProperty(t)&&Kn[t]===o||(Kn[t]&&r("102",t),Kn[t]=o,n=!0)}n&&s()}function h(e,t,n,r){t=e.type||"unknown-event",e.currentTarget=er(r),qn.invokeGuardedCallbackAndCatchFirstError(t,n,void 0,e),e.currentTarget=null}function m(e,t){return null==t&&r("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 y(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}function v(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++)h(e,t,n[o],r[o]);else n&&h(e,t,n,r);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function b(e){return v(e,!0)}function g(e){return v(e,!1)}function w(e,t){var n=e.stateNode;if(!n)return null;var o=Xn(n);if(!o)return null;n=o[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":(o=!o.disabled)||(e=e.type,o=!("button"===e||"input"===e||"select"===e||"textarea"===e)),e=!o;break e;default:e=!1}return e?null:(n&&"function"!==typeof n&&r("231",t,typeof n),n)}function E(e,t,n,r){for(var o,a=0;a<Gn.length;a++){var i=Gn[a];i&&(i=i.extractEvents(e,t,n,r))&&(o=m(o,i))}return o}function O(e){e&&(tr=m(tr,e))}function T(e){var t=tr;tr=null,t&&(e?y(t,b):y(t,g),tr&&r("95"),qn.rethrowCaughtError())}function _(e){if(e[ar])return e[ar];for(var t=[];!e[ar];){if(t.push(e),!e.parentNode)return null;e=e.parentNode}var n=void 0,r=e[ar];if(5===r.tag||6===r.tag)return r;for(;e&&(r=e[ar]);e=t.pop())n=r;return n}function C(e){if(5===e.tag||6===e.tag)return e.stateNode;r("33")}function x(e){return e[ir]||null}function k(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function N(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 j(e,t,n){(t=w(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=m(n._dispatchListeners,t),n._dispatchInstances=m(n._dispatchInstances,e))}function P(e){e&&e.dispatchConfig.phasedRegistrationNames&&N(e._targetInst,j,e)}function I(e){if(e&&e.dispatchConfig.phasedRegistrationNames){var t=e._targetInst;t=t?k(t):null,N(t,j,e)}}function S(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=w(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=m(n._dispatchListeners,t),n._dispatchInstances=m(n._dispatchInstances,e))}function A(e){e&&e.dispatchConfig.registrationName&&S(e._targetInst,null,e)}function R(e){y(e,P)}function D(e,t,n,r){if(n&&r)e:{for(var o=n,a=r,i=0,u=o;u;u=k(u))i++;u=0;for(var c=a;c;c=k(c))u++;for(;0<i-u;)o=k(o),i--;for(;0<u-i;)a=k(a),u--;for(;i--;){if(o===a||o===a.alternate)break e;o=k(o),a=k(a)}o=null}else o=null;for(a=o,o=[];n&&n!==a&&(null===(i=n.alternate)||i!==a);)o.push(n),n=k(n);for(n=[];r&&r!==a&&(null===(i=r.alternate)||i!==a);)n.push(r),r=k(r);for(r=0;r<o.length;r++)S(o[r],"bubbled",e);for(e=n.length;0<e--;)S(n[e],"captured",t)}function L(){return!lr&&wn.canUseDOM&&(lr="textContent"in document.documentElement?"textContent":"innerText"),lr}function M(){if(sr._fallbackText)return sr._fallbackText;var e,t,n=sr._startText,r=n.length,o=U(),a=o.length;for(e=0;e<r&&n[e]===o[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===o[a-t];t++);return sr._fallbackText=o.slice(e,1<t?1-t:void 0),sr._fallbackText}function U(){return"value"in sr._root?sr._root.value:sr._root[L()]}function H(e,t,n,r){this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface;for(var o in e)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)?On.thatReturnsTrue:On.thatReturnsFalse,this.isPropagationStopped=On.thatReturnsFalse,this}function F(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 B(e){e instanceof this||r("223"),e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function z(e){e.eventPool=[],e.getPooled=F,e.release=B}function V(e,t,n,r){return H.call(this,e,t,n,r)}function q(e,t,n,r){return H.call(this,e,t,n,r)}function W(e,t){switch(e){case"topKeyUp":return-1!==dr.indexOf(t.keyCode);case"topKeyDown":return 229!==t.keyCode;case"topKeyPress":case"topMouseDown":case"topBlur":return!0;default:return!1}}function K(e){return e=e.detail,"object"===typeof e&&"data"in e?e.data:null}function G(e,t){switch(e){case"topCompositionEnd":return K(t);case"topKeyPress":return 32!==t.which?null:(Tr=!0,Er);case"topTextInput":return e=t.data,e===Er&&Tr?null:e;default:return null}}function Y(e,t){if(_r)return"topCompositionEnd"===e||!hr&&W(e,t)?(e=M(),sr._root=null,sr._startText=null,sr._fallbackText=null,_r=!1,e):null;switch(e){case"topPaste":return null;case"topKeyPress":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"topCompositionEnd":return wr?null:t.data;default:return null}}function $(e){if(e=Zn(e)){xr&&"function"===typeof xr.restoreControlledState||r("194");var t=Xn(e.stateNode);xr.restoreControlledState(e.stateNode,e.type,t)}}function Q(e){kr?Nr?Nr.push(e):Nr=[e]:kr=e}function J(){if(kr){var e=kr,t=Nr;if(Nr=kr=null,$(e),t)for(e=0;e<t.length;e++)$(t[e])}}function X(e,t){return e(t)}function Z(e,t){if(Ir)return X(e,t);Ir=!0;try{return X(e,t)}finally{Ir=!1,J()}}function ee(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Sr[e.type]:"textarea"===t}function te(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function ne(e,t){if(!wn.canUseDOM||t&&!("addEventListener"in document))return!1;t="on"+e;var n=t in document;return n||(n=document.createElement("div"),n.setAttribute(t,"return;"),n="function"===typeof n[t]),!n&&br&&"wheel"===e&&(n=document.implementation.hasFeature("Events.wheel","3.0")),n}function re(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function oe(e){var t=re(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"function"===typeof n.get&&"function"===typeof n.set)return Object.defineProperty(e,t,{enumerable:n.enumerable,configurable:!0,get:function(){return n.get.call(this)},set:function(e){r=""+e,n.set.call(this,e)}}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}function ae(e){e._valueTracker||(e._valueTracker=oe(e))}function ie(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=re(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function ue(e,t,n){return e=H.getPooled(Ar.change,e,t,n),e.type="change",Q(n),R(e),e}function ce(e){O(e),T(!1)}function le(e){if(ie(C(e)))return e}function se(e,t){if("topChange"===e)return t}function fe(){Rr&&(Rr.detachEvent("onpropertychange",pe),Dr=Rr=null)}function pe(e){"value"===e.propertyName&&le(Dr)&&(e=ue(Dr,e,te(e)),Z(ce,e))}function de(e,t,n){"topFocus"===e?(fe(),Rr=t,Dr=n,Rr.attachEvent("onpropertychange",pe)):"topBlur"===e&&fe()}function he(e){if("topSelectionChange"===e||"topKeyUp"===e||"topKeyDown"===e)return le(Dr)}function me(e,t){if("topClick"===e)return le(t)}function ye(e,t){if("topInput"===e||"topChange"===e)return le(t)}function ve(e,t,n,r){return H.call(this,e,t,n,r)}function be(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Ur[e])&&!!t[e]}function ge(){return be}function we(e,t,n,r){return H.call(this,e,t,n,r)}function Ee(e){return e=e.type,"string"===typeof e?e:"function"===typeof e?e.displayName||e.name:null}function Oe(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(t=t.return,0!==(2&t.effectTag))return 1}return 3===t.tag?2:3}function Te(e){return!!(e=e._reactInternalFiber)&&2===Oe(e)}function _e(e){2!==Oe(e)&&r("188")}function Ce(e){var t=e.alternate;if(!t)return t=Oe(e),3===t&&r("188"),1===t?null:e;for(var n=e,o=t;;){var a=n.return,i=a?a.alternate:null;if(!a||!i)break;if(a.child===i.child){for(var u=a.child;u;){if(u===n)return _e(a),e;if(u===o)return _e(a),t;u=u.sibling}r("188")}if(n.return!==o.return)n=a,o=i;else{u=!1;for(var c=a.child;c;){if(c===n){u=!0,n=a,o=i;break}if(c===o){u=!0,o=a,n=i;break}c=c.sibling}if(!u){for(c=i.child;c;){if(c===n){u=!0,n=i,o=a;break}if(c===o){u=!0,o=i,n=a;break}c=c.sibling}u||r("189")}}n.alternate!==o&&r("190")}return 3!==n.tag&&r("188"),n.stateNode.current===n?e:t}function xe(e){if(!(e=Ce(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}function ke(e){if(!(e=Ce(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child&&4!==t.tag)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}function Ne(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=_(n)}while(t);for(n=0;n<e.ancestors.length;n++)t=e.ancestors[n],qr(e.topLevelType,t,e.nativeEvent,te(e.nativeEvent))}function je(e){Vr=!!e}function Pe(e,t,n){return n?Tn.listen(n,t,Se.bind(null,e)):null}function Ie(e,t,n){return n?Tn.capture(n,t,Se.bind(null,e)):null}function Se(e,t){if(Vr){var n=te(t);if(n=_(n),null===n||"number"!==typeof n.tag||2===Oe(n)||(n=null),zr.length){var r=zr.pop();r.topLevelType=e,r.nativeEvent=t,r.targetInst=n,e=r}else e={topLevelType:e,nativeEvent:t,targetInst:n,ancestors:[]};try{Z(Ne,e)}finally{e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>zr.length&&zr.push(e)}}}function Ae(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}function Re(e){if(Gr[e])return Gr[e];if(!Kr[e])return e;var t,n=Kr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Yr)return Gr[e]=n[t];return""}function De(e){return Object.prototype.hasOwnProperty.call(e,Xr)||(e[Xr]=Jr++,Qr[e[Xr]]={}),Qr[e[Xr]]}function Le(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Me(e,t){var n=Le(e);e=0;for(var r;n;){if(3===n.nodeType){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Le(n)}}function Ue(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&"text"===e.type||"textarea"===t||"true"===e.contentEditable)}function He(e,t){if(oo||null==to||to!==_n())return null;var n=to;return"selectionStart"in n&&Ue(n)?n={start:n.selectionStart,end:n.selectionEnd}:window.getSelection?(n=window.getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}):n=void 0,ro&&Cn(ro,n)?null:(ro=n,e=H.getPooled(eo.select,no,e,t),e.type="select",e.target=to,R(e),e)}function Fe(e,t,n,r){return H.call(this,e,t,n,r)}function Be(e,t,n,r){return H.call(this,e,t,n,r)}function ze(e,t,n,r){return H.call(this,e,t,n,r)}function Ve(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,32<=e||13===e?e:0}function qe(e,t,n,r){return H.call(this,e,t,n,r)}function We(e,t,n,r){return H.call(this,e,t,n,r)}function Ke(e,t,n,r){return H.call(this,e,t,n,r)}function Ge(e,t,n,r){return H.call(this,e,t,n,r)}function Ye(e,t,n,r){return H.call(this,e,t,n,r)}function $e(e){0>po||(e.current=fo[po],fo[po]=null,po--)}function Qe(e,t){po++,fo[po]=e.current,e.current=t}function Je(e){return Ze(e)?yo:ho.current}function Xe(e,t){var n=e.type.contextTypes;if(!n)return Nn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,a={};for(o in n)a[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function Ze(e){return 2===e.tag&&null!=e.type.childContextTypes}function et(e){Ze(e)&&($e(mo,e),$e(ho,e))}function tt(e,t,n){null!=ho.cursor&&r("168"),Qe(ho,t,e),Qe(mo,n,e)}function nt(e,t){var n=e.stateNode,o=e.type.childContextTypes;if("function"!==typeof n.getChildContext)return t;n=n.getChildContext();for(var a in n)a in o||r("108",Ee(e)||"Unknown",a);return En({},t,n)}function rt(e){if(!Ze(e))return!1;var t=e.stateNode;return t=t&&t.__reactInternalMemoizedMergedChildContext||Nn,yo=ho.current,Qe(ho,t,e),Qe(mo,mo.current,e),!0}function ot(e,t){var n=e.stateNode;if(n||r("169"),t){var o=nt(e,yo);n.__reactInternalMemoizedMergedChildContext=o,$e(mo,e),$e(ho,e),Qe(ho,o,e)}else $e(mo,e);Qe(mo,t,e)}function at(e,t,n){this.tag=e,this.key=t,this.stateNode=this.type=null,this.sibling=this.child=this.return=null,this.index=0,this.memoizedState=this.updateQueue=this.memoizedProps=this.pendingProps=this.ref=null,this.internalContextTag=n,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.expirationTime=0,this.alternate=null}function it(e,t,n){var r=e.alternate;return null===r?(r=new at(e.tag,e.key,e.internalContextTag),r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.effectTag=0,r.nextEffect=null,r.firstEffect=null,r.lastEffect=null),r.expirationTime=n,r.pendingProps=t,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 ut(e,t,n){var o=void 0,a=e.type,i=e.key;return"function"===typeof a?(o=a.prototype&&a.prototype.isReactComponent?new at(2,i,t):new at(0,i,t),o.type=a,o.pendingProps=e.props):"string"===typeof a?(o=new at(5,i,t),o.type=a,o.pendingProps=e.props):"object"===typeof a&&null!==a&&"number"===typeof a.tag?(o=a,o.pendingProps=e.props):r("130",null==a?a:typeof a,""),o.expirationTime=n,o}function ct(e,t,n,r){return t=new at(10,r,t),t.pendingProps=e,t.expirationTime=n,t}function lt(e,t,n){return t=new at(6,null,t),t.pendingProps=e,t.expirationTime=n,t}function st(e,t,n){return t=new at(7,e.key,t),t.type=e.handler,t.pendingProps=e,t.expirationTime=n,t}function ft(e,t,n){return e=new at(9,null,t),e.expirationTime=n,e}function pt(e,t,n){return t=new at(4,e.key,t),t.pendingProps=e.children||[],t.expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function dt(e){return function(t){try{return e(t)}catch(e){}}}function ht(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);vo=dt(function(e){return t.onCommitFiberRoot(n,e)}),bo=dt(function(e){return t.onCommitFiberUnmount(n,e)})}catch(e){}return!0}function mt(e){"function"===typeof vo&&vo(e)}function yt(e){"function"===typeof bo&&bo(e)}function vt(e){return{baseState:e,expirationTime:0,first:null,last:null,callbackList:null,hasForceUpdate:!1,isInitialized:!1}}function bt(e,t){null===e.last?e.first=e.last=t:(e.last.next=t,e.last=t),(0===e.expirationTime||e.expirationTime>t.expirationTime)&&(e.expirationTime=t.expirationTime)}function gt(e,t){var n=e.alternate,r=e.updateQueue;null===r&&(r=e.updateQueue=vt(null)),null!==n?null===(e=n.updateQueue)&&(e=n.updateQueue=vt(null)):e=null,e=e!==r?e:null,null===e?bt(r,t):null===r.last||null===e.last?(bt(r,t),bt(e,t)):(bt(r,t),e.last=t)}function wt(e,t,n,r){return e=e.partialState,"function"===typeof e?e.call(t,n,r):e}function Et(e,t,n,r,o,a){null!==e&&e.updateQueue===n&&(n=t.updateQueue={baseState:n.baseState,expirationTime:n.expirationTime,first:n.first,last:n.last,isInitialized:n.isInitialized,callbackList:null,hasForceUpdate:!1}),n.expirationTime=0,n.isInitialized?e=n.baseState:(e=n.baseState=t.memoizedState,n.isInitialized=!0);for(var i=!0,u=n.first,c=!1;null!==u;){var l=u.expirationTime;if(l>a){var s=n.expirationTime;(0===s||s>l)&&(n.expirationTime=l),c||(c=!0,n.baseState=e)}else c||(n.first=u.next,null===n.first&&(n.last=null)),u.isReplace?(e=wt(u,r,e,o),i=!0):(l=wt(u,r,e,o))&&(e=i?En({},e,l):En(e,l),i=!1),u.isForced&&(n.hasForceUpdate=!0),null!==u.callback&&(l=n.callbackList,null===l&&(l=n.callbackList=[]),l.push(u));u=u.next}return null!==n.callbackList?t.effectTag|=32:null!==n.first||n.hasForceUpdate||(t.updateQueue=null),c||(n.baseState=e),e}function Ot(e,t){var n=e.callbackList;if(null!==n)for(e.callbackList=null,e=0;e<n.length;e++){var o=n[e],a=o.callback;o.callback=null,"function"!==typeof a&&r("191",a),a.call(t)}}function Tt(e,t,n,o){function a(e,t){t.updater=i,e.stateNode=t,t._reactInternalFiber=e}var i={isMounted:Te,enqueueSetState:function(n,r,o){n=n._reactInternalFiber,o=void 0===o?null:o;var a=t(n);gt(n,{expirationTime:a,partialState:r,callback:o,isReplace:!1,isForced:!1,nextCallback:null,next:null}),e(n,a)},enqueueReplaceState:function(n,r,o){n=n._reactInternalFiber,o=void 0===o?null:o;var a=t(n);gt(n,{expirationTime:a,partialState:r,callback:o,isReplace:!0,isForced:!1,nextCallback:null,next:null}),e(n,a)},enqueueForceUpdate:function(n,r){n=n._reactInternalFiber,r=void 0===r?null:r;var o=t(n);gt(n,{expirationTime:o,partialState:null,callback:r,isReplace:!1,isForced:!0,nextCallback:null,next:null}),e(n,o)}};return{adoptClassInstance:a,constructClassInstance:function(e,t){var n=e.type,r=Je(e),o=2===e.tag&&null!=e.type.contextTypes,i=o?Xe(e,r):Nn;return t=new n(t,i),a(e,t),o&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=r,e.__reactInternalMemoizedMaskedChildContext=i),t},mountClassInstance:function(e,t){var n=e.alternate,o=e.stateNode,a=o.state||null,u=e.pendingProps;u||r("158");var c=Je(e);o.props=u,o.state=e.memoizedState=a,o.refs=Nn,o.context=Xe(e,c),null!=e.type&&null!=e.type.prototype&&!0===e.type.prototype.unstable_isAsyncReactComponent&&(e.internalContextTag|=1),"function"===typeof o.componentWillMount&&(a=o.state,o.componentWillMount(),a!==o.state&&i.enqueueReplaceState(o,o.state,null),null!==(a=e.updateQueue)&&(o.state=Et(n,e,a,o,u,t))),"function"===typeof o.componentDidMount&&(e.effectTag|=4)},updateClassInstance:function(e,t,a){var u=t.stateNode;u.props=t.memoizedProps,u.state=t.memoizedState;var c=t.memoizedProps,l=t.pendingProps;l||null==(l=c)&&r("159");var s=u.context,f=Je(t);if(f=Xe(t,f),"function"!==typeof u.componentWillReceiveProps||c===l&&s===f||(s=u.state,u.componentWillReceiveProps(l,f),u.state!==s&&i.enqueueReplaceState(u,u.state,null)),s=t.memoizedState,a=null!==t.updateQueue?Et(e,t,t.updateQueue,u,l,a):s,!(c!==l||s!==a||mo.current||null!==t.updateQueue&&t.updateQueue.hasForceUpdate))return"function"!==typeof u.componentDidUpdate||c===e.memoizedProps&&s===e.memoizedState||(t.effectTag|=4),!1;var p=l;if(null===c||null!==t.updateQueue&&t.updateQueue.hasForceUpdate)p=!0;else{var d=t.stateNode,h=t.type;p="function"===typeof d.shouldComponentUpdate?d.shouldComponentUpdate(p,a,f):!h.prototype||!h.prototype.isPureReactComponent||(!Cn(c,p)||!Cn(s,a))}return p?("function"===typeof u.componentWillUpdate&&u.componentWillUpdate(l,a,f),"function"===typeof u.componentDidUpdate&&(t.effectTag|=4)):("function"!==typeof u.componentDidUpdate||c===e.memoizedProps&&s===e.memoizedState||(t.effectTag|=4),n(t,l),o(t,a)),u.props=l,u.state=a,u.context=f,p}}}function _t(e){return null===e||"undefined"===typeof e?null:(e=Co&&e[Co]||e["@@iterator"],"function"===typeof e?e:null)}function Ct(e,t){var n=t.ref;if(null!==n&&"function"!==typeof n){if(t._owner){t=t._owner;var o=void 0;t&&(2!==t.tag&&r("110"),o=t.stateNode),o||r("147",n);var a=""+n;return null!==e&&null!==e.ref&&e.ref._stringRef===a?e.ref:(e=function(e){var t=o.refs===Nn?o.refs={}:o.refs;null===e?delete t[a]:t[a]=e},e._stringRef=a,e)}"string"!==typeof n&&r("148"),t._owner||r("149",n)}return n}function xt(e,t){"textarea"!==e.type&&r("31","[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,"")}function kt(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 o(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 a(e,t,n){return e=it(e,t,n),e.index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index,r<n?(t.effectTag=2,n):r):(t.effectTag=2,n):n}function u(t){return e&&null===t.alternate&&(t.effectTag=2),t}function c(e,t,n,r){return null===t||6!==t.tag?(t=lt(n,e.internalContextTag,r),t.return=e,t):(t=a(t,n,r),t.return=e,t)}function l(e,t,n,r){return null!==t&&t.type===n.type?(r=a(t,n.props,r),r.ref=Ct(t,n),r.return=e,r):(r=ut(n,e.internalContextTag,r),r.ref=Ct(t,n),r.return=e,r)}function s(e,t,n,r){return null===t||7!==t.tag?(t=st(n,e.internalContextTag,r),t.return=e,t):(t=a(t,n,r),t.return=e,t)}function f(e,t,n,r){return null===t||9!==t.tag?(t=ft(n,e.internalContextTag,r),t.type=n.value,t.return=e,t):(t=a(t,null,r),t.type=n.value,t.return=e,t)}function p(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=pt(n,e.internalContextTag,r),t.return=e,t):(t=a(t,n.children||[],r),t.return=e,t)}function d(e,t,n,r,o){return null===t||10!==t.tag?(t=ct(n,e.internalContextTag,r,o),t.return=e,t):(t=a(t,n,r),t.return=e,t)}function h(e,t,n){if("string"===typeof t||"number"===typeof t)return t=lt(""+t,e.internalContextTag,n),t.return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case wo:return t.type===_o?(t=ct(t.props.children,e.internalContextTag,n,t.key),t.return=e,t):(n=ut(t,e.internalContextTag,n),n.ref=Ct(null,t),n.return=e,n);case Eo:return t=st(t,e.internalContextTag,n),t.return=e,t;case Oo:return n=ft(t,e.internalContextTag,n),n.type=t.value,n.return=e,n;case To:return t=pt(t,e.internalContextTag,n),t.return=e,t}if(xo(t)||_t(t))return t=ct(t,e.internalContextTag,n,null),t.return=e,t;xt(e,t)}return null}function m(e,t,n,r){var o=null!==t?t.key:null;if("string"===typeof n||"number"===typeof n)return null!==o?null:c(e,t,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case wo:return n.key===o?n.type===_o?d(e,t,n.props.children,r,o):l(e,t,n,r):null;case Eo:return n.key===o?s(e,t,n,r):null;case Oo:return null===o?f(e,t,n,r):null;case To:return n.key===o?p(e,t,n,r):null}if(xo(n)||_t(n))return null!==o?null:d(e,t,n,r,null);xt(e,n)}return null}function y(e,t,n,r,o){if("string"===typeof r||"number"===typeof r)return e=e.get(n)||null,c(t,e,""+r,o);if("object"===typeof r&&null!==r){switch(r.$$typeof){case wo:return e=e.get(null===r.key?n:r.key)||null,r.type===_o?d(t,e,r.props.children,o,r.key):l(t,e,r,o);case Eo:return e=e.get(null===r.key?n:r.key)||null,s(t,e,r,o);case Oo:return e=e.get(n)||null,f(t,e,r,o);case To:return e=e.get(null===r.key?n:r.key)||null,p(t,e,r,o)}if(xo(r)||_t(r))return e=e.get(n)||null,d(t,e,r,o,null);xt(t,r)}return null}function v(r,a,u,c){for(var l=null,s=null,f=a,p=a=0,d=null;null!==f&&p<u.length;p++){f.index>p?(d=f,f=null):d=f.sibling;var v=m(r,f,u[p],c);if(null===v){null===f&&(f=d);break}e&&f&&null===v.alternate&&t(r,f),a=i(v,a,p),null===s?l=v:s.sibling=v,s=v,f=d}if(p===u.length)return n(r,f),l;if(null===f){for(;p<u.length;p++)(f=h(r,u[p],c))&&(a=i(f,a,p),null===s?l=f:s.sibling=f,s=f);return l}for(f=o(r,f);p<u.length;p++)(d=y(f,r,p,u[p],c))&&(e&&null!==d.alternate&&f.delete(null===d.key?p:d.key),a=i(d,a,p),null===s?l=d:s.sibling=d,s=d);return e&&f.forEach(function(e){return t(r,e)}),l}function b(a,u,c,l){var s=_t(c);"function"!==typeof s&&r("150"),null==(c=s.call(c))&&r("151");for(var f=s=null,p=u,d=u=0,v=null,b=c.next();null!==p&&!b.done;d++,b=c.next()){p.index>d?(v=p,p=null):v=p.sibling;var g=m(a,p,b.value,l);if(null===g){p||(p=v);break}e&&p&&null===g.alternate&&t(a,p),u=i(g,u,d),null===f?s=g:f.sibling=g,f=g,p=v}if(b.done)return n(a,p),s;if(null===p){for(;!b.done;d++,b=c.next())null!==(b=h(a,b.value,l))&&(u=i(b,u,d),null===f?s=b:f.sibling=b,f=b);return s}for(p=o(a,p);!b.done;d++,b=c.next())null!==(b=y(p,a,d,b.value,l))&&(e&&null!==b.alternate&&p.delete(null===b.key?d:b.key),u=i(b,u,d),null===f?s=b:f.sibling=b,f=b);return e&&p.forEach(function(e){return t(a,e)}),s}return function(e,o,i,c){"object"===typeof i&&null!==i&&i.type===_o&&null===i.key&&(i=i.props.children);var l="object"===typeof i&&null!==i;if(l)switch(i.$$typeof){case wo:e:{var s=i.key;for(l=o;null!==l;){if(l.key===s){if(10===l.tag?i.type===_o:l.type===i.type){n(e,l.sibling),o=a(l,i.type===_o?i.props.children:i.props,c),o.ref=Ct(l,i),o.return=e,e=o;break e}n(e,l);break}t(e,l),l=l.sibling}i.type===_o?(o=ct(i.props.children,e.internalContextTag,c,i.key),o.return=e,e=o):(c=ut(i,e.internalContextTag,c),c.ref=Ct(o,i),c.return=e,e=c)}return u(e);case Eo:e:{for(l=i.key;null!==o;){if(o.key===l){if(7===o.tag){n(e,o.sibling),o=a(o,i,c),o.return=e,e=o;break e}n(e,o);break}t(e,o),o=o.sibling}o=st(i,e.internalContextTag,c),o.return=e,e=o}return u(e);case Oo:e:{if(null!==o){if(9===o.tag){n(e,o.sibling),o=a(o,null,c),o.type=i.value,o.return=e,e=o;break e}n(e,o)}o=ft(i,e.internalContextTag,c),o.type=i.value,o.return=e,e=o}return u(e);case To:e:{for(l=i.key;null!==o;){if(o.key===l){if(4===o.tag&&o.stateNode.containerInfo===i.containerInfo&&o.stateNode.implementation===i.implementation){n(e,o.sibling),o=a(o,i.children||[],c),o.return=e,e=o;break e}n(e,o);break}t(e,o),o=o.sibling}o=pt(i,e.internalContextTag,c),o.return=e,e=o}return u(e)}if("string"===typeof i||"number"===typeof i)return i=""+i,null!==o&&6===o.tag?(n(e,o.sibling),o=a(o,i,c)):(n(e,o),o=lt(i,e.internalContextTag,c)),o.return=e,e=o,u(e);if(xo(i))return v(e,o,i,c);if(_t(i))return b(e,o,i,c);if(l&&xt(e,i),"undefined"===typeof i)switch(e.tag){case 2:case 1:c=e.type,r("152",c.displayName||c.name||"Component")}return n(e,o)}}function Nt(e,t,n,o,a){function i(e,t,n){var r=t.expirationTime;t.child=null===e?No(t,null,n,r):ko(t,e.child,n,r)}function u(e,t){var n=t.ref;null===n||e&&e.ref===n||(t.effectTag|=128)}function c(e,t,n,r){if(u(e,t),!n)return r&&ot(t,!1),s(e,t);n=t.stateNode,Br.current=t;var o=n.render();return t.effectTag|=1,i(e,t,o),t.memoizedState=n.state,t.memoizedProps=n.props,r&&ot(t,!0),t.child}function l(e){var t=e.stateNode;t.pendingContext?tt(e,t.pendingContext,t.pendingContext!==t.context):t.context&&tt(e,t.context,!1),y(e,t.containerInfo)}function s(e,t){if(null!==e&&t.child!==e.child&&r("153"),null!==t.child){e=t.child;var n=it(e,e.pendingProps,e.expirationTime);for(t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,n=n.sibling=it(e,e.pendingProps,e.expirationTime),n.return=t;n.sibling=null}return t.child}function f(e,t){switch(t.tag){case 3:l(t);break;case 2:rt(t);break;case 4:y(t,t.stateNode.containerInfo)}return null}var p=e.shouldSetTextContent,d=e.useSyncScheduling,h=e.shouldDeprioritizeSubtree,m=t.pushHostContext,y=t.pushHostContainer,v=n.enterHydrationState,b=n.resetHydrationState,g=n.tryToClaimNextHydratableInstance;e=Tt(o,a,function(e,t){e.memoizedProps=t},function(e,t){e.memoizedState=t});var w=e.adoptClassInstance,E=e.constructClassInstance,O=e.mountClassInstance,T=e.updateClassInstance;return{beginWork:function(e,t,n){if(0===t.expirationTime||t.expirationTime>n)return f(e,t);switch(t.tag){case 0:null!==e&&r("155");var o=t.type,a=t.pendingProps,_=Je(t);return _=Xe(t,_),o=o(a,_),t.effectTag|=1,"object"===typeof o&&null!==o&&"function"===typeof o.render?(t.tag=2,a=rt(t),w(t,o),O(t,n),t=c(e,t,!0,a)):(t.tag=1,i(e,t,o),t.memoizedProps=a,t=t.child),t;case 1:e:{if(a=t.type,n=t.pendingProps,o=t.memoizedProps,mo.current)null===n&&(n=o);else if(null===n||o===n){t=s(e,t);break e}o=Je(t),o=Xe(t,o),a=a(n,o),t.effectTag|=1,i(e,t,a),t.memoizedProps=n,t=t.child}return t;case 2:return a=rt(t),o=void 0,null===e?t.stateNode?r("153"):(E(t,t.pendingProps),O(t,n),o=!0):o=T(e,t,n),c(e,t,o,a);case 3:return l(t),a=t.updateQueue,null!==a?(o=t.memoizedState,a=Et(e,t,a,null,null,n),o===a?(b(),t=s(e,t)):(o=a.element,_=t.stateNode,(null===e||null===e.child)&&_.hydrate&&v(t)?(t.effectTag|=2,t.child=No(t,null,o,n)):(b(),i(e,t,o)),t.memoizedState=a,t=t.child)):(b(),t=s(e,t)),t;case 5:m(t),null===e&&g(t),a=t.type;var C=t.memoizedProps;return o=t.pendingProps,null===o&&null===(o=C)&&r("154"),_=null!==e?e.memoizedProps:null,mo.current||null!==o&&C!==o?(C=o.children,p(a,o)?C=null:_&&p(a,_)&&(t.effectTag|=16),u(e,t),2147483647!==n&&!d&&h(a,o)?(t.expirationTime=2147483647,t=null):(i(e,t,C),t.memoizedProps=o,t=t.child)):t=s(e,t),t;case 6:return null===e&&g(t),e=t.pendingProps,null===e&&(e=t.memoizedProps),t.memoizedProps=e,null;case 8:t.tag=7;case 7:return a=t.pendingProps,mo.current?null===a&&null===(a=e&&e.memoizedProps)&&r("154"):null!==a&&t.memoizedProps!==a||(a=t.memoizedProps),o=a.children,t.stateNode=null===e?No(t,t.stateNode,o,n):ko(t,t.stateNode,o,n),t.memoizedProps=a,t.stateNode;case 9:return null;case 4:e:{if(y(t,t.stateNode.containerInfo),a=t.pendingProps,mo.current)null===a&&null==(a=e&&e.memoizedProps)&&r("154");else if(null===a||t.memoizedProps===a){t=s(e,t);break e}null===e?t.child=ko(t,null,a,n):i(e,t,a),t.memoizedProps=a,t=t.child}return t;case 10:e:{if(n=t.pendingProps,mo.current)null===n&&(n=t.memoizedProps);else if(null===n||t.memoizedProps===n){t=s(e,t);break e}i(e,t,n),t.memoizedProps=n,t=t.child}return t;default:r("156")}},beginFailedWork:function(e,t,n){switch(t.tag){case 2:rt(t);break;case 3:l(t);break;default:r("157")}return t.effectTag|=64,null===e?t.child=null:t.child!==e.child&&(t.child=e.child),0===t.expirationTime||t.expirationTime>n?f(e,t):(t.firstEffect=null,t.lastEffect=null,t.child=null===e?No(t,null,null,n):ko(t,e.child,null,n),2===t.tag&&(e=t.stateNode,t.memoizedProps=e.props,t.memoizedState=e.state),t.child)}}}function jt(e,t,n){function o(e){e.effectTag|=4}var a=e.createInstance,i=e.createTextInstance,u=e.appendInitialChild,c=e.finalizeInitialChildren,l=e.prepareUpdate,s=e.persistence,f=t.getRootHostContainer,p=t.popHostContext,d=t.getHostContext,h=t.popHostContainer,m=n.prepareToHydrateHostInstance,y=n.prepareToHydrateHostTextInstance,v=n.popHydrationState,b=void 0,g=void 0,w=void 0;return e.mutation?(b=function(){},g=function(e,t,n){(t.updateQueue=n)&&o(t)},w=function(e,t,n,r){n!==r&&o(t)}):r(s?"235":"236"),{completeWork:function(e,t,n){var s=t.pendingProps;switch(null===s?s=t.memoizedProps:2147483647===t.expirationTime&&2147483647!==n||(t.pendingProps=null),t.tag){case 1:return null;case 2:return et(t),null;case 3:return h(t),$e(mo,t),$e(ho,t),s=t.stateNode,s.pendingContext&&(s.context=s.pendingContext,s.pendingContext=null),null!==e&&null!==e.child||(v(t),t.effectTag&=-3),b(t),null;case 5:p(t),n=f();var E=t.type;if(null!==e&&null!=t.stateNode){var O=e.memoizedProps,T=t.stateNode,_=d();T=l(T,E,O,s,n,_),g(e,t,T,E,O,s,n),e.ref!==t.ref&&(t.effectTag|=128)}else{if(!s)return null===t.stateNode&&r("166"),null;if(e=d(),v(t))m(t,n,e)&&o(t);else{e=a(E,s,n,e,t);e:for(O=t.child;null!==O;){if(5===O.tag||6===O.tag)u(e,O.stateNode);else if(4!==O.tag&&null!==O.child){O.child.return=O,O=O.child;continue}if(O===t)break;for(;null===O.sibling;){if(null===O.return||O.return===t)break e;O=O.return}O.sibling.return=O.return,O=O.sibling}c(e,E,s,n)&&o(t),t.stateNode=e}null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)w(e,t,e.memoizedProps,s);else{if("string"!==typeof s)return null===t.stateNode&&r("166"),null;e=f(),n=d(),v(t)?y(t)&&o(t):t.stateNode=i(s,e,n,t)}return null;case 7:(s=t.memoizedProps)||r("165"),t.tag=8,E=[];e:for((O=t.stateNode)&&(O.return=t);null!==O;){if(5===O.tag||6===O.tag||4===O.tag)r("247");else if(9===O.tag)E.push(O.type);else if(null!==O.child){O.child.return=O,O=O.child;continue}for(;null===O.sibling;){if(null===O.return||O.return===t)break e;O=O.return}O.sibling.return=O.return,O=O.sibling}return O=s.handler,s=O(s.props,E),t.child=ko(t,null!==e?e.child:null,s,n),t.child;case 8:return t.tag=7,null;case 9:case 10:return null;case 4:return h(t),b(t),null;case 0:r("167");default:r("156")}}}}function Pt(e,t){function n(e){var n=e.ref;if(null!==n)try{n(null)}catch(n){t(e,n)}}function o(e){switch("function"===typeof yt&&yt(e),e.tag){case 2:n(e);var r=e.stateNode;if("function"===typeof r.componentWillUnmount)try{r.props=e.memoizedProps,r.state=e.memoizedState,r.componentWillUnmount()}catch(n){t(e,n)}break;case 5:n(e);break;case 7:a(e.stateNode);break;case 4:l&&u(e)}}function a(e){for(var t=e;;)if(o(t),null===t.child||l&&4===t.tag){if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return;t=t.return}t.sibling.return=t.return,t=t.sibling}else t.child.return=t,t=t.child}function i(e){return 5===e.tag||3===e.tag||4===e.tag}function u(e){for(var t=e,n=!1,i=void 0,u=void 0;;){if(!n){n=t.return;e:for(;;){switch(null===n&&r("160"),n.tag){case 5:i=n.stateNode,u=!1;break e;case 3:case 4:i=n.stateNode.containerInfo,u=!0;break e}n=n.return}n=!0}if(5===t.tag||6===t.tag)a(t),u?g(i,t.stateNode):b(i,t.stateNode);else if(4===t.tag?i=t.stateNode.containerInfo:o(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;t=t.return,4===t.tag&&(n=!1)}t.sibling.return=t.return,t=t.sibling}}var c=e.getPublicInstance,l=e.mutation;e=e.persistence,l||r(e?"235":"236");var s=l.commitMount,f=l.commitUpdate,p=l.resetTextContent,d=l.commitTextUpdate,h=l.appendChild,m=l.appendChildToContainer,y=l.insertBefore,v=l.insertInContainerBefore,b=l.removeChild,g=l.removeChildFromContainer;return{commitResetTextContent:function(e){p(e.stateNode)},commitPlacement:function(e){e:{for(var t=e.return;null!==t;){if(i(t)){var n=t;break e}t=t.return}r("160"),n=void 0}var o=t=void 0;switch(n.tag){case 5:t=n.stateNode,o=!1;break;case 3:case 4:t=n.stateNode.containerInfo,o=!0;break;default:r("161")}16&n.effectTag&&(p(t),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||i(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 a=e;;){if(5===a.tag||6===a.tag)n?o?v(t,a.stateNode,n):y(t,a.stateNode,n):o?m(t,a.stateNode):h(t,a.stateNode);else if(4!==a.tag&&null!==a.child){a.child.return=a,a=a.child;continue}if(a===e)break;for(;null===a.sibling;){if(null===a.return||a.return===e)return;a=a.return}a.sibling.return=a.return,a=a.sibling}},commitDeletion:function(e){u(e),e.return=null,e.child=null,e.alternate&&(e.alternate.child=null,e.alternate.return=null)},commitWork:function(e,t){switch(t.tag){case 2:break;case 5:var n=t.stateNode;if(null!=n){var o=t.memoizedProps;e=null!==e?e.memoizedProps:o;var a=t.type,i=t.updateQueue;t.updateQueue=null,null!==i&&f(n,i,a,e,o,t)}break;case 6:null===t.stateNode&&r("162"),n=t.memoizedProps,d(t.stateNode,null!==e?e.memoizedProps:n,n);break;case 3:break;default:r("163")}},commitLifeCycles:function(e,t){switch(t.tag){case 2:var n=t.stateNode;if(4&t.effectTag)if(null===e)n.props=t.memoizedProps,n.state=t.memoizedState,n.componentDidMount();else{var o=e.memoizedProps;e=e.memoizedState,n.props=t.memoizedProps,n.state=t.memoizedState,n.componentDidUpdate(o,e)}t=t.updateQueue,null!==t&&Ot(t,n);break;case 3:n=t.updateQueue,null!==n&&Ot(n,null!==t.child?t.child.stateNode:null);break;case 5:n=t.stateNode,null===e&&4&t.effectTag&&s(n,t.type,t.memoizedProps,t);break;case 6:case 4:break;default:r("163")}},commitAttachRef:function(e){var t=e.ref;if(null!==t){var n=e.stateNode;switch(e.tag){case 5:t(c(n));break;default:t(n)}}},commitDetachRef:function(e){null!==(e=e.ref)&&e(null)}}}function It(e){function t(e){return e===jo&&r("174"),e}var n=e.getChildHostContext,o=e.getRootHostContext,a={current:jo},i={current:jo},u={current:jo};return{getHostContext:function(){return t(a.current)},getRootHostContainer:function(){return t(u.current)},popHostContainer:function(e){$e(a,e),$e(i,e),$e(u,e)},popHostContext:function(e){i.current===e&&($e(a,e),$e(i,e))},pushHostContainer:function(e,t){Qe(u,t,e),t=o(t),Qe(i,e,e),Qe(a,t,e)},pushHostContext:function(e){var r=t(u.current),o=t(a.current);r=n(o,e.type,r),o!==r&&(Qe(i,e,e),Qe(a,r,e))},resetHostContainer:function(){a.current=jo,u.current=jo}}}function St(e){function t(e,t){var n=new at(5,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 n(e,t){switch(e.tag){case 5:return null!==(t=i(t,e.type,e.pendingProps))&&(e.stateNode=t,!0);case 6:return null!==(t=u(t,e.pendingProps))&&(e.stateNode=t,!0);default:return!1}}function o(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag;)e=e.return;p=e}var a=e.shouldSetTextContent;if(!(e=e.hydration))return{enterHydrationState:function(){return!1},resetHydrationState:function(){},tryToClaimNextHydratableInstance:function(){},prepareToHydrateHostInstance:function(){r("175")},prepareToHydrateHostTextInstance:function(){r("176")},popHydrationState:function(){return!1}};var i=e.canHydrateInstance,u=e.canHydrateTextInstance,c=e.getNextHydratableSibling,l=e.getFirstHydratableChild,s=e.hydrateInstance,f=e.hydrateTextInstance,p=null,d=null,h=!1;return{enterHydrationState:function(e){return d=l(e.stateNode.containerInfo),p=e,h=!0},resetHydrationState:function(){d=p=null,h=!1},tryToClaimNextHydratableInstance:function(e){if(h){var r=d;if(r){if(!n(e,r)){if(!(r=c(r))||!n(e,r))return e.effectTag|=2,h=!1,void(p=e);t(p,d)}p=e,d=l(r)}else e.effectTag|=2,h=!1,p=e}},prepareToHydrateHostInstance:function(e,t,n){return t=s(e.stateNode,e.type,e.memoizedProps,t,n,e),e.updateQueue=t,null!==t},prepareToHydrateHostTextInstance:function(e){return f(e.stateNode,e.memoizedProps,e)},popHydrationState:function(e){if(e!==p)return!1;if(!h)return o(e),h=!0,!1;var n=e.type;if(5!==e.tag||"head"!==n&&"body"!==n&&!a(n,e.memoizedProps))for(n=d;n;)t(e,n),n=c(n);return o(e),d=p?c(e.stateNode):null,!0}}}function At(e){function t(e){ae=$=!0;var t=e.stateNode;if(t.current===e&&r("177"),t.isReadyForCommit=!1,Br.current=null,1<e.effectTag)if(null!==e.lastEffect){e.lastEffect.nextEffect=e;var n=e.firstEffect}else n=e;else n=e.firstEffect;for(q(),Z=n;null!==Z;){var o=!1,a=void 0;try{for(;null!==Z;){var i=Z.effectTag;if(16&i&&A(Z),128&i){var u=Z.alternate;null!==u&&H(u)}switch(-242&i){case 2:R(Z),Z.effectTag&=-3;break;case 6:R(Z),Z.effectTag&=-3,L(Z.alternate,Z);break;case 4:L(Z.alternate,Z);break;case 8:ie=!0,D(Z),ie=!1}Z=Z.nextEffect}}catch(e){o=!0,a=e}o&&(null===Z&&r("178"),c(Z,a),null!==Z&&(Z=Z.nextEffect))}for(W(),t.current=e,Z=n;null!==Z;){n=!1,o=void 0;try{for(;null!==Z;){var l=Z.effectTag;if(36&l&&M(Z.alternate,Z),128&l&&U(Z),64&l)switch(a=Z,i=void 0,null!==ee&&(i=ee.get(a),ee.delete(a),null==i&&null!==a.alternate&&(a=a.alternate,i=ee.get(a),ee.delete(a))),null==i&&r("184"),a.tag){case 2:a.stateNode.componentDidCatch(i.error,{componentStack:i.componentStack});break;case 3:null===re&&(re=i.error);break;default:r("157")}var s=Z.nextEffect;Z.nextEffect=null,Z=s}}catch(e){n=!0,o=e}n&&(null===Z&&r("178"),c(Z,o),null!==Z&&(Z=Z.nextEffect))}return $=ae=!1,"function"===typeof mt&&mt(e.stateNode),ne&&(ne.forEach(m),ne=null),null!==re&&(e=re,re=null,T(e)),t=t.current.expirationTime,0===t&&(te=ee=null),t}function n(e){for(;;){var t=S(e.alternate,e,X),n=e.return,r=e.sibling,o=e;if(2147483647===X||2147483647!==o.expirationTime){if(2!==o.tag&&3!==o.tag)var a=0;else a=o.updateQueue,a=null===a?0:a.expirationTime;for(var i=o.child;null!==i;)0!==i.expirationTime&&(0===a||a>i.expirationTime)&&(a=i.expirationTime),i=i.sibling;o.expirationTime=a}if(null!==t)return t;if(null!==n&&(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){e.stateNode.isReadyForCommit=!0;break}e=n}return null}function o(e){var t=P(e.alternate,e,X);return null===t&&(t=n(e)),Br.current=null,t}function a(e){var t=I(e.alternate,e,X);return null===t&&(t=n(e)),Br.current=null,t}function i(e){if(null!==ee){if(!(0===X||X>e))if(X<=G)for(;null!==Q;)Q=l(Q)?a(Q):o(Q);else for(;null!==Q&&!O();)Q=l(Q)?a(Q):o(Q)}else if(!(0===X||X>e))if(X<=G)for(;null!==Q;)Q=o(Q);else for(;null!==Q&&!O();)Q=o(Q)}function u(e,t){if($&&r("243"),$=!0,e.isReadyForCommit=!1,e!==J||t!==X||null===Q){for(;-1<po;)fo[po]=null,po--;yo=Nn,ho.current=Nn,mo.current=!1,N(),J=e,X=t,Q=it(J.current,null,t)}var n=!1,o=null;try{i(t)}catch(e){n=!0,o=e}for(;n;){if(oe){re=o;break}var u=Q;if(null===u)oe=!0;else{var l=c(u,o);if(null===l&&r("183"),!oe){try{for(n=l,o=t,l=n;null!==u;){switch(u.tag){case 2:et(u);break;case 5:k(u);break;case 3:x(u);break;case 4:x(u)}if(u===l||u.alternate===l)break;u=u.return}Q=a(n),i(o)}catch(e){n=!0,o=e;continue}break}}}return t=re,oe=$=!1,re=null,null!==t&&T(t),e.isReadyForCommit?e.current.alternate:null}function c(e,t){var n=Br.current=null,r=!1,o=!1,a=null;if(3===e.tag)n=e,s(e)&&(oe=!0);else for(var i=e.return;null!==i&&null===n;){if(2===i.tag?"function"===typeof i.stateNode.componentDidCatch&&(r=!0,a=Ee(i),n=i,o=!0):3===i.tag&&(n=i),s(i)){if(ie||null!==ne&&(ne.has(i)||null!==i.alternate&&ne.has(i.alternate)))return null;n=null,o=!1}i=i.return}if(null!==n){null===te&&(te=new Set),te.add(n);var u="";i=e;do{e:switch(i.tag){case 0:case 1:case 2:case 5:var c=i._debugOwner,l=i._debugSource,f=Ee(i),p=null;c&&(p=Ee(c)),c=l,f="\n in "+(f||"Unknown")+(c?" (at "+c.fileName.replace(/^.*[\\\/]/,"")+":"+c.lineNumber+")":p?" (created by "+p+")":"");break e;default:f=""}u+=f,i=i.return}while(i);i=u,e=Ee(e),null===ee&&(ee=new Map),t={componentName:e,componentStack:i,error:t,errorBoundary:r?n.stateNode:null,errorBoundaryFound:r,errorBoundaryName:a,willRetry:o},ee.set(n,t);try{var d=t.error;d&&d.suppressReactErrorLogging||console.error(d)}catch(e){e&&e.suppressReactErrorLogging||console.error(e)}return ae?(null===ne&&(ne=new Set),ne.add(n)):m(n),n}return null===re&&(re=t),null}function l(e){return null!==ee&&(ee.has(e)||null!==e.alternate&&ee.has(e.alternate))}function s(e){return null!==te&&(te.has(e)||null!==e.alternate&&te.has(e.alternate))}function f(){return 20*(1+((y()+100)/20|0))}function p(e){return 0!==Y?Y:$?ae?1:X:!V||1&e.internalContextTag?f():1}function d(e,t){return h(e,t,!1)}function h(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;!$&&n===J&&t<X&&(Q=J=null,X=0);var o=n,a=t;if(Oe>we&&r("185"),null===o.nextScheduledRoot)o.remainingExpirationTime=a,null===ce?(ue=ce=o,o.nextScheduledRoot=o):(ce=ce.nextScheduledRoot=o,ce.nextScheduledRoot=ue);else{var i=o.remainingExpirationTime;(0===i||a<i)&&(o.remainingExpirationTime=a)}fe||(be?ge&&(pe=o,de=1,E(pe,de)):1===a?w(1,null):v(a)),!$&&n===J&&t<X&&(Q=J=null,X=0)}e=e.return}}function m(e){h(e,1,!0)}function y(){return G=2+((F()-K)/10|0)}function v(e){if(0!==le){if(e>le)return;z(se)}var t=F()-K;le=e,se=B(g,{timeout:10*(e-2)-t})}function b(){var e=0,t=null;if(null!==ce)for(var n=ce,o=ue;null!==o;){var a=o.remainingExpirationTime;if(0===a){if((null===n||null===ce)&&r("244"),o===o.nextScheduledRoot){ue=ce=o.nextScheduledRoot=null;break}if(o===ue)ue=a=o.nextScheduledRoot,ce.nextScheduledRoot=a,o.nextScheduledRoot=null;else{if(o===ce){ce=n,ce.nextScheduledRoot=ue,o.nextScheduledRoot=null;break}n.nextScheduledRoot=o.nextScheduledRoot,o.nextScheduledRoot=null}o=n.nextScheduledRoot}else{if((0===e||a<e)&&(e=a,t=o),o===ce)break;n=o,o=o.nextScheduledRoot}}n=pe,null!==n&&n===t?Oe++:Oe=0,pe=t,de=e}function g(e){w(0,e)}function w(e,t){for(ve=t,b();null!==pe&&0!==de&&(0===e||de<=e)&&!he;)E(pe,de),b();if(null!==ve&&(le=0,se=-1),0!==de&&v(de),ve=null,he=!1,Oe=0,me)throw e=ye,ye=null,me=!1,e}function E(e,n){if(fe&&r("245"),fe=!0,n<=y()){var o=e.finishedWork;null!==o?(e.finishedWork=null,e.remainingExpirationTime=t(o)):(e.finishedWork=null,null!==(o=u(e,n))&&(e.remainingExpirationTime=t(o)))}else o=e.finishedWork,null!==o?(e.finishedWork=null,e.remainingExpirationTime=t(o)):(e.finishedWork=null,null!==(o=u(e,n))&&(O()?e.finishedWork=o:e.remainingExpirationTime=t(o)));fe=!1}function O(){return!(null===ve||ve.timeRemaining()>Te)&&(he=!0)}function T(e){null===pe&&r("246"),pe.remainingExpirationTime=0,me||(me=!0,ye=e)}var _=It(e),C=St(e),x=_.popHostContainer,k=_.popHostContext,N=_.resetHostContainer,j=Nt(e,_,C,d,p),P=j.beginWork,I=j.beginFailedWork,S=jt(e,_,C).completeWork;_=Pt(e,c);var A=_.commitResetTextContent,R=_.commitPlacement,D=_.commitDeletion,L=_.commitWork,M=_.commitLifeCycles,U=_.commitAttachRef,H=_.commitDetachRef,F=e.now,B=e.scheduleDeferredCallback,z=e.cancelDeferredCallback,V=e.useSyncScheduling,q=e.prepareForCommit,W=e.resetAfterCommit,K=F(),G=2,Y=0,$=!1,Q=null,J=null,X=0,Z=null,ee=null,te=null,ne=null,re=null,oe=!1,ae=!1,ie=!1,ue=null,ce=null,le=0,se=-1,fe=!1,pe=null,de=0,he=!1,me=!1,ye=null,ve=null,be=!1,ge=!1,we=1e3,Oe=0,Te=1;return{computeAsyncExpiration:f,computeExpirationForFiber:p,scheduleWork:d,batchedUpdates:function(e,t){var n=be;be=!0;try{return e(t)}finally{(be=n)||fe||w(1,null)}},unbatchedUpdates:function(e){if(be&&!ge){ge=!0;try{return e()}finally{ge=!1}}return e()},flushSync:function(e){var t=be;be=!0;try{e:{var n=Y;Y=1;try{var o=e();break e}finally{Y=n}o=void 0}return o}finally{be=t,fe&&r("187"),w(1,null)}},deferredUpdates:function(e){var t=Y;Y=f();try{return e()}finally{Y=t}}}}function Rt(e){function t(e){return e=xe(e),null===e?null:e.stateNode}var n=e.getPublicInstance;e=At(e);var o=e.computeAsyncExpiration,a=e.computeExpirationForFiber,i=e.scheduleWork;return{createContainer:function(e,t){var n=new at(3,null,0);return e={current:n,containerInfo:e,pendingChildren:null,remainingExpirationTime:0,isReadyForCommit:!1,finishedWork:null,context:null,pendingContext:null,hydrate:t,nextScheduledRoot:null},n.stateNode=e},updateContainer:function(e,t,n,u){var c=t.current;if(n){n=n._reactInternalFiber;var l;e:{for(2===Oe(n)&&2===n.tag||r("170"),l=n;3!==l.tag;){if(Ze(l)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break e}(l=l.return)||r("171")}l=l.stateNode.context}n=Ze(n)?nt(n,l):l}else n=Nn;null===t.context?t.context=n:t.pendingContext=n,t=u,t=void 0===t?null:t,u=null!=e&&null!=e.type&&null!=e.type.prototype&&!0===e.type.prototype.unstable_isAsyncReactComponent?o():a(c),gt(c,{expirationTime:u,partialState:{element:e},callback:t,isReplace:!1,isForced:!1,nextCallback:null,next:null}),i(c,u)},batchedUpdates:e.batchedUpdates,unbatchedUpdates:e.unbatchedUpdates,deferredUpdates:e.deferredUpdates,flushSync:e.flushSync,getPublicRootInstance:function(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return n(e.child.stateNode);default:return e.child.stateNode}},findHostInstance:t,findHostInstanceWithNoPortals:function(e){return e=ke(e),null===e?null:e.stateNode},injectIntoDevTools:function(e){var n=e.findFiberByHostInstance;return ht(En({},e,{findHostInstanceByFiber:function(e){return t(e)},findFiberByHostInstance:function(e){return n?n(e):null}}))}}}function Dt(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:To,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Lt(e){return!!$o.hasOwnProperty(e)||!Yo.hasOwnProperty(e)&&(Go.test(e)?$o[e]=!0:(Yo[e]=!0,!1))}function Mt(e,t,n){var r=i(t);if(r&&a(t,n)){var o=r.mutationMethod;o?o(e,n):null==n||r.hasBooleanValue&&!n||r.hasNumericValue&&isNaN(n)||r.hasPositiveNumericValue&&1>n||r.hasOverloadedBooleanValue&&!1===n?Ht(e,t):r.mustUseProperty?e[r.propertyName]=n:(t=r.attributeName,(o=r.attributeNamespace)?e.setAttributeNS(o,t,""+n):r.hasBooleanValue||r.hasOverloadedBooleanValue&&!0===n?e.setAttribute(t,""):e.setAttribute(t,""+n))}else Ut(e,t,a(t,n)?n:null)}function Ut(e,t,n){Lt(t)&&(null==n?e.removeAttribute(t):e.setAttribute(t,""+n))}function Ht(e,t){var n=i(t);n?(t=n.mutationMethod)?t(e,void 0):n.mustUseProperty?e[n.propertyName]=!n.hasBooleanValue&&"":e.removeAttribute(n.attributeName):e.removeAttribute(t)}function Ft(e,t){var n=t.value,r=t.checked;return En({type:void 0,step:void 0,min:void 0,max:void 0},t,{defaultChecked:void 0,defaultValue:void 0,value:null!=n?n:e._wrapperState.initialValue,checked:null!=r?r:e._wrapperState.initialChecked})}function Bt(e,t){var n=t.defaultValue;e._wrapperState={initialChecked:null!=t.checked?t.checked:t.defaultChecked,initialValue:null!=t.value?t.value:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function zt(e,t){null!=(t=t.checked)&&Mt(e,"checked",t)}function Vt(e,t){zt(e,t);var n=t.value;null!=n?0===n&&""===e.value?e.value="0":"number"===t.type?(t=parseFloat(e.value)||0,(n!=t||n==t&&e.value!=n)&&(e.value=""+n)):e.value!==""+n&&(e.value=""+n):(null==t.value&&null!=t.defaultValue&&e.defaultValue!==""+t.defaultValue&&(e.defaultValue=""+t.defaultValue),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked))}function qt(e,t){switch(t.type){case"submit":case"reset":break;case"color":case"date":case"datetime":case"datetime-local":case"month":case"time":case"week":e.value="",e.value=e.defaultValue;break;default:e.value=e.value}t=e.name,""!==t&&(e.name=""),e.defaultChecked=!e.defaultChecked,e.defaultChecked=!e.defaultChecked,""!==t&&(e.name=t)}function Wt(e){var t="";return gn.Children.forEach(e,function(e){null==e||"string"!==typeof e&&"number"!==typeof e||(t+=e)}),t}function Kt(e,t){return e=En({children:void 0},t),(t=Wt(t.children))&&(e.children=t),e}function Gt(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 Yt(e,t){var n=t.value;e._wrapperState={initialValue:null!=n?n:t.defaultValue,wasMultiple:!!t.multiple}}function $t(e,t){return null!=t.dangerouslySetInnerHTML&&r("91"),En({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Qt(e,t){var n=t.value;null==n&&(n=t.defaultValue,t=t.children,null!=t&&(null!=n&&r("92"),Array.isArray(t)&&(1>=t.length||r("93"),t=t[0]),n=""+t),null==n&&(n="")),e._wrapperState={initialValue:""+n}}function Jt(e,t){var n=t.value;null!=n&&(n=""+n,n!==e.value&&(e.value=n),null==t.defaultValue&&(e.defaultValue=n)),null!=t.defaultValue&&(e.defaultValue=t.defaultValue)}function Xt(e){var t=e.textContent;t===e._wrapperState.initialValue&&(e.value=t)}function Zt(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 en(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?Zt(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}function tn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}function nn(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=n,a=t[n];o=null==a||"boolean"===typeof a||""===a?"":r||"number"!==typeof a||0===a||Zo.hasOwnProperty(o)&&Zo[o]?(""+a).trim():a+"px","float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}function rn(e,t,n){t&&(ta[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML)&&r("137",e,n()),null!=t.dangerouslySetInnerHTML&&(null!=t.children&&r("60"),"object"===typeof t.dangerouslySetInnerHTML&&"__html"in t.dangerouslySetInnerHTML||r("61")),null!=t.style&&"object"!==typeof t.style&&r("62",n()))}function on(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}}function an(e,t){e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument;var n=De(e);t=Qn[t];for(var r=0;r<t.length;r++){var o=t[r];n.hasOwnProperty(o)&&n[o]||("topScroll"===o?Ie("topScroll","scroll",e):"topFocus"===o||"topBlur"===o?(Ie("topFocus","focus",e),Ie("topBlur","blur",e),n.topBlur=!0,n.topFocus=!0):"topCancel"===o?(ne("cancel",!0)&&Ie("topCancel","cancel",e),n.topCancel=!0):"topClose"===o?(ne("close",!0)&&Ie("topClose","close",e),n.topClose=!0):$r.hasOwnProperty(o)&&Pe(o,$r[o],e),n[o]=!0)}}function un(e,t,n,r){return n=9===n.nodeType?n:n.ownerDocument,r===na&&(r=Zt(e)),r===na?"script"===e?(e=n.createElement("div"),e.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 cn(e,t){return(9===t.nodeType?t:t.ownerDocument).createTextNode(e)}function ln(e,t,n,r){var o=on(t,n);switch(t){case"iframe":case"object":Pe("topLoad","load",e);var a=n;break;case"video":case"audio":for(a in oa)oa.hasOwnProperty(a)&&Pe(a,oa[a],e);a=n;break;case"source":Pe("topError","error",e),a=n;break;case"img":case"image":Pe("topError","error",e),Pe("topLoad","load",e),a=n;break;case"form":Pe("topReset","reset",e),Pe("topSubmit","submit",e),a=n;break;case"details":Pe("topToggle","toggle",e),a=n;break;case"input":Bt(e,n),a=Ft(e,n),Pe("topInvalid","invalid",e),an(r,"onChange");break;case"option":a=Kt(e,n);break;case"select":Yt(e,n),a=En({},n,{value:void 0}),Pe("topInvalid","invalid",e),an(r,"onChange");break;case"textarea":Qt(e,n),a=$t(e,n),Pe("topInvalid","invalid",e),an(r,"onChange");break;default:a=n}rn(t,a,ra);var i,u=a;for(i in u)if(u.hasOwnProperty(i)){var c=u[i];"style"===i?nn(e,c,ra):"dangerouslySetInnerHTML"===i?null!=(c=c?c.__html:void 0)&&Xo(e,c):"children"===i?"string"===typeof c?("textarea"!==t||""!==c)&&tn(e,c):"number"===typeof c&&tn(e,""+c):"suppressContentEditableWarning"!==i&&"suppressHydrationWarning"!==i&&"autoFocus"!==i&&($n.hasOwnProperty(i)?null!=c&&an(r,i):o?Ut(e,i,c):null!=c&&Mt(e,i,c))}switch(t){case"input":ae(e),qt(e,n);break;case"textarea":ae(e),Xt(e,n);break;case"option":null!=n.value&&e.setAttribute("value",n.value);break;case"select":e.multiple=!!n.multiple,t=n.value,null!=t?Gt(e,!!n.multiple,t,!1):null!=n.defaultValue&&Gt(e,!!n.multiple,n.defaultValue,!0);break;default:"function"===typeof a.onClick&&(e.onclick=On)}}function sn(e,t,n,r,o){var a=null;switch(t){case"input":n=Ft(e,n),r=Ft(e,r),a=[];break;case"option":n=Kt(e,n),r=Kt(e,r),a=[];break;case"select":n=En({},n,{value:void 0}),r=En({},r,{value:void 0}),a=[];break;case"textarea":n=$t(e,n),r=$t(e,r),a=[];break;default:"function"!==typeof n.onClick&&"function"===typeof r.onClick&&(e.onclick=On)}rn(t,r,ra);var i,u;e=null;for(i in n)if(!r.hasOwnProperty(i)&&n.hasOwnProperty(i)&&null!=n[i])if("style"===i)for(u in t=n[i])t.hasOwnProperty(u)&&(e||(e={}),e[u]="");else"dangerouslySetInnerHTML"!==i&&"children"!==i&&"suppressContentEditableWarning"!==i&&"suppressHydrationWarning"!==i&&"autoFocus"!==i&&($n.hasOwnProperty(i)?a||(a=[]):(a=a||[]).push(i,null));for(i in r){var c=r[i];if(t=null!=n?n[i]:void 0,r.hasOwnProperty(i)&&c!==t&&(null!=c||null!=t))if("style"===i)if(t){for(u in t)!t.hasOwnProperty(u)||c&&c.hasOwnProperty(u)||(e||(e={}),e[u]="");for(u in c)c.hasOwnProperty(u)&&t[u]!==c[u]&&(e||(e={}),e[u]=c[u])}else e||(a||(a=[]),a.push(i,e)),e=c;else"dangerouslySetInnerHTML"===i?(c=c?c.__html:void 0,t=t?t.__html:void 0,null!=c&&t!==c&&(a=a||[]).push(i,""+c)):"children"===i?t===c||"string"!==typeof c&&"number"!==typeof c||(a=a||[]).push(i,""+c):"suppressContentEditableWarning"!==i&&"suppressHydrationWarning"!==i&&($n.hasOwnProperty(i)?(null!=c&&an(o,i),a||t===c||(a=[])):(a=a||[]).push(i,c))}return e&&(a=a||[]).push("style",e),a}function fn(e,t,n,r,o){"input"===n&&"radio"===o.type&&null!=o.name&&zt(e,o),on(n,r),r=on(n,o);for(var a=0;a<t.length;a+=2){var i=t[a],u=t[a+1];"style"===i?nn(e,u,ra):"dangerouslySetInnerHTML"===i?Xo(e,u):"children"===i?tn(e,u):r?null!=u?Ut(e,i,u):e.removeAttribute(i):null!=u?Mt(e,i,u):Ht(e,i)}switch(n){case"input":Vt(e,o);break;case"textarea":Jt(e,o);break;case"select":e._wrapperState.initialValue=void 0,t=e._wrapperState.wasMultiple,e._wrapperState.wasMultiple=!!o.multiple,n=o.value,null!=n?Gt(e,!!o.multiple,n,!1):t!==!!o.multiple&&(null!=o.defaultValue?Gt(e,!!o.multiple,o.defaultValue,!0):Gt(e,!!o.multiple,o.multiple?[]:"",!1))}}function pn(e,t,n,r,o){switch(t){case"iframe":case"object":Pe("topLoad","load",e);break;case"video":case"audio":for(var a in oa)oa.hasOwnProperty(a)&&Pe(a,oa[a],e);break;case"source":Pe("topError","error",e);break;case"img":case"image":Pe("topError","error",e),Pe("topLoad","load",e);break;case"form":Pe("topReset","reset",e),Pe("topSubmit","submit",e);break;case"details":Pe("topToggle","toggle",e);break;case"input":Bt(e,n),Pe("topInvalid","invalid",e),an(o,"onChange");break;case"select":Yt(e,n),Pe("topInvalid","invalid",e),an(o,"onChange");break;case"textarea":Qt(e,n),Pe("topInvalid","invalid",e),an(o,"onChange")}rn(t,n,ra),r=null;for(var i in n)n.hasOwnProperty(i)&&(a=n[i],"children"===i?"string"===typeof a?e.textContent!==a&&(r=["children",a]):"number"===typeof a&&e.textContent!==""+a&&(r=["children",""+a]):$n.hasOwnProperty(i)&&null!=a&&an(o,i));switch(t){case"input":ae(e),qt(e,n);break;case"textarea":ae(e),Xt(e,n);break;case"select":case"option":break;default:"function"===typeof n.onClick&&(e.onclick=On)}return r}function dn(e,t){return e.nodeValue!==t}function hn(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function mn(e){return!(!(e=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==e.nodeType||!e.hasAttribute("data-reactroot"))}function yn(e,t,n,o,a){hn(n)||r("200");var i=n._reactRootContainer;if(i)ca.updateContainer(t,i,e,a);else{if(!(o=o||mn(n)))for(i=void 0;i=n.lastChild;)n.removeChild(i);var u=ca.createContainer(n,o);i=n._reactRootContainer=u,ca.unbatchedUpdates(function(){ca.updateContainer(t,u,e,a)})}return ca.getPublicRootInstance(i)}function vn(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;return hn(t)||r("200"),Dt(e,t,null,n)}function bn(e,t){this._reactRootContainer=ca.createContainer(e,t)}var gn=n(0),wn=n(56),En=n(22),On=n(18),Tn=n(57),_n=n(58),Cn=n(59),xn=n(60),kn=n(63),Nn=n(31);gn||r("227");var jn={children:!0,dangerouslySetInnerHTML:!0,defaultValue:!0,defaultChecked:!0,innerHTML:!0,suppressContentEditableWarning:!0,suppressHydrationWarning:!0,style:!0},Pn={MUST_USE_PROPERTY:1,HAS_BOOLEAN_VALUE:4,HAS_NUMERIC_VALUE:8,HAS_POSITIVE_NUMERIC_VALUE:24,HAS_OVERLOADED_BOOLEAN_VALUE:32,HAS_STRING_BOOLEAN_VALUE:64,injectDOMPropertyConfig:function(e){var t=Pn,n=e.Properties||{},a=e.DOMAttributeNamespaces||{},i=e.DOMAttributeNames||{};e=e.DOMMutationMethods||{};for(var u in n){In.hasOwnProperty(u)&&r("48",u);var c=u.toLowerCase(),l=n[u];c={attributeName:c,attributeNamespace:null,propertyName:u,mutationMethod:null,mustUseProperty:o(l,t.MUST_USE_PROPERTY),hasBooleanValue:o(l,t.HAS_BOOLEAN_VALUE),hasNumericValue:o(l,t.HAS_NUMERIC_VALUE),hasPositiveNumericValue:o(l,t.HAS_POSITIVE_NUMERIC_VALUE),hasOverloadedBooleanValue:o(l,t.HAS_OVERLOADED_BOOLEAN_VALUE),hasStringBooleanValue:o(l,t.HAS_STRING_BOOLEAN_VALUE)},1>=c.hasBooleanValue+c.hasNumericValue+c.hasOverloadedBooleanValue||r("50",u),i.hasOwnProperty(u)&&(c.attributeName=i[u]),a.hasOwnProperty(u)&&(c.attributeNamespace=a[u]),e.hasOwnProperty(u)&&(c.mutationMethod=e[u]),In[u]=c}}},In={},Sn=Pn,An=Sn.MUST_USE_PROPERTY,Rn=Sn.HAS_BOOLEAN_VALUE,Dn=Sn.HAS_NUMERIC_VALUE,Ln=Sn.HAS_POSITIVE_NUMERIC_VALUE,Mn=Sn.HAS_OVERLOADED_BOOLEAN_VALUE,Un=Sn.HAS_STRING_BOOLEAN_VALUE,Hn={Properties:{allowFullScreen:Rn,async:Rn,autoFocus:Rn,autoPlay:Rn,capture:Mn,checked:An|Rn,cols:Ln,contentEditable:Un,controls:Rn,default:Rn,defer:Rn,disabled:Rn,download:Mn,draggable:Un,formNoValidate:Rn,hidden:Rn,loop:Rn,multiple:An|Rn,muted:An|Rn,noValidate:Rn,open:Rn,playsInline:Rn,readOnly:Rn,required:Rn,reversed:Rn,rows:Ln,rowSpan:Dn,scoped:Rn,seamless:Rn,selected:An|Rn,size:Ln,start:Dn,span:Ln,spellCheck:Un,style:0,tabIndex:0,itemScope:Rn,acceptCharset:0,className:0,htmlFor:0,httpEquiv:0,value:Un},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},DOMMutationMethods:{value:function(e,t){if(null==t)return e.removeAttribute("value");"number"!==e.type||!1===e.hasAttribute("value")?e.setAttribute("value",""+t):e.validity&&!e.validity.badInput&&e.ownerDocument.activeElement!==e&&e.setAttribute("value",""+t)}}},Fn=Sn.HAS_STRING_BOOLEAN_VALUE,Bn={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"},zn={Properties:{autoReverse:Fn,externalResourcesRequired:Fn,preserveAlpha:Fn},DOMAttributeNames:{autoReverse:"autoReverse",externalResourcesRequired:"externalResourcesRequired",preserveAlpha:"preserveAlpha"},DOMAttributeNamespaces:{xlinkActuate:Bn.xlink,xlinkArcrole:Bn.xlink,xlinkHref:Bn.xlink,xlinkRole:Bn.xlink,xlinkShow:Bn.xlink,xlinkTitle:Bn.xlink,xlinkType:Bn.xlink,xmlBase:Bn.xml,xmlLang:Bn.xml,xmlSpace:Bn.xml}},Vn=/[\-\:]([a-z])/g;"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode x-height xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type xml:base xmlns:xlink xml:lang xml:space".split(" ").forEach(function(e){var t=e.replace(Vn,u);zn.Properties[t]=0,zn.DOMAttributeNames[t]=e}),Sn.injectDOMPropertyConfig(Hn),Sn.injectDOMPropertyConfig(zn);var qn={_caughtError:null,_hasCaughtError:!1,_rethrowError:null,_hasRethrowError:!1,injection:{injectErrorUtils:function(e){"function"!==typeof e.invokeGuardedCallback&&r("197"),c=e.invokeGuardedCallback}},invokeGuardedCallback:function(e,t,n,r,o,a,i,u,l){c.apply(qn,arguments)},invokeGuardedCallbackAndCatchFirstError:function(e,t,n,r,o,a,i,u,c){if(qn.invokeGuardedCallback.apply(this,arguments),qn.hasCaughtError()){var l=qn.clearCaughtError();qn._hasRethrowError||(qn._hasRethrowError=!0,qn._rethrowError=l)}},rethrowCaughtError:function(){return l.apply(qn,arguments)},hasCaughtError:function(){return qn._hasCaughtError},clearCaughtError:function(){if(qn._hasCaughtError){var e=qn._caughtError;return qn._caughtError=null,qn._hasCaughtError=!1,e}r("198")}},Wn=null,Kn={},Gn=[],Yn={},$n={},Qn={},Jn=Object.freeze({plugins:Gn,eventNameDispatchConfigs:Yn,registrationNameModules:$n,registrationNameDependencies:Qn,possibleRegistrationNames:null,injectEventPluginOrder:p,injectEventPluginsByName:d}),Xn=null,Zn=null,er=null,tr=null,nr={injectEventPluginOrder:p,injectEventPluginsByName:d},rr=Object.freeze({injection:nr,getListener:w,extractEvents:E,enqueueEvents:O,processEventQueue:T}),or=Math.random().toString(36).slice(2),ar="__reactInternalInstance$"+or,ir="__reactEventHandlers$"+or,ur=Object.freeze({precacheFiberNode:function(e,t){t[ar]=e},getClosestInstanceFromNode:_,getInstanceFromNode:function(e){return e=e[ar],!e||5!==e.tag&&6!==e.tag?null:e},getNodeFromInstance:C,getFiberCurrentPropsFromNode:x,updateFiberProps:function(e,t){e[ir]=t}}),cr=Object.freeze({accumulateTwoPhaseDispatches:R,accumulateTwoPhaseDispatchesSkipTarget:function(e){y(e,I)},accumulateEnterLeaveDispatches:D,accumulateDirectDispatches:function(e){y(e,A)}}),lr=null,sr={_root:null,_startText:null,_fallbackText:null},fr="dispatchConfig _targetInst nativeEvent isDefaultPrevented isPropagationStopped _dispatchListeners _dispatchInstances".split(" "),pr={type:null,target:null,currentTarget:On.thatReturnsNull,eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};En(H.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=On.thatReturnsTrue)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=On.thatReturnsTrue)},persist:function(){this.isPersistent=On.thatReturnsTrue},isPersistent:On.thatReturnsFalse,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;for(t=0;t<fr.length;t++)this[fr[t]]=null}}),H.Interface=pr,H.augmentClass=function(e,t){function n(){}n.prototype=this.prototype;var r=new n;En(r,e.prototype),e.prototype=r,e.prototype.constructor=e,e.Interface=En({},this.Interface,t),e.augmentClass=this.augmentClass,z(e)},z(H),H.augmentClass(V,{data:null}),H.augmentClass(q,{data:null});var dr=[9,13,27,32],hr=wn.canUseDOM&&"CompositionEvent"in window,mr=null;wn.canUseDOM&&"documentMode"in document&&(mr=document.documentMode);var yr;if(yr=wn.canUseDOM&&"TextEvent"in window&&!mr){var vr=window.opera;yr=!("object"===typeof vr&&"function"===typeof vr.version&&12>=parseInt(vr.version(),10))}var br,gr=yr,wr=wn.canUseDOM&&(!hr||mr&&8<mr&&11>=mr),Er=String.fromCharCode(32),Or={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["topCompositionEnd","topKeyPress","topTextInput","topPaste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"topBlur topCompositionEnd topKeyDown topKeyPress topKeyUp topMouseDown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"topBlur topCompositionStart topKeyDown topKeyPress topKeyUp topMouseDown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"topBlur topCompositionUpdate topKeyDown topKeyPress topKeyUp topMouseDown".split(" ")}},Tr=!1,_r=!1,Cr={eventTypes:Or,extractEvents:function(e,t,n,r){var o;if(hr)e:{switch(e){case"topCompositionStart":var a=Or.compositionStart;break e;case"topCompositionEnd":a=Or.compositionEnd;break e;case"topCompositionUpdate":a=Or.compositionUpdate;break e}a=void 0}else _r?W(e,n)&&(a=Or.compositionEnd):"topKeyDown"===e&&229===n.keyCode&&(a=Or.compositionStart);return a?(wr&&(_r||a!==Or.compositionStart?a===Or.compositionEnd&&_r&&(o=M()):(sr._root=r,sr._startText=U(),_r=!0)),a=V.getPooled(a,t,n,r),o?a.data=o:null!==(o=K(n))&&(a.data=o),R(a),o=a):o=null,(e=gr?G(e,n):Y(e,n))?(t=q.getPooled(Or.beforeInput,t,n,r),t.data=e,R(t)):t=null,[o,t]}},xr=null,kr=null,Nr=null,jr={injectFiberControlledHostComponent:function(e){xr=e}},Pr=Object.freeze({injection:jr,enqueueStateRestore:Q,restoreStateIfNeeded:J}),Ir=!1,Sr={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};wn.canUseDOM&&(br=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("",""));var Ar={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"topBlur topChange topClick topFocus topInput topKeyDown topKeyUp topSelectionChange".split(" ")}},Rr=null,Dr=null,Lr=!1;wn.canUseDOM&&(Lr=ne("input")&&(!document.documentMode||9<document.documentMode));var Mr={eventTypes:Ar,_isInputEventSupported:Lr,extractEvents:function(e,t,n,r){var o=t?C(t):window,a=o.nodeName&&o.nodeName.toLowerCase();if("select"===a||"input"===a&&"file"===o.type)var i=se;else if(ee(o))if(Lr)i=ye;else{i=he;var u=de}else!(a=o.nodeName)||"input"!==a.toLowerCase()||"checkbox"!==o.type&&"radio"!==o.type||(i=me);if(i&&(i=i(e,t)))return ue(i,n,r);u&&u(e,o,t),"topBlur"===e&&null!=t&&(e=t._wrapperState||o._wrapperState)&&e.controlled&&"number"===o.type&&(e=""+o.value,o.getAttribute("value")!==e&&o.setAttribute("value",e))}};H.augmentClass(ve,{view:null,detail:null});var Ur={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};ve.augmentClass(we,{screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:ge,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)}});var Hr={mouseEnter:{registrationName:"onMouseEnter",dependencies:["topMouseOut","topMouseOver"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["topMouseOut","topMouseOver"]}},Fr={eventTypes:Hr,extractEvents:function(e,t,n,r){if("topMouseOver"===e&&(n.relatedTarget||n.fromElement)||"topMouseOut"!==e&&"topMouseOver"!==e)return null;var o=r.window===r?r:(o=r.ownerDocument)?o.defaultView||o.parentWindow:window;if("topMouseOut"===e?(e=t,t=(t=n.relatedTarget||n.toElement)?_(t):null):e=null,e===t)return null;var a=null==e?o:C(e);o=null==t?o:C(t);var i=we.getPooled(Hr.mouseLeave,e,n,r);return i.type="mouseleave",i.target=a,i.relatedTarget=o,n=we.getPooled(Hr.mouseEnter,t,n,r),n.type="mouseenter",n.target=o,n.relatedTarget=a,D(i,n,e,t),[i,n]}},Br=gn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,zr=[],Vr=!0,qr=void 0,Wr=Object.freeze({get _enabled(){return Vr},get _handleTopLevel(){return qr},setHandleTopLevel:function(e){qr=e},setEnabled:je,isEnabled:function(){return Vr},trapBubbledEvent:Pe,trapCapturedEvent:Ie,dispatchEvent:Se}),Kr={animationend:Ae("Animation","AnimationEnd"),animationiteration:Ae("Animation","AnimationIteration"),animationstart:Ae("Animation","AnimationStart"),transitionend:Ae("Transition","TransitionEnd")},Gr={},Yr={};wn.canUseDOM&&(Yr=document.createElement("div").style,"AnimationEvent"in window||(delete Kr.animationend.animation,delete Kr.animationiteration.animation,delete Kr.animationstart.animation),"TransitionEvent"in window||delete Kr.transitionend.transition);var $r={topAbort:"abort",topAnimationEnd:Re("animationend")||"animationend",topAnimationIteration:Re("animationiteration")||"animationiteration",topAnimationStart:Re("animationstart")||"animationstart",topBlur:"blur",topCancel:"cancel",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topChange:"change",topClick:"click",topClose:"close",topCompositionEnd:"compositionend",topCompositionStart:"compositionstart",topCompositionUpdate:"compositionupdate",topContextMenu:"contextmenu",topCopy:"copy",topCut:"cut",topDoubleClick:"dblclick",topDrag:"drag",topDragEnd:"dragend",topDragEnter:"dragenter",topDragExit:"dragexit",topDragLeave:"dragleave",topDragOver:"dragover",topDragStart:"dragstart",topDrop:"drop",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topFocus:"focus",topInput:"input",topKeyDown:"keydown",topKeyPress:"keypress",topKeyUp:"keyup",topLoadedData:"loadeddata",topLoad:"load",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topMouseDown:"mousedown",topMouseMove:"mousemove",topMouseOut:"mouseout",topMouseOver:"mouseover",topMouseUp:"mouseup",topPaste:"paste",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topScroll:"scroll",topSeeked:"seeked",topSeeking:"seeking",topSelectionChange:"selectionchange",topStalled:"stalled",topSuspend:"suspend",topTextInput:"textInput",topTimeUpdate:"timeupdate",topToggle:"toggle",topTouchCancel:"touchcancel",topTouchEnd:"touchend",topTouchMove:"touchmove",topTouchStart:"touchstart",topTransitionEnd:Re("transitionend")||"transitionend",topVolumeChange:"volumechange",topWaiting:"waiting",topWheel:"wheel"},Qr={},Jr=0,Xr="_reactListenersID"+(""+Math.random()).slice(2),Zr=wn.canUseDOM&&"documentMode"in document&&11>=document.documentMode,eo={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"topBlur topContextMenu topFocus topKeyDown topKeyUp topMouseDown topMouseUp topSelectionChange".split(" ")}},to=null,no=null,ro=null,oo=!1,ao={eventTypes:eo,extractEvents:function(e,t,n,r){var o,a=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument;if(!(o=!a)){e:{a=De(a),o=Qn.onSelect;for(var i=0;i<o.length;i++){var u=o[i];if(!a.hasOwnProperty(u)||!a[u]){a=!1;break e}}a=!0}o=!a}if(o)return null;switch(a=t?C(t):window,e){case"topFocus":(ee(a)||"true"===a.contentEditable)&&(to=a,no=t,ro=null);break;case"topBlur":ro=no=to=null;break;case"topMouseDown":oo=!0;break;case"topContextMenu":case"topMouseUp":return oo=!1,He(n,r);case"topSelectionChange":if(Zr)break;case"topKeyDown":case"topKeyUp":return He(n,r)}return null}};H.augmentClass(Fe,{animationName:null,elapsedTime:null,pseudoElement:null}),H.augmentClass(Be,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),ve.augmentClass(ze,{relatedTarget:null});var io={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},uo={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"};ve.augmentClass(qe,{key:function(e){if(e.key){var t=io[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?(e=Ve(e),13===e?"Enter":String.fromCharCode(e)):"keydown"===e.type||"keyup"===e.type?uo[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:ge,charCode:function(e){return"keypress"===e.type?Ve(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Ve(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),we.augmentClass(We,{dataTransfer:null}),ve.augmentClass(Ke,{touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:ge}),H.augmentClass(Ge,{propertyName:null,elapsedTime:null,pseudoElement:null}),we.augmentClass(Ye,{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});var co={},lo={};"abort animationEnd animationIteration animationStart blur cancel canPlay canPlayThrough click close contextMenu copy cut doubleClick drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error focus input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing progress rateChange reset scroll seeked seeking stalled submit suspend timeUpdate toggle touchCancel touchEnd touchMove touchStart transitionEnd volumeChange waiting wheel".split(" ").forEach(function(e){var t=e[0].toUpperCase()+e.slice(1),n="on"+t;t="top"+t,n={phasedRegistrationNames:{bubbled:n,captured:n+"Capture"},dependencies:[t]},co[e]=n,lo[t]=n});var so={eventTypes:co,extractEvents:function(e,t,n,r){var o=lo[e];if(!o)return null;switch(e){case"topKeyPress":if(0===Ve(n))return null;case"topKeyDown":case"topKeyUp":e=qe;break;case"topBlur":case"topFocus":e=ze;break;case"topClick":if(2===n.button)return null;case"topDoubleClick":case"topMouseDown":case"topMouseMove":case"topMouseUp":case"topMouseOut":case"topMouseOver":case"topContextMenu":e=we;break;case"topDrag":case"topDragEnd":case"topDragEnter":case"topDragExit":case"topDragLeave":case"topDragOver":case"topDragStart":case"topDrop":e=We;break;case"topTouchCancel":case"topTouchEnd":case"topTouchMove":case"topTouchStart":e=Ke;break;case"topAnimationEnd":case"topAnimationIteration":case"topAnimationStart":e=Fe;break;case"topTransitionEnd":e=Ge;break;case"topScroll":e=ve;break;case"topWheel":e=Ye;break;case"topCopy":case"topCut":case"topPaste":e=Be;break;default:e=H}return t=e.getPooled(o,t,n,r),R(t),t}};qr=function(e,t,n,r){e=E(e,t,n,r),O(e),T(!1)},nr.injectEventPluginOrder("ResponderEventPlugin SimpleEventPlugin TapEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),Xn=ur.getFiberCurrentPropsFromNode,Zn=ur.getInstanceFromNode,er=ur.getNodeFromInstance,nr.injectEventPluginsByName({SimpleEventPlugin:so,EnterLeaveEventPlugin:Fr,ChangeEventPlugin:Mr,SelectEventPlugin:ao,BeforeInputEventPlugin:Cr});var fo=[],po=-1;new Set;var ho={current:Nn},mo={current:!1},yo=Nn,vo=null,bo=null,go="function"===typeof Symbol&&Symbol.for,wo=go?Symbol.for("react.element"):60103,Eo=go?Symbol.for("react.call"):60104,Oo=go?Symbol.for("react.return"):60105,To=go?Symbol.for("react.portal"):60106,_o=go?Symbol.for("react.fragment"):60107,Co="function"===typeof Symbol&&Symbol.iterator,xo=Array.isArray,ko=kt(!0),No=kt(!1),jo={},Po=Object.freeze({default:Rt}),Io=Po&&Rt||Po,So=Io.default?Io.default:Io,Ao="object"===typeof performance&&"function"===typeof performance.now,Ro=void 0;Ro=Ao?function(){return performance.now()}:function(){return Date.now()};var Do=void 0,Lo=void 0;if(wn.canUseDOM)if("function"!==typeof requestIdleCallback||"function"!==typeof cancelIdleCallback){var Mo,Uo=null,Ho=!1,Fo=-1,Bo=!1,zo=0,Vo=33,qo=33;Mo=Ao?{didTimeout:!1,timeRemaining:function(){var e=zo-performance.now();return 0<e?e:0}}:{didTimeout:!1,timeRemaining:function(){var e=zo-Date.now();return 0<e?e:0}};var Wo="__reactIdleCallback$"+Math.random().toString(36).slice(2);window.addEventListener("message",function(e){if(e.source===window&&e.data===Wo){if(Ho=!1,e=Ro(),0>=zo-e){if(!(-1!==Fo&&Fo<=e))return void(Bo||(Bo=!0,requestAnimationFrame(Ko)));Mo.didTimeout=!0}else Mo.didTimeout=!1;Fo=-1,e=Uo,Uo=null,null!==e&&e(Mo)}},!1);var Ko=function(e){Bo=!1;var t=e-zo+qo;t<qo&&Vo<qo?(8>t&&(t=8),qo=t<Vo?Vo:t):Vo=t,zo=e+qo,Ho||(Ho=!0,window.postMessage(Wo,"*"))};Do=function(e,t){return Uo=e,null!=t&&"number"===typeof t.timeout&&(Fo=Ro()+t.timeout),Bo||(Bo=!0,requestAnimationFrame(Ko)),0},Lo=function(){Uo=null,Ho=!1,Fo=-1}}else Do=window.requestIdleCallback,Lo=window.cancelIdleCallback;else Do=function(e){return setTimeout(function(){e({timeRemaining:function(){return 1/0}})})},Lo=function(e){clearTimeout(e)};var Go=/^[: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]*$/,Yo={},$o={},Qo={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"},Jo=void 0,Xo=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!==Qo.svg||"innerHTML"in e)e.innerHTML=t;else{for(Jo=Jo||document.createElement("div"),Jo.innerHTML="<svg>"+t+"</svg>",t=Jo.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}),Zo={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},ea=["Webkit","ms","Moz","O"];Object.keys(Zo).forEach(function(e){ea.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Zo[t]=Zo[e]})});var ta=En({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}),na=Qo.html,ra=On.thatReturns(""),oa={topAbort:"abort",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topSeeked:"seeked",topSeeking:"seeking",topStalled:"stalled",topSuspend:"suspend",topTimeUpdate:"timeupdate",topVolumeChange:"volumechange",topWaiting:"waiting"},aa=Object.freeze({createElement:un,createTextNode:cn,setInitialProperties:ln,diffProperties:sn,updateProperties:fn,diffHydratedProperties:pn,diffHydratedText:dn,warnForUnmatchedText:function(){},warnForDeletedHydratableElement:function(){},warnForDeletedHydratableText:function(){},warnForInsertedHydratedElement:function(){},warnForInsertedHydratedText:function(){},restoreControlledState:function(e,t,n){switch(t){case"input":if(Vt(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 o=n[t];if(o!==e&&o.form===e.form){var a=x(o);a||r("90"),ie(o),Vt(o,a)}}}break;case"textarea":Jt(e,n);break;case"select":null!=(t=n.value)&&Gt(e,!!n.multiple,t,!1)}}});jr.injectFiberControlledHostComponent(aa);var ia=null,ua=null,ca=So({getRootHostContext:function(e){var t=e.nodeType;switch(t){case 9:case 11:e=(e=e.documentElement)?e.namespaceURI:en(null,"");break;default:t=8===t?e.parentNode:e,e=t.namespaceURI||null,t=t.tagName,e=en(e,t)}return e},getChildHostContext:function(e,t){return en(e,t)},getPublicInstance:function(e){return e},prepareForCommit:function(){ia=Vr;var e=_n();if(Ue(e)){if("selectionStart"in e)var t={start:e.selectionStart,end:e.selectionEnd};else e:{var n=window.getSelection&&window.getSelection();if(n&&0!==n.rangeCount){t=n.anchorNode;var r=n.anchorOffset,o=n.focusNode;n=n.focusOffset;try{t.nodeType,o.nodeType}catch(e){t=null;break e}var a=0,i=-1,u=-1,c=0,l=0,s=e,f=null;t:for(;;){for(var p;s!==t||0!==r&&3!==s.nodeType||(i=a+r),s!==o||0!==n&&3!==s.nodeType||(u=a+n),3===s.nodeType&&(a+=s.nodeValue.length),null!==(p=s.firstChild);)f=s,s=p;for(;;){if(s===e)break t;if(f===t&&++c===r&&(i=a),f===o&&++l===n&&(u=a),null!==(p=s.nextSibling))break;s=f,f=s.parentNode}s=p}t=-1===i||-1===u?null:{start:i,end:u}}else t=null}t=t||{start:0,end:0}}else t=null;ua={focusedElem:e,selectionRange:t},je(!1)},resetAfterCommit:function(){var e=ua,t=_n(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&xn(document.documentElement,n)){if(Ue(n))if(t=r.start,e=r.end,void 0===e&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(window.getSelection){t=window.getSelection();var o=n[L()].length;e=Math.min(r.start,o),r=void 0===r.end?e:Math.min(r.end,o),!t.extend&&e>r&&(o=r,r=e,e=o),o=Me(n,e);var a=Me(n,r);if(o&&a&&(1!==t.rangeCount||t.anchorNode!==o.node||t.anchorOffset!==o.offset||t.focusNode!==a.node||t.focusOffset!==a.offset)){var i=document.createRange();i.setStart(o.node,o.offset),t.removeAllRanges(),e>r?(t.addRange(i),t.extend(a.node,a.offset)):(i.setEnd(a.node,a.offset),t.addRange(i))}}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(kn(n),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}ua=null,je(ia),ia=null},createInstance:function(e,t,n,r,o){return e=un(e,t,n,r),e[ar]=o,e[ir]=t,e},appendInitialChild:function(e,t){e.appendChild(t)},finalizeInitialChildren:function(e,t,n,r){ln(e,t,n,r);e:{switch(t){case"button":case"input":case"select":case"textarea":e=!!n.autoFocus;break e}e=!1}return e},prepareUpdate:function(e,t,n,r,o){return sn(e,t,n,r,o)},shouldSetTextContent:function(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},shouldDeprioritizeSubtree:function(e,t){return!!t.hidden},createTextInstance:function(e,t,n,r){return e=cn(e,t),e[ar]=r,e},now:Ro,mutation:{commitMount:function(e){e.focus()},commitUpdate:function(e,t,n,r,o){e[ir]=o,fn(e,t,n,r,o)},resetTextContent:function(e){e.textContent=""},commitTextUpdate:function(e,t,n){e.nodeValue=n},appendChild:function(e,t){e.appendChild(t)},appendChildToContainer:function(e,t){8===e.nodeType?e.parentNode.insertBefore(t,e):e.appendChild(t)},insertBefore:function(e,t,n){e.insertBefore(t,n)},insertInContainerBefore:function(e,t,n){8===e.nodeType?e.parentNode.insertBefore(t,n):e.insertBefore(t,n)},removeChild:function(e,t){e.removeChild(t)},removeChildFromContainer:function(e,t){8===e.nodeType?e.parentNode.removeChild(t):e.removeChild(t)}},hydration:{canHydrateInstance:function(e,t){return 1!==e.nodeType||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e},canHydrateTextInstance:function(e,t){return""===t||3!==e.nodeType?null:e},getNextHydratableSibling:function(e){for(e=e.nextSibling;e&&1!==e.nodeType&&3!==e.nodeType;)e=e.nextSibling;return e},getFirstHydratableChild:function(e){for(e=e.firstChild;e&&1!==e.nodeType&&3!==e.nodeType;)e=e.nextSibling;return e},hydrateInstance:function(e,t,n,r,o,a){return e[ar]=a,e[ir]=n,pn(e,t,n,o,r)},hydrateTextInstance:function(e,t,n){return e[ar]=n,dn(e,t)},didNotMatchHydratedContainerTextInstance:function(){},didNotMatchHydratedTextInstance:function(){},didNotHydrateContainerInstance:function(){},didNotHydrateInstance:function(){},didNotFindHydratableContainerInstance:function(){},didNotFindHydratableContainerTextInstance:function(){},didNotFindHydratableInstance:function(){},didNotFindHydratableTextInstance:function(){}},scheduleDeferredCallback:Do,cancelDeferredCallback:Lo,useSyncScheduling:!0});X=ca.batchedUpdates,bn.prototype.render=function(e,t){ca.updateContainer(e,this._reactRootContainer,null,t)},bn.prototype.unmount=function(e){ca.updateContainer(null,this._reactRootContainer,null,e)};var la={createPortal:vn,findDOMNode:function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternalFiber;if(t)return ca.findHostInstance(t);"function"===typeof e.render?r("188"):r("213",Object.keys(e))},hydrate:function(e,t,n){return yn(null,e,t,!0,n)},render:function(e,t,n){return yn(null,e,t,!1,n)},unstable_renderSubtreeIntoContainer:function(e,t,n,o){return(null==e||void 0===e._reactInternalFiber)&&r("38"),yn(e,t,n,!1,o)},unmountComponentAtNode:function(e){return hn(e)||r("40"),!!e._reactRootContainer&&(ca.unbatchedUpdates(function(){yn(null,null,e,!1,function(){e._reactRootContainer=null})}),!0)},unstable_createPortal:vn,unstable_batchedUpdates:Z,unstable_deferredUpdates:ca.deferredUpdates,flushSync:ca.flushSync,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{EventPluginHub:rr,EventPluginRegistry:Jn,EventPropagators:cr,ReactControlledComponent:Pr,ReactDOMComponentTree:ur,ReactDOMEventListener:Wr}};ca.injectIntoDevTools({findFiberByHostInstance:_,bundleType:0,version:"16.2.0",rendererPackageName:"react-dom"});var sa=Object.freeze({default:la}),fa=sa&&la||sa;e.exports=fa.default?fa.default:fa},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";var r=n(18),o={listen:function(e,t,n){return e.addEventListener?(e.addEventListener(t,n,!1),{remove:function(){e.removeEventListener(t,n,!1)}}):e.attachEvent?(e.attachEvent("on"+t,n),{remove:function(){e.detachEvent("on"+t,n)}}):void 0},capture:function(e,t,n){return e.addEventListener?(e.addEventListener(t,n,!0),{remove:function(){e.removeEventListener(t,n,!0)}}):{remove:r}},registerDefault:function(){}};e.exports=o},function(e,t,n){"use strict";function r(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}e.exports=r},function(e,t,n){"use strict";function r(e,t){return e===t?0!==e||0!==t||1/e===1/t:e!==e&&t!==t}function o(e,t){if(r(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;for(var i=0;i<n.length;i++)if(!a.call(t,n[i])||!r(e[n[i]],t[n[i]]))return!1;return!0}var a=Object.prototype.hasOwnProperty;e.exports=o},function(e,t,n){"use strict";function r(e,t){return!(!e||!t)&&(e===t||!o(e)&&(o(t)?r(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}var o=n(61);e.exports=r},function(e,t,n){"use strict";function r(e){return o(e)&&3==e.nodeType}var o=n(62);e.exports=r},function(e,t,n){"use strict";function r(e){var t=e?e.ownerDocument||e:document,n=t.defaultView||window;return!(!e||!("function"===typeof n.Node?e instanceof n.Node:"object"===typeof e&&"number"===typeof e.nodeType&&"string"===typeof e.nodeName))}e.exports=r},function(e,t,n){"use strict";function r(e){try{e.focus()}catch(e){}}e.exports=r},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function a(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=n(5),u=n.n(i),c=n(0),l=n.n(c),s=n(1),f=n.n(s),p=n(68),d=n.n(p),h=n(25),m=function(e){function t(){var n,a,i;r(this,t);for(var u=arguments.length,c=Array(u),l=0;l<u;l++)c[l]=arguments[l];return n=a=o(this,e.call.apply(e,[this].concat(c))),a.history=d()(a.props),i=n,o(a,i)}return a(t,e),t.prototype.componentWillMount=function(){u()(!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 l.a.createElement(h.a,{history:this.history,children:this.props.children})},t}(l.a.Component);m.propTypes={basename:f.a.string,forceRefresh:f.a.bool,getUserConfirmation:f.a.func,keyLength:f.a.number,children:f.a.node},t.a=m},function(e,t,n){"use strict";var r=n(18),o=n(66),a=n(67);e.exports=function(){function e(e,t,n,r,i,u){u!==a&&o(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function 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=r,n.PropTypes=n,n}},function(e,t,n){"use strict";function r(e,t,n,r,a,i,u,c){if(o(t),!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[n,r,a,i,u,c],f=0;l=new Error(t.replace(/%s/g,function(){return s[f++]})),l.name="Invariant Violation"}throw l.framesToPop=1,l}}var o=function(e){};e.exports=r},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o="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},a=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},i=n(5),u=r(i),c=n(8),l=r(c),s=n(23),f=n(14),p=n(24),d=r(p),h=n(34),m=function(){try{return window.history.state||{}}catch(e){return{}}},y=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,l.default)(h.canUseDOM,"Browser history needs a DOM");var t=window.history,n=(0,h.supportsHistory)(),r=!(0,h.supportsPopStateOnHashChange)(),i=e.forceRefresh,c=void 0!==i&&i,p=e.getUserConfirmation,y=void 0===p?h.getConfirmation:p,v=e.keyLength,b=void 0===v?6:v,g=e.basename?(0,f.stripTrailingSlash)((0,f.addLeadingSlash)(e.basename)):"",w=function(e){var t=e||{},n=t.key,r=t.state,o=window.location,a=o.pathname,i=o.search,c=o.hash,l=a+i+c;return(0,u.default)(!g||(0,f.hasBasename)(l,g),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+l+'" to begin with "'+g+'".'),g&&(l=(0,f.stripBasename)(l,g)),(0,s.createLocation)(l,r,n)},E=function(){return Math.random().toString(36).substr(2,b)},O=(0,d.default)(),T=function(e){a(z,e),z.length=t.length,O.notifyListeners(z.location,z.action)},_=function(e){(0,h.isExtraneousPopstateEvent)(e)||k(w(e.state))},C=function(){k(w(m()))},x=!1,k=function(e){if(x)x=!1,T();else{O.confirmTransitionTo(e,"POP",y,function(t){t?T({action:"POP",location:e}):N(e)})}},N=function(e){var t=z.location,n=P.indexOf(t.key);-1===n&&(n=0);var r=P.indexOf(e.key);-1===r&&(r=0);var o=n-r;o&&(x=!0,R(o))},j=w(m()),P=[j.key],I=function(e){return g+(0,f.createPath)(e)},S=function(e,r){(0,u.default)(!("object"===("undefined"===typeof e?"undefined":o(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 a=(0,s.createLocation)(e,r,E(),z.location);O.confirmTransitionTo(a,"PUSH",y,function(e){if(e){var r=I(a),o=a.key,i=a.state;if(n)if(t.pushState({key:o,state:i},null,r),c)window.location.href=r;else{var l=P.indexOf(z.location.key),s=P.slice(0,-1===l?0:l+1);s.push(a.key),P=s,T({action:"PUSH",location:a})}else(0,u.default)(void 0===i,"Browser history cannot push state in browsers that do not support HTML5 history"),window.location.href=r}})},A=function(e,r){(0,u.default)(!("object"===("undefined"===typeof e?"undefined":o(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 a=(0,s.createLocation)(e,r,E(),z.location);O.confirmTransitionTo(a,"REPLACE",y,function(e){if(e){var r=I(a),o=a.key,i=a.state;if(n)if(t.replaceState({key:o,state:i},null,r),c)window.location.replace(r);else{var l=P.indexOf(z.location.key);-1!==l&&(P[l]=a.key),T({action:"REPLACE",location:a})}else(0,u.default)(void 0===i,"Browser history cannot replace state in browsers that do not support HTML5 history"),window.location.replace(r)}})},R=function(e){t.go(e)},D=function(){return R(-1)},L=function(){return R(1)},M=0,U=function(e){M+=e,1===M?((0,h.addEventListener)(window,"popstate",_),r&&(0,h.addEventListener)(window,"hashchange",C)):0===M&&((0,h.removeEventListener)(window,"popstate",_),r&&(0,h.removeEventListener)(window,"hashchange",C))},H=!1,F=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=O.setPrompt(e);return H||(U(1),H=!0),function(){return H&&(H=!1,U(-1)),t()}},B=function(e){var t=O.appendListener(e);return U(1),function(){U(-1),t()}},z={length:t.length,action:"POP",location:j,createHref:I,push:S,replace:A,go:R,goBack:D,goForward:L,block:F,listen:B};return z};t.default=y},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function a(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=n(5),u=n.n(i),c=n(0),l=n.n(c),s=n(1),f=n.n(s),p=n(70),d=n.n(p),h=n(25),m=function(e){function t(){var n,a,i;r(this,t);for(var u=arguments.length,c=Array(u),l=0;l<u;l++)c[l]=arguments[l];return n=a=o(this,e.call.apply(e,[this].concat(c))),a.history=d()(a.props),i=n,o(a,i)}return a(t,e),t.prototype.componentWillMount=function(){u()(!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 l.a.createElement(h.a,{history:this.history,children:this.props.children})},t}(l.a.Component);m.propTypes={basename:f.a.string,getUserConfirmation:f.a.func,hashType:f.a.oneOf(["hashbang","noslash","slash"]),children:f.a.node}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=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},a=n(5),i=r(a),u=n(8),c=r(u),l=n(23),s=n(14),f=n(24),p=r(f),d=n(34),h={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+(0,s.stripLeadingSlash)(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:s.stripLeadingSlash,decodePath:s.addLeadingSlash},slash:{encodePath:s.addLeadingSlash,decodePath:s.addLeadingSlash}},m=function(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)},y=function(e){return window.location.hash=e},v=function(e){var t=window.location.href.indexOf("#");window.location.replace(window.location.href.slice(0,t>=0?t:0)+"#"+e)},b=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,c.default)(d.canUseDOM,"Hash history needs a DOM");var t=window.history,n=(0,d.supportsGoWithoutReloadUsingHash)(),r=e.getUserConfirmation,a=void 0===r?d.getConfirmation:r,u=e.hashType,f=void 0===u?"slash":u,b=e.basename?(0,s.stripTrailingSlash)((0,s.addLeadingSlash)(e.basename)):"",g=h[f],w=g.encodePath,E=g.decodePath,O=function(){var e=E(m());return(0,i.default)(!b||(0,s.hasBasename)(e,b),'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 "'+b+'".'),b&&(e=(0,s.stripBasename)(e,b)),(0,l.createLocation)(e)},T=(0,p.default)(),_=function(e){o(W,e),W.length=t.length,T.notifyListeners(W.location,W.action)},C=!1,x=null,k=function(){var e=m(),t=w(e);if(e!==t)v(t);else{var n=O(),r=W.location;if(!C&&(0,l.locationsAreEqual)(r,n))return;if(x===(0,s.createPath)(n))return;x=null,N(n)}},N=function(e){if(C)C=!1,_();else{T.confirmTransitionTo(e,"POP",a,function(t){t?_({action:"POP",location:e}):j(e)})}},j=function(e){var t=W.location,n=A.lastIndexOf((0,s.createPath)(t));-1===n&&(n=0);var r=A.lastIndexOf((0,s.createPath)(e));-1===r&&(r=0);var o=n-r;o&&(C=!0,M(o))},P=m(),I=w(P);P!==I&&v(I);var S=O(),A=[(0,s.createPath)(S)],R=function(e){return"#"+w(b+(0,s.createPath)(e))},D=function(e,t){(0,i.default)(void 0===t,"Hash history cannot push state; it is ignored");var n=(0,l.createLocation)(e,void 0,void 0,W.location);T.confirmTransitionTo(n,"PUSH",a,function(e){if(e){var t=(0,s.createPath)(n),r=w(b+t);if(m()!==r){x=t,y(r);var o=A.lastIndexOf((0,s.createPath)(W.location)),a=A.slice(0,-1===o?0:o+1);a.push(t),A=a,_({action:"PUSH",location:n})}else(0,i.default)(!1,"Hash history cannot PUSH the same path; a new entry will not be added to the history stack"),_()}})},L=function(e,t){(0,i.default)(void 0===t,"Hash history cannot replace state; it is ignored");var n=(0,l.createLocation)(e,void 0,void 0,W.location);T.confirmTransitionTo(n,"REPLACE",a,function(e){if(e){var t=(0,s.createPath)(n),r=w(b+t);m()!==r&&(x=t,v(r));var o=A.indexOf((0,s.createPath)(W.location));-1!==o&&(A[o]=t),_({action:"REPLACE",location:n})}})},M=function(e){(0,i.default)(n,"Hash history go(n) causes a full page reload in this browser"),t.go(e)},U=function(){return M(-1)},H=function(){return M(1)},F=0,B=function(e){F+=e,1===F?(0,d.addEventListener)(window,"hashchange",k):0===F&&(0,d.removeEventListener)(window,"hashchange",k)},z=!1,V=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=T.setPrompt(e);return z||(B(1),z=!0),function(){return z&&(z=!1,B(-1)),t()}},q=function(e){var t=T.appendListener(e);return B(1),function(){B(-1),t()}},W={length:t.length,action:"POP",location:S,createHref:R,push:D,replace:L,go:M,goBack:U,goForward:H,block:V,listen:q};return W};t.default=b},function(e,t,n){"use strict";var r=n(72);r.a},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function a(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=n(5),u=n.n(i),c=n(0),l=n.n(c),s=n(1),f=n.n(s),p=n(73),d=n.n(p),h=n(26),m=function(e){function t(){var n,a,i;r(this,t);for(var u=arguments.length,c=Array(u),l=0;l<u;l++)c[l]=arguments[l];return n=a=o(this,e.call.apply(e,[this].concat(c))),a.history=d()(a.props),i=n,o(a,i)}return a(t,e),t.prototype.componentWillMount=function(){u()(!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 l.a.createElement(h.a,{history:this.history,children:this.props.children})},t}(l.a.Component);m.propTypes={initialEntries:f.a.array,initialIndex:f.a.number,getUserConfirmation:f.a.func,keyLength:f.a.number,children:f.a.node},t.a=m},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o="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},a=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},i=n(5),u=r(i),c=n(14),l=n(23),s=n(24),f=r(s),p=function(e,t,n){return Math.min(Math.max(e,t),n)},d=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.getUserConfirmation,n=e.initialEntries,r=void 0===n?["/"]:n,i=e.initialIndex,s=void 0===i?0:i,d=e.keyLength,h=void 0===d?6:d,m=(0,f.default)(),y=function(e){a(j,e),j.length=j.entries.length,m.notifyListeners(j.location,j.action)},v=function(){return Math.random().toString(36).substr(2,h)},b=p(s,0,r.length-1),g=r.map(function(e){return"string"===typeof e?(0,l.createLocation)(e,void 0,v()):(0,l.createLocation)(e,void 0,e.key||v())}),w=c.createPath,E=function(e,n){(0,u.default)(!("object"===("undefined"===typeof e?"undefined":o(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=(0,l.createLocation)(e,n,v(),j.location);m.confirmTransitionTo(r,"PUSH",t,function(e){if(e){var t=j.index,n=t+1,o=j.entries.slice(0);o.length>n?o.splice(n,o.length-n,r):o.push(r),y({action:"PUSH",location:r,index:n,entries:o})}})},O=function(e,n){(0,u.default)(!("object"===("undefined"===typeof e?"undefined":o(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=(0,l.createLocation)(e,n,v(),j.location);m.confirmTransitionTo(r,"REPLACE",t,function(e){e&&(j.entries[j.index]=r,y({action:"REPLACE",location:r}))})},T=function(e){var n=p(j.index+e,0,j.entries.length-1),r=j.entries[n];m.confirmTransitionTo(r,"POP",t,function(e){e?y({action:"POP",location:r,index:n}):y()})},_=function(){return T(-1)},C=function(){return T(1)},x=function(e){var t=j.index+e;return t>=0&&t<j.entries.length},k=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return m.setPrompt(e)},N=function(e){return m.appendListener(e)},j={length:g.length,action:"POP",location:g[b],index:b,entries:g,createHref:w,push:E,replace:O,go:T,goBack:_,goForward:C,canGo:x,block:k,listen:N};return j};t.default=d},function(e,t,n){"use strict";function r(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}var o=n(0),a=n.n(o),i=n(1),u=n.n(i),c=n(36),l=n(35),s=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},f="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},p=function(e){var t=e.to,n=e.exact,o=e.strict,i=e.location,u=e.activeClassName,p=e.className,d=e.activeStyle,h=e.style,m=e.isActive,y=e.ariaCurrent,v=r(e,["to","exact","strict","location","activeClassName","className","activeStyle","style","isActive","ariaCurrent"]);return a.a.createElement(c.a,{path:"object"===("undefined"===typeof t?"undefined":f(t))?t.pathname:t,exact:n,strict:o,location:i,children:function(e){var n=e.location,r=e.match,o=!!(m?m(r,n):r);return a.a.createElement(l.a,s({to:t,className:o?[p,u].filter(function(e){return e}).join(" "):p,style:o?s({},h,d):h,"aria-current":o&&y},v))}})};p.propTypes={to:l.a.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,ariaCurrent:u.a.oneOf(["page","step","location","true"])},p.defaultProps={activeClassName:"active",ariaCurrent:"true"}},function(e,t,n){function r(e,t){for(var n,r=[],o=0,a=0,i="",u=t&&t.delimiter||"/";null!=(n=b.exec(e));){var s=n[0],f=n[1],p=n.index;if(i+=e.slice(a,p),a=p+s.length,f)i+=f[1];else{var d=e[a],h=n[2],m=n[3],y=n[4],v=n[5],g=n[6],w=n[7];i&&(r.push(i),i="");var E=null!=h&&null!=d&&d!==h,O="+"===g||"*"===g,T="?"===g||"*"===g,_=n[2]||u,C=y||v;r.push({name:m||o++,prefix:h||"",delimiter:_,optional:T,repeat:O,partial:E,asterisk:!!w,pattern:C?l(C):w?".*":"[^"+c(_)+"]+?"})}}return a<e.length&&(i+=e.substr(a)),i&&r.push(i),r}function o(e,t){return u(r(e,t))}function a(e){return encodeURI(e).replace(/[\/?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function i(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,r){for(var o="",u=n||{},c=r||{},l=c.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&&(o+=f.prefix);continue}throw new TypeError('Expected "'+f.name+'" to be defined')}if(v(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=l(d[h]),!t[s].test(p))throw new TypeError('Expected all "'+f.name+'" to match "'+f.pattern+'", but received `'+JSON.stringify(p)+"`");o+=(0===h?f.prefix:f.delimiter)+p}}else{if(p=f.asterisk?i(d):l(d),!t[s].test(p))throw new TypeError('Expected "'+f.name+'" to match "'+f.pattern+'", but received "'+p+'"');o+=f.prefix+p}}else o+=f}return o}}function c(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function l(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function s(e,t){return e.keys=t,e}function f(e){return e.sensitive?"":"i"}function p(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 s(e,t)}function d(e,t,n){for(var r=[],o=0;o<e.length;o++)r.push(y(e[o],t,n).source);return s(new RegExp("(?:"+r.join("|")+")",f(n)),t)}function h(e,t,n){return m(r(e,n),t,n)}function m(e,t,n){v(t)||(n=t||n,t=[]),n=n||{};for(var r=n.strict,o=!1!==n.end,a="",i=0;i<e.length;i++){var u=e[i];if("string"===typeof u)a+=c(u);else{var l=c(u.prefix),p="(?:"+u.pattern+")";t.push(u),u.repeat&&(p+="(?:"+l+p+")*"),p=u.optional?u.partial?l+"("+p+")?":"(?:"+l+"("+p+"))?":l+"("+p+")",a+=p}}var d=c(n.delimiter||"/"),h=a.slice(-d.length)===d;return r||(a=(h?a.slice(0,-d.length):a)+"(?:"+d+"(?=$))?"),a+=o?"$":r&&h?"":"(?="+d+"|$)",s(new RegExp("^"+a,f(n)),t)}function y(e,t,n){return v(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?p(e,t):v(e)?d(e,t,n):h(e,t,n)}var v=n(76);e.exports=y,e.exports.parse=r,e.exports.compile=o,e.exports.tokensToFunction=u,e.exports.tokensToRegExp=m;var b=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g")},function(e,t){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},function(e,t,n){"use strict";var r=n(78);r.a},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function a(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=n(0),u=n.n(i),c=n(1),l=n.n(c),s=n(8),f=n.n(s),p=function(e){function t(){return r(this,t),o(this,e.apply(this,arguments))}return a(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(){f()(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}(u.a.Component);p.propTypes={when:l.a.bool,message:l.a.oneOfType([l.a.func,l.a.string]).isRequired},p.defaultProps={when:!0},p.contextTypes={router:l.a.shape({history:l.a.shape({block:l.a.func.isRequired}).isRequired}).isRequired},t.a=p},function(e,t,n){"use strict";var r=n(80);t.a=r.a},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function a(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=n(0),u=n.n(i),c=n(1),l=n.n(c),s=n(5),f=n.n(s),p=n(8),d=n.n(p),h=n(81),m=function(e){function t(){return r(this,t),o(this,e.apply(this,arguments))}return a(t,e),t.prototype.isStatic=function(){return this.context.router&&this.context.router.staticContext},t.prototype.componentWillMount=function(){d()(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=Object(h.a)(e.to),n=Object(h.a)(this.props.to);if(Object(h.b)(t,n))return void f()(!1,"You tried to redirect to the same route you're currently on: \""+n.pathname+n.search+'"');this.perform()},t.prototype.perform=function(){var e=this.context.router.history,t=this.props,n=t.push,r=t.to;n?e.push(r):e.replace(r)},t.prototype.render=function(){return null},t}(u.a.Component);m.propTypes={push:l.a.bool,from:l.a.string,to:l.a.oneOfType([l.a.string,l.a.object]).isRequired},m.defaultProps={push:!1},m.contextTypes={router:l.a.shape({history:l.a.shape({push:l.a.func.isRequired,replace:l.a.func.isRequired}).isRequired,staticContext:l.a.object}).isRequired},t.a=m},function(e,t,n){"use strict";var r=(n(82),n(83),n(84),n(19));n.d(t,"a",function(){return r.a}),n.d(t,"b",function(){return r.b});n(15)},function(e,t,n){"use strict";var r=n(5),o=(n.n(r),n(8));n.n(o),n(19),n(15),n(28),n(38),"function"===typeof Symbol&&Symbol.iterator,Object.assign},function(e,t,n){"use strict";var r=n(5),o=(n.n(r),n(8)),a=(n.n(o),n(19),n(15));n(28),n(38),Object.assign,a.f,a.a,a.a,a.a},function(e,t,n){"use strict";var r=n(5);n.n(r),n(15),n(19),n(28),"function"===typeof Symbol&&Symbol.iterator,Object.assign},function(e,t,n){"use strict";var r=n(86);r.a},function(e,t,n){"use strict";function r(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}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function i(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)}var u=n(5),c=n.n(u),l=n(8),s=n.n(l),f=n(0),p=n.n(f),d=n(1),h=n.n(d),m=n(14),y=(n.n(m),n(26)),v=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},b=function(e){var t=e.pathname,n=void 0===t?"/":t,r=e.search,o=void 0===r?"":r,a=e.hash,i=void 0===a?"":a;return{pathname:n,search:"?"===o?"":o,hash:"#"===i?"":i}},g=function(e,t){return e?v({},t,{pathname:Object(m.addLeadingSlash)(e)+t.pathname}):t},w=function(e,t){if(!e)return t;var n=Object(m.addLeadingSlash)(e);return 0!==t.pathname.indexOf(n)?t:v({},t,{pathname:t.pathname.substr(n.length)})},E=function(e){return"string"===typeof e?Object(m.parsePath)(e):b(e)},O=function(e){return"string"===typeof e?e:Object(m.createPath)(e)},T=function(e){return function(){s()(!1,"You cannot %s with <StaticRouter>",e)}},_=function(){},C=function(e){function t(){var n,r,i;o(this,t);for(var u=arguments.length,c=Array(u),l=0;l<u;l++)c[l]=arguments[l];return n=r=a(this,e.call.apply(e,[this].concat(c))),r.createHref=function(e){return Object(m.addLeadingSlash)(r.props.basename+O(e))},r.handlePush=function(e){var t=r.props,n=t.basename,o=t.context;o.action="PUSH",o.location=g(n,E(e)),o.url=O(o.location)},r.handleReplace=function(e){var t=r.props,n=t.basename,o=t.context;o.action="REPLACE",o.location=g(n,E(e)),o.url=O(o.location)},r.handleListen=function(){return _},r.handleBlock=function(){return _},i=n,a(r,i)}return i(t,e),t.prototype.getChildContext=function(){return{router:{staticContext:this.props.context}}},t.prototype.componentWillMount=function(){c()(!this.props.history,"<StaticRouter> ignores the history prop. To use a custom history, use `import { Router }` instead of `import { StaticRouter as Router }`.")},t.prototype.render=function(){var e=this.props,t=e.basename,n=(e.context,e.location),o=r(e,["basename","context","location"]),a={createHref:this.createHref,action:"POP",location:w(t,E(n)),push:this.handlePush,replace:this.handleReplace,go:T("go"),goBack:T("goBack"),goForward:T("goForward"),listen:this.handleListen,block:this.handleBlock};return p.a.createElement(y.a,v({},o,{history:a}))},t}(p.a.Component);C.propTypes={basename:h.a.string,context:h.a.object.isRequired,location:h.a.oneOfType([h.a.string,h.a.object])},C.defaultProps={basename:"",location:"/"},C.childContextTypes={router:h.a.object.isRequired},t.a=C},function(e,t,n){"use strict";var r=n(88);t.a=r.a},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function a(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=n(0),u=n.n(i),c=n(1),l=n.n(c),s=n(5),f=n.n(s),p=n(8),d=n.n(p),h=n(27),m=function(e){function t(){return r(this,t),o(this,e.apply(this,arguments))}return a(t,e),t.prototype.componentWillMount=function(){d()(this.context.router,"You should not use <Switch> outside a <Router>")},t.prototype.componentWillReceiveProps=function(e){f()(!(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.'),f()(!(!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 u.a.Children.forEach(t,function(t){if(u.a.isValidElement(t)){var a=t.props,i=a.path,c=a.exact,l=a.strict,s=a.sensitive,f=a.from,p=i||f;null==r&&(o=t,r=p?Object(h.a)(n.pathname,{path:p,exact:c,strict:l,sensitive:s}):e.match)}}),r?u.a.cloneElement(o,{location:n,computedMatch:r}):null},t}(u.a.Component);m.contextTypes={router:l.a.shape({route:l.a.object.isRequired}).isRequired},m.propTypes={children:l.a.node,location:l.a.object},t.a=m},function(e,t,n){"use strict";var r=n(27);r.a},function(e,t,n){"use strict";var r=n(91);t.a=r.a},function(e,t,n){"use strict";function r(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}var o=n(0),a=n.n(o),i=n(1),u=n.n(i),c=n(92),l=n.n(c),s=n(37),f=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},p=function(e){var t=function(t){var n=t.wrappedComponentRef,o=r(t,["wrappedComponentRef"]);return a.a.createElement(s.a,{render:function(t){return a.a.createElement(e,f({},o,t,{ref:n}))}})};return t.displayName="withRouter("+(e.displayName||e.name)+")",t.WrappedComponent=e,t.propTypes={wrappedComponentRef:u.a.func},l()(t,e)};t.a=p},function(e,t,n){!function(t,n){e.exports=n()}(0,function(){"use strict";var e={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},t={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},n=Object.defineProperty,r=Object.getOwnPropertyNames,o=Object.getOwnPropertySymbols,a=Object.getOwnPropertyDescriptor,i=Object.getPrototypeOf,u=i&&i(Object);return function c(l,s,f){if("string"!==typeof s){if(u){var p=i(s);p&&p!==u&&c(l,p,f)}var d=r(s);o&&(d=d.concat(o(s)));for(var h=0;h<d.length;++h){var m=d[h];if(!e[m]&&!t[m]&&(!f||!f[m])){var y=a(s,m);try{n(l,m,y)}catch(e){}}}return l}return l}})},function(e,t,n){"use strict";function r(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}n.d(t,"a",function(){return y});var o=n(0),a=n.n(o),i=n(10),u=n(2),c=n(94),l=n(96),s=n(147),f=n(4),p=n(3),d=n(149),h=(n.n(d),n(150)),m=(n.n(h),function(e){var t=e.className,n=r(e,["className"]),o=n.location,i=o.search;"?"===i[0]&&(i=i.substring(1));for(var d=i.split("&"),h={},m=0;m<d.length;m++){var y=d[m].split("=");h[decodeURIComponent(y[0])]=decodeURIComponent(y[1])}var v=h.fullscreen,b=Object(u.a)("app",t),g=a.a.createElement("div",{className:"app-container"},a.a.createElement(c.a,{className:"app-aside"}),a.a.createElement(l.a,{className:"app-main"}));return v&&(b=Object(u.a)("app","fullscreen",t),g=a.a.createElement("div",{className:"app-container"},a.a.createElement(l.a,{className:"app-main"}))),!!window.MSInputMethodContext&&!!document.documentMode&&(b=Object(u.a)(b,"ie11")),a.a.createElement("div",{className:b},a.a.createElement(s.a,{className:"app-navbar"}),a.a.createElement(f.a,{top:p.a,right:p.b,bottom:p.d,left:p.b},g))}),y=Object(i.f)(m)},function(e,t,n){"use strict";function r(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}n.d(t,"a",function(){return l});var o=n(0),a=n.n(o),i=n(10),u=n(2),c=n(95),l=(n.n(c),function(e){var t=e.className,n=r(e,["className"]),o=Object(u.a)("aside",t);return a.a.createElement("aside",Object.assign({className:o},n),a.a.createElement("div",{className:"aside-mainlinks"},a.a.createElement("ul",null,a.a.createElement("li",null,a.a.createElement(i.b,{className:"title-s",to:"/"},"Dashboard")),a.a.createElement("li",null,a.a.createElement(i.b,{className:"title-s",to:"/projects"},"Projects")))),a.a.createElement("div",{className:"aside-additionallinks"},a.a.createElement("ul",null,a.a.createElement("li",null,a.a.createElement("a",{className:"caption-s",href:"https://github.com/eclipse/sirius-components/issues",target:"_blank",rel:"noopener noreferrer"},"Report an issue")),a.a.createElement("li",null,a.a.createElement("a",{className:"caption-s",href:"https://stackoverflow.com/questions/tagged/sirius",target:"_blank",rel:"noopener noreferrer"},"Help")))))})},function(e,t){},function(e,t,n){"use strict";function r(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}n.d(t,"a",function(){return g});var o=n(0),a=n.n(o),i=n(10),u=n(2),c=n(97),l=n(106),s=n(107),f=n(113),p=n(118),d=n(4),h=n(3),m=n(137),y=n(141),v=n(143),b=n(145),g=function(e){var t=e.className,n=r(e,["className"]),o=Object(u.a)("main",t);return a.a.createElement("main",Object.assign({className:o},n),a.a.createElement(d.a,{right:h.a,left:h.a},a.a.createElement(l.a,null,a.a.createElement(i.e,null,a.a.createElement(i.d,{exact:!0,path:"/",render:w}),a.a.createElement(i.d,{exact:!0,path:"/projects",render:E}),a.a.createElement(i.d,{exact:!0,path:"/projects/:projectName",render:O}),a.a.createElement(i.d,{exact:!0,path:"/newproject",render:T})))))},w=function(){return a.a.createElement(m.a,null,function(e,t,n){return a.a.createElement(c.a,{stateId:e,error:t,dashboard:n})})},E=function(){return a.a.createElement(y.a,null,function(e,t,n){return a.a.createElement(s.a,{stateId:e,error:t,projects:n})})},O=function(){return a.a.createElement(b.a,null,function(e,t,n,r,o,i,u){return a.a.createElement(p.a,{stateId:e,error:t,project:n,pageIdentifier:r,onTabClick:o,onActivityClick:i,onNewDescription:u})})},T=function(){return a.a.createElement(v.a,null,function(e,t,n,r,o,i,u,c){return a.a.createElement(f.a,{stateId:e,errors:t,isValid:n,onSubmit:r,name:o,nameIsValid:i,nameErrors:u,onNameChange:c})})}},function(e,t,n){"use strict";function r(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}n.d(t,"a",function(){return b});var o=n(0),a=n.n(o),i=n(10),u=n(1),c=n.n(u),l=n(2),s=n(12),f=n(16),p=n(100),d=n(11),h=n(103),m=n(39),y=n(105),v=(n.n(y),{stateId:c.a.string.isRequired}),b=function(e){var t=e.className,n=e.stateId,o=e.error,a=e.dashboard,i=r(e,["className","stateId","error","dashboard"]);switch(n){case m.h:return g(t,i);case m.b:return w(t,o,i);case m.a:return E(t,a,i);default:var u={title:"The dashboard is in an unsupported state: "+n,message:"Contact your administrator to find a suitable solution",code:s.c};return w(t,u,i)}};b.propTypes=v;var g=function(e,t){return a.a.createElement(d.a,Object.assign({className:e},t))},w=function(e,t,n){return a.a.createElement(f.a,Object.assign({className:e},t,n))},E=function(e,t,n){var r=Object(l.a)("dashboardview",e),o=t.projectsCount,u=t.viewpointsCount,c=t.metamodelsCount;return a.a.createElement("div",Object.assign({className:r},n),a.a.createElement("div",{className:"info"},a.a.createElement(p.a,{className:"projectsinfo",title:o.toString(),message:"Projects"}),a.a.createElement(p.a,{className:"viewpointsinfo",title:u.toString(),message:"Viewpoints"}),a.a.createElement(p.a,{className:"metamodelsinfo",title:c.toString(),message:"Metamodels"})),a.a.createElement("div",{className:"projects"},a.a.createElement("div",{className:"projects-body"},a.a.createElement(i.b,{to:"/newproject"},a.a.createElement(p.a,{className:"newprojectinfo",title:"+",message:"New Project",to:""})),t.projects.map(function(e){return a.a.createElement(h.a,{key:e.name,project:e})}))))}},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(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}n.d(t,"a",function(){return h});var o=n(0),a=n.n(o),i=n(1),u=n.n(i),c=n(2),l=n(9),s=n(4),f=n(3),p=n(101),d=(n.n(p),{title:u.a.string.isRequired,message:u.a.string}),h=function(e){var t=e.className,n=e.title,o=e.message,i=r(e,["className","title","message"]),u=Object(c.a)("infocard",t);return a.a.createElement(l.a,Object.assign({},i,{className:u}),a.a.createElement(s.a,{top:f.a,right:f.a,bottom:f.a,left:f.a},a.a.createElement("div",{className:"infocard-container"},a.a.createElement("h1",{className:"infocard-title"},n),a.a.createElement("p",{className:"infocard-message"},o))))};h.propTypes=d},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(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}n.d(t,"a",function(){return m});var o=n(0),a=n.n(o),i=n(10),u=n(1),c=n.n(u),l=n(9),s=n(4),f=n(3),p=n(6),d=n(7),h={project:c.a.object.isRequired},m=function(e){var t=e.project,n=r(e,["project"]);return a.a.createElement(l.a,Object.assign({className:"projectsummarycard"},n),a.a.createElement(i.b,{to:"/projects/"+t.name},a.a.createElement(s.a,{top:f.b,right:f.b,bottom:f.b,left:f.b},a.a.createElement(p.a,{weight:d.j,size:d.f,hideOverflow:!0},t.name))),a.a.createElement(s.a,{top:f.c,right:f.b,bottom:f.b,left:f.b},a.a.createElement(p.a,null,t.description||"No description provided")))};m.propTypes=h},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function a(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return f});var i=n(0),u=n.n(i),c=n(12),l=n(16),s=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}}(),f=function(e){function t(e){r(this,t);var n=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={error:null},n}return a(t,e),s(t,[{key:"componentDidCatch",value:function(e,t){this.setState({error:e})}},{key:"render",value:function(){var e=this.state.error;return e?u.a.createElement(l.a,{code:c.a,title:"An unexpected error has appeared during the rendering",message:e.message}):this.props.children}}]),t}(i.Component)},function(e,t,n){"use strict";function r(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}n.d(t,"a",function(){return y});var o=n(0),a=n.n(o),i=n(1),u=n.n(i),c=n(2),l=n(12),s=n(108),f=n(16),p=n(11),d=n(110),h=n(40),m={stateId:u.a.string.isRequired},y=function(e){var t=e.className,n=e.stateId,o=e.error,a=e.projects,i=r(e,["className","stateId","error","projects"]);switch(n){case h.g:return v(t,i);case h.a:return b(t,o,i);case h.h:return g(t,i);case h.i:return w(t,a,i);default:var u={title:"The projects list is in an unsupported state: "+n,message:"Contact your administrator to find a suitable solution",code:l.c};return b(t,u,i)}};y.propTypes=m;var v=function(e,t){var n=Object(c.a)("",e);return a.a.createElement(p.a,Object.assign({className:n},t))},b=function(e,t,n){var r=Object(c.a)("",e);return a.a.createElement(f.a,Object.assign({className:r},t,n))},g=function(e,t){var n=Object(c.a)("",e);return a.a.createElement(s.a,Object.assign({title:"You haven't created any projects yet",message:"Once you start creating new projects, you will be able to see them here",className:n},t))},w=function(e,t,n){var r=Object(c.a)("listprojectsview",e);return a.a.createElement("div",{className:r},a.a.createElement(d.a,Object.assign({projects:t},n)))}},function(e,t,n){"use strict";function r(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}n.d(t,"a",function(){return h});var o=n(0),a=n.n(o),i=n(1),u=n.n(i),c=n(2),l=n(9),s=n(4),f=n(3),p=n(109),d=(n.n(p),{title:u.a.string.isRequired,message:u.a.string.isRequired}),h=function(e){var t=e.className,n=e.title,o=e.message,i=r(e,["className","title","message"]),u=Object(c.a)("blankcard",t);return a.a.createElement(l.a,Object.assign({},i,{className:u}),a.a.createElement(s.a,{top:f.a,right:f.a,left:f.a,bottom:f.a},a.a.createElement("div",{className:"blankcard-container"},a.a.createElement(s.a,{bottom:f.b},a.a.createElement("h1",{className:"title-l"},n)),a.a.createElement("p",null,o))))};h.propTypes=d},function(e,t){},function(e,t,n){"use strict";function r(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}n.d(t,"a",function(){return w});var o=n(0),a=n.n(o),i=n(10),u=n(1),c=n.n(u),l=n(2),s=n(9),f=n(20),p=n(13),d=n(4),h=n(3),m=n(6),y=n(7),v=n(112),b=(n.n(v),{projects:c.a.array.isRequired}),g={projects:[]},w=function(e){var t=e.className,n=e.projects,o=r(e,["className","projects"]),u=Object(l.a)("projectslistcard",t);return a.a.createElement(s.a,Object.assign({className:u},o),a.a.createElement(d.a,{top:h.b,right:h.b,bottom:h.b,left:h.b},a.a.createElement(m.a,{weight:y.j,size:y.f},"Projects")),a.a.createElement(f.c,{kind:p.a},n.map(function(e){return a.a.createElement(i.b,{to:"projects/"+e.name,key:e.name},a.a.createElement(f.e,{kind:p.d},a.a.createElement("div",null,a.a.createElement(f.d,null,e.name),a.a.createElement(f.b,null,e.description||"No description provided"))))})))};w.propTypes=b,w.defaultProps=g},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(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}n.d(t,"a",function(){return v});var o=n(0),a=n.n(o),i=n(1),u=n.n(i),c=n(10),l=n(2),s=n(12),f=n(16),p=n(114),d=n(43),h=n(117),m=(n.n(h),{stateId:u.a.string.isRequired,errors:u.a.arrayOf(u.a.string).isRequired,isValid:u.a.bool.isRequired,onSubmit:u.a.func.isRequired,name:u.a.string.isRequired,nameIsValid:u.a.bool.isRequired,nameErrors:u.a.arrayOf(u.a.string).isRequired,onNameChange:u.a.func.isRequired}),y={errors:[],isValid:!1,onSubmit:function(){},name:"",nameIsValid:!1,nameErrors:[],onNameChange:function(){}},v=function(e){var t=e.className,n=e.stateId,o=e.errors,a=e.isValid,i=e.onSubmit,u=e.name,c=e.nameIsValid,l=e.nameErrors,f=e.onNameChange,p=r(e,["className","stateId","errors","isValid","onSubmit","name","nameIsValid","nameErrors","onNameChange"]);switch(n){case d.h:case d.f:return b(t,o,a,i,u,c,l,f);case d.i:return g(u);default:var h={title:"The new project page is in an unsupported state: "+n,message:"Contact your administrator to find a suitable solution",code:s.c};return w(t,h,p)}};v.propTypes=m,v.defaultProps=y;var b=function(e,t,n,r,o,i,u,c){var s=Object(l.a)("newprojectview",e);return a.a.createElement("div",{className:s},a.a.createElement(p.a,{errors:t,isValid:n,onSubmit:r,name:o,nameIsValid:i,nameErrors:u,onNameChange:c}))},g=function(e){return a.a.createElement(c.c,{to:"/projects/"+e})},w=function(e,t,n){var r=Object(l.a)("",e);return a.a.createElement(f.a,Object.assign({className:r},t,n))}},function(e,t,n){"use strict";function r(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}n.d(t,"a",function(){return y});var o=n(0),a=n.n(o),i=n(2),u=n(29),c=n(41),l=n(9),s=n(42),f=n(4),p=n(3),d=n(6),h=n(7),m={},y=function(e){var t=e.className,n=e.errors,o=e.isValid,m=e.onSubmit,y=e.name,v=e.nameIsValid,b=e.nameErrors,g=e.onNameChange,w=r(e,["className","errors","isValid","onSubmit","name","nameIsValid","nameErrors","onNameChange"]),E=Object(i.a)("newprojectcard",t),O="";return!v&&b.length>0&&(O="fielderror"),a.a.createElement(l.a,Object.assign({className:E},w),a.a.createElement(f.a,{top:p.b,right:p.b,bottom:p.b,left:p.b},a.a.createElement(d.a,{weight:h.j,size:h.f,hideOverflow:!0},"New Project")),a.a.createElement(l.b,null),a.a.createElement(s.f,{onSubmit:m},a.a.createElement(s.d,null,n.map(function(e){return a.a.createElement(s.c,{key:e},e)})),a.a.createElement(s.e,null,a.a.createElement(s.g,{htmlFor:"name"},"Name"),a.a.createElement(s.b,null,"The name of the project can only contain letters and numbers separated by dots, dashes or underscores."),a.a.createElement(s.h,{id:"name",name:"name",className:O,placeholder:"Enter the name",value:y,onChange:g}),a.a.createElement(s.d,null,b.map(function(e){return a.a.createElement(s.c,{key:e},e)}))),a.a.createElement(s.a,null,a.a.createElement(u.a,{kind:c.c,disabled:!o},"Create Project"))))};y.propTypes=m},function(e,t){},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(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}n.d(t,"a",function(){return g});var o=n(0),a=n.n(o),i=n(1),u=n.n(i),c=n(2),l=n(12),s=n(16),f=n(11),p=n(119),d=n(129),h=n(134),m=n(135),y=n(44),v=n(136),b=(n.n(v),{stateId:u.a.string}),g=function(e){var t=e.className,n=e.stateId,o=e.error,a=e.project,i=e.pageIdentifier,u=e.onTabClick,c=e.onActivityClick,s=e.onNewDescription,f=r(e,["className","stateId","error","project","pageIdentifier","onTabClick","onActivityClick","onNewDescription"]);switch(n){case y.i:return w(t,f);case y.a:return E(t,o,f);case y.j:return O(t,a,i,u,c,s,f);default:var p={title:"The project is in an unsupported state: "+n,message:"Contact your administrator to find a suitable solution",code:l.c};return E(t,p,f)}};g.propTypes=b;var w=function(e,t){return T(e,{},void 0,function(){},function(){},function(){},!0,t)},E=function(e,t,n){var r=Object(c.a)("",e);return a.a.createElement(s.a,Object.assign({className:r},t,n))},O=function(e,t,n,r,o,a,i){return T(e,t,n,r,o,a,!1,i)},T=function(e,t,n,r,o,i,u,l){var s=Object(c.a)("projectview",e);return a.a.createElement(f.c,{loading:u},a.a.createElement("div",{className:s},a.a.createElement(d.a,{name:t.name,description:t.description,onNewDescription:i}),a.a.createElement("div",{className:"projectview-main"},a.a.createElement("div",{className:"projectview-details"},a.a.createElement(m.a,{semanticResources:t.semanticResources}),a.a.createElement(h.a,{projectName:t.name,representations:t.representations})),a.a.createElement("div",{className:"projectview-workflow"},a.a.createElement(p.a,{projectName:t.name,pageIdentifier:n,pages:t.pages,sections:t.currentPageSections,onTabClick:r,onActivityClick:o})))))}},function(e,t,n){"use strict";function r(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}n.d(t,"a",function(){return O});var o=n(0),a=n.n(o),i=n(1),u=n.n(i),c=n(2),l=n(9),s=n(120),f=n(20),p=n(13),d=n(11),h=n(4),m=n(3),y=n(122),v=n(6),b=n(7),g=n(128),w=(n.n(g),{projectName:u.a.string.isRequired,pageIdentifier:u.a.string.isRequired,pages:u.a.array.isRequired,sections:u.a.array.isRequired,onTabClick:u.a.func,onActivityClick:u.a.func}),E={projectName:"",pageIdentifier:"",pages:[],sections:[],onTabClick:function(){},onActivityClick:function(){}},O=function(e){for(var t=e.className,n=e.projectName,o=e.pageIdentifier,i=e.pages,u=e.sections,s=e.onTabClick,f=e.onActivityClick,p=r(e,["className","projectName","pageIdentifier","pages","sections","onTabClick","onActivityClick"]),y=0,g=0;g<i.length;g++){i[g].identifier===o&&(y=g)}var w=void 0;i.length>0&&(w=a.a.createElement(_,{sections:u,projectName:n,pageIdentifier:o,onActivityClick:f}));var E=Object(c.a)("workflowcard",t);return a.a.createElement(l.a,Object.assign({},p,{className:E}),a.a.createElement(h.a,{top:m.b,right:m.b,bottom:m.b,left:m.b},a.a.createElement(d.b,null,function(e){return a.a.createElement(v.a,{weight:b.j,size:b.f,loading:e,hideOverflow:!0},"Workflow")})),a.a.createElement(T,{pages:i,selectedTabIndex:y,onTabClick:s}),w)};O.propTypes=w,O.defaultProps=E;var T=function(e){var t=e.pages,n=e.selectedTabIndex,r=e.onTabClick;return 0===t.length?a.a.createElement(h.a,{top:m.c,right:m.b,bottom:m.b,left:m.b},a.a.createElement(d.b,null,function(e){return a.a.createElement(v.a,{loading:e},"No workflow pages found")})):a.a.createElement(y.a,{selectedTabIndex:n,tabs:t.map(function(e){return e.name}),onTabClick:r})},_=function(e){var t=e.sections,n=e.projectName,r=e.pageIdentifier,i=e.onActivityClick;return 0===t.length?a.a.createElement(C,null):t.map(function(e,u){return a.a.createElement(o.Fragment,{key:e.identifier},a.a.createElement(x,{key:e.identifier,projectName:n,pageIdentifier:r,section:e,onActivityClick:i}),u+1<t.length?a.a.createElement(l.b,null):null)})},C=function(){return a.a.createElement(h.a,{top:m.c,right:m.b,bottom:m.b,left:m.b},a.a.createElement(v.a,null,"No sections found in the workflow."))},x=function(e){var t=e.className,n=e.projectName,o=e.pageIdentifier,i=e.section,u=e.onActivityClick,l=r(e,["className","projectName","pageIdentifier","section","onActivityClick"]),s=Object(c.a)("section",t);return a.a.createElement("div",Object.assign({className:s},l),a.a.createElement(h.a,{top:m.b,right:m.b,bottom:m.b,left:m.b},a.a.createElement(v.a,{weight:b.j,size:b.h,hideOverflow:!0},i.name)),a.a.createElement(k,{activities:i.activities,onActivityClick:u,projectName:n,pageIdentifier:o,sectionIdentifier:i.identifier}))},k=function(e){var t=e.activities,n=e.onActivityClick,r=e.projectName,o=e.pageIdentifier,i=e.sectionIdentifier;return 0===t.length?a.a.createElement(j,null):a.a.createElement(N,{activities:t,onActivityClick:n,projectName:r,pageIdentifier:o,sectionIdentifier:i})},N=function(e){var t=e.activities,n=e.onActivityClick,r=e.projectName,o=e.pageIdentifier,i=e.sectionIdentifier;return a.a.createElement(f.c,{kind:p.a},t.map(function(e){return a.a.createElement(f.e,{kind:p.b,key:e.identifier},a.a.createElement(f.d,null,e.name),a.a.createElement(f.a,null,a.a.createElement(s.a,{onClick:function(){return n(r,o,i,e.identifier)}})))}))},j=function(){return a.a.createElement(h.a,{top:m.c,right:m.b,bottom:m.b,left:m.b},a.a.createElement(v.a,null,"No activities in the section."))}},function(e,t,n){"use strict";function r(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}n.d(t,"a",function(){return c});var o=n(0),a=n.n(o),i=n(2),u=n(121),c=(n.n(u),function(e){var t=e.className,n=r(e,["className"]),o=Object(i.a)("iconrun",t);return a.a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",className:o,height:"16",width:"16"},n),a.a.createElement("polygon",{points:"0,0 16,8 0,16"}))})},function(e,t){},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function a(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return g});var i=n(0),u=n.n(i),c=n(1),l=n.n(c),s=n(2),f=n(6),p=n(7),d=n(123),h=n(125),m=n(127),y=(n.n(m),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}}()),v={tabs:l.a.array.isRequired,onTabClick:l.a.func.isRequired,selectedTabIndex:l.a.number.isRequired,numberOfTabsDisplayed:l.a.number.isRequired},b={tabs:[],onTabClick:function(){},selectedTabIndex:0,numberOfTabsDisplayed:3},g=function(e){function t(e){r(this,t);var n=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleTabBarNavClick=n.handleTabBarNavClick.bind(n),n.handleTabClick=n.handleTabClick.bind(n),n.state=Object(h.b)(void 0,e,h.a.newInitializeAction()),n}return a(t,e),y(t,[{key:"dispatch",value:function(e,t){this.setState(function(t,n){return Object(h.b)(t,n,e)},t)}},{key:"handleTabBarNavClick",value:function(e){var t=e.target,n=t.getAttribute("data-side");if("previous"===n&&this.state.isPreviousAvailable){var r=h.a.newHandlePreviousAction();this.dispatch(r)}else if("next"===n&&this.state.isNextAvailable){var o=h.a.newHandleNextAction();this.dispatch(o)}}},{key:"handleTabClick",value:function(e,t){var n=this.props.onTabClick,r=h.a.newHandleTabSelectedAction(t);this.dispatch(r,function(){return n(t)})}},{key:"getTabBarNavClassNames",value:function(e,t){var n="tabbar-nav";return e?t&&(n=Object(s.a)("tabbar-nav","tabbar-nav--contain-selection")):n=Object(s.a)("tabbar-nav","tabbar-nav--disabled"),n}},{key:"renderTabs",value:function(e,t,n,r){for(var o=[],a=Math.min(e.length,t+r),i=t;i<a;i++){var c=e[i];o.push(u.a.createElement(d.a,{key:c,index:i,onClick:this.handleTabClick,selected:i===n},c))}return o}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.tabs,r=e.numberOfTabsDisplayed,o=this.state,a=o.index,i=o.isPreviousAvailable,c=o.isNextAvailable,l=o.selectedTabIndex,d=l<a,h=a+r<l+1,m=Object(s.a)("tabbar",t),y=this.getTabBarNavClassNames(i,d),v=this.getTabBarNavClassNames(c,h),b=this.renderTabs(n,a,l,r);return u.a.createElement("div",{className:m},u.a.createElement("div",{className:y,onClick:this.handleTabBarNavClick,"data-side":"previous"},u.a.createElement(f.a,{weight:p.j},"<")),u.a.createElement("div",{className:"tabbar-tabs"},b),u.a.createElement("div",{className:v,onClick:this.handleTabBarNavClick,"data-side":"next"},u.a.createElement(f.a,{weight:p.j},">")))}}]),t}(i.Component);g.propTypes=v,g.defaultProps=b},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function a(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return v});var i=n(0),u=n.n(i),c=n(1),l=n.n(c),s=n(2),f=n(6),p=n(7),d=n(124),h=(n.n(d),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}}()),m={selected:l.a.bool.isRequired,index:l.a.number.isRequired,onClick:l.a.func.isRequired},y={selected:!1,onClick:function(){}},v=function(e){function t(e){r(this,t);var n=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleTabClick=n.handleTabClick.bind(n),n}return a(t,e),h(t,[{key:"handleTabClick",value:function(e){var t=this.props,n=t.index;(0,t.onClick)(e,n)}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.children,r=e.selected,o="tab";return r&&(o=Object(s.a)(o,"tab--selected")),o=Object(s.a)(o,t),u.a.createElement("div",{className:o,onClick:this.handleTabClick},u.a.createElement(f.a,{weight:p.j,size:p.h,hideOverflow:!0},n))}}]),t}(i.Component);v.propTypes=m,v.defaultProps=y},function(e,t){},function(e,t,n){"use strict";n.d(t,"a",function(){return f}),n.d(t,"b",function(){return p});var r=n(17),o=n(126),a=function(e,t,n){switch(n.kind){case o.e:var r=i(t.tabs,0,t.selectedTabIndex,t.numberOfTabsDisplayed);return r.stateId=o.h,r;case o.b:var a=i(t.tabs,e.index+1,e.selectedTabIndex,t.numberOfTabsDisplayed);return a.stateId=o.g,a;case o.c:var u=i(t.tabs,e.index-1,e.selectedTabIndex,t.numberOfTabsDisplayed);return u.stateId=o.g,u;case o.d:var c=i(t.tabs,e.index,n.selectedTabIndex,t.numberOfTabsDisplayed);return c.stateId=o.g,c;default:return e}},i=function(e,t,n,r){return{index:t,isPreviousAvailable:t>0,isNextAvailable:e.length>t+r,selectedTabIndex:n}},u=function(){return{kind:o.e}},c=function(){return{kind:o.b}},l=function(){return{kind:o.c}},s=function(e){return{kind:o.d,selectedTabIndex:e}},f={newInitializeAction:u,newHandleNextAction:c,newHandlePreviousAction:l,newHandleTabSelectedAction:s},p=Object(r.a)(o.a,a,o.f)},function(e,t,n){"use strict";n.d(t,"f",function(){return r}),n.d(t,"h",function(){return o}),n.d(t,"g",function(){return a}),n.d(t,"e",function(){return i}),n.d(t,"b",function(){return u}),n.d(t,"c",function(){return c}),n.d(t,"d",function(){return l}),n.d(t,"a",function(){return s});var r="INITIAL__STATE",o="PRISTINE__STATE",a="MOVED__STATE",i="INITIALIZE__ACTION",u="HANDLE_NEXT__ACTION",c="HANDLE_PREVIOUS__ACTION",l="HANDLE_TAB_SELECTED__ACTION",s={INITIAL__STATE:{INITIALIZE__ACTION:[o]},PRISTINE__STATE:{HANDLE_NEXT__ACTION:[a],HANDLE_PREVIOUS__ACTION:[a],HANDLE_TAB_SELECTED__ACTION:[a]},MOVED__STATE:{HANDLE_NEXT__ACTION:[a],HANDLE_PREVIOUS__ACTION:[a],HANDLE_TAB_SELECTED__ACTION:[a]}}},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(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}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function i(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)}n.d(t,"a",function(){return T});var u=n(0),c=n.n(u),l=n(1),s=n.n(l),f=n(2),p=n(9),d=n(11),h=n(4),m=n(3),y=n(6),v=n(7),b=n(130),g=n(132),w=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}}(),E={name:s.a.string.isRequired,description:s.a.string,onNewDescription:s.a.func.isRequired},O={name:"",onNewDescription:function(){}},T=function(e){function t(e){o(this,t);var n=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleEditClick=n.handleEditClick.bind(n),n.handleNewDescription=n.handleNewDescription.bind(n),n.state={isViewingDescription:!0},n}return i(t,e),w(t,[{key:"handleEditClick",value:function(){this.setState({isViewingDescription:!1})}},{key:"handleNewDescription",value:function(e){var t=this;this.setState({isViewingDescription:!0},function(){(0,t.props.onNewDescription)(e)})}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.name,o=e.description,a=(e.onNewDescription,r(e,["className","name","description","onNewDescription"])),i=this.state.isViewingDescription,u=Object(f.a)("projectheadercard",t);return c.a.createElement(p.a,Object.assign({className:u},a),c.a.createElement(h.a,{top:m.b,right:m.b,bottom:m.b,left:m.b},c.a.createElement(d.b,null,function(e){return c.a.createElement(y.a,{weight:v.j,size:v.d,hideOverflow:!0,loading:e},n)})),c.a.createElement(h.a,{top:m.c,right:m.b,bottom:m.c,left:m.b},i?c.a.createElement(g.a,{description:o||"No description provided",onEditClick:this.handleEditClick}):c.a.createElement(b.a,{description:o,onNewDescription:this.handleNewDescription})))}}]),t}(u.Component);T.propTypes=E,T.defaultProps=O},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function a(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return b});var i=n(0),u=n.n(i),c=n(1),l=n.n(c),s=n(29),f=n(42),p=n(4),d=n(3),h=n(131),m=(n.n(h),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}}()),y={description:l.a.string.isRequired,onNewDescription:l.a.func.isRequired},v={description:""},b=function(e){function t(e){r(this,t);var n=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleDescriptionChange=n.handleDescriptionChange.bind(n),n.handleDoneClick=n.handleDoneClick.bind(n),n.state={description:e.description},n}return a(t,e),m(t,[{key:"handleDescriptionChange",value:function(e){var t=e.target.value;this.setState({description:t})}},{key:"handleDoneClick",value:function(){(0,this.props.onNewDescription)(this.state.description)}},{key:"render",value:function(){var e=this.state.description;return u.a.createElement("div",{className:"editdescription"},u.a.createElement(f.h,{value:e,onChange:this.handleDescriptionChange}),u.a.createElement(p.a,{left:d.b},u.a.createElement(s.a,{onClick:this.handleDoneClick},"Done")))}}]),t}(i.Component);b.propTypes=y,b.defaultProps=v},function(e,t){},function(e,t,n){"use strict";function r(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}n.d(t,"a",function(){return y});var o=n(0),a=n.n(o),i=n(1),u=n.n(i),c=n(2),l=n(29),s=n(11),f=n(4),p=n(3),d=n(6),h=n(133),m=(n.n(h),{description:u.a.string.isRequired,onEditClick:u.a.func.isRequired}),y=function(e){var t=e.className,n=e.description,o=e.onEditClick,i=r(e,["className","description","onEditClick"]),u=Object(c.a)("viewdescription",t);return a.a.createElement("div",Object.assign({className:u},i),a.a.createElement(s.b,null,function(e){return a.a.createElement(a.a.Fragment,null,a.a.createElement(d.a,{className:"viewdescription-text",loading:e},n),a.a.createElement(f.a,{left:p.b},a.a.createElement(l.a,{onClick:o,loading:e},"Edit")))}))};y.propTypes=m},function(e,t){},function(e,t,n){"use strict";function r(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}n.d(t,"a",function(){return g});var o=n(0),a=n.n(o),i=n(1),u=n.n(i),c=n(2),l=n(9),s=n(20),f=n(13),p=n(11),d=n(4),h=n(3),m=n(6),y=n(7),v={representations:u.a.array.isRequired},b={representations:[]},g=function(e){var t=e.className,n=e.projectName,o=e.representations,i=r(e,["className","projectName","representations"]),u=Object(c.a)("projectrepresentationslistcard",t);return a.a.createElement(l.a,Object.assign({className:u},i),a.a.createElement(d.a,{top:h.b,right:h.b,bottom:h.b,left:h.b},a.a.createElement(p.b,null,function(e){return a.a.createElement(m.a,{weight:y.j,size:y.f,loading:e,hideOverflow:!0},"Representations")})),a.a.createElement(w,{projectName:n,representations:o}))};g.propTypes=v,g.defaultProps=b;var w=function(e){var t=e.projectName,n=e.representations;return n.length>0?a.a.createElement(E,{projectName:t,representations:n}):a.a.createElement(O,null)},E=function(e){var t=(e.projectName,e.representations);return a.a.createElement(s.c,{kind:f.a},t.map(function(e){return a.a.createElement(s.e,{kind:f.d,key:e.name},a.a.createElement("div",null,a.a.createElement(s.d,null,e.name),a.a.createElement(s.b,null,e.descriptionName)))}))},O=function(){return a.a.createElement(d.a,{top:h.c,right:h.b,bottom:h.b,left:h.b},a.a.createElement(p.b,null,function(e){return a.a.createElement(m.a,{loading:e},"No representation has been found on the project.")}))}},function(e,t,n){"use strict";function r(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}n.d(t,"a",function(){return g});var o=n(0),a=n.n(o),i=n(1),u=n.n(i),c=n(2),l=n(9),s=n(20),f=n(13),p=n(11),d=n(4),h=n(3),m=n(6),y=n(7),v={semanticResources:u.a.array.isRequired},b={semanticResources:[]},g=function(e){var t=e.className,n=e.semanticResources,o=r(e,["className","semanticResources"]),i=Object(c.a)("projectsemanticresourceslistcard",t);return a.a.createElement(l.a,Object.assign({className:i},o),a.a.createElement(d.a,{top:h.b,right:h.b,bottom:h.b,left:h.b},a.a.createElement(p.b,null,function(e){return a.a.createElement(m.a,{weight:y.j,size:y.f,loading:e,hideOverflow:!0},"Semantic Resources")})),a.a.createElement(w,{semanticResources:n}))};g.propTypes=v,g.defaultProps=b;var w=function(e){var t=e.semanticResources;return t.length>0?a.a.createElement(E,{semanticResources:t}):a.a.createElement(O,null)},E=function(e){var t=e.semanticResources;return a.a.createElement(s.c,{kind:f.a},t.map(function(e){return a.a.createElement(s.e,{kind:f.b,key:e.path},a.a.createElement(s.d,null,e.path),a.a.createElement(m.a,{size:y.k},e.size))}))},O=function(){return a.a.createElement(d.a,{top:h.c,right:h.b,bottom:h.b,left:h.b},a.a.createElement(p.b,null,function(e){return a.a.createElement(m.a,{loading:e},"No semantic resource has been found on the project.")}))}},function(e,t){},function(e,t,n){"use strict";function r(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function r(o,a){try{var i=t[o](a),u=i.value}catch(e){return void n(e)}if(!i.done)return Promise.resolve(u).then(function(e){r("next",e)},function(e){r("throw",e)});e(u)}return r("next")})}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function i(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)}n.d(t,"a",function(){return p});var u=n(21),c=n.n(u),l=n(0),s=(n.n(l),n(140)),f=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}}(),p=function(e){function t(e){o(this,t);var n=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state=Object(s.b)(void 0,e,s.a.newInitializeAction()),n}return i(t,e),f(t,[{key:"componentDidMount",value:function(){function e(){return t.apply(this,arguments)}var t=r(c.a.mark(function e(){var t,n,r,o,a,i;return c.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,fetch("/api/dashboard");case 3:if(t=e.sent,n=void 0,!t.ok){e.next=12;break}return e.next=8,t.json();case 8:r=e.sent,n=s.a.newHandleDashboardFetchedAction(r),e.next=14;break;case 12:o=t.statusText,a=t.status,n=s.a.newInvalidResponseAction(o,a);case 14:this.dispatch(n),e.next=21;break;case 17:e.prev=17,e.t0=e.catch(0),i=s.a.newUnexpectedErrorAction(e.t0),this.dispatch(i);case 21:case"end":return e.stop()}},e,this,[[0,17]])}));return e}()},{key:"dispatch",value:function(e){this.setState(function(t,n){return Object(s.b)(t,n,e)})}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.render,r=void 0===n?t:n,o=this.state;return r(o.stateId,o.error,o.dashboard)}}]),t}(l.Component)},function(e,t,n){var r=function(){return this}()||Function("return this")(),o=r.regeneratorRuntime&&Object.getOwnPropertyNames(r).indexOf("regeneratorRuntime")>=0,a=o&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,e.exports=n(139),o)r.regeneratorRuntime=a;else try{delete r.regeneratorRuntime}catch(e){r.regeneratorRuntime=void 0}},function(e,t){!function(t){"use strict";function n(e,t,n,r){var a=t&&t.prototype instanceof o?t:o,i=Object.create(a.prototype),u=new d(r||[]);return i._invoke=l(e,n,u),i}function r(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function o(){}function a(){}function i(){}function u(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function c(e){function t(n,o,a,i){var u=r(e[n],e,o);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"===typeof l&&b.call(l,"__await")?Promise.resolve(l.__await).then(function(e){t("next",e,a,i)},function(e){t("throw",e,a,i)}):Promise.resolve(l).then(function(e){c.value=e,a(c)},i)}i(u.arg)}function n(e,n){function r(){return new Promise(function(r,o){t(e,n,r,o)})}return o=o?o.then(r,r):r()}var o;this._invoke=n}function l(e,t,n){var o=C;return function(a,i){if(o===k)throw new Error("Generator is already running");if(o===N){if("throw"===a)throw i;return m()}for(n.method=a,n.arg=i;;){var u=n.delegate;if(u){var c=s(u,n);if(c){if(c===j)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===C)throw o=N,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=k;var l=r(e,t,n);if("normal"===l.type){if(o=n.done?N:x,l.arg===j)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=N,n.method="throw",n.arg=l.arg)}}}function s(e,t){var n=e.iterator[t.method];if(n===y){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=y,s(e,t),"throw"===t.method))return j;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return j}var o=r(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,j;var a=o.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=y),t.delegate=null,j):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,j)}function f(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function p(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function d(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(f,this),this.reset(!0)}function h(e){if(e){var t=e[w];if(t)return t.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(b.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=y,t.done=!0,t};return r.next=r}}return{next:m}}function m(){return{value:y,done:!0}}var y,v=Object.prototype,b=v.hasOwnProperty,g="function"===typeof Symbol?Symbol:{},w=g.iterator||"@@iterator",E=g.asyncIterator||"@@asyncIterator",O=g.toStringTag||"@@toStringTag",T="object"===typeof e,_=t.regeneratorRuntime;if(_)return void(T&&(e.exports=_));_=t.regeneratorRuntime=T?e.exports:{},_.wrap=n;var C="suspendedStart",x="suspendedYield",k="executing",N="completed",j={},P={};P[w]=function(){return this};var I=Object.getPrototypeOf,S=I&&I(I(h([])));S&&S!==v&&b.call(S,w)&&(P=S);var A=i.prototype=o.prototype=Object.create(P);a.prototype=A.constructor=i,i.constructor=a,i[O]=a.displayName="GeneratorFunction",_.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===a||"GeneratorFunction"===(t.displayName||t.name))},_.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,i):(e.__proto__=i,O in e||(e[O]="GeneratorFunction")),e.prototype=Object.create(A),e},_.awrap=function(e){return{__await:e}},u(c.prototype),c.prototype[E]=function(){return this},_.AsyncIterator=c,_.async=function(e,t,r,o){var a=new c(n(e,t,r,o));return _.isGeneratorFunction(t)?a:a.next().then(function(e){return e.done?e.value:a.next()})},u(A),A[O]="Generator",A[w]=function(){return this},A.toString=function(){return"[object Generator]"},_.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},_.values=h,d.prototype={constructor:d,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=y,this.done=!1,this.delegate=null,this.method="next",this.arg=y,this.tryEntries.forEach(p),!e)for(var t in this)"t"===t.charAt(0)&&b.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=y)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){function t(t,r){return a.type="throw",a.arg=e,n.next=t,r&&(n.method="next",n.arg=y),!!r}if(this.done)throw e;for(var n=this,r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],a=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var i=b.call(o,"catchLoc"),u=b.call(o,"finallyLoc");if(i&&u){if(this.prev<o.catchLoc)return t(o.catchLoc,!0);if(this.prev<o.finallyLoc)return t(o.finallyLoc)}else if(i){if(this.prev<o.catchLoc)return t(o.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return t(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&b.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,j):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),j},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),p(n),j}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;p(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:h(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=y),j}}}(function(){return this}()||Function("return this")())},function(e,t,n){"use strict";n.d(t,"a",function(){return f}),n.d(t,"b",function(){return p});var r=n(17),o=n(12),a=n(39),i=function(e,t,n){switch(n.kind){case a.f:return{stateId:a.h,dashboard:{projects:[]},error:null};case a.e:return{stateId:a.a,dashboard:n.dashboard,error:null};case a.d:return{stateId:a.b,dashboard:e.dashboard,error:n.error};default:return e}},u=function(){return{kind:a.f}},c=function(e){return{kind:a.e,dashboard:e}},l=function(e,t){return{kind:a.d,error:{title:"An error has occurred while retrieving the dashboard",message:e,code:t}}},s=function(e){return{kind:a.d,error:{title:"Unexpected content retrieved for the dashboard",message:e,code:o.b}}},f={newInitializeAction:u,newHandleDashboardFetchedAction:c,newInvalidResponseAction:l,newUnexpectedErrorAction:s},p=Object(r.a)(a.c,i,a.g)},function(e,t,n){"use strict";function r(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function r(o,a){try{var i=t[o](a),u=i.value}catch(e){return void n(e)}if(!i.done)return Promise.resolve(u).then(function(e){r("next",e)},function(e){r("throw",e)});e(u)}return r("next")})}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function i(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)}n.d(t,"a",function(){return p});var u=n(21),c=n.n(u),l=n(0),s=(n.n(l),n(142)),f=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}}(),p=function(e){function t(e){o(this,t);var n=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state=Object(s.b)(void 0,e,s.a.newInitializeAction()),n}return i(t,e),f(t,[{key:"componentDidMount",value:function(){function e(){return t.apply(this,arguments)}var t=r(c.a.mark(function e(){var t,n,r,o,a,i;return c.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,fetch("/api/projects");case 3:if(t=e.sent,n=void 0,!t.ok){e.next=12;break}return e.next=8,t.json();case 8:r=e.sent,n=s.a.newHandleProjectsFetchedAction(r),e.next=14;break;case 12:o=t.statusText,a=t.status,n=s.a.newInvalidResponseAction(o,a);case 14:this.dispatch(n),e.next=21;break;case 17:e.prev=17,e.t0=e.catch(0),i=s.a.newUnexpectedErrorAction(e.t0),this.dispatch(i);case 21:case"end":return e.stop()}},e,this,[[0,17]])}));return e}()},{key:"dispatch",value:function(e){this.setState(function(t,n){return Object(s.b)(t,n,e)})}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.render,r=void 0===n?t:n,o=this.state;return r(o.stateId,o.error,o.projects)}}]),t}(l.Component)},function(e,t,n){"use strict";n.d(t,"a",function(){return f}),n.d(t,"b",function(){return p});var r=n(17),o=n(12),a=n(40),i=function(e,t,n){switch(n.kind){case a.e:return{stateId:a.g,projects:[],error:void 0};case a.d:return 0===n.projects.length?{stateId:a.h,projects:[],error:void 0}:{stateId:a.i,projects:n.projects,error:void 0};case a.c:return{stateId:a.a,projects:e.projects,error:n.error};default:return e}},u=function(){return{kind:a.e}},c=function(e){return{kind:a.d,projects:e.projects}},l=function(e,t){return{kind:a.c,error:{title:"An error has occurred while retrieving the list of projects",message:e,code:t}}},s=function(e){return{kind:a.c,error:{title:"Unexpected content retrieved for the projects list",message:e,code:o.b}}},f={newInitializeAction:u,newHandleProjectsFetchedAction:c,newInvalidResponseAction:l,newUnexpectedErrorAction:s},p=Object(r.a)(a.b,i,a.f)},function(e,t,n){"use strict";function r(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function r(o,a){try{var i=t[o](a),u=i.value}catch(e){return void n(e)}if(!i.done)return Promise.resolve(u).then(function(e){r("next",e)},function(e){r("throw",e)});e(u)}return r("next")})}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function i(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)}n.d(t,"a",function(){return p});var u=n(21),c=n.n(u),l=n(0),s=(n.n(l),n(144)),f=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}}(),p=function(e){function t(e){o(this,t);var n=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleNameChange=n.handleNameChange.bind(n),n.handleSubmit=n.handleSubmit.bind(n),n.state=Object(s.b)(void 0,e,s.a.newInitializeAction()),n}return i(t,e),f(t,[{key:"handleNameChange",value:function(e){var t=e.target.value;this.dispatch(s.a.newModifyNameAction(t))}},{key:"handleSubmit",value:function(){function e(e){return t.apply(this,arguments)}var t=r(c.a.mark(function e(t){var n,r,o,a,i,u,l,f;return c.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=this.state.name,t.preventDefault(),e.prev=2,r={name:n},o=new Request("/api/projects",{method:"POST",body:JSON.stringify(r)}),e.next=7,fetch(o);case 7:if(a=e.sent,i=a.ok,u=a.statusText,!i){e.next=13;break}this.dispatch(s.a.newCreatedProjectAction()),e.next=19;break;case 13:return l=u,e.next=16,a.json();case 16:f=e.sent,f&&(l=f.message),this.dispatch(s.a.newInvalidResponseAction(l));case 19:e.next=24;break;case 21:e.prev=21,e.t0=e.catch(2),this.dispatch(s.a.newUnexpectedErrorAction(e.t0.message));case 24:case"end":return e.stop()}},e,this,[[2,21]])}));return e}()},{key:"dispatch",value:function(e){this.setState(function(t,n){return Object(s.b)(t,n,e)})}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.render,r=void 0===n?t:n,o=this.state,a=o.stateId,i=o.errors,u=o.isValid,c=o.name,l=o.nameIsValid,s=o.nameErrors;return r(a,i,u,this.handleSubmit,c,l,s,this.handleNameChange)}}]),t}(l.Component)},function(e,t,n){"use strict";n.d(t,"a",function(){return p}),n.d(t,"b",function(){return d});var r=n(17),o=n(43),a=function(e,t,n){switch(n.kind){case o.d:return{stateId:o.h,errors:[],isValid:!1,name:"",nameIsValid:!1,nameErrors:[]};case o.g:var r=n.name,a=i(r),u=0===a.length,c=u;return{stateId:o.f,errors:[],isValid:c,name:r,nameIsValid:u,nameErrors:a};case o.c:var l=[].concat(e.errors);return l.push(n.message),{stateId:o.f,errors:l,isValid:!1};case o.b:return{stateId:o.i};default:return e}},i=function(e){var t=[];return 0===e.trim().length&&t.push("The name is required"),["\\","/",":","*","?",'"',"<",">","|"].forEach(function(n){-1!==e.indexOf(n)&&t.push("The character "+n+" cannot be used in the name")}),"."!==e.trim()&&".."!==e.trim()||t.push("The name cannot have the value . or .."),e.length>0&&"."===e.charAt(e.length-1)&&t.push("The name cannot end with a dot"),e.length>0&&0===e.trim().length?t.push("The name cannot be composed of whitespaces"):e.length!==e.trim().length&&t.push("Remove any whitespace at the beginning or the end"),t},u=function(){return{kind:o.d}},c=function(e){return{kind:o.g,name:e}},l=function(e){return{kind:o.c,message:"An error has occured during the processing of the response"}},s=function(){return{kind:o.b}},f=function(e){return{kind:o.c,message:e}},p={newInitializeAction:u,newModifyNameAction:c,newUnexpectedErrorAction:l,newCreatedProjectAction:s,newInvalidResponseAction:f},d=Object(r.a)(o.a,a,o.e)},function(e,t,n){"use strict";function r(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function r(o,a){try{var i=t[o](a),u=i.value}catch(e){return void n(e)}if(!i.done)return Promise.resolve(u).then(function(e){r("next",e)},function(e){r("throw",e)});e(u)}return r("next")})}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function i(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)}n.d(t,"a",function(){return h});var u=n(21),c=n.n(u),l=n(0),s=(n.n(l),n(10)),f=n(146),p=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}}(),d=function(e){function t(e){o(this,t);var n=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleActivityClick=n.handleActivityClick.bind(n),n.handleTabClick=n.handleTabClick.bind(n),n.handleNewDescription=n.handleNewDescription.bind(n),n.state=Object(f.b)(void 0,e,f.a.newInitializeAction()),n}return i(t,e),p(t,[{key:"componentDidMount",value:function(){function e(){return t.apply(this,arguments)}var t=r(c.a.mark(function e(){return c.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.updateData();case 2:case"end":return e.stop()}},e,this)}));return e}()},{key:"updateData",value:function(){function e(){return t.apply(this,arguments)}var t=r(c.a.mark(function e(){var t,n,r,o,a,i,u;return c.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t=this.props.match.params.projectName,e.next=4,fetch("/api/projects/"+t);case 4:if(n=e.sent,r=void 0,!n.ok){e.next=13;break}return e.next=9,n.json();case 9:o=e.sent,r=f.a.newHandleProjectFetchedAction(o),e.next=15;break;case 13:a=n.statusText,i=n.status,r=f.a.newInvalidResponseAction(a,i);case 15:this.dispatch(r),e.next=22;break;case 18:e.prev=18,e.t0=e.catch(0),u=f.a.newUnexpectedErrorAction(e.t0),this.dispatch(u);case 22:case"end":return e.stop()}},e,this,[[0,18]])}));return e}()},{key:"handleTabClick",value:function(){function e(e){return t.apply(this,arguments)}var t=r(c.a.mark(function e(t){var n,r,o,a,i,u;return c.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=this.state.project.pages,r=n[t].identifier,o=this.props.match.params.projectName,e.prev=3,e.next=6,fetch("/api/projects/"+o+"/pages/"+r);case 6:return a=e.sent,e.next=9,a.json();case 9:i=e.sent,u=f.a.newHandlePageFetchedAction(i),this.dispatch(u),e.next=16;break;case 14:e.prev=14,e.t0=e.catch(3);case 16:case"end":return e.stop()}},e,this,[[3,14]])}));return e}()},{key:"handleActivityClick",value:function(){function e(e,n,r,o){return t.apply(this,arguments)}var t=r(c.a.mark(function e(t,n,r,o){var a,i,u;return c.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,a=new Request("/api/projects/"+t+"/pages/"+n+"/sections/"+r+"/activities/"+o+"/execute",{method:"POST"}),e.next=4,fetch(a);case 4:return i=e.sent,u=i.ok,e.next=9,this.updateData();case 9:e.next=13;break;case 11:e.prev=11,e.t0=e.catch(0);case 13:case"end":return e.stop()}},e,this,[[0,11]])}));return e}()},{key:"handleNewDescription",value:function(){function e(e){return t.apply(this,arguments)}var t=r(c.a.mark(function e(t){var n,r,o,a,i,u,l,s;return c.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=this.state.project,r=n.description,void 0===r&&(r=""),t===r){e.next=20;break}return o=this.props.match.params.projectName,e.prev=5,a=JSON.stringify({description:t}),i=new Request("/api/projects/"+o,{method:"PUT",body:a}),e.next=10,fetch(i);case 10:return u=e.sent,e.next=13,u.json();case 13:l=e.sent,s=f.a.newHandleDescriptionUpdatedAction(l),this.dispatch(s),e.next=20;break;case 18:e.prev=18,e.t0=e.catch(5);case 20:case"end":return e.stop()}},e,this,[[5,18]])}));return e}()},{key:"dispatch",value:function(e){this.setState(function(t,n){return Object(f.b)(t,n,e)})}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.render,r=void 0===n?t:n,o=this.state;return r(o.stateId,o.error,o.project,o.pageIdentifier,this.handleTabClick,this.handleActivityClick,this.handleNewDescription)}}]),t}(l.Component),h=Object(s.f)(d)},function(e,t,n){"use strict";n.d(t,"a",function(){return d}),n.d(t,"b",function(){return h});var r=n(17),o=n(12),a=n(44),i=function(e,t,n){switch(n.kind){case a.g:return{stateId:a.i,project:void 0,pageIdentifier:void 0,error:void 0};case a.f:var r=void 0;return n.project.pages.length>0&&(r=n.project.pages[0].identifier),{stateId:a.j,project:n.project,pageIdentifier:r,error:void 0};case a.e:var o={stateId:a.j,project:e.project,pageIdentifier:n.page.identifier,error:void 0};return o.project.currentPageSections=n.page.sections,o;case a.c:var i={stateId:a.j,project:e.project,pageIdentifier:e.pageIdentifier,error:void 0};return i.project=Object.assign({},i.project,{description:n.description}),i;case a.d:return{stateId:a.a,project:e.project,pageIdentifier:e.pageIdentifier,error:n.error};default:return e}},u=function(){return{kind:a.g}},c=function(e){return{kind:a.f,project:e}},l=function(e){return{kind:a.e,page:e}},s=function(e){return{kind:a.c,description:e.description}},f=function(e,t){return{kind:a.d,error:{title:"An error has occurred while retrieving the project",message:e,code:t}}},p=function(e){return{kind:a.d,error:{title:"Unexpected content retrieved for the project",message:e,code:o.b}}},d={newInitializeAction:u,newHandleProjectFetchedAction:c,newHandlePageFetchedAction:l,newHandleDescriptionUpdatedAction:s,newInvalidResponseAction:f,newUnexpectedErrorAction:p},h=Object(r.a)(a.b,i,a.h)},function(e,t,n){"use strict";function r(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}n.d(t,"a",function(){return p});var o=n(0),a=n.n(o),i=n(2),u=n(4),c=n(3),l=n(6),s=n(7),f=n(148),p=(n.n(f),function(e){var t=e.className,n=r(e,["className"]),o=Object(i.a)("navbar",t);return a.a.createElement("nav",Object.assign({className:o},n),a.a.createElement(u.a,{top:c.c,right:c.b,bottom:c.c,left:c.b},a.a.createElement("div",{className:"navbar-container"},a.a.createElement("div",{className:"navbar-title title-xxl"},a.a.createElement(l.a,{weight:s.a,size:s.c},"Eclipse Sirius")))))})},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){}]);
//# sourceMappingURL=main.91885b73.js.map