%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/opti/public_html/ezone-mortuary.optisoft.com.ng/static/js/
Upload File :
Create Path :
Current File : /home/opti/public_html/ezone-mortuary.optisoft.com.ng/static/js/28.c0ff49c8.chunk.js

/*! For license information please see 28.c0ff49c8.chunk.js.LICENSE.txt */
(this["webpackJsonpezone-mortuary-app"]=this["webpackJsonpezone-mortuary-app"]||[]).push([[28],[function(e,t,n){"use strict";e.exports=n(418)},function(e,t,n){"use strict";function r(){return(r=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}).apply(this,arguments)}n.d(t,"a",(function(){return r}))},function(e,t,n){e.exports=n(420)()},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return y})),n.d(t,"b",(function(){return I})),n.d(t,"c",(function(){return R})),n.d(t,"d",(function(){return s})),n.d(t,"e",(function(){return u})),n.d(t,"f",(function(){return c})),n.d(t,"g",(function(){return f})),n.d(t,"h",(function(){return L})),n.d(t,"i",(function(){return m})),n.d(t,"j",(function(){return U})),n.d(t,"k",(function(){return h})),n.d(t,"l",(function(){return g})),n.d(t,"m",(function(){return G})),n.d(t,"n",(function(){return Z})),n.d(t,"o",(function(){return k})),n.d(t,"p",(function(){return w})),n.d(t,"q",(function(){return A})),n.d(t,"r",(function(){return b})),n.d(t,"s",(function(){return M})),n.d(t,"t",(function(){return j})),n.d(t,"u",(function(){return N})),n.d(t,"v",(function(){return C})),n.d(t,"w",(function(){return E})),n.d(t,"x",(function(){return z})),n.d(t,"y",(function(){return P})),n.d(t,"z",(function(){return _})),n.d(t,"A",(function(){return W})),n.d(t,"B",(function(){return Q})),n.d(t,"C",(function(){return O})),n.d(t,"D",(function(){return Y})),n.d(t,"E",(function(){return H})),n.d(t,"F",(function(){return V}));var r=n(10),o=!1,i=!1,a="${JSCORE_VERSION}",s=function(e,t){if(!e)throw u(t)},u=function(e){return new Error("Firebase Database ("+a+") INTERNAL ASSERT FAILED: "+e)},l=function(e){for(var t=[],n=0,r=0;r<e.length;r++){var o=e.charCodeAt(r);o<128?t[n++]=o:o<2048?(t[n++]=o>>6|192,t[n++]=63&o|128):55296===(64512&o)&&r+1<e.length&&56320===(64512&e.charCodeAt(r+1))?(o=65536+((1023&o)<<10)+(1023&e.charCodeAt(++r)),t[n++]=o>>18|240,t[n++]=o>>12&63|128,t[n++]=o>>6&63|128,t[n++]=63&o|128):(t[n++]=o>>12|224,t[n++]=o>>6&63|128,t[n++]=63&o|128)}return t},c={byteToCharMap_:null,charToByteMap_:null,byteToCharMapWebSafe_:null,charToByteMapWebSafe_:null,ENCODED_VALS_BASE:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",get ENCODED_VALS(){return this.ENCODED_VALS_BASE+"+/="},get ENCODED_VALS_WEBSAFE(){return this.ENCODED_VALS_BASE+"-_."},HAS_NATIVE_SUPPORT:"function"===typeof atob,encodeByteArray:function(e,t){if(!Array.isArray(e))throw Error("encodeByteArray takes an array as a parameter");this.init_();for(var n=t?this.byteToCharMapWebSafe_:this.byteToCharMap_,r=[],o=0;o<e.length;o+=3){var i=e[o],a=o+1<e.length,s=a?e[o+1]:0,u=o+2<e.length,l=u?e[o+2]:0,c=i>>2,f=(3&i)<<4|s>>4,d=(15&s)<<2|l>>6,p=63&l;u||(p=64,a||(d=64)),r.push(n[c],n[f],n[d],n[p])}return r.join("")},encodeString:function(e,t){return this.HAS_NATIVE_SUPPORT&&!t?btoa(e):this.encodeByteArray(l(e),t)},decodeString:function(e,t){return this.HAS_NATIVE_SUPPORT&&!t?atob(e):function(e){for(var t=[],n=0,r=0;n<e.length;){var o=e[n++];if(o<128)t[r++]=String.fromCharCode(o);else if(o>191&&o<224){var i=e[n++];t[r++]=String.fromCharCode((31&o)<<6|63&i)}else if(o>239&&o<365){var a=((7&o)<<18|(63&(i=e[n++]))<<12|(63&(s=e[n++]))<<6|63&e[n++])-65536;t[r++]=String.fromCharCode(55296+(a>>10)),t[r++]=String.fromCharCode(56320+(1023&a))}else{i=e[n++];var s=e[n++];t[r++]=String.fromCharCode((15&o)<<12|(63&i)<<6|63&s)}}return t.join("")}(this.decodeStringToByteArray(e,t))},decodeStringToByteArray:function(e,t){this.init_();for(var n=t?this.charToByteMapWebSafe_:this.charToByteMap_,r=[],o=0;o<e.length;){var i=n[e.charAt(o++)],a=o<e.length?n[e.charAt(o)]:0,s=++o<e.length?n[e.charAt(o)]:64,u=++o<e.length?n[e.charAt(o)]:64;if(++o,null==i||null==a||null==s||null==u)throw Error();var l=i<<2|a>>4;if(r.push(l),64!==s){var c=a<<4&240|s>>2;if(r.push(c),64!==u){var f=s<<6&192|u;r.push(f)}}}return r},init_:function(){if(!this.byteToCharMap_){this.byteToCharMap_={},this.charToByteMap_={},this.byteToCharMapWebSafe_={},this.charToByteMapWebSafe_={};for(var e=0;e<this.ENCODED_VALS.length;e++)this.byteToCharMap_[e]=this.ENCODED_VALS.charAt(e),this.charToByteMap_[this.byteToCharMap_[e]]=e,this.byteToCharMapWebSafe_[e]=this.ENCODED_VALS_WEBSAFE.charAt(e),this.charToByteMapWebSafe_[this.byteToCharMapWebSafe_[e]]=e,e>=this.ENCODED_VALS_BASE.length&&(this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(e)]=e,this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(e)]=e)}}},f=function(e){var t=l(e);return c.encodeByteArray(t,!0)},d=function(e){return f(e).replace(/\./g,"")},p=function(e){try{return c.decodeString(e,!0)}catch(t){console.error("base64Decode failed: ",t)}return null};function h(e){return g(void 0,e)}function g(e,t){if(!(t instanceof Object))return t;switch(t.constructor){case Date:return new Date(t.getTime());case Object:void 0===e&&(e={});break;case Array:e=[];break;default:return t}for(var n in t)t.hasOwnProperty(n)&&"__proto__"!==n&&(e[n]=g(e[n],t[n]));return e}var y=function(){function e(){var e=this;this.reject=function(){},this.resolve=function(){},this.promise=new Promise((function(t,n){e.resolve=t,e.reject=n}))}return e.prototype.wrapCallback=function(e){var t=this;return function(n,r){n?t.reject(n):t.resolve(r),"function"===typeof e&&(t.promise.catch((function(){})),1===e.length?e(n):e(n,r))}},e}();function m(e,t){if(e.uid)throw new Error('The "uid" field is no longer supported by mockUserToken. Please use "sub" instead for Firebase Auth User ID.');var n=t||"demo-project",o=e.iat||0,i=e.sub||e.user_id;if(!i)throw new Error("mockUserToken must contain 'sub' or 'user_id' field!");var a=Object(r.a)({iss:"https://securetoken.google.com/"+n,aud:n,iat:o,exp:o+3600,auth_time:o,sub:i,user_id:i,firebase:{sign_in_provider:"custom",identities:{}}},e);return[d(JSON.stringify({alg:"none",type:"JWT"})),d(JSON.stringify(a)),""].join(".")}function v(){return"undefined"!==typeof navigator&&"string"===typeof navigator.userAgent?navigator.userAgent:""}function b(){return"undefined"!==typeof window&&!!(window.cordova||window.phonegap||window.PhoneGap)&&/ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(v())}function M(){try{return"[object process]"===Object.prototype.toString.call(e.process)}catch(t){return!1}}function w(){return"object"===typeof self&&self.self===self}function N(){return"object"===typeof navigator&&"ReactNative"===navigator.product}function j(){return!0===o||!0===i}var S=function(e){function t(n,r,o){var i=e.call(this,r)||this;return i.code=n,i.customData=o,i.name="FirebaseError",Object.setPrototypeOf(i,t.prototype),Error.captureStackTrace&&Error.captureStackTrace(i,I.prototype.create),i}return Object(r.c)(t,e),t}(Error),I=function(){function e(e,t,n){this.service=e,this.serviceName=t,this.errors=n}return e.prototype.create=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=t[0]||{},o=this.service+"/"+e,i=this.errors[e],a=i?D(i,r):"Error",s=this.serviceName+": "+a+" ("+o+").",u=new S(o,s,r);return u},e}();function D(e,t){return e.replace(x,(function(e,n){var r=t[n];return null!=r?String(r):"<"+n+"?>"}))}var x=/\{\$([^}]+)}/g;function E(e){return JSON.parse(e)}function O(e){return JSON.stringify(e)}var T=function(e){var t={},n={},r={},o="";try{var i=e.split(".");t=E(p(i[0])||""),n=E(p(i[1])||""),o=i[2],r=n.d||{},delete n.d}catch(a){}return{header:t,claims:n,data:r,signature:o}},C=function(e){var t=T(e).claims;return!!t&&"object"===typeof t&&t.hasOwnProperty("iat")},k=function(e){var t=T(e).claims;return"object"===typeof t&&!0===t.admin};function L(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function _(e,t){return Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0}function A(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return!0}function z(e,t,n){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(r[o]=t.call(n,e[o],o,e));return r}function P(e){for(var t=[],n=function(e,n){Array.isArray(n)?n.forEach((function(n){t.push(encodeURIComponent(e)+"="+encodeURIComponent(n))})):t.push(encodeURIComponent(e)+"="+encodeURIComponent(n))},r=0,o=Object.entries(e);r<o.length;r++){var i=o[r];n(i[0],i[1])}return t.length?"&"+t.join("&"):""}var R=function(){function e(){this.chain_=[],this.buf_=[],this.W_=[],this.pad_=[],this.inbuf_=0,this.total_=0,this.blockSize=64,this.pad_[0]=128;for(var e=1;e<this.blockSize;++e)this.pad_[e]=0;this.reset()}return e.prototype.reset=function(){this.chain_[0]=1732584193,this.chain_[1]=4023233417,this.chain_[2]=2562383102,this.chain_[3]=271733878,this.chain_[4]=3285377520,this.inbuf_=0,this.total_=0},e.prototype.compress_=function(e,t){t||(t=0);var n=this.W_;if("string"===typeof e)for(var r=0;r<16;r++)n[r]=e.charCodeAt(t)<<24|e.charCodeAt(t+1)<<16|e.charCodeAt(t+2)<<8|e.charCodeAt(t+3),t+=4;else for(r=0;r<16;r++)n[r]=e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3],t+=4;for(r=16;r<80;r++){var o=n[r-3]^n[r-8]^n[r-14]^n[r-16];n[r]=4294967295&(o<<1|o>>>31)}var i,a,s=this.chain_[0],u=this.chain_[1],l=this.chain_[2],c=this.chain_[3],f=this.chain_[4];for(r=0;r<80;r++){r<40?r<20?(i=c^u&(l^c),a=1518500249):(i=u^l^c,a=1859775393):r<60?(i=u&l|c&(u|l),a=2400959708):(i=u^l^c,a=3395469782);o=(s<<5|s>>>27)+i+f+a+n[r]&4294967295;f=c,c=l,l=4294967295&(u<<30|u>>>2),u=s,s=o}this.chain_[0]=this.chain_[0]+s&4294967295,this.chain_[1]=this.chain_[1]+u&4294967295,this.chain_[2]=this.chain_[2]+l&4294967295,this.chain_[3]=this.chain_[3]+c&4294967295,this.chain_[4]=this.chain_[4]+f&4294967295},e.prototype.update=function(e,t){if(null!=e){void 0===t&&(t=e.length);for(var n=t-this.blockSize,r=0,o=this.buf_,i=this.inbuf_;r<t;){if(0===i)for(;r<=n;)this.compress_(e,r),r+=this.blockSize;if("string"===typeof e){for(;r<t;)if(o[i]=e.charCodeAt(r),++r,++i===this.blockSize){this.compress_(o),i=0;break}}else for(;r<t;)if(o[i]=e[r],++r,++i===this.blockSize){this.compress_(o),i=0;break}}this.inbuf_=i,this.total_+=t}},e.prototype.digest=function(){var e=[],t=8*this.total_;this.inbuf_<56?this.update(this.pad_,56-this.inbuf_):this.update(this.pad_,this.blockSize-(this.inbuf_-56));for(var n=this.blockSize-1;n>=56;n--)this.buf_[n]=255&t,t/=256;this.compress_(this.buf_);var r=0;for(n=0;n<5;n++)for(var o=24;o>=0;o-=8)e[r]=this.chain_[n]>>o&255,++r;return e},e}();function U(e,t){var n=new B(e,t);return n.subscribe.bind(n)}var B=function(){function e(e,t){var n=this;this.observers=[],this.unsubscribes=[],this.observerCount=0,this.task=Promise.resolve(),this.finalized=!1,this.onNoObservers=t,this.task.then((function(){e(n)})).catch((function(e){n.error(e)}))}return e.prototype.next=function(e){this.forEachObserver((function(t){t.next(e)}))},e.prototype.error=function(e){this.forEachObserver((function(t){t.error(e)})),this.close(e)},e.prototype.complete=function(){this.forEachObserver((function(e){e.complete()})),this.close()},e.prototype.subscribe=function(e,t,n){var r,o=this;if(void 0===e&&void 0===t&&void 0===n)throw new Error("Missing Observer.");void 0===(r=function(e,t){if("object"!==typeof e||null===e)return!1;for(var n=0,r=t;n<r.length;n++){var o=r[n];if(o in e&&"function"===typeof e[o])return!0}return!1}(e,["next","error","complete"])?e:{next:e,error:t,complete:n}).next&&(r.next=F),void 0===r.error&&(r.error=F),void 0===r.complete&&(r.complete=F);var i=this.unsubscribeOne.bind(this,this.observers.length);return this.finalized&&this.task.then((function(){try{o.finalError?r.error(o.finalError):r.complete()}catch(e){}})),this.observers.push(r),i},e.prototype.unsubscribeOne=function(e){void 0!==this.observers&&void 0!==this.observers[e]&&(delete this.observers[e],this.observerCount-=1,0===this.observerCount&&void 0!==this.onNoObservers&&this.onNoObservers(this))},e.prototype.forEachObserver=function(e){if(!this.finalized)for(var t=0;t<this.observers.length;t++)this.sendOne(t,e)},e.prototype.sendOne=function(e,t){var n=this;this.task.then((function(){if(void 0!==n.observers&&void 0!==n.observers[e])try{t(n.observers[e])}catch(r){"undefined"!==typeof console&&console.error&&console.error(r)}}))},e.prototype.close=function(e){var t=this;this.finalized||(this.finalized=!0,void 0!==e&&(this.finalError=e),this.task.then((function(){t.observers=void 0,t.onNoObservers=void 0})))},e}();function F(){}var Y=function(e,t,n,r){var o;if(r<t?o="at least "+t:r>n&&(o=0===n?"none":"no more than "+n),o)throw new Error(e+" failed: Was called with "+r+(1===r?" argument.":" arguments.")+" Expects "+o+".")};function G(e,t){return e+" failed: "+t+" argument "}function H(e,t,n,r){if((!r||n)&&"function"!==typeof n)throw new Error(G(e,t)+"must be a valid function.")}function V(e,t,n,r){if((!r||n)&&("object"!==typeof n||null===n))throw new Error(G(e,t)+"must be a valid context object.")}var Q=function(e){for(var t=[],n=0,r=0;r<e.length;r++){var o=e.charCodeAt(r);if(o>=55296&&o<=56319){var i=o-55296;r++,s(r<e.length,"Surrogate pair missing trail surrogate."),o=65536+(i<<10)+(e.charCodeAt(r)-56320)}o<128?t[n++]=o:o<2048?(t[n++]=o>>6|192,t[n++]=63&o|128):o<65536?(t[n++]=o>>12|224,t[n++]=o>>6&63|128,t[n++]=63&o|128):(t[n++]=o>>18|240,t[n++]=o>>12&63|128,t[n++]=o>>6&63|128,t[n++]=63&o|128)}return t},W=function(e){for(var t=0,n=0;n<e.length;n++){var r=e.charCodeAt(n);r<128?t++:r<2048?t+=2:r>=55296&&r<=56319?(t+=4,n++):t+=3}return t};function Z(e){return e&&e._delegate?e._delegate:e}}).call(this,n(59))},function(e,t,n){"use strict";function r(e){var t,n,o="";if("string"===typeof e||"number"===typeof e)o+=e;else if("object"===typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=r(e[t]))&&(o&&(o+=" "),o+=n);else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}t.a=function(){for(var e,t,n=0,o="";n<arguments.length;)(e=arguments[n++])&&(t=r(e))&&(o&&(o+=" "),o+=t);return o}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(37);function o(e,t){if(null==e)return{};var n,o,i=Object(r.a)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(22);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){Object(r.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},function(e,t,n){"use strict";n.d(t,"a",(function(){return B})),n.d(t,"b",(function(){return V})),n.d(t,"c",(function(){return Z}));n(188);var r=n(1),o=n(37),i=n(78),a=n.n(i),s=n(0),u=n.n(s),l=n(380),c=n(138),f=n(114),d=n(50),p=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],h=["reactReduxForwardedRef"],g=[],y=[null,null];function m(e,t){var n=e[1];return[t.payload,n+1]}function v(e,t,n){Object(f.a)((function(){return e.apply(void 0,t)}),n)}function b(e,t,n,r,o,i,a){e.current=r,t.current=o,n.current=!1,i.current&&(i.current=null,a())}function M(e,t,n,r,o,i,a,s,u,l){if(e){var c=!1,f=null,d=function(){if(!c){var e,n,d=t.getState();try{e=r(d,o.current)}catch(p){n=p,f=p}n||(f=null),e===i.current?a.current||u():(i.current=e,s.current=e,a.current=!0,l({type:"STORE_UPDATED",payload:{error:n}}))}};n.onStateChange=d,n.trySubscribe(),d();return function(){if(c=!0,n.tryUnsubscribe(),n.onStateChange=null,f)throw f}}}var w=function(){return[null,0]};function N(e,t){void 0===t&&(t={});var n=t,i=n.getDisplayName,f=void 0===i?function(e){return"ConnectAdvanced("+e+")"}:i,N=n.methodName,j=void 0===N?"connectAdvanced":N,S=n.renderCountProp,I=void 0===S?void 0:S,D=n.shouldHandleStateChanges,x=void 0===D||D,E=n.storeKey,O=void 0===E?"store":E,T=(n.withRef,n.forwardRef),C=void 0!==T&&T,k=n.context,L=void 0===k?d.a:k,_=Object(o.a)(n,p),A=L;return function(t){var n=t.displayName||t.name||"Component",i=f(n),d=Object(r.a)({},_,{getDisplayName:f,methodName:j,renderCountProp:I,shouldHandleStateChanges:x,storeKey:O,displayName:i,wrappedComponentName:n,WrappedComponent:t}),p=_.pure;var N=p?s.useMemo:function(e){return e()};function S(n){var i=Object(s.useMemo)((function(){var e=n.reactReduxForwardedRef,t=Object(o.a)(n,h);return[n.context,e,t]}),[n]),a=i[0],f=i[1],p=i[2],j=Object(s.useMemo)((function(){return a&&a.Consumer&&Object(l.isContextConsumer)(u.a.createElement(a.Consumer,null))?a:A}),[a,A]),S=Object(s.useContext)(j),I=Boolean(n.store)&&Boolean(n.store.getState)&&Boolean(n.store.dispatch);Boolean(S)&&Boolean(S.store);var D=I?n.store:S.store,E=Object(s.useMemo)((function(){return function(t){return e(t.dispatch,d)}(D)}),[D]),O=Object(s.useMemo)((function(){if(!x)return y;var e=Object(c.a)(D,I?null:S.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[D,I,S]),T=O[0],C=O[1],k=Object(s.useMemo)((function(){return I?S:Object(r.a)({},S,{subscription:T})}),[I,S,T]),L=Object(s.useReducer)(m,g,w),_=L[0][0],z=L[1];if(_&&_.error)throw _.error;var P=Object(s.useRef)(),R=Object(s.useRef)(p),U=Object(s.useRef)(),B=Object(s.useRef)(!1),F=N((function(){return U.current&&p===R.current?U.current:E(D.getState(),p)}),[D,_,p]);v(b,[R,P,B,p,F,U,C]),v(M,[x,D,T,E,R,P,B,U,C,z],[D,T,E]);var Y=Object(s.useMemo)((function(){return u.a.createElement(t,Object(r.a)({},F,{ref:f}))}),[f,t,F]);return Object(s.useMemo)((function(){return x?u.a.createElement(j.Provider,{value:k},Y):Y}),[j,Y,k])}var D=p?u.a.memo(S):S;if(D.WrappedComponent=t,D.displayName=S.displayName=i,C){var E=u.a.forwardRef((function(e,t){return u.a.createElement(D,Object(r.a)({},e,{reactReduxForwardedRef:t}))}));return E.displayName=i,E.WrappedComponent=t,a()(E,t)}return a()(D,t)}}function j(e,t){return e===t?0!==e||0!==t||1/e===1/t:e!==e&&t!==t}function S(e,t){if(j(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=0;o<n.length;o++)if(!Object.prototype.hasOwnProperty.call(t,n[o])||!j(e[n[o]],t[n[o]]))return!1;return!0}function I(e){return function(t,n){var r=e(t,n);function o(){return r}return o.dependsOnOwnProps=!1,o}}function D(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function x(e,t){return function(t,n){n.displayName;var r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=D(e);var o=r(t,n);return"function"===typeof o&&(r.mapToProps=o,r.dependsOnOwnProps=D(o),o=r(t,n)),o},r}}var E=[function(e){return"function"===typeof e?x(e):void 0},function(e){return e?void 0:I((function(e){return{dispatch:e}}))},function(e){return e&&"object"===typeof e?I((function(t){return function(e,t){var n={},r=function(r){var o=e[r];"function"===typeof o&&(n[r]=function(){return t(o.apply(void 0,arguments))})};for(var o in e)r(o);return n}(e,t)})):void 0}];var O=[function(e){return"function"===typeof e?x(e):void 0},function(e){return e?void 0:I((function(){return{}}))}];function T(e,t,n){return Object(r.a)({},n,e,t)}var C=[function(e){return"function"===typeof e?function(e){return function(t,n){n.displayName;var r,o=n.pure,i=n.areMergedPropsEqual,a=!1;return function(t,n,s){var u=e(t,n,s);return a?o&&i(u,r)||(r=u):(a=!0,r=u),r}}}(e):void 0},function(e){return e?void 0:function(){return T}}];var k=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function L(e,t,n,r){return function(o,i){return n(e(o,i),t(r,i),i)}}function _(e,t,n,r,o){var i,a,s,u,l,c=o.areStatesEqual,f=o.areOwnPropsEqual,d=o.areStatePropsEqual,p=!1;function h(o,p){var h=!f(p,a),g=!c(o,i);return i=o,a=p,h&&g?(s=e(i,a),t.dependsOnOwnProps&&(u=t(r,a)),l=n(s,u,a)):h?(e.dependsOnOwnProps&&(s=e(i,a)),t.dependsOnOwnProps&&(u=t(r,a)),l=n(s,u,a)):g?function(){var t=e(i,a),r=!d(t,s);return s=t,r&&(l=n(s,u,a)),l}():l}return function(o,c){return p?h(o,c):(s=e(i=o,a=c),u=t(r,a),l=n(s,u,a),p=!0,l)}}function A(e,t){var n=t.initMapStateToProps,r=t.initMapDispatchToProps,i=t.initMergeProps,a=Object(o.a)(t,k),s=n(e,a),u=r(e,a),l=i(e,a);return(a.pure?_:L)(s,u,l,e,a)}var z=["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"];function P(e,t,n){for(var r=t.length-1;r>=0;r--){var o=t[r](e);if(o)return o}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function R(e,t){return e===t}function U(e){var t=void 0===e?{}:e,n=t.connectHOC,i=void 0===n?N:n,a=t.mapStateToPropsFactories,s=void 0===a?O:a,u=t.mapDispatchToPropsFactories,l=void 0===u?E:u,c=t.mergePropsFactories,f=void 0===c?C:c,d=t.selectorFactory,p=void 0===d?A:d;return function(e,t,n,a){void 0===a&&(a={});var u=a,c=u.pure,d=void 0===c||c,h=u.areStatesEqual,g=void 0===h?R:h,y=u.areOwnPropsEqual,m=void 0===y?S:y,v=u.areStatePropsEqual,b=void 0===v?S:v,M=u.areMergedPropsEqual,w=void 0===M?S:M,N=Object(o.a)(u,z),j=P(e,s,"mapStateToProps"),I=P(t,l,"mapDispatchToProps"),D=P(n,f,"mergeProps");return i(p,Object(r.a)({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:j,initMapDispatchToProps:I,initMergeProps:D,pure:d,areStatesEqual:g,areOwnPropsEqual:m,areStatePropsEqual:b,areMergedPropsEqual:w},N))}}var B=U();function F(){return Object(s.useContext)(d.a)}function Y(e){void 0===e&&(e=d.a);var t=e===d.a?F:function(){return Object(s.useContext)(e)};return function(){return t().store}}var G=Y();function H(e){void 0===e&&(e=d.a);var t=e===d.a?G:Y(e);return function(){return t().dispatch}}var V=H(),Q=function(e,t){return e===t};function W(e){void 0===e&&(e=d.a);var t=e===d.a?F:function(){return Object(s.useContext)(e)};return function(e,n){void 0===n&&(n=Q);var r=t(),o=function(e,t,n,r){var o,i=Object(s.useReducer)((function(e){return e+1}),0)[1],a=Object(s.useMemo)((function(){return Object(c.a)(n,r)}),[n,r]),u=Object(s.useRef)(),l=Object(s.useRef)(),d=Object(s.useRef)(),p=Object(s.useRef)(),h=n.getState();try{if(e!==l.current||h!==d.current||u.current){var g=e(h);o=void 0!==p.current&&t(g,p.current)?p.current:g}else o=p.current}catch(y){throw u.current&&(y.message+="\nThe error may be correlated with this previous error:\n"+u.current.stack+"\n\n"),y}return Object(f.a)((function(){l.current=e,d.current=h,p.current=o,u.current=void 0})),Object(f.a)((function(){function e(){try{var e=n.getState();if(e===d.current)return;var r=l.current(e);if(t(r,p.current))return;p.current=r,d.current=e}catch(y){u.current=y}i()}return a.onStateChange=e,a.trySubscribe(),e(),function(){return a.tryUnsubscribe()}}),[n,a]),o}(e,n,r.store,r.subscription);return Object(s.useDebugValue)(o),o}}var Z=W(),q=n(15),X=n(196);Object(X.b)(q.unstable_batchedUpdates)},function(e,t,n){"use strict";var r=n(1),o=n(5),i=n(0),a=n.n(i),s=n(78),u=n.n(s),l=n(756),c=n(788),f=n(280),d=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){var i=t.defaultTheme,s=t.withTheme,d=void 0!==s&&s,p=t.name,h=Object(o.a)(t,["defaultTheme","withTheme","name"]);var g=p,y=Object(l.a)(e,Object(r.a)({defaultTheme:i,Component:n,name:p||n.displayName,classNamePrefix:g},h)),m=a.a.forwardRef((function(e,t){e.classes;var s,u=e.innerRef,l=Object(o.a)(e,["classes","innerRef"]),h=y(Object(r.a)({},n.defaultProps,e)),g=l;return("string"===typeof p||d)&&(s=Object(f.a)()||i,p&&(g=Object(c.a)({theme:s,name:p,props:l})),d&&!g.theme&&(g.theme=s)),a.a.createElement(n,Object(r.a)({ref:u||t,classes:h},g))}));return u()(m,n),m}},p=n(104);t.a=function(e,t){return d(e,Object(r.a)({defaultTheme:p.a},t))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(189);function o(e){if("string"!==typeof e)throw new Error(Object(r.a)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},function(e,t,n){"use strict";n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a})),n.d(t,"d",(function(){return s})),n.d(t,"h",(function(){return u})),n.d(t,"e",(function(){return l})),n.d(t,"f",(function(){return c})),n.d(t,"g",(function(){return f}));var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function a(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{u(r.next(e))}catch(t){i(t)}}function s(e){try{u(r.throw(e))}catch(t){i(t)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))}function s(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(s){i=[6,s],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}}Object.create;function u(e){var t="function"===typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function l(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function c(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(l(arguments[t]));return e}function f(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}Object.create},,function(e,t,n){"use strict";t.__esModule=!0,t.reset=t.auth=t.ui=t.validPublicHooks=void 0;var r="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.setup=function(e,t,n,r,o,i,s){var u=M(e,a.default.fromJS({clientBaseUrl:B(r,n),tenantBaseUrl:F(r,n),languageBaseUrl:Y(r,n),auth:U(r),clientID:t,domain:n,emitEventFn:i,hookRunner:o,useTenantInfo:r.__useTenantInfo||!1,hashCleanup:!1!==r.hashCleanup,allowedConnections:a.default.fromJS(r.allowedConnections||[]),useCustomPasswordlessConnection:!0===r.useCustomPasswordlessConnection,ui:T(e,r),defaultADUsernameFromEmailPrefix:!1!==r.defaultADUsernameFromEmailPrefix,prefill:r.prefill||{},connectionResolver:r.connectionResolver,handleEventFn:s,hooks:C(r)}));return u=c.initI18n(u)},t.id=function(e){return e.get("id")},t.clientID=function(e){return b(e,"clientID")},t.domain=function(e){return b(e,"domain")},t.clientBaseUrl=function(e){return b(e,"clientBaseUrl")},t.tenantBaseUrl=function(e){return b(e,"tenantBaseUrl")},t.useTenantInfo=function(e){return b(e,"useTenantInfo")},t.connectionResolver=function(e){return b(e,"connectionResolver")},t.setResolvedConnection=function(e,t){if(!t)return N(e,"resolvedConnection",void 0);if(!t.type||!t.name)throw new Error('Invalid connection object. The resolved connection must look like: `{ type: "database", name: "connection name" }`.');if("database"!==t.type)throw new Error("Invalid connection type. Only database connections can be resolved with a custom resolver.");return N(e,"resolvedConnection",a.default.fromJS(t))},t.resolvedConnection=function(e){var t=b(e,"resolvedConnection");if(!t)return;return Q(e,t.get("name"))},t.languageBaseUrl=function(e){return b(e,"languageBaseUrl")},t.setSubmitting=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return e=O(e=S(e,"submitting",t)),e=n&&!t?x(e,n):E(e)},t.submitting=function(e){return j(e,"submitting",!1)},t.setGlobalError=x,t.globalError=function(e){return j(e,"globalError","")},t.clearGlobalError=E,t.setGlobalSuccess=function(e,t){return S(e,"globalSuccess",t)},t.globalSuccess=function(e){return j(e,"globalSuccess","")},t.clearGlobalSuccess=O,t.setGlobalInfo=function(e,t){return S(e,"globalInfo",t)},t.globalInfo=function(e){return j(e,"globalInfo","")},t.clearGlobalInfo=function(e){return I(e,"globalInfo")},t.rendering=function(e){return j(e,"render",!1)},t.stopRendering=function(e){return I(e,"render")},t.setSupressSubmitOverlay=function(e,t){return N(e,"suppressSubmitOverlay",t)},t.suppressSubmitOverlay=function(e){return b(e,"suppressSubmitOverlay")},t.hooks=function(e){return b(e,"hooks")},t.withAuthOptions=function(e,t){return a.default.fromJS(t).merge(b(e,"auth")).toJS()},t.extractTenantBaseUrlOption=F,t.render=function(e){return S(e,"render",!0)},t.setLoggedIn=function(e,t){return S(e,"loggedIn",t)},t.loggedIn=function(e){return j(e,"loggedIn",!1)},t.defaultADUsernameFromEmailPrefix=function(e){return b(e,"defaultADUsernameFromEmailPrefix",!0)},t.setCaptcha=function(e,t,n){return e=g.reset(e,n),N(e,"captcha",a.default.fromJS(t))},t.captcha=function(e){if("object"!==("undefined"===typeof e?"undefined":r(e)))return;return b(e,"captcha")},t.prefill=function(e){return b(e,"prefill",{})},t.warn=function(e,t){(i.Map.isMap(e)?!P.disableWarnings(e):!e.disableWarnings)&&console&&console.warn&&console.warn(t)},t.error=function(e,t){(i.Map.isMap(e)?!P.disableWarnings(e):!e.disableWarnings)&&console&&console.error&&console.error(t)},t.allowedConnections=G,t.connections=H,t.connection=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return H.apply(void 0,[e,t].concat(r)).get(0)},t.hasOneConnection=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,n=H(e);return 1===n.count()&&(!t||n.getIn([0,"type"])===t)},t.hasOnlyConnections=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,n=H(e).count(),r=arguments.length,o=Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];var a=H.apply(void 0,[e,t].concat(o)).count();return n>0&&n===a},t.hasSomeConnections=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return V.apply(void 0,[e,t].concat(r))>0},t.countConnections=V,t.findConnection=Q,t.hasConnection=function(e,t){return!!Q(e,t)},t.filterConnections=function(e){var t=G(e),n=0===t.count()?function(e){return 0}:function(e){return t.indexOf(e.get("name"))};return S(e,"connections",(0,h.clientConnections)(e).map((function(e){return e.filter((function(e){return n(e)>=0})).sort((function(e,t){return n(e)-n(t)}))})))},t.useCustomPasswordlessConnection=function(e){return b(e,"useCustomPasswordlessConnection")},t.runHook=function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return b(e,"hookRunner").apply(void 0,[t,e].concat(r))},t.emitEvent=W,t.handleEvent=function(e,t){for(var n=b(e,"handleEventFn"),r=arguments.length,o=Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];n.apply(void 0,[t].concat(o))},t.loginErrorMessage=function(e,t,n){if(0===t.status)return c.html(e,["error","login","lock.network"]);if("rule_error"===t.code||"hook_error"===t.code)return t.description||c.html(e,["error","login","lock.fallback"]);var r={code:"lock.invalid_code",email:"lock.invalid_email_password",username:"lock.invalid_username_password"},o=t.error||t.code;"invalid_user_password"===o&&r[n]&&(o=r[n]);"a0.mfa_registration_required"===o&&(o="lock.mfa_registration_required");"a0.mfa_invalid_code"===o&&(o="lock.mfa_invalid_code");"password_expired"===o&&(o="password_change_required");if("invalid_captcha"===o){var i=b(e,"captcha");i&&"recaptcha_v2"===i.get("provider")&&(o="invalid_recaptcha")}return c.html(e,["error","login",o])||c.html(e,["error","login","lock.fallback"])},t.stop=function(e,t){t&&setTimeout((function(){return W(e,"unrecoverable_error",t)}),17);return N(e,"stopped",!0)},t.hasStopped=function(e){return b(e,"stopped")},t.hashCleanup=function(e){return b(e,"hashCleanup")},t.emitHashParsedEvent=function(e,t){W(e,"hash_parsed",t)},t.emitAuthenticatedEvent=function(e,t){W(e,"authenticated",t)},t.emitAuthorizationErrorEvent=function(e,t){W(e,"authorization_error",t)},t.emitUnrecoverableErrorEvent=function(e,t){W(e,"unrecoverable_error",t)},t.showBadge=function(e){return(0,h.hasFreeSubscription)(e)||!1},t.overrideOptions=function(e,t){t||(t={});t.allowedConnections&&(e=S(e,"allowedConnections",a.default.fromJS(t.allowedConnections)));if(t.flashMessage){var n=t.flashMessage.type,r=n.charAt(0).toUpperCase()+n.slice(1);e=S(e,"global"+r,t.flashMessage.text)}t.auth&&t.auth.params&&(e=S(e,"authParams",a.default.fromJS(t.auth.params)));t.theme&&(t.theme.primaryColor&&(e=S(e,["ui","primaryColor"],t.theme.primaryColor)),t.theme.logo&&(e=S(e,["ui","logo"],t.theme.logo)));(t.language||t.languageDictionary)&&(t.language&&(e=S(e,["ui","language"],t.language)),t.languageDictionary&&(e=S(e,["ui","dict"],t.languageDictionary)),e=c.initI18n(e));"boolean"===typeof t.rememberLastLogin&&(e=S(e,"rememberLastLogin",t.rememberLastLogin));"boolean"===typeof t.allowAutocomplete&&(e=S(e,"allowAutocomplete",t.allowAutocomplete));"boolean"===typeof t.allowShowPassword&&(e=S(e,"allowShowPassword",t.allowShowPassword));"boolean"===typeof t.allowPasswordAutocomplete&&(e=S(e,"allowPasswordAutocomplete",t.allowPasswordAutocomplete));return e};var o=m(n(331)),i=n(48),a=m(i),s=n(173),u=n(332),l=n(536),c=y(n(51)),f=m(n(110)),d=y(n(538)),p=n(82),h=n(341),g=y(n(345));function y(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function m(e){return e&&e.__esModule?e:{default:e}}var v=(0,p.dataFns)(["core"]),b=v.get,M=v.init,w=(v.remove,v.reset),N=v.set,j=v.tget,S=v.tset,I=v.tremove,D=t.validPublicHooks=["loggingIn","signingUp"];function x(e,t){return S(e,"globalError",t)}function E(e){return I(e,"globalError")}function O(e){return I(e,"globalSuccess")}function T(e,t){var n=!t.container&&(void 0===t.closable||!!t.closable),o=t.theme||{},i=o.labeledSubmitButton,u=o.hideMainScreenTitle,l=o.logo,c=o.primaryColor,p=o.authButtons,h=null!==t.avatar,g=t.avatar&&"function"===typeof t.avatar.url&&"function"===typeof t.avatar.displayName&&t.avatar||d;return new a.default.fromJS({containerID:t.container||"auth0-lock-container-"+e,appendContainer:!t.container,autoclose:void 0!==t.autoclose&&(n&&t.autoclose),autofocus:void 0===t.autofocus?!(t.container||(0,s.isSmallScreen)()):!!t.autofocus,avatar:h,avatarProvider:g,logo:"string"===typeof l?l:void 0,closable:n,hideMainScreenTitle:!!u,labeledSubmitButton:void 0===i||!!i,language:void 0===t.language?"en":(0,f.default)(t.language||"").toLowerCase(),dict:"object"===r(t.languageDictionary)?t.languageDictionary:{},disableWarnings:void 0!==t.disableWarnings&&!!t.disableWarnings,mobile:void 0!==t.mobile&&!!t.mobile,popupOptions:void 0===t.popupOptions?{}:t.popupOptions,primaryColor:"string"===typeof c?c:void 0,rememberLastLogin:void 0===t.rememberLastLogin||!!t.rememberLastLogin,allowAutocomplete:!!t.allowAutocomplete,preferConnectionDisplayName:!!t.preferConnectionDisplayName,authButtonsTheme:"object"===("undefined"===typeof p?"undefined":r(p))?p:{},allowShowPassword:!!t.allowShowPassword,allowPasswordAutocomplete:!!t.allowPasswordAutocomplete,scrollGlobalMessagesIntoView:void 0===t.scrollGlobalMessagesIntoView||!!t.scrollGlobalMessagesIntoView,forceAutoHeight:!!t.forceAutoHeight})}function C(e){var t={};return D.forEach((function(n){e.hooks&&"function"===typeof e.hooks[n]&&(t[n]=e.hooks[n])})),new a.default.fromJS(t)}var k=(0,p.dataFns)(["core","ui"]),L=k.get,_=(k.set,(0,p.dataFns)(["core","transient","ui"])),A=_.get,z=(_.set,function(e,t){return A(e,t)||L(e,t)}),P=t.ui={containerID:function(e){return z(e,"containerID")},appendContainer:function(e){return z(e,"appendContainer")},autoclose:function(e){return z(e,"autoclose")},autofocus:function(e){return z(e,"autofocus")},avatar:function(e){return z(e,"avatar")},avatarProvider:function(e){return z(e,"avatarProvider")},closable:function(e){return z(e,"closable")},dict:function(e){return z(e,"dict")},disableWarnings:function(e){return z(e,"disableWarnings")},labeledSubmitButton:function(e){return z(e,"labeledSubmitButton")},hideMainScreenTitle:function(e){return z(e,"hideMainScreenTitle")},language:function(e){return z(e,"language")},logo:function(e){return z(e,"logo")},mobile:function(e){return z(e,"mobile")},popupOptions:function(e){return z(e,"popupOptions")},primaryColor:function(e){return z(e,"primaryColor")},authButtonsTheme:function(e){return z(e,"authButtonsTheme")},preferConnectionDisplayName:function(e){return z(e,"preferConnectionDisplayName")},rememberLastLogin:function(e){return j(e,"rememberLastLogin",z(e,"rememberLastLogin"))},allowAutocomplete:function(e){return j(e,"allowAutocomplete",z(e,"allowAutocomplete"))},scrollGlobalMessagesIntoView:function(e){return z(e,"scrollGlobalMessagesIntoView")},allowShowPassword:function(e){return j(e,"allowShowPassword",z(e,"allowShowPassword"))},allowPasswordAutocomplete:function(e){return j(e,"allowPasswordAutocomplete",z(e,"allowPasswordAutocomplete"))},forceAutoHeight:function(e){return j(e,"forceAutoHeight",z(e,"forceAutoHeight"))}},R=(0,p.dataFns)(["core","auth"]).get;t.auth={connectionScopes:function(e){return R(e,"connectionScopes")},params:function(e){return j(e,"authParams")||R(e,"params")},autoParseHash:function(e){return R(e,"autoParseHash")},redirect:function(e){return R(e,"redirect")},redirectUrl:function(e){return R(e,"redirectUrl")},responseType:function(e){return R(e,"responseType")},sso:function(e){return R(e,"sso")}};function U(e){var t=e.auth||{},n=t.audience,o=t.connectionScopes,i=t.params,s=t.autoParseHash,u=t.redirect,c=t.redirectUrl,f=t.responseMode,d=t.responseType,p=t.sso,h=t.state,g=t.nonce;return e.auth&&e.auth.redirectUri&&console.warn("You're sending an `auth` option named `redirectUri`. This option will be ignored. Use `redirectUrl` instead."),n="string"===typeof n?n:void 0,o="object"===("undefined"===typeof o?"undefined":r(o))?o:{},i="object"===("undefined"===typeof i?"undefined":r(i))?i:{},c="string"===typeof c&&c?c:null,s="boolean"!==typeof s||s,u="boolean"!==typeof u||u,f="string"===typeof f?f:void 0,h="string"===typeof h?h:void 0,g="string"===typeof g?g:void 0,d="string"===typeof d?d:c?"code":"token",c=c||""+(0,l.getOriginFromUrl)(window.location.href)+window.location.pathname,p="boolean"!==typeof p||p,i.scope||(i.scope="openid profile email"),a.default.fromJS({audience:n,connectionScopes:o,params:i,autoParseHash:s,redirect:u,redirectUrl:c,responseMode:f,responseType:d,sso:p,state:h,nonce:g})}function B(e,t){return e.clientBaseUrl&&"string"===typeof e.clientBaseUrl?e.clientBaseUrl:e.configurationBaseUrl&&"string"===typeof e.configurationBaseUrl?e.configurationBaseUrl:e.assetsUrl&&"string"===typeof e.assetsUrl?e.assetsUrl:"https://"+t}function F(e,t){if(e.configurationBaseUrl&&"string"===typeof e.configurationBaseUrl)return e.overrides&&e.overrides.__tenant?(0,o.default)(e.configurationBaseUrl,"tenants","v1",e.overrides.__tenant+".js"):(0,o.default)(e.configurationBaseUrl,"info-v1.js");if(e.assetsUrl&&"string"===typeof e.assetsUrl)return e.assetsUrl;var n="https://"+t,r=(0,l.getLocationFromUrl)(n).hostname;if((0,u.endsWith)(r,".auth0.com")){var i=r.split(".")[0];return(0,o.default)(n,"tenants","v1",i+".js")}return(0,o.default)(n,"info-v1.js")}function Y(e,t){return e.languageBaseUrl&&"string"===typeof e.languageBaseUrl?e.languageBaseUrl:e.assetsUrl&&"string"===typeof e.assetsUrl?e.assetsUrl:"https://cdn.auth0.com"}function G(e){return j(e,"allowedConnections")||b(e,"allowedConnections")}function H(e){for(var t=arguments.length,n=Array(t>2?t-2:0),r=2;r<t;r++)n[r-2]=arguments[r];var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(1===arguments.length)return j(e,"connections",(0,i.Map)()).filter((function(e,t){return"unknown"!==t})).valueSeq().flatten(!0);var a=j(e,["connections",o],(0,i.List)());return n.length>0?a.filter((function(e){return~n.indexOf(e.get("strategy"))})):a}function V(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return H.apply(void 0,[e,t].concat(r)).count()}function Q(e,t){return H(e).find((function(e){return e.get("name")===t}))}function W(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];setTimeout((function(){var n=b(e,"emitEventFn").apply(void 0,[t].concat(r));if("unrecoverable_error"===t&&!n)throw new(Function.prototype.bind.apply(Error,[null].concat(r)))}),0)}t.reset=w},,function(e,t,n){"use strict";function r(e,t){return function(){return null}}n.r(t),n.d(t,"chainPropTypes",(function(){return r})),n.d(t,"deepmerge",(function(){return o.a})),n.d(t,"elementAcceptingRef",(function(){return u})),n.d(t,"elementTypeAcceptingRef",(function(){return l})),n.d(t,"exactProp",(function(){return c})),n.d(t,"formatMuiErrorMessage",(function(){return f.a})),n.d(t,"getDisplayName",(function(){return v})),n.d(t,"HTMLElementType",(function(){return b})),n.d(t,"ponyfillGlobal",(function(){return M})),n.d(t,"refType",(function(){return w}));var o=n(190),i=n(2),a=n.n(i);var s=(a.a.element,function(){return null});s.isRequired=(a.a.element.isRequired,function(){return null});var u=s;var l=(i.elementType,function(){return null});n(16),n(1);function c(e){return e}var f=n(189),d=n(93),p=n(279),h=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function g(e){var t="".concat(e).match(h);return t&&t[1]||""}function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e.displayName||e.name||g(e)||t}function m(e,t,n){var r=y(t);return e.displayName||(""!==r?"".concat(n,"(").concat(r,")"):n)}function v(e){if(null!=e){if("string"===typeof e)return e;if("function"===typeof e)return y(e,"Component");if("object"===Object(d.a)(e))switch(e.$$typeof){case p.ForwardRef:return m(e,e.render,"ForwardRef");case p.Memo:return m(e,e.type,"memo");default:return}}}function b(e,t,n,r,o){return null}var M="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),w=a.a.oneOfType([a.a.func,a.a.object])},function(e,t,n){"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}}(),e.exports=n(422)},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"e",(function(){return s})),n.d(t,"c",(function(){return l})),n.d(t,"d",(function(){return c})),n.d(t,"a",(function(){return f})),n.d(t,"b",(function(){return d})),n.d(t,"f",(function(){return p}));var r=n(189);function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(t,e),n)}function i(e){if(e.type)return e;if("#"===e.charAt(0))return i(function(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map((function(e){return e+e}))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map((function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}(e));var t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla"].indexOf(n))throw new Error(Object(r.a)(3,e));var o=e.substring(t+1,e.length-1).split(",");return{type:n,values:o=o.map((function(e){return parseFloat(e)}))}}function a(e){var t=e.type,n=e.values;return-1!==t.indexOf("rgb")?n=n.map((function(e,t){return t<3?parseInt(e,10):e})):-1!==t.indexOf("hsl")&&(n[1]="".concat(n[1],"%"),n[2]="".concat(n[2],"%")),"".concat(t,"(").concat(n.join(", "),")")}function s(e,t){var n=u(e),r=u(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function u(e){var t="hsl"===(e=i(e)).type?i(function(e){var t=(e=i(e)).values,n=t[0],r=t[1]/100,o=t[2]/100,s=r*Math.min(o,1-o),u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return o-s*Math.max(Math.min(t-3,9-t,1),-1)},l="rgb",c=[Math.round(255*u(0)),Math.round(255*u(8)),Math.round(255*u(4))];return"hsla"===e.type&&(l+="a",c.push(t[3])),a({type:l,values:c})}(e)).values:e.values;return t=t.map((function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)})),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return u(e)>.5?d(e,t):p(e,t)}function c(e,t){return f(e,t)}function f(e,t){return e=i(e),t=o(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),e.values[3]=t,a(e)}function d(e,t){if(e=i(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]*=1-t;return a(e)}function p(e,t){if(e=i(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;return a(e)}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(0),o=n(60);function i(e,t){return r.useMemo((function(){return null==e&&null==t?null:function(n){Object(o.a)(e,n),Object(o.a)(t,n)}}),[e,t])}},function(e,t,n){"use strict";var r,o,i=n(10),a=n(3),s=n(88),u=n(117),l=((r={})["no-app"]="No Firebase App '{$appName}' has been created - call Firebase App.initializeApp()",r["bad-app-name"]="Illegal App name: '{$appName}",r["duplicate-app"]="Firebase App named '{$appName}' already exists",r["app-deleted"]="Firebase App named '{$appName}' already deleted",r["invalid-app-argument"]="firebase.{$appName}() takes either no argument or a Firebase App instance.",r["invalid-log-argument"]="First argument to `onLog` must be null or a function.",r),c=new a.b("app","Firebase",l),f=((o={})["@firebase/app"]="fire-core",o["@firebase/analytics"]="fire-analytics",o["@firebase/app-check"]="fire-app-check",o["@firebase/auth"]="fire-auth",o["@firebase/database"]="fire-rtdb",o["@firebase/functions"]="fire-fn",o["@firebase/installations"]="fire-iid",o["@firebase/messaging"]="fire-fcm",o["@firebase/performance"]="fire-perf",o["@firebase/remote-config"]="fire-rc",o["@firebase/storage"]="fire-gcs",o["@firebase/firestore"]="fire-fst",o["fire-js"]="fire-js",o["firebase-wrapper"]="fire-js-all",o),d=new u.b("@firebase/app"),p=function(){function e(e,t,n){var r=this;this.firebase_=n,this.isDeleted_=!1,this.name_=t.name,this.automaticDataCollectionEnabled_=t.automaticDataCollectionEnabled||!1,this.options_=Object(a.k)(e),this.container=new s.b(t.name),this._addComponent(new s.a("app",(function(){return r}),"PUBLIC")),this.firebase_.INTERNAL.components.forEach((function(e){return r._addComponent(e)}))}return Object.defineProperty(e.prototype,"automaticDataCollectionEnabled",{get:function(){return this.checkDestroyed_(),this.automaticDataCollectionEnabled_},set:function(e){this.checkDestroyed_(),this.automaticDataCollectionEnabled_=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this.checkDestroyed_(),this.name_},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"options",{get:function(){return this.checkDestroyed_(),this.options_},enumerable:!1,configurable:!0}),e.prototype.delete=function(){var e=this;return new Promise((function(t){e.checkDestroyed_(),t()})).then((function(){return e.firebase_.INTERNAL.removeApp(e.name_),Promise.all(e.container.getProviders().map((function(e){return e.delete()})))})).then((function(){e.isDeleted_=!0}))},e.prototype._getService=function(e,t){var n;void 0===t&&(t="[DEFAULT]"),this.checkDestroyed_();var r=this.container.getProvider(e);return r.isInitialized()||"EXPLICIT"!==(null===(n=r.getComponent())||void 0===n?void 0:n.instantiationMode)||r.initialize(),r.getImmediate({identifier:t})},e.prototype._removeServiceInstance=function(e,t){void 0===t&&(t="[DEFAULT]"),this.container.getProvider(e).clearInstance(t)},e.prototype._addComponent=function(e){try{this.container.addComponent(e)}catch(t){d.debug("Component "+e.name+" failed to register with FirebaseApp "+this.name,t)}},e.prototype._addOrOverwriteComponent=function(e){this.container.addOrOverwriteComponent(e)},e.prototype.toJSON=function(){return{name:this.name,automaticDataCollectionEnabled:this.automaticDataCollectionEnabled,options:this.options}},e.prototype.checkDestroyed_=function(){if(this.isDeleted_)throw c.create("app-deleted",{appName:this.name_})},e}();p.prototype.name&&p.prototype.options||p.prototype.delete||console.log("dc");var h=function e(){var t=function(e){var t={},n=new Map,r={__esModule:!0,initializeApp:function(n,o){void 0===o&&(o={});if("object"!==typeof o||null===o){o={name:o}}var i=o;void 0===i.name&&(i.name="[DEFAULT]");var s=i.name;if("string"!==typeof s||!s)throw c.create("bad-app-name",{appName:String(s)});if(Object(a.h)(t,s))throw c.create("duplicate-app",{appName:s});var u=new e(n,i,r);return t[s]=u,u},app:o,registerVersion:function(e,t,n){var r,o=null!==(r=f[e])&&void 0!==r?r:e;n&&(o+="-"+n);var a=o.match(/\s|\//),u=t.match(/\s|\//);if(a||u){var l=['Unable to register library "'+o+'" with version "'+t+'":'];return a&&l.push('library name "'+o+'" contains illegal characters (whitespace or "/")'),a&&u&&l.push("and"),u&&l.push('version name "'+t+'" contains illegal characters (whitespace or "/")'),void d.warn(l.join(" "))}i(new s.a(o+"-version",(function(){return{library:o,version:t}}),"VERSION"))},setLogLevel:u.c,onLog:function(e,t){if(null!==e&&"function"!==typeof e)throw c.create("invalid-log-argument");Object(u.d)(e,t)},apps:null,SDK_VERSION:"8.10.0",INTERNAL:{registerComponent:i,removeApp:function(e){delete t[e]},components:n,useAsService:function(e,t){if("serverAuth"===t)return null;return t}}};function o(e){if(e=e||"[DEFAULT]",!Object(a.h)(t,e))throw c.create("no-app",{appName:e});return t[e]}function i(i){var s=i.name;if(n.has(s))return d.debug("There were multiple attempts to register component "+s+"."),"PUBLIC"===i.type?r[s]:null;if(n.set(s,i),"PUBLIC"===i.type){var u=function(e){if(void 0===e&&(e=o()),"function"!==typeof e[s])throw c.create("invalid-app-argument",{appName:s});return e[s]()};void 0!==i.serviceProps&&Object(a.l)(u,i.serviceProps),r[s]=u,e.prototype[s]=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=this._getService.bind(this,s);return n.apply(this,i.multipleInstances?e:[])}}for(var l=0,f=Object.keys(t);l<f.length;l++){var p=f[l];t[p]._addComponent(i)}return"PUBLIC"===i.type?r[s]:null}return r.default=r,Object.defineProperty(r,"apps",{get:function(){return Object.keys(t).map((function(e){return t[e]}))}}),o.App=e,r}(p);return t.INTERNAL=Object(i.a)(Object(i.a)({},t.INTERNAL),{createFirebaseNamespace:e,extendNamespace:function(e){Object(a.l)(t,e)},createSubscribe:a.j,ErrorFactory:a.b,deepExtend:a.l}),t}(),g=function(){function e(e){this.container=e}return e.prototype.getPlatformInfoString=function(){return this.container.getProviders().map((function(e){if(function(e){var t=e.getComponent();return"VERSION"===(null===t||void 0===t?void 0:t.type)}(e)){var t=e.getImmediate();return t.library+"/"+t.version}return null})).filter((function(e){return e})).join(" ")},e}();if(Object(a.p)()&&void 0!==self.firebase){d.warn("\n    Warning: Firebase is already defined in the global scope. Please make sure\n    Firebase library is only loaded once.\n  ");var y=self.firebase.SDK_VERSION;y&&y.indexOf("LITE")>=0&&d.warn("\n    Warning: You are trying to load Firebase while using Firebase Performance standalone script.\n    You should load Firebase Performance with this instance of Firebase to avoid loading duplicate code.\n    ")}var m=h.initializeApp;h.initializeApp=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Object(a.s)()&&d.warn('\n      Warning: This is a browser-targeted Firebase bundle but it appears it is being\n      run in a Node environment.  If running in a Node environment, make sure you\n      are using the bundle specified by the "main" field in package.json.\n      \n      If you are using Webpack, you can specify "main" as the first item in\n      "resolve.mainFields":\n      https://webpack.js.org/configuration/resolve/#resolvemainfields\n      \n      If using Rollup, use the @rollup/plugin-node-resolve plugin and specify "main"\n      as the first item in "mainFields", e.g. [\'main\', \'module\'].\n      https://github.com/rollup/@rollup/plugin-node-resolve\n      '),m.apply(void 0,e)};var v=h;!function(e,t){e.INTERNAL.registerComponent(new s.a("platform-logger",(function(e){return new g(e)}),"PRIVATE")),e.registerVersion("@firebase/app","0.6.30",t),e.registerVersion("fire-js","")}(v),t.a=v},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(137);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(u){o=!0,i=u}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}}(e,t)||Object(r.a)(e,t)||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(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return r}))},,function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"flush",(function(){return a})),n.d(t,"hydrate",(function(){return s})),n.d(t,"cx",(function(){return u})),n.d(t,"merge",(function(){return l})),n.d(t,"getRegisteredStyles",(function(){return c})),n.d(t,"injectGlobal",(function(){return f})),n.d(t,"keyframes",(function(){return d})),n.d(t,"css",(function(){return p})),n.d(t,"sheet",(function(){return h})),n.d(t,"caches",(function(){return g}));var r=n(398),o="undefined"!==typeof e?e:{},i=Object(r.a)(o),a=i.flush,s=i.hydrate,u=i.cx,l=i.merge,c=i.getRegisteredStyles,f=i.injectGlobal,d=i.keyframes,p=i.css,h=i.sheet,g=i.caches}.call(this,n(59))},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";t.__esModule=!0;var r="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.setField=function(e,t,n){for(var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:f(t),o=e.getIn(["field",t,"value"]),i=e.getIn(["field",t,"showInvalid"],!1),a=arguments.length,s=Array(a>4?a-4:0),u=4;u<a;u++)s[u-4]=arguments[u];var l=d.apply(void 0,[r,n].concat(s));return e.mergeIn(["field",t],l.merge({value:n,showInvalid:i&&o===n}))},t.registerOptionField=function(e,t,n,r){var o=!0,a=!r,s=void 0;if(n.forEach((function(e){o=o&&e.get("label")&&"string"===typeof e.get("label")&&e.get("value")&&"string"===typeof e.get("value"),a||e.get("value")!==r||(s=e,a=!0)})),!o||!n.size){var l=new Error('The options provided for the "'+t+'" field are invalid, they must have the following format: {label: "non-empty string", value: "non-empty string"} and there has to be at least one option.');return l.code="invalid_select_field",u.stop(e,l)}s||(s=(0,i.Map)({}));return e.mergeIn(["field",t],s,(0,i.Map)({options:n,showInvalid:!1,valid:!s.isEmpty()}))},t.setOptionField=function(e,t,n){return e.mergeIn(["field",t],n.merge((0,i.Map)({valid:!0,showInvalid:!1})))},t.isFieldValid=p,t.getFieldInvalidHint=function(e,t){return e.getIn(["field",t,"invalidHint"],"")},t.isFieldVisiblyInvalid=function(e,t){return e.getIn(["field",t,"showInvalid"],!1)&&!e.getIn(["field",t,"valid"])},t.showInvalidField=function(e,t){return e.setIn(["field",t,"showInvalid"],!p(e,t))},t.hideInvalidFields=function(e){return e.update("field",(function(e){return e&&e.map((function(e){return e.set("showInvalid",!1)}))}))},t.setFieldShowInvalid=function(e,t,n){return e.setIn(["field",t,"showInvalid"],n)},t.clearFields=function(e,t){var n=void 0;n=t&&0!==t.length?t.map((function(e){return["field",e]})):[["field"]];return n.reduce((function(e,t){return e.removeIn(t)}),e)},t.getField=h,t.getFieldValue=g,t.getFieldLabel=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return h(e,t).get("label",n)},t.phoneNumber=function(e){return e.getIn(["field","phoneNumber","value"],"")},t.email=function(e){return g(e,"email")},t.vcode=function(e){return g(e,"vcode")},t.password=function(e){return g(e,"password")},t.username=function(e){return g(e,"username")},t.mfaCode=function(e){return g(e,"mfa_code")},t.isSelecting=y,t.renderOptionSelection=function(e){var t=e.getIn(["field","selecting","name"]);return y(e)?o.default.createElement(s.default,{model:e,name:t,icon:e.getIn(["field","selecting","icon"]),iconUrl:e.getIn(["field","selecting","iconUrl"]),items:e.getIn(["field",t,"options"])}):null};var o=l(n(0)),i=n(48),a=l(n(110)),s=l(n(549)),u=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(12));function l(e){return e&&e.__esModule?e:{default:e}}var c=function(e,t,n){return e.length>=t&&e.length<=n},f=function(e){switch(e){case"family_name":case"given_name":return function(e){return c((0,a.default)(e),1,150)};case"name":case"nickname":return function(e){return c((0,a.default)(e),1,300)};default:return function(e){return(0,a.default)(e).length>0}}};function d(e,t){if("function"!=typeof e)return(0,i.Map)({valid:!0});for(var n=arguments.length,o=Array(n>2?n-2:0),a=2;a<n;a++)o[a-2]=arguments[a];var s=e.apply(void 0,[t].concat(o));return s&&"object"===("undefined"===typeof s?"undefined":r(s))?(0,i.Map)({valid:s.valid,invalidHint:s.hint}):(0,i.Map)({valid:!!s})}function p(e,t){return e.getIn(["field",t,"valid"])}function h(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:new i.Map({});return e.getIn(["field",t],n)}function g(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return h(e,t).get("value",n)}function y(e){return!!e.getIn(["field","selecting"])}},function(e,t,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)){if(r.length){var a=o.apply(null,r);a&&e.push(a)}}else if("object"===i)if(r.toString===Object.prototype.toString)for(var s in r)n.call(r,s)&&r[s]&&e.push(s);else e.push(r.toString())}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return y})),n.d(t,"b",(function(){return b}));var r=n(32),o=n(43),i=n(0),a=n.n(i),s=n(53),u=n(1),l=n(37),c=n(68);a.a.Component;a.a.Component;var f=function(e,t){return"function"===typeof e?e(t):e},d=function(e,t){return"string"===typeof e?Object(s.c)(e,null,null,t):e},p=function(e){return e},h=a.a.forwardRef;"undefined"===typeof h&&(h=p);var g=h((function(e,t){var n=e.innerRef,r=e.navigate,o=e.onClick,i=Object(l.a)(e,["innerRef","navigate","onClick"]),s=i.target,c=Object(u.a)({},i,{onClick:function(e){try{o&&o(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||s&&"_self"!==s||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),r())}});return c.ref=p!==h&&t||n,a.a.createElement("a",c)}));var y=h((function(e,t){var n=e.component,o=void 0===n?g:n,i=e.replace,y=e.to,m=e.innerRef,v=Object(l.a)(e,["component","replace","to","innerRef"]);return a.a.createElement(r.d.Consumer,null,(function(e){e||Object(c.a)(!1);var n=e.history,r=d(f(y,e.location),e.location),l=r?n.createHref(r):"",g=Object(u.a)({},v,{href:l,navigate:function(){var t=f(y,e.location),r=Object(s.e)(e.location)===Object(s.e)(d(t));(i||r?n.replace:n.push)(t)}});return p!==h?g.ref=t||m:g.innerRef=m,a.a.createElement(o,g)}))})),m=function(e){return e},v=a.a.forwardRef;"undefined"===typeof v&&(v=m);var b=v((function(e,t){var n=e["aria-current"],o=void 0===n?"page":n,i=e.activeClassName,s=void 0===i?"active":i,p=e.activeStyle,h=e.className,g=e.exact,b=e.isActive,M=e.location,w=e.sensitive,N=e.strict,j=e.style,S=e.to,I=e.innerRef,D=Object(l.a)(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return a.a.createElement(r.d.Consumer,null,(function(e){e||Object(c.a)(!1);var n=M||e.location,i=d(f(S,n),n),l=i.pathname,x=l&&l.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),E=x?Object(r.e)(n.pathname,{path:x,exact:g,sensitive:w,strict:N}):null,O=!!(b?b(E,n):E),T="function"===typeof h?h(O):h,C="function"===typeof j?j(O):j;O&&(T=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return e})).join(" ")}(T,s),C=Object(u.a)({},C,p));var k=Object(u.a)({"aria-current":O&&o||null,className:T,style:C,to:i},D);return m!==v?k.ref=t||I:k.innerRef=I,a.a.createElement(y,k)}))}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(157);var o=n(137);function i(e){return function(e){if(Array.isArray(e))return Object(r.a)(e)}(e)||function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||Object(o.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},function(e,t,n){"use strict";n.d(t,"a",(function(){return N})),n.d(t,"b",(function(){return v})),n.d(t,"c",(function(){return E})),n.d(t,"d",(function(){return m})),n.d(t,"e",(function(){return w})),n.d(t,"f",(function(){return C})),n.d(t,"g",(function(){return k})),n.d(t,"h",(function(){return L})),n.d(t,"i",(function(){return O}));var r=n(43),o=n(0),i=n.n(o),a=n(53),s=n(383),u=n(68),l=n(1),c=n(274),f=n.n(c),d=(n(155),n(37)),p=n(78),h=n.n(p),g=function(e){var t=Object(s.a)();return t.displayName=e,t},y=g("Router-History"),m=g("Router"),v=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._isMounted?n.setState({location:e}):n._pendingLocation=e}))),n}Object(r.a)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},n.render=function(){return i.a.createElement(m.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},i.a.createElement(y.Provider,{children:this.props.children||null,value:this.props.history}))},t}(i.a.Component);i.a.Component;i.a.Component;var b={},M=0;function w(e,t){void 0===t&&(t={}),("string"===typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,o=n.exact,i=void 0!==o&&o,a=n.strict,s=void 0!==a&&a,u=n.sensitive,l=void 0!==u&&u;return[].concat(r).reduce((function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=b[n]||(b[n]={});if(r[e])return r[e];var o=[],i={regexp:f()(e,o,t),keys:o};return M<1e4&&(r[e]=i,M++),i}(n,{end:i,strict:s,sensitive:l}),o=r.regexp,a=r.keys,u=o.exec(e);if(!u)return null;var c=u[0],d=u.slice(1),p=e===c;return i&&!p?null:{path:n,url:"/"===n&&""===c?"/":c,isExact:p,params:a.reduce((function(e,t,n){return e[t.name]=d[n],e}),{})}}),null)}var N=function(e){function t(){return e.apply(this,arguments)||this}return Object(r.a)(t,e),t.prototype.render=function(){var e=this;return i.a.createElement(m.Consumer,null,(function(t){t||Object(u.a)(!1);var n=e.props.location||t.location,r=e.props.computedMatch?e.props.computedMatch:e.props.path?w(n.pathname,e.props):t.match,o=Object(l.a)({},t,{location:n,match:r}),a=e.props,s=a.children,c=a.component,f=a.render;return Array.isArray(s)&&function(e){return 0===i.a.Children.count(e)}(s)&&(s=null),i.a.createElement(m.Provider,{value:o},o.match?s?"function"===typeof s?s(o):s:c?i.a.createElement(c,o):f?f(o):null:"function"===typeof s?s(o):null)}))},t}(i.a.Component);function j(e){return"/"===e.charAt(0)?e:"/"+e}function S(e,t){if(!e)return t;var n=j(e);return 0!==t.pathname.indexOf(n)?t:Object(l.a)({},t,{pathname:t.pathname.substr(n.length)})}function I(e){return"string"===typeof e?e:Object(a.e)(e)}function D(e){return function(){Object(u.a)(!1)}}function x(){}i.a.Component;var E=function(e){function t(){return e.apply(this,arguments)||this}return Object(r.a)(t,e),t.prototype.render=function(){var e=this;return i.a.createElement(m.Consumer,null,(function(t){t||Object(u.a)(!1);var n,r,o=e.props.location||t.location;return i.a.Children.forEach(e.props.children,(function(e){if(null==r&&i.a.isValidElement(e)){n=e;var a=e.props.path||e.props.from;r=a?w(o.pathname,Object(l.a)({},e.props,{path:a})):t.match}})),r?i.a.cloneElement(n,{location:o,computedMatch:r}):null}))},t}(i.a.Component);function O(e){var t="withRouter("+(e.displayName||e.name)+")",n=function(t){var n=t.wrappedComponentRef,r=Object(d.a)(t,["wrappedComponentRef"]);return i.a.createElement(m.Consumer,null,(function(t){return t||Object(u.a)(!1),i.a.createElement(e,Object(l.a)({},r,t,{ref:n}))}))};return n.displayName=t,n.WrappedComponent=e,h()(n,e)}var T=i.a.useContext;function C(){return T(y)}function k(){return T(m).location}function L(e){var t=k(),n=T(m).match;return e?w(t.pathname,e):n}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(280),o=(n(0),n(104));function i(){return Object(r.a)()||o.a}},function(e,t,n){e.exports=n(500)},function(e,t,n){"use strict";t.__esModule=!0,t.observe=function(e,t,n){u(e+"-"+t,(function(e,r,o){var i=l(o,"lock",t),a=l(r,"lock",t);i&&!i.equals(a)&&n(i)}))},t.subscribe=u,t.unsubscribe=function(e){s.removeWatch(e)},t.swap=function(){return s.swap.apply(s,arguments)},t.updateEntity=function(e,t,n,r){for(var o=arguments.length,i=Array(o>4?o-4:0),s=4;s<o;s++)i[s-4]=arguments[s];return e.updateIn([t,n],new a.Map({}),(function(e){return r.apply(void 0,[e].concat(i))}))},t.setEntity=function(e,t,n,r){return e.setIn([t,n],r)},t.read=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.apply(void 0,[s.deref()].concat(n))},t.getEntity=l,t.removeEntity=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return e.removeIn([t,n])},t.getCollection=function(e,t){return e.get(t,(0,a.Map)()).toList()},t.updateCollection=function(e,t,n){for(var r=arguments.length,o=Array(r>3?r-3:0),i=3;i<r;i++)o[i-3]=arguments[i];return e.update(t,(function(e){return n.apply(void 0,[e].concat(o))}))},t.getState=function(){return s.deref()};var r,o=n(525),i=(r=o)&&r.__esModule?r:{default:r},a=n(48);var s=(0,i.default)(new a.Map({}));function u(e,t){s.addWatch(e,t)}function l(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return e.getIn([t,n])}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(1),o=n(0),i=n.n(o),a=n(401);function s(e,t){var n=function(t,n){return i.a.createElement(a.a,Object(r.a)({ref:n},t),e)};return n.muiName=a.a.muiName,i.a.memo(i.a.forwardRef(n))}},function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e){return e&&e.ownerDocument||document}n.d(t,"a",(function(){return r}))},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(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)}}function o(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}n.d(t,"a",(function(){return o}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(0),o="undefined"!==typeof window?r.useLayoutEffect:r.useEffect;function i(e){var t=r.useRef(e);return o((function(){t.current=e})),r.useCallback((function(){return t.current.apply(void 0,arguments)}),[])}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(297);function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Object(r.a)(e,t)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return Z})),n.d(t,"b",(function(){return ge})),n.d(t,"c",(function(){return f})),n.d(t,"d",(function(){return me})),n.d(t,"e",(function(){return ye})),n.d(t,"f",(function(){return p}));var r=n(1),o=n(116),i=(n(92),n(123)),a=n(43),s=n(153),u=n(37),l={}.constructor;function c(e){if(null==e||"object"!==typeof e)return e;if(Array.isArray(e))return e.map(c);if(e.constructor!==l)return e;var t={};for(var n in e)t[n]=c(e[n]);return t}function f(e,t,n){void 0===e&&(e="unnamed");var r=n.jss,o=c(t),i=r.plugins.onCreateRule(e,o,n);return i||(e[0],null)}var d=function(e,t){for(var n="",r=0;r<e.length&&"!important"!==e[r];r++)n&&(n+=t),n+=e[r];return n},p=function(e,t){if(void 0===t&&(t=!1),!Array.isArray(e))return e;var n="";if(Array.isArray(e[0]))for(var r=0;r<e.length&&"!important"!==e[r];r++)n&&(n+=", "),n+=d(e[r]," ");else n=d(e,", ");return t||"!important"!==e[e.length-1]||(n+=" !important"),n};function h(e){return e&&!1===e.format?{linebreak:"",space:""}:{linebreak:"\n",space:" "}}function g(e,t){for(var n="",r=0;r<t;r++)n+="  ";return n+e}function y(e,t,n){void 0===n&&(n={});var r="";if(!t)return r;var o=n.indent,i=void 0===o?0:o,a=t.fallbacks;!1===n.format&&(i=-1/0);var s=h(n),u=s.linebreak,l=s.space;if(e&&i++,a)if(Array.isArray(a))for(var c=0;c<a.length;c++){var f=a[c];for(var d in f){var y=f[d];null!=y&&(r&&(r+=u),r+=g(d+":"+l+p(y)+";",i))}}else for(var m in a){var v=a[m];null!=v&&(r&&(r+=u),r+=g(m+":"+l+p(v)+";",i))}for(var b in t){var M=t[b];null!=M&&"fallbacks"!==b&&(r&&(r+=u),r+=g(b+":"+l+p(M)+";",i))}return(r||n.allowEmpty)&&e?(r&&(r=""+u+r+u),g(""+e+l+"{"+r,--i)+g("}",i)):r}var m=/([[\].#*$><+~=|^:(),"'`\s])/g,v="undefined"!==typeof CSS&&CSS.escape,b=function(e){return v?v(e):e.replace(m,"\\$1")},M=function(){function e(e,t,n){this.type="style",this.isProcessed=!1;var r=n.sheet,o=n.Renderer;this.key=e,this.options=n,this.style=t,r?this.renderer=r.renderer:o&&(this.renderer=new o)}return e.prototype.prop=function(e,t,n){if(void 0===t)return this.style[e];var r=!!n&&n.force;if(!r&&this.style[e]===t)return this;var o=t;n&&!1===n.process||(o=this.options.jss.plugins.onChangeValue(t,e,this));var i=null==o||!1===o,a=e in this.style;if(i&&!a&&!r)return this;var s=i&&a;if(s?delete this.style[e]:this.style[e]=o,this.renderable&&this.renderer)return s?this.renderer.removeProperty(this.renderable,e):this.renderer.setProperty(this.renderable,e,o),this;var u=this.options.sheet;return u&&u.attached,this},e}(),w=function(e){function t(t,n,r){var o;o=e.call(this,t,n,r)||this;var i=r.selector,a=r.scoped,u=r.sheet,l=r.generateId;return i?o.selectorText=i:!1!==a&&(o.id=l(Object(s.a)(Object(s.a)(o)),u),o.selectorText="."+b(o.id)),o}Object(a.a)(t,e);var n=t.prototype;return n.applyTo=function(e){var t=this.renderer;if(t){var n=this.toJSON();for(var r in n)t.setProperty(e,r,n[r])}return this},n.toJSON=function(){var e={};for(var t in this.style){var n=this.style[t];"object"!==typeof n?e[t]=n:Array.isArray(n)&&(e[t]=p(n))}return e},n.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?Object(r.a)({},e,{allowEmpty:!0}):e;return y(this.selectorText,this.style,n)},Object(i.a)(t,[{key:"selector",set:function(e){if(e!==this.selectorText){this.selectorText=e;var t=this.renderer,n=this.renderable;if(n&&t)t.setSelector(n,e)||t.replaceRule(n,this)}},get:function(){return this.selectorText}}]),t}(M),N={onCreateRule:function(e,t,n){return"@"===e[0]||n.parent&&"keyframes"===n.parent.type?null:new w(e,t,n)}},j={indent:1,children:!0},S=/@([\w-]+)/,I=function(){function e(e,t,n){this.type="conditional",this.isProcessed=!1,this.key=e;var o=e.match(S);for(var i in this.at=o?o[1]:"unknown",this.query=n.name||"@"+this.at,this.options=n,this.rules=new Z(Object(r.a)({},n,{parent:this})),t)this.rules.add(i,t[i]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.indexOf=function(e){return this.rules.indexOf(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return r?(this.options.jss.plugins.onProcessRule(r),r):null},t.replaceRule=function(e,t,n){var r=this.rules.replace(e,t,n);return r&&this.options.jss.plugins.onProcessRule(r),r},t.toString=function(e){void 0===e&&(e=j);var t=h(e).linebreak;if(null==e.indent&&(e.indent=j.indent),null==e.children&&(e.children=j.children),!1===e.children)return this.query+" {}";var n=this.rules.toString(e);return n?this.query+" {"+t+n+t+"}":""},e}(),D=/@media|@supports\s+/,x={onCreateRule:function(e,t,n){return D.test(e)?new I(e,t,n):null}},E={indent:1,children:!0},O=/@keyframes\s+([\w-]+)/,T=function(){function e(e,t,n){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var o=e.match(O);o&&o[1]?this.name=o[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=n;var i=n.scoped,a=n.sheet,s=n.generateId;for(var u in this.id=!1===i?this.name:b(s(this,a)),this.rules=new Z(Object(r.a)({},n,{parent:this})),t)this.rules.add(u,t[u],Object(r.a)({},n,{parent:this}));this.rules.process()}return e.prototype.toString=function(e){void 0===e&&(e=E);var t=h(e).linebreak;if(null==e.indent&&(e.indent=E.indent),null==e.children&&(e.children=E.children),!1===e.children)return this.at+" "+this.id+" {}";var n=this.rules.toString(e);return n&&(n=""+t+n+t),this.at+" "+this.id+" {"+n+"}"},e}(),C=/@keyframes\s+/,k=/\$([\w-]+)/g,L=function(e,t){return"string"===typeof e?e.replace(k,(function(e,n){return n in t?t[n]:e})):e},_=function(e,t,n){var r=e[t],o=L(r,n);o!==r&&(e[t]=o)},A={onCreateRule:function(e,t,n){return"string"===typeof e&&C.test(e)?new T(e,t,n):null},onProcessStyle:function(e,t,n){return"style"===t.type&&n?("animation-name"in e&&_(e,"animation-name",n.keyframes),"animation"in e&&_(e,"animation",n.keyframes),e):e},onChangeValue:function(e,t,n){var r=n.options.sheet;if(!r)return e;switch(t){case"animation":case"animation-name":return L(e,r.keyframes);default:return e}}},z=function(e){function t(){return e.apply(this,arguments)||this}return Object(a.a)(t,e),t.prototype.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?Object(r.a)({},e,{allowEmpty:!0}):e;return y(this.key,this.style,n)},t}(M),P={onCreateRule:function(e,t,n){return n.parent&&"keyframes"===n.parent.type?new z(e,t,n):null}},R=function(){function e(e,t,n){this.type="font-face",this.at="@font-face",this.isProcessed=!1,this.key=e,this.style=t,this.options=n}return e.prototype.toString=function(e){var t=h(e).linebreak;if(Array.isArray(this.style)){for(var n="",r=0;r<this.style.length;r++)n+=y(this.at,this.style[r]),this.style[r+1]&&(n+=t);return n}return y(this.at,this.style,e)},e}(),U=/@font-face/,B={onCreateRule:function(e,t,n){return U.test(e)?new R(e,t,n):null}},F=function(){function e(e,t,n){this.type="viewport",this.at="@viewport",this.isProcessed=!1,this.key=e,this.style=t,this.options=n}return e.prototype.toString=function(e){return y(this.key,this.style,e)},e}(),Y={onCreateRule:function(e,t,n){return"@viewport"===e||"@-ms-viewport"===e?new F(e,t,n):null}},G=function(){function e(e,t,n){this.type="simple",this.isProcessed=!1,this.key=e,this.value=t,this.options=n}return e.prototype.toString=function(e){if(Array.isArray(this.value)){for(var t="",n=0;n<this.value.length;n++)t+=this.key+" "+this.value[n]+";",this.value[n+1]&&(t+="\n");return t}return this.key+" "+this.value+";"},e}(),H={"@charset":!0,"@import":!0,"@namespace":!0},V=[N,x,A,P,B,Y,{onCreateRule:function(e,t,n){return e in H?new G(e,t,n):null}}],Q={process:!0},W={force:!0,process:!0},Z=function(){function e(e){this.map={},this.raw={},this.index=[],this.counter=0,this.options=e,this.classes=e.classes,this.keyframes=e.keyframes}var t=e.prototype;return t.add=function(e,t,n){var o=this.options,i=o.parent,a=o.sheet,s=o.jss,u=o.Renderer,l=o.generateId,c=o.scoped,d=Object(r.a)({classes:this.classes,parent:i,sheet:a,jss:s,Renderer:u,generateId:l,scoped:c,name:e,keyframes:this.keyframes,selector:void 0},n),p=e;e in this.raw&&(p=e+"-d"+this.counter++),this.raw[p]=t,p in this.classes&&(d.selector="."+b(this.classes[p]));var h=f(p,t,d);if(!h)return null;this.register(h);var g=void 0===d.index?this.index.length:d.index;return this.index.splice(g,0,h),h},t.replace=function(e,t,n){var o=this.get(e),i=this.index.indexOf(o);o&&this.remove(o);var a=n;return-1!==i&&(a=Object(r.a)({},n,{index:i})),this.add(e,t,a)},t.get=function(e){return this.map[e]},t.remove=function(e){this.unregister(e),delete this.raw[e.key],this.index.splice(this.index.indexOf(e),1)},t.indexOf=function(e){return this.index.indexOf(e)},t.process=function(){var e=this.options.jss.plugins;this.index.slice(0).forEach(e.onProcessRule,e)},t.register=function(e){this.map[e.key]=e,e instanceof w?(this.map[e.selector]=e,e.id&&(this.classes[e.key]=e.id)):e instanceof T&&this.keyframes&&(this.keyframes[e.name]=e.id)},t.unregister=function(e){delete this.map[e.key],e instanceof w?(delete this.map[e.selector],delete this.classes[e.key]):e instanceof T&&delete this.keyframes[e.name]},t.update=function(){var e,t,n;if("string"===typeof(arguments.length<=0?void 0:arguments[0])?(e=arguments.length<=0?void 0:arguments[0],t=arguments.length<=1?void 0:arguments[1],n=arguments.length<=2?void 0:arguments[2]):(t=arguments.length<=0?void 0:arguments[0],n=arguments.length<=1?void 0:arguments[1],e=null),e)this.updateOne(this.get(e),t,n);else for(var r=0;r<this.index.length;r++)this.updateOne(this.index[r],t,n)},t.updateOne=function(t,n,r){void 0===r&&(r=Q);var o=this.options,i=o.jss.plugins,a=o.sheet;if(t.rules instanceof e)t.rules.update(n,r);else{var s=t.style;if(i.onUpdate(n,t,a,r),r.process&&s&&s!==t.style){for(var u in i.onProcessStyle(t.style,t,a),t.style){var l=t.style[u];l!==s[u]&&t.prop(u,l,W)}for(var c in s){var f=t.style[c],d=s[c];null==f&&f!==d&&t.prop(c,null,W)}}}},t.toString=function(e){for(var t="",n=this.options.sheet,r=!!n&&n.options.link,o=h(e).linebreak,i=0;i<this.index.length;i++){var a=this.index[i].toString(e);(a||r)&&(t&&(t+=o),t+=a)}return t},e}(),q=function(){function e(e,t){for(var n in this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=Object(r.a)({},t,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),t.Renderer&&(this.renderer=new t.Renderer(this)),this.rules=new Z(this.options),e)this.rules.add(n,e[n]);this.rules.process()}var t=e.prototype;return t.attach=function(){return this.attached||(this.renderer&&this.renderer.attach(),this.attached=!0,this.deployed||this.deploy()),this},t.detach=function(){return this.attached?(this.renderer&&this.renderer.detach(),this.attached=!1,this):this},t.addRule=function(e,t,n){var r=this.queue;this.attached&&!r&&(this.queue=[]);var o=this.rules.add(e,t,n);return o?(this.options.jss.plugins.onProcessRule(o),this.attached?this.deployed?(r?r.push(o):(this.insertRule(o),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0)),o):o:(this.deployed=!1,o)):null},t.replaceRule=function(e,t,n){var r=this.rules.get(e);if(!r)return this.addRule(e,t,n);var o=this.rules.replace(e,t,n);return o&&this.options.jss.plugins.onProcessRule(o),this.attached?this.deployed?(this.renderer&&(o?r.renderable&&this.renderer.replaceRule(r.renderable,o):this.renderer.deleteRule(r)),o):o:(this.deployed=!1,o)},t.insertRule=function(e){this.renderer&&this.renderer.insertRule(e)},t.addRules=function(e,t){var n=[];for(var r in e){var o=this.addRule(r,e[r],t);o&&n.push(o)}return n},t.getRule=function(e){return this.rules.get(e)},t.deleteRule=function(e){var t="object"===typeof e?e:this.rules.get(e);return!(!t||this.attached&&!t.renderable)&&(this.rules.remove(t),!(this.attached&&t.renderable&&this.renderer)||this.renderer.deleteRule(t.renderable))},t.indexOf=function(e){return this.rules.indexOf(e)},t.deploy=function(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},t.update=function(){var e;return(e=this.rules).update.apply(e,arguments),this},t.updateOne=function(e,t,n){return this.rules.updateOne(e,t,n),this},t.toString=function(e){return this.rules.toString(e)},e}(),X=function(){function e(){this.plugins={internal:[],external:[]},this.registry={}}var t=e.prototype;return t.onCreateRule=function(e,t,n){for(var r=0;r<this.registry.onCreateRule.length;r++){var o=this.registry.onCreateRule[r](e,t,n);if(o)return o}return null},t.onProcessRule=function(e){if(!e.isProcessed){for(var t=e.options.sheet,n=0;n<this.registry.onProcessRule.length;n++)this.registry.onProcessRule[n](e,t);e.style&&this.onProcessStyle(e.style,e,t),e.isProcessed=!0}},t.onProcessStyle=function(e,t,n){for(var r=0;r<this.registry.onProcessStyle.length;r++)t.style=this.registry.onProcessStyle[r](t.style,t,n)},t.onProcessSheet=function(e){for(var t=0;t<this.registry.onProcessSheet.length;t++)this.registry.onProcessSheet[t](e)},t.onUpdate=function(e,t,n,r){for(var o=0;o<this.registry.onUpdate.length;o++)this.registry.onUpdate[o](e,t,n,r)},t.onChangeValue=function(e,t,n){for(var r=e,o=0;o<this.registry.onChangeValue.length;o++)r=this.registry.onChangeValue[o](r,t,n);return r},t.use=function(e,t){void 0===t&&(t={queue:"external"});var n=this.plugins[t.queue];-1===n.indexOf(e)&&(n.push(e),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce((function(e,t){for(var n in t)n in e&&e[n].push(t[n]);return e}),{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},e}(),$=new(function(){function e(){this.registry=[]}var t=e.prototype;return t.add=function(e){var t=this.registry,n=e.options.index;if(-1===t.indexOf(e))if(0===t.length||n>=this.index)t.push(e);else for(var r=0;r<t.length;r++)if(t[r].options.index>n)return void t.splice(r,0,e)},t.reset=function(){this.registry=[]},t.remove=function(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)},t.toString=function(e){for(var t=void 0===e?{}:e,n=t.attached,r=Object(u.a)(t,["attached"]),o=h(r).linebreak,i="",a=0;a<this.registry.length;a++){var s=this.registry[a];null!=n&&s.attached!==n||(i&&(i+=o),i+=s.toString(r))}return i},Object(i.a)(e,[{key:"index",get:function(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),e}()),J="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window&&window.Math===Math?window:"undefined"!==typeof self&&self.Math===Math?self:Function("return this")(),K="2f1acc6c3a606b082e5eef5e54414ffb";null==J[K]&&(J[K]=0);var ee=J[K]++,te=function(e){void 0===e&&(e={});var t=0;return function(n,r){t+=1;var o="",i="";return r&&(r.options.classNamePrefix&&(i=r.options.classNamePrefix),null!=r.options.jss.id&&(o=String(r.options.jss.id))),e.minify?""+(i||"c")+ee+o+t:i+n.key+"-"+ee+(o?"-"+o:"")+"-"+t}},ne=function(e){var t;return function(){return t||(t=e()),t}},re=function(e,t){try{return e.attributeStyleMap?e.attributeStyleMap.get(t):e.style.getPropertyValue(t)}catch(n){return""}},oe=function(e,t,n){try{var r=n;if(Array.isArray(n)&&(r=p(n,!0),"!important"===n[n.length-1]))return e.style.setProperty(t,r,"important"),!0;e.attributeStyleMap?e.attributeStyleMap.set(t,r):e.style.setProperty(t,r)}catch(o){return!1}return!0},ie=function(e,t){try{e.attributeStyleMap?e.attributeStyleMap.delete(t):e.style.removeProperty(t)}catch(n){}},ae=function(e,t){return e.selectorText=t,e.selectorText===t},se=ne((function(){return document.querySelector("head")}));function ue(e){var t=$.registry;if(t.length>0){var n=function(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(r.attached&&r.options.index>t.index&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if((n=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.attached&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e))&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element.nextSibling}}var r=e.insertionPoint;if(r&&"string"===typeof r){var o=function(e){for(var t=se(),n=0;n<t.childNodes.length;n++){var r=t.childNodes[n];if(8===r.nodeType&&r.nodeValue.trim()===e)return r}return null}(r);if(o)return{parent:o.parentNode,node:o.nextSibling}}return!1}var le=ne((function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null})),ce=function(e,t,n){try{"insertRule"in e?e.insertRule(t,n):"appendRule"in e&&e.appendRule(t)}catch(r){return!1}return e.cssRules[n]},fe=function(e,t){var n=e.cssRules.length;return void 0===t||t>n?n:t},de=function(){function e(e){this.getPropertyValue=re,this.setProperty=oe,this.removeProperty=ie,this.setSelector=ae,this.hasInsertedRules=!1,this.cssRules=[],e&&$.add(e),this.sheet=e;var t=this.sheet?this.sheet.options:{},n=t.media,r=t.meta,o=t.element;this.element=o||function(){var e=document.createElement("style");return e.textContent="\n",e}(),this.element.setAttribute("data-jss",""),n&&this.element.setAttribute("media",n),r&&this.element.setAttribute("data-meta",r);var i=le();i&&this.element.setAttribute("nonce",i)}var t=e.prototype;return t.attach=function(){if(!this.element.parentNode&&this.sheet){!function(e,t){var n=t.insertionPoint,r=ue(t);if(!1!==r&&r.parent)r.parent.insertBefore(e,r.node);else if(n&&"number"===typeof n.nodeType){var o=n,i=o.parentNode;i&&i.insertBefore(e,o.nextSibling)}else se().appendChild(e)}(this.element,this.sheet.options);var e=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&e&&(this.hasInsertedRules=!1,this.deploy())}},t.detach=function(){if(this.sheet){var e=this.element.parentNode;e&&e.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent="\n")}},t.deploy=function(){var e=this.sheet;e&&(e.options.link?this.insertRules(e.rules):this.element.textContent="\n"+e.toString()+"\n")},t.insertRules=function(e,t){for(var n=0;n<e.index.length;n++)this.insertRule(e.index[n],n,t)},t.insertRule=function(e,t,n){if(void 0===n&&(n=this.element.sheet),e.rules){var r=e,o=n;if("conditional"===e.type||"keyframes"===e.type){var i=fe(n,t);if(!1===(o=ce(n,r.toString({children:!1}),i)))return!1;this.refCssRule(e,i,o)}return this.insertRules(r.rules,o),o}var a=e.toString();if(!a)return!1;var s=fe(n,t),u=ce(n,a,s);return!1!==u&&(this.hasInsertedRules=!0,this.refCssRule(e,s,u),u)},t.refCssRule=function(e,t,n){e.renderable=n,e.options.parent instanceof q&&this.cssRules.splice(t,0,n)},t.deleteRule=function(e){var t=this.element.sheet,n=this.indexOf(e);return-1!==n&&(t.deleteRule(n),this.cssRules.splice(n,1),!0)},t.indexOf=function(e){return this.cssRules.indexOf(e)},t.replaceRule=function(e,t){var n=this.indexOf(e);return-1!==n&&(this.element.sheet.deleteRule(n),this.cssRules.splice(n,1),this.insertRule(t,n))},t.getRules=function(){return this.element.sheet.cssRules},e}(),pe=0,he=function(){function e(e){this.id=pe++,this.version="10.9.0",this.plugins=new X,this.options={id:{minify:!1},createGenerateId:te,Renderer:o.a?de:null,plugins:[]},this.generateId=te({minify:!1});for(var t=0;t<V.length;t++)this.plugins.use(V[t],{queue:"internal"});this.setup(e)}var t=e.prototype;return t.setup=function(e){return void 0===e&&(e={}),e.createGenerateId&&(this.options.createGenerateId=e.createGenerateId),e.id&&(this.options.id=Object(r.a)({},this.options.id,e.id)),(e.createGenerateId||e.id)&&(this.generateId=this.options.createGenerateId(this.options.id)),null!=e.insertionPoint&&(this.options.insertionPoint=e.insertionPoint),"Renderer"in e&&(this.options.Renderer=e.Renderer),e.plugins&&this.use.apply(this,e.plugins),this},t.createStyleSheet=function(e,t){void 0===t&&(t={});var n=t.index;"number"!==typeof n&&(n=0===$.index?0:$.index+1);var o=new q(e,Object(r.a)({},t,{jss:this,generateId:t.generateId||this.generateId,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:n}));return this.plugins.onProcessSheet(o),o},t.removeStyleSheet=function(e){return e.detach(),$.remove(e),this},t.createRule=function(e,t,n){if(void 0===t&&(t={}),void 0===n&&(n={}),"object"===typeof e)return this.createRule(void 0,e,t);var o=Object(r.a)({},n,{name:e,jss:this,Renderer:this.options.Renderer});o.generateId||(o.generateId=this.generateId),o.classes||(o.classes={}),o.keyframes||(o.keyframes={});var i=f(e,t,o);return i&&this.plugins.onProcessRule(i),i},t.use=function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.forEach((function(t){e.plugins.use(t)})),this},e}(),ge=function(e){return new he(e)},ye="object"===typeof CSS&&null!=CSS&&"number"in CSS;function me(e){var t=null;for(var n in e){var r=e[n],o=typeof r;if("function"===o)t||(t={}),t[n]=r;else if("object"===o&&null!==r&&!Array.isArray(r)){var i=me(r);i&&(t||(t={}),t[n]=i)}}return t}ge()},function(e,t,n){"use strict";n.d(t,"b",(function(){return i}));var r=n(5),o={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},i={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function a(e){return"".concat(Math.round(e),"ms")}t.a={easing:o,duration:i,create:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.duration,s=void 0===n?i.standard:n,u=t.easing,l=void 0===u?o.easeInOut:u,c=t.delay,f=void 0===c?0:c;Object(r.a)(t,["duration","easing","delay"]);return(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"===typeof s?s:a(s)," ").concat(l," ").concat("string"===typeof f?f:a(f))})).join(",")},getAutoHeightDuration:function(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return y})),n.d(t,"c",(function(){return h})),n.d(t,"d",(function(){return d})),n.d(t,"e",(function(){return g})),n.d(t,"f",(function(){return f}));var r=n(16);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){Object(r.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var s="function"===typeof Symbol&&Symbol.observable||"@@observable",u=function(){return Math.random().toString(36).substring(7).split("").join(".")},l={INIT:"@@redux/INIT"+u(),REPLACE:"@@redux/REPLACE"+u(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+u()}};function c(e){if("object"!==typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function f(e,t,n){var r;if("function"===typeof t&&"function"===typeof n||"function"===typeof n&&"function"===typeof arguments[3])throw new Error(a(0));if("function"===typeof t&&"undefined"===typeof n&&(n=t,t=void 0),"undefined"!==typeof n){if("function"!==typeof n)throw new Error(a(1));return n(f)(e,t)}if("function"!==typeof e)throw new Error(a(2));var o=e,i=t,u=[],d=u,p=!1;function h(){d===u&&(d=u.slice())}function g(){if(p)throw new Error(a(3));return i}function y(e){if("function"!==typeof e)throw new Error(a(4));if(p)throw new Error(a(5));var t=!0;return h(),d.push(e),function(){if(t){if(p)throw new Error(a(6));t=!1,h();var n=d.indexOf(e);d.splice(n,1),u=null}}}function m(e){if(!c(e))throw new Error(a(7));if("undefined"===typeof e.type)throw new Error(a(8));if(p)throw new Error(a(9));try{p=!0,i=o(i,e)}finally{p=!1}for(var t=u=d,n=0;n<t.length;n++){(0,t[n])()}return e}function v(e){if("function"!==typeof e)throw new Error(a(10));o=e,m({type:l.REPLACE})}function b(){var e,t=y;return(e={subscribe:function(e){if("object"!==typeof e||null===e)throw new Error(a(11));function n(){e.next&&e.next(g())}return n(),{unsubscribe:t(n)}}})[s]=function(){return this},e}return m({type:l.INIT}),(r={dispatch:m,subscribe:y,getState:g,replaceReducer:v})[s]=b,r}function d(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var o=t[r];0,"function"===typeof e[o]&&(n[o]=e[o])}var i,s=Object.keys(n);try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if("undefined"===typeof n(void 0,{type:l.INIT}))throw new Error(a(12));if("undefined"===typeof n(void 0,{type:l.PROBE_UNKNOWN_ACTION()}))throw new Error(a(13))}))}(n)}catch(u){i=u}return function(e,t){if(void 0===e&&(e={}),i)throw i;for(var r=!1,o={},u=0;u<s.length;u++){var l=s[u],c=n[l],f=e[l],d=c(f,t);if("undefined"===typeof d){t&&t.type;throw new Error(a(14))}o[l]=d,r=r||d!==f}return(r=r||s.length!==Object.keys(e).length)?o:e}}function p(e,t){return function(){return t(e.apply(this,arguments))}}function h(e,t){if("function"===typeof e)return p(e,t);if("object"!==typeof e||null===e)throw new Error(a(16));var n={};for(var r in e){var o=e[r];"function"===typeof o&&(n[r]=p(o,t))}return n}function g(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function y(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error(a(15))},o={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},s=t.map((function(e){return e(o)}));return r=g.apply(void 0,s)(n.dispatch),i(i({},n),{},{dispatch:r})}}}},,function(e,t,n){e.exports=function(){"use strict";var e=Array.prototype.slice;function t(e,t){t&&(e.prototype=Object.create(t.prototype)),e.prototype.constructor=e}function n(e){return a(e)?e:Y(e)}function r(e){return s(e)?e:G(e)}function o(e){return u(e)?e:H(e)}function i(e){return a(e)&&!l(e)?e:V(e)}function a(e){return!(!e||!e[f])}function s(e){return!(!e||!e[d])}function u(e){return!(!e||!e[p])}function l(e){return s(e)||u(e)}function c(e){return!(!e||!e[h])}t(r,n),t(o,n),t(i,n),n.isIterable=a,n.isKeyed=s,n.isIndexed=u,n.isAssociative=l,n.isOrdered=c,n.Keyed=r,n.Indexed=o,n.Set=i;var f="@@__IMMUTABLE_ITERABLE__@@",d="@@__IMMUTABLE_KEYED__@@",p="@@__IMMUTABLE_INDEXED__@@",h="@@__IMMUTABLE_ORDERED__@@",g={},y={value:!1},m={value:!1};function v(e){return e.value=!1,e}function b(e){e&&(e.value=!0)}function M(){}function w(e,t){t=t||0;for(var n=Math.max(0,e.length-t),r=new Array(n),o=0;o<n;o++)r[o]=e[o+t];return r}function N(e){return void 0===e.size&&(e.size=e.__iterate(S)),e.size}function j(e,t){if("number"!==typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?N(e)+t:t}function S(){return!0}function I(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function D(e,t){return E(e,t,0)}function x(e,t){return E(e,t,t)}function E(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}var O,T,C,k="function"===typeof Symbol&&Symbol.iterator,L=k||"@@iterator";function _(e){this.next=e}function A(e,t,n,r){var o=0===e?t:1===e?n:[t,n];return r?r.value=o:r={value:o,done:!1},r}function z(){return{value:void 0,done:!0}}function P(e){return!!B(e)}function R(e){return e&&"function"===typeof e.next}function U(e){var t=B(e);return t&&t.call(e)}function B(e){var t=e&&(k&&e[k]||e["@@iterator"]);if("function"===typeof t)return t}function F(e){return e&&"number"===typeof e.length}function Y(e){return null===e||void 0===e?$():a(e)?e.toSeq():function(e){var t=ee(e)||"object"===typeof e&&new W(e);if(!t)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+e);return t}(e)}function G(e){return null===e||void 0===e?$().toKeyedSeq():a(e)?s(e)?e.toSeq():e.fromEntrySeq():J(e)}function H(e){return null===e||void 0===e?$():a(e)?s(e)?e.entrySeq():e.toIndexedSeq():K(e)}function V(e){return(null===e||void 0===e?$():a(e)?s(e)?e.entrySeq():e:K(e)).toSetSeq()}function Q(e){this._array=e,this.size=e.length}function W(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}function Z(e){this._iterable=e,this.size=e.length||e.size}function q(e){this._iterator=e,this._iteratorCache=[]}function X(e){return!(!e||!e["@@__IMMUTABLE_SEQ__@@"])}function $(){return O||(O=new Q([]))}function J(e){var t=Array.isArray(e)?new Q(e).fromEntrySeq():R(e)?new q(e).fromEntrySeq():P(e)?new Z(e).fromEntrySeq():"object"===typeof e?new W(e):void 0;if(!t)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+e);return t}function K(e){var t=ee(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function ee(e){return F(e)?new Q(e):R(e)?new q(e):P(e)?new Z(e):void 0}function te(e,t,n,r){var o=e._cache;if(o){for(var i=o.length-1,a=0;a<=i;a++){var s=o[n?i-a:a];if(!1===t(s[1],r?s[0]:a,e))return a+1}return a}return e.__iterateUncached(t,n)}function ne(e,t,n,r){var o=e._cache;if(o){var i=o.length-1,a=0;return new _((function(){var e=o[n?i-a:a];return a++>i?{value:void 0,done:!0}:A(t,r?e[0]:a-1,e[1])}))}return e.__iteratorUncached(t,n)}function re(e,t){return t?function e(t,n,r,o){return Array.isArray(n)?t.call(o,r,H(n).map((function(r,o){return e(t,r,o,n)}))):ie(n)?t.call(o,r,G(n).map((function(r,o){return e(t,r,o,n)}))):n}(t,e,"",{"":e}):oe(e)}function oe(e){return Array.isArray(e)?H(e).map(oe).toList():ie(e)?G(e).map(oe).toMap():e}function ie(e){return e&&(e.constructor===Object||void 0===e.constructor)}function ae(e,t){if(e===t||e!==e&&t!==t)return!0;if(!e||!t)return!1;if("function"===typeof e.valueOf&&"function"===typeof t.valueOf){if((e=e.valueOf())===(t=t.valueOf())||e!==e&&t!==t)return!0;if(!e||!t)return!1}return!("function"!==typeof e.equals||"function"!==typeof t.equals||!e.equals(t))}function se(e,t){if(e===t)return!0;if(!a(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||s(e)!==s(t)||u(e)!==u(t)||c(e)!==c(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!l(e);if(c(e)){var r=e.entries();return t.every((function(e,t){var o=r.next().value;return o&&ae(o[1],e)&&(n||ae(o[0],t))}))&&r.next().done}var o=!1;if(void 0===e.size)if(void 0===t.size)"function"===typeof e.cacheResult&&e.cacheResult();else{o=!0;var i=e;e=t,t=i}var f=!0,d=t.__iterate((function(t,r){if(n?!e.has(t):o?!ae(t,e.get(r,g)):!ae(e.get(r,g),t))return f=!1,!1}));return f&&e.size===d}function ue(e,t){if(!(this instanceof ue))return new ue(e,t);if(this._value=e,this.size=void 0===t?1/0:Math.max(0,t),0===this.size){if(T)return T;T=this}}function le(e,t){if(!e)throw new Error(t)}function ce(e,t,n){if(!(this instanceof ce))return new ce(e,t,n);if(le(0!==n,"Cannot step a Range by 0"),e=e||0,void 0===t&&(t=1/0),n=void 0===n?1:Math.abs(n),t<e&&(n=-n),this._start=e,this._end=t,this._step=n,this.size=Math.max(0,Math.ceil((t-e)/n-1)+1),0===this.size){if(C)return C;C=this}}function fe(){throw TypeError("Abstract")}function de(){}function pe(){}function he(){}_.prototype.toString=function(){return"[Iterator]"},_.KEYS=0,_.VALUES=1,_.ENTRIES=2,_.prototype.inspect=_.prototype.toSource=function(){return this.toString()},_.prototype[L]=function(){return this},t(Y,n),Y.of=function(){return Y(arguments)},Y.prototype.toSeq=function(){return this},Y.prototype.toString=function(){return this.__toString("Seq {","}")},Y.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},Y.prototype.__iterate=function(e,t){return te(this,e,t,!0)},Y.prototype.__iterator=function(e,t){return ne(this,e,t,!0)},t(G,Y),G.prototype.toKeyedSeq=function(){return this},t(H,Y),H.of=function(){return H(arguments)},H.prototype.toIndexedSeq=function(){return this},H.prototype.toString=function(){return this.__toString("Seq [","]")},H.prototype.__iterate=function(e,t){return te(this,e,t,!1)},H.prototype.__iterator=function(e,t){return ne(this,e,t,!1)},t(V,Y),V.of=function(){return V(arguments)},V.prototype.toSetSeq=function(){return this},Y.isSeq=X,Y.Keyed=G,Y.Set=V,Y.Indexed=H,Y.prototype["@@__IMMUTABLE_SEQ__@@"]=!0,t(Q,H),Q.prototype.get=function(e,t){return this.has(e)?this._array[j(this,e)]:t},Q.prototype.__iterate=function(e,t){for(var n=this._array,r=n.length-1,o=0;o<=r;o++)if(!1===e(n[t?r-o:o],o,this))return o+1;return o},Q.prototype.__iterator=function(e,t){var n=this._array,r=n.length-1,o=0;return new _((function(){return o>r?{value:void 0,done:!0}:A(e,o,n[t?r-o++:o++])}))},t(W,G),W.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},W.prototype.has=function(e){return this._object.hasOwnProperty(e)},W.prototype.__iterate=function(e,t){for(var n=this._object,r=this._keys,o=r.length-1,i=0;i<=o;i++){var a=r[t?o-i:i];if(!1===e(n[a],a,this))return i+1}return i},W.prototype.__iterator=function(e,t){var n=this._object,r=this._keys,o=r.length-1,i=0;return new _((function(){var a=r[t?o-i:i];return i++>o?{value:void 0,done:!0}:A(e,a,n[a])}))},W.prototype[h]=!0,t(Z,H),Z.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=U(this._iterable),r=0;if(R(n))for(var o;!(o=n.next()).done&&!1!==e(o.value,r++,this););return r},Z.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=U(this._iterable);if(!R(n))return new _(z);var r=0;return new _((function(){var t=n.next();return t.done?t:A(e,r++,t.value)}))},t(q,H),q.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n,r=this._iterator,o=this._iteratorCache,i=0;i<o.length;)if(!1===e(o[i],i++,this))return i;for(;!(n=r.next()).done;){var a=n.value;if(o[i]=a,!1===e(a,i++,this))break}return i},q.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterator,r=this._iteratorCache,o=0;return new _((function(){if(o>=r.length){var t=n.next();if(t.done)return t;r[o]=t.value}return A(e,o,r[o++])}))},t(ue,H),ue.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},ue.prototype.get=function(e,t){return this.has(e)?this._value:t},ue.prototype.includes=function(e){return ae(this._value,e)},ue.prototype.slice=function(e,t){var n=this.size;return I(e,t,n)?this:new ue(this._value,x(t,n)-D(e,n))},ue.prototype.reverse=function(){return this},ue.prototype.indexOf=function(e){return ae(this._value,e)?0:-1},ue.prototype.lastIndexOf=function(e){return ae(this._value,e)?this.size:-1},ue.prototype.__iterate=function(e,t){for(var n=0;n<this.size;n++)if(!1===e(this._value,n,this))return n+1;return n},ue.prototype.__iterator=function(e,t){var n=this,r=0;return new _((function(){return r<n.size?A(e,r++,n._value):{value:void 0,done:!0}}))},ue.prototype.equals=function(e){return e instanceof ue?ae(this._value,e._value):se(e)},t(ce,H),ce.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(1!==this._step?" by "+this._step:"")+" ]"},ce.prototype.get=function(e,t){return this.has(e)?this._start+j(this,e)*this._step:t},ce.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},ce.prototype.slice=function(e,t){return I(e,t,this.size)?this:(e=D(e,this.size),(t=x(t,this.size))<=e?new ce(0,0):new ce(this.get(e,this._end),this.get(t,this._end),this._step))},ce.prototype.indexOf=function(e){var t=e-this._start;if(t%this._step===0){var n=t/this._step;if(n>=0&&n<this.size)return n}return-1},ce.prototype.lastIndexOf=function(e){return this.indexOf(e)},ce.prototype.__iterate=function(e,t){for(var n=this.size-1,r=this._step,o=t?this._start+n*r:this._start,i=0;i<=n;i++){if(!1===e(o,i,this))return i+1;o+=t?-r:r}return i},ce.prototype.__iterator=function(e,t){var n=this.size-1,r=this._step,o=t?this._start+n*r:this._start,i=0;return new _((function(){var a=o;return o+=t?-r:r,i>n?{value:void 0,done:!0}:A(e,i++,a)}))},ce.prototype.equals=function(e){return e instanceof ce?this._start===e._start&&this._end===e._end&&this._step===e._step:se(this,e)},t(fe,n),t(de,fe),t(pe,fe),t(he,fe),fe.Keyed=de,fe.Indexed=pe,fe.Set=he;var ge="function"===typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var n=65535&(e|=0),r=65535&(t|=0);return n*r+((e>>>16)*r+n*(t>>>16)<<16>>>0)|0};function ye(e){return e>>>1&1073741824|3221225471&e}function me(e){if(!1===e||null===e||void 0===e)return 0;if("function"===typeof e.valueOf&&(!1===(e=e.valueOf())||null===e||void 0===e))return 0;if(!0===e)return 1;var t=typeof e;if("number"===t){if(e!==e||e===1/0)return 0;var n=0|e;for(n!==e&&(n^=4294967295*e);e>4294967295;)n^=e/=4294967295;return ye(n)}if("string"===t)return e.length>Ie?function(e){var t=Ee[e];return void 0===t&&(t=ve(e),xe===De&&(xe=0,Ee={}),xe++,Ee[e]=t),t}(e):ve(e);if("function"===typeof e.hashCode)return e.hashCode();if("object"===t)return function(e){var t;if(Ne&&void 0!==(t=be.get(e)))return t;if(void 0!==(t=e[Se]))return t;if(!we){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Se]))return t;if(void 0!==(t=function(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}(e)))return t}if(t=++je,1073741824&je&&(je=0),Ne)be.set(e,t);else{if(void 0!==Me&&!1===Me(e))throw new Error("Non-extensible objects are not allowed as keys.");if(we)Object.defineProperty(e,Se,{enumerable:!1,configurable:!1,writable:!1,value:t});else if(void 0!==e.propertyIsEnumerable&&e.propertyIsEnumerable===e.constructor.prototype.propertyIsEnumerable)e.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},e.propertyIsEnumerable[Se]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Se]=t}}return t}(e);if("function"===typeof e.toString)return ve(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function ve(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return ye(t)}var be,Me=Object.isExtensible,we=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}(),Ne="function"===typeof WeakMap;Ne&&(be=new WeakMap);var je=0,Se="__immutablehash__";"function"===typeof Symbol&&(Se=Symbol(Se));var Ie=16,De=255,xe=0,Ee={};function Oe(e){le(e!==1/0,"Cannot perform this action with an infinite size.")}function Te(e){return null===e||void 0===e?He():Ce(e)&&!c(e)?e:He().withMutations((function(t){var n=r(e);Oe(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Ce(e){return!(!e||!e[Le])}t(Te,de),Te.of=function(){var t=e.call(arguments,0);return He().withMutations((function(e){for(var n=0;n<t.length;n+=2){if(n+1>=t.length)throw new Error("Missing value for key: "+t[n]);e.set(t[n],t[n+1])}}))},Te.prototype.toString=function(){return this.__toString("Map {","}")},Te.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},Te.prototype.set=function(e,t){return Ve(this,e,t)},Te.prototype.setIn=function(e,t){return this.updateIn(e,g,(function(){return t}))},Te.prototype.remove=function(e){return Ve(this,e,g)},Te.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return g}))},Te.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},Te.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var r=function e(t,n,r,o){var i=t===g,a=n.next();if(a.done){var s=i?r:t,u=o(s);return u===s?t:u}le(i||t&&t.set,"invalid keyPath");var l=a.value,c=i?g:t.get(l,g),f=e(c,n,r,o);return f===c?t:f===g?t.remove(l):(i?He():t).set(l,f)}(this,qt(e),t,n);return r===g?void 0:r},Te.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):He()},Te.prototype.merge=function(){return qe(this,void 0,arguments)},Te.prototype.mergeWith=function(t){var n=e.call(arguments,1);return qe(this,t,n)},Te.prototype.mergeIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,He(),(function(e){return"function"===typeof e.merge?e.merge.apply(e,n):n[n.length-1]}))},Te.prototype.mergeDeep=function(){return qe(this,Xe,arguments)},Te.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return qe(this,$e(t),n)},Te.prototype.mergeDeepIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,He(),(function(e){return"function"===typeof e.mergeDeep?e.mergeDeep.apply(e,n):n[n.length-1]}))},Te.prototype.sort=function(e){return wt(Rt(this,e))},Te.prototype.sortBy=function(e,t){return wt(Rt(this,t,e))},Te.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},Te.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new M)},Te.prototype.asImmutable=function(){return this.__ensureOwner()},Te.prototype.wasAltered=function(){return this.__altered},Te.prototype.__iterator=function(e,t){return new Be(this,e,t)},Te.prototype.__iterate=function(e,t){var n=this,r=0;return this._root&&this._root.iterate((function(t){return r++,e(t[1],t[0],n)}),t),r},Te.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Ge(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Te.isMap=Ce;var ke,Le="@@__IMMUTABLE_MAP__@@",_e=Te.prototype;function Ae(e,t){this.ownerID=e,this.entries=t}function ze(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n}function Pe(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function Re(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n}function Ue(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n}function Be(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&Ye(e._root)}function Fe(e,t){return A(e,t[0],t[1])}function Ye(e,t){return{node:e,index:0,__prev:t}}function Ge(e,t,n,r){var o=Object.create(_e);return o.size=e,o._root=t,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function He(){return ke||(ke=Ge(0))}function Ve(e,t,n){var r,o;if(e._root){var i=v(y),a=v(m);if(r=Qe(e._root,e.__ownerID,0,void 0,t,n,i,a),!a.value)return e;o=e.size+(i.value?n===g?-1:1:0)}else{if(n===g)return e;o=1,r=new Ae(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=o,e._root=r,e.__hash=void 0,e.__altered=!0,e):r?Ge(o,r):He()}function Qe(e,t,n,r,o,i,a,s){return e?e.update(t,n,r,o,i,a,s):i===g?e:(b(s),b(a),new Ue(t,r,[o,i]))}function We(e){return e.constructor===Ue||e.constructor===Re}function Ze(e,t,n,r,o){if(e.keyHash===r)return new Re(t,r,[e.entry,o]);var i,a=31&(0===n?e.keyHash:e.keyHash>>>n),s=31&(0===n?r:r>>>n);return new ze(t,1<<a|1<<s,a===s?[Ze(e,t,n+5,r,o)]:(i=new Ue(t,r,o),a<s?[e,i]:[i,e]))}function qe(e,t,n){for(var o=[],i=0;i<n.length;i++){var s=n[i],u=r(s);a(s)||(u=u.map((function(e){return re(e)}))),o.push(u)}return Je(e,t,o)}function Xe(e,t,n){return e&&e.mergeDeep&&a(t)?e.mergeDeep(t):ae(e,t)?e:t}function $e(e){return function(t,n,r){if(t&&t.mergeDeepWith&&a(n))return t.mergeDeepWith(e,n);var o=e(t,n,r);return ae(t,o)?t:o}}function Je(e,t,n){return 0===(n=n.filter((function(e){return 0!==e.size}))).length?e:0!==e.size||e.__ownerID||1!==n.length?e.withMutations((function(e){for(var r=t?function(n,r){e.update(r,g,(function(e){return e===g?n:t(e,n,r)}))}:function(t,n){e.set(n,t)},o=0;o<n.length;o++)n[o].forEach(r)})):e.constructor(n[0])}function Ke(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function et(e,t,n,r){var o=r?e:w(e);return o[t]=n,o}_e[Le]=!0,_e.delete=_e.remove,_e.removeIn=_e.deleteIn,Ae.prototype.get=function(e,t,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if(ae(n,o[i][0]))return o[i][1];return r},Ae.prototype.update=function(e,t,n,r,o,i,a){for(var s=o===g,u=this.entries,l=0,c=u.length;l<c&&!ae(r,u[l][0]);l++);var f=l<c;if(f?u[l][1]===o:s)return this;if(b(a),(s||!f)&&b(i),!s||1!==u.length){if(!f&&!s&&u.length>=tt)return function(e,t,n,r){e||(e=new M);for(var o=new Ue(e,me(n),[n,r]),i=0;i<t.length;i++){var a=t[i];o=o.update(e,0,void 0,a[0],a[1])}return o}(e,u,r,o);var d=e&&e===this.ownerID,p=d?u:w(u);return f?s?l===c-1?p.pop():p[l]=p.pop():p[l]=[r,o]:p.push([r,o]),d?(this.entries=p,this):new Ae(e,p)}},ze.prototype.get=function(e,t,n,r){void 0===t&&(t=me(n));var o=1<<(31&(0===e?t:t>>>e)),i=this.bitmap;return 0===(i&o)?r:this.nodes[Ke(i&o-1)].get(e+5,t,n,r)},ze.prototype.update=function(e,t,n,r,o,i,a){void 0===n&&(n=me(r));var s=31&(0===t?n:n>>>t),u=1<<s,l=this.bitmap,c=0!==(l&u);if(!c&&o===g)return this;var f=Ke(l&u-1),d=this.nodes,p=c?d[f]:void 0,h=Qe(p,e,t+5,n,r,o,i,a);if(h===p)return this;if(!c&&h&&d.length>=nt)return function(e,t,n,r,o){for(var i=0,a=new Array(32),s=0;0!==n;s++,n>>>=1)a[s]=1&n?t[i++]:void 0;return a[r]=o,new Pe(e,i+1,a)}(e,d,l,s,h);if(c&&!h&&2===d.length&&We(d[1^f]))return d[1^f];if(c&&h&&1===d.length&&We(h))return h;var y=e&&e===this.ownerID,m=c?h?l:l^u:l|u,v=c?h?et(d,f,h,y):function(e,t,n){var r=e.length-1;if(n&&t===r)return e.pop(),e;for(var o=new Array(r),i=0,a=0;a<r;a++)a===t&&(i=1),o[a]=e[a+i];return o}(d,f,y):function(e,t,n,r){var o=e.length+1;if(r&&t+1===o)return e[t]=n,e;for(var i=new Array(o),a=0,s=0;s<o;s++)s===t?(i[s]=n,a=-1):i[s]=e[s+a];return i}(d,f,h,y);return y?(this.bitmap=m,this.nodes=v,this):new ze(e,m,v)},Pe.prototype.get=function(e,t,n,r){void 0===t&&(t=me(n));var o=31&(0===e?t:t>>>e),i=this.nodes[o];return i?i.get(e+5,t,n,r):r},Pe.prototype.update=function(e,t,n,r,o,i,a){void 0===n&&(n=me(r));var s=31&(0===t?n:n>>>t),u=o===g,l=this.nodes,c=l[s];if(u&&!c)return this;var f=Qe(c,e,t+5,n,r,o,i,a);if(f===c)return this;var d=this.count;if(c){if(!f&&--d<rt)return function(e,t,n,r){for(var o=0,i=0,a=new Array(n),s=0,u=1,l=t.length;s<l;s++,u<<=1){var c=t[s];void 0!==c&&s!==r&&(o|=u,a[i++]=c)}return new ze(e,o,a)}(e,l,d,s)}else d++;var p=e&&e===this.ownerID,h=et(l,s,f,p);return p?(this.count=d,this.nodes=h,this):new Pe(e,d,h)},Re.prototype.get=function(e,t,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if(ae(n,o[i][0]))return o[i][1];return r},Re.prototype.update=function(e,t,n,r,o,i,a){void 0===n&&(n=me(r));var s=o===g;if(n!==this.keyHash)return s?this:(b(a),b(i),Ze(this,e,t,n,[r,o]));for(var u=this.entries,l=0,c=u.length;l<c&&!ae(r,u[l][0]);l++);var f=l<c;if(f?u[l][1]===o:s)return this;if(b(a),(s||!f)&&b(i),s&&2===c)return new Ue(e,this.keyHash,u[1^l]);var d=e&&e===this.ownerID,p=d?u:w(u);return f?s?l===c-1?p.pop():p[l]=p.pop():p[l]=[r,o]:p.push([r,o]),d?(this.entries=p,this):new Re(e,this.keyHash,p)},Ue.prototype.get=function(e,t,n,r){return ae(n,this.entry[0])?this.entry[1]:r},Ue.prototype.update=function(e,t,n,r,o,i,a){var s=o===g,u=ae(r,this.entry[0]);return(u?o===this.entry[1]:s)?this:(b(a),s?void b(i):u?e&&e===this.ownerID?(this.entry[1]=o,this):new Ue(e,this.keyHash,[r,o]):(b(i),Ze(this,e,t,me(r),[r,o])))},Ae.prototype.iterate=Re.prototype.iterate=function(e,t){for(var n=this.entries,r=0,o=n.length-1;r<=o;r++)if(!1===e(n[t?o-r:r]))return!1},ze.prototype.iterate=Pe.prototype.iterate=function(e,t){for(var n=this.nodes,r=0,o=n.length-1;r<=o;r++){var i=n[t?o-r:r];if(i&&!1===i.iterate(e,t))return!1}},Ue.prototype.iterate=function(e,t){return e(this.entry)},t(Be,_),Be.prototype.next=function(){for(var e=this._type,t=this._stack;t;){var n,r=t.node,o=t.index++;if(r.entry){if(0===o)return Fe(e,r.entry)}else if(r.entries){if(o<=(n=r.entries.length-1))return Fe(e,r.entries[this._reverse?n-o:o])}else if(o<=(n=r.nodes.length-1)){var i=r.nodes[this._reverse?n-o:o];if(i){if(i.entry)return Fe(e,i.entry);t=this._stack=Ye(i,t)}continue}t=this._stack=this._stack.__prev}return{value:void 0,done:!0}};var tt=8,nt=16,rt=8;function ot(e){var t=ht();if(null===e||void 0===e)return t;if(it(e))return e;var n=o(e),r=n.size;return 0===r?t:(Oe(r),r>0&&r<32?pt(0,r,5,null,new ut(n.toArray())):t.withMutations((function(e){e.setSize(r),n.forEach((function(t,n){return e.set(n,t)}))})))}function it(e){return!(!e||!e[at])}t(ot,pe),ot.of=function(){return this(arguments)},ot.prototype.toString=function(){return this.__toString("List [","]")},ot.prototype.get=function(e,t){if((e=j(this,e))>=0&&e<this.size){var n=mt(this,e+=this._origin);return n&&n.array[31&e]}return t},ot.prototype.set=function(e,t){return function(e,t,n){if((t=j(e,t))!==t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?vt(e,t).set(0,n):vt(e,0,t+1).set(t,n)}));t+=e._origin;var r=e._tail,o=e._root,i=v(m);return t>=Mt(e._capacity)?r=gt(r,e.__ownerID,0,t,n,i):o=gt(o,e.__ownerID,e._level,t,n,i),i.value?e.__ownerID?(e._root=o,e._tail=r,e.__hash=void 0,e.__altered=!0,e):pt(e._origin,e._capacity,e._level,o,r):e}(this,e,t)},ot.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},ot.prototype.insert=function(e,t){return this.splice(e,0,t)},ot.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=5,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):ht()},ot.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){vt(n,0,t+e.length);for(var r=0;r<e.length;r++)n.set(t+r,e[r])}))},ot.prototype.pop=function(){return vt(this,0,-1)},ot.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){vt(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},ot.prototype.shift=function(){return vt(this,1)},ot.prototype.merge=function(){return bt(this,void 0,arguments)},ot.prototype.mergeWith=function(t){var n=e.call(arguments,1);return bt(this,t,n)},ot.prototype.mergeDeep=function(){return bt(this,Xe,arguments)},ot.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return bt(this,$e(t),n)},ot.prototype.setSize=function(e){return vt(this,0,e)},ot.prototype.slice=function(e,t){var n=this.size;return I(e,t,n)?this:vt(this,D(e,n),x(t,n))},ot.prototype.__iterator=function(e,t){var n=0,r=dt(this,t);return new _((function(){var t=r();return t===ft?{value:void 0,done:!0}:A(e,n++,t)}))},ot.prototype.__iterate=function(e,t){for(var n,r=0,o=dt(this,t);(n=o())!==ft&&!1!==e(n,r++,this););return r},ot.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?pt(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},ot.isList=it;var at="@@__IMMUTABLE_LIST__@@",st=ot.prototype;function ut(e,t){this.array=e,this.ownerID=t}st[at]=!0,st.delete=st.remove,st.setIn=_e.setIn,st.deleteIn=st.removeIn=_e.removeIn,st.update=_e.update,st.updateIn=_e.updateIn,st.mergeIn=_e.mergeIn,st.mergeDeepIn=_e.mergeDeepIn,st.withMutations=_e.withMutations,st.asMutable=_e.asMutable,st.asImmutable=_e.asImmutable,st.wasAltered=_e.wasAltered,ut.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var r=n>>>t&31;if(r>=this.array.length)return new ut([],e);var o,i=0===r;if(t>0){var a=this.array[r];if((o=a&&a.removeBefore(e,t-5,n))===a&&i)return this}if(i&&!o)return this;var s=yt(this,e);if(!i)for(var u=0;u<r;u++)s.array[u]=void 0;return o&&(s.array[r]=o),s},ut.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var r,o=n-1>>>t&31;if(o>=this.array.length)return this;if(t>0){var i=this.array[o];if((r=i&&i.removeAfter(e,t-5,n))===i&&o===this.array.length-1)return this}var a=yt(this,e);return a.array.splice(o+1),r&&(a.array[o]=r),a};var lt,ct,ft={};function dt(e,t){var n=e._origin,r=e._capacity,o=Mt(r),i=e._tail;return a(e._root,e._level,0);function a(e,s,u){return 0===s?function(e,a){var s=a===o?i&&i.array:e&&e.array,u=a>n?0:n-a,l=r-a;return l>32&&(l=32),function(){if(u===l)return ft;var e=t?--l:u++;return s&&s[e]}}(e,u):function(e,o,i){var s,u=e&&e.array,l=i>n?0:n-i>>o,c=1+(r-i>>o);return c>32&&(c=32),function(){for(;;){if(s){var e=s();if(e!==ft)return e;s=null}if(l===c)return ft;var n=t?--c:l++;s=a(u&&u[n],o-5,i+(n<<o))}}}(e,s,u)}}function pt(e,t,n,r,o,i,a){var s=Object.create(st);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=r,s._tail=o,s.__ownerID=i,s.__hash=a,s.__altered=!1,s}function ht(){return lt||(lt=pt(0,0,5))}function gt(e,t,n,r,o,i){var a,s=r>>>n&31,u=e&&s<e.array.length;if(!u&&void 0===o)return e;if(n>0){var l=e&&e.array[s],c=gt(l,t,n-5,r,o,i);return c===l?e:((a=yt(e,t)).array[s]=c,a)}return u&&e.array[s]===o?e:(b(i),a=yt(e,t),void 0===o&&s===a.array.length-1?a.array.pop():a.array[s]=o,a)}function yt(e,t){return t&&e&&t===e.ownerID?e:new ut(e?e.array.slice():[],t)}function mt(e,t){if(t>=Mt(e._capacity))return e._tail;if(t<1<<e._level+5){for(var n=e._root,r=e._level;n&&r>0;)n=n.array[t>>>r&31],r-=5;return n}}function vt(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new M,o=e._origin,i=e._capacity,a=o+t,s=void 0===n?i:n<0?i+n:o+n;if(a===o&&s===i)return e;if(a>=s)return e.clear();for(var u=e._level,l=e._root,c=0;a+c<0;)l=new ut(l&&l.array.length?[void 0,l]:[],r),c+=1<<(u+=5);c&&(a+=c,o+=c,s+=c,i+=c);for(var f=Mt(i),d=Mt(s);d>=1<<u+5;)l=new ut(l&&l.array.length?[l]:[],r),u+=5;var p=e._tail,h=d<f?mt(e,s-1):d>f?new ut([],r):p;if(p&&d>f&&a<i&&p.array.length){for(var g=l=yt(l,r),y=u;y>5;y-=5){var m=f>>>y&31;g=g.array[m]=yt(g.array[m],r)}g.array[f>>>5&31]=p}if(s<i&&(h=h&&h.removeAfter(r,0,s)),a>=d)a-=d,s-=d,u=5,l=null,h=h&&h.removeBefore(r,0,a);else if(a>o||d<f){for(c=0;l;){var v=a>>>u&31;if(v!==d>>>u&31)break;v&&(c+=(1<<u)*v),u-=5,l=l.array[v]}l&&a>o&&(l=l.removeBefore(r,u,a-c)),l&&d<f&&(l=l.removeAfter(r,u,d-c)),c&&(a-=c,s-=c)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=u,e._root=l,e._tail=h,e.__hash=void 0,e.__altered=!0,e):pt(a,s,u,l,h)}function bt(e,t,n){for(var r=[],i=0,s=0;s<n.length;s++){var u=n[s],l=o(u);l.size>i&&(i=l.size),a(u)||(l=l.map((function(e){return re(e)}))),r.push(l)}return i>e.size&&(e=e.setSize(i)),Je(e,t,r)}function Mt(e){return e<32?0:e-1>>>5<<5}function wt(e){return null===e||void 0===e?St():Nt(e)?e:St().withMutations((function(t){var n=r(e);Oe(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Nt(e){return Ce(e)&&c(e)}function jt(e,t,n,r){var o=Object.create(wt.prototype);return o.size=e?e.size:0,o._map=e,o._list=t,o.__ownerID=n,o.__hash=r,o}function St(){return ct||(ct=jt(He(),ht()))}function It(e,t,n){var r,o,i=e._map,a=e._list,s=i.get(t),u=void 0!==s;if(n===g){if(!u)return e;a.size>=32&&a.size>=2*i.size?(r=(o=a.filter((function(e,t){return void 0!==e&&s!==t}))).toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(r.__ownerID=o.__ownerID=e.__ownerID)):(r=i.remove(t),o=s===a.size-1?a.pop():a.set(s,void 0))}else if(u){if(n===a.get(s)[1])return e;r=i,o=a.set(s,[t,n])}else r=i.set(t,a.size),o=a.set(a.size,[t,n]);return e.__ownerID?(e.size=r.size,e._map=r,e._list=o,e.__hash=void 0,e):jt(r,o)}function Dt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function xt(e){this._iter=e,this.size=e.size}function Et(e){this._iter=e,this.size=e.size}function Ot(e){this._iter=e,this.size=e.size}function Tt(e){var t=Qt(e);return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var t=e.reverse.apply(this);return t.flip=function(){return e.reverse()},t},t.has=function(t){return e.includes(t)},t.includes=function(t){return e.has(t)},t.cacheResult=Wt,t.__iterateUncached=function(t,n){var r=this;return e.__iterate((function(e,n){return!1!==t(n,e,r)}),n)},t.__iteratorUncached=function(t,n){if(2===t){var r=e.__iterator(t,n);return new _((function(){var e=r.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e}))}return e.__iterator(1===t?0:1,n)},t}function Ct(e,t,n){var r=Qt(e);return r.size=e.size,r.has=function(t){return e.has(t)},r.get=function(r,o){var i=e.get(r,g);return i===g?o:t.call(n,i,r,e)},r.__iterateUncached=function(r,o){var i=this;return e.__iterate((function(e,o,a){return!1!==r(t.call(n,e,o,a),o,i)}),o)},r.__iteratorUncached=function(r,o){var i=e.__iterator(2,o);return new _((function(){var o=i.next();if(o.done)return o;var a=o.value,s=a[0];return A(r,s,t.call(n,a[1],s,e),o)}))},r}function kt(e,t){var n=Qt(e);return n._iter=e,n.size=e.size,n.reverse=function(){return e},e.flip&&(n.flip=function(){var t=Tt(e);return t.reverse=function(){return e.flip()},t}),n.get=function(n,r){return e.get(t?n:-1-n,r)},n.has=function(n){return e.has(t?n:-1-n)},n.includes=function(t){return e.includes(t)},n.cacheResult=Wt,n.__iterate=function(t,n){var r=this;return e.__iterate((function(e,n){return t(e,n,r)}),!n)},n.__iterator=function(t,n){return e.__iterator(t,!n)},n}function Lt(e,t,n,r){var o=Qt(e);return r&&(o.has=function(r){var o=e.get(r,g);return o!==g&&!!t.call(n,o,r,e)},o.get=function(r,o){var i=e.get(r,g);return i!==g&&t.call(n,i,r,e)?i:o}),o.__iterateUncached=function(o,i){var a=this,s=0;return e.__iterate((function(e,i,u){if(t.call(n,e,i,u))return s++,o(e,r?i:s-1,a)}),i),s},o.__iteratorUncached=function(o,i){var a=e.__iterator(2,i),s=0;return new _((function(){for(;;){var i=a.next();if(i.done)return i;var u=i.value,l=u[0],c=u[1];if(t.call(n,c,l,e))return A(o,r?l:s++,c,i)}}))},o}function _t(e,t,n,r){var o=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n===1/0?n=o:n|=0),I(t,n,o))return e;var i=D(t,o),a=x(n,o);if(i!==i||a!==a)return _t(e.toSeq().cacheResult(),t,n,r);var s,u=a-i;u===u&&(s=u<0?0:u);var l=Qt(e);return l.size=0===s?s:e.size&&s||void 0,!r&&X(e)&&s>=0&&(l.get=function(t,n){return(t=j(this,t))>=0&&t<s?e.get(t+i,n):n}),l.__iterateUncached=function(t,n){var o=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,u=!0,l=0;return e.__iterate((function(e,n){if(!u||!(u=a++<i))return l++,!1!==t(e,r?n:l-1,o)&&l!==s})),l},l.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);var o=0!==s&&e.__iterator(t,n),a=0,u=0;return new _((function(){for(;a++<i;)o.next();if(++u>s)return{value:void 0,done:!0};var e=o.next();return r||1===t?e:A(t,u-1,0===t?void 0:e.value[1],e)}))},l}function At(e,t,n,r){var o=Qt(e);return o.__iterateUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterate(o,i);var s=!0,u=0;return e.__iterate((function(e,i,l){if(!s||!(s=t.call(n,e,i,l)))return u++,o(e,r?i:u-1,a)})),u},o.__iteratorUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterator(o,i);var s=e.__iterator(2,i),u=!0,l=0;return new _((function(){var e,i,c;do{if((e=s.next()).done)return r||1===o?e:A(o,l++,0===o?void 0:e.value[1],e);var f=e.value;i=f[0],c=f[1],u&&(u=t.call(n,c,i,a))}while(u);return 2===o?e:A(o,i,c,e)}))},o}function zt(e,t){var n=s(e),o=[e].concat(t).map((function(e){return a(e)?n&&(e=r(e)):e=n?J(e):K(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===o.length)return e;if(1===o.length){var i=o[0];if(i===e||n&&s(i)||u(e)&&u(i))return i}var l=new Q(o);return n?l=l.toKeyedSeq():u(e)||(l=l.toSetSeq()),(l=l.flatten(!0)).size=o.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),l}function Pt(e,t,n){var r=Qt(e);return r.__iterateUncached=function(r,o){var i=0,s=!1;return function e(u,l){var c=this;u.__iterate((function(o,u){return(!t||l<t)&&a(o)?e(o,l+1):!1===r(o,n?u:i++,c)&&(s=!0),!s}),o)}(e,0),i},r.__iteratorUncached=function(r,o){var i=e.__iterator(r,o),s=[],u=0;return new _((function(){for(;i;){var e=i.next();if(!1===e.done){var l=e.value;if(2===r&&(l=l[1]),t&&!(s.length<t)||!a(l))return n?e:A(r,u++,l,e);s.push(i),i=l.__iterator(r,o)}else i=s.pop()}return{value:void 0,done:!0}}))},r}function Rt(e,t,n){t||(t=Zt);var r=s(e),o=0,i=e.toSeq().map((function(t,r){return[r,t,o++,n?n(t,r,e):t]})).toArray();return i.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(r?function(e,t){i[t].length=2}:function(e,t){i[t]=e[1]}),r?G(i):u(e)?H(i):V(i)}function Ut(e,t,n){if(t||(t=Zt),n){var r=e.toSeq().map((function(t,r){return[t,n(t,r,e)]})).reduce((function(e,n){return Bt(t,e[1],n[1])?n:e}));return r&&r[0]}return e.reduce((function(e,n){return Bt(t,e,n)?n:e}))}function Bt(e,t,n){var r=e(n,t);return 0===r&&n!==t&&(void 0===n||null===n||n!==n)||r>0}function Ft(e,t,r){var o=Qt(e);return o.size=new Q(r).map((function(e){return e.size})).min(),o.__iterate=function(e,t){for(var n,r=this.__iterator(1,t),o=0;!(n=r.next()).done&&!1!==e(n.value,o++,this););return o},o.__iteratorUncached=function(e,o){var i=r.map((function(e){return e=n(e),U(o?e.reverse():e)})),a=0,s=!1;return new _((function(){var n;return s||(n=i.map((function(e){return e.next()})),s=n.some((function(e){return e.done}))),s?{value:void 0,done:!0}:A(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},o}function Yt(e,t){return X(e)?t:e.constructor(t)}function Gt(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function Ht(e){return Oe(e.size),N(e)}function Vt(e){return s(e)?r:u(e)?o:i}function Qt(e){return Object.create((s(e)?G:u(e)?H:V).prototype)}function Wt(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):Y.prototype.cacheResult.call(this)}function Zt(e,t){return e>t?1:e<t?-1:0}function qt(e){var t=U(e);if(!t){if(!F(e))throw new TypeError("Expected iterable or array-like: "+e);t=U(n(e))}return t}function Xt(e,t){var n,r=function(i){if(i instanceof r)return i;if(!(this instanceof r))return new r(i);if(!n){n=!0;var a=Object.keys(e);!function(e,t){try{t.forEach(en.bind(void 0,e))}catch(n){}}(o,a),o.size=a.length,o._name=t,o._keys=a,o._defaultValues=e}this._map=Te(i)},o=r.prototype=Object.create($t);return o.constructor=r,r}t(wt,Te),wt.of=function(){return this(arguments)},wt.prototype.toString=function(){return this.__toString("OrderedMap {","}")},wt.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},wt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):St()},wt.prototype.set=function(e,t){return It(this,e,t)},wt.prototype.remove=function(e){return It(this,e,g)},wt.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},wt.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate((function(t){return t&&e(t[1],t[0],n)}),t)},wt.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},wt.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?jt(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},wt.isOrderedMap=Nt,wt.prototype[h]=!0,wt.prototype.delete=wt.prototype.remove,t(Dt,G),Dt.prototype.get=function(e,t){return this._iter.get(e,t)},Dt.prototype.has=function(e){return this._iter.has(e)},Dt.prototype.valueSeq=function(){return this._iter.valueSeq()},Dt.prototype.reverse=function(){var e=this,t=kt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},Dt.prototype.map=function(e,t){var n=this,r=Ct(this,e,t);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(e,t)}),r},Dt.prototype.__iterate=function(e,t){var n,r=this;return this._iter.__iterate(this._useKeys?function(t,n){return e(t,n,r)}:(n=t?Ht(this):0,function(o){return e(o,t?--n:n++,r)}),t)},Dt.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(1,t),r=t?Ht(this):0;return new _((function(){var o=n.next();return o.done?o:A(e,t?--r:r++,o.value,o)}))},Dt.prototype[h]=!0,t(xt,H),xt.prototype.includes=function(e){return this._iter.includes(e)},xt.prototype.__iterate=function(e,t){var n=this,r=0;return this._iter.__iterate((function(t){return e(t,r++,n)}),t)},xt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(1,t),r=0;return new _((function(){var t=n.next();return t.done?t:A(e,r++,t.value,t)}))},t(Et,V),Et.prototype.has=function(e){return this._iter.includes(e)},Et.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){return e(t,t,n)}),t)},Et.prototype.__iterator=function(e,t){var n=this._iter.__iterator(1,t);return new _((function(){var t=n.next();return t.done?t:A(e,t.value,t.value,t)}))},t(Ot,G),Ot.prototype.entrySeq=function(){return this._iter.toSeq()},Ot.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){if(t){Gt(t);var r=a(t);return e(r?t.get(1):t[1],r?t.get(0):t[0],n)}}),t)},Ot.prototype.__iterator=function(e,t){var n=this._iter.__iterator(1,t);return new _((function(){for(;;){var t=n.next();if(t.done)return t;var r=t.value;if(r){Gt(r);var o=a(r);return A(e,o?r.get(0):r[0],o?r.get(1):r[1],t)}}}))},xt.prototype.cacheResult=Dt.prototype.cacheResult=Et.prototype.cacheResult=Ot.prototype.cacheResult=Wt,t(Xt,de),Xt.prototype.toString=function(){return this.__toString(Kt(this)+" {","}")},Xt.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},Xt.prototype.get=function(e,t){if(!this.has(e))return t;var n=this._defaultValues[e];return this._map?this._map.get(e,n):n},Xt.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=Jt(this,He()))},Xt.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+Kt(this));if(this._map&&!this._map.has(e)&&t===this._defaultValues[e])return this;var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:Jt(this,n)},Xt.prototype.remove=function(e){if(!this.has(e))return this;var t=this._map&&this._map.remove(e);return this.__ownerID||t===this._map?this:Jt(this,t)},Xt.prototype.wasAltered=function(){return this._map.wasAltered()},Xt.prototype.__iterator=function(e,t){var n=this;return r(this._defaultValues).map((function(e,t){return n.get(t)})).__iterator(e,t)},Xt.prototype.__iterate=function(e,t){var n=this;return r(this._defaultValues).map((function(e,t){return n.get(t)})).__iterate(e,t)},Xt.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?Jt(this,t,e):(this.__ownerID=e,this._map=t,this)};var $t=Xt.prototype;function Jt(e,t,n){var r=Object.create(Object.getPrototypeOf(e));return r._map=t,r.__ownerID=n,r}function Kt(e){return e._name||e.constructor.name||"Record"}function en(e,t){Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){le(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}function tn(e){return null===e||void 0===e?ln():nn(e)&&!c(e)?e:ln().withMutations((function(t){var n=i(e);Oe(n.size),n.forEach((function(e){return t.add(e)}))}))}function nn(e){return!(!e||!e[on])}$t.delete=$t.remove,$t.deleteIn=$t.removeIn=_e.removeIn,$t.merge=_e.merge,$t.mergeWith=_e.mergeWith,$t.mergeIn=_e.mergeIn,$t.mergeDeep=_e.mergeDeep,$t.mergeDeepWith=_e.mergeDeepWith,$t.mergeDeepIn=_e.mergeDeepIn,$t.setIn=_e.setIn,$t.update=_e.update,$t.updateIn=_e.updateIn,$t.withMutations=_e.withMutations,$t.asMutable=_e.asMutable,$t.asImmutable=_e.asImmutable,t(tn,he),tn.of=function(){return this(arguments)},tn.fromKeys=function(e){return this(r(e).keySeq())},tn.prototype.toString=function(){return this.__toString("Set {","}")},tn.prototype.has=function(e){return this._map.has(e)},tn.prototype.add=function(e){return sn(this,this._map.set(e,!0))},tn.prototype.remove=function(e){return sn(this,this._map.remove(e))},tn.prototype.clear=function(){return sn(this,this._map.clear())},tn.prototype.union=function(){var t=e.call(arguments,0);return 0===(t=t.filter((function(e){return 0!==e.size}))).length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations((function(e){for(var n=0;n<t.length;n++)i(t[n]).forEach((function(t){return e.add(t)}))})):this.constructor(t[0])},tn.prototype.intersect=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return i(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.every((function(e){return e.includes(n)}))||e.remove(n)}))}))},tn.prototype.subtract=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map((function(e){return i(e)}));var n=this;return this.withMutations((function(e){n.forEach((function(n){t.some((function(e){return e.includes(n)}))&&e.remove(n)}))}))},tn.prototype.merge=function(){return this.union.apply(this,arguments)},tn.prototype.mergeWith=function(t){var n=e.call(arguments,1);return this.union.apply(this,n)},tn.prototype.sort=function(e){return cn(Rt(this,e))},tn.prototype.sortBy=function(e,t){return cn(Rt(this,t,e))},tn.prototype.wasAltered=function(){return this._map.wasAltered()},tn.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t,r){return e(r,r,n)}),t)},tn.prototype.__iterator=function(e,t){return this._map.map((function(e,t){return t})).__iterator(e,t)},tn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e);return e?this.__make(t,e):(this.__ownerID=e,this._map=t,this)},tn.isSet=nn;var rn,on="@@__IMMUTABLE_SET__@@",an=tn.prototype;function sn(e,t){return e.__ownerID?(e.size=t.size,e._map=t,e):t===e._map?e:0===t.size?e.__empty():e.__make(t)}function un(e,t){var n=Object.create(an);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function ln(){return rn||(rn=un(He()))}function cn(e){return null===e||void 0===e?gn():fn(e)?e:gn().withMutations((function(t){var n=i(e);Oe(n.size),n.forEach((function(e){return t.add(e)}))}))}function fn(e){return nn(e)&&c(e)}an[on]=!0,an.delete=an.remove,an.mergeDeep=an.merge,an.mergeDeepWith=an.mergeWith,an.withMutations=_e.withMutations,an.asMutable=_e.asMutable,an.asImmutable=_e.asImmutable,an.__empty=ln,an.__make=un,t(cn,tn),cn.of=function(){return this(arguments)},cn.fromKeys=function(e){return this(r(e).keySeq())},cn.prototype.toString=function(){return this.__toString("OrderedSet {","}")},cn.isOrderedSet=fn;var dn,pn=cn.prototype;function hn(e,t){var n=Object.create(pn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function gn(){return dn||(dn=hn(St()))}function yn(e){return null===e||void 0===e?Nn():mn(e)?e:Nn().unshiftAll(e)}function mn(e){return!(!e||!e[bn])}pn[h]=!0,pn.__empty=gn,pn.__make=hn,t(yn,pe),yn.of=function(){return this(arguments)},yn.prototype.toString=function(){return this.__toString("Stack [","]")},yn.prototype.get=function(e,t){var n=this._head;for(e=j(this,e);n&&e--;)n=n.next;return n?n.value:t},yn.prototype.peek=function(){return this._head&&this._head.value},yn.prototype.push=function(){if(0===arguments.length)return this;for(var e=this.size+arguments.length,t=this._head,n=arguments.length-1;n>=0;n--)t={value:arguments[n],next:t};return this.__ownerID?(this.size=e,this._head=t,this.__hash=void 0,this.__altered=!0,this):wn(e,t)},yn.prototype.pushAll=function(e){if(0===(e=o(e)).size)return this;Oe(e.size);var t=this.size,n=this._head;return e.reverse().forEach((function(e){t++,n={value:e,next:n}})),this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):wn(t,n)},yn.prototype.pop=function(){return this.slice(1)},yn.prototype.unshift=function(){return this.push.apply(this,arguments)},yn.prototype.unshiftAll=function(e){return this.pushAll(e)},yn.prototype.shift=function(){return this.pop.apply(this,arguments)},yn.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Nn()},yn.prototype.slice=function(e,t){if(I(e,t,this.size))return this;var n=D(e,this.size);if(x(t,this.size)!==this.size)return pe.prototype.slice.call(this,e,t);for(var r=this.size-n,o=this._head;n--;)o=o.next;return this.__ownerID?(this.size=r,this._head=o,this.__hash=void 0,this.__altered=!0,this):wn(r,o)},yn.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?wn(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},yn.prototype.__iterate=function(e,t){if(t)return this.reverse().__iterate(e);for(var n=0,r=this._head;r&&!1!==e(r.value,n++,this);)r=r.next;return n},yn.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,r=this._head;return new _((function(){if(r){var t=r.value;return r=r.next,A(e,n++,t)}return{value:void 0,done:!0}}))},yn.isStack=mn;var vn,bn="@@__IMMUTABLE_STACK__@@",Mn=yn.prototype;function wn(e,t,n,r){var o=Object.create(Mn);return o.size=e,o._head=t,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function Nn(){return vn||(vn=wn(0))}function jn(e,t){var n=function(n){e.prototype[n]=t[n]};return Object.keys(t).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(n),e}Mn[bn]=!0,Mn.withMutations=_e.withMutations,Mn.asMutable=_e.asMutable,Mn.asImmutable=_e.asImmutable,Mn.wasAltered=_e.wasAltered,n.Iterator=_,jn(n,{toArray:function(){Oe(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate((function(t,n){e[n]=t})),e},toIndexedSeq:function(){return new xt(this)},toJS:function(){return this.toSeq().map((function(e){return e&&"function"===typeof e.toJS?e.toJS():e})).__toJS()},toJSON:function(){return this.toSeq().map((function(e){return e&&"function"===typeof e.toJSON?e.toJSON():e})).__toJS()},toKeyedSeq:function(){return new Dt(this,!0)},toMap:function(){return Te(this.toKeyedSeq())},toObject:function(){Oe(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e},toOrderedMap:function(){return wt(this.toKeyedSeq())},toOrderedSet:function(){return cn(s(this)?this.valueSeq():this)},toSet:function(){return tn(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Et(this)},toSeq:function(){return u(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return yn(s(this)?this.valueSeq():this)},toList:function(){return ot(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){var t=e.call(arguments,0);return Yt(this,zt(this,t))},includes:function(e){return this.some((function(t){return ae(t,e)}))},entries:function(){return this.__iterator(2)},every:function(e,t){Oe(this.size);var n=!0;return this.__iterate((function(r,o,i){if(!e.call(t,r,o,i))return n=!1,!1})),n},filter:function(e,t){return Yt(this,Lt(this,e,t,!0))},find:function(e,t,n){var r=this.findEntry(e,t);return r?r[1]:n},forEach:function(e,t){return Oe(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){Oe(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate((function(r){n?n=!1:t+=e,t+=null!==r&&void 0!==r?r.toString():""})),t},keys:function(){return this.__iterator(0)},map:function(e,t){return Yt(this,Ct(this,e,t))},reduce:function(e,t,n){var r,o;return Oe(this.size),arguments.length<2?o=!0:r=t,this.__iterate((function(t,i,a){o?(o=!1,r=t):r=e.call(n,r,t,i,a)})),r},reduceRight:function(e,t,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return Yt(this,kt(this,!0))},slice:function(e,t){return Yt(this,_t(this,e,t,!0))},some:function(e,t){return!this.every(En(e),t)},sort:function(e){return Yt(this,Rt(this,e))},values:function(){return this.__iterator(1)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(e,t){return N(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return function(e,t,n){var r=Te().asMutable();return e.__iterate((function(o,i){r.update(t.call(n,o,i,e),0,(function(e){return e+1}))})),r.asImmutable()}(this,e,t)},equals:function(e){return se(this,e)},entrySeq:function(){var e=this;if(e._cache)return new Q(e._cache);var t=e.toSeq().map(xn).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(En(e),t)},findEntry:function(e,t,n){var r=n;return this.__iterate((function(n,o,i){if(e.call(t,n,o,i))return r=[o,n],!1})),r},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},findLastEntry:function(e,t,n){return this.toKeyedSeq().reverse().findEntry(e,t,n)},findLastKey:function(e,t){return this.toKeyedSeq().reverse().findKey(e,t)},first:function(){return this.find(S)},flatMap:function(e,t){return Yt(this,function(e,t,n){var r=Vt(e);return e.toSeq().map((function(o,i){return r(t.call(n,o,i,e))})).flatten(!0)}(this,e,t))},flatten:function(e){return Yt(this,Pt(this,e,!0))},fromEntrySeq:function(){return new Ot(this)},get:function(e,t){return this.find((function(t,n){return ae(n,e)}),void 0,t)},getIn:function(e,t){for(var n,r=this,o=qt(e);!(n=o.next()).done;){var i=n.value;if((r=r&&r.get?r.get(i,g):g)===g)return t}return r},groupBy:function(e,t){return function(e,t,n){var r=s(e),o=(c(e)?wt():Te()).asMutable();e.__iterate((function(i,a){o.update(t.call(n,i,a,e),(function(e){return(e=e||[]).push(r?[a,i]:i),e}))}));var i=Vt(e);return o.map((function(t){return Yt(e,i(t))}))}(this,e,t)},has:function(e){return this.get(e,g)!==g},hasIn:function(e){return this.getIn(e,g)!==g},isSubset:function(e){return e="function"===typeof e.includes?e:n(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"===typeof e.isSubset?e:n(e)).isSubset(this)},keyOf:function(e){return this.findKey((function(t){return ae(t,e)}))},keySeq:function(){return this.toSeq().map(Dn).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},lastKeyOf:function(e){return this.toKeyedSeq().reverse().keyOf(e)},max:function(e){return Ut(this,e)},maxBy:function(e,t){return Ut(this,t,e)},min:function(e){return Ut(this,e?On(e):kn)},minBy:function(e,t){return Ut(this,t?On(t):kn,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return Yt(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return Yt(this,At(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(En(e),t)},sortBy:function(e,t){return Yt(this,Rt(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return Yt(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return Yt(this,function(e,t,n){var r=Qt(e);return r.__iterateUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterate(r,o);var a=0;return e.__iterate((function(e,o,s){return t.call(n,e,o,s)&&++a&&r(e,o,i)})),a},r.__iteratorUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterator(r,o);var a=e.__iterator(2,o),s=!0;return new _((function(){if(!s)return{value:void 0,done:!0};var e=a.next();if(e.done)return e;var o=e.value,u=o[0],l=o[1];return t.call(n,l,u,i)?2===r?e:A(r,u,l,e):(s=!1,{value:void 0,done:!0})}))},r}(this,e,t))},takeUntil:function(e,t){return this.takeWhile(En(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=function(e){if(e.size===1/0)return 0;var t=c(e),n=s(e),r=t?1:0;return function(e,t){return t=ge(t,3432918353),t=ge(t<<15|t>>>-15,461845907),t=ge(t<<13|t>>>-13,5),t=ge((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=ye((t=ge(t^t>>>13,3266489909))^t>>>16)}(e.__iterate(n?t?function(e,t){r=31*r+Ln(me(e),me(t))|0}:function(e,t){r=r+Ln(me(e),me(t))|0}:t?function(e){r=31*r+me(e)|0}:function(e){r=r+me(e)|0}),r)}(this))}});var Sn=n.prototype;Sn[f]=!0,Sn[L]=Sn.values,Sn.__toJS=Sn.toArray,Sn.__toStringMapper=Tn,Sn.inspect=Sn.toSource=function(){return this.toString()},Sn.chain=Sn.flatMap,Sn.contains=Sn.includes,jn(r,{flip:function(){return Yt(this,Tt(this))},mapEntries:function(e,t){var n=this,r=0;return Yt(this,this.toSeq().map((function(o,i){return e.call(t,[i,o],r++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return Yt(this,this.toSeq().flip().map((function(r,o){return e.call(t,r,o,n)})).flip())}});var In=r.prototype;function Dn(e,t){return t}function xn(e,t){return[t,e]}function En(e){return function(){return!e.apply(this,arguments)}}function On(e){return function(){return-e.apply(this,arguments)}}function Tn(e){return"string"===typeof e?JSON.stringify(e):String(e)}function Cn(){return w(arguments)}function kn(e,t){return e<t?1:e>t?-1:0}function Ln(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}return In[d]=!0,In[L]=Sn.entries,In.__toJS=Sn.toObject,In.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+Tn(e)},jn(o,{toKeyedSeq:function(){return new Dt(this,!1)},filter:function(e,t){return Yt(this,Lt(this,e,t,!1))},findIndex:function(e,t){var n=this.findEntry(e,t);return n?n[0]:-1},indexOf:function(e){var t=this.keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){var t=this.lastKeyOf(e);return void 0===t?-1:t},reverse:function(){return Yt(this,kt(this,!1))},slice:function(e,t){return Yt(this,_t(this,e,t,!1))},splice:function(e,t){var n=arguments.length;if(t=Math.max(0|t,0),0===n||2===n&&!t)return this;e=D(e,e<0?this.count():this.size);var r=this.slice(0,e);return Yt(this,1===n?r:r.concat(w(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.findLastEntry(e,t);return n?n[0]:-1},first:function(){return this.get(0)},flatten:function(e){return Yt(this,Pt(this,e,!1))},get:function(e,t){return(e=j(this,e))<0||this.size===1/0||void 0!==this.size&&e>this.size?t:this.find((function(t,n){return n===e}),void 0,t)},has:function(e){return(e=j(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return Yt(this,function(e,t){var n=Qt(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,r){var o=this,i=0;return e.__iterate((function(e,r){return(!i||!1!==n(t,i++,o))&&!1!==n(e,i++,o)}),r),i},n.__iteratorUncached=function(n,r){var o,i=e.__iterator(1,r),a=0;return new _((function(){return(!o||a%2)&&(o=i.next()).done?o:a%2?A(n,a++,t):A(n,a++,o.value,o)}))},n}(this,e))},interleave:function(){var e=[this].concat(w(arguments)),t=Ft(this.toSeq(),H.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),Yt(this,n)},keySeq:function(){return ce(0,this.size)},last:function(){return this.get(-1)},skipWhile:function(e,t){return Yt(this,At(this,e,t,!1))},zip:function(){var e=[this].concat(w(arguments));return Yt(this,Ft(this,Cn,e))},zipWith:function(e){var t=w(arguments);return t[0]=this,Yt(this,Ft(this,e,t))}}),o.prototype[p]=!0,o.prototype[h]=!0,jn(i,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),i.prototype.has=Sn.includes,i.prototype.contains=i.prototype.includes,jn(G,r.prototype),jn(H,o.prototype),jn(V,i.prototype),jn(de,r.prototype),jn(pe,o.prototype),jn(he,i.prototype),{Iterable:n,Seq:Y,Collection:fe,Map:Te,OrderedMap:wt,List:ot,Stack:yn,Set:tn,OrderedSet:cn,Record:Xt,Range:ce,Repeat:ue,is:ae,fromJS:re}}()},function(e,t,n){"use strict";t.__esModule=!0,t.initDatabase=function(e,t){return e=_(e=g(e,o.default.fromJS(function(e){var t=e.additionalSignUpFields,n=e.defaultDatabaseConnection,a=e.forgotPasswordLink,s=e.loginAfterSignUp,u=e.mustAcceptTerms,l=e.showTerms,c=e.signUpLink,f=e.usernameStyle,d=e.signUpFieldsStrictValidation,p=e.signUpHideUsernameField,h=w(e),g=h.initialScreen,y=h.screens;b(e,"usernameStyle",["email","username"])||(f=void 0);M(e,"defaultDatabaseConnection")||(n=void 0);M(e,"forgotPasswordLink")||(a=void 0);M(e,"signUpLink")||(c=void 0);v(e,"mustAcceptTerms")||(u=void 0);v(e,"showTerms")||(l=!0);v(e,"signUpFieldsStrictValidation")||(d=!1);v(e,"signUpHideUsernameField")||(p=!1);!function(e,t){var n=void 0===e[t]||window.Array.isArray(e[t]);n||i.warn(e,"The `"+t+"` option will be ignored, because it is not an array.");return n}(e,"additionalSignUpFields")?t=void 0:t&&(t=t.reduce((function(t,n){var r=n.icon,o=n.name,a=n.options,s=n.placeholder,u=n.placeholderHTML,l=n.prefill,c=n.type,f=n.validator,d=n.value,p=n.storage,h=!0,g=["email","username","password"];("string"!=typeof o||!o.match(/^[a-zA-Z0-9_]+$/)||g.indexOf(o)>-1)&&(i.warn(e,"Ignoring an element of `additionalSignUpFields` because it does not contain valid `name` property. Every element of `additionalSignUpFields` must be an object with a `name` property that is a non-empty string consisting of letters, numbers and underscores. The following names are reserved, and therefore, cannot be used: "+g.join(", ")+"."),h=!1),"hidden"===c||"string"==typeof s&&s||"string"==typeof u&&u||(i.warn(e,"Ignoring an element of `additionalSignUpFields` ("+o+") because it does not contain a valid `placeholder` or `placeholderHTML` property. Every element of `additionalSignUpFields` must have a `placeholder` or `placeholderHTML` property that is a non-empty string."),h=!1),u&&s&&i.warn(e,"When provided, the `placeholderHTML` property of an element of `additionalSignUpFields` will override the `placeholder` property of that element"),void 0==r||"string"==typeof r&&r||(i.warn(e,"When provided, the `icon` property of an element of `additionalSignUpFields` must be a non-empty string."),r=void 0),void 0==l||"string"==typeof l&&l||"function"==typeof l||(i.warn(e,"When provided, the `prefill` property of an element of `additionalSignUpFields` must be a non-empty string or a function."),l=void 0);var y=["select","text","checkbox","hidden"];return void 0==c||"string"==typeof c&&-1!==y.indexOf(c)||(i.warn(e,'When provided, the `type` property of an element of `additionalSignUpFields` must be one of the following strings: "'+y.join('", "')+'".'),c=void 0),void 0!=f&&"select"===c&&(i.warn(e,'Elements of `additionalSignUpFields` with a "select" `type` cannot specify a `validator` function, all of its `options` are assumed to be valid.'),f=void 0),void 0!=f&&"function"!=typeof f&&(i.warn(e,"When provided, the `validator` property of an element of `additionalSignUpFields` must be a function."),f=void 0),void 0!=a&&"select"!=c&&(i.warn(e,'The `options` property can only by provided for an element of `additionalSignUpFields` when its `type` equals to "select"'),a=void 0),(void 0!=a&&!window.Array.isArray(a)&&"function"!=typeof a||"select"===c&&void 0===a)&&(i.warn(e,"Ignoring an element of `additionalSignUpFields` ("+o+') because it has a "select" `type` but does not specify an `options` property that is an Array or a function.'),h=!1),"hidden"!==c||d||(i.warn(e,"Ignoring an element of `additionalSignUpFields` ("+o+') because it has a "hidden" `type` but does not specify a `value` string.'),h=!1),h?t.concat([{icon:r,name:o,options:a,placeholder:s,placeholderHTML:u,prefill:l,type:c,validator:f,value:d,storage:p}]):t}),[]),t=o.default.fromJS(t).map((function(e){return e.filter((function(e){return void 0!==e}))})));return s=!1!==s,(0,r.Map)({additionalSignUpFields:t,defaultConnectionName:n,forgotPasswordLink:a,initialScreen:g,loginAfterSignUp:s,mustAcceptTerms:u,showTerms:l,screens:y,signUpLink:c,usernameStyle:f,signUpFieldsStrictValidation:d,signUpHideUsernameField:p}).filter((function(e){return"undefined"!==typeof e})).toJS()}(t))))},t.overrideDatabaseOptions=function(e,t){var n=w(t,{allowLogin:I(e).contains("login"),allowSignUp:I(e).contains("signUp"),allowForgotPassword:I(e).contains("forgotPassword"),initialScreen:h(e,"initialScreen")}),r=n.initialScreen,o=n.screens;return e=m(e,"initialScreen",r),e=m(e,"screens",o)},t.defaultDatabaseConnection=N,t.defaultDatabaseConnectionName=j,t.databaseConnection=S,t.databaseConnectionName=function(e){return(S(e)||(0,r.Map)()).get("name")},t.forgotPasswordLink=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return h(e,"forgotPasswordLink",t)},t.signUpLink=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return h(e,"signUpLink",t)},t.setScreen=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return e=i.clearGlobalError(e),e=i.clearGlobalSuccess(e),e=(0,a.hideInvalidFields)(e,n),e=(0,a.clearFields)(e,n),m(e,"screen",t)},t.getScreen=function(e){var t=y(e,"screen"),n=D(e);return[t,n,"login","signUp","forgotPassword","mfaLogin"].filter((function(t){return T(e,t)}))[0]},t.availableScreens=I,t.getInitialScreen=D,t.hasInitialScreen=function(e,t){return D(e)===t},t.databaseConnectionRequiresUsername=x,t.databaseUsernameStyle=E,t.databaseLogInWithEmail=O,t.databaseUsernameValue=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=O(e);if(n)return(0,a.getFieldValue)(e,"email");if(t.emailFirst)return(0,a.getFieldValue)(e,"email")||(0,a.getFieldValue)(e,"username");return(0,a.getFieldValue)(e,"username")||(0,a.getFieldValue)(e,"email")},t.authWithUsername=function(e){return x(e)||"username"===h(e,"usernameStyle","email")},t.hasScreen=T,t.shouldAutoLogin=function(e){return h(e,"loginAfterSignUp")},t.passwordStrengthPolicy=function(e){return(S(e)||(0,r.Map)()).get("passwordPolicy","none")},t.additionalSignUpFields=C,t.showTerms=function(e){return h(e,"showTerms",!0)},t.signUpFieldsStrictValidation=function(e){return h(e,"signUpFieldsStrictValidation",!1)},t.signUpHideUsernameField=function(e){return h(e,"signUpHideUsernameField",!1)},t.mustAcceptTerms=k,t.termsAccepted=L,t.toggleTermsAcceptance=function(e){return m(e,"termsAccepted",!L(e))},t.resolveAdditionalSignUpFields=_;var r=n(48),o=d(r),i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(12)),a=n(26),s=n(82),u=d(n(109)),l=d(n(110)),c=n(239),f=n(70);function d(e){return e&&e.__esModule?e:{default:e}}var p=(0,s.dataFns)(["database"]),h=p.get,g=p.initNS,y=p.tget,m=p.tset;function v(e,t){var n=void 0===e[t]||"boolean"===typeof e[t];return n||i.warn(e,"The `"+t+"` option will be ignored, because it is not a booelan."),n}function b(e,t,n){var r=void 0===e[t]||n.indexOf(e[t])>-1;return r||i.warn(e,"The `"+t+"` option will be ignored, because it is not one of the following allowed values: "+n.map((function(e){return JSON.stringify(e)})).join(", ")+"."),r}function M(e,t){var n=void 0===e[t]||"string"===typeof e[t]&&(0,l.default)(e[t]).length>0;return n||i.warn(e,"The `"+t+"` option will be ignored, because it is not a non-empty string."),n}function w(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{allowLogin:!0,allowSignUp:!0,allowForgotPassword:!0,initialScreen:void 0},n=e.allowForgotPassword,o=e.allowLogin,i=e.allowSignUp,a=e.initialScreen,s=[];return(!0===o||!v(e,"allowLogin")&&t.allowLogin||void 0===o&&t.allowLogin)&&s.push("login"),(!0===i||!v(e,"allowSignUp")&&t.allowSignUp||void 0===i&&t.allowSignUp)&&s.push("signUp"),(!0===n||!v(e,"allowForgotPassword")&&t.allowForgotPassword||void 0===n&&t.allowForgotPassword)&&s.push("forgotPassword"),s.push("mfaLogin"),b(e,"initialScreen",s)||(a=void 0),void 0===a&&(a=t.initialScreen||s[0]),{initialScreen:a,screens:new r.List(s)}}function N(e){var t=j(e);return t&&i.findConnection(e,t)}function j(e){return h(e,"defaultConnectionName")}function S(e){return i.resolvedConnection(e)||(0,c.defaultDirectory)(e)||N(e)||i.connection(e,"database")}function I(e){return y(e,"screens")||h(e,"screens",new r.List)}function D(e){return y(e,"initialScreen")||h(e,"initialScreen")}function x(e){return(S(e)||(0,r.Map)()).toJS().requireUsername}function E(e){return i.hasSomeConnections(e,"database")?i.connectionResolver(e)?"username":x(e)?h(e,"usernameStyle","any"):"email":i.hasSomeConnections(e,"enterprise")&&(0,f.findADConnectionWithoutDomain)(e)?"username":"email"}function O(e){return"email"===E(e)}function T(e,t){var n=(S(e)||(0,r.Map)()).toJS(),o=n.allowForgot,i=n.allowSignup;return!(!1===o&&"forgotPassword"===t)&&!(!1===i&&"signUp"===t)&&I(e).contains(t)}function C(e){return h(e,"additionalSignUpFields",(0,r.List)())}function k(e){return h(e,"mustAcceptTerms",!1)}function L(e){return!k(e)||y(e,"termsAccepted",!1)}function _(e){return C(e).reduce((function(e,t){switch(t.get("type")){case"select":return function(e,t){var n=t.get("name"),r=["additionalSignUpField",n],i=t.get("prefill"),s=t.get("options"),l="function"===typeof i?void 0:i||"",c="function"===typeof s?void 0:s,f=function(e){return void 0!==l&&void 0!==c?(0,a.registerOptionField)(e,n,o.default.fromJS(c),l):e};void 0===l&&(e=(0,u.default)(e,r.concat("prefill"),{recoverResult:"",successFn:function(e,t){return l=t,f(e)},syncFn:function(e,t){return i(t)}}));void 0===c&&(e=(0,u.default)(e,r.concat("options"),{successFn:function(e,t){return c=t,f(e)},syncFn:function(e,t){return s(t)}}));void 0!==l&&void 0!==c&&(e=(0,a.registerOptionField)(e,n,o.default.fromJS(c),l));return e}(e,t);case"hidden":return function(e,t){return(0,a.setField)(e,t.get("name"),t.get("value"))}(e,t);default:return function(e,t){var n=t.get("name"),r=["additionalSignUpField",n,"prefill"],o=t.get("prefill"),i=t.get("validator"),s="function"===typeof o?void 0:o||"";e=void 0===s?(0,u.default)(e,r,{recoverResult:"",successFn:function(e,t){return(0,a.setField)(e,n,t,i)},syncFn:function(e,t){return o(t)}}):(0,a.setField)(e,n,s,i);return e}(e,t)}}),e)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(0),o=n.n(r).a.createContext(null)},function(e,t,n){"use strict";t.__esModule=!0;var r="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.str=v,t.html=function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var a=v.apply(void 0,[e,t].concat(r));return a?o.default.createElement("span",{dangerouslySetInnerHTML:{__html:(0,u.sanitize)(a)}}):null},t.group=function(e,t){return y(e,["strings"].concat(t),(0,i.Map)()).toJS()},t.initI18n=function(e){var t=c.ui.language(e),n=c.ui.dict(e),r=a.default.fromJS(d.default),o=M[t]||(0,i.Map)({});o.isEmpty()?(o=n,e=(0,l.default)(e,"i18n",{syncFn:function(n,r){return function(e,t,n){(0,p.load)({method:"registerLanguageDictionary",url:c.languageBaseUrl(e)+"/js/lock/11.31.1/"+t+".js",check:function(e){return e&&e===t},cb:function(e,t,r){n(e,r)}})}(e,t,r)},successFn:function(e,o){w(t,o);var i=a.default.fromJS(o).mergeDeep(n);return b(e,i.toJS(),d.default),m(e,"strings",r.mergeDeep(i))},recoverResult:e,errorFn:function(e,t){c.warn(e,t.message+" Falling back to default dictionary.")}})):b(e,o.toJS(),d.default);return o=r.mergeDeep(o).mergeDeep(n),m(e,"strings",o)};var o=h(n(0)),i=n(48),a=h(i),s=h(n(333)),u=n(211),l=h(n(109)),c=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(12)),f=n(82),d=h(n(537)),p=n(236);function h(e){return e&&e.__esModule?e:{default:e}}var g=(0,f.dataFns)(["i18n"]),y=g.get,m=g.set;function v(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return s.default.apply(void 0,[y(e,["strings"].concat(t),"")].concat(r))}function b(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";Object.keys(n).forEach((function(i){t.hasOwnProperty(i)?"object"===r(n[i])&&b(e,t[i],n[i],""+o+i+"."):c.warn(e,"language does not have property "+o+i)}))}var M=[];function w(e,t){M[e]=a.default.fromJS(t)}"undefined"!==typeof window&&(0,p.preload)({method:"registerLanguageDictionary",cb:w})},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(299);var o=n(187),i=n(300);function a(e,t){return Object(r.a)(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(u){s=!0,o=u}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(e,t)||Object(o.a)(e,t)||Object(i.a)()}},function(e,t,n){"use strict";n.d(t,"a",(function(){return w})),n.d(t,"b",(function(){return D})),n.d(t,"d",(function(){return E})),n.d(t,"c",(function(){return g})),n.d(t,"f",(function(){return y})),n.d(t,"e",(function(){return h}));var r=n(1);function o(e){return"/"===e.charAt(0)}function i(e,t){for(var n=t,r=n+1,o=e.length;r<o;n+=1,r+=1)e[n]=e[r];e.pop()}var a=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],a=t&&t.split("/")||[],s=e&&o(e),u=t&&o(t),l=s||u;if(e&&o(e)?a=r:r.length&&(a.pop(),a=a.concat(r)),!a.length)return"/";if(a.length){var c=a[a.length-1];n="."===c||".."===c||""===c}else n=!1;for(var f=0,d=a.length;d>=0;d--){var p=a[d];"."===p?i(a,d):".."===p?(i(a,d),f++):f&&(i(a,d),f--)}if(!l)for(;f--;f)a.unshift("..");!l||""===a[0]||a[0]&&o(a[0])||a.unshift("");var h=a.join("/");return n&&"/"!==h.substr(-1)&&(h+="/"),h};function s(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}var u=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,r){return e(t,n[r])}));if("object"===typeof t||"object"===typeof n){var r=s(t),o=s(n);return r!==t||o!==n?e(r,o):Object.keys(Object.assign({},t,n)).every((function(r){return e(t[r],n[r])}))}return!1},l=n(68);function c(e){return"/"===e.charAt(0)?e:"/"+e}function f(e){return"/"===e.charAt(0)?e.substr(1):e}function d(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function p(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function h(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 g(e,t,n,o){var i;"string"===typeof e?(i=function(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var i=t.indexOf("?");return-1!==i&&(n=t.substr(i),t=t.substr(0,i)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e)).state=t:(void 0===(i=Object(r.a)({},e)).pathname&&(i.pathname=""),i.search?"?"!==i.search.charAt(0)&&(i.search="?"+i.search):i.search="",i.hash?"#"!==i.hash.charAt(0)&&(i.hash="#"+i.hash):i.hash="",void 0!==t&&void 0===i.state&&(i.state=t));try{i.pathname=decodeURI(i.pathname)}catch(s){throw s instanceof URIError?new URIError('Pathname "'+i.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):s}return n&&(i.key=n),o?i.pathname?"/"!==i.pathname.charAt(0)&&(i.pathname=a(i.pathname,o.pathname)):i.pathname=o.pathname:i.pathname||(i.pathname="/"),i}function y(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&u(e.state,t.state)}function m(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,o){if(null!=e){var i="function"===typeof e?e(t,n):e;"string"===typeof i?"function"===typeof r?r(i,o):o(!0):o(!1!==i)}else o(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}var v=!("undefined"===typeof window||!window.document||!window.document.createElement);function b(e,t){t(window.confirm(e))}function M(){try{return window.history.state||{}}catch(e){return{}}}function w(e){void 0===e&&(e={}),v||Object(l.a)(!1);var t=window.history,n=function(){var e=window.navigator.userAgent;return(-1===e.indexOf("Android 2.")&&-1===e.indexOf("Android 4.0")||-1===e.indexOf("Mobile Safari")||-1!==e.indexOf("Chrome")||-1!==e.indexOf("Windows Phone"))&&(window.history&&"pushState"in window.history)}(),o=!(-1===window.navigator.userAgent.indexOf("Trident")),i=e,a=i.forceRefresh,s=void 0!==a&&a,u=i.getUserConfirmation,f=void 0===u?b:u,y=i.keyLength,w=void 0===y?6:y,N=e.basename?p(c(e.basename)):"";function j(e){var t=e||{},n=t.key,r=t.state,o=window.location,i=o.pathname+o.search+o.hash;return N&&(i=d(i,N)),g(i,r,n)}function S(){return Math.random().toString(36).substr(2,w)}var I=m();function D(e){Object(r.a)(R,e),R.length=t.length,I.notifyListeners(R.location,R.action)}function x(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||T(j(e.state))}function E(){T(j(M()))}var O=!1;function T(e){if(O)O=!1,D();else{I.confirmTransitionTo(e,"POP",f,(function(t){t?D({action:"POP",location:e}):function(e){var t=R.location,n=k.indexOf(t.key);-1===n&&(n=0);var r=k.indexOf(e.key);-1===r&&(r=0);var o=n-r;o&&(O=!0,_(o))}(e)}))}}var C=j(M()),k=[C.key];function L(e){return N+h(e)}function _(e){t.go(e)}var A=0;function z(e){1===(A+=e)&&1===e?(window.addEventListener("popstate",x),o&&window.addEventListener("hashchange",E)):0===A&&(window.removeEventListener("popstate",x),o&&window.removeEventListener("hashchange",E))}var P=!1;var R={length:t.length,action:"POP",location:C,createHref:L,push:function(e,r){var o=g(e,r,S(),R.location);I.confirmTransitionTo(o,"PUSH",f,(function(e){if(e){var r=L(o),i=o.key,a=o.state;if(n)if(t.pushState({key:i,state:a},null,r),s)window.location.href=r;else{var u=k.indexOf(R.location.key),l=k.slice(0,u+1);l.push(o.key),k=l,D({action:"PUSH",location:o})}else window.location.href=r}}))},replace:function(e,r){var o=g(e,r,S(),R.location);I.confirmTransitionTo(o,"REPLACE",f,(function(e){if(e){var r=L(o),i=o.key,a=o.state;if(n)if(t.replaceState({key:i,state:a},null,r),s)window.location.replace(r);else{var u=k.indexOf(R.location.key);-1!==u&&(k[u]=o.key),D({action:"REPLACE",location:o})}else window.location.replace(r)}}))},go:_,goBack:function(){_(-1)},goForward:function(){_(1)},block:function(e){void 0===e&&(e=!1);var t=I.setPrompt(e);return P||(z(1),P=!0),function(){return P&&(P=!1,z(-1)),t()}},listen:function(e){var t=I.appendListener(e);return z(1),function(){z(-1),t()}}};return R}var N={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+f(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:f,decodePath:c},slash:{encodePath:c,decodePath:c}};function j(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function S(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function I(e){window.location.replace(j(window.location.href)+"#"+e)}function D(e){void 0===e&&(e={}),v||Object(l.a)(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),o=n.getUserConfirmation,i=void 0===o?b:o,a=n.hashType,s=void 0===a?"slash":a,u=e.basename?p(c(e.basename)):"",f=N[s],y=f.encodePath,M=f.decodePath;function w(){var e=M(S());return u&&(e=d(e,u)),g(e)}var D=m();function x(e){Object(r.a)(U,e),U.length=t.length,D.notifyListeners(U.location,U.action)}var E=!1,O=null;function T(){var e,t,n=S(),r=y(n);if(n!==r)I(r);else{var o=w(),a=U.location;if(!E&&(t=o,(e=a).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(O===h(o))return;O=null,function(e){if(E)E=!1,x();else{D.confirmTransitionTo(e,"POP",i,(function(t){t?x({action:"POP",location:e}):function(e){var t=U.location,n=_.lastIndexOf(h(t));-1===n&&(n=0);var r=_.lastIndexOf(h(e));-1===r&&(r=0);var o=n-r;o&&(E=!0,A(o))}(e)}))}}(o)}}var C=S(),k=y(C);C!==k&&I(k);var L=w(),_=[h(L)];function A(e){t.go(e)}var z=0;function P(e){1===(z+=e)&&1===e?window.addEventListener("hashchange",T):0===z&&window.removeEventListener("hashchange",T)}var R=!1;var U={length:t.length,action:"POP",location:L,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=j(window.location.href)),n+"#"+y(u+h(e))},push:function(e,t){var n=g(e,void 0,void 0,U.location);D.confirmTransitionTo(n,"PUSH",i,(function(e){if(e){var t=h(n),r=y(u+t);if(S()!==r){O=t,function(e){window.location.hash=e}(r);var o=_.lastIndexOf(h(U.location)),i=_.slice(0,o+1);i.push(t),_=i,x({action:"PUSH",location:n})}else x()}}))},replace:function(e,t){var n=g(e,void 0,void 0,U.location);D.confirmTransitionTo(n,"REPLACE",i,(function(e){if(e){var t=h(n),r=y(u+t);S()!==r&&(O=t,I(r));var o=_.indexOf(h(U.location));-1!==o&&(_[o]=t),x({action:"REPLACE",location:n})}}))},go:A,goBack:function(){A(-1)},goForward:function(){A(1)},block:function(e){void 0===e&&(e=!1);var t=D.setPrompt(e);return R||(P(1),R=!0),function(){return R&&(R=!1,P(-1)),t()}},listen:function(e){var t=D.appendListener(e);return P(1),function(){P(-1),t()}}};return U}function x(e,t,n){return Math.min(Math.max(e,t),n)}function E(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,o=t.initialEntries,i=void 0===o?["/"]:o,a=t.initialIndex,s=void 0===a?0:a,u=t.keyLength,l=void 0===u?6:u,c=m();function f(e){Object(r.a)(M,e),M.length=M.entries.length,c.notifyListeners(M.location,M.action)}function d(){return Math.random().toString(36).substr(2,l)}var p=x(s,0,i.length-1),y=i.map((function(e){return g(e,void 0,"string"===typeof e?d():e.key||d())})),v=h;function b(e){var t=x(M.index+e,0,M.entries.length-1),r=M.entries[t];c.confirmTransitionTo(r,"POP",n,(function(e){e?f({action:"POP",location:r,index:t}):f()}))}var M={length:y.length,action:"POP",location:y[p],index:p,entries:y,createHref:v,push:function(e,t){var r=g(e,t,d(),M.location);c.confirmTransitionTo(r,"PUSH",n,(function(e){if(e){var t=M.index+1,n=M.entries.slice(0);n.length>t?n.splice(t,n.length-t,r):n.push(r),f({action:"PUSH",location:r,index:t,entries:n})}}))},replace:function(e,t){var r=g(e,t,d(),M.location);c.confirmTransitionTo(r,"REPLACE",n,(function(e){e&&(M.entries[M.index]=r,f({action:"REPLACE",location:r}))}))},go:b,goBack:function(){b(-1)},goForward:function(){b(1)},canGo:function(e){var t=M.index+e;return t>=0&&t<M.entries.length},block:function(e){return void 0===e&&(e=!1),c.setPrompt(e)},listen:function(e){return c.appendListener(e)}};return M}},function(e,t,n){"use strict";function r(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((function(e,t){return null==t?e:function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];e.apply(this,r),t.apply(this,r)}}),(function(){}))}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return o}));var r=function(e){return e.scrollTop};function o(e,t){var n=e.timeout,r=e.style,o=void 0===r?{}:r;return{duration:o.transitionDuration||"number"===typeof n?n:n[t.mode]||0,delay:o.transitionDelay}}},,function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}n.d(t,"a",(function(){return o}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(212);function o(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var i=n(378);function a(e){return function(){var t,n=Object(r.a)(e);if(o()){var a=Object(r.a)(this).constructor;t=Reflect.construct(n,arguments,a)}else t=n.apply(this,arguments);return Object(i.a)(this,t)}}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";function r(e,t){"function"===typeof e?e(t):e&&(e.current=t)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"};t.default=r},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){"use strict";var r=n(317),o=Object.prototype.toString;function i(e){return"[object Array]"===o.call(e)}function a(e){return"undefined"===typeof e}function s(e){return null!==e&&"object"===typeof e}function u(e){return"[object Function]"===o.call(e)}function l(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),i(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}e.exports={isArray:i,isArrayBuffer:function(e){return"[object ArrayBuffer]"===o.call(e)},isBuffer:function(e){return null!==e&&!a(e)&&null!==e.constructor&&!a(e.constructor)&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"undefined"!==typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"===typeof e},isNumber:function(e){return"number"===typeof e},isObject:s,isUndefined:a,isDate:function(e){return"[object Date]"===o.call(e)},isFile:function(e){return"[object File]"===o.call(e)},isBlob:function(e){return"[object Blob]"===o.call(e)},isFunction:u,isStream:function(e){return s(e)&&u(e.pipe)},isURLSearchParams:function(e){return"undefined"!==typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)},forEach:l,merge:function e(){var t={};function n(n,r){"object"===typeof t[r]&&"object"===typeof n?t[r]=e(t[r],n):t[r]=n}for(var r=0,o=arguments.length;r<o;r++)l(arguments[r],n);return t},deepMerge:function e(){var t={};function n(n,r){"object"===typeof t[r]&&"object"===typeof n?t[r]=e(t[r],n):t[r]="object"===typeof n?e({},n):n}for(var r=0,o=arguments.length;r<o;r++)l(arguments[r],n);return t},extend:function(e,t,n){return l(t,(function(t,o){e[o]=n&&"function"===typeof t?r(t,n):t})),e},trim:function(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}}},function(e,t,n){"use strict";t.__esModule=!0;i(n(12));var r=i(n(51)),o=n(49);function i(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}var a=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.name=t}return e.prototype.backHandler=function(){return null},e.prototype.escHandler=function(){return null},e.prototype.submitButtonLabel=function(e){return r.str(e,["submitLabel"])},e.prototype.isFirstScreen=function(e){var t=(0,o.getInitialScreen)(e),n=this.name.split("."),r=n[1]||n[0];return!("signUp"!==r||!(0,o.hasScreen)(e,"login"))||-1!==[t,"loading","lastLogin"].indexOf(r)},e.prototype.getTitle=function(e){return"loading"===this.name?"":this.getScreenTitle(e)||r.str(e,"title")},e.prototype.getScreenTitle=function(e){return r.str(e,"title")},e.prototype.submitHandler=function(){return null},e.prototype.isSubmitDisabled=function(e){return!1},e.prototype.renderAuxiliaryPane=function(){return null},e.prototype.renderTabs=function(){return!1},e.prototype.renderTerms=function(){return null},e}();t.default=a},function(e,t,n){"use strict";function r(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:166;function r(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];var a=this,s=function(){e.apply(a,o)};clearTimeout(t),t=setTimeout(s,n)}return r.clear=function(){clearTimeout(t)},r}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(0),o=n(86);function i(){return r.useContext(o.a)}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r="Invariant failed";function o(e,t){if(!e)throw new Error(r)}},function(e,t,n){"use strict";function r(e,t){return function(){return null}}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";t.__esModule=!0,t.STRATEGIES=void 0,t.initEnterprise=function(e,t){return h(e,i.default.fromJS(function(e){var t=e.defaultEnterpriseConnection;void 0!=t&&"string"!==typeof t&&(a.warn(e,"The `defaultEnterpriseConnection` option will be ignored, because it is not a string."),t=void 0);return void 0===t?{}:{defaultConnectionName:t}}(t)))},t.defaultEnterpriseConnection=b,t.defaultEnterpriseConnectionName=M,t.enterpriseActiveFlowConnection=function(e){if(x(e)){var t=g(e,"hrdEmail","");return w(e,t)||function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return a.connections(e,"enterprise","ad","auth0-adldap").find((function(e){return!t||e.get("name")===t}))}(e)}return b(e)||S(e)},t.matchConnection=w,t.isEnterpriseDomain=N,t.enterpriseDomain=function(e){return D(e)?a.connections(e,"enterprise").getIn([0,"domains",0]):(0,u.emailDomain)(g(e,"hrdEmail"))},t.quickAuthConnection=function(e){return!j(e)&&a.hasOneConnection(e,"enterprise")?a.connections(e,"enterprise").get(0):null},t.isADEnabled=j,t.findADConnectionWithoutDomain=S,t.isInCorpNetwork=function(e){return void 0!==I(e)},t.corpNetworkConnection=I,t.isSingleHRDConnection=D,t.isHRDDomain=function(e,t){return N(e,t,["ad","auth0-adldap"])},t.toggleHRD=function(e,t){if(t){var n=a.defaultADUsernameFromEmailPrefix(e)?(0,u.emailLocalPart)(t):t;e=(0,l.setUsername)(e,n,"username",!1),e=m(e,"hrdEmail",t)}else{var r=g(e,"hrdEmail");r&&(e=(0,l.setUsername)(e,r,"email",!1)),e=y(e,"hrdEmail")}return m(e,"hrd",!!t)},t.isHRDActive=x,t.isHRDEmailValid=function(e,t){if((0,u.isEmail)(t)&&!a.hasSomeConnections(e,"database")&&!a.hasSomeConnections(e,"passwordless")&&!S(e)&&!(0,c.matchesEnterpriseConnection)(e,t))return!1;return!0};var r,o=n(48),i=(r=o)&&r.__esModule?r:{default:r},a=f(n(12)),s=(f(n(26)),n(82)),u=n(90),l=n(238),c=n(176);n(49),n(35);function f(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}var d=(0,s.dataFns)(["enterprise"]),p=d.get,h=d.initNS,g=d.tget,y=d.tremove,m=d.tset,v=(0,s.dataFns)(["core"]);v.tremove,v.tset,v.tget,t.STRATEGIES={ad:"AD / LDAP",adfs:"ADFS","auth0-adldap":"AD/LDAP","auth0-oidc":"Auth0 OpenID Connect",custom:"Custom Auth","google-apps":"Google Apps",ip:"IP Address",mscrm:"Dynamics CRM",office365:"Office365",pingfederate:"Ping Federate",samlp:"SAML",sharepoint:"SharePoint Apps",waad:"Windows Azure AD",oidc:"OpenID Connect"};function b(e){var t=M(e);return t&&S(e,t)}function M(e){return p(e,"defaultConnectionName")}function w(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=(0,u.emailDomain)(t);return!!r&&a.connections.apply(a,[e,"enterprise"].concat(n)).find((function(e){return e.get("domains").contains(r)}))}function N(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return!!w(e,t,n)}function j(e){return a.hasSomeConnections(e,"enterprise","ad","auth0-adldap")}function S(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return a.connections(e,"enterprise","ad","auth0-adldap").find((function(e){return e.get("domains").isEmpty()&&(!t||e.get("name")===t)}))}function I(e){var t=e.getIn(["sso","connection"]),n=e.getIn(["sso","strategy"]);return t&&n&&i.default.Map({name:t,strategy:n})}function D(e){return j(e)&&1===a.connections(e).count()}function x(e){return g(e,"hrd",D(e))}},function(e,t,n){"use strict";function r(e){var t=e.props,n=e.states,r=e.muiFormControl;return n.reduce((function(e,n){return e[n]=t[n],r&&"undefined"===typeof t[n]&&(e[n]=r[n]),e}),{})}n.d(t,"a",(function(){return r}))},,,,,,function(e,t,n){"use strict";t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.setupLock=function(e,t,n,c,f,d,p){var h=s.setup(e,t,n,c,f,d,p);return h=(0,a.syncRemoteData)(h),(0,u.img)(s.ui.logo(h)||l.defaultProps.logo),o.default.setupClient(e,t,n,s.withAuthOptions(h,r({},c,{popupOptions:s.ui.popupOptions(h)}))),h=s.runHook(h,"didInitialize",c),(0,i.swap)(i.setEntity,"lock",e,h),h},t.handleAuthCallback=function(){var e=(0,i.read)(i.getCollection,"lock").filter((function(e){return!s.hashCleanup(e)})).size>0,t=window.location.href.split("#")[0];d(window.location.hash,(function(n,r){!(!n&&!r)&&!e&&window.history.replaceState(null,"",t)}))},t.resumeAuth=d,t.openLock=function(e,t){var n=(0,i.read)(i.getEntity,"lock",e);if(!n)throw new Error("The Lock can't be opened again after it has been destroyed");if(s.rendering(n))return!1;if(t.flashMessage){if(!t.flashMessage.type||-1===["error","success","info"].indexOf(t.flashMessage.type))return s.emitUnrecoverableErrorEvent(n,"'flashMessage' must provide a valid type ['error','success','info']");if(!t.flashMessage.text)return s.emitUnrecoverableErrorEvent(n,"'flashMessage' must provide a text")}return s.emitEvent(n,"show"),(0,i.swap)(i.updateEntity,"lock",e,(function(e){return e=s.overrideOptions(e,t),e=s.filterConnections(e),e=s.runHook(e,"willShow",t),s.render(e)})),!0},t.closeLock=p,t.removeLock=function(e){(0,i.swap)(i.updateEntity,"lock",e,s.stopRendering),(0,i.swap)(i.removeEntity,"lock",e)},t.updateLock=function(e,t){return(0,i.swap)(i.updateEntity,"lock",e,t)},t.pinLoadingPane=function(e){(0,i.read)(i.getEntity,"lock",e).get("isLoadingPanePinned")||(0,i.swap)(i.updateEntity,"lock",e,(function(e){return e.set("isLoadingPanePinned",!0)}))},t.unpinLoadingPane=function(e){(0,i.swap)(i.updateEntity,"lock",e,(function(e){return e.set("isLoadingPanePinned",!1)}))},t.validateAndSubmit=h,t.logIn=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(e,t,n,r){return r()};h(e,t,(function(i){try{s.runHook(i,"loggingIn",null,(function(){o.default.logIn(e,n,s.auth.params(i).toJS(),(function(n,o){n?setTimeout((function(){return y(e,t,n,r)}),250):g(e,o)}))}))}catch(a){setTimeout((function(){return y(e,t,a,r)}),250)}}))},t.checkSession=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,i.read)(i.getEntity,"lock",e);(0,i.swap)(i.updateEntity,"lock",e,(function(e){return s.setSubmitting(e,!0)})),o.default.checkSession(e,t,(function(t,n){return t?y(e,[],t):g(e,n)}))},t.logInSuccess=g;f(n(48));var o=f(n(100)),i=n(35),a=n(568),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(12)),u=n(342),l=n(328),c=n(26);function f(e){return e&&e.__esModule?e:{default:e}}function d(e,t){(0,i.read)(i.getCollection,"lock").forEach((function(n){return s.auth.redirect(n)&&function(e,t,n){o.default.parseHash(s.id(e),t,(function(t,r){t?s.emitHashParsedEvent(e,t):s.emitHashParsedEvent(e,r),t?s.emitAuthorizationErrorEvent(e,t):r&&s.emitAuthenticatedEvent(e,r),n(t,r)}))}(n,e,t)}))}function p(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},r=(0,i.read)(i.getEntity,"lock",e);(s.ui.closable(r)||t)&&s.rendering(r)&&(s.emitEvent(r,"hide"),s.ui.appendContainer(r)?((0,i.swap)(i.updateEntity,"lock",e,s.stopRendering),setTimeout((function(){(0,i.swap)(i.updateEntity,"lock",e,(function(e){return e=(0,c.hideInvalidFields)(e),e=s.reset(e),e=(0,c.clearFields)(e)})),r=(0,i.read)(i.getEntity,"lock",e),n(r)}),1e3)):((0,i.swap)(i.updateEntity,"lock",e,(function(e){return e=(0,c.hideInvalidFields)(e),e=s.reset(e),e=(0,c.clearFields)(e)})),n(r)))}function h(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments[2];(0,i.swap)(i.updateEntity,"lock",e,(function(e){return t.reduce((function(t,n){return t&&(0,c.isFieldValid)(e,n)}),!0)?s.setSubmitting(e,!0):t.reduce((function(e,t){return(0,c.showInvalidField)(e,t)}),e)}));var r=(0,i.read)(i.getEntity,"lock",e);s.submitting(r)&&n(r)}function g(e,t){var n=(0,i.read)(i.getEntity,"lock",e);s.ui.autoclose(n)?p(e,!1,(function(e){return s.emitAuthenticatedEvent(e,t)})):((0,i.swap)(i.updateEntity,"lock",e,(function(e){return e=s.setSubmitting(e,!1),s.setLoggedIn(e,!0)})),s.emitAuthenticatedEvent(n,t))}function y(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(e,t,n,r){return r()},o=n.error||n.code;r(e,n,t,(function(){return setTimeout((function(){var r=(0,i.read)(i.getEntity,"lock",e),a=s.loginErrorMessage(r,n,m(t));["blocked_user","rule_error","lock.unauthorized","invalid_user_password","login_required"].indexOf(o)>-1&&s.emitAuthorizationErrorEvent(r,n),(0,i.swap)(i.updateEntity,"lock",e,s.setSubmitting,!1,a)}),0)})),(0,i.swap)(i.updateEntity,"lock",e,s.setSubmitting,!1)}function m(e){if(e)return~e.indexOf("vcode")?"code":~e.indexOf("username")?"username":~e.indexOf("email")?"email":void 0}},function(e,t,n){"use strict";var r=n(155),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function u(e){return r.isMemo(e)?a:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var l=Object.defineProperty,c=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(h){var o=p(n);o&&o!==h&&e(t,o,r)}var a=c(n);f&&(a=a.concat(f(n)));for(var s=u(t),g=u(n),y=0;y<a.length;++y){var m=a[y];if(!i[m]&&(!r||!r[m])&&(!g||!g[m])&&(!s||!s[m])){var v=d(n,m);try{l(t,m,v)}catch(b){}}}}return t}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return u}));var r=n(32),o=n(1),i=n(0),a=n.n(i);function s(e,t,n){return void 0===n&&(n=[]),e.some((function(e){var o=e.path?Object(r.e)(t,e):n.length?n[n.length-1].match:r.b.computeRootMatch(t);return o&&(n.push({route:e,match:o}),e.routes&&s(e.routes,t,n)),o})),n}function u(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),e?a.a.createElement(r.c,n,e.map((function(e,n){return a.a.createElement(r.a,{key:e.key||n,path:e.path,exact:e.exact,strict:e.strict,render:function(n){return e.render?e.render(Object(o.a)({},n,{},t,{route:e})):a.a.createElement(e.component,Object(o.a)({},n,t,{route:e}))}})}))):null}},function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return a}));var r=n(1),o=n(5),i=["xs","sm","md","lg","xl"];function a(e){var t=e.values,n=void 0===t?{xs:0,sm:600,md:960,lg:1280,xl:1920}:t,a=e.unit,s=void 0===a?"px":a,u=e.step,l=void 0===u?5:u,c=Object(o.a)(e,["values","unit","step"]);function f(e){var t="number"===typeof n[e]?n[e]:e;return"@media (min-width:".concat(t).concat(s,")")}function d(e,t){var r=i.indexOf(t);return r===i.length-1?f(e):"@media (min-width:".concat("number"===typeof n[e]?n[e]:e).concat(s,") and ")+"(max-width:".concat((-1!==r&&"number"===typeof n[i[r+1]]?n[i[r+1]]:t)-l/100).concat(s,")")}return Object(r.a)({keys:i,values:n,up:f,down:function(e){var t=i.indexOf(e)+1,r=n[i[t]];return t===i.length?f("xs"):"@media (max-width:".concat(("number"===typeof r&&t>0?r:e)-l/100).concat(s,")")},between:d,only:function(e){return d(e,e)},width:function(e){return n[e]}},c)}},function(e,t,n){var r=n(302),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},function(e,t,n){"use strict";t.__esModule=!0;var r="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.dataFns=function(e){function t(e,t){return e.concat("object"===("undefined"===typeof t?"undefined":r(t))?t:[t])}function n(e){return function(n,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;return n.getIn(t(e,r),o)}}function i(e){return function(n,r,o){return n.setIn(t(e,r),o)}}function a(e){return function(n,r){return n.removeIn(t(e,r))}}var s=e.concat(["transient"]);return{get:n(e),set:i(e),remove:a(e),tget:n(s),tset:i(s),tremove:a(s),reset:function(e){return e.map((function(e){return o.Map.isMap(e)?e.remove("transient"):e}))},init:function(t,n){return new o.Map({id:t}).setIn(e,n)},initNS:function(t,n){return t.setIn(e,n)}}};var o=n(48)},function(e,t,n){"use strict";t.__esModule=!0,t.renderSignedInConfirmation=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.closeHandler=a.closeLock,t.key="auxiliarypane",t.lock=e,s.loggedIn(e)?o.default.createElement(p,t):null};var r=c(n(2)),o=c(n(0)),i=c(n(183)),a=n(77),s=l(n(12)),u=l(n(51));function l(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function c(e){return e&&e.__esModule?e:{default:e}}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var p=function(e){function t(){return f(this,t),d(this,e.apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.handleClose=function(){var e=this.props,t=e.closeHandler,n=e.lock;t(s.id(n))},t.prototype.render=function(){var e=this.props.lock,t=s.ui.closable(e)?this.handleClose.bind(this):void 0;return o.default.createElement(i.default,{lock:e,closeHandler:t},o.default.createElement("p",null,u.html(e,["success","logIn"])))},t}(o.default.Component);t.default=p,p.propTypes={closeHandler:r.default.func.isRequired,lock:r.default.object.isRequired}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(0);function o(e){var t=e.controlled,n=e.default,o=(e.name,e.state,r.useRef(void 0!==t).current),i=r.useState(n),a=i[0],s=i[1];return[o?t:a,r.useCallback((function(e){o||s(e)}),[])]}},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(156);var o=n(298),i=n(187);function a(e){return function(e){if(Array.isArray(e))return Object(r.a)(e)}(e)||Object(o.a)(e)||Object(i.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},function(e,t,n){"use strict";n.d(t,"b",(function(){return i}));var r=n(0),o=r.createContext();function i(){return r.useContext(o)}t.a=o},function(e,t,n){"use strict";var r=n(0),o=r.createContext({});t.a=o},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return a}));var r=n(10),o=n(3),i=function(){function e(e,t,n){this.name=e,this.instanceFactory=t,this.type=n,this.multipleInstances=!1,this.serviceProps={},this.instantiationMode="LAZY",this.onInstanceCreated=null}return e.prototype.setInstantiationMode=function(e){return this.instantiationMode=e,this},e.prototype.setMultipleInstances=function(e){return this.multipleInstances=e,this},e.prototype.setServiceProps=function(e){return this.serviceProps=e,this},e.prototype.setInstanceCreatedCallback=function(e){return this.onInstanceCreated=e,this},e}(),a=function(){function e(e,t){this.name=e,this.container=t,this.component=null,this.instances=new Map,this.instancesDeferred=new Map,this.instancesOptions=new Map,this.onInitCallbacks=new Map}return e.prototype.get=function(e){var t=this.normalizeInstanceIdentifier(e);if(!this.instancesDeferred.has(t)){var n=new o.a;if(this.instancesDeferred.set(t,n),this.isInitialized(t)||this.shouldAutoInitialize())try{var r=this.getOrInitializeService({instanceIdentifier:t});r&&n.resolve(r)}catch(i){}}return this.instancesDeferred.get(t).promise},e.prototype.getImmediate=function(e){var t,n=this.normalizeInstanceIdentifier(null===e||void 0===e?void 0:e.identifier),r=null!==(t=null===e||void 0===e?void 0:e.optional)&&void 0!==t&&t;if(!this.isInitialized(n)&&!this.shouldAutoInitialize()){if(r)return null;throw Error("Service "+this.name+" is not available")}try{return this.getOrInitializeService({instanceIdentifier:n})}catch(o){if(r)return null;throw o}},e.prototype.getComponent=function(){return this.component},e.prototype.setComponent=function(e){var t,n;if(e.name!==this.name)throw Error("Mismatching Component "+e.name+" for Provider "+this.name+".");if(this.component)throw Error("Component for "+this.name+" has already been provided");if(this.component=e,this.shouldAutoInitialize()){if(function(e){return"EAGER"===e.instantiationMode}(e))try{this.getOrInitializeService({instanceIdentifier:"[DEFAULT]"})}catch(f){}try{for(var o=Object(r.h)(this.instancesDeferred.entries()),i=o.next();!i.done;i=o.next()){var a=Object(r.e)(i.value,2),s=a[0],u=a[1],l=this.normalizeInstanceIdentifier(s);try{var c=this.getOrInitializeService({instanceIdentifier:l});u.resolve(c)}catch(f){}}}catch(d){t={error:d}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}}},e.prototype.clearInstance=function(e){void 0===e&&(e="[DEFAULT]"),this.instancesDeferred.delete(e),this.instancesOptions.delete(e),this.instances.delete(e)},e.prototype.delete=function(){return Object(r.b)(this,void 0,void 0,(function(){var e;return Object(r.d)(this,(function(t){switch(t.label){case 0:return e=Array.from(this.instances.values()),[4,Promise.all(Object(r.g)(Object(r.g)([],Object(r.e)(e.filter((function(e){return"INTERNAL"in e})).map((function(e){return e.INTERNAL.delete()})))),Object(r.e)(e.filter((function(e){return"_delete"in e})).map((function(e){return e._delete()})))))];case 1:return t.sent(),[2]}}))}))},e.prototype.isComponentSet=function(){return null!=this.component},e.prototype.isInitialized=function(e){return void 0===e&&(e="[DEFAULT]"),this.instances.has(e)},e.prototype.getOptions=function(e){return void 0===e&&(e="[DEFAULT]"),this.instancesOptions.get(e)||{}},e.prototype.initialize=function(e){var t,n;void 0===e&&(e={});var o=e.options,i=void 0===o?{}:o,a=this.normalizeInstanceIdentifier(e.instanceIdentifier);if(this.isInitialized(a))throw Error(this.name+"("+a+") has already been initialized");if(!this.isComponentSet())throw Error("Component "+this.name+" has not been registered yet");var s=this.getOrInitializeService({instanceIdentifier:a,options:i});try{for(var u=Object(r.h)(this.instancesDeferred.entries()),l=u.next();!l.done;l=u.next()){var c=Object(r.e)(l.value,2),f=c[0],d=c[1];a===this.normalizeInstanceIdentifier(f)&&d.resolve(s)}}catch(p){t={error:p}}finally{try{l&&!l.done&&(n=u.return)&&n.call(u)}finally{if(t)throw t.error}}return s},e.prototype.onInit=function(e,t){var n,r=this.normalizeInstanceIdentifier(t),o=null!==(n=this.onInitCallbacks.get(r))&&void 0!==n?n:new Set;o.add(e),this.onInitCallbacks.set(r,o);var i=this.instances.get(r);return i&&e(i,r),function(){o.delete(e)}},e.prototype.invokeOnInitCallbacks=function(e,t){var n,o,i=this.onInitCallbacks.get(t);if(i)try{for(var a=Object(r.h)(i),s=a.next();!s.done;s=a.next()){var u=s.value;try{u(e,t)}catch(l){}}}catch(c){n={error:c}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(n)throw n.error}}},e.prototype.getOrInitializeService=function(e){var t,n=e.instanceIdentifier,r=e.options,o=void 0===r?{}:r,i=this.instances.get(n);if(!i&&this.component&&(i=this.component.instanceFactory(this.container,{instanceIdentifier:(t=n,"[DEFAULT]"===t?void 0:t),options:o}),this.instances.set(n,i),this.instancesOptions.set(n,o),this.invokeOnInitCallbacks(i,n),this.component.onInstanceCreated))try{this.component.onInstanceCreated(this.container,n,i)}catch(a){}return i||null},e.prototype.normalizeInstanceIdentifier=function(e){return void 0===e&&(e="[DEFAULT]"),this.component?this.component.multipleInstances?e:"[DEFAULT]":e},e.prototype.shouldAutoInitialize=function(){return!!this.component&&"EXPLICIT"!==this.component.instantiationMode},e}();var s=function(){function e(e){this.name=e,this.providers=new Map}return e.prototype.addComponent=function(e){var t=this.getProvider(e.name);if(t.isComponentSet())throw new Error("Component "+e.name+" has already been registered with "+this.name);t.setComponent(e)},e.prototype.addOrOverwriteComponent=function(e){this.getProvider(e.name).isComponentSet()&&this.providers.delete(e.name),this.addComponent(e)},e.prototype.getProvider=function(e){if(this.providers.has(e))return this.providers.get(e);var t=new a(e,this);return this.providers.set(e,t),t},e.prototype.getProviders=function(){return Array.from(this.providers.values())},e}()},function(e,t,n){(function(e){e.exports=function(){"use strict";var t,n;function r(){return t.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function i(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function a(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function s(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(a(e,t))return!1;return!0}function u(e){return void 0===e}function l(e){return"number"===typeof e||"[object Number]"===Object.prototype.toString.call(e)}function c(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function f(e,t){var n,r=[];for(n=0;n<e.length;++n)r.push(t(e[n],n));return r}function d(e,t){for(var n in t)a(t,n)&&(e[n]=t[n]);return a(t,"toString")&&(e.toString=t.toString),a(t,"valueOf")&&(e.valueOf=t.valueOf),e}function p(e,t,n,r){return St(e,t,n,r,!0).utc()}function h(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function g(e){if(null==e._isValid){var t=h(e),r=n.call(t.parsedDateParts,(function(e){return null!=e})),o=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r);if(e._strict&&(o=o&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return o;e._isValid=o}return e._isValid}function y(e){var t=p(NaN);return null!=e?d(h(t),e):h(t).userInvalidated=!0,t}n=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),r=n.length>>>0;for(t=0;t<r;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var m=r.momentProperties=[],v=!1;function b(e,t){var n,r,o;if(u(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),u(t._i)||(e._i=t._i),u(t._f)||(e._f=t._f),u(t._l)||(e._l=t._l),u(t._strict)||(e._strict=t._strict),u(t._tzm)||(e._tzm=t._tzm),u(t._isUTC)||(e._isUTC=t._isUTC),u(t._offset)||(e._offset=t._offset),u(t._pf)||(e._pf=h(t)),u(t._locale)||(e._locale=t._locale),m.length>0)for(n=0;n<m.length;n++)u(o=t[r=m[n]])||(e[r]=o);return e}function M(e){b(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===v&&(v=!0,r.updateOffset(this),v=!1)}function w(e){return e instanceof M||null!=e&&null!=e._isAMomentObject}function N(e){!1===r.suppressDeprecationWarnings&&"undefined"!==typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function j(e,t){var n=!0;return d((function(){if(null!=r.deprecationHandler&&r.deprecationHandler(null,e),n){var o,i,s,u=[];for(i=0;i<arguments.length;i++){if(o="","object"===typeof arguments[i]){for(s in o+="\n["+i+"] ",arguments[0])a(arguments[0],s)&&(o+=s+": "+arguments[0][s]+", ");o=o.slice(0,-2)}else o=arguments[i];u.push(o)}N(e+"\nArguments: "+Array.prototype.slice.call(u).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var S,I={};function D(e,t){null!=r.deprecationHandler&&r.deprecationHandler(e,t),I[e]||(N(t),I[e]=!0)}function x(e){return"undefined"!==typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function E(e,t){var n,r=d({},e);for(n in t)a(t,n)&&(i(e[n])&&i(t[n])?(r[n]={},d(r[n],e[n]),d(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)a(e,n)&&!a(t,n)&&i(e[n])&&(r[n]=d({},r[n]));return r}function O(e){null!=e&&this.set(e)}function T(e,t,n){var r=""+Math.abs(e),o=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,o)).toString().substr(1)+r}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,S=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)a(e,t)&&n.push(t);return n};var C=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,k=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,L={},_={};function A(e,t,n,r){var o=r;"string"===typeof r&&(o=function(){return this[r]()}),e&&(_[e]=o),t&&(_[t[0]]=function(){return T(o.apply(this,arguments),t[1],t[2])}),n&&(_[n]=function(){return this.localeData().ordinal(o.apply(this,arguments),e)})}function z(e,t){return e.isValid()?(t=P(t,e.localeData()),L[t]=L[t]||function(e){var t,n,r,o=e.match(C);for(t=0,n=o.length;t<n;t++)_[o[t]]?o[t]=_[o[t]]:o[t]=(r=o[t]).match(/\[[\s\S]/)?r.replace(/^\[|\]$/g,""):r.replace(/\\/g,"");return function(t){var r,i="";for(r=0;r<n;r++)i+=x(o[r])?o[r].call(t,e):o[r];return i}}(t),L[t](e)):e.localeData().invalidDate()}function P(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(k.lastIndex=0;n>=0&&k.test(e);)e=e.replace(k,r),k.lastIndex=0,n-=1;return e}var R={};function U(e,t){var n=e.toLowerCase();R[n]=R[n+"s"]=R[t]=e}function B(e){return"string"===typeof e?R[e]||R[e.toLowerCase()]:void 0}function F(e){var t,n,r={};for(n in e)a(e,n)&&(t=B(n))&&(r[t]=e[n]);return r}var Y={};function G(e,t){Y[e]=t}function H(e){return e%4===0&&e%100!==0||e%400===0}function V(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function Q(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=V(t)),n}function W(e,t){return function(n){return null!=n?(q(this,e,n),r.updateOffset(this,t),this):Z(this,e)}}function Z(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function q(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&H(e.year())&&1===e.month()&&29===e.date()?(n=Q(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),we(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var X,$=/\d/,J=/\d\d/,K=/\d{3}/,ee=/\d{4}/,te=/[+-]?\d{6}/,ne=/\d\d?/,re=/\d\d\d\d?/,oe=/\d\d\d\d\d\d?/,ie=/\d{1,3}/,ae=/\d{1,4}/,se=/[+-]?\d{1,6}/,ue=/\d+/,le=/[+-]?\d+/,ce=/Z|[+-]\d\d:?\d\d/gi,fe=/Z|[+-]\d\d(?::?\d\d)?/gi,de=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function pe(e,t,n){X[e]=x(t)?t:function(e,r){return e&&n?n:t}}function he(e,t){return a(X,e)?X[e](t._strict,t._locale):new RegExp(ge(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,o){return t||n||r||o}))))}function ge(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}X={};var ye,me={};function ve(e,t){var n,r=t;for("string"===typeof e&&(e=[e]),l(t)&&(r=function(e,n){n[t]=Q(e)}),n=0;n<e.length;n++)me[e[n]]=r}function be(e,t){ve(e,(function(e,n,r,o){r._w=r._w||{},t(e,r._w,r,o)}))}function Me(e,t,n){null!=t&&a(me,e)&&me[e](t,n._a,n,e)}function we(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,r=(t%(n=12)+n)%n;return e+=(t-r)/12,1===r?H(e)?29:28:31-r%7%2}ye=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},A("M",["MM",2],"Mo",(function(){return this.month()+1})),A("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),A("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),U("month","M"),G("month",8),pe("M",ne),pe("MM",ne,J),pe("MMM",(function(e,t){return t.monthsShortRegex(e)})),pe("MMMM",(function(e,t){return t.monthsRegex(e)})),ve(["M","MM"],(function(e,t){t[1]=Q(e)-1})),ve(["MMM","MMMM"],(function(e,t,n,r){var o=n._locale.monthsParse(e,r,n._strict);null!=o?t[1]=o:h(n).invalidMonth=e}));var Ne="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),je="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Se=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ie=de,De=de;function xe(e,t,n){var r,o,i,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)i=p([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(i,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(o=ye.call(this._shortMonthsParse,a))?o:null:-1!==(o=ye.call(this._longMonthsParse,a))?o:null:"MMM"===t?-1!==(o=ye.call(this._shortMonthsParse,a))||-1!==(o=ye.call(this._longMonthsParse,a))?o:null:-1!==(o=ye.call(this._longMonthsParse,a))||-1!==(o=ye.call(this._shortMonthsParse,a))?o:null}function Ee(e,t){var n;if(!e.isValid())return e;if("string"===typeof t)if(/^\d+$/.test(t))t=Q(t);else if(!l(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),we(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Oe(e){return null!=e?(Ee(this,e),r.updateOffset(this,!0),this):Z(this,"Month")}function Te(){function e(e,t){return t.length-e.length}var t,n,r=[],o=[],i=[];for(t=0;t<12;t++)n=p([2e3,t]),r.push(this.monthsShort(n,"")),o.push(this.months(n,"")),i.push(this.months(n,"")),i.push(this.monthsShort(n,""));for(r.sort(e),o.sort(e),i.sort(e),t=0;t<12;t++)r[t]=ge(r[t]),o[t]=ge(o[t]);for(t=0;t<24;t++)i[t]=ge(i[t]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Ce(e){return H(e)?366:365}A("Y",0,0,(function(){var e=this.year();return e<=9999?T(e,4):"+"+e})),A(0,["YY",2],0,(function(){return this.year()%100})),A(0,["YYYY",4],0,"year"),A(0,["YYYYY",5],0,"year"),A(0,["YYYYYY",6,!0],0,"year"),U("year","y"),G("year",1),pe("Y",le),pe("YY",ne,J),pe("YYYY",ae,ee),pe("YYYYY",se,te),pe("YYYYYY",se,te),ve(["YYYYY","YYYYYY"],0),ve("YYYY",(function(e,t){t[0]=2===e.length?r.parseTwoDigitYear(e):Q(e)})),ve("YY",(function(e,t){t[0]=r.parseTwoDigitYear(e)})),ve("Y",(function(e,t){t[0]=parseInt(e,10)})),r.parseTwoDigitYear=function(e){return Q(e)+(Q(e)>68?1900:2e3)};var ke=W("FullYear",!0);function Le(e,t,n,r,o,i,a){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,r,o,i,a),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,o,i,a),s}function _e(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ae(e,t,n){var r=7+t-n;return-(7+_e(e,0,r).getUTCDay()-t)%7+r-1}function ze(e,t,n,r,o){var i,a,s=1+7*(t-1)+(7+n-r)%7+Ae(e,r,o);return s<=0?a=Ce(i=e-1)+s:s>Ce(e)?(i=e+1,a=s-Ce(e)):(i=e,a=s),{year:i,dayOfYear:a}}function Pe(e,t,n){var r,o,i=Ae(e.year(),t,n),a=Math.floor((e.dayOfYear()-i-1)/7)+1;return a<1?r=a+Re(o=e.year()-1,t,n):a>Re(e.year(),t,n)?(r=a-Re(e.year(),t,n),o=e.year()+1):(o=e.year(),r=a),{week:r,year:o}}function Re(e,t,n){var r=Ae(e,t,n),o=Ae(e+1,t,n);return(Ce(e)-r+o)/7}function Ue(e,t){return e.slice(t,7).concat(e.slice(0,t))}A("w",["ww",2],"wo","week"),A("W",["WW",2],"Wo","isoWeek"),U("week","w"),U("isoWeek","W"),G("week",5),G("isoWeek",5),pe("w",ne),pe("ww",ne,J),pe("W",ne),pe("WW",ne,J),be(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=Q(e)})),A("d",0,"do","day"),A("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),A("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),A("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),A("e",0,0,"weekday"),A("E",0,0,"isoWeekday"),U("day","d"),U("weekday","e"),U("isoWeekday","E"),G("day",11),G("weekday",11),G("isoWeekday",11),pe("d",ne),pe("e",ne),pe("E",ne),pe("dd",(function(e,t){return t.weekdaysMinRegex(e)})),pe("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),pe("dddd",(function(e,t){return t.weekdaysRegex(e)})),be(["dd","ddd","dddd"],(function(e,t,n,r){var o=n._locale.weekdaysParse(e,r,n._strict);null!=o?t.d=o:h(n).invalidWeekday=e})),be(["d","e","E"],(function(e,t,n,r){t[r]=Q(e)}));var Be="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Fe="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ye="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ge=de,He=de,Ve=de;function Qe(e,t,n){var r,o,i,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=p([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(o=ye.call(this._weekdaysParse,a))?o:null:"ddd"===t?-1!==(o=ye.call(this._shortWeekdaysParse,a))?o:null:-1!==(o=ye.call(this._minWeekdaysParse,a))?o:null:"dddd"===t?-1!==(o=ye.call(this._weekdaysParse,a))||-1!==(o=ye.call(this._shortWeekdaysParse,a))||-1!==(o=ye.call(this._minWeekdaysParse,a))?o:null:"ddd"===t?-1!==(o=ye.call(this._shortWeekdaysParse,a))||-1!==(o=ye.call(this._weekdaysParse,a))||-1!==(o=ye.call(this._minWeekdaysParse,a))?o:null:-1!==(o=ye.call(this._minWeekdaysParse,a))||-1!==(o=ye.call(this._weekdaysParse,a))||-1!==(o=ye.call(this._shortWeekdaysParse,a))?o:null}function We(){function e(e,t){return t.length-e.length}var t,n,r,o,i,a=[],s=[],u=[],l=[];for(t=0;t<7;t++)n=p([2e3,1]).day(t),r=ge(this.weekdaysMin(n,"")),o=ge(this.weekdaysShort(n,"")),i=ge(this.weekdays(n,"")),a.push(r),s.push(o),u.push(i),l.push(r),l.push(o),l.push(i);a.sort(e),s.sort(e),u.sort(e),l.sort(e),this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Ze(){return this.hours()%12||12}function qe(e,t){A(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function Xe(e,t){return t._meridiemParse}A("H",["HH",2],0,"hour"),A("h",["hh",2],0,Ze),A("k",["kk",2],0,(function(){return this.hours()||24})),A("hmm",0,0,(function(){return""+Ze.apply(this)+T(this.minutes(),2)})),A("hmmss",0,0,(function(){return""+Ze.apply(this)+T(this.minutes(),2)+T(this.seconds(),2)})),A("Hmm",0,0,(function(){return""+this.hours()+T(this.minutes(),2)})),A("Hmmss",0,0,(function(){return""+this.hours()+T(this.minutes(),2)+T(this.seconds(),2)})),qe("a",!0),qe("A",!1),U("hour","h"),G("hour",13),pe("a",Xe),pe("A",Xe),pe("H",ne),pe("h",ne),pe("k",ne),pe("HH",ne,J),pe("hh",ne,J),pe("kk",ne,J),pe("hmm",re),pe("hmmss",oe),pe("Hmm",re),pe("Hmmss",oe),ve(["H","HH"],3),ve(["k","kk"],(function(e,t,n){var r=Q(e);t[3]=24===r?0:r})),ve(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),ve(["h","hh"],(function(e,t,n){t[3]=Q(e),h(n).bigHour=!0})),ve("hmm",(function(e,t,n){var r=e.length-2;t[3]=Q(e.substr(0,r)),t[4]=Q(e.substr(r)),h(n).bigHour=!0})),ve("hmmss",(function(e,t,n){var r=e.length-4,o=e.length-2;t[3]=Q(e.substr(0,r)),t[4]=Q(e.substr(r,2)),t[5]=Q(e.substr(o)),h(n).bigHour=!0})),ve("Hmm",(function(e,t,n){var r=e.length-2;t[3]=Q(e.substr(0,r)),t[4]=Q(e.substr(r))})),ve("Hmmss",(function(e,t,n){var r=e.length-4,o=e.length-2;t[3]=Q(e.substr(0,r)),t[4]=Q(e.substr(r,2)),t[5]=Q(e.substr(o))}));var $e,Je=W("Hours",!0),Ke={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Ne,monthsShort:je,week:{dow:0,doy:6},weekdays:Be,weekdaysMin:Ye,weekdaysShort:Fe,meridiemParse:/[ap]\.?m?\.?/i},et={},tt={};function nt(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n+=1)if(e[n]!==t[n])return n;return r}function rt(e){return e?e.toLowerCase().replace("_","-"):e}function ot(t){var n=null;if(void 0===et[t]&&"undefined"!==typeof e&&e&&e.exports)try{n=$e._abbr,function(){var e=new Error("Cannot find module 'undefined'");throw e.code="MODULE_NOT_FOUND",e}(),it(n)}catch(r){et[t]=null}return et[t]}function it(e,t){var n;return e&&((n=u(t)?st(e):at(e,t))?$e=n:"undefined"!==typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),$e._abbr}function at(e,t){if(null!==t){var n,r=Ke;if(t.abbr=e,null!=et[e])D("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=et[e]._config;else if(null!=t.parentLocale)if(null!=et[t.parentLocale])r=et[t.parentLocale]._config;else{if(null==(n=ot(t.parentLocale)))return tt[t.parentLocale]||(tt[t.parentLocale]=[]),tt[t.parentLocale].push({name:e,config:t}),null;r=n._config}return et[e]=new O(E(r,t)),tt[e]&&tt[e].forEach((function(e){at(e.name,e.config)})),it(e),et[e]}return delete et[e],null}function st(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return $e;if(!o(e)){if(t=ot(e))return t;e=[e]}return function(e){for(var t,n,r,o,i=0;i<e.length;){for(t=(o=rt(e[i]).split("-")).length,n=(n=rt(e[i+1]))?n.split("-"):null;t>0;){if(r=ot(o.slice(0,t).join("-")))return r;if(n&&n.length>=t&&nt(o,n)>=t-1)break;t--}i++}return $e}(e)}function ut(e){var t,n=e._a;return n&&-2===h(e).overflow&&(t=n[1]<0||n[1]>11?1:n[2]<1||n[2]>we(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,h(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),h(e)._overflowWeeks&&-1===t&&(t=7),h(e)._overflowWeekday&&-1===t&&(t=8),h(e).overflow=t),e}var lt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ct=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ft=/Z|[+-]\d\d(?::?\d\d)?/,dt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],pt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],ht=/^\/?Date\((-?\d+)/i,gt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,yt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function mt(e){var t,n,r,o,i,a,s=e._i,u=lt.exec(s)||ct.exec(s);if(u){for(h(e).iso=!0,t=0,n=dt.length;t<n;t++)if(dt[t][1].exec(u[1])){o=dt[t][0],r=!1!==dt[t][2];break}if(null==o)return void(e._isValid=!1);if(u[3]){for(t=0,n=pt.length;t<n;t++)if(pt[t][1].exec(u[3])){i=(u[2]||" ")+pt[t][0];break}if(null==i)return void(e._isValid=!1)}if(!r&&null!=i)return void(e._isValid=!1);if(u[4]){if(!ft.exec(u[4]))return void(e._isValid=!1);a="Z"}e._f=o+(i||"")+(a||""),Nt(e)}else e._isValid=!1}function vt(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function bt(e){var t,n=gt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(n){if(t=function(e,t,n,r,o,i){var a=[vt(e),je.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(o,10)];return i&&a.push(parseInt(i,10)),a}(n[4],n[3],n[2],n[5],n[6],n[7]),!function(e,t,n){return!e||Fe.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(h(n).weekdayMismatch=!0,n._isValid=!1,!1)}(n[1],t,e))return;e._a=t,e._tzm=function(e,t,n){if(e)return yt[e];if(t)return 0;var r=parseInt(n,10),o=r%100;return(r-o)/100*60+o}(n[8],n[9],n[10]),e._d=_e.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),h(e).rfc2822=!0}else e._isValid=!1}function Mt(e,t,n){return null!=e?e:null!=t?t:n}function wt(e){var t,n,o,i,a,s=[];if(!e._d){for(o=function(e){var t=new Date(r.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[2]&&null==e._a[1]&&function(e){var t,n,r,o,i,a,s,u,l;null!=(t=e._w).GG||null!=t.W||null!=t.E?(i=1,a=4,n=Mt(t.GG,e._a[0],Pe(It(),1,4).year),r=Mt(t.W,1),((o=Mt(t.E,1))<1||o>7)&&(u=!0)):(i=e._locale._week.dow,a=e._locale._week.doy,l=Pe(It(),i,a),n=Mt(t.gg,e._a[0],l.year),r=Mt(t.w,l.week),null!=t.d?((o=t.d)<0||o>6)&&(u=!0):null!=t.e?(o=t.e+i,(t.e<0||t.e>6)&&(u=!0)):o=i),r<1||r>Re(n,i,a)?h(e)._overflowWeeks=!0:null!=u?h(e)._overflowWeekday=!0:(s=ze(n,r,o,i,a),e._a[0]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(a=Mt(e._a[0],o[0]),(e._dayOfYear>Ce(a)||0===e._dayOfYear)&&(h(e)._overflowDayOfYear=!0),n=_e(a,0,e._dayOfYear),e._a[1]=n.getUTCMonth(),e._a[2]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=o[t];for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?_e:Le).apply(null,s),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&"undefined"!==typeof e._w.d&&e._w.d!==i&&(h(e).weekdayMismatch=!0)}}function Nt(e){if(e._f!==r.ISO_8601)if(e._f!==r.RFC_2822){e._a=[],h(e).empty=!0;var t,n,o,i,a,s,u=""+e._i,l=u.length,c=0;for(o=P(e._f,e._locale).match(C)||[],t=0;t<o.length;t++)i=o[t],(n=(u.match(he(i,e))||[])[0])&&((a=u.substr(0,u.indexOf(n))).length>0&&h(e).unusedInput.push(a),u=u.slice(u.indexOf(n)+n.length),c+=n.length),_[i]?(n?h(e).empty=!1:h(e).unusedTokens.push(i),Me(i,n,e)):e._strict&&!n&&h(e).unusedTokens.push(i);h(e).charsLeftOver=l-c,u.length>0&&h(e).unusedInput.push(u),e._a[3]<=12&&!0===h(e).bigHour&&e._a[3]>0&&(h(e).bigHour=void 0),h(e).parsedDateParts=e._a.slice(0),h(e).meridiem=e._meridiem,e._a[3]=function(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}(e._locale,e._a[3],e._meridiem),null!==(s=h(e).era)&&(e._a[0]=e._locale.erasConvertYear(s,e._a[0])),wt(e),ut(e)}else bt(e);else mt(e)}function jt(e){var t=e._i,n=e._f;return e._locale=e._locale||st(e._l),null===t||void 0===n&&""===t?y({nullInput:!0}):("string"===typeof t&&(e._i=t=e._locale.preparse(t)),w(t)?new M(ut(t)):(c(t)?e._d=t:o(n)?function(e){var t,n,r,o,i,a,s=!1;if(0===e._f.length)return h(e).invalidFormat=!0,void(e._d=new Date(NaN));for(o=0;o<e._f.length;o++)i=0,a=!1,t=b({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[o],Nt(t),g(t)&&(a=!0),i+=h(t).charsLeftOver,i+=10*h(t).unusedTokens.length,h(t).score=i,s?i<r&&(r=i,n=t):(null==r||i<r||a)&&(r=i,n=t,a&&(s=!0));d(e,n||t)}(e):n?Nt(e):function(e){var t=e._i;u(t)?e._d=new Date(r.now()):c(t)?e._d=new Date(t.valueOf()):"string"===typeof t?function(e){var t=ht.exec(e._i);null===t?(mt(e),!1===e._isValid&&(delete e._isValid,bt(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:r.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):o(t)?(e._a=f(t.slice(0),(function(e){return parseInt(e,10)})),wt(e)):i(t)?function(e){if(!e._d){var t=F(e._i),n=void 0===t.day?t.date:t.day;e._a=f([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),wt(e)}}(e):l(t)?e._d=new Date(t):r.createFromInputFallback(e)}(e),g(e)||(e._d=null),e))}function St(e,t,n,r,a){var u={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(i(e)&&s(e)||o(e)&&0===e.length)&&(e=void 0),u._isAMomentObject=!0,u._useUTC=u._isUTC=a,u._l=n,u._i=e,u._f=t,u._strict=r,function(e){var t=new M(ut(jt(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}(u)}function It(e,t,n,r){return St(e,t,n,r,!1)}r.createFromInputFallback=j("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),r.ISO_8601=function(){},r.RFC_2822=function(){};var Dt=j("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=It.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:y()})),xt=j("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=It.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:y()}));function Et(e,t){var n,r;if(1===t.length&&o(t[0])&&(t=t[0]),!t.length)return It();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var Ot=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Tt(e){var t=F(e),n=t.year||0,r=t.quarter||0,o=t.month||0,i=t.week||t.isoWeek||0,s=t.day||0,u=t.hour||0,l=t.minute||0,c=t.second||0,f=t.millisecond||0;this._isValid=function(e){var t,n,r=!1;for(t in e)if(a(e,t)&&(-1===ye.call(Ot,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<Ot.length;++n)if(e[Ot[n]]){if(r)return!1;parseFloat(e[Ot[n]])!==Q(e[Ot[n]])&&(r=!0)}return!0}(t),this._milliseconds=+f+1e3*c+6e4*l+1e3*u*60*60,this._days=+s+7*i,this._months=+o+3*r+12*n,this._data={},this._locale=st(),this._bubble()}function Ct(e){return e instanceof Tt}function kt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Lt(e,t){A(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+T(~~(e/60),2)+t+T(~~e%60,2)}))}Lt("Z",":"),Lt("ZZ",""),pe("Z",fe),pe("ZZ",fe),ve(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=At(fe,e)}));var _t=/([\+\-]|\d\d)/gi;function At(e,t){var n,r,o=(t||"").match(e);return null===o?null:0===(r=60*(n=((o[o.length-1]||[])+"").match(_t)||["-",0,0])[1]+Q(n[2]))?0:"+"===n[0]?r:-r}function zt(e,t){var n,o;return t._isUTC?(n=t.clone(),o=(w(e)||c(e)?e.valueOf():It(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+o),r.updateOffset(n,!1),n):It(e).local()}function Pt(e){return-Math.round(e._d.getTimezoneOffset())}function Rt(){return!!this.isValid()&&this._isUTC&&0===this._offset}r.updateOffset=function(){};var Ut=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Bt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ft(e,t){var n,r,o,i=e,s=null;return Ct(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:l(e)||!isNaN(+e)?(i={},t?i[t]=+e:i.milliseconds=+e):(s=Ut.exec(e))?(n="-"===s[1]?-1:1,i={y:0,d:Q(s[2])*n,h:Q(s[3])*n,m:Q(s[4])*n,s:Q(s[5])*n,ms:Q(kt(1e3*s[6]))*n}):(s=Bt.exec(e))?(n="-"===s[1]?-1:1,i={y:Yt(s[2],n),M:Yt(s[3],n),w:Yt(s[4],n),d:Yt(s[5],n),h:Yt(s[6],n),m:Yt(s[7],n),s:Yt(s[8],n)}):null==i?i={}:"object"===typeof i&&("from"in i||"to"in i)&&(o=function(e,t){var n;return e.isValid()&&t.isValid()?(t=zt(t,e),e.isBefore(t)?n=Gt(e,t):((n=Gt(t,e)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}(It(i.from),It(i.to)),(i={}).ms=o.milliseconds,i.M=o.months),r=new Tt(i),Ct(e)&&a(e,"_locale")&&(r._locale=e._locale),Ct(e)&&a(e,"_isValid")&&(r._isValid=e._isValid),r}function Yt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Gt(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Ht(e,t){return function(n,r){var o;return null===r||isNaN(+r)||(D(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),Vt(this,Ft(n,r),e),this}}function Vt(e,t,n,o){var i=t._milliseconds,a=kt(t._days),s=kt(t._months);e.isValid()&&(o=null==o||o,s&&Ee(e,Z(e,"Month")+s*n),a&&q(e,"Date",Z(e,"Date")+a*n),i&&e._d.setTime(e._d.valueOf()+i*n),o&&r.updateOffset(e,a||s))}Ft.fn=Tt.prototype,Ft.invalid=function(){return Ft(NaN)};var Qt=Ht(1,"add"),Wt=Ht(-1,"subtract");function Zt(e){return"string"===typeof e||e instanceof String}function qt(e){return w(e)||c(e)||Zt(e)||l(e)||function(e){var t=o(e),n=!1;return t&&(n=0===e.filter((function(t){return!l(t)&&Zt(e)})).length),t&&n}(e)||function(e){var t,n,r=i(e)&&!s(e),o=!1,u=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(t=0;t<u.length;t+=1)n=u[t],o=o||a(e,n);return r&&o}(e)||null===e||void 0===e}function Xt(e){var t,n=i(e)&&!s(e),r=!1,o=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<o.length;t+=1)r=r||a(e,o[t]);return n&&r}function $t(e,t){if(e.date()<t.date())return-$t(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),r=e.clone().add(n,"months");return-(n+(t-r<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(n+1,"months")-r)))||0}function Jt(e){var t;return void 0===e?this._locale._abbr:(null!=(t=st(e))&&(this._locale=t),this)}r.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",r.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Kt=j("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function en(){return this._locale}function tn(e,t){return(e%t+t)%t}function nn(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-126227808e5:new Date(e,t,n).valueOf()}function rn(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-126227808e5:Date.UTC(e,t,n)}function on(e,t){return t.erasAbbrRegex(e)}function an(){var e,t,n=[],r=[],o=[],i=[],a=this.eras();for(e=0,t=a.length;e<t;++e)r.push(ge(a[e].name)),n.push(ge(a[e].abbr)),o.push(ge(a[e].narrow)),i.push(ge(a[e].name)),i.push(ge(a[e].abbr)),i.push(ge(a[e].narrow));this._erasRegex=new RegExp("^("+i.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+r.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+o.join("|")+")","i")}function sn(e,t){A(0,[e,e.length],0,t)}function un(e,t,n,r,o){var i;return null==e?Pe(this,r,o).year:(t>(i=Re(e,r,o))&&(t=i),ln.call(this,e,t,n,r,o))}function ln(e,t,n,r,o){var i=ze(e,t,n,r,o),a=_e(i.year,0,i.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}A("N",0,0,"eraAbbr"),A("NN",0,0,"eraAbbr"),A("NNN",0,0,"eraAbbr"),A("NNNN",0,0,"eraName"),A("NNNNN",0,0,"eraNarrow"),A("y",["y",1],"yo","eraYear"),A("y",["yy",2],0,"eraYear"),A("y",["yyy",3],0,"eraYear"),A("y",["yyyy",4],0,"eraYear"),pe("N",on),pe("NN",on),pe("NNN",on),pe("NNNN",(function(e,t){return t.erasNameRegex(e)})),pe("NNNNN",(function(e,t){return t.erasNarrowRegex(e)})),ve(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,r){var o=n._locale.erasParse(e,r,n._strict);o?h(n).era=o:h(n).invalidEra=e})),pe("y",ue),pe("yy",ue),pe("yyy",ue),pe("yyyy",ue),pe("yo",(function(e,t){return t._eraYearOrdinalRegex||ue})),ve(["y","yy","yyy","yyyy"],0),ve(["yo"],(function(e,t,n,r){var o;n._locale._eraYearOrdinalRegex&&(o=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[0]=n._locale.eraYearOrdinalParse(e,o):t[0]=parseInt(e,10)})),A(0,["gg",2],0,(function(){return this.weekYear()%100})),A(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),sn("gggg","weekYear"),sn("ggggg","weekYear"),sn("GGGG","isoWeekYear"),sn("GGGGG","isoWeekYear"),U("weekYear","gg"),U("isoWeekYear","GG"),G("weekYear",1),G("isoWeekYear",1),pe("G",le),pe("g",le),pe("GG",ne,J),pe("gg",ne,J),pe("GGGG",ae,ee),pe("gggg",ae,ee),pe("GGGGG",se,te),pe("ggggg",se,te),be(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=Q(e)})),be(["gg","GG"],(function(e,t,n,o){t[o]=r.parseTwoDigitYear(e)})),A("Q",0,"Qo","quarter"),U("quarter","Q"),G("quarter",7),pe("Q",$),ve("Q",(function(e,t){t[1]=3*(Q(e)-1)})),A("D",["DD",2],"Do","date"),U("date","D"),G("date",9),pe("D",ne),pe("DD",ne,J),pe("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),ve(["D","DD"],2),ve("Do",(function(e,t){t[2]=Q(e.match(ne)[0])}));var cn=W("Date",!0);A("DDD",["DDDD",3],"DDDo","dayOfYear"),U("dayOfYear","DDD"),G("dayOfYear",4),pe("DDD",ie),pe("DDDD",K),ve(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=Q(e)})),A("m",["mm",2],0,"minute"),U("minute","m"),G("minute",14),pe("m",ne),pe("mm",ne,J),ve(["m","mm"],4);var fn=W("Minutes",!1);A("s",["ss",2],0,"second"),U("second","s"),G("second",15),pe("s",ne),pe("ss",ne,J),ve(["s","ss"],5);var dn,pn,hn=W("Seconds",!1);for(A("S",0,0,(function(){return~~(this.millisecond()/100)})),A(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),A(0,["SSS",3],0,"millisecond"),A(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),A(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),A(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),A(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),A(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),A(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),U("millisecond","ms"),G("millisecond",16),pe("S",ie,$),pe("SS",ie,J),pe("SSS",ie,K),dn="SSSS";dn.length<=9;dn+="S")pe(dn,ue);function gn(e,t){t[6]=Q(1e3*("0."+e))}for(dn="S";dn.length<=9;dn+="S")ve(dn,gn);pn=W("Milliseconds",!1),A("z",0,0,"zoneAbbr"),A("zz",0,0,"zoneName");var yn=M.prototype;function mn(e){return e}yn.add=Qt,yn.calendar=function(e,t){1===arguments.length&&(arguments[0]?qt(arguments[0])?(e=arguments[0],t=void 0):Xt(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||It(),o=zt(n,this).startOf("day"),i=r.calendarFormat(this,o)||"sameElse",a=t&&(x(t[i])?t[i].call(this,n):t[i]);return this.format(a||this.localeData().calendar(i,this,It(n)))},yn.clone=function(){return new M(this)},yn.diff=function(e,t,n){var r,o,i;if(!this.isValid())return NaN;if(!(r=zt(e,this)).isValid())return NaN;switch(o=6e4*(r.utcOffset()-this.utcOffset()),t=B(t)){case"year":i=$t(this,r)/12;break;case"month":i=$t(this,r);break;case"quarter":i=$t(this,r)/3;break;case"second":i=(this-r)/1e3;break;case"minute":i=(this-r)/6e4;break;case"hour":i=(this-r)/36e5;break;case"day":i=(this-r-o)/864e5;break;case"week":i=(this-r-o)/6048e5;break;default:i=this-r}return n?i:V(i)},yn.endOf=function(e){var t,n;if(void 0===(e=B(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?rn:nn,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-tn(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-tn(t,1e3)-1}return this._d.setTime(t),r.updateOffset(this,!0),this},yn.format=function(e){e||(e=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var t=z(this,e);return this.localeData().postformat(t)},yn.from=function(e,t){return this.isValid()&&(w(e)&&e.isValid()||It(e).isValid())?Ft({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},yn.fromNow=function(e){return this.from(It(),e)},yn.to=function(e,t){return this.isValid()&&(w(e)&&e.isValid()||It(e).isValid())?Ft({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},yn.toNow=function(e){return this.to(It(),e)},yn.get=function(e){return x(this[e=B(e)])?this[e]():this},yn.invalidAt=function(){return h(this).overflow},yn.isAfter=function(e,t){var n=w(e)?e:It(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=B(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},yn.isBefore=function(e,t){var n=w(e)?e:It(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=B(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},yn.isBetween=function(e,t,n,r){var o=w(e)?e:It(e),i=w(t)?t:It(t);return!!(this.isValid()&&o.isValid()&&i.isValid())&&(("("===(r=r||"()")[0]?this.isAfter(o,n):!this.isBefore(o,n))&&(")"===r[1]?this.isBefore(i,n):!this.isAfter(i,n)))},yn.isSame=function(e,t){var n,r=w(e)?e:It(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=B(t)||"millisecond")?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},yn.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},yn.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},yn.isValid=function(){return g(this)},yn.lang=Kt,yn.locale=Jt,yn.localeData=en,yn.max=xt,yn.min=Dt,yn.parsingFlags=function(){return d({},h(this))},yn.set=function(e,t){if("object"===typeof e){var n,r=function(e){var t,n=[];for(t in e)a(e,t)&&n.push({unit:t,priority:Y[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}(e=F(e));for(n=0;n<r.length;n++)this[r[n].unit](e[r[n].unit])}else if(x(this[e=B(e)]))return this[e](t);return this},yn.startOf=function(e){var t,n;if(void 0===(e=B(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?rn:nn,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=tn(t,6e4);break;case"second":t=this._d.valueOf(),t-=tn(t,1e3)}return this._d.setTime(t),r.updateOffset(this,!0),this},yn.subtract=Wt,yn.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},yn.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},yn.toDate=function(){return new Date(this.valueOf())},yn.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?z(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):x(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",z(n,"Z")):z(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},yn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,r="moment",o="";return this.isLocal()||(r=0===this.utcOffset()?"moment.utc":"moment.parseZone",o="Z"),e="["+r+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n=o+'[")]',this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+n)},"undefined"!==typeof Symbol&&null!=Symbol.for&&(yn[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),yn.toJSON=function(){return this.isValid()?this.toISOString():null},yn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},yn.unix=function(){return Math.floor(this.valueOf()/1e3)},yn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},yn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},yn.eraName=function(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].name;if(r[e].until<=n&&n<=r[e].since)return r[e].name}return""},yn.eraNarrow=function(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].narrow;if(r[e].until<=n&&n<=r[e].since)return r[e].narrow}return""},yn.eraAbbr=function(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].abbr;if(r[e].until<=n&&n<=r[e].since)return r[e].abbr}return""},yn.eraYear=function(){var e,t,n,o,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e)if(n=i[e].since<=i[e].until?1:-1,o=this.clone().startOf("day").valueOf(),i[e].since<=o&&o<=i[e].until||i[e].until<=o&&o<=i[e].since)return(this.year()-r(i[e].since).year())*n+i[e].offset;return this.year()},yn.year=ke,yn.isLeapYear=function(){return H(this.year())},yn.weekYear=function(e){return un.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},yn.isoWeekYear=function(e){return un.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},yn.quarter=yn.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},yn.month=Oe,yn.daysInMonth=function(){return we(this.year(),this.month())},yn.week=yn.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},yn.isoWeek=yn.isoWeeks=function(e){var t=Pe(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},yn.weeksInYear=function(){var e=this.localeData()._week;return Re(this.year(),e.dow,e.doy)},yn.weeksInWeekYear=function(){var e=this.localeData()._week;return Re(this.weekYear(),e.dow,e.doy)},yn.isoWeeksInYear=function(){return Re(this.year(),1,4)},yn.isoWeeksInISOWeekYear=function(){return Re(this.isoWeekYear(),1,4)},yn.date=cn,yn.day=yn.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!==typeof e?e:isNaN(e)?"number"===typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},yn.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},yn.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"===typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},yn.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},yn.hour=yn.hours=Je,yn.minute=yn.minutes=fn,yn.second=yn.seconds=hn,yn.millisecond=yn.milliseconds=pn,yn.utcOffset=function(e,t,n){var o,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"===typeof e){if(null===(e=At(fe,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(o=Pt(this)),this._offset=e,this._isUTC=!0,null!=o&&this.add(o,"m"),i!==e&&(!t||this._changeInProgress?Vt(this,Ft(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?i:Pt(this)},yn.utc=function(e){return this.utcOffset(0,e)},yn.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Pt(this),"m")),this},yn.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"===typeof this._i){var e=At(ce,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},yn.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?It(e).utcOffset():0,(this.utcOffset()-e)%60===0)},yn.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},yn.isLocal=function(){return!!this.isValid()&&!this._isUTC},yn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},yn.isUtc=Rt,yn.isUTC=Rt,yn.zoneAbbr=function(){return this._isUTC?"UTC":""},yn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},yn.dates=j("dates accessor is deprecated. Use date instead.",cn),yn.months=j("months accessor is deprecated. Use month instead",Oe),yn.years=j("years accessor is deprecated. Use year instead",ke),yn.zone=j("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!==typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),yn.isDSTShifted=j("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!u(this._isDSTShifted))return this._isDSTShifted;var e,t={};return b(t,this),(t=jt(t))._a?(e=t._isUTC?p(t._a):It(t._a),this._isDSTShifted=this.isValid()&&function(e,t,n){var r,o=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),a=0;for(r=0;r<o;r++)(n&&e[r]!==t[r]||!n&&Q(e[r])!==Q(t[r]))&&a++;return a+i}(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var vn=O.prototype;function bn(e,t,n,r){var o=st(),i=p().set(r,t);return o[n](i,e)}function Mn(e,t,n){if(l(e)&&(t=e,e=void 0),e=e||"",null!=t)return bn(e,t,n,"month");var r,o=[];for(r=0;r<12;r++)o[r]=bn(e,r,n,"month");return o}function wn(e,t,n,r){"boolean"===typeof e?(l(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,l(t)&&(n=t,t=void 0),t=t||"");var o,i=st(),a=e?i._week.dow:0,s=[];if(null!=n)return bn(t,(n+a)%7,r,"day");for(o=0;o<7;o++)s[o]=bn(t,(o+a)%7,r,"day");return s}vn.calendar=function(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return x(r)?r.call(t,n):r},vn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(C).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])},vn.invalidDate=function(){return this._invalidDate},vn.ordinal=function(e){return this._ordinal.replace("%d",e)},vn.preparse=mn,vn.postformat=mn,vn.relativeTime=function(e,t,n,r){var o=this._relativeTime[n];return x(o)?o(e,t,n,r):o.replace(/%d/i,e)},vn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return x(n)?n(t):n.replace(/%s/i,t)},vn.set=function(e){var t,n;for(n in e)a(e,n)&&(x(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},vn.eras=function(e,t){var n,o,i,a=this._eras||st("en")._eras;for(n=0,o=a.length;n<o;++n){switch(typeof a[n].since){case"string":i=r(a[n].since).startOf("day"),a[n].since=i.valueOf()}switch(typeof a[n].until){case"undefined":a[n].until=1/0;break;case"string":i=r(a[n].until).startOf("day").valueOf(),a[n].until=i.valueOf()}}return a},vn.erasParse=function(e,t,n){var r,o,i,a,s,u=this.eras();for(e=e.toUpperCase(),r=0,o=u.length;r<o;++r)if(i=u[r].name.toUpperCase(),a=u[r].abbr.toUpperCase(),s=u[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(a===e)return u[r];break;case"NNNN":if(i===e)return u[r];break;case"NNNNN":if(s===e)return u[r]}else if([i,a,s].indexOf(e)>=0)return u[r]},vn.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?r(e.since).year():r(e.since).year()+(t-e.offset)*n},vn.erasAbbrRegex=function(e){return a(this,"_erasAbbrRegex")||an.call(this),e?this._erasAbbrRegex:this._erasRegex},vn.erasNameRegex=function(e){return a(this,"_erasNameRegex")||an.call(this),e?this._erasNameRegex:this._erasRegex},vn.erasNarrowRegex=function(e){return a(this,"_erasNarrowRegex")||an.call(this),e?this._erasNarrowRegex:this._erasRegex},vn.months=function(e,t){return e?o(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Se).test(t)?"format":"standalone"][e.month()]:o(this._months)?this._months:this._months.standalone},vn.monthsShort=function(e,t){return e?o(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Se.test(t)?"format":"standalone"][e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},vn.monthsParse=function(e,t,n){var r,o,i;if(this._monthsParseExact)return xe.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(o=p([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(o,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(o,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(o,"")+"|^"+this.monthsShort(o,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},vn.monthsRegex=function(e){return this._monthsParseExact?(a(this,"_monthsRegex")||Te.call(this),e?this._monthsStrictRegex:this._monthsRegex):(a(this,"_monthsRegex")||(this._monthsRegex=De),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},vn.monthsShortRegex=function(e){return this._monthsParseExact?(a(this,"_monthsRegex")||Te.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(a(this,"_monthsShortRegex")||(this._monthsShortRegex=Ie),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},vn.week=function(e){return Pe(e,this._week.dow,this._week.doy).week},vn.firstDayOfYear=function(){return this._week.doy},vn.firstDayOfWeek=function(){return this._week.dow},vn.weekdays=function(e,t){var n=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Ue(n,this._week.dow):e?n[e.day()]:n},vn.weekdaysMin=function(e){return!0===e?Ue(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},vn.weekdaysShort=function(e){return!0===e?Ue(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},vn.weekdaysParse=function(e,t,n){var r,o,i;if(this._weekdaysParseExact)return Qe.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(o=p([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(o,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(o,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(o,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},vn.weekdaysRegex=function(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||We.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(a(this,"_weekdaysRegex")||(this._weekdaysRegex=Ge),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},vn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||We.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(a(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=He),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},vn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||We.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(a(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ve),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},vn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},vn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},it("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===Q(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),r.lang=j("moment.lang is deprecated. Use moment.locale instead.",it),r.langData=j("moment.langData is deprecated. Use moment.localeData instead.",st);var Nn=Math.abs;function jn(e,t,n,r){var o=Ft(t,n);return e._milliseconds+=r*o._milliseconds,e._days+=r*o._days,e._months+=r*o._months,e._bubble()}function Sn(e){return e<0?Math.floor(e):Math.ceil(e)}function In(e){return 4800*e/146097}function Dn(e){return 146097*e/4800}function xn(e){return function(){return this.as(e)}}var En=xn("ms"),On=xn("s"),Tn=xn("m"),Cn=xn("h"),kn=xn("d"),Ln=xn("w"),_n=xn("M"),An=xn("Q"),zn=xn("y");function Pn(e){return function(){return this.isValid()?this._data[e]:NaN}}var Rn=Pn("milliseconds"),Un=Pn("seconds"),Bn=Pn("minutes"),Fn=Pn("hours"),Yn=Pn("days"),Gn=Pn("months"),Hn=Pn("years"),Vn=Math.round,Qn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Wn(e,t,n,r,o){return o.relativeTime(t||1,!!n,e,r)}var Zn=Math.abs;function qn(e){return(e>0)-(e<0)||+e}function Xn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,o,i,a,s,u=Zn(this._milliseconds)/1e3,l=Zn(this._days),c=Zn(this._months),f=this.asSeconds();return f?(e=V(u/60),t=V(e/60),u%=60,e%=60,n=V(c/12),c%=12,r=u?u.toFixed(3).replace(/\.?0+$/,""):"",o=f<0?"-":"",i=qn(this._months)!==qn(f)?"-":"",a=qn(this._days)!==qn(f)?"-":"",s=qn(this._milliseconds)!==qn(f)?"-":"",o+"P"+(n?i+n+"Y":"")+(c?i+c+"M":"")+(l?a+l+"D":"")+(t||e||u?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(u?s+r+"S":"")):"P0D"}var $n=Tt.prototype;return $n.isValid=function(){return this._isValid},$n.abs=function(){var e=this._data;return this._milliseconds=Nn(this._milliseconds),this._days=Nn(this._days),this._months=Nn(this._months),e.milliseconds=Nn(e.milliseconds),e.seconds=Nn(e.seconds),e.minutes=Nn(e.minutes),e.hours=Nn(e.hours),e.months=Nn(e.months),e.years=Nn(e.years),this},$n.add=function(e,t){return jn(this,e,t,1)},$n.subtract=function(e,t){return jn(this,e,t,-1)},$n.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=B(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+In(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Dn(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},$n.asMilliseconds=En,$n.asSeconds=On,$n.asMinutes=Tn,$n.asHours=Cn,$n.asDays=kn,$n.asWeeks=Ln,$n.asMonths=_n,$n.asQuarters=An,$n.asYears=zn,$n.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*Q(this._months/12):NaN},$n._bubble=function(){var e,t,n,r,o,i=this._milliseconds,a=this._days,s=this._months,u=this._data;return i>=0&&a>=0&&s>=0||i<=0&&a<=0&&s<=0||(i+=864e5*Sn(Dn(s)+a),a=0,s=0),u.milliseconds=i%1e3,e=V(i/1e3),u.seconds=e%60,t=V(e/60),u.minutes=t%60,n=V(t/60),u.hours=n%24,a+=V(n/24),o=V(In(a)),s+=o,a-=Sn(Dn(o)),r=V(s/12),s%=12,u.days=a,u.months=s,u.years=r,this},$n.clone=function(){return Ft(this)},$n.get=function(e){return e=B(e),this.isValid()?this[e+"s"]():NaN},$n.milliseconds=Rn,$n.seconds=Un,$n.minutes=Bn,$n.hours=Fn,$n.days=Yn,$n.weeks=function(){return V(this.days()/7)},$n.months=Gn,$n.years=Hn,$n.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,r,o=!1,i=Qn;return"object"===typeof e&&(t=e,e=!1),"boolean"===typeof e&&(o=e),"object"===typeof t&&(i=Object.assign({},Qn,t),null!=t.s&&null==t.ss&&(i.ss=t.s-1)),n=this.localeData(),r=function(e,t,n,r){var o=Ft(e).abs(),i=Vn(o.as("s")),a=Vn(o.as("m")),s=Vn(o.as("h")),u=Vn(o.as("d")),l=Vn(o.as("M")),c=Vn(o.as("w")),f=Vn(o.as("y")),d=i<=n.ss&&["s",i]||i<n.s&&["ss",i]||a<=1&&["m"]||a<n.m&&["mm",a]||s<=1&&["h"]||s<n.h&&["hh",s]||u<=1&&["d"]||u<n.d&&["dd",u];return null!=n.w&&(d=d||c<=1&&["w"]||c<n.w&&["ww",c]),(d=d||l<=1&&["M"]||l<n.M&&["MM",l]||f<=1&&["y"]||["yy",f])[2]=t,d[3]=+e>0,d[4]=r,Wn.apply(null,d)}(this,!o,i,n),o&&(r=n.pastFuture(+this,r)),n.postformat(r)},$n.toISOString=Xn,$n.toString=Xn,$n.toJSON=Xn,$n.locale=Jt,$n.localeData=en,$n.toIsoString=j("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Xn),$n.lang=Kt,A("X",0,0,"unix"),A("x",0,0,"valueOf"),pe("x",le),pe("X",/[+-]?\d+(\.\d{1,3})?/),ve("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),ve("x",(function(e,t,n){n._d=new Date(Q(e))})),r.version="2.29.1",t=It,r.fn=yn,r.min=function(){var e=[].slice.call(arguments,0);return Et("isBefore",e)},r.max=function(){var e=[].slice.call(arguments,0);return Et("isAfter",e)},r.now=function(){return Date.now?Date.now():+new Date},r.utc=p,r.unix=function(e){return It(1e3*e)},r.months=function(e,t){return Mn(e,t,"months")},r.isDate=c,r.locale=it,r.invalid=y,r.duration=Ft,r.isMoment=w,r.weekdays=function(e,t,n){return wn(e,t,n,"weekdays")},r.parseZone=function(){return It.apply(null,arguments).parseZone()},r.localeData=st,r.isDuration=Ct,r.monthsShort=function(e,t){return Mn(e,t,"monthsShort")},r.weekdaysMin=function(e,t,n){return wn(e,t,n,"weekdaysMin")},r.defineLocale=at,r.updateLocale=function(e,t){if(null!=t){var n,r,o=Ke;null!=et[e]&&null!=et[e].parentLocale?et[e].set(E(et[e]._config,t)):(null!=(r=ot(e))&&(o=r._config),t=E(o,t),null==r&&(t.abbr=e),(n=new O(t)).parentLocale=et[e],et[e]=n),it(e)}else null!=et[e]&&(null!=et[e].parentLocale?(et[e]=et[e].parentLocale,e===it()&&it(e)):null!=et[e]&&delete et[e]);return et[e]},r.locales=function(){return S(et)},r.weekdaysShort=function(e,t,n){return wn(e,t,n,"weekdaysShort")},r.normalizeUnits=B,r.relativeTimeRounding=function(e){return void 0===e?Vn:"function"===typeof e&&(Vn=e,!0)},r.relativeTimeThreshold=function(e,t){return void 0!==Qn[e]&&(void 0===t?Qn[e]:(Qn[e]=t,"s"===e&&(Qn.ss=t-1),!0))},r.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},r.prototype=yn,r.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},r}()}).call(this,n(147)(e))},function(e,t,n){"use strict";t.__esModule=!0,t.validateEmail=l,t.isEmail=c,t.setEmail=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return(0,i.setField)(e,"email",t,(function(t){var r=(0,a.isHRDEmailValid)(e,t);return{valid:l(t,n)&&r,hint:r?void 0:s.html(e,["error","login","hrd.not_matching_email"])}}))},t.emailDomain=f,t.emailLocalPart=function(e){var t=f(e);return t?e.slice(0,-1-t.length):e};var r=u(n(110)),o=u(n(545)),i=n(26),a=n(70),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(51));function u(e){return e&&e.__esModule?e:{default:e}}function l(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return c(e,t)}function c(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if("string"!==typeof e)return!1;var n=(0,r.default)(e);return t?(0,o.default)(e):n.indexOf("@")>=0&&n.indexOf(".")>=0&&-1===n.indexOf(" ")}function f(e){return c(e)?e.split("@")[1].toLowerCase():""}},function(e,t,n){"use strict";t.__esModule=!0;var r=i(n(2)),o=i(n(0));function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var u=function(e){function t(){return a(this,t),s(this,e.apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.render=function(){var e=this.props,t=e.after,n=e.focused,r=e.invalidHint,i=e.isValid,a=e.name,s=e.icon,u="auth0-lock-input-block auth0-lock-input-"+a;i||(u+=" auth0-lock-error");var l="auth0-lock-input-wrap";n&&i&&(l+=" auth0-lock-focused"),s&&(l+=" auth0-lock-input-wrap-with-icon");var c=!i&&r?o.default.createElement("div",{role:"alert",id:"auth0-lock-error-msg-"+a,className:"auth0-lock-error-msg"},o.default.createElement("div",{className:"auth0-lock-error-invalid-hint"},r)):null;return o.default.createElement("div",{className:u},o.default.createElement("div",{className:l},s,this.props.children,t),c)},t}(o.default.Component);t.default=u,u.propTypes={after:r.default.element,children:r.default.oneOfType([r.default.element.isRequired,r.default.arrayOf(r.default.element).isRequired]),focused:r.default.bool,invalidHint:r.default.node,isValid:r.default.bool.isRequired,name:r.default.string.isRequired,icon:r.default.object}},function(e,t,n){"use strict";t.a=function(e,t){}},function(e,t,n){"use strict";function r(e){return(r="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})(e)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=n(190);t.a=function(e,t){return t?Object(r.a)(e,t,{clone:!1}):e}},,function(e,t,n){"use strict";var r=n(20);n.d(t,"a",(function(){return r.a}));r.a.registerVersion("firebase","8.10.0","app"),r.a.SDK_VERSION="8.10.0"},function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return i}));var r=function(e){return Array.isArray(e)?e[0]:e},o=function(e){if("function"===typeof e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return e.apply(void 0,n)}},i=function(e,t){if("function"===typeof e)return o(e,t);null!=e&&(e.current=t)}},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,n){"use strict";t.__esModule=!0;var r,o=n(557),i=(r=o)&&r.__esModule?r:{default:r};var a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.clients={}}return e.prototype.setupClient=function(e,t,n,r){var o=window.location.host===n;r.redirect=!!o||r.redirect,!o&&window&&(window.cordova||window.electron)&&(r.redirect=!1,r.sso=!1),this.clients[e]=new i.default(e,t,n,r)},e.prototype.logIn=function(e,t,n,r){this.clients[e].logIn(t,n,r)},e.prototype.logout=function(e,t){this.clients[e].logout(t)},e.prototype.signUp=function(e,t,n){this.clients[e].signUp(t,n)},e.prototype.resetPassword=function(e,t,n){this.clients[e].resetPassword(t,n)},e.prototype.startPasswordless=function(e,t,n){this.clients[e].passwordlessStart(t,n)},e.prototype.passwordlessVerify=function(e,t,n){this.clients[e].passwordlessVerify(t,n)},e.prototype.parseHash=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments[2];return this.clients[e].parseHash(t,n)},e.prototype.getUserInfo=function(e,t,n){return this.clients[e].getUserInfo(t,n)},e.prototype.getProfile=function(e,t,n){return this.clients[e].getProfile(t,n)},e.prototype.getChallenge=function(e,t){return this.clients[e].getChallenge(t)},e.prototype.getSSOData=function(e){for(var t,n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return(t=this.clients[e]).getSSOData.apply(t,r)},e.prototype.getUserCountry=function(e,t){return this.clients[e].getUserCountry((function(e,n){return t(e,n&&n.countryCode)}))},e.prototype.checkSession=function(e,t,n){return this.clients[e].checkSession(t,n)},e}();t.default=new a},function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var r=n(0),o=n(15),i=!0,a=!1,s=null,u={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function l(e){e.metaKey||e.altKey||e.ctrlKey||(i=!0)}function c(){i=!1}function f(){"hidden"===this.visibilityState&&a&&(i=!0)}function d(e){var t=e.target;try{return t.matches(":focus-visible")}catch(n){}return i||function(e){var t=e.type,n=e.tagName;return!("INPUT"!==n||!u[t]||e.readOnly)||("TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable)}(t)}function p(){a=!0,window.clearTimeout(s),s=window.setTimeout((function(){a=!1}),100)}function h(){return{isFocusVisible:d,onBlurVisible:p,ref:r.useCallback((function(e){var t,n=o.findDOMNode(e);null!=n&&((t=n.ownerDocument).addEventListener("keydown",l,!0),t.addEventListener("mousedown",c,!0),t.addEventListener("pointerdown",c,!0),t.addEventListener("touchstart",c,!0),t.addEventListener("visibilitychange",f,!0))}),[])}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(38);function o(e){return Object(r.a)(e).defaultView||window}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(0);function o(e,t){return r.isValidElement(e)&&-1!==t.indexOf(e.type.muiName)}},function(e,t,n){"use strict";var r=n(159),o=Object(r.b)();t.a=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Wrapper=t.withFormsy=t.validationRules=t.propTypes=t.addValidationRule=void 0;var r=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},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},i=d(n(734)),a=d(n(2)),s=d(n(0)),u=d(n(377)),l=d(n(735)),c=n(736),f=d(c);function d(e){return e&&e.__esModule?e:{default:e}}var p=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.getChildContext=function(){return{formsy:{attachToForm:n.attachToForm,detachFromForm:n.detachFromForm,validate:n.validate,isFormDisabled:n.isFormDisabled,isValidValue:function(e,t){return n.runValidation(e,t).isValid}}}},n.componentDidMount=function(){n.validateForm()},n.componentWillUpdate=function(){n.prevInputNames=n.inputs.map((function(e){return e.props.name}))},n.componentDidUpdate=function(){n.props.validationErrors&&"object"===o(n.props.validationErrors)&&Object.keys(n.props.validationErrors).length>0&&n.setInputValidationErrors(n.props.validationErrors);var e=n.inputs.map((function(e){return e.props.name}));u.default.arraysDiffer(n.prevInputNames,e)&&n.validateForm()},n.getCurrentValues=function(){return n.inputs.reduce((function(e,t){var n=t.props.name,r=Object.assign({},e);return r[n]=t.state.value,r}),{})},n.getModel=function(){var e=n.getCurrentValues();return n.mapModel(e)},n.getPristineValues=function(){return n.inputs.reduce((function(e,t){var n=t.props.name,r=Object.assign({},e);return r[n]=t.props.value,r}),{})},n.setFormPristine=function(e){n.setState({formSubmitted:!e}),n.inputs.forEach((function(t){t.setState({formSubmitted:!e,isPristine:e})}))},n.setInputValidationErrors=function(e){n.inputs.forEach((function(t){var n=t.props.name,r=[{isValid:!(n in e),validationError:"string"===typeof e[n]?[e[n]]:e[n]}];t.setState.apply(t,r)}))},n.isFormDisabled=function(){return n.props.disabled},n.mapModel=function(e){return n.props.mapping?n.props.mapping(e):i.default.toObj(Object.keys(e).reduce((function(t,n){for(var r=n.split("."),o=t;r.length;){var i=r.shift();o[i]=r.length?o[i]||{}:e[n],o=o[i]}return t}),{}))},n.reset=function(e){n.setFormPristine(!0),n.resetModel(e)},n.resetInternal=function(e){e.preventDefault(),n.reset(),n.props.onReset&&n.props.onReset()},n.resetModel=function(e){n.inputs.forEach((function(t){var n=t.props.name;e&&Object.prototype.hasOwnProperty.call(e,n)?t.setValue(e[n]):t.resetValue()})),n.validateForm()},n.runValidation=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.state.value,r=n.getCurrentValues(),o=e.props,i=o.validationError,a=o.validationErrors,s=u.default.runRules(t,r,e.validations,l.default),c=u.default.runRules(t,r,e.requiredValidations,l.default),f=!!Object.keys(e.requiredValidations).length&&!!c.success.length,d=!s.failed.length&&!(n.props.validationErrors&&n.props.validationErrors[e.props.name]);return{isRequired:f,isValid:!f&&d,error:function(){if(d&&!f)return[];if(s.errors.length)return s.errors;if(n.props.validationErrors&&n.props.validationErrors[e.props.name])return"string"===typeof n.props.validationErrors[e.props.name]?[n.props.validationErrors[e.props.name]]:n.props.validationErrors[e.props.name];if(f){var t=a[c.success[0]]||i;return t?[t]:null}return s.failed.length?s.failed.map((function(e){return a[e]?a[e]:i})).filter((function(e,t,n){return n.indexOf(e)===t})):void 0}()}},n.attachToForm=function(e){-1===n.inputs.indexOf(e)&&n.inputs.push(e),n.validate(e)},n.detachFromForm=function(e){var t=n.inputs.indexOf(e);-1!==t&&(n.inputs=n.inputs.slice(0,t).concat(n.inputs.slice(t+1))),n.validateForm()},n.isChanged=function(){return!u.default.isSame(n.getPristineValues(),n.getCurrentValues())},n.submit=function(e){n.props.preventDefaultSubmit&&e&&e.preventDefault&&e.preventDefault(),n.setFormPristine(!1);var t=n.getModel();n.props.onSubmit(t,n.resetModel,n.updateInputsWithError),n.state.isValid?n.props.onValidSubmit(t,n.resetModel,n.updateInputsWithError):n.props.onInvalidSubmit(t,n.resetModel,n.updateInputsWithError)},n.updateInputsWithError=function(e){Object.keys(e).forEach((function(t){var r=u.default.find(n.inputs,(function(e){return e.props.name===t}));if(!r)throw new Error("You are trying to update an input that does not exist. Verify errors object with input names. "+JSON.stringify(e));var o=[{isValid:n.props.preventExternalInvalidation,externalError:"string"===typeof e[t]?[e[t]]:e[t]}];r.setState.apply(r,o)}))},n.validate=function(e){n.state.canChange&&n.props.onChange(n.getCurrentValues(),n.isChanged());var t=n.runValidation(e);e.setState({isValid:t.isValid,isRequired:t.isRequired,validationError:t.error,externalError:null},n.validateForm)},n.validateForm=function(){var e=function(){var e=n.inputs.every((function(e){return e.state.isValid}));n.setState({isValid:e}),e?n.props.onValid():n.props.onInvalid(),n.setState({canChange:!0})};n.inputs.forEach((function(t,r){var o=n.runValidation(t);o.isValid&&t.state.externalError&&(o.isValid=!1),t.setState({isValid:o.isValid,isRequired:o.isRequired,validationError:o.error,externalError:!o.isValid&&t.state.externalError?t.state.externalError:null},r===n.inputs.length-1?e:null)})),n.inputs.length||n.setState({canChange:!0})},n.render=function(){var e=n.props,t=(e.getErrorMessage,e.getErrorMessages,e.getValue,e.hasValue,e.isFormDisabled,e.isFormSubmitted,e.isPristine,e.isRequired,e.isValid,e.isValidValue,e.mapping,e.onChange,e.preventDefaultSubmit,e.onInvalidSubmit,e.onInvalid,e.onReset,e.onSubmit,e.onValid,e.onValidSubmit,e.preventExternalInvalidation,e.resetValue,e.setValidations,e.setValue,e.showError,e.showRequired,e.validationErrors,function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["getErrorMessage","getErrorMessages","getValue","hasValue","isFormDisabled","isFormSubmitted","isPristine","isRequired","isValid","isValidValue","mapping","onChange","preventDefaultSubmit","onInvalidSubmit","onInvalid","onReset","onSubmit","onValid","onValidSubmit","preventExternalInvalidation","resetValue","setValidations","setValue","showError","showRequired","validationErrors"]));return s.default.createElement("form",r({onReset:n.resetInternal,onSubmit:n.submit},t,{disabled:!1}),n.props.children)},n.state={isValid:!0,isSubmitting:!1,canChange:!1},n.inputs=[],n}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(s.default.Component);p.displayName="Formsy",p.defaultProps={children:null,disabled:!1,getErrorMessage:function(){},getErrorMessages:function(){},getValue:function(){},hasValue:function(){},isFormDisabled:function(){},isFormSubmitted:function(){},isPristine:function(){},isRequired:function(){},isValid:function(){},isValidValue:function(){},mapping:null,onChange:function(){},onError:function(){},onInvalid:function(){},onInvalidSubmit:function(){},onReset:function(){},onSubmit:function(){},onValid:function(){},onValidSubmit:function(){},preventExternalInvalidation:!1,preventDefaultSubmit:!0,resetValue:function(){},setValidations:function(){},setValue:function(){},showError:function(){},showRequired:function(){},validationErrors:null},p.propTypes={children:a.default.node,disabled:a.default.bool,getErrorMessage:a.default.func,getErrorMessages:a.default.func,getValue:a.default.func,hasValue:a.default.func,isFormDisabled:a.default.func,isFormSubmitted:a.default.func,isPristine:a.default.func,isRequired:a.default.func,isValid:a.default.func,isValidValue:a.default.func,mapping:a.default.func,onChange:a.default.func,onInvalid:a.default.func,onInvalidSubmit:a.default.func,onReset:a.default.func,onSubmit:a.default.func,onValid:a.default.func,onValidSubmit:a.default.func,preventExternalInvalidation:a.default.bool,preventDefaultSubmit:a.default.bool,resetValue:a.default.func,setValidations:a.default.func,setValue:a.default.func,showError:a.default.func,showRequired:a.default.func,validationErrors:a.default.object},p.childContextTypes={formsy:a.default.object};var h=f.default,g=!1;t.addValidationRule=function(e,t){l.default[e]=t},t.propTypes=c.propTypes,t.validationRules=l.default,t.withFormsy=h,t.Wrapper=function(e){return g||(console.warn("Wrapper has been renamed to withFormsy. Importing Wrapper from formsy-react is depreacted and will be removed in the future. Please rename your Wrapper imports to withFormsy."),g=!0),h(e)},t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"};t.default=r},function(e,t,n){var r=n(438),o=n(443);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},function(e,t,n){var r=n(309),o=n(470),i=n(148);e.exports=function(e){return i(e)?r(e):o(e)}},function(e,t,n){"use strict";t.__esModule=!0,t.go=void 0,t.isSuccess=function(e,t){return"ok"===f(e,t)},t.isDone=function(e){var t=h(u(e,[],(0,r.Map)()));return t.length>0&&t.reduce((function(t,n){return t&&!function(e,t){return["loading","pending","waiting"].indexOf(f(e,t))>-1}(e,n)}),!0)},t.hasError=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=h(g(u(e,[],(0,r.Map)()),t));return n.length>0&&n.reduce((function(t,n){return t||"error"===f(e,n)}),!1)};var r=n(48),o=n(82),i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(12)),a=n(35);var s=(0,o.dataFns)(["sync"]),u=s.get,l=s.set;t.default=function(e,t,n){if(void 0!==u(e,t))return e;var o=n.waitFn?"waiting":!n.conditionFn||n.conditionFn(e)?"pending":"no";return l(e,t,(0,r.Map)({conditionFn:n.conditionFn,errorFn:n.errorFn,recoverResult:n.recoverResult,syncStatus:o,successFn:n.successFn,syncFn:n.syncFn,timeout:n.timeout||6e3,waitFn:n.waitFn}))};var c=function(e){return(window.Array.isArray(e)?e:[e]).concat(["syncStatus"])},f=function(e,t){return u(e,c(t))},d=function(e,t,n){return l(e,c(t),n)},p=function(e,t,n){return u(e,t).get(n)},h=function e(t){return t.reduce((function(t,n,o){var i=r.Map.isMap(n)&&n.has("syncStatus")?[o]:[],a=r.Map.isMap(n)?e(n).map((function(e){return[o].concat(e)})):[];return t.concat.apply(t,[i].concat([a]))}),[])};function g(e,t){return t.reduce((function(e,t){return e.deleteIn(c(t))}),e)}var y=function(e,t){return h(u(e,[],(0,r.Map)())).reduce((function(e,n){if("function"!=typeof p(e,n,"syncFn"))return e;if("pending"===f(e,n)){e=d(e,n,"loading");var r=!1;p(e,n,"syncFn")(e,(function(o,s){r||(r=!0,setTimeout((function(){(0,a.swap)(a.updateEntity,"lock",t,(function(t){var r=p(e,n,"errorFn");o&&"function"===typeof r&&setTimeout((function(){return r(t,o)}),0);var a=p(t,n,"recoverResult");return o&&void 0===a?function(e,t,n){var r=d(e,t,"error");if("sso"!==t){var o=new Error("An error occurred when fetching "+t+" data for Lock: "+n.message);o.code="sync",o.origin=n,r=i.stop(r,o)}return r}(t,n,o):(t=d(t,n,"ok"),p(t,n,"successFn")(t,o?a:s))}))}),0))}))}else if("waiting"===f(e,n)&&p(e,n,"waitFn")(e)){var o=p(e,n,"conditionFn");e=d(e,n,!o||o(e)?"pending":"no")}return e}),e)};t.go=function(e){(0,a.observe)("sync",e,(function(t){setTimeout((function(){return(0,a.swap)(a.updateEntity,"lock",e,y,e)}),0)}))}},function(e,t){(t=e.exports=function(e){return e.trim?e.trim():t.right(t.left(e))}).left=function(e){return e.trimLeft?e.trimLeft():e.replace(/^\s\s*/,"")},t.right=function(e){if(e.trimRight)return e.trimRight();for(var t=/\s/,n=e.length;t.test(e.charAt(--n)););return e.slice(0,n+1)}},function(e,t,n){"use strict";t.__esModule=!0,t.logIn=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=(0,r.read)(r.getEntity,"lock",e),o=(0,u.databaseLogInWithEmail)(n)?"email":"username",a=s.getFieldValue(n,o),l={connection:(0,u.databaseConnectionName)(n),username:a,password:s.getFieldValue(n,"password")},f=[o,"password"],d=(0,c.setCaptchaParams)(n,l,f);if(!d)return(0,c.showMissingCaptcha)(n,e);var p=s.getFieldValue(n,"mfa_code");t&&(l.mfa_code=p,f.push("mfa_code"));(0,i.logIn)(e,f,l,(function(e,t,n,r){if("a0.mfa_required"===t.error)return m(e);if(t){var o=t&&"invalid_captcha"===t.code;return(0,c.swapCaptcha)(e,o,r)}r()}))},t.signUp=function(e){var t=(0,r.read)(r.getEntity,"lock",e),n=["email","password"];(0,u.databaseConnectionRequiresUsername)(t)&&!(0,u.signUpHideUsernameField)(t)&&n.push("username");(0,u.additionalSignUpFields)(t).forEach((function(e){return n.push(e.get("name"))})),(0,i.validateAndSubmit)(e,n,(function(t){var r={connection:(0,u.databaseConnectionName)(t),email:s.getFieldValue(t,"email"),password:s.getFieldValue(t,"password"),autoLogin:(0,u.shouldAutoLogin)(t)};if(!(0,c.setCaptchaParams)(t,r,n))return(0,c.showMissingCaptcha)(t,e);if((0,u.databaseConnectionRequiresUsername)(t))if((0,u.signUpHideUsernameField)(t)){var i=(0,u.databaseConnection)(t).getIn(["validation","username"]),l=i?i.toJS():{max:15};r.username=function(e){for(var t="",n="abcdefghijklmnopqrstuvwxyz0123456789",r=n.length,o=0;o<e;o++)t+=n.charAt(Math.floor(Math.random()*r));return t}(l.max)}else r.username=s.getFieldValue(t,"username");(0,u.additionalSignUpFields)(t).isEmpty()||(r.user_metadata={},(0,u.additionalSignUpFields)(t).forEach((function(e){var n=e.get("storage"),o=e.get("name"),i=s.getFieldValue(t,e.get("name"));switch(n){case"root":r[o]=i;break;default:r.user_metadata||(r.user_metadata={}),r.user_metadata[o]=i}})));var f=function(t,n){n&&n._current_popup.kill();var r=t&&"invalid_captcha"===t.code;(0,c.swapCaptcha)(e,r,(function(){setTimeout((function(){return h(e,t)}),250)}))};try{a.runHook(t,"signingUp",null,(function(){o.default.signUp(e,r,(function(t,n,r){for(var o=arguments.length,i=Array(o>3?o-3:0),a=3;a<o;a++)i[a-3]=arguments[a];t?f(t,r):p.apply(void 0,[e,n,r].concat(i))}))}))}catch(d){f(d)}}))},t.signUpError=h,t.resetPassword=function(e){(0,i.validateAndSubmit)(e,["email"],(function(t){var n={connection:(0,u.databaseConnectionName)(t),email:s.getFieldValue(t,"email")};o.default.resetPassword(e,n,(function(t){t?setTimeout((function(){return function(e,t){var n=(0,r.read)(r.getEntity,"lock",e),o=l.html(n,["error","forgotPassword",t.code])||l.html(n,["error","forgotPassword","lock.fallback"]);(0,r.swap)(r.updateEntity,"lock",e,a.setSubmitting,!1,o)}(e,t)}),250):function(e){var t=(0,r.read)(r.getEntity,"lock",e);(0,u.hasScreen)(t,"login")?((0,r.swap)(r.updateEntity,"lock",e,(function(e){return(0,u.setScreen)(a.setSubmitting(e,!1),"login",[""])})),setTimeout((function(){var n=l.html(t,["success","forgotPassword"]);(0,r.swap)(r.updateEntity,"lock",e,a.setGlobalSuccess,n)}),500)):a.ui.autoclose(t)?(0,i.closeLock)(e):(0,r.swap)(r.updateEntity,"lock",e,(function(e){return a.setSubmitting(e,!1).set("passwordResetted",!0)}))}(e)}))}))},t.showLoginActivity=y,t.showSignUpActivity=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["password"];(0,r.swap)(r.updateEntity,"lock",e,u.setScreen,"signUp",t)},t.showResetPasswordActivity=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["password"];(0,r.swap)(r.updateEntity,"lock",e,u.setScreen,"forgotPassword",t)},t.cancelResetPassword=function(e){return y(e)},t.cancelMFALogin=function(e){return y(e)},t.toggleTermsAcceptance=function(e){(0,r.swap)(r.updateEntity,"lock",e,u.toggleTermsAcceptance)},t.showLoginMFAActivity=m;d(n(48));var r=n(35),o=d(n(100)),i=n(77),a=f(n(12)),s=f(n(26)),u=n(49),l=f(n(51)),c=n(180);function f(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function d(e){return e&&e.__esModule?e:{default:e}}function p(e,t,n){var l=(0,r.read)(r.getEntity,"lock",e);if(a.emitEvent(l,"signup success",t),(0,u.shouldAutoLogin)(l)){(0,r.swap)(r.updateEntity,"lock",e,(function(e){return e.set("signedUp",!0)}));var c={connection:(0,u.databaseConnectionName)(l),username:s.email(l),password:s.password(l)};return n&&(c.popupHandler=n),o.default.logIn(e,c,a.auth.params(l).toJS(),(function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];t?setTimeout((function(){return g(e,t)}),250):i.logInSuccess.apply(void 0,[e].concat(r))}))}a.ui.autoclose(l)?(0,i.closeLock)(e,!1):(0,r.swap)(r.updateEntity,"lock",e,(function(e){return a.setSubmitting(e,!1).set("signedUp",!0)}))}function h(e,t){var n=(0,r.read)(r.getEntity,"lock",e);a.emitEvent(n,"signup error",t);var o="invalid_password"===t.code&&{PasswordDictionaryError:"password_dictionary_error",PasswordNoUserInfoError:"password_no_user_info_error",PasswordStrengthError:"password_strength_error"}[t.name]||t.code,i=l.html(n,["error","signUp",o])||l.html(n,["error","signUp","lock.fallback"]);if("hook_error"!==t.code)return"invalid_captcha"===o?(i=l.html(n,["error","login",o]),(0,c.swapCaptcha)(e,!0,(function(){(0,r.swap)(r.updateEntity,"lock",e,a.setSubmitting,!1,i)}))):void(0,r.swap)(r.updateEntity,"lock",e,a.setSubmitting,!1,i);(0,r.swap)(r.updateEntity,"lock",e,a.setSubmitting,!1,t.description||i)}function g(e,t){(0,r.swap)(r.updateEntity,"lock",e,(function(e){var n=a.loginErrorMessage(e,t);return(0,u.hasScreen)(e,"login")?a.setSubmitting((0,u.setScreen)(e,"login"),!1,n):a.setSubmitting(e,!1,n)}))}function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["password"];(0,r.swap)(r.updateEntity,"lock",e,u.setScreen,"login",t)}function m(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["mfa_code"];(0,r.swap)(r.updateEntity,"lock",e,u.setScreen,"mfaLogin",t)}},function(e,t,n){"use strict";function r(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function o(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e&&(r(e.value)&&""!==e.value||t&&r(e.defaultValue)&&""!==e.defaultValue)}function i(e){return e.startAdornment}n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return i}))},function(e,t,n){"use strict";t.a={black:"#000",white:"#fff"}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(0),o="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement?r.useLayoutEffect:r.useEffect},,function(e,t,n){"use strict";var r="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},o="object"===("undefined"===typeof window?"undefined":r(window))&&"object"===("undefined"===typeof document?"undefined":r(document))&&9===document.nodeType;t.a=o},function(e,t,n){"use strict";function r(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),o=0;for(t=0;t<n;t++)for(var i=arguments[t],a=0,s=i.length;a<s;a++,o++)r[o]=i[a];return r}var o;n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return f})),n.d(t,"c",(function(){return d})),n.d(t,"d",(function(){return p}));var i,a=[];!function(e){e[e.DEBUG=0]="DEBUG",e[e.VERBOSE=1]="VERBOSE",e[e.INFO=2]="INFO",e[e.WARN=3]="WARN",e[e.ERROR=4]="ERROR",e[e.SILENT=5]="SILENT"}(i||(i={}));var s={debug:i.DEBUG,verbose:i.VERBOSE,info:i.INFO,warn:i.WARN,error:i.ERROR,silent:i.SILENT},u=i.INFO,l=((o={})[i.DEBUG]="log",o[i.VERBOSE]="log",o[i.INFO]="info",o[i.WARN]="warn",o[i.ERROR]="error",o),c=function(e,t){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];if(!(t<e.logLevel)){var i=(new Date).toISOString(),a=l[t];if(!a)throw new Error("Attempted to log a message with an invalid logType (value: "+t+")");console[a].apply(console,r(["["+i+"]  "+e.name+":"],n))}},f=function(){function e(e){this.name=e,this._logLevel=u,this._logHandler=c,this._userLogHandler=null,a.push(this)}return Object.defineProperty(e.prototype,"logLevel",{get:function(){return this._logLevel},set:function(e){if(!(e in i))throw new TypeError('Invalid value "'+e+'" assigned to `logLevel`');this._logLevel=e},enumerable:!1,configurable:!0}),e.prototype.setLogLevel=function(e){this._logLevel="string"===typeof e?s[e]:e},Object.defineProperty(e.prototype,"logHandler",{get:function(){return this._logHandler},set:function(e){if("function"!==typeof e)throw new TypeError("Value assigned to `logHandler` must be a function");this._logHandler=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"userLogHandler",{get:function(){return this._userLogHandler},set:function(e){this._userLogHandler=e},enumerable:!1,configurable:!0}),e.prototype.debug=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._userLogHandler&&this._userLogHandler.apply(this,r([this,i.DEBUG],e)),this._logHandler.apply(this,r([this,i.DEBUG],e))},e.prototype.log=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._userLogHandler&&this._userLogHandler.apply(this,r([this,i.VERBOSE],e)),this._logHandler.apply(this,r([this,i.VERBOSE],e))},e.prototype.info=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._userLogHandler&&this._userLogHandler.apply(this,r([this,i.INFO],e)),this._logHandler.apply(this,r([this,i.INFO],e))},e.prototype.warn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._userLogHandler&&this._userLogHandler.apply(this,r([this,i.WARN],e)),this._logHandler.apply(this,r([this,i.WARN],e))},e.prototype.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._userLogHandler&&this._userLogHandler.apply(this,r([this,i.ERROR],e)),this._logHandler.apply(this,r([this,i.ERROR],e))},e}();function d(e){a.forEach((function(t){t.setLogLevel(e)}))}function p(e,t){for(var n=function(n){var r=null;t&&t.level&&(r=s[t.level]),n.userLogHandler=null===e?null:function(t,n){for(var o=[],a=2;a<arguments.length;a++)o[a-2]=arguments[a];var s=o.map((function(e){if(null==e)return null;if("string"===typeof e)return e;if("number"===typeof e||"boolean"===typeof e)return e.toString();if(e instanceof Error)return e.message;try{return JSON.stringify(e)}catch(t){return null}})).filter((function(e){return e})).join(" ");n>=(null!==r&&void 0!==r?r:t.logLevel)&&e({level:i[n].toLowerCase(),message:s,args:o,type:t.name})}},r=0,o=a;r<o.length;r++){n(o[r])}}},function(e,t){function n(){return e.exports=n=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},e.exports.__esModule=!0,e.exports.default=e.exports,n.apply(this,arguments)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";var r=n(1),o=n(5),i=n(0),a=n(4),s=n(8),u=n(9),l={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p"},c=i.forwardRef((function(e,t){var n=e.align,s=void 0===n?"inherit":n,c=e.classes,f=e.className,d=e.color,p=void 0===d?"initial":d,h=e.component,g=e.display,y=void 0===g?"initial":g,m=e.gutterBottom,v=void 0!==m&&m,b=e.noWrap,M=void 0!==b&&b,w=e.paragraph,N=void 0!==w&&w,j=e.variant,S=void 0===j?"body1":j,I=e.variantMapping,D=void 0===I?l:I,x=Object(o.a)(e,["align","classes","className","color","component","display","gutterBottom","noWrap","paragraph","variant","variantMapping"]),E=h||(N?"p":D[S]||l[S])||"span";return i.createElement(E,Object(r.a)({className:Object(a.a)(c.root,f,"inherit"!==S&&c[S],"initial"!==p&&c["color".concat(Object(u.a)(p))],M&&c.noWrap,v&&c.gutterBottom,N&&c.paragraph,"inherit"!==s&&c["align".concat(Object(u.a)(s))],"initial"!==y&&c["display".concat(Object(u.a)(y))]),ref:t},x))}));t.a=Object(s.a)((function(e){return{root:{margin:0},body2:e.typography.body2,body1:e.typography.body1,caption:e.typography.caption,button:e.typography.button,h1:e.typography.h1,h2:e.typography.h2,h3:e.typography.h3,h4:e.typography.h4,h5:e.typography.h5,h6:e.typography.h6,subtitle1:e.typography.subtitle1,subtitle2:e.typography.subtitle2,overline:e.typography.overline,srOnly:{position:"absolute",height:1,width:1,overflow:"hidden"},alignLeft:{textAlign:"left"},alignCenter:{textAlign:"center"},alignRight:{textAlign:"right"},alignJustify:{textAlign:"justify"},noWrap:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},gutterBottom:{marginBottom:"0.35em"},paragraph:{marginBottom:16},colorInherit:{color:"inherit"},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},colorTextPrimary:{color:e.palette.text.primary},colorTextSecondary:{color:e.palette.text.secondary},colorError:{color:e.palette.error.main},displayInline:{display:"inline"},displayBlock:{display:"block"}}}),{name:"MuiTypography"})(c)},,function(e,t,n){e.exports=n(522)},,function(e,t,n){"use strict";function r(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)}}function o(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}n.d(t,"a",(function(){return o}))},function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"===typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"===typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var u,l=[],c=!1,f=-1;function d(){c&&u&&(c=!1,u.length?l=u.concat(l):f=-1,l.length&&p())}function p(){if(!c){var e=s(d);c=!0;for(var t=l.length;t;){for(u=l,l=[];++f<t;)u&&u[f].run();f=-1,t=l.length}u=null,c=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function g(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];l.push(new h(e,t)),1!==l.length||c||s(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=g,o.addListener=g,o.once=g,o.off=g,o.removeListener=g,o.removeAllListeners=g,o.emit=g,o.prependListener=g,o.prependOnceListener=g,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(e,t,n){var r=n(126),o=n(439),i=n(440),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},function(e,t,n){var r=n(81).Symbol;e.exports=r},function(e,t,n){"use strict";t.__esModule=!0,t.initPasswordless=function(e,t){var n="link"===t.passwordlessMethod?"link":"code",i=!!t.mustAcceptTerms,s=void 0===t.showTerms||!!t.showTerms;e=p(e,(0,r.Map)({send:n,mustAcceptTerms:i,showTerms:s})),e=t.defaultLocation&&"string"===typeof t.defaultLocation?(0,a.initLocation)(e,t.defaultLocation.toUpperCase()):(0,l.default)(e,"location",{recoverResult:"US",syncFn:function(e,t){return u.default.getUserCountry(o.id(e),t)},successFn:function(e,t){return(0,a.initLocation)(e,t)}});return e},t.setResendSuccess=function(e){return m(e,"success")},t.resendSuccess=function(e){return"success"==v(e)},t.setResendFailed=function(e){return m(e,"failed")},t.resendFailed=function(e){return"failed"==v(e)},t.resendOngoing=function(e){return"ongoing"==v(e)},t.resend=function(e){return b(e)?m(e,"ongoing"):e},t.resendAvailable=b,t.restartPasswordless=function(e){return e=g(e,"passwordlessStarted"),e=g(e,"resendStatus"),e=(0,i.clearFields)(e,["vcode"]),o.clearGlobalError(e)},t.send=M,t.isSendLink=function(e){return"link"===M(e)},t.setPasswordlessStarted=function(e,t){return y(e,"passwordlessStarted",t)},t.passwordlessStarted=function(e){return h(e,"passwordlessStarted",!1)},t.passwordlessConnection=w,t.isEmail=N,t.showTerms=function(e){return d(e,"showTerms",!0)},t.mustAcceptTerms=j,t.termsAccepted=S,t.toggleTermsAcceptance=function(e){return y(e,"termsAccepted",!S(e))};var r=n(48),o=(c(r),function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(12))),i=n(26),a=n(151),s=n(82),u=c(n(100)),l=c(n(109));function c(e){return e&&e.__esModule?e:{default:e}}var f=(0,s.dataFns)(["passwordless"]),d=f.get,p=f.initNS,h=f.tget,g=f.tremove,y=f.tset;function m(e,t){return y(e,"resendStatus",t)}function v(e){return h(e,"resendStatus","waiting")}function b(e){return"waiting"==v(e)||"failed"==v(e)}function M(e){return d(e,"send",N(e)?"link":"code")}function w(e){return o.connections(e,"passwordless","email").get(0)||o.connections(e,"passwordless","sms").get(0)||new r.Map}function N(e){var t=w(e);return t.isEmpty()?void 0:"email"===t.get("strategy")}function j(e){return d(e,"mustAcceptTerms",!1)}function S(e){return!j(e)||h(e,"termsAccepted",!1)}},function(e,t,n){var r=n(363),o=n(227);e.exports=function(e,t,n,i){var a=!n;n||(n={});for(var s=-1,u=t.length;++s<u;){var l=t[s],c=i?i(n[l],e[l],l,n,e):void 0;void 0===c&&(c=e[l]),a?o(n,l,c):r(n,l,c)}return n}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(0);function o(e){var t=r.useState(e),n=t[0],o=t[1],i=e||n;return r.useEffect((function(){null==n&&o("mui-".concat(Math.round(1e5*Math.random())))}),[n]),i}},function(e,t,n){"use strict";t.a={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#d5d5d5",A200:"#aaaaaa",A400:"#303030",A700:"#616161"}},function(e,t,n){"use strict";t.a={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"}},function(e,t,n){"use strict";t.a={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"}},function(e,t,n){"use strict";t.a={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"}},function(e,t,n){"use strict";t.a={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"}},function(e,t,n){"use strict";t.a={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"}},function(e,t,n){"use strict";t.a={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(157);function o(e,t){if(e){if("string"===typeof e)return Object(r.a)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r.a)(e,t):void 0}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(196);var o={notify:function(){},get:function(){return[]}};function i(e,t){var n,i=o;function a(){u.onStateChange&&u.onStateChange()}function s(){n||(n=t?t.addNestedSub(a):e.subscribe(a),i=function(){var e=Object(r.a)(),t=null,n=null;return{clear:function(){t=null,n=null},notify:function(){e((function(){for(var e=t;e;)e.callback(),e=e.next}))},get:function(){for(var e=[],n=t;n;)e.push(n),n=n.next;return e},subscribe:function(e){var r=!0,o=n={callback:e,next:null,prev:n};return o.prev?o.prev.next=o:t=o,function(){r&&null!==t&&(r=!1,o.next?o.next.prev=o.prev:n=o.prev,o.prev?o.prev.next=o.next:t=o.next)}}}}())}var u={addNestedSub:function(e){return s(),i.subscribe(e)},notifyNestedSubs:function(){i.notify()},handleChangeWrapper:a,isSubscribed:function(){return Boolean(n)},trySubscribe:s,tryUnsubscribe:function(){n&&(n(),n=void 0,i.clear(),i=o)},getListeners:function(){return i}};return u}},function(e,t,n){var r=n(619);e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";var r=n(1),o=n(52),i=n(5),a=n(0),s=n(4),u=n(84),l=n(66),c=n(8),f=n(741),d=a.forwardRef((function(e,t){var n=e.autoFocus,c=e.checked,d=e.checkedIcon,p=e.classes,h=e.className,g=e.defaultChecked,y=e.disabled,m=e.icon,v=e.id,b=e.inputProps,M=e.inputRef,w=e.name,N=e.onBlur,j=e.onChange,S=e.onFocus,I=e.readOnly,D=e.required,x=e.tabIndex,E=e.type,O=e.value,T=Object(i.a)(e,["autoFocus","checked","checkedIcon","classes","className","defaultChecked","disabled","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"]),C=Object(u.a)({controlled:c,default:Boolean(g),name:"SwitchBase",state:"checked"}),k=Object(o.a)(C,2),L=k[0],_=k[1],A=Object(l.a)(),z=y;A&&"undefined"===typeof z&&(z=A.disabled);var P="checkbox"===E||"radio"===E;return a.createElement(f.a,Object(r.a)({component:"span",className:Object(s.a)(p.root,h,L&&p.checked,z&&p.disabled),disabled:z,tabIndex:null,role:void 0,onFocus:function(e){S&&S(e),A&&A.onFocus&&A.onFocus(e)},onBlur:function(e){N&&N(e),A&&A.onBlur&&A.onBlur(e)},ref:t},T),a.createElement("input",Object(r.a)({autoFocus:n,checked:c,defaultChecked:g,className:p.input,disabled:z,id:P&&v,name:w,onChange:function(e){var t=e.target.checked;_(t),j&&j(e,t)},readOnly:I,ref:M,required:D,tabIndex:x,type:E,value:O},b)),L?d:m)}));t.a=Object(c.a)({root:{padding:9},checked:{},disabled:{},input:{cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}},{name:"PrivateSwitchBase"})(d)},,function(e,t,n){"use strict";var r=n(0),o=n.n(r);t.a=o.a.createContext(null)},,,function(e,t,n){"use strict";var r=n(5),o=n(1),i=n(0),a=n(4),s=n(8),u=i.forwardRef((function(e,t){var n=e.classes,s=e.className,u=e.component,l=void 0===u?"div":u,c=e.square,f=void 0!==c&&c,d=e.elevation,p=void 0===d?1:d,h=e.variant,g=void 0===h?"elevation":h,y=Object(r.a)(e,["classes","className","component","square","elevation","variant"]);return i.createElement(l,Object(o.a)({className:Object(a.a)(n.root,s,"outlined"===g?n.outlined:n["elevation".concat(p)],!f&&n.rounded),ref:t},y))}));t.a=Object(s.a)((function(e){var t={};return e.shadows.forEach((function(e,n){t["elevation".concat(n)]={boxShadow:e}})),Object(o.a)({root:{backgroundColor:e.palette.background.paper,color:e.palette.text.primary,transition:e.transitions.create("box-shadow")},rounded:{borderRadius:e.shape.borderRadius},outlined:{border:"1px solid ".concat(e.palette.divider)}},t)}),{name:"MuiPaper"})(u)},,function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){var r=n(301),o=n(223);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},function(e,t,n){var r=n(231);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},function(e,t,n){(function(t){var n,r={},o="object"==typeof self&&self.self===self&&self||"object"==typeof t&&t.global===t&&t||this||{},i=Array.isArray,a=Object.keys,s=Object.prototype.toString,u=Math.pow(2,53)-1,l=(n="length",function(e){return null==e?void 0:e[n]}),c=["Arguments","Function","String","Number"];function f(e){r["is"+e]=function(t){return s.call(t)==="[object "+e+"]"}}for(var d=0;d<c.length;d++)f(c[d]);var p=o.document&&o.document.childNodes;"object"!=typeof Int8Array&&"function"!=typeof p&&(r.isFunction=function(e){return"function"==typeof e||!1}),r.identity=function(e){return e},r.keys=function(e){if(!r.isObject(e))return[];if(a)return a(e);var t=[];for(var n in e)t.push(n);return t},r.isObject=function(e){var t=typeof e;return"function"===t||"object"===t&&!!e},r.isArray=i||function(e){return"[object Array]"===s.call(e)},r.isEmpty=function(e){return null==e||(function(e){var t=l(e);return"number"==typeof t&&t>=0&&t<=u}(e)&&(r.isArray(e)||r.isString(e)||r.isArguments(e))?0===e.length:0===r.keys(e).length)},r.isNaN=function(e){return r.isNumber(e)&&isNaN(e)};var h=/%[sdj%]/g;r.format=function(e){for(var t=1,n=arguments,o=n.length,i=String(e).replace(h,(function(e){if("%%"===e)return"%";if(t>=o)return e;switch(e){case"%s":return String(n[t++]);case"%d":return Number(n[t++]);case"%j":try{return JSON.stringify(n[t++])}catch(r){return"[Circular]"}default:return e}})),a=n[t];t<o;a=n[++t])null!==a&&r.isObject(a)?null!==a&&(i+=" "+JSON.stringify(a)):i+=" "+a;return i},e.exports=r}).call(this,n(59))},function(e,t,n){"use strict";t.__esModule=!0,t.initLocation=function(e,t){var n=u(t)||u("US");return(0,o.registerOptionField)(e,"location",s,n.get("value"))},t.validatePhoneNumber=l,t.setPhoneNumber=function(e,t){return(0,o.setField)(e,"phoneNumber",t,l)},t.phoneNumberWithDiallingCode=function(e){return c(e).replace(/[\s-]+/g,"")},t.humanPhoneNumberWithDiallingCode=c,t.humanLocation=function(e){var t=(0,o.getField)(e,"location");return t.get("diallingCode")+" "+t.get("country")};var r=a(n(48)),o=n(26),i=a(n(607));function a(e){return e&&e.__esModule?e:{default:e}}var s=r.default.fromJS(i.default.map((function(e){return{country:e[0],diallingCode:e[2],isoCode:e[1],label:e[2]+" "+e[1]+" "+e[0],value:e[2]+" "+e[1]}})));function u(e){return s.find((function(t){return t.get("isoCode")===e}))}function l(e){return/^[0-9]([0-9 -])*[0-9]$/.test(e)}function c(e){var t=(0,o.getField)(e,"location").get("diallingCode",""),n=(0,o.getFieldValue)(e,"phoneNumber","");return t?t+" "+n:n}},function(e,t,n){"use strict";var r=n(352),o="function"===typeof Symbol&&"symbol"===typeof Symbol("foo"),i=Object.prototype.toString,a=Array.prototype.concat,s=Object.defineProperty,u=s&&function(){var e={};try{for(var t in s(e,"x",{enumerable:!1,value:e}),e)return!1;return e.x===e}catch(n){return!1}}(),l=function(e,t,n,r){var o;(!(t in e)||"function"===typeof(o=r)&&"[object Function]"===i.call(o)&&r())&&(u?s(e,t,{configurable:!0,enumerable:!1,value:n,writable:!0}):e[t]=n)},c=function(e,t){var n=arguments.length>2?arguments[2]:{},i=r(t);o&&(i=a.call(i,Object.getOwnPropertySymbols(t)));for(var s=0;s<i.length;s+=1)l(e,i[s],t[i[s]],n[i[s]])};c.supportsDescriptors=!!u,e.exports=c},function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.r(t),n.d(t,"common",(function(){return r.a})),n.d(t,"red",(function(){return o.a})),n.d(t,"pink",(function(){return i.a})),n.d(t,"purple",(function(){return a})),n.d(t,"deepPurple",(function(){return s})),n.d(t,"indigo",(function(){return u.a})),n.d(t,"blue",(function(){return l.a})),n.d(t,"lightBlue",(function(){return c})),n.d(t,"cyan",(function(){return f})),n.d(t,"teal",(function(){return d})),n.d(t,"green",(function(){return p.a})),n.d(t,"lightGreen",(function(){return h})),n.d(t,"lime",(function(){return g})),n.d(t,"yellow",(function(){return y})),n.d(t,"amber",(function(){return m.a})),n.d(t,"orange",(function(){return v.a})),n.d(t,"deepOrange",(function(){return b})),n.d(t,"brown",(function(){return M})),n.d(t,"grey",(function(){return w.a})),n.d(t,"blueGrey",(function(){return N}));var r=n(113),o=n(133),i=n(132),a={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},s={50:"#ede7f6",100:"#d1c4e9",200:"#b39ddb",300:"#9575cd",400:"#7e57c2",500:"#673ab7",600:"#5e35b1",700:"#512da8",800:"#4527a0",900:"#311b92",A100:"#b388ff",A200:"#7c4dff",A400:"#651fff",A700:"#6200ea"},u=n(131),l=n(135),c={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},f={50:"#e0f7fa",100:"#b2ebf2",200:"#80deea",300:"#4dd0e1",400:"#26c6da",500:"#00bcd4",600:"#00acc1",700:"#0097a7",800:"#00838f",900:"#006064",A100:"#84ffff",A200:"#18ffff",A400:"#00e5ff",A700:"#00b8d4"},d={50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",A100:"#a7ffeb",A200:"#64ffda",A400:"#1de9b6",A700:"#00bfa5"},p=n(136),h={50:"#f1f8e9",100:"#dcedc8",200:"#c5e1a5",300:"#aed581",400:"#9ccc65",500:"#8bc34a",600:"#7cb342",700:"#689f38",800:"#558b2f",900:"#33691e",A100:"#ccff90",A200:"#b2ff59",A400:"#76ff03",A700:"#64dd17"},g={50:"#f9fbe7",100:"#f0f4c3",200:"#e6ee9c",300:"#dce775",400:"#d4e157",500:"#cddc39",600:"#c0ca33",700:"#afb42b",800:"#9e9d24",900:"#827717",A100:"#f4ff81",A200:"#eeff41",A400:"#c6ff00",A700:"#aeea00"},y={50:"#fffde7",100:"#fff9c4",200:"#fff59d",300:"#fff176",400:"#ffee58",500:"#ffeb3b",600:"#fdd835",700:"#fbc02d",800:"#f9a825",900:"#f57f17",A100:"#ffff8d",A200:"#ffff00",A400:"#ffea00",A700:"#ffd600"},m=n(325),v=n(134),b={50:"#fbe9e7",100:"#ffccbc",200:"#ffab91",300:"#ff8a65",400:"#ff7043",500:"#ff5722",600:"#f4511e",700:"#e64a19",800:"#d84315",900:"#bf360c",A100:"#ff9e80",A200:"#ff6e40",A400:"#ff3d00",A700:"#dd2c00"},M={50:"#efebe9",100:"#d7ccc8",200:"#bcaaa4",300:"#a1887f",400:"#8d6e63",500:"#795548",600:"#6d4c41",700:"#5d4037",800:"#4e342e",900:"#3e2723",A100:"#d7ccc8",A200:"#bcaaa4",A400:"#8d6e63",A700:"#5d4037"},w=n(130),N={50:"#eceff1",100:"#cfd8dc",200:"#b0bec5",300:"#90a4ae",400:"#78909c",500:"#607d8b",600:"#546e7a",700:"#455a64",800:"#37474f",900:"#263238",A100:"#cfd8dc",A200:"#b0bec5",A400:"#78909c",A700:"#455a64"}},function(e,t,n){"use strict";e.exports=n(419)},function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=s(n(528)),o=s(n(532)),i=s(n(235)),a=s(n(234));function s(e){return e&&e.__esModule?e:{default:e}}e.exports={Transition:a.default,TransitionGroup:i.default,ReplaceTransition:o.default,CSSTransition:r.default}},function(e,t,n){"use strict";n.d(t,"a",(function(){return A}));var r=n(16),o=n(5),i=n(190),a=n(80),s=n(1);function u(e,t,n){var o;return Object(s.a)({gutters:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return console.warn(["Material-UI: theme.mixins.gutters() is deprecated.","You can use the source of the mixin directly:","\n      paddingLeft: theme.spacing(2),\n      paddingRight: theme.spacing(2),\n      [theme.breakpoints.up('sm')]: {\n        paddingLeft: theme.spacing(3),\n        paddingRight: theme.spacing(3),\n      },\n      "].join("\n")),Object(s.a)({paddingLeft:t(2),paddingRight:t(2)},n,Object(r.a)({},e.up("sm"),Object(s.a)({paddingLeft:t(3),paddingRight:t(3)},n[e.up("sm")])))},toolbar:(o={minHeight:56},Object(r.a)(o,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),Object(r.a)(o,e.up("sm"),{minHeight:64}),o)},n)}var l=n(189),c=n(113),f=n(130),d=n(131),p=n(132),h=n(133),g=n(134),y=n(135),m=n(136),v=n(17),b={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",hint:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:c.a.white,default:f.a[50]},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},M={text:{primary:c.a.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",hint:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:f.a[800],default:"#303030"},action:{active:c.a.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function w(e,t,n,r){var o=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=Object(v.f)(e.main,o):"dark"===t&&(e.dark=Object(v.b)(e.main,i)))}function N(e){var t=e.primary,n=void 0===t?{light:d.a[300],main:d.a[500],dark:d.a[700]}:t,r=e.secondary,a=void 0===r?{light:p.a.A200,main:p.a.A400,dark:p.a.A700}:r,u=e.error,N=void 0===u?{light:h.a[300],main:h.a[500],dark:h.a[700]}:u,j=e.warning,S=void 0===j?{light:g.a[300],main:g.a[500],dark:g.a[700]}:j,I=e.info,D=void 0===I?{light:y.a[300],main:y.a[500],dark:y.a[700]}:I,x=e.success,E=void 0===x?{light:m.a[300],main:m.a[500],dark:m.a[700]}:x,O=e.type,T=void 0===O?"light":O,C=e.contrastThreshold,k=void 0===C?3:C,L=e.tonalOffset,_=void 0===L?.2:L,A=Object(o.a)(e,["primary","secondary","error","warning","info","success","type","contrastThreshold","tonalOffset"]);function z(e){return Object(v.e)(e,M.text.primary)>=k?M.text.primary:b.text.primary}var P=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:700;if(!(e=Object(s.a)({},e)).main&&e[t]&&(e.main=e[t]),!e.main)throw new Error(Object(l.a)(4,t));if("string"!==typeof e.main)throw new Error(Object(l.a)(5,JSON.stringify(e.main)));return w(e,"light",n,_),w(e,"dark",r,_),e.contrastText||(e.contrastText=z(e.main)),e},R={dark:M,light:b};return Object(i.a)(Object(s.a)({common:c.a,type:T,primary:P(n),secondary:P(a,"A400","A200","A700"),error:P(N),warning:P(S),info:P(D),success:P(E),grey:f.a,contrastThreshold:k,getContrastText:z,augmentColor:P,tonalOffset:_},R[T]),A)}function j(e){return Math.round(1e5*e)/1e5}function S(e){return j(e)}var I={textTransform:"uppercase"};function D(e,t){var n="function"===typeof t?t(e):t,r=n.fontFamily,a=void 0===r?'"Roboto", "Helvetica", "Arial", sans-serif':r,u=n.fontSize,l=void 0===u?14:u,c=n.fontWeightLight,f=void 0===c?300:c,d=n.fontWeightRegular,p=void 0===d?400:d,h=n.fontWeightMedium,g=void 0===h?500:h,y=n.fontWeightBold,m=void 0===y?700:y,v=n.htmlFontSize,b=void 0===v?16:v,M=n.allVariants,w=n.pxToRem,N=Object(o.a)(n,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"]);var D=l/14,x=w||function(e){return"".concat(e/b*D,"rem")},E=function(e,t,n,r,o){return Object(s.a)({fontFamily:a,fontWeight:e,fontSize:x(t),lineHeight:n},'"Roboto", "Helvetica", "Arial", sans-serif'===a?{letterSpacing:"".concat(j(r/t),"em")}:{},o,M)},O={h1:E(f,96,1.167,-1.5),h2:E(f,60,1.2,-.5),h3:E(p,48,1.167,0),h4:E(p,34,1.235,.25),h5:E(p,24,1.334,0),h6:E(g,20,1.6,.15),subtitle1:E(p,16,1.75,.15),subtitle2:E(g,14,1.57,.1),body1:E(p,16,1.5,.15),body2:E(p,14,1.43,.15),button:E(g,14,1.75,.4,I),caption:E(p,12,1.66,.4),overline:E(p,12,2.66,1,I)};return Object(i.a)(Object(s.a)({htmlFontSize:b,pxToRem:x,round:S,fontFamily:a,fontSize:l,fontWeightLight:f,fontWeightRegular:p,fontWeightMedium:g,fontWeightBold:m},O),N,{clone:!1})}function x(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}var E=["none",x(0,2,1,-1,0,1,1,0,0,1,3,0),x(0,3,1,-2,0,2,2,0,0,1,5,0),x(0,3,3,-2,0,3,4,0,0,1,8,0),x(0,2,4,-1,0,4,5,0,0,1,10,0),x(0,3,5,-1,0,5,8,0,0,1,14,0),x(0,3,5,-1,0,6,10,0,0,1,18,0),x(0,4,5,-2,0,7,10,1,0,2,16,1),x(0,5,5,-3,0,8,10,1,0,3,14,2),x(0,5,6,-3,0,9,12,1,0,3,16,2),x(0,6,6,-3,0,10,14,1,0,4,18,3),x(0,6,7,-4,0,11,15,1,0,4,20,3),x(0,7,8,-4,0,12,17,2,0,5,22,4),x(0,7,8,-4,0,13,19,2,0,5,24,4),x(0,7,9,-4,0,14,21,2,0,5,26,4),x(0,8,9,-5,0,15,22,2,0,6,28,5),x(0,8,10,-5,0,16,24,2,0,6,30,5),x(0,8,11,-5,0,17,26,2,0,6,32,5),x(0,9,11,-5,0,18,28,2,0,7,34,6),x(0,9,12,-6,0,19,29,2,0,7,36,6),x(0,10,13,-6,0,20,31,3,0,8,38,7),x(0,10,13,-6,0,21,33,3,0,8,40,7),x(0,10,14,-6,0,22,35,3,0,8,42,7),x(0,11,14,-7,0,23,36,3,0,9,44,8),x(0,11,15,-7,0,24,38,3,0,9,46,8)],O={borderRadius:4},T=n(826);function C(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;var t=Object(T.a)({spacing:e}),n=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return 0===n.length?t(1):1===n.length?t(n[0]):n.map((function(e){if("string"===typeof e)return e;var n=t(e);return"number"===typeof n?"".concat(n,"px"):n})).join(" ")};return Object.defineProperty(n,"unit",{get:function(){return e}}),n.mui=!0,n}var k=n(45),L=n(194);function _(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.breakpoints,n=void 0===t?{}:t,r=e.mixins,s=void 0===r?{}:r,l=e.palette,c=void 0===l?{}:l,f=e.spacing,d=e.typography,p=void 0===d?{}:d,h=Object(o.a)(e,["breakpoints","mixins","palette","spacing","typography"]),g=N(c),y=Object(a.a)(n),m=C(f),v=Object(i.a)({breakpoints:y,direction:"ltr",mixins:u(y,m,s),overrides:{},palette:g,props:{},shadows:E,typography:D(g,p),spacing:m,shape:O,transitions:k.a,zIndex:L.a},h),b=arguments.length,M=new Array(b>1?b-1:0),w=1;w<b;w++)M[w-1]=arguments[w];return v=M.reduce((function(e,t){return Object(i.a)(e,t)}),v)}function A(){return _.apply(void 0,arguments)}t.b=_},function(e,t,n){"use strict";var r=n(1),o=n(5),i=n(0),a=n.n(i),s=n(15),u=n(4),l=n(19),c=n(42),f=n(8),d=n(101),p=n(85),h=n(37),g=n(153),y=n(43),m=n(142);function v(e,t){var n=Object.create(null);return e&&i.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&Object(i.isValidElement)(e)?t(e):e}(e)})),n}function b(e,t,n){return null!=n[t]?n[t]:e.props[t]}function M(e,t,n){var r=v(e.children),o=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var s={};for(var u in t){if(o[u])for(r=0;r<o[u].length;r++){var l=o[u][r];s[o[u][r]]=n(l)}s[u]=n(u)}for(r=0;r<i.length;r++)s[i[r]]=n(i[r]);return s}(t,r);return Object.keys(o).forEach((function(a){var s=o[a];if(Object(i.isValidElement)(s)){var u=a in t,l=a in r,c=t[a],f=Object(i.isValidElement)(c)&&!c.props.in;!l||u&&!f?l||!u||f?l&&u&&Object(i.isValidElement)(c)&&(o[a]=Object(i.cloneElement)(s,{onExited:n.bind(null,s),in:c.props.in,exit:b(s,"exit",e),enter:b(s,"enter",e)})):o[a]=Object(i.cloneElement)(s,{in:!1}):o[a]=Object(i.cloneElement)(s,{onExited:n.bind(null,s),in:!0,exit:b(s,"exit",e),enter:b(s,"enter",e)})}})),o}var w=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},N=function(e){function t(t,n){var r,o=(r=e.call(this,t,n)||this).handleExited.bind(Object(g.a)(r));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}Object(y.a)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,r,o=t.children,a=t.handleExited;return{children:t.firstRender?(n=e,r=a,v(n.children,(function(e){return Object(i.cloneElement)(e,{onExited:r.bind(null,e),in:!0,appear:b(e,"appear",n),enter:b(e,"enter",n),exit:b(e,"exit",n)})}))):M(e,o,a),firstRender:!1}},n.handleExited=function(e,t){var n=v(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=Object(r.a)({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=Object(h.a)(e,["component","childFactory"]),o=this.state.contextValue,i=w(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?a.a.createElement(m.a.Provider,{value:o},i):a.a.createElement(m.a.Provider,{value:o},a.a.createElement(t,r,i))},t}(a.a.Component);N.propTypes={},N.defaultProps={component:"div",childFactory:function(e){return e}};var j=N,S="undefined"===typeof window?i.useEffect:i.useLayoutEffect;var I=function(e){var t=e.classes,n=e.pulsate,r=void 0!==n&&n,o=e.rippleX,a=e.rippleY,s=e.rippleSize,l=e.in,f=e.onExited,d=void 0===f?function(){}:f,p=e.timeout,h=i.useState(!1),g=h[0],y=h[1],m=Object(u.a)(t.ripple,t.rippleVisible,r&&t.ripplePulsate),v={width:s,height:s,top:-s/2+a,left:-s/2+o},b=Object(u.a)(t.child,g&&t.childLeaving,r&&t.childPulsate),M=Object(c.a)(d);return S((function(){if(!l){y(!0);var e=setTimeout(M,p);return function(){clearTimeout(e)}}}),[M,l,p]),i.createElement("span",{className:m,style:v},i.createElement("span",{className:b}))},D=i.forwardRef((function(e,t){var n=e.center,a=void 0!==n&&n,s=e.classes,l=e.className,c=Object(o.a)(e,["center","classes","className"]),f=i.useState([]),d=f[0],h=f[1],g=i.useRef(0),y=i.useRef(null);i.useEffect((function(){y.current&&(y.current(),y.current=null)}),[d]);var m=i.useRef(!1),v=i.useRef(null),b=i.useRef(null),M=i.useRef(null);i.useEffect((function(){return function(){clearTimeout(v.current)}}),[]);var w=i.useCallback((function(e){var t=e.pulsate,n=e.rippleX,r=e.rippleY,o=e.rippleSize,a=e.cb;h((function(e){return[].concat(Object(p.a)(e),[i.createElement(I,{key:g.current,classes:s,timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:o})])})),g.current+=1,y.current=a}),[s]),N=i.useCallback((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=t.pulsate,o=void 0!==r&&r,i=t.center,s=void 0===i?a||t.pulsate:i,u=t.fakeElement,l=void 0!==u&&u;if("mousedown"===e.type&&m.current)m.current=!1;else{"touchstart"===e.type&&(m.current=!0);var c,f,d,p=l?null:M.current,h=p?p.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(s||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(h.width/2),f=Math.round(h.height/2);else{var g=e.touches?e.touches[0]:e,y=g.clientX,N=g.clientY;c=Math.round(y-h.left),f=Math.round(N-h.top)}if(s)(d=Math.sqrt((2*Math.pow(h.width,2)+Math.pow(h.height,2))/3))%2===0&&(d+=1);else{var j=2*Math.max(Math.abs((p?p.clientWidth:0)-c),c)+2,S=2*Math.max(Math.abs((p?p.clientHeight:0)-f),f)+2;d=Math.sqrt(Math.pow(j,2)+Math.pow(S,2))}e.touches?null===b.current&&(b.current=function(){w({pulsate:o,rippleX:c,rippleY:f,rippleSize:d,cb:n})},v.current=setTimeout((function(){b.current&&(b.current(),b.current=null)}),80)):w({pulsate:o,rippleX:c,rippleY:f,rippleSize:d,cb:n})}}),[a,w]),S=i.useCallback((function(){N({},{pulsate:!0})}),[N]),D=i.useCallback((function(e,t){if(clearTimeout(v.current),"touchend"===e.type&&b.current)return e.persist(),b.current(),b.current=null,void(v.current=setTimeout((function(){D(e,t)})));b.current=null,h((function(e){return e.length>0?e.slice(1):e})),y.current=t}),[]);return i.useImperativeHandle(t,(function(){return{pulsate:S,start:N,stop:D}}),[S,N,D]),i.createElement("span",Object(r.a)({className:Object(u.a)(s.root,l),ref:M},c),i.createElement(j,{component:null,exit:!0},d))})),x=Object(f.a)((function(e){return{root:{overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"},ripple:{opacity:0,position:"absolute"},rippleVisible:{opacity:.3,transform:"scale(1)",animation:"$enter ".concat(550,"ms ").concat(e.transitions.easing.easeInOut)},ripplePulsate:{animationDuration:"".concat(e.transitions.duration.shorter,"ms")},child:{opacity:1,display:"block",width:"100%",height:"100%",borderRadius:"50%",backgroundColor:"currentColor"},childLeaving:{opacity:0,animation:"$exit ".concat(550,"ms ").concat(e.transitions.easing.easeInOut)},childPulsate:{position:"absolute",left:0,top:0,animation:"$pulsate 2500ms ".concat(e.transitions.easing.easeInOut," 200ms infinite")},"@keyframes enter":{"0%":{transform:"scale(0)",opacity:.1},"100%":{transform:"scale(1)",opacity:.3}},"@keyframes exit":{"0%":{opacity:1},"100%":{opacity:0}},"@keyframes pulsate":{"0%":{transform:"scale(1)"},"50%":{transform:"scale(0.92)"},"100%":{transform:"scale(1)"}}}}),{flip:!1,name:"MuiTouchRipple"})(i.memo(D)),E=i.forwardRef((function(e,t){var n=e.action,a=e.buttonRef,f=e.centerRipple,p=void 0!==f&&f,h=e.children,g=e.classes,y=e.className,m=e.component,v=void 0===m?"button":m,b=e.disabled,M=void 0!==b&&b,w=e.disableRipple,N=void 0!==w&&w,j=e.disableTouchRipple,S=void 0!==j&&j,I=e.focusRipple,D=void 0!==I&&I,E=e.focusVisibleClassName,O=e.onBlur,T=e.onClick,C=e.onFocus,k=e.onFocusVisible,L=e.onKeyDown,_=e.onKeyUp,A=e.onMouseDown,z=e.onMouseLeave,P=e.onMouseUp,R=e.onTouchEnd,U=e.onTouchMove,B=e.onTouchStart,F=e.onDragLeave,Y=e.tabIndex,G=void 0===Y?0:Y,H=e.TouchRippleProps,V=e.type,Q=void 0===V?"button":V,W=Object(o.a)(e,["action","buttonRef","centerRipple","children","classes","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","onBlur","onClick","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","onDragLeave","tabIndex","TouchRippleProps","type"]),Z=i.useRef(null);var q=i.useRef(null),X=i.useState(!1),$=X[0],J=X[1];M&&$&&J(!1);var K=Object(d.a)(),ee=K.isFocusVisible,te=K.onBlurVisible,ne=K.ref;function re(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:S;return Object(c.a)((function(r){return t&&t(r),!n&&q.current&&q.current[e](r),!0}))}i.useImperativeHandle(n,(function(){return{focusVisible:function(){J(!0),Z.current.focus()}}}),[]),i.useEffect((function(){$&&D&&!N&&q.current.pulsate()}),[N,D,$]);var oe=re("start",A),ie=re("stop",F),ae=re("stop",P),se=re("stop",(function(e){$&&e.preventDefault(),z&&z(e)})),ue=re("start",B),le=re("stop",R),ce=re("stop",U),fe=re("stop",(function(e){$&&(te(e),J(!1)),O&&O(e)}),!1),de=Object(c.a)((function(e){Z.current||(Z.current=e.currentTarget),ee(e)&&(J(!0),k&&k(e)),C&&C(e)})),pe=function(){var e=s.findDOMNode(Z.current);return v&&"button"!==v&&!("A"===e.tagName&&e.href)},he=i.useRef(!1),ge=Object(c.a)((function(e){D&&!he.current&&$&&q.current&&" "===e.key&&(he.current=!0,e.persist(),q.current.stop(e,(function(){q.current.start(e)}))),e.target===e.currentTarget&&pe()&&" "===e.key&&e.preventDefault(),L&&L(e),e.target===e.currentTarget&&pe()&&"Enter"===e.key&&!M&&(e.preventDefault(),T&&T(e))})),ye=Object(c.a)((function(e){D&&" "===e.key&&q.current&&$&&!e.defaultPrevented&&(he.current=!1,e.persist(),q.current.stop(e,(function(){q.current.pulsate(e)}))),_&&_(e),T&&e.target===e.currentTarget&&pe()&&" "===e.key&&!e.defaultPrevented&&T(e)})),me=v;"button"===me&&W.href&&(me="a");var ve={};"button"===me?(ve.type=Q,ve.disabled=M):("a"===me&&W.href||(ve.role="button"),ve["aria-disabled"]=M);var be=Object(l.a)(a,t),Me=Object(l.a)(ne,Z),we=Object(l.a)(be,Me),Ne=i.useState(!1),je=Ne[0],Se=Ne[1];i.useEffect((function(){Se(!0)}),[]);var Ie=je&&!N&&!M;return i.createElement(me,Object(r.a)({className:Object(u.a)(g.root,y,$&&[g.focusVisible,E],M&&g.disabled),onBlur:fe,onClick:T,onFocus:de,onKeyDown:ge,onKeyUp:ye,onMouseDown:oe,onMouseLeave:se,onMouseUp:ae,onDragLeave:ie,onTouchEnd:le,onTouchMove:ce,onTouchStart:ue,ref:we,tabIndex:M?-1:G},ve,W),h,Ie?i.createElement(x,Object(r.a)({ref:q,center:p},H)):null)}));t.a=Object(f.a)({root:{display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle","-moz-appearance":"none","-webkit-appearance":"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},"&$disabled":{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}},disabled:{},focusVisible:{}},{name:"MuiButtonBase"})(E)},function(e,t,n){"use strict";function r(e,t,n,r,o,i,a){try{var s=e[i](a),u=s.value}catch(l){return void n(l)}s.done?t(u):Promise.resolve(u).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function s(e){r(a,o,i,s,u,"next",e)}function u(e){r(a,o,i,s,u,"throw",e)}s(void 0)}))}}n.d(t,"a",(function(){return o}))},function(e,t,n){"use strict";e.exports=n(425)},,,function(e,t,n){var r=n(428),o=n(429),i=n(430),a=n(431),s=n(432);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=s,e.exports=u},function(e,t,n){var r=n(167);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},function(e,t){e.exports=function(e,t){return e===t||e!==e&&t!==t}},function(e,t,n){var r=n(107)(Object,"create");e.exports=r},function(e,t,n){var r=n(452);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},function(e,t,n){var r=n(472),o=n(216),i=n(473),a=n(474),s=n(475),u=n(125),l=n(303),c=l(r),f=l(o),d=l(i),p=l(a),h=l(s),g=u;(r&&"[object DataView]"!=g(new r(new ArrayBuffer(1)))||o&&"[object Map]"!=g(new o)||i&&"[object Promise]"!=g(i.resolve())||a&&"[object Set]"!=g(new a)||s&&"[object WeakMap]"!=g(new s))&&(g=function(e){var t=u(e),n="[object Object]"==t?e.constructor:void 0,r=n?l(n):"";if(r)switch(r){case c:return"[object DataView]";case f:return"[object Map]";case d:return"[object Promise]";case p:return"[object Set]";case h:return"[object WeakMap]"}return t}),e.exports=g},function(e,t,n){var r=n(62),o=n(230),i=n(489),a=n(316);e.exports=function(e,t){return r(e)?e:o(e,t)?[e]:i(a(e))}},function(e,t){e.exports=function(e){return e}},function(e,t,n){"use strict";t.__esModule=!0,t.isSmallScreen=function(){return window.matchMedia&&!window.matchMedia("(min-width: 380px)").matches}},function(e,t,n){"use strict";function r(e){return(r="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})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!("string"===typeof e||e instanceof String)){var t=r(e);throw null===e?t="null":"object"===t&&(t=e.constructor.name),new TypeError("Expected a string but received a ".concat(t))}},e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.BackButton=t.CloseButton=void 0;var r=i(n(2)),o=i(n(0));function i(e){return e&&e.__esModule?e:{default:e}}var a=function(){return o.default.createElement("svg",{"aria-hidden":"true",focusable:"false",enableBackground:"new 0 0 24 24",version:"1.0",viewBox:"0 0 24 24",xmlSpace:"preserve",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"}," ",o.default.createElement("polyline",{fill:"none",points:"12.5,21 3.5,12 12.5,3 ",stroke:"#000000",strokeMiterlimit:"10",strokeWidth:"2"})," ",o.default.createElement("line",{fill:"none",stroke:"#000000",strokeMiterlimit:"10",strokeWidth:"2",x1:"22",x2:"3.5",y1:"12",y2:"12"})," ")},s=function(){return o.default.createElement("svg",{"aria-hidden":"true",focusable:"false",enableBackground:"new 0 0 128 128",version:"1.1",viewBox:"0 0 128 128",xmlSpace:"preserve",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},o.default.createElement("g",null,o.default.createElement("polygon",{fill:"#373737",points:"123.5429688,11.59375 116.4765625,4.5185547 64.0019531,56.9306641 11.5595703,4.4882813     4.4882813,11.5595703 56.9272461,63.9970703 4.4570313,116.4052734 11.5244141,123.4814453 63.9985352,71.0683594     116.4423828,123.5117188 123.5126953,116.4414063 71.0732422,64.0019531   "})))},u=function(e){var t=e.lockId,n=e.name,r=e.onClick,i=e.svg;return o.default.createElement("span",{id:t+"-"+n+"-button",role:"button",tabIndex:0,className:"auth0-lock-"+n+"-button",onClick:function(e){e.preventDefault(),r()},onKeyPress:function(e){"Enter"===e.key&&(e.preventDefault(),r())},"aria-label":n},i)};u.propTypes={name:r.default.string.isRequired,onClick:r.default.func.isRequired,svg:r.default.element.isRequired},(t.CloseButton=function(e){var t=e.lockId,n=e.onClick;return o.default.createElement(u,{lockId:t,name:"close",onClick:n,svg:o.default.createElement(s,null)})}).propTypes={onClick:r.default.func.isRequired},(t.BackButton=function(e){var t=e.lockId,n=e.onClick;return o.default.createElement(u,{lockId:t,name:"back",onClick:n,svg:o.default.createElement(a,null)})}).propTypes={onClick:r.default.func.isRequired}},function(e,t,n){"use strict";t.__esModule=!0,t.isSSOEnabled=function(e,t){return I(e,(0,u.databaseUsernameValue)(e,t))},t.matchesEnterpriseConnection=I,t.usernameStyle=function(e){return(0,u.authWithUsername)(e)&&!(0,l.isADEnabled)(e)?"username":"email"},t.hasOnlyClassicConnections=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return p.hasOnlyConnections.apply(p,[e,t].concat(r))&&!p.hasSomeConnections(e,"passwordless")};S(n(270));var r=S(n(556)),o=S(n(584)),i=S(n(589)),a=S(n(594)),s=j(n(254)),u=n(49),l=n(70),c=n(239),f=n(90),d=n(238),p=j(n(12)),h=S(n(597)),g=S(n(598)),y=S(n(600)),m=n(242),v=S(n(349)),b=S(n(350)),M=S(n(351)),w=n(109),N=(n(26),n(35));function j(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function S(e){return e&&e.__esModule?e:{default:e}}function I(e,t){return(0,l.isEnterpriseDomain)(e,t)}function D(e){var t=p.hasSomeConnections(e,"database"),n=p.hasSomeConnections(e,"social"),r=p.hasSomeConnections(e,"enterprise");if(t||n||r){if(!t&&(0,u.hasInitialScreen)(e,"forgotPassword")){var o=new Error('The `initialScreen` option was set to "forgotPassword" but no database connection is available.');o.code="unavailable_initial_screen",e=p.stop(e,o)}else if(!t&&!n&&(0,u.hasInitialScreen)(e,"signUp")){var i=new Error('The `initialScreen` option was set to "signUp" but no database or social connection is available.');i.code="unavailable_initial_screen",e=p.stop(e,i)}}else{var a=new Error("At least one database, enterprise or social connection needs to be available.");a.code="no_connection",e=p.stop(e,a)}return(0,c.defaultDirectoryName)(e)&&!(0,c.defaultDirectory)(e)&&p.error(e,"The account's default directory \""+(0,c.defaultDirectoryName)(e)+'" is not enabled.'),(0,u.defaultDatabaseConnectionName)(e)&&!(0,u.defaultDatabaseConnection)(e)&&p.warn(e,'The provided default database connection "'+(0,u.defaultDatabaseConnectionName)(e)+'" is not enabled.'),(0,l.defaultEnterpriseConnectionName)(e)&&!(0,l.defaultEnterpriseConnection)(e)&&p.warn(e,'The provided default enterprise connection "'+(0,l.defaultEnterpriseConnectionName)(e)+'" is not enabled or does not allow email/password authentication.'),e}function x(e,t){return setTimeout((function(){(0,N.swap)(N.updateEntity,"lock",p.id(e),p.stop,t)}),0),new b.default}var E=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return e.prototype.didInitialize=function(e,t){return e=(0,u.initDatabase)(e,t),e=(0,l.initEnterprise)(e,t)},e.prototype.didReceiveClientSettings=function(e){return e=function(e){var t=p.prefill(e).toJS(),n=t.email,r=t.username;return"string"===typeof n&&(e=(0,f.setEmail)(e,n)),"string"===typeof r&&(e=(0,d.setUsername)(e,r,"username",!1)),e}(e=D(e))},e.prototype.willShow=function(e,t){return e=(0,u.overrideDatabaseOptions)(e,t),e=(0,u.resolveAdditionalSignUpFields)(e),(0,w.isSuccess)(e,"client")&&(e=D(e)),e},e.prototype.render=function(t){if(p.hasStopped(t))return new b.default;if(!(0,w.isDone)(t)||t.get("isLoadingPanePinned"))return new v.default;if((0,u.hasScreen)(t,"login")){if(!(0,m.hasSkippedQuickAuth)(t)&&(0,u.hasInitialScreen)(t,"login")){if((0,l.isInCorpNetwork)(t))return new h.default;if(p.ui.rememberLastLogin(t)){var n=s.lastUsedConnection(t);s.lastUsedUsername(t);if(n&&(0,w.isSuccess)(t,"sso")&&p.hasConnection(t,n.get("name"))&&"passwordless"!==p.findConnection(t,n.get("name")).get("type"))return new M.default}}if((0,l.quickAuthConnection)(t))return new y.default;if((0,l.isHRDActive)(t))return new g.default}if(!(0,u.hasScreen)(t,"login")&&!(0,u.hasScreen)(t,"signUp")&&!(0,u.hasScreen)(t,"forgotPassword")){var r="No available Screen. You have to allow at least one of those screens: `login`, `signUp`or `forgotPassword`.",o=new Error(r);return o.code="internal_error",o.description=r,x(t,o)}var i=e.SCREENS[(0,u.getScreen)(t)];if(i)return new i;var a=new Error("Internal error");return a.code="internal_error",a.description="Couldn't find a screen \""+(0,u.getScreen)(t)+'"',x(t,a)},e}();E.SCREENS={login:r.default,forgotPassword:a.default,signUp:o.default,mfaLogin:i.default},t.default=new E},function(e,t,n){"use strict";t.__esModule=!0;var r=d(n(2)),o=d(n(0)),i=d(n(338)),a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(12)),s=n(178),u=n(179),l=n(573),c=n(49),f=n(111);function d(e){return e&&e.__esModule?e:{default:e}}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var g=function(e){function t(){return p(this,t),h(this,e.apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.handleSubmit=function(e,t,n){return n&&!(0,c.termsAccepted)(e)?(0,f.signUpError)(e.get("id"),{code:"social_signup_needs_terms_acception"}):((0,l.emitFederatedLoginEvent)(this.props.lock,t,n),(0,s.logIn)(a.id(this.props.lock),t))},t.prototype.render=function(){var e=this,t=this.props,n=t.instructions,r=t.labelFn,a=t.lock,s=t.showLoading,l=t.signUp,c=n||null,f=c&&o.default.createElement("p",null,c),d=(0,u.authButtonsTheme)(a),p=(0,u.socialConnections)(a).map((function(t){var n=d.get(t.get("name")),s=n&&n.get("displayName"),c=n&&n.get("primaryColor"),f=n&&n.get("foregroundColor"),p=n&&n.get("icon");return o.default.createElement(i.default,{key:t.get("name"),label:r(l?"signUpWithLabel":"loginWithLabel",s||(0,u.displayName)(t)),onClick:function(){return e.handleSubmit(a,t,l)},strategy:t.get("strategy"),primaryColor:c,foregroundColor:f,icon:p})})),h=s&&o.default.createElement("div",{className:"auth0-loading-container"},o.default.createElement("div",{className:"auth0-loading"}));return o.default.createElement("div",{className:"auth-lock-social-buttons-pane"},f,o.default.createElement("div",{className:"auth0-lock-social-buttons-container"},p),h)},t}(o.default.Component);t.default=g,g.propTypes={instructions:r.default.any,labelFn:r.default.func.isRequired,lock:r.default.object.isRequired,showLoading:r.default.bool.isRequired,signUp:r.default.bool.isRequired,e:r.default.bool},g.defaultProps={showLoading:!1,e:!1}},function(e,t,n){"use strict";t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.skipQuickAuth=function(e){(0,i.swap)(i.updateEntity,"lock",e,o.skipQuickAuth,!0)},t.logIn=u,t.checkSession=function(e,t,n){var o=(0,i.read)(i.getEntity,"lock",e);if(s.auth.responseType(o).indexOf("code")>=0)return u(e,t,n,"none");s.auth.connectionScopes(o).get(t.get("name"));var l=r({},s.auth.params(o).toJS(),{connection:t.get("name")});(0,a.checkSession)(e,l)};var o=n(242),i=n(35),a=n(77),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(12));function u(e,t,n,r){var o=(0,i.read)(i.getEntity,"lock",e),u=s.auth.connectionScopes(o).get(t.get("name")),l={connection:t.get("name"),connection_scope:u?u.toJS():void 0};s.auth.redirect(o)||"facebook"!==t.get("strategy")||(l.display="popup"),n&&(l.login_hint=n),r&&(l.prompt=r),"apple"===t.get("strategy")?(0,i.swap)(i.updateEntity,"lock",s.id(o),s.setSupressSubmitOverlay,!0):(0,i.swap)(i.updateEntity,"lock",s.id(o),s.setSupressSubmitOverlay,!1),l.isSubmitting=!1,(0,a.logIn)(e,[],l)}},function(e,t,n){"use strict";t.__esModule=!0,t.STRATEGIES=void 0,t.displayName=function(e){if(-1!==["oauth1","oauth2"].indexOf(e.get("strategy")))return e.get("name");return o[e.get("strategy")]},t.socialConnections=function(e){return r.connections(e,"social")},t.authButtonsTheme=function(e){return r.ui.authButtonsTheme(e)};var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(12));var o=t.STRATEGIES={apple:"Apple",amazon:"Amazon",aol:"Aol",baidu:"\u767e\u5ea6",bitbucket:"Bitbucket",box:"Box",dropbox:"Dropbox",dwolla:"Dwolla",ebay:"ebay",exact:"Exact",facebook:"Facebook",fitbit:"Fitbit",github:"GitHub","google-openid":"Google OpenId","google-oauth2":"Google",instagram:"Instagram",linkedin:"LinkedIn",miicard:"miiCard",paypal:"PayPal","paypal-sandbox":"PayPal Sandbox",planningcenter:"Planning Center",renren:"\u4eba\u4eba",salesforce:"Salesforce","salesforce-community":"Salesforce Community","salesforce-sandbox":"Salesforce (sandbox)",evernote:"Evernote","evernote-sandbox":"Evernote (sandbox)",shopify:"Shopify",soundcloud:"Soundcloud",thecity:"The City","thecity-sandbox":"The City (sandbox)",thirtysevensignals:"Basecamp",twitter:"Twitter",vkontakte:"vKontakte",windowslive:"Microsoft Account",wordpress:"Wordpress",yahoo:"Yahoo!",yammer:"Yammer",yandex:"Yandex",weibo:"\u65b0\u6d6a\u5fae\u535a",line:"Line"}},function(e,t,n){"use strict";t.__esModule=!0,t.showMissingCaptcha=function(e,t){var n="recaptcha_v2"===o.captcha(e).get("provider")?"invalid_recaptcha":"invalid_captcha",r=a.html(e,["error","login",n]);return(0,s.swap)(s.updateEntity,"lock",t,(function(e){return e=o.setSubmitting(e,!1,r),i.showInvalidField(e,"captcha")})),e},t.setCaptchaParams=function(e,t,n){if(!o.captcha(e)||!o.captcha(e).get("required"))return!0;var r=i.getFieldValue(e,"captcha");if(!r)return!1;return t.captcha=r,n.push("captcha"),!0},t.swapCaptcha=function(e,t,n){return l.default.getChallenge(e,(function(r,i){!r&&i&&(0,s.swap)(s.updateEntity,"lock",e,o.setCaptcha,i,t),n&&n()}))};var r,o=c(n(12)),i=c(n(26)),a=c(n(51)),s=n(35),u=n(100),l=(r=u)&&r.__esModule?r:{default:r};function c(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}},function(e,t,n){"use strict";t.__esModule=!0;var r=d(n(2)),o=d(n(0)),i=d(n(575)),a=f(n(26)),s=n(35),u=f(n(12)),l=n(90),c=n(343);function f(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function d(e){return e&&e.__esModule?e:{default:e}}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var g=function(e){function t(){return p(this,t),h(this,e.apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.componentDidMount=function(){var e=this.props,t=e.lock,n=e.strictValidation;u.ui.avatar(t)&&a.email(t)&&(0,c.requestAvatar)(u.id(t),a.email(t)),(0,s.swap)(s.updateEntity,"lock",u.id(t),l.setEmail,a.email(t),n)},t.prototype.handleChange=function(e){var t=this.props,n=t.lock,r=t.strictValidation;u.ui.avatar(n)&&(0,c.debouncedRequestAvatar)(u.id(n),e.target.value),(0,s.swap)(s.updateEntity,"lock",u.id(n),l.setEmail,e.target.value,r)},t.prototype.render=function(){var e=this.props,t=e.i18n,n=e.lock,r=e.placeholder,s=e.forceInvalidVisibility,l=void 0!==s&&s,c=u.ui.allowAutocomplete(n),f=a.getField(n,"email"),d=f.get("value",""),p=f.get("valid",!0),h=d?t.str("invalidErrorHint")||t.str("invalidEmailErrorHint"):t.str("blankErrorHint")||t.str("blankEmailErrorHint"),g=f.get("invalidHint")||h,y=(!l||p)&&!a.isFieldVisiblyInvalid(n,"email");return y=!(!l||""!==d)||y,o.default.createElement(i.default,{lockId:u.id(n),value:d,invalidHint:g,isValid:y,onChange:this.handleChange.bind(this),placeholder:r,autoComplete:c,disabled:u.submitting(n)})},t}(o.default.Component);t.default=g,g.propTypes={i18n:r.default.object.isRequired,lock:r.default.object.isRequired,placeholder:r.default.string.isRequired,strictValidation:r.default.bool.isRequired}},function(e,t,n){"use strict";t.__esModule=!0;var r,o=n(0),i=(r=o)&&r.__esModule?r:{default:r};t.default=function(){return i.default.createElement("div",{className:"auth0-lock-pane-separator"})}},function(e,t,n){"use strict";t.__esModule=!0;var r=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},o=a(n(0)),i=a(n(583));function a(e){return e&&e.__esModule?e:{default:e}}var s=o.default.createElement("svg",{focusable:"false",width:"56px",height:"56px",viewBox:"0 0 52 52",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",className:"checkmark"}," ",o.default.createElement("circle",{cx:"26",cy:"26",r:"25",fill:"none",className:"checkmark__circle"})," ",o.default.createElement("path",{fill:"none",d:"M14.1 27.2l7.1 7.2 16.7-16.8",className:"checkmark__check"})," ");t.default=function(e){return o.default.createElement(i.default,r({svg:s},e))}},function(e,t,n){"use strict";t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.requestPasswordlessEmail=function(e){(0,a.validateAndSubmit)(e,["email"],(function(e){M(e,y,m)}))},t.requestPasswordlessEmailSuccess=y,t.requestPasswordlessEmailError=m,t.resendEmail=function(e){(0,i.swap)(i.updateEntity,"lock",e,f.resend),M((0,i.read)(i.getEntity,"lock",e),v,b)},t.sendSMS=function(e){(0,a.validateAndSubmit)(e,["phoneNumber"],(function(t){var n=c.connections(t,"passwordless","sms"),r={connection:n.size>0&&c.useCustomPasswordlessConnection(t)?n.first().get("name"):"sms",phoneNumber:(0,d.phoneNumberWithDiallingCode)(t),send:(0,f.send)(t)};u.default.startPasswordless(e,r,(function(t){t?setTimeout((function(){return function(e,t){var n=(0,i.read)(i.getEntity,"lock",e),r=g(n,t);return c.emitAuthorizationErrorEvent(n,t),(0,i.swap)(i.updateEntity,"lock",e,c.setSubmitting,!1,r)}(e,t)}),250):function(e){(0,i.swap)(i.updateEntity,"lock",e,(function(e){return e=c.setSubmitting(e,!1),e=(0,f.setPasswordlessStarted)(e,!0)}))}(e)}))}))},t.logIn=function(e){var t=(0,i.read)(i.getEntity,"lock",e),n=c.auth.params(t).toJS(),o=r({verificationCode:l.getFieldValue(t,"vcode")},n);(0,f.isEmail)(t)?(o.connection="email",o.email=l.getFieldValue(t,"email")):(o.connection="sms",o.phoneNumber=(0,d.phoneNumberWithDiallingCode)(t));(0,i.swap)(i.updateEntity,"lock",e,c.setSubmitting,!0),u.default.passwordlessVerify(e,o,(function(t,n){var r=void 0;if(t){var o=(0,i.read)(i.getEntity,"lock",e);return r=g(o,t),t.logToConsole&&console.error(t.description),c.emitAuthorizationErrorEvent(o,t),(0,i.swap)(i.updateEntity,"lock",e,c.setSubmitting,!1,r)}return(0,a.logInSuccess)(e,n)}))},t.restart=function(e){(0,i.swap)(i.updateEntity,"lock",e,f.restartPasswordless)},t.toggleTermsAcceptance=function(e){(0,i.swap)(i.updateEntity,"lock",e,f.toggleTermsAcceptance)};n(48);var o,i=n(35),a=n(77),s=n(100),u=(o=s)&&o.__esModule?o:{default:o},l=h(n(26)),c=h(n(12)),f=n(127),d=n(151),p=h(n(51));function h(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function g(e,t){var n=t.error;return"sms_provider_error"===t.error&&(t.description||"").indexOf("(Code: 21211)")>-1&&(n="bad.phone_number"),p.html(e,["error","passwordless",n])||p.html(e,["error","passwordless","lock.fallback"])}function y(e){(0,i.swap)(i.updateEntity,"lock",e,(function(e){return e=c.setSubmitting(e,!1),(0,f.setPasswordlessStarted)(e,!0)}))}function m(e,t){var n=g((0,i.read)(i.getEntity,"lock",e),t);return(0,i.swap)(i.updateEntity,"lock",e,c.setSubmitting,!1,n)}function v(e){(0,i.swap)(i.updateEntity,"lock",e,f.setResendSuccess)}function b(e,t){(0,i.swap)(i.updateEntity,"lock",e,f.setResendFailed)}function M(e,t,n){var r=c.connections(e,"passwordless","email"),o={connection:r.size>0&&c.useCustomPasswordlessConnection(e)?r.first().get("name"):"email",email:l.getFieldValue(e,"email"),send:(0,f.send)(e)};(0,f.isSendLink)(e)&&!c.auth.params(e).isEmpty()&&(o.authParams=c.auth.params(e).toJS()),u.default.startPasswordless(c.id(e),o,(function(r){r?setTimeout((function(){return n(c.id(e),r)}),250):t(c.id(e))}))}},function(e,t,n){var r=n(309),o=n(671),i=n(148);e.exports=function(e){return i(e)?r(e,!0):o(e)}},function(e,t,n){"use strict";function r(e,t,n,r,o){return null}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(156);function o(e,t){if(e){if("string"===typeof e)return Object(r.a)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r.a)(e,t):void 0}}},function(e,t,n){"use strict";var r=n(0),o=n.n(r),i=n(50),a=n(138),s=n(114);t.a=function(e){var t=e.store,n=e.context,u=e.children,l=Object(r.useMemo)((function(){var e=Object(a.a)(t);return e.onStateChange=e.notifyNestedSubs,{store:t,subscription:e}}),[t]),c=Object(r.useMemo)((function(){return t.getState()}),[t]);Object(s.a)((function(){var e=l.subscription;return e.trySubscribe(),c!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}}),[l,c]);var f=n||i.a;return o.a.createElement(f.Provider,{value:l},u)}},function(e,t,n){"use strict";function r(e){for(var t="https://material-ui.com/production-error/?code="+e,n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified Material-UI error #"+e+"; visit "+t+" for the full message."}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(1),o=n(93);function i(e){return e&&"object"===Object(o.a)(e)&&e.constructor===Object}function a(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0},o=n.clone?Object(r.a)({},e):e;return i(e)&&i(t)&&Object.keys(t).forEach((function(r){"__proto__"!==r&&(i(t[r])&&r in e?o[r]=a(e[r],t[r],n):o[r]=t[r])})),o}},function(e,t,n){"use strict";var r=n(0),o=n.n(r).a.createContext(null);t.a=o},function(e,t,n){"use strict";var r="function"===typeof Symbol&&Symbol.for;t.a=r?Symbol.for("mui.nested"):"__THEME_NESTED__"},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));n(85),n(1);var r=n(93),o=(n(94),{xs:0,sm:600,md:960,lg:1280,xl:1920}),i={keys:["xs","sm","md","lg","xl"],up:function(e){return"@media (min-width:".concat(o[e],"px)")}};function a(e,t,n){if(Array.isArray(t)){var o=e.theme.breakpoints||i;return t.reduce((function(e,r,i){return e[o.up(o.keys[i])]=n(t[i]),e}),{})}if("object"===Object(r.a)(t)){var a=e.theme.breakpoints||i;return Object.keys(t).reduce((function(e,r){return e[a.up(r)]=n(t[r]),e}),{})}return n(t)}},function(e,t,n){"use strict";t.a={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500}},function(e,t,n){"use strict";function r(){var e=document.createElement("div");e.style.width="99px",e.style.height="99px",e.style.position="absolute",e.style.top="-9999px",e.style.overflow="scroll",document.body.appendChild(e);var t=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),t}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return i}));var r=function(e){e()},o=function(e){return r=e},i=function(){return r}},function(e,t,n){"use strict";n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return p})),n.d(t,"c",(function(){return h}));var r=n(139),o=n.n(r),i=n(25),a=n.n(i),s=n(39),u=n.n(s),l=n(0),c=n(275),f=n.n(c),d=f()(),p=f()(),h=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return t=e.call.apply(e,[this].concat(r))||this,u()(a()(a()(t)),"referenceNode",void 0),u()(a()(a()(t)),"setReferenceNode",(function(e){e&&t.referenceNode!==e&&(t.referenceNode=e,t.forceUpdate())})),t}o()(t,e);var n=t.prototype;return n.componentWillUnmount=function(){this.referenceNode=null},n.render=function(){return l.createElement(d.Provider,{value:this.referenceNode},l.createElement(p.Provider,{value:this.setReferenceNode},this.props.children))},t}(l.Component)},function(e,t,n){"use strict";var r=n(0),o=r.createContext();t.a=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="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=function(){return{onProcessStyle:function(e,t,n){return"extend"in e?f(e,t,n):e},onChangeValue:function(e,t,n){if("extend"!==t)return e;if(null==e||!1===e){for(var r in n[u])n.prop(r,null);return n[u]=null,null}for(var o in e)n.prop(o,e[o]);return n[u]=e,null}}};var o,i=n(649),a=(o=i)&&o.__esModule?o:{default:o};var s=function(e){return e&&"object"===("undefined"===typeof e?"undefined":r(e))&&!Array.isArray(e)},u="extendCurrValue"+Date.now();function l(e,t,n,o){if("string"!==r(e.extend))if(Array.isArray(e.extend))for(var i=0;i<e.extend.length;i++)f(e.extend[i],t,n,o);else for(var u in e.extend)"extend"!==u?s(e.extend[u])?(u in o||(o[u]={}),f(e.extend[u],t,n,o[u])):o[u]=e.extend[u]:f(e.extend.extend,t,n,o);else{if(!n)return;var l=n.getRule(e.extend);if(!l)return;if(l===t)return void(0,a.default)(!1,"[JSS] A rule tries to extend itself \r\n%s",t);var c=l.options.parent;c&&f(c.rules.raw[e.extend],t,n,o)}}function c(e,t,n,r){for(var o in e)"extend"!==o&&(s(r[o])&&s(e[o])?f(e[o],t,n,r[o]):s(e[o])?r[o]=f(e[o],t,n):r[o]=e[o])}function f(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return l(e,t,n,r),c(e,t,n,r),r}},function(e,t,n){"use strict";e.exports={VelocityComponent:n(666),VelocityTransitionGroup:n(704),velocityHelpers:n(713)}},function(e,t,n){"use strict";n.r(t);var r=Number.isNaN||function(e){return"number"===typeof e&&e!==e};function o(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(o=e[n],i=t[n],!(o===i||r(o)&&r(i)))return!1;var o,i;return!0}t.default=function(e,t){var n;void 0===t&&(t=o);var r,i=[],a=!1;return function(){for(var o=[],s=0;s<arguments.length;s++)o[s]=arguments[s];return a&&n===this&&t(o,i)||(r=e.apply(this,o),a=!0,n=this,i=o),r}}},function(e,t,n){"use strict";var r=n(209),o=n(286);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=o(n(0)),a=(0,r(n(287)).default)(i.createElement("path",{d:"M12 6c3.79 0 7.17 2.13 8.82 5.5C19.17 14.87 15.79 17 12 17s-7.17-2.13-8.82-5.5C4.83 8.13 8.21 6 12 6m0-2C7 4 2.73 7.11 1 11.5 2.73 15.89 7 19 12 19s9.27-3.11 11-7.5C21.27 7.11 17 4 12 4zm0 5c1.38 0 2.5 1.12 2.5 2.5S13.38 14 12 14s-2.5-1.12-2.5-2.5S10.62 9 12 9m0-2c-2.48 0-4.5 2.02-4.5 4.5S9.52 16 12 16s4.5-2.02 4.5-4.5S14.48 7 12 7z"}),"VisibilityOutlined");t.default=a},function(e,t,n){"use strict";var r=n(209),o=n(286);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=o(n(0)),a=(0,r(n(287)).default)(i.createElement("path",{d:"M12 6c3.79 0 7.17 2.13 8.82 5.5-.59 1.22-1.42 2.27-2.41 3.12l1.41 1.41c1.39-1.23 2.49-2.77 3.18-4.53C21.27 7.11 17 4 12 4c-1.27 0-2.49.2-3.64.57l1.65 1.65C10.66 6.09 11.32 6 12 6zm-1.07 1.14L13 9.21c.57.25 1.03.71 1.28 1.28l2.07 2.07c.08-.34.14-.7.14-1.07C16.5 9.01 14.48 7 12 7c-.37 0-.72.05-1.07.14zM2.01 3.87l2.68 2.68C3.06 7.83 1.77 9.53 1 11.5 2.73 15.89 7 19 12 19c1.52 0 2.98-.29 4.32-.82l3.42 3.42 1.41-1.41L3.42 2.45 2.01 3.87zm7.5 7.5l2.61 2.61c-.04.01-.08.02-.12.02-1.38 0-2.5-1.12-2.5-2.5 0-.05.01-.08.01-.13zm-3.4-3.4l1.75 1.75c-.23.55-.36 1.15-.36 1.78 0 2.48 2.02 4.5 4.5 4.5.63 0 1.23-.13 1.77-.36l.98.98c-.88.24-1.8.38-2.75.38-3.79 0-7.17-2.13-8.82-5.5.7-1.43 1.72-2.61 2.93-3.53z"}),"VisibilityOffOutlined");t.default=a},,,function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=n(37),o=n(43),i=n(0),a=n.n(i),s=n(15),u=n.n(s),l=!1,c=n(142),f=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var o,i=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?i?(o="exited",r.appearStatus="entering"):o="entered":o=t.unmountOnExit||t.mountOnEnter?"unmounted":"exited",r.state={status:o},r.nextCallback=null,r}Object(o.a)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&"unmounted"===t.status?{status:"exited"}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?"entering"!==n&&"entered"!==n&&(t="entering"):"entering"!==n&&"entered"!==n||(t="exiting")}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!==typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){void 0===e&&(e=!1),null!==t?(this.cancelNextCallback(),"entering"===t?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&"exited"===this.state.status&&this.setState({status:"unmounted"})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[u.a.findDOMNode(this),r],i=o[0],a=o[1],s=this.getTimeouts(),c=r?s.appear:s.enter;!e&&!n||l?this.safeSetState({status:"entered"},(function(){t.props.onEntered(i)})):(this.props.onEnter(i,a),this.safeSetState({status:"entering"},(function(){t.props.onEntering(i,a),t.onTransitionEnd(c,(function(){t.safeSetState({status:"entered"},(function(){t.props.onEntered(i,a)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:u.a.findDOMNode(this);t&&!l?(this.props.onExit(r),this.safeSetState({status:"exiting"},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:"exited"},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:"exited"},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:u.a.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=o[0],a=o[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if("unmounted"===e)return null;var t=this.props,n=t.children,o=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,Object(r.a)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return a.a.createElement(c.a.Provider,{value:null},"function"===typeof n?n(e,o):a.a.cloneElement(a.a.Children.only(n),o))},t}(a.a.Component);function d(){}f.contextType=c.a,f.propTypes={},f.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:d,onEntering:d,onEntered:d,onExit:d,onExiting:d,onExited:d},f.UNMOUNTED="unmounted",f.EXITED="exited",f.ENTERING="entering",f.ENTERED="entered",f.EXITING="exiting";t.a=f},,function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},,function(e,t,n){e.exports=function(){"use strict";var e=Object.hasOwnProperty,t=Object.setPrototypeOf,n=Object.isFrozen,r=Object.getPrototypeOf,o=Object.getOwnPropertyDescriptor,i=Object.freeze,a=Object.seal,s=Object.create,u="undefined"!==typeof Reflect&&Reflect,l=u.apply,c=u.construct;l||(l=function(e,t,n){return e.apply(t,n)}),i||(i=function(e){return e}),a||(a=function(e){return e}),c||(c=function(e,t){return new(Function.prototype.bind.apply(e,[null].concat(function(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)}(t))))});var f,d=N(Array.prototype.forEach),p=N(Array.prototype.pop),h=N(Array.prototype.push),g=N(String.prototype.toLowerCase),y=N(String.prototype.match),m=N(String.prototype.replace),v=N(String.prototype.indexOf),b=N(String.prototype.trim),M=N(RegExp.prototype.test),w=(f=TypeError,function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return c(f,t)});function N(e){return function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return l(e,t,r)}}function j(e,r){t&&t(e,null);for(var o=r.length;o--;){var i=r[o];if("string"===typeof i){var a=g(i);a!==i&&(n(r)||(r[o]=a),i=a)}e[i]=!0}return e}function S(t){var n=s(null),r=void 0;for(r in t)l(e,t,[r])&&(n[r]=t[r]);return n}function I(e,t){for(;null!==e;){var n=o(e,t);if(n){if(n.get)return N(n.get);if("function"===typeof n.value)return N(n.value)}e=r(e)}return function(e){return console.warn("fallback value for",e),null}}var D=i(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),x=i(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),E=i(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),O=i(["animate","color-profile","cursor","discard","fedropshadow","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),T=i(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),C=i(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),k=i(["#text"]),L=i(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),_=i(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),A=i(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),z=i(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),P=a(/\{\{[\s\S]*|[\s\S]*\}\}/gm),R=a(/<%[\s\S]*|[\s\S]*%>/gm),U=a(/^data-[\-\w.\u00B7-\uFFFF]/),B=a(/^aria-[\-\w]+$/),F=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Y=a(/^(?:\w+script|data):/i),G=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),H="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};function V(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)}var Q=function(){return"undefined"===typeof window?null:window},W=function(e,t){if("object"!==("undefined"===typeof e?"undefined":H(e))||"function"!==typeof e.createPolicy)return null;var n=null;t.currentScript&&t.currentScript.hasAttribute("data-tt-policy-suffix")&&(n=t.currentScript.getAttribute("data-tt-policy-suffix"));var r="dompurify"+(n?"#"+n:"");try{return e.createPolicy(r,{createHTML:function(e){return e}})}catch(o){return console.warn("TrustedTypes policy "+r+" could not be created."),null}};return function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Q(),n=function(t){return e(t)};if(n.version="2.3.4",n.removed=[],!t||!t.document||9!==t.document.nodeType)return n.isSupported=!1,n;var r=t.document,o=t.document,a=t.DocumentFragment,s=t.HTMLTemplateElement,u=t.Node,l=t.Element,c=t.NodeFilter,f=t.NamedNodeMap,N=void 0===f?t.NamedNodeMap||t.MozNamedAttrMap:f,Z=t.HTMLFormElement,q=t.DOMParser,X=t.trustedTypes,$=l.prototype,J=I($,"cloneNode"),K=I($,"nextSibling"),ee=I($,"childNodes"),te=I($,"parentNode");if("function"===typeof s){var ne=o.createElement("template");ne.content&&ne.content.ownerDocument&&(o=ne.content.ownerDocument)}var re=W(X,r),oe=re&&ze?re.createHTML(""):"",ie=o,ae=ie.implementation,se=ie.createNodeIterator,ue=ie.createDocumentFragment,le=ie.getElementsByTagName,ce=r.importNode,fe={};try{fe=S(o).documentMode?o.documentMode:{}}catch(jt){}var de={};n.isSupported="function"===typeof te&&ae&&"undefined"!==typeof ae.createHTMLDocument&&9!==fe;var pe=P,he=R,ge=U,ye=B,me=Y,ve=G,be=F,Me=null,we=j({},[].concat(V(D),V(x),V(E),V(T),V(k))),Ne=null,je=j({},[].concat(V(L),V(_),V(A),V(z))),Se=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Ie=null,De=null,xe=!0,Ee=!0,Oe=!1,Te=!1,Ce=!1,ke=!1,Le=!1,_e=!1,Ae=!1,ze=!1,Pe=!0,Re=!0,Ue=!1,Be={},Fe=null,Ye=j({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Ge=null,He=j({},["audio","video","img","source","image","track"]),Ve=null,Qe=j({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),We="http://www.w3.org/1998/Math/MathML",Ze="http://www.w3.org/2000/svg",qe="http://www.w3.org/1999/xhtml",Xe=qe,$e=!1,Je=void 0,Ke=["application/xhtml+xml","text/html"],et="text/html",tt=void 0,nt=null,rt=o.createElement("form"),ot=function(e){return e instanceof RegExp||e instanceof Function},it=function(e){nt&&nt===e||(e&&"object"===("undefined"===typeof e?"undefined":H(e))||(e={}),e=S(e),Me="ALLOWED_TAGS"in e?j({},e.ALLOWED_TAGS):we,Ne="ALLOWED_ATTR"in e?j({},e.ALLOWED_ATTR):je,Ve="ADD_URI_SAFE_ATTR"in e?j(S(Qe),e.ADD_URI_SAFE_ATTR):Qe,Ge="ADD_DATA_URI_TAGS"in e?j(S(He),e.ADD_DATA_URI_TAGS):He,Fe="FORBID_CONTENTS"in e?j({},e.FORBID_CONTENTS):Ye,Ie="FORBID_TAGS"in e?j({},e.FORBID_TAGS):{},De="FORBID_ATTR"in e?j({},e.FORBID_ATTR):{},Be="USE_PROFILES"in e&&e.USE_PROFILES,xe=!1!==e.ALLOW_ARIA_ATTR,Ee=!1!==e.ALLOW_DATA_ATTR,Oe=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Te=e.SAFE_FOR_TEMPLATES||!1,Ce=e.WHOLE_DOCUMENT||!1,_e=e.RETURN_DOM||!1,Ae=e.RETURN_DOM_FRAGMENT||!1,ze=e.RETURN_TRUSTED_TYPE||!1,Le=e.FORCE_BODY||!1,Pe=!1!==e.SANITIZE_DOM,Re=!1!==e.KEEP_CONTENT,Ue=e.IN_PLACE||!1,be=e.ALLOWED_URI_REGEXP||be,Xe=e.NAMESPACE||qe,e.CUSTOM_ELEMENT_HANDLING&&ot(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Se.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&ot(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Se.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"===typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Se.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Je=Je=-1===Ke.indexOf(e.PARSER_MEDIA_TYPE)?et:e.PARSER_MEDIA_TYPE,tt="application/xhtml+xml"===Je?function(e){return e}:g,Te&&(Ee=!1),Ae&&(_e=!0),Be&&(Me=j({},[].concat(V(k))),Ne=[],!0===Be.html&&(j(Me,D),j(Ne,L)),!0===Be.svg&&(j(Me,x),j(Ne,_),j(Ne,z)),!0===Be.svgFilters&&(j(Me,E),j(Ne,_),j(Ne,z)),!0===Be.mathMl&&(j(Me,T),j(Ne,A),j(Ne,z))),e.ADD_TAGS&&(Me===we&&(Me=S(Me)),j(Me,e.ADD_TAGS)),e.ADD_ATTR&&(Ne===je&&(Ne=S(Ne)),j(Ne,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&j(Ve,e.ADD_URI_SAFE_ATTR),e.FORBID_CONTENTS&&(Fe===Ye&&(Fe=S(Fe)),j(Fe,e.FORBID_CONTENTS)),Re&&(Me["#text"]=!0),Ce&&j(Me,["html","head","body"]),Me.table&&(j(Me,["tbody"]),delete Ie.tbody),i&&i(e),nt=e)},at=j({},["mi","mo","mn","ms","mtext"]),st=j({},["foreignobject","desc","title","annotation-xml"]),ut=j({},x);j(ut,E),j(ut,O);var lt=j({},T);j(lt,C);var ct=function(e){var t=te(e);t&&t.tagName||(t={namespaceURI:qe,tagName:"template"});var n=g(e.tagName),r=g(t.tagName);if(e.namespaceURI===Ze)return t.namespaceURI===qe?"svg"===n:t.namespaceURI===We?"svg"===n&&("annotation-xml"===r||at[r]):Boolean(ut[n]);if(e.namespaceURI===We)return t.namespaceURI===qe?"math"===n:t.namespaceURI===Ze?"math"===n&&st[r]:Boolean(lt[n]);if(e.namespaceURI===qe){if(t.namespaceURI===Ze&&!st[r])return!1;if(t.namespaceURI===We&&!at[r])return!1;var o=j({},["title","style","font","a","script"]);return!lt[n]&&(o[n]||!ut[n])}return!1},ft=function(e){h(n.removed,{element:e});try{e.parentNode.removeChild(e)}catch(jt){try{e.outerHTML=oe}catch(jt){e.remove()}}},dt=function(e,t){try{h(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(jt){h(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!Ne[e])if(_e||Ae)try{ft(t)}catch(jt){}else try{t.setAttribute(e,"")}catch(jt){}},pt=function(e){var t=void 0,n=void 0;if(Le)e="<remove></remove>"+e;else{var r=y(e,/^[\r\n\t ]+/);n=r&&r[0]}"application/xhtml+xml"===Je&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");var i=re?re.createHTML(e):e;if(Xe===qe)try{t=(new q).parseFromString(i,Je)}catch(jt){}if(!t||!t.documentElement){t=ae.createDocument(Xe,"template",null);try{t.documentElement.innerHTML=$e?"":i}catch(jt){}}var a=t.body||t.documentElement;return e&&n&&a.insertBefore(o.createTextNode(n),a.childNodes[0]||null),Xe===qe?le.call(t,Ce?"html":"body")[0]:Ce?t.documentElement:a},ht=function(e){return se.call(e.ownerDocument||e,e,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT,null,!1)},gt=function(e){return e instanceof Z&&("string"!==typeof e.nodeName||"string"!==typeof e.textContent||"function"!==typeof e.removeChild||!(e.attributes instanceof N)||"function"!==typeof e.removeAttribute||"function"!==typeof e.setAttribute||"string"!==typeof e.namespaceURI||"function"!==typeof e.insertBefore)},yt=function(e){return"object"===("undefined"===typeof u?"undefined":H(u))?e instanceof u:e&&"object"===("undefined"===typeof e?"undefined":H(e))&&"number"===typeof e.nodeType&&"string"===typeof e.nodeName},mt=function(e,t,r){de[e]&&d(de[e],(function(e){e.call(n,t,r,nt)}))},vt=function(e){var t=void 0;if(mt("beforeSanitizeElements",e,null),gt(e))return ft(e),!0;if(y(e.nodeName,/[\u0080-\uFFFF]/))return ft(e),!0;var r=tt(e.nodeName);if(mt("uponSanitizeElement",e,{tagName:r,allowedTags:Me}),!yt(e.firstElementChild)&&(!yt(e.content)||!yt(e.content.firstElementChild))&&M(/<[/\w]/g,e.innerHTML)&&M(/<[/\w]/g,e.textContent))return ft(e),!0;if("select"===r&&M(/<template/i,e.innerHTML))return ft(e),!0;if(!Me[r]||Ie[r]){if(Re&&!Fe[r]){var o=te(e)||e.parentNode,i=ee(e)||e.childNodes;if(i&&o)for(var a=i.length-1;a>=0;--a)o.insertBefore(J(i[a],!0),K(e))}if(!Ie[r]&&Mt(r)){if(Se.tagNameCheck instanceof RegExp&&M(Se.tagNameCheck,r))return!1;if(Se.tagNameCheck instanceof Function&&Se.tagNameCheck(r))return!1}return ft(e),!0}return e instanceof l&&!ct(e)?(ft(e),!0):"noscript"!==r&&"noembed"!==r||!M(/<\/no(script|embed)/i,e.innerHTML)?(Te&&3===e.nodeType&&(t=e.textContent,t=m(t,pe," "),t=m(t,he," "),e.textContent!==t&&(h(n.removed,{element:e.cloneNode()}),e.textContent=t)),mt("afterSanitizeElements",e,null),!1):(ft(e),!0)},bt=function(e,t,n){if(Pe&&("id"===t||"name"===t)&&(n in o||n in rt))return!1;if(Ee&&!De[t]&&M(ge,t));else if(xe&&M(ye,t));else if(!Ne[t]||De[t]){if(!(Mt(e)&&(Se.tagNameCheck instanceof RegExp&&M(Se.tagNameCheck,e)||Se.tagNameCheck instanceof Function&&Se.tagNameCheck(e))&&(Se.attributeNameCheck instanceof RegExp&&M(Se.attributeNameCheck,t)||Se.attributeNameCheck instanceof Function&&Se.attributeNameCheck(t))||"is"===t&&Se.allowCustomizedBuiltInElements&&(Se.tagNameCheck instanceof RegExp&&M(Se.tagNameCheck,n)||Se.tagNameCheck instanceof Function&&Se.tagNameCheck(n))))return!1}else if(Ve[t]);else if(M(be,m(n,ve,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==v(n,"data:")||!Ge[e])if(Oe&&!M(me,m(n,ve,"")));else if(n)return!1;return!0},Mt=function(e){return e.indexOf("-")>0},wt=function(e){var t=void 0,r=void 0,o=void 0,i=void 0;mt("beforeSanitizeAttributes",e,null);var a=e.attributes;if(a){var s={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Ne};for(i=a.length;i--;){var u=t=a[i],l=u.name,c=u.namespaceURI;if(r=b(t.value),o=tt(l),s.attrName=o,s.attrValue=r,s.keepAttr=!0,s.forceKeepAttr=void 0,mt("uponSanitizeAttribute",e,s),r=s.attrValue,!s.forceKeepAttr&&(dt(l,e),s.keepAttr))if(M(/\/>/i,r))dt(l,e);else{Te&&(r=m(r,pe," "),r=m(r,he," "));var f=tt(e.nodeName);if(bt(f,o,r))try{c?e.setAttributeNS(c,l,r):e.setAttribute(l,r),p(n.removed)}catch(jt){}}}mt("afterSanitizeAttributes",e,null)}},Nt=function e(t){var n=void 0,r=ht(t);for(mt("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)mt("uponSanitizeShadowNode",n,null),vt(n)||(n.content instanceof a&&e(n.content),wt(n));mt("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(e,o){var i=void 0,s=void 0,l=void 0,c=void 0,f=void 0;if(($e=!e)&&(e="\x3c!--\x3e"),"string"!==typeof e&&!yt(e)){if("function"!==typeof e.toString)throw w("toString is not a function");if("string"!==typeof(e=e.toString()))throw w("dirty is not a string, aborting")}if(!n.isSupported){if("object"===H(t.toStaticHTML)||"function"===typeof t.toStaticHTML){if("string"===typeof e)return t.toStaticHTML(e);if(yt(e))return t.toStaticHTML(e.outerHTML)}return e}if(ke||it(o),n.removed=[],"string"===typeof e&&(Ue=!1),Ue);else if(e instanceof u)1===(s=(i=pt("\x3c!----\x3e")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===s.nodeName||"HTML"===s.nodeName?i=s:i.appendChild(s);else{if(!_e&&!Te&&!Ce&&-1===e.indexOf("<"))return re&&ze?re.createHTML(e):e;if(!(i=pt(e)))return _e?null:oe}i&&Le&&ft(i.firstChild);for(var d=ht(Ue?e:i);l=d.nextNode();)3===l.nodeType&&l===c||vt(l)||(l.content instanceof a&&Nt(l.content),wt(l),c=l);if(c=null,Ue)return e;if(_e){if(Ae)for(f=ue.call(i.ownerDocument);i.firstChild;)f.appendChild(i.firstChild);else f=i;return Ne.shadowroot&&(f=ce.call(r,f,!0)),f}var p=Ce?i.outerHTML:i.innerHTML;return Te&&(p=m(p,pe," "),p=m(p,he," ")),re&&ze?re.createHTML(p):p},n.setConfig=function(e){it(e),ke=!0},n.clearConfig=function(){nt=null,ke=!1},n.isValidAttribute=function(e,t,n){nt||it({});var r=tt(e),o=tt(t);return bt(r,o,n)},n.addHook=function(e,t){"function"===typeof t&&(de[e]=de[e]||[],h(de[e],t))},n.removeHook=function(e){de[e]&&p(de[e])},n.removeHooks=function(e){de[e]&&(de[e]=[])},n.removeAllHooks=function(){de={}},n}()}()},function(e,t,n){"use strict";function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,"a",(function(){return r}))},function(e,t,n){var r=n(214);e.exports=function(e,t){return r(e,t)}},function(e,t,n){var r=n(427),o=n(99);e.exports=function e(t,n,i,a,s){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!==t&&n!==n:r(t,n,i,a,e,s))}},function(e,t,n){var r=n(165),o=n(433),i=n(434),a=n(435),s=n(436),u=n(437);function l(e){var t=this.__data__=new r(e);this.size=t.size}l.prototype.clear=o,l.prototype.delete=i,l.prototype.get=a,l.prototype.has=s,l.prototype.set=u,e.exports=l},function(e,t,n){var r=n(107)(n(81),"Map");e.exports=r},function(e,t,n){var r=n(444),o=n(451),i=n(453),a=n(454),s=n(455);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=s,e.exports=u},function(e,t){e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},function(e,t,n){var r=n(465),o=n(308),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),r(a(e),(function(t){return i.call(e,t)})))}:o;e.exports=s},function(e,t,n){var r=n(467),o=n(99),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,u=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=u},function(e,t,n){(function(e){var r=n(81),o=n(468),i=t&&!t.nodeType&&t,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===i?r.Buffer:void 0,u=(s?s.isBuffer:void 0)||o;e.exports=u}).call(this,n(147)(e))},function(e,t){var n=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var r=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&n.test(e))&&e>-1&&e%1==0&&e<t}},function(e,t){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},function(e,t){e.exports=function(e){return function(t){return e(t)}}},function(e,t,n){(function(e){var r=n(302),o=t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,s=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(t){}}();e.exports=s}).call(this,n(147)(e))},function(e,t){var n=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||n)}},function(e,t,n){var r=n(312);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},function(e,t,n){var r=n(480),o=n(483)(r);e.exports=o},function(e,t,n){var r=n(171),o=n(149);e.exports=function(e,t){for(var n=0,i=(t=r(t,e)).length;null!=e&&n<i;)e=e[o(t[n++])];return n&&n==i?e:void 0}},function(e,t,n){var r=n(62),o=n(231),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||(a.test(e)||!i.test(e)||null!=t&&e in Object(t))}},function(e,t,n){var r=n(125),o=n(99);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}},,function(e,t,n){"use strict";t.__esModule=!0,t.default=t.EXITING=t.ENTERED=t.ENTERING=t.EXITED=t.UNMOUNTED=void 0;var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(n(2)),o=s(n(0)),i=s(n(15)),a=n(329);n(330);function s(e){return e&&e.__esModule?e:{default:e}}t.UNMOUNTED="unmounted";t.EXITED="exited";t.ENTERING="entering";t.ENTERED="entered";t.EXITING="exiting";var u=function(e){var t,n;function r(t,n){var r;r=e.call(this,t,n)||this;var o,i=n.transitionGroup,a=i&&!i.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?a?(o="exited",r.appearStatus="entering"):o="entered":o=t.unmountOnExit||t.mountOnEnter?"unmounted":"exited",r.state={status:o},r.nextCallback=null,r}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var a=r.prototype;return a.getChildContext=function(){return{transitionGroup:null}},r.getDerivedStateFromProps=function(e,t){return e.in&&"unmounted"===t.status?{status:"exited"}:null},a.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},a.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?"entering"!==n&&"entered"!==n&&(t="entering"):"entering"!==n&&"entered"!==n||(t="exiting")}this.updateStatus(!1,t)},a.componentWillUnmount=function(){this.cancelNextCallback()},a.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!==typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},a.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t){this.cancelNextCallback();var n=i.default.findDOMNode(this);"entering"===t?this.performEnter(n,e):this.performExit(n)}else this.props.unmountOnExit&&"exited"===this.state.status&&this.setState({status:"unmounted"})},a.performEnter=function(e,t){var n=this,r=this.props.enter,o=this.context.transitionGroup?this.context.transitionGroup.isMounting:t,i=this.getTimeouts(),a=o?i.appear:i.enter;t||r?(this.props.onEnter(e,o),this.safeSetState({status:"entering"},(function(){n.props.onEntering(e,o),n.onTransitionEnd(e,a,(function(){n.safeSetState({status:"entered"},(function(){n.props.onEntered(e,o)}))}))}))):this.safeSetState({status:"entered"},(function(){n.props.onEntered(e)}))},a.performExit=function(e){var t=this,n=this.props.exit,r=this.getTimeouts();n?(this.props.onExit(e),this.safeSetState({status:"exiting"},(function(){t.props.onExiting(e),t.onTransitionEnd(e,r.exit,(function(){t.safeSetState({status:"exited"},(function(){t.props.onExited(e)}))}))}))):this.safeSetState({status:"exited"},(function(){t.props.onExited(e)}))},a.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},a.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},a.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},a.onTransitionEnd=function(e,t,n){this.setNextCallback(n);var r=null==t&&!this.props.addEndListener;e&&!r?(this.props.addEndListener&&this.props.addEndListener(e,this.nextCallback),null!=t&&setTimeout(this.nextCallback,t)):setTimeout(this.nextCallback,0)},a.render=function(){var e=this.state.status;if("unmounted"===e)return null;var t=this.props,n=t.children,r=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(t,["children"]);if(delete r.in,delete r.mountOnEnter,delete r.unmountOnExit,delete r.appear,delete r.enter,delete r.exit,delete r.timeout,delete r.addEndListener,delete r.onEnter,delete r.onEntering,delete r.onEntered,delete r.onExit,delete r.onExiting,delete r.onExited,"function"===typeof n)return n(e,r);var i=o.default.Children.only(n);return o.default.cloneElement(i,r)},r}(o.default.Component);function l(){}u.contextTypes={transitionGroup:r.object},u.childContextTypes={transitionGroup:function(){}},u.propTypes={},u.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:l,onEntering:l,onEntered:l,onExit:l,onExiting:l,onExited:l},u.UNMOUNTED=0,u.EXITED=1,u.ENTERING=2,u.ENTERED=3,u.EXITING=4;var c=(0,a.polyfill)(u);t.default=c},function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=s(n(2)),o=s(n(0)),i=n(329),a=n(533);function s(e){return e&&e.__esModule?e:{default:e}}function u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var c=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},f=function(e){var t,n;function r(t,n){var r,o=(r=e.call(this,t,n)||this).handleExited.bind(l(l(r)));return r.state={handleExited:o,firstRender:!0},r}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.getChildContext=function(){return{transitionGroup:{isMounting:!this.appeared}}},i.componentDidMount=function(){this.appeared=!0,this.mounted=!0},i.componentWillUnmount=function(){this.mounted=!1},r.getDerivedStateFromProps=function(e,t){var n=t.children,r=t.handleExited;return{children:t.firstRender?(0,a.getInitialChildMapping)(e,r):(0,a.getNextChildMapping)(e,n,r),firstRender:!1}},i.handleExited=function(e,t){var n=(0,a.getChildMapping)(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=u({},t.children);return delete n[e.key],{children:n}})))},i.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["component","childFactory"]),i=c(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?i:o.default.createElement(t,r,i)},r}(o.default.Component);f.childContextTypes={transitionGroup:r.default.object.isRequired},f.propTypes={},f.defaultProps={component:"div",childFactory:function(e){return e}};var d=(0,i.polyfill)(f);t.default=d,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.load=function(e){var t=e.cb,n=e.check,r=e.method,o=e.url;i[r]||(i[r]=[],window.Auth0[r]=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];i[r]=i[r].filter((function(e){return!e.check.apply(e,t)||(setTimeout((function(){return e.cb.apply(e,[null].concat(t))}),0),!1)}))});if(i[r].push({cb:t,check:n,url:o}),i[r].reduce((function(e,t){return e+(t.url===o?1:0)}),0)>1)return;var a=window.document.createElement("script");a.src=o,window.document.getElementsByTagName("head")[0].appendChild(a);var s=function(e){i[r]=i[r].filter((function(t){return t.url!==o||(setTimeout((function(){return t.cb(e)}),0),!1)}))},u=setTimeout((function(){return s(new Error(o+" timed out"))}),2e4);a.addEventListener("load",(function(){return clearTimeout(u)})),a.addEventListener("error",(function(){clearTimeout(u),s(new Error(o+" could not be loaded."))}))},t.preload=function(e){var t=e.method,n=e.cb;window.Auth0[t]=n};var r,o=n(334);(r=o)&&r.__esModule;"undefined"===typeof window||window.Auth0||(window.Auth0={});var i={}},function(e,t,n){"use strict";t.__esModule=!0,t.changeField=function(e,t,n,i){for(var a=arguments.length,s=Array(a>4?a-4:0),u=4;u<a;u++)s[u-4]=arguments[u];r.swap.apply(void 0,[r.updateEntity,"lock",e,o.setField,t,n,i].concat(s))},t.startOptionSelection=function(e,t,n,o){(0,r.swap)(r.updateEntity,"lock",e,(function(e){return e.setIn(["field","selecting","name"],t).setIn(["field","selecting","iconUrl"],n).setIn(["field","selecting","icon"],o)}))},t.selectOption=function(e,t,n){(0,r.swap)(r.updateEntity,"lock",e,(function(e){return(0,o.setOptionField)(e.deleteIn(["field","selecting"]),t,n)}))},t.cancelOptionSelection=function(e){(0,r.swap)(r.updateEntity,"lock",e,(function(e){return e.deleteIn(["field","selecting"])}))};n(48);var r=n(35),o=n(26)},function(e,t,n){"use strict";t.__esModule=!0,t.getUsernameValidation=d,t.setUsername=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"username",r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],s=r?d(e):null,u=function(e){switch(n){case"email":return(0,i.validateEmail)(e);case"username":return f(e,r,s,a);default:return p(e)?(0,i.validateEmail)(e):f(e,r,s,a)}};return(0,o.setField)(e,"username",t,u)},t.usernameLooksLikeEmail=p;var r,o=n(26),i=n(90),a=n(49),s=n(110),u=(r=s)&&r.__esModule?r:{default:r};var l={username:{min:1,max:15}},c=/^[a-zA-Z0-9_+\-.!#\$\^`~@']*$/;function f(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l.username,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!t||null==n)return(0,u.default)(e).length>0;var o=(0,u.default)(e.toLowerCase());if(o.length<n.min)return!1;if(o.length>n.max)return!1;if(r&&!0===(0,i.validateEmail)(e))return!1;var a=c.exec(o);return!(!a||!a[0])}function d(e){var t=(0,a.databaseConnection)(e).getIn(["validation","username"]);return t?t.toJS():null}function p(e){return e.indexOf("@")>-1&&e.indexOf(".")>-1}},function(e,t,n){"use strict";t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.initTenant=function(e,t,n){return c(e,function(e,t){return new o.default.fromJS({connections:h(e,t),defaultDirectory:t.defaultDirectory||null})}(t,n))},t.tenantConnections=function(e){return f(e,"connections",p)},t.defaultDirectory=function(e){var t=g(e);return t&&s.findConnection(e,t)},t.defaultDirectoryName=g;var o=u(n(48)),i=u(n(337)),a=n(82),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(12));function u(e){return e&&e.__esModule?e:{default:e}}var l=(0,a.dataFns)(["client"]),c=l.initNS,f=l.get,d={username:{min:1,max:15}};var p=o.default.fromJS({database:[],enterprise:[],passwordless:[],social:[],unknown:[]});function h(e,t){var n=p.toJS(),o=Object.keys(t.connections).filter((function(e){return"passwordless"!=e})),a=null;return t.clientsConnections&&t.clientsConnections[e]&&(a=t.clientsConnections[e]),o.forEach((function(e){var o,s=t.connections[e].map((function(t){return function(e,t){var n={name:t.name,strategy:t.strategy,type:e};"database"===e&&(t.validation&&t.validation.passwordPolicy&&(n.passwordPolicy=t.validation.passwordPolicy),n.passwordPolicy=i.default[n.passwordPolicy||"none"],n.allowSignup="boolean"!==typeof t.allowSignup||t.allowSignup,n.allowForgot="boolean"!==typeof t.allowForgot||t.allowForgot,n.requireUsername="boolean"===typeof t.requiresUsername&&t.requiresUsername,n.validation=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(null==e.username)return null;var t=r({},d,e),n=d.username.min,o=d.username.max;return t.username.min=parseInt(t.username.min,10)||n,t.username.max=parseInt(t.username.max,10)||o,t.username.min>t.username.max&&(t.username.min=n,t.username.max=o),t}(t.validation));"enterprise"===e&&(n.domains=t.domains);return n}(e,t)})).filter((function(e){return null===a||a.includes(e.name)}));(o=n[e]).push.apply(o,s)})),n}function g(e){return f(e,"defaultDirectory",null)}},function(e,t,n){var r=n(150),o=[" ","!",'"',"#","\\$","%","&","'","\\(","\\)","\\*","\\+",",","-","\\.","/",":",";","<","=",">","\\?","@","\\[","\\\\","\\]","\\^","_","`","{","\\|","}","~"].join("|"),i=new RegExp(o);e.exports={validate:function(e){if(!r.isObject(e))throw new Error("options should be an object");if(!r.isArray(e.expressions)||r.isEmpty(e.expressions))throw new Error("contains expects expressions to be a non-empty array");if(!e.expressions.every((function(e){return r.isFunction(e.explain)&&r.isFunction(e.test)})))throw new Error("contains expressions are invalid: An explain and a test function should be provided");return!0},explain:function(e){return{message:"Should contain:",code:"shouldContain",items:e.expressions.map((function(e){return e.explain()}))}},missing:function(e,t){var n=e.expressions.map((function(e){var n=e.explain();return n.verified=e.test(t),n}));return{message:"Should contain:",code:"shouldContain",verified:n.every((function(e){return e.verified})),items:n}},assert:function(e,t){return!!t&&e.expressions.every((function(e){return e.test(t)}))},charsets:{upperCase:{explain:function(){return{message:"upper case letters (A-Z)",code:"upperCase"}},test:function(e){return/[A-Z]/.test(e)}},lowerCase:{explain:function(){return{message:"lower case letters (a-z)",code:"lowerCase"}},test:function(e){return/[a-z]/.test(e)}},specialCharacters:{explain:function(){return{message:"special characters (e.g. !@#$%^&*)",code:"specialCharacters"}},test:function(e){return i.test(e)}},numbers:{explain:function(){return{message:"numbers (i.e. 0-9)",code:"numbers"}},test:function(e){return/\d/.test(e)}}}}},function(e,t,n){var r=n(150).format,o=n(552);var i={length:n(553),contains:n(240),containsAtLeast:n(554),identicalChars:n(555)};function a(e,t){if(!e.length)return"";function n(e,t){var n=new Array(t+1).join(" "),o=n+"* ";return e.format?o+=r.apply(null,[e.message].concat(e.format)):o+=e.message,e.items&&(o+="\n"+n+a(e.items,t+1)),o}var o=n(e[0],t);return e=e.slice(1).reduce((function(e,r){return e+="\n"+n(r,t)}),o)}function s(e,t){this.rules=e,this.ruleset=t||i,this._reduce((function(e,t,n){n.validate(t)}))}s.prototype={},s.prototype._reduce=function(e,t){var n=this;return Object.keys(this.rules).reduce((function(t,r){var o=n.rules[r],i=n.ruleset[r];return e(t,o,i)}),t)},s.prototype._applyRules=function(e){return this._reduce((function(t,n,r){return!!t&&(!!r&&r.assert(n,e))}),!0)},s.prototype.missing=function(e){return this._reduce((function(t,n,r){var o=r.missing(n,e);return t.rules.push(o),t.verified=t.verified&&!!o.verified,t}),{rules:[],verified:!0})},s.prototype.explain=function(){return this._reduce((function(e,t,n){return e.push(n.explain(t)),e}),[])},s.prototype.missingAsMarkdown=function(e){return a(this.missing(e),1)},s.prototype.toString=function(){return a(this.explain(),0)},s.prototype.check=function(e){return("string"===typeof(t=e)||t instanceof String)&&this._applyRules(e);var t},s.prototype.assert=function(e){if(!this.check(e))throw new o("Password does not meet password policy")},e.exports=s},function(e,t,n){"use strict";t.__esModule=!0,t.skipQuickAuth=function(e,t){return i(e,"skipped",t)},t.hasSkippedQuickAuth=function(e){return o(e,"skipped",!1)};var r=(0,n(82).dataFns)(["quickAuth"]),o=r.tget,i=r.tset},function(e,t,n){"use strict";var r=n(558),o=n(565),i=n(248);e.exports={formats:i,parse:o,stringify:r}},function(e,t,n){"use strict";var r=SyntaxError,o=Function,i=TypeError,a=function(e){try{return o('"use strict"; return ('+e+").constructor;")()}catch(t){}},s=Object.getOwnPropertyDescriptor;if(s)try{s({},"")}catch(D){s=null}var u=function(){throw new i},l=s?function(){try{return u}catch(e){try{return s(arguments,"callee").get}catch(t){return u}}}():u,c=n(560)(),f=Object.getPrototypeOf||function(e){return e.__proto__},d={},p="undefined"===typeof Uint8Array?void 0:f(Uint8Array),h={"%AggregateError%":"undefined"===typeof AggregateError?void 0:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"===typeof ArrayBuffer?void 0:ArrayBuffer,"%ArrayIteratorPrototype%":c?f([][Symbol.iterator]()):void 0,"%AsyncFromSyncIteratorPrototype%":void 0,"%AsyncFunction%":d,"%AsyncGenerator%":d,"%AsyncGeneratorFunction%":d,"%AsyncIteratorPrototype%":d,"%Atomics%":"undefined"===typeof Atomics?void 0:Atomics,"%BigInt%":"undefined"===typeof BigInt?void 0:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"===typeof DataView?void 0:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"===typeof Float32Array?void 0:Float32Array,"%Float64Array%":"undefined"===typeof Float64Array?void 0:Float64Array,"%FinalizationRegistry%":"undefined"===typeof FinalizationRegistry?void 0:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":d,"%Int8Array%":"undefined"===typeof Int8Array?void 0:Int8Array,"%Int16Array%":"undefined"===typeof Int16Array?void 0:Int16Array,"%Int32Array%":"undefined"===typeof Int32Array?void 0:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":c?f(f([][Symbol.iterator]())):void 0,"%JSON%":"object"===typeof JSON?JSON:void 0,"%Map%":"undefined"===typeof Map?void 0:Map,"%MapIteratorPrototype%":"undefined"!==typeof Map&&c?f((new Map)[Symbol.iterator]()):void 0,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"===typeof Promise?void 0:Promise,"%Proxy%":"undefined"===typeof Proxy?void 0:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"===typeof Reflect?void 0:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"===typeof Set?void 0:Set,"%SetIteratorPrototype%":"undefined"!==typeof Set&&c?f((new Set)[Symbol.iterator]()):void 0,"%SharedArrayBuffer%":"undefined"===typeof SharedArrayBuffer?void 0:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":c?f(""[Symbol.iterator]()):void 0,"%Symbol%":c?Symbol:void 0,"%SyntaxError%":r,"%ThrowTypeError%":l,"%TypedArray%":p,"%TypeError%":i,"%Uint8Array%":"undefined"===typeof Uint8Array?void 0:Uint8Array,"%Uint8ClampedArray%":"undefined"===typeof Uint8ClampedArray?void 0:Uint8ClampedArray,"%Uint16Array%":"undefined"===typeof Uint16Array?void 0:Uint16Array,"%Uint32Array%":"undefined"===typeof Uint32Array?void 0:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"===typeof WeakMap?void 0:WeakMap,"%WeakRef%":"undefined"===typeof WeakRef?void 0:WeakRef,"%WeakSet%":"undefined"===typeof WeakSet?void 0:WeakSet},g={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},y=n(245),m=n(562),v=y.call(Function.call,Array.prototype.concat),b=y.call(Function.apply,Array.prototype.splice),M=y.call(Function.call,String.prototype.replace),w=y.call(Function.call,String.prototype.slice),N=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,j=/\\(\\)?/g,S=function(e){var t=w(e,0,1),n=w(e,-1);if("%"===t&&"%"!==n)throw new r("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new r("invalid intrinsic syntax, expected opening `%`");var o=[];return M(e,N,(function(e,t,n,r){o[o.length]=n?M(r,j,"$1"):t||e})),o},I=function(e,t){var n,o=e;if(m(g,o)&&(o="%"+(n=g[o])[0]+"%"),m(h,o)){var s=h[o];if(s===d&&(s=function e(t){var n;if("%AsyncFunction%"===t)n=a("async function () {}");else if("%GeneratorFunction%"===t)n=a("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=a("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&(n=f(o.prototype))}return h[t]=n,n}(o)),"undefined"===typeof s&&!t)throw new i("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:o,value:s}}throw new r("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!==typeof e||0===e.length)throw new i("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!==typeof t)throw new i('"allowMissing" argument must be a boolean');var n=S(e),o=n.length>0?n[0]:"",a=I("%"+o+"%",t),u=a.name,l=a.value,c=!1,f=a.alias;f&&(o=f[0],b(n,v([0,1],f)));for(var d=1,p=!0;d<n.length;d+=1){var g=n[d],y=w(g,0,1),M=w(g,-1);if(('"'===y||"'"===y||"`"===y||'"'===M||"'"===M||"`"===M)&&y!==M)throw new r("property names with quotes must have matching quotes");if("constructor"!==g&&p||(c=!0),m(h,u="%"+(o+="."+g)+"%"))l=h[u];else if(null!=l){if(!(g in l)){if(!t)throw new i("base intrinsic for "+e+" exists, but the property is not available.");return}if(s&&d+1>=n.length){var N=s(l,g);l=(p=!!N)&&"get"in N&&!("originalValue"in N.get)?N.get:l[g]}else p=m(l,g),l=l[g];p&&!c&&(h[u]=l)}}return l}},function(e,t,n){"use strict";var r=n(561);e.exports=Function.prototype.bind||r},function(e,t,n){"use strict";var r=n(244),o=n(247),i=o(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"===typeof n&&i(e,".prototype.")>-1?o(n):n}},function(e,t,n){"use strict";var r=n(245),o=n(244),i=o("%Function.prototype.apply%"),a=o("%Function.prototype.call%"),s=o("%Reflect.apply%",!0)||r.call(a,i),u=o("%Object.getOwnPropertyDescriptor%",!0),l=o("%Object.defineProperty%",!0),c=o("%Math.max%");if(l)try{l({},"a",{value:1})}catch(d){l=null}e.exports=function(e){var t=s(r,a,arguments);if(u&&l){var n=u(t,"length");n.configurable&&l(t,"length",{value:1+c(0,e.length-(arguments.length-1))})}return t};var f=function(){return s(r,i,arguments)};l?l(e.exports,"apply",{value:f}):e.exports.apply=f},function(e,t,n){"use strict";var r=String.prototype.replace,o=/%20/g,i="RFC1738",a="RFC3986";e.exports={default:a,formatters:{RFC1738:function(e){return r.call(e,o,"+")},RFC3986:function(e){return String(e)}},RFC1738:i,RFC3986:a}},function(e,t,n){"use strict";t.__esModule=!0;var r=d(n(2)),o=d(n(0)),i=d(n(577)),a=f(n(26)),s=n(35),u=f(n(12)),l=n(238),c=n(343);function f(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function d(e){return e&&e.__esModule?e:{default:e}}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var g=function(e){function t(){return p(this,t),h(this,e.apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.componentDidMount=function(e){var t=this.props,n=t.lock,r=t.validateFormat,o=t.usernameStyle,i=t.strictValidation;u.ui.avatar(n)&&a.username(n)&&(0,c.requestAvatar)(u.id(n),a.username(n)),(0,s.swap)(s.updateEntity,"lock",u.id(n),l.setUsername,a.username(n),o,r,i)},t.prototype.handleChange=function(e){var t=this.props,n=t.lock,r=t.validateFormat,o=t.usernameStyle,i=t.strictValidation;u.ui.avatar(n)&&(0,c.debouncedRequestAvatar)(u.id(n),e.target.value),(0,s.swap)(s.updateEntity,"lock",u.id(n),l.setUsername,e.target.value,o,r,i)},t.prototype.render=function(){var e=this.props,t=e.i18n,n=e.lock,r=e.placeholder,s=e.validateFormat,c=u.ui.allowAutocomplete(n),f=a.getFieldValue(n,"username"),d=s?(0,l.getUsernameValidation)(n):{};return o.default.createElement(i.default,{value:f,invalidHint:function(e){var n=function(e){return e?(0,l.usernameLooksLikeEmail)(e)||!s?t.str("invalidErrorHint")?"invalidErrorHint":"invalidUsernameErrorHint":"usernameFormatErrorHint":t.str("blankErrorHint")?"blankErrorHint":"blankUsernameErrorHint"}(e);return"usernameFormatErrorHint"===n&&s&&null!=d?t.str(n,d.min,d.max):t.str(n)}(f),isValid:!a.isFieldVisiblyInvalid(n,"username"),onChange:this.handleChange.bind(this),placeholder:r,autoComplete:c,disabled:u.submitting(n)})},t}(o.default.Component);t.default=g,g.propTypes={i18n:r.default.object.isRequired,lock:r.default.object.isRequired,placeholder:r.default.string.isRequired,validateFormat:r.default.bool.isRequired,usernameStyle:r.default.oneOf(["any","email","username"]),strictValidation:r.default.bool.isRequired},g.defaultProps={validateFormat:!1,usernameStyle:"username"}},function(e,t,n){"use strict";t.__esModule=!0;var r=f(n(2)),o=f(n(0)),i=f(n(251)),a=c(n(26)),s=n(35),u=c(n(12)),l=n(579);function c(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function f(e){return e&&e.__esModule?e:{default:e}}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var h=function(e){function t(){var n,r;d(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=p(this,e.call.apply(e,[this].concat(i))),r.handleChange=function(e){var t=r.props,n=t.lock,o=t.policy;(0,s.swap)(s.updateEntity,"lock",u.id(n),l.setPassword,e.target.value,o)},r.handleShowPasswordChange=function(e){var t=r.props.lock;(0,s.swap)(s.updateEntity,"lock",u.id(t),l.setShowPassword,e.target.checked)},p(r,n)}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.render=function(){var e=this.props,t=e.i18n,n=e.lock,r=e.placeholder,s=e.policy,l=e.strengthMessages,c=e.hidden?" auth0-lock-hidden":"",f=a.getFieldValue(n,"password")?t.str("invalidErrorHint")||t.str("invalidPasswordErrorHint"):t.str("blankErrorHint")||t.str("blankPasswordErrorHint");return o.default.createElement("div",{className:"auth0-lock-input-block auth0-lock-input-show-password"+c},o.default.createElement(i.default,{value:a.getFieldValue(n,"password"),invalidHint:f,showPasswordStrengthMessage:!a.isFieldValid(n,"password"),isValid:!a.isFieldVisiblyInvalid(n,"password"),onChange:this.handleChange,placeholder:r,strengthMessages:l,disabled:u.submitting(n),policy:s,showPassword:a.getFieldValue(n,"showPassword",!1),lock:n}),u.ui.allowShowPassword(n)&&o.default.createElement("div",{className:"auth0-lock-show-password"},o.default.createElement("input",{type:"checkbox",id:"slideOne",onChange:this.handleShowPasswordChange}),o.default.createElement("label",{htmlFor:"slideOne",title:t.str("showPassword")})))},t}(o.default.Component);t.default=h,h.propTypes={i18n:r.default.object.isRequired,lock:r.default.object.isRequired,onChange:r.default.func,placeholder:r.default.string.isRequired,policy:r.default.object,strengthMessages:r.default.object,hidden:r.default.bool}},function(e,t,n){"use strict";t.__esModule=!0,t.IconSvg=void 0;var r=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},o=l(n(2)),i=l(n(0)),a=l(n(91)),s=l(n(578)),u=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(12));function l(e){return e&&e.__esModule?e:{default:e}}var c=t.IconSvg=i.default.createElement("svg",{"aria-hidden":"true",focusable:"false",width:"11px",height:"14px",viewBox:"0 0 13 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",className:"auth0-lock-icon auth0-lock-icon-box"},i.default.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},i.default.createElement("g",{transform:"translate(-288.000000, -1508.000000)",fill:"#888888"},i.default.createElement("path",{d:"M299,1523.998 L290,1523.998 C288.896,1523.998 288,1523.102 288,1521.999 L288,1515.999 C288,1514.895 288.896,1513.998 290,1513.998 L290,1513.998 L290,1512.499 C290,1510.015 292.015,1507.999 294.5,1507.999 C296.985,1507.999 299,1510.015 299,1512.499 L299,1513.999 C300.104,1513.999 301,1514.895 301,1515.999 L301,1521.999 C301,1523.103 300.104,1523.998 299,1523.998 L299,1523.998 Z M298,1512.499 C298,1510.566 296.433,1508.999 294.5,1508.999 C292.567,1508.999 291,1510.566 291,1512.499 L291,1513.998 L298,1513.998 L298,1512.499 L298,1512.499 Z M300,1515.999 C300,1515.446 299.552,1514.998 299,1514.998 L290,1514.998 C289.447,1514.998 289,1515.446 289,1515.999 L289,1521.999 C289,1522.551 289.447,1522.998 290,1522.998 L299,1522.998 C299.552,1522.998 300,1522.551 300,1521.999 L300,1515.999 L300,1515.999 Z M294.5,1520.998 C294.224,1520.998 294,1520.774 294,1520.498 L294,1517.498 C294,1517.223 294.224,1516.999 294.5,1516.999 C294.776,1516.999 295,1517.223 295,1517.498 L295,1520.498 C295,1520.774 294.776,1520.998 294.5,1520.998 L294.5,1520.998 Z"})))),f=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,e.call(this,n));return r.state={},r}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.focus=function(){this.refs.input&&this.refs.input.focus()},t.prototype.hasFocus=function(){return this.state.focused},t.prototype.render=function(){var e=this.props,t=e.invalidHint,n=e.showPasswordStrengthMessage,o=e.isValid,l=(e.onChange,e.policy),f=e.strengthMessages,d=e.value,p=e.showPassword,h=e.lock,g=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["invalidHint","showPasswordStrengthMessage","isValid","onChange","policy","strengthMessages","value","showPassword","lock"]),y=this.state,m=y.focused,v=y.changing,b=u.ui.allowPasswordAutocomplete(h),M=l&&m&&v&&n?i.default.createElement(s.default,{messages:f,password:d,policy:l}):null;return i.default.createElement(a.default,{after:M,focused:m,invalidHint:t,isValid:o,name:"password",icon:c},i.default.createElement("input",r({ref:"input",type:p?"text":"password",name:"password",className:"auth0-lock-input",autoComplete:b?"on":"off",autoCapitalize:"off",onChange:this.handleOnChange.bind(this),onFocus:this.handleFocus.bind(this),onBlur:this.handleBlur.bind(this),value:d,"aria-label":"Password","aria-invalid":!o,"aria-describedby":o||l||!t?void 0:"auth0-lock-error-msg-password"},g)))},t.prototype.handleOnChange=function(e){var t=this.state;t.changing=!0,this.setState(t),this.props.onChange&&this.props.onChange(e)},t.prototype.handleFocus=function(){this.setState({focused:!0})},t.prototype.handleBlur=function(){this.setState({focused:!1})},t}(i.default.Component);f.propTypes={invalidHint:o.default.string.isRequired,showPasswordStrengthMessage:o.default.bool.isRequired,isValid:o.default.bool.isRequired,onChange:o.default.func.isRequired,placeholder:o.default.string,policy:o.default.object,strengthMessages:o.default.object,value:o.default.string.isRequired,showPassword:o.default.bool.isRequired,lock:o.default.object.isRequired},t.default=f},function(e,t,n){"use strict";t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.startHRD=function(e,t){(0,o.swap)(o.updateEntity,"lock",e,i.toggleHRD,t)},t.cancelHRD=function(e){(0,o.swap)(o.updateEntity,"lock",e,(function(e){return e=(0,i.toggleHRD)(e,!1),e=(0,a.hideInvalidFields)(e)}))},t.logIn=function(e){var t=(0,o.read)(o.getEntity,"lock",e),n=(0,a.getFieldValue)(t,(0,f.databaseLogInWithEmail)(t)?"email":"username"),d=(0,i.matchConnection)(t,n),p=(0,i.enterpriseActiveFlowConnection)(t),h=function(e,t){return l.auth.connectionScopes(e).get(t.get("name"))}(t,d||p),g=[(0,f.databaseLogInWithEmail)(t)?"email":"username","password"],y={connection_scope:h?h.toJS():void 0};if(!(0,c.setCaptchaParams)(t,y,g))return(0,c.showMissingCaptcha)(t,e);if(d&&!(0,i.isHRDActive)(t))return function(e,t,n){var i=(0,o.read)(o.getEntity,"lock",e),s=(0,f.databaseLogInWithEmail)(i)?"email":"username";l.emitEvent(i,"sso login",{lockID:e,connection:t,field:s}),(0,u.logIn)(e,[s],r({},n,{connection:t.get("name"),login_hint:(0,a.getFieldValue)(i,s)}))}(e,d,y);!function(e,t){var n=(0,o.read)(o.getEntity,"lock",e),c=(0,i.isHRDActive)(n)||!(0,f.databaseLogInWithEmail)(n)?"username":"email",d=(0,a.getFieldValue)(n,c),p=(0,i.enterpriseActiveFlowConnection)(n),h=l.defaultADUsernameFromEmailPrefix(n)?(0,s.emailLocalPart)(d):d;(0,u.logIn)(e,["password",c],r({},t,{connection:p?p.get("name"):null,username:h,password:(0,a.getFieldValue)(n,"password"),login_hint:h}))}(e,y)};var o=n(35),i=n(70),a=n(26),s=n(90),u=n(77),l=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(12)),c=n(180),f=n(49)},function(e,t,n){"use strict";t.__esModule=!0;var r,o=n(0),i=(r=o)&&r.__esModule?r:{default:r};t.default=function(e){var t=e.checkHandler,n=e.checked,r=e.children,o=e.showCheckbox;return t?i.default.createElement("span",{className:"auth0-lock-sign-up-terms-agreement"},i.default.createElement("label",null,o&&i.default.createElement("input",{type:"checkbox",onChange:t,checked:n}),r)):r}},function(e,t,n){"use strict";t.__esModule=!0,t.lastUsedConnection=function(e){return e.getIn(["sso","lastUsedConnection"])},t.lastUsedUsername=function(e){return e.getIn(["sso","lastUsedUsername"],"")};n(48)},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(2)),o=a(n(0)),i=a(n(338));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(e){var t=e.alternativeLabel,n=e.alternativeClickHandler,r=e.buttonLabel,a=e.buttonClickHandler,s=e.header,u=e.strategy,l=e.buttonIcon,c=e.primaryColor,f=e.foregroundColor,d=t?o.default.createElement("p",{className:"auth0-lock-alternative"},o.default.createElement("a",{className:"auth0-lock-alternative-link",href:"#",onClick:function(e){e.preventDefault(),n(e)}},t)):null;return o.default.createElement("div",{className:"auth0-lock-last-login-pane"},s,o.default.createElement(i.default,{label:r,onClick:function(e){e.preventDefault(),a(e)},strategy:u,primaryColor:c,foregroundColor:f,icon:l}),d,o.default.createElement("div",{className:"auth0-loading-container"},o.default.createElement("div",{className:"auth0-loading"})))};s.propTypes={alternativeLabel:r.default.string,alternativeClickHandler:function(e,t,n){for(var o=arguments.length,i=Array(o>3?o-3:0),a=3;a<o;a++)i[a-3]=arguments[a];var s;if(void 0!==e.alternativeLabel)return(s=r.default.func).isRequired.apply(s,[e,t,n].concat(i))},buttonLabel:r.default.string.isRequired,buttonClickHandler:r.default.func.isRequired,header:r.default.element,strategy:r.default.string.isRequired},t.default=s},function(e,t,n){"use strict";var r=n(339);e.exports=function(){return r()&&!!Symbol.toStringTag}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="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=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(e===t)return!1;var o=Object.keys(e),i=Object.keys(t);if(o.length!==i.length)return!0;var a={},s=void 0,u=void 0;for(s=0,u=n.length;s<u;s++)a[n[s]]=!0;for(s=0,u=o.length;s<u;s++){var l=o[s],c=e[l],f=t[l];if(c!==f){if(!a[l]||null===c||null===f||"object"!==("undefined"===typeof c?"undefined":r(c))||"object"!==("undefined"===typeof f?"undefined":r(f)))return!0;var d=Object.keys(c),p=Object.keys(f);if(d.length!==p.length)return!0;for(var h=0,g=d.length;h<g;h++){var y=d[h];if(c[y]!==f[y])return!0}}}return!1}},function(e,t,n){var r=n(361),o=n(228),i=n(667),a=n(62);e.exports=function(e,t){return(a(e)?r:o)(e,i(t))}},function(e,t,n){var r=n(311)(Object.getPrototypeOf,Object);e.exports=r},function(e,t,n){var r=n(305);e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},function(e,t,n){"use strict";if("undefined"===typeof window||"undefined"===typeof navigator||-1!==navigator.userAgent.indexOf("Node.js")||-1!==navigator.userAgent.indexOf("jsdom")){var r=function(){};(r.Utilities={}).removeData=function(){},r.velocityReactServerShim=!0,e.exports=r}else{var o=window.jQuery||window.Zepto||window;e.exports=o.Velocity?o.Velocity:n(703)}},function(e,t,n){(function(t){for(var r=n(715),o="undefined"===typeof window?t:window,i=["moz","webkit"],a="AnimationFrame",s=o["request"+a],u=o["cancel"+a]||o["cancelRequest"+a],l=0;!s&&l<i.length;l++)s=o[i[l]+"Request"+a],u=o[i[l]+"Cancel"+a]||o[i[l]+"CancelRequest"+a];if(!s||!u){var c=0,f=0,d=[];s=function(e){if(0===d.length){var t=r(),n=Math.max(0,1e3/60-(t-c));c=n+t,setTimeout((function(){var e=d.slice(0);d.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(c)}catch(n){setTimeout((function(){throw n}),0)}}),Math.round(n))}return d.push({handle:++f,callback:e,cancelled:!1}),f},u=function(e){for(var t=0;t<d.length;t++)d[t].handle===e&&(d[t].cancelled=!0)}}e.exports=function(e){return s.call(o,e)},e.exports.cancel=function(){u.apply(o,arguments)},e.exports.polyfill=function(e){e||(e=o),e.requestAnimationFrame=s,e.cancelAnimationFrame=u}}).call(this,n(59))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getMenuPlacement=w,t.MenuPortal=t.menuPortalCSS=t.LoadingMessage=t.NoOptionsMessage=t.loadingMessageCSS=t.noOptionsMessageCSS=t.MenuList=t.menuListCSS=t.default=t.MenuPlacer=t.menuCSS=void 0;var r,o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(n(0)),i=n(24),a=n(15),s=(r=n(2))&&r.__esModule?r:{default:r},u=n(264);function l(e){return(l="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})(e)}function c(){return(c=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}).apply(this,arguments)}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){M(e,t,n[t])}))}return e}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(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)}}function h(e,t,n){return t&&p(e.prototype,t),n&&p(e,n),e}function g(e,t){return!t||"object"!==l(t)&&"function"!==typeof t?b(e):t}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function m(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v(e,t)}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function M(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function w(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,o=e.placement,i=e.shouldScroll,a=e.isFixedPosition,s=e.theme.spacing,l=(0,u.getScrollParent)(n),c={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return c;var f=l.getBoundingClientRect().height,d=n.getBoundingClientRect(),p=d.bottom,h=d.height,g=d.top,y=n.offsetParent.getBoundingClientRect().top,m=window.innerHeight,v=(0,u.getScrollTop)(l),b=parseInt(getComputedStyle(n).marginBottom,10),M=parseInt(getComputedStyle(n).marginTop,10),w=y-M,N=m-g,j=w+v,S=f-v-g,I=p-m+v+b,D=v+g-M;switch(o){case"auto":case"bottom":if(N>=h)return{placement:"bottom",maxHeight:t};if(S>=h&&!a)return i&&(0,u.animatedScrollTo)(l,I,160),{placement:"bottom",maxHeight:t};if(!a&&S>=r||a&&N>=r)return i&&(0,u.animatedScrollTo)(l,I,160),{placement:"bottom",maxHeight:a?N-b:S-b};if("auto"===o||a){var x=t,E=a?w:j;return E>=r&&(x=Math.min(E-b-s.controlHeight,t)),{placement:"top",maxHeight:x}}if("bottom"===o)return(0,u.scrollTo)(l,I),{placement:"bottom",maxHeight:t};break;case"top":if(w>=h)return{placement:"top",maxHeight:t};if(j>=h&&!a)return i&&(0,u.animatedScrollTo)(l,D,160),{placement:"top",maxHeight:t};if(!a&&j>=r||a&&w>=r){var O=t;return(!a&&j>=r||a&&w>=r)&&(O=a?w-M:j-M),i&&(0,u.animatedScrollTo)(l,D,160),{placement:"top",maxHeight:O}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return c}var N=function(e){return"auto"===e?"bottom":e};t.menuCSS=function(e){var t,n=e.placement,r=e.theme,o=r.borderRadius,i=r.spacing,a=r.colors;return M(t={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(n),"100%"),M(t,"backgroundColor",a.neutral0),M(t,"borderRadius",o),M(t,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),M(t,"marginBottom",i.menuGutter),M(t,"marginTop",i.menuGutter),M(t,"position","absolute"),M(t,"width","100%"),M(t,"zIndex",1),t};var j=function(e){function t(){var e,n;d(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return M(b(b(n=g(this,(e=y(t)).call.apply(e,[this].concat(o))))),"state",{maxHeight:n.props.maxMenuHeight,placement:null}),M(b(b(n)),"getPlacement",(function(e){var t=n.props,r=t.minMenuHeight,o=t.maxMenuHeight,i=t.menuPlacement,a=t.menuPosition,s=t.menuShouldScrollIntoView,u=t.theme,l=n.context.getPortalPlacement;if(e){var c="fixed"===a,f=w({maxHeight:o,menuEl:e,minHeight:r,placement:i,shouldScroll:s&&!c,isFixedPosition:c,theme:u});l&&l(f),n.setState(f)}})),M(b(b(n)),"getUpdatedProps",(function(){var e=n.props.menuPlacement,t=n.state.placement||N(e);return f({},n.props,{placement:t,maxHeight:n.state.maxHeight})})),n}return m(t,e),h(t,[{key:"render",value:function(){return(0,this.props.children)({ref:this.getPlacement,placerProps:this.getUpdatedProps()})}}]),t}(o.Component);t.MenuPlacer=j,M(j,"contextTypes",{getPortalPlacement:s.default.func});var S=function(e){var t=e.children,n=e.className,r=e.cx,a=e.getStyles,s=e.innerRef,u=e.innerProps,l=r((0,i.css)(a("menu",e)),{menu:!0},n);return o.default.createElement("div",c({className:l},u,{ref:s}),t)};t.default=S;t.menuListCSS=function(e){var t=e.maxHeight,n=e.theme.spacing.baseUnit;return{maxHeight:t,overflowY:"auto",paddingBottom:n,paddingTop:n,position:"relative",WebkitOverflowScrolling:"touch"}};t.MenuList=function(e){var t=e.children,n=e.className,r=e.cx,a=e.getStyles,s=e.isMulti,u=e.innerRef;return o.default.createElement("div",{className:r((0,i.css)(a("menuList",e)),{"menu-list":!0,"menu-list--is-multi":s},n),ref:u},t)};var I=function(e){var t=e.theme,n=t.spacing.baseUnit;return{color:t.colors.neutral40,padding:"".concat(2*n,"px ").concat(3*n,"px"),textAlign:"center"}},D=I;t.noOptionsMessageCSS=D;var x=I;t.loadingMessageCSS=x;var E=function(e){var t=e.children,n=e.className,r=e.cx,a=e.getStyles,s=e.innerProps;return o.default.createElement("div",c({className:r((0,i.css)(a("noOptionsMessage",e)),{"menu-notice":!0,"menu-notice--no-options":!0},n)},s),t)};t.NoOptionsMessage=E,E.defaultProps={children:"No options"};var O=function(e){var t=e.children,n=e.className,r=e.cx,a=e.getStyles,s=e.innerProps;return o.default.createElement("div",c({className:r((0,i.css)(a("loadingMessage",e)),{"menu-notice":!0,"menu-notice--loading":!0},n)},s),t)};t.LoadingMessage=O,O.defaultProps={children:"Loading..."};t.menuPortalCSS=function(e){var t=e.rect,n=e.offset,r=e.position;return{left:t.left,position:r,top:n,width:t.width,zIndex:1}};var T=function(e){function t(){var e,n;d(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return M(b(b(n=g(this,(e=y(t)).call.apply(e,[this].concat(o))))),"state",{placement:null}),M(b(b(n)),"getPortalPlacement",(function(e){var t=e.placement;t!==N(n.props.menuPlacement)&&n.setState({placement:t})})),n}return m(t,e),h(t,[{key:"getChildContext",value:function(){return{getPortalPlacement:this.getPortalPlacement}}},{key:"render",value:function(){var e=this.props,t=e.appendTo,n=e.children,r=e.controlElement,s=e.menuPlacement,l=e.menuPosition,c=e.getStyles,f="fixed"===l;if(!t&&!f||!r)return null;var d=this.state.placement||N(s),p=(0,u.getBoundingClientObj)(r),h=f?0:window.pageYOffset,g={offset:p[d]+h,position:l,rect:p},y=o.default.createElement("div",{className:(0,i.css)(c("menuPortal",g))},n);return t?(0,a.createPortal)(y,t):y}}]),t}(o.Component);t.MenuPortal=T,M(T,"childContextTypes",{getPortalPlacement:s.default.func})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.classNames=function(e,t,n,r){var o=[t,r];if(n&&e)for(var i in n)n.hasOwnProperty(i)&&n[i]&&o.push("".concat(s(e,i)));return o.filter((function(e){return e})).map((function(e){return String(e).trim()})).join(" ")},t.handleInputChange=function(e,t,n){if(n){var r=n(e,t);if("string"===typeof r)return r}return e},t.isDocumentElement=u,t.normalizedHeight=function(e){if(u(e))return window.innerHeight;return e.clientHeight},t.getScrollTop=l,t.scrollTo=c,t.getScrollParent=function(e){var t=getComputedStyle(e),n="absolute"===t.position,r=/(auto|scroll)/,o=document.documentElement;if("fixed"===t.position)return o;for(var i=e;i=i.parentElement;)if(t=getComputedStyle(i),(!n||"static"!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX))return i;return o},t.animatedScrollTo=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:a,i=l(e),s=t-i,u=10,d=0;function p(){var t=f(d+=u,i,s,n);c(e,t),d<n?(0,o.default)(p):r(e)}p()},t.scrollIntoView=function(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),o=t.offsetHeight/3;r.bottom+o>n.bottom?c(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+o,e.scrollHeight)):r.top-o<n.top&&c(e,Math.max(t.offsetTop-o,0))},t.getBoundingClientObj=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}},t.toKey=function(e){return e.replace(/\W/g,"-")},t.isTouchCapable=function(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}},t.isMobileDevice=function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}},t.cleanValue=t.emptyString=t.noop=void 0;var r,o=(r=n(262))&&r.__esModule?r:{default:r};function i(e){return(i="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})(e)}var a=function(){};t.noop=a;function s(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}t.emptyString=function(){return""};function u(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function l(e){return u(e)?window.pageYOffset:e.scrollTop}function c(e,t){u(e)?window.scrollTo(0,t):e.scrollTop=t}function f(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}t.cleanValue=function(e){return Array.isArray(e)?e.filter(Boolean):"object"===i(e)&&null!==e?[e]:[]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(0),o=n(15);function i(e){return(i="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})(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(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)}}function u(e,t){return!t||"object"!==i(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var f=function(e){function t(){return a(this,t),u(this,l(t).apply(this,arguments))}var n,r,i;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}(t,e),n=t,(r=[{key:"componentDidMount",value:function(){this.props.innerRef((0,o.findDOMNode)(this))}},{key:"componentWillUnmount",value:function(){this.props.innerRef(null)}},{key:"render",value:function(){return this.props.children}}])&&s(n.prototype,r),i&&s(n,i),t}(r.Component);t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LoadingIndicator=t.loadingIndicatorCSS=t.IndicatorSeparator=t.indicatorSeparatorCSS=t.ClearIndicator=t.clearIndicatorCSS=t.DropdownIndicator=t.dropdownIndicatorCSS=t.DownChevron=t.CrossIcon=void 0;var r,o=(r=n(0))&&r.__esModule?r:{default:r},i=n(24);function a(){return(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}).apply(this,arguments)}function s(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var u=function(e){var t=e.size,n=s(e,["size"]);return o.default.createElement("svg",a({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",className:(0,i.css)({display:"inline-block",fill:"currentColor",lineHeight:1,stroke:"currentColor",strokeWidth:0})},n))},l=function(e){return o.default.createElement(u,a({size:20},e),o.default.createElement("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))};t.CrossIcon=l;var c=function(e){return o.default.createElement(u,a({size:20},e),o.default.createElement("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))};t.DownChevron=c;var f=function(e){var t=e.isFocused,n=e.theme,r=n.spacing.baseUnit,o=n.colors;return{label:"indicatorContainer",color:t?o.neutral60:o.neutral20,display:"flex",padding:2*r,transition:"color 150ms",":hover":{color:t?o.neutral80:o.neutral40}}},d=f;t.dropdownIndicatorCSS=d;t.DropdownIndicator=function(e){var t=e.children,n=e.className,r=e.cx,s=e.getStyles,u=e.innerProps;return o.default.createElement("div",a({},u,{className:r((0,i.css)(s("dropdownIndicator",e)),{indicator:!0,"dropdown-indicator":!0},n)}),t||o.default.createElement(c,null))};var p=f;t.clearIndicatorCSS=p;t.ClearIndicator=function(e){var t=e.children,n=e.className,r=e.cx,s=e.getStyles,u=e.innerProps;return o.default.createElement("div",a({},u,{className:r((0,i.css)(s("clearIndicator",e)),{indicator:!0,"clear-indicator":!0},n)}),t||o.default.createElement(l,null))};t.indicatorSeparatorCSS=function(e){var t=e.isDisabled,n=e.theme,r=n.spacing.baseUnit,o=n.colors;return{label:"indicatorSeparator",alignSelf:"stretch",backgroundColor:t?o.neutral10:o.neutral20,marginBottom:2*r,marginTop:2*r,width:1}};t.IndicatorSeparator=function(e){var t=e.className,n=e.cx,r=e.getStyles,s=e.innerProps;return o.default.createElement("span",a({},s,{className:n((0,i.css)(r("indicatorSeparator",e)),{"indicator-separator":!0},t)}))};var h=!1;t.loadingIndicatorCSS=function(e){var t=e.isFocused,n=e.size,r=e.theme,o=r.colors,i=r.spacing.baseUnit;return{label:"loadingIndicator",color:t?o.neutral60:o.neutral20,display:"flex",padding:2*i,transition:"color 150ms",alignSelf:"center",fontSize:n,lineHeight:1,marginRight:n,textAlign:"center",verticalAlign:"middle"}};var g=function(e){var t=e.color,n=e.delay,r=e.offset;return o.default.createElement("span",{className:(0,i.css)({animationDuration:"1s",animationDelay:"".concat(n,"ms"),animationIterationCount:"infinite",animationName:"react-select-loading-indicator",animationTimingFunction:"ease-in-out",backgroundColor:t,borderRadius:"1em",display:"inline-block",marginLeft:r?"1em":null,height:"1em",verticalAlign:"top",width:"1em"})})},y=function(e){var t=e.className,n=e.cx,r=e.getStyles,s=e.innerProps,u=e.isFocused,l=e.isRtl,c=e.theme.colors,f=u?c.neutral80:c.neutral20;return h||((0,i.injectGlobal)("@keyframes ","react-select-loading-indicator","{0%,80%,100%{opacity:0;}40%{opacity:1;}};"),h=!0),o.default.createElement("div",a({},s,{className:n((0,i.css)(r("loadingIndicator",e)),{indicator:!0,"loading-indicator":!0},t)}),o.default.createElement(g,{color:f,delay:0,offset:l}),o.default.createElement(g,{color:f,delay:160,offset:!0}),o.default.createElement(g,{color:f,delay:320,offset:!l}))};t.LoadingIndicator=y,y.defaultProps={size:4}},function(e,t,n){"use strict";function r(e){return function(){return null}}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Chart",{enumerable:!0,get:function(){return i.default}}),t.defaults=t.Scatter=t.Bubble=t.Polar=t.Radar=t.HorizontalBar=t.Bar=t.Line=t.Pie=t.Doughnut=t.default=void 0;var r=u(n(0)),o=u(n(2)),i=u(n(426)),a=u(n(213)),s=u(n(476));function u(e){return e&&e.__esModule?e:{default:e}}function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function c(e){return(c="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})(e)}function f(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(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)}}function y(e,t,n){return t&&g(e.prototype,t),n&&g(e,n),e}function m(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v(e,t)}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function b(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=N(e);if(t){var o=N(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return M(this,n)}}function M(e,t){return!t||"object"!==c(t)&&"function"!==typeof t?w(e):t}function w(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function N(e){return(N=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function j(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var S="undefined"!==typeof e&&Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,REACT_APP_MAP_KEY:"AIzaSyAYdp6JWyJaD-2Jiil3ggePxUBDIMpD-Kg",REACT_APP_NODE_ENV:"dev"})&&"production",I=function(e){m(n,e);var t=b(n);function n(){var e;return h(this,n),j(w(e=t.call(this)),"handleOnClick",(function(t){var n=e.chartInstance,r=e.props,o=r.getDatasetAtEvent,i=r.getElementAtEvent,a=r.getElementsAtEvent,s=r.onElementsClick;o&&o(n.getDatasetAtEvent(t),t),i&&i(n.getElementAtEvent(t),t),a&&a(n.getElementsAtEvent(t),t),s&&s(n.getElementsAtEvent(t),t)})),j(w(e),"ref",(function(t){e.element=t})),e.chartInstance=void 0,e}return y(n,[{key:"componentDidMount",value:function(){this.renderChart()}},{key:"componentDidUpdate",value:function(){if(this.props.redraw)return this.destroyChart(),void this.renderChart();this.updateChart()}},{key:"shouldComponentUpdate",value:function(e){var t=this.props,n=(t.redraw,t.type),r=t.options,o=t.plugins,i=t.legend,s=t.height,u=t.width;if(!0===e.redraw)return!0;if(s!==e.height||u!==e.width)return!0;if(n!==e.type)return!0;if(!(0,a.default)(i,e.legend))return!0;if(!(0,a.default)(r,e.options))return!0;var l=this.transformDataProp(e);return!(0,a.default)(this.shadowDataProp,l)||!(0,a.default)(o,e.plugins)}},{key:"componentWillUnmount",value:function(){this.destroyChart()}},{key:"transformDataProp",value:function(e){var t=e.data;return"function"==typeof t?t(this.element):t}},{key:"memoizeDataProps",value:function(){if(this.props.data){var e=this.transformDataProp(this.props);return this.shadowDataProp=p(p({},e),{},{datasets:e.datasets&&e.datasets.map((function(e){return p({},e)}))}),this.saveCurrentDatasets(),e}}},{key:"checkDatasets",value:function(e){var t="production"!==S&&"prod"!==S,r=this.props.datasetKeyProvider!==n.getLabelAsKey,o=e.length>1;if(t&&o&&!r){var i=!1;e.forEach((function(e){e.label||(i=!0)})),i&&console.error('[react-chartjs-2] Warning: Each dataset needs a unique key. By default, the "label" property on each dataset is used. Alternatively, you may provide a "datasetKeyProvider" as a prop that returns a unique key.')}}},{key:"getCurrentDatasets",value:function(){return this.chartInstance&&this.chartInstance.config.data&&this.chartInstance.config.data.datasets||[]}},{key:"saveCurrentDatasets",value:function(){var e=this;this.datasets=this.datasets||{},this.getCurrentDatasets().forEach((function(t){e.datasets[e.props.datasetKeyProvider(t)]=t}))}},{key:"updateChart",value:function(){var e=this,t=this.props.options,n=this.memoizeDataProps(this.props);if(this.chartInstance){t&&(this.chartInstance.options=i.default.helpers.configMerge(this.chartInstance.options,t));var r=this.getCurrentDatasets(),o=n.datasets||[];this.checkDatasets(r);var a=(0,s.default)(r,this.props.datasetKeyProvider);this.chartInstance.config.data.datasets=o.map((function(t){var n=a[e.props.datasetKeyProvider(t)];if(n&&n.type===t.type&&t.data){n.data.splice(t.data.length),t.data.forEach((function(e,r){n.data[r]=t.data[r]}));t.data;var r=f(t,["data"]);return p(p({},n),r)}return t}));n.datasets;var u=f(n,["datasets"]);this.chartInstance.config.data=p(p({},this.chartInstance.config.data),u),this.chartInstance.update()}}},{key:"renderChart",value:function(){var e=this.props,t=e.options,r=e.legend,o=e.type,s=e.plugins,u=this.element,l=this.memoizeDataProps();"undefined"===typeof r||(0,a.default)(n.defaultProps.legend,r)||(t.legend=r),this.chartInstance=new i.default(u,{type:o,data:l,options:t,plugins:s})}},{key:"destroyChart",value:function(){if(this.chartInstance){this.saveCurrentDatasets();var e=Object.values(this.datasets);this.chartInstance.config.data.datasets=e,this.chartInstance.destroy()}}},{key:"render",value:function(){var e=this.props,t=e.height,n=e.width,o=e.id;return r.default.createElement("canvas",{ref:this.ref,height:t,width:n,id:o,onClick:this.handleOnClick})}}]),n}(r.default.Component);j(I,"getLabelAsKey",(function(e){return e.label})),j(I,"propTypes",{data:o.default.oneOfType([o.default.object,o.default.func]).isRequired,getDatasetAtEvent:o.default.func,getElementAtEvent:o.default.func,getElementsAtEvent:o.default.func,height:o.default.number,legend:o.default.object,onElementsClick:o.default.func,options:o.default.object,plugins:o.default.arrayOf(o.default.object),redraw:o.default.bool,type:function(e,t,n){if(!i.default.controllers[e[t]])return new Error("Invalid chart type `"+e[t]+"` supplied to `"+n+"`.")},width:o.default.number,datasetKeyProvider:o.default.func}),j(I,"defaultProps",{legend:{display:!0,position:"bottom"},type:"doughnut",height:150,width:300,redraw:!1,options:{},datasetKeyProvider:I.getLabelAsKey});var D=I;t.default=D;var x=function(e){m(n,e);var t=b(n);function n(){return h(this,n),t.apply(this,arguments)}return y(n,[{key:"render",value:function(){var e=this;return r.default.createElement(I,l({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"doughnut"}))}}]),n}(r.default.Component);t.Doughnut=x;var E=function(e){m(n,e);var t=b(n);function n(){return h(this,n),t.apply(this,arguments)}return y(n,[{key:"render",value:function(){var e=this;return r.default.createElement(I,l({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"pie"}))}}]),n}(r.default.Component);t.Pie=E;var O=function(e){m(n,e);var t=b(n);function n(){return h(this,n),t.apply(this,arguments)}return y(n,[{key:"render",value:function(){var e=this;return r.default.createElement(I,l({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"line"}))}}]),n}(r.default.Component);t.Line=O;var T=function(e){m(n,e);var t=b(n);function n(){return h(this,n),t.apply(this,arguments)}return y(n,[{key:"render",value:function(){var e=this;return r.default.createElement(I,l({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"bar"}))}}]),n}(r.default.Component);t.Bar=T;var C=function(e){m(n,e);var t=b(n);function n(){return h(this,n),t.apply(this,arguments)}return y(n,[{key:"render",value:function(){var e=this;return r.default.createElement(I,l({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"horizontalBar"}))}}]),n}(r.default.Component);t.HorizontalBar=C;var k=function(e){m(n,e);var t=b(n);function n(){return h(this,n),t.apply(this,arguments)}return y(n,[{key:"render",value:function(){var e=this;return r.default.createElement(I,l({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"radar"}))}}]),n}(r.default.Component);t.Radar=k;var L=function(e){m(n,e);var t=b(n);function n(){return h(this,n),t.apply(this,arguments)}return y(n,[{key:"render",value:function(){var e=this;return r.default.createElement(I,l({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"polarArea"}))}}]),n}(r.default.Component);t.Polar=L;var _=function(e){m(n,e);var t=b(n);function n(){return h(this,n),t.apply(this,arguments)}return y(n,[{key:"render",value:function(){var e=this;return r.default.createElement(I,l({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"bubble"}))}}]),n}(r.default.Component);t.Bubble=_;var A=function(e){m(n,e);var t=b(n);function n(){return h(this,n),t.apply(this,arguments)}return y(n,[{key:"render",value:function(){var e=this;return r.default.createElement(I,l({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"scatter"}))}}]),n}(r.default.Component);t.Scatter=A;var z=i.default.defaults;t.defaults=z}).call(this,n(124))},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(137);function o(e){if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=Object(r.a)(e))){var t=0,n=function(){};return{s:n,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i,a=!0,s=!1;return{s:function(){o=e[Symbol.iterator]()},n:function(){var e=o.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==o.return||o.return()}finally{if(s)throw i}}}}},function(e,t,n){"use strict";t.__esModule=!0,t.Auth0Lock=t.Auth0LockPasswordless=void 0;var r=i(n(523)),o=i(n(604));function i(e){return e&&e.__esModule?e:{default:e}}t.Auth0LockPasswordless=o.default,t.Auth0Lock=r.default;t.default=r.default},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t,n){(function(t){var n=function(e){var t=/\blang(?:uage)?-([\w-]+)\b/i,n=0,r={},o={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof i?new i(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++n}),e.__id},clone:function e(t,n){var r,i;switch(n=n||{},o.util.type(t)){case"Object":if(i=o.util.objId(t),n[i])return n[i];for(var a in r={},n[i]=r,t)t.hasOwnProperty(a)&&(r[a]=e(t[a],n));return r;case"Array":return i=o.util.objId(t),n[i]?n[i]:(r=[],n[i]=r,t.forEach((function(t,o){r[o]=e(t,n)})),r);default:return t}},getLanguage:function(e){for(;e&&!t.test(e.className);)e=e.parentElement;return e?(e.className.match(t)||[,"none"])[1].toLowerCase():"none"},currentScript:function(){if("undefined"===typeof document)return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(r){var e=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(r.stack)||[])[1];if(e){var t=document.getElementsByTagName("script");for(var n in t)if(t[n].src==e)return t[n]}return null}},isActive:function(e,t,n){for(var r="no-"+t;e;){var o=e.classList;if(o.contains(t))return!0;if(o.contains(r))return!1;e=e.parentElement}return!!n}},languages:{plain:r,plaintext:r,text:r,txt:r,extend:function(e,t){var n=o.util.clone(o.languages[e]);for(var r in t)n[r]=t[r];return n},insertBefore:function(e,t,n,r){var i=(r=r||o.languages)[e],a={};for(var s in i)if(i.hasOwnProperty(s)){if(s==t)for(var u in n)n.hasOwnProperty(u)&&(a[u]=n[u]);n.hasOwnProperty(s)||(a[s]=i[s])}var l=r[e];return r[e]=a,o.languages.DFS(o.languages,(function(t,n){n===l&&t!=e&&(this[t]=a)})),a},DFS:function e(t,n,r,i){i=i||{};var a=o.util.objId;for(var s in t)if(t.hasOwnProperty(s)){n.call(t,s,t[s],r||s);var u=t[s],l=o.util.type(u);"Object"!==l||i[a(u)]?"Array"!==l||i[a(u)]||(i[a(u)]=!0,e(u,n,s,i)):(i[a(u)]=!0,e(u,n,null,i))}}},plugins:{},highlightAll:function(e,t){o.highlightAllUnder(document,e,t)},highlightAllUnder:function(e,t,n){var r={callback:n,container:e,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};o.hooks.run("before-highlightall",r),r.elements=Array.prototype.slice.apply(r.container.querySelectorAll(r.selector)),o.hooks.run("before-all-elements-highlight",r);for(var i,a=0;i=r.elements[a++];)o.highlightElement(i,!0===t,r.callback)},highlightElement:function(n,r,i){var a=o.util.getLanguage(n),s=o.languages[a];n.className=n.className.replace(t,"").replace(/\s+/g," ")+" language-"+a;var u=n.parentElement;u&&"pre"===u.nodeName.toLowerCase()&&(u.className=u.className.replace(t,"").replace(/\s+/g," ")+" language-"+a);var l={element:n,language:a,grammar:s,code:n.textContent};function c(e){l.highlightedCode=e,o.hooks.run("before-insert",l),l.element.innerHTML=l.highlightedCode,o.hooks.run("after-highlight",l),o.hooks.run("complete",l),i&&i.call(l.element)}if(o.hooks.run("before-sanity-check",l),(u=l.element.parentElement)&&"pre"===u.nodeName.toLowerCase()&&!u.hasAttribute("tabindex")&&u.setAttribute("tabindex","0"),!l.code)return o.hooks.run("complete",l),void(i&&i.call(l.element));if(o.hooks.run("before-highlight",l),l.grammar)if(r&&e.Worker){var f=new Worker(o.filename);f.onmessage=function(e){c(e.data)},f.postMessage(JSON.stringify({language:l.language,code:l.code,immediateClose:!0}))}else c(o.highlight(l.code,l.grammar,l.language));else c(o.util.encode(l.code))},highlight:function(e,t,n){var r={code:e,grammar:t,language:n};return o.hooks.run("before-tokenize",r),r.tokens=o.tokenize(r.code,r.grammar),o.hooks.run("after-tokenize",r),i.stringify(o.util.encode(r.tokens),r.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var r in n)t[r]=n[r];delete t.rest}var c=new s;return u(c,c.head,e),function e(t,n,r,s,c,f){for(var d in r)if(r.hasOwnProperty(d)&&r[d]){var p=r[d];p=Array.isArray(p)?p:[p];for(var h=0;h<p.length;++h){if(f&&f.cause==d+","+h)return;var g=p[h],y=g.inside,m=!!g.lookbehind,v=!!g.greedy,b=g.alias;if(v&&!g.pattern.global){var M=g.pattern.toString().match(/[imsuy]*$/)[0];g.pattern=RegExp(g.pattern.source,M+"g")}for(var w=g.pattern||g,N=s.next,j=c;N!==n.tail&&!(f&&j>=f.reach);j+=N.value.length,N=N.next){var S=N.value;if(n.length>t.length)return;if(!(S instanceof i)){var I,D=1;if(v){if(!(I=a(w,j,t,m)))break;var x=I.index,E=I.index+I[0].length,O=j;for(O+=N.value.length;x>=O;)N=N.next,O+=N.value.length;if(O-=N.value.length,j=O,N.value instanceof i)continue;for(var T=N;T!==n.tail&&(O<E||"string"===typeof T.value);T=T.next)D++,O+=T.value.length;D--,S=t.slice(j,O),I.index-=j}else if(!(I=a(w,0,S,m)))continue;x=I.index;var C=I[0],k=S.slice(0,x),L=S.slice(x+C.length),_=j+S.length;f&&_>f.reach&&(f.reach=_);var A=N.prev;k&&(A=u(n,A,k),j+=k.length),l(n,A,D);var z=new i(d,y?o.tokenize(C,y):C,b,C);if(N=u(n,A,z),L&&u(n,N,L),D>1){var P={cause:d+","+h,reach:_};e(t,n,r,N.prev,j,P),f&&P.reach>f.reach&&(f.reach=P.reach)}}}}}}(e,c,t,c.head,0),function(e){var t=[],n=e.head.next;for(;n!==e.tail;)t.push(n.value),n=n.next;return t}(c)},hooks:{all:{},add:function(e,t){var n=o.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=o.hooks.all[e];if(n&&n.length)for(var r,i=0;r=n[i++];)r(t)}},Token:i};function i(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function a(e,t,n,r){e.lastIndex=t;var o=e.exec(n);if(o&&r&&o[1]){var i=o[1].length;o.index+=i,o[0]=o[0].slice(i)}return o}function s(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function u(e,t,n){var r=t.next,o={value:n,prev:t,next:r};return t.next=o,r.prev=o,e.length++,o}function l(e,t,n){for(var r=t.next,o=0;o<n&&r!==e.tail;o++)r=r.next;t.next=r,r.prev=t,e.length-=o}if(e.Prism=o,i.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var r="";return t.forEach((function(t){r+=e(t,n)})),r}var i={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},a=t.alias;a&&(Array.isArray(a)?Array.prototype.push.apply(i.classes,a):i.classes.push(a)),o.hooks.run("wrap",i);var s="";for(var u in i.attributes)s+=" "+u+'="'+(i.attributes[u]||"").replace(/"/g,"&quot;")+'"';return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+s+">"+i.content+"</"+i.tag+">"},!e.document)return e.addEventListener?(o.disableWorkerMessageHandler||e.addEventListener("message",(function(t){var n=JSON.parse(t.data),r=n.language,i=n.code,a=n.immediateClose;e.postMessage(o.highlight(i,o.languages[r],r)),a&&e.close()}),!1),o):o;var c=o.util.currentScript();function f(){o.manual||o.highlightAll()}if(c&&(o.filename=c.src,c.hasAttribute("data-manual")&&(o.manual=!0)),!o.manual){var d=document.readyState;"loading"===d||"interactive"===d&&c&&c.defer?document.addEventListener("DOMContentLoaded",f):window.requestAnimationFrame?window.requestAnimationFrame(f):window.setTimeout(f,16)}return o}("undefined"!==typeof window?window:"undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});e.exports&&(e.exports=n),"undefined"!==typeof t&&(t.Prism=n),n.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},n.languages.markup.tag.inside["attr-value"].inside.entity=n.languages.markup.entity,n.languages.markup.doctype.inside["internal-subset"].inside=n.languages.markup,n.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&amp;/,"&"))})),Object.defineProperty(n.languages.markup.tag,"addInlined",{value:function(e,t){var r={};r["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:n.languages[t]},r.cdata=/^<!\[CDATA\[|\]\]>$/i;var o={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:r}};o["language-"+t]={pattern:/[\s\S]+/,inside:n.languages[t]};var i={};i[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:o},n.languages.insertBefore("markup","cdata",i)}}),Object.defineProperty(n.languages.markup.tag,"addAttribute",{value:function(e,t){n.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:n.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),n.languages.html=n.languages.markup,n.languages.mathml=n.languages.markup,n.languages.svg=n.languages.markup,n.languages.xml=n.languages.extend("markup",{}),n.languages.ssml=n.languages.xml,n.languages.atom=n.languages.xml,n.languages.rss=n.languages.xml,function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}(n),n.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|interface|extends|implements|trait|instanceof|new)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,boolean:/\b(?:true|false)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},n.languages.javascript=n.languages.extend("clike",{"class-name":[n.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:prototype|constructor))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:/\b(?:(?:0[xX](?:[\dA-Fa-f](?:_[\dA-Fa-f])?)+|0[bB](?:[01](?:_[01])?)+|0[oO](?:[0-7](?:_[0-7])?)+)n?|(?:\d(?:_\d)?)+n|NaN|Infinity)\b|(?:\b(?:\d(?:_\d)?)+\.?(?:\d(?:_\d)?)*|\B\.(?:\d(?:_\d)?)+)(?:[Ee][+-]?(?:\d(?:_\d)?)+)?/,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),n.languages.javascript["class-name"][0].pattern=/(\b(?:class|interface|extends|implements|instanceof|new)\s+)[\w.\\]+/,n.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:n.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:n.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:n.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:n.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:n.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),n.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:n.languages.javascript}},string:/[\s\S]+/}}}),n.languages.markup&&(n.languages.markup.tag.addInlined("script","javascript"),n.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),n.languages.js=n.languages.javascript,function(){if("undefined"!==typeof n&&"undefined"!==typeof document){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var e={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},t='pre[data-src]:not([data-src-status="loaded"]):not([data-src-status="loading"])',r=/\blang(?:uage)?-([\w-]+)\b/i;n.hooks.add("before-highlightall",(function(e){e.selector+=", "+t})),n.hooks.add("before-sanity-check",(function(r){var o=r.element;if(o.matches(t)){r.code="",o.setAttribute("data-src-status","loading");var a=o.appendChild(document.createElement("CODE"));a.textContent="Loading\u2026";var s=o.getAttribute("data-src"),u=r.language;if("none"===u){var l=(/\.(\w+)$/.exec(s)||[,"none"])[1];u=e[l]||l}i(a,u),i(o,u);var c=n.plugins.autoloader;c&&c.loadLanguages(u);var f=new XMLHttpRequest;f.open("GET",s,!0),f.onreadystatechange=function(){var e,t;4==f.readyState&&(f.status<400&&f.responseText?(o.setAttribute("data-src-status","loaded"),a.textContent=f.responseText,n.highlightElement(a)):(o.setAttribute("data-src-status","failed"),f.status>=400?a.textContent=(e=f.status,t=f.statusText,"\u2716 Error "+e+" while fetching file: "+t):a.textContent="\u2716 Error: File does not exist or is empty"))},f.send(null)}})),n.plugins.fileHighlight={highlight:function(e){for(var r,o=(e||document).querySelectorAll(t),i=0;r=o[i++];)n.highlightElement(r)}};var o=!1;n.fileHighlight=function(){o||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),o=!0),n.plugins.fileHighlight.highlight.apply(this,arguments)}}function i(e,t){var n=e.className;n=n.replace(r," ")+" language-"+t,e.className=n.replace(/\s+/g," ").trim()}}()}).call(this,n(59))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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},o=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}}(),i=n(0),a=u(i),s=u(n(2));function u(e){return e&&e.__esModule?e:{default:e}}var l={position:"absolute",top:0,left:0,visibility:"hidden",height:0,overflow:"scroll",whiteSpace:"pre"},c=["extraWidth","injectStyles","inputClassName","inputRef","inputStyle","minWidth","onAutosize","placeholderIsMinWidth"],f=function(e,t){t.style.fontSize=e.fontSize,t.style.fontFamily=e.fontFamily,t.style.fontWeight=e.fontWeight,t.style.fontStyle=e.fontStyle,t.style.letterSpacing=e.letterSpacing,t.style.textTransform=e.textTransform},d=!("undefined"===typeof window||!window.navigator)&&/MSIE |Trident\/|Edge\//.test(window.navigator.userAgent),p=function(){return d?"_"+Math.random().toString(36).substr(2,12):void 0},h=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.inputRef=function(e){n.input=e,"function"===typeof n.props.inputRef&&n.props.inputRef(e)},n.placeHolderSizerRef=function(e){n.placeHolderSizer=e},n.sizerRef=function(e){n.sizer=e},n.state={inputWidth:e.minWidth,inputId:e.id||p()},n}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidMount",value:function(){this.mounted=!0,this.copyInputStyles(),this.updateInputWidth()}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=e.id;t!==this.props.id&&this.setState({inputId:t||p()})}},{key:"componentDidUpdate",value:function(e,t){t.inputWidth!==this.state.inputWidth&&"function"===typeof this.props.onAutosize&&this.props.onAutosize(this.state.inputWidth),this.updateInputWidth()}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"copyInputStyles",value:function(){if(this.mounted&&window.getComputedStyle){var e=this.input&&window.getComputedStyle(this.input);e&&(f(e,this.sizer),this.placeHolderSizer&&f(e,this.placeHolderSizer))}}},{key:"updateInputWidth",value:function(){if(this.mounted&&this.sizer&&"undefined"!==typeof this.sizer.scrollWidth){var e=void 0;e=this.props.placeholder&&(!this.props.value||this.props.value&&this.props.placeholderIsMinWidth)?Math.max(this.sizer.scrollWidth,this.placeHolderSizer.scrollWidth)+2:this.sizer.scrollWidth+2,(e+="number"===this.props.type&&void 0===this.props.extraWidth?16:parseInt(this.props.extraWidth)||0)<this.props.minWidth&&(e=this.props.minWidth),e!==this.state.inputWidth&&this.setState({inputWidth:e})}}},{key:"getInput",value:function(){return this.input}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"select",value:function(){this.input.select()}},{key:"renderStyles",value:function(){var e=this.props.injectStyles;return d&&e?a.default.createElement("style",{dangerouslySetInnerHTML:{__html:"input#"+this.state.inputId+"::-ms-clear {display: none;}"}}):null}},{key:"render",value:function(){var e=[this.props.defaultValue,this.props.value,""].reduce((function(e,t){return null!==e&&void 0!==e?e:t})),t=r({},this.props.style);t.display||(t.display="inline-block");var n=r({boxSizing:"content-box",width:this.state.inputWidth+"px"},this.props.inputStyle),o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(this.props,[]);return function(e){c.forEach((function(t){return delete e[t]}))}(o),o.className=this.props.inputClassName,o.id=this.state.inputId,o.style=n,a.default.createElement("div",{className:this.props.className,style:t},this.renderStyles(),a.default.createElement("input",r({},o,{ref:this.inputRef})),a.default.createElement("div",{ref:this.sizerRef,style:l},e),this.props.placeholder?a.default.createElement("div",{ref:this.placeHolderSizerRef,style:l},this.props.placeholder):null)}}]),t}(i.Component);h.propTypes={className:s.default.string,defaultValue:s.default.any,extraWidth:s.default.oneOfType([s.default.number,s.default.string]),id:s.default.string,injectStyles:s.default.bool,inputClassName:s.default.string,inputRef:s.default.func,inputStyle:s.default.object,minWidth:s.default.oneOfType([s.default.number,s.default.string]),onAutosize:s.default.func,onChange:s.default.func,placeholder:s.default.string,placeholderIsMinWidth:s.default.bool,style:s.default.object,value:s.default.any},h.defaultProps={minWidth:1,injectStyles:!0},t.default=h},function(e,t,n){var r=n(618);e.exports=p,e.exports.parse=i,e.exports.compile=function(e,t){return s(i(e,t),t)},e.exports.tokensToFunction=s,e.exports.tokensToRegExp=d;var o=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function i(e,t){for(var n,r=[],i=0,a=0,s="",c=t&&t.delimiter||"/";null!=(n=o.exec(e));){var f=n[0],d=n[1],p=n.index;if(s+=e.slice(a,p),a=p+f.length,d)s+=d[1];else{var h=e[a],g=n[2],y=n[3],m=n[4],v=n[5],b=n[6],M=n[7];s&&(r.push(s),s="");var w=null!=g&&null!=h&&h!==g,N="+"===b||"*"===b,j="?"===b||"*"===b,S=n[2]||c,I=m||v;r.push({name:y||i++,prefix:g||"",delimiter:S,optional:j,repeat:N,partial:w,asterisk:!!M,pattern:I?l(I):M?".*":"[^"+u(S)+"]+?"})}}return a<e.length&&(s+=e.substr(a)),s&&r.push(s),r}function a(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function s(e,t){for(var n=new Array(e.length),o=0;o<e.length;o++)"object"===typeof e[o]&&(n[o]=new RegExp("^(?:"+e[o].pattern+")$",f(t)));return function(t,o){for(var i="",s=t||{},u=(o||{}).pretty?a:encodeURIComponent,l=0;l<e.length;l++){var c=e[l];if("string"!==typeof c){var f,d=s[c.name];if(null==d){if(c.optional){c.partial&&(i+=c.prefix);continue}throw new TypeError('Expected "'+c.name+'" to be defined')}if(r(d)){if(!c.repeat)throw new TypeError('Expected "'+c.name+'" to not repeat, but received `'+JSON.stringify(d)+"`");if(0===d.length){if(c.optional)continue;throw new TypeError('Expected "'+c.name+'" to not be empty')}for(var p=0;p<d.length;p++){if(f=u(d[p]),!n[l].test(f))throw new TypeError('Expected all "'+c.name+'" to match "'+c.pattern+'", but received `'+JSON.stringify(f)+"`");i+=(0===p?c.prefix:c.delimiter)+f}}else{if(f=c.asterisk?encodeURI(d).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):u(d),!n[l].test(f))throw new TypeError('Expected "'+c.name+'" to match "'+c.pattern+'", but received "'+f+'"');i+=c.prefix+f}}else i+=c}return i}}function u(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function l(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function c(e,t){return e.keys=t,e}function f(e){return e&&e.sensitive?"":"i"}function d(e,t,n){r(t)||(n=t||n,t=[]);for(var o=(n=n||{}).strict,i=!1!==n.end,a="",s=0;s<e.length;s++){var l=e[s];if("string"===typeof l)a+=u(l);else{var d=u(l.prefix),p="(?:"+l.pattern+")";t.push(l),l.repeat&&(p+="(?:"+d+p+")*"),a+=p=l.optional?l.partial?d+"("+p+")?":"(?:"+d+"("+p+"))?":d+"("+p+")"}}var h=u(n.delimiter||"/"),g=a.slice(-h.length)===h;return o||(a=(g?a.slice(0,-h.length):a)+"(?:"+h+"(?=$))?"),a+=i?"$":o&&g?"":"(?="+h+"|$)",c(new RegExp("^"+a,f(n)),t)}function p(e,t,n){return r(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return c(e,t)}(e,t):r(e)?function(e,t,n){for(var r=[],o=0;o<e.length;o++)r.push(p(e[o],t,n).source);return c(new RegExp("(?:"+r.join("|")+")",f(n)),t)}(e,t,n):function(e,t,n){return d(i(e,n),t,n)}(e,t,n)}},function(e,t,n){"use strict";t.__esModule=!0;var r=i(n(0)),o=i(n(620));function i(e){return e&&e.__esModule?e:{default:e}}t.default=r.default.createContext||o.default,e.exports=t.default},function(e,t,n){"use strict";(function(e){var n="undefined"!==typeof window&&"undefined"!==typeof document&&"undefined"!==typeof navigator,r=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(n&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}();var o=n&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),r))}};function i(e){return e&&"[object Function]"==={}.toString.call(e)}function a(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function s(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function u(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=a(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/(auto|scroll|overlay)/.test(n+o+r)?e:u(s(e))}function l(e){return e&&e.referenceNode?e.referenceNode:e}var c=n&&!(!window.MSInputMethodContext||!document.documentMode),f=n&&/MSIE 10/.test(navigator.userAgent);function d(e){return 11===e?c:10===e?f:c||f}function p(e){if(!e)return document.documentElement;for(var t=d(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===a(n,"position")?p(n):n:e?e.ownerDocument.documentElement:document.documentElement}function h(e){return null!==e.parentNode?h(e.parentNode):e}function g(e,t){if(!e||!e.nodeType||!t||!t.nodeType)return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?e:t,o=n?t:e,i=document.createRange();i.setStart(r,0),i.setEnd(o,0);var a=i.commonAncestorContainer;if(e!==a&&t!==a||r.contains(o))return function(e){var t=e.nodeName;return"BODY"!==t&&("HTML"===t||p(e.firstElementChild)===e)}(a)?a:p(a);var s=h(e);return s.host?g(s.host,t):g(e,h(t).host)}function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===t?"scrollTop":"scrollLeft",r=e.nodeName;if("BODY"===r||"HTML"===r){var o=e.ownerDocument.documentElement,i=e.ownerDocument.scrollingElement||o;return i[n]}return e[n]}function m(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=y(t,"top"),o=y(t,"left"),i=n?-1:1;return e.top+=r*i,e.bottom+=r*i,e.left+=o*i,e.right+=o*i,e}function v(e,t){var n="x"===t?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"])+parseFloat(e["border"+r+"Width"])}function b(e,t,n,r){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],d(10)?parseInt(n["offset"+e])+parseInt(r["margin"+("Height"===e?"Top":"Left")])+parseInt(r["margin"+("Height"===e?"Bottom":"Right")]):0)}function M(e){var t=e.body,n=e.documentElement,r=d(10)&&getComputedStyle(n);return{height:b("Height",t,n,r),width:b("Width",t,n,r)}}var w=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},N=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}}(),j=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},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};function I(e){return S({},e,{right:e.left+e.width,bottom:e.top+e.height})}function D(e){var t={};try{if(d(10)){t=e.getBoundingClientRect();var n=y(e,"top"),r=y(e,"left");t.top+=n,t.left+=r,t.bottom+=n,t.right+=r}else t=e.getBoundingClientRect()}catch(p){}var o={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},i="HTML"===e.nodeName?M(e.ownerDocument):{},s=i.width||e.clientWidth||o.width,u=i.height||e.clientHeight||o.height,l=e.offsetWidth-s,c=e.offsetHeight-u;if(l||c){var f=a(e);l-=v(f,"x"),c-=v(f,"y"),o.width-=l,o.height-=c}return I(o)}function x(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=d(10),o="HTML"===t.nodeName,i=D(e),s=D(t),l=u(e),c=a(t),f=parseFloat(c.borderTopWidth),p=parseFloat(c.borderLeftWidth);n&&o&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var h=I({top:i.top-s.top-f,left:i.left-s.left-p,width:i.width,height:i.height});if(h.marginTop=0,h.marginLeft=0,!r&&o){var g=parseFloat(c.marginTop),y=parseFloat(c.marginLeft);h.top-=f-g,h.bottom-=f-g,h.left-=p-y,h.right-=p-y,h.marginTop=g,h.marginLeft=y}return(r&&!n?t.contains(l):t===l&&"BODY"!==l.nodeName)&&(h=m(h,t)),h}function E(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,r=x(e,n),o=Math.max(n.clientWidth,window.innerWidth||0),i=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:y(n),s=t?0:y(n,"left"),u={top:a-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:o,height:i};return I(u)}function O(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===a(e,"position"))return!0;var n=s(e);return!!n&&O(n)}function T(e){if(!e||!e.parentElement||d())return document.documentElement;for(var t=e.parentElement;t&&"none"===a(t,"transform");)t=t.parentElement;return t||document.documentElement}function C(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},a=o?T(e):g(e,l(t));if("viewport"===r)i=E(a,o);else{var c=void 0;"scrollParent"===r?"BODY"===(c=u(s(t))).nodeName&&(c=e.ownerDocument.documentElement):c="window"===r?e.ownerDocument.documentElement:r;var f=x(c,a,o);if("HTML"!==c.nodeName||O(a))i=f;else{var d=M(e.ownerDocument),p=d.height,h=d.width;i.top+=f.top-f.marginTop,i.bottom=p+f.top,i.left+=f.left-f.marginLeft,i.right=h+f.left}}var y="number"===typeof(n=n||0);return i.left+=y?n:n.left||0,i.top+=y?n:n.top||0,i.right-=y?n:n.right||0,i.bottom-=y?n:n.bottom||0,i}function k(e){return e.width*e.height}function L(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=C(n,r,i,o),s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},u=Object.keys(s).map((function(e){return S({key:e},s[e],{area:k(s[e])})})).sort((function(e,t){return t.area-e.area})),l=u.filter((function(e){var t=e.width,r=e.height;return t>=n.clientWidth&&r>=n.clientHeight})),c=l.length>0?l[0].key:u[0].key,f=e.split("-")[1];return c+(f?"-"+f:"")}function _(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=r?T(t):g(t,l(n));return x(n,o,r)}function A(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),r=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+r,height:e.offsetHeight+n}}function z(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function P(e,t,n){n=n.split("-")[0];var r=A(e),o={width:r.width,height:r.height},i=-1!==["right","left"].indexOf(n),a=i?"top":"left",s=i?"left":"top",u=i?"height":"width",l=i?"width":"height";return o[a]=t[a]+t[u]/2-r[u]/2,o[s]=n===s?t[s]-r[l]:t[z(s)],o}function R(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function U(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===n}));var r=R(e,(function(e){return e[t]===n}));return e.indexOf(r)}(e,"name",n))).forEach((function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&i(n)&&(t.offsets.popper=I(t.offsets.popper),t.offsets.reference=I(t.offsets.reference),t=n(t,e))})),t}function B(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=_(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=L(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=P(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=U(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function F(e,t){return e.some((function(e){var n=e.name;return e.enabled&&n===t}))}function Y(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),r=0;r<t.length;r++){var o=t[r],i=o?""+o+n:e;if("undefined"!==typeof document.body.style[i])return i}return null}function G(){return this.state.isDestroyed=!0,F(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[Y("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function H(e){var t=e.ownerDocument;return t?t.defaultView:window}function V(e,t,n,r){n.updateBound=r,H(e).addEventListener("resize",n.updateBound,{passive:!0});var o=u(e);return function e(t,n,r,o){var i="BODY"===t.nodeName,a=i?t.ownerDocument.defaultView:t;a.addEventListener(n,r,{passive:!0}),i||e(u(a.parentNode),n,r,o),o.push(a)}(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function Q(){this.state.eventsEnabled||(this.state=V(this.reference,this.options,this.state,this.scheduleUpdate))}function W(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,H(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach((function(e){e.removeEventListener("scroll",t.updateBound)})),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function Z(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function q(e,t){Object.keys(t).forEach((function(n){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&Z(t[n])&&(r="px"),e.style[n]=t[n]+r}))}var X=n&&/Firefox/i.test(navigator.userAgent);function $(e,t,n){var r=R(e,(function(e){return e.name===t})),o=!!r&&e.some((function(e){return e.name===n&&e.enabled&&e.order<r.order}));if(!o){var i="`"+t+"`",a="`"+n+"`";console.warn(a+" modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")}return o}var J=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],K=J.slice(3);function ee(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=K.indexOf(e),r=K.slice(n+1).concat(K.slice(0,n));return t?r.reverse():r}var te="flip",ne="clockwise",re="counterclockwise";function oe(e,t,n,r){var o=[0,0],i=-1!==["right","left"].indexOf(r),a=e.split(/(\+|\-)/).map((function(e){return e.trim()})),s=a.indexOf(R(a,(function(e){return-1!==e.search(/,|\s/)})));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var u=/\s*,\s*|\s+/,l=-1!==s?[a.slice(0,s).concat([a[s].split(u)[0]]),[a[s].split(u)[1]].concat(a.slice(s+1))]:[a];return(l=l.map((function(e,r){var o=(1===r?!i:i)?"height":"width",a=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,n,r){var o=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+o[1],a=o[2];if(!i)return e;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=r}return I(s)[t]/100*i}if("vh"===a||"vw"===a){return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i}return i}(e,o,t,n)}))}))).forEach((function(e,t){e.forEach((function(n,r){Z(n)&&(o[t]+=n*("-"===e[r-1]?-1:1))}))})),o}var ie={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],r=t.split("-")[1];if(r){var o=e.offsets,i=o.reference,a=o.popper,s=-1!==["bottom","top"].indexOf(n),u=s?"left":"top",l=s?"width":"height",c={start:j({},u,i[u]),end:j({},u,i[u]+i[l]-a[l])};e.offsets.popper=S({},a,c[r])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,r=e.placement,o=e.offsets,i=o.popper,a=o.reference,s=r.split("-")[0],u=void 0;return u=Z(+n)?[+n,0]:oe(n,i,a,s),"left"===s?(i.top+=u[0],i.left-=u[1]):"right"===s?(i.top+=u[0],i.left+=u[1]):"top"===s?(i.left+=u[0],i.top-=u[1]):"bottom"===s&&(i.left+=u[0],i.top+=u[1]),e.popper=i,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||p(e.instance.popper);e.instance.reference===n&&(n=p(n));var r=Y("transform"),o=e.instance.popper.style,i=o.top,a=o.left,s=o[r];o.top="",o.left="",o[r]="";var u=C(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);o.top=i,o.left=a,o[r]=s,t.boundaries=u;var l=t.priority,c=e.offsets.popper,f={primary:function(e){var n=c[e];return c[e]<u[e]&&!t.escapeWithReference&&(n=Math.max(c[e],u[e])),j({},e,n)},secondary:function(e){var n="right"===e?"left":"top",r=c[n];return c[e]>u[e]&&!t.escapeWithReference&&(r=Math.min(c[n],u[e]-("right"===e?c.width:c.height))),j({},n,r)}};return l.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";c=S({},c,f[t](e))})),e.offsets.popper=c,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,r=t.reference,o=e.placement.split("-")[0],i=Math.floor,a=-1!==["top","bottom"].indexOf(o),s=a?"right":"bottom",u=a?"left":"top",l=a?"width":"height";return n[s]<i(r[u])&&(e.offsets.popper[u]=i(r[u])-n[l]),n[u]>i(r[s])&&(e.offsets.popper[u]=i(r[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!$(e.instance.modifiers,"arrow","keepTogether"))return e;var r=t.element;if("string"===typeof r){if(!(r=e.instance.popper.querySelector(r)))return e}else if(!e.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var o=e.placement.split("-")[0],i=e.offsets,s=i.popper,u=i.reference,l=-1!==["left","right"].indexOf(o),c=l?"height":"width",f=l?"Top":"Left",d=f.toLowerCase(),p=l?"left":"top",h=l?"bottom":"right",g=A(r)[c];u[h]-g<s[d]&&(e.offsets.popper[d]-=s[d]-(u[h]-g)),u[d]+g>s[h]&&(e.offsets.popper[d]+=u[d]+g-s[h]),e.offsets.popper=I(e.offsets.popper);var y=u[d]+u[c]/2-g/2,m=a(e.instance.popper),v=parseFloat(m["margin"+f]),b=parseFloat(m["border"+f+"Width"]),M=y-e.offsets.popper[d]-v-b;return M=Math.max(Math.min(s[c]-g,M),0),e.arrowElement=r,e.offsets.arrow=(j(n={},d,Math.round(M)),j(n,p,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(F(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=C(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split("-")[0],o=z(r),i=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case te:a=[r,o];break;case ne:a=ee(r);break;case re:a=ee(r,!0);break;default:a=t.behavior}return a.forEach((function(s,u){if(r!==s||a.length===u+1)return e;r=e.placement.split("-")[0],o=z(r);var l=e.offsets.popper,c=e.offsets.reference,f=Math.floor,d="left"===r&&f(l.right)>f(c.left)||"right"===r&&f(l.left)<f(c.right)||"top"===r&&f(l.bottom)>f(c.top)||"bottom"===r&&f(l.top)<f(c.bottom),p=f(l.left)<f(n.left),h=f(l.right)>f(n.right),g=f(l.top)<f(n.top),y=f(l.bottom)>f(n.bottom),m="left"===r&&p||"right"===r&&h||"top"===r&&g||"bottom"===r&&y,v=-1!==["top","bottom"].indexOf(r),b=!!t.flipVariations&&(v&&"start"===i&&p||v&&"end"===i&&h||!v&&"start"===i&&g||!v&&"end"===i&&y),M=!!t.flipVariationsByContent&&(v&&"start"===i&&h||v&&"end"===i&&p||!v&&"start"===i&&y||!v&&"end"===i&&g),w=b||M;(d||m||w)&&(e.flipped=!0,(d||m)&&(r=a[u+1]),w&&(i=function(e){return"end"===e?"start":"start"===e?"end":e}(i)),e.placement=r+(i?"-"+i:""),e.offsets.popper=S({},e.offsets.popper,P(e.instance.popper,e.offsets.reference,e.placement)),e=U(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],r=e.offsets,o=r.popper,i=r.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return o[a?"left":"top"]=i[n]-(s?o[a?"width":"height"]:0),e.placement=z(t),e.offsets.popper=I(o),e}},hide:{order:800,enabled:!0,fn:function(e){if(!$(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=R(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n=t.x,r=t.y,o=e.offsets.popper,i=R(e.instance.modifiers,(function(e){return"applyStyle"===e.name})).gpuAcceleration;void 0!==i&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=void 0!==i?i:t.gpuAcceleration,s=p(e.instance.popper),u=D(s),l={position:o.position},c=function(e,t){var n=e.offsets,r=n.popper,o=n.reference,i=Math.round,a=Math.floor,s=function(e){return e},u=i(o.width),l=i(r.width),c=-1!==["left","right"].indexOf(e.placement),f=-1!==e.placement.indexOf("-"),d=t?c||f||u%2===l%2?i:a:s,p=t?i:s;return{left:d(u%2===1&&l%2===1&&!f&&t?r.left-1:r.left),top:p(r.top),bottom:p(r.bottom),right:d(r.right)}}(e,window.devicePixelRatio<2||!X),f="bottom"===n?"top":"bottom",d="right"===r?"left":"right",h=Y("transform"),g=void 0,y=void 0;if(y="bottom"===f?"HTML"===s.nodeName?-s.clientHeight+c.bottom:-u.height+c.bottom:c.top,g="right"===d?"HTML"===s.nodeName?-s.clientWidth+c.right:-u.width+c.right:c.left,a&&h)l[h]="translate3d("+g+"px, "+y+"px, 0)",l[f]=0,l[d]=0,l.willChange="transform";else{var m="bottom"===f?-1:1,v="right"===d?-1:1;l[f]=y*m,l[d]=g*v,l.willChange=f+", "+d}var b={"x-placement":e.placement};return e.attributes=S({},b,e.attributes),e.styles=S({},l,e.styles),e.arrowStyles=S({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,n;return q(e.instance.popper,e.styles),t=e.instance.popper,n=e.attributes,Object.keys(n).forEach((function(e){!1!==n[e]?t.setAttribute(e,n[e]):t.removeAttribute(e)})),e.arrowElement&&Object.keys(e.arrowStyles).length&&q(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,r,o){var i=_(o,t,e,n.positionFixed),a=L(n.placement,i,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",a),q(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},ae=function(){function e(t,n){var r=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};w(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=o(this.update.bind(this)),this.options=S({},e.Defaults,a),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(S({},e.Defaults.modifiers,a.modifiers)).forEach((function(t){r.options.modifiers[t]=S({},e.Defaults.modifiers[t]||{},a.modifiers?a.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return S({name:e},r.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&i(e.onLoad)&&e.onLoad(r.reference,r.popper,r.options,e,r.state)})),this.update();var s=this.options.eventsEnabled;s&&this.enableEventListeners(),this.state.eventsEnabled=s}return N(e,[{key:"update",value:function(){return B.call(this)}},{key:"destroy",value:function(){return G.call(this)}},{key:"enableEventListeners",value:function(){return Q.call(this)}},{key:"disableEventListeners",value:function(){return W.call(this)}}]),e}();ae.Utils=("undefined"!==typeof window?window:e).PopperUtils,ae.placements=J,ae.Defaults=ie,t.a=ae}).call(this,n(59))},function(e,t,n){var r=n(652).clean,o=/[.*+?^${}()|[\]\\]/g,i=/[a-z0-9_]/i,a=/\s+/;e.exports=function(e,t,n){var s,u;return u={insideWords:!1,findAllOccurrences:!1,requireMatchAll:!1},s=(s=n)||{},Object.keys(s).forEach((function(e){u[e]=!!s[e]})),n=u,e=r(e),(t=r(t)).trim().split(a).filter((function(e){return e.length>0})).reduce((function(t,r){var a,s,u=r.length,l=!n.insideWords&&i.test(r[0])?"\\b":"",c=new RegExp(l+r.replace(o,"\\$&"),"i");if(a=c.exec(e),n.requireMatchAll&&null===a)return e="",[];for(;a&&(s=a.index,t.push([s,s+u]),e=e.slice(0,s)+new Array(u+1).join(" ")+e.slice(s+u),n.findAllOccurrences);)a=c.exec(e);return t}),[]).sort((function(e,t){return e[0]-t[0]}))}},function(e,t,n){"use strict";e.exports=n(655).default},function(e,t,n){"use strict";e.exports=n(714)},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(0),o=n.n(r),i=n(191);function a(){return o.a.useContext(i.a)}},function(e,t,n){"use strict";var r=n(1),o=n(52),i=n(5),a=n(0),s=n(207),u=n(33),l=n(55),c=n(19);function f(e){return"scale(".concat(e,", ").concat(Math.pow(e,2),")")}var d={entering:{opacity:1,transform:f(1)},entered:{opacity:1,transform:"none"}},p=a.forwardRef((function(e,t){var n=e.children,p=e.disableStrictModeCompat,h=void 0!==p&&p,g=e.in,y=e.onEnter,m=e.onEntered,v=e.onEntering,b=e.onExit,M=e.onExited,w=e.onExiting,N=e.style,j=e.timeout,S=void 0===j?"auto":j,I=e.TransitionComponent,D=void 0===I?s.a:I,x=Object(i.a)(e,["children","disableStrictModeCompat","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),E=a.useRef(),O=a.useRef(),T=Object(u.a)(),C=T.unstable_strictMode&&!h,k=a.useRef(null),L=Object(c.a)(n.ref,t),_=Object(c.a)(C?k:void 0,L),A=function(e){return function(t,n){if(e){var r=C?[k.current,t]:[t,n],i=Object(o.a)(r,2),a=i[0],s=i[1];void 0===s?e(a):e(a,s)}}},z=A(v),P=A((function(e,t){Object(l.b)(e);var n,r=Object(l.a)({style:N,timeout:S},{mode:"enter"}),o=r.duration,i=r.delay;"auto"===S?(n=T.transitions.getAutoHeightDuration(e.clientHeight),O.current=n):n=o,e.style.transition=[T.transitions.create("opacity",{duration:n,delay:i}),T.transitions.create("transform",{duration:.666*n,delay:i})].join(","),y&&y(e,t)})),R=A(m),U=A(w),B=A((function(e){var t,n=Object(l.a)({style:N,timeout:S},{mode:"exit"}),r=n.duration,o=n.delay;"auto"===S?(t=T.transitions.getAutoHeightDuration(e.clientHeight),O.current=t):t=r,e.style.transition=[T.transitions.create("opacity",{duration:t,delay:o}),T.transitions.create("transform",{duration:.666*t,delay:o||.333*t})].join(","),e.style.opacity="0",e.style.transform=f(.75),b&&b(e)})),F=A(M);return a.useEffect((function(){return function(){clearTimeout(E.current)}}),[]),a.createElement(D,Object(r.a)({appear:!0,in:g,nodeRef:C?k:void 0,onEnter:P,onEntered:R,onEntering:z,onExit:B,onExited:F,onExiting:U,addEndListener:function(e,t){var n=C?e:t;"auto"===S&&(E.current=setTimeout(n,O.current||0))},timeout:"auto"===S?null:S},x),(function(e,t){return a.cloneElement(n,Object(r.a)({style:Object(r.a)({opacity:0,transform:f(.75),visibility:"exited"!==e||g?void 0:"hidden"},d[e],N,n.props.style),ref:_},t))}))}));p.muiSupportAuto=!0,t.a=p},function(e,t,n){"use strict";var r=n(5),o=n(1),i=n(0),a=n(15),s=n(280),u=n(788),l=n(38),c=n(743),f=n(54),d=n(19),p=n(42),h=n(194),g=n(289),y=n(123),m=n(85),v=n(195),b=n(102);function M(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function w(e){return parseInt(window.getComputedStyle(e)["padding-right"],10)||0}function N(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=arguments.length>4?arguments[4]:void 0,i=[t,n].concat(Object(m.a)(r)),a=["TEMPLATE","SCRIPT","STYLE"];[].forEach.call(e.children,(function(e){1===e.nodeType&&-1===i.indexOf(e)&&-1===a.indexOf(e.tagName)&&M(e,o)}))}function j(e,t){var n=-1;return e.some((function(e,r){return!!t(e)&&(n=r,!0)})),n}function S(e,t){var n,r=[],o=[],i=e.container;if(!t.disableScrollLock){if(function(e){var t=Object(l.a)(e);return t.body===e?Object(b.a)(t).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(i)){var a=Object(v.a)();r.push({value:i.style.paddingRight,key:"padding-right",el:i}),i.style["padding-right"]="".concat(w(i)+a,"px"),n=Object(l.a)(i).querySelectorAll(".mui-fixed"),[].forEach.call(n,(function(e){o.push(e.style.paddingRight),e.style.paddingRight="".concat(w(e)+a,"px")}))}var s=i.parentElement,u="HTML"===s.nodeName&&"scroll"===window.getComputedStyle(s)["overflow-y"]?s:i;r.push({value:u.style.overflow,key:"overflow",el:u}),u.style.overflow="hidden"}return function(){n&&[].forEach.call(n,(function(e,t){o[t]?e.style.paddingRight=o[t]:e.style.removeProperty("padding-right")})),r.forEach((function(e){var t=e.value,n=e.el,r=e.key;t?n.style.setProperty(r,t):n.style.removeProperty(r)}))}}var I=function(){function e(){Object(g.a)(this,e),this.modals=[],this.containers=[]}return Object(y.a)(e,[{key:"add",value:function(e,t){var n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&M(e.modalRef,!1);var r=function(e){var t=[];return[].forEach.call(e.children,(function(e){e.getAttribute&&"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);N(t,e.mountNode,e.modalRef,r,!0);var o=j(this.containers,(function(e){return e.container===t}));return-1!==o?(this.containers[o].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblingNodes:r}),n)}},{key:"mount",value:function(e,t){var n=j(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),r=this.containers[n];r.restore||(r.restore=S(r,t))}},{key:"remove",value:function(e){var t=this.modals.indexOf(e);if(-1===t)return t;var n=j(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),r=this.containers[n];if(r.modals.splice(r.modals.indexOf(e),1),this.modals.splice(t,1),0===r.modals.length)r.restore&&r.restore(),e.modalRef&&M(e.modalRef,!0),N(r.container,e.mountNode,e.modalRef,r.hiddenSiblingNodes,!1),this.containers.splice(n,1);else{var o=r.modals[r.modals.length-1];o.modalRef&&M(o.modalRef,!1)}return t}},{key:"isTopModal",value:function(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}}]),e}();var D=function(e){var t=e.children,n=e.disableAutoFocus,r=void 0!==n&&n,o=e.disableEnforceFocus,s=void 0!==o&&o,u=e.disableRestoreFocus,c=void 0!==u&&u,f=e.getDoc,p=e.isEnabled,h=e.open,g=i.useRef(),y=i.useRef(null),m=i.useRef(null),v=i.useRef(),b=i.useRef(null),M=i.useCallback((function(e){b.current=a.findDOMNode(e)}),[]),w=Object(d.a)(t.ref,M),N=i.useRef();return i.useEffect((function(){N.current=h}),[h]),!N.current&&h&&"undefined"!==typeof window&&(v.current=f().activeElement),i.useEffect((function(){if(h){var e=Object(l.a)(b.current);r||!b.current||b.current.contains(e.activeElement)||(b.current.hasAttribute("tabIndex")||b.current.setAttribute("tabIndex",-1),b.current.focus());var t=function(){null!==b.current&&(e.hasFocus()&&!s&&p()&&!g.current?b.current&&!b.current.contains(e.activeElement)&&b.current.focus():g.current=!1)},n=function(t){!s&&p()&&9===t.keyCode&&e.activeElement===b.current&&(g.current=!0,t.shiftKey?m.current.focus():y.current.focus())};e.addEventListener("focus",t,!0),e.addEventListener("keydown",n,!0);var o=setInterval((function(){t()}),50);return function(){clearInterval(o),e.removeEventListener("focus",t,!0),e.removeEventListener("keydown",n,!0),c||(v.current&&v.current.focus&&v.current.focus(),v.current=null)}}}),[r,s,c,p,h]),i.createElement(i.Fragment,null,i.createElement("div",{tabIndex:0,ref:y,"data-test":"sentinelStart"}),i.cloneElement(t,{ref:w}),i.createElement("div",{tabIndex:0,ref:m,"data-test":"sentinelEnd"}))},x={root:{zIndex:-1,position:"fixed",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},invisible:{backgroundColor:"transparent"}},E=i.forwardRef((function(e,t){var n=e.invisible,a=void 0!==n&&n,s=e.open,u=Object(r.a)(e,["invisible","open"]);return s?i.createElement("div",Object(o.a)({"aria-hidden":!0,ref:t},u,{style:Object(o.a)({},x.root,a?x.invisible:{},u.style)})):null}));var O=new I,T=i.forwardRef((function(e,t){var n=Object(s.a)(),g=Object(u.a)({name:"MuiModal",props:Object(o.a)({},e),theme:n}),y=g.BackdropComponent,m=void 0===y?E:y,v=g.BackdropProps,b=g.children,w=g.closeAfterTransition,N=void 0!==w&&w,j=g.container,S=g.disableAutoFocus,I=void 0!==S&&S,x=g.disableBackdropClick,T=void 0!==x&&x,C=g.disableEnforceFocus,k=void 0!==C&&C,L=g.disableEscapeKeyDown,_=void 0!==L&&L,A=g.disablePortal,z=void 0!==A&&A,P=g.disableRestoreFocus,R=void 0!==P&&P,U=g.disableScrollLock,B=void 0!==U&&U,F=g.hideBackdrop,Y=void 0!==F&&F,G=g.keepMounted,H=void 0!==G&&G,V=g.manager,Q=void 0===V?O:V,W=g.onBackdropClick,Z=g.onClose,q=g.onEscapeKeyDown,X=g.onRendered,$=g.open,J=Object(r.a)(g,["BackdropComponent","BackdropProps","children","closeAfterTransition","container","disableAutoFocus","disableBackdropClick","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onEscapeKeyDown","onRendered","open"]),K=i.useState(!0),ee=K[0],te=K[1],ne=i.useRef({}),re=i.useRef(null),oe=i.useRef(null),ie=Object(d.a)(oe,t),ae=function(e){return!!e.children&&e.children.props.hasOwnProperty("in")}(g),se=function(){return Object(l.a)(re.current)},ue=function(){return ne.current.modalRef=oe.current,ne.current.mountNode=re.current,ne.current},le=function(){Q.mount(ue(),{disableScrollLock:B}),oe.current.scrollTop=0},ce=Object(p.a)((function(){var e=function(e){return e="function"===typeof e?e():e,a.findDOMNode(e)}(j)||se().body;Q.add(ue(),e),oe.current&&le()})),fe=i.useCallback((function(){return Q.isTopModal(ue())}),[Q]),de=Object(p.a)((function(e){re.current=e,e&&(X&&X(),$&&fe()?le():M(oe.current,!0))})),pe=i.useCallback((function(){Q.remove(ue())}),[Q]);if(i.useEffect((function(){return function(){pe()}}),[pe]),i.useEffect((function(){$?ce():ae&&N||pe()}),[$,pe,ae,N,ce]),!H&&!$&&(!ae||ee))return null;var he=function(e){return{root:{position:"fixed",zIndex:e.zIndex.modal,right:0,bottom:0,top:0,left:0},hidden:{visibility:"hidden"}}}(n||{zIndex:h.a}),ge={};return void 0===b.props.tabIndex&&(ge.tabIndex=b.props.tabIndex||"-1"),ae&&(ge.onEnter=Object(f.a)((function(){te(!1)}),b.props.onEnter),ge.onExited=Object(f.a)((function(){te(!0),N&&pe()}),b.props.onExited)),i.createElement(c.a,{ref:de,container:j,disablePortal:z},i.createElement("div",Object(o.a)({ref:ie,onKeyDown:function(e){"Escape"===e.key&&fe()&&(q&&q(e),_||(e.stopPropagation(),Z&&Z(e,"escapeKeyDown")))},role:"presentation"},J,{style:Object(o.a)({},he.root,!$&&ee?he.hidden:{},J.style)}),Y?null:i.createElement(m,Object(o.a)({open:$,onClick:function(e){e.target===e.currentTarget&&(W&&W(e),!T&&Z&&Z(e,"backdropClick"))}},v)),i.createElement(D,{disableEnforceFocus:k,disableAutoFocus:I,disableRestoreFocus:R,getDoc:se,isEnabled:fe,open:$},i.cloneElement(b,ge))))}));t.a=T},,,function(e,t,n){(function(e,r){var o;(function(){var i="Expected a function",a="__lodash_placeholder__",s=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],u="[object Arguments]",l="[object Array]",c="[object Boolean]",f="[object Date]",d="[object Error]",p="[object Function]",h="[object GeneratorFunction]",g="[object Map]",y="[object Number]",m="[object Object]",v="[object RegExp]",b="[object Set]",M="[object String]",w="[object Symbol]",N="[object WeakMap]",j="[object ArrayBuffer]",S="[object DataView]",I="[object Float32Array]",D="[object Float64Array]",x="[object Int8Array]",E="[object Int16Array]",O="[object Int32Array]",T="[object Uint8Array]",C="[object Uint16Array]",k="[object Uint32Array]",L=/\b__p \+= '';/g,_=/\b(__p \+=) '' \+/g,A=/(__e\(.*?\)|\b__t\)) \+\n'';/g,z=/&(?:amp|lt|gt|quot|#39);/g,P=/[&<>"']/g,R=RegExp(z.source),U=RegExp(P.source),B=/<%-([\s\S]+?)%>/g,F=/<%([\s\S]+?)%>/g,Y=/<%=([\s\S]+?)%>/g,G=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,H=/^\w*$/,V=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Q=/[\\^$.*+?()[\]{}|]/g,W=RegExp(Q.source),Z=/^\s+/,q=/\s/,X=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,$=/\{\n\/\* \[wrapped with (.+)\] \*/,J=/,? & /,K=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ee=/[()=,{}\[\]\/\s]/,te=/\\(\\)?/g,ne=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,re=/\w*$/,oe=/^[-+]0x[0-9a-f]+$/i,ie=/^0b[01]+$/i,ae=/^\[object .+?Constructor\]$/,se=/^0o[0-7]+$/i,ue=/^(?:0|[1-9]\d*)$/,le=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ce=/($^)/,fe=/['\n\r\u2028\u2029\\]/g,de="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",pe="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",he="[\\ud800-\\udfff]",ge="["+pe+"]",ye="["+de+"]",me="\\d+",ve="[\\u2700-\\u27bf]",be="[a-z\\xdf-\\xf6\\xf8-\\xff]",Me="[^\\ud800-\\udfff"+pe+me+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",we="\\ud83c[\\udffb-\\udfff]",Ne="[^\\ud800-\\udfff]",je="(?:\\ud83c[\\udde6-\\uddff]){2}",Se="[\\ud800-\\udbff][\\udc00-\\udfff]",Ie="[A-Z\\xc0-\\xd6\\xd8-\\xde]",De="(?:"+be+"|"+Me+")",xe="(?:"+Ie+"|"+Me+")",Ee="(?:"+ye+"|"+we+")"+"?",Oe="[\\ufe0e\\ufe0f]?"+Ee+("(?:\\u200d(?:"+[Ne,je,Se].join("|")+")[\\ufe0e\\ufe0f]?"+Ee+")*"),Te="(?:"+[ve,je,Se].join("|")+")"+Oe,Ce="(?:"+[Ne+ye+"?",ye,je,Se,he].join("|")+")",ke=RegExp("['\u2019]","g"),Le=RegExp(ye,"g"),_e=RegExp(we+"(?="+we+")|"+Ce+Oe,"g"),Ae=RegExp([Ie+"?"+be+"+(?:['\u2019](?:d|ll|m|re|s|t|ve))?(?="+[ge,Ie,"$"].join("|")+")",xe+"+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?(?="+[ge,Ie+De,"$"].join("|")+")",Ie+"?"+De+"+(?:['\u2019](?:d|ll|m|re|s|t|ve))?",Ie+"+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",me,Te].join("|"),"g"),ze=RegExp("[\\u200d\\ud800-\\udfff"+de+"\\ufe0e\\ufe0f]"),Pe=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Re=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Ue=-1,Be={};Be[I]=Be[D]=Be[x]=Be[E]=Be[O]=Be[T]=Be["[object Uint8ClampedArray]"]=Be[C]=Be[k]=!0,Be[u]=Be[l]=Be[j]=Be[c]=Be[S]=Be[f]=Be[d]=Be[p]=Be[g]=Be[y]=Be[m]=Be[v]=Be[b]=Be[M]=Be[N]=!1;var Fe={};Fe[u]=Fe[l]=Fe[j]=Fe[S]=Fe[c]=Fe[f]=Fe[I]=Fe[D]=Fe[x]=Fe[E]=Fe[O]=Fe[g]=Fe[y]=Fe[m]=Fe[v]=Fe[b]=Fe[M]=Fe[w]=Fe[T]=Fe["[object Uint8ClampedArray]"]=Fe[C]=Fe[k]=!0,Fe[d]=Fe[p]=Fe[N]=!1;var Ye={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ge=parseFloat,He=parseInt,Ve="object"==typeof e&&e&&e.Object===Object&&e,Qe="object"==typeof self&&self&&self.Object===Object&&self,We=Ve||Qe||Function("return this")(),Ze=t&&!t.nodeType&&t,qe=Ze&&"object"==typeof r&&r&&!r.nodeType&&r,Xe=qe&&qe.exports===Ze,$e=Xe&&Ve.process,Je=function(){try{var e=qe&&qe.require&&qe.require("util").types;return e||$e&&$e.binding&&$e.binding("util")}catch(t){}}(),Ke=Je&&Je.isArrayBuffer,et=Je&&Je.isDate,tt=Je&&Je.isMap,nt=Je&&Je.isRegExp,rt=Je&&Je.isSet,ot=Je&&Je.isTypedArray;function it(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function at(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o<i;){var a=e[o];t(r,a,n(a),e)}return r}function st(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function ut(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function lt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function ct(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}function ft(e,t){return!!(null==e?0:e.length)&&wt(e,t,0)>-1}function dt(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}function pt(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function ht(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function gt(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}function yt(e,t,n,r){var o=null==e?0:e.length;for(r&&o&&(n=e[--o]);o--;)n=t(n,e[o],o,e);return n}function mt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var vt=It("length");function bt(e,t,n){var r;return n(e,(function(e,n,o){if(t(e,n,o))return r=n,!1})),r}function Mt(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}function wt(e,t,n){return t===t?function(e,t,n){var r=n-1,o=e.length;for(;++r<o;)if(e[r]===t)return r;return-1}(e,t,n):Mt(e,jt,n)}function Nt(e,t,n,r){for(var o=n-1,i=e.length;++o<i;)if(r(e[o],t))return o;return-1}function jt(e){return e!==e}function St(e,t){var n=null==e?0:e.length;return n?Et(e,t)/n:NaN}function It(e){return function(t){return null==t?void 0:t[e]}}function Dt(e){return function(t){return null==e?void 0:e[t]}}function xt(e,t,n,r,o){return o(e,(function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)})),n}function Et(e,t){for(var n,r=-1,o=e.length;++r<o;){var i=t(e[r]);void 0!==i&&(n=void 0===n?i:n+i)}return n}function Ot(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function Tt(e){return e?e.slice(0,Zt(e)+1).replace(Z,""):e}function Ct(e){return function(t){return e(t)}}function kt(e,t){return pt(t,(function(t){return e[t]}))}function Lt(e,t){return e.has(t)}function _t(e,t){for(var n=-1,r=e.length;++n<r&&wt(t,e[n],0)>-1;);return n}function At(e,t){for(var n=e.length;n--&&wt(t,e[n],0)>-1;);return n}function zt(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}var Pt=Dt({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"}),Rt=Dt({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function Ut(e){return"\\"+Ye[e]}function Bt(e){return ze.test(e)}function Ft(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function Yt(e,t){return function(n){return e(t(n))}}function Gt(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var s=e[n];s!==t&&s!==a||(e[n]=a,i[o++]=n)}return i}function Ht(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function Vt(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function Qt(e){return Bt(e)?function(e){var t=_e.lastIndex=0;for(;_e.test(e);)++t;return t}(e):vt(e)}function Wt(e){return Bt(e)?function(e){return e.match(_e)||[]}(e):function(e){return e.split("")}(e)}function Zt(e){for(var t=e.length;t--&&q.test(e.charAt(t)););return t}var qt=Dt({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});var Xt=function e(t){var n=(t=null==t?We:Xt.defaults(We.Object(),t,Xt.pick(We,Re))).Array,r=t.Date,o=t.Error,q=t.Function,de=t.Math,pe=t.Object,he=t.RegExp,ge=t.String,ye=t.TypeError,me=n.prototype,ve=q.prototype,be=pe.prototype,Me=t["__core-js_shared__"],we=ve.toString,Ne=be.hasOwnProperty,je=0,Se=function(){var e=/[^.]+$/.exec(Me&&Me.keys&&Me.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Ie=be.toString,De=we.call(pe),xe=We._,Ee=he("^"+we.call(Ne).replace(Q,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Oe=Xe?t.Buffer:void 0,Te=t.Symbol,Ce=t.Uint8Array,_e=Oe?Oe.allocUnsafe:void 0,ze=Yt(pe.getPrototypeOf,pe),Ye=pe.create,Ve=be.propertyIsEnumerable,Qe=me.splice,Ze=Te?Te.isConcatSpreadable:void 0,qe=Te?Te.iterator:void 0,$e=Te?Te.toStringTag:void 0,Je=function(){try{var e=ei(pe,"defineProperty");return e({},"",{}),e}catch(t){}}(),vt=t.clearTimeout!==We.clearTimeout&&t.clearTimeout,Dt=r&&r.now!==We.Date.now&&r.now,$t=t.setTimeout!==We.setTimeout&&t.setTimeout,Jt=de.ceil,Kt=de.floor,en=pe.getOwnPropertySymbols,tn=Oe?Oe.isBuffer:void 0,nn=t.isFinite,rn=me.join,on=Yt(pe.keys,pe),an=de.max,sn=de.min,un=r.now,ln=t.parseInt,cn=de.random,fn=me.reverse,dn=ei(t,"DataView"),pn=ei(t,"Map"),hn=ei(t,"Promise"),gn=ei(t,"Set"),yn=ei(t,"WeakMap"),mn=ei(pe,"create"),vn=yn&&new yn,bn={},Mn=xi(dn),wn=xi(pn),Nn=xi(hn),jn=xi(gn),Sn=xi(yn),In=Te?Te.prototype:void 0,Dn=In?In.valueOf:void 0,xn=In?In.toString:void 0;function En(e){if(Ha(e)&&!La(e)&&!(e instanceof kn)){if(e instanceof Cn)return e;if(Ne.call(e,"__wrapped__"))return Ei(e)}return new Cn(e)}var On=function(){function e(){}return function(t){if(!Ga(t))return{};if(Ye)return Ye(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function Tn(){}function Cn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}function kn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function Ln(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function _n(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function An(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function zn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new An;++t<n;)this.add(e[t])}function Pn(e){var t=this.__data__=new _n(e);this.size=t.size}function Rn(e,t){var n=La(e),r=!n&&ka(e),o=!n&&!r&&Pa(e),i=!n&&!r&&!o&&Ja(e),a=n||r||o||i,s=a?Ot(e.length,ge):[],u=s.length;for(var l in e)!t&&!Ne.call(e,l)||a&&("length"==l||o&&("offset"==l||"parent"==l)||i&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||si(l,u))||s.push(l);return s}function Un(e){var t=e.length;return t?e[zr(0,t-1)]:void 0}function Bn(e,t){return Si(vo(e),qn(t,0,e.length))}function Fn(e){return Si(vo(e))}function Yn(e,t,n){(void 0!==n&&!Oa(e[t],n)||void 0===n&&!(t in e))&&Wn(e,t,n)}function Gn(e,t,n){var r=e[t];Ne.call(e,t)&&Oa(r,n)&&(void 0!==n||t in e)||Wn(e,t,n)}function Hn(e,t){for(var n=e.length;n--;)if(Oa(e[n][0],t))return n;return-1}function Vn(e,t,n,r){return er(e,(function(e,o,i){t(r,e,n(e),i)})),r}function Qn(e,t){return e&&bo(t,Ms(t),e)}function Wn(e,t,n){"__proto__"==t&&Je?Je(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Zn(e,t){for(var r=-1,o=t.length,i=n(o),a=null==e;++r<o;)i[r]=a?void 0:gs(e,t[r]);return i}function qn(e,t,n){return e===e&&(void 0!==n&&(e=e<=n?e:n),void 0!==t&&(e=e>=t?e:t)),e}function Xn(e,t,n,r,o,i){var a,s=1&t,l=2&t,d=4&t;if(n&&(a=o?n(e,r,o,i):n(e)),void 0!==a)return a;if(!Ga(e))return e;var N=La(e);if(N){if(a=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&Ne.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!s)return vo(e,a)}else{var L=ri(e),_=L==p||L==h;if(Pa(e))return fo(e,s);if(L==m||L==u||_&&!o){if(a=l||_?{}:ii(e),!s)return l?function(e,t){return bo(e,ni(e),t)}(e,function(e,t){return e&&bo(t,ws(t),e)}(a,e)):function(e,t){return bo(e,ti(e),t)}(e,Qn(a,e))}else{if(!Fe[L])return o?e:{};a=function(e,t,n){var r=e.constructor;switch(t){case j:return po(e);case c:case f:return new r(+e);case S:return function(e,t){var n=t?po(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case I:case D:case x:case E:case O:case T:case"[object Uint8ClampedArray]":case C:case k:return ho(e,n);case g:return new r;case y:case M:return new r(e);case v:return function(e){var t=new e.constructor(e.source,re.exec(e));return t.lastIndex=e.lastIndex,t}(e);case b:return new r;case w:return o=e,Dn?pe(Dn.call(o)):{}}var o}(e,L,s)}}i||(i=new Pn);var A=i.get(e);if(A)return A;i.set(e,a),qa(e)?e.forEach((function(r){a.add(Xn(r,t,n,r,e,i))})):Va(e)&&e.forEach((function(r,o){a.set(o,Xn(r,t,n,o,e,i))}));var z=N?void 0:(d?l?Wo:Qo:l?ws:Ms)(e);return st(z||e,(function(r,o){z&&(r=e[o=r]),Gn(a,o,Xn(r,t,n,o,e,i))})),a}function $n(e,t,n){var r=n.length;if(null==e)return!r;for(e=pe(e);r--;){var o=n[r],i=t[o],a=e[o];if(void 0===a&&!(o in e)||!i(a))return!1}return!0}function Jn(e,t,n){if("function"!=typeof e)throw new ye(i);return Mi((function(){e.apply(void 0,n)}),t)}function Kn(e,t,n,r){var o=-1,i=ft,a=!0,s=e.length,u=[],l=t.length;if(!s)return u;n&&(t=pt(t,Ct(n))),r?(i=dt,a=!1):t.length>=200&&(i=Lt,a=!1,t=new zn(t));e:for(;++o<s;){var c=e[o],f=null==n?c:n(c);if(c=r||0!==c?c:0,a&&f===f){for(var d=l;d--;)if(t[d]===f)continue e;u.push(c)}else i(t,f,r)||u.push(c)}return u}En.templateSettings={escape:B,evaluate:F,interpolate:Y,variable:"",imports:{_:En}},En.prototype=Tn.prototype,En.prototype.constructor=En,Cn.prototype=On(Tn.prototype),Cn.prototype.constructor=Cn,kn.prototype=On(Tn.prototype),kn.prototype.constructor=kn,Ln.prototype.clear=function(){this.__data__=mn?mn(null):{},this.size=0},Ln.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Ln.prototype.get=function(e){var t=this.__data__;if(mn){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return Ne.call(t,e)?t[e]:void 0},Ln.prototype.has=function(e){var t=this.__data__;return mn?void 0!==t[e]:Ne.call(t,e)},Ln.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=mn&&void 0===t?"__lodash_hash_undefined__":t,this},_n.prototype.clear=function(){this.__data__=[],this.size=0},_n.prototype.delete=function(e){var t=this.__data__,n=Hn(t,e);return!(n<0)&&(n==t.length-1?t.pop():Qe.call(t,n,1),--this.size,!0)},_n.prototype.get=function(e){var t=this.__data__,n=Hn(t,e);return n<0?void 0:t[n][1]},_n.prototype.has=function(e){return Hn(this.__data__,e)>-1},_n.prototype.set=function(e,t){var n=this.__data__,r=Hn(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},An.prototype.clear=function(){this.size=0,this.__data__={hash:new Ln,map:new(pn||_n),string:new Ln}},An.prototype.delete=function(e){var t=Jo(this,e).delete(e);return this.size-=t?1:0,t},An.prototype.get=function(e){return Jo(this,e).get(e)},An.prototype.has=function(e){return Jo(this,e).has(e)},An.prototype.set=function(e,t){var n=Jo(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},zn.prototype.add=zn.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},zn.prototype.has=function(e){return this.__data__.has(e)},Pn.prototype.clear=function(){this.__data__=new _n,this.size=0},Pn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Pn.prototype.get=function(e){return this.__data__.get(e)},Pn.prototype.has=function(e){return this.__data__.has(e)},Pn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof _n){var r=n.__data__;if(!pn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new An(r)}return n.set(e,t),this.size=n.size,this};var er=No(ur),tr=No(lr,!0);function nr(e,t){var n=!0;return er(e,(function(e,r,o){return n=!!t(e,r,o)})),n}function rr(e,t,n){for(var r=-1,o=e.length;++r<o;){var i=e[r],a=t(i);if(null!=a&&(void 0===s?a===a&&!$a(a):n(a,s)))var s=a,u=i}return u}function or(e,t){var n=[];return er(e,(function(e,r,o){t(e,r,o)&&n.push(e)})),n}function ir(e,t,n,r,o){var i=-1,a=e.length;for(n||(n=ai),o||(o=[]);++i<a;){var s=e[i];t>0&&n(s)?t>1?ir(s,t-1,n,r,o):ht(o,s):r||(o[o.length]=s)}return o}var ar=jo(),sr=jo(!0);function ur(e,t){return e&&ar(e,t,Ms)}function lr(e,t){return e&&sr(e,t,Ms)}function cr(e,t){return ct(t,(function(t){return Ba(e[t])}))}function fr(e,t){for(var n=0,r=(t=so(t,e)).length;null!=e&&n<r;)e=e[Di(t[n++])];return n&&n==r?e:void 0}function dr(e,t,n){var r=t(e);return La(e)?r:ht(r,n(e))}function pr(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":$e&&$e in pe(e)?function(e){var t=Ne.call(e,$e),n=e[$e];try{e[$e]=void 0;var r=!0}catch(i){}var o=Ie.call(e);r&&(t?e[$e]=n:delete e[$e]);return o}(e):function(e){return Ie.call(e)}(e)}function hr(e,t){return e>t}function gr(e,t){return null!=e&&Ne.call(e,t)}function yr(e,t){return null!=e&&t in pe(e)}function mr(e,t,r){for(var o=r?dt:ft,i=e[0].length,a=e.length,s=a,u=n(a),l=1/0,c=[];s--;){var f=e[s];s&&t&&(f=pt(f,Ct(t))),l=sn(f.length,l),u[s]=!r&&(t||i>=120&&f.length>=120)?new zn(s&&f):void 0}f=e[0];var d=-1,p=u[0];e:for(;++d<i&&c.length<l;){var h=f[d],g=t?t(h):h;if(h=r||0!==h?h:0,!(p?Lt(p,g):o(c,g,r))){for(s=a;--s;){var y=u[s];if(!(y?Lt(y,g):o(e[s],g,r)))continue e}p&&p.push(g),c.push(h)}}return c}function vr(e,t,n){var r=null==(e=yi(e,t=so(t,e)))?e:e[Di(Ui(t))];return null==r?void 0:it(r,e,n)}function br(e){return Ha(e)&&pr(e)==u}function Mr(e,t,n,r,o){return e===t||(null==e||null==t||!Ha(e)&&!Ha(t)?e!==e&&t!==t:function(e,t,n,r,o,i){var a=La(e),s=La(t),p=a?l:ri(e),h=s?l:ri(t),N=(p=p==u?m:p)==m,I=(h=h==u?m:h)==m,D=p==h;if(D&&Pa(e)){if(!Pa(t))return!1;a=!0,N=!1}if(D&&!N)return i||(i=new Pn),a||Ja(e)?Ho(e,t,n,r,o,i):function(e,t,n,r,o,i,a){switch(n){case S:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case j:return!(e.byteLength!=t.byteLength||!i(new Ce(e),new Ce(t)));case c:case f:case y:return Oa(+e,+t);case d:return e.name==t.name&&e.message==t.message;case v:case M:return e==t+"";case g:var s=Ft;case b:var u=1&r;if(s||(s=Ht),e.size!=t.size&&!u)return!1;var l=a.get(e);if(l)return l==t;r|=2,a.set(e,t);var p=Ho(s(e),s(t),r,o,i,a);return a.delete(e),p;case w:if(Dn)return Dn.call(e)==Dn.call(t)}return!1}(e,t,p,n,r,o,i);if(!(1&n)){var x=N&&Ne.call(e,"__wrapped__"),E=I&&Ne.call(t,"__wrapped__");if(x||E){var O=x?e.value():e,T=E?t.value():t;return i||(i=new Pn),o(O,T,n,r,i)}}if(!D)return!1;return i||(i=new Pn),function(e,t,n,r,o,i){var a=1&n,s=Qo(e),u=s.length,l=Qo(t).length;if(u!=l&&!a)return!1;var c=u;for(;c--;){var f=s[c];if(!(a?f in t:Ne.call(t,f)))return!1}var d=i.get(e),p=i.get(t);if(d&&p)return d==t&&p==e;var h=!0;i.set(e,t),i.set(t,e);var g=a;for(;++c<u;){f=s[c];var y=e[f],m=t[f];if(r)var v=a?r(m,y,f,t,e,i):r(y,m,f,e,t,i);if(!(void 0===v?y===m||o(y,m,n,r,i):v)){h=!1;break}g||(g="constructor"==f)}if(h&&!g){var b=e.constructor,M=t.constructor;b==M||!("constructor"in e)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof M&&M instanceof M||(h=!1)}return i.delete(e),i.delete(t),h}(e,t,n,r,o,i)}(e,t,n,r,Mr,o))}function wr(e,t,n,r){var o=n.length,i=o,a=!r;if(null==e)return!i;for(e=pe(e);o--;){var s=n[o];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++o<i;){var u=(s=n[o])[0],l=e[u],c=s[1];if(a&&s[2]){if(void 0===l&&!(u in e))return!1}else{var f=new Pn;if(r)var d=r(l,c,u,e,t,f);if(!(void 0===d?Mr(c,l,3,r,f):d))return!1}}return!0}function Nr(e){return!(!Ga(e)||(t=e,Se&&Se in t))&&(Ba(e)?Ee:ae).test(xi(e));var t}function jr(e){return"function"==typeof e?e:null==e?Qs:"object"==typeof e?La(e)?Or(e[0],e[1]):Er(e):tu(e)}function Sr(e){if(!di(e))return on(e);var t=[];for(var n in pe(e))Ne.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Ir(e){if(!Ga(e))return function(e){var t=[];if(null!=e)for(var n in pe(e))t.push(n);return t}(e);var t=di(e),n=[];for(var r in e)("constructor"!=r||!t&&Ne.call(e,r))&&n.push(r);return n}function Dr(e,t){return e<t}function xr(e,t){var r=-1,o=Aa(e)?n(e.length):[];return er(e,(function(e,n,i){o[++r]=t(e,n,i)})),o}function Er(e){var t=Ko(e);return 1==t.length&&t[0][2]?hi(t[0][0],t[0][1]):function(n){return n===e||wr(n,e,t)}}function Or(e,t){return li(e)&&pi(t)?hi(Di(e),t):function(n){var r=gs(n,e);return void 0===r&&r===t?ys(n,e):Mr(t,r,3)}}function Tr(e,t,n,r,o){e!==t&&ar(t,(function(i,a){if(o||(o=new Pn),Ga(i))!function(e,t,n,r,o,i,a){var s=vi(e,n),u=vi(t,n),l=a.get(u);if(l)return void Yn(e,n,l);var c=i?i(s,u,n+"",e,t,a):void 0,f=void 0===c;if(f){var d=La(u),p=!d&&Pa(u),h=!d&&!p&&Ja(u);c=u,d||p||h?La(s)?c=s:za(s)?c=vo(s):p?(f=!1,c=fo(u,!0)):h?(f=!1,c=ho(u,!0)):c=[]:Wa(u)||ka(u)?(c=s,ka(s)?c=as(s):Ga(s)&&!Ba(s)||(c=ii(u))):f=!1}f&&(a.set(u,c),o(c,u,r,i,a),a.delete(u));Yn(e,n,c)}(e,t,a,n,Tr,r,o);else{var s=r?r(vi(e,a),i,a+"",e,t,o):void 0;void 0===s&&(s=i),Yn(e,a,s)}}),ws)}function Cr(e,t){var n=e.length;if(n)return si(t+=t<0?n:0,n)?e[t]:void 0}function kr(e,t,n){t=t.length?pt(t,(function(e){return La(e)?function(t){return fr(t,1===e.length?e[0]:e)}:e})):[Qs];var r=-1;return t=pt(t,Ct($o())),function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(xr(e,(function(e,n,o){return{criteria:pt(t,(function(t){return t(e)})),index:++r,value:e}})),(function(e,t){return function(e,t,n){var r=-1,o=e.criteria,i=t.criteria,a=o.length,s=n.length;for(;++r<a;){var u=go(o[r],i[r]);if(u){if(r>=s)return u;var l=n[r];return u*("desc"==l?-1:1)}}return e.index-t.index}(e,t,n)}))}function Lr(e,t,n){for(var r=-1,o=t.length,i={};++r<o;){var a=t[r],s=fr(e,a);n(s,a)&&Fr(i,so(a,e),s)}return i}function _r(e,t,n,r){var o=r?Nt:wt,i=-1,a=t.length,s=e;for(e===t&&(t=vo(t)),n&&(s=pt(e,Ct(n)));++i<a;)for(var u=0,l=t[i],c=n?n(l):l;(u=o(s,c,u,r))>-1;)s!==e&&Qe.call(s,u,1),Qe.call(e,u,1);return e}function Ar(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;si(o)?Qe.call(e,o,1):Kr(e,o)}}return e}function zr(e,t){return e+Kt(cn()*(t-e+1))}function Pr(e,t){var n="";if(!e||t<1||t>9007199254740991)return n;do{t%2&&(n+=e),(t=Kt(t/2))&&(e+=e)}while(t);return n}function Rr(e,t){return wi(gi(e,t,Qs),e+"")}function Ur(e){return Un(Os(e))}function Br(e,t){var n=Os(e);return Si(n,qn(t,0,n.length))}function Fr(e,t,n,r){if(!Ga(e))return e;for(var o=-1,i=(t=so(t,e)).length,a=i-1,s=e;null!=s&&++o<i;){var u=Di(t[o]),l=n;if("__proto__"===u||"constructor"===u||"prototype"===u)return e;if(o!=a){var c=s[u];void 0===(l=r?r(c,u,s):void 0)&&(l=Ga(c)?c:si(t[o+1])?[]:{})}Gn(s,u,l),s=s[u]}return e}var Yr=vn?function(e,t){return vn.set(e,t),e}:Qs,Gr=Je?function(e,t){return Je(e,"toString",{configurable:!0,enumerable:!1,value:Gs(t),writable:!0})}:Qs;function Hr(e){return Si(Os(e))}function Vr(e,t,r){var o=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(r=r>i?i:r)<0&&(r+=i),i=t>r?0:r-t>>>0,t>>>=0;for(var a=n(i);++o<i;)a[o]=e[o+t];return a}function Qr(e,t){var n;return er(e,(function(e,r,o){return!(n=t(e,r,o))})),!!n}function Wr(e,t,n){var r=0,o=null==e?r:e.length;if("number"==typeof t&&t===t&&o<=2147483647){for(;r<o;){var i=r+o>>>1,a=e[i];null!==a&&!$a(a)&&(n?a<=t:a<t)?r=i+1:o=i}return o}return Zr(e,t,Qs,n)}function Zr(e,t,n,r){var o=0,i=null==e?0:e.length;if(0===i)return 0;for(var a=(t=n(t))!==t,s=null===t,u=$a(t),l=void 0===t;o<i;){var c=Kt((o+i)/2),f=n(e[c]),d=void 0!==f,p=null===f,h=f===f,g=$a(f);if(a)var y=r||h;else y=l?h&&(r||d):s?h&&d&&(r||!p):u?h&&d&&!p&&(r||!g):!p&&!g&&(r?f<=t:f<t);y?o=c+1:i=c}return sn(i,4294967294)}function qr(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n],s=t?t(a):a;if(!n||!Oa(s,u)){var u=s;i[o++]=0===a?0:a}}return i}function Xr(e){return"number"==typeof e?e:$a(e)?NaN:+e}function $r(e){if("string"==typeof e)return e;if(La(e))return pt(e,$r)+"";if($a(e))return xn?xn.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Jr(e,t,n){var r=-1,o=ft,i=e.length,a=!0,s=[],u=s;if(n)a=!1,o=dt;else if(i>=200){var l=t?null:Ro(e);if(l)return Ht(l);a=!1,o=Lt,u=new zn}else u=t?[]:s;e:for(;++r<i;){var c=e[r],f=t?t(c):c;if(c=n||0!==c?c:0,a&&f===f){for(var d=u.length;d--;)if(u[d]===f)continue e;t&&u.push(f),s.push(c)}else o(u,f,n)||(u!==s&&u.push(f),s.push(c))}return s}function Kr(e,t){return null==(e=yi(e,t=so(t,e)))||delete e[Di(Ui(t))]}function eo(e,t,n,r){return Fr(e,t,n(fr(e,t)),r)}function to(e,t,n,r){for(var o=e.length,i=r?o:-1;(r?i--:++i<o)&&t(e[i],i,e););return n?Vr(e,r?0:i,r?i+1:o):Vr(e,r?i+1:0,r?o:i)}function no(e,t){var n=e;return n instanceof kn&&(n=n.value()),gt(t,(function(e,t){return t.func.apply(t.thisArg,ht([e],t.args))}),n)}function ro(e,t,r){var o=e.length;if(o<2)return o?Jr(e[0]):[];for(var i=-1,a=n(o);++i<o;)for(var s=e[i],u=-1;++u<o;)u!=i&&(a[i]=Kn(a[i]||s,e[u],t,r));return Jr(ir(a,1),t,r)}function oo(e,t,n){for(var r=-1,o=e.length,i=t.length,a={};++r<o;){var s=r<i?t[r]:void 0;n(a,e[r],s)}return a}function io(e){return za(e)?e:[]}function ao(e){return"function"==typeof e?e:Qs}function so(e,t){return La(e)?e:li(e,t)?[e]:Ii(ss(e))}var uo=Rr;function lo(e,t,n){var r=e.length;return n=void 0===n?r:n,!t&&n>=r?e:Vr(e,t,n)}var co=vt||function(e){return We.clearTimeout(e)};function fo(e,t){if(t)return e.slice();var n=e.length,r=_e?_e(n):new e.constructor(n);return e.copy(r),r}function po(e){var t=new e.constructor(e.byteLength);return new Ce(t).set(new Ce(e)),t}function ho(e,t){var n=t?po(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function go(e,t){if(e!==t){var n=void 0!==e,r=null===e,o=e===e,i=$a(e),a=void 0!==t,s=null===t,u=t===t,l=$a(t);if(!s&&!l&&!i&&e>t||i&&a&&u&&!s&&!l||r&&a&&u||!n&&u||!o)return 1;if(!r&&!i&&!l&&e<t||l&&n&&o&&!r&&!i||s&&n&&o||!a&&o||!u)return-1}return 0}function yo(e,t,r,o){for(var i=-1,a=e.length,s=r.length,u=-1,l=t.length,c=an(a-s,0),f=n(l+c),d=!o;++u<l;)f[u]=t[u];for(;++i<s;)(d||i<a)&&(f[r[i]]=e[i]);for(;c--;)f[u++]=e[i++];return f}function mo(e,t,r,o){for(var i=-1,a=e.length,s=-1,u=r.length,l=-1,c=t.length,f=an(a-u,0),d=n(f+c),p=!o;++i<f;)d[i]=e[i];for(var h=i;++l<c;)d[h+l]=t[l];for(;++s<u;)(p||i<a)&&(d[h+r[s]]=e[i++]);return d}function vo(e,t){var r=-1,o=e.length;for(t||(t=n(o));++r<o;)t[r]=e[r];return t}function bo(e,t,n,r){var o=!n;n||(n={});for(var i=-1,a=t.length;++i<a;){var s=t[i],u=r?r(n[s],e[s],s,n,e):void 0;void 0===u&&(u=e[s]),o?Wn(n,s,u):Gn(n,s,u)}return n}function Mo(e,t){return function(n,r){var o=La(n)?at:Vn,i=t?t():{};return o(n,e,$o(r,2),i)}}function wo(e){return Rr((function(t,n){var r=-1,o=n.length,i=o>1?n[o-1]:void 0,a=o>2?n[2]:void 0;for(i=e.length>3&&"function"==typeof i?(o--,i):void 0,a&&ui(n[0],n[1],a)&&(i=o<3?void 0:i,o=1),t=pe(t);++r<o;){var s=n[r];s&&e(t,s,r,i)}return t}))}function No(e,t){return function(n,r){if(null==n)return n;if(!Aa(n))return e(n,r);for(var o=n.length,i=t?o:-1,a=pe(n);(t?i--:++i<o)&&!1!==r(a[i],i,a););return n}}function jo(e){return function(t,n,r){for(var o=-1,i=pe(t),a=r(t),s=a.length;s--;){var u=a[e?s:++o];if(!1===n(i[u],u,i))break}return t}}function So(e){return function(t){var n=Bt(t=ss(t))?Wt(t):void 0,r=n?n[0]:t.charAt(0),o=n?lo(n,1).join(""):t.slice(1);return r[e]()+o}}function Io(e){return function(t){return gt(Bs(ks(t).replace(ke,"")),e,"")}}function Do(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=On(e.prototype),r=e.apply(n,t);return Ga(r)?r:n}}function xo(e){return function(t,n,r){var o=pe(t);if(!Aa(t)){var i=$o(n,3);t=Ms(t),n=function(e){return i(o[e],e,o)}}var a=e(t,n,r);return a>-1?o[i?t[a]:a]:void 0}}function Eo(e){return Vo((function(t){var n=t.length,r=n,o=Cn.prototype.thru;for(e&&t.reverse();r--;){var a=t[r];if("function"!=typeof a)throw new ye(i);if(o&&!s&&"wrapper"==qo(a))var s=new Cn([],!0)}for(r=s?r:n;++r<n;){var u=qo(a=t[r]),l="wrapper"==u?Zo(a):void 0;s=l&&ci(l[0])&&424==l[1]&&!l[4].length&&1==l[9]?s[qo(l[0])].apply(s,l[3]):1==a.length&&ci(a)?s[u]():s.thru(a)}return function(){var e=arguments,r=e[0];if(s&&1==e.length&&La(r))return s.plant(r).value();for(var o=0,i=n?t[o].apply(this,e):r;++o<n;)i=t[o].call(this,i);return i}}))}function Oo(e,t,r,o,i,a,s,u,l,c){var f=128&t,d=1&t,p=2&t,h=24&t,g=512&t,y=p?void 0:Do(e);return function m(){for(var v=arguments.length,b=n(v),M=v;M--;)b[M]=arguments[M];if(h)var w=Xo(m),N=zt(b,w);if(o&&(b=yo(b,o,i,h)),a&&(b=mo(b,a,s,h)),v-=N,h&&v<c){var j=Gt(b,w);return zo(e,t,Oo,m.placeholder,r,b,j,u,l,c-v)}var S=d?r:this,I=p?S[e]:e;return v=b.length,u?b=mi(b,u):g&&v>1&&b.reverse(),f&&l<v&&(b.length=l),this&&this!==We&&this instanceof m&&(I=y||Do(I)),I.apply(S,b)}}function To(e,t){return function(n,r){return function(e,t,n,r){return ur(e,(function(e,o,i){t(r,n(e),o,i)})),r}(n,e,t(r),{})}}function Co(e,t){return function(n,r){var o;if(void 0===n&&void 0===r)return t;if(void 0!==n&&(o=n),void 0!==r){if(void 0===o)return r;"string"==typeof n||"string"==typeof r?(n=$r(n),r=$r(r)):(n=Xr(n),r=Xr(r)),o=e(n,r)}return o}}function ko(e){return Vo((function(t){return t=pt(t,Ct($o())),Rr((function(n){var r=this;return e(t,(function(e){return it(e,r,n)}))}))}))}function Lo(e,t){var n=(t=void 0===t?" ":$r(t)).length;if(n<2)return n?Pr(t,e):t;var r=Pr(t,Jt(e/Qt(t)));return Bt(t)?lo(Wt(r),0,e).join(""):r.slice(0,e)}function _o(e){return function(t,r,o){return o&&"number"!=typeof o&&ui(t,r,o)&&(r=o=void 0),t=ns(t),void 0===r?(r=t,t=0):r=ns(r),function(e,t,r,o){for(var i=-1,a=an(Jt((t-e)/(r||1)),0),s=n(a);a--;)s[o?a:++i]=e,e+=r;return s}(t,r,o=void 0===o?t<r?1:-1:ns(o),e)}}function Ao(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=is(t),n=is(n)),e(t,n)}}function zo(e,t,n,r,o,i,a,s,u,l){var c=8&t;t|=c?32:64,4&(t&=~(c?64:32))||(t&=-4);var f=[e,t,o,c?i:void 0,c?a:void 0,c?void 0:i,c?void 0:a,s,u,l],d=n.apply(void 0,f);return ci(e)&&bi(d,f),d.placeholder=r,Ni(d,e,t)}function Po(e){var t=de[e];return function(e,n){if(e=is(e),(n=null==n?0:sn(rs(n),292))&&nn(e)){var r=(ss(e)+"e").split("e");return+((r=(ss(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var Ro=gn&&1/Ht(new gn([,-0]))[1]==1/0?function(e){return new gn(e)}:$s;function Uo(e){return function(t){var n=ri(t);return n==g?Ft(t):n==b?Vt(t):function(e,t){return pt(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Bo(e,t,r,o,s,u,l,c){var f=2&t;if(!f&&"function"!=typeof e)throw new ye(i);var d=o?o.length:0;if(d||(t&=-97,o=s=void 0),l=void 0===l?l:an(rs(l),0),c=void 0===c?c:rs(c),d-=s?s.length:0,64&t){var p=o,h=s;o=s=void 0}var g=f?void 0:Zo(e),y=[e,t,r,o,s,p,h,u,l,c];if(g&&function(e,t){var n=e[1],r=t[1],o=n|r,i=o<131,s=128==r&&8==n||128==r&&256==n&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!i&&!s)return e;1&r&&(e[2]=t[2],o|=1&n?0:4);var u=t[3];if(u){var l=e[3];e[3]=l?yo(l,u,t[4]):u,e[4]=l?Gt(e[3],a):t[4]}(u=t[5])&&(l=e[5],e[5]=l?mo(l,u,t[6]):u,e[6]=l?Gt(e[5],a):t[6]);(u=t[7])&&(e[7]=u);128&r&&(e[8]=null==e[8]?t[8]:sn(e[8],t[8]));null==e[9]&&(e[9]=t[9]);e[0]=t[0],e[1]=o}(y,g),e=y[0],t=y[1],r=y[2],o=y[3],s=y[4],!(c=y[9]=void 0===y[9]?f?0:e.length:an(y[9]-d,0))&&24&t&&(t&=-25),t&&1!=t)m=8==t||16==t?function(e,t,r){var o=Do(e);return function i(){for(var a=arguments.length,s=n(a),u=a,l=Xo(i);u--;)s[u]=arguments[u];var c=a<3&&s[0]!==l&&s[a-1]!==l?[]:Gt(s,l);if((a-=c.length)<r)return zo(e,t,Oo,i.placeholder,void 0,s,c,void 0,void 0,r-a);var f=this&&this!==We&&this instanceof i?o:e;return it(f,this,s)}}(e,t,c):32!=t&&33!=t||s.length?Oo.apply(void 0,y):function(e,t,r,o){var i=1&t,a=Do(e);return function t(){for(var s=-1,u=arguments.length,l=-1,c=o.length,f=n(c+u),d=this&&this!==We&&this instanceof t?a:e;++l<c;)f[l]=o[l];for(;u--;)f[l++]=arguments[++s];return it(d,i?r:this,f)}}(e,t,r,o);else var m=function(e,t,n){var r=1&t,o=Do(e);return function t(){var i=this&&this!==We&&this instanceof t?o:e;return i.apply(r?n:this,arguments)}}(e,t,r);return Ni((g?Yr:bi)(m,y),e,t)}function Fo(e,t,n,r){return void 0===e||Oa(e,be[n])&&!Ne.call(r,n)?t:e}function Yo(e,t,n,r,o,i){return Ga(e)&&Ga(t)&&(i.set(t,e),Tr(e,t,void 0,Yo,i),i.delete(t)),e}function Go(e){return Wa(e)?void 0:e}function Ho(e,t,n,r,o,i){var a=1&n,s=e.length,u=t.length;if(s!=u&&!(a&&u>s))return!1;var l=i.get(e),c=i.get(t);if(l&&c)return l==t&&c==e;var f=-1,d=!0,p=2&n?new zn:void 0;for(i.set(e,t),i.set(t,e);++f<s;){var h=e[f],g=t[f];if(r)var y=a?r(g,h,f,t,e,i):r(h,g,f,e,t,i);if(void 0!==y){if(y)continue;d=!1;break}if(p){if(!mt(t,(function(e,t){if(!Lt(p,t)&&(h===e||o(h,e,n,r,i)))return p.push(t)}))){d=!1;break}}else if(h!==g&&!o(h,g,n,r,i)){d=!1;break}}return i.delete(e),i.delete(t),d}function Vo(e){return wi(gi(e,void 0,_i),e+"")}function Qo(e){return dr(e,Ms,ti)}function Wo(e){return dr(e,ws,ni)}var Zo=vn?function(e){return vn.get(e)}:$s;function qo(e){for(var t=e.name+"",n=bn[t],r=Ne.call(bn,t)?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==e)return o.name}return t}function Xo(e){return(Ne.call(En,"placeholder")?En:e).placeholder}function $o(){var e=En.iteratee||Ws;return e=e===Ws?jr:e,arguments.length?e(arguments[0],arguments[1]):e}function Jo(e,t){var n=e.__data__;return function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}(t)?n["string"==typeof t?"string":"hash"]:n.map}function Ko(e){for(var t=Ms(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,pi(o)]}return t}function ei(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return Nr(n)?n:void 0}var ti=en?function(e){return null==e?[]:(e=pe(e),ct(en(e),(function(t){return Ve.call(e,t)})))}:ou,ni=en?function(e){for(var t=[];e;)ht(t,ti(e)),e=ze(e);return t}:ou,ri=pr;function oi(e,t,n){for(var r=-1,o=(t=so(t,e)).length,i=!1;++r<o;){var a=Di(t[r]);if(!(i=null!=e&&n(e,a)))break;e=e[a]}return i||++r!=o?i:!!(o=null==e?0:e.length)&&Ya(o)&&si(a,o)&&(La(e)||ka(e))}function ii(e){return"function"!=typeof e.constructor||di(e)?{}:On(ze(e))}function ai(e){return La(e)||ka(e)||!!(Ze&&e&&e[Ze])}function si(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&ue.test(e))&&e>-1&&e%1==0&&e<t}function ui(e,t,n){if(!Ga(n))return!1;var r=typeof t;return!!("number"==r?Aa(n)&&si(t,n.length):"string"==r&&t in n)&&Oa(n[t],e)}function li(e,t){if(La(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!$a(e))||(H.test(e)||!G.test(e)||null!=t&&e in pe(t))}function ci(e){var t=qo(e),n=En[t];if("function"!=typeof n||!(t in kn.prototype))return!1;if(e===n)return!0;var r=Zo(n);return!!r&&e===r[0]}(dn&&ri(new dn(new ArrayBuffer(1)))!=S||pn&&ri(new pn)!=g||hn&&"[object Promise]"!=ri(hn.resolve())||gn&&ri(new gn)!=b||yn&&ri(new yn)!=N)&&(ri=function(e){var t=pr(e),n=t==m?e.constructor:void 0,r=n?xi(n):"";if(r)switch(r){case Mn:return S;case wn:return g;case Nn:return"[object Promise]";case jn:return b;case Sn:return N}return t});var fi=Me?Ba:iu;function di(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||be)}function pi(e){return e===e&&!Ga(e)}function hi(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in pe(n)))}}function gi(e,t,r){return t=an(void 0===t?e.length-1:t,0),function(){for(var o=arguments,i=-1,a=an(o.length-t,0),s=n(a);++i<a;)s[i]=o[t+i];i=-1;for(var u=n(t+1);++i<t;)u[i]=o[i];return u[t]=r(s),it(e,this,u)}}function yi(e,t){return t.length<2?e:fr(e,Vr(t,0,-1))}function mi(e,t){for(var n=e.length,r=sn(t.length,n),o=vo(e);r--;){var i=t[r];e[r]=si(i,n)?o[i]:void 0}return e}function vi(e,t){if(("constructor"!==t||"function"!==typeof e[t])&&"__proto__"!=t)return e[t]}var bi=ji(Yr),Mi=$t||function(e,t){return We.setTimeout(e,t)},wi=ji(Gr);function Ni(e,t,n){var r=t+"";return wi(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(X,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return st(s,(function(n){var r="_."+n[0];t&n[1]&&!ft(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match($);return t?t[1].split(J):[]}(r),n)))}function ji(e){var t=0,n=0;return function(){var r=un(),o=16-(r-n);if(n=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function Si(e,t){var n=-1,r=e.length,o=r-1;for(t=void 0===t?r:t;++n<t;){var i=zr(n,o),a=e[i];e[i]=e[n],e[n]=a}return e.length=t,e}var Ii=function(e){var t=ja(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(V,(function(e,n,r,o){t.push(r?o.replace(te,"$1"):n||e)})),t}));function Di(e){if("string"==typeof e||$a(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function xi(e){if(null!=e){try{return we.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function Ei(e){if(e instanceof kn)return e.clone();var t=new Cn(e.__wrapped__,e.__chain__);return t.__actions__=vo(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Oi=Rr((function(e,t){return za(e)?Kn(e,ir(t,1,za,!0)):[]})),Ti=Rr((function(e,t){var n=Ui(t);return za(n)&&(n=void 0),za(e)?Kn(e,ir(t,1,za,!0),$o(n,2)):[]})),Ci=Rr((function(e,t){var n=Ui(t);return za(n)&&(n=void 0),za(e)?Kn(e,ir(t,1,za,!0),void 0,n):[]}));function ki(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:rs(n);return o<0&&(o=an(r+o,0)),Mt(e,$o(t,3),o)}function Li(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r-1;return void 0!==n&&(o=rs(n),o=n<0?an(r+o,0):sn(o,r-1)),Mt(e,$o(t,3),o,!0)}function _i(e){return(null==e?0:e.length)?ir(e,1):[]}function Ai(e){return e&&e.length?e[0]:void 0}var zi=Rr((function(e){var t=pt(e,io);return t.length&&t[0]===e[0]?mr(t):[]})),Pi=Rr((function(e){var t=Ui(e),n=pt(e,io);return t===Ui(n)?t=void 0:n.pop(),n.length&&n[0]===e[0]?mr(n,$o(t,2)):[]})),Ri=Rr((function(e){var t=Ui(e),n=pt(e,io);return(t="function"==typeof t?t:void 0)&&n.pop(),n.length&&n[0]===e[0]?mr(n,void 0,t):[]}));function Ui(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}var Bi=Rr(Fi);function Fi(e,t){return e&&e.length&&t&&t.length?_r(e,t):e}var Yi=Vo((function(e,t){var n=null==e?0:e.length,r=Zn(e,t);return Ar(e,pt(t,(function(e){return si(e,n)?+e:e})).sort(go)),r}));function Gi(e){return null==e?e:fn.call(e)}var Hi=Rr((function(e){return Jr(ir(e,1,za,!0))})),Vi=Rr((function(e){var t=Ui(e);return za(t)&&(t=void 0),Jr(ir(e,1,za,!0),$o(t,2))})),Qi=Rr((function(e){var t=Ui(e);return t="function"==typeof t?t:void 0,Jr(ir(e,1,za,!0),void 0,t)}));function Wi(e){if(!e||!e.length)return[];var t=0;return e=ct(e,(function(e){if(za(e))return t=an(e.length,t),!0})),Ot(t,(function(t){return pt(e,It(t))}))}function Zi(e,t){if(!e||!e.length)return[];var n=Wi(e);return null==t?n:pt(n,(function(e){return it(t,void 0,e)}))}var qi=Rr((function(e,t){return za(e)?Kn(e,t):[]})),Xi=Rr((function(e){return ro(ct(e,za))})),$i=Rr((function(e){var t=Ui(e);return za(t)&&(t=void 0),ro(ct(e,za),$o(t,2))})),Ji=Rr((function(e){var t=Ui(e);return t="function"==typeof t?t:void 0,ro(ct(e,za),void 0,t)})),Ki=Rr(Wi);var ea=Rr((function(e){var t=e.length,n=t>1?e[t-1]:void 0;return n="function"==typeof n?(e.pop(),n):void 0,Zi(e,n)}));function ta(e){var t=En(e);return t.__chain__=!0,t}function na(e,t){return t(e)}var ra=Vo((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,o=function(t){return Zn(t,e)};return!(t>1||this.__actions__.length)&&r instanceof kn&&si(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:na,args:[o],thisArg:void 0}),new Cn(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(void 0),e}))):this.thru(o)}));var oa=Mo((function(e,t,n){Ne.call(e,n)?++e[n]:Wn(e,n,1)}));var ia=xo(ki),aa=xo(Li);function sa(e,t){return(La(e)?st:er)(e,$o(t,3))}function ua(e,t){return(La(e)?ut:tr)(e,$o(t,3))}var la=Mo((function(e,t,n){Ne.call(e,n)?e[n].push(t):Wn(e,n,[t])}));var ca=Rr((function(e,t,r){var o=-1,i="function"==typeof t,a=Aa(e)?n(e.length):[];return er(e,(function(e){a[++o]=i?it(t,e,r):vr(e,t,r)})),a})),fa=Mo((function(e,t,n){Wn(e,n,t)}));function da(e,t){return(La(e)?pt:xr)(e,$o(t,3))}var pa=Mo((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var ha=Rr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&ui(e,t[0],t[1])?t=[]:n>2&&ui(t[0],t[1],t[2])&&(t=[t[0]]),kr(e,ir(t,1),[])})),ga=Dt||function(){return We.Date.now()};function ya(e,t,n){return t=n?void 0:t,Bo(e,128,void 0,void 0,void 0,void 0,t=e&&null==t?e.length:t)}function ma(e,t){var n;if("function"!=typeof t)throw new ye(i);return e=rs(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=void 0),n}}var va=Rr((function(e,t,n){var r=1;if(n.length){var o=Gt(n,Xo(va));r|=32}return Bo(e,r,t,n,o)})),ba=Rr((function(e,t,n){var r=3;if(n.length){var o=Gt(n,Xo(ba));r|=32}return Bo(t,r,e,n,o)}));function Ma(e,t,n){var r,o,a,s,u,l,c=0,f=!1,d=!1,p=!0;if("function"!=typeof e)throw new ye(i);function h(t){var n=r,i=o;return r=o=void 0,c=t,s=e.apply(i,n)}function g(e){return c=e,u=Mi(m,t),f?h(e):s}function y(e){var n=e-l;return void 0===l||n>=t||n<0||d&&e-c>=a}function m(){var e=ga();if(y(e))return v(e);u=Mi(m,function(e){var n=t-(e-l);return d?sn(n,a-(e-c)):n}(e))}function v(e){return u=void 0,p&&r?h(e):(r=o=void 0,s)}function b(){var e=ga(),n=y(e);if(r=arguments,o=this,l=e,n){if(void 0===u)return g(l);if(d)return co(u),u=Mi(m,t),h(l)}return void 0===u&&(u=Mi(m,t)),s}return t=is(t)||0,Ga(n)&&(f=!!n.leading,a=(d="maxWait"in n)?an(is(n.maxWait)||0,t):a,p="trailing"in n?!!n.trailing:p),b.cancel=function(){void 0!==u&&co(u),c=0,r=l=o=u=void 0},b.flush=function(){return void 0===u?s:v(ga())},b}var wa=Rr((function(e,t){return Jn(e,1,t)})),Na=Rr((function(e,t,n){return Jn(e,is(t)||0,n)}));function ja(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new ye(i);var n=function n(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(ja.Cache||An),n}function Sa(e){if("function"!=typeof e)throw new ye(i);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}ja.Cache=An;var Ia=uo((function(e,t){var n=(t=1==t.length&&La(t[0])?pt(t[0],Ct($o())):pt(ir(t,1),Ct($o()))).length;return Rr((function(r){for(var o=-1,i=sn(r.length,n);++o<i;)r[o]=t[o].call(this,r[o]);return it(e,this,r)}))})),Da=Rr((function(e,t){return Bo(e,32,void 0,t,Gt(t,Xo(Da)))})),xa=Rr((function(e,t){return Bo(e,64,void 0,t,Gt(t,Xo(xa)))})),Ea=Vo((function(e,t){return Bo(e,256,void 0,void 0,void 0,t)}));function Oa(e,t){return e===t||e!==e&&t!==t}var Ta=Ao(hr),Ca=Ao((function(e,t){return e>=t})),ka=br(function(){return arguments}())?br:function(e){return Ha(e)&&Ne.call(e,"callee")&&!Ve.call(e,"callee")},La=n.isArray,_a=Ke?Ct(Ke):function(e){return Ha(e)&&pr(e)==j};function Aa(e){return null!=e&&Ya(e.length)&&!Ba(e)}function za(e){return Ha(e)&&Aa(e)}var Pa=tn||iu,Ra=et?Ct(et):function(e){return Ha(e)&&pr(e)==f};function Ua(e){if(!Ha(e))return!1;var t=pr(e);return t==d||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!Wa(e)}function Ba(e){if(!Ga(e))return!1;var t=pr(e);return t==p||t==h||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Fa(e){return"number"==typeof e&&e==rs(e)}function Ya(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function Ga(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Ha(e){return null!=e&&"object"==typeof e}var Va=tt?Ct(tt):function(e){return Ha(e)&&ri(e)==g};function Qa(e){return"number"==typeof e||Ha(e)&&pr(e)==y}function Wa(e){if(!Ha(e)||pr(e)!=m)return!1;var t=ze(e);if(null===t)return!0;var n=Ne.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&we.call(n)==De}var Za=nt?Ct(nt):function(e){return Ha(e)&&pr(e)==v};var qa=rt?Ct(rt):function(e){return Ha(e)&&ri(e)==b};function Xa(e){return"string"==typeof e||!La(e)&&Ha(e)&&pr(e)==M}function $a(e){return"symbol"==typeof e||Ha(e)&&pr(e)==w}var Ja=ot?Ct(ot):function(e){return Ha(e)&&Ya(e.length)&&!!Be[pr(e)]};var Ka=Ao(Dr),es=Ao((function(e,t){return e<=t}));function ts(e){if(!e)return[];if(Aa(e))return Xa(e)?Wt(e):vo(e);if(qe&&e[qe])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[qe]());var t=ri(e);return(t==g?Ft:t==b?Ht:Os)(e)}function ns(e){return e?(e=is(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e===e?e:0:0===e?e:0}function rs(e){var t=ns(e),n=t%1;return t===t?n?t-n:t:0}function os(e){return e?qn(rs(e),0,4294967295):0}function is(e){if("number"==typeof e)return e;if($a(e))return NaN;if(Ga(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Ga(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Tt(e);var n=ie.test(e);return n||se.test(e)?He(e.slice(2),n?2:8):oe.test(e)?NaN:+e}function as(e){return bo(e,ws(e))}function ss(e){return null==e?"":$r(e)}var us=wo((function(e,t){if(di(t)||Aa(t))bo(t,Ms(t),e);else for(var n in t)Ne.call(t,n)&&Gn(e,n,t[n])})),ls=wo((function(e,t){bo(t,ws(t),e)})),cs=wo((function(e,t,n,r){bo(t,ws(t),e,r)})),fs=wo((function(e,t,n,r){bo(t,Ms(t),e,r)})),ds=Vo(Zn);var ps=Rr((function(e,t){e=pe(e);var n=-1,r=t.length,o=r>2?t[2]:void 0;for(o&&ui(t[0],t[1],o)&&(r=1);++n<r;)for(var i=t[n],a=ws(i),s=-1,u=a.length;++s<u;){var l=a[s],c=e[l];(void 0===c||Oa(c,be[l])&&!Ne.call(e,l))&&(e[l]=i[l])}return e})),hs=Rr((function(e){return e.push(void 0,Yo),it(js,void 0,e)}));function gs(e,t,n){var r=null==e?void 0:fr(e,t);return void 0===r?n:r}function ys(e,t){return null!=e&&oi(e,t,yr)}var ms=To((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Ie.call(t)),e[t]=n}),Gs(Qs)),vs=To((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Ie.call(t)),Ne.call(e,t)?e[t].push(n):e[t]=[n]}),$o),bs=Rr(vr);function Ms(e){return Aa(e)?Rn(e):Sr(e)}function ws(e){return Aa(e)?Rn(e,!0):Ir(e)}var Ns=wo((function(e,t,n){Tr(e,t,n)})),js=wo((function(e,t,n,r){Tr(e,t,n,r)})),Ss=Vo((function(e,t){var n={};if(null==e)return n;var r=!1;t=pt(t,(function(t){return t=so(t,e),r||(r=t.length>1),t})),bo(e,Wo(e),n),r&&(n=Xn(n,7,Go));for(var o=t.length;o--;)Kr(n,t[o]);return n}));var Is=Vo((function(e,t){return null==e?{}:function(e,t){return Lr(e,t,(function(t,n){return ys(e,n)}))}(e,t)}));function Ds(e,t){if(null==e)return{};var n=pt(Wo(e),(function(e){return[e]}));return t=$o(t),Lr(e,n,(function(e,n){return t(e,n[0])}))}var xs=Uo(Ms),Es=Uo(ws);function Os(e){return null==e?[]:kt(e,Ms(e))}var Ts=Io((function(e,t,n){return t=t.toLowerCase(),e+(n?Cs(t):t)}));function Cs(e){return Us(ss(e).toLowerCase())}function ks(e){return(e=ss(e))&&e.replace(le,Pt).replace(Le,"")}var Ls=Io((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),_s=Io((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),As=So("toLowerCase");var zs=Io((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Ps=Io((function(e,t,n){return e+(n?" ":"")+Us(t)}));var Rs=Io((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Us=So("toUpperCase");function Bs(e,t,n){return e=ss(e),void 0===(t=n?void 0:t)?function(e){return Pe.test(e)}(e)?function(e){return e.match(Ae)||[]}(e):function(e){return e.match(K)||[]}(e):e.match(t)||[]}var Fs=Rr((function(e,t){try{return it(e,void 0,t)}catch(n){return Ua(n)?n:new o(n)}})),Ys=Vo((function(e,t){return st(t,(function(t){t=Di(t),Wn(e,t,va(e[t],e))})),e}));function Gs(e){return function(){return e}}var Hs=Eo(),Vs=Eo(!0);function Qs(e){return e}function Ws(e){return jr("function"==typeof e?e:Xn(e,1))}var Zs=Rr((function(e,t){return function(n){return vr(n,e,t)}})),qs=Rr((function(e,t){return function(n){return vr(e,n,t)}}));function Xs(e,t,n){var r=Ms(t),o=cr(t,r);null!=n||Ga(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=cr(t,Ms(t)));var i=!(Ga(n)&&"chain"in n)||!!n.chain,a=Ba(e);return st(o,(function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__),o=n.__actions__=vo(this.__actions__);return o.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,ht([this.value()],arguments))})})),e}function $s(){}var Js=ko(pt),Ks=ko(lt),eu=ko(mt);function tu(e){return li(e)?It(Di(e)):function(e){return function(t){return fr(t,e)}}(e)}var nu=_o(),ru=_o(!0);function ou(){return[]}function iu(){return!1}var au=Co((function(e,t){return e+t}),0),su=Po("ceil"),uu=Co((function(e,t){return e/t}),1),lu=Po("floor");var cu=Co((function(e,t){return e*t}),1),fu=Po("round"),du=Co((function(e,t){return e-t}),0);return En.after=function(e,t){if("function"!=typeof t)throw new ye(i);return e=rs(e),function(){if(--e<1)return t.apply(this,arguments)}},En.ary=ya,En.assign=us,En.assignIn=ls,En.assignInWith=cs,En.assignWith=fs,En.at=ds,En.before=ma,En.bind=va,En.bindAll=Ys,En.bindKey=ba,En.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return La(e)?e:[e]},En.chain=ta,En.chunk=function(e,t,r){t=(r?ui(e,t,r):void 0===t)?1:an(rs(t),0);var o=null==e?0:e.length;if(!o||t<1)return[];for(var i=0,a=0,s=n(Jt(o/t));i<o;)s[a++]=Vr(e,i,i+=t);return s},En.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++t<n;){var i=e[t];i&&(o[r++]=i)}return o},En.concat=function(){var e=arguments.length;if(!e)return[];for(var t=n(e-1),r=arguments[0],o=e;o--;)t[o-1]=arguments[o];return ht(La(r)?vo(r):[r],ir(t,1))},En.cond=function(e){var t=null==e?0:e.length,n=$o();return e=t?pt(e,(function(e){if("function"!=typeof e[1])throw new ye(i);return[n(e[0]),e[1]]})):[],Rr((function(n){for(var r=-1;++r<t;){var o=e[r];if(it(o[0],this,n))return it(o[1],this,n)}}))},En.conforms=function(e){return function(e){var t=Ms(e);return function(n){return $n(n,e,t)}}(Xn(e,1))},En.constant=Gs,En.countBy=oa,En.create=function(e,t){var n=On(e);return null==t?n:Qn(n,t)},En.curry=function e(t,n,r){var o=Bo(t,8,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return o.placeholder=e.placeholder,o},En.curryRight=function e(t,n,r){var o=Bo(t,16,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return o.placeholder=e.placeholder,o},En.debounce=Ma,En.defaults=ps,En.defaultsDeep=hs,En.defer=wa,En.delay=Na,En.difference=Oi,En.differenceBy=Ti,En.differenceWith=Ci,En.drop=function(e,t,n){var r=null==e?0:e.length;return r?Vr(e,(t=n||void 0===t?1:rs(t))<0?0:t,r):[]},En.dropRight=function(e,t,n){var r=null==e?0:e.length;return r?Vr(e,0,(t=r-(t=n||void 0===t?1:rs(t)))<0?0:t):[]},En.dropRightWhile=function(e,t){return e&&e.length?to(e,$o(t,3),!0,!0):[]},En.dropWhile=function(e,t){return e&&e.length?to(e,$o(t,3),!0):[]},En.fill=function(e,t,n,r){var o=null==e?0:e.length;return o?(n&&"number"!=typeof n&&ui(e,t,n)&&(n=0,r=o),function(e,t,n,r){var o=e.length;for((n=rs(n))<0&&(n=-n>o?0:o+n),(r=void 0===r||r>o?o:rs(r))<0&&(r+=o),r=n>r?0:os(r);n<r;)e[n++]=t;return e}(e,t,n,r)):[]},En.filter=function(e,t){return(La(e)?ct:or)(e,$o(t,3))},En.flatMap=function(e,t){return ir(da(e,t),1)},En.flatMapDeep=function(e,t){return ir(da(e,t),1/0)},En.flatMapDepth=function(e,t,n){return n=void 0===n?1:rs(n),ir(da(e,t),n)},En.flatten=_i,En.flattenDeep=function(e){return(null==e?0:e.length)?ir(e,1/0):[]},En.flattenDepth=function(e,t){return(null==e?0:e.length)?ir(e,t=void 0===t?1:rs(t)):[]},En.flip=function(e){return Bo(e,512)},En.flow=Hs,En.flowRight=Vs,En.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var o=e[t];r[o[0]]=o[1]}return r},En.functions=function(e){return null==e?[]:cr(e,Ms(e))},En.functionsIn=function(e){return null==e?[]:cr(e,ws(e))},En.groupBy=la,En.initial=function(e){return(null==e?0:e.length)?Vr(e,0,-1):[]},En.intersection=zi,En.intersectionBy=Pi,En.intersectionWith=Ri,En.invert=ms,En.invertBy=vs,En.invokeMap=ca,En.iteratee=Ws,En.keyBy=fa,En.keys=Ms,En.keysIn=ws,En.map=da,En.mapKeys=function(e,t){var n={};return t=$o(t,3),ur(e,(function(e,r,o){Wn(n,t(e,r,o),e)})),n},En.mapValues=function(e,t){var n={};return t=$o(t,3),ur(e,(function(e,r,o){Wn(n,r,t(e,r,o))})),n},En.matches=function(e){return Er(Xn(e,1))},En.matchesProperty=function(e,t){return Or(e,Xn(t,1))},En.memoize=ja,En.merge=Ns,En.mergeWith=js,En.method=Zs,En.methodOf=qs,En.mixin=Xs,En.negate=Sa,En.nthArg=function(e){return e=rs(e),Rr((function(t){return Cr(t,e)}))},En.omit=Ss,En.omitBy=function(e,t){return Ds(e,Sa($o(t)))},En.once=function(e){return ma(2,e)},En.orderBy=function(e,t,n,r){return null==e?[]:(La(t)||(t=null==t?[]:[t]),La(n=r?void 0:n)||(n=null==n?[]:[n]),kr(e,t,n))},En.over=Js,En.overArgs=Ia,En.overEvery=Ks,En.overSome=eu,En.partial=Da,En.partialRight=xa,En.partition=pa,En.pick=Is,En.pickBy=Ds,En.property=tu,En.propertyOf=function(e){return function(t){return null==e?void 0:fr(e,t)}},En.pull=Bi,En.pullAll=Fi,En.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?_r(e,t,$o(n,2)):e},En.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?_r(e,t,void 0,n):e},En.pullAt=Yi,En.range=nu,En.rangeRight=ru,En.rearg=Ea,En.reject=function(e,t){return(La(e)?ct:or)(e,Sa($o(t,3)))},En.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,o=[],i=e.length;for(t=$o(t,3);++r<i;){var a=e[r];t(a,r,e)&&(n.push(a),o.push(r))}return Ar(e,o),n},En.rest=function(e,t){if("function"!=typeof e)throw new ye(i);return Rr(e,t=void 0===t?t:rs(t))},En.reverse=Gi,En.sampleSize=function(e,t,n){return t=(n?ui(e,t,n):void 0===t)?1:rs(t),(La(e)?Bn:Br)(e,t)},En.set=function(e,t,n){return null==e?e:Fr(e,t,n)},En.setWith=function(e,t,n,r){return r="function"==typeof r?r:void 0,null==e?e:Fr(e,t,n,r)},En.shuffle=function(e){return(La(e)?Fn:Hr)(e)},En.slice=function(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&ui(e,t,n)?(t=0,n=r):(t=null==t?0:rs(t),n=void 0===n?r:rs(n)),Vr(e,t,n)):[]},En.sortBy=ha,En.sortedUniq=function(e){return e&&e.length?qr(e):[]},En.sortedUniqBy=function(e,t){return e&&e.length?qr(e,$o(t,2)):[]},En.split=function(e,t,n){return n&&"number"!=typeof n&&ui(e,t,n)&&(t=n=void 0),(n=void 0===n?4294967295:n>>>0)?(e=ss(e))&&("string"==typeof t||null!=t&&!Za(t))&&!(t=$r(t))&&Bt(e)?lo(Wt(e),0,n):e.split(t,n):[]},En.spread=function(e,t){if("function"!=typeof e)throw new ye(i);return t=null==t?0:an(rs(t),0),Rr((function(n){var r=n[t],o=lo(n,0,t);return r&&ht(o,r),it(e,this,o)}))},En.tail=function(e){var t=null==e?0:e.length;return t?Vr(e,1,t):[]},En.take=function(e,t,n){return e&&e.length?Vr(e,0,(t=n||void 0===t?1:rs(t))<0?0:t):[]},En.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?Vr(e,(t=r-(t=n||void 0===t?1:rs(t)))<0?0:t,r):[]},En.takeRightWhile=function(e,t){return e&&e.length?to(e,$o(t,3),!1,!0):[]},En.takeWhile=function(e,t){return e&&e.length?to(e,$o(t,3)):[]},En.tap=function(e,t){return t(e),e},En.throttle=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new ye(i);return Ga(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Ma(e,t,{leading:r,maxWait:t,trailing:o})},En.thru=na,En.toArray=ts,En.toPairs=xs,En.toPairsIn=Es,En.toPath=function(e){return La(e)?pt(e,Di):$a(e)?[e]:vo(Ii(ss(e)))},En.toPlainObject=as,En.transform=function(e,t,n){var r=La(e),o=r||Pa(e)||Ja(e);if(t=$o(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:Ga(e)&&Ba(i)?On(ze(e)):{}}return(o?st:ur)(e,(function(e,r,o){return t(n,e,r,o)})),n},En.unary=function(e){return ya(e,1)},En.union=Hi,En.unionBy=Vi,En.unionWith=Qi,En.uniq=function(e){return e&&e.length?Jr(e):[]},En.uniqBy=function(e,t){return e&&e.length?Jr(e,$o(t,2)):[]},En.uniqWith=function(e,t){return t="function"==typeof t?t:void 0,e&&e.length?Jr(e,void 0,t):[]},En.unset=function(e,t){return null==e||Kr(e,t)},En.unzip=Wi,En.unzipWith=Zi,En.update=function(e,t,n){return null==e?e:eo(e,t,ao(n))},En.updateWith=function(e,t,n,r){return r="function"==typeof r?r:void 0,null==e?e:eo(e,t,ao(n),r)},En.values=Os,En.valuesIn=function(e){return null==e?[]:kt(e,ws(e))},En.without=qi,En.words=Bs,En.wrap=function(e,t){return Da(ao(t),e)},En.xor=Xi,En.xorBy=$i,En.xorWith=Ji,En.zip=Ki,En.zipObject=function(e,t){return oo(e||[],t||[],Gn)},En.zipObjectDeep=function(e,t){return oo(e||[],t||[],Fr)},En.zipWith=ea,En.entries=xs,En.entriesIn=Es,En.extend=ls,En.extendWith=cs,Xs(En,En),En.add=au,En.attempt=Fs,En.camelCase=Ts,En.capitalize=Cs,En.ceil=su,En.clamp=function(e,t,n){return void 0===n&&(n=t,t=void 0),void 0!==n&&(n=(n=is(n))===n?n:0),void 0!==t&&(t=(t=is(t))===t?t:0),qn(is(e),t,n)},En.clone=function(e){return Xn(e,4)},En.cloneDeep=function(e){return Xn(e,5)},En.cloneDeepWith=function(e,t){return Xn(e,5,t="function"==typeof t?t:void 0)},En.cloneWith=function(e,t){return Xn(e,4,t="function"==typeof t?t:void 0)},En.conformsTo=function(e,t){return null==t||$n(e,t,Ms(t))},En.deburr=ks,En.defaultTo=function(e,t){return null==e||e!==e?t:e},En.divide=uu,En.endsWith=function(e,t,n){e=ss(e),t=$r(t);var r=e.length,o=n=void 0===n?r:qn(rs(n),0,r);return(n-=t.length)>=0&&e.slice(n,o)==t},En.eq=Oa,En.escape=function(e){return(e=ss(e))&&U.test(e)?e.replace(P,Rt):e},En.escapeRegExp=function(e){return(e=ss(e))&&W.test(e)?e.replace(Q,"\\$&"):e},En.every=function(e,t,n){var r=La(e)?lt:nr;return n&&ui(e,t,n)&&(t=void 0),r(e,$o(t,3))},En.find=ia,En.findIndex=ki,En.findKey=function(e,t){return bt(e,$o(t,3),ur)},En.findLast=aa,En.findLastIndex=Li,En.findLastKey=function(e,t){return bt(e,$o(t,3),lr)},En.floor=lu,En.forEach=sa,En.forEachRight=ua,En.forIn=function(e,t){return null==e?e:ar(e,$o(t,3),ws)},En.forInRight=function(e,t){return null==e?e:sr(e,$o(t,3),ws)},En.forOwn=function(e,t){return e&&ur(e,$o(t,3))},En.forOwnRight=function(e,t){return e&&lr(e,$o(t,3))},En.get=gs,En.gt=Ta,En.gte=Ca,En.has=function(e,t){return null!=e&&oi(e,t,gr)},En.hasIn=ys,En.head=Ai,En.identity=Qs,En.includes=function(e,t,n,r){e=Aa(e)?e:Os(e),n=n&&!r?rs(n):0;var o=e.length;return n<0&&(n=an(o+n,0)),Xa(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&wt(e,t,n)>-1},En.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:rs(n);return o<0&&(o=an(r+o,0)),wt(e,t,o)},En.inRange=function(e,t,n){return t=ns(t),void 0===n?(n=t,t=0):n=ns(n),function(e,t,n){return e>=sn(t,n)&&e<an(t,n)}(e=is(e),t,n)},En.invoke=bs,En.isArguments=ka,En.isArray=La,En.isArrayBuffer=_a,En.isArrayLike=Aa,En.isArrayLikeObject=za,En.isBoolean=function(e){return!0===e||!1===e||Ha(e)&&pr(e)==c},En.isBuffer=Pa,En.isDate=Ra,En.isElement=function(e){return Ha(e)&&1===e.nodeType&&!Wa(e)},En.isEmpty=function(e){if(null==e)return!0;if(Aa(e)&&(La(e)||"string"==typeof e||"function"==typeof e.splice||Pa(e)||Ja(e)||ka(e)))return!e.length;var t=ri(e);if(t==g||t==b)return!e.size;if(di(e))return!Sr(e).length;for(var n in e)if(Ne.call(e,n))return!1;return!0},En.isEqual=function(e,t){return Mr(e,t)},En.isEqualWith=function(e,t,n){var r=(n="function"==typeof n?n:void 0)?n(e,t):void 0;return void 0===r?Mr(e,t,void 0,n):!!r},En.isError=Ua,En.isFinite=function(e){return"number"==typeof e&&nn(e)},En.isFunction=Ba,En.isInteger=Fa,En.isLength=Ya,En.isMap=Va,En.isMatch=function(e,t){return e===t||wr(e,t,Ko(t))},En.isMatchWith=function(e,t,n){return n="function"==typeof n?n:void 0,wr(e,t,Ko(t),n)},En.isNaN=function(e){return Qa(e)&&e!=+e},En.isNative=function(e){if(fi(e))throw new o("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Nr(e)},En.isNil=function(e){return null==e},En.isNull=function(e){return null===e},En.isNumber=Qa,En.isObject=Ga,En.isObjectLike=Ha,En.isPlainObject=Wa,En.isRegExp=Za,En.isSafeInteger=function(e){return Fa(e)&&e>=-9007199254740991&&e<=9007199254740991},En.isSet=qa,En.isString=Xa,En.isSymbol=$a,En.isTypedArray=Ja,En.isUndefined=function(e){return void 0===e},En.isWeakMap=function(e){return Ha(e)&&ri(e)==N},En.isWeakSet=function(e){return Ha(e)&&"[object WeakSet]"==pr(e)},En.join=function(e,t){return null==e?"":rn.call(e,t)},En.kebabCase=Ls,En.last=Ui,En.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r;return void 0!==n&&(o=(o=rs(n))<0?an(r+o,0):sn(o,r-1)),t===t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,o):Mt(e,jt,o,!0)},En.lowerCase=_s,En.lowerFirst=As,En.lt=Ka,En.lte=es,En.max=function(e){return e&&e.length?rr(e,Qs,hr):void 0},En.maxBy=function(e,t){return e&&e.length?rr(e,$o(t,2),hr):void 0},En.mean=function(e){return St(e,Qs)},En.meanBy=function(e,t){return St(e,$o(t,2))},En.min=function(e){return e&&e.length?rr(e,Qs,Dr):void 0},En.minBy=function(e,t){return e&&e.length?rr(e,$o(t,2),Dr):void 0},En.stubArray=ou,En.stubFalse=iu,En.stubObject=function(){return{}},En.stubString=function(){return""},En.stubTrue=function(){return!0},En.multiply=cu,En.nth=function(e,t){return e&&e.length?Cr(e,rs(t)):void 0},En.noConflict=function(){return We._===this&&(We._=xe),this},En.noop=$s,En.now=ga,En.pad=function(e,t,n){e=ss(e);var r=(t=rs(t))?Qt(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return Lo(Kt(o),n)+e+Lo(Jt(o),n)},En.padEnd=function(e,t,n){e=ss(e);var r=(t=rs(t))?Qt(e):0;return t&&r<t?e+Lo(t-r,n):e},En.padStart=function(e,t,n){e=ss(e);var r=(t=rs(t))?Qt(e):0;return t&&r<t?Lo(t-r,n)+e:e},En.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),ln(ss(e).replace(Z,""),t||0)},En.random=function(e,t,n){if(n&&"boolean"!=typeof n&&ui(e,t,n)&&(t=n=void 0),void 0===n&&("boolean"==typeof t?(n=t,t=void 0):"boolean"==typeof e&&(n=e,e=void 0)),void 0===e&&void 0===t?(e=0,t=1):(e=ns(e),void 0===t?(t=e,e=0):t=ns(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var o=cn();return sn(e+o*(t-e+Ge("1e-"+((o+"").length-1))),t)}return zr(e,t)},En.reduce=function(e,t,n){var r=La(e)?gt:xt,o=arguments.length<3;return r(e,$o(t,4),n,o,er)},En.reduceRight=function(e,t,n){var r=La(e)?yt:xt,o=arguments.length<3;return r(e,$o(t,4),n,o,tr)},En.repeat=function(e,t,n){return t=(n?ui(e,t,n):void 0===t)?1:rs(t),Pr(ss(e),t)},En.replace=function(){var e=arguments,t=ss(e[0]);return e.length<3?t:t.replace(e[1],e[2])},En.result=function(e,t,n){var r=-1,o=(t=so(t,e)).length;for(o||(o=1,e=void 0);++r<o;){var i=null==e?void 0:e[Di(t[r])];void 0===i&&(r=o,i=n),e=Ba(i)?i.call(e):i}return e},En.round=fu,En.runInContext=e,En.sample=function(e){return(La(e)?Un:Ur)(e)},En.size=function(e){if(null==e)return 0;if(Aa(e))return Xa(e)?Qt(e):e.length;var t=ri(e);return t==g||t==b?e.size:Sr(e).length},En.snakeCase=zs,En.some=function(e,t,n){var r=La(e)?mt:Qr;return n&&ui(e,t,n)&&(t=void 0),r(e,$o(t,3))},En.sortedIndex=function(e,t){return Wr(e,t)},En.sortedIndexBy=function(e,t,n){return Zr(e,t,$o(n,2))},En.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=Wr(e,t);if(r<n&&Oa(e[r],t))return r}return-1},En.sortedLastIndex=function(e,t){return Wr(e,t,!0)},En.sortedLastIndexBy=function(e,t,n){return Zr(e,t,$o(n,2),!0)},En.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var n=Wr(e,t,!0)-1;if(Oa(e[n],t))return n}return-1},En.startCase=Ps,En.startsWith=function(e,t,n){return e=ss(e),n=null==n?0:qn(rs(n),0,e.length),t=$r(t),e.slice(n,n+t.length)==t},En.subtract=du,En.sum=function(e){return e&&e.length?Et(e,Qs):0},En.sumBy=function(e,t){return e&&e.length?Et(e,$o(t,2)):0},En.template=function(e,t,n){var r=En.templateSettings;n&&ui(e,t,n)&&(t=void 0),e=ss(e),t=cs({},t,r,Fo);var i,a,s=cs({},t.imports,r.imports,Fo),u=Ms(s),l=kt(s,u),c=0,f=t.interpolate||ce,d="__p += '",p=he((t.escape||ce).source+"|"+f.source+"|"+(f===Y?ne:ce).source+"|"+(t.evaluate||ce).source+"|$","g"),h="//# sourceURL="+(Ne.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Ue+"]")+"\n";e.replace(p,(function(t,n,r,o,s,u){return r||(r=o),d+=e.slice(c,u).replace(fe,Ut),n&&(i=!0,d+="' +\n__e("+n+") +\n'"),s&&(a=!0,d+="';\n"+s+";\n__p += '"),r&&(d+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),c=u+t.length,t})),d+="';\n";var g=Ne.call(t,"variable")&&t.variable;if(g){if(ee.test(g))throw new o("Invalid `variable` option passed into `_.template`")}else d="with (obj) {\n"+d+"\n}\n";d=(a?d.replace(L,""):d).replace(_,"$1").replace(A,"$1;"),d="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var y=Fs((function(){return q(u,h+"return "+d).apply(void 0,l)}));if(y.source=d,Ua(y))throw y;return y},En.times=function(e,t){if((e=rs(e))<1||e>9007199254740991)return[];var n=4294967295,r=sn(e,4294967295);e-=4294967295;for(var o=Ot(r,t=$o(t));++n<e;)t(n);return o},En.toFinite=ns,En.toInteger=rs,En.toLength=os,En.toLower=function(e){return ss(e).toLowerCase()},En.toNumber=is,En.toSafeInteger=function(e){return e?qn(rs(e),-9007199254740991,9007199254740991):0===e?e:0},En.toString=ss,En.toUpper=function(e){return ss(e).toUpperCase()},En.trim=function(e,t,n){if((e=ss(e))&&(n||void 0===t))return Tt(e);if(!e||!(t=$r(t)))return e;var r=Wt(e),o=Wt(t);return lo(r,_t(r,o),At(r,o)+1).join("")},En.trimEnd=function(e,t,n){if((e=ss(e))&&(n||void 0===t))return e.slice(0,Zt(e)+1);if(!e||!(t=$r(t)))return e;var r=Wt(e);return lo(r,0,At(r,Wt(t))+1).join("")},En.trimStart=function(e,t,n){if((e=ss(e))&&(n||void 0===t))return e.replace(Z,"");if(!e||!(t=$r(t)))return e;var r=Wt(e);return lo(r,_t(r,Wt(t))).join("")},En.truncate=function(e,t){var n=30,r="...";if(Ga(t)){var o="separator"in t?t.separator:o;n="length"in t?rs(t.length):n,r="omission"in t?$r(t.omission):r}var i=(e=ss(e)).length;if(Bt(e)){var a=Wt(e);i=a.length}if(n>=i)return e;var s=n-Qt(r);if(s<1)return r;var u=a?lo(a,0,s).join(""):e.slice(0,s);if(void 0===o)return u+r;if(a&&(s+=u.length-s),Za(o)){if(e.slice(s).search(o)){var l,c=u;for(o.global||(o=he(o.source,ss(re.exec(o))+"g")),o.lastIndex=0;l=o.exec(c);)var f=l.index;u=u.slice(0,void 0===f?s:f)}}else if(e.indexOf($r(o),s)!=s){var d=u.lastIndexOf(o);d>-1&&(u=u.slice(0,d))}return u+r},En.unescape=function(e){return(e=ss(e))&&R.test(e)?e.replace(z,qt):e},En.uniqueId=function(e){var t=++je;return ss(e)+t},En.upperCase=Rs,En.upperFirst=Us,En.each=sa,En.eachRight=ua,En.first=Ai,Xs(En,function(){var e={};return ur(En,(function(t,n){Ne.call(En.prototype,n)||(e[n]=t)})),e}(),{chain:!1}),En.VERSION="4.17.21",st(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){En[e].placeholder=En})),st(["drop","take"],(function(e,t){kn.prototype[e]=function(n){n=void 0===n?1:an(rs(n),0);var r=this.__filtered__&&!t?new kn(this):this.clone();return r.__filtered__?r.__takeCount__=sn(n,r.__takeCount__):r.__views__.push({size:sn(n,4294967295),type:e+(r.__dir__<0?"Right":"")}),r},kn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),st(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;kn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:$o(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),st(["head","last"],(function(e,t){var n="take"+(t?"Right":"");kn.prototype[e]=function(){return this[n](1).value()[0]}})),st(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");kn.prototype[e]=function(){return this.__filtered__?new kn(this):this[n](1)}})),kn.prototype.compact=function(){return this.filter(Qs)},kn.prototype.find=function(e){return this.filter(e).head()},kn.prototype.findLast=function(e){return this.reverse().find(e)},kn.prototype.invokeMap=Rr((function(e,t){return"function"==typeof e?new kn(this):this.map((function(n){return vr(n,e,t)}))})),kn.prototype.reject=function(e){return this.filter(Sa($o(e)))},kn.prototype.slice=function(e,t){e=rs(e);var n=this;return n.__filtered__&&(e>0||t<0)?new kn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),void 0!==t&&(n=(t=rs(t))<0?n.dropRight(-t):n.take(t-e)),n)},kn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},kn.prototype.toArray=function(){return this.take(4294967295)},ur(kn.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),o=En[r?"take"+("last"==t?"Right":""):t],i=r||/^find/.test(t);o&&(En.prototype[t]=function(){var t=this.__wrapped__,a=r?[1]:arguments,s=t instanceof kn,u=a[0],l=s||La(t),c=function(e){var t=o.apply(En,ht([e],a));return r&&f?t[0]:t};l&&n&&"function"==typeof u&&1!=u.length&&(s=l=!1);var f=this.__chain__,d=!!this.__actions__.length,p=i&&!f,h=s&&!d;if(!i&&l){t=h?t:new kn(this);var g=e.apply(t,a);return g.__actions__.push({func:na,args:[c],thisArg:void 0}),new Cn(g,f)}return p&&h?e.apply(this,a):(g=this.thru(c),p?r?g.value()[0]:g.value():g)})})),st(["pop","push","shift","sort","splice","unshift"],(function(e){var t=me[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);En.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(La(o)?o:[],e)}return this[n]((function(n){return t.apply(La(n)?n:[],e)}))}})),ur(kn.prototype,(function(e,t){var n=En[t];if(n){var r=n.name+"";Ne.call(bn,r)||(bn[r]=[]),bn[r].push({name:t,func:n})}})),bn[Oo(void 0,2).name]=[{name:"wrapper",func:void 0}],kn.prototype.clone=function(){var e=new kn(this.__wrapped__);return e.__actions__=vo(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=vo(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=vo(this.__views__),e},kn.prototype.reverse=function(){if(this.__filtered__){var e=new kn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},kn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=La(e),r=t<0,o=n?e.length:0,i=function(e,t,n){var r=-1,o=n.length;for(;++r<o;){var i=n[r],a=i.size;switch(i.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=sn(t,e+a);break;case"takeRight":e=an(e,t-a)}}return{start:e,end:t}}(0,o,this.__views__),a=i.start,s=i.end,u=s-a,l=r?s:a-1,c=this.__iteratees__,f=c.length,d=0,p=sn(u,this.__takeCount__);if(!n||!r&&o==u&&p==u)return no(e,this.__actions__);var h=[];e:for(;u--&&d<p;){for(var g=-1,y=e[l+=t];++g<f;){var m=c[g],v=m.iteratee,b=m.type,M=v(y);if(2==b)y=M;else if(!M){if(1==b)continue e;break e}}h[d++]=y}return h},En.prototype.at=ra,En.prototype.chain=function(){return ta(this)},En.prototype.commit=function(){return new Cn(this.value(),this.__chain__)},En.prototype.next=function(){void 0===this.__values__&&(this.__values__=ts(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?void 0:this.__values__[this.__index__++]}},En.prototype.plant=function(e){for(var t,n=this;n instanceof Tn;){var r=Ei(n);r.__index__=0,r.__values__=void 0,t?o.__wrapped__=r:t=r;var o=r;n=n.__wrapped__}return o.__wrapped__=e,t},En.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof kn){var t=e;return this.__actions__.length&&(t=new kn(this)),(t=t.reverse()).__actions__.push({func:na,args:[Gi],thisArg:void 0}),new Cn(t,this.__chain__)}return this.thru(Gi)},En.prototype.toJSON=En.prototype.valueOf=En.prototype.value=function(){return no(this.__wrapped__,this.__actions__)},En.prototype.first=En.prototype.head,qe&&(En.prototype[qe]=function(){return this}),En}();We._=Xt,void 0===(o=function(){return Xt}.call(t,n,t,r))||(r.exports=o)}).call(this)}).call(this,n(59),n(147)(e))},function(e,t,n){var r=n(404).default;function o(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(o=function(e){return e?n:t})(e)}e.exports=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!==typeof e)return{default:e};var n=o(t);if(n&&n.has(e))return n.get(e);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var u=a?Object.getOwnPropertyDescriptor(e,s):null;u&&(u.get||u.set)?Object.defineProperty(i,s,u):i[s]=e[s]}return i.default=e,n&&n.set(e,i),i},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.createSvgIcon}});var r=n(288)},function(e,t,n){"use strict";n.r(t);var r=n(9);n.d(t,"capitalize",(function(){return r.a}));var o=n(54);n.d(t,"createChainedFunction",(function(){return o.a}));var i=n(36);n.d(t,"createSvgIcon",(function(){return i.a}));var a=n(65);n.d(t,"debounce",(function(){return a.a}));var s=n(69);n.d(t,"deprecatedPropType",(function(){return s.a}));var u=n(103);n.d(t,"isMuiElement",(function(){return u.a}));var l=n(38);n.d(t,"ownerDocument",(function(){return l.a}));var c=n(102);n.d(t,"ownerWindow",(function(){return c.a}));var f=n(267);n.d(t,"requirePropFactory",(function(){return f.a}));var d=n(60);n.d(t,"setRef",(function(){return d.a}));var p=n(186);n.d(t,"unsupportedProp",(function(){return p.a}));var h=n(84);n.d(t,"useControlled",(function(){return h.a}));var g=n(42);n.d(t,"useEventCallback",(function(){return g.a}));var y=n(19);n.d(t,"useForkRef",(function(){return y.a}));var m=n(129);n.d(t,"unstable_useId",(function(){return m.a}));var v=n(101);n.d(t,"useIsFocusVisible",(function(){return v.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")}n.d(t,"a",(function(){return r}))},,,,,,function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function a(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}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(o){return!1}}()?Object.assign:function(e,t){for(var n,s,u=a(e),l=1;l<arguments.length;l++){for(var c in n=Object(arguments[l]))o.call(n,c)&&(u[c]=n[c]);if(r){s=r(n);for(var f=0;f<s.length;f++)i.call(n,s[f])&&(u[s[f]]=n[s[f]])}}return u}},function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,"a",(function(){return r}))},function(e,t,n){var r=n(125),o=n(98);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n(59))},function(e,t){var n=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return n.call(e)}catch(t){}try{return e+""}catch(t){}}return""}},function(e,t,n){var r=n(456),o=n(459),i=n(460);e.exports=function(e,t,n,a,s,u){var l=1&n,c=e.length,f=t.length;if(c!=f&&!(l&&f>c))return!1;var d=u.get(e),p=u.get(t);if(d&&p)return d==t&&p==e;var h=-1,g=!0,y=2&n?new r:void 0;for(u.set(e,t),u.set(t,e);++h<c;){var m=e[h],v=t[h];if(a)var b=l?a(v,m,h,t,e,u):a(m,v,h,e,t,u);if(void 0!==b){if(b)continue;g=!1;break}if(y){if(!o(t,(function(e,t){if(!i(y,t)&&(m===e||s(m,e,n,a,u)))return y.push(t)}))){g=!1;break}}else if(m!==v&&!s(m,v,n,a,u)){g=!1;break}}return u.delete(e),u.delete(t),g}},function(e,t,n){var r=n(81).Uint8Array;e.exports=r},function(e,t,n){var r=n(307),o=n(219),i=n(108);e.exports=function(e){return r(e,i,o)}},function(e,t,n){var r=n(218),o=n(62);e.exports=function(e,t,n){var i=t(e);return o(e)?i:r(i,n(e))}},function(e,t){e.exports=function(){return[]}},function(e,t,n){var r=n(466),o=n(220),i=n(62),a=n(221),s=n(222),u=n(310),l=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),c=!n&&o(e),f=!n&&!c&&a(e),d=!n&&!c&&!f&&u(e),p=n||c||f||d,h=p?r(e.length,String):[],g=h.length;for(var y in e)!t&&!l.call(e,y)||p&&("length"==y||f&&("offset"==y||"parent"==y)||d&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||s(y,g))||h.push(y);return h}},function(e,t,n){var r=n(469),o=n(224),i=n(225),a=i&&i.isTypedArray,s=a?o(a):r;e.exports=s},function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},function(e,t,n){var r=n(107),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();e.exports=o},function(e,t,n){var r=n(484),o=n(487),i=n(172),a=n(62),s=n(496);e.exports=function(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?a(e)?o(e[0],e[1]):r(e):s(e)}},function(e,t,n){var r=n(98);e.exports=function(e){return e===e&&!r(e)}},function(e,t){e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},function(e,t,n){var r=n(492);e.exports=function(e){return null==e?"":r(e)}},function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},function(e,t,n){"use strict";var r=n(63);function o(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var i;if(n)i=n(t);else if(r.isURLSearchParams(t))i=t.toString();else{var a=[];r.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),a.push(o(t)+"="+o(e))})))})),i=a.join("&")}if(i){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},function(e,t,n){"use strict";(function(t){var r=n(63),o=n(505),i={"Content-Type":"application/x-www-form-urlencoded"};function a(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var s={adapter:function(){var e;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof t&&"[object process]"===Object.prototype.toString.call(t))&&(e=n(321)),e}(),transformRequest:[function(e,t){return o(t,"Accept"),o(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(a(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)?(a(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"===typeof e)try{e=JSON.parse(e)}catch(t){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){s.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){s.headers[e]=r.merge(i)})),e.exports=s}).call(this,n(124))},function(e,t,n){"use strict";var r=n(63),o=n(506),i=n(318),a=n(508),s=n(511),u=n(512),l=n(322);e.exports=function(e){return new Promise((function(t,c){var f=e.data,d=e.headers;r.isFormData(f)&&delete d["Content-Type"];var p=new XMLHttpRequest;if(e.auth){var h=e.auth.username||"",g=e.auth.password||"";d.Authorization="Basic "+btoa(h+":"+g)}var y=a(e.baseURL,e.url);if(p.open(e.method.toUpperCase(),i(y,e.params,e.paramsSerializer),!0),p.timeout=e.timeout,p.onreadystatechange=function(){if(p&&4===p.readyState&&(0!==p.status||p.responseURL&&0===p.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in p?s(p.getAllResponseHeaders()):null,r={data:e.responseType&&"text"!==e.responseType?p.response:p.responseText,status:p.status,statusText:p.statusText,headers:n,config:e,request:p};o(t,c,r),p=null}},p.onabort=function(){p&&(c(l("Request aborted",e,"ECONNABORTED",p)),p=null)},p.onerror=function(){c(l("Network Error",e,null,p)),p=null},p.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),c(l(t,e,"ECONNABORTED",p)),p=null},r.isStandardBrowserEnv()){var m=n(513),v=(e.withCredentials||u(y))&&e.xsrfCookieName?m.read(e.xsrfCookieName):void 0;v&&(d[e.xsrfHeaderName]=v)}if("setRequestHeader"in p&&r.forEach(d,(function(e,t){"undefined"===typeof f&&"content-type"===t.toLowerCase()?delete d[t]:p.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(p.withCredentials=!!e.withCredentials),e.responseType)try{p.responseType=e.responseType}catch(b){if("json"!==e.responseType)throw b}"function"===typeof e.onDownloadProgress&&p.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&p.upload&&p.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){p&&(p.abort(),c(e),p=null)})),void 0===f&&(f=null),p.send(f)}))}},function(e,t,n){"use strict";var r=n(507);e.exports=function(e,t,n,o,i){var a=new Error(e);return r(a,t,n,o,i)}},function(e,t,n){"use strict";var r=n(63);e.exports=function(e,t){t=t||{};var n={},o=["url","method","params","data"],i=["headers","auth","proxy"],a=["baseURL","url","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"];r.forEach(o,(function(e){"undefined"!==typeof t[e]&&(n[e]=t[e])})),r.forEach(i,(function(o){r.isObject(t[o])?n[o]=r.deepMerge(e[o],t[o]):"undefined"!==typeof t[o]?n[o]=t[o]:r.isObject(e[o])?n[o]=r.deepMerge(e[o]):"undefined"!==typeof e[o]&&(n[o]=e[o])})),r.forEach(a,(function(r){"undefined"!==typeof t[r]?n[r]=t[r]:"undefined"!==typeof e[r]&&(n[r]=e[r])}));var s=o.concat(i).concat(a),u=Object.keys(t).filter((function(e){return-1===s.indexOf(e)}));return r.forEach(u,(function(r){"undefined"!==typeof t[r]?n[r]=t[r]:"undefined"!==typeof e[r]&&(n[r]=e[r])})),n}},function(e,t,n){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,e.exports=r},function(e,t,n){"use strict";t.a={50:"#fff8e1",100:"#ffecb3",200:"#ffe082",300:"#ffd54f",400:"#ffca28",500:"#ffc107",600:"#ffb300",700:"#ffa000",800:"#ff8f00",900:"#ff6f00",A100:"#ffe57f",A200:"#ffd740",A400:"#ffc400",A700:"#ffab00"}},function(e,t,n){"use strict";t.__esModule=!0;var r="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.injectStyles=function(){var e=document.getElementById("auth0-lock-style");if(!e){var t=document.getElementsByTagName("head")[0];(e=document.createElement("style")).type="text/css",e.setAttribute("id","auth0-lock-style"),t.appendChild(e)}e.styleSheet?e.styleSheet.cssText=b:e.innerHTML=b},t.setWindowHeightStyle=function(){var e=.01*window.innerHeight;document.documentElement.style.setProperty("--vh",e+"px")};var o,i=n(524),a=n(35),s=n(526),u=n(100),l=(o=u)&&o.__esModule?o:{default:o},c=n(602),f=n(77),d=y(n(12)),p=(y(n(26)),y(n(603))),h=y(n(51)),g=n(109);function y(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var b='/* normalize.css v3.0.2 | MIT License | git.io/normalize */ .auth0-lock html {   font-family: sans-serif; /* 1 */   -ms-text-size-adjust: 100%; /* 2 */   -webkit-text-size-adjust: 100%; /* 2 */ } .auth0-lock body {   margin: 0; } .auth0-lock article, .auth0-lock aside, .auth0-lock details, .auth0-lock figcaption, .auth0-lock figure, .auth0-lock footer, .auth0-lock header, .auth0-lock hgroup, .auth0-lock main, .auth0-lock menu, .auth0-lock nav, .auth0-lock section, .auth0-lock summary {   display: block; } .auth0-lock audio, .auth0-lock canvas, .auth0-lock progress, .auth0-lock video {   display: inline-block; /* 1 */   vertical-align: baseline; /* 2 */ } .auth0-lock audio:not([controls]) {   display: none;   height: 0; } .auth0-lock [hidden], .auth0-lock template {   display: none; } .auth0-lock a {   background-color: transparent; } .auth0-lock a:active, .auth0-lock a:hover {   outline: 0; } .auth0-lock abbr[title] {   border-bottom: 1px dotted; } .auth0-lock b, .auth0-lock strong {   font-weight: bold; } .auth0-lock dfn {   font-style: italic; } .auth0-lock h1 {   font-size: 2em;   margin: 0.67em 0; } .auth0-lock mark {   background: #ff0;   color: #000; } .auth0-lock small {   font-size: 80%; } .auth0-lock sub, .auth0-lock sup {   font-size: 75%;   line-height: 0;   position: relative;   vertical-align: baseline; } .auth0-lock sup {   top: -0.5em; } .auth0-lock sub {   bottom: -0.25em; } .auth0-lock img {   border: 0; } .auth0-lock svg:not(:root) {   overflow: hidden; } .auth0-lock figure {   margin: 1em 40px; } .auth0-lock hr {   box-sizing: content-box;   height: 0; } .auth0-lock pre {   overflow: auto; } .auth0-lock code, .auth0-lock kbd, .auth0-lock pre, .auth0-lock samp {   font-family: monospace, monospace;   font-size: 1em; } .auth0-lock button, .auth0-lock input, .auth0-lock optgroup, .auth0-lock select, .auth0-lock textarea {   color: inherit; /* 1 */   font: inherit; /* 2 */   margin: 0; /* 3 */ } .auth0-lock button {   overflow: visible; } .auth0-lock button, .auth0-lock select {   text-transform: none; } .auth0-lock button, .auth0-lock html input[type="button"], .auth0-lock input[type="reset"], .auth0-lock input[type="submit"] {   -webkit-appearance: button; /* 2 */   cursor: pointer; /* 3 */ } .auth0-lock button[disabled], .auth0-lock html input[disabled] {   cursor: default; } .auth0-lock button::-moz-focus-inner, .auth0-lock input::-moz-focus-inner {   border: 0;   padding: 0; } .auth0-lock input {   line-height: normal; } .auth0-lock input[type="checkbox"], .auth0-lock input[type="radio"] {   box-sizing: border-box; /* 1 */   padding: 0; /* 2 */ } .auth0-lock input[type="number"]::-webkit-inner-spin-button, .auth0-lock input[type="number"]::-webkit-outer-spin-button {   height: auto; } .auth0-lock input[type="search"] {   -webkit-appearance: textfield; /* 1 */ /* 2 */   box-sizing: content-box; } .auth0-lock input[type="search"]::-webkit-search-cancel-button, .auth0-lock input[type="search"]::-webkit-search-decoration {   -webkit-appearance: none; } .auth0-lock fieldset {   border: 1px solid #c0c0c0;   margin: 0 2px;   padding: 0.35em 0.625em 0.75em; } .auth0-lock legend {   border: 0; /* 1 */   padding: 0; /* 2 */ } .auth0-lock textarea {   overflow: auto; } .auth0-lock optgroup {   font-weight: bold; } .auth0-lock table {   border-collapse: collapse;   border-spacing: 0; } .auth0-lock td, .auth0-lock th {   padding: 0; } .auth0-lock-social-button-icon {   background-repeat: no-repeat;   background-size: 50%;   background-position: center center; } .auth0-lock-social-button[data-provider="amazon"] {   background-color: #f90; } .auth0-lock-social-button[data-provider="aol"] {   background-color: #ff0b00; } .auth0-lock-social-button[data-provider="baidu"] {   background-color: #2529d8; } .auth0-lock-social-button[data-provider="bitbucket"] {   background-color: #205081; } .auth0-lock-social-button[data-provider="dropbox"] {   background-color: #007ee5; } .auth0-lock-social-button[data-provider="ebay"] {   background-color: #0064d2; } .auth0-lock-social-button[data-provider="facebook"] {   background-color: #3b5998; } .auth0-lock-social-button[data-provider^="google"] {   background-color: #4285f4; } .auth0-lock-social-button[data-provider^="apple"] {   background-color: #000; } .auth0-lock-social-button[data-provider^="line"] {   background-color: #00b900; } .auth0-lock-social-button[data-provider="instagram"] {   background-color: #3f729b; } .auth0-lock-social-button[data-provider="linkedin"] {   background-color: #0077b5; } .auth0-lock-social-button[data-provider="github"] {   background-color: #333; } .auth0-lock-social-button[data-provider="oauth2"] {   background-color: #eb5424; } .auth0-lock-social-button[data-provider="paypal"] {   background-color: #009cde; } .auth0-lock-social-button[data-provider="paypal-sandbox"] {   background-color: #009cde; } .auth0-lock-social-button[data-provider^="salesforce"] {   background-color: #1798c1; } .auth0-lock-social-button[data-provider="shopify"] {   background-color: #96bf48; } .auth0-lock-social-button[data-provider="soundcloud"] {   background-color: #f80; } .auth0-lock-social-button[data-provider="renren"] {   background-color: #0056b5; } .auth0-lock-social-button[data-provider="exact"] {   background-color: #ed1c24; } .auth0-lock-social-button[data-provider="twitter"] {   background-color: #55acee; } .auth0-lock-social-button[data-provider=""] {   background-color: #c7eaff; } .auth0-lock-social-button[data-provider="yandex"] {   background-color: #fc0; } .auth0-lock-social-button[data-provider^="thecity"] {   background-color: #767571; } .auth0-lock-social-button[data-provider="planningcenter"] {   background-color: #4e4e4e; } .auth0-lock-social-button[data-provider="thirtysevensignals"] {   background-color: #6ac071; } .auth0-lock-social-button[data-provider="fitbit"] {   background-color: #4cc2c4; } .auth0-lock-social-button[data-provider="wordpress"] {   background-color: #21759b; } .auth0-lock-social-button[data-provider="yahoo"] {   background-color: #410093; } .auth0-lock-social-button[data-provider="box"] {   background-color: #267bb6; } .auth0-lock-social-button[data-provider="vkontakte"] {   background-color: #45668e; } .auth0-lock-social-button[data-provider="dwolla"] {   background-color: #f5891f; } .auth0-lock-social-button[data-provider="miicard"] {   background-color: #3fb7ff; } .auth0-lock-social-button[data-provider="yammer"] {   background-color: #0072c6; } .auth0-lock-social-button[data-provider="weibo"] {   background-color: #dd4b39; } .auth0-lock-social-button[data-provider^="evernote"] {   background-color: #2dbe60; } .auth0-lock-social-button[data-provider^="windows"], .auth0-lock-social-button[data-provider^="microsoft"] {   background-color: #00a1f1; } .auth0-lock-social-button[data-provider^=amazon] .auth0-lock-social-button-icon {   background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjcycHgiIGhlaWdodD0iNjVweCIgdmlld0JveD0iMCAwIDcyIDY1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+YW1hem9uPC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGRlZnM+PC9kZWZzPgogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc2tldGNoOnR5cGU9Ik1TUGFnZSI+CiAgICAgICAgPGcgaWQ9ImFtYXpvbiIgc2tldGNoOnR5cGU9Ik1TTGF5ZXJHcm91cCIgZmlsbD0iI0ZGRkZGRiI+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik0xLjA2Myw1MC4zMTMgQzEsNTAuNDM4IDAuOTM4LDUwLjU2MyAwLjkzOCw1MC42ODggQzAuOTM4LDUwLjg3NiAxLjA2Myw1MS4xMjYgMS4zMTMsNTEuMzEzIEM2LjAwMSw1NS41NjMgMTEuMzEzLDU4LjgxMyAxNy4yNTEsNjEuMTI2IEMyMy4xODksNjMuNDM5IDI5LjUwMSw2NC42MjYgMzYuMTI2LDY0LjYyNiBDNDAuNDM5LDY0LjYyNiA0NC44NzYsNjQuMDAxIDQ5LjM3Niw2Mi44MTMgQzUzLjkzOSw2MS42MjUgNTguMDAxLDU5LjkzOCA2MS42ODksNTcuNzUgQzYyLjg3Nyw1Ny4wNjIgNjMuODc3LDU2LjQzNyA2NC42MjcsNTUuODc1IEM2NS4xOSw1NS40MzcgNjUuMzE1LDU0LjkzNyA2NC45NCw1NC40MzcgQzY0LjYyNyw1My45MzcgNjQuMTI3LDUzLjgxMiA2My40NCw1NC4wNjIgQzYzLjMxNSw1NC4xMjUgNjMuMDAyLDU0LjI1IDYyLjYyNyw1NC40MzcgQzYyLjE4OSw1NC42MjUgNjEuODc3LDU0Ljc1IDYxLjY4OSw1NC44MTIgQzUzLjUwMSw1Ny45MzcgNDUuMjUxLDU5LjUgMzYuODc2LDU5LjUgQzI0LjM3Niw1OS41IDEyLjc1MSw1Ni40MzcgMi4wNjMsNTAuMjUgQzEuNjI1LDQ5LjkzNyAxLjI1LDQ5LjkzNyAxLjA2Myw1MC4zMTMgTDEuMDYzLDUwLjMxMyBaIE0yMC4zMTMsMzIuMDYzIEMyMC4zMTMsMzUuNzUxIDIxLjM3NiwzOC42MjYgMjMuNTAxLDQwLjYyNiBDMjUuNjI2LDQyLjY4OSAyOC4zMTQsNDMuNjg5IDMxLjU2NCw0My42ODkgQzMzLjc1Miw0My42ODkgMzUuNTAyLDQzLjUwMSAzNi45MzksNDMuMDY0IEMzOS4yNTIsNDIuNDM5IDQxLjYyNyw0MC44MTQgNDQuMDAyLDM4LjE4OSBDNDQuMTksMzguMzc3IDQ0LjUwMiwzOC44MTQgNDQuODc3LDM5LjQzOSBDNDUuMzE1LDQwLjA2NCA0NS42MjcsNDAuNTAyIDQ1LjgxNSw0MC42ODkgTDQ2LjgxNSw0MS42ODkgQzQ3LjI1Myw0Mi4xODkgNDcuNzUzLDQyLjY4OSA0OC4zNzgsNDMuMTg5IEM0OS4wNjYsNDMuNTAyIDQ5LjY5MSw0My40MzkgNTAuMTkxLDQzLjA2NCBDNTAuNTA0LDQyLjgxNCA1Mi40NDEsNDEuMTI2IDU2LjAwNCwzOC4wNjQgQzU2LjMxNywzNy44MTQgNTYuNTA0LDM3LjUwMSA1Ni41MDQsMzcuMTg5IEM1Ni41MDQsMzYuODc3IDU2LjM3OSwzNi41MDEgNTYuMTI5LDM2LjEyNiBDNTUuNDQxLDM1LjI1MSA1NC45NDEsMzQuNjI2IDU0LjYyOSwzNC4xODggQzU0LjMxNiwzMy44MTMgNTQuMDA0LDMzLjEyNSA1My42OTEsMzIuMTg4IEM1My4zNzgsMzEuMzEzIDUzLjI1MywzMC4yNSA1My4yNTMsMjkuMTg4IEw1My4yNTMsMTMuNjg4IEM1My4yNTMsMTMuNSA1My4xOSwxMi45MzggNTMuMTksMTIuMDYzIEM1My4xMjcsMTEuMTI1IDUzLjA2NSwxMC41IDUyLjk0LDEwLjI1IEw1Mi41NjUsOC43NSBDNTIuNDQsOCA1Mi4yNTIsNy40MzcgNTIuMDAyLDcuMDYyIEM1MS44MTQsNi42ODcgNTEuNTAyLDYuMjQ5IDUxLjEyNyw1Ljc0OSBDNTAuODE0LDUuMzExIDUwLjM3Nyw0LjgxMSA0OS45MzksNC4zNzQgQzQ3LjI1MSwxLjg3NCA0My40MzksMC42MjQgMzguNTY0LDAuNjI0IEwzNi45MzksMC42MjQgQzMzLjE4OSwwLjgxMiAyOS44NzYsMS44NzQgMjcuMDAxLDMuNjg3IEMyNC4xODgsNS41IDIyLjM3Niw4LjMxMiAyMS42ODgsMTIuMTI1IEMyMS42MjUsMTIuMzEzIDIxLjYyNSwxMi40MzggMjEuNjI1LDEyLjU2MyBDMjEuNjI1LDEzLjE4OCAyMiwxMy41NjMgMjIuNjg4LDEzLjc1MSBMMzAuMDYzLDE0LjYyNiBDMzAuNzUxLDE0LjUwMSAzMS4xODgsMTQuMDAxIDMxLjMxMywxMy4xODggQzMxLjYyNiwxMS44MTMgMzIuMzEzLDEwLjc1IDMzLjMxMyw5LjkzOCBDMzQuMzc2LDkuMTg4IDM1LjU2Myw4Ljc1IDM2LjkzOCw4LjYyNSBMMzcuNTAxLDguNjI1IEMzOS4zNzYsOC42MjUgNDAuODE0LDkuMjUgNDEuNjg5LDEwLjU2MyBDNDIuMzE0LDExLjUwMSA0Mi42MjcsMTMuMzEzIDQyLjYyNywxNi4wNjMgTDQyLjYyNywxNy4xMjYgQzQwLjAwMiwxNy4zNzYgMzguMTI3LDE3LjUwMSAzNi45MzksMTcuNjI2IEMzMy42MjYsMTguMDY0IDMwLjc1MSwxOC43NTEgMjguNDM5LDE5Ljc1MSBDMjUuOTM5LDIwLjgxNCAyMy45MzksMjIuMzc2IDIyLjUwMSwyNC41MDEgQzIxLjA2MywyNi41NjQgMjAuMzEzLDI5LjEyNiAyMC4zMTMsMzIuMDY0IEwyMC4zMTMsMzIuMDYzIFogTTMxLjMxMywzMC43NSBDMzEuMzEzLDI3LjEyNSAzMy4xODgsMjQuNzUgMzYuOTM4LDIzLjY4NyBDMzguMjUxLDIzLjMxMiA0MC4xMjYsMjMuMTI0IDQyLjYyNiwyMy4xMjQgTDQyLjYyNiwyNC43NDkgQzQyLjYyNiwyNi4xMjQgNDIuNTYzLDI3LjEyNCA0Mi41NjMsMjcuNjg3IEM0Mi41NjMsMjguMzEyIDQyLjQzOCwyOS4wNjIgNDIuMTg4LDMwIEM0MS45MzgsMzEgNDEuNjI1LDMxLjg3NSA0MS4xMjUsMzIuNjg4IEM0MC4xMjUsMzQuNTAxIDM4Ljc1LDM1LjY4OCAzNi45MzcsMzYuMTI2IEMzNi44NzQsMzYuMTI2IDM2Ljc0OSwzNi4xODkgMzYuNDk5LDM2LjE4OSBDMzYuMjQ5LDM2LjI1MiAzNi4wNjEsMzYuMjUyIDM1LjkzNiwzNi4yNTIgQzM0LjU2MSwzNi4yNTIgMzMuNDM2LDM1Ljc1MiAzMi41NjEsMzQuNzUyIEMzMS43NDgsMzMuNzUyIDMxLjMxMSwzMi40MzkgMzEuMzExLDMwLjc1MiBMMzEuMzEzLDMwLjc1IFogTTU4LjE4OCw1MS4zNzUgQzU4LjE4OCw1MS40MzggNTguMTI1LDUxLjUgNTguMTI1LDUxLjU2MyBDNTguMTI1LDUxLjYyNiA1OC4xMjUsNTEuNzUxIDU4LjE4OCw1MS44MTMgQzU4LjMxMyw1MS44NzYgNTguNTAxLDUxLjkzOCA1OC43NTEsNTEuOTM4IEM1OS42MjYsNTEuODEzIDYwLjYyNiw1MS42ODggNjEuNjg5LDUxLjU2MyBDNjIuNjI3LDUxLjUgNjMuNTAyLDUxLjQzOCA2NC4yNTIsNTEuNDM4IEM2Ni4xOSw1MS40MzggNjcuMzc3LDUxLjY4OCA2Ny44MTUsNTIuMTg4IEM2OC4wMDMsNTIuNDM4IDY4LjA2NSw1Mi43NTEgNjguMDY1LDUzLjI1MSBDNjguMDY1LDU0LjY4OSA2Ny4zMTUsNTcuMjUxIDY1LjY5LDYxLjAwMSBDNjUuNTY1LDYxLjMxNCA2NS42MjcsNjEuNTY0IDY1Ljg3OCw2MS42ODkgQzY2LjAwMyw2MS43NTIgNjYuMDY2LDYxLjc1MiA2Ni4xMjgsNjEuNzUyIEM2Ni4zMTYsNjEuNzUyIDY2LjUwMyw2MS42MjcgNjYuNzUzLDYxLjUwMiBDNjguMTkxLDYwLjI1MiA2OS4zMTYsNTguNjI3IDcwLjEyOCw1Ni41NjQgQzcwLjk0MSw1NC41NjQgNzEuMzE2LDUyLjgxNCA3MS4zMTYsNTEuMzE0IEw3MS4zMTYsNTAuODc2IEM3MS4zMTYsNTAuMzc2IDcxLjI1Myw0OS45MzggNzEuMDY2LDQ5LjY4OCBDNzAuNjkxLDQ5LjI1IDY5LjU2Niw0OC45MzggNjcuNjI4LDQ4Ljc1IEM2Ny4yNTMsNDguNjg3IDY2LjgxNSw0OC42MjUgNjYuNDQsNDguNjg3IEM2NC44NzcsNDguNzUgNjMuMzE1LDQ4LjkzNyA2MS42OSw0OS4zNzUgQzYwLjY5LDQ5LjYyNSA1OS42OSw1MC4xMjUgNTguNjI3LDUwLjg3NSBDNTguNDM5LDUxIDU4LjMxNCw1MS4xODggNTguMTg5LDUxLjM3NSBMNTguMTg4LDUxLjM3NSBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg=="); } .auth0-lock-social-button[data-provider^=aol] .auth0-lock-social-button-icon {   background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjkxcHgiIGhlaWdodD0iMzZweCIgdmlld0JveD0iMCAwIDkxIDM2IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+YW9sPC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGRlZnM+PC9kZWZzPgogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc2tldGNoOnR5cGU9Ik1TUGFnZSI+CiAgICAgICAgPGcgaWQ9ImFvbCIgc2tldGNoOnR5cGU9Ik1TTGF5ZXJHcm91cCIgZmlsbD0iI0ZGRkZGRiI+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik00OS45MzgsNy43NSBDNTguMDAxLDcuNzUgNjQuMDYzLDE0IDY0LjA2MywyMS43NSBDNjQuMDYzLDI5Ljg3NSA1Ny43NSwzNS42ODggNDkuOTM4LDM1LjY4OCBDNDIuMTg4LDM1LjY4OCAzNS44NzUsMjkuODc1IDM1Ljg3NSwyMS43NSBDMzUuODc1LDE0IDQxLjkzOCw3Ljc1IDQ5LjkzOCw3Ljc1IEw0OS45MzgsNy43NSBaIE00OS45MzgsMTUuMTg4IEM0Ni41LDE1LjE4OCA0My42MjUsMTguMDYzIDQzLjYyNSwyMS43NTEgQzQzLjYyNSwyNS4zNzYgNDYuNSwyOC4zMTQgNDkuOTM4LDI4LjMxNCBDNTMuNDM4LDI4LjMxNCA1Ni4yNTEsMjUuMzc2IDU2LjI1MSwyMS43NTEgQzU2LjI1MSwxOC4wNjMgNTMuNDM4LDE1LjEyNiA0OS45MzgsMTUuMTg4IEw0OS45MzgsMTUuMTg4IFogTTkwLjEyNSwzMC44MTMgQzkwLjEyNSwyOC4xMjUgODcuOTM3LDI1LjkzOCA4NS4yNSwyNS45MzggQzgyLjU2MywyNS45MzggODAuMzc1LDI4LjEyNiA4MC4zNzUsMzAuODEzIEM4MC4zNzUsMzMuNSA4Mi41NjMsMzUuNjg4IDg1LjI1LDM1LjY4OCBDODcuOTM3LDM1LjY4OCA5MC4xMjUsMzMuNSA5MC4xMjUsMzAuODEzIEw5MC4xMjUsMzAuODEzIFogTTc1LjkzOCwzNC44MTMgTDc1LjkzOCwwLjEyNSBMNjguMjUsMC4xMjUgTDY4LjI1LDM0LjgxMyBMNzUuOTM4LDM0LjgxMyBMNzUuOTM4LDM0LjgxMyBaIE0wLjY4OCwzNC44MTMgTDEwLjUwMSwzNC44MTMgTDEyLjEyNiwyOS44NzUgTDI0LjI1MSwyOS44NzUgTDI1Ljg3NiwzNC44MTMgTDM1LjYyNiwzNC44MTMgTDIxLjg3NiwwLjEyNSBMMTQuNjg4LDAuMTI1IEwwLjY4OCwzNC44MTMgWiBNMjEuODc1LDIyLjY4OCBMMTguMzEyLDExLjA2MyBMMTQuNjg3LDIyLjY4OCBMMjEuODc1LDIyLjY4OCBMMjEuODc1LDIyLjY4OCBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg=="); } .auth0-lock-social-button[data-provider^=baidu] .auth0-lock-social-button-icon {   background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjU5cHgiIGhlaWdodD0iNjVweCIgdmlld0JveD0iMCAwIDU5IDY1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+YmFpZHU8L3RpdGxlPgogICAgPGRlc2M+Q3JlYXRlZCB3aXRoIFNrZXRjaC48L2Rlc2M+CiAgICA8ZGVmcz48L2RlZnM+CiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4KICAgICAgICA8ZyBpZD0iYmFpZHUiIHNrZXRjaDp0eXBlPSJNU0xheWVyR3JvdXAiIGZpbGw9IiNGRkZGRkYiPgogICAgICAgICAgICA8cGF0aCBkPSJNMC4xMjUsMjQgQzAuMDYyLDI0LjQzOCAwLDI0Ljg3NSAwLDI1LjMxMyBDMCwyNS45MzggMC4wNjMsMjYuNjI2IDAuMjUsMjcuMzc2IEMwLjUsMjguNjI2IDAuOTM4LDI5Ljg3NiAxLjYyNSwzMS4wNjQgQzIuMjUsMzIuMjUyIDMuMTg4LDMzLjE4OSA0LjUsMzMuODE0IEM1LjMxMywzNC4yNTIgNi4yNSwzNC41MDIgNy4yNSwzNC41MDIgQzcuODEzLDM0LjUwMiA4LjMxMywzNC40MzkgOC44NzUsMzQuMzE0IEMxMC41LDMzLjkzOSAxMS43NSwzMy4yNTEgMTIuNjg4LDMyLjE4OSBDMTMuNjg4LDMxLjE4OSAxNC4yNTEsMjkuOTM5IDE0LjUwMSwyOC41MDEgQzE0Ljc1MSwyNy4xMjYgMTQuODc2LDI2LjAwMSAxNC44NzYsMjUuMTI2IEwxNC44NzYsMjQuNzUxIEMxNC44NzYsMjQuMDAxIDE0LjgxMywyMy4zMTMgMTQuNjI2LDIyLjYyNiBDMTQuNTAxLDIxLjAwMSAxMy42MjYsMTkuMzc2IDEyLjA2MywxNy42MjYgQzEwLjU2MywxNi4xMjYgOC45MzgsMTUuMzEzIDcuMTI1LDE1LjMxMyBMNi41NjIsMTUuMzEzIEw1Ljk5OSwxNS40MzggQzUuNjI0LDE1LjUwMSA1LjEyNCwxNS42ODggNC41NjEsMTYuMDYzIEMzLjkzNiwxNi4zNzYgMy4zNzMsMTYuODEzIDIuNzQ4LDE3LjM3NiBDMi4xMjMsMTcuOTM5IDEuNjIzLDE4LjgxNCAxLjEyMywxOS45MzkgQzAuNjIzLDIxLjEyNyAwLjMxLDIyLjQzOSAwLjEyMywyNC4wMDIgTDAuMTI1LDI0IFogTTQuMjUsNTUuMTI1IEw0LjkzOCw1Ny4zMTMgQzUuMzc2LDU4Ljc1MSA2LjM3Niw2MC4yNTEgNy44NzYsNjEuNjg4IEM5LjMxNCw2My4wNjMgMTEuMDAxLDYzLjgxMyAxMy4wMDEsNjMuODEzIEwxMy4xODksNjMuODEzIEMxMy44NzcsNjMuOTM4IDE0LjYyNyw2NC4wMDEgMTUuNTAyLDYzLjkzOCBDMTYuMzE1LDYzLjkzOCAxNy4yNTIsNjMuODc1IDE4LjMxNSw2My44MTMgQzIwLjM3OCw2My41NjMgMjEuNzUzLDYzLjM3NSAyMi41MDMsNjMuMjUgQzIzLjI1Myw2My4xMjUgMjMuODE2LDYzLjA2MiAyNC4yNTMsNjIuOTM3IEwyNS44NzgsNjIuNjg3IEMyNi44MTYsNjIuNDk5IDI3Ljk0MSw2Mi40MzcgMjkuMzc4LDYyLjQzNyBMMzAuMjUzLDYyLjQzNyBDMzIuMTI4LDYyLjUgMzMuODE2LDYyLjc1IDM1LjMxNiw2My4yNSBDMzcuOTQxLDY0LjEyNSA0MC4zMTYsNjQuNTYzIDQyLjUwNCw2NC41NjMgQzQ0LjY5Miw2NC41NjMgNDYuMzc5LDY0LjMxMyA0Ny41NjcsNjMuODEzIEM0OC43NTUsNjMuMzEzIDQ5LjgxNyw2Mi42ODggNTAuNzU1LDYxLjgxMyBDNTEuNjkzLDYwLjkzOCA1Mi4yNTUsNjAuMzEzIDUyLjUwNSw1OS45MzggQzUyLjc1NSw1OS41NjMgNTIuOTQzLDU5LjI1IDUzLjAwNSw1OSBMNTMuMzgsNTggQzUzLjU2OCw1Ny4zNzUgNTMuODE4LDU2LjU2MiA1My45NDMsNTUuNSBDNTQuMTMxLDU0LjQzNyA1NC4xOTMsNTMuMzc1IDU0LjE5Myw1Mi4xODcgQzU0LjE5Myw1MC45OTkgNTMuOTQzLDQ5LjgxMiA1My4zOCw0OC40OTkgQzUyLjc1NSw0Ny4yNDkgNTEuOTQyLDQ2LjE4NiA1MC44MTcsNDUuMzc0IEM0OC41MDQsNDMuNDk5IDQ2LjE5Miw0MS40OTkgNDQuMDY3LDM5LjI0OSBDNDEuODc5LDM2Ljk5OSA0MC40NDIsMzUuNDM2IDM5Ljc1NCwzNC42MjQgQzM5LjEyOSwzMy44MTEgMzguNjI5LDMzLjEyNCAzOC4yNTQsMzIuNjI0IEMzNi43NTQsMzAuMzExIDM1LjA2NiwyOC42ODYgMzMuMTkxLDI3LjY4NiBDMzEuNzUzLDI2LjkzNiAzMC4zMTYsMjYuNTYxIDI5LjAwMywyNi41NjEgQzI4LjYyOCwyNi41NjEgMjguMzE1LDI2LjU2MSAyNy44NzgsMjYuNjI0IEMyNi4yNTMsMjYuODc0IDI0LjY5LDI3LjQzNyAyMy4zMTUsMjguMzc0IEMyMS45NCwyOS4zMTEgMjAuODc3LDMwLjQzNyAyMC4xMjcsMzEuODEyIEMxOS4yNTIsMzMuMzEyIDE4LjE4OSwzNC42ODcgMTYuOTM5LDM2IEMxNS43NTEsMzcuMzEzIDE0LjU2NCwzOC40MzggMTMuNTY0LDM5LjMxMyBDMTIuNTAxLDQwLjE4OCAxMS45MzksNDAuNjg4IDExLjgxNCw0MC43NTEgTDEwLjE4OSw0Mi4wNjQgQzkuMDY0LDQzLjAwMiA4LjA2NCw0My45MzkgNy4wNjQsNDUuMDAyIEM2LjEyNiw0Ni4wMDIgNS4zMTQsNDcuNDQgNC42MjYsNDkuMzE1IEM0LjE4OCw1MC41MDMgMy45MzgsNTEuNjI4IDMuOTM4LDUyLjg3OCBDMy45MzgsNTMuNjI4IDQuMDYzLDU0LjM3OCA0LjI1MSw1NS4xMjggTDQuMjUsNTUuMTI1IFogTTEzLjMxMyw0OC41IEwxMy44MTMsNDcuMTg3IEMxNC4xMjYsNDYuMzEyIDE0Ljc1MSw0NS40MzcgMTUuNzUxLDQ0LjU2MiBDMTYuNzUxLDQzLjY4NyAxNy44NzYsNDMuMjQ5IDE5LjEyNiw0My4yNDkgTDIzLjUwMSw0My4yNDkgTDIzLjUwMSwzNy45MzYgTDI3LjEyNiwzNy45OTkgTDI3LjEyNiw1Ny42MjQgTDE5LjAwMSw1Ny42MjQgQzE2LjU2Myw1Ny4xMjQgMTQuODc2LDU1LjkzNiAxMy45MzgsNTQuMTI0IEMxMy40MzgsNTIuODc0IDEzLjE4OCw1MS41NjEgMTMuMTg4LDUwLjI0OSBDMTMuMTg4LDQ5LjY4NiAxMy4yNTEsNDkuMDYxIDEzLjMxMyw0OC40OTkgTDEzLjMxMyw0OC41IFogTTE0Ljg3NSwxMC41IEMxNC44NzUsMTMuMTg4IDE1LjUsMTUuNTYzIDE2Ljg3NSwxNy40MzggQzE4LjE4OCwxOS4zNzYgMTkuODEzLDIwLjMxMyAyMS43NSwyMC4zMTMgQzIzLjY4NywyMC4zMTMgMjUuMzEzLDE5LjM3NSAyNi42MjUsMTcuNDM4IEMyOCwxNS41NjMgMjguNjg4LDEzLjE4OCAyOC42ODgsMTAuNSBDMjguNjg4LDcuNzUgMjgsNS40MzcgMjYuNjI1LDMuNSBDMjUuMzEyLDEuNTYyIDIzLjY4NywwLjYyNSAyMS43NSwwLjYyNSBDMTkuODEzLDAuNjI1IDE4LjE4NywxLjU2MyAxNi44NzUsMy41IEMxNS41LDUuNDM4IDE0Ljg3NSw3Ljc1IDE0Ljg3NSwxMC41IEwxNC44NzUsMTAuNSBaIE0xNy4xMjUsNTEuNjI1IEwxNy40MzgsNTIuMzEzIEMxNy41NjMsNTIuODEzIDE3LjkzOCw1My4yNTEgMTguMzc2LDUzLjY4OCBDMTguODc2LDU0LjE4OCAxOS41MDEsNTQuMzc2IDIwLjE4OSw1NC4zNzYgTDIzLjQzOSw1NC4zNzYgTDIzLjQzOSw0Ni4zNzYgTDE5Ljg3Niw0Ni4zNzYgQzE4LjY4OCw0Ni43NTEgMTcuODEzLDQ3LjUwMSAxNy40MzgsNDguNjI2IEMxNy4xMjUsNDkuMzc2IDE3LDUwLjAwMSAxNyw1MC42MjYgQzE3LDUwLjkzOSAxNy4wNjMsNTEuMzE0IDE3LjEyNSw1MS42MjYgTDE3LjEyNSw1MS42MjUgWiBNMjkuMTI1LDU0LjA2MyBMMjkuMTI1LDQzLjY4OCBMMzIuOTM4LDQzLjYyNSBMMzIuOTM4LDUyLjkzOCBMMzMuMDAxLDUzLjE4OCBDMzMuMTI2LDUzLjMxMyAzMy4yNTEsNTMuNTAxIDMzLjUwMSw1My43NTEgQzMzLjc1MSw1My45MzkgMzQuMDY0LDU0LjA2NCAzNC40MzksNTQuMTI2IEwzOC4yNTIsNTQuMTI2IEwzOC4yNTIsNDMuNjg4IEw0Mi4zMTUsNDMuNjg4IEw0Mi4zMTUsNTcuNTYzIEwzMi45NCw1Ny41NjMgTDMyLjAwMiw1Ny4yNSBDMzEuMzc3LDU3LjA2MiAzMC43NTIsNTYuNjI1IDMwLjA2NCw1Ni4wNjIgQzI5LjQzOSw1NS40OTkgMjkuMTI2LDU0LjgxMiAyOS4xMjYsNTQuMDYyIEwyOS4xMjUsNTQuMDYzIFogTTMyLjUsMTEuMDYzIEMzMi40MzcsMTEuNzUxIDMyLjM3NSwxMi4zNzYgMzIuMzc1LDEzLjAwMSBDMzIuNDM4LDE0LjgxNCAzMi43NSwxNi40MzkgMzMuNDM4LDE3Ljc1MSBDMzQuMjUxLDE5LjYyNiAzNS44NzYsMjAuNjg5IDM4LjI1MSwyMS4wNjQgQzM4LjU2NCwyMS4wNjQgMzguODc2LDIxLjEyNyAzOS4xODksMjEuMTI3IEM0MS4xMjcsMjEuMDY0IDQyLjgxNCwyMC4xODkgNDQuMzE0LDE4LjU2NCBDNDUuOTM5LDE2LjU2NCA0Ny4wMDIsMTQuNDM5IDQ3LjM3NywxMi4wNjQgQzQ3LjM3NywxMS42ODkgNDcuNDQsMTEuMzE0IDQ3LjQ0LDEwLjkzOSBDNDcuNDQsOS4zMTQgNDYuODc3LDcuNjg5IDQ1LjgxNSw2LjAwMSBDNDQuNTAyLDMuOTM4IDQyLjk0LDIuNjg4IDQxLjA2NSwyLjMxMyBDNDAuODE1LDIuMjUgNDAuNTAyLDIuMjUgNDAuMjUyLDIuMjUgQzM4Ljc1MiwyLjI1IDM3LjI1MiwzLjEyNSAzNS42MjcsNC44NzUgQzMzLjc1Miw2LjkzOCAzMi43NTIsOSAzMi41MDIsMTEuMDYzIEwzMi41LDExLjA2MyBaIE00My44NzUsMjkuNjI1IEM0My44NzUsMzAuODc1IDQzLjkzOCwzMS44NzUgNDQuMTI1LDMyLjY4OCBDNDQuMjUsMzMuNTYzIDQ0LjUsMzQuNTAxIDQ1LDM1LjU2MyBDNDUuNDM4LDM2LjU2MyA0Ni4yNSwzNy4zNzYgNDcuNDM4LDM3Ljg3NiBDNDguNTAxLDM4LjMxNCA0OS44MTMsMzguNTY0IDUxLjQzOCwzOC41NjQgTDUxLjgxMywzOC41NjQgQzUyLjYyNiwzOC41NjQgNTMuMzc2LDM4LjUwMSA1NC4wNjMsMzguMzE0IEM1NC43NTEsMzguMDY0IDU1LjMxMywzNy44MTQgNTUuNzUxLDM3LjQzOSBDNTYuMjUxLDM3LjA2NCA1Ni42MjYsMzYuNjI2IDU3LjAwMSwzNi4yNTEgQzU3LjM3NiwzNS44MTMgNTcuNjI2LDM1LjMxMyA1Ny44MTQsMzQuNzUxIEM1OC4wMDIsMzQuMTI2IDU4LjE4OSwzMy42MjYgNTguMzE0LDMzLjE4OCBDNTguNDM5LDMyLjc1IDU4LjUwMiwzMi4yNSA1OC41NjQsMzEuNTYzIEM1OC42MjYsMzAuODc2IDU4LjYyNywzMC40MzggNTguNjI3LDMwLjEyNSBMNTguNjI3LDI3LjkzNyBDNTguNjI3LDI3LjM3NCA1OC41MDIsMjYuNjI0IDU4LjI1MiwyNS44MTIgQzU4LjAwMiwyNSA1Ny41NjQsMjQuMTg3IDU3LjA2NCwyMy4yNDkgQzU2LjUwMSwyMi4zMTEgNTUuNjg5LDIxLjU2MSA1NC42MjYsMjAuOTM2IEM1My41NjMsMjAuMzExIDUyLjI1MSwxOS45OTggNTAuODEzLDE5Ljk5OCBDNDYuMTg4LDE5Ljk5OCA0My44NzUsMjMuMTg2IDQzLjg3NSwyOS42MjMgTDQzLjg3NSwyOS42MjUgWiIgaWQ9IlNoYXBlIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4="); } .auth0-lock-social-button[data-provider^=bitbucket] .auth0-lock-social-button-icon {   background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjI1NnB4IiBoZWlnaHQ9IjI5NXB4IiB2aWV3Qm94PSIwIDAgMjU2IDI5NSIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy43LjIgKDI4Mjc2KSAtIGh0dHA6Ly93d3cuYm9oZW1pYW5jb2RpbmcuY29tL3NrZXRjaCAtLT4KICAgIDx0aXRsZT5Hcm91cDwvdGl0bGU+CiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4KICAgIDxkZWZzPjwvZGVmcz4KICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxnIGlkPSJHcm91cCIgZmlsbD0iI0ZGRkZGRiI+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik0xMjgsNC42MDc0MjQwN2UtMDYgTDEyOCw0LjYwNzQyNDA3ZS0wNiBDNTcuNzMxODgxOCw0LjYwNzQyNDA3ZS0wNiAwLjAxMTYzOTUwNTEsMTguODIxODE1NyAwLjAxMTYzOTUwNTEsNDIuNjYyNzgxOCBDMC4wMTE2Mzk1MDUxLDQ4LjkzNjcyMjcgMTUuMDY5MDkzLDEzOC4wMjY2NjUgMjEuMzQzMDMzOSwxNzMuMTYwNzE1IEMyMy44NTI2MDU2LDE4OS40NzI5NjYgNjUuMjYwNjA4NSwyMTIuMDU5MTQ2IDEyOCwyMTIuMDU5MTQ2IEwxMjgsMjEyLjA1OTE0NiBDMTkwLjczOTM4NiwyMTIuMDU5MTQ2IDIzMC44OTI1OTEsMTg5LjQ3Mjk2NiAyMzQuNjU2OTcyLDE3My4xNjA3MTUgQzI0MC45MzA5MDEsMTM4LjAyNjY2NSAyNTUuOTg4MzU1LDQ4LjkzNjcyMjcgMjU1Ljk4ODM1NSw0Mi42NjI3ODE4IEMyNTQuNzMzNTY5LDE4LjgyMTgxNTcgMTk4LjI2ODExMiw0LjYwNzQyNDA3ZS0wNiAxMjgsNC42MDc0MjQwN2UtMDYgTDEyOCw0LjYwNzQyNDA3ZS0wNiBMMTI4LDQuNjA3NDI0MDdlLTA2IFogTTEyOCwxODMuMTk5MDI1IEMxMDUuNDEzODIsMTgzLjE5OTAyNSA4Ny44NDY3ODg4LDE2NS42MzE5ODggODcuODQ2Nzg4OCwxNDMuMDQ1ODA4IEM4Ny44NDY3ODg4LDEyMC40NTk2MjggMTA1LjQxMzgyLDEwMi44OTI2MDcgMTI4LDEwMi44OTI2MDcgQzE1MC41ODYxNjksMTAyLjg5MjYwNyAxNjguMTUzMjA1LDEyMC40NTk2MjggMTY4LjE1MzIwNSwxNDMuMDQ1ODA4IEMxNjguMTUzMjA1LDE2NC4zNzcyMDMgMTUwLjU4NjE2OSwxODMuMTk5MDI1IDEyOCwxODMuMTk5MDI1IEwxMjgsMTgzLjE5OTAyNSBMMTI4LDE4My4xOTkwMjUgWiBNMTI4LDU1LjIxMDY2MzYgQzgyLjgyNzYzMzcsNTUuMjEwNjYzNiA0Ni40Mzg3ODU5LDQ3LjY4MTkzNjggNDYuNDM4Nzg1OSwzNy42NDM2Mzg0IEM0Ni40Mzg3ODU5LDI3LjYwNTMyODMgODIuODI3NjMzNywyMC4wNzY2MDE2IDEyOCwyMC4wNzY2MDE2IEMxNzMuMTcyMzQ5LDIwLjA3NjYwMTYgMjA5LjU2MTIwOCwyNy42MDUzMjgzIDIwOS41NjEyMDgsMzcuNjQzNjM4NCBDMjA5LjU2MTIwOCw0Ny42ODE5MzY4IDE3My4xNzIzNDksNTUuMjEwNjYzNiAxMjgsNTUuMjEwNjYzNiBMMTI4LDU1LjIxMDY2MzYgTDEyOCw1NS4yMTA2NjM2IFoiIGlkPSJTaGFwZSI+PC9wYXRoPgogICAgICAgICAgICA8cGF0aCBkPSJNMjIwLjYwODE3NiwyMDcuMDM5OTkxIEMyMTguMDk4NTkyLDIwNy4wMzk5OTEgMjE2Ljg0MzgwNywyMDguMjk0Nzc3IDIxNi44NDM4MDcsMjA4LjI5NDc3NyBDMjE2Ljg0MzgwNywyMDguMjk0Nzc3IDE4NS40NzQxMTQsMjMzLjM5MDU0MSAxMjkuMDA4NjU3LDIzMy4zOTA1NDEgQzcyLjU0MzIxMTMsMjMzLjM5MDU0MSA0MS4xNzM1MDY5LDIwOC4yOTQ3NzcgNDEuMTczNTA2OSwyMDguMjk0Nzc3IEM0MS4xNzM1MDY5LDIwOC4yOTQ3NzcgMzguNjYzOTM1MSwyMDcuMDM5OTkxIDM3LjQwOTE0OTMsMjA3LjAzOTk5MSBDMzQuODk5NTY2LDIwNy4wMzk5OTEgMzIuMzg5OTk0MywyMDguMjk0Nzc3IDMyLjM4OTk5NDMsMjEyLjA1OTE0NiBMMzIuMzg5OTk0MywyMTMuMzEzOTMyIEMzNy40MDkxNDkzLDIzOS42NjQ0ODIgNDEuMTczNTA2OSwyNTguNDg2MjkzIDQxLjE3MzUwNjksMjYwLjk5NTg2NCBDNDQuOTM3ODc2LDI3OS44MTc2ODcgODIuNTgxNTA5OCwyOTQuODc1MTQxIDEyNy43NTM4NzEsMjk0Ljg3NTE0MSBMMTI3Ljc1Mzg3MSwyOTQuODc1MTQxIEMxNzIuOTI2MjMyLDI5NC44NzUxNDEgMjEwLjU2OTg2NiwyNzkuODE3Njg3IDIxNC4zMzQyMzUsMjYwLjk5NTg2NCBDMjE0LjMzNDIzNSwyNTguNDg2MjkzIDIxOC4wOTg1OTIsMjM5LjY2NDQ4MiAyMjMuMTE3NzQ3LDIxMy4zMTM5MzIgTDIyMy4xMTc3NDcsMjEyLjA1OTE0NiBDMjI0LjM3MjUzMywyMDkuNTQ5NTYzIDIyMy4xMTc3NDcsMjA3LjAzOTk5MSAyMjAuNjA4MTc2LDIwNy4wMzk5OTEgTDIyMC42MDgxNzYsMjA3LjAzOTk5MSBMMjIwLjYwODE3NiwyMDcuMDM5OTkxIFoiIGlkPSJTaGFwZSI+PC9wYXRoPgogICAgICAgICAgICA8Y2lyY2xlIGlkPSJPdmFsIiBjeD0iMTI4IiBjeT0iMTQxLjc5MTA4IiByPSIyMC4wNzY2MDUiPjwvY2lyY2xlPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+");   background-size: 45%; } .auth0-lock-social-button[data-provider^=box] .auth0-lock-social-button-icon {   background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjY1cHgiIGhlaWdodD0iMzZweCIgdmlld0JveD0iMCAwIDY1IDM2IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+Ym94PC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGRlZnM+PC9kZWZzPgogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc2tldGNoOnR5cGU9Ik1TUGFnZSI+CiAgICAgICAgPGcgaWQ9ImJveCIgc2tldGNoOnR5cGU9Ik1TTGF5ZXJHcm91cCIgZmlsbD0iI0ZGRkZGRiI+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik0zNC41NjMsMTAuODc1IEM0MS40MzgsMTAuODc1IDQ3LjAwMSwxNi40MzggNDcuMDAxLDIzLjI1IEM0Ny4wMDEsMzAuMTI1IDQxLjQzOCwzNS42ODggMzQuNTYzLDM1LjY4OCBDMjkuODEzLDM1LjY4OCAyNS42ODgsMzMgMjMuNTYzLDI5LjA2MyBDMjEuNSwzMy4wMDEgMTcuMzc1LDM1LjY4OCAxMi42MjUsMzUuNjg4IEM1LjgxMiwzNS42ODggMC4zMTIsMzAuMjUgMC4xODcsMjMuNSBMMC4xODcsMjMuNSBMMC4xODcsMi44NzUgQzAuMjUsMS41IDEuMzEyLDAuNDM3IDIuNjg3LDAuNDM3IEM0LjA2MiwwLjQzNyA1LjEyNSwxLjUgNS4xODcsMi44NzUgTDUuMTg3LDIuODc1IEw1LjE4NywxMy4zMTMgQzcuMjUsMTEuNzUgOS44MTIsMTAuODc1IDEyLjYyNSwxMC44NzUgQzE3LjM3NSwxMC44NzUgMjEuNSwxMy41IDIzLjU2MywxNy40MzggQzI1LjY4OCwxMy41IDI5LjgxMywxMC44NzUgMzQuNTYzLDEwLjg3NSBMMzQuNTYzLDEwLjg3NSBaIE0xMi42MjUsMzAuNjg4IEMxNi43NSwzMC42ODggMjAuMDYzLDI3LjM3NSAyMC4wNjMsMjMuMjUgQzIwLjA2MywxOS4xODcgMTYuNzUsMTUuODEyIDEyLjYyNSwxNS44MTIgQzguNSwxNS44MTIgNS4xODcsMTkuMTg3IDUuMTg3LDIzLjI1IEM1LjE4NywyNy4zNzUgOC41LDMwLjY4OCAxMi42MjUsMzAuNjg4IEwxMi42MjUsMzAuNjg4IFogTTM0LjU2MywzMC42ODggQzM4LjY4OCwzMC42ODggNDIuMDAxLDI3LjM3NSA0Mi4wMDEsMjMuMjUgQzQyLjAwMSwxOS4xODcgMzguNjg4LDE1LjgxMiAzNC41NjMsMTUuODEyIEMzMC40MzgsMTUuODEyIDI3LjEyNSwxOS4xODcgMjcuMTI1LDIzLjI1IEMyNy4xMjUsMjcuMzc1IDMwLjQzOCwzMC42ODggMzQuNTYzLDMwLjY4OCBMMzQuNTYzLDMwLjY4OCBaIE02My42ODgsMzEuNzUgTDYzLjY4OCwzMS44MTMgQzY0LjQzOCwzMi44NzYgNjQuMjUxLDM0LjM3NiA2My4xODgsMzUuMTg4IEM2Mi4wNjMsMzYuMDYzIDYwLjU2MywzNS44MTMgNTkuNjg4LDM0Ljc1IEw1NC4yNSwyNy40MzcgTDQ4Ljc1LDM0Ljc1IEM0Ny44NzUsMzUuODEzIDQ2LjM3NSwzNi4wNjMgNDUuMzEyLDM1LjE4OCBDNDQuMTg3LDM0LjM3NSA0My45OTksMzIuODc1IDQ0Ljc0OSwzMS44MTMgTDUxLjEyNCwyMy4yNSBMNDQuNzQ5LDE0Ljc1IEM0My45OTksMTMuNjg3IDQ0LjE4NiwxMi4xMjUgNDUuMzEyLDExLjMxMiBDNDYuMzc1LDEwLjQ5OSA0Ny44NzUsMTAuNzQ5IDQ4Ljc1LDExLjgxMiBMNTQuMjUsMTkuMTI1IEw1OS42ODgsMTEuODEyIEM2MC41NjMsMTAuNzQ5IDYyLjA2MywxMC40OTkgNjMuMTg4LDExLjMxMiBDNjQuMjUxLDEyLjEyNSA2NC40MzgsMTMuNjg3IDYzLjY4OCwxNC43NSBMNTcuMzEzLDIzLjI1IEw2My42ODgsMzEuNzUgWiIgaWQ9IlNoYXBlIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4="); } .auth0-lock-social-button[data-provider^=dropbox] .auth0-lock-social-button-icon {   background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjY2cHgiIGhlaWdodD0iNjNweCIgdmlld0JveD0iMCAwIDY2IDYzIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+ZHJvcGJveDwvdGl0bGU+CiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4KICAgIDxkZWZzPjwvZGVmcz4KICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHNrZXRjaDp0eXBlPSJNU1BhZ2UiPgogICAgICAgIDxnIGlkPSJkcm9wYm94IiBza2V0Y2g6dHlwZT0iTVNMYXllckdyb3VwIiBmaWxsPSIjRkZGRkZGIj4KICAgICAgICAgICAgPHBhdGggZD0iTTAuMjUsMzMuODEzIEwyMC4xMjUsNDUuNjI2IEwzMy4xMjUsMzUuNjI2IEw0Ni4xMjUsNDUuNjI2IEw2NS43NSwzMy44MTMgTDUzLjEyNSwyMi45MzggTDY1Ljc1LDEyLjM3NSBMNDYuNDM3LDAgTDMzLjEyNCwxMS4xMjUgTDIwLjEyNCwwIEwwLjI0OSwxMyBMMTMuOTM3LDIzLjM3NSBMMC4yNSwzMy44MTMgWiBNMTMuODc1LDQ5Ljg3NSBMMzIuOTM4LDYyLjYyNSBMMzIuOTM4LDM5Ljg3NSBMMzIuODc1LDM5LjgxMiBMMTkuODc1LDQ5Ljc1IEwxMy44NzUsNDYuMTg3IEwxMy44NzUsNDkuODc1IEwxMy44NzUsNDkuODc1IFogTTE0LjE4OCwyMy4yNSBMMzMuMTI2LDExLjY4NyBMNTEuOTM5LDIyLjU2MiBMMzMuMDAxLDM1LjA2MiBMMTQuMTg4LDIzLjI1IFogTTMyLjkzOCw2Mi42MjUgTDUyLjQzOCw0OS45MzcgTDUyLjQzOCw0NS44NzQgTDQ2LjA2Myw0OS43NDkgTDMzLjEyNSwzOS44MTEgTDMzLDM5Ljg3NCBMMzIuOTM4LDYyLjYyNSBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg=="); } .auth0-lock-social-button[data-provider^=dwolla] .auth0-lock-social-button-icon {   background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjQwcHgiIGhlaWdodD0iNjVweCIgdmlld0JveD0iMCAwIDQwIDY1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+ZHdvbGxhPC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGRlZnM+PC9kZWZzPgogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc2tldGNoOnR5cGU9Ik1TUGFnZSI+CiAgICAgICAgPGcgaWQ9ImR3b2xsYSIgc2tldGNoOnR5cGU9Ik1TTGF5ZXJHcm91cCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTEuMDAwMDAwLCAwLjAwMDAwMCkiIGZpbGw9IiNGRkZGRkYiPgogICAgICAgICAgICA8cGF0aCBkPSJNMSw1NSBDMSw1OC4zMTMgMiw2MC45MzggNC4wNjMsNjIuODc1IEM2LjEyNiw2NC43NSA4LjkzOCw2NS4yNSAxMi41NjMsNjQuMzc1IEMxMy4zNzYsNjQuMTg3IDE0LjQzOCw2My43NSAxNS44MTMsNjMuMDYyIEwxOC4wNjMsNjEuODc0IEwyMy44MTMsNTkuMzc0IEMyMy45MzgsNTkuMzc0IDI0LjM3Niw1OS4xMjQgMjUuMjUxLDU4Ljc0OSBDMjYuMDY0LDU4LjM3NCAyNi44MTQsNTguMDYxIDI3LjUwMSw1Ny44MTEgQzI5LjEyNiw1Ny4xMjMgMzAuNDM5LDU2LjU2MSAzMS4zNzYsNTYuMDYxIEMzMi4xODksNTUuNjg2IDMzLjMxNCw1NS4wNjEgMzQuODE0LDU0LjEyMyBDMzYuMTI3LDUzLjMxIDM3LjEyNyw1Mi40MzUgMzcuODE0LDUxLjYyMyBDMzguNTY0LDUwLjgxIDM5LjEyNyw0OS42ODUgMzkuNjI3LDQ4LjMxIEM0MC4xOSw0Ny4wNiA0MC41MDIsNDUuNTYgNDAuNTAyLDQzLjk5NyBDNDAuNTAyLDQyLjY4NCA0MC4zMTQsNDEuNDM0IDQwLjAwMiw0MC4yNDcgQzM5LjY4OSwzOC45OTcgMzkuMzc3LDM3Ljk5NyAzOS4wMDIsMzcuMTIyIEMzOC42ODksMzYuMjQ3IDM4LjEyNywzNS4zMDkgMzcuMzc3LDM0LjE4NCBDMzYuNTY0LDMzLjA1OSAzNi4wMDIsMzIuMjQ2IDM1LjU2NCwzMS43NDYgQzM1LjEyNiwzMS4yNDYgMzQuNDM5LDMwLjQzMyAzMy40MzksMjkuMzcxIEMzMi40MzksMjguMjQ2IDMxLjg3NiwyNy41NTggMzEuNTY0LDI3LjI0NiBDMzEuMzc2LDI2Ljk5NiAzMC42ODksMjYuMjQ2IDI5LjU2NCwyNC45MzMgQzI4LjQzOSwyMy42ODMgMjcuNjg5LDIyLjgwOCAyNy4zNzYsMjIuMzcgQzI3LjAwMSwyMS45OTUgMjYuNDM4LDIxLjE4MiAyNS42MjYsMTkuOTk1IEMyNC44MTQsMTguODA4IDI0LjMxMywxNy44NyAyNC4wMDEsMTcuMDU3IEMyMy43NTEsMTYuMjQ0IDIzLjQzOCwxNS4yNDQgMjMuMTg4LDE0LjA1NyBDMjIuOTM4LDEyLjgwNyAyMi44NzUsMTEuNjE5IDIyLjg3NSwxMC4zNjkgQzIzLDcuMTgxIDI0LjM3NSw0Ljc0NCAyNywzLjA1NiBDMjguMTI1LDIuNDkzIDI4LjY4OCwxLjkzMSAyOC42ODgsMS40OTMgQzI4LjUsMC43NDMgMjcuOTM4LDAuNjE4IDI3LjEyNSwxLjA1NSBDMjUuOTM3LDEuNzQzIDI0LjA2MiwyLjU1NSAyMS42MjUsMy42MTggTDE3LjE4Nyw1LjU1NiBMMTQuMTg3LDYuOTMxIEMxMy42ODcsNy4xMTkgMTMuMDYyLDcuMzY5IDEyLjMxMiw3LjY4MSBDMTEuNTYyLDguMDU2IDExLjA2Miw4LjI0NCAxMC44NzQsOC4zMDYgQzEwLjQ5OSw4LjQ5NCA5LjU2MSw4Ljk5NCA3Ljk5OSw5LjkzMSBDNi43NDksMTAuNjgxIDUuODExLDExLjM2OSA1LjMxMSwxMS45OTQgQzMuODExLDEzLjQ5NCAyLjg3MywxNS40MzIgMi42MjMsMTcuODA3IEMxLjkzNSwyMi42ODIgMy45MzYsMjcuOTk1IDguNjIzLDMzLjYyIEM4Ljk5OCwzNC4wNTggMTAuMjQ4LDM1LjU1OCAxMi40MzYsMzguMTIgQzEzLjg3NCwzOS43NDUgMTQuOTk5LDQxLjE4MyAxNS45MzYsNDIuNDk1IEMxNS41NjEsNDIuNjgzIDEyLjkzNiw0My44NyA4LjEyMyw0NS45MzMgQzcuMDYsNDYuMzcxIDUuODczLDQ2Ljk5NiA0LjYyMyw0Ny44MDggQzIuMTg1LDQ5LjM3MSAwLjk5OCw1MS43NDYgMC45OTgsNTQuOTk2IEwxLDU1IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+");   background-size: 30%; } .auth0-lock-social-button[data-provider^=ebay] .auth0-lock-social-button-icon {   background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjkwcHgiIGhlaWdodD0iMzlweCIgdmlld0JveD0iMCAwIDkwIDM5IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+ZWJheTwvdGl0bGU+CiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4KICAgIDxkZWZzPjwvZGVmcz4KICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHNrZXRjaDp0eXBlPSJNU1BhZ2UiPgogICAgICAgIDxnIGlkPSJlYmF5IiBza2V0Y2g6dHlwZT0iTVNMYXllckdyb3VwIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMS4wMDAwMDAsIDAuMDAwMDAwKSIgZmlsbD0iI0ZGRkZGRiI+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik0xLDIzLjY4OCBDMSwyNS42MjYgMS4xODgsMjcuMTg4IDEuNjI1LDI4LjUwMSBDMiwyOS43NTEgMi44MTMsMzAuOTM5IDQsMzIuMDY0IEM1LjE4NywzMy4xODkgNy4wNjMsMzQuMDAyIDkuNTYzLDM0LjU2NCBDMTIuMDYzLDM1LjA2NCAxNS4zMTMsMzUuMzc3IDE5LjI1MSwzNS4zNzcgQzIyLjc1MSwzNS4zNzcgMjUuOTM5LDM1LjA2NCAyOC44MTQsMzQuMzc3IEMzMC4wNjQsMzQuMTI3IDMxLjI1MiwzMy43NTIgMzIuNDM5LDMzLjE4OSBMMzIuNDM5LDI3LjUwMSBMMjQuNjg5LDI3LjUwMSBDMjQuNjg5LDMwLjA2NCAyMi44NzYsMzEuMzc2IDE5LjI1MSwzMS4zNzYgQzE3LjkzOCwzMS4zNzYgMTYuODc2LDMxLjE4OCAxNi4wNjMsMzAuODEzIEMxNS4yNSwzMC40MzggMTQuNjg4LDI5Ljg3NSAxNC4zNzUsMjkuMDYzIEMxNC4wNjIsMjguMzEzIDEzLjg3NSwyNy42ODggMTMuODEyLDI3LjEyNSBDMTMuNjg3LDI2LjYyNSAxMy42ODcsMjUuODc1IDEzLjY4NywyNSBMMzIuNDM3LDI1IEwzMi40MzcsMTQuNjg3IEMzMS42MjQsMTQuMjQ5IDMwLjM3NCwxMy44NzQgMjguNjg3LDEzLjU2MiBDMjYuMTI0LDEyLjk5OSAyMi45OTksMTIuNjg3IDE5LjI0OSwxMi42ODcgQzE2LjA2MSwxMi42ODcgMTMuMzExLDEyLjg3NSAxMC45OTksMTMuMzEyIEM4Ljc0OSwxMy42ODcgNi45MzYsMTQuMjUgNS42ODYsMTQuODc1IEM0LjM3MywxNS40MzggMy4zNzMsMTYuMzEzIDIuNjg2LDE3LjMxMyBDMS45OTksMTguMzEzIDEuNTYxLDE5LjMxMyAxLjMxMSwyMC4zMTMgQzEuMTIzLDIxLjI1MSAwLjk5OCwyMi4zNzYgMC45OTgsMjMuNjg4IEwxLDIzLjY4OCBaIE0xMy42ODgsMjEuNTYzIEMxMy42ODgsMjAuODc1IDEzLjY4OCwyMC4zMTMgMTMuNzUxLDE5LjkzOCBDMTMuODE0LDE5LjYyNSAxNC4wMDEsMTkuMDYzIDE0LjMxNCwxOC40MzggQzE0LjYyNywxNy43NSAxNS4xODksMTcuMjUgMTYuMDAyLDE2LjkzOCBDMTYuODE1LDE2LjYyNiAxNy45NCwxNi41IDE5LjI1MiwxNi41IEMyMC42MjcsMTYuNSAyMS44MTUsMTYuNjI1IDIyLjY5LDE2LjkzOCBDMjMuNTY1LDE3LjI1MSAyNC4xMjgsMTcuNjg4IDI0LjQ0LDE4LjMxMyBDMjQuNzUzLDE5LjAwMSAyNC44NzgsMTkuNTAxIDI0Ljk0LDE5LjgxMyBDMjUuMDY1LDIwLjE4OCAyNS4wNjUsMjAuNzUxIDI1LjA2NSwyMS41NjMgTDEzLjY5LDIxLjU2MyBMMTMuNjg4LDIxLjU2MyBaIE0zMi40MzgsMzMuMTg4IEMzMi41MDEsMzMuMTg4IDMyLjYyNiwzMy4xMjUgMzIuNjg4LDMzLjA2MyBDMzUuODEzLDMxLjUgMzcuMzc2LDI5LjY4OCAzNy40MzgsMjcuNSBMMzIuNDM4LDI3LjUgTDMyLjQzOCwzMy4xODggTDMyLjQzOCwzMy4xODggWiBNMzIuNDM4LDMzLjE4OCBMMzIuNDM4LDM4LjI1MSBMMzkuMDAxLDM4LjI1MSBMMzkuMDAxLDM1LjU2MyBMMzkuMDY0LDM1LjU2MyBDNDAuMjUyLDM3LjY4OCA0Mi4xODksMzguNzUxIDQ0Ljg3NywzOC43NTEgQzQ2LjI1MiwzOC43NTEgNDcuNDQsMzguNTAxIDQ4LjMxNSwzNy45MzggQzQ5LjI1MywzNy40MzggNDkuOTQsMzYuNjI1IDUwLjQ0LDM1LjYyNSBDNTAuODc4LDM0LjU2MiA1MS4xOSwzMy41NjIgNTEuMzc4LDMyLjYyNSBDNTEuNTY2LDMxLjYyNSA1MS42OTEsMzAuNSA1MS43NTMsMjkuMTI1IEM0OC41MDMsMjguMzc1IDQ2Ljg3OCwyNS43NSA0Ni44NzgsMjEuMzEyIEM0Ni44NzgsMTguMjQ5IDQ3Ljc1MywxNi4wNjIgNDkuNDQxLDE0LjgxMiBDNDguMzE2LDEzLjY4NyA0Ni44NzgsMTMuMTI0IDQ1LjA2NiwxMy4xMjQgQzQyLjYyOCwxMy4xMjQgNDAuNzUzLDE0LjA2MiAzOS4zNzgsMTUuOTM3IEwzOS4yNTMsMTUuOTM3IEwzOS4yNTMsMi45OTkgTDMyLjQ0LDIuOTk5IEwzMi40NCwxNC42ODcgQzM0LjY5LDE1LjY4NyAzNi4xOSwxNyAzNi44MTUsMTguNjI1IEMzNy4zNzgsMjAgMzcuNjksMjEuNjI1IDM3LjY5LDIzLjUgQzM3LjY5LDI0IDM3LjYyNywyNC41IDM3LjYyNywyNSBMMzIuNDM5LDI1IEwzMi40MzksMjcuNSBMMzcuNDM5LDI3LjUgQzM3LjM3NiwyOS42ODggMzUuODE0LDMxLjUgMzIuNjg5LDMzLjA2MyBDMzIuNjI2LDMzLjEyNiAzMi41MDEsMzMuMTg4IDMyLjQzOSwzMy4xODggTDMyLjQzOCwzMy4xODggWiBNMzIuNDM4LDI1IEwzNy42MjYsMjUgQzM3LjYyNiwyNC41IDM3LjY4OSwyNCAzNy42ODksMjMuNSBDMzcuNjg5LDIxLjYyNSAzNy4zNzYsMjAgMzYuODE0LDE4LjYyNSBDMzYuMTg5LDE3IDM0LjY4OSwxNS42ODcgMzIuNDM5LDE0LjY4NyBMMzIuNDM5LDI1IEwzMi40MzgsMjUgWiBNMzkuMjUsMjUuNjg4IEMzOS4yNSwyNC4xMjUgMzkuMzEzLDIyLjkzOCAzOS4zMTMsMjIuMjUgQzM5LjM3NiwyMS41IDM5LjUwMSwyMC42ODcgMzkuNjI2LDE5LjgxMiBDMzkuNzUxLDE4LjkzNyA0MC4wNjQsMTguMjQ5IDQwLjQzOSwxNy45MzcgQzQwLjg3NywxNy41NjIgNDEuMzc3LDE3LjM3NCA0Mi4wNjQsMTcuMzc0IEM0Mi44MTQsMTcuMzc0IDQzLjM3NywxNy41NjIgNDMuODE0LDE3Ljg3NCBDNDQuMTg5LDE4LjI0OSA0NC41MDIsMTguODEyIDQ0LjYyNywxOS42ODcgQzQ0LjgxNSwyMC41NjIgNDQuOTQsMjEuMzc1IDQ0Ljk0LDIyLjA2MiBDNDUuMDAzLDIyLjc1IDQ1LjA2NSwyMy44NzUgNDUuMDY1LDI1LjM3NSBMNDUuMDY1LDI1LjY4OCBDNDUuMDY1LDI5LjAwMSA0NC44MTUsMzEuMjUxIDQ0LjQ0LDMyLjU2MyBDNDQuMDY1LDMzLjg3NSA0My4zMTUsMzQuNTAxIDQyLjA2NSwzNC41MDEgQzQwLjk0LDM0LjUwMSA0MC4xOSwzMy44NzYgMzkuODE1LDMyLjU2MyBDMzkuNDQsMzEuMjUgMzkuMjUyLDI5IDM5LjI1MiwyNS42ODggTDM5LjI1LDI1LjY4OCBaIE00Ni44NzUsMjEuMzEzIEM0Ni44NzUsMjUuNzUxIDQ4LjUsMjguMzc2IDUxLjc1LDI5LjEyNiBMNTEuNzUsMjUuODEzIEM1MS44MTMsMjQgNTEuODEzLDIyLjYyNSA1MS43NSwyMS43NSBDNTEuNjg3LDIwLjg3NSA1MS41LDE5LjY4NyA1MS4xMjUsMTguMTg3IEM1MC43NSwxNi42ODcgNTAuMTg3LDE1LjU2MiA0OS40MzcsMTQuODEyIEM0Ny43NDksMTYuMDYyIDQ2Ljg3NCwxOC4yNSA0Ni44NzQsMjEuMzEyIEw0Ni44NzUsMjEuMzEzIFogTTQ3LjM3NSwxMS4xODggTDU0LjI1LDExLjE4OCBDNTQuMjUsOS45MzggNTQuMzc1LDkgNTQuNjg4LDguMzEzIEM1NS4wMDEsNy42MjYgNTUuNjg4LDcuMzEzIDU2LjgxMyw3LjMxMyBDNTcuOTM4LDcuMzEzIDU4LjY4OCw3LjYyNiA1OS4wNjMsOC4yNTEgQzU5LjQzOCw4LjgxNCA1OS42MjYsOS43NTEgNTkuNjI2LDExLjAwMSBMNTkuNjI2LDEyLjkzOSBMNTguMDYzLDEyLjkzOSBDNTMuOTM4LDEyLjkzOSA1MS4wNjMsMTMuNTY0IDQ5LjQzOCwxNC44MTQgQzUwLjE4OCwxNS41NjQgNTAuNzUxLDE2LjY4OSA1MS4xMjYsMTguMTg5IEM1MS41MDEsMTkuNjg5IDUxLjY4OSwyMC44NzcgNTEuNzUxLDIxLjc1MiBMNTEuNzUxLDI5LjEyNyBDNTIuMDY0LDI5LjE5IDUyLjYyNiwyOS4xOSA1My40MzksMjkuMTkgQzU2LjI1MiwyOS4xOSA1OC40MzksMjguMDAyIDU5LjgxNCwyNS41MDIgTDU5LjkzOSwyNS41MDIgTDYwLjI1MiwyOC44MTUgTDY2LjY5LDI4LjgxNSBDNjYuNjksMjguNDQgNjYuNjI3LDI3Ljc1MiA2Ni41NjUsMjYuNjI3IEM2Ni40NCwyNS41NjQgNjYuNDQsMjQuNzUyIDY2LjQ0LDI0LjE4OSBMNjYuNDQsMTcuNjI2IEw1OS41NjUsMy42ODggQzU3LjYyNywzLjU2MyA1Ni42MjcsMy41IDU2LjQ0LDMuNSBDNTMuNTY1LDMuNSA1MS40NCw0LjA2MyA0OS45NCw1LjEyNSBDNDguMjUyLDYuMTg4IDQ3LjM3Nyw4LjI1IDQ3LjM3NywxMS4xODggTDQ3LjM3NSwxMS4xODggWiBNNTMuNjI1LDIxIEM1My4xODcsMjAuNjI1IDUzLjE4NywyMC4xODcgNTMuNjg4LDE5Ljc1IEM1NC4xODksMTkuMzEzIDU0LjI1MSwxOC45MzcgNTQuMDAxLDE4Ljc1IEM1My42ODgsMTguNTYyIDUzLjg3NiwxOC4zMTIgNTQuNDM5LDE4LjA2MiBDNTQuOTM5LDE3LjgxMiA1NS4xODksMTcuNjI0IDU1LjAwMiwxNy41NjIgQzU0Ljg3NywxNy40MzcgNTUuMDY1LDE3LjMxMiA1NS42OSwxNy4xODcgQzU2LjMxNSwxNy4wNjIgNTYuNTY1LDE2Ljk5OSA1Ni41NjUsMTYuOTk5IEw1Ny41MDMsMTYuODc0IEM1Ny42MjgsMTYuODc0IDU4LjAwMywxNi44NzQgNTguNTY2LDE2LjgxMSBMNTkuNjI5LDE2LjgxMSBMNTkuNjI5LDE4LjA2MSBDNTkuNjkyLDE4Ljc0OSA1OS42OTIsMTkuMjQ5IDU5LjYyOSwxOS42MjQgQzU5LjYyOSwxOS45MzcgNTkuNjI5LDIwLjQzNyA1OS41NjYsMjEuMTI0IEM1OS41MDMsMjEuNzQ5IDU5LjQ0MSwyMi4zMTIgNTkuMjUzLDIyLjYyNCBDNTkuMTI4LDIyLjk5OSA1OC45NCwyMy4zNzQgNTguNjksMjMuODEyIEM1OC40NCwyNC4xODcgNTguMDY1LDI0LjUgNTcuNjksMjQuNjg3IEM1Ny4yNTIsMjQuODc1IDU2LjgxNSwyNSA1Ni4yNTIsMjUgQzU0LjUwMiwyNSA1My42MjcsMjMuNjg3IDUzLjYyNywyMSBMNTMuNjI1LDIxIFogTTU3Ljg3NSwwLjM3NSBMNTkuNTYzLDMuNjg4IEM2Mi4zMTMsNC4wNjMgNjQuMTI2LDQuOTM4IDY1LjA2Myw2LjI1MSBDNjUuOTM4LDcuNjI2IDY2LjQzOCw5LjQzOSA2Ni40MzgsMTEuODE0IEw2Ni40MzgsMTcuNjI3IEw2OS4xODgsMjMuMzE1IEw2OS4xODgsMzUuNTAzIEw3OC4xODgsMzUuNTAzIEw3OC4xODgsMjMuMzE1IEw5MC4yNTEsMC4zNzcgTDgxLjEyNiwwLjM3NyBMNzQuMTI2LDE1LjE5IEw2Ny43NTEsMC4zNzcgTDU3Ljg3NiwwLjM3NyBMNTcuODc1LDAuMzc1IFogTTU5LjU2MywzLjY4OCBMNjYuNDM4LDE3LjYyNiBMNjYuNDM4LDExLjgxMyBDNjYuNDM4LDkuNDM4IDY1LjkzOCw3LjYyNSA2NS4wNjMsNi4yNSBDNjQuMTI1LDQuOTM3IDYyLjMxMyw0LjA2MiA1OS41NjMsMy42ODcgTDU5LjU2MywzLjY4OCBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg==");   background-size: 70%; } .auth0-lock-social-button[data-provider^=exact] .auth0-lock-social-button-icon {   background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjQzcHgiIGhlaWdodD0iMzJweCIgdmlld0JveD0iMCAwIDQzIDMyIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+ZXhhY3Q8L3RpdGxlPgogICAgPGRlc2M+Q3JlYXRlZCB3aXRoIFNrZXRjaC48L2Rlc2M+CiAgICA8ZGVmcz48L2RlZnM+CiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4KICAgICAgICA8ZyBpZD0iZXhhY3QiIHNrZXRjaDp0eXBlPSJNU0xheWVyR3JvdXAiIGZpbGw9IiNGRkZGRkYiPgogICAgICAgICAgICA8ZyBpZD0iR3JvdXAiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPgogICAgICAgICAgICAgICAgPHBhdGggZD0iTTAuMDQ5LDEuMDA4IEMxNC4wMTIsMC44IDI3Ljk3NCwwLjgyOSA0MS45MzcsMC45NzggQzQyLjAyNCwzLjcxOCA0Mi4yMjYsOS4xOTggNDIuMzEzLDExLjkzOSBDMjguNTI0LDEyLjQ0NSAxNC43MDYsMTIuMjA3IDAuODg4LDEyLjI5NyBDMC41OTksOC41NDQgMC4zMSw0Ljc5MSAwLjA1LDEuMDA5IEwwLjA1LDEuMDA5IEwwLjA1LDEuMDA5IEwwLjA0OSwxLjAwOCBaIiBpZD0iU2hhcGUiPjwvcGF0aD4KICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0wLjIyMywyMC4yMTkgQzE0LjA0MSwyMC4yNDkgMjcuOTQ2LDE5LjI5NiA0MS43NjQsMjAuNjM2IEM0Mi4xMTEsMjQuMTUxIDQyLjExMSwyNy43MjUgNDIuMTQsMzEuMjY5IEMyOC4yMzUsMzEuMjM5IDE0LjM1OSwzMS4yMzkgMC40NTQsMzEuMjEgQzAuMzY3LDI3LjU0NyAwLjI4MSwyMy44ODMgMC4yMjMsMjAuMjIgTDAuMjIzLDIwLjIyIEwwLjIyMywyMC4yMiBMMC4yMjMsMjAuMjE5IFoiIGlkPSJTaGFwZSI+PC9wYXRoPgogICAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=");   background-size: 30%; } .auth0-lock-social-button[data-provider^=facebook] .auth0-lock-social-button-icon {   background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMjRweCIgaGVpZ2h0PSIyNHB4IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8ZyBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8cGF0aCBkPSJNMjIuNjY2NjY2NywwIEwxLjMzMzMzMzMzLDAgQzAuNTk2OTUzNjY3LC00LjUwOTAyNTAxZS0xNyA5LjAxODA1MDAxZS0xNywwLjU5Njk1MzY2NyAwLDEuMzMzMzMzMzMgTDAsMjIuNjY2NjY2NyBDOS4wMTgwNTAwMWUtMTcsMjMuNDAzMDQ2MyAwLjU5Njk1MzY2NywyNCAxLjMzMzMzMzMzLDI0IEwxMi44MiwyNCBMMTIuODIsMTQuNzIgTDkuNzAzMzMzMzMsMTQuNzIgTDkuNzAzMzMzMzMsMTEuMDg2NjY2NyBMMTIuODIsMTEuMDg2NjY2NyBMMTIuODIsOC40MiBDMTIuODIsNS4zMiAxNC43MTMzMzMzLDMuNjMgMTcuNDg2NjY2NywzLjYzIEMxOC40MTk2ODM2LDMuNjI3MjczMzEgMTkuMzUyMTYyNSwzLjY3NTEyMTI4IDIwLjI4LDMuNzczMzMzMzMgTDIwLjI4LDcgTDE4LjM2NjY2NjcsNyBDMTYuODYzMzMzMyw3IDE2LjU3LDcuNzE2NjY2NjcgMTYuNTcsOC43NjY2NjY2NyBMMTYuNTcsMTEuMDggTDIwLjE2NjY2NjcsMTEuMDggTDE5LjcsMTQuNzEzMzMzMyBMMTYuNTcsMTQuNzEzMzMzMyBMMTYuNTcsMjQgTDIyLjY2NjY2NjcsMjQgQzIzLjQwMzA0NjMsMjQgMjQsMjMuNDAzMDQ2MyAyNCwyMi42NjY2NjY3IEwyNCwxLjMzMzMzMzMzIEMyNCwwLjU5Njk1MzY2NyAyMy40MDMwNDYzLDQuNTA5MDI1MDFlLTE3IDIyLjY2NjY2NjcsMCBaIiBpZD0iUGF0aCIgZmlsbD0iI0ZGRkZGRiI+PC9wYXRoPgogICAgPC9nPgo8L3N2Zz4="); } .auth0-lock-social-button[data-provider^=fitbit] .auth0-lock-social-button-icon {   background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjYwcHgiIGhlaWdodD0iNTlweCIgdmlld0JveD0iMCAwIDYwIDU5IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+Zml0Yml0PC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGRlZnM+PC9kZWZzPgogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc2tldGNoOnR5cGU9Ik1TUGFnZSI+CiAgICAgICAgPGcgaWQ9ImZpdGJpdCIgc2tldGNoOnR5cGU9Ik1TTGF5ZXJHcm91cCIgZmlsbD0iI0ZGRkZGRiI+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik0zOC4zNzUsNDIgQzM4LjM3NSw0NC40MzggNDAuMzEzLDQ2LjMxMyA0Mi44MTMsNDYuMzEzIEM0NS4yNTEsNDYuMzEzIDQ3LjI1MSw0NC4zNzUgNDcuMzEzLDQyIEM0Ny4zMTMsMzkuNjI1IDQ1LjI1LDM3LjU2MiA0Mi43NSwzNy42MjUgQzQwLjMxMiwzNy42MjUgMzguMzc1LDM5LjUgMzguMzc1LDQyIEwzOC4zNzUsNDIgWiBNNjAsMjkuNSBDNjAsMjYuOTM3IDU4LjE4NywyNS4xMjUgNTUuNjg3LDI1LjEyNSBDNTMuMTg3LDI1LjA2MiA1MS4xMjQsMjcuMDYzIDUxLjEyNCwyOS40MzggQzUxLjE4NywzMS44MTMgNTMuMTg3LDMzLjgxMyA1NS41NjIsMzMuODEzIEM1OC4wNjIsMzMuODc2IDYwLDMxLjkzOCA2MCwyOS41IEw2MCwyOS41IFogTTM4LjM3NSwxNi45MzggQzM4LjM3NSwxOS4zNzYgNDAuMzc1LDIxLjMxMyA0Mi44MTMsMjEuMzEzIEM0NS4yNTEsMjEuMjUgNDcuMjUxLDE5LjI1IDQ3LjMxMywxNi45MzggQzQ3LjMxMywxNC42MjUgNDUuMjUsMTIuNTYzIDQyLjg3NSwxMi41NjMgQzQwLjM3NSwxMi41IDM4LjM3NSwxNC40MzggMzguMzc1LDE2LjkzOCBMMzguMzc1LDE2LjkzOCBaIE0wLDI5LjQzOCBDMCwzMS44NzYgMiwzMy44MTMgNC4zNzUsMzMuODEzIEM2Ljg3NSwzMy44MTMgOC44NzUsMzEuNzUgOC44NzUsMjkuMzc1IEM4LjgxMiwyNyA2LjgxMiwyNS4xMjUgNC4zNzUsMjUuMTI1IEMxLjgxMiwyNS4xMjUgMCwyNi45MzggMCwyOS40MzggTDAsMjkuNDM4IFogTTM4LjM3NSwyOS40MzggQzM4LjM3NSwzMS44MTMgNDAuMzc1LDMzLjgxMyA0Mi44MTMsMzMuODEzIEM0NS4yNTEsMzMuODEzIDQ3LjMxMywzMS43NSA0Ny4zMTMsMjkuMzc1IEM0Ny4yNSwyNyA0NS4yNSwyNS4xMjUgNDIuODEzLDI1LjEyNSBDNDAuMjUsMjUuMTI1IDM4LjM3NSwyNi45MzggMzguMzc1LDI5LjQzOCBMMzguMzc1LDI5LjQzOCBaIE0yMS42MjUsMjkuNSBDMjEuNjI1LDI3IDE5LjgxMiwyNS4xMjUgMTcuMzEyLDI1LjEyNSBDMTQuNzQ5LDI1LjA2MiAxMi43NDksMjYuOTM4IDEyLjY4NywyOS40MzggQzEyLjY4NywzMS43NTEgMTQuODEyLDMzLjgxMyAxNy4yNSwzMy44MTMgQzE5LjYyNSwzMy44MTMgMjEuNTYzLDMxLjg3NSAyMS42MjUsMjkuNSBMMjEuNjI1LDI5LjUgWiBNMjkuOTM4LDI1LjEyNSBDMjcuNSwyNS4xMjUgMjUuNSwyNy4wNjMgMjUuNTYzLDI5LjQzOCBDMjUuNTYzLDMxLjg3NiAyNy41NjMsMzMuODEzIDMwLjAwMSwzMy44MTMgQzMyLjQzOSwzMy44MTMgMzQuNDM5LDMxLjg3NSAzNC40MzksMjkuNSBDMzQuNTAyLDI3IDMyLjUwMSwyNS4xMjUgMjkuOTM5LDI1LjEyNSBMMjkuOTM4LDI1LjEyNSBaIE0zMCw4LjY4OCBDMzIuNSw4LjY4OCAzNC40MzgsNi43NSAzNC40MzgsNC4zMTMgQzM0LjM3NSwyIDMyLjMxMyw4Ljg4MTc4NDJlLTE2IDMwLDAuMDYzIEMyNy42MjUsMC4wNjMgMjUuNTYyLDIuMDYzIDI1LjU2Miw0LjQzOCBDMjUuNjI1LDYuNzUxIDI3LjYyNSw4LjY4OCAzMCw4LjY4OCBMMzAsOC42ODggWiBNMzAsNTguODEzIEMzMi40MzgsNTguODEzIDM0LjQzOCw1Ni44NzUgMzQuNDM4LDU0LjQzOCBDMzQuNDM4LDUyLjEyNSAzMi40MzgsNTAuMTg4IDMwLDUwLjE4OCBDMjcuNjI1LDUwLjEyNSAyNS41NjIsNTIuMTg4IDI1LjU2Miw1NC41MDEgQzI1LjU2Miw1Ni44NzYgMjcuNTYyLDU4Ljc1MSAzMCw1OC44MTQgTDMwLDU4LjgxMyBaIE0zNC40MzgsNDEuOTM4IEMzNC40MzgsMzkuNjI1IDMyLjQzOCwzNy42MjUgMzAsMzcuNjI1IEMyNy42ODcsMzcuNjI1IDI1LjYyNSwzOS42MjUgMjUuNTYyLDQxLjkzOCBDMjUuNTYyLDQ0LjI1MSAyNy42MjUsNDYuMzEzIDMwLjA2Miw0Ni4zMTMgQzMyLjQzNyw0Ni4yNSAzNC40MzcsNDQuMzEzIDM0LjQzNyw0MS45MzggTDM0LjQzOCw0MS45MzggWiBNMTIuODc1LDQyIEMxMi44NzUsNDQuNDM4IDE0Ljc1LDQ2LjMxMyAxNy4xODgsNDYuMzEzIEMxOS42MjYsNDYuMzEzIDIxLjU2Myw0NC4zNzUgMjEuNTYzLDQyIEMyMS41NjMsMzkuNjI1IDE5LjYyNSwzNy42MjUgMTcuMjUsMzcuNjI1IEMxNC42ODcsMzcuNjI1IDEyLjg3NSwzOS41IDEyLjg3NSw0MiBMMTIuODc1LDQyIFogTTMwLDEyLjYyNSBDMjcuNSwxMi42ODggMjUuNjI1LDE0LjUgMjUuNTYyLDE2Ljg3NSBDMjUuNTYyLDE5LjI1IDI3LjUsMjEuMTg4IDI5LjkzNywyMS4xODggQzMyLjUsMjEuMTg4IDM0LjQzNywxOS4zMTMgMzQuNDM3LDE2Ljg3NSBDMzQuMzc0LDE0LjUgMzIuNDM3LDEyLjYyNSAyOS45OTksMTIuNjI1IEwzMCwxMi42MjUgWiBNMTcuMjUsMjEuMTg4IEMxOS43NSwyMS4xODggMjEuNTYzLDE5LjM3NSAyMS41NjMsMTYuODc1IEMyMS41NjMsMTQuNDM3IDE5Ljc1LDEyLjY4NyAxNy4yNSwxMi42MjUgQzE0Ljc1LDEyLjYyNSAxMi42ODcsMTQuNjI1IDEyLjc1LDE2LjkzOCBDMTIuODEzLDE5LjMxMyAxNC44MTMsMjEuMTg4IDE3LjI1LDIxLjE4OCBMMTcuMjUsMjEuMTg4IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+"); } .auth0-lock-social-button[data-provider^=apple] .auth0-lock-social-button-icon {   background-color: rgba(0,0,0,0) !important;   background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMTcwcHgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDE3MCAxNzAiIHZlcnNpb249IjEuMSIgaGVpZ2h0PSIxNzBweCI+PGcgaWQ9IkFwcGxlX2xvZ29fYmxhY2siIGZpbGw9IiNGRkZGRkYiIGZpbGwtcnVsZT0ibm9uemVybyI+IDxwYXRoIGQ9Im0xNTAuMzcgMTMwLjI1Yy0yLjQ1IDUuNjYtNS4zNSAxMC44Ny04LjcxIDE1LjY2LTQuNTggNi41My04LjMzIDExLjA1LTExLjIyIDEzLjU2LTQuNDggNC4xMi05LjI4IDYuMjMtMTQuNDIgNi4zNS0zLjY5IDAtOC4xNC0xLjA1LTEzLjMyLTMuMTgtNS4xOTctMi4xMi05Ljk3My0zLjE3LTE0LjM0LTMuMTctNC41OCAwLTkuNDkyIDEuMDUtMTQuNzQ2IDMuMTctNS4yNjIgMi4xMy05LjUwMSAzLjI0LTEyLjc0MiAzLjM1LTQuOTI5IDAuMjEtOS44NDItMS45Ni0xNC43NDYtNi41Mi0zLjEzLTIuNzMtNy4wNDUtNy40MS0xMS43MzUtMTQuMDQtNS4wMzItNy4wOC05LjE2OS0xNS4yOS0xMi40MS0yNC42NS0zLjQ3MS0xMC4xMS01LjIxMS0xOS45LTUuMjExLTI5LjM3OCAwLTEwLjg1NyAyLjM0Ni0yMC4yMjEgNy4wNDUtMjguMDY4IDMuNjkzLTYuMzAzIDguNjA2LTExLjI3NSAxNC43NTUtMTQuOTI1czEyLjc5My01LjUxIDE5Ljk0OC01LjYyOWMzLjkxNSAwIDkuMDQ5IDEuMjExIDE1LjQyOSAzLjU5MSA2LjM2MiAyLjM4OCAxMC40NDcgMy41OTkgMTIuMjM4IDMuNTk5IDEuMzM5IDAgNS44NzctMS40MTYgMTMuNTctNC4yMzkgNy4yNzUtMi42MTggMTMuNDE1LTMuNzAyIDE4LjQ0NS0zLjI3NSAxMy42MyAxLjEgMjMuODcgNi40NzMgMzAuNjggMTYuMTUzLTEyLjE5IDcuMzg2LTE4LjIyIDE3LjczMS0xOC4xIDMxLjAwMiAwLjExIDEwLjMzNyAzLjg2IDE4LjkzOSAxMS4yMyAyNS43NjkgMy4zNCAzLjE3IDcuMDcgNS42MiAxMS4yMiA3LjM2LTAuOSAyLjYxLTEuODUgNS4xMS0yLjg2IDcuNTF6bS0zMS4yNi0xMjMuMDFjMCA4LjEwMjEtMi45NiAxNS42NjctOC44NiAyMi42NjktNy4xMiA4LjMyNC0xNS43MzIgMTMuMTM0LTI1LjA3MSAxMi4zNzUtMC4xMTktMC45NzItMC4xODgtMS45OTUtMC4xODgtMy4wNyAwLTcuNzc4IDMuMzg2LTE2LjEwMiA5LjM5OS0yMi45MDggMy4wMDItMy40NDYgNi44Mi02LjMxMTMgMTEuNDUtOC41OTcgNC42Mi0yLjI1MTYgOC45OS0zLjQ5NjggMTMuMS0zLjcxIDAuMTIgMS4wODMxIDAuMTcgMi4xNjYzIDAuMTcgMy4yNDA5eiIvPjwvZz48L3N2Zz4="); } .auth0-lock-social-button[data-provider^=line] .auth0-lock-social-button-icon {   background-image: url("data:image/svg+xml,%3C%3Fxml version=\'1.0\' encoding=\'UTF-8\'%3F%3E%3Csvg width=\'40px\' height=\'38px\' viewBox=\'0 0 40 38\' version=\'1.1\' xmlns=\'http://www.w3.org/2000/svg\' xmlns:xlink=\'http://www.w3.org/1999/xlink\'%3E%3Cg id=\'Artboard-Copy\' stroke=\'none\' stroke-width=\'1\' fill=\'none\' fill-rule=\'evenodd\'%3E%3Cpath d=\'M39.9994525,16.2299727 C39.9994525,19.8116699 38.6111711,23.037191 35.7126878,26.2155543 L35.7134546,26.2155543 C31.517555,31.0452096 22.1342905,36.9276737 19.9995346,37.8271237 C17.8655454,38.7265736 18.1803146,37.2547116 18.2673458,36.7490106 C18.3179542,36.4484271 18.5525933,35.0371418 18.5525933,35.0371418 C18.6200712,34.5264567 18.6898495,33.7343579 18.4881826,33.228657 C18.2638952,32.6719641 17.3774807,32.3828826 16.7260888,32.2425592 C7.11508632,30.9719807 -2.96628472e-14,24.2529438 -3.06453778e-14,16.2299727 C-3.17413459e-14,7.28071393 8.97264603,7.10542736e-14 19.9995346,7.10542736e-14 C31.0279567,6.58152488e-14 39.9994525,7.28071393 39.9994525,16.2299727 Z M12.6998041,19.2525622 L8.88806861,19.2525622 L8.88806861,12.3318583 C8.88806861,12.1167724 8.71362286,11.9423267 8.49892039,11.9423267 L7.09568643,11.9423267 C6.88060056,11.9423267 6.70615481,12.1167724 6.70615481,12.3318583 L6.70615481,21.0449444 L6.70615481,21.0457112 C6.70615481,21.1503786 6.74794511,21.2450778 6.81503963,21.3148561 C6.81657322,21.316773 6.81810681,21.31869 6.8204072,21.320607 C6.82232418,21.322524 6.82424117,21.3240576 6.82615815,21.3259746 C6.89631985,21.3934525 6.99063558,21.4348594 7.09530303,21.4348594 L7.09568643,21.4348594 L12.6998041,21.4348594 C12.91489,21.4348594 13.088569,21.2600303 13.088569,21.0449444 L13.088569,19.6420938 C13.088569,19.427008 12.91489,19.2525622 12.6998041,19.2525622 Z M33.4842673,19.2525604 L29.6729151,19.2525604 L29.6729151,17.7799316 L33.4842673,17.7799316 C33.6993531,17.7799316 33.8730321,17.6051024 33.8730321,17.3900166 L33.8730321,15.987166 C33.8730321,15.7720801 33.6993531,15.5976344 33.4842673,15.5976344 L29.6729151,15.5976344 L29.6729151,14.1246221 L33.4842673,14.1246221 C33.6993531,14.1246221 33.8730321,13.949793 33.8730321,13.7350905 L33.8730321,12.3318565 C33.8730321,12.1171541 33.6993531,11.9423249 33.4842673,11.9423249 L27.8801496,11.9423249 L27.8793828,11.9423249 C27.7750987,11.9423249 27.6803996,11.9841152 27.6106213,12.0512097 C27.6087043,12.0527433 27.6064039,12.0546603 27.6048703,12.0565773 C27.6029533,12.0581109 27.6010364,12.0604113 27.5995028,12.0623283 C27.5324082,12.1321066 27.4906179,12.2268057 27.4906179,12.3314731 L27.4906179,12.3318565 L27.4906179,21.0449426 L27.4906179,21.045326 C27.4906179,21.1496101 27.5320248,21.2439258 27.598736,21.3137041 C27.600653,21.3160045 27.6025699,21.3183049 27.6048703,21.3206053 C27.6060205,21.3221388 27.6079375,21.323289 27.6094711,21.3248226 C27.6796328,21.3926839 27.7743319,21.4348576 27.8793828,21.4348576 L27.8801496,21.4348576 L33.4842673,21.4348576 C33.6993531,21.4348576 33.8730321,21.2600285 33.8730321,21.0449426 L33.8730321,19.6420921 C33.8730321,19.4266228 33.6993531,19.2525604 33.4842673,19.2525604 Z M18.2241731,21.4347046 L19.6270237,21.4347046 C19.8421096,21.4347046 20.0165553,21.2602589 20.0165553,21.0459398 L20.0165553,15.8685432 L24.0100212,21.2617925 C24.0192227,21.2755948 24.0295744,21.2886303 24.0403095,21.3012824 L24.0429933,21.3035828 C24.0506613,21.3124009 24.0583292,21.3200688 24.0663806,21.3277368 C24.0686809,21.3300372 24.0709813,21.3319541 24.0736651,21.3342545 C24.0801829,21.3403889 24.087084,21.3461398 24.0943686,21.3515074 C24.0974357,21.3545746 24.1008863,21.356875 24.1043369,21.3595588 C24.111238,21.3641595 24.1177558,21.3691437 24.1246569,21.3733611 C24.1284909,21.3760448 24.1323249,21.3783452 24.1365423,21.3802622 C24.1434434,21.3844796 24.1503446,21.3886969 24.1572457,21.3921475 C24.1614631,21.3940645 24.165297,21.3963649 24.1695144,21.3978985 C24.176799,21.4013491 24.1840835,21.4047996 24.1917515,21.4074834 C24.1963522,21.409017 24.2001862,21.4105506 24.2044036,21.4120842 C24.2120715,21.414768 24.2197395,21.4174517 24.2277908,21.4193687 C24.2320082,21.4209023 24.2366089,21.4216691 24.2412097,21.4232027 C24.2488777,21.4247363 24.2561622,21.4266533 24.2634467,21.4281869 C24.2688143,21.4289537 24.2745653,21.4297205 24.2799328,21.4301038 C24.286834,21.4316374 24.2937351,21.4320208 24.3006363,21.4327876 C24.307154,21.4335544 24.3136718,21.4335544 24.3205729,21.4339378 C24.3255571,21.4339378 24.3293911,21.4347046 24.3343752,21.4347046 L25.7368424,21.4347046 C25.9519283,21.4347046 26.1267574,21.2602589 26.1267574,21.0459398 L26.1267574,12.3313201 C26.1267574,12.1166177 25.9519283,11.9425553 25.7368424,11.9425553 L24.3343752,11.9425553 C24.118906,11.9425553 23.9444602,12.1166177 23.9444602,12.3313201 L23.9444602,17.5071831 L19.9460102,12.1070327 C19.9184056,12.0679262 19.8842833,12.0361042 19.8470937,12.0108 C19.8459435,12.0100332 19.84441,12.008883 19.8432598,12.0077328 C19.8352084,12.0027487 19.8271571,11.9977645 19.8191057,11.9931637 C19.8152718,11.9908634 19.8118212,11.9893298 19.8079872,11.9874128 C19.8022363,11.9839622 19.7957185,11.980895 19.7895841,11.9782112 C19.7830664,11.9755275 19.7773154,11.9728437 19.7704143,11.9701599 C19.7665803,11.9686263 19.7627463,11.9670927 19.7589124,11.9659425 C19.7497108,11.962492 19.7412761,11.9598082 19.732458,11.9571244 C19.730541,11.9571244 19.728624,11.9563576 19.726707,11.9559742 C19.694885,11.9475395 19.6615295,11.9425553 19.6270237,11.9425553 L18.2241731,11.9425553 C18.0087039,11.9425553 17.8346415,12.1166177 17.8346415,12.3313201 L17.8346415,21.0459398 C17.8346415,21.2602589 18.0087039,21.4347046 18.2241731,21.4347046 Z M16.0814055,21.4347046 C16.2964914,21.4347046 16.4709371,21.2602589 16.4709371,21.0459398 L16.4709371,12.3313201 C16.4709371,12.1166177 16.2964914,11.9425553 16.0814055,11.9425553 L14.678555,11.9425553 C14.4634691,11.9425553 14.28864,12.1166177 14.28864,12.3313201 L14.28864,21.0459398 C14.28864,21.2602589 14.4634691,21.4347046 14.678555,21.4347046 L16.0814055,21.4347046 Z\' id=\'Combined-Shape\' fill=\'%23FFFFFF\'%3E%3C/path%3E%3C/g%3E%3C/svg%3E%0A"); } .auth0-lock-social-button[data-provider^=github] .auth0-lock-social-button-icon {   background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjY0cHgiIGhlaWdodD0iNjVweCIgdmlld0JveD0iMCAwIDY0IDY1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+Z2l0aHViPC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGRlZnM+PC9kZWZzPgogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc2tldGNoOnR5cGU9Ik1TUGFnZSI+CiAgICAgICAgPGcgaWQ9ImdpdGh1YiIgc2tldGNoOnR5cGU9Ik1TTGF5ZXJHcm91cCIgZmlsbD0iI0ZGRkZGRiI+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik04LjQzNzY5NDk5ZS0xNSwzMi4yNSBDOC40Mzc2OTQ5OWUtMTUsMzYuNTYzIDAuODc1LDQwLjc1IDIuNTYzLDQ0LjYyNSBDNS45MzgsNTIuNjI1IDExLjU2Myw1OC4zMTMgMTkuNTAxLDYxLjc1IEMyMy40MzksNjMuNDM4IDI3LjU2NCw2NC4zMTMgMzEuOTM5LDY0LjMxMyBDMzYuMzE0LDY0LjMxMyA0MC40MzksNjMuNDM4IDQ0LjM3Nyw2MS43NSBDNTIuMTksNTguMzc1IDU3Ljg3Nyw1Mi42ODcgNjEuMzE1LDQ0LjYyNSBDNjMuMDAzLDQwLjYyNSA2My44NzgsMzYuNDM3IDYzLjg3OCwzMi4yNSBDNjMuODc4LDI4IDYzLjAwMywyMy44NzUgNjEuMzE1LDE5LjgxMiBDNTcuODc3LDExLjgxMiA1Mi4xOSw2LjE4NyA0NC4zNzcsMi44NzQgQzQwLjQzOSwxLjEyNCAzNi4zMTQsMC4zMTEgMzEuOTM5LDAuMzExIEMyNy41NjQsMC4zMTEgMjMuNDM5LDEuMTI0IDE5LjUwMSwyLjg3NCBDMTEuNTYzLDYuMjQ5IDUuOTM4LDExLjg3NCAyLjU2MywxOS44MTIgQzAuODc1LDIzLjc1IDAsMjcuODc1IDAsMzIuMjUgTDguNDM3Njk0OTllLTE1LDMyLjI1IFogTTUsMzIuMjUgQzUsMjguNjI1IDUuNjg4LDI1LjEyNSA3LjEyNSwyMS43NSBDOC41NjMsMTguNSAxMC41LDE1LjYyNSAxMi44NzUsMTMuMTg3IEMxNS4zNzUsMTAuNzQ5IDE4LjI1LDguODEyIDIxLjQzOCw3LjQzNyBDMjQuOTM4LDUuOTk5IDI4LjQzOCw1LjMxMiAzMS45MzgsNS4zMTIgQzM1LjUwMSw1LjMxMiAzOC45MzgsNiA0Mi4zNzYsNy40MzcgQzQ1LjY4OSw4Ljg3NSA0OC41NjQsMTAuNzUgNTAuOTM5LDEzLjE4NyBDNTMuNDM5LDE1LjYyNSA1NS4zMTQsMTguNSA1Ni42ODksMjEuNzUgQzU4LjEyNywyNS4xMjUgNTguODE0LDI4LjYyNSA1OC44MTQsMzIuMjUgQzU4LjgxNCwzOC4xODggNTcuMDY0LDQzLjU2MyA1My41NjQsNDguMjUgQzUwLjAwMSw1MyA0NS40MzksNTYuMzEzIDM5LjkzOSw1OC4zMTMgTDM5LjkzOSw1My4xODggQzM5LjkzOSw1MC42ODggMzkuMDY0LDQ4LjgxMyAzNy4zMTQsNDcuNjI1IEMzOS40MzksNDcuNDM3IDQxLjM3Nyw0NyA0My4xMjcsNDYuMzc1IEM0NS4yNTIsNDUuNjI1IDQ2Ljk0LDQ0LjU2MiA0OC4xOSw0My4xODcgQzUwLjU2NSw0MC43NDkgNTEuNjksMzcuMTI0IDUxLjY5LDMyLjM3NCBDNTEuNjksMjkuMTg2IDUwLjYyNywyNi40MzYgNDguNTAyLDI0LjE4NiBDNDkuNDQsMjEuNjIzIDQ5LjM3NywxOC45MzYgNDguMTg5LDE1Ljk5OCBMNDcuNDM5LDE1LjkzNSBDNDYuODE0LDE1LjgxIDQ1Ljg3NiwxNi4wNiA0NC41MDEsMTYuNTYgQzQzLjAwMSwxNy4xMjMgNDEuNTAxLDE3Ljk5OCAzOS44MTMsMTkuMTIzIEMzNy4xODgsMTguNDM1IDM0LjU2MywxOC4wNiAzMi4wNjMsMTguMDYgQzI5LjU2MywxOC4wNiAyNywxOC40MzUgMjQuMzc1LDE5LjEyMyBDMjIuMzEyLDE3Ljc0OCAyMC41LDE2LjgxIDE4LjgxMiwxNi4zMSBDMTguMTg3LDE2LjA2IDE3LjYyNCwxNS45OTcgMTcuMTg3LDE1Ljk5NyBMMTUuOTM3LDE1Ljk5NyBDMTQuNzQ5LDE4LjkzNSAxNC42MjQsMjEuNjIyIDE1LjYyNCwyNC4xODUgQzEzLjQ5OSwyNi40MzUgMTIuNDM2LDI5LjE4NSAxMi40MzYsMzIuMzczIEMxMi40MzYsMzguNDk4IDE0LjM3NCw0Mi43NDggMTguMjQ5LDQ1LjEyMyBDMTkuNzQ5LDQ2LjA2MSAyMS42MjQsNDYuNzQ4IDIzLjgxMiw0Ny4xMjMgQzI0LjkzNyw0Ny4zNzMgMjUuOTM3LDQ3LjU2MSAyNi44MTIsNDcuNjIzIEMyNS4xMjQsNDguNzQ4IDI0LjI0OSw1MC42MjMgMjQuMjQ5LDUzLjE4NiBMMjQuMjQ5LDU4LjMxMSBDMTguNTYxLDU2LjMxMSAxMy45MzYsNTIuOTk4IDEwLjM3NCw0OC4zNzMgQzYuODExLDQzLjYyMyA0Ljk5OSwzOC4yNDggNC45OTksMzIuMjQ4IEw1LDMyLjI1IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+"); } .auth0-lock-social-button[data-provider^=google] .auth0-lock-social-button-icon {   background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHdpZHRoPSIzOHB4IiBoZWlnaHQ9IjM4cHgiIHZpZXdCb3g9IjAgMCAzOCAzOCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4gICAgICAgIDx0aXRsZT5BcnRib2FyZDwvdGl0bGU+ICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPiAgICA8ZyBpZD0iQXJ0Ym9hcmQiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPiAgICAgICAgPGcgaWQ9ImJ0bl9nb29nbGVfZGFya19ub3JtYWxfaW9zIj4gICAgICAgICAgICA8ZyBpZD0iYnV0dG9uLWJnLWNvcHkiPiAgICAgICAgICAgICAgICA8cmVjdCBpZD0icGF0aC0zIiB4PSIwIiB5PSIwIiB3aWR0aD0iMzgiIGhlaWdodD0iMzgiIHJ4PSIxIj48L3JlY3Q+ICAgICAgICAgICAgPC9nPiAgICAgICAgICAgIDxnIGlkPSJsb2dvX2dvb2dsZWdfNDhkcCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTAuMDAwMDAwLCAxMC4wMDAwMDApIj4gICAgICAgICAgICAgICAgPHBhdGggZD0iTTE3LjY0LDkuMjA0NTQ1NDUgQzE3LjY0LDguNTY2MzYzNjQgMTcuNTgyNzI3Myw3Ljk1MjcyNzI3IDE3LjQ3NjM2MzYsNy4zNjM2MzYzNiBMOSw3LjM2MzYzNjM2IEw5LDEwLjg0NSBMMTMuODQzNjM2NCwxMC44NDUgQzEzLjYzNSwxMS45NyAxMy4wMDA5MDkxLDEyLjkyMzE4MTggMTIuMDQ3NzI3MywxMy41NjEzNjM2IEwxMi4wNDc3MjczLDE1LjgxOTU0NTUgTDE0Ljk1NjM2MzYsMTUuODE5NTQ1NSBDMTYuNjU4MTgxOCwxNC4yNTI3MjczIDE3LjY0LDExLjk0NTQ1NDUgMTcuNjQsOS4yMDQ1NDU0NSBaIiBpZD0iU2hhcGUiIGZpbGw9IiM0Mjg1RjQiPjwvcGF0aD4gICAgICAgICAgICAgICAgPHBhdGggZD0iTTksMTggQzExLjQzLDE4IDEzLjQ2NzI3MjcsMTcuMTk0MDkwOSAxNC45NTYzNjM2LDE1LjgxOTU0NTUgTDEyLjA0NzcyNzMsMTMuNTYxMzYzNiBDMTEuMjQxODE4MiwxNC4xMDEzNjM2IDEwLjIxMDkwOTEsMTQuNDIwNDU0NSA5LDE0LjQyMDQ1NDUgQzYuNjU1OTA5MDksMTQuNDIwNDU0NSA0LjY3MTgxODE4LDEyLjgzNzI3MjcgMy45NjQwOTA5MSwxMC43MSBMMC45NTcyNzI3MjcsMTAuNzEgTDAuOTU3MjcyNzI3LDEzLjA0MTgxODIgQzIuNDM4MTgxODIsMTUuOTgzMTgxOCA1LjQ4MTgxODE4LDE4IDksMTggWiIgaWQ9IlNoYXBlIiBmaWxsPSIjMzRBODUzIj48L3BhdGg+ICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0zLjk2NDA5MDkxLDEwLjcxIEMzLjc4NDA5MDkxLDEwLjE3IDMuNjgxODE4MTgsOS41OTMxODE4MiAzLjY4MTgxODE4LDkgQzMuNjgxODE4MTgsOC40MDY4MTgxOCAzLjc4NDA5MDkxLDcuODMgMy45NjQwOTA5MSw3LjI5IEwzLjk2NDA5MDkxLDQuOTU4MTgxODIgTDAuOTU3MjcyNzI3LDQuOTU4MTgxODIgQzAuMzQ3NzI3MjczLDYuMTczMTgxODIgMCw3LjU0NzcyNzI3IDAsOSBDMCwxMC40NTIyNzI3IDAuMzQ3NzI3MjczLDExLjgyNjgxODIgMC45NTcyNzI3MjcsMTMuMDQxODE4MiBMMy45NjQwOTA5MSwxMC43MSBaIiBpZD0iU2hhcGUiIGZpbGw9IiNGQkJDMDUiPjwvcGF0aD4gICAgICAgICAgICAgICAgPHBhdGggZD0iTTksMy41Nzk1NDU0NSBDMTAuMzIxMzYzNiwzLjU3OTU0NTQ1IDExLjUwNzcyNzMsNC4wMzM2MzYzNiAxMi40NDA0NTQ1LDQuOTI1NDU0NTUgTDE1LjAyMTgxODIsMi4zNDQwOTA5MSBDMTMuNDYzMTgxOCwwLjg5MTgxODE4MiAxMS40MjU5MDkxLDAgOSwwIEM1LjQ4MTgxODE4LDAgMi40MzgxODE4MiwyLjAxNjgxODE4IDAuOTU3MjcyNzI3LDQuOTU4MTgxODIgTDMuOTY0MDkwOTEsNy4yOSBDNC42NzE4MTgxOCw1LjE2MjcyNzI3IDYuNjU1OTA5MDksMy41Nzk1NDU0NSA5LDMuNTc5NTQ1NDUgWiIgaWQ9IlNoYXBlIiBmaWxsPSIjRUE0MzM1Ij48L3BhdGg+ICAgICAgICAgICAgICAgIDxwb2x5Z29uIGlkPSJTaGFwZSIgcG9pbnRzPSIwIDAgMTggMCAxOCAxOCAwIDE4Ij48L3BvbHlnb24+ICAgICAgICAgICAgPC9nPiAgICAgICAgPC9nPiAgICA8L2c+PC9zdmc+");   background-size: 100%; } .auth0-lock-social-button[data-provider^=instagram] .auth0-lock-social-button-icon {   background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjY0cHgiIGhlaWdodD0iNjVweCIgdmlld0JveD0iMCAwIDY0IDY1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+aW5zdGFncmFtPC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGRlZnM+PC9kZWZzPgogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc2tldGNoOnR5cGU9Ik1TUGFnZSI+CiAgICAgICAgPGcgaWQ9Imluc3RhZ3JhbSIgc2tldGNoOnR5cGU9Ik1TTGF5ZXJHcm91cCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTEuMDAwMDAwLCAwLjAwMDAwMCkiIGZpbGw9IiNGRkZGRkYiPgogICAgICAgICAgICA8cGF0aCBkPSJNNDYuMDYzLDIzLjY4OCBDNDcuOTM4LDI2LjMxMyA0OS4wNjMsMjkuNTYzIDQ5LjA2MywzMy4xMjYgQzQ5LjA2Myw0Mi4xMjYgNDEuODEzLDQ5LjM3NiAzMi44MTMsNDkuMzc2IEMyMy44MTMsNDkuMzc2IDE2LjUsNDIuMTI2IDE2LjUsMzMuMTI2IEMxNi41LDI5LjU2MyAxNy42MjUsMjYuMzEzIDE5LjUsMjMuNjg4IEwxLDIzLjY4OCBMMSw1Mi4yNTEgQzEsNTkuMTg5IDYuNjI1LDY0LjgxNCAxMy41NjMsNjQuODE0IEw1Mi4wNjMsNjQuODE0IEM1OS4wMDEsNjQuODE0IDY0LjY4OCw1OS4xODkgNjQuNjg4LDUyLjI1MSBMNjQuNjg4LDIzLjY4OCBMNDYuMDYzLDIzLjY4OCBMNDYuMDYzLDIzLjY4OCBaIE02NC42ODgsMTMuMzc1IEM2NC42ODgsNi40MzcgNTksMC44MTIgNTIuMDYzLDAuODEyIEwxNy42ODgsMC44MTIgTDE3LjY4OCwxNi42ODcgTDE1LjA2MywxNi42ODcgTDE1LjA2MywwLjgxMiBMMTMuMzEzLDAuODEyIEwxMy4zMTMsMTYuNjg3IEwxMC43NSwxNi42ODcgTDEwLjc1LDEuMTI0IEMxMC4xMjUsMS4zMTIgOS41LDEuNDk5IDguODc1LDEuNzQ5IEw4Ljg3NSwxNi42ODcgTDYuMzEyLDE2LjY4NyBMNi4zMTIsMy4xMjQgQzMuMTI0LDUuNDM3IDAuOTk5LDkuMTg3IDAuOTk5LDEzLjM3NCBMMC45OTksMjEuNjg3IEwyMS4xODcsMjEuNjg3IEMyNC4xMjUsMTguNjg3IDI4LjI1LDE2LjgxMiAzMi44MTIsMTYuODEyIEMzNy4zMTIsMTYuODEyIDQxLjQzNywxOC42ODcgNDQuMzc1LDIxLjY4NyBMNjQuNjg4LDIxLjY4NyBMNjQuNjg4LDEzLjM3NCBMNjQuNjg4LDEzLjM3NSBaIE01OC45MzgsOC4xMjUgTDU4LjkzOCwxNS4wNjMgQzU4LjkzOCwxNi4xODggNTgsMTcuMDYzIDU2Ljg3NSwxNy4wNjMgTDUwLjA2MiwxNy4wNjMgQzQ4Ljk5OSwxNy4wNjMgNDguMDYyLDE2LjE4OCA0OC4wNjIsMTUuMDYzIEw0OC4wNjIsOC4xMjUgQzQ4LjA2Miw3IDQ5LDYuMDYyIDUwLjA2Miw2LjA2MiBMNTYuODc1LDYuMDYyIEM1OCw2LjA2MiA1OC45MzgsNyA1OC45MzgsOC4xMjUgTDU4LjkzOCw4LjEyNSBaIE0yMC4yNSwzMy4xMjUgQzIwLjI1LDQwIDI1Ljg3NSw0NS42MjUgMzIuODEzLDQ1LjYyNSBDMzkuNjg4LDQ1LjYyNSA0NS4zMTMsNDAgNDUuMzEzLDMzLjEyNSBDNDUuMzEzLDI5LjM3NSA0My42ODgsMjYgNDEuMDYzLDIzLjY4NyBDNDAuMTI1LDIyLjg3NCAzOS4xMjUsMjIuMTg3IDM4LDIxLjY4NyBDMzYuMzc1LDIwLjkzNyAzNC42MjUsMjAuNTYyIDMyLjgxMiwyMC41NjIgQzMwLjkzNywyMC41NjIgMjkuMTg3LDIwLjkzNyAyNy42MjQsMjEuNjg3IEMyNi40OTksMjIuMTg3IDI1LjQzNiwyMi44NzUgMjQuNDk5LDIzLjY4NyBDMjEuODc0LDI2IDIwLjI0OSwyOS4zNzUgMjAuMjQ5LDMzLjEyNSBMMjAuMjUsMzMuMTI1IFogTTIzLjU2MywzMy4xMjUgQzIzLjU2MywyOCAyNy42ODgsMjMuODEyIDMyLjgxMywyMy44MTIgQzM3LjkzOCwyMy44MTIgNDIuMTI2LDI4IDQyLjEyNiwzMy4xMjUgQzQyLjEyNiwzOC4yNSAzNy45MzgsNDIuMzc1IDMyLjgxMyw0Mi4zNzUgQzI3LjY4OCw0Mi4zNzUgMjMuNTYzLDM4LjI1IDIzLjU2MywzMy4xMjUgTDIzLjU2MywzMy4xMjUgWiIgaWQ9IlNoYXBlIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4="); } .auth0-lock-social-button[data-provider^=linkedin] .auth0-lock-social-button-icon {   background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjY3cHgiIGhlaWdodD0iNjRweCIgdmlld0JveD0iMCAwIDY3IDY0IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+bGlua2VkaW48L3RpdGxlPgogICAgPGRlc2M+Q3JlYXRlZCB3aXRoIFNrZXRjaC48L2Rlc2M+CiAgICA8ZGVmcz48L2RlZnM+CiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4KICAgICAgICA8ZyBpZD0ibGlua2VkaW4iIHNrZXRjaDp0eXBlPSJNU0xheWVyR3JvdXAiIGZpbGw9IiNGRkZGRkYiPgogICAgICAgICAgICA8cGF0aCBkPSJNMC42ODcsNy4zNzUgQzAuNjg3LDkuNSAxLjM3NSwxMS4yNSAyLjg3NSwxMi42ODggQzQuMzEzLDE0LjA2MyA2LjE4OCwxNC44MTMgOC41NjMsMTQuODEzIEw4LjYyNiwxNC44MTMgQzExLjA2NCwxNC44MTMgMTMuMDAxLDE0LjA2MyAxNC41MDEsMTIuNjg4IEMxNS45MzksMTEuMzEzIDE2LjY4OSw5LjYyNSAxNi42ODksNy41NjMgQzE2LjY4OSw1LjMxMyAxNS45MzksMy40MzggMTQuNDM5LDIuMDYzIEMxMy4wMDEsMC42ODggMTEuMDY0LDguODgxNzg0MmUtMTYgOC43NTEsOC44ODE3ODQyZS0xNiBDNi4zNzYsOC44ODE3ODQyZS0xNiA0LjQzOCwwLjY4OCAyLjkzOCwyLjA2MyBDMS40MzgsMy41MDEgMC42ODgsNS4yNTEgMC42ODgsNy4zNzYgTDAuNjg3LDcuMzc1IFogTTEuNSw2My4zNzUgTDE1Ljc1LDYzLjM3NSBMMTUuNzUsMjAuNjI1IEwxLjUsMjAuNjI1IEwxLjUsNjMuMzc1IEwxLjUsNjMuMzc1IFogTTIzLjU2Myw2My4zNzUgQzIzLjY4OCw1MC41IDIzLjc1MSw0MC41IDIzLjc1MSwzMy4zNzUgQzIzLjc1MSwyNi4yNSAyMy42ODgsMjIgMjMuNTYzLDIwLjYyNSBMMzcuODEzLDIwLjYyNSBMMzcuODEzLDI2LjY4OCBMMzcuNzUsMjYuODEzIEwzNy44MTMsMjYuODEzIEwzNy44MTMsMjYuNjg4IEM0MC44NzYsMjEuOTM4IDQ1LjE4OCwxOS41NjMgNTAuNjg4LDE5LjU2MyBDNTUuNTYzLDE5LjU2MyA1OS41MDEsMjEuMjUxIDYyLjUwMSwyNC41MDEgQzY1LjUwMSwyNy43NTEgNjcuMDAxLDMyLjU2NCA2Ny4wMDEsMzguODc2IEw2Ny4wMDEsNjMuMzc2IEw1Mi43NTEsNjMuMzc2IEw1Mi43NTEsNDAuNTAxIEM1Mi43NTEsMzQuMDYzIDUwLjM3NiwzMC44NzYgNDUuNjI2LDMwLjg3NiBDNDMuNzUxLDMwLjg3NiA0Mi4yNTEsMzEuMzc2IDQxLjA2MywzMi4zNzYgQzM5LjgxMywzMy4zNzYgMzguOTM4LDM0LjU2NCAzOC4zMTMsMzYuMDY0IEMzOCwzNi44NzcgMzcuODEzLDM4LjAwMiAzNy44MTMsMzkuNTAyIEwzNy44MTMsNjMuMzc3IEwyMy41NjMsNjMuMzc3IEwyMy41NjMsNjMuMzc1IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+"); } .auth0-lock-social-button[data-provider^=miicard] .auth0-lock-social-button-icon {   background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjkxcHgiIGhlaWdodD0iNjFweCIgdmlld0JveD0iMCAwIDkxIDYxIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+bWlpY2FyZDwvdGl0bGU+CiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4KICAgIDxkZWZzPjwvZGVmcz4KICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHNrZXRjaDp0eXBlPSJNU1BhZ2UiPgogICAgICAgIDxnIGlkPSJtaWljYXJkIiBza2V0Y2g6dHlwZT0iTVNMYXllckdyb3VwIiBmaWxsPSIjRkZGRkZGIj4KICAgICAgICAgICAgPHBhdGggZD0iTTQxLjUsNS42ODggQzY0LjE4OCwyLjU2MyA3NywwLjg3NSA3Ny42MjUsMC44NzUgQzc5LjQzOCwwLjg3NSA4MC44NzUsMS4zMTMgODIuNDM4LDIuMzc1IEM4My44MTMsMy4zNzUgODUuMDAxLDUuMTg4IDg1LjM3Niw2LjgxMyBDODUuNjg5LDguMzc2IDkwLjMxNCw0Mi41NjMgOTAuMzE0LDQzLjUwMSBDOTAuMzE0LDQ3LjE4OSA4Ny40MzksNTAuNTY0IDgzLjgxNCw1MS4xMjYgQzgwLjgxNCw1MS42MjYgMTMuMTg5LDYwLjc1MSAxMi41NjQsNjAuNzUxIEM5LjE4OSw2MC43NTEgNi4zMTQsNTguNjI2IDUuMTg5LDU1LjM3NiBDNS4wMDEsNTQuOTM4IDQuMTI2LDQ4LjYyNiAyLjUwMSwzNi44MTMgQzAuMjUxLDIwLjU2MyAwLjA2MywxOC43NSAwLjA2MywxNy43NSBDMC4xMjYsMTYuNSAwLjQzOCwxNS41NjIgMC45MzgsMTQuNSBDMS45MzgsMTIuNjg3IDMuNzUxLDExLjE4NyA1LjY4OCwxMC42ODcgQzYuMDYzLDEwLjU2MiAyMi4xODgsOC4zMTIgNDEuNTAxLDUuNjg3IEw0MS41LDUuNjg4IFogTTYyLjU2Myw4LjE4OCBDNjEuMzEzLDcuODEzIDYwLjEyNSw4LjA2MyA1OS4xODgsOS4wMDEgQzU4LjMxMyw5Ljg3NiA1OC4wNjMsMTEuMDAxIDU4LjQzOCwxMi4zMTQgQzU4LjY4OCwxMy4xODkgNTkuNTYzLDE0LjA2NCA2MC4zNzYsMTQuMjUyIEM2MS42ODksMTQuNjI3IDYzLjAwMSwxNC4zMTUgNjMuODc2LDEzLjM3NyBDNjUuMzE0LDExLjY4OSA2NC42MjYsOC44NzcgNjIuNTYzLDguMTg5IEw2Mi41NjMsOC4xODggWiBNNzguNjI1LDguMTg4IEM3Ny4zMTIsNy44MTMgNzYuMTI1LDguMDYzIDc1LjI1LDkuMDAxIEM3NC4zMTIsOS44NzYgNzQuMDYyLDExLjAwMSA3NC40MzcsMTIuMzE0IEM3NC42ODcsMTMuMTg5IDc1LjU2MiwxNC4wNjQgNzYuMzc1LDE0LjI1MiBDNzcuNzUsMTQuNjI3IDc5LjA2MywxNC4zMTUgNzkuODc1LDEzLjM3NyBDODEuMzc1LDExLjY4OSA4MC42ODgsOC44NzcgNzguNjI1LDguMTg5IEw3OC42MjUsOC4xODggWiBNMjQuMzEzLDE4LjU2MyBDMjMuOTM4LDE4LjQzOCAyMy4wNjMsMTguMzEzIDIyLjI1LDE4LjMxMyBDMTguNTYyLDE4LjE4OCAxNS42ODcsMTkuNjg4IDEzLjU2MiwyMi45MzggQzEzLjM3NCwyMy4yNTEgMTMuMzc0LDIzLjE4OCAxMy4xODcsMjAuMDYzIEwxMy4xMjQsMTguODEzIEwxMC44MTEsMTguODEzIEM4LjgxMSwxOC44NzYgOC40OTgsMTguODc2IDguNTYxLDE5LjA2MyBDOC42MjQsMTkuMTI2IDguNjI0LDI1LjM3NiA4LjY4NiwzMi44NzYgTDguNzQ5LDQ2LjUwMSBMMTMuODc0LDQ2LjUwMSBMMTMuOTk5LDI4LjA2MyBMMTQuMjQ5LDI3LjQzOCBDMTQuODEyLDI2LjA2MyAxNS4zNzQsMjUuMjUgMTYuMTI0LDI0LjQzOCBDMTguMDYyLDIyLjUgMjAuNjI0LDIyLjA2MyAyMi44MTIsMjMuMTg4IEMyNC4xMjUsMjMuODEzIDI1LjEyNSwyNS4yNTEgMjUuNjg3LDI3LjA2MyBDMjUuODc1LDI3LjkzOCAyNS44NzUsMjguMTI2IDI1LjkzNywzNy4yNTEgTDI2LDQ2LjU2NCBMMzEuMDYzLDQ2LjU2NCBMMzEuMTI2LDM3LjI1MSBDMzEuMTI2LDI4LjAwMSAzMS4xMjYsMjguMDAxIDMxLjM3NiwyNy4yNTEgQzMxLjg3NiwyNS43NTEgMzMuMDY0LDI0LjI1MSAzNC4yNTEsMjMuNTAxIEMzNS40MzksMjIuNjg4IDM3LjEyNiwyMi40MzggMzguNTAxLDIyLjY4OCBDNDAuNjI2LDIzLjEyNiA0Mi4wNjQsMjQuNjI2IDQyLjgxNCwyNy4zMTMgQzQzLjA2NCwyOC4xODggNDMuMDY0LDI4LjMxMyA0My4xMjcsMzcuMzc2IEw0My4xOSw0Ni41MDEgTDQ4LjMxNSw0Ni41MDEgTDQ4LjMxNSwzNy41NjMgQzQ4LjMxNSwyOC4xODggNDguMjUyLDI3LjY4OCA0Ny43NTIsMjUuNjg4IEM0Ni44MTQsMjEuODc1IDQ0LjYyNywxOS40MzggNDEuMzE0LDE4LjUgQzQwLjI1MSwxOC4yNSAzNy41NjQsMTguMjUgMzYuNTAxLDE4LjUgQzM1LjQzOCwxOC44MTMgMzQuMjUxLDE5LjMxMyAzMy4zMTMsMTkuOTM4IEMzMi4zNzUsMjAuNjI2IDMwLjkzOCwyMi4xMjYgMzAuMzEzLDIzLjAwMSBMMjkuODc1LDIzLjY4OSBMMjkuNSwyMi44NzYgQzI4LjQzNywyMC42ODggMjYuNSwxOS4xMjYgMjQuMzEyLDE4LjU2MyBMMjQuMzEzLDE4LjU2MyBaIE02NC4xMjUsMzIuNjg4IEw2NC4xMjUsMTguODc1IEw2MS41LDE4LjgxMiBDNTkuNSwxOC44MTIgNTguOTM3LDE4LjgxMiA1OC44NzUsMTguOTM3IEM1OC44MTMsMTkuMDYyIDU4LjgxMiwyNS4yNSA1OC44MTIsMzIuODEyIEw1OC44NzUsNDYuNSBMNjQuMTI1LDQ2LjUgTDY0LjEyNSwzMi42ODcgTDY0LjEyNSwzMi42ODggWiBNODAuMTI1LDMyLjY4OCBMODAuMTI1LDE4Ljg3NSBMNzcuNTYyLDE4LjgxMiBDNzUuNDk5LDE4LjgxMiA3NC45MzcsMTguODEyIDc0Ljg3NCwxOC45MzcgTDc0Ljg3NCw0Ni41IEw4MC4xMjQsNDYuNSBMODAuMTI0LDMyLjY4NyBMODAuMTI1LDMyLjY4OCBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg=="); } .auth0-lock-social-button[data-provider^=oauth2] .auth0-lock-social-button-icon {   background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxOC4xLjEsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHZpZXdCb3g9IjAgMCAxNTAuMSAxNjcuOCIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMTUwLjEgMTY3LjgiIHhtbDpzcGFjZT0icHJlc2VydmUiPg0KPGc+DQoJPHBvbHlnb24gZmlsbD0iI0ZGRkZGRiIgcG9pbnRzPSIzMSwxMzUuOCAzMC45LDEzNS44IDc1LjEsMTY3LjggMTE5LjIsMTM1LjggNzUuMSwxMDMuNyAJIi8+DQoJPHBhdGggZmlsbD0iI0ZGRkZGRiIgZD0iTTMuNyw1MS45TDMuNyw1MS45Qy02LjYsODMuNiw1LjMsMTE3LjIsMzEsMTM1LjhsMCwwbDE2LjktNTEuOUwzLjcsNTEuOWw1NC41LDBMNzUuMSwwbDAsMEgyMC41TDMuNyw1MS45eg0KCQkiLz4NCgk8cGF0aCBmaWxsPSIjRkZGRkZGIiBkPSJNMTQ2LjUsNTEuOUwxNDYuNSw1MS45TDE0Ni41LDUxLjlMMTI5LjYsMEg3NS4xbDAsMGwxNi45LDUxLjlMMTQ2LjUsNTEuOWwtNDQuMSwzMi4xbDE2LjgsNTEuOQ0KCQlDMTQ2LjIsMTE2LjIsMTU2LjMsODIsMTQ2LjUsNTEuOXoiLz4NCjwvZz4NCjwvc3ZnPg0K"); } .auth0-lock-social-button[data-provider^=paypal] .auth0-lock-social-button-icon {   background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjYzcHgiIGhlaWdodD0iNjVweCIgdmlld0JveD0iMCAwIDYzIDY1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+cGF5cGFsPC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGRlZnM+PC9kZWZzPgogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc2tldGNoOnR5cGU9Ik1TUGFnZSI+CiAgICAgICAgPGcgaWQ9InBheXBhbCIgc2tldGNoOnR5cGU9Ik1TTGF5ZXJHcm91cCIgZmlsbD0iI0ZGRkZGRiI+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik0wLDU3LjY4OCBMMTYuNDM4LDU3LjY4OCBMMjAuNTAxLDM4Ljc1IEwzMi4xODksMzguNzUgQzM3LjkzOSwzOC43NSA0Mi44NzcsMzcuMTI1IDQ3LjEyNywzMy43NSBDNTEuMzc3LDMwLjQzNyA1NC4xMjcsMjUuODc1IDU1LjM3NywyMC4wNjIgQzU2LjAwMiwxNi43NDkgNTYuMDAyLDEzLjg3NCA1NS4zNzcsMTEuNDM3IEM1NC43NTIsOSA1My42MjcsNi45OTkgNTIuMDY0LDUuMzc0IEM1MC40MzksMy44MTEgNDguNjI2LDIuNjI0IDQ2LjYyNiwxLjgxMSBDNDQuNjI2LDEuMDYxIDQyLjU2MywwLjY4NiA0MC40MzgsMC42ODYgTDEyLjQzOCwwLjY4NiBMMCw1Ny42ODggWiBNNi4zNzUsNjQuNjg4IEw3LjEyNSw2MS41NjMgTDIwLjkzOCw2MS41NjMgTDI0LjkzOCw0Mi42ODggTDM2LjY4OCw0Mi42ODggQzQyLjM3Niw0Mi42ODggNDcuMzc2LDQxIDUxLjYyNiwzNy42ODggQzU1Ljg3NiwzNC4zNzYgNTguNjI2LDI5LjgxMyA1OS44MTQsMjQgQzYwLjc1MiwxOS44NzUgNjAuNTAyLDE2LjI1IDU5LjA2NCwxMy4xMjUgQzYyLjEyNywxNi42ODggNjMuMDAyLDIxLjM3NSA2MS44MTQsMjcuMTI1IEM2MC41NjQsMzIuOTM4IDU3LjgxNCwzNy41IDUzLjU2NCw0MC44MTMgQzQ5LjM3Niw0NC4xMjYgNDQuMzc2LDQ1LjgxMyAzOC42MjYsNDUuODEzIEwyNi44NzYsNDUuODEzIEwyMi44NzYsNjQuNjg4IEw2LjM3Niw2NC42ODggTDYuMzc1LDY0LjY4OCBaIE0yMi44NzUsMjcuODc1IEwyNi4zNzUsMTIuMjUgTDM0LjM3NSwxMi4yNSBDMzUuNzUsMTIuMjUgMzYuOTM4LDEyLjYyNSAzNy45MzgsMTMuMzc1IEMzOC45MzgsMTQuMTI1IDM5LjYyNiwxNS4xMjUgMzkuOTM4LDE2LjM3NSBDMzkuMzEzLDE2LjI1IDM4LjkzOCwxNi4xODcgMzguODc1LDE2LjE4NyBMMzAuODc1LDE2LjE4NyBMMjguMTg3LDI3Ljg3NSBMMjIuODc0LDI3Ljg3NSBMMjIuODc1LDI3Ljg3NSBaIE0zMC44NzUsMjcuODEzIEwzMi43NSwxOS4zMTMgTDQwLjA2MywxOS4zMTMgQzQwLjA2MywxOS4zNzYgNDAuMDYzLDE5LjUwMSA0MCwxOS42ODggQzM5LjkzNywxOS44NzUgMzkuOTM3LDIwLjAwMSAzOS45MzcsMjAuMDYzIEMzOS40MzcsMjIuMTg4IDM4LjM3NCwyMy45MzggMzYuNTYyLDI1LjQzOCBDMzQuODEyLDI2LjkzOCAzMi44NzQsMjcuNzUxIDMwLjg3NCwyNy44MTMgTDMwLjg3NSwyNy44MTMgWiIgaWQ9IlNoYXBlIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4="); } .auth0-lock-social-button[data-provider^=paypal-sandbox] .auth0-lock-social-button-icon {   background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjYzcHgiIGhlaWdodD0iNjVweCIgdmlld0JveD0iMCAwIDYzIDY1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+cGF5cGFsPC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGRlZnM+PC9kZWZzPgogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc2tldGNoOnR5cGU9Ik1TUGFnZSI+CiAgICAgICAgPGcgaWQ9InBheXBhbCIgc2tldGNoOnR5cGU9Ik1TTGF5ZXJHcm91cCIgZmlsbD0iI0ZGRkZGRiI+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik0wLDU3LjY4OCBMMTYuNDM4LDU3LjY4OCBMMjAuNTAxLDM4Ljc1IEwzMi4xODksMzguNzUgQzM3LjkzOSwzOC43NSA0Mi44NzcsMzcuMTI1IDQ3LjEyNywzMy43NSBDNTEuMzc3LDMwLjQzNyA1NC4xMjcsMjUuODc1IDU1LjM3NywyMC4wNjIgQzU2LjAwMiwxNi43NDkgNTYuMDAyLDEzLjg3NCA1NS4zNzcsMTEuNDM3IEM1NC43NTIsOSA1My42MjcsNi45OTkgNTIuMDY0LDUuMzc0IEM1MC40MzksMy44MTEgNDguNjI2LDIuNjI0IDQ2LjYyNiwxLjgxMSBDNDQuNjI2LDEuMDYxIDQyLjU2MywwLjY4NiA0MC40MzgsMC42ODYgTDEyLjQzOCwwLjY4NiBMMCw1Ny42ODggWiBNNi4zNzUsNjQuNjg4IEw3LjEyNSw2MS41NjMgTDIwLjkzOCw2MS41NjMgTDI0LjkzOCw0Mi42ODggTDM2LjY4OCw0Mi42ODggQzQyLjM3Niw0Mi42ODggNDcuMzc2LDQxIDUxLjYyNiwzNy42ODggQzU1Ljg3NiwzNC4zNzYgNTguNjI2LDI5LjgxMyA1OS44MTQsMjQgQzYwLjc1MiwxOS44NzUgNjAuNTAyLDE2LjI1IDU5LjA2NCwxMy4xMjUgQzYyLjEyNywxNi42ODggNjMuMDAyLDIxLjM3NSA2MS44MTQsMjcuMTI1IEM2MC41NjQsMzIuOTM4IDU3LjgxNCwzNy41IDUzLjU2NCw0MC44MTMgQzQ5LjM3Niw0NC4xMjYgNDQuMzc2LDQ1LjgxMyAzOC42MjYsNDUuODEzIEwyNi44NzYsNDUuODEzIEwyMi44NzYsNjQuNjg4IEw2LjM3Niw2NC42ODggTDYuMzc1LDY0LjY4OCBaIE0yMi44NzUsMjcuODc1IEwyNi4zNzUsMTIuMjUgTDM0LjM3NSwxMi4yNSBDMzUuNzUsMTIuMjUgMzYuOTM4LDEyLjYyNSAzNy45MzgsMTMuMzc1IEMzOC45MzgsMTQuMTI1IDM5LjYyNiwxNS4xMjUgMzkuOTM4LDE2LjM3NSBDMzkuMzEzLDE2LjI1IDM4LjkzOCwxNi4xODcgMzguODc1LDE2LjE4NyBMMzAuODc1LDE2LjE4NyBMMjguMTg3LDI3Ljg3NSBMMjIuODc0LDI3Ljg3NSBMMjIuODc1LDI3Ljg3NSBaIE0zMC44NzUsMjcuODEzIEwzMi43NSwxOS4zMTMgTDQwLjA2MywxOS4zMTMgQzQwLjA2MywxOS4zNzYgNDAuMDYzLDE5LjUwMSA0MCwxOS42ODggQzM5LjkzNywxOS44NzUgMzkuOTM3LDIwLjAwMSAzOS45MzcsMjAuMDYzIEMzOS40MzcsMjIuMTg4IDM4LjM3NCwyMy45MzggMzYuNTYyLDI1LjQzOCBDMzQuODEyLDI2LjkzOCAzMi44NzQsMjcuNzUxIDMwLjg3NCwyNy44MTMgTDMwLjg3NSwyNy44MTMgWiIgaWQ9IlNoYXBlIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4="); } .auth0-lock-social-button[data-provider^=planningcenter] .auth0-lock-social-button-icon {   background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjYzcHgiIGhlaWdodD0iNjNweCIgdmlld0JveD0iMCAwIDYzIDYzIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+cGxhbm5pbmdjZW50ZXI8L3RpdGxlPgogICAgPGRlc2M+Q3JlYXRlZCB3aXRoIFNrZXRjaC48L2Rlc2M+CiAgICA8ZGVmcz48L2RlZnM+CiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4KICAgICAgICA8ZyBpZD0icGxhbm5pbmdjZW50ZXIiIHNrZXRjaDp0eXBlPSJNU0xheWVyR3JvdXAiIGZpbGw9IiNGRkZGRkYiPgogICAgICAgICAgICA8cGF0aCBkPSJNNC4zMTMsNjEuNSBMNi4zMTMsNjIuNDM4IEwzMS40MzgsNjIuNDM4IEM1OC43NTEsNjIuNDM4IDU4LjMxMyw2Mi41MDEgNjAuNjg4LDU5LjkzOCBDNjEuMzc2LDU5LjE4OCA2Mi4xMjYsNTcuODEzIDYyLjM3Niw1Ni44MTMgQzYyLjY4OSw1NS42MjUgNjIuODc2LDQ3IDYyLjg3NiwzMS41NjMgQzYyLjg3NiwxMi4yNSA2Mi43NTEsNy43NSA2Mi4xODgsNS44NzUgQzYxLjU2MywzLjYyNSA2MCwxLjgxMiA1OC4wNjMsMC43NSBDNTcuMzc1LDAuMzc1IDQ5LjUsMC4yNSAzMS41NjMsMC4yNSBDNC4xODgsMC4yNSA0Ljg3NSwwLjE4NyAyLjYyNSwyLjYyNSBDMC4xODcsNS4xODggMC4xODcsNS4xMjUgMC4xODcsMzEuNzUgTDAuMTg3LDU2LjM3NSBMMS4yNSw1OC4zNzUgQzIsNTkuODc1IDIuODEzLDYwLjY4OCA0LjMxMyw2MS41IEw0LjMxMyw2MS41IFogTTIwLDU0LjEyNSBDMTkuNzUsNTUuMTg4IDE5LjY4Nyw1NS4xODggMTMuODc1LDU1LjE4OCBDMTAuNjg3LDU1LjE4OCA3LjkzNyw1NS4wNjMgNy44MTIsNTQuODc1IEM3LjYyNCw1NC43NSA3LjQ5OSw0NC4xODcgNy40OTksMzEuNSBMNy40OTksOC40MzcgTDU1LjE4Nyw4LjQzNyBMNTUuMTg3LDU1LjE4NyBMNDMuNDM3LDU1LjE4NyBMNDIuNTYyLDUzLjQ5OSBDNDEuNDM3LDUxLjI0OSA0MC4zNzQsNTAuOTk5IDMwLjM3NCw1MS4xODYgQzIxLjQzNiw1MS4zMTEgMjAuNjI0LDUxLjU2MSAxOS45OTksNTQuMTI0IEwyMCw1NC4xMjUgWiBNMjkuMzc1LDQ1LjM3NSBDMzAuNjI1LDQ2LjI1IDMxLjY4OCw0Ni4zMTMgMzMuMDYzLDQ1LjYyNSBDMzQuNjI2LDQ0LjgxMiAzNC43NTEsNDQuMzc1IDM0Ljc1MSwzOS44NzUgQzM0Ljc1MSwzNy41NjIgMzQuOTM5LDM1LjY4NyAzNS4xMjYsMzUuNjg3IEMzNS4zNzYsMzUuNjg3IDM3LjE4OSwzNi41NjIgMzkuMjUxLDM3LjY4NyBDNDEuMjUxLDM4Ljg3NSA0My40MzksMzkuNzUgNDMuOTM5LDM5Ljc1IEM0NS42MjcsMzkuNzUgNDcuNTY0LDM3LjQzNyA0Ny4zNzcsMzUuNjg3IEM0Ny4yNTIsMzQuMjQ5IDQ2Ljg3NywzMy45OTkgNDMuMDAyLDMxLjg3NCBDMzguMTg5LDI5LjI0OSAzOC4xMjcsMjkuNjI0IDQzLjgxNSwyNi40MzYgQzQ2LjYyOCwyNC45MzYgNDcuMjUzLDI0LjMxMSA0Ny4zNzgsMjMuMzExIEM0Ny41NjYsMjEuODExIDQ1LjM3OCwxOC44NzMgNDQuMTI4LDE4Ljg3MyBDNDMuNjksMTguODczIDQxLjM3OCwxOS45MzYgMzkuMDAzLDIxLjE4NiBMMzQuNzUzLDIzLjQ5OSBMMzQuNzUzLDE5LjI0OSBDMzQuNzUzLDEzLjgxMSAzNC40NCwxMy4zMTEgMzEuMTI4LDEzLjQ5OSBMMjguNjI4LDEzLjYyNCBMMjguMzc4LDE4LjQ5OSBMMjguMTI4LDIzLjQzNyBMMjQuMzc4LDIxLjEyNCBDMTkuNTAzLDE4LjI0OSAxOC41MDMsMTguMTg2IDE2LjY5LDIwLjk5OSBDMTUuMDAyLDIzLjQ5OSAxNS4xOSwyMy45OTkgMTguNTAzLDI1Ljg3NCBDMTkuODE2LDI2LjU2MiAyMS42MjgsMjcuNjI0IDIyLjYyOCwyOC4yNDkgTDI0LjM3OCwyOS4zNzQgTDIwLjMxNSwzMS44MTIgQzE4LjA2NSwzMy4xODcgMTYuMDAyLDM0LjU2MiAxNS43NTIsMzQuODc1IEMxNS4zMTQsMzUuMzc1IDE1LjUwMiwzNiAxNi41NjUsMzcuNjI1IEMxOC4zMTUsNDAuNDM4IDE5LjYyOCw0MC41IDI0LjEyOCwzNy42ODggQzI1Ljk0MSwzNi41NjMgMjcuNjkxLDM1LjY4OCAyNy45NDEsMzUuNjg4IEMyOC4xOTEsMzUuNjg4IDI4LjM3OSwzNy41NjMgMjguMzc5LDQwLjE4OCBDMjguMzc5LDQ0LjM3NiAyOC40NDIsNDQuNzUxIDI5LjM3OSw0NS4zNzYgTDI5LjM3NSw0NS4zNzUgWiIgaWQ9IlNoYXBlIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4="); } .auth0-lock-social-button[data-provider^=renren] .auth0-lock-social-button-icon {   background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjYxcHgiIGhlaWdodD0iMzVweCIgdmlld0JveD0iMCAwIDYxIDM1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+cmVucmVuPC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGRlZnM+PC9kZWZzPgogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc2tldGNoOnR5cGU9Ik1TUGFnZSI+CiAgICAgICAgPGcgaWQ9InJlbnJlbiIgc2tldGNoOnR5cGU9Ik1TTGF5ZXJHcm91cCIgZmlsbD0iI0ZGRkZGRiI+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik0yMC4zNzUsMC40MzggQzIwLjY4OCw3LjEyNiAxOS41LDEzLjAwMSAyMS43NSwxOC41MDEgQzIyLjYyNSwyMC41NjQgMjMuODEzLDIyLjU2NCAyNS4zMTMsMjQuMjUxIEMyOS42ODgsMjkuMjUxIDMyLjE4OCwyOC44NzYgMzYuNDM4LDIzLjU2MyBDNDEuODEzLDE2Ljc1IDQwLjAwMSw5IDQwLjMxMywwLjU2MyBDMzcuNDM4LDIuMTI2IDM0LjkzOCwzLjA2MyAzMi45MzgsNC42ODggQzMwLjkzOCw2LjI1MSAyOS44NzUsNi40MzggMjcuODc1LDQuNjI1IEMyNiwyLjkzNyAyMy4zNzUsMi4wNjIgMjAuMzc1LDAuNDM3IEwyMC4zNzUsMC40MzggWiBNNC4xMjUsMjguMTg4IEMxMy44NzUsMjMuMzEzIDE1LjI1LDEzLjEyNSAxMy42ODgsMS4zNzUgQzEuNjI1LDMuMTg4IC0zLjgxMiwxOC4xODggNC4xMjUsMjguMTg4IEw0LjEyNSwyOC4xODggWiBNNDcuMTg4LDEuMjUgQzQ3LjE4OCw1LjkzOCA0Ni43NSwxMC41NjMgNDcuMzEzLDE1IEM0Ny45MzgsMjAuMTI1IDUwLjYyNiwyNC4zNzUgNTUuMDYzLDI3LjM3NSBDNTYuNDM4LDI4LjMxMyA1Ny4xMjYsMjguMTI1IDU4LjA2MywyNi42ODcgQzY0LjE4OCwxNi44MTIgNTguODc2LDMuODc0IDQ3LjE4OCwxLjI0OSBMNDcuMTg4LDEuMjUgWiBNNDMuNjg4LDI0LjQzOCBDNDEuNjI1LDI3LjAwMSAzOS4yNSwyOS45MzggMzYuNzUsMzMuMDYzIEM0MS41LDM1LjE4OCA0Ni4xODgsMzUuMDYzIDUwLjc1LDMzLjA2MyBDNDguMjUsMzAuMDYzIDQ1Ljg3NSwyNy4xMjUgNDMuNjg3LDI0LjQzOCBMNDMuNjg4LDI0LjQzOCBaIE0yNC4xODgsMzMuMDYzIEMyMS42MjUsMjkuODc1IDE5LjMxMywyNy4wNjMgMTcuMjUsMjQuNSBDMTUuMDYyLDI3LjEyNSAxMi43NSwzMC4wNjMgMTAuMzEyLDMzLjA2MyBDMTUsMzUuMDYzIDE5LjY4NywzNS4xMjYgMjQuMTg3LDMzLjA2MyBMMjQuMTg4LDMzLjA2MyBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg=="); } .auth0-lock-social-button[data-provider^=salesforce] .auth0-lock-social-button-icon {   background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjY0cHgiIGhlaWdodD0iNjVweCIgdmlld0JveD0iMCAwIDY0IDY1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+c2FsZXNmb3JjZTwvdGl0bGU+CiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4KICAgIDxkZWZzPjwvZGVmcz4KICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHNrZXRjaDp0eXBlPSJNU1BhZ2UiPgogICAgICAgIDxnIGlkPSJzYWxlc2ZvcmNlIiBza2V0Y2g6dHlwZT0iTVNMYXllckdyb3VwIiBmaWxsPSIjRkZGRkZGIj4KICAgICAgICAgICAgPHBhdGggZD0iTTAsMTUuODc1IEMwLDE2LjEyNSAwLjA2MywxNi41IDAuMTI1LDE3IEwxMC42MjUsNjEgQzEwLjg3NSw2Mi4wNjMgMTEuNDM4LDYyLjkzOCAxMi4zMTMsNjMuNjI1IEMxMy4xODgsNjQuMjUgMTQuMTg4LDY0LjYyNSAxNS4yNTEsNjQuNjI1IEMxNS44NzYsNjQuNjI1IDE2LjU2NCw2NC41NjIgMTcuMjUxLDY0LjM3NSBDMTguMDAxLDY0LjI1IDE4LjgxNCw2NC4wNjIgMTkuNzUxLDYzLjc1IEMyMC42ODksNjMuNSAyMS4zMTQsNjMuMzEyIDIxLjc1MSw2My4xODcgQzE4LjAwMSw2MS45MzcgMTQuOTM4LDYwLjYyNCAxMi41NjMsNTkuMzEyIEwxNy42MjYsNDcuODc0IEMxOS4zNzYsNDkuNDk5IDIxLjYyNiw1MC43NDkgMjQuMzE0LDUxLjc0OSBDMjcuMDAyLDUyLjY4NyAyOS41NjQsNTMuMTg3IDMyLjA2NCw1My4xODcgQzM0LjAwMiw1My4xODcgMzUuNjg5LDUyLjYyNCAzNy4xODksNTEuNjI0IEMzOC42ODksNTAuNjI0IDM5LjQzOSw0OS4xODYgMzkuNDM5LDQ3LjMxMSBDMzkuNDM5LDQ2LjEyMyAzOS4wNjQsNDQuOTM2IDM4LjMxNCw0My44MTEgQzM3LjU2NCw0Mi42ODYgMzYuNTY0LDQxLjY4NiAzNS4zNzYsNDAuODExIEMzNC4xMjYsMzkuOTM2IDMzLjAwMSwzOS4yNDggMzEuODc2LDM4LjY4NiBDMzAuNzUxLDM4LjA2MSAyOS42MjYsMzcuNTYxIDI4LjQzOCwzNy4xMjMgQzE3LjYyNSwzMi45MzUgMTIuMjUsMjYuODczIDEyLjI1LDE4Ljk5OCBDMTIuMjUsMTQuODczIDEzLjU2MywxMS4zMSAxNi4yNSw4LjI0OCBMMy42MjUsMTEuMjQ4IEMyLjU2MiwxMS40OTggMS42ODcsMTIuMDYxIDEsMTIuOTM2IEMwLjMxMywxMy44MTEgMCwxNC44MTEgMCwxNS44NzQgTDAsMTUuODc1IFogTTI2LjgxMywxOC44MTMgQzI2LjgxMywyMi4zMTMgMzAuNDM4LDI1LjMxMyAzNy43NTEsMjcuNzUxIEM0Mi42MjYsMjkuMzc2IDQ2LjU2NCwzMS42ODkgNDkuNTY0LDM0Ljc1MSBDNTIuNTY0LDM3LjgxMyA1NC4wNjQsNDEuNjg5IDU0LjA2NCw0Ni40MzkgQzU0LjA2NCw0OS45MzkgNTMuMDY0LDUzLjE4OSA1MS4wNjQsNTYuMTg5IEw2MC4zNzcsNTQuMDAxIEM2MS40NCw1My43NTEgNjIuMzE1LDUzLjE4OCA2My4wMDIsNTIuMzEzIEM2My42ODksNTEuNDM4IDY0LjAwMiw1MC40MzggNjQuMDAyLDQ5LjM3NSBDNjQuMDAyLDQ5LjEyNSA2My45MzksNDguNzUgNjMuODc3LDQ4LjI1IEw1My4zNzcsNC4yNSBDNTMuMTI3LDMuMTg3IDUyLjU2NCwyLjMxMiA1MS42ODksMS42MjUgQzUwLjgxNCwwLjkzOCA0OS44MTQsMC42MjUgNDguNzUxLDAuNjI1IEM0OC4xODgsMC42MjUgNDcuMjUxLDAuNzUgNDYuMDYzLDEgQzQ0LjgxMywxLjI1IDQzLjMxMywxLjYyNSA0MS41LDIuMTg4IEMzOS42MjUsMi42ODggMzguNjg3LDIuOTM4IDM4LjU2MiwyLjkzOCBDNDIuNjg3LDMuNTYzIDQ2LjYyNSw0LjkzOCA1MC41LDYuOTM4IEw0Ni41NjIsMTcuODEzIEM0NS40MzcsMTYuNjI1IDQzLjU2MiwxNS42MjUgNDAuOTM3LDE0Ljg3NSBDMzguMzc0LDE0LjEyNSAzNS45OTksMTMuNzUgMzMuOTM3LDEzLjc1IEMzMi4xODcsMTMuNzUgMzAuNTYyLDE0LjE4OCAyOS4wNjIsMTUuMDYzIEMyNy41NjIsMTUuOTM4IDI2LjgxMiwxNy4xODggMjYuODEyLDE4LjgxMyBMMjYuODEzLDE4LjgxMyBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg=="); } .auth0-lock-social-button[data-provider^=shopify] .auth0-lock-social-button-icon {   background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjU1cHgiIGhlaWdodD0iNjNweCIgdmlld0JveD0iMCAwIDU1IDYzIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+c2hvcGlmeTwvdGl0bGU+CiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4KICAgIDxkZWZzPjwvZGVmcz4KICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHNrZXRjaDp0eXBlPSJNU1BhZ2UiPgogICAgICAgIDxnIGlkPSJzaG9waWZ5IiBza2V0Y2g6dHlwZT0iTVNMYXllckdyb3VwIiBmaWxsPSIjRkZGRkZGIj4KICAgICAgICAgICAgPHBhdGggZD0iTTIxLjEyNSwxLjY4OCBDMjQuMTI1LDAuMTg4IDI1LjgxMywwLjEyNSAyNy4zNzUsMS4zNzUgQzI4LDEuODc1IDI5LjE4OCwyLjQzOCAzMC4wNjMsMi41NjMgQzMxLjc1MSwyLjkzOCAzNC4yNTEsNS40MzggMzQuODEzLDcuMTg4IEMzNS4xMjYsOC4xMjYgMzUuMzc2LDguMjUxIDM2LjY4OCw4LjAwMSBDMzcuOTM4LDcuNzUxIDM4LjQzOCw3LjkzOCA0MC4xMjYsOS42MjYgQzQxLjg3NiwxMS4zNzYgNDIuNTAxLDExLjY4OSA0NC45MzksMTEuODc2IEM0Ny4xODksMTIuMTI2IDQ3LjY4OSwxMi4zMTQgNDcuODc3LDEzLjE4OSBDNDguMDAyLDEzLjgxNCA0OC44NzcsMTkuNDM5IDQ5LjgxNSwyNS44MTQgQzUwLjc1MywzMi4xODkgNTIuMTksNDEuNzUyIDUyLjk0LDQ3LjEyNyBDNTMuNzUzLDUyLjQ0IDU0LjM3OCw1Ny4xMjcgNTQuMzc4LDU3LjU2NSBDNTQuMzc4LDU4LjEyOCA1Mi4zMTUsNTguNzUzIDQ1LjAwMyw2MC4zMTUgTDM1LjU2NSw2Mi4zNzggTDE4LjMxNSw1OS4xMjggQzguNzUyLDU3LjM3OCAwLjgxNSw1NS43NTMgMC42MjcsNTUuNTY1IEMwLjM3Nyw1NS4zNzcgMC43NTIsNTEuMDAyIDEuNDQsNDUuODE1IEMyLjEyOCw0MC42OSAzLjEyOCwzMy4wMDIgMy42MjgsMjguNzUyIEM1LjEyOCwxNi43NTIgNC41NjYsMTguMDY0IDguNjkxLDE2LjgxNCBMMTIuMTI5LDE1LjY4OSBMMTMuNTA0LDEyLjAwMSBDMTUuMzE3LDYuODc2IDE3Ljk0MiwzLjMxMyAyMS4xMjksMS42ODggTDIxLjEyNSwxLjY4OCBaIE0yNC4xODgsNC40MzggTDI1LjkzOCwyLjg3NSBMMjQuNTYzLDIuODc1IEMyMi4xODgsMi44NzUgMTkuMzc1LDUuMDYzIDE3LjMxMyw4LjY4OCBDMTYuMTg4LDEwLjYyNiAxNS4wNjMsMTMuOTM4IDE1LjM3NSwxNC4yNTEgQzE1LjU2MywxNC40MzkgMTYuNSwxNC4yNTEgMTcuNjI1LDE0LjAwMSBDMTkuMzc1LDEzLjU2MyAxOS42MjUsMTMuMjUxIDIwLjEyNSwxMS40MzggQzIwLjkzOCw4LjMxMyAyMi4yNSw2LjA2MyAyNC4xODgsNC40MzggTDI0LjE4OCw0LjQzOCBaIE0yOC4zNzUsMjIuNTYzIEMyOC4xMjUsMjIuMzEzIDI2LjUsMjIgMjQuODEyLDIxLjkzOCBDMTcuMzEyLDIxLjUgMTEuOTM3LDI2LjAwMSAxMS44NzQsMzIuODEzIEMxMS44NzQsMzUuOTM4IDEyLjgxMiwzNy44NzYgMTUuNDk5LDM5Ljg3NiBDMjEuMzEyLDQ0LjUwMSAxNy42ODcsNDkuMDY0IDExLjQ5OSw0NS4wMDEgQzEwLjEyNCw0NC4xMjYgMTAuMTI0LDQ0LjE4OCA5LjI0OSw0Ny4wMDEgQzguNTYxLDQ5LjI1MSA4LjU2MSw0OS4yNTEgOS45OTksNTAuNTAxIEMxMC44MTIsNTEuMTg5IDEyLjYyNCw1Mi4wMDEgMTQuMTI0LDUyLjQzOSBDMjAuNDM3LDU0LjMxNCAyNS41NjIsNTEuMDAxIDI2LjI0OSw0NC42MjYgQzI2LjY4Nyw0MC43NTEgMjUuMTI0LDM3LjkzOCAyMC43NDksMzQuNzUxIEMxOC42MjQsMzMuMTg4IDE4LjEyNCwzMi41NjMgMTguMTI0LDMxLjM3NiBDMTguMTI0LDI5LjMxMyAxOS45MzcsMjguMzEzIDIyLjg3NCwyOC42MjYgQzI0LjEyNCwyOC43NTEgMjUuNDk5LDI5LjAwMSAyNS44NzQsMjkuMTg5IEMyNi40MzcsMjkuMzc3IDI2Ljg3NCwyOC43NTEgMjcuNzQ5LDI2LjE4OSBDMjguMzEyLDI0LjMxNCAyOC41NjIsMjIuNzUxIDI4LjM3NCwyMi41NjQgTDI4LjM3NSwyMi41NjMgWiIgaWQ9IlNoYXBlIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4="); } .auth0-lock-social-button[data-provider^=soundcloud] .auth0-lock-social-button-icon {   background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9Ijc0cHgiIGhlaWdodD0iMzZweCIgdmlld0JveD0iMCAwIDc0IDM2IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+c291bmRjbG91ZDwvdGl0bGU+CiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4KICAgIDxkZWZzPjwvZGVmcz4KICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHNrZXRjaDp0eXBlPSJNU1BhZ2UiPgogICAgICAgIDxnIGlkPSJzb3VuZGNsb3VkIiBza2V0Y2g6dHlwZT0iTVNMYXllckdyb3VwIiBmaWxsPSIjRkZGRkZGIj4KICAgICAgICAgICAgPHBhdGggZD0iTTAsMjYuMjUgQzAsMjkuMTI1IDAuMjUsMzAuNjg4IDAuODEzLDMxIEMxLjA2MywzMC44NzUgMS4zMTMsMzAuMTg3IDEuNTAxLDI5IEMxLjY4OSwyNy43NSAxLjgxNCwyNi44NzUgMS44MTQsMjYuMjUgQzEuODE0LDI1LjY4NyAxLjY4OSwyNC44MTIgMS41MDEsMjMuNTYyIEMxLjMxMywyMi4zMTIgMS4wNjMsMjEuNjI0IDAuODEzLDIxLjQzNyBDMC41NjMsMjEuNjI1IDAuMzc1LDIyLjI1IDAuMjUsMjMuNDM3IEMwLjA2MiwyNC42MjUgMCwyNS41NjIgMCwyNi4yNSBMMCwyNi4yNSBaIE00LjEyNSwyNi4yNSBDNC4xMjUsMjcuMzEzIDQuMTg4LDI4LjgxMyA0LjQzOCwzMC44NzUgQzQuNjI2LDMyLjg3NSA0Ljc1MSwzNC4xMjUgNC44MTMsMzQuNTYzIEM0LjgxMywzNC44NzYgNC45MzgsMzUuMDYzIDUuMTg4LDM1LjA2MyBDNS4zNzYsMzUuMDYzIDUuNTAxLDM0Ljg3NSA1LjU2MywzNC41NjMgQzUuNjI2LDM0LjA2MyA1Ljc1MSwzMi44MTMgNi4wMDEsMzAuODEzIEM2LjE4OSwyOC44MTMgNi4zMTQsMjcuMzEzIDYuMzE0LDI2LjI1IEM2LjMxNCwyNiA2LjA2NCwyMy4xMjUgNS41NjQsMTcuNjI1IEM1LjUwMSwxNy4zNzUgNS4zNzYsMTcuMjUgNS4xODksMTcuMjUgQzQuOTM5LDE3LjI1IDQuODE0LDE3LjM3NSA0LjgxNCwxNy42MjUgQzQuNzUxLDE4LjEyNSA0LjYyNiwxOS40MzggNC40MzksMjEuNTYzIEM0LjE4OSwyMy42MjYgNC4xMjYsMjUuMTg4IDQuMTI2LDI2LjI1MSBMNC4xMjUsMjYuMjUgWiBNOS4yNSwyNi4yNSBDOS4yNSwyNy4zNzUgOS4zNzUsMjkgOS42MjUsMzEuMjUgQzkuODEzLDMzLjQzOCA5LjkzOCwzNC42ODggOS45MzgsMzUgQzkuOTM4LDM1LjMxMiAxMC4wNjMsMzUuNSAxMC4zNzYsMzUuNSBDMTAuNjg5LDM1LjUgMTAuODc2LDM1LjMxMiAxMC44NzYsMzUgQzExLjM3NiwyOS44MTIgMTEuNTY0LDI2LjkzNyAxMS41NjQsMjYuMjUgQzExLjU2NCwyNS42MjUgMTEuMzc2LDIyLjg3NSAxMC44NzYsMTguMDYyIEMxMC44NzYsMTcuNjg3IDEwLjY4OCwxNy40OTkgMTAuMzc2LDE3LjQ5OSBDMTAuMDY0LDE3LjQ5OSA5LjkzOCwxNy42ODcgOS45MzgsMTguMDYyIEM5LjkzOCwxOC4zMTIgOS44MTMsMTkuNDM3IDkuNjI1LDIxLjU2MiBDOS4zNzUsMjMuNjg3IDkuMjUsMjUuMjUgOS4yNSwyNi4yNSBMOS4yNSwyNi4yNSBaIE0xNS4xODgsMjYuMjUgQzE1LjE4OCwyNi4zNzUgMTUuMzc2LDI5LjI1IDE1Ljc1MSwzNC45MzggQzE1Ljc1MSwzNS4zMTMgMTUuOTM5LDM1LjU2MyAxNi4zMTQsMzUuNTYzIEMxNi43NTIsMzUuNTYzIDE2LjkzOSwzNS4zMTMgMTYuOTM5LDM0LjkzOCBDMTYuOTM5LDM0LjYyNSAxNy4wNjQsMzMuMzc1IDE3LjI1MiwzMS4xODggQzE3LjUwMiwyOSAxNy42MjcsMjcuMzc1IDE3LjYyNywyNi4yNSBDMTcuNjI3LDI0LjEyNSAxNy41MDIsMjEgMTcuMzE0LDE2LjkzNyBDMTcuMTI2LDEyLjg3NCAxNy4wMDEsMTAuNDk5IDE2LjkzOSw5LjgxMiBDMTYuOTM5LDkuMzc0IDE2Ljc1MSw5LjE4NyAxNi4zMTQsOS4xODcgQzE1LjkzOSw5LjE4NyAxNS43NTEsOS4zNzUgMTUuNzUxLDkuODEyIEMxNS42ODgsMTEuMDYyIDE1LjYyNiwxMi44MTIgMTUuNTAxLDE1LjA2MiBDMTUuNDM4LDE3LjI1IDE1LjMxMywxOS4zMTIgMTUuMjUxLDIxLjEyNSBDMTUuMTg5LDIyLjkzOCAxNS4xODgsMjQuNjI1IDE1LjE4OCwyNi4yNSBMMTUuMTg4LDI2LjI1IFogTTIxLjE4OCwyNi4yNSBDMjEuMTg4LDI3LjM3NSAyMS4yNTEsMjguOTM4IDIxLjQzOCwzMSBDMjEuNTYzLDMzLjA2MyAyMS42MjYsMzQuMzEzIDIxLjYyNiwzNC43NSBDMjEuNjg5LDM1LjMxMyAyMi4wMDEsMzUuNTYzIDIyLjM3NiwzNS41NjMgQzIyLjgxNCwzNS41NjMgMjMuMDY0LDM1LjMxMyAyMy4xODksMzQuNzUgQzIzLjE4OSwzNC4xODcgMjMuMzE0LDMyLjg3NSAyMy40MzksMzAuODc1IEMyMy42MjcsMjguODc1IDIzLjY4OSwyNy4zMTIgMjMuNjg5LDI2LjI1IEMyMy42ODksMjMuOTM3IDIzLjYyNiwyMC42ODcgMjMuNDM5LDE2LjM3NSBDMjMuMzE0LDEyLjA2MiAyMy4xODksOS4xODcgMjMuMTg5LDcuODEyIEMyMy4wNjQsNy4zMTIgMjIuODE0LDcuMDYyIDIyLjM3Niw3LjA2MiBDMjIuMDAxLDcuMDYyIDIxLjY4OCw3LjMxMiAyMS42MjYsNy44MTIgQzIxLjU2Myw4Ljg3NSAyMS41MDEsMTEuNjI1IDIxLjM3NiwxNi4wNjIgQzIxLjI1MSwyMC40OTkgMjEuMTg4LDIzLjkzNyAyMS4xODgsMjYuMjUgTDIxLjE4OCwyNi4yNSBaIE0yNy4yNSwyNi4yNSBDMjcuMjUsMjYuMzc1IDI3LjM3NSwyOS4xMjUgMjcuNjI1LDM0LjYyNSBDMjcuNzUsMzUuMjUgMjguMDYzLDM1LjU2MyAyOC41NjMsMzUuNTYzIEMyOS4wNjMsMzUuNTYzIDI5LjM3NiwzNS4yNSAyOS40MzgsMzQuNTYzIEwyOS40MzgsMzQuNjI2IEMyOS42ODgsMjkuMTI2IDI5LjgxMywyNi4zNzYgMjkuODEzLDI2LjI1MSBDMjkuODEzLDI0LjU2MyAyOS44MTMsMjIuNzUxIDI5Ljc1LDIwLjgxMyBDMjkuNjg3LDE4LjkzOCAyOS42ODcsMTYuNzUgMjkuNjI1LDE0LjQzOCBDMjkuNTYyLDEyLjA2MyAyOS41LDEwLjI1IDI5LjQzNyw5IEMyOS4zNzQsOC4zNzUgMjkuMDYyLDggMjguNTYyLDggQzI4LjA2Miw4IDI3Ljc0OSw4LjM3NSAyNy42MjQsOSBDMjcuNjI0LDEwLjI1IDI3LjU2MSwxMi4wNjMgMjcuNDk5LDE0LjQzOCBDMjcuNDM2LDE2Ljc1MSAyNy4zNzQsMTguOTM4IDI3LjMxMSwyMC44MTMgQzI3LjMxMSwyMi43NTEgMjcuMjQ4LDI0LjU2MyAyNy4yNDgsMjYuMjUxIEwyNy4yNSwyNi4yNSBaIE0zMy4zNzUsMjYuMzEzIEMzMy4zNzUsMjYuMzc2IDMzLjUsMjkuMDYzIDMzLjc1LDM0LjQzOCBDMzMuODEzLDM1LjE4OCAzNC4xMjUsMzUuNTYzIDM0Ljc1LDM1LjU2MyBDMzUuMzc1LDM1LjU2MyAzNS42ODgsMzUuMTg4IDM1Ljc1LDM0LjQzOCBDMzYuMDYzLDI5LjA2MyAzNi4xODgsMjYuMzc1IDM2LjE4OCwyNi4zMTMgQzM2LjE4OCwyNi4xODggMzYuMDYzLDE4LjY4OCAzNS43NSwzLjg3NSBDMzUuNjg3LDMuMTI1IDM1LjM3NSwyLjY4NyAzNC43NSwyLjY4NyBDMzQuMTI1LDIuNjg3IDMzLjgxMiwzLjEyNSAzMy43NSwzLjg3NSBDMzMuNSwxOC42ODggMzMuMzc1LDI2LjE4OCAzMy4zNzUsMjYuMzEzIEwzMy4zNzUsMjYuMzEzIFogTTM4LjQzOCwxMi43NSBDMzguNDM4LDE2LjI1IDM4LjUwMSwyMC4xODggMzguNTAxLDI0LjQzOCBMMzguNTAxLDM0LjM3NiBDMzguNTAxLDM0LjY4OSAzOC42MjYsMzUuMDAxIDM4LjgxNCwzNS4yNTEgQzM5LjAwMiwzNS41MDEgMzkuMjUyLDM1LjYyNiAzOS41MDIsMzUuNjI2IEw2NC42MjcsMzUuNjI2IEM2Ny4xMjcsMzUuNjI2IDY5LjI1MiwzNC42MjYgNzEuMDY1LDMyLjY4OCBDNzIuODE1LDMwLjc1IDczLjY5LDI4LjM3NSA3My42OSwyNS42MjUgQzczLjY5LDIyLjg3NSA3Mi43NTIsMjAuNSA3MS4wMDIsMTguNTYyIEM2OS4yNTIsMTYuNjI0IDY3LjEyNywxNS42MjQgNjQuNjI3LDE1LjYyNCBDNjMuNTAyLDE1LjYyNCA2Mi4zMTQsMTUuOTM3IDYxLjEyNywxNi40OTkgQzYwLjc1MiwxMS45MzYgNTkuMDY0LDguMTI0IDU2LjAwMiw1LjA2MSBDNTIuOTM5LDEuOTM2IDQ5LjMxNCwwLjQzNiA0NS4xODksMC40MzYgQzQ0LjgxNCwwLjQzNiA0NC4yNTEsMC40MzYgNDMuNjI2LDAuNTYxIEM0Mi45MzgsMC42MjQgNDIuMTg4LDAuNzQ5IDQxLjQzOCwwLjg3NCBDNDAuNjI1LDEuMDYyIDM5Ljg3NSwxLjMxMiAzOS4zMTMsMS42MjQgQzM4Ljc1LDEuOTk5IDM4LjUsMi4zNzQgMzguNSwyLjc0OSBDMzguNSw1Ljg3NCAzOC40MzcsOS4xODcgMzguNDM3LDEyLjc0OSBMMzguNDM4LDEyLjc1IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+");   background-size: 60%; } .auth0-lock-social-button[data-provider^=thecity] .auth0-lock-social-button-icon {   background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjYxcHgiIGhlaWdodD0iNjVweCIgdmlld0JveD0iMCAwIDYxIDY1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+dGhlY2l0eTwvdGl0bGU+CiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4KICAgIDxkZWZzPjwvZGVmcz4KICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHNrZXRjaDp0eXBlPSJNU1BhZ2UiPgogICAgICAgIDxnIGlkPSJ0aGVjaXR5IiBza2V0Y2g6dHlwZT0iTVNMYXllckdyb3VwIiBmaWxsPSIjRkZGRkZGIj4KICAgICAgICAgICAgPHBhdGggZD0iTTMuODEzLDMuNDM4IEwzLjgxMywzLjQzOCBDNy4wNjMsMC44MTMgNy4zNzYsMC44MTMgMjkuOTM4LDAuODEzIEM1MS4xODgsMC44MTMgNTMuMDYzLDAuOTM4IDU1LjYyNiwzLjAwMSBDNTkuMjUxLDUuODE0IDYwLjMxNCw5LjUwMSA2MC4xODksMTguMTg5IEM2MC4xODksMjQuNDM5IDYwLjAwMSwyNS4yNTIgNTguMDY0LDI1LjMxNCBDNTYuODE0LDI1LjQzOSA1NC43NTEsMjUuNTY0IDUzLjUwMSwyNS42MjcgQzUwLjAwMSwyNS44NzcgNDQuNjg4LDMwLjg3NyA0MS43NTEsMzYuNjkgQzM5LjkzOCw0MC4zMTUgMzguNTAxLDQxLjgxNSAzNy41NjMsNDEuMzc4IEMzNi4yNSw0MC44MTUgMzYuNjg4LDM5LjYyOCAzOS4yNTEsMzUuMzE1IEM0My42ODksMjguMTI3IDQ0LjM3NiwyMi4wNjUgNDEuMjUxLDE2LjEyNyBDMzUuNTYzLDQuOTM5IDE5LjA2Myw1LjEyNyAxMy43NTEsMTYuMzE1IEMxMS4zMTMsMjEuNDQgMTEuNTAxLDI3LjY5IDE0LjEyNiwzMS45NCBDMTUuODE0LDM0Ljg3OCAyMy44NzYsNDEuMDY1IDI3LjU2NCw0Mi4zNzggQzI4LjEyNyw0Mi41NjYgMjguMTg5LDQzLjMxNiAyNy43NTIsNDQuMTI4IEMyNy4xMjcsNDUuMDY2IDI2LjI1Miw0NC45NDEgMjQuMDY0LDQzLjU2NSBDMTUuNjI2LDM4LjAwMiAxMC41MDEsMzYuODE1IDQuODc2LDM5LjMxNSBDMi42MjYsNDAuMTkgMC42MjYsNDAuOTQgMC4zMTMsNDAuOTQgQzAuMTI1LDQwLjk0IC0yLjUwMDc3NzM2ZS0xNCwzMy4xMjcgMC4xODgsMjMuNTAyIEwwLjU2Myw2LjAwMiBMMy44MTMsMy40MzggWiBNMjQuMDYzLDEzLjkzOCBMMjQuMDYzLDEzLjkzOCBDMjcuNTYzLDEyLjc1IDMyLjE4OCwxMy44MTMgMzQuNjg4LDE2LjU2MyBDMzguMzc2LDIwLjQzOCAzOC41MDEsMjUuMDAxIDM1LjM3NiwzMC44NzYgQzMzLjE4OCwzNC42ODkgMzIuNzUxLDM2LjE4OSAzMy43NTEsMzcuMzc2IEMzNi4zMTQsNDAuMzc2IDMzLjkzOSwzOS42MjYgMjYuNjg4LDM1LjMxMyBDMTkuNDM4LDMwLjg3NSAxNy4zNzUsMjguMTI1IDE3LjM3NSwyMy4xODggQzE3LjM3NSwyMC4xMjUgMjEuMTI1LDE1IDI0LjA2MywxMy45MzggTDI0LjA2MywxMy45MzggWiBNNTMuNTYzLDMxLjc1IEw1My41NjMsMzEuNzUgQzU5LjI1MSwyOS4zMTIgNjAuMzEzLDMwLjc1IDYwLjEyNiw0MS4xODggQzU5Ljg3Niw1Mi4zMTMgNjAuMDAxLDUxLjgxMyA1Ny44MTMsNTEuODEzIEM1Ni4zMTMsNTEuODEzIDQ2LjQzOCw0Ny41NjMgNDMuNSw0NS42MjUgQzQzLjMxMiw0NS41IDQ0LjY4OCw0Mi42ODcgNDYuNjI1LDM5LjMxMiBDNDksMzUuMTg3IDUxLjMxMywzMi42ODcgNTMuNTYzLDMxLjc0OSBMNTMuNTYzLDMxLjc1IFogTTYuOTM4LDQ0LjE4OCBMNi45MzgsNDQuMTg4IEMxMC4wMDEsNDMuMTI1IDEzLjg3Niw0My44NzUgMTguMDAxLDQ2LjUwMSBDMTkuODc2LDQ3LjU2NCAyMi4yNTEsNDguNTY0IDIzLjE4OSw0OC41NjQgQzI2LjM3Nyw0OC41NjQgMTguNzUxLDYxLjQzOSAxNC41NjQsNjMuMzE0IEM3LjUwMSw2Ni4yNTIgMC4wMDEsNjEuMjUxIDAuMDAxLDUzLjYyNiBDMC4wMDEsNTAuNTAxIDMuNjg5LDQ1LjM3NiA2LjkzOSw0NC4xODggTDYuOTM4LDQ0LjE4OCBaIE0zOS4zMTMsNTIgTDM5Ljg3Niw1MS42ODcgTDMyLjEyNiw2My4zMTIgTDU3LjU2NCw2My41NjIgTDU2LjUwMSw1OC40MzcgTDM5LjMxMyw1MiBaIE0yMC4xODgsNjIuODc1IEwxOS4zMTMsNjMuNDM4IEwyNi42MjYsNjMuNjI2IEwzNC41MDEsNTEuMTI2IEwyOC44NzYsNTAuNjg4IEwyMC4xODgsNjIuODc1IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+"); } .auth0-lock-social-button[data-provider^=thirtysevensignals] .auth0-lock-social-button-icon {   background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9ImJhc2VjYW1wLWljb24iPgo8ZyBpZD0iRnJhbWUgMSI+CjxnIGlkPSJHcm91cCAyMSI+CjxwYXRoIGlkPSJWZWN0b3IiIGQ9Ik0xOS4wNzIyIDE0Ljk0ODlDMTguNTgzNyAxNC45NDg5IDE4LjIwMzcgMTQuNTY4OSAxOC4xNDk1IDE0LjA4MDRDMTcuODIzOCA5LjQxMjczIDE1LjI3MjkgMi44NDUzNyAxMC41NTA5IDIuODQ1MzdDNi42NDMwMiAyLjg0NTM3IDMuNzEyMTMgNS41NTkxNiAxLjgxMjQ4IDEwLjkzMjVDMS42NDk2NiAxMS40MjA5IDEuMTA2OSAxMS42OTIzIDAuNjE4NDE4IDExLjQ3NTJDMC4xMjk5MzcgMTEuMzEyNCAtMC4xNDE0NDEgMTAuNzY5NiAwLjA3NTY2MTMgMTAuMzM1NEMyLjI0NjY5IDQuMTQ3OTkgNS43NzQ2MSAxIDEwLjU1MDkgMUMxNi43OTI2IDEgMTkuNjY5MiA4LjkyNDI1IDE5Ljk5NDggMTMuOTcxOUMyMC4wNDkxIDE0LjQ2MDQgMTkuNjY5MiAxNC45NDg5IDE5LjEyNjQgMTQuOTQ4OUgxOS4wNzIyWiIgZmlsbD0iI2ZmZmZmZiIvPgo8cGF0aCBpZD0iVmVjdG9yXzIiIGQ9Ik0xMC4zMzQgMTguMzY4MkM3LjE4NTk2IDE4LjM2ODIgNC4xNDY1MyAxNy4wMTEzIDIuMDI5NzcgMTQuNjIzMkMxLjc1ODM5IDE0LjQwNjEgMS43MDQxMiAxNC4wMjYyIDEuODEyNjcgMTMuNzAwNUMyLjQwOTcgMTIuMTI2NSAzLjk4MzcgOC40OTAwNSA1Ljk5MTkgOC40MzU3N0M3LjAyMzE0IDguNDM1NzcgNy43ODMgOS4yNDk5MSA4LjM4MDAzIDkuOTAxMjJDOC41NDI4NiAxMC4xMTgzIDguODE0MjQgMTAuMzg5NyA5LjAzMTM0IDEwLjU1MjVDOS41MTk4MiAxMC4wNjQgMTAuNDQyNSA4LjU0NDMyIDExLjE0ODEgNi45NzAzM0MxMS4zNjUyIDYuNDgxODUgMTEuOTA4IDYuMzE5MDIgMTIuMzk2NCA2LjUzNjEyQzEyLjg4NDkgNi43NTMyMiAxMy4wNDc3IDcuMjk1OTggMTIuODMwNiA3Ljc4NDQ2QzEwLjY1OTYgMTIuNTA2NCA5LjUxOTgyIDEyLjUwNjQgOS4wODU2MSAxMi41MDY0QzguMjE3MiAxMi41MDY0IDcuNjIwMTcgMTEuODU1MSA3LjAyMzE0IDExLjIwMzhDNi43NTE3NiAxMC45MzI1IDYuMjA5IDEwLjMzNTQgNS45OTE5IDEwLjMzNTRDNS41MDM0MiAxMC4zODk3IDQuNDcyMTggMTIuMDcyMiAzLjc2NjYgMTMuODYzM0M1LjU1NzY5IDE1LjY1NDQgOC4wMDAxIDE2LjYzMTQgMTAuNDk2OCAxNi41NzcxQzEyLjY2NzggMTYuNTc3MSAxNi41MjE0IDE2LjE5NzIgMTguMDk1NCAxMy44NjMzQzE3LjY2MTIgOS4xOTU2MyAxNS4xMTAyIDIuODk5NjUgMTAuNDk2OCAyLjg5OTY1QzEwLjAwODMgMi44OTk2NSA5LjU3NDEgMi40NjU0NCA5LjU3NDEgMS45NzY5NkM5LjU3NDEgMS40ODg0OCAxMC4wMDgzIDEgMTAuNTUxMSAxQzE2Ljc5MjggMSAxOS42Njk0IDguOTI0MjUgMTkuOTk1IDEzLjk3MTlDMTkuOTk1IDE0LjEzNDcgMTkuOTQwOCAxNC4zNTE4IDE5Ljg4NjUgMTQuNTE0NkMxOC40MjEgMTcuMDExMyAxNS4xMTAyIDE4LjQyMjUgMTAuNTUxMSAxOC40MjI1QzEwLjQ5NjggMTguMzY4MiAxMC4zODgyIDE4LjM2ODIgMTAuMzM0IDE4LjM2ODJaIiBmaWxsPSIjZmZmZmZmIi8+CjwvZz4KPC9nPgo8L2c+Cjwvc3ZnPgo="); } .auth0-lock-social-button[data-provider^=twitter] .auth0-lock-social-button-icon {   background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9Ijc5cHgiIGhlaWdodD0iNjVweCIgdmlld0JveD0iMCAwIDc5IDY1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+dHdpdHRlcjwvdGl0bGU+CiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4KICAgIDxkZWZzPjwvZGVmcz4KICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHNrZXRjaDp0eXBlPSJNU1BhZ2UiPgogICAgICAgIDxnIGlkPSJ0d2l0dGVyIiBza2V0Y2g6dHlwZT0iTVNMYXllckdyb3VwIiBmaWxsPSIjRkZGRkZGIj4KICAgICAgICAgICAgPHBhdGggZD0iTTAsNTcuNDM4IEM3LjYyNSw2Mi4yNTEgMTUuODc1LDY0LjYyNiAyNC43NSw2NC42MjYgQzMwLjUsNjQuNjI2IDM1LjkzOCw2My43NTEgNDAuOTM4LDYxLjkzOCBDNDUuOTM4LDYwLjEyNSA1MC4yNTEsNTcuNjg4IDUzLjgxMyw1NC42MjUgQzU3LjQzOCw1MS41IDYwLjUwMSw0OCA2My4wNjMsNDQuMDYyIEM2NS42MjUsNDAuMTI0IDY3LjU2MywzNS45OTkgNjguODEzLDMxLjYyNCBDNzAuMDYzLDI3LjMxMSA3MC43NTEsMjIuOTk5IDcwLjc1MSwxOC42ODYgTDcwLjc1MSwxNi41NjEgQzc0LjAwMSwxNC4xODYgNzYuNjg5LDExLjM3MyA3OC43NTEsOC4xODYgQzc1LjY4OCw5LjQ5OSA3Mi42MjYsMTAuMzc0IDY5LjUwMSwxMC43NDkgQzczLjAwMSw4LjY4NiA3NS4zNzYsNS42ODYgNzYuNTY0LDEuODExIEM3My40MzksMy42ODYgNzAuMDAxLDQuOTk5IDY2LjMxNCw1Ljc0OSBDNjMuMTI2LDIuMzc0IDU5LjE4OSwwLjYyNCA1NC41MDEsMC42MjQgQzUwLjA2MywwLjYyNCA0Ni4yNTEsMi4yNDkgNDMuMDYzLDUuMzc0IEMzOS45MzgsOC41NjIgMzguMzEzLDEyLjMxMiAzOC4zMTMsMTYuNzQ5IEMzOC4zMTMsMTcuODEyIDM4LjUwMSwxOS4wNjIgMzguODEzLDIwLjQ5OSBDMzIuMTg4LDIwLjEyNCAyNiwxOC40OTkgMjAuMTg4LDE1LjQ5OSBDMTQuNDM4LDEyLjU2MSA5LjUsOC41NjEgNS41LDMuNTYxIEM0LDYuMTI0IDMuMjUsOC44MTEgMy4yNSwxMS42ODYgQzMuMjUsMTQuNDk5IDMuOTM4LDE3LjA2MSA1LjE4OCwxOS40MzYgQzYuNTAxLDIxLjgxMSA4LjI1MSwyMy42ODYgMTAuNTAxLDI1LjE4NiBDNy44NzYsMjUuMTIzIDUuMzc2LDI0LjQzNiAzLjEyNiwyMy4xODYgTDMuMTI2LDIzLjM3NCBDMy4xMjYsMjcuMjQ5IDQuMzc2LDMwLjY4NyA2LjgxNCwzMy42MjQgQzkuMjUyLDM2LjYyNCAxMi4zNzcsMzguNDM3IDE2LjEyNywzOS4xODcgQzE0Ljc1MiwzOS41NjIgMTMuMzE0LDM5Ljc1IDExLjgxNCwzOS43NSBDMTAuNjg5LDM5Ljc1IDkuNjg5LDM5LjY4NyA4LjgxNCwzOS41IEM5Ljg3Nyw0Mi43NSAxMS43NTIsNDUuMzc1IDE0LjUwMiw0Ny41IEMxNy4zMTUsNDkuNTYzIDIwLjQ0LDUwLjYyNSAyMy45NCw1MC42ODggQzE4LjA2NSw1NS4zMTMgMTEuMzc3LDU3LjYyNiAzLjgxNSw1Ny42MjYgQzIuNTY1LDU3LjYyNiAxLjI1Miw1Ny41NjMgMC4wMDIsNTcuNDM4IEwwLDU3LjQzOCBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg=="); } .auth0-lock-social-button[data-provider^=vkontakte] .auth0-lock-social-button-icon {   background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9Ijc5cHgiIGhlaWdodD0iNDZweCIgdmlld0JveD0iMCAwIDc5IDQ2IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+dms8L3RpdGxlPgogICAgPGRlc2M+Q3JlYXRlZCB3aXRoIFNrZXRjaC48L2Rlc2M+CiAgICA8ZGVmcz48L2RlZnM+CiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4KICAgICAgICA8ZyBpZD0idmsiIHNrZXRjaDp0eXBlPSJNU0xheWVyR3JvdXAiIGZpbGw9IiNGRkZGRkYiPgogICAgICAgICAgICA8cGF0aCBkPSJNMC40MzcsMy44MTMgQzAuNDM3LDQuMzc2IDAuNSw0LjkzOCAwLjU2Miw1LjUwMSBDMC42ODcsNi4xMjYgMC44NzUsNi42ODkgMS4xMjUsNy4zMTQgQzEuMzEzLDcuOTM5IDEuNTYzLDguNDM5IDEuNjg4LDguODE0IEMxLjg3Niw5LjE4OSAyLjEyNiw5Ljc1MiAyLjUwMSwxMC40MzkgQzIuODE0LDExLjE4OSAzLjA2NCwxMS42MjcgMy4xODksMTEuODc3IEM3LjEyNywxOS45NCAxMS4zNzcsMjYuODE1IDE1LjgxNCwzMi41MDIgQzE3LjY4OSwzNC45NCAxOS4zNzcsMzYuODc3IDIwLjkzOSwzOC40NCBDMjIuNTY0LDM5Ljk0IDI0LjY4OSw0MS4zNzggMjcuMzc3LDQyLjc1MyBDMzAuMTI3LDQ0LjEyOCAzMy4xMjcsNDQuOTQxIDM2LjQ0LDQ1LjMxNiBDMzguMDY1LDQ1LjUwNCAzOS41MDMsNDUuNTY2IDQwLjY5LDQ1LjU2NiBDNDMuNTAzLDQ1LjU2NiA0NS4xOSw0NS4wNjYgNDUuNzUzLDQ0LjAwMyBDNDYuMDY2LDQzLjQ0IDQ2LjI1Myw0Mi4zNzggNDYuMzc4LDQwLjk0IEM0Ni40NDEsMzkuNDQgNDYuNjI4LDM4LjE5IDQ2Ljk0MSwzNy4xMjcgQzQ3LjI1NCwzNi4wNjQgNDcuODc5LDM1LjQzOSA0OC44NzksMzUuMjUyIEM0OS40NDIsMzUuMTg5IDUwLjAwNCwzNS4zMTUgNTAuNjI5LDM1LjYyNyBDNTEuMTkyLDM2LjAwMiA1MS42OTIsMzYuMzE1IDUyLjA2NywzNi43NTIgQzUyLjQ0MiwzNy4xMjcgNTIuOTQyLDM3LjYyNyA1My41MDUsMzguMzc3IEM1NC4wNjgsMzkuMDY1IDU0LjM4LDM5LjUwMiA1NC41NjgsMzkuNjkgQzU3LjY5Myw0My4xOSA2MC42MzEsNDUuMTkgNjMuNDQzLDQ1LjY5IEw2My44ODEsNDUuNjkgQzY0LjY5NCw0NS41MDIgNjUuNjMxLDQ1LjM3NyA2Ni43NTYsNDUuMzc3IEM2Ny40NDQsNDUuMzc3IDY4LjI1Niw0NS40NCA2OS4xMzEsNDUuNTAyIEM3MC4wNjksNDUuNjI3IDcwLjk0NCw0NS42OSA3MS44ODEsNDUuNjkgQzczLjAwNiw0NS42OSA3NC4xMzEsNDUuNjI3IDc1LjI1Niw0NS40NCBDNzcuNDQ0LDQ1LjA2NSA3OC41MDYsNDQuMTkgNzguNTA2LDQyLjgxNSBDNzguNTA2LDQxLjgxNSA3Ny42MzEsNDAuMjUyIDc1Ljk0MywzOC4wMDIgQzc0LjE5MywzNS44MTQgNzEuODE4LDMzLjMxNCA2OC43NTUsMzAuNTAyIEM2OC42OTIsMzAuNDM5IDY4LjQ0MiwzMC4xODkgNjguMDA1LDI5LjgxNCBDNjcuNTY4LDI5LjQzOSA2Ny4zMTcsMjkuMTI2IDY3LjEzLDI5LjAwMSBDNjcuMDA1LDI4LjgxMyA2Ni44MTcsMjguNTYzIDY2LjUwNSwyOC4xODggQzY2LjI1NSwyNy44NzUgNjYuMDA1LDI3LjU2MyA2NS44OCwyNy4yNSBDNjUuNzU1LDI2LjkzNyA2NS42OTIsMjYuNjI1IDY1LjY5MiwyNi4zMTIgQzY1LjY5MiwyNS43NDkgNjUuNzU1LDI1LjE4NyA2Ni4wMDUsMjQuNjI0IEM2Ni4yNTUsMjMuOTk5IDY2LjUwNSwyMy40OTkgNjYuNzU1LDIzLjE4NiBDNjcuMDA1LDIyLjgxMSA2Ny4zOCwyMi4zMTEgNjcuODgsMjEuNjIzIEM2OC4zOCwyMC45MzUgNjguNjkzLDIwLjU2IDY4Ljc1NSwyMC40MzUgQzY5LjE5MywxOS45MzUgNjkuOTQzLDE4LjkzNSA3MS4xMywxNy40OTcgQzcyLjMxOCwxNS45OTcgNzMuMzE4LDE0LjgwOSA3NC4wNjgsMTMuNzQ3IEM3NC44MTgsMTIuNzQ3IDc1LjU2OCwxMS42ODQgNzYuMjU2LDEwLjQzNCBDNzcuNzU2LDcuOTM0IDc4LjUwNiw2LjA1OSA3OC41MDYsNC44NzEgQzc4LjUwNiw0LjU1OCA3OC40NDMsNC4yNDYgNzguMzE4LDMuOTk2IEM3OC4xMywzLjY4MyA3Ny44MTgsMy4zNzEgNzcuNDQzLDMuMTgzIEM3Ny4wMDUsMi45OTUgNzYuNDQzLDIuODcgNzUuODE4LDIuODA4IEM3NS4xMywyLjc0NSA3NC41MDUsMi43NDUgNzMuODgsMi43NDUgQzczLjMxNywyLjgwOCA3Mi42MywyLjgwOCA3MS44MTcsMi44NyBDNzEuMDA0LDIuOTMyIDcwLjQ0MiwyLjkzMyA3MC4wNjcsMi45MzMgQzY5LjQ0MiwyLjkzMyA2OC40NDIsMi44NyA2Ny4wNjcsMi44MDggQzY1Ljk0MiwyLjc0NSA2NC45NDIsMi42ODMgNjQuMTI5LDIuNjgzIEw2My41MDQsMi42ODMgQzYyLjU2NiwyLjY4MyA2MS43NTQsMi44MDggNjEuMTI5LDMuMTIxIEM2MC40NDEsMy45OTYgNjAuMTI5LDQuMzA5IDYwLjEyOSwzLjk5NiBDNjAuMDY2LDMuNjgzIDU5LjgxNiw0LjEyMSA1OS4zMTYsNS4yNDYgQzU4Ljg3OCw2LjM3MSA1OC42MjgsNi45MzQgNTguNjI4LDYuOTM0IEw1OC4wMDMsOC4zNzIgQzU2LjAwMywxMi42ODUgNTQuMDAzLDE2LjE4NSA1Mi4wMDMsMTguODEgQzUxLjk0LDE4Ljg3MyA1MS43NTMsMTkuMTIzIDUxLjMxNSwxOS42ODUgQzUwLjk0LDIwLjI0OCA1MC42OSwyMC42MjMgNTAuNTY1LDIwLjc0OCBMNDkuODE1LDIxLjQ5OCBDNDkuNTAyLDIxLjgxMSA0OS4xOSwyMi4wNjEgNDguODE1LDIyLjE4NiBDNDguNTAyLDIyLjMxMSA0OC4xOSwyMi40MzYgNDcuODE1LDIyLjQzNiBDNDYuNjksMjEuNzQ4IDQ2LjA2NSwyMC40MzYgNDUuODc3LDE4LjU2MSBDNDUuNzUyLDE3LjY4NiA0NS43NTIsMTYuODczIDQ1Ljc1MiwxNi4xMjMgQzQ1Ljc1MiwxNS4xMjMgNDUuODE1LDE0LjEyMyA0NS45NCwxMy4xODUgQzQ1Ljk0LDEyLjc0NyA0Ni4wMDMsMTEuNjIyIDQ2LjE5LDkuODcyIEM0Ni4zMTUsOC40OTcgNDYuMzc4LDcuMzcyIDQ2LjM3OCw2LjQ5NyBDNDYuMzE1LDYuMTg0IDQ2LjMxNSw1LjkzNCA0Ni4zMTUsNS42MjIgQzQ2LjI1Miw0LjYyMiA0Ni4wMDIsMy42ODQgNDUuNjI3LDIuOTM0IEM0NS45NCwyLjc0NiA0NS42MjcsMi40MzQgNDQuODE0LDIuMDU5IEM0NC4wMDEsMS42MjEgNDMuNTY0LDEuNDM0IDQzLjU2NCwxLjQzNCBMNDIuMTI2LDEuMTIxIEM0Mi4xMjYsMC45OTYgNDEuNTYzLDAuOTMzIDQwLjQzOCwwLjkzMyBDMzkuMzEzLDAuODcgMzguNzUsMC44NyAzOC43NSwwLjg3IEwzNS4zNzUsMC44NyBDMzIuNzUsMC44NyAzMC42ODcsMS4wNTggMjkuMTg3LDEuNDMzIEMyNy42ODcsMS44NzEgMjYuNjI0LDIuNjIxIDI1Ljk5OSwzLjgwOCBDMjYuMzc0LDQuMDU4IDI2Ljg3NCw0LjI0NiAyNy40OTksNC40OTYgQzI4LjEyNCw0Ljc0NiAyOC42ODcsNC45OTYgMjkuMDYyLDUuMjQ2IEMyOS41LDUuNTU5IDI5LjgxMiw1LjkzNCAzMC4wNjIsNi4zNzEgQzMwLjY4Nyw3LjU1OSAzMSw5Ljc0NiAzMSwxMi45MzQgQzMxLDEzLjYyMiAzMSwxNC4zNzIgMzAuOTM3LDE1LjE4NCBDMzAuODEyLDE5LjkzNCAzMC4xODcsMjIuNDM0IDI4LjkzNywyMi42MjIgQzI4LjY4NywyMi42ODUgMjguNDM3LDIyLjY4NSAyOC4xODcsMjIuNjIyIEMyNy45MzcsMjIuNjIyIDI3LjY4NywyMi40OTcgMjcuNDM3LDIyLjMwOSBDMjcuMjQ5LDIyLjEyMSAyNi45OTksMjEuOTM0IDI2LjgxMiwyMS43NDYgQzI2LjU2MiwyMS41NTggMjYuMzc0LDIxLjMwOCAyNi4xMjQsMjEuMDU4IEMyNS44NzQsMjAuNzQ1IDI1LjY4NiwyMC40OTUgMjUuNTYxLDIwLjMwOCBDMjUuMzczLDIwLjEyIDI1LjE4NiwxOS44NyAyNC45OTgsMTkuNDk1IEMyNC44MSwxOS4xODIgMjQuNjIzLDE4LjkzMiAyNC41NiwxOC44MDcgQzIyLjE4NSwxNS4zNjkgMjAuMTg1LDExLjg2OSAxOC41Niw4LjM2OSBDMTguNDM1LDguMTgxIDE4LjE4NSw3LjY4MSAxNy44NzIsNi45OTQgQzE3LjYyMiw2LjMwNiAxNy4zNzIsNS43NDQgMTcuMTg0LDUuMzY5IEMxNi45MzQsNC45OTQgMTYuNzQ2LDQuNTU2IDE2LjQzNCw0LjExOSBDMTYuMTIxLDMuNzQ0IDE1Ljg3MSwzLjQzMSAxNS41NTksMy4zMDYgQzE1LjA1OSwzLjA1NiAxNC4zNzEsMi44NjggMTMuNTU5LDIuODA2IEMxMy4xMjEsMi44MDYgMTIuNjIxLDIuODA2IDEyLjA1OSwyLjc0MyBDMTEuNDk2LDIuNzQzIDEwLjg3MSwyLjc0MyAxMC4xODQsMi44MDYgQzguODcxLDIuODY5IDguMDU5LDIuOTMxIDcuODA5LDIuOTMxIEM3LjM3MSwyLjkzMSA2LjY4NCwyLjkzMSA1Ljc0NiwyLjg2OCBDNS4xMjEsMi44MDUgNC42MjEsMi44MDUgNC4xODMsMi44MDUgTDMuNjIsMi44MDUgQzMuMTIsMi44MDUgMi42MiwyLjg2OCAxLjk5NSwzLjA1NSBDMS4zNywzLjI0MiAwLjg3LDMuNDkzIDAuNDMyLDMuODA1IEwwLjQzNywzLjgxMyBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg=="); } .auth0-lock-social-button[data-provider^=windowslive] .auth0-lock-social-button-icon {   background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjY0cHgiIGhlaWdodD0iNjRweCIgdmlld0JveD0iMCAwIDY0IDY0IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+d2luZG93czwvdGl0bGU+CiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4KICAgIDxkZWZzPjwvZGVmcz4KICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHNrZXRjaDp0eXBlPSJNU1BhZ2UiPgogICAgICAgIDxnIGlkPSJ3aW5kb3dzIiBza2V0Y2g6dHlwZT0iTVNMYXllckdyb3VwIiBmaWxsPSIjRkZGRkZGIj4KICAgICAgICAgICAgPGcgaWQ9Ikdyb3VwIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj4KICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0wLjA0NSwwLjA0NSBMMjguNzQ3LDAuMDQ1IEwyOC43NDcsMjguNzQ3IEwwLjA0NSwyOC43NDcgTDAuMDQ1LDAuMDQ1IEwwLjA0NSwwLjA0NSBaIiBpZD0iU2hhcGUiPjwvcGF0aD4KICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0zNC40MywwLjA0NSBMNjMuMTMyLDAuMDQ1IEw2My4xMzIsMjguNzQ3IEwzNC40MywyOC43NDcgTDM0LjQzLDAuMDQ1IEwzNC40MywwLjA0NSBaIiBpZD0iU2hhcGUiPjwvcGF0aD4KICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0yOC43NDgsMzUuMjU0IEwyOC43NDgsNjMuOTU2IEwwLjA0Niw2My45NTYgTDAuMDQ2LDM1LjI1NCBMMjguNzQ4LDM1LjI1NCBMMjguNzQ4LDM1LjI1NCBaIiBpZD0iU2hhcGUiPjwvcGF0aD4KICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0zNC40MywzNS4yNTQgTDYzLjEzMiwzNS4yNTQgTDYzLjEzMiw2My45NTYgTDM0LjQzLDYzLjk1NiBMMzQuNDMsMzUuMjU0IEwzNC40MywzNS4yNTQgWiIgaWQ9IlNoYXBlIj48L3BhdGg+CiAgICAgICAgICAgIDwvZz4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPgo="); } .auth0-lock-social-button[data-provider^=windows] .auth0-lock-social-button-icon {   background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjY0cHgiIGhlaWdodD0iNjRweCIgdmlld0JveD0iMCAwIDY0IDY0IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+d2luZG93czwvdGl0bGU+CiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4KICAgIDxkZWZzPjwvZGVmcz4KICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHNrZXRjaDp0eXBlPSJNU1BhZ2UiPgogICAgICAgIDxnIGlkPSJ3aW5kb3dzIiBza2V0Y2g6dHlwZT0iTVNMYXllckdyb3VwIiBmaWxsPSIjRkZGRkZGIj4KICAgICAgICAgICAgPGcgaWQ9Ikdyb3VwIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj4KICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0wLjA0NSwwLjA0NSBMMjguNzQ3LDAuMDQ1IEwyOC43NDcsMjguNzQ3IEwwLjA0NSwyOC43NDcgTDAuMDQ1LDAuMDQ1IEwwLjA0NSwwLjA0NSBaIiBpZD0iU2hhcGUiPjwvcGF0aD4KICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0zNC40MywwLjA0NSBMNjMuMTMyLDAuMDQ1IEw2My4xMzIsMjguNzQ3IEwzNC40MywyOC43NDcgTDM0LjQzLDAuMDQ1IEwzNC40MywwLjA0NSBaIiBpZD0iU2hhcGUiPjwvcGF0aD4KICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0yOC43NDgsMzUuMjU0IEwyOC43NDgsNjMuOTU2IEwwLjA0Niw2My45NTYgTDAuMDQ2LDM1LjI1NCBMMjguNzQ4LDM1LjI1NCBMMjguNzQ4LDM1LjI1NCBaIiBpZD0iU2hhcGUiPjwvcGF0aD4KICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0zNC40MywzNS4yNTQgTDYzLjEzMiwzNS4yNTQgTDYzLjEzMiw2My45NTYgTDM0LjQzLDYzLjk1NiBMMzQuNDMsMzUuMjU0IEwzNC40MywzNS4yNTQgWiIgaWQ9IlNoYXBlIj48L3BhdGg+CiAgICAgICAgICAgIDwvZz4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg=="); } .auth0-lock-social-button[data-provider^=wordpress] .auth0-lock-social-button-icon {   background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjY0cHgiIGhlaWdodD0iNjVweCIgdmlld0JveD0iMCAwIDY0IDY1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+d29yZHByZXNzPC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGRlZnM+PC9kZWZzPgogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc2tldGNoOnR5cGU9Ik1TUGFnZSI+CiAgICAgICAgPGcgaWQ9IndvcmRwcmVzcyIgc2tldGNoOnR5cGU9Ik1TTGF5ZXJHcm91cCIgZmlsbD0iI0ZGRkZGRiI+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik03Ljk5MzYwNTc4ZS0xNSwzMi44MTMgQzcuOTkzNjA1NzhlLTE1LDM4LjYyNiAxLjQzOCw0NC4wMDEgNC4zMTMsNDguODc2IEM3LjEyNiw1My44MTQgMTEuMDAxLDU3LjY4OSAxNS45MzgsNjAuNTAxIEMyMC44MTMsNjMuMzc2IDI2LjE4OCw2NC44MTQgMzIuMDAxLDY0LjgxNCBDMzcuODE0LDY0LjgxNCA0My4xODksNjMuMzc2IDQ4LjA2NCw2MC41MDEgQzUzLjAwMiw1Ny42ODggNTYuODc3LDUzLjgxMyA1OS42ODksNDguODc2IEM2Mi41NjQsNDQuMDAxIDY0LjAwMiwzOC42MjYgNjQuMDAyLDMyLjgxMyBDNjQuMDAyLDI3IDYyLjU2NCwyMS42MjUgNTkuNjg5LDE2Ljc1IEM1Ni44NzYsMTEuODEyIDUzLjAwMSw3LjkzNyA0OC4wNjQsNS4xMjUgQzQzLjE4OSwyLjI1IDM3LjgxNCwwLjgxMiAzMi4wMDEsMC44MTIgQzI2LjE4OCwwLjgxMiAyMC44MTMsMi4yNSAxNS45MzgsNS4xMjUgQzExLDcuOTM4IDcuMTI1LDExLjgxMyA0LjMxMywxNi43NSBDMS40MzgsMjEuNjI1IDAsMjcgMCwzMi44MTMgTDcuOTkzNjA1NzhlLTE1LDMyLjgxMyBaIE0yLjUsMzIuODEzIEMyLjUsMjguNTYzIDMuMzc1LDI0LjU2MyA1LjA2MywyMC43NSBMMTkuMTI2LDU5LjM3NSBDMTQuMTI2LDU3IDEwLjEyNiw1My4zNzUgNy4wNjMsNDguNjI1IEM0LDQzLjgxMiAyLjUsMzguNTYyIDIuNSwzMi44MTIgTDIuNSwzMi44MTMgWiBNNy4zMTMsMTYuNjI1IEMxMC4wMDEsMTIuNSAxMy41MDEsOS4zMTIgMTcuODc2LDYuODc1IEMyMi4xODksNC41IDI2LjkzOSwzLjMxMiAzMi4wMDEsMy4zMTIgQzM5Ljc1MSwzLjMxMiA0Ni4zNzYsNS44NzUgNTEuOTM5LDExLjA2MiBDNTEuOTM5LDExLjA2MiA1MS44NzYsMTEuMDYyIDUxLjc1MSwxMC45OTkgTDUxLjU2MywxMC45OTkgQzUwLjE4OCwxMC45OTkgNDksMTEuNDk5IDQ4LjA2MywxMi41NjIgQzQ3LjA2MywxMy42MjUgNDYuNTYzLDE0LjgxMiA0Ni41NjMsMTYuMjUgQzQ2LjU2MywxNi42ODggNDYuNjI2LDE3LjEyNSA0Ni43NTEsMTcuNTYzIEM0Ni44MTQsMTguMDAxIDQ3LjAwMSwxOC41MDEgNDcuMjUxLDE5LjA2MyBDNDcuNTAxLDE5LjY4OCA0Ny42ODksMjAuMDYzIDQ3LjgxNCwyMC4zMTMgQzQ3LjkzOSwyMC41NjMgNDguMjUyLDIxLjA2MyA0OC42ODksMjEuODEzIEM0OS4xMjYsMjIuNTYzIDQ5LjM3NywyMy4wMDEgNDkuNTAyLDIzLjEyNiBDNTEuMTI3LDI1Ljg3NiA1MS45NCwyOC42MjYgNTEuOTQsMzEuMzE0IEM1MS45NCwzMi42ODkgNTEuMTksMzUuODc3IDQ5LjY5LDQwLjg3NyBMNDYuNzUyLDUwLjc1MiBMMzYuMTI3LDE5LjAwMiBMMzkuNDQsMTguNjg5IEMzOS45NCwxOC42MjYgNDAuMjUzLDE4LjM3NiA0MC40NCwxNy45MzkgQzQwLjYyOCwxNy41NjQgNDAuNTY1LDE3LjEyNiA0MC4zNzcsMTYuNzUxIEM0MC4xMjcsMTYuMzc2IDM5Ljc1MiwxNi4xODggMzkuMjUyLDE2LjI1MSBDMzYuMDY0LDE2LjUwMSAzMy40MzksMTYuNjI2IDMxLjM3NywxNi42MjYgTDIzLjYyNywxNi4yNTEgQzIzLjEyNywxNi4xODggMjIuNzUyLDE2LjM3NiAyMi41MDIsMTYuNzUxIEMyMi4yNTIsMTcuMTI2IDIyLjI1MiwxNy41NjQgMjIuMzc3LDE3LjkzOSBDMjIuNTY1LDE4LjM3NyAyMi45NCwxOC42MjcgMjMuNDQsMTguNjg5IEMyNC40NCwxOC43NTIgMjUuNTAzLDE4Ljg3NyAyNi41MDMsMTkuMDAyIEwzMS4xMjgsMzEuNjI3IEwyNC42MjgsNTAuOTQgTDEzLjg3OCwxOS4wMDIgTDE3LjI1MywxOC42ODkgQzE3LjgxNiwxOC42MjYgMTguMTI4LDE4LjM3NiAxOC4zMTYsMTcuOTM5IEMxOC41MDQsMTcuNTY0IDE4LjQ0MSwxNy4xMjYgMTguMTkxLDE2Ljc1MSBDMTguMDAzLDE2LjM3NiAxNy42MjgsMTYuMTg4IDE3LjA2NiwxNi4yNTEgQzEzLjg3OCwxNi41MDEgMTEuMjUzLDE2LjYyNiA5LjE5MSwxNi42MjYgTDcuMzE2LDE2LjYyNiBMNy4zMTMsMTYuNjI1IFogTTIzLjY4OCw2MS4xODggTDMyLjUwMSwzNS4zNzUgTDQxLjYyNiw2MC4yNSBMNDEuODE0LDYwLjYyNSBDMzguNjg5LDYxLjc1IDM1LjQzOSw2Mi4zMTMgMzIuMDAxLDYyLjMxMyBDMjkuMTI2LDYyLjMxMyAyNi4zMTMsNjEuOTM4IDIzLjY4OCw2MS4xODggTDIzLjY4OCw2MS4xODggWiBNNDYuODc1LDU4LjM3NSBMNTUuODc1LDMyLjI1IEM1Ny4zNzUsMjcuODc1IDU4LjEyNSwyNC4zNzUgNTguMTI1LDIxLjY4NyBDNTguMTI1LDIwLjU2MiA1OC4wNjIsMTkuNTYyIDU3LjkzNywxOC42ODcgQzYwLjMxMiwyMyA2MS41LDI3LjY4NyA2MS41LDMyLjgxMiBDNjEuNSwzOC4xMjUgNjAuMTg3LDQzLjA2MiA1Ny41NjIsNDcuNjI1IEM1NC44NzQsNTIuMTg4IDUxLjMxMiw1NS43NSA0Ni44NzQsNTguMzc1IEw0Ni44NzUsNTguMzc1IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+"); } .auth0-lock-social-button[data-provider^=yahoo] .auth0-lock-social-button-icon {   background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9Ijg4cHgiIGhlaWdodD0iNTJweCIgdmlld0JveD0iMCAwIDg4IDUyIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+eWFob288L3RpdGxlPgogICAgPGRlc2M+Q3JlYXRlZCB3aXRoIFNrZXRjaC48L2Rlc2M+CiAgICA8ZGVmcz48L2RlZnM+CiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4KICAgICAgICA8ZyBpZD0ieWFob28iIHNrZXRjaDp0eXBlPSJNU0xheWVyR3JvdXAiIGZpbGw9IiNGRkZGRkYiPgogICAgICAgICAgICA8cGF0aCBkPSJNMCw3LjY4OCBMMCw3LjE4OCBDMC4wNjMsNi45MzggMC4zMTMsNi43NSAwLjYyNSw2Ljc1IEwzMi4xMjUsNi43NSBDMzIuMTg4LDYuNzUgMzIuMzEzLDYuNzUgMzIuMzc1LDYuODc1IEMzMi41LDYuOTM4IDMyLjUsNy4wNjMgMzIuNSw3LjE4OCBMMzIuNSw4LjA2MyBDMzIuNSw4LjMxMyAzMi40MzcsOC41MDEgMzIuMzc1LDguNjI2IEMzMi4yNSw4LjgxNCAzMi4xMjUsOC45MzkgMzIuMDYyLDguOTM5IEMzMS45OTksOS4wMDIgMzEuOTM3LDkuMDAyIDMxLjg3NCw5LjAwMiBMMjcuNDk5LDEwLjM3NyBDMjcuMTI0LDEwLjU2NSAyNi42ODYsMTAuNjkgMjYuMTI0LDEwLjYyNyBMMjMuNDk5LDEwLjYyNyBMMzguMDYyLDI5LjI1MiBMNTEuMzEyLDE2Ljc1MiBMNDMuOTM3LDE2Ljc1MiBMNDIuODEyLDE2LjMxNCBMNDEuMzc0LDE0Ljg3NiBMNDEuMTg2LDE0LjYyNiBDNDEuMDYxLDE0LjQzOCA0MC45OTgsMTQuMjUxIDQwLjg3MywxNC4wMDEgQzQwLjc0OCwxMy42ODggNDAuNzQ4LDEzLjQzOCA0MC43NDgsMTMuMTg4IEw0MS4xODYsMTIuODEzIEw2OS4yNDksMTIuODEzIEM2OS4zMTIsMTIuODEzIDY5LjM3NCwxMi44MTMgNjkuNDM3LDEyLjg3NiBDNjkuNSwxMi45MzkgNjkuNTYyLDEzLjA2NCA2OS42MjUsMTMuMTg5IEw2OS42MjUsMTQuMDY0IEM2OS42MjUsMTQuNTY0IDY5LjUsMTQuOTM5IDY5LjI1LDE1LjI1MiBMNjguMTg3LDE2LjQ0IEM2Ny43NDksMTYuNzUzIDY3LjM3NCwxNi44NzggNjYuOTk5LDE2Ljg3OCBMNTguNDk5LDE2Ljg3OCBDNDcuNjg2LDI3LjA2NiA0Mi4wNjEsMzIuMzc4IDQxLjYyNCwzMi44MTYgTDQxLjQzNiwzMy4wMDQgQzQxLjI0OCwzMy4xOTIgNDEuMTg2LDMzLjMxNyA0MS4wNjEsMzMuNTA0IEM0MC45MzYsMzMuNjI5IDQwLjkzNiwzMy44MTcgNDAuOTM2LDMzLjk0MiBMNDAuOTM2LDQ2Ljg4IEM0MC45MzYsNDcuNTA1IDQxLjEyNCw0Ny44MTggNDEuNTYxLDQ3LjgxOCBMNTAuODc0LDQ3LjgxOCBDNTAuOTM3LDQ3LjgxOCA1MS4wNjIsNDcuODgxIDUxLjE4Nyw0Ny45NDMgQzUxLjI1LDQ4LjAwNiA1MS4zMTIsNDguMTMxIDUxLjMxMiw0OC4yNTYgTDUxLjMxMiw1MS45NDQgTDE4LjMxMiw1MS45NDQgTDE4LjMxMiw0OC4zODEgQzE4LjMxMiw0OC4wMDYgMTguNSw0Ny44MTggMTguOTM3LDQ3LjgxOCBDMjAuMjUsNDcuNjkzIDIzLjI1LDQ3LjYzIDI4LjA2Miw0Ny42MyBMMjguMjUsNDcuNjMgQzI4LjM3NSw0Ny41NjcgMjguNSw0Ny41MDUgMjguNTYzLDQ3LjMxNyBDMjguNjg4LDQ3LjEyOSAyOC43NTEsNDYuODc5IDI4Ljc1MSw0Ni41NjcgTDI4Ljc1MSwzNC4yNTQgQzI4Ljc1MSwzMy42OTEgMjguNTAxLDMzLjE5MSAyOC4wNjMsMzIuNjI5IEw5LjY4OCwxMC42MjkgTDIuNTYzLDEwLjYyOSBMMS4zNzUsMTAuMDA0IEwxLjE4Nyw5Ljg3OSBMMC44NzQsOS41NjYgQzAuNjg2LDkuMzc4IDAuNTYxLDkuMTkxIDAuMzc0LDguODc4IEwwLDcuNjg4IFogTTc2LjE4OCwwLjY4OCBMNzguODEzLDM3LjI1MSBMODIuNjg4LDM3LjQzOSBMODguMDAxLDEuMTg5IEw3Ni4xODgsMC42ODggWiBNNzcsNDkuNTYzIEw4NC4wNjMsNDkuODEzIEw4NC4zMTMsNDIuNzUgTDc3LjI1LDQyLjUgTDc3LDQ5LjU2MyBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg=="); } .auth0-lock-social-button[data-provider^=yammer] .auth0-lock-social-button-icon {   background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjYycHgiIGhlaWdodD0iNTNweCIgdmlld0JveD0iMCAwIDYyIDUzIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+eWFtbWVyPC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGRlZnM+PC9kZWZzPgogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc2tldGNoOnR5cGU9Ik1TUGFnZSI+CiAgICAgICAgPGcgaWQ9InlhbW1lciIgc2tldGNoOnR5cGU9Ik1TTGF5ZXJHcm91cCIgZmlsbD0iI0ZGRkZGRiI+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik0wLjUsMy41IEMwLjM3NSw0LjI1IDAuNSw0LjkzOCAwLjc1LDUuNjI1IEM1LjEyNSwxNi4zMTMgOS41NjMsMjcgMTQsMzcuNzUgQzE0LjEyNSwzOC4wNjMgMTQuMzEzLDM4LjM3NSAxNC4zNzUsMzguNzUgQzE0LjA2MiwzOS41IDEzLjYyNSw0MC4yNSAxMy4zNzUsNDEuMDYzIEMxMi43NSw0Mi42MjYgMTIsNDQuMjUxIDEwLjYyNSw0NS4zNzYgQzkuNDM3LDQ2LjM3NiA3LjgxMiw0Ni43NTEgNi4yNSw0Ni42ODkgQzUuNDM3LDQ2LjY4OSA0LjU2Miw0Ni40MzkgMy43NSw0Ni42ODkgQzIuNjg3LDQ3LjAwMiAxLjg3NSw0Ny45MzkgMS42ODcsNDkuMDAyIEMxLjQzNyw1MC41MDIgMi41LDUyLjA2NSA0LDUyLjMxNSBDNi40MzgsNTIuNjI4IDksNTIuNjI4IDExLjM3NSw1MS44NzcgQzEzLjE4OCw1MS4zMTQgMTQuODEzLDUwLjEyNyAxNiw0OC42MjcgQzE3LjYyNSw0Ni41NjQgMTguNjg4LDQ0LjA2NCAxOS42MjUsNDEuNjg5IEMyNC41LDI5LjU2NCAyOS4zMTMsMTcuNDM5IDM0LjI1LDUuMzc2IEMzNC43NSwzLjgxMyAzMy44NzUsMS45MzggMzIuMzc1LDEuNDM4IEMzMC44NzUsMC44MTMgMjksMS41NjMgMjguMzEyLDMuMDAxIEMyNC45OTksMTIuMDAxIDIxLjQ5OSwyMS4wMDEgMTguMDYyLDI5LjkzOSBDMTguMDYyLDMwLjEyNyAxNy45MzcsMzAuMjUyIDE3LjgxMiwzMC4zNzcgTDYuOTM3LDIuODE0IEM2LjM3NCwxLjU2NCA1LjA2MiwwLjc1MSAzLjc0OSwwLjgxNCBDMi4xODYsMC44MTQgMC43NDksMi4wMDIgMC40OTksMy41MDIgTDAuNSwzLjUgWiBNNTAuNTYzLDcuMjUgQzQ5LjEyNSw4IDQ3Ljg3NSw5IDQ2LjUsOS44NzUgQzQ0LjE4NywxMS41IDQxLjkzNywxMy4xMjUgMzkuNzUsMTQuOTM4IEMzOC41LDE1LjkzOCAzNy4yNSwxNi45MzggMzYuMTg3LDE4LjE4OCBDMzUuOTk5LDE4LjUwMSAzNS42ODcsMTguODEzIDM1LjY4NywxOS4yNTEgQzM1LjY4NywxOS40MzkgMzYsMTkuNTAxIDM2LjE4NywxOS41NjQgQzM3LDE5LjY4OSAzNy44NzUsMTkuNDM5IDM4LjY4NywxOS4yNTEgQzQwLjUsMTguNjg4IDQyLjE4NywxOC4wMDEgNDMuOTM3LDE3LjMxMyBDNDcuMTI1LDE1LjkzOCA1MC4yNSwxNC4zNzUgNTMuMjUsMTIuNzUgQzU0LjUsMTEuOTM3IDU0Ljg3NSwxMC4xODcgNTQuMjUsOC44NzUgQzUzLjYyNSw3LjU2MyA1MS45MzcsNi44MTIgNTAuNTYyLDcuMjUgTDUwLjU2Myw3LjI1IFogTTU2LjM3NSwyNC4yNSBDNTIuODc1LDI0LjU2MyA0OS40MzcsMjUgNDYsMjUuNjI1IEM0NC41LDI1Ljg3NSA0MywyNi4xODggNDEuNTYyLDI2LjY4OCBDNDEuMDYyLDI2Ljg3NiA0MC40OTksMjcuMDAxIDQwLjE4NywyNy41MDEgQzQwLjM3NSwyNy43NTEgNDAuNTYyLDI4LjAwMSA0MC44MTIsMjguMTI2IEM0MS41LDI4LjUwMSA0Mi4xODcsMjguNjg5IDQyLjkzNywyOC44NzYgQzQ0LjgxMiwyOS4zMTQgNDYuNzUsMjkuNTY0IDQ4LjY4NywyOS43NTEgQzUyLDMwLjA2NCA1NS4yNSwzMC4xMjYgNTguNSwzMC4xODkgQzYwLDMwLjI1MiA2MS4zNzUsMjkuMDAxIDYxLjUsMjcuNTAxIEM2MS43NSwyNi4wMDEgNjAuNjg3LDI0LjM3NiA1OS4xMjUsMjQuMDYzIEM1OC4xODcsMjQgNTcuMzEyLDI0LjE4OCA1Ni4zNzUsMjQuMjUxIEw1Ni4zNzUsMjQuMjUgWiBNMzUuOTM4LDM1LjA2MyBDMzUuNjI1LDM1LjE4OCAzNS42MjUsMzUuNjI2IDM1LjgxMywzNS44MTMgQzM2LjEyNiwzNi40MzggMzYuNjI2LDM2Ljg3NiAzNy4xMjYsMzcuMzc2IEMzOS4wMDEsMzkuMTg5IDQxLjA2NCw0MC43NTEgNDMuMTI2LDQyLjMxNCBDNDUuMzc2LDQzLjkzOSA0Ny42ODksNDUuNTY0IDUwLjA2NCw0Ny4wNjQgQzUwLjc1Miw0Ny41NjQgNTEuNjg5LDQ3LjU2NCA1Mi41MDIsNDcuMjUyIEM1My42MjcsNDYuODc3IDU0LjUwMiw0NS43NTIgNTQuNTY1LDQ0LjUwMiBDNTQuNjI4LDQzLjM3NyA1NC4wMDIsNDIuMTI3IDUyLjk0LDQxLjYyNyBDNDkuMzE1LDM5Ljc1MiA0NS42MjcsMzcuOTM5IDQxLjgxNSwzNi40MzkgQzQwLjM3NywzNS44NzYgMzguODc3LDM1LjMxNCAzNy4zMTUsMzUuMDY0IEMzNi44MTUsMzUuMDAxIDM2LjM3NywzNC45MzkgMzUuOTQsMzUuMDY0IEwzNS45MzgsMzUuMDYzIFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+"); } .auth0-lock-social-button[data-provider^=yandex] .auth0-lock-social-button-icon {   background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjI4cHgiIGhlaWdodD0iNjBweCIgdmlld0JveD0iMCAwIDI4IDYwIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+eWFuZGV4PC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGRlZnM+PC9kZWZzPgogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc2tldGNoOnR5cGU9Ik1TUGFnZSI+CiAgICAgICAgPGcgaWQ9InlhbmRleCIgc2tldGNoOnR5cGU9Ik1TTGF5ZXJHcm91cCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTEuMDAwMDAwLCAwLjAwMDAwMCkiIGZpbGw9IiNGRkZGRkYiPgogICAgICAgICAgICA8cGF0aCBkPSJNMjcuNSwwLjYyNSBDMjgsMC42MjUgMjguMzEzLDAuODc1IDI4LjMxMywxLjQzOCBMMjguMzEzLDU4Ljc1MSBDMjguMzEzLDU5LjEyNiAyOC4xMjUsNTkuMzc2IDI3LjY4OCw1OS4zNzYgTDIzLDU5LjM3NiBDMjIuNjg3LDU5LjM3NiAyMi40MzcsNTkuMDYzIDIyLjQzNyw1OC44MTMgTDIyLjQzNywzNy42MjUgTDE4LjYyNCwzNy42MjUgTDguMDYxLDU4LjgxMyBDNy45MzYsNTkuMTg4IDcuNjIzLDU5LjM3NiA3LjE4Niw1OS4zNzYgTDEuNzQ4LDU5LjM3NiBDMS4xMjMsNTkuMzc2IDAuNzQ4LDU4LjgxMyAxLjEyMyw1OC4xMjYgTDEyLjgxMSwzNi41MDEgQzYuNTYxLDMzLjY4OCAzLjA2MSwyOC4wMDEgMy4wNjEsMjAuMjUxIEMzLjA2MSw3LjMxMyAxMC4yNDksMC42MjYgMTguODExLDAuNjI2IEwyNy40OTksMC42MjYgTDI3LjUsMC42MjUgWiBNMjIuNDM4LDMyLjU2MyBMMjIuNDM4LDUuNjg4IEwxOC41NjMsNS42ODggQzEzLjkzOCw1LjY4OCA5LjM3NSw5LjYyNiA5LjM3NSwxOS40MzggQzkuMzc1LDI4LjgxMyAxNC4yNSwzMi41NjMgMTkuMjUsMzIuNTYzIEwyMi40MzgsMzIuNTYzIEwyMi40MzgsMzIuNTYzIFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+");   background-size: 30%; } .auth0-lock-social-button[data-provider^=weibo] .auth0-lock-social-button-icon {   background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjgwcHgiIGhlaWdodD0iNjRweCIgdmlld0JveD0iMCAwIDgwIDY0IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+d2VpYnU8L3RpdGxlPgogICAgPGRlc2M+Q3JlYXRlZCB3aXRoIFNrZXRjaC48L2Rlc2M+CiAgICA8ZGVmcz48L2RlZnM+CiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4KICAgICAgICA8ZyBpZD0id2VpYnUiIHNrZXRjaDp0eXBlPSJNU0xheWVyR3JvdXAiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0xLjAwMDAwMCwgMC4wMDAwMDApIiBmaWxsPSIjRkZGRkZGIj4KICAgICAgICAgICAgPHBhdGggZD0iTTEsNDMgQzEsNDcuMTg4IDIuNjI1LDUwLjkzOCA1LjkzOCw1NC4xODggQzkuMTg4LDU3LjQzOCAxMy4zMTMsNTkuODc2IDE4LjMxMyw2MS41NjMgQzIzLjMxMyw2My4xODggMjguNTYzLDY0LjAwMSAzNC4xMjYsNjQuMDAxIEMzOS4zMTQsNjQuMDAxIDQ0LjE4OSw2My4zMTMgNDguNzUxLDYxLjg3NiBDNTMuMzc2LDYwLjUwMSA1Ny4xODksNTguNjg4IDYwLjE4OSw1Ni41MDEgQzYzLjE4OSw1NC4zMTQgNjUuNTY0LDUxLjkzOCA2Ny4zMTQsNDkuMzEzIEM2OS4wNjQsNDYuNjg4IDY5LjkzOSw0NC4xMjUgNjkuOTM5LDQxLjYyNSBDNjkuOTM5LDM4Ljg3NSA2OS4wMDEsMzYuNTYyIDY3LjEyNiwzNC43NSBDNjUuMjUxLDMyLjkzOCA2My4wMDEsMzEuNjI1IDYwLjMxMywzMC44MTIgQzU5Ljg3NSwzMC42ODcgNTkuNTYzLDMwLjU2MiA1OS4zNzUsMzAuNDM3IEM1OS4yNSwzMC4zNzQgNTkuMDYyLDMwLjE4NyA1OC44NzUsMjkuODc0IEM1OC42ODcsMjkuNjI0IDU4Ljc1LDI5LjI0OSA1OS4wNjMsMjguODExIEM1OS43NTEsMjcuMTIzIDYwLjA2MywyNS41NjEgNjAuMDYzLDI0LjI0OCBDNjAuMDYzLDIyLjk5OCA1OS43NSwyMS44NzMgNTkuMTI1LDIwLjkzNSBDNTcuNzUsMTkuMTIyIDU1LjUsMTguMjQ3IDUyLjMxMiwxOC4yNDcgQzQ5LjE4NywxOC4yNDcgNDUuNTYyLDE5LjEyMiA0MS40MzcsMjAuODEgTDQwLjgxMiwyMS4wNiBDNDAuNDM3LDIxLjE4NSA0MC4wNjIsMjEuMTg1IDM5LjgxMiwyMC45OTcgQzM5LjQ5OSwyMC44NzIgMzkuNDM3LDIwLjQ5NyAzOS41NjIsMTkuOTM0IEM0MC4xMjUsMTguMTg0IDQwLjM3NSwxNi42MjEgNDAuMzc1LDE1LjMwOSBDNDAuMzc1LDEzLjMwOSAzOS44MTIsMTEuODA5IDM4LjY4NywxMC42ODQgQzM3LjU2Miw5LjU1OSAzNS45OTksOC45MzQgMzQuMDYyLDguOTM0IEMzMi4zMTIsOC45MzQgMzAuMjQ5LDkuNDM0IDI3Ljg3NCwxMC40MzQgQzIyLjgxMSwxMi4zNzIgMTcuNzQ5LDE1Ljg3MiAxMi43NDksMjAuODA5IEM0LjkzNiwyOC43NDcgMC45OTksMzYuMTIyIDAuOTk5LDQyLjk5NyBMMSw0MyBaIE05LDQ2LjA2MyBDOC45MzcsNDUuNjg4IDguOTM3LDQ1LjMxMyA4LjkzNyw0NC45MzggQzguOTM3LDQyLjU2MyA5Ljc1LDQwLjE4OCAxMS4zNzUsMzcuOTM4IEMxMy4yNSwzNS4zNzUgMTUuOTM4LDMzLjI1IDE5LjQzOCwzMS41IEMyMi45MzgsMjkuNzUgMjYuODEzLDI4LjYyNSAzMS4xMjYsMjguMjUgQzMyLjQzOSwyOC4xMjUgMzMuNjg5LDI4LjA2MiAzNC45MzksMjguMDYyIEMzOS45MzksMjguMDYyIDQ0LjM3NywyOS4wNjIgNDguMzc3LDMxLjE4NyBDNTMuMjUyLDMzLjc1IDU1Ljk0LDM3LjEyNSA1Ni4zNzcsNDEuNDM3IEM1Ni4zNzcsNDEuODEyIDU2LjQ0LDQyLjE4NyA1Ni40NCw0Mi41NjIgQzU2LjQ0LDQ2LjM3NSA1NC40NCw0OS45MzcgNTAuNTY1LDUzLjEyNSBDNDYuMTksNTYuNjI1IDQwLjc1Miw1OC42ODggMzQuMTksNTkuMzEzIEMzMi44NzcsNTkuNDM4IDMxLjYyNyw1OS41MDEgMzAuMzc3LDU5LjUwMSBDMjUuMzc3LDU5LjUwMSAyMC45MzksNTguNTAxIDE3LjAwMiw1Ni4zNzYgQzEyLjA2NCw1My44MTMgOS40MzksNTAuMzc2IDkuMDAyLDQ2LjA2MyBMOSw0Ni4wNjMgWiBNMTkuMjUsNTAuMDYzIEMyMC40MzgsNTIuODEzIDIyLjU2Myw1NC42MjYgMjUuNjg4LDU1LjYyNiBDMjcuMTI2LDU2LjA2NCAyOC41NjMsNTYuMzE0IDMwLjAwMSw1Ni4zMTQgQzMxLjg3Niw1Ni4zMTQgMzMuNzUxLDU1LjkzOSAzNS42MjYsNTUuMTI2IEMzOC45MzksNTMuNjg4IDQxLjI1MSw1MS41MDEgNDIuNjI2LDQ4LjQzOCBDNDMuMjUxLDQ3LjA2MyA0My41NjQsNDUuNjg4IDQzLjU2NCw0NC4zMTMgQzQzLjU2NCw0Mi44MTMgNDMuMTg5LDQxLjQzOCA0Mi41MDEsNDAuMDYzIEM0MS4wNjMsMzcuNDM4IDM4Ljc1MSwzNS42ODggMzUuNTAxLDM0LjgxMyBDMzQuMzc2LDM0LjUgMzMuMTg4LDM0LjM3NSAzMi4wNjMsMzQuMzc1IEMzMC4wNjMsMzQuMzc1IDI4LjEyNSwzNC44MTMgMjYuMTg4LDM1LjYyNSBDMjMuMTI1LDM3IDIwLjg3NSwzOS4wNjMgMTkuNTYzLDQxLjgxMyBDMTguODEzLDQzLjMxMyAxOC40MzgsNDQuODEzIDE4LjQzOCw0Ni4yNTEgQzE4LjQzOCw0Ny41NjQgMTguNjg4LDQ4LjgxNCAxOS4yNTEsNTAuMDY0IEwxOS4yNSw1MC4wNjMgWiBNMjIuODEzLDQ4LjgxMyBDMjIuNzUsNDguNTYzIDIyLjY4OCw0OC4zMTMgMjIuNjg4LDQ4IEMyMi42ODgsNDcuMjUgMjIuOTM4LDQ2LjU2MiAyMy4zNzYsNDUuODc1IEMyNC4wMDEsNDQuOTM3IDI0Ljg3Niw0NC4yNSAyNi4wMDEsNDMuODc1IEMyNi41NjQsNDMuNjg3IDI3LjEyNiw0My41NjIgMjcuNjI2LDQzLjU2MiBDMjguMTg5LDQzLjU2MiAyOC43NTEsNDMuNjg3IDI5LjMxNCw0My45MzcgQzMwLjMxNCw0NC4zMTIgMzAuOTM5LDQ1LjA2MiAzMS4xODksNDYuMDYyIEMzMS4zMTQsNDYuNDM3IDMxLjM3Nyw0Ni43NSAzMS4zNzcsNDcuMDYyIEMzMS4zNzcsNDcuNzUgMzEuMTg5LDQ4LjQzNyAzMC43NTIsNDkuMDYyIEMzMC4xMjcsNTAuMTI1IDI5LjE4OSw1MC44MTIgMjguMDAyLDUxLjE4NyBDMjcuNTAyLDUxLjM3NSAyNy4wMDIsNTEuNDM3IDI2LjUwMiw1MS40MzcgQzI1Ljg3Nyw1MS40MzcgMjUuMzE0LDUxLjMxMiAyNC43NTIsNTEuMDYyIEMyMy43NTIsNTAuNjI0IDIzLjA2NCw0OS44NzQgMjIuODE0LDQ4LjgxMiBMMjIuODEzLDQ4LjgxMyBaIE0zMS44NzUsNDMuNzUgTDMxLjg3NSw0My4zNzUgQzMxLjg3NSw0My4xMjUgMzEuOTM4LDQyLjg3NSAzMi4wNjMsNDIuNjI1IEMzMi4yNTEsNDIuMjUgMzIuNTYzLDQyIDMzLjA2Myw0MS44MTIgQzMzLjUwMSw0MS42ODcgMzMuODc2LDQxLjY4NyAzNC4yNTEsNDEuODEyIEMzNC42ODksNDEuOTM3IDM0LjkzOSw0Mi4yNSAzNS4wNjQsNDIuNjI1IEMzNS4xODksNDMgMzUuMTI3LDQzLjM3NSAzNC45MzksNDMuNzUgQzM0LjY4OSw0NC4xODggMzQuMzc2LDQ0LjQzOCAzMy44NzYsNDQuNjI1IEMzMy42ODgsNDQuNjg4IDMzLjUwMSw0NC43NSAzMy4zMTMsNDQuNzUgQzMzLjEyNSw0NC43NSAzMi44NzUsNDQuNjg3IDMyLjY4OCw0NC42MjUgQzMyLjI1LDQ0LjQzNyAzMiw0NC4xODcgMzEuODc1LDQzLjc1IEwzMS44NzUsNDMuNzUgWiBNNTIuMzc1LDQuMDYzIEM1Mi41NjMsNC44NzYgNTMsNS41MDEgNTMuNjg4LDUuOTM4IEM1NC4xODgsNi4zMTMgNTQuNzUxLDYuNDM4IDU1LjMxMyw2LjQzOCBDNTUuNTYzLDYuNDM4IDU1Ljc1MSw2LjQzOCA1Ni4wMDEsNi4zNzUgQzU3LjA2NCw2LjE4NyA1OC4wNjQsNi4wNjIgNTkuMTI2LDYuMDYyIEM2MC42MjYsNi4wNjIgNjIuMTI2LDYuMzEyIDYzLjU2NCw2Ljc1IEM2Ni4xMjcsNy41NjMgNjguMzE0LDguOTM4IDcwLjEyNywxMC45MzggQzcxLjk0LDEyLjkzOCA3My4xMjcsMTUuMjUxIDczLjY5LDE3LjkzOCBDNzMuODc4LDE5LjAwMSA3My45NCwyMC4wMDEgNzMuOTQsMjEuMDAxIEM3My45NCwyMi41NjQgNzMuNzUyLDI0LjAwMSA3My4yNTIsMjUuNTAxIEw3My4yNTIsMjUuNTY0IEM3My4xODksMjUuODE0IDczLjEyNywyNi4xODkgNzMuMTI3LDI2LjUwMiBDNzMuMTI3LDI2Ljk0IDczLjI1MiwyNy4zNzcgNzMuNDQsMjcuODc3IEM3My44MTUsMjguNTY1IDc0LjM3OCwyOS4wNjUgNzUuMTksMjkuMzE1IEM3NS41MDMsMjkuMzc4IDc1LjgxNSwyOS40NCA3Ni4xMjgsMjkuNDQgQzc2LjYyOCwyOS40NCA3Ny4wNjYsMjkuMzE1IDc3LjU2NiwyOS4xMjcgQzc4LjI1NCwyOC43NTIgNzguNzU0LDI4LjE4OSA3OS4wMDQsMjcuMzc3IEw3OS4wMDQsMjcuMzE0IEM3OS42OTIsMjUuMzE0IDgwLjA2NywyMy4yNTEgODAuMDY3LDIxLjA2NCBDODAuMDY3LDE5LjYyNiA3OS44NzksMTguMTg5IDc5LjU2NywxNi42ODkgQzc4LjgxNywxMy4wMDEgNzcuMTkyLDkuNzUxIDc0LjYyOSw2LjkzOSBDNzIuMDY2LDQuMTI3IDY5LjAwNCwyLjEyNiA2NS40NDEsMC45MzkgQzYzLjM3OCwwLjMxNCA2MS4yNTMsMC4wMDEgNTkuMDY2LDAuMDAxIEM1Ny42MjgsMC4wMDEgNTYuMTI4LDAuMTI2IDU0LjY5MSwwLjQzOSBDNTMuODc4LDAuNjg5IDUzLjI1MywxLjEyNyA1Mi44MTYsMS44MTQgQzUyLjUwMywyLjMxNCA1Mi4zMTYsMi44MTQgNTIuMzE2LDMuMzc3IEM1Mi4zMTYsMy42MjcgNTIuMzc5LDMuODE1IDUyLjM3OSw0LjA2NSBMNTIuMzc1LDQuMDYzIFogTTU0LjkzOCwxNC4wNjMgQzU1LjEyNiwxNC43NTEgNTUuNTAxLDE1LjMxMyA1Ni4xMjYsMTUuNjg4IEM1Ni41MDEsMTYuMDAxIDU3LjAwMSwxNi4xMjYgNTcuNDM5LDE2LjEyNiBDNTcuNjI3LDE2LjEyNiA1Ny44MTQsMTYuMTI2IDU4LjAwMiwxNi4wNjMgQzU4LjQ0LDE2IDU4Ljg3NywxNS45MzggNTkuMzE1LDE1LjkzOCBDNjAuNjksMTUuOTM4IDYxLjgxNSwxNi41MDEgNjIuNzUzLDE3LjYyNiBDNjMuNjI4LDE4LjU2NCA2NC4xMjgsMTkuNjI2IDY0LjEyOCwyMC44MTQgQzY0LjEyOCwyMS4zMTQgNjQuMDAzLDIxLjg3NyA2My44NzgsMjIuNDM5IEM2My43NTMsMjIuNzUyIDYzLjc1MywyMy4wMDIgNjMuNzUzLDIzLjMxNCBDNjMuNzUzLDIzLjY4OSA2My44MTYsMjQuMDY0IDY0LjAwMywyNC40MzkgQzY0LjMxNiwyNS4wNjQgNjQuODE2LDI1LjUwMiA2NS41MDMsMjUuNzUyIEM2NS43NTMsMjUuODE1IDY2LjA2NiwyNS44NzcgNjYuMzc4LDI1Ljg3NyBDNjYuNzUzLDI1Ljg3NyA2Ny4xMjgsMjUuNzUyIDY3LjUwMywyNS41NjQgQzY4LjEyOCwyNS4yNTEgNjguNTY2LDI0Ljc1MSA2OC43NTMsMjQuMDY0IEM2OS4xMjgsMjMuMDY0IDY5LjMxNiwyMi4wMDEgNjkuMzE2LDIxLjAwMSBDNjkuMzE2LDIwLjMxMyA2OS4yNTMsMTkuNjI2IDY5LjEyOCwxOC44NzYgQzY4LjY5LDE3LjA2MyA2Ny44NzgsMTUuNTAxIDY2LjY5LDE0LjA2MyBDNjQuNjI3LDExLjgxMyA2Mi4xOSwxMC42ODggNTkuMzE1LDEwLjY4OCBDNTguNTY1LDEwLjY4OCA1Ny43NTIsMTAuNzUxIDU2Ljk0LDEwLjkzOCBDNTYuMTksMTEuMTI2IDU1LjYyNywxMS41MDEgNTUuMjUyLDEyLjEyNiBDNTUuMDAyLDEyLjU2NCA1NC44NzcsMTMuMDAxIDU0Ljg3NywxMy40MzkgQzU0Ljg3NywxMy42ODkgNTQuOTQsMTMuODc3IDU0Ljk0LDE0LjA2NCBMNTQuOTM4LDE0LjA2MyBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg=="); } .auth0-lock-social-button[data-provider^=evernote] .auth0-lock-social-button-icon {   background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjU0cHgiIGhlaWdodD0iNjVweCIgdmlld0JveD0iMCAwIDU0IDY1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+ZXZlcm5vdGU8L3RpdGxlPgogICAgPGRlc2M+Q3JlYXRlZCB3aXRoIFNrZXRjaC48L2Rlc2M+CiAgICA8ZGVmcz48L2RlZnM+CiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4KICAgICAgICA8ZyBpZD0iZXZlcm5vdGUiIHNrZXRjaDp0eXBlPSJNU0xheWVyR3JvdXAiIGZpbGw9IiNGRkZGRkYiPgogICAgICAgICAgICA8cGF0aCBkPSJNNy41NDk1MTY1N2UtMTUsMjAuMzc1IEM3LjU0OTUxNjU3ZS0xNSwyMS4xODggMC4wNjMsMjIuMjUgMC4yNSwyMy42ODggQzAuNSwyNS4zNzYgMSwyOC4xODggMS43NSwzMi4xODggQzIuNTYzLDM2LjE4OCAzLjMxMywzOC45MzggNC4wNjMsNDAuNDM4IEM0LjU2Myw0MS42ODggNS4zNzYsNDIuNTAxIDYuMzc2LDQzLjAwMSBDOS40MzksNDQuMzE0IDEzLjYyNiw0NS4zMTQgMTkuMDY0LDQ2LjAwMSBDMjAuMzc3LDQ2LjMxNCAyMS41MDIsNDYuNTAxIDIyLjUwMiw0Ni41MDEgTDIyLjk0LDQ2LjUwMSBDMjQuMDAzLDQ2LjQzOCAyNC44MTUsNDUuOTM4IDI1LjI1Myw0NC44NzYgTDI1LjgxNiw0My4zMTMgQzI2LjU2Niw0MS4wNjMgMjYuOTQxLDM4LjUgMjYuOTQxLDM1LjYyNSBDMjYuOTQxLDM1LjU2MiAyNy4wMDQsMzUuNSAyNy4xMjksMzUuNSBDMjcuMTkyLDM1LjUgMjcuMjU0LDM1LjU2MyAyNy4yNTQsMzUuNjI1IEMyNy4yNTQsMzkuODc1IDI4LjM3OSw0Mi4zNzUgMzAuNjI5LDQzLjI1IEMzMi4wMDQsNDMuNjg4IDM0LjUwNCw0NC4xMjUgMzguMjU0LDQ0LjUgQzM5Ljg3OSw0NC43NSA0MS4xMjksNDUuNDM4IDQxLjg3OSw0Ni41NjMgQzQyLjY5Miw0Ny42ODggNDMuMDY3LDQ5Ljg3NiA0My4wNjcsNTMuMTI2IEM0My4wNjcsNTUuMjUxIDQyLjc1NCw1Ni41NjQgNDIuMDY3LDU3LjE4OSBDNDEuMzc5LDU3Ljc1MiAzOS44MTcsNTguMDAyIDM3LjM3OSw1OC4wMDIgTDM1LjMxNiw1OC4wMDIgQzM1LjAwMyw1OC4wMDIgMzQuNTAzLDU4LjAwMiAzMy44NzgsNTcuODc3IEMzMy4yNTMsNTcuODE0IDMyLjg3OCw1Ny42ODkgMzIuNzUzLDU3LjQzOSBDMzIuNTY1LDU3LjI1MSAzMi40NCw1Ni45MzkgMzIuMjUzLDU2LjU2NCBDMzIuMDY2LDU2LjE4OSAzMi4wMDMsNTUuNjg5IDMyLjAwMyw1NS4wNjQgQzMyLjEyOCw1NC44MTQgMzIuMTI4LDU0LjU2NCAzMi4wNjYsNTQuMzc2IEMzMi4wMDMsNTQuMTI2IDMyLjA2Niw1My45MzggMzIuMzE2LDUzLjc1MSBDMzIuNTY2LDUzLjYyNiAzMi42OTEsNTMuNTAxIDMyLjY5MSw1My4zNzYgQzMyLjYyOCw1My4zMTMgMzIuODE2LDUzLjE4OCAzMy4xOTEsNTMuMTI2IEMzMy41NjYsNTMuMDY0IDMzLjc1NCw1My4wMDEgMzMuNzU0LDUzLjAwMSBDMzMuNzU0LDUyLjkzOCAzMy45NDIsNTIuODc2IDM0LjM3OSw1Mi44NzYgTDM2LjMxNyw1Mi44NzYgQzM2LjU2Nyw1Mi44NzYgMzYuNjkyLDUyLjgxMyAzNi43NTUsNTIuNjg4IEMzNi43NTUsNTIuNTYzIDM2Ljc1NSw1Mi4zMTMgMzYuNjkyLDUxLjkzOCBDMzYuNTY3LDUxLjUgMzYuNTY3LDUxLjEyNSAzNi41NjcsNTAuNzUgQzM2LjU2Nyw1MC41IDM2LjU2Nyw1MC4xODcgMzYuNjMsNDkuODc1IEMzNi42OTMsNDkuNjI1IDM2Ljc1NSw0OS4zNzUgMzYuODE4LDQ5LjE4NyBDMzYuODgxLDQ4Ljk5OSAzNi45NDMsNDguODc0IDM3LjAwNiw0OC42ODcgQzM3LjA2OSw0OC41NjIgMzcuMDA2LDQ4LjQzNyAzNi45NDMsNDguMzc0IEMzNi44OCw0OC4zMTEgMzYuNzU1LDQ4LjMxMSAzNi42Myw0OC4zMTEgTDM0LjgxNyw0OC4zMTEgQzMzLjc1NCw0OC4zMTEgMzIuODc5LDQ4LjMxMSAzMi4yNTQsNDguMzc0IEMzMS4yNTQsNDguNDM3IDMwLjMxNiw0OC43NDkgMjkuMjU0LDQ5LjE4NyBDMjguMjU0LDQ5LjY4NyAyNy41NjYsNTAuNDM3IDI3LjE5MSw1MS42MjUgQzI2Ljc1Myw1Mi43NSAyNi41NjYsNTQuMjUgMjYuNTY2LDU2LjE4OCBDMjYuNTY2LDU5LjYyNiAyNy4zNzksNjEuODc2IDI4Ljk0MSw2My4wMDEgQzMwLjU2Niw2NC4wNjQgMzMuNjkxLDY0LjYyNiAzOC4yNTQsNjQuNjI2IEMzOS45NDIsNjQuNjI2IDQxLjE5Miw2NC41NjMgNDIuMDA0LDY0LjUwMSBDNDIuODc5LDY0LjQzOCA0My43NTQsNjQuMjUxIDQ0Ljc1NCw2NC4wMDEgQzQ1LjY5Miw2My42ODggNDYuNTA0LDYzLjE4OCA0Ny4wNjcsNjIuNTAxIEM0Ny42Myw2MS44MTQgNDguMjU1LDYwLjkzOCA0OC44MTcsNTkuODEzIEM0OS40NDIsNTguNjg4IDUwLjAwNSw1Ny4xODggNTAuNjMsNTUuMzc1IEM1MS43NTUsNTEuODc1IDUyLjY5Myw0Ni41IDUzLjM4LDM5LjEyNSBDNTMuNTA1LDM4IDUzLjU2OCwzNi41IDUzLjU2OCwzNC42MjUgQzUzLjU2OCwzMi4xMjUgNTMuNDQzLDI5IDUzLjI1NSwyNS4xODcgQzUyLjk0MiwxOC41NjIgNTIuNTA1LDE0LjEyNCA1Mi4xMywxMS43NDkgQzUxLjYzLDkuNDM2IDUwLjUwNSw3Ljk5OSA0OC42OTIsNy40MzYgQzQ3LjMxNyw2LjkzNiA0NC41NjcsNi40MzYgNDAuNDQyLDUuOTM2IEMzOC45NDIsNS43NDggMzcuMDA0LDUuNjIzIDM0Ljc1NCw1LjYyMyBDMzMuODE2LDUuNjIzIDMyLjgxNiw1LjYyMyAzMS42OTEsNS42ODYgQzMxLjM3OCwzLjY4NiAzMC40NDEsMi4zNzMgMjguODE2LDEuNjg2IEMyNy4xMjgsMS4wNjEgMjUuMDY2LDAuNjg2IDIyLjUwMywwLjYyMyBMMjEuMzE1LDAuNjIzIEMxOS41MDIsMC42MjMgMTguMzc3LDAuNzQ4IDE3Ljk0LDAuOTk4IEMxNi40NCwxLjQzNiAxNS4zNzcsMi4wNjEgMTQuNzUyLDIuOTk4IEMxNC4xODksMy44MTEgMTMuOTM5LDQuNzQ4IDEzLjkzOSw1LjgxMSBMMTMuOTM5LDkuNTYxIEMxNC4wMDIsMTAuNTYxIDE0LjAwMiwxMS40OTkgMTQuMDAyLDEyLjM3NCBDMTQuMDAyLDEzLjA2MiAxMy44MTQsMTMuNTYyIDEzLjMxNCwxNC4wNjIgQzEyLjgxNCwxNC41IDEyLjMxNCwxNC43NSAxMS42MjYsMTQuNzUgTDUuNjI2LDE0Ljc1IEM0LjM3NiwxNC43NSAzLjM3NiwxNC45MzggMi42MjYsMTUuMzEzIEMxLjg3NiwxNS42MjYgMS4zNzYsMTYuMDYzIDAuOTM4LDE2LjY4OCBDMC4zMTMsMTcuNDM4IDAsMTguNjg4IDAsMjAuMzc2IEw3LjU0OTUxNjU3ZS0xNSwyMC4zNzUgWiBNMC4zNzUsMTIuNzUgQzAuNTYzLDEyLjY4NyAwLjc1LDEyLjU2MiAwLjkzOCwxMi40MzcgQzIuMDAxLDExLjk5OSAzLjMxMywxMS43NDkgNC43NTEsMTEuNzQ5IEwxMC42ODksMTEuNzQ5IEMxMS4xMjcsMTEuNzQ5IDExLjMxNCwxMS41NjEgMTEuMzE0LDExLjEyNCBDMTEuMzE0LDcuNjg2IDExLjI1MSw1LjQzNiAxMS4yNTEsNC40OTkgQzExLjI1MSwzLjMxMSAxMS41MDEsMi4zMTEgMTEuOTM5LDEuNDM2IEwxMi4xODksMS4wNjEgQzEyLjEyNiwxLjA2MSAxMi4xMjYsMS4wNjEgMTIuMTI2LDEuMTI0IEwwLjM3NiwxMi42MjQgTDAuMzc2LDEyLjc0OSBMMC4zNzUsMTIuNzUgWiBNMzYuNzUsMzEuMzEzIEMzNi45MzgsMzAgMzcuMzEzLDI4LjkzOCAzNy45MzgsMjggQzM4LjU2MywyNy4xODcgMzkuNTAxLDI2Ljc1IDQwLjc1MSwyNi43NSBMNDAuOTM5LDI2Ljc1IEM0My41NjQsMjYuODEzIDQ0Ljg3NywyOC42ODggNDQuODc3LDMyLjMxMyBDNDMuMzE0LDMxLjU2MyA0MS42MjcsMzEuMTg4IDM5LjY4OSwzMS4xMjUgQzM4LjYyNiwzMS4xMjUgMzcuNjI2LDMxLjE4OCAzNi43NTEsMzEuMzEzIEwzNi43NSwzMS4zMTMgWiIgaWQ9IlNoYXBlIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4="); } @charset "UTF-8"; /* Animate.css - http://daneden.me/animate Licensed under the MIT license - http://opensource.org/licenses/MIT  Copyright (c) 2015 Daniel Eden */ .animated {   animation-duration: 1s;   animation-fill-mode: both; } .fadeIn {   animation-name: fadeIn; } .fadeInDown {   animation-name: fadeInDown; } .fadeInDownBig {   animation-name: fadeInDownBig; } .fadeInUp {   animation-name: fadeInUp; } .fadeOut {   animation-name: fadeOut; } .fadeOutDownBig {   animation-name: fadeOutDownBig; } @keyframes fadeIn {   0% {     opacity: 0;   }   100% {     opacity: 1;   } } @keyframes fadeInDown {   0% {     opacity: 0;     transform: translate3d(0, -100%, 0);   }   100% {     opacity: 1;     transform: none;   } } @keyframes fadeInDownBig {   0% {     opacity: 0;     transform: translate3d(0, -2000px, 0);   }   100% {     opacity: 1;     transform: none;   } } @keyframes fadeInUp {   0% {     opacity: 0;     transform: translate3d(0, 100%, 0);   }   100% {     opacity: 1;     transform: none;   } } @keyframes fadeOut {   0% {     opacity: 1;   }   100% {     opacity: 0;   } } @keyframes fadeOutDownBig {   0% {     opacity: 1;   }   100% {     opacity: 0;     transform: translate3d(0, 2000px, 0);   } } .slide-enter {   transform: translate3d(100%, 0, 0); } .slide-enter.slide-enter-active {   transform: translate3d(0, 0, 0);   transition: transform 0.3s ease-out; } .slide-exit {   transform: translate3d(0, 0, 0); } .slide-exit.slide-exit-active {   transform: translate3d(100%, 0, 0);   transition: transform 0.3s ease-in; } .vslide-enter {   transform: translate3d(0, 100%, 0); } .vslide-enter.vslide-enter-active {   transform: translate3d(0, 0, 0);   transition: transform 0.35s; } .reverse-vslide-enter {   opacity: 0;   transform: translate3d(0, -100%, 0); } .reverse-vslide-enter.reverse-vslide-enter-active {   opacity: 1;   transform: translate3d(0, 0, 0);   transition: transform 0.35s; } .vslide-exit {   transform: translate3d(0, 0, 0); } .vslide-exit.vslide-exit-active {   transform: translate3d(0, 100%, 0);   transition: transform 0.35s; } .horizontal-fade-enter {   position: relative;   top: 0;   left: 0;   z-index: 1;   transform: translate3d(100%, 0, 0); } .horizontal-fade-enter.horizontal-fade-enter-active {   transform: none;   transition: transform 0.5s; } .horizontal-fade-exit {   opacity: 1;   position: absolute;   width: 100%;   top: 0;   left: 0; } .horizontal-fade-exit.horizontal-fade-exit-active {   opacity: 0;   transform: translate3d(-100%, 0, 0);   transition: transform 0.5s, opacity 1s linear; } .reverse-horizontal-fade-enter {   position: relative;   top: 0;   left: 0;   z-index: 1;   transform: translate3d(-100%, 0, 0); } .reverse-horizontal-fade-enter.reverse-horizontal-fade-enter-active {   transform: none;   transition: transform 0.5s; } .reverse-horizontal-fade-exit {   opacity: 1;   position: absolute;   width: 100%;   top: 0;   left: 0; } .reverse-horizontal-fade-exit.reverse-horizontal-fade-exit-active {   opacity: 0;   transform: translate3d(100%, 0, 0);   transition: transform 0.5s, opacity 1s linear; } .fade-enter {   position: relative;   top: 0;   left: 0;   z-index: 1; } .fade-exit {   opacity: 1;   position: absolute;   width: 100%;   top: 0;   left: 0;   opacity: 1; } .fade-exit.fade-exit-active {   opacity: 0;   transition: opacity 0.5s linear; } @keyframes stroke {   100% {     stroke-dashoffset: 0;   } } @keyframes scale {   0%, 100% {     transform: none;   }   50% {     transform: scale3d(1.1, 1.1, 1);   } } @keyframes fill {   100% {     box-shadow: inset 0px 0px 0px 30px #7ac142;   } } @keyframes rotate {   0% {     transform: rotate(0deg);   }   100% {     transform: rotate(360deg);   } } @media screen and (max-width: 480px) {   html.auth0-lock-html body > * {     display: none;   }   html.auth0-lock-html body .auth0-lock-container {     background: #fff;     display: block !important;   } } .auto-height {   height: auto !important; } .auth0-lock.auth0-lock, .auth0-lock.auth0-lock * {   box-sizing: initial; } .auth0-lock.auth0-lock svg {   background-color: transparent; } .auth0-lock.auth0-lock .auth0-global-message {   color: #fff;   text-align: center;   padding: 10px;   line-height: 1.8;   font-size: 11px;   font-weight: 600;   text-transform: uppercase; } .auth0-lock.auth0-lock .auth0-global-message.auth0-global-message-error {   background: #ff3e00; } .auth0-lock.auth0-lock .auth0-global-message.auth0-global-message-success {   background: #7ed321; } .auth0-lock.auth0-lock .auth0-global-message.auth0-global-message-info {   background: #44c7f4; } .auth0-lock.auth0-lock .auth0-global-message.global-message-enter {   height: 0;   paddingTop: 0;   paddingBottom: 0; } .auth0-lock.auth0-lock .auth0-global-message.global-message-enter.global-message-enter-active {   transition: all 0.2s;   height: auto;   paddingTop: 10px;   paddingBottom: 10px; } .auth0-lock.auth0-lock .auth0-global-message.global-message-exit {   transition: all 0.2s;   height: 0;   paddingTop: 0;   paddingBottom: 0; } .auth0-lock.auth0-lock .auth0-global-message span {   animation-delay: 0.2s; } .auth0-lock.auth0-lock {   font-family: "Avenir Next", Avenir, -apple-system, BlinkMacSystemFont, Roboto, Helvetica, sans-serif;   text-rendering: optimizeLegibility;   pointer-events: none;   position: fixed;   bottom: 0;   left: 0;   width: 100%;   height: 100%;   right: 0;   z-index: 1000000; } .auth0-lock.auth0-lock a {   text-decoration: none; } .auth0-lock.auth0-lock a:active, .auth0-lock.auth0-lock a:focus {   outline: none; } .auth0-lock.auth0-lock input:focus, .auth0-lock.auth0-lock button:focus {   outline: none; } .auth0-lock.auth0-lock .auth0-lock-overlay {   background: radial-gradient(#40404b, #111118) rgba(34,34,40,0.94);   position: fixed;   top: 0;   bottom: 0;   right: 0;   left: 0;   z-index: -1;   opacity: 0;   transition: opacity 0.2s ease-in 0.4s; } .auth0-lock.auth0-lock .auth0-lock-center {   box-sizing: border-box; } @media (min-width: 481px) {   .auth0-lock.auth0-lock .auth0-lock-center {     padding: 40px;     height: 100%;     display: -ms-flexbox;     display: flex;   } } .auth0-lock.auth0-lock .auth0-lock-widget {   width: 300px;   opacity: 0;   transform: translateY(100%) scale(0.8);   transition-timing-function: cubic-bezier(0.3, 0, 0, 1.4);   margin: auto;   border-radius: 5px; } @media (min-width: 481px) {   .auth0-lock.auth0-lock .auth0-lock-widget {     transition: transform 0.4s, opacity 0.3s;   } } .auth0-lock.auth0-lock .auth0-lock-widget-container {   position: relative; } .auth0-lock.auth0-lock .auth0-lock-cred-pane {   background: #fff;   border-radius: 6px;   position: relative;   display: -ms-flexbox;   display: flex;   -ms-flex-direction: column;       flex-direction: column;   height: 100%;   min-height: 100%; } .auth0-lock.auth0-lock .auth0-lock-cred-pane.horizontal-fade-exit .auth0-lock-content, .auth0-lock.auth0-lock .auth0-lock-cred-pane.horizontal-fade-exit .auth0-lock-terms {   opacity: 0.3;   pointer-events: none; } .auth0-lock.auth0-lock .auth0-lock-cred-pane.auth0-lock-moving {   overflow: hidden; } .auth0-lock.auth0-lock .auth0-lock-cred-pane-internal-wrapper {   display: -ms-flexbox;   display: flex;   -ms-flex-direction: column;       flex-direction: column;   height: 100vh;   height: calc(var(--vh, 1vh) * 100);   max-height: auto; } @media (min-width: 481px) {   .auth0-lock.auth0-lock .auth0-lock-cred-pane-internal-wrapper {     min-height: auto;     height: auto;   } } .auth0-lock.auth0-lock .auth0-lock-header {   text-align: center;   padding: 11px;   color: #333;   position: relative;   background: #fff;   border-radius: 5px 5px 0 0;   overflow: hidden;   box-sizing: border-box;   display: -ms-flexbox;   display: flex;   -ms-flex-direction: column;       flex-direction: column;   -ms-flex-pack: center;       justify-content: center;   -ms-flex-negative: 0;       flex-shrink: 0;   -ms-flex-positive: 0;       flex-grow: 0;   -ms-flex-preferred-size: auto;       flex-basis: auto; } .auth0-lock.auth0-lock .auth0-lock-content-wrapper {   -ms-flex-positive: 1;       flex-grow: 1;   -ms-flex-negative: 1;       flex-shrink: 1;   -ms-flex-preferred-size: auto;       flex-basis: auto;   -webkit-overflow-scrolling: touch;   overflow-x: auto; } @media (min-width: 481px) {   .auth0-lock.auth0-lock .auth0-lock-content-wrapper {     overflow-x: inherit;   } } .auth0-lock.auth0-lock .auth0-lock-close-button, .auth0-lock.auth0-lock .auth0-lock-back-button {   box-sizing: content-box !important;   background: #fff;   border-radius: 100px;   height: 10px;   width: 10px;   padding: 0;   position: absolute;   top: 14px;   right: 14px;   box-shadow: 0 1px 3px rgba(0,0,0,0.1);   color: #333;   z-index: 100;   border: 6px solid #fff;   cursor: pointer;   line-height: 0; } .auth0-lock.auth0-lock .auth0-lock-close-button:focus, .auth0-lock.auth0-lock .auth0-lock-back-button:focus {   outline: none;   box-shadow: 0 3px 3px rgba(0,0,0,0.3); } .auth0-lock.auth0-lock .auth0-lock-close-button svg, .auth0-lock.auth0-lock .auth0-lock-back-button svg {   box-sizing: content-box; } .auth0-lock.auth0-lock .auth0-lock-close-button polygon, .auth0-lock.auth0-lock .auth0-lock-back-button polygon {   fill: #373737; } .auth0-lock.auth0-lock .auth0-lock-back-button {   left: 14px; } .auth0-lock.auth0-lock .auth0-lock-header-avatar {   height: 80px;   width: 80px;   display: block;   border-radius: 100px;   margin: -16px auto 0;   position: absolute;   left: 0;   right: 0;   z-index: 1000;   box-shadow: 0 1px 2px rgba(0,0,0,0.4);   animation: fadeIn 0.75s both; } @media (min-width: 768px) {   .auth0-lock.auth0-lock .auth0-lock-header-avatar {     animation: fadeInDown 0.75s both;   } } .auth0-lock.auth0-lock .auth0-lock-header-bg {   position: absolute;   height: 100%;   width: 100%;   overflow: hidden;   top: 0;   left: 0;   pointer-events: none; } @media (min-width: 481px) {   .auth0-lock.auth0-lock .auth0-lock-header-bg {     background: rgba(241,241,241,0.8);   } } .auth0-lock.auth0-lock .auth0-lock-header-bg .auth0-lock-header-bg-blur {   display: none;   height: 100%;   width: 100%;   border-top-left-radius: 5px;   border-top-right-radius: 5px;   -ms-filter: blur(40px) grayscale(1);   filter: blur(40px) grayscale(1);   -webkit-backdrop-filter: blur(0);   background-color: #fff;   background-position: center;   background-repeat: no-repeat;   background-size: 300px;   opacity: 0;   transition: 0s ease 0s; } .auth0-lock.auth0-lock .auth0-lock-header-bg .auth0-lock-header-bg-blur.auth0-lock-no-grayscale {   -ms-filter: blur(30px);   filter: blur(30px);   -webkit-backdrop-filter: blur(0);   background-position: center;   background-size: 800px; } @media (min-width: 481px) {   .auth0-lock.auth0-lock .auth0-lock-header-bg.auth0-lock-blur-support .auth0-lock-header-bg-blur {     display: block;   } } .auth0-lock.auth0-lock .auth0-lock-header-bg .auth0-lock-header-bg-solid {   height: 100%;   opacity: 0.08; } .auth0-lock.auth0-lock .auth0-lock-header-welcome {   font-size: 18px;   position: relative; } .auth0-lock.auth0-lock .auth0-lock-header-logo {   width: auto;   height: 58px;   display: inline-block;   margin: 0 0 11px;   vertical-align: middle; } .auth0-lock.auth0-lock .auth0-lock-header-logo.centered {   margin-top: 20px; } .auth0-lock.auth0-lock .auth0-lock-firstname {   font-size: 18px;   margin-top: 64px;   text-overflow: ellipsis;   white-space: nowrap;   overflow: hidden;   padding: 0 10px; } .auth0-lock.auth0-lock .auth0-lock-name {   font-size: 22px;   padding: 0 10px;   line-height: 30px; } .auth0-lock.auth0-lock .auth0-lock-content {   box-sizing: border-box; } .auth0-lock.auth0-lock .auth0-lock-form {   padding: 20px; } .auth0-lock.auth0-lock .auth0-lock-form h2 {   font-size: 22px;   font-weight: normal;   text-align: center;   margin: 0 0 15px;   color: #000; } .auth0-lock.auth0-lock .auth0-lock-form p {   font-size: 13px;   line-height: 1.8;   text-align: center;   margin-top: 0;   margin-bottom: 15px;   color: rgba(0,0,0,0.54); } .auth0-lock.auth0-lock .auth0-lock-form .auth0-lock-alternative {   margin-top: 20px;   margin-bottom: 0; } .auth0-lock.auth0-lock .auth0-lock-form .auth0-lock-alternative .auth0-lock-alternative-link {   font-size: 13px;   color: rgba(0,0,0,0.87);   cursor: pointer;   margin-bottom: 0; } .auth0-lock.auth0-lock .auth0-lock-form .auth0-lock-alternative .auth0-lock-alternative-link:focus {   text-decoration: underline; } .auth0-lock.auth0-lock .auth0-lock-input-block {   position: relative;   margin-bottom: 15px; } @media (min-width: 481px) {   .auth0-lock.auth0-lock .auth0-lock-input-block {     margin-bottom: 10px;   } } .auth0-lock.auth0-lock .auth0-lock-input-block:last-child {   margin-bottom: 0; } .auth0-lock.auth0-lock .auth0-lock-captcha {   position: relative;   height: 72px;   margin-bottom: 10px;   background: #fff;   border: 1px solid #eee;   border-radius: 3px;   margin-top: 24px; } .auth0-lock.auth0-lock .auth0-lock-captcha .auth0-lock-captcha-image {   position: absolute;   width: 120px;   height: 40px;   left: 16px;   top: 16px;   background-size: contain; } .auth0-lock.auth0-lock .auth0-lock-captcha .auth0-lock-captcha-refresh {   position: absolute;   width: 40px;   height: 40px;   right: 16px;   top: 16px;   border: 1px solid #eee;   border-radius: 3px;   padding: 0; } .auth0-lock.auth0-lock .auth0-lock-captcha .auth0-lock-captcha-refresh svg, .auth0-lock.auth0-lock .auth0-lock-captcha .auth0-lock-captcha-refresh .test-titi {   position: absolute;   top: 12.5px;   left: 12.5px;   width: 15px;   height: 15px;   margin: 0;   padding: 0;   background-color: transparent; } .auth0-lock.auth0-lock .auth0-lock-captcha .auth0-lock-captcha-refresh svg path, .auth0-lock.auth0-lock .auth0-lock-captcha .auth0-lock-captcha-refresh .test-titi path {   fill: #888; } .auth0-lock.auth0-lock .auth0-lock-input-block.auth0-lock-input-captcha svg.auth0-lock-icon {   width: 20px;   height: 20px;   top: 10px;   left: 9.5px; } .auth0-lock.auth0-lock .auth0-lock-input-wrap {   border-radius: 3px;   border: 1px solid #f1f1f1;   position: relative;   background: #f1f1f1;   transition: border-color 0.8s; } .auth0-lock.auth0-lock .auth0-lock-input-wrap.auth0-lock-input-wrap-with-icon {   padding-left: 40px; } .auth0-lock.auth0-lock .auth0-lock-input-wrap .auth0-lock-icon-arrow {   position: absolute;   top: 14px;   width: 12px;   height: 14px;   right: 14px;   pointer-events: none; } .auth0-lock.auth0-lock .auth0-lock-input-wrap .auth0-lock-icon, .auth0-lock.auth0-lock .auth0-lock-input-wrap .auth0-lock-custom-icon {   position: absolute;   font-size: 12px;   top: 13px;   left: 14px; } .auth0-lock.auth0-lock .auth0-lock-input-wrap .auth0-lock-icon path, .auth0-lock.auth0-lock .auth0-lock-input-wrap .auth0-lock-custom-icon path {   fill: #888; } .auth0-lock.auth0-lock .auth0-lock-input-wrap .auth0-lock-icon.auth0-lock-icon-mobile, .auth0-lock.auth0-lock .auth0-lock-input-wrap .auth0-lock-custom-icon.auth0-lock-icon-mobile {   width: 9px;   height: 14px;   top: 14px;   left: 16px; } .auth0-lock.auth0-lock .auth0-lock-input-wrap .auth0-lock-icon.auth0-lock-icon-box, .auth0-lock.auth0-lock .auth0-lock-input-wrap .auth0-lock-custom-icon.auth0-lock-icon-box {   width: 12px;   height: 14px;   top: auto;   bottom: 14px;   left: 14px; } .auth0-lock.auth0-lock .auth0-lock-input-wrap.auth0-lock-focused {   border-color: #a0a0a0; } .auth0-lock.auth0-lock .auth0-lock-input-wrap .auth0-lock-input {   border: 0;   padding: 0 14px;   right: 0;   height: 40px;   font-size: 13px;   width: 100%;   border-radius: 0 2px 2px 0;   box-sizing: border-box;   position: relative;   color: rgba(0,0,0,0.87); } .auth0-lock.auth0-lock .auth0-lock-input-wrap .auth0-lock-input.animated {   animation-duration: 0.5s; } .auth0-lock.auth0-lock .auth0-lock-input-wrap .auth0-lock-input.auth0-lock-input-location {   background-color: #f9f9f9;   text-align: left; } .auth0-lock.auth0-lock .auth0-lock-input-wrap .auth0-lock-input.auth0-lock-input-location.auth0-lock-input-with-placeholder {   color: rgba(0,0,0,0.54); } .auth0-lock.auth0-lock .auth0-lock-error .auth0-lock-input-wrap {   border-color: #f00;   transition: 0.3s ease-in-out; } .auth0-lock.auth0-lock .auth0-lock-input-checkbox {   text-align: left;   display: block;   font-size: 12px;   color: rgba(0,0,0,0.54);   line-height: 22px;   position: relative; } .auth0-lock.auth0-lock .auth0-lock-input-checkbox label input {   float: left;   margin-top: 5px; } .auth0-lock.auth0-lock .auth0-lock-input-checkbox span {   display: block;   margin-left: 20px; } .auth0-lock.auth0-lock .auth-lock-social-buttons-pane, .auth0-lock.auth0-lock .auth0-lock-last-login-pane {   position: relative; } .auth0-lock.auth0-lock .auth-lock-social-buttons-pane .auth0-loading-container, .auth0-lock.auth0-lock .auth0-lock-last-login-pane .auth0-loading-container {   animation: fadeIn 0.75s ease-in-out !important;   position: absolute;   width: 54px;   height: 54px;   top: 50%;   left: 50%;   transform: translate(-50%, -50%); } .auth0-lock.auth0-lock .auth-lock-social-buttons-pane .auth0-loading-container .auth0-loading, .auth0-lock.auth0-lock .auth0-lock-last-login-pane .auth0-loading-container .auth0-loading {   width: 50px;   height: 50px;   border-radius: 50%;   top: 0;   left: 0;   opacity: 1; } .auth0-lock.auth0-lock .auth0-lock-social-buttons-container {   text-align: center; } .auth0-lock.auth0-lock .auth0-lock-social-button {   border: 0;   padding: 0;   display: inline-block;   box-sizing: border-box;   overflow: hidden;   border-radius: 3px;   margin: 4px;   position: relative;   width: 40px;   height: 40px;   transition: background-color 0.2s ease-in-out;   cursor: pointer;   -webkit-appearance: none !important;   -moz-appearance: none !important;        appearance: none !important; } .auth0-lock.auth0-lock .auth0-lock-social-button[data-provider^=google] .auth0-lock-social-button-text {   color: #333 !important; } .auth0-lock.auth0-lock .auth0-lock-social-button[data-provider^=google] .auth0-lock-social-button-icon {   height: 36px;   width: 36px; } .auth0-lock.auth0-lock .auth0-lock-social-button[data-provider^=google]:hover:not([disabled]) .auth0-lock-social-button-icon, .auth0-lock.auth0-lock .auth0-lock-social-button[data-provider^=google]:focus:not([disabled]) .auth0-lock-social-button-icon, .auth0-lock.auth0-lock .auth0-lock-social-button[data-provider^=google]:hover:not([disabled]) .auth0-lock-social-button-text, .auth0-lock.auth0-lock .auth0-lock-social-button[data-provider^=google]:focus:not([disabled]) .auth0-lock-social-button-text {   background-color: #f0f0f0 !important; } .auth0-lock.auth0-lock .auth0-lock-social-button[data-provider^=google].auth0-lock-social-big-button {   background-color: #fff;   border: 1px solid #dee0e2; } .auth0-lock.auth0-lock .auth0-lock-social-button[data-provider^=google].auth0-lock-social-big-button .auth0-lock-social-button-icon {   width: 38px; } .auth0-lock.auth0-lock .auth0-lock-social-button .auth0-lock-social-button-icon {   box-sizing: content-box;   width: 40px;   height: 40px;   position: absolute;   top: 0;   left: 0;   transition: background-color 0.3s, border 0.2s ease-in-out;   -webkit-transition: background-color 0.3s, border 0.2s ease-in-out; } .auth0-lock.auth0-lock .auth0-lock-social-button .auth0-lock-social-button-text {   display: none; } .auth0-lock.auth0-lock .auth0-lock-social-button.auth0-lock-social-big-button {   display: block;   margin: 10px 0 0;   width: 100%; } .auth0-lock.auth0-lock .auth0-lock-social-button.auth0-lock-social-big-button:first-child {   margin-top: 0; } .auth0-lock.auth0-lock .auth0-lock-social-button.auth0-lock-social-big-button[data-provider=""], .auth0-lock.auth0-lock .auth0-lock-social-button.auth0-lock-social-big-button[data-provider="auth0"] {   background-color: #c0c0c0; } .auth0-lock.auth0-lock .auth0-lock-social-button.auth0-lock-social-big-button[data-provider=""] .auth0-lock-social-button-icon, .auth0-lock.auth0-lock .auth0-lock-social-button.auth0-lock-social-big-button[data-provider="auth0"] .auth0-lock-social-button-icon {   background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iNTNweCIgaGVpZ2h0PSI2NXB4IiB2aWV3Qm94PSIwIDAgNTMgNjUiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+ICAgICAgICA8dGl0bGU+U2hhcGU8L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGRlZnM+PC9kZWZzPiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4gICAgICAgIDxnIGlkPSI2NHB4IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMTE1My4wMDAwMDAsIC02MDMzLjAwMDAwMCkiIGZpbGw9IiNGRkZGRkYiPiAgICAgICAgICAgIDxwYXRoIGQ9Ik0xMTYxLjEyNSw2MDk4IEMxMTU2LjYzNzk3LDYwOTggMTE1Myw2MDk0LjM2MTg2IDExNTMsNjA4OS44NzU2MyBMMTE1Myw2MDY1LjQ5OTQ5IEMxMTUzLDYwNjEuMDEyMjUgMTE1Ni42Mzc5Nyw2MDU3LjM3MzEgMTE2MS4xMjUsNjA1Ny4zNzMxIEwxMTYxLjEyNSw2MDUxLjI4MjExIEMxMTYxLjEyNSw2MDQxLjE4NjMyIDExNjkuMzA5OTIsNjAzMyAxMTc5LjQwNjI1LDYwMzMgQzExODkuNTAyNTgsNjAzMyAxMTk3LjY4NzUsNjA0MS4xODYzMiAxMTk3LjY4NzUsNjA1MS4yODIxMSBMMTE5Ny42ODc1LDYwNTcuMzc0MTEgQzEyMDIuMTc0NTMsNjA1Ny4zNzQxMSAxMjA1LjgxMjUsNjA2MS4wMTIyNSAxMjA1LjgxMjUsNjA2NS40OTk0OSBMMTIwNS44MTI1LDYwODkuODc1NjMgQzEyMDUuODEyNSw2MDk0LjM2MTg2IDEyMDIuMTc0NTMsNjA5OCAxMTk3LjY4NzUsNjA5OCBMMTE2MS4xMjUsNjA5OCBaIE0xMTkzLjYyNjAyLDYwNTEuMjgyMTEgQzExOTMuNjI2MDIsNjA0My40Mjk5NCAxMTg3LjI1OTA2LDYwMzcuMDYyNjkgMTE3OS40MDcyNyw2MDM3LjA2MjY5IEMxMTcxLjU1NTQ3LDYwMzcuMDYyNjkgMTE2NS4xODg1Miw2MDQzLjQyOTk0IDExNjUuMTg4NTIsNjA1MS4yODIxMSBMMTE2NS4xODg1Miw2MDU3LjM3MzEgTDExOTMuNjI2MDIsNjA1Ny4zNzMxIEwxMTkzLjYyNjAyLDYwNTEuMjgyMTEgTDExOTMuNjI2MDIsNjA1MS4yODIxMSBaIE0xMjAxLjc1LDYwNjUuNDk5NDkgQzEyMDEuNzUsNjA2My4yNTQ4NiAxMTk5LjkzMTAyLDYwNjEuNDM1NzkgMTE5Ny42ODc1LDYwNjEuNDM1NzkgTDExNjEuMTI1LDYwNjEuNDM1NzkgQzExNTguODgxNDgsNjA2MS40MzU3OSAxMTU3LjA2MjUsNjA2My4yNTQ4NiAxMTU3LjA2MjUsNjA2NS40OTk0OSBMMTE1Ny4wNjI1LDYwODkuODc1NjMgQzExNTcuMDYyNSw2MDkyLjExNjIxIDExNTguODgxNDgsNjA5My45MzUyOCAxMTYxLjEyNSw2MDkzLjkzNTI4IEwxMTk3LjY4NzUsNjA5My45MzUyOCBDMTE5OS45MzEwMiw2MDkzLjkzNTI4IDEyMDEuNzUsNjA5Mi4xMTYyMSAxMjAxLjc1LDYwODkuODc1NjMgTDEyMDEuNzUsNjA2NS40OTk0OSBMMTIwMS43NSw2MDY1LjQ5OTQ5IFogTTExNzcuMzc1LDYwODMuNzgwNTggTDExNzcuMzc1LDYwNzEuNTkyNTEgQzExNzcuMzc1LDYwNzAuNDcxMjEgMTE3OC4yODM5OCw2MDY5LjU2MTE3IDExNzkuNDA2MjUsNjA2OS41NjExNyBDMTE4MC41Mjg1Miw2MDY5LjU2MTE3IDExODEuNDM3NSw2MDcwLjQ3MTIxIDExODEuNDM3NSw2MDcxLjU5MjUxIEwxMTgxLjQzNzUsNjA4My43ODA1OCBDMTE4MS40Mzc1LDYwODQuOTAwODcgMTE4MC41Mjg1Miw2MDg1LjgxMDkxIDExNzkuNDA2MjUsNjA4NS44MTA5MSBDMTE3OC4yODUsNjA4NS44MTA5MSAxMTc3LjM3NSw2MDg0LjkwMDg3IDExNzcuMzc1LDYwODMuNzgwNTggWiIgaWQ9IlNoYXBlIj48L3BhdGg+ICAgICAgICA8L2c+ICAgIDwvZz48L3N2Zz4=");   background-size: 38%; } .auth0-lock.auth0-lock .auth0-lock-social-button.auth0-lock-social-big-button .auth0-lock-social-button-text {   box-sizing: border-box;   display: block;   overflow: hidden;   width: 100%;   padding-left: 50px;   padding-right: 15px;   line-height: 40px;   text-align: left;   text-overflow: ellipsis;   font-size: 14px;   font-weight: 500;   color: #fff;   white-space: nowrap;   transition: background 0.3s;   -webkit-transition: background 0.3s; } @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {   .auth0-lock.auth0-lock .auth0-lock-social-button.auth0-lock-social-big-button .auth0-lock-social-button-text {     font-weight: 600;   } } .auth0-lock.auth0-lock .auth0-lock-social-button.auth0-lock-social-big-button:hover:not([disabled]) .auth0-lock-social-button-text, .auth0-lock.auth0-lock .auth0-lock-social-button.auth0-lock-social-big-button:focus:not([disabled]) .auth0-lock-social-button-text {   background-color: rgba(0,0,0,0.3); } .auth0-lock.auth0-lock .auth0-lock-social-button[disabled] {   background-color: #9b9b9b !important; } .auth0-lock.auth0-lock .auth0-lock-terms {   background: #eee;   text-align: center;   display: block;   font-size: 12px;   color: rgba(0,0,0,0.54);   line-height: 22px;   padding: 10px;   position: relative; } .auth0-lock.auth0-lock .auth0-lock-terms a {   color: rgba(0,0,0,0.87); } .auth0-lock.auth0-lock .auth0-lock-submit {   border: 0;   padding: 14px;   display: block;   box-sizing: border-box;   width: 100%;   overflow: hidden;   border-radius: 0 0 5px 5px;   transition: 0.2s ease-in-out;   color: #fff;   letter-spacing: 1px;   font-size: 14px;   text-transform: uppercase;   -ms-flex-negative: 0;       flex-shrink: 0;   -ms-flex-positive: 0;       flex-grow: 0;   -ms-flex-preferred-size: auto;       flex-basis: auto; /*submit button animation*/ } .auth0-lock.auth0-lock .auth0-lock-submit span {   display: inline-block;   transition: 0.2s ease-in-out; } .auth0-lock.auth0-lock .auth0-lock-submit span svg {   vertical-align: middle;   display: inline; } .auth0-lock.auth0-lock .auth0-lock-submit span svg.icon-text {   margin: -4px 0 0 5px; } .auth0-lock.auth0-lock .auth0-lock-submit .auth0-label-submit {   height: 42px;   line-height: 42px; } @media (min-width: 481px) {   .auth0-lock.auth0-lock .auth0-lock-submit:hover:not([disabled]) span {     transform: scale(1.05);   } } .auth0-lock.auth0-lock .auth0-lock-submit:focus {   box-shadow: inset 0 0 100px 20px rgba(0,0,0,0.2); } .auth0-lock.auth0-lock .auth0-lock-submit[disabled] {   background-color: #9b9b9b !important; } .auth0-lock.auth0-lock .auth0-lock-submit[disabled] span svg circle, .auth0-lock.auth0-lock .auth0-lock-submit[disabled] span svg path {   stroke: rgba(255,255,255,0.6);   transition: 0.2s ease-in-out; } .auth0-lock.auth0-lock .auth0-lock-submit[disabled] span svg path {   fill: rgba(255,255,255,0.6); } .auth0-lock.auth0-lock .auth0-lock-submit.vslide-enter {   opacity: 0; } .auth0-lock.auth0-lock .auth0-lock-submit.vslide-enter.vslide-enter-active {   opacity: 1;   transition-duration: 0.5s; } .auth0-lock.auth0-lock .auth0-lock-submit-container {   -ms-flex-negative: 0;       flex-shrink: 0; } .auth0-lock.auth0-lock .auth0-loading-container {   position: relative;   display: none; } .auth0-lock.auth0-lock .auth0-loading-container .auth0-loading {   position: absolute;   top: 4px;   left: 44%;   width: 30px;   height: 30px;   border-width: 2px;   border-style: solid;   border-color: rgba(0,0,0,0.4) rgba(0,0,0,0.4) rgba(0,0,0,0.2) rgba(0,0,0,0.2);   opacity: 0.9;   border-radius: 20px;   animation: rotate 1s linear infinite; } .auth0-lock.auth0-lock.auth0-lock-mode-loading .auth0-lock-content, .auth0-lock.auth0-lock.auth0-lock-mode-loading .auth0-lock-terms {   opacity: 0.3;   pointer-events: none; } .auth0-lock.auth0-lock.auth0-lock-mode-loading .auth0-lock-submit {   background-color: #eee !important;   transition: background 0.5s ease;   cursor: initial;   pointer-events: none; } .auth0-lock.auth0-lock.auth0-lock-mode-loading .auth0-lock-submit span {   animation: fadeOutDownBig 1s both; } .auth0-lock.auth0-lock.auth0-lock-mode-loading .auth0-loading-container {   animation: fadeInDownBig 1s both;   display: block; } .auth0-lock.auth0-lock.auth0-lock-mode-loading .auth0-lock-back-button {   opacity: 0;   visibility: hidden;   transition: 0.25s; } .auth0-lock.auth0-lock.auth0-lock-auxiliary .auth0-lock-header-avatar {   animation: fadeOut 0.3s both; } .auth0-lock.auth0-lock.auth0-lock-auxiliary .auth0-lock-content, .auth0-lock.auth0-lock.auth0-lock-auxiliary .auth0-lock-terms, .auth0-lock.auth0-lock.auth0-lock-auxiliary .auth0-lock-submit {   opacity: 0.3;   pointer-events: none; } .auth0-lock.auth0-lock.auth0-lock-auxiliary .auth0-lock-back-button {   opacity: 0;   visibility: hidden;   transition: 0.25s; } .auth0-lock.auth0-lock .auth0-lock-select-country {   background-color: #fff;   position: absolute;   padding: 0;   font-size: 14px;   color: #666;   bottom: 0;   top: 0;   right: 0;   left: 0;   border-radius: 5px;   overflow: hidden;   z-index: 200; } .auth0-lock.auth0-lock .auth0-lock-select-country .auth0-lock-back-button {   opacity: 1;   visibility: visible;   top: 19px; } .auth0-lock.auth0-lock .auth0-lock-select-country .auth0-lock-search {   background-color: #e3e5e9;   padding: 10px; } .auth0-lock.auth0-lock .auth0-lock-select-country .auth0-lock-input-wrap {   margin: 0;   border: none;   margin-left: 40px;   overflow: hidden; } .auth0-lock.auth0-lock .auth0-lock-select-country .auth0-lock-icon {   width: 16px;   height: 16px;   top: 12px;   left: 9px;   z-index: 1; } .auth0-lock.auth0-lock .auth0-lock-select-country .auth0-lock-input-search {   border: none; } .auth0-lock.auth0-lock .auth0-lock-select-country .auth0-lock-list-code {   position: relative;   height: calc(100% - 60px);   overflow-y: scroll; } .auth0-lock.auth0-lock .auth0-lock-select-country .auth0-lock-list-code ul {   margin: 0;   padding: 0; } .auth0-lock.auth0-lock .auth0-lock-select-country .auth0-lock-list-code li {   list-style: none;   text-align: left;   border-bottom: 1px solid #eee;   cursor: pointer;   color: #000;   font-size: 14px;   padding: 15px 20px;   margin: 0;   text-overflow: ellipsis;   width: 100%;   white-space: nowrap;   overflow: hidden;   box-sizing: border-box; } @media (min-width: 481px) {   .auth0-lock.auth0-lock .auth0-lock-select-country .auth0-lock-list-code li {     padding: 10px 20px;   } } .auth0-lock.auth0-lock .auth0-lock-select-country .auth0-lock-list-code li.auth0-lock-list-code-highlighted {   background-color: #2eb5ff;   color: #fff; } .auth0-lock.auth0-lock .auth0-lock-confirmation {   background-color: #fff;   position: absolute;   text-align: center;   line-height: 2;   font-size: 14px;   color: #666;   width: 100%;   height: 100%;   top: 0;   left: 0;   z-index: 200;   border-radius: 5px; } .auth0-lock.auth0-lock .auth0-lock-confirmation .auth0-lock-confirmation-content {   width: 100%;   top: 50%;   left: 50%;   transform: translate(-50%, -50%);   position: absolute; } .auth0-lock.auth0-lock .auth0-lock-confirmation p {   padding: 0 14px;   margin-bottom: 6px; } .auth0-lock.auth0-lock .auth0-lock-confirmation a {   display: block;   font-weight: 500;   color: #09c; } .auth0-lock.auth0-lock .auth0-lock-confirmation a svg {   width: 15px;   height: 16px;   margin-bottom: -4px;   margin-left: 0px;   display: inline-block;   transition: transform 1s ease;   transform: rotate(120deg); } .auth0-lock.auth0-lock .auth0-lock-confirmation a svg path {   fill: #09c; } .auth0-lock.auth0-lock .auth0-lock-confirmation a:hover svg {   transform: rotate(490deg); } .auth0-lock.auth0-lock .auth0-lock-confirmation .auth0-lock-sent-label {   color: #008000;   animation: fadeIn 1s both;   font-weight: 600; } .auth0-lock.auth0-lock .auth0-lock-confirmation .auth0-lock-sent-failed-label {   color: #f00;   animation: fadeIn 1s both;   font-weight: 600; } .auth0-lock.auth0-lock .auth0-lock-confirmation .checkmark__circle {   stroke-dasharray: 166;   stroke-dashoffset: 166;   stroke-width: 2;   stroke-miterlimit: 10;   stroke: #7ac142;   fill: none;   animation: stroke 0.6s 0.4s cubic-bezier(0.65, 0, 0.45, 1) forwards; } .auth0-lock.auth0-lock .auth0-lock-confirmation .checkmark {   width: 56px;   height: 56px;   border-radius: 50%;   display: block;   stroke-width: 2;   stroke: #fff;   stroke-miterlimit: 10;   margin: 0 auto;   box-shadow: inset 0px 0px 0px #7ac142;   animation: fill 0.4s ease-in-out 0.7s forwards, scale 0.3s ease-in-out 1.1s both; } .auth0-lock.auth0-lock .auth0-lock-confirmation .checkmark__check {   transform-origin: 50% 50%; } .auth0-lock.auth0-lock .auth0-lock-confirmation .auth0-lock-back-button {   opacity: 1;   visibility: visible; } .auth0-lock.auth0-lock .auth0-lock-forgot-link {   font-size: 12px;   display: block;   text-align: center;   margin: 30px 0 0 0;   color: #5c666f; } .auth0-lock.auth0-lock .auth0-lock-badge-bottom {   position: absolute;   bottom: 15px;   left: 15px;   z-index: -1;   text-align: center;   padding: 6px 10px;   border-radius: 3px;   background: rgba(255,255,255,0.1); } .auth0-lock.auth0-lock .auth0-lock-badge-bottom .auth0-lock-badge {   display: inline-block;   color: rgba(255,255,255,0.7);   font-size: 14px; } .auth0-lock.auth0-lock .auth0-lock-badge-bottom .auth0-lock-badge svg {   vertical-align: middle;   margin: 0 4px; } .auth0-lock.auth0-lock .auth0-lock-badge-bottom .auth0-lock-badge:hover svg g#LogoBadge {   fill: #eb5424;   fill-opacity: 1; } .auth0-lock.auth0-lock.auth0-lock-opened {   opacity: 1;   pointer-events: auto; } @media (min-width: 481px) {   .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-center {     overflow-y: auto;   } } @media screen and (max-width: 480px) {   .auth0-lock.auth0-lock.auth0-lock-opened {     position: absolute;   } } .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-overlay {   opacity: 0.9;   transition: opacity 0.3s ease-in 0s; } @media screen and (max-width: 480px) {   .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-overlay {     display: none;   } } @media screen and (max-width: 480px) {   .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-header {     border-radius: 0;   } } .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-header-bg .auth0-lock-header-bg-blur {   opacity: 0.4;   transition: 1s ease 1s; } @media screen and (max-width: 480px) {   .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-header-avatar {     width: 70px;     height: 70px;     margin: 10px auto 0;   } } @media screen and (max-width: 480px) {   .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-firstname {     margin-top: 72px;   } } .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-widget {   opacity: 1;   transform: translateY(0%) scale(1); } @media (min-width: 481px) {   .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-widget {     transition: transform 0.6s, opacity 0.6s;     transition-delay: 0.5s;     box-shadow: 0 0 40px 4px #111118;   } } @media screen and (max-width: 480px) {   .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-widget {     width: 100%;     height: 100%;     position: absolute;     top: 0;     bottom: 0;     border-radius: 0;   } } @media screen and (max-width: 480px) {   .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-widget-container {     height: 100vh;     height: calc(var(--vh, 1vh) * 100);   } } @media screen and (max-width: 480px) {   .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-cred-pane {     border-radius: 0;   } } @media screen and (max-width: 480px) {   .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-body-content {     background: #fff;     display: table;     width: 100%;   } } @media screen and (max-width: 480px) {   .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-content {     width: 100%;     vertical-align: middle;   } } @media screen and (max-width: 480px) {   .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-content .auth0-lock-form p {     font-size: 14px;   } } @media screen and (max-width: 480px) {   .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-terms {     position: absolute;     width: 100%;     left: 0;     box-sizing: border-box;   } } @media screen and (max-width: 480px) {   .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-sign-up-terms-agreement label input {     top: 2px;   } } @media screen and (max-width: 480px) {   .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-submit {     border-radius: 0;   } } @media screen and (max-width: 480px) {   .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-badge-bottom {     display: none;   } } @media screen and (max-width: 480px) {   .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-confirmation {     border-radius: 0;   } } @media screen and (max-width: 480px) {   .auth0-lock.auth0-lock.auth0-lock-opened.auth0-lock-with-terms .auth0-lock-body-content {     margin-bottom: 42px;   } } .auth0-lock.auth0-lock.auth0-lock-opened-in-frame {   opacity: 1;   pointer-events: auto;   position: relative;   width: auto;   margin-left: auto;   margin-right: auto; } .auth0-lock.auth0-lock.auth0-lock-opened-in-frame .auth0-lock-header-bg .auth0-lock-header-bg-blur {   opacity: 0.4;   transition: 1s ease 1s; } .auth0-lock.auth0-lock.auth0-lock-opened-in-frame .auth0-lock-header-bg .auth0-lock-header-bg-blur.auth0-lock-no-grayscale {   opacity: 0.5; } .auth0-lock.auth0-lock.auth0-lock-opened-in-frame .auth0-lock-widget {   opacity: 1;   transform: translateY(0%) scale(1);   transition: transform 0.6s, opacity 0.6s;   transition-delay: 0.5s;   margin: auto; } .auth0-lock.auth0-lock.auth0-lock-opened-in-frame .global-error {   position: absolute;   display: none; } .auth0-lock .auth0-lock-form div.auth0-lock-pane-separator {   padding-top: 15px; } #social-container.lock-container .auth0-lock-mode-loading .auth0-lock-content {   opacity: 1; } #social-container.lock-container .auth0-lock-mode-loading .auth0-lock-content .auth0-lock-social-buttons-container {   opacity: 0.3; } .auth0-lock.auth0-lock .auth0-lock-tabs-container {   margin-left: -20px;   margin-right: -20px;   margin-top: -20px;   margin-bottom: 20px; } .auth0-lock.auth0-lock .auth0-lock-tabs {   background: #fff;   padding: 0;   margin: 0;   font-size: 13px;   letter-spacing: 0.7px;   box-shadow: 0 1px 0 0 rgba(92,102,111,0.2);   display: -ms-flexbox;   display: flex;   -ms-flex-direction: row;       flex-direction: row;   -ms-flex-wrap: wrap;       flex-wrap: wrap;   -ms-flex-pack: center;       justify-content: center;   -ms-flex-line-pack: center;       align-content: center;   -ms-flex-align: stretch;       align-items: stretch; } .auth0-lock.auth0-lock .auth0-lock-tabs:after {   content: "";   display: table;   clear: both; } .auth0-lock.auth0-lock .auth0-lock-tabs li {   width: 50%;   display: block;   list-style: none;   float: left;   padding: 0;   margin: 0;   text-align: center;   cursor: pointer; } .auth0-lock.auth0-lock .auth0-lock-tabs li a, .auth0-lock.auth0-lock .auth0-lock-tabs li span {   padding: 11px 10px;   display: block;   text-decoration: none;   color: rgba(92,102,111,0.6);   font-weight: 500; } .auth0-lock.auth0-lock .auth0-lock-tabs li a:focus {   color: rgba(92,102,111,0.9); } .auth0-lock.auth0-lock .auth0-lock-tabs li.auth0-lock-tabs-current {   box-shadow: 0 1px 0 0 #5c666f;   cursor: default; } .auth0-lock.auth0-lock .auth0-lock-tabs li.auth0-lock-tabs-current span {   color: #5c666f; } .auth0-lock-password-strength {   width: 100%;   bottom: 41px;   left: 0;   display: block;   text-align: left;   padding-top: 0;   animation-duration: 0.3s;   transition: height 0.3s ease; } @media (min-width: 481px) {   .auth0-lock-password-strength {     position: absolute;     background: #1f242e;     box-shadow: 0 0 20px 0 rgba(0,0,0,0.5);     transition: none;     width: 100%;     border-radius: 3px;     z-index: 1000;   }   .auth0-lock-password-strength:after {     top: 100%;     left: 21px;     border: solid transparent;     content: " ";     height: 0;     width: 0;     position: absolute;     pointer-events: none;     border-top-color: #1f242e;     border-width: 9px;     margin-left: -9px;   } } .auth0-lock-password-strength.fadeOut {   opacity: 0;   transition: 0.3s 0.3s ease;   visibility: hidden; } .auth0-lock-password-strength.fadeIn ul {   animation: fadeIn 0.3s 0.1s both; } .auth0-lock-password-strength li, .auth0-lock-password-strength ul {   margin: 0;   padding: 0;   list-style: none;   color: #dd4b39; } .auth0-lock-password-strength > ul {   padding: 15px;   padding-top: 0; } @media (min-width: 481px) {   .auth0-lock-password-strength > ul {     padding-top: 12px;   } } .auth0-lock-password-strength li span {   background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMTJweCIgaGVpZ2h0PSIxMnB4IiB2aWV3Qm94PSIwIDAgMTIgMTIiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+ICAgICAgICA8dGl0bGU+RXJyb3I8L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGRlZnM+PC9kZWZzPiAgICA8ZyBpZD0iUGFzc3dvcmQtUG9saWN5IiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4gICAgICAgIDxnIGlkPSJBcnRib2FyZC0xIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMjAwLjAwMDAwMCwgLTE0OC4wMDAwMDApIj4gICAgICAgICAgICA8ZyBpZD0iR3JvdXAtMiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTUwLjAwMDAwMCwgNzUuMDAwMDAwKSI+ICAgICAgICAgICAgICAgIDxnIGlkPSJHcm91cC1Db3B5IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgzNS4wMDAwMDAsIDM2LjAwMDAwMCkiPiAgICAgICAgICAgICAgICAgICAgPGcgaWQ9IkVycm9yIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxNS4wMDAwMDAsIDM3LjAwMDAwMCkiPiAgICAgICAgICAgICAgICAgICAgICAgIDxlbGxpcHNlIGlkPSJPdmFsLTkwIiBmaWxsPSIjQkU0NTI3IiBjeD0iNiIgY3k9IjYiIHJ4PSI2IiByeT0iNiI+PC9lbGxpcHNlPiAgICAgICAgICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik05LDMuNjA0Mjg1NzEgTDguMzk1NzE0MjksMyBMNiw1LjM5NTcxNDI5IEwzLjYwNDI4NTcxLDMgTDMsMy42MDQyODU3MSBMNS4zOTU3MTQyOSw2IEwzLDguMzk1NzE0MjkgTDMuNjA0Mjg1NzEsOSBMNiw2LjYwNDI4NTcxIEw4LjM5NTcxNDI5LDkgTDksOC4zOTU3MTQyOSBMNi42MDQyODU3MSw2IEw5LDMuNjA0Mjg1NzEgWiIgaWQ9IlNoYXBlIiBmaWxsPSIjRkZGRkZGIj48L3BhdGg+ICAgICAgICAgICAgICAgICAgICA8L2c+ICAgICAgICAgICAgICAgIDwvZz4gICAgICAgICAgICA8L2c+ICAgICAgICA8L2c+ICAgIDwvZz48L3N2Zz4=");   background-position: left center;   background-repeat: no-repeat;   padding-left: 20px; } .auth0-lock-password-strength ul li ul {   margin-left: 20px; } .auth0-lock-password-strength ul li ul li {   color: #000; } @media (min-width: 481px) {   .auth0-lock-password-strength ul li ul li {     color: #fff;   } } .auth0-lock-password-strength ul li ul li span {   background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMTNweCIgaGVpZ2h0PSIxMnB4IiB2aWV3Qm94PSIwIDAgMTMgMTIiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+ICAgICAgICA8dGl0bGU+T3ZhbCAxPC90aXRsZT4gICAgPGRlc2M+Q3JlYXRlZCB3aXRoIFNrZXRjaC48L2Rlc2M+ICAgIDxkZWZzPjwvZGVmcz4gICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+ICAgICAgICA8ZyBpZD0iSXBob25lLTYtLS1OYXRpdmUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC00NC4wMDAwMDAsIC0yMTQuMDAwMDAwKSIgZmlsbD0iI0QwRDJEMyI+ICAgICAgICAgICAgPHBhdGggZD0iTTUwLjExNDk3MzMsMjI2IEM1My40Mjg2ODE4LDIyNiA1Ni4xMTQ5NzMzLDIyMy4zMTM3MDggNTYuMTE0OTczMywyMjAgQzU2LjExNDk3MzMsMjE2LjY4NjI5MiA1My40Mjg2ODE4LDIxNCA1MC4xMTQ5NzMzLDIxNCBDNDYuODAxMjY0OCwyMTQgNDQuMTE0OTczMywyMTYuNjg2MjkyIDQ0LjExNDk3MzMsMjIwIEM0NC4xMTQ5NzMzLDIyMy4zMTM3MDggNDYuODAxMjY0OCwyMjYgNTAuMTE0OTczMywyMjYgWiIgaWQ9Ik92YWwtMSI+PC9wYXRoPiAgICAgICAgPC9nPiAgICA8L2c+PC9zdmc+"); } .auth0-lock-password-strength li {   line-height: 1.5;   margin-top: 5px;   font-size: 13px;   transition: color 0.3s ease-in;   position: relative; } .auth0-lock-password-strength li.auth0-lock-checked {   color: #7ed321; } .auth0-lock-password-strength li.auth0-lock-checked > span {   background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMTNweCIgaGVpZ2h0PSIxMnB4IiB2aWV3Qm94PSIwIDAgMTMgMTIiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+ICAgICAgICA8dGl0bGU+R3JvdXAgNDwvdGl0bGU+ICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPiAgICA8ZGVmcz48L2RlZnM+ICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPiAgICAgICAgPGcgaWQ9IklwaG9uZS02LS0tTmF0aXZlIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNDQuMDAwMDAwLCAtMjQwLjAwMDAwMCkiPiAgICAgICAgICAgIDxnIGlkPSJHcm91cC00IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg0NC4xMTQ5NzMsIDI0MC4wMDAwMDApIj4gICAgICAgICAgICAgICAgPGVsbGlwc2UgaWQ9Ik92YWwtOTAiIGZpbGw9IiM4MEQxMzUiIGN4PSI2IiBjeT0iNiIgcng9IjYiIHJ5PSI2Ij48L2VsbGlwc2U+ICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik00LjU0MjM1MzYxLDcuNzMzNzgwNzYgTDIuNjQ1ODIxNDksNS44NjgwMDg5NSBMMiw2LjQ5ODg4MTQzIEw0LjU0MjM1MzYxLDkgTDEwLDMuNjMwODcyNDggTDkuMzU4NzI2NTUsMyBMNC41NDIzNTM2MSw3LjczMzc4MDc2IFoiIGlkPSJTaGFwZSIgZmlsbD0iI0ZGRkZGRiI+PC9wYXRoPiAgICAgICAgICAgIDwvZz4gICAgICAgIDwvZz4gICAgPC9nPjwvc3ZnPg=="); } .auth0-lock-error-msg {   color: #f00;   font-size: 12px;   margin-top: 5px;   white-space: nowrap; } .auth0-lock .auth0-loading-screen {   min-height: 42px;   box-sizing: border-box; } @media screen and (max-width: 480px) {   .auth0-lock .auth0-loading-screen {     position: absolute;     top: calc(50vh - 100%);     left: calc(50vw - 15px);     padding: 0;   } } .auth0-lock .auth0-loading-screen .auth0-loading-container {   display: block; } .auth0-lock .auth0-sso-notice-container {   background: rgba(0,0,0,0.03);   color: rgba(0,0,0,0.54);   padding: 10px 0;   margin: -20px -20px 20px;   text-align: center;   font-size: 10px;   text-transform: uppercase;   letter-spacing: 1px; } .auth0-lock .auth0-sso-notice-container .auth0-lock-icon {   width: 12px;   height: 14px;   position: relative;   top: 2px;   right: 2px; } .auth0-lock .auth0-lock-last-login-pane .auth0-lock-social-button.auth0-lock-social-big-button {   margin-top: 0; } .auth0-lock .auth0-lock-last-login-pane .auth0-lock-social-button[data-provider="auth0"] .auth0-lock-social-button-text {   text-transform: none;   font-size: 12px;   font-weight: normal; } .auth0-lock .auth0-lock-sign-up-terms-agreement label input {   margin-right: 5px;   position: relative; } .auth0-lock-input-show-password {   position: relative; } .auth0-lock-input-show-password .auth0-lock-show-password {   position: absolute;   top: 14px;   right: 12px;   width: 20px;   height: 14px; } .auth0-lock-input-show-password .auth0-lock-show-password input[type=checkbox] {   display: none; } .auth0-lock-input-show-password .auth0-lock-show-password input[type=checkbox] + label {   background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHdpZHRoPSIyMHB4IiBoZWlnaHQ9IjE0cHgiIHZpZXdCb3g9IjAgMCAyMCAxNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4gICAgICAgIDx0aXRsZT5zaG93X3Bhc3N3b3JkX2luYWN0aXZlPC90aXRsZT4gICAgPGRlc2M+Q3JlYXRlZCB3aXRoIFNrZXRjaC48L2Rlc2M+ICAgIDxkZWZzPjwvZGVmcz4gICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+ICAgICAgICA8ZyBpZD0ic2hvd19wYXNzd29yZF9pbmFjdGl2ZSIgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSIjQ0NDQ0NDIj4gICAgICAgICAgICA8cGF0aCBkPSJNMjAsNy4xNDY0NjA3MSBDMjAsNy4zMjQ1NTU5MyAxOS44OTM4NzQ5LDcuNTA0OTY0MDcgMTkuNzg5NzkwNiw3LjYyMjkyMzI5IEMxOS41Nzk1ODExLDcuOTIxMjkwNjQgMTkuMzY5MzcxNiw4LjE1OTUyMTkzIDE5LjEwNjA5OTYsOC40NTc4ODkyMSBDMTcuODQyODAyMSw5Ljg4OTU4OTkzIDE2LjQyMDMxNjksMTEuMTQzMTk1NCAxNC44NDA2ODQ3LDEyLjA5ODQzMzUgQzEzLjg0MDY1OTIsMTIuNjk1MTY4MSAxMi43ODc1NzExLDEzLjE3Mzk0MzcgMTEuNjgxNDIwNCwxMy40MTIxNzUgQzEwLjQ2OTE0NDYsMTMuNjUwNDA2MyA5LjI1ODkwOTY0LDEzLjY1MDQwNjMgOC4wNDY2MzM4NiwxMy4zNTIwMzg5IEM1LjkzODQxNjgxLDEyLjgxNTQ0MDMgNC4wNDI0NTAwNCwxMS41NjE4MzQ5IDIuMzU2NjkyNzcsMTAuMDA5ODYyMSBDMS41NjY4NzY3MSw5LjI5Mjg1NTI5IDAuODMwMTIzMjE0LDguNTE4MDI1MjkgMC4xOTc0NTQwMTYsNy42MjI5MjMyOSBDLTAuMDY1ODE4MDA1Myw3LjI2NDQxOTg2IC0wLjA2NTgxODAwNTMsNi43ODc5NTczIDAuMTk3NDU0MDE2LDYuNDI5NDUzODcgQzAuNDA3NjYzNDU5LDYuMTMxMDg2NTUgMC42MTc4NzI5MDYsNS44OTI4NTUyNiAwLjg4MTE0NDkyOSw1LjU5NDQ4NzkgQzIuMTQ0NDQyNDYsNC4xNjI3ODcyMSAzLjU2NjkyNzczLDIuOTA5MTgxNzcgNS4xNDY1NTk4NSwxLjk1Mzk0MzY4IEM2LjE0NjU4NTM2LDEuMzU3MjA4OTkgNy4xOTk2NzM0MywwLjg3ODQzMzQ3MSA4LjMwNTgyNDE0LDAuNjQwMjAyMTgxIEM5LjUxODEsMC40MDE5NzA4ODkgMTAuNzI4MzM0OSwwLjQwMTk3MDg4OSAxMS45NDA2MTA3LDAuNzAwMzM4MjM2IEMxNC4wNDY3ODY5LDEuMjM2OTM2ODggMTUuOTQyNzUzNiwyLjQ5MDU0MjMxIDE3LjYyODUxMDksNC4wNDI1MTUxMSBDMTguNDE4MzI3LDQuNzU5NTIxOTEgMTkuMTU1MDgwNSw1LjUzNDM1MTgzIDE5Ljc4Nzc0OTYsNi40Mjk0NTM4NyBDMTkuODkzODc0OSw2LjU0OTcyNjAxIDE5Ljk5Nzk1OTEsNi43Mjc4MjEyMyAxOS45OTc5NTkxLDYuOTA1OTE2NDUgQzIwLDcuMDI2MTg4NTkgMjAsNy4wMjYxODg1OSAyMCw3LjA4NjMyNDYyIEMyMCw3LjE0NjQ2MDcxIDIwLDcuMTQ2NDYwNzEgMjAsNy4xNDY0NjA3MSBaIE05Ljk5MTk0NjA3LDIuMjkyOTUyNDIgQzcuNDk4OTQzMTQsMi4yOTI5NTI0MiA1LjQ1MjAwNDM4LDQuMzM5ODkxMiA1LjQ1MjAwNDM4LDYuODMyODk0MTMgQzUuNDUyMDA0MzgsOS4zMjU4OTcgNy40OTg5NDMxNCwxMS4zNzI4MzU5IDkuOTkxOTQ2MDcsMTEuMzcyODM1OSBDMTIuNDg0OTQ5LDExLjM3MjgzNTkgMTQuNTMxODg3Nyw5LjMyNTg5NyAxNC41MzE4ODc3LDYuODMyODk0MTMgQzE0LjUzMTg4NzcsNC4zMzk4OTEyIDEyLjQ4NDk0OSwyLjI5Mjk1MjQyIDkuOTkxOTQ2MDcsMi4yOTI5NTI0MiBaIE05Ljk5MTk0NjA3LDkuMTM3NTU4NzkgQzguNzEzMjI4ODYsOS4xMzc1NTg3OSA3LjY4OTc1OTQzLDguMTE0MDg5NDMgNy42ODk3NTk0Myw2LjgzNTM3MjI0IEM3LjY4OTc1OTQzLDUuNTU2NjU1MDcgOC43MTMyMjg4Niw0LjUzMzE4NTY2IDkuOTkxOTQ2MDcsNC41MzMxODU2NiBDMTEuMjcwNjYzMyw0LjUzMzE4NTY2IDEyLjI5NDEzMjYsNS41NTY2NTUwNyAxMi4yOTQxMzI2LDYuODM1MzcyMjQgQzEyLjI5NDEzMjYsOC4xMTQwODk0MyAxMS4yNzA2NjMzLDkuMTM3NTU4NzkgOS45OTE5NDYwNyw5LjEzNzU1ODc5IFoiIGlkPSJTaGFwZSI+PC9wYXRoPiAgICAgICAgPC9nPiAgICA8L2c+PC9zdmc+");   width: 20px;   height: 14px;   display: inline-block;   cursor: pointer;   vertical-align: top; } .auth0-lock-input-show-password .auth0-lock-show-password input[type=checkbox]:checked + label {   background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHdpZHRoPSIyMHB4IiBoZWlnaHQ9IjE0cHgiIHZpZXdCb3g9IjAgMCAyMCAxNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4gICAgICAgIDx0aXRsZT5zaG93X3Bhc3N3b3JkX2FjdGl2ZTwvdGl0bGU+ICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPiAgICA8ZGVmcz48L2RlZnM+ICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPiAgICAgICAgPGcgaWQ9InNob3dfcGFzc3dvcmRfYWN0aXZlIiBmaWxsLXJ1bGU9Im5vbnplcm8iIGZpbGw9IiMyMEI0RkYiPiAgICAgICAgICAgIDxwYXRoIGQ9Ik0yMCw3LjE0NjQ2MDcxIEMyMCw3LjMyNDU1NTkzIDE5Ljg5Mzg3NDksNy41MDQ5NjQwNyAxOS43ODk3OTA2LDcuNjIyOTIzMjkgQzE5LjU3OTU4MTEsNy45MjEyOTA2NCAxOS4zNjkzNzE2LDguMTU5NTIxOTMgMTkuMTA2MDk5Niw4LjQ1Nzg4OTIxIEMxNy44NDI4MDIxLDkuODg5NTg5OTMgMTYuNDIwMzE2OSwxMS4xNDMxOTU0IDE0Ljg0MDY4NDcsMTIuMDk4NDMzNSBDMTMuODQwNjU5MiwxMi42OTUxNjgxIDEyLjc4NzU3MTEsMTMuMTczOTQzNyAxMS42ODE0MjA0LDEzLjQxMjE3NSBDMTAuNDY5MTQ0NiwxMy42NTA0MDYzIDkuMjU4OTA5NjQsMTMuNjUwNDA2MyA4LjA0NjYzMzg2LDEzLjM1MjAzODkgQzUuOTM4NDE2ODEsMTIuODE1NDQwMyA0LjA0MjQ1MDA0LDExLjU2MTgzNDkgMi4zNTY2OTI3NywxMC4wMDk4NjIxIEMxLjU2Njg3NjcxLDkuMjkyODU1MjkgMC44MzAxMjMyMTQsOC41MTgwMjUyOSAwLjE5NzQ1NDAxNiw3LjYyMjkyMzI5IEMtMC4wNjU4MTgwMDUzLDcuMjY0NDE5ODYgLTAuMDY1ODE4MDA1Myw2Ljc4Nzk1NzMgMC4xOTc0NTQwMTYsNi40Mjk0NTM4NyBDMC40MDc2NjM0NTksNi4xMzEwODY1NSAwLjYxNzg3MjkwNiw1Ljg5Mjg1NTI2IDAuODgxMTQ0OTI5LDUuNTk0NDg3OSBDMi4xNDQ0NDI0Niw0LjE2Mjc4NzIxIDMuNTY2OTI3NzMsMi45MDkxODE3NyA1LjE0NjU1OTg1LDEuOTUzOTQzNjggQzYuMTQ2NTg1MzYsMS4zNTcyMDg5OSA3LjE5OTY3MzQzLDAuODc4NDMzNDcxIDguMzA1ODI0MTQsMC42NDAyMDIxODEgQzkuNTE4MSwwLjQwMTk3MDg4OSAxMC43MjgzMzQ5LDAuNDAxOTcwODg5IDExLjk0MDYxMDcsMC43MDAzMzgyMzYgQzE0LjA0Njc4NjksMS4yMzY5MzY4OCAxNS45NDI3NTM2LDIuNDkwNTQyMzEgMTcuNjI4NTEwOSw0LjA0MjUxNTExIEMxOC40MTgzMjcsNC43NTk1MjE5MSAxOS4xNTUwODA1LDUuNTM0MzUxODMgMTkuNzg3NzQ5Niw2LjQyOTQ1Mzg3IEMxOS44OTM4NzQ5LDYuNTQ5NzI2MDEgMTkuOTk3OTU5MSw2LjcyNzgyMTIzIDE5Ljk5Nzk1OTEsNi45MDU5MTY0NSBDMjAsNy4wMjYxODg1OSAyMCw3LjAyNjE4ODU5IDIwLDcuMDg2MzI0NjIgQzIwLDcuMTQ2NDYwNzEgMjAsNy4xNDY0NjA3MSAyMCw3LjE0NjQ2MDcxIFogTTkuOTkxOTQ2MDcsMi4yOTI5NTI0MiBDNy40OTg5NDMxNCwyLjI5Mjk1MjQyIDUuNDUyMDA0MzgsNC4zMzk4OTEyIDUuNDUyMDA0MzgsNi44MzI4OTQxMyBDNS40NTIwMDQzOCw5LjMyNTg5NyA3LjQ5ODk0MzE0LDExLjM3MjgzNTkgOS45OTE5NDYwNywxMS4zNzI4MzU5IEMxMi40ODQ5NDksMTEuMzcyODM1OSAxNC41MzE4ODc3LDkuMzI1ODk3IDE0LjUzMTg4NzcsNi44MzI4OTQxMyBDMTQuNTMxODg3Nyw0LjMzOTg5MTIgMTIuNDg0OTQ5LDIuMjkyOTUyNDIgOS45OTE5NDYwNywyLjI5Mjk1MjQyIFogTTkuOTkxOTQ2MDcsOS4xMzc1NTg3OSBDOC43MTMyMjg4Niw5LjEzNzU1ODc5IDcuNjg5NzU5NDMsOC4xMTQwODk0MyA3LjY4OTc1OTQzLDYuODM1MzcyMjQgQzcuNjg5NzU5NDMsNS41NTY2NTUwNyA4LjcxMzIyODg2LDQuNTMzMTg1NjYgOS45OTE5NDYwNyw0LjUzMzE4NTY2IEMxMS4yNzA2NjMzLDQuNTMzMTg1NjYgMTIuMjk0MTMyNiw1LjU1NjY1NTA3IDEyLjI5NDEzMjYsNi44MzUzNzIyNCBDMTIuMjk0MTMyNiw4LjExNDA4OTQzIDExLjI3MDY2MzMsOS4xMzc1NTg3OSA5Ljk5MTk0NjA3LDkuMTM3NTU4NzkgWiIgaWQ9IlNoYXBlIj48L3BhdGg+ICAgICAgICA8L2c+ICAgIDwvZz48L3N2Zz4="); } .auth0-lock-recaptcha-block {   border-radius: 4px;   height: 65px; } .auth0-lock-recaptcha-block.auth0-lock-recaptcha-block-error {   border: 1px solid #f00; } .auth0-lock-recaptcha-block .auth0-lock-recaptchav2 {   transform: scale(0.855);   transform-origin: 0px 0px;   position: relative; } input[type="button"] {   cursor: pointer; } .auth0-lock-hidden {   display: none; } _:-ms-fullscreen, :root .auth0-lock.auth0-lock .auth0-lock-content-wrapper {   -ms-flex-preferred-size: auto !important;       flex-basis: auto !important;   max-height: 70vh; } ',M=function(e){function t(n,o){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},u=arguments[3];if(m(this,t),"string"!=typeof n)throw new Error("A `clientID` string must be provided as first argument.");if("string"!=typeof o)throw new Error("A `domain` string must be provided as second argument.");if("object"!=("undefined"===typeof i?"undefined":r(i)))throw new Error("When provided, the third argument must be an `options` object.");var l=v(this,e.call(this));l.validEvents=["show","hide","unrecoverable_error","authenticated","authorization_error","hash_parsed","signin ready","signup ready","socialOrPhoneNumber ready","socialOrEmail ready","vcode ready","forgot_password ready","forgot_password submit","signin submit","signup submit","signup success","signup error","socialOrPhoneNumber submit","socialOrEmail submit","vcode submit","federated login","ssodata fetched","sso login"],l.id=p.incremental(),l.engine=u;var y=l.runHook.bind(l),b=l.emit.bind(l),M=l.on.bind(l);(0,g.go)(l.id),(0,c.initSanitizer)();var w=(0,f.setupLock)(l.id,n,o,i,y,b,M);return l.on("newListener",(function(e){-1===l.validEvents.indexOf(e)&&d.emitUnrecoverableErrorEvent(w,'Invalid event "'+e+'".')})),d.auth.autoParseHash(w)&&!t.hasScheduledAuthCallback&&(t.hasScheduledAuthCallback=!0,setTimeout(f.handleAuthCallback,0)),(0,a.observe)("render",l.id,(function(e){var t=function(t,n){var r=t[n](e);return r?function(){for(var t=arguments.length,n=Array(t),o=0;o<t;o++)n[o]=arguments[o];return r.apply(void 0,[d.id(e)].concat(n))}:r},n=d.ui.avatar(e)&&"ok"===e.getIn(["avatar","transient","syncStatus"])||null;if(d.rendering(e)){var r=l.engine.render(e),o=n?h.str(e,"welcome",e.getIn(["avatar","transient","displayName"])):r.getTitle(e),i=r.isSubmitDisabled(e),a={group:function(t){return h.group(e,t)},html:function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return h.html.apply(h,[e,t].concat(r))},str:function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return h.str.apply(h,[e,t].concat(r))}},u={avatar:n&&e.getIn(["avatar","transient","url"]),auxiliaryPane:r.renderAuxiliaryPane(e),autofocus:d.ui.autofocus(e),backHandler:t(r,"backHandler"),badgeLink:"https://auth0.com/?utm_source=lock&utm_campaign=badge&utm_medium=widget",closeHandler:d.ui.closable(e)?function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return f.closeLock.apply(void 0,[d.id(e)].concat(n))}:void 0,contentComponent:r.render(),contentProps:{i18n:a,model:e},disableSubmitButton:i,error:d.globalError(e),info:d.globalInfo(e),isMobile:d.ui.mobile(e),isModal:d.ui.appendContainer(e),isSubmitting:d.submitting(e),language:d.ui.language(e),logo:d.ui.logo(e),primaryColor:d.ui.primaryColor(e),screenName:r.name,showBadge:!0===d.showBadge(e),success:d.globalSuccess(e),submitButtonLabel:d.ui.labeledSubmitButton(e)?r.submitButtonLabel(e):null,submitHandler:t(r,"submitHandler"),tabs:r.renderTabs(e),terms:r.renderTerms(e,a.html("signUpTerms")),title:function(e){return d.ui.hideMainScreenTitle(e)&&r.isFirstScreen(e)?null:o}(e),classNames:"loading"===r.name?"fade":"horizontal-fade",scrollGlobalMessagesIntoView:d.ui.scrollGlobalMessagesIntoView(e),suppressSubmitOverlay:d.suppressSubmitOverlay(e)||!1};(0,s.render)(d.ui.containerID(e),u),l.oldScreenName&&l.oldScreenName==r.name||("main.login"===r.name?d.emitEvent(e,"signin ready"):"main.signUp"===r.name?d.emitEvent(e,"signup ready"):"forgotPassword"===r.name?d.emitEvent(e,"forgot_password ready"):"socialOrEmail"===r.name?d.emitEvent(e,"socialOrEmail ready"):"socialOrPhoneNumber"===r.name?d.emitEvent(e,"socialOrPhoneNumber ready"):"vcode"===r.name&&d.emitEvent(e,"vcode ready")),l.oldScreenName=r.name}else(0,s.remove)(d.ui.containerID(e))})),l}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.resumeAuth=function(e,t){(0,f.resumeAuth)(e,t)},t.prototype.show=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,f.openLock)(this.id,e)},t.prototype.hide=function(){(0,f.closeLock)(this.id,!0)},t.prototype.destroy=function(){(0,f.removeLock)(this.id)},t.prototype.getProfile=function(e,t){return this.getUserInfo(e,t)},t.prototype.getUserInfo=function(e,t){return l.default.getUserInfo(this.id,e,t)},t.prototype.checkSession=function(e,t){return l.default.checkSession(this.id,e,t)},t.prototype.logout=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};l.default.logout(this.id,e)},t.prototype.update=function(e){return(0,f.updateLock)(this.id,e)},t.prototype.setModel=function(e){return this.update((function(){return e}))},t.prototype.runHook=function(e,t){for(var n,r=d.hooks(t).toJS(),o=arguments.length,i=Array(o>2?o-2:0),a=2;a<o;a++)i[a-2]=arguments[a];return-1!==d.validPublicHooks.indexOf(e)?"function"===typeof r[e]?(r[e].apply(r,i),t):("function"===typeof i[1]&&i[1](),t):"function"!=typeof this.engine[e]?t:(n=this.engine)[e].apply(n,[t].concat(i))},t}(i.EventEmitter);t.default=M},function(e,t,n){"use strict";var r={addClass:function(e,t){return t&&(e.classList?e.classList.add(t):r.hasClass(e,t)||(e.className=e.className+" "+t)),e},removeClass:function(e,t){return t&&(e.classList?e.classList.remove(t):r.hasClass(e,t)&&(e.className=e.className.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,""))),e},hasClass:function(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+e.className+" ").indexOf(" "+t+" ")>-1}};e.exports=r},function(e,t,n){"use strict";t.__esModule=!0,t.defaultProps=void 0;var r=f(n(2)),o=f(n(0)),i=f(n(527)),a=n(175),s=c(n(12)),u=c(n(26)),l=n(35);function c(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function f(e){return e&&e.__esModule?e:{default:e}}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var p=o.default.createElement("svg",{focusable:"false",width:"58px",height:"21px",viewBox:"0 0 462 168"},o.default.createElement("g",{id:"Page-1",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},o.default.createElement("g",{id:"logo-grey-horizontal"},o.default.createElement("g",{id:"Group"},o.default.createElement("g",{id:"LogoText",transform:"translate(188.000000, 41.500000)",fill:"#D0D2D3"},o.default.createElement("path",{d:"M246.517,0.11 C238.439,0.11 231.607,3.916 226.759,11.115 C221.94,18.271 219.393,28.26 219.393,40 C219.393,51.74 221.94,61.729 226.759,68.884 C231.607,76.084 238.439,79.889 246.517,79.889 C254.595,79.889 261.427,76.084 266.275,68.884 C271.093,61.729 273.64,51.74 273.64,40 C273.64,28.26 271.093,18.271 266.275,11.115 C261.427,3.916 254.595,0.11 246.517,0.11 L246.517,0.11 Z M246.517,70.005 C242.655,70.005 239.604,67.82 237.187,63.324 C234.268,57.893 232.66,49.61 232.66,40 C232.66,30.39 234.268,22.106 237.187,16.676 C239.604,12.18 242.655,9.994 246.517,9.994 C250.378,9.994 253.43,12.18 255.847,16.676 C258.766,22.106 260.373,30.389 260.373,40 C260.373,49.611 258.766,57.895 255.847,63.324 C253.43,67.82 250.378,70.005 246.517,70.005 L246.517,70.005 Z M71.45,29.172 L71.45,63.484 C71.45,72.53 78.81,79.889 87.856,79.889 C95.746,79.889 101.707,75.975 103.902,74.291 C104.024,74.197 104.184,74.169 104.331,74.216 C104.478,74.263 104.592,74.379 104.637,74.527 L105.961,78.86 L115.737,78.86 L115.737,29.172 L103.175,29.172 L103.175,66.326 C103.175,66.501 103.076,66.662 102.921,66.743 C100.559,67.961 95.899,70.006 91.231,70.006 C87.252,70.006 84.012,66.768 84.012,62.787 L84.012,29.172 L71.45,29.172 L71.45,29.172 Z M197.237,78.859 L209.8,78.859 L209.8,44.547 C209.8,35.501 202.44,28.141 193.394,28.141 C186.735,28.141 181.393,31.004 178.802,32.71 C178.657,32.805 178.473,32.813 178.322,32.731 C178.171,32.649 178.075,32.491 178.075,32.318 L178.075,1.141 L165.513,1.141 L165.513,78.859 L178.075,78.859 L178.075,41.704 C178.075,41.529 178.174,41.368 178.33,41.288 C180.691,40.069 185.352,38.025 190.019,38.025 C191.947,38.025 193.76,38.776 195.123,40.139 C196.486,41.502 197.236,43.316 197.236,45.243 L197.236,78.859 L197.237,78.859 Z M124.792,39.055 L132.438,39.055 C132.697,39.055 132.907,39.265 132.907,39.524 L132.907,66.858 C132.907,74.043 138.753,79.888 145.938,79.888 C148.543,79.888 151.113,79.512 153.585,78.77 L153.585,69.796 C152.143,69.923 150.485,70.005 149.313,70.005 C147.193,70.005 145.469,68.28 145.469,66.161 L145.469,39.523 C145.469,39.264 145.679,39.054 145.938,39.054 L153.585,39.054 L153.585,29.171 L145.938,29.171 C145.679,29.171 145.469,28.961 145.469,28.702 L145.469,12.295 L132.907,12.295 L132.907,28.702 C132.907,28.961 132.697,29.171 132.438,29.171 L124.792,29.171 L124.792,39.055 L124.792,39.055 Z M51.361,78.859 L64.429,78.859 L44.555,9.55 C42.962,3.992 37.811,0.11 32.029,0.11 C26.247,0.11 21.096,3.992 19.502,9.55 L-0.372,78.859 L12.697,78.859 L18.449,58.798 C18.507,58.597 18.691,58.459 18.9,58.459 L45.158,58.459 C45.367,58.459 45.552,58.597 45.609,58.798 L51.361,78.859 L51.361,78.859 Z M42.056,48.576 L22.004,48.576 C21.857,48.576 21.718,48.507 21.629,48.388 C21.541,48.272 21.513,48.119 21.553,47.978 L31.579,13.012 C31.637,12.811 31.821,12.673 32.03,12.673 C32.239,12.673 32.423,12.811 32.48,13.012 L42.507,47.978 C42.547,48.12 42.519,48.272 42.43,48.388 C42.342,48.507 42.203,48.576 42.056,48.576 L42.056,48.576 Z",id:"Shape"})),o.default.createElement("g",{id:"LogoBadge",fillOpacity:"0.4",fill:"#FFFFFF"},o.default.createElement("path",{d:"M119.555,135.861 L102.705,83.997 L146.813,51.952 L92.291,51.952 L75.44,0.09 L75.435,0.076 L129.965,0.076 L146.82,51.947 L146.821,51.946 L146.835,51.938 C156.623,82.03 146.542,116.256 119.555,135.861 L119.555,135.861 Z M31.321,135.861 L31.307,135.871 L75.426,167.924 L119.555,135.862 L75.44,103.808 L31.321,135.861 L31.321,135.861 Z M4.052,51.939 L4.052,51.939 C-6.252,83.66 5.709,117.272 31.312,135.867 L31.316,135.851 L48.168,83.99 L4.07,51.951 L58.579,51.951 L75.431,0.089 L75.435,0.075 L20.902,0.075 L4.052,51.939 L4.052,51.939 Z",id:"Shape"})))))),h=function(e){var t=e.link;return o.default.createElement("span",{className:"auth0-lock-badge-bottom"},o.default.createElement("a",{href:t,target:"_blank",className:"auth0-lock-badge",rel:"noopener noreferrer"},"Protected with ",p))},g=function(e){var t=e.imageUrl;return o.default.createElement("img",{src:t,className:"auth0-lock-header-avatar"})};g.propTypes={imageUrl:r.default.string.isRequired};var y=function(){function e(t){d(this,e),this.handler=function(e){27==e.keyCode&&"INPUT"!=e.target.tagName.toUpperCase()&&t()},window.document.addEventListener("keydown",this.handler,!1)}return e.prototype.release=function(){window.document.removeEventListener("keydown",this.handler)},e}(),m="undefined"!==typeof window&&window.navigator&&!!window.navigator.userAgent.match(/iPhone/i),v=function(e){function t(n){d(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,e.call(this,n));return r.state={isOpen:!1},r}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.checkConnectionResolver=function(e){var t=this.props.contentProps.model,n=s.connectionResolver(t);if(!n)return e();var r=t.get("client").toJS(),o={connections:r.connections,id:r.id};n(u.getFieldValue(t,"username")||u.getFieldValue(t,"email"),o,(function(n){(0,l.swap)(l.updateEntity,"lock",s.id(t),(function(e){return s.setResolvedConnection(e,n)})),e()}))},t.prototype.componentDidMount=function(){var e=this;this.props.isModal&&setTimeout((function(){return e.setState({isOpen:!0})}),17),this.props.closeHandler&&(this.escKeydown=new y(this.handleEsc.bind(this)))},t.prototype.componentWillUnmount=function(){this.escKeydown&&this.escKeydown.release()},t.prototype.handleSubmit=function(e){var t=this;e.preventDefault(),this.props.isSubmitting||this.checkConnectionResolver((function(){var e=t.props.submitHandler;e&&(setTimeout((function(){t.props.isSubmitting||t.refs.chrome.focusError()}),17),e())}))},t.prototype.handleClose=function(){var e=this.props,t=e.closeHandler;e.isSubmitting||t()},t.prototype.handleEsc=function(){var e=this.props,t=(e.closeHandler,e.escHandler);t?t():this.handleClose()},t.prototype.hide=function(){this.setState({isOpen:!1})},t.prototype.render=function(){var e=this.props,t=e.autofocus,n=e.avatar,r=e.auxiliaryPane,s=e.backHandler,u=e.badgeLink,l=e.closeHandler,c=e.contentComponent,f=e.contentProps,d=e.disableSubmitButton,p=(e.disallowClose,e.error),y=e.info,v=e.isMobile,b=e.isModal,M=e.isSubmitting,w=e.logo,N=e.primaryColor,j=e.screenName,S=e.showBadge,I=e.submitButtonLabel,D=e.submitHandler,x=e.success,E=e.tabs,O=e.terms,T=e.title,C=e.classNames,k=e.scrollGlobalMessagesIntoView,L=e.suppressSubmitOverlay,_=S?o.default.createElement(h,{link:u}):null,A=b?o.default.createElement("div",{className:"auth0-lock-overlay"},_):null,z="auth0-lock";return b&&this.state.isOpen&&(z+=" auth0-lock-opened"),b||(z+=" auth0-lock-opened-in-frame"),v&&(z+=" auth0-lock-mobile"),M&&!L&&(z+=" auth0-lock-mode-loading"),r&&(z+=" auth0-lock-auxiliary"),D||(z+=" auth0-lock-no-submit"),O&&(z+=" auth0-lock-with-terms"),m&&(z+=" auth0-lock-iphone"),E&&(z+=" auth0-lock-with-tabs"),o.default.createElement("div",{className:z,lang:this.props.language},A,o.default.createElement("div",{className:"auth0-lock-center"},o.default.createElement("form",{className:"auth0-lock-widget",method:"post",noValidate:!0,onSubmit:this.handleSubmit.bind(this)},n&&o.default.createElement(g,{imageUrl:n}),l&&o.default.createElement(a.CloseButton,{onClick:this.handleClose.bind(this)}),o.default.createElement("div",{className:"auth0-lock-widget-container"},o.default.createElement(i.default,{autofocus:t,avatar:n,auxiliaryPane:r,backHandler:s,contentComponent:c,contentProps:f,disableSubmitButton:d,error:p,info:y,isSubmitting:M,logo:w,screenName:j,primaryColor:N,ref:"chrome",showSubmitButton:!!D,submitButtonLabel:I,success:x,tabs:E,terms:O,title:T,classNames:C,scrollGlobalMessagesIntoView:k})))))},t}(o.default.Component);t.default=v,v.propTypes={autofocus:r.default.bool.isRequired,avatar:r.default.string,auxiliaryPane:r.default.element,backHandler:r.default.func,badgeLink:r.default.string.isRequired,closeHandler:r.default.func,contentComponent:r.default.func.isRequired,contentProps:r.default.object.isRequired,disableSubmitButton:r.default.bool.isRequired,error:r.default.node,info:r.default.node,isMobile:r.default.bool.isRequired,isModal:r.default.bool.isRequired,isSubmitting:r.default.bool.isRequired,language:r.default.string,logo:r.default.string.isRequired,primaryColor:r.default.string.isRequired,screenName:r.default.string.isRequired,showBadge:r.default.bool.isRequired,submitButtonLabel:r.default.string,success:r.default.node,tabs:r.default.bool,terms:r.default.element,title:r.default.string,classNames:r.default.string.isRequired,scrollGlobalMessagesIntoView:r.default.bool,suppressSubmitOverlay:r.default.bool};var b="undefined"!==typeof window&&window.window&&window.location&&"file:"===window.location.protocol;t.defaultProps=v.defaultProps={autofocus:!1,badgeLink:"https://auth0.com/",contentProps:{},disableSubmitButton:!1,isMobile:!1,isSubmitting:!1,language:"en",logo:(b?"https:":"")+"//cdn.auth0.com/styleguide/components/1.0.8/media/logos/img/badge.png",primaryColor:"#ea5323",showBadge:!0,scrollGlobalMessagesIntoView:!0}},function(e,t,n){"use strict";function r(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!==e&&void 0!==e&&this.setState(e)}function o(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!==n&&void 0!==n?n:null}.bind(this))}function i(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}function a(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!==typeof e.getDerivedStateFromProps&&"function"!==typeof t.getSnapshotBeforeUpdate)return e;var n=null,a=null,s=null;if("function"===typeof t.componentWillMount?n="componentWillMount":"function"===typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"===typeof t.componentWillReceiveProps?a="componentWillReceiveProps":"function"===typeof t.UNSAFE_componentWillReceiveProps&&(a="UNSAFE_componentWillReceiveProps"),"function"===typeof t.componentWillUpdate?s="componentWillUpdate":"function"===typeof t.UNSAFE_componentWillUpdate&&(s="UNSAFE_componentWillUpdate"),null!==n||null!==a||null!==s){var u=e.displayName||e.name,l="function"===typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+u+" uses "+l+" but also contains the following legacy lifecycles:"+(null!==n?"\n  "+n:"")+(null!==a?"\n  "+a:"")+(null!==s?"\n  "+s:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"===typeof e.getDerivedStateFromProps&&(t.componentWillMount=r,t.componentWillReceiveProps=o),"function"===typeof t.getSnapshotBeforeUpdate){if("function"!==typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=i;var c=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;c.call(this,e,t,r)}}return e}n.r(t),n.d(t,"polyfill",(function(){return a})),r.__suppressDeprecationWarning=!0,o.__suppressDeprecationWarning=!0,i.__suppressDeprecationWarning=!0},function(e,t,n){"use strict";t.__esModule=!0,t.classNamesShape=t.timeoutsShape=void 0;var r;(r=n(2))&&r.__esModule;t.timeoutsShape=null;t.classNamesShape=null},function(e,t,n){var r,o,i;i=function(){function e(e,t){return e=(e=(e=(e=e.replace(/:\//g,"://")).replace(/([^:\s])\/+/g,"$1/")).replace(/\/(\?|&|#[^!])/g,"$1")).replace(/(\?.+)\?/g,"$1&")}return function(){var t=arguments;"object"===typeof arguments[0]&&(t=arguments[0]);var n=[].slice.call(t,0).join("/");return e(n)}},e.exports?e.exports=i():void 0===(o="function"===typeof(r=i)?r.call(t,n,t,e):r)||(e.exports=o)},function(e,t,n){"use strict";t.__esModule=!0,t.matches=function(e,t){return t.toLowerCase().indexOf(e.toLowerCase())>-1},t.startsWith=function(e,t){return 0===e.indexOf(t)},t.endsWith=function(e,t){return-1!==e.indexOf(t,e.length-t.length)}},function(e,t,n){"use strict";t.__esModule=!0;var r="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=function(e){for(var t=1,n=arguments,r=n.length,a=String(e).replace(o,(function(e){if("%%"===e)return"%";if(t>=r)return e;switch(e){case"%s":return String(n[t++]);case"%d":return Number(n[t++]);case"%j":try{return JSON.stringify(n[t++])}catch(o){return"[Circular]"}default:return e}})),s=n[t];t<r;s=n[++t])null!==s&&i(s)?null!==s&&(a+=" "+JSON.stringify(s)):a+=" "+s;return a};var o=/%[sdj%]/g;function i(e){return"object"===("undefined"===typeof e?"undefined":r(e))&&null!==e}},function(e,t,n){"use strict";n.r(t),function(e,r){n.d(t,"Authentication",(function(){return pr})),n.d(t,"Management",(function(){return hr})),n.d(t,"WebAuth",(function(){return cr})),n.d(t,"version",(function(){return Lt}));var o="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof e?e:"undefined"!=typeof self?self:{};function i(e,t){return e(t={exports:{}},t.exports),t.exports}var a=i((function(e){var t,n;t=o,n=function(){function e(e){var t=[];if(0===e.length)return"";if("string"!=typeof e[0])throw new TypeError("Url must be a string. Received "+e[0]);if(e[0].match(/^[^/:]+:\/*$/)&&e.length>1){var n=e.shift();e[0]=n+e[0]}e[0].match(/^file:\/\/\//)?e[0]=e[0].replace(/^([^/:]+):\/*/,"$1:///"):e[0]=e[0].replace(/^([^/:]+):\/*/,"$1://");for(var r=0;r<e.length;r++){var o=e[r];if("string"!=typeof o)throw new TypeError("Url must be a string. Received "+o);""!==o&&(r>0&&(o=o.replace(/^[\/]+/,"")),o=r<e.length-1?o.replace(/[\/]+$/,""):o.replace(/[\/]+$/,"/"),t.push(o))}var i=t.join("/"),a=(i=i.replace(/\/(\?|&|#[^!])/g,"$1")).split("?");return a.shift()+(a.length>0?"?":"")+a.join("&")}return function(){return e("object"==typeof arguments[0]?arguments[0]:[].slice.call(arguments))}},e.exports?e.exports=n():t.urljoin=n()})),s=o.Symbol,u="Function.prototype.bind called on incompatible ",l=Array.prototype.slice,c=Object.prototype.toString,f=Function.prototype.bind||function(e){var t=this;if("function"!=typeof t||"[object Function]"!==c.call(t))throw new TypeError(u+t);for(var n,r=l.call(arguments,1),o=function(){if(this instanceof n){var o=t.apply(this,r.concat(l.call(arguments)));return Object(o)===o?o:this}return t.apply(e,r.concat(l.call(arguments)))},i=Math.max(0,t.length-r.length),a=[],s=0;s<i;s++)a.push("$"+s);if(n=Function("binder","return function ("+a.join(",")+"){ return binder.apply(this,arguments); }")(o),t.prototype){var f=function(){};f.prototype=t.prototype,n.prototype=new f,f.prototype=null}return n},d=f.call(Function.call,Object.prototype.hasOwnProperty),p=SyntaxError,h=Function,g=TypeError,y=function(e){try{return h('"use strict"; return ('+e+").constructor;")()}catch(hn){}},m=Object.getOwnPropertyDescriptor;if(m)try{m({},"")}catch(hn){m=null}var v=function(){throw new g},b=m?function(){try{return v}catch(e){try{return m(arguments,"callee").get}catch(t){return v}}}():v,M="function"==typeof s&&"function"==typeof Symbol&&"symbol"==typeof s("foo")&&"symbol"==typeof Symbol("bar")&&function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}(),w=Object.getPrototypeOf||function(e){return e.__proto__},N={},j="undefined"==typeof Uint8Array?void 0:w(Uint8Array),S={"%AggregateError%":"undefined"==typeof AggregateError?void 0:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer,"%ArrayIteratorPrototype%":M?w([][Symbol.iterator]()):void 0,"%AsyncFromSyncIteratorPrototype%":void 0,"%AsyncFunction%":N,"%AsyncGenerator%":N,"%AsyncGeneratorFunction%":N,"%AsyncIteratorPrototype%":N,"%Atomics%":"undefined"==typeof Atomics?void 0:Atomics,"%BigInt%":"undefined"==typeof BigInt?void 0:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?void 0:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?void 0:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?void 0:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?void 0:FinalizationRegistry,"%Function%":h,"%GeneratorFunction%":N,"%Int8Array%":"undefined"==typeof Int8Array?void 0:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?void 0:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?void 0:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":M?w(w([][Symbol.iterator]())):void 0,"%JSON%":"object"==typeof JSON?JSON:void 0,"%Map%":"undefined"==typeof Map?void 0:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&M?w((new Map)[Symbol.iterator]()):void 0,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?void 0:Promise,"%Proxy%":"undefined"==typeof Proxy?void 0:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?void 0:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?void 0:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&M?w((new Set)[Symbol.iterator]()):void 0,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":M?w(""[Symbol.iterator]()):void 0,"%Symbol%":M?Symbol:void 0,"%SyntaxError%":p,"%ThrowTypeError%":b,"%TypedArray%":j,"%TypeError%":g,"%Uint8Array%":"undefined"==typeof Uint8Array?void 0:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?void 0:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?void 0:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?void 0:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?void 0:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?void 0:WeakSet},I={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},D=f.call(Function.call,Array.prototype.concat),x=f.call(Function.apply,Array.prototype.splice),E=f.call(Function.call,String.prototype.replace),O=f.call(Function.call,String.prototype.slice),T=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,C=/\\(\\)?/g,k=function(e){var t=O(e,0,1),n=O(e,-1);if("%"===t&&"%"!==n)throw new p("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new p("invalid intrinsic syntax, expected opening `%`");var r=[];return E(e,T,(function(e,t,n,o){r[r.length]=n?E(o,C,"$1"):t||e})),r},L=function(e,t){var n,r=e;if(d(I,r)&&(r="%"+(n=I[r])[0]+"%"),d(S,r)){var o=S[r];if(o===N&&(o=function e(t){var n;if("%AsyncFunction%"===t)n=y("async function () {}");else if("%GeneratorFunction%"===t)n=y("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=y("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&(n=w(o.prototype))}return S[t]=n,n}(r)),void 0===o&&!t)throw new g("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:o}}throw new p("intrinsic "+e+" does not exist!")},_=function(e,t){if("string"!=typeof e||0===e.length)throw new g("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new g('"allowMissing" argument must be a boolean');var n=k(e),r=n.length>0?n[0]:"",o=L("%"+r+"%",t),i=o.name,a=o.value,s=!1,u=o.alias;u&&(r=u[0],x(n,D([0,1],u)));for(var l=1,c=!0;l<n.length;l+=1){var f=n[l],h=O(f,0,1),y=O(f,-1);if(('"'===h||"'"===h||"`"===h||'"'===y||"'"===y||"`"===y)&&h!==y)throw new p("property names with quotes must have matching quotes");if("constructor"!==f&&c||(s=!0),d(S,i="%"+(r+="."+f)+"%"))a=S[i];else if(null!=a){if(!(f in a)){if(!t)throw new g("base intrinsic for "+e+" exists, but the property is not available.");return}if(m&&l+1>=n.length){var v=m(a,f);a=(c=!!v)&&"get"in v&&!("originalValue"in v.get)?v.get:a[f]}else c=d(a,f),a=a[f];c&&!s&&(S[i]=a)}}return a},A=i((function(e){var t=_("%Function.prototype.apply%"),n=_("%Function.prototype.call%"),r=_("%Reflect.apply%",!0)||f.call(n,t),o=_("%Object.getOwnPropertyDescriptor%",!0),i=_("%Object.defineProperty%",!0),a=_("%Math.max%");if(i)try{i({},"a",{value:1})}catch(hn){i=null}e.exports=function(e){var t=r(f,n,arguments);if(o&&i){var s=o(t,"length");s.configurable&&i(t,"length",{value:1+a(0,e.length-(arguments.length-1))})}return t};var s=function(){return r(f,t,arguments)};i?i(e.exports,"apply",{value:s}):e.exports.apply=s})),z=(A.apply,A(_("String.prototype.indexOf"))),P=function(e,t){var n=_(e,!!t);return"function"==typeof n&&z(e,".prototype.")>-1?A(n):n},R=function(e){return e&&e.default||e}(Object.freeze({__proto__:null,default:{}})),U="function"==typeof Map&&Map.prototype,B=Object.getOwnPropertyDescriptor&&U?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,F=U&&B&&"function"==typeof B.get?B.get:null,Y=U&&Map.prototype.forEach,G="function"==typeof Set&&Set.prototype,H=Object.getOwnPropertyDescriptor&&G?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,V=G&&H&&"function"==typeof H.get?H.get:null,Q=G&&Set.prototype.forEach,W="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,Z="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,q="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,X=Boolean.prototype.valueOf,$=Object.prototype.toString,J=Function.prototype.toString,K=String.prototype.match,ee="function"==typeof BigInt?BigInt.prototype.valueOf:null,te=Object.getOwnPropertySymbols,ne="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,re="function"==typeof Symbol&&"object"==typeof Symbol.iterator,oe=Object.prototype.propertyIsEnumerable,ie=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null),ae=R.custom,se=ae&&de(ae)?ae:null,ue="function"==typeof Symbol&&void 0!==Symbol.toStringTag?Symbol.toStringTag:null;function le(e,t,n){var r="double"===(n.quoteStyle||t)?'"':"'";return r+e+r}function ce(e){return String(e).replace(/"/g,"&quot;")}function fe(e){return!("[object Array]"!==ge(e)||ue&&"object"==typeof e&&ue in e)}function de(e){if(re)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!ne)return!1;try{return ne.call(e),!0}catch(hn){}return!1}var pe=Object.prototype.hasOwnProperty||function(e){return e in this};function he(e,t){return pe.call(e,t)}function ge(e){return $.call(e)}function ye(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function me(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+t.toString(16).toUpperCase()}function ve(e){return"Object("+e+")"}function be(e){return e+" { ? }"}function Me(e,t,n,r){return e+" ("+t+") {"+(r?we(n,r):n.join(", "))+"}"}function we(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+e.join(","+n)+"\n"+t.prev}function Ne(e,t){var n=fe(e),r=[];if(n){r.length=e.length;for(var o=0;o<e.length;o++)r[o]=he(e,o)?t(e[o],e):""}var i,a="function"==typeof te?te(e):[];if(re){i={};for(var s=0;s<a.length;s++)i["$"+a[s]]=a[s]}for(var u in e)he(e,u)&&(n&&String(Number(u))===u&&u<e.length||re&&i["$"+u]instanceof Symbol||(/[^\w$]/.test(u)?r.push(t(u,e)+": "+t(e[u],e)):r.push(u+": "+t(e[u],e))));if("function"==typeof te)for(var l=0;l<a.length;l++)oe.call(e,a[l])&&r.push("["+t(a[l])+"]: "+t(e[a[l]],e));return r}var je=_("%TypeError%"),Se=_("%WeakMap%",!0),Ie=_("%Map%",!0),De=P("WeakMap.prototype.get",!0),xe=P("WeakMap.prototype.set",!0),Ee=P("WeakMap.prototype.has",!0),Oe=P("Map.prototype.get",!0),Te=P("Map.prototype.set",!0),Ce=P("Map.prototype.has",!0),ke=function(e,t){for(var n,r=e;null!==(n=r.next);r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n},Le=function(){var e,t,n,r={assert:function(e){if(!r.has(e))throw new je("Side channel does not contain "+function e(t,n,r,o){var i=n||{};if(he(i,"quoteStyle")&&"single"!==i.quoteStyle&&"double"!==i.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(he(i,"maxStringLength")&&("number"==typeof i.maxStringLength?i.maxStringLength<0&&i.maxStringLength!==1/0:null!==i.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var a=!he(i,"customInspect")||i.customInspect;if("boolean"!=typeof a&&"symbol"!==a)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(he(i,"indent")&&null!==i.indent&&"\t"!==i.indent&&!(parseInt(i.indent,10)===i.indent&&i.indent>0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return function e(t,n){if(t.length>n.maxStringLength){var r=t.length-n.maxStringLength,o="... "+r+" more character"+(r>1?"s":"");return e(t.slice(0,n.maxStringLength),n)+o}return le(t.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,me),"single",n)}(t,i);if("number"==typeof t)return 0===t?1/0/t>0?"0":"-0":String(t);if("bigint"==typeof t)return String(t)+"n";var s=void 0===i.depth?5:i.depth;if(void 0===r&&(r=0),r>=s&&s>0&&"object"==typeof t)return fe(t)?"[Array]":"[Object]";var u=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;n=Array(e.indent+1).join(" ")}return{base:n,prev:Array(t+1).join(n)}}(i,r);if(void 0===o)o=[];else if(ye(o,t)>=0)return"[Circular]";function l(t,n,a){if(n&&(o=o.slice()).push(n),a){var s={depth:i.depth};return he(i,"quoteStyle")&&(s.quoteStyle=i.quoteStyle),e(t,s,r+1,o)}return e(t,i,r+1,o)}if("function"==typeof t){var c=function(e){if(e.name)return e.name;var t=K.call(J.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),f=Ne(t,l);return"[Function"+(c?": "+c:" (anonymous)")+"]"+(f.length>0?" { "+f.join(", ")+" }":"")}if(de(t)){var d=re?String(t).replace(/^(Symbol\(.*\))_[^)]*$/,"$1"):ne.call(t);return"object"!=typeof t||re?d:ve(d)}if(function(e){return!(!e||"object"!=typeof e)&&("undefined"!=typeof HTMLElement&&e instanceof HTMLElement||"string"==typeof e.nodeName&&"function"==typeof e.getAttribute)}(t)){for(var p="<"+String(t.nodeName).toLowerCase(),h=t.attributes||[],g=0;g<h.length;g++)p+=" "+h[g].name+"="+le(ce(h[g].value),"double",i);return p+=">",t.childNodes&&t.childNodes.length&&(p+="..."),p+"</"+String(t.nodeName).toLowerCase()+">"}if(fe(t)){if(0===t.length)return"[]";var y=Ne(t,l);return u&&!function(e){for(var t=0;t<e.length;t++)if(ye(e[t],"\n")>=0)return!1;return!0}(y)?"["+we(y,u)+"]":"[ "+y.join(", ")+" ]"}if(function(e){return!("[object Error]"!==ge(e)||ue&&"object"==typeof e&&ue in e)}(t)){var m=Ne(t,l);return 0===m.length?"["+String(t)+"]":"{ ["+String(t)+"] "+m.join(", ")+" }"}if("object"==typeof t&&a){if(se&&"function"==typeof t[se])return t[se]();if("symbol"!==a&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!F||!e||"object"!=typeof e)return!1;try{F.call(e);try{V.call(e)}catch(p){return!0}return e instanceof Map}catch(hn){}return!1}(t)){var v=[];return Y.call(t,(function(e,n){v.push(l(n,t,!0)+" => "+l(e,t))})),Me("Map",F.call(t),v,u)}if(function(e){if(!V||!e||"object"!=typeof e)return!1;try{V.call(e);try{F.call(e)}catch(En){return!0}return e instanceof Set}catch(hn){}return!1}(t)){var b=[];return Q.call(t,(function(e){b.push(l(e,t))})),Me("Set",V.call(t),b,u)}if(function(e){if(!W||!e||"object"!=typeof e)return!1;try{W.call(e,W);try{Z.call(e,Z)}catch(p){return!0}return e instanceof WeakMap}catch(hn){}return!1}(t))return be("WeakMap");if(function(e){if(!Z||!e||"object"!=typeof e)return!1;try{Z.call(e,Z);try{W.call(e,W)}catch(p){return!0}return e instanceof WeakSet}catch(hn){}return!1}(t))return be("WeakSet");if(function(e){if(!q||!e||"object"!=typeof e)return!1;try{return q.call(e),!0}catch(hn){}return!1}(t))return be("WeakRef");if(function(e){return!("[object Number]"!==ge(e)||ue&&"object"==typeof e&&ue in e)}(t))return ve(l(Number(t)));if(function(e){if(!e||"object"!=typeof e||!ee)return!1;try{return ee.call(e),!0}catch(hn){}return!1}(t))return ve(l(ee.call(t)));if(function(e){return!("[object Boolean]"!==ge(e)||ue&&"object"==typeof e&&ue in e)}(t))return ve(X.call(t));if(function(e){return!("[object String]"!==ge(e)||ue&&"object"==typeof e&&ue in e)}(t))return ve(l(String(t)));if(!function(e){return!("[object Date]"!==ge(e)||ue&&"object"==typeof e&&ue in e)}(t)&&!function(e){return!("[object RegExp]"!==ge(e)||ue&&"object"==typeof e&&ue in e)}(t)){var M=Ne(t,l),w=ie?ie(t)===Object.prototype:t instanceof Object||t.constructor===Object,N=t instanceof Object?"":"null prototype",j=!w&&ue&&Object(t)===t&&ue in t?ge(t).slice(8,-1):N?"Object":"",S=(w||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(j||N?"["+[].concat(j||[],N||[]).join(": ")+"] ":"");return 0===M.length?S+"{}":u?S+"{"+we(M,u)+"}":S+"{ "+M.join(", ")+" }"}return String(t)}(e))},get:function(r){if(Se&&r&&("object"==typeof r||"function"==typeof r)){if(e)return De(e,r)}else if(Ie){if(t)return Oe(t,r)}else if(n)return function(e,t){var n=ke(e,t);return n&&n.value}(n,r)},has:function(r){if(Se&&r&&("object"==typeof r||"function"==typeof r)){if(e)return Ee(e,r)}else if(Ie){if(t)return Ce(t,r)}else if(n)return function(e,t){return!!ke(e,t)}(n,r);return!1},set:function(r,o){Se&&r&&("object"==typeof r||"function"==typeof r)?(e||(e=new Se),xe(e,r,o)):Ie?(t||(t=new Ie),Te(t,r,o)):(n||(n={key:{},next:null}),function(e,t,n){var r=ke(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}}(n,r,o))}};return r},_e=String.prototype.replace,Ae=/%20/g,ze={default:"RFC3986",formatters:{RFC1738:function(e){return _e.call(e,Ae,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:"RFC3986"},Pe=Object.prototype.hasOwnProperty,Re=Array.isArray,Ue=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),Be=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)void 0!==e[r]&&(n[r]=e[r]);return n},Fe={arrayToObject:Be,assign:function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r)for(var o=t[r],i=o.obj[o.prop],a=Object.keys(i),s=0;s<a.length;++s){var u=a[s],l=i[u];"object"==typeof l&&null!==l&&-1===n.indexOf(l)&&(t.push({obj:i,prop:u}),n.push(l))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(Re(n)){for(var r=[],o=0;o<n.length;++o)void 0!==n[o]&&r.push(n[o]);t.obj[t.prop]=r}}}(t),e},decode:function(e,t,n){var r=e.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(hn){return r}},encode:function(e,t,n,r,o){if(0===e.length)return e;var i=e;if("symbol"==typeof e?i=Symbol.prototype.toString.call(e):"string"!=typeof e&&(i=String(e)),"iso-8859-1"===n)return escape(i).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var a="",s=0;s<i.length;++s){var u=i.charCodeAt(s);45===u||46===u||95===u||126===u||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122||o===ze.RFC1738&&(40===u||41===u)?a+=i.charAt(s):u<128?a+=Ue[u]:u<2048?a+=Ue[192|u>>6]+Ue[128|63&u]:u<55296||u>=57344?a+=Ue[224|u>>12]+Ue[128|u>>6&63]+Ue[128|63&u]:(s+=1,u=65536+((1023&u)<<10|1023&i.charCodeAt(s)),a+=Ue[240|u>>18]+Ue[128|u>>12&63]+Ue[128|u>>6&63]+Ue[128|63&u])}return a},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(Re(e)){for(var n=[],r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)},merge:function e(t,n,r){if(!n)return t;if("object"!=typeof n){if(Re(t))t.push(n);else{if(!t||"object"!=typeof t)return[t,n];(r&&(r.plainObjects||r.allowPrototypes)||!Pe.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(n);var o=t;return Re(t)&&!Re(n)&&(o=Be(t,r)),Re(t)&&Re(n)?(n.forEach((function(n,o){if(Pe.call(t,o)){var i=t[o];i&&"object"==typeof i&&n&&"object"==typeof n?t[o]=e(i,n,r):t.push(n)}else t[o]=n})),t):Object.keys(n).reduce((function(t,o){var i=n[o];return Pe.call(t,o)?t[o]=e(t[o],i,r):t[o]=i,t}),o)}},Ye=Object.prototype.hasOwnProperty,Ge={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},He=Array.isArray,Ve=Array.prototype.push,Qe=function(e,t){Ve.apply(e,He(t)?t:[t])},We=Date.prototype.toISOString,Ze=ze.default,qe={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:Fe.encode,encodeValuesOnly:!1,format:Ze,formatter:ze.formatters[Ze],indices:!1,serializeDate:function(e){return We.call(e)},skipNulls:!1,strictNullHandling:!1},Xe=function e(t,n,r,o,i,a,s,u,l,c,f,d,p,h,g){var y=t;if(g.has(t))throw new RangeError("Cyclic object value");if("function"==typeof s?y=s(n,y):y instanceof Date?y=c(y):"comma"===r&&He(y)&&(y=Fe.maybeMap(y,(function(e){return e instanceof Date?c(e):e}))),null===y){if(o)return a&&!p?a(n,qe.encoder,h,"key",f):n;y=""}if(function(e){return"string"==typeof e||"number"==typeof e||"boolean"==typeof e||"symbol"==typeof e||"bigint"==typeof e}(y)||Fe.isBuffer(y))return a?[d(p?n:a(n,qe.encoder,h,"key",f))+"="+d(a(y,qe.encoder,h,"value",f))]:[d(n)+"="+d(String(y))];var m,v=[];if(void 0===y)return v;if("comma"===r&&He(y))m=[{value:y.length>0?y.join(",")||null:void 0}];else if(He(s))m=s;else{var b=Object.keys(y);m=u?b.sort(u):b}for(var M=0;M<m.length;++M){var w=m[M],N="object"==typeof w&&void 0!==w.value?w.value:y[w];if(!i||null!==N){var j=He(y)?"function"==typeof r?r(n,w):n:n+(l?"."+w:"["+w+"]");g.set(t,!0);var S=Le();Qe(v,e(N,j,r,o,i,a,s,u,l,c,f,d,p,h,S))}}return v},$e=Object.prototype.hasOwnProperty,Je=Array.isArray,Ke={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:Fe.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},et=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},tt=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},nt=function(e,t,n,r){if(e){var o=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,i=/(\[[^[\]]*])/g,a=n.depth>0&&/(\[[^[\]]*])/.exec(o),s=a?o.slice(0,a.index):o,u=[];if(s){if(!n.plainObjects&&$e.call(Object.prototype,s)&&!n.allowPrototypes)return;u.push(s)}for(var l=0;n.depth>0&&null!==(a=i.exec(o))&&l<n.depth;){if(l+=1,!n.plainObjects&&$e.call(Object.prototype,a[1].slice(1,-1))&&!n.allowPrototypes)return;u.push(a[1])}return a&&u.push("["+o.slice(a.index)+"]"),function(e,t,n,r){for(var o=r?t:tt(t,n),i=e.length-1;i>=0;--i){var a,s=e[i];if("[]"===s&&n.parseArrays)a=[].concat(o);else{a=n.plainObjects?Object.create(null):{};var u="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,l=parseInt(u,10);n.parseArrays||""!==u?!isNaN(l)&&s!==u&&String(l)===u&&l>=0&&n.parseArrays&&l<=n.arrayLimit?(a=[])[l]=o:a[u]=o:a={0:o}}o=a}return o}(u,t,n,r)}},rt=function(e,t){var n,r=e,o=function(e){if(!e)return qe;if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||qe.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=ze.default;if(void 0!==e.format){if(!Ye.call(ze.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var r=ze.formatters[n],o=qe.filter;return("function"==typeof e.filter||He(e.filter))&&(o=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:qe.addQueryPrefix,allowDots:void 0===e.allowDots?qe.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:qe.charsetSentinel,delimiter:void 0===e.delimiter?qe.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:qe.encode,encoder:"function"==typeof e.encoder?e.encoder:qe.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:qe.encodeValuesOnly,filter:o,format:n,formatter:r,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:qe.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:qe.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:qe.strictNullHandling}}(t);"function"==typeof o.filter?r=(0,o.filter)("",r):He(o.filter)&&(n=o.filter);var i,a=[];if("object"!=typeof r||null===r)return"";i=t&&t.arrayFormat in Ge?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var s=Ge[i];n||(n=Object.keys(r)),o.sort&&n.sort(o.sort);for(var u=Le(),l=0;l<n.length;++l){var c=n[l];o.skipNulls&&null===r[c]||Qe(a,Xe(r[c],c,s,o.strictNullHandling,o.skipNulls,o.encode?o.encoder:null,o.filter,o.sort,o.allowDots,o.serializeDate,o.format,o.formatter,o.encodeValuesOnly,o.charset,u))}var f=a.join(o.delimiter),d=!0===o.addQueryPrefix?"?":"";return o.charsetSentinel&&("iso-8859-1"===o.charset?d+="utf8=%26%2310003%3B&":d+="utf8=%E2%9C%93&"),f.length>0?d+f:""},ot=i((function(e){function t(e){if(e)return function(e){for(var n in t.prototype)e[n]=t.prototype[n];return e}(e)}e.exports=t,t.prototype.on=t.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},t.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},t.prototype.off=t.prototype.removeListener=t.prototype.removeAllListeners=t.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,r=this._callbacks["$"+e];if(!r)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var o=0;o<r.length;o++)if((n=r[o])===t||n.fn===t){r.splice(o,1);break}return 0===r.length&&delete this._callbacks["$"+e],this},t.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),n=this._callbacks["$"+e],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(n){r=0;for(var o=(n=n.slice(0)).length;r<o;++r)n[r].apply(this,t)}return this},t.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},t.prototype.hasListeners=function(e){return!!this.listeners(e).length}})),it=ut;ut.default=ut,ut.stable=ct,ut.stableStringify=ct;var at=[],st=[];function ut(e,t,n){var r;for(function e(t,n,r,o){var i;if("object"==typeof t&&null!==t){for(i=0;i<r.length;i++)if(r[i]===t){var a=Object.getOwnPropertyDescriptor(o,n);return void(void 0!==a.get?a.configurable?(Object.defineProperty(o,n,{value:"[Circular]"}),at.push([o,n,t,a])):st.push([t,n]):(o[n]="[Circular]",at.push([o,n,t])))}if(r.push(t),Array.isArray(t))for(i=0;i<t.length;i++)e(t[i],i,r,t);else{var s=Object.keys(t);for(i=0;i<s.length;i++){var u=s[i];e(t[u],u,r,t)}}r.pop()}}(e,"",[],void 0),r=0===st.length?JSON.stringify(e,t,n):JSON.stringify(e,ft(t),n);0!==at.length;){var o=at.pop();4===o.length?Object.defineProperty(o[0],o[1],o[3]):o[0][o[1]]=o[2]}return r}function lt(e,t){return e<t?-1:e>t?1:0}function ct(e,t,n){var r,o=function e(t,n,r,o){var i;if("object"==typeof t&&null!==t){for(i=0;i<r.length;i++)if(r[i]===t){var a=Object.getOwnPropertyDescriptor(o,n);return void(void 0!==a.get?a.configurable?(Object.defineProperty(o,n,{value:"[Circular]"}),at.push([o,n,t,a])):st.push([t,n]):(o[n]="[Circular]",at.push([o,n,t])))}if("function"==typeof t.toJSON)return;if(r.push(t),Array.isArray(t))for(i=0;i<t.length;i++)e(t[i],i,r,t);else{var s={},u=Object.keys(t).sort(lt);for(i=0;i<u.length;i++){var l=u[i];e(t[l],l,r,t),s[l]=t[l]}if(void 0===o)return s;at.push([o,n,t]),o[n]=s}r.pop()}}(e,"",[],void 0)||e;for(r=0===st.length?JSON.stringify(o,t,n):JSON.stringify(o,ft(t),n);0!==at.length;){var i=at.pop();4===i.length?Object.defineProperty(i[0],i[1],i[3]):i[0][i[1]]=i[2]}return r}function ft(e){return e=void 0!==e?e:function(e,t){return t},function(t,n){if(st.length>0)for(var r=0;r<st.length;r++){var o=st[r];if(o[1]===t&&o[0]===n){n="[Circular]",st.splice(r,1);break}}return e.call(this,t,n)}}function dt(e){return(dt="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})(e)}var pt=function(e){return null!==e&&"object"===dt(e)};function ht(e){return(ht="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})(e)}var gt=yt;function yt(e){if(e)return function(e){for(var t in yt.prototype)Object.prototype.hasOwnProperty.call(yt.prototype,t)&&(e[t]=yt.prototype[t]);return e}(e)}yt.prototype.clearTimeout=function(){return clearTimeout(this._timer),clearTimeout(this._responseTimeoutTimer),clearTimeout(this._uploadTimeoutTimer),delete this._timer,delete this._responseTimeoutTimer,delete this._uploadTimeoutTimer,this},yt.prototype.parse=function(e){return this._parser=e,this},yt.prototype.responseType=function(e){return this._responseType=e,this},yt.prototype.serialize=function(e){return this._serializer=e,this},yt.prototype.timeout=function(e){if(!e||"object"!==ht(e))return this._timeout=e,this._responseTimeout=0,this._uploadTimeout=0,this;for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))switch(t){case"deadline":this._timeout=e.deadline;break;case"response":this._responseTimeout=e.response;break;case"upload":this._uploadTimeout=e.upload;break;default:console.warn("Unknown timeout option",t)}return this},yt.prototype.retry=function(e,t){return 0!==arguments.length&&!0!==e||(e=1),e<=0&&(e=0),this._maxRetries=e,this._retries=0,this._retryCallback=t,this};var mt=["ECONNRESET","ETIMEDOUT","EADDRINFO","ESOCKETTIMEDOUT"];yt.prototype._shouldRetry=function(e,t){if(!this._maxRetries||this._retries++>=this._maxRetries)return!1;if(this._retryCallback)try{var n=this._retryCallback(e,t);if(!0===n)return!0;if(!1===n)return!1}catch(r){console.error(r)}if(t&&t.status&&t.status>=500&&501!==t.status)return!0;if(e){if(e.code&&mt.includes(e.code))return!0;if(e.timeout&&"ECONNABORTED"===e.code)return!0;if(e.crossDomain)return!0}return!1},yt.prototype._retry=function(){return this.clearTimeout(),this.req&&(this.req=null,this.req=this.request()),this._aborted=!1,this.timedout=!1,this.timedoutError=null,this._end()},yt.prototype.then=function(e,t){var n=this;if(!this._fullfilledPromise){var r=this;this._endCalled&&console.warn("Warning: superagent request was sent twice, because both .end() and .then() were called. Never call .end() if you use promises"),this._fullfilledPromise=new Promise((function(e,t){r.on("abort",(function(){if(!(n._maxRetries&&n._maxRetries>n._retries))if(n.timedout&&n.timedoutError)t(n.timedoutError);else{var e=new Error("Aborted");e.code="ABORTED",e.status=n.status,e.method=n.method,e.url=n.url,t(e)}})),r.end((function(n,r){n?t(n):e(r)}))}))}return this._fullfilledPromise.then(e,t)},yt.prototype.catch=function(e){return this.then(void 0,e)},yt.prototype.use=function(e){return e(this),this},yt.prototype.ok=function(e){if("function"!=typeof e)throw new Error("Callback required");return this._okCallback=e,this},yt.prototype._isResponseOK=function(e){return!!e&&(this._okCallback?this._okCallback(e):e.status>=200&&e.status<300)},yt.prototype.get=function(e){return this._header[e.toLowerCase()]},yt.prototype.getHeader=yt.prototype.get,yt.prototype.set=function(e,t){if(pt(e)){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&this.set(n,e[n]);return this}return this._header[e.toLowerCase()]=t,this.header[e]=t,this},yt.prototype.unset=function(e){return delete this._header[e.toLowerCase()],delete this.header[e],this},yt.prototype.field=function(e,t){if(null==e)throw new Error(".field(name, val) name can not be empty");if(this._data)throw new Error(".field() can't be used if .send() is used. Please use only .send() or only .field() & .attach()");if(pt(e)){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&this.field(n,e[n]);return this}if(Array.isArray(t)){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&this.field(e,t[r]);return this}if(null==t)throw new Error(".field(name, val) val can not be empty");return"boolean"==typeof t&&(t=String(t)),this._getFormData().append(e,t),this},yt.prototype.abort=function(){return this._aborted||(this._aborted=!0,this.xhr&&this.xhr.abort(),this.req&&this.req.abort(),this.clearTimeout(),this.emit("abort")),this},yt.prototype._auth=function(e,t,n,r){switch(n.type){case"basic":this.set("Authorization","Basic ".concat(r("".concat(e,":").concat(t))));break;case"auto":this.username=e,this.password=t;break;case"bearer":this.set("Authorization","Bearer ".concat(e))}return this},yt.prototype.withCredentials=function(e){return void 0===e&&(e=!0),this._withCredentials=e,this},yt.prototype.redirects=function(e){return this._maxRedirects=e,this},yt.prototype.maxResponseSize=function(e){if("number"!=typeof e)throw new TypeError("Invalid argument");return this._maxResponseSize=e,this},yt.prototype.toJSON=function(){return{method:this.method,url:this.url,data:this._data,headers:this._header}},yt.prototype.send=function(e){var t=pt(e),n=this._header["content-type"];if(this._formData)throw new Error(".send() can't be used if .attach() or .field() is used. Please use only .send() or only .field() & .attach()");if(t&&!this._data)Array.isArray(e)?this._data=[]:this._isHost(e)||(this._data={});else if(e&&this._data&&this._isHost(this._data))throw new Error("Can't merge these send calls");if(t&&pt(this._data))for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(this._data[r]=e[r]);else"string"==typeof e?(n||this.type("form"),n=this._header["content-type"],this._data="application/x-www-form-urlencoded"===n?this._data?"".concat(this._data,"&").concat(e):e:(this._data||"")+e):this._data=e;return!t||this._isHost(e)||n||this.type("json"),this},yt.prototype.sortQuery=function(e){return this._sort=void 0===e||e,this},yt.prototype._finalizeQueryString=function(){var e=this._query.join("&");if(e&&(this.url+=(this.url.includes("?")?"&":"?")+e),this._query.length=0,this._sort){var t=this.url.indexOf("?");if(t>=0){var n=this.url.slice(t+1).split("&");"function"==typeof this._sort?n.sort(this._sort):n.sort(),this.url=this.url.slice(0,t)+"?"+n.join("&")}}},yt.prototype._appendQueryString=function(){console.warn("Unsupported")},yt.prototype._timeoutError=function(e,t,n){if(!this._aborted){var r=new Error("".concat(e+t,"ms exceeded"));r.timeout=t,r.code="ECONNABORTED",r.errno=n,this.timedout=!0,this.timedoutError=r,this.abort(),this.callback(r)}},yt.prototype._setTimeouts=function(){var e=this;this._timeout&&!this._timer&&(this._timer=setTimeout((function(){e._timeoutError("Timeout of ",e._timeout,"ETIME")}),this._timeout)),this._responseTimeout&&!this._responseTimeoutTimer&&(this._responseTimeoutTimer=setTimeout((function(){e._timeoutError("Response timeout of ",e._responseTimeout,"ETIMEDOUT")}),this._responseTimeout))};var vt=bt;function bt(e){if(e)return function(e){for(var t in bt.prototype)Object.prototype.hasOwnProperty.call(bt.prototype,t)&&(e[t]=bt.prototype[t]);return e}(e)}function Mt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function wt(){this._defaults=[]}bt.prototype.get=function(e){return this.header[e.toLowerCase()]},bt.prototype._setHeaderProperties=function(e){var t=e["content-type"]||"";this.type=t.split(/ *; */).shift();var n=function(e){return e.split(/ *; */).reduce((function(e,t){var n=t.split(/ *= */),r=n.shift(),o=n.shift();return r&&o&&(e[r]=o),e}),{})}(t);for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(this[r]=n[r]);this.links={};try{e.link&&(this.links=function(e){return e.split(/ *, */).reduce((function(e,t){var n=t.split(/ *; */),r=n[0].slice(1,-1);return e[n[1].split(/ *= */)[1].slice(1,-1)]=r,e}),{})}(e.link))}catch(o){}},bt.prototype._setStatusProperties=function(e){var t=e/100|0;this.statusCode=e,this.status=this.statusCode,this.statusType=t,this.info=1===t,this.ok=2===t,this.redirect=3===t,this.clientError=4===t,this.serverError=5===t,this.error=(4===t||5===t)&&this.toError(),this.created=201===e,this.accepted=202===e,this.noContent=204===e,this.badRequest=400===e,this.unauthorized=401===e,this.notAcceptable=406===e,this.forbidden=403===e,this.notFound=404===e,this.unprocessableEntity=422===e},["use","on","once","set","query","type","accept","auth","withCredentials","sortQuery","retry","ok","redirects","timeout","buffer","serialize","parse","ca","key","pfx","cert","disableTLSCerts"].forEach((function(e){wt.prototype[e]=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this._defaults.push({fn:e,args:n}),this}})),wt.prototype._setDefaults=function(e){this._defaults.forEach((function(t){e[t.fn].apply(e,function(e){return function(e){if(Array.isArray(e))return Mt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Mt(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Mt(e,void 0):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(t.args))}))};for(var Nt=wt,jt=i((function(e,t){function n(e){return(n="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})(e)}var r;function o(){}"undefined"!=typeof window?r=window:"undefined"==typeof self?(console.warn("Using browser-only version of superagent in non-browser environment"),r=void 0):r=self,e.exports=function(e,n){return"function"==typeof n?new t.Request("GET",e).end(n):1===arguments.length?new t.Request("GET",e):new t.Request(e,n)};var i=t=e.exports;t.Request=d,i.getXHR=function(){if(r.XMLHttpRequest&&(!r.location||"file:"!==r.location.protocol||!r.ActiveXObject))return new XMLHttpRequest;try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(t){}try{return new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(n){}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(o){}throw new Error("Browser-only version of superagent could not find XHR")};var a="".trim?function(e){return e.trim()}:function(e){return e.replace(/(^\s*|\s*$)/g,"")};function s(e){if(!pt(e))return e;var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&u(t,n,e[n]);return t.join("&")}function u(e,t,n){if(void 0!==n)if(null!==n)if(Array.isArray(n))n.forEach((function(n){u(e,t,n)}));else if(pt(n))for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&u(e,"".concat(t,"[").concat(r,"]"),n[r]);else e.push(encodeURI(t)+"="+encodeURIComponent(n));else e.push(encodeURI(t))}function l(e){for(var t,n,r={},o=e.split("&"),i=0,a=o.length;i<a;++i)-1===(n=(t=o[i]).indexOf("="))?r[decodeURIComponent(t)]="":r[decodeURIComponent(t.slice(0,n))]=decodeURIComponent(t.slice(n+1));return r}function c(e){return/[/+]json($|[^-\w])/.test(e)}function f(e){this.req=e,this.xhr=this.req.xhr,this.text="HEAD"!==this.req.method&&(""===this.xhr.responseType||"text"===this.xhr.responseType)||void 0===this.xhr.responseType?this.xhr.responseText:null,this.statusText=this.req.xhr.statusText;var t=this.xhr.status;1223===t&&(t=204),this._setStatusProperties(t),this.headers=function(e){for(var t,n,r,o,i=e.split(/\r?\n/),s={},u=0,l=i.length;u<l;++u)-1!==(t=(n=i[u]).indexOf(":"))&&(r=n.slice(0,t).toLowerCase(),o=a(n.slice(t+1)),s[r]=o);return s}(this.xhr.getAllResponseHeaders()),this.header=this.headers,this.header["content-type"]=this.xhr.getResponseHeader("content-type"),this._setHeaderProperties(this.header),null===this.text&&e._responseType?this.body=this.xhr.response:this.body="HEAD"===this.req.method?null:this._parseBody(this.text?this.text:this.xhr.response)}function d(e,t){var n=this;this._query=this._query||[],this.method=e,this.url=t,this.header={},this._header={},this.on("end",(function(){var e,t=null,r=null;try{r=new f(n)}catch(o){return(t=new Error("Parser is unable to parse the response")).parse=!0,t.original=o,n.xhr?(t.rawResponse=void 0===n.xhr.responseType?n.xhr.responseText:n.xhr.response,t.status=n.xhr.status?n.xhr.status:null,t.statusCode=t.status):(t.rawResponse=null,t.status=null),n.callback(t)}n.emit("response",r);try{n._isResponseOK(r)||(e=new Error(r.statusText||r.text||"Unsuccessful HTTP response"))}catch(o){e=o}e?(e.original=t,e.response=r,e.status=r.status,n.callback(e,r)):n.callback(null,r)}))}function p(e,t,n){var r=i("DELETE",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r}i.serializeObject=s,i.parseString=l,i.types={html:"text/html",json:"application/json",xml:"text/xml",urlencoded:"application/x-www-form-urlencoded",form:"application/x-www-form-urlencoded","form-data":"application/x-www-form-urlencoded"},i.serialize={"application/x-www-form-urlencoded":s,"application/json":it},i.parse={"application/x-www-form-urlencoded":l,"application/json":JSON.parse},vt(f.prototype),f.prototype._parseBody=function(e){var t=i.parse[this.type];return this.req._parser?this.req._parser(this,e):(!t&&c(this.type)&&(t=i.parse["application/json"]),t&&e&&(e.length>0||e instanceof Object)?t(e):null)},f.prototype.toError=function(){var e=this.req,t=e.method,n=e.url,r="cannot ".concat(t," ").concat(n," (").concat(this.status,")"),o=new Error(r);return o.status=this.status,o.method=t,o.url=n,o},i.Response=f,ot(d.prototype),gt(d.prototype),d.prototype.type=function(e){return this.set("Content-Type",i.types[e]||e),this},d.prototype.accept=function(e){return this.set("Accept",i.types[e]||e),this},d.prototype.auth=function(e,t,r){1===arguments.length&&(t=""),"object"===n(t)&&null!==t&&(r=t,t=""),r||(r={type:"function"==typeof btoa?"basic":"auto"});var o=function(e){if("function"==typeof btoa)return btoa(e);throw new Error("Cannot use basic auth, btoa is not a function")};return this._auth(e,t,r,o)},d.prototype.query=function(e){return"string"!=typeof e&&(e=s(e)),e&&this._query.push(e),this},d.prototype.attach=function(e,t,n){if(t){if(this._data)throw new Error("superagent can't mix .send() and .attach()");this._getFormData().append(e,t,n||t.name)}return this},d.prototype._getFormData=function(){return this._formData||(this._formData=new r.FormData),this._formData},d.prototype.callback=function(e,t){if(this._shouldRetry(e,t))return this._retry();var n=this._callback;this.clearTimeout(),e&&(this._maxRetries&&(e.retries=this._retries-1),this.emit("error",e)),n(e,t)},d.prototype.crossDomainError=function(){var e=new Error("Request has been terminated\nPossible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.");e.crossDomain=!0,e.status=this.status,e.method=this.method,e.url=this.url,this.callback(e)},d.prototype.agent=function(){return console.warn("This is not supported in browser version of superagent"),this},d.prototype.ca=d.prototype.agent,d.prototype.buffer=d.prototype.ca,d.prototype.write=function(){throw new Error("Streaming is not supported in browser version of superagent")},d.prototype.pipe=d.prototype.write,d.prototype._isHost=function(e){return e&&"object"===n(e)&&!Array.isArray(e)&&"[object Object]"!==Object.prototype.toString.call(e)},d.prototype.end=function(e){this._endCalled&&console.warn("Warning: .end() was called twice. This is not supported in superagent"),this._endCalled=!0,this._callback=e||o,this._finalizeQueryString(),this._end()},d.prototype._setUploadTimeout=function(){var e=this;this._uploadTimeout&&!this._uploadTimeoutTimer&&(this._uploadTimeoutTimer=setTimeout((function(){e._timeoutError("Upload timeout of ",e._uploadTimeout,"ETIMEDOUT")}),this._uploadTimeout))},d.prototype._end=function(){if(this._aborted)return this.callback(new Error("The request has been aborted even before .end() was called"));var e=this;this.xhr=i.getXHR();var t=this.xhr,n=this._formData||this._data;this._setTimeouts(),t.onreadystatechange=function(){var n=t.readyState;if(n>=2&&e._responseTimeoutTimer&&clearTimeout(e._responseTimeoutTimer),4===n){var r;try{r=t.status}catch(o){r=0}if(!r){if(e.timedout||e._aborted)return;return e.crossDomainError()}e.emit("end")}};var r=function(t,n){n.total>0&&(n.percent=n.loaded/n.total*100,100===n.percent&&clearTimeout(e._uploadTimeoutTimer)),n.direction=t,e.emit("progress",n)};if(this.hasListeners("progress"))try{t.addEventListener("progress",r.bind(null,"download")),t.upload&&t.upload.addEventListener("progress",r.bind(null,"upload"))}catch(u){}t.upload&&this._setUploadTimeout();try{this.username&&this.password?t.open(this.method,this.url,!0,this.username,this.password):t.open(this.method,this.url,!0)}catch(l){return this.callback(l)}if(this._withCredentials&&(t.withCredentials=!0),!this._formData&&"GET"!==this.method&&"HEAD"!==this.method&&"string"!=typeof n&&!this._isHost(n)){var o=this._header["content-type"],a=this._serializer||i.serialize[o?o.split(";")[0]:""];!a&&c(o)&&(a=i.serialize["application/json"]),a&&(n=a(n))}for(var s in this.header)null!==this.header[s]&&Object.prototype.hasOwnProperty.call(this.header,s)&&t.setRequestHeader(s,this.header[s]);this._responseType&&(t.responseType=this._responseType),this.emit("request",this),t.send(void 0===n?null:n)},i.agent=function(){return new Nt},["GET","POST","OPTIONS","PATCH","PUT","DELETE"].forEach((function(e){Nt.prototype[e.toLowerCase()]=function(t,n){var r=new i.Request(e,t);return this._setDefaults(r),n&&r.end(n),r}})),Nt.prototype.del=Nt.prototype.delete,i.get=function(e,t,n){var r=i("GET",e);return"function"==typeof t&&(n=t,t=null),t&&r.query(t),n&&r.end(n),r},i.head=function(e,t,n){var r=i("HEAD",e);return"function"==typeof t&&(n=t,t=null),t&&r.query(t),n&&r.end(n),r},i.options=function(e,t,n){var r=i("OPTIONS",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},i.del=p,i.delete=p,i.patch=function(e,t,n){var r=i("PATCH",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},i.post=function(e,t,n){var r=i("POST",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},i.put=function(e,t,n){var r=i("PUT",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r}})),St=(jt.Request,[]),It=[],Dt=("undefined"!=typeof Uint8Array&&Uint8Array,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),xt=0,Et=Dt.length;xt<Et;++xt)St[xt]=Dt[xt],It[Dt.charCodeAt(xt)]=xt;function Ot(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&t,[n,n===t?0:4-n%4]}function Tt(e,t,n){for(var r,o,i=[],a=t;a<n;a+=3)r=(e[a]<<16&16711680)+(e[a+1]<<8&65280)+(255&e[a+2]),i.push(St[(o=r)>>18&63]+St[o>>12&63]+St[o>>6&63]+St[63&o]);return i.join("")}It["-".charCodeAt(0)]=62,It["_".charCodeAt(0)]=63;var Ct=function(e){for(var t,n=e.length,r=n%3,o=[],i=0,a=n-r;i<a;i+=16383)o.push(Tt(e,i,i+16383>a?a:i+16383));return 1===r?(t=e[n-1],o.push(St[t>>2]+St[t<<4&63]+"==")):2===r&&(t=(e[n-2]<<8)+e[n-1],o.push(St[t>>10]+St[t>>4&63]+St[t<<2&63]+"=")),o.join("")},kt=function(e){return Ct(function(e){for(var t=new Array(e.length),n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t}(e)).replace(/\+/g,"-").replace(/\//g,"_")},Lt={raw:"9.18.0"},_t=Object.prototype.toString;function At(e,t,n,r){if(n="array"===n?"object":n,e&&typeof e[t]!==n)throw new Error(r)}function zt(e,t,n){if(typeof e!==t)throw new Error(n)}function Pt(e,t,n){if(-1===t.indexOf(e))throw new Error(n)}var Rt={check:function(e,t,n){if(t.optional&&!e||zt(e,t.type,t.message),"object"===t.type&&n)for(var r=Object.keys(n),o=0;o<r.length;o++){var i=r[o];n[i].optional&&!e[i]||n[i].condition&&!n[i].condition(e)||(At(e,i,n[i].type,n[i].message),n[i].values&&Pt(e[i],n[i].values,n[i].value_message))}},attribute:At,variable:zt,value:Pt,isArray:function(e){return this.supportsIsArray()?Array.isArray(e):"[object Array]"===_t.call(e)},supportsIsArray:function(){return null!=Array.isArray}};function Ut(e){if(null==e)throw new TypeError("Cannot convert first argument to object");for(var t=Object(e),n=1;n<arguments.length;n++){var r=arguments[n];if(null!=r)for(var o=Object.keys(Object(r)),i=0,a=o.length;i<a;i++){var s=o[i],u=Object.getOwnPropertyDescriptor(r,s);void 0!==u&&u.enumerable&&(t[s]=r[s])}}return t}var Bt=function(){return Object.assign?Object.assign:Ut};function Ft(e,t){return t.reduce((function(t,n){return e[n]&&(t[n]=e[n]),t}),{})}function Yt(e){var t=[];for(var n in e)t.push(e[n]);return t}function Gt(){var e=Yt(arguments);return e.unshift({}),Bt().apply(void 0,e)}function Ht(e){var t=e.match(/^(https?:|file:|chrome-extension:)\/\/(([^:/?#]*)(?::([0-9]+))?)([/]{0,1}[^?#]*)(\?[^#]*|)(#.*|)$/);return t&&{href:e,protocol:t[1],host:t[2],hostname:t[3],port:t[4],pathname:t[5],search:t[6],hash:t[7]}}function Vt(e,t){var n=Gt(e);return e[t]&&(n[t]=e[t].trim()),n}var Qt={toSnakeCase:function e(t,n){return"object"!=typeof t||Rt.isArray(t)||null===t?t:(n=n||[],Object.keys(t).reduce((function(r,o){return r[-1===n.indexOf(o)?function(e){for(var t,n="",r=0,o=!0,i=!0;r<e.length;)t=e.charCodeAt(r),!i&&t>=65&&t<=90||!o&&t>=48&&t<=57?(n+="_",n+=e[r].toLowerCase()):n+=e[r].toLowerCase(),o=t>=48&&t<=57,i=t>=65&&t<=90,r++;return n}(o):o]=e(t[o]),r}),{}))},toCamelCase:function e(t,n,r){return"object"!=typeof t||Rt.isArray(t)||null===t?t:(n=n||[],r=r||{},Object.keys(t).reduce((function(o,i){var a,s=-1===n.indexOf(i)?(a=i.split("_")).reduce((function(e,t){return e+t.charAt(0).toUpperCase()+t.slice(1)}),a.shift()):i;return o[s]=e(t[s]||t[i],[],r),r.keepOriginal&&(o[i]=e(t[i],[],r)),o}),{}))},blacklist:function(e,t){return Object.keys(e).reduce((function(n,r){return-1===t.indexOf(r)&&(n[r]=e[r]),n}),{})},merge:function(e,t){return{base:t?Ft(e,t):e,with:function(e,t){return e=t?Ft(e,t):e,Gt(this.base,e)}}},pick:Ft,getKeysNotIn:function(e,t){var n=[];for(var r in e)-1===t.indexOf(r)&&n.push(r);return n},extend:Gt,getOriginFromUrl:function(e){if(e){var t=Ht(e);if(!t)return null;var n=t.protocol+"//"+t.hostname;return t.port&&(n+=":"+t.port),n}},getLocationFromUrl:Ht,trimUserDetails:function(e){return function(e,t){return["username","email","phoneNumber"].reduce(Vt,e)}(e)},updatePropertyOn:function e(t,n,r){"string"==typeof n&&(n=n.split("."));var o=n[0];t.hasOwnProperty(o)&&(1===n.length?t[o]=r:e(t[o],n.slice(1),r))}};function Wt(e){this.request=e,this.method=e.method,this.url=e.url,this.body=e._data,this.headers=e._header}function Zt(e){this.request=e}function qt(e){this._sendTelemetry=!1!==e._sendTelemetry||e._sendTelemetry,this._telemetryInfo=e._telemetryInfo||null,this._timesToRetryFailedRequests=e._timesToRetryFailedRequests,this.headers=e.headers||{},this._universalLoginPage=e.universalLoginPage}function Xt(){return window}Wt.prototype.abort=function(){this.request.abort()},Wt.prototype.getMethod=function(){return this.method},Wt.prototype.getBody=function(){return this.body},Wt.prototype.getUrl=function(){return this.url},Wt.prototype.getHeaders=function(){return this.headers},Zt.prototype.set=function(e,t){return this.request=this.request.set(e,t),this},Zt.prototype.send=function(e){return this.request=this.request.send(Qt.trimUserDetails(e)),this},Zt.prototype.withCredentials=function(){return this.request=this.request.withCredentials(),this},Zt.prototype.end=function(e){return this.request.end(e),new Wt(this.request)},qt.prototype.setCommonConfiguration=function(e,t){if(t=t||{},this._timesToRetryFailedRequests>0&&(e=e.retry(this._timesToRetryFailedRequests)),t.noHeaders)return e;var n=this.headers;e=e.set("Content-Type","application/json"),t.xRequestLanguage&&(e=e.set("X-Request-Language",t.xRequestLanguage));for(var r=Object.keys(this.headers),o=0;o<r.length;o++)e=e.set(r[o],n[r[o]]);return this._sendTelemetry&&(e=e.set("Auth0-Client",this.getTelemetryData())),e},qt.prototype.getTelemetryData=function(){var e=this._universalLoginPage?"auth0.js-ulp":"auth0.js",t={name:e,version:Lt.raw};this._telemetryInfo&&((t=Qt.extend({},this._telemetryInfo)).env=Qt.extend({},this._telemetryInfo.env),t.env[e]=Lt.raw);var n=JSON.stringify(t);return kt(n)},qt.prototype.get=function(e,t){return new Zt(this.setCommonConfiguration(jt.get(e),t))},qt.prototype.post=function(e,t){return new Zt(this.setCommonConfiguration(jt.post(e),t))},qt.prototype.patch=function(e,t){return new Zt(this.setCommonConfiguration(jt.patch(e),t))};var $t={redirect:function(e){Xt().location=e},getDocument:function(){return Xt().document},getWindow:Xt,getOrigin:function(){var e=Xt().location,t=e.origin;return t||(t=Qt.getOriginFromUrl(e.href)),t}};function Jt(){}Jt.prototype.getItem=function(){return null},Jt.prototype.removeItem=function(){},Jt.prototype.setItem=function(){};var Kt=i((function(e,t){var n;n=function(){function e(){for(var e=0,t={};e<arguments.length;e++){var n=arguments[e];for(var r in n)t[r]=n[r]}return t}function t(e){return e.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}return function n(r){function o(){}function i(t,n,i){if("undefined"!=typeof document){"number"==typeof(i=e({path:"/"},o.defaults,i)).expires&&(i.expires=new Date(1*new Date+864e5*i.expires)),i.expires=i.expires?i.expires.toUTCString():"";try{var a=JSON.stringify(n);/^[\{\[]/.test(a)&&(n=a)}catch(hn){}n=r.write?r.write(n,t):encodeURIComponent(String(n)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var s="";for(var u in i)i[u]&&(s+="; "+u,!0!==i[u]&&(s+="="+i[u].split(";")[0]));return document.cookie=t+"="+n+s}}function a(e,n){if("undefined"!=typeof document){for(var o={},i=document.cookie?document.cookie.split("; "):[],a=0;a<i.length;a++){var s=i[a].split("="),u=s.slice(1).join("=");n||'"'!==u.charAt(0)||(u=u.slice(1,-1));try{var l=t(s[0]);if(u=(r.read||r)(u,l)||t(u),n)try{u=JSON.parse(u)}catch(hn){}if(o[l]=u,e===l)break}catch(hn){}}return e?o[e]:o}}return o.set=i,o.get=function(e){return a(e,!1)},o.getJSON=function(e){return a(e,!0)},o.remove=function(t,n){i(t,"",e(n,{expires:-1}))},o.defaults={},o.withConverter=n,o}((function(){}))},e.exports=n()}));function en(){}function tn(e){this.disableWarnings=e.disableWarnings}function nn(e){if(this.warn=new tn({}),this.storage=new en,!0===e.__tryLocalStorageFirst)try{var t=$t.getWindow().localStorage;t&&(this.storage=t)}catch(hn){this.warn.warning(hn),this.warn.warning("Can't use localStorage. Using CookieStorage instead.")}}function rn(e){this.handler=new nn(e)}function on(e){this.storage=new rn(e)}function an(e,t){return{error:e,errorDescription:t}}en.prototype.getItem=function(e){return Kt.get(e)},en.prototype.removeItem=function(e){Kt.remove(e)},en.prototype.setItem=function(e,t,n){var r=Qt.extend({expires:1},n);"https:"===$t.getWindow().location.protocol&&(r.secure=!0),Kt.set(e,t,r)},tn.prototype.warning=function(e){this.disableWarnings||console.warn(e)},nn.prototype.failover=function(){this.storage instanceof Jt?this.warn.warning("DummyStorage: ignore failover"):this.storage instanceof en?(this.warn.warning("CookieStorage: failing over DummyStorage"),this.storage=new Jt):(this.warn.warning("LocalStorage: failing over CookieStorage"),this.storage=new en)},nn.prototype.getItem=function(e){try{return this.storage.getItem(e)}catch(hn){return this.warn.warning(hn),this.failover(),this.getItem(e)}},nn.prototype.removeItem=function(e){try{return this.storage.removeItem(e)}catch(hn){return this.warn.warning(hn),this.failover(),this.removeItem(e)}},nn.prototype.setItem=function(e,t,n){try{return this.storage.setItem(e,t,n)}catch(hn){return this.warn.warning(hn),this.failover(),this.setItem(e,t,n)}},rn.prototype.getItem=function(e){var t=this.handler.getItem(e);try{return JSON.parse(t)}catch(An){return t}},rn.prototype.removeItem=function(e){return this.handler.removeItem(e)},rn.prototype.setItem=function(e,t,n){var r=JSON.stringify(t);return this.handler.setItem(e,r,n)},on.prototype.set=function(e,t){var n={lastUsedConnection:e,lastUsedSub:t};this.storage.setItem("auth0.ssodata",JSON.stringify(n))},on.prototype.get=function(){var e=this.storage.getItem("auth0.ssodata");if(e)return JSON.parse(e)};var sn={buildResponse:an,invalidToken:function(e){return an("invalid_token",e)}};function un(e,t){return(t=t||{}).ignoreCasing=!!t.ignoreCasing&&t.ignoreCasing,function(n,r){var o;return n||r?(!n&&r.err&&(n=r.err,r=null),!n&&r.error&&(n=r,r=null),n?(o={original:n},Qt.updatePropertyOn(o,"original.response.req._data.password","*****"),n.response&&n.response.statusCode&&(o.statusCode=n.response.statusCode),n.response&&n.response.statusText&&(o.statusText=n.response.statusText),n.response&&n.response.body&&(n=n.response.body),n.err&&(n=n.err),o.code=n.code||n.error||n.error_code||n.status||null,o.description=n.errorDescription||n.error_description||n.description||n.error||n.details||n.err||null,t.forceLegacyError&&(o.error=o.code,o.error_description=o.description),n.error_codes&&n.error_details&&(o.errorDetails={codes:n.error_codes,details:n.error_details}),n.name&&(o.name=n.name),n.policy&&(o.policy=n.policy),e(o)):!r.type||"text/html"!==r.type&&"text/plain"!==r.type?t.ignoreCasing?e(null,r.body||r):e(null,Qt.toCamelCase(r.body||r,[],{keepOriginal:t.keepOriginalCasing})):e(null,r.text)):e(sn.buildResponse("generic_error","Something went wrong"))}}var ln=["realm","audience","otp","client_id","client_secret","redirect_uri","scope","code","grant_type","username","password","refresh_token","assertion","client_assertion","client_assertion_type","code_verifier"],cn=["connection","connection_scope","auth0Client","owp","device","realm","organization","invitation","protocol","_csrf","_intstate","login_ticket","client_id","response_type","response_mode","redirect_uri","audience","scope","state","nonce","display","prompt","screen_hint","max_age","ui_locales","claims_locales","id_token_hint","login_hint","acr_values","claims","registration","request","request_uri","code_challenge","code_challenge_method","access_type","display"],fn=function(e,t){return Qt.pick(t,ln)},dn=function(e,t){var n=Qt.getKeysNotIn(t,cn);return n.length>0&&e.warning("Following parameters are not allowed on the `/authorize` endpoint: ["+n.join(",")+"]"),t},pn="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof e?e:"undefined"!=typeof self?self:{};function hn(e){var t={exports:{}};return e(t,t.exports),t.exports}var gn=hn((function(e,t){e.exports=function(){function e(e){return"function"==typeof e}var t=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},n=0,o=void 0,i=void 0,a=function(e,t){p[n]=e,p[n+1]=t,2===(n+=2)&&(i?i(h):b())},s="undefined"!=typeof window?window:void 0,u=s||{},l=u.MutationObserver||u.WebKitMutationObserver,c="undefined"==typeof self&&"undefined"!=typeof r&&"[object process]"==={}.toString.call(r),f="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function d(){var e=setTimeout;return function(){return e(h,1)}}var p=new Array(1e3);function h(){for(var e=0;e<n;e+=2)(0,p[e])(p[e+1]),p[e]=void 0,p[e+1]=void 0;n=0}var g,y,m,v,b=void 0;function M(e,t){var n=this,r=new this.constructor(j);void 0===r[N]&&_(r);var o=n._state;if(o){var i=arguments[o-1];a((function(){return k(o,r,i,n._result)}))}else T(n,r,e,t);return r}function w(e){if(e&&"object"==typeof e&&e.constructor===this)return e;var t=new this(j);return D(t,e),t}b=c?function(){return r.nextTick(h)}:l?(y=0,m=new l(h),v=document.createTextNode(""),m.observe(v,{characterData:!0}),function(){v.data=y=++y%2}):f?((g=new MessageChannel).port1.onmessage=h,function(){return g.port2.postMessage(0)}):void 0===s?function(){try{var e=Function("return this")().require("vertx");return void 0!==(o=e.runOnLoop||e.runOnContext)?function(){o(h)}:d()}catch(e){return d()}}():d();var N=Math.random().toString(36).substring(2);function j(){}var S=void 0;function I(t,n,r){n.constructor===t.constructor&&r===M&&n.constructor.resolve===w?function(e,t){1===t._state?E(e,t._result):2===t._state?O(e,t._result):T(t,void 0,(function(t){return D(e,t)}),(function(t){return O(e,t)}))}(t,n):void 0===r?E(t,n):e(r)?function(e,t,n){a((function(e){var r=!1,o=function(n,o,i,a){try{n.call(o,(function(n){r||(r=!0,t!==n?D(e,n):E(e,n))}),(function(t){r||(r=!0,O(e,t))}))}catch(e){return e}}(n,t);!r&&o&&(r=!0,O(e,o))}),e)}(t,n,r):E(t,n)}function D(e,t){if(e===t)O(e,new TypeError("You cannot resolve a promise with itself"));else if(o=typeof(r=t),null===r||"object"!==o&&"function"!==o)E(e,t);else{var n=void 0;try{n=t.then}catch(t){return void O(e,t)}I(e,t,n)}var r,o}function x(e){e._onerror&&e._onerror(e._result),C(e)}function E(e,t){e._state===S&&(e._result=t,e._state=1,0!==e._subscribers.length&&a(C,e))}function O(e,t){e._state===S&&(e._state=2,e._result=t,a(x,e))}function T(e,t,n,r){var o=e._subscribers,i=o.length;e._onerror=null,o[i]=t,o[i+1]=n,o[i+2]=r,0===i&&e._state&&a(C,e)}function C(e){var t=e._subscribers,n=e._state;if(0!==t.length){for(var r=void 0,o=void 0,i=e._result,a=0;a<t.length;a+=3)o=t[a+n],(r=t[a])?k(n,r,o,i):o(i);e._subscribers.length=0}}function k(t,n,r,o){var i=e(r),a=void 0,s=void 0,u=!0;if(i){try{a=r(o)}catch(t){u=!1,s=t}if(n===a)return void O(n,new TypeError("A promises callback cannot return that same promise."))}else a=o;n._state!==S||(i&&u?D(n,a):!1===u?O(n,s):1===t?E(n,a):2===t&&O(n,a))}var L=0;function _(e){e[N]=L++,e._state=void 0,e._result=void 0,e._subscribers=[]}var A=function(){function e(e,n){this._instanceConstructor=e,this.promise=new e(j),this.promise[N]||_(this.promise),t(n)?(this.length=n.length,this._remaining=n.length,this._result=new Array(this.length),0===this.length?E(this.promise,this._result):(this.length=this.length||0,this._enumerate(n),0===this._remaining&&E(this.promise,this._result))):O(this.promise,new Error("Array Methods must be provided an Array"))}return e.prototype._enumerate=function(e){for(var t=0;this._state===S&&t<e.length;t++)this._eachEntry(e[t],t)},e.prototype._eachEntry=function(e,t){var n=this._instanceConstructor,r=n.resolve;if(r===w){var o=void 0,i=void 0,a=!1;try{o=e.then}catch(e){a=!0,i=e}if(o===M&&e._state!==S)this._settledAt(e._state,t,e._result);else if("function"!=typeof o)this._remaining--,this._result[t]=e;else if(n===z){var s=new n(j);a?O(s,i):I(s,e,o),this._willSettleAt(s,t)}else this._willSettleAt(new n((function(t){return t(e)})),t)}else this._willSettleAt(r(e),t)},e.prototype._settledAt=function(e,t,n){var r=this.promise;r._state===S&&(this._remaining--,2===e?O(r,n):this._result[t]=n),0===this._remaining&&E(r,this._result)},e.prototype._willSettleAt=function(e,t){var n=this;T(e,void 0,(function(e){return n._settledAt(1,t,e)}),(function(e){return n._settledAt(2,t,e)}))},e}(),z=function(){function t(e){this[N]=L++,this._result=this._state=void 0,this._subscribers=[],j!==e&&("function"!=typeof e&&function(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}(),this instanceof t?function(e,t){try{t((function(t){D(e,t)}),(function(t){O(e,t)}))}catch(t){O(e,t)}}(this,e):function(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}())}return t.prototype.catch=function(e){return this.then(null,e)},t.prototype.finally=function(t){var n=this,r=n.constructor;return e(t)?n.then((function(e){return r.resolve(t()).then((function(){return e}))}),(function(e){return r.resolve(t()).then((function(){throw e}))})):n.then(t,t)},t}();return z.prototype.then=M,z.all=function(e){return new A(this,e).promise},z.race=function(e){var n=this;return t(e)?new n((function(t,r){for(var o=e.length,i=0;i<o;i++)n.resolve(e[i]).then(t,r)})):new n((function(e,t){return t(new TypeError("You must pass an array to race."))}))},z.resolve=w,z.reject=function(e){var t=new this(j);return O(t,e),t},z._setScheduler=function(e){i=e},z._setAsap=function(e){a=e},z._asap=a,z.polyfill=function(){var e=void 0;if(void 0!==pn)e=pn;else if("undefined"!=typeof self)e=self;else try{e=Function("return this")()}catch(pn){throw new Error("polyfill failed because global object is unavailable in this environment")}var t=e.Promise;if(t){var n=null;try{n=Object.prototype.toString.call(t.resolve())}catch(pn){}if("[object Promise]"===n&&!t.cast)return}e.Promise=z},z.Promise=z,z}()})),yn={__proto__:null,default:{}},mn=hn((function(e,t){var n;e.exports=n=n||function(e,t){var n;if("undefined"!=typeof window&&window.crypto&&(n=window.crypto),"undefined"!=typeof self&&self.crypto&&(n=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(n=globalThis.crypto),!n&&"undefined"!=typeof window&&window.msCrypto&&(n=window.msCrypto),!n&&void 0!==pn&&pn.crypto&&(n=pn.crypto),!n)try{n=yn}catch(pn){}var r=function(){if(n){if("function"==typeof n.getRandomValues)try{return n.getRandomValues(new Uint32Array(1))[0]}catch(pn){}if("function"==typeof n.randomBytes)try{return n.randomBytes(4).readInt32LE()}catch(pn){}}throw new Error("Native crypto module could not be used to get secure random number.")},o=Object.create||function(){function e(){}return function(t){var n;return e.prototype=t,n=new e,e.prototype=null,n}}(),i={},a=i.lib={},s=a.Base={extend:function(e){var t=o(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},u=a.WordArray=s.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:4*e.length},toString:function(e){return(e||c).stringify(this)},concat:function(e){var t=this.words,n=e.words,r=this.sigBytes,o=e.sigBytes;if(this.clamp(),r%4)for(var i=0;i<o;i++)t[r+i>>>2]|=(n[i>>>2]>>>24-i%4*8&255)<<24-(r+i)%4*8;else for(var a=0;a<o;a+=4)t[r+a>>>2]=n[a>>>2];return this.sigBytes+=o,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=s.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],n=0;n<e;n+=4)t.push(r());return new u.init(t,e)}}),l=i.enc={},c=l.Hex={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],o=0;o<n;o++){var i=t[o>>>2]>>>24-o%4*8&255;r.push((i>>>4).toString(16)),r.push((15&i).toString(16))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r+=2)n[r>>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new u.init(n,t/2)}},f=l.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],o=0;o<n;o++)r.push(String.fromCharCode(t[o>>>2]>>>24-o%4*8&255));return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r++)n[r>>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new u.init(n,t)}},d=l.Utf8={stringify:function(e){try{return decodeURIComponent(escape(f.stringify(e)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(e){return f.parse(unescape(encodeURIComponent(e)))}},p=a.BufferedBlockAlgorithm=s.extend({reset:function(){this._data=new u.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=d.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n,r=this._data,o=r.words,i=r.sigBytes,a=this.blockSize,s=i/(4*a),l=(s=t?e.ceil(s):e.max((0|s)-this._minBufferSize,0))*a,c=e.min(4*l,i);if(l){for(var f=0;f<l;f+=a)this._doProcessBlock(o,f);n=o.splice(0,l),r.sigBytes-=c}return new u.init(n,c)},clone:function(){var e=s.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0});a.Hasher=p.extend({cfg:s.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){p.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,n){return new e.init(n).finalize(t)}},_createHmacHelper:function(e){return function(t,n){return new h.HMAC.init(e,n).finalize(t)}}});var h=i.algo={};return i}(Math)})),vn=hn((function(e,t){var n;e.exports=(n=mn,function(e){var t=n,r=t.lib,o=r.WordArray,i=r.Hasher,a=t.algo,s=[],u=[];!function(){function t(t){for(var n=e.sqrt(t),r=2;r<=n;r++)if(!(t%r))return!1;return!0}function n(e){return 4294967296*(e-(0|e))|0}for(var r=2,o=0;o<64;)t(r)&&(o<8&&(s[o]=n(e.pow(r,.5))),u[o]=n(e.pow(r,1/3)),o++),r++}();var l=[],c=a.SHA256=i.extend({_doReset:function(){this._hash=new o.init(s.slice(0))},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],o=n[1],i=n[2],a=n[3],s=n[4],c=n[5],f=n[6],d=n[7],p=0;p<64;p++){if(p<16)l[p]=0|e[t+p];else{var h=l[p-15],g=l[p-2];l[p]=((h<<25|h>>>7)^(h<<14|h>>>18)^h>>>3)+l[p-7]+((g<<15|g>>>17)^(g<<13|g>>>19)^g>>>10)+l[p-16]}var y=r&o^r&i^o&i,m=d+((s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25))+(s&c^~s&f)+u[p]+l[p];d=f,f=c,c=s,s=a+m|0,a=i,i=o,o=r,r=m+(((r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22))+y)|0}n[0]=n[0]+r|0,n[1]=n[1]+o|0,n[2]=n[2]+i|0,n[3]=n[3]+a|0,n[4]=n[4]+s|0,n[5]=n[5]+c|0,n[6]=n[6]+f|0,n[7]=n[7]+d|0},_doFinalize:function(){var t=this._data,n=t.words,r=8*this._nDataBytes,o=8*t.sigBytes;return n[o>>>5]|=128<<24-o%32,n[14+(o+64>>>9<<4)]=e.floor(r/4294967296),n[15+(o+64>>>9<<4)]=r,t.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA256=i._createHelper(c),t.HmacSHA256=i._createHmacHelper(c)}(Math),n.SHA256)})),bn=hn((function(e,t){var n,r;e.exports=(r=(n=mn).lib.WordArray,n.enc.Base64={stringify:function(e){var t=e.words,n=e.sigBytes,r=this._map;e.clamp();for(var o=[],i=0;i<n;i+=3)for(var a=(t[i>>>2]>>>24-i%4*8&255)<<16|(t[i+1>>>2]>>>24-(i+1)%4*8&255)<<8|t[i+2>>>2]>>>24-(i+2)%4*8&255,s=0;s<4&&i+.75*s<n;s++)o.push(r.charAt(a>>>6*(3-s)&63));var u=r.charAt(64);if(u)for(;o.length%4;)o.push(u);return o.join("")},parse:function(e){var t=e.length,n=this._map,o=this._reverseMap;if(!o){o=this._reverseMap=[];for(var i=0;i<n.length;i++)o[n.charCodeAt(i)]=i}var a=n.charAt(64);if(a){var s=e.indexOf(a);-1!==s&&(t=s)}return function(e,t,n){for(var o=[],i=0,a=0;a<t;a++)if(a%4){var s=n[e.charCodeAt(a-1)]<<a%4*2,u=n[e.charCodeAt(a)]>>>6-a%4*2;o[i>>>2]|=(s|u)<<24-i%4*8,i++}return r.create(o,i)}(e,t,o)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},n.enc.Base64)})),Mn=hn((function(e,t){e.exports=mn.enc.Hex})),wn=hn((function(e,t){(function(){var t;function n(e,t,n){null!=e&&("number"==typeof e?this.fromNumber(e,t,n):this.fromString(e,null==t&&"string"!=typeof e?256:t))}function r(){return new n(null)}var o="undefined"!=typeof navigator;o&&"Microsoft Internet Explorer"==navigator.appName?(n.prototype.am=function(e,t,n,r,o,i){for(var a=32767&t,s=t>>15;--i>=0;){var u=32767&this[e],l=this[e++]>>15,c=s*u+l*a;o=((u=a*u+((32767&c)<<15)+n[r]+(1073741823&o))>>>30)+(c>>>15)+s*l+(o>>>30),n[r++]=1073741823&u}return o},t=30):o&&"Netscape"!=navigator.appName?(n.prototype.am=function(e,t,n,r,o,i){for(;--i>=0;){var a=t*this[e++]+n[r]+o;o=Math.floor(a/67108864),n[r++]=67108863&a}return o},t=26):(n.prototype.am=function(e,t,n,r,o,i){for(var a=16383&t,s=t>>14;--i>=0;){var u=16383&this[e],l=this[e++]>>14,c=s*u+l*a;o=((u=a*u+((16383&c)<<14)+n[r]+o)>>28)+(c>>14)+s*l,n[r++]=268435455&u}return o},t=28),n.prototype.DB=t,n.prototype.DM=(1<<t)-1,n.prototype.DV=1<<t,n.prototype.FV=Math.pow(2,52),n.prototype.F1=52-t,n.prototype.F2=2*t-52;var i,a,s=new Array;for(i="0".charCodeAt(0),a=0;a<=9;++a)s[i++]=a;for(i="a".charCodeAt(0),a=10;a<36;++a)s[i++]=a;for(i="A".charCodeAt(0),a=10;a<36;++a)s[i++]=a;function u(e){return"0123456789abcdefghijklmnopqrstuvwxyz".charAt(e)}function l(e,t){var n=s[e.charCodeAt(t)];return null==n?-1:n}function c(e){var t=r();return t.fromInt(e),t}function f(e){var t,n=1;return 0!=(t=e>>>16)&&(e=t,n+=16),0!=(t=e>>8)&&(e=t,n+=8),0!=(t=e>>4)&&(e=t,n+=4),0!=(t=e>>2)&&(e=t,n+=2),0!=(t=e>>1)&&(e=t,n+=1),n}function d(e){this.m=e}function p(e){this.m=e,this.mp=e.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<e.DB-15)-1,this.mt2=2*e.t}function h(e,t){return e&t}function g(e,t){return e|t}function y(e,t){return e^t}function m(e,t){return e&~t}function v(e){if(0==e)return-1;var t=0;return 0==(65535&e)&&(e>>=16,t+=16),0==(255&e)&&(e>>=8,t+=8),0==(15&e)&&(e>>=4,t+=4),0==(3&e)&&(e>>=2,t+=2),0==(1&e)&&++t,t}function b(e){for(var t=0;0!=e;)e&=e-1,++t;return t}function M(){}function w(e){return e}function N(e){this.r2=r(),this.q3=r(),n.ONE.dlShiftTo(2*e.t,this.r2),this.mu=this.r2.divide(e),this.m=e}d.prototype.convert=function(e){return e.s<0||e.compareTo(this.m)>=0?e.mod(this.m):e},d.prototype.revert=function(e){return e},d.prototype.reduce=function(e){e.divRemTo(this.m,null,e)},d.prototype.mulTo=function(e,t,n){e.multiplyTo(t,n),this.reduce(n)},d.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},p.prototype.convert=function(e){var t=r();return e.abs().dlShiftTo(this.m.t,t),t.divRemTo(this.m,null,t),e.s<0&&t.compareTo(n.ZERO)>0&&this.m.subTo(t,t),t},p.prototype.revert=function(e){var t=r();return e.copyTo(t),this.reduce(t),t},p.prototype.reduce=function(e){for(;e.t<=this.mt2;)e[e.t++]=0;for(var t=0;t<this.m.t;++t){var n=32767&e[t],r=n*this.mpl+((n*this.mph+(e[t]>>15)*this.mpl&this.um)<<15)&e.DM;for(e[n=t+this.m.t]+=this.m.am(0,r,e,t,0,this.m.t);e[n]>=e.DV;)e[n]-=e.DV,e[++n]++}e.clamp(),e.drShiftTo(this.m.t,e),e.compareTo(this.m)>=0&&e.subTo(this.m,e)},p.prototype.mulTo=function(e,t,n){e.multiplyTo(t,n),this.reduce(n)},p.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},n.prototype.copyTo=function(e){for(var t=this.t-1;t>=0;--t)e[t]=this[t];e.t=this.t,e.s=this.s},n.prototype.fromInt=function(e){this.t=1,this.s=e<0?-1:0,e>0?this[0]=e:e<-1?this[0]=e+this.DV:this.t=0},n.prototype.fromString=function(e,t){var r;if(16==t)r=4;else if(8==t)r=3;else if(256==t)r=8;else if(2==t)r=1;else if(32==t)r=5;else{if(4!=t)return void this.fromRadix(e,t);r=2}this.t=0,this.s=0;for(var o=e.length,i=!1,a=0;--o>=0;){var s=8==r?255&e[o]:l(e,o);s<0?"-"==e.charAt(o)&&(i=!0):(i=!1,0==a?this[this.t++]=s:a+r>this.DB?(this[this.t-1]|=(s&(1<<this.DB-a)-1)<<a,this[this.t++]=s>>this.DB-a):this[this.t-1]|=s<<a,(a+=r)>=this.DB&&(a-=this.DB))}8==r&&0!=(128&e[0])&&(this.s=-1,a>0&&(this[this.t-1]|=(1<<this.DB-a)-1<<a)),this.clamp(),i&&n.ZERO.subTo(this,this)},n.prototype.clamp=function(){for(var e=this.s&this.DM;this.t>0&&this[this.t-1]==e;)--this.t},n.prototype.dlShiftTo=function(e,t){var n;for(n=this.t-1;n>=0;--n)t[n+e]=this[n];for(n=e-1;n>=0;--n)t[n]=0;t.t=this.t+e,t.s=this.s},n.prototype.drShiftTo=function(e,t){for(var n=e;n<this.t;++n)t[n-e]=this[n];t.t=Math.max(this.t-e,0),t.s=this.s},n.prototype.lShiftTo=function(e,t){var n,r=e%this.DB,o=this.DB-r,i=(1<<o)-1,a=Math.floor(e/this.DB),s=this.s<<r&this.DM;for(n=this.t-1;n>=0;--n)t[n+a+1]=this[n]>>o|s,s=(this[n]&i)<<r;for(n=a-1;n>=0;--n)t[n]=0;t[a]=s,t.t=this.t+a+1,t.s=this.s,t.clamp()},n.prototype.rShiftTo=function(e,t){t.s=this.s;var n=Math.floor(e/this.DB);if(n>=this.t)t.t=0;else{var r=e%this.DB,o=this.DB-r,i=(1<<r)-1;t[0]=this[n]>>r;for(var a=n+1;a<this.t;++a)t[a-n-1]|=(this[a]&i)<<o,t[a-n]=this[a]>>r;r>0&&(t[this.t-n-1]|=(this.s&i)<<o),t.t=this.t-n,t.clamp()}},n.prototype.subTo=function(e,t){for(var n=0,r=0,o=Math.min(e.t,this.t);n<o;)r+=this[n]-e[n],t[n++]=r&this.DM,r>>=this.DB;if(e.t<this.t){for(r-=e.s;n<this.t;)r+=this[n],t[n++]=r&this.DM,r>>=this.DB;r+=this.s}else{for(r+=this.s;n<e.t;)r-=e[n],t[n++]=r&this.DM,r>>=this.DB;r-=e.s}t.s=r<0?-1:0,r<-1?t[n++]=this.DV+r:r>0&&(t[n++]=r),t.t=n,t.clamp()},n.prototype.multiplyTo=function(e,t){var r=this.abs(),o=e.abs(),i=r.t;for(t.t=i+o.t;--i>=0;)t[i]=0;for(i=0;i<o.t;++i)t[i+r.t]=r.am(0,o[i],t,i,0,r.t);t.s=0,t.clamp(),this.s!=e.s&&n.ZERO.subTo(t,t)},n.prototype.squareTo=function(e){for(var t=this.abs(),n=e.t=2*t.t;--n>=0;)e[n]=0;for(n=0;n<t.t-1;++n){var r=t.am(n,t[n],e,2*n,0,1);(e[n+t.t]+=t.am(n+1,2*t[n],e,2*n+1,r,t.t-n-1))>=t.DV&&(e[n+t.t]-=t.DV,e[n+t.t+1]=1)}e.t>0&&(e[e.t-1]+=t.am(n,t[n],e,2*n,0,1)),e.s=0,e.clamp()},n.prototype.divRemTo=function(e,t,o){var i=e.abs();if(!(i.t<=0)){var a=this.abs();if(a.t<i.t)return null!=t&&t.fromInt(0),void(null!=o&&this.copyTo(o));null==o&&(o=r());var s=r(),u=this.s,l=e.s,c=this.DB-f(i[i.t-1]);c>0?(i.lShiftTo(c,s),a.lShiftTo(c,o)):(i.copyTo(s),a.copyTo(o));var d=s.t,p=s[d-1];if(0!=p){var h=p*(1<<this.F1)+(d>1?s[d-2]>>this.F2:0),g=this.FV/h,y=(1<<this.F1)/h,m=1<<this.F2,v=o.t,b=v-d,M=null==t?r():t;for(s.dlShiftTo(b,M),o.compareTo(M)>=0&&(o[o.t++]=1,o.subTo(M,o)),n.ONE.dlShiftTo(d,M),M.subTo(s,s);s.t<d;)s[s.t++]=0;for(;--b>=0;){var w=o[--v]==p?this.DM:Math.floor(o[v]*g+(o[v-1]+m)*y);if((o[v]+=s.am(0,w,o,b,0,d))<w)for(s.dlShiftTo(b,M),o.subTo(M,o);o[v]<--w;)o.subTo(M,o)}null!=t&&(o.drShiftTo(d,t),u!=l&&n.ZERO.subTo(t,t)),o.t=d,o.clamp(),c>0&&o.rShiftTo(c,o),u<0&&n.ZERO.subTo(o,o)}}},n.prototype.invDigit=function(){if(this.t<1)return 0;var e=this[0];if(0==(1&e))return 0;var t=3&e;return(t=(t=(t=(t=t*(2-(15&e)*t)&15)*(2-(255&e)*t)&255)*(2-((65535&e)*t&65535))&65535)*(2-e*t%this.DV)%this.DV)>0?this.DV-t:-t},n.prototype.isEven=function(){return 0==(this.t>0?1&this[0]:this.s)},n.prototype.exp=function(e,t){if(e>4294967295||e<1)return n.ONE;var o=r(),i=r(),a=t.convert(this),s=f(e)-1;for(a.copyTo(o);--s>=0;)if(t.sqrTo(o,i),(e&1<<s)>0)t.mulTo(i,a,o);else{var u=o;o=i,i=u}return t.revert(o)},n.prototype.toString=function(e){if(this.s<0)return"-"+this.negate().toString(e);var t;if(16==e)t=4;else if(8==e)t=3;else if(2==e)t=1;else if(32==e)t=5;else{if(4!=e)return this.toRadix(e);t=2}var n,r=(1<<t)-1,o=!1,i="",a=this.t,s=this.DB-a*this.DB%t;if(a-- >0)for(s<this.DB&&(n=this[a]>>s)>0&&(o=!0,i=u(n));a>=0;)s<t?(n=(this[a]&(1<<s)-1)<<t-s,n|=this[--a]>>(s+=this.DB-t)):(n=this[a]>>(s-=t)&r,s<=0&&(s+=this.DB,--a)),n>0&&(o=!0),o&&(i+=u(n));return o?i:"0"},n.prototype.negate=function(){var e=r();return n.ZERO.subTo(this,e),e},n.prototype.abs=function(){return this.s<0?this.negate():this},n.prototype.compareTo=function(e){var t=this.s-e.s;if(0!=t)return t;var n=this.t;if(0!=(t=n-e.t))return this.s<0?-t:t;for(;--n>=0;)if(0!=(t=this[n]-e[n]))return t;return 0},n.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+f(this[this.t-1]^this.s&this.DM)},n.prototype.mod=function(e){var t=r();return this.abs().divRemTo(e,null,t),this.s<0&&t.compareTo(n.ZERO)>0&&e.subTo(t,t),t},n.prototype.modPowInt=function(e,t){var n;return n=e<256||t.isEven()?new d(t):new p(t),this.exp(e,n)},n.ZERO=c(0),n.ONE=c(1),M.prototype.convert=w,M.prototype.revert=w,M.prototype.mulTo=function(e,t,n){e.multiplyTo(t,n)},M.prototype.sqrTo=function(e,t){e.squareTo(t)},N.prototype.convert=function(e){if(e.s<0||e.t>2*this.m.t)return e.mod(this.m);if(e.compareTo(this.m)<0)return e;var t=r();return e.copyTo(t),this.reduce(t),t},N.prototype.revert=function(e){return e},N.prototype.reduce=function(e){for(e.drShiftTo(this.m.t-1,this.r2),e.t>this.m.t+1&&(e.t=this.m.t+1,e.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);e.compareTo(this.r2)<0;)e.dAddOffset(1,this.m.t+1);for(e.subTo(this.r2,e);e.compareTo(this.m)>=0;)e.subTo(this.m,e)},N.prototype.mulTo=function(e,t,n){e.multiplyTo(t,n),this.reduce(n)},N.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)};var j,S,I,D=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],x=(1<<26)/D[D.length-1];function E(){var e;e=(new Date).getTime(),S[I++]^=255&e,S[I++]^=e>>8&255,S[I++]^=e>>16&255,S[I++]^=e>>24&255,I>=A&&(I-=A)}if(n.prototype.chunkSize=function(e){return Math.floor(Math.LN2*this.DB/Math.log(e))},n.prototype.toRadix=function(e){if(null==e&&(e=10),0==this.signum()||e<2||e>36)return"0";var t=this.chunkSize(e),n=Math.pow(e,t),o=c(n),i=r(),a=r(),s="";for(this.divRemTo(o,i,a);i.signum()>0;)s=(n+a.intValue()).toString(e).substr(1)+s,i.divRemTo(o,i,a);return a.intValue().toString(e)+s},n.prototype.fromRadix=function(e,t){this.fromInt(0),null==t&&(t=10);for(var r=this.chunkSize(t),o=Math.pow(t,r),i=!1,a=0,s=0,u=0;u<e.length;++u){var c=l(e,u);c<0?"-"==e.charAt(u)&&0==this.signum()&&(i=!0):(s=t*s+c,++a>=r&&(this.dMultiply(o),this.dAddOffset(s,0),a=0,s=0))}a>0&&(this.dMultiply(Math.pow(t,a)),this.dAddOffset(s,0)),i&&n.ZERO.subTo(this,this)},n.prototype.fromNumber=function(e,t,r){if("number"==typeof t)if(e<2)this.fromInt(1);else for(this.fromNumber(e,r),this.testBit(e-1)||this.bitwiseTo(n.ONE.shiftLeft(e-1),g,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(t);)this.dAddOffset(2,0),this.bitLength()>e&&this.subTo(n.ONE.shiftLeft(e-1),this);else{var o=new Array,i=7&e;o.length=1+(e>>3),t.nextBytes(o),i>0?o[0]&=(1<<i)-1:o[0]=0,this.fromString(o,256)}},n.prototype.bitwiseTo=function(e,t,n){var r,o,i=Math.min(e.t,this.t);for(r=0;r<i;++r)n[r]=t(this[r],e[r]);if(e.t<this.t){for(o=e.s&this.DM,r=i;r<this.t;++r)n[r]=t(this[r],o);n.t=this.t}else{for(o=this.s&this.DM,r=i;r<e.t;++r)n[r]=t(o,e[r]);n.t=e.t}n.s=t(this.s,e.s),n.clamp()},n.prototype.changeBit=function(e,t){var r=n.ONE.shiftLeft(e);return this.bitwiseTo(r,t,r),r},n.prototype.addTo=function(e,t){for(var n=0,r=0,o=Math.min(e.t,this.t);n<o;)r+=this[n]+e[n],t[n++]=r&this.DM,r>>=this.DB;if(e.t<this.t){for(r+=e.s;n<this.t;)r+=this[n],t[n++]=r&this.DM,r>>=this.DB;r+=this.s}else{for(r+=this.s;n<e.t;)r+=e[n],t[n++]=r&this.DM,r>>=this.DB;r+=e.s}t.s=r<0?-1:0,r>0?t[n++]=r:r<-1&&(t[n++]=this.DV+r),t.t=n,t.clamp()},n.prototype.dMultiply=function(e){this[this.t]=this.am(0,e-1,this,0,0,this.t),++this.t,this.clamp()},n.prototype.dAddOffset=function(e,t){if(0!=e){for(;this.t<=t;)this[this.t++]=0;for(this[t]+=e;this[t]>=this.DV;)this[t]-=this.DV,++t>=this.t&&(this[this.t++]=0),++this[t]}},n.prototype.multiplyLowerTo=function(e,t,n){var r,o=Math.min(this.t+e.t,t);for(n.s=0,n.t=o;o>0;)n[--o]=0;for(r=n.t-this.t;o<r;++o)n[o+this.t]=this.am(0,e[o],n,o,0,this.t);for(r=Math.min(e.t,t);o<r;++o)this.am(0,e[o],n,o,0,t-o);n.clamp()},n.prototype.multiplyUpperTo=function(e,t,n){--t;var r=n.t=this.t+e.t-t;for(n.s=0;--r>=0;)n[r]=0;for(r=Math.max(t-this.t,0);r<e.t;++r)n[this.t+r-t]=this.am(t-r,e[r],n,0,0,this.t+r-t);n.clamp(),n.drShiftTo(1,n)},n.prototype.modInt=function(e){if(e<=0)return 0;var t=this.DV%e,n=this.s<0?e-1:0;if(this.t>0)if(0==t)n=this[0]%e;else for(var r=this.t-1;r>=0;--r)n=(t*n+this[r])%e;return n},n.prototype.millerRabin=function(e){var t=this.subtract(n.ONE),o=t.getLowestSetBit();if(o<=0)return!1;var i=t.shiftRight(o);(e=e+1>>1)>D.length&&(e=D.length);for(var a=r(),s=0;s<e;++s){a.fromInt(D[Math.floor(Math.random()*D.length)]);var u=a.modPow(i,this);if(0!=u.compareTo(n.ONE)&&0!=u.compareTo(t)){for(var l=1;l++<o&&0!=u.compareTo(t);)if(0==(u=u.modPowInt(2,this)).compareTo(n.ONE))return!1;if(0!=u.compareTo(t))return!1}}return!0},n.prototype.clone=function(){var e=r();return this.copyTo(e),e},n.prototype.intValue=function(){if(this.s<0){if(1==this.t)return this[0]-this.DV;if(0==this.t)return-1}else{if(1==this.t)return this[0];if(0==this.t)return 0}return(this[1]&(1<<32-this.DB)-1)<<this.DB|this[0]},n.prototype.byteValue=function(){return 0==this.t?this.s:this[0]<<24>>24},n.prototype.shortValue=function(){return 0==this.t?this.s:this[0]<<16>>16},n.prototype.signum=function(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1},n.prototype.toByteArray=function(){var e=this.t,t=new Array;t[0]=this.s;var n,r=this.DB-e*this.DB%8,o=0;if(e-- >0)for(r<this.DB&&(n=this[e]>>r)!=(this.s&this.DM)>>r&&(t[o++]=n|this.s<<this.DB-r);e>=0;)r<8?(n=(this[e]&(1<<r)-1)<<8-r,n|=this[--e]>>(r+=this.DB-8)):(n=this[e]>>(r-=8)&255,r<=0&&(r+=this.DB,--e)),0!=(128&n)&&(n|=-256),0==o&&(128&this.s)!=(128&n)&&++o,(o>0||n!=this.s)&&(t[o++]=n);return t},n.prototype.equals=function(e){return 0==this.compareTo(e)},n.prototype.min=function(e){return this.compareTo(e)<0?this:e},n.prototype.max=function(e){return this.compareTo(e)>0?this:e},n.prototype.and=function(e){var t=r();return this.bitwiseTo(e,h,t),t},n.prototype.or=function(e){var t=r();return this.bitwiseTo(e,g,t),t},n.prototype.xor=function(e){var t=r();return this.bitwiseTo(e,y,t),t},n.prototype.andNot=function(e){var t=r();return this.bitwiseTo(e,m,t),t},n.prototype.not=function(){for(var e=r(),t=0;t<this.t;++t)e[t]=this.DM&~this[t];return e.t=this.t,e.s=~this.s,e},n.prototype.shiftLeft=function(e){var t=r();return e<0?this.rShiftTo(-e,t):this.lShiftTo(e,t),t},n.prototype.shiftRight=function(e){var t=r();return e<0?this.lShiftTo(-e,t):this.rShiftTo(e,t),t},n.prototype.getLowestSetBit=function(){for(var e=0;e<this.t;++e)if(0!=this[e])return e*this.DB+v(this[e]);return this.s<0?this.t*this.DB:-1},n.prototype.bitCount=function(){for(var e=0,t=this.s&this.DM,n=0;n<this.t;++n)e+=b(this[n]^t);return e},n.prototype.testBit=function(e){var t=Math.floor(e/this.DB);return t>=this.t?0!=this.s:0!=(this[t]&1<<e%this.DB)},n.prototype.setBit=function(e){return this.changeBit(e,g)},n.prototype.clearBit=function(e){return this.changeBit(e,m)},n.prototype.flipBit=function(e){return this.changeBit(e,y)},n.prototype.add=function(e){var t=r();return this.addTo(e,t),t},n.prototype.subtract=function(e){var t=r();return this.subTo(e,t),t},n.prototype.multiply=function(e){var t=r();return this.multiplyTo(e,t),t},n.prototype.divide=function(e){var t=r();return this.divRemTo(e,t,null),t},n.prototype.remainder=function(e){var t=r();return this.divRemTo(e,null,t),t},n.prototype.divideAndRemainder=function(e){var t=r(),n=r();return this.divRemTo(e,t,n),new Array(t,n)},n.prototype.modPow=function(e,t){var n,o,i=e.bitLength(),a=c(1);if(i<=0)return a;n=i<18?1:i<48?3:i<144?4:i<768?5:6,o=i<8?new d(t):t.isEven()?new N(t):new p(t);var s=new Array,u=3,l=n-1,h=(1<<n)-1;if(s[1]=o.convert(this),n>1){var g=r();for(o.sqrTo(s[1],g);u<=h;)s[u]=r(),o.mulTo(g,s[u-2],s[u]),u+=2}var y,m,v=e.t-1,b=!0,M=r();for(i=f(e[v])-1;v>=0;){for(i>=l?y=e[v]>>i-l&h:(y=(e[v]&(1<<i+1)-1)<<l-i,v>0&&(y|=e[v-1]>>this.DB+i-l)),u=n;0==(1&y);)y>>=1,--u;if((i-=u)<0&&(i+=this.DB,--v),b)s[y].copyTo(a),b=!1;else{for(;u>1;)o.sqrTo(a,M),o.sqrTo(M,a),u-=2;u>0?o.sqrTo(a,M):(m=a,a=M,M=m),o.mulTo(M,s[y],a)}for(;v>=0&&0==(e[v]&1<<i);)o.sqrTo(a,M),m=a,a=M,M=m,--i<0&&(i=this.DB-1,--v)}return o.revert(a)},n.prototype.modInverse=function(e){var t=e.isEven();if(this.isEven()&&t||0==e.signum())return n.ZERO;for(var r=e.clone(),o=this.clone(),i=c(1),a=c(0),s=c(0),u=c(1);0!=r.signum();){for(;r.isEven();)r.rShiftTo(1,r),t?(i.isEven()&&a.isEven()||(i.addTo(this,i),a.subTo(e,a)),i.rShiftTo(1,i)):a.isEven()||a.subTo(e,a),a.rShiftTo(1,a);for(;o.isEven();)o.rShiftTo(1,o),t?(s.isEven()&&u.isEven()||(s.addTo(this,s),u.subTo(e,u)),s.rShiftTo(1,s)):u.isEven()||u.subTo(e,u),u.rShiftTo(1,u);r.compareTo(o)>=0?(r.subTo(o,r),t&&i.subTo(s,i),a.subTo(u,a)):(o.subTo(r,o),t&&s.subTo(i,s),u.subTo(a,u))}return 0!=o.compareTo(n.ONE)?n.ZERO:u.compareTo(e)>=0?u.subtract(e):u.signum()<0?(u.addTo(e,u),u.signum()<0?u.add(e):u):u},n.prototype.pow=function(e){return this.exp(e,new M)},n.prototype.gcd=function(e){var t=this.s<0?this.negate():this.clone(),n=e.s<0?e.negate():e.clone();if(t.compareTo(n)<0){var r=t;t=n,n=r}var o=t.getLowestSetBit(),i=n.getLowestSetBit();if(i<0)return t;for(o<i&&(i=o),i>0&&(t.rShiftTo(i,t),n.rShiftTo(i,n));t.signum()>0;)(o=t.getLowestSetBit())>0&&t.rShiftTo(o,t),(o=n.getLowestSetBit())>0&&n.rShiftTo(o,n),t.compareTo(n)>=0?(t.subTo(n,t),t.rShiftTo(1,t)):(n.subTo(t,n),n.rShiftTo(1,n));return i>0&&n.lShiftTo(i,n),n},n.prototype.isProbablePrime=function(e){var t,n=this.abs();if(1==n.t&&n[0]<=D[D.length-1]){for(t=0;t<D.length;++t)if(n[0]==D[t])return!0;return!1}if(n.isEven())return!1;for(t=1;t<D.length;){for(var r=D[t],o=t+1;o<D.length&&r<x;)r*=D[o++];for(r=n.modInt(r);t<o;)if(r%D[t++]==0)return!1}return n.millerRabin(e)},n.prototype.square=function(){var e=r();return this.squareTo(e),e},n.prototype.Barrett=N,null==S){var O;if(S=new Array,I=0,"undefined"!=typeof window&&window.crypto)if(window.crypto.getRandomValues){var T=new Uint8Array(32);for(window.crypto.getRandomValues(T),O=0;O<32;++O)S[I++]=T[O]}else if("Netscape"==navigator.appName&&navigator.appVersion<"5"){var C=window.crypto.random(32);for(O=0;O<C.length;++O)S[I++]=255&C.charCodeAt(O)}for(;I<A;)O=Math.floor(65536*Math.random()),S[I++]=O>>>8,S[I++]=255&O;I=0,E()}function k(){if(null==j){for(E(),(j=new _).init(S),I=0;I<S.length;++I)S[I]=0;I=0}return j.next()}function L(){}function _(){this.i=0,this.j=0,this.S=new Array}L.prototype.nextBytes=function(e){var t;for(t=0;t<e.length;++t)e[t]=k()},_.prototype.init=function(e){var t,n,r;for(t=0;t<256;++t)this.S[t]=t;for(n=0,t=0;t<256;++t)r=this.S[t],this.S[t]=this.S[n=n+this.S[t]+e[t%e.length]&255],this.S[n]=r;this.i=0,this.j=0},_.prototype.next=function(){var e;return this.i=this.i+1&255,this.j=this.j+this.S[this.i]&255,e=this.S[this.i],this.S[this.i]=this.S[this.j],this.S[this.j]=e,this.S[e+this.S[this.i]&255]};var A=256;e.exports={default:n,BigInteger:n,SecureRandom:L}}).call(pn)})),Nn={sha1:"3021300906052b0e03021a05000414",sha224:"302d300d06096086480165030402040500041c",sha256:"3031300d060960864801650304020105000420",sha384:"3041300d060960864801650304020205000430",sha512:"3051300d060960864801650304020305000440",md2:"3020300c06082a864886f70d020205000410",md5:"3020300c06082a864886f70d020505000410",ripemd160:"3021300906052b2403020105000414"},jn={sha256:vn};function Sn(e,t){if(this.n=null,this.e=0,!(null!=e&&null!=t&&e.length>0&&t.length>0))throw new Error("Invalid key data");this.n=new wn.BigInteger(e,16),this.e=parseInt(t,16)}Sn.prototype.verify=function(e,t){t=t.replace(/[^0-9a-f]|[\s\n]]/gi,"");var n=new wn.BigInteger(t,16);if(n.bitLength()>this.n.bitLength())throw new Error("Signature does not match with the key modulus.");var r=function(e){for(var t in Nn){var n=Nn[t],r=n.length;if(e.substring(0,r)===n)return{alg:t,hash:e.substring(r)}}return[]}(n.modPowInt(this.e,this.n).toString(16).replace(/^1f+00/,""));if(0===r.length)return!1;if(!jn.hasOwnProperty(r.alg))throw new Error("Hashing algorithm is not supported.");var o=jn[r.alg](e).toString();return r.hash===o};for(var In=[],Dn=[],xn="undefined"!=typeof Uint8Array?Uint8Array:Array,En="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",On=0,Tn=En.length;On<Tn;++On)In[On]=En[On],Dn[En.charCodeAt(On)]=On;Dn["-".charCodeAt(0)]=62,Dn["_".charCodeAt(0)]=63;var Cn=function(e){var t,n,r=function(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}(e),o=r[0],i=r[1],a=new xn(function(e,t,n){return 3*(t+n)/4-n}(0,o,i)),s=0,u=i>0?o-4:o;for(n=0;n<u;n+=4)t=Dn[e.charCodeAt(n)]<<18|Dn[e.charCodeAt(n+1)]<<12|Dn[e.charCodeAt(n+2)]<<6|Dn[e.charCodeAt(n+3)],a[s++]=t>>16&255,a[s++]=t>>8&255,a[s++]=255&t;return 2===i&&(t=Dn[e.charCodeAt(n)]<<2|Dn[e.charCodeAt(n+1)]>>4,a[s++]=255&t),1===i&&(t=Dn[e.charCodeAt(n)]<<10|Dn[e.charCodeAt(n+1)]<<4|Dn[e.charCodeAt(n+2)]>>2,a[s++]=t>>8&255,a[s++]=255&t),a};function kn(e){var t=e.length%4;return 0===t?e:e+new Array(4-t+1).join("=")}function Ln(e){return e=kn(e).replace(/\-/g,"+").replace(/_/g,"/"),decodeURIComponent(function(e){for(var t="",n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return t}(Cn(e)).split("").map((function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)})).join(""))}function _n(e){return function(e){for(var t="",n=0;n<e.length;n++){var r=e[n].toString(16);t+=2===r.length?r:"0"+r}return t}(Cn(kn(e)))}var An=hn((function(e){var t,n;t=pn,n=function(){function e(e){var t=[];if(0===e.length)return"";if("string"!=typeof e[0])throw new TypeError("Url must be a string. Received "+e[0]);if(e[0].match(/^[^/:]+:\/*$/)&&e.length>1){var n=e.shift();e[0]=n+e[0]}e[0]=e[0].match(/^file:\/\/\//)?e[0].replace(/^([^/:]+):\/*/,"$1:///"):e[0].replace(/^([^/:]+):\/*/,"$1://");for(var r=0;r<e.length;r++){var o=e[r];if("string"!=typeof o)throw new TypeError("Url must be a string. Received "+o);""!==o&&(r>0&&(o=o.replace(/^[\/]+/,"")),o=o.replace(/[\/]+$/,r<e.length-1?"":"/"),t.push(o))}var i=t.join("/"),a=(i=i.replace(/\/(\?|&|#[^!])/g,"$1")).split("?");return a.shift()+(a.length>0?"?":"")+a.join("&")}return function(){return e("object"==typeof arguments[0]?arguments[0]:[].slice.call(arguments))}},e.exports?e.exports=n():t.urljoin=n()}));function zn(e,t){return t=t||{},new Promise((function(n,r){var o=new XMLHttpRequest,i=[],a=[],s={};for(var u in o.open(t.method||"get",e,!0),o.onload=function(){o.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,(function(e,t,n){i.push(t=t.toLowerCase()),a.push([t,n]),s[t]=s[t]?s[t]+","+n:n})),n(function e(){return{ok:2==(o.status/100|0),statusText:o.statusText,status:o.status,url:o.responseURL,text:function(){return Promise.resolve(o.responseText)},json:function(){return Promise.resolve(o.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([o.response]))},clone:e,headers:{keys:function(){return i},entries:function(){return a},get:function(e){return s[e.toLowerCase()]},has:function(e){return e.toLowerCase()in s}}}}())},o.onerror=r,o.withCredentials="include"==t.credentials,t.headers)o.setRequestHeader(u,t.headers[u]);o.send(t.body||null)}))}function Pn(e){if(e.ok)return e.json();var t=new Error(e.statusText);return t.response=e,Promise.reject(t)}function Rn(e){this.name="ConfigurationError",this.message=e||""}function Un(e){this.name="TokenValidationError",this.message=e||""}Rn.prototype=Error.prototype,Un.prototype=Error.prototype;var Bn=function(){function e(){}var t=e.prototype;return t.get=function(){return null},t.has=function(){return null},t.set=function(){return null},e}();gn.polyfill();var Fn=function(e){return"number"==typeof e},Yn=function(){return new Date};function Gn(e){var t=e||{};if(this.jwksCache=t.jwksCache||new Bn,this.expectedAlg=t.expectedAlg||"RS256",this.issuer=t.issuer,this.audience=t.audience,this.leeway=0===t.leeway?0:t.leeway||60,this.jwksURI=t.jwksURI,this.maxAge=t.maxAge,this.__clock="function"==typeof t.__clock?t.__clock:Yn,this.leeway<0||this.leeway>300)throw new Rn("The leeway should be positive and lower than five minutes.");if("RS256"!==this.expectedAlg)throw new Rn('Signature algorithm of "'+this.expectedAlg+'" is not supported. Expected the ID token to be signed with "RS256".')}function Hn(e,t){this.plugins=t;for(var n=0;n<this.plugins.length;n++){if(this.plugins[n].version!==Lt.raw){var r="";throw this.plugins[n].constructor&&this.plugins[n].constructor.name&&(r=this.plugins[n].constructor.name),new Error("Plugin "+r+" version ("+this.plugins[n].version+") is not compatible with the SDK version ("+Lt.raw+")")}this.plugins[n].setWebAuth(e)}}Gn.prototype.verify=function(e,t,n){if(!n&&t&&"function"==typeof t&&(n=t,t=void 0),!e)return n(new Un("ID token is required but missing"),null);var r=this.decode(e);if(r instanceof Error)return n(new Un("ID token could not be decoded"),null);var o=r.encoded.header+"."+r.encoded.payload,i=_n(r.encoded.signature),a=r.header.alg,s=r.header.kid,u=r.payload.aud,l=r.payload.sub,c=r.payload.iss,f=r.payload.exp,d=r.payload.nbf,p=r.payload.iat,h=r.payload.azp,g=r.payload.auth_time,y=r.payload.nonce,m=this.__clock(),v=this;if(v.expectedAlg!==a)return n(new Un('Signature algorithm of "'+a+'" is not supported. Expected the ID token to be signed with "RS256".'),null);this.getRsaVerifier(c,s,(function(e,a){if(e)return n(e,null);if(!a.verify(o,i))return n(new Un("Invalid ID token signature."),null);if(!c||"string"!=typeof c)return n(new Un("Issuer (iss) claim must be a string present in the ID token"),null);if(v.issuer!==c)return n(new Un('Issuer (iss) claim mismatch in the ID token, expected "'+v.issuer+'", found "'+c+'"'),null);if(!l||"string"!=typeof l)return n(new Un("Subject (sub) claim must be a string present in the ID token"),null);if(!u||"string"!=typeof u&&!Array.isArray(u))return n(new Un("Audience (aud) claim must be a string or array of strings present in the ID token"),null);if(Array.isArray(u)&&!u.includes(v.audience))return n(new Un('Audience (aud) claim mismatch in the ID token; expected "'+v.audience+'" but was not one of "'+u.join(", ")+'"'),null);if("string"==typeof u&&v.audience!==u)return n(new Un('Audience (aud) claim mismatch in the ID token; expected "'+v.audience+'" but found "'+u+'"'),null);if(t){if(!y||"string"!=typeof y)return n(new Un("Nonce (nonce) claim must be a string present in the ID token"),null);if(y!==t)return n(new Un('Nonce (nonce) claim value mismatch in the ID token; expected "'+t+'", found "'+y+'"'),null)}if(Array.isArray(u)&&u.length>1){if(!h||"string"!=typeof h)return n(new Un("Authorized Party (azp) claim must be a string present in the ID token when Audience (aud) claim has multiple values"),null);if(h!==v.audience)return n(new Un('Authorized Party (azp) claim mismatch in the ID token; expected "'+v.audience+'", found "'+h+'"'),null)}if(!f||!Fn(f))return n(new Un("Expiration Time (exp) claim must be a number present in the ID token"),null);if(!p||!Fn(p))return n(new Un("Issued At (iat) claim must be a number present in the ID token"),null);var s=f+v.leeway,b=new Date(0);if(b.setUTCSeconds(s),m>b)return n(new Un('Expiration Time (exp) claim error in the ID token; current time "'+m+'" is after expiration time "'+b+'"'),null);if(d&&Fn(d)){var M=d-v.leeway,w=new Date(0);if(w.setUTCSeconds(M),m<w)return n(new Un('Not Before Time (nbf) claim error in the ID token; current time "'+m+'" is before the not before time "'+w+'"'),null)}if(v.maxAge){if(!g||!Fn(g))return n(new Un("Authentication Time (auth_time) claim must be a number present in the ID token when Max Age (max_age) is specified"),null);var N=g+v.maxAge+v.leeway,j=new Date(0);if(j.setUTCSeconds(N),m>j)return n(new Un('Authentication Time (auth_time) claim in the ID token indicates that too much time has passed since the last end-user authentication. Current time "'+m+'" is after last auth time at "'+j+'"'),null)}return n(null,r.payload)}))},Gn.prototype.getRsaVerifier=function(e,t,n){var r=this,o=e+t;Promise.resolve(this.jwksCache.has(o)).then((function(n){return n?r.jwksCache.get(o):(i={jwksURI:r.jwksURI,iss:e,kid:t},("undefined"==typeof fetch?zn:fetch)(i.jwksURI||An(i.iss,".well-known","jwks.json")).then(Pn).then((function(e){var t,n,r,o=null;for(t=0;t<e.keys.length&&null===o;t++)(n=e.keys[t]).kid===i.kid&&(o=n);if(!o)throw new Error('Could not find a public key for Key ID (kid) "'+i.kid+'"');return{modulus:_n((r=o).n),exp:_n(r.e)}})).catch((function(e){throw e})));var i})).then((function(e){if(!e||!e.modulus||!e.exp)throw new Error("Empty keyInfo in response");return Promise.resolve(r.jwksCache.set(o,e)).then((function(){n&&n(null,new Sn(e.modulus,e.exp))}))})).catch((function(e){n&&n(e)}))},Gn.prototype.decode=function(e){var t,n,r=e.split(".");if(3!==r.length)return new Un("Cannot decode a malformed JWT");try{t=JSON.parse(Ln(r[0])),n=JSON.parse(Ln(r[1]))}catch(e){return new Un("Token header or payload is not valid JSON")}return{header:t,payload:n,encoded:{header:r[0],payload:r[1],signature:r[2]}}},Gn.prototype.validateAccessToken=function(e,t,n,r){if(this.expectedAlg!==t)return r(new Un('Signature algorithm of "'+t+'" is not supported. Expected "'+this.expectedAlg+'"'));var o,i=vn(e),a=Mn.stringify(i),s=a.substring(0,a.length/2),u=Mn.parse(s),l=bn.stringify(u);return r((o={"+":"-","/":"_","=":""},l.replace(/[+/=]/g,(function(e){return o[e]}))!==n?new Un("Invalid access_token"):null))},Hn.prototype.get=function(e){for(var t=0;t<this.plugins.length;t++)if(this.plugins[t].supports(e))return this.plugins[t].init();return null};var Vn=function(e){var t=new Uint8Array(e),n=[],r="0123456789ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvwxyz-._~",o=$t.getWindow().crypto||$t.getWindow().msCrypto;if(!o)return null;for(var i=o.getRandomValues(t),a=0;a<i.length;a++)n.push(r[i[a]%r.length]);return n.join("")};function Qn(e){var t=e.transaction||{};this.namespace=t.namespace||"com.auth0.auth.",this.keyLength=t.keyLength||32,this.stateExpiration=e.stateExpiration?e.stateExpiration/60/24:1/48,this.storage=new rn(e),this.options=e}function Wn(e){if(this.url=e.url,this.callback=e.callback,this.timeout=e.timeout||6e4,this.timeoutCallback=e.timeoutCallback||null,this.eventListenerType=e.eventListenerType||"message",this.iframe=null,this.timeoutHandle=null,this._destroyTimeout=null,this.transientMessageEventListener=null,this.proxyEventListener=null,this.eventValidator=e.eventValidator||{isValid:function(){return!0}},"function"!=typeof this.callback)throw new Error("options.callback must be a function")}function Zn(e){this.webAuth=e,this.warn=new tn(e.baseOptions)}function qn(e,t){this.webAuth=e,this.baseOptions=t,this.request=new qt(t),this.webMessageHandler=new Zn(e),this.storage=new rn(t)}function Xn(e,t){return["co/verifier",encodeURIComponent(e),encodeURIComponent(t)].join("/")}function $n(e,t){this.webAuth=e,this.baseOptions=t,this.crossOriginAuthentication=new qn(e,this.baseOptions),this.warn=new tn({disableWarnings:!!t._disableDeprecationWarnings})}Qn.prototype.process=function(e){if(!e.responseType)throw new Error("responseType is required");var t=e.realm||e.connection,n=-1!==e.responseType.indexOf("id_token"),r=this.generateTransaction(e.appState,e.state,e.nonce,t,n,e.organization);return e.state||(e.state=r.state),n&&!e.nonce&&(e.nonce=r.nonce),e},Qn.prototype.generateTransaction=function(e,t,n,r,o,i){if(t=t||Vn(this.keyLength),n=n||(o?Vn(this.keyLength):null),$t.getWindow().location.host!==this.options.domain){var a={nonce:n,appState:e,state:t,lastUsedConnection:r};i&&(a.organization=i),this.storage.setItem(this.namespace+t,a,{expires:this.stateExpiration})}return{state:t,nonce:n}},Qn.prototype.getStoredTransaction=function(e){var t;return t=this.storage.getItem(this.namespace+e),this.clearTransaction(e),t},Qn.prototype.clearTransaction=function(e){this.storage.removeItem(this.namespace+e)},Wn.prototype.init=function(){var e=this,t=$t.getWindow();switch(this.iframe=t.document.createElement("iframe"),this.iframe.style.display="none",this.proxyEventListener=function(t){e.eventListener(t)},this.eventListenerType){case"message":this.eventSourceObject=t;break;case"load":this.eventSourceObject=this.iframe;break;default:throw new Error("Unsupported event listener type: "+this.eventListenerType)}this.eventSourceObject.addEventListener(this.eventListenerType,this.proxyEventListener,!1),t.document.body.appendChild(this.iframe),this.iframe.src=this.url,this.timeoutHandle=setTimeout((function(){e.timeoutHandler()}),this.timeout)},Wn.prototype.eventListener=function(e){var t={event:e,sourceObject:this.eventSourceObject};this.eventValidator.isValid(t)&&(this.destroy(),this.callback(t))},Wn.prototype.timeoutHandler=function(){this.destroy(),this.timeoutCallback&&this.timeoutCallback()},Wn.prototype.destroy=function(){var e=this;clearTimeout(this.timeoutHandle),this._destroyTimeout=setTimeout((function(){e.eventSourceObject.removeEventListener(e.eventListenerType,e.proxyEventListener,!1),e.iframe.parentNode&&e.iframe.parentNode.removeChild(e.iframe)}),0)},Zn.prototype.run=function(e,t){var n=this;e.responseMode="web_message",e.prompt="none";var r=$t.getOrigin(),o=Qt.getOriginFromUrl(e.redirectUri);if(o&&r!==o)return t({error:"origin_mismatch",error_description:"The redirectUri's origin ("+o+") should match the window's origin ("+r+")."});!function(e,t,n){new Wn({url:e,eventListenerType:"message",callback:function(e){n(null,e)},timeout:t.timeout,eventValidator:{isValid:function(e){return!(!e.event.data||"authorization_response"!==e.event.data.type||t.state!==e.event.data.response.state)}},timeoutCallback:function(){n({error:"timeout",error_description:"Timeout during executing web_message communication",state:t.state})}}).init()}(this.webAuth.client.buildAuthorizeUrl(e),e,(function(r,o){var i=r;if(!r&&o.event.data.response.error&&(i=o.event.data.response),!i){var a=o.event.data.response;return n.webAuth.validateAuthenticationResponse(e,a,t)}return"consent_required"===i.error&&"localhost"===$t.getWindow().location.hostname&&n.warn.warning("Consent Required. Consent can't be skipped on localhost. Read more here: https://auth0.com/docs/api-auth/user-consent#skipping-consent-for-first-party-clients"),n.webAuth.transactionManager.clearTransaction(i.state),t(Qt.pick(i,["error","error_description"]))}))},qn.prototype.login=function(e,t){var n=this,r=a(this.baseOptions.rootUrl,"/co/authenticate");e.username=e.username||e.email,delete e.email;var o={client_id:e.clientID||this.baseOptions.clientID,username:e.username};e.password&&(o.password=e.password),e.otp&&(o.otp=e.otp);var i=e.realm||this.baseOptions.realm;if(i){var s=e.credentialType||this.baseOptions.credentialType||"http://auth0.com/oauth/grant-type/password-realm";o.realm=i,o.credential_type=s}else o.credential_type="password";this.request.post(r).withCredentials().send(o).end((function(r,o){if(r){var i=r.response&&r.response.body||{error:"request_error",error_description:JSON.stringify(r)};return un(t,{forceLegacyError:!0})(i)}function a(){var r=!0===e.popup;e=Qt.blacklist(e,["password","credentialType","otp","popup","onRedirecting"]);var i=Qt.merge(e).with({loginTicket:o.body.login_ticket}),a=Xn(n.baseOptions.rootUrl,o.body.co_id);n.storage.setItem(a,o.body.co_verifier,{expires:1/96}),r?n.webMessageHandler.run(i,un(t,{forceLegacyError:!0})):n.webAuth.authorize(i)}"function"==typeof e.onRedirecting?e.onRedirecting(a):a()}))},qn.prototype.callback=function(){var e=decodeURIComponent(function(e){var t=("&"+$t.getWindow().location.hash.substring(1)).split("&origin=");if(2===t.length)return t.pop().split("&").shift()}()),t=$t.getWindow(),n=this;t.addEventListener("message",(function(e){if("co_verifier_request"===e.data.type){var t=Xn(e.origin,e.data.request.id),r=function(e,t){try{var n=e.getItem(t);return e.removeItem(t),n||""}catch(hn){return""}}(n.storage,t);e.source.postMessage({type:"co_verifier_response",response:{verifier:r}},e.origin)}})),t.parent.postMessage({type:"ready"},e)},$n.prototype.loginWithCredentials=function(e,t){e.realm=e.realm||e.connection,delete e.connection,this.crossOriginAuthentication.login(e,t)},$n.prototype.signupAndLogin=function(e,t){var n=this;return this.webAuth.client.dbConnection.signup(e,(function(r){return r?t(r):(e.realm=e.realm||e.connection,delete e.connection,n.webAuth.login(e,t))}))};var Jn=i((function(e){var t=function(){function e(e,t,n){e.attachEvent?e.attachEvent("on"+t,n):e.addEventListener&&e.addEventListener(t,n,!1)}function t(e,t,n){e.detachEvent?e.detachEvent("on"+t,n):e.removeEventListener&&e.removeEventListener(t,n,!1)}function n(e){/^https?:\/\//.test(e)||(e=window.location.href);var t=/^(https?:\/\/[\-_a-zA-Z\.0-9:]+)/.exec(e);return t?t[1]:e}var r=function(){if("undefined"==typeof navigator)return!1;var e=-1,t=navigator.userAgent;return"Microsoft Internet Explorer"===navigator.appName?null!=new RegExp("MSIE ([0-9]{1,}[.0-9]{0,})").exec(t)&&(e=parseFloat(RegExp.$1)):t.indexOf("Trident")>-1&&null!==new RegExp("rv:([0-9]{2,2}[.0-9]{0,})").exec(t)&&(e=parseFloat(RegExp.$1)),e>=8}();return"undefined"!=typeof window&&window.JSON&&window.JSON.stringify&&window.JSON.parse&&window.postMessage?{open:function(o,i){if(!i)throw"missing required callback argument";var a,s;o.url||(a="missing required 'url' parameter"),o.relay_url||(a="missing required 'relay_url' parameter"),a&&setTimeout((function(){i(a)}),0),o.window_name||(o.window_name=null),o.window_features&&!function(){try{var e=navigator.userAgent;return-1!=e.indexOf("Fennec/")||-1!=e.indexOf("Firefox/")&&-1!=e.indexOf("Android")}catch(hn){}return!1}()||(o.window_features=void 0);var u,l=o.origin||n(o.url);if(l!==n(o.relay_url))return setTimeout((function(){i("invalid arguments: origin of url and relay_url must match")}),0);r&&((s=document.createElement("iframe")).setAttribute("src",o.relay_url),s.style.display="none",s.setAttribute("name","__winchan_relay_frame"),document.body.appendChild(s),u=s.contentWindow);var c=o.popup||window.open(o.url,o.window_name,o.window_features);o.popup&&(c.location.href=o.url),u||(u=c);var f=setInterval((function(){c&&c.closed&&(p(),i&&(i("User closed the popup window"),i=null))}),500),d=JSON.stringify({a:"request",d:o.params});function p(){if(s&&document.body.removeChild(s),s=void 0,f&&(f=clearInterval(f)),t(window,"message",h),t(window,"unload",p),c)try{c.close()}catch(e){u.postMessage("die",l)}c=u=void 0}function h(e){if(e.origin===l){try{var t=JSON.parse(e.data)}catch(a){if(i)return i(a);throw a}"ready"===t.a?u.postMessage(d,l):"error"===t.a?(p(),i&&(i(t.d),i=null)):"response"===t.a&&(p(),i&&(i(null,t.d),i=null))}}return e(window,"unload",p),e(window,"message",h),{originalPopup:c,close:p,focus:function(){if(c)try{c.focus()}catch(hn){}}}},onOpen:function(n){var o="*",i=r?function(){for(var e=window.opener.frames,t=e.length-1;t>=0;t--)try{if(e[t].location.protocol===window.location.protocol&&e[t].location.host===window.location.host&&"__winchan_relay_frame"===e[t].name)return e[t]}catch(hn){}}():window.opener;if(!i)throw"can't find relay frame";function a(e){e=JSON.stringify(e),r?i.doPost(e,o):i.postMessage(e,o)}function s(e){if("die"===e.data)try{window.close()}catch(t){}}e(r?i:window,"message",(function e(r){var i;try{i=JSON.parse(r.data)}catch(s){}i&&"request"===i.a&&(t(window,"message",e),o=r.origin,n&&setTimeout((function(){n(o,i.d,(function(e){n=void 0,a({a:"response",d:e})}))}),0))})),e(r?i:window,"message",s);try{a({a:"ready"})}catch(hn){e(i,"load",(function(e){a({a:"ready"})}))}var u=function(){try{t(r?i:window,"message",s)}catch(e){}n&&a({a:"error",d:"client closed window"}),n=void 0;try{window.close()}catch(hn){}};return e(window,"unload",u),{detach:function(){t(window,"unload",u)}}}}:{open:function(e,t,n,r){setTimeout((function(){r("unsupported browser")}),0)},onOpen:function(e){setTimeout((function(){e("unsupported browser")}),0)}}}();e.exports&&(e.exports=t)})),Kn=function(e){/^https?:\/\//.test(e)||(e=window.location.href);var t=/^(https?:\/\/[-_a-zA-Z.0-9:]+)/.exec(e);return t?t[1]:e};function er(){this._current_popup=null}function tr(e,t){this.baseOptions=t,this.baseOptions.popupOrigin=t.popupOrigin,this.client=e.client,this.webAuth=e,this.transactionManager=new Qn(this.baseOptions),this.crossOriginAuthentication=new qn(e,this.baseOptions),this.warn=new tn({disableWarnings:!!t._disableDeprecationWarnings})}function nr(e){this.authenticationUrl=e.authenticationUrl,this.timeout=e.timeout||6e4,this.handler=null,this.postMessageDataType=e.postMessageDataType||!1,this.postMessageOrigin=e.postMessageOrigin||$t.getWindow().location.origin||$t.getWindow().location.protocol+"//"+$t.getWindow().location.hostname+($t.getWindow().location.port?":"+$t.getWindow().location.port:"")}function rr(e){this.baseOptions=e,this.request=new qt(e),this.transactionManager=new Qn(this.baseOptions)}function or(e,t){this.baseOptions=t,this.client=e,this.baseOptions.universalLoginPage=!0,this.request=new qt(this.baseOptions),this.warn=new tn({disableWarnings:!!t._disableDeprecationWarnings})}er.prototype.calculatePosition=function(e){var t=e.width||500,n=e.height||600,r=$t.getWindow(),o=void 0!==r.screenX?r.screenX:r.screenLeft,i=void 0!==r.screenY?r.screenY:r.screenTop,a=void 0!==r.outerWidth?r.outerWidth:r.document.body.clientWidth,s=void 0!==r.outerHeight?r.outerHeight:r.document.body.clientHeight;return{width:t,height:n,left:e.left||o+(a-t)/2,top:e.top||i+(s-n)/2}},er.prototype.preload=function(e){var t=this,n=$t.getWindow(),r=this.calculatePosition(e.popupOptions||{}),o=Qt.merge(r).with(e.popupOptions),i=e.url||"about:blank",a=rt(o,{encode:!1,delimiter:","});return this._current_popup&&!this._current_popup.closed||(this._current_popup=n.open(i,"auth0_signup_popup",a),this._current_popup.kill=function(){this.close(),t._current_popup=null}),this._current_popup},er.prototype.load=function(e,t,n,r){var o=this,i=this.calculatePosition(n.popupOptions||{}),a=Qt.merge(i).with(n.popupOptions),s=Qt.merge({url:e,relay_url:t,window_features:rt(a,{delimiter:",",encode:!1}),popup:this._current_popup}).with(n),u=Jn.open(s,(function(e,t){if(!e||"SyntaxError"!==e.name)return o._current_popup=null,r(e,t)}));return u.focus(),u},tr.prototype.buildPopupHandler=function(){var e=this.baseOptions.plugins.get("popup.getPopupHandler");return e?e.getPopupHandler():new er},tr.prototype.preload=function(e){e=e||{};var t=this.buildPopupHandler();return t.preload(e),t},tr.prototype.getPopupHandler=function(e,t){return e.popupHandler?e.popupHandler:t?this.preload(e):this.buildPopupHandler()},tr.prototype.callback=function(e){var t=this,n=$t.getWindow(),r=(e=e||{}).popupOrigin||this.baseOptions.popupOrigin||$t.getOrigin();n.opener?Jn.onOpen((function(n,o,i){if(n!==r)return i({error:"origin_mismatch",error_description:"The popup's origin ("+n+") should match the `popupOrigin` parameter ("+r+")."});t.webAuth.parseHash(e||{},(function(e,t){return i(e||t)}))})):n.doPost=function(e){n.parent&&n.parent.postMessage(e,r)}},tr.prototype.authorize=function(e,t){var n,r,o={},i=this.baseOptions.plugins.get("popup.authorize"),s=Qt.merge(this.baseOptions,["clientID","scope","domain","audience","tenant","responseType","redirectUri","_csrf","state","_intstate","nonce","organization","invitation"]).with(Qt.blacklist(e,["popupHandler"]));return Rt.check(s,{type:"object",message:"options parameter is not valid"},{responseType:{type:"string",message:"responseType option is required"}}),r=a(this.baseOptions.rootUrl,"relay.html"),e.owp?s.owp=!0:(o.origin=Kn(s.redirectUri),r=s.redirectUri),e.popupOptions&&(o.popupOptions=Qt.pick(e.popupOptions,["width","height","top","left"])),i&&(s=i.processParams(s)),(s=this.transactionManager.process(s)).scope=s.scope||"openid profile email",delete s.domain,n=this.client.buildAuthorizeUrl(s),this.getPopupHandler(e).load(n,r,o,un(t,{keepOriginalCasing:!0}))},tr.prototype.loginWithCredentials=function(e,t){e.realm=e.realm||e.connection,e.popup=!0,e=Qt.merge(this.baseOptions,["redirectUri","responseType","state","nonce"]).with(Qt.blacklist(e,["popupHandler","connection"])),e=this.transactionManager.process(e),this.crossOriginAuthentication.login(e,t)},tr.prototype.passwordlessVerify=function(e,t){var n=this;return this.client.passwordless.verify(Qt.blacklist(e,["popupHandler"]),(function(r){if(r)return t(r);e.username=e.phoneNumber||e.email,e.password=e.verificationCode,delete e.email,delete e.phoneNumber,delete e.verificationCode,delete e.type,n.client.loginWithResourceOwner(e,t)}))},tr.prototype.signupAndLogin=function(e,t){var n=this;return this.client.dbConnection.signup(e,(function(r){if(r)return t(r);n.loginWithCredentials(e,t)}))},nr.create=function(e){return new nr(e)},nr.prototype.login=function(e,t){this.handler=new Wn({auth0:this.auth0,url:this.authenticationUrl,eventListenerType:e?"message":"load",callback:this.getCallbackHandler(t,e),timeout:this.timeout,eventValidator:this.getEventValidator(),timeoutCallback:function(){t(null,"#error=timeout&error_description=Timeout+during+authentication+renew.")},usePostMessage:e||!1}),this.handler.init()},nr.prototype.getEventValidator=function(){var e=this;return{isValid:function(t){switch(t.event.type){case"message":return t.event.origin===e.postMessageOrigin&&t.event.source===e.handler.iframe.contentWindow&&(!1===e.postMessageDataType||t.event.data.type&&t.event.data.type===e.postMessageDataType);case"load":if("about:"===t.sourceObject.contentWindow.location.protocol)return!1;default:return!0}}}},nr.prototype.getCallbackHandler=function(e,t){return function(n){var r;r=t?"object"==typeof n.event.data&&n.event.data.hash?n.event.data.hash:n.event.data:n.sourceObject.contentWindow.location.hash,e(null,r)}},rr.prototype.login=function(e,t){var n,r;return n=a(this.baseOptions.rootUrl,"usernamepassword","login"),e.username=e.username||e.email,e=Qt.blacklist(e,["email","onRedirecting"]),r=Qt.merge(this.baseOptions,["clientID","redirectUri","tenant","responseType","responseMode","scope","audience"]).with(e),r=this.transactionManager.process(r),r=Qt.toSnakeCase(r,["auth0Client"]),this.request.post(n).send(r).end(un(t))},rr.prototype.callback=function(e){var t,n=$t.getDocument();(t=n.createElement("div")).innerHTML=e,n.body.appendChild(t).children[0].submit()},or.prototype.login=function(e,t){if($t.getWindow().location.host!==this.baseOptions.domain)throw new Error("This method is meant to be used only inside the Universal Login Page.");var n,r=Qt.merge(this.baseOptions,["clientID","redirectUri","tenant","responseType","responseMode","scope","audience","_csrf","state","_intstate","nonce"]).with(e);return Rt.check(r,{type:"object",message:"options parameter is not valid"},{responseType:{type:"string",message:"responseType option is required"}}),(n=new rr(this.baseOptions)).login(r,(function(r,o){if(r)return t(r);function i(){n.callback(o)}if("function"==typeof e.onRedirecting)return e.onRedirecting((function(){i()}));i()}))},or.prototype.signupAndLogin=function(e,t){var n=this;return n.client.client.dbConnection.signup(e,(function(r){return r?t(r):n.login(e,t)}))},or.prototype.getSSOData=function(e,t){var n,r="";return"function"==typeof e&&(t=e,e=!1),Rt.check(e,{type:"boolean",message:"withActiveDirectories parameter is not valid"}),Rt.check(t,{type:"function",message:"cb parameter is not valid"}),e&&(r="?"+rt({ldaps:1,client_id:this.baseOptions.clientID})),n=a(this.baseOptions.rootUrl,"user","ssodata",r),this.request.get(n,{noHeaders:!0}).withCredentials().end(un(t))};var ir=function(){},ar={lang:"en",templates:{auth0:function(e){var t="code"===e.type?"Enter the code shown above":"Solve the formula shown above";return'<div class="captcha-challenge">\n  <img src="'+e.image+'" />\n  <button type="button" class="captcha-reload">\u21ba</button>\n</div>\n<input type="text" name="captcha"\n  class="form-control captcha-control"\n  placeholder="'+t+'" />'},recaptcha_v2:function(){return'<div class="recaptcha" ></div><input type="hidden" name="captcha" />'},recaptcha_enterprise:function(){return'<div class="recaptcha" ></div><input type="hidden" name="captcha" />'},error:function(){return'<div class="error" style="color: red;">Error getting the bot detection challenge. Please contact the system administrator.</div>'}}};function sr(e){switch(e){case"recaptcha_v2":return window.grecaptcha;case"recaptcha_enterprise":return window.grecaptcha.enterprise;default:throw new Error("Unknown captcha provider")}}var ur=function(e,t,n,r){function o(r){r=r||ir,e.getChallenge((function(e,i){return e?(t.innerHTML=n.templates.error(e),r(e)):i.required?(t.style.display="","auth0"===i.provider?function(e,t,n,r){e.innerHTML=t.templates[n.provider](n),e.querySelector(".captcha-reload").addEventListener("click",(function(e){e.preventDefault(),r()}))}(t,n,i,o):"recaptcha_v2"!==i.provider&&"recaptcha_enterprise"!==i.provider||function(e,t,n){var r=e.hasAttribute("data-wid")&&e.getAttribute("data-wid");function o(t){e.querySelector('input[name="captcha"]').value=t||""}if(r)return o(),void sr(n.provider).reset(r);e.innerHTML=t.templates[n.provider](n);var i=e.querySelector(".recaptcha");!function(e,t,n){var r="recaptchaCallback_"+Math.floor(1000001*Math.random());window[r]=function(){delete window[r],n()};var o=window.document.createElement("script");o.src=function(e,t,n){switch(e){case"recaptcha_v2":return"https://www.recaptcha.net/recaptcha/api.js?hl="+t+"&onload="+n;case"recaptcha_enterprise":return"https://www.recaptcha.net/recaptcha/enterprise.js?render=explicit&hl="+t+"&onload="+n;default:throw new Error("Unknown captcha provider")}}(t.provider,t.lang,r),o.async=!0,window.document.body.appendChild(o)}(0,{lang:t.lang,provider:n.provider},(function(){var t=sr(n.provider);r=t.render(i,{callback:o,"expired-callback":function(){o()},"error-callback":function(){o()},sitekey:n.siteKey}),e.setAttribute("data-wid",r)}))}(t,n,i),void r()):(t.style.display="none",void(t.innerHTML=""))}))}return n=Qt.merge(ar).with(n||{}),o(r),{reload:o,getValue:function(){var e=t.querySelector('input[name="captcha"]');if(e)return e.value}}};function lr(){return new Date}function cr(e){Rt.check(e,{type:"object",message:"options parameter is not valid"},{domain:{type:"string",message:"domain option is required"},clientID:{type:"string",message:"clientID option is required"},responseType:{optional:!0,type:"string",message:"responseType is not valid"},responseMode:{optional:!0,type:"string",message:"responseMode is not valid"},redirectUri:{optional:!0,type:"string",message:"redirectUri is not valid"},scope:{optional:!0,type:"string",message:"scope is not valid"},audience:{optional:!0,type:"string",message:"audience is not valid"},popupOrigin:{optional:!0,type:"string",message:"popupOrigin is not valid"},leeway:{optional:!0,type:"number",message:"leeway is not valid"},plugins:{optional:!0,type:"array",message:"plugins is not valid"},maxAge:{optional:!0,type:"number",message:"maxAge is not valid"},stateExpiration:{optional:!0,type:"number",message:"stateExpiration is not valid"},_disableDeprecationWarnings:{optional:!0,type:"boolean",message:"_disableDeprecationWarnings option is not valid"},_sendTelemetry:{optional:!0,type:"boolean",message:"_sendTelemetry option is not valid"},_telemetryInfo:{optional:!0,type:"object",message:"_telemetryInfo option is not valid"},_timesToRetryFailedRequests:{optional:!0,type:"number",message:"_timesToRetryFailedRequests option is not valid"}}),e.overrides&&Rt.check(e.overrides,{type:"object",message:"overrides option is not valid"},{__tenant:{optional:!0,type:"string",message:"__tenant option is required"},__token_issuer:{optional:!0,type:"string",message:"__token_issuer option is required"},__jwks_uri:{optional:!0,type:"string",message:"__jwks_uri is required"}}),this.baseOptions=e,this.baseOptions.plugins=new Hn(this,this.baseOptions.plugins||[]),this.baseOptions._sendTelemetry=!1!==this.baseOptions._sendTelemetry||this.baseOptions._sendTelemetry,this.baseOptions._timesToRetryFailedRequests=e._timesToRetryFailedRequests?parseInt(e._timesToRetryFailedRequests):0,this.baseOptions.tenant=this.baseOptions.overrides&&this.baseOptions.overrides.__tenant||this.baseOptions.domain.split(".")[0],this.baseOptions.token_issuer=this.baseOptions.overrides&&this.baseOptions.overrides.__token_issuer||"https://"+this.baseOptions.domain+"/",this.baseOptions.jwksURI=this.baseOptions.overrides&&this.baseOptions.overrides.__jwks_uri,this.transactionManager=new Qn(this.baseOptions),this.client=new pr(this.baseOptions),this.redirect=new $n(this,this.baseOptions),this.popup=new tr(this,this.baseOptions),this.crossOriginAuthentication=new qn(this,this.baseOptions),this.webMessageHandler=new Zn(this),this._universalLogin=new or(this,this.baseOptions),this.ssodataStorage=new on(this.baseOptions)}function fr(e,t){this.baseOptions=t,this.request=e}function dr(e,t){this.baseOptions=t,this.request=e}function pr(e,t){2===arguments.length?this.auth0=e:t=e,Rt.check(t,{type:"object",message:"options parameter is not valid"},{domain:{type:"string",message:"domain option is required"},clientID:{type:"string",message:"clientID option is required"},responseType:{optional:!0,type:"string",message:"responseType is not valid"},responseMode:{optional:!0,type:"string",message:"responseMode is not valid"},redirectUri:{optional:!0,type:"string",message:"redirectUri is not valid"},scope:{optional:!0,type:"string",message:"scope is not valid"},audience:{optional:!0,type:"string",message:"audience is not valid"},_disableDeprecationWarnings:{optional:!0,type:"boolean",message:"_disableDeprecationWarnings option is not valid"},_sendTelemetry:{optional:!0,type:"boolean",message:"_sendTelemetry option is not valid"},_telemetryInfo:{optional:!0,type:"object",message:"_telemetryInfo option is not valid"}}),this.baseOptions=t,this.baseOptions._sendTelemetry=!1!==this.baseOptions._sendTelemetry||this.baseOptions._sendTelemetry,this.baseOptions.rootUrl=this.baseOptions.domain&&0===this.baseOptions.domain.toLowerCase().indexOf("http")?this.baseOptions.domain:"https://"+this.baseOptions.domain,this.request=new qt(this.baseOptions),this.passwordless=new fr(this.request,this.baseOptions),this.dbConnection=new dr(this.request,this.baseOptions),this.warn=new tn({disableWarnings:!!t._disableDeprecationWarnings}),this.ssodataStorage=new on(this.baseOptions)}function hr(e){Rt.check(e,{type:"object",message:"options parameter is not valid"},{domain:{type:"string",message:"domain option is required"},token:{type:"string",message:"token option is required"},_sendTelemetry:{optional:!0,type:"boolean",message:"_sendTelemetry option is not valid"},_telemetryInfo:{optional:!0,type:"object",message:"_telemetryInfo option is not valid"}}),this.baseOptions=e,this.baseOptions.headers={Authorization:"Bearer "+this.baseOptions.token},this.request=new qt(this.baseOptions),this.baseOptions.rootUrl=a("https://"+this.baseOptions.domain,"api","v2")}cr.prototype.parseHash=function(e,t){var n,r;t||"function"!=typeof e?e=e||{}:(t=e,e={});var o=void 0===e.hash?$t.getWindow().location.hash:e.hash;if((n=function(e,t){var n=function(e){if(!e)return Ke;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?Ke.charset:e.charset;return{allowDots:void 0===e.allowDots?Ke.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:Ke.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:Ke.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:Ke.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:Ke.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:Ke.comma,decoder:"function"==typeof e.decoder?e.decoder:Ke.decoder,delimiter:"string"==typeof e.delimiter||Fe.isRegExp(e.delimiter)?e.delimiter:Ke.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:Ke.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:Ke.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:Ke.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:Ke.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:Ke.strictNullHandling}}(t);if(""===e||null==e)return n.plainObjects?Object.create(null):{};for(var r="string"==typeof e?function(e,t){var n,r={},o=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,i=t.parameterLimit===1/0?void 0:t.parameterLimit,a=o.split(t.delimiter,i),s=-1,u=t.charset;if(t.charsetSentinel)for(n=0;n<a.length;++n)0===a[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===a[n]?u="utf-8":"utf8=%26%2310003%3B"===a[n]&&(u="iso-8859-1"),s=n,n=a.length);for(n=0;n<a.length;++n)if(n!==s){var l,c,f=a[n],d=f.indexOf("]="),p=-1===d?f.indexOf("="):d+1;-1===p?(l=t.decoder(f,Ke.decoder,u,"key"),c=t.strictNullHandling?null:""):(l=t.decoder(f.slice(0,p),Ke.decoder,u,"key"),c=Fe.maybeMap(tt(f.slice(p+1),t),(function(e){return t.decoder(e,Ke.decoder,u,"value")}))),c&&t.interpretNumericEntities&&"iso-8859-1"===u&&(c=et(c)),f.indexOf("[]=")>-1&&(c=Je(c)?[c]:c),$e.call(r,l)?r[l]=Fe.combine(r[l],c):r[l]=c}return r}(e,n):e,o=n.plainObjects?Object.create(null):{},i=Object.keys(r),a=0;a<i.length;++a){var s=i[a],u=nt(s,r[s],n,"string"==typeof e);o=Fe.merge(o,u,n)}return!0===n.allowSparse?o:Fe.compact(o)}(o=o.replace(/^#?\/?/,""))).hasOwnProperty("error"))return r=sn.buildResponse(n.error,n.error_description),n.state&&(r.state=n.state),t(r);if(!n.hasOwnProperty("access_token")&&!n.hasOwnProperty("id_token")&&!n.hasOwnProperty("refresh_token"))return t(null,null);var i=(this.baseOptions.responseType||e.responseType||"").split(" ");return i.length>0&&-1!==i.indexOf("token")&&!n.hasOwnProperty("access_token")?t(sn.buildResponse("invalid_hash","response_type contains `token`, but the parsed hash does not contain an `access_token` property")):i.length>0&&-1!==i.indexOf("id_token")&&!n.hasOwnProperty("id_token")?t(sn.buildResponse("invalid_hash","response_type contains `id_token`, but the parsed hash does not contain an `id_token` property")):this.validateAuthenticationResponse(e,n,t)},cr.prototype.validateAuthenticationResponse=function(e,t,n){var r=this;e.__enableIdPInitiatedLogin=e.__enableIdPInitiatedLogin||e.__enableImpersonation;var o=t.state,i=this.transactionManager.getStoredTransaction(o),a=e.state||i&&i.state||null,s=a===o;if((o||a||!e.__enableIdPInitiatedLogin)&&!s)return n({error:"invalid_token",errorDescription:"`state` does not match."});var u=e.nonce||i&&i.nonce||null,l=i&&i.organization,c=e.state||i&&i.appState||null,f=function(e,o){return e?n(e):(i&&i.lastUsedConnection&&(o&&(a=o.sub),r.ssodataStorage.set(i.lastUsedConnection,a)),n(null,function(e,t,n){return{accessToken:e.access_token||null,idToken:e.id_token||null,idTokenPayload:n||null,appState:t||null,refreshToken:e.refresh_token||null,state:e.state||null,expiresIn:e.expires_in?parseInt(e.expires_in,10):null,tokenType:e.token_type||null,scope:e.scope||null}}(t,c,o)));var a};return t.id_token?this.validateToken(t.id_token,u,(function(e,n){if(!e){if(l){if(!n.org_id)return f(sn.invalidToken("Organization Id (org_id) claim must be a string present in the ID token"));if(n.org_id!==l)return f(sn.invalidToken('Organization Id (org_id) claim value mismatch in the ID token; expected "'+l+'", found "'+n.org_id+'"'))}return t.access_token&&n.at_hash?(new Gn).validateAccessToken(t.access_token,"RS256",n.at_hash,(function(e){return e?f(sn.invalidToken(e.message)):f(null,n)})):f(null,n)}if("invalid_token"!==e.error||e.errorDescription&&e.errorDescription.indexOf("Nonce (nonce) claim value mismatch in the ID token")>-1)return f(e);var o=(new Gn).decode(t.id_token);return"HS256"!==o.header.alg?f(e):(o.payload.nonce||null)!==u?f({error:"invalid_token",errorDescription:'Nonce (nonce) claim value mismatch in the ID token; expected "'+u+'", found "'+o.payload.nonce+'"'}):t.access_token?r.client.userInfo(t.access_token,(function(e,t){return e?f(e):f(null,t)})):f({error:"invalid_token",description:"The id_token cannot be validated because it was signed with the HS256 algorithm and public clients (like a browser) can\u2019t store secrets. Please read the associated doc for possible ways to fix this. Read more: https://auth0.com/docs/errors/libraries/auth0-js/invalid-token#parsing-an-hs256-signed-id-token-without-an-access-token"})})):f(null,null)},cr.prototype.validateToken=function(e,t,n){new Gn({issuer:this.baseOptions.token_issuer,jwksURI:this.baseOptions.jwksURI,audience:this.baseOptions.clientID,leeway:this.baseOptions.leeway||60,maxAge:this.baseOptions.maxAge,__clock:this.baseOptions.__clock||lr}).verify(e,t,(function(e,t){if(e)return n(sn.invalidToken(e.message));n(null,t)}))},cr.prototype.renewAuth=function(e,t){var n=!!e.usePostMessage,r=e.postMessageDataType||!1,o=e.postMessageOrigin||$t.getWindow().origin,i=e.timeout,a=this,s=Qt.merge(this.baseOptions,["clientID","redirectUri","responseType","scope","audience","_csrf","state","_intstate","nonce"]).with(e);s.responseType=s.responseType||"token",s.responseMode=s.responseMode||"fragment",s=this.transactionManager.process(s),Rt.check(s,{type:"object",message:"options parameter is not valid"}),Rt.check(t,{type:"function",message:"cb parameter is not valid"}),s.prompt="none",s=Qt.blacklist(s,["usePostMessage","tenant","postMessageDataType","postMessageOrigin"]),nr.create({authenticationUrl:this.client.buildAuthorizeUrl(s),postMessageDataType:r,postMessageOrigin:o,timeout:i}).login(n,(function(e,n){if("object"==typeof n)return t(e,n);a.parseHash({hash:n},t)}))},cr.prototype.checkSession=function(e,t){var n=Qt.merge(this.baseOptions,["clientID","responseType","redirectUri","scope","audience","_csrf","state","_intstate","nonce"]).with(e);return"code"===n.responseType?t({error:"error",error_description:"responseType can't be `code`"}):(e.nonce||(n=this.transactionManager.process(n)),n.redirectUri?(Rt.check(n,{type:"object",message:"options parameter is not valid"}),Rt.check(t,{type:"function",message:"cb parameter is not valid"}),n=Qt.blacklist(n,["usePostMessage","tenant","postMessageDataType"]),void this.webMessageHandler.run(n,un(t,{forceLegacyError:!0,ignoreCasing:!0}))):t({error:"error",error_description:"redirectUri can't be empty"}))},cr.prototype.changePassword=function(e,t){return this.client.dbConnection.changePassword(e,t)},cr.prototype.passwordlessStart=function(e,t){var n=Qt.merge(this.baseOptions,["responseType","responseMode","redirectUri","scope","audience","_csrf","state","_intstate","nonce"]).with(e.authParams);return e.authParams=this.transactionManager.process(n),this.client.passwordless.start(e,t)},cr.prototype.signup=function(e,t){return this.client.dbConnection.signup(e,t)},cr.prototype.authorize=function(e){var t=Qt.merge(this.baseOptions,["clientID","responseType","responseMode","redirectUri","scope","audience","_csrf","state","_intstate","nonce","organization","invitation"]).with(e);Rt.check(t,{type:"object",message:"options parameter is not valid"},{responseType:{type:"string",message:"responseType option is required"}}),(t=this.transactionManager.process(t)).scope=t.scope||"openid profile email",$t.redirect(this.client.buildAuthorizeUrl(t))},cr.prototype.signupAndAuthorize=function(e,t){var n=this;return this.client.dbConnection.signup(Qt.blacklist(e,["popupHandler"]),(function(r){if(r)return t(r);e.realm=e.connection,e.username||(e.username=e.email),n.client.login(e,t)}))},cr.prototype.login=function(e,t){var n=Qt.merge(this.baseOptions,["clientID","responseType","redirectUri","scope","audience","_csrf","state","_intstate","nonce","onRedirecting","organization","invitation"]).with(e);n=this.transactionManager.process(n),$t.getWindow().location.host===this.baseOptions.domain?(n.connection=n.realm,delete n.realm,this._universalLogin.login(n,t)):this.crossOriginAuthentication.login(n,t)},cr.prototype.passwordlessLogin=function(e,t){var n=Qt.merge(this.baseOptions,["clientID","responseType","redirectUri","scope","audience","_csrf","state","_intstate","nonce","onRedirecting"]).with(e);if(n=this.transactionManager.process(n),$t.getWindow().location.host===this.baseOptions.domain)this.passwordlessVerify(n,t);else{var r=Qt.extend({credentialType:"http://auth0.com/oauth/grant-type/passwordless/otp",realm:n.connection,username:n.email||n.phoneNumber,otp:n.verificationCode},Qt.blacklist(n,["connection","email","phoneNumber","verificationCode"]));this.crossOriginAuthentication.login(r,t)}},cr.prototype.crossOriginAuthenticationCallback=function(){this.crossOriginVerification()},cr.prototype.crossOriginVerification=function(){this.crossOriginAuthentication.callback()},cr.prototype.logout=function(e){$t.redirect(this.client.buildLogoutUrl(e))},cr.prototype.passwordlessVerify=function(e,t){var n=this,r=Qt.merge(this.baseOptions,["clientID","responseType","responseMode","redirectUri","scope","audience","_csrf","state","_intstate","nonce","onRedirecting"]).with(e);return Rt.check(r,{type:"object",message:"options parameter is not valid"},{responseType:{type:"string",message:"responseType option is required"}}),r=this.transactionManager.process(r),this.client.passwordless.verify(r,(function(o){if(o)return t(o);function i(){$t.redirect(n.client.passwordless.buildVerifyUrl(r))}if("function"==typeof e.onRedirecting)return e.onRedirecting((function(){i()}));i()}))},cr.prototype.renderCaptcha=function(e,t,n){return ur(this.client,e,t,n)},fr.prototype.buildVerifyUrl=function(e){var t,n;return Rt.check(e,{type:"object",message:"options parameter is not valid"},{connection:{type:"string",message:"connection option is required"},verificationCode:{type:"string",message:"verificationCode option is required"},phoneNumber:{optional:!1,type:"string",message:"phoneNumber option is required",condition:function(e){return!e.email}},email:{optional:!1,type:"string",message:"email option is required",condition:function(e){return!e.phoneNumber}}}),t=Qt.merge(this.baseOptions,["clientID","responseType","responseMode","redirectUri","scope","audience","_csrf","state","_intstate","protocol","nonce"]).with(e),this.baseOptions._sendTelemetry&&(t.auth0Client=this.request.getTelemetryData()),t=Qt.toSnakeCase(t,["auth0Client"]),n=rt(t),a(this.baseOptions.rootUrl,"passwordless","verify_redirect","?"+n)},fr.prototype.start=function(e,t){var n,r;Rt.check(e,{type:"object",message:"options parameter is not valid"},{connection:{type:"string",message:"connection option is required"},send:{type:"string",message:"send option is required",values:["link","code"],value_message:"send is not valid ([link, code])"},phoneNumber:{optional:!0,type:"string",message:"phoneNumber option is required",condition:function(e){return"code"===e.send||!e.email}},email:{optional:!0,type:"string",message:"email option is required",condition:function(e){return"link"===e.send||!e.phoneNumber}},authParams:{optional:!0,type:"object",message:"authParams option is required"}}),Rt.check(t,{type:"function",message:"cb parameter is not valid"}),n=a(this.baseOptions.rootUrl,"passwordless","start");var o=e.xRequestLanguage;delete e.xRequestLanguage,(r=Qt.merge(this.baseOptions,["clientID","responseType","redirectUri","scope"]).with(e)).scope&&(r.authParams=r.authParams||{},r.authParams.scope=r.authParams.scope||r.scope),r.redirectUri&&(r.authParams=r.authParams||{},r.authParams.redirect_uri=r.authParams.redirectUri||r.redirectUri),r.responseType&&(r.authParams=r.authParams||{},r.authParams.response_type=r.authParams.responseType||r.responseType),delete r.redirectUri,delete r.responseType,delete r.scope,r=Qt.toSnakeCase(r,["auth0Client","authParams"]);var i=o?{xRequestLanguage:o}:void 0;return this.request.post(n,i).send(r).end(un(t))},fr.prototype.verify=function(e,t){var n,r;return Rt.check(e,{type:"object",message:"options parameter is not valid"},{connection:{type:"string",message:"connection option is required"},verificationCode:{type:"string",message:"verificationCode option is required"},phoneNumber:{optional:!1,type:"string",message:"phoneNumber option is required",condition:function(e){return!e.email}},email:{optional:!1,type:"string",message:"email option is required",condition:function(e){return!e.phoneNumber}}}),Rt.check(t,{type:"function",message:"cb parameter is not valid"}),r=Qt.pick(e,["connection","verificationCode","phoneNumber","email","auth0Client","clientID"]),r=Qt.toSnakeCase(r,["auth0Client"]),n=a(this.baseOptions.rootUrl,"passwordless","verify"),this.request.post(n).send(r).end(un(t))},dr.prototype.signup=function(e,t){var n,r,o;return Rt.check(e,{type:"object",message:"options parameter is not valid"},{connection:{type:"string",message:"connection option is required"},email:{type:"string",message:"email option is required"},password:{type:"string",message:"password option is required"}}),Rt.check(t,{type:"function",message:"cb parameter is not valid"}),n=a(this.baseOptions.rootUrl,"dbconnections","signup"),o=(r=Qt.merge(this.baseOptions,["clientID","state"]).with(e)).user_metadata||r.userMetadata,r=Qt.blacklist(r,["scope","userMetadata","user_metadata"]),r=Qt.toSnakeCase(r,["auth0Client"]),o&&(r.user_metadata=o),this.request.post(n).send(r).end(un(t))},dr.prototype.changePassword=function(e,t){var n,r;return Rt.check(e,{type:"object",message:"options parameter is not valid"},{connection:{type:"string",message:"connection option is required"},email:{type:"string",message:"email option is required"}}),Rt.check(t,{type:"function",message:"cb parameter is not valid"}),n=a(this.baseOptions.rootUrl,"dbconnections","change_password"),r=Qt.merge(this.baseOptions,["clientID"]).with(e,["email","connection"]),r=Qt.toSnakeCase(r,["auth0Client"]),this.request.post(n).send(r).end(un(t))},pr.prototype.buildAuthorizeUrl=function(e){var t,n;return Rt.check(e,{type:"object",message:"options parameter is not valid"}),t=Qt.merge(this.baseOptions,["clientID","responseType","responseMode","redirectUri","scope","audience"]).with(e),Rt.check(t,{type:"object",message:"options parameter is not valid"},{clientID:{type:"string",message:"clientID option is required"},redirectUri:{optional:!0,type:"string",message:"redirectUri option is required"},responseType:{type:"string",message:"responseType option is required"},nonce:{type:"string",message:"nonce option is required",condition:function(e){return-1===e.responseType.indexOf("code")&&-1!==e.responseType.indexOf("id_token")}},scope:{optional:!0,type:"string",message:"scope option is required"},audience:{optional:!0,type:"string",message:"audience option is required"}}),this.baseOptions._sendTelemetry&&(t.auth0Client=this.request.getTelemetryData()),t.connection_scope&&Rt.isArray(t.connection_scope)&&(t.connection_scope=t.connection_scope.join(",")),t=Qt.blacklist(t,["username","popupOptions","domain","tenant","timeout","appState"]),t=Qt.toSnakeCase(t,["auth0Client"]),t=dn(this.warn,t),n=rt(t),a(this.baseOptions.rootUrl,"authorize","?"+n)},pr.prototype.buildLogoutUrl=function(e){var t,n;return Rt.check(e,{optional:!0,type:"object",message:"options parameter is not valid"}),t=Qt.merge(this.baseOptions,["clientID"]).with(e||{}),this.baseOptions._sendTelemetry&&(t.auth0Client=this.request.getTelemetryData()),t=Qt.toSnakeCase(t,["auth0Client","returnTo"]),n=rt(Qt.blacklist(t,["federated"])),e&&void 0!==e.federated&&!1!==e.federated&&"false"!==e.federated&&(n+="&federated"),a(this.baseOptions.rootUrl,"v2","logout","?"+n)},pr.prototype.loginWithDefaultDirectory=function(e,t){return Rt.check(e,{type:"object",message:"options parameter is not valid"},{username:{type:"string",message:"username option is required"},password:{type:"string",message:"password option is required"},scope:{optional:!0,type:"string",message:"scope option is required"},audience:{optional:!0,type:"string",message:"audience option is required"}}),e.grantType="password",this.oauthToken(e,t)},pr.prototype.login=function(e,t){return Rt.check(e,{type:"object",message:"options parameter is not valid"},{username:{type:"string",message:"username option is required"},password:{type:"string",message:"password option is required"},realm:{type:"string",message:"realm option is required"},scope:{optional:!0,type:"string",message:"scope option is required"},audience:{optional:!0,type:"string",message:"audience option is required"}}),e.grantType="http://auth0.com/oauth/grant-type/password-realm",this.oauthToken(e,t)},pr.prototype.oauthToken=function(e,t){var n,r;return Rt.check(e,{type:"object",message:"options parameter is not valid"}),Rt.check(t,{type:"function",message:"cb parameter is not valid"}),n=a(this.baseOptions.rootUrl,"oauth","token"),r=Qt.merge(this.baseOptions,["clientID","scope","audience"]).with(e),Rt.check(r,{type:"object",message:"options parameter is not valid"},{clientID:{type:"string",message:"clientID option is required"},grantType:{type:"string",message:"grantType option is required"},scope:{optional:!0,type:"string",message:"scope option is required"},audience:{optional:!0,type:"string",message:"audience option is required"}}),r=Qt.toSnakeCase(r,["auth0Client"]),r=fn(this.warn,r),this.request.post(n).send(r).end(un(t))},pr.prototype.loginWithResourceOwner=function(e,t){var n,r;return Rt.check(e,{type:"object",message:"options parameter is not valid"},{username:{type:"string",message:"username option is required"},password:{type:"string",message:"password option is required"},connection:{type:"string",message:"connection option is required"},scope:{optional:!0,type:"string",message:"scope option is required"}}),Rt.check(t,{type:"function",message:"cb parameter is not valid"}),n=a(this.baseOptions.rootUrl,"oauth","ro"),r=Qt.merge(this.baseOptions,["clientID","scope"]).with(e,["username","password","scope","connection","device"]),(r=Qt.toSnakeCase(r,["auth0Client"])).grant_type=r.grant_type||"password",this.request.post(n).send(r).end(un(t))},pr.prototype.getSSOData=function(e,t){if(this.auth0||(this.auth0=new cr(this.baseOptions)),$t.getWindow().location.host===this.baseOptions.domain)return this.auth0._universalLogin.getSSOData(e,t);"function"==typeof e&&(t=e),Rt.check(t,{type:"function",message:"cb parameter is not valid"});var n=this.baseOptions.clientID,r=this.ssodataStorage.get()||{};this.auth0.checkSession({responseType:"token id_token",scope:"openid profile email",connection:r.lastUsedConnection,timeout:5e3},(function(e,o){return e?"login_required"===e.error?t(null,{sso:!1}):("consent_required"===e.error&&(e.error_description="Consent required. When using `getSSOData`, the user has to be authenticated with the following scope: `openid profile email`."),t(e,{sso:!1})):r.lastUsedSub&&r.lastUsedSub!==o.idTokenPayload.sub?t(e,{sso:!1}):t(null,{lastUsedConnection:{name:r.lastUsedConnection},lastUsedUserID:o.idTokenPayload.sub,lastUsedUsername:o.idTokenPayload.email||o.idTokenPayload.name,lastUsedClientID:n,sessionClients:[n],sso:!0})}))},pr.prototype.userInfo=function(e,t){var n;return Rt.check(e,{type:"string",message:"accessToken parameter is not valid"}),Rt.check(t,{type:"function",message:"cb parameter is not valid"}),n=a(this.baseOptions.rootUrl,"userinfo"),this.request.get(n).set("Authorization","Bearer "+e).end(un(t,{ignoreCasing:!0}))},pr.prototype.getChallenge=function(e){if(Rt.check(e,{type:"function",message:"cb parameter is not valid"}),!this.baseOptions.state)return e();var t=a(this.baseOptions.rootUrl,"usernamepassword","challenge");return this.request.post(t).send({state:this.baseOptions.state}).end(un(e,{ignoreCasing:!0}))},pr.prototype.delegation=function(e,t){var n,r;return Rt.check(e,{type:"object",message:"options parameter is not valid"},{grant_type:{type:"string",message:"grant_type option is required"}}),Rt.check(t,{type:"function",message:"cb parameter is not valid"}),n=a(this.baseOptions.rootUrl,"delegation"),r=Qt.merge(this.baseOptions,["clientID"]).with(e),r=Qt.toSnakeCase(r,["auth0Client"]),this.request.post(n).send(r).end(un(t))},pr.prototype.getUserCountry=function(e){var t;return Rt.check(e,{type:"function",message:"cb parameter is not valid"}),t=a(this.baseOptions.rootUrl,"user","geoloc","country"),this.request.get(t).end(un(e))},hr.prototype.getUser=function(e,t){var n;return Rt.check(e,{type:"string",message:"userId parameter is not valid"}),Rt.check(t,{type:"function",message:"cb parameter is not valid"}),n=a(this.baseOptions.rootUrl,"users",e),this.request.get(n).end(un(t,{ignoreCasing:!0}))},hr.prototype.patchUserMetadata=function(e,t,n){var r;return Rt.check(e,{type:"string",message:"userId parameter is not valid"}),Rt.check(t,{type:"object",message:"userMetadata parameter is not valid"}),Rt.check(n,{type:"function",message:"cb parameter is not valid"}),r=a(this.baseOptions.rootUrl,"users",e),this.request.patch(r).send({user_metadata:t}).end(un(n,{ignoreCasing:!0}))},hr.prototype.patchUserAttributes=function(e,t,n){var r;return Rt.check(e,{type:"string",message:"userId parameter is not valid"}),Rt.check(t,{type:"object",message:"user parameter is not valid"}),Rt.check(n,{type:"function",message:"cb parameter is not valid"}),r=a(this.baseOptions.rootUrl,"users",e),this.request.patch(r).send(t).end(un(n,{ignoreCasing:!0}))},hr.prototype.linkUser=function(e,t,n){var r;return Rt.check(e,{type:"string",message:"userId parameter is not valid"}),Rt.check(t,{type:"string",message:"secondaryUserToken parameter is not valid"}),Rt.check(n,{type:"function",message:"cb parameter is not valid"}),r=a(this.baseOptions.rootUrl,"users",e,"identities"),this.request.post(r).send({link_with:t}).end(un(n,{ignoreCasing:!0}))};var gr={Authentication:pr,Management:hr,WebAuth:cr,version:Lt};t.default=gr}.call(this,n(59),n(124))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;for(var n in t)"undefined"===typeof e[n]&&(e[n]=t[n]);return e},e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";t.__esModule=!0;var r=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},o=a(n(0)),i=a(n(91));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,e.call(this,n));return r.state={},r}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.hasFocus=function(){return this.state.focused},t.prototype.render=function(){var e=this.props,t=e.lockId,n=e.iconUrl,a=e.invalidHint,s=e.isValid,u=e.name,l=e.ariaLabel,c=(e.onChange,e.value),f=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["lockId","iconUrl","invalidHint","isValid","name","ariaLabel","onChange","value"]),d=this.props.icon,p=this.state.focused;return!d&&"string"===typeof n&&n&&(d=o.default.createElement("img",{className:"auth0-lock-custom-icon",alt:l||u,src:n})),o.default.createElement(i.default,{focused:p,invalidHint:a,isValid:s,name:u,icon:d},o.default.createElement("input",r({id:t+"-"+u,ref:"input",type:"text",name:u,className:"auth0-lock-input",autoComplete:"off",autoCapitalize:"off",onChange:this.handleOnChange.bind(this),onFocus:this.handleFocus.bind(this),onBlur:this.handleBlur.bind(this),value:c,"aria-label":l||u,"aria-invalid":!s,"aria-describedby":!s&&a?"auth0-lock-error-msg-"+u:void 0},f)))},t.prototype.handleOnChange=function(e){this.props.onChange&&this.props.onChange(e)},t.prototype.handleFocus=function(){this.setState({focused:!0})},t.prototype.handleBlur=function(){this.setState({focused:!1})},t}(o.default.Component);t.default=s},function(e,t,n){var r=n(551).charsets,o=r.upperCase,i=r.lowerCase,a=r.numbers,s=r.specialCharacters,u={none:{length:{minLength:1}},low:{length:{minLength:6}},fair:{length:{minLength:8},contains:{expressions:[i,o,a]}},good:{length:{minLength:8},containsAtLeast:{atLeast:3,expressions:[i,o,a,s]}},excellent:{length:{minLength:10},containsAtLeast:{atLeast:3,expressions:[i,o,a,s]},identicalChars:{max:2}}};e.exports=u},function(e,t,n){"use strict";t.__esModule=!0;var r=i(n(2)),o=i(n(0));function i(e){return e&&e.__esModule?e:{default:e}}var a=function(e){var t=e.label,n=e.onClick,r=e.strategy,i=e.icon,a=e.primaryColor,s=e.foregroundColor,u=a?{backgroundColor:a}:{},l=s?{color:s}:{},c=i?{backgroundImage:"url('"+i+"')"}:{};return o.default.createElement("a",{className:"auth0-lock-social-button auth0-lock-social-big-button","data-provider":r,onClick:n,style:u,type:"button"},o.default.createElement("div",{className:"auth0-lock-social-button-icon",style:c}),o.default.createElement("div",{className:"auth0-lock-social-button-text",style:l},t))};a.propTypes={disabled:r.default.bool.isRequired,label:r.default.string.isRequired,onClick:r.default.func.isRequired,strategy:r.default.string.isRequired,icon:r.default.string,primaryColor:r.default.string,foregroundColor:r.default.string},a.defaultProps={disabled:!1},t.default=a},function(e,t,n){"use strict";e.exports=function(){if("function"!==typeof Symbol||"function"!==typeof Object.getOwnPropertySymbols)return!1;if("symbol"===typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"===typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"===typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"===typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"===typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},function(e,t,n){"use strict";var r=n(248),o=Object.prototype.hasOwnProperty,i=Array.isArray,a=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),s=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)"undefined"!==typeof e[r]&&(n[r]=e[r]);return n};e.exports={arrayToObject:s,assign:function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r)for(var o=t[r],a=o.obj[o.prop],s=Object.keys(a),u=0;u<s.length;++u){var l=s[u],c=a[l];"object"===typeof c&&null!==c&&-1===n.indexOf(c)&&(t.push({obj:a,prop:l}),n.push(c))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(i(n)){for(var r=[],o=0;o<n.length;++o)"undefined"!==typeof n[o]&&r.push(n[o]);t.obj[t.prop]=r}}}(t),e},decode:function(e,t,n){var r=e.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(o){return r}},encode:function(e,t,n,o,i){if(0===e.length)return e;var s=e;if("symbol"===typeof e?s=Symbol.prototype.toString.call(e):"string"!==typeof e&&(s=String(e)),"iso-8859-1"===n)return escape(s).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var u="",l=0;l<s.length;++l){var c=s.charCodeAt(l);45===c||46===c||95===c||126===c||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122||i===r.RFC1738&&(40===c||41===c)?u+=s.charAt(l):c<128?u+=a[c]:c<2048?u+=a[192|c>>6]+a[128|63&c]:c<55296||c>=57344?u+=a[224|c>>12]+a[128|c>>6&63]+a[128|63&c]:(l+=1,c=65536+((1023&c)<<10|1023&s.charCodeAt(l)),u+=a[240|c>>18]+a[128|c>>12&63]+a[128|c>>6&63]+a[128|63&c])}return u},isBuffer:function(e){return!(!e||"object"!==typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(i(e)){for(var n=[],r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)},merge:function e(t,n,r){if(!n)return t;if("object"!==typeof n){if(i(t))t.push(n);else{if(!t||"object"!==typeof t)return[t,n];(r&&(r.plainObjects||r.allowPrototypes)||!o.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!==typeof t)return[t].concat(n);var a=t;return i(t)&&!i(n)&&(a=s(t,r)),i(t)&&i(n)?(n.forEach((function(n,i){if(o.call(t,i)){var a=t[i];a&&"object"===typeof a&&n&&"object"===typeof n?t[i]=e(a,n,r):t.push(n)}else t[i]=n})),t):Object.keys(n).reduce((function(t,i){var a=n[i];return o.call(t,i)?t[i]=e(t[i],a,r):t[i]=a,t}),a)}}},function(e,t,n){"use strict";t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.hasFreeSubscription=function(e){return["free","dev"].indexOf(p(e,["tenant","subscription"]))>-1},t.connection=function(e,t,n){return function(e,t){return e.getIn(["client","strategies"],(0,o.List)()).find(g(t))||(0,o.Map)()}(e,t).get("connections",(0,o.List)()).find(g(n))||(0,o.Map)()},t.initClient=function(e,t){return d(e,(n=t,new i.default.fromJS({id:n.id,tenant:{name:n.tenant,subscription:n.subscription},connections:m(n)})));var n},t.clientConnections=function(e){return p(e,"connections",y)};var o=n(48),i=c(o),a=c(n(337)),s=n(82),u=n(179),l=n(70);function c(e){return e&&e.__esModule?e:{default:e}}var f=(0,s.dataFns)(["client"]),d=f.initNS,p=f.get,h={username:{min:1,max:15}};function g(e){return function(t){return t.get("name")===e}}var y=i.default.fromJS({database:[],enterprise:[],passwordless:[],social:[],unknown:[]});function m(e){for(var t=y.toJS(),n=function(){var n,i,s=e.strategies[o],c="auth0"===(i=s.name)?"database":"email"===i||"sms"===i?"passwordless":u.STRATEGIES[i]?"social":l.STRATEGIES[i]?"enterprise":-1!==["oauth1","oauth2"].indexOf(i)?"social":"unknown",f=s.connections.map((function(e){return function(e,t,n){var o={name:n.name,strategy:t,type:e,displayName:n.display_name};"database"===e&&(o.passwordPolicy=a.default[n.passwordPolicy||"none"],n.password_complexity_options&&n.password_complexity_options.min_length&&(o.passwordPolicy.length.minLength=n.password_complexity_options.min_length),o.allowSignup="boolean"!==typeof n.showSignup||n.showSignup,o.allowForgot="boolean"!==typeof n.showForgot||n.showForgot,o.requireUsername="boolean"===typeof n.requires_username&&n.requires_username,o.validation=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(null==e.username)return null;var t=r({},h,e),n=h.username.min,o=h.username.max;return t.username.min=parseInt(t.username.min,10)||n,t.username.max=parseInt(t.username.max,10)||o,t.username.min>t.username.max&&(t.username.min=n,t.username.max=o),t}(n.validation));if("enterprise"===e){var i=n.domain_aliases||[];n.domain&&i.unshift(n.domain),o.domains=i}return o}(c,s.name,e)}));(n=t[c]).push.apply(n,f)},o=0;o<(e.strategies||[]).length;o++)n();return t}},function(e,t,n){"use strict";t.__esModule=!0,t.img=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){},n=document.createElement("img");return n.addEventListener("load",(function(){t(null,n)})),n.addEventListener("error",(function(e){t(e)})),n.src=e,n}},function(e,t,n){"use strict";t.__esModule=!0,t.debouncedRequestAvatar=void 0,t.requestAvatar=p;var r=n(35),o=n(82),i=u(n(342)),a=u(n(576)),s=u(n(12));function u(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}var l=(0,o.dataFns)(["avatar"]),c=l.tget,f=l.tset,d={};function p(e,t){if(d[t])return g(e,t,d[t].url,d[t].displayName,!0);var n=s.ui.avatarProvider((0,r.read)(r.getEntity,"lock",e)).toJS();(0,r.swap)(r.updateEntity,"lock",e,(function(e){return e=f(e,"syncStatus","loading"),e=f(e,"src",t)}));var o=void 0,a=void 0;n.url(t,(function(n,r){if(n)return y(e,t);i.img(r,(function(n,r){if(n)return y(e,t);o=r.src,void 0!==a&&h(e,t,o,a)}))})),n.displayName(t,(function(n,r){if(n)return y(e);a=r,void 0!==o&&h(e,t,o,a)}))}t.debouncedRequestAvatar=a.debounce(p,300);function h(e,t,n,r){d[t]={url:n,displayName:r},g(e,t,n,r)}function g(e,t,n,o){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];(0,r.swap)(r.updateEntity,"lock",e,(function(e){return(i||c(e,"src")===t)&&(e=f(e,"syncStatus","ok"),e=f(e,"url",n),e=f(e,"src",t),e=f(e,"displayName",o)),e}))}function y(e,t){(0,r.swap)(r.updateEntity,"lock",e,(function(e){return"src"===c(e,"src")?f(e,"syncStatus","error"):e}))}},function(e,t,n){"use strict";t.__esModule=!0;var r=d(n(0)),o=d(n(2)),i=d(n(580)),a=f(n(12)),s=n(35),u=f(n(345)),l=n(26),c=n(581);function f(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function d(e){return e&&e.__esModule?e:{default:e}}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var g=function(e){function t(){return p(this,t),h(this,e.apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.render=function(){var e=this.props,t=e.i18n,n=e.lock,o=e.onReload,f=a.id(n),d=a.captcha(n),p=(0,l.getFieldValue)(n,"captcha"),h=!(0,l.isFieldVisiblyInvalid)(n,"captcha"),g=d.get("provider");if((0,c.isRecaptcha)(g)){var y=function(e){(0,s.swap)(s.updateEntity,"lock",f,u.set,e)};return r.default.createElement(c.ReCAPTCHA,{provider:g,sitekey:d.get("siteKey"),onChange:y,onExpired:function(){y()},hl:a.ui.language(n),isValid:h,value:p})}var m="code"===d.get("type")?t.str("captchaCodeInputPlaceholder"):t.str("captchaMathInputPlaceholder");return r.default.createElement(i.default,{lockId:f,image:d.get("image"),placeholder:m,isValid:h,onChange:function(e){(0,s.swap)(s.updateEntity,"lock",f,u.set,e.target.value)},onReload:o,value:p,invalidHint:t.str("blankErrorHint")||t.str("blankCaptchaErrorHint")})},t}(r.default.Component);t.default=g,g.propTypes={i18n:o.default.object.isRequired,lock:o.default.object.isRequired,error:o.default.bool,onReload:o.default.func.isRequired},g.defaultProps={error:!1}},function(e,t,n){"use strict";t.__esModule=!0,t.set=i,t.reset=function(e,t){return i(e,"",t)},t.getValue=function(e){return(0,r.getFieldValue)(e,"captcha")};var r=n(26);function o(e){return!!e}function i(e,t,n){return e=(0,r.setField)(e,"captcha",t,o),n&&(e=(0,r.setFieldShowInvalid)(e,"captcha",!0)),e}},function(e,t,n){"use strict";t.__esModule=!0;var r=l(n(2)),o=l(n(0)),i=n(111),a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(12)),s=n(49),u=n(77);function l(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(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 d(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 p=function(e){function t(){return c(this,t),f(this,e.apply(this,arguments))}return d(t,e),t.prototype.render=function(){var e=this.props,t=e.lock,n=e.loginLabel,r=e.signUpLink,i=e.signUpLabel,a="login"===(0,s.getScreen)(t);return o.default.createElement("div",{role:"navigation",className:"auth0-lock-tabs-container"},o.default.createElement("ul",{className:"auth0-lock-tabs"},o.default.createElement(h,{label:n,current:a,clickHandler:this.handleLoginClick.bind(this)}),o.default.createElement(h,{label:i,current:!a,clickHandler:this.handleSignUpClick.bind(this),clickWithHrefHandler:this.handleSignUpWithHrefClick.bind(this),href:r})))},t.prototype.handleLoginClick=function(){(0,i.showLoginActivity)(a.id(this.props.lock))},t.prototype.handleSignUpClick=function(){this.props.signUpLink&&(0,u.closeLock)(a.id(this.props.lock),!0),(0,i.showSignUpActivity)(a.id(this.props.lock))},t.prototype.handleSignUpWithHrefClick=function(){(0,u.closeLock)(a.id(this.props.lock),!0)},t}(o.default.Component);t.default=p,p.propTypes={lock:r.default.object.isRequired,loginLabel:r.default.string.isRequired,signUpLabel:r.default.string.isRequired,signUpLink:r.default.string};var h=function(e){function t(){var n,r;c(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=f(this,e.call.apply(e,[this].concat(i))),r.handleClick=function(e){r.props.href?r.props.clickWithHrefHandler():(e.preventDefault(),r.props.clickHandler())},f(r,n)}return d(t,e),t.prototype.render=function(){var e=this.props,t=e.current,n=e.href,r=e.label,i=t?"auth0-lock-tabs-current":"";return o.default.createElement("li",{className:i},t?o.default.createElement("span",null,r):o.default.createElement("a",{href:n||"#",onClick:this.handleClick},r))},t}(o.default.Component)},function(e,t,n){"use strict";t.__esModule=!0;var r,o=n(0),i=(r=o)&&r.__esModule?r:{default:r},a=n(251);t.default=function(e){var t=e.children;return i.default.createElement("div",{className:"auth0-sso-notice-container"},i.default.createElement("span",null,a.IconSvg)," ",i.default.createElement("span",{className:"auth0-sso-notice"},t))}},function(e,t,n){"use strict";t.__esModule=!0;var r=i(n(0)),o=i(n(91));function i(e){return e&&e.__esModule?e:{default:e}}var a=function(){return r.default.createElement("svg",{"aria-hidden":"true",focusable:"false",width:"5px",height:"10px",viewBox:"0 0 5 10",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",className:"auth0-lock-icon-arrow"},r.default.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},r.default.createElement("g",{id:"Lock",transform:"translate(-396.000000, -3521.000000)",fill:"#000000",opacity:"0.539999962"},r.default.createElement("g",{id:"SMS",transform:"translate(153.000000, 3207.000000)"},r.default.createElement("g",{transform:"translate(35.000000, 299.000000)"},r.default.createElement("g",{transform:"translate(210.000000, 20.000000) rotate(-90.000000) translate(-210.000000, -20.000000) translate(198.000000, 8.000000)"},r.default.createElement("path",{id:"Shape",d:"M7,10 L12,15 L17,10 L7,10 Z"})))))))},s=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,e.call(this,n));return r.state={},r}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.render=function(){var e=this.props,t=e.lockId,n=e.iconUrl,i=e.isValid,s=e.label,u=e.ariaLabel,l=e.name,c=e.onClick,f=e.placeholder,d=this.props.icon,p=this.state.focused,h=s||f;h.length>23&&(h=h.substr(0,20)+"..."),!d&&"string"===typeof n&&n&&(d=r.default.createElement("img",{className:"auth0-lock-custom-icon",alt:u||l,src:n}));var g="auth0-lock-input auth0-lock-input-location";return s||(g+=" auth0-lock-input-with-placeholder"),r.default.createElement(o.default,{focused:p,isValid:i,name:"location",icon:d},r.default.createElement("input",{id:t+"-"+l,type:"button",name:l,className:g,value:h,onFocus:this.handleFocus.bind(this),onBlur:this.handleBlur.bind(this),onKeyDown:this.handleKeyDown.bind(this),onClick:c,"aria-label":u||l,"aria-invalid":!i}),r.default.createElement("span",null,r.default.createElement(a,null)))},t.prototype.handleFocus=function(){this.setState({focused:!0})},t.prototype.handleBlur=function(){this.setState({focused:!1})},t.prototype.handleKeyDown=function(e){return"Tab"!==e.key&&e.preventDefault(),"ArrowDown"===e.key?this.props.onClick():e.keyCode>=65&&e.keyCode<=90?this.props.onClick(String.fromCharCode(e.keyCode).toLowerCase()):void 0},t}(r.default.Component);t.default=s},function(e,t,n){"use strict";t.__esModule=!0;var r=u(n(2)),o=u(n(0)),i=u(n(64)),a=n(77),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(12));function u(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(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 f(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 d=function(e){function t(){return l(this,t),c(this,e.call(this,"loading"))}return f(t,e),t.prototype.render=function(){return p},t}(i.default);t.default=d;var p=function(e){function t(){return l(this,t),c(this,e.apply(this,arguments))}return f(t,e),t.prototype.componentDidMount=function(){var e=this.props.model;(0,a.pinLoadingPane)(s.id(e)),setTimeout((function(){return(0,a.unpinLoadingPane)(s.id(e))}),500)},t.prototype.render=function(){return o.default.createElement("div",{className:"auth0-loading-screen"},o.default.createElement("div",{className:"auth0-loading-container"},o.default.createElement("div",{className:"auth0-loading"})))},t}(o.default.Component);p.propTypes={model:r.default.object.isRequired}},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(2)),o=a(n(0)),i=a(n(64));!function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);t.default=e}(n(12));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,e.call(this,"error"))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.render=function(){return u},t}(i.default);t.default=s;var u=function(e){var t=e.i18n;return o.default.createElement("div",{className:"auth0-lock-error-pane"},o.default.createElement("p",null,t.html("unrecoverableError")))};u.propTypes={i18n:r.default.object.isRequired}},function(e,t,n){"use strict";t.__esModule=!0;var r=f(n(0)),o=f(n(64)),i=f(n(255)),a=n(178),s=n(254),u=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(12)),l=n(83),c=n(179);function f(e){return e&&e.__esModule?e:{default:e}}var d=function(e){var t,n=e.i18n,o=e.model,l=n.html("lastLoginInstructions")||null,f=l&&r.default.createElement("p",null,l),d=(0,c.authButtonsTheme)(o),p=(0,s.lastUsedConnection)(o).get("name"),h=d.get(p),g=h&&h.get("primaryColor"),y=h&&h.get("foregroundColor"),m=h&&h.get("icon"),v=(0,s.lastUsedUsername)(o)||c.STRATEGIES[p]||p;return r.default.createElement(i.default,{alternativeLabel:n.str("notYourAccountAction"),alternativeClickHandler:function(){return(0,a.skipQuickAuth)(u.id(o))},buttonLabel:v,buttonClickHandler:function(){window.location.host===u.domain(o)?(0,a.logIn)(u.id(o),(0,s.lastUsedConnection)(o),(0,s.lastUsedUsername)(o)):(0,a.checkSession)(u.id(o),(0,s.lastUsedConnection)(o),(0,s.lastUsedUsername)(o))},header:f,strategy:(t=(0,s.lastUsedConnection)(o).get("strategy")||p,c.STRATEGIES[t]||"google-apps"===t?t:~["adfs","office365","waad"].indexOf(t)?"windows":"auth0"),buttonIcon:m,primaryColor:g,foregroundColor:y})},p=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,e.call(this,"lastLogin"))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.renderAuxiliaryPane=function(e){return(0,l.renderSignedInConfirmation)(e)},t.prototype.render=function(){return d},t}(o.default);t.default=p},function(e,t,n){"use strict";var r=Array.prototype.slice,o=n(353),i=Object.keys,a=i?function(e){return i(e)}:n(622),s=Object.keys;a.shim=function(){Object.keys?function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2)||(Object.keys=function(e){return o(e)?s(r.call(e)):s(e)}):Object.keys=a;return Object.keys||a},e.exports=a},function(e,t,n){"use strict";var r=Object.prototype.toString;e.exports=function(e){var t=r.call(e),n="[object Arguments]"===t;return n||(n="[object Array]"!==t&&null!==e&&"object"===typeof e&&"number"===typeof e.length&&e.length>=0&&"[object Function]"===r.call(e.callee)),n}},function(e,t,n){"use strict";var r=function(e){return e!==e};e.exports=function(e,t){return 0===e&&0===t?1/e===1/t:e===t||!(!r(e)||!r(t))}},function(e,t,n){"use strict";var r=n(354);e.exports=function(){return"function"===typeof Object.is?Object.is:r}},function(e,t,n){"use strict";var r=Object,o=TypeError;e.exports=function(){if(null!=this&&this!==r(this))throw new o("RegExp.prototype.flags getter called on non-object");var e="";return this.global&&(e+="g"),this.ignoreCase&&(e+="i"),this.multiline&&(e+="m"),this.dotAll&&(e+="s"),this.unicode&&(e+="u"),this.sticky&&(e+="y"),e}},function(e,t,n){"use strict";var r=n(356),o=n(152).supportsDescriptors,i=Object.getOwnPropertyDescriptor,a=TypeError;e.exports=function(){if(!o)throw new a("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");if("gim"===/a/gim.flags){var e=i(RegExp.prototype,"flags");if(e&&"function"===typeof e.get&&"boolean"===typeof/a/.dotAll)return e.get}return r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FrameContextConsumer=t.FrameContextProvider=t.FrameContext=void 0;var r,o=n(0),i=(r=o)&&r.__esModule?r:{default:r};var a=void 0,s=void 0;"undefined"!==typeof document&&(a=document),"undefined"!==typeof window&&(s=window);var u=t.FrameContext=i.default.createContext({document:a,window:s}),l=u.Provider,c=u.Consumer;t.FrameContextProvider=l,t.FrameContextConsumer=c},function(e,t,n){"use strict";var r=n(0),o=n(36);t.a=Object(o.a)(r.createElement("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft")},function(e,t,n){"use strict";var r=n(0),o=n(36);t.a=Object(o.a)(r.createElement("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight")},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}},function(e,t,n){var r=n(232),o=n(668),i=n(689),a=n(171),s=n(128),u=n(693),l=n(695),c=n(365),f=l((function(e,t){var n={};if(null==e)return n;var l=!1;t=r(t,(function(t){return t=a(t,e),l||(l=t.length>1),t})),s(e,c(e),n),l&&(n=o(n,7,u));for(var f=t.length;f--;)i(n,t[f]);return n}));e.exports=f},function(e,t,n){var r=n(227),o=n(167),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var a=e[t];i.call(e,t)&&o(a,n)&&(void 0!==n||t in e)||r(e,t,n)}},function(e,t,n){var r=n(218),o=n(259),i=n(219),a=n(308),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,i(e)),e=o(e);return t}:a;e.exports=s},function(e,t,n){var r=n(307),o=n(364),i=n(185);e.exports=function(e){return r(e,i,o)}},function(e,t,n){var r=n(699),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,s=o(i.length-t,0),u=Array(s);++a<s;)u[a]=i[t+a];a=-1;for(var l=Array(t+1);++a<t;)l[a]=i[a];return l[t]=n(u),r(e,this,l)}}},function(e,t,n){var r=n(700),o=n(702)(r);e.exports=o},function(e,t,n){!function(t){"use strict";e.exports=function(){return function(e,t,n,r){var o=e.Velocity;if(o&&o.Utilities){var i=o.Utilities;if(function(e,t){var n=[];return!(!e||!t)&&(i.each([e,t],(function(e,t){var r=[];i.each(t,(function(e,t){for(;t.toString().length<5;)t="0"+t;r.push(t)})),n.push(r.join(""))})),parseFloat(n[0])>parseFloat(n[1]))}({major:1,minor:1,patch:0},o.version)){var a="Velocity UI Pack: You need to update Velocity (velocity.js) to a newer version. Visit http://github.com/julianshapiro/velocity.";throw alert(a),new Error(a)}for(var s in o.RegisterEffect=o.RegisterUI=function(e,t){function n(e,t,n,r){var a,s=0;i.each(e.nodeType?[e]:e,(function(e,t){r&&(n+=e*r),a=t.parentNode;var u=["height","paddingTop","paddingBottom","marginTop","marginBottom"];"border-box"===o.CSS.getPropertyValue(t,"boxSizing").toString().toLowerCase()&&(u=["height"]),i.each(u,(function(e,n){s+=parseFloat(o.CSS.getPropertyValue(t,n))}))})),o.animate(a,{height:("In"===t?"+":"-")+"="+s},{queue:!1,easing:"ease-in-out",duration:n*("In"===t?.6:1)})}return o.Redirects[e]=function(r,a,s,u,l,c,f){var d=s===u-1,p=0;f=f||t.loop,"function"===typeof t.defaultDuration?t.defaultDuration=t.defaultDuration.call(l,l):t.defaultDuration=parseFloat(t.defaultDuration);for(var h=0;h<t.calls.length;h++)"number"===typeof(b=t.calls[h][1])&&(p+=b);var g=p>=1?0:t.calls.length?(1-p)/t.calls.length:1;for(h=0;h<t.calls.length;h++){var y=t.calls[h],m=y[0],v=1e3,b=y[1],M=y[2]||{},w={};if(void 0!==a.duration?v=a.duration:void 0!==t.defaultDuration&&(v=t.defaultDuration),w.duration=v*("number"===typeof b?b:g),w.queue=a.queue||"",w.easing=M.easing||"ease",w.delay=parseFloat(M.delay)||0,w.loop=!t.loop&&M.loop,w._cacheValues=M._cacheValues||!0,0===h){if(w.delay+=parseFloat(a.delay)||0,0===s&&(w.begin=function(){a.begin&&a.begin.call(l,l);var t=e.match(/(In|Out)$/);t&&"In"===t[0]&&void 0!==m.opacity&&i.each(l.nodeType?[l]:l,(function(e,t){o.CSS.setPropertyValue(t,"opacity",0)})),a.animateParentHeight&&t&&n(l,t[0],v+w.delay,a.stagger)}),null!==a.display)if(void 0!==a.display&&"none"!==a.display)w.display=a.display;else if(/In$/.test(e)){var N=o.CSS.Values.getDisplayType(r);w.display="inline"===N?"inline-block":N}a.visibility&&"hidden"!==a.visibility&&(w.visibility=a.visibility)}if(h===t.calls.length-1){var j=function(){void 0!==a.display&&"none"!==a.display||!/Out$/.test(e)||i.each(l.nodeType?[l]:l,(function(e,t){o.CSS.setPropertyValue(t,"display","none")})),a.complete&&a.complete.call(l,l),c&&c.resolver(l||r)};w.complete=function(){if(f&&o.Redirects[e](r,a,s,u,l,c,!0===f||Math.max(0,f-1)),t.reset){for(var n in t.reset)if(t.reset.hasOwnProperty(n)){var i=t.reset[n];void 0!==o.CSS.Hooks.registered[n]||"string"!==typeof i&&"number"!==typeof i||(t.reset[n]=[t.reset[n],t.reset[n]])}var p={duration:0,queue:!1};d&&(p.complete=j),o.animate(r,t.reset,p)}else d&&j()},"hidden"===a.visibility&&(w.visibility=a.visibility)}o.animate(r,m,w)}},o},o.RegisterEffect.packagedEffects={"callout.bounce":{defaultDuration:550,calls:[[{translateY:-30},.25],[{translateY:0},.125],[{translateY:-15},.125],[{translateY:0},.25]]},"callout.shake":{defaultDuration:800,calls:[[{translateX:-11}],[{translateX:11}],[{translateX:-11}],[{translateX:11}],[{translateX:-11}],[{translateX:11}],[{translateX:-11}],[{translateX:0}]]},"callout.flash":{defaultDuration:1100,calls:[[{opacity:[0,"easeInOutQuad",1]}],[{opacity:[1,"easeInOutQuad"]}],[{opacity:[0,"easeInOutQuad"]}],[{opacity:[1,"easeInOutQuad"]}]]},"callout.pulse":{defaultDuration:825,calls:[[{scaleX:1.1,scaleY:1.1},.5,{easing:"easeInExpo"}],[{scaleX:1,scaleY:1},.5]]},"callout.swing":{defaultDuration:950,calls:[[{rotateZ:15}],[{rotateZ:-10}],[{rotateZ:5}],[{rotateZ:-5}],[{rotateZ:0}]]},"callout.tada":{defaultDuration:1e3,calls:[[{scaleX:.9,scaleY:.9,rotateZ:-3},.1],[{scaleX:1.1,scaleY:1.1,rotateZ:3},.1],[{scaleX:1.1,scaleY:1.1,rotateZ:-3},.1],["reverse",.125],["reverse",.125],["reverse",.125],["reverse",.125],["reverse",.125],[{scaleX:1,scaleY:1,rotateZ:0},.2]]},"transition.fadeIn":{defaultDuration:500,calls:[[{opacity:[1,0]}]]},"transition.fadeOut":{defaultDuration:500,calls:[[{opacity:[0,1]}]]},"transition.flipXIn":{defaultDuration:700,calls:[[{opacity:[1,0],transformPerspective:[800,800],rotateY:[0,-55]}]],reset:{transformPerspective:0}},"transition.flipXOut":{defaultDuration:700,calls:[[{opacity:[0,1],transformPerspective:[800,800],rotateY:55}]],reset:{transformPerspective:0,rotateY:0}},"transition.flipYIn":{defaultDuration:800,calls:[[{opacity:[1,0],transformPerspective:[800,800],rotateX:[0,-45]}]],reset:{transformPerspective:0}},"transition.flipYOut":{defaultDuration:800,calls:[[{opacity:[0,1],transformPerspective:[800,800],rotateX:25}]],reset:{transformPerspective:0,rotateX:0}},"transition.flipBounceXIn":{defaultDuration:900,calls:[[{opacity:[.725,0],transformPerspective:[400,400],rotateY:[-10,90]},.5],[{opacity:.8,rotateY:10},.25],[{opacity:1,rotateY:0},.25]],reset:{transformPerspective:0}},"transition.flipBounceXOut":{defaultDuration:800,calls:[[{opacity:[.9,1],transformPerspective:[400,400],rotateY:-10}],[{opacity:0,rotateY:90}]],reset:{transformPerspective:0,rotateY:0}},"transition.flipBounceYIn":{defaultDuration:850,calls:[[{opacity:[.725,0],transformPerspective:[400,400],rotateX:[-10,90]},.5],[{opacity:.8,rotateX:10},.25],[{opacity:1,rotateX:0},.25]],reset:{transformPerspective:0}},"transition.flipBounceYOut":{defaultDuration:800,calls:[[{opacity:[.9,1],transformPerspective:[400,400],rotateX:-15}],[{opacity:0,rotateX:90}]],reset:{transformPerspective:0,rotateX:0}},"transition.swoopIn":{defaultDuration:850,calls:[[{opacity:[1,0],transformOriginX:["100%","50%"],transformOriginY:["100%","100%"],scaleX:[1,0],scaleY:[1,0],translateX:[0,-700],translateZ:0}]],reset:{transformOriginX:"50%",transformOriginY:"50%"}},"transition.swoopOut":{defaultDuration:850,calls:[[{opacity:[0,1],transformOriginX:["50%","100%"],transformOriginY:["100%","100%"],scaleX:0,scaleY:0,translateX:-700,translateZ:0}]],reset:{transformOriginX:"50%",transformOriginY:"50%",scaleX:1,scaleY:1,translateX:0}},"transition.whirlIn":{defaultDuration:850,calls:[[{opacity:[1,0],transformOriginX:["50%","50%"],transformOriginY:["50%","50%"],scaleX:[1,0],scaleY:[1,0],rotateY:[0,160]},1,{easing:"easeInOutSine"}]]},"transition.whirlOut":{defaultDuration:750,calls:[[{opacity:[0,"easeInOutQuint",1],transformOriginX:["50%","50%"],transformOriginY:["50%","50%"],scaleX:0,scaleY:0,rotateY:160},1,{easing:"swing"}]],reset:{scaleX:1,scaleY:1,rotateY:0}},"transition.shrinkIn":{defaultDuration:750,calls:[[{opacity:[1,0],transformOriginX:["50%","50%"],transformOriginY:["50%","50%"],scaleX:[1,1.5],scaleY:[1,1.5],translateZ:0}]]},"transition.shrinkOut":{defaultDuration:600,calls:[[{opacity:[0,1],transformOriginX:["50%","50%"],transformOriginY:["50%","50%"],scaleX:1.3,scaleY:1.3,translateZ:0}]],reset:{scaleX:1,scaleY:1}},"transition.expandIn":{defaultDuration:700,calls:[[{opacity:[1,0],transformOriginX:["50%","50%"],transformOriginY:["50%","50%"],scaleX:[1,.625],scaleY:[1,.625],translateZ:0}]]},"transition.expandOut":{defaultDuration:700,calls:[[{opacity:[0,1],transformOriginX:["50%","50%"],transformOriginY:["50%","50%"],scaleX:.5,scaleY:.5,translateZ:0}]],reset:{scaleX:1,scaleY:1}},"transition.bounceIn":{defaultDuration:800,calls:[[{opacity:[1,0],scaleX:[1.05,.3],scaleY:[1.05,.3]},.35],[{scaleX:.9,scaleY:.9,translateZ:0},.2],[{scaleX:1,scaleY:1},.45]]},"transition.bounceOut":{defaultDuration:800,calls:[[{scaleX:.95,scaleY:.95},.35],[{scaleX:1.1,scaleY:1.1,translateZ:0},.35],[{opacity:[0,1],scaleX:.3,scaleY:.3},.3]],reset:{scaleX:1,scaleY:1}},"transition.bounceUpIn":{defaultDuration:800,calls:[[{opacity:[1,0],translateY:[-30,1e3]},.6,{easing:"easeOutCirc"}],[{translateY:10},.2],[{translateY:0},.2]]},"transition.bounceUpOut":{defaultDuration:1e3,calls:[[{translateY:20},.2],[{opacity:[0,"easeInCirc",1],translateY:-1e3},.8]],reset:{translateY:0}},"transition.bounceDownIn":{defaultDuration:800,calls:[[{opacity:[1,0],translateY:[30,-1e3]},.6,{easing:"easeOutCirc"}],[{translateY:-10},.2],[{translateY:0},.2]]},"transition.bounceDownOut":{defaultDuration:1e3,calls:[[{translateY:-20},.2],[{opacity:[0,"easeInCirc",1],translateY:1e3},.8]],reset:{translateY:0}},"transition.bounceLeftIn":{defaultDuration:750,calls:[[{opacity:[1,0],translateX:[30,-1250]},.6,{easing:"easeOutCirc"}],[{translateX:-10},.2],[{translateX:0},.2]]},"transition.bounceLeftOut":{defaultDuration:750,calls:[[{translateX:30},.2],[{opacity:[0,"easeInCirc",1],translateX:-1250},.8]],reset:{translateX:0}},"transition.bounceRightIn":{defaultDuration:750,calls:[[{opacity:[1,0],translateX:[-30,1250]},.6,{easing:"easeOutCirc"}],[{translateX:10},.2],[{translateX:0},.2]]},"transition.bounceRightOut":{defaultDuration:750,calls:[[{translateX:-30},.2],[{opacity:[0,"easeInCirc",1],translateX:1250},.8]],reset:{translateX:0}},"transition.slideUpIn":{defaultDuration:900,calls:[[{opacity:[1,0],translateY:[0,20],translateZ:0}]]},"transition.slideUpOut":{defaultDuration:900,calls:[[{opacity:[0,1],translateY:-20,translateZ:0}]],reset:{translateY:0}},"transition.slideDownIn":{defaultDuration:900,calls:[[{opacity:[1,0],translateY:[0,-20],translateZ:0}]]},"transition.slideDownOut":{defaultDuration:900,calls:[[{opacity:[0,1],translateY:20,translateZ:0}]],reset:{translateY:0}},"transition.slideLeftIn":{defaultDuration:1e3,calls:[[{opacity:[1,0],translateX:[0,-20],translateZ:0}]]},"transition.slideLeftOut":{defaultDuration:1050,calls:[[{opacity:[0,1],translateX:-20,translateZ:0}]],reset:{translateX:0}},"transition.slideRightIn":{defaultDuration:1e3,calls:[[{opacity:[1,0],translateX:[0,20],translateZ:0}]]},"transition.slideRightOut":{defaultDuration:1050,calls:[[{opacity:[0,1],translateX:20,translateZ:0}]],reset:{translateX:0}},"transition.slideUpBigIn":{defaultDuration:850,calls:[[{opacity:[1,0],translateY:[0,75],translateZ:0}]]},"transition.slideUpBigOut":{defaultDuration:800,calls:[[{opacity:[0,1],translateY:-75,translateZ:0}]],reset:{translateY:0}},"transition.slideDownBigIn":{defaultDuration:850,calls:[[{opacity:[1,0],translateY:[0,-75],translateZ:0}]]},"transition.slideDownBigOut":{defaultDuration:800,calls:[[{opacity:[0,1],translateY:75,translateZ:0}]],reset:{translateY:0}},"transition.slideLeftBigIn":{defaultDuration:800,calls:[[{opacity:[1,0],translateX:[0,-75],translateZ:0}]]},"transition.slideLeftBigOut":{defaultDuration:750,calls:[[{opacity:[0,1],translateX:-75,translateZ:0}]],reset:{translateX:0}},"transition.slideRightBigIn":{defaultDuration:800,calls:[[{opacity:[1,0],translateX:[0,75],translateZ:0}]]},"transition.slideRightBigOut":{defaultDuration:750,calls:[[{opacity:[0,1],translateX:75,translateZ:0}]],reset:{translateX:0}},"transition.perspectiveUpIn":{defaultDuration:800,calls:[[{opacity:[1,0],transformPerspective:[800,800],transformOriginX:[0,0],transformOriginY:["100%","100%"],rotateX:[0,-180]}]],reset:{transformPerspective:0,transformOriginX:"50%",transformOriginY:"50%"}},"transition.perspectiveUpOut":{defaultDuration:850,calls:[[{opacity:[0,1],transformPerspective:[800,800],transformOriginX:[0,0],transformOriginY:["100%","100%"],rotateX:-180}]],reset:{transformPerspective:0,transformOriginX:"50%",transformOriginY:"50%",rotateX:0}},"transition.perspectiveDownIn":{defaultDuration:800,calls:[[{opacity:[1,0],transformPerspective:[800,800],transformOriginX:[0,0],transformOriginY:[0,0],rotateX:[0,180]}]],reset:{transformPerspective:0,transformOriginX:"50%",transformOriginY:"50%"}},"transition.perspectiveDownOut":{defaultDuration:850,calls:[[{opacity:[0,1],transformPerspective:[800,800],transformOriginX:[0,0],transformOriginY:[0,0],rotateX:180}]],reset:{transformPerspective:0,transformOriginX:"50%",transformOriginY:"50%",rotateX:0}},"transition.perspectiveLeftIn":{defaultDuration:950,calls:[[{opacity:[1,0],transformPerspective:[2e3,2e3],transformOriginX:[0,0],transformOriginY:[0,0],rotateY:[0,-180]}]],reset:{transformPerspective:0,transformOriginX:"50%",transformOriginY:"50%"}},"transition.perspectiveLeftOut":{defaultDuration:950,calls:[[{opacity:[0,1],transformPerspective:[2e3,2e3],transformOriginX:[0,0],transformOriginY:[0,0],rotateY:-180}]],reset:{transformPerspective:0,transformOriginX:"50%",transformOriginY:"50%",rotateY:0}},"transition.perspectiveRightIn":{defaultDuration:950,calls:[[{opacity:[1,0],transformPerspective:[2e3,2e3],transformOriginX:["100%","100%"],transformOriginY:[0,0],rotateY:[0,180]}]],reset:{transformPerspective:0,transformOriginX:"50%",transformOriginY:"50%"}},"transition.perspectiveRightOut":{defaultDuration:950,calls:[[{opacity:[0,1],transformPerspective:[2e3,2e3],transformOriginX:["100%","100%"],transformOriginY:[0,0],rotateY:180}]],reset:{transformPerspective:0,transformOriginX:"50%",transformOriginY:"50%",rotateY:0}}},o.RegisterEffect.packagedEffects)o.RegisterEffect.packagedEffects.hasOwnProperty(s)&&o.RegisterEffect(s,o.RegisterEffect.packagedEffects[s]);o.RunSequence=function(e){var t=i.extend(!0,[],e);t.length>1&&(i.each(t.reverse(),(function(e,n){var r=t[e+1];if(r){var a=n.o||n.options,s=r.o||r.options,u=a&&!1===a.sequenceQueue?"begin":"complete",l=s&&s[u],c={};c[u]=function(){var e=r.e||r.elements,t=e.nodeType?[e]:e;l&&l.call(t,t),o(n)},r.o?r.o=i.extend({},s,c):r.options=i.extend({},s,c)}})),t.reverse()),o(t[0])}}else t.console&&console.log("Velocity UI Pack: Velocity must be loaded first. Aborting.")}(window.jQuery||window.Zepto||window,window,window&&window.document)}()}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IndicatorsContainer=t.indicatorsContainerCSS=t.ValueContainer=t.valueContainerCSS=t.SelectContainer=t.containerCSS=void 0;var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(n(0)),o=n(24);function i(e){return(i="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})(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(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)}}function u(e,t){return!t||"object"!==i(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(){return(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}).apply(this,arguments)}t.containerCSS=function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":null,pointerEvents:t?"none":null,position:"relative"}};t.SelectContainer=function(e){var t=e.children,n=e.className,i=e.cx,a=e.getStyles,s=e.innerProps,u=e.isDisabled,l=e.isRtl;return r.default.createElement("div",f({className:i((0,o.css)(a("container",e)),{"--is-disabled":u,"--is-rtl":l},n)},s),t)};t.valueContainerCSS=function(e){var t=e.theme.spacing;return{alignItems:"center",display:"flex",flex:1,flexWrap:"wrap",padding:"".concat(t.baseUnit/2,"px ").concat(2*t.baseUnit,"px"),WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"}};var d=function(e){function t(){return a(this,t),u(this,l(t).apply(this,arguments))}var n,i,f;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}(t,e),n=t,(i=[{key:"render",value:function(){var e=this.props,t=e.children,n=e.className,i=e.cx,a=e.isMulti,s=e.getStyles,u=e.hasValue;return r.default.createElement("div",{className:i((0,o.css)(s("valueContainer",this.props)),{"value-container":!0,"value-container--is-multi":a,"value-container--has-value":u},n)},t)}}])&&s(n.prototype,i),f&&s(n,f),t}(r.Component);t.ValueContainer=d;t.indicatorsContainerCSS=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}};t.IndicatorsContainer=function(e){var t=e.children,n=e.className,i=e.cx,a=e.getStyles;return r.default.createElement("div",{className:i((0,o.css)(a("indicatorsContainer",e)),{indicators:!0},n)},t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.css=void 0;var r,o=(r=n(0))&&r.__esModule?r:{default:r},i=n(24);function a(){return(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}).apply(this,arguments)}t.css=function(e){var t=e.isDisabled,n=e.isFocused,r=e.theme,o=r.colors,i=r.borderRadius,a=r.spacing;return{label:"control",alignItems:"center",backgroundColor:t?o.neutral5:o.neutral0,borderColor:t?o.neutral10:n?o.primary:o.neutral20,borderRadius:i,borderStyle:"solid",borderWidth:1,boxShadow:n?"0 0 0 1px ".concat(o.primary):null,cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:a.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms","&:hover":{borderColor:n?o.primary:o.neutral30}}};var s=function(e){var t=e.children,n=e.cx,r=e.getStyles,s=e.className,u=e.isDisabled,l=e.isFocused,c=e.innerRef,f=e.innerProps,d=e.menuIsOpen;return o.default.createElement("div",a({ref:c,className:n((0,i.css)(r("control",e)),{control:!0,"control--is-disabled":u,"control--is-focused":l,"control--menu-is-open":d},s)},f),t)};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.GroupHeading=t.groupHeadingCSS=t.groupCSS=void 0;var r,o=(r=n(0))&&r.__esModule?r:{default:r},i=n(24);function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){s(e,t,n[t])}))}return e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}t.groupCSS=function(e){var t=e.theme.spacing;return{paddingBottom:2*t.baseUnit,paddingTop:2*t.baseUnit}};t.groupHeadingCSS=function(e){var t=e.theme.spacing;return{label:"group",color:"#999",cursor:"default",display:"block",fontSize:"75%",fontWeight:"500",marginBottom:"0.25em",paddingLeft:3*t.baseUnit,paddingRight:3*t.baseUnit,textTransform:"uppercase"}};t.GroupHeading=function(e){var t=e.className,n=e.cx,r=e.getStyles,s=e.theme,c=(e.selectProps,u(e,["className","cx","getStyles","theme","selectProps"]));return o.default.createElement("div",l({className:n((0,i.css)(r("groupHeading",a({theme:s},c))),{"group-heading":!0},t)},c))};var c=function(e){var t=e.children,n=e.className,r=e.cx,a=e.getStyles,s=e.Heading,u=e.headingProps,c=e.label,f=e.theme,d=e.selectProps;return o.default.createElement("div",{className:r((0,i.css)(a("group",e)),{group:!0},n)},o.default.createElement(s,l({},u,{selectProps:d,theme:f,getStyles:a,cx:r}),c),o.default.createElement("div",null,t))};t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.inputCSS=void 0;var r=a(n(0)),o=n(24),i=a(n(273));function a(e){return e&&e.__esModule?e:{default:e}}function s(){return(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}).apply(this,arguments)}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){l(e,t,n[t])}))}return e}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}t.inputCSS=function(e){var t=e.isDisabled,n=e.theme,r=n.spacing,o=n.colors;return{margin:r.baseUnit/2,paddingBottom:r.baseUnit/2,paddingTop:r.baseUnit/2,visibility:t?"hidden":"visible",color:o.neutral80}};var f=function(e){return{label:"input",background:0,border:0,fontSize:"inherit",opacity:e?0:1,outline:0,padding:0,color:"inherit"}},d=function(e){var t=e.className,n=e.cx,a=e.getStyles,l=e.innerRef,d=e.isHidden,p=e.isDisabled,h=e.theme,g=(e.selectProps,c(e,["className","cx","getStyles","innerRef","isHidden","isDisabled","theme","selectProps"]));return r.default.createElement("div",{className:(0,o.css)(a("input",u({theme:h},g)))},r.default.createElement(i.default,s({className:n(null,{input:!0},t),inputRef:l,inputStyle:f(d),disabled:p},g)))};t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.MultiValueRemove=t.MultiValueLabel=t.MultiValueContainer=t.MultiValueGeneric=t.multiValueRemoveCSS=t.multiValueLabelCSS=t.multiValueCSS=void 0;var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(n(0)),o=n(24),i=n(266);function a(e){return(a="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){u(e,t,n[t])}))}return e}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(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)}}function f(e,t,n){return t&&c(e.prototype,t),n&&c(e,n),e}function d(e,t){return!t||"object"!==a(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function h(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g(e,t)}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}t.multiValueCSS=function(e){var t=e.theme,n=t.spacing,r=t.borderRadius;return{label:"multiValue",backgroundColor:t.colors.neutral10,borderRadius:r/2,display:"flex",margin:n.baseUnit/2,minWidth:0}};t.multiValueLabelCSS=function(e){var t=e.theme,n=t.borderRadius,r=t.colors,o=e.cropWithEllipsis;return{borderRadius:n/2,color:r.neutral80,fontSize:"85%",overflow:"hidden",padding:3,paddingLeft:6,textOverflow:o?"ellipsis":null,whiteSpace:"nowrap"}};t.multiValueRemoveCSS=function(e){var t=e.theme,n=t.spacing,r=t.borderRadius,o=t.colors;return{alignItems:"center",borderRadius:r/2,backgroundColor:e.isFocused&&o.dangerLight,display:"flex",paddingLeft:n.baseUnit,paddingRight:n.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}}};var y=function(e){var t=e.children,n=e.innerProps;return r.default.createElement("div",n,t)};t.MultiValueGeneric=y;var m=y;t.MultiValueContainer=m;var v=y;t.MultiValueLabel=v;var b=function(e){function t(){return l(this,t),d(this,p(t).apply(this,arguments))}return h(t,e),f(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=e.innerProps;return r.default.createElement("div",n,t||r.default.createElement(i.CrossIcon,{size:14}))}}]),t}(r.Component);t.MultiValueRemove=b;var M=function(e){function t(){return l(this,t),d(this,p(t).apply(this,arguments))}return h(t,e),f(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=e.className,i=e.components,a=e.cx,u=e.data,l=e.getStyles,c=e.innerProps,f=e.isDisabled,d=e.removeProps,p=e.selectProps,h=i.Container,g=i.Label,y=i.Remove,m=s({className:a((0,o.css)(l("multiValue",this.props)),{"multi-value":!0,"multi-value--is-disabled":f},n)},c),v={className:a((0,o.css)(l("multiValueLabel",this.props)),{"multi-value__label":!0},n)},b=s({className:a((0,o.css)(l("multiValueRemove",this.props)),{"multi-value__remove":!0},n)},d);return r.default.createElement(h,{data:u,innerProps:m,selectProps:p},r.default.createElement(g,{data:u,innerProps:v,selectProps:p},t),r.default.createElement(y,{data:u,innerProps:b,selectProps:p}))}}]),t}(r.Component);u(M,"defaultProps",{cropWithEllipsis:!0});var w=M;t.default=w},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.optionCSS=void 0;var r,o=(r=n(0))&&r.__esModule?r:{default:r},i=n(24);function a(){return(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}).apply(this,arguments)}t.optionCSS=function(e){var t=e.isDisabled,n=e.isFocused,r=e.isSelected,o=e.theme,i=o.spacing,a=o.colors;return{label:"option",backgroundColor:r?a.primary:n?a.primary25:"transparent",color:t?a.neutral20:r?a.neutral0:"inherit",cursor:"default",display:"block",fontSize:"inherit",padding:"".concat(2*i.baseUnit,"px ").concat(3*i.baseUnit,"px"),width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",":active":{backgroundColor:!t&&(r?a.primary:a.primary50)}}};var s=function(e){var t=e.children,n=e.className,r=e.cx,s=e.getStyles,u=e.isDisabled,l=e.isFocused,c=e.isSelected,f=e.innerRef,d=e.innerProps;return o.default.createElement("div",a({ref:f,className:r((0,i.css)(s("option",e)),{option:!0,"option--is-disabled":u,"option--is-focused":l,"option--is-selected":c},n)},d),t)};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.placeholderCSS=void 0;var r,o=(r=n(0))&&r.__esModule?r:{default:r},i=n(24);function a(){return(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}).apply(this,arguments)}t.placeholderCSS=function(e){var t=e.theme,n=t.spacing;return{label:"placeholder",color:t.colors.neutral50,marginLeft:n.baseUnit/2,marginRight:n.baseUnit/2,position:"absolute",top:"50%",transform:"translateY(-50%)"}};var s=function(e){var t=e.children,n=e.className,r=e.cx,s=e.getStyles,u=e.innerProps;return o.default.createElement("div",a({className:r((0,i.css)(s("placeholder",e)),{placeholder:!0},n)},u),t)};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.css=void 0;var r,o=(r=n(0))&&r.__esModule?r:{default:r},i=n(24);function a(){return(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}).apply(this,arguments)}t.css=function(e){var t=e.isDisabled,n=e.theme,r=n.spacing,o=n.colors;return{label:"singleValue",color:t?o.neutral40:o.neutral80,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2,maxWidth:"calc(100% - ".concat(2*r.baseUnit,"px)"),overflow:"hidden",position:"absolute",textOverflow:"ellipsis",whiteSpace:"nowrap",top:"50%",transform:"translateY(-50%)"}};var s=function(e){var t=e.children,n=e.className,r=e.cx,s=e.getStyles,u=e.isDisabled,l=e.innerProps;return o.default.createElement("div",a({className:r((0,i.css)(s("singleValue",e)),{"single-value":!0,"single-value--is-disabled":u},n)},l),t)};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="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={arraysDiffer:function(e,t){var n=this,r=!1;return e.length!==t.length?r=!0:e.forEach((function(e,o){n.isSame(e,t[o])||(r=!0)}),this),r},objectsDiffer:function(e,t){var n=this,r=!1;return Object.keys(e).length!==Object.keys(t).length?r=!0:Object.keys(e).forEach((function(o){n.isSame(e[o],t[o])||(r=!0)}),this),r},isSame:function(e,t){return("undefined"===typeof e?"undefined":r(e))===("undefined"===typeof t?"undefined":r(t))&&(Array.isArray(e)&&Array.isArray(t)?!this.arraysDiffer(e,t):"function"===typeof e?e.toString()===t.toString():"object"===("undefined"===typeof e?"undefined":r(e))&&null!==e&&null!==t?!this.objectsDiffer(e,t):e===t)},find:function(e,t){for(var n=0,r=e.length;n<r;n+=1){var o=e[n];if(t(o))return o}return null},runRules:function(e,t,n,r){var o={errors:[],failed:[],success:[]};return Object.keys(n).length&&Object.keys(n).forEach((function(i){if(r[i]&&"function"===typeof n[i])throw new Error("Formsy does not allow you to override default validations: "+i);if(!r[i]&&"function"!==typeof n[i])throw new Error("Formsy does not have the validation rule: "+i);if("function"!==typeof n[i])if("function"===typeof n[i])o.success.push(i);else{var a=r[i](t,e,n[i]);"string"===typeof a?(o.errors.push(a),o.failed.push(i)):a?o.success.push(i):o.failed.push(i)}else{var s=n[i](t,e);"string"===typeof s?(o.errors.push(s),o.failed.push(i)):s||o.failed.push(i)}})),o}}},function(e,t,n){"use strict";function r(e){return(r="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})(e)}n.d(t,"a",(function(){return i}));var o=n(295);function i(e,t){return!t||"object"!==r(t)&&"function"!==typeof t?Object(o.a)(e):t}},function(e,t,n){"use strict";var r=n(1),o=n(5),i=n(0),a=(n(162),n(4)),s=n(8),u=n(742),l=n(744),c=n(15),f=n(60),d=n(33),p={vertical:"top",horizontal:"right"},h={vertical:"top",horizontal:"left"},g=i.forwardRef((function(e,t){var n=e.autoFocus,s=void 0===n||n,g=e.children,y=e.classes,m=e.disableAutoFocusItem,v=void 0!==m&&m,b=e.MenuListProps,M=void 0===b?{}:b,w=e.onClose,N=e.onEntering,j=e.open,S=e.PaperProps,I=void 0===S?{}:S,D=e.PopoverClasses,x=e.transitionDuration,E=void 0===x?"auto":x,O=e.TransitionProps,T=(O=void 0===O?{}:O).onEntering,C=Object(o.a)(O,["onEntering"]),k=e.variant,L=void 0===k?"selectedMenu":k,_=Object(o.a)(e,["autoFocus","children","classes","disableAutoFocusItem","MenuListProps","onClose","onEntering","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant"]),A=Object(d.a)(),z=s&&!v&&j,P=i.useRef(null),R=i.useRef(null),U=-1;i.Children.map(g,(function(e,t){i.isValidElement(e)&&(e.props.disabled||("menu"!==L&&e.props.selected||-1===U)&&(U=t))}));var B=i.Children.map(g,(function(e,t){return t===U?i.cloneElement(e,{ref:function(t){R.current=c.findDOMNode(t),Object(f.a)(e.ref,t)}}):e}));return i.createElement(u.a,Object(r.a)({getContentAnchorEl:function(){return R.current},classes:D,onClose:w,TransitionProps:Object(r.a)({onEntering:function(e,t){P.current&&P.current.adjustStyleForScrollbar(e,A),N&&N(e,t),T&&T(e,t)}},C),anchorOrigin:"rtl"===A.direction?p:h,transformOrigin:"rtl"===A.direction?p:h,PaperProps:Object(r.a)({},I,{classes:Object(r.a)({},I.classes,{root:y.paper})}),open:j,ref:t,transitionDuration:E},_),i.createElement(l.a,Object(r.a)({onKeyDown:function(e){"Tab"===e.key&&(e.preventDefault(),w&&w(e,"tabKeyDown"))},actions:P,autoFocus:s&&(-1===U||v),autoFocusItem:z,variant:L},M,{className:Object(a.a)(y.list,M.className)}),B))}));t.a=Object(s.a)({paper:{maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"},list:{outline:0}},{name:"MuiMenu"})(g)},function(e,t,n){"use strict";e.exports=n(516)},function(e,t,n){"use strict";var r=n(616);function o(e){this.message=e}o.prototype=new Error,o.prototype.name="InvalidTokenError",e.exports=function(e,t){if("string"!==typeof e)throw new o("Invalid token specified");var n=!0===(t=t||{}).header?0:1;try{return JSON.parse(r(e.split(".")[n]))}catch(i){throw new o("Invalid token specified: "+i.message)}},e.exports.InvalidTokenError=o},function(e,t,n){"use strict";function r(e){return function(t){var n=t.dispatch,r=t.getState;return function(t){return function(o){return"function"===typeof o?o(n,r,e):t(o)}}}}var o=r();o.withExtraArgument=r,t.a=o},function(e,t,n){"use strict";(function(e){var r=n(0),o=n.n(r),i=n(43),a=n(2),s=n.n(a),u="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof e?e:{};function l(e){var t=[];return{on:function(e){t.push(e)},off:function(e){t=t.filter((function(t){return t!==e}))},get:function(){return e},set:function(n,r){e=n,t.forEach((function(t){return t(e,r)}))}}}var c=o.a.createContext||function(e,t){var n,o,a="__create-react-context-"+function(){var e="__global_unique_id__";return u[e]=(u[e]||0)+1}()+"__",c=function(e){function n(){var t;return(t=e.apply(this,arguments)||this).emitter=l(t.props.value),t}Object(i.a)(n,e);var r=n.prototype;return r.getChildContext=function(){var e;return(e={})[a]=this.emitter,e},r.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,o=e.value;((i=r)===(a=o)?0!==i||1/i===1/a:i!==i&&a!==a)?n=0:(n="function"===typeof t?t(r,o):1073741823,0!==(n|=0)&&this.emitter.set(e.value,n))}var i,a},r.render=function(){return this.props.children},n}(r.Component);c.childContextTypes=((n={})[a]=s.a.object.isRequired,n);var f=function(t){function n(){var e;return(e=t.apply(this,arguments)||this).state={value:e.getValue()},e.onUpdate=function(t,n){0!==((0|e.observedBits)&n)&&e.setState({value:e.getValue()})},e}Object(i.a)(n,t);var r=n.prototype;return r.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=void 0===t||null===t?1073741823:t},r.componentDidMount=function(){this.context[a]&&this.context[a].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=void 0===e||null===e?1073741823:e},r.componentWillUnmount=function(){this.context[a]&&this.context[a].off(this.onUpdate)},r.getValue=function(){return this.context[a]?this.context[a].get():e},r.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(r.Component);return f.contextTypes=((o={})[a]=s.a.object,o),{Provider:c,Consumer:f}};t.a=c}).call(this,n(59))},function(e,t){e.exports=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(352),o=n(623),i=n(624),a=n(626),s=n(627),u=n(629),l=Date.prototype.getTime;function c(e,t,n){var p=n||{};return!!(p.strict?i(e,t):e===t)||(!e||!t||"object"!==typeof e&&"object"!==typeof t?p.strict?i(e,t):e==t:function(e,t,n){var i,p;if(typeof e!==typeof t)return!1;if(f(e)||f(t))return!1;if(e.prototype!==t.prototype)return!1;if(o(e)!==o(t))return!1;var h=a(e),g=a(t);if(h!==g)return!1;if(h||g)return e.source===t.source&&s(e)===s(t);if(u(e)&&u(t))return l.call(e)===l.call(t);var y=d(e),m=d(t);if(y!==m)return!1;if(y||m){if(e.length!==t.length)return!1;for(i=0;i<e.length;i++)if(e[i]!==t[i])return!1;return!0}if(typeof e!==typeof t)return!1;try{var v=r(e),b=r(t)}catch(M){return!1}if(v.length!==b.length)return!1;for(v.sort(),b.sort(),i=v.length-1;i>=0;i--)if(v[i]!=b[i])return!1;for(i=v.length-1;i>=0;i--)if(p=v[i],!c(e[p],t[p],n))return!1;return!0}(e,t,p))}function f(e){return null===e||void 0===e}function d(e){return!(!e||"object"!==typeof e||"number"!==typeof e.length)&&("function"===typeof e.copy&&"function"===typeof e.slice&&!(e.length>0&&"number"!==typeof e[0]))}e.exports=c},function(e,t,n){"use strict";function r(e){return getComputedStyle(e)}function o(e,t){for(var n in t){var r=t[n];"number"===typeof r&&(r+="px"),e.style[n]=r}return e}function i(e){var t=document.createElement("div");return t.className=e,t}var a="undefined"!==typeof Element&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector);function s(e,t){if(!a)throw new Error("No element matching method supported");return a.call(e,t)}function u(e){e.remove?e.remove():e.parentNode&&e.parentNode.removeChild(e)}function l(e,t){return Array.prototype.filter.call(e.children,(function(e){return s(e,t)}))}var c="ps",f="ps__rtl",d={thumb:function(e){return"ps__thumb-"+e},rail:function(e){return"ps__rail-"+e},consuming:"ps__child--consume"},p={focus:"ps--focus",clicking:"ps--clicking",active:function(e){return"ps--active-"+e},scrolling:function(e){return"ps--scrolling-"+e}},h={x:null,y:null};function g(e,t){var n=e.element.classList,r=p.scrolling(t);n.contains(r)?clearTimeout(h[t]):n.add(r)}function y(e,t){h[t]=setTimeout((function(){return e.isAlive&&e.element.classList.remove(p.scrolling(t))}),e.settings.scrollingThreshold)}var m=function(e){this.element=e,this.handlers={}},v={isEmpty:{configurable:!0}};m.prototype.bind=function(e,t){"undefined"===typeof this.handlers[e]&&(this.handlers[e]=[]),this.handlers[e].push(t),this.element.addEventListener(e,t,!1)},m.prototype.unbind=function(e,t){var n=this;this.handlers[e]=this.handlers[e].filter((function(r){return!(!t||r===t)||(n.element.removeEventListener(e,r,!1),!1)}))},m.prototype.unbindAll=function(){for(var e in this.handlers)this.unbind(e)},v.isEmpty.get=function(){var e=this;return Object.keys(this.handlers).every((function(t){return 0===e.handlers[t].length}))},Object.defineProperties(m.prototype,v);var b=function(){this.eventElements=[]};function M(e){if("function"===typeof window.CustomEvent)return new CustomEvent(e);var t=document.createEvent("CustomEvent");return t.initCustomEvent(e,!1,!1,void 0),t}function w(e,t,n,r,o){var i;if(void 0===r&&(r=!0),void 0===o&&(o=!1),"top"===t)i=["contentHeight","containerHeight","scrollTop","y","up","down"];else{if("left"!==t)throw new Error("A proper axis should be provided");i=["contentWidth","containerWidth","scrollLeft","x","left","right"]}!function(e,t,n,r,o){var i=n[0],a=n[1],s=n[2],u=n[3],l=n[4],c=n[5];void 0===r&&(r=!0);void 0===o&&(o=!1);var f=e.element;e.reach[u]=null,f[s]<1&&(e.reach[u]="start");f[s]>e[i]-e[a]-1&&(e.reach[u]="end");t&&(f.dispatchEvent(M("ps-scroll-"+u)),t<0?f.dispatchEvent(M("ps-scroll-"+l)):t>0&&f.dispatchEvent(M("ps-scroll-"+c)),r&&function(e,t){g(e,t),y(e,t)}(e,u));e.reach[u]&&(t||o)&&f.dispatchEvent(M("ps-"+u+"-reach-"+e.reach[u]))}(e,n,i,r,o)}function N(e){return parseInt(e,10)||0}b.prototype.eventElement=function(e){var t=this.eventElements.filter((function(t){return t.element===e}))[0];return t||(t=new m(e),this.eventElements.push(t)),t},b.prototype.bind=function(e,t,n){this.eventElement(e).bind(t,n)},b.prototype.unbind=function(e,t,n){var r=this.eventElement(e);r.unbind(t,n),r.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(r),1)},b.prototype.unbindAll=function(){this.eventElements.forEach((function(e){return e.unbindAll()})),this.eventElements=[]},b.prototype.once=function(e,t,n){var r=this.eventElement(e);r.bind(t,(function e(o){r.unbind(t,e),n(o)}))};var j={isWebKit:"undefined"!==typeof document&&"WebkitAppearance"in document.documentElement.style,supportsTouch:"undefined"!==typeof window&&("ontouchstart"in window||"maxTouchPoints"in window.navigator&&window.navigator.maxTouchPoints>0||window.DocumentTouch&&document instanceof window.DocumentTouch),supportsIePointer:"undefined"!==typeof navigator&&navigator.msMaxTouchPoints,isChrome:"undefined"!==typeof navigator&&/Chrome/i.test(navigator&&navigator.userAgent)};function S(e){var t=e.element,n=Math.floor(t.scrollTop),r=t.getBoundingClientRect();e.containerWidth=Math.round(r.width),e.containerHeight=Math.round(r.height),e.contentWidth=t.scrollWidth,e.contentHeight=t.scrollHeight,t.contains(e.scrollbarXRail)||(l(t,d.rail("x")).forEach((function(e){return u(e)})),t.appendChild(e.scrollbarXRail)),t.contains(e.scrollbarYRail)||(l(t,d.rail("y")).forEach((function(e){return u(e)})),t.appendChild(e.scrollbarYRail)),!e.settings.suppressScrollX&&e.containerWidth+e.settings.scrollXMarginOffset<e.contentWidth?(e.scrollbarXActive=!0,e.railXWidth=e.containerWidth-e.railXMarginWidth,e.railXRatio=e.containerWidth/e.railXWidth,e.scrollbarXWidth=I(e,N(e.railXWidth*e.containerWidth/e.contentWidth)),e.scrollbarXLeft=N((e.negativeScrollAdjustment+t.scrollLeft)*(e.railXWidth-e.scrollbarXWidth)/(e.contentWidth-e.containerWidth))):e.scrollbarXActive=!1,!e.settings.suppressScrollY&&e.containerHeight+e.settings.scrollYMarginOffset<e.contentHeight?(e.scrollbarYActive=!0,e.railYHeight=e.containerHeight-e.railYMarginHeight,e.railYRatio=e.containerHeight/e.railYHeight,e.scrollbarYHeight=I(e,N(e.railYHeight*e.containerHeight/e.contentHeight)),e.scrollbarYTop=N(n*(e.railYHeight-e.scrollbarYHeight)/(e.contentHeight-e.containerHeight))):e.scrollbarYActive=!1,e.scrollbarXLeft>=e.railXWidth-e.scrollbarXWidth&&(e.scrollbarXLeft=e.railXWidth-e.scrollbarXWidth),e.scrollbarYTop>=e.railYHeight-e.scrollbarYHeight&&(e.scrollbarYTop=e.railYHeight-e.scrollbarYHeight),function(e,t){var n={width:t.railXWidth},r=Math.floor(e.scrollTop);t.isRtl?n.left=t.negativeScrollAdjustment+e.scrollLeft+t.containerWidth-t.contentWidth:n.left=e.scrollLeft;t.isScrollbarXUsingBottom?n.bottom=t.scrollbarXBottom-r:n.top=t.scrollbarXTop+r;o(t.scrollbarXRail,n);var i={top:r,height:t.railYHeight};t.isScrollbarYUsingRight?t.isRtl?i.right=t.contentWidth-(t.negativeScrollAdjustment+e.scrollLeft)-t.scrollbarYRight-t.scrollbarYOuterWidth-9:i.right=t.scrollbarYRight-e.scrollLeft:t.isRtl?i.left=t.negativeScrollAdjustment+e.scrollLeft+2*t.containerWidth-t.contentWidth-t.scrollbarYLeft-t.scrollbarYOuterWidth:i.left=t.scrollbarYLeft+e.scrollLeft;o(t.scrollbarYRail,i),o(t.scrollbarX,{left:t.scrollbarXLeft,width:t.scrollbarXWidth-t.railBorderXWidth}),o(t.scrollbarY,{top:t.scrollbarYTop,height:t.scrollbarYHeight-t.railBorderYWidth})}(t,e),e.scrollbarXActive?t.classList.add(p.active("x")):(t.classList.remove(p.active("x")),e.scrollbarXWidth=0,e.scrollbarXLeft=0,t.scrollLeft=!0===e.isRtl?e.contentWidth:0),e.scrollbarYActive?t.classList.add(p.active("y")):(t.classList.remove(p.active("y")),e.scrollbarYHeight=0,e.scrollbarYTop=0,t.scrollTop=0)}function I(e,t){return e.settings.minScrollbarLength&&(t=Math.max(t,e.settings.minScrollbarLength)),e.settings.maxScrollbarLength&&(t=Math.min(t,e.settings.maxScrollbarLength)),t}function D(e,t){var n=t[0],r=t[1],o=t[2],i=t[3],a=t[4],s=t[5],u=t[6],l=t[7],c=t[8],f=e.element,d=null,h=null,m=null;function v(t){t.touches&&t.touches[0]&&(t[o]=t.touches[0].pageY),f[u]=d+m*(t[o]-h),g(e,l),S(e),t.stopPropagation(),t.type.startsWith("touch")&&t.changedTouches.length>1&&t.preventDefault()}function b(){y(e,l),e[c].classList.remove(p.clicking),e.event.unbind(e.ownerDocument,"mousemove",v)}function M(t,a){d=f[u],a&&t.touches&&(t[o]=t.touches[0].pageY),h=t[o],m=(e[r]-e[n])/(e[i]-e[s]),a?e.event.bind(e.ownerDocument,"touchmove",v):(e.event.bind(e.ownerDocument,"mousemove",v),e.event.once(e.ownerDocument,"mouseup",b),t.preventDefault()),e[c].classList.add(p.clicking),t.stopPropagation()}e.event.bind(e[a],"mousedown",(function(e){M(e)})),e.event.bind(e[a],"touchstart",(function(e){M(e,!0)}))}var x={"click-rail":function(e){e.element,e.event.bind(e.scrollbarY,"mousedown",(function(e){return e.stopPropagation()})),e.event.bind(e.scrollbarYRail,"mousedown",(function(t){var n=t.pageY-window.pageYOffset-e.scrollbarYRail.getBoundingClientRect().top>e.scrollbarYTop?1:-1;e.element.scrollTop+=n*e.containerHeight,S(e),t.stopPropagation()})),e.event.bind(e.scrollbarX,"mousedown",(function(e){return e.stopPropagation()})),e.event.bind(e.scrollbarXRail,"mousedown",(function(t){var n=t.pageX-window.pageXOffset-e.scrollbarXRail.getBoundingClientRect().left>e.scrollbarXLeft?1:-1;e.element.scrollLeft+=n*e.containerWidth,S(e),t.stopPropagation()}))},"drag-thumb":function(e){D(e,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"]),D(e,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y","scrollbarYRail"])},keyboard:function(e){var t=e.element;e.event.bind(e.ownerDocument,"keydown",(function(n){if(!(n.isDefaultPrevented&&n.isDefaultPrevented()||n.defaultPrevented)&&(s(t,":hover")||s(e.scrollbarX,":focus")||s(e.scrollbarY,":focus"))){var r,o=document.activeElement?document.activeElement:e.ownerDocument.activeElement;if(o){if("IFRAME"===o.tagName)o=o.contentDocument.activeElement;else for(;o.shadowRoot;)o=o.shadowRoot.activeElement;if(s(r=o,"input,[contenteditable]")||s(r,"select,[contenteditable]")||s(r,"textarea,[contenteditable]")||s(r,"button,[contenteditable]"))return}var i=0,a=0;switch(n.which){case 37:i=n.metaKey?-e.contentWidth:n.altKey?-e.containerWidth:-30;break;case 38:a=n.metaKey?e.contentHeight:n.altKey?e.containerHeight:30;break;case 39:i=n.metaKey?e.contentWidth:n.altKey?e.containerWidth:30;break;case 40:a=n.metaKey?-e.contentHeight:n.altKey?-e.containerHeight:-30;break;case 32:a=n.shiftKey?e.containerHeight:-e.containerHeight;break;case 33:a=e.containerHeight;break;case 34:a=-e.containerHeight;break;case 36:a=e.contentHeight;break;case 35:a=-e.contentHeight;break;default:return}e.settings.suppressScrollX&&0!==i||e.settings.suppressScrollY&&0!==a||(t.scrollTop-=a,t.scrollLeft+=i,S(e),function(n,r){var o=Math.floor(t.scrollTop);if(0===n){if(!e.scrollbarYActive)return!1;if(0===o&&r>0||o>=e.contentHeight-e.containerHeight&&r<0)return!e.settings.wheelPropagation}var i=t.scrollLeft;if(0===r){if(!e.scrollbarXActive)return!1;if(0===i&&n<0||i>=e.contentWidth-e.containerWidth&&n>0)return!e.settings.wheelPropagation}return!0}(i,a)&&n.preventDefault())}}))},wheel:function(e){var t=e.element;function n(n){var o=function(e){var t=e.deltaX,n=-1*e.deltaY;return"undefined"!==typeof t&&"undefined"!==typeof n||(t=-1*e.wheelDeltaX/6,n=e.wheelDeltaY/6),e.deltaMode&&1===e.deltaMode&&(t*=10,n*=10),t!==t&&n!==n&&(t=0,n=e.wheelDelta),e.shiftKey?[-n,-t]:[t,n]}(n),i=o[0],a=o[1];if(!function(e,n,o){if(!j.isWebKit&&t.querySelector("select:focus"))return!0;if(!t.contains(e))return!1;for(var i=e;i&&i!==t;){if(i.classList.contains(d.consuming))return!0;var a=r(i);if(o&&a.overflowY.match(/(scroll|auto)/)){var s=i.scrollHeight-i.clientHeight;if(s>0&&(i.scrollTop>0&&o<0||i.scrollTop<s&&o>0))return!0}if(n&&a.overflowX.match(/(scroll|auto)/)){var u=i.scrollWidth-i.clientWidth;if(u>0&&(i.scrollLeft>0&&n<0||i.scrollLeft<u&&n>0))return!0}i=i.parentNode}return!1}(n.target,i,a)){var s=!1;e.settings.useBothWheelAxes?e.scrollbarYActive&&!e.scrollbarXActive?(a?t.scrollTop-=a*e.settings.wheelSpeed:t.scrollTop+=i*e.settings.wheelSpeed,s=!0):e.scrollbarXActive&&!e.scrollbarYActive&&(i?t.scrollLeft+=i*e.settings.wheelSpeed:t.scrollLeft-=a*e.settings.wheelSpeed,s=!0):(t.scrollTop-=a*e.settings.wheelSpeed,t.scrollLeft+=i*e.settings.wheelSpeed),S(e),(s=s||function(n,r){var o=Math.floor(t.scrollTop),i=0===t.scrollTop,a=o+t.offsetHeight===t.scrollHeight,s=0===t.scrollLeft,u=t.scrollLeft+t.offsetWidth===t.scrollWidth;return!(Math.abs(r)>Math.abs(n)?i||a:s||u)||!e.settings.wheelPropagation}(i,a))&&!n.ctrlKey&&(n.stopPropagation(),n.preventDefault())}}"undefined"!==typeof window.onwheel?e.event.bind(t,"wheel",n):"undefined"!==typeof window.onmousewheel&&e.event.bind(t,"mousewheel",n)},touch:function(e){if(j.supportsTouch||j.supportsIePointer){var t=e.element,n={},o=0,i={},a=null;j.supportsTouch?(e.event.bind(t,"touchstart",c),e.event.bind(t,"touchmove",f),e.event.bind(t,"touchend",p)):j.supportsIePointer&&(window.PointerEvent?(e.event.bind(t,"pointerdown",c),e.event.bind(t,"pointermove",f),e.event.bind(t,"pointerup",p)):window.MSPointerEvent&&(e.event.bind(t,"MSPointerDown",c),e.event.bind(t,"MSPointerMove",f),e.event.bind(t,"MSPointerUp",p)))}function s(n,r){t.scrollTop-=r,t.scrollLeft-=n,S(e)}function u(e){return e.targetTouches?e.targetTouches[0]:e}function l(e){return(!e.pointerType||"pen"!==e.pointerType||0!==e.buttons)&&(!(!e.targetTouches||1!==e.targetTouches.length)||!(!e.pointerType||"mouse"===e.pointerType||e.pointerType===e.MSPOINTER_TYPE_MOUSE))}function c(e){if(l(e)){var t=u(e);n.pageX=t.pageX,n.pageY=t.pageY,o=(new Date).getTime(),null!==a&&clearInterval(a)}}function f(a){if(l(a)){var c=u(a),f={pageX:c.pageX,pageY:c.pageY},p=f.pageX-n.pageX,h=f.pageY-n.pageY;if(function(e,n,o){if(!t.contains(e))return!1;for(var i=e;i&&i!==t;){if(i.classList.contains(d.consuming))return!0;var a=r(i);if(o&&a.overflowY.match(/(scroll|auto)/)){var s=i.scrollHeight-i.clientHeight;if(s>0&&(i.scrollTop>0&&o<0||i.scrollTop<s&&o>0))return!0}if(n&&a.overflowX.match(/(scroll|auto)/)){var u=i.scrollWidth-i.clientWidth;if(u>0&&(i.scrollLeft>0&&n<0||i.scrollLeft<u&&n>0))return!0}i=i.parentNode}return!1}(a.target,p,h))return;s(p,h),n=f;var g=(new Date).getTime(),y=g-o;y>0&&(i.x=p/y,i.y=h/y,o=g),function(n,r){var o=Math.floor(t.scrollTop),i=t.scrollLeft,a=Math.abs(n),s=Math.abs(r);if(s>a){if(r<0&&o===e.contentHeight-e.containerHeight||r>0&&0===o)return 0===window.scrollY&&r>0&&j.isChrome}else if(a>s&&(n<0&&i===e.contentWidth-e.containerWidth||n>0&&0===i))return!0;return!0}(p,h)&&a.preventDefault()}}function p(){e.settings.swipeEasing&&(clearInterval(a),a=setInterval((function(){e.isInitialized?clearInterval(a):i.x||i.y?Math.abs(i.x)<.01&&Math.abs(i.y)<.01?clearInterval(a):e.element?(s(30*i.x,30*i.y),i.x*=.8,i.y*=.8):clearInterval(a):clearInterval(a)}),10))}}},E=function(e,t){var n=this;if(void 0===t&&(t={}),"string"===typeof e&&(e=document.querySelector(e)),!e||!e.nodeName)throw new Error("no element is specified to initialize PerfectScrollbar");for(var a in this.element=e,e.classList.add(c),this.settings={handlers:["click-rail","drag-thumb","keyboard","wheel","touch"],maxScrollbarLength:null,minScrollbarLength:null,scrollingThreshold:1e3,scrollXMarginOffset:0,scrollYMarginOffset:0,suppressScrollX:!1,suppressScrollY:!1,swipeEasing:!0,useBothWheelAxes:!1,wheelPropagation:!0,wheelSpeed:1},t)this.settings[a]=t[a];this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null;var s=function(){return e.classList.add(p.focus)},u=function(){return e.classList.remove(p.focus)};this.isRtl="rtl"===r(e).direction,!0===this.isRtl&&e.classList.add(f),this.isNegativeScroll=function(){var t,n=e.scrollLeft;return e.scrollLeft=-1,t=e.scrollLeft<0,e.scrollLeft=n,t}(),this.negativeScrollAdjustment=this.isNegativeScroll?e.scrollWidth-e.clientWidth:0,this.event=new b,this.ownerDocument=e.ownerDocument||document,this.scrollbarXRail=i(d.rail("x")),e.appendChild(this.scrollbarXRail),this.scrollbarX=i(d.thumb("x")),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",s),this.event.bind(this.scrollbarX,"blur",u),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var l=r(this.scrollbarXRail);this.scrollbarXBottom=parseInt(l.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=N(l.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=N(l.borderLeftWidth)+N(l.borderRightWidth),o(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=N(l.marginLeft)+N(l.marginRight),o(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=i(d.rail("y")),e.appendChild(this.scrollbarYRail),this.scrollbarY=i(d.thumb("y")),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",s),this.event.bind(this.scrollbarY,"blur",u),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null;var h=r(this.scrollbarYRail);this.scrollbarYRight=parseInt(h.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=N(h.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?function(e){var t=r(e);return N(t.width)+N(t.paddingLeft)+N(t.paddingRight)+N(t.borderLeftWidth)+N(t.borderRightWidth)}(this.scrollbarY):null,this.railBorderYWidth=N(h.borderTopWidth)+N(h.borderBottomWidth),o(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=N(h.marginTop)+N(h.marginBottom),o(this.scrollbarYRail,{display:""}),this.railYHeight=null,this.railYRatio=null,this.reach={x:e.scrollLeft<=0?"start":e.scrollLeft>=this.contentWidth-this.containerWidth?"end":null,y:e.scrollTop<=0?"start":e.scrollTop>=this.contentHeight-this.containerHeight?"end":null},this.isAlive=!0,this.settings.handlers.forEach((function(e){return x[e](n)})),this.lastScrollTop=Math.floor(e.scrollTop),this.lastScrollLeft=e.scrollLeft,this.event.bind(this.element,"scroll",(function(e){return n.onScroll(e)})),S(this)};E.prototype.update=function(){this.isAlive&&(this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0,o(this.scrollbarXRail,{display:"block"}),o(this.scrollbarYRail,{display:"block"}),this.railXMarginWidth=N(r(this.scrollbarXRail).marginLeft)+N(r(this.scrollbarXRail).marginRight),this.railYMarginHeight=N(r(this.scrollbarYRail).marginTop)+N(r(this.scrollbarYRail).marginBottom),o(this.scrollbarXRail,{display:"none"}),o(this.scrollbarYRail,{display:"none"}),S(this),w(this,"top",0,!1,!0),w(this,"left",0,!1,!0),o(this.scrollbarXRail,{display:""}),o(this.scrollbarYRail,{display:""}))},E.prototype.onScroll=function(e){this.isAlive&&(S(this),w(this,"top",this.element.scrollTop-this.lastScrollTop),w(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=Math.floor(this.element.scrollTop),this.lastScrollLeft=this.element.scrollLeft)},E.prototype.destroy=function(){this.isAlive&&(this.event.unbindAll(),u(this.scrollbarX),u(this.scrollbarY),u(this.scrollbarXRail),u(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)},E.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter((function(e){return!e.match(/^ps([-_].+|)$/)})).join(" ")},t.a=E},function(e,t,n){(e.exports?function(t){e.exports=t()}:n(631))((function(){"use strict";var e,t={mobileDetectRules:{phones:{iPhone:"\\biPhone\\b|\\biPod\\b",BlackBerry:"BlackBerry|\\bBB10\\b|rim[0-9]+|\\b(BBA100|BBB100|BBD100|BBE100|BBF100|STH100)\\b-[0-9]+",Pixel:"; \\bPixel\\b",HTC:"HTC|HTC.*(Sensation|Evo|Vision|Explorer|6800|8100|8900|A7272|S510e|C110e|Legend|Desire|T8282)|APX515CKT|Qtek9090|APA9292KT|HD_mini|Sensation.*Z710e|PG86100|Z715e|Desire.*(A8181|HD)|ADR6200|ADR6400L|ADR6425|001HT|Inspire 4G|Android.*\\bEVO\\b|T-Mobile G1|Z520m|Android [0-9.]+; Pixel",Nexus:"Nexus One|Nexus S|Galaxy.*Nexus|Android.*Nexus.*Mobile|Nexus 4|Nexus 5|Nexus 5X|Nexus 6",Dell:"Dell[;]? (Streak|Aero|Venue|Venue Pro|Flash|Smoke|Mini 3iX)|XCD28|XCD35|\\b001DL\\b|\\b101DL\\b|\\bGS01\\b",Motorola:"Motorola|DROIDX|DROID BIONIC|\\bDroid\\b.*Build|Android.*Xoom|HRI39|MOT-|A1260|A1680|A555|A853|A855|A953|A955|A956|Motorola.*ELECTRIFY|Motorola.*i1|i867|i940|MB200|MB300|MB501|MB502|MB508|MB511|MB520|MB525|MB526|MB611|MB612|MB632|MB810|MB855|MB860|MB861|MB865|MB870|ME501|ME502|ME511|ME525|ME600|ME632|ME722|ME811|ME860|ME863|ME865|MT620|MT710|MT716|MT720|MT810|MT870|MT917|Motorola.*TITANIUM|WX435|WX445|XT300|XT301|XT311|XT316|XT317|XT319|XT320|XT390|XT502|XT530|XT531|XT532|XT535|XT603|XT610|XT611|XT615|XT681|XT701|XT702|XT711|XT720|XT800|XT806|XT860|XT862|XT875|XT882|XT883|XT894|XT901|XT907|XT909|XT910|XT912|XT928|XT926|XT915|XT919|XT925|XT1021|\\bMoto E\\b|XT1068|XT1092|XT1052",Samsung:"\\bSamsung\\b|SM-G950F|SM-G955F|SM-G9250|GT-19300|SGH-I337|BGT-S5230|GT-B2100|GT-B2700|GT-B2710|GT-B3210|GT-B3310|GT-B3410|GT-B3730|GT-B3740|GT-B5510|GT-B5512|GT-B5722|GT-B6520|GT-B7300|GT-B7320|GT-B7330|GT-B7350|GT-B7510|GT-B7722|GT-B7800|GT-C3010|GT-C3011|GT-C3060|GT-C3200|GT-C3212|GT-C3212I|GT-C3262|GT-C3222|GT-C3300|GT-C3300K|GT-C3303|GT-C3303K|GT-C3310|GT-C3322|GT-C3330|GT-C3350|GT-C3500|GT-C3510|GT-C3530|GT-C3630|GT-C3780|GT-C5010|GT-C5212|GT-C6620|GT-C6625|GT-C6712|GT-E1050|GT-E1070|GT-E1075|GT-E1080|GT-E1081|GT-E1085|GT-E1087|GT-E1100|GT-E1107|GT-E1110|GT-E1120|GT-E1125|GT-E1130|GT-E1160|GT-E1170|GT-E1175|GT-E1180|GT-E1182|GT-E1200|GT-E1210|GT-E1225|GT-E1230|GT-E1390|GT-E2100|GT-E2120|GT-E2121|GT-E2152|GT-E2220|GT-E2222|GT-E2230|GT-E2232|GT-E2250|GT-E2370|GT-E2550|GT-E2652|GT-E3210|GT-E3213|GT-I5500|GT-I5503|GT-I5700|GT-I5800|GT-I5801|GT-I6410|GT-I6420|GT-I7110|GT-I7410|GT-I7500|GT-I8000|GT-I8150|GT-I8160|GT-I8190|GT-I8320|GT-I8330|GT-I8350|GT-I8530|GT-I8700|GT-I8703|GT-I8910|GT-I9000|GT-I9001|GT-I9003|GT-I9010|GT-I9020|GT-I9023|GT-I9070|GT-I9082|GT-I9100|GT-I9103|GT-I9220|GT-I9250|GT-I9300|GT-I9305|GT-I9500|GT-I9505|GT-M3510|GT-M5650|GT-M7500|GT-M7600|GT-M7603|GT-M8800|GT-M8910|GT-N7000|GT-S3110|GT-S3310|GT-S3350|GT-S3353|GT-S3370|GT-S3650|GT-S3653|GT-S3770|GT-S3850|GT-S5210|GT-S5220|GT-S5229|GT-S5230|GT-S5233|GT-S5250|GT-S5253|GT-S5260|GT-S5263|GT-S5270|GT-S5300|GT-S5330|GT-S5350|GT-S5360|GT-S5363|GT-S5369|GT-S5380|GT-S5380D|GT-S5560|GT-S5570|GT-S5600|GT-S5603|GT-S5610|GT-S5620|GT-S5660|GT-S5670|GT-S5690|GT-S5750|GT-S5780|GT-S5830|GT-S5839|GT-S6102|GT-S6500|GT-S7070|GT-S7200|GT-S7220|GT-S7230|GT-S7233|GT-S7250|GT-S7500|GT-S7530|GT-S7550|GT-S7562|GT-S7710|GT-S8000|GT-S8003|GT-S8500|GT-S8530|GT-S8600|SCH-A310|SCH-A530|SCH-A570|SCH-A610|SCH-A630|SCH-A650|SCH-A790|SCH-A795|SCH-A850|SCH-A870|SCH-A890|SCH-A930|SCH-A950|SCH-A970|SCH-A990|SCH-I100|SCH-I110|SCH-I400|SCH-I405|SCH-I500|SCH-I510|SCH-I515|SCH-I600|SCH-I730|SCH-I760|SCH-I770|SCH-I830|SCH-I910|SCH-I920|SCH-I959|SCH-LC11|SCH-N150|SCH-N300|SCH-R100|SCH-R300|SCH-R351|SCH-R400|SCH-R410|SCH-T300|SCH-U310|SCH-U320|SCH-U350|SCH-U360|SCH-U365|SCH-U370|SCH-U380|SCH-U410|SCH-U430|SCH-U450|SCH-U460|SCH-U470|SCH-U490|SCH-U540|SCH-U550|SCH-U620|SCH-U640|SCH-U650|SCH-U660|SCH-U700|SCH-U740|SCH-U750|SCH-U810|SCH-U820|SCH-U900|SCH-U940|SCH-U960|SCS-26UC|SGH-A107|SGH-A117|SGH-A127|SGH-A137|SGH-A157|SGH-A167|SGH-A177|SGH-A187|SGH-A197|SGH-A227|SGH-A237|SGH-A257|SGH-A437|SGH-A517|SGH-A597|SGH-A637|SGH-A657|SGH-A667|SGH-A687|SGH-A697|SGH-A707|SGH-A717|SGH-A727|SGH-A737|SGH-A747|SGH-A767|SGH-A777|SGH-A797|SGH-A817|SGH-A827|SGH-A837|SGH-A847|SGH-A867|SGH-A877|SGH-A887|SGH-A897|SGH-A927|SGH-B100|SGH-B130|SGH-B200|SGH-B220|SGH-C100|SGH-C110|SGH-C120|SGH-C130|SGH-C140|SGH-C160|SGH-C170|SGH-C180|SGH-C200|SGH-C207|SGH-C210|SGH-C225|SGH-C230|SGH-C417|SGH-C450|SGH-D307|SGH-D347|SGH-D357|SGH-D407|SGH-D415|SGH-D780|SGH-D807|SGH-D980|SGH-E105|SGH-E200|SGH-E315|SGH-E316|SGH-E317|SGH-E335|SGH-E590|SGH-E635|SGH-E715|SGH-E890|SGH-F300|SGH-F480|SGH-I200|SGH-I300|SGH-I320|SGH-I550|SGH-I577|SGH-I600|SGH-I607|SGH-I617|SGH-I627|SGH-I637|SGH-I677|SGH-I700|SGH-I717|SGH-I727|SGH-i747M|SGH-I777|SGH-I780|SGH-I827|SGH-I847|SGH-I857|SGH-I896|SGH-I897|SGH-I900|SGH-I907|SGH-I917|SGH-I927|SGH-I937|SGH-I997|SGH-J150|SGH-J200|SGH-L170|SGH-L700|SGH-M110|SGH-M150|SGH-M200|SGH-N105|SGH-N500|SGH-N600|SGH-N620|SGH-N625|SGH-N700|SGH-N710|SGH-P107|SGH-P207|SGH-P300|SGH-P310|SGH-P520|SGH-P735|SGH-P777|SGH-Q105|SGH-R210|SGH-R220|SGH-R225|SGH-S105|SGH-S307|SGH-T109|SGH-T119|SGH-T139|SGH-T209|SGH-T219|SGH-T229|SGH-T239|SGH-T249|SGH-T259|SGH-T309|SGH-T319|SGH-T329|SGH-T339|SGH-T349|SGH-T359|SGH-T369|SGH-T379|SGH-T409|SGH-T429|SGH-T439|SGH-T459|SGH-T469|SGH-T479|SGH-T499|SGH-T509|SGH-T519|SGH-T539|SGH-T559|SGH-T589|SGH-T609|SGH-T619|SGH-T629|SGH-T639|SGH-T659|SGH-T669|SGH-T679|SGH-T709|SGH-T719|SGH-T729|SGH-T739|SGH-T746|SGH-T749|SGH-T759|SGH-T769|SGH-T809|SGH-T819|SGH-T839|SGH-T919|SGH-T929|SGH-T939|SGH-T959|SGH-T989|SGH-U100|SGH-U200|SGH-U800|SGH-V205|SGH-V206|SGH-X100|SGH-X105|SGH-X120|SGH-X140|SGH-X426|SGH-X427|SGH-X475|SGH-X495|SGH-X497|SGH-X507|SGH-X600|SGH-X610|SGH-X620|SGH-X630|SGH-X700|SGH-X820|SGH-X890|SGH-Z130|SGH-Z150|SGH-Z170|SGH-ZX10|SGH-ZX20|SHW-M110|SPH-A120|SPH-A400|SPH-A420|SPH-A460|SPH-A500|SPH-A560|SPH-A600|SPH-A620|SPH-A660|SPH-A700|SPH-A740|SPH-A760|SPH-A790|SPH-A800|SPH-A820|SPH-A840|SPH-A880|SPH-A900|SPH-A940|SPH-A960|SPH-D600|SPH-D700|SPH-D710|SPH-D720|SPH-I300|SPH-I325|SPH-I330|SPH-I350|SPH-I500|SPH-I600|SPH-I700|SPH-L700|SPH-M100|SPH-M220|SPH-M240|SPH-M300|SPH-M305|SPH-M320|SPH-M330|SPH-M350|SPH-M360|SPH-M370|SPH-M380|SPH-M510|SPH-M540|SPH-M550|SPH-M560|SPH-M570|SPH-M580|SPH-M610|SPH-M620|SPH-M630|SPH-M800|SPH-M810|SPH-M850|SPH-M900|SPH-M910|SPH-M920|SPH-M930|SPH-N100|SPH-N200|SPH-N240|SPH-N300|SPH-N400|SPH-Z400|SWC-E100|SCH-i909|GT-N7100|GT-N7105|SCH-I535|SM-N900A|SGH-I317|SGH-T999L|GT-S5360B|GT-I8262|GT-S6802|GT-S6312|GT-S6310|GT-S5312|GT-S5310|GT-I9105|GT-I8510|GT-S6790N|SM-G7105|SM-N9005|GT-S5301|GT-I9295|GT-I9195|SM-C101|GT-S7392|GT-S7560|GT-B7610|GT-I5510|GT-S7582|GT-S7530E|GT-I8750|SM-G9006V|SM-G9008V|SM-G9009D|SM-G900A|SM-G900D|SM-G900F|SM-G900H|SM-G900I|SM-G900J|SM-G900K|SM-G900L|SM-G900M|SM-G900P|SM-G900R4|SM-G900S|SM-G900T|SM-G900V|SM-G900W8|SHV-E160K|SCH-P709|SCH-P729|SM-T2558|GT-I9205|SM-G9350|SM-J120F|SM-G920F|SM-G920V|SM-G930F|SM-N910C|SM-A310F|GT-I9190|SM-J500FN|SM-G903F|SM-J330F|SM-G610F|SM-G981B|SM-G892A|SM-A530F",LG:"\\bLG\\b;|LG[- ]?(C800|C900|E400|E610|E900|E-900|F160|F180K|F180L|F180S|730|855|L160|LS740|LS840|LS970|LU6200|MS690|MS695|MS770|MS840|MS870|MS910|P500|P700|P705|VM696|AS680|AS695|AX840|C729|E970|GS505|272|C395|E739BK|E960|L55C|L75C|LS696|LS860|P769BK|P350|P500|P509|P870|UN272|US730|VS840|VS950|LN272|LN510|LS670|LS855|LW690|MN270|MN510|P509|P769|P930|UN200|UN270|UN510|UN610|US670|US740|US760|UX265|UX840|VN271|VN530|VS660|VS700|VS740|VS750|VS910|VS920|VS930|VX9200|VX11000|AX840A|LW770|P506|P925|P999|E612|D955|D802|MS323|M257)|LM-G710",Sony:"SonyST|SonyLT|SonyEricsson|SonyEricssonLT15iv|LT18i|E10i|LT28h|LT26w|SonyEricssonMT27i|C5303|C6902|C6903|C6906|C6943|D2533|SOV34|601SO|F8332",Asus:"Asus.*Galaxy|PadFone.*Mobile",Xiaomi:"^(?!.*\\bx11\\b).*xiaomi.*$|POCOPHONE F1|MI 8|Redmi Note 9S|Redmi Note 5A Prime|N2G47H|M2001J2G|M2001J2I|M1805E10A|M2004J11G|M1902F1G|M2002J9G|M2004J19G|M2003J6A1G",NokiaLumia:"Lumia [0-9]{3,4}",Micromax:"Micromax.*\\b(A210|A92|A88|A72|A111|A110Q|A115|A116|A110|A90S|A26|A51|A35|A54|A25|A27|A89|A68|A65|A57|A90)\\b",Palm:"PalmSource|Palm",Vertu:"Vertu|Vertu.*Ltd|Vertu.*Ascent|Vertu.*Ayxta|Vertu.*Constellation(F|Quest)?|Vertu.*Monika|Vertu.*Signature",Pantech:"PANTECH|IM-A850S|IM-A840S|IM-A830L|IM-A830K|IM-A830S|IM-A820L|IM-A810K|IM-A810S|IM-A800S|IM-T100K|IM-A725L|IM-A780L|IM-A775C|IM-A770K|IM-A760S|IM-A750K|IM-A740S|IM-A730S|IM-A720L|IM-A710K|IM-A690L|IM-A690S|IM-A650S|IM-A630K|IM-A600S|VEGA PTL21|PT003|P8010|ADR910L|P6030|P6020|P9070|P4100|P9060|P5000|CDM8992|TXT8045|ADR8995|IS11PT|P2030|P6010|P8000|PT002|IS06|CDM8999|P9050|PT001|TXT8040|P2020|P9020|P2000|P7040|P7000|C790",Fly:"IQ230|IQ444|IQ450|IQ440|IQ442|IQ441|IQ245|IQ256|IQ236|IQ255|IQ235|IQ245|IQ275|IQ240|IQ285|IQ280|IQ270|IQ260|IQ250",Wiko:"KITE 4G|HIGHWAY|GETAWAY|STAIRWAY|DARKSIDE|DARKFULL|DARKNIGHT|DARKMOON|SLIDE|WAX 4G|RAINBOW|BLOOM|SUNSET|GOA(?!nna)|LENNY|BARRY|IGGY|OZZY|CINK FIVE|CINK PEAX|CINK PEAX 2|CINK SLIM|CINK SLIM 2|CINK +|CINK KING|CINK PEAX|CINK SLIM|SUBLIM",iMobile:"i-mobile (IQ|i-STYLE|idea|ZAA|Hitz)",SimValley:"\\b(SP-80|XT-930|SX-340|XT-930|SX-310|SP-360|SP60|SPT-800|SP-120|SPT-800|SP-140|SPX-5|SPX-8|SP-100|SPX-8|SPX-12)\\b",Wolfgang:"AT-B24D|AT-AS50HD|AT-AS40W|AT-AS55HD|AT-AS45q2|AT-B26D|AT-AS50Q",Alcatel:"Alcatel",Nintendo:"Nintendo (3DS|Switch)",Amoi:"Amoi",INQ:"INQ",OnePlus:"ONEPLUS",GenericPhone:"Tapatalk|PDA;|SAGEM|\\bmmp\\b|pocket|\\bpsp\\b|symbian|Smartphone|smartfon|treo|up.browser|up.link|vodafone|\\bwap\\b|nokia|Series40|Series60|S60|SonyEricsson|N900|MAUI.*WAP.*Browser"},tablets:{iPad:"iPad|iPad.*Mobile",NexusTablet:"Android.*Nexus[\\s]+(7|9|10)",GoogleTablet:"Android.*Pixel C",SamsungTablet:"SAMSUNG.*Tablet|Galaxy.*Tab|SC-01C|GT-P1000|GT-P1003|GT-P1010|GT-P3105|GT-P6210|GT-P6800|GT-P6810|GT-P7100|GT-P7300|GT-P7310|GT-P7500|GT-P7510|SCH-I800|SCH-I815|SCH-I905|SGH-I957|SGH-I987|SGH-T849|SGH-T859|SGH-T869|SPH-P100|GT-P3100|GT-P3108|GT-P3110|GT-P5100|GT-P5110|GT-P6200|GT-P7320|GT-P7511|GT-N8000|GT-P8510|SGH-I497|SPH-P500|SGH-T779|SCH-I705|SCH-I915|GT-N8013|GT-P3113|GT-P5113|GT-P8110|GT-N8010|GT-N8005|GT-N8020|GT-P1013|GT-P6201|GT-P7501|GT-N5100|GT-N5105|GT-N5110|SHV-E140K|SHV-E140L|SHV-E140S|SHV-E150S|SHV-E230K|SHV-E230L|SHV-E230S|SHW-M180K|SHW-M180L|SHW-M180S|SHW-M180W|SHW-M300W|SHW-M305W|SHW-M380K|SHW-M380S|SHW-M380W|SHW-M430W|SHW-M480K|SHW-M480S|SHW-M480W|SHW-M485W|SHW-M486W|SHW-M500W|GT-I9228|SCH-P739|SCH-I925|GT-I9200|GT-P5200|GT-P5210|GT-P5210X|SM-T311|SM-T310|SM-T310X|SM-T210|SM-T210R|SM-T211|SM-P600|SM-P601|SM-P605|SM-P900|SM-P901|SM-T217|SM-T217A|SM-T217S|SM-P6000|SM-T3100|SGH-I467|XE500|SM-T110|GT-P5220|GT-I9200X|GT-N5110X|GT-N5120|SM-P905|SM-T111|SM-T2105|SM-T315|SM-T320|SM-T320X|SM-T321|SM-T520|SM-T525|SM-T530NU|SM-T230NU|SM-T330NU|SM-T900|XE500T1C|SM-P605V|SM-P905V|SM-T337V|SM-T537V|SM-T707V|SM-T807V|SM-P600X|SM-P900X|SM-T210X|SM-T230|SM-T230X|SM-T325|GT-P7503|SM-T531|SM-T330|SM-T530|SM-T705|SM-T705C|SM-T535|SM-T331|SM-T800|SM-T700|SM-T537|SM-T807|SM-P907A|SM-T337A|SM-T537A|SM-T707A|SM-T807A|SM-T237|SM-T807P|SM-P607T|SM-T217T|SM-T337T|SM-T807T|SM-T116NQ|SM-T116BU|SM-P550|SM-T350|SM-T550|SM-T9000|SM-P9000|SM-T705Y|SM-T805|GT-P3113|SM-T710|SM-T810|SM-T815|SM-T360|SM-T533|SM-T113|SM-T335|SM-T715|SM-T560|SM-T670|SM-T677|SM-T377|SM-T567|SM-T357T|SM-T555|SM-T561|SM-T713|SM-T719|SM-T813|SM-T819|SM-T580|SM-T355Y?|SM-T280|SM-T817A|SM-T820|SM-W700|SM-P580|SM-T587|SM-P350|SM-P555M|SM-P355M|SM-T113NU|SM-T815Y|SM-T585|SM-T285|SM-T825|SM-W708|SM-T835|SM-T830|SM-T837V|SM-T720|SM-T510|SM-T387V|SM-P610|SM-T290|SM-T515|SM-T590|SM-T595|SM-T725|SM-T817P|SM-P585N0|SM-T395|SM-T295|SM-T865|SM-P610N|SM-P615|SM-T970|SM-T380|SM-T5950|SM-T905|SM-T231|SM-T500|SM-T860",Kindle:"Kindle|Silk.*Accelerated|Android.*\\b(KFOT|KFTT|KFJWI|KFJWA|KFOTE|KFSOWI|KFTHWI|KFTHWA|KFAPWI|KFAPWA|WFJWAE|KFSAWA|KFSAWI|KFASWI|KFARWI|KFFOWI|KFGIWI|KFMEWI)\\b|Android.*Silk/[0-9.]+ like Chrome/[0-9.]+ (?!Mobile)",SurfaceTablet:"Windows NT [0-9.]+; ARM;.*(Tablet|ARMBJS)",HPTablet:"HP Slate (7|8|10)|HP ElitePad 900|hp-tablet|EliteBook.*Touch|HP 8|Slate 21|HP SlateBook 10",AsusTablet:"^.*PadFone((?!Mobile).)*$|Transformer|TF101|TF101G|TF300T|TF300TG|TF300TL|TF700T|TF700KL|TF701T|TF810C|ME171|ME301T|ME302C|ME371MG|ME370T|ME372MG|ME172V|ME173X|ME400C|Slider SL101|\\bK00F\\b|\\bK00C\\b|\\bK00E\\b|\\bK00L\\b|TX201LA|ME176C|ME102A|\\bM80TA\\b|ME372CL|ME560CG|ME372CG|ME302KL| K010 | K011 | K017 | K01E |ME572C|ME103K|ME170C|ME171C|\\bME70C\\b|ME581C|ME581CL|ME8510C|ME181C|P01Y|PO1MA|P01Z|\\bP027\\b|\\bP024\\b|\\bP00C\\b",BlackBerryTablet:"PlayBook|RIM Tablet",HTCtablet:"HTC_Flyer_P512|HTC Flyer|HTC Jetstream|HTC-P715a|HTC EVO View 4G|PG41200|PG09410",MotorolaTablet:"xoom|sholest|MZ615|MZ605|MZ505|MZ601|MZ602|MZ603|MZ604|MZ606|MZ607|MZ608|MZ609|MZ615|MZ616|MZ617",NookTablet:"Android.*Nook|NookColor|nook browser|BNRV200|BNRV200A|BNTV250|BNTV250A|BNTV400|BNTV600|LogicPD Zoom2",AcerTablet:"Android.*; \\b(A100|A101|A110|A200|A210|A211|A500|A501|A510|A511|A700|A701|W500|W500P|W501|W501P|W510|W511|W700|G100|G100W|B1-A71|B1-710|B1-711|A1-810|A1-811|A1-830)\\b|W3-810|\\bA3-A10\\b|\\bA3-A11\\b|\\bA3-A20\\b|\\bA3-A30|A3-A40",ToshibaTablet:"Android.*(AT100|AT105|AT200|AT205|AT270|AT275|AT300|AT305|AT1S5|AT500|AT570|AT700|AT830)|TOSHIBA.*FOLIO",LGTablet:"\\bL-06C|LG-V909|LG-V900|LG-V700|LG-V510|LG-V500|LG-V410|LG-V400|LG-VK810\\b",FujitsuTablet:"Android.*\\b(F-01D|F-02F|F-05E|F-10D|M532|Q572)\\b",PrestigioTablet:"PMP3170B|PMP3270B|PMP3470B|PMP7170B|PMP3370B|PMP3570C|PMP5870C|PMP3670B|PMP5570C|PMP5770D|PMP3970B|PMP3870C|PMP5580C|PMP5880D|PMP5780D|PMP5588C|PMP7280C|PMP7280C3G|PMP7280|PMP7880D|PMP5597D|PMP5597|PMP7100D|PER3464|PER3274|PER3574|PER3884|PER5274|PER5474|PMP5097CPRO|PMP5097|PMP7380D|PMP5297C|PMP5297C_QUAD|PMP812E|PMP812E3G|PMP812F|PMP810E|PMP880TD|PMT3017|PMT3037|PMT3047|PMT3057|PMT7008|PMT5887|PMT5001|PMT5002",LenovoTablet:"Lenovo TAB|Idea(Tab|Pad)( A1|A10| K1|)|ThinkPad([ ]+)?Tablet|YT3-850M|YT3-X90L|YT3-X90F|YT3-X90X|Lenovo.*(S2109|S2110|S5000|S6000|K3011|A3000|A3500|A1000|A2107|A2109|A1107|A5500|A7600|B6000|B8000|B8080)(-|)(FL|F|HV|H|)|TB-X103F|TB-X304X|TB-X304F|TB-X304L|TB-X505F|TB-X505L|TB-X505X|TB-X605F|TB-X605L|TB-8703F|TB-8703X|TB-8703N|TB-8704N|TB-8704F|TB-8704X|TB-8704V|TB-7304F|TB-7304I|TB-7304X|Tab2A7-10F|Tab2A7-20F|TB2-X30L|YT3-X50L|YT3-X50F|YT3-X50M|YT-X705F|YT-X703F|YT-X703L|YT-X705L|YT-X705X|TB2-X30F|TB2-X30L|TB2-X30M|A2107A-F|A2107A-H|TB3-730F|TB3-730M|TB3-730X|TB-7504F|TB-7504X|TB-X704F|TB-X104F|TB3-X70F|TB-X705F|TB-8504F|TB3-X70L|TB3-710F|TB-X704L",DellTablet:"Venue 11|Venue 8|Venue 7|Dell Streak 10|Dell Streak 7",YarvikTablet:"Android.*\\b(TAB210|TAB211|TAB224|TAB250|TAB260|TAB264|TAB310|TAB360|TAB364|TAB410|TAB411|TAB420|TAB424|TAB450|TAB460|TAB461|TAB464|TAB465|TAB467|TAB468|TAB07-100|TAB07-101|TAB07-150|TAB07-151|TAB07-152|TAB07-200|TAB07-201-3G|TAB07-210|TAB07-211|TAB07-212|TAB07-214|TAB07-220|TAB07-400|TAB07-485|TAB08-150|TAB08-200|TAB08-201-3G|TAB08-201-30|TAB09-100|TAB09-211|TAB09-410|TAB10-150|TAB10-201|TAB10-211|TAB10-400|TAB10-410|TAB13-201|TAB274EUK|TAB275EUK|TAB374EUK|TAB462EUK|TAB474EUK|TAB9-200)\\b",MedionTablet:"Android.*\\bOYO\\b|LIFE.*(P9212|P9514|P9516|S9512)|LIFETAB",ArnovaTablet:"97G4|AN10G2|AN7bG3|AN7fG3|AN8G3|AN8cG3|AN7G3|AN9G3|AN7dG3|AN7dG3ST|AN7dG3ChildPad|AN10bG3|AN10bG3DT|AN9G2",IntensoTablet:"INM8002KP|INM1010FP|INM805ND|Intenso Tab|TAB1004",IRUTablet:"M702pro",MegafonTablet:"MegaFon V9|\\bZTE V9\\b|Android.*\\bMT7A\\b",EbodaTablet:"E-Boda (Supreme|Impresspeed|Izzycomm|Essential)",AllViewTablet:"Allview.*(Viva|Alldro|City|Speed|All TV|Frenzy|Quasar|Shine|TX1|AX1|AX2)",ArchosTablet:"\\b(101G9|80G9|A101IT)\\b|Qilive 97R|Archos5|\\bARCHOS (70|79|80|90|97|101|FAMILYPAD|)(b|c|)(G10| Cobalt| TITANIUM(HD|)| Xenon| Neon|XSK| 2| XS 2| PLATINUM| CARBON|GAMEPAD)\\b",AinolTablet:"NOVO7|NOVO8|NOVO10|Novo7Aurora|Novo7Basic|NOVO7PALADIN|novo9-Spark",NokiaLumiaTablet:"Lumia 2520",SonyTablet:"Sony.*Tablet|Xperia Tablet|Sony Tablet S|SO-03E|SGPT12|SGPT13|SGPT114|SGPT121|SGPT122|SGPT123|SGPT111|SGPT112|SGPT113|SGPT131|SGPT132|SGPT133|SGPT211|SGPT212|SGPT213|SGP311|SGP312|SGP321|EBRD1101|EBRD1102|EBRD1201|SGP351|SGP341|SGP511|SGP512|SGP521|SGP541|SGP551|SGP621|SGP641|SGP612|SOT31|SGP771|SGP611|SGP612|SGP712",PhilipsTablet:"\\b(PI2010|PI3000|PI3100|PI3105|PI3110|PI3205|PI3210|PI3900|PI4010|PI7000|PI7100)\\b",CubeTablet:"Android.*(K8GT|U9GT|U10GT|U16GT|U17GT|U18GT|U19GT|U20GT|U23GT|U30GT)|CUBE U8GT",CobyTablet:"MID1042|MID1045|MID1125|MID1126|MID7012|MID7014|MID7015|MID7034|MID7035|MID7036|MID7042|MID7048|MID7127|MID8042|MID8048|MID8127|MID9042|MID9740|MID9742|MID7022|MID7010",MIDTablet:"M9701|M9000|M9100|M806|M1052|M806|T703|MID701|MID713|MID710|MID727|MID760|MID830|MID728|MID933|MID125|MID810|MID732|MID120|MID930|MID800|MID731|MID900|MID100|MID820|MID735|MID980|MID130|MID833|MID737|MID960|MID135|MID860|MID736|MID140|MID930|MID835|MID733|MID4X10",MSITablet:"MSI \\b(Primo 73K|Primo 73L|Primo 81L|Primo 77|Primo 93|Primo 75|Primo 76|Primo 73|Primo 81|Primo 91|Primo 90|Enjoy 71|Enjoy 7|Enjoy 10)\\b",SMiTTablet:"Android.*(\\bMID\\b|MID-560|MTV-T1200|MTV-PND531|MTV-P1101|MTV-PND530)",RockChipTablet:"Android.*(RK2818|RK2808A|RK2918|RK3066)|RK2738|RK2808A",FlyTablet:"IQ310|Fly Vision",bqTablet:"Android.*(bq)?.*\\b(Elcano|Curie|Edison|Maxwell|Kepler|Pascal|Tesla|Hypatia|Platon|Newton|Livingstone|Cervantes|Avant|Aquaris ([E|M]10|M8))\\b|Maxwell.*Lite|Maxwell.*Plus",HuaweiTablet:"MediaPad|MediaPad 7 Youth|IDEOS S7|S7-201c|S7-202u|S7-101|S7-103|S7-104|S7-105|S7-106|S7-201|S7-Slim|M2-A01L|BAH-L09|BAH-W09|AGS-L09|CMR-AL19",NecTablet:"\\bN-06D|\\bN-08D",PantechTablet:"Pantech.*P4100",BronchoTablet:"Broncho.*(N701|N708|N802|a710)",VersusTablet:"TOUCHPAD.*[78910]|\\bTOUCHTAB\\b",ZyncTablet:"z1000|Z99 2G|z930|z990|z909|Z919|z900",PositivoTablet:"TB07STA|TB10STA|TB07FTA|TB10FTA",NabiTablet:"Android.*\\bNabi",KoboTablet:"Kobo Touch|\\bK080\\b|\\bVox\\b Build|\\bArc\\b Build",DanewTablet:"DSlide.*\\b(700|701R|702|703R|704|802|970|971|972|973|974|1010|1012)\\b",TexetTablet:"NaviPad|TB-772A|TM-7045|TM-7055|TM-9750|TM-7016|TM-7024|TM-7026|TM-7041|TM-7043|TM-7047|TM-8041|TM-9741|TM-9747|TM-9748|TM-9751|TM-7022|TM-7021|TM-7020|TM-7011|TM-7010|TM-7023|TM-7025|TM-7037W|TM-7038W|TM-7027W|TM-9720|TM-9725|TM-9737W|TM-1020|TM-9738W|TM-9740|TM-9743W|TB-807A|TB-771A|TB-727A|TB-725A|TB-719A|TB-823A|TB-805A|TB-723A|TB-715A|TB-707A|TB-705A|TB-709A|TB-711A|TB-890HD|TB-880HD|TB-790HD|TB-780HD|TB-770HD|TB-721HD|TB-710HD|TB-434HD|TB-860HD|TB-840HD|TB-760HD|TB-750HD|TB-740HD|TB-730HD|TB-722HD|TB-720HD|TB-700HD|TB-500HD|TB-470HD|TB-431HD|TB-430HD|TB-506|TB-504|TB-446|TB-436|TB-416|TB-146SE|TB-126SE",PlaystationTablet:"Playstation.*(Portable|Vita)",TrekstorTablet:"ST10416-1|VT10416-1|ST70408-1|ST702xx-1|ST702xx-2|ST80208|ST97216|ST70104-2|VT10416-2|ST10216-2A|SurfTab",PyleAudioTablet:"\\b(PTBL10CEU|PTBL10C|PTBL72BC|PTBL72BCEU|PTBL7CEU|PTBL7C|PTBL92BC|PTBL92BCEU|PTBL9CEU|PTBL9CUK|PTBL9C)\\b",AdvanTablet:"Android.* \\b(E3A|T3X|T5C|T5B|T3E|T3C|T3B|T1J|T1F|T2A|T1H|T1i|E1C|T1-E|T5-A|T4|E1-B|T2Ci|T1-B|T1-D|O1-A|E1-A|T1-A|T3A|T4i)\\b ",DanyTechTablet:"Genius Tab G3|Genius Tab S2|Genius Tab Q3|Genius Tab G4|Genius Tab Q4|Genius Tab G-II|Genius TAB GII|Genius TAB GIII|Genius Tab S1",GalapadTablet:"Android [0-9.]+; [a-z-]+; \\bG1\\b",MicromaxTablet:"Funbook|Micromax.*\\b(P250|P560|P360|P362|P600|P300|P350|P500|P275)\\b",KarbonnTablet:"Android.*\\b(A39|A37|A34|ST8|ST10|ST7|Smart Tab3|Smart Tab2)\\b",AllFineTablet:"Fine7 Genius|Fine7 Shine|Fine7 Air|Fine8 Style|Fine9 More|Fine10 Joy|Fine11 Wide",PROSCANTablet:"\\b(PEM63|PLT1023G|PLT1041|PLT1044|PLT1044G|PLT1091|PLT4311|PLT4311PL|PLT4315|PLT7030|PLT7033|PLT7033D|PLT7035|PLT7035D|PLT7044K|PLT7045K|PLT7045KB|PLT7071KG|PLT7072|PLT7223G|PLT7225G|PLT7777G|PLT7810K|PLT7849G|PLT7851G|PLT7852G|PLT8015|PLT8031|PLT8034|PLT8036|PLT8080K|PLT8082|PLT8088|PLT8223G|PLT8234G|PLT8235G|PLT8816K|PLT9011|PLT9045K|PLT9233G|PLT9735|PLT9760G|PLT9770G)\\b",YONESTablet:"BQ1078|BC1003|BC1077|RK9702|BC9730|BC9001|IT9001|BC7008|BC7010|BC708|BC728|BC7012|BC7030|BC7027|BC7026",ChangJiaTablet:"TPC7102|TPC7103|TPC7105|TPC7106|TPC7107|TPC7201|TPC7203|TPC7205|TPC7210|TPC7708|TPC7709|TPC7712|TPC7110|TPC8101|TPC8103|TPC8105|TPC8106|TPC8203|TPC8205|TPC8503|TPC9106|TPC9701|TPC97101|TPC97103|TPC97105|TPC97106|TPC97111|TPC97113|TPC97203|TPC97603|TPC97809|TPC97205|TPC10101|TPC10103|TPC10106|TPC10111|TPC10203|TPC10205|TPC10503",GUTablet:"TX-A1301|TX-M9002|Q702|kf026",PointOfViewTablet:"TAB-P506|TAB-navi-7-3G-M|TAB-P517|TAB-P-527|TAB-P701|TAB-P703|TAB-P721|TAB-P731N|TAB-P741|TAB-P825|TAB-P905|TAB-P925|TAB-PR945|TAB-PL1015|TAB-P1025|TAB-PI1045|TAB-P1325|TAB-PROTAB[0-9]+|TAB-PROTAB25|TAB-PROTAB26|TAB-PROTAB27|TAB-PROTAB26XL|TAB-PROTAB2-IPS9|TAB-PROTAB30-IPS9|TAB-PROTAB25XXL|TAB-PROTAB26-IPS10|TAB-PROTAB30-IPS10",OvermaxTablet:"OV-(SteelCore|NewBase|Basecore|Baseone|Exellen|Quattor|EduTab|Solution|ACTION|BasicTab|TeddyTab|MagicTab|Stream|TB-08|TB-09)|Qualcore 1027",HCLTablet:"HCL.*Tablet|Connect-3G-2.0|Connect-2G-2.0|ME Tablet U1|ME Tablet U2|ME Tablet G1|ME Tablet X1|ME Tablet Y2|ME Tablet Sync",DPSTablet:"DPS Dream 9|DPS Dual 7",VistureTablet:"V97 HD|i75 3G|Visture V4( HD)?|Visture V5( HD)?|Visture V10",CrestaTablet:"CTP(-)?810|CTP(-)?818|CTP(-)?828|CTP(-)?838|CTP(-)?888|CTP(-)?978|CTP(-)?980|CTP(-)?987|CTP(-)?988|CTP(-)?989",MediatekTablet:"\\bMT8125|MT8389|MT8135|MT8377\\b",ConcordeTablet:"Concorde([ ]+)?Tab|ConCorde ReadMan",GoCleverTablet:"GOCLEVER TAB|A7GOCLEVER|M1042|M7841|M742|R1042BK|R1041|TAB A975|TAB A7842|TAB A741|TAB A741L|TAB M723G|TAB M721|TAB A1021|TAB I921|TAB R721|TAB I720|TAB T76|TAB R70|TAB R76.2|TAB R106|TAB R83.2|TAB M813G|TAB I721|GCTA722|TAB I70|TAB I71|TAB S73|TAB R73|TAB R74|TAB R93|TAB R75|TAB R76.1|TAB A73|TAB A93|TAB A93.2|TAB T72|TAB R83|TAB R974|TAB R973|TAB A101|TAB A103|TAB A104|TAB A104.2|R105BK|M713G|A972BK|TAB A971|TAB R974.2|TAB R104|TAB R83.3|TAB A1042",ModecomTablet:"FreeTAB 9000|FreeTAB 7.4|FreeTAB 7004|FreeTAB 7800|FreeTAB 2096|FreeTAB 7.5|FreeTAB 1014|FreeTAB 1001 |FreeTAB 8001|FreeTAB 9706|FreeTAB 9702|FreeTAB 7003|FreeTAB 7002|FreeTAB 1002|FreeTAB 7801|FreeTAB 1331|FreeTAB 1004|FreeTAB 8002|FreeTAB 8014|FreeTAB 9704|FreeTAB 1003",VoninoTablet:"\\b(Argus[ _]?S|Diamond[ _]?79HD|Emerald[ _]?78E|Luna[ _]?70C|Onyx[ _]?S|Onyx[ _]?Z|Orin[ _]?HD|Orin[ _]?S|Otis[ _]?S|SpeedStar[ _]?S|Magnet[ _]?M9|Primus[ _]?94[ _]?3G|Primus[ _]?94HD|Primus[ _]?QS|Android.*\\bQ8\\b|Sirius[ _]?EVO[ _]?QS|Sirius[ _]?QS|Spirit[ _]?S)\\b",ECSTablet:"V07OT2|TM105A|S10OT1|TR10CS1",StorexTablet:"eZee[_']?(Tab|Go)[0-9]+|TabLC7|Looney Tunes Tab",VodafoneTablet:"SmartTab([ ]+)?[0-9]+|SmartTabII10|SmartTabII7|VF-1497|VFD 1400",EssentielBTablet:"Smart[ ']?TAB[ ]+?[0-9]+|Family[ ']?TAB2",RossMoorTablet:"RM-790|RM-997|RMD-878G|RMD-974R|RMT-705A|RMT-701|RME-601|RMT-501|RMT-711",iMobileTablet:"i-mobile i-note",TolinoTablet:"tolino tab [0-9.]+|tolino shine",AudioSonicTablet:"\\bC-22Q|T7-QC|T-17B|T-17P\\b",AMPETablet:"Android.* A78 ",SkkTablet:"Android.* (SKYPAD|PHOENIX|CYCLOPS)",TecnoTablet:"TECNO P9|TECNO DP8D",JXDTablet:"Android.* \\b(F3000|A3300|JXD5000|JXD3000|JXD2000|JXD300B|JXD300|S5800|S7800|S602b|S5110b|S7300|S5300|S602|S603|S5100|S5110|S601|S7100a|P3000F|P3000s|P101|P200s|P1000m|P200m|P9100|P1000s|S6600b|S908|P1000|P300|S18|S6600|S9100)\\b",iJoyTablet:"Tablet (Spirit 7|Essentia|Galatea|Fusion|Onix 7|Landa|Titan|Scooby|Deox|Stella|Themis|Argon|Unique 7|Sygnus|Hexen|Finity 7|Cream|Cream X2|Jade|Neon 7|Neron 7|Kandy|Scape|Saphyr 7|Rebel|Biox|Rebel|Rebel 8GB|Myst|Draco 7|Myst|Tab7-004|Myst|Tadeo Jones|Tablet Boing|Arrow|Draco Dual Cam|Aurix|Mint|Amity|Revolution|Finity 9|Neon 9|T9w|Amity 4GB Dual Cam|Stone 4GB|Stone 8GB|Andromeda|Silken|X2|Andromeda II|Halley|Flame|Saphyr 9,7|Touch 8|Planet|Triton|Unique 10|Hexen 10|Memphis 4GB|Memphis 8GB|Onix 10)",FX2Tablet:"FX2 PAD7|FX2 PAD10",XoroTablet:"KidsPAD 701|PAD[ ]?712|PAD[ ]?714|PAD[ ]?716|PAD[ ]?717|PAD[ ]?718|PAD[ ]?720|PAD[ ]?721|PAD[ ]?722|PAD[ ]?790|PAD[ ]?792|PAD[ ]?900|PAD[ ]?9715D|PAD[ ]?9716DR|PAD[ ]?9718DR|PAD[ ]?9719QR|PAD[ ]?9720QR|TelePAD1030|Telepad1032|TelePAD730|TelePAD731|TelePAD732|TelePAD735Q|TelePAD830|TelePAD9730|TelePAD795|MegaPAD 1331|MegaPAD 1851|MegaPAD 2151",ViewsonicTablet:"ViewPad 10pi|ViewPad 10e|ViewPad 10s|ViewPad E72|ViewPad7|ViewPad E100|ViewPad 7e|ViewSonic VB733|VB100a",VerizonTablet:"QTAQZ3|QTAIR7|QTAQTZ3|QTASUN1|QTASUN2|QTAXIA1",OdysTablet:"LOOX|XENO10|ODYS[ -](Space|EVO|Xpress|NOON)|\\bXELIO\\b|Xelio10Pro|XELIO7PHONETAB|XELIO10EXTREME|XELIOPT2|NEO_QUAD10",CaptivaTablet:"CAPTIVA PAD",IconbitTablet:"NetTAB|NT-3702|NT-3702S|NT-3702S|NT-3603P|NT-3603P|NT-0704S|NT-0704S|NT-3805C|NT-3805C|NT-0806C|NT-0806C|NT-0909T|NT-0909T|NT-0907S|NT-0907S|NT-0902S|NT-0902S",TeclastTablet:"T98 4G|\\bP80\\b|\\bX90HD\\b|X98 Air|X98 Air 3G|\\bX89\\b|P80 3G|\\bX80h\\b|P98 Air|\\bX89HD\\b|P98 3G|\\bP90HD\\b|P89 3G|X98 3G|\\bP70h\\b|P79HD 3G|G18d 3G|\\bP79HD\\b|\\bP89s\\b|\\bA88\\b|\\bP10HD\\b|\\bP19HD\\b|G18 3G|\\bP78HD\\b|\\bA78\\b|\\bP75\\b|G17s 3G|G17h 3G|\\bP85t\\b|\\bP90\\b|\\bP11\\b|\\bP98t\\b|\\bP98HD\\b|\\bG18d\\b|\\bP85s\\b|\\bP11HD\\b|\\bP88s\\b|\\bA80HD\\b|\\bA80se\\b|\\bA10h\\b|\\bP89\\b|\\bP78s\\b|\\bG18\\b|\\bP85\\b|\\bA70h\\b|\\bA70\\b|\\bG17\\b|\\bP18\\b|\\bA80s\\b|\\bA11s\\b|\\bP88HD\\b|\\bA80h\\b|\\bP76s\\b|\\bP76h\\b|\\bP98\\b|\\bA10HD\\b|\\bP78\\b|\\bP88\\b|\\bA11\\b|\\bA10t\\b|\\bP76a\\b|\\bP76t\\b|\\bP76e\\b|\\bP85HD\\b|\\bP85a\\b|\\bP86\\b|\\bP75HD\\b|\\bP76v\\b|\\bA12\\b|\\bP75a\\b|\\bA15\\b|\\bP76Ti\\b|\\bP81HD\\b|\\bA10\\b|\\bT760VE\\b|\\bT720HD\\b|\\bP76\\b|\\bP73\\b|\\bP71\\b|\\bP72\\b|\\bT720SE\\b|\\bC520Ti\\b|\\bT760\\b|\\bT720VE\\b|T720-3GE|T720-WiFi",OndaTablet:"\\b(V975i|Vi30|VX530|V701|Vi60|V701s|Vi50|V801s|V719|Vx610w|VX610W|V819i|Vi10|VX580W|Vi10|V711s|V813|V811|V820w|V820|Vi20|V711|VI30W|V712|V891w|V972|V819w|V820w|Vi60|V820w|V711|V813s|V801|V819|V975s|V801|V819|V819|V818|V811|V712|V975m|V101w|V961w|V812|V818|V971|V971s|V919|V989|V116w|V102w|V973|Vi40)\\b[\\s]+|V10 \\b4G\\b",JaytechTablet:"TPC-PA762",BlaupunktTablet:"Endeavour 800NG|Endeavour 1010",DigmaTablet:"\\b(iDx10|iDx9|iDx8|iDx7|iDxD7|iDxD8|iDsQ8|iDsQ7|iDsQ8|iDsD10|iDnD7|3TS804H|iDsQ11|iDj7|iDs10)\\b",EvolioTablet:"ARIA_Mini_wifi|Aria[ _]Mini|Evolio X10|Evolio X7|Evolio X8|\\bEvotab\\b|\\bNeura\\b",LavaTablet:"QPAD E704|\\bIvoryS\\b|E-TAB IVORY|\\bE-TAB\\b",AocTablet:"MW0811|MW0812|MW0922|MTK8382|MW1031|MW0831|MW0821|MW0931|MW0712",MpmanTablet:"MP11 OCTA|MP10 OCTA|MPQC1114|MPQC1004|MPQC994|MPQC974|MPQC973|MPQC804|MPQC784|MPQC780|\\bMPG7\\b|MPDCG75|MPDCG71|MPDC1006|MP101DC|MPDC9000|MPDC905|MPDC706HD|MPDC706|MPDC705|MPDC110|MPDC100|MPDC99|MPDC97|MPDC88|MPDC8|MPDC77|MP709|MID701|MID711|MID170|MPDC703|MPQC1010",CelkonTablet:"CT695|CT888|CT[\\s]?910|CT7 Tab|CT9 Tab|CT3 Tab|CT2 Tab|CT1 Tab|C820|C720|\\bCT-1\\b",WolderTablet:"miTab \\b(DIAMOND|SPACE|BROOKLYN|NEO|FLY|MANHATTAN|FUNK|EVOLUTION|SKY|GOCAR|IRON|GENIUS|POP|MINT|EPSILON|BROADWAY|JUMP|HOP|LEGEND|NEW AGE|LINE|ADVANCE|FEEL|FOLLOW|LIKE|LINK|LIVE|THINK|FREEDOM|CHICAGO|CLEVELAND|BALTIMORE-GH|IOWA|BOSTON|SEATTLE|PHOENIX|DALLAS|IN 101|MasterChef)\\b",MediacomTablet:"M-MPI10C3G|M-SP10EG|M-SP10EGP|M-SP10HXAH|M-SP7HXAH|M-SP10HXBH|M-SP8HXAH|M-SP8MXA",MiTablet:"\\bMI PAD\\b|\\bHM NOTE 1W\\b",NibiruTablet:"Nibiru M1|Nibiru Jupiter One",NexoTablet:"NEXO NOVA|NEXO 10|NEXO AVIO|NEXO FREE|NEXO GO|NEXO EVO|NEXO 3G|NEXO SMART|NEXO KIDDO|NEXO MOBI",LeaderTablet:"TBLT10Q|TBLT10I|TBL-10WDKB|TBL-10WDKBO2013|TBL-W230V2|TBL-W450|TBL-W500|SV572|TBLT7I|TBA-AC7-8G|TBLT79|TBL-8W16|TBL-10W32|TBL-10WKB|TBL-W100",UbislateTablet:"UbiSlate[\\s]?7C",PocketBookTablet:"Pocketbook",KocasoTablet:"\\b(TB-1207)\\b",HisenseTablet:"\\b(F5281|E2371)\\b",Hudl:"Hudl HT7S3|Hudl 2",TelstraTablet:"T-Hub2",GenericTablet:"Android.*\\b97D\\b|Tablet(?!.*PC)|BNTV250A|MID-WCDMA|LogicPD Zoom2|\\bA7EB\\b|CatNova8|A1_07|CT704|CT1002|\\bM721\\b|rk30sdk|\\bEVOTAB\\b|M758A|ET904|ALUMIUM10|Smartfren Tab|Endeavour 1010|Tablet-PC-4|Tagi Tab|\\bM6pro\\b|CT1020W|arc 10HD|\\bTP750\\b|\\bQTAQZ3\\b|WVT101|TM1088|KT107"},oss:{AndroidOS:"Android",BlackBerryOS:"blackberry|\\bBB10\\b|rim tablet os",PalmOS:"PalmOS|avantgo|blazer|elaine|hiptop|palm|plucker|xiino",SymbianOS:"Symbian|SymbOS|Series60|Series40|SYB-[0-9]+|\\bS60\\b",WindowsMobileOS:"Windows CE.*(PPC|Smartphone|Mobile|[0-9]{3}x[0-9]{3})|Windows Mobile|Windows Phone [0-9.]+|WCE;",WindowsPhoneOS:"Windows Phone 10.0|Windows Phone 8.1|Windows Phone 8.0|Windows Phone OS|XBLWP7|ZuneWP7|Windows NT 6.[23]; ARM;",iOS:"\\biPhone.*Mobile|\\biPod|\\biPad|AppleCoreMedia",iPadOS:"CPU OS 13",SailfishOS:"Sailfish",MeeGoOS:"MeeGo",MaemoOS:"Maemo",JavaOS:"J2ME/|\\bMIDP\\b|\\bCLDC\\b",webOS:"webOS|hpwOS",badaOS:"\\bBada\\b",BREWOS:"BREW"},uas:{Chrome:"\\bCrMo\\b|CriOS|Android.*Chrome/[.0-9]* (Mobile)?",Dolfin:"\\bDolfin\\b",Opera:"Opera.*Mini|Opera.*Mobi|Android.*Opera|Mobile.*OPR/[0-9.]+$|Coast/[0-9.]+",Skyfire:"Skyfire",Edge:"\\bEdgiOS\\b|Mobile Safari/[.0-9]* Edge",IE:"IEMobile|MSIEMobile",Firefox:"fennec|firefox.*maemo|(Mobile|Tablet).*Firefox|Firefox.*Mobile|FxiOS",Bolt:"bolt",TeaShark:"teashark",Blazer:"Blazer",Safari:"Version((?!\\bEdgiOS\\b).)*Mobile.*Safari|Safari.*Mobile|MobileSafari",WeChat:"\\bMicroMessenger\\b",UCBrowser:"UC.*Browser|UCWEB",baiduboxapp:"baiduboxapp",baidubrowser:"baidubrowser",DiigoBrowser:"DiigoBrowser",Mercury:"\\bMercury\\b",ObigoBrowser:"Obigo",NetFront:"NF-Browser",GenericBrowser:"NokiaBrowser|OviBrowser|OneBrowser|TwonkyBeamBrowser|SEMC.*Browser|FlyFlow|Minimo|NetFront|Novarra-Vision|MQQBrowser|MicroMessenger",PaleMoon:"Android.*PaleMoon|Mobile.*PaleMoon"},props:{Mobile:"Mobile/[VER]",Build:"Build/[VER]",Version:"Version/[VER]",VendorID:"VendorID/[VER]",iPad:"iPad.*CPU[a-z ]+[VER]",iPhone:"iPhone.*CPU[a-z ]+[VER]",iPod:"iPod.*CPU[a-z ]+[VER]",Kindle:"Kindle/[VER]",Chrome:["Chrome/[VER]","CriOS/[VER]","CrMo/[VER]"],Coast:["Coast/[VER]"],Dolfin:"Dolfin/[VER]",Firefox:["Firefox/[VER]","FxiOS/[VER]"],Fennec:"Fennec/[VER]",Edge:"Edge/[VER]",IE:["IEMobile/[VER];","IEMobile [VER]","MSIE [VER];","Trident/[0-9.]+;.*rv:[VER]"],NetFront:"NetFront/[VER]",NokiaBrowser:"NokiaBrowser/[VER]",Opera:[" OPR/[VER]","Opera Mini/[VER]","Version/[VER]"],"Opera Mini":"Opera Mini/[VER]","Opera Mobi":"Version/[VER]",UCBrowser:["UCWEB[VER]","UC.*Browser/[VER]"],MQQBrowser:"MQQBrowser/[VER]",MicroMessenger:"MicroMessenger/[VER]",baiduboxapp:"baiduboxapp/[VER]",baidubrowser:"baidubrowser/[VER]",SamsungBrowser:"SamsungBrowser/[VER]",Iron:"Iron/[VER]",Safari:["Version/[VER]","Safari/[VER]"],Skyfire:"Skyfire/[VER]",Tizen:"Tizen/[VER]",Webkit:"webkit[ /][VER]",PaleMoon:"PaleMoon/[VER]",SailfishBrowser:"SailfishBrowser/[VER]",Gecko:"Gecko/[VER]",Trident:"Trident/[VER]",Presto:"Presto/[VER]",Goanna:"Goanna/[VER]",iOS:" \\bi?OS\\b [VER][ ;]{1}",Android:"Android [VER]",Sailfish:"Sailfish [VER]",BlackBerry:["BlackBerry[\\w]+/[VER]","BlackBerry.*Version/[VER]","Version/[VER]"],BREW:"BREW [VER]",Java:"Java/[VER]","Windows Phone OS":["Windows Phone OS [VER]","Windows Phone [VER]"],"Windows Phone":"Windows Phone [VER]","Windows CE":"Windows CE/[VER]","Windows NT":"Windows NT [VER]",Symbian:["SymbianOS/[VER]","Symbian/[VER]"],webOS:["webOS/[VER]","hpwOS/[VER];"]},utils:{Bot:"Googlebot|facebookexternalhit|Google-AMPHTML|s~amp-validator|AdsBot-Google|Google Keyword Suggestion|Facebot|YandexBot|YandexMobileBot|bingbot|ia_archiver|AhrefsBot|Ezooms|GSLFbot|WBSearchBot|Twitterbot|TweetmemeBot|Twikle|PaperLiBot|Wotbox|UnwindFetchor|Exabot|MJ12bot|YandexImages|TurnitinBot|Pingdom|contentkingapp|AspiegelBot",MobileBot:"Googlebot-Mobile|AdsBot-Google-Mobile|YahooSeeker/M1A1-R2D2",DesktopMode:"WPDesktop",TV:"SonyDTV|HbbTV",WebKit:"(webkit)[ /]([\\w.]+)",Console:"\\b(Nintendo|Nintendo WiiU|Nintendo 3DS|Nintendo Switch|PLAYSTATION|Xbox)\\b",Watch:"SM-V700"}},detectMobileBrowsers:{fullPattern:/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,shortPattern:/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,tabletPattern:/android|ipad|playbook|silk/i}},n=Object.prototype.hasOwnProperty;function r(e,t){return null!=e&&null!=t&&e.toLowerCase()===t.toLowerCase()}function o(e,t){var n,r,o=e.length;if(!o||!t)return!1;for(n=t.toLowerCase(),r=0;r<o;++r)if(n===e[r].toLowerCase())return!0;return!1}function i(e){for(var t in e)n.call(e,t)&&(e[t]=new RegExp(e[t],"i"))}function a(e,t){this.ua=function(e){return(e||"").substr(0,500)}(e),this._cache={},this.maxPhoneWidth=t||600}return t.FALLBACK_PHONE="UnknownPhone",t.FALLBACK_TABLET="UnknownTablet",t.FALLBACK_MOBILE="UnknownMobile",e="isArray"in Array?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},function(){var r,o,a,s,u,l,c=t.mobileDetectRules;for(r in c.props)if(n.call(c.props,r)){for(o=c.props[r],e(o)||(o=[o]),u=o.length,s=0;s<u;++s)(l=(a=o[s]).indexOf("[VER]"))>=0&&(a=a.substring(0,l)+"([\\w._\\+]+)"+a.substring(l+5)),o[s]=new RegExp(a,"i");c.props[r]=o}i(c.oss),i(c.phones),i(c.tablets),i(c.uas),i(c.utils),c.oss0={WindowsPhoneOS:c.oss.WindowsPhoneOS,WindowsMobileOS:c.oss.WindowsMobileOS}}(),t.findMatch=function(e,t){for(var r in e)if(n.call(e,r)&&e[r].test(t))return r;return null},t.findMatches=function(e,t){var r=[];for(var o in e)n.call(e,o)&&e[o].test(t)&&r.push(o);return r},t.getVersionStr=function(e,r){var o,i,a,s,u=t.mobileDetectRules.props;if(n.call(u,e))for(a=(o=u[e]).length,i=0;i<a;++i)if(null!==(s=o[i].exec(r)))return s[1];return null},t.getVersion=function(e,n){var r=t.getVersionStr(e,n);return r?t.prepareVersionNo(r):NaN},t.prepareVersionNo=function(e){var t;return 1===(t=e.split(/[a-z._ \/\-]/i)).length&&(e=t[0]),t.length>1&&(e=t[0]+".",t.shift(),e+=t.join("")),Number(e)},t.isMobileFallback=function(e){return t.detectMobileBrowsers.fullPattern.test(e)||t.detectMobileBrowsers.shortPattern.test(e.substr(0,4))},t.isTabletFallback=function(e){return t.detectMobileBrowsers.tabletPattern.test(e)},t.prepareDetectionCache=function(e,n,r){if(void 0===e.mobile){var o,i,s;if(i=t.findMatch(t.mobileDetectRules.tablets,n))return e.mobile=e.tablet=i,void(e.phone=null);if(o=t.findMatch(t.mobileDetectRules.phones,n))return e.mobile=e.phone=o,void(e.tablet=null);t.isMobileFallback(n)?void 0===(s=a.isPhoneSized(r))?(e.mobile=t.FALLBACK_MOBILE,e.tablet=e.phone=null):s?(e.mobile=e.phone=t.FALLBACK_PHONE,e.tablet=null):(e.mobile=e.tablet=t.FALLBACK_TABLET,e.phone=null):t.isTabletFallback(n)?(e.mobile=e.tablet=t.FALLBACK_TABLET,e.phone=null):e.mobile=e.tablet=e.phone=null}},t.mobileGrade=function(e){var t=null!==e.mobile();return e.os("iOS")&&e.version("iPad")>=4.3||e.os("iOS")&&e.version("iPhone")>=3.1||e.os("iOS")&&e.version("iPod")>=3.1||e.version("Android")>2.1&&e.is("Webkit")||e.version("Windows Phone OS")>=7||e.is("BlackBerry")&&e.version("BlackBerry")>=6||e.match("Playbook.*Tablet")||e.version("webOS")>=1.4&&e.match("Palm|Pre|Pixi")||e.match("hp.*TouchPad")||e.is("Firefox")&&e.version("Firefox")>=12||e.is("Chrome")&&e.is("AndroidOS")&&e.version("Android")>=4||e.is("Skyfire")&&e.version("Skyfire")>=4.1&&e.is("AndroidOS")&&e.version("Android")>=2.3||e.is("Opera")&&e.version("Opera Mobi")>11&&e.is("AndroidOS")||e.is("MeeGoOS")||e.is("Tizen")||e.is("Dolfin")&&e.version("Bada")>=2||(e.is("UC Browser")||e.is("Dolfin"))&&e.version("Android")>=2.3||e.match("Kindle Fire")||e.is("Kindle")&&e.version("Kindle")>=3||e.is("AndroidOS")&&e.is("NookTablet")||e.version("Chrome")>=11&&!t||e.version("Safari")>=5&&!t||e.version("Firefox")>=4&&!t||e.version("MSIE")>=7&&!t||e.version("Opera")>=10&&!t?"A":e.os("iOS")&&e.version("iPad")<4.3||e.os("iOS")&&e.version("iPhone")<3.1||e.os("iOS")&&e.version("iPod")<3.1||e.is("Blackberry")&&e.version("BlackBerry")>=5&&e.version("BlackBerry")<6||e.version("Opera Mini")>=5&&e.version("Opera Mini")<=6.5&&(e.version("Android")>=2.3||e.is("iOS"))||e.match("NokiaN8|NokiaC7|N97.*Series60|Symbian/3")||e.version("Opera Mobi")>=11&&e.is("SymbianOS")?"B":(e.version("BlackBerry")<5||e.match("MSIEMobile|Windows CE.*Mobile")||e.version("Windows Mobile"),"C")},t.detectOS=function(e){return t.findMatch(t.mobileDetectRules.oss0,e)||t.findMatch(t.mobileDetectRules.oss,e)},t.getDeviceSmallerSide=function(){return window.screen.width<window.screen.height?window.screen.width:window.screen.height},a.prototype={constructor:a,mobile:function(){return t.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.mobile},phone:function(){return t.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.phone},tablet:function(){return t.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.tablet},userAgent:function(){return void 0===this._cache.userAgent&&(this._cache.userAgent=t.findMatch(t.mobileDetectRules.uas,this.ua)),this._cache.userAgent},userAgents:function(){return void 0===this._cache.userAgents&&(this._cache.userAgents=t.findMatches(t.mobileDetectRules.uas,this.ua)),this._cache.userAgents},os:function(){return void 0===this._cache.os&&(this._cache.os=t.detectOS(this.ua)),this._cache.os},version:function(e){return t.getVersion(e,this.ua)},versionStr:function(e){return t.getVersionStr(e,this.ua)},is:function(e){return o(this.userAgents(),e)||r(e,this.os())||r(e,this.phone())||r(e,this.tablet())||o(t.findMatches(t.mobileDetectRules.utils,this.ua),e)},match:function(e){return e instanceof RegExp||(e=new RegExp(e,"i")),e.test(this.ua)},isPhoneSized:function(e){return a.isPhoneSized(e||this.maxPhoneWidth)},mobileGrade:function(){return void 0===this._cache.grade&&(this._cache.grade=t.mobileGrade(this)),this._cache.grade}},"undefined"!==typeof window&&window.screen?a.isPhoneSized=function(e){return e<0?void 0:t.getDeviceSmallerSide()<=e}:a.isPhoneSized=function(){},a._impl=t,a.version="1.4.5 2021-03-13",a}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FrameContextConsumer=t.FrameContext=void 0;var r=n(358);Object.defineProperty(t,"FrameContext",{enumerable:!0,get:function(){return r.FrameContext}}),Object.defineProperty(t,"FrameContextConsumer",{enumerable:!0,get:function(){return r.FrameContextConsumer}});var o,i=n(650),a=(o=i)&&o.__esModule?o:{default:o};t.default=a.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={50:"#fff8e1",100:"#ffecb3",200:"#ffe082",300:"#ffd54f",400:"#ffca28",500:"#ffc107",600:"#ffb300",700:"#ffa000",800:"#ff8f00",900:"#ff6f00",A100:"#ffe57f",A200:"#ffd740",A400:"#ffc400",A700:"#ffab00"};t.default=r},function(e,t,n){"use strict";(function(e){var n="undefined"!==typeof window&&"undefined"!==typeof document&&"undefined"!==typeof navigator,r=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(n&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}();var o=n&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),r))}};function i(e){return e&&"[object Function]"==={}.toString.call(e)}function a(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function s(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function u(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=a(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/(auto|scroll|overlay)/.test(n+o+r)?e:u(s(e))}function l(e){return e&&e.referenceNode?e.referenceNode:e}var c=n&&!(!window.MSInputMethodContext||!document.documentMode),f=n&&/MSIE 10/.test(navigator.userAgent);function d(e){return 11===e?c:10===e?f:c||f}function p(e){if(!e)return document.documentElement;for(var t=d(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===a(n,"position")?p(n):n:e?e.ownerDocument.documentElement:document.documentElement}function h(e){return null!==e.parentNode?h(e.parentNode):e}function g(e,t){if(!e||!e.nodeType||!t||!t.nodeType)return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?e:t,o=n?t:e,i=document.createRange();i.setStart(r,0),i.setEnd(o,0);var a=i.commonAncestorContainer;if(e!==a&&t!==a||r.contains(o))return function(e){var t=e.nodeName;return"BODY"!==t&&("HTML"===t||p(e.firstElementChild)===e)}(a)?a:p(a);var s=h(e);return s.host?g(s.host,t):g(e,h(t).host)}function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===t?"scrollTop":"scrollLeft",r=e.nodeName;if("BODY"===r||"HTML"===r){var o=e.ownerDocument.documentElement,i=e.ownerDocument.scrollingElement||o;return i[n]}return e[n]}function m(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=y(t,"top"),o=y(t,"left"),i=n?-1:1;return e.top+=r*i,e.bottom+=r*i,e.left+=o*i,e.right+=o*i,e}function v(e,t){var n="x"===t?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"])+parseFloat(e["border"+r+"Width"])}function b(e,t,n,r){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],d(10)?parseInt(n["offset"+e])+parseInt(r["margin"+("Height"===e?"Top":"Left")])+parseInt(r["margin"+("Height"===e?"Bottom":"Right")]):0)}function M(e){var t=e.body,n=e.documentElement,r=d(10)&&getComputedStyle(n);return{height:b("Height",t,n,r),width:b("Width",t,n,r)}}var w=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},N=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}}(),j=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},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};function I(e){return S({},e,{right:e.left+e.width,bottom:e.top+e.height})}function D(e){var t={};try{if(d(10)){t=e.getBoundingClientRect();var n=y(e,"top"),r=y(e,"left");t.top+=n,t.left+=r,t.bottom+=n,t.right+=r}else t=e.getBoundingClientRect()}catch(p){}var o={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},i="HTML"===e.nodeName?M(e.ownerDocument):{},s=i.width||e.clientWidth||o.width,u=i.height||e.clientHeight||o.height,l=e.offsetWidth-s,c=e.offsetHeight-u;if(l||c){var f=a(e);l-=v(f,"x"),c-=v(f,"y"),o.width-=l,o.height-=c}return I(o)}function x(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=d(10),o="HTML"===t.nodeName,i=D(e),s=D(t),l=u(e),c=a(t),f=parseFloat(c.borderTopWidth),p=parseFloat(c.borderLeftWidth);n&&o&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var h=I({top:i.top-s.top-f,left:i.left-s.left-p,width:i.width,height:i.height});if(h.marginTop=0,h.marginLeft=0,!r&&o){var g=parseFloat(c.marginTop),y=parseFloat(c.marginLeft);h.top-=f-g,h.bottom-=f-g,h.left-=p-y,h.right-=p-y,h.marginTop=g,h.marginLeft=y}return(r&&!n?t.contains(l):t===l&&"BODY"!==l.nodeName)&&(h=m(h,t)),h}function E(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,r=x(e,n),o=Math.max(n.clientWidth,window.innerWidth||0),i=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:y(n),s=t?0:y(n,"left"),u={top:a-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:o,height:i};return I(u)}function O(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===a(e,"position"))return!0;var n=s(e);return!!n&&O(n)}function T(e){if(!e||!e.parentElement||d())return document.documentElement;for(var t=e.parentElement;t&&"none"===a(t,"transform");)t=t.parentElement;return t||document.documentElement}function C(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},a=o?T(e):g(e,l(t));if("viewport"===r)i=E(a,o);else{var c=void 0;"scrollParent"===r?"BODY"===(c=u(s(t))).nodeName&&(c=e.ownerDocument.documentElement):c="window"===r?e.ownerDocument.documentElement:r;var f=x(c,a,o);if("HTML"!==c.nodeName||O(a))i=f;else{var d=M(e.ownerDocument),p=d.height,h=d.width;i.top+=f.top-f.marginTop,i.bottom=p+f.top,i.left+=f.left-f.marginLeft,i.right=h+f.left}}var y="number"===typeof(n=n||0);return i.left+=y?n:n.left||0,i.top+=y?n:n.top||0,i.right-=y?n:n.right||0,i.bottom-=y?n:n.bottom||0,i}function k(e){return e.width*e.height}function L(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=C(n,r,i,o),s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},u=Object.keys(s).map((function(e){return S({key:e},s[e],{area:k(s[e])})})).sort((function(e,t){return t.area-e.area})),l=u.filter((function(e){var t=e.width,r=e.height;return t>=n.clientWidth&&r>=n.clientHeight})),c=l.length>0?l[0].key:u[0].key,f=e.split("-")[1];return c+(f?"-"+f:"")}function _(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=r?T(t):g(t,l(n));return x(n,o,r)}function A(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),r=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+r,height:e.offsetHeight+n}}function z(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function P(e,t,n){n=n.split("-")[0];var r=A(e),o={width:r.width,height:r.height},i=-1!==["right","left"].indexOf(n),a=i?"top":"left",s=i?"left":"top",u=i?"height":"width",l=i?"width":"height";return o[a]=t[a]+t[u]/2-r[u]/2,o[s]=n===s?t[s]-r[l]:t[z(s)],o}function R(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function U(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===n}));var r=R(e,(function(e){return e[t]===n}));return e.indexOf(r)}(e,"name",n))).forEach((function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&i(n)&&(t.offsets.popper=I(t.offsets.popper),t.offsets.reference=I(t.offsets.reference),t=n(t,e))})),t}function B(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=_(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=L(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=P(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=U(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function F(e,t){return e.some((function(e){var n=e.name;return e.enabled&&n===t}))}function Y(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),r=0;r<t.length;r++){var o=t[r],i=o?""+o+n:e;if("undefined"!==typeof document.body.style[i])return i}return null}function G(){return this.state.isDestroyed=!0,F(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[Y("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function H(e){var t=e.ownerDocument;return t?t.defaultView:window}function V(e,t,n,r){n.updateBound=r,H(e).addEventListener("resize",n.updateBound,{passive:!0});var o=u(e);return function e(t,n,r,o){var i="BODY"===t.nodeName,a=i?t.ownerDocument.defaultView:t;a.addEventListener(n,r,{passive:!0}),i||e(u(a.parentNode),n,r,o),o.push(a)}(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function Q(){this.state.eventsEnabled||(this.state=V(this.reference,this.options,this.state,this.scheduleUpdate))}function W(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,H(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach((function(e){e.removeEventListener("scroll",t.updateBound)})),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function Z(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function q(e,t){Object.keys(t).forEach((function(n){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&Z(t[n])&&(r="px"),e.style[n]=t[n]+r}))}var X=n&&/Firefox/i.test(navigator.userAgent);function $(e,t,n){var r=R(e,(function(e){return e.name===t})),o=!!r&&e.some((function(e){return e.name===n&&e.enabled&&e.order<r.order}));if(!o){var i="`"+t+"`",a="`"+n+"`";console.warn(a+" modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")}return o}var J=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],K=J.slice(3);function ee(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=K.indexOf(e),r=K.slice(n+1).concat(K.slice(0,n));return t?r.reverse():r}var te="flip",ne="clockwise",re="counterclockwise";function oe(e,t,n,r){var o=[0,0],i=-1!==["right","left"].indexOf(r),a=e.split(/(\+|\-)/).map((function(e){return e.trim()})),s=a.indexOf(R(a,(function(e){return-1!==e.search(/,|\s/)})));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var u=/\s*,\s*|\s+/,l=-1!==s?[a.slice(0,s).concat([a[s].split(u)[0]]),[a[s].split(u)[1]].concat(a.slice(s+1))]:[a];return(l=l.map((function(e,r){var o=(1===r?!i:i)?"height":"width",a=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,n,r){var o=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+o[1],a=o[2];if(!i)return e;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=r}return I(s)[t]/100*i}if("vh"===a||"vw"===a){return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i}return i}(e,o,t,n)}))}))).forEach((function(e,t){e.forEach((function(n,r){Z(n)&&(o[t]+=n*("-"===e[r-1]?-1:1))}))})),o}var ie={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],r=t.split("-")[1];if(r){var o=e.offsets,i=o.reference,a=o.popper,s=-1!==["bottom","top"].indexOf(n),u=s?"left":"top",l=s?"width":"height",c={start:j({},u,i[u]),end:j({},u,i[u]+i[l]-a[l])};e.offsets.popper=S({},a,c[r])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,r=e.placement,o=e.offsets,i=o.popper,a=o.reference,s=r.split("-")[0],u=void 0;return u=Z(+n)?[+n,0]:oe(n,i,a,s),"left"===s?(i.top+=u[0],i.left-=u[1]):"right"===s?(i.top+=u[0],i.left+=u[1]):"top"===s?(i.left+=u[0],i.top-=u[1]):"bottom"===s&&(i.left+=u[0],i.top+=u[1]),e.popper=i,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||p(e.instance.popper);e.instance.reference===n&&(n=p(n));var r=Y("transform"),o=e.instance.popper.style,i=o.top,a=o.left,s=o[r];o.top="",o.left="",o[r]="";var u=C(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);o.top=i,o.left=a,o[r]=s,t.boundaries=u;var l=t.priority,c=e.offsets.popper,f={primary:function(e){var n=c[e];return c[e]<u[e]&&!t.escapeWithReference&&(n=Math.max(c[e],u[e])),j({},e,n)},secondary:function(e){var n="right"===e?"left":"top",r=c[n];return c[e]>u[e]&&!t.escapeWithReference&&(r=Math.min(c[n],u[e]-("right"===e?c.width:c.height))),j({},n,r)}};return l.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";c=S({},c,f[t](e))})),e.offsets.popper=c,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,r=t.reference,o=e.placement.split("-")[0],i=Math.floor,a=-1!==["top","bottom"].indexOf(o),s=a?"right":"bottom",u=a?"left":"top",l=a?"width":"height";return n[s]<i(r[u])&&(e.offsets.popper[u]=i(r[u])-n[l]),n[u]>i(r[s])&&(e.offsets.popper[u]=i(r[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!$(e.instance.modifiers,"arrow","keepTogether"))return e;var r=t.element;if("string"===typeof r){if(!(r=e.instance.popper.querySelector(r)))return e}else if(!e.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var o=e.placement.split("-")[0],i=e.offsets,s=i.popper,u=i.reference,l=-1!==["left","right"].indexOf(o),c=l?"height":"width",f=l?"Top":"Left",d=f.toLowerCase(),p=l?"left":"top",h=l?"bottom":"right",g=A(r)[c];u[h]-g<s[d]&&(e.offsets.popper[d]-=s[d]-(u[h]-g)),u[d]+g>s[h]&&(e.offsets.popper[d]+=u[d]+g-s[h]),e.offsets.popper=I(e.offsets.popper);var y=u[d]+u[c]/2-g/2,m=a(e.instance.popper),v=parseFloat(m["margin"+f]),b=parseFloat(m["border"+f+"Width"]),M=y-e.offsets.popper[d]-v-b;return M=Math.max(Math.min(s[c]-g,M),0),e.arrowElement=r,e.offsets.arrow=(j(n={},d,Math.round(M)),j(n,p,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(F(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=C(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split("-")[0],o=z(r),i=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case te:a=[r,o];break;case ne:a=ee(r);break;case re:a=ee(r,!0);break;default:a=t.behavior}return a.forEach((function(s,u){if(r!==s||a.length===u+1)return e;r=e.placement.split("-")[0],o=z(r);var l=e.offsets.popper,c=e.offsets.reference,f=Math.floor,d="left"===r&&f(l.right)>f(c.left)||"right"===r&&f(l.left)<f(c.right)||"top"===r&&f(l.bottom)>f(c.top)||"bottom"===r&&f(l.top)<f(c.bottom),p=f(l.left)<f(n.left),h=f(l.right)>f(n.right),g=f(l.top)<f(n.top),y=f(l.bottom)>f(n.bottom),m="left"===r&&p||"right"===r&&h||"top"===r&&g||"bottom"===r&&y,v=-1!==["top","bottom"].indexOf(r),b=!!t.flipVariations&&(v&&"start"===i&&p||v&&"end"===i&&h||!v&&"start"===i&&g||!v&&"end"===i&&y),M=!!t.flipVariationsByContent&&(v&&"start"===i&&h||v&&"end"===i&&p||!v&&"start"===i&&y||!v&&"end"===i&&g),w=b||M;(d||m||w)&&(e.flipped=!0,(d||m)&&(r=a[u+1]),w&&(i=function(e){return"end"===e?"start":"start"===e?"end":e}(i)),e.placement=r+(i?"-"+i:""),e.offsets.popper=S({},e.offsets.popper,P(e.instance.popper,e.offsets.reference,e.placement)),e=U(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],r=e.offsets,o=r.popper,i=r.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return o[a?"left":"top"]=i[n]-(s?o[a?"width":"height"]:0),e.placement=z(t),e.offsets.popper=I(o),e}},hide:{order:800,enabled:!0,fn:function(e){if(!$(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=R(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n=t.x,r=t.y,o=e.offsets.popper,i=R(e.instance.modifiers,(function(e){return"applyStyle"===e.name})).gpuAcceleration;void 0!==i&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=void 0!==i?i:t.gpuAcceleration,s=p(e.instance.popper),u=D(s),l={position:o.position},c=function(e,t){var n=e.offsets,r=n.popper,o=n.reference,i=Math.round,a=Math.floor,s=function(e){return e},u=i(o.width),l=i(r.width),c=-1!==["left","right"].indexOf(e.placement),f=-1!==e.placement.indexOf("-"),d=t?c||f||u%2===l%2?i:a:s,p=t?i:s;return{left:d(u%2===1&&l%2===1&&!f&&t?r.left-1:r.left),top:p(r.top),bottom:p(r.bottom),right:d(r.right)}}(e,window.devicePixelRatio<2||!X),f="bottom"===n?"top":"bottom",d="right"===r?"left":"right",h=Y("transform"),g=void 0,y=void 0;if(y="bottom"===f?"HTML"===s.nodeName?-s.clientHeight+c.bottom:-u.height+c.bottom:c.top,g="right"===d?"HTML"===s.nodeName?-s.clientWidth+c.right:-u.width+c.right:c.left,a&&h)l[h]="translate3d("+g+"px, "+y+"px, 0)",l[f]=0,l[d]=0,l.willChange="transform";else{var m="bottom"===f?-1:1,v="right"===d?-1:1;l[f]=y*m,l[d]=g*v,l.willChange=f+", "+d}var b={"x-placement":e.placement};return e.attributes=S({},b,e.attributes),e.styles=S({},l,e.styles),e.arrowStyles=S({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,n;return q(e.instance.popper,e.styles),t=e.instance.popper,n=e.attributes,Object.keys(n).forEach((function(e){!1!==n[e]?t.setAttribute(e,n[e]):t.removeAttribute(e)})),e.arrowElement&&Object.keys(e.arrowStyles).length&&q(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,r,o){var i=_(o,t,e,n.positionFixed),a=L(n.placement,i,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",a),q(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},ae=function(){function e(t,n){var r=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};w(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=o(this.update.bind(this)),this.options=S({},e.Defaults,a),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(S({},e.Defaults.modifiers,a.modifiers)).forEach((function(t){r.options.modifiers[t]=S({},e.Defaults.modifiers[t]||{},a.modifiers?a.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return S({name:e},r.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&i(e.onLoad)&&e.onLoad(r.reference,r.popper,r.options,e,r.state)})),this.update();var s=this.options.eventsEnabled;s&&this.enableEventListeners(),this.state.eventsEnabled=s}return N(e,[{key:"update",value:function(){return B.call(this)}},{key:"destroy",value:function(){return G.call(this)}},{key:"enableEventListeners",value:function(){return Q.call(this)}},{key:"disableEventListeners",value:function(){return W.call(this)}}]),e}();ae.Utils=("undefined"!==typeof window?window:e).PopperUtils,ae.placements=J,ae.Defaults=ie,t.a=ae}).call(this,n(59))},function(e,t){e.exports=function(e,t){var n=[];return 0===t.length?n.push({text:e,highlight:!1}):t[0][0]>0&&n.push({text:e.slice(0,t[0][0]),highlight:!1}),t.forEach((function(r,o){var i=r[0],a=r[1];n.push({text:e.slice(i,a),highlight:!0}),o===t.length-1?a<e.length&&n.push({text:e.slice(a,e.length),highlight:!1}):a<t[o+1][0]&&n.push({text:e.slice(a,t[o+1][0]),highlight:!1})})),n}},function(e,t,n){var r=n(653),o=n(316),i=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,a=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=function(e){return(e=o(e))&&e.replace(i,r).replace(a,"")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hexToRgb=i,t.rgbToHex=function(e){if(0===e.indexOf("#"))return e;var t=s(e).values;return"#".concat(t.map((function(e){return function(e){var t=e.toString(16);return 1===t.length?"0".concat(t):t}(e)})).join(""))},t.hslToRgb=a,t.decomposeColor=s,t.recomposeColor=u,t.getContrastRatio=function(e,t){var n=l(e),r=l(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)},t.getLuminance=l,t.emphasize=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return l(e)>.5?f(e,t):d(e,t)},t.fade=function(e,t){0;return c(e,t)},t.alpha=c,t.darken=f,t.lighten=d;var r=n(14);function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(t,e),n)}function i(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map((function(e){return e+e}))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map((function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}function a(e){var t=(e=s(e)).values,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return o-i*Math.max(Math.min(t-3,9-t,1),-1)},l="rgb",c=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(l+="a",c.push(t[3])),u({type:l,values:c})}function s(e){if(e.type)return e;if("#"===e.charAt(0))return s(i(e));var t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla"].indexOf(n))throw new Error((0,r.formatMuiErrorMessage)(3,e));var o=e.substring(t+1,e.length-1).split(",");return{type:n,values:o=o.map((function(e){return parseFloat(e)}))}}function u(e){var t=e.type,n=e.values;return-1!==t.indexOf("rgb")?n=n.map((function(e,t){return t<3?parseInt(e,10):e})):-1!==t.indexOf("hsl")&&(n[1]="".concat(n[1],"%"),n[2]="".concat(n[2],"%")),"".concat(t,"(").concat(n.join(", "),")")}function l(e){var t="hsl"===(e=s(e)).type?s(a(e)).values:e.values;return t=t.map((function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)})),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function c(e,t){return e=s(e),t=o(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),e.values[3]=t,u(e)}function f(e,t){if(e=s(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]*=1-t;return u(e)}function d(e,t){if(e=s(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;return u(e)}},function(e,t,n){"use strict";var r=n(0),o=n.n(r),i=n(201),a=n(24),s=n(15),u=n(2),l=n.n(u),c=n(262),f=n.n(c),d=n(273),p=n.n(d),h=n(158);function g(e){return(g="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})(e)}function y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(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)}}function v(e,t,n){return t&&m(e.prototype,t),n&&m(e,n),e}function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function M(){return(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}).apply(this,arguments)}function w(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){b(e,t,n[t])}))}return e}function N(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&S(e,t)}function j(e){return(j=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function S(e,t){return(S=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function I(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function D(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x(e,t){return!t||"object"!==typeof t&&"function"!==typeof t?D(e):t}function E(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var O=function(){};function T(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function C(e,t,n,r){var o=[t,r];if(n&&e)for(var i in n)n.hasOwnProperty(i)&&n[i]&&o.push("".concat(T(e,i)));return o.filter((function(e){return e})).map((function(e){return String(e).trim()})).join(" ")}var k=function(e){return Array.isArray(e)?e.filter(Boolean):"object"===g(e)&&null!==e?[e]:[]};function L(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function _(e){return L(e)?window.pageYOffset:e.scrollTop}function A(e,t){L(e)?window.scrollTo(0,t):e.scrollTop=t}function z(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}function P(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:O,o=_(e),i=t-o,a=10,s=0;function u(){var t=z(s+=a,o,i,n);A(e,t),s<n?f()(u):r(e)}u()}function R(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}function U(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,o=e.placement,i=e.shouldScroll,a=e.isFixedPosition,s=e.theme.spacing,u=function(e){var t=getComputedStyle(e),n="absolute"===t.position,r=/(auto|scroll)/,o=document.documentElement;if("fixed"===t.position)return o;for(var i=e;i=i.parentElement;)if(t=getComputedStyle(i),(!n||"static"!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX))return i;return o}(n),l={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return l;var c=u.getBoundingClientRect().height,f=n.getBoundingClientRect(),d=f.bottom,p=f.height,h=f.top,g=n.offsetParent.getBoundingClientRect().top,y=window.innerHeight,m=_(u),v=parseInt(getComputedStyle(n).marginBottom,10),b=parseInt(getComputedStyle(n).marginTop,10),M=g-b,w=y-h,N=M+m,j=c-m-h,S=d-y+m+v,I=m+h-b;switch(o){case"auto":case"bottom":if(w>=p)return{placement:"bottom",maxHeight:t};if(j>=p&&!a)return i&&P(u,S,160),{placement:"bottom",maxHeight:t};if(!a&&j>=r||a&&w>=r)return i&&P(u,S,160),{placement:"bottom",maxHeight:a?w-v:j-v};if("auto"===o||a){var D=t,x=a?M:N;return x>=r&&(D=Math.min(x-v-s.controlHeight,t)),{placement:"top",maxHeight:D}}if("bottom"===o)return A(u,S),{placement:"bottom",maxHeight:t};break;case"top":if(M>=p)return{placement:"top",maxHeight:t};if(N>=p&&!a)return i&&P(u,I,160),{placement:"top",maxHeight:t};if(!a&&N>=r||a&&M>=r){var E=t;return(!a&&N>=r||a&&M>=r)&&(E=a?M-b:N-b),i&&P(u,I,160),{placement:"top",maxHeight:E}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return l}var B=function(e){return"auto"===e?"bottom":e},F=function(e){function t(){var e,n;y(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return b(D(D(n=x(this,(e=j(t)).call.apply(e,[this].concat(o))))),"state",{maxHeight:n.props.maxMenuHeight,placement:null}),b(D(D(n)),"getPlacement",(function(e){var t=n.props,r=t.minMenuHeight,o=t.maxMenuHeight,i=t.menuPlacement,a=t.menuPosition,s=t.menuShouldScrollIntoView,u=t.theme,l=n.context.getPortalPlacement;if(e){var c="fixed"===a,f=U({maxHeight:o,menuEl:e,minHeight:r,placement:i,shouldScroll:s&&!c,isFixedPosition:c,theme:u});l&&l(f),n.setState(f)}})),b(D(D(n)),"getUpdatedProps",(function(){var e=n.props.menuPlacement,t=n.state.placement||B(e);return w({},n.props,{placement:t,maxHeight:n.state.maxHeight})})),n}return N(t,e),v(t,[{key:"render",value:function(){return(0,this.props.children)({ref:this.getPlacement,placerProps:this.getUpdatedProps()})}}]),t}(r.Component);b(F,"contextTypes",{getPortalPlacement:l.a.func});var Y=function(e){var t=e.theme,n=t.spacing.baseUnit;return{color:t.colors.neutral40,padding:"".concat(2*n,"px ").concat(3*n,"px"),textAlign:"center"}},G=Y,H=Y,V=function(e){var t=e.children,n=e.className,r=e.cx,i=e.getStyles,s=e.innerProps;return o.a.createElement("div",M({className:r(Object(a.css)(i("noOptionsMessage",e)),{"menu-notice":!0,"menu-notice--no-options":!0},n)},s),t)};V.defaultProps={children:"No options"};var Q=function(e){var t=e.children,n=e.className,r=e.cx,i=e.getStyles,s=e.innerProps;return o.a.createElement("div",M({className:r(Object(a.css)(i("loadingMessage",e)),{"menu-notice":!0,"menu-notice--loading":!0},n)},s),t)};Q.defaultProps={children:"Loading..."};var W=function(e){function t(){var e,n;y(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return b(D(D(n=x(this,(e=j(t)).call.apply(e,[this].concat(o))))),"state",{placement:null}),b(D(D(n)),"getPortalPlacement",(function(e){var t=e.placement;t!==B(n.props.menuPlacement)&&n.setState({placement:t})})),n}return N(t,e),v(t,[{key:"getChildContext",value:function(){return{getPortalPlacement:this.getPortalPlacement}}},{key:"render",value:function(){var e=this.props,t=e.appendTo,n=e.children,r=e.controlElement,i=e.menuPlacement,u=e.menuPosition,l=e.getStyles,c="fixed"===u;if(!t&&!c||!r)return null;var f=this.state.placement||B(i),d=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(r),p=c?0:window.pageYOffset,h={offset:d[f]+p,position:u,rect:d},g=o.a.createElement("div",{className:Object(a.css)(l("menuPortal",h))},n);return t?Object(s.createPortal)(g,t):g}}]),t}(r.Component);b(W,"childContextTypes",{getPortalPlacement:l.a.func});var Z=Array.isArray,q=Object.keys,X=Object.prototype.hasOwnProperty;function $(e,t){try{return function e(t,n){if(t===n)return!0;if(t&&n&&"object"==g(t)&&"object"==g(n)){var r,o,i,a=Z(t),s=Z(n);if(a&&s){if((o=t.length)!=n.length)return!1;for(r=o;0!==r--;)if(!e(t[r],n[r]))return!1;return!0}if(a!=s)return!1;var u=t instanceof Date,l=n instanceof Date;if(u!=l)return!1;if(u&&l)return t.getTime()==n.getTime();var c=t instanceof RegExp,f=n instanceof RegExp;if(c!=f)return!1;if(c&&f)return t.toString()==n.toString();var d=q(t);if((o=d.length)!==q(n).length)return!1;for(r=o;0!==r--;)if(!X.call(n,d[r]))return!1;for(r=o;0!==r--;)if(("_owner"!==(i=d[r])||!t.$$typeof)&&!e(t[i],n[i]))return!1;return!0}return t!==t&&n!==n}(e,t)}catch(n){if(n.message&&n.message.match(/stack|recursion/i))return console.warn("Warning: react-fast-compare does not handle circular references.",n.name,n.message),!1;throw n}}var J=[{base:"A",letters:/[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F]/g},{base:"AA",letters:/[\uA732]/g},{base:"AE",letters:/[\u00C6\u01FC\u01E2]/g},{base:"AO",letters:/[\uA734]/g},{base:"AU",letters:/[\uA736]/g},{base:"AV",letters:/[\uA738\uA73A]/g},{base:"AY",letters:/[\uA73C]/g},{base:"B",letters:/[\u0042\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181]/g},{base:"C",letters:/[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E]/g},{base:"D",letters:/[\u0044\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779]/g},{base:"DZ",letters:/[\u01F1\u01C4]/g},{base:"Dz",letters:/[\u01F2\u01C5]/g},{base:"E",letters:/[\u0045\u24BA\uFF25\u00C8\u00C9\u00CA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\u00CB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E]/g},{base:"F",letters:/[\u0046\u24BB\uFF26\u1E1E\u0191\uA77B]/g},{base:"G",letters:/[\u0047\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E]/g},{base:"H",letters:/[\u0048\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D]/g},{base:"I",letters:/[\u0049\u24BE\uFF29\u00CC\u00CD\u00CE\u0128\u012A\u012C\u0130\u00CF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197]/g},{base:"J",letters:/[\u004A\u24BF\uFF2A\u0134\u0248]/g},{base:"K",letters:/[\u004B\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2]/g},{base:"L",letters:/[\u004C\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780]/g},{base:"LJ",letters:/[\u01C7]/g},{base:"Lj",letters:/[\u01C8]/g},{base:"M",letters:/[\u004D\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C]/g},{base:"N",letters:/[\u004E\u24C3\uFF2E\u01F8\u0143\u00D1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4]/g},{base:"NJ",letters:/[\u01CA]/g},{base:"Nj",letters:/[\u01CB]/g},{base:"O",letters:/[\u004F\u24C4\uFF2F\u00D2\u00D3\u00D4\u1ED2\u1ED0\u1ED6\u1ED4\u00D5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\u00D6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\u00D8\u01FE\u0186\u019F\uA74A\uA74C]/g},{base:"OI",letters:/[\u01A2]/g},{base:"OO",letters:/[\uA74E]/g},{base:"OU",letters:/[\u0222]/g},{base:"P",letters:/[\u0050\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754]/g},{base:"Q",letters:/[\u0051\u24C6\uFF31\uA756\uA758\u024A]/g},{base:"R",letters:/[\u0052\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782]/g},{base:"S",letters:/[\u0053\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784]/g},{base:"T",letters:/[\u0054\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786]/g},{base:"TZ",letters:/[\uA728]/g},{base:"U",letters:/[\u0055\u24CA\uFF35\u00D9\u00DA\u00DB\u0168\u1E78\u016A\u1E7A\u016C\u00DC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244]/g},{base:"V",letters:/[\u0056\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245]/g},{base:"VY",letters:/[\uA760]/g},{base:"W",letters:/[\u0057\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72]/g},{base:"X",letters:/[\u0058\u24CD\uFF38\u1E8A\u1E8C]/g},{base:"Y",letters:/[\u0059\u24CE\uFF39\u1EF2\u00DD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE]/g},{base:"Z",letters:/[\u005A\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762]/g},{base:"a",letters:/[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250]/g},{base:"aa",letters:/[\uA733]/g},{base:"ae",letters:/[\u00E6\u01FD\u01E3]/g},{base:"ao",letters:/[\uA735]/g},{base:"au",letters:/[\uA737]/g},{base:"av",letters:/[\uA739\uA73B]/g},{base:"ay",letters:/[\uA73D]/g},{base:"b",letters:/[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253]/g},{base:"c",letters:/[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184]/g},{base:"d",letters:/[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A]/g},{base:"dz",letters:/[\u01F3\u01C6]/g},{base:"e",letters:/[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD]/g},{base:"f",letters:/[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C]/g},{base:"g",letters:/[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F]/g},{base:"h",letters:/[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265]/g},{base:"hv",letters:/[\u0195]/g},{base:"i",letters:/[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131]/g},{base:"j",letters:/[\u006A\u24D9\uFF4A\u0135\u01F0\u0249]/g},{base:"k",letters:/[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3]/g},{base:"l",letters:/[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u017F\u0142\u019A\u026B\u2C61\uA749\uA781\uA747]/g},{base:"lj",letters:/[\u01C9]/g},{base:"m",letters:/[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F]/g},{base:"n",letters:/[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5]/g},{base:"nj",letters:/[\u01CC]/g},{base:"o",letters:/[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275]/g},{base:"oi",letters:/[\u01A3]/g},{base:"ou",letters:/[\u0223]/g},{base:"oo",letters:/[\uA74F]/g},{base:"p",letters:/[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755]/g},{base:"q",letters:/[\u0071\u24E0\uFF51\u024B\uA757\uA759]/g},{base:"r",letters:/[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783]/g},{base:"s",letters:/[\u0073\u24E2\uFF53\u00DF\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B]/g},{base:"t",letters:/[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787]/g},{base:"tz",letters:/[\uA729]/g},{base:"u",letters:/[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289]/g},{base:"v",letters:/[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C]/g},{base:"vy",letters:/[\uA761]/g},{base:"w",letters:/[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73]/g},{base:"x",letters:/[\u0078\u24E7\uFF58\u1E8B\u1E8D]/g},{base:"y",letters:/[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF]/g},{base:"z",letters:/[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763]/g}],K=function(e){for(var t=0;t<J.length;t++)e=e.replace(J[t].letters,J[t].base);return e},ee=function(e){return e.replace(/^\s+|\s+$/g,"")},te=function(e){return"".concat(e.label," ").concat(e.value)},ne=function(e){return o.a.createElement("span",M({className:Object(a.css)({label:"a11yText",zIndex:9999,border:0,clip:"rect(1px, 1px, 1px, 1px)",height:1,width:1,position:"absolute",overflow:"hidden",padding:0,whiteSpace:"nowrap",backgroundColor:"red",color:"blue"})},e))},re=function(e){function t(){return y(this,t),x(this,j(t).apply(this,arguments))}return N(t,e),v(t,[{key:"render",value:function(){var e=this.props,t=(e.in,e.out,e.onExited,e.appear,e.enter,e.exit,e.innerRef),n=(e.emotion,I(e,["in","out","onExited","appear","enter","exit","innerRef","emotion"]));return o.a.createElement("input",M({ref:t},n,{className:Object(a.css)({label:"dummyInput",background:0,border:0,fontSize:"inherit",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(0)"})}))}}]),t}(r.Component),oe=function(e){function t(){return y(this,t),x(this,j(t).apply(this,arguments))}return N(t,e),v(t,[{key:"componentDidMount",value:function(){this.props.innerRef(Object(s.findDOMNode)(this))}},{key:"componentWillUnmount",value:function(){this.props.innerRef(null)}},{key:"render",value:function(){return this.props.children}}]),t}(r.Component),ie=["boxSizing","height","overflow","paddingRight","position"],ae={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function se(e){e.preventDefault()}function ue(e){e.stopPropagation()}function le(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function ce(){return"ontouchstart"in window||navigator.maxTouchPoints}var fe=!("undefined"===typeof window||!window.document||!window.document.createElement),de=0,pe=function(e){function t(){var e,n;y(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return b(D(D(n=x(this,(e=j(t)).call.apply(e,[this].concat(o))))),"originalStyles",{}),b(D(D(n)),"listenerOptions",{capture:!1,passive:!1}),n}return N(t,e),v(t,[{key:"componentDidMount",value:function(){var e=this;if(fe){var t=this.props,n=t.accountForScrollbars,r=t.touchScrollTarget,o=document.body,i=o&&o.style;if(n&&ie.forEach((function(t){var n=i&&i[t];e.originalStyles[t]=n})),n&&de<1){var a=parseInt(this.originalStyles.paddingRight,10)||0,s=document.body?document.body.clientWidth:0,u=window.innerWidth-s+a||0;Object.keys(ae).forEach((function(e){var t=ae[e];i&&(i[e]=t)})),i&&(i.paddingRight="".concat(u,"px"))}o&&ce()&&(o.addEventListener("touchmove",se,this.listenerOptions),r&&(r.addEventListener("touchstart",le,this.listenerOptions),r.addEventListener("touchmove",ue,this.listenerOptions))),de+=1}}},{key:"componentWillUnmount",value:function(){var e=this;if(fe){var t=this.props,n=t.accountForScrollbars,r=t.touchScrollTarget,o=document.body,i=o&&o.style;de=Math.max(de-1,0),n&&de<1&&ie.forEach((function(t){var n=e.originalStyles[t];i&&(i[t]=n)})),o&&ce()&&(o.removeEventListener("touchmove",se,this.listenerOptions),r&&(r.removeEventListener("touchstart",le,this.listenerOptions),r.removeEventListener("touchmove",ue,this.listenerOptions)))}}},{key:"render",value:function(){return null}}]),t}(r.Component);b(pe,"defaultProps",{accountForScrollbars:!0});var he=function(e){function t(){var e,n;y(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return b(D(D(n=x(this,(e=j(t)).call.apply(e,[this].concat(o))))),"state",{touchScrollTarget:null}),b(D(D(n)),"getScrollTarget",(function(e){e!==n.state.touchScrollTarget&&n.setState({touchScrollTarget:e})})),b(D(D(n)),"blurSelectInput",(function(){document.activeElement&&document.activeElement.blur()})),n}return N(t,e),v(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=e.isEnabled,r=this.state.touchScrollTarget;return n?o.a.createElement("div",null,o.a.createElement("div",{onClick:this.blurSelectInput,className:Object(a.css)({position:"fixed",left:0,bottom:0,right:0,top:0})}),o.a.createElement(oe,{innerRef:this.getScrollTarget},t),r?o.a.createElement(pe,{touchScrollTarget:r}):null):t}}]),t}(r.PureComponent),ge=function(e){function t(){var e,n;y(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return b(D(D(n=x(this,(e=j(t)).call.apply(e,[this].concat(o))))),"isBottom",!1),b(D(D(n)),"isTop",!1),b(D(D(n)),"scrollTarget",void 0),b(D(D(n)),"touchStart",void 0),b(D(D(n)),"cancelScroll",(function(e){e.preventDefault(),e.stopPropagation()})),b(D(D(n)),"handleEventDelta",(function(e,t){var r=n.props,o=r.onBottomArrive,i=r.onBottomLeave,a=r.onTopArrive,s=r.onTopLeave,u=n.scrollTarget,l=u.scrollTop,c=u.scrollHeight,f=u.clientHeight,d=n.scrollTarget,p=t>0,h=c-f-l,g=!1;h>t&&n.isBottom&&(i&&i(e),n.isBottom=!1),p&&n.isTop&&(s&&s(e),n.isTop=!1),p&&t>h?(o&&!n.isBottom&&o(e),d.scrollTop=c,g=!0,n.isBottom=!0):!p&&-t>l&&(a&&!n.isTop&&a(e),d.scrollTop=0,g=!0,n.isTop=!0),g&&n.cancelScroll(e)})),b(D(D(n)),"onWheel",(function(e){n.handleEventDelta(e,e.deltaY)})),b(D(D(n)),"onTouchStart",(function(e){n.touchStart=e.changedTouches[0].clientY})),b(D(D(n)),"onTouchMove",(function(e){var t=n.touchStart-e.changedTouches[0].clientY;n.handleEventDelta(e,t)})),b(D(D(n)),"getScrollTarget",(function(e){n.scrollTarget=e})),n}return N(t,e),v(t,[{key:"componentDidMount",value:function(){this.startListening(this.scrollTarget)}},{key:"componentWillUnmount",value:function(){this.stopListening(this.scrollTarget)}},{key:"startListening",value:function(e){e&&(e.scrollHeight<=e.clientHeight||("function"===typeof e.addEventListener&&e.addEventListener("wheel",this.onWheel,!1),"function"===typeof e.addEventListener&&e.addEventListener("touchstart",this.onTouchStart,!1),"function"===typeof e.addEventListener&&e.addEventListener("touchmove",this.onTouchMove,!1)))}},{key:"stopListening",value:function(e){e.scrollHeight<=e.clientHeight||("function"===typeof e.removeEventListener&&e.removeEventListener("wheel",this.onWheel,!1),"function"===typeof e.removeEventListener&&e.removeEventListener("touchstart",this.onTouchStart,!1),"function"===typeof e.removeEventListener&&e.removeEventListener("touchmove",this.onTouchMove,!1))}},{key:"render",value:function(){return o.a.createElement(oe,{innerRef:this.getScrollTarget},this.props.children)}}]),t}(r.Component),ye=function(e){function t(){return y(this,t),x(this,j(t).apply(this,arguments))}return N(t,e),v(t,[{key:"render",value:function(){var e=this.props,t=e.isEnabled,n=I(e,["isEnabled"]);return t?o.a.createElement(ge,n):this.props.children}}]),t}(r.Component);b(ye,"defaultProps",{isEnabled:!0});var me=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.isSearchable,r=t.isMulti,o=t.label,i=t.isDisabled;switch(e){case"menu":return"Use Up and Down to choose options".concat(i?"":", press Enter to select the currently focused option",", press Escape to exit the menu, press Tab to select the option and exit the menu.");case"input":return"".concat(o||"Select"," is focused ").concat(n?",type to refine list":"",", press Down to open the menu, ").concat(r?" press left to focus selected values":"");case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value"}},ve=function(e,t){var n=t.value,r=t.isDisabled;if(n)switch(e){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(n,", deselected.");case"select-option":return"option ".concat(n,r?" is disabled. Select another option.":", selected.")}},be=function(e){return!!e.isDisabled},Me=function(e){function t(){return y(this,t),x(this,j(t).apply(this,arguments))}return N(t,e),v(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=e.className,r=e.cx,i=e.isMulti,s=e.getStyles,u=e.hasValue;return o.a.createElement("div",{className:r(Object(a.css)(s("valueContainer",this.props)),{"value-container":!0,"value-container--is-multi":i,"value-container--has-value":u},n)},t)}}]),t}(r.Component),we=function(e){var t=e.size,n=I(e,["size"]);return o.a.createElement("svg",M({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",className:Object(a.css)({display:"inline-block",fill:"currentColor",lineHeight:1,stroke:"currentColor",strokeWidth:0})},n))},Ne=function(e){return o.a.createElement(we,M({size:20},e),o.a.createElement("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},je=function(e){return o.a.createElement(we,M({size:20},e),o.a.createElement("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},Se=function(e){var t=e.isFocused,n=e.theme,r=n.spacing.baseUnit,o=n.colors;return{label:"indicatorContainer",color:t?o.neutral60:o.neutral20,display:"flex",padding:2*r,transition:"color 150ms",":hover":{color:t?o.neutral80:o.neutral40}}},Ie=Se,De=Se,xe=!1,Ee=function(e){var t=e.color,n=e.delay,r=e.offset;return o.a.createElement("span",{className:Object(a.css)({animationDuration:"1s",animationDelay:"".concat(n,"ms"),animationIterationCount:"infinite",animationName:"react-select-loading-indicator",animationTimingFunction:"ease-in-out",backgroundColor:t,borderRadius:"1em",display:"inline-block",marginLeft:r?"1em":null,height:"1em",verticalAlign:"top",width:"1em"})})},Oe=function(e){var t=e.className,n=e.cx,r=e.getStyles,i=e.innerProps,s=e.isFocused,u=e.isRtl,l=e.theme.colors,c=s?l.neutral80:l.neutral20;return xe||(Object(a.injectGlobal)("@keyframes ","react-select-loading-indicator","{0%,80%,100%{opacity:0;}40%{opacity:1;}};"),xe=!0),o.a.createElement("div",M({},i,{className:n(Object(a.css)(r("loadingIndicator",e)),{indicator:!0,"loading-indicator":!0},t)}),o.a.createElement(Ee,{color:c,delay:0,offset:u}),o.a.createElement(Ee,{color:c,delay:160,offset:!0}),o.a.createElement(Ee,{color:c,delay:320,offset:!u}))};Oe.defaultProps={size:4};var Te=function(e){return{label:"input",background:0,border:0,fontSize:"inherit",opacity:e?0:1,outline:0,padding:0,color:"inherit"}},Ce=function(e){var t=e.children,n=e.innerProps;return o.a.createElement("div",n,t)},ke=Ce,Le=Ce,_e=function(e){function t(){return y(this,t),x(this,j(t).apply(this,arguments))}return N(t,e),v(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=e.innerProps;return o.a.createElement("div",n,t||o.a.createElement(Ne,{size:14}))}}]),t}(r.Component),Ae=function(e){function t(){return y(this,t),x(this,j(t).apply(this,arguments))}return N(t,e),v(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=e.className,r=e.components,i=e.cx,s=e.data,u=e.getStyles,l=e.innerProps,c=e.isDisabled,f=e.removeProps,d=e.selectProps,p=r.Container,h=r.Label,g=r.Remove,y=w({className:i(Object(a.css)(u("multiValue",this.props)),{"multi-value":!0,"multi-value--is-disabled":c},n)},l),m={className:i(Object(a.css)(u("multiValueLabel",this.props)),{"multi-value__label":!0},n)},v=w({className:i(Object(a.css)(u("multiValueRemove",this.props)),{"multi-value__remove":!0},n)},f);return o.a.createElement(p,{data:s,innerProps:y,selectProps:d},o.a.createElement(h,{data:s,innerProps:m,selectProps:d},t),o.a.createElement(g,{data:s,innerProps:v,selectProps:d}))}}]),t}(r.Component);b(Ae,"defaultProps",{cropWithEllipsis:!0});var ze={ClearIndicator:function(e){var t=e.children,n=e.className,r=e.cx,i=e.getStyles,s=e.innerProps;return o.a.createElement("div",M({},s,{className:r(Object(a.css)(i("clearIndicator",e)),{indicator:!0,"clear-indicator":!0},n)}),t||o.a.createElement(Ne,null))},Control:function(e){var t=e.children,n=e.cx,r=e.getStyles,i=e.className,s=e.isDisabled,u=e.isFocused,l=e.innerRef,c=e.innerProps,f=e.menuIsOpen;return o.a.createElement("div",M({ref:l,className:n(Object(a.css)(r("control",e)),{control:!0,"control--is-disabled":s,"control--is-focused":u,"control--menu-is-open":f},i)},c),t)},DropdownIndicator:function(e){var t=e.children,n=e.className,r=e.cx,i=e.getStyles,s=e.innerProps;return o.a.createElement("div",M({},s,{className:r(Object(a.css)(i("dropdownIndicator",e)),{indicator:!0,"dropdown-indicator":!0},n)}),t||o.a.createElement(je,null))},DownChevron:je,CrossIcon:Ne,Group:function(e){var t=e.children,n=e.className,r=e.cx,i=e.getStyles,s=e.Heading,u=e.headingProps,l=e.label,c=e.theme,f=e.selectProps;return o.a.createElement("div",{className:r(Object(a.css)(i("group",e)),{group:!0},n)},o.a.createElement(s,M({},u,{selectProps:f,theme:c,getStyles:i,cx:r}),l),o.a.createElement("div",null,t))},GroupHeading:function(e){var t=e.className,n=e.cx,r=e.getStyles,i=e.theme,s=(e.selectProps,I(e,["className","cx","getStyles","theme","selectProps"]));return o.a.createElement("div",M({className:n(Object(a.css)(r("groupHeading",w({theme:i},s))),{"group-heading":!0},t)},s))},IndicatorsContainer:function(e){var t=e.children,n=e.className,r=e.cx,i=e.getStyles;return o.a.createElement("div",{className:r(Object(a.css)(i("indicatorsContainer",e)),{indicators:!0},n)},t)},IndicatorSeparator:function(e){var t=e.className,n=e.cx,r=e.getStyles,i=e.innerProps;return o.a.createElement("span",M({},i,{className:n(Object(a.css)(r("indicatorSeparator",e)),{"indicator-separator":!0},t)}))},Input:function(e){var t=e.className,n=e.cx,r=e.getStyles,i=e.innerRef,s=e.isHidden,u=e.isDisabled,l=e.theme,c=(e.selectProps,I(e,["className","cx","getStyles","innerRef","isHidden","isDisabled","theme","selectProps"]));return o.a.createElement("div",{className:Object(a.css)(r("input",w({theme:l},c)))},o.a.createElement(p.a,M({className:n(null,{input:!0},t),inputRef:i,inputStyle:Te(s),disabled:u},c)))},LoadingIndicator:Oe,Menu:function(e){var t=e.children,n=e.className,r=e.cx,i=e.getStyles,s=e.innerRef,u=e.innerProps,l=r(Object(a.css)(i("menu",e)),{menu:!0},n);return o.a.createElement("div",M({className:l},u,{ref:s}),t)},MenuList:function(e){var t=e.children,n=e.className,r=e.cx,i=e.getStyles,s=e.isMulti,u=e.innerRef;return o.a.createElement("div",{className:r(Object(a.css)(i("menuList",e)),{"menu-list":!0,"menu-list--is-multi":s},n),ref:u},t)},MenuPortal:W,LoadingMessage:Q,NoOptionsMessage:V,MultiValue:Ae,MultiValueContainer:ke,MultiValueLabel:Le,MultiValueRemove:_e,Option:function(e){var t=e.children,n=e.className,r=e.cx,i=e.getStyles,s=e.isDisabled,u=e.isFocused,l=e.isSelected,c=e.innerRef,f=e.innerProps;return o.a.createElement("div",M({ref:c,className:r(Object(a.css)(i("option",e)),{option:!0,"option--is-disabled":s,"option--is-focused":u,"option--is-selected":l},n)},f),t)},Placeholder:function(e){var t=e.children,n=e.className,r=e.cx,i=e.getStyles,s=e.innerProps;return o.a.createElement("div",M({className:r(Object(a.css)(i("placeholder",e)),{placeholder:!0},n)},s),t)},SelectContainer:function(e){var t=e.children,n=e.className,r=e.cx,i=e.getStyles,s=e.innerProps,u=e.isDisabled,l=e.isRtl;return o.a.createElement("div",M({className:r(Object(a.css)(i("container",e)),{"--is-disabled":u,"--is-rtl":l},n)},s),t)},SingleValue:function(e){var t=e.children,n=e.className,r=e.cx,i=e.getStyles,s=e.isDisabled,u=e.innerProps;return o.a.createElement("div",M({className:r(Object(a.css)(i("singleValue",e)),{"single-value":!0,"single-value--is-disabled":s},n)},u),t)},ValueContainer:Me},Pe=function(e){return w({},ze,e.components)},Re={clearIndicator:De,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":null,pointerEvents:t?"none":null,position:"relative"}},control:function(e){var t=e.isDisabled,n=e.isFocused,r=e.theme,o=r.colors,i=r.borderRadius,a=r.spacing;return{label:"control",alignItems:"center",backgroundColor:t?o.neutral5:o.neutral0,borderColor:t?o.neutral10:n?o.primary:o.neutral20,borderRadius:i,borderStyle:"solid",borderWidth:1,boxShadow:n?"0 0 0 1px ".concat(o.primary):null,cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:a.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms","&:hover":{borderColor:n?o.primary:o.neutral30}}},dropdownIndicator:Ie,group:function(e){var t=e.theme.spacing;return{paddingBottom:2*t.baseUnit,paddingTop:2*t.baseUnit}},groupHeading:function(e){var t=e.theme.spacing;return{label:"group",color:"#999",cursor:"default",display:"block",fontSize:"75%",fontWeight:"500",marginBottom:"0.25em",paddingLeft:3*t.baseUnit,paddingRight:3*t.baseUnit,textTransform:"uppercase"}},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e){var t=e.isDisabled,n=e.theme,r=n.spacing.baseUnit,o=n.colors;return{label:"indicatorSeparator",alignSelf:"stretch",backgroundColor:t?o.neutral10:o.neutral20,marginBottom:2*r,marginTop:2*r,width:1}},input:function(e){var t=e.isDisabled,n=e.theme,r=n.spacing,o=n.colors;return{margin:r.baseUnit/2,paddingBottom:r.baseUnit/2,paddingTop:r.baseUnit/2,visibility:t?"hidden":"visible",color:o.neutral80}},loadingIndicator:function(e){var t=e.isFocused,n=e.size,r=e.theme,o=r.colors,i=r.spacing.baseUnit;return{label:"loadingIndicator",color:t?o.neutral60:o.neutral20,display:"flex",padding:2*i,transition:"color 150ms",alignSelf:"center",fontSize:n,lineHeight:1,marginRight:n,textAlign:"center",verticalAlign:"middle"}},loadingMessage:H,menu:function(e){var t,n=e.placement,r=e.theme,o=r.borderRadius,i=r.spacing,a=r.colors;return b(t={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(n),"100%"),b(t,"backgroundColor",a.neutral0),b(t,"borderRadius",o),b(t,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),b(t,"marginBottom",i.menuGutter),b(t,"marginTop",i.menuGutter),b(t,"position","absolute"),b(t,"width","100%"),b(t,"zIndex",1),t},menuList:function(e){var t=e.maxHeight,n=e.theme.spacing.baseUnit;return{maxHeight:t,overflowY:"auto",paddingBottom:n,paddingTop:n,position:"relative",WebkitOverflowScrolling:"touch"}},menuPortal:function(e){var t=e.rect,n=e.offset,r=e.position;return{left:t.left,position:r,top:n,width:t.width,zIndex:1}},multiValue:function(e){var t=e.theme,n=t.spacing,r=t.borderRadius;return{label:"multiValue",backgroundColor:t.colors.neutral10,borderRadius:r/2,display:"flex",margin:n.baseUnit/2,minWidth:0}},multiValueLabel:function(e){var t=e.theme,n=t.borderRadius,r=t.colors,o=e.cropWithEllipsis;return{borderRadius:n/2,color:r.neutral80,fontSize:"85%",overflow:"hidden",padding:3,paddingLeft:6,textOverflow:o?"ellipsis":null,whiteSpace:"nowrap"}},multiValueRemove:function(e){var t=e.theme,n=t.spacing,r=t.borderRadius,o=t.colors;return{alignItems:"center",borderRadius:r/2,backgroundColor:e.isFocused&&o.dangerLight,display:"flex",paddingLeft:n.baseUnit,paddingRight:n.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}}},noOptionsMessage:G,option:function(e){var t=e.isDisabled,n=e.isFocused,r=e.isSelected,o=e.theme,i=o.spacing,a=o.colors;return{label:"option",backgroundColor:r?a.primary:n?a.primary25:"transparent",color:t?a.neutral20:r?a.neutral0:"inherit",cursor:"default",display:"block",fontSize:"inherit",padding:"".concat(2*i.baseUnit,"px ").concat(3*i.baseUnit,"px"),width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",":active":{backgroundColor:!t&&(r?a.primary:a.primary50)}}},placeholder:function(e){var t=e.theme,n=t.spacing;return{label:"placeholder",color:t.colors.neutral50,marginLeft:n.baseUnit/2,marginRight:n.baseUnit/2,position:"absolute",top:"50%",transform:"translateY(-50%)"}},singleValue:function(e){var t=e.isDisabled,n=e.theme,r=n.spacing,o=n.colors;return{label:"singleValue",color:t?o.neutral40:o.neutral80,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2,maxWidth:"calc(100% - ".concat(2*r.baseUnit,"px)"),overflow:"hidden",position:"absolute",textOverflow:"ellipsis",whiteSpace:"nowrap",top:"50%",transform:"translateY(-50%)"}},valueContainer:function(e){var t=e.theme.spacing;return{alignItems:"center",display:"flex",flex:1,flexWrap:"wrap",padding:"".concat(t.baseUnit/2,"px ").concat(2*t.baseUnit,"px"),WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"}}};var Ue,Be={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}},Fe={backspaceRemovesValue:!0,blurInputOnSelect:R(),captureMenuScroll:!R(),closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){var n=w({ignoreCase:!0,ignoreAccents:!0,stringify:te,trim:!0,matchFrom:"any"},Ue),r=n.ignoreCase,o=n.ignoreAccents,i=n.stringify,a=n.trim,s=n.matchFrom,u=a?ee(t):t,l=a?ee(i(e)):i(e);return r&&(u=u.toLowerCase(),l=l.toLowerCase()),o&&(u=K(u),l=K(l)),"start"===s?l.substr(0,u.length)===u:l.indexOf(u)>-1},formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:be,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:"0",tabSelectsValue:!0},Ye=1,Ge=function(e){function t(e){var n;y(this,t),b(D(D(n=x(this,j(t).call(this,e)))),"state",{ariaLiveSelection:"",ariaLiveContext:"",focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,menuOptions:{render:[],focusable:[]},selectValue:[]}),b(D(D(n)),"blockOptionHover",!1),b(D(D(n)),"isComposing",!1),b(D(D(n)),"clearFocusValueOnUpdate",!1),b(D(D(n)),"commonProps",void 0),b(D(D(n)),"components",void 0),b(D(D(n)),"hasGroups",!1),b(D(D(n)),"initialTouchX",0),b(D(D(n)),"initialTouchY",0),b(D(D(n)),"inputIsHiddenAfterUpdate",void 0),b(D(D(n)),"instancePrefix",""),b(D(D(n)),"openAfterFocus",!1),b(D(D(n)),"scrollToFocusedOptionOnUpdate",!1),b(D(D(n)),"userIsDragging",void 0),b(D(D(n)),"controlRef",null),b(D(D(n)),"getControlRef",(function(e){n.controlRef=e})),b(D(D(n)),"focusedOptionRef",null),b(D(D(n)),"getFocusedOptionRef",(function(e){n.focusedOptionRef=e})),b(D(D(n)),"menuListRef",null),b(D(D(n)),"getMenuListRef",(function(e){n.menuListRef=e})),b(D(D(n)),"inputRef",null),b(D(D(n)),"getInputRef",(function(e){n.inputRef=e})),b(D(D(n)),"cacheComponents",(function(e){n.components=Pe({components:e})})),b(D(D(n)),"focus",n.focusInput),b(D(D(n)),"blur",n.blurInput),b(D(D(n)),"onChange",(function(e,t){var r=n.props;(0,r.onChange)(e,w({},t,{name:r.name}))})),b(D(D(n)),"setValue",(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"set-value",r=arguments.length>2?arguments[2]:void 0,o=n.props,i=o.closeMenuOnSelect,a=o.isMulti;n.onInputChange("",{action:"set-value"}),i&&(n.inputIsHiddenAfterUpdate=!a,n.onMenuClose()),n.clearFocusValueOnUpdate=!0,n.onChange(e,{action:t,option:r})})),b(D(D(n)),"selectOption",(function(e){var t=n.props,r=t.blurInputOnSelect,o=t.isMulti,i=n.state.selectValue;if(o)if(n.isOptionSelected(e,i)){var a=n.getOptionValue(e);n.setValue(i.filter((function(e){return n.getOptionValue(e)!==a})),"deselect-option",e),n.announceAriaLiveSelection({event:"deselect-option",context:{value:n.getOptionLabel(e)}})}else n.isOptionDisabled(e,i)?n.announceAriaLiveSelection({event:"select-option",context:{value:n.getOptionLabel(e),isDisabled:!0}}):(n.setValue([].concat(E(i),[e]),"select-option",e),n.announceAriaLiveSelection({event:"select-option",context:{value:n.getOptionLabel(e)}}));else n.isOptionDisabled(e,i)?n.announceAriaLiveSelection({event:"select-option",context:{value:n.getOptionLabel(e),isDisabled:!0}}):(n.setValue(e,"select-option"),n.announceAriaLiveSelection({event:"select-option",context:{value:n.getOptionLabel(e)}}));r&&n.blurInput()})),b(D(D(n)),"removeValue",(function(e){var t=n.state.selectValue,r=n.getOptionValue(e);n.onChange(t.filter((function(e){return n.getOptionValue(e)!==r})),{action:"remove-value",removedValue:e}),n.announceAriaLiveSelection({event:"remove-value",context:{value:e?n.getOptionLabel(e):""}}),n.focusInput()})),b(D(D(n)),"clearValue",(function(){var e=n.props.isMulti;n.onChange(e?[]:null,{action:"clear"})})),b(D(D(n)),"popValue",(function(){var e=n.state.selectValue,t=e[e.length-1];n.announceAriaLiveSelection({event:"pop-value",context:{value:t?n.getOptionLabel(t):""}}),n.onChange(e.slice(0,e.length-1),{action:"pop-value",removedValue:t})})),b(D(D(n)),"getOptionLabel",(function(e){return n.props.getOptionLabel(e)})),b(D(D(n)),"getOptionValue",(function(e){return n.props.getOptionValue(e)})),b(D(D(n)),"getStyles",(function(e,t){var r=Re[e](t);r.boxSizing="border-box";var o=n.props.styles[e];return o?o(r,t):r})),b(D(D(n)),"getElementId",(function(e){return"".concat(n.instancePrefix,"-").concat(e)})),b(D(D(n)),"getActiveDescendentId",(function(){var e=n.props.menuIsOpen,t=n.state,r=t.menuOptions,o=t.focusedOption;if(o&&e){var i=r.focusable.indexOf(o),a=r.render[i];return a&&a.key}})),b(D(D(n)),"announceAriaLiveSelection",(function(e){var t=e.event,r=e.context;n.setState({ariaLiveSelection:ve(t,r)})})),b(D(D(n)),"announceAriaLiveContext",(function(e){var t=e.event,r=e.context;n.setState({ariaLiveContext:me(t,w({},r,{label:n.props["aria-label"]}))})})),b(D(D(n)),"onMenuMouseDown",(function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),n.focusInput())})),b(D(D(n)),"onMenuMouseMove",(function(e){n.blockOptionHover=!1})),b(D(D(n)),"onControlMouseDown",(function(e){var t=n.props.openMenuOnClick;n.state.isFocused?n.props.menuIsOpen?"INPUT"!==e.target.tagName&&n.onMenuClose():t&&n.openMenu("first"):(t&&(n.openAfterFocus=!0),n.focusInput()),"INPUT"!==e.target.tagName&&e.preventDefault()})),b(D(D(n)),"onDropdownIndicatorMouseDown",(function(e){if((!e||"mousedown"!==e.type||0===e.button)&&!n.props.isDisabled){var t=n.props,r=t.isMulti,o=t.menuIsOpen;n.focusInput(),o?(n.inputIsHiddenAfterUpdate=!r,n.onMenuClose()):n.openMenu("first"),e.preventDefault(),e.stopPropagation()}})),b(D(D(n)),"onClearIndicatorMouseDown",(function(e){e&&"mousedown"===e.type&&0!==e.button||(n.clearValue(),e.stopPropagation(),n.openAfterFocus=!1,setTimeout((function(){return n.focusInput()})))})),b(D(D(n)),"onScroll",(function(e){"boolean"===typeof n.props.closeMenuOnScroll?e.target instanceof HTMLElement&&L(e.target)&&n.props.onMenuClose():"function"===typeof n.props.closeMenuOnScroll&&n.props.closeMenuOnScroll(e)&&n.props.onMenuClose()})),b(D(D(n)),"onCompositionStart",(function(){n.isComposing=!0})),b(D(D(n)),"onCompositionEnd",(function(){n.isComposing=!1})),b(D(D(n)),"onTouchStart",(function(e){var t=e.touches.item(0);t&&(n.initialTouchX=t.clientX,n.initialTouchY=t.clientY,n.userIsDragging=!1)})),b(D(D(n)),"onTouchMove",(function(e){var t=e.touches.item(0);if(t){var r=Math.abs(t.clientX-n.initialTouchX),o=Math.abs(t.clientY-n.initialTouchY);n.userIsDragging=r>5||o>5}})),b(D(D(n)),"onTouchEnd",(function(e){n.userIsDragging||(n.controlRef&&!n.controlRef.contains(e.target)&&n.menuListRef&&!n.menuListRef.contains(e.target)&&n.blurInput(),n.initialTouchX=0,n.initialTouchY=0)})),b(D(D(n)),"onControlTouchEnd",(function(e){n.userIsDragging||n.onControlMouseDown(e)})),b(D(D(n)),"onClearIndicatorTouchEnd",(function(e){n.userIsDragging||n.onClearIndicatorMouseDown(e)})),b(D(D(n)),"onDropdownIndicatorTouchEnd",(function(e){n.userIsDragging||n.onDropdownIndicatorMouseDown(e)})),b(D(D(n)),"handleInputChange",(function(e){var t=e.currentTarget.value;n.inputIsHiddenAfterUpdate=!1,n.onInputChange(t,{action:"input-change"}),n.onMenuOpen()})),b(D(D(n)),"onInputFocus",(function(e){var t=n.props,r=t.isSearchable,o=t.isMulti;n.props.onFocus&&n.props.onFocus(e),n.inputIsHiddenAfterUpdate=!1,n.announceAriaLiveContext({event:"input",context:{isSearchable:r,isMulti:o}}),n.setState({isFocused:!0}),(n.openAfterFocus||n.props.openMenuOnFocus)&&n.openMenu("first"),n.openAfterFocus=!1})),b(D(D(n)),"onInputBlur",(function(e){n.menuListRef&&n.menuListRef.contains(document.activeElement)?n.inputRef.focus():(n.props.onBlur&&n.props.onBlur(e),n.onInputChange("",{action:"input-blur"}),n.onMenuClose(),n.setState({focusedValue:null,isFocused:!1}))})),b(D(D(n)),"onOptionHover",(function(e){n.blockOptionHover||n.state.focusedOption===e||n.setState({focusedOption:e})})),b(D(D(n)),"shouldHideSelectedOptions",(function(){var e=n.props,t=e.hideSelectedOptions,r=e.isMulti;return void 0===t?r:t})),b(D(D(n)),"onKeyDown",(function(e){var t=n.props,r=t.isMulti,o=t.backspaceRemovesValue,i=t.escapeClearsValue,a=t.inputValue,s=t.isClearable,u=t.isDisabled,l=t.menuIsOpen,c=t.onKeyDown,f=t.tabSelectsValue,d=t.openMenuOnFocus,p=n.state,h=p.focusedOption,g=p.focusedValue,y=p.selectValue;if(!u&&("function"!==typeof c||(c(e),!e.defaultPrevented))){switch(n.blockOptionHover=!0,e.key){case"ArrowLeft":if(!r||a)return;n.focusValue("previous");break;case"ArrowRight":if(!r||a)return;n.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(g)n.removeValue(g);else{if(!o)return;r?n.popValue():s&&n.clearValue()}break;case"Tab":if(n.isComposing)return;if(e.shiftKey||!l||!f||!h||d&&n.isOptionSelected(h,y))return;n.selectOption(h);break;case"Enter":if(229===e.keyCode)break;if(l){if(!h)return;if(n.isComposing)return;n.selectOption(h);break}return;case"Escape":l?(n.inputIsHiddenAfterUpdate=!1,n.onInputChange("",{action:"menu-close"}),n.onMenuClose()):s&&i&&n.clearValue();break;case" ":if(a)return;if(!l){n.openMenu("first");break}if(!h)return;n.selectOption(h);break;case"ArrowUp":l?n.focusOption("up"):n.openMenu("last");break;case"ArrowDown":l?n.focusOption("down"):n.openMenu("first");break;case"PageUp":if(!l)return;n.focusOption("pageup");break;case"PageDown":if(!l)return;n.focusOption("pagedown");break;case"Home":if(!l)return;n.focusOption("first");break;case"End":if(!l)return;n.focusOption("last");break;default:return}e.preventDefault()}}));var r=e.value;n.cacheComponents=Object(i.default)(n.cacheComponents,$).bind(D(D(n))),n.cacheComponents(e.components),n.instancePrefix="react-select-"+(n.props.instanceId||++Ye);var o=k(r),a=n.buildMenuOptions(e,o);return n.state.menuOptions=a,n.state.selectValue=o,n}return N(t,e),v(t,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput()}},{key:"componentWillReceiveProps",value:function(e){var t=this.props,n=t.options,r=t.value,o=t.inputValue;if(this.cacheComponents(e.components),e.value!==r||e.options!==n||e.inputValue!==o){var i=k(e.value),a=this.buildMenuOptions(e,i),s=this.getNextFocusedValue(i),u=this.getNextFocusedOption(a.focusable);this.setState({menuOptions:a,selectValue:i,focusedOption:u,focusedValue:s})}null!=this.inputIsHiddenAfterUpdate&&(this.setState({inputIsHidden:this.inputIsHiddenAfterUpdate}),delete this.inputIsHiddenAfterUpdate)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,r=t.menuIsOpen,o=this.state.isFocused;(o&&!n&&e.isDisabled||o&&r&&!e.menuIsOpen)&&this.focusInput(),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&function(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),o=t.offsetHeight/3;r.bottom+o>n.bottom?A(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+o,e.scrollHeight)):r.top-o<n.top&&A(e,Math.max(t.offsetTop-o,0))}(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){var e=this.props,t=e.isSearchable,n=e.isMulti;this.announceAriaLiveContext({event:"input",context:{isSearchable:t,isMulti:n}}),this.onInputChange("",{action:"menu-close"}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this.state,n=t.menuOptions,r=t.selectValue,o=t.isFocused,i=this.props.isMulti,a="first"===e?0:n.focusable.length-1;if(!i){var s=n.focusable.indexOf(r[0]);s>-1&&(a=s)}this.scrollToFocusedOptionOnUpdate=!(o&&this.menuListRef),this.inputIsHiddenAfterUpdate=!1,this.onMenuOpen(),this.setState({focusedValue:null,focusedOption:n.focusable[a]}),this.announceAriaLiveContext({event:"menu"})}},{key:"focusValue",value:function(e){var t=this.props,n=t.isMulti,r=t.isSearchable,o=this.state,i=o.selectValue,a=o.focusedValue;if(n){this.setState({focusedOption:null});var s=i.indexOf(a);a||(s=-1,this.announceAriaLiveContext({event:"value"}));var u=i.length-1,l=-1;if(i.length){switch(e){case"previous":l=0===s?0:-1===s?u:s-1;break;case"next":s>-1&&s<u&&(l=s+1)}-1===l&&this.announceAriaLiveContext({event:"input",context:{isSearchable:r,isMulti:n}}),this.setState({inputIsHidden:-1!==l,focusedValue:i[l]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state,r=n.focusedOption,o=n.menuOptions,i=o.focusable;if(i.length){var a=0,s=i.indexOf(r);r||(s=-1,this.announceAriaLiveContext({event:"menu"})),"up"===e?a=s>0?s-1:i.length-1:"down"===e?a=(s+1)%i.length:"pageup"===e?(a=s-t)<0&&(a=0):"pagedown"===e?(a=s+t)>i.length-1&&(a=i.length-1):"last"===e&&(a=i.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:i[a],focusedValue:null}),this.announceAriaLiveContext({event:"menu",context:{isDisabled:be(i[a])}})}}},{key:"getTheme",value:function(){return this.props.theme?"function"===typeof this.props.theme?this.props.theme(Be):w({},Be,this.props.theme):Be}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.getStyles,n=this.setValue,r=this.selectOption,o=this.props,i=o.classNamePrefix,a=o.isMulti,s=o.isRtl,u=o.options,l=this.state.selectValue,c=this.hasValue();return{cx:C.bind(null,i),clearValue:e,getStyles:t,getValue:function(){return l},hasValue:c,isMulti:a,isRtl:s,options:u,selectOption:r,setValue:n,selectProps:o,theme:this.getTheme()}}},{key:"getNextFocusedValue",value:function(e){if(this.clearFocusValueOnUpdate)return this.clearFocusValueOnUpdate=!1,null;var t=this.state,n=t.focusedValue,r=t.selectValue.indexOf(n);if(r>-1){if(e.indexOf(n)>-1)return n;if(r<e.length)return e[r]}return null}},{key:"getNextFocusedOption",value:function(e){var t=this.state.focusedOption;return t&&e.indexOf(t)>-1?t:e[0]}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.state.menuOptions.render.length}},{key:"countOptions",value:function(){return this.state.menuOptions.focusable.length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return"function"===typeof this.props.isOptionDisabled&&this.props.isOptionDisabled(e,t)}},{key:"isOptionSelected",value:function(e,t){var n=this;if(t.indexOf(e)>-1)return!0;if("function"===typeof this.props.isOptionSelected)return this.props.isOptionSelected(e,t);var r=this.getOptionValue(e);return t.some((function(e){return n.getOptionValue(e)===r}))}},{key:"filterOption",value:function(e,t){return!this.props.filterOption||this.props.filterOption(e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"===typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"buildMenuOptions",value:function(e,t){var n=this,r=e.inputValue,o=void 0===r?"":r,i=e.options,a=function(e,r){var i=n.isOptionDisabled(e,t),a=n.isOptionSelected(e,t),s=n.getOptionLabel(e),u=n.getOptionValue(e);if(!(n.shouldHideSelectedOptions()&&a||!n.filterOption({label:s,value:u,data:e},o))){var l=i?void 0:function(){return n.onOptionHover(e)},c=i?void 0:function(){return n.selectOption(e)},f="".concat(n.getElementId("option"),"-").concat(r);return{innerProps:{id:f,onClick:c,onMouseMove:l,onMouseOver:l,tabIndex:-1},data:e,isDisabled:i,isSelected:a,key:f,label:s,type:"option",value:u}}};return i.reduce((function(e,t,r){if(t.options){n.hasGroups||(n.hasGroups=!0);var o=t.options.map((function(t,n){var o=a(t,"".concat(r,"-").concat(n));return o&&e.focusable.push(t),o})).filter(Boolean);if(o.length){var i="".concat(n.getElementId("group"),"-").concat(r);e.render.push({type:"group",key:i,data:t,options:o})}}else{var s=a(t,"".concat(r));s&&(e.render.push(s),e.focusable.push(t))}return e}),{render:[],focusable:[]})}},{key:"constructAriaLiveMessage",value:function(){var e=this.state,t=e.ariaLiveContext,n=e.selectValue,r=e.focusedValue,o=e.focusedOption,i=this.props,a=i.options,s=i.menuIsOpen,u=i.inputValue,l=i.screenReaderStatus,c=r?function(e){var t=e.focusedValue,n=e.getOptionLabel,r=e.selectValue;return"value ".concat(n(t)," focused, ").concat(r.indexOf(t)+1," of ").concat(r.length,".")}({focusedValue:r,getOptionLabel:this.getOptionLabel,selectValue:n}):"",f=o&&s?function(e){var t=e.focusedOption,n=e.getOptionLabel,r=e.options;return"option ".concat(n(t)," focused").concat(t.isDisabled?" disabled":"",", ").concat(r.indexOf(t)+1," of ").concat(r.length,".")}({focusedOption:o,getOptionLabel:this.getOptionLabel,options:a}):"",d=function(e){var t=e.inputValue,n=e.screenReaderMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}({inputValue:u,screenReaderMessage:l({count:this.countOptions()})});return"".concat(c," ").concat(f," ").concat(d," ").concat(t)}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,r=e.inputId,i=e.inputValue,a=e.tabIndex,s=this.components.Input,u=this.state.inputIsHidden,l=r||this.getElementId("input");if(!n)return o.a.createElement(re,{id:l,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:O,onFocus:this.onInputFocus,readOnly:!0,disabled:t,tabIndex:a,value:""});var c={"aria-autocomplete":"list","aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"]},f=this.commonProps,d=f.cx,p=f.theme,h=f.selectProps;return o.a.createElement(s,M({autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",cx:d,getStyles:this.getStyles,id:l,innerRef:this.getInputRef,isDisabled:t,isHidden:u,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,selectProps:h,spellCheck:"false",tabIndex:a,theme:p,type:"text",value:i},c))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.components,n=t.MultiValue,r=t.MultiValueContainer,i=t.MultiValueLabel,a=t.MultiValueRemove,s=t.SingleValue,u=t.Placeholder,l=this.commonProps,c=this.props,f=c.controlShouldRenderValue,d=c.isDisabled,p=c.isMulti,h=c.inputValue,g=c.placeholder,y=this.state,m=y.selectValue,v=y.focusedValue,b=y.isFocused;if(!this.hasValue()||!f)return h?null:o.a.createElement(u,M({},l,{key:"placeholder",isDisabled:d,isFocused:b}),g);if(p)return m.map((function(t){var s=t===v;return o.a.createElement(n,M({},l,{components:{Container:r,Label:i,Remove:a},isFocused:s,isDisabled:d,key:e.getOptionValue(t),removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault(),e.stopPropagation()}},data:t}),e.formatOptionLabel(t,"value"))}));if(h)return null;var w=m[0];return o.a.createElement(s,M({},l,{data:w,isDisabled:d}),this.formatOptionLabel(w,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.components.ClearIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,i=n.isLoading,a=this.state.isFocused;if(!this.isClearable()||!e||r||!this.hasValue()||i)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return o.a.createElement(e,M({},t,{innerProps:s,isFocused:a}))}},{key:"renderLoadingIndicator",value:function(){var e=this.components.LoadingIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,i=n.isLoading,a=this.state.isFocused;if(!e||!i)return null;return o.a.createElement(e,M({},t,{innerProps:{"aria-hidden":"true"},isDisabled:r,isFocused:a}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.components,t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var r=this.commonProps,i=this.props.isDisabled,a=this.state.isFocused;return o.a.createElement(n,M({},r,{isDisabled:i,isFocused:a}))}},{key:"renderDropdownIndicator",value:function(){var e=this.components.DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,r=this.state.isFocused,i={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return o.a.createElement(e,M({},t,{innerProps:i,isDisabled:n,isFocused:r}))}},{key:"renderMenu",value:function(){var e=this,t=this.components,n=t.Group,r=t.GroupHeading,i=t.Menu,a=t.MenuList,s=t.MenuPortal,u=t.LoadingMessage,l=t.NoOptionsMessage,c=t.Option,f=this.commonProps,d=this.state,p=d.focusedOption,h=d.menuOptions,g=this.props,y=g.captureMenuScroll,m=g.inputValue,v=g.isLoading,b=g.loadingMessage,w=g.minMenuHeight,N=g.maxMenuHeight,j=g.menuIsOpen,S=g.menuPlacement,D=g.menuPosition,x=g.menuPortalTarget,E=g.menuShouldBlockScroll,O=g.menuShouldScrollIntoView,T=g.noOptionsMessage,C=g.onMenuScrollToTop,k=g.onMenuScrollToBottom;if(!j)return null;var L,_=function(t){var n=p===t.data;return t.innerRef=n?e.getFocusedOptionRef:void 0,o.a.createElement(c,M({},f,t,{isFocused:n}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())L=h.render.map((function(t){if("group"===t.type){t.type;var i=I(t,["type"]),a="".concat(t.key,"-heading");return o.a.createElement(n,M({},f,i,{Heading:r,headingProps:{id:a},label:e.formatGroupLabel(t.data)}),t.options.map((function(e){return _(e)})))}if("option"===t.type)return _(t)}));else if(v){var A=b({inputValue:m});if(null===A)return null;L=o.a.createElement(u,f,A)}else{var z=T({inputValue:m});if(null===z)return null;L=o.a.createElement(l,f,z)}var P={minMenuHeight:w,maxMenuHeight:N,menuPlacement:S,menuPosition:D,menuShouldScrollIntoView:O},R=o.a.createElement(F,M({},f,P),(function(t){var n=t.ref,r=t.placerProps,s=r.placement,u=r.maxHeight;return o.a.createElement(i,M({},f,P,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:v,placement:s}),o.a.createElement(ye,{isEnabled:y,onTopArrive:C,onBottomArrive:k},o.a.createElement(he,{isEnabled:E},o.a.createElement(a,M({},f,{innerRef:e.getMenuListRef,isLoading:v,maxHeight:u}),L))))}));return x||"fixed"===D?o.a.createElement(s,M({},f,{appendTo:x,controlElement:this.controlRef,menuPlacement:S,menuPosition:D}),R):R}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,r=t.isDisabled,i=t.isMulti,a=t.name,s=this.state.selectValue;if(a&&!r){if(i){if(n){var u=s.map((function(t){return e.getOptionValue(t)})).join(n);return o.a.createElement("input",{name:a,type:"hidden",value:u})}var l=s.length>0?s.map((function(t,n){return o.a.createElement("input",{key:"i-".concat(n),name:a,type:"hidden",value:e.getOptionValue(t)})})):o.a.createElement("input",{name:a,type:"hidden"});return o.a.createElement("div",null,l)}var c=s[0]?this.getOptionValue(s[0]):"";return o.a.createElement("input",{name:a,type:"hidden",value:c})}}},{key:"renderLiveRegion",value:function(){return this.state.isFocused?o.a.createElement(ne,{"aria-live":"assertive"},o.a.createElement("p",{id:"aria-selection-event"},"\xa0",this.state.ariaLiveSelection),o.a.createElement("p",{id:"aria-context"},"\xa0",this.constructAriaLiveMessage())):null}},{key:"render",value:function(){var e=this.components,t=e.Control,n=e.IndicatorsContainer,r=e.SelectContainer,i=e.ValueContainer,a=this.props,s=a.className,u=a.id,l=a.isDisabled,c=a.menuIsOpen,f=this.state.isFocused,d=this.commonProps=this.getCommonProps();return o.a.createElement(r,M({},d,{className:s,innerProps:{id:u,onKeyDown:this.onKeyDown},isDisabled:l,isFocused:f}),this.renderLiveRegion(),o.a.createElement(t,M({},d,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:l,isFocused:f,menuIsOpen:c}),o.a.createElement(i,M({},d,{isDisabled:l}),this.renderPlaceholderOrValue(),this.renderInput()),o.a.createElement(n,M({},d,{isDisabled:l}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}]),t}(r.Component);b(Ge,"defaultProps",Fe);var He={defaultInputValue:"",defaultMenuIsOpen:!1,defaultValue:null},Ve=function(e){var t,n;return n=t=function(t){function n(){var e,t;y(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return b(D(D(t=x(this,(e=j(n)).call.apply(e,[this].concat(o))))),"select",void 0),b(D(D(t)),"state",{inputValue:void 0!==t.props.inputValue?t.props.inputValue:t.props.defaultInputValue,menuIsOpen:void 0!==t.props.menuIsOpen?t.props.menuIsOpen:t.props.defaultMenuIsOpen,value:void 0!==t.props.value?t.props.value:t.props.defaultValue}),b(D(D(t)),"onChange",(function(e,n){t.callProp("onChange",e,n),t.setState({value:e})})),b(D(D(t)),"onInputChange",(function(e,n){var r=t.callProp("onInputChange",e,n);t.setState({inputValue:void 0!==r?r:e})})),b(D(D(t)),"onMenuOpen",(function(){t.callProp("onMenuOpen"),t.setState({menuIsOpen:!0})})),b(D(D(t)),"onMenuClose",(function(){t.callProp("onMenuClose"),t.setState({menuIsOpen:!1})})),t}return N(n,t),v(n,[{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"getProp",value:function(e){return void 0!==this.props[e]?this.props[e]:this.state[e]}},{key:"callProp",value:function(e){if("function"===typeof this.props[e]){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return(t=this.props)[e].apply(t,r)}}},{key:"render",value:function(){var t=this,n=this.props,r=(n.defaultInputValue,n.defaultMenuIsOpen,n.defaultValue,I(n,["defaultInputValue","defaultMenuIsOpen","defaultValue"]));return o.a.createElement(e,M({},r,{ref:function(e){t.select=e},inputValue:this.getProp("inputValue"),menuIsOpen:this.getProp("menuIsOpen"),onChange:this.onChange,onInputChange:this.onInputChange,onMenuClose:this.onMenuClose,onMenuOpen:this.onMenuOpen,value:this.getProp("value")}))}}]),n}(r.Component),b(t,"defaultProps",He),n},Qe={cacheOptions:!1,defaultOptions:!1,filterOption:null},We=function(e){var t,n;return n=t=function(t){function n(e){var t;return y(this,n),b(D(D(t=x(this,j(n).call(this)))),"select",void 0),b(D(D(t)),"lastRequest",void 0),b(D(D(t)),"mounted",!1),b(D(D(t)),"optionsCache",{}),b(D(D(t)),"handleInputChange",(function(e,n){var r=t.props,o=r.cacheOptions,i=function(e,t,n){if(n){var r=n(e,t);if("string"===typeof r)return r}return e}(e,n,r.onInputChange);if(!i)return delete t.lastRequest,void t.setState({inputValue:"",loadedInputValue:"",loadedOptions:[],isLoading:!1,passEmptyOptions:!1});if(o&&t.optionsCache[i])t.setState({inputValue:i,loadedInputValue:i,loadedOptions:t.optionsCache[i],isLoading:!1,passEmptyOptions:!1});else{var a=t.lastRequest={};t.setState({inputValue:i,isLoading:!0,passEmptyOptions:!t.state.loadedInputValue},(function(){t.loadOptions(i,(function(e){t.mounted&&(e&&(t.optionsCache[i]=e),a===t.lastRequest&&(delete t.lastRequest,t.setState({isLoading:!1,loadedInputValue:i,loadedOptions:e||[],passEmptyOptions:!1})))}))}))}return i})),t.state={defaultOptions:Array.isArray(e.defaultOptions)?e.defaultOptions:void 0,inputValue:"undefined"!==typeof e.inputValue?e.inputValue:"",isLoading:!0===e.defaultOptions,loadedOptions:[],passEmptyOptions:!1},t}return N(n,t),v(n,[{key:"componentDidMount",value:function(){var e=this;this.mounted=!0;var t=this.props.defaultOptions,n=this.state.inputValue;!0===t&&this.loadOptions(n,(function(t){if(e.mounted){var n=!!e.lastRequest;e.setState({defaultOptions:t||[],isLoading:n})}}))}},{key:"componentWillReceiveProps",value:function(e){e.cacheOptions!==this.props.cacheOptions&&(this.optionsCache={}),e.defaultOptions!==this.props.defaultOptions&&this.setState({defaultOptions:Array.isArray(e.defaultOptions)?e.defaultOptions:void 0})}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"loadOptions",value:function(e,t){var n=this.props.loadOptions;if(!n)return t();var r=n(e,t);r&&"function"===typeof r.then&&r.then(t,(function(){return t()}))}},{key:"render",value:function(){var t=this,n=this.props,r=(n.loadOptions,I(n,["loadOptions"])),i=this.state,a=i.defaultOptions,s=i.inputValue,u=i.isLoading,l=i.loadedInputValue,c=i.loadedOptions,f=i.passEmptyOptions?[]:s&&l?c:a||[];return o.a.createElement(e,M({},r,{ref:function(e){t.select=e},options:f,isLoading:u,onInputChange:this.handleInputChange}))}}]),n}(r.Component),b(t,"defaultProps",Qe),n},Ze=(We(Ve(Ge)),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,n=String(e).toLowerCase(),r=String(t.value).toLowerCase(),o=String(t.label).toLowerCase();return r===n||o===n}),qe=w({allowCreateWhileLoading:!1,createOptionPosition:"last"},{formatCreateLabel:function(e){return'Create "'.concat(e,'"')},isValidNewOption:function(e,t,n){return!(!e||t.some((function(t){return Ze(e,t)}))||n.some((function(t){return Ze(e,t)})))},getNewOptionData:function(e,t){return{label:t,value:e,__isNew__:!0}}}),Xe=function(e){var t,n;return n=t=function(t){function n(e){var t;y(this,n),b(D(D(t=x(this,j(n).call(this,e)))),"select",void 0),b(D(D(t)),"onChange",(function(e,n){var r=t.props,o=r.getNewOptionData,i=r.inputValue,a=r.isMulti,s=r.onChange,u=r.onCreateOption,l=r.value;if("select-option"!==n.action)return s(e,n);var c=t.state.newOption,f=Array.isArray(e)?e:[e];if(f[f.length-1]!==c)s(e,n);else if(u)u(i);else{var d=o(i,i),p={action:"create-option"};s(a?[].concat(E(k(l)),[d]):d,p)}}));var r=e.options||[];return t.state={newOption:void 0,options:r},t}return N(n,t),v(n,[{key:"componentWillReceiveProps",value:function(e){var t=e.allowCreateWhileLoading,n=e.createOptionPosition,r=e.formatCreateLabel,o=e.getNewOptionData,i=e.inputValue,a=e.isLoading,s=e.isValidNewOption,u=e.value,l=e.options||[],c=this.state.newOption;c=s(i,k(u),l)?o(i,r(i)):void 0,this.setState({newOption:c,options:!t&&a||!c?l:"first"===n?[c].concat(E(l)):[].concat(E(l),[c])})}},{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"render",value:function(){var t=this,n=M({},this.props),r=this.state.options;return o.a.createElement(e,M({},n,{ref:function(e){t.select=e},options:r,onChange:this.onChange}))}}]),n}(r.Component),b(t,"defaultProps",qe),n},$e=(Ve(Xe(Ge)),We(Ve(Xe(Ge))),function(e){return function(t){t.in,t.onExited,t.appear,t.enter,t.exit;var n=I(t,["in","onExited","appear","enter","exit"]);return o.a.createElement(e,n)}}),Je=function(e){var t=e.component,n=e.duration,r=void 0===n?1:n,i=e.in,a=(e.onExited,I(e,["component","duration","in","onExited"])),s={entering:{opacity:0},entered:{opacity:1,transition:"opacity ".concat(r,"ms")},exiting:{opacity:0},exited:{opacity:0}};return o.a.createElement(h.Transition,{mountOnEnter:!0,unmountOnExit:!0,in:i,timeout:r},(function(e){var n={style:w({},s[e])};return o.a.createElement(t,M({innerProps:n},a))}))},Ke=function(e){function t(){var e,n;y(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return b(D(D(n=x(this,(e=j(t)).call.apply(e,[this].concat(o))))),"duration",260),b(D(D(n)),"rafID",void 0),b(D(D(n)),"state",{width:"auto"}),b(D(D(n)),"transition",{exiting:{width:0,transition:"width ".concat(n.duration,"ms ease-out")},exited:{width:0}}),b(D(D(n)),"getWidth",(function(e){e&&isNaN(n.state.width)&&(n.rafID=window.requestAnimationFrame((function(){var t=e.getBoundingClientRect().width;n.setState({width:t})})))})),b(D(D(n)),"getStyle",(function(e){return{overflow:"hidden",whiteSpace:"nowrap",width:e}})),b(D(D(n)),"getTransition",(function(e){return n.transition[e]})),n}return N(t,e),v(t,[{key:"componentWillUnmount",value:function(){this.rafID&&window.cancelAnimationFrame(this.rafID)}},{key:"render",value:function(){var e=this,t=this.props,n=t.children,r=t.in,i=this.state.width;return o.a.createElement(h.Transition,{enter:!1,mountOnEnter:!0,unmountOnExit:!0,in:r,timeout:this.duration},(function(t){var r=w({},e.getStyle(i),e.getTransition(t));return o.a.createElement("div",{ref:e.getWidth,style:r},n)}))}}]),t}(r.Component),et=function(e){return function(t){var n=t.in,r=t.onExited,i=I(t,["in","onExited"]);return o.a.createElement(Ke,{in:n,onExited:r},o.a.createElement(e,M({cropWithEllipsis:n},i)))}},tt=function(e){return function(t){return o.a.createElement(Je,M({component:e,duration:t.isMulti?260:1},t))}},nt=function(e){return function(t){return o.a.createElement(Je,M({component:e},t))}},rt=function(e){return function(t){return o.a.createElement(h.TransitionGroup,M({component:e},t))}},ot=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Pe({components:e}),n=t.Input,r=t.MultiValue,o=t.Placeholder,i=t.SingleValue,a=t.ValueContainer,s=I(t,["Input","MultiValue","Placeholder","SingleValue","ValueContainer"]);return w({Input:$e(n),MultiValue:et(r),Placeholder:tt(o),SingleValue:nt(i),ValueContainer:rt(a)},s)},it=ot(),at=(it.Input,it.MultiValue,it.Placeholder,it.SingleValue,it.ValueContainer,Object(i.default)(ot,$),Ve(Ge));t.a=at},function(e,t,n){e.exports=function(){"use strict";return function(e){function t(t){if(t)try{e(t+"}")}catch(n){}}return function(n,r,o,i,a,s,u,l,c,f){switch(n){case 1:if(0===c&&64===r.charCodeAt(0))return e(r+";"),"";break;case 2:if(0===l)return r+"/*|*/";break;case 3:switch(l){case 102:case 112:return e(o[0]+r),"";default:return r+(0===f?"/*|*/":"")}case-2:r.split("/*|*/}").forEach(t)}}}}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.makeCreatableSelect=t.defaultProps=void 0;var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(n(0)),o=s(n(716)),i=n(264),a=s(n(733));function s(e){return e&&e.__esModule?e:{default:e}}function u(e){return(u="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})(e)}function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function c(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function f(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)}}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var y=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,n=String(e).toLowerCase(),r=String(t.value).toLowerCase(),o=String(t.label).toLowerCase();return r===n||o===n},m=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){g(e,t,n[t])}))}return e}({allowCreateWhileLoading:!1,createOptionPosition:"last"},{formatCreateLabel:function(e){return'Create "'.concat(e,'"')},isValidNewOption:function(e,t,n){return!(!e||t.some((function(t){return y(e,t)}))||n.some((function(t){return y(e,t)})))},getNewOptionData:function(e,t){return{label:t,value:e,__isNew__:!0}}});t.defaultProps=m;var v=function(e){var t,n;return n=t=function(t){function n(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),t=function(e,t){return!t||"object"!==u(t)&&"function"!==typeof t?h(e):t}(this,d(n).call(this,e)),g(h(h(t)),"select",void 0),g(h(h(t)),"onChange",(function(e,n){var r=t.props,o=r.getNewOptionData,a=r.inputValue,s=r.isMulti,u=r.onChange,l=r.onCreateOption,f=r.value;if("select-option"!==n.action)return u(e,n);var d=t.state.newOption,p=Array.isArray(e)?e:[e];if(p[p.length-1]!==d)u(e,n);else if(l)l(a);else{var h=o(a,a),g={action:"create-option"};u(s?[].concat(c((0,i.cleanValue)(f)),[h]):h,g)}}));var r=e.options||[];return t.state={newOption:void 0,options:r},t}var o,a,s;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(n,t),o=n,(a=[{key:"componentWillReceiveProps",value:function(e){var t=e.allowCreateWhileLoading,n=e.createOptionPosition,r=e.formatCreateLabel,o=e.getNewOptionData,a=e.inputValue,s=e.isLoading,u=e.isValidNewOption,l=e.value,f=e.options||[],d=this.state.newOption;d=u(a,(0,i.cleanValue)(l),f)?o(a,r(a)):void 0,this.setState({newOption:d,options:!t&&s||!d?f:"first"===n?[d].concat(c(f)):[].concat(c(f),[d])})}},{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"render",value:function(){var t=this,n=l({},this.props),o=this.state.options;return r.default.createElement(e,l({},n,{ref:function(e){t.select=e},options:o,onChange:this.onChange}))}}])&&f(o.prototype,a),s&&f(o,s),n}(r.Component),g(t,"defaultProps",m),n};t.makeCreatableSelect=v;var b=v(o.default),M=(0,a.default)(b);t.default=M},function(e,t,n){"use strict";n.d(t,"a",(function(){return z}));var r=n(0),o=n.n(r),i=n(27),a=n.n(i),s=n(155),u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function l(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 c={get:function(e,t,n){if(!t)return e;var r=d(t),o=void 0;try{o=r.reduce((function(e,t){return e[t]}),e)}catch(i){}return"undefined"!==typeof o?o:n},set:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1],n=arguments[2],r=d(t),o=void 0,i=e;for(;(o=r.shift())&&r.length;)i[o]||(i[o]={}),i=i[o];return i[o]=n,e},takeRight:function(e,t){var n=t>e.length?0:e.length-t;return e.slice(n)},last:function(e){return e[e.length-1]},orderBy:function(e,t,n,r){return e.sort((function(e,o){for(var i=0;i<t.length;i+=1){var a=t[i],s=!1===n[i]||"desc"===n[i],u=a(e,o);if(u)return s?-u:u}return n[0]?e[r]-o[r]:o[r]-e[r]}))},range:function(e){for(var t=[],n=0;n<e;n+=1)t.push(e);return t},remove:function(e,t){return e.filter((function(n,r){return!!t(n)&&(e.splice(r,1),!0)}))},clone:function(e){try{return JSON.parse(JSON.stringify(e,(function(e,t){return"function"===typeof t?t.toString():t})))}catch(t){return e}},getFirstDefined:function(){for(var e=0;e<arguments.length;e+=1)if("undefined"!==typeof(arguments.length<=e?void 0:arguments[e]))return arguments.length<=e?void 0:arguments[e]},sum:function(e){return e.reduce((function(e,t){return e+t}),0)},makeTemplateComponent:function(e,t){if(!t)throw new Error("No displayName found for template component:",e);var n=function(t){var n=t.children,r=t.className,i=l(t,["children","className"]);return o.a.createElement("div",u({className:a()(e,r)},i),n)};return n.displayName=t,n},groupBy:function(e,t){return e.reduce((function(e,n,r){var o="function"===typeof t?t(n,r):n[t];return e[o]=f(e[o])?e[o]:[],e[o].push(n),e}),{})},isArray:f,splitProps:function(e){var t=e.className,n=e.style,r=l(e,["className","style"]);return{className:t,style:n,rest:r||{}}},compactObject:function(e){var t={};e&&Object.keys(e).map((function(n){return Object.prototype.hasOwnProperty.call(e,n)&&void 0!==e[n]&&"undefined"!==typeof e[n]&&(t[n]=e[n]),!0}));return t},isSortingDesc:function(e){return!("desc"!==e.sort&&!0!==e.desc&&!1!==e.asc)},normalizeComponent:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e;if(s.isElement(e)||"string"===typeof e)return e;if(s.isValidElementType(e))return o.a.createElement(e,t);return n},asPx:function(e){return e=Number(e),Number.isNaN(e)?null:e+"px"}};function f(e){return Array.isArray(e)}function d(e){return function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(f(t))for(var r=0;r<t.length;r+=1)e(t[r],n);else n.push(t);return n}(e).join(".").replace(/\[/g,".").replace(/\]/g,"").split(".")}var 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}}();var h=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(u){o=!0,i=u}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},g=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(){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}}();function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function v(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 b(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function M(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var 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}}(),N=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};var j=function(e){return o.a.createElement("button",N({type:"button"},e,{className:"-btn"}),e.children)},S=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.getSafePage=n.getSafePage.bind(n),n.changePage=n.changePage.bind(n),n.applyPage=n.applyPage.bind(n),n.state={page:e.page},n}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),w(t,[{key:"componentDidUpdate",value:function(e,t){e.page!==this.props.page&&t.page!==this.state.page&&this.setState({page:this.props.page})}},{key:"getSafePage",value:function(e){return Number.isNaN(e)&&(e=this.props.page),Math.min(Math.max(e,0),this.props.pages-1)}},{key:"changePage",value:function(e){e=this.getSafePage(e),this.setState({page:e}),this.props.page!==e&&this.props.onPageChange(e)}},{key:"applyPage",value:function(e){e&&e.preventDefault();var t=this.state.page;this.changePage(""===t?this.props.page:t)}},{key:"getPageJumpProperties",value:function(){var e=this;return{onKeyPress:function(t){13!==t.which&&13!==t.keyCode||e.applyPage()},onBlur:this.applyPage,value:""===this.state.page?"":this.state.page+1,onChange:function(t){var n=t.target.value,r=n-1;if(""===n)return e.setState({page:n});e.setState({page:e.getSafePage(r)})},inputType:""===this.state.page?"text":"number",pageJumpText:this.props.pageJumpText}}},{key:"render",value:function(){var e=this,t=this.props,n=t.pages,r=t.page,i=t.showPageSizeOptions,s=t.pageSizeOptions,u=t.pageSize,l=t.showPageJump,c=t.canPrevious,f=t.canNext,d=t.onPageSizeChange,p=t.className,h=t.PreviousComponent,g=t.NextComponent,y=t.renderPageJump,m=t.renderCurrentPage,v=t.renderTotalPagesCount,b=t.renderPageSizeOptions;return o.a.createElement("div",{className:a()(p,"-pagination"),style:this.props.style},o.a.createElement("div",{className:"-previous"},o.a.createElement(h,{onClick:function(){c&&e.changePage(r-1)},disabled:!c},this.props.previousText)),o.a.createElement("div",{className:"-center"},o.a.createElement("span",{className:"-pageInfo"},this.props.pageText," ",l?y(this.getPageJumpProperties()):m(r)," ",this.props.ofText," ",v(n)),i&&b({pageSize:u,rowsSelectorText:this.props.rowsSelectorText,pageSizeOptions:s,onPageSizeChange:d,rowsText:this.props.rowsText})),o.a.createElement("div",{className:"-next"},o.a.createElement(g,{onClick:function(){f&&e.changePage(r+1)},disabled:!f},this.props.nextText)))}}]),t}(r.Component);S.defaultProps={PreviousComponent:j,NextComponent:j,renderPageJump:function(e){var t=e.onChange,n=e.value,r=e.onBlur,i=e.onKeyPress,a=e.inputType,s=e.pageJumpText;return o.a.createElement("div",{className:"-pageJump"},o.a.createElement("input",{"aria-label":s,type:a,onChange:t,value:n,onBlur:r,onKeyPress:i}))},renderCurrentPage:function(e){return o.a.createElement("span",{className:"-currentPage"},e+1)},renderTotalPagesCount:function(e){return o.a.createElement("span",{className:"-totalPages"},e||1)},renderPageSizeOptions:function(e){var t=e.pageSize,n=e.pageSizeOptions,r=e.rowsSelectorText,i=e.onPageSizeChange,a=e.rowsText;return o.a.createElement("span",{className:"select-wrap -pageSizeOptions"},o.a.createElement("select",{"aria-label":r,onChange:function(e){return i(Number(e.target.value))},value:t},n.map((function(e,t){return o.a.createElement("option",{key:t,value:e},e+" "+a)}))))}};var I=S,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};function x(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 E=function(){return{}},O={data:[],resolveData:function(e){return e},loading:!1,showPagination:!0,showPaginationTop:!1,showPaginationBottom:!0,showPageSizeOptions:!0,pageSizeOptions:[5,10,20,25,50,100],defaultPage:0,defaultPageSize:20,showPageJump:!0,collapseOnSortingChange:!0,collapseOnPageChange:!0,collapseOnDataChange:!0,freezeWhenExpanded:!1,sortable:!0,multiSort:!0,resizable:!0,filterable:!1,defaultSortDesc:!1,defaultSorted:[],defaultFiltered:[],defaultResized:[],defaultExpanded:{},defaultFilterMethod:function(e,t,n){var r=e.pivotId||e.id;return void 0===t[r]||String(t[r]).startsWith(e.value)},defaultSortMethod:function(e,t,n){return t=null===t||void 0===t?"":t,(e="string"===typeof(e=null===e||void 0===e?"":e)?e.toLowerCase():e)>(t="string"===typeof t?t.toLowerCase():t)?1:e<t?-1:0},onPageChange:void 0,onPageSizeChange:void 0,onSortedChange:void 0,onFilteredChange:void 0,onResizedChange:void 0,onExpandedChange:void 0,pivotBy:void 0,pivotValKey:"_pivotVal",pivotIDKey:"_pivotID",subRowsKey:"_subRows",aggregatedKey:"_aggregated",nestingLevelKey:"_nestingLevel",originalKey:"_original",indexKey:"_index",groupedByPivotKey:"_groupedByPivot",onFetchData:function(){return null},className:"",style:{},getProps:E,getTableProps:E,getTheadGroupProps:E,getTheadGroupTrProps:E,getTheadGroupThProps:E,getTheadProps:E,getTheadTrProps:E,getTheadThProps:E,getTheadFilterProps:E,getTheadFilterTrProps:E,getTheadFilterThProps:E,getTbodyProps:E,getTrGroupProps:E,getTrProps:E,getTdProps:E,getTfootProps:E,getTfootTrProps:E,getTfootTdProps:E,getPaginationProps:E,getLoadingProps:E,getNoDataProps:E,getResizerProps:E,column:{Cell:void 0,Header:void 0,Footer:void 0,Aggregated:void 0,Pivot:void 0,PivotValue:void 0,Expander:void 0,Filter:void 0,Placeholder:void 0,sortable:void 0,resizable:void 0,filterable:void 0,show:!0,minWidth:100,minResizeWidth:11,className:"",style:{},getProps:E,aggregate:void 0,headerClassName:"",headerStyle:{},getHeaderProps:E,footerClassName:"",footerStyle:{},getFooterProps:E,filterMethod:void 0,filterAll:!1,sortMethod:void 0},expanderDefaults:{sortable:!1,resizable:!1,filterable:!1,width:35},pivotDefaults:{},previousText:"Previous",nextText:"Next",loadingText:"Loading...",noDataText:"No rows found",pageText:"Page",ofText:"of",rowsText:"rows",pageJumpText:"jump to page",rowsSelectorText:"rows per page",TableComponent:function(e){var t=e.children,n=e.className,r=x(e,["children","className"]);return o.a.createElement("div",D({className:a()("rt-table",n),role:"grid"},r),t)},TheadComponent:c.makeTemplateComponent("rt-thead","Thead"),TbodyComponent:c.makeTemplateComponent("rt-tbody","Tbody"),TrGroupComponent:function(e){var t=e.children,n=e.className,r=x(e,["children","className"]);return o.a.createElement("div",D({className:a()("rt-tr-group",n),role:"rowgroup"},r),t)},TrComponent:function(e){var t=e.children,n=e.className,r=x(e,["children","className"]);return o.a.createElement("div",D({className:a()("rt-tr",n),role:"row"},r),t)},ThComponent:function(e){var t=e.toggleSort,n=e.className,r=e.children,i=x(e,["toggleSort","className","children"]);return o.a.createElement("div",D({className:a()("rt-th",n),onClick:function(e){return t&&t(e)},role:"columnheader",tabIndex:"-1"},i),r)},TdComponent:function(e){e.toggleSort;var t=e.className,n=e.children,r=x(e,["toggleSort","className","children"]);return o.a.createElement("div",D({className:a()("rt-td",t),role:"gridcell"},r),n)},TfootComponent:c.makeTemplateComponent("rt-tfoot","Tfoot"),FilterComponent:function(e){var t=e.filter,n=e.onChange,r=e.column;return o.a.createElement("input",{type:"text",style:{width:"100%"},placeholder:r.Placeholder,value:t?t.value:"",onChange:function(e){return n(e.target.value)}})},ExpanderComponent:function(e){var t=e.isExpanded;return o.a.createElement("div",{className:a()("rt-expander",t&&"-open")},"\u2022")},PivotValueComponent:function(e){var t=e.subRows,n=e.value;return o.a.createElement("span",null,n," ",t&&"("+t.length+")")},AggregatedComponent:function(e){var t=e.subRows,n=e.column,r=t.filter((function(e){return"undefined"!==typeof e[n.id]})).map((function(e,r){return o.a.createElement("span",{key:r},e[n.id],r<t.length-1?", ":"")}));return o.a.createElement("span",null,r)},PivotComponent:void 0,PaginationComponent:I,PreviousComponent:void 0,NextComponent:void 0,LoadingComponent:function(e){var t=e.className,n=e.loading,r=e.loadingText,i=x(e,["className","loading","loadingText"]);return o.a.createElement("div",D({className:a()("-loading",{"-active":n},t)},i),o.a.createElement("div",{className:"-loading-inner"},r))},NoDataComponent:c.makeTemplateComponent("rt-noData","NoData"),ResizerComponent:c.makeTemplateComponent("rt-resizer","Resizer"),PadRowComponent:function(){return o.a.createElement("span",null,"\xa0")}},T=n(2),C=n.n(T),k={data:C.a.any,loading:C.a.bool,showPagination:C.a.bool,showPaginationTop:C.a.bool,showPaginationBottom:C.a.bool,showPageSizeOptions:C.a.bool,pageSizeOptions:C.a.array,defaultPageSize:C.a.number,showPageJump:C.a.bool,collapseOnSortingChange:C.a.bool,collapseOnPageChange:C.a.bool,collapseOnDataChange:C.a.bool,freezeWhenExpanded:C.a.bool,sortable:C.a.bool,resizable:C.a.bool,filterable:C.a.bool,defaultSortDesc:C.a.bool,defaultSorted:C.a.array,defaultFiltered:C.a.array,defaultResized:C.a.array,defaultExpanded:C.a.object,defaultFilterMethod:C.a.func,defaultSortMethod:C.a.func,onPageChange:C.a.func,onPageSizeChange:C.a.func,onSortedChange:C.a.func,onFilteredChange:C.a.func,onResizedChange:C.a.func,onExpandedChange:C.a.func,pivotBy:C.a.array,pivotValKey:C.a.string,pivotIDKey:C.a.string,subRowsKey:C.a.string,aggregatedKey:C.a.string,nestingLevelKey:C.a.string,originalKey:C.a.string,indexKey:C.a.string,groupedByPivotKey:C.a.string,onFetchData:C.a.func,className:C.a.string,style:C.a.object,getProps:C.a.func,getTableProps:C.a.func,getTheadGroupProps:C.a.func,getTheadGroupTrProps:C.a.func,getTheadGroupThProps:C.a.func,getTheadProps:C.a.func,getTheadTrProps:C.a.func,getTheadThProps:C.a.func,getTheadFilterProps:C.a.func,getTheadFilterTrProps:C.a.func,getTheadFilterThProps:C.a.func,getTbodyProps:C.a.func,getTrGroupProps:C.a.func,getTrProps:C.a.func,getTdProps:C.a.func,getTfootProps:C.a.func,getTfootTrProps:C.a.func,getTfootTdProps:C.a.func,getPaginationProps:C.a.func,getLoadingProps:C.a.func,getNoDataProps:C.a.func,getResizerProps:C.a.func,columns:C.a.arrayOf(C.a.shape({Cell:C.a.oneOfType([C.a.element,C.a.string,C.a.elementType]),Header:C.a.oneOfType([C.a.element,C.a.string,C.a.elementType]),Footer:C.a.oneOfType([C.a.element,C.a.string,C.a.elementType]),Aggregated:C.a.oneOfType([C.a.element,C.a.string,C.a.elementType]),Pivot:C.a.oneOfType([C.a.element,C.a.string,C.a.elementType]),PivotValue:C.a.oneOfType([C.a.element,C.a.string,C.a.elementType]),Expander:C.a.oneOfType([C.a.element,C.a.string,C.a.elementType]),Filter:C.a.oneOfType([C.a.element,C.a.elementType]),sortable:C.a.bool,resizable:C.a.bool,filterable:C.a.bool,show:C.a.bool,minWidth:C.a.number,minResizeWidth:C.a.number,className:C.a.string,style:C.a.object,getProps:C.a.func,aggregate:C.a.func,headerClassName:C.a.string,headerStyle:C.a.object,getHeaderProps:C.a.func,footerClassName:C.a.string,footerStyle:C.a.object,getFooterProps:C.a.func,filterMethod:C.a.func,filterAll:C.a.bool,sortMethod:C.a.func})),expanderDefaults:C.a.shape({sortable:C.a.bool,resizable:C.a.bool,filterable:C.a.bool,width:C.a.number}),pivotDefaults:C.a.object,previousText:C.a.node,nextText:C.a.node,loadingText:C.a.node,noDataText:C.a.node,pageText:C.a.node,ofText:C.a.node,rowsText:C.a.node,pageJumpText:C.a.node,rowsSelectorText:C.a.node,TableComponent:C.a.elementType,TheadComponent:C.a.elementType,TbodyComponent:C.a.elementType,TrGroupComponent:C.a.elementType,TrComponent:C.a.elementType,ThComponent:C.a.elementType,TdComponent:C.a.elementType,TfootComponent:C.a.elementType,FilterComponent:C.a.elementType,ExpanderComponent:C.a.elementType,PivotValueComponent:C.a.elementType,AggregatedComponent:C.a.elementType,PivotComponent:C.a.elementType,PaginationComponent:C.a.elementType,PreviousComponent:C.a.elementType,NextComponent:C.a.elementType,LoadingComponent:C.a.elementType,NoDataComponent:C.a.elementType,ResizerComponent:C.a.elementType,PadRowComponent:C.a.elementType},L=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(u){o=!0,i=u}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},_=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=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}}();var z=O,P=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.getResolvedState=n.getResolvedState.bind(n),n.getDataModel=n.getDataModel.bind(n),n.getSortedData=n.getSortedData.bind(n),n.fireFetchData=n.fireFetchData.bind(n),n.getPropOrState=n.getPropOrState.bind(n),n.getStateOrProp=n.getStateOrProp.bind(n),n.filterData=n.filterData.bind(n),n.sortData=n.sortData.bind(n),n.getMinRows=n.getMinRows.bind(n),n.onPageChange=n.onPageChange.bind(n),n.onPageSizeChange=n.onPageSizeChange.bind(n),n.sortColumn=n.sortColumn.bind(n),n.filterColumn=n.filterColumn.bind(n),n.resizeColumnStart=n.resizeColumnStart.bind(n),n.resizeColumnEnd=n.resizeColumnEnd.bind(n),n.resizeColumnMoving=n.resizeColumnMoving.bind(n),n}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),A(t,[{key:"render",value:function(){var e=this,t=this.getResolvedState(),n=t.children,r=t.className,i=t.style,s=t.getProps,u=t.getTableProps,l=t.getTheadGroupProps,f=t.getTheadGroupTrProps,d=t.getTheadGroupThProps,p=t.getTheadProps,h=t.getTheadTrProps,g=t.getTheadThProps,y=t.getTheadFilterProps,m=t.getTheadFilterTrProps,v=t.getTheadFilterThProps,b=t.getTbodyProps,M=t.getTrGroupProps,w=t.getTrProps,N=t.getTdProps,j=t.getTfootProps,S=t.getTfootTrProps,I=t.getTfootTdProps,D=t.getPaginationProps,x=t.getLoadingProps,E=t.getNoDataProps,T=t.getResizerProps,C=t.showPagination,k=t.showPaginationTop,A=t.showPaginationBottom,z=t.manual,P=t.loadingText,R=t.noDataText,U=t.sortable,B=t.multiSort,F=t.resizable,Y=t.filterable,G=t.pivotIDKey,H=t.pivotValKey,V=t.pivotBy,Q=t.subRowsKey,W=t.aggregatedKey,Z=t.originalKey,q=t.indexKey,X=t.groupedByPivotKey,$=t.loading,J=t.pageSize,K=t.page,ee=t.sorted,te=t.filtered,ne=t.resized,re=t.expanded,oe=t.pages,ie=t.onExpandedChange,ae=t.TableComponent,se=t.TheadComponent,ue=t.TbodyComponent,le=t.TrGroupComponent,ce=t.TrComponent,fe=t.ThComponent,de=t.TdComponent,pe=t.TfootComponent,he=t.PaginationComponent,ge=t.LoadingComponent,ye=t.SubComponent,me=t.NoDataComponent,ve=t.ResizerComponent,be=t.ExpanderComponent,Me=t.PivotValueComponent,we=t.PivotComponent,Ne=t.AggregatedComponent,je=t.FilterComponent,Se=t.PadRowComponent,Ie=t.resolvedData,De=t.allVisibleColumns,xe=t.headerGroups,Ee=t.hasHeaderGroups,Oe=t.sortedData,Te=t.currentlyResizing,Ce=J*K,ke=Ce+J,Le=z?Ie:Oe.slice(Ce,ke),_e=this.getMinRows(),Ae=c.range(Math.max(_e-Le.length,0)),ze=De.some((function(e){return e.Footer})),Pe=Y||De.some((function(e){return e.filterable})),Re=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-1;return[t.map((function(t,o){var i=_({},t,{_viewIndex:r+=1}),a=n.concat([o]);if(i[Q]&&c.get(re,a)){var s=e(i[Q],a,r),u=L(s,2);i[Q]=u[0],r=u[1]}return i})),r]}(Le),Ue=L(Re,1);Le=Ue[0];var Be=K>0,Fe=K+1<oe,Ye=c.sum(De.map((function(e){var t=ne.find((function(t){return t.id===e.id}))||{};return c.getFirstDefined(t.value,e.width,e.minWidth)}))),Ge=-1,He=_({},t,{startRow:Ce,endRow:ke,pageRows:Le,minRows:_e,padRows:Ae,hasColumnFooter:ze,canPrevious:Be,canNext:Fe,rowMinWidth:Ye}),Ve=c.splitProps(s(He,void 0,void 0,this)),Qe=c.splitProps(u(He,void 0,void 0,this)),We=c.splitProps(b(He,void 0,void 0,this)),Ze=x(He,void 0,void 0,this),qe=E(He,void 0,void 0,this),Xe=function(t,n){var r=function(e){return(ne.find((function(t){return t.id===e.id}))||{}).value},i=c.sum(t.columns.map((function(e){return e.width||r(e)?0:e.minWidth}))),s=c.sum(t.columns.map((function(e){return c.getFirstDefined(r(e),e.width,e.minWidth)}))),u=c.sum(t.columns.map((function(e){return c.getFirstDefined(r(e),e.width,e.maxWidth)}))),l=c.splitProps(d(He,void 0,t,e)),f=c.splitProps(t.getHeaderProps(He,void 0,t,e)),p=[t.headerClassName,l.className,f.className],h=_({},t.headerStyle,l.style,f.style),g=_({},l.rest,f.rest),y={flex:i+" 0 auto",width:c.asPx(s),maxWidth:c.asPx(u)};return o.a.createElement(fe,_({key:n+"-"+t.id,className:a()(p),style:_({},h,y)},g),c.normalizeComponent(t.Header,{data:Oe,column:t}))},$e=function(t,n){var r=ne.find((function(e){return e.id===t.id}))||{},i=ee.find((function(e){return e.id===t.id})),s="function"===typeof t.show?t.show():t.show,u=c.getFirstDefined(r.value,t.width,t.minWidth),l=c.getFirstDefined(r.value,t.width,t.maxWidth),f=c.splitProps(g(He,void 0,t,e)),d=c.splitProps(t.getHeaderProps(He,void 0,t,e)),p=[t.headerClassName,f.className,d.className],h=_({},t.headerStyle,f.style,d.style),y=_({},f.rest,d.rest),m=c.getFirstDefined(t.resizable,F,!1),v=m?o.a.createElement(ve,_({onMouseDown:function(n){return e.resizeColumnStart(n,t,!1)},onTouchStart:function(n){return e.resizeColumnStart(n,t,!0)}},T("finalState",void 0,t,e))):null,b=c.getFirstDefined(t.sortable,U,!1);return o.a.createElement(fe,_({key:n+"-"+t.id,className:a()(p,m&&"rt-resizable-header",i?i.desc?"-sort-desc":"-sort-asc":"",b&&"-cursor-pointer",!s&&"-hidden",V&&V.slice(0,-1).includes(t.id)&&"rt-header-pivot"),style:_({},h,{flex:u+" 0 auto",width:c.asPx(u),maxWidth:c.asPx(l)}),toggleSort:function(n){b&&e.sortColumn(t,!!B&&n.shiftKey)}},y),o.a.createElement("div",{className:a()(m&&"rt-resizable-header-content")},c.normalizeComponent(t.Header,{data:Oe,column:t})),v)},Je=function(t,n){var r=ne.find((function(e){return e.id===t.id}))||{},i=c.getFirstDefined(r.value,t.width,t.minWidth),s=c.getFirstDefined(r.value,t.width,t.maxWidth),u=c.splitProps(v(He,void 0,t,e)),l=c.splitProps(t.getHeaderProps(He,void 0,t,e)),f=[t.headerClassName,u.className,l.className],d=_({},t.headerStyle,u.style,l.style),p=_({},u.rest,l.rest),h=te.find((function(e){return e.id===t.id})),g=t.Filter||je,y=c.getFirstDefined(t.filterable,Y,!1);return o.a.createElement(fe,_({key:n+"-"+t.id,className:a()(f),style:_({},d,{flex:i+" 0 auto",width:c.asPx(i),maxWidth:c.asPx(s)})},p),y?c.normalizeComponent(g,{column:t,filter:h,onChange:function(n){return e.filterColumn(t,n)}},O.column.Filter):null)},Ke=function(t,n){var r=ne.find((function(e){return e.id===t.id}))||{},i="function"===typeof t.show?t.show():t.show,s=c.getFirstDefined(r.value,t.width,t.minWidth),u=s,l=c.getFirstDefined(r.value,t.width,t.maxWidth),f=c.splitProps(N(He,void 0,t,e)),d=c.splitProps(t.getProps(He,void 0,t,e)),p=[f.className,t.className,d.className],h=_({},f.style,t.style,d.style);return o.a.createElement(de,_({key:n+"-"+t.id,className:a()(p,!i&&"hidden"),style:_({},h,{flex:u+" 0 auto",width:c.asPx(s),maxWidth:c.asPx(l)})},f.rest),c.normalizeComponent(Se))},et=function(t,n){var r=M(He,void 0,void 0,e),i=c.splitProps(w(He,void 0,void 0,e));return o.a.createElement(le,_({key:"pad-"+n},r),o.a.createElement(ce,{className:a()("-padRow",(Le.length+n)%2?"-even":"-odd",i.className),style:i.style||{}},De.map(Ke)))},tt=function(t,n){var r=ne.find((function(e){return e.id===t.id}))||{},i="function"===typeof t.show?t.show():t.show,s=c.getFirstDefined(r.value,t.width,t.minWidth),u=c.getFirstDefined(r.value,t.width,t.maxWidth),l=c.splitProps(I(He,void 0,t,e)),f=c.splitProps(t.getProps(He,void 0,t,e)),d=c.splitProps(t.getFooterProps(He,void 0,t,e)),p=[l.className,t.className,f.className,d.className],h=_({},l.style,t.style,f.style,d.style);return o.a.createElement(de,_({key:n+"-"+t.id,className:a()(p,!i&&"hidden"),style:_({},h,{flex:s+" 0 auto",width:c.asPx(s),maxWidth:c.asPx(u)})},f.rest,l.rest,d.rest),c.normalizeComponent(t.Footer,{data:Oe,column:t}))},nt=function(n){var r=c.splitProps(D(He,void 0,void 0,e));return o.a.createElement(he,_({},t,{pages:oe,canPrevious:Be,canNext:Fe,onPageChange:e.onPageChange,onPageSizeChange:e.onPageSizeChange,className:r.className,style:r.style,isTop:n},r.rest))},rt=function(){return o.a.createElement("div",_({className:a()("ReactTable",r,Ve.className),style:_({},i,Ve.style)},Ve.rest),C&&k?o.a.createElement("div",{className:"pagination-top"},nt(!0)):null,o.a.createElement(ae,_({className:a()(Qe.className,Te?"rt-resizing":""),style:Qe.style},Qe.rest),Ee?function(){var t=c.splitProps(l(He,void 0,void 0,e)),n=c.splitProps(f(He,void 0,void 0,e));return o.a.createElement(se,_({className:a()("-headerGroups",t.className),style:_({},t.style,{minWidth:Ye+"px"})},t.rest),o.a.createElement(ce,_({className:n.className,style:n.style},n.rest),xe.map(Xe)))}():null,function(){var t=c.splitProps(p(He,void 0,void 0,e)),n=c.splitProps(h(He,void 0,void 0,e));return o.a.createElement(se,_({className:a()("-header",t.className),style:_({},t.style,{minWidth:Ye+"px"})},t.rest),o.a.createElement(ce,_({className:n.className,style:n.style},n.rest),De.map($e)))}(),Pe?function(){var t=c.splitProps(y(He,void 0,void 0,e)),n=c.splitProps(m(He,void 0,void 0,e));return o.a.createElement(se,_({className:a()("-filters",t.className),style:_({},t.style,{minWidth:Ye+"px"})},t.rest),o.a.createElement(ce,_({className:n.className,style:n.style},n.rest),De.map(Je)))}():null,o.a.createElement(ue,_({className:a()(We.className),style:_({},We.style,{minWidth:Ye+"px"})},We.rest),Le.map((function(t,n){return function t(n,r){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],s={original:n[Z],row:n,index:n[q],viewIndex:Ge+=1,pageSize:J,page:K,level:i.length,nestingPath:i.concat([r]),aggregated:n[W],groupedByPivot:n[X],subRows:n[Q]},u=c.get(re,s.nestingPath),l=M(He,s,void 0,e),f=c.splitProps(w(He,s,void 0,e));return o.a.createElement(le,_({key:s.nestingPath.join("_")},l),o.a.createElement(ce,_({className:a()(f.className,n._viewIndex%2?"-even":"-odd"),style:f.style},f.rest),De.map((function(t,r){var i=ne.find((function(e){return e.id===t.id}))||{},l="function"===typeof t.show?t.show():t.show,f=c.getFirstDefined(i.value,t.width,t.minWidth),d=c.getFirstDefined(i.value,t.width,t.maxWidth),p=c.splitProps(N(He,s,t,e)),h=c.splitProps(t.getProps(He,s,t,e)),g=[p.className,t.className,h.className],y=_({},p.style,t.style,h.style),m=_({},s,{isExpanded:u,column:_({},t),value:s.row[t.id],pivoted:t.pivoted,expander:t.expander,resized:ne,show:l,width:f,maxWidth:d,tdProps:p,columnProps:h,classes:g,styles:y}),v=m.value,b=void 0,M=void 0,w=void 0,j=c.normalizeComponent(t.Cell,m,v),S=t.Aggregated||(t.aggregate?t.Cell:Ne),I=t.Expander||be,D=t.PivotValue||Me,x=we||function(e){return o.a.createElement("div",null,o.a.createElement(I,e),o.a.createElement(D,e))},E=t.Pivot||x;(m.pivoted||m.expander)&&(m.expandable=!0,b=!0,!m.pivoted||m.subRows||ye||(m.expandable=!1)),m.pivoted?(M=s.row[G]===t.id&&m.subRows,w=V.indexOf(t.id)>V.indexOf(s.row[G])&&m.subRows,j=M?c.normalizeComponent(E,_({},m,{value:n[H]}),n[H]):w?c.normalizeComponent(S,m,v):null):m.aggregated&&(j=c.normalizeComponent(S,m,v)),m.expander&&(j=c.normalizeComponent(I,m,n[H]),V&&(m.groupedByPivot&&(j=null),m.subRows||ye||(j=null)));var O=b?function(t){var n=c.clone(re);return n=u?c.set(n,m.nestingPath,!1):c.set(n,m.nestingPath,{}),e.setStateWithData({expanded:n},(function(){return ie&&ie(n,m.nestingPath,t,m)}))}:function(){},T={onClick:O};return p.rest.onClick&&(T.onClick=function(e){p.rest.onClick(e,(function(){return O(e)}))}),h.rest.onClick&&(T.onClick=function(e){h.rest.onClick(e,(function(){return O(e)}))}),o.a.createElement(de,_({key:r+"-"+t.id,className:a()(g,!m.expandable&&!l&&"hidden",m.expandable&&"rt-expandable",(M||w)&&"rt-pivot"),style:_({},y,{flex:f+" 0 auto",width:c.asPx(f),maxWidth:c.asPx(d)})},p.rest,h.rest,T),j)}))),s.subRows&&u&&s.subRows.map((function(e,n){return t(e,n,s.nestingPath)})),ye&&!s.subRows&&u&&ye(s,(function(){var e=c.clone(re);c.set(e,s.nestingPath,!1)})))}(t,n)})),Ae.map(et)),ze?function(){var t=c.splitProps(j(He,void 0,void 0,e)),n=c.splitProps(S(He,void 0,void 0,e));return o.a.createElement(pe,_({className:t.className,style:_({},t.style,{minWidth:Ye+"px"})},t.rest),o.a.createElement(ce,_({className:a()(n.className),style:n.style},n.rest),De.map(tt)))}():null),C&&A?o.a.createElement("div",{className:"pagination-bottom"},nt(!1)):null,!Le.length&&o.a.createElement(me,qe,c.normalizeComponent(R)),o.a.createElement(ge,_({loading:$,loadingText:P},Ze)))};return n?n(He,rt,this):rt()}}]),t}(function(e){return function(e){function t(){return b(this,t),M(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),y(t,[{key:"getResolvedState",value:function(e,t){return g({},c.compactObject(this.state),c.compactObject(this.props),c.compactObject(t),c.compactObject(e))}},{key:"getDataModel",value:function(e,t){var n=this,r=e.columns,i=e.pivotBy,a=void 0===i?[]:i,s=e.data,u=e.resolveData,l=e.pivotIDKey,f=e.pivotValKey,d=e.subRowsKey,p=e.aggregatedKey,y=e.nestingLevelKey,b=e.originalKey,M=e.indexKey,w=e.groupedByPivotKey,N=e.SubComponent,j=!1;r.forEach((function(e){e.columns&&(j=!0)}));var S=[].concat(v(r)),I=r.find((function(e){return e.expander||e.columns&&e.columns.some((function(e){return e.expander}))}));I&&!I.expander&&(I=I.columns.find((function(e){return e.expander}))),N&&!I&&(S=[I={expander:!0}].concat(v(S)));var D=[],x=function(e,t){var r=function(e,t){var r=void 0;if((r=e.expander?g({},n.props.column,n.props.expanderDefaults,e):g({},n.props.column,e)).maxWidth<r.minWidth&&(r.minWidth=r.maxWidth),t&&(r.parentColumn=t),"string"===typeof r.accessor){r.id=r.id||r.accessor;var o=r.accessor;return r.accessor=function(e){return c.get(e,o)},r}if(r.accessor&&!r.id)throw console.warn(r),new Error("A column id is required if using a non-string accessor for column above.");return r.accessor||(r.accessor=function(){}),r}(e,t);return D.push(r),r},E=S.map((function(e){return e.columns?g({},e,{columns:e.columns.map((function(t){return x(t,e)}))}):x(e)})).slice(),O=[],T=(E=(E=E.map((function(e){if(e.columns){var t=e.columns.filter((function(e){return!(a.indexOf(e.id)>-1)&&c.getFirstDefined(e.show,!0)}));return g({},e,{columns:t})}return e}))).filter((function(e){return e.columns?e.columns.length:!(a.indexOf(e.id)>-1)&&c.getFirstDefined(e.show,!0)}))).findIndex((function(e){return e.pivot}));if(a.length){var C=[];a.forEach((function(e){var t=D.find((function(t){return t.id===e}));t&&C.push(t)}));var k=C.reduce((function(e,t){return e&&e===t.parentColumn&&t.parentColumn}),C[0].parentColumn),L=j&&k.Header,_={Header:L=L||function(){return o.a.createElement("strong",null,"Pivoted")},columns:C.map((function(e){return g({},n.props.pivotDefaults,e,{pivoted:!0})}))};T>=0?(_=g({},E[T],_),E.splice(T,1,_)):E.unshift(_)}var A=[],z=[],P=function(e,t){A.push(g({},n.props.column,t,{columns:e})),z=[]};E.forEach((function(e){if(e.columns)return O=O.concat(e.columns),z.length>0&&P(z),void P(e.columns,e);O.push(e),z.push(e)})),j&&z.length>0&&P(z);var R=this.resolvedData;this.resolvedData&&!t||(R=u(s),this.resolvedData=R),R=R.map((function(e,t){return function e(t,n){var r,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=(m(r={},b,t),m(r,M,n),m(r,d,t[d]),m(r,y,o),r);return D.forEach((function(e){e.expander||(i[e.id]=e.accessor(t))})),i[d]&&(i[d]=i[d].map((function(t,n){return e(t,n,o+1)}))),i}(e,t)}));var U=O.filter((function(e){return!e.expander&&e.aggregate})),B=function(e){var t={};return U.forEach((function(n){var r=e.map((function(e){return e[n.id]}));t[n.id]=n.aggregate(r,e)})),t};if(a.length){R=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(r===n.length)return t;var o=Object.entries(c.groupBy(t,n[r])).map((function(e){var t,o=h(e,2),i=o[0],a=o[1];return m(t={},l,n[r]),m(t,f,i),m(t,n[r],i),m(t,d,a),m(t,y,r),m(t,w,!0),t}));return o=o.map((function(t){var o,i=e(t[d],n,r+1);return g({},t,(m(o={},d,i),m(o,p,!0),o),B(i))}))}(R,a)}return g({},e,{resolvedData:R,allVisibleColumns:O,headerGroups:A,allDecoratedColumns:D,hasHeaderGroups:j})}},{key:"getSortedData",value:function(e){var t=e.manual,n=e.sorted,r=e.filtered,o=e.defaultFilterMethod,i=e.resolvedData,a=e.allDecoratedColumns,s={};return a.filter((function(e){return e.sortMethod})).forEach((function(e){s[e.id]=e.sortMethod})),{sortedData:t?i:this.sortData(this.filterData(i,r,o,a),n,s)}}},{key:"fireFetchData",value:function(){var e=g({},this.getResolvedState(),{page:this.getStateOrProp("page"),pageSize:this.getStateOrProp("pageSize"),filtered:this.getStateOrProp("filtered")});this.props.onFetchData(e,this)}},{key:"getPropOrState",value:function(e){return c.getFirstDefined(this.props[e],this.state[e])}},{key:"getStateOrProp",value:function(e){return c.getFirstDefined(this.state[e],this.props[e])}},{key:"filterData",value:function(e,t,n,r){var o=this,i=e;return t.length&&(i=(i=t.reduce((function(e,t){var o=r.find((function(e){return e.id===t.id}));if(!o||!1===o.filterable)return e;var i=o.filterMethod||n;return o.filterAll?i(t,e,o):e.filter((function(e){return i(t,e,o)}))}),i)).map((function(e){return e[o.props.subRowsKey]?g({},e,m({},o.props.subRowsKey,o.filterData(e[o.props.subRowsKey],t,n,r))):e})).filter((function(e){return!e[o.props.subRowsKey]||e[o.props.subRowsKey].length>0}))),i}},{key:"sortData",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t.length)return e;var o=(this.props.orderByMethod||c.orderBy)(e,t.map((function(e){return r[e.id]?function(t,n){return r[e.id](t[e.id],n[e.id],e.desc)}:function(t,r){return n.props.defaultSortMethod(t[e.id],r[e.id],e.desc)}})),t.map((function(e){return!e.desc})),this.props.indexKey);return o.forEach((function(e){e[n.props.subRowsKey]&&(e[n.props.subRowsKey]=n.sortData(e[n.props.subRowsKey],t,r))})),o}},{key:"getMinRows",value:function(){return c.getFirstDefined(this.props.minRows,this.getStateOrProp("pageSize"))}},{key:"onPageChange",value:function(e){var t=this.props,n=t.onPageChange,r=t.collapseOnPageChange,o={page:e};r&&(o.expanded={}),this.setStateWithData(o,(function(){return n&&n(e)}))}},{key:"onPageSizeChange",value:function(e){var t=this.props.onPageSizeChange,n=this.getResolvedState(),r=n.pageSize*n.page,o=Math.floor(r/e);this.setStateWithData({pageSize:e,page:o},(function(){return t&&t(e,o)}))}},{key:"sortColumn",value:function(e,t){var n=this.getResolvedState(),r=n.sorted,o=n.skipNextSort,i=n.defaultSortDesc,a=Object.prototype.hasOwnProperty.call(e,"defaultSortDesc")?e.defaultSortDesc:i,s=!a;if(o)this.setStateWithData({skipNextSort:!1});else{var u=this.props.onSortedChange,l=c.clone(r||[]).map((function(e){return e.desc=c.isSortingDesc(e),e}));if(c.isArray(e)){var f=l.findIndex((function(t){return t.id===e[0].id}));if(f>-1)l[f].desc===s?t?l.splice(f,e.length):e.forEach((function(e,t){l[f+t].desc=a})):e.forEach((function(e,t){l[f+t].desc=s})),t||(l=l.slice(f,e.length));else l=t?l.concat(e.map((function(e){return{id:e.id,desc:a}}))):e.map((function(e){return{id:e.id,desc:a}}))}else{var d=l.findIndex((function(t){return t.id===e.id}));if(d>-1){var p=l[d];p.desc===s?t?l.splice(d,1):(p.desc=a,l=[p]):(p.desc=s,t||(l=[p]))}else t?l.push({id:e.id,desc:a}):l=[{id:e.id,desc:a}]}this.setStateWithData({page:!r.length&&l.length||!t?0:this.state.page,sorted:l},(function(){return u&&u(l,e,t)}))}}},{key:"filterColumn",value:function(e,t){var n=this.getResolvedState().filtered,r=this.props.onFilteredChange,o=(n||[]).filter((function(t){return t.id!==e.id}));""!==t&&o.push({id:e.id,value:t}),this.setStateWithData({filtered:o},(function(){return r&&r(o,e,t)}))}},{key:"resizeColumnStart",value:function(e,t,n){var r=this;e.stopPropagation();var o=e.target.parentElement.getBoundingClientRect().width,i=void 0;i=n?e.changedTouches[0].pageX:e.pageX,this.trapEvents=!0,this.setStateWithData({currentlyResizing:{id:t.id,startX:i,parentWidth:o}},(function(){n?(document.addEventListener("touchmove",r.resizeColumnMoving),document.addEventListener("touchcancel",r.resizeColumnEnd),document.addEventListener("touchend",r.resizeColumnEnd)):(document.addEventListener("mousemove",r.resizeColumnMoving),document.addEventListener("mouseup",r.resizeColumnEnd),document.addEventListener("mouseleave",r.resizeColumnEnd))}))}},{key:"resizeColumnMoving",value:function(e){e.stopPropagation();var t=this.props,n=t.onResizedChange,r=t.column,o=this.getResolvedState(),i=o.resized,a=o.currentlyResizing,s=o.columns.find((function(e){return e.accessor===a.id||e.id===a.id})),u=s&&null!=s.minResizeWidth?s.minResizeWidth:r.minResizeWidth,l=i.filter((function(e){return e.id!==a.id})),c=void 0;"touchmove"===e.type?c=e.changedTouches[0].pageX:"mousemove"===e.type&&(c=e.pageX);var f=Math.max(a.parentWidth+c-a.startX,u);l.push({id:a.id,value:f}),this.setStateWithData({resized:l},(function(){return n&&n(l,e)}))}},{key:"resizeColumnEnd",value:function(e){e.stopPropagation();var t="touchend"===e.type||"touchcancel"===e.type;t&&(document.removeEventListener("touchmove",this.resizeColumnMoving),document.removeEventListener("touchcancel",this.resizeColumnEnd),document.removeEventListener("touchend",this.resizeColumnEnd)),document.removeEventListener("mousemove",this.resizeColumnMoving),document.removeEventListener("mouseup",this.resizeColumnEnd),document.removeEventListener("mouseleave",this.resizeColumnEnd),t||this.setStateWithData({skipNextSort:!0,currentlyResizing:!1})}}]),t}(e)}(function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),r={page:e.defaultPage,pageSize:e.defaultPageSize,sorted:e.defaultSorted,expanded:e.defaultExpanded,filtered:e.defaultFiltered,resized:e.defaultResized,currentlyResizing:!1,skipNextSort:!1},o=n.getResolvedState(e,r),i=n.getDataModel(o,!0);return n.state=n.calculateNewResolvedState(i),n}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),p(t,[{key:"componentDidMount",value:function(){this.fireFetchData()}},{key:"componentDidUpdate",value:function(e,t){var n=this.getResolvedState(e,t),r=this.getResolvedState(this.props,this.state);["sorted","filtered","resized","expanded"].forEach((function(e){var t="default"+(e.charAt(0).toUpperCase()+e.slice(1));JSON.stringify(n[t])!==JSON.stringify(r[t])&&(r[e]=r[t])})),["sortable","filterable","resizable"].forEach((function(e){if(n[e]!==r[e]){var t=e.replace("able","")+"ed",o="default"+(t.charAt(0).toUpperCase()+t.slice(1));r[t]=r[o]}})),n.data===r.data&&n.columns===r.columns&&n.pivotBy===r.pivotBy&&n.sorted===r.sorted&&n.filtered===r.filtered||this.setStateWithData(this.getDataModel(r,n.data!==r.data))}},{key:"calculateNewResolvedState",value:function(e){var t=this.getResolvedState(),n=this.getResolvedState({},e),r=n.freezeWhenExpanded;if(n.frozen=!1,r)for(var o=Object.keys(n.expanded),i=0;i<o.length;i+=1)if(n.expanded[o[i]]){n.frozen=!0;break}return(t.frozen&&!n.frozen||t.sorted!==n.sorted||t.filtered!==n.filtered||t.showFilters!==n.showFilters||!n.frozen&&t.resolvedData!==n.resolvedData)&&((t.sorted!==n.sorted&&this.props.collapseOnSortingChange||t.filtered!==n.filtered||t.showFilters!==n.showFilters||t.sortedData&&!n.frozen&&t.resolvedData!==n.resolvedData&&this.props.collapseOnDataChange)&&(n.expanded={}),Object.assign(n,this.getSortedData(n))),t.filtered!==n.filtered&&(n.page=0),n.sortedData&&(n.pages=n.manual?n.pages:Math.ceil(n.sortedData.length/n.pageSize),n.page=n.manual?n.page:Math.max(n.page>=n.pages?n.pages-1:n.page,0)),n}},{key:"setStateWithData",value:function(e,t){var n=this,r=this.getResolvedState(),o=this.calculateNewResolvedState(e);return this.setState(o,(function(){t&&t(),r.page===o.page&&r.pageSize===o.pageSize&&r.sorted===o.sorted&&r.filtered===o.filtered||n.fireFetchData()}))}}]),t}(r.Component)));P.propTypes=k,P.defaultProps=O},function(e,t,n){"use strict";var r=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}},o={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var i=function(e){for(var t,n=e.length,r=n^n,o=0;n>=4;)t=1540483477*(65535&(t=255&e.charCodeAt(o)|(255&e.charCodeAt(++o))<<8|(255&e.charCodeAt(++o))<<16|(255&e.charCodeAt(++o))<<24))+((1540483477*(t>>>16)&65535)<<16),r=1540483477*(65535&r)+((1540483477*(r>>>16)&65535)<<16)^(t=1540483477*(65535&(t^=t>>>24))+((1540483477*(t>>>16)&65535)<<16)),n-=4,++o;switch(n){case 3:r^=(255&e.charCodeAt(o+2))<<16;case 2:r^=(255&e.charCodeAt(o+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(o)))+((1540483477*(r>>>16)&65535)<<16)}return r=1540483477*(65535&(r^=r>>>13))+((1540483477*(r>>>16)&65535)<<16),((r^=r>>>15)>>>0).toString(36)};var a=function(e){function t(e,t,r){var o=t.trim().split(h);t=o;var i=o.length,a=e.length;switch(a){case 0:case 1:var s=0;for(e=0===a?"":e[0]+" ";s<i;++s)t[s]=n(e,t[s],r).trim();break;default:var u=s=0;for(t=[];s<i;++s)for(var l=0;l<a;++l)t[u++]=n(e[l]+" ",o[s],r).trim()}return t}function n(e,t,n){var r=t.charCodeAt(0);switch(33>r&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(g,"$1"+e.trim());case 58:return e.trim()+t.replace(g,"$1"+e.trim());default:if(0<1*n&&0<t.indexOf("\f"))return t.replace(g,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function r(e,t,n,i){var a=e+";",s=2*t+3*n+4*i;if(944===s){e=a.indexOf(":",9)+1;var u=a.substring(e,a.length-1).trim();return u=a.substring(0,e).trim()+u+";",1===O||2===O&&o(u,1)?"-webkit-"+u+u:u}if(0===O||2===O&&!o(a,1))return a;switch(s){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(I,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return"-webkit-box-pack"+(u=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+u+a;case 1005:return d.test(a)?a.replace(f,":-webkit-")+a.replace(f,":-moz-")+a:a;case 1e3:switch(t=(u=a.substring(13).trim()).indexOf("-")+1,u.charCodeAt(0)+u.charCodeAt(t)){case 226:u=a.replace(b,"tb");break;case 232:u=a.replace(b,"tb-rl");break;case 220:u=a.replace(b,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+u+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(t=(a=e).length-10,s=(u=(33===a.charCodeAt(t)?a.substring(0,t):a).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|u.charCodeAt(7))){case 203:if(111>u.charCodeAt(8))break;case 115:a=a.replace(u,"-webkit-"+u)+";"+a;break;case 207:case 102:a=a.replace(u,"-webkit-"+(102<s?"inline-":"")+"box")+";"+a.replace(u,"-webkit-"+u)+";"+a.replace(u,"-ms-"+u+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return u=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+u+"-ms-flex-"+u+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(N,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(N,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===S.test(e))return 115===(u=e.substring(e.indexOf(":")+1)).charCodeAt(0)?r(e.replace("stretch","fill-available"),t,n,i).replace(":fill-available",":stretch"):a.replace(u,"-webkit-"+u)+a.replace(u,"-moz-"+u.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===n+i&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(p,"$1-webkit-$2")+a}return a}function o(e,t){var n=e.indexOf(1===t?":":"{"),r=e.substring(0,3!==t?n:10);return n=e.substring(n+1,e.length-1),L(2!==t?r:r.replace(j,"$1"),n,t)}function i(e,t){var n=r(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(w," or ($1)").substring(4):"("+t+")"}function a(e,t,n,r,o,i,a,s,l,c){for(var f,d=0,p=t;d<k;++d)switch(f=C[d].call(u,e,p,n,r,o,i,a,s,l,c)){case void 0:case!1:case!0:case null:break;default:p=f}if(p!==t)return p}function s(e){return void 0!==(e=e.prefix)&&(L=null,e?"function"!==typeof e?O=1:(O=2,L=e):O=0),s}function u(e,n){var s=e;if(33>s.charCodeAt(0)&&(s=s.trim()),s=[s],0<k){var u=a(-1,n,s,s,x,D,0,0,0,0);void 0!==u&&"string"===typeof u&&(n=u)}var f=function e(n,s,u,f,d){for(var p,h,g,b,w,N=0,j=0,S=0,I=0,C=0,L=0,A=g=p=0,z=0,P=0,R=0,U=0,B=u.length,F=B-1,Y="",G="",H="",V="";z<B;){if(h=u.charCodeAt(z),z===F&&0!==j+I+S+N&&(0!==j&&(h=47===j?10:47),I=S=N=0,B++,F++),0===j+I+S+N){if(z===F&&(0<P&&(Y=Y.replace(c,"")),0<Y.trim().length)){switch(h){case 32:case 9:case 59:case 13:case 10:break;default:Y+=u.charAt(z)}h=59}switch(h){case 123:for(p=(Y=Y.trim()).charCodeAt(0),g=1,U=++z;z<B;){switch(h=u.charCodeAt(z)){case 123:g++;break;case 125:g--;break;case 47:switch(h=u.charCodeAt(z+1)){case 42:case 47:e:{for(A=z+1;A<F;++A)switch(u.charCodeAt(A)){case 47:if(42===h&&42===u.charCodeAt(A-1)&&z+2!==A){z=A+1;break e}break;case 10:if(47===h){z=A+1;break e}}z=A}}break;case 91:h++;case 40:h++;case 34:case 39:for(;z++<F&&u.charCodeAt(z)!==h;);}if(0===g)break;z++}switch(g=u.substring(U,z),0===p&&(p=(Y=Y.replace(l,"").trim()).charCodeAt(0)),p){case 64:switch(0<P&&(Y=Y.replace(c,"")),h=Y.charCodeAt(1)){case 100:case 109:case 115:case 45:P=s;break;default:P=T}if(U=(g=e(s,P,g,h,d+1)).length,0<k&&(w=a(3,g,P=t(T,Y,R),s,x,D,U,h,d,f),Y=P.join(""),void 0!==w&&0===(U=(g=w.trim()).length)&&(h=0,g="")),0<U)switch(h){case 115:Y=Y.replace(M,i);case 100:case 109:case 45:g=Y+"{"+g+"}";break;case 107:g=(Y=Y.replace(y,"$1 $2"))+"{"+g+"}",g=1===O||2===O&&o("@"+g,3)?"@-webkit-"+g+"@"+g:"@"+g;break;default:g=Y+g,112===f&&(G+=g,g="")}else g="";break;default:g=e(s,t(s,Y,R),g,f,d+1)}H+=g,g=R=P=A=p=0,Y="",h=u.charCodeAt(++z);break;case 125:case 59:if(1<(U=(Y=(0<P?Y.replace(c,""):Y).trim()).length))switch(0===A&&(p=Y.charCodeAt(0),45===p||96<p&&123>p)&&(U=(Y=Y.replace(" ",":")).length),0<k&&void 0!==(w=a(1,Y,s,n,x,D,G.length,f,d,f))&&0===(U=(Y=w.trim()).length)&&(Y="\0\0"),p=Y.charCodeAt(0),h=Y.charCodeAt(1),p){case 0:break;case 64:if(105===h||99===h){V+=Y+u.charAt(z);break}default:58!==Y.charCodeAt(U-1)&&(G+=r(Y,p,h,Y.charCodeAt(2)))}R=P=A=p=0,Y="",h=u.charCodeAt(++z)}}switch(h){case 13:case 10:47===j?j=0:0===1+p&&107!==f&&0<Y.length&&(P=1,Y+="\0"),0<k*_&&a(0,Y,s,n,x,D,G.length,f,d,f),D=1,x++;break;case 59:case 125:if(0===j+I+S+N){D++;break}default:switch(D++,b=u.charAt(z),h){case 9:case 32:if(0===I+N+j)switch(C){case 44:case 58:case 9:case 32:b="";break;default:32!==h&&(b=" ")}break;case 0:b="\\0";break;case 12:b="\\f";break;case 11:b="\\v";break;case 38:0===I+j+N&&(P=R=1,b="\f"+b);break;case 108:if(0===I+j+N+E&&0<A)switch(z-A){case 2:112===C&&58===u.charCodeAt(z-3)&&(E=C);case 8:111===L&&(E=L)}break;case 58:0===I+j+N&&(A=z);break;case 44:0===j+S+I+N&&(P=1,b+="\r");break;case 34:case 39:0===j&&(I=I===h?0:0===I?h:I);break;case 91:0===I+j+S&&N++;break;case 93:0===I+j+S&&N--;break;case 41:0===I+j+N&&S--;break;case 40:if(0===I+j+N){if(0===p)switch(2*C+3*L){case 533:break;default:p=1}S++}break;case 64:0===j+S+I+N+A+g&&(g=1);break;case 42:case 47:if(!(0<I+N+S))switch(j){case 0:switch(2*h+3*u.charCodeAt(z+1)){case 235:j=47;break;case 220:U=z,j=42}break;case 42:47===h&&42===C&&U+2!==z&&(33===u.charCodeAt(U+2)&&(G+=u.substring(U,z+1)),b="",j=0)}}0===j&&(Y+=b)}L=C,C=h,z++}if(0<(U=G.length)){if(P=s,0<k&&(void 0!==(w=a(2,G,P,n,x,D,U,f,d,f))&&0===(G=w).length))return V+G+H;if(G=P.join(",")+"{"+G+"}",0!==O*E){switch(2!==O||o(G,2)||(E=0),E){case 111:G=G.replace(v,":-moz-$1")+G;break;case 112:G=G.replace(m,"::-webkit-input-$1")+G.replace(m,"::-moz-$1")+G.replace(m,":-ms-input-$1")+G}E=0}}return V+G+H}(T,s,n,0,0);return 0<k&&(void 0!==(u=a(-2,f,s,s,x,D,f.length,0,0,0))&&(f=u)),"",E=0,D=x=1,f}var l=/^\0+/g,c=/[\0\r\f]/g,f=/: */g,d=/zoo|gra/,p=/([,: ])(transform)/g,h=/,\r+?/g,g=/([\t\r\n ])*\f?&/g,y=/@(k\w+)\s*(\S*)\s*/,m=/::(place)/g,v=/:(read-only)/g,b=/[svh]\w+-[tblr]{2}/,M=/\(\s*(.*)\s*\)/g,w=/([\s\S]*?);/g,N=/-self|flex-/g,j=/[^]*?(:[rp][el]a[\w-]+)[^]*/,S=/stretch|:\s*\w+\-(?:conte|avail)/,I=/([^-])(image-set\()/,D=1,x=1,E=0,O=1,T=[],C=[],k=0,L=null,_=0;return u.use=function e(t){switch(t){case void 0:case null:k=C.length=0;break;default:switch(t.constructor){case Array:for(var n=0,r=t.length;n<r;++n)e(t[n]);break;case Function:C[k++]=t;break;case Boolean:_=0|!!t}}return e},u.set=s,void 0!==e&&s(e),u},s=n(395),u=n.n(s),l=/[A-Z]|^ms/g,c=r((function(e){return e.replace(l,"-$&").toLowerCase()})),f=function(e,t){return null==t||"boolean"===typeof t?"":1===o[e]||45===e.charCodeAt(1)||isNaN(t)||0===t?t:t+"px"},d=function e(t){for(var n=t.length,r=0,o="";r<n;r++){var i=t[r];if(null!=i){var a=void 0;switch(typeof i){case"boolean":break;case"function":0,a=e([i()]);break;case"object":if(Array.isArray(i))a=e(i);else for(var s in a="",i)i[s]&&s&&(a&&(a+=" "),a+=s);break;default:a=i}a&&(o&&(o+=" "),o+=a)}}return o},p="undefined"!==typeof document;function h(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key||""),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),(void 0!==e.container?e.container:document.head).appendChild(t),t}var g=function(){function e(e){this.isSpeedy=!0,this.tags=[],this.ctr=0,this.opts=e}var t=e.prototype;return t.inject=function(){if(this.injected)throw new Error("already injected!");this.tags[0]=h(this.opts),this.injected=!0},t.speedy=function(e){if(0!==this.ctr)throw new Error("cannot change speedy now");this.isSpeedy=!!e},t.insert=function(e,t){if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(this.tags[this.tags.length-1]);try{n.insertRule(e,n.cssRules.length)}catch(o){0}}else{var r=h(this.opts);this.tags.push(r),r.appendChild(document.createTextNode(e+(t||"")))}this.ctr++,this.ctr%65e3===0&&this.tags.push(h(this.opts))},t.flush=function(){this.tags.forEach((function(e){return e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0,this.injected=!1},e}();t.a=function(e,t){if(void 0!==e.__SECRET_EMOTION__)return e.__SECRET_EMOTION__;void 0===t&&(t={});var n,r,o=t.key||"css",s=u()((function(e){n+=e,p&&h.insert(e,m)}));void 0!==t.prefix&&(r={prefix:t.prefix});var l={registered:{},inserted:{},nonce:t.nonce,key:o},h=new g(t);p&&h.inject();var y=new a(r);y.use(t.stylisPlugins)(s);var m="";function v(e,t){if(null==e)return"";switch(typeof e){case"boolean":return"";case"function":if(void 0!==e.__emotion_styles){var n=e.toString();return n}return v.call(this,void 0===this?e():e(this.mergedProps,this.context),t);case"object":return N.call(this,e);default:var r=l.registered[e];return!1===t&&void 0!==r?r:e}}var b,M,w=new WeakMap;function N(e){if(w.has(e))return w.get(e);var t="";return Array.isArray(e)?e.forEach((function(e){t+=v.call(this,e,!1)}),this):Object.keys(e).forEach((function(n){"object"!==typeof e[n]?void 0!==l.registered[e[n]]?t+=n+"{"+l.registered[e[n]]+"}":t+=c(n)+":"+f(n,e[n])+";":Array.isArray(e[n])&&"string"===typeof e[n][0]&&void 0===l.registered[e[n][0]]?e[n].forEach((function(e){t+=c(n)+":"+f(n,e)+";"})):t+=n+"{"+v.call(this,e[n],!1)+"}"}),this),w.set(e,t),t}var j=/label:\s*([^\s;\n{]+)\s*;/g,S=function(e,t){return i(e+t)+t},I=function(e){var t=!0,n="",r="";null==e||void 0===e.raw?(t=!1,n+=v.call(this,e,!1)):n+=e[0];for(var o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];return i.forEach((function(r,o){n+=v.call(this,r,46===n.charCodeAt(n.length-1)),!0===t&&void 0!==e[o+1]&&(n+=e[o+1])}),this),M=n,n=n.replace(j,(function(e,t){return r+="-"+t,""})),b=S(n,r),n};function D(e,t){void 0===l.inserted[b]&&(n="",y(e,t),l.inserted[b]=n)}var x=function(){var e=I.apply(this,arguments),t=o+"-"+b;return void 0===l.registered[t]&&(l.registered[t]=M),D("."+t,e),t};function E(e,t){var n="";return t.split(" ").forEach((function(t){void 0!==l.registered[t]?e.push(t):n+=t+" "})),n}function O(e,t){var n=[],r=E(n,e);return n.length<2?e:r+x(n,t)}function T(e){l.inserted[e]=!0}if(p){var C=document.querySelectorAll("[data-emotion-"+o+"]");Array.prototype.forEach.call(C,(function(e){h.tags[0].parentNode.insertBefore(e,h.tags[0]),e.getAttribute("data-emotion-"+o).split(" ").forEach(T)}))}var k={flush:function(){p&&(h.flush(),h.inject()),l.inserted={},l.registered={}},hydrate:function(e){e.forEach(T)},cx:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return O(d(t))},merge:O,getRegisteredStyles:E,injectGlobal:function(){var e=I.apply(this,arguments);D("",e)},keyframes:function(){var e=I.apply(this,arguments),t="animation-"+b;return D("","@keyframes "+t+"{"+e+"}"),t},css:x,sheet:h,caches:l};return e.__SECRET_EMOTION__=k,k}},function(e,t,n){"use strict";var r=n(1),o=n(5),i=n(0),a=n(4),s=n(8),u=n(400),l=i.forwardRef((function(e,t){var n=e.children,s=e.classes,l=e.className,c=e.invisible,f=void 0!==c&&c,d=e.open,p=e.transitionDuration,h=e.TransitionComponent,g=void 0===h?u.a:h,y=Object(o.a)(e,["children","classes","className","invisible","open","transitionDuration","TransitionComponent"]);return i.createElement(g,Object(r.a)({in:d,timeout:p},y),i.createElement("div",{className:Object(a.a)(s.root,l,f&&s.invisible),"aria-hidden":!0,ref:t},n))}));t.a=Object(s.a)({root:{zIndex:-1,position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},invisible:{backgroundColor:"transparent"}},{name:"MuiBackdrop"})(l)},function(e,t,n){"use strict";var r=n(1),o=n(52),i=n(5),a=n(0),s=n(207),u=n(45),l=n(33),c=n(55),f=n(19),d={entering:{opacity:1},entered:{opacity:1}},p={enter:u.b.enteringScreen,exit:u.b.leavingScreen},h=a.forwardRef((function(e,t){var n=e.children,u=e.disableStrictModeCompat,h=void 0!==u&&u,g=e.in,y=e.onEnter,m=e.onEntered,v=e.onEntering,b=e.onExit,M=e.onExited,w=e.onExiting,N=e.style,j=e.TransitionComponent,S=void 0===j?s.a:j,I=e.timeout,D=void 0===I?p:I,x=Object(i.a)(e,["children","disableStrictModeCompat","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","TransitionComponent","timeout"]),E=Object(l.a)(),O=E.unstable_strictMode&&!h,T=a.useRef(null),C=Object(f.a)(n.ref,t),k=Object(f.a)(O?T:void 0,C),L=function(e){return function(t,n){if(e){var r=O?[T.current,t]:[t,n],i=Object(o.a)(r,2),a=i[0],s=i[1];void 0===s?e(a):e(a,s)}}},_=L(v),A=L((function(e,t){Object(c.b)(e);var n=Object(c.a)({style:N,timeout:D},{mode:"enter"});e.style.webkitTransition=E.transitions.create("opacity",n),e.style.transition=E.transitions.create("opacity",n),y&&y(e,t)})),z=L(m),P=L(w),R=L((function(e){var t=Object(c.a)({style:N,timeout:D},{mode:"exit"});e.style.webkitTransition=E.transitions.create("opacity",t),e.style.transition=E.transitions.create("opacity",t),b&&b(e)})),U=L(M);return a.createElement(S,Object(r.a)({appear:!0,in:g,nodeRef:O?T:void 0,onEnter:A,onEntered:z,onEntering:_,onExit:R,onExited:U,onExiting:P,timeout:D},x),(function(e,t){return a.cloneElement(n,Object(r.a)({style:Object(r.a)({opacity:0,visibility:"exited"!==e||g?void 0:"hidden"},d[e],N,n.props.style),ref:k},t))}))}));t.a=h},function(e,t,n){"use strict";var r=n(1),o=n(5),i=n(0),a=n(4),s=n(8),u=n(9),l=i.forwardRef((function(e,t){var n=e.children,s=e.classes,l=e.className,c=e.color,f=void 0===c?"inherit":c,d=e.component,p=void 0===d?"svg":d,h=e.fontSize,g=void 0===h?"medium":h,y=e.htmlColor,m=e.titleAccess,v=e.viewBox,b=void 0===v?"0 0 24 24":v,M=Object(o.a)(e,["children","classes","className","color","component","fontSize","htmlColor","titleAccess","viewBox"]);return i.createElement(p,Object(r.a)({className:Object(a.a)(s.root,l,"inherit"!==f&&s["color".concat(Object(u.a)(f))],"default"!==g&&"medium"!==g&&s["fontSize".concat(Object(u.a)(g))]),focusable:"false",viewBox:b,color:y,"aria-hidden":!m||void 0,role:m?"img":void 0,ref:t},M),n,m?i.createElement("title",null,m):null)}));l.muiName="SvgIcon",t.a=Object(s.a)((function(e){return{root:{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,fontSize:e.typography.pxToRem(24),transition:e.transitions.create("fill",{duration:e.transitions.duration.shorter})},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},colorAction:{color:e.palette.action.active},colorError:{color:e.palette.error.main},colorDisabled:{color:e.palette.action.disabled},fontSizeInherit:{fontSize:"inherit"},fontSizeSmall:{fontSize:e.typography.pxToRem(20)},fontSizeLarge:{fontSize:e.typography.pxToRem(35)}}}),{name:"MuiSvgIcon"})(l)},function(e,t,n){"use strict";n.d(t,"a",(function(){return Le}));var r=n(44),o=Date.now(),i="fnValues"+o,a="fnStyle"+ ++o,s=function(){return{onCreateRule:function(e,t,n){if("function"!==typeof t)return null;var o=Object(r.c)(e,{},n);return o[a]=t,o},onProcessStyle:function(e,t){if(i in t||a in t)return e;var n={};for(var r in e){var o=e[r];"function"===typeof o&&(delete e[r],n[r]=o)}return t[i]=n,e},onUpdate:function(e,t,n,r){var o=t,s=o[a];s&&(o.style=s(e)||{});var u=o[i];if(u)for(var l in u)o.prop(l,u[l](e),r)}}},u=n(1),l="@global",c=function(){function e(e,t,n){for(var o in this.type="global",this.at=l,this.isProcessed=!1,this.key=e,this.options=n,this.rules=new r.a(Object(u.a)({},n,{parent:this})),t)this.rules.add(o,t[o]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return r&&this.options.jss.plugins.onProcessRule(r),r},t.replaceRule=function(e,t,n){var r=this.rules.replace(e,t,n);return r&&this.options.jss.plugins.onProcessRule(r),r},t.indexOf=function(e){return this.rules.indexOf(e)},t.toString=function(e){return this.rules.toString(e)},e}(),f=function(){function e(e,t,n){this.type="global",this.at=l,this.isProcessed=!1,this.key=e,this.options=n;var r=e.substr("@global ".length);this.rule=n.jss.createRule(r,t,Object(u.a)({},n,{parent:this}))}return e.prototype.toString=function(e){return this.rule?this.rule.toString(e):""},e}(),d=/\s*,\s*/g;function p(e,t){for(var n=e.split(d),r="",o=0;o<n.length;o++)r+=t+" "+n[o].trim(),n[o+1]&&(r+=", ");return r}var h=function(){return{onCreateRule:function(e,t,n){if(!e)return null;if(e===l)return new c(e,t,n);if("@"===e[0]&&"@global "===e.substr(0,"@global ".length))return new f(e,t,n);var r=n.parent;return r&&("global"===r.type||r.options.parent&&"global"===r.options.parent.type)&&(n.scoped=!1),n.selector||!1!==n.scoped||(n.selector=e),null},onProcessRule:function(e,t){"style"===e.type&&t&&(function(e,t){var n=e.options,r=e.style,o=r?r[l]:null;if(o){for(var i in o)t.addRule(i,o[i],Object(u.a)({},n,{selector:p(i,e.selector)}));delete r[l]}}(e,t),function(e,t){var n=e.options,r=e.style;for(var o in r)if("@"===o[0]&&o.substr(0,l.length)===l){var i=p(o.substr(l.length),e.selector);t.addRule(i,r[o],Object(u.a)({},n,{selector:i})),delete r[o]}}(e,t))}}},g=/\s*,\s*/g,y=/&/g,m=/\$([\w-]+)/g;var v=function(){function e(e,t){return function(n,r){var o=e.getRule(r)||t&&t.getRule(r);return o?o.selector:r}}function t(e,t){for(var n=t.split(g),r=e.split(g),o="",i=0;i<n.length;i++)for(var a=n[i],s=0;s<r.length;s++){var u=r[s];o&&(o+=", "),o+=-1!==u.indexOf("&")?u.replace(y,a):a+" "+u}return o}function n(e,t,n){if(n)return Object(u.a)({},n,{index:n.index+1});var r=e.options.nestingLevel;r=void 0===r?1:r+1;var o=Object(u.a)({},e.options,{nestingLevel:r,index:t.indexOf(e)+1});return delete o.name,o}return{onProcessStyle:function(r,o,i){if("style"!==o.type)return r;var a,s,l=o,c=l.options.parent;for(var f in r){var d=-1!==f.indexOf("&"),p="@"===f[0];if(d||p){if(a=n(l,c,a),d){var h=t(f,l.selector);s||(s=e(c,i)),h=h.replace(m,s);var g=l.key+"-"+f;"replaceRule"in c?c.replaceRule(g,r[f],Object(u.a)({},a,{selector:h})):c.addRule(g,r[f],Object(u.a)({},a,{selector:h}))}else p&&c.addRule(f,{},a).addRule(l.key,r[f],{selector:l.selector});delete r[f]}}return r}}},b=/[A-Z]/g,M=/^ms-/,w={};function N(e){return"-"+e.toLowerCase()}var j=function(e){if(w.hasOwnProperty(e))return w[e];var t=e.replace(b,N);return w[e]=M.test(t)?"-"+t:t};function S(e){var t={};for(var n in e){t[0===n.indexOf("--")?n:j(n)]=e[n]}return e.fallbacks&&(Array.isArray(e.fallbacks)?t.fallbacks=e.fallbacks.map(S):t.fallbacks=S(e.fallbacks)),t}var I=function(){return{onProcessStyle:function(e){if(Array.isArray(e)){for(var t=0;t<e.length;t++)e[t]=S(e[t]);return e}return S(e)},onChangeValue:function(e,t,n){if(0===t.indexOf("--"))return e;var r=j(t);return t===r?e:(n.prop(r,e),null)}}},D=r.e&&CSS?CSS.px:"px",x=r.e&&CSS?CSS.ms:"ms",E=r.e&&CSS?CSS.percent:"%";function O(e){var t=/(-[a-z])/g,n=function(e){return e[1].toUpperCase()},r={};for(var o in e)r[o]=e[o],r[o.replace(t,n)]=e[o];return r}var T=O({"animation-delay":x,"animation-duration":x,"background-position":D,"background-position-x":D,"background-position-y":D,"background-size":D,border:D,"border-bottom":D,"border-bottom-left-radius":D,"border-bottom-right-radius":D,"border-bottom-width":D,"border-left":D,"border-left-width":D,"border-radius":D,"border-right":D,"border-right-width":D,"border-top":D,"border-top-left-radius":D,"border-top-right-radius":D,"border-top-width":D,"border-width":D,"border-block":D,"border-block-end":D,"border-block-end-width":D,"border-block-start":D,"border-block-start-width":D,"border-block-width":D,"border-inline":D,"border-inline-end":D,"border-inline-end-width":D,"border-inline-start":D,"border-inline-start-width":D,"border-inline-width":D,"border-start-start-radius":D,"border-start-end-radius":D,"border-end-start-radius":D,"border-end-end-radius":D,margin:D,"margin-bottom":D,"margin-left":D,"margin-right":D,"margin-top":D,"margin-block":D,"margin-block-end":D,"margin-block-start":D,"margin-inline":D,"margin-inline-end":D,"margin-inline-start":D,padding:D,"padding-bottom":D,"padding-left":D,"padding-right":D,"padding-top":D,"padding-block":D,"padding-block-end":D,"padding-block-start":D,"padding-inline":D,"padding-inline-end":D,"padding-inline-start":D,"mask-position-x":D,"mask-position-y":D,"mask-size":D,height:D,width:D,"min-height":D,"max-height":D,"min-width":D,"max-width":D,bottom:D,left:D,top:D,right:D,inset:D,"inset-block":D,"inset-block-end":D,"inset-block-start":D,"inset-inline":D,"inset-inline-end":D,"inset-inline-start":D,"box-shadow":D,"text-shadow":D,"column-gap":D,"column-rule":D,"column-rule-width":D,"column-width":D,"font-size":D,"font-size-delta":D,"letter-spacing":D,"text-decoration-thickness":D,"text-indent":D,"text-stroke":D,"text-stroke-width":D,"word-spacing":D,motion:D,"motion-offset":D,outline:D,"outline-offset":D,"outline-width":D,perspective:D,"perspective-origin-x":E,"perspective-origin-y":E,"transform-origin":E,"transform-origin-x":E,"transform-origin-y":E,"transform-origin-z":E,"transition-delay":x,"transition-duration":x,"vertical-align":D,"flex-basis":D,"shape-margin":D,size:D,gap:D,grid:D,"grid-gap":D,"row-gap":D,"grid-row-gap":D,"grid-column-gap":D,"grid-template-rows":D,"grid-template-columns":D,"grid-auto-rows":D,"grid-auto-columns":D,"box-shadow-x":D,"box-shadow-y":D,"box-shadow-blur":D,"box-shadow-spread":D,"font-line-height":D,"text-shadow-x":D,"text-shadow-y":D,"text-shadow-blur":D});function C(e,t,n){if(null==t)return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]=C(e,t[r],n);else if("object"===typeof t)if("fallbacks"===e)for(var o in t)t[o]=C(o,t[o],n);else for(var i in t)t[i]=C(e+"-"+i,t[i],n);else if("number"===typeof t&&!1===isNaN(t)){var a=n[e]||T[e];return!a||0===t&&a===D?t.toString():"function"===typeof a?a(t).toString():""+t+a}return t}var k=function(e){void 0===e&&(e={});var t=O(e);return{onProcessStyle:function(e,n){if("style"!==n.type)return e;for(var r in e)e[r]=C(r,e[r],t);return e},onChangeValue:function(e,n){return C(n,e,t)}}},L=n(116),_=n(85),A="",z="",P="",R="",U=L.a&&"ontouchstart"in document.documentElement;if(L.a){var B={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},F=document.createElement("p").style;for(var Y in B)if(Y+"Transform"in F){A=Y,z=B[Y];break}"Webkit"===A&&"msHyphens"in F&&(A="ms",z=B.ms,R="edge"),"Webkit"===A&&"-apple-trailing-word"in F&&(P="apple")}var G=A,H=z,V=P,Q=R,W=U;var Z={noPrefill:["appearance"],supportedProperty:function(e){return"appearance"===e&&("ms"===G?"-webkit-"+e:H+e)}},q={noPrefill:["color-adjust"],supportedProperty:function(e){return"color-adjust"===e&&("Webkit"===G?H+"print-"+e:e)}},X=/[-\s]+(.)?/g;function $(e,t){return t?t.toUpperCase():""}function J(e){return e.replace(X,$)}function K(e){return J("-"+e)}var ee,te={noPrefill:["mask"],supportedProperty:function(e,t){if(!/^mask/.test(e))return!1;if("Webkit"===G){if(J("mask-image")in t)return e;if(G+K("mask-image")in t)return H+e}return e}},ne={noPrefill:["text-orientation"],supportedProperty:function(e){return"text-orientation"===e&&("apple"!==V||W?e:H+e)}},re={noPrefill:["transform"],supportedProperty:function(e,t,n){return"transform"===e&&(n.transform?e:H+e)}},oe={noPrefill:["transition"],supportedProperty:function(e,t,n){return"transition"===e&&(n.transition?e:H+e)}},ie={noPrefill:["writing-mode"],supportedProperty:function(e){return"writing-mode"===e&&("Webkit"===G||"ms"===G&&"edge"!==Q?H+e:e)}},ae={noPrefill:["user-select"],supportedProperty:function(e){return"user-select"===e&&("Moz"===G||"ms"===G||"apple"===V?H+e:e)}},se={supportedProperty:function(e,t){return!!/^break-/.test(e)&&("Webkit"===G?"WebkitColumn"+K(e)in t&&H+"column-"+e:"Moz"===G&&("page"+K(e)in t&&"page-"+e))}},ue={supportedProperty:function(e,t){if(!/^(border|margin|padding)-inline/.test(e))return!1;if("Moz"===G)return e;var n=e.replace("-inline","");return G+K(n)in t&&H+n}},le={supportedProperty:function(e,t){return J(e)in t&&e}},ce={supportedProperty:function(e,t){var n=K(e);return"-"===e[0]||"-"===e[0]&&"-"===e[1]?e:G+n in t?H+e:"Webkit"!==G&&"Webkit"+n in t&&"-webkit-"+e}},fe={supportedProperty:function(e){return"scroll-snap"===e.substring(0,11)&&("ms"===G?""+H+e:e)}},de={supportedProperty:function(e){return"overscroll-behavior"===e&&("ms"===G?H+"scroll-chaining":e)}},pe={"flex-grow":"flex-positive","flex-shrink":"flex-negative","flex-basis":"flex-preferred-size","justify-content":"flex-pack",order:"flex-order","align-items":"flex-align","align-content":"flex-line-pack"},he={supportedProperty:function(e,t){var n=pe[e];return!!n&&(G+K(n)in t&&H+n)}},ge={flex:"box-flex","flex-grow":"box-flex","flex-direction":["box-orient","box-direction"],order:"box-ordinal-group","align-items":"box-align","flex-flow":["box-orient","box-direction"],"justify-content":"box-pack"},ye=Object.keys(ge),me=function(e){return H+e},ve=[Z,q,te,ne,re,oe,ie,ae,se,ue,le,ce,fe,de,he,{supportedProperty:function(e,t,n){var r=n.multiple;if(ye.indexOf(e)>-1){var o=ge[e];if(!Array.isArray(o))return G+K(o)in t&&H+o;if(!r)return!1;for(var i=0;i<o.length;i++)if(!(G+K(o[0])in t))return!1;return o.map(me)}return!1}}],be=ve.filter((function(e){return e.supportedProperty})).map((function(e){return e.supportedProperty})),Me=ve.filter((function(e){return e.noPrefill})).reduce((function(e,t){return e.push.apply(e,Object(_.a)(t.noPrefill)),e}),[]),we={};if(L.a){ee=document.createElement("p");var Ne=window.getComputedStyle(document.documentElement,"");for(var je in Ne)isNaN(je)||(we[Ne[je]]=Ne[je]);Me.forEach((function(e){return delete we[e]}))}function Se(e,t){if(void 0===t&&(t={}),!ee)return e;if(null!=we[e])return we[e];"transition"!==e&&"transform"!==e||(t[e]=e in ee.style);for(var n=0;n<be.length&&(we[e]=be[n](e,ee.style,t),!we[e]);n++);try{ee.style[e]=""}catch(r){return!1}return we[e]}var Ie,De={},xe={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},Ee=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g;function Oe(e,t,n){if("var"===t)return"var";if("all"===t)return"all";if("all"===n)return", all";var r=t?Se(t):", "+Se(n);return r||(t||n)}function Te(e,t){var n=t;if(!Ie||"content"===e)return t;if("string"!==typeof n||!isNaN(parseInt(n,10)))return n;var r=e+n;if(null!=De[r])return De[r];try{Ie.style[e]=n}catch(o){return De[r]=!1,!1}if(xe[e])n=n.replace(Ee,Oe);else if(""===Ie.style[e]&&("-ms-flex"===(n=H+n)&&(Ie.style[e]="-ms-flexbox"),Ie.style[e]=n,""===Ie.style[e]))return De[r]=!1,!1;return Ie.style[e]="",De[r]=n,De[r]}L.a&&(Ie=document.createElement("p"));var Ce=function(){function e(t){for(var n in t){var o=t[n];if("fallbacks"===n&&Array.isArray(o))t[n]=o.map(e);else{var i=!1,a=Se(n);a&&a!==n&&(i=!0);var s=!1,u=Te(a,Object(r.f)(o));u&&u!==o&&(s=!0),(i||s)&&(i&&delete t[n],t[a||n]=u||o)}}return t}return{onProcessRule:function(e){if("keyframes"===e.type){var t=e;t.at="-"===(n=t.at)[1]||"ms"===G?n:"@"+H+"keyframes"+n.substr(10)}var n},onProcessStyle:function(t,n){return"style"!==n.type?t:e(t)},onChangeValue:function(e,t){return Te(t,Object(r.f)(e))||e}}};var ke=function(){var e=function(e,t){return e.length===t.length?e>t?1:-1:e.length-t.length};return{onProcessStyle:function(t,n){if("style"!==n.type)return t;for(var r={},o=Object.keys(t).sort(e),i=0;i<o.length;i++)r[o[i]]=t[o[i]];return r}}};function Le(){return{plugins:[s(),h(),v(),I(),k(),"undefined"===typeof window?null:Ce(),ke()]}}},function(e,t,n){"use strict";var r=n(5),o=n(1),i=n(189),a=n(0),s=n(4),u=n(71),l=n(86),c=n(8),f=n(9),d=n(19),p=n(65);function h(e,t){return parseInt(e[t],10)||0}var g="undefined"!==typeof window?a.useLayoutEffect:a.useEffect,y={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"},m=a.forwardRef((function(e,t){var n=e.onChange,i=e.rows,s=e.rowsMax,u=e.rowsMin,l=e.maxRows,c=e.minRows,f=void 0===c?1:c,m=e.style,v=e.value,b=Object(r.a)(e,["onChange","rows","rowsMax","rowsMin","maxRows","minRows","style","value"]),M=l||s,w=i||u||f,N=a.useRef(null!=v).current,j=a.useRef(null),S=Object(d.a)(t,j),I=a.useRef(null),D=a.useRef(0),x=a.useState({}),E=x[0],O=x[1],T=a.useCallback((function(){var t=j.current,n=window.getComputedStyle(t),r=I.current;r.style.width=n.width,r.value=t.value||e.placeholder||"x","\n"===r.value.slice(-1)&&(r.value+=" ");var o=n["box-sizing"],i=h(n,"padding-bottom")+h(n,"padding-top"),a=h(n,"border-bottom-width")+h(n,"border-top-width"),s=r.scrollHeight-i;r.value="x";var u=r.scrollHeight-i,l=s;w&&(l=Math.max(Number(w)*u,l)),M&&(l=Math.min(Number(M)*u,l));var c=(l=Math.max(l,u))+("border-box"===o?i+a:0),f=Math.abs(l-s)<=1;O((function(e){return D.current<20&&(c>0&&Math.abs((e.outerHeightStyle||0)-c)>1||e.overflow!==f)?(D.current+=1,{overflow:f,outerHeightStyle:c}):e}))}),[M,w,e.placeholder]);a.useEffect((function(){var e=Object(p.a)((function(){D.current=0,T()}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}),[T]),g((function(){T()})),a.useEffect((function(){D.current=0}),[v]);return a.createElement(a.Fragment,null,a.createElement("textarea",Object(o.a)({value:v,onChange:function(e){D.current=0,N||T(),n&&n(e)},ref:S,rows:w,style:Object(o.a)({height:E.outerHeightStyle,overflow:E.overflow?"hidden":null},m)},b)),a.createElement("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:I,tabIndex:-1,style:Object(o.a)({},y,m)}))})),v=n(112),b="undefined"===typeof window?a.useEffect:a.useLayoutEffect,M=a.forwardRef((function(e,t){var n=e["aria-describedby"],c=e.autoComplete,p=e.autoFocus,h=e.classes,g=e.className,y=(e.color,e.defaultValue),M=e.disabled,w=e.endAdornment,N=(e.error,e.fullWidth),j=void 0!==N&&N,S=e.id,I=e.inputComponent,D=void 0===I?"input":I,x=e.inputProps,E=void 0===x?{}:x,O=e.inputRef,T=(e.margin,e.multiline),C=void 0!==T&&T,k=e.name,L=e.onBlur,_=e.onChange,A=e.onClick,z=e.onFocus,P=e.onKeyDown,R=e.onKeyUp,U=e.placeholder,B=e.readOnly,F=e.renderSuffix,Y=e.rows,G=e.rowsMax,H=e.rowsMin,V=e.maxRows,Q=e.minRows,W=e.startAdornment,Z=e.type,q=void 0===Z?"text":Z,X=e.value,$=Object(r.a)(e,["aria-describedby","autoComplete","autoFocus","classes","className","color","defaultValue","disabled","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","rowsMax","rowsMin","maxRows","minRows","startAdornment","type","value"]),J=null!=E.value?E.value:X,K=a.useRef(null!=J).current,ee=a.useRef(),te=a.useCallback((function(e){0}),[]),ne=Object(d.a)(E.ref,te),re=Object(d.a)(O,ne),oe=Object(d.a)(ee,re),ie=a.useState(!1),ae=ie[0],se=ie[1],ue=Object(l.b)();var le=Object(u.a)({props:e,muiFormControl:ue,states:["color","disabled","error","hiddenLabel","margin","required","filled"]});le.focused=ue?ue.focused:ae,a.useEffect((function(){!ue&&M&&ae&&(se(!1),L&&L())}),[ue,M,ae,L]);var ce=ue&&ue.onFilled,fe=ue&&ue.onEmpty,de=a.useCallback((function(e){Object(v.b)(e)?ce&&ce():fe&&fe()}),[ce,fe]);b((function(){K&&de({value:J})}),[J,de,K]);a.useEffect((function(){de(ee.current)}),[]);var pe=D,he=Object(o.a)({},E,{ref:oe});"string"!==typeof pe?he=Object(o.a)({inputRef:oe,type:q},he,{ref:null}):C?!Y||V||Q||G||H?(he=Object(o.a)({minRows:Y||Q,rowsMax:G,maxRows:V},he),pe=m):pe="textarea":he=Object(o.a)({type:q},he);return a.useEffect((function(){ue&&ue.setAdornedStart(Boolean(W))}),[ue,W]),a.createElement("div",Object(o.a)({className:Object(s.a)(h.root,h["color".concat(Object(f.a)(le.color||"primary"))],g,le.disabled&&h.disabled,le.error&&h.error,j&&h.fullWidth,le.focused&&h.focused,ue&&h.formControl,C&&h.multiline,W&&h.adornedStart,w&&h.adornedEnd,"dense"===le.margin&&h.marginDense),onClick:function(e){ee.current&&e.currentTarget===e.target&&ee.current.focus(),A&&A(e)},ref:t},$),W,a.createElement(l.a.Provider,{value:null},a.createElement(pe,Object(o.a)({"aria-invalid":le.error,"aria-describedby":n,autoComplete:c,autoFocus:p,defaultValue:y,disabled:le.disabled,id:S,onAnimationStart:function(e){de("mui-auto-fill-cancel"===e.animationName?ee.current:{value:"x"})},name:k,placeholder:U,readOnly:B,required:le.required,rows:Y,value:J,onKeyDown:P,onKeyUp:R},he,{className:Object(s.a)(h.input,E.className,le.disabled&&h.disabled,C&&h.inputMultiline,le.hiddenLabel&&h.inputHiddenLabel,W&&h.inputAdornedStart,w&&h.inputAdornedEnd,"search"===q&&h.inputTypeSearch,"dense"===le.margin&&h.inputMarginDense),onBlur:function(e){L&&L(e),E.onBlur&&E.onBlur(e),ue&&ue.onBlur?ue.onBlur(e):se(!1)},onChange:function(e){if(!K){var t=e.target||ee.current;if(null==t)throw new Error(Object(i.a)(1));de({value:t.value})}for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];E.onChange&&E.onChange.apply(E,[e].concat(r)),_&&_.apply(void 0,[e].concat(r))},onFocus:function(e){le.disabled?e.stopPropagation():(z&&z(e),E.onFocus&&E.onFocus(e),ue&&ue.onFocus?ue.onFocus(e):se(!0))}}))),w,F?F(Object(o.a)({},le,{startAdornment:W})):null)}));t.a=Object(c.a)((function(e){var t="light"===e.palette.type,n={color:"currentColor",opacity:t?.42:.5,transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},r={opacity:"0 !important"},i={opacity:t?.42:.5};return{"@global":{"@keyframes mui-auto-fill":{},"@keyframes mui-auto-fill-cancel":{}},root:Object(o.a)({},e.typography.body1,{color:e.palette.text.primary,lineHeight:"1.1876em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center","&$disabled":{color:e.palette.text.disabled,cursor:"default"}}),formControl:{},focused:{},disabled:{},adornedStart:{},adornedEnd:{},error:{},marginDense:{},multiline:{padding:"".concat(6,"px 0 ").concat(7,"px"),"&$marginDense":{paddingTop:3}},colorSecondary:{},fullWidth:{width:"100%"},input:{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"".concat(6,"px 0 ").concat(7,"px"),border:0,boxSizing:"content-box",background:"none",height:"1.1876em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&:-ms-input-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{"-webkit-appearance":"none"},"label[data-shrink=false] + $formControl &":{"&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&:-ms-input-placeholder":r,"&::-ms-input-placeholder":r,"&:focus::-webkit-input-placeholder":i,"&:focus::-moz-placeholder":i,"&:focus:-ms-input-placeholder":i,"&:focus::-ms-input-placeholder":i},"&$disabled":{opacity:1},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},inputMarginDense:{paddingTop:3},inputMultiline:{height:"auto",resize:"none",padding:0},inputTypeSearch:{"-moz-appearance":"textfield","-webkit-appearance":"textfield"},inputAdornedStart:{},inputAdornedEnd:{},inputHiddenLabel:{}}}),{name:"MuiInputBase"})(M)},function(e,t){function n(t){return e.exports=n="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},e.exports.__esModule=!0,e.exports.default=e.exports,n(t)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},,,,,,,,,,,,function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";var r=n(296),o="function"===typeof Symbol&&Symbol.for,i=o?Symbol.for("react.element"):60103,a=o?Symbol.for("react.portal"):60106,s=o?Symbol.for("react.fragment"):60107,u=o?Symbol.for("react.strict_mode"):60108,l=o?Symbol.for("react.profiler"):60114,c=o?Symbol.for("react.provider"):60109,f=o?Symbol.for("react.context"):60110,d=o?Symbol.for("react.forward_ref"):60112,p=o?Symbol.for("react.suspense"):60113,h=o?Symbol.for("react.memo"):60115,g=o?Symbol.for("react.lazy"):60116,y="function"===typeof Symbol&&Symbol.iterator;function m(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var v={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b={};function M(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||v}function w(){}function N(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||v}M.prototype.isReactComponent={},M.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error(m(85));this.updater.enqueueSetState(this,e,t,"setState")},M.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},w.prototype=M.prototype;var j=N.prototype=new w;j.constructor=N,r(j,M.prototype),j.isPureReactComponent=!0;var S={current:null},I=Object.prototype.hasOwnProperty,D={key:!0,ref:!0,__self:!0,__source:!0};function x(e,t,n){var r,o={},a=null,s=null;if(null!=t)for(r in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)I.call(t,r)&&!D.hasOwnProperty(r)&&(o[r]=t[r]);var u=arguments.length-2;if(1===u)o.children=n;else if(1<u){for(var l=Array(u),c=0;c<u;c++)l[c]=arguments[c+2];o.children=l}if(e&&e.defaultProps)for(r in u=e.defaultProps)void 0===o[r]&&(o[r]=u[r]);return{$$typeof:i,type:e,key:a,ref:s,props:o,_owner:S.current}}function E(e){return"object"===typeof e&&null!==e&&e.$$typeof===i}var O=/\/+/g,T=[];function C(e,t,n,r){if(T.length){var o=T.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 k(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>T.length&&T.push(e)}function L(e,t,n){return null==e?0:function e(t,n,r,o){var s=typeof t;"undefined"!==s&&"boolean"!==s||(t=null);var u=!1;if(null===t)u=!0;else switch(s){case"string":case"number":u=!0;break;case"object":switch(t.$$typeof){case i:case a:u=!0}}if(u)return r(o,t,""===n?"."+_(t,0):n),1;if(u=0,n=""===n?".":n+":",Array.isArray(t))for(var l=0;l<t.length;l++){var c=n+_(s=t[l],l);u+=e(s,c,r,o)}else if(null===t||"object"!==typeof t?c=null:c="function"===typeof(c=y&&t[y]||t["@@iterator"])?c:null,"function"===typeof c)for(t=c.call(t),l=0;!(s=t.next()).done;)u+=e(s=s.value,c=n+_(s,l++),r,o);else if("object"===s)throw r=""+t,Error(m(31,"[object Object]"===r?"object with keys {"+Object.keys(t).join(", ")+"}":r,""));return u}(e,"",t,n)}function _(e,t){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function A(e,t){e.func.call(e.context,t,e.count++)}function z(e,t,n){var r=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?P(e,r,n,(function(e){return e})):null!=e&&(E(e)&&(e=function(e,t){return{$$typeof:i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(O,"$&/")+"/")+n)),r.push(e))}function P(e,t,n,r,o){var i="";null!=n&&(i=(""+n).replace(O,"$&/")+"/"),L(e,z,t=C(t,i,r,o)),k(t)}var R={current:null};function U(){var e=R.current;if(null===e)throw Error(m(321));return e}var B={ReactCurrentDispatcher:R,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:S,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:function(e,t,n){if(null==e)return e;var r=[];return P(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;L(e,A,t=C(null,null,t,n)),k(t)},count:function(e){return L(e,(function(){return null}),null)},toArray:function(e){var t=[];return P(e,t,null,(function(e){return e})),t},only:function(e){if(!E(e))throw Error(m(143));return e}},t.Component=M,t.Fragment=s,t.Profiler=l,t.PureComponent=N,t.StrictMode=u,t.Suspense=p,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=B,t.cloneElement=function(e,t,n){if(null===e||void 0===e)throw Error(m(267,e));var o=r({},e.props),a=e.key,s=e.ref,u=e._owner;if(null!=t){if(void 0!==t.ref&&(s=t.ref,u=S.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(c in t)I.call(t,c)&&!D.hasOwnProperty(c)&&(o[c]=void 0===t[c]&&void 0!==l?l[c]:t[c])}var c=arguments.length-2;if(1===c)o.children=n;else if(1<c){l=Array(c);for(var f=0;f<c;f++)l[f]=arguments[f+2];o.children=l}return{$$typeof:i,type:e.type,key:a,ref:s,props:o,_owner:u}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:f,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:c,_context:e},e.Consumer=e},t.createElement=x,t.createFactory=function(e){var t=x.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:d,render:e}},t.isValidElement=E,t.lazy=function(e){return{$$typeof:g,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:h,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return U().useCallback(e,t)},t.useContext=function(e,t){return U().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return U().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return U().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return U().useLayoutEffect(e,t)},t.useMemo=function(e,t){return U().useMemo(e,t)},t.useReducer=function(e,t,n){return U().useReducer(e,t,n)},t.useRef=function(e){return U().useRef(e)},t.useState=function(e){return U().useState(e)},t.version="16.14.0"},function(e,t,n){"use strict";var r="function"===typeof Symbol&&Symbol.for,o=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,s=r?Symbol.for("react.strict_mode"):60108,u=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,c=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,g=r?Symbol.for("react.suspense_list"):60120,y=r?Symbol.for("react.memo"):60115,m=r?Symbol.for("react.lazy"):60116,v=r?Symbol.for("react.block"):60121,b=r?Symbol.for("react.fundamental"):60117,M=r?Symbol.for("react.responder"):60118,w=r?Symbol.for("react.scope"):60119;function N(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case f:case d:case a:case u:case s:case h:return e;default:switch(e=e&&e.$$typeof){case c:case p:case m:case y:case l:return e;default:return t}}case i:return t}}}function j(e){return N(e)===d}t.AsyncMode=f,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=o,t.ForwardRef=p,t.Fragment=a,t.Lazy=m,t.Memo=y,t.Portal=i,t.Profiler=u,t.StrictMode=s,t.Suspense=h,t.isAsyncMode=function(e){return j(e)||N(e)===f},t.isConcurrentMode=j,t.isContextConsumer=function(e){return N(e)===c},t.isContextProvider=function(e){return N(e)===l},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return N(e)===p},t.isFragment=function(e){return N(e)===a},t.isLazy=function(e){return N(e)===m},t.isMemo=function(e){return N(e)===y},t.isPortal=function(e){return N(e)===i},t.isProfiler=function(e){return N(e)===u},t.isStrictMode=function(e){return N(e)===s},t.isSuspense=function(e){return N(e)===h},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===a||e===d||e===u||e===s||e===h||e===g||"object"===typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===y||e.$$typeof===l||e.$$typeof===c||e.$$typeof===p||e.$$typeof===b||e.$$typeof===M||e.$$typeof===w||e.$$typeof===v)},t.typeOf=N},function(e,t,n){"use strict";var r=n(421);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";var r=n(0),o=n(296),i=n(423);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(a(227));function s(e,t,n,r,o,i,a,s,u){var l=Array.prototype.slice.call(arguments,3);try{t.apply(n,l)}catch(c){this.onError(c)}}var u=!1,l=null,c=!1,f=null,d={onError:function(e){u=!0,l=e}};function p(e,t,n,r,o,i,a,c,f){u=!1,l=null,s.apply(d,arguments)}var h=null,g=null,y=null;function m(e,t,n){var r=e.type||"unknown-event";e.currentTarget=y(n),function(e,t,n,r,o,i,s,d,h){if(p.apply(this,arguments),u){if(!u)throw Error(a(198));var g=l;u=!1,l=null,c||(c=!0,f=g)}}(r,t,void 0,e),e.currentTarget=null}var v=null,b={};function M(){if(v)for(var e in b){var t=b[e],n=v.indexOf(e);if(!(-1<n))throw Error(a(96,e));if(!N[n]){if(!t.extractEvents)throw Error(a(97,e));for(var r in N[n]=t,n=t.eventTypes){var o=void 0,i=n[r],s=t,u=r;if(j.hasOwnProperty(u))throw Error(a(99,u));j[u]=i;var l=i.phasedRegistrationNames;if(l){for(o in l)l.hasOwnProperty(o)&&w(l[o],s,u);o=!0}else i.registrationName?(w(i.registrationName,s,u),o=!0):o=!1;if(!o)throw Error(a(98,r,e))}}}}function w(e,t,n){if(S[e])throw Error(a(100,e));S[e]=t,I[e]=t.eventTypes[n].dependencies}var N=[],j={},S={},I={};function D(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var r=e[t];if(!b.hasOwnProperty(t)||b[t]!==r){if(b[t])throw Error(a(102,t));b[t]=r,n=!0}}n&&M()}var x=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),E=null,O=null,T=null;function C(e){if(e=g(e)){if("function"!==typeof E)throw Error(a(280));var t=e.stateNode;t&&(t=h(t),E(e.stateNode,e.type,t))}}function k(e){O?T?T.push(e):T=[e]:O=e}function L(){if(O){var e=O,t=T;if(T=O=null,C(e),t)for(e=0;e<t.length;e++)C(t[e])}}function _(e,t){return e(t)}function A(e,t,n,r,o){return e(t,n,r,o)}function z(){}var P=_,R=!1,U=!1;function B(){null===O&&null===T||(z(),L())}function F(e,t,n){if(U)return e(t,n);U=!0;try{return P(e,t,n)}finally{U=!1,B()}}var Y=/^[: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]*$/,G=Object.prototype.hasOwnProperty,H={},V={};function Q(e,t,n,r,o,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i}var W={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){W[e]=new Q(e,0,!1,e,null,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];W[t]=new Q(t,1,!1,e[1],null,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){W[e]=new Q(e,2,!1,e.toLowerCase(),null,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){W[e]=new Q(e,2,!1,e,null,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){W[e]=new Q(e,3,!1,e.toLowerCase(),null,!1)})),["checked","multiple","muted","selected"].forEach((function(e){W[e]=new Q(e,3,!0,e,null,!1)})),["capture","download"].forEach((function(e){W[e]=new Q(e,4,!1,e,null,!1)})),["cols","rows","size","span"].forEach((function(e){W[e]=new Q(e,6,!1,e,null,!1)})),["rowSpan","start"].forEach((function(e){W[e]=new Q(e,5,!1,e.toLowerCase(),null,!1)}));var Z=/[\-:]([a-z])/g;function q(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(Z,q);W[t]=new Q(t,1,!1,e,null,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(Z,q);W[t]=new Q(t,1,!1,e,"http://www.w3.org/1999/xlink",!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(Z,q);W[t]=new Q(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)})),["tabIndex","crossOrigin"].forEach((function(e){W[e]=new Q(e,1,!1,e.toLowerCase(),null,!1)})),W.xlinkHref=new Q("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach((function(e){W[e]=new Q(e,1,!1,e.toLowerCase(),null,!0)}));var X=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function $(e,t,n,r){var o=W.hasOwnProperty(t)?W[t]:null;(null!==o?0===o.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,n,r){if(null===t||"undefined"===typeof t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!G.call(V,e)||!G.call(H,e)&&(Y.test(e)?V[e]=!0:(H[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}X.hasOwnProperty("ReactCurrentDispatcher")||(X.ReactCurrentDispatcher={current:null}),X.hasOwnProperty("ReactCurrentBatchConfig")||(X.ReactCurrentBatchConfig={suspense:null});var J=/^(.*)[\\\/]/,K="function"===typeof Symbol&&Symbol.for,ee=K?Symbol.for("react.element"):60103,te=K?Symbol.for("react.portal"):60106,ne=K?Symbol.for("react.fragment"):60107,re=K?Symbol.for("react.strict_mode"):60108,oe=K?Symbol.for("react.profiler"):60114,ie=K?Symbol.for("react.provider"):60109,ae=K?Symbol.for("react.context"):60110,se=K?Symbol.for("react.concurrent_mode"):60111,ue=K?Symbol.for("react.forward_ref"):60112,le=K?Symbol.for("react.suspense"):60113,ce=K?Symbol.for("react.suspense_list"):60120,fe=K?Symbol.for("react.memo"):60115,de=K?Symbol.for("react.lazy"):60116,pe=K?Symbol.for("react.block"):60121,he="function"===typeof Symbol&&Symbol.iterator;function ge(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=he&&e[he]||e["@@iterator"])?e:null}function ye(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case ne:return"Fragment";case te:return"Portal";case oe:return"Profiler";case re:return"StrictMode";case le:return"Suspense";case ce:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case ae:return"Context.Consumer";case ie:return"Context.Provider";case ue:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case fe:return ye(e.type);case pe:return ye(e.render);case de:if(e=1===e._status?e._result:null)return ye(e)}return null}function me(e){var t="";do{e:switch(e.tag){case 3:case 4:case 6:case 7:case 10:case 9:var n="";break e;default:var r=e._debugOwner,o=e._debugSource,i=ye(e.type);n=null,r&&(n=ye(r.type)),r=i,i="",o?i=" (at "+o.fileName.replace(J,"")+":"+o.lineNumber+")":n&&(i=" (created by "+n+")"),n="\n    in "+(r||"Unknown")+i}t+=n,e=e.return}while(e);return t}function ve(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function be(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Me(e){e._valueTracker||(e._valueTracker=function(e){var t=be(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function we(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=be(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Ne(e,t){var n=t.checked;return o({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function je(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=ve(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Se(e,t){null!=(t=t.checked)&&$(e,"checked",t,!1)}function Ie(e,t){Se(e,t);var n=ve(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?xe(e,t.type,n):t.hasOwnProperty("defaultValue")&&xe(e,t.type,ve(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function De(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function xe(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function Ee(e,t){return e=o({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function Oe(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=""+ve(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 Te(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return o({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Ce(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(a(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(a(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:ve(n)}}function ke(e,t){var n=ve(t.value),r=ve(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function Le(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var _e="http://www.w3.org/1999/xhtml",Ae="http://www.w3.org/2000/svg";function ze(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 Pe(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?ze(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var Re,Ue=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!==Ae||"innerHTML"in e)e.innerHTML=t;else{for((Re=Re||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Re.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}));function Be(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 Fe(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Ye={animationend:Fe("Animation","AnimationEnd"),animationiteration:Fe("Animation","AnimationIteration"),animationstart:Fe("Animation","AnimationStart"),transitionend:Fe("Transition","TransitionEnd")},Ge={},He={};function Ve(e){if(Ge[e])return Ge[e];if(!Ye[e])return e;var t,n=Ye[e];for(t in n)if(n.hasOwnProperty(t)&&t in He)return Ge[e]=n[t];return e}x&&(He=document.createElement("div").style,"AnimationEvent"in window||(delete Ye.animationend.animation,delete Ye.animationiteration.animation,delete Ye.animationstart.animation),"TransitionEvent"in window||delete Ye.transitionend.transition);var Qe=Ve("animationend"),We=Ve("animationiteration"),Ze=Ve("animationstart"),qe=Ve("transitionend"),Xe="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),$e=new("function"===typeof WeakMap?WeakMap:Map);function Je(e){var t=$e.get(e);return void 0===t&&(t=new Map,$e.set(e,t)),t}function Ke(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!==(1026&(t=e).effectTag)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function et(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function tt(e){if(Ke(e)!==e)throw Error(a(188))}function nt(e){if(!(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ke(e)))throw Error(a(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var i=o.alternate;if(null===i){if(null!==(r=o.return)){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return tt(o),e;if(i===r)return tt(o),t;i=i.sibling}throw Error(a(188))}if(n.return!==r.return)n=o,r=i;else{for(var s=!1,u=o.child;u;){if(u===n){s=!0,n=o,r=i;break}if(u===r){s=!0,r=o,n=i;break}u=u.sibling}if(!s){for(u=i.child;u;){if(u===n){s=!0,n=i,r=o;break}if(u===r){s=!0,r=i,n=o;break}u=u.sibling}if(!s)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?e:t}(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 rt(e,t){if(null==t)throw Error(a(30));return 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 ot(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}var it=null;function at(e){if(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t))for(var r=0;r<t.length&&!e.isPropagationStopped();r++)m(e,t[r],n[r]);else t&&m(e,t,n);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function st(e){if(null!==e&&(it=rt(it,e)),e=it,it=null,e){if(ot(e,at),it)throw Error(a(95));if(c)throw e=f,c=!1,f=null,e}}function ut(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function lt(e){if(!x)return!1;var t=(e="on"+e)in document;return t||((t=document.createElement("div")).setAttribute(e,"return;"),t="function"===typeof t[e]),t}var ct=[];function ft(e){e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>ct.length&&ct.push(e)}function dt(e,t,n,r){if(ct.length){var o=ct.pop();return o.topLevelType=e,o.eventSystemFlags=r,o.nativeEvent=t,o.targetInst=n,o}return{topLevelType:e,eventSystemFlags:r,nativeEvent:t,targetInst:n,ancestors:[]}}function pt(e){var t=e.targetInst,n=t;do{if(!n){e.ancestors.push(n);break}var r=n;if(3===r.tag)r=r.stateNode.containerInfo;else{for(;r.return;)r=r.return;r=3!==r.tag?null:r.stateNode.containerInfo}if(!r)break;5!==(t=n.tag)&&6!==t||e.ancestors.push(n),n=xn(r)}while(n);for(n=0;n<e.ancestors.length;n++){t=e.ancestors[n];var o=ut(e.nativeEvent);r=e.topLevelType;var i=e.nativeEvent,a=e.eventSystemFlags;0===n&&(a|=64);for(var s=null,u=0;u<N.length;u++){var l=N[u];l&&(l=l.extractEvents(r,t,i,o,a))&&(s=rt(s,l))}st(s)}}function ht(e,t,n){if(!n.has(e)){switch(e){case"scroll":Zt(t,"scroll",!0);break;case"focus":case"blur":Zt(t,"focus",!0),Zt(t,"blur",!0),n.set("blur",null),n.set("focus",null);break;case"cancel":case"close":lt(e)&&Zt(t,e,!0);break;case"invalid":case"submit":case"reset":break;default:-1===Xe.indexOf(e)&&Wt(e,t)}n.set(e,null)}}var gt,yt,mt,vt=!1,bt=[],Mt=null,wt=null,Nt=null,jt=new Map,St=new Map,It=[],Dt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit".split(" "),xt="focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture".split(" ");function Et(e,t,n,r,o){return{blockedOn:e,topLevelType:t,eventSystemFlags:32|n,nativeEvent:o,container:r}}function Ot(e,t){switch(e){case"focus":case"blur":Mt=null;break;case"dragenter":case"dragleave":wt=null;break;case"mouseover":case"mouseout":Nt=null;break;case"pointerover":case"pointerout":jt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":St.delete(t.pointerId)}}function Tt(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e=Et(t,n,r,o,i),null!==t&&(null!==(t=En(t))&&yt(t)),e):(e.eventSystemFlags|=r,e)}function Ct(e){var t=xn(e.target);if(null!==t){var n=Ke(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=et(n)))return e.blockedOn=t,void i.unstable_runWithPriority(e.priority,(function(){mt(n)}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function kt(e){if(null!==e.blockedOn)return!1;var t=Jt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);if(null!==t){var n=En(t);return null!==n&&yt(n),e.blockedOn=t,!1}return!0}function Lt(e,t,n){kt(e)&&n.delete(t)}function _t(){for(vt=!1;0<bt.length;){var e=bt[0];if(null!==e.blockedOn){null!==(e=En(e.blockedOn))&&gt(e);break}var t=Jt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);null!==t?e.blockedOn=t:bt.shift()}null!==Mt&&kt(Mt)&&(Mt=null),null!==wt&&kt(wt)&&(wt=null),null!==Nt&&kt(Nt)&&(Nt=null),jt.forEach(Lt),St.forEach(Lt)}function At(e,t){e.blockedOn===t&&(e.blockedOn=null,vt||(vt=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,_t)))}function zt(e){function t(t){return At(t,e)}if(0<bt.length){At(bt[0],e);for(var n=1;n<bt.length;n++){var r=bt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Mt&&At(Mt,e),null!==wt&&At(wt,e),null!==Nt&&At(Nt,e),jt.forEach(t),St.forEach(t),n=0;n<It.length;n++)(r=It[n]).blockedOn===e&&(r.blockedOn=null);for(;0<It.length&&null===(n=It[0]).blockedOn;)Ct(n),null===n.blockedOn&&It.shift()}var Pt={},Rt=new Map,Ut=new Map,Bt=["abort","abort",Qe,"animationEnd",We,"animationIteration",Ze,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",qe,"transitionEnd","waiting","waiting"];function Ft(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],o=e[n+1],i="on"+(o[0].toUpperCase()+o.slice(1));i={phasedRegistrationNames:{bubbled:i,captured:i+"Capture"},dependencies:[r],eventPriority:t},Ut.set(r,t),Rt.set(r,i),Pt[o]=i}}Ft("blur blur cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focus focus input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Ft("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Ft(Bt,2);for(var Yt="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Gt=0;Gt<Yt.length;Gt++)Ut.set(Yt[Gt],0);var Ht=i.unstable_UserBlockingPriority,Vt=i.unstable_runWithPriority,Qt=!0;function Wt(e,t){Zt(t,e,!1)}function Zt(e,t,n){var r=Ut.get(t);switch(void 0===r?2:r){case 0:r=qt.bind(null,t,1,e);break;case 1:r=Xt.bind(null,t,1,e);break;default:r=$t.bind(null,t,1,e)}n?e.addEventListener(t,r,!0):e.addEventListener(t,r,!1)}function qt(e,t,n,r){R||z();var o=$t,i=R;R=!0;try{A(o,e,t,n,r)}finally{(R=i)||B()}}function Xt(e,t,n,r){Vt(Ht,$t.bind(null,e,t,n,r))}function $t(e,t,n,r){if(Qt)if(0<bt.length&&-1<Dt.indexOf(e))e=Et(null,e,t,n,r),bt.push(e);else{var o=Jt(e,t,n,r);if(null===o)Ot(e,r);else if(-1<Dt.indexOf(e))e=Et(o,e,t,n,r),bt.push(e);else if(!function(e,t,n,r,o){switch(t){case"focus":return Mt=Tt(Mt,e,t,n,r,o),!0;case"dragenter":return wt=Tt(wt,e,t,n,r,o),!0;case"mouseover":return Nt=Tt(Nt,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return jt.set(i,Tt(jt.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,St.set(i,Tt(St.get(i)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r)){Ot(e,r),e=dt(e,r,null,t);try{F(pt,e)}finally{ft(e)}}}}function Jt(e,t,n,r){if(null!==(n=xn(n=ut(r)))){var o=Ke(n);if(null===o)n=null;else{var i=o.tag;if(13===i){if(null!==(n=et(o)))return n;n=null}else if(3===i){if(o.stateNode.hydrate)return 3===o.tag?o.stateNode.containerInfo:null;n=null}else o!==n&&(n=null)}}e=dt(e,r,n,t);try{F(pt,e)}finally{ft(e)}return null}var Kt={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,gridArea:!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},en=["Webkit","ms","Moz","O"];function tn(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||Kt.hasOwnProperty(e)&&Kt[e]?(""+t).trim():t+"px"}function nn(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=tn(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(Kt).forEach((function(e){en.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Kt[t]=Kt[e]}))}));var rn=o({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function on(e,t){if(t){if(rn[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e,""));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(a(62,""))}}function an(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var sn=_e;function un(e,t){var n=Je(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=I[t];for(var r=0;r<t.length;r++)ht(t[r],e,n)}function ln(){}function cn(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}}function fn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function dn(e,t){var n,r=fn(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=fn(r)}}function pn(){for(var e=window,t=cn();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=cn((e=t.contentWindow).document)}return t}function hn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var gn=null,yn=null;function mn(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function vn(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var bn="function"===typeof setTimeout?setTimeout:void 0,Mn="function"===typeof clearTimeout?clearTimeout:void 0;function wn(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function Nn(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var jn=Math.random().toString(36).slice(2),Sn="__reactInternalInstance$"+jn,In="__reactEventHandlers$"+jn,Dn="__reactContainere$"+jn;function xn(e){var t=e[Sn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Dn]||n[Sn]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Nn(e);null!==e;){if(n=e[Sn])return n;e=Nn(e)}return t}n=(e=n).parentNode}return null}function En(e){return!(e=e[Sn]||e[Dn])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function On(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function Tn(e){return e[In]||null}function Cn(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function kn(e,t){var n=e.stateNode;if(!n)return null;var r=h(n);if(!r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!==typeof n)throw Error(a(231,t,typeof n));return n}function Ln(e,t,n){(t=kn(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=rt(n._dispatchListeners,t),n._dispatchInstances=rt(n._dispatchInstances,e))}function _n(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,n=[];t;)n.push(t),t=Cn(t);for(t=n.length;0<t--;)Ln(n[t],"captured",e);for(t=0;t<n.length;t++)Ln(n[t],"bubbled",e)}}function An(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=kn(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=rt(n._dispatchListeners,t),n._dispatchInstances=rt(n._dispatchInstances,e))}function zn(e){e&&e.dispatchConfig.registrationName&&An(e._targetInst,null,e)}function Pn(e){ot(e,_n)}var Rn=null,Un=null,Bn=null;function Fn(){if(Bn)return Bn;var e,t,n=Un,r=n.length,o="value"in Rn?Rn.value:Rn.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return Bn=o.slice(e,1<t?1-t:void 0)}function Yn(){return!0}function Gn(){return!1}function Hn(e,t,n,r){for(var o in this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface)e.hasOwnProperty(o)&&((t=e[o])?this[o]=t(n):"target"===o?this.target=r:this[o]=n[o]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?Yn:Gn,this.isPropagationStopped=Gn,this}function Vn(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 Qn(e){if(!(e instanceof this))throw Error(a(279));e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function Wn(e){e.eventPool=[],e.getPooled=Vn,e.release=Qn}o(Hn.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Yn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Yn)},persist:function(){this.isPersistent=Yn},isPersistent:Gn,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=Gn,this._dispatchInstances=this._dispatchListeners=null}}),Hn.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},Hn.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var i=new t;return o(i,n.prototype),n.prototype=i,n.prototype.constructor=n,n.Interface=o({},r.Interface,e),n.extend=r.extend,Wn(n),n},Wn(Hn);var Zn=Hn.extend({data:null}),qn=Hn.extend({data:null}),Xn=[9,13,27,32],$n=x&&"CompositionEvent"in window,Jn=null;x&&"documentMode"in document&&(Jn=document.documentMode);var Kn=x&&"TextEvent"in window&&!Jn,er=x&&(!$n||Jn&&8<Jn&&11>=Jn),tr=String.fromCharCode(32),nr={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},rr=!1;function or(e,t){switch(e){case"keyup":return-1!==Xn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function ir(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var ar=!1;var sr={eventTypes:nr,extractEvents:function(e,t,n,r){var o;if($n)e:{switch(e){case"compositionstart":var i=nr.compositionStart;break e;case"compositionend":i=nr.compositionEnd;break e;case"compositionupdate":i=nr.compositionUpdate;break e}i=void 0}else ar?or(e,n)&&(i=nr.compositionEnd):"keydown"===e&&229===n.keyCode&&(i=nr.compositionStart);return i?(er&&"ko"!==n.locale&&(ar||i!==nr.compositionStart?i===nr.compositionEnd&&ar&&(o=Fn()):(Un="value"in(Rn=r)?Rn.value:Rn.textContent,ar=!0)),i=Zn.getPooled(i,t,n,r),o?i.data=o:null!==(o=ir(n))&&(i.data=o),Pn(i),o=i):o=null,(e=Kn?function(e,t){switch(e){case"compositionend":return ir(t);case"keypress":return 32!==t.which?null:(rr=!0,tr);case"textInput":return(e=t.data)===tr&&rr?null:e;default:return null}}(e,n):function(e,t){if(ar)return"compositionend"===e||!$n&&or(e,t)?(e=Fn(),Bn=Un=Rn=null,ar=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return er&&"ko"!==t.locale?null:t.data;default:return null}}(e,n))?((t=qn.getPooled(nr.beforeInput,t,n,r)).data=e,Pn(t)):t=null,null===o?t:null===t?o:[o,t]}},ur={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function lr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!ur[e.type]:"textarea"===t}var cr={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function fr(e,t,n){return(e=Hn.getPooled(cr.change,e,t,n)).type="change",k(n),Pn(e),e}var dr=null,pr=null;function hr(e){st(e)}function gr(e){if(we(On(e)))return e}function yr(e,t){if("change"===e)return t}var mr=!1;function vr(){dr&&(dr.detachEvent("onpropertychange",br),pr=dr=null)}function br(e){if("value"===e.propertyName&&gr(pr))if(e=fr(pr,e,ut(e)),R)st(e);else{R=!0;try{_(hr,e)}finally{R=!1,B()}}}function Mr(e,t,n){"focus"===e?(vr(),pr=n,(dr=t).attachEvent("onpropertychange",br)):"blur"===e&&vr()}function wr(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return gr(pr)}function Nr(e,t){if("click"===e)return gr(t)}function jr(e,t){if("input"===e||"change"===e)return gr(t)}x&&(mr=lt("input")&&(!document.documentMode||9<document.documentMode));var Sr={eventTypes:cr,_isInputEventSupported:mr,extractEvents:function(e,t,n,r){var o=t?On(t):window,i=o.nodeName&&o.nodeName.toLowerCase();if("select"===i||"input"===i&&"file"===o.type)var a=yr;else if(lr(o))if(mr)a=jr;else{a=wr;var s=Mr}else(i=o.nodeName)&&"input"===i.toLowerCase()&&("checkbox"===o.type||"radio"===o.type)&&(a=Nr);if(a&&(a=a(e,t)))return fr(a,n,r);s&&s(e,o,t),"blur"===e&&(e=o._wrapperState)&&e.controlled&&"number"===o.type&&xe(o,"number",o.value)}},Ir=Hn.extend({view:null,detail:null}),Dr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function xr(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Dr[e])&&!!t[e]}function Er(){return xr}var Or=0,Tr=0,Cr=!1,kr=!1,Lr=Ir.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Er,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},movementX:function(e){if("movementX"in e)return e.movementX;var t=Or;return Or=e.screenX,Cr?"mousemove"===e.type?e.screenX-t:0:(Cr=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;var t=Tr;return Tr=e.screenY,kr?"mousemove"===e.type?e.screenY-t:0:(kr=!0,0)}}),_r=Lr.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Ar={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},zr={eventTypes:Ar,extractEvents:function(e,t,n,r,o){var i="mouseover"===e||"pointerover"===e,a="mouseout"===e||"pointerout"===e;if(i&&0===(32&o)&&(n.relatedTarget||n.fromElement)||!a&&!i)return null;(i=r.window===r?r:(i=r.ownerDocument)?i.defaultView||i.parentWindow:window,a)?(a=t,null!==(t=(t=n.relatedTarget||n.toElement)?xn(t):null)&&(t!==Ke(t)||5!==t.tag&&6!==t.tag)&&(t=null)):a=null;if(a===t)return null;if("mouseout"===e||"mouseover"===e)var s=Lr,u=Ar.mouseLeave,l=Ar.mouseEnter,c="mouse";else"pointerout"!==e&&"pointerover"!==e||(s=_r,u=Ar.pointerLeave,l=Ar.pointerEnter,c="pointer");if(e=null==a?i:On(a),i=null==t?i:On(t),(u=s.getPooled(u,a,n,r)).type=c+"leave",u.target=e,u.relatedTarget=i,(n=s.getPooled(l,t,n,r)).type=c+"enter",n.target=i,n.relatedTarget=e,c=t,(r=a)&&c)e:{for(l=c,a=0,e=s=r;e;e=Cn(e))a++;for(e=0,t=l;t;t=Cn(t))e++;for(;0<a-e;)s=Cn(s),a--;for(;0<e-a;)l=Cn(l),e--;for(;a--;){if(s===l||s===l.alternate)break e;s=Cn(s),l=Cn(l)}s=null}else s=null;for(l=s,s=[];r&&r!==l&&(null===(a=r.alternate)||a!==l);)s.push(r),r=Cn(r);for(r=[];c&&c!==l&&(null===(a=c.alternate)||a!==l);)r.push(c),c=Cn(c);for(c=0;c<s.length;c++)An(s[c],"bubbled",u);for(c=r.length;0<c--;)An(r[c],"captured",n);return 0===(64&o)?[u]:[u,n]}};var Pr="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},Rr=Object.prototype.hasOwnProperty;function Ur(e,t){if(Pr(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!Rr.call(t,n[r])||!Pr(e[n[r]],t[n[r]]))return!1;return!0}var Br=x&&"documentMode"in document&&11>=document.documentMode,Fr={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},Yr=null,Gr=null,Hr=null,Vr=!1;function Qr(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return Vr||null==Yr||Yr!==cn(n)?null:("selectionStart"in(n=Yr)&&hn(n)?n={start:n.selectionStart,end:n.selectionEnd}:n={anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},Hr&&Ur(Hr,n)?null:(Hr=n,(e=Hn.getPooled(Fr.select,Gr,e,t)).type="select",e.target=Yr,Pn(e),e))}var Wr={eventTypes:Fr,extractEvents:function(e,t,n,r,o,i){if(!(i=!(o=i||(r.window===r?r.document:9===r.nodeType?r:r.ownerDocument)))){e:{o=Je(o),i=I.onSelect;for(var a=0;a<i.length;a++)if(!o.has(i[a])){o=!1;break e}o=!0}i=!o}if(i)return null;switch(o=t?On(t):window,e){case"focus":(lr(o)||"true"===o.contentEditable)&&(Yr=o,Gr=t,Hr=null);break;case"blur":Hr=Gr=Yr=null;break;case"mousedown":Vr=!0;break;case"contextmenu":case"mouseup":case"dragend":return Vr=!1,Qr(n,r);case"selectionchange":if(Br)break;case"keydown":case"keyup":return Qr(n,r)}return null}},Zr=Hn.extend({animationName:null,elapsedTime:null,pseudoElement:null}),qr=Hn.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Xr=Ir.extend({relatedTarget:null});function $r(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}var Jr={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Kr={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"},eo=Ir.extend({key:function(e){if(e.key){var t=Jr[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=$r(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Kr[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Er,charCode:function(e){return"keypress"===e.type?$r(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?$r(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),to=Lr.extend({dataTransfer:null}),no=Ir.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Er}),ro=Hn.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),oo=Lr.extend({deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null}),io={eventTypes:Pt,extractEvents:function(e,t,n,r){var o=Rt.get(e);if(!o)return null;switch(e){case"keypress":if(0===$r(n))return null;case"keydown":case"keyup":e=eo;break;case"blur":case"focus":e=Xr;break;case"click":if(2===n.button)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":e=Lr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=to;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=no;break;case Qe:case We:case Ze:e=Zr;break;case qe:e=ro;break;case"scroll":e=Ir;break;case"wheel":e=oo;break;case"copy":case"cut":case"paste":e=qr;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=_r;break;default:e=Hn}return Pn(t=e.getPooled(o,t,n,r)),t}};if(v)throw Error(a(101));v=Array.prototype.slice.call("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),M(),h=Tn,g=En,y=On,D({SimpleEventPlugin:io,EnterLeaveEventPlugin:zr,ChangeEventPlugin:Sr,SelectEventPlugin:Wr,BeforeInputEventPlugin:sr});var ao=[],so=-1;function uo(e){0>so||(e.current=ao[so],ao[so]=null,so--)}function lo(e,t){so++,ao[so]=e.current,e.current=t}var co={},fo={current:co},po={current:!1},ho=co;function go(e,t){var n=e.type.contextTypes;if(!n)return co;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function yo(e){return null!==(e=e.childContextTypes)&&void 0!==e}function mo(){uo(po),uo(fo)}function vo(e,t,n){if(fo.current!==co)throw Error(a(168));lo(fo,t),lo(po,n)}function bo(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in e))throw Error(a(108,ye(t)||"Unknown",i));return o({},n,{},r)}function Mo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||co,ho=fo.current,lo(fo,e),lo(po,po.current),!0}function wo(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(e=bo(e,t,ho),r.__reactInternalMemoizedMergedChildContext=e,uo(po),uo(fo),lo(fo,e)):uo(po),lo(po,n)}var No=i.unstable_runWithPriority,jo=i.unstable_scheduleCallback,So=i.unstable_cancelCallback,Io=i.unstable_requestPaint,Do=i.unstable_now,xo=i.unstable_getCurrentPriorityLevel,Eo=i.unstable_ImmediatePriority,Oo=i.unstable_UserBlockingPriority,To=i.unstable_NormalPriority,Co=i.unstable_LowPriority,ko=i.unstable_IdlePriority,Lo={},_o=i.unstable_shouldYield,Ao=void 0!==Io?Io:function(){},zo=null,Po=null,Ro=!1,Uo=Do(),Bo=1e4>Uo?Do:function(){return Do()-Uo};function Fo(){switch(xo()){case Eo:return 99;case Oo:return 98;case To:return 97;case Co:return 96;case ko:return 95;default:throw Error(a(332))}}function Yo(e){switch(e){case 99:return Eo;case 98:return Oo;case 97:return To;case 96:return Co;case 95:return ko;default:throw Error(a(332))}}function Go(e,t){return e=Yo(e),No(e,t)}function Ho(e,t,n){return e=Yo(e),jo(e,t,n)}function Vo(e){return null===zo?(zo=[e],Po=jo(Eo,Wo)):zo.push(e),Lo}function Qo(){if(null!==Po){var e=Po;Po=null,So(e)}Wo()}function Wo(){if(!Ro&&null!==zo){Ro=!0;var e=0;try{var t=zo;Go(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),zo=null}catch(n){throw null!==zo&&(zo=zo.slice(e+1)),jo(Eo,Qo),n}finally{Ro=!1}}}function Zo(e,t,n){return 1073741821-(1+((1073741821-e+t/10)/(n/=10)|0))*n}function qo(e,t){if(e&&e.defaultProps)for(var n in t=o({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}var Xo={current:null},$o=null,Jo=null,Ko=null;function ei(){Ko=Jo=$o=null}function ti(e){var t=Xo.current;uo(Xo),e.type._context._currentValue=t}function ni(e,t){for(;null!==e;){var n=e.alternate;if(e.childExpirationTime<t)e.childExpirationTime=t,null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t);else{if(!(null!==n&&n.childExpirationTime<t))break;n.childExpirationTime=t}e=e.return}}function ri(e,t){$o=e,Ko=Jo=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(e.expirationTime>=t&&(Ta=!0),e.firstContext=null)}function oi(e,t){if(Ko!==e&&!1!==t&&0!==t)if("number"===typeof t&&1073741823!==t||(Ko=e,t=1073741823),t={context:e,observedBits:t,next:null},null===Jo){if(null===$o)throw Error(a(308));Jo=t,$o.dependencies={expirationTime:0,firstContext:t,responders:null}}else Jo=Jo.next=t;return e._currentValue}var ii=!1;function ai(e){e.updateQueue={baseState:e.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function si(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,baseQueue:e.baseQueue,shared:e.shared,effects:e.effects})}function ui(e,t){return(e={expirationTime:e,suspenseConfig:t,tag:0,payload:null,callback:null,next:null}).next=e}function li(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function ci(e,t){var n=e.alternate;null!==n&&si(n,e),null===(n=(e=e.updateQueue).baseQueue)?(e.baseQueue=t.next=t,t.next=t):(t.next=n.next,n.next=t)}function fi(e,t,n,r){var i=e.updateQueue;ii=!1;var a=i.baseQueue,s=i.shared.pending;if(null!==s){if(null!==a){var u=a.next;a.next=s.next,s.next=u}a=s,i.shared.pending=null,null!==(u=e.alternate)&&(null!==(u=u.updateQueue)&&(u.baseQueue=s))}if(null!==a){u=a.next;var l=i.baseState,c=0,f=null,d=null,p=null;if(null!==u)for(var h=u;;){if((s=h.expirationTime)<r){var g={expirationTime:h.expirationTime,suspenseConfig:h.suspenseConfig,tag:h.tag,payload:h.payload,callback:h.callback,next:null};null===p?(d=p=g,f=l):p=p.next=g,s>c&&(c=s)}else{null!==p&&(p=p.next={expirationTime:1073741823,suspenseConfig:h.suspenseConfig,tag:h.tag,payload:h.payload,callback:h.callback,next:null}),iu(s,h.suspenseConfig);e:{var y=e,m=h;switch(s=t,g=n,m.tag){case 1:if("function"===typeof(y=m.payload)){l=y.call(g,l,s);break e}l=y;break e;case 3:y.effectTag=-4097&y.effectTag|64;case 0:if(null===(s="function"===typeof(y=m.payload)?y.call(g,l,s):y)||void 0===s)break e;l=o({},l,s);break e;case 2:ii=!0}}null!==h.callback&&(e.effectTag|=32,null===(s=i.effects)?i.effects=[h]:s.push(h))}if(null===(h=h.next)||h===u){if(null===(s=i.shared.pending))break;h=a.next=s.next,s.next=u,i.baseQueue=a=s,i.shared.pending=null}}null===p?f=l:p.next=d,i.baseState=f,i.baseQueue=p,au(c),e.expirationTime=c,e.memoizedState=l}}function di(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=o,o=n,"function"!==typeof r)throw Error(a(191,r));r.call(o)}}}var pi=X.ReactCurrentBatchConfig,hi=(new r.Component).refs;function gi(e,t,n,r){n=null===(n=n(r,t=e.memoizedState))||void 0===n?t:o({},t,n),e.memoizedState=n,0===e.expirationTime&&(e.updateQueue.baseState=n)}var yi={isMounted:function(e){return!!(e=e._reactInternalFiber)&&Ke(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var r=Qs(),o=pi.suspense;(o=ui(r=Ws(r,e,o),o)).payload=t,void 0!==n&&null!==n&&(o.callback=n),li(e,o),Zs(e,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var r=Qs(),o=pi.suspense;(o=ui(r=Ws(r,e,o),o)).tag=1,o.payload=t,void 0!==n&&null!==n&&(o.callback=n),li(e,o),Zs(e,r)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=Qs(),r=pi.suspense;(r=ui(n=Ws(n,e,r),r)).tag=2,void 0!==t&&null!==t&&(r.callback=t),li(e,r),Zs(e,n)}};function mi(e,t,n,r,o,i,a){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!Ur(n,r)||!Ur(o,i))}function vi(e,t,n){var r=!1,o=co,i=t.contextType;return"object"===typeof i&&null!==i?i=oi(i):(o=yo(t)?ho:fo.current,i=(r=null!==(r=t.contextTypes)&&void 0!==r)?go(e,o):co),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=yi,e.stateNode=t,t._reactInternalFiber=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function bi(e,t,n,r){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&yi.enqueueReplaceState(t,t.state,null)}function Mi(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=hi,ai(e);var i=t.contextType;"object"===typeof i&&null!==i?o.context=oi(i):(i=yo(t)?ho:fo.current,o.context=go(e,i)),fi(e,n,o,r),o.state=e.memoizedState,"function"===typeof(i=t.getDerivedStateFromProps)&&(gi(e,t,i,n),o.state=e.memoizedState),"function"===typeof t.getDerivedStateFromProps||"function"===typeof o.getSnapshotBeforeUpdate||"function"!==typeof o.UNSAFE_componentWillMount&&"function"!==typeof o.componentWillMount||(t=o.state,"function"===typeof o.componentWillMount&&o.componentWillMount(),"function"===typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&yi.enqueueReplaceState(o,o.state,null),fi(e,n,o,r),o.state=e.memoizedState),"function"===typeof o.componentDidMount&&(e.effectTag|=4)}var wi=Array.isArray;function Ni(e,t,n){if(null!==(e=n.ref)&&"function"!==typeof e&&"object"!==typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(a(309));var r=n.stateNode}if(!r)throw Error(a(147,e));var o=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===o?t.ref:((t=function(e){var t=r.refs;t===hi&&(t=r.refs={}),null===e?delete t[o]:t[o]=e})._stringRef=o,t)}if("string"!==typeof e)throw Error(a(284));if(!n._owner)throw Error(a(290,e))}return e}function ji(e,t){if("textarea"!==e.type)throw Error(a(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,""))}function Si(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=Du(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.effectTag=2,n):r:(t.effectTag=2,n):n}function s(t){return e&&null===t.alternate&&(t.effectTag=2),t}function u(e,t,n,r){return null===t||6!==t.tag?((t=Ou(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function l(e,t,n,r){return null!==t&&t.elementType===n.type?((r=o(t,n.props)).ref=Ni(e,t,n),r.return=e,r):((r=xu(n.type,n.key,n.props,null,e.mode,r)).ref=Ni(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Tu(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function f(e,t,n,r,i){return null===t||7!==t.tag?((t=Eu(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function d(e,t,n){if("string"===typeof t||"number"===typeof t)return(t=Ou(""+t,e.mode,n)).return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case ee:return(n=xu(t.type,t.key,t.props,null,e.mode,n)).ref=Ni(e,null,t),n.return=e,n;case te:return(t=Tu(t,e.mode,n)).return=e,t}if(wi(t)||ge(t))return(t=Eu(t,e.mode,n,null)).return=e,t;ji(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"===typeof n||"number"===typeof n)return null!==o?null:u(e,t,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case ee:return n.key===o?n.type===ne?f(e,t,n.props.children,r,o):l(e,t,n,r):null;case te:return n.key===o?c(e,t,n,r):null}if(wi(n)||ge(n))return null!==o?null:f(e,t,n,r,null);ji(e,n)}return null}function h(e,t,n,r,o){if("string"===typeof r||"number"===typeof r)return u(t,e=e.get(n)||null,""+r,o);if("object"===typeof r&&null!==r){switch(r.$$typeof){case ee:return e=e.get(null===r.key?n:r.key)||null,r.type===ne?f(t,e,r.props.children,o,r.key):l(t,e,r,o);case te:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o)}if(wi(r)||ge(r))return f(t,e=e.get(n)||null,r,o,null);ji(t,r)}return null}function g(o,a,s,u){for(var l=null,c=null,f=a,g=a=0,y=null;null!==f&&g<s.length;g++){f.index>g?(y=f,f=null):y=f.sibling;var m=p(o,f,s[g],u);if(null===m){null===f&&(f=y);break}e&&f&&null===m.alternate&&t(o,f),a=i(m,a,g),null===c?l=m:c.sibling=m,c=m,f=y}if(g===s.length)return n(o,f),l;if(null===f){for(;g<s.length;g++)null!==(f=d(o,s[g],u))&&(a=i(f,a,g),null===c?l=f:c.sibling=f,c=f);return l}for(f=r(o,f);g<s.length;g++)null!==(y=h(f,o,g,s[g],u))&&(e&&null!==y.alternate&&f.delete(null===y.key?g:y.key),a=i(y,a,g),null===c?l=y:c.sibling=y,c=y);return e&&f.forEach((function(e){return t(o,e)})),l}function y(o,s,u,l){var c=ge(u);if("function"!==typeof c)throw Error(a(150));if(null==(u=c.call(u)))throw Error(a(151));for(var f=c=null,g=s,y=s=0,m=null,v=u.next();null!==g&&!v.done;y++,v=u.next()){g.index>y?(m=g,g=null):m=g.sibling;var b=p(o,g,v.value,l);if(null===b){null===g&&(g=m);break}e&&g&&null===b.alternate&&t(o,g),s=i(b,s,y),null===f?c=b:f.sibling=b,f=b,g=m}if(v.done)return n(o,g),c;if(null===g){for(;!v.done;y++,v=u.next())null!==(v=d(o,v.value,l))&&(s=i(v,s,y),null===f?c=v:f.sibling=v,f=v);return c}for(g=r(o,g);!v.done;y++,v=u.next())null!==(v=h(g,o,y,v.value,l))&&(e&&null!==v.alternate&&g.delete(null===v.key?y:v.key),s=i(v,s,y),null===f?c=v:f.sibling=v,f=v);return e&&g.forEach((function(e){return t(o,e)})),c}return function(e,r,i,u){var l="object"===typeof i&&null!==i&&i.type===ne&&null===i.key;l&&(i=i.props.children);var c="object"===typeof i&&null!==i;if(c)switch(i.$$typeof){case ee:e:{for(c=i.key,l=r;null!==l;){if(l.key===c){switch(l.tag){case 7:if(i.type===ne){n(e,l.sibling),(r=o(l,i.props.children)).return=e,e=r;break e}break;default:if(l.elementType===i.type){n(e,l.sibling),(r=o(l,i.props)).ref=Ni(e,l,i),r.return=e,e=r;break e}}n(e,l);break}t(e,l),l=l.sibling}i.type===ne?((r=Eu(i.props.children,e.mode,u,i.key)).return=e,e=r):((u=xu(i.type,i.key,i.props,null,e.mode,u)).ref=Ni(e,r,i),u.return=e,e=u)}return s(e);case te:e:{for(l=i.key;null!==r;){if(r.key===l){if(4===r.tag&&r.stateNode.containerInfo===i.containerInfo&&r.stateNode.implementation===i.implementation){n(e,r.sibling),(r=o(r,i.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Tu(i,e.mode,u)).return=e,e=r}return s(e)}if("string"===typeof i||"number"===typeof i)return i=""+i,null!==r&&6===r.tag?(n(e,r.sibling),(r=o(r,i)).return=e,e=r):(n(e,r),(r=Ou(i,e.mode,u)).return=e,e=r),s(e);if(wi(i))return g(e,r,i,u);if(ge(i))return y(e,r,i,u);if(c&&ji(e,i),"undefined"===typeof i&&!l)switch(e.tag){case 1:case 0:throw e=e.type,Error(a(152,e.displayName||e.name||"Component"))}return n(e,r)}}var Ii=Si(!0),Di=Si(!1),xi={},Ei={current:xi},Oi={current:xi},Ti={current:xi};function Ci(e){if(e===xi)throw Error(a(174));return e}function ki(e,t){switch(lo(Ti,t),lo(Oi,e),lo(Ei,xi),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Pe(null,"");break;default:t=Pe(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}uo(Ei),lo(Ei,t)}function Li(){uo(Ei),uo(Oi),uo(Ti)}function _i(e){Ci(Ti.current);var t=Ci(Ei.current),n=Pe(t,e.type);t!==n&&(lo(Oi,e),lo(Ei,n))}function Ai(e){Oi.current===e&&(uo(Ei),uo(Oi))}var zi={current:0};function Pi(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(64&t.effectTag))return t}else if(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 null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function Ri(e,t){return{responder:e,props:t}}var Ui=X.ReactCurrentDispatcher,Bi=X.ReactCurrentBatchConfig,Fi=0,Yi=null,Gi=null,Hi=null,Vi=!1;function Qi(){throw Error(a(321))}function Wi(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Pr(e[n],t[n]))return!1;return!0}function Zi(e,t,n,r,o,i){if(Fi=i,Yi=t,t.memoizedState=null,t.updateQueue=null,t.expirationTime=0,Ui.current=null===e||null===e.memoizedState?ma:va,e=n(r,o),t.expirationTime===Fi){i=0;do{if(t.expirationTime=0,!(25>i))throw Error(a(301));i+=1,Hi=Gi=null,t.updateQueue=null,Ui.current=ba,e=n(r,o)}while(t.expirationTime===Fi)}if(Ui.current=ya,t=null!==Gi&&null!==Gi.next,Fi=0,Hi=Gi=Yi=null,Vi=!1,t)throw Error(a(300));return e}function qi(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Hi?Yi.memoizedState=Hi=e:Hi=Hi.next=e,Hi}function Xi(){if(null===Gi){var e=Yi.alternate;e=null!==e?e.memoizedState:null}else e=Gi.next;var t=null===Hi?Yi.memoizedState:Hi.next;if(null!==t)Hi=t,Gi=e;else{if(null===e)throw Error(a(310));e={memoizedState:(Gi=e).memoizedState,baseState:Gi.baseState,baseQueue:Gi.baseQueue,queue:Gi.queue,next:null},null===Hi?Yi.memoizedState=Hi=e:Hi=Hi.next=e}return Hi}function $i(e,t){return"function"===typeof t?t(e):t}function Ji(e){var t=Xi(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=Gi,o=r.baseQueue,i=n.pending;if(null!==i){if(null!==o){var s=o.next;o.next=i.next,i.next=s}r.baseQueue=o=i,n.pending=null}if(null!==o){o=o.next,r=r.baseState;var u=s=i=null,l=o;do{var c=l.expirationTime;if(c<Fi){var f={expirationTime:l.expirationTime,suspenseConfig:l.suspenseConfig,action:l.action,eagerReducer:l.eagerReducer,eagerState:l.eagerState,next:null};null===u?(s=u=f,i=r):u=u.next=f,c>Yi.expirationTime&&(Yi.expirationTime=c,au(c))}else null!==u&&(u=u.next={expirationTime:1073741823,suspenseConfig:l.suspenseConfig,action:l.action,eagerReducer:l.eagerReducer,eagerState:l.eagerState,next:null}),iu(c,l.suspenseConfig),r=l.eagerReducer===e?l.eagerState:e(r,l.action);l=l.next}while(null!==l&&l!==o);null===u?i=r:u.next=s,Pr(r,t.memoizedState)||(Ta=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=u,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function Ki(e){var t=Xi(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(null!==o){n.pending=null;var s=o=o.next;do{i=e(i,s.action),s=s.next}while(s!==o);Pr(i,t.memoizedState)||(Ta=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function ea(e){var t=qi();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:$i,lastRenderedState:e}).dispatch=ga.bind(null,Yi,e),[t.memoizedState,e]}function ta(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=Yi.updateQueue)?(t={lastEffect:null},Yi.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function na(){return Xi().memoizedState}function ra(e,t,n,r){var o=qi();Yi.effectTag|=e,o.memoizedState=ta(1|t,n,void 0,void 0===r?null:r)}function oa(e,t,n,r){var o=Xi();r=void 0===r?null:r;var i=void 0;if(null!==Gi){var a=Gi.memoizedState;if(i=a.destroy,null!==r&&Wi(r,a.deps))return void ta(t,n,i,r)}Yi.effectTag|=e,o.memoizedState=ta(1|t,n,i,r)}function ia(e,t){return ra(516,4,e,t)}function aa(e,t){return oa(516,4,e,t)}function sa(e,t){return oa(4,2,e,t)}function ua(e,t){return"function"===typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function la(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,oa(4,2,ua.bind(null,t,e),n)}function ca(){}function fa(e,t){return qi().memoizedState=[e,void 0===t?null:t],e}function da(e,t){var n=Xi();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Wi(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function pa(e,t){var n=Xi();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Wi(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function ha(e,t,n){var r=Fo();Go(98>r?98:r,(function(){e(!0)})),Go(97<r?97:r,(function(){var r=Bi.suspense;Bi.suspense=void 0===t?null:t;try{e(!1),n()}finally{Bi.suspense=r}}))}function ga(e,t,n){var r=Qs(),o=pi.suspense;o={expirationTime:r=Ws(r,e,o),suspenseConfig:o,action:n,eagerReducer:null,eagerState:null,next:null};var i=t.pending;if(null===i?o.next=o:(o.next=i.next,i.next=o),t.pending=o,i=e.alternate,e===Yi||null!==i&&i===Yi)Vi=!0,o.expirationTime=Fi,Yi.expirationTime=Fi;else{if(0===e.expirationTime&&(null===i||0===i.expirationTime)&&null!==(i=t.lastRenderedReducer))try{var a=t.lastRenderedState,s=i(a,n);if(o.eagerReducer=i,o.eagerState=s,Pr(s,a))return}catch(u){}Zs(e,r)}}var ya={readContext:oi,useCallback:Qi,useContext:Qi,useEffect:Qi,useImperativeHandle:Qi,useLayoutEffect:Qi,useMemo:Qi,useReducer:Qi,useRef:Qi,useState:Qi,useDebugValue:Qi,useResponder:Qi,useDeferredValue:Qi,useTransition:Qi},ma={readContext:oi,useCallback:fa,useContext:oi,useEffect:ia,useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,ra(4,2,ua.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ra(4,2,e,t)},useMemo:function(e,t){var n=qi();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=qi();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=ga.bind(null,Yi,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},qi().memoizedState=e},useState:ea,useDebugValue:ca,useResponder:Ri,useDeferredValue:function(e,t){var n=ea(e),r=n[0],o=n[1];return ia((function(){var n=Bi.suspense;Bi.suspense=void 0===t?null:t;try{o(e)}finally{Bi.suspense=n}}),[e,t]),r},useTransition:function(e){var t=ea(!1),n=t[0];return t=t[1],[fa(ha.bind(null,t,e),[t,e]),n]}},va={readContext:oi,useCallback:da,useContext:oi,useEffect:aa,useImperativeHandle:la,useLayoutEffect:sa,useMemo:pa,useReducer:Ji,useRef:na,useState:function(){return Ji($i)},useDebugValue:ca,useResponder:Ri,useDeferredValue:function(e,t){var n=Ji($i),r=n[0],o=n[1];return aa((function(){var n=Bi.suspense;Bi.suspense=void 0===t?null:t;try{o(e)}finally{Bi.suspense=n}}),[e,t]),r},useTransition:function(e){var t=Ji($i),n=t[0];return t=t[1],[da(ha.bind(null,t,e),[t,e]),n]}},ba={readContext:oi,useCallback:da,useContext:oi,useEffect:aa,useImperativeHandle:la,useLayoutEffect:sa,useMemo:pa,useReducer:Ki,useRef:na,useState:function(){return Ki($i)},useDebugValue:ca,useResponder:Ri,useDeferredValue:function(e,t){var n=Ki($i),r=n[0],o=n[1];return aa((function(){var n=Bi.suspense;Bi.suspense=void 0===t?null:t;try{o(e)}finally{Bi.suspense=n}}),[e,t]),r},useTransition:function(e){var t=Ki($i),n=t[0];return t=t[1],[da(ha.bind(null,t,e),[t,e]),n]}},Ma=null,wa=null,Na=!1;function ja(e,t){var n=Su(5,null,null,0);n.elementType="DELETED",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 Sa(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);case 13:default:return!1}}function Ia(e){if(Na){var t=wa;if(t){var n=t;if(!Sa(e,t)){if(!(t=wn(n.nextSibling))||!Sa(e,t))return e.effectTag=-1025&e.effectTag|2,Na=!1,void(Ma=e);ja(Ma,n)}Ma=e,wa=wn(t.firstChild)}else e.effectTag=-1025&e.effectTag|2,Na=!1,Ma=e}}function Da(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Ma=e}function xa(e){if(e!==Ma)return!1;if(!Na)return Da(e),Na=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!vn(t,e.memoizedProps))for(t=wa;t;)ja(e,t),t=wn(t.nextSibling);if(Da(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){wa=wn(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}wa=null}}else wa=Ma?wn(e.stateNode.nextSibling):null;return!0}function Ea(){wa=Ma=null,Na=!1}var Oa=X.ReactCurrentOwner,Ta=!1;function Ca(e,t,n,r){t.child=null===e?Di(t,null,n,r):Ii(t,e.child,n,r)}function ka(e,t,n,r,o){n=n.render;var i=t.ref;return ri(t,o),r=Zi(e,t,n,r,i,o),null===e||Ta?(t.effectTag|=1,Ca(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=o&&(e.expirationTime=0),Za(e,t,o))}function La(e,t,n,r,o,i){if(null===e){var a=n.type;return"function"!==typeof a||Iu(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=xu(n.type,null,r,null,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,_a(e,t,a,r,o,i))}return a=e.child,o<i&&(o=a.memoizedProps,(n=null!==(n=n.compare)?n:Ur)(o,r)&&e.ref===t.ref)?Za(e,t,i):(t.effectTag|=1,(e=Du(a,r)).ref=t.ref,e.return=t,t.child=e)}function _a(e,t,n,r,o,i){return null!==e&&Ur(e.memoizedProps,r)&&e.ref===t.ref&&(Ta=!1,o<i)?(t.expirationTime=e.expirationTime,Za(e,t,i)):za(e,t,n,r,i)}function Aa(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function za(e,t,n,r,o){var i=yo(n)?ho:fo.current;return i=go(t,i),ri(t,o),n=Zi(e,t,n,r,i,o),null===e||Ta?(t.effectTag|=1,Ca(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=o&&(e.expirationTime=0),Za(e,t,o))}function Pa(e,t,n,r,o){if(yo(n)){var i=!0;Mo(t)}else i=!1;if(ri(t,o),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),vi(t,n,r),Mi(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var u=a.context,l=n.contextType;"object"===typeof l&&null!==l?l=oi(l):l=go(t,l=yo(n)?ho:fo.current);var c=n.getDerivedStateFromProps,f="function"===typeof c||"function"===typeof a.getSnapshotBeforeUpdate;f||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(s!==r||u!==l)&&bi(t,a,r,l),ii=!1;var d=t.memoizedState;a.state=d,fi(t,r,a,o),u=t.memoizedState,s!==r||d!==u||po.current||ii?("function"===typeof c&&(gi(t,n,c,r),u=t.memoizedState),(s=ii||mi(t,n,s,r,d,u,l))?(f||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||("function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"===typeof a.componentDidMount&&(t.effectTag|=4)):("function"===typeof a.componentDidMount&&(t.effectTag|=4),t.memoizedProps=r,t.memoizedState=u),a.props=r,a.state=u,a.context=l,r=s):("function"===typeof a.componentDidMount&&(t.effectTag|=4),r=!1)}else a=t.stateNode,si(e,t),s=t.memoizedProps,a.props=t.type===t.elementType?s:qo(t.type,s),u=a.context,"object"===typeof(l=n.contextType)&&null!==l?l=oi(l):l=go(t,l=yo(n)?ho:fo.current),(f="function"===typeof(c=n.getDerivedStateFromProps)||"function"===typeof a.getSnapshotBeforeUpdate)||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(s!==r||u!==l)&&bi(t,a,r,l),ii=!1,u=t.memoizedState,a.state=u,fi(t,r,a,o),d=t.memoizedState,s!==r||u!==d||po.current||ii?("function"===typeof c&&(gi(t,n,c,r),d=t.memoizedState),(c=ii||mi(t,n,s,r,u,d,l))?(f||"function"!==typeof a.UNSAFE_componentWillUpdate&&"function"!==typeof a.componentWillUpdate||("function"===typeof a.componentWillUpdate&&a.componentWillUpdate(r,d,l),"function"===typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,d,l)),"function"===typeof a.componentDidUpdate&&(t.effectTag|=4),"function"===typeof a.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!==typeof a.componentDidUpdate||s===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=4),"function"!==typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=256),t.memoizedProps=r,t.memoizedState=d),a.props=r,a.state=d,a.context=l,r=c):("function"!==typeof a.componentDidUpdate||s===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=4),"function"!==typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=256),r=!1);return Ra(e,t,n,r,i,o)}function Ra(e,t,n,r,o,i){Aa(e,t);var a=0!==(64&t.effectTag);if(!r&&!a)return o&&wo(t,n,!1),Za(e,t,i);r=t.stateNode,Oa.current=t;var s=a&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return t.effectTag|=1,null!==e&&a?(t.child=Ii(t,e.child,null,i),t.child=Ii(t,null,s,i)):Ca(e,t,s,i),t.memoizedState=r.state,o&&wo(t,n,!0),t.child}function Ua(e){var t=e.stateNode;t.pendingContext?vo(0,t.pendingContext,t.pendingContext!==t.context):t.context&&vo(0,t.context,!1),ki(e,t.containerInfo)}var Ba,Fa,Ya,Ga={dehydrated:null,retryTime:0};function Ha(e,t,n){var r,o=t.mode,i=t.pendingProps,a=zi.current,s=!1;if((r=0!==(64&t.effectTag))||(r=0!==(2&a)&&(null===e||null!==e.memoizedState)),r?(s=!0,t.effectTag&=-65):null!==e&&null===e.memoizedState||void 0===i.fallback||!0===i.unstable_avoidThisFallback||(a|=1),lo(zi,1&a),null===e){if(void 0!==i.fallback&&Ia(t),s){if(s=i.fallback,(i=Eu(null,o,0,null)).return=t,0===(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,i.child=e;null!==e;)e.return=i,e=e.sibling;return(n=Eu(s,o,n,null)).return=t,i.sibling=n,t.memoizedState=Ga,t.child=i,n}return o=i.children,t.memoizedState=null,t.child=Di(t,null,o,n)}if(null!==e.memoizedState){if(o=(e=e.child).sibling,s){if(i=i.fallback,(n=Du(e,e.pendingProps)).return=t,0===(2&t.mode)&&(s=null!==t.memoizedState?t.child.child:t.child)!==e.child)for(n.child=s;null!==s;)s.return=n,s=s.sibling;return(o=Du(o,i)).return=t,n.sibling=o,n.childExpirationTime=0,t.memoizedState=Ga,t.child=n,o}return n=Ii(t,e.child,i.children,n),t.memoizedState=null,t.child=n}if(e=e.child,s){if(s=i.fallback,(i=Eu(null,o,0,null)).return=t,i.child=e,null!==e&&(e.return=i),0===(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,i.child=e;null!==e;)e.return=i,e=e.sibling;return(n=Eu(s,o,n,null)).return=t,i.sibling=n,n.effectTag|=2,i.childExpirationTime=0,t.memoizedState=Ga,t.child=i,n}return t.memoizedState=null,t.child=Ii(t,e,i.children,n)}function Va(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t),ni(e.return,t)}function Qa(e,t,n,r,o,i){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailExpiration:0,tailMode:o,lastEffect:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailExpiration=0,a.tailMode=o,a.lastEffect=i)}function Wa(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(Ca(e,t,r.children,n),0!==(2&(r=zi.current)))r=1&r|2,t.effectTag|=64;else{if(null!==e&&0!==(64&e.effectTag))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Va(e,n);else if(19===e.tag)Va(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(lo(zi,r),0===(2&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===Pi(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Qa(t,!1,o,n,i,t.lastEffect);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===Pi(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Qa(t,!0,n,null,i,t.lastEffect);break;case"together":Qa(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function Za(e,t,n){null!==e&&(t.dependencies=e.dependencies);var r=t.expirationTime;if(0!==r&&au(r),t.childExpirationTime<n)return null;if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=Du(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Du(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function qa(e,t){switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Xa(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return yo(t.type)&&mo(),null;case 3:return Li(),uo(po),uo(fo),(n=t.stateNode).pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||!xa(t)||(t.effectTag|=4),null;case 5:Ai(t),n=Ci(Ti.current);var i=t.type;if(null!==e&&null!=t.stateNode)Fa(e,t,i,r,n),e.ref!==t.ref&&(t.effectTag|=128);else{if(!r){if(null===t.stateNode)throw Error(a(166));return null}if(e=Ci(Ei.current),xa(t)){r=t.stateNode,i=t.type;var s=t.memoizedProps;switch(r[Sn]=t,r[In]=s,i){case"iframe":case"object":case"embed":Wt("load",r);break;case"video":case"audio":for(e=0;e<Xe.length;e++)Wt(Xe[e],r);break;case"source":Wt("error",r);break;case"img":case"image":case"link":Wt("error",r),Wt("load",r);break;case"form":Wt("reset",r),Wt("submit",r);break;case"details":Wt("toggle",r);break;case"input":je(r,s),Wt("invalid",r),un(n,"onChange");break;case"select":r._wrapperState={wasMultiple:!!s.multiple},Wt("invalid",r),un(n,"onChange");break;case"textarea":Ce(r,s),Wt("invalid",r),un(n,"onChange")}for(var u in on(i,s),e=null,s)if(s.hasOwnProperty(u)){var l=s[u];"children"===u?"string"===typeof l?r.textContent!==l&&(e=["children",l]):"number"===typeof l&&r.textContent!==""+l&&(e=["children",""+l]):S.hasOwnProperty(u)&&null!=l&&un(n,u)}switch(i){case"input":Me(r),De(r,s,!0);break;case"textarea":Me(r),Le(r);break;case"select":case"option":break;default:"function"===typeof s.onClick&&(r.onclick=ln)}n=e,t.updateQueue=n,null!==n&&(t.effectTag|=4)}else{switch(u=9===n.nodeType?n:n.ownerDocument,e===sn&&(e=ze(i)),e===sn?"script"===i?((e=u.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"===typeof r.is?e=u.createElement(i,{is:r.is}):(e=u.createElement(i),"select"===i&&(u=e,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):e=u.createElementNS(e,i),e[Sn]=t,e[In]=r,Ba(e,t),t.stateNode=e,u=an(i,r),i){case"iframe":case"object":case"embed":Wt("load",e),l=r;break;case"video":case"audio":for(l=0;l<Xe.length;l++)Wt(Xe[l],e);l=r;break;case"source":Wt("error",e),l=r;break;case"img":case"image":case"link":Wt("error",e),Wt("load",e),l=r;break;case"form":Wt("reset",e),Wt("submit",e),l=r;break;case"details":Wt("toggle",e),l=r;break;case"input":je(e,r),l=Ne(e,r),Wt("invalid",e),un(n,"onChange");break;case"option":l=Ee(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},l=o({},r,{value:void 0}),Wt("invalid",e),un(n,"onChange");break;case"textarea":Ce(e,r),l=Te(e,r),Wt("invalid",e),un(n,"onChange");break;default:l=r}on(i,l);var c=l;for(s in c)if(c.hasOwnProperty(s)){var f=c[s];"style"===s?nn(e,f):"dangerouslySetInnerHTML"===s?null!=(f=f?f.__html:void 0)&&Ue(e,f):"children"===s?"string"===typeof f?("textarea"!==i||""!==f)&&Be(e,f):"number"===typeof f&&Be(e,""+f):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(S.hasOwnProperty(s)?null!=f&&un(n,s):null!=f&&$(e,s,f,u))}switch(i){case"input":Me(e),De(e,r,!1);break;case"textarea":Me(e),Le(e);break;case"option":null!=r.value&&e.setAttribute("value",""+ve(r.value));break;case"select":e.multiple=!!r.multiple,null!=(n=r.value)?Oe(e,!!r.multiple,n,!1):null!=r.defaultValue&&Oe(e,!!r.multiple,r.defaultValue,!0);break;default:"function"===typeof l.onClick&&(e.onclick=ln)}mn(i,r)&&(t.effectTag|=4)}null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)Ya(0,t,e.memoizedProps,r);else{if("string"!==typeof r&&null===t.stateNode)throw Error(a(166));n=Ci(Ti.current),Ci(Ei.current),xa(t)?(n=t.stateNode,r=t.memoizedProps,n[Sn]=t,n.nodeValue!==r&&(t.effectTag|=4)):((n=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Sn]=t,t.stateNode=n)}return null;case 13:return uo(zi),r=t.memoizedState,0!==(64&t.effectTag)?(t.expirationTime=n,t):(n=null!==r,r=!1,null===e?void 0!==t.memoizedProps.fallback&&xa(t):(r=null!==(i=e.memoizedState),n||null===i||null!==(i=e.child.sibling)&&(null!==(s=t.firstEffect)?(t.firstEffect=i,i.nextEffect=s):(t.firstEffect=t.lastEffect=i,i.nextEffect=null),i.effectTag=8)),n&&!r&&0!==(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!==(1&zi.current)?xs===Ms&&(xs=ws):(xs!==Ms&&xs!==ws||(xs=Ns),0!==ks&&null!==Ss&&(Lu(Ss,Ds),_u(Ss,ks)))),(n||r)&&(t.effectTag|=4),null);case 4:return Li(),null;case 10:return ti(t),null;case 17:return yo(t.type)&&mo(),null;case 19:if(uo(zi),null===(r=t.memoizedState))return null;if(i=0!==(64&t.effectTag),null===(s=r.rendering)){if(i)qa(r,!1);else if(xs!==Ms||null!==e&&0!==(64&e.effectTag))for(s=t.child;null!==s;){if(null!==(e=Pi(s))){for(t.effectTag|=64,qa(r,!1),null!==(i=e.updateQueue)&&(t.updateQueue=i,t.effectTag|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=t.child;null!==r;)s=n,(i=r).effectTag&=2,i.nextEffect=null,i.firstEffect=null,i.lastEffect=null,null===(e=i.alternate)?(i.childExpirationTime=0,i.expirationTime=s,i.child=null,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null):(i.childExpirationTime=e.childExpirationTime,i.expirationTime=e.expirationTime,i.child=e.child,i.memoizedProps=e.memoizedProps,i.memoizedState=e.memoizedState,i.updateQueue=e.updateQueue,s=e.dependencies,i.dependencies=null===s?null:{expirationTime:s.expirationTime,firstContext:s.firstContext,responders:s.responders}),r=r.sibling;return lo(zi,1&zi.current|2),t.child}s=s.sibling}}else{if(!i)if(null!==(e=Pi(s))){if(t.effectTag|=64,i=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.effectTag|=4),qa(r,!0),null===r.tail&&"hidden"===r.tailMode&&!s.alternate)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Bo()-r.renderingStartTime>r.tailExpiration&&1<n&&(t.effectTag|=64,i=!0,qa(r,!1),t.expirationTime=t.childExpirationTime=n-1);r.isBackwards?(s.sibling=t.child,t.child=s):(null!==(n=r.last)?n.sibling=s:t.child=s,r.last=s)}return null!==r.tail?(0===r.tailExpiration&&(r.tailExpiration=Bo()+500),n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Bo(),n.sibling=null,t=zi.current,lo(zi,i?1&t|2:1&t),n):null}throw Error(a(156,t.tag))}function $a(e){switch(e.tag){case 1:yo(e.type)&&mo();var t=e.effectTag;return 4096&t?(e.effectTag=-4097&t|64,e):null;case 3:if(Li(),uo(po),uo(fo),0!==(64&(t=e.effectTag)))throw Error(a(285));return e.effectTag=-4097&t|64,e;case 5:return Ai(e),null;case 13:return uo(zi),4096&(t=e.effectTag)?(e.effectTag=-4097&t|64,e):null;case 19:return uo(zi),null;case 4:return Li(),null;case 10:return ti(e),null;default:return null}}function Ja(e,t){return{value:e,source:t,stack:me(t)}}Ba=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Fa=function(e,t,n,r,i){var a=e.memoizedProps;if(a!==r){var s,u,l=t.stateNode;switch(Ci(Ei.current),e=null,n){case"input":a=Ne(l,a),r=Ne(l,r),e=[];break;case"option":a=Ee(l,a),r=Ee(l,r),e=[];break;case"select":a=o({},a,{value:void 0}),r=o({},r,{value:void 0}),e=[];break;case"textarea":a=Te(l,a),r=Te(l,r),e=[];break;default:"function"!==typeof a.onClick&&"function"===typeof r.onClick&&(l.onclick=ln)}for(s in on(n,r),n=null,a)if(!r.hasOwnProperty(s)&&a.hasOwnProperty(s)&&null!=a[s])if("style"===s)for(u in l=a[s])l.hasOwnProperty(u)&&(n||(n={}),n[u]="");else"dangerouslySetInnerHTML"!==s&&"children"!==s&&"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(S.hasOwnProperty(s)?e||(e=[]):(e=e||[]).push(s,null));for(s in r){var c=r[s];if(l=null!=a?a[s]:void 0,r.hasOwnProperty(s)&&c!==l&&(null!=c||null!=l))if("style"===s)if(l){for(u in l)!l.hasOwnProperty(u)||c&&c.hasOwnProperty(u)||(n||(n={}),n[u]="");for(u in c)c.hasOwnProperty(u)&&l[u]!==c[u]&&(n||(n={}),n[u]=c[u])}else n||(e||(e=[]),e.push(s,n)),n=c;else"dangerouslySetInnerHTML"===s?(c=c?c.__html:void 0,l=l?l.__html:void 0,null!=c&&l!==c&&(e=e||[]).push(s,c)):"children"===s?l===c||"string"!==typeof c&&"number"!==typeof c||(e=e||[]).push(s,""+c):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&(S.hasOwnProperty(s)?(null!=c&&un(i,s),e||l===c||(e=[])):(e=e||[]).push(s,c))}n&&(e=e||[]).push("style",n),i=e,(t.updateQueue=i)&&(t.effectTag|=4)}},Ya=function(e,t,n,r){n!==r&&(t.effectTag|=4)};var Ka="function"===typeof WeakSet?WeakSet:Set;function es(e,t){var n=t.source,r=t.stack;null===r&&null!==n&&(r=me(n)),null!==n&&ye(n.type),t=t.value,null!==e&&1===e.tag&&ye(e.type);try{console.error(t)}catch(o){setTimeout((function(){throw o}))}}function ts(e){var t=e.ref;if(null!==t)if("function"===typeof t)try{t(null)}catch(n){vu(e,n)}else t.current=null}function ns(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(256&t.effectTag&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:qo(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:case 5:case 6:case 4:case 17:return}throw Error(a(163))}function rs(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.destroy;n.destroy=void 0,void 0!==r&&r()}n=n.next}while(n!==t)}}function os(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function is(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:return void os(3,n);case 1:if(e=n.stateNode,4&n.effectTag)if(null===t)e.componentDidMount();else{var r=n.elementType===n.type?t.memoizedProps:qo(n.type,t.memoizedProps);e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate)}return void(null!==(t=n.updateQueue)&&di(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}di(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.effectTag&&mn(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&zt(n)))));case 19:case 17:case 20:case 21:return}throw Error(a(163))}function as(e,t,n){switch("function"===typeof Nu&&Nu(t),t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var r=e.next;Go(97<n?97:n,(function(){var e=r;do{var n=e.destroy;if(void 0!==n){var o=t;try{n()}catch(i){vu(o,i)}}e=e.next}while(e!==r)}))}break;case 1:ts(t),"function"===typeof(n=t.stateNode).componentWillUnmount&&function(e,t){try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(n){vu(e,n)}}(t,n);break;case 5:ts(t);break;case 4:cs(e,t,n)}}function ss(e){var t=e.alternate;e.return=null,e.child=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.alternate=null,e.firstEffect=null,e.lastEffect=null,e.pendingProps=null,e.memoizedProps=null,e.stateNode=null,null!==t&&ss(t)}function us(e){return 5===e.tag||3===e.tag||4===e.tag}function ls(e){e:{for(var t=e.return;null!==t;){if(us(t)){var n=t;break e}t=t.return}throw Error(a(160))}switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(a(161))}16&n.effectTag&&(Be(t,""),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||us(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==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}}r?function e(t,n,r){var o=t.tag,i=5===o||6===o;if(i)t=i?t.stateNode:t.stateNode.instance,n?8===r.nodeType?r.parentNode.insertBefore(t,n):r.insertBefore(t,n):(8===r.nodeType?(n=r.parentNode).insertBefore(t,r):(n=r).appendChild(t),null!==(r=r._reactRootContainer)&&void 0!==r||null!==n.onclick||(n.onclick=ln));else if(4!==o&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n,t):function e(t,n,r){var o=t.tag,i=5===o||6===o;if(i)t=i?t.stateNode:t.stateNode.instance,n?r.insertBefore(t,n):r.appendChild(t);else if(4!==o&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n,t)}function cs(e,t,n){for(var r,o,i=t,s=!1;;){if(!s){s=i.return;e:for(;;){if(null===s)throw Error(a(160));switch(r=s.stateNode,s.tag){case 5:o=!1;break e;case 3:case 4:r=r.containerInfo,o=!0;break e}s=s.return}s=!0}if(5===i.tag||6===i.tag){e:for(var u=e,l=i,c=n,f=l;;)if(as(u,f,c),null!==f.child&&4!==f.tag)f.child.return=f,f=f.child;else{if(f===l)break e;for(;null===f.sibling;){if(null===f.return||f.return===l)break e;f=f.return}f.sibling.return=f.return,f=f.sibling}o?(u=r,l=i.stateNode,8===u.nodeType?u.parentNode.removeChild(l):u.removeChild(l)):r.removeChild(i.stateNode)}else if(4===i.tag){if(null!==i.child){r=i.stateNode.containerInfo,o=!0,i.child.return=i,i=i.child;continue}}else if(as(e,i,n),null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)break;for(;null===i.sibling;){if(null===i.return||i.return===t)return;4===(i=i.return).tag&&(s=!1)}i.sibling.return=i.return,i=i.sibling}}function fs(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:return void rs(3,t);case 1:return;case 5:var n=t.stateNode;if(null!=n){var r=t.memoizedProps,o=null!==e?e.memoizedProps:r;e=t.type;var i=t.updateQueue;if(t.updateQueue=null,null!==i){for(n[In]=r,"input"===e&&"radio"===r.type&&null!=r.name&&Se(n,r),an(e,o),t=an(e,r),o=0;o<i.length;o+=2){var s=i[o],u=i[o+1];"style"===s?nn(n,u):"dangerouslySetInnerHTML"===s?Ue(n,u):"children"===s?Be(n,u):$(n,s,u,t)}switch(e){case"input":Ie(n,r);break;case"textarea":ke(n,r);break;case"select":t=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(e=r.value)?Oe(n,!!r.multiple,e,!1):t!==!!r.multiple&&(null!=r.defaultValue?Oe(n,!!r.multiple,r.defaultValue,!0):Oe(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(a(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((t=t.stateNode).hydrate&&(t.hydrate=!1,zt(t.containerInfo)));case 12:return;case 13:if(n=t,null===t.memoizedState?r=!1:(r=!0,n=t.child,_s=Bo()),null!==n)e:for(e=n;;){if(5===e.tag)i=e.stateNode,r?"function"===typeof(i=i.style).setProperty?i.setProperty("display","none","important"):i.display="none":(i=e.stateNode,o=void 0!==(o=e.memoizedProps.style)&&null!==o&&o.hasOwnProperty("display")?o.display:null,i.style.display=tn("display",o));else if(6===e.tag)e.stateNode.nodeValue=r?"":e.memoizedProps;else{if(13===e.tag&&null!==e.memoizedState&&null===e.memoizedState.dehydrated){(i=e.child.sibling).return=e,e=i;continue}if(null!==e.child){e.child.return=e,e=e.child;continue}}if(e===n)break;for(;null===e.sibling;){if(null===e.return||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}return void ds(t);case 19:return void ds(t);case 17:return}throw Error(a(163))}function ds(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Ka),t.forEach((function(t){var r=Mu.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}var ps="function"===typeof WeakMap?WeakMap:Map;function hs(e,t,n){(n=ui(n,null)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){zs||(zs=!0,Ps=r),es(e,t)},n}function gs(e,t,n){(n=ui(n,null)).tag=3;var r=e.type.getDerivedStateFromError;if("function"===typeof r){var o=t.value;n.payload=function(){return es(e,t),r(o)}}var i=e.stateNode;return null!==i&&"function"===typeof i.componentDidCatch&&(n.callback=function(){"function"!==typeof r&&(null===Rs?Rs=new Set([this]):Rs.add(this),es(e,t));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:""})}),n}var ys,ms=Math.ceil,vs=X.ReactCurrentDispatcher,bs=X.ReactCurrentOwner,Ms=0,ws=3,Ns=4,js=0,Ss=null,Is=null,Ds=0,xs=Ms,Es=null,Os=1073741823,Ts=1073741823,Cs=null,ks=0,Ls=!1,_s=0,As=null,zs=!1,Ps=null,Rs=null,Us=!1,Bs=null,Fs=90,Ys=null,Gs=0,Hs=null,Vs=0;function Qs(){return 0!==(48&js)?1073741821-(Bo()/10|0):0!==Vs?Vs:Vs=1073741821-(Bo()/10|0)}function Ws(e,t,n){if(0===(2&(t=t.mode)))return 1073741823;var r=Fo();if(0===(4&t))return 99===r?1073741823:1073741822;if(0!==(16&js))return Ds;if(null!==n)e=Zo(e,0|n.timeoutMs||5e3,250);else switch(r){case 99:e=1073741823;break;case 98:e=Zo(e,150,100);break;case 97:case 96:e=Zo(e,5e3,250);break;case 95:e=2;break;default:throw Error(a(326))}return null!==Ss&&e===Ds&&--e,e}function Zs(e,t){if(50<Gs)throw Gs=0,Hs=null,Error(a(185));if(null!==(e=qs(e,t))){var n=Fo();1073741823===t?0!==(8&js)&&0===(48&js)?Ks(e):($s(e),0===js&&Qo()):$s(e),0===(4&js)||98!==n&&99!==n||(null===Ys?Ys=new Map([[e,t]]):(void 0===(n=Ys.get(e))||n>t)&&Ys.set(e,t))}}function qs(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t);var r=e.return,o=null;if(null===r&&3===e.tag)o=e.stateNode;else for(;null!==r;){if(n=r.alternate,r.childExpirationTime<t&&(r.childExpirationTime=t),null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t),null===r.return&&3===r.tag){o=r.stateNode;break}r=r.return}return null!==o&&(Ss===o&&(au(t),xs===Ns&&Lu(o,Ds)),_u(o,t)),o}function Xs(e){var t=e.lastExpiredTime;if(0!==t)return t;if(!ku(e,t=e.firstPendingTime))return t;var n=e.lastPingedTime;return 2>=(e=n>(e=e.nextKnownPendingLevel)?n:e)&&t!==e?0:e}function $s(e){if(0!==e.lastExpiredTime)e.callbackExpirationTime=1073741823,e.callbackPriority=99,e.callbackNode=Vo(Ks.bind(null,e));else{var t=Xs(e),n=e.callbackNode;if(0===t)null!==n&&(e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90);else{var r=Qs();if(1073741823===t?r=99:1===t||2===t?r=95:r=0>=(r=10*(1073741821-t)-10*(1073741821-r))?99:250>=r?98:5250>=r?97:95,null!==n){var o=e.callbackPriority;if(e.callbackExpirationTime===t&&o>=r)return;n!==Lo&&So(n)}e.callbackExpirationTime=t,e.callbackPriority=r,t=1073741823===t?Vo(Ks.bind(null,e)):Ho(r,Js.bind(null,e),{timeout:10*(1073741821-t)-Bo()}),e.callbackNode=t}}}function Js(e,t){if(Vs=0,t)return Au(e,t=Qs()),$s(e),null;var n=Xs(e);if(0!==n){if(t=e.callbackNode,0!==(48&js))throw Error(a(327));if(gu(),e===Ss&&n===Ds||nu(e,n),null!==Is){var r=js;js|=16;for(var o=ou();;)try{uu();break}catch(u){ru(e,u)}if(ei(),js=r,vs.current=o,1===xs)throw t=Es,nu(e,n),Lu(e,n),$s(e),t;if(null===Is)switch(o=e.finishedWork=e.current.alternate,e.finishedExpirationTime=n,r=xs,Ss=null,r){case Ms:case 1:throw Error(a(345));case 2:Au(e,2<n?2:n);break;case ws:if(Lu(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=fu(o)),1073741823===Os&&10<(o=_s+500-Bo())){if(Ls){var i=e.lastPingedTime;if(0===i||i>=n){e.lastPingedTime=n,nu(e,n);break}}if(0!==(i=Xs(e))&&i!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}e.timeoutHandle=bn(du.bind(null,e),o);break}du(e);break;case Ns:if(Lu(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=fu(o)),Ls&&(0===(o=e.lastPingedTime)||o>=n)){e.lastPingedTime=n,nu(e,n);break}if(0!==(o=Xs(e))&&o!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}if(1073741823!==Ts?r=10*(1073741821-Ts)-Bo():1073741823===Os?r=0:(r=10*(1073741821-Os)-5e3,0>(r=(o=Bo())-r)&&(r=0),(n=10*(1073741821-n)-o)<(r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*ms(r/1960))-r)&&(r=n)),10<r){e.timeoutHandle=bn(du.bind(null,e),r);break}du(e);break;case 5:if(1073741823!==Os&&null!==Cs){i=Os;var s=Cs;if(0>=(r=0|s.busyMinDurationMs)?r=0:(o=0|s.busyDelayMs,r=(i=Bo()-(10*(1073741821-i)-(0|s.timeoutMs||5e3)))<=o?0:o+r-i),10<r){Lu(e,n),e.timeoutHandle=bn(du.bind(null,e),r);break}}du(e);break;default:throw Error(a(329))}if($s(e),e.callbackNode===t)return Js.bind(null,e)}}return null}function Ks(e){var t=e.lastExpiredTime;if(t=0!==t?t:1073741823,0!==(48&js))throw Error(a(327));if(gu(),e===Ss&&t===Ds||nu(e,t),null!==Is){var n=js;js|=16;for(var r=ou();;)try{su();break}catch(o){ru(e,o)}if(ei(),js=n,vs.current=r,1===xs)throw n=Es,nu(e,t),Lu(e,t),$s(e),n;if(null!==Is)throw Error(a(261));e.finishedWork=e.current.alternate,e.finishedExpirationTime=t,Ss=null,du(e),$s(e)}return null}function eu(e,t){var n=js;js|=1;try{return e(t)}finally{0===(js=n)&&Qo()}}function tu(e,t){var n=js;js&=-2,js|=8;try{return e(t)}finally{0===(js=n)&&Qo()}}function nu(e,t){e.finishedWork=null,e.finishedExpirationTime=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,Mn(n)),null!==Is)for(n=Is.return;null!==n;){var r=n;switch(r.tag){case 1:null!==(r=r.type.childContextTypes)&&void 0!==r&&mo();break;case 3:Li(),uo(po),uo(fo);break;case 5:Ai(r);break;case 4:Li();break;case 13:case 19:uo(zi);break;case 10:ti(r)}n=n.return}Ss=e,Is=Du(e.current,null),Ds=t,xs=Ms,Es=null,Ts=Os=1073741823,Cs=null,ks=0,Ls=!1}function ru(e,t){for(;;){try{if(ei(),Ui.current=ya,Vi)for(var n=Yi.memoizedState;null!==n;){var r=n.queue;null!==r&&(r.pending=null),n=n.next}if(Fi=0,Hi=Gi=Yi=null,Vi=!1,null===Is||null===Is.return)return xs=1,Es=t,Is=null;e:{var o=e,i=Is.return,a=Is,s=t;if(t=Ds,a.effectTag|=2048,a.firstEffect=a.lastEffect=null,null!==s&&"object"===typeof s&&"function"===typeof s.then){var u=s;if(0===(2&a.mode)){var l=a.alternate;l?(a.updateQueue=l.updateQueue,a.memoizedState=l.memoizedState,a.expirationTime=l.expirationTime):(a.updateQueue=null,a.memoizedState=null)}var c=0!==(1&zi.current),f=i;do{var d;if(d=13===f.tag){var p=f.memoizedState;if(null!==p)d=null!==p.dehydrated;else{var h=f.memoizedProps;d=void 0!==h.fallback&&(!0!==h.unstable_avoidThisFallback||!c)}}if(d){var g=f.updateQueue;if(null===g){var y=new Set;y.add(u),f.updateQueue=y}else g.add(u);if(0===(2&f.mode)){if(f.effectTag|=64,a.effectTag&=-2981,1===a.tag)if(null===a.alternate)a.tag=17;else{var m=ui(1073741823,null);m.tag=2,li(a,m)}a.expirationTime=1073741823;break e}s=void 0,a=t;var v=o.pingCache;if(null===v?(v=o.pingCache=new ps,s=new Set,v.set(u,s)):void 0===(s=v.get(u))&&(s=new Set,v.set(u,s)),!s.has(a)){s.add(a);var b=bu.bind(null,o,u,a);u.then(b,b)}f.effectTag|=4096,f.expirationTime=t;break e}f=f.return}while(null!==f);s=Error((ye(a.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+me(a))}5!==xs&&(xs=2),s=Ja(s,a),f=i;do{switch(f.tag){case 3:u=s,f.effectTag|=4096,f.expirationTime=t,ci(f,hs(f,u,t));break e;case 1:u=s;var M=f.type,w=f.stateNode;if(0===(64&f.effectTag)&&("function"===typeof M.getDerivedStateFromError||null!==w&&"function"===typeof w.componentDidCatch&&(null===Rs||!Rs.has(w)))){f.effectTag|=4096,f.expirationTime=t,ci(f,gs(f,u,t));break e}}f=f.return}while(null!==f)}Is=cu(Is)}catch(N){t=N;continue}break}}function ou(){var e=vs.current;return vs.current=ya,null===e?ya:e}function iu(e,t){e<Os&&2<e&&(Os=e),null!==t&&e<Ts&&2<e&&(Ts=e,Cs=t)}function au(e){e>ks&&(ks=e)}function su(){for(;null!==Is;)Is=lu(Is)}function uu(){for(;null!==Is&&!_o();)Is=lu(Is)}function lu(e){var t=ys(e.alternate,e,Ds);return e.memoizedProps=e.pendingProps,null===t&&(t=cu(e)),bs.current=null,t}function cu(e){Is=e;do{var t=Is.alternate;if(e=Is.return,0===(2048&Is.effectTag)){if(t=Xa(t,Is,Ds),1===Ds||1!==Is.childExpirationTime){for(var n=0,r=Is.child;null!==r;){var o=r.expirationTime,i=r.childExpirationTime;o>n&&(n=o),i>n&&(n=i),r=r.sibling}Is.childExpirationTime=n}if(null!==t)return t;null!==e&&0===(2048&e.effectTag)&&(null===e.firstEffect&&(e.firstEffect=Is.firstEffect),null!==Is.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=Is.firstEffect),e.lastEffect=Is.lastEffect),1<Is.effectTag&&(null!==e.lastEffect?e.lastEffect.nextEffect=Is:e.firstEffect=Is,e.lastEffect=Is))}else{if(null!==(t=$a(Is)))return t.effectTag&=2047,t;null!==e&&(e.firstEffect=e.lastEffect=null,e.effectTag|=2048)}if(null!==(t=Is.sibling))return t;Is=e}while(null!==Is);return xs===Ms&&(xs=5),null}function fu(e){var t=e.expirationTime;return t>(e=e.childExpirationTime)?t:e}function du(e){var t=Fo();return Go(99,pu.bind(null,e,t)),null}function pu(e,t){do{gu()}while(null!==Bs);if(0!==(48&js))throw Error(a(327));var n=e.finishedWork,r=e.finishedExpirationTime;if(null===n)return null;if(e.finishedWork=null,e.finishedExpirationTime=0,n===e.current)throw Error(a(177));e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90,e.nextKnownPendingLevel=0;var o=fu(n);if(e.firstPendingTime=o,r<=e.lastSuspendedTime?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:r<=e.firstSuspendedTime&&(e.firstSuspendedTime=r-1),r<=e.lastPingedTime&&(e.lastPingedTime=0),r<=e.lastExpiredTime&&(e.lastExpiredTime=0),e===Ss&&(Is=Ss=null,Ds=0),1<n.effectTag?null!==n.lastEffect?(n.lastEffect.nextEffect=n,o=n.firstEffect):o=n:o=n.firstEffect,null!==o){var i=js;js|=32,bs.current=null,gn=Qt;var s=pn();if(hn(s)){if("selectionStart"in s)var u={start:s.selectionStart,end:s.selectionEnd};else e:{var l=(u=(u=s.ownerDocument)&&u.defaultView||window).getSelection&&u.getSelection();if(l&&0!==l.rangeCount){u=l.anchorNode;var c=l.anchorOffset,f=l.focusNode;l=l.focusOffset;try{u.nodeType,f.nodeType}catch(D){u=null;break e}var d=0,p=-1,h=-1,g=0,y=0,m=s,v=null;t:for(;;){for(var b;m!==u||0!==c&&3!==m.nodeType||(p=d+c),m!==f||0!==l&&3!==m.nodeType||(h=d+l),3===m.nodeType&&(d+=m.nodeValue.length),null!==(b=m.firstChild);)v=m,m=b;for(;;){if(m===s)break t;if(v===u&&++g===c&&(p=d),v===f&&++y===l&&(h=d),null!==(b=m.nextSibling))break;v=(m=v).parentNode}m=b}u=-1===p||-1===h?null:{start:p,end:h}}else u=null}u=u||{start:0,end:0}}else u=null;yn={activeElementDetached:null,focusedElem:s,selectionRange:u},Qt=!1,As=o;do{try{hu()}catch(D){if(null===As)throw Error(a(330));vu(As,D),As=As.nextEffect}}while(null!==As);As=o;do{try{for(s=e,u=t;null!==As;){var M=As.effectTag;if(16&M&&Be(As.stateNode,""),128&M){var w=As.alternate;if(null!==w){var N=w.ref;null!==N&&("function"===typeof N?N(null):N.current=null)}}switch(1038&M){case 2:ls(As),As.effectTag&=-3;break;case 6:ls(As),As.effectTag&=-3,fs(As.alternate,As);break;case 1024:As.effectTag&=-1025;break;case 1028:As.effectTag&=-1025,fs(As.alternate,As);break;case 4:fs(As.alternate,As);break;case 8:cs(s,c=As,u),ss(c)}As=As.nextEffect}}catch(D){if(null===As)throw Error(a(330));vu(As,D),As=As.nextEffect}}while(null!==As);if(N=yn,w=pn(),M=N.focusedElem,u=N.selectionRange,w!==M&&M&&M.ownerDocument&&function e(t,n){return!(!t||!n)&&(t===n||(!t||3!==t.nodeType)&&(n&&3===n.nodeType?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(M.ownerDocument.documentElement,M)){null!==u&&hn(M)&&(w=u.start,void 0===(N=u.end)&&(N=w),"selectionStart"in M?(M.selectionStart=w,M.selectionEnd=Math.min(N,M.value.length)):(N=(w=M.ownerDocument||document)&&w.defaultView||window).getSelection&&(N=N.getSelection(),c=M.textContent.length,s=Math.min(u.start,c),u=void 0===u.end?s:Math.min(u.end,c),!N.extend&&s>u&&(c=u,u=s,s=c),c=dn(M,s),f=dn(M,u),c&&f&&(1!==N.rangeCount||N.anchorNode!==c.node||N.anchorOffset!==c.offset||N.focusNode!==f.node||N.focusOffset!==f.offset)&&((w=w.createRange()).setStart(c.node,c.offset),N.removeAllRanges(),s>u?(N.addRange(w),N.extend(f.node,f.offset)):(w.setEnd(f.node,f.offset),N.addRange(w))))),w=[];for(N=M;N=N.parentNode;)1===N.nodeType&&w.push({element:N,left:N.scrollLeft,top:N.scrollTop});for("function"===typeof M.focus&&M.focus(),M=0;M<w.length;M++)(N=w[M]).element.scrollLeft=N.left,N.element.scrollTop=N.top}Qt=!!gn,yn=gn=null,e.current=n,As=o;do{try{for(M=e;null!==As;){var j=As.effectTag;if(36&j&&is(M,As.alternate,As),128&j){w=void 0;var S=As.ref;if(null!==S){var I=As.stateNode;switch(As.tag){case 5:w=I;break;default:w=I}"function"===typeof S?S(w):S.current=w}}As=As.nextEffect}}catch(D){if(null===As)throw Error(a(330));vu(As,D),As=As.nextEffect}}while(null!==As);As=null,Ao(),js=i}else e.current=n;if(Us)Us=!1,Bs=e,Fs=t;else for(As=o;null!==As;)t=As.nextEffect,As.nextEffect=null,As=t;if(0===(t=e.firstPendingTime)&&(Rs=null),1073741823===t?e===Hs?Gs++:(Gs=0,Hs=e):Gs=0,"function"===typeof wu&&wu(n.stateNode,r),$s(e),zs)throw zs=!1,e=Ps,Ps=null,e;return 0!==(8&js)||Qo(),null}function hu(){for(;null!==As;){var e=As.effectTag;0!==(256&e)&&ns(As.alternate,As),0===(512&e)||Us||(Us=!0,Ho(97,(function(){return gu(),null}))),As=As.nextEffect}}function gu(){if(90!==Fs){var e=97<Fs?97:Fs;return Fs=90,Go(e,yu)}}function yu(){if(null===Bs)return!1;var e=Bs;if(Bs=null,0!==(48&js))throw Error(a(331));var t=js;for(js|=32,e=e.current.firstEffect;null!==e;){try{var n=e;if(0!==(512&n.effectTag))switch(n.tag){case 0:case 11:case 15:case 22:rs(5,n),os(5,n)}}catch(r){if(null===e)throw Error(a(330));vu(e,r)}n=e.nextEffect,e.nextEffect=null,e=n}return js=t,Qo(),!0}function mu(e,t,n){li(e,t=hs(e,t=Ja(n,t),1073741823)),null!==(e=qs(e,1073741823))&&$s(e)}function vu(e,t){if(3===e.tag)mu(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){mu(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"===typeof n.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===Rs||!Rs.has(r))){li(n,e=gs(n,e=Ja(t,e),1073741823)),null!==(n=qs(n,1073741823))&&$s(n);break}}n=n.return}}function bu(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),Ss===e&&Ds===n?xs===Ns||xs===ws&&1073741823===Os&&Bo()-_s<500?nu(e,Ds):Ls=!0:ku(e,n)&&(0!==(t=e.lastPingedTime)&&t<n||(e.lastPingedTime=n,$s(e)))}function Mu(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(t=Ws(t=Qs(),e,null)),null!==(e=qs(e,t))&&$s(e)}ys=function(e,t,n){var r=t.expirationTime;if(null!==e){var o=t.pendingProps;if(e.memoizedProps!==o||po.current)Ta=!0;else{if(r<n){switch(Ta=!1,t.tag){case 3:Ua(t),Ea();break;case 5:if(_i(t),4&t.mode&&1!==n&&o.hidden)return t.expirationTime=t.childExpirationTime=1,null;break;case 1:yo(t.type)&&Mo(t);break;case 4:ki(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value,o=t.type._context,lo(Xo,o._currentValue),o._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!==(r=t.child.childExpirationTime)&&r>=n?Ha(e,t,n):(lo(zi,1&zi.current),null!==(t=Za(e,t,n))?t.sibling:null);lo(zi,1&zi.current);break;case 19:if(r=t.childExpirationTime>=n,0!==(64&e.effectTag)){if(r)return Wa(e,t,n);t.effectTag|=64}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null),lo(zi,zi.current),!r)return null}return Za(e,t,n)}Ta=!1}}else Ta=!1;switch(t.expirationTime=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,o=go(t,fo.current),ri(t,n),o=Zi(null,t,r,e,o,n),t.effectTag|=1,"object"===typeof o&&null!==o&&"function"===typeof o.render&&void 0===o.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,yo(r)){var i=!0;Mo(t)}else i=!1;t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,ai(t);var s=r.getDerivedStateFromProps;"function"===typeof s&&gi(t,r,s,e),o.updater=yi,t.stateNode=o,o._reactInternalFiber=t,Mi(t,r,e,n),t=Ra(null,t,r,!0,i,n)}else t.tag=0,Ca(null,t,o,n),t=t.child;return t;case 16:e:{if(o=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,function(e){if(-1===e._status){e._status=0;var t=e._ctor;t=t(),e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}}(o),1!==o._status)throw o._result;switch(o=o._result,t.type=o,i=t.tag=function(e){if("function"===typeof e)return Iu(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===ue)return 11;if(e===fe)return 14}return 2}(o),e=qo(o,e),i){case 0:t=za(null,t,o,e,n);break e;case 1:t=Pa(null,t,o,e,n);break e;case 11:t=ka(null,t,o,e,n);break e;case 14:t=La(null,t,o,qo(o.type,e),r,n);break e}throw Error(a(306,o,""))}return t;case 0:return r=t.type,o=t.pendingProps,za(e,t,r,o=t.elementType===r?o:qo(r,o),n);case 1:return r=t.type,o=t.pendingProps,Pa(e,t,r,o=t.elementType===r?o:qo(r,o),n);case 3:if(Ua(t),r=t.updateQueue,null===e||null===r)throw Error(a(282));if(r=t.pendingProps,o=null!==(o=t.memoizedState)?o.element:null,si(e,t),fi(t,r,null,n),(r=t.memoizedState.element)===o)Ea(),t=Za(e,t,n);else{if((o=t.stateNode.hydrate)&&(wa=wn(t.stateNode.containerInfo.firstChild),Ma=t,o=Na=!0),o)for(n=Di(t,null,r,n),t.child=n;n;)n.effectTag=-3&n.effectTag|1024,n=n.sibling;else Ca(e,t,r,n),Ea();t=t.child}return t;case 5:return _i(t),null===e&&Ia(t),r=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,s=o.children,vn(r,o)?s=null:null!==i&&vn(r,i)&&(t.effectTag|=16),Aa(e,t),4&t.mode&&1!==n&&o.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(Ca(e,t,s,n),t=t.child),t;case 6:return null===e&&Ia(t),null;case 13:return Ha(e,t,n);case 4:return ki(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Ii(t,null,r,n):Ca(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,ka(e,t,r,o=t.elementType===r?o:qo(r,o),n);case 7:return Ca(e,t,t.pendingProps,n),t.child;case 8:case 12:return Ca(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,o=t.pendingProps,s=t.memoizedProps,i=o.value;var u=t.type._context;if(lo(Xo,u._currentValue),u._currentValue=i,null!==s)if(u=s.value,0===(i=Pr(u,i)?0:0|("function"===typeof r._calculateChangedBits?r._calculateChangedBits(u,i):1073741823))){if(s.children===o.children&&!po.current){t=Za(e,t,n);break e}}else for(null!==(u=t.child)&&(u.return=t);null!==u;){var l=u.dependencies;if(null!==l){s=u.child;for(var c=l.firstContext;null!==c;){if(c.context===r&&0!==(c.observedBits&i)){1===u.tag&&((c=ui(n,null)).tag=2,li(u,c)),u.expirationTime<n&&(u.expirationTime=n),null!==(c=u.alternate)&&c.expirationTime<n&&(c.expirationTime=n),ni(u.return,n),l.expirationTime<n&&(l.expirationTime=n);break}c=c.next}}else s=10===u.tag&&u.type===t.type?null:u.child;if(null!==s)s.return=u;else for(s=u;null!==s;){if(s===t){s=null;break}if(null!==(u=s.sibling)){u.return=s.return,s=u;break}s=s.return}u=s}Ca(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=(i=t.pendingProps).children,ri(t,n),r=r(o=oi(o,i.unstable_observedBits)),t.effectTag|=1,Ca(e,t,r,n),t.child;case 14:return i=qo(o=t.type,t.pendingProps),La(e,t,o,i=qo(o.type,i),r,n);case 15:return _a(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:qo(r,o),null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),t.tag=1,yo(r)?(e=!0,Mo(t)):e=!1,ri(t,n),vi(t,r,o),Mi(t,r,o,n),Ra(null,t,r,!0,e,n);case 19:return Wa(e,t,n)}throw Error(a(156,t.tag))};var wu=null,Nu=null;function ju(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function Su(e,t,n,r){return new ju(e,t,n,r)}function Iu(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Du(e,t){var n=e.alternate;return null===n?((n=Su(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.effectTag=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childExpirationTime=e.childExpirationTime,n.expirationTime=e.expirationTime,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{expirationTime:t.expirationTime,firstContext:t.firstContext,responders:t.responders},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function xu(e,t,n,r,o,i){var s=2;if(r=e,"function"===typeof e)Iu(e)&&(s=1);else if("string"===typeof e)s=5;else e:switch(e){case ne:return Eu(n.children,o,i,t);case se:s=8,o|=7;break;case re:s=8,o|=1;break;case oe:return(e=Su(12,n,t,8|o)).elementType=oe,e.type=oe,e.expirationTime=i,e;case le:return(e=Su(13,n,t,o)).type=le,e.elementType=le,e.expirationTime=i,e;case ce:return(e=Su(19,n,t,o)).elementType=ce,e.expirationTime=i,e;default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case ie:s=10;break e;case ae:s=9;break e;case ue:s=11;break e;case fe:s=14;break e;case de:s=16,r=null;break e;case pe:s=22;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=Su(s,n,t,o)).elementType=e,t.type=r,t.expirationTime=i,t}function Eu(e,t,n,r){return(e=Su(7,e,r,t)).expirationTime=n,e}function Ou(e,t,n){return(e=Su(6,e,null,t)).expirationTime=n,e}function Tu(e,t,n){return(t=Su(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Cu(e,t,n){this.tag=t,this.current=null,this.containerInfo=e,this.pingCache=this.pendingChildren=null,this.finishedExpirationTime=0,this.finishedWork=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=90,this.lastExpiredTime=this.lastPingedTime=this.nextKnownPendingLevel=this.lastSuspendedTime=this.firstSuspendedTime=this.firstPendingTime=0}function ku(e,t){var n=e.firstSuspendedTime;return e=e.lastSuspendedTime,0!==n&&n>=t&&e<=t}function Lu(e,t){var n=e.firstSuspendedTime,r=e.lastSuspendedTime;n<t&&(e.firstSuspendedTime=t),(r>t||0===n)&&(e.lastSuspendedTime=t),t<=e.lastPingedTime&&(e.lastPingedTime=0),t<=e.lastExpiredTime&&(e.lastExpiredTime=0)}function _u(e,t){t>e.firstPendingTime&&(e.firstPendingTime=t);var n=e.firstSuspendedTime;0!==n&&(t>=n?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:t>=e.lastSuspendedTime&&(e.lastSuspendedTime=t+1),t>e.nextKnownPendingLevel&&(e.nextKnownPendingLevel=t))}function Au(e,t){var n=e.lastExpiredTime;(0===n||n>t)&&(e.lastExpiredTime=t)}function zu(e,t,n,r){var o=t.current,i=Qs(),s=pi.suspense;i=Ws(i,o,s);e:if(n){t:{if(Ke(n=n._reactInternalFiber)!==n||1!==n.tag)throw Error(a(170));var u=n;do{switch(u.tag){case 3:u=u.stateNode.context;break t;case 1:if(yo(u.type)){u=u.stateNode.__reactInternalMemoizedMergedChildContext;break t}}u=u.return}while(null!==u);throw Error(a(171))}if(1===n.tag){var l=n.type;if(yo(l)){n=bo(n,l,u);break e}}n=u}else n=co;return null===t.context?t.context=n:t.pendingContext=n,(t=ui(i,s)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),li(o,t),Zs(o,i),i}function Pu(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function Ru(e,t){null!==(e=e.memoizedState)&&null!==e.dehydrated&&e.retryTime<t&&(e.retryTime=t)}function Uu(e,t){Ru(e,t),(e=e.alternate)&&Ru(e,t)}function Bu(e,t,n){var r=new Cu(e,t,n=null!=n&&!0===n.hydrate),o=Su(3,null,null,2===t?7:1===t?3:0);r.current=o,o.stateNode=r,ai(o),e[Dn]=r.current,n&&0!==t&&function(e,t){var n=Je(t);Dt.forEach((function(e){ht(e,t,n)})),xt.forEach((function(e){ht(e,t,n)}))}(0,9===e.nodeType?e:e.ownerDocument),this._internalRoot=r}function Fu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Yu(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i._internalRoot;if("function"===typeof o){var s=o;o=function(){var e=Pu(a);s.call(e)}}zu(t,a,e,o)}else{if(i=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new Bu(e,0,t?{hydrate:!0}:void 0)}(n,r),a=i._internalRoot,"function"===typeof o){var u=o;o=function(){var e=Pu(a);u.call(e)}}tu((function(){zu(t,a,e,o)}))}return Pu(a)}function Gu(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:te,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Hu(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Fu(t))throw Error(a(200));return Gu(e,t,null,n)}Bu.prototype.render=function(e){zu(e,this._internalRoot,null,null)},Bu.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;zu(null,e,null,(function(){t[Dn]=null}))},gt=function(e){if(13===e.tag){var t=Zo(Qs(),150,100);Zs(e,t),Uu(e,t)}},yt=function(e){13===e.tag&&(Zs(e,3),Uu(e,3))},mt=function(e){if(13===e.tag){var t=Qs();Zs(e,t=Ws(t,e,null)),Uu(e,t)}},E=function(e,t,n){switch(t){case"input":if(Ie(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=Tn(r);if(!o)throw Error(a(90));we(r),Ie(r,o)}}}break;case"textarea":ke(e,n);break;case"select":null!=(t=n.value)&&Oe(e,!!n.multiple,t,!1)}},_=eu,A=function(e,t,n,r,o){var i=js;js|=4;try{return Go(98,e.bind(null,t,n,r,o))}finally{0===(js=i)&&Qo()}},z=function(){0===(49&js)&&(function(){if(null!==Ys){var e=Ys;Ys=null,e.forEach((function(e,t){Au(t,e),$s(t)})),Qo()}}(),gu())},P=function(e,t){var n=js;js|=2;try{return e(t)}finally{0===(js=n)&&Qo()}};var Vu={Events:[En,On,Tn,D,j,Pn,function(e){ot(e,zn)},k,L,$t,st,gu,{current:!1}]};!function(e){var t=e.findFiberByHostInstance;(function(e){if("undefined"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);wu=function(e){try{t.onCommitFiberRoot(n,e,void 0,64===(64&e.current.effectTag))}catch(r){}},Nu=function(e){try{t.onCommitFiberUnmount(n,e)}catch(r){}}}catch(r){}})(o({},e,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:X.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=nt(e))?null:e.stateNode},findFiberByHostInstance:function(e){return t?t(e):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null}))}({findFiberByHostInstance:xn,bundleType:0,version:"16.14.0",rendererPackageName:"react-dom"}),t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Vu,t.createPortal=Hu,t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternalFiber;if(void 0===t){if("function"===typeof e.render)throw Error(a(188));throw Error(a(268,Object.keys(e)))}return e=null===(e=nt(t))?null:e.stateNode},t.flushSync=function(e,t){if(0!==(48&js))throw Error(a(187));var n=js;js|=1;try{return Go(99,e.bind(null,t))}finally{js=n,Qo()}},t.hydrate=function(e,t,n){if(!Fu(t))throw Error(a(200));return Yu(null,e,t,!0,n)},t.render=function(e,t,n){if(!Fu(t))throw Error(a(200));return Yu(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Fu(e))throw Error(a(40));return!!e._reactRootContainer&&(tu((function(){Yu(null,null,e,!1,(function(){e._reactRootContainer=null,e[Dn]=null}))})),!0)},t.unstable_batchedUpdates=eu,t.unstable_createPortal=function(e,t){return Hu(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Fu(n))throw Error(a(200));if(null==e||void 0===e._reactInternalFiber)throw Error(a(38));return Yu(e,t,n,!1,r)},t.version="16.14.0"},function(e,t,n){"use strict";e.exports=n(424)},function(e,t,n){"use strict";var r,o,i,a,s;if("undefined"===typeof window||"function"!==typeof MessageChannel){var u=null,l=null,c=function e(){if(null!==u)try{var n=t.unstable_now();u(!0,n),u=null}catch(r){throw setTimeout(e,0),r}},f=Date.now();t.unstable_now=function(){return Date.now()-f},r=function(e){null!==u?setTimeout(r,0,e):(u=e,setTimeout(c,0))},o=function(e,t){l=setTimeout(e,t)},i=function(){clearTimeout(l)},a=function(){return!1},s=t.unstable_forceFrameRate=function(){}}else{var d=window.performance,p=window.Date,h=window.setTimeout,g=window.clearTimeout;if("undefined"!==typeof console){var y=window.cancelAnimationFrame;"function"!==typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!==typeof y&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"===typeof d&&"function"===typeof d.now)t.unstable_now=function(){return d.now()};else{var m=p.now();t.unstable_now=function(){return p.now()-m}}var v=!1,b=null,M=-1,w=5,N=0;a=function(){return t.unstable_now()>=N},s=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):w=0<e?Math.floor(1e3/e):5};var j=new MessageChannel,S=j.port2;j.port1.onmessage=function(){if(null!==b){var e=t.unstable_now();N=e+w;try{b(!0,e)?S.postMessage(null):(v=!1,b=null)}catch(n){throw S.postMessage(null),n}}else v=!1},r=function(e){b=e,v||(v=!0,S.postMessage(null))},o=function(e,n){M=h((function(){e(t.unstable_now())}),n)},i=function(){g(M),M=-1}}function I(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,o=e[r];if(!(void 0!==o&&0<E(o,t)))break e;e[r]=t,e[n]=o,n=r}}function D(e){return void 0===(e=e[0])?null:e}function x(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length;r<o;){var i=2*(r+1)-1,a=e[i],s=i+1,u=e[s];if(void 0!==a&&0>E(a,n))void 0!==u&&0>E(u,a)?(e[r]=u,e[s]=n,r=s):(e[r]=a,e[i]=n,r=i);else{if(!(void 0!==u&&0>E(u,n)))break e;e[r]=u,e[s]=n,r=s}}}return t}return null}function E(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var O=[],T=[],C=1,k=null,L=3,_=!1,A=!1,z=!1;function P(e){for(var t=D(T);null!==t;){if(null===t.callback)x(T);else{if(!(t.startTime<=e))break;x(T),t.sortIndex=t.expirationTime,I(O,t)}t=D(T)}}function R(e){if(z=!1,P(e),!A)if(null!==D(O))A=!0,r(U);else{var t=D(T);null!==t&&o(R,t.startTime-e)}}function U(e,n){A=!1,z&&(z=!1,i()),_=!0;var r=L;try{for(P(n),k=D(O);null!==k&&(!(k.expirationTime>n)||e&&!a());){var s=k.callback;if(null!==s){k.callback=null,L=k.priorityLevel;var u=s(k.expirationTime<=n);n=t.unstable_now(),"function"===typeof u?k.callback=u:k===D(O)&&x(O),P(n)}else x(O);k=D(O)}if(null!==k)var l=!0;else{var c=D(T);null!==c&&o(R,c.startTime-n),l=!1}return l}finally{k=null,L=r,_=!1}}function B(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var F=s;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){A||_||(A=!0,r(U))},t.unstable_getCurrentPriorityLevel=function(){return L},t.unstable_getFirstCallbackNode=function(){return D(O)},t.unstable_next=function(e){switch(L){case 1:case 2:case 3:var t=3;break;default:t=L}var n=L;L=t;try{return e()}finally{L=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=F,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=L;L=e;try{return t()}finally{L=n}},t.unstable_scheduleCallback=function(e,n,a){var s=t.unstable_now();if("object"===typeof a&&null!==a){var u=a.delay;u="number"===typeof u&&0<u?s+u:s,a="number"===typeof a.timeout?a.timeout:B(e)}else a=B(e),u=s;return e={id:C++,callback:n,priorityLevel:e,startTime:u,expirationTime:a=u+a,sortIndex:-1},u>s?(e.sortIndex=u,I(T,e),null===D(O)&&e===D(T)&&(z?i():z=!0,o(R,u-s))):(e.sortIndex=a,I(O,e),A||_||(A=!0,r(U))),e},t.unstable_shouldYield=function(){var e=t.unstable_now();P(e);var n=D(O);return n!==k&&null!==k&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime<k.expirationTime||a()},t.unstable_wrapCallback=function(e){var t=L;return function(){var n=L;L=t;try{return e.apply(this,arguments)}finally{L=n}}}},function(e,t,n){"use strict";var r=60103,o=60106,i=60107,a=60108,s=60114,u=60109,l=60110,c=60112,f=60113,d=60120,p=60115,h=60116,g=60121,y=60122,m=60117,v=60129,b=60131;if("function"===typeof Symbol&&Symbol.for){var M=Symbol.for;r=M("react.element"),o=M("react.portal"),i=M("react.fragment"),a=M("react.strict_mode"),s=M("react.profiler"),u=M("react.provider"),l=M("react.context"),c=M("react.forward_ref"),f=M("react.suspense"),d=M("react.suspense_list"),p=M("react.memo"),h=M("react.lazy"),g=M("react.block"),y=M("react.server.block"),m=M("react.fundamental"),v=M("react.debug_trace_mode"),b=M("react.legacy_hidden")}function w(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case i:case s:case a:case f:case d:return e;default:switch(e=e&&e.$$typeof){case l:case c:case h:case p:case u:return e;default:return t}}case o:return t}}}var N=u,j=r,S=c,I=i,D=h,x=p,E=o,O=s,T=a,C=f;t.ContextConsumer=l,t.ContextProvider=N,t.Element=j,t.ForwardRef=S,t.Fragment=I,t.Lazy=D,t.Memo=x,t.Portal=E,t.Profiler=O,t.StrictMode=T,t.Suspense=C,t.isAsyncMode=function(){return!1},t.isConcurrentMode=function(){return!1},t.isContextConsumer=function(e){return w(e)===l},t.isContextProvider=function(e){return w(e)===u},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===c},t.isFragment=function(e){return w(e)===i},t.isLazy=function(e){return w(e)===h},t.isMemo=function(e){return w(e)===p},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===f},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===i||e===s||e===v||e===a||e===f||e===d||e===b||"object"===typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===p||e.$$typeof===u||e.$$typeof===l||e.$$typeof===c||e.$$typeof===m||e.$$typeof===g||e[0]===y)},t.typeOf=w},function(e,t,n){e.exports=function(e){"use strict";e=e&&e.hasOwnProperty("default")?e.default:e;var t={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},n=function(e,t){return e(t={exports:{}},t.exports),t.exports}((function(e){var n={};for(var r in t)t.hasOwnProperty(r)&&(n[t[r]]=r);var o=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var i in o)if(o.hasOwnProperty(i)){if(!("channels"in o[i]))throw new Error("missing channels property: "+i);if(!("labels"in o[i]))throw new Error("missing channel labels property: "+i);if(o[i].labels.length!==o[i].channels)throw new Error("channel and label counts mismatch: "+i);var a=o[i].channels,s=o[i].labels;delete o[i].channels,delete o[i].labels,Object.defineProperty(o[i],"channels",{value:a}),Object.defineProperty(o[i],"labels",{value:s})}o.rgb.hsl=function(e){var t,n,r=e[0]/255,o=e[1]/255,i=e[2]/255,a=Math.min(r,o,i),s=Math.max(r,o,i),u=s-a;return s===a?t=0:r===s?t=(o-i)/u:o===s?t=2+(i-r)/u:i===s&&(t=4+(r-o)/u),(t=Math.min(60*t,360))<0&&(t+=360),n=(a+s)/2,[t,100*(s===a?0:n<=.5?u/(s+a):u/(2-s-a)),100*n]},o.rgb.hsv=function(e){var t,n,r,o,i,a=e[0]/255,s=e[1]/255,u=e[2]/255,l=Math.max(a,s,u),c=l-Math.min(a,s,u),f=function(e){return(l-e)/6/c+.5};return 0===c?o=i=0:(i=c/l,t=f(a),n=f(s),r=f(u),a===l?o=r-n:s===l?o=1/3+t-r:u===l&&(o=2/3+n-t),o<0?o+=1:o>1&&(o-=1)),[360*o,100*i,100*l]},o.rgb.hwb=function(e){var t=e[0],n=e[1],r=e[2];return[o.rgb.hsl(e)[0],1/255*Math.min(t,Math.min(n,r))*100,100*(r=1-1/255*Math.max(t,Math.max(n,r)))]},o.rgb.cmyk=function(e){var t,n=e[0]/255,r=e[1]/255,o=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-r,1-o)))/(1-t)||0),100*((1-r-t)/(1-t)||0),100*((1-o-t)/(1-t)||0),100*t]},o.rgb.keyword=function(e){var r=n[e];if(r)return r;var o,i,a,s=1/0;for(var u in t)if(t.hasOwnProperty(u)){var l=t[u],c=(i=e,a=l,Math.pow(i[0]-a[0],2)+Math.pow(i[1]-a[1],2)+Math.pow(i[2]-a[2],2));c<s&&(s=c,o=u)}return o},o.keyword.rgb=function(e){return t[e]},o.rgb.xyz=function(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255;return[100*(.4124*(t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},o.rgb.lab=function(e){var t=o.rgb.xyz(e),n=t[0],r=t[1],i=t[2];return r/=100,i/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(n-r),200*(r-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))]},o.hsl.rgb=function(e){var t,n,r,o,i,a=e[0]/360,s=e[1]/100,u=e[2]/100;if(0===s)return[i=255*u,i,i];t=2*u-(n=u<.5?u*(1+s):u+s-u*s),o=[0,0,0];for(var l=0;l<3;l++)(r=a+1/3*-(l-1))<0&&r++,r>1&&r--,i=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,o[l]=255*i;return o},o.hsl.hsv=function(e){var t=e[0],n=e[1]/100,r=e[2]/100,o=n,i=Math.max(r,.01);return n*=(r*=2)<=1?r:2-r,o*=i<=1?i:2-i,[t,100*(0===r?2*o/(i+o):2*n/(r+n)),(r+n)/2*100]},o.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,o=Math.floor(t)%6,i=t-Math.floor(t),a=255*r*(1-n),s=255*r*(1-n*i),u=255*r*(1-n*(1-i));switch(r*=255,o){case 0:return[r,u,a];case 1:return[s,r,a];case 2:return[a,r,u];case 3:return[a,s,r];case 4:return[u,a,r];case 5:return[r,a,s]}},o.hsv.hsl=function(e){var t,n,r,o=e[0],i=e[1]/100,a=e[2]/100,s=Math.max(a,.01);return r=(2-i)*a,n=i*s,[o,100*(n=(n/=(t=(2-i)*s)<=1?t:2-t)||0),100*(r/=2)]},o.hwb.rgb=function(e){var t,n,r,o,i,a,s,u=e[0]/360,l=e[1]/100,c=e[2]/100,f=l+c;switch(f>1&&(l/=f,c/=f),r=6*u-(t=Math.floor(6*u)),0!==(1&t)&&(r=1-r),o=l+r*((n=1-c)-l),t){default:case 6:case 0:i=n,a=o,s=l;break;case 1:i=o,a=n,s=l;break;case 2:i=l,a=n,s=o;break;case 3:i=l,a=o,s=n;break;case 4:i=o,a=l,s=n;break;case 5:i=n,a=l,s=o}return[255*i,255*a,255*s]},o.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,o=e[3]/100;return[255*(1-Math.min(1,t*(1-o)+o)),255*(1-Math.min(1,n*(1-o)+o)),255*(1-Math.min(1,r*(1-o)+o))]},o.xyz.rgb=function(e){var t,n,r,o=e[0]/100,i=e[1]/100,a=e[2]/100;return n=-.9689*o+1.8758*i+.0415*a,r=.0557*o+-.204*i+1.057*a,t=(t=3.2406*o+-1.5372*i+-.4986*a)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]},o.xyz.lab=function(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},o.lab.xyz=function(e){var t,n,r,o=e[0];t=e[1]/500+(n=(o+16)/116),r=n-e[2]/200;var i=Math.pow(n,3),a=Math.pow(t,3),s=Math.pow(r,3);return n=i>.008856?i:(n-16/116)/7.787,t=a>.008856?a:(t-16/116)/7.787,r=s>.008856?s:(r-16/116)/7.787,[t*=95.047,n*=100,r*=108.883]},o.lab.lch=function(e){var t,n=e[0],r=e[1],o=e[2];return(t=360*Math.atan2(o,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+o*o),t]},o.lch.lab=function(e){var t,n=e[0],r=e[1];return t=e[2]/360*2*Math.PI,[n,r*Math.cos(t),r*Math.sin(t)]},o.rgb.ansi16=function(e){var t=e[0],n=e[1],r=e[2],i=1 in arguments?arguments[1]:o.rgb.hsv(e)[2];if(0===(i=Math.round(i/50)))return 30;var a=30+(Math.round(r/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===i&&(a+=60),a},o.hsv.ansi16=function(e){return o.rgb.ansi16(o.hsv.rgb(e),e[2])},o.rgb.ansi256=function(e){var t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},o.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},o.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var n;return e-=16,[Math.floor(e/36)/5*255,Math.floor((n=e%36)/6)/5*255,n%6/5*255]},o.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},o.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map((function(e){return e+e})).join(""));var r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},o.rgb.hcg=function(e){var t,n=e[0]/255,r=e[1]/255,o=e[2]/255,i=Math.max(Math.max(n,r),o),a=Math.min(Math.min(n,r),o),s=i-a;return t=s<=0?0:i===n?(r-o)/s%6:i===r?2+(o-n)/s:4+(n-r)/s+4,t/=6,[360*(t%=1),100*s,100*(s<1?a/(1-s):0)]},o.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=1,o=0;return(r=n<.5?2*t*n:2*t*(1-n))<1&&(o=(n-.5*r)/(1-r)),[e[0],100*r,100*o]},o.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=t*n,o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],100*r,100*o]},o.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];var o,i=[0,0,0],a=t%1*6,s=a%1,u=1-s;switch(Math.floor(a)){case 0:i[0]=1,i[1]=s,i[2]=0;break;case 1:i[0]=u,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=s;break;case 3:i[0]=0,i[1]=u,i[2]=1;break;case 4:i[0]=s,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=u}return o=(1-n)*r,[255*(n*i[0]+o),255*(n*i[1]+o),255*(n*i[2]+o)]},o.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},o.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},o.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},o.hwb.hcg=function(e){var t=e[1]/100,n=1-e[2]/100,r=n-t,o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],100*r,100*o]},o.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},o.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},o.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},o.gray.hsl=o.gray.hsv=function(e){return[0,0,e[0]]},o.gray.hwb=function(e){return[0,100,e[0]]},o.gray.cmyk=function(e){return[0,0,0,e[0]]},o.gray.lab=function(e){return[e[0],0,0]},o.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},o.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}}));function r(e){var t=function(){for(var e={},t=Object.keys(n),r=t.length,o=0;o<r;o++)e[t[o]]={distance:-1,parent:null};return e}(),r=[e];for(t[e].distance=0;r.length;)for(var o=r.pop(),i=Object.keys(n[o]),a=i.length,s=0;s<a;s++){var u=i[s],l=t[u];-1===l.distance&&(l.distance=t[o].distance+1,l.parent=o,r.unshift(u))}return t}function o(e,t){return function(n){return t(e(n))}}function i(e,t){for(var r=[t[e].parent,e],i=n[t[e].parent][e],a=t[e].parent;t[a].parent;)r.unshift(t[a].parent),i=o(n[t[a].parent][a],i),a=t[a].parent;return i.conversion=r,i}n.rgb,n.hsl,n.hsv,n.hwb,n.cmyk,n.xyz,n.lab,n.lch,n.hex,n.keyword,n.ansi16,n.ansi256,n.hcg,n.apple,n.gray;var a={};Object.keys(n).forEach((function(e){a[e]={},Object.defineProperty(a[e],"channels",{value:n[e].channels}),Object.defineProperty(a[e],"labels",{value:n[e].labels});var t=function(e){for(var t=r(e),n={},o=Object.keys(t),a=o.length,s=0;s<a;s++){var u=o[s];null!==t[u].parent&&(n[u]=i(u,t))}return n}(e);Object.keys(t).forEach((function(n){var r=t[n];a[e][n]=function(e){var t=function(t){if(void 0===t||null===t)return t;arguments.length>1&&(t=Array.prototype.slice.call(arguments));var n=e(t);if("object"===typeof n)for(var r=n.length,o=0;o<r;o++)n[o]=Math.round(n[o]);return n};return"conversion"in e&&(t.conversion=e.conversion),t}(r),a[e][n].raw=function(e){var t=function(t){return void 0===t||null===t?t:(arguments.length>1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)}))}));var s=a,u={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},l={getRgba:c,getHsla:f,getRgb:function(e){var t=c(e);return t&&t.slice(0,3)},getHsl:function(e){var t=f(e);return t&&t.slice(0,3)},getHwb:d,getAlpha:function(e){var t=c(e);return t||(t=f(e))||(t=d(e))?t[3]:void 0},hexString:function(e,t){return t=void 0!==t&&3===e.length?t:e[3],"#"+m(e[0])+m(e[1])+m(e[2])+(t>=0&&t<1?m(Math.round(255*t)):"")},rgbString:function(e,t){return t<1||e[3]&&e[3]<1?p(e,t):"rgb("+e[0]+", "+e[1]+", "+e[2]+")"},rgbaString:p,percentString:function(e,t){if(t<1||e[3]&&e[3]<1)return h(e,t);var n=Math.round(e[0]/255*100),r=Math.round(e[1]/255*100),o=Math.round(e[2]/255*100);return"rgb("+n+"%, "+r+"%, "+o+"%)"},percentaString:h,hslString:function(e,t){return t<1||e[3]&&e[3]<1?g(e,t):"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)"},hslaString:g,hwbString:function(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+(void 0!==t&&1!==t?", "+t:"")+")"},keyword:function(e){return v[e.slice(0,3)]}};function c(e){if(e){var t=[0,0,0],n=1,r=e.match(/^#([a-fA-F0-9]{3,4})$/i),o="";if(r){o=(r=r[1])[3];for(var i=0;i<t.length;i++)t[i]=parseInt(r[i]+r[i],16);o&&(n=Math.round(parseInt(o+o,16)/255*100)/100)}else if(r=e.match(/^#([a-fA-F0-9]{6}([a-fA-F0-9]{2})?)$/i)){for(o=r[2],r=r[1],i=0;i<t.length;i++)t[i]=parseInt(r.slice(2*i,2*i+2),16);o&&(n=Math.round(parseInt(o,16)/255*100)/100)}else if(r=e.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(i=0;i<t.length;i++)t[i]=parseInt(r[i+1]);n=parseFloat(r[4])}else if(r=e.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(i=0;i<t.length;i++)t[i]=Math.round(2.55*parseFloat(r[i+1]));n=parseFloat(r[4])}else if(r=e.match(/(\w+)/)){if("transparent"==r[1])return[0,0,0,0];if(!(t=u[r[1]]))return}for(i=0;i<t.length;i++)t[i]=y(t[i],0,255);return n=n||0==n?y(n,0,1):1,t[3]=n,t}}function f(e){if(e){var t=e.match(/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(t){var n=parseFloat(t[4]);return[y(parseInt(t[1]),0,360),y(parseFloat(t[2]),0,100),y(parseFloat(t[3]),0,100),y(isNaN(n)?1:n,0,1)]}}}function d(e){if(e){var t=e.match(/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(t){var n=parseFloat(t[4]);return[y(parseInt(t[1]),0,360),y(parseFloat(t[2]),0,100),y(parseFloat(t[3]),0,100),y(isNaN(n)?1:n,0,1)]}}}function p(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"rgba("+e[0]+", "+e[1]+", "+e[2]+", "+t+")"}function h(e,t){return"rgba("+Math.round(e[0]/255*100)+"%, "+Math.round(e[1]/255*100)+"%, "+Math.round(e[2]/255*100)+"%, "+(t||e[3]||1)+")"}function g(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+t+")"}function y(e,t,n){return Math.min(Math.max(t,e),n)}function m(e){var t=e.toString(16).toUpperCase();return t.length<2?"0"+t:t}var v={};for(var b in u)v[u[b]]=b;var M=function e(t){return t instanceof e?t:this instanceof e?(this.valid=!1,this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1},void("string"===typeof t?(n=l.getRgba(t))?this.setValues("rgb",n):(n=l.getHsla(t))?this.setValues("hsl",n):(n=l.getHwb(t))&&this.setValues("hwb",n):"object"===typeof t&&(void 0!==(n=t).r||void 0!==n.red?this.setValues("rgb",n):void 0!==n.l||void 0!==n.lightness?this.setValues("hsl",n):void 0!==n.v||void 0!==n.value?this.setValues("hsv",n):void 0!==n.w||void 0!==n.whiteness?this.setValues("hwb",n):void 0===n.c&&void 0===n.cyan||this.setValues("cmyk",n)))):new e(t);var n};(M.prototype={isValid:function(){return this.valid},rgb:function(){return this.setSpace("rgb",arguments)},hsl:function(){return this.setSpace("hsl",arguments)},hsv:function(){return this.setSpace("hsv",arguments)},hwb:function(){return this.setSpace("hwb",arguments)},cmyk:function(){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){var e=this.values;return 1!==e.alpha?e.hwb.concat([e.alpha]):e.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var e=this.values;return e.rgb.concat([e.alpha])},hslaArray:function(){var e=this.values;return e.hsl.concat([e.alpha])},alpha:function(e){return void 0===e?this.values.alpha:(this.setValues("alpha",e),this)},red:function(e){return this.setChannel("rgb",0,e)},green:function(e){return this.setChannel("rgb",1,e)},blue:function(e){return this.setChannel("rgb",2,e)},hue:function(e){return e&&(e=(e%=360)<0?360+e:e),this.setChannel("hsl",0,e)},saturation:function(e){return this.setChannel("hsl",1,e)},lightness:function(e){return this.setChannel("hsl",2,e)},saturationv:function(e){return this.setChannel("hsv",1,e)},whiteness:function(e){return this.setChannel("hwb",1,e)},blackness:function(e){return this.setChannel("hwb",2,e)},value:function(e){return this.setChannel("hsv",2,e)},cyan:function(e){return this.setChannel("cmyk",0,e)},magenta:function(e){return this.setChannel("cmyk",1,e)},yellow:function(e){return this.setChannel("cmyk",2,e)},black:function(e){return this.setChannel("cmyk",3,e)},hexString:function(){return l.hexString(this.values.rgb)},rgbString:function(){return l.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return l.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return l.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return l.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return l.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return l.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return l.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var e=this.values.rgb;return e[0]<<16|e[1]<<8|e[2]},luminosity:function(){for(var e=this.values.rgb,t=[],n=0;n<e.length;n++){var r=e[n]/255;t[n]=r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4)}return.2126*t[0]+.7152*t[1]+.0722*t[2]},contrast:function(e){var t=this.luminosity(),n=e.luminosity();return t>n?(t+.05)/(n+.05):(n+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return t>=7.1?"AAA":t>=4.5?"AA":""},dark:function(){var e=this.values.rgb;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var e=[],t=0;t<3;t++)e[t]=255-this.values.rgb[t];return this.setValues("rgb",e),this},lighten:function(e){var t=this.values.hsl;return t[2]+=t[2]*e,this.setValues("hsl",t),this},darken:function(e){var t=this.values.hsl;return t[2]-=t[2]*e,this.setValues("hsl",t),this},saturate:function(e){var t=this.values.hsl;return t[1]+=t[1]*e,this.setValues("hsl",t),this},desaturate:function(e){var t=this.values.hsl;return t[1]-=t[1]*e,this.setValues("hsl",t),this},whiten:function(e){var t=this.values.hwb;return t[1]+=t[1]*e,this.setValues("hwb",t),this},blacken:function(e){var t=this.values.hwb;return t[2]+=t[2]*e,this.setValues("hwb",t),this},greyscale:function(){var e=this.values.rgb,t=.3*e[0]+.59*e[1]+.11*e[2];return this.setValues("rgb",[t,t,t]),this},clearer:function(e){var t=this.values.alpha;return this.setValues("alpha",t-t*e),this},opaquer:function(e){var t=this.values.alpha;return this.setValues("alpha",t+t*e),this},rotate:function(e){var t=this.values.hsl,n=(t[0]+e)%360;return t[0]=n<0?360+n:n,this.setValues("hsl",t),this},mix:function(e,t){var n=e,r=void 0===t?.5:t,o=2*r-1,i=this.alpha()-n.alpha(),a=((o*i===-1?o:(o+i)/(1+o*i))+1)/2,s=1-a;return this.rgb(a*this.red()+s*n.red(),a*this.green()+s*n.green(),a*this.blue()+s*n.blue()).alpha(this.alpha()*r+n.alpha()*(1-r))},toJSON:function(){return this.rgb()},clone:function(){var e,t,n=new M,r=this.values,o=n.values;for(var i in r)r.hasOwnProperty(i)&&(e=r[i],"[object Array]"===(t={}.toString.call(e))?o[i]=e.slice(0):"[object Number]"===t?o[i]=e:console.error("unexpected color value:",e));return n}}).spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},M.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},M.prototype.getValues=function(e){for(var t=this.values,n={},r=0;r<e.length;r++)n[e.charAt(r)]=t[e][r];return 1!==t.alpha&&(n.a=t.alpha),n},M.prototype.setValues=function(e,t){var n,r,o=this.values,i=this.spaces,a=this.maxes,u=1;if(this.valid=!0,"alpha"===e)u=t;else if(t.length)o[e]=t.slice(0,e.length),u=t[e.length];else if(void 0!==t[e.charAt(0)]){for(n=0;n<e.length;n++)o[e][n]=t[e.charAt(n)];u=t.a}else if(void 0!==t[i[e][0]]){var l=i[e];for(n=0;n<e.length;n++)o[e][n]=t[l[n]];u=t.alpha}if(o.alpha=Math.max(0,Math.min(1,void 0===u?o.alpha:u)),"alpha"===e)return!1;for(n=0;n<e.length;n++)r=Math.max(0,Math.min(a[e][n],o[e][n])),o[e][n]=Math.round(r);for(var c in i)c!==e&&(o[c]=s[e][c](o[e]));return!0},M.prototype.setSpace=function(e,t){var n=t[0];return void 0===n?this.getValues(e):("number"===typeof n&&(n=Array.prototype.slice.call(t)),this.setValues(e,n),this)},M.prototype.setChannel=function(e,t,n){var r=this.values[e];return void 0===n?r[t]:(n===r[t]||(r[t]=n,this.setValues(e,r)),this)},"undefined"!==typeof window&&(window.Color=M);var w=M;function N(e){return-1===["__proto__","prototype","constructor"].indexOf(e)}var j={noop:function(){},uid:function(){var e=0;return function(){return e++}}(),isNullOrUndef:function(e){return null===e||"undefined"===typeof e},isArray:function(e){if(Array.isArray&&Array.isArray(e))return!0;var t=Object.prototype.toString.call(e);return"[object"===t.substr(0,7)&&"Array]"===t.substr(-6)},isObject:function(e){return null!==e&&"[object Object]"===Object.prototype.toString.call(e)},isFinite:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){return("number"===typeof e||e instanceof Number)&&isFinite(e)})),valueOrDefault:function(e,t){return"undefined"===typeof e?t:e},valueAtIndexOrDefault:function(e,t,n){return j.valueOrDefault(j.isArray(e)?e[t]:e,n)},callback:function(e,t,n){if(e&&"function"===typeof e.call)return e.apply(n,t)},each:function(e,t,n,r){var o,i,a;if(j.isArray(e))if(i=e.length,r)for(o=i-1;o>=0;o--)t.call(n,e[o],o);else for(o=0;o<i;o++)t.call(n,e[o],o);else if(j.isObject(e))for(i=(a=Object.keys(e)).length,o=0;o<i;o++)t.call(n,e[a[o]],a[o])},arrayEquals:function(e,t){var n,r,o,i;if(!e||!t||e.length!==t.length)return!1;for(n=0,r=e.length;n<r;++n)if(o=e[n],i=t[n],o instanceof Array&&i instanceof Array){if(!j.arrayEquals(o,i))return!1}else if(o!==i)return!1;return!0},clone:function(e){if(j.isArray(e))return e.map(j.clone);if(j.isObject(e)){for(var t=Object.create(e),n=Object.keys(e),r=n.length,o=0;o<r;++o)t[n[o]]=j.clone(e[n[o]]);return t}return e},_merger:function(e,t,n,r){if(N(e)){var o=t[e],i=n[e];j.isObject(o)&&j.isObject(i)?j.merge(o,i,r):t[e]=j.clone(i)}},_mergerIf:function(e,t,n){if(N(e)){var r=t[e],o=n[e];j.isObject(r)&&j.isObject(o)?j.mergeIf(r,o):t.hasOwnProperty(e)||(t[e]=j.clone(o))}},merge:function(e,t,n){var r,o,i,a,s,u=j.isArray(t)?t:[t],l=u.length;if(!j.isObject(e))return e;for(r=(n=n||{}).merger||j._merger,o=0;o<l;++o)if(t=u[o],j.isObject(t))for(s=0,a=(i=Object.keys(t)).length;s<a;++s)r(i[s],e,t,n);return e},mergeIf:function(e,t){return j.merge(e,t,{merger:j._mergerIf})},extend:Object.assign||function(e){return j.merge(e,[].slice.call(arguments,1),{merger:function(e,t,n){t[e]=n[e]}})},inherits:function(e){var t=this,n=e&&e.hasOwnProperty("constructor")?e.constructor:function(){return t.apply(this,arguments)},r=function(){this.constructor=n};return r.prototype=t.prototype,n.prototype=new r,n.extend=j.inherits,e&&j.extend(n.prototype,e),n.__super__=t.prototype,n},_deprecated:function(e,t,n,r){void 0!==t&&console.warn(e+': "'+n+'" is deprecated. Please use "'+r+'" instead')}},S=j;j.callCallback=j.callback,j.indexOf=function(e,t,n){return Array.prototype.indexOf.call(e,t,n)},j.getValueOrDefault=j.valueOrDefault,j.getValueAtIndexOrDefault=j.valueAtIndexOrDefault;var I={linear:function(e){return e},easeInQuad:function(e){return e*e},easeOutQuad:function(e){return-e*(e-2)},easeInOutQuad:function(e){return(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1)},easeInCubic:function(e){return e*e*e},easeOutCubic:function(e){return(e-=1)*e*e+1},easeInOutCubic:function(e){return(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2)},easeInQuart:function(e){return e*e*e*e},easeOutQuart:function(e){return-((e-=1)*e*e*e-1)},easeInOutQuart:function(e){return(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)},easeInQuint:function(e){return e*e*e*e*e},easeOutQuint:function(e){return(e-=1)*e*e*e*e+1},easeInOutQuint:function(e){return(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)},easeInSine:function(e){return 1-Math.cos(e*(Math.PI/2))},easeOutSine:function(e){return Math.sin(e*(Math.PI/2))},easeInOutSine:function(e){return-.5*(Math.cos(Math.PI*e)-1)},easeInExpo:function(e){return 0===e?0:Math.pow(2,10*(e-1))},easeOutExpo:function(e){return 1===e?1:1-Math.pow(2,-10*e)},easeInOutExpo:function(e){return 0===e?0:1===e?1:(e/=.5)<1?.5*Math.pow(2,10*(e-1)):.5*(2-Math.pow(2,-10*--e))},easeInCirc:function(e){return e>=1?e:-(Math.sqrt(1-e*e)-1)},easeOutCirc:function(e){return Math.sqrt(1-(e-=1)*e)},easeInOutCirc:function(e){return(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},easeInElastic:function(e){var t=1.70158,n=0,r=1;return 0===e?0:1===e?1:(n||(n=.3),r<1?(r=1,t=n/4):t=n/(2*Math.PI)*Math.asin(1/r),-r*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n))},easeOutElastic:function(e){var t=1.70158,n=0,r=1;return 0===e?0:1===e?1:(n||(n=.3),r<1?(r=1,t=n/4):t=n/(2*Math.PI)*Math.asin(1/r),r*Math.pow(2,-10*e)*Math.sin((e-t)*(2*Math.PI)/n)+1)},easeInOutElastic:function(e){var t=1.70158,n=0,r=1;return 0===e?0:2===(e/=.5)?1:(n||(n=.45),r<1?(r=1,t=n/4):t=n/(2*Math.PI)*Math.asin(1/r),e<1?r*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)*-.5:r*Math.pow(2,-10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)*.5+1)},easeInBack:function(e){var t=1.70158;return e*e*((t+1)*e-t)},easeOutBack:function(e){var t=1.70158;return(e-=1)*e*((t+1)*e+t)+1},easeInOutBack:function(e){var t=1.70158;return(e/=.5)<1?e*e*((1+(t*=1.525))*e-t)*.5:.5*((e-=2)*e*((1+(t*=1.525))*e+t)+2)},easeInBounce:function(e){return 1-I.easeOutBounce(1-e)},easeOutBounce:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},easeInOutBounce:function(e){return e<.5?.5*I.easeInBounce(2*e):.5*I.easeOutBounce(2*e-1)+.5}},D={effects:I};S.easingEffects=I;var x=Math.PI,E=x/180,O=2*x,T=x/2,C=x/4,k=2*x/3,L={clear:function(e){e.ctx.clearRect(0,0,e.width,e.height)},roundedRect:function(e,t,n,r,o,i){if(i){var a=Math.min(i,o/2,r/2),s=t+a,u=n+a,l=t+r-a,c=n+o-a;e.moveTo(t,u),s<l&&u<c?(e.arc(s,u,a,-x,-T),e.arc(l,u,a,-T,0),e.arc(l,c,a,0,T),e.arc(s,c,a,T,x)):s<l?(e.moveTo(s,n),e.arc(l,u,a,-T,T),e.arc(s,u,a,T,x+T)):u<c?(e.arc(s,u,a,-x,0),e.arc(s,c,a,0,x)):e.arc(s,u,a,-x,x),e.closePath(),e.moveTo(t,n)}else e.rect(t,n,r,o)},drawPoint:function(e,t,n,r,o,i){var a,s,u,l,c,f=(i||0)*E;if(t&&"object"===typeof t&&("[object HTMLImageElement]"===(a=t.toString())||"[object HTMLCanvasElement]"===a))return e.save(),e.translate(r,o),e.rotate(f),e.drawImage(t,-t.width/2,-t.height/2,t.width,t.height),void e.restore();if(!(isNaN(n)||n<=0)){switch(e.beginPath(),t){default:e.arc(r,o,n,0,O),e.closePath();break;case"triangle":e.moveTo(r+Math.sin(f)*n,o-Math.cos(f)*n),f+=k,e.lineTo(r+Math.sin(f)*n,o-Math.cos(f)*n),f+=k,e.lineTo(r+Math.sin(f)*n,o-Math.cos(f)*n),e.closePath();break;case"rectRounded":l=n-(c=.516*n),s=Math.cos(f+C)*l,u=Math.sin(f+C)*l,e.arc(r-s,o-u,c,f-x,f-T),e.arc(r+u,o-s,c,f-T,f),e.arc(r+s,o+u,c,f,f+T),e.arc(r-u,o+s,c,f+T,f+x),e.closePath();break;case"rect":if(!i){l=Math.SQRT1_2*n,e.rect(r-l,o-l,2*l,2*l);break}f+=C;case"rectRot":s=Math.cos(f)*n,u=Math.sin(f)*n,e.moveTo(r-s,o-u),e.lineTo(r+u,o-s),e.lineTo(r+s,o+u),e.lineTo(r-u,o+s),e.closePath();break;case"crossRot":f+=C;case"cross":s=Math.cos(f)*n,u=Math.sin(f)*n,e.moveTo(r-s,o-u),e.lineTo(r+s,o+u),e.moveTo(r+u,o-s),e.lineTo(r-u,o+s);break;case"star":s=Math.cos(f)*n,u=Math.sin(f)*n,e.moveTo(r-s,o-u),e.lineTo(r+s,o+u),e.moveTo(r+u,o-s),e.lineTo(r-u,o+s),f+=C,s=Math.cos(f)*n,u=Math.sin(f)*n,e.moveTo(r-s,o-u),e.lineTo(r+s,o+u),e.moveTo(r+u,o-s),e.lineTo(r-u,o+s);break;case"line":s=Math.cos(f)*n,u=Math.sin(f)*n,e.moveTo(r-s,o-u),e.lineTo(r+s,o+u);break;case"dash":e.moveTo(r,o),e.lineTo(r+Math.cos(f)*n,o+Math.sin(f)*n)}e.fill(),e.stroke()}},_isPointInArea:function(e,t){return e.x>t.left-1e-6&&e.x<t.right+1e-6&&e.y>t.top-1e-6&&e.y<t.bottom+1e-6},clipArea:function(e,t){e.save(),e.beginPath(),e.rect(t.left,t.top,t.right-t.left,t.bottom-t.top),e.clip()},unclipArea:function(e){e.restore()},lineTo:function(e,t,n,r){var o=n.steppedLine;if(o){if("middle"===o){var i=(t.x+n.x)/2;e.lineTo(i,r?n.y:t.y),e.lineTo(i,r?t.y:n.y)}else"after"===o&&!r||"after"!==o&&r?e.lineTo(t.x,n.y):e.lineTo(n.x,t.y);e.lineTo(n.x,n.y)}else n.tension?e.bezierCurveTo(r?t.controlPointPreviousX:t.controlPointNextX,r?t.controlPointPreviousY:t.controlPointNextY,r?n.controlPointNextX:n.controlPointPreviousX,r?n.controlPointNextY:n.controlPointPreviousY,n.x,n.y):e.lineTo(n.x,n.y)}},_=L;S.clear=L.clear,S.drawRoundedRectangle=function(e){e.beginPath(),L.roundedRect.apply(L,arguments)};var A={_set:function(e,t){return S.merge(this[e]||(this[e]={}),t)}};A._set("global",{defaultColor:"rgba(0,0,0,0.1)",defaultFontColor:"#666",defaultFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",defaultFontSize:12,defaultFontStyle:"normal",defaultLineHeight:1.2,showLines:!0});var z=A,P=S.valueOrDefault,R={toLineHeight:function(e,t){var n=(""+e).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!n||"normal"===n[1])return 1.2*t;switch(e=+n[2],n[3]){case"px":return e;case"%":e/=100}return t*e},toPadding:function(e){var t,n,r,o;return S.isObject(e)?(t=+e.top||0,n=+e.right||0,r=+e.bottom||0,o=+e.left||0):t=n=r=o=+e||0,{top:t,right:n,bottom:r,left:o,height:t+r,width:o+n}},_parseFont:function(e){var t=z.global,n=P(e.fontSize,t.defaultFontSize),r={family:P(e.fontFamily,t.defaultFontFamily),lineHeight:S.options.toLineHeight(P(e.lineHeight,t.defaultLineHeight),n),size:n,style:P(e.fontStyle,t.defaultFontStyle),weight:null,string:""};return r.string=function(e){return!e||S.isNullOrUndef(e.size)||S.isNullOrUndef(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family}(r),r},resolve:function(e,t,n,r){var o,i,a,s=!0;for(o=0,i=e.length;o<i;++o)if(void 0!==(a=e[o])&&(void 0!==t&&"function"===typeof a&&(a=a(t),s=!1),void 0!==n&&S.isArray(a)&&(a=a[n],s=!1),void 0!==a))return r&&!s&&(r.cacheable=!1),a}},U={_factorize:function(e){var t,n=[],r=Math.sqrt(e);for(t=1;t<r;t++)e%t===0&&(n.push(t),n.push(e/t));return r===(0|r)&&n.push(r),n.sort((function(e,t){return e-t})).pop(),n},log10:Math.log10||function(e){var t=Math.log(e)*Math.LOG10E,n=Math.round(t);return e===Math.pow(10,n)?n:t}},B=U;S.log10=U.log10;var F=S,Y=D,G=_,H=R,V=B,Q={getRtlAdapter:function(e,t,n){return e?function(e,t){return{x:function(n){return e+e+t-n},setWidth:function(e){t=e},textAlign:function(e){return"center"===e?e:"right"===e?"left":"right"},xPlus:function(e,t){return e-t},leftForLtr:function(e,t){return e-t}}}(t,n):{x:function(e){return e},setWidth:function(e){},textAlign:function(e){return e},xPlus:function(e,t){return e+t},leftForLtr:function(e,t){return e}}},overrideTextDirection:function(e,t){var n,r;"ltr"!==t&&"rtl"!==t||(r=[(n=e.canvas.style).getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",t,"important"),e.prevTextDirection=r)},restoreTextDirection:function(e){var t=e.prevTextDirection;void 0!==t&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",t[0],t[1]))}};F.easing=Y,F.canvas=G,F.options=H,F.math=V,F.rtl=Q;var W=function(e){F.extend(this,e),this.initialize.apply(this,arguments)};F.extend(W.prototype,{_type:void 0,initialize:function(){this.hidden=!1},pivot:function(){var e=this;return e._view||(e._view=F.extend({},e._model)),e._start={},e},transition:function(e){var t=this,n=t._model,r=t._start,o=t._view;return n&&1!==e?(o||(o=t._view={}),r||(r=t._start={}),function(e,t,n,r){var o,i,a,s,u,l,c,f,d,p=Object.keys(n);for(o=0,i=p.length;o<i;++o)if(l=n[a=p[o]],t.hasOwnProperty(a)||(t[a]=l),(s=t[a])!==l&&"_"!==a[0]){if(e.hasOwnProperty(a)||(e[a]=s),(c=typeof l)===typeof(u=e[a]))if("string"===c){if((f=w(u)).valid&&(d=w(l)).valid){t[a]=d.mix(f,r).rgbString();continue}}else if(F.isFinite(u)&&F.isFinite(l)){t[a]=u+(l-u)*r;continue}t[a]=l}}(r,o,n,e),t):(t._view=F.extend({},n),t._start=null,t)},tooltipPosition:function(){return{x:this._model.x,y:this._model.y}},hasValue:function(){return F.isNumber(this._model.x)&&F.isNumber(this._model.y)}}),W.extend=F.inherits;var Z=W,q=Z.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),X=q;Object.defineProperty(q.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(q.prototype,"chartInstance",{get:function(){return this.chart},set:function(e){this.chart=e}}),z._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:F.noop,onComplete:F.noop}});var $={animations:[],request:null,addAnimation:function(e,t,n,r){var o,i,a=this.animations;for(t.chart=e,t.startTime=Date.now(),t.duration=n,r||(e.animating=!0),o=0,i=a.length;o<i;++o)if(a[o].chart===e)return void(a[o]=t);a.push(t),1===a.length&&this.requestAnimationFrame()},cancelAnimation:function(e){var t=F.findIndex(this.animations,(function(t){return t.chart===e}));-1!==t&&(this.animations.splice(t,1),e.animating=!1)},requestAnimationFrame:function(){var e=this;null===e.request&&(e.request=F.requestAnimFrame.call(window,(function(){e.request=null,e.startDigest()})))},startDigest:function(){this.advance(),this.animations.length>0&&this.requestAnimationFrame()},advance:function(){for(var e,t,n,r,o=this.animations,i=0;i<o.length;)t=(e=o[i]).chart,n=e.numSteps,r=Math.floor((Date.now()-e.startTime)/e.duration*n)+1,e.currentStep=Math.min(r,n),F.callback(e.render,[t,e],t),F.callback(e.onAnimationProgress,[e],t),e.currentStep>=n?(F.callback(e.onAnimationComplete,[e],t),t.animating=!1,o.splice(i,1)):++i}},J=F.options.resolve,K=["push","pop","shift","splice","unshift"];function ee(e,t){var n=e._chartjs;if(n){var r=n.listeners,o=r.indexOf(t);-1!==o&&r.splice(o,1),r.length>0||(K.forEach((function(t){delete e[t]})),delete e._chartjs)}}var te=function(e,t){this.initialize(e,t)};F.extend(te.prototype,{datasetElementType:null,dataElementType:null,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth"],_dataElementOptions:["backgroundColor","borderColor","borderWidth","pointStyle"],initialize:function(e,t){var n=this;n.chart=e,n.index=t,n.linkScales(),n.addElements(),n._type=n.getMeta().type},updateIndex:function(e){this.index=e},linkScales:function(){var e=this.getMeta(),t=this.chart,n=t.scales,r=this.getDataset(),o=t.options.scales;null!==e.xAxisID&&e.xAxisID in n&&!r.xAxisID||(e.xAxisID=r.xAxisID||o.xAxes[0].id),null!==e.yAxisID&&e.yAxisID in n&&!r.yAxisID||(e.yAxisID=r.yAxisID||o.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(e){return this.chart.scales[e]},_getValueScaleId:function(){return this.getMeta().yAxisID},_getIndexScaleId:function(){return this.getMeta().xAxisID},_getValueScale:function(){return this.getScaleForId(this._getValueScaleId())},_getIndexScale:function(){return this.getScaleForId(this._getIndexScaleId())},reset:function(){this._update(!0)},destroy:function(){this._data&&ee(this._data,this)},createMetaDataset:function(){var e=this.datasetElementType;return e&&new e({_chart:this.chart,_datasetIndex:this.index})},createMetaData:function(e){var t=this.dataElementType;return t&&new t({_chart:this.chart,_datasetIndex:this.index,_index:e})},addElements:function(){var e,t,n=this.getMeta(),r=this.getDataset().data||[],o=n.data;for(e=0,t=r.length;e<t;++e)o[e]=o[e]||this.createMetaData(e);n.dataset=n.dataset||this.createMetaDataset()},addElementAndReset:function(e){var t=this.createMetaData(e);this.getMeta().data.splice(e,0,t),this.updateElement(t,e,!0)},buildOrUpdateElements:function(){var e,t,n=this,r=n.getDataset(),o=r.data||(r.data=[]);n._data!==o&&(n._data&&ee(n._data,n),o&&Object.isExtensible(o)&&(t=n,(e=o)._chartjs?e._chartjs.listeners.push(t):(Object.defineProperty(e,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[t]}}),K.forEach((function(t){var n="onData"+t.charAt(0).toUpperCase()+t.slice(1),r=e[t];Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:function(){var t=Array.prototype.slice.call(arguments),o=r.apply(this,t);return F.each(e._chartjs.listeners,(function(e){"function"===typeof e[n]&&e[n].apply(e,t)})),o}})})))),n._data=o),n.resyncElements()},_configure:function(){this._config=F.merge(Object.create(null),[this.chart.options.datasets[this._type],this.getDataset()],{merger:function(e,t,n){"_meta"!==e&&"data"!==e&&F._merger(e,t,n)}})},_update:function(e){this._configure(),this._cachedDataOpts=null,this.update(e)},update:F.noop,transition:function(e){for(var t=this.getMeta(),n=t.data||[],r=n.length,o=0;o<r;++o)n[o].transition(e);t.dataset&&t.dataset.transition(e)},draw:function(){var e=this.getMeta(),t=e.data||[],n=t.length,r=0;for(e.dataset&&e.dataset.draw();r<n;++r)t[r].draw()},getStyle:function(e){var t,n=this.getMeta(),r=n.dataset;return this._configure(),r&&void 0===e?t=this._resolveDatasetElementOptions(r||{}):(e=e||0,t=this._resolveDataElementOptions(n.data[e]||{},e)),!1!==t.fill&&null!==t.fill||(t.backgroundColor=t.borderColor),t},_resolveDatasetElementOptions:function(e,t){var n,r,o,i,a=this,s=a.chart,u=a._config,l=e.custom||{},c=s.options.elements[a.datasetElementType.prototype._type]||{},f=a._datasetElementOptions,d={},p={chart:s,dataset:a.getDataset(),datasetIndex:a.index,hover:t};for(n=0,r=f.length;n<r;++n)o=f[n],i=t?"hover"+o.charAt(0).toUpperCase()+o.slice(1):o,d[o]=J([l[i],u[i],c[i]],p);return d},_resolveDataElementOptions:function(e,t){var n=this,r=e&&e.custom,o=n._cachedDataOpts;if(o&&!r)return o;var i,a,s,u,l=n.chart,c=n._config,f=l.options.elements[n.dataElementType.prototype._type]||{},d=n._dataElementOptions,p={},h={chart:l,dataIndex:t,dataset:n.getDataset(),datasetIndex:n.index},g={cacheable:!r};if(r=r||{},F.isArray(d))for(a=0,s=d.length;a<s;++a)p[u=d[a]]=J([r[u],c[u],f[u]],h,t,g);else for(a=0,s=(i=Object.keys(d)).length;a<s;++a)p[u=i[a]]=J([r[u],c[d[u]],c[u],f[u]],h,t,g);return g.cacheable&&(n._cachedDataOpts=Object.freeze(p)),p},removeHoverStyle:function(e){F.merge(e._model,e.$previousStyle||{}),delete e.$previousStyle},setHoverStyle:function(e){var t=this.chart.data.datasets[e._datasetIndex],n=e._index,r=e.custom||{},o=e._model,i=F.getHoverColor;e.$previousStyle={backgroundColor:o.backgroundColor,borderColor:o.borderColor,borderWidth:o.borderWidth},o.backgroundColor=J([r.hoverBackgroundColor,t.hoverBackgroundColor,i(o.backgroundColor)],void 0,n),o.borderColor=J([r.hoverBorderColor,t.hoverBorderColor,i(o.borderColor)],void 0,n),o.borderWidth=J([r.hoverBorderWidth,t.hoverBorderWidth,o.borderWidth],void 0,n)},_removeDatasetHoverStyle:function(){var e=this.getMeta().dataset;e&&this.removeHoverStyle(e)},_setDatasetHoverStyle:function(){var e,t,n,r,o,i,a=this.getMeta().dataset,s={};if(a){for(i=a._model,o=this._resolveDatasetElementOptions(a,!0),e=0,t=(r=Object.keys(o)).length;e<t;++e)s[n=r[e]]=i[n],i[n]=o[n];a.$previousStyle=s}},resyncElements:function(){var e=this.getMeta(),t=this.getDataset().data,n=e.data.length,r=t.length;r<n?e.data.splice(r,n-r):r>n&&this.insertElements(n,r-n)},insertElements:function(e,t){for(var n=0;n<t;++n)this.addElementAndReset(e+n)},onDataPush:function(){var e=arguments.length;this.insertElements(this.getDataset().data.length-e,e)},onDataPop:function(){this.getMeta().data.pop()},onDataShift:function(){this.getMeta().data.shift()},onDataSplice:function(e,t){this.getMeta().data.splice(e,t),this.insertElements(e,arguments.length-2)},onDataUnshift:function(){this.insertElements(0,arguments.length)}}),te.extend=F.inherits;var ne=te,re=2*Math.PI;function oe(e,t){var n=t.startAngle,r=t.endAngle,o=t.pixelMargin,i=o/t.outerRadius,a=t.x,s=t.y;e.beginPath(),e.arc(a,s,t.outerRadius,n-i,r+i),t.innerRadius>o?(i=o/t.innerRadius,e.arc(a,s,t.innerRadius-o,r+i,n-i,!0)):e.arc(a,s,o,r+Math.PI/2,n-Math.PI/2),e.closePath(),e.clip()}function ie(e,t,n){var r="inner"===t.borderAlign;r?(e.lineWidth=2*t.borderWidth,e.lineJoin="round"):(e.lineWidth=t.borderWidth,e.lineJoin="bevel"),n.fullCircles&&function(e,t,n,r){var o,i=n.endAngle;for(r&&(n.endAngle=n.startAngle+re,oe(e,n),n.endAngle=i,n.endAngle===n.startAngle&&n.fullCircles&&(n.endAngle+=re,n.fullCircles--)),e.beginPath(),e.arc(n.x,n.y,n.innerRadius,n.startAngle+re,n.startAngle,!0),o=0;o<n.fullCircles;++o)e.stroke();for(e.beginPath(),e.arc(n.x,n.y,t.outerRadius,n.startAngle,n.startAngle+re),o=0;o<n.fullCircles;++o)e.stroke()}(e,t,n,r),r&&oe(e,n),e.beginPath(),e.arc(n.x,n.y,t.outerRadius,n.startAngle,n.endAngle),e.arc(n.x,n.y,n.innerRadius,n.endAngle,n.startAngle,!0),e.closePath(),e.stroke()}z._set("global",{elements:{arc:{backgroundColor:z.global.defaultColor,borderColor:"#fff",borderWidth:2,borderAlign:"center"}}});var ae=Z.extend({_type:"arc",inLabelRange:function(e){var t=this._view;return!!t&&Math.pow(e-t.x,2)<Math.pow(t.radius+t.hoverRadius,2)},inRange:function(e,t){var n=this._view;if(n){for(var r=F.getAngleFromPoint(n,{x:e,y:t}),o=r.angle,i=r.distance,a=n.startAngle,s=n.endAngle;s<a;)s+=re;for(;o>s;)o-=re;for(;o<a;)o+=re;var u=o>=a&&o<=s,l=i>=n.innerRadius&&i<=n.outerRadius;return u&&l}return!1},getCenterPoint:function(){var e=this._view,t=(e.startAngle+e.endAngle)/2,n=(e.innerRadius+e.outerRadius)/2;return{x:e.x+Math.cos(t)*n,y:e.y+Math.sin(t)*n}},getArea:function(){var e=this._view;return Math.PI*((e.endAngle-e.startAngle)/(2*Math.PI))*(Math.pow(e.outerRadius,2)-Math.pow(e.innerRadius,2))},tooltipPosition:function(){var e=this._view,t=e.startAngle+(e.endAngle-e.startAngle)/2,n=(e.outerRadius-e.innerRadius)/2+e.innerRadius;return{x:e.x+Math.cos(t)*n,y:e.y+Math.sin(t)*n}},draw:function(){var e,t=this._chart.ctx,n=this._view,r="inner"===n.borderAlign?.33:0,o={x:n.x,y:n.y,innerRadius:n.innerRadius,outerRadius:Math.max(n.outerRadius-r,0),pixelMargin:r,startAngle:n.startAngle,endAngle:n.endAngle,fullCircles:Math.floor(n.circumference/re)};if(t.save(),t.fillStyle=n.backgroundColor,t.strokeStyle=n.borderColor,o.fullCircles){for(o.endAngle=o.startAngle+re,t.beginPath(),t.arc(o.x,o.y,o.outerRadius,o.startAngle,o.endAngle),t.arc(o.x,o.y,o.innerRadius,o.endAngle,o.startAngle,!0),t.closePath(),e=0;e<o.fullCircles;++e)t.fill();o.endAngle=o.startAngle+n.circumference%re}t.beginPath(),t.arc(o.x,o.y,o.outerRadius,o.startAngle,o.endAngle),t.arc(o.x,o.y,o.innerRadius,o.endAngle,o.startAngle,!0),t.closePath(),t.fill(),n.borderWidth&&ie(t,n,o),t.restore()}}),se=F.valueOrDefault,ue=z.global.defaultColor;z._set("global",{elements:{line:{tension:.4,backgroundColor:ue,borderWidth:3,borderColor:ue,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}});var le=Z.extend({_type:"line",draw:function(){var e,t,n,r=this,o=r._view,i=r._chart.ctx,a=o.spanGaps,s=r._children.slice(),u=z.global,l=u.elements.line,c=-1,f=r._loop;if(s.length){if(r._loop){for(e=0;e<s.length;++e)if(t=F.previousItem(s,e),!s[e]._view.skip&&t._view.skip){s=s.slice(e).concat(s.slice(0,e)),f=a;break}f&&s.push(s[0])}for(i.save(),i.lineCap=o.borderCapStyle||l.borderCapStyle,i.setLineDash&&i.setLineDash(o.borderDash||l.borderDash),i.lineDashOffset=se(o.borderDashOffset,l.borderDashOffset),i.lineJoin=o.borderJoinStyle||l.borderJoinStyle,i.lineWidth=se(o.borderWidth,l.borderWidth),i.strokeStyle=o.borderColor||u.defaultColor,i.beginPath(),(n=s[0]._view).skip||(i.moveTo(n.x,n.y),c=0),e=1;e<s.length;++e)n=s[e]._view,t=-1===c?F.previousItem(s,e):s[c],n.skip||(c!==e-1&&!a||-1===c?i.moveTo(n.x,n.y):F.canvas.lineTo(i,t._view,n),c=e);f&&i.closePath(),i.stroke(),i.restore()}}}),ce=F.valueOrDefault,fe=z.global.defaultColor;function de(e){var t=this._view;return!!t&&Math.abs(e-t.x)<t.radius+t.hitRadius}z._set("global",{elements:{point:{radius:3,pointStyle:"circle",backgroundColor:fe,borderColor:fe,borderWidth:1,hitRadius:1,hoverRadius:4,hoverBorderWidth:1}}});var pe=Z.extend({_type:"point",inRange:function(e,t){var n=this._view;return!!n&&Math.pow(e-n.x,2)+Math.pow(t-n.y,2)<Math.pow(n.hitRadius+n.radius,2)},inLabelRange:de,inXRange:de,inYRange:function(e){var t=this._view;return!!t&&Math.abs(e-t.y)<t.radius+t.hitRadius},getCenterPoint:function(){var e=this._view;return{x:e.x,y:e.y}},getArea:function(){return Math.PI*Math.pow(this._view.radius,2)},tooltipPosition:function(){var e=this._view;return{x:e.x,y:e.y,padding:e.radius+e.borderWidth}},draw:function(e){var t=this._view,n=this._chart.ctx,r=t.pointStyle,o=t.rotation,i=t.radius,a=t.x,s=t.y,u=z.global,l=u.defaultColor;t.skip||(void 0===e||F.canvas._isPointInArea(t,e))&&(n.strokeStyle=t.borderColor||l,n.lineWidth=ce(t.borderWidth,u.elements.point.borderWidth),n.fillStyle=t.backgroundColor||l,F.canvas.drawPoint(n,r,i,a,s,o))}}),he=z.global.defaultColor;function ge(e){return e&&void 0!==e.width}function ye(e){var t,n,r,o,i;return ge(e)?(i=e.width/2,t=e.x-i,n=e.x+i,r=Math.min(e.y,e.base),o=Math.max(e.y,e.base)):(i=e.height/2,t=Math.min(e.x,e.base),n=Math.max(e.x,e.base),r=e.y-i,o=e.y+i),{left:t,top:r,right:n,bottom:o}}function me(e,t,n){return e===t?n:e===n?t:e}function ve(e,t,n){var r,o,i,a,s=e.borderWidth,u=function(e){var t=e.borderSkipped,n={};return t?(e.horizontal?e.base>e.x&&(t=me(t,"left","right")):e.base<e.y&&(t=me(t,"bottom","top")),n[t]=!0,n):n}(e);return F.isObject(s)?(r=+s.top||0,o=+s.right||0,i=+s.bottom||0,a=+s.left||0):r=o=i=a=+s||0,{t:u.top||r<0?0:r>n?n:r,r:u.right||o<0?0:o>t?t:o,b:u.bottom||i<0?0:i>n?n:i,l:u.left||a<0?0:a>t?t:a}}function be(e,t,n){var r=null===t,o=null===n,i=!(!e||r&&o)&&ye(e);return i&&(r||t>=i.left&&t<=i.right)&&(o||n>=i.top&&n<=i.bottom)}z._set("global",{elements:{rectangle:{backgroundColor:he,borderColor:he,borderSkipped:"bottom",borderWidth:0}}});var Me=Z.extend({_type:"rectangle",draw:function(){var e=this._chart.ctx,t=this._view,n=function(e){var t=ye(e),n=t.right-t.left,r=t.bottom-t.top,o=ve(e,n/2,r/2);return{outer:{x:t.left,y:t.top,w:n,h:r},inner:{x:t.left+o.l,y:t.top+o.t,w:n-o.l-o.r,h:r-o.t-o.b}}}(t),r=n.outer,o=n.inner;e.fillStyle=t.backgroundColor,e.fillRect(r.x,r.y,r.w,r.h),r.w===o.w&&r.h===o.h||(e.save(),e.beginPath(),e.rect(r.x,r.y,r.w,r.h),e.clip(),e.fillStyle=t.borderColor,e.rect(o.x,o.y,o.w,o.h),e.fill("evenodd"),e.restore())},height:function(){var e=this._view;return e.base-e.y},inRange:function(e,t){return be(this._view,e,t)},inLabelRange:function(e,t){var n=this._view;return ge(n)?be(n,e,null):be(n,null,t)},inXRange:function(e){return be(this._view,e,null)},inYRange:function(e){return be(this._view,null,e)},getCenterPoint:function(){var e,t,n=this._view;return ge(n)?(e=n.x,t=(n.y+n.base)/2):(e=(n.x+n.base)/2,t=n.y),{x:e,y:t}},getArea:function(){var e=this._view;return ge(e)?e.width*Math.abs(e.y-e.base):e.height*Math.abs(e.x-e.base)},tooltipPosition:function(){var e=this._view;return{x:e.x,y:e.y}}}),we={},Ne=ae,je=le,Se=pe,Ie=Me;we.Arc=Ne,we.Line=je,we.Point=Se,we.Rectangle=Ie;var De=F._deprecated,xe=F.valueOrDefault;function Ee(e,t,n){var r,o,i=n.barThickness,a=t.stackCount,s=t.pixels[e],u=F.isNullOrUndef(i)?function(e,t){var n,r,o,i,a=e._length;for(o=1,i=t.length;o<i;++o)a=Math.min(a,Math.abs(t[o]-t[o-1]));for(o=0,i=e.getTicks().length;o<i;++o)r=e.getPixelForTick(o),a=o>0?Math.min(a,Math.abs(r-n)):a,n=r;return a}(t.scale,t.pixels):-1;return F.isNullOrUndef(i)?(r=u*n.categoryPercentage,o=n.barPercentage):(r=i*a,o=1),{chunk:r/a,ratio:o,start:s-r/2}}z._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),z._set("global",{datasets:{bar:{categoryPercentage:.8,barPercentage:.9}}});var Oe=ne.extend({dataElementType:we.Rectangle,_dataElementOptions:["backgroundColor","borderColor","borderSkipped","borderWidth","barPercentage","barThickness","categoryPercentage","maxBarThickness","minBarLength"],initialize:function(){var e,t,n=this;ne.prototype.initialize.apply(n,arguments),(e=n.getMeta()).stack=n.getDataset().stack,e.bar=!0,t=n._getIndexScale().options,De("bar chart",t.barPercentage,"scales.[x/y]Axes.barPercentage","dataset.barPercentage"),De("bar chart",t.barThickness,"scales.[x/y]Axes.barThickness","dataset.barThickness"),De("bar chart",t.categoryPercentage,"scales.[x/y]Axes.categoryPercentage","dataset.categoryPercentage"),De("bar chart",n._getValueScale().options.minBarLength,"scales.[x/y]Axes.minBarLength","dataset.minBarLength"),De("bar chart",t.maxBarThickness,"scales.[x/y]Axes.maxBarThickness","dataset.maxBarThickness")},update:function(e){var t,n,r=this.getMeta().data;for(this._ruler=this.getRuler(),t=0,n=r.length;t<n;++t)this.updateElement(r[t],t,e)},updateElement:function(e,t,n){var r=this,o=r.getMeta(),i=r.getDataset(),a=r._resolveDataElementOptions(e,t);e._xScale=r.getScaleForId(o.xAxisID),e._yScale=r.getScaleForId(o.yAxisID),e._datasetIndex=r.index,e._index=t,e._model={backgroundColor:a.backgroundColor,borderColor:a.borderColor,borderSkipped:a.borderSkipped,borderWidth:a.borderWidth,datasetLabel:i.label,label:r.chart.data.labels[t]},F.isArray(i.data[t])&&(e._model.borderSkipped=null),r._updateElementGeometry(e,t,n,a),e.pivot()},_updateElementGeometry:function(e,t,n,r){var o=this,i=e._model,a=o._getValueScale(),s=a.getBasePixel(),u=a.isHorizontal(),l=o._ruler||o.getRuler(),c=o.calculateBarValuePixels(o.index,t,r),f=o.calculateBarIndexPixels(o.index,t,l,r);i.horizontal=u,i.base=n?s:c.base,i.x=u?n?s:c.head:f.center,i.y=u?f.center:n?s:c.head,i.height=u?f.size:void 0,i.width=u?void 0:f.size},_getStacks:function(e){var t,n,r=this._getIndexScale(),o=r._getMatchingVisibleMetas(this._type),i=r.options.stacked,a=o.length,s=[];for(t=0;t<a&&(n=o[t],(!1===i||-1===s.indexOf(n.stack)||void 0===i&&void 0===n.stack)&&s.push(n.stack),n.index!==e);++t);return s},getStackCount:function(){return this._getStacks().length},getStackIndex:function(e,t){var n=this._getStacks(e),r=void 0!==t?n.indexOf(t):-1;return-1===r?n.length-1:r},getRuler:function(){var e,t,n=this._getIndexScale(),r=[];for(e=0,t=this.getMeta().data.length;e<t;++e)r.push(n.getPixelForValue(null,e,this.index));return{pixels:r,start:n._startPixel,end:n._endPixel,stackCount:this.getStackCount(),scale:n}},calculateBarValuePixels:function(e,t,n){var r,o,i,a,s,u,l,c=this.chart,f=this._getValueScale(),d=f.isHorizontal(),p=c.data.datasets,h=f._getMatchingVisibleMetas(this._type),g=f._parseValue(p[e].data[t]),y=n.minBarLength,m=f.options.stacked,v=this.getMeta().stack,b=void 0===g.start?0:g.max>=0&&g.min>=0?g.min:g.max,M=void 0===g.start?g.end:g.max>=0&&g.min>=0?g.max-g.min:g.min-g.max,w=h.length;if(m||void 0===m&&void 0!==v)for(r=0;r<w&&(o=h[r]).index!==e;++r)o.stack===v&&(i=void 0===(l=f._parseValue(p[o.index].data[t])).start?l.end:l.min>=0&&l.max>=0?l.max:l.min,(g.min<0&&i<0||g.max>=0&&i>0)&&(b+=i));return a=f.getPixelForValue(b),u=(s=f.getPixelForValue(b+M))-a,void 0!==y&&Math.abs(u)<y&&(u=y,s=M>=0&&!d||M<0&&d?a-y:a+y),{size:u,base:a,head:s,center:s+u/2}},calculateBarIndexPixels:function(e,t,n,r){var o="flex"===r.barThickness?function(e,t,n){var r,o=t.pixels,i=o[e],a=e>0?o[e-1]:null,s=e<o.length-1?o[e+1]:null,u=n.categoryPercentage;return null===a&&(a=i-(null===s?t.end-t.start:s-i)),null===s&&(s=i+i-a),r=i-(i-Math.min(a,s))/2*u,{chunk:Math.abs(s-a)/2*u/t.stackCount,ratio:n.barPercentage,start:r}}(t,n,r):Ee(t,n,r),i=this.getStackIndex(e,this.getMeta().stack),a=o.start+o.chunk*i+o.chunk/2,s=Math.min(xe(r.maxBarThickness,1/0),o.chunk*o.ratio);return{base:a-s/2,head:a+s/2,center:a,size:s}},draw:function(){var e=this.chart,t=this._getValueScale(),n=this.getMeta().data,r=this.getDataset(),o=n.length,i=0;for(F.canvas.clipArea(e.ctx,e.chartArea);i<o;++i){var a=t._parseValue(r.data[i]);isNaN(a.min)||isNaN(a.max)||n[i].draw()}F.canvas.unclipArea(e.ctx)},_resolveDataElementOptions:function(){var e=this,t=F.extend({},ne.prototype._resolveDataElementOptions.apply(e,arguments)),n=e._getIndexScale().options,r=e._getValueScale().options;return t.barPercentage=xe(n.barPercentage,t.barPercentage),t.barThickness=xe(n.barThickness,t.barThickness),t.categoryPercentage=xe(n.categoryPercentage,t.categoryPercentage),t.maxBarThickness=xe(n.maxBarThickness,t.maxBarThickness),t.minBarLength=xe(r.minBarLength,t.minBarLength),t}}),Te=F.valueOrDefault,Ce=F.options.resolve;z._set("bubble",{hover:{mode:"single"},scales:{xAxes:[{type:"linear",position:"bottom",id:"x-axis-0"}],yAxes:[{type:"linear",position:"left",id:"y-axis-0"}]},tooltips:{callbacks:{title:function(){return""},label:function(e,t){var n=t.datasets[e.datasetIndex].label||"",r=t.datasets[e.datasetIndex].data[e.index];return n+": ("+e.xLabel+", "+e.yLabel+", "+r.r+")"}}}});var ke=ne.extend({dataElementType:we.Point,_dataElementOptions:["backgroundColor","borderColor","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","hoverRadius","hitRadius","pointStyle","rotation"],update:function(e){var t=this,n=t.getMeta().data;F.each(n,(function(n,r){t.updateElement(n,r,e)}))},updateElement:function(e,t,n){var r=this,o=r.getMeta(),i=e.custom||{},a=r.getScaleForId(o.xAxisID),s=r.getScaleForId(o.yAxisID),u=r._resolveDataElementOptions(e,t),l=r.getDataset().data[t],c=r.index,f=n?a.getPixelForDecimal(.5):a.getPixelForValue("object"===typeof l?l:NaN,t,c),d=n?s.getBasePixel():s.getPixelForValue(l,t,c);e._xScale=a,e._yScale=s,e._options=u,e._datasetIndex=c,e._index=t,e._model={backgroundColor:u.backgroundColor,borderColor:u.borderColor,borderWidth:u.borderWidth,hitRadius:u.hitRadius,pointStyle:u.pointStyle,rotation:u.rotation,radius:n?0:u.radius,skip:i.skip||isNaN(f)||isNaN(d),x:f,y:d},e.pivot()},setHoverStyle:function(e){var t=e._model,n=e._options,r=F.getHoverColor;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth,radius:t.radius},t.backgroundColor=Te(n.hoverBackgroundColor,r(n.backgroundColor)),t.borderColor=Te(n.hoverBorderColor,r(n.borderColor)),t.borderWidth=Te(n.hoverBorderWidth,n.borderWidth),t.radius=n.radius+n.hoverRadius},_resolveDataElementOptions:function(e,t){var n=this,r=n.chart,o=n.getDataset(),i=e.custom||{},a=o.data[t]||{},s=ne.prototype._resolveDataElementOptions.apply(n,arguments),u={chart:r,dataIndex:t,dataset:o,datasetIndex:n.index};return n._cachedDataOpts===s&&(s=F.extend({},s)),s.radius=Ce([i.radius,a.r,n._config.radius,r.options.elements.point.radius],u,t),s}}),Le=F.valueOrDefault,_e=Math.PI,Ae=2*_e,ze=_e/2;z._set("doughnut",{animation:{animateRotate:!0,animateScale:!1},hover:{mode:"single"},legendCallback:function(e){var t,n,r,o=document.createElement("ul"),i=e.data,a=i.datasets,s=i.labels;if(o.setAttribute("class",e.id+"-legend"),a.length)for(t=0,n=a[0].data.length;t<n;++t)(r=o.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=a[0].backgroundColor[t],s[t]&&r.appendChild(document.createTextNode(s[t]));return o.outerHTML},legend:{labels:{generateLabels:function(e){var t=e.data;return t.labels.length&&t.datasets.length?t.labels.map((function(n,r){var o=e.getDatasetMeta(0),i=o.controller.getStyle(r);return{text:n,fillStyle:i.backgroundColor,strokeStyle:i.borderColor,lineWidth:i.borderWidth,hidden:isNaN(t.datasets[0].data[r])||o.data[r].hidden,index:r}})):[]}},onClick:function(e,t){var n,r,o,i=t.index,a=this.chart;for(n=0,r=(a.data.datasets||[]).length;n<r;++n)(o=a.getDatasetMeta(n)).data[i]&&(o.data[i].hidden=!o.data[i].hidden);a.update()}},cutoutPercentage:50,rotation:-ze,circumference:Ae,tooltips:{callbacks:{title:function(){return""},label:function(e,t){var n=t.labels[e.index],r=": "+t.datasets[e.datasetIndex].data[e.index];return F.isArray(n)?(n=n.slice())[0]+=r:n+=r,n}}}});var Pe=ne.extend({dataElementType:we.Arc,linkScales:F.noop,_dataElementOptions:["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth"],getRingIndex:function(e){for(var t=0,n=0;n<e;++n)this.chart.isDatasetVisible(n)&&++t;return t},update:function(e){var t,n,r,o,i=this,a=i.chart,s=a.chartArea,u=a.options,l=1,c=1,f=0,d=0,p=i.getMeta(),h=p.data,g=u.cutoutPercentage/100||0,y=u.circumference,m=i._getRingWeight(i.index);if(y<Ae){var v=u.rotation%Ae,b=(v+=v>=_e?-Ae:v<-_e?Ae:0)+y,M=Math.cos(v),w=Math.sin(v),N=Math.cos(b),j=Math.sin(b),S=v<=0&&b>=0||b>=Ae,I=v<=ze&&b>=ze||b>=Ae+ze,D=v<=-ze&&b>=-ze||b>=_e+ze,x=v===-_e||b>=_e?-1:Math.min(M,M*g,N,N*g),E=D?-1:Math.min(w,w*g,j,j*g),O=S?1:Math.max(M,M*g,N,N*g),T=I?1:Math.max(w,w*g,j,j*g);l=(O-x)/2,c=(T-E)/2,f=-(O+x)/2,d=-(T+E)/2}for(r=0,o=h.length;r<o;++r)h[r]._options=i._resolveDataElementOptions(h[r],r);for(a.borderWidth=i.getMaxBorderWidth(),t=(s.right-s.left-a.borderWidth)/l,n=(s.bottom-s.top-a.borderWidth)/c,a.outerRadius=Math.max(Math.min(t,n)/2,0),a.innerRadius=Math.max(a.outerRadius*g,0),a.radiusLength=(a.outerRadius-a.innerRadius)/(i._getVisibleDatasetWeightTotal()||1),a.offsetX=f*a.outerRadius,a.offsetY=d*a.outerRadius,p.total=i.calculateTotal(),i.outerRadius=a.outerRadius-a.radiusLength*i._getRingWeightOffset(i.index),i.innerRadius=Math.max(i.outerRadius-a.radiusLength*m,0),r=0,o=h.length;r<o;++r)i.updateElement(h[r],r,e)},updateElement:function(e,t,n){var r=this,o=r.chart,i=o.chartArea,a=o.options,s=a.animation,u=(i.left+i.right)/2,l=(i.top+i.bottom)/2,c=a.rotation,f=a.rotation,d=r.getDataset(),p=n&&s.animateRotate||e.hidden?0:r.calculateCircumference(d.data[t])*(a.circumference/Ae),h=n&&s.animateScale?0:r.innerRadius,g=n&&s.animateScale?0:r.outerRadius,y=e._options||{};F.extend(e,{_datasetIndex:r.index,_index:t,_model:{backgroundColor:y.backgroundColor,borderColor:y.borderColor,borderWidth:y.borderWidth,borderAlign:y.borderAlign,x:u+o.offsetX,y:l+o.offsetY,startAngle:c,endAngle:f,circumference:p,outerRadius:g,innerRadius:h,label:F.valueAtIndexOrDefault(d.label,t,o.data.labels[t])}});var m=e._model;n&&s.animateRotate||(m.startAngle=0===t?a.rotation:r.getMeta().data[t-1]._model.endAngle,m.endAngle=m.startAngle+m.circumference),e.pivot()},calculateTotal:function(){var e,t=this.getDataset(),n=this.getMeta(),r=0;return F.each(n.data,(function(n,o){e=t.data[o],isNaN(e)||n.hidden||(r+=Math.abs(e))})),r},calculateCircumference:function(e){var t=this.getMeta().total;return t>0&&!isNaN(e)?Ae*(Math.abs(e)/t):0},getMaxBorderWidth:function(e){var t,n,r,o,i,a,s,u,l=0,c=this.chart;if(!e)for(t=0,n=c.data.datasets.length;t<n;++t)if(c.isDatasetVisible(t)){e=(r=c.getDatasetMeta(t)).data,t!==this.index&&(i=r.controller);break}if(!e)return 0;for(t=0,n=e.length;t<n;++t)o=e[t],i?(i._configure(),a=i._resolveDataElementOptions(o,t)):a=o._options,"inner"!==a.borderAlign&&(s=a.borderWidth,l=(u=a.hoverBorderWidth)>(l=s>l?s:l)?u:l);return l},setHoverStyle:function(e){var t=e._model,n=e._options,r=F.getHoverColor;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth},t.backgroundColor=Le(n.hoverBackgroundColor,r(n.backgroundColor)),t.borderColor=Le(n.hoverBorderColor,r(n.borderColor)),t.borderWidth=Le(n.hoverBorderWidth,n.borderWidth)},_getRingWeightOffset:function(e){for(var t=0,n=0;n<e;++n)this.chart.isDatasetVisible(n)&&(t+=this._getRingWeight(n));return t},_getRingWeight:function(e){return Math.max(Le(this.chart.data.datasets[e].weight,1),0)},_getVisibleDatasetWeightTotal:function(){return this._getRingWeightOffset(this.chart.data.datasets.length)}});z._set("horizontalBar",{hover:{mode:"index",axis:"y"},scales:{xAxes:[{type:"linear",position:"bottom"}],yAxes:[{type:"category",position:"left",offset:!0,gridLines:{offsetGridLines:!0}}]},elements:{rectangle:{borderSkipped:"left"}},tooltips:{mode:"index",axis:"y"}}),z._set("global",{datasets:{horizontalBar:{categoryPercentage:.8,barPercentage:.9}}});var Re=Oe.extend({_getValueScaleId:function(){return this.getMeta().xAxisID},_getIndexScaleId:function(){return this.getMeta().yAxisID}}),Ue=F.valueOrDefault,Be=F.options.resolve,Fe=F.canvas._isPointInArea;function Ye(e,t){var n=e&&e.options.ticks||{},r=n.reverse,o=void 0===n.min?t:0,i=void 0===n.max?t:0;return{start:r?i:o,end:r?o:i}}function Ge(e,t,n){var r=n/2,o=Ye(e,r),i=Ye(t,r);return{top:i.end,right:o.end,bottom:i.start,left:o.start}}function He(e){var t,n,r,o;return F.isObject(e)?(t=e.top,n=e.right,r=e.bottom,o=e.left):t=n=r=o=e,{top:t,right:n,bottom:r,left:o}}z._set("line",{showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}});var Ve=ne.extend({datasetElementType:we.Line,dataElementType:we.Point,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth","cubicInterpolationMode","fill"],_dataElementOptions:{backgroundColor:"pointBackgroundColor",borderColor:"pointBorderColor",borderWidth:"pointBorderWidth",hitRadius:"pointHitRadius",hoverBackgroundColor:"pointHoverBackgroundColor",hoverBorderColor:"pointHoverBorderColor",hoverBorderWidth:"pointHoverBorderWidth",hoverRadius:"pointHoverRadius",pointStyle:"pointStyle",radius:"pointRadius",rotation:"pointRotation"},update:function(e){var t,n,r=this,o=r.getMeta(),i=o.dataset,a=o.data||[],s=r.chart.options,u=r._config,l=r._showLine=Ue(u.showLine,s.showLines);for(r._xScale=r.getScaleForId(o.xAxisID),r._yScale=r.getScaleForId(o.yAxisID),l&&(void 0!==u.tension&&void 0===u.lineTension&&(u.lineTension=u.tension),i._scale=r._yScale,i._datasetIndex=r.index,i._children=a,i._model=r._resolveDatasetElementOptions(i),i.pivot()),t=0,n=a.length;t<n;++t)r.updateElement(a[t],t,e);for(l&&0!==i._model.tension&&r.updateBezierControlPoints(),t=0,n=a.length;t<n;++t)a[t].pivot()},updateElement:function(e,t,n){var r,o,i=this,a=i.getMeta(),s=e.custom||{},u=i.getDataset(),l=i.index,c=u.data[t],f=i._xScale,d=i._yScale,p=a.dataset._model,h=i._resolveDataElementOptions(e,t);r=f.getPixelForValue("object"===typeof c?c:NaN,t,l),o=n?d.getBasePixel():i.calculatePointY(c,t,l),e._xScale=f,e._yScale=d,e._options=h,e._datasetIndex=l,e._index=t,e._model={x:r,y:o,skip:s.skip||isNaN(r)||isNaN(o),radius:h.radius,pointStyle:h.pointStyle,rotation:h.rotation,backgroundColor:h.backgroundColor,borderColor:h.borderColor,borderWidth:h.borderWidth,tension:Ue(s.tension,p?p.tension:0),steppedLine:!!p&&p.steppedLine,hitRadius:h.hitRadius}},_resolveDatasetElementOptions:function(e){var t=this,n=t._config,r=e.custom||{},o=t.chart.options,i=o.elements.line,a=ne.prototype._resolveDatasetElementOptions.apply(t,arguments);return a.spanGaps=Ue(n.spanGaps,o.spanGaps),a.tension=Ue(n.lineTension,i.tension),a.steppedLine=Be([r.steppedLine,n.steppedLine,i.stepped]),a.clip=He(Ue(n.clip,Ge(t._xScale,t._yScale,a.borderWidth))),a},calculatePointY:function(e,t,n){var r,o,i,a,s,u,l,c=this.chart,f=this._yScale,d=0,p=0;if(f.options.stacked){for(s=+f.getRightValue(e),l=(u=c._getSortedVisibleDatasetMetas()).length,r=0;r<l&&(i=u[r]).index!==n;++r)o=c.data.datasets[i.index],"line"===i.type&&i.yAxisID===f.id&&((a=+f.getRightValue(o.data[t]))<0?p+=a||0:d+=a||0);return s<0?f.getPixelForValue(p+s):f.getPixelForValue(d+s)}return f.getPixelForValue(e)},updateBezierControlPoints:function(){var e,t,n,r,o=this.chart,i=this.getMeta(),a=i.dataset._model,s=o.chartArea,u=i.data||[];function l(e,t,n){return Math.max(Math.min(e,n),t)}if(a.spanGaps&&(u=u.filter((function(e){return!e._model.skip}))),"monotone"===a.cubicInterpolationMode)F.splineCurveMonotone(u);else for(e=0,t=u.length;e<t;++e)n=u[e]._model,r=F.splineCurve(F.previousItem(u,e)._model,n,F.nextItem(u,e)._model,a.tension),n.controlPointPreviousX=r.previous.x,n.controlPointPreviousY=r.previous.y,n.controlPointNextX=r.next.x,n.controlPointNextY=r.next.y;if(o.options.elements.line.capBezierPoints)for(e=0,t=u.length;e<t;++e)n=u[e]._model,Fe(n,s)&&(e>0&&Fe(u[e-1]._model,s)&&(n.controlPointPreviousX=l(n.controlPointPreviousX,s.left,s.right),n.controlPointPreviousY=l(n.controlPointPreviousY,s.top,s.bottom)),e<u.length-1&&Fe(u[e+1]._model,s)&&(n.controlPointNextX=l(n.controlPointNextX,s.left,s.right),n.controlPointNextY=l(n.controlPointNextY,s.top,s.bottom)))},draw:function(){var e,t=this.chart,n=this.getMeta(),r=n.data||[],o=t.chartArea,i=t.canvas,a=0,s=r.length;for(this._showLine&&(e=n.dataset._model.clip,F.canvas.clipArea(t.ctx,{left:!1===e.left?0:o.left-e.left,right:!1===e.right?i.width:o.right+e.right,top:!1===e.top?0:o.top-e.top,bottom:!1===e.bottom?i.height:o.bottom+e.bottom}),n.dataset.draw(),F.canvas.unclipArea(t.ctx));a<s;++a)r[a].draw(o)},setHoverStyle:function(e){var t=e._model,n=e._options,r=F.getHoverColor;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth,radius:t.radius},t.backgroundColor=Ue(n.hoverBackgroundColor,r(n.backgroundColor)),t.borderColor=Ue(n.hoverBorderColor,r(n.borderColor)),t.borderWidth=Ue(n.hoverBorderWidth,n.borderWidth),t.radius=Ue(n.hoverRadius,n.radius)}}),Qe=F.options.resolve;z._set("polarArea",{scale:{type:"radialLinear",angleLines:{display:!1},gridLines:{circular:!0},pointLabels:{display:!1},ticks:{beginAtZero:!0}},animation:{animateRotate:!0,animateScale:!0},startAngle:-.5*Math.PI,legendCallback:function(e){var t,n,r,o=document.createElement("ul"),i=e.data,a=i.datasets,s=i.labels;if(o.setAttribute("class",e.id+"-legend"),a.length)for(t=0,n=a[0].data.length;t<n;++t)(r=o.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=a[0].backgroundColor[t],s[t]&&r.appendChild(document.createTextNode(s[t]));return o.outerHTML},legend:{labels:{generateLabels:function(e){var t=e.data;return t.labels.length&&t.datasets.length?t.labels.map((function(n,r){var o=e.getDatasetMeta(0),i=o.controller.getStyle(r);return{text:n,fillStyle:i.backgroundColor,strokeStyle:i.borderColor,lineWidth:i.borderWidth,hidden:isNaN(t.datasets[0].data[r])||o.data[r].hidden,index:r}})):[]}},onClick:function(e,t){var n,r,o,i=t.index,a=this.chart;for(n=0,r=(a.data.datasets||[]).length;n<r;++n)(o=a.getDatasetMeta(n)).data[i].hidden=!o.data[i].hidden;a.update()}},tooltips:{callbacks:{title:function(){return""},label:function(e,t){return t.labels[e.index]+": "+e.yLabel}}}});var We=ne.extend({dataElementType:we.Arc,linkScales:F.noop,_dataElementOptions:["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth"],_getIndexScaleId:function(){return this.chart.scale.id},_getValueScaleId:function(){return this.chart.scale.id},update:function(e){var t,n,r,o=this,i=o.getDataset(),a=o.getMeta(),s=o.chart.options.startAngle||0,u=o._starts=[],l=o._angles=[],c=a.data;for(o._updateRadius(),a.count=o.countVisibleElements(),t=0,n=i.data.length;t<n;t++)u[t]=s,r=o._computeAngle(t),l[t]=r,s+=r;for(t=0,n=c.length;t<n;++t)c[t]._options=o._resolveDataElementOptions(c[t],t),o.updateElement(c[t],t,e)},_updateRadius:function(){var e=this,t=e.chart,n=t.chartArea,r=t.options,o=Math.min(n.right-n.left,n.bottom-n.top);t.outerRadius=Math.max(o/2,0),t.innerRadius=Math.max(r.cutoutPercentage?t.outerRadius/100*r.cutoutPercentage:1,0),t.radiusLength=(t.outerRadius-t.innerRadius)/t.getVisibleDatasetCount(),e.outerRadius=t.outerRadius-t.radiusLength*e.index,e.innerRadius=e.outerRadius-t.radiusLength},updateElement:function(e,t,n){var r=this,o=r.chart,i=r.getDataset(),a=o.options,s=a.animation,u=o.scale,l=o.data.labels,c=u.xCenter,f=u.yCenter,d=a.startAngle,p=e.hidden?0:u.getDistanceFromCenterForValue(i.data[t]),h=r._starts[t],g=h+(e.hidden?0:r._angles[t]),y=s.animateScale?0:u.getDistanceFromCenterForValue(i.data[t]),m=e._options||{};F.extend(e,{_datasetIndex:r.index,_index:t,_scale:u,_model:{backgroundColor:m.backgroundColor,borderColor:m.borderColor,borderWidth:m.borderWidth,borderAlign:m.borderAlign,x:c,y:f,innerRadius:0,outerRadius:n?y:p,startAngle:n&&s.animateRotate?d:h,endAngle:n&&s.animateRotate?d:g,label:F.valueAtIndexOrDefault(l,t,l[t])}}),e.pivot()},countVisibleElements:function(){var e=this.getDataset(),t=this.getMeta(),n=0;return F.each(t.data,(function(t,r){isNaN(e.data[r])||t.hidden||n++})),n},setHoverStyle:function(e){var t=e._model,n=e._options,r=F.getHoverColor,o=F.valueOrDefault;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth},t.backgroundColor=o(n.hoverBackgroundColor,r(n.backgroundColor)),t.borderColor=o(n.hoverBorderColor,r(n.borderColor)),t.borderWidth=o(n.hoverBorderWidth,n.borderWidth)},_computeAngle:function(e){var t=this,n=this.getMeta().count,r=t.getDataset(),o=t.getMeta();if(isNaN(r.data[e])||o.data[e].hidden)return 0;var i={chart:t.chart,dataIndex:e,dataset:r,datasetIndex:t.index};return Qe([t.chart.options.elements.arc.angle,2*Math.PI/n],i,e)}});z._set("pie",F.clone(z.doughnut)),z._set("pie",{cutoutPercentage:0});var Ze=Pe,qe=F.valueOrDefault;z._set("radar",{spanGaps:!1,scale:{type:"radialLinear"},elements:{line:{fill:"start",tension:0}}});var Xe=ne.extend({datasetElementType:we.Line,dataElementType:we.Point,linkScales:F.noop,_datasetElementOptions:["backgroundColor","borderWidth","borderColor","borderCapStyle","borderDash","borderDashOffset","borderJoinStyle","fill"],_dataElementOptions:{backgroundColor:"pointBackgroundColor",borderColor:"pointBorderColor",borderWidth:"pointBorderWidth",hitRadius:"pointHitRadius",hoverBackgroundColor:"pointHoverBackgroundColor",hoverBorderColor:"pointHoverBorderColor",hoverBorderWidth:"pointHoverBorderWidth",hoverRadius:"pointHoverRadius",pointStyle:"pointStyle",radius:"pointRadius",rotation:"pointRotation"},_getIndexScaleId:function(){return this.chart.scale.id},_getValueScaleId:function(){return this.chart.scale.id},update:function(e){var t,n,r=this,o=r.getMeta(),i=o.dataset,a=o.data||[],s=r.chart.scale,u=r._config;for(void 0!==u.tension&&void 0===u.lineTension&&(u.lineTension=u.tension),i._scale=s,i._datasetIndex=r.index,i._children=a,i._loop=!0,i._model=r._resolveDatasetElementOptions(i),i.pivot(),t=0,n=a.length;t<n;++t)r.updateElement(a[t],t,e);for(r.updateBezierControlPoints(),t=0,n=a.length;t<n;++t)a[t].pivot()},updateElement:function(e,t,n){var r=this,o=e.custom||{},i=r.getDataset(),a=r.chart.scale,s=a.getPointPositionForValue(t,i.data[t]),u=r._resolveDataElementOptions(e,t),l=r.getMeta().dataset._model,c=n?a.xCenter:s.x,f=n?a.yCenter:s.y;e._scale=a,e._options=u,e._datasetIndex=r.index,e._index=t,e._model={x:c,y:f,skip:o.skip||isNaN(c)||isNaN(f),radius:u.radius,pointStyle:u.pointStyle,rotation:u.rotation,backgroundColor:u.backgroundColor,borderColor:u.borderColor,borderWidth:u.borderWidth,tension:qe(o.tension,l?l.tension:0),hitRadius:u.hitRadius}},_resolveDatasetElementOptions:function(){var e=this,t=e._config,n=e.chart.options,r=ne.prototype._resolveDatasetElementOptions.apply(e,arguments);return r.spanGaps=qe(t.spanGaps,n.spanGaps),r.tension=qe(t.lineTension,n.elements.line.tension),r},updateBezierControlPoints:function(){var e,t,n,r,o=this.getMeta(),i=this.chart.chartArea,a=o.data||[];function s(e,t,n){return Math.max(Math.min(e,n),t)}for(o.dataset._model.spanGaps&&(a=a.filter((function(e){return!e._model.skip}))),e=0,t=a.length;e<t;++e)n=a[e]._model,r=F.splineCurve(F.previousItem(a,e,!0)._model,n,F.nextItem(a,e,!0)._model,n.tension),n.controlPointPreviousX=s(r.previous.x,i.left,i.right),n.controlPointPreviousY=s(r.previous.y,i.top,i.bottom),n.controlPointNextX=s(r.next.x,i.left,i.right),n.controlPointNextY=s(r.next.y,i.top,i.bottom)},setHoverStyle:function(e){var t=e._model,n=e._options,r=F.getHoverColor;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth,radius:t.radius},t.backgroundColor=qe(n.hoverBackgroundColor,r(n.backgroundColor)),t.borderColor=qe(n.hoverBorderColor,r(n.borderColor)),t.borderWidth=qe(n.hoverBorderWidth,n.borderWidth),t.radius=qe(n.hoverRadius,n.radius)}});z._set("scatter",{hover:{mode:"single"},scales:{xAxes:[{id:"x-axis-1",type:"linear",position:"bottom"}],yAxes:[{id:"y-axis-1",type:"linear",position:"left"}]},tooltips:{callbacks:{title:function(){return""},label:function(e){return"("+e.xLabel+", "+e.yLabel+")"}}}}),z._set("global",{datasets:{scatter:{showLine:!1}}});var $e={bar:Oe,bubble:ke,doughnut:Pe,horizontalBar:Re,line:Ve,polarArea:We,pie:Ze,radar:Xe,scatter:Ve};function Je(e,t){return e.native?{x:e.x,y:e.y}:F.getRelativePosition(e,t)}function Ke(e,t){var n,r,o,i,a,s,u=e._getSortedVisibleDatasetMetas();for(r=0,i=u.length;r<i;++r)for(o=0,a=(n=u[r].data).length;o<a;++o)(s=n[o])._view.skip||t(s)}function et(e,t){var n=[];return Ke(e,(function(e){e.inRange(t.x,t.y)&&n.push(e)})),n}function tt(e,t,n,r){var o=Number.POSITIVE_INFINITY,i=[];return Ke(e,(function(e){if(!n||e.inRange(t.x,t.y)){var a=e.getCenterPoint(),s=r(t,a);s<o?(i=[e],o=s):s===o&&i.push(e)}})),i}function nt(e){var t=-1!==e.indexOf("x"),n=-1!==e.indexOf("y");return function(e,r){var o=t?Math.abs(e.x-r.x):0,i=n?Math.abs(e.y-r.y):0;return Math.sqrt(Math.pow(o,2)+Math.pow(i,2))}}function rt(e,t,n){var r=Je(t,e);n.axis=n.axis||"x";var o=nt(n.axis),i=n.intersect?et(e,r):tt(e,r,!1,o),a=[];return i.length?(e._getSortedVisibleDatasetMetas().forEach((function(e){var t=e.data[i[0]._index];t&&!t._view.skip&&a.push(t)})),a):[]}var ot={modes:{single:function(e,t){var n=Je(t,e),r=[];return Ke(e,(function(e){if(e.inRange(n.x,n.y))return r.push(e),r})),r.slice(0,1)},label:rt,index:rt,dataset:function(e,t,n){var r=Je(t,e);n.axis=n.axis||"xy";var o=nt(n.axis),i=n.intersect?et(e,r):tt(e,r,!1,o);return i.length>0&&(i=e.getDatasetMeta(i[0]._datasetIndex).data),i},"x-axis":function(e,t){return rt(e,t,{intersect:!1})},point:function(e,t){return et(e,Je(t,e))},nearest:function(e,t,n){var r=Je(t,e);n.axis=n.axis||"xy";var o=nt(n.axis);return tt(e,r,n.intersect,o)},x:function(e,t,n){var r=Je(t,e),o=[],i=!1;return Ke(e,(function(e){e.inXRange(r.x)&&o.push(e),e.inRange(r.x,r.y)&&(i=!0)})),n.intersect&&!i&&(o=[]),o},y:function(e,t,n){var r=Je(t,e),o=[],i=!1;return Ke(e,(function(e){e.inYRange(r.y)&&o.push(e),e.inRange(r.x,r.y)&&(i=!0)})),n.intersect&&!i&&(o=[]),o}}},it=F.extend;function at(e,t){return F.where(e,(function(e){return e.pos===t}))}function st(e,t){return e.sort((function(e,n){var r=t?n:e,o=t?e:n;return r.weight===o.weight?r.index-o.index:r.weight-o.weight}))}function ut(e,t,n,r){return Math.max(e[n],t[n])+Math.max(e[r],t[r])}function lt(e,t,n){var r,o,i=n.box,a=e.maxPadding;if(n.size&&(e[n.pos]-=n.size),n.size=n.horizontal?i.height:i.width,e[n.pos]+=n.size,i.getPadding){var s=i.getPadding();a.top=Math.max(a.top,s.top),a.left=Math.max(a.left,s.left),a.bottom=Math.max(a.bottom,s.bottom),a.right=Math.max(a.right,s.right)}if(r=t.outerWidth-ut(a,e,"left","right"),o=t.outerHeight-ut(a,e,"top","bottom"),r!==e.w||o!==e.h){e.w=r,e.h=o;var u=n.horizontal?[r,e.w]:[o,e.h];return u[0]!==u[1]&&(!isNaN(u[0])||!isNaN(u[1]))}}function ct(e,t){var n=t.maxPadding;function r(e){var r={left:0,top:0,right:0,bottom:0};return e.forEach((function(e){r[e]=Math.max(t[e],n[e])})),r}return r(e?["left","right"]:["top","bottom"])}function ft(e,t,n){var r,o,i,a,s,u,l=[];for(r=0,o=e.length;r<o;++r)(a=(i=e[r]).box).update(i.width||t.w,i.height||t.h,ct(i.horizontal,t)),lt(t,n,i)&&(u=!0,l.length&&(s=!0)),a.fullWidth||l.push(i);return s&&ft(l,t,n)||u}function dt(e,t,n){var r,o,i,a,s=n.padding,u=t.x,l=t.y;for(r=0,o=e.length;r<o;++r)a=(i=e[r]).box,i.horizontal?(a.left=a.fullWidth?s.left:t.left,a.right=a.fullWidth?n.outerWidth-s.right:t.left+t.w,a.top=l,a.bottom=l+a.height,a.width=a.right-a.left,l=a.bottom):(a.left=u,a.right=u+a.width,a.top=t.top,a.bottom=t.top+t.h,a.height=a.bottom-a.top,u=a.right);t.x=u,t.y=l}z._set("global",{layout:{padding:{top:0,right:0,bottom:0,left:0}}});var pt,ht={defaults:{},addBox:function(e,t){e.boxes||(e.boxes=[]),t.fullWidth=t.fullWidth||!1,t.position=t.position||"top",t.weight=t.weight||0,t._layers=t._layers||function(){return[{z:0,draw:function(){t.draw.apply(t,arguments)}}]},e.boxes.push(t)},removeBox:function(e,t){var n=e.boxes?e.boxes.indexOf(t):-1;-1!==n&&e.boxes.splice(n,1)},configure:function(e,t,n){for(var r,o=["fullWidth","position","weight"],i=o.length,a=0;a<i;++a)r=o[a],n.hasOwnProperty(r)&&(t[r]=n[r])},update:function(e,t,n){if(e){var r=e.options.layout||{},o=F.options.toPadding(r.padding),i=t-o.width,a=n-o.height,s=function(e){var t=function(e){var t,n,r,o=[];for(t=0,n=(e||[]).length;t<n;++t)r=e[t],o.push({index:t,box:r,pos:r.position,horizontal:r.isHorizontal(),weight:r.weight});return o}(e),n=st(at(t,"left"),!0),r=st(at(t,"right")),o=st(at(t,"top"),!0),i=st(at(t,"bottom"));return{leftAndTop:n.concat(o),rightAndBottom:r.concat(i),chartArea:at(t,"chartArea"),vertical:n.concat(r),horizontal:o.concat(i)}}(e.boxes),u=s.vertical,l=s.horizontal,c=Object.freeze({outerWidth:t,outerHeight:n,padding:o,availableWidth:i,vBoxMaxWidth:i/2/u.length,hBoxMaxHeight:a/2}),f=it({maxPadding:it({},o),w:i,h:a,x:o.left,y:o.top},o);!function(e,t){var n,r,o;for(n=0,r=e.length;n<r;++n)(o=e[n]).width=o.horizontal?o.box.fullWidth&&t.availableWidth:t.vBoxMaxWidth,o.height=o.horizontal&&t.hBoxMaxHeight}(u.concat(l),c),ft(u,f,c),ft(l,f,c)&&ft(u,f,c),function(e){var t=e.maxPadding;function n(n){var r=Math.max(t[n]-e[n],0);return e[n]+=r,r}e.y+=n("top"),e.x+=n("left"),n("right"),n("bottom")}(f),dt(s.leftAndTop,f,c),f.x+=f.w,f.y+=f.h,dt(s.rightAndBottom,f,c),e.chartArea={left:f.left,top:f.top,right:f.left+f.w,bottom:f.top+f.h},F.each(s.chartArea,(function(t){var n=t.box;it(n,e.chartArea),n.update(f.w,f.h)}))}}},gt=(pt=Object.freeze({__proto__:null,default:"/*\r\n * DOM element rendering detection\r\n * https://davidwalsh.name/detect-node-insertion\r\n */\r\n@keyframes chartjs-render-animation {\r\n\tfrom { opacity: 0.99; }\r\n\tto { opacity: 1; }\r\n}\r\n\r\n.chartjs-render-monitor {\r\n\tanimation: chartjs-render-animation 0.001s;\r\n}\r\n\r\n/*\r\n * DOM element resizing detection\r\n * https://github.com/marcj/css-element-queries\r\n */\r\n.chartjs-size-monitor,\r\n.chartjs-size-monitor-expand,\r\n.chartjs-size-monitor-shrink {\r\n\tposition: absolute;\r\n\tdirection: ltr;\r\n\tleft: 0;\r\n\ttop: 0;\r\n\tright: 0;\r\n\tbottom: 0;\r\n\toverflow: hidden;\r\n\tpointer-events: none;\r\n\tvisibility: hidden;\r\n\tz-index: -1;\r\n}\r\n\r\n.chartjs-size-monitor-expand > div {\r\n\tposition: absolute;\r\n\twidth: 1000000px;\r\n\theight: 1000000px;\r\n\tleft: 0;\r\n\ttop: 0;\r\n}\r\n\r\n.chartjs-size-monitor-shrink > div {\r\n\tposition: absolute;\r\n\twidth: 200%;\r\n\theight: 200%;\r\n\tleft: 0;\r\n\ttop: 0;\r\n}\r\n"}))&&pt.default||pt,yt=["animationstart","webkitAnimationStart"],mt={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function vt(e,t){var n=F.getStyle(e,t),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?Number(r[1]):void 0}var bt=!!function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("e",null,t)}catch(n){}return e}()&&{passive:!0};function Mt(e,t,n){e.addEventListener(t,n,bt)}function wt(e,t,n){e.removeEventListener(t,n,bt)}function Nt(e,t,n,r,o){return{type:e,chart:t,native:o||null,x:void 0!==n?n:null,y:void 0!==r?r:null}}function jt(e){var t=document.createElement("div");return t.className=e||"",t}function St(e,t,n){var r=e.$chartjs||(e.$chartjs={}),o=r.resizer=function(e){var t=jt("chartjs-size-monitor"),n=jt("chartjs-size-monitor-expand"),r=jt("chartjs-size-monitor-shrink");n.appendChild(jt()),r.appendChild(jt()),t.appendChild(n),t.appendChild(r),t._reset=function(){n.scrollLeft=1e6,n.scrollTop=1e6,r.scrollLeft=1e6,r.scrollTop=1e6};var o=function(){t._reset(),e()};return Mt(n,"scroll",o.bind(n,"expand")),Mt(r,"scroll",o.bind(r,"shrink")),t}(function(e,t){var n=!1,r=[];return function(){r=Array.prototype.slice.call(arguments),t=t||this,n||(n=!0,F.requestAnimFrame.call(window,(function(){n=!1,e.apply(t,r)})))}}((function(){if(r.resizer){var o=n.options.maintainAspectRatio&&e.parentNode,i=o?o.clientWidth:0;t(Nt("resize",n)),o&&o.clientWidth<i&&n.canvas&&t(Nt("resize",n))}})));!function(e,t){var n=e.$chartjs||(e.$chartjs={}),r=n.renderProxy=function(e){"chartjs-render-animation"===e.animationName&&t()};F.each(yt,(function(t){Mt(e,t,r)})),n.reflow=!!e.offsetParent,e.classList.add("chartjs-render-monitor")}(e,(function(){if(r.resizer){var t=e.parentNode;t&&t!==o.parentNode&&t.insertBefore(o,t.firstChild),o._reset()}}))}function It(e){var t=e.$chartjs||{},n=t.resizer;delete t.resizer,function(e){var t=e.$chartjs||{},n=t.renderProxy;n&&(F.each(yt,(function(t){wt(e,t,n)})),delete t.renderProxy),e.classList.remove("chartjs-render-monitor")}(e),n&&n.parentNode&&n.parentNode.removeChild(n)}var Dt={disableCSSInjection:!1,_enabled:"undefined"!==typeof window&&"undefined"!==typeof document,_ensureLoaded:function(e){if(!this.disableCSSInjection){var t=e.getRootNode?e.getRootNode():document;!function(e,t){var n=e.$chartjs||(e.$chartjs={});if(!n.containsStyles){n.containsStyles=!0,t="/* Chart.js */\n"+t;var r=document.createElement("style");r.setAttribute("type","text/css"),r.appendChild(document.createTextNode(t)),e.appendChild(r)}}(t.host?t:document.head,gt)}},acquireContext:function(e,t){"string"===typeof e?e=document.getElementById(e):e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas);var n=e&&e.getContext&&e.getContext("2d");return n&&n.canvas===e?(this._ensureLoaded(e),function(e,t){var n=e.style,r=e.getAttribute("height"),o=e.getAttribute("width");if(e.$chartjs={initial:{height:r,width:o,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",null===o||""===o){var i=vt(e,"width");void 0!==i&&(e.width=i)}if(null===r||""===r)if(""===e.style.height)e.height=e.width/(t.options.aspectRatio||2);else{var a=vt(e,"height");void 0!==i&&(e.height=a)}}(e,t),n):null},releaseContext:function(e){var t=e.canvas;if(t.$chartjs){var n=t.$chartjs.initial;["height","width"].forEach((function(e){var r=n[e];F.isNullOrUndef(r)?t.removeAttribute(e):t.setAttribute(e,r)})),F.each(n.style||{},(function(e,n){t.style[n]=e})),t.width=t.width,delete t.$chartjs}},addEventListener:function(e,t,n){var r=e.canvas;if("resize"!==t){var o=n.$chartjs||(n.$chartjs={});Mt(r,t,(o.proxies||(o.proxies={}))[e.id+"_"+t]=function(t){n(function(e,t){var n=mt[e.type]||e.type,r=F.getRelativePosition(e,t);return Nt(n,t,r.x,r.y,e)}(t,e))})}else St(r,n,e)},removeEventListener:function(e,t,n){var r=e.canvas;if("resize"!==t){var o=((n.$chartjs||{}).proxies||{})[e.id+"_"+t];o&&wt(r,t,o)}else It(r)}};F.addEvent=Mt,F.removeEvent=wt;var xt=Dt._enabled?Dt:{acquireContext:function(e){return e&&e.canvas&&(e=e.canvas),e&&e.getContext("2d")||null}},Et=F.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},xt);z._set("global",{plugins:{}});var Ot={_plugins:[],_cacheId:0,register:function(e){var t=this._plugins;[].concat(e).forEach((function(e){-1===t.indexOf(e)&&t.push(e)})),this._cacheId++},unregister:function(e){var t=this._plugins;[].concat(e).forEach((function(e){var n=t.indexOf(e);-1!==n&&t.splice(n,1)})),this._cacheId++},clear:function(){this._plugins=[],this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(e,t,n){var r,o,i,a,s,u=this.descriptors(e),l=u.length;for(r=0;r<l;++r)if("function"===typeof(s=(i=(o=u[r]).plugin)[t])&&((a=[e].concat(n||[])).push(o.options),!1===s.apply(i,a)))return!1;return!0},descriptors:function(e){var t=e.$plugins||(e.$plugins={});if(t.id===this._cacheId)return t.descriptors;var n=[],r=[],o=e&&e.config||{},i=o.options&&o.options.plugins||{};return this._plugins.concat(o.plugins||[]).forEach((function(e){if(-1===n.indexOf(e)){var t=e.id,o=i[t];!1!==o&&(!0===o&&(o=F.clone(z.global.plugins[t])),n.push(e),r.push({plugin:e,options:o||{}}))}})),t.descriptors=r,t.id=this._cacheId,r},_invalidate:function(e){delete e.$plugins}},Tt={constructors:{},defaults:{},registerScaleType:function(e,t,n){this.constructors[e]=t,this.defaults[e]=F.clone(n)},getScaleConstructor:function(e){return this.constructors.hasOwnProperty(e)?this.constructors[e]:void 0},getScaleDefaults:function(e){return this.defaults.hasOwnProperty(e)?F.merge(Object.create(null),[z.scale,this.defaults[e]]):{}},updateScaleDefaults:function(e,t){this.defaults.hasOwnProperty(e)&&(this.defaults[e]=F.extend(this.defaults[e],t))},addScalesToLayout:function(e){F.each(e.scales,(function(t){t.fullWidth=t.options.fullWidth,t.position=t.options.position,t.weight=t.options.weight,ht.addBox(e,t)}))}},Ct=F.valueOrDefault,kt=F.rtl.getRtlAdapter;z._set("global",{tooltips:{enabled:!0,custom:null,mode:"nearest",position:"average",intersect:!0,backgroundColor:"rgba(0,0,0,0.8)",titleFontStyle:"bold",titleSpacing:2,titleMarginBottom:6,titleFontColor:"#fff",titleAlign:"left",bodySpacing:2,bodyFontColor:"#fff",bodyAlign:"left",footerFontStyle:"bold",footerSpacing:2,footerMarginTop:6,footerFontColor:"#fff",footerAlign:"left",yPadding:6,xPadding:6,caretPadding:2,caretSize:5,cornerRadius:6,multiKeyBackground:"#fff",displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:0,callbacks:{beforeTitle:F.noop,title:function(e,t){var n="",r=t.labels,o=r?r.length:0;if(e.length>0){var i=e[0];i.label?n=i.label:i.xLabel?n=i.xLabel:o>0&&i.index<o&&(n=r[i.index])}return n},afterTitle:F.noop,beforeBody:F.noop,beforeLabel:F.noop,label:function(e,t){var n=t.datasets[e.datasetIndex].label||"";return n&&(n+=": "),F.isNullOrUndef(e.value)?n+=e.yLabel:n+=e.value,n},labelColor:function(e,t){var n=t.getDatasetMeta(e.datasetIndex).data[e.index]._view;return{borderColor:n.borderColor,backgroundColor:n.backgroundColor}},labelTextColor:function(){return this._options.bodyFontColor},afterLabel:F.noop,afterBody:F.noop,beforeFooter:F.noop,footer:F.noop,afterFooter:F.noop}}});var Lt={average:function(e){if(!e.length)return!1;var t,n,r=0,o=0,i=0;for(t=0,n=e.length;t<n;++t){var a=e[t];if(a&&a.hasValue()){var s=a.tooltipPosition();r+=s.x,o+=s.y,++i}}return{x:r/i,y:o/i}},nearest:function(e,t){var n,r,o,i=t.x,a=t.y,s=Number.POSITIVE_INFINITY;for(n=0,r=e.length;n<r;++n){var u=e[n];if(u&&u.hasValue()){var l=u.getCenterPoint(),c=F.distanceBetweenPoints(t,l);c<s&&(s=c,o=u)}}if(o){var f=o.tooltipPosition();i=f.x,a=f.y}return{x:i,y:a}}};function _t(e,t){return t&&(F.isArray(t)?Array.prototype.push.apply(e,t):e.push(t)),e}function At(e){return("string"===typeof e||e instanceof String)&&e.indexOf("\n")>-1?e.split("\n"):e}function zt(e){var t=e._xScale,n=e._yScale||e._scale,r=e._index,o=e._datasetIndex,i=e._chart.getDatasetMeta(o).controller,a=i._getIndexScale(),s=i._getValueScale();return{xLabel:t?t.getLabelForIndex(r,o):"",yLabel:n?n.getLabelForIndex(r,o):"",label:a?""+a.getLabelForIndex(r,o):"",value:s?""+s.getLabelForIndex(r,o):"",index:r,datasetIndex:o,x:e._model.x,y:e._model.y}}function Pt(e){var t=z.global;return{xPadding:e.xPadding,yPadding:e.yPadding,xAlign:e.xAlign,yAlign:e.yAlign,rtl:e.rtl,textDirection:e.textDirection,bodyFontColor:e.bodyFontColor,_bodyFontFamily:Ct(e.bodyFontFamily,t.defaultFontFamily),_bodyFontStyle:Ct(e.bodyFontStyle,t.defaultFontStyle),_bodyAlign:e.bodyAlign,bodyFontSize:Ct(e.bodyFontSize,t.defaultFontSize),bodySpacing:e.bodySpacing,titleFontColor:e.titleFontColor,_titleFontFamily:Ct(e.titleFontFamily,t.defaultFontFamily),_titleFontStyle:Ct(e.titleFontStyle,t.defaultFontStyle),titleFontSize:Ct(e.titleFontSize,t.defaultFontSize),_titleAlign:e.titleAlign,titleSpacing:e.titleSpacing,titleMarginBottom:e.titleMarginBottom,footerFontColor:e.footerFontColor,_footerFontFamily:Ct(e.footerFontFamily,t.defaultFontFamily),_footerFontStyle:Ct(e.footerFontStyle,t.defaultFontStyle),footerFontSize:Ct(e.footerFontSize,t.defaultFontSize),_footerAlign:e.footerAlign,footerSpacing:e.footerSpacing,footerMarginTop:e.footerMarginTop,caretSize:e.caretSize,cornerRadius:e.cornerRadius,backgroundColor:e.backgroundColor,opacity:0,legendColorBackground:e.multiKeyBackground,displayColors:e.displayColors,borderColor:e.borderColor,borderWidth:e.borderWidth}}function Rt(e,t){return"center"===t?e.x+e.width/2:"right"===t?e.x+e.width-e.xPadding:e.x+e.xPadding}function Ut(e){return _t([],At(e))}var Bt=Z.extend({initialize:function(){this._model=Pt(this._options),this._lastActive=[]},getTitle:function(){var e=this,t=e._options,n=t.callbacks,r=n.beforeTitle.apply(e,arguments),o=n.title.apply(e,arguments),i=n.afterTitle.apply(e,arguments),a=[];return a=_t(a,At(r)),a=_t(a,At(o)),a=_t(a,At(i))},getBeforeBody:function(){return Ut(this._options.callbacks.beforeBody.apply(this,arguments))},getBody:function(e,t){var n=this,r=n._options.callbacks,o=[];return F.each(e,(function(e){var i={before:[],lines:[],after:[]};_t(i.before,At(r.beforeLabel.call(n,e,t))),_t(i.lines,r.label.call(n,e,t)),_t(i.after,At(r.afterLabel.call(n,e,t))),o.push(i)})),o},getAfterBody:function(){return Ut(this._options.callbacks.afterBody.apply(this,arguments))},getFooter:function(){var e=this,t=e._options.callbacks,n=t.beforeFooter.apply(e,arguments),r=t.footer.apply(e,arguments),o=t.afterFooter.apply(e,arguments),i=[];return i=_t(i,At(n)),i=_t(i,At(r)),i=_t(i,At(o))},update:function(e){var t,n,r=this,o=r._options,i=r._model,a=r._model=Pt(o),s=r._active,u=r._data,l={xAlign:i.xAlign,yAlign:i.yAlign},c={x:i.x,y:i.y},f={width:i.width,height:i.height},d={x:i.caretX,y:i.caretY};if(s.length){a.opacity=1;var p=[],h=[];d=Lt[o.position].call(r,s,r._eventPosition);var g=[];for(t=0,n=s.length;t<n;++t)g.push(zt(s[t]));o.filter&&(g=g.filter((function(e){return o.filter(e,u)}))),o.itemSort&&(g=g.sort((function(e,t){return o.itemSort(e,t,u)}))),F.each(g,(function(e){p.push(o.callbacks.labelColor.call(r,e,r._chart)),h.push(o.callbacks.labelTextColor.call(r,e,r._chart))})),a.title=r.getTitle(g,u),a.beforeBody=r.getBeforeBody(g,u),a.body=r.getBody(g,u),a.afterBody=r.getAfterBody(g,u),a.footer=r.getFooter(g,u),a.x=d.x,a.y=d.y,a.caretPadding=o.caretPadding,a.labelColors=p,a.labelTextColors=h,a.dataPoints=g,f=function(e,t){var n=e._chart.ctx,r=2*t.yPadding,o=0,i=t.body,a=i.reduce((function(e,t){return e+t.before.length+t.lines.length+t.after.length}),0);a+=t.beforeBody.length+t.afterBody.length;var s=t.title.length,u=t.footer.length,l=t.titleFontSize,c=t.bodyFontSize,f=t.footerFontSize;r+=s*l,r+=s?(s-1)*t.titleSpacing:0,r+=s?t.titleMarginBottom:0,r+=a*c,r+=a?(a-1)*t.bodySpacing:0,r+=u?t.footerMarginTop:0,r+=u*f,r+=u?(u-1)*t.footerSpacing:0;var d=0,p=function(e){o=Math.max(o,n.measureText(e).width+d)};return n.font=F.fontString(l,t._titleFontStyle,t._titleFontFamily),F.each(t.title,p),n.font=F.fontString(c,t._bodyFontStyle,t._bodyFontFamily),F.each(t.beforeBody.concat(t.afterBody),p),d=t.displayColors?c+2:0,F.each(i,(function(e){F.each(e.before,p),F.each(e.lines,p),F.each(e.after,p)})),d=0,n.font=F.fontString(f,t._footerFontStyle,t._footerFontFamily),F.each(t.footer,p),{width:o+=2*t.xPadding,height:r}}(this,a),c=function(e,t,n,r){var o=e.x,i=e.y,a=e.caretSize,s=e.caretPadding,u=e.cornerRadius,l=n.xAlign,c=n.yAlign,f=a+s,d=u+s;return"right"===l?o-=t.width:"center"===l&&((o-=t.width/2)+t.width>r.width&&(o=r.width-t.width),o<0&&(o=0)),"top"===c?i+=f:i-="bottom"===c?t.height+f:t.height/2,"center"===c?"left"===l?o+=f:"right"===l&&(o-=f):"left"===l?o-=d:"right"===l&&(o+=d),{x:o,y:i}}(a,f,l=function(e,t){var n,r,o,i,a,s=e._model,u=e._chart,l=e._chart.chartArea,c="center",f="center";s.y<t.height?f="top":s.y>u.height-t.height&&(f="bottom");var d=(l.left+l.right)/2,p=(l.top+l.bottom)/2;"center"===f?(n=function(e){return e<=d},r=function(e){return e>d}):(n=function(e){return e<=t.width/2},r=function(e){return e>=u.width-t.width/2}),o=function(e){return e+t.width+s.caretSize+s.caretPadding>u.width},i=function(e){return e-t.width-s.caretSize-s.caretPadding<0},a=function(e){return e<=p?"top":"bottom"},n(s.x)?(c="left",o(s.x)&&(c="center",f=a(s.y))):r(s.x)&&(c="right",i(s.x)&&(c="center",f=a(s.y)));var h=e._options;return{xAlign:h.xAlign?h.xAlign:c,yAlign:h.yAlign?h.yAlign:f}}(this,f),r._chart)}else a.opacity=0;return a.xAlign=l.xAlign,a.yAlign=l.yAlign,a.x=c.x,a.y=c.y,a.width=f.width,a.height=f.height,a.caretX=d.x,a.caretY=d.y,r._model=a,e&&o.custom&&o.custom.call(r,a),r},drawCaret:function(e,t){var n=this._chart.ctx,r=this._view,o=this.getCaretPosition(e,t,r);n.lineTo(o.x1,o.y1),n.lineTo(o.x2,o.y2),n.lineTo(o.x3,o.y3)},getCaretPosition:function(e,t,n){var r,o,i,a,s,u,l=n.caretSize,c=n.cornerRadius,f=n.xAlign,d=n.yAlign,p=e.x,h=e.y,g=t.width,y=t.height;if("center"===d)s=h+y/2,"left"===f?(o=(r=p)-l,i=r,a=s+l,u=s-l):(o=(r=p+g)+l,i=r,a=s-l,u=s+l);else if("left"===f?(r=(o=p+c+l)-l,i=o+l):"right"===f?(r=(o=p+g-c-l)-l,i=o+l):(r=(o=n.caretX)-l,i=o+l),"top"===d)s=(a=h)-l,u=a;else{s=(a=h+y)+l,u=a;var m=i;i=r,r=m}return{x1:r,x2:o,x3:i,y1:a,y2:s,y3:u}},drawTitle:function(e,t,n){var r,o,i,a=t.title,s=a.length;if(s){var u=kt(t.rtl,t.x,t.width);for(e.x=Rt(t,t._titleAlign),n.textAlign=u.textAlign(t._titleAlign),n.textBaseline="middle",r=t.titleFontSize,o=t.titleSpacing,n.fillStyle=t.titleFontColor,n.font=F.fontString(r,t._titleFontStyle,t._titleFontFamily),i=0;i<s;++i)n.fillText(a[i],u.x(e.x),e.y+r/2),e.y+=r+o,i+1===s&&(e.y+=t.titleMarginBottom-o)}},drawBody:function(e,t,n){var r,o,i,a,s,u,l,c,f=t.bodyFontSize,d=t.bodySpacing,p=t._bodyAlign,h=t.body,g=t.displayColors,y=0,m=g?Rt(t,"left"):0,v=kt(t.rtl,t.x,t.width),b=function(t){n.fillText(t,v.x(e.x+y),e.y+f/2),e.y+=f+d},M=v.textAlign(p);for(n.textAlign=p,n.textBaseline="middle",n.font=F.fontString(f,t._bodyFontStyle,t._bodyFontFamily),e.x=Rt(t,M),n.fillStyle=t.bodyFontColor,F.each(t.beforeBody,b),y=g&&"right"!==M?"center"===p?f/2+1:f+2:0,s=0,l=h.length;s<l;++s){for(r=h[s],o=t.labelTextColors[s],i=t.labelColors[s],n.fillStyle=o,F.each(r.before,b),u=0,c=(a=r.lines).length;u<c;++u){if(g){var w=v.x(m);n.fillStyle=t.legendColorBackground,n.fillRect(v.leftForLtr(w,f),e.y,f,f),n.lineWidth=1,n.strokeStyle=i.borderColor,n.strokeRect(v.leftForLtr(w,f),e.y,f,f),n.fillStyle=i.backgroundColor,n.fillRect(v.leftForLtr(v.xPlus(w,1),f-2),e.y+1,f-2,f-2),n.fillStyle=o}b(a[u])}F.each(r.after,b)}y=0,F.each(t.afterBody,b),e.y-=d},drawFooter:function(e,t,n){var r,o,i=t.footer,a=i.length;if(a){var s=kt(t.rtl,t.x,t.width);for(e.x=Rt(t,t._footerAlign),e.y+=t.footerMarginTop,n.textAlign=s.textAlign(t._footerAlign),n.textBaseline="middle",r=t.footerFontSize,n.fillStyle=t.footerFontColor,n.font=F.fontString(r,t._footerFontStyle,t._footerFontFamily),o=0;o<a;++o)n.fillText(i[o],s.x(e.x),e.y+r/2),e.y+=r+t.footerSpacing}},drawBackground:function(e,t,n,r){n.fillStyle=t.backgroundColor,n.strokeStyle=t.borderColor,n.lineWidth=t.borderWidth;var o=t.xAlign,i=t.yAlign,a=e.x,s=e.y,u=r.width,l=r.height,c=t.cornerRadius;n.beginPath(),n.moveTo(a+c,s),"top"===i&&this.drawCaret(e,r),n.lineTo(a+u-c,s),n.quadraticCurveTo(a+u,s,a+u,s+c),"center"===i&&"right"===o&&this.drawCaret(e,r),n.lineTo(a+u,s+l-c),n.quadraticCurveTo(a+u,s+l,a+u-c,s+l),"bottom"===i&&this.drawCaret(e,r),n.lineTo(a+c,s+l),n.quadraticCurveTo(a,s+l,a,s+l-c),"center"===i&&"left"===o&&this.drawCaret(e,r),n.lineTo(a,s+c),n.quadraticCurveTo(a,s,a+c,s),n.closePath(),n.fill(),t.borderWidth>0&&n.stroke()},draw:function(){var e=this._chart.ctx,t=this._view;if(0!==t.opacity){var n={width:t.width,height:t.height},r={x:t.x,y:t.y},o=Math.abs(t.opacity<.001)?0:t.opacity,i=t.title.length||t.beforeBody.length||t.body.length||t.afterBody.length||t.footer.length;this._options.enabled&&i&&(e.save(),e.globalAlpha=o,this.drawBackground(r,t,e,n),r.y+=t.yPadding,F.rtl.overrideTextDirection(e,t.textDirection),this.drawTitle(r,t,e),this.drawBody(r,t,e),this.drawFooter(r,t,e),F.rtl.restoreTextDirection(e,t.textDirection),e.restore())}},handleEvent:function(e){var t,n=this,r=n._options;return n._lastActive=n._lastActive||[],"mouseout"===e.type?n._active=[]:(n._active=n._chart.getElementsAtEventForMode(e,r.mode,r),r.reverse&&n._active.reverse()),(t=!F.arrayEquals(n._active,n._lastActive))&&(n._lastActive=n._active,(r.enabled||r.custom)&&(n._eventPosition={x:e.x,y:e.y},n.update(!0),n.pivot())),t}}),Ft=Lt,Yt=Bt;Yt.positioners=Ft;var Gt=F.valueOrDefault;function Ht(){return F.merge(Object.create(null),[].slice.call(arguments),{merger:function(e,t,n,r){if("xAxes"===e||"yAxes"===e){var o,i,a,s=n[e].length;for(t[e]||(t[e]=[]),o=0;o<s;++o)a=n[e][o],i=Gt(a.type,"xAxes"===e?"category":"linear"),o>=t[e].length&&t[e].push({}),!t[e][o].type||a.type&&a.type!==t[e][o].type?F.merge(t[e][o],[Tt.getScaleDefaults(i),a]):F.merge(t[e][o],a)}else F._merger(e,t,n,r)}})}function Vt(){return F.merge(Object.create(null),[].slice.call(arguments),{merger:function(e,t,n,r){var o=t[e]||Object.create(null),i=n[e];"scales"===e?t[e]=Ht(o,i):"scale"===e?t[e]=F.merge(o,[Tt.getScaleDefaults(i.type),i]):F._merger(e,t,n,r)}})}function Qt(e){var t=e.options;F.each(e.scales,(function(t){ht.removeBox(e,t)})),t=Vt(z.global,z[e.config.type],t),e.options=e.config.options=t,e.ensureScalesHaveIDs(),e.buildOrUpdateScales(),e.tooltip._options=t.tooltips,e.tooltip.initialize()}function Wt(e,t,n){var r,o=function(e){return e.id===r};do{r=t+n++}while(F.findIndex(e,o)>=0);return r}function Zt(e){return"top"===e||"bottom"===e}function qt(e,t){return function(n,r){return n[e]===r[e]?n[t]-r[t]:n[e]-r[e]}}z._set("global",{elements:{},events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,maintainAspectRatio:!0,responsive:!0,responsiveAnimationDuration:0});var Xt=function(e,t){return this.construct(e,t),this};F.extend(Xt.prototype,{construct:function(e,t){var n=this;t=function(e){var t=(e=e||Object.create(null)).data=e.data||{};return t.datasets=t.datasets||[],t.labels=t.labels||[],e.options=Vt(z.global,z[e.type],e.options||{}),e}(t);var r=Et.acquireContext(e,t),o=r&&r.canvas,i=o&&o.height,a=o&&o.width;n.id=F.uid(),n.ctx=r,n.canvas=o,n.config=t,n.width=a,n.height=i,n.aspectRatio=i?a/i:null,n.options=t.options,n._bufferedRender=!1,n._layers=[],n.chart=n,n.controller=n,Xt.instances[n.id]=n,Object.defineProperty(n,"data",{get:function(){return n.config.data},set:function(e){n.config.data=e}}),r&&o?(n.initialize(),n.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var e=this;return Ot.notify(e,"beforeInit"),F.retinaScale(e,e.options.devicePixelRatio),e.bindEvents(),e.options.responsive&&e.resize(!0),e.initToolTip(),Ot.notify(e,"afterInit"),e},clear:function(){return F.canvas.clear(this),this},stop:function(){return $.cancelAnimation(this),this},resize:function(e){var t=this,n=t.options,r=t.canvas,o=n.maintainAspectRatio&&t.aspectRatio||null,i=Math.max(0,Math.floor(F.getMaximumWidth(r))),a=Math.max(0,Math.floor(o?i/o:F.getMaximumHeight(r)));if((t.width!==i||t.height!==a)&&(r.width=t.width=i,r.height=t.height=a,r.style.width=i+"px",r.style.height=a+"px",F.retinaScale(t,n.devicePixelRatio),!e)){var s={width:i,height:a};Ot.notify(t,"resize",[s]),n.onResize&&n.onResize(t,s),t.stop(),t.update({duration:n.responsiveAnimationDuration})}},ensureScalesHaveIDs:function(){var e=this.options,t=e.scales||{},n=e.scale;F.each(t.xAxes,(function(e,n){e.id||(e.id=Wt(t.xAxes,"x-axis-",n))})),F.each(t.yAxes,(function(e,n){e.id||(e.id=Wt(t.yAxes,"y-axis-",n))})),n&&(n.id=n.id||"scale")},buildOrUpdateScales:function(){var e=this,t=e.options,n=e.scales||{},r=[],o=Object.keys(n).reduce((function(e,t){return e[t]=!1,e}),{});t.scales&&(r=r.concat((t.scales.xAxes||[]).map((function(e){return{options:e,dtype:"category",dposition:"bottom"}})),(t.scales.yAxes||[]).map((function(e){return{options:e,dtype:"linear",dposition:"left"}})))),t.scale&&r.push({options:t.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),F.each(r,(function(t){var r=t.options,i=r.id,a=Gt(r.type,t.dtype);Zt(r.position)!==Zt(t.dposition)&&(r.position=t.dposition),o[i]=!0;var s=null;if(i in n&&n[i].type===a)(s=n[i]).options=r,s.ctx=e.ctx,s.chart=e;else{var u=Tt.getScaleConstructor(a);if(!u)return;s=new u({id:i,type:a,options:r,ctx:e.ctx,chart:e}),n[s.id]=s}s.mergeTicksOptions(),t.isDefault&&(e.scale=s)})),F.each(o,(function(e,t){e||delete n[t]})),e.scales=n,Tt.addScalesToLayout(this)},buildOrUpdateControllers:function(){var e,t,n=this,r=[],o=n.data.datasets;for(e=0,t=o.length;e<t;e++){var i=o[e],a=n.getDatasetMeta(e),s=i.type||n.config.type;if(a.type&&a.type!==s&&(n.destroyDatasetMeta(e),a=n.getDatasetMeta(e)),a.type=s,a.order=i.order||0,a.index=e,a.controller)a.controller.updateIndex(e),a.controller.linkScales();else{var u=$e[a.type];if(void 0===u)throw new Error('"'+a.type+'" is not a chart type.');a.controller=new u(n,e),r.push(a.controller)}}return r},resetElements:function(){var e=this;F.each(e.data.datasets,(function(t,n){e.getDatasetMeta(n).controller.reset()}),e)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(e){var t,n,r=this;if(e&&"object"===typeof e||(e={duration:e,lazy:arguments[1]}),Qt(r),Ot._invalidate(r),!1!==Ot.notify(r,"beforeUpdate")){r.tooltip._data=r.data;var o=r.buildOrUpdateControllers();for(t=0,n=r.data.datasets.length;t<n;t++)r.getDatasetMeta(t).controller.buildOrUpdateElements();r.updateLayout(),r.options.animation&&r.options.animation.duration&&F.each(o,(function(e){e.reset()})),r.updateDatasets(),r.tooltip.initialize(),r.lastActive=[],Ot.notify(r,"afterUpdate"),r._layers.sort(qt("z","_idx")),r._bufferedRender?r._bufferedRequest={duration:e.duration,easing:e.easing,lazy:e.lazy}:r.render(e)}},updateLayout:function(){var e=this;!1!==Ot.notify(e,"beforeLayout")&&(ht.update(this,this.width,this.height),e._layers=[],F.each(e.boxes,(function(t){t._configure&&t._configure(),e._layers.push.apply(e._layers,t._layers())}),e),e._layers.forEach((function(e,t){e._idx=t})),Ot.notify(e,"afterScaleUpdate"),Ot.notify(e,"afterLayout"))},updateDatasets:function(){if(!1!==Ot.notify(this,"beforeDatasetsUpdate")){for(var e=0,t=this.data.datasets.length;e<t;++e)this.updateDataset(e);Ot.notify(this,"afterDatasetsUpdate")}},updateDataset:function(e){var t=this.getDatasetMeta(e),n={meta:t,index:e};!1!==Ot.notify(this,"beforeDatasetUpdate",[n])&&(t.controller._update(),Ot.notify(this,"afterDatasetUpdate",[n]))},render:function(e){var t=this;e&&"object"===typeof e||(e={duration:e,lazy:arguments[1]});var n=t.options.animation,r=Gt(e.duration,n&&n.duration),o=e.lazy;if(!1!==Ot.notify(t,"beforeRender")){var i=function(e){Ot.notify(t,"afterRender"),F.callback(n&&n.onComplete,[e],t)};if(n&&r){var a=new X({numSteps:r/16.66,easing:e.easing||n.easing,render:function(e,t){var n=F.easing.effects[t.easing],r=t.currentStep,o=r/t.numSteps;e.draw(n(o),o,r)},onAnimationProgress:n.onProgress,onAnimationComplete:i});$.addAnimation(t,a,r,o)}else t.draw(),i(new X({numSteps:0,chart:t}));return t}},draw:function(e){var t,n,r=this;if(r.clear(),F.isNullOrUndef(e)&&(e=1),r.transition(e),!(r.width<=0||r.height<=0)&&!1!==Ot.notify(r,"beforeDraw",[e])){for(n=r._layers,t=0;t<n.length&&n[t].z<=0;++t)n[t].draw(r.chartArea);for(r.drawDatasets(e);t<n.length;++t)n[t].draw(r.chartArea);r._drawTooltip(e),Ot.notify(r,"afterDraw",[e])}},transition:function(e){for(var t=0,n=(this.data.datasets||[]).length;t<n;++t)this.isDatasetVisible(t)&&this.getDatasetMeta(t).controller.transition(e);this.tooltip.transition(e)},_getSortedDatasetMetas:function(e){var t,n,r=[];for(t=0,n=(this.data.datasets||[]).length;t<n;++t)e&&!this.isDatasetVisible(t)||r.push(this.getDatasetMeta(t));return r.sort(qt("order","index")),r},_getSortedVisibleDatasetMetas:function(){return this._getSortedDatasetMetas(!0)},drawDatasets:function(e){var t,n;if(!1!==Ot.notify(this,"beforeDatasetsDraw",[e])){for(n=(t=this._getSortedVisibleDatasetMetas()).length-1;n>=0;--n)this.drawDataset(t[n],e);Ot.notify(this,"afterDatasetsDraw",[e])}},drawDataset:function(e,t){var n={meta:e,index:e.index,easingValue:t};!1!==Ot.notify(this,"beforeDatasetDraw",[n])&&(e.controller.draw(t),Ot.notify(this,"afterDatasetDraw",[n]))},_drawTooltip:function(e){var t=this.tooltip,n={tooltip:t,easingValue:e};!1!==Ot.notify(this,"beforeTooltipDraw",[n])&&(t.draw(),Ot.notify(this,"afterTooltipDraw",[n]))},getElementAtEvent:function(e){return ot.modes.single(this,e)},getElementsAtEvent:function(e){return ot.modes.label(this,e,{intersect:!0})},getElementsAtXAxis:function(e){return ot.modes["x-axis"](this,e,{intersect:!0})},getElementsAtEventForMode:function(e,t,n){var r=ot.modes[t];return"function"===typeof r?r(this,e,n):[]},getDatasetAtEvent:function(e){return ot.modes.dataset(this,e,{intersect:!0})},getDatasetMeta:function(e){var t=this.data.datasets[e];t._meta||(t._meta={});var n=t._meta[this.id];return n||(n=t._meta[this.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:t.order||0,index:e}),n},getVisibleDatasetCount:function(){for(var e=0,t=0,n=this.data.datasets.length;t<n;++t)this.isDatasetVisible(t)&&e++;return e},isDatasetVisible:function(e){var t=this.getDatasetMeta(e);return"boolean"===typeof t.hidden?!t.hidden:!this.data.datasets[e].hidden},generateLegend:function(){return this.options.legendCallback(this)},destroyDatasetMeta:function(e){var t=this.id,n=this.data.datasets[e],r=n._meta&&n._meta[t];r&&(r.controller.destroy(),delete n._meta[t])},destroy:function(){var e,t,n=this,r=n.canvas;for(n.stop(),e=0,t=n.data.datasets.length;e<t;++e)n.destroyDatasetMeta(e);r&&(n.unbindEvents(),F.canvas.clear(n),Et.releaseContext(n.ctx),n.canvas=null,n.ctx=null),Ot.notify(n,"destroy"),delete Xt.instances[n.id]},toBase64Image:function(){return this.canvas.toDataURL.apply(this.canvas,arguments)},initToolTip:function(){var e=this;e.tooltip=new Yt({_chart:e,_chartInstance:e,_data:e.data,_options:e.options.tooltips},e)},bindEvents:function(){var e=this,t=e._listeners={},n=function(){e.eventHandler.apply(e,arguments)};F.each(e.options.events,(function(r){Et.addEventListener(e,r,n),t[r]=n})),e.options.responsive&&(n=function(){e.resize()},Et.addEventListener(e,"resize",n),t.resize=n)},unbindEvents:function(){var e=this,t=e._listeners;t&&(delete e._listeners,F.each(t,(function(t,n){Et.removeEventListener(e,n,t)})))},updateHoverStyle:function(e,t,n){var r,o,i,a=n?"set":"remove";for(o=0,i=e.length;o<i;++o)(r=e[o])&&this.getDatasetMeta(r._datasetIndex).controller[a+"HoverStyle"](r);"dataset"===t&&this.getDatasetMeta(e[0]._datasetIndex).controller["_"+a+"DatasetHoverStyle"]()},eventHandler:function(e){var t=this,n=t.tooltip;if(!1!==Ot.notify(t,"beforeEvent",[e])){t._bufferedRender=!0,t._bufferedRequest=null;var r=t.handleEvent(e);n&&(r=n._start?n.handleEvent(e):r|n.handleEvent(e)),Ot.notify(t,"afterEvent",[e]);var o=t._bufferedRequest;return o?t.render(o):r&&!t.animating&&(t.stop(),t.render({duration:t.options.hover.animationDuration,lazy:!0})),t._bufferedRender=!1,t._bufferedRequest=null,t}},handleEvent:function(e){var t,n=this,r=n.options||{},o=r.hover;return n.lastActive=n.lastActive||[],"mouseout"===e.type?n.active=[]:n.active=n.getElementsAtEventForMode(e,o.mode,o),F.callback(r.onHover||r.hover.onHover,[e.native,n.active],n),"mouseup"!==e.type&&"click"!==e.type||r.onClick&&r.onClick.call(n,e.native,n.active),n.lastActive.length&&n.updateHoverStyle(n.lastActive,o.mode,!1),n.active.length&&o.mode&&n.updateHoverStyle(n.active,o.mode,!0),t=!F.arrayEquals(n.active,n.lastActive),n.lastActive=n.active,t}}),Xt.instances={};var $t=Xt;function Jt(){throw new Error("This method is not implemented: either no adapter can be found or an incomplete integration was provided.")}function Kt(e){this.options=e||{}}Xt.Controller=Xt,Xt.types={},F.configMerge=Vt,F.scaleMerge=Ht,F.extend(Kt.prototype,{formats:Jt,parse:Jt,format:Jt,add:Jt,diff:Jt,startOf:Jt,endOf:Jt,_create:function(e){return e}}),Kt.override=function(e){F.extend(Kt.prototype,e)};var en={_date:Kt},tn={formatters:{values:function(e){return F.isArray(e)?e:""+e},linear:function(e,t,n){var r=n.length>3?n[2]-n[1]:n[1]-n[0];Math.abs(r)>1&&e!==Math.floor(e)&&(r=e-Math.floor(e));var o=F.log10(Math.abs(r)),i="";if(0!==e)if(Math.max(Math.abs(n[0]),Math.abs(n[n.length-1]))<1e-4){var a=F.log10(Math.abs(e)),s=Math.floor(a)-Math.floor(o);s=Math.max(Math.min(s,20),0),i=e.toExponential(s)}else{var u=-1*Math.floor(o);u=Math.max(Math.min(u,20),0),i=e.toFixed(u)}else i="0";return i},logarithmic:function(e,t,n){var r=e/Math.pow(10,Math.floor(F.log10(e)));return 0===e?"0":1===r||2===r||5===r||0===t||t===n.length-1?e.toExponential():""}}},nn=F.isArray,rn=F.isNullOrUndef,on=F.valueOrDefault,an=F.valueAtIndexOrDefault;function sn(e,t,n){var r,o=e.getTicks().length,i=Math.min(t,o-1),a=e.getPixelForTick(i),s=e._startPixel,u=e._endPixel;if(!(n&&(r=1===o?Math.max(a-s,u-a):0===t?(e.getPixelForTick(1)-a)/2:(a-e.getPixelForTick(i-1))/2,(a+=i<t?r:-r)<s-1e-6||a>u+1e-6)))return a}function un(e,t,n,r){var o,i,a,s,u,l,c,f,d,p,h,g,y,m=n.length,v=[],b=[],M=[],w=0,N=0;for(o=0;o<m;++o){if(s=n[o].label,u=n[o].major?t.major:t.minor,e.font=l=u.string,c=r[l]=r[l]||{data:{},gc:[]},f=u.lineHeight,d=p=0,rn(s)||nn(s)){if(nn(s))for(i=0,a=s.length;i<a;++i)h=s[i],rn(h)||nn(h)||(d=F.measureText(e,c.data,c.gc,d,h),p+=f)}else d=F.measureText(e,c.data,c.gc,d,s),p=f;v.push(d),b.push(p),M.push(f/2),w=Math.max(d,w),N=Math.max(p,N)}function j(e){return{width:v[e]||0,height:b[e]||0,offset:M[e]||0}}return function(e,t){F.each(e,(function(e){var n,r=e.gc,o=r.length/2;if(o>t){for(n=0;n<o;++n)delete e.data[r[n]];r.splice(0,o)}}))}(r,m),g=v.indexOf(w),y=b.indexOf(N),{first:j(0),last:j(m-1),widest:j(g),highest:j(y)}}function ln(e){return e.drawTicks?e.tickMarkLength:0}function cn(e){var t,n;return e.display?(t=F.options._parseFont(e),n=F.options.toPadding(e.padding),t.lineHeight+n.height):0}function fn(e,t){return F.extend(F.options._parseFont({fontFamily:on(t.fontFamily,e.fontFamily),fontSize:on(t.fontSize,e.fontSize),fontStyle:on(t.fontStyle,e.fontStyle),lineHeight:on(t.lineHeight,e.lineHeight)}),{color:F.options.resolve([t.fontColor,e.fontColor,z.global.defaultFontColor])})}function dn(e){var t=fn(e,e.minor);return{minor:t,major:e.major.enabled?fn(e,e.major):t}}function pn(e){var t,n,r,o=[];for(n=0,r=e.length;n<r;++n)"undefined"!==typeof(t=e[n])._index&&o.push(t);return o}function hn(e,t,n,r){var o,i,a,s,u=on(n,0),l=Math.min(on(r,e.length),e.length),c=0;for(t=Math.ceil(t),r&&(t=(o=r-n)/Math.floor(o/t)),s=u;s<0;)c++,s=Math.round(u+c*t);for(i=Math.max(u,0);i<l;i++)a=e[i],i===s?(a._index=i,c++,s=Math.round(u+c*t)):delete a.label}z._set("scale",{display:!0,position:"left",offset:!1,gridLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickMarkLength:10,zeroLineWidth:1,zeroLineColor:"rgba(0,0,0,0.25)",zeroLineBorderDash:[],zeroLineBorderDashOffset:0,offsetGridLines:!1,borderDash:[],borderDashOffset:0},scaleLabel:{display:!1,labelString:"",padding:{top:4,bottom:4}},ticks:{beginAtZero:!1,minRotation:0,maxRotation:50,mirror:!1,padding:0,reverse:!1,display:!0,autoSkip:!0,autoSkipPadding:0,labelOffset:0,callback:tn.formatters.values,minor:{},major:{}}});var gn=Z.extend({zeroLineIndex:0,getPadding:function(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}},getTicks:function(){return this._ticks},_getLabels:function(){var e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]},mergeTicksOptions:function(){},beforeUpdate:function(){F.callback(this.options.beforeUpdate,[this])},update:function(e,t,n){var r,o,i,a,s,u=this,l=u.options.ticks,c=l.sampleSize;if(u.beforeUpdate(),u.maxWidth=e,u.maxHeight=t,u.margins=F.extend({left:0,right:0,top:0,bottom:0},n),u._ticks=null,u.ticks=null,u._labelSizes=null,u._maxLabelLines=0,u.longestLabelWidth=0,u.longestTextCache=u.longestTextCache||{},u._gridLineItems=null,u._labelItems=null,u.beforeSetDimensions(),u.setDimensions(),u.afterSetDimensions(),u.beforeDataLimits(),u.determineDataLimits(),u.afterDataLimits(),u.beforeBuildTicks(),a=u.buildTicks()||[],(!(a=u.afterBuildTicks(a)||a)||!a.length)&&u.ticks)for(a=[],r=0,o=u.ticks.length;r<o;++r)a.push({value:u.ticks[r],major:!1});return u._ticks=a,s=c<a.length,i=u._convertTicksToLabels(s?function(e,t){for(var n=[],r=e.length/t,o=0,i=e.length;o<i;o+=r)n.push(e[Math.floor(o)]);return n}(a,c):a),u._configure(),u.beforeCalculateTickRotation(),u.calculateTickRotation(),u.afterCalculateTickRotation(),u.beforeFit(),u.fit(),u.afterFit(),u._ticksToDraw=l.display&&(l.autoSkip||"auto"===l.source)?u._autoSkip(a):a,s&&(i=u._convertTicksToLabels(u._ticksToDraw)),u.ticks=i,u.afterUpdate(),u.minSize},_configure:function(){var e,t,n=this,r=n.options.ticks.reverse;n.isHorizontal()?(e=n.left,t=n.right):(e=n.top,t=n.bottom,r=!r),n._startPixel=e,n._endPixel=t,n._reversePixels=r,n._length=t-e},afterUpdate:function(){F.callback(this.options.afterUpdate,[this])},beforeSetDimensions:function(){F.callback(this.options.beforeSetDimensions,[this])},setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0},afterSetDimensions:function(){F.callback(this.options.afterSetDimensions,[this])},beforeDataLimits:function(){F.callback(this.options.beforeDataLimits,[this])},determineDataLimits:F.noop,afterDataLimits:function(){F.callback(this.options.afterDataLimits,[this])},beforeBuildTicks:function(){F.callback(this.options.beforeBuildTicks,[this])},buildTicks:F.noop,afterBuildTicks:function(e){var t=this;return nn(e)&&e.length?F.callback(t.options.afterBuildTicks,[t,e]):(t.ticks=F.callback(t.options.afterBuildTicks,[t,t.ticks])||t.ticks,e)},beforeTickToLabelConversion:function(){F.callback(this.options.beforeTickToLabelConversion,[this])},convertTicksToLabels:function(){var e=this.options.ticks;this.ticks=this.ticks.map(e.userCallback||e.callback,this)},afterTickToLabelConversion:function(){F.callback(this.options.afterTickToLabelConversion,[this])},beforeCalculateTickRotation:function(){F.callback(this.options.beforeCalculateTickRotation,[this])},calculateTickRotation:function(){var e,t,n,r,o,i,a,s=this,u=s.options,l=u.ticks,c=s.getTicks().length,f=l.minRotation||0,d=l.maxRotation,p=f;!s._isVisible()||!l.display||f>=d||c<=1||!s.isHorizontal()?s.labelRotation=f:(t=(e=s._getLabelSizes()).widest.width,n=e.highest.height-e.highest.offset,r=Math.min(s.maxWidth,s.chart.width-t),t+6>(o=u.offset?s.maxWidth/c:r/(c-1))&&(o=r/(c-(u.offset?.5:1)),i=s.maxHeight-ln(u.gridLines)-l.padding-cn(u.scaleLabel),a=Math.sqrt(t*t+n*n),p=F.toDegrees(Math.min(Math.asin(Math.min((e.highest.height+6)/o,1)),Math.asin(Math.min(i/a,1))-Math.asin(n/a))),p=Math.max(f,Math.min(d,p))),s.labelRotation=p)},afterCalculateTickRotation:function(){F.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){F.callback(this.options.beforeFit,[this])},fit:function(){var e=this,t=e.minSize={width:0,height:0},n=e.chart,r=e.options,o=r.ticks,i=r.scaleLabel,a=r.gridLines,s=e._isVisible(),u="bottom"===r.position,l=e.isHorizontal();if(l?t.width=e.maxWidth:s&&(t.width=ln(a)+cn(i)),l?s&&(t.height=ln(a)+cn(i)):t.height=e.maxHeight,o.display&&s){var c=dn(o),f=e._getLabelSizes(),d=f.first,p=f.last,h=f.widest,g=f.highest,y=.4*c.minor.lineHeight,m=o.padding;if(l){var v=0!==e.labelRotation,b=F.toRadians(e.labelRotation),M=Math.cos(b),w=Math.sin(b),N=w*h.width+M*(g.height-(v?g.offset:0))+(v?0:y);t.height=Math.min(e.maxHeight,t.height+N+m);var j,S,I=e.getPixelForTick(0)-e.left,D=e.right-e.getPixelForTick(e.getTicks().length-1);v?(j=u?M*d.width+w*d.offset:w*(d.height-d.offset),S=u?w*(p.height-p.offset):M*p.width+w*p.offset):(j=d.width/2,S=p.width/2),e.paddingLeft=Math.max((j-I)*e.width/(e.width-I),0)+3,e.paddingRight=Math.max((S-D)*e.width/(e.width-D),0)+3}else{var x=o.mirror?0:h.width+m+y;t.width=Math.min(e.maxWidth,t.width+x),e.paddingTop=d.height/2,e.paddingBottom=p.height/2}}e.handleMargins(),l?(e.width=e._length=n.width-e.margins.left-e.margins.right,e.height=t.height):(e.width=t.width,e.height=e._length=n.height-e.margins.top-e.margins.bottom)},handleMargins:function(){var e=this;e.margins&&(e.margins.left=Math.max(e.paddingLeft,e.margins.left),e.margins.top=Math.max(e.paddingTop,e.margins.top),e.margins.right=Math.max(e.paddingRight,e.margins.right),e.margins.bottom=Math.max(e.paddingBottom,e.margins.bottom))},afterFit:function(){F.callback(this.options.afterFit,[this])},isHorizontal:function(){var e=this.options.position;return"top"===e||"bottom"===e},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(e){if(rn(e))return NaN;if(("number"===typeof e||e instanceof Number)&&!isFinite(e))return NaN;if(e)if(this.isHorizontal()){if(void 0!==e.x)return this.getRightValue(e.x)}else if(void 0!==e.y)return this.getRightValue(e.y);return e},_convertTicksToLabels:function(e){var t,n,r,o=this;for(o.ticks=e.map((function(e){return e.value})),o.beforeTickToLabelConversion(),t=o.convertTicksToLabels(e)||o.ticks,o.afterTickToLabelConversion(),n=0,r=e.length;n<r;++n)e[n].label=t[n];return t},_getLabelSizes:function(){var e=this,t=e._labelSizes;return t||(e._labelSizes=t=un(e.ctx,dn(e.options.ticks),e.getTicks(),e.longestTextCache),e.longestLabelWidth=t.widest.width),t},_parseValue:function(e){var t,n,r,o;return nn(e)?(t=+this.getRightValue(e[0]),n=+this.getRightValue(e[1]),r=Math.min(t,n),o=Math.max(t,n)):(t=void 0,n=e=+this.getRightValue(e),r=e,o=e),{min:r,max:o,start:t,end:n}},_getScaleLabel:function(e){var t=this._parseValue(e);return void 0!==t.start?"["+t.start+", "+t.end+"]":+this.getRightValue(e)},getLabelForIndex:F.noop,getPixelForValue:F.noop,getValueForPixel:F.noop,getPixelForTick:function(e){var t=this.options.offset,n=this._ticks.length,r=1/Math.max(n-(t?0:1),1);return e<0||e>n-1?null:this.getPixelForDecimal(e*r+(t?r/2:0))},getPixelForDecimal:function(e){return this._reversePixels&&(e=1-e),this._startPixel+e*this._length},getDecimalForPixel:function(e){var t=(e-this._startPixel)/this._length;return this._reversePixels?1-t:t},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var e=this.min,t=this.max;return this.beginAtZero?0:e<0&&t<0?t:e>0&&t>0?e:0},_autoSkip:function(e){var t,n,r,o,i=this.options.ticks,a=this._length,s=i.maxTicksLimit||a/this._tickSize()+1,u=i.major.enabled?function(e){var t,n,r=[];for(t=0,n=e.length;t<n;t++)e[t].major&&r.push(t);return r}(e):[],l=u.length,c=u[0],f=u[l-1];if(l>s)return function(e,t,n){var r,o,i=0,a=t[0];for(n=Math.ceil(n),r=0;r<e.length;r++)o=e[r],r===a?(o._index=r,a=t[++i*n]):delete o.label}(e,u,l/s),pn(e);if(r=function(e,t,n,r){var o,i,a,s,u=function(e){var t,n,r=e.length;if(r<2)return!1;for(n=e[0],t=1;t<r;++t)if(e[t]-e[t-1]!==n)return!1;return n}(e),l=(t.length-1)/r;if(!u)return Math.max(l,1);for(a=0,s=(o=F.math._factorize(u)).length-1;a<s;a++)if((i=o[a])>l)return i;return Math.max(l,1)}(u,e,0,s),l>0){for(t=0,n=l-1;t<n;t++)hn(e,r,u[t],u[t+1]);return o=l>1?(f-c)/(l-1):null,hn(e,r,F.isNullOrUndef(o)?0:c-o,c),hn(e,r,f,F.isNullOrUndef(o)?e.length:f+o),pn(e)}return hn(e,r),pn(e)},_tickSize:function(){var e=this.options.ticks,t=F.toRadians(this.labelRotation),n=Math.abs(Math.cos(t)),r=Math.abs(Math.sin(t)),o=this._getLabelSizes(),i=e.autoSkipPadding||0,a=o?o.widest.width+i:0,s=o?o.highest.height+i:0;return this.isHorizontal()?s*n>a*r?a/n:s/r:s*r<a*n?s/n:a/r},_isVisible:function(){var e,t,n,r=this.chart,o=this.options.display;if("auto"!==o)return!!o;for(e=0,t=r.data.datasets.length;e<t;++e)if(r.isDatasetVisible(e)&&((n=r.getDatasetMeta(e)).xAxisID===this.id||n.yAxisID===this.id))return!0;return!1},_computeGridLineItems:function(e){var t,n,r,o,i,a,s,u,l,c,f,d,p,h,g,y,m,v=this,b=v.chart,M=v.options,w=M.gridLines,N=M.position,j=w.offsetGridLines,S=v.isHorizontal(),I=v._ticksToDraw,D=I.length+(j?1:0),x=ln(w),E=[],O=w.drawBorder?an(w.lineWidth,0,0):0,T=O/2,C=F._alignPixel,k=function(e){return C(b,e,O)};for("top"===N?(t=k(v.bottom),s=v.bottom-x,l=t-T,f=k(e.top)+T,p=e.bottom):"bottom"===N?(t=k(v.top),f=e.top,p=k(e.bottom)-T,s=t+T,l=v.top+x):"left"===N?(t=k(v.right),a=v.right-x,u=t-T,c=k(e.left)+T,d=e.right):(t=k(v.left),c=e.left,d=k(e.right)-T,a=t+T,u=v.left+x),n=0;n<D;++n)r=I[n]||{},rn(r.label)&&n<I.length||(n===v.zeroLineIndex&&M.offset===j?(h=w.zeroLineWidth,g=w.zeroLineColor,y=w.zeroLineBorderDash||[],m=w.zeroLineBorderDashOffset||0):(h=an(w.lineWidth,n,1),g=an(w.color,n,"rgba(0,0,0,0.1)"),y=w.borderDash||[],m=w.borderDashOffset||0),void 0!==(o=sn(v,r._index||n,j))&&(i=C(b,o,h),S?a=u=c=d=i:s=l=f=p=i,E.push({tx1:a,ty1:s,tx2:u,ty2:l,x1:c,y1:f,x2:d,y2:p,width:h,color:g,borderDash:y,borderDashOffset:m})));return E.ticksLength=D,E.borderValue=t,E},_computeLabelItems:function(){var e,t,n,r,o,i,a,s,u,l,c,f,d=this,p=d.options,h=p.ticks,g=p.position,y=h.mirror,m=d.isHorizontal(),v=d._ticksToDraw,b=dn(h),M=h.padding,w=ln(p.gridLines),N=-F.toRadians(d.labelRotation),j=[];for("top"===g?(i=d.bottom-w-M,a=N?"left":"center"):"bottom"===g?(i=d.top+w+M,a=N?"right":"center"):"left"===g?(o=d.right-(y?0:w)-M,a=y?"left":"right"):(o=d.left+(y?0:w)+M,a=y?"right":"left"),e=0,t=v.length;e<t;++e)r=(n=v[e]).label,rn(r)||(s=d.getPixelForTick(n._index||e)+h.labelOffset,l=(u=n.major?b.major:b.minor).lineHeight,c=nn(r)?r.length:1,m?(o=s,f="top"===g?((N?1:.5)-c)*l:(N?0:.5)*l):(i=s,f=(1-c)*l/2),j.push({x:o,y:i,rotation:N,label:r,font:u,textOffset:f,textAlign:a}));return j},_drawGrid:function(e){var t=this,n=t.options.gridLines;if(n.display){var r,o,i,a,s,u=t.ctx,l=t.chart,c=F._alignPixel,f=n.drawBorder?an(n.lineWidth,0,0):0,d=t._gridLineItems||(t._gridLineItems=t._computeGridLineItems(e));for(i=0,a=d.length;i<a;++i)r=(s=d[i]).width,o=s.color,r&&o&&(u.save(),u.lineWidth=r,u.strokeStyle=o,u.setLineDash&&(u.setLineDash(s.borderDash),u.lineDashOffset=s.borderDashOffset),u.beginPath(),n.drawTicks&&(u.moveTo(s.tx1,s.ty1),u.lineTo(s.tx2,s.ty2)),n.drawOnChartArea&&(u.moveTo(s.x1,s.y1),u.lineTo(s.x2,s.y2)),u.stroke(),u.restore());if(f){var p,h,g,y,m=f,v=an(n.lineWidth,d.ticksLength-1,1),b=d.borderValue;t.isHorizontal()?(p=c(l,t.left,m)-m/2,h=c(l,t.right,v)+v/2,g=y=b):(g=c(l,t.top,m)-m/2,y=c(l,t.bottom,v)+v/2,p=h=b),u.lineWidth=f,u.strokeStyle=an(n.color,0),u.beginPath(),u.moveTo(p,g),u.lineTo(h,y),u.stroke()}}},_drawLabels:function(){var e=this;if(e.options.ticks.display){var t,n,r,o,i,a,s,u,l=e.ctx,c=e._labelItems||(e._labelItems=e._computeLabelItems());for(t=0,r=c.length;t<r;++t){if(a=(i=c[t]).font,l.save(),l.translate(i.x,i.y),l.rotate(i.rotation),l.font=a.string,l.fillStyle=a.color,l.textBaseline="middle",l.textAlign=i.textAlign,s=i.label,u=i.textOffset,nn(s))for(n=0,o=s.length;n<o;++n)l.fillText(""+s[n],0,u),u+=a.lineHeight;else l.fillText(s,0,u);l.restore()}}},_drawTitle:function(){var e=this,t=e.ctx,n=e.options,r=n.scaleLabel;if(r.display){var o,i,a=on(r.fontColor,z.global.defaultFontColor),s=F.options._parseFont(r),u=F.options.toPadding(r.padding),l=s.lineHeight/2,c=n.position,f=0;if(e.isHorizontal())o=e.left+e.width/2,i="bottom"===c?e.bottom-l-u.bottom:e.top+l+u.top;else{var d="left"===c;o=d?e.left+l+u.top:e.right-l-u.top,i=e.top+e.height/2,f=d?-.5*Math.PI:.5*Math.PI}t.save(),t.translate(o,i),t.rotate(f),t.textAlign="center",t.textBaseline="middle",t.fillStyle=a,t.font=s.string,t.fillText(r.labelString,0,0),t.restore()}},draw:function(e){this._isVisible()&&(this._drawGrid(e),this._drawTitle(),this._drawLabels())},_layers:function(){var e=this,t=e.options,n=t.ticks&&t.ticks.z||0,r=t.gridLines&&t.gridLines.z||0;return e._isVisible()&&n!==r&&e.draw===e._draw?[{z:r,draw:function(){e._drawGrid.apply(e,arguments),e._drawTitle.apply(e,arguments)}},{z:n,draw:function(){e._drawLabels.apply(e,arguments)}}]:[{z:n,draw:function(){e.draw.apply(e,arguments)}}]},_getMatchingVisibleMetas:function(e){var t=this,n=t.isHorizontal();return t.chart._getSortedVisibleDatasetMetas().filter((function(r){return(!e||r.type===e)&&(n?r.xAxisID===t.id:r.yAxisID===t.id)}))}});gn.prototype._draw=gn.prototype.draw;var yn=gn,mn=F.isNullOrUndef,vn=yn.extend({determineDataLimits:function(){var e,t=this,n=t._getLabels(),r=t.options.ticks,o=r.min,i=r.max,a=0,s=n.length-1;void 0!==o&&(e=n.indexOf(o))>=0&&(a=e),void 0!==i&&(e=n.indexOf(i))>=0&&(s=e),t.minIndex=a,t.maxIndex=s,t.min=n[a],t.max=n[s]},buildTicks:function(){var e=this._getLabels(),t=this.minIndex,n=this.maxIndex;this.ticks=0===t&&n===e.length-1?e:e.slice(t,n+1)},getLabelForIndex:function(e,t){var n=this.chart;return n.getDatasetMeta(t).controller._getValueScaleId()===this.id?this.getRightValue(n.data.datasets[t].data[e]):this._getLabels()[e]},_configure:function(){var e=this,t=e.options.offset,n=e.ticks;yn.prototype._configure.call(e),e.isHorizontal()||(e._reversePixels=!e._reversePixels),n&&(e._startValue=e.minIndex-(t?.5:0),e._valueRange=Math.max(n.length-(t?0:1),1))},getPixelForValue:function(e,t,n){var r,o,i,a=this;return mn(t)||mn(n)||(e=a.chart.data.datasets[n].data[t]),mn(e)||(r=a.isHorizontal()?e.x:e.y),(void 0!==r||void 0!==e&&isNaN(t))&&(o=a._getLabels(),e=F.valueOrDefault(r,e),t=-1!==(i=o.indexOf(e))?i:t,isNaN(t)&&(t=e)),a.getPixelForDecimal((t-a._startValue)/a._valueRange)},getPixelForTick:function(e){var t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e],e+this.minIndex)},getValueForPixel:function(e){var t=Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange);return Math.min(Math.max(t,0),this.ticks.length-1)},getBasePixel:function(){return this.bottom}}),bn={position:"bottom"};vn._defaults=bn;var Mn=F.noop,wn=F.isNullOrUndef,Nn=yn.extend({getRightValue:function(e){return"string"===typeof e?+e:yn.prototype.getRightValue.call(this,e)},handleTickRangeOptions:function(){var e=this,t=e.options.ticks;if(t.beginAtZero){var n=F.sign(e.min),r=F.sign(e.max);n<0&&r<0?e.max=0:n>0&&r>0&&(e.min=0)}var o=void 0!==t.min||void 0!==t.suggestedMin,i=void 0!==t.max||void 0!==t.suggestedMax;void 0!==t.min?e.min=t.min:void 0!==t.suggestedMin&&(null===e.min?e.min=t.suggestedMin:e.min=Math.min(e.min,t.suggestedMin)),void 0!==t.max?e.max=t.max:void 0!==t.suggestedMax&&(null===e.max?e.max=t.suggestedMax:e.max=Math.max(e.max,t.suggestedMax)),o!==i&&e.min>=e.max&&(o?e.max=e.min+1:e.min=e.max-1),e.min===e.max&&(e.max++,t.beginAtZero||e.min--)},getTickLimit:function(){var e,t=this.options.ticks,n=t.stepSize,r=t.maxTicksLimit;return n?e=Math.ceil(this.max/n)-Math.floor(this.min/n)+1:(e=this._computeTickLimit(),r=r||11),r&&(e=Math.min(r,e)),e},_computeTickLimit:function(){return Number.POSITIVE_INFINITY},handleDirectionalChanges:Mn,buildTicks:function(){var e=this,t=e.options.ticks,n=e.getTickLimit(),r={maxTicks:n=Math.max(2,n),min:t.min,max:t.max,precision:t.precision,stepSize:F.valueOrDefault(t.fixedStepSize,t.stepSize)},o=e.ticks=function(e,t){var n,r,o,i,a=[],s=e.stepSize,u=s||1,l=e.maxTicks-1,c=e.min,f=e.max,d=e.precision,p=t.min,h=t.max,g=F.niceNum((h-p)/l/u)*u;if(g<1e-14&&wn(c)&&wn(f))return[p,h];(i=Math.ceil(h/g)-Math.floor(p/g))>l&&(g=F.niceNum(i*g/l/u)*u),s||wn(d)?n=Math.pow(10,F._decimalPlaces(g)):(n=Math.pow(10,d),g=Math.ceil(g*n)/n),r=Math.floor(p/g)*g,o=Math.ceil(h/g)*g,s&&(!wn(c)&&F.almostWhole(c/g,g/1e3)&&(r=c),!wn(f)&&F.almostWhole(f/g,g/1e3)&&(o=f)),i=(o-r)/g,i=F.almostEquals(i,Math.round(i),g/1e3)?Math.round(i):Math.ceil(i),r=Math.round(r*n)/n,o=Math.round(o*n)/n,a.push(wn(c)?r:c);for(var y=1;y<i;++y)a.push(Math.round((r+y*g)*n)/n);return a.push(wn(f)?o:f),a}(r,e);e.handleDirectionalChanges(),e.max=F.max(o),e.min=F.min(o),t.reverse?(o.reverse(),e.start=e.max,e.end=e.min):(e.start=e.min,e.end=e.max)},convertTicksToLabels:function(){var e=this;e.ticksAsNumbers=e.ticks.slice(),e.zeroLineIndex=e.ticks.indexOf(0),yn.prototype.convertTicksToLabels.call(e)},_configure:function(){var e,t=this,n=t.getTicks(),r=t.min,o=t.max;yn.prototype._configure.call(t),t.options.offset&&n.length&&(r-=e=(o-r)/Math.max(n.length-1,1)/2,o+=e),t._startValue=r,t._endValue=o,t._valueRange=o-r}}),jn={position:"left",ticks:{callback:tn.formatters.linear}};function Sn(e,t,n,r){var o,i,a=e.options,s=function(e,t,n){var r=[n.type,void 0===t&&void 0===n.stack?n.index:"",n.stack].join(".");return void 0===e[r]&&(e[r]={pos:[],neg:[]}),e[r]}(t,a.stacked,n),u=s.pos,l=s.neg,c=r.length;for(o=0;o<c;++o)i=e._parseValue(r[o]),isNaN(i.min)||isNaN(i.max)||n.data[o].hidden||(u[o]=u[o]||0,l[o]=l[o]||0,a.relativePoints?u[o]=100:i.min<0||i.max<0?l[o]+=i.min:u[o]+=i.max)}function In(e,t,n){var r,o,i=n.length;for(r=0;r<i;++r)o=e._parseValue(n[r]),isNaN(o.min)||isNaN(o.max)||t.data[r].hidden||(e.min=Math.min(e.min,o.min),e.max=Math.max(e.max,o.max))}var Dn=Nn.extend({determineDataLimits:function(){var e,t,n,r,o=this,i=o.options,a=o.chart.data.datasets,s=o._getMatchingVisibleMetas(),u=i.stacked,l={},c=s.length;if(o.min=Number.POSITIVE_INFINITY,o.max=Number.NEGATIVE_INFINITY,void 0===u)for(e=0;!u&&e<c;++e)u=void 0!==(t=s[e]).stack;for(e=0;e<c;++e)n=a[(t=s[e]).index].data,u?Sn(o,l,t,n):In(o,t,n);F.each(l,(function(e){r=e.pos.concat(e.neg),o.min=Math.min(o.min,F.min(r)),o.max=Math.max(o.max,F.max(r))})),o.min=F.isFinite(o.min)&&!isNaN(o.min)?o.min:0,o.max=F.isFinite(o.max)&&!isNaN(o.max)?o.max:1,o.handleTickRangeOptions()},_computeTickLimit:function(){var e;return this.isHorizontal()?Math.ceil(this.width/40):(e=F.options._parseFont(this.options.ticks),Math.ceil(this.height/e.lineHeight))},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(e,t){return this._getScaleLabel(this.chart.data.datasets[t].data[e])},getPixelForValue:function(e){return this.getPixelForDecimal((+this.getRightValue(e)-this._startValue)/this._valueRange)},getValueForPixel:function(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange},getPixelForTick:function(e){var t=this.ticksAsNumbers;return e<0||e>t.length-1?null:this.getPixelForValue(t[e])}}),xn=jn;Dn._defaults=xn;var En=F.valueOrDefault,On=F.math.log10,Tn={position:"left",ticks:{callback:tn.formatters.logarithmic}};function Cn(e,t){return F.isFinite(e)&&e>=0?e:t}var kn=yn.extend({determineDataLimits:function(){var e,t,n,r,o,i,a=this,s=a.options,u=a.chart,l=u.data.datasets,c=a.isHorizontal();function f(e){return c?e.xAxisID===a.id:e.yAxisID===a.id}a.min=Number.POSITIVE_INFINITY,a.max=Number.NEGATIVE_INFINITY,a.minNotZero=Number.POSITIVE_INFINITY;var d=s.stacked;if(void 0===d)for(e=0;e<l.length;e++)if(t=u.getDatasetMeta(e),u.isDatasetVisible(e)&&f(t)&&void 0!==t.stack){d=!0;break}if(s.stacked||d){var p={};for(e=0;e<l.length;e++){var h=[(t=u.getDatasetMeta(e)).type,void 0===s.stacked&&void 0===t.stack?e:"",t.stack].join(".");if(u.isDatasetVisible(e)&&f(t))for(void 0===p[h]&&(p[h]=[]),o=0,i=(r=l[e].data).length;o<i;o++){var g=p[h];n=a._parseValue(r[o]),isNaN(n.min)||isNaN(n.max)||t.data[o].hidden||n.min<0||n.max<0||(g[o]=g[o]||0,g[o]+=n.max)}}F.each(p,(function(e){if(e.length>0){var t=F.min(e),n=F.max(e);a.min=Math.min(a.min,t),a.max=Math.max(a.max,n)}}))}else for(e=0;e<l.length;e++)if(t=u.getDatasetMeta(e),u.isDatasetVisible(e)&&f(t))for(o=0,i=(r=l[e].data).length;o<i;o++)n=a._parseValue(r[o]),isNaN(n.min)||isNaN(n.max)||t.data[o].hidden||n.min<0||n.max<0||(a.min=Math.min(n.min,a.min),a.max=Math.max(n.max,a.max),0!==n.min&&(a.minNotZero=Math.min(n.min,a.minNotZero)));a.min=F.isFinite(a.min)?a.min:null,a.max=F.isFinite(a.max)?a.max:null,a.minNotZero=F.isFinite(a.minNotZero)?a.minNotZero:null,this.handleTickRangeOptions()},handleTickRangeOptions:function(){var e=this,t=e.options.ticks;e.min=Cn(t.min,e.min),e.max=Cn(t.max,e.max),e.min===e.max&&(0!==e.min&&null!==e.min?(e.min=Math.pow(10,Math.floor(On(e.min))-1),e.max=Math.pow(10,Math.floor(On(e.max))+1)):(e.min=1,e.max=10)),null===e.min&&(e.min=Math.pow(10,Math.floor(On(e.max))-1)),null===e.max&&(e.max=0!==e.min?Math.pow(10,Math.floor(On(e.min))+1):10),null===e.minNotZero&&(e.min>0?e.minNotZero=e.min:e.max<1?e.minNotZero=Math.pow(10,Math.floor(On(e.max))):e.minNotZero=1)},buildTicks:function(){var e=this,t=e.options.ticks,n=!e.isHorizontal(),r={min:Cn(t.min),max:Cn(t.max)},o=e.ticks=function(e,t){var n,r,o=[],i=En(e.min,Math.pow(10,Math.floor(On(t.min)))),a=Math.floor(On(t.max)),s=Math.ceil(t.max/Math.pow(10,a));0===i?(n=Math.floor(On(t.minNotZero)),r=Math.floor(t.minNotZero/Math.pow(10,n)),o.push(i),i=r*Math.pow(10,n)):(n=Math.floor(On(i)),r=Math.floor(i/Math.pow(10,n)));var u=n<0?Math.pow(10,Math.abs(n)):1;do{o.push(i),10===++r&&(r=1,u=++n>=0?1:u),i=Math.round(r*Math.pow(10,n)*u)/u}while(n<a||n===a&&r<s);var l=En(e.max,i);return o.push(l),o}(r,e);e.max=F.max(o),e.min=F.min(o),t.reverse?(n=!n,e.start=e.max,e.end=e.min):(e.start=e.min,e.end=e.max),n&&o.reverse()},convertTicksToLabels:function(){this.tickValues=this.ticks.slice(),yn.prototype.convertTicksToLabels.call(this)},getLabelForIndex:function(e,t){return this._getScaleLabel(this.chart.data.datasets[t].data[e])},getPixelForTick:function(e){var t=this.tickValues;return e<0||e>t.length-1?null:this.getPixelForValue(t[e])},_getFirstTickValue:function(e){var t=Math.floor(On(e));return Math.floor(e/Math.pow(10,t))*Math.pow(10,t)},_configure:function(){var e=this,t=e.min,n=0;yn.prototype._configure.call(e),0===t&&(t=e._getFirstTickValue(e.minNotZero),n=En(e.options.ticks.fontSize,z.global.defaultFontSize)/e._length),e._startValue=On(t),e._valueOffset=n,e._valueRange=(On(e.max)-On(t))/(1-n)},getPixelForValue:function(e){var t=this,n=0;return(e=+t.getRightValue(e))>t.min&&e>0&&(n=(On(e)-t._startValue)/t._valueRange+t._valueOffset),t.getPixelForDecimal(n)},getValueForPixel:function(e){var t=this,n=t.getDecimalForPixel(e);return 0===n&&0===t.min?0:Math.pow(10,t._startValue+(n-t._valueOffset)*t._valueRange)}}),Ln=Tn;kn._defaults=Ln;var _n=F.valueOrDefault,An=F.valueAtIndexOrDefault,zn=F.options.resolve,Pn={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,borderDash:[],borderDashOffset:0},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:tn.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(e){return e}}};function Rn(e){var t=e.ticks;return t.display&&e.display?_n(t.fontSize,z.global.defaultFontSize)+2*t.backdropPaddingY:0}function Un(e,t,n,r,o){return e===r||e===o?{start:t-n/2,end:t+n/2}:e<r||e>o?{start:t-n,end:t}:{start:t,end:t+n}}function Bn(e){return 0===e||180===e?"center":e<180?"left":"right"}function Fn(e,t,n,r){var o,i,a=n.y+r/2;if(F.isArray(t))for(o=0,i=t.length;o<i;++o)e.fillText(t[o],n.x,a),a+=r;else e.fillText(t,n.x,a)}function Yn(e,t,n){90===e||270===e?n.y-=t.h/2:(e>270||e<90)&&(n.y-=t.h)}function Gn(e){return F.isNumber(e)?e:0}var Hn=Nn.extend({setDimensions:function(){var e=this;e.width=e.maxWidth,e.height=e.maxHeight,e.paddingTop=Rn(e.options)/2,e.xCenter=Math.floor(e.width/2),e.yCenter=Math.floor((e.height-e.paddingTop)/2),e.drawingArea=Math.min(e.height-e.paddingTop,e.width)/2},determineDataLimits:function(){var e=this,t=e.chart,n=Number.POSITIVE_INFINITY,r=Number.NEGATIVE_INFINITY;F.each(t.data.datasets,(function(o,i){if(t.isDatasetVisible(i)){var a=t.getDatasetMeta(i);F.each(o.data,(function(t,o){var i=+e.getRightValue(t);isNaN(i)||a.data[o].hidden||(n=Math.min(i,n),r=Math.max(i,r))}))}})),e.min=n===Number.POSITIVE_INFINITY?0:n,e.max=r===Number.NEGATIVE_INFINITY?0:r,e.handleTickRangeOptions()},_computeTickLimit:function(){return Math.ceil(this.drawingArea/Rn(this.options))},convertTicksToLabels:function(){var e=this;Nn.prototype.convertTicksToLabels.call(e),e.pointLabels=e.chart.data.labels.map((function(){var t=F.callback(e.options.pointLabels.callback,arguments,e);return t||0===t?t:""}))},getLabelForIndex:function(e,t){return+this.getRightValue(this.chart.data.datasets[t].data[e])},fit:function(){var e=this.options;e.display&&e.pointLabels.display?function(e){var t,n,r,o=F.options._parseFont(e.options.pointLabels),i={l:0,r:e.width,t:0,b:e.height-e.paddingTop},a={};e.ctx.font=o.string,e._pointLabelSizes=[];var s,u,l,c=e.chart.data.labels.length;for(t=0;t<c;t++){r=e.getPointPosition(t,e.drawingArea+5),s=e.ctx,u=o.lineHeight,l=e.pointLabels[t],n=F.isArray(l)?{w:F.longestText(s,s.font,l),h:l.length*u}:{w:s.measureText(l).width,h:u},e._pointLabelSizes[t]=n;var f=e.getIndexAngle(t),d=F.toDegrees(f)%360,p=Un(d,r.x,n.w,0,180),h=Un(d,r.y,n.h,90,270);p.start<i.l&&(i.l=p.start,a.l=f),p.end>i.r&&(i.r=p.end,a.r=f),h.start<i.t&&(i.t=h.start,a.t=f),h.end>i.b&&(i.b=h.end,a.b=f)}e.setReductions(e.drawingArea,i,a)}(this):this.setCenterPoint(0,0,0,0)},setReductions:function(e,t,n){var r=this,o=t.l/Math.sin(n.l),i=Math.max(t.r-r.width,0)/Math.sin(n.r),a=-t.t/Math.cos(n.t),s=-Math.max(t.b-(r.height-r.paddingTop),0)/Math.cos(n.b);o=Gn(o),i=Gn(i),a=Gn(a),s=Gn(s),r.drawingArea=Math.min(Math.floor(e-(o+i)/2),Math.floor(e-(a+s)/2)),r.setCenterPoint(o,i,a,s)},setCenterPoint:function(e,t,n,r){var o=this,i=o.width-t-o.drawingArea,a=e+o.drawingArea,s=n+o.drawingArea,u=o.height-o.paddingTop-r-o.drawingArea;o.xCenter=Math.floor((a+i)/2+o.left),o.yCenter=Math.floor((s+u)/2+o.top+o.paddingTop)},getIndexAngle:function(e){var t=this.chart,n=(e*(360/t.data.labels.length)+((t.options||{}).startAngle||0))%360;return(n<0?n+360:n)*Math.PI*2/360},getDistanceFromCenterForValue:function(e){var t=this;if(F.isNullOrUndef(e))return NaN;var n=t.drawingArea/(t.max-t.min);return t.options.ticks.reverse?(t.max-e)*n:(e-t.min)*n},getPointPosition:function(e,t){var n=this.getIndexAngle(e)-Math.PI/2;return{x:Math.cos(n)*t+this.xCenter,y:Math.sin(n)*t+this.yCenter}},getPointPositionForValue:function(e,t){return this.getPointPosition(e,this.getDistanceFromCenterForValue(t))},getBasePosition:function(e){var t=this.min,n=this.max;return this.getPointPositionForValue(e||0,this.beginAtZero?0:t<0&&n<0?n:t>0&&n>0?t:0)},_drawGrid:function(){var e,t,n,r=this,o=r.ctx,i=r.options,a=i.gridLines,s=i.angleLines,u=_n(s.lineWidth,a.lineWidth),l=_n(s.color,a.color);if(i.pointLabels.display&&function(e){var t=e.ctx,n=e.options,r=n.pointLabels,o=Rn(n),i=e.getDistanceFromCenterForValue(n.ticks.reverse?e.min:e.max),a=F.options._parseFont(r);t.save(),t.font=a.string,t.textBaseline="middle";for(var s=e.chart.data.labels.length-1;s>=0;s--){var u=0===s?o/2:0,l=e.getPointPosition(s,i+u+5),c=An(r.fontColor,s,z.global.defaultFontColor);t.fillStyle=c;var f=e.getIndexAngle(s),d=F.toDegrees(f);t.textAlign=Bn(d),Yn(d,e._pointLabelSizes[s],l),Fn(t,e.pointLabels[s],l,a.lineHeight)}t.restore()}(r),a.display&&F.each(r.ticks,(function(e,n){0!==n&&(t=r.getDistanceFromCenterForValue(r.ticksAsNumbers[n]),function(e,t,n,r){var o,i=e.ctx,a=t.circular,s=e.chart.data.labels.length,u=An(t.color,r-1),l=An(t.lineWidth,r-1);if((a||s)&&u&&l){if(i.save(),i.strokeStyle=u,i.lineWidth=l,i.setLineDash&&(i.setLineDash(t.borderDash||[]),i.lineDashOffset=t.borderDashOffset||0),i.beginPath(),a)i.arc(e.xCenter,e.yCenter,n,0,2*Math.PI);else{o=e.getPointPosition(0,n),i.moveTo(o.x,o.y);for(var c=1;c<s;c++)o=e.getPointPosition(c,n),i.lineTo(o.x,o.y)}i.closePath(),i.stroke(),i.restore()}}(r,a,t,n))})),s.display&&u&&l){for(o.save(),o.lineWidth=u,o.strokeStyle=l,o.setLineDash&&(o.setLineDash(zn([s.borderDash,a.borderDash,[]])),o.lineDashOffset=zn([s.borderDashOffset,a.borderDashOffset,0])),e=r.chart.data.labels.length-1;e>=0;e--)t=r.getDistanceFromCenterForValue(i.ticks.reverse?r.min:r.max),n=r.getPointPosition(e,t),o.beginPath(),o.moveTo(r.xCenter,r.yCenter),o.lineTo(n.x,n.y),o.stroke();o.restore()}},_drawLabels:function(){var e=this,t=e.ctx,n=e.options.ticks;if(n.display){var r,o,i=e.getIndexAngle(0),a=F.options._parseFont(n),s=_n(n.fontColor,z.global.defaultFontColor);t.save(),t.font=a.string,t.translate(e.xCenter,e.yCenter),t.rotate(i),t.textAlign="center",t.textBaseline="middle",F.each(e.ticks,(function(i,u){(0!==u||n.reverse)&&(r=e.getDistanceFromCenterForValue(e.ticksAsNumbers[u]),n.showLabelBackdrop&&(o=t.measureText(i).width,t.fillStyle=n.backdropColor,t.fillRect(-o/2-n.backdropPaddingX,-r-a.size/2-n.backdropPaddingY,o+2*n.backdropPaddingX,a.size+2*n.backdropPaddingY)),t.fillStyle=s,t.fillText(i,0,-r))})),t.restore()}},_drawTitle:F.noop}),Vn=Pn;Hn._defaults=Vn;var Qn=F._deprecated,Wn=F.options.resolve,Zn=F.valueOrDefault,qn=Number.MIN_SAFE_INTEGER||-9007199254740991,Xn=Number.MAX_SAFE_INTEGER||9007199254740991,$n={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},Jn=Object.keys($n);function Kn(e,t){return e-t}function er(e){return F.valueOrDefault(e.time.min,e.ticks.min)}function tr(e){return F.valueOrDefault(e.time.max,e.ticks.max)}function nr(e,t,n,r){var o=function(e,t,n){for(var r,o,i,a=0,s=e.length-1;a>=0&&a<=s;){if(o=e[(r=a+s>>1)-1]||null,i=e[r],!o)return{lo:null,hi:i};if(i[t]<n)a=r+1;else{if(!(o[t]>n))return{lo:o,hi:i};s=r-1}}return{lo:i,hi:null}}(e,t,n),i=o.lo?o.hi?o.lo:e[e.length-2]:e[0],a=o.lo?o.hi?o.hi:e[e.length-1]:e[1],s=a[t]-i[t],u=s?(n-i[t])/s:0,l=(a[r]-i[r])*u;return i[r]+l}function rr(e,t){var n=e._adapter,r=e.options.time,o=r.parser,i=o||r.format,a=t;return"function"===typeof o&&(a=o(a)),F.isFinite(a)||(a="string"===typeof i?n.parse(a,i):n.parse(a)),null!==a?+a:(o||"function"!==typeof i||(a=i(t),F.isFinite(a)||(a=n.parse(a))),a)}function or(e,t){if(F.isNullOrUndef(t))return null;var n=e.options.time,r=rr(e,e.getRightValue(t));return null===r||n.round&&(r=+e._adapter.startOf(r,n.round)),r}function ir(e,t,n,r){var o,i,a,s=Jn.length;for(o=Jn.indexOf(e);o<s-1;++o)if(a=(i=$n[Jn[o]]).steps?i.steps:Xn,i.common&&Math.ceil((n-t)/(a*i.size))<=r)return Jn[o];return Jn[s-1]}function ar(e,t,n){var r,o,i=[],a={},s=t.length;for(r=0;r<s;++r)a[o=t[r]]=r,i.push({value:o,major:!1});return 0!==s&&n?function(e,t,n,r){var o,i,a=e._adapter,s=+a.startOf(t[0].value,r),u=t[t.length-1].value;for(o=s;o<=u;o=+a.add(o,1,r))(i=n[o])>=0&&(t[i].major=!0);return t}(e,i,a,n):i}var sr=yn.extend({initialize:function(){this.mergeTicksOptions(),yn.prototype.initialize.call(this)},update:function(){var e=this,t=e.options,n=t.time||(t.time={}),r=e._adapter=new en._date(t.adapters.date);return Qn("time scale",n.format,"time.format","time.parser"),Qn("time scale",n.min,"time.min","ticks.min"),Qn("time scale",n.max,"time.max","ticks.max"),F.mergeIf(n.displayFormats,r.formats()),yn.prototype.update.apply(e,arguments)},getRightValue:function(e){return e&&void 0!==e.t&&(e=e.t),yn.prototype.getRightValue.call(this,e)},determineDataLimits:function(){var e,t,n,r,o,i,a,s=this,u=s.chart,l=s._adapter,c=s.options,f=c.time.unit||"day",d=Xn,p=qn,h=[],g=[],y=[],m=s._getLabels();for(e=0,n=m.length;e<n;++e)y.push(or(s,m[e]));for(e=0,n=(u.data.datasets||[]).length;e<n;++e)if(u.isDatasetVisible(e))if(o=u.data.datasets[e].data,F.isObject(o[0]))for(g[e]=[],t=0,r=o.length;t<r;++t)i=or(s,o[t]),h.push(i),g[e][t]=i;else g[e]=y.slice(0),a||(h=h.concat(y),a=!0);else g[e]=[];y.length&&(d=Math.min(d,y[0]),p=Math.max(p,y[y.length-1])),h.length&&(h=n>1?function(e){var t,n,r,o={},i=[];for(t=0,n=e.length;t<n;++t)o[r=e[t]]||(o[r]=!0,i.push(r));return i}(h).sort(Kn):h.sort(Kn),d=Math.min(d,h[0]),p=Math.max(p,h[h.length-1])),d=or(s,er(c))||d,p=or(s,tr(c))||p,d=d===Xn?+l.startOf(Date.now(),f):d,p=p===qn?+l.endOf(Date.now(),f)+1:p,s.min=Math.min(d,p),s.max=Math.max(d+1,p),s._table=[],s._timestamps={data:h,datasets:g,labels:y}},buildTicks:function(){var e,t,n,r=this,o=r.min,i=r.max,a=r.options,s=a.ticks,u=a.time,l=r._timestamps,c=[],f=r.getLabelCapacity(o),d=s.source,p=a.distribution;for(l="data"===d||"auto"===d&&"series"===p?l.data:"labels"===d?l.labels:function(e,t,n,r){var o,i=e._adapter,a=e.options,s=a.time,u=s.unit||ir(s.minUnit,t,n,r),l=Wn([s.stepSize,s.unitStepSize,1]),c="week"===u&&s.isoWeekday,f=t,d=[];if(c&&(f=+i.startOf(f,"isoWeek",c)),f=+i.startOf(f,c?"day":u),i.diff(n,t,u)>1e5*l)throw t+" and "+n+" are too far apart with stepSize of "+l+" "+u;for(o=f;o<n;o=+i.add(o,l,u))d.push(o);return o!==n&&"ticks"!==a.bounds||d.push(o),d}(r,o,i,f),"ticks"===a.bounds&&l.length&&(o=l[0],i=l[l.length-1]),o=or(r,er(a))||o,i=or(r,tr(a))||i,e=0,t=l.length;e<t;++e)(n=l[e])>=o&&n<=i&&c.push(n);return r.min=o,r.max=i,r._unit=u.unit||(s.autoSkip?ir(u.minUnit,r.min,r.max,f):function(e,t,n,r,o){var i,a;for(i=Jn.length-1;i>=Jn.indexOf(n);i--)if(a=Jn[i],$n[a].common&&e._adapter.diff(o,r,a)>=t-1)return a;return Jn[n?Jn.indexOf(n):0]}(r,c.length,u.minUnit,r.min,r.max)),r._majorUnit=s.major.enabled&&"year"!==r._unit?function(e){for(var t=Jn.indexOf(e)+1,n=Jn.length;t<n;++t)if($n[Jn[t]].common)return Jn[t]}(r._unit):void 0,r._table=function(e,t,n,r){if("linear"===r||!e.length)return[{time:t,pos:0},{time:n,pos:1}];var o,i,a,s,u,l=[],c=[t];for(o=0,i=e.length;o<i;++o)(s=e[o])>t&&s<n&&c.push(s);for(c.push(n),o=0,i=c.length;o<i;++o)u=c[o+1],a=c[o-1],s=c[o],void 0!==a&&void 0!==u&&Math.round((u+a)/2)===s||l.push({time:s,pos:o/(i-1)});return l}(r._timestamps.data,o,i,p),r._offsets=function(e,t,n,r,o){var i,a,s=0,u=0;return o.offset&&t.length&&(i=nr(e,"time",t[0],"pos"),s=1===t.length?1-i:(nr(e,"time",t[1],"pos")-i)/2,a=nr(e,"time",t[t.length-1],"pos"),u=1===t.length?a:(a-nr(e,"time",t[t.length-2],"pos"))/2),{start:s,end:u,factor:1/(s+1+u)}}(r._table,c,0,0,a),s.reverse&&c.reverse(),ar(r,c,r._majorUnit)},getLabelForIndex:function(e,t){var n=this,r=n._adapter,o=n.chart.data,i=n.options.time,a=o.labels&&e<o.labels.length?o.labels[e]:"",s=o.datasets[t].data[e];return F.isObject(s)&&(a=n.getRightValue(s)),i.tooltipFormat?r.format(rr(n,a),i.tooltipFormat):"string"===typeof a?a:r.format(rr(n,a),i.displayFormats.datetime)},tickFormatFunction:function(e,t,n,r){var o=this._adapter,i=this.options,a=i.time.displayFormats,s=a[this._unit],u=this._majorUnit,l=a[u],c=n[t],f=i.ticks,d=u&&l&&c&&c.major,p=o.format(e,r||(d?l:s)),h=d?f.major:f.minor,g=Wn([h.callback,h.userCallback,f.callback,f.userCallback]);return g?g(p,t,n):p},convertTicksToLabels:function(e){var t,n,r=[];for(t=0,n=e.length;t<n;++t)r.push(this.tickFormatFunction(e[t].value,t,e));return r},getPixelForOffset:function(e){var t=this._offsets,n=nr(this._table,"time",e,"pos");return this.getPixelForDecimal((t.start+n)*t.factor)},getPixelForValue:function(e,t,n){var r=null;if(void 0!==t&&void 0!==n&&(r=this._timestamps.datasets[n][t]),null===r&&(r=or(this,e)),null!==r)return this.getPixelForOffset(r)},getPixelForTick:function(e){var t=this.getTicks();return e>=0&&e<t.length?this.getPixelForOffset(t[e].value):null},getValueForPixel:function(e){var t=this._offsets,n=this.getDecimalForPixel(e)/t.factor-t.end,r=nr(this._table,"pos",n,"time");return this._adapter._create(r)},_getLabelSize:function(e){var t=this.options.ticks,n=this.ctx.measureText(e).width,r=F.toRadians(this.isHorizontal()?t.maxRotation:t.minRotation),o=Math.cos(r),i=Math.sin(r),a=Zn(t.fontSize,z.global.defaultFontSize);return{w:n*o+a*i,h:n*i+a*o}},getLabelWidth:function(e){return this._getLabelSize(e).w},getLabelCapacity:function(e){var t=this,n=t.options.time,r=n.displayFormats,o=r[n.unit]||r.millisecond,i=t.tickFormatFunction(e,0,ar(t,[e],t._majorUnit),o),a=t._getLabelSize(i),s=Math.floor(t.isHorizontal()?t.width/a.w:t.height/a.h);return t.options.offset&&s--,s>0?s:1}}),ur={position:"bottom",distribution:"linear",bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}};sr._defaults=ur;var lr={category:vn,linear:Dn,logarithmic:kn,radialLinear:Hn,time:sr},cr={datetime:"MMM D, YYYY, h:mm:ss a",millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"};en._date.override("function"===typeof e?{_id:"moment",formats:function(){return cr},parse:function(t,n){return"string"===typeof t&&"string"===typeof n?t=e(t,n):t instanceof e||(t=e(t)),t.isValid()?t.valueOf():null},format:function(t,n){return e(t).format(n)},add:function(t,n,r){return e(t).add(n,r).valueOf()},diff:function(t,n,r){return e(t).diff(e(n),r)},startOf:function(t,n,r){return t=e(t),"isoWeek"===n?t.isoWeekday(r).valueOf():t.startOf(n).valueOf()},endOf:function(t,n){return e(t).endOf(n).valueOf()},_create:function(t){return e(t)}}:{}),z._set("global",{plugins:{filler:{propagate:!0}}});var fr={dataset:function(e){var t=e.fill,n=e.chart,r=n.getDatasetMeta(t),o=r&&n.isDatasetVisible(t)&&r.dataset._children||[],i=o.length||0;return i?function(e,t){return t<i&&o[t]._view||null}:null},boundary:function(e){var t=e.boundary,n=t?t.x:null,r=t?t.y:null;return F.isArray(t)?function(e,n){return t[n]}:function(e){return{x:null===n?e.x:n,y:null===r?e.y:r}}}};function dr(e,t,n){var r,o=e._model||{},i=o.fill;if(void 0===i&&(i=!!o.backgroundColor),!1===i||null===i)return!1;if(!0===i)return"origin";if(r=parseFloat(i,10),isFinite(r)&&Math.floor(r)===r)return"-"!==i[0]&&"+"!==i[0]||(r=t+r),!(r===t||r<0||r>=n)&&r;switch(i){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return i;default:return!1}}function pr(e){return(e.el._scale||{}).getPointPositionForValue?function(e){var t,n,r,o,i,a=e.el._scale,s=a.options,u=a.chart.data.labels.length,l=e.fill,c=[];if(!u)return null;for(t=s.ticks.reverse?a.max:a.min,n=s.ticks.reverse?a.min:a.max,r=a.getPointPositionForValue(0,t),o=0;o<u;++o)i="start"===l||"end"===l?a.getPointPositionForValue(o,"start"===l?t:n):a.getBasePosition(o),s.gridLines.circular&&(i.cx=r.x,i.cy=r.y,i.angle=a.getIndexAngle(o)-Math.PI/2),c.push(i);return c}(e):function(e){var t,n=e.el._model||{},r=e.el._scale||{},o=e.fill,i=null;if(isFinite(o))return null;if("start"===o?i=void 0===n.scaleBottom?r.bottom:n.scaleBottom:"end"===o?i=void 0===n.scaleTop?r.top:n.scaleTop:void 0!==n.scaleZero?i=n.scaleZero:r.getBasePixel&&(i=r.getBasePixel()),void 0!==i&&null!==i){if(void 0!==i.x&&void 0!==i.y)return i;if(F.isFinite(i))return{x:(t=r.isHorizontal())?i:null,y:t?null:i}}return null}(e)}function hr(e,t,n){var r,o=e[t].fill,i=[t];if(!n)return o;for(;!1!==o&&-1===i.indexOf(o);){if(!isFinite(o))return o;if(!(r=e[o]))return!1;if(r.visible)return o;i.push(o),o=r.fill}return!1}function gr(e){var t=e.fill,n="dataset";return!1===t?null:(isFinite(t)||(n="boundary"),fr[n](e))}function yr(e){return e&&!e.skip}function mr(e,t,n,r,o){var i,a,s,u;if(r&&o){for(e.moveTo(t[0].x,t[0].y),i=1;i<r;++i)F.canvas.lineTo(e,t[i-1],t[i]);if(void 0===n[0].angle)for(e.lineTo(n[o-1].x,n[o-1].y),i=o-1;i>0;--i)F.canvas.lineTo(e,n[i],n[i-1],!0);else for(a=n[0].cx,s=n[0].cy,u=Math.sqrt(Math.pow(n[0].x-a,2)+Math.pow(n[0].y-s,2)),i=o-1;i>0;--i)e.arc(a,s,u,n[i].angle,n[i-1].angle,!0)}}function vr(e,t,n,r,o,i){var a,s,u,l,c,f,d,p,h=t.length,g=r.spanGaps,y=[],m=[],v=0,b=0;for(e.beginPath(),a=0,s=h;a<s;++a)c=n(l=t[u=a%h]._view,u,r),f=yr(l),d=yr(c),i&&void 0===p&&f&&(s=h+(p=a+1)),f&&d?(v=y.push(l),b=m.push(c)):v&&b&&(g?(f&&y.push(l),d&&m.push(c)):(mr(e,y,m,v,b),v=b=0,y=[],m=[]));mr(e,y,m,v,b),e.closePath(),e.fillStyle=o,e.fill()}var br={id:"filler",afterDatasetsUpdate:function(e,t){var n,r,o,i,a=(e.data.datasets||[]).length,s=t.propagate,u=[];for(r=0;r<a;++r)i=null,(o=(n=e.getDatasetMeta(r)).dataset)&&o._model&&o instanceof we.Line&&(i={visible:e.isDatasetVisible(r),fill:dr(o,r,a),chart:e,el:o}),n.$filler=i,u.push(i);for(r=0;r<a;++r)(i=u[r])&&(i.fill=hr(u,r,s),i.boundary=pr(i),i.mapper=gr(i))},beforeDatasetsDraw:function(e){var t,n,r,o,i,a,s,u=e._getSortedVisibleDatasetMetas(),l=e.ctx;for(n=u.length-1;n>=0;--n)(t=u[n].$filler)&&t.visible&&(o=(r=t.el)._view,i=r._children||[],a=t.mapper,s=o.backgroundColor||z.global.defaultColor,a&&s&&i.length&&(F.canvas.clipArea(l,e.chartArea),vr(l,i,a,o,s,r._loop),F.canvas.unclipArea(l)))}},Mr=F.rtl.getRtlAdapter,wr=F.noop,Nr=F.valueOrDefault;function jr(e,t){return e.usePointStyle&&e.boxWidth>t?t:e.boxWidth}z._set("global",{legend:{display:!0,position:"top",align:"center",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(e,t){var n=t.datasetIndex,r=this.chart,o=r.getDatasetMeta(n);o.hidden=null===o.hidden?!r.data.datasets[n].hidden:null,r.update()},onHover:null,onLeave:null,labels:{boxWidth:40,padding:10,generateLabels:function(e){var t=e.data.datasets,n=e.options.legend||{},r=n.labels&&n.labels.usePointStyle;return e._getSortedDatasetMetas().map((function(n){var o=n.controller.getStyle(r?0:void 0);return{text:t[n.index].label,fillStyle:o.backgroundColor,hidden:!e.isDatasetVisible(n.index),lineCap:o.borderCapStyle,lineDash:o.borderDash,lineDashOffset:o.borderDashOffset,lineJoin:o.borderJoinStyle,lineWidth:o.borderWidth,strokeStyle:o.borderColor,pointStyle:o.pointStyle,rotation:o.rotation,datasetIndex:n.index}}),this)}}},legendCallback:function(e){var t,n,r,o=document.createElement("ul"),i=e.data.datasets;for(o.setAttribute("class",e.id+"-legend"),t=0,n=i.length;t<n;t++)(r=o.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=i[t].backgroundColor,i[t].label&&r.appendChild(document.createTextNode(i[t].label));return o.outerHTML}});var Sr=Z.extend({initialize:function(e){F.extend(this,e),this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1},beforeUpdate:wr,update:function(e,t,n){var r=this;return r.beforeUpdate(),r.maxWidth=e,r.maxHeight=t,r.margins=n,r.beforeSetDimensions(),r.setDimensions(),r.afterSetDimensions(),r.beforeBuildLabels(),r.buildLabels(),r.afterBuildLabels(),r.beforeFit(),r.fit(),r.afterFit(),r.afterUpdate(),r.minSize},afterUpdate:wr,beforeSetDimensions:wr,setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0,e.minSize={width:0,height:0}},afterSetDimensions:wr,beforeBuildLabels:wr,buildLabels:function(){var e=this,t=e.options.labels||{},n=F.callback(t.generateLabels,[e.chart],e)||[];t.filter&&(n=n.filter((function(n){return t.filter(n,e.chart.data)}))),e.options.reverse&&n.reverse(),e.legendItems=n},afterBuildLabels:wr,beforeFit:wr,fit:function(){var e=this,t=e.options,n=t.labels,r=t.display,o=e.ctx,i=F.options._parseFont(n),a=i.size,s=e.legendHitBoxes=[],u=e.minSize,l=e.isHorizontal();if(l?(u.width=e.maxWidth,u.height=r?10:0):(u.width=r?10:0,u.height=e.maxHeight),r){if(o.font=i.string,l){var c=e.lineWidths=[0],f=0;o.textAlign="left",o.textBaseline="middle",F.each(e.legendItems,(function(e,t){var r=jr(n,a)+a/2+o.measureText(e.text).width;(0===t||c[c.length-1]+r+2*n.padding>u.width)&&(f+=a+n.padding,c[c.length-(t>0?0:1)]=0),s[t]={left:0,top:0,width:r,height:a},c[c.length-1]+=r+n.padding})),u.height+=f}else{var d=n.padding,p=e.columnWidths=[],h=e.columnHeights=[],g=n.padding,y=0,m=0;F.each(e.legendItems,(function(e,t){var r=jr(n,a)+a/2+o.measureText(e.text).width;t>0&&m+a+2*d>u.height&&(g+=y+n.padding,p.push(y),h.push(m),y=0,m=0),y=Math.max(y,r),m+=a+d,s[t]={left:0,top:0,width:r,height:a}})),g+=y,p.push(y),h.push(m),u.width+=g}e.width=u.width,e.height=u.height}else e.width=u.width=e.height=u.height=0},afterFit:wr,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var e=this,t=e.options,n=t.labels,r=z.global,o=r.defaultColor,i=r.elements.line,a=e.height,s=e.columnHeights,u=e.width,l=e.lineWidths;if(t.display){var c,f=Mr(t.rtl,e.left,e.minSize.width),d=e.ctx,p=Nr(n.fontColor,r.defaultFontColor),h=F.options._parseFont(n),g=h.size;d.textAlign=f.textAlign("left"),d.textBaseline="middle",d.lineWidth=.5,d.strokeStyle=p,d.fillStyle=p,d.font=h.string;var y=jr(n,g),m=e.legendHitBoxes,v=function(e,r){switch(t.align){case"start":return n.padding;case"end":return e-r;default:return(e-r+n.padding)/2}},b=e.isHorizontal();c=b?{x:e.left+v(u,l[0]),y:e.top+n.padding,line:0}:{x:e.left+n.padding,y:e.top+v(a,s[0]),line:0},F.rtl.overrideTextDirection(e.ctx,t.textDirection);var M=g+n.padding;F.each(e.legendItems,(function(t,r){var p=d.measureText(t.text).width,h=y+g/2+p,w=c.x,N=c.y;f.setWidth(e.minSize.width),b?r>0&&w+h+n.padding>e.left+e.minSize.width&&(N=c.y+=M,c.line++,w=c.x=e.left+v(u,l[c.line])):r>0&&N+M>e.top+e.minSize.height&&(w=c.x=w+e.columnWidths[c.line]+n.padding,c.line++,N=c.y=e.top+v(a,s[c.line]));var j=f.x(w);!function(e,t,r){if(!(isNaN(y)||y<=0)){d.save();var a=Nr(r.lineWidth,i.borderWidth);if(d.fillStyle=Nr(r.fillStyle,o),d.lineCap=Nr(r.lineCap,i.borderCapStyle),d.lineDashOffset=Nr(r.lineDashOffset,i.borderDashOffset),d.lineJoin=Nr(r.lineJoin,i.borderJoinStyle),d.lineWidth=a,d.strokeStyle=Nr(r.strokeStyle,o),d.setLineDash&&d.setLineDash(Nr(r.lineDash,i.borderDash)),n&&n.usePointStyle){var s=y*Math.SQRT2/2,u=f.xPlus(e,y/2),l=t+g/2;F.canvas.drawPoint(d,r.pointStyle,s,u,l,r.rotation)}else d.fillRect(f.leftForLtr(e,y),t,y,g),0!==a&&d.strokeRect(f.leftForLtr(e,y),t,y,g);d.restore()}}(j,N,t),m[r].left=f.leftForLtr(j,m[r].width),m[r].top=N,function(e,t,n,r){var o=g/2,i=f.xPlus(e,y+o),a=t+o;d.fillText(n.text,i,a),n.hidden&&(d.beginPath(),d.lineWidth=2,d.moveTo(i,a),d.lineTo(f.xPlus(i,r),a),d.stroke())}(j,N,t,p),b?c.x+=h+n.padding:c.y+=M})),F.rtl.restoreTextDirection(e.ctx,t.textDirection)}},_getLegendItemAt:function(e,t){var n,r,o,i=this;if(e>=i.left&&e<=i.right&&t>=i.top&&t<=i.bottom)for(o=i.legendHitBoxes,n=0;n<o.length;++n)if(e>=(r=o[n]).left&&e<=r.left+r.width&&t>=r.top&&t<=r.top+r.height)return i.legendItems[n];return null},handleEvent:function(e){var t,n=this,r=n.options,o="mouseup"===e.type?"click":e.type;if("mousemove"===o){if(!r.onHover&&!r.onLeave)return}else{if("click"!==o)return;if(!r.onClick)return}t=n._getLegendItemAt(e.x,e.y),"click"===o?t&&r.onClick&&r.onClick.call(n,e.native,t):(r.onLeave&&t!==n._hoveredItem&&(n._hoveredItem&&r.onLeave.call(n,e.native,n._hoveredItem),n._hoveredItem=t),r.onHover&&t&&r.onHover.call(n,e.native,t))}});function Ir(e,t){var n=new Sr({ctx:e.ctx,options:t,chart:e});ht.configure(e,n,t),ht.addBox(e,n),e.legend=n}var Dr={id:"legend",_element:Sr,beforeInit:function(e){var t=e.options.legend;t&&Ir(e,t)},beforeUpdate:function(e){var t=e.options.legend,n=e.legend;t?(F.mergeIf(t,z.global.legend),n?(ht.configure(e,n,t),n.options=t):Ir(e,t)):n&&(ht.removeBox(e,n),delete e.legend)},afterEvent:function(e,t){var n=e.legend;n&&n.handleEvent(t)}},xr=F.noop;z._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,padding:10,position:"top",text:"",weight:2e3}});var Er=Z.extend({initialize:function(e){F.extend(this,e),this.legendHitBoxes=[]},beforeUpdate:xr,update:function(e,t,n){var r=this;return r.beforeUpdate(),r.maxWidth=e,r.maxHeight=t,r.margins=n,r.beforeSetDimensions(),r.setDimensions(),r.afterSetDimensions(),r.beforeBuildLabels(),r.buildLabels(),r.afterBuildLabels(),r.beforeFit(),r.fit(),r.afterFit(),r.afterUpdate(),r.minSize},afterUpdate:xr,beforeSetDimensions:xr,setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0,e.minSize={width:0,height:0}},afterSetDimensions:xr,beforeBuildLabels:xr,buildLabels:xr,afterBuildLabels:xr,beforeFit:xr,fit:function(){var e,t=this,n=t.options,r=t.minSize={},o=t.isHorizontal();n.display?(e=(F.isArray(n.text)?n.text.length:1)*F.options._parseFont(n).lineHeight+2*n.padding,t.width=r.width=o?t.maxWidth:e,t.height=r.height=o?e:t.maxHeight):t.width=r.width=t.height=r.height=0},afterFit:xr,isHorizontal:function(){var e=this.options.position;return"top"===e||"bottom"===e},draw:function(){var e=this,t=e.ctx,n=e.options;if(n.display){var r,o,i,a=F.options._parseFont(n),s=a.lineHeight,u=s/2+n.padding,l=0,c=e.top,f=e.left,d=e.bottom,p=e.right;t.fillStyle=F.valueOrDefault(n.fontColor,z.global.defaultFontColor),t.font=a.string,e.isHorizontal()?(o=f+(p-f)/2,i=c+u,r=p-f):(o="left"===n.position?f+u:p-u,i=c+(d-c)/2,r=d-c,l=Math.PI*("left"===n.position?-.5:.5)),t.save(),t.translate(o,i),t.rotate(l),t.textAlign="center",t.textBaseline="middle";var h=n.text;if(F.isArray(h))for(var g=0,y=0;y<h.length;++y)t.fillText(h[y],0,g,r),g+=s;else t.fillText(h,0,0,r);t.restore()}}});function Or(e,t){var n=new Er({ctx:e.ctx,options:t,chart:e});ht.configure(e,n,t),ht.addBox(e,n),e.titleBlock=n}var Tr={},Cr=br,kr=Dr,Lr={id:"title",_element:Er,beforeInit:function(e){var t=e.options.title;t&&Or(e,t)},beforeUpdate:function(e){var t=e.options.title,n=e.titleBlock;t?(F.mergeIf(t,z.global.title),n?(ht.configure(e,n,t),n.options=t):Or(e,t)):n&&(ht.removeBox(e,n),delete e.titleBlock)}};for(var _r in Tr.filler=Cr,Tr.legend=kr,Tr.title=Lr,$t.helpers=F,function(){function e(e,t,n){var r;return"string"===typeof e?(r=parseInt(e,10),-1!==e.indexOf("%")&&(r=r/100*t.parentNode[n])):r=e,r}function t(e){return void 0!==e&&null!==e&&"none"!==e}function n(n,r,o){var i=document.defaultView,a=F._getParentNode(n),s=i.getComputedStyle(n)[r],u=i.getComputedStyle(a)[r],l=t(s),c=t(u),f=Number.POSITIVE_INFINITY;return l||c?Math.min(l?e(s,n,o):f,c?e(u,a,o):f):"none"}F.where=function(e,t){if(F.isArray(e)&&Array.prototype.filter)return e.filter(t);var n=[];return F.each(e,(function(e){t(e)&&n.push(e)})),n},F.findIndex=Array.prototype.findIndex?function(e,t,n){return e.findIndex(t,n)}:function(e,t,n){n=void 0===n?e:n;for(var r=0,o=e.length;r<o;++r)if(t.call(n,e[r],r,e))return r;return-1},F.findNextWhere=function(e,t,n){F.isNullOrUndef(n)&&(n=-1);for(var r=n+1;r<e.length;r++){var o=e[r];if(t(o))return o}},F.findPreviousWhere=function(e,t,n){F.isNullOrUndef(n)&&(n=e.length);for(var r=n-1;r>=0;r--){var o=e[r];if(t(o))return o}},F.isNumber=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},F.almostEquals=function(e,t,n){return Math.abs(e-t)<n},F.almostWhole=function(e,t){var n=Math.round(e);return n-t<=e&&n+t>=e},F.max=function(e){return e.reduce((function(e,t){return isNaN(t)?e:Math.max(e,t)}),Number.NEGATIVE_INFINITY)},F.min=function(e){return e.reduce((function(e,t){return isNaN(t)?e:Math.min(e,t)}),Number.POSITIVE_INFINITY)},F.sign=Math.sign?function(e){return Math.sign(e)}:function(e){return 0===(e=+e)||isNaN(e)?e:e>0?1:-1},F.toRadians=function(e){return e*(Math.PI/180)},F.toDegrees=function(e){return e*(180/Math.PI)},F._decimalPlaces=function(e){if(F.isFinite(e)){for(var t=1,n=0;Math.round(e*t)/t!==e;)t*=10,n++;return n}},F.getAngleFromPoint=function(e,t){var n=t.x-e.x,r=t.y-e.y,o=Math.sqrt(n*n+r*r),i=Math.atan2(r,n);return i<-.5*Math.PI&&(i+=2*Math.PI),{angle:i,distance:o}},F.distanceBetweenPoints=function(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))},F.aliasPixel=function(e){return e%2===0?0:.5},F._alignPixel=function(e,t,n){var r=e.currentDevicePixelRatio,o=n/2;return Math.round((t-o)*r)/r+o},F.splineCurve=function(e,t,n,r){var o=e.skip?t:e,i=t,a=n.skip?t:n,s=Math.sqrt(Math.pow(i.x-o.x,2)+Math.pow(i.y-o.y,2)),u=Math.sqrt(Math.pow(a.x-i.x,2)+Math.pow(a.y-i.y,2)),l=s/(s+u),c=u/(s+u),f=r*(l=isNaN(l)?0:l),d=r*(c=isNaN(c)?0:c);return{previous:{x:i.x-f*(a.x-o.x),y:i.y-f*(a.y-o.y)},next:{x:i.x+d*(a.x-o.x),y:i.y+d*(a.y-o.y)}}},F.EPSILON=Number.EPSILON||1e-14,F.splineCurveMonotone=function(e){var t,n,r,o,i,a,s,u,l,c=(e||[]).map((function(e){return{model:e._model,deltaK:0,mK:0}})),f=c.length;for(t=0;t<f;++t)if(!(r=c[t]).model.skip){if(n=t>0?c[t-1]:null,(o=t<f-1?c[t+1]:null)&&!o.model.skip){var d=o.model.x-r.model.x;r.deltaK=0!==d?(o.model.y-r.model.y)/d:0}!n||n.model.skip?r.mK=r.deltaK:!o||o.model.skip?r.mK=n.deltaK:this.sign(n.deltaK)!==this.sign(r.deltaK)?r.mK=0:r.mK=(n.deltaK+r.deltaK)/2}for(t=0;t<f-1;++t)r=c[t],o=c[t+1],r.model.skip||o.model.skip||(F.almostEquals(r.deltaK,0,this.EPSILON)?r.mK=o.mK=0:(i=r.mK/r.deltaK,a=o.mK/r.deltaK,(u=Math.pow(i,2)+Math.pow(a,2))<=9||(s=3/Math.sqrt(u),r.mK=i*s*r.deltaK,o.mK=a*s*r.deltaK)));for(t=0;t<f;++t)(r=c[t]).model.skip||(n=t>0?c[t-1]:null,o=t<f-1?c[t+1]:null,n&&!n.model.skip&&(l=(r.model.x-n.model.x)/3,r.model.controlPointPreviousX=r.model.x-l,r.model.controlPointPreviousY=r.model.y-l*r.mK),o&&!o.model.skip&&(l=(o.model.x-r.model.x)/3,r.model.controlPointNextX=r.model.x+l,r.model.controlPointNextY=r.model.y+l*r.mK))},F.nextItem=function(e,t,n){return n?t>=e.length-1?e[0]:e[t+1]:t>=e.length-1?e[e.length-1]:e[t+1]},F.previousItem=function(e,t,n){return n?t<=0?e[e.length-1]:e[t-1]:t<=0?e[0]:e[t-1]},F.niceNum=function(e,t){var n=Math.floor(F.log10(e)),r=e/Math.pow(10,n);return(t?r<1.5?1:r<3?2:r<7?5:10:r<=1?1:r<=2?2:r<=5?5:10)*Math.pow(10,n)},F.requestAnimFrame="undefined"===typeof window?function(e){e()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)},F.getRelativePosition=function(e,t){var n,r,o=e.originalEvent||e,i=e.target||e.srcElement,a=i.getBoundingClientRect(),s=o.touches;s&&s.length>0?(n=s[0].clientX,r=s[0].clientY):(n=o.clientX,r=o.clientY);var u=parseFloat(F.getStyle(i,"padding-left")),l=parseFloat(F.getStyle(i,"padding-top")),c=parseFloat(F.getStyle(i,"padding-right")),f=parseFloat(F.getStyle(i,"padding-bottom")),d=a.right-a.left-u-c,p=a.bottom-a.top-l-f;return{x:n=Math.round((n-a.left-u)/d*i.width/t.currentDevicePixelRatio),y:r=Math.round((r-a.top-l)/p*i.height/t.currentDevicePixelRatio)}},F.getConstraintWidth=function(e){return n(e,"max-width","clientWidth")},F.getConstraintHeight=function(e){return n(e,"max-height","clientHeight")},F._calculatePadding=function(e,t,n){return(t=F.getStyle(e,t)).indexOf("%")>-1?n*parseInt(t,10)/100:parseInt(t,10)},F._getParentNode=function(e){var t=e.parentNode;return t&&"[object ShadowRoot]"===t.toString()&&(t=t.host),t},F.getMaximumWidth=function(e){var t=F._getParentNode(e);if(!t)return e.clientWidth;var n=t.clientWidth,r=n-F._calculatePadding(t,"padding-left",n)-F._calculatePadding(t,"padding-right",n),o=F.getConstraintWidth(e);return isNaN(o)?r:Math.min(r,o)},F.getMaximumHeight=function(e){var t=F._getParentNode(e);if(!t)return e.clientHeight;var n=t.clientHeight,r=n-F._calculatePadding(t,"padding-top",n)-F._calculatePadding(t,"padding-bottom",n),o=F.getConstraintHeight(e);return isNaN(o)?r:Math.min(r,o)},F.getStyle=function(e,t){return e.currentStyle?e.currentStyle[t]:document.defaultView.getComputedStyle(e,null).getPropertyValue(t)},F.retinaScale=function(e,t){var n=e.currentDevicePixelRatio=t||"undefined"!==typeof window&&window.devicePixelRatio||1;if(1!==n){var r=e.canvas,o=e.height,i=e.width;r.height=o*n,r.width=i*n,e.ctx.scale(n,n),r.style.height||r.style.width||(r.style.height=o+"px",r.style.width=i+"px")}},F.fontString=function(e,t,n){return t+" "+e+"px "+n},F.longestText=function(e,t,n,r){var o=(r=r||{}).data=r.data||{},i=r.garbageCollect=r.garbageCollect||[];r.font!==t&&(o=r.data={},i=r.garbageCollect=[],r.font=t),e.font=t;var a,s,u,l,c,f=0,d=n.length;for(a=0;a<d;a++)if(void 0!==(l=n[a])&&null!==l&&!0!==F.isArray(l))f=F.measureText(e,o,i,f,l);else if(F.isArray(l))for(s=0,u=l.length;s<u;s++)void 0===(c=l[s])||null===c||F.isArray(c)||(f=F.measureText(e,o,i,f,c));var p=i.length/2;if(p>n.length){for(a=0;a<p;a++)delete o[i[a]];i.splice(0,p)}return f},F.measureText=function(e,t,n,r,o){var i=t[o];return i||(i=t[o]=e.measureText(o).width,n.push(o)),i>r&&(r=i),r},F.numberOfLabelLines=function(e){var t=1;return F.each(e,(function(e){F.isArray(e)&&e.length>t&&(t=e.length)})),t},F.color=w?function(e){return e instanceof CanvasGradient&&(e=z.global.defaultColor),w(e)}:function(e){return console.error("Color.js not found!"),e},F.getHoverColor=function(e){return e instanceof CanvasPattern||e instanceof CanvasGradient?e:F.color(e).saturate(.5).darken(.1).rgbString()}}(),$t._adapters=en,$t.Animation=X,$t.animationService=$,$t.controllers=$e,$t.DatasetController=ne,$t.defaults=z,$t.Element=Z,$t.elements=we,$t.Interaction=ot,$t.layouts=ht,$t.platform=Et,$t.plugins=Ot,$t.Scale=yn,$t.scaleService=Tt,$t.Ticks=tn,$t.Tooltip=Yt,$t.helpers.each(lr,(function(e,t){$t.scaleService.registerScaleType(t,e,e._defaults)})),Tr)Tr.hasOwnProperty(_r)&&$t.plugins.register(Tr[_r]);$t.platform.initialize();var Ar=$t;return"undefined"!==typeof window&&(window.Chart=$t),$t.Chart=$t,$t.Legend=Tr.legend._element,$t.Title=Tr.title._element,$t.pluginService=$t.plugins,$t.PluginBase=$t.Element.extend({}),$t.canvasHelpers=$t.helpers.canvas,$t.layoutService=$t.layouts,$t.LinearScaleBase=Nn,$t.helpers.each(["Bar","Bubble","Doughnut","Line","PolarArea","Radar","Scatter"],(function(e){$t[e]=function(t,n){return new $t(t,$t.helpers.merge(n||{},{type:e.charAt(0).toLowerCase()+e.slice(1)}))}})),Ar}(function(){try{return n(89)}catch(e){}}())},function(e,t,n){var r=n(215),o=n(304),i=n(461),a=n(464),s=n(170),u=n(62),l=n(221),c=n(310),f="[object Object]",d=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,p,h,g){var y=u(e),m=u(t),v=y?"[object Array]":s(e),b=m?"[object Array]":s(t),M=(v="[object Arguments]"==v?f:v)==f,w=(b="[object Arguments]"==b?f:b)==f,N=v==b;if(N&&l(e)){if(!l(t))return!1;y=!0,M=!1}if(N&&!M)return g||(g=new r),y||c(e)?o(e,t,n,p,h,g):i(e,t,v,n,p,h,g);if(!(1&n)){var j=M&&d.call(e,"__wrapped__"),S=w&&d.call(t,"__wrapped__");if(j||S){var I=j?e.value():e,D=S?t.value():t;return g||(g=new r),h(I,D,n,p,g)}}return!!N&&(g||(g=new r),a(e,t,n,p,h,g))}},function(e,t){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,n){var r=n(166),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():o.call(t,n,1),--this.size,!0)}},function(e,t,n){var r=n(166);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},function(e,t,n){var r=n(166);e.exports=function(e){return r(this.__data__,e)>-1}},function(e,t,n){var r=n(166);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},function(e,t,n){var r=n(165);e.exports=function(){this.__data__=new r,this.size=0}},function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},function(e,t){e.exports=function(e){return this.__data__.get(e)}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t,n){var r=n(165),o=n(216),i=n(217);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(e,t),this.size=n.size,this}},function(e,t,n){var r=n(301),o=n(441),i=n(98),a=n(303),s=/^\[object .+?Constructor\]$/,u=Function.prototype,l=Object.prototype,c=u.toString,f=l.hasOwnProperty,d=RegExp("^"+c.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(r(e)?d:s).test(a(e))}},function(e,t,n){var r=n(126),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(u){}var o=a.call(e);return r&&(t?e[s]=n:delete e[s]),o}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t,n){var r=n(442),o=function(){var e=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();e.exports=function(e){return!!o&&o in e}},function(e,t,n){var r=n(81)["__core-js_shared__"];e.exports=r},function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e,t,n){var r=n(445),o=n(165),i=n(216);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},function(e,t,n){var r=n(446),o=n(447),i=n(448),a=n(449),s=n(450);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=s,e.exports=u},function(e,t,n){var r=n(168);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},function(e,t){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},function(e,t,n){var r=n(168),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(t,e)?t[e]:void 0}},function(e,t,n){var r=n(168),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},function(e,t,n){var r=n(168);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},function(e,t,n){var r=n(169);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},function(e,t,n){var r=n(169);e.exports=function(e){return r(this,e).get(e)}},function(e,t,n){var r=n(169);e.exports=function(e){return r(this,e).has(e)}},function(e,t,n){var r=n(169);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},function(e,t,n){var r=n(217),o=n(457),i=n(458);function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}a.prototype.add=a.prototype.push=o,a.prototype.has=i,e.exports=a},function(e,t){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},function(e,t){e.exports=function(e,t){return e.has(t)}},function(e,t,n){var r=n(126),o=n(305),i=n(167),a=n(304),s=n(462),u=n(463),l=r?r.prototype:void 0,c=l?l.valueOf:void 0;e.exports=function(e,t,n,r,l,f,d){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!f(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var p=s;case"[object Set]":var h=1&r;if(p||(p=u),e.size!=t.size&&!h)return!1;var g=d.get(e);if(g)return g==t;r|=2,d.set(e,t);var y=a(p(e),p(t),r,l,f,d);return d.delete(e),y;case"[object Symbol]":if(c)return c.call(e)==c.call(t)}return!1}},function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},function(e,t,n){var r=n(306),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,i,a,s){var u=1&n,l=r(e),c=l.length;if(c!=r(t).length&&!u)return!1;for(var f=c;f--;){var d=l[f];if(!(u?d in t:o.call(t,d)))return!1}var p=s.get(e),h=s.get(t);if(p&&h)return p==t&&h==e;var g=!0;s.set(e,t),s.set(t,e);for(var y=u;++f<c;){var m=e[d=l[f]],v=t[d];if(i)var b=u?i(v,m,d,t,e,s):i(m,v,d,e,t,s);if(!(void 0===b?m===v||a(m,v,n,i,s):b)){g=!1;break}y||(y="constructor"==d)}if(g&&!y){var M=e.constructor,w=t.constructor;M==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof M&&M instanceof M&&"function"==typeof w&&w instanceof w||(g=!1)}return s.delete(e),s.delete(t),g}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}},function(e,t){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},function(e,t,n){var r=n(125),o=n(99);e.exports=function(e){return o(e)&&"[object Arguments]"==r(e)}},function(e,t){e.exports=function(){return!1}},function(e,t,n){var r=n(125),o=n(223),i=n(99),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!a[r(e)]}},function(e,t,n){var r=n(226),o=n(471),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},function(e,t,n){var r=n(311)(Object.keys,Object);e.exports=r},function(e,t,n){var r=n(107)(n(81),"DataView");e.exports=r},function(e,t,n){var r=n(107)(n(81),"Promise");e.exports=r},function(e,t,n){var r=n(107)(n(81),"Set");e.exports=r},function(e,t,n){var r=n(107)(n(81),"WeakMap");e.exports=r},function(e,t,n){var r=n(227),o=n(477)((function(e,t,n){r(e,n,t)}));e.exports=o},function(e,t,n){var r=n(478),o=n(479),i=n(313),a=n(62);e.exports=function(e,t){return function(n,s){var u=a(n)?r:o,l=t?t():{};return u(n,e,i(s,2),l)}}},function(e,t){e.exports=function(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o<i;){var a=e[o];t(r,a,n(a),e)}return r}},function(e,t,n){var r=n(228);e.exports=function(e,t,n,o){return r(e,(function(e,r,i){t(o,e,n(e),i)})),o}},function(e,t,n){var r=n(481),o=n(108);e.exports=function(e,t){return e&&r(e,t,o)}},function(e,t,n){var r=n(482)();e.exports=r},function(e,t){e.exports=function(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),s=a.length;s--;){var u=a[e?s:++o];if(!1===n(i[u],u,i))break}return t}}},function(e,t,n){var r=n(148);e.exports=function(e,t){return function(n,o){if(null==n)return n;if(!r(n))return e(n,o);for(var i=n.length,a=t?i:-1,s=Object(n);(t?a--:++a<i)&&!1!==o(s[a],a,s););return n}}},function(e,t,n){var r=n(485),o=n(486),i=n(315);e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},function(e,t,n){var r=n(215),o=n(214);e.exports=function(e,t,n,i){var a=n.length,s=a,u=!i;if(null==e)return!s;for(e=Object(e);a--;){var l=n[a];if(u&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++a<s;){var c=(l=n[a])[0],f=e[c],d=l[1];if(u&&l[2]){if(void 0===f&&!(c in e))return!1}else{var p=new r;if(i)var h=i(f,d,c,e,t,p);if(!(void 0===h?o(d,f,3,i,p):h))return!1}}return!0}},function(e,t,n){var r=n(314),o=n(108);e.exports=function(e){for(var t=o(e),n=t.length;n--;){var i=t[n],a=e[i];t[n]=[i,a,r(a)]}return t}},function(e,t,n){var r=n(214),o=n(488),i=n(493),a=n(230),s=n(314),u=n(315),l=n(149);e.exports=function(e,t){return a(e)&&s(t)?u(l(e),t):function(n){var a=o(n,e);return void 0===a&&a===t?i(n,e):r(t,a,3)}}},function(e,t,n){var r=n(229);e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},function(e,t,n){var r=n(490),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,(function(e,n,r,o){t.push(r?o.replace(i,"$1"):n||e)})),t}));e.exports=a},function(e,t,n){var r=n(491);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},function(e,t,n){var r=n(217);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function n(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},function(e,t,n){var r=n(126),o=n(232),i=n(62),a=n(231),s=r?r.prototype:void 0,u=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(a(t))return u?u.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},function(e,t,n){var r=n(494),o=n(495);e.exports=function(e,t){return null!=e&&o(e,t,r)}},function(e,t){e.exports=function(e,t){return null!=e&&t in Object(e)}},function(e,t,n){var r=n(171),o=n(220),i=n(62),a=n(222),s=n(223),u=n(149);e.exports=function(e,t,n){for(var l=-1,c=(t=r(t,e)).length,f=!1;++l<c;){var d=u(t[l]);if(!(f=null!=e&&n(e,d)))break;e=e[d]}return f||++l!=c?f:!!(c=null==e?0:e.length)&&s(c)&&a(d,c)&&(i(e)||o(e))}},function(e,t,n){var r=n(497),o=n(498),i=n(230),a=n(149);e.exports=function(e){return i(e)?r(a(e)):o(e)}},function(e,t){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},function(e,t,n){var r=n(229);e.exports=function(e){return function(t){return r(t,e)}}},,function(e,t,n){"use strict";var r=n(63),o=n(317),i=n(501),a=n(323);function s(e){var t=new i(e),n=o(i.prototype.request,t);return r.extend(n,i.prototype,t),r.extend(n,t),n}var u=s(n(320));u.Axios=i,u.create=function(e){return s(a(u.defaults,e))},u.Cancel=n(324),u.CancelToken=n(514),u.isCancel=n(319),u.all=function(e){return Promise.all(e)},u.spread=n(515),e.exports=u,e.exports.default=u},function(e,t,n){"use strict";var r=n(63),o=n(318),i=n(502),a=n(503),s=n(323);function u(e){this.defaults=e,this.interceptors={request:new i,response:new i}}u.prototype.request=function(e){"string"===typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=s(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=[a,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach((function(e){t.unshift(e.fulfilled,e.rejected)})),this.interceptors.response.forEach((function(e){t.push(e.fulfilled,e.rejected)}));t.length;)n=n.then(t.shift(),t.shift());return n},u.prototype.getUri=function(e){return e=s(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(e){u.prototype[e]=function(t,n){return this.request(r.merge(n||{},{method:e,url:t}))}})),r.forEach(["post","put","patch"],(function(e){u.prototype[e]=function(t,n,o){return this.request(r.merge(o||{},{method:e,url:t,data:n}))}})),e.exports=u},function(e,t,n){"use strict";var r=n(63);function o(){this.handlers=[]}o.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},function(e,t,n){"use strict";var r=n(63),o=n(504),i=n(319),a=n(320);function s(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return s(e),e.headers=e.headers||{},e.data=o(e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return s(e),t.data=o(t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(s(e),t&&t.response&&(t.response.data=o(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},function(e,t,n){"use strict";var r=n(63);e.exports=function(e,t,n){return r.forEach(n,(function(n){e=n(e,t)})),e}},function(e,t,n){"use strict";var r=n(63);e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},function(e,t,n){"use strict";var r=n(322);e.exports=function(e,t,n){var o=n.config.validateStatus;!o||o(n.status)?e(n):t(r("Request failed with status code "+n.status,n.config,null,n.request,n))}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,o){return e.config=t,n&&(e.code=n),e.request=r,e.response=o,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},function(e,t,n){"use strict";var r=n(509),o=n(510);e.exports=function(e,t){return e&&!r(t)?o(e,t):t}},function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,n){"use strict";var r=n(63),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,i,a={};return e?(r.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=r.trim(e.substr(0,i)).toLowerCase(),n=r.trim(e.substr(i+1)),t){if(a[t]&&o.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}})),a):a}},function(e,t,n){"use strict";var r=n(63);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=o(window.location.href),function(t){var n=r.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},function(e,t,n){"use strict";var r=n(63);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,o,i,a){var s=[];s.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(o)&&s.push("path="+o),r.isString(i)&&s.push("domain="+i),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(e,t,n){"use strict";var r=n(324);function o(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var e;return{token:new o((function(t){e=t})),cancel:e}},e.exports=o},function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t,n){"use strict";var r=60103,o=60106,i=60107,a=60108,s=60114,u=60109,l=60110,c=60112,f=60113,d=60120,p=60115,h=60116,g=60121,y=60122,m=60117,v=60129,b=60131;if("function"===typeof Symbol&&Symbol.for){var M=Symbol.for;r=M("react.element"),o=M("react.portal"),i=M("react.fragment"),a=M("react.strict_mode"),s=M("react.profiler"),u=M("react.provider"),l=M("react.context"),c=M("react.forward_ref"),f=M("react.suspense"),d=M("react.suspense_list"),p=M("react.memo"),h=M("react.lazy"),g=M("react.block"),y=M("react.server.block"),m=M("react.fundamental"),v=M("react.debug_trace_mode"),b=M("react.legacy_hidden")}function w(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case i:case s:case a:case f:case d:return e;default:switch(e=e&&e.$$typeof){case l:case c:case h:case p:case u:return e;default:return t}}case o:return t}}}var N=u,j=r,S=c,I=i,D=h,x=p,E=o,O=s,T=a,C=f;t.ContextConsumer=l,t.ContextProvider=N,t.Element=j,t.ForwardRef=S,t.Fragment=I,t.Lazy=D,t.Memo=x,t.Portal=E,t.Profiler=O,t.StrictMode=T,t.Suspense=C,t.isAsyncMode=function(){return!1},t.isConcurrentMode=function(){return!1},t.isContextConsumer=function(e){return w(e)===l},t.isContextProvider=function(e){return w(e)===u},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===c},t.isFragment=function(e){return w(e)===i},t.isLazy=function(e){return w(e)===h},t.isMemo=function(e){return w(e)===p},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===f},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===i||e===s||e===v||e===a||e===f||e===d||e===b||"object"===typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===p||e.$$typeof===u||e.$$typeof===l||e.$$typeof===c||e.$$typeof===m||e.$$typeof===g||e[0]===y)},t.typeOf=w},function(e,t,n){"use strict";n(518)},function(e,t,n){"use strict";(function(e){var t=n(20);(function(){var n,r="function"==typeof Object.defineProperties?Object.defineProperty:function(e,t,n){e!=Array.prototype&&e!=Object.prototype&&(e[t]=n.value)};var o=function(t){t=["object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof e&&e,t];for(var n=0;n<t.length;++n){var r=t[n];if(r&&r.Math==Math)return r}return globalThis}(this);function i(e){var t=0;return function(){return t<e.length?{done:!1,value:e[t++]}:{done:!0}}}function a(e){var t="undefined"!=typeof Symbol&&Symbol.iterator&&e[Symbol.iterator];return t?t.call(e):{next:i(e)}}!function(e,t){if(t){var n=o;e=e.split(".");for(var i=0;i<e.length-1;i++){var a=e[i];a in n||(n[a]={}),n=n[a]}(t=t(i=n[e=e[e.length-1]]))!=i&&null!=t&&r(n,e,{configurable:!0,writable:!0,value:t})}}("Promise",(function(e){function t(e){this.b=0,this.c=void 0,this.a=[];var t=this.f();try{e(t.resolve,t.reject)}catch(n){t.reject(n)}}function n(){this.a=null}function r(e){return e instanceof t?e:new t((function(t){t(e)}))}if(e)return e;n.prototype.b=function(e){if(null==this.a){this.a=[];var t=this;this.c((function(){t.g()}))}this.a.push(e)};var i=o.setTimeout;n.prototype.c=function(e){i(e,0)},n.prototype.g=function(){for(;this.a&&this.a.length;){var e=this.a;this.a=[];for(var t=0;t<e.length;++t){var n=e[t];e[t]=null;try{n()}catch(r){this.f(r)}}}this.a=null},n.prototype.f=function(e){this.c((function(){throw e}))},t.prototype.f=function(){function e(e){return function(r){n||(n=!0,e.call(t,r))}}var t=this,n=!1;return{resolve:e(this.m),reject:e(this.g)}},t.prototype.m=function(e){if(e===this)this.g(new TypeError("A Promise cannot resolve to itself"));else if(e instanceof t)this.s(e);else{e:switch(typeof e){case"object":var n=null!=e;break e;case"function":n=!0;break e;default:n=!1}n?this.v(e):this.h(e)}},t.prototype.v=function(e){var t=void 0;try{t=e.then}catch(n){return void this.g(n)}"function"==typeof t?this.u(t,e):this.h(e)},t.prototype.g=function(e){this.i(2,e)},t.prototype.h=function(e){this.i(1,e)},t.prototype.i=function(e,t){if(0!=this.b)throw Error("Cannot settle("+e+", "+t+"): Promise already settled in state"+this.b);this.b=e,this.c=t,this.l()},t.prototype.l=function(){if(null!=this.a){for(var e=0;e<this.a.length;++e)s.b(this.a[e]);this.a=null}};var s=new n;return t.prototype.s=function(e){var t=this.f();e.Ra(t.resolve,t.reject)},t.prototype.u=function(e,t){var n=this.f();try{e.call(t,n.resolve,n.reject)}catch(r){n.reject(r)}},t.prototype.then=function(e,n){function r(e,t){return"function"==typeof e?function(t){try{o(e(t))}catch(n){i(n)}}:t}var o,i,a=new t((function(e,t){o=e,i=t}));return this.Ra(r(e,o),r(n,i)),a},t.prototype.catch=function(e){return this.then(void 0,e)},t.prototype.Ra=function(e,t){function n(){switch(r.b){case 1:e(r.c);break;case 2:t(r.c);break;default:throw Error("Unexpected state: "+r.b)}}var r=this;null==this.a?s.b(n):this.a.push(n)},t.resolve=r,t.reject=function(e){return new t((function(t,n){n(e)}))},t.race=function(e){return new t((function(t,n){for(var o=a(e),i=o.next();!i.done;i=o.next())r(i.value).Ra(t,n)}))},t.all=function(e){var n=a(e),o=n.next();return o.done?r([]):new t((function(e,t){function i(t){return function(n){a[t]=n,0==--s&&e(a)}}var a=[],s=0;do{a.push(void 0),s++,r(o.value).Ra(i(a.length-1),t),o=n.next()}while(!o.done)}))},t}));var s=s||{},u=this||self,l=/^[\w+/_-]+[=]{0,2}$/,c=null;function f(e){return(e=e.querySelector&&e.querySelector("script[nonce]"))&&(e=e.nonce||e.getAttribute("nonce"))&&l.test(e)?e:""}function d(){}function p(e){var t=typeof e;return"object"!=t?t:e?Array.isArray(e)?"array":t:"null"}function h(e){var t=p(e);return"array"==t||"object"==t&&"number"==typeof e.length}function g(e){return"function"==p(e)}function y(e){var t=typeof e;return"object"==t&&null!=e||"function"==t}function m(e){return Object.prototype.hasOwnProperty.call(e,v)&&e[v]||(e[v]=++b)}var v="closure_uid_"+(1e9*Math.random()>>>0),b=0;function M(e,t,n){return e.call.apply(e.bind,arguments)}function w(e,t,n){if(!e)throw Error();if(2<arguments.length){var r=Array.prototype.slice.call(arguments,2);return function(){var n=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(n,r),e.apply(t,n)}}return function(){return e.apply(t,arguments)}}function N(e,t,n){return(N=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?M:w).apply(null,arguments)}function j(e,t){var n=Array.prototype.slice.call(arguments,1);return function(){var t=n.slice();return t.push.apply(t,arguments),e.apply(this,t)}}var S=Date.now;function I(e,t){function n(){}n.prototype=t.prototype,e.bb=t.prototype,e.prototype=new n,e.prototype.constructor=e}function D(e){return e}function x(e,t,n){this.code=T+e,this.message=t||C[e]||"",this.a=n||null}function E(e){var t=e&&e.code;return t?new x(t.substring(T.length),e.message,e.serverResponse):null}I(x,Error),x.prototype.w=function(){var e={code:this.code,message:this.message};return this.a&&(e.serverResponse=this.a),e},x.prototype.toJSON=function(){return this.w()};var O,T="auth/",C={"admin-restricted-operation":"This operation is restricted to administrators only.","argument-error":"","app-not-authorized":"This app, identified by the domain where it's hosted, is not authorized to use Firebase Authentication with the provided API key. Review your key configuration in the Google API console.","app-not-installed":"The requested mobile application corresponding to the identifier (Android package name or iOS bundle ID) provided is not installed on this device.","captcha-check-failed":"The reCAPTCHA response token provided is either invalid, expired, already used or the domain associated with it does not match the list of whitelisted domains.","code-expired":"The SMS code has expired. Please re-send the verification code to try again.","cordova-not-ready":"Cordova framework is not ready.","cors-unsupported":"This browser is not supported.","credential-already-in-use":"This credential is already associated with a different user account.","custom-token-mismatch":"The custom token corresponds to a different audience.","requires-recent-login":"This operation is sensitive and requires recent authentication. Log in again before retrying this request.","dynamic-link-not-activated":"Please activate Dynamic Links in the Firebase Console and agree to the terms and conditions.","email-change-needs-verification":"Multi-factor users must always have a verified email.","email-already-in-use":"The email address is already in use by another account.","expired-action-code":"The action code has expired. ","cancelled-popup-request":"This operation has been cancelled due to another conflicting popup being opened.","internal-error":"An internal error has occurred.","invalid-app-credential":"The phone verification request contains an invalid application verifier. The reCAPTCHA token response is either invalid or expired.","invalid-app-id":"The mobile app identifier is not registed for the current project.","invalid-user-token":"This user's credential isn't valid for this project. This can happen if the user's token has been tampered with, or if the user isn't for the project associated with this API key.","invalid-auth-event":"An internal error has occurred.","invalid-verification-code":"The SMS verification code used to create the phone auth credential is invalid. Please resend the verification code sms and be sure to use the verification code provided by the user.","invalid-continue-uri":"The continue URL provided in the request is invalid.","invalid-cordova-configuration":"The following Cordova plugins must be installed to enable OAuth sign-in: cordova-plugin-buildinfo, cordova-universal-links-plugin, cordova-plugin-browsertab, cordova-plugin-inappbrowser and cordova-plugin-customurlscheme.","invalid-custom-token":"The custom token format is incorrect. Please check the documentation.","invalid-dynamic-link-domain":"The provided dynamic link domain is not configured or authorized for the current project.","invalid-email":"The email address is badly formatted.","invalid-api-key":"Your API key is invalid, please check you have copied it correctly.","invalid-cert-hash":"The SHA-1 certificate hash provided is invalid.","invalid-credential":"The supplied auth credential is malformed or has expired.","invalid-message-payload":"The email template corresponding to this action contains invalid characters in its message. Please fix by going to the Auth email templates section in the Firebase Console.","invalid-multi-factor-session":"The request does not contain a valid proof of first factor successful sign-in.","invalid-oauth-provider":"EmailAuthProvider is not supported for this operation. This operation only supports OAuth providers.","invalid-oauth-client-id":"The OAuth client ID provided is either invalid or does not match the specified API key.","unauthorized-domain":"This domain is not authorized for OAuth operations for your Firebase project. Edit the list of authorized domains from the Firebase console.","invalid-action-code":"The action code is invalid. This can happen if the code is malformed, expired, or has already been used.","wrong-password":"The password is invalid or the user does not have a password.","invalid-persistence-type":"The specified persistence type is invalid. It can only be local, session or none.","invalid-phone-number":"The format of the phone number provided is incorrect. Please enter the phone number in a format that can be parsed into E.164 format. E.164 phone numbers are written in the format [+][country code][subscriber number including area code].","invalid-provider-id":"The specified provider ID is invalid.","invalid-recipient-email":"The email corresponding to this action failed to send as the provided recipient email address is invalid.","invalid-sender":"The email template corresponding to this action contains an invalid sender email or name. Please fix by going to the Auth email templates section in the Firebase Console.","invalid-verification-id":"The verification ID used to create the phone auth credential is invalid.","invalid-tenant-id":"The Auth instance's tenant ID is invalid.","multi-factor-info-not-found":"The user does not have a second factor matching the identifier provided.","multi-factor-auth-required":"Proof of ownership of a second factor is required to complete sign-in.","missing-android-pkg-name":"An Android Package Name must be provided if the Android App is required to be installed.","auth-domain-config-required":"Be sure to include authDomain when calling firebase.initializeApp(), by following the instructions in the Firebase console.","missing-app-credential":"The phone verification request is missing an application verifier assertion. A reCAPTCHA response token needs to be provided.","missing-verification-code":"The phone auth credential was created with an empty SMS verification code.","missing-continue-uri":"A continue URL must be provided in the request.","missing-iframe-start":"An internal error has occurred.","missing-ios-bundle-id":"An iOS Bundle ID must be provided if an App Store ID is provided.","missing-multi-factor-info":"No second factor identifier is provided.","missing-multi-factor-session":"The request is missing proof of first factor successful sign-in.","missing-or-invalid-nonce":"The request does not contain a valid nonce. This can occur if the SHA-256 hash of the provided raw nonce does not match the hashed nonce in the ID token payload.","missing-phone-number":"To send verification codes, provide a phone number for the recipient.","missing-verification-id":"The phone auth credential was created with an empty verification ID.","app-deleted":"This instance of FirebaseApp has been deleted.","account-exists-with-different-credential":"An account already exists with the same email address but different sign-in credentials. Sign in using a provider associated with this email address.","network-request-failed":"A network error (such as timeout, interrupted connection or unreachable host) has occurred.","no-auth-event":"An internal error has occurred.","no-such-provider":"User was not linked to an account with the given provider.","null-user":"A null user object was provided as the argument for an operation which requires a non-null user object.","operation-not-allowed":"The given sign-in provider is disabled for this Firebase project. Enable it in the Firebase console, under the sign-in method tab of the Auth section.","operation-not-supported-in-this-environment":'This operation is not supported in the environment this application is running on. "location.protocol" must be http, https or chrome-extension and web storage must be enabled.',"popup-blocked":"Unable to establish a connection with the popup. It may have been blocked by the browser.","popup-closed-by-user":"The popup has been closed by the user before finalizing the operation.","provider-already-linked":"User can only be linked to one identity for the given provider.","quota-exceeded":"The project's quota for this operation has been exceeded.","redirect-cancelled-by-user":"The redirect operation has been cancelled by the user before finalizing.","redirect-operation-pending":"A redirect sign-in operation is already pending.","rejected-credential":"The request contains malformed or mismatching credentials.","second-factor-already-in-use":"The second factor is already enrolled on this account.","maximum-second-factor-count-exceeded":"The maximum allowed number of second factors on a user has been exceeded.","tenant-id-mismatch":"The provided tenant ID does not match the Auth instance's tenant ID",timeout:"The operation has timed out.","user-token-expired":"The user's credential is no longer valid. The user must sign in again.","too-many-requests":"We have blocked all requests from this device due to unusual activity. Try again later.","unauthorized-continue-uri":"The domain of the continue URL is not whitelisted.  Please whitelist the domain in the Firebase console.","unsupported-first-factor":"Enrolling a second factor or signing in with a multi-factor account requires sign-in with a supported first factor.","unsupported-persistence-type":"The current environment does not support the specified persistence type.","unsupported-tenant-operation":"This operation is not supported in a multi-tenant context.","unverified-email":"The operation requires a verified email.","user-cancelled":"The user did not grant your application the permissions it requested.","user-not-found":"There is no user record corresponding to this identifier. The user may have been deleted.","user-disabled":"The user account has been disabled by an administrator.","user-mismatch":"The supplied credentials do not correspond to the previously signed in user.","user-signed-out":"","weak-password":"The password must be 6 characters long or more.","web-storage-unsupported":"This browser is not supported or 3rd party cookies and data may be disabled."},k={ld:{Ua:"https://staging-identitytoolkit.sandbox.googleapis.com/identitytoolkit/v3/relyingparty/",$a:"https://staging-securetoken.sandbox.googleapis.com/v1/token",Xa:"https://staging-identitytoolkit.sandbox.googleapis.com/v2/",id:"b"},sd:{Ua:"https://www.googleapis.com/identitytoolkit/v3/relyingparty/",$a:"https://securetoken.googleapis.com/v1/token",Xa:"https://identitytoolkit.googleapis.com/v2/",id:"p"},ud:{Ua:"https://staging-www.sandbox.googleapis.com/identitytoolkit/v3/relyingparty/",$a:"https://staging-securetoken.sandbox.googleapis.com/v1/token",Xa:"https://staging-identitytoolkit.sandbox.googleapis.com/v2/",id:"s"},vd:{Ua:"https://www-googleapis-test.sandbox.google.com/identitytoolkit/v3/relyingparty/",$a:"https://test-securetoken.sandbox.googleapis.com/v1/token",Xa:"https://test-identitytoolkit.sandbox.googleapis.com/v2/",id:"t"}};function L(e){for(var t in k)if(k[t].id===e)return{firebaseEndpoint:(e=k[t]).Ua,secureTokenEndpoint:e.$a,identityPlatformEndpoint:e.Xa};return null}function _(e){if(!e)return!1;try{return!!e.$goog_Thenable}catch(t){return!1}}function A(e){if(Error.captureStackTrace)Error.captureStackTrace(this,A);else{var t=Error().stack;t&&(this.stack=t)}e&&(this.message=String(e))}function z(e,t){for(var n="",r=(e=e.split("%s")).length-1,o=0;o<r;o++)n+=e[o]+(o<t.length?t[o]:"%s");A.call(this,n+e[r])}function P(e,t){throw new z("Failure"+(e?": "+e:""),Array.prototype.slice.call(arguments,1))}function R(e,t){this.c=e,this.f=t,this.b=0,this.a=null}function U(e,t){e.f(t),100>e.b&&(e.b++,t.next=e.a,e.a=t)}function B(){this.b=this.a=null}O=L("__EID__")?"__EID__":void 0,I(A,Error),A.prototype.name="CustomError",I(z,A),z.prototype.name="AssertionError",R.prototype.get=function(){if(0<this.b){this.b--;var e=this.a;this.a=e.next,e.next=null}else e=this.c();return e};var F=new R((function(){return new G}),(function(e){e.reset()}));function Y(){var e=Mt,t=null;return e.a&&(t=e.a,e.a=e.a.next,e.a||(e.b=null),t.next=null),t}function G(){this.next=this.b=this.a=null}B.prototype.add=function(e,t){var n=F.get();n.set(e,t),this.b?this.b.next=n:this.a=n,this.b=n},G.prototype.set=function(e,t){this.a=e,this.b=t,this.next=null},G.prototype.reset=function(){this.next=this.b=this.a=null};var H=Array.prototype.indexOf?function(e,t){return Array.prototype.indexOf.call(e,t,void 0)}:function(e,t){if("string"===typeof e)return"string"!==typeof t||1!=t.length?-1:e.indexOf(t,0);for(var n=0;n<e.length;n++)if(n in e&&e[n]===t)return n;return-1},V=Array.prototype.forEach?function(e,t,n){Array.prototype.forEach.call(e,t,n)}:function(e,t,n){for(var r=e.length,o="string"===typeof e?e.split(""):e,i=0;i<r;i++)i in o&&t.call(n,o[i],i,e)};var Q=Array.prototype.filter?function(e,t){return Array.prototype.filter.call(e,t,void 0)}:function(e,t){for(var n=e.length,r=[],o=0,i="string"===typeof e?e.split(""):e,a=0;a<n;a++)if(a in i){var s=i[a];t.call(void 0,s,a,e)&&(r[o++]=s)}return r},W=Array.prototype.map?function(e,t){return Array.prototype.map.call(e,t,void 0)}:function(e,t){for(var n=e.length,r=Array(n),o="string"===typeof e?e.split(""):e,i=0;i<n;i++)i in o&&(r[i]=t.call(void 0,o[i],i,e));return r},Z=Array.prototype.some?function(e,t){return Array.prototype.some.call(e,t,void 0)}:function(e,t){for(var n=e.length,r="string"===typeof e?e.split(""):e,o=0;o<n;o++)if(o in r&&t.call(void 0,r[o],o,e))return!0;return!1};function q(e,t){return 0<=H(e,t)}function X(e,t){var n;return(n=0<=(t=H(e,t)))&&Array.prototype.splice.call(e,t,1),n}function $(e,t){!function(e,t){for(var n="string"===typeof e?e.split(""):e,r=e.length-1;0<=r;--r)r in n&&t.call(void 0,n[r],r,e)}(e,(function(n,r){t.call(void 0,n,r,e)&&1==Array.prototype.splice.call(e,r,1).length&&0}))}function J(e){return Array.prototype.concat.apply([],arguments)}function K(e){var t=e.length;if(0<t){for(var n=Array(t),r=0;r<t;r++)n[r]=e[r];return n}return[]}var ee,te=String.prototype.trim?function(e){return e.trim()}:function(e){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(e)[1]},ne=/&/g,re=/</g,oe=/>/g,ie=/"/g,ae=/'/g,se=/\x00/g,ue=/[\x00&<>"']/;function le(e,t){return-1!=e.indexOf(t)}function ce(e,t){return e<t?-1:e>t?1:0}e:{var fe=u.navigator;if(fe){var de=fe.userAgent;if(de){ee=de;break e}}ee=""}function pe(e){return le(ee,e)}function he(e,t){for(var n in e)t.call(void 0,e[n],n,e)}function ge(e){for(var t in e)return!1;return!0}function ye(e){var t,n={};for(t in e)n[t]=e[t];return n}var me="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function ve(e,t){for(var n,r,o=1;o<arguments.length;o++){for(n in r=arguments[o])e[n]=r[n];for(var i=0;i<me.length;i++)n=me[i],Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}}function be(e,t){e:{try{var n=e&&e.ownerDocument,r=n&&(n.defaultView||n.parentWindow);if((r=r||u).Element&&r.Location){var o=r;break e}}catch(a){}o=null}if(o&&"undefined"!=typeof o[t]&&(!e||!(e instanceof o[t])&&(e instanceof o.Location||e instanceof o.Element))){if(y(e))try{var i=e.constructor.displayName||e.constructor.name||Object.prototype.toString.call(e)}catch(a){i="<object could not be stringified>"}else i=void 0===e?"undefined":null===e?"null":typeof e;P("Argument is not a %s (or a non-Element, non-Location mock); got: %s",t,i)}}function Me(e,t){this.a=e===Se&&t||"",this.b=je}function we(e){return e instanceof Me&&e.constructor===Me&&e.b===je?e.a:(P("expected object of type Const, got '"+e+"'"),"type_error:Const")}Me.prototype.ta=!0,Me.prototype.sa=function(){return this.a},Me.prototype.toString=function(){return"Const{"+this.a+"}"};var Ne,je={},Se={};function Ie(){if(void 0===Ne){var e=null,t=u.trustedTypes;if(t&&t.createPolicy){try{e=t.createPolicy("goog#html",{createHTML:D,createScript:D,createScriptURL:D})}catch(n){u.console&&u.console.error(n.message)}Ne=e}else Ne=e}return Ne}function De(e,t){this.a=t===Ce?e:""}function xe(e){return e instanceof De&&e.constructor===De?e.a:(P("expected object of type TrustedResourceUrl, got '"+e+"' of type "+p(e)),"type_error:TrustedResourceUrl")}function Ee(e,t){var n=we(e);if(!Te.test(n))throw Error("Invalid TrustedResourceUrl format: "+n);return function(e){var t=Ie();return new De(e=t?t.createScriptURL(e):e,Ce)}(e=n.replace(Oe,(function(e,r){if(!Object.prototype.hasOwnProperty.call(t,r))throw Error('Found marker, "'+r+'", in format string, "'+n+'", but no valid label mapping found in args: '+JSON.stringify(t));return(e=t[r])instanceof Me?we(e):encodeURIComponent(String(e))})))}De.prototype.ta=!0,De.prototype.sa=function(){return this.a.toString()},De.prototype.toString=function(){return"TrustedResourceUrl{"+this.a+"}"};var Oe=/%{(\w+)}/g,Te=/^((https:)?\/\/[0-9a-z.:[\]-]+\/|\/[^/\\]|[^:/\\%]+\/|[^:/\\%]*[?#]|about:blank#)/i,Ce={};function ke(e,t){this.a=t===Ue?e:""}function Le(e){return e instanceof ke&&e.constructor===ke?e.a:(P("expected object of type SafeUrl, got '"+e+"' of type "+p(e)),"type_error:SafeUrl")}ke.prototype.ta=!0,ke.prototype.sa=function(){return this.a.toString()},ke.prototype.toString=function(){return"SafeUrl{"+this.a+"}"};var _e=/^(?:audio\/(?:3gpp2|3gpp|aac|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-matroska|x-wav|wav|webm)|font\/\w+|image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp|x-icon)|text\/csv|video\/(?:mpeg|mp4|ogg|webm|quicktime|x-matroska))(?:;\w+=(?:\w+|"[\w;,= ]+"))*$/i,Ae=/^data:(.*);base64,[a-z0-9+\/]+=*$/i,ze=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i;function Pe(e){if(e instanceof ke)return e;if(e="object"==typeof e&&e.ta?e.sa():String(e),ze.test(e))e=new ke(e,Ue);else{var t=(e=(e=String(e)).replace(/(%0A|%0D)/g,"")).match(Ae);e=t&&_e.test(t[1])?new ke(e,Ue):null}return e}function Re(e){return e instanceof ke?e:(e="object"==typeof e&&e.ta?e.sa():String(e),ze.test(e)||(e="about:invalid#zClosurez"),new ke(e,Ue))}var Ue={},Be=new ke("about:invalid#zClosurez",Ue);function Fe(e,t,n){this.a=n===Ye?e:""}Fe.prototype.ta=!0,Fe.prototype.sa=function(){return this.a.toString()},Fe.prototype.toString=function(){return"SafeHtml{"+this.a+"}"};var Ye={};function Ge(e,t,n,r){return e=e instanceof ke?e:Re(e),t=t||u,n=n instanceof Me?we(n):n||"",t.open(Le(e),n,r,void 0)}function He(e,t){for(var n=e.split("%s"),r="",o=Array.prototype.slice.call(arguments,1);o.length&&1<n.length;)r+=n.shift()+o.shift();return r+n.join("%s")}function Ve(e){return ue.test(e)&&(-1!=e.indexOf("&")&&(e=e.replace(ne,"&amp;")),-1!=e.indexOf("<")&&(e=e.replace(re,"&lt;")),-1!=e.indexOf(">")&&(e=e.replace(oe,"&gt;")),-1!=e.indexOf('"')&&(e=e.replace(ie,"&quot;")),-1!=e.indexOf("'")&&(e=e.replace(ae,"&#39;")),-1!=e.indexOf("\0")&&(e=e.replace(se,"&#0;"))),e}function Qe(e){return Qe[" "](e),e}Qe[" "]=d;var We,Ze=pe("Opera"),qe=pe("Trident")||pe("MSIE"),Xe=pe("Edge"),$e=Xe||qe,Je=pe("Gecko")&&!(le(ee.toLowerCase(),"webkit")&&!pe("Edge"))&&!(pe("Trident")||pe("MSIE"))&&!pe("Edge"),Ke=le(ee.toLowerCase(),"webkit")&&!pe("Edge");function et(){var e=u.document;return e?e.documentMode:void 0}e:{var tt="",nt=function(){var e=ee;return Je?/rv:([^\);]+)(\)|;)/.exec(e):Xe?/Edge\/([\d\.]+)/.exec(e):qe?/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(e):Ke?/WebKit\/(\S+)/.exec(e):Ze?/(?:Version)[ \/]?(\S+)/.exec(e):void 0}();if(nt&&(tt=nt?nt[1]:""),qe){var rt=et();if(null!=rt&&rt>parseFloat(tt)){We=String(rt);break e}}We=tt}var ot,it={};function at(e){return function(e,t){var n=it;return Object.prototype.hasOwnProperty.call(n,e)?n[e]:n[e]=t(e)}(e,(function(){for(var t=0,n=te(String(We)).split("."),r=te(String(e)).split("."),o=Math.max(n.length,r.length),i=0;0==t&&i<o;i++){var a=n[i]||"",s=r[i]||"";do{if(a=/(\d*)(\D*)(.*)/.exec(a)||["","","",""],s=/(\d*)(\D*)(.*)/.exec(s)||["","","",""],0==a[0].length&&0==s[0].length)break;t=ce(0==a[1].length?0:parseInt(a[1],10),0==s[1].length?0:parseInt(s[1],10))||ce(0==a[2].length,0==s[2].length)||ce(a[2],s[2]),a=a[3],s=s[3]}while(0==t)}return 0<=t}))}if(u.document&&qe){var st=et();ot=st||(parseInt(We,10)||void 0)}else ot=void 0;var ut=ot;try{new self.OffscreenCanvas(0,0).getContext("2d")}catch(ua){}var lt=!qe||9<=Number(ut);function ct(e){var t=document;return"string"===typeof e?t.getElementById(e):e}function ft(e,t){he(t,(function(t,n){t&&"object"==typeof t&&t.ta&&(t=t.sa()),"style"==n?e.style.cssText=t:"class"==n?e.className=t:"for"==n?e.htmlFor=t:ht.hasOwnProperty(n)?e.setAttribute(ht[n],t):0==n.lastIndexOf("aria-",0)||0==n.lastIndexOf("data-",0)?e.setAttribute(n,t):e[n]=t}))}var dt,pt,ht={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"};function gt(e,t,n){function r(n){n&&t.appendChild("string"===typeof n?e.createTextNode(n):n)}for(var o=2;o<n.length;o++){var i=n[o];if(!h(i)||y(i)&&0<i.nodeType)r(i);else{e:{if(i&&"number"==typeof i.length){if(y(i)){var a="function"==typeof i.item||"string"==typeof i.item;break e}if(g(i)){a="function"==typeof i.item;break e}}a=!1}V(a?K(i):i,r)}}}function yt(e,t){return t=String(t),"application/xhtml+xml"===e.contentType&&(t=t.toLowerCase()),e.createElement(t)}function mt(e){u.setTimeout((function(){throw e}),0)}function vt(e,t){pt||function(){if(u.Promise&&u.Promise.resolve){var e=u.Promise.resolve(void 0);pt=function(){e.then(wt)}}else pt=function(){var e=wt;!g(u.setImmediate)||u.Window&&u.Window.prototype&&!pe("Edge")&&u.Window.prototype.setImmediate==u.setImmediate?(dt||(dt=function(){var e=u.MessageChannel;if("undefined"===typeof e&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!pe("Presto")&&(e=function(){var e=yt(document,"IFRAME");e.style.display="none",document.documentElement.appendChild(e);var t=e.contentWindow;(e=t.document).open(),e.close();var n="callImmediate"+Math.random(),r="file:"==t.location.protocol?"*":t.location.protocol+"//"+t.location.host;e=N((function(e){"*"!=r&&e.origin!=r||e.data!=n||this.port1.onmessage()}),this),t.addEventListener("message",e,!1),this.port1={},this.port2={postMessage:function(){t.postMessage(n,r)}}}),"undefined"!==typeof e&&!pe("Trident")&&!pe("MSIE")){var t=new e,n={},r=n;return t.port1.onmessage=function(){if(void 0!==n.next){var e=(n=n.next).Hb;n.Hb=null,e()}},function(e){r.next={Hb:e},r=r.next,t.port2.postMessage(0)}}return function(e){u.setTimeout(e,0)}}()),dt(e)):u.setImmediate(e)}}(),bt||(pt(),bt=!0),Mt.add(e,t)}var bt=!1,Mt=new B;function wt(){for(var e;e=Y();){try{e.a.call(e.b)}catch(t){mt(t)}U(F,e)}bt=!1}function Nt(e,t){if(this.a=jt,this.i=void 0,this.f=this.b=this.c=null,this.g=this.h=!1,e!=d)try{var n=this;e.call(t,(function(e){At(n,St,e)}),(function(e){if(!(e instanceof Yt))try{if(e instanceof Error)throw e;throw Error("Promise rejected.")}catch(t){}At(n,It,e)}))}catch(r){At(this,It,r)}}var jt=0,St=2,It=3;function Dt(){this.next=this.f=this.b=this.g=this.a=null,this.c=!1}Dt.prototype.reset=function(){this.f=this.b=this.g=this.a=null,this.c=!1};var xt=new R((function(){return new Dt}),(function(e){e.reset()}));function Et(e,t,n){var r=xt.get();return r.g=e,r.b=t,r.f=n,r}function Ot(e){if(e instanceof Nt)return e;var t=new Nt(d);return At(t,St,e),t}function Tt(e){return new Nt((function(t,n){n(e)}))}function Ct(e,t,n){zt(e,t,n,null)||vt(j(t,e))}function kt(e){return new Nt((function(t){var n=e.length,r=[];if(n)for(var o=function(e,o,i){n--,r[e]=o?{Qb:!0,value:i}:{Qb:!1,reason:i},0==n&&t(r)},i=0;i<e.length;i++)Ct(e[i],j(o,i,!0),j(o,i,!1));else t(r)}))}function Lt(e,t){e.b||e.a!=St&&e.a!=It||Pt(e),e.f?e.f.next=t:e.b=t,e.f=t}function _t(e,t,n,r){var o=Et(null,null,null);return o.a=new Nt((function(e,i){o.g=t?function(n){try{var o=t.call(r,n);e(o)}catch(a){i(a)}}:e,o.b=n?function(t){try{var o=n.call(r,t);void 0===o&&t instanceof Yt?i(t):e(o)}catch(a){i(a)}}:i})),o.a.c=e,Lt(e,o),o.a}function At(e,t,n){e.a==jt&&(e===n&&(t=It,n=new TypeError("Promise cannot resolve to itself")),e.a=1,zt(n,e.$c,e.ad,e)||(e.i=n,e.a=t,e.c=null,Pt(e),t!=It||n instanceof Yt||function(e,t){e.g=!0,vt((function(){e.g&&Ft.call(null,t)}))}(e,n)))}function zt(e,t,n,r){if(e instanceof Nt)return Lt(e,Et(t||d,n||null,r)),!0;if(_(e))return e.then(t,n,r),!0;if(y(e))try{var o=e.then;if(g(o))return function(e,t,n,r,o){function i(e){a||(a=!0,r.call(o,e))}var a=!1;try{t.call(e,(function(e){a||(a=!0,n.call(o,e))}),i)}catch(s){i(s)}}(e,o,t,n,r),!0}catch(i){return n.call(r,i),!0}return!1}function Pt(e){e.h||(e.h=!0,vt(e.gc,e))}function Rt(e){var t=null;return e.b&&(t=e.b,e.b=t.next,t.next=null),e.b||(e.f=null),t}function Ut(e,t,n,r){if(n==It&&t.b&&!t.c)for(;e&&e.g;e=e.c)e.g=!1;if(t.a)t.a.c=null,Bt(t,n,r);else try{t.c?t.g.call(t.f):Bt(t,n,r)}catch(o){Ft.call(null,o)}U(xt,t)}function Bt(e,t,n){t==St?e.g.call(e.f,n):e.b&&e.b.call(e.f,n)}Nt.prototype.then=function(e,t,n){return _t(this,g(e)?e:null,g(t)?t:null,n)},Nt.prototype.$goog_Thenable=!0,(n=Nt.prototype).oa=function(e,t){return(e=Et(e,e,t)).c=!0,Lt(this,e),this},n.o=function(e,t){return _t(this,null,e,t)},n.cancel=function(e){if(this.a==jt){var t=new Yt(e);vt((function(){!function e(t,n){if(t.a==jt)if(t.c){var r=t.c;if(r.b){for(var o=0,i=null,a=null,s=r.b;s&&(s.c||(o++,s.a==t&&(i=s),!(i&&1<o)));s=s.next)i||(a=s);i&&(r.a==jt&&1==o?e(r,n):(a?((o=a).next==r.f&&(r.f=o),o.next=o.next.next):Rt(r),Ut(r,i,It,n)))}t.c=null}else At(t,It,n)}(this,t)}),this)}},n.$c=function(e){this.a=jt,At(this,St,e)},n.ad=function(e){this.a=jt,At(this,It,e)},n.gc=function(){for(var e;e=Rt(this);)Ut(this,e,this.a,this.i);this.h=!1};var Ft=mt;function Yt(e){A.call(this,e)}function Gt(){0!=Ht&&(Vt[m(this)]=this),this.ya=this.ya,this.pa=this.pa}I(Yt,A),Yt.prototype.name="cancel";var Ht=0,Vt={};function Qt(e){if(!e.ya&&(e.ya=!0,e.Da(),0!=Ht)){var t=m(e);if(0!=Ht&&e.pa&&0<e.pa.length)throw Error(e+" did not empty its onDisposeCallbacks queue. This probably means it overrode dispose() or disposeInternal() without calling the superclass' method.");delete Vt[t]}}Gt.prototype.ya=!1,Gt.prototype.Da=function(){if(this.pa)for(;this.pa.length;)this.pa.shift()()};var Wt=Object.freeze||function(e){return e},Zt=!qe||9<=Number(ut),qt=qe&&!at("9"),Xt=function(){if(!u.addEventListener||!Object.defineProperty)return!1;var e=!1,t=Object.defineProperty({},"passive",{get:function(){e=!0}});try{u.addEventListener("test",d,t),u.removeEventListener("test",d,t)}catch(n){}return e}();function $t(e,t){this.type=e,this.b=this.target=t,this.defaultPrevented=!1}function Jt(e,t){if($t.call(this,e?e.type:""),this.relatedTarget=this.b=this.target=null,this.button=this.screenY=this.screenX=this.clientY=this.clientX=0,this.key="",this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1,this.pointerId=0,this.pointerType="",this.a=null,e){var n=this.type=e.type,r=e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:null;if(this.target=e.target||e.srcElement,this.b=t,t=e.relatedTarget){if(Je){e:{try{Qe(t.nodeName);var o=!0;break e}catch(i){}o=!1}o||(t=null)}}else"mouseover"==n?t=e.fromElement:"mouseout"==n&&(t=e.toElement);this.relatedTarget=t,r?(this.clientX=void 0!==r.clientX?r.clientX:r.pageX,this.clientY=void 0!==r.clientY?r.clientY:r.pageY,this.screenX=r.screenX||0,this.screenY=r.screenY||0):(this.clientX=void 0!==e.clientX?e.clientX:e.pageX,this.clientY=void 0!==e.clientY?e.clientY:e.pageY,this.screenX=e.screenX||0,this.screenY=e.screenY||0),this.button=e.button,this.key=e.key||"",this.ctrlKey=e.ctrlKey,this.altKey=e.altKey,this.shiftKey=e.shiftKey,this.metaKey=e.metaKey,this.pointerId=e.pointerId||0,this.pointerType="string"===typeof e.pointerType?e.pointerType:Kt[e.pointerType]||"",this.a=e,e.defaultPrevented&&this.preventDefault()}}$t.prototype.preventDefault=function(){this.defaultPrevented=!0},I(Jt,$t);var Kt=Wt({2:"touch",3:"pen",4:"mouse"});Jt.prototype.preventDefault=function(){Jt.bb.preventDefault.call(this);var e=this.a;if(e.preventDefault)e.preventDefault();else if(e.returnValue=!1,qt)try{(e.ctrlKey||112<=e.keyCode&&123>=e.keyCode)&&(e.keyCode=-1)}catch(t){}},Jt.prototype.g=function(){return this.a};var en="closure_listenable_"+(1e6*Math.random()|0),tn=0;function nn(e,t,n,r,o){this.listener=e,this.proxy=null,this.src=t,this.type=n,this.capture=!!r,this.Wa=o,this.key=++tn,this.wa=this.Qa=!1}function rn(e){e.wa=!0,e.listener=null,e.proxy=null,e.src=null,e.Wa=null}function on(e){this.src=e,this.a={},this.b=0}function an(e,t){var n=t.type;n in e.a&&X(e.a[n],t)&&(rn(t),0==e.a[n].length&&(delete e.a[n],e.b--))}function sn(e,t,n,r){for(var o=0;o<e.length;++o){var i=e[o];if(!i.wa&&i.listener==t&&i.capture==!!n&&i.Wa==r)return o}return-1}on.prototype.add=function(e,t,n,r,o){var i=e.toString();(e=this.a[i])||(e=this.a[i]=[],this.b++);var a=sn(e,t,r,o);return-1<a?(t=e[a],n||(t.Qa=!1)):((t=new nn(t,this.src,i,!!r,o)).Qa=n,e.push(t)),t};var un="closure_lm_"+(1e6*Math.random()|0),ln={};function cn(e,t,n,r,o){if(r&&r.once)dn(e,t,n,r,o);else if(Array.isArray(t))for(var i=0;i<t.length;i++)cn(e,t[i],n,r,o);else n=wn(n),e&&e[en]?jn(e,t,n,y(r)?!!r.capture:!!r,o):fn(e,t,n,!1,r,o)}function fn(e,t,n,r,o,i){if(!t)throw Error("Invalid event type");var a=y(o)?!!o.capture:!!o,s=bn(e);if(s||(e[un]=s=new on(e)),!(n=s.add(t,n,r,a,i)).proxy){if(r=function(){var e=vn,t=Zt?function(n){return e.call(t.src,t.listener,n)}:function(n){if(!(n=e.call(t.src,t.listener,n)))return n};return t}(),n.proxy=r,r.src=e,r.listener=n,e.addEventListener)Xt||(o=a),void 0===o&&(o=!1),e.addEventListener(t.toString(),r,o);else if(e.attachEvent)e.attachEvent(gn(t.toString()),r);else{if(!e.addListener||!e.removeListener)throw Error("addEventListener and attachEvent are unavailable.");e.addListener(r)}0}}function dn(e,t,n,r,o){if(Array.isArray(t))for(var i=0;i<t.length;i++)dn(e,t[i],n,r,o);else n=wn(n),e&&e[en]?Sn(e,t,n,y(r)?!!r.capture:!!r,o):fn(e,t,n,!0,r,o)}function pn(e,t,n,r,o){if(Array.isArray(t))for(var i=0;i<t.length;i++)pn(e,t[i],n,r,o);else r=y(r)?!!r.capture:!!r,n=wn(n),e&&e[en]?(e=e.v,(t=String(t).toString())in e.a&&(-1<(n=sn(i=e.a[t],n,r,o))&&(rn(i[n]),Array.prototype.splice.call(i,n,1),0==i.length&&(delete e.a[t],e.b--)))):e&&(e=bn(e))&&(t=e.a[t.toString()],e=-1,t&&(e=sn(t,n,r,o)),(n=-1<e?t[e]:null)&&hn(n))}function hn(e){if("number"!==typeof e&&e&&!e.wa){var t=e.src;if(t&&t[en])an(t.v,e);else{var n=e.type,r=e.proxy;t.removeEventListener?t.removeEventListener(n,r,e.capture):t.detachEvent?t.detachEvent(gn(n),r):t.addListener&&t.removeListener&&t.removeListener(r),(n=bn(t))?(an(n,e),0==n.b&&(n.src=null,t[un]=null)):rn(e)}}}function gn(e){return e in ln?ln[e]:ln[e]="on"+e}function yn(e,t,n,r){var o=!0;if((e=bn(e))&&(t=e.a[t.toString()]))for(t=t.concat(),e=0;e<t.length;e++){var i=t[e];i&&i.capture==n&&!i.wa&&(i=mn(i,r),o=o&&!1!==i)}return o}function mn(e,t){var n=e.listener,r=e.Wa||e.src;return e.Qa&&hn(e),n.call(r,t)}function vn(e,t){if(e.wa)return!0;if(!Zt){if(!t)e:{t=["window","event"];for(var n=u,r=0;r<t.length;r++)if(null==(n=n[t[r]])){t=null;break e}t=n}if(t=new Jt(r=t,this),n=!0,!(0>r.keyCode||void 0!=r.returnValue)){e:{var o=!1;if(0==r.keyCode)try{r.keyCode=-1;break e}catch(a){o=!0}(o||void 0==r.returnValue)&&(r.returnValue=!0)}for(r=[],o=t.b;o;o=o.parentNode)r.push(o);for(e=e.type,o=r.length-1;0<=o;o--){t.b=r[o];var i=yn(r[o],e,!0,t);n=n&&i}for(o=0;o<r.length;o++)t.b=r[o],i=yn(r[o],e,!1,t),n=n&&i}return n}return mn(e,new Jt(t,this))}function bn(e){return(e=e[un])instanceof on?e:null}var Mn="__closure_events_fn_"+(1e9*Math.random()>>>0);function wn(e){return g(e)?e:(e[Mn]||(e[Mn]=function(t){return e.handleEvent(t)}),e[Mn])}function Nn(){Gt.call(this),this.v=new on(this),this.bc=this,this.hb=null}function jn(e,t,n,r,o){e.v.add(String(t),n,!1,r,o)}function Sn(e,t,n,r,o){e.v.add(String(t),n,!0,r,o)}function In(e,t,n,r){if(!(t=e.v.a[String(t)]))return!0;t=t.concat();for(var o=!0,i=0;i<t.length;++i){var a=t[i];if(a&&!a.wa&&a.capture==n){var s=a.listener,u=a.Wa||a.src;a.Qa&&an(e.v,a),o=!1!==s.call(u,r)&&o}}return o&&!r.defaultPrevented}function Dn(e,t,n){if(g(e))n&&(e=N(e,n));else{if(!e||"function"!=typeof e.handleEvent)throw Error("Invalid listener argument");e=N(e.handleEvent,e)}return 2147483647<Number(t)?-1:u.setTimeout(e,t||0)}function xn(e){var t=null;return new Nt((function(n,r){-1==(t=Dn((function(){n(void 0)}),e))&&r(Error("Failed to schedule timer."))})).o((function(e){throw u.clearTimeout(t),e}))}function En(e){if(e.X&&"function"==typeof e.X)return e.X();if("string"===typeof e)return e.split("");if(h(e)){for(var t=[],n=e.length,r=0;r<n;r++)t.push(e[r]);return t}for(r in t=[],n=0,e)t[n++]=e[r];return t}function On(e){if(e.Y&&"function"==typeof e.Y)return e.Y();if(!e.X||"function"!=typeof e.X){if(h(e)||"string"===typeof e){var t=[];e=e.length;for(var n=0;n<e;n++)t.push(n);return t}for(var r in t=[],n=0,e)t[n++]=r;return t}}function Tn(e,t){this.b={},this.a=[],this.c=0;var n=arguments.length;if(1<n){if(n%2)throw Error("Uneven number of arguments");for(var r=0;r<n;r+=2)this.set(arguments[r],arguments[r+1])}else if(e)if(e instanceof Tn)for(n=e.Y(),r=0;r<n.length;r++)this.set(n[r],e.get(n[r]));else for(r in e)this.set(r,e[r])}function Cn(e){if(e.c!=e.a.length){for(var t=0,n=0;t<e.a.length;){var r=e.a[t];kn(e.b,r)&&(e.a[n++]=r),t++}e.a.length=n}if(e.c!=e.a.length){var o={};for(n=t=0;t<e.a.length;)kn(o,r=e.a[t])||(e.a[n++]=r,o[r]=1),t++;e.a.length=n}}function kn(e,t){return Object.prototype.hasOwnProperty.call(e,t)}I(Nn,Gt),Nn.prototype[en]=!0,Nn.prototype.addEventListener=function(e,t,n,r){cn(this,e,t,n,r)},Nn.prototype.removeEventListener=function(e,t,n,r){pn(this,e,t,n,r)},Nn.prototype.dispatchEvent=function(e){var t,n=this.hb;if(n)for(t=[];n;n=n.hb)t.push(n);n=this.bc;var r=e.type||e;if("string"===typeof e)e=new $t(e,n);else if(e instanceof $t)e.target=e.target||n;else{var o=e;ve(e=new $t(r,n),o)}if(o=!0,t)for(var i=t.length-1;0<=i;i--){var a=e.b=t[i];o=In(a,r,!0,e)&&o}if(o=In(a=e.b=n,r,!0,e)&&o,o=In(a,r,!1,e)&&o,t)for(i=0;i<t.length;i++)o=In(a=e.b=t[i],r,!1,e)&&o;return o},Nn.prototype.Da=function(){if(Nn.bb.Da.call(this),this.v){var e,t=this.v;for(e in t.a){for(var n=t.a[e],r=0;r<n.length;r++)rn(n[r]);delete t.a[e],t.b--}}this.hb=null},(n=Tn.prototype).X=function(){Cn(this);for(var e=[],t=0;t<this.a.length;t++)e.push(this.b[this.a[t]]);return e},n.Y=function(){return Cn(this),this.a.concat()},n.clear=function(){this.b={},this.c=this.a.length=0},n.get=function(e,t){return kn(this.b,e)?this.b[e]:t},n.set=function(e,t){kn(this.b,e)||(this.c++,this.a.push(e)),this.b[e]=t},n.forEach=function(e,t){for(var n=this.Y(),r=0;r<n.length;r++){var o=n[r],i=this.get(o);e.call(t,i,o,this)}};var Ln=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^\\/?#]*)@)?([^\\/?#]*?)(?::([0-9]+))?(?=[\\/?#]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/;function _n(e,t){var n;this.a=this.l=this.c="",this.g=null,this.h=this.f="",this.i=!1,e instanceof _n?(this.i=void 0!==t?t:e.i,An(this,e.c),this.l=e.l,this.a=e.a,zn(this,e.g),this.f=e.f,Pn(this,nr(e.b)),this.h=e.h):e&&(n=String(e).match(Ln))?(this.i=!!t,An(this,n[1]||"",!0),this.l=Yn(n[2]||""),this.a=Yn(n[3]||"",!0),zn(this,n[4]),this.f=Yn(n[5]||"",!0),Pn(this,n[6]||"",!0),this.h=Yn(n[7]||"")):(this.i=!!t,this.b=new Xn(null,this.i))}function An(e,t,n){e.c=n?Yn(t,!0):t,e.c&&(e.c=e.c.replace(/:$/,""))}function zn(e,t){if(t){if(t=Number(t),isNaN(t)||0>t)throw Error("Bad port number "+t);e.g=t}else e.g=null}function Pn(e,t,n){t instanceof Xn?(e.b=t,function(e,t){t&&!e.f&&($n(e),e.c=null,e.a.forEach((function(e,t){var n=t.toLowerCase();t!=n&&(Kn(this,t),tr(this,n,e))}),e)),e.f=t}(e.b,e.i)):(n||(t=Gn(t,Zn)),e.b=new Xn(t,e.i))}function Rn(e,t,n){e.b.set(t,n)}function Un(e,t){return e.b.get(t)}function Bn(e){return e instanceof _n?new _n(e):new _n(e,void 0)}function Fn(e,t,n,r){var o=new _n(null,void 0);return e&&An(o,e),t&&(o.a=t),n&&zn(o,n),r&&(o.f=r),o}function Yn(e,t){return e?t?decodeURI(e.replace(/%25/g,"%2525")):decodeURIComponent(e):""}function Gn(e,t,n){return"string"===typeof e?(e=encodeURI(e).replace(t,Hn),n&&(e=e.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),e):null}function Hn(e){return"%"+((e=e.charCodeAt(0))>>4&15).toString(16)+(15&e).toString(16)}_n.prototype.toString=function(){var e=[],t=this.c;t&&e.push(Gn(t,Vn,!0),":");var n=this.a;return(n||"file"==t)&&(e.push("//"),(t=this.l)&&e.push(Gn(t,Vn,!0),"@"),e.push(encodeURIComponent(String(n)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),null!=(n=this.g)&&e.push(":",String(n))),(n=this.f)&&(this.a&&"/"!=n.charAt(0)&&e.push("/"),e.push(Gn(n,"/"==n.charAt(0)?Wn:Qn,!0))),(n=this.b.toString())&&e.push("?",n),(n=this.h)&&e.push("#",Gn(n,qn)),e.join("")},_n.prototype.resolve=function(e){var t=new _n(this),n=!!e.c;n?An(t,e.c):n=!!e.l,n?t.l=e.l:n=!!e.a,n?t.a=e.a:n=null!=e.g;var r=e.f;if(n)zn(t,e.g);else if(n=!!e.f){if("/"!=r.charAt(0))if(this.a&&!this.f)r="/"+r;else{var o=t.f.lastIndexOf("/");-1!=o&&(r=t.f.substr(0,o+1)+r)}if(".."==(o=r)||"."==o)r="";else if(le(o,"./")||le(o,"/.")){r=0==o.lastIndexOf("/",0),o=o.split("/");for(var i=[],a=0;a<o.length;){var s=o[a++];"."==s?r&&a==o.length&&i.push(""):".."==s?((1<i.length||1==i.length&&""!=i[0])&&i.pop(),r&&a==o.length&&i.push("")):(i.push(s),r=!0)}r=i.join("/")}else r=o}return n?t.f=r:n=""!==e.b.toString(),n?Pn(t,nr(e.b)):n=!!e.h,n&&(t.h=e.h),t};var Vn=/[#\/\?@]/g,Qn=/[#\?:]/g,Wn=/[#\?]/g,Zn=/[#\?@]/g,qn=/#/g;function Xn(e,t){this.b=this.a=null,this.c=e||null,this.f=!!t}function $n(e){e.a||(e.a=new Tn,e.b=0,e.c&&function(e,t){if(e){e=e.split("&");for(var n=0;n<e.length;n++){var r=e[n].indexOf("="),o=null;if(0<=r){var i=e[n].substring(0,r);o=e[n].substring(r+1)}else i=e[n];t(i,o?decodeURIComponent(o.replace(/\+/g," ")):"")}}}(e.c,(function(t,n){e.add(decodeURIComponent(t.replace(/\+/g," ")),n)})))}function Jn(e){var t=On(e);if("undefined"==typeof t)throw Error("Keys are undefined");var n=new Xn(null,void 0);e=En(e);for(var r=0;r<t.length;r++){var o=t[r],i=e[r];Array.isArray(i)?tr(n,o,i):n.add(o,i)}return n}function Kn(e,t){$n(e),t=rr(e,t),kn(e.a.b,t)&&(e.c=null,e.b-=e.a.get(t).length,kn((e=e.a).b,t)&&(delete e.b[t],e.c--,e.a.length>2*e.c&&Cn(e)))}function er(e,t){return $n(e),t=rr(e,t),kn(e.a.b,t)}function tr(e,t,n){Kn(e,t),0<n.length&&(e.c=null,e.a.set(rr(e,t),K(n)),e.b+=n.length)}function nr(e){var t=new Xn;return t.c=e.c,e.a&&(t.a=new Tn(e.a),t.b=e.b),t}function rr(e,t){return t=String(t),e.f&&(t=t.toLowerCase()),t}function or(e){var t=[];return function e(t,n,r){if(null==n)r.push("null");else{if("object"==typeof n){if(Array.isArray(n)){var o=n;n=o.length,r.push("[");for(var i="",a=0;a<n;a++)r.push(i),e(t,o[a],r),i=",";return void r.push("]")}if(!(n instanceof String||n instanceof Number||n instanceof Boolean)){for(o in r.push("{"),i="",n)Object.prototype.hasOwnProperty.call(n,o)&&("function"!=typeof(a=n[o])&&(r.push(i),ur(o,r),r.push(":"),e(t,a,r),i=","));return void r.push("}")}n=n.valueOf()}switch(typeof n){case"string":ur(n,r);break;case"number":r.push(isFinite(n)&&!isNaN(n)?String(n):"null");break;case"boolean":r.push(String(n));break;case"function":r.push("null");break;default:throw Error("Unknown type: "+typeof n)}}}(new ir,e,t),t.join("")}function ir(){}(n=Xn.prototype).add=function(e,t){$n(this),this.c=null,e=rr(this,e);var n=this.a.get(e);return n||this.a.set(e,n=[]),n.push(t),this.b+=1,this},n.clear=function(){this.a=this.c=null,this.b=0},n.forEach=function(e,t){$n(this),this.a.forEach((function(n,r){V(n,(function(n){e.call(t,n,r,this)}),this)}),this)},n.Y=function(){$n(this);for(var e=this.a.X(),t=this.a.Y(),n=[],r=0;r<t.length;r++)for(var o=e[r],i=0;i<o.length;i++)n.push(t[r]);return n},n.X=function(e){$n(this);var t=[];if("string"===typeof e)er(this,e)&&(t=J(t,this.a.get(rr(this,e))));else{e=this.a.X();for(var n=0;n<e.length;n++)t=J(t,e[n])}return t},n.set=function(e,t){return $n(this),this.c=null,er(this,e=rr(this,e))&&(this.b-=this.a.get(e).length),this.a.set(e,[t]),this.b+=1,this},n.get=function(e,t){return e&&0<(e=this.X(e)).length?String(e[0]):t},n.toString=function(){if(this.c)return this.c;if(!this.a)return"";for(var e=[],t=this.a.Y(),n=0;n<t.length;n++){var r=t[n],o=encodeURIComponent(String(r));r=this.X(r);for(var i=0;i<r.length;i++){var a=o;""!==r[i]&&(a+="="+encodeURIComponent(String(r[i]))),e.push(a)}}return this.c=e.join("&")};var ar={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\u000b"},sr=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g;function ur(e,t){t.push('"',e.replace(sr,(function(e){var t=ar[e];return t||(t="\\u"+(65536|e.charCodeAt(0)).toString(16).substr(1),ar[e]=t),t})),'"')}function lr(){var e=Er();return qe&&!!ut&&11==ut||/Edge\/\d+/.test(e)}function cr(){return u.window&&u.window.location.href||self&&self.location&&self.location.href||""}function fr(e,t){t=t||u.window;var n="about:blank";e&&(n=Le(Pe(e)||Be)),t.location.href=n}function dr(e){return!!((e=(e||Er()).toLowerCase()).match(/android/)||e.match(/webos/)||e.match(/iphone|ipad|ipod/)||e.match(/blackberry/)||e.match(/windows phone/)||e.match(/iemobile/))}function pr(e){e=e||u.window;try{e.close()}catch(t){}}function hr(e,t,n){var r=Math.floor(1e9*Math.random()).toString();t=t||500,n=n||600;var o=(window.screen.availHeight-n)/2,i=(window.screen.availWidth-t)/2;for(a in t={width:t,height:n,top:0<o?o:0,left:0<i?i:0,location:!0,resizable:!0,statusbar:!0,toolbar:!1},n=Er().toLowerCase(),r&&(t.target=r,le(n,"crios/")&&(t.target="_blank")),Ir(Er())==jr&&(e=e||"http://localhost",t.scrollbars=!0),n=e||"",(e=t)||(e={}),r=window,t=n instanceof ke?n:Pe("undefined"!=typeof n.href?n.href:String(n))||Be,n=e.target||n.target,o=[],e)switch(a){case"width":case"height":case"top":case"left":o.push(a+"="+e[a]);break;case"target":case"noopener":case"noreferrer":break;default:o.push(a+"="+(e[a]?1:0))}var a=o.join(",");if((pe("iPhone")&&!pe("iPod")&&!pe("iPad")||pe("iPad")||pe("iPod"))&&r.navigator&&r.navigator.standalone&&n&&"_self"!=n?(be(a=yt(document,"A"),"HTMLAnchorElement"),t=t instanceof ke?t:Re(t),a.href=Le(t),a.setAttribute("target",n),e.noreferrer&&a.setAttribute("rel","noreferrer"),(e=document.createEvent("MouseEvent")).initMouseEvent("click",!0,!0,r,1),a.dispatchEvent(e),a={}):e.noreferrer?(a=Ge("",r,n,a),e=Le(t),a&&($e&&le(e,";")&&(e="'"+e.replace(/'/g,"%27")+"'"),a.opener=null,e='<meta name="referrer" content="no-referrer"><meta http-equiv="refresh" content="0; url='+Ve(e)+'">',e=new Fe(e=(r=Ie())?r.createHTML(e):e,null,Ye),r=a.document)&&(r.write(function(e){return e instanceof Fe&&e.constructor===Fe?e.a:(P("expected object of type SafeHtml, got '"+e+"' of type "+p(e)),"type_error:SafeHtml")}(e)),r.close())):(a=Ge(t,r,n,a))&&e.noopener&&(a.opener=null),a)try{a.focus()}catch(s){}return a}var gr=/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/,yr=/^[^@]+@[^@]+$/;function mr(){var e=null;return new Nt((function(t){"complete"==u.document.readyState?t():(e=function(){t()},dn(window,"load",e))})).o((function(t){throw pn(window,"load",e),t}))}function vr(e){return e=e||Er(),!("file:"!==Lr()&&"ionic:"!==Lr()||!e.toLowerCase().match(/iphone|ipad|ipod|android/))}function br(){var e=u.window;try{return!(!e||e==e.top)}catch(t){return!1}}function Mr(){return"undefined"!==typeof u.WorkerGlobalScope&&"function"===typeof u.importScripts}function wr(){return t.a.INTERNAL.hasOwnProperty("reactNative")?"ReactNative":t.a.INTERNAL.hasOwnProperty("node")?"Node":Mr()?"Worker":"Browser"}function Nr(){var e=wr();return"ReactNative"===e||"Node"===e}var jr="Firefox",Sr="Chrome";function Ir(e){var t=e.toLowerCase();return le(t,"opera/")||le(t,"opr/")||le(t,"opios/")?"Opera":le(t,"iemobile")?"IEMobile":le(t,"msie")||le(t,"trident/")?"IE":le(t,"edge/")?"Edge":le(t,"firefox/")?jr:le(t,"silk/")?"Silk":le(t,"blackberry")?"Blackberry":le(t,"webos")?"Webos":!le(t,"safari/")||le(t,"chrome/")||le(t,"crios/")||le(t,"android")?!le(t,"chrome/")&&!le(t,"crios/")||le(t,"edge/")?le(t,"android")?"Android":(e=e.match(/([a-zA-Z\d\.]+)\/[a-zA-Z\d\.]*$/))&&2==e.length?e[1]:"Other":Sr:"Safari"}var Dr={md:"FirebaseCore-web",od:"FirebaseUI-web"};function xr(e,t){t=t||[];var n,r=[],o={};for(n in Dr)o[Dr[n]]=!0;for(n=0;n<t.length;n++)"undefined"!==typeof o[t[n]]&&(delete o[t[n]],r.push(t[n]));return r.sort(),(t=r).length||(t=["FirebaseCore-web"]),"Browser"===(r=wr())?r=Ir(o=Er()):"Worker"===r&&(r=Ir(o=Er())+"-"+r),r+"/JsCore/"+e+"/"+t.join(",")}function Er(){return u.navigator&&u.navigator.userAgent||""}function Or(e,t){e=e.split("."),t=t||u;for(var n=0;n<e.length&&"object"==typeof t&&null!=t;n++)t=t[e[n]];return n!=e.length&&(t=void 0),t}function Tr(){try{var e=u.localStorage,t=Rr();if(e)return e.setItem(t,"1"),e.removeItem(t),!lr()||!!u.indexedDB}catch(n){return Mr()&&!!u.indexedDB}return!1}function Cr(){return(kr()||"chrome-extension:"===Lr()||vr())&&!Nr()&&Tr()&&!Mr()}function kr(){return"http:"===Lr()||"https:"===Lr()}function Lr(){return u.location&&u.location.protocol||null}function _r(e){return!dr(e=e||Er())&&Ir(e)!=jr}function Ar(e){return"undefined"===typeof e?null:or(e)}function zr(e){var t,n={};for(t in e)e.hasOwnProperty(t)&&null!==e[t]&&void 0!==e[t]&&(n[t]=e[t]);return n}function Pr(e){if(null!==e)return JSON.parse(e)}function Rr(e){return e||Math.floor(1e9*Math.random()).toString()}function Ur(e){return"Safari"!=Ir(e=e||Er())&&!e.toLowerCase().match(/iphone|ipad|ipod/)}function Br(){var e=u.___jsl;if(e&&e.H)for(var t in e.H)if(e.H[t].r=e.H[t].r||[],e.H[t].L=e.H[t].L||[],e.H[t].r=e.H[t].L.concat(),e.CP)for(var n=0;n<e.CP.length;n++)e.CP[n]=null}function Fr(e,t){if(e>t)throw Error("Short delay should be less than long delay!");this.a=e,this.c=t,e=Er(),t=wr(),this.b=dr(e)||"ReactNative"===t}function Yr(){var e=u.document;return!e||"undefined"===typeof e.visibilityState||"visible"==e.visibilityState}function Gr(e){try{var t=new Date(parseInt(e,10));if(!isNaN(t.getTime())&&!/[^0-9]/.test(e))return t.toUTCString()}catch(n){}return null}function Hr(){return!(!Or("fireauth.oauthhelper",u)&&!Or("fireauth.iframe",u))}Fr.prototype.get=function(){var e=u.navigator;return!e||"boolean"!==typeof e.onLine||!kr()&&"chrome-extension:"!==Lr()&&"undefined"===typeof e.connection||e.onLine?this.b?this.c:this.a:Math.min(5e3,this.a)};var Vr,Qr={};function Wr(e){Qr[e]||(Qr[e]=!0,"undefined"!==typeof console&&"function"===typeof console.warn&&console.warn(e))}try{var Zr={};Object.defineProperty(Zr,"abcd",{configurable:!0,enumerable:!0,value:1}),Object.defineProperty(Zr,"abcd",{configurable:!0,enumerable:!0,value:2}),Vr=2==Zr.abcd}catch(ua){Vr=!1}function qr(e,t,n){Vr?Object.defineProperty(e,t,{configurable:!0,enumerable:!0,value:n}):e[t]=n}function Xr(e,t){if(t)for(var n in t)t.hasOwnProperty(n)&&qr(e,n,t[n])}function $r(e){var t={};return Xr(t,e),t}function Jr(e){var t=e;if("object"==typeof e&&null!=e)for(var n in t="length"in e?[]:{},e)qr(t,n,Jr(e[n]));return t}function Kr(e){var t=e&&(e[oo]?"phone":null);if(!(t&&e&&e[ro]))throw new x("internal-error","Internal assert: invalid MultiFactorInfo object");qr(this,"uid",e[ro]),qr(this,"displayName",e[to]||null);var n=null;e[no]&&(n=new Date(e[no]).toUTCString()),qr(this,"enrollmentTime",n),qr(this,"factorId",t)}function eo(e){try{var t=new io(e)}catch(n){t=null}return t}Kr.prototype.w=function(){return{uid:this.uid,displayName:this.displayName,factorId:this.factorId,enrollmentTime:this.enrollmentTime}};var to="displayName",no="enrolledAt",ro="mfaEnrollmentId",oo="phoneInfo";function io(e){Kr.call(this,e),qr(this,"phoneNumber",e[oo])}function ao(e){var t={},n=e[co],r=e[po],o=e[ho];if(e=eo(e[fo]),!o||o!=uo&&o!=lo&&!n||o==lo&&!r||o==so&&!e)throw Error("Invalid checkActionCode response!");o==lo?(t[yo]=n||null,t[vo]=n||null,t[go]=r):(t[yo]=r||null,t[vo]=r||null,t[go]=n||null),t[mo]=e||null,qr(this,Mo,o),qr(this,bo,Jr(t))}I(io,Kr),io.prototype.w=function(){var e=io.bb.w.call(this);return e.phoneNumber=this.phoneNumber,e};var so="REVERT_SECOND_FACTOR_ADDITION",uo="EMAIL_SIGNIN",lo="VERIFY_AND_CHANGE_EMAIL",co="email",fo="mfaInfo",po="newEmail",ho="requestType",go="email",yo="fromEmail",mo="multiFactorInfo",vo="previousEmail",bo="data",Mo="operation";function wo(e){var t=Un(e=Bn(e),No)||null,n=Un(e,jo)||null,r=Un(e,Do)||null;if(r=r&&Eo[r]||null,!t||!n||!r)throw new x("argument-error",No+", "+jo+"and "+Do+" are required in a valid action code URL.");Xr(this,{apiKey:t,operation:r,code:n,continueUrl:Un(e,So)||null,languageCode:Un(e,Io)||null,tenantId:Un(e,xo)||null})}var No="apiKey",jo="oobCode",So="continueUrl",Io="languageCode",Do="mode",xo="tenantId",Eo={recoverEmail:"RECOVER_EMAIL",resetPassword:"PASSWORD_RESET",revertSecondFactorAddition:so,signIn:uo,verifyAndChangeEmail:lo,verifyEmail:"VERIFY_EMAIL"};function Oo(e){try{return new wo(e)}catch(t){return null}}function To(e){var t=e[Ao];if("undefined"===typeof t)throw new x("missing-continue-uri");if("string"!==typeof t||"string"===typeof t&&!t.length)throw new x("invalid-continue-uri");this.h=t,this.b=this.a=null,this.g=!1;var n=e[Co];if(n&&"object"===typeof n){t=n[Ro];var r=n[zo];if(n=n[Po],"string"===typeof t&&t.length){if(this.a=t,"undefined"!==typeof r&&"boolean"!==typeof r)throw new x("argument-error",zo+" property must be a boolean when specified.");if(this.g=!!r,"undefined"!==typeof n&&("string"!==typeof n||"string"===typeof n&&!n.length))throw new x("argument-error",Po+" property must be a non empty string when specified.");this.b=n||null}else{if("undefined"!==typeof t)throw new x("argument-error",Ro+" property must be a non empty string when specified.");if("undefined"!==typeof r||"undefined"!==typeof n)throw new x("missing-android-pkg-name")}}else if("undefined"!==typeof n)throw new x("argument-error",Co+" property must be a non null object when specified.");if(this.f=null,(t=e[_o])&&"object"===typeof t){if("string"===typeof(t=t[Uo])&&t.length)this.f=t;else if("undefined"!==typeof t)throw new x("argument-error",Uo+" property must be a non empty string when specified.")}else if("undefined"!==typeof t)throw new x("argument-error",_o+" property must be a non null object when specified.");if("undefined"!==typeof(t=e[Lo])&&"boolean"!==typeof t)throw new x("argument-error",Lo+" property must be a boolean when specified.");if(this.c=!!t,"undefined"!==typeof(e=e[ko])&&("string"!==typeof e||"string"===typeof e&&!e.length))throw new x("argument-error",ko+" property must be a non empty string when specified.");this.i=e||null}var Co="android",ko="dynamicLinkDomain",Lo="handleCodeInApp",_o="iOS",Ao="url",zo="installApp",Po="minimumVersion",Ro="packageName",Uo="bundleId";function Bo(e){var t={};for(var n in t.continueUrl=e.h,t.canHandleCodeInApp=e.c,(t.androidPackageName=e.a)&&(t.androidMinimumVersion=e.b,t.androidInstallApp=e.g),t.iOSBundleId=e.f,t.dynamicLinkDomain=e.i,t)null===t[n]&&delete t[n];return t}var Fo=null;function Yo(e){var t=[];return function(e,t){function n(t){for(;r<e.length;){var n=e.charAt(r++),o=Fo[n];if(null!=o)return o;if(!/^[\s\xa0]*$/.test(n))throw Error("Unknown base64 encoding at char: "+n)}return t}!function(){if(!Fo){Fo={};for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),t=["+/=","+/","-_=","-_.","-_"],n=0;5>n;n++)for(var r=e.concat(t[n].split("")),o=0;o<r.length;o++){var i=r[o];void 0===Fo[i]&&(Fo[i]=o)}}}();for(var r=0;;){var o=n(-1),i=n(0),a=n(64),s=n(64);if(64===s&&-1===o)break;t(o<<2|i>>4),64!=a&&(t(i<<4&240|a>>2),64!=s&&t(a<<6&192|s))}}(e,(function(e){t.push(e)})),t}function Go(e){var t=Vo(e);if(!(t&&t.sub&&t.iss&&t.aud&&t.exp))throw Error("Invalid JWT");this.h=e,this.a=t.exp,this.i=t.sub,e=Date.now()/1e3,this.g=t.iat||(e>this.a?this.a:e),this.b=t.provider_id||t.firebase&&t.firebase.sign_in_provider||null,this.f=t.firebase&&t.firebase.tenant||null,this.c=!!t.is_anonymous||"anonymous"==this.b}function Ho(e){try{return new Go(e)}catch(t){return null}}function Vo(e){if(!e)return null;if(3!=(e=e.split(".")).length)return null;for(var t=(4-(e=e[1]).length%4)%4,n=0;n<t;n++)e+=".";try{var r=Yo(e);for(e=[],n=t=0;t<r.length;){var o=r[t++];if(128>o)e[n++]=String.fromCharCode(o);else if(191<o&&224>o){var i=r[t++];e[n++]=String.fromCharCode((31&o)<<6|63&i)}else if(239<o&&365>o){i=r[t++];var a=r[t++],s=((7&o)<<18|(63&i)<<12|(63&a)<<6|63&r[t++])-65536;e[n++]=String.fromCharCode(55296+(s>>10)),e[n++]=String.fromCharCode(56320+(1023&s))}else i=r[t++],a=r[t++],e[n++]=String.fromCharCode((15&o)<<12|(63&i)<<6|63&a)}return JSON.parse(e.join(""))}catch(u){}return null}Go.prototype.T=function(){return this.f},Go.prototype.l=function(){return this.c},Go.prototype.toString=function(){return this.h};var Qo="oauth_consumer_key oauth_nonce oauth_signature oauth_signature_method oauth_timestamp oauth_token oauth_version".split(" "),Wo=["client_id","response_type","scope","redirect_uri","state"],Zo={nd:{Ja:"locale",va:700,ua:600,fa:"facebook.com",Ya:Wo},pd:{Ja:null,va:500,ua:750,fa:"github.com",Ya:Wo},qd:{Ja:"hl",va:515,ua:680,fa:"google.com",Ya:Wo},wd:{Ja:"lang",va:485,ua:705,fa:"twitter.com",Ya:Qo},kd:{Ja:"locale",va:640,ua:600,fa:"apple.com",Ya:[]}};function qo(e){for(var t in Zo)if(Zo[t].fa==e)return Zo[t];return null}function Xo(e){var t={};t["facebook.com"]=ti,t["google.com"]=ri,t["github.com"]=ni,t["twitter.com"]=oi;var n=e&&e[Jo];try{if(n)return t[n]?new t[n](e):new ei(e);if("undefined"!==typeof e[$o])return new Ko(e)}catch(r){}return null}var $o="idToken",Jo="providerId";function Ko(e){var t=e[Jo];if(!t&&e[$o]){var n=Ho(e[$o]);n&&n.b&&(t=n.b)}if(!t)throw Error("Invalid additional user info!");"anonymous"!=t&&"custom"!=t||(t=null),n=!1,"undefined"!==typeof e.isNewUser?n=!!e.isNewUser:"identitytoolkit#SignupNewUserResponse"===e.kind&&(n=!0),qr(this,"providerId",t),qr(this,"isNewUser",n)}function ei(e){Ko.call(this,e),qr(this,"profile",Jr((e=Pr(e.rawUserInfo||"{}"))||{}))}function ti(e){if(ei.call(this,e),"facebook.com"!=this.providerId)throw Error("Invalid provider ID!")}function ni(e){if(ei.call(this,e),"github.com"!=this.providerId)throw Error("Invalid provider ID!");qr(this,"username",this.profile&&this.profile.login||null)}function ri(e){if(ei.call(this,e),"google.com"!=this.providerId)throw Error("Invalid provider ID!")}function oi(e){if(ei.call(this,e),"twitter.com"!=this.providerId)throw Error("Invalid provider ID!");qr(this,"username",e.screenName||null)}function ii(e){var t=Bn(e),n=Un(t,"link"),r=Un(Bn(n),"link");return t=Un(t,"deep_link_id"),Un(Bn(t),"link")||t||r||n||e}function ai(e,t){if(!e&&!t)throw new x("internal-error","Internal assert: no raw session string available");if(e&&t)throw new x("internal-error","Internal assert: unable to determine the session type");this.a=e||null,this.b=t||null,this.type=this.a?si:ui}I(ei,Ko),I(ti,ei),I(ni,ei),I(ri,ei),I(oi,ei);var si="enroll",ui="signin";function li(){}function ci(e,t){return e.then((function(e){if(e[Ja]){var n=Ho(e[Ja]);if(!n||t!=n.i)throw new x("user-mismatch");return e}throw new x("user-mismatch")})).o((function(e){throw e&&e.code&&e.code==T+"user-not-found"?new x("user-mismatch"):e}))}function fi(e,t){if(!t)throw new x("internal-error","failed to construct a credential");this.a=t,qr(this,"providerId",e),qr(this,"signInMethod",e)}function di(e){return{pendingToken:e.a,requestUri:"http://localhost"}}function pi(e){if(e&&e.providerId&&e.signInMethod&&0==e.providerId.indexOf("saml.")&&e.pendingToken)try{return new fi(e.providerId,e.pendingToken)}catch(t){}return null}function hi(e,t,n){if(this.a=null,t.idToken||t.accessToken)t.idToken&&qr(this,"idToken",t.idToken),t.accessToken&&qr(this,"accessToken",t.accessToken),t.nonce&&!t.pendingToken&&qr(this,"nonce",t.nonce),t.pendingToken&&(this.a=t.pendingToken);else{if(!t.oauthToken||!t.oauthTokenSecret)throw new x("internal-error","failed to construct a credential");qr(this,"accessToken",t.oauthToken),qr(this,"secret",t.oauthTokenSecret)}qr(this,"providerId",e),qr(this,"signInMethod",n)}function gi(e){var t={};return e.idToken&&(t.id_token=e.idToken),e.accessToken&&(t.access_token=e.accessToken),e.secret&&(t.oauth_token_secret=e.secret),t.providerId=e.providerId,e.nonce&&!e.a&&(t.nonce=e.nonce),t={postBody:Jn(t).toString(),requestUri:"http://localhost"},e.a&&(delete t.postBody,t.pendingToken=e.a),t}function yi(e){if(e&&e.providerId&&e.signInMethod){var t={idToken:e.oauthIdToken,accessToken:e.oauthTokenSecret?null:e.oauthAccessToken,oauthTokenSecret:e.oauthTokenSecret,oauthToken:e.oauthTokenSecret&&e.oauthAccessToken,nonce:e.nonce,pendingToken:e.pendingToken};try{return new hi(e.providerId,t,e.signInMethod)}catch(n){}}return null}function mi(e,t){this.Qc=t||[],Xr(this,{providerId:e,isOAuthProvider:!0}),this.Jb={},this.qb=(qo(e)||{}).Ja||null,this.pb=null}function vi(e){if("string"!==typeof e||0!=e.indexOf("saml."))throw new x("argument-error",'SAML provider IDs must be prefixed with "saml."');mi.call(this,e,[])}function bi(e){mi.call(this,e,Wo),this.a=[]}function Mi(){bi.call(this,"facebook.com")}function wi(e){if(!e)throw new x("argument-error","credential failed: expected 1 argument (the OAuth access token).");var t=e;return y(e)&&(t=e.accessToken),(new Mi).credential({accessToken:t})}function Ni(){bi.call(this,"github.com")}function ji(e){if(!e)throw new x("argument-error","credential failed: expected 1 argument (the OAuth access token).");var t=e;return y(e)&&(t=e.accessToken),(new Ni).credential({accessToken:t})}function Si(){bi.call(this,"google.com"),this.Ca("profile")}function Ii(e,t){var n=e;return y(e)&&(n=e.idToken,t=e.accessToken),(new Si).credential({idToken:n,accessToken:t})}function Di(){mi.call(this,"twitter.com",Qo)}function xi(e,t){var n=e;if(y(n)||(n={oauthToken:e,oauthTokenSecret:t}),!n.oauthToken||!n.oauthTokenSecret)throw new x("argument-error","credential failed: expected 2 arguments (the OAuth access token and secret).");return new hi("twitter.com",n,"twitter.com")}function Ei(e,t,n){this.a=e,this.f=t,qr(this,"providerId","password"),qr(this,"signInMethod",n===Ti.EMAIL_LINK_SIGN_IN_METHOD?Ti.EMAIL_LINK_SIGN_IN_METHOD:Ti.EMAIL_PASSWORD_SIGN_IN_METHOD)}function Oi(e){return e&&e.email&&e.password?new Ei(e.email,e.password,e.signInMethod):null}function Ti(){Xr(this,{providerId:"password",isOAuthProvider:!1})}function Ci(e,t){if(!(t=ki(t)))throw new x("argument-error","Invalid email link!");return new Ei(e,t.code,Ti.EMAIL_LINK_SIGN_IN_METHOD)}function ki(e){return(e=Oo(e=ii(e)))&&e.operation===uo?e:null}function Li(e){if(!(e.fb&&e.eb||e.La&&e.ea))throw new x("internal-error");this.a=e,qr(this,"providerId","phone"),this.fa="phone",qr(this,"signInMethod","phone")}function _i(e){if(e&&"phone"===e.providerId&&(e.verificationId&&e.verificationCode||e.temporaryProof&&e.phoneNumber)){var t={};return V(["verificationId","verificationCode","temporaryProof","phoneNumber"],(function(n){e[n]&&(t[n]=e[n])})),new Li(t)}return null}function Ai(e){return e.a.La&&e.a.ea?{temporaryProof:e.a.La,phoneNumber:e.a.ea}:{sessionInfo:e.a.fb,code:e.a.eb}}function zi(e){try{this.a=e||t.a.auth()}catch(n){throw new x("argument-error","Either an instance of firebase.auth.Auth must be passed as an argument to the firebase.auth.PhoneAuthProvider constructor, or the default firebase App instance must be initialized via firebase.initializeApp().")}Xr(this,{providerId:"phone",isOAuthProvider:!1})}function Pi(e,t){if(!e)throw new x("missing-verification-id");if(!t)throw new x("missing-verification-code");return new Li({fb:e,eb:t})}function Ri(e){if(e.temporaryProof&&e.phoneNumber)return new Li({La:e.temporaryProof,ea:e.phoneNumber});var t=e&&e.providerId;if(!t||"password"===t)return null;var n=e&&e.oauthAccessToken,r=e&&e.oauthTokenSecret,o=e&&e.nonce,i=e&&e.oauthIdToken,a=e&&e.pendingToken;try{switch(t){case"google.com":return Ii(i,n);case"facebook.com":return wi(n);case"github.com":return ji(n);case"twitter.com":return xi(n,r);default:return n||r||i||a?a?0==t.indexOf("saml.")?new fi(t,a):new hi(t,{pendingToken:a,idToken:e.oauthIdToken,accessToken:e.oauthAccessToken},t):new bi(t).credential({idToken:i,accessToken:n,rawNonce:o}):null}}catch(s){return null}}function Ui(e){if(!e.isOAuthProvider)throw new x("invalid-oauth-provider")}function Bi(e,t,n,r,o,i,a){if(this.c=e,this.b=t||null,this.g=n||null,this.f=r||null,this.i=i||null,this.h=a||null,this.a=o||null,!this.g&&!this.a)throw new x("invalid-auth-event");if(this.g&&this.a)throw new x("invalid-auth-event");if(this.g&&!this.f)throw new x("invalid-auth-event")}function Fi(e){return(e=e||{}).type?new Bi(e.type,e.eventId,e.urlResponse,e.sessionId,e.error&&E(e.error),e.postBody,e.tenantId):null}function Yi(){this.b=null,this.a=[]}ai.prototype.Ha=function(){return this.a?Ot(this.a):Ot(this.b)},ai.prototype.w=function(){return this.type==si?{multiFactorSession:{idToken:this.a}}:{multiFactorSession:{pendingCredential:this.b}}},li.prototype.ka=function(){},li.prototype.b=function(){},li.prototype.c=function(){},li.prototype.w=function(){},fi.prototype.ka=function(e){return Ms(e,di(this))},fi.prototype.b=function(e,t){var n=di(this);return n.idToken=t,ws(e,n)},fi.prototype.c=function(e,t){return ci(Ns(e,di(this)),t)},fi.prototype.w=function(){return{providerId:this.providerId,signInMethod:this.signInMethod,pendingToken:this.a}},hi.prototype.ka=function(e){return Ms(e,gi(this))},hi.prototype.b=function(e,t){var n=gi(this);return n.idToken=t,ws(e,n)},hi.prototype.c=function(e,t){return ci(Ns(e,gi(this)),t)},hi.prototype.w=function(){var e={providerId:this.providerId,signInMethod:this.signInMethod};return this.idToken&&(e.oauthIdToken=this.idToken),this.accessToken&&(e.oauthAccessToken=this.accessToken),this.secret&&(e.oauthTokenSecret=this.secret),this.nonce&&(e.nonce=this.nonce),this.a&&(e.pendingToken=this.a),e},mi.prototype.Ka=function(e){return this.Jb=ye(e),this},I(vi,mi),I(bi,mi),bi.prototype.Ca=function(e){return q(this.a,e)||this.a.push(e),this},bi.prototype.Rb=function(){return K(this.a)},bi.prototype.credential=function(e,t){var n;if(!(n=y(e)?{idToken:e.idToken||null,accessToken:e.accessToken||null,nonce:e.rawNonce||null}:{idToken:e||null,accessToken:t||null}).idToken&&!n.accessToken)throw new x("argument-error","credential failed: must provide the ID token and/or the access token.");return new hi(this.providerId,n,this.providerId)},I(Mi,bi),qr(Mi,"PROVIDER_ID","facebook.com"),qr(Mi,"FACEBOOK_SIGN_IN_METHOD","facebook.com"),I(Ni,bi),qr(Ni,"PROVIDER_ID","github.com"),qr(Ni,"GITHUB_SIGN_IN_METHOD","github.com"),I(Si,bi),qr(Si,"PROVIDER_ID","google.com"),qr(Si,"GOOGLE_SIGN_IN_METHOD","google.com"),I(Di,mi),qr(Di,"PROVIDER_ID","twitter.com"),qr(Di,"TWITTER_SIGN_IN_METHOD","twitter.com"),Ei.prototype.ka=function(e){return this.signInMethod==Ti.EMAIL_LINK_SIGN_IN_METHOD?ru(e,Ts,{email:this.a,oobCode:this.f}):ru(e,Js,{email:this.a,password:this.f})},Ei.prototype.b=function(e,t){return this.signInMethod==Ti.EMAIL_LINK_SIGN_IN_METHOD?ru(e,Cs,{idToken:t,email:this.a,oobCode:this.f}):ru(e,Hs,{idToken:t,email:this.a,password:this.f})},Ei.prototype.c=function(e,t){return ci(this.ka(e),t)},Ei.prototype.w=function(){return{email:this.a,password:this.f,signInMethod:this.signInMethod}},Xr(Ti,{PROVIDER_ID:"password"}),Xr(Ti,{EMAIL_LINK_SIGN_IN_METHOD:"emailLink"}),Xr(Ti,{EMAIL_PASSWORD_SIGN_IN_METHOD:"password"}),Li.prototype.ka=function(e){return e.gb(Ai(this))},Li.prototype.b=function(e,t){var n=Ai(this);return n.idToken=t,ru(e,eu,n)},Li.prototype.c=function(e,t){var n=Ai(this);return n.operation="REAUTH",ci(e=ru(e,tu,n),t)},Li.prototype.w=function(){var e={providerId:"phone"};return this.a.fb&&(e.verificationId=this.a.fb),this.a.eb&&(e.verificationCode=this.a.eb),this.a.La&&(e.temporaryProof=this.a.La),this.a.ea&&(e.phoneNumber=this.a.ea),e},zi.prototype.gb=function(e,t){var n=this.a.a;return Ot(t.verify()).then((function(r){if("string"!==typeof r)throw new x("argument-error","An implementation of firebase.auth.ApplicationVerifier.prototype.verify() must return a firebase.Promise that resolves with a string.");switch(t.type){case"recaptcha":var o=y(e)?e.session:null,i=y(e)?e.phoneNumber:e;return(o&&o.type==si?o.Ha().then((function(e){return function(e,t){return ru(e,Qs,t).then((function(e){return e.phoneSessionInfo.sessionInfo}))}(n,{idToken:e,phoneEnrollmentInfo:{phoneNumber:i,recaptchaToken:r}})})):o&&o.type==ui?o.Ha().then((function(t){return function(e,t){return ru(e,Ws,t).then((function(e){return e.phoneResponseInfo.sessionInfo}))}(n,{mfaPendingCredential:t,mfaEnrollmentId:e.multiFactorHint&&e.multiFactorHint.uid||e.multiFactorUid,phoneSignInInfo:{recaptchaToken:r}})})):function(e,t){return ru(e,Ys,t)}(n,{phoneNumber:i,recaptchaToken:r})).then((function(e){return"function"===typeof t.reset&&t.reset(),e}),(function(e){throw"function"===typeof t.reset&&t.reset(),e}));default:throw new x("argument-error",'Only firebase.auth.ApplicationVerifiers with type="recaptcha" are currently supported.')}}))},Xr(zi,{PROVIDER_ID:"phone"}),Xr(zi,{PHONE_SIGN_IN_METHOD:"phone"}),Bi.prototype.getUid=function(){var e=[];return e.push(this.c),this.b&&e.push(this.b),this.f&&e.push(this.f),this.h&&e.push(this.h),e.join("-")},Bi.prototype.T=function(){return this.h},Bi.prototype.w=function(){return{type:this.c,eventId:this.b,urlResponse:this.g,sessionId:this.f,postBody:this.i,tenantId:this.h,error:this.a&&this.a.w()}};var Gi,Hi=null;function Vi(e){var t="unauthorized-domain",n=void 0,r=Bn(e);e=r.a,"chrome-extension"==(r=r.c)?n=He("This chrome extension ID (chrome-extension://%s) is not authorized to run this operation. Add it to the OAuth redirect domains list in the Firebase console -> Auth section -> Sign in method tab.",e):"http"==r||"https"==r?n=He("This domain (%s) is not authorized to run this operation. Add it to the OAuth redirect domains list in the Firebase console -> Auth section -> Sign in method tab.",e):t="operation-not-supported-in-this-environment",x.call(this,t,n)}function Qi(e,t,n){x.call(this,e,n),(e=t||{}).Kb&&qr(this,"email",e.Kb),e.ea&&qr(this,"phoneNumber",e.ea),e.credential&&qr(this,"credential",e.credential),e.$b&&qr(this,"tenantId",e.$b)}function Wi(e){if(e.code){var t=e.code||"";0==t.indexOf(T)&&(t=t.substring(T.length));var n={credential:Ri(e),$b:e.tenantId};if(e.email)n.Kb=e.email;else if(e.phoneNumber)n.ea=e.phoneNumber;else if(!n.credential)return new x(t,e.message||void 0);return new Qi(t,n,e.message)}return null}function Zi(){}function qi(e){return e.c||(e.c=e.b())}function Xi(){}function $i(e){if(!e.f&&"undefined"==typeof XMLHttpRequest&&"undefined"!=typeof ActiveXObject){for(var t=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],n=0;n<t.length;n++){var r=t[n];try{return new ActiveXObject(r),e.f=r}catch(o){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed")}return e.f}function Ji(){}function Ki(){this.a=new XDomainRequest,this.readyState=0,this.onreadystatechange=null,this.responseType=this.responseText=this.response="",this.status=-1,this.statusText="",this.a.onload=N(this.qc,this),this.a.onerror=N(this.Tb,this),this.a.onprogress=N(this.rc,this),this.a.ontimeout=N(this.vc,this)}function ea(e,t){e.readyState=t,e.onreadystatechange&&e.onreadystatechange()}function ta(e,t,n){this.reset(e,t,n,void 0,void 0)}I(Vi,x),I(Qi,x),Qi.prototype.w=function(){var e={code:this.code,message:this.message};this.email&&(e.email=this.email),this.phoneNumber&&(e.phoneNumber=this.phoneNumber),this.tenantId&&(e.tenantId=this.tenantId);var t=this.credential&&this.credential.w();return t&&ve(e,t),e},Qi.prototype.toJSON=function(){return this.w()},Zi.prototype.c=null,I(Xi,Zi),Xi.prototype.a=function(){var e=$i(this);return e?new ActiveXObject(e):new XMLHttpRequest},Xi.prototype.b=function(){var e={};return $i(this)&&(e[0]=!0,e[1]=!0),e},Gi=new Xi,I(Ji,Zi),Ji.prototype.a=function(){var e=new XMLHttpRequest;if("withCredentials"in e)return e;if("undefined"!=typeof XDomainRequest)return new Ki;throw Error("Unsupported browser")},Ji.prototype.b=function(){return{}},(n=Ki.prototype).open=function(e,t,n){if(null!=n&&!n)throw Error("Only async requests are supported.");this.a.open(e,t)},n.send=function(e){if(e){if("string"!=typeof e)throw Error("Only string data is supported");this.a.send(e)}else this.a.send()},n.abort=function(){this.a.abort()},n.setRequestHeader=function(){},n.getResponseHeader=function(e){return"content-type"==e.toLowerCase()?this.a.contentType:""},n.qc=function(){this.status=200,this.response=this.responseText=this.a.responseText,ea(this,4)},n.Tb=function(){this.status=500,this.response=this.responseText="",ea(this,4)},n.vc=function(){this.Tb()},n.rc=function(){this.status=200,ea(this,1)},n.getAllResponseHeaders=function(){return"content-type: "+this.a.contentType},ta.prototype.a=null;function na(e){this.f=e,this.b=this.c=this.a=null}function ra(e,t){this.name=e,this.value=t}ta.prototype.reset=function(e,t,n,r,o){"number"==typeof o||0,r||S(),delete this.a},ra.prototype.toString=function(){return this.name};var oa=new ra("SEVERE",1e3),ia=new ra("WARNING",900),aa=new ra("CONFIG",700),sa=new ra("FINE",500);na.prototype.log=function(e,t,n){if(e.value>=function e(t){return t.c?t.c:t.a?e(t.a):(P("Root logger has no level set."),null)}(this).value)for(g(t)&&(t=t()),e=new ta(e,String(t),this.f),n&&(e.a=n),n=this;n;)n=n.a};var ua,la={},ca=null;function fa(e){var t;if(ca||(ca=new na(""),la[""]=ca,ca.c=aa),!(t=la[e])){t=new na(e);var n=e.lastIndexOf("."),r=e.substr(n+1);(n=fa(e.substr(0,n))).b||(n.b={}),n.b[r]=t,t.a=n,la[e]=t}return t}function da(e,t){e&&e.log(sa,t,void 0)}function pa(e){this.f=e}function ha(e){Nn.call(this),this.u=e,this.h=void 0,this.readyState=ga,this.status=0,this.responseType=this.responseText=this.response=this.statusText="",this.onreadystatechange=null,this.l=new Headers,this.b=null,this.s="GET",this.f="",this.a=!1,this.i=fa("goog.net.FetchXmlHttp"),this.m=this.c=this.g=null}I(pa,Zi),pa.prototype.a=function(){return new ha(this.f)},pa.prototype.b=(ua={},function(){return ua}),I(ha,Nn);var ga=0;function ya(e){e.c.read().then(e.pc.bind(e)).catch(e.Va.bind(e))}function ma(e){e.readyState=4,e.g=null,e.c=null,e.m=null,va(e)}function va(e){e.onreadystatechange&&e.onreadystatechange.call(e)}function ba(e){Nn.call(this),this.headers=new Tn,this.D=e||null,this.c=!1,this.C=this.a=null,this.h=this.P=this.l="",this.f=this.N=this.i=this.J=!1,this.g=0,this.s=null,this.m=Ma,this.u=this.S=!1}(n=ha.prototype).open=function(e,t){if(this.readyState!=ga)throw this.abort(),Error("Error reopening a connection");this.s=e,this.f=t,this.readyState=1,va(this)},n.send=function(e){if(1!=this.readyState)throw this.abort(),Error("need to call open() first. ");this.a=!0;var t={headers:this.l,method:this.s,credentials:this.h,cache:void 0};e&&(t.body=e),this.u.fetch(new Request(this.f,t)).then(this.uc.bind(this),this.Va.bind(this))},n.abort=function(){this.response=this.responseText="",this.l=new Headers,this.status=0,this.c&&this.c.cancel("Request was aborted."),1<=this.readyState&&this.a&&4!=this.readyState&&(this.a=!1,ma(this)),this.readyState=ga},n.uc=function(e){this.a&&(this.g=e,this.b||(this.status=this.g.status,this.statusText=this.g.statusText,this.b=e.headers,this.readyState=2,va(this)),this.a&&(this.readyState=3,va(this),this.a&&("arraybuffer"===this.responseType?e.arrayBuffer().then(this.sc.bind(this),this.Va.bind(this)):"undefined"!==typeof u.ReadableStream&&"body"in e?(this.response=this.responseText="",this.c=e.body.getReader(),this.m=new TextDecoder,ya(this)):e.text().then(this.tc.bind(this),this.Va.bind(this)))))},n.pc=function(e){if(this.a){var t=this.m.decode(e.value?e.value:new Uint8Array(0),{stream:!e.done});t&&(this.response=this.responseText+=t),e.done?ma(this):va(this),3==this.readyState&&ya(this)}},n.tc=function(e){this.a&&(this.response=this.responseText=e,ma(this))},n.sc=function(e){this.a&&(this.response=e,ma(this))},n.Va=function(e){var t=this.i;t&&t.log(ia,"Failed to fetch url "+this.f,e instanceof Error?e:Error(e)),this.a&&ma(this)},n.setRequestHeader=function(e,t){this.l.append(e,t)},n.getResponseHeader=function(e){return this.b?this.b.get(e.toLowerCase())||"":((e=this.i)&&e.log(ia,"Attempting to get response header but no headers have been received for url: "+this.f,void 0),"")},n.getAllResponseHeaders=function(){if(!this.b){var e=this.i;return e&&e.log(ia,"Attempting to get all response headers but no headers have been received for url: "+this.f,void 0),""}e=[];for(var t=this.b.entries(),n=t.next();!n.done;)n=n.value,e.push(n[0]+": "+n[1]),n=t.next();return e.join("\r\n")},Object.defineProperty(ha.prototype,"withCredentials",{get:function(){return"include"===this.h},set:function(e){this.h=e?"include":"same-origin"}}),I(ba,Nn);var Ma="";ba.prototype.b=fa("goog.net.XhrIo");var wa=/^https?$/i,Na=["POST","PUT"];function ja(e,t,n,r,o){if(e.a)throw Error("[goog.net.XhrIo] Object is active with another request="+e.l+"; newUri="+t);n=n?n.toUpperCase():"GET",e.l=t,e.h="",e.P=n,e.J=!1,e.c=!0,e.a=e.D?e.D.a():Gi.a(),e.C=e.D?qi(e.D):qi(Gi),e.a.onreadystatechange=N(e.Wb,e);try{da(e.b,ka(e,"Opening Xhr")),e.N=!0,e.a.open(n,String(t),!0),e.N=!1}catch(a){return da(e.b,ka(e,"Error opening Xhr: "+a.message)),void Ia(e,a)}t=r||"";var i=new Tn(e.headers);o&&function(e,t){if(e.forEach&&"function"==typeof e.forEach)e.forEach(t,void 0);else if(h(e)||"string"===typeof e)V(e,t,void 0);else for(var n=On(e),r=En(e),o=r.length,i=0;i<o;i++)t.call(void 0,r[i],n&&n[i],e)}(o,(function(e,t){i.set(t,e)})),o=function(e){e:{for(var t=Sa,n=e.length,r="string"===typeof e?e.split(""):e,o=0;o<n;o++)if(o in r&&t.call(void 0,r[o],o,e)){t=o;break e}t=-1}return 0>t?null:"string"===typeof e?e.charAt(t):e[t]}(i.Y()),r=u.FormData&&t instanceof u.FormData,!q(Na,n)||o||r||i.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8"),i.forEach((function(e,t){this.a.setRequestHeader(t,e)}),e),e.m&&(e.a.responseType=e.m),"withCredentials"in e.a&&e.a.withCredentials!==e.S&&(e.a.withCredentials=e.S);try{Oa(e),0<e.g&&(e.u=function(e){return qe&&at(9)&&"number"===typeof e.timeout&&void 0!==e.ontimeout}(e.a),da(e.b,ka(e,"Will abort after "+e.g+"ms if incomplete, xhr2 "+e.u)),e.u?(e.a.timeout=e.g,e.a.ontimeout=N(e.Ma,e)):e.s=Dn(e.Ma,e.g,e)),da(e.b,ka(e,"Sending request")),e.i=!0,e.a.send(t),e.i=!1}catch(a){da(e.b,ka(e,"Send error: "+a.message)),Ia(e,a)}}function Sa(e){return"content-type"==e.toLowerCase()}function Ia(e,t){e.c=!1,e.a&&(e.f=!0,e.a.abort(),e.f=!1),e.h=t,Da(e),Ea(e)}function Da(e){e.J||(e.J=!0,e.dispatchEvent("complete"),e.dispatchEvent("error"))}function xa(e){if(e.c&&"undefined"!=typeof s)if(e.C[1]&&4==Ta(e)&&2==Ca(e))da(e.b,ka(e,"Local request error detected and ignored"));else if(e.i&&4==Ta(e))Dn(e.Wb,0,e);else if(e.dispatchEvent("readystatechange"),4==Ta(e)){da(e.b,ka(e,"Request complete")),e.c=!1;try{var t,n=Ca(e);e:switch(n){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var r=!0;break e;default:r=!1}if(!(t=r)){var o;if(o=0===n){var i=String(e.l).match(Ln)[1]||null;if(!i&&u.self&&u.self.location){var a=u.self.location.protocol;i=a.substr(0,a.length-1)}o=!wa.test(i?i.toLowerCase():"")}t=o}if(t)e.dispatchEvent("complete"),e.dispatchEvent("success");else{try{var l=2<Ta(e)?e.a.statusText:""}catch(c){da(e.b,"Can not get status: "+c.message),l=""}e.h=l+" ["+Ca(e)+"]",Da(e)}}finally{Ea(e)}}}function Ea(e,t){if(e.a){Oa(e);var n=e.a,r=e.C[0]?d:null;e.a=null,e.C=null,t||e.dispatchEvent("ready");try{n.onreadystatechange=r}catch(o){(e=e.b)&&e.log(oa,"Problem encountered resetting onreadystatechange: "+o.message,void 0)}}}function Oa(e){e.a&&e.u&&(e.a.ontimeout=null),e.s&&(u.clearTimeout(e.s),e.s=null)}function Ta(e){return e.a?e.a.readyState:0}function Ca(e){try{return 2<Ta(e)?e.a.status:-1}catch(t){return-1}}function ka(e,t){return t+" ["+e.P+" "+e.l+" "+Ca(e)+"]"}function La(e){var t=Ha;this.g=[],this.u=t,this.s=e||null,this.f=this.a=!1,this.c=void 0,this.v=this.C=this.i=!1,this.h=0,this.b=null,this.l=0}function _a(e,t,n){e.a=!0,e.c=n,e.f=!t,Ra(e)}function Aa(e){if(e.a){if(!e.v)throw new Ua(e);e.v=!1}}function za(e,t,n,r){e.g.push([t,n,r]),e.a&&Ra(e)}function Pa(e){return Z(e.g,(function(e){return g(e[1])}))}function Ra(e){if(e.h&&e.a&&Pa(e)){var t=e.h,n=Ya[t];n&&(u.clearTimeout(n.a),delete Ya[t]),e.h=0}e.b&&(e.b.l--,delete e.b),t=e.c;for(var r=n=!1;e.g.length&&!e.i;){var o=e.g.shift(),i=o[0],a=o[1];if(o=o[2],i=e.f?a:i)try{var s=i.call(o||e.s,t);void 0!==s&&(e.f=e.f&&(s==t||s instanceof Error),e.c=t=s),(_(t)||"function"===typeof u.Promise&&t instanceof u.Promise)&&(r=!0,e.i=!0)}catch(l){t=l,e.f=!0,Pa(e)||(n=!0)}}e.c=t,r&&(s=N(e.m,e,!0),r=N(e.m,e,!1),t instanceof La?(za(t,s,r),t.C=!0):t.then(s,r)),n&&(t=new Fa(t),Ya[t.a]=t,e.h=t.a)}function Ua(){A.call(this)}function Ba(){A.call(this)}function Fa(e){this.a=u.setTimeout(N(this.c,this),0),this.b=e}(n=ba.prototype).Ma=function(){"undefined"!=typeof s&&this.a&&(this.h="Timed out after "+this.g+"ms, aborting",da(this.b,ka(this,this.h)),this.dispatchEvent("timeout"),this.abort(8))},n.abort=function(){this.a&&this.c&&(da(this.b,ka(this,"Aborting")),this.c=!1,this.f=!0,this.a.abort(),this.f=!1,this.dispatchEvent("complete"),this.dispatchEvent("abort"),Ea(this))},n.Da=function(){this.a&&(this.c&&(this.c=!1,this.f=!0,this.a.abort(),this.f=!1),Ea(this,!0)),ba.bb.Da.call(this)},n.Wb=function(){this.ya||(this.N||this.i||this.f?xa(this):this.Jc())},n.Jc=function(){xa(this)},n.getResponse=function(){try{if(!this.a)return null;if("response"in this.a)return this.a.response;switch(this.m){case Ma:case"text":return this.a.responseText;case"arraybuffer":if("mozResponseArrayBuffer"in this.a)return this.a.mozResponseArrayBuffer}var e=this.b;return e&&e.log(oa,"Response type "+this.m+" is not supported on this browser",void 0),null}catch(t){return da(this.b,"Can not get response: "+t.message),null}},La.prototype.cancel=function(e){if(this.a)this.c instanceof La&&this.c.cancel();else{if(this.b){var t=this.b;delete this.b,e?t.cancel(e):(t.l--,0>=t.l&&t.cancel())}this.u?this.u.call(this.s,this):this.v=!0,this.a||(e=new Ba(this),Aa(this),_a(this,!1,e))}},La.prototype.m=function(e,t){this.i=!1,_a(this,e,t)},La.prototype.then=function(e,t,n){var r,o,i=new Nt((function(e,t){r=e,o=t}));return za(this,r,(function(e){e instanceof Ba?i.cancel():o(e)})),i.then(e,t,n)},La.prototype.$goog_Thenable=!0,I(Ua,A),Ua.prototype.message="Deferred has already fired",Ua.prototype.name="AlreadyCalledError",I(Ba,A),Ba.prototype.message="Deferred was canceled",Ba.prototype.name="CanceledError",Fa.prototype.c=function(){throw delete Ya[this.a],this.b};var Ya={};function Ga(e){var t={},n=t.document||document,r=xe(e).toString(),o=yt(document,"SCRIPT"),i={Xb:o,Ma:void 0},a=new La(i),s=null,l=null!=t.timeout?t.timeout:5e3;return 0<l&&(s=window.setTimeout((function(){Va(o,!0);var e=new Za(Wa,"Timeout reached for loading script "+r);Aa(a),_a(a,!1,e)}),l),i.Ma=s),o.onload=o.onreadystatechange=function(){o.readyState&&"loaded"!=o.readyState&&"complete"!=o.readyState||(Va(o,t.xd||!1,s),Aa(a),_a(a,!0,null))},o.onerror=function(){Va(o,!0,s);var e=new Za(Qa,"Error while loading script "+r);Aa(a),_a(a,!1,e)},ve(i=t.attributes||{},{type:"text/javascript",charset:"UTF-8"}),ft(o,i),function(e,t){be(e,"HTMLScriptElement"),e.src=xe(t),(t=e.ownerDocument&&e.ownerDocument.defaultView)&&t!=u?t=f(t.document):(null===c&&(c=f(u.document)),t=c),t&&e.setAttribute("nonce",t)}(o,e),function(e){var t;return(t=(e||document).getElementsByTagName("HEAD"))&&0!=t.length?t[0]:e.documentElement}(n).appendChild(o),a}function Ha(){if(this&&this.Xb){var e=this.Xb;e&&"SCRIPT"==e.tagName&&Va(e,!0,this.Ma)}}function Va(e,t,n){null!=n&&u.clearTimeout(n),e.onload=d,e.onerror=d,e.onreadystatechange=d,t&&window.setTimeout((function(){e&&e.parentNode&&e.parentNode.removeChild(e)}),0)}var Qa=0,Wa=1;function Za(e,t){var n="Jsloader error (code #"+e+")";t&&(n+=": "+t),A.call(this,n),this.code=e}function qa(e){this.f=e}function Xa(e,n,r){if(this.c=e,e=n||{},this.l=e.secureTokenEndpoint||"https://securetoken.googleapis.com/v1/token",this.m=e.secureTokenTimeout||Ka,this.g=ye(e.secureTokenHeaders||es),this.h=e.firebaseEndpoint||"https://www.googleapis.com/identitytoolkit/v3/relyingparty/",this.i=e.identityPlatformEndpoint||"https://identitytoolkit.googleapis.com/v2/",this.v=e.firebaseTimeout||ts,this.a=ye(e.firebaseHeaders||ns),r&&(this.a["X-Client-Version"]=r,this.g["X-Client-Version"]=r),r="Node"==wr(),!(r=u.XMLHttpRequest||r&&t.a.INTERNAL.node&&t.a.INTERNAL.node.XMLHttpRequest)&&!Mr())throw new x("internal-error","The XMLHttpRequest compatibility library was not found.");this.f=void 0,Mr()?this.f=new pa(self):Nr()?this.f=new qa(r):this.f=new Ji,this.b=null}I(Za,A),I(qa,Zi),qa.prototype.a=function(){return new this.f},qa.prototype.b=function(){return{}};var $a,Ja="idToken",Ka=new Fr(3e4,6e4),es={"Content-Type":"application/x-www-form-urlencoded"},ts=new Fr(3e4,6e4),ns={"Content-Type":"application/json"};function rs(e,t){t?e.a["X-Firebase-Locale"]=t:delete e.a["X-Firebase-Locale"]}function os(e,t){t&&(e.l=is("https://securetoken.googleapis.com/v1/token",t),e.h=is("https://www.googleapis.com/identitytoolkit/v3/relyingparty/",t),e.i=is("https://identitytoolkit.googleapis.com/v2/",t))}function is(e,t){return e=Bn(e),t=Bn(t.url),e.f=e.a+e.f,An(e,t.c),e.a=t.a,zn(e,t.g),e.toString()}function as(e,t){t?(e.a["X-Client-Version"]=t,e.g["X-Client-Version"]=t):(delete e.a["X-Client-Version"],delete e.g["X-Client-Version"])}function ss(e,t,n,r,o,i,a){(function(){var e=Er();return!((e=Ir(e)!=Sr?null:(e=e.match(/\sChrome\/(\d+)/i))&&2==e.length?parseInt(e[1],10):null)&&30>e)&&(!qe||!ut||9<ut)})()||Mr()?e=N(e.u,e):($a||($a=new Nt((function(e,t){!function(e,t){if(((window.gapi||{}).client||{}).request)e();else{u[ls]=function(){((window.gapi||{}).client||{}).request?e():t(Error("CORS_UNSUPPORTED"))},function(e,t){za(e,null,t,void 0)}(Ga(Ee(us,{onload:ls})),(function(){t(Error("CORS_UNSUPPORTED"))}))}}(e,t)}))),e=N(e.s,e)),e(t,n,r,o,i,a)}Xa.prototype.T=function(){return this.b},Xa.prototype.u=function(e,t,n,r,o,i){if(Mr()&&("undefined"===typeof u.fetch||"undefined"===typeof u.Headers||"undefined"===typeof u.Request))throw new x("operation-not-supported-in-this-environment","fetch, Headers and Request native APIs or equivalent Polyfills must be available to support HTTP requests from a Worker environment.");var a=new ba(this.f);if(i){a.g=Math.max(0,i);var s=setTimeout((function(){a.dispatchEvent("timeout")}),i)}jn(a,"complete",(function(){s&&clearTimeout(s);var e=null;try{e=JSON.parse(function(e){try{return e.a?e.a.responseText:""}catch(t){return da(e.b,"Can not get responseText: "+t.message),""}}(this))||null}catch(n){e=null}t&&t(e)})),Sn(a,"ready",(function(){s&&clearTimeout(s),Qt(this)})),Sn(a,"timeout",(function(){s&&clearTimeout(s),Qt(this),t&&t(null)})),ja(a,e,n,r,o)};var us=new Me(Se,"https://apis.google.com/js/client.js?onload=%{onload}"),ls="__fcb"+Math.floor(1e6*Math.random()).toString();function cs(e,t,n,r,o,i,a){var s=Bn(t+n);Rn(s,"key",e.c),a&&Rn(s,"cb",Date.now().toString());var u="GET"==r;if(u)for(var l in o)o.hasOwnProperty(l)&&Rn(s,l,o[l]);return new Nt((function(t,n){ss(e,s.toString(),(function(e){e?e.error?n(iu(e,i||{})):t(e):n(new x("network-request-failed"))}),r,u?void 0:or(zr(o)),e.a,e.v.get())}))}function fs(e){if("string"!==typeof(e=e.email)||!yr.test(e))throw new x("invalid-email")}function ds(e){"email"in e&&fs(e)}function ps(e){if(!e[Ja]){if(e.mfaPendingCredential)throw new x("multi-factor-auth-required",null,ye(e));throw new x("internal-error")}}function hs(e){if(e.phoneNumber||e.temporaryProof){if(!e.phoneNumber||!e.temporaryProof)throw new x("internal-error")}else{if(!e.sessionInfo)throw new x("missing-verification-id");if(!e.code)throw new x("missing-verification-code")}}Xa.prototype.s=function(e,t,n,r,o){var i=this;$a.then((function(){window.gapi.client.setApiKey(i.c);var a=window.gapi.auth.getToken();window.gapi.auth.setToken(null),window.gapi.client.request({path:e,method:n,body:r,headers:o,authType:"none",callback:function(e){window.gapi.auth.setToken(a),t&&t(e)}})})).o((function(e){t&&t({error:{message:e&&e.message||"CORS_UNSUPPORTED"}})}))},Xa.prototype.Ab=function(){return ru(this,Vs,{})},Xa.prototype.Cb=function(e,t){return ru(this,Gs,{idToken:e,email:t})},Xa.prototype.Db=function(e,t){return ru(this,Hs,{idToken:e,password:t})};var gs={displayName:"DISPLAY_NAME",photoUrl:"PHOTO_URL"};function ys(e){if(!e.phoneVerificationInfo)throw new x("internal-error");if(!e.phoneVerificationInfo.sessionInfo)throw new x("missing-verification-id");if(!e.phoneVerificationInfo.code)throw new x("missing-verification-code")}function ms(e){if(!e.requestUri||!e.sessionId&&!e.postBody&&!e.pendingToken)throw new x("internal-error")}function vs(e,t){return t.oauthIdToken&&t.providerId&&0==t.providerId.indexOf("oidc.")&&!t.pendingToken&&(e.sessionId?t.nonce=e.sessionId:e.postBody&&(er(e=new Xn(e.postBody),"nonce")&&(t.nonce=e.get("nonce")))),t}function bs(e){var t=null;if(e.needConfirmation?(e.code="account-exists-with-different-credential",t=Wi(e)):"FEDERATED_USER_ID_ALREADY_LINKED"==e.errorMessage?(e.code="credential-already-in-use",t=Wi(e)):"EMAIL_EXISTS"==e.errorMessage?(e.code="email-already-in-use",t=Wi(e)):e.errorMessage&&(t=ou(e.errorMessage)),t)throw t;ps(e)}function Ms(e,t){return t.returnIdpCredential=!0,ru(e,Zs,t)}function ws(e,t){return t.returnIdpCredential=!0,ru(e,Xs,t)}function Ns(e,t){return t.returnIdpCredential=!0,t.autoCreate=!1,ru(e,qs,t)}function js(e){if(!e.oobCode)throw new x("invalid-action-code")}(n=Xa.prototype).Eb=function(e,t){var n={idToken:e},r=[];return he(gs,(function(e,o){var i=t[o];null===i?r.push(e):o in t&&(n[o]=i)})),r.length&&(n.deleteAttribute=r),ru(this,Gs,n)},n.wb=function(e,t){return ve(e={requestType:"PASSWORD_RESET",email:e},t),ru(this,Rs,e)},n.xb=function(e,t){return ve(e={requestType:"EMAIL_SIGNIN",email:e},t),ru(this,As,e)},n.vb=function(e,t){return ve(e={requestType:"VERIFY_EMAIL",idToken:e},t),ru(this,zs,e)},n.Fb=function(e,t,n){return ve(e={requestType:"VERIFY_AND_CHANGE_EMAIL",idToken:e,newEmail:t},n),ru(this,Ps,e)},n.gb=function(e){return ru(this,Ks,e)},n.ob=function(e,t){return ru(this,Fs,{oobCode:e,newPassword:t})},n.Sa=function(e){return ru(this,Is,{oobCode:e})},n.kb=function(e){return ru(this,Ss,{oobCode:e})};var Ss={endpoint:"setAccountInfo",A:js,Z:"email",B:!0},Is={endpoint:"resetPassword",A:js,G:function(e){var t=e.requestType;if(!t||!e.email&&"EMAIL_SIGNIN"!=t&&"VERIFY_AND_CHANGE_EMAIL"!=t)throw new x("internal-error")},B:!0},Ds={endpoint:"signupNewUser",A:function(e){if(fs(e),!e.password)throw new x("weak-password")},G:ps,V:!0,B:!0},xs={endpoint:"createAuthUri",B:!0},Es={endpoint:"deleteAccount",O:["idToken"]},Os={endpoint:"setAccountInfo",O:["idToken","deleteProvider"],A:function(e){if(!Array.isArray(e.deleteProvider))throw new x("internal-error")}},Ts={endpoint:"emailLinkSignin",O:["email","oobCode"],A:fs,G:ps,V:!0,B:!0},Cs={endpoint:"emailLinkSignin",O:["idToken","email","oobCode"],A:fs,G:ps,V:!0},ks={endpoint:"accounts/mfaEnrollment:finalize",O:["idToken","phoneVerificationInfo"],A:ys,G:ps,B:!0,Na:!0},Ls={endpoint:"accounts/mfaSignIn:finalize",O:["mfaPendingCredential","phoneVerificationInfo"],A:ys,G:ps,B:!0,Na:!0},_s={endpoint:"getAccountInfo"},As={endpoint:"getOobConfirmationCode",O:["requestType"],A:function(e){if("EMAIL_SIGNIN"!=e.requestType)throw new x("internal-error");fs(e)},Z:"email",B:!0},zs={endpoint:"getOobConfirmationCode",O:["idToken","requestType"],A:function(e){if("VERIFY_EMAIL"!=e.requestType)throw new x("internal-error")},Z:"email",B:!0},Ps={endpoint:"getOobConfirmationCode",O:["idToken","newEmail","requestType"],A:function(e){if("VERIFY_AND_CHANGE_EMAIL"!=e.requestType)throw new x("internal-error")},Z:"email",B:!0},Rs={endpoint:"getOobConfirmationCode",O:["requestType"],A:function(e){if("PASSWORD_RESET"!=e.requestType)throw new x("internal-error");fs(e)},Z:"email",B:!0},Us={mb:!0,endpoint:"getProjectConfig",Vb:"GET"},Bs={mb:!0,endpoint:"getRecaptchaParam",Vb:"GET",G:function(e){if(!e.recaptchaSiteKey)throw new x("internal-error")}},Fs={endpoint:"resetPassword",A:js,Z:"email",B:!0},Ys={endpoint:"sendVerificationCode",O:["phoneNumber","recaptchaToken"],Z:"sessionInfo",B:!0},Gs={endpoint:"setAccountInfo",O:["idToken"],A:ds,V:!0},Hs={endpoint:"setAccountInfo",O:["idToken"],A:function(e){if(ds(e),!e.password)throw new x("weak-password")},G:ps,V:!0},Vs={endpoint:"signupNewUser",G:ps,V:!0,B:!0},Qs={endpoint:"accounts/mfaEnrollment:start",O:["idToken","phoneEnrollmentInfo"],A:function(e){if(!e.phoneEnrollmentInfo)throw new x("internal-error");if(!e.phoneEnrollmentInfo.phoneNumber)throw new x("missing-phone-number");if(!e.phoneEnrollmentInfo.recaptchaToken)throw new x("missing-app-credential")},G:function(e){if(!e.phoneSessionInfo||!e.phoneSessionInfo.sessionInfo)throw new x("internal-error")},B:!0,Na:!0},Ws={endpoint:"accounts/mfaSignIn:start",O:["mfaPendingCredential","mfaEnrollmentId","phoneSignInInfo"],A:function(e){if(!e.phoneSignInInfo||!e.phoneSignInInfo.recaptchaToken)throw new x("missing-app-credential")},G:function(e){if(!e.phoneResponseInfo||!e.phoneResponseInfo.sessionInfo)throw new x("internal-error")},B:!0,Na:!0},Zs={endpoint:"verifyAssertion",A:ms,Za:vs,G:bs,V:!0,B:!0},qs={endpoint:"verifyAssertion",A:ms,Za:vs,G:function(e){if(e.errorMessage&&"USER_NOT_FOUND"==e.errorMessage)throw new x("user-not-found");if(e.errorMessage)throw ou(e.errorMessage);ps(e)},V:!0,B:!0},Xs={endpoint:"verifyAssertion",A:function(e){if(ms(e),!e.idToken)throw new x("internal-error")},Za:vs,G:bs,V:!0},$s={endpoint:"verifyCustomToken",A:function(e){if(!e.token)throw new x("invalid-custom-token")},G:ps,V:!0,B:!0},Js={endpoint:"verifyPassword",A:function(e){if(fs(e),!e.password)throw new x("wrong-password")},G:ps,V:!0,B:!0},Ks={endpoint:"verifyPhoneNumber",A:hs,G:ps,B:!0},eu={endpoint:"verifyPhoneNumber",A:function(e){if(!e.idToken)throw new x("internal-error");hs(e)},G:function(e){if(e.temporaryProof)throw e.code="credential-already-in-use",Wi(e);ps(e)}},tu={Ib:{USER_NOT_FOUND:"user-not-found"},endpoint:"verifyPhoneNumber",A:hs,G:ps,B:!0},nu={endpoint:"accounts/mfaEnrollment:withdraw",O:["idToken","mfaEnrollmentId"],G:function(e){if(!!e[Ja]^!!e.refreshToken)throw new x("internal-error")},B:!0,Na:!0};function ru(e,t,n){if(!function(e,t){if(!t||!t.length)return!0;if(!e)return!1;for(var n=0;n<t.length;n++){var r=e[t[n]];if(void 0===r||null===r||""===r)return!1}return!0}(n,t.O))return Tt(new x("internal-error"));var r,o=!!t.Na,i=t.Vb||"POST";return Ot(n).then(t.A).then((function(){return t.V&&(n.returnSecureToken=!0),t.B&&e.b&&"undefined"===typeof n.tenantId&&(n.tenantId=e.b),cs(e,o?e.i:e.h,t.endpoint,i,n,t.Ib,t.mb||!1)})).then((function(e){return r=e,t.Za?t.Za(n,r):r})).then(t.G).then((function(){if(!t.Z)return r;if(!(t.Z in r))throw new x("internal-error");return r[t.Z]}))}function ou(e){return iu({error:{errors:[{message:e}],code:400,message:e}})}function iu(e,t){var n=(e.error&&e.error.errors&&e.error.errors[0]||{}).reason||"",r={keyInvalid:"invalid-api-key",ipRefererBlocked:"app-not-authorized"};if(n=r[n]?new x(r[n]):null)return n;for(var o in n=e.error&&e.error.message||"",ve(r={INVALID_CUSTOM_TOKEN:"invalid-custom-token",CREDENTIAL_MISMATCH:"custom-token-mismatch",MISSING_CUSTOM_TOKEN:"internal-error",INVALID_IDENTIFIER:"invalid-email",MISSING_CONTINUE_URI:"internal-error",INVALID_EMAIL:"invalid-email",INVALID_PASSWORD:"wrong-password",USER_DISABLED:"user-disabled",MISSING_PASSWORD:"internal-error",EMAIL_EXISTS:"email-already-in-use",PASSWORD_LOGIN_DISABLED:"operation-not-allowed",INVALID_IDP_RESPONSE:"invalid-credential",INVALID_PENDING_TOKEN:"invalid-credential",FEDERATED_USER_ID_ALREADY_LINKED:"credential-already-in-use",MISSING_OR_INVALID_NONCE:"missing-or-invalid-nonce",INVALID_MESSAGE_PAYLOAD:"invalid-message-payload",INVALID_RECIPIENT_EMAIL:"invalid-recipient-email",INVALID_SENDER:"invalid-sender",EMAIL_NOT_FOUND:"user-not-found",RESET_PASSWORD_EXCEED_LIMIT:"too-many-requests",EXPIRED_OOB_CODE:"expired-action-code",INVALID_OOB_CODE:"invalid-action-code",MISSING_OOB_CODE:"internal-error",INVALID_PROVIDER_ID:"invalid-provider-id",CREDENTIAL_TOO_OLD_LOGIN_AGAIN:"requires-recent-login",INVALID_ID_TOKEN:"invalid-user-token",TOKEN_EXPIRED:"user-token-expired",USER_NOT_FOUND:"user-token-expired",CORS_UNSUPPORTED:"cors-unsupported",DYNAMIC_LINK_NOT_ACTIVATED:"dynamic-link-not-activated",INVALID_APP_ID:"invalid-app-id",TOO_MANY_ATTEMPTS_TRY_LATER:"too-many-requests",WEAK_PASSWORD:"weak-password",OPERATION_NOT_ALLOWED:"operation-not-allowed",USER_CANCELLED:"user-cancelled",CAPTCHA_CHECK_FAILED:"captcha-check-failed",INVALID_APP_CREDENTIAL:"invalid-app-credential",INVALID_CODE:"invalid-verification-code",INVALID_PHONE_NUMBER:"invalid-phone-number",INVALID_SESSION_INFO:"invalid-verification-id",INVALID_TEMPORARY_PROOF:"invalid-credential",MISSING_APP_CREDENTIAL:"missing-app-credential",MISSING_CODE:"missing-verification-code",MISSING_PHONE_NUMBER:"missing-phone-number",MISSING_SESSION_INFO:"missing-verification-id",QUOTA_EXCEEDED:"quota-exceeded",SESSION_EXPIRED:"code-expired",REJECTED_CREDENTIAL:"rejected-credential",INVALID_CONTINUE_URI:"invalid-continue-uri",MISSING_ANDROID_PACKAGE_NAME:"missing-android-pkg-name",MISSING_IOS_BUNDLE_ID:"missing-ios-bundle-id",UNAUTHORIZED_DOMAIN:"unauthorized-continue-uri",INVALID_DYNAMIC_LINK_DOMAIN:"invalid-dynamic-link-domain",INVALID_OAUTH_CLIENT_ID:"invalid-oauth-client-id",INVALID_CERT_HASH:"invalid-cert-hash",UNSUPPORTED_TENANT_OPERATION:"unsupported-tenant-operation",INVALID_TENANT_ID:"invalid-tenant-id",TENANT_ID_MISMATCH:"tenant-id-mismatch",ADMIN_ONLY_OPERATION:"admin-restricted-operation",INVALID_MFA_PENDING_CREDENTIAL:"invalid-multi-factor-session",MFA_ENROLLMENT_NOT_FOUND:"multi-factor-info-not-found",MISSING_MFA_PENDING_CREDENTIAL:"missing-multi-factor-session",MISSING_MFA_ENROLLMENT_ID:"missing-multi-factor-info",EMAIL_CHANGE_NEEDS_VERIFICATION:"email-change-needs-verification",SECOND_FACTOR_EXISTS:"second-factor-already-in-use",SECOND_FACTOR_LIMIT_EXCEEDED:"maximum-second-factor-count-exceeded",UNSUPPORTED_FIRST_FACTOR:"unsupported-first-factor",UNVERIFIED_EMAIL:"unverified-email"},t||{}),t=(t=n.match(/^[^\s]+\s*:\s*([\s\S]*)$/))&&1<t.length?t[1]:void 0,r)if(0===n.indexOf(o))return new x(r[o],t);return!t&&e&&(t=Ar(e)),new x("internal-error",t)}function au(e){this.b=e,this.a=null,this.sb=function(e){return(cu||(cu=new Nt((function(e,t){function n(){Br(),Or("gapi.load")("gapi.iframes",{callback:e,ontimeout:function(){Br(),t(Error("Network Error"))},timeout:uu.get()})}if(Or("gapi.iframes.Iframe"))e();else if(Or("gapi.load"))n();else{var r="__iframefcb"+Math.floor(1e6*Math.random()).toString();u[r]=function(){Or("gapi.load")?n():t(Error("Network Error"))},Ot(Ga(r=Ee(su,{onload:r}))).o((function(){t(Error("Network Error"))}))}})).o((function(e){throw cu=null,e})))).then((function(){return new Nt((function(t,n){Or("gapi.iframes.getContext")().open({where:document.body,url:e.b,messageHandlersFilter:Or("gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER"),attributes:{style:{position:"absolute",top:"-100px",width:"1px",height:"1px"}},dontclear:!0},(function(r){function o(){clearTimeout(i),t()}e.a=r,e.a.restyle({setHideOnLeave:!1});var i=setTimeout((function(){n(Error("Network Error"))}),lu.get());r.ping(o).then(o,(function(){n(Error("Network Error"))}))}))}))}))}(this)}var su=new Me(Se,"https://apis.google.com/js/api.js?onload=%{onload}"),uu=new Fr(3e4,6e4),lu=new Fr(5e3,15e3),cu=null;function fu(e,t,n,r){this.l=e,this.h=t,this.i=n,this.g=r,this.f=null,this.g?e=Fn((e=Bn(this.g.url)).c,e.a,e.g,"/emulator/auth/iframe"):e=Fn("https",this.l,null,"/__/auth/iframe"),this.a=e,Rn(this.a,"apiKey",this.h),Rn(this.a,"appName",this.i),this.b=null,this.c=[]}function du(e,t,n,r,o,i){this.u=e,this.s=t,this.c=n,this.m=r,this.v=i,this.i=this.g=this.l=null,this.a=o,this.h=this.f=null}function pu(e){try{return t.a.app(e).auth().Ga()}catch(n){return[]}}function hu(e,t,n,r,o,i){this.s=e,this.g=t,this.b=n,this.f=i,this.c=r||null,this.i=o||null,this.l=this.u=this.C=null,this.h=[],this.m=this.a=null}function gu(e){var t=cr();return function(e){return ru(e,Us,{}).then((function(e){return e.authorizedDomains||[]}))}(e).then((function(e){e:{var n=Bn(t),r=n.c;n=n.a;for(var o=0;o<e.length;o++){var i=e[o],a=n,s=r;if(0==i.indexOf("chrome-extension://")?a=Bn(i).a==a&&"chrome-extension"==s:"http"!=s&&"https"!=s?a=!1:gr.test(i)?a=a==i:(i=i.split(".").join("\\."),a=new RegExp("^(.+\\."+i+"|"+i+")$","i").test(a)),a){e=!0;break e}}e=!1}if(!e)throw new Vi(cr())}))}function yu(e){return e.m||(e.m=mr().then((function(){if(!e.u){var t=e.c,n=e.i,r=pu(e.b),o=new fu(e.s,e.g,e.b,e.f);o.f=t,o.b=n,o.c=K(r||[]),e.u=o.toString()}e.v=new au(e.u),function(e){if(!e.v)throw Error("IfcHandler must be initialized!");!function(e,t){e.sb.then((function(){e.a.register("authEvent",t,Or("gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER"))}))}(e.v,(function(t){var n={};if(t&&t.authEvent){var r=!1;for(t=Fi(t.authEvent),n=0;n<e.h.length;n++)r=e.h[n](t)||r;return(n={}).status=r?"ACK":"ERROR",Ot(n)}return n.status="ERROR",Ot(n)}))}(e)}))),e.m}function mu(e){return e.l||(e.C=e.c?xr(e.c,pu(e.b)):null,e.l=new Xa(e.g,L(e.i),e.C),e.f&&os(e.l,e.f)),e.l}function vu(e,t,n,r,o,i,a,s,u,l,c,f){return(e=new du(e,t,n,r,o,f)).l=i,e.g=a,e.i=s,e.b=ye(u||null),e.f=l,e.zb(c).toString()}function bu(e){if(this.a=e||t.a.INTERNAL.reactNative&&t.a.INTERNAL.reactNative.AsyncStorage,!this.a)throw new x("internal-error","The React Native compatibility library was not found.");this.type="asyncStorage"}function Mu(e){this.b=e,this.a={},this.f=N(this.c,this)}fu.prototype.toString=function(){return this.f?Rn(this.a,"v",this.f):Kn(this.a.b,"v"),this.b?Rn(this.a,"eid",this.b):Kn(this.a.b,"eid"),this.c.length?Rn(this.a,"fw",this.c.join(",")):Kn(this.a.b,"fw"),this.a.toString()},du.prototype.zb=function(e){return this.h=e,this},du.prototype.toString=function(){if(this.v){var e=Bn(this.v.url);e=Fn(e.c,e.a,e.g,"/emulator/auth/handler")}else e=Fn("https",this.u,null,"/__/auth/handler");if(Rn(e,"apiKey",this.s),Rn(e,"appName",this.c),Rn(e,"authType",this.m),this.a.isOAuthProvider){var n=this.a;try{var r=t.a.app(this.c).auth().la()}catch(u){r=null}for(var o in n.pb=r,Rn(e,"providerId",this.a.providerId),n=zr((r=this.a).Jb))n[o]=n[o].toString();o=r.Qc,n=ye(n);for(var i=0;i<o.length;i++){var a=o[i];a in n&&delete n[a]}r.qb&&r.pb&&!n[r.qb]&&(n[r.qb]=r.pb),ge(n)||Rn(e,"customParameters",Ar(n))}if("function"===typeof this.a.Rb&&((r=this.a.Rb()).length&&Rn(e,"scopes",r.join(","))),this.l?Rn(e,"redirectUrl",this.l):Kn(e.b,"redirectUrl"),this.g?Rn(e,"eventId",this.g):Kn(e.b,"eventId"),this.i?Rn(e,"v",this.i):Kn(e.b,"v"),this.b)for(var s in this.b)this.b.hasOwnProperty(s)&&!Un(e,s)&&Rn(e,s,this.b[s]);return this.h?Rn(e,"tid",this.h):Kn(e.b,"tid"),this.f?Rn(e,"eid",this.f):Kn(e.b,"eid"),(s=pu(this.c)).length&&Rn(e,"fw",s.join(",")),e.toString()},(n=hu.prototype).Pb=function(e,t,n){var r=new x("popup-closed-by-user"),o=new x("web-storage-unsupported"),i=this,a=!1;return this.ma().then((function(){(function(e){var t={type:"webStorageSupport"};return yu(e).then((function(){return function(e,t){return e.sb.then((function(){return new Nt((function(n){e.a.send(t.type,t,n,Or("gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER"))}))}))}(e.v,t)})).then((function(e){if(e&&e.length&&"undefined"!==typeof e[0].webStorageSupport)return e[0].webStorageSupport;throw Error()}))})(i).then((function(n){n||(e&&pr(e),t(o),a=!0)}))})).o((function(){})).then((function(){if(!a)return function(e){return new Nt((function(t){return function n(){xn(2e3).then((function(){if(e&&!e.closed)return n();t()}))}()}))}(e)})).then((function(){if(!a)return xn(n).then((function(){t(r)}))}))},n.Yb=function(){var e=Er();return!_r(e)&&!Ur(e)},n.Ub=function(){return!1},n.Nb=function(e,t,n,r,o,i,a,s){if(!e)return Tt(new x("popup-blocked"));if(a&&!_r())return this.ma().o((function(t){pr(e),o(t)})),r(),Ot();this.a||(this.a=gu(mu(this)));var u=this;return this.a.then((function(){var t=u.ma().o((function(t){throw pr(e),o(t),t}));return r(),t})).then((function(){(Ui(n),a)||fr(vu(u.s,u.g,u.b,t,n,null,i,u.c,void 0,u.i,s,u.f),e)})).o((function(e){throw"auth/network-request-failed"==e.code&&(u.a=null),e}))},n.Ob=function(e,t,n,r){this.a||(this.a=gu(mu(this)));var o=this;return this.a.then((function(){Ui(t),fr(vu(o.s,o.g,o.b,e,t,cr(),n,o.c,void 0,o.i,r,o.f))})).o((function(e){throw"auth/network-request-failed"==e.code&&(o.a=null),e}))},n.ma=function(){var e=this;return yu(this).then((function(){return e.v.sb})).o((function(){throw e.a=null,new x("network-request-failed")}))},n.ac=function(){return!0},n.Ea=function(e){this.h.push(e)},n.Ta=function(e){$(this.h,(function(t){return t==e}))},(n=bu.prototype).get=function(e){return Ot(this.a.getItem(e)).then((function(e){return e&&Pr(e)}))},n.set=function(e,t){return Ot(this.a.setItem(e,Ar(t)))},n.U=function(e){return Ot(this.a.removeItem(e))},n.ca=function(){},n.ia=function(){};var wu,Nu=[];function ju(e,t,n){ge(e.a)&&e.b.addEventListener("message",e.f),"undefined"===typeof e.a[t]&&(e.a[t]=[]),e.a[t].push(n)}function Su(e){this.a=e}function Iu(e){this.c=e,this.b=!1,this.a=[]}function Du(e,t,n,r){var o,i,a,s,u=n||{},l=null;if(e.b)return Tt(Error("connection_unavailable"));var c=r?800:50,f="undefined"!==typeof MessageChannel?new MessageChannel:null;return new Nt((function(n,r){f?(o=Math.floor(Math.random()*Math.pow(10,20)).toString(),f.port1.start(),a=setTimeout((function(){r(Error("unsupported_event"))}),c),l={messageChannel:f,onMessage:i=function(e){e.data.eventId===o&&("ack"===e.data.status?(clearTimeout(a),s=setTimeout((function(){r(Error("timeout"))}),3e3)):"done"===e.data.status?(clearTimeout(s),"undefined"!==typeof e.data.response?n(e.data.response):r(Error("unknown_error"))):(clearTimeout(a),clearTimeout(s),r(Error("invalid_response"))))}},e.a.push(l),f.port1.addEventListener("message",i),e.c.postMessage({eventType:t,eventId:o,data:u},[f.port2])):r(Error("connection_unavailable"))})).then((function(t){return xu(e,l),t})).o((function(t){throw xu(e,l),t}))}function xu(e,t){if(t){var n=t.messageChannel,r=t.onMessage;n&&(n.port1.removeEventListener("message",r),n.port1.close()),$(e.a,(function(e){return e==t}))}}function Eu(){if(!ku())throw new x("web-storage-unsupported");this.c={},this.a=[],this.b=0,this.m=u.indexedDB,this.type="indexedDB",this.g=this.v=this.f=this.l=null,this.s=!1,this.h=null;var e=this;Mr()&&self?(this.v=function(){var e=Mr()?self:null;if(V(Nu,(function(n){n.b==e&&(t=n)})),!t){var t=new Mu(e);Nu.push(t)}return t}(),ju(this.v,"keyChanged",(function(t,n){return Pu(e).then((function(t){return 0<t.length&&V(e.a,(function(e){e(t)})),{keyProcessed:q(t,n.key)}}))})),ju(this.v,"ping",(function(){return Ot(["keyChanged"])}))):function(){var e=u.navigator;return e&&e.serviceWorker?Ot().then((function(){return e.serviceWorker.ready})).then((function(e){return e.active||null})).o((function(){return null})):Ot(null)}().then((function(t){(e.h=t)&&(e.g=new Iu(new Su(t)),Du(e.g,"ping",null,!0).then((function(t){t[0].fulfilled&&q(t[0].value,"keyChanged")&&(e.s=!0)})).o((function(){})))}))}function Ou(e){return new Nt((function(t,n){var r=e.m.open("firebaseLocalStorageDb",1);r.onerror=function(e){try{e.preventDefault()}catch(t){}n(Error(e.target.error))},r.onupgradeneeded=function(e){e=e.target.result;try{e.createObjectStore("firebaseLocalStorage",{keyPath:"fbase_key"})}catch(t){n(t)}},r.onsuccess=function(r){(r=r.target.result).objectStoreNames.contains("firebaseLocalStorage")?t(r):function(e){return new Nt((function(t,n){var r=e.m.deleteDatabase("firebaseLocalStorageDb");r.onsuccess=function(){t()},r.onerror=function(e){n(Error(e.target.error))}}))}(e).then((function(){return Ou(e)})).then((function(e){t(e)})).o((function(e){n(e)}))}}))}function Tu(e){return e.i||(e.i=Ou(e)),e.i}function Cu(e,t){var n=0;return new Nt((function r(o,i){Tu(e).then(t).then(o).o((function(t){if(!(3<++n))return Tu(e).then((function(t){return t.close(),e.i=void 0,r(o,i)})).o((function(e){i(e)}));i(t)}))}))}function ku(){try{return!!u.indexedDB}catch(ua){return!1}}function Lu(e){return e.objectStore("firebaseLocalStorage")}function _u(e,t){return e.transaction(["firebaseLocalStorage"],t?"readwrite":"readonly")}function Au(e){return new Nt((function(t,n){e.onsuccess=function(e){e&&e.target?t(e.target.result):t()},e.onerror=function(e){n(e.target.error)}}))}function zu(e,t){return e.g&&e.h&&function(){var e=u.navigator;return e&&e.serviceWorker&&e.serviceWorker.controller||null}()===e.h?Du(e.g,"keyChanged",{key:t},e.s).then((function(){})).o((function(){})):Ot()}function Pu(e){return Tu(e).then((function(e){var t=Lu(_u(e,!1));return t.getAll?Au(t.getAll()):new Nt((function(e,n){var r=[],o=t.openCursor();o.onsuccess=function(t){(t=t.target.result)?(r.push(t.value),t.continue()):e(r)},o.onerror=function(e){n(e.target.error)}}))})).then((function(t){var n={},r=[];if(0==e.b){for(r=0;r<t.length;r++)n[t[r].fbase_key]=t[r].value;r=function e(t,n){var r,o=[];for(r in t)r in n?typeof t[r]!=typeof n[r]?o.push(r):"object"==typeof t[r]&&null!=t[r]&&null!=n[r]?0<e(t[r],n[r]).length&&o.push(r):t[r]!==n[r]&&o.push(r):o.push(r);for(r in n)r in t||o.push(r);return o}(e.c,n),e.c=n}return r}))}function Ru(e){e.l&&e.l.cancel("STOP_EVENT"),e.f&&(clearTimeout(e.f),e.f=null)}function Uu(e){var t=this,n=null;this.a=[],this.type="indexedDB",this.c=e,this.b=Ot().then((function(){if(ku()){var e=Rr(),r="__sak"+e;return wu||(wu=new Eu),(n=wu).set(r,e).then((function(){return n.get(r)})).then((function(t){if(t!==e)throw Error("indexedDB not supported!");return n.U(r)})).then((function(){return n})).o((function(){return t.c}))}return t.c})).then((function(e){return t.type=e.type,e.ca((function(e){V(t.a,(function(t){t(e)}))})),e}))}function Bu(){this.a={},this.type="inMemory"}function Fu(){if(!function(){var e="Node"==wr();if(!(e=Yu()||e&&t.a.INTERNAL.node&&t.a.INTERNAL.node.localStorage))return!1;try{return e.setItem("__sak","1"),e.removeItem("__sak"),!0}catch(n){return!1}}()){if("Node"==wr())throw new x("internal-error","The LocalStorage compatibility library was not found.");throw new x("web-storage-unsupported")}this.a=Yu()||t.a.INTERNAL.node.localStorage,this.type="localStorage"}function Yu(){try{var e=u.localStorage,t=Rr();return e&&(e.setItem(t,"1"),e.removeItem(t)),e}catch(n){return null}}function Gu(){this.type="nullStorage"}function Hu(){if(!function(){var e="Node"==wr();if(!(e=Vu()||e&&t.a.INTERNAL.node&&t.a.INTERNAL.node.sessionStorage))return!1;try{return e.setItem("__sak","1"),e.removeItem("__sak"),!0}catch(n){return!1}}()){if("Node"==wr())throw new x("internal-error","The SessionStorage compatibility library was not found.");throw new x("web-storage-unsupported")}this.a=Vu()||t.a.INTERNAL.node.sessionStorage,this.type="sessionStorage"}function Vu(){try{var e=u.sessionStorage,t=Rr();return e&&(e.setItem(t,"1"),e.removeItem(t)),e}catch(n){return null}}function Qu(){var e={};e.Browser=qu,e.Node=Xu,e.ReactNative=$u,e.Worker=Ju,this.a=e[wr()]}Mu.prototype.c=function(e){var t=e.data.eventType,n=e.data.eventId,r=this.a[t];if(r&&0<r.length){e.ports[0].postMessage({status:"ack",eventId:n,eventType:t,response:null});var o=[];V(r,(function(t){o.push(Ot().then((function(){return t(e.origin,e.data.data)})))})),kt(o).then((function(r){var o=[];V(r,(function(e){o.push({fulfilled:e.Qb,value:e.value,reason:e.reason?e.reason.message:void 0})})),V(o,(function(e){for(var t in e)"undefined"===typeof e[t]&&delete e[t]})),e.ports[0].postMessage({status:"done",eventId:n,eventType:t,response:o})}))}},Su.prototype.postMessage=function(e,t){this.a.postMessage(e,t)},Iu.prototype.close=function(){for(;0<this.a.length;)xu(this,this.a[0]);this.b=!0},(n=Eu.prototype).set=function(e,t){var n=this,r=!1;return Cu(this,(function(t){return Au((t=Lu(_u(t,!0))).get(e))})).then((function(o){return Cu(n,(function(i){if(i=Lu(_u(i,!0)),o)return o.value=t,Au(i.put(o));n.b++,r=!0;var a={};return a.fbase_key=e,a.value=t,Au(i.add(a))}))})).then((function(){return n.c[e]=t,zu(n,e)})).oa((function(){r&&n.b--}))},n.get=function(e){return Cu(this,(function(t){return Au(Lu(_u(t,!1)).get(e))})).then((function(e){return e&&e.value}))},n.U=function(e){var t=this,n=!1;return Cu(this,(function(r){return n=!0,t.b++,Au(Lu(_u(r,!0)).delete(e))})).then((function(){return delete t.c[e],zu(t,e)})).oa((function(){n&&t.b--}))},n.ca=function(e){0==this.a.length&&function(e){Ru(e),function t(){e.f=setTimeout((function(){e.l=Pu(e).then((function(t){0<t.length&&V(e.a,(function(e){e(t)}))})).then((function(){t()})).o((function(e){"STOP_EVENT"!=e.message&&t()}))}),800)}()}(this),this.a.push(e)},n.ia=function(e){$(this.a,(function(t){return t==e})),0==this.a.length&&Ru(this)},(n=Uu.prototype).get=function(e){return this.b.then((function(t){return t.get(e)}))},n.set=function(e,t){return this.b.then((function(n){return n.set(e,t)}))},n.U=function(e){return this.b.then((function(t){return t.U(e)}))},n.ca=function(e){this.a.push(e)},n.ia=function(e){$(this.a,(function(t){return t==e}))},(n=Bu.prototype).get=function(e){return Ot(this.a[e])},n.set=function(e,t){return this.a[e]=t,Ot()},n.U=function(e){return delete this.a[e],Ot()},n.ca=function(){},n.ia=function(){},(n=Fu.prototype).get=function(e){var t=this;return Ot().then((function(){return Pr(t.a.getItem(e))}))},n.set=function(e,t){var n=this;return Ot().then((function(){var r=Ar(t);null===r?n.U(e):n.a.setItem(e,r)}))},n.U=function(e){var t=this;return Ot().then((function(){t.a.removeItem(e)}))},n.ca=function(e){u.window&&cn(u.window,"storage",e)},n.ia=function(e){u.window&&pn(u.window,"storage",e)},(n=Gu.prototype).get=function(){return Ot(null)},n.set=function(){return Ot()},n.U=function(){return Ot()},n.ca=function(){},n.ia=function(){},(n=Hu.prototype).get=function(e){var t=this;return Ot().then((function(){return Pr(t.a.getItem(e))}))},n.set=function(e,t){var n=this;return Ot().then((function(){var r=Ar(t);null===r?n.U(e):n.a.setItem(e,r)}))},n.U=function(e){var t=this;return Ot().then((function(){t.a.removeItem(e)}))},n.ca=function(){},n.ia=function(){};var Wu,Zu,qu={F:Fu,cb:Hu},Xu={F:Fu,cb:Hu},$u={F:bu,cb:Gu},Ju={F:Fu,cb:Gu},Ku={rd:"local",NONE:"none",td:"session"};function el(){var e=!(Ur(Er())||!br()),t=_r(),n=Tr();this.m=e,this.h=t,this.l=n,this.a={},Wu||(Wu=new Qu),e=Wu;try{this.g=!lr()&&Hr()||!u.indexedDB?new e.a.F:new Uu(Mr()?new Bu:new e.a.F)}catch(r){this.g=new Bu,this.h=!0}try{this.i=new e.a.cb}catch(r){this.i=new Bu}this.v=new Bu,this.f=N(this.Zb,this),this.b={}}function tl(){return Zu||(Zu=new el),Zu}function nl(e,t){switch(t){case"session":return e.i;case"none":return e.v;default:return e.g}}function rl(e,t){return"firebase:"+e.name+(t?":"+t:"")}function ol(e,t,n){return n=rl(t,n),"local"==t.F&&(e.b[n]=null),nl(e,t.F).U(n)}function il(e){e.c&&(clearInterval(e.c),e.c=null)}function al(e){this.a=e,this.b=tl()}(n=el.prototype).get=function(e,t){return nl(this,e.F).get(rl(e,t))},n.set=function(e,t,n){var r=rl(e,n),o=this,i=nl(this,e.F);return i.set(r,t).then((function(){return i.get(r)})).then((function(t){"local"==e.F&&(o.b[r]=t)}))},n.addListener=function(e,t,n){e=rl(e,t),this.l&&(this.b[e]=u.localStorage.getItem(e)),ge(this.a)&&(nl(this,"local").ca(this.f),this.h||(lr()||!Hr())&&u.indexedDB||!this.l||function(e){il(e),e.c=setInterval((function(){for(var t in e.a){var n=u.localStorage.getItem(t),r=e.b[t];n!=r&&(e.b[t]=n,n=new Jt({type:"storage",key:t,target:window,oldValue:r,newValue:n,a:!0}),e.Zb(n))}}),1e3)}(this)),this.a[e]||(this.a[e]=[]),this.a[e].push(n)},n.removeListener=function(e,t,n){e=rl(e,t),this.a[e]&&($(this.a[e],(function(e){return e==n})),0==this.a[e].length&&delete this.a[e]),ge(this.a)&&(nl(this,"local").ia(this.f),il(this))},n.Zb=function(e){if(e&&e.g){var t=e.a.key;if(null==t)for(var n in this.a){var r=this.b[n];"undefined"===typeof r&&(r=null);var o=u.localStorage.getItem(n);o!==r&&(this.b[n]=o,this.nb(n))}else if(0==t.indexOf("firebase:")&&this.a[t]){if("undefined"!==typeof e.a.a?nl(this,"local").ia(this.f):il(this),this.m)if(n=u.localStorage.getItem(t),(r=e.a.newValue)!==n)null!==r?u.localStorage.setItem(t,r):u.localStorage.removeItem(t);else if(this.b[t]===r&&"undefined"===typeof e.a.a)return;var i=this;n=function(){"undefined"===typeof e.a.a&&i.b[t]===u.localStorage.getItem(t)||(i.b[t]=u.localStorage.getItem(t),i.nb(t))},qe&&ut&&10==ut&&u.localStorage.getItem(t)!==e.a.newValue&&e.a.newValue!==e.a.oldValue?setTimeout(n,10):n()}}else V(e,N(this.nb,this))},n.nb=function(e){this.a[e]&&V(this.a[e],(function(e){e()}))};var sl,ul={name:"authEvent",F:"local"};function ll(){this.a=tl()}function cl(e,t){this.b=fl,this.f=u.Uint8Array?new Uint8Array(this.b):Array(this.b),this.g=this.c=0,this.a=[],this.i=e,this.h=t,this.l=u.Int32Array?new Int32Array(64):Array(64),void 0===sl&&(sl=u.Int32Array?new Int32Array(vl):vl),this.reset()}I(cl,(function(){this.b=-1}));for(var fl=64,dl=fl-1,pl=[],hl=0;hl<dl;hl++)pl[hl]=0;var gl=J(128,pl);function yl(e){for(var t=e.f,n=e.l,r=0,o=0;o<t.length;)n[r++]=t[o]<<24|t[o+1]<<16|t[o+2]<<8|t[o+3],o=4*r;for(t=16;64>t;t++){o=0|n[t-15],r=0|n[t-2];var i=(0|n[t-16])+((o>>>7|o<<25)^(o>>>18|o<<14)^o>>>3)|0,a=(0|n[t-7])+((r>>>17|r<<15)^(r>>>19|r<<13)^r>>>10)|0;n[t]=i+a|0}r=0|e.a[0],o=0|e.a[1];var s=0|e.a[2],u=0|e.a[3],l=0|e.a[4],c=0|e.a[5],f=0|e.a[6];for(i=0|e.a[7],t=0;64>t;t++){var d=((r>>>2|r<<30)^(r>>>13|r<<19)^(r>>>22|r<<10))+(r&o^r&s^o&s)|0;a=(i=i+((l>>>6|l<<26)^(l>>>11|l<<21)^(l>>>25|l<<7))|0)+((a=(a=l&c^~l&f)+(0|sl[t])|0)+(0|n[t])|0)|0,i=f,f=c,c=l,l=u+a|0,u=s,s=o,o=r,r=a+d|0}e.a[0]=e.a[0]+r|0,e.a[1]=e.a[1]+o|0,e.a[2]=e.a[2]+s|0,e.a[3]=e.a[3]+u|0,e.a[4]=e.a[4]+l|0,e.a[5]=e.a[5]+c|0,e.a[6]=e.a[6]+f|0,e.a[7]=e.a[7]+i|0}function ml(e,t,n){void 0===n&&(n=t.length);var r=0,o=e.c;if("string"===typeof t)for(;r<n;)e.f[o++]=t.charCodeAt(r++),o==e.b&&(yl(e),o=0);else{if(!h(t))throw Error("message must be string or array");for(;r<n;){var i=t[r++];if(!("number"==typeof i&&0<=i&&255>=i&&i==(0|i)))throw Error("message must be a byte array");e.f[o++]=i,o==e.b&&(yl(e),o=0)}}e.c=o,e.g+=n}cl.prototype.reset=function(){this.g=this.c=0,this.a=u.Int32Array?new Int32Array(this.h):K(this.h)};var vl=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function bl(){cl.call(this,8,Ml)}I(bl,cl);var Ml=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225];function wl(e,t,n,r,o,i){this.v=e,this.i=t,this.l=n,this.m=r||null,this.u=o||null,this.s=i,this.h=t+":"+n,this.C=new ll,this.g=new al(this.h),this.f=null,this.b=[],this.a=this.c=null}function Nl(e){return new x("invalid-cordova-configuration",e)}function jl(e){var t=new bl;ml(t,e),e=[];var n=8*t.g;56>t.c?ml(t,gl,56-t.c):ml(t,gl,t.b-(t.c-56));for(var r=63;56<=r;r--)t.f[r]=255&n,n/=256;for(yl(t),r=n=0;r<t.i;r++)for(var o=24;0<=o;o-=8)e[n++]=t.a[r]>>o&255;return function(e){return W(e,(function(e){return 1<(e=e.toString(16)).length?e:"0"+e})).join("")}(e)}function Sl(e,t){for(var n=0;n<e.b.length;n++)try{e.b[n](t)}catch(r){}}function Il(e){return e.f||(e.f=e.ma().then((function(){return new Nt((function(t){e.Ea((function n(r){return t(r),e.Ta(n),!1})),function(e){function t(t){r=!0,o&&o.cancel(),Dl(e).then((function(r){var o=n;if(r&&t&&t.url){var i=null;-1!=(o=ii(t.url)).indexOf("/__/auth/callback")&&(i=(i="object"===typeof(i=Pr(Un(i=Bn(o),"firebaseError")||null))?E(i):null)?new Bi(r.c,r.b,null,null,i,null,r.T()):new Bi(r.c,r.b,o,r.f,null,null,r.T())),o=i||n}Sl(e,o)}))}var n=new Bi("unknown",null,null,null,new x("no-auth-event")),r=!1,o=xn(500).then((function(){return Dl(e).then((function(){r||Sl(e,n)}))})),i=u.handleOpenURL;u.handleOpenURL=function(e){if(0==e.toLowerCase().indexOf(Or("BuildInfo.packageName",u).toLowerCase()+"://")&&t({url:e}),"function"===typeof i)try{i(e)}catch(n){console.error(n)}},Hi||(Hi=new Yi),function(e){var t=Hi;t.a.push(e),t.b||(t.b=function(e){for(var n=0;n<t.a.length;n++)t.a[n](e)},"function"===typeof(e=Or("universalLinks.subscribe",u))&&e(null,t.b))}(t)}(e)}))}))),e.f}function Dl(e){var t=null;return function(e){return e.b.get(ul,e.a).then((function(e){return Fi(e)}))}(e.g).then((function(n){return t=n,ol((n=e.g).b,ul,n.a)})).then((function(){return t}))}function xl(e){this.a=e,this.b=tl()}(n=wl.prototype).ma=function(){return this.Ia?this.Ia:this.Ia=(vr(void 0)?mr().then((function(){return new Nt((function(e,t){var n=u.document,r=setTimeout((function(){t(Error("Cordova framework is not ready."))}),1e3);n.addEventListener("deviceready",(function(){clearTimeout(r),e()}),!1)}))})):Tt(Error("Cordova must run in an Android or iOS file scheme."))).then((function(){if("function"!==typeof Or("universalLinks.subscribe",u))throw Nl("cordova-universal-links-plugin-fix is not installed");if("undefined"===typeof Or("BuildInfo.packageName",u))throw Nl("cordova-plugin-buildinfo is not installed");if("function"!==typeof Or("cordova.plugins.browsertab.openUrl",u))throw Nl("cordova-plugin-browsertab is not installed");if("function"!==typeof Or("cordova.InAppBrowser.open",u))throw Nl("cordova-plugin-inappbrowser is not installed")}),(function(){throw new x("cordova-not-ready")}))},n.Pb=function(e,t){return t(new x("operation-not-supported-in-this-environment")),Ot()},n.Nb=function(){return Tt(new x("operation-not-supported-in-this-environment"))},n.ac=function(){return!1},n.Yb=function(){return!0},n.Ub=function(){return!0},n.Ob=function(e,t,n,r){if(this.c)return Tt(new x("redirect-operation-pending"));var o=this,i=u.document,a=null,s=null,l=null,c=null;return this.c=Ot().then((function(){return Ui(t),Il(o)})).then((function(){return function(e,t,n,r,o){var i=function(){for(var e=20,t=[];0<e;)t.push("1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".charAt(Math.floor(62*Math.random()))),e--;return t.join("")}(),a=new Bi(t,r,null,i,new x("no-auth-event"),null,o),s=Or("BuildInfo.packageName",u);if("string"!==typeof s)throw new x("invalid-cordova-configuration");var l=Or("BuildInfo.displayName",u),c={};if(Er().toLowerCase().match(/iphone|ipad|ipod/))c.ibi=s;else{if(!Er().toLowerCase().match(/android/))return Tt(new x("operation-not-supported-in-this-environment"));c.apn=s}l&&(c.appDisplayName=l),i=jl(i),c.sessionId=i;var f=vu(e.v,e.i,e.l,t,n,null,r,e.m,c,e.u,o,e.s);return e.ma().then((function(){var t=e.h;return e.C.a.set(ul,a.w(),t)})).then((function(){var t=Or("cordova.plugins.browsertab.isAvailable",u);if("function"!==typeof t)throw new x("invalid-cordova-configuration");var n=null;t((function(t){if(t){if("function"!==typeof(n=Or("cordova.plugins.browsertab.openUrl",u)))throw new x("invalid-cordova-configuration");n(f)}else{if("function"!==typeof(n=Or("cordova.InAppBrowser.open",u)))throw new x("invalid-cordova-configuration");t=Er(),e.a=n(f,t.match(/(iPad|iPhone|iPod).*OS 7_\d/i)||t.match(/(iPad|iPhone|iPod).*OS 8_\d/i)?"_blank":"_system","location=yes")}}))}))}(o,e,t,n,r)})).then((function(){return new Nt((function(e,t){s=function(){var t=Or("cordova.plugins.browsertab.close",u);return e(),"function"===typeof t&&t(),o.a&&"function"===typeof o.a.close&&(o.a.close(),o.a=null),!1},o.Ea(s),l=function(){a||(a=xn(2e3).then((function(){t(new x("redirect-cancelled-by-user"))})))},c=function(){Yr()&&l()},i.addEventListener("resume",l,!1),Er().toLowerCase().match(/android/)||i.addEventListener("visibilitychange",c,!1)})).o((function(e){return Dl(o).then((function(){throw e}))}))})).oa((function(){l&&i.removeEventListener("resume",l,!1),c&&i.removeEventListener("visibilitychange",c,!1),a&&a.cancel(),s&&o.Ta(s),o.c=null}))},n.Ea=function(e){this.b.push(e),Il(this).o((function(t){"auth/invalid-cordova-configuration"===t.code&&(t=new Bi("unknown",null,null,null,new x("no-auth-event")),e(t))}))},n.Ta=function(e){$(this.b,(function(t){return t==e}))};var El={name:"pendingRedirect",F:"session"};function Ol(e){return ol(e.b,El,e.a)}function Tl(e,t,n,r){this.i={},this.u=0,this.D=e,this.v=t,this.m=n,this.J=r,this.h=[],this.f=!1,this.l=N(this.s,this),this.b=new Vl,this.C=new Xl,this.g=new xl(Gl(this.v,this.m)),this.c={},this.c.unknown=this.b,this.c.signInViaRedirect=this.b,this.c.linkViaRedirect=this.b,this.c.reauthViaRedirect=this.b,this.c.signInViaPopup=this.C,this.c.linkViaPopup=this.C,this.c.reauthViaPopup=this.C,this.a=Cl(this.D,this.v,this.m,O,this.J)}function Cl(e,n,r,o,i){var a=t.a.SDK_VERSION||null;return vr()?new wl(e,n,r,a,o,i):new hu(e,n,r,a,o,i)}function kl(e){e.f||(e.f=!0,e.a.Ea(e.l));var t=e.a;return e.a.ma().o((function(n){throw e.a==t&&e.reset(),n}))}function Ll(e){e.a.Yb()&&kl(e).o((function(t){var n=new Bi("unknown",null,null,null,new x("operation-not-supported-in-this-environment"));Ul(t)&&e.s(n)})),e.a.Ub()||Ql(e.b)}function _l(e,t){q(e.h,t)||e.h.push(t),e.f||function(e){return e.b.get(El,e.a).then((function(e){return"pending"==e}))}(e.g).then((function(t){t?Ol(e.g).then((function(){kl(e).o((function(t){var n=new Bi("unknown",null,null,null,new x("operation-not-supported-in-this-environment"));Ul(t)&&e.s(n)}))})):Ll(e)})).o((function(){Ll(e)}))}function Al(e,t){$(e.h,(function(e){return e==t}))}Tl.prototype.reset=function(){this.f=!1,this.a.Ta(this.l),this.a=Cl(this.D,this.v,this.m,null,this.J),this.i={}},Tl.prototype.s=function(e){if(!e)throw new x("invalid-auth-event");if(6e5<=Date.now()-this.u&&(this.i={},this.u=0),e&&e.getUid()&&this.i.hasOwnProperty(e.getUid()))return!1;for(var t=!1,n=0;n<this.h.length;n++){var r=this.h[n];if(r.Gb(e.c,e.b)){(t=this.c[e.c])&&(t.h(e,r),e&&(e.f||e.b)&&(this.i[e.getUid()]=!0,this.u=Date.now())),t=!0;break}}return Ql(this.b),t};var zl=new Fr(2e3,1e4),Pl=new Fr(3e4,6e4);function Rl(e,t,n,r,o,i,a){return e.a.Nb(t,n,r,(function(){e.f||(e.f=!0,e.a.Ea(e.l))}),(function(){e.reset()}),o,i,a)}function Ul(e){return!(!e||"auth/cordova-not-ready"!=e.code)}function Bl(e,t,n,r,o){var i;return function(e){return e.b.set(El,"pending",e.a)}(e.g).then((function(){return e.a.Ob(t,n,r,o).o((function(t){if(Ul(t))throw new x("operation-not-supported-in-this-environment");return i=t,Ol(e.g).then((function(){throw i}))})).then((function(){return e.a.ac()?new Nt((function(){})):Ol(e.g).then((function(){return e.ra()})).then((function(){})).o((function(){}))}))}))}function Fl(e,t,n,r,o){return e.a.Pb(r,(function(e){t.na(n,null,e,o)}),zl.get())}Tl.prototype.ra=function(){return this.b.ra()};var Yl={};function Gl(e,t,n){return e=e+":"+t,n&&(e=e+":"+n.url),e}function Hl(e,t,n,r){var o=Gl(t,n,r);return Yl[o]||(Yl[o]=new Tl(e,t,n,r)),Yl[o]}function Vl(){this.b=null,this.f=[],this.c=[],this.a=null,this.i=this.g=!1}function Ql(e){e.g||(e.g=!0,ql(e,!1,null,null))}function Wl(e){e.g&&!e.i&&ql(e,!1,null,null)}function Zl(e,t){if(e.b=function(){return Ot(t)},e.f.length)for(var n=0;n<e.f.length;n++)e.f[n](t)}function ql(e,t,n,r){t?r?function(e,t){if(e.b=function(){return Tt(t)},e.c.length)for(var n=0;n<e.c.length;n++)e.c[n](t)}(e,r):Zl(e,n):Zl(e,{user:null}),e.f=[],e.c=[]}function Xl(){}function $l(){this.jb=!1,Object.defineProperty(this,"appVerificationDisabled",{get:function(){return this.jb},set:function(e){this.jb=e},enumerable:!1})}function Jl(e,t){this.a=t,qr(this,"verificationId",e)}function Kl(e,t,n,r){return new zi(e).gb(t,n).then((function(e){return new Jl(e,r)}))}function ec(e){var t=Vo(e);if(!(t&&t.exp&&t.auth_time&&t.iat))throw new x("internal-error","An internal error occurred. The token obtained by Firebase appears to be malformed. Please retry the operation.");Xr(this,{token:e,expirationTime:Gr(1e3*t.exp),authTime:Gr(1e3*t.auth_time),issuedAtTime:Gr(1e3*t.iat),signInProvider:t.firebase&&t.firebase.sign_in_provider?t.firebase.sign_in_provider:null,signInSecondFactor:t.firebase&&t.firebase.sign_in_second_factor?t.firebase.sign_in_second_factor:null,claims:t})}function tc(e,t,n){var r=t&&t[rc];if(!r)throw new x("argument-error","Internal assert: Invalid MultiFactorResolver");this.a=e,this.f=ye(t),this.g=n,this.c=new ai(null,r),this.b=[];var o=this;V(t[nc]||[],(function(e){(e=eo(e))&&o.b.push(e)})),qr(this,"auth",this.a),qr(this,"session",this.c),qr(this,"hints",this.b)}Vl.prototype.reset=function(){this.b=null,this.a&&(this.a.cancel(),this.a=null)},Vl.prototype.h=function(e,t){if(e){this.reset(),this.g=!0;var n=e.c,r=e.b,o=e.a&&"auth/web-storage-unsupported"==e.a.code,i=e.a&&"auth/operation-not-supported-in-this-environment"==e.a.code;this.i=!(!o&&!i),"unknown"!=n||o||i?e.a?(ql(this,!0,null,e.a),Ot()):t.Fa(n,r)?function(e,t,n){n=n.Fa(t.c,t.b);var r=t.g,o=t.f,i=t.i,a=t.T(),s=!!t.c.match(/Redirect$/);n(r,o,a,i).then((function(t){ql(e,s,t,null)})).o((function(t){ql(e,s,null,t)}))}(this,e,t):Tt(new x("invalid-auth-event")):(ql(this,!1,null,null),Ot())}else Tt(new x("invalid-auth-event"))},Vl.prototype.ra=function(){var e=this;return new Nt((function(t,n){e.b?e.b().then(t,n):(e.f.push(t),e.c.push(n),function(e){var t=new x("timeout");e.a&&e.a.cancel(),e.a=xn(Pl.get()).then((function(){e.b||(e.g=!0,ql(e,!0,null,t))}))}(e))}))},Xl.prototype.h=function(e,t){if(e){var n=e.c,r=e.b;e.a?(t.na(e.c,null,e.a,e.b),Ot()):t.Fa(n,r)?function(e,t){var n=e.b,r=e.c;t.Fa(r,n)(e.g,e.f,e.T(),e.i).then((function(e){t.na(r,e,null,n)})).o((function(e){t.na(r,null,e,n)}))}(e,t):Tt(new x("invalid-auth-event"))}else Tt(new x("invalid-auth-event"))},Jl.prototype.confirm=function(e){return e=Pi(this.verificationId,e),this.a(e)};var nc="mfaInfo",rc="mfaPendingCredential";function oc(e,t,n,r){x.call(this,"multi-factor-auth-required",r,t),this.b=new tc(e,t,n),qr(this,"resolver",this.b)}function ic(e,t,n){if(e&&y(e.serverResponse)&&"auth/multi-factor-auth-required"===e.code)try{return new oc(t,e.serverResponse,n,e.message)}catch(r){}return null}function ac(){}function sc(e){qr(this,"factorId",e.fa),this.a=e}function uc(e){if(sc.call(this,e),this.a.fa!=zi.PROVIDER_ID)throw new x("argument-error","firebase.auth.PhoneMultiFactorAssertion requires a valid firebase.auth.PhoneAuthCredential")}function lc(e,t){for(var n in $t.call(this,e),t)this[n]=t[n]}function cc(e,t){this.a=e,this.b=[],this.c=N(this.yc,this),cn(this.a,"userReloaded",this.c);var n=[];t&&t.multiFactor&&t.multiFactor.enrolledFactors&&V(t.multiFactor.enrolledFactors,(function(e){var t=null,r={};if(e){e.uid&&(r[ro]=e.uid),e.displayName&&(r[to]=e.displayName),e.enrollmentTime&&(r[no]=new Date(e.enrollmentTime).toISOString()),e.phoneNumber&&(r[oo]=e.phoneNumber);try{t=new io(r)}catch(o){}e=t}else e=null;e&&n.push(e)})),fc(this,n)}function fc(e,t){e.b=t,qr(e,"enrolledFactors",t)}function dc(e,t,n){if(this.h=e,this.i=t,this.g=n,this.c=3e4,this.f=96e4,this.b=null,this.a=this.c,this.f<this.c)throw Error("Proactive refresh lower bound greater than upper bound!")}function pc(e){this.f=e,this.b=this.a=null,this.c=Date.now()}function hc(e,t){"undefined"===typeof t&&(e.b?t=(t=e.b).a-t.g:t=0),e.c=Date.now()+1e3*t}function gc(e,t){e.b=Ho(t[Ja]||""),e.a=t.refreshToken,hc(e,"undefined"!==typeof(t=t.expiresIn)?Number(t):void 0)}function yc(e,t){return function(e,t){return new Nt((function(n,r){"refresh_token"==t.grant_type&&t.refresh_token||"authorization_code"==t.grant_type&&t.code?ss(e,e.l+"?key="+encodeURIComponent(e.c),(function(e){e?e.error?r(iu(e)):e.access_token&&e.refresh_token?n(e):r(new x("internal-error")):r(new x("network-request-failed"))}),"POST",Jn(t).toString(),e.g,e.m.get()):r(new x("internal-error"))}))}(e.f,t).then((function(t){return e.b=Ho(t.access_token),e.a=t.refresh_token,hc(e,t.expires_in),{accessToken:e.b.toString(),refreshToken:e.a}})).o((function(t){throw"auth/user-token-expired"==t.code&&(e.a=null),t}))}function mc(e,t){this.a=e||null,this.b=t||null,Xr(this,{lastSignInTime:Gr(t||null),creationTime:Gr(e||null)})}function vc(e,t,n,r,o,i){Xr(this,{uid:e,displayName:r||null,photoURL:o||null,email:n||null,phoneNumber:i||null,providerId:t})}function bc(e,n,r){this.N=[],this.l=e.apiKey,this.m=e.appName,this.s=e.authDomain||null;var o=t.a.SDK_VERSION?xr(t.a.SDK_VERSION):null;this.a=new Xa(this.l,L(O),o),(this.u=e.emulatorConfig||null)&&os(this.a,this.u),this.h=new pc(this.a),Ec(this,n[Ja]),gc(this.h,n),qr(this,"refreshToken",this.h.a),Cc(this,r||{}),Nn.call(this),this.P=!1,this.s&&Cr()&&(this.b=Hl(this.s,this.l,this.m,this.u)),this.W=[],this.i=null,this.D=function(e){return new dc((function(){return e.I(!0)}),(function(e){return!(!e||"auth/network-request-failed"!=e.code)}),(function(){var t=e.h.c-Date.now()-3e5;return 0<t?t:0}))}(this),this.ba=N(this.ib,this);var i=this;this.za=null,this.Pa=function(e){i.xa(e.h)},this.qa=null,this.Ba=function(e){Mc(i,e.c)},this.$=null,this.aa=[],this.Oa=function(e){jc(i,e.f)},this.ja=null,this.S=new cc(this,r),qr(this,"multiFactor",this.S)}function Mc(e,t){e.u=t,os(e.a,t),e.b&&(t=e.b,e.b=Hl(e.s,e.l,e.m,e.u),e.P&&(Al(t,e),_l(e.b,e)))}function wc(e,t){e.qa&&pn(e.qa,"languageCodeChanged",e.Pa),(e.qa=t)&&cn(t,"languageCodeChanged",e.Pa)}function Nc(e,t){e.$&&pn(e.$,"emulatorConfigChanged",e.Ba),(e.$=t)&&cn(t,"emulatorConfigChanged",e.Ba)}function jc(e,n){e.aa=n,as(e.a,t.a.SDK_VERSION?xr(t.a.SDK_VERSION,e.aa):null)}function Sc(e,t){e.ja&&pn(e.ja,"frameworkChanged",e.Oa),(e.ja=t)&&cn(t,"frameworkChanged",e.Oa)}function Ic(e){try{return t.a.app(e.m).auth()}catch(n){throw new x("internal-error","No firebase.auth.Auth instance is available for the Firebase App '"+e.m+"'!")}}function Dc(e){e.J||e.D.b||(e.D.start(),pn(e,"tokenChanged",e.ba),cn(e,"tokenChanged",e.ba))}function xc(e){pn(e,"tokenChanged",e.ba),e.D.stop()}function Ec(e,t){e.Aa=t,qr(e,"_lat",t)}function Oc(e){for(var t=[],n=0;n<e.W.length;n++)t.push(e.W[n](e));return kt(t).then((function(){return e}))}function Tc(e){e.b&&!e.P&&(e.P=!0,_l(e.b,e))}function Cc(e,t){Xr(e,{uid:t.uid,displayName:t.displayName||null,photoURL:t.photoURL||null,email:t.email||null,emailVerified:t.emailVerified||!1,phoneNumber:t.phoneNumber||null,isAnonymous:t.isAnonymous||!1,tenantId:t.tenantId||null,metadata:new mc(t.createdAt,t.lastLoginAt),providerData:[]}),e.a.b=e.tenantId}function kc(){}function Lc(e){return Ot().then((function(){if(e.J)throw new x("app-deleted")}))}function _c(e){return W(e.providerData,(function(e){return e.providerId}))}function Ac(e,t){t&&(zc(e,t.providerId),e.providerData.push(t))}function zc(e,t){$(e.providerData,(function(e){return e.providerId==t}))}function Pc(e,t,n){("uid"!=t||n)&&e.hasOwnProperty(t)&&qr(e,t,n)}function Rc(e,t){e!=t&&(Xr(e,{uid:t.uid,displayName:t.displayName,photoURL:t.photoURL,email:t.email,emailVerified:t.emailVerified,phoneNumber:t.phoneNumber,isAnonymous:t.isAnonymous,tenantId:t.tenantId,providerData:[]}),t.metadata?qr(e,"metadata",function(e){return new mc(e.a,e.b)}(t.metadata)):qr(e,"metadata",new mc),V(t.providerData,(function(t){Ac(e,t)})),function(e,t){e.b=t.b,e.a=t.a,e.c=t.c}(e.h,t.h),qr(e,"refreshToken",e.h.a),fc(e.S,t.S.b))}function Uc(e){return e.I().then((function(t){var n=e.isAnonymous;return function(e,t){return ru(e.a,_s,{idToken:t}).then(N(e.Kc,e))}(e,t).then((function(){return n||Pc(e,"isAnonymous",!1),t}))}))}function Bc(e,t){t[Ja]&&e.Aa!=t[Ja]&&(gc(e.h,t),e.dispatchEvent(new lc("tokenChanged")),Ec(e,t[Ja]),Pc(e,"refreshToken",e.h.a))}function Fc(e,t){return Uc(e).then((function(){if(q(_c(e),t))return Oc(e).then((function(){throw new x("provider-already-linked")}))}))}function Yc(e,t,n){return $r({user:e,credential:Ri(t),additionalUserInfo:t=Xo(t),operationType:n})}function Gc(e,t){return Bc(e,t),e.reload().then((function(){return e}))}function Hc(e,n,r,o,i){if(!Cr())return Tt(new x("operation-not-supported-in-this-environment"));if(e.i&&!i)return Tt(e.i);var a=qo(r.providerId),s=Rr(e.uid+":::"),u=null;(!_r()||br())&&e.s&&r.isOAuthProvider&&(u=vu(e.s,e.l,e.m,n,r,null,s,t.a.SDK_VERSION||null,null,null,e.tenantId,e.u));var l=hr(u,a&&a.va,a&&a.ua);return o=o().then((function(){if(Qc(e),!i)return e.I().then((function(){}))})).then((function(){return Rl(e.b,l,n,r,s,!!u,e.tenantId)})).then((function(){return new Nt((function(t,r){e.na(n,null,new x("cancelled-popup-request"),e.g||null),e.f=t,e.C=r,e.g=s,e.c=Fl(e.b,e,n,l,s)}))})).then((function(e){return l&&pr(l),e?$r(e):null})).o((function(e){throw l&&pr(l),e})),Wc(e,o,i)}function Vc(e,t,n,r,o){if(!Cr())return Tt(new x("operation-not-supported-in-this-environment"));if(e.i&&!o)return Tt(e.i);var i=null,a=Rr(e.uid+":::");return r=r().then((function(){if(Qc(e),!o)return e.I().then((function(){}))})).then((function(){return e.ga=a,Oc(e)})).then((function(t){return e.ha&&(t=(t=e.ha).b.set(Xc,e.w(),t.a)),t})).then((function(){return Bl(e.b,t,n,a,e.tenantId)})).o((function(t){if(i=t,e.ha)return $c(e.ha);throw i})).then((function(){if(i)throw i})),Wc(e,r,o)}function Qc(e){if(!e.b||!e.P){if(e.b&&!e.P)throw new x("internal-error");throw new x("auth-domain-config-required")}}function Wc(e,t,n){var r=function(e,t,n){return e.i&&!n?(t.cancel(),Tt(e.i)):t.o((function(t){throw!t||"auth/user-disabled"!=t.code&&"auth/user-token-expired"!=t.code||(e.i||e.dispatchEvent(new lc("userInvalidated")),e.i=t),t}))}(e,t,n);return e.N.push(r),r.oa((function(){X(e.N,r)})),r.o((function(t){var n=null;throw t&&"auth/multi-factor-auth-required"===t.code&&(n=ic(t.w(),Ic(e),N(e.jc,e))),n||t}))}function Zc(e){if(!e.apiKey)return null;var t={apiKey:e.apiKey,authDomain:e.authDomain,appName:e.appName,emulatorConfig:e.emulatorConfig},n={};if(!e.stsTokenManager||!e.stsTokenManager.accessToken)return null;n[Ja]=e.stsTokenManager.accessToken,n.refreshToken=e.stsTokenManager.refreshToken||null;var r=e.stsTokenManager.expirationTime;r&&(n.expiresIn=(r-Date.now())/1e3);var o=new bc(t,n,e);return e.providerData&&V(e.providerData,(function(e){e&&Ac(o,$r(e))})),e.redirectEventId&&(o.ga=e.redirectEventId),o}function qc(e){this.a=e,this.b=tl()}tc.prototype.Rc=function(e){var t=this;return e.tb(this.a.a,this.c).then((function(e){var n=ye(t.f);return delete n[nc],delete n[rc],ve(n,e),t.g(n)}))},I(oc,x),ac.prototype.tb=function(e,t,n){return t.type==si?function(e,t,n,r){return n.Ha().then((function(n){return n={idToken:n},"undefined"!==typeof r&&(n.displayName=r),ve(n,{phoneVerificationInfo:Ai(e.a)}),ru(t,ks,n)}))}(this,e,t,n):function(e,t,n){return n.Ha().then((function(n){return ve(n={mfaPendingCredential:n},{phoneVerificationInfo:Ai(e.a)}),ru(t,Ls,n)}))}(this,e,t)},I(sc,ac),I(uc,sc),I(lc,$t),(n=cc.prototype).yc=function(e){fc(this,function(e){var t=[];return V(e.mfaInfo||[],(function(e){(e=eo(e))&&t.push(e)})),t}(e.hd))},n.Sb=function(){return this.a.I().then((function(e){return new ai(e,null)}))},n.fc=function(e,t){var n=this,r=this.a.a;return this.Sb().then((function(n){return e.tb(r,n,t)})).then((function(e){return Bc(n.a,e),n.a.reload()}))},n.bd=function(e){var t=this,n="string"===typeof e?e:e.uid,r=this.a.a;return this.a.I().then((function(e){return ru(r,nu,{idToken:e,mfaEnrollmentId:n})})).then((function(e){var r=Q(t.b,(function(e){return e.uid!=n}));return fc(t,r),Bc(t.a,e),t.a.reload().o((function(e){if("auth/user-token-expired"!=e.code)throw e}))}))},n.w=function(){return{multiFactor:{enrolledFactors:W(this.b,(function(e){return e.w()}))}}},dc.prototype.start=function(){this.a=this.c,function e(t,n){t.stop(),t.b=xn(function(e,t){return t?(e.a=e.c,e.g()):(t=e.a,e.a*=2,e.a>e.f&&(e.a=e.f),t)}(t,n)).then((function(){return function(){var e=u.document,t=null;return Yr()||!e?Ot():new Nt((function(n){t=function(){Yr()&&(e.removeEventListener("visibilitychange",t,!1),n())},e.addEventListener("visibilitychange",t,!1)})).o((function(n){throw e.removeEventListener("visibilitychange",t,!1),n}))}()})).then((function(){return t.h()})).then((function(){e(t,!0)})).o((function(n){t.i(n)&&e(t,!1)}))}(this,!0)},dc.prototype.stop=function(){this.b&&(this.b.cancel(),this.b=null)},pc.prototype.w=function(){return{apiKey:this.f.c,refreshToken:this.a,accessToken:this.b&&this.b.toString(),expirationTime:this.c}},pc.prototype.getToken=function(e){return e=!!e,this.b&&!this.a?Tt(new x("user-token-expired")):e||!this.b||Date.now()>this.c-3e4?this.a?yc(this,{grant_type:"refresh_token",refresh_token:this.a}):Ot(null):Ot({accessToken:this.b.toString(),refreshToken:this.a})},mc.prototype.w=function(){return{lastLoginAt:this.b,createdAt:this.a}},I(bc,Nn),bc.prototype.xa=function(e){this.za=e,rs(this.a,e)},bc.prototype.la=function(){return this.za},bc.prototype.Ga=function(){return K(this.aa)},bc.prototype.ib=function(){this.D.b&&(this.D.stop(),this.D.start())},qr(bc.prototype,"providerId","firebase"),(n=bc.prototype).reload=function(){var e=this;return Wc(this,Lc(this).then((function(){return Uc(e).then((function(){return Oc(e)})).then(kc)})))},n.oc=function(e){return this.I(e).then((function(e){return new ec(e)}))},n.I=function(e){var t=this;return Wc(this,Lc(this).then((function(){return t.h.getToken(e)})).then((function(e){if(!e)throw new x("internal-error");return e.accessToken!=t.Aa&&(Ec(t,e.accessToken),t.dispatchEvent(new lc("tokenChanged"))),Pc(t,"refreshToken",e.refreshToken),e.accessToken})))},n.Kc=function(e){if(!(e=e.users)||!e.length)throw new x("internal-error");Cc(this,{uid:(e=e[0]).localId,displayName:e.displayName,photoURL:e.photoUrl,email:e.email,emailVerified:!!e.emailVerified,phoneNumber:e.phoneNumber,lastLoginAt:e.lastLoginAt,createdAt:e.createdAt,tenantId:e.tenantId});for(var t=function(e){return(e=e.providerUserInfo)&&e.length?W(e,(function(e){return new vc(e.rawId,e.providerId,e.email,e.displayName,e.photoUrl,e.phoneNumber)})):[]}(e),n=0;n<t.length;n++)Ac(this,t[n]);Pc(this,"isAnonymous",!(this.email&&e.passwordHash)&&!(this.providerData&&this.providerData.length)),this.dispatchEvent(new lc("userReloaded",{hd:e}))},n.Lc=function(e){return Wr("firebase.User.prototype.reauthenticateAndRetrieveDataWithCredential is deprecated. Please use firebase.User.prototype.reauthenticateWithCredential instead."),this.ub(e)},n.ub=function(e){var t=this,n=null;return Wc(this,e.c(this.a,this.uid).then((function(e){return Bc(t,e),n=Yc(t,e,"reauthenticate"),t.i=null,t.reload()})).then((function(){return n})),!0)},n.Cc=function(e){return Wr("firebase.User.prototype.linkAndRetrieveDataWithCredential is deprecated. Please use firebase.User.prototype.linkWithCredential instead."),this.rb(e)},n.rb=function(e){var t=this,n=null;return Wc(this,Fc(this,e.providerId).then((function(){return t.I()})).then((function(n){return e.b(t.a,n)})).then((function(e){return n=Yc(t,e,"link"),Gc(t,e)})).then((function(){return n})))},n.Dc=function(e,t){var n=this;return Wc(this,Fc(this,"phone").then((function(){return Kl(Ic(n),e,t,N(n.rb,n))})))},n.Mc=function(e,t){var n=this;return Wc(this,Ot().then((function(){return Kl(Ic(n),e,t,N(n.ub,n))})),!0)},n.Cb=function(e){var t=this;return Wc(this,this.I().then((function(n){return t.a.Cb(n,e)})).then((function(e){return Bc(t,e),t.reload()})))},n.ed=function(e){var t=this;return Wc(this,this.I().then((function(n){return e.b(t.a,n)})).then((function(e){return Bc(t,e),t.reload()})))},n.Db=function(e){var t=this;return Wc(this,this.I().then((function(n){return t.a.Db(n,e)})).then((function(e){return Bc(t,e),t.reload()})))},n.Eb=function(e){if(void 0===e.displayName&&void 0===e.photoURL)return Lc(this);var t=this;return Wc(this,this.I().then((function(n){return t.a.Eb(n,{displayName:e.displayName,photoUrl:e.photoURL})})).then((function(e){return Bc(t,e),Pc(t,"displayName",e.displayName||null),Pc(t,"photoURL",e.photoUrl||null),V(t.providerData,(function(e){"password"===e.providerId&&(qr(e,"displayName",t.displayName),qr(e,"photoURL",t.photoURL))})),Oc(t)})).then(kc))},n.cd=function(e){var t=this;return Wc(this,Uc(this).then((function(n){return q(_c(t),e)?function(e,t,n){return ru(e,Os,{idToken:t,deleteProvider:n})}(t.a,n,[e]).then((function(e){var n={};return V(e.providerUserInfo||[],(function(e){n[e.providerId]=!0})),V(_c(t),(function(e){n[e]||zc(t,e)})),n[zi.PROVIDER_ID]||qr(t,"phoneNumber",null),Oc(t)})):Oc(t).then((function(){throw new x("no-such-provider")}))})))},n.delete=function(){var e=this;return Wc(this,this.I().then((function(t){return ru(e.a,Es,{idToken:t})})).then((function(){e.dispatchEvent(new lc("userDeleted"))}))).then((function(){for(var t=0;t<e.N.length;t++)e.N[t].cancel("app-deleted");wc(e,null),Nc(e,null),Sc(e,null),e.N=[],e.J=!0,xc(e),qr(e,"refreshToken",null),e.b&&Al(e.b,e)}))},n.Gb=function(e,t){return!!("linkViaPopup"==e&&(this.g||null)==t&&this.f||"reauthViaPopup"==e&&(this.g||null)==t&&this.f||"linkViaRedirect"==e&&(this.ga||null)==t||"reauthViaRedirect"==e&&(this.ga||null)==t)},n.na=function(e,t,n,r){"linkViaPopup"!=e&&"reauthViaPopup"!=e||r!=(this.g||null)||(n&&this.C?this.C(n):t&&!n&&this.f&&this.f(t),this.c&&(this.c.cancel(),this.c=null),delete this.f,delete this.C)},n.Fa=function(e,t){return"linkViaPopup"==e&&t==(this.g||null)?N(this.Lb,this):"reauthViaPopup"==e&&t==(this.g||null)?N(this.Mb,this):"linkViaRedirect"==e&&(this.ga||null)==t?N(this.Lb,this):"reauthViaRedirect"==e&&(this.ga||null)==t?N(this.Mb,this):null},n.Ec=function(e){var t=this;return Hc(this,"linkViaPopup",e,(function(){return Fc(t,e.providerId).then((function(){return Oc(t)}))}),!1)},n.Nc=function(e){return Hc(this,"reauthViaPopup",e,(function(){return Ot()}),!0)},n.Fc=function(e){var t=this;return Vc(this,"linkViaRedirect",e,(function(){return Fc(t,e.providerId)}),!1)},n.Oc=function(e){return Vc(this,"reauthViaRedirect",e,(function(){return Ot()}),!0)},n.Lb=function(e,t,n,r){var o=this;this.c&&(this.c.cancel(),this.c=null);var i=null;return Wc(this,this.I().then((function(n){return ws(o.a,{requestUri:e,postBody:r,sessionId:t,idToken:n})})).then((function(e){return i=Yc(o,e,"link"),Gc(o,e)})).then((function(){return i})))},n.Mb=function(e,t,n,r){var o=this;this.c&&(this.c.cancel(),this.c=null);var i=null;return Wc(this,Ot().then((function(){return ci(Ns(o.a,{requestUri:e,sessionId:t,postBody:r,tenantId:n}),o.uid)})).then((function(e){return i=Yc(o,e,"reauthenticate"),Bc(o,e),o.i=null,o.reload()})).then((function(){return i})),!0)},n.vb=function(e){var t=this,n=null;return Wc(this,this.I().then((function(t){return n=t,"undefined"===typeof e||ge(e)?{}:Bo(new To(e))})).then((function(e){return t.a.vb(n,e)})).then((function(e){if(t.email!=e)return t.reload()})).then((function(){})))},n.Fb=function(e,t){var n=this,r=null;return Wc(this,this.I().then((function(e){return r=e,"undefined"===typeof t||ge(t)?{}:Bo(new To(t))})).then((function(t){return n.a.Fb(r,e,t)})).then((function(e){if(n.email!=e)return n.reload()})).then((function(){})))},n.jc=function(e){var t=null,n=this;return Wc(this,e=ci(Ot(e),n.uid).then((function(e){return t=Yc(n,e,"reauthenticate"),Bc(n,e),n.i=null,n.reload()})).then((function(){return t})),!0)},n.toJSON=function(){return this.w()},n.w=function(){var e={uid:this.uid,displayName:this.displayName,photoURL:this.photoURL,email:this.email,emailVerified:this.emailVerified,phoneNumber:this.phoneNumber,isAnonymous:this.isAnonymous,tenantId:this.tenantId,providerData:[],apiKey:this.l,appName:this.m,authDomain:this.s,stsTokenManager:this.h.w(),redirectEventId:this.ga||null};return this.metadata&&ve(e,this.metadata.w()),V(this.providerData,(function(t){e.providerData.push(function(e){var t,n={};for(t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);return n}(t))})),ve(e,this.S.w()),e};var Xc={name:"redirectUser",F:"session"};function $c(e){return ol(e.b,Xc,e.a)}function Jc(e){this.a=e,this.b=tl(),this.c=null,this.f=function(e){var t=tf("local"),n=tf("session"),r=tf("none");return function(e,t,n){var r=rl(t,n),o=nl(e,t.F);return e.get(t,n).then((function(i){var a=null;try{a=Pr(u.localStorage.getItem(r))}catch(s){}if(a&&!i)return u.localStorage.removeItem(r),e.set(t,a,n);a&&i&&"localStorage"!=o.type&&u.localStorage.removeItem(r)}))}(e.b,t,e.a).then((function(){return e.b.get(n,e.a)})).then((function(o){return o?n:e.b.get(r,e.a).then((function(n){return n?r:e.b.get(t,e.a).then((function(n){return n?t:e.b.get(ef,e.a).then((function(e){return e?tf(e):t}))}))}))})).then((function(t){return e.c=t,Kc(e,t.F)})).o((function(){e.c||(e.c=t)}))}(this),this.b.addListener(tf("local"),this.a,N(this.g,this))}function Kc(e,t){var n,r=[];for(n in Ku)Ku[n]!==t&&r.push(ol(e.b,tf(Ku[n]),e.a));return r.push(ol(e.b,ef,e.a)),function(e){return new Nt((function(t,n){var r=e.length,o=[];if(r)for(var i=function(e,n){r--,o[e]=n,0==r&&t(o)},a=function(e){n(e)},s=0;s<e.length;s++)Ct(e[s],j(i,s),a);else t(o)}))}(r)}Jc.prototype.g=function(){var e=this,t=tf("local");af(this,(function(){return Ot().then((function(){return e.c&&"local"!=e.c.F?e.b.get(t,e.a):null})).then((function(n){if(n)return Kc(e,"local").then((function(){e.c=t}))}))}))};var ef={name:"persistence",F:"session"};function tf(e){return{name:"authUser",F:e}}function nf(e,t){return af(e,(function(){return e.b.set(e.c,t.w(),e.a)}))}function rf(e){return af(e,(function(){return ol(e.b,e.c,e.a)}))}function of(e,t,n){return af(e,(function(){return e.b.get(e.c,e.a).then((function(e){return e&&t&&(e.authDomain=t),e&&n&&(e.emulatorConfig=n),Zc(e||{})}))}))}function af(e,t){return e.f=e.f.then(t,t),e.f}function sf(e){if(this.l=!1,qr(this,"settings",new $l),qr(this,"app",e),!yf(this).options||!yf(this).options.apiKey)throw new x("invalid-api-key");e=t.a.SDK_VERSION?xr(t.a.SDK_VERSION):null,this.a=new Xa(yf(this).options&&yf(this).options.apiKey,L(O),e),this.P=[],this.s=[],this.N=[],this.Pa=t.a.INTERNAL.createSubscribe(N(this.zc,this)),this.W=void 0,this.ib=t.a.INTERNAL.createSubscribe(N(this.Ac,this)),hf(this,null),this.i=new Jc(yf(this).options.apiKey+":"+yf(this).name),this.D=new qc(yf(this).options.apiKey+":"+yf(this).name),this.$=Mf(this,function(e){var t=yf(e).options.authDomain,n=function(e){var t=function(e,t){return e.b.get(Xc,e.a).then((function(e){return e&&t&&(e.authDomain=t),Zc(e||{})}))}(e.D,yf(e).options.authDomain).then((function(t){return(e.m=t)&&(t.ha=e.D),$c(e.D)}));return Mf(e,t)}(e).then((function(){return of(e.i,t,e.R)})).then((function(t){return t?(t.ha=e.D,e.m&&(e.m.ga||null)==(t.ga||null)?t:t.reload().then((function(){return nf(e.i,t).then((function(){return t}))})).o((function(n){return"auth/network-request-failed"==n.code?t:rf(e.i)}))):null})).then((function(t){hf(e,t||null)}));return Mf(e,n)}(this)),this.h=Mf(this,function(e){return e.$.then((function(){return df(e)})).o((function(){})).then((function(){if(!e.l)return e.ja()})).o((function(){})).then((function(){if(!e.l){e.ba=!0;var t=e.i;t.b.addListener(tf("local"),t.a,e.ja)}}))}(this)),this.ba=!1,this.ja=N(this.Zc,this),this.Ba=N(this.da,this),this.qa=N(this.mc,this),this.za=N(this.wc,this),this.Aa=N(this.xc,this),this.b=null,function(e){var t=yf(e).options.authDomain,n=yf(e).options.apiKey;t&&Cr()&&(e.Oa=e.$.then((function(){if(!e.l){if(e.b=Hl(t,n,yf(e).name,e.R),_l(e.b,e),mf(e)&&Tc(mf(e)),e.m){Tc(e.m);var r=e.m;r.xa(e.la()),wc(r,e),jc(r=e.m,e.J),Sc(r,e),Mc(r=e.m,e.R),Nc(r,e),e.m=null}return e.b}})))}(this),this.INTERNAL={},this.INTERNAL.delete=N(this.delete,this),this.INTERNAL.logFramework=N(this.Gc,this),this.u=0,Nn.call(this),function(e){Object.defineProperty(e,"lc",{get:function(){return this.la()},set:function(e){this.xa(e)},enumerable:!1}),e.aa=null,Object.defineProperty(e,"ti",{get:function(){return this.T()},set:function(e){this.zb(e)},enumerable:!1}),e.S=null,Object.defineProperty(e,"emulatorConfig",{get:function(){if(this.R){var e=Bn(this.R.url);e=$r({protocol:e.c,host:e.a,port:e.g,options:$r({disableWarnings:this.R.ec})})}else e=null;return e},enumerable:!1})}(this),this.J=[],this.R=null}function uf(e){$t.call(this,"languageCodeChanged"),this.h=e}function lf(e){$t.call(this,"emulatorConfigChanged"),this.c=e}function cf(e){$t.call(this,"frameworkChanged"),this.f=e}function ff(e){return e.Oa||Tt(new x("auth-domain-config-required"))}function df(e){if(!Cr())return Tt(new x("operation-not-supported-in-this-environment"));var t=ff(e).then((function(){return e.b.ra()})).then((function(e){return e?$r(e):null}));return Mf(e,t)}function pf(e,t){var n={};return n.apiKey=yf(e).options.apiKey,n.authDomain=yf(e).options.authDomain,n.appName=yf(e).name,e.R&&(n.emulatorConfig=e.R),e.$.then((function(){return function(e,t,n,r){var o=new bc(e,t);return n&&(o.ha=n),r&&jc(o,r),o.reload().then((function(){return o}))}(n,t,e.D,e.Ga())})).then((function(t){return mf(e)&&t.uid==mf(e).uid?(Rc(mf(e),t),e.da(t)):(hf(e,t),Tc(t),e.da(t))})).then((function(){bf(e)}))}function hf(e,t){mf(e)&&(function(e,t){$(e.W,(function(e){return e==t}))}(mf(e),e.Ba),pn(mf(e),"tokenChanged",e.qa),pn(mf(e),"userDeleted",e.za),pn(mf(e),"userInvalidated",e.Aa),xc(mf(e))),t&&(t.W.push(e.Ba),cn(t,"tokenChanged",e.qa),cn(t,"userDeleted",e.za),cn(t,"userInvalidated",e.Aa),0<e.u&&Dc(t)),qr(e,"currentUser",t),t&&(t.xa(e.la()),wc(t,e),jc(t,e.J),Sc(t,e),Mc(t,e.R),Nc(t,e))}function gf(e,t){var n=null,r=null;return Mf(e,t.then((function(t){return n=Ri(t),r=Xo(t),pf(e,t)}),(function(t){var n=null;throw t&&"auth/multi-factor-auth-required"===t.code&&(n=ic(t.w(),e,N(e.kc,e))),n||t})).then((function(){return $r({user:mf(e),credential:n,additionalUserInfo:r,operationType:"signIn"})})))}function yf(e){return e.app}function mf(e){return e.currentUser}function vf(e){return mf(e)&&mf(e)._lat||null}function bf(e){if(e.ba){for(var t=0;t<e.s.length;t++)e.s[t]&&e.s[t](vf(e));if(e.W!==e.getUid()&&e.N.length)for(e.W=e.getUid(),t=0;t<e.N.length;t++)e.N[t]&&e.N[t](vf(e))}}function Mf(e,t){return e.P.push(t),t.oa((function(){X(e.P,t)})),t}function wf(){}function Nf(){this.a={},this.b=1e12}Jc.prototype.yb=function(e){var t=null,n=this;return function(e){var t=new x("invalid-persistence-type"),n=new x("unsupported-persistence-type");e:{for(r in Ku)if(Ku[r]==e){var r=!0;break e}r=!1}if(!r||"string"!==typeof e)throw t;switch(wr()){case"ReactNative":if("session"===e)throw n;break;case"Node":if("none"!==e)throw n;break;case"Worker":if("session"===e||!ku()&&"none"!==e)throw n;break;default:if(!Tr()&&"none"!==e)throw n}}(e),af(this,(function(){return e!=n.c.F?n.b.get(n.c,n.a).then((function(r){return t=r,Kc(n,e)})).then((function(){if(n.c=tf(e),t)return n.b.set(n.c,t,n.a)})):Ot()}))},I(sf,Nn),I(uf,$t),I(lf,$t),I(cf,$t),(n=sf.prototype).yb=function(e){return Mf(this,e=this.i.yb(e))},n.xa=function(e){this.aa===e||this.l||(this.aa=e,rs(this.a,this.aa),this.dispatchEvent(new uf(this.la())))},n.la=function(){return this.aa},n.fd=function(){var e=u.navigator;this.xa(e&&(e.languages&&e.languages[0]||e.language||e.userLanguage)||null)},n.gd=function(e,t){if(!this.R){if(!/^https?:\/\//.test(e))throw new x("argument-error","Emulator URL must start with a valid scheme (http:// or https://).");(function(e){"undefined"!==typeof console&&"function"===typeof console.info&&console.info("WARNING: You are using the Auth Emulator, which is intended for local testing only.  Do not use with production credentials."),u.document&&!e&&mr().then((function(){var e=u.document.createElement("div");e.innerText="Running in emulator mode. Do not use with production credentials.",e.style.position="fixed",e.style.width="100%",e.style.backgroundColor="#ffffff",e.style.border=".1em solid #000000",e.style.color="#b50000",e.style.bottom="0px",e.style.left="0px",e.style.margin="0px",e.style.zIndex=1e4,e.style.textAlign="center",e.classList.add("firebase-emulator-warning"),u.document.body.appendChild(e)}))})(t=!!t&&!!t.disableWarnings),this.R={url:e,ec:t},this.settings.jb=!0,os(this.a,this.R),this.dispatchEvent(new lf(this.R))}},n.Gc=function(e){this.J.push(e),as(this.a,t.a.SDK_VERSION?xr(t.a.SDK_VERSION,this.J):null),this.dispatchEvent(new cf(this.J))},n.Ga=function(){return K(this.J)},n.zb=function(e){this.S===e||this.l||(this.S=e,this.a.b=this.S)},n.T=function(){return this.S},n.toJSON=function(){return{apiKey:yf(this).options.apiKey,authDomain:yf(this).options.authDomain,appName:yf(this).name,currentUser:mf(this)&&mf(this).w()}},n.Gb=function(e,t){switch(e){case"unknown":case"signInViaRedirect":return!0;case"signInViaPopup":return this.g==t&&!!this.f;default:return!1}},n.na=function(e,t,n,r){"signInViaPopup"==e&&this.g==r&&(n&&this.C?this.C(n):t&&!n&&this.f&&this.f(t),this.c&&(this.c.cancel(),this.c=null),delete this.f,delete this.C)},n.Fa=function(e,t){return"signInViaRedirect"==e||"signInViaPopup"==e&&this.g==t&&this.f?N(this.ic,this):null},n.ic=function(e,t,n,r){var o=this,i={requestUri:e,postBody:r,sessionId:t,tenantId:n};return this.c&&(this.c.cancel(),this.c=null),o.$.then((function(){return gf(o,Ms(o.a,i))}))},n.Xc=function(e){if(!Cr())return Tt(new x("operation-not-supported-in-this-environment"));var n=this,r=qo(e.providerId),o=Rr(),i=null;(!_r()||br())&&yf(this).options.authDomain&&e.isOAuthProvider&&(i=vu(yf(this).options.authDomain,yf(this).options.apiKey,yf(this).name,"signInViaPopup",e,null,o,t.a.SDK_VERSION||null,null,null,this.T(),this.R));var a=hr(i,r&&r.va,r&&r.ua);return Mf(this,r=ff(this).then((function(t){return Rl(t,a,"signInViaPopup",e,o,!!i,n.T())})).then((function(){return new Nt((function(e,t){n.na("signInViaPopup",null,new x("cancelled-popup-request"),n.g),n.f=e,n.C=t,n.g=o,n.c=Fl(n.b,n,"signInViaPopup",a,o)}))})).then((function(e){return a&&pr(a),e?$r(e):null})).o((function(e){throw a&&pr(a),e})))},n.Yc=function(e){if(!Cr())return Tt(new x("operation-not-supported-in-this-environment"));var t=this;return Mf(this,ff(this).then((function(){return function(e){return af(e,(function(){return e.b.set(ef,e.c.F,e.a)}))}(t.i)})).then((function(){return Bl(t.b,"signInViaRedirect",e,void 0,t.T())})))},n.ra=function(){var e=this;return df(this).then((function(t){return e.b&&Wl(e.b.b),t})).o((function(t){throw e.b&&Wl(e.b.b),t}))},n.dd=function(e){if(!e)return Tt(new x("null-user"));if(this.S!=e.tenantId)return Tt(new x("tenant-id-mismatch"));var t=this,n={};n.apiKey=yf(this).options.apiKey,n.authDomain=yf(this).options.authDomain,n.appName=yf(this).name;var r=function(e,t,n,r){var o=e.h,i={};return i[Ja]=o.b&&o.b.toString(),i.refreshToken=o.a,t=new bc(t||{apiKey:e.l,authDomain:e.s,appName:e.m},i),n&&(t.ha=n),r&&jc(t,r),Rc(t,e),t}(e,n,t.D,t.Ga());return Mf(this,this.h.then((function(){if(yf(t).options.apiKey!=e.l)return r.reload()})).then((function(){return mf(t)&&e.uid==mf(t).uid?(Rc(mf(t),e),t.da(e)):(hf(t,r),Tc(r),t.da(r))})).then((function(){bf(t)})))},n.Bb=function(){var e=this;return Mf(this,this.h.then((function(){return e.b&&Wl(e.b.b),mf(e)?(hf(e,null),rf(e.i).then((function(){bf(e)}))):Ot()})))},n.Zc=function(){var e=this;return of(this.i,yf(this).options.authDomain).then((function(t){if(!e.l){var n;if(n=mf(e)&&t){n=mf(e).uid;var r=t.uid;n=void 0!==n&&null!==n&&""!==n&&void 0!==r&&null!==r&&""!==r&&n==r}if(n)return Rc(mf(e),t),mf(e).I();(mf(e)||t)&&(hf(e,t),t&&(Tc(t),t.ha=e.D),e.b&&_l(e.b,e),bf(e))}}))},n.da=function(e){return nf(this.i,e)},n.mc=function(){bf(this),this.da(mf(this))},n.wc=function(){this.Bb()},n.xc=function(){this.Bb()},n.kc=function(e){var t=this;return this.h.then((function(){return gf(t,Ot(e))}))},n.zc=function(e){var t=this;this.addAuthTokenListener((function(){e.next(mf(t))}))},n.Ac=function(e){var t=this;!function(e,t){e.N.push(t),Mf(e,e.h.then((function(){!e.l&&q(e.N,t)&&e.W!==e.getUid()&&(e.W=e.getUid(),t(vf(e)))})))}(this,(function(){e.next(mf(t))}))},n.Ic=function(e,t,n){var r=this;return this.ba&&Promise.resolve().then((function(){"function"===typeof e?e(mf(r)):"function"===typeof e.next&&e.next(mf(r))})),this.Pa(e,t,n)},n.Hc=function(e,t,n){var r=this;return this.ba&&Promise.resolve().then((function(){r.W=r.getUid(),"function"===typeof e?e(mf(r)):"function"===typeof e.next&&e.next(mf(r))})),this.ib(e,t,n)},n.nc=function(e){var t=this;return Mf(this,this.h.then((function(){return mf(t)?mf(t).I(e).then((function(e){return{accessToken:e}})):null})))},n.Tc=function(e){var t=this;return this.h.then((function(){return gf(t,ru(t.a,$s,{token:e}))})).then((function(e){var n=e.user;return Pc(n,"isAnonymous",!1),t.da(n),e}))},n.Uc=function(e,t){var n=this;return this.h.then((function(){return gf(n,ru(n.a,Js,{email:e,password:t}))}))},n.dc=function(e,t){var n=this;return this.h.then((function(){return gf(n,ru(n.a,Ds,{email:e,password:t}))}))},n.ab=function(e){var t=this;return this.h.then((function(){return gf(t,e.ka(t.a))}))},n.Sc=function(e){return Wr("firebase.auth.Auth.prototype.signInAndRetrieveDataWithCredential is deprecated. Please use firebase.auth.Auth.prototype.signInWithCredential instead."),this.ab(e)},n.Ab=function(){var e=this;return this.h.then((function(){var t=mf(e);if(t&&t.isAnonymous){var n=$r({providerId:null,isNewUser:!1});return $r({user:t,credential:null,additionalUserInfo:n,operationType:"signIn"})}return gf(e,e.a.Ab()).then((function(t){var n=t.user;return Pc(n,"isAnonymous",!0),e.da(n),t}))}))},n.getUid=function(){return mf(this)&&mf(this).uid||null},n.cc=function(e){this.addAuthTokenListener(e),this.u++,0<this.u&&mf(this)&&Dc(mf(this))},n.Pc=function(e){var t=this;V(this.s,(function(n){n==e&&t.u--})),0>this.u&&(this.u=0),0==this.u&&mf(this)&&xc(mf(this)),this.removeAuthTokenListener(e)},n.addAuthTokenListener=function(e){var t=this;this.s.push(e),Mf(this,this.h.then((function(){t.l||q(t.s,e)&&e(vf(t))})))},n.removeAuthTokenListener=function(e){$(this.s,(function(t){return t==e}))},n.delete=function(){this.l=!0;for(var e=0;e<this.P.length;e++)this.P[e].cancel("app-deleted");return this.P=[],this.i&&(e=this.i).b.removeListener(tf("local"),e.a,this.ja),this.b&&(Al(this.b,this),Wl(this.b.b)),Promise.resolve()},n.hc=function(e){return Mf(this,function(e,t){return ru(e,xs,{identifier:t,continueUri:kr()?cr():"http://localhost"}).then((function(e){return e.signinMethods||[]}))}(this.a,e))},n.Bc=function(e){return!!ki(e)},n.xb=function(e,t){var n=this;return Mf(this,Ot().then((function(){var e=new To(t);if(!e.c)throw new x("argument-error",Lo+" must be true when sending sign in link to email");return Bo(e)})).then((function(t){return n.a.xb(e,t)})).then((function(){})))},n.jd=function(e){return this.Sa(e).then((function(e){return e.data.email}))},n.ob=function(e,t){return Mf(this,this.a.ob(e,t).then((function(){})))},n.Sa=function(e){return Mf(this,this.a.Sa(e).then((function(e){return new ao(e)})))},n.kb=function(e){return Mf(this,this.a.kb(e).then((function(){})))},n.wb=function(e,t){var n=this;return Mf(this,Ot().then((function(){return"undefined"===typeof t||ge(t)?{}:Bo(new To(t))})).then((function(t){return n.a.wb(e,t)})).then((function(){})))},n.Wc=function(e,t){return Mf(this,Kl(this,e,t,N(this.ab,this)))},n.Vc=function(e,t){var n=this;return Mf(this,Ot().then((function(){var r=t||cr(),o=Ci(e,r);if(!(r=ki(r)))throw new x("argument-error","Invalid email link!");if(r.tenantId!==n.T())throw new x("tenant-id-mismatch");return n.ab(o)})))},wf.prototype.render=function(){},wf.prototype.reset=function(){},wf.prototype.getResponse=function(){},wf.prototype.execute=function(){};var jf=null;function Sf(e,t){return(t=If(t))&&e.a[t]||null}function If(e){return(e="undefined"===typeof e?1e12:e)?e.toString():null}function Df(e,t){this.g=!1,this.c=t,this.a=this.b=null,this.h="invisible"!==this.c.size,this.f=ct(e);var n=this;this.i=function(){n.execute()},this.h?this.execute():cn(this.f,"click",this.i)}function xf(e){if(e.g)throw Error("reCAPTCHA mock was already deleted!")}function Ef(){}function Of(){}Nf.prototype.render=function(e,t){return this.a[this.b.toString()]=new Df(e,t),this.b++},Nf.prototype.reset=function(e){var t=Sf(this,e);e=If(e),t&&e&&(t.delete(),delete this.a[e])},Nf.prototype.getResponse=function(e){return(e=Sf(this,e))?e.getResponse():null},Nf.prototype.execute=function(e){(e=Sf(this,e))&&e.execute()},Df.prototype.getResponse=function(){return xf(this),this.b},Df.prototype.execute=function(){xf(this);var e=this;this.a||(this.a=setTimeout((function(){e.b=function(){for(var e=50,t=[];0<e;)t.push("1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".charAt(Math.floor(62*Math.random()))),e--;return t.join("")}();var t=e.c.callback,n=e.c["expired-callback"];if(t)try{t(e.b)}catch(r){}e.a=setTimeout((function(){if(e.a=null,e.b=null,n)try{n()}catch(r){}e.h&&e.execute()}),6e4)}),500))},Df.prototype.delete=function(){xf(this),this.g=!0,clearTimeout(this.a),this.a=null,pn(this.f,"click",this.i)},qr(Ef,"FACTOR_ID","phone"),Of.prototype.g=function(){return jf||(jf=new Nf),Ot(jf)},Of.prototype.c=function(){};var Tf=null;function Cf(){this.b=u.grecaptcha?1/0:0,this.f=null,this.a="__rcb"+Math.floor(1e6*Math.random()).toString()}var kf=new Me(Se,"https://www.google.com/recaptcha/api.js?onload=%{onload}&render=explicit&hl=%{hl}"),Lf=new Fr(3e4,6e4);Cf.prototype.g=function(e){var t=this;return new Nt((function(n,r){var o=setTimeout((function(){r(new x("network-request-failed"))}),Lf.get());!u.grecaptcha||e!==t.f&&!t.b?(u[t.a]=function(){if(u.grecaptcha){t.f=e;var i=u.grecaptcha.render;u.grecaptcha.render=function(e,n){return e=i(e,n),t.b++,e},clearTimeout(o),n(u.grecaptcha)}else clearTimeout(o),r(new x("internal-error"));delete u[t.a]},Ot(Ga(Ee(kf,{onload:t.a,hl:e||""}))).o((function(){clearTimeout(o),r(new x("internal-error","Unable to load external reCAPTCHA dependencies!"))}))):(clearTimeout(o),n(u.grecaptcha))}))},Cf.prototype.c=function(){this.b--};var _f=null;function Af(e,t,n,r,o,i,a){if(qr(this,"type","recaptcha"),this.c=this.f=null,this.J=!1,this.v=t,this.g=null,a?(Tf||(Tf=new Of),a=Tf):(_f||(_f=new Cf),a=_f),this.m=a,this.a=n||{theme:"light",type:"image"},this.h=[],this.a[Rf])throw new x("argument-error","sitekey should not be provided for reCAPTCHA as one is automatically provisioned for the current project.");if(this.i="invisible"===this.a[Uf],!u.document)throw new x("operation-not-supported-in-this-environment","RecaptchaVerifier is only supported in a browser HTTP/HTTPS environment with DOM support.");if(!ct(t)||!this.i&&ct(t).hasChildNodes())throw new x("argument-error","reCAPTCHA container is either not found or already contains inner elements!");this.s=new Xa(e,i||null,o||null),this.u=r||function(){return null};var s=this;this.l=[];var l=this.a[zf];this.a[zf]=function(e){if(Bf(s,e),"function"===typeof l)l(e);else if("string"===typeof l){var t=Or(l,u);"function"===typeof t&&t(e)}};var c=this.a[Pf];this.a[Pf]=function(){if(Bf(s,null),"function"===typeof c)c();else if("string"===typeof c){var e=Or(c,u);"function"===typeof e&&e()}}}var zf="callback",Pf="expired-callback",Rf="sitekey",Uf="size";function Bf(e,t){for(var n=0;n<e.l.length;n++)try{e.l[n](t)}catch(r){}}function Ff(e,t){return e.h.push(t),t.oa((function(){X(e.h,t)})),t}function Yf(e){if(e.J)throw new x("internal-error","RecaptchaVerifier instance has been destroyed.")}function Gf(e,n,r){var o=!1;try{this.b=r||t.a.app()}catch(s){throw new x("argument-error","No firebase.app.App instance is currently initialized.")}if(!this.b.options||!this.b.options.apiKey)throw new x("invalid-api-key");r=this.b.options.apiKey;var i=this,a=null;try{a=this.b.auth().Ga()}catch(s){}try{o=this.b.auth().settings.appVerificationDisabledForTesting}catch(s){}a=t.a.SDK_VERSION?xr(t.a.SDK_VERSION,a):null,Af.call(this,r,e,n,(function(){try{var e=i.b.auth().la()}catch(t){e=null}return e}),a,L(O),o)}function Hf(e,t,n,r){e:{n=Array.prototype.slice.call(n);for(var o=0,i=!1,a=0;a<t.length;a++)if(t[a].optional)i=!0;else{if(i)throw new x("internal-error","Argument validator encountered a required argument after an optional argument.");o++}if(i=t.length,n.length<o||i<n.length)r="Expected "+(o==i?1==o?"1 argument":o+" arguments":o+"-"+i+" arguments")+" but got "+n.length+".";else{for(o=0;o<n.length;o++)if(i=t[o].optional&&void 0===n[o],!t[o].M(n[o])&&!i){if(t=t[o],0>o||o>=Vf.length)throw new x("internal-error","Argument validator received an unsupported number of arguments.");n=Vf[o],r=(r?"":n+" argument ")+(t.name?'"'+t.name+'" ':"")+"must be "+t.K+".";break e}r=null}}if(r)throw new x("argument-error",e+" failed: "+r)}(n=Af.prototype).Ia=function(){var e=this;return this.f?this.f:this.f=Ff(this,Ot().then((function(){if(kr()&&!Mr())return mr();throw new x("operation-not-supported-in-this-environment","RecaptchaVerifier is only supported in a browser HTTP/HTTPS environment.")})).then((function(){return e.m.g(e.u())})).then((function(t){return e.g=t,ru(e.s,Bs,{})})).then((function(t){e.a[Rf]=t.recaptchaSiteKey})).o((function(t){throw e.f=null,t})))},n.render=function(){Yf(this);var e=this;return Ff(this,this.Ia().then((function(){if(null===e.c){var t=e.v;if(!e.i){var n=ct(t);t=function(e,t,n){var r=arguments,o=document,i=String(r[0]),a=r[1];if(!lt&&a&&(a.name||a.type)){if(i=["<",i],a.name&&i.push(' name="',Ve(a.name),'"'),a.type){i.push(' type="',Ve(a.type),'"');var s={};ve(s,a),delete s.type,a=s}i.push(">"),i=i.join("")}return i=yt(o,i),a&&("string"===typeof a?i.className=a:Array.isArray(a)?i.className=a.join(" "):ft(i,a)),2<r.length&&gt(o,i,r),i}("DIV"),n.appendChild(t)}e.c=e.g.render(t,e.a)}return e.c})))},n.verify=function(){Yf(this);var e=this;return Ff(this,this.render().then((function(t){return new Nt((function(n){var r=e.g.getResponse(t);if(r)n(r);else{e.l.push((function t(r){r&&(function(e,t){$(e.l,(function(e){return e==t}))}(e,t),n(r))})),e.i&&e.g.execute(e.c)}}))})))},n.reset=function(){Yf(this),null!==this.c&&this.g.reset(this.c)},n.clear=function(){Yf(this),this.J=!0,this.m.c();for(var e=0;e<this.h.length;e++)this.h[e].cancel("RecaptchaVerifier instance has been destroyed.");if(!this.i){e=ct(this.v);for(var t;t=e.firstChild;)e.removeChild(t)}},I(Gf,Af);var Vf="First Second Third Fourth Fifth Sixth Seventh Eighth Ninth".split(" ");function Qf(e,t){return{name:e||"",K:"a valid string",optional:!!t,M:function(e){return"string"===typeof e}}}function Wf(e,t){return{name:e||"",K:"a boolean",optional:!!t,M:function(e){return"boolean"===typeof e}}}function Zf(e,t){return{name:e||"",K:"a valid object",optional:!!t,M:y}}function qf(e,t){return{name:e||"",K:"a function",optional:!!t,M:function(e){return"function"===typeof e}}}function Xf(e,t){return{name:e||"",K:"null",optional:!!t,M:function(e){return null===e}}}function $f(e){return{name:e?e+"Credential":"credential",K:e?"a valid "+e+" credential":"a valid credential",optional:!1,M:function(t){if(!t)return!1;var n=!e||t.providerId===e;return!(!t.ka||!n)}}}function Jf(e,t){return y(e)&&"string"===typeof e.type&&e.type===t&&"function"===typeof e.Ha}function Kf(e){return y(e)&&"string"===typeof e.uid}function ed(e,t,n,r){return{name:n||"",K:e.K+" or "+t.K,optional:!!r,M:function(n){return e.M(n)||t.M(n)}}}function td(e,t){for(var n in t){var r=t[n].name;e[r]=od(r,e[n],t[n].j)}}function nd(e,t){for(var n in t){var r=t[n].name;r!==n&&Object.defineProperty(e,r,{get:j((function(e){return this[e]}),n),set:j((function(e,t,n,r){Hf(e,[n],[r],!0),this[t]=r}),r,n,t[n].lb),enumerable:!0})}}function rd(e,t,n,r){e[t]=od(t,n,r)}function od(e,t,n){function r(){var e=Array.prototype.slice.call(arguments);return Hf(i,n,e),t.apply(this,e)}if(!n)return t;var o,i=function(e){return(e=e.split("."))[e.length-1]}(e);for(o in t)r[o]=t[o];for(o in t.prototype)r.prototype[o]=t.prototype[o];return r}td(sf.prototype,{kb:{name:"applyActionCode",j:[Qf("code")]},Sa:{name:"checkActionCode",j:[Qf("code")]},ob:{name:"confirmPasswordReset",j:[Qf("code"),Qf("newPassword")]},dc:{name:"createUserWithEmailAndPassword",j:[Qf("email"),Qf("password")]},hc:{name:"fetchSignInMethodsForEmail",j:[Qf("email")]},ra:{name:"getRedirectResult",j:[]},Bc:{name:"isSignInWithEmailLink",j:[Qf("emailLink")]},Hc:{name:"onAuthStateChanged",j:[ed(Zf(),qf(),"nextOrObserver"),qf("opt_error",!0),qf("opt_completed",!0)]},Ic:{name:"onIdTokenChanged",j:[ed(Zf(),qf(),"nextOrObserver"),qf("opt_error",!0),qf("opt_completed",!0)]},wb:{name:"sendPasswordResetEmail",j:[Qf("email"),ed(Zf("opt_actionCodeSettings",!0),Xf(null,!0),"opt_actionCodeSettings",!0)]},xb:{name:"sendSignInLinkToEmail",j:[Qf("email"),Zf("actionCodeSettings")]},yb:{name:"setPersistence",j:[Qf("persistence")]},Sc:{name:"signInAndRetrieveDataWithCredential",j:[$f()]},Ab:{name:"signInAnonymously",j:[]},ab:{name:"signInWithCredential",j:[$f()]},Tc:{name:"signInWithCustomToken",j:[Qf("token")]},Uc:{name:"signInWithEmailAndPassword",j:[Qf("email"),Qf("password")]},Vc:{name:"signInWithEmailLink",j:[Qf("email"),Qf("emailLink",!0)]},Wc:{name:"signInWithPhoneNumber",j:[Qf("phoneNumber"),{name:"applicationVerifier",K:"an implementation of firebase.auth.ApplicationVerifier",optional:!1,M:function(e){return!(!e||"string"!==typeof e.type||"function"!==typeof e.verify)}}]},Xc:{name:"signInWithPopup",j:[{name:"authProvider",K:"a valid Auth provider",optional:!1,M:function(e){return!!(e&&e.providerId&&e.hasOwnProperty&&e.hasOwnProperty("isOAuthProvider"))}}]},Yc:{name:"signInWithRedirect",j:[{name:"authProvider",K:"a valid Auth provider",optional:!1,M:function(e){return!!(e&&e.providerId&&e.hasOwnProperty&&e.hasOwnProperty("isOAuthProvider"))}}]},dd:{name:"updateCurrentUser",j:[ed({name:"user",K:"an instance of Firebase User",optional:!1,M:function(e){return!!(e&&e instanceof bc)}},Xf(),"user")]},Bb:{name:"signOut",j:[]},toJSON:{name:"toJSON",j:[Qf(null,!0)]},fd:{name:"useDeviceLanguage",j:[]},gd:{name:"useEmulator",j:[Qf("url"),Zf("options",!0)]},jd:{name:"verifyPasswordResetCode",j:[Qf("code")]}}),nd(sf.prototype,{lc:{name:"languageCode",lb:ed(Qf(),Xf(),"languageCode")},ti:{name:"tenantId",lb:ed(Qf(),Xf(),"tenantId")}}),sf.Persistence=Ku,sf.Persistence.LOCAL="local",sf.Persistence.SESSION="session",sf.Persistence.NONE="none",td(bc.prototype,{delete:{name:"delete",j:[]},oc:{name:"getIdTokenResult",j:[Wf("opt_forceRefresh",!0)]},I:{name:"getIdToken",j:[Wf("opt_forceRefresh",!0)]},Cc:{name:"linkAndRetrieveDataWithCredential",j:[$f()]},rb:{name:"linkWithCredential",j:[$f()]},Dc:{name:"linkWithPhoneNumber",j:[Qf("phoneNumber"),{name:"applicationVerifier",K:"an implementation of firebase.auth.ApplicationVerifier",optional:!1,M:function(e){return!(!e||"string"!==typeof e.type||"function"!==typeof e.verify)}}]},Ec:{name:"linkWithPopup",j:[{name:"authProvider",K:"a valid Auth provider",optional:!1,M:function(e){return!!(e&&e.providerId&&e.hasOwnProperty&&e.hasOwnProperty("isOAuthProvider"))}}]},Fc:{name:"linkWithRedirect",j:[{name:"authProvider",K:"a valid Auth provider",optional:!1,M:function(e){return!!(e&&e.providerId&&e.hasOwnProperty&&e.hasOwnProperty("isOAuthProvider"))}}]},Lc:{name:"reauthenticateAndRetrieveDataWithCredential",j:[$f()]},ub:{name:"reauthenticateWithCredential",j:[$f()]},Mc:{name:"reauthenticateWithPhoneNumber",j:[Qf("phoneNumber"),{name:"applicationVerifier",K:"an implementation of firebase.auth.ApplicationVerifier",optional:!1,M:function(e){return!(!e||"string"!==typeof e.type||"function"!==typeof e.verify)}}]},Nc:{name:"reauthenticateWithPopup",j:[{name:"authProvider",K:"a valid Auth provider",optional:!1,M:function(e){return!!(e&&e.providerId&&e.hasOwnProperty&&e.hasOwnProperty("isOAuthProvider"))}}]},Oc:{name:"reauthenticateWithRedirect",j:[{name:"authProvider",K:"a valid Auth provider",optional:!1,M:function(e){return!!(e&&e.providerId&&e.hasOwnProperty&&e.hasOwnProperty("isOAuthProvider"))}}]},reload:{name:"reload",j:[]},vb:{name:"sendEmailVerification",j:[ed(Zf("opt_actionCodeSettings",!0),Xf(null,!0),"opt_actionCodeSettings",!0)]},toJSON:{name:"toJSON",j:[Qf(null,!0)]},cd:{name:"unlink",j:[Qf("provider")]},Cb:{name:"updateEmail",j:[Qf("email")]},Db:{name:"updatePassword",j:[Qf("password")]},ed:{name:"updatePhoneNumber",j:[$f("phone")]},Eb:{name:"updateProfile",j:[Zf("profile")]},Fb:{name:"verifyBeforeUpdateEmail",j:[Qf("email"),ed(Zf("opt_actionCodeSettings",!0),Xf(null,!0),"opt_actionCodeSettings",!0)]}}),td(Nf.prototype,{execute:{name:"execute"},render:{name:"render"},reset:{name:"reset"},getResponse:{name:"getResponse"}}),td(wf.prototype,{execute:{name:"execute"},render:{name:"render"},reset:{name:"reset"},getResponse:{name:"getResponse"}}),td(Nt.prototype,{oa:{name:"finally"},o:{name:"catch"},then:{name:"then"}}),nd($l.prototype,{appVerificationDisabled:{name:"appVerificationDisabledForTesting",lb:Wf("appVerificationDisabledForTesting")}}),td(Jl.prototype,{confirm:{name:"confirm",j:[Qf("verificationCode")]}}),rd(li,"fromJSON",(function(e){e="string"===typeof e?JSON.parse(e):e;for(var t,n=[yi,Oi,_i,pi],r=0;r<n.length;r++)if(t=n[r](e))return t;return null}),[ed(Qf(),Zf(),"json")]),rd(Ti,"credential",(function(e,t){return new Ei(e,t)}),[Qf("email"),Qf("password")]),td(Ei.prototype,{w:{name:"toJSON",j:[Qf(null,!0)]}}),td(Mi.prototype,{Ca:{name:"addScope",j:[Qf("scope")]},Ka:{name:"setCustomParameters",j:[Zf("customOAuthParameters")]}}),rd(Mi,"credential",wi,[ed(Qf(),Zf(),"token")]),rd(Ti,"credentialWithLink",Ci,[Qf("email"),Qf("emailLink")]),td(Ni.prototype,{Ca:{name:"addScope",j:[Qf("scope")]},Ka:{name:"setCustomParameters",j:[Zf("customOAuthParameters")]}}),rd(Ni,"credential",ji,[ed(Qf(),Zf(),"token")]),td(Si.prototype,{Ca:{name:"addScope",j:[Qf("scope")]},Ka:{name:"setCustomParameters",j:[Zf("customOAuthParameters")]}}),rd(Si,"credential",Ii,[ed(Qf(),ed(Zf(),Xf()),"idToken"),ed(Qf(),Xf(),"accessToken",!0)]),td(Di.prototype,{Ka:{name:"setCustomParameters",j:[Zf("customOAuthParameters")]}}),rd(Di,"credential",xi,[ed(Qf(),Zf(),"token"),Qf("secret",!0)]),td(bi.prototype,{Ca:{name:"addScope",j:[Qf("scope")]},credential:{name:"credential",j:[ed(Qf(),ed(Zf(),Xf()),"optionsOrIdToken"),ed(Qf(),Xf(),"accessToken",!0)]},Ka:{name:"setCustomParameters",j:[Zf("customOAuthParameters")]}}),td(hi.prototype,{w:{name:"toJSON",j:[Qf(null,!0)]}}),td(fi.prototype,{w:{name:"toJSON",j:[Qf(null,!0)]}}),rd(zi,"credential",Pi,[Qf("verificationId"),Qf("verificationCode")]),td(zi.prototype,{gb:{name:"verifyPhoneNumber",j:[ed(Qf(),{name:"phoneInfoOptions",K:"valid phone info options",optional:!1,M:function(e){return!!e&&(e.session&&e.phoneNumber?Jf(e.session,si)&&"string"===typeof e.phoneNumber:e.session&&e.multiFactorHint?Jf(e.session,ui)&&Kf(e.multiFactorHint):e.session&&e.multiFactorUid?Jf(e.session,ui)&&"string"===typeof e.multiFactorUid:!!e.phoneNumber&&"string"===typeof e.phoneNumber)}},"phoneInfoOptions"),{name:"applicationVerifier",K:"an implementation of firebase.auth.ApplicationVerifier",optional:!1,M:function(e){return!(!e||"string"!==typeof e.type||"function"!==typeof e.verify)}}]}}),td(Li.prototype,{w:{name:"toJSON",j:[Qf(null,!0)]}}),td(x.prototype,{toJSON:{name:"toJSON",j:[Qf(null,!0)]}}),td(Qi.prototype,{toJSON:{name:"toJSON",j:[Qf(null,!0)]}}),td(Vi.prototype,{toJSON:{name:"toJSON",j:[Qf(null,!0)]}}),td(oc.prototype,{toJSON:{name:"toJSON",j:[Qf(null,!0)]}}),td(tc.prototype,{Rc:{name:"resolveSignIn",j:[{name:"multiFactorAssertion",K:"a valid multiFactorAssertion",optional:!1,M:function(e){return!!e&&!!e.tb}}]}}),td(cc.prototype,{Sb:{name:"getSession",j:[]},fc:{name:"enroll",j:[{name:"multiFactorAssertion",K:"a valid multiFactorAssertion",optional:!1,M:function(e){return!!e&&!!e.tb}},Qf("displayName",!0)]},bd:{name:"unenroll",j:[ed({name:"multiFactorInfo",K:"a valid multiFactorInfo",optional:!1,M:Kf},Qf(),"multiFactorInfoIdentifier")]}}),td(Gf.prototype,{clear:{name:"clear",j:[]},render:{name:"render",j:[]},verify:{name:"verify",j:[]}}),rd(wo,"parseLink",Oo,[Qf("link")]),rd(Ef,"assertion",(function(e){return new uc(e)}),[$f("phone")]),function(){if("undefined"===typeof t.a||!t.a.INTERNAL||!t.a.INTERNAL.registerComponent)throw Error("Cannot find the firebase namespace; be sure to include firebase-app.js before this library.");var e={ActionCodeInfo:{Operation:{EMAIL_SIGNIN:uo,PASSWORD_RESET:"PASSWORD_RESET",RECOVER_EMAIL:"RECOVER_EMAIL",REVERT_SECOND_FACTOR_ADDITION:so,VERIFY_AND_CHANGE_EMAIL:lo,VERIFY_EMAIL:"VERIFY_EMAIL"}},Auth:sf,AuthCredential:li,Error:x};rd(e,"EmailAuthProvider",Ti,[]),rd(e,"FacebookAuthProvider",Mi,[]),rd(e,"GithubAuthProvider",Ni,[]),rd(e,"GoogleAuthProvider",Si,[]),rd(e,"TwitterAuthProvider",Di,[]),rd(e,"OAuthProvider",bi,[Qf("providerId")]),rd(e,"SAMLAuthProvider",vi,[Qf("providerId")]),rd(e,"PhoneAuthProvider",zi,[{name:"auth",K:"an instance of Firebase Auth",optional:!0,M:function(e){return!!(e&&e instanceof sf)}}]),rd(e,"RecaptchaVerifier",Gf,[ed(Qf(),{name:"",K:"an HTML element",optional:!1,M:function(e){return!!(e&&e instanceof Element)}},"recaptchaContainer"),Zf("recaptchaParameters",!0),{name:"app",K:"an instance of Firebase App",optional:!0,M:function(e){return!!(e&&e instanceof t.a.app.App)}}]),rd(e,"ActionCodeURL",wo,[]),rd(e,"PhoneMultiFactorGenerator",Ef,[]),t.a.INTERNAL.registerComponent({name:"auth",instanceFactory:function(e){return new sf(e=e.getProvider("app").getImmediate())},multipleInstances:!1,serviceProps:e,instantiationMode:"LAZY",type:"PUBLIC",onInstanceCreated:function(e){e.getProvider("auth-internal").initialize()}}),t.a.INTERNAL.registerComponent({name:"auth-internal",instanceFactory:function(e){return{getUid:N((e=e.getProvider("auth").getImmediate()).getUid,e),getToken:N(e.nc,e),addAuthTokenListener:N(e.cc,e),removeAuthTokenListener:N(e.Pc,e)}},multipleInstances:!1,instantiationMode:"LAZY",type:"PRIVATE"}),t.a.registerVersion("@firebase/auth","0.16.8"),t.a.INTERNAL.extendNamespace({User:bc})}()}).apply("undefined"!==typeof e?e:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})}).call(this,n(59))},function(e,t,n){"use strict";n(520)},function(e,t,n){"use strict";(function(e,t){var r=n(20),o=n(88),i=n(3),a=n(10),s=n(117),u="";function l(e){u=e}var c=function(){function e(e){this.domStorage_=e,this.prefix_="firebase:"}return e.prototype.set=function(e,t){null==t?this.domStorage_.removeItem(this.prefixedName_(e)):this.domStorage_.setItem(this.prefixedName_(e),Object(i.C)(t))},e.prototype.get=function(e){var t=this.domStorage_.getItem(this.prefixedName_(e));return null==t?null:Object(i.w)(t)},e.prototype.remove=function(e){this.domStorage_.removeItem(this.prefixedName_(e))},e.prototype.prefixedName_=function(e){return this.prefix_+e},e.prototype.toString=function(){return this.domStorage_.toString()},e}(),f=function(){function e(){this.cache_={},this.isInMemoryStorage=!0}return e.prototype.set=function(e,t){null==t?delete this.cache_[e]:this.cache_[e]=t},e.prototype.get=function(e){return Object(i.h)(this.cache_,e)?this.cache_[e]:null},e.prototype.remove=function(e){delete this.cache_[e]},e}(),d=function(e){try{if("undefined"!==typeof window&&"undefined"!==typeof window[e]){var t=window[e];return t.setItem("firebase:sentinel","cache"),t.removeItem("firebase:sentinel"),new c(t)}}catch(n){}return new f},p=d("localStorage"),h=d("sessionStorage"),g=new s.b("@firebase/database"),y=function(){var e=1;return function(){return e++}}(),m=function(e){var t=Object(i.B)(e),n=new i.c;n.update(t);var r=n.digest();return i.f.encodeByteArray(r)},v=function e(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r="",o=0;o<t.length;o++){var a=t[o];Array.isArray(a)||a&&"object"===typeof a&&"number"===typeof a.length?r+=e.apply(null,a):r+="object"===typeof a?Object(i.C)(a):a,r+=" "}return r},b=null,M=!0,w=function(e,t){Object(i.d)(!t||!0===e||!1===e,"Can't turn on custom loggers persistently."),!0===e?(g.logLevel=s.a.VERBOSE,b=g.log.bind(g),t&&h.set("logging_enabled",!0)):"function"===typeof e?b=e:(b=null,h.remove("logging_enabled"))},N=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!0===M&&(M=!1,null===b&&!0===h.get("logging_enabled")&&w(!0)),b){var n=v.apply(null,e);b(n)}},j=function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];N.apply(void 0,Object(a.g)([e],Object(a.e)(t)))}},S=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n="FIREBASE INTERNAL ERROR: "+v.apply(void 0,Object(a.g)([],Object(a.e)(e)));g.error(n)},I=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n="FIREBASE FATAL ERROR: "+v.apply(void 0,Object(a.g)([],Object(a.e)(e)));throw g.error(n),new Error(n)},D=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n="FIREBASE WARNING: "+v.apply(void 0,Object(a.g)([],Object(a.e)(e)));g.warn(n)},x=function(e){return"number"===typeof e&&(e!==e||e===Number.POSITIVE_INFINITY||e===Number.NEGATIVE_INFINITY)},E="[MIN_NAME]",O="[MAX_NAME]",T=function(e,t){if(e===t)return 0;if(e===E||t===O)return-1;if(t===E||e===O)return 1;var n=R(e),r=R(t);return null!==n?null!==r?n-r===0?e.length-t.length:n-r:-1:null!==r?1:e<t?-1:1},C=function(e,t){return e===t?0:e<t?-1:1},k=function(e,t){if(t&&e in t)return t[e];throw new Error("Missing required key ("+e+") in object: "+Object(i.C)(t))},L=function e(t){if("object"!==typeof t||null===t)return Object(i.C)(t);var n=[];for(var r in t)n.push(r);n.sort();for(var o="{",a=0;a<n.length;a++)0!==a&&(o+=","),o+=Object(i.C)(n[a]),o+=":",o+=e(t[n[a]]);return o+="}"},_=function(e,t){var n=e.length;if(n<=t)return[e];for(var r=[],o=0;o<n;o+=t)o+t>n?r.push(e.substring(o,n)):r.push(e.substring(o,o+t));return r};function A(e,t){for(var n in e)e.hasOwnProperty(n)&&t(n,e[n])}var z=function(e){Object(i.d)(!x(e),"Invalid JSON number");var t,n,r,o,a;0===e?(n=0,r=0,t=1/e===-1/0?1:0):(t=e<0,(e=Math.abs(e))>=Math.pow(2,-1022)?(n=(o=Math.min(Math.floor(Math.log(e)/Math.LN2),1023))+1023,r=Math.round(e*Math.pow(2,52-o)-Math.pow(2,52))):(n=0,r=Math.round(e/Math.pow(2,-1074))));var s=[];for(a=52;a;a-=1)s.push(r%2?1:0),r=Math.floor(r/2);for(a=11;a;a-=1)s.push(n%2?1:0),n=Math.floor(n/2);s.push(t?1:0),s.reverse();var u=s.join(""),l="";for(a=0;a<64;a+=8){var c=parseInt(u.substr(a,8),2).toString(16);1===c.length&&(c="0"+c),l+=c}return l.toLowerCase()};var P=new RegExp("^-?(0*)\\d{1,10}$"),R=function(e){if(P.test(e)){var t=Number(e);if(t>=-2147483648&&t<=2147483647)return t}return null},U=function(e){try{e()}catch(t){setTimeout((function(){var e=t.stack||"";throw D("Exception was thrown by user callback.",e),t}),Math.floor(0))}},B=function(e,t){var n=setTimeout(e,t);return"object"===typeof n&&n.unref&&n.unref(),n},F=function(){function e(e,t){var n=this;this.appName_=e,this.appCheckProvider=t,this.appCheck=null===t||void 0===t?void 0:t.getImmediate({optional:!0}),this.appCheck||null===t||void 0===t||t.get().then((function(e){return n.appCheck=e}))}return e.prototype.getToken=function(e){var t=this;return this.appCheck?this.appCheck.getToken(e):new Promise((function(n,r){setTimeout((function(){t.appCheck?t.getToken(e).then(n,r):n(null)}),0)}))},e.prototype.addTokenChangeListener=function(e){var t;null===(t=this.appCheckProvider)||void 0===t||t.get().then((function(t){return t.addTokenListener(e)}))},e.prototype.notifyForInvalidToken=function(){D('Provided AppCheck credentials for the app named "'+this.appName_+'" are invalid. This usually indicates your app was not initialized correctly.')},e}(),Y=function(){function e(e,t,n){var r=this;this.appName_=e,this.firebaseOptions_=t,this.authProvider_=n,this.auth_=null,this.auth_=n.getImmediate({optional:!0}),this.auth_||n.onInit((function(e){return r.auth_=e}))}return e.prototype.getToken=function(e){var t=this;return this.auth_?this.auth_.getToken(e).catch((function(e){return e&&"auth/token-not-initialized"===e.code?(N("Got auth/token-not-initialized error.  Treating as null token."),null):Promise.reject(e)})):new Promise((function(n,r){setTimeout((function(){t.auth_?t.getToken(e).then(n,r):n(null)}),0)}))},e.prototype.addTokenChangeListener=function(e){this.auth_?this.auth_.addAuthTokenListener(e):this.authProvider_.get().then((function(t){return t.addAuthTokenListener(e)}))},e.prototype.removeTokenChangeListener=function(e){this.authProvider_.get().then((function(t){return t.removeAuthTokenListener(e)}))},e.prototype.notifyForInvalidToken=function(){var e='Provided authentication credentials for the app named "'+this.appName_+'" are invalid. This usually indicates your app was not initialized correctly. ';"credential"in this.firebaseOptions_?e+='Make sure the "credential" property provided to initializeApp() is authorized to access the specified "databaseURL" and is from the correct project.':"serviceAccount"in this.firebaseOptions_?e+='Make sure the "serviceAccount" property provided to initializeApp() is authorized to access the specified "databaseURL" and is from the correct project.':e+='Make sure the "apiKey" and "databaseURL" properties provided to initializeApp() match the values provided for your app at https://console.firebase.google.com/.',D(e)},e}(),G=function(){function e(e){this.accessToken=e}return e.prototype.getToken=function(e){return Promise.resolve({accessToken:this.accessToken})},e.prototype.addTokenChangeListener=function(e){e(this.accessToken)},e.prototype.removeTokenChangeListener=function(e){},e.prototype.notifyForInvalidToken=function(){},e.OWNER="owner",e}(),H=/(console\.firebase|firebase-console-\w+\.corp|firebase\.corp)\.google\.com/,V=function(){function e(e,t,n,r,o,i,a){void 0===o&&(o=!1),void 0===i&&(i=""),void 0===a&&(a=!1),this.secure=t,this.namespace=n,this.webSocketOnly=r,this.nodeAdmin=o,this.persistenceKey=i,this.includeNamespaceInQueryParams=a,this._host=e.toLowerCase(),this._domain=this._host.substr(this._host.indexOf(".")+1),this.internalHost=p.get("host:"+e)||this._host}return e.prototype.isCacheableHost=function(){return"s-"===this.internalHost.substr(0,2)},e.prototype.isCustomHost=function(){return"firebaseio.com"!==this._domain&&"firebaseio-demo.com"!==this._domain},Object.defineProperty(e.prototype,"host",{get:function(){return this._host},set:function(e){e!==this.internalHost&&(this.internalHost=e,this.isCacheableHost()&&p.set("host:"+this._host,this.internalHost))},enumerable:!1,configurable:!0}),e.prototype.toString=function(){var e=this.toURLString();return this.persistenceKey&&(e+="<"+this.persistenceKey+">"),e},e.prototype.toURLString=function(){var e=this.secure?"https://":"http://",t=this.includeNamespaceInQueryParams?"?ns="+this.namespace:"";return""+e+this.host+"/"+t},e}();function Q(e,t,n){var r;if(Object(i.d)("string"===typeof t,"typeof type must == string"),Object(i.d)("object"===typeof n,"typeof params must == object"),"websocket"===t)r=(e.secure?"wss://":"ws://")+e.internalHost+"/.ws?";else{if("long_polling"!==t)throw new Error("Unknown connection type: "+t);r=(e.secure?"https://":"http://")+e.internalHost+"/.lp?"}(function(e){return e.host!==e.internalHost||e.isCustomHost()||e.includeNamespaceInQueryParams})(e)&&(n.ns=e.namespace);var o=[];return A(n,(function(e,t){o.push(e+"="+t)})),r+o.join("&")}var W=function(){function e(){this.counters_={}}return e.prototype.incrementCounter=function(e,t){void 0===t&&(t=1),Object(i.h)(this.counters_,e)||(this.counters_[e]=0),this.counters_[e]+=t},e.prototype.get=function(){return Object(i.k)(this.counters_)},e}(),Z={},q={};function X(e){var t=e.toString();return Z[t]||(Z[t]=new W),Z[t]}var $=function(){function e(e){this.onMessage_=e,this.pendingResponses=[],this.currentResponseNum=0,this.closeAfterResponse=-1,this.onClose=null}return e.prototype.closeAfter=function(e,t){this.closeAfterResponse=e,this.onClose=t,this.closeAfterResponse<this.currentResponseNum&&(this.onClose(),this.onClose=null)},e.prototype.handleResponse=function(e,t){var n=this;this.pendingResponses[e]=t;for(var r=function(){var e=o.pendingResponses[o.currentResponseNum];delete o.pendingResponses[o.currentResponseNum];for(var t=function(t){e[t]&&U((function(){n.onMessage_(e[t])}))},r=0;r<e.length;++r)t(r);if(o.currentResponseNum===o.closeAfterResponse)return o.onClose&&(o.onClose(),o.onClose=null),"break";o.currentResponseNum++},o=this;this.pendingResponses[this.currentResponseNum];){if("break"===r())break}},e}(),J=function(){function e(e,t,n,r,o,i,a){var s=this;this.connId=e,this.repoInfo=t,this.applicationId=n,this.appCheckToken=r,this.authToken=o,this.transportSessionId=i,this.lastSessionId=a,this.bytesSent=0,this.bytesReceived=0,this.everConnected_=!1,this.log_=j(e),this.stats_=X(t),this.urlFn=function(e){return s.appCheckToken&&(e.ac=s.appCheckToken),Q(t,"long_polling",e)}}return e.prototype.open=function(e,t){var n=this;this.curSegmentNum=0,this.onDisconnect_=t,this.myPacketOrderer=new $(e),this.isClosed_=!1,this.connectTimeoutTimer_=setTimeout((function(){n.log_("Timed out trying to connect."),n.onClosed_(),n.connectTimeoutTimer_=null}),Math.floor(3e4)),function(e){if(Object(i.t)()||"complete"===document.readyState)e();else{var t=!1,n=function n(){document.body?t||(t=!0,e()):setTimeout(n,Math.floor(10))};document.addEventListener?(document.addEventListener("DOMContentLoaded",n,!1),window.addEventListener("load",n,!1)):document.attachEvent&&(document.attachEvent("onreadystatechange",(function(){"complete"===document.readyState&&n()})),window.attachEvent("onload",n))}}((function(){if(!n.isClosed_){n.scriptTagHolder=new K((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Object(a.e)(e,5),o=r[0],i=r[1],s=r[2];if(r[3],r[4],n.incrementIncomingBytes_(e),n.scriptTagHolder)if(n.connectTimeoutTimer_&&(clearTimeout(n.connectTimeoutTimer_),n.connectTimeoutTimer_=null),n.everConnected_=!0,"start"===o)n.id=i,n.password=s;else{if("close"!==o)throw new Error("Unrecognized command received: "+o);i?(n.scriptTagHolder.sendNewPolls=!1,n.myPacketOrderer.closeAfter(i,(function(){n.onClosed_()}))):n.onClosed_()}}),(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Object(a.e)(e,2),o=r[0],i=r[1];n.incrementIncomingBytes_(e),n.myPacketOrderer.handleResponse(o,i)}),(function(){n.onClosed_()}),n.urlFn);var e={start:"t"};e.ser=Math.floor(1e8*Math.random()),n.scriptTagHolder.uniqueCallbackIdentifier&&(e.cb=n.scriptTagHolder.uniqueCallbackIdentifier),e.v="5",n.transportSessionId&&(e.s=n.transportSessionId),n.lastSessionId&&(e.ls=n.lastSessionId),n.applicationId&&(e.p=n.applicationId),n.appCheckToken&&(e.ac=n.appCheckToken),"undefined"!==typeof location&&location.hostname&&H.test(location.hostname)&&(e.r="f");var t=n.urlFn(e);n.log_("Connecting via long-poll to "+t),n.scriptTagHolder.addTag(t,(function(){}))}}))},e.prototype.start=function(){this.scriptTagHolder.startLongPoll(this.id,this.password),this.addDisconnectPingFrame(this.id,this.password)},e.forceAllow=function(){e.forceAllow_=!0},e.forceDisallow=function(){e.forceDisallow_=!0},e.isAvailable=function(){return!Object(i.t)()&&(!!e.forceAllow_||!e.forceDisallow_&&"undefined"!==typeof document&&null!=document.createElement&&!("object"===typeof window&&window.chrome&&window.chrome.extension&&!/^chrome/.test(window.location.href))&&!("object"===typeof Windows&&"object"===typeof Windows.UI))},e.prototype.markConnectionHealthy=function(){},e.prototype.shutdown_=function(){this.isClosed_=!0,this.scriptTagHolder&&(this.scriptTagHolder.close(),this.scriptTagHolder=null),this.myDisconnFrame&&(document.body.removeChild(this.myDisconnFrame),this.myDisconnFrame=null),this.connectTimeoutTimer_&&(clearTimeout(this.connectTimeoutTimer_),this.connectTimeoutTimer_=null)},e.prototype.onClosed_=function(){this.isClosed_||(this.log_("Longpoll is closing itself"),this.shutdown_(),this.onDisconnect_&&(this.onDisconnect_(this.everConnected_),this.onDisconnect_=null))},e.prototype.close=function(){this.isClosed_||(this.log_("Longpoll is being closed."),this.shutdown_())},e.prototype.send=function(e){var t=Object(i.C)(e);this.bytesSent+=t.length,this.stats_.incrementCounter("bytes_sent",t.length);for(var n=Object(i.g)(t),r=_(n,1840),o=0;o<r.length;o++)this.scriptTagHolder.enqueueSegment(this.curSegmentNum,r.length,r[o]),this.curSegmentNum++},e.prototype.addDisconnectPingFrame=function(e,t){if(!Object(i.t)()){this.myDisconnFrame=document.createElement("iframe");var n={dframe:"t"};n.id=e,n.pw=t,this.myDisconnFrame.src=this.urlFn(n),this.myDisconnFrame.style.display="none",document.body.appendChild(this.myDisconnFrame)}},e.prototype.incrementIncomingBytes_=function(e){var t=Object(i.C)(e).length;this.bytesReceived+=t,this.stats_.incrementCounter("bytes_received",t)},e}(),K=function(){function e(t,n,r,o){if(this.onDisconnect=r,this.urlFn=o,this.outstandingRequests=new Set,this.pendingSegs=[],this.currentSerial=Math.floor(1e8*Math.random()),this.sendNewPolls=!0,Object(i.t)())this.commandCB=t,this.onMessageCB=n;else{this.uniqueCallbackIdentifier=y(),window["pLPCommand"+this.uniqueCallbackIdentifier]=t,window["pRTLPCB"+this.uniqueCallbackIdentifier]=n,this.myIFrame=e.createIFrame_();var a="";if(this.myIFrame.src&&"javascript:"===this.myIFrame.src.substr(0,"javascript:".length))a='<script>document.domain="'+document.domain+'";<\/script>';var s="<html><body>"+a+"</body></html>";try{this.myIFrame.doc.open(),this.myIFrame.doc.write(s),this.myIFrame.doc.close()}catch(u){N("frame writing exception"),u.stack&&N(u.stack),N(u)}}}return e.createIFrame_=function(){var e=document.createElement("iframe");if(e.style.display="none",!document.body)throw"Document body has not initialized. Wait to initialize Firebase until after the document is ready.";document.body.appendChild(e);try{e.contentWindow.document||N("No IE domain setting required")}catch(n){var t=document.domain;e.src="javascript:void((function(){document.open();document.domain='"+t+"';document.close();})())"}return e.contentDocument?e.doc=e.contentDocument:e.contentWindow?e.doc=e.contentWindow.document:e.document&&(e.doc=e.document),e},e.prototype.close=function(){var e=this;this.alive=!1,this.myIFrame&&(this.myIFrame.doc.body.innerHTML="",setTimeout((function(){null!==e.myIFrame&&(document.body.removeChild(e.myIFrame),e.myIFrame=null)}),Math.floor(0)));var t=this.onDisconnect;t&&(this.onDisconnect=null,t())},e.prototype.startLongPoll=function(e,t){for(this.myID=e,this.myPW=t,this.alive=!0;this.newRequest_(););},e.prototype.newRequest_=function(){if(this.alive&&this.sendNewPolls&&this.outstandingRequests.size<(this.pendingSegs.length>0?2:1)){this.currentSerial++;var e={};e.id=this.myID,e.pw=this.myPW,e.ser=this.currentSerial;for(var t=this.urlFn(e),n="",r=0;this.pendingSegs.length>0;){if(!(this.pendingSegs[0].d.length+30+n.length<=1870))break;var o=this.pendingSegs.shift();n=n+"&seg"+r+"="+o.seg+"&ts"+r+"="+o.ts+"&d"+r+"="+o.d,r++}return t+=n,this.addLongPollTag_(t,this.currentSerial),!0}return!1},e.prototype.enqueueSegment=function(e,t,n){this.pendingSegs.push({seg:e,ts:t,d:n}),this.alive&&this.newRequest_()},e.prototype.addLongPollTag_=function(e,t){var n=this;this.outstandingRequests.add(t);var r=function(){n.outstandingRequests.delete(t),n.newRequest_()},o=setTimeout(r,Math.floor(25e3));this.addTag(e,(function(){clearTimeout(o),r()}))},e.prototype.addTag=function(e,t){var n=this;Object(i.t)()?this.doNodeLongPoll(e,t):setTimeout((function(){try{if(!n.sendNewPolls)return;var r=n.myIFrame.doc.createElement("script");r.type="text/javascript",r.async=!0,r.src=e,r.onload=r.onreadystatechange=function(){var e=r.readyState;e&&"loaded"!==e&&"complete"!==e||(r.onload=r.onreadystatechange=null,r.parentNode&&r.parentNode.removeChild(r),t())},r.onerror=function(){N("Long-poll script failed to load: "+e),n.sendNewPolls=!1,n.close()},n.myIFrame.doc.body.appendChild(r)}catch(o){}}),Math.floor(1))},e}(),ee=null;"undefined"!==typeof MozWebSocket?ee=MozWebSocket:"undefined"!==typeof WebSocket&&(ee=WebSocket);var te=function(){function t(e,n,r,o,i,a,s){this.connId=e,this.applicationId=r,this.appCheckToken=o,this.authToken=i,this.keepaliveTimer=null,this.frames=null,this.totalFrames=0,this.bytesSent=0,this.bytesReceived=0,this.log_=j(this.connId),this.stats_=X(n),this.connURL=t.connectionURL_(n,a,s,o),this.nodeAdmin=n.nodeAdmin}return t.connectionURL_=function(e,t,n,r){var o={v:"5"};return!Object(i.t)()&&"undefined"!==typeof location&&location.hostname&&H.test(location.hostname)&&(o.r="f"),t&&(o.s=t),n&&(o.ls=n),r&&(o.ac=r),Q(e,"websocket",o)},t.prototype.open=function(t,n){var r=this;this.onDisconnect=n,this.onMessage=t,this.log_("Websocket connecting to "+this.connURL),this.everConnected_=!1,p.set("previous_websocket_failure",!0);try{if(Object(i.t)()){var o=this.nodeAdmin?"AdminNode":"Node",a={headers:{"User-Agent":"Firebase/5/"+u+"/"+e.platform+"/"+o,"X-Firebase-GMPID":this.applicationId||""}};this.authToken&&(a.headers.Authorization="Bearer "+this.authToken),this.appCheckToken&&(a.headers["X-Firebase-AppCheck"]=this.appCheckToken);var s=Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,REACT_APP_MAP_KEY:"AIzaSyAYdp6JWyJaD-2Jiil3ggePxUBDIMpD-Kg",REACT_APP_NODE_ENV:"dev"}),l=0===this.connURL.indexOf("wss://")?s.HTTPS_PROXY||s.https_proxy:s.HTTP_PROXY||s.http_proxy;l&&(a.proxy={origin:l}),this.mySock=new ee(this.connURL,[],a)}else{a={headers:{"X-Firebase-GMPID":this.applicationId||"","X-Firebase-AppCheck":this.appCheckToken||""}};this.mySock=new ee(this.connURL,[],a)}}catch(f){this.log_("Error instantiating WebSocket.");var c=f.message||f.data;return c&&this.log_(c),void this.onClosed_()}this.mySock.onopen=function(){r.log_("Websocket connected."),r.everConnected_=!0},this.mySock.onclose=function(){r.log_("Websocket connection was disconnected."),r.mySock=null,r.onClosed_()},this.mySock.onmessage=function(e){r.handleIncomingFrame(e)},this.mySock.onerror=function(e){r.log_("WebSocket error.  Closing connection.");var t=e.message||e.data;t&&r.log_(t),r.onClosed_()}},t.prototype.start=function(){},t.forceDisallow=function(){t.forceDisallow_=!0},t.isAvailable=function(){var e=!1;if("undefined"!==typeof navigator&&navigator.userAgent){var n=navigator.userAgent.match(/Android ([0-9]{0,}\.[0-9]{0,})/);n&&n.length>1&&parseFloat(n[1])<4.4&&(e=!0)}return!e&&null!==ee&&!t.forceDisallow_},t.previouslyFailed=function(){return p.isInMemoryStorage||!0===p.get("previous_websocket_failure")},t.prototype.markConnectionHealthy=function(){p.remove("previous_websocket_failure")},t.prototype.appendFrame_=function(e){if(this.frames.push(e),this.frames.length===this.totalFrames){var t=this.frames.join("");this.frames=null;var n=Object(i.w)(t);this.onMessage(n)}},t.prototype.handleNewFrameCount_=function(e){this.totalFrames=e,this.frames=[]},t.prototype.extractFrameCount_=function(e){if(Object(i.d)(null===this.frames,"We already have a frame buffer"),e.length<=6){var t=Number(e);if(!isNaN(t))return this.handleNewFrameCount_(t),null}return this.handleNewFrameCount_(1),e},t.prototype.handleIncomingFrame=function(e){if(null!==this.mySock){var t=e.data;if(this.bytesReceived+=t.length,this.stats_.incrementCounter("bytes_received",t.length),this.resetKeepAlive(),null!==this.frames)this.appendFrame_(t);else{var n=this.extractFrameCount_(t);null!==n&&this.appendFrame_(n)}}},t.prototype.send=function(e){this.resetKeepAlive();var t=Object(i.C)(e);this.bytesSent+=t.length,this.stats_.incrementCounter("bytes_sent",t.length);var n=_(t,16384);n.length>1&&this.sendString_(String(n.length));for(var r=0;r<n.length;r++)this.sendString_(n[r])},t.prototype.shutdown_=function(){this.isClosed_=!0,this.keepaliveTimer&&(clearInterval(this.keepaliveTimer),this.keepaliveTimer=null),this.mySock&&(this.mySock.close(),this.mySock=null)},t.prototype.onClosed_=function(){this.isClosed_||(this.log_("WebSocket is closing itself"),this.shutdown_(),this.onDisconnect&&(this.onDisconnect(this.everConnected_),this.onDisconnect=null))},t.prototype.close=function(){this.isClosed_||(this.log_("WebSocket is being closed"),this.shutdown_())},t.prototype.resetKeepAlive=function(){var e=this;clearInterval(this.keepaliveTimer),this.keepaliveTimer=setInterval((function(){e.mySock&&e.sendString_("0"),e.resetKeepAlive()}),Math.floor(45e3))},t.prototype.sendString_=function(e){try{this.mySock.send(e)}catch(t){this.log_("Exception thrown from WebSocket.send():",t.message||t.data,"Closing connection."),setTimeout(this.onClosed_.bind(this),0)}},t.responsesRequiredToBeHealthy=2,t.healthyTimeout=3e4,t}(),ne=function(){function e(e){this.initTransports_(e)}return Object.defineProperty(e,"ALL_TRANSPORTS",{get:function(){return[J,te]},enumerable:!1,configurable:!0}),e.prototype.initTransports_=function(t){var n,r,o=te&&te.isAvailable(),i=o&&!te.previouslyFailed();if(t.webSocketOnly&&(o||D("wss:// URL used, but browser isn't known to support websockets.  Trying anyway."),i=!0),i)this.transports_=[te];else{var s=this.transports_=[];try{for(var u=Object(a.h)(e.ALL_TRANSPORTS),l=u.next();!l.done;l=u.next()){var c=l.value;c&&c.isAvailable()&&s.push(c)}}catch(f){n={error:f}}finally{try{l&&!l.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}}},e.prototype.initialTransport=function(){if(this.transports_.length>0)return this.transports_[0];throw new Error("No transports available")},e.prototype.upgradeTransport=function(){return this.transports_.length>1?this.transports_[1]:null},e}(),re=function(){function e(e,t,n,r,o,i,a,s,u,l){this.id=e,this.repoInfo_=t,this.applicationId_=n,this.appCheckToken_=r,this.authToken_=o,this.onMessage_=i,this.onReady_=a,this.onDisconnect_=s,this.onKill_=u,this.lastSessionId=l,this.connectionCount=0,this.pendingDataMessages=[],this.state_=0,this.log_=j("c:"+this.id+":"),this.transportManager_=new ne(t),this.log_("Connection created"),this.start_()}return e.prototype.start_=function(){var e=this,t=this.transportManager_.initialTransport();this.conn_=new t(this.nextTransportId_(),this.repoInfo_,this.applicationId_,this.appCheckToken_,this.authToken_,null,this.lastSessionId),this.primaryResponsesRequired_=t.responsesRequiredToBeHealthy||0;var n=this.connReceiver_(this.conn_),r=this.disconnReceiver_(this.conn_);this.tx_=this.conn_,this.rx_=this.conn_,this.secondaryConn_=null,this.isHealthy_=!1,setTimeout((function(){e.conn_&&e.conn_.open(n,r)}),Math.floor(0));var o=t.healthyTimeout||0;o>0&&(this.healthyTimeout_=B((function(){e.healthyTimeout_=null,e.isHealthy_||(e.conn_&&e.conn_.bytesReceived>102400?(e.log_("Connection exceeded healthy timeout but has received "+e.conn_.bytesReceived+" bytes.  Marking connection healthy."),e.isHealthy_=!0,e.conn_.markConnectionHealthy()):e.conn_&&e.conn_.bytesSent>10240?e.log_("Connection exceeded healthy timeout but has sent "+e.conn_.bytesSent+" bytes.  Leaving connection alive."):(e.log_("Closing unhealthy connection after timeout."),e.close()))}),Math.floor(o)))},e.prototype.nextTransportId_=function(){return"c:"+this.id+":"+this.connectionCount++},e.prototype.disconnReceiver_=function(e){var t=this;return function(n){e===t.conn_?t.onConnectionLost_(n):e===t.secondaryConn_?(t.log_("Secondary connection lost."),t.onSecondaryConnectionLost_()):t.log_("closing an old connection")}},e.prototype.connReceiver_=function(e){var t=this;return function(n){2!==t.state_&&(e===t.rx_?t.onPrimaryMessageReceived_(n):e===t.secondaryConn_?t.onSecondaryMessageReceived_(n):t.log_("message on old connection"))}},e.prototype.sendRequest=function(e){var t={t:"d",d:e};this.sendData_(t)},e.prototype.tryCleanupConnection=function(){this.tx_===this.secondaryConn_&&this.rx_===this.secondaryConn_&&(this.log_("cleaning up and promoting a connection: "+this.secondaryConn_.connId),this.conn_=this.secondaryConn_,this.secondaryConn_=null)},e.prototype.onSecondaryControl_=function(e){if("t"in e){var t=e.t;"a"===t?this.upgradeIfSecondaryHealthy_():"r"===t?(this.log_("Got a reset on secondary, closing it"),this.secondaryConn_.close(),this.tx_!==this.secondaryConn_&&this.rx_!==this.secondaryConn_||this.close()):"o"===t&&(this.log_("got pong on secondary."),this.secondaryResponsesRequired_--,this.upgradeIfSecondaryHealthy_())}},e.prototype.onSecondaryMessageReceived_=function(e){var t=k("t",e),n=k("d",e);if("c"===t)this.onSecondaryControl_(n);else{if("d"!==t)throw new Error("Unknown protocol layer: "+t);this.pendingDataMessages.push(n)}},e.prototype.upgradeIfSecondaryHealthy_=function(){this.secondaryResponsesRequired_<=0?(this.log_("Secondary connection is healthy."),this.isHealthy_=!0,this.secondaryConn_.markConnectionHealthy(),this.proceedWithUpgrade_()):(this.log_("sending ping on secondary."),this.secondaryConn_.send({t:"c",d:{t:"p",d:{}}}))},e.prototype.proceedWithUpgrade_=function(){this.secondaryConn_.start(),this.log_("sending client ack on secondary"),this.secondaryConn_.send({t:"c",d:{t:"a",d:{}}}),this.log_("Ending transmission on primary"),this.conn_.send({t:"c",d:{t:"n",d:{}}}),this.tx_=this.secondaryConn_,this.tryCleanupConnection()},e.prototype.onPrimaryMessageReceived_=function(e){var t=k("t",e),n=k("d",e);"c"===t?this.onControl_(n):"d"===t&&this.onDataMessage_(n)},e.prototype.onDataMessage_=function(e){this.onPrimaryResponse_(),this.onMessage_(e)},e.prototype.onPrimaryResponse_=function(){this.isHealthy_||(this.primaryResponsesRequired_--,this.primaryResponsesRequired_<=0&&(this.log_("Primary connection is healthy."),this.isHealthy_=!0,this.conn_.markConnectionHealthy()))},e.prototype.onControl_=function(e){var t=k("t",e);if("d"in e){var n=e.d;if("h"===t)this.onHandshake_(n);else if("n"===t){this.log_("recvd end transmission on primary"),this.rx_=this.secondaryConn_;for(var r=0;r<this.pendingDataMessages.length;++r)this.onDataMessage_(this.pendingDataMessages[r]);this.pendingDataMessages=[],this.tryCleanupConnection()}else"s"===t?this.onConnectionShutdown_(n):"r"===t?this.onReset_(n):"e"===t?S("Server Error: "+n):"o"===t?(this.log_("got pong on primary."),this.onPrimaryResponse_(),this.sendPingOnPrimaryIfNecessary_()):S("Unknown control packet command: "+t)}},e.prototype.onHandshake_=function(e){var t=e.ts,n=e.v,r=e.h;this.sessionId=e.s,this.repoInfo_.host=r,0===this.state_&&(this.conn_.start(),this.onConnectionEstablished_(this.conn_,t),"5"!==n&&D("Protocol version mismatch detected"),this.tryStartUpgrade_())},e.prototype.tryStartUpgrade_=function(){var e=this.transportManager_.upgradeTransport();e&&this.startUpgrade_(e)},e.prototype.startUpgrade_=function(e){var t=this;this.secondaryConn_=new e(this.nextTransportId_(),this.repoInfo_,this.applicationId_,this.appCheckToken_,this.authToken_,this.sessionId),this.secondaryResponsesRequired_=e.responsesRequiredToBeHealthy||0;var n=this.connReceiver_(this.secondaryConn_),r=this.disconnReceiver_(this.secondaryConn_);this.secondaryConn_.open(n,r),B((function(){t.secondaryConn_&&(t.log_("Timed out trying to upgrade."),t.secondaryConn_.close())}),Math.floor(6e4))},e.prototype.onReset_=function(e){this.log_("Reset packet received.  New host: "+e),this.repoInfo_.host=e,1===this.state_?this.close():(this.closeConnections_(),this.start_())},e.prototype.onConnectionEstablished_=function(e,t){var n=this;this.log_("Realtime connection established."),this.conn_=e,this.state_=1,this.onReady_&&(this.onReady_(t,this.sessionId),this.onReady_=null),0===this.primaryResponsesRequired_?(this.log_("Primary connection is healthy."),this.isHealthy_=!0):B((function(){n.sendPingOnPrimaryIfNecessary_()}),Math.floor(5e3))},e.prototype.sendPingOnPrimaryIfNecessary_=function(){this.isHealthy_||1!==this.state_||(this.log_("sending ping on primary."),this.sendData_({t:"c",d:{t:"p",d:{}}}))},e.prototype.onSecondaryConnectionLost_=function(){var e=this.secondaryConn_;this.secondaryConn_=null,this.tx_!==e&&this.rx_!==e||this.close()},e.prototype.onConnectionLost_=function(e){this.conn_=null,e||0!==this.state_?1===this.state_&&this.log_("Realtime connection lost."):(this.log_("Realtime connection failed."),this.repoInfo_.isCacheableHost()&&(p.remove("host:"+this.repoInfo_.host),this.repoInfo_.internalHost=this.repoInfo_.host)),this.close()},e.prototype.onConnectionShutdown_=function(e){this.log_("Connection shutdown command received. Shutting down..."),this.onKill_&&(this.onKill_(e),this.onKill_=null),this.onDisconnect_=null,this.close()},e.prototype.sendData_=function(e){if(1!==this.state_)throw"Connection is not connected";this.tx_.send(e)},e.prototype.close=function(){2!==this.state_&&(this.log_("Closing realtime connection."),this.state_=2,this.closeConnections_(),this.onDisconnect_&&(this.onDisconnect_(),this.onDisconnect_=null))},e.prototype.closeConnections_=function(){this.log_("Shutting down all connections"),this.conn_&&(this.conn_.close(),this.conn_=null),this.secondaryConn_&&(this.secondaryConn_.close(),this.secondaryConn_=null),this.healthyTimeout_&&(clearTimeout(this.healthyTimeout_),this.healthyTimeout_=null)},e}(),oe=function(){function e(){}return e.prototype.put=function(e,t,n,r){},e.prototype.merge=function(e,t,n,r){},e.prototype.refreshAuthToken=function(e){},e.prototype.refreshAppCheckToken=function(e){},e.prototype.onDisconnectPut=function(e,t,n){},e.prototype.onDisconnectMerge=function(e,t,n){},e.prototype.onDisconnectCancel=function(e,t){},e.prototype.reportStats=function(e){},e}(),ie=function(){function e(e){this.allowedEvents_=e,this.listeners_={},Object(i.d)(Array.isArray(e)&&e.length>0,"Requires a non-empty array")}return e.prototype.trigger=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(Array.isArray(this.listeners_[e]))for(var r=Object(a.g)([],Object(a.e)(this.listeners_[e])),o=0;o<r.length;o++)r[o].callback.apply(r[o].context,t)},e.prototype.on=function(e,t,n){this.validateEventType_(e),this.listeners_[e]=this.listeners_[e]||[],this.listeners_[e].push({callback:t,context:n});var r=this.getInitialEvent(e);r&&t.apply(n,r)},e.prototype.off=function(e,t,n){this.validateEventType_(e);for(var r=this.listeners_[e]||[],o=0;o<r.length;o++)if(r[o].callback===t&&(!n||n===r[o].context))return void r.splice(o,1)},e.prototype.validateEventType_=function(e){Object(i.d)(this.allowedEvents_.find((function(t){return t===e})),"Unknown event: "+e)},e}(),ae=function(e){function t(){var t=e.call(this,["online"])||this;return t.online_=!0,"undefined"===typeof window||"undefined"===typeof window.addEventListener||Object(i.r)()||(window.addEventListener("online",(function(){t.online_||(t.online_=!0,t.trigger("online",!0))}),!1),window.addEventListener("offline",(function(){t.online_&&(t.online_=!1,t.trigger("online",!1))}),!1)),t}return Object(a.c)(t,e),t.getInstance=function(){return new t},t.prototype.getInitialEvent=function(e){return Object(i.d)("online"===e,"Unknown event type: "+e),[this.online_]},t.prototype.currentlyOnline=function(){return this.online_},t}(ie),se=function(){function e(e,t){if(void 0===t){this.pieces_=e.split("/");for(var n=0,r=0;r<this.pieces_.length;r++)this.pieces_[r].length>0&&(this.pieces_[n]=this.pieces_[r],n++);this.pieces_.length=n,this.pieceNum_=0}else this.pieces_=e,this.pieceNum_=t}return e.prototype.toString=function(){for(var e="",t=this.pieceNum_;t<this.pieces_.length;t++)""!==this.pieces_[t]&&(e+="/"+this.pieces_[t]);return e||"/"},e}();function ue(){return new se("")}function le(e){return e.pieceNum_>=e.pieces_.length?null:e.pieces_[e.pieceNum_]}function ce(e){return e.pieces_.length-e.pieceNum_}function fe(e){var t=e.pieceNum_;return t<e.pieces_.length&&t++,new se(e.pieces_,t)}function de(e){return e.pieceNum_<e.pieces_.length?e.pieces_[e.pieces_.length-1]:null}function pe(e,t){return void 0===t&&(t=0),e.pieces_.slice(e.pieceNum_+t)}function he(e){if(e.pieceNum_>=e.pieces_.length)return null;for(var t=[],n=e.pieceNum_;n<e.pieces_.length-1;n++)t.push(e.pieces_[n]);return new se(t,0)}function ge(e,t){for(var n=[],r=e.pieceNum_;r<e.pieces_.length;r++)n.push(e.pieces_[r]);if(t instanceof se)for(r=t.pieceNum_;r<t.pieces_.length;r++)n.push(t.pieces_[r]);else{var o=t.split("/");for(r=0;r<o.length;r++)o[r].length>0&&n.push(o[r])}return new se(n,0)}function ye(e){return e.pieceNum_>=e.pieces_.length}function me(e,t){var n=le(e),r=le(t);if(null===n)return t;if(n===r)return me(fe(e),fe(t));throw new Error("INTERNAL ERROR: innerPath ("+t+") is not within outerPath ("+e+")")}function ve(e,t){for(var n=pe(e,0),r=pe(t,0),o=0;o<n.length&&o<r.length;o++){var i=T(n[o],r[o]);if(0!==i)return i}return n.length===r.length?0:n.length<r.length?-1:1}function be(e,t){if(ce(e)!==ce(t))return!1;for(var n=e.pieceNum_,r=t.pieceNum_;n<=e.pieces_.length;n++,r++)if(e.pieces_[n]!==t.pieces_[r])return!1;return!0}function Me(e,t){var n=e.pieceNum_,r=t.pieceNum_;if(ce(e)>ce(t))return!1;for(;n<e.pieces_.length;){if(e.pieces_[n]!==t.pieces_[r])return!1;++n,++r}return!0}var we=function(e,t){this.errorPrefix_=t,this.parts_=pe(e,0),this.byteLength_=Math.max(1,this.parts_.length);for(var n=0;n<this.parts_.length;n++)this.byteLength_+=Object(i.A)(this.parts_[n]);Ne(this)};function Ne(e){if(e.byteLength_>768)throw new Error(e.errorPrefix_+"has a key path longer than 768 bytes ("+e.byteLength_+").");if(e.parts_.length>32)throw new Error(e.errorPrefix_+"path specified exceeds the maximum depth that can be written (32) or object contains a cycle "+je(e))}function je(e){return 0===e.parts_.length?"":"in property '"+e.parts_.join(".")+"'"}var Se,Ie,De=function(e){function t(){var t,n,r=e.call(this,["visible"])||this;return"undefined"!==typeof document&&"undefined"!==typeof document.addEventListener&&("undefined"!==typeof document.hidden?(n="visibilitychange",t="hidden"):"undefined"!==typeof document.mozHidden?(n="mozvisibilitychange",t="mozHidden"):"undefined"!==typeof document.msHidden?(n="msvisibilitychange",t="msHidden"):"undefined"!==typeof document.webkitHidden&&(n="webkitvisibilitychange",t="webkitHidden")),r.visible_=!0,n&&document.addEventListener(n,(function(){var e=!document[t];e!==r.visible_&&(r.visible_=e,r.trigger("visible",e))}),!1),r}return Object(a.c)(t,e),t.getInstance=function(){return new t},t.prototype.getInitialEvent=function(e){return Object(i.d)("visible"===e,"Unknown event type: "+e),[this.visible_]},t}(ie),xe=function(e){function t(n,r,o,a,s,u,l,c){var f=e.call(this)||this;if(f.repoInfo_=n,f.applicationId_=r,f.onDataUpdate_=o,f.onConnectStatus_=a,f.onServerInfoUpdate_=s,f.authTokenProvider_=u,f.appCheckTokenProvider_=l,f.authOverride_=c,f.id=t.nextPersistentConnectionId_++,f.log_=j("p:"+f.id+":"),f.interruptReasons_={},f.listens=new Map,f.outstandingPuts_=[],f.outstandingGets_=[],f.outstandingPutCount_=0,f.outstandingGetCount_=0,f.onDisconnectRequestQueue_=[],f.connected_=!1,f.reconnectDelay_=1e3,f.maxReconnectDelay_=3e5,f.securityDebugCallback_=null,f.lastSessionId=null,f.establishConnectionTimer_=null,f.visible_=!1,f.requestCBHash_={},f.requestNumber_=0,f.realtime_=null,f.authToken_=null,f.appCheckToken_=null,f.forceTokenRefresh_=!1,f.invalidAuthTokenCount_=0,f.invalidAppCheckTokenCount_=0,f.firstConnection_=!0,f.lastConnectionAttemptTime_=null,f.lastConnectionEstablishedTime_=null,c&&!Object(i.t)())throw new Error("Auth override specified in options, but not supported on non Node.js platforms");return De.getInstance().on("visible",f.onVisible_,f),-1===n.host.indexOf("fblocal")&&ae.getInstance().on("online",f.onOnline_,f),f}return Object(a.c)(t,e),t.prototype.sendRequest=function(e,t,n){var r=++this.requestNumber_,o={r:r,a:e,b:t};this.log_(Object(i.C)(o)),Object(i.d)(this.connected_,"sendRequest call when we're not connected not allowed."),this.realtime_.sendRequest(o),n&&(this.requestCBHash_[r]=n)},t.prototype.get=function(e){var t=this;this.initConnection_();var n=new i.a,r={p:e._path.toString(),q:e._queryObject},o={action:"g",request:r,onComplete:function(e){var o=e.d;"ok"===e.s?(t.onDataUpdate_(r.p,o,!1,null),n.resolve(o)):n.reject(o)}};this.outstandingGets_.push(o),this.outstandingGetCount_++;var a=this.outstandingGets_.length-1;return this.connected_||setTimeout((function(){var e=t.outstandingGets_[a];void 0!==e&&o===e&&(delete t.outstandingGets_[a],t.outstandingGetCount_--,0===t.outstandingGetCount_&&(t.outstandingGets_=[]),t.log_("get "+a+" timed out on connection"),n.reject(new Error("Client is offline.")))}),3e3),this.connected_&&this.sendGet_(a),n.promise},t.prototype.listen=function(e,t,n,r){this.initConnection_();var o=e._queryIdentifier,a=e._path.toString();this.log_("Listen called for "+a+" "+o),this.listens.has(a)||this.listens.set(a,new Map),Object(i.d)(e._queryParams.isDefault()||!e._queryParams.loadsAllData(),"listen() called for non-default but complete query"),Object(i.d)(!this.listens.get(a).has(o),"listen() called twice for same path/queryId.");var s={onComplete:r,hashFn:t,query:e,tag:n};this.listens.get(a).set(o,s),this.connected_&&this.sendListen_(s)},t.prototype.sendGet_=function(e){var t=this,n=this.outstandingGets_[e];this.sendRequest("g",n.request,(function(r){delete t.outstandingGets_[e],t.outstandingGetCount_--,0===t.outstandingGetCount_&&(t.outstandingGets_=[]),n.onComplete&&n.onComplete(r)}))},t.prototype.sendListen_=function(e){var n=this,r=e.query,o=r._path.toString(),i=r._queryIdentifier;this.log_("Listen on "+o+" for "+i);var a={p:o};e.tag&&(a.q=r._queryObject,a.t=e.tag),a.h=e.hashFn(),this.sendRequest("q",a,(function(a){var s=a.d,u=a.s;t.warnOnListenWarnings_(s,r),(n.listens.get(o)&&n.listens.get(o).get(i))===e&&(n.log_("listen response",a),"ok"!==u&&n.removeListen_(o,i),e.onComplete&&e.onComplete(u,s))}))},t.warnOnListenWarnings_=function(e,t){if(e&&"object"===typeof e&&Object(i.h)(e,"w")){var n=Object(i.z)(e,"w");if(Array.isArray(n)&&~n.indexOf("no_index")){var r='".indexOn": "'+t._queryParams.getIndex().toString()+'"',o=t._path.toString();D("Using an unspecified index. Your data will be downloaded and filtered on the client. Consider adding "+r+" at "+o+" to your security rules for better performance.")}}},t.prototype.refreshAuthToken=function(e){this.authToken_=e,this.log_("Auth token refreshed"),this.authToken_?this.tryAuth():this.connected_&&this.sendRequest("unauth",{},(function(){})),this.reduceReconnectDelayIfAdminCredential_(e)},t.prototype.reduceReconnectDelayIfAdminCredential_=function(e){(e&&40===e.length||Object(i.o)(e))&&(this.log_("Admin auth credential detected.  Reducing max reconnect time."),this.maxReconnectDelay_=3e4)},t.prototype.refreshAppCheckToken=function(e){this.appCheckToken_=e,this.log_("App check token refreshed"),this.appCheckToken_?this.tryAppCheck():this.connected_&&this.sendRequest("unappeck",{},(function(){}))},t.prototype.tryAuth=function(){var e=this;if(this.connected_&&this.authToken_){var t=this.authToken_,n=Object(i.v)(t)?"auth":"gauth",r={cred:t};null===this.authOverride_?r.noauth=!0:"object"===typeof this.authOverride_&&(r.authvar=this.authOverride_),this.sendRequest(n,r,(function(n){var r=n.s,o=n.d||"error";e.authToken_===t&&("ok"===r?e.invalidAuthTokenCount_=0:e.onAuthRevoked_(r,o))}))}},t.prototype.tryAppCheck=function(){var e=this;this.connected_&&this.appCheckToken_&&this.sendRequest("appcheck",{token:this.appCheckToken_},(function(t){var n=t.s,r=t.d||"error";"ok"===n?e.invalidAppCheckTokenCount_=0:e.onAppCheckRevoked_(n,r)}))},t.prototype.unlisten=function(e,t){var n=e._path.toString(),r=e._queryIdentifier;this.log_("Unlisten called for "+n+" "+r),Object(i.d)(e._queryParams.isDefault()||!e._queryParams.loadsAllData(),"unlisten() called for non-default but complete query"),this.removeListen_(n,r)&&this.connected_&&this.sendUnlisten_(n,r,e._queryObject,t)},t.prototype.sendUnlisten_=function(e,t,n,r){this.log_("Unlisten on "+e+" for "+t);var o={p:e};r&&(o.q=n,o.t=r),this.sendRequest("n",o)},t.prototype.onDisconnectPut=function(e,t,n){this.initConnection_(),this.connected_?this.sendOnDisconnect_("o",e,t,n):this.onDisconnectRequestQueue_.push({pathString:e,action:"o",data:t,onComplete:n})},t.prototype.onDisconnectMerge=function(e,t,n){this.initConnection_(),this.connected_?this.sendOnDisconnect_("om",e,t,n):this.onDisconnectRequestQueue_.push({pathString:e,action:"om",data:t,onComplete:n})},t.prototype.onDisconnectCancel=function(e,t){this.initConnection_(),this.connected_?this.sendOnDisconnect_("oc",e,null,t):this.onDisconnectRequestQueue_.push({pathString:e,action:"oc",data:null,onComplete:t})},t.prototype.sendOnDisconnect_=function(e,t,n,r){var o={p:t,d:n};this.log_("onDisconnect "+e,o),this.sendRequest(e,o,(function(e){r&&setTimeout((function(){r(e.s,e.d)}),Math.floor(0))}))},t.prototype.put=function(e,t,n,r){this.putInternal("p",e,t,n,r)},t.prototype.merge=function(e,t,n,r){this.putInternal("m",e,t,n,r)},t.prototype.putInternal=function(e,t,n,r,o){this.initConnection_();var i={p:t,d:n};void 0!==o&&(i.h=o),this.outstandingPuts_.push({action:e,request:i,onComplete:r}),this.outstandingPutCount_++;var a=this.outstandingPuts_.length-1;this.connected_?this.sendPut_(a):this.log_("Buffering put: "+t)},t.prototype.sendPut_=function(e){var t=this,n=this.outstandingPuts_[e].action,r=this.outstandingPuts_[e].request,o=this.outstandingPuts_[e].onComplete;this.outstandingPuts_[e].queued=this.connected_,this.sendRequest(n,r,(function(r){t.log_(n+" response",r),delete t.outstandingPuts_[e],t.outstandingPutCount_--,0===t.outstandingPutCount_&&(t.outstandingPuts_=[]),o&&o(r.s,r.d)}))},t.prototype.reportStats=function(e){var t=this;if(this.connected_){var n={c:e};this.log_("reportStats",n),this.sendRequest("s",n,(function(e){if("ok"!==e.s){var n=e.d;t.log_("reportStats","Error sending stats: "+n)}}))}},t.prototype.onDataMessage_=function(e){if("r"in e){this.log_("from server: "+Object(i.C)(e));var t=e.r,n=this.requestCBHash_[t];n&&(delete this.requestCBHash_[t],n(e.b))}else{if("error"in e)throw"A server-side error has occurred: "+e.error;"a"in e&&this.onDataPush_(e.a,e.b)}},t.prototype.onDataPush_=function(e,t){this.log_("handleServerMessage",e,t),"d"===e?this.onDataUpdate_(t.p,t.d,!1,t.t):"m"===e?this.onDataUpdate_(t.p,t.d,!0,t.t):"c"===e?this.onListenRevoked_(t.p,t.q):"ac"===e?this.onAuthRevoked_(t.s,t.d):"apc"===e?this.onAppCheckRevoked_(t.s,t.d):"sd"===e?this.onSecurityDebugPacket_(t):S("Unrecognized action received from server: "+Object(i.C)(e)+"\nAre you using the latest client?")},t.prototype.onReady_=function(e,t){this.log_("connection ready"),this.connected_=!0,this.lastConnectionEstablishedTime_=(new Date).getTime(),this.handleTimestamp_(e),this.lastSessionId=t,this.firstConnection_&&this.sendConnectStats_(),this.restoreState_(),this.firstConnection_=!1,this.onConnectStatus_(!0)},t.prototype.scheduleConnect_=function(e){var t=this;Object(i.d)(!this.realtime_,"Scheduling a connect when we're already connected/ing?"),this.establishConnectionTimer_&&clearTimeout(this.establishConnectionTimer_),this.establishConnectionTimer_=setTimeout((function(){t.establishConnectionTimer_=null,t.establishConnection_()}),Math.floor(e))},t.prototype.initConnection_=function(){!this.realtime_&&this.firstConnection_&&this.scheduleConnect_(0)},t.prototype.onVisible_=function(e){e&&!this.visible_&&this.reconnectDelay_===this.maxReconnectDelay_&&(this.log_("Window became visible.  Reducing delay."),this.reconnectDelay_=1e3,this.realtime_||this.scheduleConnect_(0)),this.visible_=e},t.prototype.onOnline_=function(e){e?(this.log_("Browser went online."),this.reconnectDelay_=1e3,this.realtime_||this.scheduleConnect_(0)):(this.log_("Browser went offline.  Killing connection."),this.realtime_&&this.realtime_.close())},t.prototype.onRealtimeDisconnect_=function(){if(this.log_("data client disconnected"),this.connected_=!1,this.realtime_=null,this.cancelSentTransactions_(),this.requestCBHash_={},this.shouldReconnect_()){if(this.visible_){if(this.lastConnectionEstablishedTime_){(new Date).getTime()-this.lastConnectionEstablishedTime_>3e4&&(this.reconnectDelay_=1e3),this.lastConnectionEstablishedTime_=null}}else this.log_("Window isn't visible.  Delaying reconnect."),this.reconnectDelay_=this.maxReconnectDelay_,this.lastConnectionAttemptTime_=(new Date).getTime();var e=(new Date).getTime()-this.lastConnectionAttemptTime_,t=Math.max(0,this.reconnectDelay_-e);t=Math.random()*t,this.log_("Trying to reconnect in "+t+"ms"),this.scheduleConnect_(t),this.reconnectDelay_=Math.min(this.maxReconnectDelay_,1.3*this.reconnectDelay_)}this.onConnectStatus_(!1)},t.prototype.establishConnection_=function(){return Object(a.b)(this,void 0,void 0,(function(){var e,n,r,o,s,u,l,c,f,d,p,h,g,y,m=this;return Object(a.d)(this,(function(v){switch(v.label){case 0:if(!this.shouldReconnect_())return[3,4];this.log_("Making a connection attempt"),this.lastConnectionAttemptTime_=(new Date).getTime(),this.lastConnectionEstablishedTime_=null,e=this.onDataMessage_.bind(this),n=this.onReady_.bind(this),r=this.onRealtimeDisconnect_.bind(this),o=this.id+":"+t.nextConnectionId_++,s=this.lastSessionId,u=!1,l=null,c=function(){l?l.close():(u=!0,r())},f=function(e){Object(i.d)(l,"sendRequest call when we're not connected not allowed."),l.sendRequest(e)},this.realtime_={close:c,sendRequest:f},d=this.forceTokenRefresh_,this.forceTokenRefresh_=!1,v.label=1;case 1:return v.trys.push([1,3,,4]),[4,Promise.all([this.authTokenProvider_.getToken(d),this.appCheckTokenProvider_.getToken(d)])];case 2:return p=a.e.apply(void 0,[v.sent(),2]),h=p[0],g=p[1],u?N("getToken() completed but was canceled"):(N("getToken() completed. Creating connection."),this.authToken_=h&&h.accessToken,this.appCheckToken_=g&&g.token,l=new re(o,this.repoInfo_,this.applicationId_,this.appCheckToken_,this.authToken_,e,n,r,(function(e){D(e+" ("+m.repoInfo_.toString()+")"),m.interrupt("server_kill")}),s)),[3,4];case 3:return y=v.sent(),this.log_("Failed to get token: "+y),u||(this.repoInfo_.nodeAdmin&&D(y),c()),[3,4];case 4:return[2]}}))}))},t.prototype.interrupt=function(e){N("Interrupting connection for reason: "+e),this.interruptReasons_[e]=!0,this.realtime_?this.realtime_.close():(this.establishConnectionTimer_&&(clearTimeout(this.establishConnectionTimer_),this.establishConnectionTimer_=null),this.connected_&&this.onRealtimeDisconnect_())},t.prototype.resume=function(e){N("Resuming connection for reason: "+e),delete this.interruptReasons_[e],Object(i.q)(this.interruptReasons_)&&(this.reconnectDelay_=1e3,this.realtime_||this.scheduleConnect_(0))},t.prototype.handleTimestamp_=function(e){var t=e-(new Date).getTime();this.onServerInfoUpdate_({serverTimeOffset:t})},t.prototype.cancelSentTransactions_=function(){for(var e=0;e<this.outstandingPuts_.length;e++){var t=this.outstandingPuts_[e];t&&"h"in t.request&&t.queued&&(t.onComplete&&t.onComplete("disconnect"),delete this.outstandingPuts_[e],this.outstandingPutCount_--)}0===this.outstandingPutCount_&&(this.outstandingPuts_=[])},t.prototype.onListenRevoked_=function(e,t){var n;n=t?t.map((function(e){return L(e)})).join("$"):"default";var r=this.removeListen_(e,n);r&&r.onComplete&&r.onComplete("permission_denied")},t.prototype.removeListen_=function(e,t){var n,r=new se(e).toString();if(this.listens.has(r)){var o=this.listens.get(r);n=o.get(t),o.delete(t),0===o.size&&this.listens.delete(r)}else n=void 0;return n},t.prototype.onAuthRevoked_=function(e,t){N("Auth token revoked: "+e+"/"+t),this.authToken_=null,this.forceTokenRefresh_=!0,this.realtime_.close(),"invalid_token"!==e&&"permission_denied"!==e||(this.invalidAuthTokenCount_++,this.invalidAuthTokenCount_>=3&&(this.reconnectDelay_=3e4,this.authTokenProvider_.notifyForInvalidToken()))},t.prototype.onAppCheckRevoked_=function(e,t){N("App check token revoked: "+e+"/"+t),this.appCheckToken_=null,this.forceTokenRefresh_=!0,"invalid_token"!==e&&"permission_denied"!==e||(this.invalidAppCheckTokenCount_++,this.invalidAppCheckTokenCount_>=3&&this.appCheckTokenProvider_.notifyForInvalidToken())},t.prototype.onSecurityDebugPacket_=function(e){this.securityDebugCallback_?this.securityDebugCallback_(e):"msg"in e&&console.log("FIREBASE: "+e.msg.replace("\n","\nFIREBASE: "))},t.prototype.restoreState_=function(){var e,t,n,r;this.tryAuth(),this.tryAppCheck();try{for(var o=Object(a.h)(this.listens.values()),i=o.next();!i.done;i=o.next()){var s=i.value;try{for(var u=(n=void 0,Object(a.h)(s.values())),l=u.next();!l.done;l=u.next()){var c=l.value;this.sendListen_(c)}}catch(p){n={error:p}}finally{try{l&&!l.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}}}catch(h){e={error:h}}finally{try{i&&!i.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}for(var f=0;f<this.outstandingPuts_.length;f++)this.outstandingPuts_[f]&&this.sendPut_(f);for(;this.onDisconnectRequestQueue_.length;){var d=this.onDisconnectRequestQueue_.shift();this.sendOnDisconnect_(d.action,d.pathString,d.data,d.onComplete)}for(f=0;f<this.outstandingGets_.length;f++)this.outstandingGets_[f]&&this.sendGet_(f)},t.prototype.sendConnectStats_=function(){var e={},t="js";Object(i.t)()&&(t=this.repoInfo_.nodeAdmin?"admin_node":"node"),e["sdk."+t+"."+u.replace(/\./g,"-")]=1,Object(i.r)()?e["framework.cordova"]=1:Object(i.u)()&&(e["framework.reactnative"]=1),this.reportStats(e)},t.prototype.shouldReconnect_=function(){var e=ae.getInstance().currentlyOnline();return Object(i.q)(this.interruptReasons_)&&e},t.nextPersistentConnectionId_=0,t.nextConnectionId_=0,t}(oe),Ee=function(){function e(e,t){this.name=e,this.node=t}return e.Wrap=function(t,n){return new e(t,n)},e}(),Oe=function(){function e(){}return e.prototype.getCompare=function(){return this.compare.bind(this)},e.prototype.indexedValueChanged=function(e,t){var n=new Ee(E,e),r=new Ee(E,t);return 0!==this.compare(n,r)},e.prototype.minPost=function(){return Ee.MIN},e}(),Te=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(a.c)(t,e),Object.defineProperty(t,"__EMPTY_NODE",{get:function(){return Se},set:function(e){Se=e},enumerable:!1,configurable:!0}),t.prototype.compare=function(e,t){return T(e.name,t.name)},t.prototype.isDefinedOn=function(e){throw Object(i.e)("KeyIndex.isDefinedOn not expected to be called.")},t.prototype.indexedValueChanged=function(e,t){return!1},t.prototype.minPost=function(){return Ee.MIN},t.prototype.maxPost=function(){return new Ee(O,Se)},t.prototype.makePost=function(e,t){return Object(i.d)("string"===typeof e,"KeyIndex indexValue must always be a string."),new Ee(e,Se)},t.prototype.toString=function(){return".key"},t}(Oe),Ce=new Te,ke=function(){function e(e,t,n,r,o){void 0===o&&(o=null),this.isReverse_=r,this.resultGenerator_=o,this.nodeStack_=[];for(var i=1;!e.isEmpty();)if(e=e,i=t?n(e.key,t):1,r&&(i*=-1),i<0)e=this.isReverse_?e.left:e.right;else{if(0===i){this.nodeStack_.push(e);break}this.nodeStack_.push(e),e=this.isReverse_?e.right:e.left}}return e.prototype.getNext=function(){if(0===this.nodeStack_.length)return null;var e,t=this.nodeStack_.pop();if(e=this.resultGenerator_?this.resultGenerator_(t.key,t.value):{key:t.key,value:t.value},this.isReverse_)for(t=t.left;!t.isEmpty();)this.nodeStack_.push(t),t=t.right;else for(t=t.right;!t.isEmpty();)this.nodeStack_.push(t),t=t.left;return e},e.prototype.hasNext=function(){return this.nodeStack_.length>0},e.prototype.peek=function(){if(0===this.nodeStack_.length)return null;var e=this.nodeStack_[this.nodeStack_.length-1];return this.resultGenerator_?this.resultGenerator_(e.key,e.value):{key:e.key,value:e.value}},e}(),Le=function(){function e(t,n,r,o,i){this.key=t,this.value=n,this.color=null!=r?r:e.RED,this.left=null!=o?o:Ae.EMPTY_NODE,this.right=null!=i?i:Ae.EMPTY_NODE}return e.prototype.copy=function(t,n,r,o,i){return new e(null!=t?t:this.key,null!=n?n:this.value,null!=r?r:this.color,null!=o?o:this.left,null!=i?i:this.right)},e.prototype.count=function(){return this.left.count()+1+this.right.count()},e.prototype.isEmpty=function(){return!1},e.prototype.inorderTraversal=function(e){return this.left.inorderTraversal(e)||!!e(this.key,this.value)||this.right.inorderTraversal(e)},e.prototype.reverseTraversal=function(e){return this.right.reverseTraversal(e)||e(this.key,this.value)||this.left.reverseTraversal(e)},e.prototype.min_=function(){return this.left.isEmpty()?this:this.left.min_()},e.prototype.minKey=function(){return this.min_().key},e.prototype.maxKey=function(){return this.right.isEmpty()?this.key:this.right.maxKey()},e.prototype.insert=function(e,t,n){var r=this,o=n(e,r.key);return(r=o<0?r.copy(null,null,null,r.left.insert(e,t,n),null):0===o?r.copy(null,t,null,null,null):r.copy(null,null,null,null,r.right.insert(e,t,n))).fixUp_()},e.prototype.removeMin_=function(){if(this.left.isEmpty())return Ae.EMPTY_NODE;var e=this;return e.left.isRed_()||e.left.left.isRed_()||(e=e.moveRedLeft_()),(e=e.copy(null,null,null,e.left.removeMin_(),null)).fixUp_()},e.prototype.remove=function(e,t){var n,r;if(t(e,(n=this).key)<0)n.left.isEmpty()||n.left.isRed_()||n.left.left.isRed_()||(n=n.moveRedLeft_()),n=n.copy(null,null,null,n.left.remove(e,t),null);else{if(n.left.isRed_()&&(n=n.rotateRight_()),n.right.isEmpty()||n.right.isRed_()||n.right.left.isRed_()||(n=n.moveRedRight_()),0===t(e,n.key)){if(n.right.isEmpty())return Ae.EMPTY_NODE;r=n.right.min_(),n=n.copy(r.key,r.value,null,null,n.right.removeMin_())}n=n.copy(null,null,null,null,n.right.remove(e,t))}return n.fixUp_()},e.prototype.isRed_=function(){return this.color},e.prototype.fixUp_=function(){var e=this;return e.right.isRed_()&&!e.left.isRed_()&&(e=e.rotateLeft_()),e.left.isRed_()&&e.left.left.isRed_()&&(e=e.rotateRight_()),e.left.isRed_()&&e.right.isRed_()&&(e=e.colorFlip_()),e},e.prototype.moveRedLeft_=function(){var e=this.colorFlip_();return e.right.left.isRed_()&&(e=(e=(e=e.copy(null,null,null,null,e.right.rotateRight_())).rotateLeft_()).colorFlip_()),e},e.prototype.moveRedRight_=function(){var e=this.colorFlip_();return e.left.left.isRed_()&&(e=(e=e.rotateRight_()).colorFlip_()),e},e.prototype.rotateLeft_=function(){var t=this.copy(null,null,e.RED,null,this.right.left);return this.right.copy(null,null,this.color,t,null)},e.prototype.rotateRight_=function(){var t=this.copy(null,null,e.RED,this.left.right,null);return this.left.copy(null,null,this.color,null,t)},e.prototype.colorFlip_=function(){var e=this.left.copy(null,null,!this.left.color,null,null),t=this.right.copy(null,null,!this.right.color,null,null);return this.copy(null,null,!this.color,e,t)},e.prototype.checkMaxDepth_=function(){var e=this.check_();return Math.pow(2,e)<=this.count()+1},e.prototype.check_=function(){if(this.isRed_()&&this.left.isRed_())throw new Error("Red node has red child("+this.key+","+this.value+")");if(this.right.isRed_())throw new Error("Right child of ("+this.key+","+this.value+") is red");var e=this.left.check_();if(e!==this.right.check_())throw new Error("Black depths differ");return e+(this.isRed_()?0:1)},e.RED=!0,e.BLACK=!1,e}(),_e=function(){function e(){}return e.prototype.copy=function(e,t,n,r,o){return this},e.prototype.insert=function(e,t,n){return new Le(e,t,null)},e.prototype.remove=function(e,t){return this},e.prototype.count=function(){return 0},e.prototype.isEmpty=function(){return!0},e.prototype.inorderTraversal=function(e){return!1},e.prototype.reverseTraversal=function(e){return!1},e.prototype.minKey=function(){return null},e.prototype.maxKey=function(){return null},e.prototype.check_=function(){return 0},e.prototype.isRed_=function(){return!1},e}(),Ae=function(){function e(t,n){void 0===n&&(n=e.EMPTY_NODE),this.comparator_=t,this.root_=n}return e.prototype.insert=function(t,n){return new e(this.comparator_,this.root_.insert(t,n,this.comparator_).copy(null,null,Le.BLACK,null,null))},e.prototype.remove=function(t){return new e(this.comparator_,this.root_.remove(t,this.comparator_).copy(null,null,Le.BLACK,null,null))},e.prototype.get=function(e){for(var t,n=this.root_;!n.isEmpty();){if(0===(t=this.comparator_(e,n.key)))return n.value;t<0?n=n.left:t>0&&(n=n.right)}return null},e.prototype.getPredecessorKey=function(e){for(var t,n=this.root_,r=null;!n.isEmpty();){if(0===(t=this.comparator_(e,n.key))){if(n.left.isEmpty())return r?r.key:null;for(n=n.left;!n.right.isEmpty();)n=n.right;return n.key}t<0?n=n.left:t>0&&(r=n,n=n.right)}throw new Error("Attempted to find predecessor key for a nonexistent key.  What gives?")},e.prototype.isEmpty=function(){return this.root_.isEmpty()},e.prototype.count=function(){return this.root_.count()},e.prototype.minKey=function(){return this.root_.minKey()},e.prototype.maxKey=function(){return this.root_.maxKey()},e.prototype.inorderTraversal=function(e){return this.root_.inorderTraversal(e)},e.prototype.reverseTraversal=function(e){return this.root_.reverseTraversal(e)},e.prototype.getIterator=function(e){return new ke(this.root_,null,this.comparator_,!1,e)},e.prototype.getIteratorFrom=function(e,t){return new ke(this.root_,e,this.comparator_,!1,t)},e.prototype.getReverseIteratorFrom=function(e,t){return new ke(this.root_,e,this.comparator_,!0,t)},e.prototype.getReverseIterator=function(e){return new ke(this.root_,null,this.comparator_,!0,e)},e.EMPTY_NODE=new _e,e}();function ze(e,t){return T(e.name,t.name)}function Pe(e,t){return T(e,t)}var Re,Ue,Be,Fe=function(e){return"number"===typeof e?"number:"+z(e):"string:"+e},Ye=function(e){if(e.isLeafNode()){var t=e.val();Object(i.d)("string"===typeof t||"number"===typeof t||"object"===typeof t&&Object(i.h)(t,".sv"),"Priority must be a string or number.")}else Object(i.d)(e===Ie||e.isEmpty(),"priority of unexpected type.");Object(i.d)(e===Ie||e.getPriority().isEmpty(),"Priority nodes can't have a priority of their own.")},Ge=function(){function e(t,n){void 0===n&&(n=e.__childrenNodeConstructor.EMPTY_NODE),this.value_=t,this.priorityNode_=n,this.lazyHash_=null,Object(i.d)(void 0!==this.value_&&null!==this.value_,"LeafNode shouldn't be created with null/undefined value."),Ye(this.priorityNode_)}return Object.defineProperty(e,"__childrenNodeConstructor",{get:function(){return Re},set:function(e){Re=e},enumerable:!1,configurable:!0}),e.prototype.isLeafNode=function(){return!0},e.prototype.getPriority=function(){return this.priorityNode_},e.prototype.updatePriority=function(t){return new e(this.value_,t)},e.prototype.getImmediateChild=function(t){return".priority"===t?this.priorityNode_:e.__childrenNodeConstructor.EMPTY_NODE},e.prototype.getChild=function(t){return ye(t)?this:".priority"===le(t)?this.priorityNode_:e.__childrenNodeConstructor.EMPTY_NODE},e.prototype.hasChild=function(){return!1},e.prototype.getPredecessorChildName=function(e,t){return null},e.prototype.updateImmediateChild=function(t,n){return".priority"===t?this.updatePriority(n):n.isEmpty()&&".priority"!==t?this:e.__childrenNodeConstructor.EMPTY_NODE.updateImmediateChild(t,n).updatePriority(this.priorityNode_)},e.prototype.updateChild=function(t,n){var r=le(t);return null===r?n:n.isEmpty()&&".priority"!==r?this:(Object(i.d)(".priority"!==r||1===ce(t),".priority must be the last token in a path"),this.updateImmediateChild(r,e.__childrenNodeConstructor.EMPTY_NODE.updateChild(fe(t),n)))},e.prototype.isEmpty=function(){return!1},e.prototype.numChildren=function(){return 0},e.prototype.forEachChild=function(e,t){return!1},e.prototype.val=function(e){return e&&!this.getPriority().isEmpty()?{".value":this.getValue(),".priority":this.getPriority().val()}:this.getValue()},e.prototype.hash=function(){if(null===this.lazyHash_){var e="";this.priorityNode_.isEmpty()||(e+="priority:"+Fe(this.priorityNode_.val())+":");var t=typeof this.value_;e+=t+":",e+="number"===t?z(this.value_):this.value_,this.lazyHash_=m(e)}return this.lazyHash_},e.prototype.getValue=function(){return this.value_},e.prototype.compareTo=function(t){return t===e.__childrenNodeConstructor.EMPTY_NODE?1:t instanceof e.__childrenNodeConstructor?-1:(Object(i.d)(t.isLeafNode(),"Unknown node type"),this.compareToLeafNode_(t))},e.prototype.compareToLeafNode_=function(t){var n=typeof t.value_,r=typeof this.value_,o=e.VALUE_TYPE_ORDER.indexOf(n),a=e.VALUE_TYPE_ORDER.indexOf(r);return Object(i.d)(o>=0,"Unknown leaf type: "+n),Object(i.d)(a>=0,"Unknown leaf type: "+r),o===a?"object"===r?0:this.value_<t.value_?-1:this.value_===t.value_?0:1:a-o},e.prototype.withIndex=function(){return this},e.prototype.isIndexed=function(){return!0},e.prototype.equals=function(e){if(e===this)return!0;if(e.isLeafNode()){var t=e;return this.value_===t.value_&&this.priorityNode_.equals(t.priorityNode_)}return!1},e.VALUE_TYPE_ORDER=["object","boolean","number","string"],e}();var He,Ve,Qe=new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(a.c)(t,e),t.prototype.compare=function(e,t){var n=e.node.getPriority(),r=t.node.getPriority(),o=n.compareTo(r);return 0===o?T(e.name,t.name):o},t.prototype.isDefinedOn=function(e){return!e.getPriority().isEmpty()},t.prototype.indexedValueChanged=function(e,t){return!e.getPriority().equals(t.getPriority())},t.prototype.minPost=function(){return Ee.MIN},t.prototype.maxPost=function(){return new Ee(O,new Ge("[PRIORITY-POST]",Be))},t.prototype.makePost=function(e,t){var n=Ue(e);return new Ee(t,new Ge("[PRIORITY-POST]",n))},t.prototype.toString=function(){return".priority"},t}(Oe)),We=Math.log(2),Ze=function(){function e(e){var t;this.count=(t=e+1,parseInt(Math.log(t)/We,10)),this.current_=this.count-1;var n,r=(n=this.count,parseInt(Array(n+1).join("1"),2));this.bits_=e+1&r}return e.prototype.nextBitIsOne=function(){var e=!(this.bits_&1<<this.current_);return this.current_--,e},e}(),qe=function(e,t,n,r){e.sort(t);var o=function(t){for(var r=null,o=null,i=e.length,a=function(t,r){var o=i-t,a=i;i-=t;var u=function t(r,o){var i,a,s=o-r;if(0===s)return null;if(1===s)return i=e[r],a=n?n(i):i,new Le(a,i.node,Le.BLACK,null,null);var u=parseInt(s/2,10)+r,l=t(r,u),c=t(u+1,o);return i=e[u],a=n?n(i):i,new Le(a,i.node,Le.BLACK,l,c)}(o+1,a),l=e[o],c=n?n(l):l;s(new Le(c,l.node,r,null,u))},s=function(e){r?(r.left=e,r=e):(o=e,r=e)},u=0;u<t.count;++u){var l=t.nextBitIsOne(),c=Math.pow(2,t.count-(u+1));l?a(c,Le.BLACK):(a(c,Le.BLACK),a(c,Le.RED))}return o}(new Ze(e.length));return new Ae(r||t,o)},Xe={},$e=function(){function e(e,t){this.indexes_=e,this.indexSet_=t}return Object.defineProperty(e,"Default",{get:function(){return Object(i.d)(Xe&&Qe,"ChildrenNode.ts has not been loaded"),He=He||new e({".priority":Xe},{".priority":Qe})},enumerable:!1,configurable:!0}),e.prototype.get=function(e){var t=Object(i.z)(this.indexes_,e);if(!t)throw new Error("No index defined for "+e);return t instanceof Ae?t:null},e.prototype.hasIndex=function(e){return Object(i.h)(this.indexSet_,e.toString())},e.prototype.addIndex=function(t,n){Object(i.d)(t!==Ce,"KeyIndex always exists and isn't meant to be added to the IndexMap.");for(var r,o=[],s=!1,u=n.getIterator(Ee.Wrap),l=u.getNext();l;)s=s||t.isDefinedOn(l.node),o.push(l),l=u.getNext();r=s?qe(o,t.getCompare()):Xe;var c=t.toString(),f=Object(a.a)({},this.indexSet_);f[c]=t;var d=Object(a.a)({},this.indexes_);return d[c]=r,new e(d,f)},e.prototype.addToIndexes=function(t,n){var r=this;return new e(Object(i.x)(this.indexes_,(function(e,o){var a=Object(i.z)(r.indexSet_,o);if(Object(i.d)(a,"Missing index implementation for "+o),e===Xe){if(a.isDefinedOn(t.node)){for(var s=[],u=n.getIterator(Ee.Wrap),l=u.getNext();l;)l.name!==t.name&&s.push(l),l=u.getNext();return s.push(t),qe(s,a.getCompare())}return Xe}var c=n.get(t.name),f=e;return c&&(f=f.remove(new Ee(t.name,c))),f.insert(t,t.node)})),this.indexSet_)},e.prototype.removeFromIndexes=function(t,n){return new e(Object(i.x)(this.indexes_,(function(e){if(e===Xe)return e;var r=n.get(t.name);return r?e.remove(new Ee(t.name,r)):e})),this.indexSet_)},e}(),Je=function(){function e(e,t,n){this.children_=e,this.priorityNode_=t,this.indexMap_=n,this.lazyHash_=null,this.priorityNode_&&Ye(this.priorityNode_),this.children_.isEmpty()&&Object(i.d)(!this.priorityNode_||this.priorityNode_.isEmpty(),"An empty node cannot have a priority")}return Object.defineProperty(e,"EMPTY_NODE",{get:function(){return Ve||(Ve=new e(new Ae(Pe),null,$e.Default))},enumerable:!1,configurable:!0}),e.prototype.isLeafNode=function(){return!1},e.prototype.getPriority=function(){return this.priorityNode_||Ve},e.prototype.updatePriority=function(t){return this.children_.isEmpty()?this:new e(this.children_,t,this.indexMap_)},e.prototype.getImmediateChild=function(e){if(".priority"===e)return this.getPriority();var t=this.children_.get(e);return null===t?Ve:t},e.prototype.getChild=function(e){var t=le(e);return null===t?this:this.getImmediateChild(t).getChild(fe(e))},e.prototype.hasChild=function(e){return null!==this.children_.get(e)},e.prototype.updateImmediateChild=function(t,n){if(Object(i.d)(n,"We should always be passing snapshot nodes"),".priority"===t)return this.updatePriority(n);var r=new Ee(t,n),o=void 0,a=void 0;n.isEmpty()?(o=this.children_.remove(t),a=this.indexMap_.removeFromIndexes(r,this.children_)):(o=this.children_.insert(t,n),a=this.indexMap_.addToIndexes(r,this.children_));var s=o.isEmpty()?Ve:this.priorityNode_;return new e(o,s,a)},e.prototype.updateChild=function(e,t){var n=le(e);if(null===n)return t;Object(i.d)(".priority"!==le(e)||1===ce(e),".priority must be the last token in a path");var r=this.getImmediateChild(n).updateChild(fe(e),t);return this.updateImmediateChild(n,r)},e.prototype.isEmpty=function(){return this.children_.isEmpty()},e.prototype.numChildren=function(){return this.children_.count()},e.prototype.val=function(t){if(this.isEmpty())return null;var n={},r=0,o=0,i=!0;if(this.forEachChild(Qe,(function(a,s){n[a]=s.val(t),r++,i&&e.INTEGER_REGEXP_.test(a)?o=Math.max(o,Number(a)):i=!1})),!t&&i&&o<2*r){var a=[];for(var s in n)a[s]=n[s];return a}return t&&!this.getPriority().isEmpty()&&(n[".priority"]=this.getPriority().val()),n},e.prototype.hash=function(){if(null===this.lazyHash_){var e="";this.getPriority().isEmpty()||(e+="priority:"+Fe(this.getPriority().val())+":"),this.forEachChild(Qe,(function(t,n){var r=n.hash();""!==r&&(e+=":"+t+":"+r)})),this.lazyHash_=""===e?"":m(e)}return this.lazyHash_},e.prototype.getPredecessorChildName=function(e,t,n){var r=this.resolveIndex_(n);if(r){var o=r.getPredecessorKey(new Ee(e,t));return o?o.name:null}return this.children_.getPredecessorKey(e)},e.prototype.getFirstChildName=function(e){var t=this.resolveIndex_(e);if(t){var n=t.minKey();return n&&n.name}return this.children_.minKey()},e.prototype.getFirstChild=function(e){var t=this.getFirstChildName(e);return t?new Ee(t,this.children_.get(t)):null},e.prototype.getLastChildName=function(e){var t=this.resolveIndex_(e);if(t){var n=t.maxKey();return n&&n.name}return this.children_.maxKey()},e.prototype.getLastChild=function(e){var t=this.getLastChildName(e);return t?new Ee(t,this.children_.get(t)):null},e.prototype.forEachChild=function(e,t){var n=this.resolveIndex_(e);return n?n.inorderTraversal((function(e){return t(e.name,e.node)})):this.children_.inorderTraversal(t)},e.prototype.getIterator=function(e){return this.getIteratorFrom(e.minPost(),e)},e.prototype.getIteratorFrom=function(e,t){var n=this.resolveIndex_(t);if(n)return n.getIteratorFrom(e,(function(e){return e}));for(var r=this.children_.getIteratorFrom(e.name,Ee.Wrap),o=r.peek();null!=o&&t.compare(o,e)<0;)r.getNext(),o=r.peek();return r},e.prototype.getReverseIterator=function(e){return this.getReverseIteratorFrom(e.maxPost(),e)},e.prototype.getReverseIteratorFrom=function(e,t){var n=this.resolveIndex_(t);if(n)return n.getReverseIteratorFrom(e,(function(e){return e}));for(var r=this.children_.getReverseIteratorFrom(e.name,Ee.Wrap),o=r.peek();null!=o&&t.compare(o,e)>0;)r.getNext(),o=r.peek();return r},e.prototype.compareTo=function(e){return this.isEmpty()?e.isEmpty()?0:-1:e.isLeafNode()||e.isEmpty()?1:e===Ke?-1:0},e.prototype.withIndex=function(t){if(t===Ce||this.indexMap_.hasIndex(t))return this;var n=this.indexMap_.addIndex(t,this.children_);return new e(this.children_,this.priorityNode_,n)},e.prototype.isIndexed=function(e){return e===Ce||this.indexMap_.hasIndex(e)},e.prototype.equals=function(e){if(e===this)return!0;if(e.isLeafNode())return!1;var t=e;if(this.getPriority().equals(t.getPriority())){if(this.children_.count()===t.children_.count()){for(var n=this.getIterator(Qe),r=t.getIterator(Qe),o=n.getNext(),i=r.getNext();o&&i;){if(o.name!==i.name||!o.node.equals(i.node))return!1;o=n.getNext(),i=r.getNext()}return null===o&&null===i}return!1}return!1},e.prototype.resolveIndex_=function(e){return e===Ce?null:this.indexMap_.get(e.toString())},e.INTEGER_REGEXP_=/^(0|[1-9]\d*)$/,e}(),Ke=new(function(e){function t(){return e.call(this,new Ae(Pe),Je.EMPTY_NODE,$e.Default)||this}return Object(a.c)(t,e),t.prototype.compareTo=function(e){return e===this?0:1},t.prototype.equals=function(e){return e===this},t.prototype.getPriority=function(){return this},t.prototype.getImmediateChild=function(e){return Je.EMPTY_NODE},t.prototype.isEmpty=function(){return!1},t}(Je));Object.defineProperties(Ee,{MIN:{value:new Ee(E,Je.EMPTY_NODE)},MAX:{value:new Ee(O,Ke)}}),Te.__EMPTY_NODE=Je.EMPTY_NODE,Ge.__childrenNodeConstructor=Je,Ie=Ke,function(e){Be=e}(Ke);function et(e,t){if(void 0===t&&(t=null),null===e)return Je.EMPTY_NODE;if("object"===typeof e&&".priority"in e&&(t=e[".priority"]),Object(i.d)(null===t||"string"===typeof t||"number"===typeof t||"object"===typeof t&&".sv"in t,"Invalid priority type found: "+typeof t),"object"===typeof e&&".value"in e&&null!==e[".value"]&&(e=e[".value"]),"object"!==typeof e||".sv"in e)return new Ge(e,et(t));if(e instanceof Array){var n=Je.EMPTY_NODE;return A(e,(function(t,r){if(Object(i.h)(e,t)&&"."!==t.substring(0,1)){var o=et(r);!o.isLeafNode()&&o.isEmpty()||(n=n.updateImmediateChild(t,o))}})),n.updatePriority(et(t))}var r=[],o=!1;if(A(e,(function(e,t){if("."!==e.substring(0,1)){var n=et(t);n.isEmpty()||(o=o||!n.getPriority().isEmpty(),r.push(new Ee(e,n)))}})),0===r.length)return Je.EMPTY_NODE;var a=qe(r,ze,(function(e){return e.name}),Pe);if(o){var s=qe(r,Qe.getCompare());return new Je(a,et(t),new $e({".priority":s},{".priority":Qe}))}return new Je(a,et(t),$e.Default)}!function(e){Ue=e}(et);var tt=function(e){function t(t){var n=e.call(this)||this;return n.indexPath_=t,Object(i.d)(!ye(t)&&".priority"!==le(t),"Can't create PathIndex with empty path or .priority key"),n}return Object(a.c)(t,e),t.prototype.extractChild=function(e){return e.getChild(this.indexPath_)},t.prototype.isDefinedOn=function(e){return!e.getChild(this.indexPath_).isEmpty()},t.prototype.compare=function(e,t){var n=this.extractChild(e.node),r=this.extractChild(t.node),o=n.compareTo(r);return 0===o?T(e.name,t.name):o},t.prototype.makePost=function(e,t){var n=et(e),r=Je.EMPTY_NODE.updateChild(this.indexPath_,n);return new Ee(t,r)},t.prototype.maxPost=function(){var e=Je.EMPTY_NODE.updateChild(this.indexPath_,Ke);return new Ee(O,e)},t.prototype.toString=function(){return pe(this.indexPath_,0).join("/")},t}(Oe),nt=new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(a.c)(t,e),t.prototype.compare=function(e,t){var n=e.node.compareTo(t.node);return 0===n?T(e.name,t.name):n},t.prototype.isDefinedOn=function(e){return!0},t.prototype.indexedValueChanged=function(e,t){return!e.equals(t)},t.prototype.minPost=function(){return Ee.MIN},t.prototype.maxPost=function(){return Ee.MAX},t.prototype.makePost=function(e,t){var n=et(e);return new Ee(t,n)},t.prototype.toString=function(){return".value"},t}(Oe)),rt="-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz",ot=function(){var e=0,t=[];return function(n){var r,o=n===e;e=n;var a=new Array(8);for(r=7;r>=0;r--)a[r]=rt.charAt(n%64),n=Math.floor(n/64);Object(i.d)(0===n,"Cannot push at time == 0");var s=a.join("");if(o){for(r=11;r>=0&&63===t[r];r--)t[r]=0;t[r]++}else for(r=0;r<12;r++)t[r]=Math.floor(64*Math.random());for(r=0;r<12;r++)s+=rt.charAt(t[r]);return Object(i.d)(20===s.length,"nextPushId: Length should be 20."),s}}(),it=function(e){if("2147483647"===e)return"-";var t=R(e);if(null!=t)return""+(t+1);for(var n=new Array(e.length),r=0;r<n.length;r++)n[r]=e.charAt(r);if(n.length<786)return n.push("-"),n.join("");for(var o=n.length-1;o>=0&&"z"===n[o];)o--;if(-1===o)return O;var i=n[o],a=rt.charAt(rt.indexOf(i)+1);return n[o]=a,n.slice(0,o+1).join("")},at=function(e){if("-2147483648"===e)return E;var t=R(e);if(null!=t)return""+(t-1);for(var n=new Array(e.length),r=0;r<n.length;r++)n[r]=e.charAt(r);return"-"===n[n.length-1]?1===n.length?"2147483647":(delete n[n.length-1],n.join("")):(n[n.length-1]=rt.charAt(rt.indexOf(n[n.length-1])-1),n.join("")+"z".repeat(786-n.length))};function st(e){return{type:"value",snapshotNode:e}}function ut(e,t){return{type:"child_added",snapshotNode:t,childName:e}}function lt(e,t){return{type:"child_removed",snapshotNode:t,childName:e}}function ct(e,t,n){return{type:"child_changed",snapshotNode:t,childName:e,oldSnap:n}}var ft=function(){function e(e){this.index_=e}return e.prototype.updateChild=function(e,t,n,r,o,a){Object(i.d)(e.isIndexed(this.index_),"A node must be indexed if only a child is updated");var s=e.getImmediateChild(t);return s.getChild(r).equals(n.getChild(r))&&s.isEmpty()===n.isEmpty()?e:(null!=a&&(n.isEmpty()?e.hasChild(t)?a.trackChildChange(lt(t,s)):Object(i.d)(e.isLeafNode(),"A child remove without an old child only makes sense on a leaf node"):s.isEmpty()?a.trackChildChange(ut(t,n)):a.trackChildChange(ct(t,n,s))),e.isLeafNode()&&n.isEmpty()?e:e.updateImmediateChild(t,n).withIndex(this.index_))},e.prototype.updateFullNode=function(e,t,n){return null!=n&&(e.isLeafNode()||e.forEachChild(Qe,(function(e,r){t.hasChild(e)||n.trackChildChange(lt(e,r))})),t.isLeafNode()||t.forEachChild(Qe,(function(t,r){if(e.hasChild(t)){var o=e.getImmediateChild(t);o.equals(r)||n.trackChildChange(ct(t,r,o))}else n.trackChildChange(ut(t,r))}))),t.withIndex(this.index_)},e.prototype.updatePriority=function(e,t){return e.isEmpty()?Je.EMPTY_NODE:e.updatePriority(t)},e.prototype.filtersNodes=function(){return!1},e.prototype.getIndexedFilter=function(){return this},e.prototype.getIndex=function(){return this.index_},e}(),dt=function(){function e(t){this.indexedFilter_=new ft(t.getIndex()),this.index_=t.getIndex(),this.startPost_=e.getStartPost_(t),this.endPost_=e.getEndPost_(t)}return e.prototype.getStartPost=function(){return this.startPost_},e.prototype.getEndPost=function(){return this.endPost_},e.prototype.matches=function(e){return this.index_.compare(this.getStartPost(),e)<=0&&this.index_.compare(e,this.getEndPost())<=0},e.prototype.updateChild=function(e,t,n,r,o,i){return this.matches(new Ee(t,n))||(n=Je.EMPTY_NODE),this.indexedFilter_.updateChild(e,t,n,r,o,i)},e.prototype.updateFullNode=function(e,t,n){t.isLeafNode()&&(t=Je.EMPTY_NODE);var r=t.withIndex(this.index_);r=r.updatePriority(Je.EMPTY_NODE);var o=this;return t.forEachChild(Qe,(function(e,t){o.matches(new Ee(e,t))||(r=r.updateImmediateChild(e,Je.EMPTY_NODE))})),this.indexedFilter_.updateFullNode(e,r,n)},e.prototype.updatePriority=function(e,t){return e},e.prototype.filtersNodes=function(){return!0},e.prototype.getIndexedFilter=function(){return this.indexedFilter_},e.prototype.getIndex=function(){return this.index_},e.getStartPost_=function(e){if(e.hasStart()){var t=e.getIndexStartName();return e.getIndex().makePost(e.getIndexStartValue(),t)}return e.getIndex().minPost()},e.getEndPost_=function(e){if(e.hasEnd()){var t=e.getIndexEndName();return e.getIndex().makePost(e.getIndexEndValue(),t)}return e.getIndex().maxPost()},e}(),pt=function(){function e(e){this.rangedFilter_=new dt(e),this.index_=e.getIndex(),this.limit_=e.getLimit(),this.reverse_=!e.isViewFromLeft()}return e.prototype.updateChild=function(e,t,n,r,o,i){return this.rangedFilter_.matches(new Ee(t,n))||(n=Je.EMPTY_NODE),e.getImmediateChild(t).equals(n)?e:e.numChildren()<this.limit_?this.rangedFilter_.getIndexedFilter().updateChild(e,t,n,r,o,i):this.fullLimitUpdateChild_(e,t,n,o,i)},e.prototype.updateFullNode=function(e,t,n){var r;if(t.isLeafNode()||t.isEmpty())r=Je.EMPTY_NODE.withIndex(this.index_);else if(2*this.limit_<t.numChildren()&&t.isIndexed(this.index_)){r=Je.EMPTY_NODE.withIndex(this.index_);var o=void 0;o=this.reverse_?t.getReverseIteratorFrom(this.rangedFilter_.getEndPost(),this.index_):t.getIteratorFrom(this.rangedFilter_.getStartPost(),this.index_);for(var i=0;o.hasNext()&&i<this.limit_;){var a=o.getNext();if(!(this.reverse_?this.index_.compare(this.rangedFilter_.getStartPost(),a)<=0:this.index_.compare(a,this.rangedFilter_.getEndPost())<=0))break;r=r.updateImmediateChild(a.name,a.node),i++}}else{r=(r=t.withIndex(this.index_)).updatePriority(Je.EMPTY_NODE);var s=void 0,u=void 0,l=void 0;o=void 0;if(this.reverse_){o=r.getReverseIterator(this.index_),s=this.rangedFilter_.getEndPost(),u=this.rangedFilter_.getStartPost();var c=this.index_.getCompare();l=function(e,t){return c(t,e)}}else o=r.getIterator(this.index_),s=this.rangedFilter_.getStartPost(),u=this.rangedFilter_.getEndPost(),l=this.index_.getCompare();i=0;for(var f=!1;o.hasNext();){a=o.getNext();!f&&l(s,a)<=0&&(f=!0),f&&i<this.limit_&&l(a,u)<=0?i++:r=r.updateImmediateChild(a.name,Je.EMPTY_NODE)}}return this.rangedFilter_.getIndexedFilter().updateFullNode(e,r,n)},e.prototype.updatePriority=function(e,t){return e},e.prototype.filtersNodes=function(){return!0},e.prototype.getIndexedFilter=function(){return this.rangedFilter_.getIndexedFilter()},e.prototype.getIndex=function(){return this.index_},e.prototype.fullLimitUpdateChild_=function(e,t,n,r,o){var a;if(this.reverse_){var s=this.index_.getCompare();a=function(e,t){return s(t,e)}}else a=this.index_.getCompare();var u=e;Object(i.d)(u.numChildren()===this.limit_,"");var l=new Ee(t,n),c=this.reverse_?u.getFirstChild(this.index_):u.getLastChild(this.index_),f=this.rangedFilter_.matches(l);if(u.hasChild(t)){for(var d=u.getImmediateChild(t),p=r.getChildAfterChild(this.index_,c,this.reverse_);null!=p&&(p.name===t||u.hasChild(p.name));)p=r.getChildAfterChild(this.index_,p,this.reverse_);var h=null==p?1:a(p,l);if(f&&!n.isEmpty()&&h>=0)return null!=o&&o.trackChildChange(ct(t,n,d)),u.updateImmediateChild(t,n);null!=o&&o.trackChildChange(lt(t,d));var g=u.updateImmediateChild(t,Je.EMPTY_NODE);return null!=p&&this.rangedFilter_.matches(p)?(null!=o&&o.trackChildChange(ut(p.name,p.node)),g.updateImmediateChild(p.name,p.node)):g}return n.isEmpty()?e:f&&a(c,l)>=0?(null!=o&&(o.trackChildChange(lt(c.name,c.node)),o.trackChildChange(ut(t,n))),u.updateImmediateChild(t,n).updateImmediateChild(c.name,Je.EMPTY_NODE)):e},e}(),ht=function(){function e(){this.limitSet_=!1,this.startSet_=!1,this.startNameSet_=!1,this.startAfterSet_=!1,this.endSet_=!1,this.endNameSet_=!1,this.endBeforeSet_=!1,this.limit_=0,this.viewFrom_="",this.indexStartValue_=null,this.indexStartName_="",this.indexEndValue_=null,this.indexEndName_="",this.index_=Qe}return e.prototype.hasStart=function(){return this.startSet_},e.prototype.hasStartAfter=function(){return this.startAfterSet_},e.prototype.hasEndBefore=function(){return this.endBeforeSet_},e.prototype.isViewFromLeft=function(){return""===this.viewFrom_?this.startSet_:"l"===this.viewFrom_},e.prototype.getIndexStartValue=function(){return Object(i.d)(this.startSet_,"Only valid if start has been set"),this.indexStartValue_},e.prototype.getIndexStartName=function(){return Object(i.d)(this.startSet_,"Only valid if start has been set"),this.startNameSet_?this.indexStartName_:E},e.prototype.hasEnd=function(){return this.endSet_},e.prototype.getIndexEndValue=function(){return Object(i.d)(this.endSet_,"Only valid if end has been set"),this.indexEndValue_},e.prototype.getIndexEndName=function(){return Object(i.d)(this.endSet_,"Only valid if end has been set"),this.endNameSet_?this.indexEndName_:O},e.prototype.hasLimit=function(){return this.limitSet_},e.prototype.hasAnchoredLimit=function(){return this.limitSet_&&""!==this.viewFrom_},e.prototype.getLimit=function(){return Object(i.d)(this.limitSet_,"Only valid if limit has been set"),this.limit_},e.prototype.getIndex=function(){return this.index_},e.prototype.loadsAllData=function(){return!(this.startSet_||this.endSet_||this.limitSet_)},e.prototype.isDefault=function(){return this.loadsAllData()&&this.index_===Qe},e.prototype.copy=function(){var t=new e;return t.limitSet_=this.limitSet_,t.limit_=this.limit_,t.startSet_=this.startSet_,t.indexStartValue_=this.indexStartValue_,t.startNameSet_=this.startNameSet_,t.indexStartName_=this.indexStartName_,t.endSet_=this.endSet_,t.indexEndValue_=this.indexEndValue_,t.endNameSet_=this.endNameSet_,t.indexEndName_=this.indexEndName_,t.index_=this.index_,t.viewFrom_=this.viewFrom_,t},e}();function gt(e,t,n){var r=e.copy();return r.startSet_=!0,void 0===t&&(t=null),r.indexStartValue_=t,null!=n?(r.startNameSet_=!0,r.indexStartName_=n):(r.startNameSet_=!1,r.indexStartName_=""),r}function yt(e,t,n){var r=e.copy();return r.endSet_=!0,void 0===t&&(t=null),r.indexEndValue_=t,void 0!==n?(r.endNameSet_=!0,r.indexEndName_=n):(r.endNameSet_=!1,r.indexEndName_=""),r}function mt(e,t){var n=e.copy();return n.index_=t,n}function vt(e){var t,n={};return e.isDefault()||(e.index_===Qe?t="$priority":e.index_===nt?t="$value":e.index_===Ce?t="$key":(Object(i.d)(e.index_ instanceof tt,"Unrecognized index type!"),t=e.index_.toString()),n.orderBy=Object(i.C)(t),e.startSet_&&(n.startAt=Object(i.C)(e.indexStartValue_),e.startNameSet_&&(n.startAt+=","+Object(i.C)(e.indexStartName_))),e.endSet_&&(n.endAt=Object(i.C)(e.indexEndValue_),e.endNameSet_&&(n.endAt+=","+Object(i.C)(e.indexEndName_))),e.limitSet_&&(e.isViewFromLeft()?n.limitToFirst=e.limit_:n.limitToLast=e.limit_)),n}function bt(e){var t={};if(e.startSet_&&(t.sp=e.indexStartValue_,e.startNameSet_&&(t.sn=e.indexStartName_)),e.endSet_&&(t.ep=e.indexEndValue_,e.endNameSet_&&(t.en=e.indexEndName_)),e.limitSet_){t.l=e.limit_;var n=e.viewFrom_;""===n&&(n=e.isViewFromLeft()?"l":"r"),t.vf=n}return e.index_!==Qe&&(t.i=e.index_.toString()),t}var Mt=function(e){function t(t,n,r,o){var i=e.call(this)||this;return i.repoInfo_=t,i.onDataUpdate_=n,i.authTokenProvider_=r,i.appCheckTokenProvider_=o,i.log_=j("p:rest:"),i.listens_={},i}return Object(a.c)(t,e),t.prototype.reportStats=function(e){throw new Error("Method not implemented.")},t.getListenId_=function(e,t){return void 0!==t?"tag$"+t:(Object(i.d)(e._queryParams.isDefault(),"should have a tag if it's not a default query."),e._path.toString())},t.prototype.listen=function(e,n,r,o){var a=this,s=e._path.toString();this.log_("Listen called for "+s+" "+e._queryIdentifier);var u=t.getListenId_(e,r),l={};this.listens_[u]=l;var c=vt(e._queryParams);this.restRequest_(s+".json",c,(function(e,t){var n=t;(404===e&&(n=null,e=null),null===e&&a.onDataUpdate_(s,n,!1,r),Object(i.z)(a.listens_,u)===l)&&o(e?401===e?"permission_denied":"rest_error:"+e:"ok",null)}))},t.prototype.unlisten=function(e,n){var r=t.getListenId_(e,n);delete this.listens_[r]},t.prototype.get=function(e){var t=this,n=vt(e._queryParams),r=e._path.toString(),o=new i.a;return this.restRequest_(r+".json",n,(function(e,n){var i=n;404===e&&(i=null,e=null),null===e?(t.onDataUpdate_(r,i,!1,null),o.resolve(i)):o.reject(new Error(i))})),o.promise},t.prototype.refreshAuthToken=function(e){},t.prototype.restRequest_=function(e,t,n){var r=this;return void 0===t&&(t={}),t.format="export",Promise.all([this.authTokenProvider_.getToken(!1),this.appCheckTokenProvider_.getToken(!1)]).then((function(o){var s=Object(a.e)(o,2),u=s[0],l=s[1];u&&u.accessToken&&(t.auth=u.accessToken),l&&l.token&&(t.ac=l.token);var c=(r.repoInfo_.secure?"https://":"http://")+r.repoInfo_.host+e+"?ns="+r.repoInfo_.namespace+Object(i.y)(t);r.log_("Sending REST request for "+c);var f=new XMLHttpRequest;f.onreadystatechange=function(){if(n&&4===f.readyState){r.log_("REST Response for "+c+" received. status:",f.status,"response:",f.responseText);var e=null;if(f.status>=200&&f.status<300){try{e=Object(i.w)(f.responseText)}catch(t){D("Failed to parse JSON response for "+c+": "+f.responseText)}n(null,e)}else 401!==f.status&&404!==f.status&&D("Got unsuccessful REST response for "+c+" Status: "+f.status),n(f.status);n=null}},f.open("GET",c,!0),f.send()}))},t}(oe),wt=function(){function e(){this.rootNode_=Je.EMPTY_NODE}return e.prototype.getNode=function(e){return this.rootNode_.getChild(e)},e.prototype.updateSnapshot=function(e,t){this.rootNode_=this.rootNode_.updateChild(e,t)},e}();function Nt(){return{value:null,children:new Map}}function jt(e,t,n){if(ye(t))e.value=n,e.children.clear();else if(null!==e.value)e.value=e.value.updateChild(t,n);else{var r=le(t);e.children.has(r)||e.children.set(r,Nt()),jt(e.children.get(r),t=fe(t),n)}}function St(e,t,n){null!==e.value?n(t,e.value):function(e,t){e.children.forEach((function(e,n){t(n,e)}))}(e,(function(e,r){St(r,new se(t.toString()+"/"+e),n)}))}var It,Dt=function(){function e(e){this.collection_=e,this.last_=null}return e.prototype.get=function(){var e=this.collection_.get(),t=Object(a.a)({},e);return this.last_&&A(this.last_,(function(e,n){t[e]=t[e]-n})),this.last_=e,t},e}(),xt=function(){function e(e,t){this.server_=t,this.statsToReport_={},this.statsListener_=new Dt(e);var n=1e4+2e4*Math.random();B(this.reportStats_.bind(this),Math.floor(n))}return e.prototype.reportStats_=function(){var e=this,t=this.statsListener_.get(),n={},r=!1;A(t,(function(t,o){o>0&&Object(i.h)(e.statsToReport_,t)&&(n[t]=o,r=!0)})),r&&this.server_.reportStats(n),B(this.reportStats_.bind(this),Math.floor(2*Math.random()*3e5))},e}();function Et(e){return{fromUser:!1,fromServer:!0,queryId:e,tagged:!0}}!function(e){e[e.OVERWRITE=0]="OVERWRITE",e[e.MERGE=1]="MERGE",e[e.ACK_USER_WRITE=2]="ACK_USER_WRITE",e[e.LISTEN_COMPLETE=3]="LISTEN_COMPLETE"}(It||(It={}));var Ot,Tt=function(){function e(e,t,n){this.path=e,this.affectedTree=t,this.revert=n,this.type=It.ACK_USER_WRITE,this.source={fromUser:!0,fromServer:!1,queryId:null,tagged:!1}}return e.prototype.operationForChild=function(t){if(ye(this.path)){if(null!=this.affectedTree.value)return Object(i.d)(this.affectedTree.children.isEmpty(),"affectedTree should not have overlapping affected paths."),this;var n=this.affectedTree.subtree(new se(t));return new e(ue(),n,this.revert)}return Object(i.d)(le(this.path)===t,"operationForChild called for unrelated child."),new e(fe(this.path),this.affectedTree,this.revert)},e}(),Ct=function(){function e(e,t){this.source=e,this.path=t,this.type=It.LISTEN_COMPLETE}return e.prototype.operationForChild=function(t){return ye(this.path)?new e(this.source,ue()):new e(this.source,fe(this.path))},e}(),kt=function(){function e(e,t,n){this.source=e,this.path=t,this.snap=n,this.type=It.OVERWRITE}return e.prototype.operationForChild=function(t){return ye(this.path)?new e(this.source,ue(),this.snap.getImmediateChild(t)):new e(this.source,fe(this.path),this.snap)},e}(),Lt=function(){function e(e,t,n){this.source=e,this.path=t,this.children=n,this.type=It.MERGE}return e.prototype.operationForChild=function(t){if(ye(this.path)){var n=this.children.subtree(new se(t));return n.isEmpty()?null:n.value?new kt(this.source,ue(),n.value):new e(this.source,ue(),n)}return Object(i.d)(le(this.path)===t,"Can't get a merge for a child not on the path of the operation"),new e(this.source,fe(this.path),this.children)},e.prototype.toString=function(){return"Operation("+this.path+": "+this.source.toString()+" merge: "+this.children.toString()+")"},e}(),_t=function(){function e(e,t,n){this.node_=e,this.fullyInitialized_=t,this.filtered_=n}return e.prototype.isFullyInitialized=function(){return this.fullyInitialized_},e.prototype.isFiltered=function(){return this.filtered_},e.prototype.isCompleteForPath=function(e){if(ye(e))return this.isFullyInitialized()&&!this.filtered_;var t=le(e);return this.isCompleteForChild(t)},e.prototype.isCompleteForChild=function(e){return this.isFullyInitialized()&&!this.filtered_||this.node_.hasChild(e)},e.prototype.getNode=function(){return this.node_},e}(),At=function(e){this.query_=e,this.index_=this.query_._queryParams.getIndex()};function zt(e,t,n,r,o,a){var s=r.filter((function(e){return e.type===n}));s.sort((function(t,n){return function(e,t,n){if(null==t.childName||null==n.childName)throw Object(i.e)("Should only compare child_ events.");var r=new Ee(t.childName,t.snapshotNode),o=new Ee(n.childName,n.snapshotNode);return e.index_.compare(r,o)}(e,t,n)})),s.forEach((function(n){var r=function(e,t,n){return"value"===t.type||"child_removed"===t.type||(t.prevName=n.getPredecessorChildName(t.childName,t.snapshotNode,e.index_)),t}(e,n,a);o.forEach((function(o){o.respondsTo(n.type)&&t.push(o.createEvent(r,e.query_))}))}))}function Pt(e,t){return{eventCache:e,serverCache:t}}function Rt(e,t,n,r){return Pt(new _t(t,n,r),e.serverCache)}function Ut(e,t,n,r){return Pt(e.eventCache,new _t(t,n,r))}function Bt(e){return e.eventCache.isFullyInitialized()?e.eventCache.getNode():null}function Ft(e){return e.serverCache.isFullyInitialized()?e.serverCache.getNode():null}var Yt=function(){function e(e,t){void 0===t&&(Ot||(Ot=new Ae(C)),t=Ot),this.value=e,this.children=t}return e.fromObject=function(t){var n=new e(null);return A(t,(function(e,t){n=n.set(new se(e),t)})),n},e.prototype.isEmpty=function(){return null===this.value&&this.children.isEmpty()},e.prototype.findRootMostMatchingPathAndValue=function(e,t){if(null!=this.value&&t(this.value))return{path:ue(),value:this.value};if(ye(e))return null;var n=le(e),r=this.children.get(n);if(null!==r){var o=r.findRootMostMatchingPathAndValue(fe(e),t);return null!=o?{path:ge(new se(n),o.path),value:o.value}:null}return null},e.prototype.findRootMostValueAndPath=function(e){return this.findRootMostMatchingPathAndValue(e,(function(){return!0}))},e.prototype.subtree=function(t){if(ye(t))return this;var n=le(t),r=this.children.get(n);return null!==r?r.subtree(fe(t)):new e(null)},e.prototype.set=function(t,n){if(ye(t))return new e(n,this.children);var r=le(t),o=(this.children.get(r)||new e(null)).set(fe(t),n),i=this.children.insert(r,o);return new e(this.value,i)},e.prototype.remove=function(t){if(ye(t))return this.children.isEmpty()?new e(null):new e(null,this.children);var n=le(t),r=this.children.get(n);if(r){var o=r.remove(fe(t)),i=void 0;return i=o.isEmpty()?this.children.remove(n):this.children.insert(n,o),null===this.value&&i.isEmpty()?new e(null):new e(this.value,i)}return this},e.prototype.get=function(e){if(ye(e))return this.value;var t=le(e),n=this.children.get(t);return n?n.get(fe(e)):null},e.prototype.setTree=function(t,n){if(ye(t))return n;var r=le(t),o=(this.children.get(r)||new e(null)).setTree(fe(t),n),i=void 0;return i=o.isEmpty()?this.children.remove(r):this.children.insert(r,o),new e(this.value,i)},e.prototype.fold=function(e){return this.fold_(ue(),e)},e.prototype.fold_=function(e,t){var n={};return this.children.inorderTraversal((function(r,o){n[r]=o.fold_(ge(e,r),t)})),t(e,this.value,n)},e.prototype.findOnPath=function(e,t){return this.findOnPath_(e,ue(),t)},e.prototype.findOnPath_=function(e,t,n){var r=!!this.value&&n(t,this.value);if(r)return r;if(ye(e))return null;var o=le(e),i=this.children.get(o);return i?i.findOnPath_(fe(e),ge(t,o),n):null},e.prototype.foreachOnPath=function(e,t){return this.foreachOnPath_(e,ue(),t)},e.prototype.foreachOnPath_=function(t,n,r){if(ye(t))return this;this.value&&r(n,this.value);var o=le(t),i=this.children.get(o);return i?i.foreachOnPath_(fe(t),ge(n,o),r):new e(null)},e.prototype.foreach=function(e){this.foreach_(ue(),e)},e.prototype.foreach_=function(e,t){this.children.inorderTraversal((function(n,r){r.foreach_(ge(e,n),t)})),this.value&&t(e,this.value)},e.prototype.foreachChild=function(e){this.children.inorderTraversal((function(t,n){n.value&&e(t,n.value)}))},e}(),Gt=function(){function e(e){this.writeTree_=e}return e.empty=function(){return new e(new Yt(null))},e}();function Ht(e,t,n){if(ye(t))return new Gt(new Yt(n));var r=e.writeTree_.findRootMostValueAndPath(t);if(null!=r){var o=r.path,i=r.value,a=me(o,t);return i=i.updateChild(a,n),new Gt(e.writeTree_.set(o,i))}var s=new Yt(n),u=e.writeTree_.setTree(t,s);return new Gt(u)}function Vt(e,t,n){var r=e;return A(n,(function(e,n){r=Ht(r,ge(t,e),n)})),r}function Qt(e,t){if(ye(t))return Gt.empty();var n=e.writeTree_.setTree(t,new Yt(null));return new Gt(n)}function Wt(e,t){return null!=Zt(e,t)}function Zt(e,t){var n=e.writeTree_.findRootMostValueAndPath(t);return null!=n?e.writeTree_.get(n.path).getChild(me(n.path,t)):null}function qt(e){var t=[],n=e.writeTree_.value;return null!=n?n.isLeafNode()||n.forEachChild(Qe,(function(e,n){t.push(new Ee(e,n))})):e.writeTree_.children.inorderTraversal((function(e,n){null!=n.value&&t.push(new Ee(e,n.value))})),t}function Xt(e,t){if(ye(t))return e;var n=Zt(e,t);return new Gt(null!=n?new Yt(n):e.writeTree_.subtree(t))}function $t(e){return e.writeTree_.isEmpty()}function Jt(e,t){return function e(t,n,r){if(null!=n.value)return r.updateChild(t,n.value);var o=null;return n.children.inorderTraversal((function(n,a){".priority"===n?(Object(i.d)(null!==a.value,"Priority writes must always be leaf nodes"),o=a.value):r=e(ge(t,n),a,r)})),r.getChild(t).isEmpty()||null===o||(r=r.updateChild(ge(t,".priority"),o)),r}(ue(),e.writeTree_,t)}function Kt(e,t){return pn(t,e)}function en(e,t){var n=e.allWrites.findIndex((function(e){return e.writeId===t}));Object(i.d)(n>=0,"removeWrite called with nonexistent writeId.");var r=e.allWrites[n];e.allWrites.splice(n,1);for(var o=r.visible,a=!1,s=e.allWrites.length-1;o&&s>=0;){var u=e.allWrites[s];u.visible&&(s>=n&&tn(u,r.path)?o=!1:Me(r.path,u.path)&&(a=!0)),s--}if(o){if(a)return function(e){e.visibleWrites=rn(e.allWrites,nn,ue()),e.allWrites.length>0?e.lastWriteId=e.allWrites[e.allWrites.length-1].writeId:e.lastWriteId=-1}(e),!0;r.snap?e.visibleWrites=Qt(e.visibleWrites,r.path):A(r.children,(function(t){e.visibleWrites=Qt(e.visibleWrites,ge(r.path,t))}));return!0}return!1}function tn(e,t){if(e.snap)return Me(e.path,t);for(var n in e.children)if(e.children.hasOwnProperty(n)&&Me(ge(e.path,n),t))return!0;return!1}function nn(e){return e.visible}function rn(e,t,n){for(var r=Gt.empty(),o=0;o<e.length;++o){var a=e[o];if(t(a)){var s=a.path,u=void 0;if(a.snap)Me(n,s)?r=Ht(r,u=me(n,s),a.snap):Me(s,n)&&(u=me(s,n),r=Ht(r,ue(),a.snap.getChild(u)));else{if(!a.children)throw Object(i.e)("WriteRecord should have .snap or .children");if(Me(n,s))r=Vt(r,u=me(n,s),a.children);else if(Me(s,n))if(ye(u=me(s,n)))r=Vt(r,ue(),a.children);else{var l=Object(i.z)(a.children,le(u));if(l){var c=l.getChild(fe(u));r=Ht(r,ue(),c)}}}}}return r}function on(e,t,n,r,o){if(r||o){var i=Xt(e.visibleWrites,t);if(!o&&$t(i))return n;if(o||null!=n||Wt(i,ue())){return Jt(rn(e.allWrites,(function(e){return(e.visible||o)&&(!r||!~r.indexOf(e.writeId))&&(Me(e.path,t)||Me(t,e.path))}),t),n||Je.EMPTY_NODE)}return null}var a=Zt(e.visibleWrites,t);if(null!=a)return a;var s=Xt(e.visibleWrites,t);return $t(s)?n:null!=n||Wt(s,ue())?Jt(s,n||Je.EMPTY_NODE):null}function an(e,t,n,r){return on(e.writeTree,e.treePath,t,n,r)}function sn(e,t){return function(e,t,n){var r=Je.EMPTY_NODE,o=Zt(e.visibleWrites,t);if(o)return o.isLeafNode()||o.forEachChild(Qe,(function(e,t){r=r.updateImmediateChild(e,t)})),r;if(n){var i=Xt(e.visibleWrites,t);return n.forEachChild(Qe,(function(e,t){var n=Jt(Xt(i,new se(e)),t);r=r.updateImmediateChild(e,n)})),qt(i).forEach((function(e){r=r.updateImmediateChild(e.name,e.node)})),r}return qt(Xt(e.visibleWrites,t)).forEach((function(e){r=r.updateImmediateChild(e.name,e.node)})),r}(e.writeTree,e.treePath,t)}function un(e,t,n,r){return function(e,t,n,r,o){Object(i.d)(r||o,"Either existingEventSnap or existingServerSnap must exist");var a=ge(t,n);if(Wt(e.visibleWrites,a))return null;var s=Xt(e.visibleWrites,a);return $t(s)?o.getChild(n):Jt(s,o.getChild(n))}(e.writeTree,e.treePath,t,n,r)}function ln(e,t){return function(e,t){return Zt(e.visibleWrites,t)}(e.writeTree,ge(e.treePath,t))}function cn(e,t,n,r,o,i){return function(e,t,n,r,o,i,a){var s,u=Xt(e.visibleWrites,t),l=Zt(u,ue());if(null!=l)s=l;else{if(null==n)return[];s=Jt(u,n)}if((s=s.withIndex(a)).isEmpty()||s.isLeafNode())return[];for(var c=[],f=a.getCompare(),d=i?s.getReverseIteratorFrom(r,a):s.getIteratorFrom(r,a),p=d.getNext();p&&c.length<o;)0!==f(p,r)&&c.push(p),p=d.getNext();return c}(e.writeTree,e.treePath,t,n,r,o,i)}function fn(e,t,n){return function(e,t,n,r){var o=ge(t,n),i=Zt(e.visibleWrites,o);return null!=i?i:r.isCompleteForChild(n)?Jt(Xt(e.visibleWrites,o),r.getNode().getImmediateChild(n)):null}(e.writeTree,e.treePath,t,n)}function dn(e,t){return pn(ge(e.treePath,t),e.writeTree)}function pn(e,t){return{treePath:e,writeTree:t}}var hn=function(){function e(){this.changeMap=new Map}return e.prototype.trackChildChange=function(e){var t=e.type,n=e.childName;Object(i.d)("child_added"===t||"child_changed"===t||"child_removed"===t,"Only child changes supported for tracking"),Object(i.d)(".priority"!==n,"Only non-priority child changes can be tracked.");var r=this.changeMap.get(n);if(r){var o=r.type;if("child_added"===t&&"child_removed"===o)this.changeMap.set(n,ct(n,e.snapshotNode,r.snapshotNode));else if("child_removed"===t&&"child_added"===o)this.changeMap.delete(n);else if("child_removed"===t&&"child_changed"===o)this.changeMap.set(n,lt(n,r.oldSnap));else if("child_changed"===t&&"child_added"===o)this.changeMap.set(n,ut(n,e.snapshotNode));else{if("child_changed"!==t||"child_changed"!==o)throw Object(i.e)("Illegal combination of changes: "+e+" occurred after "+r);this.changeMap.set(n,ct(n,e.snapshotNode,r.oldSnap))}}else this.changeMap.set(n,e)},e.prototype.getChanges=function(){return Array.from(this.changeMap.values())},e}(),gn=new(function(){function e(){}return e.prototype.getCompleteChild=function(e){return null},e.prototype.getChildAfterChild=function(e,t,n){return null},e}()),yn=function(){function e(e,t,n){void 0===n&&(n=null),this.writes_=e,this.viewCache_=t,this.optCompleteServerCache_=n}return e.prototype.getCompleteChild=function(e){var t=this.viewCache_.eventCache;if(t.isCompleteForChild(e))return t.getNode().getImmediateChild(e);var n=null!=this.optCompleteServerCache_?new _t(this.optCompleteServerCache_,!0,!1):this.viewCache_.serverCache;return fn(this.writes_,e,n)},e.prototype.getChildAfterChild=function(e,t,n){var r=null!=this.optCompleteServerCache_?this.optCompleteServerCache_:Ft(this.viewCache_),o=cn(this.writes_,r,t,1,n,e);return 0===o.length?null:o[0]},e}();function mn(e,t,n,r,o){var a,s,u=new hn;if(n.type===It.OVERWRITE){var l=n;l.source.fromUser?a=Mn(e,t,l.path,l.snap,r,o,u):(Object(i.d)(l.source.fromServer,"Unknown source."),s=l.source.tagged||t.serverCache.isFiltered()&&!ye(l.path),a=bn(e,t,l.path,l.snap,r,o,s,u))}else if(n.type===It.MERGE){var c=n;c.source.fromUser?a=function(e,t,n,r,o,i,a){var s=t;return r.foreach((function(r,u){var l=ge(n,r);wn(t,le(l))&&(s=Mn(e,s,l,u,o,i,a))})),r.foreach((function(r,u){var l=ge(n,r);wn(t,le(l))||(s=Mn(e,s,l,u,o,i,a))})),s}(e,t,c.path,c.children,r,o,u):(Object(i.d)(c.source.fromServer,"Unknown source."),s=c.source.tagged||t.serverCache.isFiltered(),a=jn(e,t,c.path,c.children,r,o,s,u))}else if(n.type===It.ACK_USER_WRITE){var f=n;a=f.revert?function(e,t,n,r,o,a){var s;if(null!=ln(r,n))return t;var u=new yn(r,t,o),l=t.eventCache.getNode(),c=void 0;if(ye(n)||".priority"===le(n)){var f=void 0;if(t.serverCache.isFullyInitialized())f=an(r,Ft(t));else{var d=t.serverCache.getNode();Object(i.d)(d instanceof Je,"serverChildren would be complete if leaf node"),f=sn(r,d)}f=f,c=e.filter.updateFullNode(l,f,a)}else{var p=le(n),h=fn(r,p,t.serverCache);null==h&&t.serverCache.isCompleteForChild(p)&&(h=l.getImmediateChild(p)),(c=null!=h?e.filter.updateChild(l,p,h,fe(n),u,a):t.eventCache.getNode().hasChild(p)?e.filter.updateChild(l,p,Je.EMPTY_NODE,fe(n),u,a):l).isEmpty()&&t.serverCache.isFullyInitialized()&&(s=an(r,Ft(t))).isLeafNode()&&(c=e.filter.updateFullNode(c,s,a))}return s=t.serverCache.isFullyInitialized()||null!=ln(r,ue()),Rt(t,c,s,e.filter.filtersNodes())}(e,t,f.path,r,o,u):function(e,t,n,r,o,i,a){if(null!=ln(o,n))return t;var s=t.serverCache.isFiltered(),u=t.serverCache;if(null!=r.value){if(ye(n)&&u.isFullyInitialized()||u.isCompleteForPath(n))return bn(e,t,n,u.getNode().getChild(n),o,i,s,a);if(ye(n)){var l=new Yt(null);return u.getNode().forEachChild(Ce,(function(e,t){l=l.set(new se(e),t)})),jn(e,t,n,l,o,i,s,a)}return t}var c=new Yt(null);return r.foreach((function(e,t){var r=ge(n,e);u.isCompleteForPath(r)&&(c=c.set(e,u.getNode().getChild(r)))})),jn(e,t,n,c,o,i,s,a)}(e,t,f.path,f.affectedTree,r,o,u)}else{if(n.type!==It.LISTEN_COMPLETE)throw Object(i.e)("Unknown operation type: "+n.type);a=function(e,t,n,r,o){var i=t.serverCache,a=Ut(t,i.getNode(),i.isFullyInitialized()||ye(n),i.isFiltered());return vn(e,a,n,r,gn,o)}(e,t,n.path,r,u)}var d=u.getChanges();return function(e,t,n){var r=t.eventCache;if(r.isFullyInitialized()){var o=r.getNode().isLeafNode()||r.getNode().isEmpty(),i=Bt(e);(n.length>0||!e.eventCache.isFullyInitialized()||o&&!r.getNode().equals(i)||!r.getNode().getPriority().equals(i.getPriority()))&&n.push(st(Bt(t)))}}(t,a,d),{viewCache:a,changes:d}}function vn(e,t,n,r,o,a){var s=t.eventCache;if(null!=ln(r,n))return t;var u=void 0,l=void 0;if(ye(n))if(Object(i.d)(t.serverCache.isFullyInitialized(),"If change path is empty, we must have complete server data"),t.serverCache.isFiltered()){var c=Ft(t),f=sn(r,c instanceof Je?c:Je.EMPTY_NODE);u=e.filter.updateFullNode(t.eventCache.getNode(),f,a)}else{var d=an(r,Ft(t));u=e.filter.updateFullNode(t.eventCache.getNode(),d,a)}else{var p=le(n);if(".priority"===p){Object(i.d)(1===ce(n),"Can't have a priority with additional path components");var h=s.getNode(),g=un(r,n,h,l=t.serverCache.getNode());u=null!=g?e.filter.updatePriority(h,g):s.getNode()}else{var y=fe(n),m=void 0;if(s.isCompleteForChild(p)){l=t.serverCache.getNode();var v=un(r,n,s.getNode(),l);m=null!=v?s.getNode().getImmediateChild(p).updateChild(y,v):s.getNode().getImmediateChild(p)}else m=fn(r,p,t.serverCache);u=null!=m?e.filter.updateChild(s.getNode(),p,m,y,o,a):s.getNode()}}return Rt(t,u,s.isFullyInitialized()||ye(n),e.filter.filtersNodes())}function bn(e,t,n,r,o,i,a,s){var u,l=t.serverCache,c=a?e.filter:e.filter.getIndexedFilter();if(ye(n))u=c.updateFullNode(l.getNode(),r,null);else if(c.filtersNodes()&&!l.isFiltered()){var f=l.getNode().updateChild(n,r);u=c.updateFullNode(l.getNode(),f,null)}else{var d=le(n);if(!l.isCompleteForPath(n)&&ce(n)>1)return t;var p=fe(n),h=l.getNode().getImmediateChild(d).updateChild(p,r);u=".priority"===d?c.updatePriority(l.getNode(),h):c.updateChild(l.getNode(),d,h,p,gn,null)}var g=Ut(t,u,l.isFullyInitialized()||ye(n),c.filtersNodes());return vn(e,g,n,o,new yn(o,g,i),s)}function Mn(e,t,n,r,o,i,a){var s,u,l=t.eventCache,c=new yn(o,t,i);if(ye(n))u=e.filter.updateFullNode(t.eventCache.getNode(),r,a),s=Rt(t,u,!0,e.filter.filtersNodes());else{var f=le(n);if(".priority"===f)u=e.filter.updatePriority(t.eventCache.getNode(),r),s=Rt(t,u,l.isFullyInitialized(),l.isFiltered());else{var d=fe(n),p=l.getNode().getImmediateChild(f),h=void 0;if(ye(d))h=r;else{var g=c.getCompleteChild(f);h=null!=g?".priority"===de(d)&&g.getChild(he(d)).isEmpty()?g:g.updateChild(d,r):Je.EMPTY_NODE}if(p.equals(h))s=t;else s=Rt(t,e.filter.updateChild(l.getNode(),f,h,d,c,a),l.isFullyInitialized(),e.filter.filtersNodes())}}return s}function wn(e,t){return e.eventCache.isCompleteForChild(t)}function Nn(e,t,n){return n.foreach((function(e,n){t=t.updateChild(e,n)})),t}function jn(e,t,n,r,o,i,a,s){if(t.serverCache.getNode().isEmpty()&&!t.serverCache.isFullyInitialized())return t;var u,l=t;u=ye(n)?r:new Yt(null).setTree(n,r);var c=t.serverCache.getNode();return u.children.inorderTraversal((function(n,r){if(c.hasChild(n)){var u=Nn(0,t.serverCache.getNode().getImmediateChild(n),r);l=bn(e,l,new se(n),u,o,i,a,s)}})),u.children.inorderTraversal((function(n,r){var u=!t.serverCache.isCompleteForChild(n)&&void 0===r.value;if(!c.hasChild(n)&&!u){var f=Nn(0,t.serverCache.getNode().getImmediateChild(n),r);l=bn(e,l,new se(n),f,o,i,a,s)}})),l}var Sn,In=function(){function e(e,t){this.query_=e,this.eventRegistrations_=[];var n,r=this.query_._queryParams,o=new ft(r.getIndex()),i=(n=r).loadsAllData()?new ft(n.getIndex()):n.hasLimit()?new pt(n):new dt(n);this.processor_=function(e){return{filter:e}}(i);var a=t.serverCache,s=t.eventCache,u=o.updateFullNode(Je.EMPTY_NODE,a.getNode(),null),l=i.updateFullNode(Je.EMPTY_NODE,s.getNode(),null),c=new _t(u,a.isFullyInitialized(),o.filtersNodes()),f=new _t(l,s.isFullyInitialized(),i.filtersNodes());this.viewCache_=Pt(f,c),this.eventGenerator_=new At(this.query_)}return Object.defineProperty(e.prototype,"query",{get:function(){return this.query_},enumerable:!1,configurable:!0}),e}();function Dn(e,t){var n=Ft(e.viewCache_);return n&&(e.query._queryParams.loadsAllData()||!ye(t)&&!n.getImmediateChild(le(t)).isEmpty())?n.getChild(t):null}function xn(e){return 0===e.eventRegistrations_.length}function En(e,t,n){var r=[];if(n){Object(i.d)(null==t,"A cancel should cancel all event registrations.");var o=e.query._path;e.eventRegistrations_.forEach((function(e){var t=e.createCancelEvent(n,o);t&&r.push(t)}))}if(t){for(var a=[],s=0;s<e.eventRegistrations_.length;++s){var u=e.eventRegistrations_[s];if(u.matches(t)){if(t.hasAnyCallback()){a=a.concat(e.eventRegistrations_.slice(s+1));break}}else a.push(u)}e.eventRegistrations_=a}else e.eventRegistrations_=[];return r}function On(e,t,n,r){t.type===It.MERGE&&null!==t.source.queryId&&(Object(i.d)(Ft(e.viewCache_),"We should always have a full cache before handling merges"),Object(i.d)(Bt(e.viewCache_),"Missing event cache, even though we have a server cache"));var o,a,s=e.viewCache_,u=mn(e.processor_,s,t,n,r);return o=e.processor_,a=u.viewCache,Object(i.d)(a.eventCache.getNode().isIndexed(o.filter.getIndex()),"Event snap not indexed"),Object(i.d)(a.serverCache.getNode().isIndexed(o.filter.getIndex()),"Server snap not indexed"),Object(i.d)(u.viewCache.serverCache.isFullyInitialized()||!s.serverCache.isFullyInitialized(),"Once a server snap is complete, it should never go back"),e.viewCache_=u.viewCache,Tn(e,u.changes,u.viewCache.eventCache.getNode(),null)}function Tn(e,t,n,r){var o=r?[r]:e.eventRegistrations_;return function(e,t,n,r){var o=[],i=[];return t.forEach((function(t){var n;"child_changed"===t.type&&e.index_.indexedValueChanged(t.oldSnap,t.snapshotNode)&&i.push((n=t.childName,{type:"child_moved",snapshotNode:t.snapshotNode,childName:n}))})),zt(e,o,"child_removed",t,r,n),zt(e,o,"child_added",t,r,n),zt(e,o,"child_moved",i,r,n),zt(e,o,"child_changed",t,r,n),zt(e,o,"value",t,r,n),o}(e.eventGenerator_,t,n,o)}var Cn,kn=function(){this.views=new Map};function Ln(e,t,n,r){var o,s,u=t.source.queryId;if(null!==u){var l=e.views.get(u);return Object(i.d)(null!=l,"SyncTree gave us an op for an invalid query."),On(l,t,n,r)}var c=[];try{for(var f=Object(a.h)(e.views.values()),d=f.next();!d.done;d=f.next()){l=d.value;c=c.concat(On(l,t,n,r))}}catch(p){o={error:p}}finally{try{d&&!d.done&&(s=f.return)&&s.call(f)}finally{if(o)throw o.error}}return c}function _n(e,t,n,r,o){var i=t._queryIdentifier,a=e.views.get(i);if(!a){var s=an(n,o?r:null),u=!1;s?u=!0:r instanceof Je?(s=sn(n,r),u=!1):(s=Je.EMPTY_NODE,u=!1);var l=Pt(new _t(s,u,!1),new _t(r,o,!1));return new In(t,l)}return a}function An(e,t,n,r,o,i){var a=_n(e,t,r,o,i);return e.views.has(t._queryIdentifier)||e.views.set(t._queryIdentifier,a),function(e,t){e.eventRegistrations_.push(t)}(a,n),function(e,t){var n=e.viewCache_.eventCache,r=[];return n.getNode().isLeafNode()||n.getNode().forEachChild(Qe,(function(e,t){r.push(ut(e,t))})),n.isFullyInitialized()&&r.push(st(n.getNode())),Tn(e,r,n.getNode(),t)}(a,n)}function zn(e,t,n,r){var o,s,u=t._queryIdentifier,l=[],c=[],f=Fn(e);if("default"===u)try{for(var d=Object(a.h)(e.views.entries()),p=d.next();!p.done;p=d.next()){var h=Object(a.e)(p.value,2),g=h[0],y=h[1];c=c.concat(En(y,n,r)),xn(y)&&(e.views.delete(g),y.query._queryParams.loadsAllData()||l.push(y.query))}}catch(m){o={error:m}}finally{try{p&&!p.done&&(s=d.return)&&s.call(d)}finally{if(o)throw o.error}}else(y=e.views.get(u))&&(c=c.concat(En(y,n,r)),xn(y)&&(e.views.delete(u),y.query._queryParams.loadsAllData()||l.push(y.query)));return f&&!Fn(e)&&l.push(new(Object(i.d)(Sn,"Reference.ts has not been loaded"),Sn)(t._repo,t._path)),{removed:l,events:c}}function Pn(e){var t,n,r=[];try{for(var o=Object(a.h)(e.views.values()),i=o.next();!i.done;i=o.next()){var s=i.value;s.query._queryParams.loadsAllData()||r.push(s)}}catch(u){t={error:u}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return r}function Rn(e,t){var n,r,o=null;try{for(var i=Object(a.h)(e.views.values()),s=i.next();!s.done;s=i.next()){var u=s.value;o=o||Dn(u,t)}}catch(l){n={error:l}}finally{try{s&&!s.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return o}function Un(e,t){if(t._queryParams.loadsAllData())return Yn(e);var n=t._queryIdentifier;return e.views.get(n)}function Bn(e,t){return null!=Un(e,t)}function Fn(e){return null!=Yn(e)}function Yn(e){var t,n;try{for(var r=Object(a.h)(e.views.values()),o=r.next();!o.done;o=r.next()){var i=o.value;if(i.query._queryParams.loadsAllData())return i}}catch(s){t={error:s}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return null}var Gn=1,Hn=function(e){this.listenProvider_=e,this.syncPointTree_=new Yt(null),this.pendingWriteTree_={visibleWrites:Gt.empty(),allWrites:[],lastWriteId:-1},this.tagToQueryMap=new Map,this.queryToTagMap=new Map};function Vn(e,t,n,r,o){return function(e,t,n,r,o){Object(i.d)(r>e.lastWriteId,"Stacking an older write on top of newer ones"),void 0===o&&(o=!0),e.allWrites.push({path:t,snap:n,writeId:r,visible:o}),o&&(e.visibleWrites=Ht(e.visibleWrites,t,n)),e.lastWriteId=r}(e.pendingWriteTree_,t,n,r,o),o?Kn(e,new kt({fromUser:!0,fromServer:!1,queryId:null,tagged:!1},t,n)):[]}function Qn(e,t,n,r){!function(e,t,n,r){Object(i.d)(r>e.lastWriteId,"Stacking an older merge on top of newer ones"),e.allWrites.push({path:t,children:n,writeId:r,visible:!0}),e.visibleWrites=Vt(e.visibleWrites,t,n),e.lastWriteId=r}(e.pendingWriteTree_,t,n,r);var o=Yt.fromObject(n);return Kn(e,new Lt({fromUser:!0,fromServer:!1,queryId:null,tagged:!1},t,o))}function Wn(e,t,n){void 0===n&&(n=!1);var r=function(e,t){for(var n=0;n<e.allWrites.length;n++){var r=e.allWrites[n];if(r.writeId===t)return r}return null}(e.pendingWriteTree_,t);if(en(e.pendingWriteTree_,t)){var o=new Yt(null);return null!=r.snap?o=o.set(ue(),!0):A(r.children,(function(e){o=o.set(new se(e),!0)})),Kn(e,new Tt(r.path,o,n))}return[]}function Zn(e,t,n){return Kn(e,new kt({fromUser:!1,fromServer:!0,queryId:null,tagged:!1},t,n))}function qn(e,t,n,r){var o=t._path,i=e.syncPointTree_.get(o),a=[];if(i&&("default"===t._queryIdentifier||Bn(i,t))){var s=zn(i,t,n,r);0===i.views.size&&(e.syncPointTree_=e.syncPointTree_.remove(o));var u=s.removed;a=s.events;var l=-1!==u.findIndex((function(e){return e._queryParams.loadsAllData()})),c=e.syncPointTree_.findOnPath(o,(function(e,t){return Fn(t)}));if(l&&!c){var f=e.syncPointTree_.subtree(o);if(!f.isEmpty())for(var d=function(e){return e.fold((function(e,t,n){if(t&&Fn(t))return[Yn(t)];var r=[];return t&&(r=Pn(t)),A(n,(function(e,t){r=r.concat(t)})),r}))}(f),p=0;p<d.length;++p){var h=d[p],g=h.query,y=er(e,h);e.listenProvider_.startListening(ar(g),tr(e,g),y.hashFn,y.onComplete)}}if(!c&&u.length>0&&!r)if(l){e.listenProvider_.stopListening(ar(t),null)}else u.forEach((function(t){var n=e.queryToTagMap.get(nr(t));e.listenProvider_.stopListening(ar(t),n)}));!function(e,t){for(var n=0;n<t.length;++n){var r=t[n];if(!r._queryParams.loadsAllData()){var o=nr(r),i=e.queryToTagMap.get(o);e.queryToTagMap.delete(o),e.tagToQueryMap.delete(i)}}}(e,u)}return a}function Xn(e,t,n){var r=t._path,o=null,a=!1;e.syncPointTree_.foreachOnPath(r,(function(e,t){var n=me(e,r);o=o||Rn(t,n),a=a||Fn(t)}));var s,u=e.syncPointTree_.get(r);(u?(a=a||Fn(u),o=o||Rn(u,ue())):(u=new kn,e.syncPointTree_=e.syncPointTree_.set(r,u)),null!=o)?s=!0:(s=!1,o=Je.EMPTY_NODE,e.syncPointTree_.subtree(r).foreachChild((function(e,t){var n=Rn(t,ue());n&&(o=o.updateImmediateChild(e,n))})));var l=Bn(u,t);if(!l&&!t._queryParams.loadsAllData()){var c=nr(t);Object(i.d)(!e.queryToTagMap.has(c),"View does not exist, but we have a tag");var f=Gn++;e.queryToTagMap.set(c,f),e.tagToQueryMap.set(f,c)}var d=An(u,t,n,Kt(e.pendingWriteTree_,r),o,s);if(!l&&!a){var p=Un(u,t);d=d.concat(function(e,t,n){var r=t._path,o=tr(e,t),a=er(e,n),s=e.listenProvider_.startListening(ar(t),o,a.hashFn,a.onComplete),u=e.syncPointTree_.subtree(r);if(o)Object(i.d)(!Fn(u.value),"If we're adding a query, it shouldn't be shadowed");else for(var l=u.fold((function(e,t,n){if(!ye(e)&&t&&Fn(t))return[Yn(t).query];var r=[];return t&&(r=r.concat(Pn(t).map((function(e){return e.query})))),A(n,(function(e,t){r=r.concat(t)})),r})),c=0;c<l.length;++c){var f=l[c];e.listenProvider_.stopListening(ar(f),tr(e,f))}return s}(e,t,p))}return d}function $n(e,t,n){var r=e.pendingWriteTree_,o=e.syncPointTree_.findOnPath(t,(function(e,n){var r=Rn(n,me(e,t));if(r)return r}));return on(r,t,o,n,!0)}function Jn(e,t){var n=t._path,r=null;e.syncPointTree_.foreachOnPath(n,(function(e,t){var o=me(e,n);r=r||Rn(t,o)}));var o=e.syncPointTree_.get(n);o?r=r||Rn(o,ue()):(o=new kn,e.syncPointTree_=e.syncPointTree_.set(n,o));var i=null!=r,a=i?new _t(r,!0,!1):null;return function(e){return Bt(e.viewCache_)}(_n(o,t,Kt(e.pendingWriteTree_,t._path),i?a.getNode():Je.EMPTY_NODE,i))}function Kn(e,t){return function e(t,n,r,o){if(ye(t.path))return function e(t,n,r,o){var i=n.get(ue());null==r&&null!=i&&(r=Rn(i,ue()));var a=[];n.children.inorderTraversal((function(n,i){var s=r?r.getImmediateChild(n):null,u=dn(o,n),l=t.operationForChild(n);l&&(a=a.concat(e(l,i,s,u)))})),i&&(a=a.concat(Ln(i,t,o,r)));return a}(t,n,r,o);var i=n.get(ue());null==r&&null!=i&&(r=Rn(i,ue()));var a=[],s=le(t.path),u=t.operationForChild(s),l=n.children.get(s);if(l&&u){var c=r?r.getImmediateChild(s):null,f=dn(o,s);a=a.concat(e(u,l,c,f))}return i&&(a=a.concat(Ln(i,t,o,r))),a}(t,e.syncPointTree_,null,Kt(e.pendingWriteTree_,ue()))}function er(e,t){var n=t.query,r=tr(e,n);return{hashFn:function(){return(function(e){return e.viewCache_.serverCache.getNode()}(t)||Je.EMPTY_NODE).hash()},onComplete:function(t){if("ok"===t)return r?function(e,t,n){var r=rr(e,n);if(r){var o=or(r),i=o.path,a=o.queryId,s=me(i,t);return ir(e,i,new Ct(Et(a),s))}return[]}(e,n._path,r):function(e,t){return Kn(e,new Ct({fromUser:!1,fromServer:!0,queryId:null,tagged:!1},t))}(e,n._path);var o=function(e,t){var n="Unknown Error";"too_big"===e?n="The data requested exceeds the maximum size that can be accessed with a single request.":"permission_denied"===e?n="Client doesn't have permission to access the desired data.":"unavailable"===e&&(n="The service is unavailable");var r=new Error(e+" at "+t._path.toString()+": "+n);return r.code=e.toUpperCase(),r}(t,n);return qn(e,n,null,o)}}}function tr(e,t){var n=nr(t);return e.queryToTagMap.get(n)}function nr(e){return e._path.toString()+"$"+e._queryIdentifier}function rr(e,t){return e.tagToQueryMap.get(t)}function or(e){var t=e.indexOf("$");return Object(i.d)(-1!==t&&t<e.length-1,"Bad queryKey."),{queryId:e.substr(t+1),path:new se(e.substr(0,t))}}function ir(e,t,n){var r=e.syncPointTree_.get(t);return Object(i.d)(r,"Missing sync point for query tag that we're tracking"),Ln(r,n,Kt(e.pendingWriteTree_,t),null)}function ar(e){return e._queryParams.loadsAllData()&&!e._queryParams.isDefault()?new(Object(i.d)(Cn,"Reference.ts has not been loaded"),Cn)(e._repo,e._path):e}var sr=function(){function e(e){this.node_=e}return e.prototype.getImmediateChild=function(t){return new e(this.node_.getImmediateChild(t))},e.prototype.node=function(){return this.node_},e}(),ur=function(){function e(e,t){this.syncTree_=e,this.path_=t}return e.prototype.getImmediateChild=function(t){var n=ge(this.path_,t);return new e(this.syncTree_,n)},e.prototype.node=function(){return $n(this.syncTree_,this.path_)},e}(),lr=function(e,t,n){return e&&"object"===typeof e?(Object(i.d)(".sv"in e,"Unexpected leaf node or priority contents"),"string"===typeof e[".sv"]?cr(e[".sv"],t,n):"object"===typeof e[".sv"]?fr(e[".sv"],t):void Object(i.d)(!1,"Unexpected server value: "+JSON.stringify(e,null,2))):e},cr=function(e,t,n){switch(e){case"timestamp":return n.timestamp;default:Object(i.d)(!1,"Unexpected server value: "+e)}},fr=function(e,t,n){e.hasOwnProperty("increment")||Object(i.d)(!1,"Unexpected server value: "+JSON.stringify(e,null,2));var r=e.increment;"number"!==typeof r&&Object(i.d)(!1,"Unexpected increment value: "+r);var o=t.node();if(Object(i.d)(null!==o&&"undefined"!==typeof o,"Expected ChildrenNode.EMPTY_NODE for nulls"),!o.isLeafNode())return r;var a=o.getValue();return"number"!==typeof a?r:a+r},dr=function(e,t,n,r){return hr(t,new ur(n,e),r)},pr=function(e,t,n){return hr(e,new sr(t),n)};function hr(e,t,n){var r,o=e.getPriority().val(),i=lr(o,t.getImmediateChild(".priority"),n);if(e.isLeafNode()){var a=e,s=lr(a.getValue(),t,n);return s!==a.getValue()||i!==a.getPriority().val()?new Ge(s,et(i)):e}var u=e;return r=u,i!==u.getPriority().val()&&(r=r.updatePriority(new Ge(i))),u.forEachChild(Qe,(function(e,o){var i=hr(o,t.getImmediateChild(e),n);i!==o&&(r=r.updateImmediateChild(e,i))})),r}var gr=function(e,t,n){void 0===e&&(e=""),void 0===t&&(t=null),void 0===n&&(n={children:{},childCount:0}),this.name=e,this.parent=t,this.node=n};function yr(e,t){for(var n=t instanceof se?t:new se(t),r=e,o=le(n);null!==o;){var a=Object(i.z)(r.node.children,o)||{children:{},childCount:0};r=new gr(o,r,a),o=le(n=fe(n))}return r}function mr(e){return e.node.value}function vr(e,t){e.node.value=t,Nr(e)}function br(e){return e.node.childCount>0}function Mr(e,t){A(e.node.children,(function(n,r){t(new gr(n,e,r))}))}function wr(e){return new se(null===e.parent?e.name:wr(e.parent)+"/"+e.name)}function Nr(e){null!==e.parent&&function(e,t,n){var r=function(e){return void 0===mr(e)&&!br(e)}(n),o=Object(i.h)(e.node.children,t);r&&o?(delete e.node.children[t],e.node.childCount--,Nr(e)):r||o||(e.node.children[t]=n.node,e.node.childCount++,Nr(e))}(e.parent,e.name,e)}var jr=/[\[\].#$\/\u0000-\u001F\u007F]/,Sr=/[\[\].#$\u0000-\u001F\u007F]/,Ir=function(e){return"string"===typeof e&&0!==e.length&&!jr.test(e)},Dr=function(e){return"string"===typeof e&&0!==e.length&&!Sr.test(e)},xr=function(e){return null===e||"string"===typeof e||"number"===typeof e&&!x(e)||e&&"object"===typeof e&&Object(i.h)(e,".sv")},Er=function(e,t,n,r){r&&void 0===t||Or(Object(i.m)(e,"value"),t,n)},Or=function e(t,n,r){var o=r instanceof se?new we(r,t):r;if(void 0===n)throw new Error(t+"contains undefined "+je(o));if("function"===typeof n)throw new Error(t+"contains a function "+je(o)+" with contents = "+n.toString());if(x(n))throw new Error(t+"contains "+n.toString()+" "+je(o));if("string"===typeof n&&n.length>10485760/3&&Object(i.A)(n)>10485760)throw new Error(t+"contains a string greater than 10485760 utf8 bytes "+je(o)+" ('"+n.substring(0,50)+"...')");if(n&&"object"===typeof n){var a=!1,s=!1;if(A(n,(function(n,r){if(".value"===n)a=!0;else if(".priority"!==n&&".sv"!==n&&(s=!0,!Ir(n)))throw new Error(t+" contains an invalid key ("+n+") "+je(o)+'.  Keys must be non-empty strings and can\'t contain ".", "#", "$", "/", "[", or "]"');!function(e,t){e.parts_.length>0&&(e.byteLength_+=1),e.parts_.push(t),e.byteLength_+=Object(i.A)(t),Ne(e)}(o,n),e(t,r,o),function(e){var t=e.parts_.pop();e.byteLength_-=Object(i.A)(t),e.parts_.length>0&&(e.byteLength_-=1)}(o)})),a&&s)throw new Error(t+' contains ".value" child '+je(o)+" in addition to actual children.")}},Tr=function(e,t,n,r){if(!r||void 0!==t){var o=Object(i.m)(e,"values");if(!t||"object"!==typeof t||Array.isArray(t))throw new Error(o+" must be an object containing the children to replace.");var a=[];A(t,(function(e,t){var r=new se(e);if(Or(o,t,ge(n,r)),".priority"===de(r)&&!xr(t))throw new Error(o+"contains an invalid value for '"+r.toString()+"', which must be a valid Firebase priority (a string, finite number, server value, or null).");a.push(r)})),function(e,t){var n,r;for(n=0;n<t.length;n++)for(var o=pe(r=t[n]),i=0;i<o.length;i++)if(".priority"===o[i]&&i===o.length-1);else if(!Ir(o[i]))throw new Error(e+"contains an invalid key ("+o[i]+") in path "+r.toString()+'. Keys must be non-empty strings and can\'t contain ".", "#", "$", "/", "[", or "]"');t.sort(ve);var a=null;for(n=0;n<t.length;n++){if(r=t[n],null!==a&&Me(a,r))throw new Error(e+"contains a path "+a.toString()+" that is ancestor of another path "+r.toString());a=r}}(o,a)}},Cr=function(e,t,n){if(!n||void 0!==t){if(x(t))throw new Error(Object(i.m)(e,"priority")+"is "+t.toString()+", but must be a valid Firebase priority (a string, finite number, server value, or null).");if(!xr(t))throw new Error(Object(i.m)(e,"priority")+"must be a valid Firebase priority (a string, finite number, server value, or null).")}},kr=function(e,t,n){if(!n||void 0!==t)switch(t){case"value":case"child_added":case"child_removed":case"child_changed":case"child_moved":break;default:throw new Error(Object(i.m)(e,"eventType")+'must be a valid event type = "value", "child_added", "child_removed", "child_changed", or "child_moved".')}},Lr=function(e,t,n,r){if((!r||void 0!==n)&&!Ir(n))throw new Error(Object(i.m)(e,t)+'was an invalid key = "'+n+'".  Firebase keys must be non-empty strings and can\'t contain ".", "#", "$", "/", "[", or "]").')},_r=function(e,t,n,r){if((!r||void 0!==n)&&!Dr(n))throw new Error(Object(i.m)(e,t)+'was an invalid path = "'+n+'". Paths must be non-empty strings and can\'t contain ".", "#", "$", "[", or "]"')},Ar=function(e,t){if(".info"===le(t))throw new Error(e+" failed = Can't modify data under /.info/")},zr=function(e,t){var n=t.path.toString();if("string"!==typeof t.repoInfo.host||0===t.repoInfo.host.length||!Ir(t.repoInfo.namespace)&&"localhost"!==t.repoInfo.host.split(":")[0]||0!==n.length&&!function(e){return e&&(e=e.replace(/^\/*\.info(\/|$)/,"/")),Dr(e)}(n))throw new Error(Object(i.m)(e,"url")+'must be a valid firebase URL and the path can\'t contain ".", "#", "$", "[", or "]".')},Pr=function(e,t,n,r){if((!r||void 0!==n)&&"boolean"!==typeof n)throw new Error(Object(i.m)(e,t)+"must be a boolean.")},Rr=function(){this.eventLists_=[],this.recursionDepth_=0};function Ur(e,t){for(var n=null,r=0;r<t.length;r++){var o=t[r],i=o.getPath();null===n||be(i,n.path)||(e.eventLists_.push(n),n=null),null===n&&(n={events:[],path:i}),n.events.push(o)}n&&e.eventLists_.push(n)}function Br(e,t,n){Ur(e,n),Yr(e,(function(e){return be(e,t)}))}function Fr(e,t,n){Ur(e,n),Yr(e,(function(e){return Me(e,t)||Me(t,e)}))}function Yr(e,t){e.recursionDepth_++;for(var n=!0,r=0;r<e.eventLists_.length;r++){var o=e.eventLists_[r];if(o)t(o.path)?(Gr(e.eventLists_[r]),e.eventLists_[r]=null):n=!1}n&&(e.eventLists_=[]),e.recursionDepth_--}function Gr(e){for(var t=0;t<e.events.length;t++){var n=e.events[t];if(null!==n){e.events[t]=null;var r=n.getEventRunner();b&&N("event: "+n.toString()),U(r)}}}var Hr=function(){function e(e,t,n,r){this.repoInfo_=e,this.forceRestClient_=t,this.authTokenProvider_=n,this.appCheckProvider_=r,this.dataUpdateCount=0,this.statsListener_=null,this.eventQueue_=new Rr,this.nextWriteId_=1,this.interceptServerDataCallback_=null,this.onDisconnect_=Nt(),this.transactionQueueTree_=new gr,this.persistentConnection_=null,this.key=this.repoInfo_.toURLString()}return e.prototype.toString=function(){return(this.repoInfo_.secure?"https://":"http://")+this.repoInfo_.host},e}();function Vr(e,t,n){if(e.stats_=X(e.repoInfo_),e.forceRestClient_||("object"===typeof window&&window.navigator&&window.navigator.userAgent||"").search(/googlebot|google webmaster tools|bingbot|yahoo! slurp|baiduspider|yandexbot|duckduckbot/i)>=0)e.server_=new Mt(e.repoInfo_,(function(t,n,r,o){Zr(e,t,n,r,o)}),e.authTokenProvider_,e.appCheckProvider_),setTimeout((function(){return qr(e,!0)}),0);else{if("undefined"!==typeof n&&null!==n){if("object"!==typeof n)throw new Error("Only objects are supported for option databaseAuthVariableOverride");try{Object(i.C)(n)}catch(r){throw new Error("Invalid authOverride provided: "+r)}}e.persistentConnection_=new xe(e.repoInfo_,t,(function(t,n,r,o){Zr(e,t,n,r,o)}),(function(t){qr(e,t)}),(function(t){!function(e,t){A(t,(function(t,n){Xr(e,t,n)}))}(e,t)}),e.authTokenProvider_,e.appCheckProvider_,n),e.server_=e.persistentConnection_}e.authTokenProvider_.addTokenChangeListener((function(t){e.server_.refreshAuthToken(t)})),e.appCheckProvider_.addTokenChangeListener((function(t){e.server_.refreshAppCheckToken(t.token)})),e.statsReporter_=function(e,t){var n=e.toString();return q[n]||(q[n]=t()),q[n]}(e.repoInfo_,(function(){return new xt(e.stats_,e.server_)})),e.infoData_=new wt,e.infoSyncTree_=new Hn({startListening:function(t,n,r,o){var i=[],a=e.infoData_.getNode(t._path);return a.isEmpty()||(i=Zn(e.infoSyncTree_,t._path,a),setTimeout((function(){o("ok")}),0)),i},stopListening:function(){}}),Xr(e,"connected",!1),e.serverSyncTree_=new Hn({startListening:function(t,n,r,o){return e.server_.listen(t,r,n,(function(n,r){var i=o(n,r);Fr(e.eventQueue_,t._path,i)})),[]},stopListening:function(t,n){e.server_.unlisten(t,n)}})}function Qr(e){var t=e.infoData_.getNode(new se(".info/serverTimeOffset")).val()||0;return(new Date).getTime()+t}function Wr(e){return(t=(t={timestamp:Qr(e)})||{}).timestamp=t.timestamp||(new Date).getTime(),t;var t}function Zr(e,t,n,r,o){e.dataUpdateCount++;var a=new se(t);n=e.interceptServerDataCallback_?e.interceptServerDataCallback_(t,n):n;var s=[];if(o)if(r){var u=Object(i.x)(n,(function(e){return et(e)}));s=function(e,t,n,r){var o=rr(e,r);if(o){var i=or(o),a=i.path,s=i.queryId,u=me(a,t),l=Yt.fromObject(n);return ir(e,a,new Lt(Et(s),u,l))}return[]}(e.serverSyncTree_,a,u,o)}else{var l=et(n);s=function(e,t,n,r){var o=rr(e,r);if(null!=o){var i=or(o),a=i.path,s=i.queryId,u=me(a,t);return ir(e,a,new kt(Et(s),u,n))}return[]}(e.serverSyncTree_,a,l,o)}else if(r){var c=Object(i.x)(n,(function(e){return et(e)}));s=function(e,t,n){var r=Yt.fromObject(n);return Kn(e,new Lt({fromUser:!1,fromServer:!0,queryId:null,tagged:!1},t,r))}(e.serverSyncTree_,a,c)}else{var f=et(n);s=Zn(e.serverSyncTree_,a,f)}var d=a;s.length>0&&(d=so(e,a)),Fr(e.eventQueue_,d,s)}function qr(e,t){Xr(e,"connected",t),!1===t&&function(e){ro(e,"onDisconnectEvents");var t=Wr(e),n=Nt();St(e.onDisconnect_,ue(),(function(r,o){var i=dr(r,o,e.serverSyncTree_,t);jt(n,r,i)}));var r=[];St(n,ue(),(function(t,n){r=r.concat(Zn(e.serverSyncTree_,t,n));var o=fo(e,t);so(e,o)})),e.onDisconnect_=Nt(),Fr(e.eventQueue_,ue(),r)}(e)}function Xr(e,t,n){var r=new se("/.info/"+t),o=et(n);e.infoData_.updateSnapshot(r,o);var i=Zn(e.infoSyncTree_,r,o);Fr(e.eventQueue_,r,i)}function $r(e){return e.nextWriteId_++}function Jr(e,t,n,r,o){ro(e,"set",{path:t.toString(),value:n,priority:r});var i=Wr(e),a=et(n,r),s=$n(e.serverSyncTree_,t),u=pr(a,s,i),l=$r(e),c=Vn(e.serverSyncTree_,t,u,l,!0);Ur(e.eventQueue_,c),e.server_.put(t.toString(),a.val(!0),(function(n,r){var i="ok"===n;i||D("set at "+t+" failed: "+n);var a=Wn(e.serverSyncTree_,l,!i);Fr(e.eventQueue_,t,a),oo(e,o,n,r)}));var f=fo(e,t);so(e,f),Fr(e.eventQueue_,f,[])}function Kr(e,t,n){e.server_.onDisconnectCancel(t.toString(),(function(r,o){"ok"===r&&function e(t,n){if(ye(n))return t.value=null,t.children.clear(),!0;if(null!==t.value){if(t.value.isLeafNode())return!1;var r=t.value;return t.value=null,r.forEachChild(Qe,(function(e,n){jt(t,new se(e),n)})),e(t,n)}if(t.children.size>0){var o=le(n);if(n=fe(n),t.children.has(o))e(t.children.get(o),n)&&t.children.delete(o);return 0===t.children.size}return!0}(e.onDisconnect_,t),oo(e,n,r,o)}))}function eo(e,t,n,r){var o=et(n);e.server_.onDisconnectPut(t.toString(),o.val(!0),(function(n,i){"ok"===n&&jt(e.onDisconnect_,t,o),oo(e,r,n,i)}))}function to(e,t,n){var r;r=".info"===le(t._path)?qn(e.infoSyncTree_,t,n):qn(e.serverSyncTree_,t,n),Br(e.eventQueue_,t._path,r)}function no(e){e.persistentConnection_&&e.persistentConnection_.interrupt("repo_interrupt")}function ro(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r="";e.persistentConnection_&&(r=e.persistentConnection_.id+":"),N.apply(void 0,Object(a.g)([r],Object(a.e)(t)))}function oo(e,t,n,r){t&&U((function(){if("ok"===n)t(null);else{var e=(n||"error").toUpperCase(),o=e;r&&(o+=": "+r);var i=new Error(o);i.code=e,t(i)}}))}function io(e,t,n){return $n(e.serverSyncTree_,t,n)||Je.EMPTY_NODE}function ao(e,t){if(void 0===t&&(t=e.transactionQueueTree_),t||co(e,t),mr(t)){var n=lo(e,t);Object(i.d)(n.length>0,"Sending zero length transaction queue"),n.every((function(e){return 0===e.status}))&&function(e,t,n){for(var r=n.map((function(e){return e.currentWriteId})),o=io(e,t,r),a=o,s=o.hash(),u=0;u<n.length;u++){var l=n[u];Object(i.d)(0===l.status,"tryToSendTransactionQueue_: items in queue should all be run."),l.status=1,l.retryCount++;var c=me(t,l.path);a=a.updateChild(c,l.currentOutputSnapshotRaw)}var f=a.val(!0),d=t;e.server_.put(d.toString(),f,(function(r){ro(e,"transaction put response",{path:d.toString(),status:r});var o=[];if("ok"===r){for(var i=[],a=function(t){n[t].status=2,o=o.concat(Wn(e.serverSyncTree_,n[t].currentWriteId)),n[t].onComplete&&i.push((function(){return n[t].onComplete(null,!0,n[t].currentOutputSnapshotResolved)})),n[t].unwatcher()},s=0;s<n.length;s++)a(s);co(e,yr(e.transactionQueueTree_,t)),ao(e,e.transactionQueueTree_),Fr(e.eventQueue_,t,o);for(s=0;s<i.length;s++)U(i[s])}else{if("datastale"===r)for(s=0;s<n.length;s++)3===n[s].status?n[s].status=4:n[s].status=0;else{D("transaction at "+d.toString()+" failed: "+r);for(s=0;s<n.length;s++)n[s].status=4,n[s].abortReason=r}so(e,t)}}),s)}(e,wr(t),n)}else br(t)&&Mr(t,(function(t){ao(e,t)}))}function so(e,t){var n=uo(e,t),r=wr(n);return function(e,t,n){if(0===t.length)return;for(var r=[],o=[],a=t.filter((function(e){return 0===e.status})).map((function(e){return e.currentWriteId})),s=function(s){var u,l,c=t[s],f=me(n,c.path),d=!1;if(Object(i.d)(null!==f,"rerunTransactionsUnderNode_: relativePath should not be null."),4===c.status)d=!0,u=c.abortReason,o=o.concat(Wn(e.serverSyncTree_,c.currentWriteId,!0));else if(0===c.status)if(c.retryCount>=25)d=!0,u="maxretry",o=o.concat(Wn(e.serverSyncTree_,c.currentWriteId,!0));else{var p=io(e,c.path,a);c.currentInputSnapshot=p;var h=t[s].update(p.val());if(void 0!==h){Or("transaction failed: Data returned ",h,c.path);var g=et(h);"object"===typeof h&&null!=h&&Object(i.h)(h,".priority")||(g=g.updatePriority(p.getPriority()));var y=c.currentWriteId,m=Wr(e),v=pr(g,p,m);c.currentOutputSnapshotRaw=g,c.currentOutputSnapshotResolved=v,c.currentWriteId=$r(e),a.splice(a.indexOf(y),1),o=(o=o.concat(Vn(e.serverSyncTree_,c.path,v,c.currentWriteId,c.applyLocally))).concat(Wn(e.serverSyncTree_,y,!0))}else d=!0,u="nodata",o=o.concat(Wn(e.serverSyncTree_,c.currentWriteId,!0))}Fr(e.eventQueue_,n,o),o=[],d&&(t[s].status=2,l=t[s].unwatcher,setTimeout(l,Math.floor(0)),t[s].onComplete&&("nodata"===u?r.push((function(){return t[s].onComplete(null,!1,t[s].currentInputSnapshot)})):r.push((function(){return t[s].onComplete(new Error(u),!1,null)}))))},u=0;u<t.length;u++)s(u);co(e,e.transactionQueueTree_);for(u=0;u<r.length;u++)U(r[u]);ao(e,e.transactionQueueTree_)}(e,lo(e,n),r),r}function uo(e,t){var n,r=e.transactionQueueTree_;for(n=le(t);null!==n&&void 0===mr(r);)r=yr(r,n),n=le(t=fe(t));return r}function lo(e,t){var n=[];return function e(t,n,r){var o=mr(n);if(o)for(var i=0;i<o.length;i++)r.push(o[i]);Mr(n,(function(n){e(t,n,r)}))}(e,t,n),n.sort((function(e,t){return e.order-t.order})),n}function co(e,t){var n=mr(t);if(n){for(var r=0,o=0;o<n.length;o++)2!==n[o].status&&(n[r]=n[o],r++);n.length=r,vr(t,n.length>0?n:void 0)}Mr(t,(function(t){co(e,t)}))}function fo(e,t){var n=wr(uo(e,t)),r=yr(e.transactionQueueTree_,t);return function(e,t,n){for(var r=n?e:e.parent;null!==r;){if(t(r))return!0;r=r.parent}}(r,(function(t){po(e,t)})),po(e,r),function e(t,n,r,o){r&&!o&&n(t),Mr(t,(function(t){e(t,n,!0,o)})),r&&o&&n(t)}(r,(function(t){po(e,t)})),n}function po(e,t){var n=mr(t);if(n){for(var r=[],o=[],a=-1,s=0;s<n.length;s++)3===n[s].status||(1===n[s].status?(Object(i.d)(a===s-1,"All SENT items should be at beginning of queue."),a=s,n[s].status=3,n[s].abortReason="set"):(Object(i.d)(0===n[s].status,"Unexpected transaction status in abort"),n[s].unwatcher(),o=o.concat(Wn(e.serverSyncTree_,n[s].currentWriteId,!0)),n[s].onComplete&&r.push(n[s].onComplete.bind(null,new Error("set"),!1,null))));-1===a?vr(t,void 0):n.length=a+1,Fr(e.eventQueue_,wr(t),o);for(s=0;s<r.length;s++)U(r[s])}}var ho=function(e,t){var n=go(e),r=n.namespace;"firebase.com"===n.domain&&I(n.host+" is no longer supported. Please use <YOUR FIREBASE>.firebaseio.com instead"),r&&"undefined"!==r||"localhost"===n.domain||I("Cannot parse Firebase url. Please use https://<YOUR FIREBASE>.firebaseio.com"),n.secure||"undefined"!==typeof window&&window.location&&window.location.protocol&&-1!==window.location.protocol.indexOf("https:")&&D("Insecure Firebase access from a secure page. Please use https in calls to new Firebase().");var o="ws"===n.scheme||"wss"===n.scheme;return{repoInfo:new V(n.host,n.secure,r,t,o,"",r!==n.subdomain),path:new se(n.pathString)}},go=function(e){var t="",n="",r="",o="",i="",s=!0,u="https",l=443;if("string"===typeof e){var c=e.indexOf("//");c>=0&&(u=e.substring(0,c-1),e=e.substring(c+2));var f=e.indexOf("/");-1===f&&(f=e.length);var d=e.indexOf("?");-1===d&&(d=e.length),t=e.substring(0,Math.min(f,d)),f<d&&(o=function(e){for(var t="",n=e.split("/"),r=0;r<n.length;r++)if(n[r].length>0){var o=n[r];try{o=decodeURIComponent(o.replace(/\+/g," "))}catch(i){}t+="/"+o}return t}(e.substring(f,d)));var p=function(e){var t,n,r={};"?"===e.charAt(0)&&(e=e.substring(1));try{for(var o=Object(a.h)(e.split("&")),i=o.next();!i.done;i=o.next()){var s=i.value;if(0!==s.length){var u=s.split("=");2===u.length?r[decodeURIComponent(u[0])]=decodeURIComponent(u[1]):D("Invalid query segment '"+s+"' in query '"+e+"'")}}}catch(l){t={error:l}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return r}(e.substring(Math.min(e.length,d)));(c=t.indexOf(":"))>=0?(s="https"===u||"wss"===u,l=parseInt(t.substring(c+1),10)):c=t.length;var h=t.slice(0,c);if("localhost"===h.toLowerCase())n="localhost";else if(h.split(".").length<=2)n=h;else{var g=t.indexOf(".");r=t.substring(0,g).toLowerCase(),n=t.substring(g+1),i=r}"ns"in p&&(i=p.ns)}return{host:t,port:l,domain:n,subdomain:r,secure:s,scheme:u,pathString:o,namespace:i}},yo=function(){function e(e,t,n,r){this.eventType=e,this.eventRegistration=t,this.snapshot=n,this.prevName=r}return e.prototype.getPath=function(){var e=this.snapshot.ref;return"value"===this.eventType?e._path:e.parent._path},e.prototype.getEventType=function(){return this.eventType},e.prototype.getEventRunner=function(){return this.eventRegistration.getEventRunner(this)},e.prototype.toString=function(){return this.getPath().toString()+":"+this.eventType+":"+Object(i.C)(this.snapshot.exportVal())},e}(),mo=function(){function e(e,t,n){this.eventRegistration=e,this.error=t,this.path=n}return e.prototype.getPath=function(){return this.path},e.prototype.getEventType=function(){return"cancel"},e.prototype.getEventRunner=function(){return this.eventRegistration.getEventRunner(this)},e.prototype.toString=function(){return this.path.toString()+":cancel"},e}(),vo=function(){function e(e,t){this.snapshotCallback=e,this.cancelCallback=t}return e.prototype.onValue=function(e,t){this.snapshotCallback.call(null,e,t)},e.prototype.onCancel=function(e){return Object(i.d)(this.hasCancelCallback,"Raising a cancel event on a listener with no cancel callback"),this.cancelCallback.call(null,e)},Object.defineProperty(e.prototype,"hasCancelCallback",{get:function(){return!!this.cancelCallback},enumerable:!1,configurable:!0}),e.prototype.matches=function(e){return this.snapshotCallback===e.snapshotCallback||void 0!==this.snapshotCallback.userCallback&&this.snapshotCallback.userCallback===e.snapshotCallback.userCallback&&this.snapshotCallback.context===e.snapshotCallback.context},e}(),bo=function(){function e(e,t){this._repo=e,this._path=t}return e.prototype.cancel=function(){var e=new i.a;return Kr(this._repo,this._path,e.wrapCallback((function(){}))),e.promise},e.prototype.remove=function(){Ar("OnDisconnect.remove",this._path);var e=new i.a;return eo(this._repo,this._path,null,e.wrapCallback((function(){}))),e.promise},e.prototype.set=function(e){Ar("OnDisconnect.set",this._path),Er("OnDisconnect.set",e,this._path,!1);var t=new i.a;return eo(this._repo,this._path,e,t.wrapCallback((function(){}))),t.promise},e.prototype.setWithPriority=function(e,t){Ar("OnDisconnect.setWithPriority",this._path),Er("OnDisconnect.setWithPriority",e,this._path,!1),Cr("OnDisconnect.setWithPriority",t,!1);var n=new i.a;return function(e,t,n,r,o){var i=et(n,r);e.server_.onDisconnectPut(t.toString(),i.val(!0),(function(n,r){"ok"===n&&jt(e.onDisconnect_,t,i),oo(e,o,n,r)}))}(this._repo,this._path,e,t,n.wrapCallback((function(){}))),n.promise},e.prototype.update=function(e){Ar("OnDisconnect.update",this._path),Tr("OnDisconnect.update",e,this._path,!1);var t=new i.a;return function(e,t,n,r){if(Object(i.q)(n))return N("onDisconnect().update() called with empty data.  Don't do anything."),void oo(e,r,"ok",void 0);e.server_.onDisconnectMerge(t.toString(),n,(function(o,i){"ok"===o&&A(n,(function(n,r){var o=et(r);jt(e.onDisconnect_,ge(t,n),o)})),oo(e,r,o,i)}))}(this._repo,this._path,e,t.wrapCallback((function(){}))),t.promise},e}(),Mo=function(){function e(e,t,n,r){this._repo=e,this._path=t,this._queryParams=n,this._orderByCalled=r}return Object.defineProperty(e.prototype,"key",{get:function(){return ye(this._path)?null:de(this._path)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ref",{get:function(){return new So(this._repo,this._path)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"_queryIdentifier",{get:function(){var e=bt(this._queryParams),t=L(e);return"{}"===t?"default":t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"_queryObject",{get:function(){return bt(this._queryParams)},enumerable:!1,configurable:!0}),e.prototype.isEqual=function(t){if(!((t=Object(i.n)(t))instanceof e))return!1;var n=this._repo===t._repo,r=be(this._path,t._path),o=this._queryIdentifier===t._queryIdentifier;return n&&r&&o},e.prototype.toJSON=function(){return this.toString()},e.prototype.toString=function(){return this._repo.toString()+function(e){for(var t="",n=e.pieceNum_;n<e.pieces_.length;n++)""!==e.pieces_[n]&&(t+="/"+encodeURIComponent(String(e.pieces_[n])));return t||"/"}(this._path)},e}();function wo(e,t){if(!0===e._orderByCalled)throw new Error(t+": You can't combine multiple orderBy calls.")}function No(e){var t=null,n=null;if(e.hasStart()&&(t=e.getIndexStartValue()),e.hasEnd()&&(n=e.getIndexEndValue()),e.getIndex()===Ce){var r="Query: When ordering by key, you may only pass one argument to startAt(), endAt(), or equalTo().",o="Query: When ordering by key, the argument passed to startAt(), startAfter(), endAt(), endBefore(), or equalTo() must be a string.";if(e.hasStart()){if(e.getIndexStartName()!==E)throw new Error(r);if("string"!==typeof t)throw new Error(o)}if(e.hasEnd()){if(e.getIndexEndName()!==O)throw new Error(r);if("string"!==typeof n)throw new Error(o)}}else if(e.getIndex()===Qe){if(null!=t&&!xr(t)||null!=n&&!xr(n))throw new Error("Query: When ordering by priority, the first argument passed to startAt(), startAfter() endAt(), endBefore(), or equalTo() must be a valid priority value (null, a number, or a string).")}else if(Object(i.d)(e.getIndex()instanceof tt||e.getIndex()===nt,"unknown index type."),null!=t&&"object"===typeof t||null!=n&&"object"===typeof n)throw new Error("Query: First argument passed to startAt(), startAfter(), endAt(), endBefore(), or equalTo() cannot be an object.")}function jo(e){if(e.hasStart()&&e.hasEnd()&&e.hasLimit()&&!e.hasAnchoredLimit())throw new Error("Query: Can't combine startAt(), startAfter(), endAt(), endBefore(), and limit(). Use limitToFirst() or limitToLast() instead.")}var So=function(e){function t(t,n){return e.call(this,t,n,new ht,!1)||this}return Object(a.c)(t,e),Object.defineProperty(t.prototype,"parent",{get:function(){var e=he(this._path);return null===e?null:new t(this._repo,e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"root",{get:function(){for(var e=this;null!==e.parent;)e=e.parent;return e},enumerable:!1,configurable:!0}),t}(Mo),Io=function(){function e(e,t,n){this._node=e,this.ref=t,this._index=n}return Object.defineProperty(e.prototype,"priority",{get:function(){return this._node.getPriority().val()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"key",{get:function(){return this.ref.key},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"size",{get:function(){return this._node.numChildren()},enumerable:!1,configurable:!0}),e.prototype.child=function(t){var n=new se(t),r=Eo(this.ref,t);return new e(this._node.getChild(n),r,Qe)},e.prototype.exists=function(){return!this._node.isEmpty()},e.prototype.exportVal=function(){return this._node.val(!0)},e.prototype.forEach=function(t){var n=this;return!this._node.isLeafNode()&&!!this._node.forEachChild(this._index,(function(r,o){return t(new e(o,Eo(n.ref,r),Qe))}))},e.prototype.hasChild=function(e){var t=new se(e);return!this._node.getChild(t).isEmpty()},e.prototype.hasChildren=function(){return!this._node.isLeafNode()&&!this._node.isEmpty()},e.prototype.toJSON=function(){return this.exportVal()},e.prototype.val=function(){return this._node.val()},e}();function Do(e,t){return(e=Object(i.n)(e))._checkNotDeleted("ref"),void 0!==t?Eo(e._root,t):e._root}function xo(e,t){(e=Object(i.n)(e))._checkNotDeleted("refFromURL");var n=ho(t,e._repo.repoInfo_.nodeAdmin);zr("refFromURL",n);var r=n.repoInfo;return e._repo.repoInfo_.isCustomHost()||r.host===e._repo.repoInfo_.host||I("refFromURL: Host name does not match the current database: (found "+r.host+" but expected "+e._repo.repoInfo_.host+")"),Do(e,n.path.toString())}function Eo(e,t){var n,r,o,a;return null===le((e=Object(i.n)(e))._path)?(n="child",r="path",a=!1,(o=t)&&(o=o.replace(/^\/*\.info(\/|$)/,"/")),_r(n,r,o,a)):_r("child","path",t,!1),new So(e._repo,ge(e._path,t))}function Oo(e,t){e=Object(i.n)(e),Ar("push",e._path),Er("push",t,e._path,!0);var n,r=Qr(e._repo),o=ot(r),a=Eo(e,o),s=Eo(e,o);return n=null!=t?Co(s,t).then((function(){return s})):Promise.resolve(s),a.then=n.then.bind(n),a.catch=n.then.bind(n,void 0),a}function To(e){return Ar("remove",e._path),Co(e,null)}function Co(e,t){e=Object(i.n)(e),Ar("set",e._path),Er("set",t,e._path,!1);var n=new i.a;return Jr(e._repo,e._path,t,null,n.wrapCallback((function(){}))),n.promise}function ko(e,t){e=Object(i.n)(e),Ar("setPriority",e._path),Cr("setPriority",t,!1);var n=new i.a;return Jr(e._repo,ge(e._path,".priority"),t,null,n.wrapCallback((function(){}))),n.promise}function Lo(e,t,n){if(Ar("setWithPriority",e._path),Er("setWithPriority",t,e._path,!1),Cr("setWithPriority",n,!1),".length"===e.key||".keys"===e.key)throw"setWithPriority failed: "+e.key+" is a read-only object.";var r=new i.a;return Jr(e._repo,e._path,t,n,r.wrapCallback((function(){}))),r.promise}function _o(e,t){Tr("update",t,e._path,!1);var n=new i.a;return function(e,t,n,r){ro(e,"update",{path:t.toString(),value:n});var o=!0,i=Wr(e),a={};if(A(n,(function(n,r){o=!1,a[n]=dr(ge(t,n),et(r),e.serverSyncTree_,i)})),o)N("update() called with empty data.  Don't do anything."),oo(e,r,"ok",void 0);else{var s=$r(e),u=Qn(e.serverSyncTree_,t,a,s);Ur(e.eventQueue_,u),e.server_.merge(t.toString(),n,(function(n,o){var i="ok"===n;i||D("update at "+t+" failed: "+n);var a=Wn(e.serverSyncTree_,s,!i),u=a.length>0?so(e,t):t;Fr(e.eventQueue_,u,a),oo(e,r,n,o)})),A(n,(function(n){var r=fo(e,ge(t,n));so(e,r)})),Fr(e.eventQueue_,t,[])}}(e._repo,e._path,t,n.wrapCallback((function(){}))),n.promise}function Ao(e){return function(e,t){var n=Jn(e.serverSyncTree_,t);return null!=n?Promise.resolve(n):e.server_.get(t).then((function(n){var r=et(n).withIndex(t._queryParams.getIndex()),o=Zn(e.serverSyncTree_,t._path,r);return Br(e.eventQueue_,t._path,o),Promise.resolve(r)}),(function(n){return ro(e,"get for query "+Object(i.C)(t)+" failed: "+n),Promise.reject(new Error(n))}))}((e=Object(i.n)(e))._repo,e).then((function(t){return new Io(t,new So(e._repo,e._path),e._queryParams.getIndex())}))}var zo=function(){function e(e){this.callbackContext=e}return e.prototype.respondsTo=function(e){return"value"===e},e.prototype.createEvent=function(e,t){var n=t._queryParams.getIndex();return new yo("value",this,new Io(e.snapshotNode,new So(t._repo,t._path),n))},e.prototype.getEventRunner=function(e){var t=this;return"cancel"===e.getEventType()?function(){return t.callbackContext.onCancel(e.error)}:function(){return t.callbackContext.onValue(e.snapshot,null)}},e.prototype.createCancelEvent=function(e,t){return this.callbackContext.hasCancelCallback?new mo(this,e,t):null},e.prototype.matches=function(t){return t instanceof e&&(!t.callbackContext||!this.callbackContext||t.callbackContext.matches(this.callbackContext))},e.prototype.hasAnyCallback=function(){return null!==this.callbackContext},e}(),Po=function(){function e(e,t){this.eventType=e,this.callbackContext=t}return e.prototype.respondsTo=function(e){var t="children_added"===e?"child_added":e;return t="children_removed"===t?"child_removed":t,this.eventType===t},e.prototype.createCancelEvent=function(e,t){return this.callbackContext.hasCancelCallback?new mo(this,e,t):null},e.prototype.createEvent=function(e,t){Object(i.d)(null!=e.childName,"Child events should have a childName.");var n=Eo(new So(t._repo,t._path),e.childName),r=t._queryParams.getIndex();return new yo(e.type,this,new Io(e.snapshotNode,n,r),e.prevName)},e.prototype.getEventRunner=function(e){var t=this;return"cancel"===e.getEventType()?function(){return t.callbackContext.onCancel(e.error)}:function(){return t.callbackContext.onValue(e.snapshot,e.prevName)}},e.prototype.matches=function(t){return t instanceof e&&(this.eventType===t.eventType&&(!this.callbackContext||!t.callbackContext||this.callbackContext.matches(t.callbackContext)))},e.prototype.hasAnyCallback=function(){return!!this.callbackContext},e}();function Ro(e,t,n,r,o){var i;if("object"===typeof r&&(i=void 0,o=r),"function"===typeof r&&(i=r),o&&o.onlyOnce){var a=n,s=function(t,n){to(e._repo,e,l),a(t,n)};s.userCallback=n.userCallback,s.context=n.context,n=s}var u=new vo(n,i||void 0),l="value"===t?new zo(u):new Po(t,u);return function(e,t,n){var r;r=".info"===le(t._path)?Xn(e.infoSyncTree_,t,n):Xn(e.serverSyncTree_,t,n),Br(e.eventQueue_,t._path,r)}(e._repo,e,l),function(){return to(e._repo,e,l)}}function Uo(e,t,n,r){return Ro(e,"value",t,n,r)}function Bo(e,t,n,r){return Ro(e,"child_added",t,n,r)}function Fo(e,t,n,r){return Ro(e,"child_changed",t,n,r)}function Yo(e,t,n,r){return Ro(e,"child_moved",t,n,r)}function Go(e,t,n,r){return Ro(e,"child_removed",t,n,r)}function Ho(e,t,n){var r=null,o=n?new vo(n):null;"value"===t?r=new zo(o):t&&(r=new Po(t,o)),to(e._repo,e,r)}var Vo=function(){},Qo=function(e){function t(t,n){var r=e.call(this)||this;return r._value=t,r._key=n,r}return Object(a.c)(t,e),t.prototype._apply=function(e){Er("endAt",this._value,e._path,!0);var t=yt(e._queryParams,this._value,this._key);if(jo(t),No(t),e._queryParams.hasEnd())throw new Error("endAt: Starting point was already set (by another call to endAt, endBefore or equalTo).");return new Mo(e._repo,e._path,t,e._orderByCalled)},t}(Vo);function Wo(e,t){return Lr("endAt","key",t,!0),new Qo(e,t)}var Zo=function(e){function t(t,n){var r=e.call(this)||this;return r._value=t,r._key=n,r}return Object(a.c)(t,e),t.prototype._apply=function(e){Er("endBefore",this._value,e._path,!1);var t=function(e,t,n){var r;return e.index_===Ce?("string"===typeof t&&(t=at(t)),r=yt(e,t,n)):r=yt(e,t,null==n?E:at(n)),r.endBeforeSet_=!0,r}(e._queryParams,this._value,this._key);if(jo(t),No(t),e._queryParams.hasEnd())throw new Error("endBefore: Starting point was already set (by another call to endAt, endBefore or equalTo).");return new Mo(e._repo,e._path,t,e._orderByCalled)},t}(Vo);function qo(e,t){return Lr("endBefore","key",t,!0),new Zo(e,t)}var Xo=function(e){function t(t,n){var r=e.call(this)||this;return r._value=t,r._key=n,r}return Object(a.c)(t,e),t.prototype._apply=function(e){Er("startAt",this._value,e._path,!0);var t=gt(e._queryParams,this._value,this._key);if(jo(t),No(t),e._queryParams.hasStart())throw new Error("startAt: Starting point was already set (by another call to startAt, startBefore or equalTo).");return new Mo(e._repo,e._path,t,e._orderByCalled)},t}(Vo);function $o(e,t){return void 0===e&&(e=null),Lr("startAt","key",t,!0),new Xo(e,t)}var Jo=function(e){function t(t,n){var r=e.call(this)||this;return r._value=t,r._key=n,r}return Object(a.c)(t,e),t.prototype._apply=function(e){Er("startAfter",this._value,e._path,!1);var t=function(e,t,n){var r;if(e.index_===Ce)"string"===typeof t&&(t=it(t)),r=gt(e,t,n);else{r=gt(e,t,null==n?O:it(n))}return r.startAfterSet_=!0,r}(e._queryParams,this._value,this._key);if(jo(t),No(t),e._queryParams.hasStart())throw new Error("startAfter: Starting point was already set (by another call to startAt, startAfter, or equalTo).");return new Mo(e._repo,e._path,t,e._orderByCalled)},t}(Vo);function Ko(e,t){return Lr("startAfter","key",t,!0),new Jo(e,t)}var ei=function(e){function t(t){var n=e.call(this)||this;return n._limit=t,n}return Object(a.c)(t,e),t.prototype._apply=function(e){if(e._queryParams.hasLimit())throw new Error("limitToFirst: Limit was already set (by another call to limitToFirst or limitToLast).");return new Mo(e._repo,e._path,function(e,t){var n=e.copy();return n.limitSet_=!0,n.limit_=t,n.viewFrom_="l",n}(e._queryParams,this._limit),e._orderByCalled)},t}(Vo);function ti(e){if("number"!==typeof e||Math.floor(e)!==e||e<=0)throw new Error("limitToFirst: First argument must be a positive integer.");return new ei(e)}var ni=function(e){function t(t){var n=e.call(this)||this;return n._limit=t,n}return Object(a.c)(t,e),t.prototype._apply=function(e){if(e._queryParams.hasLimit())throw new Error("limitToLast: Limit was already set (by another call to limitToFirst or limitToLast).");return new Mo(e._repo,e._path,function(e,t){var n=e.copy();return n.limitSet_=!0,n.limit_=t,n.viewFrom_="r",n}(e._queryParams,this._limit),e._orderByCalled)},t}(Vo);function ri(e){if("number"!==typeof e||Math.floor(e)!==e||e<=0)throw new Error("limitToLast: First argument must be a positive integer.");return new ni(e)}var oi=function(e){function t(t){var n=e.call(this)||this;return n._path=t,n}return Object(a.c)(t,e),t.prototype._apply=function(e){wo(e,"orderByChild");var t=new se(this._path);if(ye(t))throw new Error("orderByChild: cannot pass in empty path. Use orderByValue() instead.");var n=new tt(t),r=mt(e._queryParams,n);return No(r),new Mo(e._repo,e._path,r,!0)},t}(Vo);function ii(e){if("$key"===e)throw new Error('orderByChild: "$key" is invalid.  Use orderByKey() instead.');if("$priority"===e)throw new Error('orderByChild: "$priority" is invalid.  Use orderByPriority() instead.');if("$value"===e)throw new Error('orderByChild: "$value" is invalid.  Use orderByValue() instead.');return _r("orderByChild","path",e,!1),new oi(e)}var ai=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(a.c)(t,e),t.prototype._apply=function(e){wo(e,"orderByKey");var t=mt(e._queryParams,Ce);return No(t),new Mo(e._repo,e._path,t,!0)},t}(Vo);function si(){return new ai}var ui=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(a.c)(t,e),t.prototype._apply=function(e){wo(e,"orderByPriority");var t=mt(e._queryParams,Qe);return No(t),new Mo(e._repo,e._path,t,!0)},t}(Vo);function li(){return new ui}var ci=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(a.c)(t,e),t.prototype._apply=function(e){wo(e,"orderByValue");var t=mt(e._queryParams,nt);return No(t),new Mo(e._repo,e._path,t,!0)},t}(Vo);function fi(){return new ci}var di=function(e){function t(t,n){var r=e.call(this)||this;return r._value=t,r._key=n,r}return Object(a.c)(t,e),t.prototype._apply=function(e){if(Er("equalTo",this._value,e._path,!1),e._queryParams.hasStart())throw new Error("equalTo: Starting point was already set (by another call to startAt/startAfter or equalTo).");if(e._queryParams.hasEnd())throw new Error("equalTo: Ending point was already set (by another call to endAt/endBefore or equalTo).");return new Qo(this._value,this._key)._apply(new Xo(this._value,this._key)._apply(e))},t}(Vo);function pi(e,t){return Lr("equalTo","key",t,!0),new di(e,t)}function hi(e){for(var t,n,r=[],o=1;o<arguments.length;o++)r[o-1]=arguments[o];var s=Object(i.n)(e);try{for(var u=Object(a.h)(r),l=u.next();!l.done;l=u.next()){var c=l.value;s=c._apply(s)}}catch(f){t={error:f}}finally{try{l&&!l.done&&(n=u.return)&&n.call(u)}finally{if(t)throw t.error}}return s}!function(e){Object(i.d)(!Sn,"__referenceConstructor has already been defined"),Sn=e}(So),function(e){Object(i.d)(!Cn,"__referenceConstructor has already been defined"),Cn=e}(So);var gi={},yi=!1;function mi(t,n,r,o,i){var a=o||t.options.databaseURL;void 0===a&&(t.options.projectId||I("Can't determine Firebase Database URL. Be sure to include  a Project ID when calling firebase.initializeApp()."),N("Using default host for project ",t.options.projectId),a=t.options.projectId+"-default-rtdb.firebaseio.com");var s,u=ho(a,i),l=u.repoInfo,c=void 0;"undefined"!==typeof e&&(c=Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,REACT_APP_MAP_KEY:"AIzaSyAYdp6JWyJaD-2Jiil3ggePxUBDIMpD-Kg",REACT_APP_NODE_ENV:"dev"}).FIREBASE_DATABASE_EMULATOR_HOST),c?(s=!0,a="http://"+c+"?ns="+l.namespace,l=(u=ho(a,i)).repoInfo):s=!u.repoInfo.secure;var f=i&&s?new G(G.OWNER):new Y(t.name,t.options,n);zr("Invalid Firebase Database URL",u),ye(u.path)||I("Database URL must point to the root of a Firebase Database (not including a child path).");var d=function(e,t,n,r){var o=gi[t.name];o||(o={},gi[t.name]=o);var i=o[e.toURLString()];i&&I("Database initialized multiple times. Please make sure the format of the database URL matches with each database() call.");return i=new Hr(e,yi,n,r),o[e.toURLString()]=i,i}(l,t,f,new F(t.name,r));return new vi(d,t)}var vi=function(){function e(e,t){this._repoInternal=e,this.app=t,this.type="database",this._instanceStarted=!1}return Object.defineProperty(e.prototype,"_repo",{get:function(){return this._instanceStarted||(Vr(this._repoInternal,this.app.options.appId,this.app.options.databaseAuthVariableOverride),this._instanceStarted=!0),this._repoInternal},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"_root",{get:function(){return this._rootInternal||(this._rootInternal=new So(this._repo,ue())),this._rootInternal},enumerable:!1,configurable:!0}),e.prototype._delete=function(){return null!==this._rootInternal&&(!function(e,t){var n=gi[t];n&&n[e.key]===e||I("Database "+t+"("+e.repoInfo_+") has already been deleted."),no(e),delete n[e.key]}(this._repo,this.app.name),this._repoInternal=null,this._rootInternal=null),Promise.resolve()},e.prototype._checkNotDeleted=function(e){null===this._rootInternal&&I("Cannot call "+e+" on a deleted database.")},e}();function bi(e,t,n,r){void 0===r&&(r={}),(e=Object(i.n)(e))._checkNotDeleted("useEmulator"),e._instanceStarted&&I("Cannot call useEmulator() after instance has already been initialized.");var o=e._repoInternal,a=void 0;if(o.repoInfo_.nodeAdmin)r.mockUserToken&&I('mockUserToken is not supported by the Admin SDK. For client access with mock users, please use the "firebase" package instead of "firebase-admin".'),a=new G(G.OWNER);else if(r.mockUserToken){var s="string"===typeof r.mockUserToken?r.mockUserToken:Object(i.i)(r.mockUserToken,e.app.options.projectId);a=new G(s)}!function(e,t,n,r){e.repoInfo_=new V(t+":"+n,!1,e.repoInfo_.namespace,e.repoInfo_.webSocketOnly,e.repoInfo_.nodeAdmin,e.repoInfo_.persistenceKey,e.repoInfo_.includeNamespaceInQueryParams),r&&(e.authTokenProvider_=r)}(o,t,n,a)}function Mi(e){(e=Object(i.n)(e))._checkNotDeleted("goOffline"),no(e._repo)}function wi(e){var t;(e=Object(i.n)(e))._checkNotDeleted("goOnline"),(t=e._repo).persistentConnection_&&t.persistentConnection_.resume("repo_interrupt")}var Ni={".sv":"timestamp"};var ji=function(){function e(e,t){this.committed=e,this.snapshot=t}return e.prototype.toJSON=function(){return{committed:this.committed,snapshot:this.snapshot.toJSON()}},e}();function Si(e,t,n){var r;if(e=Object(i.n)(e),Ar("Reference.transaction",e._path),".length"===e.key||".keys"===e.key)throw"Reference.transaction failed: "+e.key+" is a read-only object.";var o=null===(r=null===n||void 0===n?void 0:n.applyLocally)||void 0===r||r,a=new i.a,s=Uo(e,(function(){}));return function(e,t,n,r,o,a){ro(e,"transaction on "+t);var s={path:t,update:n,onComplete:r,status:null,order:y(),applyLocally:a,retryCount:0,unwatcher:o,abortReason:null,currentWriteId:null,currentInputSnapshot:null,currentOutputSnapshotRaw:null,currentOutputSnapshotResolved:null},u=io(e,t,void 0);s.currentInputSnapshot=u;var l=s.update(u.val());if(void 0===l)s.unwatcher(),s.currentOutputSnapshotRaw=null,s.currentOutputSnapshotResolved=null,s.onComplete&&s.onComplete(null,!1,s.currentInputSnapshot);else{Or("transaction failed: Data returned ",l,s.path),s.status=0;var c=yr(e.transactionQueueTree_,t),f=mr(c)||[];f.push(s),vr(c,f);var d=void 0;if("object"===typeof l&&null!==l&&Object(i.h)(l,".priority"))d=Object(i.z)(l,".priority"),Object(i.d)(xr(d),"Invalid priority returned by transaction. Priority must be a valid string, finite number, server value, or null.");else d=($n(e.serverSyncTree_,t)||Je.EMPTY_NODE).getPriority().val();var p=Wr(e),h=et(l,d),g=pr(h,u,p);s.currentOutputSnapshotRaw=h,s.currentOutputSnapshotResolved=g,s.currentWriteId=$r(e);var m=Vn(e.serverSyncTree_,t,g,s.currentWriteId,s.applyLocally);Fr(e.eventQueue_,t,m),ao(e,e.transactionQueueTree_)}}(e._repo,e._path,t,(function(t,n,r){var o=null;t?a.reject(t):(o=new Io(r,new So(e._repo,e._path),Qe),a.resolve(new ji(n,o)))}),s,o),a.promise}var Ii=function(){function e(e){this._delegate=e}return e.prototype.cancel=function(e){Object(i.D)("OnDisconnect.cancel",0,1,arguments.length),Object(i.E)("OnDisconnect.cancel","onComplete",e,!0);var t=this._delegate.cancel();return e&&t.then((function(){return e(null)}),(function(t){return e(t)})),t},e.prototype.remove=function(e){Object(i.D)("OnDisconnect.remove",0,1,arguments.length),Object(i.E)("OnDisconnect.remove","onComplete",e,!0);var t=this._delegate.remove();return e&&t.then((function(){return e(null)}),(function(t){return e(t)})),t},e.prototype.set=function(e,t){Object(i.D)("OnDisconnect.set",1,2,arguments.length),Object(i.E)("OnDisconnect.set","onComplete",t,!0);var n=this._delegate.set(e);return t&&n.then((function(){return t(null)}),(function(e){return t(e)})),n},e.prototype.setWithPriority=function(e,t,n){Object(i.D)("OnDisconnect.setWithPriority",2,3,arguments.length),Object(i.E)("OnDisconnect.setWithPriority","onComplete",n,!0);var r=this._delegate.setWithPriority(e,t);return n&&r.then((function(){return n(null)}),(function(e){return n(e)})),r},e.prototype.update=function(e,t){if(Object(i.D)("OnDisconnect.update",1,2,arguments.length),Array.isArray(e)){for(var n={},r=0;r<e.length;++r)n[""+r]=e[r];e=n,D("Passing an Array to firebase.database.onDisconnect().update() is deprecated. Use set() if you want to overwrite the existing data, or an Object with integer keys if you really do want to only update some of the children.")}Object(i.E)("OnDisconnect.update","onComplete",t,!0);var o=this._delegate.update(e);return t&&o.then((function(){return t(null)}),(function(e){return t(e)})),o},e}(),Di=function(){function e(e,t){this.committed=e,this.snapshot=t}return e.prototype.toJSON=function(){return Object(i.D)("TransactionResult.toJSON",0,1,arguments.length),{committed:this.committed,snapshot:this.snapshot.toJSON()}},e}(),xi=function(){function e(e,t){this._database=e,this._delegate=t}return e.prototype.val=function(){return Object(i.D)("DataSnapshot.val",0,0,arguments.length),this._delegate.val()},e.prototype.exportVal=function(){return Object(i.D)("DataSnapshot.exportVal",0,0,arguments.length),this._delegate.exportVal()},e.prototype.toJSON=function(){return Object(i.D)("DataSnapshot.toJSON",0,1,arguments.length),this._delegate.toJSON()},e.prototype.exists=function(){return Object(i.D)("DataSnapshot.exists",0,0,arguments.length),this._delegate.exists()},e.prototype.child=function(t){return Object(i.D)("DataSnapshot.child",0,1,arguments.length),t=String(t),_r("DataSnapshot.child","path",t,!1),new e(this._database,this._delegate.child(t))},e.prototype.hasChild=function(e){return Object(i.D)("DataSnapshot.hasChild",1,1,arguments.length),_r("DataSnapshot.hasChild","path",e,!1),this._delegate.hasChild(e)},e.prototype.getPriority=function(){return Object(i.D)("DataSnapshot.getPriority",0,0,arguments.length),this._delegate.priority},e.prototype.forEach=function(t){var n=this;return Object(i.D)("DataSnapshot.forEach",1,1,arguments.length),Object(i.E)("DataSnapshot.forEach","action",t,!1),this._delegate.forEach((function(r){return t(new e(n._database,r))}))},e.prototype.hasChildren=function(){return Object(i.D)("DataSnapshot.hasChildren",0,0,arguments.length),this._delegate.hasChildren()},Object.defineProperty(e.prototype,"key",{get:function(){return this._delegate.key},enumerable:!1,configurable:!0}),e.prototype.numChildren=function(){return Object(i.D)("DataSnapshot.numChildren",0,0,arguments.length),this._delegate.size},e.prototype.getRef=function(){return Object(i.D)("DataSnapshot.ref",0,0,arguments.length),new Oi(this._database,this._delegate.ref)},Object.defineProperty(e.prototype,"ref",{get:function(){return this.getRef()},enumerable:!1,configurable:!0}),e}(),Ei=function(){function e(e,t){this.database=e,this._delegate=t}return e.prototype.on=function(t,n,r,o){var a,s=this;Object(i.D)("Query.on",2,4,arguments.length),Object(i.E)("Query.on","callback",n,!1);var u=e.getCancelAndContextArgs_("Query.on",r,o),l=function(e,t){n.call(u.context,new xi(s.database,e),t)};l.userCallback=n,l.context=u.context;var c=null===(a=u.cancel)||void 0===a?void 0:a.bind(u.context);switch(t){case"value":return Uo(this._delegate,l,c),n;case"child_added":return Bo(this._delegate,l,c),n;case"child_removed":return Go(this._delegate,l,c),n;case"child_changed":return Fo(this._delegate,l,c),n;case"child_moved":return Yo(this._delegate,l,c),n;default:throw new Error(Object(i.m)("Query.on","eventType")+'must be a valid event type = "value", "child_added", "child_removed", "child_changed", or "child_moved".')}},e.prototype.off=function(e,t,n){if(Object(i.D)("Query.off",0,3,arguments.length),kr("Query.off",e,!0),Object(i.E)("Query.off","callback",t,!0),Object(i.F)("Query.off","context",n,!0),t){var r=function(){};r.userCallback=t,r.context=n,Ho(this._delegate,e,r)}else Ho(this._delegate,e)},e.prototype.get=function(){var e=this;return Ao(this._delegate).then((function(t){return new xi(e.database,t)}))},e.prototype.once=function(t,n,r,o){var a=this;Object(i.D)("Query.once",1,4,arguments.length),Object(i.E)("Query.once","callback",n,!0);var s=e.getCancelAndContextArgs_("Query.once",r,o),u=new i.a,l=function(e,t){var r=new xi(a.database,e);n&&n.call(s.context,r,t),u.resolve(r)};l.userCallback=n,l.context=s.context;var c=function(e){s.cancel&&s.cancel.call(s.context,e),u.reject(e)};switch(t){case"value":Uo(this._delegate,l,c,{onlyOnce:!0});break;case"child_added":Bo(this._delegate,l,c,{onlyOnce:!0});break;case"child_removed":Go(this._delegate,l,c,{onlyOnce:!0});break;case"child_changed":Fo(this._delegate,l,c,{onlyOnce:!0});break;case"child_moved":Yo(this._delegate,l,c,{onlyOnce:!0});break;default:throw new Error(Object(i.m)("Query.once","eventType")+'must be a valid event type = "value", "child_added", "child_removed", "child_changed", or "child_moved".')}return u.promise},e.prototype.limitToFirst=function(t){return Object(i.D)("Query.limitToFirst",1,1,arguments.length),new e(this.database,hi(this._delegate,ti(t)))},e.prototype.limitToLast=function(t){return Object(i.D)("Query.limitToLast",1,1,arguments.length),new e(this.database,hi(this._delegate,ri(t)))},e.prototype.orderByChild=function(t){return Object(i.D)("Query.orderByChild",1,1,arguments.length),new e(this.database,hi(this._delegate,ii(t)))},e.prototype.orderByKey=function(){return Object(i.D)("Query.orderByKey",0,0,arguments.length),new e(this.database,hi(this._delegate,si()))},e.prototype.orderByPriority=function(){return Object(i.D)("Query.orderByPriority",0,0,arguments.length),new e(this.database,hi(this._delegate,li()))},e.prototype.orderByValue=function(){return Object(i.D)("Query.orderByValue",0,0,arguments.length),new e(this.database,hi(this._delegate,fi()))},e.prototype.startAt=function(t,n){return void 0===t&&(t=null),Object(i.D)("Query.startAt",0,2,arguments.length),new e(this.database,hi(this._delegate,$o(t,n)))},e.prototype.startAfter=function(t,n){return void 0===t&&(t=null),Object(i.D)("Query.startAfter",0,2,arguments.length),new e(this.database,hi(this._delegate,Ko(t,n)))},e.prototype.endAt=function(t,n){return void 0===t&&(t=null),Object(i.D)("Query.endAt",0,2,arguments.length),new e(this.database,hi(this._delegate,Wo(t,n)))},e.prototype.endBefore=function(t,n){return void 0===t&&(t=null),Object(i.D)("Query.endBefore",0,2,arguments.length),new e(this.database,hi(this._delegate,qo(t,n)))},e.prototype.equalTo=function(t,n){return Object(i.D)("Query.equalTo",1,2,arguments.length),new e(this.database,hi(this._delegate,pi(t,n)))},e.prototype.toString=function(){return Object(i.D)("Query.toString",0,0,arguments.length),this._delegate.toString()},e.prototype.toJSON=function(){return Object(i.D)("Query.toJSON",0,1,arguments.length),this._delegate.toJSON()},e.prototype.isEqual=function(t){if(Object(i.D)("Query.isEqual",1,1,arguments.length),!(t instanceof e)){var n="Query.isEqual failed: First argument must be an instance of firebase.database.Query.";throw new Error(n)}return this._delegate.isEqual(t._delegate)},e.getCancelAndContextArgs_=function(e,t,n){var r={cancel:void 0,context:void 0};if(t&&n)r.cancel=t,Object(i.E)(e,"cancel",r.cancel,!0),r.context=n,Object(i.F)(e,"context",r.context,!0);else if(t)if("object"===typeof t&&null!==t)r.context=t;else{if("function"!==typeof t)throw new Error(Object(i.m)(e,"cancelOrContext")+" must either be a cancel callback or a context object.");r.cancel=t}return r},Object.defineProperty(e.prototype,"ref",{get:function(){return new Oi(this.database,new So(this._delegate._repo,this._delegate._path))},enumerable:!1,configurable:!0}),e}(),Oi=function(e){function t(t,n){var r=e.call(this,t,new Mo(n._repo,n._path,new ht,!1))||this;return r.database=t,r._delegate=n,r}return Object(a.c)(t,e),t.prototype.getKey=function(){return Object(i.D)("Reference.key",0,0,arguments.length),this._delegate.key},t.prototype.child=function(e){return Object(i.D)("Reference.child",1,1,arguments.length),"number"===typeof e&&(e=String(e)),new t(this.database,Eo(this._delegate,e))},t.prototype.getParent=function(){Object(i.D)("Reference.parent",0,0,arguments.length);var e=this._delegate.parent;return e?new t(this.database,e):null},t.prototype.getRoot=function(){return Object(i.D)("Reference.root",0,0,arguments.length),new t(this.database,this._delegate.root)},t.prototype.set=function(e,t){Object(i.D)("Reference.set",1,2,arguments.length),Object(i.E)("Reference.set","onComplete",t,!0);var n=Co(this._delegate,e);return t&&n.then((function(){return t(null)}),(function(e){return t(e)})),n},t.prototype.update=function(e,t){if(Object(i.D)("Reference.update",1,2,arguments.length),Array.isArray(e)){for(var n={},r=0;r<e.length;++r)n[""+r]=e[r];e=n,D("Passing an Array to Firebase.update() is deprecated. Use set() if you want to overwrite the existing data, or an Object with integer keys if you really do want to only update some of the children.")}Ar("Reference.update",this._delegate._path),Object(i.E)("Reference.update","onComplete",t,!0);var o=_o(this._delegate,e);return t&&o.then((function(){return t(null)}),(function(e){return t(e)})),o},t.prototype.setWithPriority=function(e,t,n){Object(i.D)("Reference.setWithPriority",2,3,arguments.length),Object(i.E)("Reference.setWithPriority","onComplete",n,!0);var r=Lo(this._delegate,e,t);return n&&r.then((function(){return n(null)}),(function(e){return n(e)})),r},t.prototype.remove=function(e){Object(i.D)("Reference.remove",0,1,arguments.length),Object(i.E)("Reference.remove","onComplete",e,!0);var t=To(this._delegate);return e&&t.then((function(){return e(null)}),(function(t){return e(t)})),t},t.prototype.transaction=function(e,t,n){var r=this;Object(i.D)("Reference.transaction",1,3,arguments.length),Object(i.E)("Reference.transaction","transactionUpdate",e,!1),Object(i.E)("Reference.transaction","onComplete",t,!0),Pr("Reference.transaction","applyLocally",n,!0);var o=Si(this._delegate,e,{applyLocally:n}).then((function(e){return new Di(e.committed,new xi(r.database,e.snapshot))}));return t&&o.then((function(e){return t(null,e.committed,e.snapshot)}),(function(e){return t(e,!1,null)})),o},t.prototype.setPriority=function(e,t){Object(i.D)("Reference.setPriority",1,2,arguments.length),Object(i.E)("Reference.setPriority","onComplete",t,!0);var n=ko(this._delegate,e);return t&&n.then((function(){return t(null)}),(function(e){return t(e)})),n},t.prototype.push=function(e,n){var r=this;Object(i.D)("Reference.push",0,2,arguments.length),Object(i.E)("Reference.push","onComplete",n,!0);var o=Oo(this._delegate,e),a=o.then((function(e){return new t(r.database,e)}));n&&a.then((function(){return n(null)}),(function(e){return n(e)}));var s=new t(this.database,o);return s.then=a.then.bind(a),s.catch=a.catch.bind(a,void 0),s},t.prototype.onDisconnect=function(){return Ar("Reference.onDisconnect",this._delegate._path),new Ii(new bo(this._delegate._repo,this._delegate._path))},Object.defineProperty(t.prototype,"key",{get:function(){return this.getKey()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this.getParent()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"root",{get:function(){return this.getRoot()},enumerable:!1,configurable:!0}),t}(Ei),Ti=function(){function e(e,t){var n=this;this._delegate=e,this.app=t,this.INTERNAL={delete:function(){return n._delegate._delete()}}}return e.prototype.useEmulator=function(e,t,n){void 0===n&&(n={}),bi(this._delegate,e,t,n)},e.prototype.ref=function(e){if(Object(i.D)("database.ref",0,1,arguments.length),e instanceof Oi){var t=xo(this._delegate,e.toString());return new Oi(this,t)}t=Do(this._delegate,e);return new Oi(this,t)},e.prototype.refFromURL=function(e){var t="database.refFromURL";Object(i.D)(t,1,1,arguments.length);var n=xo(this._delegate,e);return new Oi(this,n)},e.prototype.goOffline=function(){return Object(i.D)("database.goOffline",0,0,arguments.length),Mi(this._delegate)},e.prototype.goOnline=function(){return Object(i.D)("database.goOnline",0,0,arguments.length),wi(this._delegate)},e.ServerValue={TIMESTAMP:Ni,increment:function(e){return function(e){return{".sv":{increment:e}}}(e)}},e}();var Ci=Object.freeze({__proto__:null,forceLongPolling:function(){te.forceDisallow(),J.forceAllow()},forceWebSockets:function(){J.forceDisallow()},isWebSocketsAvailable:function(){return te.isAvailable()},setSecurityDebugCallback:function(e,t){e._delegate._repo.persistentConnection_.securityDebugCallback_=t},stats:function(e,t){!function(e,t){if(void 0===t&&(t=!1),"undefined"!==typeof console){var n;t?(e.statsListener_||(e.statsListener_=new Dt(e.stats_)),n=e.statsListener_.get()):n=e.stats_.get();var r=Object.keys(n).reduce((function(e,t){return Math.max(t.length,e)}),0);A(n,(function(e,t){for(var n=e,o=e.length;o<r+2;o++)n+=" ";console.log(n+t)}))}}(e._delegate._repo,t)},statsIncrementCounter:function(e,t){!function(e,t){var n,r;e.stats_.incrementCounter(t),n=e.statsReporter_,r=t,n.statsToReport_[r]=!0}(e._delegate._repo,t)},dataUpdateCount:function(e){return e._delegate._repo.dataUpdateCount},interceptServerData:function(e,t){return function(e,t){e.interceptServerDataCallback_=t}(e._delegate._repo,t)},initStandalone:function(e){var t=e.app,n=e.url,r=e.version,i=e.customAuthImpl,a=e.namespace,s=e.nodeAdmin,u=void 0!==s&&s;l(r);var c=new o.c("auth-internal",new o.b("database-standalone"));return c.setComponent(new o.a("auth-internal",(function(){return i}),"PRIVATE")),{instance:new Ti(mi(t,c,void 0,n,u),t),namespace:a}}}),ki=xe;xe.prototype.simpleListen=function(e,t){this.sendRequest("q",{p:e},t)},xe.prototype.echo=function(e,t){this.sendRequest("echo",{d:e},t)};var Li=re,_i=V,Ai=Object.freeze({__proto__:null,DataConnection:ki,RealTimeConnection:Li,hijackHash:function(e){var t=xe.prototype.put;return xe.prototype.put=function(n,r,o,i){void 0!==i&&(i=e()),t.call(this,n,r,o,i)},function(){xe.prototype.put=t}},ConnectionTarget:_i,queryIdentifier:function(e){return e._delegate._queryIdentifier},forceRestClient:function(e){!function(e){yi=e}(e)}}),zi=Ti.ServerValue;!function(e){l(e.SDK_VERSION);var n=e.INTERNAL.registerComponent(new o.a("database",(function(e,t){var n=t.instanceIdentifier,r=e.getProvider("app").getImmediate(),o=e.getProvider("auth-internal"),i=e.getProvider("app-check-internal");return new Ti(mi(r,o,i,n),r)}),"PUBLIC").setServiceProps({Reference:Oi,Query:Ei,Database:Ti,DataSnapshot:xi,enableLogging:w,INTERNAL:Ci,ServerValue:zi,TEST_ACCESS:Ai}).setMultipleInstances(!0));e.registerVersion("@firebase/database","0.11.0"),Object(i.t)()&&(t.exports=n)}(r.a)}).call(this,n(124),n(521)(e))},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,n){var r=function(e){"use strict";var t=Object.prototype,n=t.hasOwnProperty,r="function"===typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(D){s=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var o=t&&t.prototype instanceof f?t:f,i=Object.create(o.prototype),a=new j(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return I()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=M(a,n);if(s){if(s===c)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=l(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===c)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}(e,n,a),i}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(D){return{type:"throw",arg:D}}}e.wrap=u;var c={};function f(){}function d(){}function p(){}var h={};s(h,o,(function(){return this}));var g=Object.getPrototypeOf,y=g&&g(g(S([])));y&&y!==t&&n.call(y,o)&&(h=y);var m=p.prototype=f.prototype=Object.create(h);function v(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){var r;this._invoke=function(o,i){function a(){return new t((function(r,a){!function r(o,i,a,s){var u=l(e[o],e,i);if("throw"!==u.type){var c=u.arg,f=c.value;return f&&"object"===typeof f&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(f).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,s)}))}s(u.arg)}(o,i,r,a)}))}return r=r?r.then(a,a):a()}}function M(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,M(e,t),"throw"===t.method))return c;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return c}var r=l(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,c;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,c):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,c)}function w(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 N(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(w,this),this.reset(!0)}function S(e){if(e){var t=e[o];if(t)return t.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:I}}function I(){return{value:void 0,done:!0}}return d.prototype=p,s(m,"constructor",p),s(p,"constructor",d),d.displayName=s(p,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,s(e,a,"GeneratorFunction")),e.prototype=Object.create(m),e},e.awrap=function(e){return{__await:e}},v(b.prototype),s(b.prototype,i,(function(){return this})),e.AsyncIterator=b,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new b(u(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},v(m),s(m,a,"Generator"),s(m,o,(function(){return this})),s(m,"toString",(function(){return"[object Generator]"})),e.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}},e.values=S,j.prototype={constructor:j,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(N),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(s&&u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,c):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),c},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),N(n),c}},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;N(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:S(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),c}},e}(e.exports);try{regeneratorRuntime=r}catch(o){"object"===typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},function(e,t,n){"use strict";t.__esModule=!0;var r=n(326),o=a(r),i=a(n(176));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(e){function t(n,o,a){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var s=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,e.call(this,n,o,a,i.default));return(0,r.injectStyles)(),(0,r.setWindowHeightStyle)(),window.addEventListener("resize",(function(){(0,r.setWindowHeightStyle)()})),s}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(o.default);t.default=s,s.version="11.31.1"},function(e,t,n){"use strict";var r,o="object"===typeof Reflect?Reflect:null,i=o&&"function"===typeof o.apply?o.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};r=o&&"function"===typeof o.ownKeys?o.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var a=Number.isNaN||function(e){return e!==e};function s(){s.init.call(this)}e.exports=s,e.exports.once=function(e,t){return new Promise((function(n,r){function o(n){e.removeListener(t,i),r(n)}function i(){"function"===typeof e.removeListener&&e.removeListener("error",o),n([].slice.call(arguments))}m(e,t,i,{once:!0}),"error"!==t&&function(e,t,n){"function"===typeof e.on&&m(e,"error",t,n)}(e,o,{once:!0})}))},s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var u=10;function l(e){if("function"!==typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function c(e){return void 0===e._maxListeners?s.defaultMaxListeners:e._maxListeners}function f(e,t,n,r){var o,i,a,s;if(l(n),void 0===(i=e._events)?(i=e._events=Object.create(null),e._eventsCount=0):(void 0!==i.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),i=e._events),a=i[t]),void 0===a)a=i[t]=n,++e._eventsCount;else if("function"===typeof a?a=i[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),(o=c(e))>0&&a.length>o&&!a.warned){a.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=a.length,s=u,console&&console.warn&&console.warn(s)}return e}function d(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},o=d.bind(r);return o.listener=n,r.wrapFn=o,o}function h(e,t,n){var r=e._events;if(void 0===r)return[];var o=r[t];return void 0===o?[]:"function"===typeof o?n?[o.listener||o]:[o]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(o):y(o,o.length)}function g(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"===typeof n)return 1;if(void 0!==n)return n.length}return 0}function y(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}function m(e,t,n,r){if("function"===typeof e.on)r.once?e.once(t,n):e.on(t,n);else{if("function"!==typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,(function o(i){r.once&&e.removeEventListener(t,o),n(i)}))}}Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return u},set:function(e){if("number"!==typeof e||e<0||a(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");u=e}}),s.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},s.prototype.setMaxListeners=function(e){if("number"!==typeof e||e<0||a(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},s.prototype.getMaxListeners=function(){return c(this)},s.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var r="error"===e,o=this._events;if(void 0!==o)r=r&&void 0===o.error;else if(!r)return!1;if(r){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var u=o[e];if(void 0===u)return!1;if("function"===typeof u)i(u,this,t);else{var l=u.length,c=y(u,l);for(n=0;n<l;++n)i(c[n],this,t)}return!0},s.prototype.addListener=function(e,t){return f(this,e,t,!1)},s.prototype.on=s.prototype.addListener,s.prototype.prependListener=function(e,t){return f(this,e,t,!0)},s.prototype.once=function(e,t){return l(t),this.on(e,p(this,e,t)),this},s.prototype.prependOnceListener=function(e,t){return l(t),this.prependListener(e,p(this,e,t)),this},s.prototype.removeListener=function(e,t){var n,r,o,i,a;if(l(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0===--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!==typeof n){for(o=-1,i=n.length-1;i>=0;i--)if(n[i]===t||n[i].listener===t){a=n[i].listener,o=i;break}if(o<0)return this;0===o?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,o),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,a||t)}return this},s.prototype.off=s.prototype.removeListener,s.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0===--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var o,i=Object.keys(n);for(r=0;r<i.length;++r)"removeListener"!==(o=i[r])&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"===typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},s.prototype.listeners=function(e){return h(this,e,!0)},s.prototype.rawListeners=function(e){return h(this,e,!1)},s.listenerCount=function(e,t){return"function"===typeof e.listenerCount?e.listenerCount(t):g.call(e,t)},s.prototype.listenerCount=g,s.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){return new r(e)};var r=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.state=t,this.watches={}}return e.prototype.reset=function(e){return this._change(e)},e.prototype.swap=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 this._change(e.apply(void 0,[this.state].concat(n)))},e.prototype.deref=function(){return this.state},e.prototype.addWatch=function(e,t){return this.watches[e]=t,this},e.prototype.removeWatch=function(e){return delete this.watches[e],this},e.prototype._change=function(e){var t=this.state,n=this.watches;return this.state=e,Object.keys(n).forEach((function(r){return n[r](r,t,e)})),this.state},e}()},function(e,t,n){"use strict";t.__esModule=!0,t.remove=t.render=void 0;var r=s(n(0)),o=s(n(15)),i=s(n(327)),a=s(n(328));function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var l=function(){function e(){u(this,e)}return e.prototype.ensure=function(e,t){var n=window.document.getElementById(e);if(!n&&t&&((n=window.document.createElement("div")).id=e,n.className="auth0-lock-container",window.document.body.appendChild(n)),!n)throw new Error("Can't find element with id "+e);return n},e}(),c=new(function(){function e(){u(this,e),this.containerManager=new l,this.modals={}}return e.prototype.render=function(e,t){var n=t.isModal,s=this.containerManager.ensure(e,n);n&&!this.modals[e]&&i.default.addClass(window.document.getElementsByTagName("html")[0],"auth0-lock-html");var u=o.default.render(r.default.createElement(a.default,t),s);return n&&(this.modals[e]=u),u},e.prototype.remove=function(e){var t=this;this.modals[e]?(this.modals[e].hide(),setTimeout((function(){return t.unmount(e)}),1e3)):this.unmount(e)},e.prototype.unmount=function(e){try{var t=this.containerManager.ensure(e);t&&o.default.unmountComponentAtNode(t)}catch(n){}this.modals[e]&&(delete this.modals[e],i.default.removeClass(window.document.getElementsByTagName("html")[0],"auth0-lock-html"))},e}());t.render=function(){return c.render.apply(c,arguments)},t.remove=function(){return c.remove.apply(c,arguments)}},function(e,t,n){"use strict";t.__esModule=!0;var r=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},o=h(n(2)),i=h(n(0)),a=h(n(15)),s=n(211),u=n(158),l=h(n(534)),c=h(n(535)),f=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(12)),d=h(n(601)),p=h(n(27));function h(e){return e&&e.__esModule?e:{default:e}}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(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 m(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 v=function(){return i.default.createElement("svg",{"aria-hidden":"true",focusable:"false",width:"43px",height:"42px",viewBox:"0 0 43 42",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},i.default.createElement("g",{id:"Page-1",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},i.default.createElement("g",{id:"Lock",transform:"translate(-280.000000, -3592.000000)"},i.default.createElement("g",{id:"SMS",transform:"translate(153.000000, 3207.000000)"},i.default.createElement("g",{id:"Group"},i.default.createElement("g",{id:"Login",transform:"translate(0.000000, 369.000000)"},i.default.createElement("g",{id:"Btn"},i.default.createElement("g",{id:"Oval-302-+-Shape",transform:"translate(128.000000, 17.000000)"},i.default.createElement("circle",{id:"Oval-302",stroke:"#FFFFFF",strokeWidth:"2",cx:"20.5",cy:"20",r:"20"}),i.default.createElement("path",{d:"M17.8,15.4 L19.2,14 L25.2,20 L19.2,26 L17.8,24.6 L22.4,20 L17.8,15.4 Z",id:"Shape",fill:"#FFFFFF"})))))))))},b=function(){return i.default.createElement("svg",{"aria-hidden":"true",focusable:"false",className:"icon-text",width:"8px",height:"12px",viewBox:"0 0 8 12",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},i.default.createElement("g",{id:"Symbols",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},i.default.createElement("g",{id:"Web/Submit/Active",transform:"translate(-148.000000, -32.000000)",fill:"#FFFFFF"},i.default.createElement("polygon",{id:"Shape",points:"148 33.4 149.4 32 155.4 38 149.4 44 148 42.6 152.6 38"}))))},M=function(e){function t(){return g(this,t),y(this,e.apply(this,arguments))}return m(t,e),t.prototype.handleSubmit=function(){var e=this.props,t=e.label,n=e.screenName,r=e.contentProps.model;"main.signUp"===n?f.emitEvent(r,"signup submit"):"main.login"===n?f.emitEvent(r,"signin submit"):"forgotPassword"===n?f.emitEvent(r,"forgot_password submit"):"socialOrEmail"===n?f.emitEvent(r,"socialOrEmail submit"):"socialOrPhoneNumber"===n&&f.emitEvent(r,"socialOrPhoneNumber submit"),this.props.onSubmit&&this.props.onSubmit(t,n)},t.prototype.focus=function(){a.default.findDOMNode(this).focus()},t.prototype.render=function(){var e=this.props,t=e.color,n=e.disabled,r=e.label,o=e.display,a=r?i.default.createElement("span",{className:"auth0-label-submit"},r,i.default.createElement(b,null)):i.default.createElement(v,null);return i.default.createElement("button",{className:"auth0-lock-submit",disabled:n,style:{backgroundColor:t,display:o},onClick:this.handleSubmit.bind(this),name:"submit",type:"submit","aria-label":r||"Submit"},i.default.createElement("div",{className:"auth0-loading-container"},i.default.createElement("div",{className:"auth0-loading"})),a)},t}(i.default.Component);M.propTypes={color:o.default.string.isRequired,disabled:o.default.bool,display:o.default.string,label:o.default.string,screenName:o.default.string,onSubmit:o.default.func,contentProps:o.default.object};var w=function(e){function t(n){g(this,t);var r=y(this,e.call(this,n));return r.state={moving:!1,reverse:!1,headerHeight:0},r}return m(t,e),t.prototype.componentWillReceiveProps=function(e){var t=this,n=this.props,r=n.auxiliaryPane,o=n.showSubmitButton,i=this.state.delayingShowSubmitButton;o||!e.showSubmitButton||i||this.setState({delayingShowSubmitButton:!0}),!r&&e.auxiliaryPane&&(this.auxiliaryPaneTriggerInput=window.document.activeElement,this.setState({moving:!0})),r&&!e.auxiliaryPane&&setTimeout((function(){return t.setState({moving:!1})}),400)},t.prototype.componentDidUpdate=function(e){var t=this,n=this.props,r=n.autofocus,o=n.auxiliaryPane,i=(n.error,n.screenName);if(r)if(!o||e.auxiliaryPane)if(o||!e.auxiliaryPane){if(i!==e.screenName){var a=this.findAutofocusInput();a&&(this.mainScreenName(e.screenName)!==this.mainScreenName()?this.inputToFocus=a:setTimeout((function(){return a.focus()}),17))}}else this.auxiliaryPaneTriggerInput&&setTimeout((function(){return t.auxiliaryPaneTriggerInput.focus()}),350);else{var s=this.findAutofocusInput(this.refs.auxiliary);s&&setTimeout((function(){return s.focus()}),350)}},t.prototype.onWillSlide=function(){this.setState({moving:!0}),this.sliding=!0},t.prototype.onDidSlide=function(){this.sliding=!1,this.setState({reverse:!1})},t.prototype.onDidAppear=function(){this.setState({moving:!1}),this.state.delayingShowSubmitButton&&this.setState({delayingShowSubmitButton:!1}),this.inputToFocus&&(this.inputToFocus.focus(),delete this.inputToFocus)},t.prototype.mainScreenName=function(e){return(e||this.props.screenName||"").split(".")[0]},t.prototype.findAutofocusInput=function(e){return a.default.findDOMNode(e||this.refs.screen).querySelector("input")},t.prototype.focusError=function(){var e=a.default.findDOMNode(this.refs.screen).querySelector(".auth0-lock-error input");e&&e.focus()},t.prototype.render=function(){var e=this,t=this.props,n=t.avatar,o=t.auxiliaryPane,a=t.backHandler,h=t.contentComponent,g=t.contentProps,y=t.disableSubmitButton,m=t.error,v=t.info,b=(t.isSubmitting,t.logo),w=t.primaryColor,N=t.screenName,j=t.showSubmitButton,S=t.submitButtonLabel,I=t.success,D=t.terms,x=t.title,E=t.classNames,O=t.scrollGlobalMessagesIntoView,T=g.model,C=this.state,k=C.delayingShowSubmitButton,L=C.moving,_=C.reverse,A=void 0,z=void 0;n?(A=n,z=x):(A=b,z="");var P=j&&!k;function R(e){return"string"===typeof e?i.default.createElement("span",{dangerouslySetInnerHTML:{__html:(0,s.sanitize)(e)}}):e}var U=m?i.default.createElement(c.default,{key:"global-error",message:R(m),type:"error",scrollIntoView:O}):null,B=I?i.default.createElement(c.default,{key:"global-success",message:R(I),type:"success",scrollIntoView:O}):null,F=v?i.default.createElement(c.default,{key:"global-info",message:R(v),type:"info",scrollIntoView:O}):null,Y=h,G=!L&&!k,H=(0,p.default)("auth0-lock-cred-pane",{"auth0-lock-quiet":G,"auth0-lock-moving":!G}),V=(0,p.default)("auth0-lock-cred-pane-internal-wrapper",{"auto-height":f.ui.forceAutoHeight(T)});return i.default.createElement("div",{className:H},i.default.createElement("div",{className:V},i.default.createElement("div",{className:"auth0-lock-content-wrapper"},i.default.createElement(d.default,{title:x,name:z,backHandler:a&&this.handleBack.bind(this),backgroundUrl:A,backgroundColor:w,logoUrl:b}),i.default.createElement("div",{className:"auth0-lock-content-body-wrapper",style:{marginTop:this.state.headerHeight}},i.default.createElement(u.TransitionGroup,null,i.default.createElement(u.CSSTransition,{classNames:"global-message",timeout:250},i.default.createElement("div",null,B,U,F))),i.default.createElement("div",{style:{position:"relative"},ref:"screen"},i.default.createElement(l.default,{delay:550,onDidAppear:this.onDidAppear.bind(this),onDidSlide:this.onDidSlide.bind(this),onWillSlide:this.onWillSlide.bind(this),transitionName:E,reverse:_},i.default.createElement("div",{key:this.mainScreenName(),className:"auth0-lock-view-content"},i.default.createElement("div",{style:{position:"relative"}},i.default.createElement("div",{className:"auth0-lock-body-content"},i.default.createElement("div",{className:"auth0-lock-content"},i.default.createElement("div",{className:"auth0-lock-form"},i.default.createElement(Y,r({focusSubmit:this.focusSubmit.bind(this)},g)))),D&&i.default.createElement("small",{className:"auth0-lock-terms"},D)))))))),i.default.createElement(M,{color:w,disabled:y,screenName:N,contentProps:g,label:S,ref:function(t){return e.submitButton=t},display:P?"block":"none"}),o&&i.default.createElement(u.TransitionGroup,null,i.default.createElement(u.CSSTransition,{ref:"auxiliary",classNames:"slide",timeout:350},o))))},t.prototype.focusSubmit=function(){this.submitButton.focus()},t.prototype.handleBack=function(){if(!this.sliding){var e=this.props.backHandler;this.setState({reverse:!0}),e()}},t}(i.default.Component);t.default=w,w.propTypes={autofocus:o.default.bool.isRequired,avatar:o.default.string,auxiliaryPane:o.default.element,backHandler:o.default.func,contentComponent:o.default.func.isRequired,contentProps:o.default.object.isRequired,disableSubmitButton:o.default.bool.isRequired,error:o.default.node,info:o.default.node,isSubmitting:o.default.bool.isRequired,logo:o.default.string.isRequired,primaryColor:o.default.string.isRequired,screenName:o.default.string.isRequired,showSubmitButton:o.default.bool.isRequired,submitButtonLabel:o.default.string,success:o.default.node,terms:o.default.element,title:o.default.string,classNames:o.default.string.isRequired,scrollGlobalMessagesIntoView:o.default.bool},w.defaultProps={autofocus:!1,disableSubmitButton:!1,showSubmitButton:!0,scrollGlobalMessagesIntoView:!0}},function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;!function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}t.default=e}(n(2));var r=s(n(529)),o=s(n(531)),i=s(n(0)),a=s(n(234));n(330);function s(e){return e&&e.__esModule?e:{default:e}}function u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var l=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return(0,r.default)(e,t)}))},c=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return(0,o.default)(e,t)}))},f=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).onEnter=function(e,n){var r=t.getClassNames(n?"appear":"enter").className;t.removeClasses(e,"exit"),l(e,r),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var r=t.getClassNames(n?"appear":"enter").activeClassName;t.reflowAndAddClass(e,r),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var r=t.getClassNames("appear").doneClassName,o=t.getClassNames("enter").doneClassName,i=n?r+" "+o:o;t.removeClasses(e,n?"appear":"enter"),l(e,i),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.getClassNames("exit").className;t.removeClasses(e,"appear"),t.removeClasses(e,"enter"),l(e,n),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.getClassNames("exit").activeClassName;t.reflowAndAddClass(e,n),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.getClassNames("exit").doneClassName;t.removeClasses(e,"exit"),l(e,n),t.props.onExited&&t.props.onExited(e)},t.getClassNames=function(e){var n=t.props.classNames,r="string"===typeof n,o=r?(r&&n?n+"-":"")+e:n[e];return{className:o,activeClassName:r?o+"-active":n[e+"Active"],doneClassName:r?o+"-done":n[e+"Done"]}},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var o=r.prototype;return o.removeClasses=function(e,t){var n=this.getClassNames(t),r=n.className,o=n.activeClassName,i=n.doneClassName;r&&c(e,r),o&&c(e,o),i&&c(e,i)},o.reflowAndAddClass=function(e,t){t&&(e&&e.scrollTop,l(e,t))},o.render=function(){var e=u({},this.props);return delete e.classNames,i.default.createElement(a.default,u({},e,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},r}(i.default.Component);f.defaultProps={classNames:""},f.propTypes={};var d=f;t.default=d,e.exports=t.default},function(e,t,n){"use strict";var r=n(209);t.__esModule=!0,t.default=function(e,t){e.classList?e.classList.add(t):(0,o.default)(e,t)||("string"===typeof e.className?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))};var o=r(n(530));e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")},e.exports=t.default},function(e,t,n){"use strict";function r(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}e.exports=function(e,t){e.classList?e.classList.remove(t):"string"===typeof e.className?e.className=r(e.className,t):e.setAttribute("class",r(e.className&&e.className.baseVal||"",t))}},function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;a(n(2));var r=a(n(0)),o=n(15),i=a(n(235));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(e){var t,n;function a(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).handleEnter=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEnter",0,n)},t.handleEntering=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEntering",0,n)},t.handleEntered=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEntered",0,n)},t.handleExit=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExit",1,n)},t.handleExiting=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExiting",1,n)},t.handleExited=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExited",1,n)},t}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var s=a.prototype;return s.handleLifecycle=function(e,t,n){var i,a=this.props.children,s=r.default.Children.toArray(a)[t];s.props[e]&&(i=s.props)[e].apply(i,n),this.props[e]&&this.props[e]((0,o.findDOMNode)(this))},s.render=function(){var e=this.props,t=e.children,n=e.in,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["children","in"]),a=r.default.Children.toArray(t),s=a[0],u=a[1];return delete o.onEnter,delete o.onEntering,delete o.onEntered,delete o.onExit,delete o.onExiting,delete o.onExited,r.default.createElement(i.default,o,n?r.default.cloneElement(s,{key:"first",onEnter:this.handleEnter,onEntering:this.handleEntering,onEntered:this.handleEntered}):r.default.cloneElement(u,{key:"second",onEnter:this.handleExit,onEntering:this.handleExiting,onEntered:this.handleExited}))},a}(r.default.Component);s.propTypes={};var u=s;t.default=u,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.getChildMapping=o,t.mergeChildMappings=i,t.getInitialChildMapping=function(e,t){return o(e.children,(function(n){return(0,r.cloneElement)(n,{onExited:t.bind(null,n),in:!0,appear:a(n,"appear",e),enter:a(n,"enter",e),exit:a(n,"exit",e)})}))},t.getNextChildMapping=function(e,t,n){var s=o(e.children),u=i(t,s);return Object.keys(u).forEach((function(o){var i=u[o];if((0,r.isValidElement)(i)){var l=o in t,c=o in s,f=t[o],d=(0,r.isValidElement)(f)&&!f.props.in;!c||l&&!d?c||!l||d?c&&l&&(0,r.isValidElement)(f)&&(u[o]=(0,r.cloneElement)(i,{onExited:n.bind(null,i),in:f.props.in,exit:a(i,"exit",e),enter:a(i,"enter",e)})):u[o]=(0,r.cloneElement)(i,{in:!1}):u[o]=(0,r.cloneElement)(i,{onExited:n.bind(null,i),in:!0,exit:a(i,"exit",e),enter:a(i,"enter",e)})}})),u};var r=n(0);function o(e,t){var n=Object.create(null);return e&&r.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&(0,r.isValidElement)(e)?t(e):e}(e)})),n}function i(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var s={};for(var u in t){if(o[u])for(r=0;r<o[u].length;r++){var l=o[u][r];s[o[u][r]]=n(l)}s[u]=n(u)}for(r=0;r<i.length;r++)s[i[r]]=n(i[r]);return s}function a(e,t,n){return null!=n[t]?n[t]:e.props[t]}},function(e,t,n){"use strict";t.__esModule=!0;var r=s(n(2)),o=s(n(0)),i=s(n(15)),a=s(n(327));function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(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 c(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 f=function(e){function t(n){u(this,t);var r=l(this,e.call(this,n));return r.state={children:{current:n.children}},r}return c(t,e),t.prototype.componentWillReceiveProps=function(e){this.state.children.current.key!=e.children.key?(this.setState({children:{current:e.children,prev:this.state.children.current},transitionName:this.props.transitionName}),this.animate=!0):this.timeout||this.setState({children:{current:e.children},transitionName:e.transitionName})},t.prototype.componentDidUpdate=function(){var e=this;if(this.animate){this.animate=!1;var t=this.state.transitionName,n=this.state.children,r=n.current,o=n.prev,s=this.props.reverse,u=this.refs[r.key],l=this.refs[o.key],c=function(e,t,n){var r=i.default.findDOMNode(e),o=t+"-active";a.default.addClass(r,t),setTimeout((function(){return a.default.addClass(r,o)}),17),n&&setTimeout((function(){a.default.removeClass(r,t),a.default.removeClass(r,o)}),n)};this.props.onWillSlide(),l.componentWillSlideOut((function(n){u.componentWillSlideIn(n);var r=s?"reverse-":"";c(u,""+r+t+"-enter",e.props.delay),c(l,""+r+t+"-exit"),e.timeout=setTimeout((function(){var t;e.setState({children:{current:e.state.children.current},transitionName:e.props.transitionName}),u.componentDidSlideIn((t=e.props).onDidAppear.bind(t)),e.props.onDidSlide(),e.timeout=null}),e.props.delay)}))}},t.prototype.componentWillUnmount=function(){this.timeout&&clearTimeout(this.timeout)},t.prototype.render=function(){var e=this.state.children,t=e.current,n=e.prev,r=(n?[t,n]:[t]).map((function(e){return o.default.cloneElement(o.default.createElement(d,{},e),{ref:e.key,key:e.key})}));return o.default.createElement(this.props.component,{},r)},t}(o.default.Component);t.default=f,f.propTypes={children:r.default.node.isRequired,component:r.default.string,delay:r.default.number.isRequired,onDidAppear:r.default.func.isRequired,onDidSlide:r.default.func.isRequired,onWillSlide:r.default.func.isRequired,reverse:r.default.bool.isRequired,transitionName:r.default.string.isRequired},f.defaultProps={component:"span",onDidAppear:function(){},onDidSlide:function(){},onWillSlide:function(){},reverse:!1};var d=function(e){function t(n){u(this,t);var r=l(this,e.call(this,n));return r.state={height:"",originalHeight:"",show:!0},r}return c(t,e),t.prototype.componentWillSlideIn=function(e){this.setState({height:e.height,originalHeight:parseInt(window.getComputedStyle(this.node,null).height,10),show:!1})},t.prototype.componentDidSlideIn=function(e){var t=this,n=this.state,r=n.height,o=n.originalHeight;if(r===o)this.setState({show:!0,height:""}),e();else{this.cb=e;var i=0,a=r,s=o,u=Math.abs(a-s)/10*(a<s?1:-1);this.t=setInterval((function(){i<9?(t.setState({height:a,animating:!0}),a+=u,i++):(clearInterval(t.t),delete t.t,t.setState({height:"",show:!0}),t.cb())}),17)}},t.prototype.componentWillSlideOut=function(e){var t=window.getComputedStyle(this.node,null).height;e({height:parseInt(t,10),reverse:this.reverse})},t.prototype.componentWillUnmount=function(){this.t&&(clearInterval(this.t),this.cb())},t.prototype.render=function(){var e=this,t=this.props.children,n=this.state,r=n.height,i=n.show;return o.default.createElement("div",{ref:function(t){return e.node=t},style:r?{height:r+"px"}:{}},o.default.createElement("div",{style:{visibility:i?"inherit":"hidden"}},t))},t}(o.default.Component);d.propTypes={children:r.default.node.isRequired}},function(e,t,n){"use strict";t.__esModule=!0;var r=i(n(2)),o=i(n(0));function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var u=function(e){function t(){return a(this,t),s(this,e.apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.componentDidMount=function(){this.messageNode&&"function"===typeof this.messageNode.scrollIntoView&&this.props.scrollIntoView&&(this.messageNode.getBoundingClientRect().top<0&&this.messageNode.scrollIntoView(!0))},t.prototype.render=function(){var e=this,t=this.props,n=t.message,r="auth0-global-message auth0-global-message-"+t.type;return o.default.createElement("div",{className:r,ref:function(t){e.messageNode=t}},o.default.createElement("span",{className:"animated fadeInUp"},n))},t}(o.default.Component);t.default=u,u.propTypes={message:r.default.node.isRequired,type:r.default.oneOf(["error","success","info"]).isRequired,scrollIntoView:r.default.bool},u.defaultProps={scrollIntoView:!0}},function(e,t,n){"use strict";function r(e){var t=e.match(/^(https?:|chrome-extension:)\/\/(([^:/?#]*)(?::([0-9]+))?)([/]{0,1}[^?#]*)(\?[^#]*|)(#.*|)$/);return t&&{href:e,protocol:t[1],host:t[2],hostname:t[3],port:t[4],pathname:t[5],search:t[6],hash:t[7]}}t.__esModule=!0,t.getLocationFromUrl=r,t.getOriginFromUrl=function(e){if(!e)return;var t=r(e);if(!t)return null;var n=t.protocol+"//"+t.hostname;t.port&&(n+=":"+t.port);return n}},function(e,t,n){"use strict";t.__esModule=!0,t.default={error:{forgotPassword:{too_many_requests:"You have reached the limit on password change attempts. Please wait before trying again.","lock.fallback":"We're sorry, something went wrong when requesting the password change.",enterprise_email:"Your email's domain is part of an Enterprise identity provider. To reset your password, please see your security administrator."},login:{blocked_user:"The user is blocked.",invalid_user_password:"Wrong credentials.",invalid_captcha:"Solve the challenge question to verify you are not a robot.",invalid_recaptcha:"Select the checkbox to verify you are not a robot.","lock.fallback":"We're sorry, something went wrong when attempting to log in.","lock.invalid_code":"Wrong code.","lock.invalid_email_password":"Wrong email or password.","lock.invalid_username_password":"Wrong username or password.","lock.network":"We could not reach the server. Please check your connection and try again.","lock.popup_closed":"Popup window closed. Try again.","lock.unauthorized":"Permissions were not granted. Try again.","lock.mfa_registration_required":"Multifactor authentication is required but your device is not enrolled. Please enroll it before moving on.","lock.mfa_invalid_code":"Wrong code. Please try again.",password_change_required:"You need to update your password because this is the first time you are logging in, or because your password has expired.",password_leaked:"We have detected a potential security issue with this account. To protect your account, we have blocked this login. An email was sent with instruction on how to unblock your account.",too_many_attempts:"Your account has been blocked after multiple consecutive login attempts.",too_many_requests:"We're sorry. There are too many requests right now. Please reload the page and try again. If this persists, please try again later.",session_missing:"Couldn't complete your authentication request. Please try again after closing all open dialogs","hrd.not_matching_email":"Please use your corporate email to login."},passwordless:{"bad.email":"The email is invalid","bad.phone_number":"The phone number is invalid","lock.fallback":"We're sorry, something went wrong"},signUp:{invalid_password:"Password is invalid.","lock.fallback":"We're sorry, something went wrong when attempting to sign up.",password_dictionary_error:"Password is too common.",password_no_user_info_error:"Password is based on user information.",password_strength_error:"Password is too weak.",user_exists:"The user already exists.",username_exists:"The username already exists.",social_signup_needs_terms_acception:"Please agree to the Terms of Service below to continue."}},success:{logIn:"Thanks for logging in.",forgotPassword:"We've just sent you an email to reset your password.",magicLink:"We sent you a link to log in<br />to %s.",signUp:"Thanks for signing up."},blankErrorHint:"",blankPasswordErrorHint:"Password can't be blank",blankEmailErrorHint:"Email can't be blank",blankUsernameErrorHint:"Username can't be blank",blankCaptchaErrorHint:"Can't be blank",codeInputPlaceholder:"your code",databaseEnterpriseLoginInstructions:"",databaseEnterpriseAlternativeLoginInstructions:"or",databaseSignUpInstructions:"",databaseAlternativeSignUpInstructions:"or",emailInputPlaceholder:"yours@example.com",captchaCodeInputPlaceholder:"Enter the code shown above",captchaMathInputPlaceholder:"Solve the formula shown above",enterpriseLoginIntructions:"Login with your corporate credentials.",enterpriseActiveLoginInstructions:"Please enter your corporate credentials at %s.",failedLabel:"Failed!",forgotPasswordTitle:"Reset your password",forgotPasswordAction:"Don't remember your password?",forgotPasswordInstructions:"Please enter your email address. We will send you an email to reset your password.",forgotPasswordSubmitLabel:"Send email",invalidErrorHint:"",invalidPasswordErrorHint:"Password is invalid",invalidEmailErrorHint:"Email is invalid",invalidUsernameErrorHint:"Username is invalid",lastLoginInstructions:"Last time you logged in with",loginAtLabel:"Log in at %s",loginLabel:"Log In",loginSubmitLabel:"Log In",loginWithLabel:"Sign in with %s",notYourAccountAction:"Not your account?",passwordInputPlaceholder:"your password",passwordStrength:{containsAtLeast:"Contain at least %d of the following %d types of characters:",identicalChars:'No more than %d identical characters in a row (e.g., "%s" not allowed)',nonEmpty:"Non-empty password required",numbers:"Numbers (i.e. 0-9)",lengthAtLeast:"At least %d characters in length",lowerCase:"Lower case letters (a-z)",shouldContain:"Should contain:",specialCharacters:"Special characters (e.g. !@#$%^&*)",upperCase:"Upper case letters (A-Z)"},passwordlessEmailAlternativeInstructions:"Otherwise, enter your email to sign in<br/>or create an account",passwordlessEmailCodeInstructions:"An email with the code has been sent to %s.",passwordlessEmailInstructions:"Enter your email to sign in<br/>or create an account",passwordlessSMSAlternativeInstructions:"Otherwise, enter your phone to sign in<br/>or create an account",passwordlessSMSCodeInstructions:"An SMS with the code has been sent to %s.",passwordlessSMSInstructions:"Enter your phone to sign in<br/>or create an account",phoneNumberInputPlaceholder:"your phone number",resendCodeAction:"Did not get the code?",resendLabel:"Resend",resendingLabel:"Resending...",retryLabel:"Retry",sentLabel:"Sent!",showPassword:"Show password",signUpTitle:"Sign Up",signUpLabel:"Sign Up",signUpSubmitLabel:"Sign Up",signUpTerms:"By signing up, you agree to our terms of service and privacy policy.",signUpWithLabel:"Sign up with %s",socialLoginInstructions:"",socialSignUpInstructions:"",ssoEnabled:"Single Sign-On enabled",submitLabel:"Submit",unrecoverableError:"Something went wrong.<br />Please contact technical support.",usernameFormatErrorHint:'Use %d-%d letters, numbers and the following characters: "_", ".", "+", "-"',usernameInputPlaceholder:"your username",usernameOrEmailInputPlaceholder:"username/email",title:"Auth0",welcome:"Welcome %s!",windowsAuthInstructions:"You are connected from your corporate network&hellip;",windowsAuthLabel:"Windows Authentication",mfaInputPlaceholder:"Code",mfaLoginTitle:"2-Step Verification",mfaLoginInstructions:"Please enter the verification code generated by your mobile application.",mfaSubmitLabel:"Log In",mfaCodeErrorHint:"Use %d numbers"}},function(e,t,n){"use strict";t.__esModule=!0,t.displayName=function(e,t){if(e=l(e),!(0,a.validateEmail)(e))return t({});var n="https://secure.gravatar.com/"+u(e)+".json";i.default.get(n,(function(e,n){!e&&n&&n.entry&&n.entry[0]?t(null,n.entry[0].displayName):t({})}))},t.url=function(e,t){if(e=l(e),!(0,a.validateEmail)(e))return t({});t(null,"https://secure.gravatar.com/avatar/"+u(e)+"?d=404&s=160")};var r=s(n(539)),o=s(n(110)),i=s(n(540)),a=n(90);function s(e){return e&&e.__esModule?e:{default:e}}var u=r.default.md5||r.default;function l(e){return"string"===typeof e?(0,o.default)(e.toLowerCase()):""}},function(e,t,n){var r;!function(o){"use strict";function i(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function a(e,t,n,r,o,a){return i((s=i(i(t,e),i(r,a)))<<(u=o)|s>>>32-u,n);var s,u}function s(e,t,n,r,o,i,s){return a(t&n|~t&r,e,t,o,i,s)}function u(e,t,n,r,o,i,s){return a(t&r|n&~r,e,t,o,i,s)}function l(e,t,n,r,o,i,s){return a(t^n^r,e,t,o,i,s)}function c(e,t,n,r,o,i,s){return a(n^(t|~r),e,t,o,i,s)}function f(e,t){var n,r,o,a,f;e[t>>5]|=128<<t%32,e[14+(t+64>>>9<<4)]=t;var d=1732584193,p=-271733879,h=-1732584194,g=271733878;for(n=0;n<e.length;n+=16)r=d,o=p,a=h,f=g,d=s(d,p,h,g,e[n],7,-680876936),g=s(g,d,p,h,e[n+1],12,-389564586),h=s(h,g,d,p,e[n+2],17,606105819),p=s(p,h,g,d,e[n+3],22,-1044525330),d=s(d,p,h,g,e[n+4],7,-176418897),g=s(g,d,p,h,e[n+5],12,1200080426),h=s(h,g,d,p,e[n+6],17,-1473231341),p=s(p,h,g,d,e[n+7],22,-45705983),d=s(d,p,h,g,e[n+8],7,1770035416),g=s(g,d,p,h,e[n+9],12,-1958414417),h=s(h,g,d,p,e[n+10],17,-42063),p=s(p,h,g,d,e[n+11],22,-1990404162),d=s(d,p,h,g,e[n+12],7,1804603682),g=s(g,d,p,h,e[n+13],12,-40341101),h=s(h,g,d,p,e[n+14],17,-1502002290),d=u(d,p=s(p,h,g,d,e[n+15],22,1236535329),h,g,e[n+1],5,-165796510),g=u(g,d,p,h,e[n+6],9,-1069501632),h=u(h,g,d,p,e[n+11],14,643717713),p=u(p,h,g,d,e[n],20,-373897302),d=u(d,p,h,g,e[n+5],5,-701558691),g=u(g,d,p,h,e[n+10],9,38016083),h=u(h,g,d,p,e[n+15],14,-660478335),p=u(p,h,g,d,e[n+4],20,-405537848),d=u(d,p,h,g,e[n+9],5,568446438),g=u(g,d,p,h,e[n+14],9,-1019803690),h=u(h,g,d,p,e[n+3],14,-187363961),p=u(p,h,g,d,e[n+8],20,1163531501),d=u(d,p,h,g,e[n+13],5,-1444681467),g=u(g,d,p,h,e[n+2],9,-51403784),h=u(h,g,d,p,e[n+7],14,1735328473),d=l(d,p=u(p,h,g,d,e[n+12],20,-1926607734),h,g,e[n+5],4,-378558),g=l(g,d,p,h,e[n+8],11,-2022574463),h=l(h,g,d,p,e[n+11],16,1839030562),p=l(p,h,g,d,e[n+14],23,-35309556),d=l(d,p,h,g,e[n+1],4,-1530992060),g=l(g,d,p,h,e[n+4],11,1272893353),h=l(h,g,d,p,e[n+7],16,-155497632),p=l(p,h,g,d,e[n+10],23,-1094730640),d=l(d,p,h,g,e[n+13],4,681279174),g=l(g,d,p,h,e[n],11,-358537222),h=l(h,g,d,p,e[n+3],16,-722521979),p=l(p,h,g,d,e[n+6],23,76029189),d=l(d,p,h,g,e[n+9],4,-640364487),g=l(g,d,p,h,e[n+12],11,-421815835),h=l(h,g,d,p,e[n+15],16,530742520),d=c(d,p=l(p,h,g,d,e[n+2],23,-995338651),h,g,e[n],6,-198630844),g=c(g,d,p,h,e[n+7],10,1126891415),h=c(h,g,d,p,e[n+14],15,-1416354905),p=c(p,h,g,d,e[n+5],21,-57434055),d=c(d,p,h,g,e[n+12],6,1700485571),g=c(g,d,p,h,e[n+3],10,-1894986606),h=c(h,g,d,p,e[n+10],15,-1051523),p=c(p,h,g,d,e[n+1],21,-2054922799),d=c(d,p,h,g,e[n+8],6,1873313359),g=c(g,d,p,h,e[n+15],10,-30611744),h=c(h,g,d,p,e[n+6],15,-1560198380),p=c(p,h,g,d,e[n+13],21,1309151649),d=c(d,p,h,g,e[n+4],6,-145523070),g=c(g,d,p,h,e[n+11],10,-1120210379),h=c(h,g,d,p,e[n+2],15,718787259),p=c(p,h,g,d,e[n+9],21,-343485551),d=i(d,r),p=i(p,o),h=i(h,a),g=i(g,f);return[d,p,h,g]}function d(e){var t,n="",r=32*e.length;for(t=0;t<r;t+=8)n+=String.fromCharCode(e[t>>5]>>>t%32&255);return n}function p(e){var t,n=[];for(n[(e.length>>2)-1]=void 0,t=0;t<n.length;t+=1)n[t]=0;var r=8*e.length;for(t=0;t<r;t+=8)n[t>>5]|=(255&e.charCodeAt(t/8))<<t%32;return n}function h(e){var t,n,r="";for(n=0;n<e.length;n+=1)t=e.charCodeAt(n),r+="0123456789abcdef".charAt(t>>>4&15)+"0123456789abcdef".charAt(15&t);return r}function g(e){return unescape(encodeURIComponent(e))}function y(e){return function(e){return d(f(p(e),8*e.length))}(g(e))}function m(e,t){return function(e,t){var n,r,o=p(e),i=[],a=[];for(i[15]=a[15]=void 0,o.length>16&&(o=f(o,8*e.length)),n=0;n<16;n+=1)i[n]=909522486^o[n],a[n]=1549556828^o[n];return r=f(i.concat(p(t)),512+8*t.length),d(f(a.concat(r),640))}(g(e),g(t))}function v(e,t,n){return t?n?m(t,e):h(m(t,e)):n?y(e):h(y(e))}void 0===(r=function(){return v}.call(t,n,t,e))||(e.exports=r)}()},function(e,t,n){"use strict";t.__esModule=!0;var r,o=n(541),i=(r=o)&&r.__esModule?r:{default:r};var a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return e.prototype.get=function(){return i.default.apply(void 0,arguments)},e}();t.default=new a},function(e,t,n){var r=n(542)("jsonp");e.exports=function(e,t,n){"function"==typeof t&&(n=t,t={});t||(t={});var a,s,u=t.prefix||"__jp",l=t.name||u+o++,c=t.param||"callback",f=null!=t.timeout?t.timeout:6e4,d=encodeURIComponent,p=document.getElementsByTagName("script")[0]||document.head;f&&(s=setTimeout((function(){h(),n&&n(new Error("Timeout"))}),f));function h(){a.parentNode&&a.parentNode.removeChild(a),window[l]=i,s&&clearTimeout(s)}return window[l]=function(e){r("jsonp got",e),h(),n&&n(null,e)},e=(e+=(~e.indexOf("?")?"&":"?")+c+"="+d(l)).replace("?&","?"),r('jsonp req "%s"',e),(a=document.createElement("script")).src=e,p.parentNode.insertBefore(a,p),function(){window[l]&&h()}};var o=0;function i(){}},function(e,t,n){(function(r){function o(){var e;try{e=t.storage.debug}catch(n){}return!e&&"undefined"!==typeof r&&"env"in r&&(e=Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,REACT_APP_MAP_KEY:"AIzaSyAYdp6JWyJaD-2Jiil3ggePxUBDIMpD-Kg",REACT_APP_NODE_ENV:"dev"}).DEBUG),e}(t=e.exports=n(543)).log=function(){return"object"===typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},t.formatArgs=function(e){var n=this.useColors;if(e[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+e[0]+(n?"%c ":" ")+"+"+t.humanize(this.diff),!n)return;var r="color: "+this.color;e.splice(1,0,r,"color: inherit");var o=0,i=0;e[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(o++,"%c"===e&&(i=o))})),e.splice(i,0,r)},t.save=function(e){try{null==e?t.storage.removeItem("debug"):t.storage.debug=e}catch(n){}},t.load=o,t.useColors=function(){if("undefined"!==typeof window&&window.process&&"renderer"===window.process.type)return!0;return"undefined"!==typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!==typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!==typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!==typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage="undefined"!=typeof chrome&&"undefined"!=typeof chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(e){}}(),t.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],t.formatters.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}},t.enable(o())}).call(this,n(124))},function(e,t,n){var r;function o(e){function n(){if(n.enabled){var e=n,o=+new Date,i=o-(r||o);e.diff=i,e.prev=r,e.curr=o,r=o;for(var a=new Array(arguments.length),s=0;s<a.length;s++)a[s]=arguments[s];a[0]=t.coerce(a[0]),"string"!==typeof a[0]&&a.unshift("%O");var u=0;a[0]=a[0].replace(/%([a-zA-Z%])/g,(function(n,r){if("%%"===n)return n;u++;var o=t.formatters[r];if("function"===typeof o){var i=a[u];n=o.call(e,i),a.splice(u,1),u--}return n})),t.formatArgs.call(e,a);var l=n.log||t.log||console.log.bind(console);l.apply(e,a)}}return n.namespace=e,n.enabled=t.enabled(e),n.useColors=t.useColors(),n.color=function(e){var n,r=0;for(n in e)r=(r<<5)-r+e.charCodeAt(n),r|=0;return t.colors[Math.abs(r)%t.colors.length]}(e),"function"===typeof t.init&&t.init(n),n}(t=e.exports=o.debug=o.default=o).coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){t.enable("")},t.enable=function(e){t.save(e),t.names=[],t.skips=[];for(var n=("string"===typeof e?e:"").split(/[\s,]+/),r=n.length,o=0;o<r;o++)n[o]&&("-"===(e=n[o].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){var n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n(544),t.names=[],t.skips=[],t.formatters={}},function(e,t){var n=1e3,r=6e4,o=60*r,i=24*o;function a(e,t,n){if(!(e<t))return e<1.5*t?Math.floor(e/t)+" "+n:Math.ceil(e/t)+" "+n+"s"}e.exports=function(e,t){t=t||{};var s,u=typeof e;if("string"===u&&e.length>0)return function(e){if((e=String(e)).length>100)return;var t=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(!t)return;var a=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*a;case"days":case"day":case"d":return a*i;case"hours":case"hour":case"hrs":case"hr":case"h":return a*o;case"minutes":case"minute":case"mins":case"min":case"m":return a*r;case"seconds":case"second":case"secs":case"sec":case"s":return a*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}(e);if("number"===u&&!1===isNaN(e))return t.long?a(s=e,i,"day")||a(s,o,"hour")||a(s,r,"minute")||a(s,n,"second")||s+" ms":function(e){if(e>=i)return Math.round(e/i)+"d";if(e>=o)return Math.round(e/o)+"h";if(e>=r)return Math.round(e/r)+"m";if(e>=n)return Math.round(e/n)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,r.default)(e),(t=(0,o.default)(t,l)).require_display_name||t.allow_display_name){var n=e.match(c);if(n){var u=n[1];if(e=e.replace(u,"").replace(/(^<|>$)/g,""),u.endsWith(" ")&&(u=u.substr(0,u.length-1)),!function(e){var t=e.replace(/^"(.+)"$/,"$1");if(!t.trim())return!1;if(/[\.";<>]/.test(t)){if(t===e)return!1;if(!(t.split('"').length===t.split('\\"').length))return!1}return!0}(u))return!1}else if(t.require_display_name)return!1}if(!t.ignore_max_length&&e.length>254)return!1;var y=e.split("@"),m=y.pop(),v=m.toLowerCase();if(t.host_blacklist.includes(v))return!1;var b=y.join("@");if(t.domain_specific_validation&&("gmail.com"===v||"googlemail.com"===v)){var M=(b=b.toLowerCase()).split("+")[0];if(!(0,i.default)(M.replace(/\./g,""),{min:6,max:30}))return!1;for(var w=M.split("."),N=0;N<w.length;N++)if(!d.test(w[N]))return!1}if(!1===t.ignore_max_length&&(!(0,i.default)(b,{max:64})||!(0,i.default)(m,{max:254})))return!1;if(!(0,a.default)(m,{require_tld:t.require_tld})){if(!t.allow_ip_domain)return!1;if(!(0,s.default)(m)){if(!m.startsWith("[")||!m.endsWith("]"))return!1;var j=m.substr(1,m.length-2);if(0===j.length||!(0,s.default)(j))return!1}}if('"'===b[0])return b=b.slice(1,b.length-1),t.allow_utf8_local_part?g.test(b):p.test(b);for(var S=t.allow_utf8_local_part?h:f,I=b.split("."),D=0;D<I.length;D++)if(!S.test(I[D]))return!1;if(t.blacklisted_chars&&-1!==b.search(new RegExp("[".concat(t.blacklisted_chars,"]+"),"g")))return!1;return!0};var r=u(n(174)),o=u(n(335)),i=u(n(546)),a=u(n(547)),s=u(n(548));function u(e){return e&&e.__esModule?e:{default:e}}var l={allow_display_name:!1,require_display_name:!1,allow_utf8_local_part:!0,require_tld:!0,blacklisted_chars:"",ignore_max_length:!1,host_blacklist:[]},c=/^([^\x00-\x1F\x7F-\x9F\cX]+)</i,f=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~]+$/i,d=/^[a-z\d]+$/,p=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f]))*$/i,h=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+$/i,g=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*$/i;e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n,r;(0,o.default)(e),"object"===i(t)?(n=t.min||0,r=t.max):(n=arguments[1],r=arguments[2]);var a=encodeURI(e).split(/%..|./).length-1;return a>=n&&("undefined"===typeof r||a<=r)};var r,o=(r=n(174))&&r.__esModule?r:{default:r};function i(e){return(i="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})(e)}e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,r.default)(e),(t=(0,o.default)(t,a)).allow_trailing_dot&&"."===e[e.length-1]&&(e=e.substring(0,e.length-1));!0===t.allow_wildcard&&0===e.indexOf("*.")&&(e=e.substring(2));var n=e.split("."),i=n[n.length-1];if(t.require_tld){if(n.length<2)return!1;if(!/^([a-z\u00A1-\u00A8\u00AA-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}|xn[a-z0-9-]{2,})$/i.test(i))return!1;if(/\s/.test(i))return!1}if(!t.allow_numeric_tld&&/^\d+$/.test(i))return!1;return n.every((function(e){return!(e.length>63)&&(!!/^[a-z_\u00a1-\uffff0-9-]+$/i.test(e)&&(!/[\uff01-\uff5e]/.test(e)&&(!/^-|-$/.test(e)&&!(!t.allow_underscores&&/_/.test(e)))))}))};var r=i(n(174)),o=i(n(335));function i(e){return e&&e.__esModule?e:{default:e}}var a={require_tld:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_numeric_tld:!1,allow_wildcard:!1};e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if((0,o.default)(t),!(n=String(n)))return e(t,4)||e(t,6);if("4"===n){if(!s.test(t))return!1;var r=t.split(".").sort((function(e,t){return e-t}));return r[3]<=255}if("6"===n)return!!l.test(t);return!1};var r,o=(r=n(174))&&r.__esModule?r:{default:r};var i="(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])",a="(".concat(i,"[.]){3}").concat(i),s=new RegExp("^".concat(a,"$")),u="(?:[0-9a-fA-F]{1,4})",l=new RegExp("^("+"(?:".concat(u,":){7}(?:").concat(u,"|:)|")+"(?:".concat(u,":){6}(?:").concat(a,"|:").concat(u,"|:)|")+"(?:".concat(u,":){5}(?::").concat(a,"|(:").concat(u,"){1,2}|:)|")+"(?:".concat(u,":){4}(?:(:").concat(u,"){0,1}:").concat(a,"|(:").concat(u,"){1,3}|:)|")+"(?:".concat(u,":){3}(?:(:").concat(u,"){0,2}:").concat(a,"|(:").concat(u,"){1,4}|:)|")+"(?:".concat(u,":){2}(?:(:").concat(u,"){0,3}:").concat(a,"|(:").concat(u,"){1,5}|:)|")+"(?:".concat(u,":){1}(?:(:").concat(u,"){0,4}:").concat(a,"|(:").concat(u,"){1,6}|:)|")+"(?::((?::".concat(u,"){0,5}:").concat(a,"|(?::").concat(u,"){1,7}|:))")+")(%[0-9a-zA-Z-.:]{1,})?$");e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(0)),o=a(n(550)),i=n(237);function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.icon,n=e.iconUrl,a=e.model,s=e.name,u=e.items;return r.default.createElement(o.default,{model:a,icon:t,iconUrl:n,items:u,onSelect:function(e){return(0,i.selectOption)(a.get("id"),s,e)},onCancel:function(){return(0,i.cancelOptionSelection)(a.get("id"))}})}},function(e,t,n){"use strict";t.__esModule=!0;var r=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},o=d(n(2)),i=d(n(0)),a=d(n(15)),s=n(175),u=d(n(336)),l=(n(173),f(n(332))),c=f(n(12));function f(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function d(e){return e&&e.__esModule?e:{default:e}}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(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 g(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 y=function(e,t){return e.skipWhile((function(e){return e!==t})).get(1,e.get(0))},m=function(e){function t(n){p(this,t);var r=h(this,e.call(this,n));return r.state={filteredItems:n.items,highlighted:n.defaultItem},r}return g(t,e),t.prototype.filter=function(e){var t=this.props.items.filter((function(t){return l.matches(e,t.get("label"))})),n=1===t.size&&t.get(0)||t.includes(this.state.highlighted)&&this.state.highlighted||null;return{filteredItems:t,highlighted:n}},t.prototype.select=function(e){this.props.onSelect(e)},t.prototype.handleChange=function(e){this.setState(this.filter(e.target.value))},t.prototype.handleKeyDown=function(e){var t=this.state,n=t.filteredItems,r=t.highlighted;switch(e.key){case"ArrowDown":e.preventDefault(),this.setState({highlighted:y(n,r)});break;case"ArrowUp":e.preventDefault(),this.setState({highlighted:y(n.reverse(),r)});break;case"Enter":e.preventDefault(),r&&this.select(r);break;case"Escape":e.preventDefault(),this.props.onCancel()}},t.prototype.render=function(){var e=this,t=this.props,n=t.icon,r=t.iconUrl,o=t.onCancel,a=t.model;return i.default.createElement("div",{className:"auth0-lock-select-country"},i.default.createElement("div",{className:"auth0-lock-search"},i.default.createElement(s.BackButton,{lockId:c.id(a),onClick:o}),i.default.createElement(u.default,{lockId:c.id(a),name:"search",icon:n,iconUrl:r,isValid:!0,onChange:this.handleChange.bind(this),onKeyDown:this.handleKeyDown.bind(this)})),i.default.createElement(v,{highlighted:this.state.highlighted,items:this.state.filteredItems,onClick:this.select.bind(this),onMouseMove:function(t){return e.setState({highlighted:t})}}))},t}(i.default.Component);t.default=m;var v=function(e){function t(){return p(this,t),h(this,e.apply(this,arguments))}return g(t,e),t.prototype.componentDidUpdate=function(){var e=this,t=this.refs.highlighted;if(t){var n=a.default.findDOMNode(this),r=a.default.findDOMNode(t),o=r.offsetTop-n.scrollTop,i=0;o+r.offsetHeight>n.clientHeight?i=o+r.offsetHeight-n.clientHeight:o<0&&(i=o),i&&(this.preventHighlight=!0,n.scrollTop+=i,this.timeout&&clearTimeout(this.timeout),this.timeout=setTimeout((function(){return e.preventHighlight=!1}),100))}},t.prototype.mouseMoveHandler=function(e){!this.preventHighlight&&this.props.onMouseMove(e)},t.prototype.mouseLeaveHandler=function(){},t.prototype.render=function(){var e=this,t=this.props.items.map((function(t){var n=t===e.props.highlighted,o={highlighted:n,label:t.get("label"),onClick:function(){return e.props.onClick(t)},onMouseMove:function(){return e.mouseMoveHandler(t)}};return n&&(o.ref="highlighted"),i.default.createElement(b,r({key:t.get("label")},o))}));return i.default.createElement("div",{className:"auth0-lock-list-code",onMouseLeave:this.mouseLeaveHandler.bind(this)},i.default.createElement("ul",null,t))},t}(i.default.Component),b=function(e){function t(){return p(this,t),h(this,e.apply(this,arguments))}return g(t,e),t.prototype.shouldComponentUpdate=function(e){return this.props.highlighted!=e.highlighted},t.prototype.render=function(){var e=this.props,t=e.highlighted,n=e.label,r=e.onClick,o=e.onMouseMove,a=t?"auth0-lock-list-code-highlighted":"";return i.default.createElement("li",{className:a,onClick:r,onMouseMove:o},n)},t}(i.default.Component);b.propTypes={highlighted:o.default.bool.isRequired,label:o.default.string.isRequired,onClick:o.default.func.isRequired,onMouseMove:o.default.func.isRequired}},function(e,t,n){var r=n(240).charsets,o=r.upperCase,i=r.lowerCase,a=r.numbers,s=r.specialCharacters,u=n(241),l={none:new u({length:{minLength:1}}),low:new u({length:{minLength:6}}),fair:new u({length:{minLength:8},contains:{expressions:[i,o,a]}}),good:new u({length:{minLength:8},containsAtLeast:{atLeast:3,expressions:[i,o,a,s]}}),excellent:new u({length:{minLength:10},containsAtLeast:{atLeast:3,expressions:[i,o,a,s]},identicalChars:{max:2}})};e.exports=function(e){var t=l[e]||l.none;return{check:function(e){return t.check(e)},assert:function(e){return t.assert(e)},missing:function(e){return t.missing(e)},missingAsMarkdown:function(e){return t.missingAsMarkdown(e)},explain:function(){return t.explain()},toString:function(){return t.toString()}}},e.exports.PasswordPolicy=u,e.exports.charsets=r},function(e,t){e.exports=function(e){var t=Error.call(this,e);return t.name="PasswordPolicyError",t}},function(e,t,n){var r=n(150);function o(e,t){return!!t&&e.minLength<=t.length}function i(e){return 1===e.minLength?{message:"Non-empty password required",code:"nonEmpty"}:{message:"At least %d characters in length",format:[e.minLength],code:"lengthAtLeast"}}e.exports={validate:function(e){if(!r.isObject(e))throw new Error("options should be an object");if(!r.isNumber(e.minLength)||r.isNaN(e.minLength))throw new Error("length expects minLength to be a non-zero number");return!0},explain:i,missing:function(e,t){var n=i(e);return n.verified=!!o(e,t),n},assert:o}},function(e,t,n){var r=n(150),o=n(240);e.exports={validate:function(e){if(!r.isObject(e))throw new Error("options should be an object");if(!r.isNumber(e.atLeast)||r.isNaN(e.atLeast)||e.atLeast<1)throw new Error("atLeast should be a valid, non-NaN number, greater than 0");if(!r.isArray(e.expressions)||r.isEmpty(e.expressions))throw new Error("expressions should be an non-empty array");if(e.expressions.length<e.atLeast)throw new Error("expressions length should be greater than atLeast");if(!e.expressions.every((function(e){return r.isFunction(e.explain)&&r.isFunction(e.test)})))throw new Error("containsAtLeast expressions are invalid: An explain and a test function should be provided");return!0},explain:function(e){return{message:"At least %d of the following %d types of characters:",code:"containsAtLeast",format:[e.atLeast,e.expressions.length],items:e.expressions.map((function(e){return e.explain()}))}},missing:function(e,t){var n=e.expressions&&e.expressions.map((function(e){var n=e.explain();return n.verified=e.test(t),n})),r=n.reduce((function(e,t){return e+!!t.verified}),0)>=e.atLeast;return{message:"At least %d of the following %d types of characters:",code:"containsAtLeast",format:[e.atLeast,e.expressions.length],items:n,verified:r}},assert:function(e,t){return!!t&&e.expressions.filter((function(e){return e.test(t)})).length>=e.atLeast},charsets:o.charsets}},function(e,t,n){var r=n(150);function o(e,t){if(!t)return!1;var n,r={c:null,count:0};for(n=0;n<t.length;n++)if(r.c!==t[n]?(r.c=t[n],r.count=1):r.count++,r.count>e.max)return!1;return!0}function i(e,t){var n=new Array(e.max+2).join("a"),r={message:'No more than %d identical characters in a row (e.g., "%s" not allowed)',code:"identicalChars",format:[e.max,n]};return void 0!==t&&(r.verified=t),r}e.exports={validate:function(e){if(!r.isObject(e))throw new Error("options should be an object");if(!r.isNumber(e.max)||r.isNaN(e.max)||e.max<1)throw new Error("max should be a number greater than 1");return!0},explain:i,missing:function(e,t){return i(e,o(e,t))},assert:o}},function(e,t,n){"use strict";t.__esModule=!0;var r=b(n(0)),o=b(n(64)),i=b(n(177)),a=b(n(574)),s=b(n(182)),u=n(49),l=n(111),c=n(83),f=b(n(346)),d=v(n(12)),p=n(252),h=n(70),g=b(n(347)),y=n(176),m=v(n(51));function v(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function b(e){return e&&e.__esModule?e:{default:e}}function M(e){return!(0,y.isSSOEnabled)(e)&&(d.hasSomeConnections(e,"database")||d.hasSomeConnections(e,"social")&&(0,u.hasInitialScreen)(e,"signUp")?(0,u.hasScreen)(e,"signUp"):void 0)}var w=function(e){var t=e.i18n,n=e.model,o=(0,y.isSSOEnabled)(n),l=(0,y.hasOnlyClassicConnections)(n,"social"),c=M(n)&&r.default.createElement(f.default,{key:"loginsignup",lock:n,loginLabel:t.str("loginLabel"),signUpLink:(0,u.signUpLink)(n),signUpLabel:t.str("signUpLabel")}),p=d.hasSomeConnections(n,"social")&&r.default.createElement(i.default,{instructions:t.html("socialLoginInstructions"),labelFn:t.str,lock:n,showLoading:l,signUp:!1}),m=!o&&(d.hasSomeConnections(n,"database")||!!(0,h.findADConnectionWithoutDomain)(n)),v=m&&d.hasSomeConnections(n,"database"),b=p?"databaseEnterpriseAlternativeLoginInstructions":"databaseEnterpriseLoginInstructions",w="any"===(0,u.databaseUsernameStyle)(n)||d.countConnections(n,"enterprise")>1?"usernameOrEmailInputPlaceholder":"usernameInputPlaceholder",N=(0,u.databaseUsernameStyle)(n),j=(o||d.hasSomeConnections(n,"database")||d.hasSomeConnections(n,"enterprise"))&&r.default.createElement(a.default,{emailInputPlaceholder:t.str("emailInputPlaceholder"),forgotPasswordAction:t.str("forgotPasswordAction"),i18n:t,instructions:t.html(b),lock:n,passwordInputPlaceholder:t.str("passwordInputPlaceholder"),showForgotPasswordLink:v,showPassword:m,usernameInputPlaceholder:t.str(w),usernameStyle:N}),S=o&&r.default.createElement(g.default,null,t.str("ssoEnabled")),I=p&&j&&r.default.createElement(s.default,null);return r.default.createElement("div",null,S,c,r.default.createElement("div",null,p,I,j))},N=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,e.call(this,"main.login"))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.renderAuxiliaryPane=function(e){return(0,c.renderSignedInConfirmation)(e)},t.prototype.renderTabs=function(e){return M(e)},t.prototype.submitButtonLabel=function(e){return m.str(e,["loginSubmitLabel"])},t.prototype.isSubmitDisabled=function(e){return!d.hasSomeConnections(e,"database")&&!(0,h.findADConnectionWithoutDomain)(e)&&!(0,y.isSSOEnabled)(e)},t.prototype.submitHandler=function(e){return(0,y.hasOnlyClassicConnections)(e,"social")?null:(0,h.isHRDDomain)(e,(0,u.databaseUsernameValue)(e))?function(t){return(0,p.startHRD)(t,(0,u.databaseUsernameValue)(e))}:!(0,y.isSSOEnabled)(e)&&(0,u.databaseConnection)(e)&&((0,u.defaultDatabaseConnection)(e)||!(0,h.defaultEnterpriseConnection)(e))?l.logIn:p.logIn},t.prototype.render=function(){return w},t}(o.default);t.default=N},function(e,t,n){"use strict";t.__esModule=!0;var r=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},o=u(n(334)),i=u(n(243)),a=u(n(566)),s=n(567);function u(e){return e&&e.__esModule?e:{default:e}}var l=function(){function e(t,n,r,i){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.lockID=t,this.client=null,this.authOpt=null,this.domain=r,this.isUniversalLogin=window.location.host===r,this._enableIdPInitiatedLogin=!(!i._enableIdPInitiatedLogin&&!i._enableImpersonation);var u=this.getTelemetryInfo(i._telemetryInfo),l=i.state;i.params&&i.params.state&&(l=i.params.state);var c=i.nonce;i.params&&i.params.nonce&&(c=i.params.nonce);var f=i.params&&i.params.scope;this.client=new o.default.WebAuth({clientID:n,domain:r,audience:i.audience,redirectUri:i.redirectUrl,responseMode:i.responseMode,responseType:i.responseType,leeway:i.leeway||60,plugins:i.plugins||[new a.default],overrides:(0,s.webAuthOverrides)(i.overrides),_sendTelemetry:!1!==i._sendTelemetry,_telemetryInfo:u,state:l,nonce:c,scope:f}),this.authOpt={popup:!i.redirect,popupOptions:i.popupOptions,nonce:c,state:l,scope:f},this.isUniversalLogin&&void 0!==i.sso&&(this.authOpt.sso=i.sso)}return e.prototype.getTelemetryInfo=function(e){var t,n,a,u,l=void 0,c=i.default.parse(window.location.search.substr(1)).auth0Client,f=c&&JSON.parse(atob(c));this.isUniversalLogin&&f&&(l=r({},f,{env:r({},f.env,(t={},t["lock.js-ulp"]=(0,s.getVersion)(),t["auth0.js-ulp"]=o.default.version.raw,t))}));this.isUniversalLogin&&!f&&(l={name:"lock.js-ulp",version:(0,s.getVersion)(),env:(n={},n["auth0.js-ulp"]=o.default.version.raw,n)});!this.isUniversalLogin&&e&&(l=r({},e,{env:r({},e.env,(a={},a["lock.js"]=(0,s.getVersion)(),a["auth0.js"]=o.default.version.raw,a))}));l||(l={name:"lock.js",version:(0,s.getVersion)(),env:(u={},u["auth0.js"]=o.default.version.raw,u)});return l},e.prototype.logIn=function(e,t,n){var o=(0,s.loginCallback)(!1,this.domain,n),i=(0,s.trimAuthParams)((0,s.normalizeAuthParams)(r({},e,this.authOpt,t)));e.login_hint&&(i.login_hint=e.login_hint),e.username||e.email?this.authOpt.popup?this.client.popup.loginWithCredentials(i,o):(i.realm=e.connection,this.client.login(i,o)):this.authOpt.popup?this.client.popup.authorize(r({},i,{owp:!0}),o):this.client.authorize(i,o)},e.prototype.logout=function(e){this.client.logout(e)},e.prototype.signUp=function(e,t){delete e.autoLogin,this.client.signup((0,s.trimAuthParams)(e),(function(e,n){return t(e,n)}))},e.prototype.resetPassword=function(e,t){this.client.changePassword((0,s.trimAuthParams)(e),t)},e.prototype.passwordlessStart=function(e,t){this.client.passwordlessStart((0,s.trimAuthParams)(e),(function(e){return t((0,s.normalizeError)(e))}))},e.prototype.passwordlessVerify=function(e,t){var n=r({},e,{popup:this.authOpt.popup});this.client.passwordlessLogin(n,(function(e,n){return t((0,s.normalizeError)(e),n)}))},e.prototype.parseHash=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments[1];return this.client.parseHash({__enableIdPInitiatedLogin:this._enableIdPInitiatedLogin,hash:e,nonce:this.authOpt.nonce,state:this.authOpt.state},t)},e.prototype.getUserInfo=function(e,t){return this.client.client.userInfo(e,t)},e.prototype.getProfile=function(e,t){this.getUserInfo(e,t)},e.prototype.getSSOData=function(){var e;return(e=this.client.client).getSSOData.apply(e,arguments)},e.prototype.getChallenge=function(){var e;return(e=this.client.client).getChallenge.apply(e,arguments)},e.prototype.getUserCountry=function(e){return this.client.client.getUserCountry(e)},e.prototype.checkSession=function(e,t){return this.client.checkSession(e,t)},e}();t.default=l},function(e,t,n){"use strict";var r=n(559),o=n(340),i=n(248),a=Object.prototype.hasOwnProperty,s={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},u=Array.isArray,l=String.prototype.split,c=Array.prototype.push,f=function(e,t){c.apply(e,u(t)?t:[t])},d=Date.prototype.toISOString,p=i.default,h={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:o.encode,encodeValuesOnly:!1,format:p,formatter:i.formatters[p],indices:!1,serializeDate:function(e){return d.call(e)},skipNulls:!1,strictNullHandling:!1},g={},y=function e(t,n,i,a,s,c,d,p,y,m,v,b,M,w,N){for(var j,S=t,I=N,D=0,x=!1;void 0!==(I=I.get(g))&&!x;){var E=I.get(t);if(D+=1,"undefined"!==typeof E){if(E===D)throw new RangeError("Cyclic object value");x=!0}"undefined"===typeof I.get(g)&&(D=0)}if("function"===typeof d?S=d(n,S):S instanceof Date?S=m(S):"comma"===i&&u(S)&&(S=o.maybeMap(S,(function(e){return e instanceof Date?m(e):e}))),null===S){if(a)return c&&!M?c(n,h.encoder,w,"key",v):n;S=""}if("string"===typeof(j=S)||"number"===typeof j||"boolean"===typeof j||"symbol"===typeof j||"bigint"===typeof j||o.isBuffer(S)){if(c){var O=M?n:c(n,h.encoder,w,"key",v);if("comma"===i&&M){for(var T=l.call(String(S),","),C="",k=0;k<T.length;++k)C+=(0===k?"":",")+b(c(T[k],h.encoder,w,"value",v));return[b(O)+"="+C]}return[b(O)+"="+b(c(S,h.encoder,w,"value",v))]}return[b(n)+"="+b(String(S))]}var L,_=[];if("undefined"===typeof S)return _;if("comma"===i&&u(S))L=[{value:S.length>0?S.join(",")||null:void 0}];else if(u(d))L=d;else{var A=Object.keys(S);L=p?A.sort(p):A}for(var z=0;z<L.length;++z){var P=L[z],R="object"===typeof P&&void 0!==P.value?P.value:S[P];if(!s||null!==R){var U=u(S)?"function"===typeof i?i(n,P):n:n+(y?"."+P:"["+P+"]");N.set(t,D);var B=r();B.set(g,N),f(_,e(R,U,i,a,s,c,d,p,y,m,v,b,M,w,B))}}return _};e.exports=function(e,t){var n,o=e,l=function(e){if(!e)return h;if(null!==e.encoder&&void 0!==e.encoder&&"function"!==typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||h.charset;if("undefined"!==typeof e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=i.default;if("undefined"!==typeof e.format){if(!a.call(i.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var r=i.formatters[n],o=h.filter;return("function"===typeof e.filter||u(e.filter))&&(o=e.filter),{addQueryPrefix:"boolean"===typeof e.addQueryPrefix?e.addQueryPrefix:h.addQueryPrefix,allowDots:"undefined"===typeof e.allowDots?h.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"===typeof e.charsetSentinel?e.charsetSentinel:h.charsetSentinel,delimiter:"undefined"===typeof e.delimiter?h.delimiter:e.delimiter,encode:"boolean"===typeof e.encode?e.encode:h.encode,encoder:"function"===typeof e.encoder?e.encoder:h.encoder,encodeValuesOnly:"boolean"===typeof e.encodeValuesOnly?e.encodeValuesOnly:h.encodeValuesOnly,filter:o,format:n,formatter:r,serializeDate:"function"===typeof e.serializeDate?e.serializeDate:h.serializeDate,skipNulls:"boolean"===typeof e.skipNulls?e.skipNulls:h.skipNulls,sort:"function"===typeof e.sort?e.sort:null,strictNullHandling:"boolean"===typeof e.strictNullHandling?e.strictNullHandling:h.strictNullHandling}}(t);"function"===typeof l.filter?o=(0,l.filter)("",o):u(l.filter)&&(n=l.filter);var c,d=[];if("object"!==typeof o||null===o)return"";c=t&&t.arrayFormat in s?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var p=s[c];n||(n=Object.keys(o)),l.sort&&n.sort(l.sort);for(var g=r(),m=0;m<n.length;++m){var v=n[m];l.skipNulls&&null===o[v]||f(d,y(o[v],v,p,l.strictNullHandling,l.skipNulls,l.encode?l.encoder:null,l.filter,l.sort,l.allowDots,l.serializeDate,l.format,l.formatter,l.encodeValuesOnly,l.charset,g))}var b=d.join(l.delimiter),M=!0===l.addQueryPrefix?"?":"";return l.charsetSentinel&&("iso-8859-1"===l.charset?M+="utf8=%26%2310003%3B&":M+="utf8=%E2%9C%93&"),b.length>0?M+b:""}},function(e,t,n){"use strict";var r=n(244),o=n(246),i=n(563),a=r("%TypeError%"),s=r("%WeakMap%",!0),u=r("%Map%",!0),l=o("WeakMap.prototype.get",!0),c=o("WeakMap.prototype.set",!0),f=o("WeakMap.prototype.has",!0),d=o("Map.prototype.get",!0),p=o("Map.prototype.set",!0),h=o("Map.prototype.has",!0),g=function(e,t){for(var n,r=e;null!==(n=r.next);r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n};e.exports=function(){var e,t,n,r={assert:function(e){if(!r.has(e))throw new a("Side channel does not contain "+i(e))},get:function(r){if(s&&r&&("object"===typeof r||"function"===typeof r)){if(e)return l(e,r)}else if(u){if(t)return d(t,r)}else if(n)return function(e,t){var n=g(e,t);return n&&n.value}(n,r)},has:function(r){if(s&&r&&("object"===typeof r||"function"===typeof r)){if(e)return f(e,r)}else if(u){if(t)return h(t,r)}else if(n)return function(e,t){return!!g(e,t)}(n,r);return!1},set:function(r,o){s&&r&&("object"===typeof r||"function"===typeof r)?(e||(e=new s),c(e,r,o)):u?(t||(t=new u),p(t,r,o)):(n||(n={key:{},next:null}),function(e,t,n){var r=g(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}}(n,r,o))}};return r}},function(e,t,n){"use strict";var r="undefined"!==typeof Symbol&&Symbol,o=n(339);e.exports=function(){return"function"===typeof r&&("function"===typeof Symbol&&("symbol"===typeof r("foo")&&("symbol"===typeof Symbol("bar")&&o())))}},function(e,t,n){"use strict";var r="Function.prototype.bind called on incompatible ",o=Array.prototype.slice,i=Object.prototype.toString;e.exports=function(e){var t=this;if("function"!==typeof t||"[object Function]"!==i.call(t))throw new TypeError(r+t);for(var n,a=o.call(arguments,1),s=function(){if(this instanceof n){var r=t.apply(this,a.concat(o.call(arguments)));return Object(r)===r?r:this}return t.apply(e,a.concat(o.call(arguments)))},u=Math.max(0,t.length-a.length),l=[],c=0;c<u;c++)l.push("$"+c);if(n=Function("binder","return function ("+l.join(",")+"){ return binder.apply(this,arguments); }")(s),t.prototype){var f=function(){};f.prototype=t.prototype,n.prototype=new f,f.prototype=null}return n}},function(e,t,n){"use strict";var r=n(245);e.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},function(e,t,n){var r="function"===typeof Map&&Map.prototype,o=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=r&&o&&"function"===typeof o.get?o.get:null,a=r&&Map.prototype.forEach,s="function"===typeof Set&&Set.prototype,u=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,l=s&&u&&"function"===typeof u.get?u.get:null,c=s&&Set.prototype.forEach,f="function"===typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,d="function"===typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,p="function"===typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,h=Boolean.prototype.valueOf,g=Object.prototype.toString,y=Function.prototype.toString,m=String.prototype.match,v=String.prototype.slice,b=String.prototype.replace,M=String.prototype.toUpperCase,w=String.prototype.toLowerCase,N=RegExp.prototype.test,j=Array.prototype.concat,S=Array.prototype.join,I=Array.prototype.slice,D=Math.floor,x="function"===typeof BigInt?BigInt.prototype.valueOf:null,E=Object.getOwnPropertySymbols,O="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?Symbol.prototype.toString:null,T="function"===typeof Symbol&&"object"===typeof Symbol.iterator,C="function"===typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===T||"symbol")?Symbol.toStringTag:null,k=Object.prototype.propertyIsEnumerable,L=("function"===typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function _(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||N.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"===typeof e){var r=e<0?-D(-e):D(e);if(r!==e){var o=String(r),i=v.call(t,o.length+1);return b.call(o,n,"$&_")+"."+b.call(b.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return b.call(t,n,"$&_")}var A=n(564).custom,z=A&&B(A)?A:null;function P(e,t,n){var r="double"===(n.quoteStyle||t)?'"':"'";return r+e+r}function R(e){return b.call(String(e),/"/g,"&quot;")}function U(e){return"[object Array]"===G(e)&&(!C||!("object"===typeof e&&C in e))}function B(e){if(T)return e&&"object"===typeof e&&e instanceof Symbol;if("symbol"===typeof e)return!0;if(!e||"object"!==typeof e||!O)return!1;try{return O.call(e),!0}catch(t){}return!1}e.exports=function e(t,n,r,o){var s=n||{};if(Y(s,"quoteStyle")&&"single"!==s.quoteStyle&&"double"!==s.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Y(s,"maxStringLength")&&("number"===typeof s.maxStringLength?s.maxStringLength<0&&s.maxStringLength!==1/0:null!==s.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=!Y(s,"customInspect")||s.customInspect;if("boolean"!==typeof u&&"symbol"!==u)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Y(s,"indent")&&null!==s.indent&&"\t"!==s.indent&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Y(s,"numericSeparator")&&"boolean"!==typeof s.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var g=s.numericSeparator;if("undefined"===typeof t)return"undefined";if(null===t)return"null";if("boolean"===typeof t)return t?"true":"false";if("string"===typeof t)return function e(t,n){if(t.length>n.maxStringLength){var r=t.length-n.maxStringLength,o="... "+r+" more character"+(r>1?"s":"");return e(v.call(t,0,n.maxStringLength),n)+o}return P(b.call(b.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,V),"single",n)}(t,s);if("number"===typeof t){if(0===t)return 1/0/t>0?"0":"-0";var M=String(t);return g?_(t,M):M}if("bigint"===typeof t){var N=String(t)+"n";return g?_(t,N):N}var D="undefined"===typeof s.depth?5:s.depth;if("undefined"===typeof r&&(r=0),r>=D&&D>0&&"object"===typeof t)return U(t)?"[Array]":"[Object]";var E=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"===typeof e.indent&&e.indent>0))return null;n=S.call(Array(e.indent+1)," ")}return{base:n,prev:S.call(Array(t+1),n)}}(s,r);if("undefined"===typeof o)o=[];else if(H(o,t)>=0)return"[Circular]";function A(t,n,i){if(n&&(o=I.call(o)).push(n),i){var a={depth:s.depth};return Y(s,"quoteStyle")&&(a.quoteStyle=s.quoteStyle),e(t,a,r+1,o)}return e(t,s,r+1,o)}if("function"===typeof t){var F=function(e){if(e.name)return e.name;var t=m.call(y.call(e),/^function\s*([\w$]+)/);if(t)return t[1];return null}(t),$=X(t,A);return"[Function"+(F?": "+F:" (anonymous)")+"]"+($.length>0?" { "+S.call($,", ")+" }":"")}if(B(t)){var J=T?b.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):O.call(t);return"object"!==typeof t||T?J:Q(J)}if(function(e){if(!e||"object"!==typeof e)return!1;if("undefined"!==typeof HTMLElement&&e instanceof HTMLElement)return!0;return"string"===typeof e.nodeName&&"function"===typeof e.getAttribute}(t)){for(var K="<"+w.call(String(t.nodeName)),ee=t.attributes||[],te=0;te<ee.length;te++)K+=" "+ee[te].name+"="+P(R(ee[te].value),"double",s);return K+=">",t.childNodes&&t.childNodes.length&&(K+="..."),K+="</"+w.call(String(t.nodeName))+">"}if(U(t)){if(0===t.length)return"[]";var ne=X(t,A);return E&&!function(e){for(var t=0;t<e.length;t++)if(H(e[t],"\n")>=0)return!1;return!0}(ne)?"["+q(ne,E)+"]":"[ "+S.call(ne,", ")+" ]"}if(function(e){return"[object Error]"===G(e)&&(!C||!("object"===typeof e&&C in e))}(t)){var re=X(t,A);return"cause"in t&&!k.call(t,"cause")?"{ ["+String(t)+"] "+S.call(j.call("[cause]: "+A(t.cause),re),", ")+" }":0===re.length?"["+String(t)+"]":"{ ["+String(t)+"] "+S.call(re,", ")+" }"}if("object"===typeof t&&u){if(z&&"function"===typeof t[z])return t[z]();if("symbol"!==u&&"function"===typeof t.inspect)return t.inspect()}if(function(e){if(!i||!e||"object"!==typeof e)return!1;try{i.call(e);try{l.call(e)}catch(K){return!0}return e instanceof Map}catch(t){}return!1}(t)){var oe=[];return a.call(t,(function(e,n){oe.push(A(n,t,!0)+" => "+A(e,t))})),Z("Map",i.call(t),oe,E)}if(function(e){if(!l||!e||"object"!==typeof e)return!1;try{l.call(e);try{i.call(e)}catch(t){return!0}return e instanceof Set}catch(n){}return!1}(t)){var ie=[];return c.call(t,(function(e){ie.push(A(e,t))})),Z("Set",l.call(t),ie,E)}if(function(e){if(!f||!e||"object"!==typeof e)return!1;try{f.call(e,f);try{d.call(e,d)}catch(K){return!0}return e instanceof WeakMap}catch(t){}return!1}(t))return W("WeakMap");if(function(e){if(!d||!e||"object"!==typeof e)return!1;try{d.call(e,d);try{f.call(e,f)}catch(K){return!0}return e instanceof WeakSet}catch(t){}return!1}(t))return W("WeakSet");if(function(e){if(!p||!e||"object"!==typeof e)return!1;try{return p.call(e),!0}catch(t){}return!1}(t))return W("WeakRef");if(function(e){return"[object Number]"===G(e)&&(!C||!("object"===typeof e&&C in e))}(t))return Q(A(Number(t)));if(function(e){if(!e||"object"!==typeof e||!x)return!1;try{return x.call(e),!0}catch(t){}return!1}(t))return Q(A(x.call(t)));if(function(e){return"[object Boolean]"===G(e)&&(!C||!("object"===typeof e&&C in e))}(t))return Q(h.call(t));if(function(e){return"[object String]"===G(e)&&(!C||!("object"===typeof e&&C in e))}(t))return Q(A(String(t)));if(!function(e){return"[object Date]"===G(e)&&(!C||!("object"===typeof e&&C in e))}(t)&&!function(e){return"[object RegExp]"===G(e)&&(!C||!("object"===typeof e&&C in e))}(t)){var ae=X(t,A),se=L?L(t)===Object.prototype:t instanceof Object||t.constructor===Object,ue=t instanceof Object?"":"null prototype",le=!se&&C&&Object(t)===t&&C in t?v.call(G(t),8,-1):ue?"Object":"",ce=(se||"function"!==typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(le||ue?"["+S.call(j.call([],le||[],ue||[]),": ")+"] ":"");return 0===ae.length?ce+"{}":E?ce+"{"+q(ae,E)+"}":ce+"{ "+S.call(ae,", ")+" }"}return String(t)};var F=Object.prototype.hasOwnProperty||function(e){return e in this};function Y(e,t){return F.call(e,t)}function G(e){return g.call(e)}function H(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function V(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+M.call(t.toString(16))}function Q(e){return"Object("+e+")"}function W(e){return e+" { ? }"}function Z(e,t,n,r){return e+" ("+t+") {"+(r?q(n,r):S.call(n,", "))+"}"}function q(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+S.call(e,","+n)+"\n"+t.prev}function X(e,t){var n=U(e),r=[];if(n){r.length=e.length;for(var o=0;o<e.length;o++)r[o]=Y(e,o)?t(e[o],e):""}var i,a="function"===typeof E?E(e):[];if(T){i={};for(var s=0;s<a.length;s++)i["$"+a[s]]=a[s]}for(var u in e)Y(e,u)&&(n&&String(Number(u))===u&&u<e.length||T&&i["$"+u]instanceof Symbol||(N.call(/[^\w$]/,u)?r.push(t(u,e)+": "+t(e[u],e)):r.push(u+": "+t(e[u],e))));if("function"===typeof E)for(var l=0;l<a.length;l++)k.call(e,a[l])&&r.push("["+t(a[l])+"]: "+t(e[a[l]],e));return r}},,function(e,t,n){"use strict";var r=n(340),o=Object.prototype.hasOwnProperty,i=Array.isArray,a={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:r.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},u=function(e,t){return e&&"string"===typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},l=function(e,t,n,r){if(e){var i=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/g,s=n.depth>0&&/(\[[^[\]]*])/.exec(i),l=s?i.slice(0,s.index):i,c=[];if(l){if(!n.plainObjects&&o.call(Object.prototype,l)&&!n.allowPrototypes)return;c.push(l)}for(var f=0;n.depth>0&&null!==(s=a.exec(i))&&f<n.depth;){if(f+=1,!n.plainObjects&&o.call(Object.prototype,s[1].slice(1,-1))&&!n.allowPrototypes)return;c.push(s[1])}return s&&c.push("["+i.slice(s.index)+"]"),function(e,t,n,r){for(var o=r?t:u(t,n),i=e.length-1;i>=0;--i){var a,s=e[i];if("[]"===s&&n.parseArrays)a=[].concat(o);else{a=n.plainObjects?Object.create(null):{};var l="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,c=parseInt(l,10);n.parseArrays||""!==l?!isNaN(c)&&s!==l&&String(c)===l&&c>=0&&n.parseArrays&&c<=n.arrayLimit?(a=[])[c]=o:a[l]=o:a={0:o}}o=a}return o}(c,t,n,r)}};e.exports=function(e,t){var n=function(e){if(!e)return a;if(null!==e.decoder&&void 0!==e.decoder&&"function"!==typeof e.decoder)throw new TypeError("Decoder has to be a function.");if("undefined"!==typeof e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t="undefined"===typeof e.charset?a.charset:e.charset;return{allowDots:"undefined"===typeof e.allowDots?a.allowDots:!!e.allowDots,allowPrototypes:"boolean"===typeof e.allowPrototypes?e.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"===typeof e.allowSparse?e.allowSparse:a.allowSparse,arrayLimit:"number"===typeof e.arrayLimit?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:"boolean"===typeof e.charsetSentinel?e.charsetSentinel:a.charsetSentinel,comma:"boolean"===typeof e.comma?e.comma:a.comma,decoder:"function"===typeof e.decoder?e.decoder:a.decoder,delimiter:"string"===typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:"number"===typeof e.depth||!1===e.depth?+e.depth:a.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"===typeof e.interpretNumericEntities?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"===typeof e.parameterLimit?e.parameterLimit:a.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"===typeof e.plainObjects?e.plainObjects:a.plainObjects,strictNullHandling:"boolean"===typeof e.strictNullHandling?e.strictNullHandling:a.strictNullHandling}}(t);if(""===e||null===e||"undefined"===typeof e)return n.plainObjects?Object.create(null):{};for(var c="string"===typeof e?function(e,t){var n,l={},c=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,f=t.parameterLimit===1/0?void 0:t.parameterLimit,d=c.split(t.delimiter,f),p=-1,h=t.charset;if(t.charsetSentinel)for(n=0;n<d.length;++n)0===d[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===d[n]?h="utf-8":"utf8=%26%2310003%3B"===d[n]&&(h="iso-8859-1"),p=n,n=d.length);for(n=0;n<d.length;++n)if(n!==p){var g,y,m=d[n],v=m.indexOf("]="),b=-1===v?m.indexOf("="):v+1;-1===b?(g=t.decoder(m,a.decoder,h,"key"),y=t.strictNullHandling?null:""):(g=t.decoder(m.slice(0,b),a.decoder,h,"key"),y=r.maybeMap(u(m.slice(b+1),t),(function(e){return t.decoder(e,a.decoder,h,"value")}))),y&&t.interpretNumericEntities&&"iso-8859-1"===h&&(y=s(y)),m.indexOf("[]=")>-1&&(y=i(y)?[y]:y),o.call(l,g)?l[g]=r.combine(l[g],y):l[g]=y}return l}(e,n):e,f=n.plainObjects?Object.create(null):{},d=Object.keys(c),p=0;p<d.length;++p){var h=d[p],g=l(h,c[h],n,"string"===typeof e);f=r.merge(f,g,n)}return!0===n.allowSparse?f:r.compact(f)}},function(e,t,n){(function(t){var n;n=function(){"use strict";function e(e){var t=e.match(/^(https?:|file:|chrome-extension:)\/\/(([^:/?#]*)(?::([0-9]+))?)([/]{0,1}[^?#]*)(\?[^#]*|)(#.*|)$/);return t&&{href:e,protocol:t[1],host:t[2],hostname:t[3],port:t[4],pathname:t[5],search:t[6],hash:t[7]}}Object.prototype.toString;var n=function(t){if(t){var n=e(t);if(!n)return null;var r=n.protocol+"//"+n.hostname;return n.port&&(r+=":"+n.port),r}};function r(){return window}var o={redirect:function(e){r().location=e},getDocument:function(){return r().document},getWindow:r,getOrigin:function(){var e=r().location,t=e.origin;return t||(t=n(e.href)),t}},i="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof t?t:"undefined"!=typeof self?self:{};function a(e,t){return e(t={exports:{}},t.exports),t.exports}var s=a((function(e){var t,n;t=i,n=function(){function e(e){var t=[];if(0===e.length)return"";if("string"!=typeof e[0])throw new TypeError("Url must be a string. Received "+e[0]);if(e[0].match(/^[^/:]+:\/*$/)&&e.length>1){var n=e.shift();e[0]=n+e[0]}e[0].match(/^file:\/\/\//)?e[0]=e[0].replace(/^([^/:]+):\/*/,"$1:///"):e[0]=e[0].replace(/^([^/:]+):\/*/,"$1://");for(var r=0;r<e.length;r++){var o=e[r];if("string"!=typeof o)throw new TypeError("Url must be a string. Received "+o);""!==o&&(r>0&&(o=o.replace(/^[\/]+/,"")),o=r<e.length-1?o.replace(/[\/]+$/,""):o.replace(/[\/]+$/,"/"),t.push(o))}var i=t.join("/"),a=(i=i.replace(/\/(\?|&|#[^!])/g,"$1")).split("?");return a.shift()+(a.length>0?"?":"")+a.join("&")}return function(){return e("object"==typeof arguments[0]?arguments[0]:[].slice.call(arguments))}},e.exports?e.exports=n():t.urljoin=n()})),u=i.Symbol,l="Function.prototype.bind called on incompatible ",c=Array.prototype.slice,f=Object.prototype.toString,d=Function.prototype.bind||function(e){var t=this;if("function"!=typeof t||"[object Function]"!==f.call(t))throw new TypeError(l+t);for(var n,r=c.call(arguments,1),o=function(){if(this instanceof n){var o=t.apply(this,r.concat(c.call(arguments)));return Object(o)===o?o:this}return t.apply(e,r.concat(c.call(arguments)))},i=Math.max(0,t.length-r.length),a=[],s=0;s<i;s++)a.push("$"+s);if(n=Function("binder","return function ("+a.join(",")+"){ return binder.apply(this,arguments); }")(o),t.prototype){var u=function(){};u.prototype=t.prototype,n.prototype=new u,u.prototype=null}return n},p=d.call(Function.call,Object.prototype.hasOwnProperty),h=SyntaxError,g=Function,y=TypeError,m=function(e){try{return g('"use strict"; return ('+e+").constructor;")()}catch(t){}},v=Object.getOwnPropertyDescriptor;if(v)try{v({},"")}catch(rt){v=null}var b,M=function(){throw new y},w=v?function(){try{return M}catch(e){try{return v(arguments,"callee").get}catch(t){return M}}}():M,N="function"==typeof u&&"function"==typeof Symbol&&"symbol"==typeof u("foo")&&"symbol"==typeof Symbol("bar")&&function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}(),j=Object.getPrototypeOf||function(e){return e.__proto__},S={},I="undefined"==typeof Uint8Array?void 0:j(Uint8Array),D={"%AggregateError%":"undefined"==typeof AggregateError?void 0:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer,"%ArrayIteratorPrototype%":N?j([][Symbol.iterator]()):void 0,"%AsyncFromSyncIteratorPrototype%":void 0,"%AsyncFunction%":S,"%AsyncGenerator%":S,"%AsyncGeneratorFunction%":S,"%AsyncIteratorPrototype%":S,"%Atomics%":"undefined"==typeof Atomics?void 0:Atomics,"%BigInt%":"undefined"==typeof BigInt?void 0:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?void 0:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?void 0:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?void 0:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?void 0:FinalizationRegistry,"%Function%":g,"%GeneratorFunction%":S,"%Int8Array%":"undefined"==typeof Int8Array?void 0:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?void 0:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?void 0:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":N?j(j([][Symbol.iterator]())):void 0,"%JSON%":"object"==typeof JSON?JSON:void 0,"%Map%":"undefined"==typeof Map?void 0:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&N?j((new Map)[Symbol.iterator]()):void 0,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?void 0:Promise,"%Proxy%":"undefined"==typeof Proxy?void 0:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?void 0:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?void 0:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&N?j((new Set)[Symbol.iterator]()):void 0,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":N?j(""[Symbol.iterator]()):void 0,"%Symbol%":N?Symbol:void 0,"%SyntaxError%":h,"%ThrowTypeError%":w,"%TypedArray%":I,"%TypeError%":y,"%Uint8Array%":"undefined"==typeof Uint8Array?void 0:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?void 0:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?void 0:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?void 0:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?void 0:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?void 0:WeakSet},x={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},E=d.call(Function.call,Array.prototype.concat),O=d.call(Function.apply,Array.prototype.splice),T=d.call(Function.call,String.prototype.replace),C=d.call(Function.call,String.prototype.slice),k=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,L=/\\(\\)?/g,_=function(e){var t=C(e,0,1),n=C(e,-1);if("%"===t&&"%"!==n)throw new h("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new h("invalid intrinsic syntax, expected opening `%`");var r=[];return T(e,k,(function(e,t,n,o){r[r.length]=n?T(o,L,"$1"):t||e})),r},A=function(e,t){var n,r=e;if(p(x,r)&&(r="%"+(n=x[r])[0]+"%"),p(D,r)){var o=D[r];if(o===S&&(o=function e(t){var n;if("%AsyncFunction%"===t)n=m("async function () {}");else if("%GeneratorFunction%"===t)n=m("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=m("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&(n=j(o.prototype))}return D[t]=n,n}(r)),void 0===o&&!t)throw new y("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:o}}throw new h("intrinsic "+e+" does not exist!")},z=function(e,t){if("string"!=typeof e||0===e.length)throw new y("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new y('"allowMissing" argument must be a boolean');var n=_(e),r=n.length>0?n[0]:"",o=A("%"+r+"%",t),i=o.name,a=o.value,s=!1,u=o.alias;u&&(r=u[0],O(n,E([0,1],u)));for(var l=1,c=!0;l<n.length;l+=1){var f=n[l],d=C(f,0,1),g=C(f,-1);if(('"'===d||"'"===d||"`"===d||'"'===g||"'"===g||"`"===g)&&d!==g)throw new h("property names with quotes must have matching quotes");if("constructor"!==f&&c||(s=!0),p(D,i="%"+(r+="."+f)+"%"))a=D[i];else if(null!=a){if(!(f in a)){if(!t)throw new y("base intrinsic for "+e+" exists, but the property is not available.");return}if(v&&l+1>=n.length){var m=v(a,f);a=(c=!!m)&&"get"in m&&!("originalValue"in m.get)?m.get:a[f]}else c=p(a,f),a=a[f];c&&!s&&(D[i]=a)}}return a},P=a((function(e){var t=z("%Function.prototype.apply%"),n=z("%Function.prototype.call%"),r=z("%Reflect.apply%",!0)||d.call(n,t),o=z("%Object.getOwnPropertyDescriptor%",!0),i=z("%Object.defineProperty%",!0),a=z("%Math.max%");if(i)try{i({},"a",{value:1})}catch(rt){i=null}e.exports=function(e){var t=r(d,n,arguments);if(o&&i){var s=o(t,"length");s.configurable&&i(t,"length",{value:1+a(0,e.length-(arguments.length-1))})}return t};var s=function(){return r(d,t,arguments)};i?i(e.exports,"apply",{value:s}):e.exports.apply=s})),R=(P.apply,P(z("String.prototype.indexOf"))),U=function(e,t){var n=z(e,!!t);return"function"==typeof n&&R(e,".prototype.")>-1?P(n):n},B=(b=Object.freeze({__proto__:null,default:{}}))&&b.default||b,F="function"==typeof Map&&Map.prototype,Y=Object.getOwnPropertyDescriptor&&F?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,G=F&&Y&&"function"==typeof Y.get?Y.get:null,H=F&&Map.prototype.forEach,V="function"==typeof Set&&Set.prototype,Q=Object.getOwnPropertyDescriptor&&V?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,W=V&&Q&&"function"==typeof Q.get?Q.get:null,Z=V&&Set.prototype.forEach,q="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,X="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,$="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,J=Boolean.prototype.valueOf,K=Object.prototype.toString,ee=Function.prototype.toString,te=String.prototype.match,ne="function"==typeof BigInt?BigInt.prototype.valueOf:null,re=Object.getOwnPropertySymbols,oe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,ie="function"==typeof Symbol&&"object"==typeof Symbol.iterator,ae=Object.prototype.propertyIsEnumerable,se=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null),ue=B.custom,le=ue&&he(ue)?ue:null,ce="function"==typeof Symbol&&void 0!==Symbol.toStringTag?Symbol.toStringTag:null;function fe(e,t,n){var r="double"===(n.quoteStyle||t)?'"':"'";return r+e+r}function de(e){return String(e).replace(/"/g,"&quot;")}function pe(e){return!("[object Array]"!==me(e)||ce&&"object"==typeof e&&ce in e)}function he(e){if(ie)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!oe)return!1;try{return oe.call(e),!0}catch(rt){}return!1}var ge=Object.prototype.hasOwnProperty||function(e){return e in this};function ye(e,t){return ge.call(e,t)}function me(e){return K.call(e)}function ve(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function be(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+t.toString(16).toUpperCase()}function Me(e){return"Object("+e+")"}function we(e){return e+" { ? }"}function Ne(e,t,n,r){return e+" ("+t+") {"+(r?je(n,r):n.join(", "))+"}"}function je(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+e.join(","+n)+"\n"+t.prev}function Se(e,t){var n=pe(e),r=[];if(n){r.length=e.length;for(var o=0;o<e.length;o++)r[o]=ye(e,o)?t(e[o],e):""}var i,a="function"==typeof re?re(e):[];if(ie){i={};for(var s=0;s<a.length;s++)i["$"+a[s]]=a[s]}for(var u in e)ye(e,u)&&(n&&String(Number(u))===u&&u<e.length||ie&&i["$"+u]instanceof Symbol||(/[^\w$]/.test(u)?r.push(t(u,e)+": "+t(e[u],e)):r.push(u+": "+t(e[u],e))));if("function"==typeof re)for(var l=0;l<a.length;l++)ae.call(e,a[l])&&r.push("["+t(a[l])+"]: "+t(e[a[l]],e));return r}var Ie=z("%TypeError%"),De=z("%WeakMap%",!0),xe=z("%Map%",!0),Ee=U("WeakMap.prototype.get",!0),Oe=U("WeakMap.prototype.set",!0),Te=U("WeakMap.prototype.has",!0),Ce=U("Map.prototype.get",!0),ke=U("Map.prototype.set",!0),Le=U("Map.prototype.has",!0),_e=function(e,t){for(var n,r=e;null!==(n=r.next);r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n},Ae=function(){var e,t,n,r={assert:function(e){if(!r.has(e))throw new Ie("Side channel does not contain "+function e(t,n,r,o){var i=n||{};if(ye(i,"quoteStyle")&&"single"!==i.quoteStyle&&"double"!==i.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(ye(i,"maxStringLength")&&("number"==typeof i.maxStringLength?i.maxStringLength<0&&i.maxStringLength!==1/0:null!==i.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var a=!ye(i,"customInspect")||i.customInspect;if("boolean"!=typeof a&&"symbol"!==a)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(ye(i,"indent")&&null!==i.indent&&"\t"!==i.indent&&!(parseInt(i.indent,10)===i.indent&&i.indent>0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return function e(t,n){if(t.length>n.maxStringLength){var r=t.length-n.maxStringLength,o="... "+r+" more character"+(r>1?"s":"");return e(t.slice(0,n.maxStringLength),n)+o}return fe(t.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,be),"single",n)}(t,i);if("number"==typeof t)return 0===t?1/0/t>0?"0":"-0":String(t);if("bigint"==typeof t)return String(t)+"n";var s=void 0===i.depth?5:i.depth;if(void 0===r&&(r=0),r>=s&&s>0&&"object"==typeof t)return pe(t)?"[Array]":"[Object]";var u,l=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;n=Array(e.indent+1).join(" ")}return{base:n,prev:Array(t+1).join(n)}}(i,r);if(void 0===o)o=[];else if(ve(o,t)>=0)return"[Circular]";function c(t,n,a){if(n&&(o=o.slice()).push(n),a){var s={depth:i.depth};return ye(i,"quoteStyle")&&(s.quoteStyle=i.quoteStyle),e(t,s,r+1,o)}return e(t,i,r+1,o)}if("function"==typeof t){var f=function(e){if(e.name)return e.name;var t=te.call(ee.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),d=Se(t,c);return"[Function"+(f?": "+f:" (anonymous)")+"]"+(d.length>0?" { "+d.join(", ")+" }":"")}if(he(t)){var p=ie?String(t).replace(/^(Symbol\(.*\))_[^)]*$/,"$1"):oe.call(t);return"object"!=typeof t||ie?p:Me(p)}if((u=t)&&"object"==typeof u&&("undefined"!=typeof HTMLElement&&u instanceof HTMLElement||"string"==typeof u.nodeName&&"function"==typeof u.getAttribute)){for(var h="<"+String(t.nodeName).toLowerCase(),g=t.attributes||[],y=0;y<g.length;y++)h+=" "+g[y].name+"="+fe(de(g[y].value),"double",i);return h+=">",t.childNodes&&t.childNodes.length&&(h+="..."),h+"</"+String(t.nodeName).toLowerCase()+">"}if(pe(t)){if(0===t.length)return"[]";var m=Se(t,c);return l&&!function(e){for(var t=0;t<e.length;t++)if(ve(e[t],"\n")>=0)return!1;return!0}(m)?"["+je(m,l)+"]":"[ "+m.join(", ")+" ]"}if(function(e){return!("[object Error]"!==me(e)||ce&&"object"==typeof e&&ce in e)}(t)){var v=Se(t,c);return 0===v.length?"["+String(t)+"]":"{ ["+String(t)+"] "+v.join(", ")+" }"}if("object"==typeof t&&a){if(le&&"function"==typeof t[le])return t[le]();if("symbol"!==a&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!G||!e||"object"!=typeof e)return!1;try{G.call(e);try{W.call(e)}catch(h){return!0}return e instanceof Map}catch(rt){}return!1}(t)){var b=[];return H.call(t,(function(e,n){b.push(c(n,t,!0)+" => "+c(e,t))})),Ne("Map",G.call(t),b,l)}if(function(e){if(!W||!e||"object"!=typeof e)return!1;try{W.call(e);try{G.call(e)}catch(t){return!0}return e instanceof Set}catch(rt){}return!1}(t)){var M=[];return Z.call(t,(function(e){M.push(c(e,t))})),Ne("Set",W.call(t),M,l)}if(function(e){if(!q||!e||"object"!=typeof e)return!1;try{q.call(e,q);try{X.call(e,X)}catch(h){return!0}return e instanceof WeakMap}catch(rt){}return!1}(t))return we("WeakMap");if(function(e){if(!X||!e||"object"!=typeof e)return!1;try{X.call(e,X);try{q.call(e,q)}catch(h){return!0}return e instanceof WeakSet}catch(rt){}return!1}(t))return we("WeakSet");if(function(e){if(!$||!e||"object"!=typeof e)return!1;try{return $.call(e),!0}catch(rt){}return!1}(t))return we("WeakRef");if(function(e){return!("[object Number]"!==me(e)||ce&&"object"==typeof e&&ce in e)}(t))return Me(c(Number(t)));if(function(e){if(!e||"object"!=typeof e||!ne)return!1;try{return ne.call(e),!0}catch(rt){}return!1}(t))return Me(c(ne.call(t)));if(function(e){return!("[object Boolean]"!==me(e)||ce&&"object"==typeof e&&ce in e)}(t))return Me(J.call(t));if(function(e){return!("[object String]"!==me(e)||ce&&"object"==typeof e&&ce in e)}(t))return Me(c(String(t)));if(!function(e){return!("[object Date]"!==me(e)||ce&&"object"==typeof e&&ce in e)}(t)&&!function(e){return!("[object RegExp]"!==me(e)||ce&&"object"==typeof e&&ce in e)}(t)){var w=Se(t,c),N=se?se(t)===Object.prototype:t instanceof Object||t.constructor===Object,j=t instanceof Object?"":"null prototype",S=!N&&ce&&Object(t)===t&&ce in t?me(t).slice(8,-1):j?"Object":"",I=(N||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(S||j?"["+[].concat(S||[],j||[]).join(": ")+"] ":"");return 0===w.length?I+"{}":l?I+"{"+je(w,l)+"}":I+"{ "+w.join(", ")+" }"}return String(t)}(e))},get:function(r){if(De&&r&&("object"==typeof r||"function"==typeof r)){if(e)return Ee(e,r)}else if(xe){if(t)return Ce(t,r)}else if(n)return function(e,t){var n=_e(e,t);return n&&n.value}(n,r)},has:function(r){if(De&&r&&("object"==typeof r||"function"==typeof r)){if(e)return Te(e,r)}else if(xe){if(t)return Le(t,r)}else if(n)return function(e,t){return!!_e(e,t)}(n,r);return!1},set:function(r,o){De&&r&&("object"==typeof r||"function"==typeof r)?(e||(e=new De),Oe(e,r,o)):xe?(t||(t=new xe),ke(t,r,o)):(n||(n={key:{},next:null}),function(e,t,n){var r=_e(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}}(n,r,o))}};return r},ze=String.prototype.replace,Pe=/%20/g,Re={default:"RFC3986",formatters:{RFC1738:function(e){return ze.call(e,Pe,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:"RFC3986"},Ue=Object.prototype.hasOwnProperty,Be=Array.isArray,Fe=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),Ye=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)void 0!==e[r]&&(n[r]=e[r]);return n},Ge={arrayToObject:Ye,assign:function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r)for(var o=t[r],i=o.obj[o.prop],a=Object.keys(i),s=0;s<a.length;++s){var u=a[s],l=i[u];"object"==typeof l&&null!==l&&-1===n.indexOf(l)&&(t.push({obj:i,prop:u}),n.push(l))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(Be(n)){for(var r=[],o=0;o<n.length;++o)void 0!==n[o]&&r.push(n[o]);t.obj[t.prop]=r}}}(t),e},decode:function(e,t,n){var r=e.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(rt){return r}},encode:function(e,t,n,r,o){if(0===e.length)return e;var i=e;if("symbol"==typeof e?i=Symbol.prototype.toString.call(e):"string"!=typeof e&&(i=String(e)),"iso-8859-1"===n)return escape(i).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var a="",s=0;s<i.length;++s){var u=i.charCodeAt(s);45===u||46===u||95===u||126===u||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122||o===Re.RFC1738&&(40===u||41===u)?a+=i.charAt(s):u<128?a+=Fe[u]:u<2048?a+=Fe[192|u>>6]+Fe[128|63&u]:u<55296||u>=57344?a+=Fe[224|u>>12]+Fe[128|u>>6&63]+Fe[128|63&u]:(s+=1,u=65536+((1023&u)<<10|1023&i.charCodeAt(s)),a+=Fe[240|u>>18]+Fe[128|u>>12&63]+Fe[128|u>>6&63]+Fe[128|63&u])}return a},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(Be(e)){for(var n=[],r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)},merge:function e(t,n,r){if(!n)return t;if("object"!=typeof n){if(Be(t))t.push(n);else{if(!t||"object"!=typeof t)return[t,n];(r&&(r.plainObjects||r.allowPrototypes)||!Ue.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(n);var o=t;return Be(t)&&!Be(n)&&(o=Ye(t,r)),Be(t)&&Be(n)?(n.forEach((function(n,o){if(Ue.call(t,o)){var i=t[o];i&&"object"==typeof i&&n&&"object"==typeof n?t[o]=e(i,n,r):t.push(n)}else t[o]=n})),t):Object.keys(n).reduce((function(t,o){var i=n[o];return Ue.call(t,o)?t[o]=e(t[o],i,r):t[o]=i,t}),o)}},He=Object.prototype.hasOwnProperty,Ve={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},Qe=Array.isArray,We=Array.prototype.push,Ze=function(e,t){We.apply(e,Qe(t)?t:[t])},qe=Date.prototype.toISOString,Xe=Re.default,$e={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:Ge.encode,encodeValuesOnly:!1,format:Xe,formatter:Re.formatters[Xe],indices:!1,serializeDate:function(e){return qe.call(e)},skipNulls:!1,strictNullHandling:!1},Je=function e(t,n,r,o,i,a,s,u,l,c,f,d,p,h,g){var y,m=t;if(g.has(t))throw new RangeError("Cyclic object value");if("function"==typeof s?m=s(n,m):m instanceof Date?m=c(m):"comma"===r&&Qe(m)&&(m=Ge.maybeMap(m,(function(e){return e instanceof Date?c(e):e}))),null===m){if(o)return a&&!p?a(n,$e.encoder,h,"key",f):n;m=""}if("string"==typeof(y=m)||"number"==typeof y||"boolean"==typeof y||"symbol"==typeof y||"bigint"==typeof y||Ge.isBuffer(m))return a?[d(p?n:a(n,$e.encoder,h,"key",f))+"="+d(a(m,$e.encoder,h,"value",f))]:[d(n)+"="+d(String(m))];var v,b=[];if(void 0===m)return b;if("comma"===r&&Qe(m))v=[{value:m.length>0?m.join(",")||null:void 0}];else if(Qe(s))v=s;else{var M=Object.keys(m);v=u?M.sort(u):M}for(var w=0;w<v.length;++w){var N=v[w],j="object"==typeof N&&void 0!==N.value?N.value:m[N];if(!i||null!==j){var S=Qe(m)?"function"==typeof r?r(n,N):n:n+(l?"."+N:"["+N+"]");g.set(t,!0);var I=Ae();Ze(b,e(j,S,r,o,i,a,s,u,l,c,f,d,p,h,I))}}return b},Ke=(Object.prototype.hasOwnProperty,Array.isArray,function(e,t){var n,r=e,o=function(e){if(!e)return $e;if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||$e.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=Re.default;if(void 0!==e.format){if(!He.call(Re.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var r=Re.formatters[n],o=$e.filter;return("function"==typeof e.filter||Qe(e.filter))&&(o=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:$e.addQueryPrefix,allowDots:void 0===e.allowDots?$e.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:$e.charsetSentinel,delimiter:void 0===e.delimiter?$e.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:$e.encode,encoder:"function"==typeof e.encoder?e.encoder:$e.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:$e.encodeValuesOnly,filter:o,format:n,formatter:r,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:$e.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:$e.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:$e.strictNullHandling}}(t);"function"==typeof o.filter?r=(0,o.filter)("",r):Qe(o.filter)&&(n=o.filter);var i,a=[];if("object"!=typeof r||null===r)return"";i=t&&t.arrayFormat in Ve?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var s=Ve[i];n||(n=Object.keys(r)),o.sort&&n.sort(o.sort);for(var u=Ae(),l=0;l<n.length;++l){var c=n[l];o.skipNulls&&null===r[c]||Ze(a,Je(r[c],c,s,o.strictNullHandling,o.skipNulls,o.encode?o.encoder:null,o.filter,o.sort,o.allowDots,o.serializeDate,o.format,o.formatter,o.encodeValuesOnly,o.charset,u))}var f=a.join(o.delimiter),d=!0===o.addQueryPrefix?"?":"";return o.charsetSentinel&&("iso-8859-1"===o.charset?d+="utf8=%26%2310003%3B&":d+="utf8=%E2%9C%93&"),f.length>0?d+f:""});function et(e){this.webAuth=e,this._current_popup=null,this.options=null}function tt(e){this.webAuth=e}function nt(){this.webAuth=null,this.version="9.18.0",this.extensibilityPoints=["popup.authorize","popup.getPopupHandler"]}return et.prototype.preload=function(e){var t=this,n=o.getWindow(),r=e.url||"about:blank",i=e.popupOptions||{};i.location="yes",delete i.width,delete i.height;var a=Ke(i,{encode:!1,delimiter:","});return this._current_popup&&!this._current_popup.closed||(this._current_popup=n.open(r,"_blank",a),this._current_popup.kill=function(e){t._current_popup.success=e,this.close(),t._current_popup=null}),this._current_popup},et.prototype.load=function(e,t,n,r){var o=this;this.url=e,this.options=n,this._current_popup?this._current_popup.location.href=e:(n.url=e,this.preload(n)),this.transientErrorHandler=function(e){o.errorHandler(e,r)},this.transientStartHandler=function(e){o.startHandler(e,r)},this.transientExitHandler=function(){o.exitHandler(r)},this._current_popup.addEventListener("loaderror",this.transientErrorHandler),this._current_popup.addEventListener("loadstart",this.transientStartHandler),this._current_popup.addEventListener("exit",this.transientExitHandler)},et.prototype.errorHandler=function(e,t){this._current_popup&&(this._current_popup.kill(!0),t({error:"window_error",errorDescription:e.message}))},et.prototype.unhook=function(){this._current_popup.removeEventListener("loaderror",this.transientErrorHandler),this._current_popup.removeEventListener("loadstart",this.transientStartHandler),this._current_popup.removeEventListener("exit",this.transientExitHandler)},et.prototype.exitHandler=function(e){this._current_popup&&(this.unhook(),this._current_popup.success||e({error:"window_closed",errorDescription:"Browser window closed"}))},et.prototype.startHandler=function(e,t){var n=this;if(this._current_popup){var r=s("https:",this.webAuth.baseOptions.domain,"/mobile");if(!e.url||0===e.url.indexOf(r+"#")){var o=e.url.split("#");if(1!==o.length){var i={hash:o.pop()};this.options.nonce&&(i.nonce=this.options.nonce),this.webAuth.parseHash(i,(function(e,r){(e||r)&&(n._current_popup.kill(!0),t(e,r))}))}}}},tt.prototype.processParams=function(e){return e.redirectUri=s("https://"+e.domain,"mobile"),delete e.owp,e},tt.prototype.getPopupHandler=function(){return new et(this.webAuth)},nt.prototype.setWebAuth=function(e){this.webAuth=e},nt.prototype.supports=function(e){var t=o.getWindow();return(!!t.cordova||!!t.electron)&&this.extensibilityPoints.indexOf(e)>-1},nt.prototype.init=function(){return new tt(this.webAuth)},nt},e.exports=n()}).call(this,n(59))},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)return e;if("User closed the popup window"===e.status)return{code:"lock.popup_closed",error:"lock.popup_closed",description:"Popup window closed."};if("unauthorized"===e.code)return e.description&&"access_denied"!==e.description?"user is blocked"===e.description?{code:"blocked_user",error:"blocked_user",description:e.description}:{code:"rule_error",error:"rule_error",description:e.description}:{code:"lock.unauthorized",error:"lock.unauthorized",description:e.description||"Permissions were not granted."};if(window.location.host!==t&&("access_denied"===e.error||"access_denied"===e.code))return{code:"invalid_user_password",error:"invalid_user_password",description:e.description};var n;if("invalid_captcha"===e.code)return(n={code:"invalid_captcha"}).code="invalid_captcha",n.description=e.description,n;var r={error:e.code?e.code:e.statusCode||e.error,description:e.description||e.code};return void 0===r.error&&void 0===r.description?e:r}t.__esModule=!0,t.normalizeError=o,t.loginCallback=function(e,t,n){return e?function(e){return n(o(e,t))}:function(e,r){return n(o(e,t),r)}},t.normalizeAuthParams=function(e){e.popup;return r(e,["popup"])},t.webAuthOverrides=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.__tenant,n=e.__token_issuer,r=e.__jwks_uri;if(t||n||r)return{__tenant:t,__token_issuer:n,__jwks_uri:r};return null},t.trimAuthParams=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=r(e,[]);return["username","email","phoneNumber","mfa_code"].forEach((function(e){"string"===typeof t[e]&&(t[e]=t[e].trim())})),t},t.getVersion=function(){return"11.31.1"}},function(e,t,n){"use strict";t.__esModule=!0,t.syncRemoteData=function(e){e=s.useTenantInfo(e)?(0,c.default)(e,"client",{syncFn:function(e,t){return(0,i.fetchTenantSettings)(s.tenantBaseUrl(e),t)},successFn:function(e,t){return(0,i.syncTenantSettingsSuccess)(e,s.clientID(e),t)}}):(0,c.default)(e,"client",{syncFn:function(e,t){return(0,o.fetchClientSettings)(s.clientID(e),s.clientBaseUrl(e),t)},successFn:o.syncClientSettingsSuccess});return e=(0,c.default)(e,"sso",{conditionFn:function(e){return s.auth.sso(e)&&s.ui.rememberLastLogin(e)},waitFn:function(e){return(0,l.isSuccess)(e,"client")},syncFn:function(e,t){(0,a.fetchSSOData)(s.id(e),(0,u.isADEnabled)(e),(function(){for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];s.emitEvent(e,"ssodata fetched",r),t.apply(void 0,r)}))},successFn:function(e,t){return e.mergeIn(["sso"],r.default.fromJS(t))},errorFn:function(e,t){if("consent_required"===t.error)s.warn(e,t.error_description);else{var n=location.protocol+"//"+location.hostname;location.port&&(n+=":"+location.port);var r="https://manage.auth0.com/#/applications/"+s.clientID(e)+"/settings";s.warn(e,'There was an error fetching the SSO data. This is expected - and not a problem - if the tenant has Seamless SSO enabled. If the tenant doesn\'t have Seamless SSO enabled, this could simply mean that there was a problem with the network. But, if a "Origin" error has been logged before this warning, please add "'+n+'" to the "Allowed Web Origins" list in the Auth0 dashboard: '+r)}}}),e=(0,c.default)(e,"captcha",{syncFn:function(e,t){f.default.getChallenge(e.get("id"),(function(e,n){t(null,n)}))},successFn:d.setCaptcha})};var r=p(n(48)),o=n(569),i=n(570),a=n(571),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(12)),u=n(70),l=n(109),c=p(l),f=p(n(100)),d=n(12);function p(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";t.__esModule=!0,t.fetchClientSettings=function(e,t,n){(0,a.load)({method:"setClient",url:(0,i.default)(t,"client",e+".js?t"+ +new Date),check:function(t){return t&&t.id===e},cb:n})},t.syncClientSettingsSuccess=function(e,t){return e=(0,u.initClient)(e,t),e=s.filterConnections(e),e=s.runHook(e,"didReceiveClientSettings")};var r,o=n(331),i=(r=o)&&r.__esModule?r:{default:r},a=n(236),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(12)),u=n(341)},function(e,t,n){"use strict";t.__esModule=!0,t.fetchTenantSettings=function(e,t){(0,r.load)({method:"setTenant",url:e+"?t"+ +new Date,check:function(){return!0},cb:t})},t.syncTenantSettingsSuccess=function(e,t,n){return e=(0,i.initTenant)(e,t,n),e=o.filterConnections(e),e=o.runHook(e,"didReceiveClientSettings")};var r=n(236),o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(12)),i=n(239)},function(e,t,n){"use strict";t.__esModule=!0,t.fetchSSOData=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];i.get.apply(i,[e].concat(n))};var r=o(n(100));function o(e){return e&&e.__esModule?e:{default:e}}var i=new(o(n(572)).default)((function(){return r.default.getSSOData.apply(r.default,arguments)}))},function(e,t,n){"use strict";t.__esModule=!0;var r=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.cache={},this.cbs={},this.fetchFn=t}return e.prototype.get=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.pop(),o=JSON.stringify(t);if(this.cache[o])return r(null,this.cache[o]);this.registerCallback(o,r)>1||this.fetch(o,t)},e.prototype.fetch=function(e,t){var n=this;this.fetchFn.apply(this,t.concat([function(t,r){t||(n.cache[e]=r),n.execCallbacks(e,t,r)}]))},e.prototype.registerCallback=function(e,t){return this.cbs[e]=this.cbs[e]||[],this.cbs[e].push(t),this.cbs[e].length},e.prototype.execCallbacks=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];this.cbs[e]&&this.cbs[e].forEach((function(e){return e.apply(void 0,n)})),delete this.cbs[e]},e}();t.default=r},function(e,t,n){"use strict";t.__esModule=!0,t.emitFederatedLoginEvent=function(e,t,n){var o=void 0;try{o=t.toJS()}catch(i){o=t}r.emitEvent(e,"federated login",{name:o.name,strategy:o.strategy,action:n?"signup":"signin"})};var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(12))},function(e,t,n){"use strict";t.__esModule=!0;var r=p(n(2)),o=p(n(0)),i=p(n(181)),a=p(n(249)),s=p(n(250)),u=n(111),l=n(180),c=n(49),f=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(12)),d=p(n(344));function p(e){return e&&e.__esModule?e:{default:e}}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var y=function(e){function t(){var n,r;h(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=g(this,e.call.apply(e,[this].concat(i))),r.handleDontRememberPasswordClick=function(e){e.preventDefault(),(0,u.showResetPasswordActivity)(f.id(r.props.lock))},g(r,n)}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.render=function(){var e=this.props,t=e.emailInputPlaceholder,n=e.forgotPasswordAction,r=e.i18n,u=e.instructions,p=e.lock,h=e.passwordInputPlaceholder,g=e.showForgotPasswordLink,y=e.showPassword,m=e.usernameInputPlaceholder,v=e.usernameStyle,b=u||null,M=b&&o.default.createElement("p",null,b),w=f.connectionResolver(p),N="email"===v&&void 0===w?o.default.createElement(i.default,{i18n:r,lock:p,forceInvalidVisibility:!y,placeholder:t,strictValidation:!1}):o.default.createElement(a.default,{i18n:r,lock:p,placeholder:m,usernameStyle:v,validateFormat:!1,strictValidation:!1}),j=f.captcha(p)&&f.captcha(p).get("required")?o.default.createElement(d.default,{i18n:r,lock:p,onReload:function(){return(0,l.swapCaptcha)(f.id(p),!1)}}):null,S=g&&(0,c.hasScreen)(p,"forgotPassword")?o.default.createElement("p",{className:"auth0-lock-alternative"},o.default.createElement("a",{className:"auth0-lock-alternative-link",href:(0,c.forgotPasswordLink)(p,"#"),onClick:(0,c.forgotPasswordLink)(p)?void 0:this.handleDontRememberPasswordClick},n)):null;return o.default.createElement("div",null,M,N,o.default.createElement(s.default,{i18n:r,lock:p,placeholder:h,hidden:!y}),j,S)},t}(o.default.Component);t.default=y,y.propTypes={emailInputPlaceholder:r.default.string.isRequired,forgotPasswordAction:r.default.string.isRequired,i18n:r.default.object.isRequired,instructions:r.default.any,lock:r.default.object.isRequired,passwordInputPlaceholder:r.default.string.isRequired,showForgotPasswordLink:r.default.bool.isRequired,showPassword:r.default.bool.isRequired,usernameInputPlaceholder:r.default.string.isRequired,usernameStyle:r.default.oneOf(["any","email","username"])}},function(e,t,n){"use strict";t.__esModule=!0;var r=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},o=a(n(0)),i=a(n(91));function a(e){return e&&e.__esModule?e:{default:e}}var s=o.default.createElement("svg",{"aria-hidden":"true",focusable:"false",width:"14px",height:"13px",viewBox:"0 0 32 26",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",className:"auth0-lock-icon auth0-lock-icon-box"},o.default.createElement("g",{id:"Page-1",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},o.default.createElement("g",{id:"32px",transform:"translate(-2155.000000, -2317.000000)",fill:"#373A39"},o.default.createElement("g",{id:"Group-856",transform:"translate(1.000000, 1.000000)"},o.default.createElement("path",{id:"Fill-419",d:"M2184,2339 C2184,2339.55 2183.55,2340 2183,2340 L2157,2340 C2156.45,2340 2156,2339.55 2156,2339 L2156,2319 C2156,2318.45 2156.45,2318 2157,2318 L2183,2318 C2183.55,2318 2184,2318.45 2184,2319 L2184,2339 L2184,2339 Z M2184,2316 L2156,2316 C2154.89,2316 2154,2316.89 2154,2318 L2154,2340 C2154,2341.1 2154.89,2342 2156,2342 L2184,2342 C2185.1,2342 2186,2341.1 2186,2340 L2186,2318 C2186,2316.89 2185.1,2316 2184,2316 L2184,2316 Z M2176,2322 L2180,2322 L2180,2326 L2176,2326 L2176,2322 Z M2174,2328 L2182,2328 L2182,2320 L2174,2320 L2174,2328 Z M2158,2332 L2172,2332 L2172,2330 L2158,2330 L2158,2332 Z M2158,2336 L2172,2336 L2172,2334 L2158,2334 L2158,2336 Z"}))))),u=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,e.call(this,n));return r.state={},r}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.shouldComponentUpdate=function(e,t){var n=this.props,r=n.invalidHint,o=n.isValid,i=n.value,a=n.disabled,s=(n.onChange,this.state.focused);return r!=e.invalidHint||o!=e.isValid||i!=e.value||s!=t.focused||a!=e.disabled},t.prototype.render=function(){var e=this.props,t=e.lockId,n=e.invalidHint,a=e.isValid,u=e.autoComplete,l=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["lockId","invalidHint","isValid","autoComplete"]),c=this.state.focused;return o.default.createElement(i.default,{focused:c,invalidHint:n,isValid:a,name:"email",icon:s},o.default.createElement("input",r({id:t+"-email",ref:"input",type:"email",inputMode:"email",name:"email",className:"auth0-lock-input",placeholder:"yours@example.com",autoComplete:u?"on":"off",autoCapitalize:"off",onChange:this.handleOnChange.bind(this),onFocus:this.handleFocus.bind(this),onBlur:this.handleBlur.bind(this),"aria-label":"Email","aria-invalid":!a,"aria-describedby":!a&&n?"auth0-lock-error-msg-email":void 0},l)))},t.prototype.handleOnChange=function(e){this.props.onChange&&this.props.onChange(e)},t.prototype.handleFocus=function(){this.setState({focused:!0})},t.prototype.handleBlur=function(){this.setState({focused:!1})},t}(o.default.Component);t.default=u},function(e,t,n){"use strict";t.__esModule=!0,t.debounce=function(e,t){var n=void 0;return function(){for(var r=arguments.length,o=Array(r),i=0;i<r;i++)o[i]=arguments[i];function a(){clearTimeout(n),e.apply(void 0,o)}clearTimeout(n),n=setTimeout(a,t)}}},function(e,t,n){"use strict";t.__esModule=!0;var r=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},o=a(n(0)),i=a(n(91));function a(e){return e&&e.__esModule?e:{default:e}}var s=o.default.createElement("svg",{"aria-hidden":"true",focusable:"false",width:"13px",height:"14px",viewBox:"0 0 15 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",className:"auth0-lock-icon auth0-lock-icon-box"},o.default.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},o.default.createElement("g",{transform:"translate(-11.000000, -1471.000000)",fill:"#888888"},o.default.createElement("path",{d:"M25.552,1486.998 L11.449,1486.998 C10.667,1485.799 10.984,1483.399 11.766,1482.6 C12.139,1482.219 14.931,1481.5 16.267,1481.172 C14.856,1480.076 13.995,1478.042 13.995,1476.103 C13.995,1473.284 14.813,1470.999 18.498,1470.999 C22.182,1470.999 23,1473.284 23,1476.103 C23,1478.037 22.145,1480.065 20.74,1481.163 C22.046,1481.489 24.88,1482.228 25.241,1482.601 C26.019,1483.399 26.328,1485.799 25.552,1486.998 L25.552,1486.998 Z M24.6,1483.443 C24.087,1483.169 21.881,1482.548 20,1482.097 L20,1480.513 C21.254,1479.659 21.997,1477.806 21.997,1476.12 C21.997,1473.841 21.414,1471.993 18.499,1471.993 C15.583,1471.993 15,1473.841 15,1476.12 C15,1477.807 15.744,1479.662 17,1480.515 L17,1482.112 C15.109,1482.556 12.914,1483.166 12.409,1483.442 C12.082,1483.854 11.797,1485.173 12,1486 L25,1486 C25.201,1485.174 24.922,1483.858 24.6,1483.443 L24.6,1483.443 Z"})))),u=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,e.call(this,n));return r.state={},r}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.shouldComponentUpdate=function(e,t){var n=this.props,r=n.invalidHint,o=n.isValid,i=n.value,a=n.disabled,s=(n.onChange,this.state.focused);return r!=e.invalidHint||o!=e.isValid||i!=e.value||s!=t.focused||a!=e.disabled},t.prototype.render=function(){var e=this.props,t=e.invalidHint,n=e.isValid,a=(e.onChange,e.autoComplete),u=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["invalidHint","isValid","onChange","autoComplete"]),l=this.state.focused;return o.default.createElement(i.default,{focused:l,invalidHint:t,isValid:n,name:"username",icon:s},o.default.createElement("input",r({ref:"input",type:"text",name:"username",className:"auth0-lock-input",placeholder:"username",autoComplete:a?"on":"off",autoCapitalize:"off",spellCheck:"off",autoCorrect:"off",onChange:this.handleOnChange.bind(this),onFocus:this.handleFocus.bind(this),onBlur:this.handleBlur.bind(this),"aria-label":"User name","aria-invalid":!n,"aria-describedby":!n&&t?"auth0-lock-error-msg-username":void 0},u)))},t.prototype.handleOnChange=function(e){this.props.onChange&&this.props.onChange(e)},t.prototype.handleFocus=function(){this.setState({focused:!0})},t.prototype.handleBlur=function(){this.setState({focused:!1})},t}(o.default.Component);t.default=u},function(e,t,n){"use strict";t.__esModule=!0;var r=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},o=u(n(2)),i=u(n(0)),a=u(n(241)),s=u(n(333));function u(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(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 f(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 d=function(e){function t(){return l(this,t),c(this,e.apply(this,arguments))}return f(t,e),t.prototype.render=function(){var e=this.props,t=e.password,n=e.policy,r=e.messages,o=new a.default(n.toJS()).missing(t),u="auth0-lock-password-strength animated "+(o.verified?"fadeOut":"fadeIn");return function e(t){t&&t.forEach((function(t){r[t.code]&&(t.message=r[t.code]),t.message=s.default.apply(void 0,[t.message].concat(t.format||[])),t.items&&e(t.items)}))}(o.rules),i.default.createElement("div",{className:u},i.default.createElement(p,{items:o.rules}))},t}(i.default.Component);t.default=d,d.propTypes={messages:o.default.object.isRequired,password:o.default.string.isRequired,policy:o.default.object.isRequired},d.defaultProps={messages:{}};var p=function(e){function t(){return l(this,t),c(this,e.apply(this,arguments))}return f(t,e),t.prototype.render=function(){var e=this.props.items;return e&&e.length?i.default.createElement("ul",null,e.map((function(e,t){return i.default.createElement(h,r({},e,{key:t}))}))):null},t}(i.default.Component);p.propTypes={items:o.default.arrayOf(o.default.object)};var h=function(e){function t(){return l(this,t),c(this,e.apply(this,arguments))}return f(t,e),t.prototype.render=function(){var e=this.props,t=e.items,n=e.message,r=e.verified?"auth0-lock-checked":"";return i.default.createElement("li",{className:r},i.default.createElement("span",null,n),i.default.createElement(p,{items:t}))},t}(i.default.Component);h.propTypes={items:o.default.array,message:o.default.string.isRequired,verified:o.default.bool.isRequired}},function(e,t,n){"use strict";t.__esModule=!0,t.validatePassword=s,t.setPassword=function(e,t,n){return(0,a.setField)(e,"password",t,s,n)},t.setShowPassword=function(e,t){return(0,a.setField)(e,"showPassword",t,(function(){return!0}))};var r,o=n(241),i=(r=o)&&r.__esModule?r:{default:r},a=n(26);function s(e,t){return!!e&&(!t||new i.default(t.toJS()).check(e))}},function(e,t,n){"use strict";t.__esModule=!0;var r=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},o=a(n(0)),i=a(n(91));function a(e){return e&&e.__esModule?e:{default:e}}var s=o.default.createElement("svg",{className:"auth0-lock-icon auth0-lock-icon-box",width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o.default.createElement("g",{id:"icon/key"},o.default.createElement("path",{id:"Shape",fillRule:"evenodd",clipRule:"evenodd",d:"M16.3884 11.0145C14.4508 12.9522 11.3948 13.0447 9.32094 11.3401L7.20872 13.2642L9.60904 15.6697L8.83354 16.4466L6.39631 14.0048L4.88251 15.3832L7.39496 17.89L6.61586 18.6666L3.5 15.5587L3.53914 15.5198C3.47446 15.3363 3.51554 15.1287 3.67514 14.983L8.54211 10.5496C6.89425 8.47691 7.005 5.46384 8.92209 3.54636C10.9841 1.48455 14.3267 1.48455 16.3884 3.54636C18.4501 5.60846 18.4501 8.95239 16.3884 11.0145ZM15.6048 4.33856C13.98 2.71309 11.3454 2.71309 9.72062 4.33856C8.0958 5.9632 8.0958 8.59793 9.72062 10.2226C11.3454 11.8478 13.98 11.8478 15.6048 10.2226C17.2297 8.59793 17.2297 5.96292 15.6048 4.33856Z",fill:"#888888"}))),u=function(){return o.default.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.5496 8.77262C17.007 5.01122 13.8021 2.11002 9.88989 2.11002C6.79596 2.11002 4.14611 3.93257 2.896 6.55065H7.11154C7.41852 6.55065 7.66749 6.79935 7.66749 7.10579C7.66749 7.41251 7.41879 7.66205 7.11154 7.66205H2.47938H1.30282C1.30781 7.64318 1.3092 7.62291 1.3142 7.60404C1.23426 7.56296 1.16987 7.50217 1.11824 7.42889C1.10325 7.40918 1.09048 7.39086 1.07827 7.36977C1.04746 7.3112 1.02998 7.24791 1.02193 7.17935C1.01776 7.15326 1 7.133 1 7.10552C1 7.08997 1.00722 7.0772 1.00888 7.06166V1.5582C1.00888 1.25176 1.25757 1.0025 1.56427 1.0025C1.87125 1.0025 2.11994 1.25148 2.11994 1.5582V5.61994C3.6293 2.87224 6.53311 1 9.88989 1C14.4182 1 18.1481 4.39195 18.6951 8.77235H17.5496V8.77262ZM9.88989 17.655C12.9841 17.655 15.6337 15.833 16.8841 13.2152H12.6685C12.3615 13.2152 12.1128 12.967 12.1128 12.6595C12.1128 12.3525 12.3615 12.1043 12.6685 12.1043H17.3004C17.3004 12.1041 17.3007 12.1035 17.3007 12.1032H18.4775C18.4725 12.1221 18.4709 12.1424 18.4659 12.161C18.5461 12.2021 18.6105 12.2631 18.6621 12.3367C18.6774 12.3564 18.6893 12.3744 18.7018 12.3955C18.7326 12.4541 18.7504 12.5174 18.7584 12.5859C18.7626 12.612 18.7803 12.632 18.7803 12.6598C18.7803 12.675 18.7728 12.6881 18.7717 12.7031V18.2076C18.7717 18.5144 18.523 18.7628 18.2161 18.7628C17.9091 18.7628 17.6604 18.5144 17.6604 18.2076V14.1451C16.151 16.8928 13.2469 18.765 9.89017 18.765C5.36209 18.765 1.63255 15.3739 1.08493 10.9935H2.23041C2.77331 14.7549 5.97799 17.655 9.88989 17.655Z",fill:"black"}),o.default.createElement("mask",{id:"mask0","mask-type":"alpha",maskUnits:"userSpaceOnUse",x:"1",y:"1",width:"18",height:"18"},o.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.5496 8.77262C17.007 5.01122 13.8021 2.11002 9.88989 2.11002C6.79596 2.11002 4.14611 3.93257 2.896 6.55065H7.11154C7.41852 6.55065 7.66749 6.79935 7.66749 7.10579C7.66749 7.41251 7.41879 7.66205 7.11154 7.66205H2.47938H1.30282C1.30781 7.64318 1.3092 7.62291 1.3142 7.60404C1.23426 7.56296 1.16987 7.50217 1.11824 7.42889C1.10325 7.40918 1.09048 7.39086 1.07827 7.36977C1.04746 7.3112 1.02998 7.24791 1.02193 7.17935C1.01776 7.15326 1 7.133 1 7.10552C1 7.08997 1.00722 7.0772 1.00888 7.06166V1.5582C1.00888 1.25176 1.25757 1.0025 1.56427 1.0025C1.87125 1.0025 2.11994 1.25148 2.11994 1.5582V5.61994C3.6293 2.87224 6.53311 1 9.88989 1C14.4182 1 18.1481 4.39195 18.6951 8.77235H17.5496V8.77262ZM9.88989 17.655C12.9841 17.655 15.6337 15.833 16.8841 13.2152H12.6685C12.3615 13.2152 12.1128 12.967 12.1128 12.6595C12.1128 12.3525 12.3615 12.1043 12.6685 12.1043H17.3004C17.3004 12.1041 17.3007 12.1035 17.3007 12.1032H18.4775C18.4725 12.1221 18.4709 12.1424 18.4659 12.161C18.5461 12.2021 18.6105 12.2631 18.6621 12.3367C18.6774 12.3564 18.6893 12.3744 18.7018 12.3955C18.7326 12.4541 18.7504 12.5174 18.7584 12.5859C18.7626 12.612 18.7803 12.632 18.7803 12.6598C18.7803 12.675 18.7728 12.6881 18.7717 12.7031V18.2076C18.7717 18.5144 18.523 18.7628 18.2161 18.7628C17.9091 18.7628 17.6604 18.5144 17.6604 18.2076V14.1451C16.151 16.8928 13.2469 18.765 9.89017 18.765C5.36209 18.765 1.63255 15.3739 1.08493 10.9935H2.23041C2.77331 14.7549 5.97799 17.655 9.88989 17.655Z",fill:"white"})),o.default.createElement("g",{mask:"url(#mask0)"}))},l=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,e.call(this,n));return r.state={},r}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.shouldComponentUpdate=function(e,t){var n=this.props,r=n.isValid,o=n.value,i=n.image,a=n.placeholder,s=this.state.focused;return r!=e.isValid||o!=e.value||s!=t.focused||i!=t.image||a!=t.placeholder},t.prototype.render=function(){var e=this.props,t=e.lockId,n=e.image,a=e.value,l=e.placeholder,c=(e.onReload,e.invalidHint),f=e.isValid,d=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["lockId","image","value","placeholder","onReload","invalidHint","isValid"]),p=this.state.focused;return o.default.createElement("div",null,o.default.createElement("div",{className:"auth0-lock-captcha"},o.default.createElement("div",{className:"auth0-lock-captcha-image",style:{backgroundImage:"url("+n+")"}}),o.default.createElement("button",{type:"button",onClick:this.handleReload.bind(this),className:"auth0-lock-captcha-refresh"},o.default.createElement(u,null))),o.default.createElement(i.default,{focused:p,invalidHint:"",isValid:f,name:"captcha",icon:s},o.default.createElement("input",r({id:t+"-captcha",ref:"input",type:"text",inputMode:"text",name:"captcha",className:"auth0-lock-input",placeholder:l,autoComplete:"off",autoCapitalize:"off",onChange:this.handleOnChange.bind(this),onFocus:this.handleFocus.bind(this),onBlur:this.handleBlur.bind(this),"aria-label":"Email","aria-invalid":!f,"aria-describedby":!f&&c?"auth0-lock-error-msg-email":void 0,value:a},d))))},t.prototype.handleOnChange=function(e){this.props.onChange&&this.props.onChange(e)},t.prototype.handleReload=function(e){this.props.onReload&&(e.preventDefault(),this.props.onReload(e))},t.prototype.handleFocus=function(){this.setState({focused:!0})},t.prototype.handleBlur=function(){this.setState({focused:!1})},t}(o.default.Component);t.default=l},function(e,t,n){"use strict";t.__esModule=!0,t.ReCAPTCHA=t.isRecaptcha=void 0;var r=n(582),o=a(n(0)),i=a(n(2));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(){},u=(t.isRecaptcha=function(e){return"recaptcha_enterprise"===e||"recaptcha_v2"===e},function(e){switch(e){case"recaptcha_v2":return window.grecaptcha;case"recaptcha_enterprise":return window.grecaptcha.enterprise}}),l=function(e,t,n){switch(e){case"recaptcha_v2":return"https://www.recaptcha.net/recaptcha/api.js?hl="+t+"&onload="+n;case"recaptcha_enterprise":return"https://www.recaptcha.net/recaptcha/enterprise.js?render=explicit&hl="+t+"&onload="+n}},c=t.ReCAPTCHA=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var o=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,e.call(this,n));return o.state={},o.ref=(0,r.createRef)(),o.changeHandler=function(e){o.setState({value:e},(function(){o.props.onChange(e)}))},o.expiredHandler=function(){o.setState({value:""},(function(){o.props.onChange(""),o.props.onExpired()}))},o.erroredHandler=function(){o.setState({value:""},(function(){o.props.onChange(""),o.props.onErrored()}))},o}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.loadScript=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.body,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s,r="recatpchaCallback_"+Math.floor(1000001*Math.random()),o=l(e.provider,e.hl,r),i=document.createElement("script");window[r]=function(){delete window[r],n(null,i)},i.src=o,i.async=!0,t.appendChild(i)},t.prototype.componentWillUnmount=function(){this.scriptNode&&document.body.removeChild(this.scriptNode)},t.prototype.componentDidMount=function(){var e=this;t.loadScript(this.props,document.body,(function(t,n){e.scriptNode=n;var r=u(e.props.provider);e.widgetId=r.render(e.ref.current,{callback:e.changeHandler,"expired-callback":e.expiredHandler,"error-callback":e.erroredHandler,sitekey:e.props.sitekey})}))},t.prototype.reset=function(){u(this.props.provider).reset(this.widgetId)},t.prototype.render=function(){var e=setInterval((function(){var t=Array.from(document.querySelectorAll('iframe[src*="recaptcha"]')).map((function(e){return e.parentNode.parentNode})).filter((function(e){return e&&e.parentNode===document.body&&"block"!==e.style.display}));0!==t.length&&(t.forEach((function(e){e.style.display="block"})),clearInterval(e))}),300);return o.default.createElement("div",{className:this.props.isValid?"auth0-lock-recaptcha-block":"auth0-lock-recaptcha-block auth0-lock-recaptcha-block-error"},o.default.createElement("div",{className:"auth0-lock-recaptchav2",ref:this.ref}))},t.getDerivedStateFromProps=function(e,t){return e.value!==t.value?{value:e.value}:null},t.prototype.componentDidUpdate=function(e,t){e.value!==this.props.value&&""===this.props.value&&this.reset()},t}(o.default.Component);c.displayName="ReCAPTCHA",c.propTypes={provider:i.default.string.isRequired,sitekey:i.default.string.isRequired,onChange:i.default.func,onExpired:i.default.func,onErrored:i.default.func,hl:i.default.string,value:i.default.string,isValid:i.default.bool},c.defaultProps={onChange:s,onExpired:s,onErrored:s}},function(e,t,n){"use strict";t.__esModule=!0,t.createRef=function(){return function e(t){e.current=t}}},function(e,t,n){"use strict";t.__esModule=!0;var r=s(n(2)),o=s(n(0)),i=n(175),a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(12));function s(e){return e&&e.__esModule?e:{default:e}}var u=function(e){var t=e.lock,n=e.backHandler,r=e.children,s=e.closeHandler,u=e.svg;return o.default.createElement("div",{className:"auth0-lock-confirmation"},s&&o.default.createElement(i.CloseButton,{lockId:a.id(t),onClick:s}),n&&o.default.createElement(i.BackButton,{lockId:a.id(t),onClick:n}),o.default.createElement("div",{className:"auth0-lock-confirmation-content"},o.default.createElement("span",null,u),r))};u.propTypes={backHandler:r.default.func,closeHandler:r.default.func,children:r.default.oneOfType([r.default.element.isRequired,r.default.arrayOf(r.default.element).isRequired]),svg:r.default.element.isRequired},t.default=u},function(e,t,n){"use strict";t.__esModule=!0;var r=N(n(0)),o=N(n(64)),i=n(49),a=n(111),s=n(176),u=n(83),l=n(585),c=n(26),f=n(252),d=n(70),p=w(n(12)),h=w(n(51)),g=N(n(586)),y=N(n(182)),m=N(n(253)),v=N(n(177)),b=N(n(346)),M=N(n(347));function w(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function N(e){return e&&e.__esModule?e:{default:e}}var j=function(e){var t=e.i18n,n=e.model,o=(0,s.isSSOEnabled)(n,{emailFirst:!0})&&(0,i.hasScreen)(n,"login"),a=o&&r.default.createElement(M.default,null,t.str("ssoEnabled")),u=!o&&(0,i.hasScreen)(n,"login")&&r.default.createElement(b.default,{key:"loginsignup",lock:n,loginLabel:t.str("loginLabel"),signUpLabel:t.str("signUpLabel")}),l=p.hasSomeConnections(n,"social")&&r.default.createElement(v.default,{instructions:t.html("socialSignUpInstructions"),labelFn:t.str,lock:n,signUp:!0}),c=l?"databaseAlternativeSignUpInstructions":"databaseSignUpInstructions",f=(p.hasSomeConnections(n,"database")||p.hasSomeConnections(n,"enterprise"))&&r.default.createElement(g.default,{emailInputPlaceholder:t.str("emailInputPlaceholder"),i18n:t,instructions:t.html(c),model:n,onlyEmail:o,passwordInputPlaceholder:t.str("passwordInputPlaceholder"),passwordStrengthMessages:t.group("passwordStrength"),usernameInputPlaceholder:t.str("usernameInputPlaceholder")}),d=l&&f&&r.default.createElement(y.default,null);return r.default.createElement("div",null,a,u,r.default.createElement("div",null,l,d,f))},S=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,e.call(this,"main.signUp"))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.submitButtonLabel=function(e){return h.str(e,["signUpSubmitLabel"])},t.prototype.submitHandler=function(e){if((0,s.hasOnlyClassicConnections)(e,"social"))return null;var t=(0,i.databaseUsernameValue)(e,{emailFirst:!0});return(0,d.isHRDDomain)(e,t)?function(e){return(0,f.startHRD)(e,t)}:(0,s.isSSOEnabled)(e,{emailFirst:!0})?f.logIn:a.signUp},t.prototype.isSubmitDisabled=function(e){return!(0,i.termsAccepted)(e)},t.prototype.renderAuxiliaryPane=function(e){return(0,u.renderSignedInConfirmation)(e)||(0,l.renderSignedUpConfirmation)(e)||(0,c.renderOptionSelection)(e)},t.prototype.renderTabs=function(){return!0},t.prototype.getScreenTitle=function(e){return h.str(e,"signUpTitle")||h.str(e,"signupTitle")},t.prototype.renderTerms=function(e,t){var n=(0,i.mustAcceptTerms)(e)?function(){return(0,a.toggleTermsAcceptance)(p.id(e))}:void 0;return t&&(0,i.showTerms)(e)?r.default.createElement(m.default,{showCheckbox:(0,i.mustAcceptTerms)(e),checkHandler:n,checked:(0,i.termsAccepted)(e)},t):null},t.prototype.render=function(){return j},t}(o.default);t.default=S},function(e,t,n){"use strict";t.__esModule=!0,t.renderSignedUpConfirmation=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.closeHandler=a.closeLock,t.key="auxiliarypane",t.lock=e,e.get("signedUp")&&!(0,u.shouldAutoLogin)(e)?o.default.createElement(h,t):null};var r=f(n(2)),o=f(n(0)),i=f(n(183)),a=n(77),s=c(n(12)),u=n(49),l=c(n(51));function c(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function f(e){return e&&e.__esModule?e:{default:e}}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var h=function(e){function t(){return d(this,t),p(this,e.apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.handleClose=function(){var e=this.props,t=e.closeHandler,n=e.lock;t(s.id(n))},t.prototype.render=function(){var e=this.props.lock,t=s.ui.closable(e)?this.handleClose.bind(this):void 0;return o.default.createElement(i.default,{lock:e,closeHandler:t},o.default.createElement("p",null,l.html(e,["success","signUp"])))},t}(o.default.Component);t.default=h,h.propTypes={closeHandler:r.default.func.isRequired,lock:r.default.object.isRequired}},function(e,t,n){"use strict";t.__esModule=!0;var r=d(n(0)),o=d(n(181)),i=d(n(250)),a=d(n(249)),s=d(n(587)),u=n(49),l=d(n(344)),c=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(12)),f=n(180);function d(e){return e&&e.__esModule?e:{default:e}}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var g=function(e){function t(){return p(this,t),h(this,e.apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.render=function(){var e=this.props,t=e.emailInputPlaceholder,n=e.instructions,d=e.i18n,p=e.model,h=e.onlyEmail,g=e.passwordInputPlaceholder,y=e.passwordStrengthMessages,m=e.usernameInputPlaceholder,v=n||null,b=v&&r.default.createElement("p",null,v),M=h||!(0,u.databaseConnectionRequiresUsername)(p)||(0,u.signUpHideUsernameField)(p)?null:r.default.createElement(a.default,{i18n:d,lock:p,placeholder:m,validateFormat:!0,strictValidation:(0,u.signUpFieldsStrictValidation)(p)}),w=!h&&(0,u.additionalSignUpFields)(p).map((function(e){return r.default.createElement(s.default,{iconUrl:e.get("icon"),key:e.get("name"),model:p,name:e.get("name"),ariaLabel:e.get("ariaLabel"),options:e.get("options"),placeholder:e.get("placeholder"),placeholderHTML:e.get("placeholderHTML"),type:e.get("type"),validator:e.get("validator"),value:e.get("value")})})),N=c.captcha(p)&&c.captcha(p).get("required")?r.default.createElement(l.default,{i18n:d,lock:p,onReload:function(){return(0,f.swapCaptcha)(c.id(p),!1)}}):null,j=!h&&r.default.createElement(i.default,{i18n:d,lock:p,placeholder:g,policy:(0,u.passwordStrengthPolicy)(p),strengthMessages:y});return r.default.createElement("div",null,b,r.default.createElement(o.default,{i18n:d,lock:p,placeholder:t,strictValidation:(0,u.signUpFieldsStrictValidation)(p)}),M,j,N,w)},t}(r.default.Component);t.default=g},function(e,t,n){"use strict";t.__esModule=!0;var r=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},o=f(n(0)),i=n(237),a=n(26),s=f(n(336)),u=f(n(348)),l=f(n(588)),c=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(12));function f(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.iconUrl,n=e.model,f=e.name,d=e.ariaLabel,p=e.placeholder,h=e.placeholderHTML,g=e.type,y=e.validator,m=e.value,v={iconUrl:t,isValid:!(0,a.isFieldVisiblyInvalid)(n,f),name:f,ariaLabel:d,placeholder:p};switch(g){case"select":return o.default.createElement(u.default,r({},v,{lockId:c.id(n),label:(0,a.getFieldLabel)(n,f),onClick:function(){return(0,i.startOptionSelection)(c.id(n),f,t)}}));case"checkbox":return o.default.createElement(l.default,r({lockId:c.id(n),onChange:function(e){return(0,i.changeField)(c.id(n),f,""+e.target.checked,y)},checked:(0,a.getFieldValue)(n,f),placeholderHTML:h},v));case"hidden":return o.default.createElement("input",{id:c.id(n),type:"hidden",value:m,name:f});default:return o.default.createElement(s.default,r({lockId:c.id(n),invalidHint:(0,a.getFieldInvalidHint)(n,f),onChange:function(e){return(0,i.changeField)(c.id(n),f,e.target.value,y)},value:(0,a.getFieldValue)(n,f)},v))}}},function(e,t,n){"use strict";t.__esModule=!0;var r,o=n(0),i=(r=o)&&r.__esModule?r:{default:r};function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var u=function(e){function t(){return a(this,t),s(this,e.apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.render=function(){var e=this.props,t=e.lockId,n=e.name,r=e.ariaLabel,o=e.placeholder,a=e.checked,s=e.placeholderHTML;return i.default.createElement("div",{className:"auth0-lock-input-checkbox"},i.default.createElement("label",null,i.default.createElement("input",{id:t+"-"+n,type:"checkbox",checked:"true"===a,onChange:this.handleOnChange.bind(this),name:n,"aria-label":r||n}),s?i.default.createElement("span",{dangerouslySetInnerHTML:{__html:s}}):i.default.createElement("span",null,o)))},t.prototype.handleOnChange=function(e){this.props.onChange&&this.props.onChange(e)},t}(i.default.Component);t.default=u},function(e,t,n){"use strict";t.__esModule=!0;var r=c(n(0)),o=c(n(64)),i=c(n(590)),a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(51)),s=n(111),u=n(49),l=n(83);function c(e){return e&&e.__esModule?e:{default:e}}var f=function(e){var t=e.i18n,n=e.model;return r.default.createElement(i.default,{mfaInputPlaceholder:t.str("mfaInputPlaceholder"),i18n:t,instructions:t.str("mfaLoginInstructions"),lock:n,title:t.str("mfaLoginTitle")})},d=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,e.call(this,"mfa.mfaCode"))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.renderAuxiliaryPane=function(e){return(0,l.renderSignedInConfirmation)(e)},t.prototype.submitButtonLabel=function(e){return a.str(e,["mfaSubmitLabel"])},t.prototype.submitHandler=function(e){return function(e){return(0,s.logIn)(e,!0)}},t.prototype.render=function(){return f},t.prototype.backHandler=function(e){return(0,u.hasScreen)(e,"login")?s.cancelMFALogin:void 0},t}(o.default);t.default=d},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(2)),o=a(n(0)),i=a(n(591));function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var l=function(e){function t(){return s(this,t),u(this,e.apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.render=function(){var e=this.props,t=e.mfaInputPlaceholder,n=e.i18n,r=e.instructions,a=e.lock,s=e.title,u=r||null,l=u&&o.default.createElement("p",null,u),c=o.default.createElement(i.default,{i18n:n,lock:a,placeholder:t}),f=s&&o.default.createElement("h2",null,s);return o.default.createElement("div",null,f,l,c)},t}(o.default.Component);t.default=l,l.propTypes={mfaInputPlaceholder:r.default.string.isRequired,title:r.default.string.isRequired,i18n:r.default.object.isRequired,instructions:r.default.any,lock:r.default.object.isRequired}},function(e,t,n){"use strict";t.__esModule=!0;var r=f(n(2)),o=f(n(0)),i=f(n(592)),a=c(n(26)),s=n(35),u=c(n(12)),l=n(593);function c(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function f(e){return e&&e.__esModule?e:{default:e}}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var h=function(e){function t(){return d(this,t),p(this,e.apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.handleChange=function(e){var t=this.props.lock;(0,s.swap)(s.updateEntity,"lock",u.id(t),l.setMFACode,e.target.value)},t.prototype.render=function(){var e=this.props,t=e.i18n,n=e.lock,r=e.placeholder;return o.default.createElement(i.default,{lockId:u.id(n),value:a.getFieldValue(n,"mfa_code"),invalidHint:t.str("mfaCodeErrorHint",(0,l.getMFACodeValidation)().length),isValid:!a.isFieldVisiblyInvalid(n,"mfa_code"),onChange:this.handleChange.bind(this),placeholder:r})},t}(o.default.Component);t.default=h,h.propTypes={i18n:r.default.object.isRequired,lock:r.default.object.isRequired,placeholder:r.default.string.isRequired}},function(e,t,n){"use strict";t.__esModule=!0;var r=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},o=u(n(2)),i=u(n(0)),a=u(n(91)),s=n(251);function u(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,e.call(this,n));return r.state={},r}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.focus=function(){this.refs.input&&this.refs.input.focus()},t.prototype.hasFocus=function(){return this.state.focused},t.prototype.render=function(){var e=this.props,t=e.lockId,n=e.invalidHint,o=e.isValid,u=(e.onChange,e.value),l=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["lockId","invalidHint","isValid","onChange","value"]),c=this.state.focused;return i.default.createElement(a.default,{focused:c,invalidHint:n,isValid:o,name:"mfa_code",icon:s.IconSvg},i.default.createElement("input",r({id:t+"-mfa_code",ref:"input",type:"text",name:"mfa_code",className:"auth0-lock-input",autoComplete:"off",autoCapitalize:"off",onChange:this.handleOnChange.bind(this),onFocus:this.handleFocus.bind(this),onBlur:this.handleBlur.bind(this),value:u,"aria-label":"Multi factor authentication code","aria-invalid":!o,"aria-describedby":!o&&n?"auth0-lock-error-msg-mfa_code":void 0},l)))},t.prototype.handleOnChange=function(e){this.props.onChange&&this.props.onChange(e)},t.prototype.handleFocus=function(){this.setState({focused:!0})},t.prototype.handleBlur=function(){this.setState({focused:!1})},t}(i.default.Component);l.propTypes={invalidHint:o.default.string.isRequired,isValid:o.default.bool.isRequired,onChange:o.default.func,placeholder:o.default.string,value:o.default.string.isRequired},t.default=l},function(e,t,n){"use strict";t.__esModule=!0,t.setMFACode=function(e,t){return(0,o.setField)(e,"mfa_code",t,l)},t.getMFACodeValidation=function(e){return s.mfa_code};var r,o=n(26),i=(n(90),n(49),n(110)),a=(r=i)&&r.__esModule?r:{default:r};var s={mfa_code:{length:6}},u=/^[0-9]+$/;function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s.mfa_code,n=(0,a.default)(e);if(n.length<t.length)return!1;if(n.length>t.length)return!1;var r=u.exec(n);return r&&r[0]}},function(e,t,n){"use strict";t.__esModule=!0;var r=m(n(0)),o=m(n(64)),i=m(n(595)),a=n(49),s=n(111),u=n(596),l=n(49),c=n(70),f=y(n(51)),d=y(n(12)),p=n(35),h=n(90),g=n(26);function y(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function m(e){return e&&e.__esModule?e:{default:e}}var v=function(e){var t=e.i18n,n=e.model,o=t.html("forgotPasswordInstructions")||null,a=o&&r.default.createElement("p",null,o);if(d.connectionResolver(n)){var s=(0,g.getField)(n,"username").get("value","");(0,p.swap)(p.updateEntity,"lock",d.id(n),h.setEmail,(0,h.isEmail)(s,!1)?s:"",!1)}return r.default.createElement(i.default,{emailInputPlaceholder:t.str("emailInputPlaceholder"),header:a,i18n:t,lock:n})},b=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,e.call(this,"forgotPassword"))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.backHandler=function(e){return(0,a.hasScreen)(e,"login")?s.cancelResetPassword:void 0},t.prototype.submitButtonLabel=function(e){return f.str(e,["forgotPasswordSubmitLabel"])},t.prototype.getScreenTitle=function(e){return f.str(e,"forgotPasswordTitle")},t.prototype.isSubmitDisabled=function(e){var t=(0,c.isEnterpriseDomain)(e,(0,l.databaseUsernameValue)(e,{emailFirst:!0}));return t?setTimeout((function(){(0,p.swap)(p.updateEntity,"lock",d.id(e),d.setGlobalError,f.str(e,["error","forgotPassword","enterprise_email"]))}),50):(0,p.swap)(p.updateEntity,"lock",d.id(e),d.clearGlobalError),t},t.prototype.submitHandler=function(){return s.resetPassword},t.prototype.renderAuxiliaryPane=function(e){return(0,u.renderPasswordResetConfirmation)(e)},t.prototype.render=function(){return v},t}(o.default);t.default=b},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(2)),o=a(n(0)),i=a(n(181));!function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);t.default=e}(n(12));function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var l=function(e){function t(){return s(this,t),u(this,e.apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.render=function(){var e=this.props,t=e.emailInputPlaceholder,n=e.header,r=e.i18n,a=e.lock;return o.default.createElement("div",null,n,o.default.createElement(i.default,{i18n:r,lock:a,placeholder:t,strictValidation:!1}))},t}(o.default.Component);l.propTypes={emailInputPlaceholder:r.default.string.isRequired,lock:r.default.object.isRequired},t.default=l},function(e,t,n){"use strict";t.__esModule=!0,t.renderPasswordResetConfirmation=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.closeHandler=a.closeLock,t.key="auxiliarypane",t.lock=e,e.get("passwordResetted")?o.default.createElement(p,t):null};var r=c(n(2)),o=c(n(0)),i=c(n(183)),a=n(77),s=l(n(12)),u=l(n(51));function l(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function c(e){return e&&e.__esModule?e:{default:e}}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var p=function(e){function t(){return f(this,t),d(this,e.apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.handleClose=function(){var e=this.props,t=e.closeHandler,n=e.lock;t(s.id(n))},t.prototype.render=function(){var e=this.props.lock,t=s.ui.closable(e)?this.handleClose.bind(this):void 0;return o.default.createElement(i.default,{lock:e,closeHandler:t},o.default.createElement("p",null,u.html(this.props.lock,["success","forgotPassword"])))},t}(o.default.Component);t.default=p,p.propTypes={closeHandler:r.default.func.isRequired,lock:r.default.object.isRequired}},function(e,t,n){"use strict";t.__esModule=!0;var r=c(n(0)),o=c(n(64)),i=c(n(255)),a=n(178),s=n(83),u=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(12)),l=n(70);function c(e){return e&&e.__esModule?e:{default:e}}var f=function(e){var t=e.i18n,n=e.model,o=t.html("windowsAuthInstructions")||null,s=o&&r.default.createElement("p",null,o);return r.default.createElement(i.default,{alternativeLabel:t.str("notYourAccountAction"),alternativeClickHandler:function(){return(0,a.skipQuickAuth)(u.id(n))},buttonLabel:t.str("windowsAuthLabel"),buttonClickHandler:function(e){return(0,a.logIn)(u.id(n),(0,l.corpNetworkConnection)(n))},header:s,strategy:"windows"})},d=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,e.call(this,"kerberos"))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.renderAuxiliaryPane=function(e){return(0,s.renderSignedInConfirmation)(e)},t.prototype.render=function(){return f},t}(o.default);t.default=d},function(e,t,n){"use strict";t.__esModule=!0;var r=c(n(0)),o=c(n(64)),i=n(83),a=c(n(599)),s=n(252),u=n(70),l=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(51));function c(e){return e&&e.__esModule?e:{default:e}}var f=function(e){var t,n=e.i18n,o=e.model,i=(0,u.enterpriseDomain)(o),s=(t=(t=null!==i?n.str("enterpriseActiveLoginInstructions",i):n.str("enterpriseLoginIntructions"))||null)&&r.default.createElement("p",null,t);return r.default.createElement(a.default,{header:s,i18n:n,model:o,passwordInputPlaceholder:n.str("passwordInputPlaceholder"),usernameInputPlaceholder:n.str("usernameInputPlaceholder")})},d=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,e.call(this,"hrd"))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.backHandler=function(e){return(0,u.isSingleHRDConnection)(e)?null:s.cancelHRD},t.prototype.submitButtonLabel=function(e){return l.str(e,["loginSubmitLabel"])},t.prototype.submitHandler=function(e){return s.logIn},t.prototype.renderAuxiliaryPane=function(e){return(0,i.renderSignedInConfirmation)(e)},t.prototype.render=function(){return f},t}(o.default);t.default=d},function(e,t,n){"use strict";t.__esModule=!0;var r=s(n(2)),o=s(n(0)),i=s(n(249)),a=s(n(250));!function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);t.default=e}(n(12));function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var c=function(e){function t(){return u(this,t),l(this,e.apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.render=function(){var e=this.props,t=e.header,n=e.i18n,r=e.model,s=e.passwordInputPlaceholder,u=e.usernameInputPlaceholder;return o.default.createElement("div",null,t,o.default.createElement(i.default,{i18n:n,lock:r,placeholder:u,validateFormat:!1,strictValidation:!1}),o.default.createElement(a.default,{i18n:n,lock:r,placeholder:s}))},t}(o.default.Component);t.default=c,c.propTypes={header:r.default.string,i18n:r.default.object.isRequired,model:r.default.object.isRequired,passwordInputPlaceholder:r.default.string.isRequired,usernameInputPlaceholder:r.default.string.isRequired}},function(e,t,n){"use strict";t.__esModule=!0;var r=f(n(0)),o=f(n(64)),i=f(n(255)),a=n(178),s=n(83),u=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(12)),l=n(70),c=n(179);function f(e){return e&&e.__esModule?e:{default:e}}var d=function(e){var t,n=e.i18n,o=e.model,s=n.html("enterpriseLoginIntructions")||null,f=s&&r.default.createElement("p",null,s),d=(0,c.authButtonsTheme)(o),p=(0,l.quickAuthConnection)(o),h=p.getIn(["name"]),g=p.getIn(["domains",0]),y=p.getIn(["displayName"])||null,m=u.ui.preferConnectionDisplayName(o),v=d.get(p.get("name")),b=v&&v.get("displayName")||m&&y&&n.str("loginAtLabel",y)||g&&n.str("loginAtLabel",g)||n.str("loginAtLabel",h),M=v&&v.get("primaryColor"),w=v&&v.get("foregroundColor"),N=v&&v.get("icon");return r.default.createElement(i.default,{buttonLabel:b,buttonClickHandler:function(e){return(0,a.logIn)(u.id(o),(0,l.quickAuthConnection)(o))},header:f,buttonIcon:N,primaryColor:M,foregroundColor:w,strategy:(t=(0,l.quickAuthConnection)(o).get("strategy"),"google-apps"===t?t:~["adfs","office365","waad"].indexOf(t)?"windows":"auth0")})},p=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,e.call(this,"enterpriseQuickAuth"))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.renderAuxiliaryPane=function(e){return(0,s.renderSignedInConfirmation)(e)},t.prototype.render=function(){return d},t}(o.default);t.default=p},function(e,t,n){"use strict";t.__esModule=!0;var r=s(n(2)),o=s(n(0)),i=s(n(15)),a=n(175);function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(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 c(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 f=function(e){function t(){return u(this,t),l(this,e.apply(this,arguments))}return c(t,e),t.prototype.getDOMNode=function(){return i.default.findDOMNode(this)},t.prototype.render=function(){var e=this.props,t=e.backHandler,n=e.backgroundColor,r=e.backgroundUrl,i=e.logoUrl,s=e.name,u=e.title;return o.default.createElement("div",{className:"auth0-lock-header"},t&&o.default.createElement(a.BackButton,{onClick:t}),o.default.createElement(g,{imageUrl:r,backgroundColor:n,grayScale:!!s}),o.default.createElement(d,{title:u,name:s,imageUrl:s?void 0:i}))},t}(o.default.Component);t.default=f,f.propTypes={backgroundUrl:r.default.string,logoUrl:r.default.string,name:r.default.string};var d=function(e){function t(){var n,r;u(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=l(this,e.call.apply(e,[this].concat(i))),r.onImageLoad=function(){return document.querySelector(".auth0-lock").style.fontSize="1rem"},l(r,n)}return c(t,e),t.prototype.render=function(){var e=this.props,t=e.name,n=e.imageUrl,r=e.title,i=r?"auth0-lock-header-logo":"auth0-lock-header-logo centered",a=o.default.createElement("img",{alt:"",className:i,src:n,onLoad:this.onImageLoad}),s=r?o.default.createElement(p,{title:r,name:t}):null;return o.default.createElement("div",{className:"auth0-lock-header-welcome"},n&&a,s)},t}(o.default.Component);d.propTypes={imageUrl:r.default.string,name:r.default.string};var p=function(e){function t(){return u(this,t),l(this,e.apply(this,arguments))}return c(t,e),t.prototype.render=function(){var e=this.props,t=e.name,n=e.title,r=void 0,i=void 0;return t?(r="auth0-lock-firstname",i=t):(r="auth0-lock-name",i=n),o.default.createElement("div",{className:r,title:i},i)},t}(o.default.Component);p.propTypes={name:r.default.string};var h=function(){if("undefined"!==typeof window){var e=window.navigator&&!!window.navigator.userAgent.match(/Edge/i);if("undefined"===typeof window.document||e)return!1;var t=window.document.createElement("div");return t.style.cssText="filter: blur(2px); -webkit-filter: blur(2px)",!!t.style.length&&(void 0===window.document.documentMode||window.document.documentMode>9)}}(),g=function(e){function t(){return u(this,t),l(this,e.apply(this,arguments))}return c(t,e),t.prototype.render=function(){var e=this.props,t=e.backgroundColor,n=e.imageUrl,r=e.grayScale,i={className:"auth0-lock-header-bg"};h&&(i.className+=" auth0-lock-blur-support");var a={className:"auth0-lock-header-bg-blur",style:{backgroundImage:"url('"+n+"')"}};r&&(a.className+=" auth0-lock-no-grayscale");var s={className:"auth0-lock-header-bg-solid",style:{backgroundColor:t}};return o.default.createElement("div",i,o.default.createElement("div",a),o.default.createElement("div",s))},t}(o.default.Component);g.propTypes={backgorundColor:r.default.string,grayScale:r.default.bool,imageUrl:r.default.string}},function(e,t,n){"use strict";t.__esModule=!0,t.initSanitizer=function(){(0,r.addHook)("afterSanitizeAttributes",(function(e){"target"in e&&(e.setAttribute("target","_blank"),e.setAttribute("rel","noopener noreferrer")),e.hasAttribute("target")||!e.hasAttribute("xlink:href")&&!e.hasAttribute("href")||e.setAttribute("xlink:show","new")}))};var r=n(211)},function(e,t,n){"use strict";t.__esModule=!0,t.random=function(){return(+new Date+Math.floor(1e7*Math.random())).toString(36)},t.incremental=function(){return r++};var r=1},function(e,t,n){"use strict";t.__esModule=!0;var r=n(326),o=a(r),i=a(n(605));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(e){function t(n,o,a){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var s=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,e.call(this,n,o,a,i.default));return(0,r.injectStyles)(),(0,r.setWindowHeightStyle)(),window.addEventListener("resize",(function(){(0,r.setWindowHeightStyle)()})),s}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(o.default);t.default=s,s.version="11.31.1"},function(e,t,n){"use strict";t.__esModule=!0;n(35);var r=m(n(350)),o=m(n(349)),i=m(n(606)),a=m(n(609)),s=m(n(612)),u=m(n(351)),l=n(127),c=n(109),f=y(n(12)),d=n(242),p=y(n(254)),h=n(90),g=n(151);function y(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function m(e){return e&&e.__esModule?e:{default:e}}var v=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return e.prototype.didInitialize=function(e,t){return e=(0,l.initPasswordless)(e,t)},e.prototype.didReceiveClientSettings=function(e){var t=f.hasSomeConnections(e,"social"),n=f.hasSomeConnections(e,"passwordless");if(!t&&!n){var r=new Error("At least one email, sms or social connection needs to be available.");r.code="no_connection",e=f.stop(e,r)}return e=function(e){var t=f.prefill(e).toJS(),n=t.email,r=t.phoneNumber;return"string"===typeof n&&(e=(0,h.setEmail)(e,n)),"string"===typeof r&&(e=(0,g.setPhoneNumber)(e,r)),e}(e)},e.prototype.render=function(e){if(f.hasStopped(e))return new r.default;if(!(0,c.isDone)(e)||e.get("isLoadingPanePinned"))return new o.default;if(!(0,d.hasSkippedQuickAuth)(e)&&f.ui.rememberLastLogin(e)){var t=p.lastUsedConnection(e);p.lastUsedUsername(e);if(t&&(0,c.isSuccess)(e,"sso")&&f.hasConnection(e,t.get("name"))&&["passwordless","social"].indexOf(f.findConnection(e,t.get("name")).get("type"))>=0){var n=f.findConnection(e,t.get("name")).get("type");if("passwordless"===n||"social"===n)return new u.default}}return(0,l.isEmail)(e)?(0,l.isSendLink)(e)||!(0,l.passwordlessStarted)(e)?new i.default:new s.default:(0,l.passwordlessStarted)(e)?new s.default:new a.default},e}();t.default=new v},function(e,t,n){"use strict";t.__esModule=!0;var r=h(n(0)),o=h(n(64)),i=h(n(181)),a=h(n(177)),s=h(n(182)),u=n(127),l=n(184),c=n(608),f=n(83),d=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(12)),p=h(n(253));function h(e){return e&&e.__esModule?e:{default:e}}var g=function(e){var t=e.i18n,n=e.model,o=d.hasSomeConnections(n,"social")?r.default.createElement(a.default,{instructions:t.html("socialLoginInstructions"),labelFn:t.str,lock:n,signUp:!0}):null,u=d.hasSomeConnections(n,"passwordless","email")?r.default.createElement(i.default,{i18n:t,lock:n,placeholder:t.str("emailInputPlaceholder"),strictValidation:!1}):null,l=o?"passwordlessEmailAlternativeInstructions":"passwordlessEmailInstructions",c=t.html(l)||null,f=u&&c&&r.default.createElement("p",null,c),p=o&&u?r.default.createElement(s.default,null):null;return r.default.createElement("div",null,o,p,f,u)},y=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,e.call(this,"socialOrEmail"))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.submitHandler=function(e){return d.hasSomeConnections(e,"passwordless","email")?l.requestPasswordlessEmail:null},t.prototype.renderAuxiliaryPane=function(e){return(0,c.renderEmailSentConfirmation)(e)||(0,f.renderSignedInConfirmation)(e)},t.prototype.render=function(){return g},t.prototype.isSubmitDisabled=function(e){return!(0,u.termsAccepted)(e)},t.prototype.renderTerms=function(e,t){var n=(0,u.mustAcceptTerms)(e)?function(){return(0,l.toggleTermsAcceptance)(d.id(e))}:void 0;return t&&(0,u.showTerms)(e)?r.default.createElement(p.default,{showCheckbox:(0,u.mustAcceptTerms)(e),checkHandler:n,checked:(0,u.termsAccepted)(e)},t):null},t}(o.default);t.default=y},function(e,t,n){"use strict";t.__esModule=!0,t.default=[["Afghanistan","AF","+93"],["Albania","AL","+355"],["Algeria","DZ","+213"],["American Samoa","AS","+1684"],["Andorra","AD","+376"],["Angola","AO","+244"],["Anguilla","AI","+1264"],["Antarctica","AQ","+672"],["Antigua and Barbuda","AG","+1268"],["Argentina","AR","+54 9"],["Armenia","AM","+374"],["Aruba","AW","+297"],["Australia","AU","+61"],["Austria","AT","+43"],["Azerbaijan","AZ","+994"],["Bahamas","BS","+1242"],["Bahrain","BH","+973"],["Bangladesh","BD","+880"],["Barbados","BB","+1246"],["Belarus","BY","+375"],["Belgium","BE","+32"],["Belize","BZ","+501"],["Benin","BJ","+229"],["Bermuda","BM","+1441"],["Bhutan","BT","+975"],["Bolivia, Plurinational State of","BO","+591"],["Bonaire, Sint Eustatius and Saba","BQ","+599"],["Bosnia and Herzegovina","BA","+387"],["Botswana","BW","+267"],["Bouvet Island","BV","+47"],["Brazil","BR","+55"],["British Indian Ocean Territory","IO","+246"],["Brunei Darussalam","BN","+673"],["Bulgaria","BG","+359"],["Burkina Faso","BF","+226"],["Burundi","BI","+257"],["Cambodia","KH","+855"],["Cameroon","CM","+237"],["Canada","CA","+1"],["Cape Verde","CV","+238"],["Cayman Islands","KY","+1345"],["Central African Republic","CF","+236"],["Chad","TD","+235"],["Chile","CL","+56"],["China","CN","+86"],["Christmas Island","CX","+61"],["Cocos (Keeling) Islands","CC","+61"],["Colombia","CO","+57"],["Comoros","KM","+269"],["Congo","CG","+242"],["Congo, the Democratic Republic of the","CD","+243"],["Cook Islands","CK","+682"],["Costa Rica","CR","+506"],["Croatia","HR","+385"],["Cuba","CU","+53"],["Cura\xe7ao","CW","+599"],["Cyprus","CY","+357"],["Czech Republic","CZ","+420"],["C\xf4te d'Ivoire","CI","+225"],["Denmark","DK","+45"],["Djibouti","DJ","+253"],["Dominica","DM","+1767"],["Dominican Republic","DO","+1809"],["Dominican Republic","DO","+1829"],["Dominican Republic","DO","+1849"],["Ecuador","EC","+593"],["Egypt","EG","+20"],["El Salvador","SV","+503"],["Equatorial Guinea","GQ","+240"],["Eritrea","ER","+291"],["Estonia","EE","+372"],["Ethiopia","ET","+251"],["Falkland Islands (Malvinas)","FK","+500"],["Faroe Islands","FO","+298"],["Fiji","FJ","+679"],["Finland","FI","+358"],["France","FR","+33"],["French Guiana","GF","+594"],["French Polynesia","PF","+689"],["French Southern Territories","TF","+262"],["Gabon","GA","+241"],["Gambia","GM","+220"],["Georgia","GE","+995"],["Germany","DE","+49"],["Ghana","GH","+233"],["Gibraltar","GI","+350"],["Greece","GR","+30"],["Greenland","GL","+299"],["Grenada","GD","+1473"],["Guadeloupe","GP","+590"],["Guam","GU","+1671"],["Guatemala","GT","+502"],["Guernsey","GG","+44"],["Guinea","GN","+224"],["Guinea-Bissau","GW","+245"],["Guyana","GY","+592"],["Haiti","HT","+509"],["Heard Island and McDonald Mcdonald Islands","HM","+672"],["Holy See (Vatican City State)","VA","+3906"],["Honduras","HN","+504"],["Hong Kong","HK","+852"],["Hungary","HU","+36"],["Iceland","IS","+354"],["India","IN","+91"],["Indonesia","ID","+62"],["Iran, Islamic Republic of","IR","+98"],["Iraq","IQ","+964"],["Ireland","IE","+353"],["Isle of Man","IM","+44"],["Israel","IL","+972"],["Italy","IT","+39"],["Jamaica","JM","+1876"],["Japan","JP","+81"],["Jersey","JE","+44"],["Jordan","JO","+962"],["Kazakhstan","KZ","+7"],["Kenya","KE","+254"],["Kiribati","KI","+686"],["Korea, Democratic People's Republic of","KP","+850"],["Korea, Republic of","KR","+82"],["Kuwait","KW","+965"],["Kyrgyzstan","KG","+996"],["Lao People's Democratic Republic","LA","+856"],["Latvia","LV","+371"],["Lebanon","LB","+961"],["Lesotho","LS","+266"],["Liberia","LR","+231"],["Libya","LY","+218"],["Liechtenstein","LI","+423"],["Lithuania","LT","+370"],["Luxembourg","LU","+352"],["Macao","MO","+853"],["Macedonia, the Former Yugoslav Republic of","MK","+389"],["Madagascar","MG","+261"],["Malawi","MW","+265"],["Malaysia","MY","+60"],["Maldives","MV","+960"],["Mali","ML","+223"],["Malta","MT","+356"],["Marshall Islands","MH","+692"],["Martinique","MQ","+596"],["Mauritania","MR","+222"],["Mauritius","MU","+230"],["Mayotte","YT","+262"],["Mexico","MX","+52"],["Micronesia, Federated States of","FM","+691"],["Moldova, Republic of","MD","+373"],["Monaco","MC","+377"],["Mongolia","MN","+976"],["Montenegro","ME","+382"],["Montserrat","MS","+1664"],["Morocco","MA","+212"],["Mozambique","MZ","+258"],["Myanmar","MM","+95"],["Namibia","NA","+264"],["Nauru","NR","+674"],["Nepal","NP","+977"],["Netherlands","NL","+31"],["New Caledonia","NC","+687"],["New Zealand","NZ","+64"],["Nicaragua","NI","+505"],["Niger","NE","+227"],["Nigeria","NG","+234"],["Niue","NU","+683"],["Norfolk Island","NF","+672"],["Northern Mariana Islands","MP","+1670"],["Norway","NO","+47"],["Oman","OM","+968"],["Pakistan","PK","+92"],["Palau","PW","+680"],["Palestine, State of","PS","+970"],["Panama","PA","+507"],["Papua New Guinea","PG","+675"],["Paraguay","PY","+595"],["Peru","PE","+51"],["Philippines","PH","+63"],["Pitcairn","PN","+870"],["Poland","PL","+48"],["Portugal","PT","+351"],["Puerto Rico","PR","+1"],["Qatar","QA","+974"],["Romania","RO","+40"],["Russian Federation","RU","+7"],["Rwanda","RW","+250"],["R\xe9union","RE","+262"],["Saint Barth\xe9lemy","BL","+590"],["Saint Helena, Ascension and Tristan da Cunha","SH","+290"],["Saint Kitts and Nevis","KN","+1869"],["Saint Lucia","LC","+1758"],["Saint Martin (French part)","MF","+590"],["Saint Pierre and Miquelon","PM","+508"],["Saint Vincent and the Grenadines","VC","+1784"],["Samoa","WS","+685"],["San Marino","SM","+378"],["Sao Tome and Principe","ST","+239"],["Saudi Arabia","SA","+966"],["Senegal","SN","+221"],["Serbia","RS","+381"],["Seychelles","SC","+248"],["Sierra Leone","SL","+232"],["Singapore","SG","+65"],["Sint Maarten (Dutch part)","SX","+1721"],["Slovakia","SK","+421"],["Slovenia","SI","+386"],["Solomon Islands","SB","+677"],["Somalia","SO","+252"],["South Africa","ZA","+27"],["South Georgia and the South Sandwich Islands","GS","+500"],["South Sudan","SS","+211"],["Spain","ES","+34"],["Sri Lanka","LK","+94"],["Sudan","SD","+249"],["Suriname","SR","+597"],["Svalbard and Jan Mayen","SJ","+47"],["Swaziland","SZ","+268"],["Sweden","SE","+46"],["Switzerland","CH","+41"],["Syrian Arab Republic","SY","+963"],["Taiwan, Province of China","TW","+886"],["Tajikistan","TJ","+992"],["Tanzania, United Republic of","TZ","+255"],["Thailand","TH","+66"],["Timor-Leste","TL","+670"],["Togo","TG","+228"],["Tokelau","TK","+690"],["Tonga","TO","+676"],["Trinidad and Tobago","TT","+1868"],["Tunisia","TN","+216"],["Turkey","TR","+90"],["Turkmenistan","TM","+993"],["Turks and Caicos Islands","TC","+1649"],["Tuvalu","TV","+688"],["Uganda","UG","+256"],["Ukraine","UA","+380"],["United Arab Emirates","AE","+971"],["United Kingdom","GB","+44"],["United States","US","+1"],["Uruguay","UY","+598"],["Uzbekistan","UZ","+998"],["Vanuatu","VU","+678"],["Venezuela, Bolivarian Republic of","VE","+58"],["Viet Nam","VN","+84"],["Virgin Islands, British","VG","+1284"],["Virgin Islands, U.S.","VI","+1340"],["Wallis and Futuna","WF","+681"],["Western Sahara","EH","+212"],["Yemen","YE","+967"],["Zambia","ZM","+260"],["Zimbabwe","ZW","+263"],["\xc5land Islands","AX","+358"]]},function(e,t,n){"use strict";t.__esModule=!0,t.renderEmailSentConfirmation=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.key="auxiliarypane",t.lock=e,l.passwordlessStarted(e)?r.default.createElement(b,t):null};var r=d(n(0)),o=d(n(183)),i=n(77),a=f(n(12)),s=f(n(26)),u=n(184),l=f(n(127)),c=f(n(51));function f(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function d(e){return e&&e.__esModule?e:{default:e}}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(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 g(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 y=r.default.createElement("svg",{focusable:"false",height:"32px",style:{enableBackground:"new 0 0 32 32"},version:"1.1",viewBox:"0 0 32 32",width:"32px",xmlSpace:"preserve",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"}," ",r.default.createElement("path",{d:"M27.877,19.662c0.385-1.23,0.607-2.531,0.607-3.884c0-7.222-5.83-13.101-13.029-13.194v4.238    c4.863,0.093,8.793,4.071,8.793,8.956c0,0.678-0.088,1.332-0.232,1.966l-3.963-1.966l2.76,8.199l8.197-2.762L27.877,19.662z"}),r.default.createElement("path",{d:"M7.752,16.222c0-0.678,0.088-1.332,0.232-1.967l3.963,1.967l-2.76-8.199L0.99,10.785l3.133,1.553    c-0.384,1.23-0.607,2.531-0.607,3.885c0,7.223,5.83,13.1,13.03,13.194v-4.238C11.682,25.086,7.752,21.107,7.752,16.222z"})),m=function(e){function t(){return p(this,t),h(this,e.apply(this,arguments))}return g(t,e),t.prototype.render=function(){var e=this.props,t=e.label,n=e.onClick;return r.default.createElement("a",{className:"auth0-lock-resend-link",href:"#",onClick:n},t," ",r.default.createElement("span",null,y))},t}(r.default.Component),v=function(e){function t(){var n,r;p(this,t);for(var o=arguments.length,i=Array(o),s=0;s<o;s++)i[s]=arguments[s];return n=r=h(this,e.call.apply(e,[this].concat(i))),r.handleClick=function(e){e.preventDefault(),(0,u.resendEmail)(a.id(r.props.lock))},h(r,n)}return g(t,e),t.prototype.render=function(){var e=this.props,t=e.labels,n=e.lock,o=l.resendAvailable(n)&&r.default.createElement(m,{onClick:this.handleClick,label:l.resendFailed(n)?t.retry:t.resend}),i=l.resendOngoing(n)&&r.default.createElement("a",{className:"auth0-lock-resend-link"},t.resending),a=l.resendSuccess(n)&&r.default.createElement("span",{className:"auth0-lock-sent-label"},t.sent),s=l.resendFailed(n)&&r.default.createElement("span",{className:"auth0-lock-sent-failed-label"},t.failed);return r.default.createElement("span",null,o,i,a,s)},t}(r.default.Component),b=function(e){function t(){return p(this,t),h(this,e.apply(this,arguments))}return g(t,e),t.prototype.render=function(){var e=this,t=this.props.lock,n=a.ui.closable(t)?this.handleClose:void 0,i={failed:c.str(t,"failedLabel"),resend:c.str(t,"resendLabel"),resending:c.str(t,"resendingLabel"),retry:c.str(t,"retryLabel"),sent:c.str(t,"sentLabel")};return r.default.createElement(o.default,{lock:t,backHandler:function(){return e.handleBack()},closeHandler:function(){return n()}},r.default.createElement("p",null,c.html(t,["success","magicLink"],s.email(t))),r.default.createElement(v,{labels:i,lock:t}))},t.prototype.handleBack=function(){(0,u.restart)(a.id(this.props.lock))},t.prototype.handleClose=function(){(0,i.closeLock)(a.id(this.props.lock))},t}(r.default.Component);t.default=b},function(e,t,n){"use strict";t.__esModule=!0;var r=h(n(0)),o=h(n(64)),i=n(184),a=h(n(610)),s=h(n(177)),u=n(83),l=h(n(182)),c=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(12)),f=n(26),d=n(127),p=h(n(253));function h(e){return e&&e.__esModule?e:{default:e}}var g=function(e){var t=e.i18n,n=e.model,o=c.hasSomeConnections(n,"social")?r.default.createElement(s.default,{instructions:t.html("socialLoginInstructions"),labelFn:t.str,lock:n,signUp:!0}):null,i=o?"passwordlessSMSAlternativeInstructions":"passwordlessSMSInstructions",u=c.hasSomeConnections(n,"passwordless","sms")?r.default.createElement(a.default,{instructions:t.html(i),lock:n,placeholder:t.str("phoneNumberInputPlaceholder"),invalidHint:t.str("phoneNumberInputInvalidHint")}):null,f=o&&u?r.default.createElement(l.default,null):null;return r.default.createElement("div",null,o,f,u)},y=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,e.call(this,"socialOrPhoneNumber"))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.submitHandler=function(e){return c.hasSomeConnections(e,"passwordless","sms")?i.sendSMS:null},t.prototype.renderAuxiliaryPane=function(e){return(0,u.renderSignedInConfirmation)(e)||(0,f.renderOptionSelection)(e)},t.prototype.render=function(){return g},t.prototype.isSubmitDisabled=function(e){return!(0,d.termsAccepted)(e)},t.prototype.renderTerms=function(e,t){var n=(0,d.mustAcceptTerms)(e)?function(){return(0,i.toggleTermsAcceptance)(c.id(e))}:void 0;return t&&(0,d.showTerms)(e)?r.default.createElement(p.default,{showCheckbox:(0,d.mustAcceptTerms)(e),checkHandler:n,checked:(0,d.termsAccepted)(e)},t):null},t}(o.default);t.default=y},function(e,t,n){"use strict";t.__esModule=!0,t.IconSvg=void 0;var r=p(n(2)),o=p(n(0)),i=p(n(611)),a=p(n(348)),s=n(237),u=d(n(26)),l=d(n(12)),c=n(35),f=n(151);function d(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function p(e){return e&&e.__esModule?e:{default:e}}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var y=t.IconSvg=o.default.createElement("svg",{focusable:"false",width:"14px",height:"14px",viewBox:"0 0 14 14",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",className:"auth0-lock-icon auth0-lock-icon-box auth0-lock-icon-location"},o.default.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},o.default.createElement("g",{id:"Lock",transform:"translate(-201.000000, -3519.000000)",fill:"#919191"},o.default.createElement("g",{id:"SMS",transform:"translate(153.000000, 3207.000000)"},o.default.createElement("g",{transform:"translate(35.000000, 299.000000)"},o.default.createElement("path",{id:"Fill-349-Copy",d:"M22.4023125,22.8 C22.543625,21.9425 22.625,20.9975 22.625,20 L26.125,20 C26.125,21.316875 25.69275,22.52 24.9853125,23.5175 C24.3255625,23.2025 23.4383125,22.953125 22.4023125,22.8 L22.4023125,22.8 Z M21.372875,25.954375 C21.72725,25.3725 22.0234375,24.5675 22.2404375,23.6225 C22.8975625,23.696875 23.483375,23.80625 23.9624375,23.9375 L24.67075,23.9375 C23.829875,24.92625 22.6849375,25.6525 21.372875,25.954375 L21.372875,25.954375 Z M20,26.125 C19.412875,26.125 18.896625,25.105625 18.579,23.5525 C19.034,23.521875 19.503875,23.5 20,23.5 C20.4956875,23.5 20.966,23.521875 21.421,23.5525 C21.1029375,25.105625 20.5866875,26.125 20,26.125 L20,26.125 Z M15.3288125,23.9375 L16.0375625,23.9375 C16.5161875,23.80625 17.1024375,23.696875 17.759125,23.6225 C17.976125,24.5675 18.2723125,25.3725 18.6266875,25.954375 C17.3150625,25.6525 16.170125,24.92625 15.3288125,23.9375 L15.3288125,23.9375 Z M15.0146875,23.5175 C14.3068125,22.52 13.875,21.316875 13.875,20 L17.375,20 C17.375,20.9975 17.4559375,21.9425 17.59725,22.8 C16.56125,22.953125 15.6744375,23.2025 15.0146875,23.5175 L15.0146875,23.5175 Z M15.030875,16.45625 C15.6796875,16.78 16.5634375,17.03375 17.60075,17.195625 C17.501,17.799375 17.428375,18.4425 17.3964375,19.125 L13.951125,19.125 C14.0933125,18.13625 14.477,17.230625 15.030875,16.45625 L15.030875,16.45625 Z M18.6266875,14.04125 C18.27275,14.623125 17.977,15.42375 17.760875,16.373125 C17.1265,16.294375 16.558625,16.189375 16.0944375,16.0625 L15.34325,16.0625 C16.180625,15.069375 17.3168125,14.343125 18.6266875,14.04125 L18.6266875,14.04125 Z M20,13.875 C20.585375,13.875 21.0959375,14.894375 21.4118125,16.443125 C20.959875,16.478125 20.492625,16.5 20,16.5 C19.5069375,16.5 19.0396875,16.478125 18.58775,16.443125 C18.903625,14.894375 19.4141875,13.875 20,13.875 L20,13.875 Z M18.2749375,19.125 C18.3020625,18.473125 18.362,17.865 18.441625,17.29625 C18.9408125,17.344375 19.4596875,17.375 20,17.375 C20.5403125,17.375 21.0591875,17.344375 21.5579375,17.29625 C21.638,17.865 21.6979375,18.473125 21.724625,19.125 L18.2749375,19.125 L18.2749375,19.125 Z M21.75,20 C21.75,20.97125 21.6786875,21.88125 21.5631875,22.699375 C21.06225,22.65125 20.5420625,22.625 20,22.625 C19.4579375,22.625 18.9373125,22.65125 18.436375,22.699375 C18.320875,21.88125 18.25,20.97125 18.25,20 L21.75,20 L21.75,20 Z M24.6563125,16.0625 L23.905125,16.0625 C23.441375,16.189375 22.8730625,16.294375 22.2386875,16.373125 C22.0225625,15.42375 21.7268125,14.623125 21.372875,14.04125 C22.68275,14.343125 23.8189375,15.069375 24.6563125,16.0625 L24.6563125,16.0625 Z M24.9686875,16.45625 C25.5225625,17.230625 25.90625,18.13625 26.048875,19.125 L22.603125,19.125 C22.5711875,18.4425 22.499,17.799375 22.39925,17.195625 C23.4365625,17.03375 24.3203125,16.78 24.9686875,16.45625 L24.9686875,16.45625 Z M20,13 C16.1338125,13 13,16.1325 13,20 C13,23.863125 16.1338125,27 20,27 C23.86575,27 27,23.863125 27,20 C27,16.1325 23.86575,13 20,13 L20,13 Z"})))))),m=function(e){function t(){return h(this,t),g(this,e.apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.handlePhoneNumberChange=function(e){(0,c.swap)(c.updateEntity,"lock",l.id(this.props.lock),f.setPhoneNumber,e.target.value)},t.prototype.render=function(){var e=this.props,t=e.instructions,n=e.lock,r=e.placeholder,c=e.invalidHint,d=t||null,p=d&&o.default.createElement("p",null,d);return o.default.createElement("div",null,p,o.default.createElement(a.default,{icon:y,isValid:!u.isFieldVisiblyInvalid(n,"location"),name:"location",placeholder:"",label:(0,f.humanLocation)(n),onClick:function(){return(0,s.startOptionSelection)(l.id(n),"location","",y)}}),o.default.createElement(i.default,{value:u.phoneNumber(n),isValid:!u.isFieldVisiblyInvalid(n,"phoneNumber"),invalidHint:c,onChange:this.handlePhoneNumberChange.bind(this),placeholder:r,disabled:l.submitting(n)}))},t}(o.default.Component);t.default=m,m.propTypes={instructions:r.default.element,lock:r.default.object.isRequired,placeholder:r.default.string.isRequired,invalidHint:r.default.string}},function(e,t,n){"use strict";t.__esModule=!0;var r=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},o=a(n(0)),i=a(n(91));function a(e){return e&&e.__esModule?e:{default:e}}var s=o.default.createElement("svg",{"aria-hidden":"true",focusable:"false",width:"9px",height:"14px",viewBox:"0 0 9 14",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",className:"auth0-lock-icon auth0-lock-icon-mobile"},o.default.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},o.default.createElement("g",{id:"Lock",transform:"translate(-204.000000, -3459.000000)",fill:"#888888"},o.default.createElement("g",{id:"SMS",transform:"translate(153.000000, 3207.000000)"},o.default.createElement("g",{transform:"translate(35.000000, 239.000000)"},o.default.createElement("path",{d:"M24.1,15.625 L16.9,15.625 L16.9,14.75 C16.9,14.264375 17.30275,13.875 17.8,13.875 L23.2,13.875 C23.6968,13.875 24.1,14.264375 24.1,14.75 L24.1,15.625 L24.1,15.625 Z M16.9,16.5 L24.1,16.5 L24.1,21.75 L16.9,21.75 L16.9,16.5 Z M24.1,25.25 C24.1,25.73125 23.6968,26.125 23.2,26.125 L17.8,26.125 C17.30275,26.125 16.9,25.73125 16.9,25.25 L16.9,22.625 L24.1,22.625 L24.1,25.25 L24.1,25.25 Z M23.2,13 L17.8,13 C16.80595,13 16,13.783125 16,14.75 L16,25.25 C16,26.216875 16.80595,27 17.8,27 L23.2,27 C24.19405,27 25,26.216875 25,25.25 L25,14.75 C25,13.783125 24.19405,13 23.2,13 L23.2,13 Z M20.5,25.25 C20.9968,25.25 21.4,24.85625 21.4,24.375 C21.4,23.889375 20.9968,23.5 20.5,23.5 C20.00275,23.5 19.6,23.889375 19.6,24.375 C19.6,24.85625 20.00275,25.25 20.5,25.25 L20.5,25.25 Z"})))))),u=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,e.call(this,n));return r.state={},r}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.render=function(){var e=this.props,t=e.isValid,n=e.invalidHint,a=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["isValid","invalidHint"]),u=this.state.focused;return o.default.createElement(i.default,{focused:u,isValid:t,invalidHint:n,name:"phone-number",icon:s},o.default.createElement("input",r({ref:"input",type:"tel",name:"phoneNumber",className:"auth0-lock-input auth0-lock-input-number",autoComplete:"off",onFocus:this.handleFocus.bind(this),onBlur:this.handleBlur.bind(this),"aria-label":"Telephone number","aria-invalid":!t,"aria-describedby":!t&&n?"auth0-lock-error-msg-phone-number":void 0},a)))},t.prototype.focus=function(){this.refs.input&&(this.refs.input.focus(),this.handleFocus())},t.prototype.handleFocus=function(){this.setState({focused:!0})},t.prototype.handleBlur=function(){this.setState({focused:!1})},t}(o.default.Component);t.default=u},function(e,t,n){"use strict";t.__esModule=!0;var r=f(n(0)),o=f(n(64)),i=f(n(613)),a=n(127),s=n(184),u=n(83),l=n(26),c=n(151);function f(e){return e&&e.__esModule?e:{default:e}}var d=function(e){var t=e.i18n,n=e.model,o=(0,a.isEmail)(n)?t.str("passwordlessEmailCodeInstructions",(0,l.getFieldValue)(n,"email")):t.str("passwordlessSMSCodeInstructions",(0,c.humanPhoneNumberWithDiallingCode)(n));return r.default.createElement(i.default,{instructions:o,lock:n,placeholder:t.str("codeInputPlaceholder"),resendLabel:t.str("resendCodeAction"),onRestart:s.restart})},p=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,e.call(this,"vcode"))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.backHandler=function(){return s.restart},t.prototype.submitHandler=function(){return s.logIn},t.prototype.renderAuxiliaryPane=function(e){return(0,u.renderSignedInConfirmation)(e)},t.prototype.render=function(){return d},t}(o.default);t.default=p},function(e,t,n){"use strict";t.__esModule=!0;var r=d(n(2)),o=d(n(0)),i=d(n(614)),a=f(n(12)),s=f(n(26)),u=n(173),l=n(35),c=n(615);function f(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function d(e){return e&&e.__esModule?e:{default:e}}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var g=function(e){function t(){var n,r;p(this,t);for(var o=arguments.length,i=Array(o),s=0;s<o;s++)i[s]=arguments[s];return n=r=h(this,e.call.apply(e,[this].concat(i))),r.handleVcodeChange=function(e){e.preventDefault(),(0,l.swap)(l.updateEntity,"lock",a.id(r.props.lock),c.setVcode,e.target.value)},r.handleResendClick=function(e){e.preventDefault();var t=r.props,n=t.lock;(0,t.onRestart)(a.id(n))},h(r,n)}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.render=function(){var e=this.props,t=e.instructions,n=e.lock,r=e.placeholder,l=e.resendLabel,c=t||null,f=c&&o.default.createElement("p",null,c);return o.default.createElement("div",null,f,o.default.createElement(i.default,{lockId:a.id(n),value:s.vcode(n),isValid:!s.isFieldVisiblyInvalid(n,"vcode")&&!a.globalError(n),onChange:this.handleVcodeChange,autoFocus:!(0,u.isSmallScreen)(),placeholder:r,disabled:a.submitting(n)}),o.default.createElement("p",{className:"auth0-lock-alternative"},o.default.createElement("a",{className:"auth0-lock-alternative-link",href:"#",onClick:this.handleResendClick},l)))},t}(o.default.Component);t.default=g,g.propTypes={instructions:r.default.string,lock:r.default.object.isRequired,placeholder:r.default.string.isRequired,resendLabel:r.default.string.isRequired,onRestart:r.default.func.isRequired}},function(e,t,n){"use strict";t.__esModule=!0;var r=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},o=s(n(0)),i=s(n(91)),a=n(173);function s(e){return e&&e.__esModule?e:{default:e}}var u=o.default.createElement("svg",{"aria-hidden":"true",focusable:"false",width:"12px",height:"14px",viewBox:"0 0 12 14",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",className:"auth0-lock-icon auth0-lock-icon-box"},o.default.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},o.default.createElement("g",{transform:"translate(-964.000000, -3509.000000)",fill:"#888888"},o.default.createElement("g",{transform:"translate(915.000000, 3207.000000)"},o.default.createElement("g",{transform:"translate(35.000000, 289.000000)"},o.default.createElement("path",{id:"Fill-42",d:"M25.0523108,22.8115806 L20.455448,26.0692401 L20.455448,20.6336024 L25.0523108,17.6924012 L25.0523108,22.8115806 L25.0523108,22.8115806 Z M20.1658456,19.763342 C20.1060864,19.786611 20.050924,19.8145338 19.9957617,19.8471103 C19.9451962,19.8191876 19.8946307,19.786611 19.8394683,19.7679958 L14.9392126,16.7616414 L19.986568,13.8949009 L25.0523108,16.7616414 L25.043117,16.7662952 L20.1658456,19.763342 L20.1658456,19.763342 Z M19.5360754,20.6336024 L19.5360754,26.0692401 L14.9392126,22.8115806 L14.9392126,17.6924012 L19.5360754,20.6336024 L19.5360754,20.6336024 Z M25.9716833,17.6924012 C25.9716833,17.5574411 25.9395053,17.4317885 25.8889398,17.3154435 C26.0728143,16.9664085 26.0314425,16.5242976 25.7418402,16.2311082 L20.4002856,13.2340614 C19.7980966,12.9408721 20.2393954,12.9036417 19.5590597,13.2340614 L14.2634738,16.2311082 C13.9692745,16.5242976 13.9279028,16.9571009 14.1071804,17.3107897 C14.0520181,17.4271347 14.01984,17.5527873 14.01984,17.6924012 L14.01984,22.8115806 C14.01984,23.3234985 14.4335577,23.7423404 14.9392126,23.7423404 L19.5360754,27 C19.7061593,27 19.8578558,26.9395006 19.9957617,26.8557322 C20.1336676,26.9395006 20.285364,27 20.455448,27 L25.511997,23.7423404 C26.017652,23.7423404 25.9716833,23.3234985 25.9716833,22.8115806 L25.9716833,17.6924012 L25.9716833,17.6924012 Z"})))))),l=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,e.call(this,n));return r.state={},r}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.componentDidMount=function(){var e=this;(0,a.isSmallScreen)()||setTimeout((function(){return e.refs.input&&e.refs.input.focus()}),1200)},t.prototype.render=function(){var e=this.props,t=e.lockId,n=e.isValid,a=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["lockId","isValid"]),s=this.state.focused;return o.default.createElement(i.default,{focused:s,isValid:n,name:"vcode",icon:u},o.default.createElement("input",r({id:t+"-vcode",ref:"input",type:"tel",name:"vcode",className:"auth0-lock-input auth0-lock-input-code",autoComplete:"off",autoCapitalize:"off",onFocus:this.handleFocus.bind(this),onBlur:this.handleBlur.bind(this),"aria-label":"vcode","aria-invalid":!n},a)))},t.prototype.handleFocus=function(){this.setState({focused:!0})},t.prototype.handleBlur=function(){this.setState({focused:!1})},t}(o.default.Component);t.default=l},function(e,t,n){"use strict";t.__esModule=!0,t.setVcode=function(e,t){return(0,r.setField)(e,"vcode",t.replace(/[\s-]+/g,""))};var r=n(26)},function(e,t,n){var r=n(617);e.exports=function(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw"Illegal base64url string!"}try{return function(e){return decodeURIComponent(r(e).replace(/(.)/g,(function(e,t){var n=t.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n})))}(t)}catch(n){return r(t)}}},function(e,t){function n(e){this.message=e}n.prototype=new Error,n.prototype.name="InvalidCharacterError",e.exports="undefined"!==typeof window&&window.atob&&window.atob.bind(window)||function(e){var t=String(e).replace(/=+$/,"");if(t.length%4==1)throw new n("'atob' failed: The string to be decoded is not correctly encoded.");for(var r,o,i=0,a=0,s="";o=t.charAt(a++);~o&&(r=i%4?64*r+o:o,i++%4)?s+=String.fromCharCode(255&r>>(-2*i&6)):0)o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(o);return s}},function(e,t){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,n(t,r)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";t.__esModule=!0;var r=n(0),o=(a(r),a(n(2))),i=a(n(621));a(n(271));function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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 l(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 c(e){var t=[];return{on:function(e){t.push(e)},off:function(e){t=t.filter((function(t){return t!==e}))},get:function(){return e},set:function(n,r){e=n,t.forEach((function(t){return t(e,r)}))}}}t.default=function(e,t){var n,a,f="__create-react-context-"+(0,i.default)()+"__",d=function(e){function n(){var t,r;s(this,n);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return t=r=u(this,e.call.apply(e,[this].concat(i))),r.emitter=c(r.props.value),u(r,t)}return l(n,e),n.prototype.getChildContext=function(){var e;return(e={})[f]=this.emitter,e},n.prototype.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n=this.props.value,r=e.value,o=void 0;((i=n)===(a=r)?0!==i||1/i===1/a:i!==i&&a!==a)?o=0:(o="function"===typeof t?t(n,r):1073741823,0!==(o|=0)&&this.emitter.set(e.value,o))}var i,a},n.prototype.render=function(){return this.props.children},n}(r.Component);d.childContextTypes=((n={})[f]=o.default.object.isRequired,n);var p=function(t){function n(){var e,r;s(this,n);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return e=r=u(this,t.call.apply(t,[this].concat(i))),r.state={value:r.getValue()},r.onUpdate=function(e,t){0!==((0|r.observedBits)&t)&&r.setState({value:r.getValue()})},u(r,e)}return l(n,t),n.prototype.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=void 0===t||null===t?1073741823:t},n.prototype.componentDidMount=function(){this.context[f]&&this.context[f].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=void 0===e||null===e?1073741823:e},n.prototype.componentWillUnmount=function(){this.context[f]&&this.context[f].off(this.onUpdate)},n.prototype.getValue=function(){return this.context[f]?this.context[f].get():e},n.prototype.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(r.Component);return p.contextTypes=((a={})[f]=o.default.object,a),{Provider:d,Consumer:p}},e.exports=t.default},function(e,t,n){"use strict";(function(t){var n="__global_unique_id__";e.exports=function(){return t[n]=(t[n]||0)+1}}).call(this,n(59))},function(e,t,n){"use strict";var r;if(!Object.keys){var o=Object.prototype.hasOwnProperty,i=Object.prototype.toString,a=n(353),s=Object.prototype.propertyIsEnumerable,u=!s.call({toString:null},"toString"),l=s.call((function(){}),"prototype"),c=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],f=function(e){var t=e.constructor;return t&&t.prototype===e},d={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},p=function(){if("undefined"===typeof window)return!1;for(var e in window)try{if(!d["$"+e]&&o.call(window,e)&&null!==window[e]&&"object"===typeof window[e])try{f(window[e])}catch(t){return!0}}catch(t){return!0}return!1}();r=function(e){var t=null!==e&&"object"===typeof e,n="[object Function]"===i.call(e),r=a(e),s=t&&"[object String]"===i.call(e),d=[];if(!t&&!n&&!r)throw new TypeError("Object.keys called on a non-object");var h=l&&n;if(s&&e.length>0&&!o.call(e,0))for(var g=0;g<e.length;++g)d.push(String(g));if(r&&e.length>0)for(var y=0;y<e.length;++y)d.push(String(y));else for(var m in e)h&&"prototype"===m||!o.call(e,m)||d.push(String(m));if(u)for(var v=function(e){if("undefined"===typeof window||!p)return f(e);try{return f(e)}catch(t){return!1}}(e),b=0;b<c.length;++b)v&&"constructor"===c[b]||!o.call(e,c[b])||d.push(c[b]);return d}}e.exports=r},function(e,t,n){"use strict";var r=n(256)(),o=n(246)("Object.prototype.toString"),i=function(e){return!(r&&e&&"object"===typeof e&&Symbol.toStringTag in e)&&"[object Arguments]"===o(e)},a=function(e){return!!i(e)||null!==e&&"object"===typeof e&&"number"===typeof e.length&&e.length>=0&&"[object Array]"!==o(e)&&"[object Function]"===o(e.callee)},s=function(){return i(arguments)}();i.isLegacyArguments=a,e.exports=s?i:a},function(e,t,n){"use strict";var r=n(152),o=n(247),i=n(354),a=n(355),s=n(625),u=o(a(),Object);r(u,{getPolyfill:a,implementation:i,shim:s}),e.exports=u},function(e,t,n){"use strict";var r=n(355),o=n(152);e.exports=function(){var e=r();return o(Object,{is:e},{is:function(){return Object.is!==e}}),e}},function(e,t,n){"use strict";var r,o,i,a,s=n(246),u=n(256)();if(u){r=s("Object.prototype.hasOwnProperty"),o=s("RegExp.prototype.exec"),i={};var l=function(){throw i};a={toString:l,valueOf:l},"symbol"===typeof Symbol.toPrimitive&&(a[Symbol.toPrimitive]=l)}var c=s("Object.prototype.toString"),f=Object.getOwnPropertyDescriptor;e.exports=u?function(e){if(!e||"object"!==typeof e)return!1;var t=f(e,"lastIndex");if(!(t&&r(t,"value")))return!1;try{o(e,a)}catch(n){return n===i}}:function(e){return!(!e||"object"!==typeof e&&"function"!==typeof e)&&"[object RegExp]"===c(e)}},function(e,t,n){"use strict";var r=n(152),o=n(247),i=n(356),a=n(357),s=n(628),u=o(i);r(u,{getPolyfill:a,implementation:i,shim:s}),e.exports=u},function(e,t,n){"use strict";var r=n(152).supportsDescriptors,o=n(357),i=Object.getOwnPropertyDescriptor,a=Object.defineProperty,s=TypeError,u=Object.getPrototypeOf,l=/a/;e.exports=function(){if(!r||!u)throw new s("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var e=o(),t=u(l),n=i(t,"flags");return n&&n.get===e||a(t,"flags",{configurable:!0,enumerable:!1,get:e}),e}},function(e,t,n){"use strict";var r=Date.prototype.getDay,o=Object.prototype.toString,i=n(256)();e.exports=function(e){return"object"===typeof e&&null!==e&&(i?function(e){try{return r.call(e),!0}catch(t){return!1}}(e):"[object Date]"===o.call(e))}},function(e,t,n){},function(e,t){e.exports=function(){throw new Error("define cannot be used indirect")}},function(e,t){Prism.languages.c=Prism.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:__attribute__|_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|asm|typeof|inline|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),Prism.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},Prism.languages.c.string],comment:Prism.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:Prism.languages.c}}},constant:/\b(?:__FILE__|__LINE__|__DATE__|__TIME__|__TIMESTAMP__|__func__|EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|stdin|stdout|stderr)\b/}),delete Prism.languages.c.boolean},function(e,t){!function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char8_t|char16_t|char32_t|class|compl|concept|const|consteval|constexpr|constinit|const_cast|continue|co_await|co_return|co_yield|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int8_t|int16_t|int32_t|int64_t|uint8_t|uint16_t|uint32_t|uint64_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,(function(){return t.source}));e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,(function(){return t.source}))),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:true|false)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:module|import)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,(function(){return n}))+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(Prism)},function(e,t){!function(e){function t(e,t){return e.replace(/<<(\d+)>>/g,(function(e,n){return"(?:"+t[+n]+")"}))}function n(e,n,r){return RegExp(t(e,n),r||"")}function r(e,t){for(var n=0;n<t;n++)e=e.replace(/<<self>>/g,(function(){return"(?:"+e+")"}));return e.replace(/<<self>>/g,"[^\\s\\S]")}var o="bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",i="class enum interface record struct",a="add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",s="abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield";function u(e){return"\\b(?:"+e.trim().replace(/ /g,"|")+")\\b"}var l=u(i),c=RegExp(u(o+" "+i+" "+a+" "+s)),f=u(i+" "+a+" "+s),d=u(o+" "+i+" "+s),p=r(/<(?:[^<>;=+\-*/%&|^]|<<self>>)*>/.source,2),h=r(/\((?:[^()]|<<self>>)*\)/.source,2),g=/@?\b[A-Za-z_]\w*\b/.source,y=t(/<<0>>(?:\s*<<1>>)?/.source,[g,p]),m=t(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[f,y]),v=/\[\s*(?:,\s*)*\]/.source,b=t(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[m,v]),M=t(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[p,h,v]),w=t(/\(<<0>>+(?:,<<0>>+)+\)/.source,[M]),N=t(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[w,m,v]),j={keyword:c,punctuation:/[<>()?,.:[\]]/},S=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,I=/"(?:\\.|[^\\"\r\n])*"/.source,D=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;e.languages.csharp=e.languages.extend("clike",{string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[D]),lookbehind:!0,greedy:!0},{pattern:n(/(^|[^@$\\])<<0>>/.source,[I]),lookbehind:!0,greedy:!0},{pattern:RegExp(S),greedy:!0,alias:"character"}],"class-name":[{pattern:n(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[m]),lookbehind:!0,inside:j},{pattern:n(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[g,N]),lookbehind:!0,inside:j},{pattern:n(/(\busing\s+)<<0>>(?=\s*=)/.source,[g]),lookbehind:!0},{pattern:n(/(\b<<0>>\s+)<<1>>/.source,[l,y]),lookbehind:!0,inside:j},{pattern:n(/(\bcatch\s*\(\s*)<<0>>/.source,[m]),lookbehind:!0,inside:j},{pattern:n(/(\bwhere\s+)<<0>>/.source,[g]),lookbehind:!0},{pattern:n(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[b]),lookbehind:!0,inside:j},{pattern:n(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[N,d,g]),inside:j}],keyword:c,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:ul|lu|[dflmu])?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),e.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),e.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:n(/([(,]\s*)<<0>>(?=\s*:)/.source,[g]),lookbehind:!0,alias:"punctuation"}}),e.languages.insertBefore("csharp","class-name",{namespace:{pattern:n(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[g]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:n(/(\b(?:default|typeof|sizeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[h]),lookbehind:!0,alias:"class-name",inside:j},"return-type":{pattern:n(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[N,m]),inside:j,alias:"class-name"},"constructor-invocation":{pattern:n(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[N]),lookbehind:!0,inside:j,alias:"class-name"},"generic-method":{pattern:n(/<<0>>\s*<<1>>(?=\s*\()/.source,[g,p]),inside:{function:n(/^<<0>>/.source,[g]),generic:{pattern:RegExp(p),alias:"class-name",inside:j}}},"type-list":{pattern:n(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[l,y,g,N,c.source,h,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:n(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[y,h]),lookbehind:!0,greedy:!0,inside:e.languages.csharp},keyword:c,"class-name":{pattern:RegExp(N),greedy:!0,inside:j},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var x=I+"|"+S,E=t(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[x]),O=r(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[E]),2),T=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,C=t(/<<0>>(?:\s*\(<<1>>*\))?/.source,[m,O]);e.languages.insertBefore("csharp","class-name",{attribute:{pattern:n(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[T,C]),lookbehind:!0,greedy:!0,inside:{target:{pattern:n(/^<<0>>(?=\s*:)/.source,[T]),alias:"keyword"},"attribute-arguments":{pattern:n(/\(<<0>>*\)/.source,[O]),inside:e.languages.csharp},"class-name":{pattern:RegExp(m),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var k=/:[^}\r\n]+/.source,L=r(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[E]),2),_=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[L,k]),A=r(t(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source,[x]),2),z=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[A,k]);function P(t,r){return{interpolation:{pattern:n(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[t]),lookbehind:!0,inside:{"format-string":{pattern:n(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[r,k]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:e.languages.csharp}}},string:/[\s\S]+/}}e.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:n(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[_]),lookbehind:!0,greedy:!0,inside:P(_,L)},{pattern:n(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[z]),lookbehind:!0,greedy:!0,inside:P(z,A)}]})}(Prism),Prism.languages.dotnet=Prism.languages.cs=Prism.languages.csharp},function(e,t){!function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}(Prism)},function(e,t){!function(e){e.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var t={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(t).forEach((function(n){var r=t[n],o=[];/^\w+$/.test(n)||o.push(/\w+/.exec(n)[0]),"diff"===n&&o.push("bold"),e.languages.diff[n]={pattern:RegExp("^(?:["+r+"].*(?:\r\n?|\n|(?![\\s\\S])))+","m"),alias:o,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(n)[0]}}}})),Object.defineProperty(e.languages.diff,"PREFIXES",{value:t})}(Prism)},function(e,t){Prism.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup,Prism.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&amp;/,"&"))})),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:Prism.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var r={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};r["language-"+t]={pattern:/[\s\S]+/,inside:Prism.languages[t]};var o={};o[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:r},Prism.languages.insertBefore("markup","cdata",o)}}),Object.defineProperty(Prism.languages.markup.tag,"addAttribute",{value:function(e,t){Prism.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:Prism.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup,Prism.languages.xml=Prism.languages.extend("markup",{}),Prism.languages.ssml=Prism.languages.xml,Prism.languages.atom=Prism.languages.xml,Prism.languages.rss=Prism.languages.xml},function(e,t){!function(e){var t=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,n=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,r={pattern:RegExp(n+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};e.languages.java=e.languages.extend("clike",{"class-name":[r,{pattern:RegExp(n+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:r.inside}],keyword:t,function:[e.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),e.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"}}),e.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":r,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}},namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!<keyword>)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(/<keyword>/g,(function(){return t.source}))),lookbehind:!0,inside:{punctuation:/\./}}})}(Prism)},function(e,t){Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:prototype|constructor))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:/\b(?:(?:0[xX](?:[\dA-Fa-f](?:_[\dA-Fa-f])?)+|0[bB](?:[01](?:_[01])?)+|0[oO](?:[0-7](?:_[0-7])?)+)n?|(?:\d(?:_\d)?)+n|NaN|Infinity)\b|(?:\b(?:\d(?:_\d)?)+\.?(?:\d(?:_\d)?)*|\B\.(?:\d(?:_\d)?)+)(?:[Ee][+-]?(?:\d(?:_\d)?)+)?/,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|interface|extends|implements|instanceof|new)\s+)[\w.\\]+/,Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Prism.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),Prism.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}}}),Prism.languages.markup&&(Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),Prism.languages.js=Prism.languages.javascript},function(e,t){Prism.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:true|false)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},Prism.languages.webmanifest=Prism.languages.json},function(e,t){Prism.languages.perl={comment:[{pattern:/(^\s*)=\w[\s\S]*?=cut.*/m,lookbehind:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0}],string:[{pattern:/\b(?:q|qq|qx|qw)\s*([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/\b(?:q|qq|qx|qw)\s+([a-zA-Z0-9])(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/\b(?:q|qq|qx|qw)\s*\((?:[^()\\]|\\[\s\S])*\)/,greedy:!0},{pattern:/\b(?:q|qq|qx|qw)\s*\{(?:[^{}\\]|\\[\s\S])*\}/,greedy:!0},{pattern:/\b(?:q|qq|qx|qw)\s*\[(?:[^[\]\\]|\\[\s\S])*\]/,greedy:!0},{pattern:/\b(?:q|qq|qx|qw)\s*<(?:[^<>\\]|\\[\s\S])*>/,greedy:!0},{pattern:/("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/'(?:[^'\\\r\n]|\\.)*'/,greedy:!0}],regex:[{pattern:/\b(?:m|qr)\s*([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1[msixpodualngc]*/,greedy:!0},{pattern:/\b(?:m|qr)\s+([a-zA-Z0-9])(?:(?!\1)[^\\]|\\[\s\S])*\1[msixpodualngc]*/,greedy:!0},{pattern:/\b(?:m|qr)\s*\((?:[^()\\]|\\[\s\S])*\)[msixpodualngc]*/,greedy:!0},{pattern:/\b(?:m|qr)\s*\{(?:[^{}\\]|\\[\s\S])*\}[msixpodualngc]*/,greedy:!0},{pattern:/\b(?:m|qr)\s*\[(?:[^[\]\\]|\\[\s\S])*\][msixpodualngc]*/,greedy:!0},{pattern:/\b(?:m|qr)\s*<(?:[^<>\\]|\\[\s\S])*>[msixpodualngc]*/,greedy:!0},{pattern:/(^|[^-]\b)(?:s|tr|y)\s*([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2[msixpodualngcer]*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^-]\b)(?:s|tr|y)\s+([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2[msixpodualngcer]*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^-]\b)(?:s|tr|y)\s*\((?:[^()\\]|\\[\s\S])*\)\s*\((?:[^()\\]|\\[\s\S])*\)[msixpodualngcer]*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^-]\b)(?:s|tr|y)\s*\{(?:[^{}\\]|\\[\s\S])*\}\s*\{(?:[^{}\\]|\\[\s\S])*\}[msixpodualngcer]*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^-]\b)(?:s|tr|y)\s*\[(?:[^[\]\\]|\\[\s\S])*\]\s*\[(?:[^[\]\\]|\\[\s\S])*\][msixpodualngcer]*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^-]\b)(?:s|tr|y)\s*<(?:[^<>\\]|\\[\s\S])*>\s*<(?:[^<>\\]|\\[\s\S])*>[msixpodualngcer]*/,lookbehind:!0,greedy:!0},{pattern:/\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(?:lt|gt|le|ge|eq|ne|cmp|not|and|or|xor|x)\b))/,greedy:!0}],variable:[/[&*$@%]\{\^[A-Z]+\}/,/[&*$@%]\^[A-Z_]/,/[&*$@%]#?(?=\{)/,/[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+(?![\w$]))+(?:::)*/i,/[&*$@%]\d+/,/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\S*>|\b_\b/,alias:"symbol"},vstring:{pattern:/v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,alias:"string"},function:{pattern:/sub \w+/i,inside:{keyword:/sub/}},keyword:/\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:lt|gt|le|ge|eq|ne|cmp|not|and|or|xor)\b/,punctuation:/[{}[\];(),:]/}},function(e,t){!function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,o,i){if(n.language===r){var a=n.tokenStack=[];n.code=n.code.replace(o,(function(e){if("function"===typeof i&&!i(e))return e;for(var o,s=a.length;-1!==n.code.indexOf(o=t(r,s));)++s;return a[s]=e,o})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var o=0,i=Object.keys(n.tokenStack);!function a(s){for(var u=0;u<s.length&&!(o>=i.length);u++){var l=s[u];if("string"===typeof l||l.content&&"string"===typeof l.content){var c=i[o],f=n.tokenStack[c],d="string"===typeof l?l:l.content,p=t(r,c),h=d.indexOf(p);if(h>-1){++o;var g=d.substring(0,h),y=new e.Token(r,e.tokenize(f,n.grammar),"language-"+r,f),m=d.substring(h+p.length),v=[];g&&v.push.apply(v,a([g])),v.push(y),m&&v.push.apply(v,a([m])),"string"===typeof l?s.splice.apply(s,[u,1].concat(v)):l.content=v}}else l.content&&a(l.content)}return s}(n.tokens)}}}})}(Prism)},function(e,t){!function(e){var t=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,n=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],r=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,o=/<?=>|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,i=/[{}\[\](),:;]/;e.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:t,variable:/\$+(?:\w+\b|(?=\{))/i,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:bool|boolean|int|integer|float|string|object|array)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:bool|int|float|string|object|array(?!\s*\()|mixed|self|static|callable|iterable|(?:null|false)(?=\s*\|))\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*[\w|]\|\s*)(?:null|false)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:bool|int|float|string|object|void|array(?!\s*\()|mixed|self|static|callable|iterable|(?:null|false)(?=\s*\|))\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?[\w|]\|\s*)(?:null|false)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:bool|int|float|string|object|void|array(?!\s*\()|mixed|iterable|(?:null|false)(?=\s*\|))\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:null|false)\b/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:__halt_compiler|abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|namespace|match|new|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s+)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:r,operator:o,punctuation:i};var a={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:e.languages.php},s=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:a}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:a}}];e.languages.insertBefore("php","variable",{string:s,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:t,string:s,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,number:r,operator:o,punctuation:i}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),e.hooks.add("before-tokenize",(function(t){if(/<\?/.test(t.code)){e.languages["markup-templating"].buildPlaceholders(t,"php",/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/gi)}})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"php")}))}(Prism)},function(e,t){Prism.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},"string-interpolation":{pattern:/(?:f|rf|fr)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|rb|br)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|rb|br)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/im,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:and|as|assert|async|await|break|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:True|False|None)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?\b/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},Prism.languages.python["string-interpolation"].inside.interpolation.inside.rest=Prism.languages.python,Prism.languages.py=Prism.languages.python},function(e,t){!function(e){e.languages.sass=e.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/m}}}),delete e.languages.sass.atrule;var t=/\$[-\w]+|#\{\$[-\w]+\}/,n=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|or|not)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];e.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:t,operator:n}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:t,operator:n,important:e.languages.sass.important}}}),delete e.languages.sass.property,delete e.languages.sass.important,e.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})}(Prism)},function(e,t){Prism.languages.scss=Prism.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/m,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),Prism.languages.insertBefore("scss","atrule",{keyword:[/@(?:if|else(?: if)?|forward|for|each|while|import|use|extend|debug|warn|mixin|include|function|return|content)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),Prism.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),Prism.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|with|show|hide)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:true|false)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|or|not)(?=\s)/,lookbehind:!0}}),Prism.languages.scss.atrule.inside.rest=Prism.languages.scss},function(e,t){!function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:string|Function|any|number|boolean|Array|symbol|console|Promise|unknown|never)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|as|declare|implements|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter;var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}(Prism)},function(e,t){!function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,o=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function i(e,t){return e=e.replace(/<S>/g,(function(){return n})).replace(/<BRACES>/g,(function(){return r})).replace(/<SPREAD>/g,(function(){return o})),RegExp(e,t)}o=i(o).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=i(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/i,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/i,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:i(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:i(/=<BRACES>/.source),inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx},alias:"language-javascript"}},e.languages.jsx.tag);var a=function e(t){return t?"string"===typeof t?t:"string"===typeof t.content?t.content:t.content.map(e).join(""):""};e.hooks.add("after-tokenize",(function(t){"jsx"!==t.language&&"tsx"!==t.language||function t(n){for(var r=[],o=0;o<n.length;o++){var i=n[o],s=!1;if("string"!==typeof i&&("tag"===i.type&&i.content[0]&&"tag"===i.content[0].type?"</"===i.content[0].content[0].content?r.length>0&&r[r.length-1].tagName===a(i.content[0].content[1])&&r.pop():"/>"===i.content[i.content.length-1].content||r.push({tagName:a(i.content[0].content[1]),openedBraces:0}):r.length>0&&"punctuation"===i.type&&"{"===i.content?r[r.length-1].openedBraces++:r.length>0&&r[r.length-1].openedBraces>0&&"punctuation"===i.type&&"}"===i.content?r[r.length-1].openedBraces--:s=!0),(s||"string"===typeof i)&&r.length>0&&0===r[r.length-1].openedBraces){var u=a(i);o<n.length-1&&("string"===typeof n[o+1]||"plain-text"===n[o+1].type)&&(u+=a(n[o+1]),n.splice(o+1,1)),o>0&&("string"===typeof n[o-1]||"plain-text"===n[o-1].type)&&(u=a(n[o-1])+u,n.splice(o-1,1),o--),n[o]=new e.Token("plain-text",u,null,u)}i.content&&"string"!==typeof i.content&&t(i.content)}}(t.tokens)}))}(Prism)},function(e,t,n){"use strict";e.exports=function(){}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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},o=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}}(),i=n(0),a=f(i),s=f(n(15)),u=f(n(2)),l=n(358),c=f(n(651));function f(e){return e&&e.__esModule?e:{default:e}}var d=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.handleLoad=function(){r.forceUpdate()},r._isMounted=!1,r}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidMount",value:function(){this._isMounted=!0;var e=this.getDoc();e&&"complete"===e.readyState?this.forceUpdate():this.node.addEventListener("load",this.handleLoad)}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.node.removeEventListener("load",this.handleLoad)}},{key:"getDoc",value:function(){return this.node?this.node.contentDocument:null}},{key:"getMountTarget",value:function(){var e=this.getDoc();return this.props.mountTarget?e.querySelector(this.props.mountTarget):e.body.children[0]}},{key:"renderFrameContents",value:function(){if(!this._isMounted)return null;var e=this.getDoc();if(!e)return null;var t=this.props.contentDidMount,n=this.props.contentDidUpdate,r=e.defaultView||e.parentView,o=a.default.createElement(c.default,{contentDidMount:t,contentDidUpdate:n},a.default.createElement(l.FrameContextProvider,{value:{document:e,window:r}},a.default.createElement("div",{className:"frame-content"},this.props.children)));e.body.children.length<1&&(e.open("text/html","replace"),e.write(this.props.initialContent),e.close());var i=this.getMountTarget();return[s.default.createPortal(this.props.head,this.getDoc().head),s.default.createPortal(o,i)]}},{key:"render",value:function(){var e=this,t=r({},this.props,{children:void 0});return delete t.head,delete t.initialContent,delete t.mountTarget,delete t.contentDidMount,delete t.contentDidUpdate,a.default.createElement("iframe",r({},t,{ref:function(t){e.node=t}}),this.renderFrameContents())}}]),t}(i.Component);d.propTypes={style:u.default.object,head:u.default.node,initialContent:u.default.string,mountTarget:u.default.string,contentDidMount:u.default.func,contentDidUpdate:u.default.func,children:u.default.oneOfType([u.default.element,u.default.arrayOf(u.default.element)])},d.defaultProps={style:{},head:null,children:void 0,mountTarget:void 0,contentDidMount:function(){},contentDidUpdate:function(){},initialContent:'<!DOCTYPE html><html><head></head><body><div class="frame-root"></div></body></html>'},t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(0),i=(a(o),a(n(2)));function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var l=function(e){function t(){return s(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"componentDidMount",value:function(){this.props.contentDidMount()}},{key:"componentDidUpdate",value:function(){this.props.contentDidUpdate()}},{key:"render",value:function(){return o.Children.only(this.props.children)}}]),t}(o.Component);l.propTypes={children:i.default.element.isRequired,contentDidMount:i.default.func.isRequired,contentDidUpdate:i.default.func.isRequired},t.default=l},function(e,t,n){var r,o,i;i=function(){for(var e={map:{}},t=[{base:" ",letters:"\xa0"},{base:"A",letters:"A\u24b6\uff21\xc0\xc1\xc2\u1ea6\u1ea4\u1eaa\u1ea8\xc3\u0100\u0102\u1eb0\u1eae\u1eb4\u1eb2\u0226\u01e0\xc4\u01de\u1ea2\xc5\u01fa\u01cd\u0200\u0202\u1ea0\u1eac\u1eb6\u1e00\u0104\u023a\u2c6f"},{base:"AA",letters:"\ua732"},{base:"AE",letters:"\xc6\u01fc\u01e2"},{base:"AO",letters:"\ua734"},{base:"AU",letters:"\ua736"},{base:"AV",letters:"\ua738\ua73a"},{base:"AY",letters:"\ua73c"},{base:"B",letters:"B\u24b7\uff22\u1e02\u1e04\u1e06\u0243\u0182\u0181"},{base:"C",letters:"C\u24b8\uff23\u0106\u0108\u010a\u010c\xc7\u1e08\u0187\u023b\ua73e"},{base:"D",letters:"D\u24b9\uff24\u1e0a\u010e\u1e0c\u1e10\u1e12\u1e0e\u0110\u018b\u018a\u0189\ua779"},{base:"DZ",letters:"\u01f1\u01c4"},{base:"Dz",letters:"\u01f2\u01c5"},{base:"E",letters:"E\u24ba\uff25\xc8\xc9\xca\u1ec0\u1ebe\u1ec4\u1ec2\u1ebc\u0112\u1e14\u1e16\u0114\u0116\xcb\u1eba\u011a\u0204\u0206\u1eb8\u1ec6\u0228\u1e1c\u0118\u1e18\u1e1a\u0190\u018e"},{base:"F",letters:"F\u24bb\uff26\u1e1e\u0191\ua77b"},{base:"G",letters:"G\u24bc\uff27\u01f4\u011c\u1e20\u011e\u0120\u01e6\u0122\u01e4\u0193\ua7a0\ua77d\ua77e"},{base:"H",letters:"H\u24bd\uff28\u0124\u1e22\u1e26\u021e\u1e24\u1e28\u1e2a\u0126\u2c67\u2c75\ua78d"},{base:"I",letters:"I\u24be\uff29\xcc\xcd\xce\u0128\u012a\u012c\u0130\xcf\u1e2e\u1ec8\u01cf\u0208\u020a\u1eca\u012e\u1e2c\u0197"},{base:"J",letters:"J\u24bf\uff2a\u0134\u0248"},{base:"K",letters:"K\u24c0\uff2b\u1e30\u01e8\u1e32\u0136\u1e34\u0198\u2c69\ua740\ua742\ua744\ua7a2"},{base:"L",letters:"L\u24c1\uff2c\u013f\u0139\u013d\u1e36\u1e38\u013b\u1e3c\u1e3a\u0141\u023d\u2c62\u2c60\ua748\ua746\ua780"},{base:"LJ",letters:"\u01c7"},{base:"Lj",letters:"\u01c8"},{base:"M",letters:"M\u24c2\uff2d\u1e3e\u1e40\u1e42\u2c6e\u019c"},{base:"N",letters:"N\u24c3\uff2e\u01f8\u0143\xd1\u1e44\u0147\u1e46\u0145\u1e4a\u1e48\u0220\u019d\ua790\ua7a4"},{base:"NJ",letters:"\u01ca"},{base:"Nj",letters:"\u01cb"},{base:"O",letters:"O\u24c4\uff2f\xd2\xd3\xd4\u1ed2\u1ed0\u1ed6\u1ed4\xd5\u1e4c\u022c\u1e4e\u014c\u1e50\u1e52\u014e\u022e\u0230\xd6\u022a\u1ece\u0150\u01d1\u020c\u020e\u01a0\u1edc\u1eda\u1ee0\u1ede\u1ee2\u1ecc\u1ed8\u01ea\u01ec\xd8\u01fe\u0186\u019f\ua74a\ua74c"},{base:"OI",letters:"\u01a2"},{base:"OO",letters:"\ua74e"},{base:"OU",letters:"\u0222"},{base:"P",letters:"P\u24c5\uff30\u1e54\u1e56\u01a4\u2c63\ua750\ua752\ua754"},{base:"Q",letters:"Q\u24c6\uff31\ua756\ua758\u024a"},{base:"R",letters:"R\u24c7\uff32\u0154\u1e58\u0158\u0210\u0212\u1e5a\u1e5c\u0156\u1e5e\u024c\u2c64\ua75a\ua7a6\ua782"},{base:"S",letters:"S\u24c8\uff33\u1e9e\u015a\u1e64\u015c\u1e60\u0160\u1e66\u1e62\u1e68\u0218\u015e\u2c7e\ua7a8\ua784"},{base:"T",letters:"T\u24c9\uff34\u1e6a\u0164\u1e6c\u021a\u0162\u1e70\u1e6e\u0166\u01ac\u01ae\u023e\ua786"},{base:"Th",letters:"\xde"},{base:"TZ",letters:"\ua728"},{base:"U",letters:"U\u24ca\uff35\xd9\xda\xdb\u0168\u1e78\u016a\u1e7a\u016c\xdc\u01db\u01d7\u01d5\u01d9\u1ee6\u016e\u0170\u01d3\u0214\u0216\u01af\u1eea\u1ee8\u1eee\u1eec\u1ef0\u1ee4\u1e72\u0172\u1e76\u1e74\u0244"},{base:"V",letters:"V\u24cb\uff36\u1e7c\u1e7e\u01b2\ua75e\u0245"},{base:"VY",letters:"\ua760"},{base:"W",letters:"W\u24cc\uff37\u1e80\u1e82\u0174\u1e86\u1e84\u1e88\u2c72"},{base:"X",letters:"X\u24cd\uff38\u1e8a\u1e8c"},{base:"Y",letters:"Y\u24ce\uff39\u1ef2\xdd\u0176\u1ef8\u0232\u1e8e\u0178\u1ef6\u1ef4\u01b3\u024e\u1efe"},{base:"Z",letters:"Z\u24cf\uff3a\u0179\u1e90\u017b\u017d\u1e92\u1e94\u01b5\u0224\u2c7f\u2c6b\ua762"},{base:"a",letters:"a\u24d0\uff41\u1e9a\xe0\xe1\xe2\u1ea7\u1ea5\u1eab\u1ea9\xe3\u0101\u0103\u1eb1\u1eaf\u1eb5\u1eb3\u0227\u01e1\xe4\u01df\u1ea3\xe5\u01fb\u01ce\u0201\u0203\u1ea1\u1ead\u1eb7\u1e01\u0105\u2c65\u0250\u0251"},{base:"aa",letters:"\ua733"},{base:"ae",letters:"\xe6\u01fd\u01e3"},{base:"ao",letters:"\ua735"},{base:"au",letters:"\ua737"},{base:"av",letters:"\ua739\ua73b"},{base:"ay",letters:"\ua73d"},{base:"b",letters:"b\u24d1\uff42\u1e03\u1e05\u1e07\u0180\u0183\u0253"},{base:"c",letters:"c\u24d2\uff43\u0107\u0109\u010b\u010d\xe7\u1e09\u0188\u023c\ua73f\u2184"},{base:"d",letters:"d\u24d3\uff44\u1e0b\u010f\u1e0d\u1e11\u1e13\u1e0f\u0111\u018c\u0256\u0257\ua77a"},{base:"dz",letters:"\u01f3\u01c6"},{base:"e",letters:"e\u24d4\uff45\xe8\xe9\xea\u1ec1\u1ebf\u1ec5\u1ec3\u1ebd\u0113\u1e15\u1e17\u0115\u0117\xeb\u1ebb\u011b\u0205\u0207\u1eb9\u1ec7\u0229\u1e1d\u0119\u1e19\u1e1b\u0247\u025b\u01dd"},{base:"f",letters:"f\u24d5\uff46\u1e1f\u0192\ua77c"},{base:"ff",letters:"\ufb00"},{base:"fi",letters:"\ufb01"},{base:"fl",letters:"\ufb02"},{base:"ffi",letters:"\ufb03"},{base:"ffl",letters:"\ufb04"},{base:"g",letters:"g\u24d6\uff47\u01f5\u011d\u1e21\u011f\u0121\u01e7\u0123\u01e5\u0260\ua7a1\u1d79\ua77f"},{base:"h",letters:"h\u24d7\uff48\u0125\u1e23\u1e27\u021f\u1e25\u1e29\u1e2b\u1e96\u0127\u2c68\u2c76\u0265"},{base:"hv",letters:"\u0195"},{base:"i",letters:"i\u24d8\uff49\xec\xed\xee\u0129\u012b\u012d\xef\u1e2f\u1ec9\u01d0\u0209\u020b\u1ecb\u012f\u1e2d\u0268\u0131"},{base:"j",letters:"j\u24d9\uff4a\u0135\u01f0\u0249"},{base:"k",letters:"k\u24da\uff4b\u1e31\u01e9\u1e33\u0137\u1e35\u0199\u2c6a\ua741\ua743\ua745\ua7a3"},{base:"l",letters:"l\u24db\uff4c\u0140\u013a\u013e\u1e37\u1e39\u013c\u1e3d\u1e3b\u017f\u0142\u019a\u026b\u2c61\ua749\ua781\ua747"},{base:"lj",letters:"\u01c9"},{base:"m",letters:"m\u24dc\uff4d\u1e3f\u1e41\u1e43\u0271\u026f"},{base:"n",letters:"n\xf1n\u24dd\uff4e\u01f9\u0144\xf1\u1e45\u0148\u1e47\u0146\u1e4b\u1e49\u019e\u0272\u0149\ua791\ua7a5\u043b\u0509"},{base:"nj",letters:"\u01cc"},{base:"o",letters:"\u07c0o\u24de\uff4f\xf2\xf3\xf4\u1ed3\u1ed1\u1ed7\u1ed5\xf5\u1e4d\u022d\u1e4f\u014d\u1e51\u1e53\u014f\u022f\u0231\xf6\u022b\u1ecf\u0151\u01d2\u020d\u020f\u01a1\u1edd\u1edb\u1ee1\u1edf\u1ee3\u1ecd\u1ed9\u01eb\u01ed\xf8\u01ff\u0254\ua74b\ua74d\u0275"},{base:"oe",letters:"\u0152\u0153"},{base:"oi",letters:"\u01a3"},{base:"ou",letters:"\u0223"},{base:"oo",letters:"\ua74f"},{base:"p",letters:"p\u24df\uff50\u1e55\u1e57\u01a5\u1d7d\ua751\ua753\ua755"},{base:"q",letters:"q\u24e0\uff51\u024b\ua757\ua759"},{base:"r",letters:"r\u24e1\uff52\u0155\u1e59\u0159\u0211\u0213\u1e5b\u1e5d\u0157\u1e5f\u024d\u027d\ua75b\ua7a7\ua783"},{base:"s",letters:"s\u24e2\uff53\xdf\u015b\u1e65\u015d\u1e61\u0161\u1e67\u1e63\u1e69\u0219\u015f\u023f\ua7a9\ua785\u1e9b"},{base:"ss",letters:"\xdf"},{base:"t",letters:"t\u24e3\uff54\u1e6b\u1e97\u0165\u1e6d\u021b\u0163\u1e71\u1e6f\u0167\u01ad\u0288\u2c66\ua787"},{base:"th",letters:"\xfe"},{base:"tz",letters:"\ua729"},{base:"u",letters:"u\u24e4\uff55\xf9\xfa\xfb\u0169\u1e79\u016b\u1e7b\u016d\xfc\u01dc\u01d8\u01d6\u01da\u1ee7\u016f\u0171\u01d4\u0215\u0217\u01b0\u1eeb\u1ee9\u1eef\u1eed\u1ef1\u1ee5\u1e73\u0173\u1e77\u1e75\u0289"},{base:"v",letters:"v\u24e5\uff56\u1e7d\u1e7f\u028b\ua75f\u028c"},{base:"vy",letters:"\ua761"},{base:"w",letters:"w\u24e6\uff57\u1e81\u1e83\u0175\u1e87\u1e85\u1e98\u1e89\u2c73"},{base:"x",letters:"x\u24e7\uff58\u1e8b\u1e8d"},{base:"y",letters:"y\u24e8\uff59\u1ef3\xfd\u0177\u1ef9\u0233\u1e8f\xff\u1ef7\u1e99\u1ef5\u01b4\u024f\u1eff"},{base:"z",letters:"z\u24e9\uff5a\u017a\u1e91\u017c\u017e\u1e93\u1e95\u01b6\u0225\u0240\u2c6c\ua763"}],n=0,r=t.length;n<r;n++)for(var o=t[n].letters.split(""),i=0,a=o.length;i<a;i++)e.map[o[i]]=t[n].base;return e.clean=function(t){if(!t||!t.length||t.length<1)return"";for(var n,r="",o=t.split(""),i=0,a=o.length;i<a;i++)r+=(n=o[i])in e.map?e.map[n]:n;return r},e},e.exports?e.exports=i():void 0===(o="function"===typeof(r=i)?r.call(t,n,t,e):r)||(e.exports=o)},function(e,t,n){var r=n(654)({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"});e.exports=r},function(e,t){e.exports=function(e){return function(t){return null==e?void 0:e[t]}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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},o=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}}(),i=n(0),a=f(i),s=f(n(2)),u=f(n(656)),l=f(n(657)),c=n(665);function f(e){return e&&e.__esModule?e:{default:e}}var d=function(){return!0},p=function(e){function t(e){var n=e.alwaysRenderSuggestions;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return h.call(r),r.state={isFocused:!1,isCollapsed:!n,highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:null},r.justPressedUpDown=!1,r.justMouseEntered=!1,r.pressedSuggestion=null,r}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidMount",value:function(){document.addEventListener("mousedown",this.onDocumentMouseDown),document.addEventListener("mouseup",this.onDocumentMouseUp),this.input=this.autowhatever.input,this.suggestionsContainer=this.autowhatever.itemsContainer}},{key:"componentWillReceiveProps",value:function(e){(0,u.default)(e.suggestions,this.props.suggestions)?e.highlightFirstSuggestion&&e.suggestions.length>0&&!1===this.justPressedUpDown&&!1===this.justMouseEntered&&this.highlightFirstSuggestion():this.willRenderSuggestions(e)?this.state.isCollapsed&&!this.justSelectedSuggestion&&this.revealSuggestions():this.resetHighlightedSuggestion()}},{key:"componentDidUpdate",value:function(e,t){var n=this.props,r=n.suggestions,o=n.onSuggestionHighlighted,i=n.highlightFirstSuggestion;if(!(0,u.default)(r,e.suggestions)&&r.length>0&&i)this.highlightFirstSuggestion();else if(o){var a=this.getHighlightedSuggestion();a!=t.highlightedSuggestion&&o({suggestion:a})}}},{key:"componentWillUnmount",value:function(){document.removeEventListener("mousedown",this.onDocumentMouseDown),document.removeEventListener("mouseup",this.onDocumentMouseUp)}},{key:"updateHighlightedSuggestion",value:function(e,t,n){var r=this;this.setState((function(o){var i=o.valueBeforeUpDown;return null===t?i=null:null===i&&"undefined"!==typeof n&&(i=n),{highlightedSectionIndex:e,highlightedSuggestionIndex:t,highlightedSuggestion:null===t?null:r.getSuggestion(e,t),valueBeforeUpDown:i}}))}},{key:"resetHighlightedSuggestion",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.setState((function(t){var n=t.valueBeforeUpDown;return{highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:e?null:n}}))}},{key:"revealSuggestions",value:function(){this.setState({isCollapsed:!1})}},{key:"closeSuggestions",value:function(){this.setState({highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:null,isCollapsed:!0})}},{key:"getSuggestion",value:function(e,t){var n=this.props,r=n.suggestions,o=n.multiSection,i=n.getSectionSuggestions;return o?i(r[e])[t]:r[t]}},{key:"getHighlightedSuggestion",value:function(){var e=this.state,t=e.highlightedSectionIndex,n=e.highlightedSuggestionIndex;return null===n?null:this.getSuggestion(t,n)}},{key:"getSuggestionValueByIndex",value:function(e,t){return(0,this.props.getSuggestionValue)(this.getSuggestion(e,t))}},{key:"getSuggestionIndices",value:function(e){var t=e.getAttribute("data-section-index"),n=e.getAttribute("data-suggestion-index");return{sectionIndex:"string"===typeof t?parseInt(t,10):null,suggestionIndex:parseInt(n,10)}}},{key:"findSuggestionElement",value:function(e){var t=e;do{if(null!==t.getAttribute("data-suggestion-index"))return t;t=t.parentNode}while(null!==t);throw console.error("Clicked element:",e),new Error("Couldn't find suggestion element")}},{key:"maybeCallOnChange",value:function(e,t,n){var r=this.props.inputProps,o=r.value,i=r.onChange;t!==o&&i(e,{newValue:t,method:n})}},{key:"willRenderSuggestions",value:function(e){var t=e.suggestions,n=e.inputProps,r=e.shouldRenderSuggestions,o=n.value;return t.length>0&&r(o)}},{key:"getQuery",value:function(){var e=this.props.inputProps.value,t=this.state.valueBeforeUpDown;return(null===t?e:t).trim()}},{key:"render",value:function(){var e=this,t=this.props,n=t.suggestions,o=t.renderInputComponent,i=t.onSuggestionsFetchRequested,s=t.renderSuggestion,u=t.inputProps,f=t.multiSection,p=t.renderSectionTitle,h=t.id,g=t.getSectionSuggestions,y=t.theme,m=t.getSuggestionValue,v=t.alwaysRenderSuggestions,b=t.highlightFirstSuggestion,M=this.state,w=M.isFocused,N=M.isCollapsed,j=M.highlightedSectionIndex,S=M.highlightedSuggestionIndex,I=M.valueBeforeUpDown,D=v?d:this.props.shouldRenderSuggestions,x=u.value,E=u.onFocus,O=u.onKeyDown,T=this.willRenderSuggestions(this.props),C=v||w&&!N&&T,k=C?n:[],L=r({},u,{onFocus:function(t){if(!e.justSelectedSuggestion&&!e.justClickedOnSuggestionsContainer){var n=D(x);e.setState({isFocused:!0,isCollapsed:!n}),E&&E(t),n&&i({value:x,reason:"input-focused"})}},onBlur:function(t){e.justClickedOnSuggestionsContainer?e.input.focus():(e.blurEvent=t,e.justSelectedSuggestion||(e.onBlur(),e.onSuggestionsClearRequested()))},onChange:function(t){var n=t.target.value,o=D(n);e.maybeCallOnChange(t,n,"type"),e.suggestionsContainer&&(e.suggestionsContainer.scrollTop=0),e.setState(r({},b?{}:{highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null},{valueBeforeUpDown:null,isCollapsed:!o})),o?i({value:n,reason:"input-changed"}):e.onSuggestionsClearRequested()},onKeyDown:function(t,r){var o=t.keyCode;switch(o){case 40:case 38:if(N)D(x)&&(i({value:x,reason:"suggestions-revealed"}),e.revealSuggestions());else if(n.length>0){var a=r.newHighlightedSectionIndex,s=r.newHighlightedItemIndex,u=void 0;u=null===s?null===I?x:I:e.getSuggestionValueByIndex(a,s),e.updateHighlightedSuggestion(a,s,x),e.maybeCallOnChange(t,u,40===o?"down":"up")}t.preventDefault(),e.justPressedUpDown=!0,setTimeout((function(){e.justPressedUpDown=!1}));break;case 13:if(229===t.keyCode)break;var l=e.getHighlightedSuggestion();if(C&&!v&&e.closeSuggestions(),null!=l){var c=m(l);e.maybeCallOnChange(t,c,"enter"),e.onSuggestionSelected(t,{suggestion:l,suggestionValue:c,suggestionIndex:S,sectionIndex:j,method:"enter"}),e.justSelectedSuggestion=!0,setTimeout((function(){e.justSelectedSuggestion=!1}))}break;case 27:C&&t.preventDefault();var f=C&&!v;if(null===I){if(!f){e.maybeCallOnChange(t,"","escape"),D("")?i({value:"",reason:"escape-pressed"}):e.onSuggestionsClearRequested()}}else e.maybeCallOnChange(t,I,"escape");f?(e.onSuggestionsClearRequested(),e.closeSuggestions()):e.resetHighlightedSuggestion()}O&&O(t)}}),_={query:this.getQuery()};return a.default.createElement(l.default,{multiSection:f,items:k,renderInputComponent:o,renderItemsContainer:this.renderSuggestionsContainer,renderItem:s,renderItemData:_,renderSectionTitle:p,getSectionItems:g,highlightedSectionIndex:j,highlightedItemIndex:S,inputProps:L,itemProps:this.itemProps,theme:(0,c.mapToAutowhateverTheme)(y),id:h,ref:this.storeAutowhateverRef})}}]),t}(i.Component);p.propTypes={suggestions:s.default.array.isRequired,onSuggestionsFetchRequested:function(e,t){var n=e[t];if("function"!==typeof n)throw new Error("'onSuggestionsFetchRequested' must be implemented. See: https://github.com/moroshko/react-autosuggest#onSuggestionsFetchRequestedProp")},onSuggestionsClearRequested:function(e,t){var n=e[t];if(!1===e.alwaysRenderSuggestions&&"function"!==typeof n)throw new Error("'onSuggestionsClearRequested' must be implemented. See: https://github.com/moroshko/react-autosuggest#onSuggestionsClearRequestedProp")},onSuggestionSelected:s.default.func,onSuggestionHighlighted:s.default.func,renderInputComponent:s.default.func,renderSuggestionsContainer:s.default.func,getSuggestionValue:s.default.func.isRequired,renderSuggestion:s.default.func.isRequired,inputProps:function(e,t){var n=e[t];if(!n.hasOwnProperty("value"))throw new Error("'inputProps' must have 'value'.");if(!n.hasOwnProperty("onChange"))throw new Error("'inputProps' must have 'onChange'.")},shouldRenderSuggestions:s.default.func,alwaysRenderSuggestions:s.default.bool,multiSection:s.default.bool,renderSectionTitle:function(e,t){var n=e[t];if(!0===e.multiSection&&"function"!==typeof n)throw new Error("'renderSectionTitle' must be implemented. See: https://github.com/moroshko/react-autosuggest#renderSectionTitleProp")},getSectionSuggestions:function(e,t){var n=e[t];if(!0===e.multiSection&&"function"!==typeof n)throw new Error("'getSectionSuggestions' must be implemented. See: https://github.com/moroshko/react-autosuggest#getSectionSuggestionsProp")},focusInputOnSuggestionClick:s.default.bool,highlightFirstSuggestion:s.default.bool,theme:s.default.object,id:s.default.string},p.defaultProps={renderSuggestionsContainer:function(e){var t=e.containerProps,n=e.children;return a.default.createElement("div",t,n)},shouldRenderSuggestions:function(e){return e.trim().length>0},alwaysRenderSuggestions:!1,multiSection:!1,focusInputOnSuggestionClick:!0,highlightFirstSuggestion:!1,theme:c.defaultTheme,id:"1"};var h=function(){var e=this;this.onDocumentMouseDown=function(t){e.justClickedOnSuggestionsContainer=!1;for(var n=t.detail&&t.detail.target||t.target;null!==n&&n!==document;){if(null!==n.getAttribute("data-suggestion-index"))return;if(n===e.suggestionsContainer)return void(e.justClickedOnSuggestionsContainer=!0);n=n.parentNode}},this.storeAutowhateverRef=function(t){null!==t&&(e.autowhatever=t)},this.onSuggestionMouseEnter=function(t,n){var r=n.sectionIndex,o=n.itemIndex;e.updateHighlightedSuggestion(r,o),t.target===e.pressedSuggestion&&(e.justSelectedSuggestion=!0),e.justMouseEntered=!0,setTimeout((function(){e.justMouseEntered=!1}))},this.highlightFirstSuggestion=function(){e.updateHighlightedSuggestion(e.props.multiSection?0:null,0)},this.onDocumentMouseUp=function(){e.pressedSuggestion&&!e.justSelectedSuggestion&&e.input.focus(),e.pressedSuggestion=null},this.onSuggestionMouseDown=function(t){e.justSelectedSuggestion||(e.justSelectedSuggestion=!0,e.pressedSuggestion=t.target)},this.onSuggestionsClearRequested=function(){var t=e.props.onSuggestionsClearRequested;t&&t()},this.onSuggestionSelected=function(t,n){var r=e.props,o=r.alwaysRenderSuggestions,i=r.onSuggestionSelected,a=r.onSuggestionsFetchRequested;i&&i(t,n),o?a({value:n.suggestionValue,reason:"suggestion-selected"}):e.onSuggestionsClearRequested(),e.resetHighlightedSuggestion()},this.onSuggestionClick=function(t){var n=e.props,r=n.alwaysRenderSuggestions,o=n.focusInputOnSuggestionClick,i=e.getSuggestionIndices(e.findSuggestionElement(t.target)),a=i.sectionIndex,s=i.suggestionIndex,u=e.getSuggestion(a,s),l=e.props.getSuggestionValue(u);e.maybeCallOnChange(t,l,"click"),e.onSuggestionSelected(t,{suggestion:u,suggestionValue:l,suggestionIndex:s,sectionIndex:a,method:"click"}),r||e.closeSuggestions(),!0===o?e.input.focus():e.onBlur(),setTimeout((function(){e.justSelectedSuggestion=!1}))},this.onBlur=function(){var t=e.props,n=t.inputProps,r=t.shouldRenderSuggestions,o=n.value,i=n.onBlur,a=e.getHighlightedSuggestion(),s=r(o);e.setState({isFocused:!1,highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:null,isCollapsed:!s}),i&&i(e.blurEvent,{highlightedSuggestion:a})},this.onSuggestionMouseLeave=function(t){e.resetHighlightedSuggestion(!1),e.justSelectedSuggestion&&t.target===e.pressedSuggestion&&(e.justSelectedSuggestion=!1)},this.onSuggestionTouchStart=function(){e.justSelectedSuggestion=!0},this.onSuggestionTouchMove=function(){e.justSelectedSuggestion=!1,e.pressedSuggestion=null,e.input.focus()},this.itemProps=function(t){return{"data-section-index":t.sectionIndex,"data-suggestion-index":t.itemIndex,onMouseEnter:e.onSuggestionMouseEnter,onMouseLeave:e.onSuggestionMouseLeave,onMouseDown:e.onSuggestionMouseDown,onTouchStart:e.onSuggestionTouchStart,onTouchMove:e.onSuggestionTouchMove,onClick:e.onSuggestionClick}},this.renderSuggestionsContainer=function(t){var n=t.containerProps,r=t.children;return(0,e.props.renderSuggestionsContainer)({containerProps:n,children:r,query:e.getQuery()})}};t.default=p},function(e,t,n){"use strict";e.exports=function(e,t){if(e===t)return!0;if(!e||!t)return!1;var n=e.length;if(t.length!==n)return!1;for(var r=0;r<n;r++)if(e[r]!==t[r])return!1;return!0}},function(e,t,n){"use strict";e.exports=n(658).default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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},o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(u){o=!0,i=u}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},i=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}}(),a=n(0),s=p(a),u=p(n(2)),l=p(n(659)),c=p(n(660)),f=p(n(662)),d=p(n(663));function p(e){return e&&e.__esModule?e:{default:e}}var h={},g=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.storeInputReference=function(e){null!==e&&(n.input=e)},n.storeItemsContainerReference=function(e){null!==e&&(n.itemsContainer=e)},n.onHighlightedItemChange=function(e){n.highlightedItem=e},n.getItemId=function(e,t){return null===t?null:"react-autowhatever-"+n.props.id+"-"+(null===e?"":"section-"+e)+"-item-"+t},n.onFocus=function(e){var t=n.props.inputProps;n.setState({isInputFocused:!0}),t.onFocus&&t.onFocus(e)},n.onBlur=function(e){var t=n.props.inputProps;n.setState({isInputFocused:!1}),t.onBlur&&t.onBlur(e)},n.onKeyDown=function(e){var t=n.props,r=t.inputProps,i=t.highlightedSectionIndex,a=t.highlightedItemIndex;switch(e.key){case"ArrowDown":case"ArrowUp":var s="ArrowDown"===e.key?"next":"prev",u=n.sectionIterator[s]([i,a]),l=o(u,2),c=l[0],f=l[1];r.onKeyDown(e,{newHighlightedSectionIndex:c,newHighlightedItemIndex:f});break;default:r.onKeyDown(e,{highlightedSectionIndex:i,highlightedItemIndex:a})}},n.highlightedItem=null,n.state={isInputFocused:!1},n.setSectionsItems(e),n.setSectionIterator(e),n.setTheme(e),n}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"componentDidMount",value:function(){this.ensureHighlightedItemIsVisible()}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){e.items!==this.props.items&&this.setSectionsItems(e),e.items===this.props.items&&e.multiSection===this.props.multiSection||this.setSectionIterator(e),e.theme!==this.props.theme&&this.setTheme(e)}},{key:"componentDidUpdate",value:function(){this.ensureHighlightedItemIsVisible()}},{key:"setSectionsItems",value:function(e){e.multiSection&&(this.sectionsItems=e.items.map((function(t){return e.getSectionItems(t)})),this.sectionsLengths=this.sectionsItems.map((function(e){return e.length})),this.allSectionsAreEmpty=this.sectionsLengths.every((function(e){return 0===e})))}},{key:"setSectionIterator",value:function(e){this.sectionIterator=(0,l.default)({multiSection:e.multiSection,data:e.multiSection?this.sectionsLengths:e.items.length})}},{key:"setTheme",value:function(e){this.theme=(0,c.default)(e.theme)}},{key:"renderSections",value:function(){var e=this;if(this.allSectionsAreEmpty)return null;var t=this.theme,n=this.props,r=n.id,o=n.items,i=n.renderItem,a=n.renderItemData,u=n.renderSectionTitle,l=n.highlightedSectionIndex,c=n.highlightedItemIndex,p=n.itemProps;return o.map((function(n,o){var h="react-autowhatever-"+r+"-",g=h+"section-"+o+"-",y=0===o;return s.default.createElement("div",t(g+"container","sectionContainer",y&&"sectionContainerFirst"),s.default.createElement(f.default,{section:n,renderSectionTitle:u,theme:t,sectionKeyPrefix:g}),s.default.createElement(d.default,{items:e.sectionsItems[o],itemProps:p,renderItem:i,renderItemData:a,sectionIndex:o,highlightedItemIndex:l===o?c:null,onHighlightedItemChange:e.onHighlightedItemChange,getItemId:e.getItemId,theme:t,keyPrefix:h,ref:e.storeItemsListReference}))}))}},{key:"renderItems",value:function(){var e=this.props.items;if(0===e.length)return null;var t=this.theme,n=this.props,r=n.id,o=n.renderItem,i=n.renderItemData,a=n.highlightedSectionIndex,u=n.highlightedItemIndex,l=n.itemProps;return s.default.createElement(d.default,{items:e,itemProps:l,renderItem:o,renderItemData:i,highlightedItemIndex:null===a?u:null,onHighlightedItemChange:this.onHighlightedItemChange,getItemId:this.getItemId,theme:t,keyPrefix:"react-autowhatever-"+r+"-"})}},{key:"ensureHighlightedItemIsVisible",value:function(){var e=this.highlightedItem;if(e){var t=this.itemsContainer,n=e.offsetParent===t?e.offsetTop:e.offsetTop-t.offsetTop,r=t.scrollTop;n<r?r=n:n+e.offsetHeight>r+t.offsetHeight&&(r=n+e.offsetHeight-t.offsetHeight),r!==t.scrollTop&&(t.scrollTop=r)}}},{key:"render",value:function(){var e=this.theme,t=this.props,n=t.id,o=t.multiSection,i=t.renderInputComponent,a=t.renderItemsContainer,u=t.highlightedSectionIndex,l=t.highlightedItemIndex,c=this.state.isInputFocused,f=o?this.renderSections():this.renderItems(),d=null!==f,p=this.getItemId(u,l),h="react-autowhatever-"+n,g=r({role:"combobox","aria-haspopup":"listbox","aria-owns":h,"aria-expanded":d},e("react-autowhatever-"+n+"-container","container",d&&"containerOpen"),this.props.containerProps),y=i(r({type:"text",value:"",autoComplete:"off","aria-autocomplete":"list","aria-controls":h,"aria-activedescendant":p},e("react-autowhatever-"+n+"-input","input",d&&"inputOpen",c&&"inputFocused"),this.props.inputProps,{onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.props.inputProps.onKeyDown&&this.onKeyDown,ref:this.storeInputReference})),m=a({containerProps:r({id:h,role:"listbox"},e("react-autowhatever-"+n+"-items-container","itemsContainer",d&&"itemsContainerOpen"),{ref:this.storeItemsContainerReference}),children:f});return s.default.createElement("div",g,y,m)}}]),t}(a.Component);g.propTypes={id:u.default.string,multiSection:u.default.bool,renderInputComponent:u.default.func,renderItemsContainer:u.default.func,items:u.default.array.isRequired,renderItem:u.default.func,renderItemData:u.default.object,renderSectionTitle:u.default.func,getSectionItems:u.default.func,containerProps:u.default.object,inputProps:u.default.object,itemProps:u.default.oneOfType([u.default.object,u.default.func]),highlightedSectionIndex:u.default.number,highlightedItemIndex:u.default.number,theme:u.default.oneOfType([u.default.object,u.default.array])},g.defaultProps={id:"1",multiSection:!1,renderInputComponent:function(e){return s.default.createElement("input",e)},renderItemsContainer:function(e){var t=e.containerProps,n=e.children;return s.default.createElement("div",t,n)},renderItem:function(){throw new Error("`renderItem` must be provided")},renderItemData:h,renderSectionTitle:function(){throw new Error("`renderSectionTitle` must be provided")},getSectionItems:function(){throw new Error("`getSectionItems` must be provided")},containerProps:h,inputProps:h,itemProps:h,highlightedSectionIndex:null,highlightedItemIndex:null,theme:{container:"react-autowhatever__container",containerOpen:"react-autowhatever__container--open",input:"react-autowhatever__input",inputOpen:"react-autowhatever__input--open",inputFocused:"react-autowhatever__input--focused",itemsContainer:"react-autowhatever__items-container",itemsContainerOpen:"react-autowhatever__items-container--open",itemsList:"react-autowhatever__items-list",item:"react-autowhatever__item",itemFirst:"react-autowhatever__item--first",itemHighlighted:"react-autowhatever__item--highlighted",sectionContainer:"react-autowhatever__section-container",sectionContainerFirst:"react-autowhatever__section-container--first",sectionTitle:"react-autowhatever__section-title"}},t.default=g},function(e,t,n){"use strict";var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(u){o=!0,i=u}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};e.exports=function(e){var t=e.data,n=e.multiSection;function o(e){var o=r(e,2),i=o[0],a=o[1];return n?null===a||a===t[i]-1?null===(i=function(e){for(null===e?e=0:e++;e<t.length&&0===t[e];)e++;return e===t.length?null:e}(i))?[null,null]:[i,0]:[i,a+1]:0===t||a===t-1?[null,null]:null===a?[null,0]:[null,a+1]}return{next:o,prev:function(e){var o=r(e,2),i=o[0],a=o[1];return n?null===a||0===a?null===(i=function(e){for(null===e?e=t.length-1:e--;e>=0&&0===t[e];)e--;return-1===e?null:e}(i))?[null,null]:[i,t[i]-1]:[i,a-1]:0===t||0===a?[null,null]:null===a?[null,t-1]:[null,a-1]},isLast:function(e){return null===o(e)[1]}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(u){o=!0,i=u}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};function o(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)}var i,a=n(661),s=(i=a)&&i.__esModule?i:{default:i},u=function(e){return e};t.default=function(e){var t=Array.isArray(e)&&2===e.length?e:[e,null],n=r(t,2),i=n[0],a=n[1];return function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var l=n.map((function(e){return i[e]})).filter(u);return"string"===typeof l[0]||"function"===typeof a?{key:e,className:a?a.apply(void 0,o(l)):l.join(" ")}:{key:e,style:s.default.apply(void 0,[{}].concat(o(l)))}}},e.exports=t.default},function(e,t,n){"use strict";var r=Object.prototype.propertyIsEnumerable;function o(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function i(e){var t=Object.getOwnPropertyNames(e);return Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(e))),t.filter((function(t){return r.call(e,t)}))}e.exports=Object.assign||function(e,t){for(var n,r,a=o(e),s=1;s<arguments.length;s++){n=arguments[s],r=i(Object(n));for(var u=0;u<r.length;u++)a[r[u]]=n[r[u]]}return a}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(0),i=u(o),a=u(n(2)),s=u(n(257));function u(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var f=function(e){function t(){return l(this,t),c(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"shouldComponentUpdate",value:function(e){return(0,s.default)(e,this.props)}},{key:"render",value:function(){var e=this.props,t=e.section,n=e.renderSectionTitle,r=e.theme,o=e.sectionKeyPrefix,a=n(t);return a?i.default.createElement("div",r(o+"title","sectionTitle"),a):null}}]),t}(o.Component);f.propTypes={section:a.default.any.isRequired,renderSectionTitle:a.default.func.isRequired,theme:a.default.func.isRequired,sectionKeyPrefix:a.default.string.isRequired},t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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},o=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}}(),i=n(0),a=c(i),s=c(n(2)),u=c(n(664)),l=c(n(257));function c(e){return e&&e.__esModule?e:{default:e}}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var p=function(e){function t(){var e,n,r;f(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=d(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.storeHighlightedItemReference=function(e){r.props.onHighlightedItemChange(null===e?null:e.item)},d(r,n)}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"shouldComponentUpdate",value:function(e){return(0,l.default)(e,this.props,["itemProps"])}},{key:"render",value:function(){var e=this,t=this.props,n=t.items,o=t.itemProps,i=t.renderItem,s=t.renderItemData,l=t.sectionIndex,c=t.highlightedItemIndex,f=t.getItemId,d=t.theme,p=t.keyPrefix,h=null===l?p:p+"section-"+l+"-",g="function"===typeof o;return a.default.createElement("ul",r({role:"listbox"},d(h+"items-list","itemsList")),n.map((function(t,n){var p=0===n,y=n===c,m=h+"item-"+n,v=g?o({sectionIndex:l,itemIndex:n}):o,b=r({id:f(l,n),"aria-selected":y},d(m,"item",p&&"itemFirst",y&&"itemHighlighted"),v);return y&&(b.ref=e.storeHighlightedItemReference),a.default.createElement(u.default,r({},b,{sectionIndex:l,isHighlighted:y,itemIndex:n,item:t,renderItem:i,renderItemData:s}))})))}}]),t}(i.Component);p.propTypes={items:s.default.array.isRequired,itemProps:s.default.oneOfType([s.default.object,s.default.func]),renderItem:s.default.func.isRequired,renderItemData:s.default.object.isRequired,sectionIndex:s.default.number,highlightedItemIndex:s.default.number,onHighlightedItemChange:s.default.func.isRequired,getItemId:s.default.func.isRequired,theme:s.default.func.isRequired,keyPrefix:s.default.string.isRequired},p.defaultProps={sectionIndex:null},t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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},o=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}}(),i=n(0),a=l(i),s=l(n(2)),u=l(n(257));function l(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var d=function(e){function t(){var e,n,r;c(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=f(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.storeItemReference=function(e){null!==e&&(r.item=e)},r.onMouseEnter=function(e){var t=r.props,n=t.sectionIndex,o=t.itemIndex;r.props.onMouseEnter(e,{sectionIndex:n,itemIndex:o})},r.onMouseLeave=function(e){var t=r.props,n=t.sectionIndex,o=t.itemIndex;r.props.onMouseLeave(e,{sectionIndex:n,itemIndex:o})},r.onMouseDown=function(e){var t=r.props,n=t.sectionIndex,o=t.itemIndex;r.props.onMouseDown(e,{sectionIndex:n,itemIndex:o})},r.onClick=function(e){var t=r.props,n=t.sectionIndex,o=t.itemIndex;r.props.onClick(e,{sectionIndex:n,itemIndex:o})},f(r,n)}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"shouldComponentUpdate",value:function(e){return(0,u.default)(e,this.props,["renderItemData"])}},{key:"render",value:function(){var e=this.props,t=e.isHighlighted,n=e.item,o=e.renderItem,i=e.renderItemData,s=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["isHighlighted","item","renderItem","renderItemData"]);return delete s.sectionIndex,delete s.itemIndex,"function"===typeof s.onMouseEnter&&(s.onMouseEnter=this.onMouseEnter),"function"===typeof s.onMouseLeave&&(s.onMouseLeave=this.onMouseLeave),"function"===typeof s.onMouseDown&&(s.onMouseDown=this.onMouseDown),"function"===typeof s.onClick&&(s.onClick=this.onClick),a.default.createElement("li",r({role:"option"},s,{ref:this.storeItemReference}),o(n,r({isHighlighted:t},i)))}}]),t}(i.Component);d.propTypes={sectionIndex:s.default.number,isHighlighted:s.default.bool.isRequired,itemIndex:s.default.number.isRequired,item:s.default.any.isRequired,renderItem:s.default.func.isRequired,renderItemData:s.default.object.isRequired,onMouseEnter:s.default.func,onMouseLeave:s.default.func,onMouseDown:s.default.func,onClick:s.default.func},t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.defaultTheme={container:"react-autosuggest__container",containerOpen:"react-autosuggest__container--open",input:"react-autosuggest__input",inputOpen:"react-autosuggest__input--open",inputFocused:"react-autosuggest__input--focused",suggestionsContainer:"react-autosuggest__suggestions-container",suggestionsContainerOpen:"react-autosuggest__suggestions-container--open",suggestionsList:"react-autosuggest__suggestions-list",suggestion:"react-autosuggest__suggestion",suggestionFirst:"react-autosuggest__suggestion--first",suggestionHighlighted:"react-autosuggest__suggestion--highlighted",sectionContainer:"react-autosuggest__section-container",sectionContainerFirst:"react-autosuggest__section-container--first",sectionTitle:"react-autosuggest__section-title"},t.mapToAutowhateverTheme=function(e){var t={};for(var n in e)switch(n){case"suggestionsContainer":t.itemsContainer=e[n];break;case"suggestionsContainerOpen":t.itemsContainerOpen=e[n];break;case"suggestion":t.item=e[n];break;case"suggestionFirst":t.itemFirst=e[n];break;case"suggestionHighlighted":t.itemHighlighted=e[n];break;case"suggestionsList":t.itemsList=e[n];break;default:t[n]=e[n]}return t}},function(e,t,n){"use strict";var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var o={forEach:n(258),isEqual:n(213),keys:n(108),omit:n(362)},i=n(0),a=n(15),s=n(2),u=n(261),l=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n._animationTimeout=null,n.runAnimation=n.runAnimation.bind(n),n}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"componentDidMount",value:function(){this.runAnimation(),!0!==this.props.runOnMount&&this._finishAnimation()}},{key:"componentDidUpdate",value:function(e){o.isEqual(e.animation,this.props.animation)||("stop"===this.props.interruptBehavior?this._stopAnimation():"finish"===this.props.interruptBehavior&&this._finishAnimation(),this._scheduleAnimation())}},{key:"componentWillUnmount",value:function(){this._stopAnimation(),this._clearVelocityCache(this._getDOMTarget()),this._animationTimeout&&clearTimeout(this._animationTimeout)}},{key:"runAnimation",value:function(e){if(e=e||{},this._animationTimeout=null,null!=this.props.animation){e.stop?u(this._getDOMTarget(),"stop",!0):e.finish&&u(this._getDOMTarget(),"finishAll",!0);var n=o.omit(this.props,o.keys(t.propTypes));u(this._getDOMTarget(),this.props.animation,n)}}},{key:"_scheduleAnimation",value:function(){this._animationTimeout||(this._animationTimeout=setTimeout(this.runAnimation,0))}},{key:"_getDOMTarget",value:function(){var e=a.findDOMNode(this);return"children"===this.props.targetQuerySelector?e.children:null!=this.props.targetQuerySelector?e.querySelectorAll(this.props.targetQuerySelector):e}},{key:"_finishAnimation",value:function(){u(this._getDOMTarget(),"finishAll",!0)}},{key:"_stopAnimation",value:function(){u(this._getDOMTarget(),"stop",!0)}},{key:"_clearVelocityCache",value:function(e){e.length?o.forEach(e,this._clearVelocityCache):u.Utilities.removeData(e,["velocity","fxqueue"])}},{key:"render",value:function(){return this.props.children}}]),t}(i.Component);l.propTypes={animation:s.any,children:s.element.isRequired,runOnMount:s.bool,targetQuerySelector:s.string,interruptBehavior:s.string},l.defaultProps={animation:null,runOnMount:!1,targetQuerySelector:null,interruptBehavior:"stop"},e.exports=l},function(e,t,n){var r=n(172);e.exports=function(e){return"function"==typeof e?e:r}},function(e,t,n){var r=n(215),o=n(361),i=n(363),a=n(669),s=n(670),u=n(673),l=n(674),c=n(675),f=n(676),d=n(306),p=n(365),h=n(170),g=n(677),y=n(678),m=n(683),v=n(62),b=n(221),M=n(685),w=n(98),N=n(687),j=n(108),S=n(185),I={};I["[object Arguments]"]=I["[object Array]"]=I["[object ArrayBuffer]"]=I["[object DataView]"]=I["[object Boolean]"]=I["[object Date]"]=I["[object Float32Array]"]=I["[object Float64Array]"]=I["[object Int8Array]"]=I["[object Int16Array]"]=I["[object Int32Array]"]=I["[object Map]"]=I["[object Number]"]=I["[object Object]"]=I["[object RegExp]"]=I["[object Set]"]=I["[object String]"]=I["[object Symbol]"]=I["[object Uint8Array]"]=I["[object Uint8ClampedArray]"]=I["[object Uint16Array]"]=I["[object Uint32Array]"]=!0,I["[object Error]"]=I["[object Function]"]=I["[object WeakMap]"]=!1,e.exports=function e(t,n,D,x,E,O){var T,C=1&n,k=2&n,L=4&n;if(D&&(T=E?D(t,x,E,O):D(t)),void 0!==T)return T;if(!w(t))return t;var _=v(t);if(_){if(T=g(t),!C)return l(t,T)}else{var A=h(t),z="[object Function]"==A||"[object GeneratorFunction]"==A;if(b(t))return u(t,C);if("[object Object]"==A||"[object Arguments]"==A||z&&!E){if(T=k||z?{}:m(t),!C)return k?f(t,s(T,t)):c(t,a(T,t))}else{if(!I[A])return E?t:{};T=y(t,A,C)}}O||(O=new r);var P=O.get(t);if(P)return P;O.set(t,T),N(t)?t.forEach((function(r){T.add(e(r,n,D,r,t,O))})):M(t)&&t.forEach((function(r,o){T.set(o,e(r,n,D,o,t,O))}));var R=_?void 0:(L?k?p:d:k?S:j)(t);return o(R||t,(function(r,o){R&&(r=t[o=r]),i(T,o,e(r,n,D,o,t,O))})),T}},function(e,t,n){var r=n(128),o=n(108);e.exports=function(e,t){return e&&r(t,o(t),e)}},function(e,t,n){var r=n(128),o=n(185);e.exports=function(e,t){return e&&r(t,o(t),e)}},function(e,t,n){var r=n(98),o=n(226),i=n(672),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=o(e),n=[];for(var s in e)("constructor"!=s||!t&&a.call(e,s))&&n.push(s);return n}},function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},function(e,t,n){(function(e){var r=n(81),o=t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o?r.Buffer:void 0,s=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=s?s(n):new e.constructor(n);return e.copy(r),r}}).call(this,n(147)(e))},function(e,t){e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}},function(e,t,n){var r=n(128),o=n(219);e.exports=function(e,t){return r(e,o(e),t)}},function(e,t,n){var r=n(128),o=n(364);e.exports=function(e,t){return r(e,o(e),t)}},function(e,t){var n=Object.prototype.hasOwnProperty;e.exports=function(e){var t=e.length,r=new e.constructor(t);return t&&"string"==typeof e[0]&&n.call(e,"index")&&(r.index=e.index,r.input=e.input),r}},function(e,t,n){var r=n(260),o=n(679),i=n(680),a=n(681),s=n(682);e.exports=function(e,t,n){var u=e.constructor;switch(t){case"[object ArrayBuffer]":return r(e);case"[object Boolean]":case"[object Date]":return new u(+e);case"[object DataView]":return o(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(e,n);case"[object Map]":return new u;case"[object Number]":case"[object String]":return new u(e);case"[object RegExp]":return i(e);case"[object Set]":return new u;case"[object Symbol]":return a(e)}}},function(e,t,n){var r=n(260);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}},function(e,t){var n=/\w*$/;e.exports=function(e){var t=new e.constructor(e.source,n.exec(e));return t.lastIndex=e.lastIndex,t}},function(e,t,n){var r=n(126),o=r?r.prototype:void 0,i=o?o.valueOf:void 0;e.exports=function(e){return i?Object(i.call(e)):{}}},function(e,t,n){var r=n(260);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},function(e,t,n){var r=n(684),o=n(259),i=n(226);e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:r(o(e))}},function(e,t,n){var r=n(98),o=Object.create,i=function(){function e(){}return function(t){if(!r(t))return{};if(o)return o(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=i},function(e,t,n){var r=n(686),o=n(224),i=n(225),a=i&&i.isMap,s=a?o(a):r;e.exports=s},function(e,t,n){var r=n(170),o=n(99);e.exports=function(e){return o(e)&&"[object Map]"==r(e)}},function(e,t,n){var r=n(688),o=n(224),i=n(225),a=i&&i.isSet,s=a?o(a):r;e.exports=s},function(e,t,n){var r=n(170),o=n(99);e.exports=function(e){return o(e)&&"[object Set]"==r(e)}},function(e,t,n){var r=n(171),o=n(690),i=n(691),a=n(149);e.exports=function(e,t){return t=r(t,e),null==(e=i(e,t))||delete e[a(o(t))]}},function(e,t){e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},function(e,t,n){var r=n(229),o=n(692);e.exports=function(e,t){return t.length<2?e:r(e,o(t,0,-1))}},function(e,t){e.exports=function(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r<o;)i[r]=e[r+t];return i}},function(e,t,n){var r=n(694);e.exports=function(e){return r(e)?void 0:e}},function(e,t,n){var r=n(125),o=n(259),i=n(99),a=Function.prototype,s=Object.prototype,u=a.toString,l=s.hasOwnProperty,c=u.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=r(e))return!1;var t=o(e);if(null===t)return!0;var n=l.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&u.call(n)==c}},function(e,t,n){var r=n(696),o=n(366),i=n(367);e.exports=function(e){return i(o(e,void 0,r),e+"")}},function(e,t,n){var r=n(697);e.exports=function(e){return(null==e?0:e.length)?r(e,1):[]}},function(e,t,n){var r=n(218),o=n(698);e.exports=function e(t,n,i,a,s){var u=-1,l=t.length;for(i||(i=o),s||(s=[]);++u<l;){var c=t[u];n>0&&i(c)?n>1?e(c,n-1,i,a,s):r(s,c):a||(s[s.length]=c)}return s}},function(e,t,n){var r=n(126),o=n(220),i=n(62),a=r?r.isConcatSpreadable:void 0;e.exports=function(e){return i(e)||o(e)||!!(a&&e&&e[a])}},function(e,t){e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},function(e,t,n){var r=n(701),o=n(312),i=n(172),a=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:i;e.exports=a},function(e,t){e.exports=function(e){return function(){return e}}},function(e,t){var n=Date.now;e.exports=function(e){var t=0,r=0;return function(){var o=n(),i=16-(o-r);if(r=o,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},function(e,t,n){var r,o;!function(e){"use strict";if(!e.jQuery){var t=function e(t,n){return new e.fn.init(t,n)};t.isWindow=function(e){return e&&e===e.window},t.type=function(e){return e?"object"===typeof e||"function"===typeof e?r[i.call(e)]||"object":typeof e:e+""},t.isArray=Array.isArray||function(e){return"array"===t.type(e)},t.isPlainObject=function(e){var n;if(!e||"object"!==t.type(e)||e.nodeType||t.isWindow(e))return!1;try{if(e.constructor&&!o.call(e,"constructor")&&!o.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(r){return!1}for(n in e);return void 0===n||o.call(e,n)},t.each=function(e,t,n){var r=0,o=e.length,i=u(e);if(n){if(i)for(;r<o&&!1!==t.apply(e[r],n);r++);else for(r in e)if(e.hasOwnProperty(r)&&!1===t.apply(e[r],n))break}else if(i)for(;r<o&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(e.hasOwnProperty(r)&&!1===t.call(e[r],r,e[r]))break;return e},t.data=function(e,r,o){if(void 0===o){var i=e[t.expando],a=i&&n[i];if(void 0===r)return a;if(a&&r in a)return a[r]}else if(void 0!==r){var s=e[t.expando]||(e[t.expando]=++t.uuid);return n[s]=n[s]||{},n[s][r]=o,o}},t.removeData=function(e,r){var o=e[t.expando],i=o&&n[o];i&&(r?t.each(r,(function(e,t){delete i[t]})):delete n[o])},t.extend=function(){var e,n,r,o,i,a,s=arguments[0]||{},u=1,l=arguments.length,c=!1;for("boolean"===typeof s&&(c=s,s=arguments[u]||{},u++),"object"!==typeof s&&"function"!==t.type(s)&&(s={}),u===l&&(s=this,u--);u<l;u++)if(i=arguments[u])for(o in i)i.hasOwnProperty(o)&&(e=s[o],s!==(r=i[o])&&(c&&r&&(t.isPlainObject(r)||(n=t.isArray(r)))?(n?(n=!1,a=e&&t.isArray(e)?e:[]):a=e&&t.isPlainObject(e)?e:{},s[o]=t.extend(c,a,r)):void 0!==r&&(s[o]=r)));return s},t.queue=function(e,n,r){if(e){var o=t.data(e,n=(n||"fx")+"queue");return r?(!o||t.isArray(r)?o=t.data(e,n,function(e,t){var n=t||[];return e&&(u(Object(e))?function(e,t){for(var n=+t.length,r=0,o=e.length;r<n;)e[o++]=t[r++];if(n!==n)for(;void 0!==t[r];)e[o++]=t[r++];e.length=o}(n,"string"===typeof e?[e]:e):[].push.call(n,e)),n}(r)):o.push(r),o):o||[]}},t.dequeue=function(e,n){t.each(e.nodeType?[e]:e,(function(e,r){var o=t.queue(r,n=n||"fx"),i=o.shift();"inprogress"===i&&(i=o.shift()),i&&("fx"===n&&o.unshift("inprogress"),i.call(r,(function(){t.dequeue(r,n)})))}))},t.fn=t.prototype={init:function(e){if(e.nodeType)return this[0]=e,this;throw new Error("Not a DOM node.")},offset:function(){var t=this[0].getBoundingClientRect?this[0].getBoundingClientRect():{top:0,left:0};return{top:t.top+(e.pageYOffset||document.scrollTop||0)-(document.clientTop||0),left:t.left+(e.pageXOffset||document.scrollLeft||0)-(document.clientLeft||0)}},position:function(){var e=this[0],n=function(e){for(var t=e.offsetParent;t&&"html"!==t.nodeName.toLowerCase()&&t.style&&"static"===t.style.position.toLowerCase();)t=t.offsetParent;return t||document}(e),r=this.offset(),o=/^(?:body|html)$/i.test(n.nodeName)?{top:0,left:0}:t(n).offset();return r.top-=parseFloat(e.style.marginTop)||0,r.left-=parseFloat(e.style.marginLeft)||0,n.style&&(o.top+=parseFloat(n.style.borderTopWidth)||0,o.left+=parseFloat(n.style.borderLeftWidth)||0),{top:r.top-o.top,left:r.left-o.left}}};var n={};t.expando="velocity"+(new Date).getTime(),t.uuid=0;for(var r={},o=r.hasOwnProperty,i=r.toString,a="Boolean Number String Function Array Date RegExp Object Error".split(" "),s=0;s<a.length;s++)r["[object "+a[s]+"]"]=a[s].toLowerCase();t.fn.init.prototype=t.fn,e.Velocity={Utilities:t}}function u(e){var n=e.length,r=t.type(e);return"function"!==r&&!t.isWindow(e)&&(!(1!==e.nodeType||!n)||("array"===r||0===n||"number"===typeof n&&n>0&&n-1 in e))}}(window),function(i){"use strict";"object"===typeof e.exports?e.exports=i():void 0===(o="function"===typeof(r=i)?r.call(t,n,t,e):r)||(e.exports=o)}((function(){"use strict";return function(e,t,n,r){var o=function(){if(n.documentMode)return n.documentMode;for(var e=7;e>4;e--){var t=n.createElement("div");if(t.innerHTML="\x3c!--[if IE "+e+"]><span></span><![endif]--\x3e",t.getElementsByTagName("span").length)return t=null,e}}(),i=function(){var e=0;return t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||function(t){var n,r=(new Date).getTime();return n=Math.max(0,16-(r-e)),e=r+n,setTimeout((function(){t(r+n)}),n)}}(),a=function(){var e=t.performance||{};if("function"!==typeof e.now){var n=e.timing&&e.timing.navigationStart?e.timing.navigationStart:(new Date).getTime();e.now=function(){return(new Date).getTime()-n}}return e}();var s=function(){var e=Array.prototype.slice;try{return e.call(n.documentElement),e}catch(t){return function(t,n){var r=this.length;if("number"!==typeof t&&(t=0),"number"!==typeof n&&(n=r),this.slice)return e.call(this,t,n);var o,i=[],a=t>=0?t:Math.max(0,r+t),s=(n<0?r+n:Math.min(n,r))-a;if(s>0)if(i=new Array(s),this.charAt)for(o=0;o<s;o++)i[o]=this.charAt(a+o);else for(o=0;o<s;o++)i[o]=this[a+o];return i}}}(),u=function(){return Array.prototype.includes?function(e,t){return e.includes(t)}:Array.prototype.indexOf?function(e,t){return e.indexOf(t)>=0}:function(e,t){for(var n=0;n<e.length;n++)if(e[n]===t)return!0;return!1}};function l(e){return f.isWrapped(e)?e=s.call(e):f.isNode(e)&&(e=[e]),e}var c,f={isNumber:function(e){return"number"===typeof e},isString:function(e){return"string"===typeof e},isArray:Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},isFunction:function(e){return"[object Function]"===Object.prototype.toString.call(e)},isNode:function(e){return e&&e.nodeType},isWrapped:function(e){return e&&e!==t&&f.isNumber(e.length)&&!f.isString(e)&&!f.isFunction(e)&&!f.isNode(e)&&(0===e.length||f.isNode(e[0]))},isSVG:function(e){return t.SVGElement&&e instanceof t.SVGElement},isEmptyObject:function(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}},d=!1;if(e.fn&&e.fn.jquery?(c=e,d=!0):c=t.Velocity.Utilities,o<=8&&!d)throw new Error("Velocity: IE8 and below require jQuery to be loaded before Velocity.");if(!(o<=7)){var p={State:{isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(t.navigator.userAgent),isAndroid:/Android/i.test(t.navigator.userAgent),isGingerbread:/Android 2\.3\.[3-7]/i.test(t.navigator.userAgent),isChrome:t.chrome,isFirefox:/Firefox/i.test(t.navigator.userAgent),prefixElement:n.createElement("div"),prefixMatches:{},scrollAnchor:null,scrollPropertyLeft:null,scrollPropertyTop:null,isTicking:!1,calls:[],delayedElements:{count:0}},CSS:{},Utilities:c,Redirects:{},Easings:{},Promise:t.Promise,defaults:{queue:"",duration:400,easing:"swing",begin:void 0,complete:void 0,progress:void 0,display:void 0,visibility:void 0,loop:!1,delay:!1,mobileHA:!0,_cacheValues:!0,promiseRejectEmpty:!0},init:function(e){c.data(e,"velocity",{isSVG:f.isSVG(e),isAnimating:!1,computedStyle:null,tweensContainer:null,rootPropertyValueCache:{},transformCache:{}})},hook:null,mock:!1,version:{major:1,minor:5,patch:2},debug:!1,timestamp:!0,pauseAll:function(e){var t=(new Date).getTime();c.each(p.State.calls,(function(t,n){if(n){if(void 0!==e&&(n[2].queue!==e||!1===n[2].queue))return!0;n[5]={resume:!1}}})),c.each(p.State.delayedElements,(function(e,n){n&&M(n,t)}))},resumeAll:function(e){var t=(new Date).getTime();c.each(p.State.calls,(function(t,n){if(n){if(void 0!==e&&(n[2].queue!==e||!1===n[2].queue))return!0;n[5]&&(n[5].resume=!0)}})),c.each(p.State.delayedElements,(function(e,n){n&&w(n,t)}))}};void 0!==t.pageYOffset?(p.State.scrollAnchor=t,p.State.scrollPropertyLeft="pageXOffset",p.State.scrollPropertyTop="pageYOffset"):(p.State.scrollAnchor=n.documentElement||n.body.parentNode||n.body,p.State.scrollPropertyLeft="scrollLeft",p.State.scrollPropertyTop="scrollTop");var h=function(){function e(e){return-e.tension*e.x-e.friction*e.v}function t(t,n,r){var o={x:t.x+r.dx*n,v:t.v+r.dv*n,tension:t.tension,friction:t.friction};return{dx:o.v,dv:e(o)}}function n(n,r){var o={dx:n.v,dv:e(n)},i=t(n,.5*r,o),a=t(n,.5*r,i),s=t(n,r,a),u=1/6*(o.dx+2*(i.dx+a.dx)+s.dx),l=1/6*(o.dv+2*(i.dv+a.dv)+s.dv);return n.x=n.x+u*r,n.v=n.v+l*r,n}return function e(t,r,o){var i,a,s,u={x:-1,v:0,tension:null,friction:null},l=[0],c=0;for(t=parseFloat(t)||500,r=parseFloat(r)||20,o=o||null,u.tension=t,u.friction=r,a=(i=null!==o)?(c=e(t,r))/o*.016:.016;s=n(s||u,a),l.push(1+s.x),c+=16,Math.abs(s.x)>1e-4&&Math.abs(s.v)>1e-4;);return i?function(e){return l[e*(l.length-1)|0]}:c}}();p.Easings={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},spring:function(e){return 1-Math.cos(4.5*e*Math.PI)*Math.exp(6*-e)}},c.each([["ease",[.25,.1,.25,1]],["ease-in",[.42,0,1,1]],["ease-out",[0,0,.58,1]],["ease-in-out",[.42,0,.58,1]],["easeInSine",[.47,0,.745,.715]],["easeOutSine",[.39,.575,.565,1]],["easeInOutSine",[.445,.05,.55,.95]],["easeInQuad",[.55,.085,.68,.53]],["easeOutQuad",[.25,.46,.45,.94]],["easeInOutQuad",[.455,.03,.515,.955]],["easeInCubic",[.55,.055,.675,.19]],["easeOutCubic",[.215,.61,.355,1]],["easeInOutCubic",[.645,.045,.355,1]],["easeInQuart",[.895,.03,.685,.22]],["easeOutQuart",[.165,.84,.44,1]],["easeInOutQuart",[.77,0,.175,1]],["easeInQuint",[.755,.05,.855,.06]],["easeOutQuint",[.23,1,.32,1]],["easeInOutQuint",[.86,0,.07,1]],["easeInExpo",[.95,.05,.795,.035]],["easeOutExpo",[.19,1,.22,1]],["easeInOutExpo",[1,0,0,1]],["easeInCirc",[.6,.04,.98,.335]],["easeOutCirc",[.075,.82,.165,1]],["easeInOutCirc",[.785,.135,.15,.86]]],(function(e,t){p.Easings[t[0]]=j.apply(null,t[1])}));var g=p.CSS={RegEx:{isHex:/^#([A-f\d]{3}){1,2}$/i,valueUnwrap:/^[A-z]+\((.*)\)$/i,wrappedValueAlreadyExtracted:/[0-9.]+ [0-9.]+ [0-9.]+( [0-9.]+)?/,valueSplit:/([A-z]+\(.+\))|(([A-z0-9#-.]+?)(?=\s|$))/gi},Lists:{colors:["fill","stroke","stopColor","color","backgroundColor","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor","outlineColor"],transformsBase:["translateX","translateY","scale","scaleX","scaleY","skewX","skewY","rotateZ"],transforms3D:["transformPerspective","translateZ","scaleZ","rotateX","rotateY"],units:["%","em","ex","ch","rem","vw","vh","vmin","vmax","cm","mm","Q","in","pc","pt","px","deg","grad","rad","turn","s","ms"],colorNames:{aliceblue:"240,248,255",antiquewhite:"250,235,215",aquamarine:"127,255,212",aqua:"0,255,255",azure:"240,255,255",beige:"245,245,220",bisque:"255,228,196",black:"0,0,0",blanchedalmond:"255,235,205",blueviolet:"138,43,226",blue:"0,0,255",brown:"165,42,42",burlywood:"222,184,135",cadetblue:"95,158,160",chartreuse:"127,255,0",chocolate:"210,105,30",coral:"255,127,80",cornflowerblue:"100,149,237",cornsilk:"255,248,220",crimson:"220,20,60",cyan:"0,255,255",darkblue:"0,0,139",darkcyan:"0,139,139",darkgoldenrod:"184,134,11",darkgray:"169,169,169",darkgrey:"169,169,169",darkgreen:"0,100,0",darkkhaki:"189,183,107",darkmagenta:"139,0,139",darkolivegreen:"85,107,47",darkorange:"255,140,0",darkorchid:"153,50,204",darkred:"139,0,0",darksalmon:"233,150,122",darkseagreen:"143,188,143",darkslateblue:"72,61,139",darkslategray:"47,79,79",darkturquoise:"0,206,209",darkviolet:"148,0,211",deeppink:"255,20,147",deepskyblue:"0,191,255",dimgray:"105,105,105",dimgrey:"105,105,105",dodgerblue:"30,144,255",firebrick:"178,34,34",floralwhite:"255,250,240",forestgreen:"34,139,34",fuchsia:"255,0,255",gainsboro:"220,220,220",ghostwhite:"248,248,255",gold:"255,215,0",goldenrod:"218,165,32",gray:"128,128,128",grey:"128,128,128",greenyellow:"173,255,47",green:"0,128,0",honeydew:"240,255,240",hotpink:"255,105,180",indianred:"205,92,92",indigo:"75,0,130",ivory:"255,255,240",khaki:"240,230,140",lavenderblush:"255,240,245",lavender:"230,230,250",lawngreen:"124,252,0",lemonchiffon:"255,250,205",lightblue:"173,216,230",lightcoral:"240,128,128",lightcyan:"224,255,255",lightgoldenrodyellow:"250,250,210",lightgray:"211,211,211",lightgrey:"211,211,211",lightgreen:"144,238,144",lightpink:"255,182,193",lightsalmon:"255,160,122",lightseagreen:"32,178,170",lightskyblue:"135,206,250",lightslategray:"119,136,153",lightsteelblue:"176,196,222",lightyellow:"255,255,224",limegreen:"50,205,50",lime:"0,255,0",linen:"250,240,230",magenta:"255,0,255",maroon:"128,0,0",mediumaquamarine:"102,205,170",mediumblue:"0,0,205",mediumorchid:"186,85,211",mediumpurple:"147,112,219",mediumseagreen:"60,179,113",mediumslateblue:"123,104,238",mediumspringgreen:"0,250,154",mediumturquoise:"72,209,204",mediumvioletred:"199,21,133",midnightblue:"25,25,112",mintcream:"245,255,250",mistyrose:"255,228,225",moccasin:"255,228,181",navajowhite:"255,222,173",navy:"0,0,128",oldlace:"253,245,230",olivedrab:"107,142,35",olive:"128,128,0",orangered:"255,69,0",orange:"255,165,0",orchid:"218,112,214",palegoldenrod:"238,232,170",palegreen:"152,251,152",paleturquoise:"175,238,238",palevioletred:"219,112,147",papayawhip:"255,239,213",peachpuff:"255,218,185",peru:"205,133,63",pink:"255,192,203",plum:"221,160,221",powderblue:"176,224,230",purple:"128,0,128",red:"255,0,0",rosybrown:"188,143,143",royalblue:"65,105,225",saddlebrown:"139,69,19",salmon:"250,128,114",sandybrown:"244,164,96",seagreen:"46,139,87",seashell:"255,245,238",sienna:"160,82,45",silver:"192,192,192",skyblue:"135,206,235",slateblue:"106,90,205",slategray:"112,128,144",snow:"255,250,250",springgreen:"0,255,127",steelblue:"70,130,180",tan:"210,180,140",teal:"0,128,128",thistle:"216,191,216",tomato:"255,99,71",turquoise:"64,224,208",violet:"238,130,238",wheat:"245,222,179",whitesmoke:"245,245,245",white:"255,255,255",yellowgreen:"154,205,50",yellow:"255,255,0"}},Hooks:{templates:{textShadow:["Color X Y Blur","black 0px 0px 0px"],boxShadow:["Color X Y Blur Spread","black 0px 0px 0px 0px"],clip:["Top Right Bottom Left","0px 0px 0px 0px"],backgroundPosition:["X Y","0% 0%"],transformOrigin:["X Y Z","50% 50% 0px"],perspectiveOrigin:["X Y","50% 50%"]},registered:{},register:function(){for(var e=0;e<g.Lists.colors.length;e++){var t="color"===g.Lists.colors[e]?"0 0 0 1":"255 255 255 1";g.Hooks.templates[g.Lists.colors[e]]=["Red Green Blue Alpha",t]}var n,r,i;if(o)for(n in g.Hooks.templates)if(g.Hooks.templates.hasOwnProperty(n)){i=(r=g.Hooks.templates[n])[0].split(" ");var a=r[1].match(g.RegEx.valueSplit);"Color"===i[0]&&(i.push(i.shift()),a.push(a.shift()),g.Hooks.templates[n]=[i.join(" "),a.join(" ")])}for(n in g.Hooks.templates)if(g.Hooks.templates.hasOwnProperty(n))for(var s in i=(r=g.Hooks.templates[n])[0].split(" "))if(i.hasOwnProperty(s)){var u=n+i[s],l=s;g.Hooks.registered[u]=[n,l]}},getRoot:function(e){var t=g.Hooks.registered[e];return t?t[0]:e},getUnit:function(e,t){var n=(e.substr(t||0,5).match(/^[a-z%]+/)||[])[0]||"";return n&&u(g.Lists.units)?n:""},fixColors:function(e){return e.replace(/(rgba?\(\s*)?(\b[a-z]+\b)/g,(function(e,t,n){return g.Lists.colorNames.hasOwnProperty(n)?(t||"rgba(")+g.Lists.colorNames[n]+(t?"":",1)"):t+n}))},cleanRootPropertyValue:function(e,t){return g.RegEx.valueUnwrap.test(t)&&(t=t.match(g.RegEx.valueUnwrap)[1]),g.Values.isCSSNullValue(t)&&(t=g.Hooks.templates[e][1]),t},extractValue:function(e,t){var n=g.Hooks.registered[e];if(n){var r=n[0],o=n[1];return(t=g.Hooks.cleanRootPropertyValue(r,t)).toString().match(g.RegEx.valueSplit)[o]}return t},injectValue:function(e,t,n){var r=g.Hooks.registered[e];if(r){var o,i=r[0],a=r[1];return(o=(n=g.Hooks.cleanRootPropertyValue(i,n)).toString().match(g.RegEx.valueSplit))[a]=t,o.join(" ")}return n}},Normalizations:{registered:{clip:function(e,t,n){switch(e){case"name":return"clip";case"extract":var r;return r=g.RegEx.wrappedValueAlreadyExtracted.test(n)?n:(r=n.toString().match(g.RegEx.valueUnwrap))?r[1].replace(/,(\s+)?/g," "):n;case"inject":return"rect("+n+")"}},blur:function(e,t,n){switch(e){case"name":return p.State.isFirefox?"filter":"-webkit-filter";case"extract":var r=parseFloat(n);if(!r&&0!==r){var o=n.toString().match(/blur\(([0-9]+[A-z]+)\)/i);r=o?o[1]:0}return r;case"inject":return parseFloat(n)?"blur("+n+")":"none"}},opacity:function(e,t,n){if(o<=8)switch(e){case"name":return"filter";case"extract":var r=n.toString().match(/alpha\(opacity=(.*)\)/i);return n=r?r[1]/100:1;case"inject":return t.style.zoom=1,parseFloat(n)>=1?"":"alpha(opacity="+parseInt(100*parseFloat(n),10)+")"}else switch(e){case"name":return"opacity";case"extract":case"inject":return n}}},register:function(){o&&!(o>9)||p.State.isGingerbread||(g.Lists.transformsBase=g.Lists.transformsBase.concat(g.Lists.transforms3D));for(var e=0;e<g.Lists.transformsBase.length;e++)!function(){var t=g.Lists.transformsBase[e];g.Normalizations.registered[t]=function(e,n,r){switch(e){case"name":return"transform";case"extract":return void 0===b(n)||void 0===b(n).transformCache[t]?/^scale/i.test(t)?1:0:b(n).transformCache[t].replace(/[()]/g,"");case"inject":var o=!1;switch(t.substr(0,t.length-1)){case"translate":o=!/(%|px|em|rem|vw|vh|\d)$/i.test(r);break;case"scal":case"scale":p.State.isAndroid&&void 0===b(n).transformCache[t]&&r<1&&(r=1),o=!/(\d)$/i.test(r);break;case"skew":case"rotate":o=!/(deg|\d)$/i.test(r)}return o||(b(n).transformCache[t]="("+r+")"),b(n).transformCache[t]}}}();for(var t=0;t<g.Lists.colors.length;t++)!function(){var e=g.Lists.colors[t];g.Normalizations.registered[e]=function(t,n,r){switch(t){case"name":return e;case"extract":var i;if(g.RegEx.wrappedValueAlreadyExtracted.test(r))i=r;else{var a,s={black:"rgb(0, 0, 0)",blue:"rgb(0, 0, 255)",gray:"rgb(128, 128, 128)",green:"rgb(0, 128, 0)",red:"rgb(255, 0, 0)",white:"rgb(255, 255, 255)"};/^[A-z]+$/i.test(r)?a=void 0!==s[r]?s[r]:s.black:g.RegEx.isHex.test(r)?a="rgb("+g.Values.hexToRgb(r).join(" ")+")":/^rgba?\(/i.test(r)||(a=s.black),i=(a||r).toString().match(g.RegEx.valueUnwrap)[1].replace(/,(\s+)?/g," ")}return(!o||o>8)&&3===i.split(" ").length&&(i+=" 1"),i;case"inject":return/^rgb/.test(r)?r:(o<=8?4===r.split(" ").length&&(r=r.split(/\s+/).slice(0,3).join(" ")):3===r.split(" ").length&&(r+=" 1"),(o<=8?"rgb":"rgba")+"("+r.replace(/\s+/g,",").replace(/\.(\d)+(?=,)/g,"")+")")}}}();function n(e,t,n){if("border-box"===g.getPropertyValue(t,"boxSizing").toString().toLowerCase()===(n||!1)){var r,o,i=0,a="width"===e?["Left","Right"]:["Top","Bottom"],s=["padding"+a[0],"padding"+a[1],"border"+a[0]+"Width","border"+a[1]+"Width"];for(r=0;r<s.length;r++)o=parseFloat(g.getPropertyValue(t,s[r])),isNaN(o)||(i+=o);return n?-i:i}return 0}function r(e,t){return function(r,o,i){switch(r){case"name":return e;case"extract":return parseFloat(i)+n(e,o,t);case"inject":return parseFloat(i)-n(e,o,t)+"px"}}}g.Normalizations.registered.innerWidth=r("width",!0),g.Normalizations.registered.innerHeight=r("height",!0),g.Normalizations.registered.outerWidth=r("width"),g.Normalizations.registered.outerHeight=r("height")}},Names:{camelCase:function(e){return e.replace(/-(\w)/g,(function(e,t){return t.toUpperCase()}))},SVGAttribute:function(e){var t="width|height|x|y|cx|cy|r|rx|ry|x1|x2|y1|y2";return(o||p.State.isAndroid&&!p.State.isChrome)&&(t+="|transform"),new RegExp("^("+t+")$","i").test(e)},prefixCheck:function(e){if(p.State.prefixMatches[e])return[p.State.prefixMatches[e],!0];for(var t=["","Webkit","Moz","ms","O"],n=0,r=t.length;n<r;n++){var o;if(o=0===n?e:t[n]+e.replace(/^\w/,(function(e){return e.toUpperCase()})),f.isString(p.State.prefixElement.style[o]))return p.State.prefixMatches[e]=o,[o,!0]}return[e,!1]}},Values:{hexToRgb:function(e){var t;return e=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(e,t,n,r){return t+t+n+n+r+r})),(t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e))?[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]:[0,0,0]},isCSSNullValue:function(e){return!e||/^(none|auto|transparent|(rgba\(0, ?0, ?0, ?0\)))$/i.test(e)},getUnitType:function(e){return/^(rotate|skew)/i.test(e)?"deg":/(^(scale|scaleX|scaleY|scaleZ|alpha|flexGrow|flexHeight|zIndex|fontWeight)$)|((opacity|red|green|blue|alpha)$)/i.test(e)?"":"px"},getDisplayType:function(e){var t=e&&e.tagName.toString().toLowerCase();return/^(b|big|i|small|tt|abbr|acronym|cite|code|dfn|em|kbd|strong|samp|var|a|bdo|br|img|map|object|q|script|span|sub|sup|button|input|label|select|textarea)$/i.test(t)?"inline":/^(li)$/i.test(t)?"list-item":/^(tr)$/i.test(t)?"table-row":/^(table)$/i.test(t)?"table":/^(tbody)$/i.test(t)?"table-row-group":"block"},addClass:function(e,t){if(e)if(e.classList)e.classList.add(t);else if(f.isString(e.className))e.className+=(e.className.length?" ":"")+t;else{var n=e.getAttribute(o<=7?"className":"class")||"";e.setAttribute("class",n+(n?" ":"")+t)}},removeClass:function(e,t){if(e)if(e.classList)e.classList.remove(t);else if(f.isString(e.className))e.className=e.className.toString().replace(new RegExp("(^|\\s)"+t.split(" ").join("|")+"(\\s|$)","gi")," ");else{var n=e.getAttribute(o<=7?"className":"class")||"";e.setAttribute("class",n.replace(new RegExp("(^|s)"+t.split(" ").join("|")+"(s|$)","gi")," "))}}},getPropertyValue:function(e,n,r,i){function a(e,n){var r=0;if(o<=8)r=c.css(e,n);else{var s=!1;/^(width|height)$/.test(n)&&0===g.getPropertyValue(e,"display")&&(s=!0,g.setPropertyValue(e,"display",g.Values.getDisplayType(e)));var u,l=function(){s&&g.setPropertyValue(e,"display","none")};if(!i){if("height"===n&&"border-box"!==g.getPropertyValue(e,"boxSizing").toString().toLowerCase()){var f=e.offsetHeight-(parseFloat(g.getPropertyValue(e,"borderTopWidth"))||0)-(parseFloat(g.getPropertyValue(e,"borderBottomWidth"))||0)-(parseFloat(g.getPropertyValue(e,"paddingTop"))||0)-(parseFloat(g.getPropertyValue(e,"paddingBottom"))||0);return l(),f}if("width"===n&&"border-box"!==g.getPropertyValue(e,"boxSizing").toString().toLowerCase()){var d=e.offsetWidth-(parseFloat(g.getPropertyValue(e,"borderLeftWidth"))||0)-(parseFloat(g.getPropertyValue(e,"borderRightWidth"))||0)-(parseFloat(g.getPropertyValue(e,"paddingLeft"))||0)-(parseFloat(g.getPropertyValue(e,"paddingRight"))||0);return l(),d}}u=void 0===b(e)?t.getComputedStyle(e,null):b(e).computedStyle?b(e).computedStyle:b(e).computedStyle=t.getComputedStyle(e,null),"borderColor"===n&&(n="borderTopColor"),""!==(r=9===o&&"filter"===n?u.getPropertyValue(n):u[n])&&null!==r||(r=e.style[n]),l()}if("auto"===r&&/^(top|right|bottom|left)$/i.test(n)){var p=a(e,"position");("fixed"===p||"absolute"===p&&/top|left/i.test(n))&&(r=c(e).position()[n]+"px")}return r}var s;if(g.Hooks.registered[n]){var u=n,l=g.Hooks.getRoot(u);void 0===r&&(r=g.getPropertyValue(e,g.Names.prefixCheck(l)[0])),g.Normalizations.registered[l]&&(r=g.Normalizations.registered[l]("extract",e,r)),s=g.Hooks.extractValue(u,r)}else if(g.Normalizations.registered[n]){var f,d;"transform"!==(f=g.Normalizations.registered[n]("name",e))&&(d=a(e,g.Names.prefixCheck(f)[0]),g.Values.isCSSNullValue(d)&&g.Hooks.templates[n]&&(d=g.Hooks.templates[n][1])),s=g.Normalizations.registered[n]("extract",e,d)}if(!/^[\d-]/.test(s)){var h=b(e);if(h&&h.isSVG&&g.Names.SVGAttribute(n))if(/^(height|width)$/i.test(n))try{s=e.getBBox()[n]}catch(y){s=0}else s=e.getAttribute(n);else s=a(e,g.Names.prefixCheck(n)[0])}return g.Values.isCSSNullValue(s)&&(s=0),p.debug>=2&&console.log("Get "+n+": "+s),s},setPropertyValue:function(e,n,r,i,a){var s=n;if("scroll"===n)a.container?a.container["scroll"+a.direction]=r:"Left"===a.direction?t.scrollTo(r,a.alternateValue):t.scrollTo(a.alternateValue,r);else if(g.Normalizations.registered[n]&&"transform"===g.Normalizations.registered[n]("name",e))g.Normalizations.registered[n]("inject",e,r),s="transform",r=b(e).transformCache[n];else{if(g.Hooks.registered[n]){var u=n,l=g.Hooks.getRoot(n);i=i||g.getPropertyValue(e,l),r=g.Hooks.injectValue(u,r,i),n=l}if(g.Normalizations.registered[n]&&(r=g.Normalizations.registered[n]("inject",e,r),n=g.Normalizations.registered[n]("name",e)),s=g.Names.prefixCheck(n)[0],o<=8)try{e.style[s]=r}catch(f){p.debug&&console.log("Browser does not support ["+r+"] for ["+s+"]")}else{var c=b(e);c&&c.isSVG&&g.Names.SVGAttribute(n)?e.setAttribute(n,r):e.style[s]=r}p.debug>=2&&console.log("Set "+n+" ("+s+"): "+r)}return[s,r]},flushTransformCache:function(e){var t="",n=b(e);if((o||p.State.isAndroid&&!p.State.isChrome)&&n&&n.isSVG){var r=function(t){return parseFloat(g.getPropertyValue(e,t))},i={translate:[r("translateX"),r("translateY")],skewX:[r("skewX")],skewY:[r("skewY")],scale:1!==r("scale")?[r("scale"),r("scale")]:[r("scaleX"),r("scaleY")],rotate:[r("rotateZ"),0,0]};c.each(b(e).transformCache,(function(e){/^translate/i.test(e)?e="translate":/^scale/i.test(e)?e="scale":/^rotate/i.test(e)&&(e="rotate"),i[e]&&(t+=e+"("+i[e].join(" ")+") ",delete i[e])}))}else{var a,s;c.each(b(e).transformCache,(function(n){if(a=b(e).transformCache[n],"transformPerspective"===n)return s=a,!0;9===o&&"rotateZ"===n&&(n="rotate"),t+=n+a+" "})),s&&(t="perspective"+s+" "+t)}g.setPropertyValue(e,"transform",t)}};g.Hooks.register(),g.Normalizations.register(),p.hook=function(e,t,n){var r;return e=l(e),c.each(e,(function(e,o){if(void 0===b(o)&&p.init(o),void 0===n)void 0===r&&(r=g.getPropertyValue(o,t));else{var i=g.setPropertyValue(o,t,n);"transform"===i[0]&&p.CSS.flushTransformCache(o),r=i}})),r};var y=function e(){var r;function o(){return i?v.promise||null:a}var i,a,s,d,h,y,m=arguments[0]&&(arguments[0].p||c.isPlainObject(arguments[0].properties)&&!arguments[0].properties.names||f.isString(arguments[0].properties));f.isWrapped(this)?(i=!1,s=0,d=this,a=this):(i=!0,s=1,d=m?arguments[0].elements||arguments[0].e:arguments[0]);var v={promise:null,resolver:null,rejecter:null};if(i&&p.Promise&&(v.promise=new p.Promise((function(e,t){v.resolver=e,v.rejecter=t}))),m?(h=arguments[0].properties||arguments[0].p,y=arguments[0].options||arguments[0].o):(h=arguments[s],y=arguments[s+1]),d=l(d)){var N,j=d.length,x=0;if(!/^(stop|finish|finishAll|pause|resume)$/i.test(h)&&!c.isPlainObject(y)){var E=s+1;y={};for(var O=E;O<arguments.length;O++)f.isArray(arguments[O])||!/^(fast|normal|slow)$/i.test(arguments[O])&&!/^\d/.test(arguments[O])?f.isString(arguments[O])||f.isArray(arguments[O])?y.easing=arguments[O]:f.isFunction(arguments[O])&&(y.complete=arguments[O]):y.duration=arguments[O]}switch(h){case"scroll":N="scroll";break;case"reverse":N="reverse";break;case"pause":var T=(new Date).getTime();return c.each(d,(function(e,t){M(t,T)})),c.each(p.State.calls,(function(e,t){var n=!1;t&&c.each(t[1],(function(e,r){var o=void 0===y?"":y;return!0!==o&&t[2].queue!==o&&(void 0!==y||!1!==t[2].queue)||(c.each(d,(function(e,o){if(o===r)return t[5]={resume:!1},n=!0,!1})),!n&&void 0)}))})),o();case"resume":return c.each(d,(function(e,t){w(t)})),c.each(p.State.calls,(function(e,t){var n=!1;t&&c.each(t[1],(function(e,r){var o=void 0===y?"":y;return!0!==o&&t[2].queue!==o&&(void 0!==y||!1!==t[2].queue)||(!t[5]||(c.each(d,(function(e,o){if(o===r)return t[5].resume=!0,n=!0,!1})),!n&&void 0))}))})),o();case"finish":case"finishAll":case"stop":c.each(d,(function(e,t){b(t)&&b(t).delayTimer&&(clearTimeout(b(t).delayTimer.setTimeout),b(t).delayTimer.next&&b(t).delayTimer.next(),delete b(t).delayTimer),"finishAll"!==h||!0!==y&&!f.isString(y)||(c.each(c.queue(t,f.isString(y)?y:""),(function(e,t){f.isFunction(t)&&t()})),c.queue(t,f.isString(y)?y:"",[]))}));var C=[];return c.each(p.State.calls,(function(e,t){t&&c.each(t[1],(function(n,r){var o=void 0===y?"":y;if(!0!==o&&t[2].queue!==o&&(void 0!==y||!1!==t[2].queue))return!0;c.each(d,(function(n,i){if(i===r)if((!0===y||f.isString(y))&&(c.each(c.queue(i,f.isString(y)?y:""),(function(e,t){f.isFunction(t)&&t(null,!0)})),c.queue(i,f.isString(y)?y:"",[])),"stop"===h){var a=b(i);a&&a.tweensContainer&&(!0===o||""===o)&&c.each(a.tweensContainer,(function(e,t){t.endValue=t.currentValue})),C.push(e)}else"finish"!==h&&"finishAll"!==h||(t[2].duration=1)}))}))})),"stop"===h&&(c.each(C,(function(e,t){D(t,!0)})),v.promise&&v.resolver(d)),o();default:if(!c.isPlainObject(h)||f.isEmptyObject(h)){if(f.isString(h)&&p.Redirects[h]){var k=(r=c.extend({},y)).duration,L=r.delay||0;return!0===r.backwards&&(d=c.extend(!0,[],d).reverse()),c.each(d,(function(e,t){parseFloat(r.stagger)?r.delay=L+parseFloat(r.stagger)*e:f.isFunction(r.stagger)&&(r.delay=L+r.stagger.call(t,e,j)),r.drag&&(r.duration=parseFloat(k)||(/^(callout|transition)/.test(h)?1e3:400),r.duration=Math.max(r.duration*(r.backwards?1-e/j:(e+1)/j),.75*r.duration,200)),p.Redirects[h].call(t,t,r||{},e,j,d,v.promise?v:void 0)})),o()}var _="Velocity: First argument ("+h+") was not a property map, a known action, or a registered redirect. Aborting.";return v.promise?v.rejecter(new Error(_)):t.console&&console.log(_),o()}N="start"}var A={lastParent:null,lastPosition:null,lastFontSize:null,lastPercentToPxWidth:null,lastPercentToPxHeight:null,lastEmToPx:null,remToPx:null,vwToPx:null,vhToPx:null},z=[];c.each(d,(function(e,t){f.isNode(t)&&B(t,e)})),(r=c.extend({},p.defaults,y)).loop=parseInt(r.loop,10);var P=2*r.loop-1;if(r.loop)for(var R=0;R<P;R++){var U={delay:r.delay,progress:r.progress};R===P-1&&(U.display=r.display,U.visibility=r.visibility,U.complete=r.complete),e(d,"reverse",U)}return o()}function B(e,r){var o,i,a=c.extend({},p.defaults,y),s={};switch(void 0===b(e)&&p.init(e),parseFloat(a.delay)&&!1!==a.queue&&c.queue(e,a.queue,(function(t,n){if(!0===n)return!0;p.velocityQueueEntryFlag=!0;var r=p.State.delayedElements.count++;p.State.delayedElements[r]=e;var o,i=(o=r,function(){p.State.delayedElements[o]=!1,t()});b(e).delayBegin=(new Date).getTime(),b(e).delay=parseFloat(a.delay),b(e).delayTimer={setTimeout:setTimeout(t,parseFloat(a.delay)),next:i}})),a.duration.toString().toLowerCase()){case"fast":a.duration=200;break;case"normal":a.duration=400;break;case"slow":a.duration=600;break;default:a.duration=parseFloat(a.duration)||1}function l(i){var l,m;if(a.begin&&0===x)try{a.begin.call(d,d)}catch(W){setTimeout((function(){throw W}),1)}if("scroll"===N){var M,w,D,E=/^x$/i.test(a.axis)?"Left":"Top",O=parseFloat(a.offset)||0;a.container?f.isWrapped(a.container)||f.isNode(a.container)?(a.container=a.container[0]||a.container,D=(M=a.container["scroll"+E])+c(e).position()[E.toLowerCase()]+O):a.container=null:(M=p.State.scrollAnchor[p.State["scrollProperty"+E]],w=p.State.scrollAnchor[p.State["scrollProperty"+("Left"===E?"Top":"Left")]],D=c(e).offset()[E.toLowerCase()]+O),s={scroll:{rootPropertyValue:!1,startValue:M,currentValue:M,endValue:D,unitType:"",easing:a.easing,scrollData:{container:a.container,direction:E,alternateValue:w}},element:e},p.debug&&console.log("tweensContainer (scroll): ",s.scroll,e)}else if("reverse"===N){if(!(l=b(e)))return;if(!l.tweensContainer)return void c.dequeue(e,a.queue);for(var T in"none"===l.opts.display&&(l.opts.display="auto"),"hidden"===l.opts.visibility&&(l.opts.visibility="visible"),l.opts.loop=!1,l.opts.begin=null,l.opts.complete=null,y.easing||delete a.easing,y.duration||delete a.duration,a=c.extend({},l.opts,a),m=c.extend(!0,{},l?l.tweensContainer:null))if(m.hasOwnProperty(T)&&"element"!==T){var C=m[T].startValue;m[T].startValue=m[T].currentValue=m[T].endValue,m[T].endValue=C,f.isEmptyObject(y)||(m[T].easing=a.easing),p.debug&&console.log("reverse tweensContainer ("+T+"): "+JSON.stringify(m[T]),e)}s=m}else if("start"===N){(l=b(e))&&l.tweensContainer&&!0===l.isAnimating&&(m=l.tweensContainer);var k=function(t,n){var o,i,s;return f.isFunction(t)&&(t=t.call(e,r,j)),f.isArray(t)?(o=t[0],!f.isArray(t[1])&&/^[\d-]/.test(t[1])||f.isFunction(t[1])||g.RegEx.isHex.test(t[1])?s=t[1]:f.isString(t[1])&&!g.RegEx.isHex.test(t[1])&&p.Easings[t[1]]||f.isArray(t[1])?(i=n?t[1]:S(t[1],a.duration),s=t[2]):s=t[1]||t[2]):o=t,n||(i=i||a.easing),f.isFunction(o)&&(o=o.call(e,r,j)),f.isFunction(s)&&(s=s.call(e,r,j)),[o||0,i,s]},L=function(r,i){var u,d=g.Hooks.getRoot(r),h=!1,y=i[0],v=i[1],b=i[2];if(l&&l.isSVG||"tween"===d||!1!==g.Names.prefixCheck(d)[1]||void 0!==g.Normalizations.registered[d]){(void 0!==a.display&&null!==a.display&&"none"!==a.display||void 0!==a.visibility&&"hidden"!==a.visibility)&&/opacity|filter/.test(r)&&!b&&0!==y&&(b=0),a._cacheValues&&m&&m[r]?(void 0===b&&(b=m[r].endValue+m[r].unitType),h=l.rootPropertyValueCache[d]):g.Hooks.registered[r]?void 0===b?(h=g.getPropertyValue(e,d),b=g.getPropertyValue(e,r,h)):h=g.Hooks.templates[d][1]:void 0===b&&(b=g.getPropertyValue(e,r));var M,w,N,j=!1,S=function(e,t){var n,r;return r=(t||"0").toString().toLowerCase().replace(/[%A-z]+$/,(function(e){return n=e,""})),n||(n=g.Values.getUnitType(e)),[r,n]};if(b!==y&&f.isString(b)&&f.isString(y)){u="";var I=0,D=0,x=[],E=[],O=0,T=0,C=0;for(b=g.Hooks.fixColors(b),y=g.Hooks.fixColors(y);I<b.length&&D<y.length;){var k=b[I],L=y[D];if(/[\d\.-]/.test(k)&&/[\d\.-]/.test(L)){for(var _=k,z=L,P=".",R=".";++I<b.length;){if((k=b[I])===P)P="..";else if(!/\d/.test(k))break;_+=k}for(;++D<y.length;){if((L=y[D])===R)R="..";else if(!/\d/.test(L))break;z+=L}var U=g.Hooks.getUnit(b,I),B=g.Hooks.getUnit(y,D);if(I+=U.length,D+=B.length,U===B)_===z?u+=_+U:(u+="{"+x.length+(T?"!":"")+"}"+U,x.push(parseFloat(_)),E.push(parseFloat(z)));else{var F=parseFloat(_),Y=parseFloat(z);u+=(O<5?"calc":"")+"("+(F?"{"+x.length+(T?"!":"")+"}":"0")+U+" + "+(Y?"{"+(x.length+(F?1:0))+(T?"!":"")+"}":"0")+B+")",F&&(x.push(F),E.push(0)),Y&&(x.push(0),E.push(Y))}}else{if(k!==L){O=0;break}u+=k,I++,D++,0===O&&"c"===k||1===O&&"a"===k||2===O&&"l"===k||3===O&&"c"===k||O>=4&&"("===k?O++:(O&&O<5||O>=4&&")"===k&&--O<5)&&(O=0),0===T&&"r"===k||1===T&&"g"===k||2===T&&"b"===k||3===T&&"a"===k||T>=3&&"("===k?(3===T&&"a"===k&&(C=1),T++):C&&","===k?++C>3&&(T=C=0):(C&&T<(C?5:4)||T>=(C?4:3)&&")"===k&&--T<(C?5:4))&&(T=C=0)}}I===b.length&&D===y.length||(p.debug&&console.error('Trying to pattern match mis-matched strings ["'+y+'", "'+b+'"]'),u=void 0),u&&(x.length?(p.debug&&console.log('Pattern found "'+u+'" -> ',x,E,"["+b+","+y+"]"),b=x,y=E,w=N=""):u=void 0)}u||(b=(M=S(r,b))[0],N=M[1],y=(M=S(r,y))[0].replace(/^([+-\/*])=/,(function(e,t){return j=t,""})),w=M[1],b=parseFloat(b)||0,y=parseFloat(y)||0,"%"===w&&(/^(fontSize|lineHeight)$/.test(r)?(y/=100,w="em"):/^scale/.test(r)?(y/=100,w=""):/(Red|Green|Blue)$/i.test(r)&&(y=y/100*255,w="")));if(/[\/*]/.test(j))w=N;else if(N!==w&&0!==b)if(0===y)w=N;else{o=o||function(){var r={myParent:e.parentNode||n.body,position:g.getPropertyValue(e,"position"),fontSize:g.getPropertyValue(e,"fontSize")},o=r.position===A.lastPosition&&r.myParent===A.lastParent,i=r.fontSize===A.lastFontSize;A.lastParent=r.myParent,A.lastPosition=r.position,A.lastFontSize=r.fontSize;var a={};if(i&&o)a.emToPx=A.lastEmToPx,a.percentToPxWidth=A.lastPercentToPxWidth,a.percentToPxHeight=A.lastPercentToPxHeight;else{var s=l&&l.isSVG?n.createElementNS("http://www.w3.org/2000/svg","rect"):n.createElement("div");p.init(s),r.myParent.appendChild(s),c.each(["overflow","overflowX","overflowY"],(function(e,t){p.CSS.setPropertyValue(s,t,"hidden")})),p.CSS.setPropertyValue(s,"position",r.position),p.CSS.setPropertyValue(s,"fontSize",r.fontSize),p.CSS.setPropertyValue(s,"boxSizing","content-box"),c.each(["minWidth","maxWidth","width","minHeight","maxHeight","height"],(function(e,t){p.CSS.setPropertyValue(s,t,"100%")})),p.CSS.setPropertyValue(s,"paddingLeft","100em"),a.percentToPxWidth=A.lastPercentToPxWidth=(parseFloat(g.getPropertyValue(s,"width",null,!0))||1)/100,a.percentToPxHeight=A.lastPercentToPxHeight=(parseFloat(g.getPropertyValue(s,"height",null,!0))||1)/100,a.emToPx=A.lastEmToPx=(parseFloat(g.getPropertyValue(s,"paddingLeft"))||1)/100,r.myParent.removeChild(s)}return null===A.remToPx&&(A.remToPx=parseFloat(g.getPropertyValue(n.body,"fontSize"))||16),null===A.vwToPx&&(A.vwToPx=parseFloat(t.innerWidth)/100,A.vhToPx=parseFloat(t.innerHeight)/100),a.remToPx=A.remToPx,a.vwToPx=A.vwToPx,a.vhToPx=A.vhToPx,p.debug>=1&&console.log("Unit ratios: "+JSON.stringify(a),e),a}();var G=/margin|padding|left|right|width|text|word|letter/i.test(r)||/X$/.test(r)||"x"===r?"x":"y";switch(N){case"%":b*="x"===G?o.percentToPxWidth:o.percentToPxHeight;break;case"px":break;default:b*=o[N+"ToPx"]}switch(w){case"%":b*=1/("x"===G?o.percentToPxWidth:o.percentToPxHeight);break;case"px":break;default:b*=1/o[w+"ToPx"]}}switch(j){case"+":y=b+y;break;case"-":y=b-y;break;case"*":y*=b;break;case"/":y=b/y}s[r]={rootPropertyValue:h,startValue:b,currentValue:b,endValue:y,unitType:w,easing:v},u&&(s[r].pattern=u),p.debug&&console.log("tweensContainer ("+r+"): "+JSON.stringify(s[r]),e)}else p.debug&&console.log("Skipping ["+d+"] due to a lack of browser support.")};for(var _ in h)if(h.hasOwnProperty(_)){var P=g.Names.camelCase(_),R=k(h[_]);if(u(g.Lists.colors)){var U=R[0],B=R[1],F=R[2];if(g.RegEx.isHex.test(U)){for(var Y=["Red","Green","Blue"],G=g.Values.hexToRgb(U),H=F?g.Values.hexToRgb(F):void 0,V=0;V<Y.length;V++){var Q=[G[V]];B&&Q.push(B),void 0!==H&&Q.push(H[V]),L(P+Y[V],Q)}continue}}L(P,R)}s.element=e}s.element&&(g.Values.addClass(e,"velocity-animating"),z.push(s),(l=b(e))&&(""===a.queue&&(l.tweensContainer=s,l.opts=a),l.isAnimating=!0),x===j-1?(p.State.calls.push([z,d,a,null,v.resolver,null,0]),!1===p.State.isTicking&&(p.State.isTicking=!0,I())):x++)}if(!1!==p.mock&&(!0===p.mock?a.duration=a.delay=1:(a.duration*=parseFloat(p.mock)||1,a.delay*=parseFloat(p.mock)||1)),a.easing=S(a.easing,a.duration),a.begin&&!f.isFunction(a.begin)&&(a.begin=null),a.progress&&!f.isFunction(a.progress)&&(a.progress=null),a.complete&&!f.isFunction(a.complete)&&(a.complete=null),void 0!==a.display&&null!==a.display&&(a.display=a.display.toString().toLowerCase(),"auto"===a.display&&(a.display=p.CSS.Values.getDisplayType(e))),void 0!==a.visibility&&null!==a.visibility&&(a.visibility=a.visibility.toString().toLowerCase()),a.mobileHA=a.mobileHA&&p.State.isMobile&&!p.State.isGingerbread,!1===a.queue)if(a.delay){var m=p.State.delayedElements.count++;p.State.delayedElements[m]=e;var M=(i=m,function(){p.State.delayedElements[i]=!1,l()});b(e).delayBegin=(new Date).getTime(),b(e).delay=parseFloat(a.delay),b(e).delayTimer={setTimeout:setTimeout(l,parseFloat(a.delay)),next:M}}else l();else c.queue(e,a.queue,(function(e,t){if(!0===t)return v.promise&&v.resolver(d),!0;p.velocityQueueEntryFlag=!0,l()}));""!==a.queue&&"fx"!==a.queue||"inprogress"===c.queue(e)[0]||c.dequeue(e)}v.promise&&(h&&y&&!1===y.promiseRejectEmpty?v.resolver():v.rejecter())};(p=c.extend(y,p)).animate=y;var m=t.requestAnimationFrame||i;if(!p.State.isMobile&&void 0!==n.hidden){var v=function(){n.hidden?(m=function(e){return setTimeout((function(){e(!0)}),16)},I()):m=t.requestAnimationFrame||i};v(),n.addEventListener("visibilitychange",v)}return e.Velocity=p,e!==t&&(e.fn.velocity=y,e.fn.velocity.defaults=p.defaults),c.each(["Down","Up"],(function(e,t){p.Redirects["slide"+t]=function(e,n,r,o,i,a){var s=c.extend({},n),u=s.begin,l=s.complete,f={},d={height:"",marginTop:"",marginBottom:"",paddingTop:"",paddingBottom:""};void 0===s.display&&(s.display="Down"===t?"inline"===p.CSS.Values.getDisplayType(e)?"inline-block":"block":"none"),s.begin=function(){for(var n in 0===r&&u&&u.call(i,i),d)if(d.hasOwnProperty(n)){f[n]=e.style[n];var o=g.getPropertyValue(e,n);d[n]="Down"===t?[o,0]:[0,o]}f.overflow=e.style.overflow,e.style.overflow="hidden"},s.complete=function(){for(var t in f)f.hasOwnProperty(t)&&(e.style[t]=f[t]);r===o-1&&(l&&l.call(i,i),a&&a.resolver(i))},p(e,d,s)}})),c.each(["In","Out"],(function(e,t){p.Redirects["fade"+t]=function(e,n,r,o,i,a){var s=c.extend({},n),u=s.complete,l={opacity:"In"===t?1:0};0!==r&&(s.begin=null),s.complete=r!==o-1?null:function(){u&&u.call(i,i),a&&a.resolver(i)},void 0===s.display&&(s.display="In"===t?"auto":"none"),p(this,l,s)}})),p}function b(e){var t=c.data(e,"velocity");return null===t?void 0:t}function M(e,t){var n=b(e);n&&n.delayTimer&&!n.delayPaused&&(n.delayRemaining=n.delay-t+n.delayBegin,n.delayPaused=!0,clearTimeout(n.delayTimer.setTimeout))}function w(e,t){var n=b(e);n&&n.delayTimer&&n.delayPaused&&(n.delayPaused=!1,n.delayTimer.setTimeout=setTimeout(n.delayTimer.next,n.delayRemaining))}function N(e){return function(t){return Math.round(t*e)*(1/e)}}function j(e,n,r,o){var i=4,a=.001,s=1e-7,u=10,l=11,c=1/(l-1),f="Float32Array"in t;if(4!==arguments.length)return!1;for(var d=0;d<4;++d)if("number"!==typeof arguments[d]||isNaN(arguments[d])||!isFinite(arguments[d]))return!1;e=Math.min(e,1),r=Math.min(r,1),e=Math.max(e,0),r=Math.max(r,0);var p=f?new Float32Array(l):new Array(l);function h(e,t){return 1-3*t+3*e}function g(e,t){return 3*t-6*e}function y(e){return 3*e}function m(e,t,n){return((h(t,n)*e+g(t,n))*e+y(t))*e}function v(e,t,n){return 3*h(t,n)*e*e+2*g(t,n)*e+y(t)}function b(t,n){for(var o=0;o<i;++o){var a=v(n,e,r);if(0===a)return n;n-=(m(n,e,r)-t)/a}return n}function M(){for(var t=0;t<l;++t)p[t]=m(t*c,e,r)}function w(t,n,o){var i,a,l=0;do{(i=m(a=n+(o-n)/2,e,r)-t)>0?o=a:n=a}while(Math.abs(i)>s&&++l<u);return a}function N(t){for(var n=0,o=1,i=l-1;o!==i&&p[o]<=t;++o)n+=c;--o;var s=n+(t-p[o])/(p[o+1]-p[o])*c,u=v(s,e,r);return u>=a?b(t,s):0===u?s:w(t,n,n+c)}var j=!1;function S(){j=!0,e===n&&r===o||M()}var I=function(t){return j||S(),e===n&&r===o?t:0===t?0:1===t?1:m(N(t),n,o)};I.getControlPoints=function(){return[{x:e,y:n},{x:r,y:o}]};var D="generateBezier("+[e,n,r,o]+")";return I.toString=function(){return D},I}function S(e,t){var n=e;return f.isString(e)?p.Easings[e]||(n=!1):n=f.isArray(e)&&1===e.length?N.apply(null,e):f.isArray(e)&&2===e.length?h.apply(null,e.concat([t])):!(!f.isArray(e)||4!==e.length)&&j.apply(null,e),!1===n&&(n=p.Easings[p.defaults.easing]?p.defaults.easing:"swing"),n}function I(e){if(e){var t=p.timestamp&&!0!==e?e:a.now(),n=p.State.calls.length;n>1e4&&(p.State.calls=function(e){for(var t=-1,n=e?e.length:0,r=[];++t<n;){var o=e[t];o&&r.push(o)}return r}(p.State.calls),n=p.State.calls.length);for(var r=0;r<n;r++)if(p.State.calls[r]){var i=p.State.calls[r],s=i[0],u=i[2],l=i[3],d=!l,h=null,y=i[5],v=i[6];if(l||(l=p.State.calls[r][3]=t-16),y){if(!0!==y.resume)continue;l=i[3]=Math.round(t-v-16),i[5]=null}v=i[6]=t-l;for(var M=Math.min(v/u.duration,1),w=0,N=s.length;w<N;w++){var j=s[w],S=j.element;if(b(S)){var x=!1;if(void 0!==u.display&&null!==u.display&&"none"!==u.display){if("flex"===u.display){c.each(["-webkit-box","-moz-box","-ms-flexbox","-webkit-flex"],(function(e,t){g.setPropertyValue(S,"display",t)}))}g.setPropertyValue(S,"display",u.display)}for(var E in void 0!==u.visibility&&"hidden"!==u.visibility&&g.setPropertyValue(S,"visibility",u.visibility),j)if(j.hasOwnProperty(E)&&"element"!==E){var O,T=j[E],C=f.isString(T.easing)?p.Easings[T.easing]:T.easing;if(f.isString(T.pattern)){var k=1===M?function(e,t,n){var r=T.endValue[t];return n?Math.round(r):r}:function(e,t,n){var r=T.startValue[t],o=T.endValue[t]-r,i=r+o*C(M,u,o);return n?Math.round(i):i};O=T.pattern.replace(/{(\d+)(!)?}/g,k)}else if(1===M)O=T.endValue;else{var L=T.endValue-T.startValue;O=T.startValue+L*C(M,u,L)}if(!d&&O===T.currentValue)continue;if(T.currentValue=O,"tween"===E)h=O;else{var _;if(g.Hooks.registered[E]){_=g.Hooks.getRoot(E);var A=b(S).rootPropertyValueCache[_];A&&(T.rootPropertyValue=A)}var z=g.setPropertyValue(S,E,T.currentValue+(o<9&&0===parseFloat(O)?"":T.unitType),T.rootPropertyValue,T.scrollData);g.Hooks.registered[E]&&(g.Normalizations.registered[_]?b(S).rootPropertyValueCache[_]=g.Normalizations.registered[_]("extract",null,z[1]):b(S).rootPropertyValueCache[_]=z[1]),"transform"===z[0]&&(x=!0)}}u.mobileHA&&void 0===b(S).transformCache.translate3d&&(b(S).transformCache.translate3d="(0px, 0px, 0px)",x=!0),x&&g.flushTransformCache(S)}}void 0!==u.display&&"none"!==u.display&&(p.State.calls[r][2].display=!1),void 0!==u.visibility&&"hidden"!==u.visibility&&(p.State.calls[r][2].visibility=!1),u.progress&&u.progress.call(i[1],i[1],M,Math.max(0,l+u.duration-t),l,h),1===M&&D(r)}}p.State.isTicking&&m(I)}function D(e,t){if(!p.State.calls[e])return!1;for(var n=p.State.calls[e][0],r=p.State.calls[e][1],o=p.State.calls[e][2],i=p.State.calls[e][4],a=!1,s=0,u=n.length;s<u;s++){var l=n[s].element;t||o.loop||("none"===o.display&&g.setPropertyValue(l,"display",o.display),"hidden"===o.visibility&&g.setPropertyValue(l,"visibility",o.visibility));var f=b(l);if(!0!==o.loop&&(void 0===c.queue(l)[1]||!/\.velocityQueueEntryFlag/i.test(c.queue(l)[1]))&&f){f.isAnimating=!1,f.rootPropertyValueCache={};var d=!1;c.each(g.Lists.transforms3D,(function(e,t){var n=/^scale/.test(t)?1:0,r=f.transformCache[t];void 0!==f.transformCache[t]&&new RegExp("^\\("+n+"[^.]").test(r)&&(d=!0,delete f.transformCache[t])})),o.mobileHA&&(d=!0,delete f.transformCache.translate3d),d&&g.flushTransformCache(l),g.Values.removeClass(l,"velocity-animating")}if(!t&&o.complete&&!o.loop&&s===u-1)try{o.complete.call(r,r)}catch(m){setTimeout((function(){throw m}),1)}i&&!0!==o.loop&&i(r),f&&!0===o.loop&&!t&&(c.each(f.tweensContainer,(function(e,t){if(/^rotate/.test(e)&&(parseFloat(t.startValue)-parseFloat(t.endValue))%360===0){var n=t.startValue;t.startValue=t.endValue,t.endValue=n}/^backgroundPosition/.test(e)&&100===parseFloat(t.endValue)&&"%"===t.unitType&&(t.endValue=0,t.startValue=100)})),p(l,"reverse",{loop:!0,delay:o.delay})),!1!==o.queue&&c.dequeue(l,o.queue)}p.State.calls[e]=!1;for(var h=0,y=p.State.calls.length;h<y;h++)if(!1!==p.State.calls[h]){a=!0;break}!1===a&&(p.State.isTicking=!1,delete p.State.calls,p.State.calls=[])}jQuery.fn.velocity=jQuery.fn.animate}(window.jQuery||window.Zepto||window,window,window?window.document:void 0)}))},function(e,t,n){"use strict";var r=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},o=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}}();function i(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 s(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={each:n(705),extend:n(706),forEach:n(258),isEqual:n(213),keys:n(108),omit:n(362),map:n(711)},l=n(0),c=n(15),f=n(2),d=n(235),p=n(234).default,h=n(261),g="undefined"!==typeof window&&(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,0)});g="undefined"!==typeof window&&g.bind(window);var y="undefined"!==typeof window&&(window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||function(e){window.clearTimeout(e)});y="undefined"!==typeof window&&y.bind(window);var m=function(e){function t(){var e,n,r;i(this,t);for(var o=arguments.length,s=Array(o),u=0;u<o;u++)s[u]=arguments[u];return n=r=a(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(s))),r.lastState="appear",r.componentWillEnter=function(e,t){r.lastState=t?"appear":"enter"},r.componentWillExit=function(){r.lastState="exit"},r.endListener=function(e,t){switch(r.lastState){case"appear":r.props.willAppearFunc(e,t);break;case"enter":r.props.willEnterFunc(e,t);break;case"exit":r.props.willLeaveFunc(e,t)}},a(r,n)}return s(t,e),o(t,[{key:"componentWillUnmount",value:function(){h.Utilities.removeData(c.findDOMNode(this),["velocity","fxqueue"])}},{key:"render",value:function(){var e=u.omit(this.props,u.keys(t.propTypes));return l.createElement(p,r({},e,{timeout:null,addEndListener:this.endListener,appear:!0,onEnter:this.componentWillEnter,onExit:this.componentWillExit}),this.props.children)}}]),t}(l.Component);m.propTypes={children:f.element.isRequired,willAppearFunc:f.func.isRequired,willEnterFunc:f.func.isRequired,willLeaveFunc:f.func.isRequired};var v=function(e){function t(e){i(this,t);var n=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n._scheduledAnimationFrame=null,n._scheduledAnimationRunFrames=[],n._entering=[],n._leaving=[],n._timers=[],n._unmounted=!1,n.childWillAppear=n.childWillAppear.bind(n),n.childWillEnter=n.childWillEnter.bind(n),n.childWillLeave=n.childWillLeave.bind(n),n._runAnimations=n._runAnimations.bind(n),n._wrapChild=n._wrapChild.bind(n),n}return s(t,e),o(t,[{key:"componentWillUnmount",value:function(){this._scheduledAnimationFrame&&y(this._scheduledAnimationFrame),u.forEach(this._timers,(function(e){clearTimeout(e)})),u.forEach(this._scheduledAnimationRunFrames,(function(e){y(e)})),this._unmounted=!0}},{key:"render",value:function(){var e=u.omit(this.props,u.keys(t.propTypes));return l.createElement(d,e,this.constructor.disabledForTest||h.velocityReactServerShim?l.Children.map(this.props.children,(function(e){return e&&l.createElement(p,{timeout:0},e)})):l.Children.map(this.props.children,this._wrapChild))}},{key:"childWillAppear",value:function(e,t){var n=this;if(this.props.runOnMount)this.childWillEnter(e,t);else{this._finishAnimation(e,this.props.enter);var r=setTimeout((function(){var e=n._timers.indexOf(r);e>=0&&n._timers.splice(e,1),t()}),0);this._timers.push(r)}}},{key:"childWillEnter",value:function(e,t){this._shortCircuitAnimation(this.props.enter,t)||(this._finishAnimation(e,this.props.leave,{begin:void 0,complete:void 0}),u.forEach(this.props.enterHideStyle,(function(t,n){h.CSS.setPropertyValue(e,n,t)})),this._entering.push({node:e,doneFn:t}),this._schedule())}},{key:"childWillLeave",value:function(e,t){this._shortCircuitAnimation(this.props.leave,t)||(this._leaving.push({node:e,doneFn:t}),this._schedule())}},{key:"_shortCircuitAnimation",value:function(e,t){return!(!document.hidden&&null!=this._parseAnimationProp(e).animation)&&(t(),!0)}},{key:"_schedule",value:function(){this._scheduledAnimationFrame||(this._scheduledAnimationFrame=g(this._runAnimations))}},{key:"_runAnimations",value:function(){this._scheduledAnimationFrame=null,this._runAnimation(!0,this._entering,this.props.enter),this._runAnimation(!1,this._leaving,this.props.leave),this._entering=[],this._leaving=[]}},{key:"_parseAnimationProp",value:function(e){var t,n,r;return"string"===typeof e?(t=e,r=null,n={}):(t=null!=e?e.animation:null,r=null!=e?e.style:null,n=u.omit(e,"animation","style")),{animation:t,style:r,opts:n}}},{key:"_runAnimation",value:function(e,t,n){var r=this;if(0!==t.length){var o=u.map(t,"node"),i=u.map(t,"doneFn"),a=this._parseAnimationProp(n),s=a.animation,l=a.style,c=a.opts;e&&(u.isEqual(this.props.enterShowStyle,{display:""})&&(/^(fade|slide)/.test(s)||/In$/.test(s))||(l=u.extend({},this.props.enterShowStyle,l))),null!=l&&u.each(l,(function(e,t){h.hook(o,t,e)}));var f,d=function(){r._unmounted||i.map((function(e){e()}))};if(e?(d(),d=null):h(o,"stop"),d&&c.complete){var p=c.complete;f=function(){d(),p.apply(this,arguments)}}else f=d||c.complete;var y=g((function(){var e=r._scheduledAnimationRunFrames.indexOf(y);e>=0&&r._scheduledAnimationRunFrames.splice(e,1),h(o,s,u.extend({},c,{complete:f}))}));this._scheduledAnimationRunFrames.push(y)}}},{key:"_finishAnimation",value:function(e,t,n){var r=this._parseAnimationProp(t),o=r.animation,i=r.style,a=u.extend({},r.opts,n);null!=i&&u.each(i,(function(t,n){h.hook(e,n,t)})),null!=o&&(h(e,o,a),h(e,"finishAll",!0))}},{key:"_wrapChild",value:function(e){return e?l.createElement(m,{key:e.key,willAppearFunc:this.childWillAppear,willEnterFunc:this.childWillEnter,willLeaveFunc:this.childWillLeave},e):null}}]),t}(l.Component);v.disabledForTest=!1,v.propTypes={runOnMount:f.bool,enter:f.any,leave:f.any,children:f.any,enterHideStyle:f.object,enterShowStyle:f.object},v.defaultProps={runOnMount:!1,enter:null,leave:null,enterHideStyle:{display:"none"},enterShowStyle:{display:""}},e.exports=v},function(e,t,n){e.exports=n(258)},function(e,t,n){e.exports=n(707)},function(e,t,n){var r=n(128),o=n(708),i=n(185),a=o((function(e,t){r(t,i(t),e)}));e.exports=a},function(e,t,n){var r=n(709),o=n(710);e.exports=function(e){return r((function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,s=i>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(i--,a):void 0,s&&o(n[0],n[1],s)&&(a=i<3?void 0:a,i=1),t=Object(t);++r<i;){var u=n[r];u&&e(t,u,r,a)}return t}))}},function(e,t,n){var r=n(172),o=n(366),i=n(367);e.exports=function(e,t){return i(o(e,t,r),e+"")}},function(e,t,n){var r=n(167),o=n(148),i=n(222),a=n(98);e.exports=function(e,t,n){if(!a(n))return!1;var s=typeof t;return!!("number"==s?o(n)&&i(t,n.length):"string"==s&&t in n)&&r(n[t],e)}},function(e,t,n){var r=n(232),o=n(313),i=n(712),a=n(62);e.exports=function(e,t){return(a(e)?r:i)(e,o(t,3))}},function(e,t,n){var r=n(228),o=n(148);e.exports=function(e,t){var n=-1,i=o(e)?Array(e.length):[];return r(e,(function(e,r,o){i[++n]=t(e,r,o)})),i}},function(e,t,n){"use strict";var r={isObject:n(98)},o=n(261),i=0;e.exports={registerEffect:function(e,t){r.isObject(e)&&(t=e,e="");var n="VelocityHelper.animation."+i+++e;if(o.velocityReactServerShim)return n;if(void 0===o.RegisterEffect)throw"Velocity.RegisterEffect not found. You need to require 'velocity-animate/velocity.ui' at a top level for UI Pack.";return o.RegisterEffect(n,t),n}}},function(e,t,n){"use strict";var r=60103,o=60106,i=60107,a=60108,s=60114,u=60109,l=60110,c=60112,f=60113,d=60120,p=60115,h=60116,g=60121,y=60122,m=60117,v=60129,b=60131;if("function"===typeof Symbol&&Symbol.for){var M=Symbol.for;r=M("react.element"),o=M("react.portal"),i=M("react.fragment"),a=M("react.strict_mode"),s=M("react.profiler"),u=M("react.provider"),l=M("react.context"),c=M("react.forward_ref"),f=M("react.suspense"),d=M("react.suspense_list"),p=M("react.memo"),h=M("react.lazy"),g=M("react.block"),y=M("react.server.block"),m=M("react.fundamental"),v=M("react.debug_trace_mode"),b=M("react.legacy_hidden")}function w(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case i:case s:case a:case f:case d:return e;default:switch(e=e&&e.$$typeof){case l:case c:case h:case p:case u:return e;default:return t}}case o:return t}}}var N=u,j=r,S=c,I=i,D=h,x=p,E=o,O=s,T=a,C=f;t.ContextConsumer=l,t.ContextProvider=N,t.Element=j,t.ForwardRef=S,t.Fragment=I,t.Lazy=D,t.Memo=x,t.Portal=E,t.Profiler=O,t.StrictMode=T,t.Suspense=C,t.isAsyncMode=function(){return!1},t.isConcurrentMode=function(){return!1},t.isContextConsumer=function(e){return w(e)===l},t.isContextProvider=function(e){return w(e)===u},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===c},t.isFragment=function(e){return w(e)===i},t.isLazy=function(e){return w(e)===h},t.isMemo=function(e){return w(e)===p},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===f},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===i||e===s||e===v||e===a||e===f||e===d||e===b||"object"===typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===p||e.$$typeof===u||e.$$typeof===l||e.$$typeof===c||e.$$typeof===m||e.$$typeof===g||e[0]===y)},t.typeOf=w},function(e,t,n){(function(t){(function(){var n,r,o,i,a,s;"undefined"!==typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:"undefined"!==typeof t&&null!==t&&t.hrtime?(e.exports=function(){return(n()-a)/1e6},r=t.hrtime,i=(n=function(){var e;return 1e9*(e=r())[0]+e[1]})(),s=1e9*t.uptime(),a=i-s):Date.now?(e.exports=function(){return Date.now()-o},o=Date.now()):(e.exports=function(){return(new Date).getTime()-o},o=(new Date).getTime())}).call(this)}).call(this,n(124))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.defaultProps=void 0;var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(n(0)),o=g(n(201)),i=n(263),a=g(n(717)),s=n(718),u=n(720),l=n(728),c=n(264),f=n(729),d=n(730),p=n(731),h=n(732);function g(e){return e&&e.__esModule?e:{default:e}}function y(e){return(y="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function m(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function v(){return(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}).apply(this,arguments)}function b(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function M(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){I(e,t,n[t])}))}return e}function w(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)}}function N(e){return(N=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function j(e,t){return(j=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function S(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var D={backspaceRemovesValue:!0,blurInputOnSelect:(0,c.isTouchCapable)(),captureMenuScroll:!(0,c.isTouchCapable)(),closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:(0,s.createFilter)(),formatGroupLabel:f.formatGroupLabel,getOptionLabel:f.getOptionLabel,getOptionValue:f.getOptionValue,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:f.isOptionDisabled,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!(0,c.isMobileDevice)(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:"0",tabSelectsValue:!0};t.defaultProps=D;var x=1,E=function(e){function t(e){var n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=function(e,t){return!t||"object"!==y(t)&&"function"!==typeof t?S(e):t}(this,N(t).call(this,e)),I(S(S(n)),"state",{ariaLiveSelection:"",ariaLiveContext:"",focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,menuOptions:{render:[],focusable:[]},selectValue:[]}),I(S(S(n)),"blockOptionHover",!1),I(S(S(n)),"isComposing",!1),I(S(S(n)),"clearFocusValueOnUpdate",!1),I(S(S(n)),"commonProps",void 0),I(S(S(n)),"components",void 0),I(S(S(n)),"hasGroups",!1),I(S(S(n)),"initialTouchX",0),I(S(S(n)),"initialTouchY",0),I(S(S(n)),"inputIsHiddenAfterUpdate",void 0),I(S(S(n)),"instancePrefix",""),I(S(S(n)),"openAfterFocus",!1),I(S(S(n)),"scrollToFocusedOptionOnUpdate",!1),I(S(S(n)),"userIsDragging",void 0),I(S(S(n)),"controlRef",null),I(S(S(n)),"getControlRef",(function(e){n.controlRef=e})),I(S(S(n)),"focusedOptionRef",null),I(S(S(n)),"getFocusedOptionRef",(function(e){n.focusedOptionRef=e})),I(S(S(n)),"menuListRef",null),I(S(S(n)),"getMenuListRef",(function(e){n.menuListRef=e})),I(S(S(n)),"inputRef",null),I(S(S(n)),"getInputRef",(function(e){n.inputRef=e})),I(S(S(n)),"cacheComponents",(function(e){n.components=(0,d.defaultComponents)({components:e})})),I(S(S(n)),"focus",n.focusInput),I(S(S(n)),"blur",n.blurInput),I(S(S(n)),"onChange",(function(e,t){var r=n.props;(0,r.onChange)(e,M({},t,{name:r.name}))})),I(S(S(n)),"setValue",(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"set-value",r=arguments.length>2?arguments[2]:void 0,o=n.props,i=o.closeMenuOnSelect,a=o.isMulti;n.onInputChange("",{action:"set-value"}),i&&(n.inputIsHiddenAfterUpdate=!a,n.onMenuClose()),n.clearFocusValueOnUpdate=!0,n.onChange(e,{action:t,option:r})})),I(S(S(n)),"selectOption",(function(e){var t=n.props,r=t.blurInputOnSelect,o=t.isMulti,i=n.state.selectValue;if(o)if(n.isOptionSelected(e,i)){var a=n.getOptionValue(e);n.setValue(i.filter((function(e){return n.getOptionValue(e)!==a})),"deselect-option",e),n.announceAriaLiveSelection({event:"deselect-option",context:{value:n.getOptionLabel(e)}})}else n.isOptionDisabled(e,i)?n.announceAriaLiveSelection({event:"select-option",context:{value:n.getOptionLabel(e),isDisabled:!0}}):(n.setValue([].concat(b(i),[e]),"select-option",e),n.announceAriaLiveSelection({event:"select-option",context:{value:n.getOptionLabel(e)}}));else n.isOptionDisabled(e,i)?n.announceAriaLiveSelection({event:"select-option",context:{value:n.getOptionLabel(e),isDisabled:!0}}):(n.setValue(e,"select-option"),n.announceAriaLiveSelection({event:"select-option",context:{value:n.getOptionLabel(e)}}));r&&n.blurInput()})),I(S(S(n)),"removeValue",(function(e){var t=n.state.selectValue,r=n.getOptionValue(e);n.onChange(t.filter((function(e){return n.getOptionValue(e)!==r})),{action:"remove-value",removedValue:e}),n.announceAriaLiveSelection({event:"remove-value",context:{value:e?n.getOptionLabel(e):""}}),n.focusInput()})),I(S(S(n)),"clearValue",(function(){var e=n.props.isMulti;n.onChange(e?[]:null,{action:"clear"})})),I(S(S(n)),"popValue",(function(){var e=n.state.selectValue,t=e[e.length-1];n.announceAriaLiveSelection({event:"pop-value",context:{value:t?n.getOptionLabel(t):""}}),n.onChange(e.slice(0,e.length-1),{action:"pop-value",removedValue:t})})),I(S(S(n)),"getOptionLabel",(function(e){return n.props.getOptionLabel(e)})),I(S(S(n)),"getOptionValue",(function(e){return n.props.getOptionValue(e)})),I(S(S(n)),"getStyles",(function(e,t){var r=p.defaultStyles[e](t);r.boxSizing="border-box";var o=n.props.styles[e];return o?o(r,t):r})),I(S(S(n)),"getElementId",(function(e){return"".concat(n.instancePrefix,"-").concat(e)})),I(S(S(n)),"getActiveDescendentId",(function(){var e=n.props.menuIsOpen,t=n.state,r=t.menuOptions,o=t.focusedOption;if(o&&e){var i=r.focusable.indexOf(o),a=r.render[i];return a&&a.key}})),I(S(S(n)),"announceAriaLiveSelection",(function(e){var t=e.event,r=e.context;n.setState({ariaLiveSelection:(0,l.valueEventAriaMessage)(t,r)})})),I(S(S(n)),"announceAriaLiveContext",(function(e){var t=e.event,r=e.context;n.setState({ariaLiveContext:(0,l.instructionsAriaMessage)(t,M({},r,{label:n.props["aria-label"]}))})})),I(S(S(n)),"onMenuMouseDown",(function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),n.focusInput())})),I(S(S(n)),"onMenuMouseMove",(function(e){n.blockOptionHover=!1})),I(S(S(n)),"onControlMouseDown",(function(e){var t=n.props.openMenuOnClick;n.state.isFocused?n.props.menuIsOpen?"INPUT"!==e.target.tagName&&n.onMenuClose():t&&n.openMenu("first"):(t&&(n.openAfterFocus=!0),n.focusInput()),"INPUT"!==e.target.tagName&&e.preventDefault()})),I(S(S(n)),"onDropdownIndicatorMouseDown",(function(e){if((!e||"mousedown"!==e.type||0===e.button)&&!n.props.isDisabled){var t=n.props,r=t.isMulti,o=t.menuIsOpen;n.focusInput(),o?(n.inputIsHiddenAfterUpdate=!r,n.onMenuClose()):n.openMenu("first"),e.preventDefault(),e.stopPropagation()}})),I(S(S(n)),"onClearIndicatorMouseDown",(function(e){e&&"mousedown"===e.type&&0!==e.button||(n.clearValue(),e.stopPropagation(),n.openAfterFocus=!1,setTimeout((function(){return n.focusInput()})))})),I(S(S(n)),"onScroll",(function(e){"boolean"===typeof n.props.closeMenuOnScroll?e.target instanceof HTMLElement&&(0,c.isDocumentElement)(e.target)&&n.props.onMenuClose():"function"===typeof n.props.closeMenuOnScroll&&n.props.closeMenuOnScroll(e)&&n.props.onMenuClose()})),I(S(S(n)),"onCompositionStart",(function(){n.isComposing=!0})),I(S(S(n)),"onCompositionEnd",(function(){n.isComposing=!1})),I(S(S(n)),"onTouchStart",(function(e){var t=e.touches.item(0);t&&(n.initialTouchX=t.clientX,n.initialTouchY=t.clientY,n.userIsDragging=!1)})),I(S(S(n)),"onTouchMove",(function(e){var t=e.touches.item(0);if(t){var r=Math.abs(t.clientX-n.initialTouchX),o=Math.abs(t.clientY-n.initialTouchY);n.userIsDragging=r>5||o>5}})),I(S(S(n)),"onTouchEnd",(function(e){n.userIsDragging||(n.controlRef&&!n.controlRef.contains(e.target)&&n.menuListRef&&!n.menuListRef.contains(e.target)&&n.blurInput(),n.initialTouchX=0,n.initialTouchY=0)})),I(S(S(n)),"onControlTouchEnd",(function(e){n.userIsDragging||n.onControlMouseDown(e)})),I(S(S(n)),"onClearIndicatorTouchEnd",(function(e){n.userIsDragging||n.onClearIndicatorMouseDown(e)})),I(S(S(n)),"onDropdownIndicatorTouchEnd",(function(e){n.userIsDragging||n.onDropdownIndicatorMouseDown(e)})),I(S(S(n)),"handleInputChange",(function(e){var t=e.currentTarget.value;n.inputIsHiddenAfterUpdate=!1,n.onInputChange(t,{action:"input-change"}),n.onMenuOpen()})),I(S(S(n)),"onInputFocus",(function(e){var t=n.props,r=t.isSearchable,o=t.isMulti;n.props.onFocus&&n.props.onFocus(e),n.inputIsHiddenAfterUpdate=!1,n.announceAriaLiveContext({event:"input",context:{isSearchable:r,isMulti:o}}),n.setState({isFocused:!0}),(n.openAfterFocus||n.props.openMenuOnFocus)&&n.openMenu("first"),n.openAfterFocus=!1})),I(S(S(n)),"onInputBlur",(function(e){n.menuListRef&&n.menuListRef.contains(document.activeElement)?n.inputRef.focus():(n.props.onBlur&&n.props.onBlur(e),n.onInputChange("",{action:"input-blur"}),n.onMenuClose(),n.setState({focusedValue:null,isFocused:!1}))})),I(S(S(n)),"onOptionHover",(function(e){n.blockOptionHover||n.state.focusedOption===e||n.setState({focusedOption:e})})),I(S(S(n)),"shouldHideSelectedOptions",(function(){var e=n.props,t=e.hideSelectedOptions,r=e.isMulti;return void 0===t?r:t})),I(S(S(n)),"onKeyDown",(function(e){var t=n.props,r=t.isMulti,o=t.backspaceRemovesValue,i=t.escapeClearsValue,a=t.inputValue,s=t.isClearable,u=t.isDisabled,l=t.menuIsOpen,c=t.onKeyDown,f=t.tabSelectsValue,d=t.openMenuOnFocus,p=n.state,h=p.focusedOption,g=p.focusedValue,y=p.selectValue;if(!u&&("function"!==typeof c||(c(e),!e.defaultPrevented))){switch(n.blockOptionHover=!0,e.key){case"ArrowLeft":if(!r||a)return;n.focusValue("previous");break;case"ArrowRight":if(!r||a)return;n.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(g)n.removeValue(g);else{if(!o)return;r?n.popValue():s&&n.clearValue()}break;case"Tab":if(n.isComposing)return;if(e.shiftKey||!l||!f||!h||d&&n.isOptionSelected(h,y))return;n.selectOption(h);break;case"Enter":if(229===e.keyCode)break;if(l){if(!h)return;if(n.isComposing)return;n.selectOption(h);break}return;case"Escape":l?(n.inputIsHiddenAfterUpdate=!1,n.onInputChange("",{action:"menu-close"}),n.onMenuClose()):s&&i&&n.clearValue();break;case" ":if(a)return;if(!l){n.openMenu("first");break}if(!h)return;n.selectOption(h);break;case"ArrowUp":l?n.focusOption("up"):n.openMenu("last");break;case"ArrowDown":l?n.focusOption("down"):n.openMenu("first");break;case"PageUp":if(!l)return;n.focusOption("pageup");break;case"PageDown":if(!l)return;n.focusOption("pagedown");break;case"Home":if(!l)return;n.focusOption("first");break;case"End":if(!l)return;n.focusOption("last");break;default:return}e.preventDefault()}}));var r=e.value;n.cacheComponents=(0,o.default)(n.cacheComponents,a.default).bind(S(S(n))),n.cacheComponents(e.components),n.instancePrefix="react-select-"+(n.props.instanceId||++x);var i=(0,c.cleanValue)(r),s=n.buildMenuOptions(e,i);return n.state.menuOptions=s,n.state.selectValue=i,n}var n,s,g;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&j(e,t)}(t,e),n=t,(s=[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput()}},{key:"componentWillReceiveProps",value:function(e){var t=this.props,n=t.options,r=t.value,o=t.inputValue;if(this.cacheComponents(e.components),e.value!==r||e.options!==n||e.inputValue!==o){var i=(0,c.cleanValue)(e.value),a=this.buildMenuOptions(e,i),s=this.getNextFocusedValue(i),u=this.getNextFocusedOption(a.focusable);this.setState({menuOptions:a,selectValue:i,focusedOption:u,focusedValue:s})}null!=this.inputIsHiddenAfterUpdate&&(this.setState({inputIsHidden:this.inputIsHiddenAfterUpdate}),delete this.inputIsHiddenAfterUpdate)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,r=t.menuIsOpen,o=this.state.isFocused;(o&&!n&&e.isDisabled||o&&r&&!e.menuIsOpen)&&this.focusInput(),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(0,c.scrollIntoView)(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){var e=this.props,t=e.isSearchable,n=e.isMulti;this.announceAriaLiveContext({event:"input",context:{isSearchable:t,isMulti:n}}),this.onInputChange("",{action:"menu-close"}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this.state,n=t.menuOptions,r=t.selectValue,o=t.isFocused,i=this.props.isMulti,a="first"===e?0:n.focusable.length-1;if(!i){var s=n.focusable.indexOf(r[0]);s>-1&&(a=s)}this.scrollToFocusedOptionOnUpdate=!(o&&this.menuListRef),this.inputIsHiddenAfterUpdate=!1,this.onMenuOpen(),this.setState({focusedValue:null,focusedOption:n.focusable[a]}),this.announceAriaLiveContext({event:"menu"})}},{key:"focusValue",value:function(e){var t=this.props,n=t.isMulti,r=t.isSearchable,o=this.state,i=o.selectValue,a=o.focusedValue;if(n){this.setState({focusedOption:null});var s=i.indexOf(a);a||(s=-1,this.announceAriaLiveContext({event:"value"}));var u=i.length-1,l=-1;if(i.length){switch(e){case"previous":l=0===s?0:-1===s?u:s-1;break;case"next":s>-1&&s<u&&(l=s+1)}-1===l&&this.announceAriaLiveContext({event:"input",context:{isSearchable:r,isMulti:n}}),this.setState({inputIsHidden:-1!==l,focusedValue:i[l]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state,r=n.focusedOption,o=n.menuOptions,i=o.focusable;if(i.length){var a=0,s=i.indexOf(r);r||(s=-1,this.announceAriaLiveContext({event:"menu"})),"up"===e?a=s>0?s-1:i.length-1:"down"===e?a=(s+1)%i.length:"pageup"===e?(a=s-t)<0&&(a=0):"pagedown"===e?(a=s+t)>i.length-1&&(a=i.length-1):"last"===e&&(a=i.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:i[a],focusedValue:null}),this.announceAriaLiveContext({event:"menu",context:{isDisabled:(0,f.isOptionDisabled)(i[a])}})}}},{key:"getTheme",value:function(){return this.props.theme?"function"===typeof this.props.theme?this.props.theme(h.defaultTheme):M({},h.defaultTheme,this.props.theme):h.defaultTheme}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.getStyles,n=this.setValue,r=this.selectOption,o=this.props,i=o.classNamePrefix,a=o.isMulti,s=o.isRtl,u=o.options,l=this.state.selectValue,f=this.hasValue();return{cx:c.classNames.bind(null,i),clearValue:e,getStyles:t,getValue:function(){return l},hasValue:f,isMulti:a,isRtl:s,options:u,selectOption:r,setValue:n,selectProps:o,theme:this.getTheme()}}},{key:"getNextFocusedValue",value:function(e){if(this.clearFocusValueOnUpdate)return this.clearFocusValueOnUpdate=!1,null;var t=this.state,n=t.focusedValue,r=t.selectValue.indexOf(n);if(r>-1){if(e.indexOf(n)>-1)return n;if(r<e.length)return e[r]}return null}},{key:"getNextFocusedOption",value:function(e){var t=this.state.focusedOption;return t&&e.indexOf(t)>-1?t:e[0]}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.state.menuOptions.render.length}},{key:"countOptions",value:function(){return this.state.menuOptions.focusable.length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return"function"===typeof this.props.isOptionDisabled&&this.props.isOptionDisabled(e,t)}},{key:"isOptionSelected",value:function(e,t){var n=this;if(t.indexOf(e)>-1)return!0;if("function"===typeof this.props.isOptionSelected)return this.props.isOptionSelected(e,t);var r=this.getOptionValue(e);return t.some((function(e){return n.getOptionValue(e)===r}))}},{key:"filterOption",value:function(e,t){return!this.props.filterOption||this.props.filterOption(e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"===typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"buildMenuOptions",value:function(e,t){var n=this,r=e.inputValue,o=void 0===r?"":r,i=e.options,a=function(e,r){var i=n.isOptionDisabled(e,t),a=n.isOptionSelected(e,t),s=n.getOptionLabel(e),u=n.getOptionValue(e);if(!(n.shouldHideSelectedOptions()&&a||!n.filterOption({label:s,value:u,data:e},o))){var l=i?void 0:function(){return n.onOptionHover(e)},c=i?void 0:function(){return n.selectOption(e)},f="".concat(n.getElementId("option"),"-").concat(r);return{innerProps:{id:f,onClick:c,onMouseMove:l,onMouseOver:l,tabIndex:-1},data:e,isDisabled:i,isSelected:a,key:f,label:s,type:"option",value:u}}};return i.reduce((function(e,t,r){if(t.options){n.hasGroups||(n.hasGroups=!0);var o=t.options.map((function(t,n){var o=a(t,"".concat(r,"-").concat(n));return o&&e.focusable.push(t),o})).filter(Boolean);if(o.length){var i="".concat(n.getElementId("group"),"-").concat(r);e.render.push({type:"group",key:i,data:t,options:o})}}else{var s=a(t,"".concat(r));s&&(e.render.push(s),e.focusable.push(t))}return e}),{render:[],focusable:[]})}},{key:"constructAriaLiveMessage",value:function(){var e=this.state,t=e.ariaLiveContext,n=e.selectValue,r=e.focusedValue,o=e.focusedOption,i=this.props,a=i.options,s=i.menuIsOpen,u=i.inputValue,c=i.screenReaderStatus,f=r?(0,l.valueFocusAriaMessage)({focusedValue:r,getOptionLabel:this.getOptionLabel,selectValue:n}):"",d=o&&s?(0,l.optionFocusAriaMessage)({focusedOption:o,getOptionLabel:this.getOptionLabel,options:a}):"",p=(0,l.resultsAriaMessage)({inputValue:u,screenReaderMessage:c({count:this.countOptions()})});return"".concat(f," ").concat(d," ").concat(p," ").concat(t)}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,o=e.inputId,i=e.inputValue,a=e.tabIndex,s=this.components.Input,l=this.state.inputIsHidden,f=o||this.getElementId("input");if(!n)return r.default.createElement(u.DummyInput,{id:f,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:c.noop,onFocus:this.onInputFocus,readOnly:!0,disabled:t,tabIndex:a,value:""});var d={"aria-autocomplete":"list","aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"]},p=this.commonProps,h=p.cx,g=p.theme,y=p.selectProps;return r.default.createElement(s,v({autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",cx:h,getStyles:this.getStyles,id:f,innerRef:this.getInputRef,isDisabled:t,isHidden:l,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,selectProps:y,spellCheck:"false",tabIndex:a,theme:g,type:"text",value:i},d))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.components,n=t.MultiValue,o=t.MultiValueContainer,i=t.MultiValueLabel,a=t.MultiValueRemove,s=t.SingleValue,u=t.Placeholder,l=this.commonProps,c=this.props,f=c.controlShouldRenderValue,d=c.isDisabled,p=c.isMulti,h=c.inputValue,g=c.placeholder,y=this.state,m=y.selectValue,b=y.focusedValue,M=y.isFocused;if(!this.hasValue()||!f)return h?null:r.default.createElement(u,v({},l,{key:"placeholder",isDisabled:d,isFocused:M}),g);if(p)return m.map((function(t){var s=t===b;return r.default.createElement(n,v({},l,{components:{Container:o,Label:i,Remove:a},isFocused:s,isDisabled:d,key:e.getOptionValue(t),removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault(),e.stopPropagation()}},data:t}),e.formatOptionLabel(t,"value"))}));if(h)return null;var w=m[0];return r.default.createElement(s,v({},l,{data:w,isDisabled:d}),this.formatOptionLabel(w,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.components.ClearIndicator,t=this.commonProps,n=this.props,o=n.isDisabled,i=n.isLoading,a=this.state.isFocused;if(!this.isClearable()||!e||o||!this.hasValue()||i)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return r.default.createElement(e,v({},t,{innerProps:s,isFocused:a}))}},{key:"renderLoadingIndicator",value:function(){var e=this.components.LoadingIndicator,t=this.commonProps,n=this.props,o=n.isDisabled,i=n.isLoading,a=this.state.isFocused;return e&&i?r.default.createElement(e,v({},t,{innerProps:{"aria-hidden":"true"},isDisabled:o,isFocused:a})):null}},{key:"renderIndicatorSeparator",value:function(){var e=this.components,t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var o=this.commonProps,i=this.props.isDisabled,a=this.state.isFocused;return r.default.createElement(n,v({},o,{isDisabled:i,isFocused:a}))}},{key:"renderDropdownIndicator",value:function(){var e=this.components.DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,o=this.state.isFocused,i={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return r.default.createElement(e,v({},t,{innerProps:i,isDisabled:n,isFocused:o}))}},{key:"renderMenu",value:function(){var e=this,t=this.components,n=t.Group,o=t.GroupHeading,a=t.Menu,s=t.MenuList,l=t.MenuPortal,c=t.LoadingMessage,f=t.NoOptionsMessage,d=t.Option,p=this.commonProps,h=this.state,g=h.focusedOption,y=h.menuOptions,b=this.props,M=b.captureMenuScroll,w=b.inputValue,N=b.isLoading,j=b.loadingMessage,S=b.minMenuHeight,I=b.maxMenuHeight,D=b.menuIsOpen,x=b.menuPlacement,E=b.menuPosition,O=b.menuPortalTarget,T=b.menuShouldBlockScroll,C=b.menuShouldScrollIntoView,k=b.noOptionsMessage,L=b.onMenuScrollToTop,_=b.onMenuScrollToBottom;if(!D)return null;var A,z=function(t){var n=g===t.data;return t.innerRef=n?e.getFocusedOptionRef:void 0,r.default.createElement(d,v({},p,t,{isFocused:n}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())A=y.render.map((function(t){if("group"===t.type){t.type;var i=m(t,["type"]),a="".concat(t.key,"-heading");return r.default.createElement(n,v({},p,i,{Heading:o,headingProps:{id:a},label:e.formatGroupLabel(t.data)}),t.options.map((function(e){return z(e)})))}if("option"===t.type)return z(t)}));else if(N){var P=j({inputValue:w});if(null===P)return null;A=r.default.createElement(c,p,P)}else{var R=k({inputValue:w});if(null===R)return null;A=r.default.createElement(f,p,R)}var U={minMenuHeight:S,maxMenuHeight:I,menuPlacement:x,menuPosition:E,menuShouldScrollIntoView:C},B=r.default.createElement(i.MenuPlacer,v({},p,U),(function(t){var n=t.ref,o=t.placerProps,i=o.placement,l=o.maxHeight;return r.default.createElement(a,v({},p,U,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:N,placement:i}),r.default.createElement(u.ScrollCaptor,{isEnabled:M,onTopArrive:L,onBottomArrive:_},r.default.createElement(u.ScrollBlock,{isEnabled:T},r.default.createElement(s,v({},p,{innerRef:e.getMenuListRef,isLoading:N,maxHeight:l}),A))))}));return O||"fixed"===E?r.default.createElement(l,v({},p,{appendTo:O,controlElement:this.controlRef,menuPlacement:x,menuPosition:E}),B):B}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,o=t.isDisabled,i=t.isMulti,a=t.name,s=this.state.selectValue;if(a&&!o){if(i){if(n){var u=s.map((function(t){return e.getOptionValue(t)})).join(n);return r.default.createElement("input",{name:a,type:"hidden",value:u})}var l=s.length>0?s.map((function(t,n){return r.default.createElement("input",{key:"i-".concat(n),name:a,type:"hidden",value:e.getOptionValue(t)})})):r.default.createElement("input",{name:a,type:"hidden"});return r.default.createElement("div",null,l)}var c=s[0]?this.getOptionValue(s[0]):"";return r.default.createElement("input",{name:a,type:"hidden",value:c})}}},{key:"renderLiveRegion",value:function(){return this.state.isFocused?r.default.createElement(u.A11yText,{"aria-live":"assertive"},r.default.createElement("p",{id:"aria-selection-event"},"\xa0",this.state.ariaLiveSelection),r.default.createElement("p",{id:"aria-context"},"\xa0",this.constructAriaLiveMessage())):null}},{key:"render",value:function(){var e=this.components,t=e.Control,n=e.IndicatorsContainer,o=e.SelectContainer,i=e.ValueContainer,a=this.props,s=a.className,u=a.id,l=a.isDisabled,c=a.menuIsOpen,f=this.state.isFocused,d=this.commonProps=this.getCommonProps();return r.default.createElement(o,v({},d,{className:s,innerProps:{id:u,onKeyDown:this.onKeyDown},isDisabled:l,isFocused:f}),this.renderLiveRegion(),r.default.createElement(t,v({},d,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:l,isFocused:f,menuIsOpen:c}),r.default.createElement(i,v({},d,{isDisabled:l}),this.renderPlaceholderOrValue(),this.renderInput()),r.default.createElement(n,v({},d,{isDisabled:l}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}])&&w(n.prototype,s),g&&w(n,g),t}(r.Component);t.default=E,I(E,"defaultProps",D)},function(e,t,n){"use strict";function r(e){return(r="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})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){try{return function e(t,n){if(t===n)return!0;if(t&&n&&"object"==r(t)&&"object"==r(n)){var s,u,l,c=o(t),f=o(n);if(c&&f){if((u=t.length)!=n.length)return!1;for(s=u;0!==s--;)if(!e(t[s],n[s]))return!1;return!0}if(c!=f)return!1;var d=t instanceof Date,p=n instanceof Date;if(d!=p)return!1;if(d&&p)return t.getTime()==n.getTime();var h=t instanceof RegExp,g=n instanceof RegExp;if(h!=g)return!1;if(h&&g)return t.toString()==n.toString();var y=i(t);if((u=y.length)!==i(n).length)return!1;for(s=u;0!==s--;)if(!a.call(n,y[s]))return!1;for(s=u;0!==s--;)if(("_owner"!==(l=y[s])||!t.$$typeof)&&!e(t[l],n[l]))return!1;return!0}return t!==t&&n!==n}(e,t)}catch(n){if(n.message&&n.message.match(/stack|recursion/i))return console.warn("Warning: react-fast-compare does not handle circular references.",n.name,n.message),!1;throw n}};var o=Array.isArray,i=Object.keys,a=Object.prototype.hasOwnProperty},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createFilter=void 0;var r=n(719);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var i=function(e){return e.replace(/^\s+|\s+$/g,"")},a=function(e){return"".concat(e.label," ").concat(e.value)};t.createFilter=function(e){return function(t,n){var s=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){o(e,t,n[t])}))}return e}({ignoreCase:!0,ignoreAccents:!0,stringify:a,trim:!0,matchFrom:"any"},e),u=s.ignoreCase,l=s.ignoreAccents,c=s.stringify,f=s.trim,d=s.matchFrom,p=f?i(n):n,h=f?i(c(t)):c(t);return u&&(p=p.toLowerCase(),h=h.toLowerCase()),l&&(p=(0,r.stripDiacritics)(p),h=(0,r.stripDiacritics)(h)),"start"===d?h.substr(0,p.length)===p:h.indexOf(p)>-1}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stripDiacritics=void 0;var r=[{base:"A",letters:/[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F]/g},{base:"AA",letters:/[\uA732]/g},{base:"AE",letters:/[\u00C6\u01FC\u01E2]/g},{base:"AO",letters:/[\uA734]/g},{base:"AU",letters:/[\uA736]/g},{base:"AV",letters:/[\uA738\uA73A]/g},{base:"AY",letters:/[\uA73C]/g},{base:"B",letters:/[\u0042\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181]/g},{base:"C",letters:/[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E]/g},{base:"D",letters:/[\u0044\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779]/g},{base:"DZ",letters:/[\u01F1\u01C4]/g},{base:"Dz",letters:/[\u01F2\u01C5]/g},{base:"E",letters:/[\u0045\u24BA\uFF25\u00C8\u00C9\u00CA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\u00CB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E]/g},{base:"F",letters:/[\u0046\u24BB\uFF26\u1E1E\u0191\uA77B]/g},{base:"G",letters:/[\u0047\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E]/g},{base:"H",letters:/[\u0048\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D]/g},{base:"I",letters:/[\u0049\u24BE\uFF29\u00CC\u00CD\u00CE\u0128\u012A\u012C\u0130\u00CF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197]/g},{base:"J",letters:/[\u004A\u24BF\uFF2A\u0134\u0248]/g},{base:"K",letters:/[\u004B\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2]/g},{base:"L",letters:/[\u004C\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780]/g},{base:"LJ",letters:/[\u01C7]/g},{base:"Lj",letters:/[\u01C8]/g},{base:"M",letters:/[\u004D\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C]/g},{base:"N",letters:/[\u004E\u24C3\uFF2E\u01F8\u0143\u00D1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4]/g},{base:"NJ",letters:/[\u01CA]/g},{base:"Nj",letters:/[\u01CB]/g},{base:"O",letters:/[\u004F\u24C4\uFF2F\u00D2\u00D3\u00D4\u1ED2\u1ED0\u1ED6\u1ED4\u00D5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\u00D6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\u00D8\u01FE\u0186\u019F\uA74A\uA74C]/g},{base:"OI",letters:/[\u01A2]/g},{base:"OO",letters:/[\uA74E]/g},{base:"OU",letters:/[\u0222]/g},{base:"P",letters:/[\u0050\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754]/g},{base:"Q",letters:/[\u0051\u24C6\uFF31\uA756\uA758\u024A]/g},{base:"R",letters:/[\u0052\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782]/g},{base:"S",letters:/[\u0053\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784]/g},{base:"T",letters:/[\u0054\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786]/g},{base:"TZ",letters:/[\uA728]/g},{base:"U",letters:/[\u0055\u24CA\uFF35\u00D9\u00DA\u00DB\u0168\u1E78\u016A\u1E7A\u016C\u00DC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244]/g},{base:"V",letters:/[\u0056\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245]/g},{base:"VY",letters:/[\uA760]/g},{base:"W",letters:/[\u0057\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72]/g},{base:"X",letters:/[\u0058\u24CD\uFF38\u1E8A\u1E8C]/g},{base:"Y",letters:/[\u0059\u24CE\uFF39\u1EF2\u00DD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE]/g},{base:"Z",letters:/[\u005A\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762]/g},{base:"a",letters:/[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250]/g},{base:"aa",letters:/[\uA733]/g},{base:"ae",letters:/[\u00E6\u01FD\u01E3]/g},{base:"ao",letters:/[\uA735]/g},{base:"au",letters:/[\uA737]/g},{base:"av",letters:/[\uA739\uA73B]/g},{base:"ay",letters:/[\uA73D]/g},{base:"b",letters:/[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253]/g},{base:"c",letters:/[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184]/g},{base:"d",letters:/[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A]/g},{base:"dz",letters:/[\u01F3\u01C6]/g},{base:"e",letters:/[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD]/g},{base:"f",letters:/[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C]/g},{base:"g",letters:/[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F]/g},{base:"h",letters:/[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265]/g},{base:"hv",letters:/[\u0195]/g},{base:"i",letters:/[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131]/g},{base:"j",letters:/[\u006A\u24D9\uFF4A\u0135\u01F0\u0249]/g},{base:"k",letters:/[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3]/g},{base:"l",letters:/[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u017F\u0142\u019A\u026B\u2C61\uA749\uA781\uA747]/g},{base:"lj",letters:/[\u01C9]/g},{base:"m",letters:/[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F]/g},{base:"n",letters:/[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5]/g},{base:"nj",letters:/[\u01CC]/g},{base:"o",letters:/[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275]/g},{base:"oi",letters:/[\u01A3]/g},{base:"ou",letters:/[\u0223]/g},{base:"oo",letters:/[\uA74F]/g},{base:"p",letters:/[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755]/g},{base:"q",letters:/[\u0071\u24E0\uFF51\u024B\uA757\uA759]/g},{base:"r",letters:/[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783]/g},{base:"s",letters:/[\u0073\u24E2\uFF53\u00DF\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B]/g},{base:"t",letters:/[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787]/g},{base:"tz",letters:/[\uA729]/g},{base:"u",letters:/[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289]/g},{base:"v",letters:/[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C]/g},{base:"vy",letters:/[\uA761]/g},{base:"w",letters:/[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73]/g},{base:"x",letters:/[\u0078\u24E7\uFF58\u1E8B\u1E8D]/g},{base:"y",letters:/[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF]/g},{base:"z",letters:/[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763]/g}];t.stripDiacritics=function(e){for(var t=0;t<r.length;t++)e=e.replace(r[t].letters,r[t].base);return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"A11yText",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"DummyInput",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"NodeResolver",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"ScrollBlock",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"ScrollCaptor",{enumerable:!0,get:function(){return s.default}});var r=u(n(721)),o=u(n(722)),i=u(n(265)),a=u(n(723)),s=u(n(727));function u(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(0))&&r.__esModule?r:{default:r},i=n(24);function a(){return(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}).apply(this,arguments)}var s=function(e){return o.default.createElement("span",a({className:(0,i.css)({label:"a11yText",zIndex:9999,border:0,clip:"rect(1px, 1px, 1px, 1px)",height:1,width:1,position:"absolute",overflow:"hidden",padding:0,whiteSpace:"nowrap",backgroundColor:"red",color:"blue"})},e))};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(n(0)),o=n(24);function i(e){return(i="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})(e)}function a(){return(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}).apply(this,arguments)}function s(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(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)}}function c(e,t){return!t||"object"!==i(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var p=function(e){function t(){return u(this,t),c(this,f(t).apply(this,arguments))}var n,i,p;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(t,e),n=t,(i=[{key:"render",value:function(){var e=this.props,t=(e.in,e.out,e.onExited,e.appear,e.enter,e.exit,e.innerRef),n=(e.emotion,s(e,["in","out","onExited","appear","enter","exit","innerRef","emotion"]));return r.default.createElement("input",a({ref:t},n,{className:(0,o.css)({label:"dummyInput",background:0,border:0,fontSize:"inherit",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(0)"})}))}}])&&l(n.prototype,i),p&&l(n,p),t}(r.Component);t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(n(0)),o=n(24),i=s(n(265)),a=s(n(724));function s(e){return e&&e.__esModule?e:{default:e}}function u(e){return(u="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})(e)}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(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)}}function f(e,t){return!t||"object"!==u(t)&&"function"!==typeof t?h(e):t}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var y=function(e){function t(){var e,n;l(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return g(h(h(n=f(this,(e=d(t)).call.apply(e,[this].concat(o))))),"state",{touchScrollTarget:null}),g(h(h(n)),"getScrollTarget",(function(e){e!==n.state.touchScrollTarget&&n.setState({touchScrollTarget:e})})),g(h(h(n)),"blurSelectInput",(function(){document.activeElement&&document.activeElement.blur()})),n}var n,s,u;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(t,e),n=t,(s=[{key:"render",value:function(){var e=this.props,t=e.children,n=e.isEnabled,s=this.state.touchScrollTarget;return n?r.default.createElement("div",null,r.default.createElement("div",{onClick:this.blurSelectInput,className:(0,o.css)({position:"fixed",left:0,bottom:0,right:0,top:0})}),r.default.createElement(i.default,{innerRef:this.getScrollTarget},t),s?r.default.createElement(a.default,{touchScrollTarget:s}):null):t}}])&&c(n.prototype,s),u&&c(n,u),t}(r.PureComponent);t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(0),o=n(725),i=n(726);function a(e){return(a="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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)}}function l(e,t){return!t||"object"!==a(t)&&"function"!==typeof t?d(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h=!("undefined"===typeof window||!window.document||!window.document.createElement),g=0,y=function(e){function t(){var e,n;s(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return p(d(d(n=l(this,(e=c(t)).call.apply(e,[this].concat(o))))),"originalStyles",{}),p(d(d(n)),"listenerOptions",{capture:!1,passive:!1}),n}var n,r,a;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}(t,e),n=t,(r=[{key:"componentDidMount",value:function(){var e=this;if(h){var t=this.props,n=t.accountForScrollbars,r=t.touchScrollTarget,a=document.body,s=a&&a.style;if(n&&o.STYLE_KEYS.forEach((function(t){var n=s&&s[t];e.originalStyles[t]=n})),n&&g<1){var u=parseInt(this.originalStyles.paddingRight,10)||0,l=document.body?document.body.clientWidth:0,c=window.innerWidth-l+u||0;Object.keys(o.LOCK_STYLES).forEach((function(e){var t=o.LOCK_STYLES[e];s&&(s[e]=t)})),s&&(s.paddingRight="".concat(c,"px"))}a&&(0,i.isTouchDevice)()&&(a.addEventListener("touchmove",i.preventTouchMove,this.listenerOptions),r&&(r.addEventListener("touchstart",i.preventInertiaScroll,this.listenerOptions),r.addEventListener("touchmove",i.allowTouchMove,this.listenerOptions))),g+=1}}},{key:"componentWillUnmount",value:function(){var e=this;if(h){var t=this.props,n=t.accountForScrollbars,r=t.touchScrollTarget,a=document.body,s=a&&a.style;g=Math.max(g-1,0),n&&g<1&&o.STYLE_KEYS.forEach((function(t){var n=e.originalStyles[t];s&&(s[t]=n)})),a&&(0,i.isTouchDevice)()&&(a.removeEventListener("touchmove",i.preventTouchMove,this.listenerOptions),r&&(r.removeEventListener("touchstart",i.preventInertiaScroll,this.listenerOptions),r.removeEventListener("touchmove",i.allowTouchMove,this.listenerOptions)))}}},{key:"render",value:function(){return null}}])&&u(n.prototype,r),a&&u(n,a),t}(r.Component);t.default=y,p(y,"defaultProps",{accountForScrollbars:!0})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LOCK_STYLES=t.STYLE_KEYS=void 0;t.STYLE_KEYS=["boxSizing","height","overflow","paddingRight","position"];t.LOCK_STYLES={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.preventTouchMove=function(e){e.preventDefault()},t.allowTouchMove=function(e){e.stopPropagation()},t.preventInertiaScroll=function(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)},t.isTouchDevice=function(){return"ontouchstart"in window||navigator.maxTouchPoints}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(n(0)),i=(r=n(265))&&r.__esModule?r:{default:r};function a(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function s(e){return(s="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})(e)}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(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)}}function c(e,t,n){return t&&l(e.prototype,t),n&&l(e,n),e}function f(e,t){return!t||"object"!==s(t)&&"function"!==typeof t?g(e):t}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function p(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var m=function(e){function t(){var e,n;u(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return y(g(g(n=f(this,(e=d(t)).call.apply(e,[this].concat(o))))),"isBottom",!1),y(g(g(n)),"isTop",!1),y(g(g(n)),"scrollTarget",void 0),y(g(g(n)),"touchStart",void 0),y(g(g(n)),"cancelScroll",(function(e){e.preventDefault(),e.stopPropagation()})),y(g(g(n)),"handleEventDelta",(function(e,t){var r=n.props,o=r.onBottomArrive,i=r.onBottomLeave,a=r.onTopArrive,s=r.onTopLeave,u=n.scrollTarget,l=u.scrollTop,c=u.scrollHeight,f=u.clientHeight,d=n.scrollTarget,p=t>0,h=c-f-l,g=!1;h>t&&n.isBottom&&(i&&i(e),n.isBottom=!1),p&&n.isTop&&(s&&s(e),n.isTop=!1),p&&t>h?(o&&!n.isBottom&&o(e),d.scrollTop=c,g=!0,n.isBottom=!0):!p&&-t>l&&(a&&!n.isTop&&a(e),d.scrollTop=0,g=!0,n.isTop=!0),g&&n.cancelScroll(e)})),y(g(g(n)),"onWheel",(function(e){n.handleEventDelta(e,e.deltaY)})),y(g(g(n)),"onTouchStart",(function(e){n.touchStart=e.changedTouches[0].clientY})),y(g(g(n)),"onTouchMove",(function(e){var t=n.touchStart-e.changedTouches[0].clientY;n.handleEventDelta(e,t)})),y(g(g(n)),"getScrollTarget",(function(e){n.scrollTarget=e})),n}return p(t,e),c(t,[{key:"componentDidMount",value:function(){this.startListening(this.scrollTarget)}},{key:"componentWillUnmount",value:function(){this.stopListening(this.scrollTarget)}},{key:"startListening",value:function(e){e&&(e.scrollHeight<=e.clientHeight||("function"===typeof e.addEventListener&&e.addEventListener("wheel",this.onWheel,!1),"function"===typeof e.addEventListener&&e.addEventListener("touchstart",this.onTouchStart,!1),"function"===typeof e.addEventListener&&e.addEventListener("touchmove",this.onTouchMove,!1)))}},{key:"stopListening",value:function(e){e.scrollHeight<=e.clientHeight||("function"===typeof e.removeEventListener&&e.removeEventListener("wheel",this.onWheel,!1),"function"===typeof e.removeEventListener&&e.removeEventListener("touchstart",this.onTouchStart,!1),"function"===typeof e.removeEventListener&&e.removeEventListener("touchmove",this.onTouchMove,!1))}},{key:"render",value:function(){return o.default.createElement(i.default,{innerRef:this.getScrollTarget},this.props.children)}}]),t}(o.Component),v=function(e){function t(){return u(this,t),f(this,d(t).apply(this,arguments))}return p(t,e),c(t,[{key:"render",value:function(){var e=this.props,t=e.isEnabled,n=a(e,["isEnabled"]);return t?o.default.createElement(m,n):this.props.children}}]),t}(o.Component);t.default=v,y(v,"defaultProps",{isEnabled:!0})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resultsAriaMessage=t.optionFocusAriaMessage=t.valueFocusAriaMessage=t.valueEventAriaMessage=t.instructionsAriaMessage=void 0;t.instructionsAriaMessage=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.isSearchable,r=t.isMulti,o=t.label,i=t.isDisabled;switch(e){case"menu":return"Use Up and Down to choose options".concat(i?"":", press Enter to select the currently focused option",", press Escape to exit the menu, press Tab to select the option and exit the menu.");case"input":return"".concat(o||"Select"," is focused ").concat(n?",type to refine list":"",", press Down to open the menu, ").concat(r?" press left to focus selected values":"");case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value"}};t.valueEventAriaMessage=function(e,t){var n=t.value,r=t.isDisabled;if(n)switch(e){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(n,", deselected.");case"select-option":return"option ".concat(n,r?" is disabled. Select another option.":", selected.")}};t.valueFocusAriaMessage=function(e){var t=e.focusedValue,n=e.getOptionLabel,r=e.selectValue;return"value ".concat(n(t)," focused, ").concat(r.indexOf(t)+1," of ").concat(r.length,".")};t.optionFocusAriaMessage=function(e){var t=e.focusedOption,n=e.getOptionLabel,r=e.options;return"option ".concat(n(t)," focused").concat(t.isDisabled?" disabled":"",", ").concat(r.indexOf(t)+1," of ").concat(r.length,".")};t.resultsAriaMessage=function(e){var t=e.inputValue,n=e.screenReaderMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isOptionDisabled=t.getOptionValue=t.getOptionLabel=t.formatGroupLabel=void 0;t.formatGroupLabel=function(e){return e.label};t.getOptionLabel=function(e){return e.label};t.getOptionValue=function(e){return e.value};t.isOptionDisabled=function(e){return!!e.isDisabled}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultComponents=t.components=void 0;var r=n(369),o=n(266),i=h(n(370)),a=p(n(371)),s=h(n(372)),u=p(n(263)),l=p(n(373)),c=h(n(374)),f=h(n(375)),d=h(n(376));function p(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}function h(e){return e&&e.__esModule?e:{default:e}}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var y={ClearIndicator:o.ClearIndicator,Control:i.default,DropdownIndicator:o.DropdownIndicator,DownChevron:o.DownChevron,CrossIcon:o.CrossIcon,Group:a.default,GroupHeading:a.GroupHeading,IndicatorsContainer:r.IndicatorsContainer,IndicatorSeparator:o.IndicatorSeparator,Input:s.default,LoadingIndicator:o.LoadingIndicator,Menu:u.default,MenuList:u.MenuList,MenuPortal:u.MenuPortal,LoadingMessage:u.LoadingMessage,NoOptionsMessage:u.NoOptionsMessage,MultiValue:l.default,MultiValueContainer:l.MultiValueContainer,MultiValueLabel:l.MultiValueLabel,MultiValueRemove:l.MultiValueRemove,Option:c.default,Placeholder:f.default,SelectContainer:r.SelectContainer,SingleValue:d.default,ValueContainer:r.ValueContainer};t.components=y;t.defaultComponents=function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){g(e,t,n[t])}))}return e}({},y,e.components)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeStyles=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=p({},e);return Object.keys(t).forEach((function(r){e[r]?n[r]=function(n,o){return t[r](e[r](n,o),o)}:n[r]=t[r]})),n},t.defaultStyles=void 0;var r=n(369),o=n(370),i=n(371),a=n(266),s=n(372),u=n(375),l=n(374),c=n(263),f=n(376),d=n(373);function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){h(e,t,n[t])}))}return e}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var g={clearIndicator:a.clearIndicatorCSS,container:r.containerCSS,control:o.css,dropdownIndicator:a.dropdownIndicatorCSS,group:i.groupCSS,groupHeading:i.groupHeadingCSS,indicatorsContainer:r.indicatorsContainerCSS,indicatorSeparator:a.indicatorSeparatorCSS,input:s.inputCSS,loadingIndicator:a.loadingIndicatorCSS,loadingMessage:c.loadingMessageCSS,menu:c.menuCSS,menuList:c.menuListCSS,menuPortal:c.menuPortalCSS,multiValue:d.multiValueCSS,multiValueLabel:d.multiValueLabelCSS,multiValueRemove:d.multiValueRemoveCSS,noOptionsMessage:c.noOptionsMessageCSS,option:l.optionCSS,placeholder:u.placeholderCSS,singleValue:f.css,valueContainer:r.valueContainerCSS};t.defaultStyles=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultTheme=t.spacing=t.colors=void 0;var r={primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"};t.colors=r;var o={baseUnit:4,controlHeight:38,menuGutter:8};t.spacing=o;var i={borderRadius:4,colors:r,spacing:o};t.defaultTheme=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.defaultProps=void 0;var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(n(0));function o(e){return(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})(e)}function i(){return(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}).apply(this,arguments)}function a(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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)}}function l(e,t){return!t||"object"!==o(t)&&"function"!==typeof t?d(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h={defaultInputValue:"",defaultMenuIsOpen:!1,defaultValue:null};t.defaultProps=h;var g=function(e){var t,n;return n=t=function(t){function n(){var e,t;s(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return p(d(d(t=l(this,(e=c(n)).call.apply(e,[this].concat(o))))),"select",void 0),p(d(d(t)),"state",{inputValue:void 0!==t.props.inputValue?t.props.inputValue:t.props.defaultInputValue,menuIsOpen:void 0!==t.props.menuIsOpen?t.props.menuIsOpen:t.props.defaultMenuIsOpen,value:void 0!==t.props.value?t.props.value:t.props.defaultValue}),p(d(d(t)),"onChange",(function(e,n){t.callProp("onChange",e,n),t.setState({value:e})})),p(d(d(t)),"onInputChange",(function(e,n){var r=t.callProp("onInputChange",e,n);t.setState({inputValue:void 0!==r?r:e})})),p(d(d(t)),"onMenuOpen",(function(){t.callProp("onMenuOpen"),t.setState({menuIsOpen:!0})})),p(d(d(t)),"onMenuClose",(function(){t.callProp("onMenuClose"),t.setState({menuIsOpen:!1})})),t}var o,h,g;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}(n,t),o=n,(h=[{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"getProp",value:function(e){return void 0!==this.props[e]?this.props[e]:this.state[e]}},{key:"callProp",value:function(e){if("function"===typeof this.props[e]){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return(t=this.props)[e].apply(t,r)}}},{key:"render",value:function(){var t=this,n=this.props,o=(n.defaultInputValue,n.defaultMenuIsOpen,n.defaultValue,a(n,["defaultInputValue","defaultMenuIsOpen","defaultValue"]));return r.default.createElement(e,i({},o,{ref:function(e){t.select=e},inputValue:this.getProp("inputValue"),menuIsOpen:this.getProp("menuIsOpen"),onChange:this.onChange,onInputChange:this.onInputChange,onMenuClose:this.onMenuClose,onMenuOpen:this.onMenuOpen,value:this.getProp("value")}))}}])&&u(o.prototype,h),g&&u(o,g),n}(r.Component),p(t,"defaultProps",h),n};t.default=g},function(e,t){e.exports={fromObj:function(e){return Object.keys(e).reduce((function(t,n){return function e(t,n,r){return Array.isArray(r)||"[object Object]"===Object.prototype.toString.call(r)?(Object.keys(r).forEach((function(o){e(t,n+"["+o+"]",r[o])})),t):(t[n]=r,t)}(t,n,e[n])}),{})},toObj:function(e){return Object.keys(e).reduce((function(t,n){var r=n.match(/[^\[]*/i),o=n.match(/\[.*?\]/g)||[];o=[r[0]].concat(o).map((function(e){return e.replace(/\[|\]/g,"")}));for(var i=t;o.length;){var a=o.shift();a in i||(i[a]=o.length?isNaN(o[0])?{}:[]:e[n]),i=i[a]}return t}),{})}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return null!==e&&void 0!==e},o=function(e){return""===e},i={isDefaultRequiredValue:function(e,t){return void 0===t||null===t||""===t},isExisty:function(e,t){return r(t)},matchRegexp:function(e,t,n){return!r(t)||o(t)||n.test(t)},isUndefined:function(e,t){return void 0===t},isEmptyString:function(e,t){return o(t)},isEmail:function(e,t){return i.matchRegexp(e,t,/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/i)},isUrl:function(e,t){return i.matchRegexp(e,t,/^(?:\w+:)?\/\/([^\s.]+\.\S{2}|localhost[:?\d]*)\S*$/i)},isTrue:function(e,t){return!0===t},isFalse:function(e,t){return!1===t},isNumeric:function(e,t){return"number"===typeof t||i.matchRegexp(e,t,/^[-+]?(?:\d*[.])?\d+$/)},isAlpha:function(e,t){return i.matchRegexp(e,t,/^[A-Z]+$/i)},isAlphanumeric:function(e,t){return i.matchRegexp(e,t,/^[0-9A-Z]+$/i)},isInt:function(e,t){return i.matchRegexp(e,t,/^(?:[-+]?(?:0|[1-9]\d*))$/)},isFloat:function(e,t){return i.matchRegexp(e,t,/^(?:[-+]?(?:\d+))?(?:\.\d*)?(?:[eE][+-]?(?:\d+))?$/)},isWords:function(e,t){return i.matchRegexp(e,t,/^[A-Z\s]+$/i)},isSpecialWords:function(e,t){return i.matchRegexp(e,t,/^[A-Z\s\u00C0-\u017F]+$/i)},isLength:function(e,t,n){return!r(t)||o(t)||t.length===n},equals:function(e,t,n){return!r(t)||o(t)||t===n},equalsField:function(e,t,n){return t===e[n]},maxLength:function(e,t,n){return!r(t)||t.length<=n},minLength:function(e,t,n){return!r(t)||o(t)||t.length>=n}};t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.propTypes=void 0;var r=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},o=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}}(),i=u(n(2)),a=u(n(0)),s=u(n(377));function u(e){return e&&e.__esModule?e:{default:e}}var l=function(e){return"string"===typeof e?e.split(/,(?![^{[]*[}\]])/g).reduce((function(e,t){var n=t.split(":"),r=n.shift();if((n=n.map((function(e){try{return JSON.parse(e)}catch(t){return e}}))).length>1)throw new Error("Formsy does not support multiple args on string validations. Use object format of validations instead.");var o=Object.assign({},e);return o[r]=!n.length||n[0],o}),{}):e||{}},c={innerRef:i.default.func,name:i.default.string.isRequired,required:i.default.oneOfType([i.default.bool,i.default.object,i.default.string]),validations:i.default.oneOfType([i.default.object,i.default.string]),value:i.default.any};t.propTypes=c,t.default=function(e){var t,n=function(t){function n(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e));return t.getErrorMessage=function(){var e=t.getErrorMessages();return e.length?e[0]:null},t.getErrorMessages=function(){return(!t.isValid()||t.showRequired())&&(t.state.externalError||t.state.validationError)||[]},t.getValue=function(){return t.state.value},t.setValidations=function(e,n){t.validations=l(e)||{},t.requiredValidations=!0===n?{isDefaultRequiredValue:!0}:l(n)},t.setValue=function(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];n?t.setState({value:e,isPristine:!1},(function(){t.context.formsy.validate(t)})):t.setState({value:e})},t.hasValue=function(){return""!==t.state.value},t.isFormDisabled=function(){return t.context.formsy.isFormDisabled()},t.isFormSubmitted=function(){return t.state.formSubmitted},t.isPristine=function(){return t.state.isPristine},t.isRequired=function(){return!!t.props.required},t.isValid=function(){return t.state.isValid},t.isValidValue=function(e){return t.context.formsy.isValidValue.call(null,t,e)},t.resetValue=function(){t.setState({value:t.state.pristineValue,isPristine:!0},(function(){t.context.formsy.validate(t)}))},t.showError=function(){return!t.showRequired()&&!t.isValid()},t.showRequired=function(){return t.state.isRequired},t.state={value:e.value,isRequired:!1,isValid:!0,isPristine:!0,pristineValue:e.value,validationError:[],externalError:null,formSubmitted:!1},t}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,t),o(n,[{key:"componentWillMount",value:function(){var e=this;if(!this.props.name)throw new Error("Form Input requires a name property when used");e.setValidations(e.props.validations,e.props.required),e.context.formsy.attachToForm(e)}},{key:"componentWillReceiveProps",value:function(e){this.setValidations(e.validations,e.required)}},{key:"componentDidUpdate",value:function(e){s.default.isSame(this.props.value,e.value)||this.setValue(this.props.value),s.default.isSame(this.props.validations,e.validations)&&s.default.isSame(this.props.required,e.required)||this.context.formsy.validate(this)}},{key:"componentWillUnmount",value:function(){this.context.formsy.detachFromForm(this)}},{key:"render",value:function(){var t=this.props.innerRef,n=r({getErrorMessage:this.getErrorMessage,getErrorMessages:this.getErrorMessages,getValue:this.getValue,hasValue:this.hasValue,isFormDisabled:this.isFormDisabled,isValid:this.isValid,isPristine:this.isPristine,isFormSubmitted:this.isFormSubmitted,isRequired:this.isRequired,isValidValue:this.isValidValue,resetValue:this.resetValue,setValidations:this.setValidations,setValue:this.setValue,showRequired:this.showRequired,showError:this.showError},this.props);return t&&(n.ref=t),a.default.createElement(e,n)}}]),n}(a.default.Component);return n.displayName="Formsy("+(((t=e).displayName||t.name||("string"===typeof t?t:"Component"))+")"),n.contextTypes={formsy:i.default.object},n.defaultProps={innerRef:null,required:!1,validationError:"",validationErrors:{},validations:null,value:e.defaultValue},n.propTypes=c,n}},,function(e,t,n){"use strict";var r=n(1),o=n(5),i=n(0),a=n(4),s=n(112),u=n(8),l=n(9),c=n(103),f=n(86),d=i.forwardRef((function(e,t){var n=e.children,u=e.classes,d=e.className,p=e.color,h=void 0===p?"primary":p,g=e.component,y=void 0===g?"div":g,m=e.disabled,v=void 0!==m&&m,b=e.error,M=void 0!==b&&b,w=e.fullWidth,N=void 0!==w&&w,j=e.focused,S=e.hiddenLabel,I=void 0!==S&&S,D=e.margin,x=void 0===D?"none":D,E=e.required,O=void 0!==E&&E,T=e.size,C=e.variant,k=void 0===C?"standard":C,L=Object(o.a)(e,["children","classes","className","color","component","disabled","error","fullWidth","focused","hiddenLabel","margin","required","size","variant"]),_=i.useState((function(){var e=!1;return n&&i.Children.forEach(n,(function(t){if(Object(c.a)(t,["Input","Select"])){var n=Object(c.a)(t,["Select"])?t.props.input:t;n&&Object(s.a)(n.props)&&(e=!0)}})),e})),A=_[0],z=_[1],P=i.useState((function(){var e=!1;return n&&i.Children.forEach(n,(function(t){Object(c.a)(t,["Input","Select"])&&Object(s.b)(t.props,!0)&&(e=!0)})),e})),R=P[0],U=P[1],B=i.useState(!1),F=B[0],Y=B[1],G=void 0!==j?j:F;v&&G&&Y(!1);var H=i.useCallback((function(){U(!0)}),[]),V={adornedStart:A,setAdornedStart:z,color:h,disabled:v,error:M,filled:R,focused:G,fullWidth:N,hiddenLabel:I,margin:("small"===T?"dense":void 0)||x,onBlur:function(){Y(!1)},onEmpty:i.useCallback((function(){U(!1)}),[]),onFilled:H,onFocus:function(){Y(!0)},registerEffect:void 0,required:O,variant:k};return i.createElement(f.a.Provider,{value:V},i.createElement(y,Object(r.a)({className:Object(a.a)(u.root,d,"none"!==x&&u["margin".concat(Object(l.a)(x))],N&&u.fullWidth),ref:t},L),n))}));t.a=Object(u.a)({root:{display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},marginNormal:{marginTop:16,marginBottom:8},marginDense:{marginTop:8,marginBottom:4},fullWidth:{width:"100%"}},{name:"MuiFormControl"})(d)},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(192),o=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.disableGlobal,n=void 0!==t&&t,i=e.productionPrefix,a=void 0===i?"jss":i,s=e.seed,u=void 0===s?"":s,l=""===u?"":"".concat(u,"-"),c=0,f=function(){return c+=1};return function(e,t){var i=t.options.name;if(i&&0===i.indexOf("Mui")&&!t.options.link&&!n){if(-1!==o.indexOf(e.key))return"Mui-".concat(e.key);var s="".concat(l).concat(i,"-").concat(e.key);return t.options.theme[r.a]&&""===u?"".concat(s,"-").concat(f()):s}return"".concat(l).concat(a).concat(f())}}},function(e,t,n){"use strict";var r=n(1),o=n(5),i=n(0),a=n(4),s=n(403),u=n(8),l=i.forwardRef((function(e,t){var n=e.disableUnderline,u=e.classes,l=e.fullWidth,c=void 0!==l&&l,f=e.inputComponent,d=void 0===f?"input":f,p=e.multiline,h=void 0!==p&&p,g=e.type,y=void 0===g?"text":g,m=Object(o.a)(e,["disableUnderline","classes","fullWidth","inputComponent","multiline","type"]);return i.createElement(s.a,Object(r.a)({classes:Object(r.a)({},u,{root:Object(a.a)(u.root,!n&&u.underline),underline:null}),fullWidth:c,inputComponent:d,multiline:h,ref:t,type:y},m))}));l.muiName="Input",t.a=Object(u.a)((function(e){var t="light"===e.palette.type?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return{root:{position:"relative"},formControl:{"label + &":{marginTop:16}},focused:{},disabled:{},colorSecondary:{"&$underline:after":{borderBottomColor:e.palette.secondary.main}},underline:{"&:after":{borderBottom:"2px solid ".concat(e.palette.primary.main),left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},"&$focused:after":{transform:"scaleX(1)"},"&$error:after":{borderBottomColor:e.palette.error.main,transform:"scaleX(1)"},"&:before":{borderBottom:"1px solid ".concat(t),left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},"&:hover:not($disabled):before":{borderBottom:"2px solid ".concat(e.palette.text.primary),"@media (hover: none)":{borderBottom:"1px solid ".concat(t)}},"&$disabled:before":{borderBottomStyle:"dotted"}},error:{},marginDense:{},multiline:{},fullWidth:{},input:{},inputMarginDense:{},inputMultiline:{},inputTypeSearch:{}}}),{name:"MuiInput"})(l)},function(e,t,n){"use strict";var r=n(1),o=n(5),i=n(0),a=n(4),s=n(8),u=n(17),l=n(160),c=n(9),f=i.forwardRef((function(e,t){var n=e.edge,s=void 0!==n&&n,u=e.children,f=e.classes,d=e.className,p=e.color,h=void 0===p?"default":p,g=e.disabled,y=void 0!==g&&g,m=e.disableFocusRipple,v=void 0!==m&&m,b=e.size,M=void 0===b?"medium":b,w=Object(o.a)(e,["edge","children","classes","className","color","disabled","disableFocusRipple","size"]);return i.createElement(l.a,Object(r.a)({className:Object(a.a)(f.root,d,"default"!==h&&f["color".concat(Object(c.a)(h))],y&&f.disabled,"small"===M&&f["size".concat(Object(c.a)(M))],{start:f.edgeStart,end:f.edgeEnd}[s]),centerRipple:!0,focusRipple:!v,disabled:y,ref:t},w),i.createElement("span",{className:f.label},u))}));t.a=Object(s.a)((function(e){return{root:{textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:12,borderRadius:"50%",overflow:"visible",color:e.palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{backgroundColor:Object(u.a)(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"&$disabled":{backgroundColor:"transparent",color:e.palette.action.disabled}},edgeStart:{marginLeft:-12,"$sizeSmall&":{marginLeft:-3}},edgeEnd:{marginRight:-12,"$sizeSmall&":{marginRight:-3}},colorInherit:{color:"inherit"},colorPrimary:{color:e.palette.primary.main,"&:hover":{backgroundColor:Object(u.a)(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},colorSecondary:{color:e.palette.secondary.main,"&:hover":{backgroundColor:Object(u.a)(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},disabled:{},sizeSmall:{padding:3,fontSize:e.typography.pxToRem(18)},label:{width:"100%",display:"flex",alignItems:"inherit",justifyContent:"inherit"}}}),{name:"MuiIconButton"})(f)},function(e,t,n){"use strict";var r=n(1),o=n(5),i=n(0),a=n(15),s=n(65),u=n(4),l=n(38),c=n(102),f=n(54),d=n(8),p=n(282),h=n(281),g=n(145);function y(e,t){var n=0;return"number"===typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function m(e,t){var n=0;return"number"===typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function v(e){return[e.horizontal,e.vertical].map((function(e){return"number"===typeof e?"".concat(e,"px"):e})).join(" ")}function b(e){return"function"===typeof e?e():e}var M=i.forwardRef((function(e,t){var n=e.action,d=e.anchorEl,M=e.anchorOrigin,w=void 0===M?{vertical:"top",horizontal:"left"}:M,N=e.anchorPosition,j=e.anchorReference,S=void 0===j?"anchorEl":j,I=e.children,D=e.classes,x=e.className,E=e.container,O=e.elevation,T=void 0===O?8:O,C=e.getContentAnchorEl,k=e.marginThreshold,L=void 0===k?16:k,_=e.onEnter,A=e.onEntered,z=e.onEntering,P=e.onExit,R=e.onExited,U=e.onExiting,B=e.open,F=e.PaperProps,Y=void 0===F?{}:F,G=e.transformOrigin,H=void 0===G?{vertical:"top",horizontal:"left"}:G,V=e.TransitionComponent,Q=void 0===V?h.a:V,W=e.transitionDuration,Z=void 0===W?"auto":W,q=e.TransitionProps,X=void 0===q?{}:q,$=Object(o.a)(e,["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","classes","className","container","elevation","getContentAnchorEl","marginThreshold","onEnter","onEntered","onEntering","onExit","onExited","onExiting","open","PaperProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"]),J=i.useRef(),K=i.useCallback((function(e){if("anchorPosition"===S)return N;var t=b(d),n=(t&&1===t.nodeType?t:Object(l.a)(J.current).body).getBoundingClientRect(),r=0===e?w.vertical:"center";return{top:n.top+y(n,r),left:n.left+m(n,w.horizontal)}}),[d,w.horizontal,w.vertical,N,S]),ee=i.useCallback((function(e){var t=0;if(C&&"anchorEl"===S){var n=C(e);if(n&&e.contains(n)){var r=function(e,t){for(var n=t,r=0;n&&n!==e;)r+=(n=n.parentElement).scrollTop;return r}(e,n);t=n.offsetTop+n.clientHeight/2-r||0}0}return t}),[w.vertical,S,C]),te=i.useCallback((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return{vertical:y(e,H.vertical)+t,horizontal:m(e,H.horizontal)}}),[H.horizontal,H.vertical]),ne=i.useCallback((function(e){var t=ee(e),n={width:e.offsetWidth,height:e.offsetHeight},r=te(n,t);if("none"===S)return{top:null,left:null,transformOrigin:v(r)};var o=K(t),i=o.top-r.vertical,a=o.left-r.horizontal,s=i+n.height,u=a+n.width,l=Object(c.a)(b(d)),f=l.innerHeight-L,p=l.innerWidth-L;if(i<L){var h=i-L;i-=h,r.vertical+=h}else if(s>f){var g=s-f;i-=g,r.vertical+=g}if(a<L){var y=a-L;a-=y,r.horizontal+=y}else if(u>p){var m=u-p;a-=m,r.horizontal+=m}return{top:"".concat(Math.round(i),"px"),left:"".concat(Math.round(a),"px"),transformOrigin:v(r)}}),[d,S,K,ee,te,L]),re=i.useCallback((function(){var e=J.current;if(e){var t=ne(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin}}),[ne]),oe=i.useCallback((function(e){J.current=a.findDOMNode(e)}),[]);i.useEffect((function(){B&&re()})),i.useImperativeHandle(n,(function(){return B?{updatePosition:function(){re()}}:null}),[B,re]),i.useEffect((function(){if(B){var e=Object(s.a)((function(){re()}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}}),[B,re]);var ie=Z;"auto"!==Z||Q.muiSupportAuto||(ie=void 0);var ae=E||(d?Object(l.a)(b(d)).body:void 0);return i.createElement(p.a,Object(r.a)({container:ae,open:B,ref:t,BackdropProps:{invisible:!0},className:Object(u.a)(D.root,x)},$),i.createElement(Q,Object(r.a)({appear:!0,in:B,onEnter:_,onEntered:A,onExit:P,onExited:R,onExiting:U,timeout:ie},X,{onEntering:Object(f.a)((function(e,t){z&&z(e,t),re()}),X.onEntering)}),i.createElement(g.a,Object(r.a)({elevation:T,ref:oe},Y,{className:Object(u.a)(D.paper,Y.className)}),I)))}));t.a=Object(d.a)({root:{},paper:{position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}},{name:"MuiPopover"})(M)},function(e,t,n){"use strict";var r=n(0),o=n(15),i=n(60),a=n(19);var s="undefined"!==typeof window?r.useLayoutEffect:r.useEffect,u=r.forwardRef((function(e,t){var n=e.children,u=e.container,l=e.disablePortal,c=void 0!==l&&l,f=e.onRendered,d=r.useState(null),p=d[0],h=d[1],g=Object(a.a)(r.isValidElement(n)?n.ref:null,t);return s((function(){c||h(function(e){return e="function"===typeof e?e():e,o.findDOMNode(e)}(u)||document.body)}),[u,c]),s((function(){if(p&&!c)return Object(i.a)(t,p),function(){Object(i.a)(t,null)}}),[t,p,c]),s((function(){f&&(p||c)&&f()}),[f,p,c]),c?r.isValidElement(n)?r.cloneElement(n,{ref:g}):n:p?o.createPortal(n,p):p}));t.a=u},function(e,t,n){"use strict";var r=n(1),o=n(5),i=n(0),a=(n(162),n(15)),s=n(38),u=n(745),l=n(195),c=n(19);function f(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function d(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function p(e,t){if(void 0===t)return!0;var n=e.innerText;return void 0===n&&(n=e.textContent),0!==(n=n.trim().toLowerCase()).length&&(t.repeating?n[0]===t.keys[0]:0===n.indexOf(t.keys.join("")))}function h(e,t,n,r,o,i){for(var a=!1,s=o(e,t,!!t&&n);s;){if(s===e.firstChild){if(a)return;a=!0}var u=!r&&(s.disabled||"true"===s.getAttribute("aria-disabled"));if(s.hasAttribute("tabindex")&&p(s,i)&&!u)return void s.focus();s=o(e,s,n)}}var g="undefined"===typeof window?i.useEffect:i.useLayoutEffect,y=i.forwardRef((function(e,t){var n=e.actions,y=e.autoFocus,m=void 0!==y&&y,v=e.autoFocusItem,b=void 0!==v&&v,M=e.children,w=e.className,N=e.disabledItemsFocusable,j=void 0!==N&&N,S=e.disableListWrap,I=void 0!==S&&S,D=e.onKeyDown,x=e.variant,E=void 0===x?"selectedMenu":x,O=Object(o.a)(e,["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"]),T=i.useRef(null),C=i.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});g((function(){m&&T.current.focus()}),[m]),i.useImperativeHandle(n,(function(){return{adjustStyleForScrollbar:function(e,t){var n=!T.current.style.width;if(e.clientHeight<T.current.clientHeight&&n){var r="".concat(Object(l.a)(!0),"px");T.current.style["rtl"===t.direction?"paddingLeft":"paddingRight"]=r,T.current.style.width="calc(100% + ".concat(r,")")}return T.current}}}),[]);var k=i.useCallback((function(e){T.current=a.findDOMNode(e)}),[]),L=Object(c.a)(k,t),_=-1;i.Children.forEach(M,(function(e,t){i.isValidElement(e)&&(e.props.disabled||("selectedMenu"===E&&e.props.selected||-1===_)&&(_=t))}));var A=i.Children.map(M,(function(e,t){if(t===_){var n={};return b&&(n.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===E&&(n.tabIndex=0),i.cloneElement(e,n)}return e}));return i.createElement(u.a,Object(r.a)({role:"menu",ref:L,className:w,onKeyDown:function(e){var t=T.current,n=e.key,r=Object(s.a)(t).activeElement;if("ArrowDown"===n)e.preventDefault(),h(t,r,I,j,f);else if("ArrowUp"===n)e.preventDefault(),h(t,r,I,j,d);else if("Home"===n)e.preventDefault(),h(t,null,I,j,f);else if("End"===n)e.preventDefault(),h(t,null,I,j,d);else if(1===n.length){var o=C.current,i=n.toLowerCase(),a=performance.now();o.keys.length>0&&(a-o.lastTime>500?(o.keys=[],o.repeating=!0,o.previousKeyMatched=!0):o.repeating&&i!==o.keys[0]&&(o.repeating=!1)),o.lastTime=a,o.keys.push(i);var u=r&&!o.repeating&&p(r,o);o.previousKeyMatched&&(u||h(t,r,!1,j,f,o))?e.preventDefault():o.previousKeyMatched=!1}D&&D(e)},tabIndex:m?0:-1},O),A)}));t.a=y},function(e,t,n){"use strict";var r=n(1),o=n(5),i=n(0),a=n(4),s=n(8),u=n(87),l=i.forwardRef((function(e,t){var n=e.children,s=e.classes,l=e.className,c=e.component,f=void 0===c?"ul":c,d=e.dense,p=void 0!==d&&d,h=e.disablePadding,g=void 0!==h&&h,y=e.subheader,m=Object(o.a)(e,["children","classes","className","component","dense","disablePadding","subheader"]),v=i.useMemo((function(){return{dense:p}}),[p]);return i.createElement(u.a.Provider,{value:v},i.createElement(f,Object(r.a)({className:Object(a.a)(s.root,l,p&&s.dense,!g&&s.padding,y&&s.subheader),ref:t},m),y,n))}));t.a=Object(s.a)({root:{listStyle:"none",margin:0,padding:0,position:"relative"},padding:{paddingTop:8,paddingBottom:8},dense:{},subheader:{paddingTop:0}},{name:"MuiList"})(l)},function(e,t,n){"use strict";var r=n(1),o=n(5),i=n(0),a=n(4),s=n(8),u=n(160),l=n(103),c=n(19),f=n(87),d=n(15),p="undefined"===typeof window?i.useEffect:i.useLayoutEffect,h=i.forwardRef((function(e,t){var n=e.alignItems,s=void 0===n?"center":n,h=e.autoFocus,g=void 0!==h&&h,y=e.button,m=void 0!==y&&y,v=e.children,b=e.classes,M=e.className,w=e.component,N=e.ContainerComponent,j=void 0===N?"li":N,S=e.ContainerProps,I=(S=void 0===S?{}:S).className,D=Object(o.a)(S,["className"]),x=e.dense,E=void 0!==x&&x,O=e.disabled,T=void 0!==O&&O,C=e.disableGutters,k=void 0!==C&&C,L=e.divider,_=void 0!==L&&L,A=e.focusVisibleClassName,z=e.selected,P=void 0!==z&&z,R=Object(o.a)(e,["alignItems","autoFocus","button","children","classes","className","component","ContainerComponent","ContainerProps","dense","disabled","disableGutters","divider","focusVisibleClassName","selected"]),U=i.useContext(f.a),B={dense:E||U.dense||!1,alignItems:s},F=i.useRef(null);p((function(){g&&F.current&&F.current.focus()}),[g]);var Y=i.Children.toArray(v),G=Y.length&&Object(l.a)(Y[Y.length-1],["ListItemSecondaryAction"]),H=i.useCallback((function(e){F.current=d.findDOMNode(e)}),[]),V=Object(c.a)(H,t),Q=Object(r.a)({className:Object(a.a)(b.root,M,B.dense&&b.dense,!k&&b.gutters,_&&b.divider,T&&b.disabled,m&&b.button,"center"!==s&&b.alignItemsFlexStart,G&&b.secondaryAction,P&&b.selected),disabled:T},R),W=w||"li";return m&&(Q.component=w||"div",Q.focusVisibleClassName=Object(a.a)(b.focusVisible,A),W=u.a),G?(W=Q.component||w?W:"div","li"===j&&("li"===W?W="div":"li"===Q.component&&(Q.component="div")),i.createElement(f.a.Provider,{value:B},i.createElement(j,Object(r.a)({className:Object(a.a)(b.container,I),ref:V},D),i.createElement(W,Q,Y),Y.pop()))):i.createElement(f.a.Provider,{value:B},i.createElement(W,Object(r.a)({ref:V},Q),Y))}));t.a=Object(s.a)((function(e){return{root:{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,"&$focusVisible":{backgroundColor:e.palette.action.selected},"&$selected, &$selected:hover":{backgroundColor:e.palette.action.selected},"&$disabled":{opacity:.5}},container:{position:"relative"},focusVisible:{},dense:{paddingTop:4,paddingBottom:4},alignItemsFlexStart:{alignItems:"flex-start"},disabled:{},divider:{borderBottom:"1px solid ".concat(e.palette.divider),backgroundClip:"padding-box"},gutters:{paddingLeft:16,paddingRight:16},button:{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:e.palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}},secondaryAction:{paddingRight:48},selected:{}}}),{name:"MuiListItem"})(h)},function(e,t,n){"use strict";var r=n(5),o=n(1),i=n(0),a=n(4),s=n(71),u=n(66),l=n(8),c=i.forwardRef((function(e,t){var n=e.children,l=e.classes,c=e.className,f=e.component,d=void 0===f?"p":f,p=(e.disabled,e.error,e.filled,e.focused,e.margin,e.required,e.variant,Object(r.a)(e,["children","classes","className","component","disabled","error","filled","focused","margin","required","variant"])),h=Object(u.a)(),g=Object(s.a)({props:e,muiFormControl:h,states:["variant","margin","disabled","error","filled","focused","required"]});return i.createElement(d,Object(o.a)({className:Object(a.a)(l.root,("filled"===g.variant||"outlined"===g.variant)&&l.contained,c,g.disabled&&l.disabled,g.error&&l.error,g.filled&&l.filled,g.focused&&l.focused,g.required&&l.required,"dense"===g.margin&&l.marginDense),ref:t},p)," "===n?i.createElement("span",{dangerouslySetInnerHTML:{__html:"&#8203;"}}):n)}));t.a=Object(l.a)((function(e){return{root:Object(o.a)({color:e.palette.text.secondary},e.typography.caption,{textAlign:"left",marginTop:3,margin:0,"&$disabled":{color:e.palette.text.disabled},"&$error":{color:e.palette.error.main}}),error:{},disabled:{},marginDense:{marginTop:4},contained:{marginLeft:14,marginRight:14},focused:{},filled:{},required:{}}}),{name:"MuiFormHelperText"})(c)},function(e,t,n){"use strict";var r=n(1),o=n(5),i=n(0),a=n(15),s=n(65),u=n(207),l=n(19),c=n(33),f=n(45),d=n(55);function p(e,t){var n=function(e,t){var n,r=t.getBoundingClientRect();if(t.fakeTransform)n=t.fakeTransform;else{var o=window.getComputedStyle(t);n=o.getPropertyValue("-webkit-transform")||o.getPropertyValue("transform")}var i=0,a=0;if(n&&"none"!==n&&"string"===typeof n){var s=n.split("(")[1].split(")")[0].split(",");i=parseInt(s[4],10),a=parseInt(s[5],10)}return"left"===e?"translateX(".concat(window.innerWidth,"px) translateX(").concat(i-r.left,"px)"):"right"===e?"translateX(-".concat(r.left+r.width-i,"px)"):"up"===e?"translateY(".concat(window.innerHeight,"px) translateY(").concat(a-r.top,"px)"):"translateY(-".concat(r.top+r.height-a,"px)")}(e,t);n&&(t.style.webkitTransform=n,t.style.transform=n)}var h={enter:f.b.enteringScreen,exit:f.b.leavingScreen},g=i.forwardRef((function(e,t){var n=e.children,f=e.direction,g=void 0===f?"down":f,y=e.in,m=e.onEnter,v=e.onEntered,b=e.onEntering,M=e.onExit,w=e.onExited,N=e.onExiting,j=e.style,S=e.timeout,I=void 0===S?h:S,D=e.TransitionComponent,x=void 0===D?u.a:D,E=Object(o.a)(e,["children","direction","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),O=Object(c.a)(),T=i.useRef(null),C=i.useCallback((function(e){T.current=a.findDOMNode(e)}),[]),k=Object(l.a)(n.ref,C),L=Object(l.a)(k,t),_=function(e){return function(t){e&&(void 0===t?e(T.current):e(T.current,t))}},A=_((function(e,t){p(g,e),Object(d.b)(e),m&&m(e,t)})),z=_((function(e,t){var n=Object(d.a)({timeout:I,style:j},{mode:"enter"});e.style.webkitTransition=O.transitions.create("-webkit-transform",Object(r.a)({},n,{easing:O.transitions.easing.easeOut})),e.style.transition=O.transitions.create("transform",Object(r.a)({},n,{easing:O.transitions.easing.easeOut})),e.style.webkitTransform="none",e.style.transform="none",b&&b(e,t)})),P=_(v),R=_(N),U=_((function(e){var t=Object(d.a)({timeout:I,style:j},{mode:"exit"});e.style.webkitTransition=O.transitions.create("-webkit-transform",Object(r.a)({},t,{easing:O.transitions.easing.sharp})),e.style.transition=O.transitions.create("transform",Object(r.a)({},t,{easing:O.transitions.easing.sharp})),p(g,e),M&&M(e)})),B=_((function(e){e.style.webkitTransition="",e.style.transition="",w&&w(e)})),F=i.useCallback((function(){T.current&&p(g,T.current)}),[g]);return i.useEffect((function(){if(!y&&"down"!==g&&"right"!==g){var e=Object(s.a)((function(){T.current&&p(g,T.current)}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}}),[g,y]),i.useEffect((function(){y||F()}),[y,F]),i.createElement(x,Object(r.a)({nodeRef:T,onEnter:A,onEntered:P,onEntering:z,onExit:U,onExited:B,onExiting:R,appear:!0,in:y,timeout:I},E),(function(e,t){return i.cloneElement(n,Object(r.a)({ref:L,style:Object(r.a)({visibility:"exited"!==e||y?void 0:"hidden"},j,n.props.style)},t))}))}));t.a=g},function(e,t,n){"use strict";var r=n(1),o=n(5),i=n(0),a=n(4),s=n(403),u=n(8),l=i.forwardRef((function(e,t){var n=e.disableUnderline,u=e.classes,l=e.fullWidth,c=void 0!==l&&l,f=e.inputComponent,d=void 0===f?"input":f,p=e.multiline,h=void 0!==p&&p,g=e.type,y=void 0===g?"text":g,m=Object(o.a)(e,["disableUnderline","classes","fullWidth","inputComponent","multiline","type"]);return i.createElement(s.a,Object(r.a)({classes:Object(r.a)({},u,{root:Object(a.a)(u.root,!n&&u.underline),underline:null}),fullWidth:c,inputComponent:d,multiline:h,ref:t,type:y},m))}));l.muiName="Input",t.a=Object(u.a)((function(e){var t="light"===e.palette.type,n=t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",r=t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.09)";return{root:{position:"relative",backgroundColor:r,borderTopLeftRadius:e.shape.borderRadius,borderTopRightRadius:e.shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:t?"rgba(0, 0, 0, 0.13)":"rgba(255, 255, 255, 0.13)","@media (hover: none)":{backgroundColor:r}},"&$focused":{backgroundColor:t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.09)"},"&$disabled":{backgroundColor:t?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)"}},colorSecondary:{"&$underline:after":{borderBottomColor:e.palette.secondary.main}},underline:{"&:after":{borderBottom:"2px solid ".concat(e.palette.primary.main),left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},"&$focused:after":{transform:"scaleX(1)"},"&$error:after":{borderBottomColor:e.palette.error.main,transform:"scaleX(1)"},"&:before":{borderBottom:"1px solid ".concat(n),left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},"&:hover:before":{borderBottom:"1px solid ".concat(e.palette.text.primary)},"&$disabled:before":{borderBottomStyle:"dotted"}},focused:{},disabled:{},adornedStart:{paddingLeft:12},adornedEnd:{paddingRight:12},error:{},marginDense:{},multiline:{padding:"27px 12px 10px","&$marginDense":{paddingTop:23,paddingBottom:6}},input:{padding:"27px 12px 10px","&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.type?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.type?null:"#fff",caretColor:"light"===e.palette.type?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},inputMarginDense:{paddingTop:23,paddingBottom:6},inputHiddenLabel:{paddingTop:18,paddingBottom:19,"&$inputMarginDense":{paddingTop:10,paddingBottom:11}},inputMultiline:{padding:0},inputAdornedStart:{paddingLeft:0},inputAdornedEnd:{paddingRight:0}}}),{name:"MuiFilledInput"})(l)},function(e,t,n){"use strict";var r=n(5),o=n(1),i=n(0),a=n(4),s=n(71),u=n(66),l=n(9),c=n(8),f=i.forwardRef((function(e,t){var n=e.children,c=e.classes,f=e.className,d=(e.color,e.component),p=void 0===d?"label":d,h=(e.disabled,e.error,e.filled,e.focused,e.required,Object(r.a)(e,["children","classes","className","color","component","disabled","error","filled","focused","required"])),g=Object(u.a)(),y=Object(s.a)({props:e,muiFormControl:g,states:["color","required","focused","disabled","error","filled"]});return i.createElement(p,Object(o.a)({className:Object(a.a)(c.root,c["color".concat(Object(l.a)(y.color||"primary"))],f,y.disabled&&c.disabled,y.error&&c.error,y.filled&&c.filled,y.focused&&c.focused,y.required&&c.required),ref:t},h),n,y.required&&i.createElement("span",{"aria-hidden":!0,className:Object(a.a)(c.asterisk,y.error&&c.error)},"\u2009","*"))}));t.a=Object(c.a)((function(e){return{root:Object(o.a)({color:e.palette.text.secondary},e.typography.body1,{lineHeight:1,padding:0,"&$focused":{color:e.palette.primary.main},"&$disabled":{color:e.palette.text.disabled},"&$error":{color:e.palette.error.main}}),colorSecondary:{"&$focused":{color:e.palette.secondary.main}},focused:{},disabled:{},error:{},filled:{},required:{},asterisk:{"&$error":{color:e.palette.error.main}}}}),{name:"MuiFormLabel"})(f)},function(e,t,n){"use strict";var r=n(1),o=n(5),i=n(0),a=n(4),s=n(8),u=i.forwardRef((function(e,t){var n=e.classes,s=e.className,u=e.row,l=void 0!==u&&u,c=Object(o.a)(e,["classes","className","row"]);return i.createElement("div",Object(r.a)({className:Object(a.a)(n.root,s,l&&n.row),ref:t},c))}));t.a=Object(s.a)({root:{display:"flex",flexDirection:"column",flexWrap:"wrap"},row:{flexDirection:"row"}},{name:"MuiFormGroup"})(u)},function(e,t,n){"use strict";var r=n(1),o=n(5),i=n(0),a=n(390),s=n(280),u=n(743),l=n(54),c=n(60),f=n(19);function d(e){return"function"===typeof e?e():e}var p="undefined"!==typeof window?i.useLayoutEffect:i.useEffect,h={},g=i.forwardRef((function(e,t){var n=e.anchorEl,g=e.children,y=e.container,m=e.disablePortal,v=void 0!==m&&m,b=e.keepMounted,M=void 0!==b&&b,w=e.modifiers,N=e.open,j=e.placement,S=void 0===j?"bottom":j,I=e.popperOptions,D=void 0===I?h:I,x=e.popperRef,E=e.style,O=e.transition,T=void 0!==O&&O,C=Object(o.a)(e,["anchorEl","children","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition"]),k=i.useRef(null),L=Object(f.a)(k,t),_=i.useRef(null),A=Object(f.a)(_,x),z=i.useRef(A);p((function(){z.current=A}),[A]),i.useImperativeHandle(x,(function(){return _.current}),[]);var P=i.useState(!0),R=P[0],U=P[1],B=function(e,t){if("ltr"===(t&&t.direction||"ltr"))return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(S,Object(s.a)()),F=i.useState(B),Y=F[0],G=F[1];i.useEffect((function(){_.current&&_.current.update()}));var H=i.useCallback((function(){if(k.current&&n&&N){_.current&&(_.current.destroy(),z.current(null));var e=function(e){G(e.placement)},t=(d(n),new a.a(d(n),k.current,Object(r.a)({placement:B},D,{modifiers:Object(r.a)({},v?{}:{preventOverflow:{boundariesElement:"window"}},w,D.modifiers),onCreate:Object(l.a)(e,D.onCreate),onUpdate:Object(l.a)(e,D.onUpdate)})));z.current(t)}}),[n,v,w,N,B,D]),V=i.useCallback((function(e){Object(c.a)(L,e),H()}),[L,H]),Q=function(){_.current&&(_.current.destroy(),z.current(null))};if(i.useEffect((function(){return function(){Q()}}),[]),i.useEffect((function(){N||T||Q()}),[N,T]),!M&&!N&&(!T||R))return null;var W={placement:Y};return T&&(W.TransitionProps={in:N,onEnter:function(){U(!1)},onExited:function(){U(!0),Q()}}),i.createElement(u.a,{disablePortal:v,container:y},i.createElement("div",Object(r.a)({ref:V,role:"tooltip"},C,{style:Object(r.a)({position:"fixed",top:0,left:0,display:N||!M||T?null:"none"},E)}),"function"===typeof g?g(W):g))}));t.a=g},function(e,t,n){"use strict";var r=n(1),o=n(5),i=n(0),a=n(4),s=n(71),u=n(66),l=n(8),c=n(750),f=i.forwardRef((function(e,t){var n=e.classes,l=e.className,f=e.disableAnimation,d=void 0!==f&&f,p=(e.margin,e.shrink),h=(e.variant,Object(o.a)(e,["classes","className","disableAnimation","margin","shrink","variant"])),g=Object(u.a)(),y=p;"undefined"===typeof y&&g&&(y=g.filled||g.focused||g.adornedStart);var m=Object(s.a)({props:e,muiFormControl:g,states:["margin","variant"]});return i.createElement(c.a,Object(r.a)({"data-shrink":y,className:Object(a.a)(n.root,l,g&&n.formControl,!d&&n.animated,y&&n.shrink,"dense"===m.margin&&n.marginDense,{filled:n.filled,outlined:n.outlined}[m.variant]),classes:{focused:n.focused,disabled:n.disabled,error:n.error,required:n.required,asterisk:n.asterisk},ref:t},h))}));t.a=Object(l.a)((function(e){return{root:{display:"block",transformOrigin:"top left"},focused:{},disabled:{},error:{},required:{},asterisk:{},formControl:{position:"absolute",left:0,top:0,transform:"translate(0, 24px) scale(1)"},marginDense:{transform:"translate(0, 21px) scale(1)"},shrink:{transform:"translate(0, 1.5px) scale(0.75)",transformOrigin:"top left"},animated:{transition:e.transitions.create(["color","transform"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})},filled:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 20px) scale(1)","&$marginDense":{transform:"translate(12px, 17px) scale(1)"},"&$shrink":{transform:"translate(12px, 10px) scale(0.75)","&$marginDense":{transform:"translate(12px, 7px) scale(0.75)"}}},outlined:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 20px) scale(1)","&$marginDense":{transform:"translate(14px, 12px) scale(1)"},"&$shrink":{transform:"translate(14px, -6px) scale(0.75)"}}}}),{name:"MuiInputLabel"})(f)},function(e,t,n){"use strict";var r=n(0),o=n(15),i=n(38),a=n(19),s=n(42);function u(e){return e.substring(2).toLowerCase()}t.a=function(e){var t=e.children,n=e.disableReactTree,l=void 0!==n&&n,c=e.mouseEvent,f=void 0===c?"onClick":c,d=e.onClickAway,p=e.touchEvent,h=void 0===p?"onTouchEnd":p,g=r.useRef(!1),y=r.useRef(null),m=r.useRef(!1),v=r.useRef(!1);r.useEffect((function(){return setTimeout((function(){m.current=!0}),0),function(){m.current=!1}}),[]);var b=r.useCallback((function(e){y.current=o.findDOMNode(e)}),[]),M=Object(a.a)(t.ref,b),w=Object(s.a)((function(e){var t=v.current;if(v.current=!1,m.current&&y.current&&!function(e){return document.documentElement.clientWidth<e.clientX||document.documentElement.clientHeight<e.clientY}(e))if(g.current)g.current=!1;else{var n;if(e.composedPath)n=e.composedPath().indexOf(y.current)>-1;else n=!Object(i.a)(y.current).documentElement.contains(e.target)||y.current.contains(e.target);n||!l&&t||d(e)}})),N=function(e){return function(n){v.current=!0;var r=t.props[e];r&&r(n)}},j={ref:M};return!1!==h&&(j[h]=N(h)),r.useEffect((function(){if(!1!==h){var e=u(h),t=Object(i.a)(y.current),n=function(){g.current=!0};return t.addEventListener(e,w),t.addEventListener("touchmove",n),function(){t.removeEventListener(e,w),t.removeEventListener("touchmove",n)}}}),[w,h]),!1!==f&&(j[f]=N(f)),r.useEffect((function(){if(!1!==f){var e=u(f),t=Object(i.a)(y.current);return t.addEventListener(e,w),function(){t.removeEventListener(e,w)}}}),[w,f]),r.createElement(r.Fragment,null,r.cloneElement(t,j))}},function(e,t,n){"use strict";var r=n(5),o=n(16),i=n(1),a=n(0),s=n(4),u=n(8),l=n(145),c=n(17),f=a.forwardRef((function(e,t){var n=e.action,o=e.classes,u=e.className,c=e.message,f=e.role,d=void 0===f?"alert":f,p=Object(r.a)(e,["action","classes","className","message","role"]);return a.createElement(l.a,Object(i.a)({role:d,square:!0,elevation:6,className:Object(s.a)(o.root,u),ref:t},p),a.createElement("div",{className:o.message},c),n?a.createElement("div",{className:o.action},n):null)}));t.a=Object(u.a)((function(e){var t="light"===e.palette.type?.8:.98,n=Object(c.c)(e.palette.background.default,t);return{root:Object(i.a)({},e.typography.body2,Object(o.a)({color:e.palette.getContrastText(n),backgroundColor:n,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:e.shape.borderRadius,flexGrow:1},e.breakpoints.up("sm"),{flexGrow:"initial",minWidth:288})),message:{padding:"8px 0"},action:{display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}}}),{name:"MuiSnackbarContent"})(f)},function(e,t,n){"use strict";n.d(t,"a",(function(){return N}));var r=n(5),o=n(1),i=n(0),a=n.n(i),s=n(44),u=n(786),l={set:function(e,t,n,r){var o=e.get(t);o||(o=new Map,e.set(t,o)),o.set(n,r)},get:function(e,t,n){var r=e.get(t);return r?r.get(n):void 0},delete:function(e,t,n){e.get(t).delete(n)}},c=n(280),f=n(787),d=-1e9;function p(){return d+=1}n(93);var h=n(190);function g(e){var t="function"===typeof e;return{create:function(n,r){var i;try{i=t?e(n):e}catch(u){throw u}if(!r||!n.overrides||!n.overrides[r])return i;var a=n.overrides[r],s=Object(o.a)({},i);return Object.keys(a).forEach((function(e){s[e]=Object(h.a)(s[e],a[e])})),s},options:{}}}var y={};function m(e,t,n){var r=e.state;if(e.stylesOptions.disableGeneration)return t||{};r.cacheClasses||(r.cacheClasses={value:null,lastProp:null,lastJSS:{}});var o=!1;return r.classes!==r.cacheClasses.lastJSS&&(r.cacheClasses.lastJSS=r.classes,o=!0),t!==r.cacheClasses.lastProp&&(r.cacheClasses.lastProp=t,o=!0),o&&(r.cacheClasses.value=Object(u.a)({baseClasses:r.cacheClasses.lastJSS,newClasses:t,Component:n})),r.cacheClasses.value}function v(e,t){var n=e.state,r=e.theme,i=e.stylesOptions,a=e.stylesCreator,c=e.name;if(!i.disableGeneration){var f=l.get(i.sheetsManager,a,r);f||(f={refs:0,staticSheet:null,dynamicStyles:null},l.set(i.sheetsManager,a,r,f));var d=Object(o.a)({},a.options,i,{theme:r,flip:"boolean"===typeof i.flip?i.flip:"rtl"===r.direction});d.generateId=d.serverGenerateClassName||d.generateClassName;var p=i.sheetsRegistry;if(0===f.refs){var h;i.sheetsCache&&(h=l.get(i.sheetsCache,a,r));var g=a.create(r,c);h||((h=i.jss.createStyleSheet(g,Object(o.a)({link:!1},d))).attach(),i.sheetsCache&&l.set(i.sheetsCache,a,r,h)),p&&p.add(h),f.staticSheet=h,f.dynamicStyles=Object(s.d)(g)}if(f.dynamicStyles){var y=i.jss.createStyleSheet(f.dynamicStyles,Object(o.a)({link:!0},d));y.update(t),y.attach(),n.dynamicSheet=y,n.classes=Object(u.a)({baseClasses:f.staticSheet.classes,newClasses:y.classes}),p&&p.add(y)}else n.classes=f.staticSheet.classes;f.refs+=1}}function b(e,t){var n=e.state;n.dynamicSheet&&n.dynamicSheet.update(t)}function M(e){var t=e.state,n=e.theme,r=e.stylesOptions,o=e.stylesCreator;if(!r.disableGeneration){var i=l.get(r.sheetsManager,o,n);i.refs-=1;var a=r.sheetsRegistry;0===i.refs&&(l.delete(r.sheetsManager,o,n),r.jss.removeStyleSheet(i.staticSheet),a&&a.remove(i.staticSheet)),t.dynamicSheet&&(r.jss.removeStyleSheet(t.dynamicSheet),a&&a.remove(t.dynamicSheet))}}function w(e,t){var n,r=a.a.useRef([]),o=a.a.useMemo((function(){return{}}),t);r.current!==o&&(r.current=o,n=e()),a.a.useEffect((function(){return function(){n&&n()}}),[o])}function N(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.name,i=t.classNamePrefix,s=t.Component,u=t.defaultTheme,l=void 0===u?y:u,d=Object(r.a)(t,["name","classNamePrefix","Component","defaultTheme"]),h=g(e),N=n||i||"makeStyles";h.options={index:p(),name:n,meta:N,classNamePrefix:N};var j=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Object(c.a)()||l,r=Object(o.a)({},a.a.useContext(f.a),d),i=a.a.useRef(),u=a.a.useRef();w((function(){var o={name:n,state:{},stylesCreator:h,stylesOptions:r,theme:t};return v(o,e),u.current=!1,i.current=o,function(){M(o)}}),[t,h]),a.a.useEffect((function(){u.current&&b(i.current,e),u.current=!0}));var p=m(i.current,e.classes,s);return p};return j}},function(e,t,n){"use strict";var r=n(1),o=n(5),i=n(0),a=n(786),s=n(52),u=n(93),l=n(189),c=(n(162),n(4)),f=n(38),d=n(9),p=n(379),h=n(112),g=n(19),y=n(84);function m(e,t){return"object"===Object(u.a)(t)&&null!==t?e===t:String(e)===String(t)}var v=i.forwardRef((function(e,t){var n=e["aria-label"],a=e.autoFocus,u=e.autoWidth,v=e.children,b=e.classes,M=e.className,w=e.defaultValue,N=e.disabled,j=e.displayEmpty,S=e.IconComponent,I=e.inputRef,D=e.labelId,x=e.MenuProps,E=void 0===x?{}:x,O=e.multiple,T=e.name,C=e.onBlur,k=e.onChange,L=e.onClose,_=e.onFocus,A=e.onOpen,z=e.open,P=e.readOnly,R=e.renderValue,U=e.SelectDisplayProps,B=void 0===U?{}:U,F=e.tabIndex,Y=(e.type,e.value),G=e.variant,H=void 0===G?"standard":G,V=Object(o.a)(e,["aria-label","autoFocus","autoWidth","children","classes","className","defaultValue","disabled","displayEmpty","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"]),Q=Object(y.a)({controlled:Y,default:w,name:"Select"}),W=Object(s.a)(Q,2),Z=W[0],q=W[1],X=i.useRef(null),$=i.useState(null),J=$[0],K=$[1],ee=i.useRef(null!=z).current,te=i.useState(),ne=te[0],re=te[1],oe=i.useState(!1),ie=oe[0],ae=oe[1],se=Object(g.a)(t,I);i.useImperativeHandle(se,(function(){return{focus:function(){J.focus()},node:X.current,value:Z}}),[J,Z]),i.useEffect((function(){a&&J&&J.focus()}),[a,J]),i.useEffect((function(){if(J){var e=Object(f.a)(J).getElementById(D);if(e){var t=function(){getSelection().isCollapsed&&J.focus()};return e.addEventListener("click",t),function(){e.removeEventListener("click",t)}}}}),[D,J]);var ue,le,ce=function(e,t){e?A&&A(t):L&&L(t),ee||(re(u?null:J.clientWidth),ae(e))},fe=i.Children.toArray(v),de=function(e){return function(t){var n;if(O||ce(!1,t),O){n=Array.isArray(Z)?Z.slice():[];var r=Z.indexOf(e.props.value);-1===r?n.push(e.props.value):n.splice(r,1)}else n=e.props.value;e.props.onClick&&e.props.onClick(t),Z!==n&&(q(n),k&&(t.persist(),Object.defineProperty(t,"target",{writable:!0,value:{value:n,name:T}}),k(t,e)))}},pe=null!==J&&(ee?z:ie);delete V["aria-invalid"];var he=[],ge=!1;(Object(h.b)({value:Z})||j)&&(R?ue=R(Z):ge=!0);var ye=fe.map((function(e){if(!i.isValidElement(e))return null;var t;if(O){if(!Array.isArray(Z))throw new Error(Object(l.a)(2));(t=Z.some((function(t){return m(t,e.props.value)})))&&ge&&he.push(e.props.children)}else(t=m(Z,e.props.value))&&ge&&(le=e.props.children);return t&&!0,i.cloneElement(e,{"aria-selected":t?"true":void 0,onClick:de(e),onKeyUp:function(t){" "===t.key&&t.preventDefault(),e.props.onKeyUp&&e.props.onKeyUp(t)},role:"option",selected:t,value:void 0,"data-value":e.props.value})}));ge&&(ue=O?he.join(", "):le);var me,ve=ne;!u&&ee&&J&&(ve=J.clientWidth),me="undefined"!==typeof F?F:N?null:0;var be=B.id||(T?"mui-component-select-".concat(T):void 0);return i.createElement(i.Fragment,null,i.createElement("div",Object(r.a)({className:Object(c.a)(b.root,b.select,b.selectMenu,b[H],M,N&&b.disabled),ref:K,tabIndex:me,role:"button","aria-disabled":N?"true":void 0,"aria-expanded":pe?"true":void 0,"aria-haspopup":"listbox","aria-label":n,"aria-labelledby":[D,be].filter(Boolean).join(" ")||void 0,onKeyDown:function(e){if(!P){-1!==[" ","ArrowUp","ArrowDown","Enter"].indexOf(e.key)&&(e.preventDefault(),ce(!0,e))}},onMouseDown:N||P?null:function(e){0===e.button&&(e.preventDefault(),J.focus(),ce(!0,e))},onBlur:function(e){!pe&&C&&(e.persist(),Object.defineProperty(e,"target",{writable:!0,value:{value:Z,name:T}}),C(e))},onFocus:_},B,{id:be}),function(e){return null==e||"string"===typeof e&&!e.trim()}(ue)?i.createElement("span",{dangerouslySetInnerHTML:{__html:"&#8203;"}}):ue),i.createElement("input",Object(r.a)({value:Array.isArray(Z)?Z.join(","):Z,name:T,ref:X,"aria-hidden":!0,onChange:function(e){var t=fe.map((function(e){return e.props.value})).indexOf(e.target.value);if(-1!==t){var n=fe[t];q(n.props.value),k&&k(e,n)}},tabIndex:-1,className:b.nativeInput,autoFocus:a},V)),i.createElement(S,{className:Object(c.a)(b.icon,b["icon".concat(Object(d.a)(H))],pe&&b.iconOpen,N&&b.disabled)}),i.createElement(p.a,Object(r.a)({id:"menu-".concat(T||""),anchorEl:J,open:pe,onClose:function(e){ce(!1,e)}},E,{MenuListProps:Object(r.a)({"aria-labelledby":D,role:"listbox",disableListWrap:!0},E.MenuListProps),PaperProps:Object(r.a)({},E.PaperProps,{style:Object(r.a)({minWidth:ve},null!=E.PaperProps?E.PaperProps.style:null)})}),ye))})),b=n(71),M=n(66),w=n(8),N=n(36),j=Object(N.a)(i.createElement("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),S=n(740),I=i.forwardRef((function(e,t){var n=e.classes,a=e.className,s=e.disabled,u=e.IconComponent,l=e.inputRef,f=e.variant,p=void 0===f?"standard":f,h=Object(o.a)(e,["classes","className","disabled","IconComponent","inputRef","variant"]);return i.createElement(i.Fragment,null,i.createElement("select",Object(r.a)({className:Object(c.a)(n.root,n.select,n[p],a,s&&n.disabled),disabled:s,ref:l||t},h)),e.multiple?null:i.createElement(u,{className:Object(c.a)(n.icon,n["icon".concat(Object(d.a)(p))],s&&n.disabled)}))})),D=function(e){return{root:{},select:{"-moz-appearance":"none","-webkit-appearance":"none",userSelect:"none",borderRadius:0,minWidth:16,cursor:"pointer","&:focus":{backgroundColor:"light"===e.palette.type?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)",borderRadius:0},"&::-ms-expand":{display:"none"},"&$disabled":{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:e.palette.background.paper},"&&":{paddingRight:24}},filled:{"&&":{paddingRight:32}},outlined:{borderRadius:e.shape.borderRadius,"&&":{paddingRight:32}},selectMenu:{height:"auto",minHeight:"1.1876em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"},disabled:{},icon:{position:"absolute",right:0,top:"calc(50% - 12px)",pointerEvents:"none",color:e.palette.action.active,"&$disabled":{color:e.palette.action.disabled}},iconOpen:{transform:"rotate(180deg)"},iconFilled:{right:7},iconOutlined:{right:7},nativeInput:{bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%"}}},x=i.createElement(S.a,null),E=i.forwardRef((function(e,t){var n=e.children,a=e.classes,s=e.IconComponent,u=void 0===s?j:s,l=e.input,c=void 0===l?x:l,f=e.inputProps,d=(e.variant,Object(o.a)(e,["children","classes","IconComponent","input","inputProps","variant"])),p=Object(M.a)(),h=Object(b.a)({props:e,muiFormControl:p,states:["variant"]});return i.cloneElement(c,Object(r.a)({inputComponent:I,inputProps:Object(r.a)({children:n,classes:a,IconComponent:u,variant:h.variant,type:void 0},f,c?c.props.inputProps:{}),ref:t},d))}));E.muiName="Select";Object(w.a)(D,{name:"MuiNativeSelect"})(E);var O=n(749),T=n(758),C=D,k=i.createElement(S.a,null),L=i.createElement(O.a,null),_=i.forwardRef((function e(t,n){var s=t.autoWidth,u=void 0!==s&&s,l=t.children,c=t.classes,f=t.displayEmpty,d=void 0!==f&&f,p=t.IconComponent,h=void 0===p?j:p,g=t.id,y=t.input,m=t.inputProps,w=t.label,N=t.labelId,S=t.labelWidth,D=void 0===S?0:S,x=t.MenuProps,E=t.multiple,O=void 0!==E&&E,C=t.native,_=void 0!==C&&C,A=t.onClose,z=t.onOpen,P=t.open,R=t.renderValue,U=t.SelectDisplayProps,B=t.variant,F=void 0===B?"standard":B,Y=Object(o.a)(t,["autoWidth","children","classes","displayEmpty","IconComponent","id","input","inputProps","label","labelId","labelWidth","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"]),G=_?I:v,H=Object(M.a)(),V=Object(b.a)({props:t,muiFormControl:H,states:["variant"]}).variant||F,Q=y||{standard:k,outlined:i.createElement(T.a,{label:w,labelWidth:D}),filled:L}[V];return i.cloneElement(Q,Object(r.a)({inputComponent:G,inputProps:Object(r.a)({children:l,IconComponent:h,variant:V,type:void 0,multiple:O},_?{id:g}:{autoWidth:u,displayEmpty:d,labelId:N,MenuProps:x,onClose:A,onOpen:z,open:P,renderValue:R,SelectDisplayProps:Object(r.a)({id:g},U)},m,{classes:m?Object(a.a)({baseClasses:c,newClasses:m.classes,Component:e}):c},y?y.props.inputProps:{}),ref:n},Y))}));_.muiName="Select";t.a=Object(w.a)(C,{name:"MuiSelect"})(_)},function(e,t,n){"use strict";var r=n(1),o=n(5),i=n(0),a=n(4),s=n(403),u=n(16),l=n(8),c=n(33),f=n(9),d=i.forwardRef((function(e,t){e.children;var n=e.classes,s=e.className,l=e.label,d=e.labelWidth,p=e.notched,h=e.style,g=Object(o.a)(e,["children","classes","className","label","labelWidth","notched","style"]),y="rtl"===Object(c.a)().direction?"right":"left";if(void 0!==l)return i.createElement("fieldset",Object(r.a)({"aria-hidden":!0,className:Object(a.a)(n.root,s),ref:t,style:h},g),i.createElement("legend",{className:Object(a.a)(n.legendLabelled,p&&n.legendNotched)},l?i.createElement("span",null,l):i.createElement("span",{dangerouslySetInnerHTML:{__html:"&#8203;"}})));var m=d>0?.75*d+8:.01;return i.createElement("fieldset",Object(r.a)({"aria-hidden":!0,style:Object(r.a)(Object(u.a)({},"padding".concat(Object(f.a)(y)),8),h),className:Object(a.a)(n.root,s),ref:t},g),i.createElement("legend",{className:n.legend,style:{width:p?m:.01}},i.createElement("span",{dangerouslySetInnerHTML:{__html:"&#8203;"}})))})),p=Object(l.a)((function(e){return{root:{position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden"},legend:{textAlign:"left",padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})},legendLabelled:{display:"block",width:"auto",textAlign:"left",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),"& > span":{paddingLeft:5,paddingRight:5,display:"inline-block"}},legendNotched:{maxWidth:1e3,transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}}),{name:"PrivateNotchedOutline"})(d),h=i.forwardRef((function(e,t){var n=e.classes,u=e.fullWidth,l=void 0!==u&&u,c=e.inputComponent,f=void 0===c?"input":c,d=e.label,h=e.labelWidth,g=void 0===h?0:h,y=e.multiline,m=void 0!==y&&y,v=e.notched,b=e.type,M=void 0===b?"text":b,w=Object(o.a)(e,["classes","fullWidth","inputComponent","label","labelWidth","multiline","notched","type"]);return i.createElement(s.a,Object(r.a)({renderSuffix:function(e){return i.createElement(p,{className:n.notchedOutline,label:d,labelWidth:g,notched:"undefined"!==typeof v?v:Boolean(e.startAdornment||e.filled||e.focused)})},classes:Object(r.a)({},n,{root:Object(a.a)(n.root,n.underline),notchedOutline:null}),fullWidth:l,inputComponent:f,multiline:m,ref:t,type:M},w))}));h.muiName="Input";t.a=Object(l.a)((function(e){var t="light"===e.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{root:{position:"relative",borderRadius:e.shape.borderRadius,"&:hover $notchedOutline":{borderColor:e.palette.text.primary},"@media (hover: none)":{"&:hover $notchedOutline":{borderColor:t}},"&$focused $notchedOutline":{borderColor:e.palette.primary.main,borderWidth:2},"&$error $notchedOutline":{borderColor:e.palette.error.main},"&$disabled $notchedOutline":{borderColor:e.palette.action.disabled}},colorSecondary:{"&$focused $notchedOutline":{borderColor:e.palette.secondary.main}},focused:{},disabled:{},adornedStart:{paddingLeft:14},adornedEnd:{paddingRight:14},error:{},marginDense:{},multiline:{padding:"18.5px 14px","&$marginDense":{paddingTop:10.5,paddingBottom:10.5}},notchedOutline:{borderColor:t},input:{padding:"18.5px 14px","&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.type?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.type?null:"#fff",caretColor:"light"===e.palette.type?null:"#fff",borderRadius:"inherit"}},inputMarginDense:{paddingTop:10.5,paddingBottom:10.5},inputMultiline:{padding:0},inputAdornedStart:{paddingLeft:0},inputAdornedEnd:{paddingRight:0}}}),{name:"MuiOutlinedInput"})(h)},,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(1);function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.baseClasses,n=e.newClasses;e.Component;if(!n)return t;var o=Object(r.a)({},t);return Object.keys(n).forEach((function(e){n[e]&&(o[e]="".concat(t[e]," ").concat(n[e]))})),o}},function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return h}));var r,o=n(1),i=n(5),a=n(0),s=n.n(a),u=n(739),l=n(44),c=n(402),f=Object(l.b)(Object(c.a)()),d={disableGeneration:!1,generateClassName:Object(u.a)(),jss:f,sheetsCache:null,sheetsManager:new Map,sheetsRegistry:null},p=s.a.createContext(d);function h(e){var t=e.children,n=e.injectFirst,a=void 0!==n&&n,u=e.disableGeneration,f=void 0!==u&&u,d=Object(i.a)(e,["children","injectFirst","disableGeneration"]),h=s.a.useContext(p),g=Object(o.a)({},h,{disableGeneration:f},d);if(!g.jss.options.insertionPoint&&a&&"undefined"!==typeof window){if(!r){var y=document.head;r=document.createComment("mui-inject-first"),y.insertBefore(r,y.firstChild)}g.jss=Object(l.b)({plugins:Object(c.a)().plugins,insertionPoint:r})}return s.a.createElement(p.Provider,{value:g},t)}},function(e,t,n){"use strict";function r(e){var t=e.theme,n=e.name,r=e.props;if(!t||!t.props||!t.props[n])return r;var o,i=t.props[n];for(o in i)void 0===r[o]&&(r[o]=i[o]);return r}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=n(1),o=n(5),i=n(0),a=n(4),s=n(119),u=n(8),l=n(86),c=i.forwardRef((function(e,t){var n=e.children,u=e.classes,c=e.className,f=e.component,d=void 0===f?"div":f,p=e.disablePointerEvents,h=void 0!==p&&p,g=e.disableTypography,y=void 0!==g&&g,m=e.position,v=e.variant,b=Object(o.a)(e,["children","classes","className","component","disablePointerEvents","disableTypography","position","variant"]),M=Object(l.b)()||{},w=v;return v&&M.variant,M&&!w&&(w=M.variant),i.createElement(l.a.Provider,{value:null},i.createElement(d,Object(r.a)({className:Object(a.a)(u.root,c,"end"===m?u.positionEnd:u.positionStart,h&&u.disablePointerEvents,M.hiddenLabel&&u.hiddenLabel,"filled"===w&&u.filled,"dense"===M.margin&&u.marginDense),ref:t},b),"string"!==typeof n||y?n:i.createElement(s.a,{color:"textSecondary"},n)))}));t.a=Object(u.a)({root:{display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap"},filled:{"&$positionStart:not($hiddenLabel)":{marginTop:16}},positionStart:{marginRight:8},positionEnd:{marginLeft:8},disablePointerEvents:{pointerEvents:"none"},hiddenLabel:{},marginDense:{}},{name:"MuiInputAdornment"})(c)},function(e,t,n){"use strict";var r=n(1),o=n(5),i=n(0),a=n(4),s=n(8),u=n(9),l=i.forwardRef((function(e,t){var n=e.classes,s=e.className,l=e.color,c=void 0===l?"inherit":l,f=e.component,d=void 0===f?"span":f,p=e.fontSize,h=void 0===p?"medium":p,g=Object(o.a)(e,["classes","className","color","component","fontSize"]);return i.createElement(d,Object(r.a)({className:Object(a.a)("material-icons",n.root,s,"inherit"!==c&&n["color".concat(Object(u.a)(c))],"default"!==h&&"medium"!==h&&n["fontSize".concat(Object(u.a)(h))]),"aria-hidden":!0,ref:t},g))}));l.muiName="Icon",t.a=Object(s.a)((function(e){return{root:{userSelect:"none",fontSize:e.typography.pxToRem(24),width:"1em",height:"1em",overflow:"hidden",flexShrink:0},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},colorAction:{color:e.palette.action.active},colorError:{color:e.palette.error.main},colorDisabled:{color:e.palette.action.disabled},fontSizeInherit:{fontSize:"inherit"},fontSizeSmall:{fontSize:e.typography.pxToRem(20)},fontSizeLarge:{fontSize:e.typography.pxToRem(36)}}}),{name:"MuiIcon"})(l)},function(e,t,n){"use strict";var r=n(5),o=n(16),i=n(1),a=n(0),s=n(4),u=n(8),l=n(746),c=a.forwardRef((function(e,t){var n,o=e.classes,u=e.className,c=e.component,f=void 0===c?"li":c,d=e.disableGutters,p=void 0!==d&&d,h=e.ListItemClasses,g=e.role,y=void 0===g?"menuitem":g,m=e.selected,v=e.tabIndex,b=Object(r.a)(e,["classes","className","component","disableGutters","ListItemClasses","role","selected","tabIndex"]);return e.disabled||(n=void 0!==v?v:-1),a.createElement(l.a,Object(i.a)({button:!0,role:y,tabIndex:n,component:f,selected:m,disableGutters:p,classes:Object(i.a)({dense:o.dense},h),className:Object(s.a)(o.root,u,m&&o.selected,!p&&o.gutters),ref:t},b))}));t.a=Object(u.a)((function(e){return{root:Object(i.a)({},e.typography.body1,Object(o.a)({minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",width:"auto",overflow:"hidden",whiteSpace:"nowrap"},e.breakpoints.up("sm"),{minHeight:"auto"})),gutters:{},selected:{},dense:Object(i.a)({},e.typography.body2,{minHeight:"auto"})}}),{name:"MuiMenuItem"})(c)},function(e,t,n){"use strict";var r=n(1),o=n(0),i=n.n(o),a=n(191),s=n(280),u=n(192);t.a=function(e){var t=e.children,n=e.theme,o=Object(s.a)(),l=i.a.useMemo((function(){var e=null===o?n:function(e,t){return"function"===typeof t?t(e):Object(r.a)({},e,t)}(o,n);return null!=e&&(e[u.a]=null!==o),e}),[n,o]);return i.a.createElement(a.a.Provider,{value:l},t)}},function(e,t,n){"use strict";var r=n(1),o=n(5),i=n(0),a=n(4),s=n(282),u=n(399),l=n(8),c=n(748),f=n(145),d=n(9),p=n(45),h=n(33),g={left:"right",right:"left",top:"down",bottom:"up"};var y={enter:p.b.enteringScreen,exit:p.b.leavingScreen},m=i.forwardRef((function(e,t){var n=e.anchor,l=void 0===n?"left":n,p=e.BackdropProps,m=e.children,v=e.classes,b=e.className,M=e.elevation,w=void 0===M?16:M,N=e.ModalProps,j=(N=void 0===N?{}:N).BackdropProps,S=Object(o.a)(N,["BackdropProps"]),I=e.onClose,D=e.open,x=void 0!==D&&D,E=e.PaperProps,O=void 0===E?{}:E,T=e.SlideProps,C=e.TransitionComponent,k=void 0===C?c.a:C,L=e.transitionDuration,_=void 0===L?y:L,A=e.variant,z=void 0===A?"temporary":A,P=Object(o.a)(e,["anchor","BackdropProps","children","classes","className","elevation","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"]),R=Object(h.a)(),U=i.useRef(!1);i.useEffect((function(){U.current=!0}),[]);var B=function(e,t){return"rtl"===e.direction&&function(e){return-1!==["left","right"].indexOf(e)}(t)?g[t]:t}(R,l),F=i.createElement(f.a,Object(r.a)({elevation:"temporary"===z?w:0,square:!0},O,{className:Object(a.a)(v.paper,v["paperAnchor".concat(Object(d.a)(B))],O.className,"temporary"!==z&&v["paperAnchorDocked".concat(Object(d.a)(B))])}),m);if("permanent"===z)return i.createElement("div",Object(r.a)({className:Object(a.a)(v.root,v.docked,b),ref:t},P),F);var Y=i.createElement(k,Object(r.a)({in:x,direction:g[B],timeout:_,appear:U.current},T),F);return"persistent"===z?i.createElement("div",Object(r.a)({className:Object(a.a)(v.root,v.docked,b),ref:t},P),Y):i.createElement(s.a,Object(r.a)({BackdropProps:Object(r.a)({},p,j,{transitionDuration:_}),BackdropComponent:u.a,className:Object(a.a)(v.root,v.modal,b),open:x,onClose:I,ref:t},P,S),Y)}));t.a=Object(l.a)((function(e){return{root:{},docked:{flex:"0 0 auto"},paper:{overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:e.zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},paperAnchorLeft:{left:0,right:"auto"},paperAnchorRight:{left:"auto",right:0},paperAnchorTop:{top:0,left:0,bottom:"auto",right:0,height:"auto",maxHeight:"100%"},paperAnchorBottom:{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},paperAnchorDockedLeft:{borderRight:"1px solid ".concat(e.palette.divider)},paperAnchorDockedTop:{borderBottom:"1px solid ".concat(e.palette.divider)},paperAnchorDockedRight:{borderLeft:"1px solid ".concat(e.palette.divider)},paperAnchorDockedBottom:{borderTop:"1px solid ".concat(e.palette.divider)},modal:{}}}),{name:"MuiDrawer",flip:!1})(m)},function(e,t,n){"use strict";var r=n(1),o=n(5),i=n(0),a=n(4),s=n(8),u=n(119),l=n(87),c=i.forwardRef((function(e,t){var n=e.children,s=e.classes,c=e.className,f=e.disableTypography,d=void 0!==f&&f,p=e.inset,h=void 0!==p&&p,g=e.primary,y=e.primaryTypographyProps,m=e.secondary,v=e.secondaryTypographyProps,b=Object(o.a)(e,["children","classes","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"]),M=i.useContext(l.a).dense,w=null!=g?g:n;null==w||w.type===u.a||d||(w=i.createElement(u.a,Object(r.a)({variant:M?"body2":"body1",className:s.primary,component:"span",display:"block"},y),w));var N=m;return null==N||N.type===u.a||d||(N=i.createElement(u.a,Object(r.a)({variant:"body2",className:s.secondary,color:"textSecondary",display:"block"},v),N)),i.createElement("div",Object(r.a)({className:Object(a.a)(s.root,c,M&&s.dense,h&&s.inset,w&&N&&s.multiline),ref:t},b),w,N)}));t.a=Object(s.a)({root:{flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},multiline:{marginTop:6,marginBottom:6},dense:{},inset:{paddingLeft:56},primary:{},secondary:{}},{name:"MuiListItemText"})(c)},function(e,t,n){"use strict";var r=n(1),o=n(52),i=n(5),a=n(0),s=n(4),u=n(207),l=n(8),c=n(45),f=n(55),d=n(33),p=n(19),h=a.forwardRef((function(e,t){var n=e.children,l=e.classes,h=e.className,g=e.collapsedHeight,y=e.collapsedSize,m=void 0===y?"0px":y,v=e.component,b=void 0===v?"div":v,M=e.disableStrictModeCompat,w=void 0!==M&&M,N=e.in,j=e.onEnter,S=e.onEntered,I=e.onEntering,D=e.onExit,x=e.onExited,E=e.onExiting,O=e.style,T=e.timeout,C=void 0===T?c.b.standard:T,k=e.TransitionComponent,L=void 0===k?u.a:k,_=Object(i.a)(e,["children","classes","className","collapsedHeight","collapsedSize","component","disableStrictModeCompat","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),A=Object(d.a)(),z=a.useRef(),P=a.useRef(null),R=a.useRef(),U="number"===typeof(g||m)?"".concat(g||m,"px"):g||m;a.useEffect((function(){return function(){clearTimeout(z.current)}}),[]);var B=A.unstable_strictMode&&!w,F=a.useRef(null),Y=Object(p.a)(t,B?F:void 0),G=function(e){return function(t,n){if(e){var r=B?[F.current,t]:[t,n],i=Object(o.a)(r,2),a=i[0],s=i[1];void 0===s?e(a):e(a,s)}}},H=G((function(e,t){e.style.height=U,j&&j(e,t)})),V=G((function(e,t){var n=P.current?P.current.clientHeight:0,r=Object(f.a)({style:O,timeout:C},{mode:"enter"}).duration;if("auto"===C){var o=A.transitions.getAutoHeightDuration(n);e.style.transitionDuration="".concat(o,"ms"),R.current=o}else e.style.transitionDuration="string"===typeof r?r:"".concat(r,"ms");e.style.height="".concat(n,"px"),I&&I(e,t)})),Q=G((function(e,t){e.style.height="auto",S&&S(e,t)})),W=G((function(e){var t=P.current?P.current.clientHeight:0;e.style.height="".concat(t,"px"),D&&D(e)})),Z=G(x),q=G((function(e){var t=P.current?P.current.clientHeight:0,n=Object(f.a)({style:O,timeout:C},{mode:"exit"}).duration;if("auto"===C){var r=A.transitions.getAutoHeightDuration(t);e.style.transitionDuration="".concat(r,"ms"),R.current=r}else e.style.transitionDuration="string"===typeof n?n:"".concat(n,"ms");e.style.height=U,E&&E(e)}));return a.createElement(L,Object(r.a)({in:N,onEnter:H,onEntered:Q,onEntering:V,onExit:W,onExited:Z,onExiting:q,addEndListener:function(e,t){var n=B?e:t;"auto"===C&&(z.current=setTimeout(n,R.current||0))},nodeRef:B?F:void 0,timeout:"auto"===C?null:C},_),(function(e,t){return a.createElement(b,Object(r.a)({className:Object(s.a)(l.root,l.container,h,{entered:l.entered,exited:!N&&"0px"===U&&l.hidden}[e]),style:Object(r.a)({minHeight:U},O),ref:Y},t),a.createElement("div",{className:l.wrapper,ref:P},a.createElement("div",{className:l.wrapperInner},n)))}))}));h.muiSupportAuto=!0,t.a=Object(l.a)((function(e){return{root:{height:0,overflow:"hidden",transition:e.transitions.create("height")},entered:{height:"auto",overflow:"visible"},hidden:{visibility:"hidden"},wrapper:{display:"flex"},wrapperInner:{width:"100%"}}}),{name:"MuiCollapse"})(h)},function(e,t,n){"use strict";var r=n(1),o=n(5),i=n(0),a=n(4),s=n(8),u=n(9),l=i.forwardRef((function(e,t){var n=e.classes,s=e.className,l=e.color,c=void 0===l?"default":l,f=e.component,d=void 0===f?"li":f,p=e.disableGutters,h=void 0!==p&&p,g=e.disableSticky,y=void 0!==g&&g,m=e.inset,v=void 0!==m&&m,b=Object(o.a)(e,["classes","className","color","component","disableGutters","disableSticky","inset"]);return i.createElement(d,Object(r.a)({className:Object(a.a)(n.root,s,"default"!==c&&n["color".concat(Object(u.a)(c))],v&&n.inset,!y&&n.sticky,!h&&n.gutters),ref:t},b))}));t.a=Object(s.a)((function(e){return{root:{boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:e.palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14)},colorPrimary:{color:e.palette.primary.main},colorInherit:{color:"inherit"},gutters:{paddingLeft:16,paddingRight:16},inset:{paddingLeft:72},sticky:{position:"sticky",top:0,zIndex:1,backgroundColor:"inherit"}}}),{name:"MuiListSubheader"})(l)},function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var r=n(118),o=n.n(r),i=n(139),a=n.n(i),s=n(25),u=n.n(s),l=n(39),c=n.n(l),f=n(0),d=n(271),p=n.n(d),h=n(197),g=n(97),y=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return t=e.call.apply(e,[this].concat(r))||this,c()(u()(u()(t)),"refHandler",(function(e){Object(g.b)(t.props.innerRef,e),Object(g.a)(t.props.setReferenceNode,e)})),t}a()(t,e);var n=t.prototype;return n.componentWillUnmount=function(){Object(g.b)(this.props.innerRef,null)},n.render=function(){return p()(Boolean(this.props.setReferenceNode),"`Reference` should not be used outside of a `Manager` component."),Object(g.c)(this.props.children)({ref:this.refHandler})},t}(f.Component);function m(e){return f.createElement(h.b.Consumer,null,(function(t){return f.createElement(y,o()({setReferenceNode:t},e))}))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return N}));var r=n(384),o=n.n(r),i=n(118),a=n.n(i),s=n(139),u=n.n(s),l=n(25),c=n.n(l),f=n(39),d=n.n(f),p=n(385),h=n.n(p),g=n(0),y=n(276),m=n(197),v=n(97),b={position:"absolute",top:0,left:0,opacity:0,pointerEvents:"none"},M={},w=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return t=e.call.apply(e,[this].concat(r))||this,d()(c()(c()(t)),"state",{data:void 0,placement:void 0}),d()(c()(c()(t)),"popperInstance",void 0),d()(c()(c()(t)),"popperNode",null),d()(c()(c()(t)),"arrowNode",null),d()(c()(c()(t)),"setPopperNode",(function(e){e&&t.popperNode!==e&&(Object(v.b)(t.props.innerRef,e),t.popperNode=e,t.updatePopperInstance())})),d()(c()(c()(t)),"setArrowNode",(function(e){t.arrowNode=e})),d()(c()(c()(t)),"updateStateModifier",{enabled:!0,order:900,fn:function(e){var n=e.placement;return t.setState({data:e,placement:n}),e}}),d()(c()(c()(t)),"getOptions",(function(){return{placement:t.props.placement,eventsEnabled:t.props.eventsEnabled,positionFixed:t.props.positionFixed,modifiers:a()({},t.props.modifiers,{arrow:a()({},t.props.modifiers&&t.props.modifiers.arrow,{enabled:!!t.arrowNode,element:t.arrowNode}),applyStyle:{enabled:!1},updateStateModifier:t.updateStateModifier})}})),d()(c()(c()(t)),"getPopperStyle",(function(){return t.popperNode&&t.state.data?a()({position:t.state.data.offsets.popper.position},t.state.data.styles):b})),d()(c()(c()(t)),"getPopperPlacement",(function(){return t.state.data?t.state.placement:void 0})),d()(c()(c()(t)),"getArrowStyle",(function(){return t.arrowNode&&t.state.data?t.state.data.arrowStyles:M})),d()(c()(c()(t)),"getOutOfBoundariesState",(function(){return t.state.data?t.state.data.hide:void 0})),d()(c()(c()(t)),"destroyPopperInstance",(function(){t.popperInstance&&(t.popperInstance.destroy(),t.popperInstance=null)})),d()(c()(c()(t)),"updatePopperInstance",(function(){t.destroyPopperInstance();var e=c()(c()(t)).popperNode,n=t.props.referenceElement;n&&e&&(t.popperInstance=new y.a(n,e,t.getOptions()))})),d()(c()(c()(t)),"scheduleUpdate",(function(){t.popperInstance&&t.popperInstance.scheduleUpdate()})),t}u()(t,e);var n=t.prototype;return n.componentDidUpdate=function(e,t){this.props.placement===e.placement&&this.props.referenceElement===e.referenceElement&&this.props.positionFixed===e.positionFixed&&h()(this.props.modifiers,e.modifiers,{strict:!0})?this.props.eventsEnabled!==e.eventsEnabled&&this.popperInstance&&(this.props.eventsEnabled?this.popperInstance.enableEventListeners():this.popperInstance.disableEventListeners()):this.updatePopperInstance(),t.placement!==this.state.placement&&this.scheduleUpdate()},n.componentWillUnmount=function(){Object(v.b)(this.props.innerRef,null),this.destroyPopperInstance()},n.render=function(){return Object(v.c)(this.props.children)({ref:this.setPopperNode,style:this.getPopperStyle(),placement:this.getPopperPlacement(),outOfBoundaries:this.getOutOfBoundariesState(),scheduleUpdate:this.scheduleUpdate,arrowProps:{ref:this.setArrowNode,style:this.getArrowStyle()}})},t}(g.Component);d()(w,"defaultProps",{placement:"bottom",eventsEnabled:!0,referenceElement:void 0,positionFixed:!1});y.a.placements;function N(e){var t=e.referenceElement,n=o()(e,["referenceElement"]);return g.createElement(m.a.Consumer,null,(function(e){return g.createElement(w,a()({referenceElement:void 0!==t?t:e},n))}))}},function(e,t,n){"use strict";var r=n(1),o=n(5),i=n(0),a=n(4),s=n(8),u=n(17),l=i.forwardRef((function(e,t){var n=e.absolute,s=void 0!==n&&n,u=e.classes,l=e.className,c=e.component,f=void 0===c?"hr":c,d=e.flexItem,p=void 0!==d&&d,h=e.light,g=void 0!==h&&h,y=e.orientation,m=void 0===y?"horizontal":y,v=e.role,b=void 0===v?"hr"!==f?"separator":void 0:v,M=e.variant,w=void 0===M?"fullWidth":M,N=Object(o.a)(e,["absolute","classes","className","component","flexItem","light","orientation","role","variant"]);return i.createElement(f,Object(r.a)({className:Object(a.a)(u.root,l,"fullWidth"!==w&&u[w],s&&u.absolute,p&&u.flexItem,g&&u.light,"vertical"===m&&u.vertical),role:b,ref:t},N))}));t.a=Object(s.a)((function(e){return{root:{height:1,margin:0,border:"none",flexShrink:0,backgroundColor:e.palette.divider},absolute:{position:"absolute",bottom:0,left:0,width:"100%"},inset:{marginLeft:72},light:{backgroundColor:Object(u.a)(e.palette.divider,.08)},middle:{marginLeft:e.spacing(2),marginRight:e.spacing(2)},vertical:{height:"100%",width:1},flexItem:{alignSelf:"stretch",height:"auto"}}}),{name:"MuiDivider"})(l)},function(e,t,n){"use strict";var r=n(1),o=n(52),i=n(5),a=n(0),s=n(751),u=n(19),l=n(84),c=n(198),f=n(129),d=a.forwardRef((function(e,t){var n=e.actions,d=e.children,p=e.name,h=e.value,g=e.onChange,y=Object(i.a)(e,["actions","children","name","value","onChange"]),m=a.useRef(null),v=Object(l.a)({controlled:h,default:e.defaultValue,name:"RadioGroup"}),b=Object(o.a)(v,2),M=b[0],w=b[1];a.useImperativeHandle(n,(function(){return{focus:function(){var e=m.current.querySelector("input:not(:disabled):checked");e||(e=m.current.querySelector("input:not(:disabled)")),e&&e.focus()}}}),[]);var N=Object(u.a)(t,m),j=Object(f.a)(p);return a.createElement(c.a.Provider,{value:{name:j,onChange:function(e){w(e.target.value),g&&g(e,e.target.value)},value:M}},a.createElement(s.a,Object(r.a)({role:"radiogroup",ref:N},y),d))}));t.a=d},function(e,t,n){"use strict";var r=n(1),o=n(5),i=n(0),a=n(4),s=n(66),u=n(8),l=n(119),c=n(9),f=i.forwardRef((function(e,t){e.checked;var n=e.classes,u=e.className,f=e.control,d=e.disabled,p=(e.inputRef,e.label),h=e.labelPlacement,g=void 0===h?"end":h,y=(e.name,e.onChange,e.value,Object(o.a)(e,["checked","classes","className","control","disabled","inputRef","label","labelPlacement","name","onChange","value"])),m=Object(s.a)(),v=d;"undefined"===typeof v&&"undefined"!==typeof f.props.disabled&&(v=f.props.disabled),"undefined"===typeof v&&m&&(v=m.disabled);var b={disabled:v};return["checked","name","onChange","value","inputRef"].forEach((function(t){"undefined"===typeof f.props[t]&&"undefined"!==typeof e[t]&&(b[t]=e[t])})),i.createElement("label",Object(r.a)({className:Object(a.a)(n.root,u,"end"!==g&&n["labelPlacement".concat(Object(c.a)(g))],v&&n.disabled),ref:t},y),i.cloneElement(f,b),i.createElement(l.a,{component:"span",className:Object(a.a)(n.label,v&&n.disabled)},p))}));t.a=Object(u.a)((function(e){return{root:{display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,"&$disabled":{cursor:"default"}},labelPlacementStart:{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},labelPlacementTop:{flexDirection:"column-reverse",marginLeft:16},labelPlacementBottom:{flexDirection:"column",marginLeft:16},disabled:{},label:{"&$disabled":{color:e.palette.text.disabled}}}}),{name:"MuiFormControlLabel"})(f)},function(e,t,n){"use strict";var r=n(1),o=n(5),i=n(0),a=n(4),s=n(8),u=n(17),l=n(9),c=n(140),f=i.forwardRef((function(e,t){var n=e.classes,s=e.className,u=e.color,f=void 0===u?"secondary":u,d=e.edge,p=void 0!==d&&d,h=e.size,g=void 0===h?"medium":h,y=Object(o.a)(e,["classes","className","color","edge","size"]),m=i.createElement("span",{className:n.thumb});return i.createElement("span",{className:Object(a.a)(n.root,s,{start:n.edgeStart,end:n.edgeEnd}[p],"small"===g&&n["size".concat(Object(l.a)(g))])},i.createElement(c.a,Object(r.a)({type:"checkbox",icon:m,checkedIcon:m,classes:{root:Object(a.a)(n.switchBase,n["color".concat(Object(l.a)(f))]),input:n.input,checked:n.checked,disabled:n.disabled},ref:t},y)),i.createElement("span",{className:n.track}))}));t.a=Object(s.a)((function(e){return{root:{display:"inline-flex",width:58,height:38,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"}},edgeStart:{marginLeft:-8},edgeEnd:{marginRight:-8},switchBase:{position:"absolute",top:0,left:0,zIndex:1,color:"light"===e.palette.type?e.palette.grey[50]:e.palette.grey[400],transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),"&$checked":{transform:"translateX(20px)"},"&$disabled":{color:"light"===e.palette.type?e.palette.grey[400]:e.palette.grey[800]},"&$checked + $track":{opacity:.5},"&$disabled + $track":{opacity:"light"===e.palette.type?.12:.1}},colorPrimary:{"&$checked":{color:e.palette.primary.main,"&:hover":{backgroundColor:Object(u.a)(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:"light"===e.palette.type?e.palette.grey[400]:e.palette.grey[800]},"&$checked + $track":{backgroundColor:e.palette.primary.main},"&$disabled + $track":{backgroundColor:"light"===e.palette.type?e.palette.common.black:e.palette.common.white}},colorSecondary:{"&$checked":{color:e.palette.secondary.main,"&:hover":{backgroundColor:Object(u.a)(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:"light"===e.palette.type?e.palette.grey[400]:e.palette.grey[800]},"&$checked + $track":{backgroundColor:e.palette.secondary.main},"&$disabled + $track":{backgroundColor:"light"===e.palette.type?e.palette.common.black:e.palette.common.white}},sizeSmall:{width:40,height:24,padding:7,"& $thumb":{width:16,height:16},"& $switchBase":{padding:4,"&$checked":{transform:"translateX(16px)"}}},checked:{},disabled:{},input:{left:"-100%",width:"300%"},thumb:{boxShadow:e.shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"},track:{height:"100%",width:"100%",borderRadius:7,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:"light"===e.palette.type?e.palette.common.black:e.palette.common.white,opacity:"light"===e.palette.type?.38:.3}}}),{name:"MuiSwitch"})(f)},function(e,t,n){"use strict";var r=n(1),o=n(5),i=n(0),a=n(4),s=n(145),u=n(8),l=i.forwardRef((function(e,t){var n=e.classes,u=e.className,l=e.raised,c=void 0!==l&&l,f=Object(o.a)(e,["classes","className","raised"]);return i.createElement(s.a,Object(r.a)({className:Object(a.a)(n.root,u),elevation:c?8:1,ref:t},f))}));t.a=Object(u.a)({root:{overflow:"hidden"}},{name:"MuiCard"})(l)},function(e,t,n){"use strict";var r=n(1),o=n(5),i=n(0),a=n(4),s=n(8),u=n(9),l=n(145),c=i.forwardRef((function(e,t){var n=e.classes,s=e.className,c=e.color,f=void 0===c?"primary":c,d=e.position,p=void 0===d?"fixed":d,h=Object(o.a)(e,["classes","className","color","position"]);return i.createElement(l.a,Object(r.a)({square:!0,component:"header",elevation:4,className:Object(a.a)(n.root,n["position".concat(Object(u.a)(p))],n["color".concat(Object(u.a)(f))],s,"fixed"===p&&"mui-fixed"),ref:t},h))}));t.a=Object(s.a)((function(e){var t="light"===e.palette.type?e.palette.grey[100]:e.palette.grey[900];return{root:{display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",zIndex:e.zIndex.appBar,flexShrink:0},positionFixed:{position:"fixed",top:0,left:"auto",right:0,"@media print":{position:"absolute"}},positionAbsolute:{position:"absolute",top:0,left:"auto",right:0},positionSticky:{position:"sticky",top:0,left:"auto",right:0},positionStatic:{position:"static"},positionRelative:{position:"relative"},colorDefault:{backgroundColor:t,color:e.palette.getContrastText(t)},colorPrimary:{backgroundColor:e.palette.primary.main,color:e.palette.primary.contrastText},colorSecondary:{backgroundColor:e.palette.secondary.main,color:e.palette.secondary.contrastText},colorInherit:{color:"inherit"},colorTransparent:{backgroundColor:"transparent",color:"inherit"}}}),{name:"MuiAppBar"})(c)},function(e,t,n){"use strict";var r=n(5),o=n(16),i=n(1),a=n(0),s=n(4),u=n(8),l=n(160),c=n(9),f=a.forwardRef((function(e,t){var n=e.classes,o=e.className,u=e.disabled,f=void 0!==u&&u,d=e.disableFocusRipple,p=void 0!==d&&d,h=e.fullWidth,g=e.icon,y=e.indicator,m=e.label,v=e.onChange,b=e.onClick,M=e.onFocus,w=e.selected,N=e.selectionFollowsFocus,j=e.textColor,S=void 0===j?"inherit":j,I=e.value,D=e.wrapped,x=void 0!==D&&D,E=Object(r.a)(e,["classes","className","disabled","disableFocusRipple","fullWidth","icon","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"]);return a.createElement(l.a,Object(i.a)({focusRipple:!p,className:Object(s.a)(n.root,n["textColor".concat(Object(c.a)(S))],o,f&&n.disabled,w&&n.selected,m&&g&&n.labelIcon,h&&n.fullWidth,x&&n.wrapped),ref:t,role:"tab","aria-selected":w,disabled:f,onClick:function(e){v&&v(e,I),b&&b(e)},onFocus:function(e){N&&!w&&v&&v(e,I),M&&M(e)},tabIndex:w?0:-1},E),a.createElement("span",{className:n.wrapper},g,m),y)}));t.a=Object(u.a)((function(e){var t;return{root:Object(i.a)({},e.typography.button,(t={maxWidth:264,minWidth:72,position:"relative",boxSizing:"border-box",minHeight:48,flexShrink:0,padding:"6px 12px"},Object(o.a)(t,e.breakpoints.up("sm"),{padding:"6px 24px"}),Object(o.a)(t,"overflow","hidden"),Object(o.a)(t,"whiteSpace","normal"),Object(o.a)(t,"textAlign","center"),Object(o.a)(t,e.breakpoints.up("sm"),{minWidth:160}),t)),labelIcon:{minHeight:72,paddingTop:9,"& $wrapper > *:first-child":{marginBottom:6}},textColorInherit:{color:"inherit",opacity:.7,"&$selected":{opacity:1},"&$disabled":{opacity:.5}},textColorPrimary:{color:e.palette.text.secondary,"&$selected":{color:e.palette.primary.main},"&$disabled":{color:e.palette.text.disabled}},textColorSecondary:{color:e.palette.text.secondary,"&$selected":{color:e.palette.secondary.main},"&$disabled":{color:e.palette.text.disabled}},selected:{},disabled:{},fullWidth:{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},wrapped:{fontSize:e.typography.pxToRem(12),lineHeight:1.5},wrapper:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:"100%",flexDirection:"column"}}}),{name:"MuiTab"})(f)},function(e,t,n){"use strict";var r=n(1),o=n(5),i=n(0),a=n(4),s=n(8),u=n(87),l=i.forwardRef((function(e,t){var n=e.classes,s=e.className,l=Object(o.a)(e,["classes","className"]),c=i.useContext(u.a);return i.createElement("div",Object(r.a)({className:Object(a.a)(n.root,s,"flex-start"===c.alignItems&&n.alignItemsFlexStart),ref:t},l))}));t.a=Object(s.a)((function(e){return{root:{minWidth:56,color:e.palette.action.active,flexShrink:0,display:"inline-flex"},alignItemsFlexStart:{marginTop:8}}}),{name:"MuiListItemIcon"})(l)},function(e,t,n){"use strict";var r=n(1),o=n(52),i=n(5),a=n(16),s=n(0),u=n(15),l=n(4),c=n(190),f=n(17),d=n(8),p=n(9),h=n(281),g=n(752),y=n(19),m=n(129),v=n(60),b=n(101),M=n(84),w=n(33);function N(e){return Math.round(1e5*e)/1e5}var j=!1,S=null;var I=s.forwardRef((function(e,t){var n=e.arrow,a=void 0!==n&&n,f=e.children,d=e.classes,N=e.disableFocusListener,I=void 0!==N&&N,D=e.disableHoverListener,x=void 0!==D&&D,E=e.disableTouchListener,O=void 0!==E&&E,T=e.enterDelay,C=void 0===T?100:T,k=e.enterNextDelay,L=void 0===k?0:k,_=e.enterTouchDelay,A=void 0===_?700:_,z=e.id,P=e.interactive,R=void 0!==P&&P,U=e.leaveDelay,B=void 0===U?0:U,F=e.leaveTouchDelay,Y=void 0===F?1500:F,G=e.onClose,H=e.onOpen,V=e.open,Q=e.placement,W=void 0===Q?"bottom":Q,Z=e.PopperComponent,q=void 0===Z?g.a:Z,X=e.PopperProps,$=e.title,J=e.TransitionComponent,K=void 0===J?h.a:J,ee=e.TransitionProps,te=Object(i.a)(e,["arrow","children","classes","disableFocusListener","disableHoverListener","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","id","interactive","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","title","TransitionComponent","TransitionProps"]),ne=Object(w.a)(),re=s.useState(),oe=re[0],ie=re[1],ae=s.useState(null),se=ae[0],ue=ae[1],le=s.useRef(!1),ce=s.useRef(),fe=s.useRef(),de=s.useRef(),pe=s.useRef(),he=Object(M.a)({controlled:V,default:!1,name:"Tooltip",state:"open"}),ge=Object(o.a)(he,2),ye=ge[0],me=ge[1],ve=ye,be=Object(m.a)(z);s.useEffect((function(){return function(){clearTimeout(ce.current),clearTimeout(fe.current),clearTimeout(de.current),clearTimeout(pe.current)}}),[]);var Me=function(e){clearTimeout(S),j=!0,me(!0),H&&H(e)},we=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return function(t){var n=f.props;"mouseover"===t.type&&n.onMouseOver&&e&&n.onMouseOver(t),le.current&&"touchstart"!==t.type||(oe&&oe.removeAttribute("title"),clearTimeout(fe.current),clearTimeout(de.current),C||j&&L?(t.persist(),fe.current=setTimeout((function(){Me(t)}),j?L:C)):Me(t))}},Ne=Object(b.a)(),je=Ne.isFocusVisible,Se=Ne.onBlurVisible,Ie=Ne.ref,De=s.useState(!1),xe=De[0],Ee=De[1],Oe=function(){xe&&(Ee(!1),Se())},Te=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return function(t){oe||ie(t.currentTarget),je(t)&&(Ee(!0),we()(t));var n=f.props;n.onFocus&&e&&n.onFocus(t)}},Ce=function(e){clearTimeout(S),S=setTimeout((function(){j=!1}),800+B),me(!1),G&&G(e),clearTimeout(ce.current),ce.current=setTimeout((function(){le.current=!1}),ne.transitions.duration.shortest)},ke=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return function(t){var n=f.props;"blur"===t.type&&(n.onBlur&&e&&n.onBlur(t),Oe()),"mouseleave"===t.type&&n.onMouseLeave&&t.currentTarget===oe&&n.onMouseLeave(t),clearTimeout(fe.current),clearTimeout(de.current),t.persist(),de.current=setTimeout((function(){Ce(t)}),B)}},Le=function(e){le.current=!0;var t=f.props;t.onTouchStart&&t.onTouchStart(e)},_e=Object(y.a)(ie,t),Ae=Object(y.a)(Ie,_e),ze=s.useCallback((function(e){Object(v.a)(Ae,u.findDOMNode(e))}),[Ae]),Pe=Object(y.a)(f.ref,ze);""===$&&(ve=!1);var Re=!ve&&!x,Ue=Object(r.a)({"aria-describedby":ve?be:null,title:Re&&"string"===typeof $?$:null},te,f.props,{className:Object(l.a)(te.className,f.props.className),onTouchStart:Le,ref:Pe}),Be={};O||(Ue.onTouchStart=function(e){Le(e),clearTimeout(de.current),clearTimeout(ce.current),clearTimeout(pe.current),e.persist(),pe.current=setTimeout((function(){we()(e)}),A)},Ue.onTouchEnd=function(e){f.props.onTouchEnd&&f.props.onTouchEnd(e),clearTimeout(pe.current),clearTimeout(de.current),e.persist(),de.current=setTimeout((function(){Ce(e)}),Y)}),x||(Ue.onMouseOver=we(),Ue.onMouseLeave=ke(),R&&(Be.onMouseOver=we(!1),Be.onMouseLeave=ke(!1))),I||(Ue.onFocus=Te(),Ue.onBlur=ke(),R&&(Be.onFocus=Te(!1),Be.onBlur=ke(!1)));var Fe=s.useMemo((function(){return Object(c.a)({popperOptions:{modifiers:{arrow:{enabled:Boolean(se),element:se}}}},X)}),[se,X]);return s.createElement(s.Fragment,null,s.cloneElement(f,Ue),s.createElement(q,Object(r.a)({className:Object(l.a)(d.popper,R&&d.popperInteractive,a&&d.popperArrow),placement:W,anchorEl:oe,open:!!oe&&ve,id:Ue["aria-describedby"],transition:!0},Be,Fe),(function(e){var t=e.placement,n=e.TransitionProps;return s.createElement(K,Object(r.a)({timeout:ne.transitions.duration.shorter},n,ee),s.createElement("div",{className:Object(l.a)(d.tooltip,d["tooltipPlacement".concat(Object(p.a)(t.split("-")[0]))],le.current&&d.touch,a&&d.tooltipArrow)},$,a?s.createElement("span",{className:d.arrow,ref:ue}):null))})))}));t.a=Object(d.a)((function(e){return{popper:{zIndex:e.zIndex.tooltip,pointerEvents:"none"},popperInteractive:{pointerEvents:"auto"},popperArrow:{'&[x-placement*="bottom"] $arrow':{top:0,left:0,marginTop:"-0.71em",marginLeft:4,marginRight:4,"&::before":{transformOrigin:"0 100%"}},'&[x-placement*="top"] $arrow':{bottom:0,left:0,marginBottom:"-0.71em",marginLeft:4,marginRight:4,"&::before":{transformOrigin:"100% 0"}},'&[x-placement*="right"] $arrow':{left:0,marginLeft:"-0.71em",height:"1em",width:"0.71em",marginTop:4,marginBottom:4,"&::before":{transformOrigin:"100% 100%"}},'&[x-placement*="left"] $arrow':{right:0,marginRight:"-0.71em",height:"1em",width:"0.71em",marginTop:4,marginBottom:4,"&::before":{transformOrigin:"0 0"}}},tooltip:{backgroundColor:Object(f.a)(e.palette.grey[700],.9),borderRadius:e.shape.borderRadius,color:e.palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(10),lineHeight:"".concat(N(1.4),"em"),maxWidth:300,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},tooltipArrow:{position:"relative",margin:"0"},arrow:{overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:Object(f.a)(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}},touch:{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:"".concat(N(16/14),"em"),fontWeight:e.typography.fontWeightRegular},tooltipPlacementLeft:Object(a.a)({transformOrigin:"right center",margin:"0 24px "},e.breakpoints.up("sm"),{margin:"0 14px"}),tooltipPlacementRight:Object(a.a)({transformOrigin:"left center",margin:"0 24px"},e.breakpoints.up("sm"),{margin:"0 14px"}),tooltipPlacementTop:Object(a.a)({transformOrigin:"center bottom",margin:"24px 0"},e.breakpoints.up("sm"),{margin:"14px 0"}),tooltipPlacementBottom:Object(a.a)({transformOrigin:"center top",margin:"24px 0"},e.breakpoints.up("sm"),{margin:"14px 0"})}}),{name:"MuiTooltip",flip:!1})(I)},function(e,t,n){"use strict";var r=n(1),o=n(5),i=n(0),a=n(4),s=n(740),u=n(749),l=n(758),c=n(753),f=n(738),d=n(747),p=n(757),h=n(8),g={standard:s.a,filled:u.a,outlined:l.a},y=i.forwardRef((function(e,t){var n=e.autoComplete,s=e.autoFocus,u=void 0!==s&&s,l=e.children,h=e.classes,y=e.className,m=e.color,v=void 0===m?"primary":m,b=e.defaultValue,M=e.disabled,w=void 0!==M&&M,N=e.error,j=void 0!==N&&N,S=e.FormHelperTextProps,I=e.fullWidth,D=void 0!==I&&I,x=e.helperText,E=e.hiddenLabel,O=e.id,T=e.InputLabelProps,C=e.inputProps,k=e.InputProps,L=e.inputRef,_=e.label,A=e.multiline,z=void 0!==A&&A,P=e.name,R=e.onBlur,U=e.onChange,B=e.onFocus,F=e.placeholder,Y=e.required,G=void 0!==Y&&Y,H=e.rows,V=e.rowsMax,Q=e.maxRows,W=e.minRows,Z=e.select,q=void 0!==Z&&Z,X=e.SelectProps,$=e.type,J=e.value,K=e.variant,ee=void 0===K?"standard":K,te=Object(o.a)(e,["autoComplete","autoFocus","children","classes","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","hiddenLabel","id","InputLabelProps","inputProps","InputProps","inputRef","label","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","rowsMax","maxRows","minRows","select","SelectProps","type","value","variant"]);var ne={};if("outlined"===ee&&(T&&"undefined"!==typeof T.shrink&&(ne.notched=T.shrink),_)){var re,oe=null!==(re=null===T||void 0===T?void 0:T.required)&&void 0!==re?re:G;ne.label=i.createElement(i.Fragment,null,_,oe&&"\xa0*")}q&&(X&&X.native||(ne.id=void 0),ne["aria-describedby"]=void 0);var ie=x&&O?"".concat(O,"-helper-text"):void 0,ae=_&&O?"".concat(O,"-label"):void 0,se=g[ee],ue=i.createElement(se,Object(r.a)({"aria-describedby":ie,autoComplete:n,autoFocus:u,defaultValue:b,fullWidth:D,multiline:z,name:P,rows:H,rowsMax:V,maxRows:Q,minRows:W,type:$,value:J,id:O,inputRef:L,onBlur:R,onChange:U,onFocus:B,placeholder:F,inputProps:C},ne,k));return i.createElement(f.a,Object(r.a)({className:Object(a.a)(h.root,y),disabled:w,error:j,fullWidth:D,hiddenLabel:E,ref:t,required:G,color:v,variant:ee},te),_&&i.createElement(c.a,Object(r.a)({htmlFor:O,id:ae},T),_),q?i.createElement(p.a,Object(r.a)({"aria-describedby":ie,id:O,labelId:ae,value:J,input:ue},X),l):ue,x&&i.createElement(d.a,Object(r.a)({id:ie},S),x))}));t.a=Object(h.a)({root:{}},{name:"MuiTextField"})(y)},function(e,t,n){"use strict";var r=n(5),o=n(16),i=n(1),a=n(0),s=n(4),u=n(8),l=n(45),c=n(754),f=n(42),d=n(9),p=n(54),h=n(281),g=n(755),y=a.forwardRef((function(e,t){var n=e.action,o=e.anchorOrigin,u=(o=void 0===o?{vertical:"bottom",horizontal:"center"}:o).vertical,y=o.horizontal,m=e.autoHideDuration,v=void 0===m?null:m,b=e.children,M=e.classes,w=e.className,N=e.ClickAwayListenerProps,j=e.ContentProps,S=e.disableWindowBlurListener,I=void 0!==S&&S,D=e.message,x=e.onClose,E=e.onEnter,O=e.onEntered,T=e.onEntering,C=e.onExit,k=e.onExited,L=e.onExiting,_=e.onMouseEnter,A=e.onMouseLeave,z=e.open,P=e.resumeHideDuration,R=e.TransitionComponent,U=void 0===R?h.a:R,B=e.transitionDuration,F=void 0===B?{enter:l.b.enteringScreen,exit:l.b.leavingScreen}:B,Y=e.TransitionProps,G=Object(r.a)(e,["action","anchorOrigin","autoHideDuration","children","classes","className","ClickAwayListenerProps","ContentProps","disableWindowBlurListener","message","onClose","onEnter","onEntered","onEntering","onExit","onExited","onExiting","onMouseEnter","onMouseLeave","open","resumeHideDuration","TransitionComponent","transitionDuration","TransitionProps"]),H=a.useRef(),V=a.useState(!0),Q=V[0],W=V[1],Z=Object(f.a)((function(){x&&x.apply(void 0,arguments)})),q=Object(f.a)((function(e){x&&null!=e&&(clearTimeout(H.current),H.current=setTimeout((function(){Z(null,"timeout")}),e))}));a.useEffect((function(){return z&&q(v),function(){clearTimeout(H.current)}}),[z,v,q]);var X=function(){clearTimeout(H.current)},$=a.useCallback((function(){null!=v&&q(null!=P?P:.5*v)}),[v,P,q]);return a.useEffect((function(){if(!I&&z)return window.addEventListener("focus",$),window.addEventListener("blur",X),function(){window.removeEventListener("focus",$),window.removeEventListener("blur",X)}}),[I,$,z]),!z&&Q?null:a.createElement(c.a,Object(i.a)({onClickAway:function(e){x&&x(e,"clickaway")}},N),a.createElement("div",Object(i.a)({className:Object(s.a)(M.root,M["anchorOrigin".concat(Object(d.a)(u)).concat(Object(d.a)(y))],w),onMouseEnter:function(e){_&&_(e),X()},onMouseLeave:function(e){A&&A(e),$()},ref:t},G),a.createElement(U,Object(i.a)({appear:!0,in:z,onEnter:Object(p.a)((function(){W(!1)}),E),onEntered:O,onEntering:T,onExit:C,onExited:Object(p.a)((function(){W(!0)}),k),onExiting:L,timeout:F,direction:"top"===u?"down":"up"},Y),b||a.createElement(g.a,Object(i.a)({message:D,action:n},j)))))}));t.a=Object(u.a)((function(e){var t={top:8},n={bottom:8},r={justifyContent:"flex-end"},a={justifyContent:"flex-start"},s={top:24},u={bottom:24},l={right:24},c={left:24},f={left:"50%",right:"auto",transform:"translateX(-50%)"};return{root:{zIndex:e.zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center"},anchorOriginTopCenter:Object(i.a)({},t,Object(o.a)({},e.breakpoints.up("sm"),Object(i.a)({},s,f))),anchorOriginBottomCenter:Object(i.a)({},n,Object(o.a)({},e.breakpoints.up("sm"),Object(i.a)({},u,f))),anchorOriginTopRight:Object(i.a)({},t,r,Object(o.a)({},e.breakpoints.up("sm"),Object(i.a)({left:"auto"},s,l))),anchorOriginBottomRight:Object(i.a)({},n,r,Object(o.a)({},e.breakpoints.up("sm"),Object(i.a)({left:"auto"},u,l))),anchorOriginTopLeft:Object(i.a)({},t,a,Object(o.a)({},e.breakpoints.up("sm"),Object(i.a)({right:"auto"},s,c))),anchorOriginBottomLeft:Object(i.a)({},n,a,Object(o.a)({},e.breakpoints.up("sm"),Object(i.a)({right:"auto"},u,c)))}}),{flip:!1,name:"MuiSnackbar"})(y)},function(e,t,n){"use strict";var r=n(1),o=n(5),i=n(16),a=n(0),s=n(4),u=n(8),l=n(9),c=n(282),f=n(399),d=n(400),p=n(45),h=n(145),g={enter:p.b.enteringScreen,exit:p.b.leavingScreen},y=a.forwardRef((function(e,t){var n=e.BackdropProps,i=e.children,u=e.classes,p=e.className,y=e.disableBackdropClick,m=void 0!==y&&y,v=e.disableEscapeKeyDown,b=void 0!==v&&v,M=e.fullScreen,w=void 0!==M&&M,N=e.fullWidth,j=void 0!==N&&N,S=e.maxWidth,I=void 0===S?"sm":S,D=e.onBackdropClick,x=e.onClose,E=e.onEnter,O=e.onEntered,T=e.onEntering,C=e.onEscapeKeyDown,k=e.onExit,L=e.onExited,_=e.onExiting,A=e.open,z=e.PaperComponent,P=void 0===z?h.a:z,R=e.PaperProps,U=void 0===R?{}:R,B=e.scroll,F=void 0===B?"paper":B,Y=e.TransitionComponent,G=void 0===Y?d.a:Y,H=e.transitionDuration,V=void 0===H?g:H,Q=e.TransitionProps,W=e["aria-describedby"],Z=e["aria-labelledby"],q=Object(o.a)(e,["BackdropProps","children","classes","className","disableBackdropClick","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClose","onEnter","onEntered","onEntering","onEscapeKeyDown","onExit","onExited","onExiting","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps","aria-describedby","aria-labelledby"]),X=a.useRef();return a.createElement(c.a,Object(r.a)({className:Object(s.a)(u.root,p),BackdropComponent:f.a,BackdropProps:Object(r.a)({transitionDuration:V},n),closeAfterTransition:!0},m?{disableBackdropClick:m}:{},{disableEscapeKeyDown:b,onEscapeKeyDown:C,onClose:x,open:A,ref:t},q),a.createElement(G,Object(r.a)({appear:!0,in:A,timeout:V,onEnter:E,onEntering:T,onEntered:O,onExit:k,onExiting:_,onExited:L,role:"none presentation"},Q),a.createElement("div",{className:Object(s.a)(u.container,u["scroll".concat(Object(l.a)(F))]),onMouseUp:function(e){e.target===e.currentTarget&&e.target===X.current&&(X.current=null,D&&D(e),!m&&x&&x(e,"backdropClick"))},onMouseDown:function(e){X.current=e.target}},a.createElement(P,Object(r.a)({elevation:24,role:"dialog","aria-describedby":W,"aria-labelledby":Z},U,{className:Object(s.a)(u.paper,u["paperScroll".concat(Object(l.a)(F))],u["paperWidth".concat(Object(l.a)(String(I)))],U.className,w&&u.paperFullScreen,j&&u.paperFullWidth)}),i))))}));t.a=Object(u.a)((function(e){return{root:{"@media print":{position:"absolute !important"}},scrollPaper:{display:"flex",justifyContent:"center",alignItems:"center"},scrollBody:{overflowY:"auto",overflowX:"hidden",textAlign:"center","&:after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}},container:{height:"100%","@media print":{height:"auto"},outline:0},paper:{margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},paperScrollPaper:{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},paperScrollBody:{display:"inline-block",verticalAlign:"middle",textAlign:"left"},paperWidthFalse:{maxWidth:"calc(100% - 64px)"},paperWidthXs:{maxWidth:Math.max(e.breakpoints.values.xs,444),"&$paperScrollBody":Object(i.a)({},e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+64),{maxWidth:"calc(100% - 64px)"})},paperWidthSm:{maxWidth:e.breakpoints.values.sm,"&$paperScrollBody":Object(i.a)({},e.breakpoints.down(e.breakpoints.values.sm+64),{maxWidth:"calc(100% - 64px)"})},paperWidthMd:{maxWidth:e.breakpoints.values.md,"&$paperScrollBody":Object(i.a)({},e.breakpoints.down(e.breakpoints.values.md+64),{maxWidth:"calc(100% - 64px)"})},paperWidthLg:{maxWidth:e.breakpoints.values.lg,"&$paperScrollBody":Object(i.a)({},e.breakpoints.down(e.breakpoints.values.lg+64),{maxWidth:"calc(100% - 64px)"})},paperWidthXl:{maxWidth:e.breakpoints.values.xl,"&$paperScrollBody":Object(i.a)({},e.breakpoints.down(e.breakpoints.values.xl+64),{maxWidth:"calc(100% - 64px)"})},paperFullWidth:{width:"calc(100% - 64px)"},paperFullScreen:{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,"&$paperScrollBody":{margin:0,maxWidth:"100%"}}}}),{name:"MuiDialog"})(y)},function(e,t,n){"use strict";var r=n(1),o=n(5),i=n(0),a=n(4),s=n(9),u=n(8),l=n(17),c=n(33),f=i.forwardRef((function(e,t){var n=e.classes,u=e.className,l=e.color,f=void 0===l?"primary":l,d=e.value,p=e.valueBuffer,h=e.variant,g=void 0===h?"indeterminate":h,y=Object(o.a)(e,["classes","className","color","value","valueBuffer","variant"]),m=Object(c.a)(),v={},b={bar1:{},bar2:{}};if("determinate"===g||"buffer"===g)if(void 0!==d){v["aria-valuenow"]=Math.round(d),v["aria-valuemin"]=0,v["aria-valuemax"]=100;var M=d-100;"rtl"===m.direction&&(M=-M),b.bar1.transform="translateX(".concat(M,"%)")}else 0;if("buffer"===g)if(void 0!==p){var w=(p||0)-100;"rtl"===m.direction&&(w=-w),b.bar2.transform="translateX(".concat(w,"%)")}else 0;return i.createElement("div",Object(r.a)({className:Object(a.a)(n.root,n["color".concat(Object(s.a)(f))],u,{determinate:n.determinate,indeterminate:n.indeterminate,buffer:n.buffer,query:n.query}[g]),role:"progressbar"},v,{ref:t},y),"buffer"===g?i.createElement("div",{className:Object(a.a)(n.dashed,n["dashedColor".concat(Object(s.a)(f))])}):null,i.createElement("div",{className:Object(a.a)(n.bar,n["barColor".concat(Object(s.a)(f))],("indeterminate"===g||"query"===g)&&n.bar1Indeterminate,{determinate:n.bar1Determinate,buffer:n.bar1Buffer}[g]),style:b.bar1}),"determinate"===g?null:i.createElement("div",{className:Object(a.a)(n.bar,("indeterminate"===g||"query"===g)&&n.bar2Indeterminate,"buffer"===g?[n["color".concat(Object(s.a)(f))],n.bar2Buffer]:n["barColor".concat(Object(s.a)(f))]),style:b.bar2}))}));t.a=Object(u.a)((function(e){var t=function(t){return"light"===e.palette.type?Object(l.f)(t,.62):Object(l.b)(t,.5)},n=t(e.palette.primary.main),r=t(e.palette.secondary.main);return{root:{position:"relative",overflow:"hidden",height:4,"@media print":{colorAdjust:"exact"}},colorPrimary:{backgroundColor:n},colorSecondary:{backgroundColor:r},determinate:{},indeterminate:{},buffer:{backgroundColor:"transparent"},query:{transform:"rotate(180deg)"},dashed:{position:"absolute",marginTop:0,height:"100%",width:"100%",animation:"$buffer 3s infinite linear"},dashedColorPrimary:{backgroundImage:"radial-gradient(".concat(n," 0%, ").concat(n," 16%, transparent 42%)"),backgroundSize:"10px 10px",backgroundPosition:"0 -23px"},dashedColorSecondary:{backgroundImage:"radial-gradient(".concat(r," 0%, ").concat(r," 16%, transparent 42%)"),backgroundSize:"10px 10px",backgroundPosition:"0 -23px"},bar:{width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left"},barColorPrimary:{backgroundColor:e.palette.primary.main},barColorSecondary:{backgroundColor:e.palette.secondary.main},bar1Indeterminate:{width:"auto",animation:"$indeterminate1 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite"},bar1Determinate:{transition:"transform .".concat(4,"s linear")},bar1Buffer:{zIndex:1,transition:"transform .".concat(4,"s linear")},bar2Indeterminate:{width:"auto",animation:"$indeterminate2 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite"},bar2Buffer:{transition:"transform .".concat(4,"s linear")},"@keyframes indeterminate1":{"0%":{left:"-35%",right:"100%"},"60%":{left:"100%",right:"-90%"},"100%":{left:"100%",right:"-90%"}},"@keyframes indeterminate2":{"0%":{left:"-200%",right:"100%"},"60%":{left:"107%",right:"-8%"},"100%":{left:"107%",right:"-8%"}},"@keyframes buffer":{"0%":{opacity:1,backgroundPosition:"0 -23px"},"50%":{opacity:0,backgroundPosition:"0 -23px"},"100%":{opacity:1,backgroundPosition:"-200px -23px"}}}}),{name:"MuiLinearProgress"})(f)},function(e,t,n){"use strict";var r=n(5),o=n(1),i=n(0),a=n(4),s=n(8),u=n(160),l=n(9),c=i.forwardRef((function(e,t){var n=e.children,s=e.classes,c=e.className,f=e.color,d=void 0===f?"default":f,p=e.component,h=void 0===p?"button":p,g=e.disabled,y=void 0!==g&&g,m=e.disableFocusRipple,v=void 0!==m&&m,b=e.focusVisibleClassName,M=e.size,w=void 0===M?"large":M,N=e.variant,j=void 0===N?"circular":N,S=Object(r.a)(e,["children","classes","className","color","component","disabled","disableFocusRipple","focusVisibleClassName","size","variant"]);return i.createElement(u.a,Object(o.a)({className:Object(a.a)(s.root,c,"large"!==w&&s["size".concat(Object(l.a)(w))],y&&s.disabled,"extended"===j&&s.extended,{primary:s.primary,secondary:s.secondary,inherit:s.colorInherit}[d]),component:h,disabled:y,focusRipple:!v,focusVisibleClassName:Object(a.a)(s.focusVisible,b),ref:t},S),i.createElement("span",{className:s.label},n))}));t.a=Object(s.a)((function(e){return{root:Object(o.a)({},e.typography.button,{boxSizing:"border-box",minHeight:36,transition:e.transitions.create(["background-color","box-shadow","border"],{duration:e.transitions.duration.short}),borderRadius:"50%",padding:0,minWidth:0,width:56,height:56,boxShadow:e.shadows[6],"&:active":{boxShadow:e.shadows[12]},color:e.palette.getContrastText(e.palette.grey[300]),backgroundColor:e.palette.grey[300],"&:hover":{backgroundColor:e.palette.grey.A100,"@media (hover: none)":{backgroundColor:e.palette.grey[300]},"&$disabled":{backgroundColor:e.palette.action.disabledBackground},textDecoration:"none"},"&$focusVisible":{boxShadow:e.shadows[6]},"&$disabled":{color:e.palette.action.disabled,boxShadow:e.shadows[0],backgroundColor:e.palette.action.disabledBackground}}),label:{width:"100%",display:"inherit",alignItems:"inherit",justifyContent:"inherit"},primary:{color:e.palette.primary.contrastText,backgroundColor:e.palette.primary.main,"&:hover":{backgroundColor:e.palette.primary.dark,"@media (hover: none)":{backgroundColor:e.palette.primary.main}}},secondary:{color:e.palette.secondary.contrastText,backgroundColor:e.palette.secondary.main,"&:hover":{backgroundColor:e.palette.secondary.dark,"@media (hover: none)":{backgroundColor:e.palette.secondary.main}}},extended:{borderRadius:24,padding:"0 16px",width:"auto",minHeight:"auto",minWidth:48,height:48,"&$sizeSmall":{width:"auto",padding:"0 8px",borderRadius:17,minWidth:34,height:34},"&$sizeMedium":{width:"auto",padding:"0 16px",borderRadius:20,minWidth:40,height:40}},focusVisible:{},disabled:{},colorInherit:{color:"inherit"},sizeSmall:{width:40,height:40},sizeMedium:{width:48,height:48}}}),{name:"MuiFab"})(c)},function(e,t,n){"use strict";var r=n(5),o=n(1),i=n(0),a=n(4),s=n(8),u=n(17),l=n(160),c=n(9),f=i.forwardRef((function(e,t){var n=e.children,s=e.classes,u=e.className,f=e.color,d=void 0===f?"default":f,p=e.component,h=void 0===p?"button":p,g=e.disabled,y=void 0!==g&&g,m=e.disableElevation,v=void 0!==m&&m,b=e.disableFocusRipple,M=void 0!==b&&b,w=e.endIcon,N=e.focusVisibleClassName,j=e.fullWidth,S=void 0!==j&&j,I=e.size,D=void 0===I?"medium":I,x=e.startIcon,E=e.type,O=void 0===E?"button":E,T=e.variant,C=void 0===T?"text":T,k=Object(r.a)(e,["children","classes","className","color","component","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"]),L=x&&i.createElement("span",{className:Object(a.a)(s.startIcon,s["iconSize".concat(Object(c.a)(D))])},x),_=w&&i.createElement("span",{className:Object(a.a)(s.endIcon,s["iconSize".concat(Object(c.a)(D))])},w);return i.createElement(l.a,Object(o.a)({className:Object(a.a)(s.root,s[C],u,"inherit"===d?s.colorInherit:"default"!==d&&s["".concat(C).concat(Object(c.a)(d))],"medium"!==D&&[s["".concat(C,"Size").concat(Object(c.a)(D))],s["size".concat(Object(c.a)(D))]],v&&s.disableElevation,y&&s.disabled,S&&s.fullWidth),component:h,disabled:y,focusRipple:!M,focusVisibleClassName:Object(a.a)(s.focusVisible,N),ref:t,type:O},k),i.createElement("span",{className:s.label},L,n,_))}));t.a=Object(s.a)((function(e){return{root:Object(o.a)({},e.typography.button,{boxSizing:"border-box",minWidth:64,padding:"6px 16px",borderRadius:e.shape.borderRadius,color:e.palette.text.primary,transition:e.transitions.create(["background-color","box-shadow","border"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none",backgroundColor:Object(u.a)(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"},"&$disabled":{backgroundColor:"transparent"}},"&$disabled":{color:e.palette.action.disabled}}),label:{width:"100%",display:"inherit",alignItems:"inherit",justifyContent:"inherit"},text:{padding:"6px 8px"},textPrimary:{color:e.palette.primary.main,"&:hover":{backgroundColor:Object(u.a)(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},textSecondary:{color:e.palette.secondary.main,"&:hover":{backgroundColor:Object(u.a)(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},outlined:{padding:"5px 15px",border:"1px solid ".concat("light"===e.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),"&$disabled":{border:"1px solid ".concat(e.palette.action.disabledBackground)}},outlinedPrimary:{color:e.palette.primary.main,border:"1px solid ".concat(Object(u.a)(e.palette.primary.main,.5)),"&:hover":{border:"1px solid ".concat(e.palette.primary.main),backgroundColor:Object(u.a)(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},outlinedSecondary:{color:e.palette.secondary.main,border:"1px solid ".concat(Object(u.a)(e.palette.secondary.main,.5)),"&:hover":{border:"1px solid ".concat(e.palette.secondary.main),backgroundColor:Object(u.a)(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"&$disabled":{border:"1px solid ".concat(e.palette.action.disabled)}},contained:{color:e.palette.getContrastText(e.palette.grey[300]),backgroundColor:e.palette.grey[300],boxShadow:e.shadows[2],"&:hover":{backgroundColor:e.palette.grey.A100,boxShadow:e.shadows[4],"@media (hover: none)":{boxShadow:e.shadows[2],backgroundColor:e.palette.grey[300]},"&$disabled":{backgroundColor:e.palette.action.disabledBackground}},"&$focusVisible":{boxShadow:e.shadows[6]},"&:active":{boxShadow:e.shadows[8]},"&$disabled":{color:e.palette.action.disabled,boxShadow:e.shadows[0],backgroundColor:e.palette.action.disabledBackground}},containedPrimary:{color:e.palette.primary.contrastText,backgroundColor:e.palette.primary.main,"&:hover":{backgroundColor:e.palette.primary.dark,"@media (hover: none)":{backgroundColor:e.palette.primary.main}}},containedSecondary:{color:e.palette.secondary.contrastText,backgroundColor:e.palette.secondary.main,"&:hover":{backgroundColor:e.palette.secondary.dark,"@media (hover: none)":{backgroundColor:e.palette.secondary.main}}},disableElevation:{boxShadow:"none","&:hover":{boxShadow:"none"},"&$focusVisible":{boxShadow:"none"},"&:active":{boxShadow:"none"},"&$disabled":{boxShadow:"none"}},focusVisible:{},disabled:{},colorInherit:{color:"inherit",borderColor:"currentColor"},textSizeSmall:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},textSizeLarge:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},outlinedSizeSmall:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},outlinedSizeLarge:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},containedSizeSmall:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},containedSizeLarge:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},sizeSmall:{},sizeLarge:{},fullWidth:{width:"100%"},startIcon:{display:"inherit",marginRight:8,marginLeft:-4,"&$iconSizeSmall":{marginLeft:-2}},endIcon:{display:"inherit",marginRight:-4,marginLeft:8,"&$iconSizeSmall":{marginRight:-2}},iconSizeSmall:{"& > *:first-child":{fontSize:18}},iconSizeMedium:{"& > *:first-child":{fontSize:20}},iconSizeLarge:{"& > *:first-child":{fontSize:22}}}}),{name:"MuiButton"})(f)},function(e,t,n){"use strict";var r=n(1),o=n(5),i=n(16),a=n(0),s=n(4),u=n(8),l=a.forwardRef((function(e,t){var n=e.classes,i=e.className,u=e.component,l=void 0===u?"div":u,c=e.disableGutters,f=void 0!==c&&c,d=e.variant,p=void 0===d?"regular":d,h=Object(o.a)(e,["classes","className","component","disableGutters","variant"]);return a.createElement(l,Object(r.a)({className:Object(s.a)(n.root,n[p],i,!f&&n.gutters),ref:t},h))}));t.a=Object(u.a)((function(e){return{root:{position:"relative",display:"flex",alignItems:"center"},gutters:Object(i.a)({paddingLeft:e.spacing(2),paddingRight:e.spacing(2)},e.breakpoints.up("sm"),{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}),regular:e.mixins.toolbar,dense:{minHeight:48}}}),{name:"MuiToolbar"})(l)},function(e,t,n){"use strict";var r=n(1),o=n(5),i=n(0),a=n(4),s=n(9),u=n(8),l=n(101),c=n(19),f=n(119),d=i.forwardRef((function(e,t){var n=e.classes,u=e.className,d=e.color,p=void 0===d?"primary":d,h=e.component,g=void 0===h?"a":h,y=e.onBlur,m=e.onFocus,v=e.TypographyClasses,b=e.underline,M=void 0===b?"hover":b,w=e.variant,N=void 0===w?"inherit":w,j=Object(o.a)(e,["classes","className","color","component","onBlur","onFocus","TypographyClasses","underline","variant"]),S=Object(l.a)(),I=S.isFocusVisible,D=S.onBlurVisible,x=S.ref,E=i.useState(!1),O=E[0],T=E[1],C=Object(c.a)(t,x);return i.createElement(f.a,Object(r.a)({className:Object(a.a)(n.root,n["underline".concat(Object(s.a)(M))],u,O&&n.focusVisible,"button"===g&&n.button),classes:v,color:p,component:g,onBlur:function(e){O&&(D(),T(!1)),y&&y(e)},onFocus:function(e){I(e)&&T(!0),m&&m(e)},ref:C,variant:N},j))}));t.a=Object(u.a)({root:{},underlineNone:{textDecoration:"none"},underlineHover:{textDecoration:"none","&:hover":{textDecoration:"underline"}},underlineAlways:{textDecoration:"underline"},button:{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle","-moz-appearance":"none","-webkit-appearance":"none","&::-moz-focus-inner":{borderStyle:"none"},"&$focusVisible":{outline:"auto"}},focusVisible:{}},{name:"MuiLink"})(d)},function(e,t,n){"use strict";var r=n(1),o=n(756),i=n(104);t.a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object(o.a)(e,Object(r.a)({defaultTheme:i.a},t))}},function(e,t,n){"use strict";var r=n(5),o=n(1),i=n(0),a=n(4),s=n(8),u=[0,1,2,3,4,5,6,7,8,9,10],l=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12];function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=parseFloat(e);return"".concat(n/t).concat(String(e).replace(String(n),"")||"px")}var f=i.forwardRef((function(e,t){var n=e.alignContent,s=void 0===n?"stretch":n,u=e.alignItems,l=void 0===u?"stretch":u,c=e.classes,f=e.className,d=e.component,p=void 0===d?"div":d,h=e.container,g=void 0!==h&&h,y=e.direction,m=void 0===y?"row":y,v=e.item,b=void 0!==v&&v,M=e.justify,w=e.justifyContent,N=void 0===w?"flex-start":w,j=e.lg,S=void 0!==j&&j,I=e.md,D=void 0!==I&&I,x=e.sm,E=void 0!==x&&x,O=e.spacing,T=void 0===O?0:O,C=e.wrap,k=void 0===C?"wrap":C,L=e.xl,_=void 0!==L&&L,A=e.xs,z=void 0!==A&&A,P=e.zeroMinWidth,R=void 0!==P&&P,U=Object(r.a)(e,["alignContent","alignItems","classes","className","component","container","direction","item","justify","justifyContent","lg","md","sm","spacing","wrap","xl","xs","zeroMinWidth"]),B=Object(a.a)(c.root,f,g&&[c.container,0!==T&&c["spacing-xs-".concat(String(T))]],b&&c.item,R&&c.zeroMinWidth,"row"!==m&&c["direction-xs-".concat(String(m))],"wrap"!==k&&c["wrap-xs-".concat(String(k))],"stretch"!==l&&c["align-items-xs-".concat(String(l))],"stretch"!==s&&c["align-content-xs-".concat(String(s))],"flex-start"!==(M||N)&&c["justify-content-xs-".concat(String(M||N))],!1!==z&&c["grid-xs-".concat(String(z))],!1!==E&&c["grid-sm-".concat(String(E))],!1!==D&&c["grid-md-".concat(String(D))],!1!==S&&c["grid-lg-".concat(String(S))],!1!==_&&c["grid-xl-".concat(String(_))]);return i.createElement(p,Object(o.a)({className:B,ref:t},U))})),d=Object(s.a)((function(e){return Object(o.a)({root:{},container:{boxSizing:"border-box",display:"flex",flexWrap:"wrap",width:"100%"},item:{boxSizing:"border-box",margin:"0"},zeroMinWidth:{minWidth:0},"direction-xs-column":{flexDirection:"column"},"direction-xs-column-reverse":{flexDirection:"column-reverse"},"direction-xs-row-reverse":{flexDirection:"row-reverse"},"wrap-xs-nowrap":{flexWrap:"nowrap"},"wrap-xs-wrap-reverse":{flexWrap:"wrap-reverse"},"align-items-xs-center":{alignItems:"center"},"align-items-xs-flex-start":{alignItems:"flex-start"},"align-items-xs-flex-end":{alignItems:"flex-end"},"align-items-xs-baseline":{alignItems:"baseline"},"align-content-xs-center":{alignContent:"center"},"align-content-xs-flex-start":{alignContent:"flex-start"},"align-content-xs-flex-end":{alignContent:"flex-end"},"align-content-xs-space-between":{alignContent:"space-between"},"align-content-xs-space-around":{alignContent:"space-around"},"justify-content-xs-center":{justifyContent:"center"},"justify-content-xs-flex-end":{justifyContent:"flex-end"},"justify-content-xs-space-between":{justifyContent:"space-between"},"justify-content-xs-space-around":{justifyContent:"space-around"},"justify-content-xs-space-evenly":{justifyContent:"space-evenly"}},function(e,t){var n={};return u.forEach((function(r){var o=e.spacing(r);0!==o&&(n["spacing-".concat(t,"-").concat(r)]={margin:"-".concat(c(o,2)),width:"calc(100% + ".concat(c(o),")"),"& > $item":{padding:c(o,2)}})})),n}(e,"xs"),e.breakpoints.keys.reduce((function(t,n){return function(e,t,n){var r={};l.forEach((function(e){var t="grid-".concat(n,"-").concat(e);if(!0!==e)if("auto"!==e){var o="".concat(Math.round(e/12*1e8)/1e6,"%");r[t]={flexBasis:o,flexGrow:0,maxWidth:o}}else r[t]={flexBasis:"auto",flexGrow:0,maxWidth:"none"};else r[t]={flexBasis:0,flexGrow:1,maxWidth:"100%"}})),"xs"===n?Object(o.a)(e,r):e[t.breakpoints.up(n)]=r}(t,e,n),t}),{}))}),{name:"MuiGrid"})(f);t.a=d},function(e,t,n){"use strict";var r=n(1),o=n(5),i=n(0),a=n(4),s=n(8),u=n(9),l=i.forwardRef((function(e,t){var n=e.classes,s=e.className,l=e.color,c=void 0===l?"primary":l,f=e.disableShrink,d=void 0!==f&&f,p=e.size,h=void 0===p?40:p,g=e.style,y=e.thickness,m=void 0===y?3.6:y,v=e.value,b=void 0===v?0:v,M=e.variant,w=void 0===M?"indeterminate":M,N=Object(o.a)(e,["classes","className","color","disableShrink","size","style","thickness","value","variant"]),j={},S={},I={};if("determinate"===w||"static"===w){var D=2*Math.PI*((44-m)/2);j.strokeDasharray=D.toFixed(3),I["aria-valuenow"]=Math.round(b),j.strokeDashoffset="".concat(((100-b)/100*D).toFixed(3),"px"),S.transform="rotate(-90deg)"}return i.createElement("div",Object(r.a)({className:Object(a.a)(n.root,s,"inherit"!==c&&n["color".concat(Object(u.a)(c))],{determinate:n.determinate,indeterminate:n.indeterminate,static:n.static}[w]),style:Object(r.a)({width:h,height:h},S,g),ref:t,role:"progressbar"},I,N),i.createElement("svg",{className:n.svg,viewBox:"".concat(22," ").concat(22," ").concat(44," ").concat(44)},i.createElement("circle",{className:Object(a.a)(n.circle,d&&n.circleDisableShrink,{determinate:n.circleDeterminate,indeterminate:n.circleIndeterminate,static:n.circleStatic}[w]),style:j,cx:44,cy:44,r:(44-m)/2,fill:"none",strokeWidth:m})))}));t.a=Object(s.a)((function(e){return{root:{display:"inline-block"},static:{transition:e.transitions.create("transform")},indeterminate:{animation:"$circular-rotate 1.4s linear infinite"},determinate:{transition:e.transitions.create("transform")},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},svg:{display:"block"},circle:{stroke:"currentColor"},circleStatic:{transition:e.transitions.create("stroke-dashoffset")},circleIndeterminate:{animation:"$circular-dash 1.4s ease-in-out infinite",strokeDasharray:"80px, 200px",strokeDashoffset:"0px"},circleDeterminate:{transition:e.transitions.create("stroke-dashoffset")},"@keyframes circular-rotate":{"0%":{transformOrigin:"50% 50%"},"100%":{transform:"rotate(360deg)"}},"@keyframes circular-dash":{"0%":{strokeDasharray:"1px, 200px",strokeDashoffset:"0px"},"50%":{strokeDasharray:"100px, 200px",strokeDashoffset:"-15px"},"100%":{strokeDasharray:"100px, 200px",strokeDashoffset:"-125px"}},circleDisableShrink:{animation:"none"}}}),{name:"MuiCircularProgress",flip:!1})(l)},function(e,t,n){"use strict";var r=n(85),o=n(1),i=n(94);function a(e,t){var n={};return Object.keys(e).forEach((function(r){-1===t.indexOf(r)&&(n[r]=e[r])})),n}function s(e){var t=function(t){var n=e(t);return t.css?Object(o.a)({},Object(i.a)(n,e(Object(o.a)({theme:t.theme},t.css))),a(t.css,[e.filterProps])):t.sx?Object(o.a)({},Object(i.a)(n,e(Object(o.a)({theme:t.theme},t.sx))),a(t.sx,[e.filterProps])):n};return t.propTypes={},t.filterProps=["css","sx"].concat(Object(r.a)(e.filterProps)),t}var u=s;var l=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=function(e){return t.reduce((function(t,n){var r=n(e);return r?Object(i.a)(t,r):t}),{})};return r.propTypes={},r.filterProps=t.reduce((function(e,t){return e.concat(t.filterProps)}),[]),r},c=n(16),f=n(193);function d(e,t){return t&&"string"===typeof t?t.split(".").reduce((function(e,t){return e&&e[t]?e[t]:null}),e):null}var p=function(e){var t=e.prop,n=e.cssProperty,r=void 0===n?e.prop:n,o=e.themeKey,i=e.transform,a=function(e){if(null==e[t])return null;var n=e[t],a=d(e.theme,o)||{};return Object(f.a)(e,n,(function(e){var t;return"function"===typeof a?t=a(e):Array.isArray(a)?t=a[e]||e:(t=d(a,e)||e,i&&(t=i(t))),!1===r?t:Object(c.a)({},r,t)}))};return a.propTypes={},a.filterProps=[t],a};function h(e){return"number"!==typeof e?e:"".concat(e,"px solid")}var g=l(p({prop:"border",themeKey:"borders",transform:h}),p({prop:"borderTop",themeKey:"borders",transform:h}),p({prop:"borderRight",themeKey:"borders",transform:h}),p({prop:"borderBottom",themeKey:"borders",transform:h}),p({prop:"borderLeft",themeKey:"borders",transform:h}),p({prop:"borderColor",themeKey:"palette"}),p({prop:"borderRadius",themeKey:"shape"})),y=l(p({prop:"displayPrint",cssProperty:!1,transform:function(e){return{"@media print":{display:e}}}}),p({prop:"display"}),p({prop:"overflow"}),p({prop:"textOverflow"}),p({prop:"visibility"}),p({prop:"whiteSpace"})),m=l(p({prop:"flexBasis"}),p({prop:"flexDirection"}),p({prop:"flexWrap"}),p({prop:"justifyContent"}),p({prop:"alignItems"}),p({prop:"alignContent"}),p({prop:"order"}),p({prop:"flex"}),p({prop:"flexGrow"}),p({prop:"flexShrink"}),p({prop:"alignSelf"}),p({prop:"justifyItems"}),p({prop:"justifySelf"})),v=l(p({prop:"gridGap"}),p({prop:"gridColumnGap"}),p({prop:"gridRowGap"}),p({prop:"gridColumn"}),p({prop:"gridRow"}),p({prop:"gridAutoFlow"}),p({prop:"gridAutoColumns"}),p({prop:"gridAutoRows"}),p({prop:"gridTemplateColumns"}),p({prop:"gridTemplateRows"}),p({prop:"gridTemplateAreas"}),p({prop:"gridArea"})),b=l(p({prop:"position"}),p({prop:"zIndex",themeKey:"zIndex"}),p({prop:"top"}),p({prop:"right"}),p({prop:"bottom"}),p({prop:"left"})),M=l(p({prop:"color",themeKey:"palette"}),p({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette"})),w=p({prop:"boxShadow",themeKey:"shadows"});function N(e){return e<=1?"".concat(100*e,"%"):e}var j=p({prop:"width",transform:N}),S=p({prop:"maxWidth",transform:N}),I=p({prop:"minWidth",transform:N}),D=p({prop:"height",transform:N}),x=p({prop:"maxHeight",transform:N}),E=p({prop:"minHeight",transform:N}),O=(p({prop:"size",cssProperty:"width",transform:N}),p({prop:"size",cssProperty:"height",transform:N}),l(j,S,I,D,x,E,p({prop:"boxSizing"}))),T=n(826),C=l(p({prop:"fontFamily",themeKey:"typography"}),p({prop:"fontSize",themeKey:"typography"}),p({prop:"fontStyle",themeKey:"typography"}),p({prop:"fontWeight",themeKey:"typography"}),p({prop:"letterSpacing"}),p({prop:"lineHeight"}),p({prop:"textAlign"})),k=n(5),L=n(0),_=n.n(L),A=n(4),z=n(78),P=n.n(z),R=n(756);function U(e,t){var n={};return Object.keys(e).forEach((function(r){-1===t.indexOf(r)&&(n[r]=e[r])})),n}var B=n(104),F=function(e){var t=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.name,i=Object(k.a)(n,["name"]);var a,s=r,u="function"===typeof t?function(e){return{root:function(n){return t(Object(o.a)({theme:e},n))}}}:{root:t},l=Object(R.a)(u,Object(o.a)({Component:e,name:r||e.displayName,classNamePrefix:s},i));t.filterProps&&(a=t.filterProps,delete t.filterProps),t.propTypes&&(t.propTypes,delete t.propTypes);var c=_.a.forwardRef((function(t,n){var r=t.children,i=t.className,s=t.clone,u=t.component,c=Object(k.a)(t,["children","className","clone","component"]),f=l(t),d=Object(A.a)(f.root,i),p=c;if(a&&(p=U(p,a)),s)return _.a.cloneElement(r,Object(o.a)({className:Object(A.a)(r.props.className,d)},p));if("function"===typeof r)return r(Object(o.a)({className:d},p));var h=u||e;return _.a.createElement(h,Object(o.a)({ref:n,className:d},p),r)}));return P()(c,e),c}}(e);return function(e,n){return t(e,Object(o.a)({defaultTheme:B.a},n))}},Y=u(l(g,y,m,v,b,M,w,O,T.b,C)),G=F("div")(Y,{name:"MuiBox"});t.a=G},function(e,t,n){"use strict";var r,o=n(1),i=n(5),a=n(16),s=n(0),u=(n(162),n(4)),l=n(65),c=n(102);function f(){if(r)return r;var e=document.createElement("div"),t=document.createElement("div");return t.style.width="10px",t.style.height="1px",e.appendChild(t),e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),r="reverse",e.scrollLeft>0?r="default":(e.scrollLeft=1,0===e.scrollLeft&&(r="negative")),document.body.removeChild(e),r}function d(e,t){var n=e.scrollLeft;if("rtl"!==t)return n;switch(f()){case"negative":return e.scrollWidth-e.clientWidth+n;case"reverse":return e.scrollWidth-e.clientWidth-n;default:return n}}function p(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}var h={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function g(e){var t=e.onChange,n=Object(i.a)(e,["onChange"]),r=s.useRef(),a=s.useRef(null),u=function(){r.current=a.current.offsetHeight-a.current.clientHeight};return s.useEffect((function(){var e=Object(l.a)((function(){var e=r.current;u(),e!==r.current&&t(r.current)}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}),[t]),s.useEffect((function(){u(),t(r.current)}),[t]),s.createElement("div",Object(o.a)({style:h,ref:a},n))}var y=n(8),m=n(9),v=s.forwardRef((function(e,t){var n=e.classes,r=e.className,a=e.color,l=e.orientation,c=Object(i.a)(e,["classes","className","color","orientation"]);return s.createElement("span",Object(o.a)({className:Object(u.a)(n.root,n["color".concat(Object(m.a)(a))],r,"vertical"===l&&n.vertical),ref:t},c))})),b=Object(y.a)((function(e){return{root:{position:"absolute",height:2,bottom:0,width:"100%",transition:e.transitions.create()},colorPrimary:{backgroundColor:e.palette.primary.main},colorSecondary:{backgroundColor:e.palette.secondary.main},vertical:{height:"100%",width:2,right:0}}}),{name:"PrivateTabIndicator"})(v),M=n(359),w=n(360),N=n(160),j=s.createElement(M.a,{fontSize:"small"}),S=s.createElement(w.a,{fontSize:"small"}),I=s.forwardRef((function(e,t){var n=e.classes,r=e.className,a=e.direction,l=e.orientation,c=e.disabled,f=Object(i.a)(e,["classes","className","direction","orientation","disabled"]);return s.createElement(N.a,Object(o.a)({component:"div",className:Object(u.a)(n.root,r,c&&n.disabled,"vertical"===l&&n.vertical),ref:t,role:null,tabIndex:null},f),"left"===a?j:S)})),D=Object(y.a)({root:{width:40,flexShrink:0,opacity:.8,"&$disabled":{opacity:0}},vertical:{width:"100%",height:40,"& svg":{transform:"rotate(90deg)"}},disabled:{}},{name:"MuiTabScrollButton"})(I),x=n(42),E=n(33),O=s.forwardRef((function(e,t){var n=e["aria-label"],r=e["aria-labelledby"],h=e.action,y=e.centered,m=void 0!==y&&y,v=e.children,M=e.classes,w=e.className,N=e.component,j=void 0===N?"div":N,S=e.indicatorColor,I=void 0===S?"secondary":S,O=e.onChange,T=e.orientation,C=void 0===T?"horizontal":T,k=e.ScrollButtonComponent,L=void 0===k?D:k,_=e.scrollButtons,A=void 0===_?"auto":_,z=e.selectionFollowsFocus,P=e.TabIndicatorProps,R=void 0===P?{}:P,U=e.TabScrollButtonProps,B=e.textColor,F=void 0===B?"inherit":B,Y=e.value,G=e.variant,H=void 0===G?"standard":G,V=Object(i.a)(e,["aria-label","aria-labelledby","action","centered","children","classes","className","component","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant"]),Q=Object(E.a)(),W="scrollable"===H,Z="rtl"===Q.direction,q="vertical"===C,X=q?"scrollTop":"scrollLeft",$=q?"top":"left",J=q?"bottom":"right",K=q?"clientHeight":"clientWidth",ee=q?"height":"width";var te=s.useState(!1),ne=te[0],re=te[1],oe=s.useState({}),ie=oe[0],ae=oe[1],se=s.useState({start:!1,end:!1}),ue=se[0],le=se[1],ce=s.useState({overflow:"hidden",marginBottom:null}),fe=ce[0],de=ce[1],pe=new Map,he=s.useRef(null),ge=s.useRef(null),ye=function(){var e,t,n=he.current;if(n){var r=n.getBoundingClientRect();e={clientWidth:n.clientWidth,scrollLeft:n.scrollLeft,scrollTop:n.scrollTop,scrollLeftNormalized:d(n,Q.direction),scrollWidth:n.scrollWidth,top:r.top,bottom:r.bottom,left:r.left,right:r.right}}if(n&&!1!==Y){var o=ge.current.children;if(o.length>0){var i=o[pe.get(Y)];0,t=i?i.getBoundingClientRect():null}}return{tabsMeta:e,tabMeta:t}},me=Object(x.a)((function(){var e,t=ye(),n=t.tabsMeta,r=t.tabMeta,o=0;if(r&&n)if(q)o=r.top-n.top+n.scrollTop;else{var i=Z?n.scrollLeftNormalized+n.clientWidth-n.scrollWidth:n.scrollLeft;o=r.left-n.left+i}var s=(e={},Object(a.a)(e,$,o),Object(a.a)(e,ee,r?r[ee]:0),e);if(isNaN(ie[$])||isNaN(ie[ee]))ae(s);else{var u=Math.abs(ie[$]-s[$]),l=Math.abs(ie[ee]-s[ee]);(u>=1||l>=1)&&ae(s)}})),ve=function(e){!function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:function(){},i=r.ease,a=void 0===i?p:i,s=r.duration,u=void 0===s?300:s,l=null,c=t[e],f=!1,d=function(){f=!0},h=function r(i){if(f)o(new Error("Animation cancelled"));else{null===l&&(l=i);var s=Math.min(1,(i-l)/u);t[e]=a(s)*(n-c)+c,s>=1?requestAnimationFrame((function(){o(null)})):requestAnimationFrame(r)}};c===n?o(new Error("Element already at target position")):requestAnimationFrame(h)}(X,he.current,e)},be=function(e){var t=he.current[X];q?t+=e:(t+=e*(Z?-1:1),t*=Z&&"reverse"===f()?-1:1),ve(t)},Me=function(){be(-he.current[K])},we=function(){be(he.current[K])},Ne=s.useCallback((function(e){de({overflow:null,marginBottom:-e})}),[]),je=Object(x.a)((function(){var e=ye(),t=e.tabsMeta,n=e.tabMeta;if(n&&t)if(n[$]<t[$]){var r=t[X]+(n[$]-t[$]);ve(r)}else if(n[J]>t[J]){var o=t[X]+(n[J]-t[J]);ve(o)}})),Se=Object(x.a)((function(){if(W&&"off"!==A){var e,t,n=he.current,r=n.scrollTop,o=n.scrollHeight,i=n.clientHeight,a=n.scrollWidth,s=n.clientWidth;if(q)e=r>1,t=r<o-i-1;else{var u=d(he.current,Q.direction);e=Z?u<a-s-1:u>1,t=Z?u>1:u<a-s-1}e===ue.start&&t===ue.end||le({start:e,end:t})}}));s.useEffect((function(){var e=Object(l.a)((function(){me(),Se()})),t=Object(c.a)(he.current);return t.addEventListener("resize",e),function(){e.clear(),t.removeEventListener("resize",e)}}),[me,Se]);var Ie=s.useCallback(Object(l.a)((function(){Se()})));s.useEffect((function(){return function(){Ie.clear()}}),[Ie]),s.useEffect((function(){re(!0)}),[]),s.useEffect((function(){me(),Se()})),s.useEffect((function(){je()}),[je,ie]),s.useImperativeHandle(h,(function(){return{updateIndicator:me,updateScrollButtons:Se}}),[me,Se]);var De=s.createElement(b,Object(o.a)({className:M.indicator,orientation:C,color:I},R,{style:Object(o.a)({},ie,R.style)})),xe=0,Ee=s.Children.map(v,(function(e){if(!s.isValidElement(e))return null;var t=void 0===e.props.value?xe:e.props.value;pe.set(t,xe);var n=t===Y;return xe+=1,s.cloneElement(e,{fullWidth:"fullWidth"===H,indicator:n&&!ne&&De,selected:n,selectionFollowsFocus:z,onChange:O,textColor:F,value:t})})),Oe=function(){var e={};e.scrollbarSizeListener=W?s.createElement(g,{className:M.scrollable,onChange:Ne}):null;var t=ue.start||ue.end,n=W&&("auto"===A&&t||"desktop"===A||"on"===A);return e.scrollButtonStart=n?s.createElement(L,Object(o.a)({orientation:C,direction:Z?"right":"left",onClick:Me,disabled:!ue.start,className:Object(u.a)(M.scrollButtons,"on"!==A&&M.scrollButtonsDesktop)},U)):null,e.scrollButtonEnd=n?s.createElement(L,Object(o.a)({orientation:C,direction:Z?"left":"right",onClick:we,disabled:!ue.end,className:Object(u.a)(M.scrollButtons,"on"!==A&&M.scrollButtonsDesktop)},U)):null,e}();return s.createElement(j,Object(o.a)({className:Object(u.a)(M.root,w,q&&M.vertical),ref:t},V),Oe.scrollButtonStart,Oe.scrollbarSizeListener,s.createElement("div",{className:Object(u.a)(M.scroller,W?M.scrollable:M.fixed),style:fe,ref:he,onScroll:Ie},s.createElement("div",{"aria-label":n,"aria-labelledby":r,className:Object(u.a)(M.flexContainer,q&&M.flexContainerVertical,m&&!W&&M.centered),onKeyDown:function(e){var t=e.target;if("tab"===t.getAttribute("role")){var n=null,r="vertical"!==C?"ArrowLeft":"ArrowUp",o="vertical"!==C?"ArrowRight":"ArrowDown";switch("vertical"!==C&&"rtl"===Q.direction&&(r="ArrowRight",o="ArrowLeft"),e.key){case r:n=t.previousElementSibling||ge.current.lastChild;break;case o:n=t.nextElementSibling||ge.current.firstChild;break;case"Home":n=ge.current.firstChild;break;case"End":n=ge.current.lastChild}null!==n&&(n.focus(),e.preventDefault())}},ref:ge,role:"tablist"},Ee),ne&&De),Oe.scrollButtonEnd)}));t.a=Object(y.a)((function(e){return{root:{overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},vertical:{flexDirection:"column"},flexContainer:{display:"flex"},flexContainerVertical:{flexDirection:"column"},centered:{justifyContent:"center"},scroller:{position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},fixed:{overflowX:"hidden",width:"100%"},scrollable:{overflowX:"scroll",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},scrollButtons:{},scrollButtonsDesktop:Object(a.a)({},e.breakpoints.down("xs"),{display:"none"}),indicator:{}}}),{name:"MuiTabs"})(O)},function(e,t,n){"use strict";var r=n(1),o=n(5),i=n(0),a=n(2),s=n.n(a),u=n(788),l=n(78),c=n.n(l),f=n(33),d=n(80),p=n(280);function h(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Object(p.a)(),o=Object(u.a)({theme:n,name:"MuiUseMediaQuery",props:{}});var a="function"===typeof e?e(n):e;a=a.replace(/^@media( ?)/m,"");var s="undefined"!==typeof window&&"undefined"!==typeof window.matchMedia,l=Object(r.a)({},o,t),c=l.defaultMatches,f=void 0!==c&&c,d=l.matchMedia,h=void 0===d?s?window.matchMedia:null:d,g=l.noSsr,y=void 0!==g&&g,m=l.ssrMatchMedia,v=void 0===m?null:m,b=i.useState((function(){return y&&s?h(a).matches:v?v(a).matches:f})),M=b[0],w=b[1];return i.useEffect((function(){var e=!0;if(s){var t=h(a),n=function(){e&&w(t.matches)};return n(),t.addListener(n),function(){e=!1,t.removeListener(n)}}}),[a,h,s]),M}var g=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return n?d.b.indexOf(e)<=d.b.indexOf(t):d.b.indexOf(e)<d.b.indexOf(t)},y=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return n?d.b.indexOf(t)<=d.b.indexOf(e):d.b.indexOf(t)<d.b.indexOf(e)},m="undefined"===typeof window?i.useEffect:i.useLayoutEffect,v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t){var n=e.withTheme,a=void 0!==n&&n,s=e.noSSR,l=void 0!==s&&s,d=e.initialWidth;function p(e){var n=Object(f.a)(),s=e.theme||n,c=Object(u.a)({theme:s,name:"MuiWithWidth",props:Object(r.a)({},e)}),p=c.initialWidth,g=c.width,y=Object(o.a)(c,["initialWidth","width"]),v=i.useState(!1),b=v[0],M=v[1];m((function(){M(!0)}),[]);var w=s.breakpoints.keys.slice().reverse().reduce((function(e,t){var n=h(s.breakpoints.up(t));return!e&&n?t:e}),null),N=Object(r.a)({width:g||(b||l?w:void 0)||p||d},a?{theme:s}:{},y);return void 0===N.width?null:i.createElement(t,N)}return c()(p,t),p}};function b(e){var t=e.children,n=e.only,r=e.width,o=Object(f.a)(),i=!0;if(n)if(Array.isArray(n))for(var a=0;a<n.length;a+=1){if(r===n[a]){i=!1;break}}else n&&r===n&&(i=!1);if(i)for(var s=0;s<o.breakpoints.keys.length;s+=1){var u=o.breakpoints.keys[s],l=e["".concat(u,"Up")],c=e["".concat(u,"Down")];if(l&&g(u,r)||c&&y(u,r)){i=!1;break}}return i?t:null}b.propTypes={children:s.a.node,className:s.a.string,implementation:s.a.oneOf(["js","css"]),initialWidth:s.a.oneOf(["xs","sm","md","lg","xl"]),lgDown:s.a.bool,lgUp:s.a.bool,mdDown:s.a.bool,mdUp:s.a.bool,only:s.a.oneOfType([s.a.oneOf(["xs","sm","md","lg","xl"]),s.a.arrayOf(s.a.oneOf(["xs","sm","md","lg","xl"]))]),smDown:s.a.bool,smUp:s.a.bool,width:s.a.string.isRequired,xlDown:s.a.bool,xlUp:s.a.bool,xsDown:s.a.bool,xsUp:s.a.bool};var M=v()(b),w=n(16),N=n(9),j=n(8);var S=Object(j.a)((function(e){var t={display:"none"};return e.breakpoints.keys.reduce((function(n,r){return n["only".concat(Object(N.a)(r))]=Object(w.a)({},e.breakpoints.only(r),t),n["".concat(r,"Up")]=Object(w.a)({},e.breakpoints.up(r),t),n["".concat(r,"Down")]=Object(w.a)({},e.breakpoints.down(r),t),n}),{})}),{name:"PrivateHiddenCss"})((function(e){var t=e.children,n=e.classes,r=e.className,a=e.only,s=(Object(o.a)(e,["children","classes","className","only"]),Object(f.a)()),u=[];r&&u.push(r);for(var l=0;l<s.breakpoints.keys.length;l+=1){var c=s.breakpoints.keys[l],d=e["".concat(c,"Up")],p=e["".concat(c,"Down")];d&&u.push(n["".concat(c,"Up")]),p&&u.push(n["".concat(c,"Down")])}return a&&(Array.isArray(a)?a:[a]).forEach((function(e){u.push(n["only".concat(Object(N.a)(e))])})),i.createElement("div",{className:u.join(" ")},t)}));t.a=function(e){var t=e.implementation,n=void 0===t?"js":t,a=e.lgDown,s=void 0!==a&&a,u=e.lgUp,l=void 0!==u&&u,c=e.mdDown,f=void 0!==c&&c,d=e.mdUp,p=void 0!==d&&d,h=e.smDown,g=void 0!==h&&h,y=e.smUp,m=void 0!==y&&y,v=e.xlDown,b=void 0!==v&&v,w=e.xlUp,N=void 0!==w&&w,j=e.xsDown,I=void 0!==j&&j,D=e.xsUp,x=void 0!==D&&D,E=Object(o.a)(e,["implementation","lgDown","lgUp","mdDown","mdUp","smDown","smUp","xlDown","xlUp","xsDown","xsUp"]);return"js"===n?i.createElement(M,Object(r.a)({lgDown:s,lgUp:l,mdDown:f,mdUp:p,smDown:g,smUp:m,xlDown:b,xlUp:N,xsDown:I,xsUp:x},E)):i.createElement(S,Object(r.a)({lgDown:s,lgUp:l,mdDown:f,mdUp:p,smDown:g,smUp:m,xlDown:b,xlUp:N,xsDown:I,xsUp:x},E))}},function(e,t,n){"use strict";var r=n(1),o=n(5),i=n(0),a=n(4),s=n(140),u=n(36),l=Object(u.a)(i.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),c=Object(u.a)(i.createElement("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked"),f=n(8);var d=Object(f.a)((function(e){return{root:{position:"relative",display:"flex","&$checked $layer":{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})}},layer:{left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest})},checked:{}}}),{name:"PrivateRadioButtonIcon"})((function(e){var t=e.checked,n=e.classes,r=e.fontSize;return i.createElement("div",{className:Object(a.a)(n.root,t&&n.checked)},i.createElement(l,{fontSize:r}),i.createElement(c,{fontSize:r,className:n.layer}))})),p=n(17),h=n(9),g=n(54),y=n(198);var m=i.createElement(d,{checked:!0}),v=i.createElement(d,null),b=i.forwardRef((function(e,t){var n=e.checked,u=e.classes,l=e.color,c=void 0===l?"secondary":l,f=e.name,d=e.onChange,p=e.size,b=void 0===p?"medium":p,M=Object(o.a)(e,["checked","classes","color","name","onChange","size"]),w=i.useContext(y.a),N=n,j=Object(g.a)(d,w&&w.onChange),S=f;return w&&("undefined"===typeof N&&(N=w.value===e.value),"undefined"===typeof S&&(S=w.name)),i.createElement(s.a,Object(r.a)({color:c,type:"radio",icon:i.cloneElement(v,{fontSize:"small"===b?"small":"medium"}),checkedIcon:i.cloneElement(m,{fontSize:"small"===b?"small":"medium"}),classes:{root:Object(a.a)(u.root,u["color".concat(Object(h.a)(c))]),checked:u.checked,disabled:u.disabled},name:S,checked:N,onChange:j,ref:t},M))}));t.a=Object(f.a)((function(e){return{root:{color:e.palette.text.secondary},checked:{},disabled:{},colorPrimary:{"&$checked":{color:e.palette.primary.main,"&:hover":{backgroundColor:Object(p.a)(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:e.palette.action.disabled}},colorSecondary:{"&$checked":{color:e.palette.secondary.main,"&:hover":{backgroundColor:Object(p.a)(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:e.palette.action.disabled}}}}),{name:"MuiRadio"})(b)},function(e,t,n){"use strict";var r=n(1),o=n(5),i=n(0),a=n(4),s=n(140),u=n(36),l=Object(u.a)(i.createElement("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),c=Object(u.a)(i.createElement("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),f=n(17),d=Object(u.a)(i.createElement("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox"),p=n(9),h=n(8),g=i.createElement(c,null),y=i.createElement(l,null),m=i.createElement(d,null),v=i.forwardRef((function(e,t){var n=e.checkedIcon,u=void 0===n?g:n,l=e.classes,c=e.color,f=void 0===c?"secondary":c,d=e.icon,h=void 0===d?y:d,v=e.indeterminate,b=void 0!==v&&v,M=e.indeterminateIcon,w=void 0===M?m:M,N=e.inputProps,j=e.size,S=void 0===j?"medium":j,I=Object(o.a)(e,["checkedIcon","classes","color","icon","indeterminate","indeterminateIcon","inputProps","size"]),D=b?w:h,x=b?w:u;return i.createElement(s.a,Object(r.a)({type:"checkbox",classes:{root:Object(a.a)(l.root,l["color".concat(Object(p.a)(f))],b&&l.indeterminate),checked:l.checked,disabled:l.disabled},color:f,inputProps:Object(r.a)({"data-indeterminate":b},N),icon:i.cloneElement(D,{fontSize:void 0===D.props.fontSize&&"small"===S?S:D.props.fontSize}),checkedIcon:i.cloneElement(x,{fontSize:void 0===x.props.fontSize&&"small"===S?S:x.props.fontSize}),ref:t},I))}));t.a=Object(h.a)((function(e){return{root:{color:e.palette.text.secondary},checked:{},disabled:{},indeterminate:{},colorPrimary:{"&$checked":{color:e.palette.primary.main,"&:hover":{backgroundColor:Object(f.a)(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:e.palette.action.disabled}},colorSecondary:{"&$checked":{color:e.palette.secondary.main,"&:hover":{backgroundColor:Object(f.a)(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:e.palette.action.disabled}}}}),{name:"MuiCheckbox"})(v)},function(e,t,n){"use strict";var r=n(1),o=n(5),i=n(0),a=n(4),s=n(36),u=Object(s.a)(i.createElement("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel"),l=n(8),c=n(17),f=n(19),d=n(9),p=n(160);function h(e){return"Backspace"===e.key||"Delete"===e.key}var g=i.forwardRef((function(e,t){var n=e.avatar,s=e.classes,l=e.className,c=e.clickable,g=e.color,y=void 0===g?"default":g,m=e.component,v=e.deleteIcon,b=e.disabled,M=void 0!==b&&b,w=e.icon,N=e.label,j=e.onClick,S=e.onDelete,I=e.onKeyDown,D=e.onKeyUp,x=e.size,E=void 0===x?"medium":x,O=e.variant,T=void 0===O?"default":O,C=Object(o.a)(e,["avatar","classes","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant"]),k=i.useRef(null),L=Object(f.a)(k,t),_=function(e){e.stopPropagation(),S&&S(e)},A=!(!1===c||!j)||c,z="small"===E,P=m||(A?p.a:"div"),R=P===p.a?{component:"div"}:{},U=null;if(S){var B=Object(a.a)("default"!==y&&("default"===T?s["deleteIconColor".concat(Object(d.a)(y))]:s["deleteIconOutlinedColor".concat(Object(d.a)(y))]),z&&s.deleteIconSmall);U=v&&i.isValidElement(v)?i.cloneElement(v,{className:Object(a.a)(v.props.className,s.deleteIcon,B),onClick:_}):i.createElement(u,{className:Object(a.a)(s.deleteIcon,B),onClick:_})}var F=null;n&&i.isValidElement(n)&&(F=i.cloneElement(n,{className:Object(a.a)(s.avatar,n.props.className,z&&s.avatarSmall,"default"!==y&&s["avatarColor".concat(Object(d.a)(y))])}));var Y=null;return w&&i.isValidElement(w)&&(Y=i.cloneElement(w,{className:Object(a.a)(s.icon,w.props.className,z&&s.iconSmall,"default"!==y&&s["iconColor".concat(Object(d.a)(y))])})),i.createElement(P,Object(r.a)({role:A||S?"button":void 0,className:Object(a.a)(s.root,l,"default"!==y&&[s["color".concat(Object(d.a)(y))],A&&s["clickableColor".concat(Object(d.a)(y))],S&&s["deletableColor".concat(Object(d.a)(y))]],"default"!==T&&[s.outlined,{primary:s.outlinedPrimary,secondary:s.outlinedSecondary}[y]],M&&s.disabled,z&&s.sizeSmall,A&&s.clickable,S&&s.deletable),"aria-disabled":!!M||void 0,tabIndex:A||S?0:void 0,onClick:j,onKeyDown:function(e){e.currentTarget===e.target&&h(e)&&e.preventDefault(),I&&I(e)},onKeyUp:function(e){e.currentTarget===e.target&&(S&&h(e)?S(e):"Escape"===e.key&&k.current&&k.current.blur()),D&&D(e)},ref:L},R,C),F||Y,i.createElement("span",{className:Object(a.a)(s.label,z&&s.labelSmall)},N),U)}));t.a=Object(l.a)((function(e){var t="light"===e.palette.type?e.palette.grey[300]:e.palette.grey[700],n=Object(c.a)(e.palette.text.primary,.26);return{root:{fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:e.palette.getContrastText(t),backgroundColor:t,borderRadius:16,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"default",outline:0,textDecoration:"none",border:"none",padding:0,verticalAlign:"middle",boxSizing:"border-box","&$disabled":{opacity:.5,pointerEvents:"none"},"& $avatar":{marginLeft:5,marginRight:-6,width:24,height:24,color:"light"===e.palette.type?e.palette.grey[700]:e.palette.grey[300],fontSize:e.typography.pxToRem(12)},"& $avatarColorPrimary":{color:e.palette.primary.contrastText,backgroundColor:e.palette.primary.dark},"& $avatarColorSecondary":{color:e.palette.secondary.contrastText,backgroundColor:e.palette.secondary.dark},"& $avatarSmall":{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)}},sizeSmall:{height:24},colorPrimary:{backgroundColor:e.palette.primary.main,color:e.palette.primary.contrastText},colorSecondary:{backgroundColor:e.palette.secondary.main,color:e.palette.secondary.contrastText},disabled:{},clickable:{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover, &:focus":{backgroundColor:Object(c.c)(t,.08)},"&:active":{boxShadow:e.shadows[1]}},clickableColorPrimary:{"&:hover, &:focus":{backgroundColor:Object(c.c)(e.palette.primary.main,.08)}},clickableColorSecondary:{"&:hover, &:focus":{backgroundColor:Object(c.c)(e.palette.secondary.main,.08)}},deletable:{"&:focus":{backgroundColor:Object(c.c)(t,.08)}},deletableColorPrimary:{"&:focus":{backgroundColor:Object(c.c)(e.palette.primary.main,.2)}},deletableColorSecondary:{"&:focus":{backgroundColor:Object(c.c)(e.palette.secondary.main,.2)}},outlined:{backgroundColor:"transparent",border:"1px solid ".concat("light"===e.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),"$clickable&:hover, $clickable&:focus, $deletable&:focus":{backgroundColor:Object(c.a)(e.palette.text.primary,e.palette.action.hoverOpacity)},"& $avatar":{marginLeft:4},"& $avatarSmall":{marginLeft:2},"& $icon":{marginLeft:4},"& $iconSmall":{marginLeft:2},"& $deleteIcon":{marginRight:5},"& $deleteIconSmall":{marginRight:3}},outlinedPrimary:{color:e.palette.primary.main,border:"1px solid ".concat(e.palette.primary.main),"$clickable&:hover, $clickable&:focus, $deletable&:focus":{backgroundColor:Object(c.a)(e.palette.primary.main,e.palette.action.hoverOpacity)}},outlinedSecondary:{color:e.palette.secondary.main,border:"1px solid ".concat(e.palette.secondary.main),"$clickable&:hover, $clickable&:focus, $deletable&:focus":{backgroundColor:Object(c.a)(e.palette.secondary.main,e.palette.action.hoverOpacity)}},avatar:{},avatarSmall:{},avatarColorPrimary:{},avatarColorSecondary:{},icon:{color:"light"===e.palette.type?e.palette.grey[700]:e.palette.grey[300],marginLeft:5,marginRight:-6},iconSmall:{width:18,height:18,marginLeft:4,marginRight:-4},iconColorPrimary:{color:"inherit"},iconColorSecondary:{color:"inherit"},label:{overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},labelSmall:{paddingLeft:8,paddingRight:8},deleteIcon:{WebkitTapHighlightColor:"transparent",color:n,height:22,width:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:Object(c.a)(n,.4)}},deleteIconSmall:{height:16,width:16,marginRight:4,marginLeft:-4},deleteIconColorPrimary:{color:Object(c.a)(e.palette.primary.contrastText,.7),"&:hover, &:active":{color:e.palette.primary.contrastText}},deleteIconColorSecondary:{color:Object(c.a)(e.palette.secondary.contrastText,.7),"&:hover, &:active":{color:e.palette.secondary.contrastText}},deleteIconOutlinedColorPrimary:{color:Object(c.a)(e.palette.primary.main,.7),"&:hover, &:active":{color:e.palette.primary.main}},deleteIconOutlinedColorSecondary:{color:Object(c.a)(e.palette.secondary.main,.7),"&:hover, &:active":{color:e.palette.secondary.main}}}}),{name:"MuiChip"})(g)},function(e,t,n){"use strict";var r=n(1),o=n(5),i=n(0),a=n(4),s=n(8),u=n(36),l=Object(u.a)(i.createElement("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");var c=i.forwardRef((function(e,t){var n=e.alt,s=e.children,u=e.classes,c=e.className,f=e.component,d=void 0===f?"div":f,p=e.imgProps,h=e.sizes,g=e.src,y=e.srcSet,m=e.variant,v=void 0===m?"circular":m,b=Object(o.a)(e,["alt","children","classes","className","component","imgProps","sizes","src","srcSet","variant"]),M=null,w=function(e){var t=e.src,n=e.srcSet,r=i.useState(!1),o=r[0],a=r[1];return i.useEffect((function(){if(t||n){a(!1);var e=!0,r=new Image;return r.src=t,r.srcSet=n,r.onload=function(){e&&a("loaded")},r.onerror=function(){e&&a("error")},function(){e=!1}}}),[t,n]),o}({src:g,srcSet:y}),N=g||y,j=N&&"error"!==w;return M=j?i.createElement("img",Object(r.a)({alt:n,src:g,srcSet:y,sizes:h,className:u.img},p)):null!=s?s:N&&n?n[0]:i.createElement(l,{className:u.fallback}),i.createElement(d,Object(r.a)({className:Object(a.a)(u.root,u.system,u[v],c,!j&&u.colorDefault),ref:t},b),M)}));t.a=Object(s.a)((function(e){return{root:{position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none"},colorDefault:{color:e.palette.background.default,backgroundColor:"light"===e.palette.type?e.palette.grey[400]:e.palette.grey[600]},circle:{},circular:{},rounded:{borderRadius:e.shape.borderRadius},square:{borderRadius:0},img:{width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4},fallback:{width:"75%",height:"75%"}}}),{name:"MuiAvatar"})(c)},function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r=n(52),o=n(193),i=n(94);var a={m:"margin",p:"padding"},s={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},u={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},l=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}((function(e){if(e.length>2){if(!u[e])return[e];e=u[e]}var t=e.split(""),n=Object(r.a)(t,2),o=n[0],i=n[1],l=a[o],c=s[i]||"";return Array.isArray(c)?c.map((function(e){return l+e})):[l+c]})),c=["m","mt","mr","mb","ml","mx","my","p","pt","pr","pb","pl","px","py","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY"];function f(e){var t=e.spacing||8;return"number"===typeof t?function(e){return t*e}:Array.isArray(t)?function(e){return t[e]}:"function"===typeof t?t:function(){}}function d(e,t){return function(n){return e.reduce((function(e,r){return e[r]=function(e,t){if("string"===typeof t||null==t)return t;var n=e(Math.abs(t));return t>=0?n:"number"===typeof n?-n:"-".concat(n)}(t,n),e}),{})}}function p(e){var t=f(e.theme);return Object.keys(e).map((function(n){if(-1===c.indexOf(n))return null;var r=d(l(n),t),i=e[n];return Object(o.a)(e,i,r)})).reduce(i.a,{})}p.propTypes={},p.filterProps=c;t.b=p}]]);

Zerion Mini Shell 1.0