!function(){function r(r,e,t,n,u,a,o){try{var i=r[a](o),c=i.value}catch(s){return void t(s)}i.done?e(c):Promise.resolve(c).then(n,u)}function e(e){return function(){var t=this,n=arguments;return new Promise((function(u,a){var o=e.apply(t,n);function i(e){r(o,u,a,i,c,"next",e)}function c(e){r(o,u,a,i,c,"throw",e)}i(void 0)}))}}function t(r,e){return function(r){if(Array.isArray(r))return r}(r)||function(r,e){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null==t)return;var n,u,a=[],o=!0,i=!1;try{for(t=t.call(r);!(o=(n=t.next()).done)&&(a.push(n.value),!e||a.length!==e);o=!0);}catch(c){i=!0,u=c}finally{try{o||null==t.return||t.return()}finally{if(i)throw u}}return a}(r,e)||function(r,e){if(!r)return;if("string"==typeof r)return n(r,e);var t=Object.prototype.toString.call(r).slice(8,-1);"Object"===t&&r.constructor&&(t=r.constructor.name);if("Map"===t||"Set"===t)return Array.from(r);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return n(r,e)}(r,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(r,e){(null==e||e>r.length)&&(e=r.length);for(var t=0,n=new Array(e);t<e;t++)n[t]=r[t];return n}System.register(["./vendor-legacy.046e8265.js"],(function(r){"use strict";var n,u,a;return{setters:[function(r){n=r.r,u=r.U,a=r.j}],execute:function(){r("u",(function(r,o,i,c,s){var f=t(n.exports.useState(!1),2),l=f[0],p=f[1],v=t(n.exports.useState(!1),2),y=v[0],m=v[1],b=t(n.exports.useState(null),2),h=b[0],x=b[1],d=n.exports.useRef();d.current=r;var g=n.exports.useRef();g.current=y;var w=n.exports.useRef(null);function k(r){return R.apply(this,arguments)}function R(){return R=e(regeneratorRuntime.mark((function t(n){var u,a,i,f;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(a=function(){return(a=e(regeneratorRuntime.mark((function r(e){var t,n;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!0===(t=!c||c(e))){r.next=3;break}return r.abrupt("return",t);case 3:if(m(!1),r.t0=!s,r.t0){r.next=9;break}return r.next=8,s(e);case 8:r.t0=r.sent;case 9:if(!0===(n=r.t0)){r.next=12;break}return r.abrupt("return",n);case 12:return r.abrupt("return",!0);case 13:case"end":return r.stop()}}),r)})))).apply(this,arguments)},u=function(r){return a.apply(this,arguments)},!l&&(h!==r||o||n)){t.next=4;break}return t.abrupt("return");case 4:p(!0);case 5:return i=d.current,t.next=9,u(i);case 9:if(f=t.sent,d.current!==i){t.next=13;break}return m(f),t.abrupt("break",15);case 13:t.next=5;break;case 15:x(d.current),p(!1),w.current&&(w.current(),w.current=null);case 18:case"end":return t.stop()}}),t)}))),R.apply(this,arguments)}var S=u(k,i||1);function A(){return(A=e(regeneratorRuntime.mark((function r(e){var t;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(null!==h&&!l&&!e){r.next=5;break}return t=new Promise((function(r){return w.current=r})),l&&!e||k(!0),r.next=5,t;case 5:return r.abrupt("return",!0===g.current);case 6:case"end":return r.stop()}}),r)})))).apply(this,arguments)}return[i?e(regeneratorRuntime.mark((function r(){return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",void S());case 1:case"end":return r.stop()}}),r)}))):k,function(r){return A.apply(this,arguments)},function(){return l?"validating":"string"==typeof y?"error":!0===y?"success":""},function(){return"string"==typeof y?-1!==y.indexOf("\n")?a("div",{style:{marginBottom:6},children:y}):y:null},function(){return d.current}]}))}}}))}();
