PageSourceSearch

https://rupiah-token-next.netlify.app/_next/static/xRLXd0AP1IiUsNnDPvFcl/pages/signin/reset.js

js rupiah-token-next.netlify.app collected 2026-10-03 11:22:42 UTC 226,007 bytes, 312 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[30],{"86yx":function(t,e,n){"use strict";n.d(e,"a",function(){return O}),n.d(e,"b",function(){return f}),n.d(e,"c",function(){return m}),n.d(e,"d",function(){return a}),n.d(e,"e",function(){return E});var i=n("wx14"),r=n("zLVn"),o=function(t){if(null==t||!t.length)return[];if("string"!=typeof t)throw new Error("toPath() expects a string");return t.split(/[.[\]]+/).filter(Boolean)},a=function(t,e){for(var n=o(e),i=t,r=0;r<n.length;r++){var a=n[r];if(null==i||"object"!=typeof i||Array.isArray(i)&&isNaN(a))return;i=i[a]}return i};function s(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:String(e)}var u=function(t,e,n,a){if(void 0===a&&(a=!1),null==t)throw new Error("Cannot call setIn() with "+String(t)+" state");if(null==e)throw new Error("Cannot call setIn() with "+String(e)+" key");return function t(e,n,o,a,u){if(n>=o.length)return a;var c=o[n];if(isNaN(c)){var h;if(null==e){var l,f=t(void 0,n+1,o,a,u);return void 0===f?void 0:((l={})[c]=f,l)}if(Array.isArray(e))throw new Error("Cannot set a non-numeric property on an array");var d=t(e[c],n+1,o,a,u);if(void 0===d){var p=Object.keys(e).length;if(void 0===e[c]&&0===p)return;return void 0!==e[c]&&p<=1?isNaN(o[n-1])||u?void 0:{}:(e[c],Object(r.a)(e,[c].map(s)))}return Object(i.a)({},e,((h={})[c]=d,h))}var v=Number(c);if(null==e){var b=t(void 0,n+1,o,a,u);if(void 0===b)return;var m=[];return m[v]=b,m}if(!Array.isArray(e))throw new Error("Cannot set a numeric property on an object");var g=t(e[v],n+1,o,a,u),y=[].concat(e);if(u&&void 0===g){if(y.splice(v,1),0===y.length)return}else y[v]=g;return y}(t,0,o(e),n,a)},c="FINAL_FORM/form-error",h="FINAL_FORM/array-error";function l(t,e){var n=t.errors,i=t.initialValues,r=t.lastSubmittedValues,o=t.submitErrors,s=t.submitFailed,u=t.submitSucceeded,c=t.submitting,l=t.values,f=e.active,d=e.blur,p=e.change,v=e.data,b=e.focus,m=e.modified,g=e.name,y=e.touched,w=e.validating,S=e.visited,E=a(l,g),I=a(n,g);I&&I[h]&&(I=I[h]);var T=o&&a(o,g),k=i&&a(i,g),A=e.isEqual(k,E),O=!I&&!T;return{active:f,blur:d,change:p,data:v,dirty:!A,dirtySinceLastSubmit:!(!r||e.isEqual(a(r,g),E)),error:I,focus:b,initial:k,invalid:!O,length:Array.isArray(E)?E.length:void 0,modified:m,name:g,pristine:A,submitError:T,submitFailed:s,submitSucceeded:u,submitting:c,touched:y,valid:O,value:E,visited:S,validating:w}}var f=["active","data","dirty","dirtySinceLastSubmit","error","initial","invalid","length","modified","pristine","submitError","submitFailed","submitSucceeded","submitting","touched","valid","value","visited","validating"],d=function(t,e){if(t===e)return!0;if("object"!=typeof t||!t||"object"!=typeof e||!e)return!1;var n=Object.keys(t),i=Object.keys(e);if(n.length!==i.length)return!1;for(var r=Object.prototype.hasOwnProperty.bind(e),o=0;o<n.length;o++){var a=n[o];if(!r(a)||t[a]!==e[a])return!1}return!0};function p(t,e,n,i,r,o){var a=!1;return r.forEach(function(r){i[r]&&(t[r]=e[r],n&&(~o.indexOf(r)?d(e[r],n[r]):e[r]===n[r])||(a=!0))}),a}var v=["data"],b=function(t,e,n,i){var r={blur:t.blur,change:t.change,focus:t.focus,name:t.name};return p(r,t,e,n,f,v)||!e||i?r:void 0},m=["active","dirty","dirtyFields","dirtySinceLastSubmit","error","errors","hasSubmitErrors","hasValidationErrors","initialValues","invalid","modified","pristine","submitting","submitError","submitErrors","submitFailed","submitSucceeded","touched","valid","validating","values","visited"],g=["touched","visited"];function y(t,e,n,i){var r={};return p(r,t,e,n,m,g)||!e||i?r:void 0}var w=function(t){var e,n;return function(){for(var i=arguments.length,r=new Array(i),o=0;o<i;o++)r[o]=arguments[o];return e&&r.length===e.length&&!r.some(function(t,n){return!d(e[n],t)})||(e=r,n=t.apply(void 0,r)),n}},S=function(t){return!!t&&("object"==typeof t||"function"==typeof t)&&"function"==typeof t.then},E="4.18.2",I=function(t,e){return t===e},T=function t(e){return Object.keys(e).some(function(n){var i=e[n];return!i||"object"!=typeof i||i instanceof Error?void 0!==i:t(i)})};function k(t,e,n,i,r,o){void 0===o&&(o=!1);var a=r(n,i,e,o);a&&t(a)}function A(t,e,n,i,r){var o=t.entries;
1Object.keys(o).forEach(function(t){var a=o[Number(t)];if(a){var s=a.subscription;k(a.subscriber,s,e,n,i,r)}})}function O(t){if(!t)throw new Error("No config specified");var e=t.debug,n=t.destroyOnUnregister,r=t.keepDirtyOnReinitialize,o=t.initialValues,s=t.mutators,f=t.onSubmit,p=t.validate,v=t.validateOnBlur;if(!f)throw new Error("No onSubmit function specified");var m={subscribers:{index:0,entries:{}},fieldSubscribers:{},fields:{},formState:{dirtySinceLastSubmit:!1,errors:{},initialValues:o&&Object(i.a)({},o),invalid:!1,pristine:!0,submitting:!1,submitFailed:!1,submitSucceeded:!1,valid:!0,validating:0,values:o?Object(i.a)({},o):{}},lastFormState:void 0},g=!1,E=!1,O=!1,_=0,N={},P=function(t){return function(e){return delete N[t],e}},C=function(t,e,n){var i=n(a(t.formState.values,e));t.formState.values=u(t.formState.values,e,i)||{}},R=function(t,e,n){if(t.fields[e]){var r,o;t.fields=Object(i.a)({},t.fields,((r={})[n]=Object(i.a)({},t.fields[e],{name:n,blur:function(){return K.blur(n)},change:function(t){return K.change(n,t)},focus:function(){return K.focus(n)},lastFieldState:void 0}),r)),delete t.fields[e],t.fieldSubscribers=Object(i.a)({},t.fieldSubscribers,((o={})[n]=t.fieldSubscribers[e],o)),delete t.fieldSubscribers[e];var s=a(t.formState.values,e);t.formState.values=u(t.formState.values,e,void 0)||{},t.formState.values=u(t.formState.values,n,s),delete t.lastFormState}},j=function(t){return function(){if(s){for(var e={formState:m.formState,fields:m.fields,fieldSubscribers:m.fieldSubscribers,lastFormState:m.lastFormState},n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];var o=s[t](i,e,{changeValue:C,getIn:a,renameField:R,resetFieldState:K.resetFieldState,setIn:u,shallowEqual:d});return m.formState=e.formState,m.fields=e.fields,m.fieldSubscribers=e.fieldSubscribers,m.lastFormState=e.lastFormState,x(void 0,function(){M(),q()}),o}}},D=s?Object.keys(s).reduce(function(t,e){return t[e]=j(e),t},{}):{},L=function(t){return Object.keys(t.validators).reduce(function(e,n){var i=t.validators[Number(n)]();return i&&e.push(i),e},[])},x=function(t,e){if(E)return O=!0,void e();var n=m.fields,r=m.formState,o=Object(i.a)({},n),s=Object.keys(o);if(p||s.some(function(t){return L(o[t]).length})){var f=!1;if(t){var v=o[t];if(v){var b=v.validateFields;b&&(f=!0,s=b.length?b.concat(t):[t])}}var g={},y={},w=[].concat(function(t){var e=[];if(p){var n=p(Object(i.a)({},m.formState.values));if(S(n)){var r=_++,o=n.then(t).then(P(r));e.push(o),N[r]=o}else t(n)}return e}(function(t){g=t||{}}),s.reduce(function(t,e){return t.concat(function(t,e){var n,i=[],r=L(t);return r.length&&(r.forEach(function(r){var o=r(a(m.formState.values,t.name),m.formState.values,3===r.length?l(m.formState,m.fields[t.name]):void 0);if(o&&S(o)){var s=_++;t.validating=!0;var u=o.then(function(n){t.validating=!1,e(n)}).then(P(s));i.push(u),N[s]=u}else n||(n=o)}),e(n)),i}(n[e],function(t){y[e]=t}))},[])),I=function(){var t=Object(i.a)({},f?r.errors:{},g),e=function(e){s.forEach(function(i){if(n[i]){var r=a(g,i),s=a(t,i),u=L(o[i]).length,c=y[i];e(i,u&&c||p&&r||(r||f?void 0:s))}})};e(function(e,n){t=u(t,e,n)||{}}),e(function(e,n){if(n&&n[h]){var i=a(t,e),r=[].concat(i);r[h]=n[h],t=u(t,e,r)}}),d(r.errors,t)||(r.errors=t),r.error=g[c]};if(I(),w.length){m.formState.validating++,e();var T=function(){m.formState.validating--,I(),e()};Promise.all(w).then(T,T)}else e()}else e()},M=function(){if(!g&&!E){var t=m.fields,e=m.fieldSubscribers,n=m.formState,r=Object(i.a)({},t);Object.keys(r).forEach(function(t){var i=r[t],o=l(n,i),a=i.lastFieldState;if(!d(o,a)){i.lastFieldState=o;var s=e[t];s&&A(s,o,a,b,void 0===a)}})}},V=function(){Object.keys(m.fields).forEach(function(t){m.fields[t].touched=!0})},F=function(){var t=m.fields,e=m.formState,n=m.lastFormState,r=Object(i.a)({},t),o=Object.keys(r),s=!1,u=o.reduce(function(t,n){return!r[n].isEqual(a(e.values,n),a(e.initialValues||{},n))&&(s=!0,t[n]=!0),t},{});e.pristine=!s,e.dirtySinceLastSubmit=!(!e.lastSubmittedValues||o.every(function(t){var n=e.lastSubmittedValues||{};return r[t].isEqual(a(e.values,t),a(n,t))})),e.valid=!(e.error||e.submitError||T(e.errors)||e.submitErrors&&T(e.submitErrors));var c=function(t){var e=t.active,n=t.dirtySinceLastSubmit,i=t.error,r=t.errors,o=t.initialValues,a=t.pristine,s=t.submitting,u=t.
1submitFailed,c=t.submitSucceeded,h=t.submitError,l=t.submitErrors,f=t.valid,d=t.validating,p=t.values;return{active:e,dirty:!a,dirtySinceLastSubmit:n,error:i,errors:r,hasSubmitErrors:!!(h||l&&T(l)),hasValidationErrors:!(!i&&!T(r)),invalid:!f,initialValues:o,pristine:a,submitting:s,submitFailed:u,submitSucceeded:c,submitError:h,submitErrors:l,valid:f,validating:d>0,values:p}}(e),h=o.reduce(function(t,e){return t.modified[e]=r[e].modified,t.touched[e]=r[e].touched,t.visited[e]=r[e].visited,t},{modified:{},touched:{},visited:{}}),l=h.modified,f=h.touched,p=h.visited;return c.dirtyFields=n&&d(n.dirtyFields,u)?n.dirtyFields:u,c.modified=n&&d(n.modified,l)?n.modified:l,c.touched=n&&d(n.touched,f)?n.touched:f,c.visited=n&&d(n.visited,p)?n.visited:p,n&&d(n,c)?n:c},U=!1,B=!1,q=function t(){if(U)B=!0;else{if(U=!0,e&&e(F(),Object.keys(m.fields).reduce(function(t,e){return t[e]=m.fields[e],t},{})),!g&&!E){var n=m.lastFormState,i=F();i!==n&&(m.lastFormState=i,A(m.subscribers,i,n,y))}U=!1,B&&(B=!1,t())}};x(void 0,function(){});var K={batch:function(t){g=!0,t(),g=!1,M(),q()},blur:function(t){var e=m.fields,n=m.formState,r=e[t];r&&(delete n.active,e[t]=Object(i.a)({},r,{active:!1,touched:!0}),v?x(t,function(){M(),q()}):(M(),q()))},change:function(t,e){var n=m.fields,r=m.formState;if(a(r.values,t)!==e){C(m,t,function(){return e});var o=n[t];o&&(n[t]=Object(i.a)({},o,{modified:!0})),v?(M(),q()):x(t,function(){M(),q()})}},get destroyOnUnregister(){return!!n},set destroyOnUnregister(t){n=t},focus:function(t){var e=m.fields[t];e&&!e.active&&(m.formState.active=t,e.active=!0,e.visited=!0,M(),q())},mutators:D,getFieldState:function(t){var e=m.fields[t];return e&&e.lastFieldState},getRegisteredFields:function(){return Object.keys(m.fields)},getState:function(){return F()},initialize:function(t){var e=m.fields,n=m.formState,o=Object(i.a)({},e),s="function"==typeof t?t(n.values):t;r||(n.values=s),Object.keys(o).forEach(function(t){var e=o[t];e.modified=!1,e.touched=!1,e.visited=!1,r&&e.isEqual(a(n.values,t),a(n.initialValues||{},t))&&(n.values=u(n.values,t,a(s,t)))}),n.initialValues=s,x(void 0,function(){M(),q()})},isValidationPaused:function(){return E},pauseValidation:function(){E=!0},registerField:function(t,e,i,r){void 0===i&&(i={}),m.fieldSubscribers[t]||(m.fieldSubscribers[t]={index:0,entries:{}});var o=m.fieldSubscribers[t].index++;m.fieldSubscribers[t].entries[o]={subscriber:w(e),subscription:i},m.fields[t]||(m.fields[t]={active:!1,afterSubmit:r&&r.afterSubmit,beforeSubmit:r&&r.beforeSubmit,blur:function(){return K.blur(t)},change:function(e){return K.change(t,e)},data:r&&r.data||{},focus:function(){return K.focus(t)},isEqual:r&&r.isEqual||I,lastFieldState:void 0,modified:!1,name:t,touched:!1,valid:!0,validateFields:r&&r.validateFields,validators:{},validating:!1,visited:!1}),r&&(r.getValidator&&(m.fields[t].validators[o]=r.getValidator),void 0!==r.initialValue&&(m.formState.initialValues=u(m.formState.initialValues||{},t,r.initialValue),m.formState.values=u(m.formState.values,t,r.initialValue)),void 0!==r.defaultValue&&(m.formState.values=u(m.formState.values,t,r.defaultValue)));var a=!1;return x(void 0,function(){var n;q(),a||(n=l(m.formState,m.fields[t]),k(e,i,n,void 0,b,!0),m.fields[t].lastFieldState=n,a=!0),M()}),function(){m.fields[t]&&delete m.fields[t].validators[o],delete m.fieldSubscribers[t].entries[o],Object.keys(m.fieldSubscribers[t].entries).length||(delete m.fieldSubscribers[t],delete m.fields[t],m.formState.errors=u(m.formState.errors,t,void 0)||{},n&&(m.formState.values=u(m.formState.values,t,void 0,!0)||{})),x(void 0,function(){M(),q()})}},reset:function(t){if(void 0===t&&(t=m.formState.initialValues),m.formState.submitting)throw Error("Cannot reset() in onSubmit(), use setTimeout(form.reset)");m.formState.submitFailed=!1,m.formState.submitSucceeded=!1,delete m.formState.submitError,delete m.formState.submitErrors,delete m.formState.lastSubmittedValues,K.initialize(t||{})},resetFieldState:function(t){m.fields[t]=Object(i.a)({},m.fields[t],{active:!1,lastFieldState:void 0,modified:!1,touched:!1,valid:!0,validating:!1,visited:!1}),x(void 0,function(){M(),q()})},resumeValidation:function(){E=!1,O&&x(void 0,function(){M(),q()}),O=!1},setConfig:function(t,i){switch(t){case"debug":e=i;break;
1case"destroyOnUnregister":n=i;break;case"initialValues":K.initialize(i);break;case"keepDirtyOnReinitialize":r=i;break;case"mutators":s=i,i?(Object.keys(D).forEach(function(t){t in i||delete D[t]}),Object.keys(i).forEach(function(t){D[t]=j(t)})):Object.keys(D).forEach(function(t){delete D[t]});break;case"onSubmit":f=i;break;case"validate":p=i,x(void 0,function(){M(),q()});break;case"validateOnBlur":v=i;break;default:throw new Error("Unrecognised option "+t)}},submit:function(){var t=m.formState;if(!t.submitting){if(m.formState.error||T(m.formState.errors))return V(),m.formState.submitFailed=!0,q(),void M();var e=Object.keys(N);if(e.length)Promise.all(e.reduce(function(t,e){return t.push(N[Number(e)]),t},[])).then(K.submit,K.submit);else if(!Object.keys(m.fields).find(function(t){return m.fields[t].beforeSubmit&&!1===m.fields[t].beforeSubmit()})){var n,r=!1,o=function(e){return t.submitting=!1,e&&T(e)?(t.submitFailed=!0,t.submitSucceeded=!1,t.submitErrors=e,t.submitError=e[c],V()):(t.submitFailed=!1,t.submitSucceeded=!0,Object.keys(m.fields).forEach(function(t){return m.fields[t].afterSubmit&&m.fields[t].afterSubmit()})),q(),M(),r=!0,n&&n(e),e};delete t.submitErrors,delete t.submitError,t.submitting=!0,t.submitFailed=!1,t.submitSucceeded=!1,t.lastSubmittedValues=Object(i.a)({},t.values);var a=f(t.values,K,o);if(!r){if(a&&S(a))return q(),M(),a.then(o,function(t){throw o(),t});if(f.length>=3)return q(),M(),new Promise(function(t){n=t});o(a)}}}},subscribe:function(t,e){if(!t)throw new Error("No callback given.");if(!e)throw new Error("No subscription provided. What values do you want to listen to?");var n=w(t),i=m.subscribers,r=m.lastFormState,o=i.index++;i.entries[o]={subscriber:n,subscription:e};var a=F();return a!==r&&(m.lastFormState=a),k(n,e,a,a,y,!0),function(){delete i.entries[o]}}};return K}},"E2w+":function(t,e,n){"use strict";var i=n("Wcq6"),r=n.n(i),o=(n("t6oF"),n("Eu9s")),a=n.n(o);r.a.apps.length||r.a.initializeApp(a.a.firebase),e.a=r.a},Eu9s:function(t,e,n){"use strict";var i=n("yk7H"),r=(n("qQ1E"),[i,n("qFEc")][0]);t.exports=r},Wcq6:function(t,e,n){"use strict";var i,r=(i=n("wj3C"))&&"object"==typeof i&&"default"in i?i.default:i;
2/**
3 * @license
4 * Copyright 2018 Google Inc.
5 *
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9 *
10 *   http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 */t.exports=r},ZtPQ:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/signin/reset",function(){var t=n("u10w");return{page:t.default||t}}])},mrSG:function(t,e,n){"use strict";n.r(e),n.d(e,"__extends",function(){return r}),n.d(e,"__assign",function(){return o}),n.d(e,"__rest",function(){return a}),n.d(e,"__decorate",function(){return s}),n.d(e,"__param",function(){return u}),n.d(e,"__metadata",function(){return c}),n.d(e,"__awaiter",function(){return h}),n.d(e,"__generator",function(){return l}),n.d(e,"__exportStar",function(){return f}),n.d(e,"__values",function(){return d}),n.d(e,"__read",function(){return p}),n.d(e,"__spread",function(){return v}),n.d(e,"__spreadArrays",function(){return b}),n.d(e,"__await",function(){return m}),n.d(e,"__asyncGenerator",function(){return g}),n.d(e,"__asyncDelegator",function(){return y}),n.d(e,"__asyncValues",function(){return w}
17),n.d(e,"__makeTemplateObject",function(){return S}),n.d(e,"__importStar",function(){return E}),n.d(e,"__importDefault",function(){return I});
18/*! *****************************************************************************
19Copyright (c) Microsoft Corporation. All rights reserved.
20Licensed under the Apache License, Version 2.0 (the "License"); you may not use
21this file except in compliance with the License. You may obtain a copy of the
22License at http://www.apache.org/licenses/LICENSE-2.0
23
24THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
25KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
26WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
27MERCHANTABLITY OR NON-INFRINGEMENT.
28
29See the Apache Version 2.0 License for specific language governing permissions
30and limitations under the License.
31***************************************************************************** */
32var i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function r(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var o=function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};function a(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n}function s(t,e,n,i){var r,o=arguments.length,a=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,i);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(a=(o<3?r(a):o>3?r(e,n,a):r(e,n))||a);return o>3&&a&&Object.defineProperty(e,n,a),a}function u(t,e){return function(n,i){e(n,i,t)}}function c(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function h(t,e,n,i){return new(n||(n=Promise))(function(r,o){function a(t){try{u(i.next(t))}catch(t){o(t)}}function s(t){try{u(i.throw(t))}catch(t){o(t)}}function u(t){t.done?r(t.value):new n(function(e){e(t.value)}).then(a,s)}u((i=i.apply(t,e||[])).next())})}function l(t,e){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(r=(r=a.trys).length>0&&r[r.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(t){o=[6,t],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}function f(t,e){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}function d(t){var e="function"==typeof Symbol&&t[Symbol.iterator],n=0;return e?e.call(t):{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}}function p(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,r,o=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(i=o.next()).done;)a.push(i.value)}catch(t){r={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return a}function v(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(p(arguments[e]));return t}function b(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var i=Array(t),r=0;for(e=0;e<n;e++)for(var o=arguments[e],a=0,s=o.length;a<s;a++,r++)i[r]=o[a];return i}function m(t){return this instanceof m?(this.v=t,this):new m(t)}function g(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,r=n.apply(t,e||[]),o=[];return i={},a("next"),a("throw"),a("return"),i[Symbol.asyncIterator]=function(){return this},i;function a(t){r[t]&&(i[t]=function(e){return new Promise(function(n,i){o.push([t,e,n,i])>1||s(t,e)})})}function s(t,e){try{(n=r[t](e)).value instanceof m?Promise.resolve(n.value.v).then(u,c):h(o[0][2],n)}catch(t){h(o[0][3],t)}var n}function u(t){s("next",t)}function c(t){s("throw",t)}function h(t,e){t(e),o.shift(),o.length&&s(o[0][0],o[0][1])}}function y(t){var e,n;return e={},i("next"),i("throw",function(t){throw t}),i("return"),e[Symbol.iterator]=function(){return this},e;function i(i,r){e[i]=t[i]?function(e){return(n=!n)?{value:m(t[i](e)),done:"return"===i}:r?r(e):e}:r}}function w(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=d(t),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(n){e[n]=t[n]&&function(e){return new Promise(function(i,r){!function(t,e,n,i){Promise.resolve(i).then(function(e){t({value:e,done:n})},e)}(i,r,(e=t[n](e)).done,e.value)})}}}function S(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function E(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function I(t){return t&&t.__esModule?t:{default:t}}},nP3w:function(t,e,n){"use strict";n.d(e,"a",function(){return m}),n.d(e,"b",function(){return I}),n.d(e,"c",function(){return T}),n.d(e,"d",function(){return b}),n.d(e,"e",function(){return f});var i=n("wx14"),r=n("zLVn"),o=n("q1tI"),a=n.n(o),s=n("86yx");function u(t,e){var n=t.render,a=t.children,s=t.component,u=Object(r.a)(t,["render","children","component"]);return s?Object(o.createElement)(s,Object(i.a)({},u,{children:a,render:n})):n?n(void 0===a?u:Object(i.a)({},u,{children:a})):"function"!=typeof a?null:a(u)}function c(t){return void 0===t&&(t={}),Object.keys(t).filter(function(e){return!0===t[e]}).map(function(t){return t}).sort().join(",")}var h=window.navigator&&window.navigator.product&&"ReactNative"===window.navigator.product,l=Object(o.createContext)(),f=function(t){var e=Object(o.useContext)(l);if(!e)throw new Error("Warning: "+(t||"useForm")+" must be used inside of a <Form> component");return e},d=s.b.reduce(function(t,e){return t[e]=!0,t},{}),p=function(t,e){return void 0===t?"":t},v=function(t,e){return""===t?void 0:t},b=function(t,e){var n=void 0===e?{}:e,a=n.afterSubmit,s=n.allowNull,u=n.beforeSubmit,l=n.component,b=n.defaultValue,m=n.format,g=void 0===m?p:m,y=n.formatOnBlur,w=n.initialValue,S=n.isEqual,E=n.multiple,I=n.parse,T=void 0===I?v:I,k=n.subscription,A=void 0===k?d:k,O=n.type,_=n.validate,N=n.validateFields,P=n.value,C=f("useField"),R=Object(o.useRef)(_);Object(o.useEffect)(function(){R.current=_});var j=Object(o.useRef)(),D=function(e){return C.registerField(t,e,A,{afterSubmit:a,beforeSubmit:function(){return j.current&&j.current()},defaultValue:b,getValidator:function(){return R.current},initialValue:w,isEqual:S,validateFields:N})},L=Object(o.useRef)(!0),x=Object(o.useState)(function(){var t={};return D(function(e){t=e})(),t}),M=x[0],V=x[1];j.current=function(){if(g&&y){var t=g(M.value,M.name);t!==M.value&&M.change(t)}
32return u&&u()};var F=c(A);Object(o.useEffect)(function(){return D(function(t){L.current?L.current=!1:V(t)})},[t,b,w,S,N,F]);var U={onBlur:Object(o.useCallback)(function(t){M.blur(),g&&y&&M.change(g(M.value,M.name))},[M.name,M.value,g,y]),onChange:Object(o.useCallback)(function(e){var n=e&&e.target?function(t,e,n,i){if(!i&&t.nativeEvent&&void 0!==t.nativeEvent.text)return t.nativeEvent.text;if(i&&t.nativeEvent)return t.nativeEvent.text;var r=t.target,o=r.type,a=r.value,s=r.checked;switch(o){case"checkbox":if(void 0!==n){if(s)return Array.isArray(e)?e.concat(n):[n];if(!Array.isArray(e))return e;var u=e.indexOf(n);return u<0?e:e.slice(0,u).concat(e.slice(u+1))}return!!s;case"select-multiple":return function(t){var e=[];if(t)for(var n=0;n<t.length;n++){var i=t[n];i.selected&&e.push(i.value)}return e}(t.target.options);default:return a}}(e,M.value,P,h):e;M.change(T?T(n,t):n)},[P,t,T,M.change,M.value,O]),onFocus:Object(o.useCallback)(function(t){M.focus()},[])},B=(M.blur,M.change,M.focus,M.value),q=(M.name,Object(r.a)(M,["blur","change","focus","value","name"])),K={active:q.active,data:q.data,dirty:q.dirty,dirtySinceLastSubmit:q.dirtySinceLastSubmit,error:q.error,initial:q.initial,invalid:q.invalid,length:q.length,modified:q.modified,pristine:q.pristine,submitError:q.submitError,submitFailed:q.submitFailed,submitSucceeded:q.submitSucceeded,submitting:q.submitting,touched:q.touched,valid:q.valid,visited:q.visited};y?B=p(B):g&&(B=g(B,t)),null!==B||s||(B="");var H=Object(i.a)({name:t,value:B,type:O},U);return"checkbox"===O?void 0===P?H.checked=!!B:(H.checked=!(!Array.isArray(B)||!~B.indexOf(P)),H.value=P):"radio"===O?(H.checked=B===P,H.value=P):"select"===l&&E&&(H.value=H.value||[],H.multiple=!0),{input:H,meta:K}},m=function(t){var e=t.afterSubmit,n=t.allowNull,a=t.beforeSubmit,s=t.children,c=t.component,h=t.defaultValue,l=t.format,f=t.formatOnBlur,d=t.initialValue,p=t.isEqual,v=t.multiple,m=t.name,g=t.parse,y=t.subscription,w=t.type,S=t.validate,E=t.validateFields,I=t.value,T=Object(r.a)(t,["afterSubmit","allowNull","beforeSubmit","children","component","defaultValue","format","formatOnBlur","initialValue","isEqual","multiple","name","parse","subscription","type","validate","validateFields","value"]),k=b(m,{afterSubmit:e,allowNull:n,beforeSubmit:a,children:s,component:c,defaultValue:h,format:l,formatOnBlur:f,initialValue:d,isEqual:p,multiple:v,parse:g,subscription:y,type:w,validate:S,validateFields:E,value:I});return"function"==typeof s?s(Object(i.a)({},k,T)):"string"==typeof c?Object(o.createElement)(c,Object(i.a)({},k.input,{children:s},T)):u(Object(i.a)({},k,{children:s,component:c},T))};function g(t,e,n){void 0===n&&(n=function(t,e){return t===e});var i=a.a.useRef(t);a.a.useEffect(function(){n(t,i.current)||(e(),i.current=t)})}var y=function(t,e){if(t===e)return!0;if("object"!=typeof t||!t||"object"!=typeof e||!e)return!1;var n=Object.keys(t),i=Object.keys(e);if(n.length!==i.length)return!1;for(var r=Object.prototype.hasOwnProperty.bind(e),o=0;o<n.length;o++){var a=n[o];if(!r(a)||t[a]!==e[a])return!1}return!0},w=function(t){return!(!t||"function"!=typeof t.stopPropagation)},S={"final-form":s.e,"react-final-form":"5.1.0"},E=s.c.reduce(function(t,e){return t[e]=!0,t},{}),I=function(t){var e,n,h=t.debug,f=t.decorators,d=t.destroyOnUnregister,p=t.initialValues,v=t.initialValuesEqual,b=t.keepDirtyOnReinitialize,m=t.mutators,I=t.onSubmit,T=t.subscription,k=void 0===T?E:T,A=t.validate,O=t.validateOnBlur,_=Object(r.a)(t,["debug","decorators","destroyOnUnregister","initialValues","initialValuesEqual","keepDirtyOnReinitialize","mutators","onSubmit","subscription","validate","validateOnBlur"]),N={debug:h,destroyOnUnregister:d,initialValues:p,keepDirtyOnReinitialize:b,mutators:m,onSubmit:I,validate:A,validateOnBlur:O},P=(e=function(){var t=Object(s.a)(N);return t.pauseValidation(),t},(n=a.a.useRef()).current||(n.current=e()),n.current),C=Object(o.useState)(function(){var t={};return P.subscribe(function(e){t=e},k)(),t}),R=C[0],j=C[1],D=c(k);Object(o.useEffect)(function(){P.isValidationPaused()&&P.resumeValidation();var t=[P.subscribe(function(t){y(t,R)||j(t)},k)].concat(f?f.map(function(t){return t(P)}):[]);return function(){t.forEach(function(t){return t()})}},[f,D]),g(h,function(){P.setConfig("debug",h)}),g(d,function(){P.setConfig("destroyOnUnregister",d)}),g(p,function(){P.setConfig("initialValues",p)},v||y),g(b,function(){P.setConfig("keepDirtyOnReinitialize",b)}),g(m,function(){P.setConfig("mutators",m)}),g(I,function(){P.setConfig("onSubmit",I)}),g(A,function(){P.setConfig("validate",A)}),g(O,function(){P.setConfig("validateOnBlur",O)});var L=Object(i.a)({},R,{form:Object(i.a)({},P,{reset:function(t){w(t)?P.reset():P.reset(t)}}),handleSubmit:function(t){return t&&("function"==typeof t.preventDefault&&t.preventDefault(),"function"==typeof t.stopPropagation&&t.stopPropagation()),P.submit()}});return Object(o.createElement)(l.Provider,{value:P},u(Object(i.a)({},_,L,{__versions:S})))},T=function(t){var e=t.onChange,n=t.subscription,a=Object(r.a)(t,["onChange","subscription"]),s=Object(o.useContext)(l);if(!s)throw new Error("Warning: FormSpy must be used inside of a ReactFinalForm component");var h=function(t){var e=void 0===t?{}
32:t,n=e.onChange,i=e.subscription,r=void 0===i?E:i,a=f("useFormState"),s=Object(o.useRef)(!0),u=Object(o.useState)(function(){var t={};return a.subscribe(function(e){t=e},r)(),n&&n(t),t}),h=u[0],l=u[1],d=c(r);return Object(o.useEffect)(function(){return a.subscribe(function(t){s.current?s.current=!1:(l(t),n&&n(t))},r)},[d]),h}({onChange:e,subscription:n});if(e)return null;var d={form:Object(i.a)({},s,{reset:function(t){w(t)?s.reset():s.reset(t)}})};return u(Object(i.a)({},a,h,d))}},"q/0M":function(t,e,n){"use strict";n.r(e),n.d(e,"LogLevel",function(){return i}),n.d(e,"Logger",function(){return s}),n.d(e,"setLogLevel",function(){return u});
33/**
34 * @license
35 * Copyright 2017 Google Inc.
36 *
37 * Licensed under the Apache License, Version 2.0 (the "License");
38 * you may not use this file except in compliance with the License.
39 * You may obtain a copy of the License at
40 *
41 *   http://www.apache.org/licenses/LICENSE-2.0
42 *
43 * Unless required by applicable law or agreed to in writing, software
44 * distributed under the License is distributed on an "AS IS" BASIS,
45 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
46 * See the License for the specific language governing permissions and
47 * limitations under the License.
48 */
49var i,r=[];!function(t){t[t.DEBUG=0]="DEBUG",t[t.VERBOSE=1]="VERBOSE",t[t.INFO=2]="INFO",t[t.WARN=3]="WARN",t[t.ERROR=4]="ERROR",t[t.SILENT=5]="SILENT"}(i||(i={}));var o=i.INFO,a=function(t,e){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];if(!(e<t.logLevel))switch((new Date).toISOString(),e){case i.DEBUG:case i.VERBOSE:case i.INFO:case i.WARN:case i.ERROR:break;default:throw new Error("Attempted to log a message with an invalid logType (value: "+e+")")}},s=function(){function t(t){this.name=t,this._logLevel=o,this._logHandler=a,r.push(this)}return Object.defineProperty(t.prototype,"logLevel",{get:function(){return this._logLevel},set:function(t){if(!(t in i))throw new TypeError("Invalid value assigned to `logLevel`");this._logLevel=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"logHandler",{get:function(){return this._logHandler},set:function(t){if("function"!=typeof t)throw new TypeError("Value assigned to `logHandler` must be a function");this._logHandler=t},enumerable:!0,configurable:!0}),t.prototype.debug=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this._logHandler.apply(this,[this,i.DEBUG].concat(t))},t.prototype.log=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this._logHandler.apply(this,[this,i.VERBOSE].concat(t))},t.prototype.info=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this._logHandler.apply(this,[this,i.INFO].concat(t))},t.prototype.warn=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this._logHandler.apply(this,[this,i.WARN].concat(t))},t.prototype.error=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this._logHandler.apply(this,[this,i.ERROR].concat(t))},t}();
50/**
51 * @license
52 * Copyright 2017 Google Inc.
53 *
54 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
56 * You may obtain a copy of the License at
57 *
58 *   http://www.apache.org/licenses/LICENSE-2.0
59 *
60 * Unless required by applicable law or agreed to in writing, software
61 * distributed under the License is distributed on an "AS IS" BASIS,
62 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
63 * See the License for the specific language governing permissions and
64 * limitations under the License.
65 */
66function u(t){r.forEach(function(e){e.logLevel=t})}},qFEc:function(t,e,n){"use strict";var i=n("KI45")(n("zrwo")),r=n("yk7H");t.exports=(0,i.default)({},r,{environment:"staging",baseURL:"https://dev--frontend.rupiahtoken.com"})},qQ1E:function(t,e,n){"use strict";var i=n("KI45")(n("zrwo")),r=n("qFEc");t.exports=(0,i.default)({},r,{environment:"production",gaTrackingId:"UA-142628868-1",baseURL:"https://rupiahtoken.com",apiURL:"https://api.rupiahtoken.com",firebase:{apiKey:"AIzaSyBJXgg8O8LkoRPBJKueMqxV3FSnoPJFtJA",authDomain:"rupiahtoken-production.firebaseapp.com",databaseURL:"https://rupiahtoken-production.firebaseio.com",projectId:"rupiahtoken-production",storageBucket:"rupiahtoken-production.appspot.com",messagingSenderId:"1012641375616",appId:"1:1012641375616:web:a7dc6bec57c00c17"}})},t6oF:function(t,e,n){"use strict";(function(t){var e=n("wj3C"),i=n.n(e);(function(){var e,n="function"==typeof Object.defineProperties?Object.defineProperty:function(t,e,n){t!=Array.prototype&&t!=Object.prototype&&(t[e]=n.value)},r=window===this?this:void 0!==t&&null!=t?t:this;function o(t){var e=0;return function(){return e<t.length?{done:!1,value:t[e++]}:{done:!0}}}function a(t){var e="undefined"!=typeof Symbol&&Symbol.iterator&&t[Symbol.iterator];return e?e.call(t):{next:o(t)}}!function(t,e){if(e){var i=r;t=t.split(".");for(var o=0;o<t.length-1;o++){var a=t[o];a in i||(i[a]={}),i=i[a]}(e=e(o=i[t=t[t.length-1]]))!=o&&null!=e&&n(i,t,{configurable:!0,writable:!0,value:e})}}("Promise",function(t){function e(t){this.b=0,this.c=void 0,this.a=[];var e=this.f();try{t(e.resolve,e.reject)}catch(t){e.reject(t)}}function n(){this.a=null}function i(t){return t instanceof e?t:new e(function(e){e(t)})}if(t)return t;n.prototype.b=function(t){if(null==this.a){this.a=[];var e=this;this.c(function(){e.g()})}this.a.push(t)};var o=r.setTimeout;n.prototype.c=function(t){o(t,0)},n.prototype.g=function(){for(;this.a&&this.a.length;){var t=this.a;this.a=[];for(var e=0;e<t.length;++e){var n=t[e];t[e]=null;try{n()}catch(t){this.f(t)}}}this.a=null},n.prototype.f=function(t){this.c(function(){throw t})},e.prototype.f=function(){function t(t){return function(i){n||(n=!0,t.call(e,i))}}var e=this,n=!1;return{resolve:t(this.o),reject:t(this.g)}}
vendor: 1,336 bytes, line 66
66,e.prototype.o=function(t){if(t===this)this.g(new TypeError("A Promise cannot resolve to itself"));else if(t instanceof e)this.u(t);else{t:switch(typeof t){case"object":var n=null!=t;break t;case"function":n=!0;break t;default:n=!1}n?this.l(t):this.h(t)}},e.prototype.l=function(t){var e=void 0;try{e=t.then}catch(t){return void this.g(t)}"function"==typeof e?this.v(e,t):this.h(t)},e.prototype.g=function(t){this.i(2,t)},e.prototype.h=function(t){this.i(1,t)},e.prototype.i=function(t,e){if(0!=this.b)throw Error("Cannot settle("+t+", "+e+"): Promise already settled in state"+this.b);this.b=t,this.c=e,this.m()},e.prototype.m=function(){if(null!=this.a){for(var t=0;t<this.a.length;++t)s.b(this.a[t]);this.a=null}};var s=new n;return e.prototype.u=function(t){var e=this.f();t.Ja(e.resolve,e.reject)},e.prototype.v=function(t,e){var n=this.f();try{t.call(e,n.resolve,n.reject)}catch(t){n.reject(t)}},e.prototype.then=function(t,n){function i(t,e){return"function"==typeof t?function(e){try{r(t(e))}catch(t){o(t)}}:e}var r,o,a=new e(function(t,e){r=t,o=e});return this.Ja(i(t,r),i(n,o)),a},e.prototype.catch=function(t){return this.then(void 0,t)},e.prototype.Ja=function(t,e){function n(){switch(i.b){case 1:t(i.c);break;case 2:e(i.c);break;default:throw Error("Unexpected state: "+i.b)}}var i=this;null==this.a?s.b(n):this.a.push(n)}
66,e.resolve=i,e.reject=function(t){return new e(function(e,n){n(t)})},e.race=function(t){return new e(function(e,n){for(var r=a(t),o=r.next();!o.done;o=r.next())i(o.value).Ja(e,n)})},e.all=function(t){var n=a(t),r=n.next();return r.done?i([]):new e(function(t,e){function o(e){return function(n){a[e]=n,0==--s&&t(a)}}var a=[],s=0;do{a.push(void 0),s++,i(r.value).Ja(o(a.length-1),e),r=n.next()}while(!r.done)})},e});var s=s||{},u=this||self;function c(t){return"string"==typeof t}function h(t){return"boolean"==typeof t}var l=/^[\w+\/_-]+[=]{0,2}$/,f=null;function d(){}function p(t){var e=typeof t;if("object"==e){if(!t)return"null";if(t instanceof Array)return"array";if(t instanceof Object)return e;var n=Object.prototype.toString.call(t);if("[object Window]"==n)return"object";if("[object Array]"==n||"number"==typeof t.length&&void 0!==t.splice&&void 0!==t.propertyIsEnumerable&&!t.propertyIsEnumerable("splice"))return"array";if("[object Function]"==n||void 0!==t.call&&void 0!==t.propertyIsEnumerable&&!t.propertyIsEnumerable("call"))return"function"}else if("function"==e&&void 0===t.call)return"object";return e}function v(t){return null===t}function b(t){return"array"==p(t)}function m(t){var e=p(t);return"array"==e||"object"==e&&"number"==typeof t.length}function g(t){return"function"==p(t)}function y(t){var e=typeof t;return"object"==e&&null!=t||"function"==e}var w="closure_uid_"+(1e9*Math.random()>>>0),S=0;function E(t,e,n){return t.call.apply(t.bind,arguments)}function I(t,e,n){if(!t)throw Error();if(2<arguments.length){var i=Array.prototype.slice.call(arguments,2);return function(){var n=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(n,i),t.apply(e,n)}}return function(){return t.apply(e,arguments)}}function T(t,e,n){return(T=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?E:I).apply(null,arguments)}function k(t,e){var n=Array.prototype.slice.call(arguments,1);return function(){var e=n.slice();return e.push.apply(e,arguments),t.apply(this,e)}}var A=Date.now||function(){return+new Date};function O(t,e){function n(){}n.prototype=e.prototype,t.qb=e.prototype,t.prototype=new n,t.prototype.constructor=t,t.cd=function(t,n,i){for(var r=Array(arguments.length-2),o=2;o<arguments.length;o++)r[o-2]=arguments[o];return e.prototype[n].apply(t,r)}}function _(t){if(!t)return!1;try{return!!t.$goog_Thenable}catch(t){return!1}}function N(t){if(Error.captureStackTrace)Error.captureStackTrace(this,N);else{var e=Error().stack;e&&(this.stack=e)}t&&(this.message=String(t))}function P(t,e){for(var n="",i=(t=t.split("%s")).length-1,r=0;r<i;r++)n+=t[r]+(r<e.length?e[r]:"%s");N.call(this,n+t[i])}function C(t,e){throw new P("Failure"+(t?": "+t:""),Array.prototype.slice.call(arguments,1))}function R(t,e){this.c=t,this.f=e,this.b=0,this.a=null}function j(t,e){t.f(e),100>t.b&&(t.b++,e.next=t.a,t.a=e)}function D(){this.b=this.a=null}O(N,Error),N.prototype.name="CustomError",O(P,N),P.prototype.name="AssertionError",R.prototype.get=function(){if(0<this.b){this.b--;var t=this.a;this.a=t.next,t.next=null}else t=this.c();return t};var L=new R(function(){return new M},function(t){t.reset()});function x(){var t=Kt,e=null;return t.a&&(e=t.a,t.a=t.a.next,t.a||(t.b=null),e.next=null),e}function M(){this.next=this.b=this.a=null}function V(t,e){t:{try{var n=t&&t.ownerDocument,i=n&&(n.defaultView||n.parentWindow);if((i=i||u).Element&&i.Location){var r=i;break t}}catch(t){}r=null}if(r&&void 0!==r[e]&&(!t||!(t instanceof r[e])&&(t instanceof r.Location||t instanceof r.Element))){if(y(t))try{var o=t.constructor.displayName||t.constructor.name||Object.prototype.toString.call(t)}catch(t){o="<object could not be stringified>"}else o=void 0===t?"undefined":null===t?"null":typeof t;C("Argument is not a %s (or a non-Element, non-Location mock); got: %s",e,o)}}D.prototype.add=function(t,e){var n=L.get();n.set(t,e),this.b?this.b.next=n:this.a=n,this.b=n},M.prototype.set=function(t,e){this.a=t,this.b=e,this.next=null},M.prototype.reset=function(){this.next=this.b=this.a=null};var F=Array.prototype.indexOf?function(t,e){return Array.prototype.indexOf.call(t,e,void 0)}:function(t,e){if(c(t))return c(e)&&1==e.length?t.indexOf(e,0):-1;for(var n=0;n<t.length;n++)if(n in t&&t[n]===e)return n;return-1},U=Array.prototype.forEach?function(t,e,n){Array.prototype.forEach.call(t,e,n)}:function(t,e,n){for(var i=t.length,r=c(t)?t.split(""):t,o=0;o<i;o++)o in r&&e.call(n,r[o],o,t)},B=Array.prototype.map?function(t,e){return Array.prototype.map.call(t,e,void 0)}:function(t,e){for(var n=t.length,i=Array(n),r=c(t)?t.split(""):t,o=0;o<n;o++)o in r&&(i[o]=e.call(void 0,r[o],o,t));return i},q=Array.prototype.some?function(t,e){return Array.prototype.some.call(t,e,void 0)}:function(t,e){for(var n=t.length,i=c(t)?t.split(""):t,r=0;r<n;r++)if(r in i&&e.call(void 0,i[r],r,t))return!0;return!1};function K(t,e){return 0<=F(t,e)}function H(t,e){var n;return(n=0<=(e=F(t,e)))&&Array.prototype.splice.call(t,e,1),n}function W(t,e){!function(t,e){for(var n=c(t)?t.split(""):t,i=t.length-1;0<=i;
66--i)i in n&&e.call(void 0,n[i],i,t)}(t,function(n,i){e.call(void 0,n,i,t)&&Array.prototype.splice.call(t,i,1).length})}function G(t){return Array.prototype.concat.apply([],arguments)}function z(t){var e=t.length;if(0<e){for(var n=Array(e),i=0;i<e;i++)n[i]=t[i];return n}return[]}function X(t,e){for(var n in t)e.call(void 0,t[n],n,t)}function J(t){for(var e in t)return!1;return!0}function Y(t){var e,n={};for(e in t)n[e]=t[e];return n}var $="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function Z(t,e){for(var n,i,r=1;r<arguments.length;r++){for(n in i=arguments[r])t[n]=i[n];for(var o=0;o<$.length;o++)n=$[o],Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}}function Q(t,e){this.a=t===nt&&e||"",this.b=et}function tt(t){return t instanceof Q&&t.constructor===Q&&t.b===et?t.a:(C("expected object of type Const, got '"+t+"'"),"type_error:Const")}Q.prototype.na=!0,Q.prototype.ma=function(){return this.a},Q.prototype.toString=function(){return"Const{"+this.a+"}"};var et={},nt={},it=new Q(nt,"");function rt(){this.a="",this.b=ct}function ot(t){return t instanceof rt&&t.constructor===rt&&t.b===ct?t.a:(C("expected object of type TrustedResourceUrl, got '"+t+"' of type "+p(t)),"type_error:TrustedResourceUrl")}function at(t,e){var n=tt(t);if(!ut.test(n))throw Error("Invalid TrustedResourceUrl format: "+n);return ht(t=n.replace(st,function(t,i){if(!Object.prototype.hasOwnProperty.call(e,i))throw Error('Found marker, "'+i+'", in format string, "'+n+'", but no valid label mapping found in args: '+JSON.stringify(e));return(t=e[i])instanceof Q?tt(t):encodeURIComponent(String(t))}))}rt.prototype.na=!0,rt.prototype.ma=function(){return this.a.toString()},rt.prototype.toString=function(){return"TrustedResourceUrl{"+this.a+"}"};var st=/%{(\w+)}/g,ut=/^((https:)?\/\/[0-9a-z.:[\]-]+\/|\/[^\/\\]|[^:\/\\%]+\/|[^:\/\\%]*[?#]|about:blank#)/i,ct={};function ht(t){var e=new rt;return e.a=t,e}var lt=String.prototype.trim?function(t){return t.trim()}:function(t){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(t)[1]},ft=/&/g,dt=/</g,pt=/>/g,vt=/"/g,bt=/'/g,mt=/\x00/g,gt=/[\x00&<>"']/;function yt(t,e){return-1!=t.indexOf(e)}function wt(t,e){return t<e?-1:t>e?1:0}function St(){this.a="",this.b=At}function Et(t){return t instanceof St&&t.constructor===St&&t.b===At?t.a:(C("expected object of type SafeUrl, got '"+t+"' of type "+p(t)),"type_error:SafeUrl")}St.prototype.na=!0,St.prototype.ma=function(){return this.a.toString()},St.prototype.toString=function(){return"SafeUrl{"+this.a+"}"};var It=/^(?:(?:https?|mailto|ftp):|[^:\/?#]*(?:[\/?#]|$))/i;function Tt(t){return t instanceof St?t:(t="object"==typeof t&&t.na?t.ma():String(t),It.test(t)||(t="about:invalid#zClosurez"),Ot(t))}var kt,At={};function Ot(t){var e=new St;return e.a=t,e}Ot("about:blank");t:{var _t=u.navigator;if(_t){var Nt=_t.userAgent;if(Nt){kt=Nt;break t}}kt=""}function Pt(t){return yt(kt,t)}function Ct(){this.a="",this.b=jt}function Rt(t){return t instanceof Ct&&t.constructor===Ct&&t.b===jt?t.a:(C("expected object of type SafeHtml, got '"+t+"' of type "+p(t)),"type_error:SafeHtml")}Ct.prototype.na=!0,Ct.prototype.ma=function(){return this.a.toString()},Ct.prototype.toString=function(){return"SafeHtml{"+this.a+"}"};var jt={};function Dt(t){var e=new Ct;return e.a=t,e}Dt("<!DOCTYPE html>");var Lt,xt,Mt=Dt("");function Vt(t,e){for(var n=t.split("%s"),i="",r=Array.prototype.slice.call(arguments,1);r.length&&1<n.length;)i+=n.shift()+r.shift();return i+n.join("%s")}function Ft(t){return gt.test(t)&&(-1!=t.indexOf("&")&&(t=t.replace(ft,"&amp;")),-1!=t.indexOf("<")&&(t=t.replace(dt,"&lt;")),-1!=t.indexOf(">")&&(t=t.replace(pt,"&gt;")),-1!=t.indexOf('"')&&(t=t.replace(vt,"&quot;")),-1!=t.indexOf("'")&&(t=t.replace(bt,"&#39;")),-1!=t.indexOf("\0")&&(t=t.replace(mt,"&#0;"))),t}function Ut(t){u.setTimeout(function(){throw t},0)}function Bt(t,e){xt||function(){if(u.Promise&&u.Promise.resolve){var t=u.Promise.resolve(void 0);xt=function(){t.then(Ht)}}else xt=function(){var t=Ht;!g(u.setImmediate)||u.Window&&u.Window.prototype&&!Pt("Edge")&&u.Window.prototype.setImmediate==u.setImmediate?(Lt||(Lt=function(){var t=u.MessageChannel;if(void 0===t&&window.postMessage&&window.addEventListener&&!Pt("Presto")&&(t=function(){var t=document.createElement("IF
66RAME");t.style.display="none",function(t){var e=ht(tt(it));V(t,"HTMLIFrameElement"),t.src=ot(e).toString()}(t),document.documentElement.appendChild(t);var e=t.contentWindow;(t=e.document).open(),t.write(Rt(Mt)),t.close();var n="callImmediate"+Math.random(),i="file:"==e.location.protocol?"*":e.location.protocol+"//"+e.location.host;t=T(function(t){"*"!=i&&t.origin!=i||t.data!=n||this.port1.onmessage()},this),e.addEventListener("message",t,!1),this.port1={},this.port2={postMessage:function(){e.postMessage(n,i)}}}),void 0!==t&&!Pt("Trident")&&!Pt("MSIE")){var e=new t,n={},i=n;return e.port1.onmessage=function(){if(void 0!==n.next){var t=(n=n.next).yb;n.yb=null,t()}},function(t){i.next={yb:t},i=i.next,e.port2.postMessage(0)}}return"undefined"!=typeof document&&"onreadystatechange"in document.createElement("SCRIPT")?function(t){var e=document.createElement("SCRIPT");e.onreadystatechange=function(){e.onreadystatechange=null,e.parentNode.removeChild(e),e=null,t(),t=null},document.documentElement.appendChild(e)}:function(t){u.setTimeout(t,0)}}()),Lt(t)):u.setImmediate(t)}}(),qt||(xt(),qt=!0),Kt.add(t,e)}Dt("<br>");var qt=!1,Kt=new D;function Ht(){for(var t;t=x();){try{t.a.call(t.b)}catch(t){Ut(t)}j(L,t)}qt=!1}function Wt(t,e){if(this.a=Gt,this.i=void 0,this.f=this.b=this.c=null,this.g=this.h=!1,t!=d)try{var n=this;t.call(e,function(t){re(n,zt,t)},function(t){if(!(t instanceof le))try{if(t instanceof Error)throw t;throw Error("Promise rejected.")}catch(t){}re(n,Xt,t)})}catch(t){re(this,Xt,t)}}var Gt=0,zt=2,Xt=3;function Jt(){this.next=this.f=this.b=this.g=this.a=null,this.c=!1}Jt.prototype.reset=function(){this.f=this.b=this.g=this.a=null,this.c=!1};var Yt=new R(function(){return new Jt},function(t){t.reset()});function $t(t,e,n){var i=Yt.get();return i.g=t,i.b=e,i.f=n,i}function Zt(t){if(t instanceof Wt)return t;var e=new Wt(d);return re(e,zt,t),e}
66function Qt(t){return new Wt(function(e,n){n(t)})}function te(t,e,n){oe(t,e,n,null)||Bt(k(e,t))}function ee(t){return new Wt(function(e){var n=t.length,i=[];if(n)for(var r=function(t,r,o){n--,i[t]=r?{Eb:!0,value:o}:{Eb:!1,reason:o},0==n&&e(i)},o=0;o<t.length;o++)te(t[o],k(r,o,!0),k(r,o,!1));else e(i)})}function ne(t,e){t.b||t.a!=zt&&t.a!=Xt||ae(t),t.f?t.f.next=e:t.b=e,t.f=e}function ie(t,e,n,i){var r=$t(null,null,null);return r.a=new Wt(function(t,o){r.g=e?function(n){try{var r=e.call(i,n);t(r)}catch(t){o(t)}}:t,r.b=n?function(e){try{var r=n.call(i,e);void 0===r&&e instanceof le?o(e):t(r)}catch(t){o(t)}}:o}),r.a.c=t,ne(t,r),r.a}function re(t,e,n){t.a==Gt&&(t===n&&(e=Xt,n=new TypeError("Promise cannot resolve to itself")),t.a=1,oe(n,t.Lc,t.Mc,t)||(t.i=n,t.a=e,t.c=null,ae(t),e!=Xt||n instanceof le||function(t,e){t.g=!0,Bt(function(){t.g&&he.call(null,e)})}(t,n)))}function oe(t,e,n,i){if(t instanceof Wt)return ne(t,$t(e||d,n||null,i)),!0;if(_(t))return t.then(e,n,i),!0;if(y(t))try{var r=t.then;if(g(r))return function(t,e,n,i,r){function o(t){a||(a=!0,i.call(r,t))}var a=!1;try{e.call(t,function(t){a||(a=!0,n.call(r,t))},o)}catch(t){o(t)}}(t,r,e,n,i),!0}catch(t){return n.call(i,t),!0}return!1}function ae(t){t.h||(t.h=!0,Bt(t.Wb,t))}function se(t){var e=null;return t.b&&(e=t.b,t.b=e.next,e.next=null),t.b||(t.f=null),e}function ue(t,e,n,i){if(n==Xt&&e.b&&!e.c)for(;t&&t.g;t=t.c)t.g=!1;if(e.a)e.a.c=null,ce(e,n,i);else try{e.c?e.g.call(e.f):ce(e,n,i)}catch(t){he.call(null,t)}j(Yt,e)}function ce(t,e,n){e==zt?t.g.call(t.f,n):t.b&&t.b.call(t.f,n)}Wt.prototype.then=function(t,e,n){return ie(this,g(t)?t:null,g(e)?e:null,n)},Wt.prototype.$goog_Thenable=!0,(e=Wt.prototype).ia=function(t,e){return(t=$t(t,t,e)).c=!0,ne(this,t),this},e.s=function(t,e){return ie(this,null,t,e)},e.cancel=function(t){this.a==Gt&&Bt(function(){!function t(e,n){if(e.a==Gt)if(e.c){var i=e.c;if(i.b){for(var r=0,o=null,a=null,s=i.b;s&&(s.c||(r++,s.a==e&&(o=s),!(o&&1<r)));s=s.next)o||(a=s);o&&(i.a==Gt&&1==r?t(i,n):(a?((r=a).next==i.f&&(i.f=r),r.next=r.next.next):se(i),ue(i,o,Xt,n)))}e.c=null}else re(e,Xt,n)}(this,new le(t))},this)},e.Lc=function(t){this.a=Gt,re(this,zt,t)},e.Mc=function(t){this.a=Gt,re(this,Xt,t)},e.Wb=function(){for(var t;t=se(this);)ue(this,t,this.a,this.i);this.h=!1};var he=Ut;function le(t){N.call(this,t)}function fe(){0!=de&&(pe[this[w]||(this[w]=++S)]=this),this.qa=this.qa,this.ja=this.ja}O(le,N),le.prototype.name="cancel";var de=0,pe={};function ve(t){if(!t.qa&&(t.qa=!0,t.va(),0!=de)){var e=t[w]||(t[w]=++S);if(0!=de&&t.ja&&0<t.ja.length)throw Error(t+" did not empty its onDisposeCallbacks queue. This probably means it overrode dispose() or disposeInternal() without calling the superclass' method.");delete pe[e]}}function be(t){return be[" "](t),t}fe.prototype.qa=!1,fe.prototype.va=function(){if(this.ja)for(;this.ja.length;)this.ja.shift()()},be[" "]=d;var me,ge,ye=Pt("Opera"),we=Pt("Trident")||Pt("MSIE"),Se=Pt("Edge"),Ee=Se||we,Ie=Pt("Gecko")&&!(yt(kt.toLowerCase(),"webkit")&&!Pt("Edge"))&&!(Pt("Trident")||Pt("MSIE"))&&!Pt("Edge"),Te=yt(kt.toLowerCase(),"webkit")&&!Pt("Edge");function ke(){var t=u.document;return t?t.documentMode:void 0}t:{var Ae="",Oe=(ge=kt,Ie?/rv:([^\);]+)(\)|;)/.exec(ge):Se?/Edge\/([\d\.]+)/.exec(ge):we?/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(ge):Te?/WebKit\/(\S+)/.exec(ge):ye?/(?:Version)[ \/]?(\S+)/.exec(ge):void 0);if(Oe&&(Ae=Oe?Oe[1]:""),we){var _e=ke();if(null!=_e&&_e>parseFloat(Ae)){me=String(_e);break t}}me=Ae}var Ne,Pe={};function Ce(t){return function(t,e){var n=Pe;return Object.prototype.hasOwnProperty.call(n,t)?n[t]:n[t]=e()}(t,function(){for(var e=0,n=lt(String(me)).split("."),i=lt(String(t)).split("."),r=Math.max(n.length,i.length),o=0;0==e&&o<r;o++){var a=n[o]||"",s=i[o]||"";do{if(a=/(\d*)(\D*)(.*)/.exec(a)||["","","",""],s=/(\d*)(\D*)(.*)/.exec(s)||["","","",""],0==a[0].length&&0==s[0].length)break;e=wt(0==a[1].length?0:parseInt(a[1],10),0==s[1].length?0:parseInt(s[1],10))||wt(0==a[2].length,0==s[2].length)||wt(a[2],s[2]),a=a[3],s=s[3]}while(0==e)}return 0<=e})}Ne=u.document&&we?ke():void 0;var Re=Object.freeze||function(t){return t},je=!we||9<=Number(Ne),De=we&&!Ce("9"),Le=function(){if(!u.addEventListener||!Object.defineProperty)return!1;var t=!1,e=Object.defineProperty({},"passive",{get:function(){t=!0}});try{u.addEventListener("test",d,e),u.removeEventListener("test",d,e)}catch(t){}return t}();function xe(t,e){this.type=t,this.b=this.target=e,this.Kb=!0}function Me(t,e){if(xe.call(this,t?t.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,t){var n=this.type=t.type,i=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:null;if(this.target=t.target||t.srcElement,this.b=e,e=t.relatedTarget){if(Ie){t:{try{be(e.nodeName);var r=!0;break t}catch(t){}r=!1}r||(e=null)}}
66else"mouseover"==n?e=t.fromElement:"mouseout"==n&&(e=t.toElement);this.relatedTarget=e,i?(this.clientX=void 0!==i.clientX?i.clientX:i.pageX,this.clientY=void 0!==i.clientY?i.clientY:i.pageY,this.screenX=i.screenX||0,this.screenY=i.screenY||0):(this.clientX=void 0!==t.clientX?t.clientX:t.pageX,this.clientY=void 0!==t.clientY?t.clientY:t.pageY,this.screenX=t.screenX||0,this.screenY=t.screenY||0),this.button=t.button,this.key=t.key||"",this.ctrlKey=t.ctrlKey,this.altKey=t.altKey,this.shiftKey=t.shiftKey,this.metaKey=t.metaKey,this.pointerId=t.pointerId||0,this.pointerType=c(t.pointerType)?t.pointerType:Ve[t.pointerType]||"",this.a=t,t.defaultPrevented&&this.preventDefault()}}xe.prototype.preventDefault=function(){this.Kb=!1},O(Me,xe);var Ve=Re({2:"touch",3:"pen",4:"mouse"});Me.prototype.preventDefault=function(){Me.qb.preventDefault.call(this);var t=this.a;if(t.preventDefault)t.preventDefault();else if(t.returnValue=!1,De)try{(t.ctrlKey||112<=t.keyCode&&123>=t.keyCode)&&(t.keyCode=-1)}catch(t){}},Me.prototype.f=function(){return this.a};var Fe="closure_listenable_"+(1e6*Math.random()|0),Ue=0;function Be(t,e,n,i,r){this.listener=t,this.proxy=null,this.src=e,this.type=n,this.capture=!!i,this.Na=r,this.key=++Ue,this.oa=this.Ia=!1}function qe(t){t.oa=!0,t.listener=null,t.proxy=null,t.src=null,t.Na=null}function Ke(t){this.src=t,this.a={},this.b=0}function He(t,e){var n=e.type;n in t.a&&H(t.a[n],e)&&(qe(e),0==t.a[n].length&&(delete t.a[n],t.b--))}function We(t,e,n,i){for(var r=0;r<t.length;++r){var o=t[r];if(!o.oa&&o.listener==e&&o.capture==!!n&&o.Na==i)return r}return-1}Ke.prototype.add=function(t,e,n,i,r){var o=t.toString();(t=this.a[o])||(t=this.a[o]=[],this.b++);var a=We(t,e,i,r);return-1<a?(e=t[a],n||(e.Ia=!1)):((e=new Be(e,this.src,o,!!i,r)).Ia=n,t.push(e)),e};var Ge="closure_lm_"+(1e6*Math.random()|0),ze={};function Xe(t,e,n,i,r){if(i&&i.once)Ye(t,e,n,i,r);else if(b(e))for(var o=0;o<e.length;o++)Xe(t,e[o],n,i,r);else n=an(n),t&&t[Fe]?un(t,e,n,y(i)?!!i.capture:!!i,r):Je(t,e,n,!1,i,r)}function Je(t,e,n,i,r,o){if(!e)throw Error("Invalid event type");var a=y(r)?!!r.capture:!!r,s=rn(t);if(s||(t[Ge]=s=new Ke(t)),!(n=s.add(e,n,i,a,o)).proxy)if(i=function(){var t=nn,e=je?function(n){return t.call(e.src,e.listener,n)}:function(n){if(!(n=t.call(e.src,e.listener,n)))return n};return e}(),n.proxy=i,i.src=t,i.listener=n,t.addEventListener)Le||(r=a),void 0===r&&(r=!1),t.addEventListener(e.toString(),i,r);else if(t.attachEvent)t.attachEvent(Qe(e.toString()),i);else{if(!t.addListener||!t.removeListener)throw Error("addEventListener and attachEvent are unavailable.");t.addListener(i)}}function Ye(t,e,n,i,r){if(b(e))for(var o=0;o<e.length;o++)Ye(t,e[o],n,i,r);else n=an(n),t&&t[Fe]?cn(t,e,n,y(i)?!!i.capture:!!i,r):Je(t,e,n,!0,i,r)}function $e(t,e,n,i,r){if(b(e))for(var o=0;o<e.length;o++)$e(t,e[o],n,i,r);else i=y(i)?!!i.capture:!!i,n=an(n),t&&t[Fe]?(t=t.m,(e=String(e).toString())in t.a&&-1<(n=We(o=t.a[e],n,i,r))&&(qe(o[n]),Array.prototype.splice.call(o,n,1),0==o.length&&(delete t.a[e],t.b--))):t&&(t=rn(t))&&(e=t.a[e.toString()],t=-1,e&&(t=We(e,n,i,r)),(n=-1<t?e[t]:null)&&Ze(n))}function Ze(t){if("number"!=typeof t&&t&&!t.oa){var e=t.src;if(e&&e[Fe])He(e.m,t);else{var n=t.type,i=t.proxy;e.removeEventListener?e.removeEventListener(n,i,t.capture):e.detachEvent?e.detachEvent(Qe(n),i):e.addListener&&e.removeListener&&e.removeListener(i),(n=rn(e))?(He(n,t),0==n.b&&(n.src=null,e[Ge]=null)):qe(t)}}}function Qe(t){return t in ze?ze[t]:ze[t]="on"+t}function tn(t,e,n,i){var r=!0;if((t=rn(t))&&(e=t.a[e.toString()]))for(e=e.concat(),t=0;t<e.length;t++){var o=e[t];o&&o.capture==n&&!o.oa&&(o=en(o,i),r=r&&!1!==o)}return r}function en(t,e){var n=t.listener,i=t.Na||t.src;return t.Ia&&Ze(t),n.call(i,e)}function nn(t,e){if(t.oa)return!0;if(!je){if(!e)t:{e=["window","event"];for(var n=u,i=0;i<e.length;i++)if(null==(n=n[e[i]])){e=null;break t}e=n}if(e=new Me(i=e,this),n=!0,!(0>i.keyCode||null!=i.returnValue)){t:{var r=!1;if(0==i.keyCode)try{i.keyCode=-1;break t}catch(t){r=!0}(r||null==i.returnValue)&&(i.returnValue=!0)}for(i=[],r=e.b;r;r=r.parentNode)i.push(r);for(t=t.type,r=i.length-1;0<=r;r--){e.b=i[r];var o=tn(i[r],t,!0,e);n=n&&o}for(r=0;r<i.length;r++)e.b=i[r],o=tn(i[r],t,!1,e),n=n&&o}return n}return en(t,new Me(e,this))}function rn(t){return(t=t[Ge])instanceof Ke?t:null}var on="__closure_events_fn_"+(1e9*Math.random()>>>0);function an(t){return g(t)?t:(t[on]||(t[on]=function(e){return t.handleEvent(e)}),t[on])}function sn(){fe.call(this),this.m=new Ke(this),this.Pb=this,this.Wa=null}function un(t,e,n,i,r){t.m.add(String(e),n,!1,i,r)}function cn(t,e,n,i,r){t.m.add(String(e),n,!0,i,r)}function hn(t,e,n,i){if(!(e=t.m.a[String(e)]))return!0;e=e.concat();for(var r=!0,o=0;o<e.length;++o){var a=e[o];if(a&&!a.oa&&a.capture==n){var s=a.listener,u=a.Na||a.src;a.Ia&&He(t.m,a),r=!1!==s.call(u,i)&&r}}return r&&0!=i.Kb}function ln(t,e,n){if(g(t))n&&(t=T(t,n));else{if(!t||"function"!=typeof t.handleEvent)throw Error("Invalid listener argument");t=T(t.handleEvent,t)}return 2147483647<Number(e)?-1:u.setTimeout(t,e||0)}function fn(t){var e=null;return new Wt(function(n,i){-1==(e=ln(function(){n(void 0)},t))&&i(Error("Failed to schedule timer."))}).s(function(t){throw u.clearTimeout(e),t})}function dn(t){if(t.S&&"function"==typeof t.S)return t.S();if(c(t))return t.split("");
66if(m(t)){for(var e=[],n=t.length,i=0;i<n;i++)e.push(t[i]);return e}for(i in e=[],n=0,t)e[n++]=t[i];return e}function pn(t){if(t.U&&"function"==typeof t.U)return t.U();if(!t.S||"function"!=typeof t.S){if(m(t)||c(t)){var e=[];t=t.length;for(var n=0;n<t;n++)e.push(n);return e}for(var i in e=[],n=0,t)e[n++]=i;return e}}function vn(t,e){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 i=0;i<n;i+=2)this.set(arguments[i],arguments[i+1])}else if(t)if(t instanceof vn)for(n=t.U(),i=0;i<n.length;i++)this.set(n[i],t.get(n[i]));else for(i in t)this.set(i,t[i])}function bn(t){if(t.c!=t.a.length){for(var e=0,n=0;e<t.a.length;){var i=t.a[e];mn(t.b,i)&&(t.a[n++]=i),e++}t.a.length=n}if(t.c!=t.a.length){var r={};for(n=e=0;e<t.a.length;)mn(r,i=t.a[e])||(t.a[n++]=i,r[i]=1),e++;t.a.length=n}}function mn(t,e){return Object.prototype.hasOwnProperty.call(t,e)}O(sn,fe),sn.prototype[Fe]=!0,sn.prototype.addEventListener=function(t,e,n,i){Xe(this,t,e,n,i)},sn.prototype.removeEventListener=function(t,e,n,i){$e(this,t,e,n,i)},sn.prototype.dispatchEvent=function(t){var e,n=this.Wa;if(n)for(e=[];n;n=n.Wa)e.push(n);n=this.Pb;var i=t.type||t;if(c(t))t=new xe(t,n);else if(t instanceof xe)t.target=t.target||n;else{var r=t;Z(t=new xe(i,n),r)}if(r=!0,e)for(var o=e.length-1;0<=o;o--){var a=t.b=e[o];r=hn(a,i,!0,t)&&r}if(r=hn(a=t.b=n,i,!0,t)&&r,r=hn(a,i,!1,t)&&r,e)for(o=0;o<e.length;o++)r=hn(a=t.b=e[o],i,!1,t)&&r;return r},sn.prototype.va=function(){if(sn.qb.va.call(this),this.m){var t,e=this.m;for(t in e.a){for(var n=e.a[t],i=0;i<n.length;i++)qe(n[i]);delete e.a[t],e.b--}}this.Wa=null},(e=vn.prototype).S=function(){bn(this);for(var t=[],e=0;e<this.a.length;e++)t.push(this.b[this.a[e]]);return t},e.U=function(){return bn(this),this.a.concat()},e.clear=function(){this.b={},this.c=this.a.length=0},e.get=function(t,e){return mn(this.b,t)?this.b[t]:e},e.set=function(t,e){mn(this.b,t)||(this.c++,this.a.push(t)),this.b[t]=e},e.forEach=function(t,e){for(var n=this.U(),i=0;i<n.length;i++){var r=n[i],o=this.get(r);t.call(e,o,r,this)}};var gn=/^(?:([^:\/?#.]+):)?(?:\/\/(?:([^\/?#]*)@)?([^\/#?]*?)(?::([0-9]+))?(?=[\/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/;function yn(t,e){var n;this.b=this.i=this.f="",this.m=null,this.g=this.c="",this.h=!1,t instanceof yn?(this.h=void 0!==e?e:t.h,wn(this,t.f),this.i=t.i,this.b=t.b,Sn(this,t.m),this.c=t.c,En(this,Bn(t.a)),this.g=t.g):t&&(n=String(t).match(gn))?(this.h=!!e,wn(this,n[1]||"",!0),this.i=On(n[2]||""),this.b=On(n[3]||"",!0),Sn(this,n[4]),this.c=On(n[5]||"",!0),En(this,n[6]||"",!0),this.g=On(n[7]||"")):(this.h=!!e,this.a=new Ln(null,this.h))}function wn(t,e,n){t.f=n?On(e,!0):e,t.f&&(t.f=t.f.replace(/:$/,""))}function Sn(t,e){if(e){if(e=Number(e),isNaN(e)||0>e)throw Error("Bad port number "+e);t.m=e}else t.m=null}function En(t,e,n){e instanceof Ln?(t.a=e,function(t,e){e&&!t.f&&(xn(t),t.c=null,t.a.forEach(function(t,e){var n=e.toLowerCase();e!=n&&(Vn(this,e),Un(this,n,t))},t)),t.f=e}(t.a,t.h)):(n||(e=_n(e,jn)),t.a=new Ln(e,t.h))}function In(t,e,n){t.a.set(e,n)}function Tn(t,e){return t.a.get(e)}function kn(t){return t instanceof yn?new yn(t):new yn(t,void 0)}function An(t,e){var n=new yn(null,void 0);return wn(n,"https"),t&&(n.b=t),e&&(n.c=e),n}function On(t,e){return t?e?decodeURI(t.replace(/%25/g,"%2525")):decodeURIComponent(t):""}function _n(t,e,n){return c(t)?(t=encodeURI(t).replace(e,Nn),n&&(t=t.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),t):null}function Nn(t){return"%"+((t=t.charCodeAt(0))>>4&15).toString(16)+(15&t).toString(16)}yn.prototype.toString=function(){var t=[],e=this.f;e&&t.push(_n(e,Pn,!0),":");var n=this.b;return(n||"file"==e)&&(t.push("//"),(e=this.i)&&t.push(_n(e,Pn,!0),"@"),t.push(encodeURIComponent(String(n)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),null!=(n=this.m)&&t.push(":",String(n))),(n=this.c)&&(this.b&&"/"!=n.charAt(0)&&t.push("/"),t.push(_n(n,"/"==n.charAt(0)?Rn:Cn,!0))),(n=this.a.toString())&&t.push("?",n),(n=this.g)&&t.push("#",_n(n,Dn)),t.join("")},yn.prototype.resolve=function(t){var e=new yn(this),n=!!t.f;n?wn(e,t.f):n=!!t.i,n?e.i=t.i:n=!!t.b,n?e.b=t.b:n=null!=t.m;var i=t.c;if(n)Sn(e,t.m);else if(n=!!t.c){if("/"!=i.charAt(0))if(this.b&&!this.c)i="/"+i;else{var r=e.c.lastIndexOf("/");-1!=r&&(i=e.c.substr(0,r+1)+i)}if(".."==(r=i)||"."==r)i="";
66else if(yt(r,"./")||yt(r,"/.")){i=0==r.lastIndexOf("/",0),r=r.split("/");for(var o=[],a=0;a<r.length;){var s=r[a++];"."==s?i&&a==r.length&&o.push(""):".."==s?((1<o.length||1==o.length&&""!=o[0])&&o.pop(),i&&a==r.length&&o.push("")):(o.push(s),i=!0)}i=o.join("/")}else i=r}return n?e.c=i:n=""!==t.a.toString(),n?En(e,Bn(t.a)):n=!!t.g,n&&(e.g=t.g),e};var Pn=/[#\/\?@]/g,Cn=/[#\?:]/g,Rn=/[#\?]/g,jn=/[#\?@]/g,Dn=/#/g;function Ln(t,e){this.b=this.a=null,this.c=t||null,this.f=!!e}function xn(t){t.a||(t.a=new vn,t.b=0,t.c&&function(t,e){if(t){t=t.split("&");for(var n=0;n<t.length;n++){var i=t[n].indexOf("="),r=null;if(0<=i){var o=t[n].substring(0,i);r=t[n].substring(i+1)}else o=t[n];e(o,r?decodeURIComponent(r.replace(/\+/g," ")):"")}}}(t.c,function(e,n){t.add(decodeURIComponent(e.replace(/\+/g," ")),n)}))}function Mn(t){var e=pn(t);if(void 0===e)throw Error("Keys are undefined");var n=new Ln(null,void 0);t=dn(t);for(var i=0;i<e.length;i++){var r=e[i],o=t[i];b(o)?Un(n,r,o):n.add(r,o)}return n}function Vn(t,e){xn(t),e=qn(t,e),mn(t.a.b,e)&&(t.c=null,t.b-=t.a.get(e).length,mn((t=t.a).b,e)&&(delete t.b[e],t.c--,t.a.length>2*t.c&&bn(t)))}function Fn(t,e){return xn(t),e=qn(t,e),mn(t.a.b,e)}function Un(t,e,n){Vn(t,e),0<n.length&&(t.c=null,t.a.set(qn(t,e),z(n)),t.b+=n.length)}function Bn(t){var e=new Ln;return e.c=t.c,t.a&&(e.a=new vn(t.a),e.b=t.b),e}function qn(t,e){return e=String(e),t.f&&(e=e.toLowerCase()),e}(e=Ln.prototype).add=function(t,e){xn(this),this.c=null,t=qn(this,t);var n=this.a.get(t);return n||this.a.set(t,n=[]),n.push(e),this.b+=1,this},e.clear=function(){this.a=this.c=null,this.b=0},e.forEach=function(t,e){xn(this),this.a.forEach(function(n,i){U(n,function(n){t.call(e,n,i,this)},this)},this)},e.U=function(){xn(this);for(var t=this.a.S(),e=this.a.U(),n=[],i=0;i<e.length;i++)for(var r=t[i],o=0;o<r.length;o++)n.push(e[i]);return n},e.S=function(t){xn(this);var e=[];if(c(t))Fn(this,t)&&(e=G(e,this.a.get(qn(this,t))));else{t=this.a.S();for(var n=0;n<t.length;n++)e=G(e,t[n])}return e},e.set=function(t,e){return xn(this),this.c=null,Fn(this,t=qn(this,t))&&(this.b-=this.a.get(t).length),this.a.set(t,[e]),this.b+=1,this},e.get=function(t,e){return t&&0<(t=this.S(t)).length?String(t[0]):e},e.toString=function(){if(this.c)return this.c;if(!this.a)return"";for(var t=[],e=this.a.U(),n=0;n<e.length;n++){var i=e[n],r=encodeURIComponent(String(i));i=this.S(i);for(var o=0;o<i.length;o++){var a=r;""!==i[o]&&(a+="="+encodeURIComponent(String(i[o]))),t.push(a)}}return this.c=t.join("&")};var Kn=!we||9<=Number(Ne);function Hn(t){var e=document;return c(t)?e.getElementById(t):t}function Wn(t,e){X(e,function(e,n){e&&"object"==typeof e&&e.na&&(e=e.ma()),"style"==n?t.style.cssText=e:"class"==n?t.className=e:"for"==n?t.htmlFor=e:Gn.hasOwnProperty(n)?t.setAttribute(Gn[n],e):0==n.lastIndexOf("aria-",0)||0==n.lastIndexOf("data-",0)?t.setAttribute(n,e):t[n]=e})}var Gn={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 zn(t){if(t&&"number"==typeof t.length){if(y(t))return"function"==typeof t.item||"string"==typeof t.item;if(g(t))return"function"==typeof t.item}return!1}function Xn(t){var e=[];return function t(e,n,i){if(null==n)i.push("null");else{if("object"==typeof n){if(b(n)){var r=n;n=r.length,i.push("[");for(var o="",a=0;a<n;a++)i.push(o),t(e,r[a],i),o=",";return void i.push("]")}if(!(n instanceof String||n instanceof Number||n instanceof Boolean)){for(r in i.push("{"),o="",n)Object.prototype.hasOwnProperty.call(n,r)&&"function"!=typeof(a=n[r])&&(i.push(o),Zn(r,i),i.push(":"),t(e,a,i),o=",");return void i.push("}")}n=n.valueOf()}switch(typeof n){case"string":Zn(n,i);break;case"number":i.push(isFinite(n)&&!isNaN(n)?String(n):"null");break;case"boolean":i.push(String(n));break;case"function":i.push("null");break;default:throw Error("Unknown type: "+typeof n)}}}(new Jn,t,e),e.join("")}function Jn(){}var Yn={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\u000b"},$n=/\uffff/.test("ï¿¿")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g;function Zn(t,e){e.push('"',t.replace($n,function(t){var e=Yn[t];return e||(e="\\u"+(65536|t.charCodeAt(0)).toString(16).substr(1),Yn[t]=e),e}),'"')}function Qn(){var t=gi();return we&&!!Ne&&11==Ne||/Edge\/\d+/.test(t)}function ti(){return u.window&&u.window.location.href||self&&self.location&&self.location.href||""}function ei(t,e){e=e||u.window;var n="about:blank";t&&(n=Et(Tt(t)).toString()),e.location.href=n}function ni(t){return!!((t=(t||gi()).toLowerCase()).match(/android/)||t.match(/webos/)||t.match(/iphone|ipad|ipod/)||t.match(/blackberry/)||t.match(/windows phone/)||t.match(/iemobile/))}function ii(t){t=t||u.window;try{t.close()}catch(t){}}function ri(t,e,n){var i=Math.floor(1e9*Math.random()).toString();e=e||500,n=n||600;
66var r=(window.screen.availHeight-n)/2,o=(window.screen.availWidth-e)/2;for(a in e={width:e,height:n,top:0<r?r:0,left:0<o?o:0,location:!0,resizable:!0,statusbar:!0,toolbar:!1},n=gi().toLowerCase(),i&&(e.target=i,yt(n,"crios/")&&(e.target="_blank")),vi(gi())==di&&(t=t||"http://localhost",e.scrollbars=!0),n=t||"",(t=e)||(t={}),i=window,e=n instanceof St?n:Tt(void 0!==n.href?n.href:String(n)),n=t.target||n.target,r=[],t)switch(a){case"width":case"height":case"top":case"left":r.push(a+"="+t[a]);break;case"target":case"noopener":case"noreferrer":break;default:r.push(a+"="+(t[a]?1:0))}var a=r.join(",");if((Pt("iPhone")&&!Pt("iPod")&&!Pt("iPad")||Pt("iPad")||Pt("iPod"))&&i.navigator&&i.navigator.standalone&&n&&"_self"!=n?(V(a=i.document.createElement("A"),"HTMLAnchorElement"),e instanceof St||e instanceof St||(e="object"==typeof e&&e.na?e.ma():String(e),It.test(e)||(e="about:invalid#zClosurez"),e=Ot(e)),a.href=Et(e),a.setAttribute("target",n),t.noreferrer&&a.setAttribute("rel","noreferrer"),(t=document.createEvent("MouseEvent")).initMouseEvent("click",!0,!0,i,1),a.dispatchEvent(t),a={}):t.noreferrer?(a=i.open("",n,a),t=Et(e).toString(),a&&(Ee&&yt(t,";")&&(t="'"+t.replace(/'/g,"%27")+"'"),a.opener=null,t=Dt('<meta name="referrer" content="no-referrer"><meta http-equiv="refresh" content="0; url='+Ft(t)+'">'),a.document.write(Rt(t)),a.document.close())):(a=i.open(Et(e).toString(),n,a))&&t.noopener&&(a.opener=null),a)try{a.focus()}catch(t){}return a}var oi=/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/,ai=/^[^@]+@[^@]+$/;function si(){var t=null;return new Wt(function(e){"complete"==u.document.readyState?e():(t=function(){e()},Ye(window,"load",t))}).s(function(e){throw $e(window,"load",t),e})}function ui(t){return t=t||gi(),!("file:"!==Ii()||!t.toLowerCase().match(/iphone|ipad|ipod|android/))}function ci(){var t=u.window;try{return!(!t||t==t.top)}catch(t){return!1}}function hi(){return void 0!==u.WorkerGlobalScope&&"function"==typeof u.importScripts}function li(){return i.a.INTERNAL.hasOwnProperty("reactNative")?"ReactNative":i.a.INTERNAL.hasOwnProperty("node")?"Node":hi()?"Worker":"Browser"}function fi(){var t=li();return"ReactNative"===t||"Node"===t}var di="Firefox",pi="Chrome";function vi(t){var e=t.toLowerCase();return yt(e,"opera/")||yt(e,"opr/")||yt(e,"opios/")?"Opera":yt(e,"iemobile")?"IEMobile":yt(e,"msie")||yt(e,"trident/")?"IE":yt(e,"edge/")?"Edge":yt(e,"firefox/")?di:yt(e,"silk/")?"Silk":yt(e,"blackberry")?"Blackberry":yt(e,"webos")?"Webos":!yt(e,"safari/")||yt(e,"chrome/")||yt(e,"crios/")||yt(e,"android")?!yt(e,"chrome/")&&!yt(e,"crios/")||yt(e,"edge/")?yt(e,"android")?"Android":(t=t.match(/([a-zA-Z\d\.]+)\/[a-zA-Z\d\.]*$/))&&2==t.length?t[1]:"Other":pi:"Safari"}var bi={Sc:"FirebaseCore-web",Uc:"FirebaseUI-web"};function mi(t,e){e=e||[];var n,i=[],r={};for(n in bi)r[bi[n]]=!0;for(n=0;n<e.length;n++)void 0!==r[e[n]]&&(delete r[e[n]],i.push(e[n]));return i.sort(),(e=i).length||(e=["FirebaseCore-web"]),"Browser"===(i=li())?i=vi(r=gi()):"Worker"===i&&(i=vi(r=gi())+"-"+i),i+"/JsCore/"+t+"/"+e.join(",")}function gi(){return u.navigator&&u.navigator.userAgent||""}function yi(t,e){t=t.split("."),e=e||u;for(var n=0;n<t.length&&"object"==typeof e&&null!=e;n++)e=e[t[n]];return n!=t.length&&(e=void 0),e}function wi(){try{var t=u.localStorage,e=_i();if(t)return t.setItem(e,"1"),t.removeItem(e),!Qn()||!!u.indexedDB}catch(t){return hi()&&!!u.indexedDB}return!1}function Si(){return(Ei()||"chrome-extension:"===Ii()||ui())&&!fi()&&wi()&&!hi()}function Ei(){return"http:"===Ii()||"https:"===Ii()}function Ii(){return u.location&&u.location.protocol||null}function Ti(t){return!ni(t=t||gi())&&vi(t)!=di}function ki(t){return void 0===t?null:Xn(t)}function Ai(t){var e,n={};for(e in t)t.hasOwnProperty(e)&&null!==t[e]&&void 0!==t[e]&&(n[e]=t[e]);return n}function Oi(t){if(null!==t)return JSON.parse(t)}function _i(t){return t||Math.floor(1e9*Math.random()).toString()}function Ni(t){return"Safari"!=vi(t=t||gi())&&!t.toLowerCase().match(/iphone|ipad|ipod/)}function Pi(){var t=u.___jsl;if(t&&t.H)for(var e in t.H)if(t.H[e].r=t.H[e].r||[],t.H[e].L=t.H[e].L||[],t.H[e].r=t.H[e].L.concat(),t.CP)for(var n=0;n<t.CP.length;n++)t.CP[n]=null}function Ci(t,e){if(t>
66e)throw Error("Short delay should be less than long delay!");this.a=t,this.c=e,t=gi(),e=li(),this.b=ni(t)||"ReactNative"===e}function Ri(){var t=u.document;return!t||void 0===t.visibilityState||"visible"==t.visibilityState}function ji(t){try{var e=new Date(parseInt(t,10));if(!isNaN(e.getTime())&&!/[^0-9]/.test(t))return e.toUTCString()}catch(t){}return null}function Di(){return!(!yi("fireauth.oauthhelper",u)&&!yi("fireauth.iframe",u))}Ci.prototype.get=function(){var t=u.navigator;return!t||"boolean"!=typeof t.onLine||!Ei()&&"chrome-extension:"!==Ii()&&void 0===t.connection||t.onLine?this.b?this.c:this.a:Math.min(5e3,this.a)};var Li,xi={};function Mi(t){xi[t]||(xi[t]=!0,"undefined"!=typeof console&&console.warn)}try{var Vi={};Object.defineProperty(Vi,"abcd",{configurable:!0,enumerable:!0,value:1}),Object.defineProperty(Vi,"abcd",{configurable:!0,enumerable:!0,value:2}),Li=2==Vi.abcd}catch(ge){Li=!1}function Fi(t,e,n){Li?Object.defineProperty(t,e,{configurable:!0,enumerable:!0,value:n}):t[e]=n}function Ui(t,e){if(e)for(var n in e)e.hasOwnProperty(n)&&Fi(t,n,e[n])}function Bi(t){var e={};return Ui(e,t),e}function qi(t){var e=t;if("object"==typeof t&&null!=t)for(var n in e="length"in t?[]:{},t)Fi(e,n,qi(t[n]));return e}function Ki(t){var e={},n=t[Wi],i=t[Gi];if(!(t=t[zi])||t!=Hi&&!n)throw Error("Invalid provider user info!");e[Ji]=i||null,e[Xi]=n||null,Fi(this,$i,t),Fi(this,Yi,qi(e))}var Hi="EMAIL_SIGNIN",Wi="email",Gi="newEmail",zi="requestType",Xi="email",Ji="fromEmail",Yi="data",$i="operation";function Zi(t,e){this.code=tr+t,this.message=e||er[t]||""}function Qi(t){var e=t&&t.code;return e?new Zi(e.substring(tr.length),t.message):null}O(Zi,Error),Zi.prototype.w=function(){return{code:this.code,message:this.message}},Zi.prototype.toJSON=function(){return this.w()};var tr="auth/",er={"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-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 use the verification code provided by the user.","invali
66d-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-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.","invali
66d-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.","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-or-invalid-nonce":"The OIDC ID token requires a valid unhashed nonce.","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.",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-persistence-type":"The current environment does not support the specified persistence type.","user-cancelled":"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."};function nr(t){var e=t[sr];if(void 0===e)throw new Zi("missing-continue-uri");if("string"!=typeof e||"string"==typeof e&&!e.length)throw new Zi("invalid-continue-uri");this.h=e,this.b=this.a=null,this.g=!1;var n=t[ir];if(n&&"object"==typeof n){e=n[hr];var i=n[ur];if(n=n[cr],"string"==typeof e&&e.length){if(this.a=e,void 0!==i&&"boolean"!=typeof i)throw new Zi("argument-error",ur+" property must be a boolean when specified.");if(this.g=!!i,void 0!==n&&("string"!=typeof n||"string"==typeof n&&!n.length))throw new Zi("argument-error",cr+" property must be a non empty string when specified.");this.b=n||null}else{if(void 0!==e)throw new Zi("argument-error",hr+" property must be a non empty string when specified.");if(void 0!==i||void 0!==n)throw new Zi("missing-android-pkg-name")}}else if(void 0!==n)throw new Zi("argument-error",ir+" property must be a non null object when specified.");if(this.f=null,(e=t[ar])&&"object"==typeof e){if("string"==typeof(e=e[lr])&&e.length)this.f=e;else if(void 0!==e)throw new Zi("argument-error",lr+" property must be a non empty string when specified.")}else if(void 0!==e)throw new Zi("argument-error",ar+" property must be a non null object when specified.");if(void 0!==(e=t[or])&&"boolean"!=typeof e)throw new Zi("argument-error",or+" property must be a boolean when specified.");if(this.c=!!e,void 0!==(t=t[rr])&&("string"!=typeof t||"string"==typeof t&&!t.length))throw new Zi("argument-error",rr+" property must be a non empty string when specified.");this.i=t||null}var ir="android",rr="dynamicLinkDomain",or="handleCodeInApp",ar="iOS",sr="url",ur="installApp",cr="minimumVersion",hr="packageName",lr="bundleId";function fr(t){var e={};for(var n in e.continueUrl=t.h,e.canHandleCodeInApp=t.c,(e.androidPackageName=t.a)&&(e.androidMinimumVersion=t.b,e.androidInstallApp=t.g),e.iOSBundleId=t.f,e.dynamicLinkDomain=t.i,e)null===e[n]&&delete e[n];return e}var dr=null,pr=null;function vr(t){this.c=t.sub,A(),this.a=t.provider_id||t.firebase&&t.firebase.sign_in_provider||null,this.b=!!t.is_anonymous||"anonymous"==this.a}function br(t){return(t=mr(t))&&t.sub&&t.iss&&t.aud&&t.exp?new vr(t):null}function mr(t){if(!t)return null;if(3!=(t=t.split(".")).length)return null;for(var e=(4-(t=t[1]).length%4)%4,n=0;n<e;n++)t+=".";try{return JSON.parse(function(t){var e="";return function(t,e){function n(e){for(;i<t.length;){var n=t.charAt(i++),r=pr[n];if(null!=r)return r;if(!/^[\s\xa0]*$/.test(n))throw Error("Unknown base64 encoding at char: "+n)}return e}!function(){if(!dr){dr={},pr={};for(var t=0;65>t;t++)dr[t]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
66+/=".charAt(t),pr[dr[t]]=t,62<=t&&(pr["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(t)]=t)}}();for(var i=0;;){var r=n(-1),o=n(0),a=n(64),s=n(64);if(64===s&&-1===r)break;e(r<<2|o>>4),64!=a&&(e(o<<4&240|a>>2),64!=s&&e(a<<6&192|s))}}(t,function(t){e+=String.fromCharCode(t)}),e}(t))}catch(t){}return null}vr.prototype.f=function(){return this.b};var gr,yr={Yc:{bb:"https://www.googleapis.com/identitytoolkit/v3/relyingparty/",jb:"https://securetoken.googleapis.com/v1/token",id:"p"},$c:{bb:"https://staging-www.sandbox.googleapis.com/identitytoolkit/v3/relyingparty/",jb:"https://staging-securetoken.sandbox.googleapis.com/v1/token",id:"s"},ad:{bb:"https://www-googleapis-test.sandbox.google.com/identitytoolkit/v3/relyingparty/",jb:"https://test-securetoken.sandbox.googleapis.com/v1/token",id:"t"}};function wr(t){for(var e in yr)if(yr[e].id===t)return{firebaseEndpoint:(t=yr[e]).bb,secureTokenEndpoint:t.jb};return null}gr=wr("__EID__")?"__EID__":void 0;var Sr="oauth_consumer_key oauth_nonce oauth_signature oauth_signature_method oauth_timestamp oauth_token oauth_version".split(" "),Er=["client_id","response_type","scope","redirect_uri","state"],Ir={Tc:{Oa:"locale",Ba:500,Aa:600,Pa:"facebook.com",ib:Er},Vc:{Oa:null,Ba:500,Aa:620,Pa:"github.com",ib:Er},Wc:{Oa:"hl",Ba:515,Aa:680,Pa:"google.com",ib:Er},bd:{Oa:"lang",Ba:485,Aa:705,Pa:"twitter.com",ib:Sr}};function Tr(t){for(var e in Ir)if(Ir[e].Pa==t)return Ir[e];return null}function kr(t){var e={};e["facebook.com"]=Pr,e["google.com"]=Rr,e["github.com"]=Cr,e["twitter.com"]=jr;var n=t&&t[Or];try{if(n)return e[n]?new e[n](t):new Nr(t);if(void 0!==t[Ar])return new _r(t)}catch(t){}return null}var Ar="idToken",Or="providerId";function _r(t){var e=t[Or];if(!e&&t[Ar]){var n=br(t[Ar]);n&&n.a&&(e=n.a)}if(!e)throw Error("Invalid additional user info!");"anonymous"!=e&&"custom"!=e||(e=null),n=!1,void 0!==t.isNewUser?n=!!t.isNewUser:"identitytoolkit#SignupNewUserResponse"===t.kind&&(n=!0),Fi(this,"providerId",e),Fi(this,"isNewUser",n)}function Nr(t){_r.call(this,t),Fi(this,"profile",qi((t=Oi(t.rawUserInfo||"{}"))||{}))}function Pr(t){if(Nr.call(this,t),"facebook.com"!=this.providerId)throw Error("Invalid provider ID!")}function Cr(t){if(Nr.call(this,t),"github.com"!=this.providerId)throw Error("Invalid provider ID!");Fi(this,"username",this.profile&&this.profile.login||null)}function Rr(t){if(Nr.call(this,t),"google.com"!=this.providerId)throw Error("Invalid provider ID!")}function jr(t){if(Nr.call(this,t),"twitter.com"!=this.providerId)throw Error("Invalid provider ID!");Fi(this,"username",t.screenName||null)}function Dr(t){this.a=kn(t)}function Lr(t){var e=kn(t),n=Tn(e,"link"),i=Tn(kn(n),"link");return e=Tn(e,"deep_link_id"),Tn(kn(e),"link")||e||i||n||t}function xr(){}function Mr(t,e){return t.then(function(t){if(t[Ta]){var n=br(t[Ta]);if(!n||e!=n.c)throw new Zi("user-mismatch");return t}throw new Zi("user-mismatch")}).s(function(t){throw t&&t.code&&t.code==tr+"user-not-found"?new Zi("user-mismatch"):t})}function Vr(t,e){if(!e)throw new Zi("internal-error","failed to construct a credential");this.a=e,Fi(this,"providerId",t),Fi(this,"signInMethod",t)}function Fr(t){return{pendingToken:t.a,requestUri:"http://localhost"}}function Ur(t){if(t&&t.providerId&&t.signInMethod&&0==t.providerId.indexOf("saml.")&&t.pendingToken)try{return new Vr(t.providerId,t.pendingToken)}catch(t){}return null}function Br(t,e,n){if(this.a=null,e.idToken||e.accessToken)e.idToken&&Fi(this,"idToken",e.idToken),e.accessToken&&Fi(this,"accessToken",e.accessToken),e.nonce&&!e.pendingToken&&Fi(this,"nonce",e.nonce),e.pendingToken&&(this.a=e.pendingToken);else{if(!e.oauthToken||!e.oauthTokenSecret)throw new Zi("internal-error","failed to construct a credential");Fi(this,"accessToken",e.oauthToken),Fi(this,"secret",e.oauthTokenSecret)}Fi(this,"providerId",t),Fi(this,"signInMethod",n)}function qr(t){var e={};return t.idToken&&(e.id_token=t.idToken),t.accessToken&&(e.access_token=t.accessToken),t.secret&&(e.oauth_token_secret=t.secret),e.providerId=t.providerId,t.nonce&&!t.a&&(e.nonce=t.nonce),e={postBody:Mn(e).toString(),requestUri:"http://localhost"},t.a&&(delete e.postBody,e.pendingToken=t.a),e}function Kr(t){if(t&&t.providerId&&t.signInMethod){var e={idToken:t.oauthIdToken,accessToken:t.oauthTokenSecret?null:t.oauthAccessToken,oauthTokenSecret:t.oauthTokenSecret,oauthToken:t.oauthTokenSecret&&t.oauthAccessToken,nonce:t.nonce,pendingToken:t.pendingToken};try{return new Br(t.providerId,e,t.signInMethod)}catch(t){}}return null}function Hr(t,e){this.Cc=e||[],Ui(this,{providerId:t,isOAuthProvider:!0}),this.zb={},this.eb=(Tr(t)||{}).Oa||null,this.ab=null}function Wr(t){if("string"!=typeof t||0!=t.indexOf("saml."))throw new Zi("argument-error",'SAML provider IDs must be prefixed with "saml."');Hr.call(this,t,[])}function Gr(t){Hr.call(this,t,Er),this.a=[]}function zr(){Gr.call(this,"facebook.com")}function Xr(t){if(!t)throw new Zi("argument-error","credential failed: expected 1 argument (the OAuth access token).");var e=t;return y(t)&&(e=t.accessToken),(new zr).credential({accessToken:e})}function Jr(){Gr.call(this,"github.com")}function Yr(t){if(!t)throw new Zi("argument-error","credential failed: expected 1 argument (the OAuth access token).");var e=t;return y(t)&&(e=t.accessToken),(new Jr).credential({accessToken:e})}function $r(){Gr.call(this,"google.com"),this.ua("profile")}function Zr(t,e){var n=t;return y(t)&&(n=t.idToken,e=t.accessToken),(new $r).credential({idToken:n,accessToken:e})}function Qr(){Hr.call(this,"twitter.com",Sr)}function to(t,e){var n=t;if(y(n)||(n={oauthToken:t,oauthTokenSecret:e}),!n.oauthToken||!n.oauthTokenSecret)throw new Zi("argument-error","credential failed: expected 2 arguments (the OAuth access token and secret).");return new Br("twitter.com",n,"twitter.com")}function eo(t,e,n){this.a=t,this.c=e,Fi(this,"providerId","password"),Fi(this,"signInMethod",n===io.EMAIL_LINK_SIGN_IN_METHOD?io.EMAIL_LINK_SIGN_IN_METHOD:io.EMAIL_PASSWORD_SIGN_IN_METHOD)}function no(t){return t&&t.email&&t.password?new eo(t.email,t.password,t.signInMethod):null}function io(){Ui(this,{providerId:"password",isOAuthProvider:!1})}function ro(t,e){if(!(e=oo(e)))throw new Zi("argument-error","Invalid email link!");
66return new eo(t,e,io.EMAIL_LINK_SIGN_IN_METHOD)}function oo(t){var e=Tn((t=new Dr(t=Lr(t))).a,"oobCode")||null;return"signIn"===(Tn(t.a,"mode")||null)&&e?e:null}function ao(t){if(!(t.Ua&&t.Ta||t.Fa&&t.$))throw new Zi("internal-error");this.a=t,Fi(this,"providerId","phone"),Fi(this,"signInMethod","phone")}function so(t){if(t&&"phone"===t.providerId&&(t.verificationId&&t.verificationCode||t.temporaryProof&&t.phoneNumber)){var e={};return U(["verificationId","verificationCode","temporaryProof","phoneNumber"],function(n){t[n]&&(e[n]=t[n])}),new ao(e)}return null}function uo(t){return t.a.Fa&&t.a.$?{temporaryProof:t.a.Fa,phoneNumber:t.a.$}:{sessionInfo:t.a.Ua,code:t.a.Ta}}function co(t){try{this.a=t||i.a.auth()}catch(t){throw new Zi("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().")}Ui(this,{providerId:"phone",isOAuthProvider:!1})}function ho(t,e){if(!t)throw new Zi("missing-verification-id");if(!e)throw new Zi("missing-verification-code");return new ao({Ua:t,Ta:e})}function lo(t){if(t.temporaryProof&&t.phoneNumber)return new ao({Fa:t.temporaryProof,$:t.phoneNumber});var e=t&&t.providerId;if(!e||"password"===e)return null;var n=t&&t.oauthAccessToken,i=t&&t.oauthTokenSecret,r=t&&t.nonce,o=t&&t.oauthIdToken,a=t&&t.pendingToken;try{switch(e){case"google.com":return Zr(o,n);case"facebook.com":return Xr(n);case"github.com":return Yr(n);case"twitter.com":return to(n,i);default:return n||i||o||a?a?0==e.indexOf("saml.")?new Vr(e,a):new Br(e,{pendingToken:a,idToken:t.oauthIdToken,accessToken:t.oauthAccessToken},e):new Gr(e).credential({idToken:o,accessToken:n,rawNonce:r}):null}}catch(t){return null}}function fo(t){if(!t.isOAuthProvider)throw new Zi("invalid-oauth-provider")}function po(t,e,n,i,r,o){if(this.c=t,this.b=e||null,this.g=n||null,this.f=i||null,this.h=o||null,this.a=r||null,!this.g&&!this.a)throw new Zi("invalid-auth-event");if(this.g&&this.a)throw new Zi("invalid-auth-event");if(this.g&&!this.f)throw new Zi("invalid-auth-event")}function vo(t){return(t=t||{}).type?new po(t.type,t.eventId,t.urlResponse,t.sessionId,t.error&&Qi(t.error),t.postBody):null}function bo(){this.b=null,this.a=[]}O(Nr,_r),O(Pr,Nr),O(Cr,Nr),O(Rr,Nr),O(jr,Nr),Vr.prototype.la=function(t){return qa(t,Fr(this))},Vr.prototype.b=function(t,e){var n=Fr(this);return n.idToken=e,Ka(t,n)},Vr.prototype.f=function(t,e){return Mr(Ha(t,Fr(this)),e)},Vr.prototype.w=function(){return{providerId:this.providerId,sign
66InMethod:this.signInMethod,pendingToken:this.a}},Br.prototype.la=function(t){return qa(t,qr(this))},Br.prototype.b=function(t,e){var n=qr(this);return n.idToken=e,Ka(t,n)},Br.prototype.f=function(t,e){return Mr(Ha(t,qr(this)),e)},Br.prototype.w=function(){var t={providerId:this.providerId,signInMethod:this.signInMethod};return this.idToken&&(t.oauthIdToken=this.idToken),this.accessToken&&(t.oauthAccessToken=this.accessToken),this.secret&&(t.oauthTokenSecret=this.secret),this.nonce&&(t.nonce=this.nonce),this.a&&(t.pendingToken=this.a),t},Hr.prototype.Da=function(t){return this.zb=Y(t),this},O(Wr,Hr),O(Gr,Hr),Gr.prototype.ua=function(t){return K(this.a,t)||this.a.push(t),this},Gr.prototype.Fb=function(){return z(this.a)},Gr.prototype.credential=function(t,e){var n;if(!(n=y(t)?{idToken:t.idToken||null,accessToken:t.accessToken||null,nonce:t.rawNonce||null}:{idToken:t||null,accessToken:e||null}).idToken&&!n.accessToken)throw new Zi("argument-error","credential failed: must provide the ID token and/or the access token.");return new Br(this.providerId,n,this.providerId)},O(zr,Gr),Fi(zr,"PROVIDER_ID","facebook.com"),Fi(zr,"FACEBOOK_SIGN_IN_METHOD","facebook.com"),O(Jr,Gr),Fi(Jr,"PROVIDER_ID","github.com"),Fi(Jr,"GITHUB_SIGN_IN_METHOD","github.com"),O($r,Gr),Fi($r,"PROVIDER_ID","google.com"),Fi($r,"GOOGLE_SIGN_IN_METHOD","google.com"),O(Qr,Hr),Fi(Qr,"PROVIDER_ID","twitter.com"),Fi(Qr,"TWITTER_SIGN_IN_METHOD","twitter.com"),eo.prototype.la=function(t){return this.signInMethod==io.EMAIL_LINK_SIGN_IN_METHOD?ys(t,Za,{email:this.a,oobCode:this.c}):ys(t,vs,{email:this.a,password:this.c})},eo.prototype.b=function(t,e){return this.signInMethod==io.EMAIL_LINK_SIGN_IN_METHOD?ys(t,Qa,{idToken:e,email:this.a,oobCode:this.c}):ys(t,cs,{idToken:e,email:this.a,password:this.c})},eo.prototype.f=function(t,e){return Mr(this.la(t),e)},eo.prototype.w=function(){return{email:this.a,password:this.c,signInMethod:this.signInMethod}},Ui(io,{PROVIDER_ID:"password"}),Ui(io,{EMAIL_LINK_SIGN_IN_METHOD:"emailLink"}),Ui(io,{EMAIL_PASSWORD_SIGN_IN_METHOD:"password"}),ao.prototype.la=function(t){return t.Va(uo(this))},ao.prototype.b=function(t,e){var n=uo(this);return n.idToken=e,ys(t,ms,n)},ao.prototype.f=function(t,e){var n=uo(this);return n.operation="REAUTH",Mr(t=ys(t,gs,n),e)},ao.prototype.w=function(){var t={providerId:"phone"};return this.a.Ua&&(t.verificationId=this.a.Ua),this.a.Ta&&(t.verificationCode=this.a.Ta),this.a.Fa&&(t.temporaryProof=this.a.Fa),this.a.$&&(t.phoneNumber=this.a.$),t},co.prototype.Va=function(t,e){var n=this.a.c;return Zt(e.verify()).then(function(i){if(!c(i))throw new Zi("argument-error","An implementation of firebase.auth.ApplicationVerifier.prototype.verify() must return a firebase.Promise that resolves with a string.");switch(e.type){case"recaptcha":return function(t,e){return ys(n,ss,e)}(0,{phoneNumber:t,recaptchaToken:i}).then(function(t){return"function"==typeof e.reset&&e.reset(),t},function(t){throw"function"==typeof e.reset&&e.reset(),t});default:throw new Zi("argument-error",'Only firebase.auth.ApplicationVerifiers with type="recaptcha" are currently supported.')}})},Ui(co,{PROVIDER_ID:"phone"}),Ui(co,{PHONE_SIGN_IN_METHOD:"phone"}),po.prototype.getUid=function(){var t=[];return t.push(this.c),this.b&&t.push(this.b),this.f&&t.push(this.f),this.i&&t.push(this.i),t.join("-")},po.prototype.w=function(){return{type:this.c,eventId:this.b,urlResponse:this.g,sessionId:this.f,postBody:this.h,error:this.a&&this.a.w()}};var mo,go=null;function yo(t){var e="unauthorized-domain",n=void 0,i=kn(t);t=i.b,"chrome-extension"==(i=i.f)?n=Vt("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.",t):"http"==i||"https"==i?n=Vt("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.",t):e="operation-not-supported-in-this-environment",Zi.call(this,e,n)}function wo(t,e,n){Zi.call(this,t,n),(t=e||{}).Ab&&Fi(this,"email",t.Ab),t.$&&Fi(this,"phoneNumber",t.$),t.credential&&Fi(this,"credential",t.credential)}function So(t){if(t.code){var e=t.code||"";0==e.indexOf(tr)&&(e=e.substring(tr.length));var n={credential:lo(t)};if(t.email)n.Ab=t.email;else if(t.phoneNumber)n.$=t.phoneNumber;else if(!n.credential)return new Zi(e,t.message||void 0);return new wo(e,n,t.message)}return null}function Eo(){}function Io(t){return t.c||(t.c=t.b())}function To(){}function ko(t){if(!t.f&&"undefined"==typeof XMLHttpRequest&&"undefined"!=typeof ActiveXObject){for(var e=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],n=0;n<e.length;n++){var i=e[n];try{return new ActiveXObject(i),t.f=i}catch(t){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed")}return t.f}function Ao(){}function Oo(){this.a=new XDomainRequest,this.readyState=0,this.onreadystatechange=null,this.responseType=this.responseText=this.response="",this.status=-1,this.statusText="",this.a.onload=T(this.cc,this),this.a.onerror=T(this.Gb,this),this.a.onprogress=T(this.dc,this),this.a.ontimeout=T(this.hc,this)}function _o(t,e){t.readyState=e,t.onreadystatechange&&t.onreadystatechange()}function No(t,e,n){this.reset(t,e,n,void 0,void 0)}function Po(t){this.f=t,this.b=this.c=this.a=null}function Co(t,e){this.name=t,this.value=e}bo.prototype.subscribe=function(t){var e=this;this.a.push(t),this.b||(this.b=function(t){for(var n=0;n<e.a.length;n++)e.a[n](t)},"function"==typeof(t=yi("universalLinks.subscribe",u))&&t(null,this.b))},bo.prototype.unsubscribe=function(t){W(this.a,function(e){return e==t})},O(yo,Zi),O(wo,Zi),wo.prototype.w=function(){var t={code:this.code,message:this.message};this.email&&(t.email=this.email),this.phoneNumber&&(t.phoneNumber=this.phoneNumber);var e=this.credential&&this.credential.w();return e&&Z(t,e),t},wo.prototype.toJSON=function(){return this.w()},Eo.prototype.c=null,O(To,Eo),To.prototype.a=function(){var t=ko(this);return t?new ActiveXObject(t):new XMLHttpRequest},To.prototype.b=function(){var t={};return ko(this)&&(t[0]=!0,t[1]=!0),t},mo=new To,O(Ao,Eo),Ao.prototype.a=function(){var t=new XMLHttpRequest;if("withCredentials"in t)return t;if("undefined"!=typeof XDomainRequest)return new Oo;throw Error("Unsupported browser")},Ao.prototype.b=function(){return{}},(e=Oo.prototype).open=function(t,e,n){if(null!=n&&!n)throw Error("Only async requests are supported.");this.a.open(t,e)},e.send=function(t){if(t){if("string"!=typeof t)throw Error("Only string data is supported");this.a.send(t)}else this.a.send()},e.abort=function(){this.a.abort()},e.setRequestHeader=function(){},e.getResponseHeader=function(t){return"content-type"==t.toLowerCase()?this.a.contentType:""},e.cc=function(){this.status=200,this.response=this.responseText=this.a.responseText,_o(this,4)},e.Gb=function(){this.status=500,this.response=this.responseText="",_o(this,4)},e.hc=function(){this.Gb()},e.dc=function(){this.status=200,_o(this,1)},e.getAllResponseHeaders=function(){return"content-type: "+this.a.contentType},No.prototype.a=null,No.prototype.reset=function(t,e,n,i,r){i||A(),delete this.a},Co.prototype.toString=function(){return this.name};var Ro=new Co("SEVERE",1e3),jo=new Co("WARNING",900),Do=new Co("CONFIG",700),Lo=new Co("FINE",500);Po.prototype.log=function(t,e,n){if(t.value>=function t(e){return e.c?e.c:e.a?t(e.a):(C("Root logger has no level set."),null)}(this).value)for(g(e)&&(e=e()),t=new No(t,String(e),this.f),n&&(t.a=n),n=this;n;)n=n.a};var xo={},Mo=null;function Vo(t){var e;if(Mo||(Mo=new Po(""),xo[""]=Mo,Mo.c=Do),!(e=xo[t])){e=new Po(t);var n=t.lastIndexOf("."),i=t.substr(n+1);(n=Vo(t.substr(0,n))).b||(n.b={}),n.b[i]=e,e.a=n,xo[t]=e}return e}function Fo(t,e){t&&t.log(Lo,e,void 0)}function Uo(t){this.f=t}function Bo(t){sn.call(this),this.u=t,this.readyState=qo,this.status=0,this.responseType=this.responseText=this.response=this.statusText="",this.onreadystatechange=null,this.i=new Headers,this.b=null,this.o="GET",this.g="",this.a=!1,this.h=Vo("goog.net.FetchXmlHttp"),this.l=this.c=this.f=null}O(Uo,Eo),Uo.prototype.a=function(){return new Bo(this.f)},Uo.prototype.b=function(t){return function(){return t}}({}),O(Bo,sn);var qo=0;function Ko(t){t.c.read().then(t.bc.bind(t)).catch(t.Ma.bind(t))}function Ho(t,e){e&&t.f&&(t.status=t.f.status,t.statusText=t.f.statusText),t.readyState=4,t.f=null,t.c=null,t.l=null,Wo(t)}function Wo(t){t.onreadystatechange&&t.onreadystatechange.call(t)}function Go(t){sn.call(this),this.headers=new vn,this.D=t||null,this.c=!1,this.A=this.a=null,this.h=this.N=this.l="",this.f=this.I=this.i=this.G=!1,this.g=0,this.u=null,this.o=zo,this.v=this.O=!1}(e=Bo.prototype).open=function(t,e){if(this.readyState!=qo)throw this.abort(),Error("Error reopening a connection");this.o=t,this.g=e,this.readyState=1,Wo(this)},e.send=function(t){if(1!=this.readyState)throw this.abort(),Error("need to call open() first. ");this.a=!0;var e={headers:this.i,method:this.o,credentials:void 0,cache:void 0};
66t&&(e.body=t),this.u.fetch(new Request(this.g,e)).then(this.gc.bind(this),this.Ma.bind(this))},e.abort=function(){this.response=this.responseText="",this.i=new Headers,this.status=0,this.c&&this.c.cancel("Request was aborted."),1<=this.readyState&&this.a&&4!=this.readyState&&(this.a=!1,Ho(this,!1)),this.readyState=qo},e.gc=function(t){this.a&&(this.f=t,this.b||(this.b=t.headers,this.readyState=2,Wo(this)),this.a&&(this.readyState=3,Wo(this),this.a&&("arraybuffer"===this.responseType?t.arrayBuffer().then(this.ec.bind(this),this.Ma.bind(this)):void 0!==u.ReadableStream&&"body"in t?(this.response=this.responseText="",this.c=t.body.getReader(),this.l=new TextDecoder,Ko(this)):t.text().then(this.fc.bind(this),this.Ma.bind(this)))))},e.bc=function(t){if(this.a){var e=this.l.decode(t.value?t.value:new Uint8Array(0),{stream:!t.done});e&&(this.response=this.responseText+=e),t.done?Ho(this,!0):Wo(this),3==this.readyState&&Ko(this)}},e.fc=function(t){this.a&&(this.response=this.responseText=t,Ho(this,!0))},e.ec=function(t){this.a&&(this.response=t,Ho(this,!0))},e.Ma=function(t){var e=this.h;e&&e.log(jo,"Failed to fetch url "+this.g,t instanceof Error?t:Error(t)),this.a&&Ho(this,!0)},e.setRequestHeader=function(t,e){this.i.append(t,e)},e.getResponseHeader=function(t){return this.b?this.b.get(t.toLowerCase())||"":((t=this.h)&&t.log(jo,"Attempting to get response header but no headers have been received for url: "+this.g,void 0),"")},e.getAllResponseHeaders=function(){if(!this.b){var t=this.h;return t&&t.log(jo,"Attempting to get all response headers but no headers have been received for url: "+this.g,void 0),""}t=[];for(var e=this.b.entries(),n=e.next();!n.done;)n=n.value,t.push(n[0]+": "+n[1]),n=e.next();return t.join("\r\n")},O(Go,sn);var zo="";Go.prototype.b=Vo("goog.net.XhrIo");var Xo=/^https?$/i,Jo=["POST","PUT"];function Yo(t){return"content-type"==t.toLowerCase()}function $o(t,e){t.c=!1,t.a&&(t.f=!0,t.a.abort(),t.f=!1),t.h=e,Zo(t),ta(t)}function Zo(t){t.G||(t.G=!0,t.dispatchEvent("complete"),t.dispatchEvent("error"))}function Qo(t){if(t.c&&void 0!==s)if(t.A[1]&&4==na(t)&&2==ia(t))Fo(t.b,ra(t,"Local request error detected and ignored"));else if(t.i&&4==na(t))ln(t.Jb,0,t);else if(t.dispatchEvent("readystatechange"),4==na(t)){Fo(t.b,ra(t,"Request complete")),t.c=!1;try{var e,n=ia(t);t:switch(n){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var i=!0;break t;default:i=!1}if(!(e=i)){var r;if(r=0===n){var o=String(t.l).match(gn)[1]||null;if(!o&&u.self&&u.self.location){var a=u.self.location.protocol;o=a.substr(0,a.length-1)}r=!Xo.test(o?o.toLowerCase():"")}e=r}if(e)t.dispatchEvent("complete"),t.dispatchEvent("success");else{try{var c=2<na(t)?t.a.statusText:""}catch(e){Fo(t.b,"Can not get status: "+e.message),c=""}t.h=c+" ["+ia(t)+"]",Zo(t)}}finally{ta(t)}}}function ta(t,e){if(t.a){ea(t);var n=t.a,i=t.A[0]?d:null;t.a=null,t.A=null,e||t.dispatchEvent("ready");try{n.onreadystatechange=i}catch(e){(t=t.b)&&t.log(Ro,"Problem encountered resetting onreadystatechange: "+e.message,void 0)}}}function ea(t){t.a&&t.v&&(t.a.ontimeout=null),t.u&&(u.clearTimeout(t.u),t.u=null)}function na(t){return t.a?t.a.readyState:0}function ia(t){try{return 2<na(t)?t.a.status:-1}catch(t){return-1}}function ra(t,e){return e+" ["+t.N+" "+t.l+" "+ia(t)+"]"}function oa(t){var e=ba;this.g=[],this.v=e,this.u=t||null,this.f=this.a=!1,this.c=void 0,this.l=this.A=this.i=!1,this.h=0,this.b=null,this.m=0}function aa(t,e,n){t.a=!0,t.c=n,t.f=!e,ha(t)}function sa(t){if(t.a){if(!t.l)throw new la(t);t.l=!1}}function ua(t,e,n,i){t.g.push([e,n,i]),t.a&&ha(t)}function ca(t){return q(t.g,function(t){return g(t[1])})}function ha(t){if(t.h&&t.a&&ca(t)){var e=t.h,n=pa[e];n&&(u.clearTimeout(n.a),delete pa[e]),t.h=0}t.b&&(t.b.m--,delete t.b),e=t.c;for(var i=n=!1;t.g.length&&!t.i;){var r=t.g.shift(),o=r[0],a=r[1];if(r=r[2],o=t.f?a:o)try{var s=o.call(r||t.u,e);void 0!==s&&(t.f=t.f&&(s==e||s instanceof Error),t.c=e=s),(_(e)||"function"==typeof u.Promise&&e instanceof u.Promise)&&(i=!0,t.i=!0)}catch(i){e=i,t.f=!0,ca(t)||(n=!0)}}t.c=e,i&&(s=T(t.o,t,!0),i=T(t.o,t,!1),e instanceof oa?(ua(e,s,i),e.A=!0):e.then(s,i)),n&&(e=new da(e),pa[e.a]=e,t.h=e.a)}function la(){N.call(this)}function fa(){N.call(this)}function da(t){this.a=u.setTimeout(T(this.c,this),0),this.b=t}(e=Go.prototype).Ga=function(){void 0!==s&&this.a&&(this.h="Timed out after "+this.g+"ms, aborting",Fo(this.b,ra(this,this.h)),this.dispatchEvent("timeout"),this.abort(8))},e.abort=function(){this.a&&this.c&&(Fo(this.b,ra(this,"Aborting")),this.c=!1,this.f=!0,this.a.abort(),this.f=!1,this.dispatchEvent("complete"),this.dispatchEvent("abort"),ta(this))},e.va=function(){this.a&&(this.c&&(this.c=!1,this.f=!0,this.a.abort(),this.f=!1),ta(this,!0)),Go.qb.va.call(this)},e.Jb=function(){this.qa||(this.I||this.i||this.f?Qo(this):this.vc())},e.vc=function(){Qo(this)},e.getResponse=function(){try{if(!this.a)return null;if("response"in this.a)return this.a.response;switch(this.o){case zo:case"text":return this.a.responseText;case"arraybuffer":if("mozResponseArrayBuffer"in this.a)return this.a.mozResponseArrayBuffer}var t=this.b;return t&&t.log(Ro,"Response type "+this.o+" is not supported on this browser",void 0),null}catch(t){return Fo(this.b,"Can not get response: "+t.message),null}},oa.prototype.cancel=function(t){if(this.a)this.c instanceof oa&&this.c.cancel();else{if(this.b){var e=this.b;delete this.b,t?e.cancel(t):(e.m--,0>=e.m&&e.cancel())}this.v?this.v.call(this.u,this):this.l=!0,this.a||(t=new fa(this),sa(this),aa(this,!1,t))}},oa.prototype.o=function(t,e){this.i=!1,aa(this,t,e)},oa.prototype.then=function(t,e,n){var i,r,o=new Wt(function(t,e){i=t,r=e});return ua(this,i,function(t){t instanceof fa?o.cancel():r(t)}),o.then(t,e,n)}
66,oa.prototype.$goog_Thenable=!0,O(la,N),la.prototype.message="Deferred has already fired",la.prototype.name="AlreadyCalledError",O(fa,N),fa.prototype.message="Deferred was canceled",fa.prototype.name="CanceledError",da.prototype.c=function(){throw delete pa[this.a],this.b};var pa={};function va(t){var e={},n=e.document||document,i=ot(t).toString(),r=document.createElement("SCRIPT"),o={Lb:r,Ga:void 0},a=new oa(o),s=null,c=null!=e.timeout?e.timeout:5e3;return 0<c&&(s=window.setTimeout(function(){ma(r,!0);var t=new wa(ya,"Timeout reached for loading script "+i);sa(a),aa(a,!1,t)},c),o.Ga=s),r.onload=r.onreadystatechange=function(){r.readyState&&"loaded"!=r.readyState&&"complete"!=r.readyState||(ma(r,e.dd||!1,s),sa(a),aa(a,!0,null))},r.onerror=function(){ma(r,!0,s);var t=new wa(ga,"Error while loading script "+i);sa(a),aa(a,!1,t)},Z(o=e.attributes||{},{type:"text/javascript",charset:"UTF-8"}),Wn(r,o),function(t,e){V(t,"HTMLScriptElement"),t.src=ot(e),null===f&&(f=(e=(e=u.document).querySelector&&e.querySelector("script[nonce]"))&&(e=e.nonce||e.getAttribute("nonce"))&&l.test(e)?e:""),(e=f)&&t.setAttribute("nonce",e)}(r,t),function(t){var e;return(e=(t||document).getElementsByTagName("HEAD"))&&0!=e.length?e[0]:t.documentElement}(n).appendChild(r),a}function ba(){if(this&&this.Lb){var t=this.Lb;t&&"SCRIPT"==t.tagName&&ma(t,!0,this.Ga)}}function ma(t,e,n){null!=n&&u.clearTimeout(n),t.onload=d,t.onerror=d,t.onreadystatechange=d,e&&window.setTimeout(function(){t&&t.parentNode&&t.parentNode.removeChild(t)},0)}var ga=0,ya=1;function wa(t,e){var n="Jsloader error (code #"+t+")";e&&(n+=": "+e),N.call(this,n),this.code=t}function Sa(t){this.f=t}function Ea(t,e,n){if(this.b=t,t=e||{},this.i=t.secureTokenEndpoint||"https://securetoken.googleapis.com/v1/token",this.m=t.secureTokenTimeout||ka,this.f=Y(t.secureTokenHeaders||Aa),this.g=t.firebaseEndpoint||"https://www.googleapis.com/identitytoolkit/v3/relyingparty/",this.h=t.firebaseTimeout||Oa,this.a=Y(t.firebaseHeaders||_a),n&&(this.a["X-Client-Version"]=n,this.f["X-Client-Version"]=n),n="Node"==li(),!(n=u.XMLHttpRequest||n&&i.a.INTERNAL.node&&i.a.INTERNAL.node.XMLHttpRequest)&&!hi())throw new Zi("internal-error","The XMLHttpRequest compatibility library was not found.");this.c=void 0,hi()?this.c=new Uo(self):fi()?this.c=new Sa(n):this.c=new Ao}O(wa,N),O(Sa,Eo),Sa.prototype.a=function(){return new this.f},Sa.prototype.b=function(){return{}};var Ia,Ta="idToken",ka=new Ci(3e4,6e4),Aa={"Content-Type":"application/x-www-form-urlencoded"},Oa=new Ci(3e4,6e4),_a={"Content-Type":"application/json"};function Na(t,e){e?t.a["X-Firebase-Locale"]=e:delete t.a["X-Firebase-Locale"]}function Pa(t,e){e?(t.a["X-Client-Version"]=e,t.f["X-Client-Version"]=e):(delete t.a["X-Client-Version"],delete t.f["X-Client-Version"])}function Ca(t,e,n,i,r,o,a){(function(){var t=gi();return!((t=vi(t)!=pi?null:(t=t.match(/\sChrome\/(\d+)/i))&&2==t.length?parseInt(t[1],10):null)&&30>t||we&&Ne&&!(9<Ne))})()||hi()?t=T(t.o,t):(Ia||(Ia=new Wt(function(t,e){!function(t,e){((window.gapi||{}).client||{}).request?t():(u[ja]=function(){((window.gapi||{}).client||{}).request?t():e(Error("CORS_UNSUPPORTED"))},function(t,e){ua(va(at(Ra,{onload:ja})),null,e,void 0)}(0,function(){e(Error("CORS_UNSUPPORTED"))}))}(t,e)})),t=T(t.l,t)),t(e,n,i,r,o,a)}Ea.prototype.o=function(t,e,n,i,r,o){if(hi()&&(void 0===u.fetch||void 0===u.Headers||void 0===u.Request))throw new Zi("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 Go(this.c);if(o){a.g=Math.max(0,o);var s=setTimeout(function(){a.dispatchEvent("timeout")},o)}un(a,"complete",function(){s&&clearTimeout(s);var t=null;try{t=JSON.parse(function(t){try{return t.a?t.a.responseText:""}catch(e){return Fo(t.b,"Can not get responseText: "+e.message),""}}(this))||null}catch(e){t=null}e&&e(t)}),cn(a,"ready",function(){s&&clearTimeout(s),ve(this)}),cn(a,"timeout",function(){s&&clearTimeout(s),ve(this),e&&e(null)}),function(t,e,n,i,r){if(t.a)throw Error("[goog.net.XhrIo] Object is active with another request="+t.l+"; newUri="+e);n=n?n.toUpperCase():"GET",t.l=e,t.h="",t.N=n,t.G=!1,t.c=!0,t.a=t.D?t.D.a():mo.a(),t.A=t.D?Io(t.D):Io(mo),t.a.onreadystatechange=T(t.Jb,t);try{Fo(t.b,ra(t,"Opening Xhr")),t.I=!0,t.a.open(n,String(e),!0),t.I=!1}catch(e){return Fo(t.b,ra(t,"Error opening Xhr: "+e.message)),void $o(t,e)}e=i||"";var o=new vn(t.headers);r&&function(t,e){if(t.forEach&&"function"==typeof t.forEach)t.forEach(e,void 0);else if(m(t)||c(t))U(t,e,void 0);else for(var n=pn(t),i=dn(t),r=i.length,o=0;o<r;o++)e.call(void 0,i[o],n&&n[o],t)}(r,function(t,e){o.set(e,t)}),r=function(t){t:{for(var e=Yo,n=t.length,i=c(t)?t.split(""):t,r=0;r<n;r++)if(r in i&&e.call(void 0,i[r],r,t)){e=r;break t}e=-1}return 0>e?null:c(t)?t.charAt(e):t[e]}(o.U()),i=u.FormData&&e instanceof u.FormData,!K(Jo,n)||r||i||o.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8"),o.forEach(function(t,e){this.a.setRequestHeader(e,t)},t),t.o&&(t.a.responseType=t.o),"withCredentials"in t.a&&t.a.withCredentials!==t.O&&(t.a.withCredentials=t.O);try{ea(t),0<t.g&&(t.v=function(t){return we&&Ce(9)&&"number"==typeof t.timeout&&void 0!==t.ontimeout}(t.a),Fo(t.b,ra(t,"Will abort after "+t.g+"ms if incomplete, xhr2 "+t.v)),t.v?(t.a.timeout=t.g,t.a.ontimeout=T(t.Ga,t)):t.u=ln(t.Ga,t.g,t)),Fo(t.b,ra(t,"Sending request")),t.i=!0,t.a.send(e),t.i=!1}catch(e){Fo(t.b,ra(t,"Send error: "+e.message)),$o(t,e)}}(a,t,n,i,r)};var Ra=new Q(nt,"https://apis.google.com/js/client.js?onload=%{onload}"),ja="__fcb"+Math.floor(1e6*Math.random()).toString();function Da(t){if(!c(t=t.email)||!ai.test(t))throw new Zi("invalid-email")}function La(t){"email"in t&&Da(t)}function xa(t){if(!t[Ta])throw new Zi("internal-error")}function Ma(t){if(t.phoneNumber||t.temporaryProof){if(!t.phoneNumber||!t.temporaryProof)throw new Zi("internal-error")}else{if(!t.sessionInfo)throw new Zi("missing-verification-id");if(!t.code)throw new Zi("missing-verification-code")}}Ea.prototype.l=function(t,e,n,i,r){var o=this;Ia.then(function(){window.gapi.client.setApiKey(o.b);var a=window.gapi.auth.getToken();window.gapi.auth.setToken(null),window.gapi.client.request({path:t,method:n,body:i,headers:r,authType:"none",callback:function(t){window.gapi.auth.setToken(a),e&&e(t)}})}).s(function(t){e&&e({error:{message:t&&t.message||"CORS_UNSUPPORTED"}})})},Ea.prototype.ob=function(){return ys(this,hs,{})},Ea.prototype.rb=function(t,e){return ys(this,us,{idToken:t,email:e})},Ea.prototype.sb=function(t,e){return ys(this,cs,{idToken:t,password:e})};var Va={displayName:"DISPLAY_NAME",photoUrl:"PHOTO_URL"};function Fa(t){if(!t.requestUri||!t.sessionId&&!t.postBody&&!t.pendingToken)throw new Zi("internal-error")}function Ua(t,e){return e.oauthIdToken&&e.providerId&&0==e.providerId.indexOf("oidc.")&&!e.pendingToken&&
66(t.sessionId?e.nonce=t.sessionId:t.postBody&&Fn(t=new Ln(t.postBody),"nonce")&&(e.nonce=t.get("nonce"))),e}function Ba(t){var e=null;if(t.needConfirmation?(t.code="account-exists-with-different-credential",e=So(t)):"FEDERATED_USER_ID_ALREADY_LINKED"==t.errorMessage?(t.code="credential-already-in-use",e=So(t)):"EMAIL_EXISTS"==t.errorMessage?(t.code="email-already-in-use",e=So(t)):t.errorMessage&&(e=ws(t.errorMessage)),e)throw e;if(!t[Ta])throw new Zi("internal-error")}function qa(t,e){return e.returnIdpCredential=!0,ys(t,ls,e)}function Ka(t,e){return e.returnIdpCredential=!0,ys(t,ds,e)}function Ha(t,e){return e.returnIdpCredential=!0,e.autoCreate=!1,ys(t,fs,e)}function Wa(t){if(!t.oobCode)throw new Zi("invalid-action-code")}(e=Ea.prototype).tb=function(t,e){var n={idToken:t},i=[];return X(Va,function(t,r){var o=e[r];null===o?i.push(t):r in e&&(n[r]=o)}),i.length&&(n.deleteAttribute=i),ys(this,us,n)},e.lb=function(t,e){return Z(t={requestType:"PASSWORD_RESET",email:t},e),ys(this,is,t)},e.mb=function(t,e){return Z(t={requestType:"EMAIL_SIGNIN",email:t},e),ys(this,es,t)},e.kb=function(t,e){return Z(t={requestType:"VERIFY_EMAIL",idToken:t},e),ys(this,ns,t)},e.Va=function(t){return ys(this,bs,t)},e.$a=function(t,e){return ys(this,as,{oobCode:t,newPassword:e})},e.Ka=function(t){return ys(this,za,{oobCode:t})},e.Xa=function(t){return ys(this,Ga,{oobCode:t})};var Ga={endpoint:"setAccountInfo",C:Wa,da:"email"},za={endpoint:"resetPassword",C:Wa,J:function(t){var e=t.requestType;if(!e||!t.email&&"EMAIL_SIGNIN"!=e)throw new Zi("internal-error")}},Xa={endpoint:"signupNewUser",C:function(t){if(Da(t),!t.password)throw new Zi("weak-password")},J:xa,R:!0},Ja={endpoint:"createAuthUri"},Ya={endpoint:"deleteAccount",T:["idToken"]},$a={endpoint:"setAccountInfo",T:["idToken","deleteProvider"],C:function(t){if(!b(t.deleteProvider))throw new Zi("internal-error")}},Za={endpoint:"emailLinkSignin",T:["email","oobCode"],C:Da,J:xa,R:!0},Qa={endpoint:"emailLinkSignin",T:["idToken","email","oobCode"],C:Da,J:xa,R:!0},ts={endpoint:"getAccountInfo"},es={endpoint:"getOobConfirmationCode",T:["requestType"],C:function(t){if("EMAIL_SIGNIN"!=t.requestType)throw new Zi("internal-error");Da(t)},da:"email"},ns={endpoint:"getOobConfirmationCode",T:["idToken","requestType"],C:function(t){if("VERIFY_EMAIL"!=t.requestType)throw new Zi("internal-error")},da:"email"},is={endpoint:"getOobConfirmationCode",T:["requestType"],C:function(t){if("PASSWORD_RESET"!=t.requestType)throw new Zi("internal-error");Da(t)},da:"email"},rs={wb:!0,endpoint:"getProjectConfig",Ib:"GET"},os={wb:!0,endpoint:"getRecaptchaParam",Ib:"GET",J:function(t){if(!t.recaptchaSiteKey)throw new Zi("internal-error")}},as={endpoint:"resetPassword",C:Wa,da:"email"},ss={endpoint:"sendVerificationCode",T:["phoneNumber","recaptchaToken"],da:"sessionInfo"},us={endpoint:"setAccountInfo",T:["idToken"],C:La,R:!0},cs={endpoint:"setAccountInfo",T:["idToken"],C:function(t){if(La(t),!t.password)throw new Zi("weak-password")},J:xa,R:!0},hs={endpoint:"signupNewUser",J:xa,R:!0},ls={endpoint:"verifyAssertion",C:Fa,Qa:Ua,J:Ba,R:!0},fs={endpoint:"verifyAssertion",C:Fa,Qa:Ua,J:function(t){if(t.errorMessage&&"USER_NOT_FOUND"==t.errorMessage)throw new Zi("user-not-found");if(t.errorMessage)throw ws(t.errorMessage);if(!t[Ta])throw new Zi("internal-error")},R:!0},ds={endpoint:"verifyAssertion",C:function(t){if(Fa(t),!t.idToken)throw new Zi("internal-error")},Qa:Ua,J:Ba,R:!0},ps={endpoint:"verifyCustomToken",C:function(t){if(!t.token)throw new Zi("invalid-custom-token")},J:xa,R:!0},vs={endpoint:"verifyPassword",C:function(t){if(Da(t),!t.password)throw new Zi("wrong-password")},J:xa,R:!0},bs={endpoint:"verifyPhoneNumber",C:Ma,J:xa},ms={endpoint:"verifyPhoneNumber",C:function(t){if(!t.idToken)throw new Zi("internal-error");Ma(t)},J:function(t){if(t.temporaryProof)throw t.code="credential-already-in-use",So(t);xa(t)}},gs={Vb:{USER_NOT_FOUND:"user-not-found"},endpoint:"verifyPhoneNumber",C:Ma,J:xa};function ys(t,e,n){if(!function(t,e){if(!e||!e.length)return!0;if(!t)return!1;for(var n=0;n<e.length;n++){var i=t[e[n]];if(null==i||""===i)return!1}return!0}(n,e.T))return Qt(new Zi("internal-error"));var i,r=e.Ib||"POST";return Zt(n).then(e.C).then(function(){return e.R&&(n.returnSecureToken=!0),function(t,e,n,i,r,o){var a=kn(t.g+e);In(a,"key",t.b),o&&In(a,"cb",A().toString());var s="GET"==n;if(s)for(var u in i)i.hasOwnProperty(u)&&In(a,u,i[u]);return new Wt(function(e,o){Ca(t,a.toString(),function(t){t?t.error?o(Ss(t,r||{})):e(t):o(new Zi("network-request-failed"))},n,s?void 0:Xn(Ai(i)),t.a,t.h.get())})}(t,e.endpoint,r,n,e.Vb,e.wb||!1)}).then(function(t){return i=t,e.Qa?e.Qa(n,i):i}).then(e.J).then(function(){if(!e.da)return i;if(!(e.da in i))throw new Zi("internal-error");return i[e.da]})}function ws(t){return Ss({error:{errors:[{message:t}],code:400,message:t}})}function Ss(t,e){var n=(t.error&&t.error.errors&&t.error.errors[0]||{}).reason||"",i={keyInvalid:"invalid-api-key",ipRefererBlocked:"app-not-authorized"};if(n=i[n]?new Zi(i[n]):null)return n;
66for(var r in n=t.error&&t.error.message||"",Z(i={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",ADMIN_ONLY_OPERATION:"admin-restricted-operation"},e||{}),e=(e=n.match(/^[^\s]+\s*:\s*(.*)$/))&&1<e.length?e[1]:void 0,i)if(0===n.indexOf(r))return new Zi(i[r],e);return!e&&t&&(e=ki(t)),new Zi("internal-error",e)}function Es(t){this.b=t,this.a=null,this.gb=function(t){return(As||(As=new Wt(function(t,e){function n(){Pi(),yi("gapi.load")("gapi.iframes",{callback:t,ontimeout:function(){Pi(),e(Error("Network Error"))},timeout:Ts.get()})}if(yi("gapi.iframes.Iframe"))t();else if(yi("gapi.load"))n();else{var i="__iframefcb"+Math.floor(1e6*Math.random()).toString();u[i]=function(){yi("gapi.load")?n():e(Error("Network Error"))},Zt(va(i=at(Is,{onload:i}))).s(function(){e(Error("Network Error"))})}}).s(function(t){throw As=null,t}))).then(function(){return new Wt(function(e,n){yi("gapi.iframes.getContext")().open({where:document.body,url:t.b,messageHandlersFilter:yi("gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER"),attributes:{style:{position:"absolute",top:"-100px",width:"1px",height:"1px"}},dontclear:!0},function(i){function r(){clearTimeout(o),e()}t.a=i,t.a.restyle({setHideOnLeave:!1});var o=setTimeout(function(){n(Error("Network Error"))},ks.get());i.ping(r).then(r,function(){n(Error("Network Error"))})})})})}(this)}var Is=new Q(nt,"https://apis.google.com/js/api.js?onload=%{onload}"),Ts=new Ci(3e4,6e4),ks=new Ci(5e3,15e3),As=null;function Os(t,e,n){this.i=t,this.g=e,this.h=n,this.f=null,this.a=An(this.i,"/__/auth/iframe"),In(this.a,"apiKey",this.g),In(this.a,"appName",this.h),this.b=null,this.c=[]}function _s(t,e,n,i,r){this.o=t,this.l=e,this.c=n,this.m=i,this.h=this.g=this.i=null,this.a=r,this.f=null}function Ns(t){try{return i.a.app(t).auth().ya()}catch(t){return[]}}function Ps(t,e,n,i,r){this.l=t,this.f=e,this.b=n,this.c=i||null,this.h=r||null,this.o=this.u=this.v=null,this.g=[],this.m=this.a=null}function Cs(t){var e=ti();return function(t){return ys(t,rs,{}).then(function(t){return t.authorizedDomains||[]})}(t).then(function(t){t:{var n=kn(e),i=n.f;n=n.b;for(var r=0;r<t.length;r++){var o=t[r],a=n,s=i;if(0==o.indexOf("chrome-extension://")?a=kn(o).b==a&&"chrome-extension"==s:"http"!=s&&"https"!=s?a=!1:oi.test(o)?a=a==o:(o=o.split(".").join("\\."),a=new RegExp("^(.+\\."+o+"|"+o+")$","i").test(a)),a){t=!0;break t}}t=!1}if(!t)throw new yo(ti())})}function Rs(t){return t.m?t.m:(t.m=si().then(function(){if(!t.u){var e=t.c,n=t.h,i=Ns(t.b),r=new Os(t.l,t.f,t.b);r.f=e,r.b=n,r.c=z(i||[]),t.u=r.toString()}t.i=new Es(t.u),function(t){if(!t.i)throw Error("IfcHandler must be initialized!");!function(t,e){t.gb.then(function(){t.a.register("authEvent",e,yi("gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER"))})}(t.i,function(e){var n={};if(e&&e.authEvent){var i=!1;for(e=vo(e.authEvent),n=0;n<t.g.length;n++)i=t.g[n](e)||i;return(n={}).status=i?"ACK":"ERROR",Zt(n)}return n.status="ERROR",Zt(n)})}(t)}),t.m)}function js(t){return t.o||(t.v=t.c?mi(t.c,Ns(t.b)):null,t.o=new Ea(t.f,wr(t.h),t.v)),t.o}function Ds(t,e,n,i,r,o,a,s,u,c){return(t=new _s(t,e,n,i,r)).i=o,t.g=a,t.h=s,t.b=Y(u||null),t.f=c,t.toString()}function Ls(t){if(this.a=t||i.a.INTERNAL.reactNative&&i.a.INTERNAL.reactNative.AsyncStorage,!this.a)throw new Zi("internal-error","The React Native compatibility library was not found.");this.type="asyncStorage"}function xs(t){this.b=t,this.a={},this.c=T(this.f,this)}Os.prototype.toString=function(){return this.f?In(this.a,"v",this.f):Vn(this.a.a,"v"),this.b?In(this.a,"eid",this.b):Vn(this.a.a,"eid"),this.c.length?In(this.a,"fw",this.c.join(",")):Vn(this.a.a,"fw"),this.a.toString()},_s.prototype.toString=function(){var t=An(this.o,"/__/auth/handler");if(In(t,"apiKey",this.l),In(t,"appName",this.c),In(t,"authType",this.m),this.a.isOAuthProvider){var e=this.a;try{var n=i.a.app(this.c).auth().ea()}catch(t){n=null}for(var r in e.ab=n,In(t,"providerId",this.a.providerId),n=Ai((e=this.a).zb))n[r]=n[r].toString();r=e.Cc,n=Y(n);for(var o=0;o<r.length;o++){var a=r[o];a in n&&delete n[a]}e.eb&&e.ab&&!n[e.eb]&&(n[e.eb]=e.ab),J(n)||In(t,"customParameters",ki(n))}if("function"==typeof this.a.Fb&&(e=this.a.Fb()).length&&In(t,"scopes",e.join(",")),this.i?In(t,"redirectUrl",this.i):Vn(t.a,"redirectUrl"),this.g?In(t,"eventId",this.g):Vn(t.a,"eventId"),this.h?In(t,"v",this.h):Vn(t.a,"v"),this.b)for(var s in this.b)this.b.hasOwnProperty(s)&&!Tn(t,s)&&In(t,s,this.b[s]);return this.f?In(t,"eid",this.f):Vn(t.a,"eid"),(s=Ns(this.c)).length&&In(t,"fw",s.join(",")),t.toString()},(e=Ps.prototype).Ea=function(t,e,n){var i=new Zi("popup-closed-by-user"),r=new Zi("web-storage-unsupported"),o=this,a=!1;return this.ga().then(function(){(function(t){var e={type:"webStorageSupport"};return Rs(t).then(function(){return function(t,e){return t.gb.then(function(){return new Wt(function(n){t.a.send(e.type,e,n,yi("gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER"))})})}(t.i,e)}).then(function(t){if(t&&t.length&&void 0!==t[0].webStorageSupport)return t[0].webStorageSupport;throw Error()})})(o).then(function(n){n||(t&&ii(t),e(r),a=!0)})}).s(function(){}).then(function(){if(!a)return function(t){return new Wt(function(e){return function n(){fn(2e3).then(function(){if(t&&!t.closed)return n();e()})}()})}(t)}).then(function(){if(!a)return fn(n).then(function(){e(i)})})},e.Mb=function(){var t=gi();return!Ti(t)&&!Ni(t)},e.Hb=function(){return!1},e.Db=function(t,e,n,i,r,o,a){if(!t)return Qt(new Zi("popup-blocked"));if(a&&!Ti())return this.ga().s(function(e){ii(t),r(e)}),i(),Zt();this.a||(this.a=Cs(js(this)));var s=this;return this.a.then(function(){var e=s.ga().s(function(e){throw ii(t),r(e),e});return i(),e}).then(function(){fo(n),a||ei(Ds(s.l,s.f,s.b,e,n,null,o,s.c,void 0,s.h),t)}).s(function(t){throw"auth/network-request-failed"==t.code&&(s.a=null),t})},e.Ca=function(t,e,n){this.a||(this.a=Cs(js(this)));var i=this;return this.a.then(function(){fo(e),ei(Ds(i.l,i.f,i.b,t,e,ti(),n,i.c,void 0,i.h))}).s(function(t){throw"auth/network-request-failed"==t.code&&(i.a=null),t})},e.ga=function(){var t=this;return Rs(this).then(function(){return t.i.gb}).s(function(){throw t.a=null,new Zi("network-request-failed")})},e.Ob=function(){return!0},e.wa=function(t){this.g.push(t)},e.La=function(t){W(this.g,function(e){return e==t})},(e=Ls.prototype).get=function(t){return Zt(this.a.getItem(t)).then(function(t){return t&&Oi(t)})},e.set=function(t,e){return Zt(this.a.setItem(t,ki(e)))},e.P=function(t){return Zt(this.a.removeItem(t))},e.Y=function(){},e.ca=function(){};var Ms,Vs=[];function Fs(t){this.a=t}function Us(t){this.c=t,this.b=!1,this.a=[]}function Bs(t,e,n,i){var r,o,a,s,u=n||{},c=null;if(t.b)return Qt(Error("connection_unavailable"));var h=i?800:50,l="undefined"!=typeof MessageChannel?new MessageChannel:null;return new Wt(function(n,i){l?(r=Math.floor(Math.random()*Math.pow(10,20)).toString(),l.port1.start(),a=setTimeout(function(){i(Error("unsupported_event"))},h),c={messageChannel:l,onMessage:o=function(t){t.data.eventId===r&&("ack"===t.data.status?(clearTimeout(a),s=setTimeout(function(){i(Error("timeout"))},3e3)):"done"===t.data.status?(clearTimeout(s),void 0!==t.data.response?n(t.data.response):i(Error("unknown_error"))):(clearTimeout(a),clearTimeout(s),i(Error("invalid_response"))))}},t.a.push(c),l.port1.addEventListener("message",o),t.c.postMessage({eventType:e,eventId:r,data:u},[l.port2])):i(Error("connection_unavailable"))}).then(function(e){return qs(t,c),e}).s(function(e){throw qs(t,c),e})}function qs(t,e){if(e){var n=e.messageChannel,i=e.onMessage;n&&(n.port1.removeEventListener("message",i),n.port1.close()),W(t.a,function(t){return t==e})}}function Ks(){if(!Ws())throw new Zi("web-storage-unsupported");this.c={},this.a=[],this.b=0,this.l=u.indexedDB,this.type="indexedDB",this.g=this.m=this.f=this.i=null,this.u=!1,this.h=null;var t=this;hi()&&self?(this.m=function(){var t=hi()?self:null;if(U(Vs,function(n){n.b==t&&(e=n)}),!e){var e=new xs(t);Vs.push(e)}return e}(),this.m.subscribe("keyChanged",function(e,n){return Ys(t).then(function(e){return 0<e.length&&U(t.a,function(t){t(e)}),{keyProcessed:K(e,n.key)}})}),this.m.subscribe("ping",function(){return Zt(["keyChanged"])})):function(){var t=u.navigator;return t&&t.serviceWorker?Zt().then(function(){return t.serviceWorker.ready}).then(function(t){return t.active||null}).s(function(){return null}):Zt(null)}
66().then(function(e){(t.h=e)&&(t.g=new Us(new Fs(e)),Bs(t.g,"ping",null,!0).then(function(e){e[0].fulfilled&&K(e[0].value,"keyChanged")&&(t.u=!0)}).s(function(){}))})}function Hs(t){return t.o||(t.o=function t(e){return new Wt(function(n,i){var r=e.l.open("firebaseLocalStorageDb",1);r.onerror=function(t){try{t.preventDefault()}catch(t){}i(Error(t.target.error))},r.onupgradeneeded=function(t){t=t.target.result;try{t.createObjectStore("firebaseLocalStorage",{keyPath:"fbase_key"})}catch(t){i(t)}},r.onsuccess=function(r){(r=r.target.result).objectStoreNames.contains("firebaseLocalStorage")?n(r):function(t){return new Wt(function(e,n){var i=t.l.deleteDatabase("firebaseLocalStorageDb");i.onsuccess=function(){e()},i.onerror=function(t){n(Error(t.target.error))}})}(e).then(function(){return t(e)}).then(function(t){n(t)}).s(function(t){i(t)})}})}(t)),t.o}function Ws(){try{return!!u.indexedDB}catch(t){return!1}}function Gs(t){return t.objectStore("firebaseLocalStorage")}function zs(t,e){return t.transaction(["firebaseLocalStorage"],e?"readwrite":"readonly")}function Xs(t){return new Wt(function(e,n){t.onsuccess=function(t){t&&t.target?e(t.target.result):e()},t.onerror=function(t){n(t.target.error)}})}function Js(t,e){return t.g&&t.h&&function(){var t=u.navigator;return t&&t.serviceWorker&&t.serviceWorker.controller||null}()===t.h?Bs(t.g,"keyChanged",{key:e},t.u).then(function(){}).s(function(){}):Zt()}function Ys(t){return Hs(t).then(function(t){var e=Gs(zs(t,!1));return e.getAll?Xs(e.getAll()):new Wt(function(t,n){var i=[],r=e.openCursor();r.onsuccess=function(e){(e=e.target.result)?(i.push(e.value),e.continue()):t(i)},r.onerror=function(t){n(t.target.error)}})}).then(function(e){var n={},i=[];if(0==t.b){for(i=0;i<e.length;i++)n[e[i].fbase_key]=e[i].value;i=function t(e,n){var i,r=[];for(i in e)i in n?typeof e[i]!=typeof n[i]?r.push(i):"object"==typeof e[i]&&null!=e[i]&&null!=n[i]?0<t(e[i],n[i]).length&&r.push(i):e[i]!==n[i]&&r.push(i):r.push(i);for(i in n)i in e||r.push(i);return r}(t.c,n),t.c=n}return i})}function $s(t){t.i&&t.i.cancel("STOP_EVENT"),t.f&&(clearTimeout(t.f),t.f=null)}function Zs(t){var e=this,n=null;this.a=[],this.type="indexedDB",this.c=t,this.b=Zt().then(function(){if(Ws()){var t=_i(),i="__sak"+t;return Ms||(Ms=new Ks),(n=Ms).set(i,t).then(function(){return n.get(i)}).then(function(e){if(e!==t)throw Error("indexedDB not supported!");return n.P(i)}).then(function(){return n}).s(function(){return e.c})}return e.c}).then(function(t){return e.type=t.type,t.Y(function(t){U(e.a,function(e){e(t)})}),t})}function Qs(){this.a={},this.type="inMemory"}function tu(){if(!function(){var t="Node"==li();if(!(t=eu()||t&&i.a.INTERNAL.node&&i.a.INTERNAL.node.localStorage))return!1;try{return t.setItem("__sak","1"),t.removeItem("__sak"),!0}catch(t){return!1}}()){if("Node"==li())throw new Zi("internal-error","The LocalStorage compatibility library was not found.");throw new Zi("web-storage-unsupported")}this.a=eu()||i.a.INTERNAL.node.localStorage,this.type="localStorage"}function eu(){try{var t=u.localStorage,e=_i();return t&&(t.setItem(e,"1"),t.removeItem(e)),t}catch(t){return null}}function nu(){this.type="nullStorage"}function iu(){if(!function(){var t="Node"==li();if(!(t=ru()||t&&i.a.INTERNAL.node&&i.a.INTERNAL.node.sessionStorage))return!1;try{return t.setItem("__sak","1"),t.removeItem("__sak"),!0}catch(t){return!1}}()){if("Node"==li())throw new Zi("internal-error","The SessionStorage compatibility library was not found.");throw new Zi("web-storage-unsupported")}this.a=ru()||i.a.INTERNAL.node.sessionStorage,this.type="sessionStorage"}function ru(){try{var t=u.sessionStorage,e=_i();return t&&(t.setItem(e,"1"),t.removeItem(e)),t}catch(t){return null}}function ou(){var t={};t.Browser=uu,t.Node=cu,t.ReactNative=hu,t.Worker=lu,this.a=t[li()]}xs.prototype.f=function(t){var e=t.data.eventType,n=t.data.eventId,i=this.a[e];if(i&&0<i.length){t.ports[0].postMessage({status:"ack",eventId:n,eventType:e,response:null});var r=[];U(i,function(e){r.push(Zt().then(function(){return e(t.origin,t.data.data)}))}),ee(r).then(function(i){var r=[];U(i,function(t){r.push({fulfilled:t.Eb,value:t.value,reason:t.reason?t.reason.message:void 0})}),U(r,function(t){for(var e in t)void 0===t[e]&&delete t[e]}),t.ports[0].postMessage({status:"done",eventId:n,eventType:e,response:r})})}},xs.prototype.subscribe=function(t,e){J(this.a)&&this.b.addEventListener("message",this.c),void 0===this.a[t]&&(this.a[t]=[]),this.a[t].push(e)},xs.prototype.unsubscribe=function(t,e){void 0!==this.a[t]&&e?(W(this.a[t],function(t){return t==e}),0==this.a[t].length&&delete this.a[t]):e||delete this.a[t],J(this.a)&&this.b.removeEventListener("message",this.c)},Fs.prototype.postMessage=function(t,e){this.a.postMessage(t,e)},Us.prototype.close=function(){for(;0<this.a.length;)qs(this,this.a[0]);this.b=!0},(e=Ks.prototype).set=function(t,e){var n,i=!1,r=this;
66return Hs(this).then(function(e){return Xs((e=Gs(zs(n=e,!0))).get(t))}).then(function(o){var a=Gs(zs(n,!0));return o?(o.value=e,Xs(a.put(o))):(r.b++,i=!0,(o={}).fbase_key=t,o.value=e,Xs(a.add(o)))}).then(function(){return r.c[t]=e,Js(r,t)}).ia(function(){i&&r.b--})},e.get=function(t){return Hs(this).then(function(e){return Xs(Gs(zs(e,!1)).get(t))}).then(function(t){return t&&t.value})},e.P=function(t){var e=!1,n=this;return Hs(this).then(function(i){return e=!0,n.b++,Xs(Gs(zs(i,!0)).delete(t))}).then(function(){return delete n.c[t],Js(n,t)}).ia(function(){e&&n.b--})},e.Y=function(t){0==this.a.length&&function(t){$s(t),function e(){t.f=setTimeout(function(){t.i=Ys(t).then(function(e){0<e.length&&U(t.a,function(t){t(e)})}).then(function(){e()}).s(function(t){"STOP_EVENT"!=t.message&&e()})},800)}()}(this),this.a.push(t)},e.ca=function(t){W(this.a,function(e){return e==t}),0==this.a.length&&$s(this)},(e=Zs.prototype).get=function(t){return this.b.then(function(e){return e.get(t)})},e.set=function(t,e){return this.b.then(function(n){return n.set(t,e)})},e.P=function(t){return this.b.then(function(e){return e.P(t)})},e.Y=function(t){this.a.push(t)},e.ca=function(t){W(this.a,function(e){return e==t})},(e=Qs.prototype).get=function(t){return Zt(this.a[t])},e.set=function(t,e){return this.a[t]=e,Zt()},e.P=function(t){return delete this.a[t],Zt()},e.Y=function(){},e.ca=function(){},(e=tu.prototype).get=function(t){var e=this;return Zt().then(function(){return Oi(e.a.getItem(t))})},e.set=function(t,e){var n=this;return Zt().then(function(){var i=ki(e);null===i?n.P(t):n.a.setItem(t,i)})},e.P=function(t){var e=this;return Zt().then(function(){e.a.removeItem(t)})},e.Y=function(t){u.window&&Xe(u.window,"storage",t)},e.ca=function(t){u.window&&$e(u.window,"storage",t)},(e=nu.prototype).get=function(){return Zt(null)},e.set=function(){return Zt()},e.P=function(){return Zt()},e.Y=function(){},e.ca=function(){},(e=iu.prototype).get=function(t){var e=this;return Zt().then(function(){return Oi(e.a.getItem(t))})},e.set=function(t,e){var n=this;return Zt().then(function(){var i=ki(e);null===i?n.P(t):n.a.setItem(t,i)})},e.P=function(t){var e=this;return Zt().then(function(){e.a.removeItem(t)})},e.Y=function(){},e.ca=function(){};var au,su,uu={B:tu,Sa:iu},cu={B:tu,Sa:iu},hu={B:Ls,Sa:nu},lu={B:tu,Sa:nu},fu={Xc:"local",NONE:"none",Zc:"session"};function du(){var t=!(Ni(gi())||!ci()),e=Ti(),n=wi();this.o=t,this.h=e,this.m=n,this.a={},au||(au=new ou),t=au;try{this.g=!Qn()&&Di()||!u.indexedDB?new t.a.B:new Zs(hi()?new Qs:new t.a.B)}catch(t){this.g=new Qs,this.h=!0}try{this.i=new t.a.Sa}catch(t){this.i=new Qs}this.l=new Qs,this.f=T(this.Nb,this),this.b={}}function pu(){return su||(su=new du),su}function vu(t,e){switch(e){case"session":return t.i;case"none":return t.l;default:return t.g}}function bu(t,e){return"firebase:"+t.name+(e?":"+e:"")}function mu(t,e,n){return n=bu(e,n),"local"==e.B&&(t.b[n]=null),vu(t,e.B).P(n)}function gu(t){t.c&&(clearInterval(t.c),t.c=null)}function yu(t){this.a=t,this.b=pu()}(e=du.prototype).get=function(t,e){return vu(this,t.B).get(bu(t,e))},e.set=function(t,e,n){var i=bu(t,n),r=this,o=vu(this,t.B);return o.set(i,e).then(function(){return o.get(i)}).then(function(e){"local"==t.B&&(r.b[i]=e)})},e.addListener=function(t,e,n){t=bu(t,e),this.m&&(this.b[t]=u.localStorage.getItem(t)),J(this.a)&&(vu(this,"local").Y(this.f),this.h||(Qn()||!Di())&&u.indexedDB||!this.m||function(t){gu(t),t.c=setInterval(function(){for(var e in t.a){var n=u.localStorage.getItem(e),i=t.b[e];n!=i&&(t.b[e]=n,n=new Me({type:"storage",key:e,target:window,oldValue:i,newValue:n,a:!0}),t.Nb(n))}},1e3)}(this)),this.a[t]||(this.a[t]=[]),this.a[t].push(n)},e.removeListener=function(t,e,n){t=bu(t,e),this.a[t]&&(W(this.a[t],function(t){return t==n}),0==this.a[t].length&&delete this.a[t]),J(this.a)&&(vu(this,"local").ca(this.f),gu(this))},e.Nb=function(t){if(t&&t.f){var e=t.a.key;if(null==e)for(var n in this.a){var i=this.b[n];void 0===i&&(i=null);var r=u.localStorage.getItem(n);r!==i&&(this.b[n]=r,this.Ya(n))}else if(0==e.indexOf("firebase:")&&this.a[e]){if(void 0!==t.a.a?vu(this,"local").ca(this.f):gu(this),this.o)if(n=u.localStorage.getItem(e),(i=t.a.newValue)!==n)null!==i?u.localStorage.setItem(e,i):u.localStorage.removeItem(e);else if(this.b[e]===i&&void 0===t.a.a)return;var o=this;n=function(){void 0===t.a.a&&o.b[e]===u.localStorage.getItem(e)||(o.b[e]=u.localStorage.getItem(e),o.Ya(e))},we&&Ne&&10==Ne&&u.localStorage.getItem(e)!==t.a.newValue&&t.a.newValue!==t.a.oldValue?setTimeout(n,10):n()}}else U(t,T(this.Ya,this))},e.Ya=function(t){this.a[t]&&U(this.a[t],function(t){t()})};var wu,Su={name:"authEvent",B:"local"};function Eu(){this.a=pu()}function Iu(t,e){this.b=Tu,this.f=u.Uint8Array?new Uint8Array(this.b):Array(this.b),this.g=this.c=0,this.a=[],this.i=t,this.h=e,this.m=u.Int32Array?new Int32Array(64):Array(64),void 0!==wu||(wu=u.Int32Array?new Int32Array(Cu):Cu),this.reset()}O(Iu,function(){this.b=-1});for(var Tu=64,ku=Tu-1,Au=[],Ou=0;Ou<ku;Ou++)Au[Ou]=0;var _u=G(128,Au);function Nu(t){for(var e=t.f,n=t.m,i=0,r=0;r<e.length;)n[i++]=e[r]<<24|e[r+1]<<16|e[r+2]<<8|e[r+3],r=4*i;for(e=16;64>e;e++){r=0|n[e-15],i=0|n[e-2];var o=(0|n[e-16])+((r>>>7|r<<25)^(r>>>18|r<<14)^r>>>3)|0,a=(0|n[e-7])+((i>>>17|i<<15)^(i>>>19|i<<13)^i>>>10)|0;n[e]=o+a|0}i=0|t.a[0],r=0|t.a[1];var s=0|t.a[2],u=0|t.a[3],c=0|t.a[4],h=0|t.a[5],l=0|t.a[6];for(o=0|t.a[7],e=0;64>e;e++){var f=((i>>>2|i<<30)^(i>>>13|i<<19)^(i>>>22|i<<10))+(i&r^i&s^r&s)|0;a=(o=o+((c>>>6|c<<26)^(c>>>11|c<<21)^(c>>>25|c<<7))|0)+((a=(a=c&h^~c&l)+(0|wu[e])|0)+(0|n[e])|0)|0,o=l,l=h,h=c,c=u+a|0,u=s,s=r,r=i,i=a+f|0}t.a[0]=t.a[0]+i|0,t.a[1]=t.a[1]+r|0,t.a[2]=t.a[2]+s|0,t.a[3]=t.a[3]+u|0,t.a[4]=t.a[4]+c|0,t.a[5]=t.a[5]+h|0,t.a[6]=t.a[6]+l|0,t.a[7]=t.a[7]+o|0}function Pu(t,e,n){void 0===n&&(n=e.length);var i=0,r=t.c;if(c(e))for(;i<n;)t.f[r++]=e.charCodeAt(i++),r==t.b&&(Nu(t),r=0);else{if(!m(e))throw Error("message must be string or array");for(;i<n;){var o=e[i++];if(!("number"==typeof o&&0<=o&&255>=o&&o==(0|o)))throw Error("message must be a byte array");t.f[r++]=o,r==t.b&&(Nu(t),r=0)}}t.c=r,t.g+=n}Iu.prototype.reset=function(){this.g=this.c=0,this.a=u.Int32Array?new Int32Array(this.h):z(this.h)};var Cu=[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,2756
66734187,3204031479,3329325298];function Ru(){Iu.call(this,8,ju)}O(Ru,Iu);var ju=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225];function Du(t,e,n,i,r){this.l=t,this.i=e,this.m=n,this.o=i||null,this.u=r||null,this.h=e+":"+n,this.v=new Eu,this.g=new yu(this.h),this.f=null,this.b=[],this.a=this.c=null}function Lu(t){return new Zi("invalid-cordova-configuration",t)}function xu(t,e){for(var n=0;n<t.b.length;n++)try{t.b[n](e)}catch(t){}}function Mu(t){return t.f||(t.f=t.ga().then(function(){return new Wt(function(e){t.wa(function n(i){return e(i),t.La(n),!1}),function(t){function e(e){i=!0,r&&r.cancel(),Vu(t).then(function(i){var r=n;if(i&&e&&e.url){var o=null;-1!=(r=Lr(e.url)).indexOf("/__/auth/callback")&&(o=(o="object"==typeof(o=Oi(Tn(o=kn(r),"firebaseError")||null))?Qi(o):null)?new po(i.c,i.b,null,null,o):new po(i.c,i.b,r,i.f)),r=o||n}xu(t,r)})}var n=new po("unknown",null,null,null,new Zi("no-auth-event")),i=!1,r=fn(500).then(function(){return Vu(t).then(function(){i||xu(t,n)})}),o=u.handleOpenURL;u.handleOpenURL=function(t){if(0==t.toLowerCase().indexOf(yi("BuildInfo.packageName",u).toLowerCase()+"://")&&e({url:t}),"function"==typeof o)try{o(t)}catch(t){}},go||(go=new bo),go.subscribe(e)}(t)})})),t.f}function Vu(t){var e=null;return function(t){return t.b.get(Su,t.a).then(function(t){return vo(t)})}(t.g).then(function(n){return e=n,mu((n=t.g).b,Su,n.a)}).then(function(){return e})}function Fu(t){this.a=t,this.b=pu()}(e=Du.prototype).ga=function(){return this.za?this.za:this.za=(ui(void 0)?si().then(function(){return new Wt(function(t,e){var n=u.document,i=setTimeout(function(){e(Error("Cordova framework is not ready."))},1e3);n.addEventListener("deviceready",function(){clearTimeout(i),t()},!1)})}):Qt(Error("Cordova must run in an Android or iOS file scheme."))).then(function(){if("function"!=typeof yi("universalLinks.subscribe",u))throw Lu("cordova-universal-links-plugin-fix is not installed");if(void 0===yi("BuildInfo.packageName",u))throw Lu("cordova-plugin-buildinfo is not installed");if("function"!=typeof yi("cordova.plugins.browsertab.openUrl",u))throw Lu("cordova-plugin-browsertab is not installed");if("function"!=typeof yi("cordova.InAppBrowser.open",u))throw Lu("cordova-plugin-inappbrowser is not installed")},function(){throw new Zi("cordova-not-ready")})},e.Ea=function(t,e){return e(new Zi("operation-not-supported-in-this-environment")),Zt()},e.Db=function(){return Qt(new Zi("operation-not-supported-in-this-environment"))},e.Ob=function(){return!1},e.Mb=function(){return!0},e.Hb=function(){return!0},e.Ca=function(t,e,n){if(this.c)return Qt(new Zi("redirect-operation-pending"));var i=this,r=u.document,o=null,a=null,s=null,c=null;return this.c=Zt().then(function(){return fo(e),Mu(i)}).then(function(){return function(t,e,n,i){var r=function(){for(var t=20,e=[];0<t;)e.push("1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".charAt(Math.floor(62*Math.random()))),t--;return e.join("")}(),o=new po(e,i,null,r,new Zi("no-auth-event")),a=yi("BuildInfo.packageName",u);if("string"!=typeof a)throw new Zi("invalid-cordova-configuration");var s=yi("BuildInfo.displayName",u),c={};if(gi().toLowerCase().match(/iphone|ipad|ipod/))c.ibi=a;else{if(!gi().toLowerCase().match(/android/))return Qt(new Zi("operation-not-supported-in-this-environment"));c.apn=a}s&&(c.appDisplayName=s),r=function(t){var e=new Ru;Pu(e,t),t=[];var n=8*e.g;56>e.c?Pu(e,_u,56-e.c):Pu(e,_u,e.b-(e.c-56));for(var i=63;56<=i;i--)e.f[i]=255&n,n/=256;for(Nu(e),i=n=0;i<e.i;i++)for(var r=24;0<=r;r-=8)t[n++]=e.a[i]>>r&255;return function(t){return B(t,function(t){return 1<(t=t.toString(16)).length?t:"0"+t}).join("")}(t)}(r),c.sessionId=r;var h=Ds(t.l,t.i,t.m,e,n,null,i,t.o,c,t.u);return t.ga().then(function(){var e=t.h;return t.v.a.set(Su,o.w(),e)}).then(function(){var e=yi("cordova.plugins.browsertab.isAvailable",u);if("function"!=typeof e)throw new Zi("invalid-cordova-configuration");var n=null;e(function(e){if(e){if("function"!=typeof(n=yi("cordova.plugins.browsertab.openUrl",u)))throw new Zi("invalid-cordova-configuration");n(h)}else{if("function"!=typeof(n=yi("cordova.InAppBrowser.open",u)))throw new Zi("invalid-cordova-configuration");e=gi(),t.a=n(h,e.match(/(iPad|iPhone|iPod).*OS 7_\d/i)||e.match(/(iPad|iPhone|iPod).*OS 8_\d/i)?"_blank":"_system","location=yes")}})})}(i,t,e,n)}).then(function(){return new Wt(function(t,e){a=function(){var e=yi("cordova.plugins.browsertab.close",u);return t(),"function"==typeof e&&e(),i.a&&"function"==typeof i.a.close&&(i.a.close(),i.a=null),!1},i.wa(a),s=function(){o||(o=fn(2e3).then(function(){e(new Zi("redirect-cancelled-by-user"))}))},c=function(){Ri()&&s()},r.addEventListener("resume",s,!1),gi().toLowerCase().match(/android/)||r.addEventListener("visibilitychange",c,!1)}).s(function(t){return Vu(i).then(function(){throw t})})}).ia(function(){s&&r.removeEventListener("resume",s,!1),c&&r.removeEventListener("visibilitychange",c,!1),o&&o.cancel(),a&&i.La(a),i.c=null})}
66,e.wa=function(t){this.b.push(t),Mu(this).s(function(e){"auth/invalid-cordova-configuration"===e.code&&(e=new po("unknown",null,null,null,new Zi("no-auth-event")),t(e))})},e.La=function(t){W(this.b,function(e){return e==t})};var Uu={name:"pendingRedirect",B:"session"};function Bu(t){return mu(t.b,Uu,t.a)}function qu(t,e,n){this.i={},this.u=0,this.A=t,this.l=e,this.o=n,this.h=[],this.f=!1,this.m=T(this.cb,this),this.b=new Zu,this.v=new nc,this.g=new Fu(this.l+":"+this.o),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.v,this.c.linkViaPopup=this.v,this.c.reauthViaPopup=this.v,this.a=Ku(this.A,this.l,this.o,gr)}function Ku(t,e,n,r){var o=i.a.SDK_VERSION||null;return ui()?new Du(t,e,n,o,r):new Ps(t,e,n,o,r)}function Hu(t){t.f||(t.f=!0,t.a.wa(t.m));var e=t.a;return t.a.ga().s(function(n){throw t.a==e&&t.reset(),n})}function Wu(t){t.a.Mb()&&Hu(t).s(function(e){var n=new po("unknown",null,null,null,new Zi("operation-not-supported-in-this-environment"));Ju(e)&&t.cb(n)}),t.a.Hb()||Qu(t.b)}(e=qu.prototype).reset=function(){this.f=!1,this.a.La(this.m),this.a=Ku(this.A,this.l,this.o),this.i={}},e.Za=function(){this.b.Za()},e.subscribe=function(t){if(K(this.h,t)||this.h.push(t),!this.f){var e=this;(function(t){return t.b.get(Uu,t.a).then(function(t){return"pending"==t})})(this.g).then(function(t){t?Bu(e.g).then(function(){Hu(e).s(function(t){var n=new po("unknown",null,null,null,new Zi("operation-not-supported-in-this-environment"));Ju(t)&&e.cb(n)})}):Wu(e)}).s(function(){Wu(e)})}},e.unsubscribe=function(t){W(this.h,function(e){return e==t})},e.cb=function(t){if(!t)throw new Zi("invalid-auth-event");if(6e5<=A()-this.u&&(this.i={},this.u=0),t&&t.getUid()&&this.i.hasOwnProperty(t.getUid()))return!1;for(var e=!1,n=0;n<this.h.length;n++){var i=this.h[n];if(i.xb(t.c,t.b)){(e=this.c[t.c])&&(e.h(t,i),t&&(t.f||t.b)&&(this.i[t.getUid()]=!0,this.u=A())),e=!0;break}}return Qu(this.b),e};var Gu=new Ci(2e3,1e4),zu=new Ci(3e4,6e4);function Xu(t,e,n,i,r,o){return t.a.Db(e,n,i,function(){t.f||(t.f=!0,t.a.wa(t.m))},function(){t.reset()},r,o)}function Ju(t){return!(!t||"auth/cordova-not-ready"!=t.code)}qu.prototype.fa=function(){return this.b.fa()},qu.prototype.Ca=function(t,e,n){var i,r=this;return function(t){return t.b.set(Uu,"pending",t.a)}(this.g).then(function(){return r.a.Ca(t,e,n).s(function(t){if(Ju(t))throw new Zi("operation-not-supported-in-this-environment");return i=t,Bu(r.g).then(function(){throw i})}).then(function(){return r.a.Ob()?new Wt(function(){}):Bu(r.g).then(function(){return r.fa()}).then(function(){}).s(function(){})})})},qu.prototype.Ea=function(t,e,n,i){return this.a.Ea(n,function(n){t.ha(e,null,n,i)},Gu.get())};var Yu={};function $u(t,e,n){var i=e+":"+n;return Yu[i]||(Yu[i]=new qu(t,e,n)),Yu[i]}function Zu(){this.b=null,this.f=[],this.c=[],this.a=null,this.i=this.g=!1}function Qu(t){t.g||(t.g=!0,ec(t,!1,null,null))}function tc(t,e){if(t.b=function(){return Zt(e)},t.f.length)for(var n=0;n<t.f.length;n++)t.f[n](e)}function ec(t,e,n,i){e?i?function(t,e){if(t.b=function(){return Qt(e)},t.c.length)for(var n=0;n<t.c.length;n++)t.c[n](e)}(t,i):tc(t,n):tc(t,{user:null}),t.f=[],t.c=[]}function nc(){}function ic(){this.ub=!1,Object.defineProperty(this,"appVerificationDisabled",{get:function(){return this.ub},set:function(t){this.ub=t},enumerable:!1})}function rc(t,e){this.a=e,Fi(this,"verificationId",t)}function oc(t,e,n,i){return new co(t).Va(e,n).then(function(t){return new rc(t,i)})}function ac(t){var e=mr(t);if(!(e&&e.exp&&e.auth_time&&e.iat))throw new Zi("internal-error","An internal error occurred. The token obtained by Firebase appears to be malformed. Please retry the operation.");Ui(this,{token:t,expirationTime:ji(1e3*e.exp),authTime:ji(1e3*e.auth_time),issuedAtTime:ji(1e3*e.iat),signInProvider:e.firebase&&e.firebase.sign_in_provider?e.firebase.sign_in_provider:null,claims:e})}function sc(t,e,n){if(this.h=t,this.i=e,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 uc(t){this.f=t,this.b=this.a=null,this.c=0}function cc(t,e){var n=e[Ta],i=e.refreshToken;
66e=hc(e.expiresIn),t.b=n,t.c=e,t.a=i}function hc(t){return A()+1e3*parseInt(t,10)}function lc(t,e){this.a=t||null,this.b=e||null,Ui(this,{lastSignInTime:ji(e||null),creationTime:ji(t||null)})}function fc(t,e,n,i,r,o){Ui(this,{uid:t,displayName:i||null,photoURL:r||null,email:n||null,phoneNumber:o||null,providerId:e})}function dc(t,e){for(var n in xe.call(this,t),e)this[n]=e[n]}function pc(t,e,n){this.G=[],this.l=t.apiKey,this.o=t.appName,this.u=t.authDomain||null,t=i.a.SDK_VERSION?mi(i.a.SDK_VERSION):null,this.c=new Ea(this.l,wr(gr),t),this.h=new uc(this.c),Sc(this,e[Ta]),cc(this.h,e),Fi(this,"refreshToken",this.h.a),Tc(this,n||{}),sn.call(this),this.I=!1,this.u&&Si()&&(this.a=$u(this.u,this.l,this.o)),this.N=[],this.i=null,this.A=function(t){return new sc(function(){return t.F(!0)},function(t){return!(!t||"auth/network-request-failed"!=t.code)},function(){var e=t.h.c-A()-3e5;return 0<e?e:0})}(this),this.V=T(this.Ha,this);var r=this;this.ka=null,this.ta=function(t){r.pa(t.g)},this.X=null,this.O=[],this.sa=function(t){bc(r,t.c)},this.W=null}function vc(t,e){t.X&&$e(t.X,"languageCodeChanged",t.ta),(t.X=e)&&Xe(e,"languageCodeChanged",t.ta)}function bc(t,e){t.O=e,Pa(t.c,i.a.SDK_VERSION?mi(i.a.SDK_VERSION,t.O):null)}function mc(t,e){t.W&&$e(t.W,"frameworkChanged",t.sa),(t.W=e)&&Xe(e,"frameworkChanged",t.sa)}function gc(t){try{return i.a.app(t.o).auth()}catch(e){throw new Zi("internal-error","No firebase.auth.Auth instance is available for the Firebase App '"+t.o+"'!")}}function yc(t){t.D||t.A.b||(t.A.start(),$e(t,"tokenChanged",t.V),Xe(t,"tokenChanged",t.V))}function wc(t){$e(t,"tokenChanged",t.V),t.A.stop()}function Sc(t,e){t.ra=e,Fi(t,"_lat",e)}function Ec(t){for(var e=[],n=0;n<t.N.length;n++)e.push(t.N[n](t));return ee(e).then(function(){return t})}function Ic(t){t.a&&!t.I&&(t.I=!0,t.a.subscribe(t))}function Tc(t,e){Ui(t,{uid:e.uid,displayName:e.displayName||null,photoURL:e.photoURL||null,email:e.email||null,emailVerified:e.emailVerified||!1,phoneNumber:e.phoneNumber||null,isAnonymous:e.isAnonymous||!1,metadata:new lc(e.createdAt,e.lastLoginAt),providerData:[]})}function kc(){}function Ac(t){return Zt().then(function(){if(t.D)throw new Zi("app-deleted")})}function Oc(t){return B(t.providerData,function(t){return t.providerId})}function _c(t,e){e&&(Nc(t,e.providerId),t.providerData.push(e))}function Nc(t,e){W(t.providerData,function(t){return t.providerId==e})}function Pc(t,e,n){("uid"!=e||n)&&t.hasOwnProperty(e)&&Fi(t,e,n)}function Cc(t,e){t!=e&&(Ui(t,{uid:e.uid,displayName:e.displayName,photoURL:e.photoURL,email:e.email,emailVerified:e.emailVerified,phoneNumber:e.phoneNumber,isAnonymous:e.isAnonymous,providerData:[]}),e.metadata?Fi(t,"metadata",function(t){return new lc(t.a,t.b)}(e.metadata)):Fi(t,"metadata",new lc),U(e.providerData,function(e){_c(t,e)}),function(t,e){t.b=e.b,t.a=e.a,t.c=e.c}(t.h,e.h),Fi(t,"refreshToken",t.h.a))}function Rc(t){return t.F().then(function(e){var n=t.isAnonymous;return function(t,e){return ys(t.c,ts,{idToken:e}).then(T(t.wc,t))}(t,e).then(function(){return n||Pc(t,"isAnonymous",!1),e})})}function jc(t,e){e[Ta]&&t.ra!=e[Ta]&&(cc(t.h,e),t.dispatchEvent(new dc("tokenChanged")),Sc(t,e[Ta]),Pc(t,"refreshToken",t.h.a))}function Dc(t,e){return Rc(t).then(function(){if(K(Oc(t),e))return Ec(t).then(function(){throw new Zi("provider-already-linked")})})}function Lc(t,e,n){return Bi({user:t,credential:lo(e),additionalUserInfo:e=kr(e),operationType:n})}function xc(t,e){return jc(t,e),t.reload().then(function(){return t})}function Mc(t,e,n,r,o){if(!Si())return Qt(new Zi("operation-not-supported-in-this-environment"));if(t.i&&!o)return Qt(t.i);var a=Tr(n.providerId),s=_i(t.uid+":::"),u=null;(!Ti()||ci())&&t.u&&n.isOAuthProvider&&(u=Ds(t.u,t.l,t.o,e,n,null,s,i.a.SDK_VERSION||null));var c=ri(u,a&&a.Ba,a&&a.Aa);return r=r().then(function(){if(Fc(t),!o)return t.F().then(function(){})}).then(function(){return Xu(t.a,c,e,n,s,!!u)}).then(function(){return new Wt(function(n,i){t.ha(e,null,new Zi("cancelled-popup-request"),t.g||null),t.f=n,t.v=i,t.g=s,t.b=t.a.Ea(t,e,c,s)})}).then(function(t){return c&&ii(c),t?Bi(t):null}).s(function(t){throw c&&ii(c),t}),Uc(t,r,o)}function Vc(t,e,n,i,r){if(!Si())return Qt(new Zi("operation-not-supported-in-this-environment"));if(t.i&&!r)return Qt(t.i);var o=null,a=_i(t.uid+":::");return i=i().then(function(){if(Fc(t),!r)return t.F().then(function(){})}).then(function(){return t.aa=a,Ec(t)}).then(function(e){return t.ba&&(e=(e=t.ba).b.set(Kc,t.w(),e.a)),e}).then(function(){return t.a.Ca(e,n,a)}).s(function(e){if(o=e,t.ba)return Hc(t.ba);throw o}).then(function(){if(o)throw o}),Uc(t,i,r)}function Fc(t){if(!t.a||!t.I){if(t.a&&!t.I)throw new Zi("internal-error");throw new Zi("auth-domain-config-required")}}function Uc(t,e,n){var i=function(t,e,n){return t.i&&!n?(e.cancel(),Qt(t.i)):e.s(function(e){throw!e||"auth/user-disabled"!=e.code&&"auth/user-token-expired"!=e.code||(t.i||t.dispatchEvent(new dc("userInvalidated")),t.i=e),e})}(t,e,n);return t.G.push(i),i.ia(function(){H(t.G,i)}),i}function Bc(t){if(!t.apiKey)return null;var e={apiKey:t.apiKey,authDomain:t.authDomain,appName:t.appName},n={};if(!(t.stsTokenManager&&t.stsTokenManager.accessToken&&t.stsTokenManager.expirationTime))return null;n[Ta]=t.stsTokenManager.accessToken,n.refreshToken=t.stsTokenManager.refreshToken||null,n.expiresIn=(t.stsTokenManager.expirationTime-A())/1e3;var i=new pc(e,n,t);return t.providerData&&U(t.providerData,function(t){t&&_c(i,Bi(t))}),t.redirectEventId&&(i.aa=t.redirectEventId),i}function qc(t){this.a=t,this.b=pu()}Zu.prototype.reset=function(){this.b=null,this.a&&(this.a.cancel(),this.a=null)},Zu.prototype.h=function(t,e){if(t){this.reset(),this.g=!0;var n=t.c,i=t.b,r=t.a&&"auth/web-storage-unsupported"==t.a.code,o=t.a&&"auth/operation-not-supported-in-this-environment"==t.a.code;this.i=!(!r&&!o),"unknown"!=n||r||o?t.a?(ec(this,!0,null,t.a),Zt()):e.xa(n,i)?function(t,e,n){n=n.xa(e.c,e.b);var i=e.g,r=e.f,o=e.h,a=!!e.c.match(/Redirect$/);n(i,r,o).then(function(e){ec(t,a,e,null)}).s(function(e){ec(t,a,null,e)})}(this,t,e):Qt(new Zi("invalid-auth-event")):(ec(this,!1,null,null),Zt(
66))}else Qt(new Zi("invalid-auth-event"))},Zu.prototype.Za=function(){this.g&&!this.i&&ec(this,!1,null,null)},Zu.prototype.fa=function(){var t=this;return new Wt(function(e,n){t.b?t.b().then(e,n):(t.f.push(e),t.c.push(n),function(t){var e=new Zi("timeout");t.a&&t.a.cancel(),t.a=fn(zu.get()).then(function(){t.b||(t.g=!0,ec(t,!0,null,e))})}(t))})},nc.prototype.h=function(t,e){if(t){var n=t.c,i=t.b;t.a?(e.ha(t.c,null,t.a,t.b),Zt()):e.xa(n,i)?function(t,e){var n=t.b,i=t.c;e.xa(i,n)(t.g,t.f,t.h).then(function(t){e.ha(i,t,null,n)}).s(function(t){e.ha(i,null,t,n)})}(t,e):Qt(new Zi("invalid-auth-event"))}else Qt(new Zi("invalid-auth-event"))},rc.prototype.confirm=function(t){return t=ho(this.verificationId,t),this.a(t)},sc.prototype.start=function(){this.a=this.c,function t(e,n){e.stop(),e.b=fn(function(t,e){return e?(t.a=t.c,t.g()):(e=t.a,t.a*=2,t.a>t.f&&(t.a=t.f),e)}(e,n)).then(function(){return function(){var t=u.document,e=null;return Ri()||!t?Zt():new Wt(function(n){e=function(){Ri()&&(t.removeEventListener("visibilitychange",e,!1),n())},t.addEventListener("visibilitychange",e,!1)}).s(function(n){throw t.removeEventListener("visibilitychange",e,!1),n})}()}).then(function(){return e.h()}).then(function(){t(e,!0)}).s(function(n){e.i(n)&&t(e,!1)})}(this,!0)},sc.prototype.stop=function(){this.b&&(this.b.cancel(),this.b=null)},uc.prototype.w=function(){return{apiKey:this.f.b,refreshToken:this.a,accessToken:this.b,expirationTime:this.c}},uc.prototype.getToken=function(t){return t=!!t,this.b&&!this.a?Qt(new Zi("user-token-expired")):t||!this.b||A()>this.c-3e4?this.a?function(t,e){return function(t,e){return new Wt(function(n,i){"refresh_token"==e.grant_type&&e.refresh_token||"authorization_code"==e.grant_type&&e.code?Ca(t,t.i+"?key="+encodeURIComponent(t.b),function(t){t?t.error?i(Ss(t)):t.access_token&&t.refresh_token?n(t):i(new Zi("internal-error")):i(new Zi("network-request-failed"))},"POST",Mn(e).toString(),t.f,t.m.get()):i(new Zi("internal-error"))})}(t.f,e).then(function(e){return t.b=e.access_token,t.c=hc(e.expires_in),t.a=e.refresh_token,{accessToken:t.b,expirationTime:t.c,refreshToken:t.a}}).s(function(e){throw"auth/user-token-expired"==e.code&&(t.a=null),e})}(this,{grant_type:"refresh_token",refresh_token:this.a}):Zt(null):Zt({accessToken:this.b,expirationTime:this.c,refreshToken:this.a})},lc.prototype.w=function(){return{lastLoginAt:this.b,createdAt:this.a}},O(dc,xe),O(pc,sn),pc.prototype.pa=function(t){this.ka=t,Na(this.c,t)},pc.prototype.ea=function(){return this.ka},pc.prototype.ya=function(){return z(this.O)},pc.prototype.Ha=function(){this.A.b&&(this.A.stop(),this.A.start())},Fi(pc.prototype,"providerId","firebase"),(e=pc.prototype).reload=function(){var t=this;return Uc(this,Ac(this).then(function(){return Rc(t).then(function(){return Ec(t)}).then(kc)}))},e.ac=function(t){return this.F(t).then(function(t){return new ac(t)})},e.F=function(t){var e=this;return Uc(this,Ac(this).then(function(){return e.h.getToken(t)}).then(function(t){if(!t)throw new Zi("internal-error");return t.accessToken!=e.ra&&(Sc(e,t.accessToken),e.dispatchEvent(new dc("tokenChanged"))),Pc(e,"refreshToken",t.refreshToken),t.accessToken}))},e.wc=function(t){if(!(t=t.users)||!t.length)throw new Zi("internal-error");Tc(this,{uid:(t=t[0]).localId,displayName:t.displayName,photoURL:t.photoUrl,email:t.email,emailVerified:!!t.emailVerified,phoneNumber:t.phoneNumber,lastLoginAt:t.lastLoginAt,createdAt:t.createdAt});for(var e=function(t){return(t=t.providerUserInfo)&&t.length?B(t,function(t){return new fc(t.rawId,t.providerId,t.email,t.displayName,t.photoUrl,t.phoneNumber)}):[]}(t),n=0;n<e.length;n++)_c(this,e[n]);Pc(this,"isAnonymous",!(this.email&&t.passwordHash||this.providerData&&this.providerData.length))},e.xc=function(t){return Mi("firebase.User.prototype.reauthenticateAndRetrieveDataWithCredential is deprecated. Please use firebase.User.prototype.reauthenticateWithCredential instead."),this.hb(t)},e.hb=function(t){var e=this,n=null;return Uc(this,t.f(this.c,this.uid).then(function(t){return jc(e,t),n=Lc(e,t,"reauthenticate"),e.i=null,e.reload()}).then(function(){return n}),!0)},e.oc=function(t){return Mi("firebase.User.prototype.linkAndRetrieveDataWithCredential is deprecated. Please use firebase.User.prototype.linkWithCredential instead."),this.fb(t)},e.fb=function(t){var e=this,n=null;return Uc(this,Dc(this,t.providerId).then(function(){return e.F()}).then(function(n){return t.b(e.c,n)}).then(function(t){return n=Lc(e,t,"link"),xc(e,t)}).then(function(){return n}))},e.pc=function(t,e){var n=this;return Uc(this,Dc(this,"phone").then(function(){return oc(gc(n),t,e,T(n.fb,n))}))},e.yc=function(t,e){var n=this;return Uc(this,Zt().then(function(){return oc(gc(n),t,e,T(n.hb,n))}),!0)},e.rb=function(t){var e=this;return Uc(this,this.F().then(function(n){return e.c.rb(n,t)}).then(function(t){return jc(e,t),e.reload()}))},e.Pc=function(t){var e=this;return Uc(this,this.F().then(function(n){return t.b(e.c,n)}).then(function(t){return jc(e,t),e.reload()}))},e.sb=function(t){var e=this;return Uc(this,this.F().then(function(n){return e.c.sb(n,t)}).then(function(t){return jc(e,t),e.reload()}))},e.tb=function(t){if(void 0===t.displayName&&void 0===t.photoURL)return Ac(this);var e=this;return Uc(this,this.F().then(function(n){return e.c.tb(n,{displayName:t.displayName,photoUrl:t.photoURL})}).then(function(t){return jc(e,t),Pc(e,"displayName",t.displayName||null),Pc(e,"photoURL",t.photoUrl||null),U(e.providerData,function(t){"password"===t.providerId&&(Fi(t,"displayName",e.displayName),Fi(t,"photoURL",e.photoURL))}),Ec(e)}).then(kc))},e.Nc=function(t){var e=this;return Uc(this,Rc(this).then(function(n){return K(Oc(e),t)?function(t,e,n){return ys(t,$a,{idToken:e,deleteProvider:n})}(e.c,n,[t]).then(function(t){var n={};return U(t.providerUserInfo||[],function(t){n[t.providerId]=!0}),U(Oc(e),function(t){n[t]||Nc(e,t)}),n[co.PROVIDER_ID]||Fi(e,"phoneNumber",null),Ec(e)}):Ec(e).then(function(){throw new Zi("no-such-provider")})}))},e.delete=function(){var t=this;return Uc(this,this.F().then(function(e){return ys(t.c,Ya,{idToken:e})}).then(function(){t.dispatchEvent(new dc("userDeleted"))})).then(function(){for(var e=0;e<t.G.length;e++)t.G[e].cancel("app-deleted");vc(t,null),mc(t,null),t.G=[],t.D=!0,wc(t),Fi(t,"refreshToken",null),t.a&&t.a.unsubscribe(t)})},e.xb=function(t,e){return!!("linkViaPopup"==t&&(this.g||null)==e&&this.f||"reauthViaPopup"==t&&(this.g||null)==e&&this.f||"linkViaRedirect"==t&&(this.aa||null)==e||"reauthViaRedirect"==t&&(this.aa||null)==e)},e.ha=function(t,e,n,i){"linkViaPopup"!=t&&"reauthViaPopup"!=t||i!=(this.g||null)||(n&&this.v?this.v(n):e&&!n&&this.f&&this.f(e),this.b&&(this.b.cancel(),this.b=null),delete this.f,delete this.v)},e.xa=function(t,e){return"linkViaPopup"==t&&e==(this.g||null)?T(this.Bb,this):"reauthViaPopup"==t&&e==(this.g||null)?T(this.Cb,this):"linkViaRedirect"==t&&(this.aa||null)==e?T(this.Bb,this):"reauthViaRedirect"==t&&(this.aa||null)==e?T(this.Cb,this):null},e.qc=function(t){var e=this;return Mc(this,"linkViaPopup",t,function(){return Dc(e,t.providerId).then(function(){return Ec(e)})},!1)},e.zc=function(t){return Mc(this,"reauthViaPopup",t,function(){return Zt()},!0)},e.rc=function(t){var e=this;return Vc(this,"linkViaRedirect",t,function(){return Dc(e,t.providerId)},!1)},e.Ac=function(t){return Vc(this,"reauthViaRedirect",t,function(){return Zt()},!0)},e.Bb=function(t,e,n){var i=this;this.b&&(this.b.cancel(),this.b=null);var r=null;return Uc(this,this.F().then(function(r){return Ka(i.c,{requestUri:t,postBody:n,sessionId:e,idToken:r})}).then(function(t){return r=Lc(i,t,"link"),xc(i,t)}).then(function(){return r}))},e.Cb=function(t,e,n){var i=this;this.b&&(this.b.cancel(),this.b=null);var r=null;return Uc(this,Zt().then(function(){return Mr(Ha(i.c,{requestUri:t,sessionId:e,postBody:n}),i.uid)}).then(function(t){return r=Lc(i,t,"reauthenticate"),jc(i,t),i.i=null,i.reload()}).then(function(){return r}),!0)},e.kb=function(t){var e=this,n=null;return Uc(this,this.F().then(function(e){return n=e,void 0===t||J(t)?{}:fr(new nr(t))}).then(function(t){return e.c.kb(n,t)}).then(function(t){if(e.email!=t)return e.reload()}).then(function(){}))},e.toJSON=function(){return this.w()}
66,e.w=function(){var t={uid:this.uid,displayName:this.displayName,photoURL:this.photoURL,email:this.email,emailVerified:this.emailVerified,phoneNumber:this.phoneNumber,isAnonymous:this.isAnonymous,providerData:[],apiKey:this.l,appName:this.o,authDomain:this.u,stsTokenManager:this.h.w(),redirectEventId:this.aa||null};return this.metadata&&Z(t,this.metadata.w()),U(this.providerData,function(e){t.providerData.push(function(t){var e,n={};for(e in t)t.hasOwnProperty(e)&&(n[e]=t[e]);return n}(e))}),t};var Kc={name:"redirectUser",B:"session"};function Hc(t){return mu(t.b,Kc,t.a)}function Wc(t){this.a=t,this.b=pu(),this.c=null,this.f=function(t){var e=Xc("local"),n=Xc("session"),i=Xc("none");return function(t,e,n){var i=bu(e,n),r=vu(t,e.B);return t.get(e,n).then(function(o){var a=null;try{a=Oi(u.localStorage.getItem(i))}catch(t){}if(a&&!o)return u.localStorage.removeItem(i),t.set(e,a,n);a&&o&&"localStorage"!=r.type&&u.localStorage.removeItem(i)})}(t.b,e,t.a).then(function(){return t.b.get(n,t.a)}).then(function(r){return r?n:t.b.get(i,t.a).then(function(n){return n?i:t.b.get(e,t.a).then(function(n){return n?e:t.b.get(zc,t.a).then(function(t){return t?Xc(t):e})})})}).then(function(e){return t.c=e,Gc(t,e.B)}).s(function(){t.c||(t.c=e)})}(this),this.b.addListener(Xc("local"),this.a,T(this.g,this))}function Gc(t,e){var n,i=[];for(n in fu)fu[n]!==e&&i.push(mu(t.b,Xc(fu[n]),t.a));return i.push(mu(t.b,zc,t.a)),function(t){return new Wt(function(e,n){var i=t.length,r=[];if(i)for(var o=function(t,n){i--,r[t]=n,0==i&&e(r)},a=function(t){n(t)},s=0;s<t.length;s++)te(t[s],k(o,s),a);else e(r)})}(i)}Wc.prototype.g=function(){var t=this,e=Xc("local");Zc(this,function(){return Zt().then(function(){return t.c&&"local"!=t.c.B?t.b.get(e,t.a):null}).then(function(n){if(n)return Gc(t,"local").then(function(){t.c=e})})})};var zc={name:"persistence",B:"session"};function Xc(t){return{name:"authUser",B:t}}function Jc(t,e){return Zc(t,function(){return t.b.set(t.c,e.w(),t.a)})}function Yc(t){return Zc(t,function(){return mu(t.b,t.c,t.a)})}function $c(t,e){return Zc(t,function(){return t.b.get(t.c,t.a).then(function(t){return t&&e&&(t.authDomain=e),Bc(t||{})})})}function Zc(t,e){return t.f=t.f.then(e,e),t.f}function Qc(t){if(this.l=!1,Fi(this,"settings",new ic),Fi(this,"app",t),!ah(this).options||!ah(this).options.apiKey)throw new Zi("invalid-api-key");t=i.a.SDK_VERSION?mi(i.a.SDK_VERSION):null,this.c=new Ea(ah(this).options&&ah(this).options.apiKey,wr(gr),t),this.N=[],this.o=[],this.I=[],this.Rb=i.a.INTERNAL.createSubscribe(T(this.kc,this)),this.O=void 0,this.Sb=i.a.INTERNAL.createSubscribe(T(this.mc,this)),rh(this,null),this.h=new Wc(ah(this).options.apiKey+":"+ah(this).name),this.A=new qc(ah(this).options.apiKey+":"+ah(this).name),this.V=hh(this,function(t){var e=ah(t).options.authDomain,n=function(t){var e=function(t,e){return t.b.get(Kc,t.a).then(function(t){return t&&e&&(t.authDomain=e),Bc(t||{})})}(t.A,ah(t).options.authDomain).then(function(e){return(t.D=e)&&(e.ba=t.A),Hc(t.A)});return hh(t,e)}(t).then(function(){return $c(t.h,e)}).then(function(e){return e?(e.ba=t.A,t.D&&(t.D.aa||null)==(e.aa||null)?e:e.reload().then(function(){return Jc(t.h,e).then(function(){return e})}).s(function(n){return"auth/network-request-failed"==n.code?e:Yc(t.h)})):null}).then(function(e){rh(t,e||null)});return hh(t,n)}(this)),this.i=hh(this,function(t){return t.V.then(function(){return t.fa()}).s(function(){}).then(function(){if(!t.l)return t.ka()}).s(function(){}).then(function(){if(!t.l){t.X=!0;var e=t.h;e.b.addListener(Xc("local"),e.a,t.ka)}})}(this)),this.X=!1,this.ka=T(this.Kc,this),this.Ha=T(this.Z,this),this.ra=T(this.Zb,this),this.sa=T(this.ic,this),this.ta=T(this.jc,this),function(t){var e=ah(t).options.authDomain,n=ah(t).options.apiKey;e&&Si()&&(t.Qb=t.V.then(function(){if(!t.l){if(t.a=$u(e,n,ah(t).name),t.a.subscribe(t),sh(t)&&Ic(sh(t)),t.D){Ic(t.D);var i=t.D;i.pa(t.ea()),vc(i,t),bc(i=t.D,t.G),mc(i,t),t.D=null}return t.a}}))}(this),this.INTERNAL={},this.INTERNAL.delete=T(this.delete,this),this.INTERNAL.logFramework=T(this.sc,this),this.u=0,sn.call(this),function(t){Object.defineProperty(t,"lc",{get:function(){return this.ea()},set:function(t){this.pa(t)},enumerable:!1}),t.W=null}(this),this.G=[]}function th(t){xe.call(this,"languageCodeChanged"),this.g=t}function eh(t){xe.call(this,"frameworkChanged"),this.c=t}function nh(t){return t.Qb||Qt(new Zi("auth-domain-config-required"))}function ih(t,e){var n={};return n.apiKey=ah(t).options.apiKey,n.authDomain=ah(t).options.authDomain,n.appName=ah(t).name,t.V.then(function(){return function(t,e,n,i){var r=new pc(t,e);return n&&(r.ba=n),i&&bc(r,i),r.reload().then(function(){return r})}(n,e,t.A,t.ya())}).then(function(e){return sh(t)&&e.uid==sh(t).uid?(Cc(sh(t),e),t.Z(e)):(rh(t,e),Ic(e),t.Z(e))}).then(function(){ch(t)})}function rh(t,e){sh(t)&&(function(t,e){W(t.N,function(t){return t==e})}(sh(t),t.Ha),$e(sh(t),"tokenChanged",t.ra),$e(sh(t),"userDeleted",t.sa),$e(sh(t),"userInvalidated",t.ta),wc(sh(t))),e&&(e.N.push(t.Ha),Xe(e,"tokenChanged",t.ra),Xe(e,"userDeleted",t.sa),Xe(e,"userInvalidated",t.ta),0<t.u&&yc(e)),Fi(t,"currentUser",e),e&&(e.pa(t.ea()),vc(e,t),bc(e,t.G),mc(e,t))}function oh(t,e){var n=null,i=null;return hh(t,e.then(function(e){return n=lo(e),i=kr(e),ih(t,e)}).then(function(){return Bi({user:sh(t),credential:n,additionalUserInfo:i,operationType:"signIn"})}))}function ah(t){return t.app}function sh(t){return t.currentUser}function uh(t){return sh(t)&&sh(t)._lat||null}function ch(t){if(t.X){for(var e=0;e<t.o.length;e++)t.o[e]&&t.o[e](uh(t));if(t.O!==t.getUid()&&t.I.length)for(t.O=t.getUid(),e=0;e<t.I.length;e++)t.I[e]&&t.I[e](uh(t))}}function hh(t,e){return t.N.push(e),e.ia(function(){H(t.N,e)}),e}function lh(){}function fh(){this.a={},this.b=1e12}Wc.prototype.nb=function(t){var e=null,n=this;return function(t){var e=new Zi("invalid-persistence-type"),n=new Zi("unsupported-persistence-type");t:{for(i in fu)if(fu[i]==t){var i=!0;break t}i=!1}if(!i||"string"!=typeof t)throw e;switch(li()){case"ReactNative":if("session"===t)throw n;break;case"Node":if("none"!==t)throw n;break;default:if(!wi()&&"none"!==t)throw n}}(t),Zc(this,function(){return t!=n.c.B?n.b.get(n.c,n.a).then(function(i){return e=i,Gc(n,t)}).then(function(){if(n.c=Xc(t),e)return n.b.set(n.c,e,n.a)}):Zt()})},O(Qc,sn),O(th,xe),O(eh,xe),(e=Qc.prototype).nb=function(t){return hh(this,t=this.h.nb(t))}
66,e.pa=function(t){this.W===t||this.l||(this.W=t,Na(this.c,this.W),this.dispatchEvent(new th(this.ea())))},e.ea=function(){return this.W},e.Qc=function(){var t=u.navigator;this.pa(t&&(t.languages&&t.languages[0]||t.language||t.userLanguage)||null)},e.sc=function(t){this.G.push(t),Pa(this.c,i.a.SDK_VERSION?mi(i.a.SDK_VERSION,this.G):null),this.dispatchEvent(new eh(this.G))},e.ya=function(){return z(this.G)},e.toJSON=function(){return{apiKey:ah(this).options.apiKey,authDomain:ah(this).options.authDomain,appName:ah(this).name,currentUser:sh(this)&&sh(this).w()}},e.xb=function(t,e){switch(t){case"unknown":case"signInViaRedirect":return!0;case"signInViaPopup":return this.g==e&&!!this.f;default:return!1}},e.ha=function(t,e,n,i){"signInViaPopup"==t&&this.g==i&&(n&&this.v?this.v(n):e&&!n&&this.f&&this.f(e),this.b&&(this.b.cancel(),this.b=null),delete this.f,delete this.v)},e.xa=function(t,e){return"signInViaRedirect"==t||"signInViaPopup"==t&&this.g==e&&this.f?T(this.Yb,this):null},e.Yb=function(t,e,n){var i=this;t={requestUri:t,postBody:n,sessionId:e},this.b&&(this.b.cancel(),this.b=null);var r=null,o=null,a=qa(i.c,t).then(function(t){return r=lo(t),o=kr(t),t});return hh(this,t=i.V.then(function(){return a}).then(function(t){return ih(i,t)}).then(function(){return Bi({user:sh(i),credential:r,additionalUserInfo:o,operationType:"signIn"})}))},e.Ic=function(t){if(!Si())return Qt(new Zi("operation-not-supported-in-this-environment"));var e=this,n=Tr(t.providerId),r=_i(),o=null;(!Ti()||ci())&&ah(this).options.authDomain&&t.isOAuthProvider&&(o=Ds(ah(this).options.authDomain,ah(this).options.apiKey,ah(this).name,"signInViaPopup",t,null,r,i.a.SDK_VERSION||null));var a=ri(o,n&&n.Ba,n&&n.Aa);return hh(this,n=nh(this).then(function(e){return Xu(e,a,"signInViaPopup",t,r,!!o)}).then(function(){return new Wt(function(t,n){e.ha("signInViaPopup",null,new Zi("cancelled-popup-request"),e.g),e.f=t,e.v=n,e.g=r,e.b=e.a.Ea(e,"signInViaPopup",a,r)})}).then(function(t){return a&&ii(a),t?Bi(t):null}).s(function(t){throw a&&ii(a),t}))},e.Jc=function(t){if(!Si())return Qt(new Zi("operation-not-supported-in-this-environment"));var e=this;return hh(this,nh(this).then(function(){return function(t){return Zc(t,function(){return t.b.set(zc,t.c.B,t.a)})}(e.h)}).then(function(){return e.a.Ca("signInViaRedirect",t)}))},e.fa=function(){if(!Si())return Qt(new Zi("operation-not-supported-in-this-environment"));var t=this;return hh(this,nh(this).then(function(){return t.a.fa()}).then(function(t){return t?Bi(t):null}))},e.Oc=function(t){if(!t)return Qt(new Zi("null-user"));var e=this,n={};n.apiKey=ah(this).options.apiKey,n.authDomain=ah(this).options.authDomain,n.appName=ah(this).name;var i=function(t,e,n,i){e=e||{apiKey:t.l,authDomain:t.u,appName:t.o};var r=t.h,o={};return o[Ta]=r.b,o.refreshToken=r.a,o.expiresIn=(r.c-A())/1e3,e=new pc(e,o),n&&(e.ba=n),i&&bc(e,i),Cc(e,t),e}(t,n,e.A,e.ya());return hh(this,this.i.then(function(){if(ah(e).options.apiKey!=t.l)return i.reload()}).then(function(){return sh(e)&&t.uid==sh(e).uid?(Cc(sh(e),t),e.Z(t)):(rh(e,i),Ic(i),e.Z(i))}).then(function(){ch(e)}))},e.pb=function(){var t=this;return hh(this,this.i.then(function(){return sh(t)?(rh(t,null),Yc(t.h).then(function(){ch(t)})):Zt()}))},e.Kc=function(){var t=this;return $c(this.h,ah(this).options.authDomain).then(function(e){if(!t.l){var n;if(n=sh(t)&&e){n=sh(t).uid;var i=e.uid;n=null!=n&&""!==n&&null!=i&&""!==i&&n==i}if(n)return Cc(sh(t),e),sh(t).F();(sh(t)||e)&&(rh(t,e),e&&(Ic(e),e.ba=t.A),t.a&&t.a.subscribe(t),ch(t))}})},e.Z=function(t){return Jc(this.h,t)},e.Zb=function(){ch(this),this.Z(sh(this))},e.ic=function(){this.pb()},e.jc=function(){this.pb()},e.kc=function(t){var e=this;this.addAuthTokenListener(function(){t.next(sh(e))})},e.mc=function(t){var e=this;!function(t,e){t.I.push(e),hh(t,t.i.then(function(){!t.l&&K(t.I,e)&&t.O!==t.getUid()&&(t.O=t.getUid(),e(uh(t)))}))}(this,function(){t.next(sh(e))})},e.uc=function(t,e,n){var i=this;return this.X&&Promise.resolve().then(function(){g(t)?t(sh(i)):g(t.next)&&t.next(sh(i))}),this.Rb(t,e,n)},e.tc=function(t,e,n){var i=this;return this.X&&Promise.resolve().then(function(){i.O=i.getUid(),g(t)?t(sh(i)):g(t.next)&&t.next(sh(i))}),this.Sb(t,e,n)},e.$b=function(t){var e=this;return hh(this,this.i.then(function(){return sh(e)?sh(e).F(t).then(function(t){return{accessToken:t}}):null}))},e.Ec=function(t){var e=this;return this.i.then(function(){return oh(e,ys(e.c,ps,{token:t}))}).then(function(t){var n=t.user;return Pc(n,"isAnonymous",!1),e.Z(n),t})},e.Fc=function(t,e){var n=this;return this.i.then(function(){return oh(n,ys(n.c,vs,{email:t,password:e}))})},e.Ub=function(t,e){var n=this;return this.i.then(function(){return oh(n,ys(n.c,Xa,{email:t,password:e}))})},e.Ra=function(t){var e=this;return this.i.then(function(){return oh(e,t.la(e.c))})},e.Dc=function(t){return Mi("firebase.auth.Auth.prototype.signInAndRetrieveDataWithCredential is deprecated. Please use firebase.auth.Auth.prototype.signInWithCredential instead."),this.Ra(t)},e.ob=function(){var t=this;return this.i.then(function(){var e=sh(t);if(e&&e.isAnonymous){var n=Bi({providerId:null,isNewUser:!1});return Bi({user:e,credential:null,additionalUserInfo:n,operationType:"signIn"})}return oh(t,t.c.ob()).then(function(e){var n=e.user;return Pc(n,"isAnonymous",!0),t.Z(n),e})})},e.getUid=function(){return sh(this)&&sh(this).uid||null},e.Tb=function(t){this.addAuthTokenListener(t),this.u++,0<this.u&&sh(this)&&yc(sh(this))},e.Bc=function(t){var e=this;U(this.o,function(n){n==t&&e.u--}),0>this.u&&(this.u=0),0==this.u&&sh(this)&&wc(sh(this)),this.removeAuthTokenListener(t)},e.addAuthTokenListener=function(t){var e=this;this.o.push(t),hh(this,this.i.then(function(){e.l||K(e.o,t)&&t(uh(e))}))},e.removeAuthTokenListener=function(t){W(this.o,function(e){return e==t})},e.delete=function(){this.l=!0;for(var t=0;t<this.N.length;t++)this.N[t].cancel("app-deleted");return this.N=[],this.h&&(t=this.h).b.removeListener(Xc("local"),t.a,this.ka),this.a&&(this.a.unsubscribe(this),this.a.Za()),Promise.resolve()},e.Xb=function(t){return hh(this,function(t,e){return ys(t,Ja,{identifier:e,continueUri:Ei()?ti():"http://localhost"}).then(function(t){return t.signinMethods||[]})}(this.c,t))},e.nc=function(t){return!!oo(t)},e.mb=function(t,e){var n=this;return hh(this,Zt().then(function(){var t=new nr(e);if(!t.c)throw new Zi("argument-error",or+" must be true when sending sign in link to email");return fr(t)}).then(function(e){return n.c.mb(t,e)}).then(function(){}))},e.Rc=function(t){return this.Ka(t).then(function(t){return t.data.email})},e.$a=function(t,e){return hh(this,this.c.$a(t,e).then(function(){}))},e.Ka=function(t){return hh(this,this.c.Ka(t).then(function(t){return new Ki(t)}))},e.Xa=function(t){return hh(this,this.c.Xa(t).then(function(){}))},e.lb=function(t,e){var n=this;return hh(this,Zt().then(function(){return void 0===e||J(e)?{}:fr(new nr(e))}).then(function(e){return n.c.lb(t,e)}).then(function(){}))},e.Hc=function(t,e){return hh(this,oc(this,t,e,T(this.Ra,this)))},e.Gc=function(t,e){var n=this;return hh(this,Zt().then(function(){var i=ro(t,e||ti());return n.Ra(i)}))},lh.prototype.render=function(){},lh.prototype.reset=function(){},lh.prototype.getResponse=function(){},lh.prototype.execute=function(){};var dh=null;function ph(t,e){return(e=vh(e))&&t.a[e]||null}function vh(t){return(t=void 0===t?1e12:t)?t.toString():null}function bh(t,e){this.g=!1,this.c=e,this.a=this.b=null,this.h="invisible"!==this.c.size,this.f=Hn(t);var n=this;this.i=function(){n.execute()},this.h?this.execute():Xe(this.f,"click",this.i)}function mh(t){if(t.g)throw Error("reCAPTCHA mock was already deleted!")}function gh(){}fh.prototype.render=function(t,e){return this.a[this.b.toString()]=new bh(t,e),this.b++},fh.prototype.reset=function(t){var e=ph(this,t);t=vh(t),e&&t&&(e.delete(),delete this.a[t])},fh.prototype.getResponse=function(t){return(t=ph(this,t))?t.getResponse():null},fh.prototype.execute=function(t){(t=ph(this,t))&&t.execute()},bh.prototype.getResponse=function(){return mh(this),this.b},bh.prototype.execute=function(){mh(this);var t=this;this.a||(this.a=setTimeout(function(){t.b=function(){for(var t=50,e=[];0<t;)e.push("1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".charAt(Math.floor(62*Math.random()))),t--;return e.join("")}();var e=t.c.callback,n=t.c["expired-callback"];if(e)try{e(t.b)}catch(t){}t.a=setTimeout(function(){if(t.a=null,t.b=null,n)try{n()}catch(t){}t.h&&t.execute()},6e4)},500))},bh.prototype.delete=function(){mh(this),this.g=!0,clearTimeout(this.a),this.a=null,$e(this.f,"click",this.i)},gh.prototype.g=function(){return dh||(dh=new fh),Zt(dh)},gh.prototype.c=function(){};var yh=null;function wh(){this.b=u.grecaptcha?1/0:0,this.f=null,this.a="__rcb"+Math.floor(1e6*Math.random()).toString()}var Sh=new Q(nt,"https://www.google.com/recaptcha/api.js?onload=%{onload}&render=explicit&hl=%{hl}"),Eh=new Ci(3e4,6e4);wh.prototype.g=function(t){var e=this;return new Wt(function(n,i){var r=setTimeout(function(){i(new Zi("network-request-failed"))},Eh.get());!u.grecaptcha||t!==e.f&&!e.b?(u[e.a]=function(){if(u.grecaptcha){e.f=t;var o=u.grecaptcha.render;u.grecaptcha.render=function(t,n){return t=o(t,n),e.b++,t},clearTimeout(r),n(u.grecaptcha)}else clearTimeout(r),i(new Zi("internal-error"));delete u[e.a]},Zt(va(at(Sh,{onload:e.a,hl:t||""}))).s(function(){clearTimeout(r),i(new Zi("internal-error","Unable to load external reCAPTCHA dependencies!"))})):(clearTimeout(r),n(u.grecaptcha))})},wh.prototype.c=function(){this.b--};var Ih=null;function Th(t,e,n,i,r,o,a){if(Fi(this,"type","recaptcha"),this.c=this.f=null,this.D=!1,this.l=e,this.g=null,a?(yh||(yh=new gh),a=yh):(Ih||(Ih=new wh),a=Ih),this.o=a,this.a=n||{theme:"light",type:"image"},this.h=[],this.a[Oh])throw new Zi("argument-error","sitekey should not be provided for reCAPTCHA as one is automatically provisioned for the current project.");if(this.i="invisible"===this.a[_h],!u.document)throw new Zi("operation-not-supported-in-this-environment","RecaptchaVerifier is only supported in a browser HTTP/HTTPS environment with DOM support.");if(!Hn(e)||!this.i&&Hn(e).hasChildNodes())throw new Zi("argument-error","reCAPTCHA container is either not found or already contains inner elements!");this.u=new Ea(t,o||null,r||null),this.v=i||function(){return null};var s=this;this.m=[];var c=this.a[kh];this.a[kh]=function(t){if(Nh(s,t),"function"==typeof c)c(t);else if("string"==typeof c){var e=yi(c,u);"function"==typeof e&&e(t)}};var h=this.a[Ah];this.a[Ah]=function(){if(Nh(s,null),"function"==typeof h)h();else if("string"==typeof h){var t=yi(h,u);"function"==typeof t&&t()}}}var kh="callback",Ah="expired-callback",Oh="sitekey",_h="size";function Nh(t,e){for(var n=0;n<t.m.length;n++)try{t.m[n](e)}catch(t){}}function Ph(t,e){return t.h.push(e),e.ia(function(){H(t.h,e)}),e}function Ch(t){if(t.D)throw new Zi("internal-error","RecaptchaVerifier instance has been destroyed.")}function Rh(t,e,n){var r=!1;try{this.b=n||i.a.app()}catch(t){throw new Zi("argument-error","No firebase.app.App instance is currently initialized.")}if(!this.b.options||!this.b.options.apiKey)throw new Zi("invalid-api-key");n=this.b.options.apiKey;var o=this,a=null;try{a=this.b.auth().ya()}catch(t){}try{r=this.b.auth().settings.appVerificationDisabledForTesting}catch(t){}a=i.a.SDK_VERSION?mi(i.a.SDK_VERSION,a):null,Th.call(this,n,t,e,function(){try{var t=o.b.auth().ea()}catch(e){t=null}return t},a,wr(gr),r)}function jh(t,e,n,i){t:{n=Array.prototype.slice.call(n);for(var r=0,o=!1,a=0;a<e.length;a++)if(e[a].optional)o=!0;else{if(o)throw new Zi("internal-error","Argument validator encountered a required argument after an optional argument.");r++}if(o=e.length,n.length<r||o<n.length)i="Expected "+(r==o?1==r?"1 argument":r+" arguments":r
66+"-"+o+" arguments")+" but got "+n.length+".";else{for(r=0;r<n.length;r++)if(o=e[r].optional&&void 0===n[r],!e[r].M(n[r])&&!o){if(e=e[r],0>r||r>=Dh.length)throw new Zi("internal-error","Argument validator received an unsupported number of arguments.");n=Dh[r],i=(i?"":n+" argument ")+(e.name?'"'+e.name+'" ':"")+"must be "+e.K+".";break t}i=null}}if(i)throw new Zi("argument-error",t+" failed: "+i)}(e=Th.prototype).za=function(){var t=this;return this.f?this.f:this.f=Ph(this,Zt().then(function(){if(Ei()&&!hi())return si();throw new Zi("operation-not-supported-in-this-environment","RecaptchaVerifier is only supported in a browser HTTP/HTTPS environment.")}).then(function(){return t.o.g(t.v())}).then(function(e){return t.g=e,ys(t.u,os,{})}).then(function(e){t.a[Oh]=e.recaptchaSiteKey}).s(function(e){throw t.f=null,e}))},e.render=function(){Ch(this);var t=this;return Ph(this,this.za().then(function(){if(null===t.c){var e=t.l;if(!t.i){var n=Hn(e);e=function(t,e,n){var i=arguments,r=document,o=String(i[0]),a=i[1];if(!Kn&&a&&(a.name||a.type)){if(o=["<",o],a.name&&o.push(' name="',Ft(a.name),'"'),a.type){o.push(' type="',Ft(a.type),'"');var s={};Z(s,a),delete s.type,a=s}o.push(">"),o=o.join("")}return o=r.createElement(o),a&&(c(a)?o.className=a:b(a)?o.className=a.join(" "):Wn(o,a)),2<i.length&&function(t,e,n){function i(n){n&&e.appendChild(c(n)?t.createTextNode(n):n)}for(var r=2;r<n.length;r++){var o=n[r];!m(o)||y(o)&&0<o.nodeType?i(o):U(zn(o)?z(o):o,i)}}(r,o,i),o}("DIV"),n.appendChild(e)}t.c=t.g.render(e,t.a)}return t.c}))},e.verify=function(){Ch(this);var t=this;return Ph(this,this.render().then(function(e){return new Wt(function(n){var i=t.g.getResponse(e);if(i)n(i);else{var r=function(e){e&&(function(t,e){W(t.m,function(t){return t==e})}(t,r),n(e))};t.m.push(r),t.i&&t.g.execute(t.c)}})}))},e.reset=function(){Ch(this),null!==this.c&&this.g.reset(this.c)},e.clear=function(){Ch(this),this.D=!0,this.o.c();for(var t=0;t<this.h.length;t++)this.h[t].cancel("RecaptchaVerifier instance has been destroyed.");if(!this.i){t=Hn(this.l);for(var e;e=t.firstChild;)t.removeChild(e)}},O(Rh,Th);var Dh="First Second Third Fourth Fifth Sixth Seventh Eighth Ninth".split(" ");function Lh(t,e){return{name:t||"",K:"a valid string",optional:!!e,M:c}}function xh(t,e){return{name:t||"",K:"a boolean",optional:!!e,M:h}}function Mh(t,e){return{name:t||"",K:"a valid object",optional:!!e,M:y}}function Vh(t,e){return{name:t||"",K:"a function",optional:!!e,M:g}}function Fh(t,e){return{name:t||"",K:"null",optional:!!e,M:v}}function Uh(t){return{name:t?t+"Credential":"credential",K:t?"a valid "+t+" credential":"a valid credential",optional:!1,M:function(e){if(!e)return!1;var n=!t||e.providerId===t;return!(!e.la||!n)}}}function Bh(){return{name:"applicationVerifier",K:"an implementation of firebase.auth.ApplicationVerifier",optional:!1,M:function(t){return!!(t&&c(t.type)&&g(t.verify))}}}function qh(t,e,n,i){return{name:n||"",K:t.K+" or "+e.K,optional:!!i,M:function(n){return t.M(n)||e.M(n)}}}function Kh(t,e){for(var n in e){var i=e[n].name;t[i]=Gh(i,t[n],e[n].j)}}function Hh(t,e){for(var n in e){var i=e[n].name;i!==n&&Object.defineProperty(t,i,{get:k(function(t){return this[t]},n),set:k(function(t,e,n,i){jh(t,[n],[i],!0),this[e]=i},i,n,e[n].vb),enumerable:!0})}}function Wh(t,e,n,i){t[e]=Gh(e,n,i)}function Gh(t,e,n){function i(){var t=Array.prototype.slice.call(arguments);return jh(o,n,t),e.apply(this,t)}if(!n)return e;var r,o=function(t){return(t=t.split("."))[t.length-1]}(t);for(r in e)i[r]=e[r];for(r in e.prototype)i.prototype[r]=e.prototype[r];return i}Kh(Qc.prototype,{Xa:{name:"applyActionCode",j:[Lh("code")]},Ka:{name:"checkActionCode",j:[Lh("code")]},$a:{name:"confirmPasswordReset",j:[Lh("code"),Lh("newPassword")]},Ub:{name:"createUserWithEmailAndPassword",j:[Lh("email"),Lh("password")]},Xb:{name:"fetchSignInMethodsForEmail",j:[Lh("email")]},fa:{name:"getRedirectResult",j:[]},nc:{name:"isSignInWithEmailLink",j:[Lh("emailLink")]},tc:{name:"onAuthStateChanged",j:[qh(Mh(),Vh(),"nextOrObserver"),Vh("opt_error",!0),Vh("opt_completed",!0)]},uc:{name:"onIdTokenChanged",j:[qh(Mh(),Vh(),"nextOrObserver"),Vh("opt_error",!0),Vh("opt_completed",!0)]},lb:{name:"sendPasswordResetEmail",j:[Lh("email"),qh(Mh("opt_actionCodeSettings",!0),Fh(null,!0),"opt_actionCodeSettings",!0)]},mb:{name:"sendSignInLinkToEmail",j:[Lh("email"),Mh("actionCodeSettings")]},nb:{name:"setPersistence",j:[Lh("persistence")]},Dc:{name:"signInAndRetrieveDataWithCredential",j:[Uh()]},ob:{name:"signInAnonymously",j:[]},Ra:{name:"signInWithCredential",j:[Uh()]},Ec:{name:"signInWithCustomToken",j:[Lh("token")]},Fc:{name:"signInWithEmailAndPassword",j:[Lh("email"),Lh("password")]},Gc:{name:"signInWithEmailLink",j:[Lh("email"),Lh("emailLink",!0)]},Hc:{name:"signInWithPhoneNumber",j:[Lh("phoneNumber"),Bh()]},Ic:{name:"signInWithPopup",j:[{name:"authProvider",K:"a valid Auth provider",optional:!1,M:function(t){return!!(t&&t.providerId&&t.hasOwnProperty&&t.hasOwnProperty("isOAuthProvider"))}}]},Jc:{name:"signInWithRedirect",j:[{name:"authProvider",K:"a valid Auth provider",optional:!1,M:function(t){return!!(t&&t.providerId&&t.hasOwnProperty&&t.hasOwnProperty("isOAuthProvider"))}}]},Oc:{name:"updateCurrentUser",j:[qh({name:"user",K:"an instance of Firebase User",optional:!1,M:function(t){return!!(t&&t instanceof pc)}},Fh(),"user")]},pb:{name:"signOut",j:[]},toJSON:{name:"toJSON",j:[Lh(null,!0)]},Qc:{name:"useDeviceLanguage",j:[]},Rc:{name:"verifyPasswordResetCode",j:[Lh("code")]}}),Hh(Qc.prototype,{lc:{name:"languageCode",vb:qh(Lh(),Fh(),"languageCode")}}),Qc.Persistence=fu,Qc.Persistence.LOCAL="local",Qc.Persistence.SESSION="session",Qc.Persistence.NONE="none",Kh(pc.prototype,{delete:{name:"delete",j:[]},ac:{name:"getIdTokenResult",j:[xh("opt_forceRefresh",!0)]},F:{name:"getIdToken",j:[xh("opt_forceRefresh",!0)]},oc:{name:"linkAndRetrieveDataWithCredential",j:[Uh()]},fb:{name:"linkWithCredential",j:[Uh()]},pc:{name:"linkWithPhoneNumber",j:[Lh("phoneNumber"),Bh()]},qc:{name:"linkWithPopup",j:[{name:"authProvider",K:"a valid Auth provider",optional:!1,M:function(t){return!!(t&&t.providerId&&t.hasOwnProperty&&t.hasOwnProperty("isOAuthProvider"))}}]},rc:{name:"linkWithRedirect",j:[{name:"authProvider",K:"a valid Auth provider",optional:!1,M:function(t){return!!(t&&t.providerId&&t.hasOwnProperty&&t.hasOwnProperty("isOAuthProvider"))}}]},xc:{name:"reauthenticateAndRetrieveDataWithCredential",j:[Uh()]},hb:{name:"reauthenticateWithCredential",j:[Uh()]},yc:{name:"reauthenticateWithPhoneNumber",j:[Lh("phoneNumber"),Bh()]}
66,zc:{name:"reauthenticateWithPopup",j:[{name:"authProvider",K:"a valid Auth provider",optional:!1,M:function(t){return!!(t&&t.providerId&&t.hasOwnProperty&&t.hasOwnProperty("isOAuthProvider"))}}]},Ac:{name:"reauthenticateWithRedirect",j:[{name:"authProvider",K:"a valid Auth provider",optional:!1,M:function(t){return!!(t&&t.providerId&&t.hasOwnProperty&&t.hasOwnProperty("isOAuthProvider"))}}]},reload:{name:"reload",j:[]},kb:{name:"sendEmailVerification",j:[qh(Mh("opt_actionCodeSettings",!0),Fh(null,!0),"opt_actionCodeSettings",!0)]},toJSON:{name:"toJSON",j:[Lh(null,!0)]},Nc:{name:"unlink",j:[Lh("provider")]},rb:{name:"updateEmail",j:[Lh("email")]},sb:{name:"updatePassword",j:[Lh("password")]},Pc:{name:"updatePhoneNumber",j:[Uh("phone")]},tb:{name:"updateProfile",j:[Mh("profile")]}}),Kh(fh.prototype,{execute:{name:"execute"},render:{name:"render"},reset:{name:"reset"},getResponse:{name:"getResponse"}}),Kh(lh.prototype,{execute:{name:"execute"},render:{name:"render"},reset:{name:"reset"},getResponse:{name:"getResponse"}}),Kh(Wt.prototype,{ia:{name:"finally"},s:{name:"catch"},then:{name:"then"}}),Hh(ic.prototype,{appVerificationDisabled:{name:"appVerificationDisabledForTesting",vb:xh("appVerificationDisabledForTesting")}}),Kh(rc.prototype,{confirm:{name:"confirm",j:[Lh("verificationCode")]}}),Wh(xr,"fromJSON",function(t){t=c(t)?JSON.parse(t):t;for(var e,n=[Kr,no,so,Ur],i=0;i<n.length;i++)if(e=n[i](t))return e;return null},[qh(Lh(),Mh(),"json")]),Wh(io,"credential",function(t,e){return new eo(t,e)},[Lh("email"),Lh("password")]),Kh(eo.prototype,{w:{name:"toJSON",j:[Lh(null,!0)]}}),Kh(zr.prototype,{ua:{name:"addScope",j:[Lh("scope")]},Da:{name:"setCustomParameters",j:[Mh("customOAuthParameters")]}}),Wh(zr,"credential",Xr,[qh(Lh(),Mh(),"token")]),Wh(io,"credentialWithLink",ro,[Lh("email"),Lh("emailLink")]),Kh(Jr.prototype,{ua:{name:"addScope",j:[Lh("scope")]},Da:{name:"setCustomParameters",j:[Mh("customOAuthParameters")]}}),Wh(Jr,"credential",Yr,[qh(Lh(),Mh(),"token")]),Kh($r.prototype,{ua:{name:"addScope",j:[Lh("scope")]},Da:{name:"setCustomParameters",j:[Mh("customOAuthParameters")]}}),Wh($r,"credential",Zr,[qh(Lh(),qh(Mh(),Fh()),"idToken"),qh(Lh(),Fh(),"accessToken",!0)]),Kh(Qr.prototype,{Da:{name:"setCustomParameters",j:[Mh("customOAuthParameters")]}}),Wh(Qr,"credential",to,[qh(Lh(),Mh(),"token"),Lh("secret",!0)]),Kh(Gr.prototype,{ua:{name:"addScope",j:[Lh("scope")]},credential:{name:"credential",j:[qh(Lh(),qh(Mh(),Fh()),"optionsOrIdToken"),qh(Lh(),Fh(),"accessToken",!0)]},Da:{name:"setCustomParameters",j:[Mh("customOAuthParameters")]}}),Kh(Br.prototype,{w:{name:"toJSON",j:[Lh(null,!0)]}}),Kh(Vr.prototype,{w:{name:"toJSON",j:[Lh(null,!0)]}}),Wh(co,"credential",ho,[Lh("verificationId"),Lh("verificationCode")]),Kh(co.prototype,{Va:{name:"verifyPhoneNumber",j:[Lh("phoneNumber"),Bh()]}}),Kh(ao.prototype,{w:{name:"toJSON",j:[Lh(null,!0)]}}),Kh(Zi.prototype,{toJSON:{name:"toJSON",j:[Lh(null,!0)]}}),Kh(wo.prototype,{toJSON:{name:"toJSON",j:[Lh(null,!0)]}}),Kh(yo.prototype,{toJSON:{name:"toJSON",j:[Lh(null,!0)]}}),Kh(Rh.prototype,{clear:{name:"clear",j:[]},render:{name:"render",j:[]},verify:{name:"verify",j:[]}}),function(){if(void 0===i.a||!i.a.INTERNAL||!i.a.INTERNAL.registerService)throw Error("Cannot find the firebase namespace; be sure to include firebase-app.js before this library.");var t={Auth:Qc,AuthCredential:xr,Error:Zi};Wh(t,"EmailAuthProvider",io,[]),Wh(t,"FacebookAuthProvider",zr,[]),Wh(t,"GithubAuthProvider",Jr,[]),Wh(t,"GoogleAuthProvider",$r,[]),Wh(t,"TwitterAuthProvider",Qr,[]),Wh(t,"OAuthProvider",Gr,[Lh("providerId")]),Wh(t,"SAMLAuthProvider",Wr,[Lh("providerId")]),Wh(t,"PhoneAuthProvider",co,[{name:"auth",K:"an instance of Firebase Auth",optional:!0,M:function(t){return!!(t&&t instanceof Qc)}}]),Wh(t,"RecaptchaVerifier",Rh,[qh(Lh(),{name:"",K:"an HTML element",optional:!1,M:function(t){return!!(t&&t instanceof Element)}},"recaptchaContainer"),Mh("recaptchaParameters",!0),{name:"app",K:"an instance of Firebase App",optional:!0,M:function(t){return!!(t&&t instanceof i.a.app.App)}}]),i.a.INTERNAL.registerService("auth",function(t,e){return e({INTERNAL:{getUid:T((t=new Qc(t)).getUid,t),getToken:T(t.$b,t),addAuthTokenListener:T(t.Tb,t),removeAuthTokenListener:T(t.Bc,t)}}),t},t,function(t,e){if("create"===t)try{e.auth()}catch(t){}}),i.a.INTERNAL.extendNamespace({User:pc})}()}).apply(void 0!==t?t:"undefined"!=typeof self?self:window)}).call(this,n("3r9c"))},u10w:function(t,e,n){"use strict";n.r(e);var i=n("kOwS"),r=n("0iUn"),o=n("sLSF"),a=n("MI3g"),s=n("a7VT"),u=n("AT/M"),c=n("Tit0"),h=n("vYYK"),l=n("q1tI"),f=n.n(l),d=n("nP3w"),p=n("E2w+"),v=n("226r"),b=n("k4gB"),m=n("EnJ4"),g=n("GyL8"),y=function(t){function e(t,n){var i;return Object(r.default)(this,e),i=Object(a.default)(this,Object(s.default)(e).call(this,t,n)),Object(h.a)(Object(u.default)(i),"onSubmit",function(t){i.setState({sending:!0}),p.a.auth().sendPasswordResetEmail(t.email).then(function(){i.setState({message:f.a.createElement(m.b,{success:!0,message:"Email sent. Please check your inbox for further instructions."})})}).catch(function(t){i.setState({sending:!1,message:f.a.createElement(m.b,{error:!0,message:t.message})})})}),i.state={sending:!1,message:null},i}return Object(c.default)(e,t),Object(o.default)(e,[{key:"render",value:function(){var t=this.state,e=t.message,n=t.sending;return f.a.createElement(v.a,{headerType:"grey"},f.a.createElement(g.a,{title:"RupiahToken - Reset Password",desc:"Password Reset Request Form"}),f.a.createElement(b.c,null,f.a.createElement(b.b,null,f.a.createElement(b.d,null,f.a.createElement("div",null,f.a.createElement(b.e,{bottom:40},f.a.createElement("h2",null,"Reset Password"),f.a.createElement("p",null,"Input your resgistered email here")),e&&f.a.createElement(b.e,{bottom:24},e),f.a.createElement(m.f,{justify:"center",text:"left"},f.a.createElement(m.e,{lg:5,md:8,sm:12},f.a.createElement(d.b,{onSubmit:this.onSubmit,render:function(t){var e=t.handleSubmit;return t.pristine,t.invalid,f.a.createElement("form",null,f.a.createElement(d.a,{name:"email",render:function(t){var e=t.input,r=t.meta;return f.a.createElement("div",null,r.touched&&r.error&&f.a.createElement("span",null,r.error),f.a.createElement(m.i,Object(i.a)({},e,{label:"Email address",disabled:n,type:"email",placeholder:"Enter your email address",required:"required"})))}}),f.a.createElement(b.e,{top:40},f.a.createElement(m.f,{justify:"center"},f.a.createElement(m.e,{lg:8,sm:12},f.a.createElement(m.d,{onClick:e,size:"large",block:!0},"Send reset link")))))}}))))))))}}]),e}(f.a.Component);e.default=y},wj3C:function(t,e,n){"use strict";
66Object.defineProperty(e,"__esModule",{value:!0});var i,r=n("mrSG"),o=n("zVF4"),a=n("q/0M"),s=((i={})["no-app"]="No Firebase App '{$appName}' has been created - call Firebase App.initializeApp()",i["bad-app-name"]="Illegal App name: '{$appName}",i["duplicate-app"]="Firebase App named '{$appName}' already exists",i["app-deleted"]="Firebase App named '{$appName}' already deleted",i["duplicate-service"]="Firebase service named '{$appName}' already registered",i["invalid-app-argument"]="firebase.{$appName}() takes either no argument or a Firebase App instance.",i),u=new o.ErrorFactory("app","Firebase",s),c="[DEFAULT]",h=[],l=function(){function t(t,e,n){this.firebase_=n,this.isDeleted_=!1,this.services_={},this.name_=e.name,this.automaticDataCollectionEnabled_=e.automaticDataCollectionEnabled||!1,this.options_=o.deepCopy(t),this.INTERNAL={getUid:function(){return null},getToken:function(){return Promise.resolve(null)},addAuthTokenListener:function(t){h.push(t),setTimeout(function(){return t(null)},0)},removeAuthTokenListener:function(t){h=h.filter(function(e){return e!==t})}}}return Object.defineProperty(t.prototype,"automaticDataCollectionEnabled",{get:function(){return this.checkDestroyed_(),this.automaticDataCollectionEnabled_},set:function(t){this.checkDestroyed_(),this.automaticDataCollectionEnabled_=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this.checkDestroyed_(),this.name_},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"options",{get:function(){return this.checkDestroyed_(),this.options_},enumerable:!0,configurable:!0}),t.prototype.delete=function(){var t=this;return new Promise(function(e){t.checkDestroyed_(),e()}).then(function(){t.firebase_.INTERNAL.removeApp(t.name_);for(var e=[],n=0,i=Object.keys(t.services_);n<i.length;n++)for(var r=i[n],o=0,a=Object.keys(t.services_[r]);o<a.length;o++){var s=a[o];e.push(t.services_[r][s])}return Promise.all(e.filter(function(t){return"INTERNAL"in t}).map(function(t){return t.INTERNAL.delete()}))}).then(function(){t.isDeleted_=!0,t.services_={}})},t.prototype._getService=function(t,e){if(void 0===e&&(e=c),this.checkDestroyed_(),this.services_[t]||(this.services_[t]={}),!this.services_[t][e]){var n=e!==c?e:void 0,i=this.firebase_.INTERNAL.factories[t](this,this.extendApp.bind(this),n);this.services_[t][e]=i}return this.services_[t][e]},t.prototype._removeServiceInstance=function(t,e){void 0===e&&(e=c),this.services_[t]&&this.services_[t][e]&&delete this.services_[t][e]},t.prototype.extendApp=function(t){var e=this;o.deepExtend(this,t),t.INTERNAL&&t.INTERNAL.addAuthTokenListener&&(h.forEach(function(t){e.INTERNAL.addAuthTokenListener(t)}),h=[])},t.prototype.checkDestroyed_=function(){if(this.isDeleted_)throw u.create("app-deleted",{appName:this.name_})},t}();l.prototype.name&&l.prototype.options||l.prototype.delete;var f=new a.Logger("@firebase/app");
67/**
68 * @license
69 * Copyright 2019 Google Inc.
70 *
71 * Licensed under the Apache License, Version 2.0 (the "License");
72 * you may not use this file except in compliance with the License.
73 * You may obtain a copy of the License at
74 *
75 *   http://www.apache.org/licenses/LICENSE-2.0
76 *
77 * Unless required by applicable law or agreed to in writing, software
78 * distributed under the License is distributed on an "AS IS" BASIS,
79 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
80 * See the License for the specific language governing permissions and
81 * limitations under the License.
82 */if(o.isBrowser()&&void 0!==self.firebase){f.warn("\n    Warning: Firebase is already defined in the global scope. Please make sure\n    Firebase library is only loaded once.\n  ");var d=self.firebase.SDK_VERSION;d&&d.indexOf("LITE")>=0&&f.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 p=
83/**
84 * @license
85 * Copyright 2019 Google Inc.
86 *
87 * Licensed under the Apache License, Version 2.0 (the "License");
88 * you may not use this file except in compliance with the License.
89 * You may obtain a copy of the License at
90 *
91 *   http://www.apache.org/licenses/LICENSE-2.0
92 *
93 * Unless required by applicable law or agreed to in writing, software
94 * distributed under the License is distributed on an "AS IS" BASIS,
95 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
96 * See the License for the specific language governing permissions and
97 * limitations under the License.
98 */
99function t(){var e=function(t){var e={},n={},i={},r={__esModule:!0,initializeApp:function(n,i){void 0===i&&(i={}),"object"==typeof i&&null!==i||(i={name:i});var a=i;void 0===a.name&&(a.name=c);var s=a.name;if("string"!=typeof s||!s)throw u.create("bad-app-name",{appName:String(s)});if(o.contains(e,s))throw u.create("duplicate-app",{appName:s});var l=new t(n,a,r);return e[s]=l,h(l,"create"),l},app:a,apps:null,SDK_VERSION:"6.3.4",INTERNAL:{registerService:function(e,c,h,l,f){if(void 0===f&&(f=!1),n[e])throw u.create("duplicate-service",{appName:e});function d(t){if(void 0===t&&(t=a()),"function"!=typeof t[e])throw u.create("invalid-app-argument",{appName:e});return t[e]()}return n[e]=c,l&&(i[e]=l,s().forEach(function(t){l("create",t)})),void 0!==h&&o.deepExtend(d,h),r[e]=d,t.prototype[e]=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var i=this._getService.bind(this,e);return i.apply(this,f?t:[])},d},removeApp:function(t){h(e[t],"delete"),delete e[t]},factories:n,useAsService:l}};function a(t){if(t=t||c,!o.contains(e,t))throw u.create("no-app",{appName:t});return e[t]}function s(){return Object.keys(e).map(function(t){return e[t]})}function h(t,e){for(var r=0,o=Object.keys(n);r<o.length;r++){var a=l(0,o[r]);if(null===a)return;i[a]&&i[a](e,t)}}function l(t,e){return"serverAuth"===e?null:e}return r.default=r,Object.defineProperty(r,"apps",{get:s}),a.App=t,r}(l);return e.INTERNAL=r.__assign({},e.INTERNAL,{createFirebaseNamespace:t,extendNamespace:function(t){o.deepExtend(e,t)},createSubscribe:o.createSubscribe,ErrorFactory:o.ErrorFactory,deepExtend:o.deepExtend}),e}
100/**
101 * @license
102 * Copyright 2017 Google Inc.
103 *
104 * Licensed under the Apache License, Version 2.0 (the "License");
105 * you may not use this file except in compliance with the License.
106 * You may obtain a copy of the License at
107 *
108 *   http://www.apache.org/licenses/LICENSE-2.0
109 *
110 * Unless required by applicable law or agreed to in writing, software
111 * distributed under the License is distributed on an "AS IS" BASIS,
112 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
113 * See the License for the specific language governing permissions and
114 * limitations under the License.
115 */(),v=p.initializeApp;p.initializeApp=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return o.isNode()&&f.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      '),v.apply(void 0,t)};var b=p;e.default=b,e.firebase=b},yk7H:function(t,e,n){"use strict";t.exports={environment:"development",baseURL:"localhost:3000",gaTrackingId:"UA-150413471-1",freshchatToken:"280c5add-ea4f-4ddf-8628-77dfae44661d",apiURL:"https://staging-api-178.rupiahtoken.com",firebase:{apiKey:"AIzaSyDXZKyy99hoe5DL9LCUsIaDqiuVVMOgw2A",authDomain:"rupiahtoken-staging.firebaseapp.com",databaseURL:"https://rupiahtoken-staging.firebaseio.com",projectId:"rupiahtoken-staging",storageBucket:"rupiahtoken-staging.appspot.com",messagingSenderId:"56608955860",appId:"1:56608955860:web:7f2760391af28afa"}}},zVF4:function(t,e,n){"use strict";
115(function(t){Object.defineProperty(e,"__esModule",{value:!0});var i=n("mrSG"),r={NODE_CLIENT:!1,NODE_ADMIN:!1,SDK_VERSION:"${JSCORE_VERSION}"},o=function(t,e){if(!t)throw a(e)},a=function(t){return new Error("Firebase Database ("+r.SDK_VERSION+") INTERNAL ASSERT FAILED: "+t)},s=function(t){for(var e=[],n=0,i=0;i<t.length;i++){var r=t.charCodeAt(i);r<128?e[n++]=r:r<2048?(e[n++]=r>>6|192,e[n++]=63&r|128):55296==(64512&r)&&i+1<t.length&&56320==(64512&t.charCodeAt(i+1))?(r=65536+((1023&r)<<10)+(1023&t.charCodeAt(++i)),e[n++]=r>>18|240,e[n++]=r>>12&63|128,e[n++]=r>>6&63|128,e[n++]=63&r|128):(e[n++]=r>>12|224,e[n++]=r>>6&63|128,e[n++]=63&r|128)}return e},u={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(t,e){if(!Array.isArray(t))throw Error("encodeByteArray takes an array as a parameter");this.init_();for(var n=e?this.byteToCharMapWebSafe_:this.byteToCharMap_,i=[],r=0;r<t.length;r+=3){var o=t[r],a=r+1<t.length,s=a?t[r+1]:0,u=r+2<t.length,c=u?t[r+2]:0,h=o>>2,l=(3&o)<<4|s>>4,f=(15&s)<<2|c>>6,d=63&c;u||(d=64,a||(f=64)),i.push(n[h],n[l],n[f],n[d])}return i.join("")},encodeString:function(t,e){return this.HAS_NATIVE_SUPPORT&&!e?btoa(t):this.encodeByteArray(s(t),e)},decodeString:function(t,e){return this.HAS_NATIVE_SUPPORT&&!e?atob(t):function(t){for(var e=[],n=0,i=0;n<t.length;){var r=t[n++];if(r<128)e[i++]=String.fromCharCode(r);else if(r>191&&r<224){var o=t[n++];e[i++]=String.fromCharCode((31&r)<<6|63&o)}else if(r>239&&r<365){var a=((7&r)<<18|(63&(o=t[n++]))<<12|(63&(s=t[n++]))<<6|63&t[n++])-65536;e[i++]=String.fromCharCode(55296+(a>>10)),e[i++]=String.fromCharCode(56320+(1023&a))}else{o=t[n++];var s=t[n++];e[i++]=String.fromCharCode((15&r)<<12|(63&o)<<6|63&s)}}return e.join("")}(this.decodeStringToByteArray(t,e))},decodeStringToByteArray:function(t,e){this.init_();for(var n=e?this.charToByteMapWebSafe_:this.charToByteMap_,i=[],r=0;r<t.length;){var o=n[t.charAt(r++)],a=r<t.length?n[t.charAt(r)]:0,s=++r<t.length?n[t.charAt(r)]:64,u=++r<t.length?n[t.charAt(r)]:64;if(++r,null==o||null==a||null==s||null==u)throw Error();var c=o<<2|a>>4;if(i.push(c),64!==s){var h=a<<4&240|s>>2;if(i.push(h),64!==u){var l=s<<6&192|u;i.push(l)}}}return i},init_:function(){if(!this.byteToCharMap_){this.byteToCharMap_={},this.charToByteMap_={},this.byteToCharMapWebSafe_={},this.charToByteMapWebSafe_={};for(var t=0;t<this.ENCODED_VALS.length;t++)this.byteToCharMap_[t]=this.ENCODED_VALS.charAt(t),this.charToByteMap_[this.byteToCharMap_[t]]=t,this.byteToCharMapWebSafe_[t]=this.ENCODED_VALS_WEBSAFE.charAt(t),this.charToByteMapWebSafe_[this.byteToCharMapWebSafe_[t]]=t,t>=this.ENCODED_VALS_BASE.length&&(this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(t)]=t,this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(t)]=t)}}},c=function(t){try{return u.decodeString(t,!0)}catch(t){}return null};
116/**
117 * @license
118 * Copyright 2017 Google Inc.
119 *
120 * Licensed under the Apache License, Version 2.0 (the "License");
121 * you may not use this file except in compliance with the License.
122 * You may obtain a copy of the License at
123 *
124 *   http://www.apache.org/licenses/LICENSE-2.0
125 *
126 * Unless required by applicable law or agreed to in writing, software
127 * distributed under the License is distributed on an "AS IS" BASIS,
128 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
129 * See the License for the specific language governing permissions and
130 * limitations under the License.
131 */function h(t,e){if(!(e instanceof Object))return e;switch(e.constructor){case Date:return new Date(e.getTime());case Object:void 0===t&&(t={});break;case Array:t=[];break;default:return e}for(var n in e)e.hasOwnProperty(n)&&(t[n]=h(t[n],e[n]));return t}
132/**
133 * @license
134 * Copyright 2017 Google Inc.
135 *
136 * Licensed under the Apache License, Version 2.0 (the "License");
137 * you may not use this file except in compliance with the License.
138 * You may obtain a copy of the License at
139 *
140 *   http://www.apache.org/licenses/LICENSE-2.0
141 *
142 * Unless required by applicable law or agreed to in writing, software
143 * distributed under the License is distributed on an "AS IS" BASIS,
144 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
145 * See the License for the specific language governing permissions and
146 * limitations under the License.
147 */var l=function(){function t(){var t=this;this.reject=function(){},this.resolve=function(){},this.promise=new Promise(function(e,n){t.resolve=e,t.reject=n})}return t.prototype.wrapCallback=function(t){var e=this;return function(n,i){n?e.reject(n):e.resolve(i),"function"==typeof t&&(e.promise.catch(function(){}),1===t.length?t(n):t(n,i))}},t}();
148/**
149 * @license
150 * Copyright 2017 Google Inc.
151 *
152 * Licensed under the Apache License, Version 2.0 (the "License");
153 * you may not use this file except in compliance with the License.
154 * You may obtain a copy of the License at
155 *
156 *   http://www.apache.org/licenses/LICENSE-2.0
157 *
158 * Unless required by applicable law or agreed to in writing, software
159 * distributed under the License is distributed on an "AS IS" BASIS,
160 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
161 * See the License for the specific language governing permissions and
162 * limitations under the License.
163 */function f(){return"undefined"!=typeof navigator&&"string"==typeof navigator.userAgent?navigator.userAgent:""}
164/**
165 * @license
166 * Copyright 2017 Google Inc.
167 *
168 * Licensed under the Apache License, Version 2.0 (the "License");
169 * you may not use this file except in compliance with the License.
170 * You may obtain a copy of the License at
171 *
172 *   http://www.apache.org/licenses/LICENSE-2.0
173 *
174 * Unless required by applicable law or agreed to in writing, software
175 * distributed under the License is distributed on an "AS IS" BASIS,
176 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
177 * See the License for the specific language governing permissions and
178 * limitations under the License.
179 */
180var d="FirebaseError",p=function(t){function e(n,i){var r=t.call(this,i)||this;return r.code=n,r.name=d,Object.setPrototypeOf(r,e.prototype),Error.captureStackTrace&&Error.captureStackTrace(r,v.prototype.create),r}return i.__extends(e,t),e}(Error),v=function(){function t(t,e,n){this.service=t,this.serviceName=e,this.errors=n}return t.prototype.create=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];for(var i=e[0]||{},r=this.service+"/"+t,o=this.errors[t],a=o?b(o,i):"Error",s=this.serviceName+": "+a+" ("+r+").",u=new p(r,s),c=0,h=Object.keys(i);c<h.length;c++){var l=h[c];"_"!==l.slice(-1)&&(u[l]=i[l])}return u},t}();function b(t,e){return t.replace(m,function(t,n){var i=e[n];return null!=i?i.toString():"<"+n+"?>"})}var m=/\{\$([^}]+)}/g;
181/**
182 * @license
183 * Copyright 2017 Google Inc.
184 *
185 * Licensed under the Apache License, Version 2.0 (the "License");
186 * you may not use this file except in compliance with the License.
187 * You may obtain a copy of the License at
188 *
189 *   http://www.apache.org/licenses/LICENSE-2.0
190 *
191 * Unless required by applicable law or agreed to in writing, software
192 * distributed under the License is distributed on an "AS IS" BASIS,
193 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
194 * See the License for the specific language governing permissions and
195 * limitations under the License.
196 */function g(t){return JSON.parse(t)}
197/**
198 * @license
199 * Copyright 2017 Google Inc.
200 *
201 * Licensed under the Apache License, Version 2.0 (the "License");
202 * you may not use this file except in compliance with the License.
203 * You may obtain a copy of the License at
204 *
205 *   http://www.apache.org/licenses/LICENSE-2.0
206 *
207 * Unless required by applicable law or agreed to in writing, software
208 * distributed under the License is distributed on an "AS IS" BASIS,
209 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
210 * See the License for the specific language governing permissions and
211 * limitations under the License.
212 */
213var y=function(t){var e={},n={},i={},r="";try{var o=t.split(".");e=g(c(o[0])||""),n=g(c(o[1])||""),r=o[2],i=n.d||{},delete n.d}catch(t){}return{header:e,claims:n,data:i,signature:r}},w=function(){function t(){this.chain_=[],this.buf_=[],this.W_=[],this.pad_=[],this.inbuf_=0,this.total_=0,this.blockSize=64,this.pad_[0]=128;for(var t=1;t<this.blockSize;++t)this.pad_[t]=0;this.reset()}return t.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},t.prototype.compress_=function(t,e){e||(e=0);var n=this.W_;if("string"==typeof t)for(var i=0;i<16;i++)n[i]=t.charCodeAt(e)<<24|t.charCodeAt(e+1)<<16|t.charCodeAt(e+2)<<8|t.charCodeAt(e+3),e+=4;else for(i=0;i<16;i++)n[i]=t[e]<<24|t[e+1]<<16|t[e+2]<<8|t[e+3],e+=4;for(i=16;i<80;i++){var r=n[i-3]^n[i-8]^n[i-14]^n[i-16];n[i]=4294967295&(r<<1|r>>>31)}var o,a,s=this.chain_[0],u=this.chain_[1],c=this.chain_[2],h=this.chain_[3],l=this.chain_[4];for(i=0;i<80;i++)i<40?i<20?(o=h^u&(c^h),a=1518500249):(o=u^c^h,a=1859775393):i<60?(o=u&c|h&(u|c),a=2400959708):(o=u^c^h,a=3395469782),r=(s<<5|s>>>27)+o+l+a+n[i]&4294967295,l=h,h=c,c=4294967295&(u<<30|u>>>2),u=s,s=r;this.chain_[0]=this.chain_[0]+s&4294967295,this.chain_[1]=this.chain_[1]+u&4294967295,this.chain_[2]=this.chain_[2]+c&4294967295,this.chain_[3]=this.chain_[3]+h&4294967295,this.chain_[4]=this.chain_[4]+l&4294967295},t.prototype.update=function(t,e){if(null!=t){void 0===e&&(e=t.length);for(var n=e-this.blockSize,i=0,r=this.buf_,o=this.inbuf_;i<e;){if(0===o)for(;i<=n;)this.compress_(t,i),i+=this.blockSize;if("string"==typeof t){for(;i<e;)if(r[o]=t.charCodeAt(i),++i,++o===this.blockSize){this.compress_(r),o=0;break}}else for(;i<e;)if(r[o]=t[i],++i,++o===this.blockSize){this.compress_(r),o=0;break}}this.inbuf_=o,this.total_+=e}},t.prototype.digest=function(){var t=[],e=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&e,e/=256;this.compress_(this.buf_);var i=0;for(n=0;n<5;n++)for(var r=24;r>=0;r-=8)t[i]=this.chain_[n]>>r&255,++i;return t},t}(),S=function(){function t(t,e){var n=this;this.observers=[],this.unsubscribes=[],this.observerCount=0,this.task=Prom
213ise.resolve(),this.finalized=!1,this.onNoObservers=e,this.task.then(function(){t(n)}).catch(function(t){n.error(t)})}return t.prototype.next=function(t){this.forEachObserver(function(e){e.next(t)})},t.prototype.error=function(t){this.forEachObserver(function(e){e.error(t)}),this.close(t)},t.prototype.complete=function(){this.forEachObserver(function(t){t.complete()}),this.close()},t.prototype.subscribe=function(t,e,n){var i,r=this;if(void 0===t&&void 0===e&&void 0===n)throw new Error("Missing Observer.");void 0===(i=function(t,e){if("object"!=typeof t||null===t)return!1;for(var n=0,i=["next","error","complete"];n<i.length;n++){var r=i[n];if(r in t&&"function"==typeof t[r])return!0}return!1}(t)?t:{next:t,error:e,complete:n}).next&&(i.next=E),void 0===i.error&&(i.error=E),void 0===i.complete&&(i.complete=E);var o=this.unsubscribeOne.bind(this,this.observers.length);return this.finalized&&this.task.then(function(){try{r.finalError?i.error(r.finalError):i.complete()}catch(t){}}),this.observers.push(i),o},t.prototype.unsubscribeOne=function(t){void 0!==this.observers&&void 0!==this.observers[t]&&(delete this.observers[t],this.observerCount-=1,0===this.observerCount&&void 0!==this.onNoObservers&&this.onNoObservers(this))},t.prototype.forEachObserver=function(t){if(!this.finalized)for(var e=0;e<this.observers.length;e++)this.sendOne(e,t)},t.prototype.sendOne=function(t,e){var n=this;this.task.then(function(){if(void 0!==n.observers&&void 0!==n.observers[t])try{e(n.observers[t])}catch(t){"undefined"!=typeof console&&console.error}})},t.prototype.close=function(t){var e=this;this.finalized||(this.finalized=!0,void 0!==t&&(this.finalError=t),this.task.then(function(){e.observers=void 0,e.onNoObservers=void 0}))},t}();function E(){}
214/**
215 * @license
216 * Copyright 2017 Google Inc.
217 *
218 * Licensed under the Apache License, Version 2.0 (the "License");
219 * you may not use this file except in compliance with the License.
220 * You may obtain a copy of the License at
221 *
222 *   http://www.apache.org/licenses/LICENSE-2.0
223 *
224 * Unless required by applicable law or agreed to in writing, software
225 * distributed under the License is distributed on an "AS IS" BASIS,
226 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
227 * See the License for the specific language governing permissions and
228 * limitations under the License.
229 */function I(t,e,n){var i="";switch(e){case 1:i=n?"first":"First";break;case 2:i=n?"second":"Second";break;case 3:i=n?"third":"Third";break;case 4:i=n?"fourth":"Fourth";break;default:throw new Error("errorPrefix called with argumentNumber > 4.  Need to update it?")}return t+" failed: "+(i+" argument ")}e.CONSTANTS=r,e.Deferred=l,e.ErrorFactory=v,e.FirebaseError=p,e.Sha1=w,e.assert=o,e.assertionError=a,e.async=function(t,e){return function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];Promise.resolve(!0).then(function(){t.apply(void 0,n)}).catch(function(t){e&&e(t)})}},e.base64=u,e.base64Decode=c,e.base64Encode=function(t){var e=s(t);return u.encodeByteArray(e,!0)},e.contains=
230/**
231 * @license
232 * Copyright 2017 Google Inc.
233 *
234 * Licensed under the Apache License, Version 2.0 (the "License");
235 * you may not use this file except in compliance with the License.
236 * You may obtain a copy of the License at
237 *
238 *   http://www.apache.org/licenses/LICENSE-2.0
239 *
240 * Unless required by applicable law or agreed to in writing, software
241 * distributed under the License is distributed on an "AS IS" BASIS,
242 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
243 * See the License for the specific language governing permissions and
244 * limitations under the License.
245 */
246function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.createSubscribe=function(t,e){var n=new S(t,e);return n.subscribe.bind(n)},e.decode=y,e.deepCopy=
247/**
248 * @license
249 * Copyright 2017 Google Inc.
250 *
251 * Licensed under the Apache License, Version 2.0 (the "License");
252 * you may not use this file except in compliance with the License.
253 * You may obtain a copy of the License at
254 *
255 *   http://www.apache.org/licenses/LICENSE-2.0
256 *
257 * Unless required by applicable law or agreed to in writing, softw
257are
258 * distributed under the License is distributed on an "AS IS" BASIS,
259 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
260 * See the License for the specific language governing permissions and
261 * limitations under the License.
262 */
263function(t){return h(void 0,t)},e.deepExtend=h,e.errorPrefix=I,e.getUA=f,e.isAdmin=function(t){var e=y(t).claims;return"object"==typeof e&&!0===e.admin},e.isBrowser=function(){return"object"==typeof self&&self.self===self},e.isEmpty=function(t){for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e))return!1;return!0},e.isMobileCordova=function(){return!!(window.cordova||window.phonegap||window.PhoneGap)&&/ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(f())},e.isNode=function(){try{return"[object process]"===Object.prototype.toString.call(t.process)}catch(t){return!1}},e.isNodeSdk=function(){return!0===r.NODE_CLIENT||!0===r.NODE_ADMIN},e.isReactNative=function(){return"object"==typeof navigator&&"ReactNative"===navigator.product},e.isValidFormat=function(t){var e=y(t).claims;return!!e&&"object"==typeof e&&e.hasOwnProperty("iat")},e.isValidTimestamp=function(t){var e=y(t).claims,n=Math.floor((new Date).getTime()/1e3),i=0,r=0;return"object"==typeof e&&(e.hasOwnProperty("nbf")?i=e.nbf:e.hasOwnProperty("iat")&&(i=e.iat),r=e.hasOwnProperty("exp")?e.exp:i+86400),!!n&&!!i&&!!r&&n>=i&&n<=r},e.issuedAtTime=function(t){var e=y(t).claims;return"object"==typeof e&&e.hasOwnProperty("iat")?e.iat:null},e.jsonEval=g,e.map=function(t,e,n){var i={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(i[r]=e.call(n,t[r],r,t));return i}
264/**
265 * @license
266 * Copyright 2017 Google Inc.
267 *
268 * Licensed under the Apache License, Version 2.0 (the "License");
269 * you may not use this file except in compliance with the License.
270 * You may obtain a copy of the License at
271 *
272 *   http://www.apache.org/licenses/LICENSE-2.0
273 *
274 * Unless required by applicable law or agreed to in writing, software
275 * distributed under the License is distributed on an "AS IS" BASIS,
276 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
277 * See the License for the specific language governing permissions and
278 * limitations under the License.
279 */,e.querystring=function(t){for(var e=[],n=function(t,n){Array.isArray(n)?n.forEach(function(n){e.push(encodeURIComponent(t)+"="+encodeURIComponent(n))}):e.push(encodeURIComponent(t)+"="+encodeURIComponent(n))},i=0,r=Object.entries(t);i<r.length;i++){var o=r[i];n(o[0],o[1])}return e.length?"&"+e.join("&"):""},e.querystringDecode=function(t){var e={};return t.replace(/^\?/,"").split("&").forEach(function(t){if(t){var n=t.split("=");e[n[0]]=n[1]}}),e}
280/**
281 * @license
282 * Copyright 2017 Google Inc.
283 *
284 * Licensed under the Apache License, Version 2.0 (the "License");
285 * you may not use this file except in compliance with the License.
286 * You may obtain a copy of the License at
287 *
288 *   http://www.apache.org/licenses/LICENSE-2.0
289 *
290 * Unless required by applicable law or agreed to in writing, software
291 * distributed under the License is distributed on an "AS IS" BASIS,
292 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
293 * See the License for the specific language governing permissions and
294 * limitations under the License.
295 */,e.safeGet=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)?t[e]:void 0},e.stringLength=function(t){for(var e=0,n=0;n<t.length;n++){var i=t.charCodeAt(n);i<128?e++:i<2048?e+=2:i>=55296&&i<=56319?(e+=4,n++):e+=3}return e},e.stringToByteArray=function(t){for(var e=[],n=0,i=0;i<t.length;i++){var r=t.charCodeAt(i);if(r>=55296&&r<=56319){var a=r-55296;o(++i<t.length,"Surrogate pair missing trail surrogate."),r=65536+(a<<10)+(t.charCodeAt(i)-56320)}r<128?e[n++]=r:r<2048?(e[n++]=r>>6|192,e[n++]=63&r|128):r<65536?(e[n++]=r>>12|224,e[n++]=r>>6&63|128,e[n++]=63&r|128):(e[n++]=r>>18|240,e[n++]=r>>12&63|128,e[n++]=r>>6&63|128,e[n++]=63&r|128)}return e},e.stringify=function(t){return JSON.stringify(t)},e.validateArgCount=function(t,e,n,i){var r;if(i<e?r="at least "+e:i>n&&(r=0===n?"none":"no more than "+n),r)throw new Error(t+" failed: Was called with "+i+(1===i?" argument.":" arguments.")+" Expects "+r+".")},e.validateCallback=function(t,e,n,i){if((!i||n)&&"function"!=typeof n)throw new Error(I(t,e,i)+"must be a valid function.")},e.validateContextObject=function(t,e,n,i){if((!i||n)&&("object"!=typeof n||null===n))throw new Error(I(t,e,i)+"must be a valid context object.")}
296/**
297 * @license
298 * Copyright 2017 Google Inc.
299 *
300 * Licensed under the Apache License, Version 2.0 (the "License");
301 * you may not use this file except in compliance with the License.
302 * You may obtain a copy of the License at
303 *
304 *   http://www.apache.org/licenses/LICENSE-2.0
305 *
306 * Unless required by applicable law or agreed to in writing, software
307 * distributed under the License is distributed on an "AS IS" BASIS,
308 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
309 * See the License for the specific language governing permissions and
310 * limitations under the License.
311 */,e.validateNamespace=function(t,e,n,i){if((!i||n)&&"string"!=typeof n)throw new Error(I(t,e,i)+"must be a valid firebase namespace.")}}).call(this,n("3r9c"))}},[["ZtPQ",1,0]]]);
312//# sourceMappingURL=reset.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.