{"version":3,"sources":["webpack:////var/www/chintaidx-kanri-owner-admin-production/shared/node_modules/@firebase/util/dist/index.esm.js","webpack:////var/www/chintaidx-kanri-owner-admin-production/shared/node_modules/@firebase/auth/dist/auth.esm.js","webpack:////var/www/chintaidx-kanri-owner-admin-production/shared/node_modules/@firebase/component/dist/index.esm.js","webpack:////var/www/chintaidx-kanri-owner-admin-production/shared/node_modules/@firebase/logger/dist/index.esm.js","webpack:////var/www/chintaidx-kanri-owner-admin-production/shared/node_modules/@firebase/app/dist/index.esm.js"],"names":["_typeof","obj","Symbol","iterator","constructor","prototype","stringToByteArray$1","str","out","p","i","length","c","charCodeAt","deepCopy","value","deepExtend","undefined","target","source","Object","Date","getTime","Array","prop","hasOwnProperty","Deferred","_this","this","reject","resolve","promise","Promise","wrapCallback","callback","error","isNode","toString","call","global","process","e","isBrowser","self","FirebaseError","_super","code","message","customData","name","setPrototypeOf","Error","captureStackTrace","ErrorFactory","create","service","serviceName","errors","data","_i","arguments","fullCode","template","replaceTemplate","fullMessage","replace","PATTERN","_","key","String","contains","Sha1","chain_","buf_","W_","pad_","inbuf_","total_","blockSize","reset","compress_","buf","offset","W","t","f","k","a","b","d","update","bytes","lengthMinusBlock","n","inbuf","digest","totalBits","j","createSubscribe","executor","onNoObservers","proxy","ObserverProxy","subscribe","bind","observers","unsubscribes","observerCount","task","finalized","then","next","forEachObserver","observer","close","complete","nextOrObserver","methods","methods_1","method","implementsAnyMethods","noop","unsub","unsubscribeOne","finalError","push","fn","sendOne","console","err","aa","defineProperties","defineProperty","ca","window","Math","globalThis","ba","ea","done","fa","split","configurable","writable","da","g","h","m","setTimeout","v","TypeError","s","u","l","Ra","A","Q","ya","Ad","B","race","all","ha","ia","ja","ka","querySelector","nonce","getAttribute","test","la","ma","isArray","na","oa","pa","qa","ra","random","sa","apply","ta","slice","unshift","q","Function","indexOf","ua","va","now","r","bb","wa","xa","za","Aa","substring","serverResponse","w","toJSON","Da","timeout","Ba","ld","Ua","$a","Xa","id","sd","ud","vd","Ca","firebaseEndpoint","secureTokenEndpoint","identityPlatformEndpoint","Ea","$goog_Thenable","stack","Fa","Ga","Ha","Ia","Ja","get","La","Ka","Ma","Na","add","set","Oa","forEach","Qa","filter","map","Sa","some","Va","Wa","splice","Pa","Ya","concat","Za","ib","trim","exec","ab","cb","db","eb","fb","gb","x","hb","jb","navigator","kb","userAgent","y","lb","mb","nb","ob","z","pb","ownerDocument","defaultView","parentWindow","Element","Location","displayName","qb","rb","sb","tb","ub","vb","trustedTypes","createPolicy","createHTML","createScript","createScriptURL","wb","xb","yb","zb","Ab","Cb","Bb","JSON","stringify","encodeURIComponent","C","Db","Eb","Fb","Gb","Hb","Ib","match","Jb","Kb","Lb","Mb","Pb","open","Qb","shift","join","Rb","Sb","bc","Vb","Wb","Xb","Yb","Zb","toLowerCase","$b","ac","document","documentMode","cc","dc","ec","parseFloat","gc","Ub","fc","Tb","max","parseInt","hc","ic","OffscreenCanvas","getContext","jc","Number","kc","getElementById","lc","style","cssText","className","htmlFor","mc","setAttribute","lastIndexOf","rc","uc","cellpadding","cellspacing","colspan","frameborder","height","maxlength","role","rowspan","type","usemap","valign","width","pc","appendChild","createTextNode","nodeType","item","oc","contentType","createElement","qc","tc","xc","setImmediate","Window","MessageChannel","postMessage","addEventListener","display","documentElement","contentWindow","location","protocol","host","origin","port1","onmessage","port2","sc","vc","wc","D","yc","zc","Ac","Bc","Cc","Dc","Ec","Fc","E","F","Gc","Hc","Jc","reason","Lc","Pc","Kc","$c","ad","Tc","Qc","Rc","Nc","Oc","Sc","o","cancel","Mc","Uc","Vc","Wc","Xc","Yc","freeze","Zc","removeEventListener","G","defaultPrevented","bd","relatedTarget","button","screenY","screenX","clientY","clientX","metaKey","shiftKey","altKey","ctrlKey","pointerId","pointerType","changedTouches","srcElement","nodeName","fromElement","toElement","pageX","pageY","cd","preventDefault","2","3","4","returnValue","keyCode","dd","ed","fd","listener","src","capture","gd","hd","jd","kd","nd","once","od","pd","qd","rd","td","attachEvent","addListener","removeListener","md","wd","xd","yd","detachEvent","zd","Bd","parentNode","Cd","handleEvent","H","Dd","Ed","Fd","clearTimeout","Gd","X","Hd","Y","Jd","Kd","Ld","dispatchEvent","clear","Md","Od","Pd","Qd","Rd","Sd","Td","Ud","isNaN","ee","ie","ge","$d","Vd","ae","I","be","J","ce","decodeURI","decodeURIComponent","encodeURI","de","Wd","charAt","Xd","Yd","Zd","substr","pop","Nd","fe","he","je","ke","le","Boolean","ne","valueOf","isFinite","me","oe","pe","qe","K","re","href","se","xe","ye","ze","floor","screen","availHeight","availWidth","top","left","resizable","statusbar","toolbar","ve","Ae","scrollbars","standalone","noreferrer","createEvent","initMouseEvent","opener","write","Nb","noopener","focus","Ce","De","Ee","readyState","Ge","He","Ie","Je","WorkerGlobalScope","importScripts","Ke","INTERNAL","Le","we","Ne","Oe","sort","L","Pe","localStorage","Qe","setItem","removeItem","indexedDB","Re","Se","Te","Ue","Ve","We","parse","Xe","Ye","___jsl","CP","Ze","$e","visibilityState","bf","toUTCString","cf","onLine","connection","min","hf","ff","gf","warn","jf","enumerable","abcd","M","N","kf","nf","of","pf","qf","rf","sf","tf","uf","uid","factorId","enrollmentTime","vf","wf","xf","yf","zf","Af","Bf","Cf","Df","Ef","Ff","Gf","Hf","If","phoneNumber","Jf","Kf","Lf","Mf","Nf","apiKey","operation","continueUrl","Of","languageCode","Pf","tenantId","Qf","recoverEmail","resetPassword","revertSecondFactorAddition","signIn","verifyAndChangeEmail","verifyEmail","Rf","Sf","Tf","Uf","Vf","Wf","Xf","Yf","Zf","$f","ag","bg","canHandleCodeInApp","androidPackageName","androidMinimumVersion","androidInstallApp","iOSBundleId","dynamicLinkDomain","dg","eg","gg","fg","hg","ig","sub","iss","aud","exp","iat","provider_id","firebase","sign_in_provider","tenant","is_anonymous","jg","fromCharCode","T","kg","lg","mg","ng","og","pg","qg","rg","sg","tg","ug","vg","wg","isNewUser","kind","rawUserInfo","providerId","profile","login","screenName","xg","yg","zg","Ag","Bg","Cg","Dg","Eg","Gg","pendingToken","requestUri","Jg","signInMethod","Kg","idToken","accessToken","oauthToken","oauthTokenSecret","Lg","id_token","access_token","secret","oauth_token_secret","postBody","Mg","oauthIdToken","oauthAccessToken","Ng","isOAuthProvider","Og","Pg","Qg","Rg","credential","Sg","Tg","Ug","Vg","Wg","Xg","Yg","Zg","EMAIL_LINK_SIGN_IN_METHOD","EMAIL_PASSWORD_SIGN_IN_METHOD","dh","email","password","eh","fh","gh","kh","verificationId","verificationCode","temporaryProof","hh","sessionInfo","lh","auth","ph","qh","rawNonce","rh","sh","th","eventId","urlResponse","sessionId","uh","multiFactorSession","pendingCredential","Fg","Hg","Ig","O","$g","oobCode","ah","bh","ch","PROVIDER_ID","ih","jh","verify","session","oj","phoneSessionInfo","mh","phoneEnrollmentInfo","recaptchaToken","qj","phoneResponseInfo","nh","mfaPendingCredential","mfaEnrollmentId","multiFactorHint","multiFactorUid","phoneSignInInfo","mj","oh","PHONE_SIGN_IN_METHOD","getUid","Ch","vh","xh","yh","zh","Ah","Bh","Dh","Eh","XMLHttpRequest","ActiveXObject","Fh","Gh","XDomainRequest","onreadystatechange","responseType","responseText","response","status","statusText","onload","onerror","onprogress","ontimeout","Hh","Ih","send","abort","setRequestHeader","getResponseHeader","getAllResponseHeaders","Kh","Lh","Jh","Mh","Nh","Oh","Ph","log","Qh","Rh","Sh","Th","Uh","Vh","Wh","Xh","Headers","$h","read","Zh","Yh","ai","headers","P","bi","S","credentials","cache","body","fetch","Request","arrayBuffer","ReadableStream","getReader","TextDecoder","text","decode","Uint8Array","stream","append","entries","ci","di","ei","toUpperCase","fi","gi","Id","Ta","FormData","withCredentials","hi","ii","ji","ki","li","mi","ni","pi","qi","ti","ui","si","vi","xi","yi","zi","Ai","ri","getResponse","mozResponseArrayBuffer","Bi","Ci","Di","Ei","Fi","attributes","charset","Ob","getElementsByTagName","Gi","tagName","removeChild","Hi","Ii","secureTokenTimeout","Ji","secureTokenHeaders","Ki","firebaseTimeout","Li","firebaseHeaders","Mi","node","Ni","Oi","Pi","Qi","url","Ri","Si","ue","gapi","client","request","Vi","wi","Ui","Ti","oi","Yi","Xi","Zi","$i","ej","setApiKey","getToken","setToken","path","authType","fj","gj","hj","photoUrl","pj","phoneVerificationInfo","tj","uj","vj","needConfirmation","errorMessage","wj","returnIdpCredential","xj","yj","autoCreate","zj","Aj","deleteAttribute","requestType","ij","jj","kj","newEmail","lj","nj","Bj","newPassword","Cj","Dj","endpoint","Z","Ej","V","bj","Fj","sj","deleteProvider","Gj","Hj","Ij","dj","Jj","recaptchaSiteKey","Kj","token","USER_NOT_FOUND","Lj","refreshToken","mf","returnSecureToken","keyInvalid","ipRefererBlocked","INVALID_CUSTOM_TOKEN","CREDENTIAL_MISMATCH","MISSING_CUSTOM_TOKEN","INVALID_IDENTIFIER","MISSING_CONTINUE_URI","INVALID_EMAIL","INVALID_PASSWORD","USER_DISABLED","MISSING_PASSWORD","EMAIL_EXISTS","PASSWORD_LOGIN_DISABLED","INVALID_IDP_RESPONSE","INVALID_PENDING_TOKEN","FEDERATED_USER_ID_ALREADY_LINKED","MISSING_OR_INVALID_NONCE","INVALID_MESSAGE_PAYLOAD","INVALID_RECIPIENT_EMAIL","INVALID_SENDER","EMAIL_NOT_FOUND","RESET_PASSWORD_EXCEED_LIMIT","EXPIRED_OOB_CODE","INVALID_OOB_CODE","MISSING_OOB_CODE","INVALID_PROVIDER_ID","CREDENTIAL_TOO_OLD_LOGIN_AGAIN","INVALID_ID_TOKEN","TOKEN_EXPIRED","CORS_UNSUPPORTED","DYNAMIC_LINK_NOT_ACTIVATED","INVALID_APP_ID","TOO_MANY_ATTEMPTS_TRY_LATER","WEAK_PASSWORD","OPERATION_NOT_ALLOWED","USER_CANCELLED","CAPTCHA_CHECK_FAILED","INVALID_APP_CREDENTIAL","INVALID_CODE","INVALID_PHONE_NUMBER","INVALID_SESSION_INFO","INVALID_TEMPORARY_PROOF","MISSING_APP_CREDENTIAL","MISSING_CODE","MISSING_PHONE_NUMBER","MISSING_SESSION_INFO","QUOTA_EXCEEDED","SESSION_EXPIRED","REJECTED_CREDENTIAL","INVALID_CONTINUE_URI","MISSING_ANDROID_PACKAGE_NAME","MISSING_IOS_BUNDLE_ID","UNAUTHORIZED_DOMAIN","INVALID_DYNAMIC_LINK_DOMAIN","INVALID_OAUTH_CLIENT_ID","INVALID_CERT_HASH","UNSUPPORTED_TENANT_OPERATION","INVALID_TENANT_ID","TENANT_ID_MISMATCH","ADMIN_ONLY_OPERATION","INVALID_MFA_PENDING_CREDENTIAL","MFA_ENROLLMENT_NOT_FOUND","MISSING_MFA_PENDING_CREDENTIAL","MISSING_MFA_ENROLLMENT_ID","EMAIL_CHANGE_NEEDS_VERIFICATION","SECOND_FACTOR_EXISTS","SECOND_FACTOR_LIMIT_EXCEEDED","UNSUPPORTED_FIRST_FACTOR","UNVERIFIED_EMAIL","Mj","Uj","Tj","Sj","where","messageHandlersFilter","position","dontclear","restyle","setHideOnLeave","Pj","ping","Nj","Vj","Wj","Xj","app","Yj","Zj","authorizedDomains","cj","RegExp","ak","register","Rj","authEvent","bk","dk","ek","fk","reactNative","AsyncStorage","gk","Qj","webStorageSupport","ck","closed","Be","getItem","U","rk","hk","jk","kk","lk","mk","pow","start","messageChannel","onMessage","eventType","nk","ok","pk","ik","qk","keyProcessed","serviceWorker","ready","active","ef","fulfilled","tk","onupgradeneeded","result","createObjectStore","keyPath","onsuccess","objectStoreNames","deleteDatabase","sk","uk","vk","wk","objectStore","xk","transaction","yk","zk","controller","df","getAll","openCursor","fbase_key","te","Bk","Ck","Dk","Ek","Gk","Fk","Hk","Ik","Kk","sessionStorage","Jk","Lk","Browser","Mk","Node","Nk","ReactNative","Ok","Worker","Pk","ports","put","Ak","Qk","Uk","Rk","NONE","Tk","Vk","Wk","Xk","Zk","al","clearInterval","bl","setInterval","oldValue","newValue","$k","il","cl","el","gl","hl","Int32Array","jl","kl","ll","ml","nl","ol","pl","ql","rl","sl","tl","vl","cg","zl","wl","yl","handleOpenURL","wh","Al","dl","Bl","ul","ibi","apn","appDisplayName","xl","Cl","El","Gl","Hl","Il","Jl","unknown","signInViaRedirect","linkViaRedirect","reauthViaRedirect","signInViaPopup","linkViaPopup","reauthViaPopup","Kl","SDK_VERSION","Ll","Ml","Nl","Ol","Pl","Fl","Ql","Rl","Sl","Tl","Ul","Dl","Vl","Wl","Xl","Yl","$l","bm","am","user","em","fm","gm","hm","auth_time","expirationTime","authTime","issuedAtTime","signInProvider","signInSecondFactor","sign_in_second_factor","claims","im","jm","km","Zl","cm","dm","confirm","lm","mm","nm","qm","rm","sm","tm","multiFactor","enrolledFactors","toISOString","um","xm","Am","Bm","Cm","expiresIn","Em","grant_type","refresh_token","Wi","expires_in","Fm","lastSignInTime","creationTime","Hm","photoURL","Im","appName","authDomain","emulatorConfig","Jm","Km","Lm","Mm","$","Nm","Om","Pm","Qm","Rm","Sm","Tm","stop","Vm","Wm","emailVerified","isAnonymous","metadata","createdAt","lastLoginAt","providerData","Xm","Ym","Zm","$m","an","bn","cn","Gm","Dm","dn","en","wm","hn","gn","additionalUserInfo","operationType","jn","reload","kn","ln","R","mn","ga","nn","on","pn","qn","stsTokenManager","redirectEventId","tn","om","pm","mfaInfo","vm","ym","zm","_b","af","users","localId","providerUserInfo","rawId","passwordHash","rj","lf","vn","xn","Yk","An","zn","wn","Ic","yn","Cn","Dn","En","Fn","options","Gn","un","Un","Hn","Rn","In","Jn","logFramework","port","disableWarnings","Kn","Ln","Mn","Nn","Pn","Tn","rn","Sn","Um","Qn","currentUser","Wn","_lat","Xn","Yn","Sk","languages","language","userLanguage","info","innerText","backgroundColor","border","color","bottom","margin","zIndex","textAlign","classList","On","settings","Bn","sn","addAuthTokenListener","Vn","nc","removeAuthTokenListener","identifier","continueUri","signinMethods","aj","render","execute","Zn","ao","bo","$n","size","co","eo","fo","Me","go","ho","grecaptcha","Infinity","io","jo","ko","lo","theme","mo","no","hasChildNodes","oo","po","qo","so","to","uo","appVerificationDisabledForTesting","vo","optional","wo","ro","firstChild","xo","yo","zo","Do","Go","Ho","Jo","Ko","Lo","Persistence","LOCAL","SESSION","appVerificationDisabled","registerComponent","ActionCodeInfo","Operation","EMAIL_SIGNIN","PASSWORD_RESET","RECOVER_EMAIL","REVERT_SECOND_FACTOR_ADDITION","VERIFY_AND_CHANGE_EMAIL","VERIFY_EMAIL","Auth","AuthCredential","App","instanceFactory","getProvider","getImmediate","multipleInstances","serviceProps","instantiationMode","onInstanceCreated","initialize","registerVersion","extendNamespace","User","Component","setInstantiationMode","mode","setMultipleInstances","setServiceProps","props","setInstanceCreatedCallback","Provider","container","component","instances","Map","instancesDeferred","instancesOptions","onInitCallbacks","normalizedIdentifier","normalizeInstanceIdentifier","has","deferred","isInitialized","shouldAutoInitialize","instance","getOrInitializeService","instanceIdentifier","_a","getComponent","setComponent","e_1","isComponentEager","_c","_d","instanceDeferred","e_1_1","clearInstance","services","label","from","values","_delete","sent","isComponentSet","getOptions","opts","e_2","_e","e_2_1","onInit","existingCallbacks","Set","existingInstance","invokeOnInitCallbacks","e_3","callbacks","callbacks_1","callbacks_1_1","e_3_1","ComponentContainer","providers","addComponent","provider","addOrOverwriteComponent","getProviders","__spreadArrays","LogLevel","_a$1","levelStringToEnum","DEBUG","VERBOSE","INFO","WARN","ERROR","SILENT","defaultLogLevel","ConsoleMethod","defaultLogHandler","logType","args","logLevel","Logger","_logLevel","_logHandler","_userLogHandler","val","setLogLevel","debug","level","inst","ERRORS","ERROR_FACTORY","PLATFORM_LOG_STRING","logger","FirebaseAppImpl","config","firebase_","isDeleted_","name_","automaticDataCollectionEnabled_","automaticDataCollectionEnabled","options_","_addComponent","components","checkDestroyed_","removeApp","_getService","_removeServiceInstance","_addOrOverwriteComponent","createFirebaseNamespaceCore","firebaseAppImpl","apps","namespace","__esModule","initializeApp","rawConfig","libraryKeyOrName","version","variant","library","libraryMismatch","versionMismatch","warning","onLog","logCallback","_loop_1","customLogLevel","userLogHandler","arg","ignored","instances_1","setUserLogHandler","useAsService","componentName","serviceNamespace","appArg","serviceFxn","keys","firebase$1","createFirebaseNamespace","PlatformLoggerService","getPlatformInfoString","isVersionServiceProvider","logString","sdkVersion"],"mappings":";2FAAA,iTAASA,EAAQC,GAAmV,OAAtOD,EAArD,oBAAXE,QAAoD,kBAApBA,OAAOC,SAAmC,SAAiBF,GAAO,cAAcA,GAA2B,SAAiBA,GAAO,OAAOA,GAAyB,oBAAXC,QAAyBD,EAAIG,cAAgBF,QAAUD,IAAQC,OAAOG,UAAY,gBAAkBJ,IAAyBA,GAwBnX,IAoEIK,EAAsB,SAA6BC,GAKrD,IAHA,IAAIC,EAAM,GACNC,EAAI,EAECC,EAAI,EAAGA,EAAIH,EAAII,OAAQD,IAAK,CACnC,IAAIE,EAAIL,EAAIM,WAAWH,GAEnBE,EAAI,IACNJ,EAAIC,KAAOG,EACFA,EAAI,MACbJ,EAAIC,KAAOG,GAAK,EAAI,IACpBJ,EAAIC,KAAW,GAAJG,EAAS,KACM,SAAZ,MAAJA,IAA0BF,EAAI,EAAIH,EAAII,QAA+C,SAAZ,MAAxBJ,EAAIM,WAAWH,EAAI,KAE9EE,EAAI,QAAgB,KAAJA,IAAe,KAA6B,KAAtBL,EAAIM,aAAaH,IACvDF,EAAIC,KAAOG,GAAK,GAAK,IACrBJ,EAAIC,KAAOG,GAAK,GAAK,GAAK,IAC1BJ,EAAIC,KAAOG,GAAK,EAAI,GAAK,IACzBJ,EAAIC,KAAW,GAAJG,EAAS,MAEpBJ,EAAIC,KAAOG,GAAK,GAAK,IACrBJ,EAAIC,KAAOG,GAAK,EAAI,GAAK,IACzBJ,EAAIC,KAAW,GAAJG,EAAS,KAIxB,OAAOJ,GA2TT,SAASM,EAASC,GAChB,OAAOC,OAAWC,EAAWF,GAkB/B,SAASC,EAAWE,EAAQC,GAC1B,KAAMA,aAAkBC,QACtB,OAAOD,EAGT,OAAQA,EAAOf,aACb,KAAKiB,KAIH,OAAO,IAAIA,KADKF,EACUG,WAE5B,KAAKF,YACYH,IAAXC,I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iI,EAAsB3oD,UAAU4oD,sBAAwB,WAItD,OAHgBrnD,KAAKm/C,UAAUqD,eAGd11C,KAAI,SAAUw1C,GAC7B,GAuBN,SAAkCA,GAChC,IAAIlD,EAAYkD,EAASlC,eACzB,MAAkF,aAA5D,OAAdhB,QAAoC,IAAdA,OAAuB,EAASA,EAAUzqC,MAzBhE2yC,CAAyBhF,GAAW,CACtC,IAAI3gD,EAAU2gD,EAASpE,eACvB,OAAOv8C,EAAQokD,QAAU,IAAMpkD,EAAQkkD,QAEvC,OAAO,QAERh5C,QAAO,SAAU06C,GAClB,OAAOA,KACN91C,KAAK,MAGH21C,EAvBT,GA0FA,GAAI,oBAAiC/nD,IAAlB0B,KAAKopB,SAAwB,CAC9Ck6B,EAAOp/B,KAAK,mIAEZ,IAAIuiC,EAAazmD,KAAKopB,SAASyjB,YAE3B4Z,GAAcA,EAAW19C,QAAQ,SAAW,GAC9Cu6C,EAAOp/B,KAAK,sNAIhB,IAAI,EAAgBiiC,EAAWxB,cAI/BwB,EAAWxB,cAAgB,WAGzB,IAFA,IAAInC,EAAO,GAEFxhD,EAAK,EAAGA,EAAKC,UAAUjD,OAAQgD,IACtCwhD,EAAKxhD,GAAMC,UAAUD,GAUvB,OAJI,eACFsiD,EAAOp/B,KAAK,2pBAGP,EAAczb,WAAMnK,EAAWkkD,IAGxC,IA9DgCp5B,EAAU27B,EA8DtC,EAAWoB,GA9DiB/8B,EA+DT,GA9DZtH,SAASu6B,kBAAkB,IAAIuB,EAAU,mBAAmB,SAAUQ,GAC7E,OAAO,IAAIiI,EAAsBjI,KAChC,YAIHh1B,EAASq0B,gBApqBE,gBACG,SAmqB8BsH,GAE5C37B,EAASq0B,gBAAgB,UAAW,IAuDvB","file":"js/firebase-668f5faaced4ae7c443c.chunk.js","sourcesContent":["function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nimport { __assign, __extends } from 'tslib';\n/**\r\n * @license\r\n * Copyright 2017 Google LLC\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\n\n/**\r\n * @fileoverview Firebase constants. Some of these (@defines) can be overridden at compile-time.\r\n */\n\nvar CONSTANTS = {\n /**\r\n * @define {boolean} Whether this is the client Node.js SDK.\r\n */\n NODE_CLIENT: false,\n\n /**\r\n * @define {boolean} Whether this is the Admin Node.js SDK.\r\n */\n NODE_ADMIN: false,\n\n /**\r\n * Firebase SDK Version\r\n */\n SDK_VERSION: '${JSCORE_VERSION}'\n};\n/**\r\n * @license\r\n * Copyright 2017 Google LLC\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\n\n/**\r\n * Throws an error if the provided assertion is falsy\r\n */\n\nvar assert = function assert(assertion, message) {\n if (!assertion) {\n throw assertionError(message);\n }\n};\n/**\r\n * Returns an Error object suitable for throwing.\r\n */\n\n\nvar assertionError = function assertionError(message) {\n return new Error('Firebase Database (' + CONSTANTS.SDK_VERSION + ') INTERNAL ASSERT FAILED: ' + message);\n};\n/**\r\n * @license\r\n * Copyright 2017 Google LLC\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\n\n\nvar stringToByteArray$1 = function stringToByteArray$1(str) {\n // TODO(user): Use native implementations if/when available\n var out = [];\n var p = 0;\n\n for (var i = 0; i < str.length; i++) {\n var c = str.charCodeAt(i);\n\n if (c < 128) {\n out[p++] = c;\n } else if (c < 2048) {\n out[p++] = c >> 6 | 192;\n out[p++] = c & 63 | 128;\n } else if ((c & 0xfc00) === 0xd800 && i + 1 < str.length && (str.charCodeAt(i + 1) & 0xfc00) === 0xdc00) {\n // Surrogate Pair\n c = 0x10000 + ((c & 0x03ff) << 10) + (str.charCodeAt(++i) & 0x03ff);\n out[p++] = c >> 18 | 240;\n out[p++] = c >> 12 & 63 | 128;\n out[p++] = c >> 6 & 63 | 128;\n out[p++] = c & 63 | 128;\n } else {\n out[p++] = c >> 12 | 224;\n out[p++] = c >> 6 & 63 | 128;\n out[p++] = c & 63 | 128;\n }\n }\n\n return out;\n};\n/**\r\n * Turns an array of numbers into the string given by the concatenation of the\r\n * characters to which the numbers correspond.\r\n * @param bytes Array of numbers representing characters.\r\n * @return Stringification of the array.\r\n */\n\n\nvar byteArrayToString = function byteArrayToString(bytes) {\n // TODO(user): Use native implementations if/when available\n var out = [];\n var pos = 0,\n c = 0;\n\n while (pos < bytes.length) {\n var c1 = bytes[pos++];\n\n if (c1 < 128) {\n out[c++] = String.fromCharCode(c1);\n } else if (c1 > 191 && c1 < 224) {\n var c2 = bytes[pos++];\n out[c++] = String.fromCharCode((c1 & 31) << 6 | c2 & 63);\n } else if (c1 > 239 && c1 < 365) {\n // Surrogate Pair\n var c2 = bytes[pos++];\n var c3 = bytes[pos++];\n var c4 = bytes[pos++];\n var u = ((c1 & 7) << 18 | (c2 & 63) << 12 | (c3 & 63) << 6 | c4 & 63) - 0x10000;\n out[c++] = String.fromCharCode(0xd800 + (u >> 10));\n out[c++] = String.fromCharCode(0xdc00 + (u & 1023));\n } else {\n var c2 = bytes[pos++];\n var c3 = bytes[pos++];\n out[c++] = String.fromCharCode((c1 & 15) << 12 | (c2 & 63) << 6 | c3 & 63);\n }\n }\n\n return out.join('');\n}; // We define it as an object literal instead of a class because a class compiled down to es5 can't\n// be treeshaked. https://github.com/rollup/rollup/issues/1691\n// Static lookup maps, lazily populated by init_()\n\n\nvar base64 = {\n /**\r\n * Maps bytes to characters.\r\n */\n byteToCharMap_: null,\n\n /**\r\n * Maps characters to bytes.\r\n */\n charToByteMap_: null,\n\n /**\r\n * Maps bytes to websafe characters.\r\n * @private\r\n */\n byteToCharMapWebSafe_: null,\n\n /**\r\n * Maps websafe characters to bytes.\r\n * @private\r\n */\n charToByteMapWebSafe_: null,\n\n /**\r\n * Our default alphabet, shared between\r\n * ENCODED_VALS and ENCODED_VALS_WEBSAFE\r\n */\n ENCODED_VALS_BASE: 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' + 'abcdefghijklmnopqrstuvwxyz' + '0123456789',\n\n /**\r\n * Our default alphabet. Value 64 (=) is special; it means \"nothing.\"\r\n */\n get ENCODED_VALS() {\n return this.ENCODED_VALS_BASE + '+/=';\n },\n\n /**\r\n * Our websafe alphabet.\r\n */\n get ENCODED_VALS_WEBSAFE() {\n return this.ENCODED_VALS_BASE + '-_.';\n },\n\n /**\r\n * Whether this browser supports the atob and btoa functions. This extension\r\n * started at Mozilla but is now implemented by many browsers. We use the\r\n * ASSUME_* variables to avoid pulling in the full useragent detection library\r\n * but still allowing the standard per-browser compilations.\r\n *\r\n */\n HAS_NATIVE_SUPPORT: typeof atob === 'function',\n\n /**\r\n * Base64-encode an array of bytes.\r\n *\r\n * @param input An array of bytes (numbers with\r\n * value in [0, 255]) to encode.\r\n * @param webSafe Boolean indicating we should use the\r\n * alternative alphabet.\r\n * @return The base64 encoded string.\r\n */\n encodeByteArray: function encodeByteArray(input, webSafe) {\n if (!Array.isArray(input)) {\n throw Error('encodeByteArray takes an array as a parameter');\n }\n\n this.init_();\n var byteToCharMap = webSafe ? this.byteToCharMapWebSafe_ : this.byteToCharMap_;\n var output = [];\n\n for (var i = 0; i < input.length; i += 3) {\n var byte1 = input[i];\n var haveByte2 = i + 1 < input.length;\n var byte2 = haveByte2 ? input[i + 1] : 0;\n var haveByte3 = i + 2 < input.length;\n var byte3 = haveByte3 ? input[i + 2] : 0;\n var outByte1 = byte1 >> 2;\n var outByte2 = (byte1 & 0x03) << 4 | byte2 >> 4;\n var outByte3 = (byte2 & 0x0f) << 2 | byte3 >> 6;\n var outByte4 = byte3 & 0x3f;\n\n if (!haveByte3) {\n outByte4 = 64;\n\n if (!haveByte2) {\n outByte3 = 64;\n }\n }\n\n output.push(byteToCharMap[outByte1], byteToCharMap[outByte2], byteToCharMap[outByte3], byteToCharMap[outByte4]);\n }\n\n return output.join('');\n },\n\n /**\r\n * Base64-encode a string.\r\n *\r\n * @param input A string to encode.\r\n * @param webSafe If true, we should use the\r\n * alternative alphabet.\r\n * @return The base64 encoded string.\r\n */\n encodeString: function encodeString(input, webSafe) {\n // Shortcut for Mozilla browsers that implement\n // a native base64 encoder in the form of \"btoa/atob\"\n if (this.HAS_NATIVE_SUPPORT && !webSafe) {\n return btoa(input);\n }\n\n return this.encodeByteArray(stringToByteArray$1(input), webSafe);\n },\n\n /**\r\n * Base64-decode a string.\r\n *\r\n * @param input to decode.\r\n * @param webSafe True if we should use the\r\n * alternative alphabet.\r\n * @return string representing the decoded value.\r\n */\n decodeString: function decodeString(input, webSafe) {\n // Shortcut for Mozilla browsers that implement\n // a native base64 encoder in the form of \"btoa/atob\"\n if (this.HAS_NATIVE_SUPPORT && !webSafe) {\n return atob(input);\n }\n\n return byteArrayToString(this.decodeStringToByteArray(input, webSafe));\n },\n\n /**\r\n * Base64-decode a string.\r\n *\r\n * In base-64 decoding, groups of four characters are converted into three\r\n * bytes. If the encoder did not apply padding, the input length may not\r\n * be a multiple of 4.\r\n *\r\n * In this case, the last group will have fewer than 4 characters, and\r\n * padding will be inferred. If the group has one or two characters, it decodes\r\n * to one byte. If the group has three characters, it decodes to two bytes.\r\n *\r\n * @param input Input to decode.\r\n * @param webSafe True if we should use the web-safe alphabet.\r\n * @return bytes representing the decoded value.\r\n */\n decodeStringToByteArray: function decodeStringToByteArray(input, webSafe) {\n this.init_();\n var charToByteMap = webSafe ? this.charToByteMapWebSafe_ : this.charToByteMap_;\n var output = [];\n\n for (var i = 0; i < input.length;) {\n var byte1 = charToByteMap[input.charAt(i++)];\n var haveByte2 = i < input.length;\n var byte2 = haveByte2 ? charToByteMap[input.charAt(i)] : 0;\n ++i;\n var haveByte3 = i < input.length;\n var byte3 = haveByte3 ? charToByteMap[input.charAt(i)] : 64;\n ++i;\n var haveByte4 = i < input.length;\n var byte4 = haveByte4 ? charToByteMap[input.charAt(i)] : 64;\n ++i;\n\n if (byte1 == null || byte2 == null || byte3 == null || byte4 == null) {\n throw Error();\n }\n\n var outByte1 = byte1 << 2 | byte2 >> 4;\n output.push(outByte1);\n\n if (byte3 !== 64) {\n var outByte2 = byte2 << 4 & 0xf0 | byte3 >> 2;\n output.push(outByte2);\n\n if (byte4 !== 64) {\n var outByte3 = byte3 << 6 & 0xc0 | byte4;\n output.push(outByte3);\n }\n }\n }\n\n return output;\n },\n\n /**\r\n * Lazy static initialization function. Called before\r\n * accessing any of the static map variables.\r\n * @private\r\n */\n init_: function init_() {\n if (!this.byteToCharMap_) {\n this.byteToCharMap_ = {};\n this.charToByteMap_ = {};\n this.byteToCharMapWebSafe_ = {};\n this.charToByteMapWebSafe_ = {}; // We want quick mappings back and forth, so we precompute two maps.\n\n for (var i = 0; i < this.ENCODED_VALS.length; i++) {\n this.byteToCharMap_[i] = this.ENCODED_VALS.charAt(i);\n this.charToByteMap_[this.byteToCharMap_[i]] = i;\n this.byteToCharMapWebSafe_[i] = this.ENCODED_VALS_WEBSAFE.charAt(i);\n this.charToByteMapWebSafe_[this.byteToCharMapWebSafe_[i]] = i; // Be forgiving when decoding and correctly decode both encodings.\n\n if (i >= this.ENCODED_VALS_BASE.length) {\n this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(i)] = i;\n this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(i)] = i;\n }\n }\n }\n }\n};\n/**\r\n * URL-safe base64 encoding\r\n */\n\nvar base64Encode = function base64Encode(str) {\n var utf8Bytes = stringToByteArray$1(str);\n return base64.encodeByteArray(utf8Bytes, true);\n};\n/**\r\n * URL-safe base64 encoding (without \".\" padding in the end).\r\n * e.g. Used in JSON Web Token (JWT) parts.\r\n */\n\n\nvar base64urlEncodeWithoutPadding = function base64urlEncodeWithoutPadding(str) {\n // Use base64url encoding and remove padding in the end (dot characters).\n return base64Encode(str).replace(/\\./g, '');\n};\n/**\r\n * URL-safe base64 decoding\r\n *\r\n * NOTE: DO NOT use the global atob() function - it does NOT support the\r\n * base64Url variant encoding.\r\n *\r\n * @param str To be decoded\r\n * @return Decoded result, if possible\r\n */\n\n\nvar base64Decode = function base64Decode(str) {\n try {\n return base64.decodeString(str, true);\n } catch (e) {\n console.error('base64Decode failed: ', e);\n }\n\n return null;\n};\n/**\r\n * @license\r\n * Copyright 2017 Google LLC\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\n\n/**\r\n * Do a deep-copy of basic JavaScript Objects or Arrays.\r\n */\n\n\nfunction deepCopy(value) {\n return deepExtend(undefined, value);\n}\n/**\r\n * Copy properties from source to target (recursively allows extension\r\n * of Objects and Arrays). Scalar values in the target are over-written.\r\n * If target is undefined, an object of the appropriate type will be created\r\n * (and returned).\r\n *\r\n * We recursively copy all child properties of plain Objects in the source- so\r\n * that namespace- like dictionaries are merged.\r\n *\r\n * Note that the target can be a function, in which case the properties in\r\n * the source Object are copied onto it as static properties of the Function.\r\n *\r\n * Note: we don't merge __proto__ to prevent prototype pollution\r\n */\n\n\nfunction deepExtend(target, source) {\n if (!(source instanceof Object)) {\n return source;\n }\n\n switch (source.constructor) {\n case Date:\n // Treat Dates like scalars; if the target date object had any child\n // properties - they will be lost!\n var dateValue = source;\n return new Date(dateValue.getTime());\n\n case Object:\n if (target === undefined) {\n target = {};\n }\n\n break;\n\n case Array:\n // Always copy the array source and overwrite the target.\n target = [];\n break;\n\n default:\n // Not a plain Object - treat it as a scalar.\n return source;\n }\n\n for (var prop in source) {\n // use isValidKey to guard against prototype pollution. See https://snyk.io/vuln/SNYK-JS-LODASH-450202\n if (!source.hasOwnProperty(prop) || !isValidKey(prop)) {\n continue;\n }\n\n target[prop] = deepExtend(target[prop], source[prop]);\n }\n\n return target;\n}\n\nfunction isValidKey(key) {\n return key !== '__proto__';\n}\n/**\r\n * @license\r\n * Copyright 2017 Google LLC\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\n\n\nvar Deferred =\n/** @class */\nfunction () {\n function Deferred() {\n var _this = this;\n\n this.reject = function () {};\n\n this.resolve = function () {};\n\n this.promise = new Promise(function (resolve, reject) {\n _this.resolve = resolve;\n _this.reject = reject;\n });\n }\n /**\r\n * Our API internals are not promiseified and cannot because our callback APIs have subtle expectations around\r\n * invoking promises inline, which Promises are forbidden to do. This method accepts an optional node-style callback\r\n * and returns a node-style callback which will resolve or reject the Deferred's promise.\r\n */\n\n\n Deferred.prototype.wrapCallback = function (callback) {\n var _this = this;\n\n return function (error, value) {\n if (error) {\n _this.reject(error);\n } else {\n _this.resolve(value);\n }\n\n if (typeof callback === 'function') {\n // Attaching noop handler just in case developer wasn't expecting\n // promises\n _this.promise[\"catch\"](function () {}); // Some of our callbacks don't expect a value and our own tests\n // assert that the parameter length is 1\n\n\n if (callback.length === 1) {\n callback(error);\n } else {\n callback(error, value);\n }\n }\n };\n };\n\n return Deferred;\n}();\n/**\r\n * @license\r\n * Copyright 2021 Google LLC\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\n\n\nfunction createMockUserToken(token, projectId) {\n if (token.uid) {\n throw new Error('The \"uid\" field is no longer supported by mockUserToken. Please use \"sub\" instead for Firebase Auth User ID.');\n } // Unsecured JWTs use \"none\" as the algorithm.\n\n\n var header = {\n alg: 'none',\n type: 'JWT'\n };\n var project = projectId || 'demo-project';\n var iat = token.iat || 0;\n var sub = token.sub || token.user_id;\n\n if (!sub) {\n throw new Error(\"mockUserToken must contain 'sub' or 'user_id' field!\");\n }\n\n var payload = __assign({\n // Set all required fields to decent defaults\n iss: \"https://securetoken.google.com/\" + project,\n aud: project,\n iat: iat,\n exp: iat + 3600,\n auth_time: iat,\n sub: sub,\n user_id: sub,\n firebase: {\n sign_in_provider: 'custom',\n identities: {}\n }\n }, token); // Unsecured JWTs use the empty string as a signature.\n\n\n var signature = '';\n return [base64urlEncodeWithoutPadding(JSON.stringify(header)), base64urlEncodeWithoutPadding(JSON.stringify(payload)), signature].join('.');\n}\n/**\r\n * @license\r\n * Copyright 2017 Google LLC\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\n\n/**\r\n * Returns navigator.userAgent string or '' if it's not defined.\r\n * @return user agent string\r\n */\n\n\nfunction getUA() {\n if (typeof navigator !== 'undefined' && typeof navigator['userAgent'] === 'string') {\n return navigator['userAgent'];\n } else {\n return '';\n }\n}\n/**\r\n * Detect Cordova / PhoneGap / Ionic frameworks on a mobile device.\r\n *\r\n * Deliberately does not rely on checking `file://` URLs (as this fails PhoneGap\r\n * in the Ripple emulator) nor Cordova `onDeviceReady`, which would normally\r\n * wait for a callback.\r\n */\n\n\nfunction isMobileCordova() {\n return typeof window !== 'undefined' && // @ts-ignore Setting up an broadly applicable index signature for Window\n // just to deal with this case would probably be a bad idea.\n !!(window['cordova'] || window['phonegap'] || window['PhoneGap']) && /ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(getUA());\n}\n/**\r\n * Detect Node.js.\r\n *\r\n * @return true if Node.js environment is detected.\r\n */\n// Node detection logic from: https://github.com/iliakan/detect-node/\n\n\nfunction isNode() {\n try {\n return Object.prototype.toString.call(global.process) === '[object process]';\n } catch (e) {\n return false;\n }\n}\n/**\r\n * Detect Browser Environment\r\n */\n\n\nfunction isBrowser() {\n return (typeof self === \"undefined\" ? \"undefined\" : _typeof(self)) === 'object' && self.self === self;\n}\n\nfunction isBrowserExtension() {\n var runtime = (typeof chrome === \"undefined\" ? \"undefined\" : _typeof(chrome)) === 'object' ? chrome.runtime : (typeof browser === \"undefined\" ? \"undefined\" : _typeof(browser)) === 'object' ? browser.runtime : undefined;\n return _typeof(runtime) === 'object' && runtime.id !== undefined;\n}\n/**\r\n * Detect React Native.\r\n *\r\n * @return true if ReactNative environment is detected.\r\n */\n\n\nfunction isReactNative() {\n return (typeof navigator === \"undefined\" ? \"undefined\" : _typeof(navigator)) === 'object' && navigator['product'] === 'ReactNative';\n}\n/** Detects Electron apps. */\n\n\nfunction isElectron() {\n return getUA().indexOf('Electron/') >= 0;\n}\n/** Detects Internet Explorer. */\n\n\nfunction isIE() {\n var ua = getUA();\n return ua.indexOf('MSIE ') >= 0 || ua.indexOf('Trident/') >= 0;\n}\n/** Detects Universal Windows Platform apps. */\n\n\nfunction isUWP() {\n return getUA().indexOf('MSAppHost/') >= 0;\n}\n/**\r\n * Detect whether the current SDK build is the Node version.\r\n *\r\n * @return true if it's the Node SDK build.\r\n */\n\n\nfunction isNodeSdk() {\n return CONSTANTS.NODE_CLIENT === true || CONSTANTS.NODE_ADMIN === true;\n}\n/** Returns true if we are running in Safari. */\n\n\nfunction isSafari() {\n return !isNode() && navigator.userAgent.includes('Safari') && !navigator.userAgent.includes('Chrome');\n}\n/**\r\n * This method checks if indexedDB is supported by current browser/service worker context\r\n * @return true if indexedDB is supported by current browser/service worker context\r\n */\n\n\nfunction isIndexedDBAvailable() {\n return 'indexedDB' in self && indexedDB != null;\n}\n/**\r\n * This method validates browser/sw context for indexedDB by opening a dummy indexedDB database and reject\r\n * if errors occur during the database open operation.\r\n *\r\n * @throws exception if current browser/sw context can't run idb.open (ex: Safari iframe, Firefox\r\n * private browsing)\r\n */\n\n\nfunction validateIndexedDBOpenable() {\n return new Promise(function (resolve, reject) {\n try {\n var preExist_1 = true;\n var DB_CHECK_NAME_1 = 'validate-browser-context-for-indexeddb-analytics-module';\n var request_1 = self.indexedDB.open(DB_CHECK_NAME_1);\n\n request_1.onsuccess = function () {\n request_1.result.close(); // delete database only when it doesn't pre-exist\n\n if (!preExist_1) {\n self.indexedDB.deleteDatabase(DB_CHECK_NAME_1);\n }\n\n resolve(true);\n };\n\n request_1.onupgradeneeded = function () {\n preExist_1 = false;\n };\n\n request_1.onerror = function () {\n var _a;\n\n reject(((_a = request_1.error) === null || _a === void 0 ? void 0 : _a.message) || '');\n };\n } catch (error) {\n reject(error);\n }\n });\n}\n/**\r\n *\r\n * This method checks whether cookie is enabled within current browser\r\n * @return true if cookie is enabled within current browser\r\n */\n\n\nfunction areCookiesEnabled() {\n if (!navigator || !navigator.cookieEnabled) {\n return false;\n }\n\n return true;\n}\n/**\r\n * Polyfill for `globalThis` object.\r\n * @returns the `globalThis` object for the given environment.\r\n */\n\n\nfunction getGlobal() {\n if (typeof self !== 'undefined') {\n return self;\n }\n\n if (typeof window !== 'undefined') {\n return window;\n }\n\n if (typeof global !== 'undefined') {\n return global;\n }\n\n throw new Error('Unable to locate global object.');\n}\n/**\r\n * @license\r\n * Copyright 2017 Google LLC\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\n\n\nvar ERROR_NAME = 'FirebaseError'; // Based on code from:\n// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error#Custom_Error_Types\n\nvar FirebaseError =\n/** @class */\nfunction (_super) {\n __extends(FirebaseError, _super);\n\n function FirebaseError(code, message, customData) {\n var _this = _super.call(this, message) || this;\n\n _this.code = code;\n _this.customData = customData;\n _this.name = ERROR_NAME; // Fix For ES5\n // https://github.com/Microsoft/TypeScript-wiki/blob/master/Breaking-Changes.md#extending-built-ins-like-error-array-and-map-may-no-longer-work\n\n Object.setPrototypeOf(_this, FirebaseError.prototype); // Maintains proper stack trace for where our error was thrown.\n // Only available on V8.\n\n if (Error.captureStackTrace) {\n Error.captureStackTrace(_this, ErrorFactory.prototype.create);\n }\n\n return _this;\n }\n\n return FirebaseError;\n}(Error);\n\nvar ErrorFactory =\n/** @class */\nfunction () {\n function ErrorFactory(service, serviceName, errors) {\n this.service = service;\n this.serviceName = serviceName;\n this.errors = errors;\n }\n\n ErrorFactory.prototype.create = function (code) {\n var data = [];\n\n for (var _i = 1; _i < arguments.length; _i++) {\n data[_i - 1] = arguments[_i];\n }\n\n var customData = data[0] || {};\n var fullCode = this.service + \"/\" + code;\n var template = this.errors[code];\n var message = template ? replaceTemplate(template, customData) : 'Error'; // Service Name: Error message (service/code).\n\n var fullMessage = this.serviceName + \": \" + message + \" (\" + fullCode + \").\";\n var error = new FirebaseError(fullCode, fullMessage, customData);\n return error;\n };\n\n return ErrorFactory;\n}();\n\nfunction replaceTemplate(template, data) {\n return template.replace(PATTERN, function (_, key) {\n var value = data[key];\n return value != null ? String(value) : \"<\" + key + \"?>\";\n });\n}\n\nvar PATTERN = /\\{\\$([^}]+)}/g;\n/**\r\n * @license\r\n * Copyright 2017 Google LLC\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\n\n/**\r\n * Evaluates a JSON string into a javascript object.\r\n *\r\n * @param {string} str A string containing JSON.\r\n * @return {*} The javascript object representing the specified JSON.\r\n */\n\nfunction jsonEval(str) {\n return JSON.parse(str);\n}\n/**\r\n * Returns JSON representing a javascript object.\r\n * @param {*} data Javascript object to be stringified.\r\n * @return {string} The JSON contents of the object.\r\n */\n\n\nfunction stringify(data) {\n return JSON.stringify(data);\n}\n/**\r\n * @license\r\n * Copyright 2017 Google LLC\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\n\n/**\r\n * Decodes a Firebase auth. token into constituent parts.\r\n *\r\n * Notes:\r\n * - May return with invalid / incomplete claims if there's no native base64 decoding support.\r\n * - Doesn't check if the token is actually valid.\r\n */\n\n\nvar decode = function decode(token) {\n var header = {},\n claims = {},\n data = {},\n signature = '';\n\n try {\n var parts = token.split('.');\n header = jsonEval(base64Decode(parts[0]) || '');\n claims = jsonEval(base64Decode(parts[1]) || '');\n signature = parts[2];\n data = claims['d'] || {};\n delete claims['d'];\n } catch (e) {}\n\n return {\n header: header,\n claims: claims,\n data: data,\n signature: signature\n };\n};\n/**\r\n * Decodes a Firebase auth. token and checks the validity of its time-based claims. Will return true if the\r\n * token is within the time window authorized by the 'nbf' (not-before) and 'iat' (issued-at) claims.\r\n *\r\n * Notes:\r\n * - May return a false negative if there's no native base64 decoding support.\r\n * - Doesn't check if the token is actually valid.\r\n */\n\n\nvar isValidTimestamp = function isValidTimestamp(token) {\n var claims = decode(token).claims;\n var now = Math.floor(new Date().getTime() / 1000);\n var validSince = 0,\n validUntil = 0;\n\n if (_typeof(claims) === 'object') {\n if (claims.hasOwnProperty('nbf')) {\n validSince = claims['nbf'];\n } else if (claims.hasOwnProperty('iat')) {\n validSince = claims['iat'];\n }\n\n if (claims.hasOwnProperty('exp')) {\n validUntil = claims['exp'];\n } else {\n // token will expire after 24h by default\n validUntil = validSince + 86400;\n }\n }\n\n return !!now && !!validSince && !!validUntil && now >= validSince && now <= validUntil;\n};\n/**\r\n * Decodes a Firebase auth. token and returns its issued at time if valid, null otherwise.\r\n *\r\n * Notes:\r\n * - May return null if there's no native base64 decoding support.\r\n * - Doesn't check if the token is actually valid.\r\n */\n\n\nvar issuedAtTime = function issuedAtTime(token) {\n var claims = decode(token).claims;\n\n if (_typeof(claims) === 'object' && claims.hasOwnProperty('iat')) {\n return claims['iat'];\n }\n\n return null;\n};\n/**\r\n * Decodes a Firebase auth. token and checks the validity of its format. Expects a valid issued-at time.\r\n *\r\n * Notes:\r\n * - May return a false negative if there's no native base64 decoding support.\r\n * - Doesn't check if the token is actually valid.\r\n */\n\n\nvar isValidFormat = function isValidFormat(token) {\n var decoded = decode(token),\n claims = decoded.claims;\n return !!claims && _typeof(claims) === 'object' && claims.hasOwnProperty('iat');\n};\n/**\r\n * Attempts to peer into an auth token and determine if it's an admin auth token by looking at the claims portion.\r\n *\r\n * Notes:\r\n * - May return a false negative if there's no native base64 decoding support.\r\n * - Doesn't check if the token is actually valid.\r\n */\n\n\nvar isAdmin = function isAdmin(token) {\n var claims = decode(token).claims;\n return _typeof(claims) === 'object' && claims['admin'] === true;\n};\n/**\r\n * @license\r\n * Copyright 2017 Google LLC\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\n\n\nfunction contains(obj, key) {\n return Object.prototype.hasOwnProperty.call(obj, key);\n}\n\nfunction safeGet(obj, key) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) {\n return obj[key];\n } else {\n return undefined;\n }\n}\n\nfunction isEmpty(obj) {\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) {\n return false;\n }\n }\n\n return true;\n}\n\nfunction map(obj, fn, contextObj) {\n var res = {};\n\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) {\n res[key] = fn.call(contextObj, obj[key], key, obj);\n }\n }\n\n return res;\n}\n/**\r\n * Deep equal two objects. Support Arrays and Objects.\r\n */\n\n\nfunction deepEqual(a, b) {\n if (a === b) {\n return true;\n }\n\n var aKeys = Object.keys(a);\n var bKeys = Object.keys(b);\n\n for (var _i = 0, aKeys_1 = aKeys; _i < aKeys_1.length; _i++) {\n var k = aKeys_1[_i];\n\n if (!bKeys.includes(k)) {\n return false;\n }\n\n var aProp = a[k];\n var bProp = b[k];\n\n if (isObject(aProp) && isObject(bProp)) {\n if (!deepEqual(aProp, bProp)) {\n return false;\n }\n } else if (aProp !== bProp) {\n return false;\n }\n }\n\n for (var _a = 0, bKeys_1 = bKeys; _a < bKeys_1.length; _a++) {\n var k = bKeys_1[_a];\n\n if (!aKeys.includes(k)) {\n return false;\n }\n }\n\n return true;\n}\n\nfunction isObject(thing) {\n return thing !== null && _typeof(thing) === 'object';\n}\n/**\r\n * @license\r\n * Copyright 2017 Google LLC\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\n\n/**\r\n * Returns a querystring-formatted string (e.g. &arg=val&arg2=val2) from a\r\n * params object (e.g. {arg: 'val', arg2: 'val2'})\r\n * Note: You must prepend it with ? when adding it to a URL.\r\n */\n\n\nfunction querystring(querystringParams) {\n var params = [];\n\n var _loop_1 = function _loop_1(key, value) {\n if (Array.isArray(value)) {\n value.forEach(function (arrayVal) {\n params.push(encodeURIComponent(key) + '=' + encodeURIComponent(arrayVal));\n });\n } else {\n params.push(encodeURIComponent(key) + '=' + encodeURIComponent(value));\n }\n };\n\n for (var _i = 0, _a = Object.entries(querystringParams); _i < _a.length; _i++) {\n var _b = _a[_i],\n key = _b[0],\n value = _b[1];\n\n _loop_1(key, value);\n }\n\n return params.length ? '&' + params.join('&') : '';\n}\n/**\r\n * Decodes a querystring (e.g. ?arg=val&arg2=val2) into a params object\r\n * (e.g. {arg: 'val', arg2: 'val2'})\r\n */\n\n\nfunction querystringDecode(querystring) {\n var obj = {};\n var tokens = querystring.replace(/^\\?/, '').split('&');\n tokens.forEach(function (token) {\n if (token) {\n var _a = token.split('='),\n key = _a[0],\n value = _a[1];\n\n obj[decodeURIComponent(key)] = decodeURIComponent(value);\n }\n });\n return obj;\n}\n/**\r\n * Extract the query string part of a URL, including the leading question mark (if present).\r\n */\n\n\nfunction extractQuerystring(url) {\n var queryStart = url.indexOf('?');\n\n if (!queryStart) {\n return '';\n }\n\n var fragmentStart = url.indexOf('#', queryStart);\n return url.substring(queryStart, fragmentStart > 0 ? fragmentStart : undefined);\n}\n/**\r\n * @license\r\n * Copyright 2017 Google LLC\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\n\n/**\r\n * @fileoverview SHA-1 cryptographic hash.\r\n * Variable names follow the notation in FIPS PUB 180-3:\r\n * http://csrc.nist.gov/publications/fips/fips180-3/fips180-3_final.pdf.\r\n *\r\n * Usage:\r\n * var sha1 = new sha1();\r\n * sha1.update(bytes);\r\n * var hash = sha1.digest();\r\n *\r\n * Performance:\r\n * Chrome 23: ~400 Mbit/s\r\n * Firefox 16: ~250 Mbit/s\r\n *\r\n */\n\n/**\r\n * SHA-1 cryptographic hash constructor.\r\n *\r\n * The properties declared here are discussed in the above algorithm document.\r\n * @constructor\r\n * @final\r\n * @struct\r\n */\n\n\nvar Sha1 =\n/** @class */\nfunction () {\n function Sha1() {\n /**\r\n * Holds the previous values of accumulated variables a-e in the compress_\r\n * function.\r\n * @private\r\n */\n this.chain_ = [];\n /**\r\n * A buffer holding the partially computed hash result.\r\n * @private\r\n */\n\n this.buf_ = [];\n /**\r\n * An array of 80 bytes, each a part of the message to be hashed. Referred to\r\n * as the message schedule in the docs.\r\n * @private\r\n */\n\n this.W_ = [];\n /**\r\n * Contains data needed to pad messages less than 64 bytes.\r\n * @private\r\n */\n\n this.pad_ = [];\n /**\r\n * @private {number}\r\n */\n\n this.inbuf_ = 0;\n /**\r\n * @private {number}\r\n */\n\n this.total_ = 0;\n this.blockSize = 512 / 8;\n this.pad_[0] = 128;\n\n for (var i = 1; i < this.blockSize; ++i) {\n this.pad_[i] = 0;\n }\n\n this.reset();\n }\n\n Sha1.prototype.reset = function () {\n this.chain_[0] = 0x67452301;\n this.chain_[1] = 0xefcdab89;\n this.chain_[2] = 0x98badcfe;\n this.chain_[3] = 0x10325476;\n this.chain_[4] = 0xc3d2e1f0;\n this.inbuf_ = 0;\n this.total_ = 0;\n };\n /**\r\n * Internal compress helper function.\r\n * @param buf Block to compress.\r\n * @param offset Offset of the block in the buffer.\r\n * @private\r\n */\n\n\n Sha1.prototype.compress_ = function (buf, offset) {\n if (!offset) {\n offset = 0;\n }\n\n var W = this.W_; // get 16 big endian words\n\n if (typeof buf === 'string') {\n for (var i = 0; i < 16; i++) {\n // TODO(user): [bug 8140122] Recent versions of Safari for Mac OS and iOS\n // have a bug that turns the post-increment ++ operator into pre-increment\n // during JIT compilation. We have code that depends heavily on SHA-1 for\n // correctness and which is affected by this bug, so I've removed all uses\n // of post-increment ++ in which the result value is used. We can revert\n // this change once the Safari bug\n // (https://bugs.webkit.org/show_bug.cgi?id=109036) has been fixed and\n // most clients have been updated.\n W[i] = buf.charCodeAt(offset) << 24 | buf.charCodeAt(offset + 1) << 16 | buf.charCodeAt(offset + 2) << 8 | buf.charCodeAt(offset + 3);\n offset += 4;\n }\n } else {\n for (var i = 0; i < 16; i++) {\n W[i] = buf[offset] << 24 | buf[offset + 1] << 16 | buf[offset + 2] << 8 | buf[offset + 3];\n offset += 4;\n }\n } // expand to 80 words\n\n\n for (var i = 16; i < 80; i++) {\n var t = W[i - 3] ^ W[i - 8] ^ W[i - 14] ^ W[i - 16];\n W[i] = (t << 1 | t >>> 31) & 0xffffffff;\n }\n\n var a = this.chain_[0];\n var b = this.chain_[1];\n var c = this.chain_[2];\n var d = this.chain_[3];\n var e = this.chain_[4];\n var f, k; // TODO(user): Try to unroll this loop to speed up the computation.\n\n for (var i = 0; i < 80; i++) {\n if (i < 40) {\n if (i < 20) {\n f = d ^ b & (c ^ d);\n k = 0x5a827999;\n } else {\n f = b ^ c ^ d;\n k = 0x6ed9eba1;\n }\n } else {\n if (i < 60) {\n f = b & c | d & (b | c);\n k = 0x8f1bbcdc;\n } else {\n f = b ^ c ^ d;\n k = 0xca62c1d6;\n }\n }\n\n var t = (a << 5 | a >>> 27) + f + e + k + W[i] & 0xffffffff;\n e = d;\n d = c;\n c = (b << 30 | b >>> 2) & 0xffffffff;\n b = a;\n a = t;\n }\n\n this.chain_[0] = this.chain_[0] + a & 0xffffffff;\n this.chain_[1] = this.chain_[1] + b & 0xffffffff;\n this.chain_[2] = this.chain_[2] + c & 0xffffffff;\n this.chain_[3] = this.chain_[3] + d & 0xffffffff;\n this.chain_[4] = this.chain_[4] + e & 0xffffffff;\n };\n\n Sha1.prototype.update = function (bytes, length) {\n // TODO(johnlenz): tighten the function signature and remove this check\n if (bytes == null) {\n return;\n }\n\n if (length === undefined) {\n length = bytes.length;\n }\n\n var lengthMinusBlock = length - this.blockSize;\n var n = 0; // Using local instead of member variables gives ~5% speedup on Firefox 16.\n\n var buf = this.buf_;\n var inbuf = this.inbuf_; // The outer while loop should execute at most twice.\n\n while (n < length) {\n // When we have no data in the block to top up, we can directly process the\n // input buffer (assuming it contains sufficient data). This gives ~25%\n // speedup on Chrome 23 and ~15% speedup on Firefox 16, but requires that\n // the data is provided in large chunks (or in multiples of 64 bytes).\n if (inbuf === 0) {\n while (n <= lengthMinusBlock) {\n this.compress_(bytes, n);\n n += this.blockSize;\n }\n }\n\n if (typeof bytes === 'string') {\n while (n < length) {\n buf[inbuf] = bytes.charCodeAt(n);\n ++inbuf;\n ++n;\n\n if (inbuf === this.blockSize) {\n this.compress_(buf);\n inbuf = 0; // Jump to the outer loop so we use the full-block optimization.\n\n break;\n }\n }\n } else {\n while (n < length) {\n buf[inbuf] = bytes[n];\n ++inbuf;\n ++n;\n\n if (inbuf === this.blockSize) {\n this.compress_(buf);\n inbuf = 0; // Jump to the outer loop so we use the full-block optimization.\n\n break;\n }\n }\n }\n }\n\n this.inbuf_ = inbuf;\n this.total_ += length;\n };\n /** @override */\n\n\n Sha1.prototype.digest = function () {\n var digest = [];\n var totalBits = this.total_ * 8; // Add pad 0x80 0x00*.\n\n if (this.inbuf_ < 56) {\n this.update(this.pad_, 56 - this.inbuf_);\n } else {\n this.update(this.pad_, this.blockSize - (this.inbuf_ - 56));\n } // Add # bits.\n\n\n for (var i = this.blockSize - 1; i >= 56; i--) {\n this.buf_[i] = totalBits & 255;\n totalBits /= 256; // Don't use bit-shifting here!\n }\n\n this.compress_(this.buf_);\n var n = 0;\n\n for (var i = 0; i < 5; i++) {\n for (var j = 24; j >= 0; j -= 8) {\n digest[n] = this.chain_[i] >> j & 255;\n ++n;\n }\n }\n\n return digest;\n };\n\n return Sha1;\n}();\n/**\r\n * Helper to make a Subscribe function (just like Promise helps make a\r\n * Thenable).\r\n *\r\n * @param executor Function which can make calls to a single Observer\r\n * as a proxy.\r\n * @param onNoObservers Callback when count of Observers goes to zero.\r\n */\n\n\nfunction createSubscribe(executor, onNoObservers) {\n var proxy = new ObserverProxy(executor, onNoObservers);\n return proxy.subscribe.bind(proxy);\n}\n/**\r\n * Implement fan-out for any number of Observers attached via a subscribe\r\n * function.\r\n */\n\n\nvar ObserverProxy =\n/** @class */\nfunction () {\n /**\r\n * @param executor Function which can make calls to a single Observer\r\n * as a proxy.\r\n * @param onNoObservers Callback when count of Observers goes to zero.\r\n */\n function ObserverProxy(executor, onNoObservers) {\n var _this = this;\n\n this.observers = [];\n this.unsubscribes = [];\n this.observerCount = 0; // Micro-task scheduling by calling task.then().\n\n this.task = Promise.resolve();\n this.finalized = false;\n this.onNoObservers = onNoObservers; // Call the executor asynchronously so subscribers that are called\n // synchronously after the creation of the subscribe function\n // can still receive the very first value generated in the executor.\n\n this.task.then(function () {\n executor(_this);\n })[\"catch\"](function (e) {\n _this.error(e);\n });\n }\n\n ObserverProxy.prototype.next = function (value) {\n this.forEachObserver(function (observer) {\n observer.next(value);\n });\n };\n\n ObserverProxy.prototype.error = function (error) {\n this.forEachObserver(function (observer) {\n observer.error(error);\n });\n this.close(error);\n };\n\n ObserverProxy.prototype.complete = function () {\n this.forEachObserver(function (observer) {\n observer.complete();\n });\n this.close();\n };\n /**\r\n * Subscribe function that can be used to add an Observer to the fan-out list.\r\n *\r\n * - We require that no event is sent to a subscriber sychronously to their\r\n * call to subscribe().\r\n */\n\n\n ObserverProxy.prototype.subscribe = function (nextOrObserver, error, complete) {\n var _this = this;\n\n var observer;\n\n if (nextOrObserver === undefined && error === undefined && complete === undefined) {\n throw new Error('Missing Observer.');\n } // Assemble an Observer object when passed as callback functions.\n\n\n if (implementsAnyMethods(nextOrObserver, ['next', 'error', 'complete'])) {\n observer = nextOrObserver;\n } else {\n observer = {\n next: nextOrObserver,\n error: error,\n complete: complete\n };\n }\n\n if (observer.next === undefined) {\n observer.next = noop;\n }\n\n if (observer.error === undefined) {\n observer.error = noop;\n }\n\n if (observer.complete === undefined) {\n observer.complete = noop;\n }\n\n var unsub = this.unsubscribeOne.bind(this, this.observers.length); // Attempt to subscribe to a terminated Observable - we\n // just respond to the Observer with the final error or complete\n // event.\n\n if (this.finalized) {\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n this.task.then(function () {\n try {\n if (_this.finalError) {\n observer.error(_this.finalError);\n } else {\n observer.complete();\n }\n } catch (e) {// nothing\n }\n\n return;\n });\n }\n\n this.observers.push(observer);\n return unsub;\n }; // Unsubscribe is synchronous - we guarantee that no events are sent to\n // any unsubscribed Observer.\n\n\n ObserverProxy.prototype.unsubscribeOne = function (i) {\n if (this.observers === undefined || this.observers[i] === undefined) {\n return;\n }\n\n delete this.observers[i];\n this.observerCount -= 1;\n\n if (this.observerCount === 0 && this.onNoObservers !== undefined) {\n this.onNoObservers(this);\n }\n };\n\n ObserverProxy.prototype.forEachObserver = function (fn) {\n if (this.finalized) {\n // Already closed by previous event....just eat the additional values.\n return;\n } // Since sendOne calls asynchronously - there is no chance that\n // this.observers will become undefined.\n\n\n for (var i = 0; i < this.observers.length; i++) {\n this.sendOne(i, fn);\n }\n }; // Call the Observer via one of it's callback function. We are careful to\n // confirm that the observe has not been unsubscribed since this asynchronous\n // function had been queued.\n\n\n ObserverProxy.prototype.sendOne = function (i, fn) {\n var _this = this; // Execute the callback asynchronously\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n\n\n this.task.then(function () {\n if (_this.observers !== undefined && _this.observers[i] !== undefined) {\n try {\n fn(_this.observers[i]);\n } catch (e) {\n // Ignore exceptions raised in Observers or missing methods of an\n // Observer.\n // Log error to console. b/31404806\n if (typeof console !== 'undefined' && console.error) {\n console.error(e);\n }\n }\n }\n });\n };\n\n ObserverProxy.prototype.close = function (err) {\n var _this = this;\n\n if (this.finalized) {\n return;\n }\n\n this.finalized = true;\n\n if (err !== undefined) {\n this.finalError = err;\n } // Proxy is no longer needed - garbage collect references\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n\n\n this.task.then(function () {\n _this.observers = undefined;\n _this.onNoObservers = undefined;\n });\n };\n\n return ObserverProxy;\n}();\n/** Turn synchronous function into one called asynchronously. */\n// eslint-disable-next-line @typescript-eslint/ban-types\n\n\nfunction async(fn, onError) {\n return function () {\n var args = [];\n\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n\n Promise.resolve(true).then(function () {\n fn.apply(void 0, args);\n })[\"catch\"](function (error) {\n if (onError) {\n onError(error);\n }\n });\n };\n}\n/**\r\n * Return true if the object passed in implements any of the named methods.\r\n */\n\n\nfunction implementsAnyMethods(obj, methods) {\n if (_typeof(obj) !== 'object' || obj === null) {\n return false;\n }\n\n for (var _i = 0, methods_1 = methods; _i < methods_1.length; _i++) {\n var method = methods_1[_i];\n\n if (method in obj && typeof obj[method] === 'function') {\n return true;\n }\n }\n\n return false;\n}\n\nfunction noop() {// do nothing\n}\n/**\r\n * @license\r\n * Copyright 2017 Google LLC\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\n\n/**\r\n * Check to make sure the appropriate number of arguments are provided for a public function.\r\n * Throws an error if it fails.\r\n *\r\n * @param fnName The function name\r\n * @param minCount The minimum number of arguments to allow for the function call\r\n * @param maxCount The maximum number of argument to allow for the function call\r\n * @param argCount The actual number of arguments provided.\r\n */\n\n\nvar validateArgCount = function validateArgCount(fnName, minCount, maxCount, argCount) {\n var argError;\n\n if (argCount < minCount) {\n argError = 'at least ' + minCount;\n } else if (argCount > maxCount) {\n argError = maxCount === 0 ? 'none' : 'no more than ' + maxCount;\n }\n\n if (argError) {\n var error = fnName + ' failed: Was called with ' + argCount + (argCount === 1 ? ' argument.' : ' arguments.') + ' Expects ' + argError + '.';\n throw new Error(error);\n }\n};\n/**\r\n * Generates a string to prefix an error message about failed argument validation\r\n *\r\n * @param fnName The function name\r\n * @param argName The name of the argument\r\n * @return The prefix to add to the error thrown for validation.\r\n */\n\n\nfunction errorPrefix(fnName, argName) {\n return fnName + \" failed: \" + argName + \" argument \";\n}\n/**\r\n * @param fnName\r\n * @param argumentNumber\r\n * @param namespace\r\n * @param optional\r\n */\n\n\nfunction validateNamespace(fnName, namespace, optional) {\n if (optional && !namespace) {\n return;\n }\n\n if (typeof namespace !== 'string') {\n //TODO: I should do more validation here. We only allow certain chars in namespaces.\n throw new Error(errorPrefix(fnName, 'namespace') + 'must be a valid firebase namespace.');\n }\n}\n\nfunction validateCallback(fnName, argumentName, // eslint-disable-next-line @typescript-eslint/ban-types\ncallback, optional) {\n if (optional && !callback) {\n return;\n }\n\n if (typeof callback !== 'function') {\n throw new Error(errorPrefix(fnName, argumentName) + 'must be a valid function.');\n }\n}\n\nfunction validateContextObject(fnName, argumentName, context, optional) {\n if (optional && !context) {\n return;\n }\n\n if (_typeof(context) !== 'object' || context === null) {\n throw new Error(errorPrefix(fnName, argumentName) + 'must be a valid context object.');\n }\n}\n/**\r\n * @license\r\n * Copyright 2017 Google LLC\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\n// Code originally came from goog.crypt.stringToUtf8ByteArray, but for some reason they\n// automatically replaced '\\r\\n' with '\\n', and they didn't handle surrogate pairs,\n// so it's been modified.\n// Note that not all Unicode characters appear as single characters in JavaScript strings.\n// fromCharCode returns the UTF-16 encoding of a character - so some Unicode characters\n// use 2 characters in Javascript. All 4-byte UTF-8 characters begin with a first\n// character in the range 0xD800 - 0xDBFF (the first character of a so-called surrogate\n// pair).\n// See http://www.ecma-international.org/ecma-262/5.1/#sec-15.1.3\n\n/**\r\n * @param {string} str\r\n * @return {Array}\r\n */\n\n\nvar stringToByteArray = function stringToByteArray(str) {\n var out = [];\n var p = 0;\n\n for (var i = 0; i < str.length; i++) {\n var c = str.charCodeAt(i); // Is this the lead surrogate in a surrogate pair?\n\n if (c >= 0xd800 && c <= 0xdbff) {\n var high = c - 0xd800; // the high 10 bits.\n\n i++;\n assert(i < str.length, 'Surrogate pair missing trail surrogate.');\n var low = str.charCodeAt(i) - 0xdc00; // the low 10 bits.\n\n c = 0x10000 + (high << 10) + low;\n }\n\n if (c < 128) {\n out[p++] = c;\n } else if (c < 2048) {\n out[p++] = c >> 6 | 192;\n out[p++] = c & 63 | 128;\n } else if (c < 65536) {\n out[p++] = c >> 12 | 224;\n out[p++] = c >> 6 & 63 | 128;\n out[p++] = c & 63 | 128;\n } else {\n out[p++] = c >> 18 | 240;\n out[p++] = c >> 12 & 63 | 128;\n out[p++] = c >> 6 & 63 | 128;\n out[p++] = c & 63 | 128;\n }\n }\n\n return out;\n};\n/**\r\n * Calculate length without actually converting; useful for doing cheaper validation.\r\n * @param {string} str\r\n * @return {number}\r\n */\n\n\nvar stringLength = function stringLength(str) {\n var p = 0;\n\n for (var i = 0; i < str.length; i++) {\n var c = str.charCodeAt(i);\n\n if (c < 128) {\n p++;\n } else if (c < 2048) {\n p += 2;\n } else if (c >= 0xd800 && c <= 0xdbff) {\n // Lead surrogate of a surrogate pair. The pair together will take 4 bytes to represent.\n p += 4;\n i++; // skip trail surrogate.\n } else {\n p += 3;\n }\n }\n\n return p;\n};\n/**\r\n * @license\r\n * Copyright 2019 Google LLC\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\n\n/**\r\n * The amount of milliseconds to exponentially increase.\r\n */\n\n\nvar DEFAULT_INTERVAL_MILLIS = 1000;\n/**\r\n * The factor to backoff by.\r\n * Should be a number greater than 1.\r\n */\n\nvar DEFAULT_BACKOFF_FACTOR = 2;\n/**\r\n * The maximum milliseconds to increase to.\r\n *\r\n *

Visible for testing\r\n */\n\nvar MAX_VALUE_MILLIS = 4 * 60 * 60 * 1000; // Four hours, like iOS and Android.\n\n/**\r\n * The percentage of backoff time to randomize by.\r\n * See\r\n * http://go/safe-client-behavior#step-1-determine-the-appropriate-retry-interval-to-handle-spike-traffic\r\n * for context.\r\n *\r\n *

Visible for testing\r\n */\n\nvar RANDOM_FACTOR = 0.5;\n/**\r\n * Based on the backoff method from\r\n * https://github.com/google/closure-library/blob/master/closure/goog/math/exponentialbackoff.js.\r\n * Extracted here so we don't need to pass metadata and a stateful ExponentialBackoff object around.\r\n */\n\nfunction calculateBackoffMillis(backoffCount, intervalMillis, backoffFactor) {\n if (intervalMillis === void 0) {\n intervalMillis = DEFAULT_INTERVAL_MILLIS;\n }\n\n if (backoffFactor === void 0) {\n backoffFactor = DEFAULT_BACKOFF_FACTOR;\n } // Calculates an exponentially increasing value.\n // Deviation: calculates value from count and a constant interval, so we only need to save value\n // and count to restore state.\n\n\n var currBaseValue = intervalMillis * Math.pow(backoffFactor, backoffCount); // A random \"fuzz\" to avoid waves of retries.\n // Deviation: randomFactor is required.\n\n var randomWait = Math.round( // A fraction of the backoff value to add/subtract.\n // Deviation: changes multiplication order to improve readability.\n RANDOM_FACTOR * currBaseValue * ( // A random float (rounded to int by Math.round above) in the range [-1, 1]. Determines\n // if we add or subtract.\n Math.random() - 0.5) * 2); // Limits backoff to max to avoid effectively permanent backoff.\n\n return Math.min(MAX_VALUE_MILLIS, currBaseValue + randomWait);\n}\n/**\r\n * @license\r\n * Copyright 2020 Google LLC\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\n\n/**\r\n * Provide English ordinal letters after a number\r\n */\n\n\nfunction ordinal(i) {\n if (!Number.isFinite(i)) {\n return \"\" + i;\n }\n\n return i + indicator(i);\n}\n\nfunction indicator(i) {\n i = Math.abs(i);\n var cent = i % 100;\n\n if (cent >= 10 && cent <= 20) {\n return 'th';\n }\n\n var dec = i % 10;\n\n if (dec === 1) {\n return 'st';\n }\n\n if (dec === 2) {\n return 'nd';\n }\n\n if (dec === 3) {\n return 'rd';\n }\n\n return 'th';\n}\n/**\r\n * @license\r\n * Copyright 2021 Google LLC\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\n\n\nfunction getModularInstance(service) {\n if (service && service._delegate) {\n return service._delegate;\n } else {\n return service;\n }\n}\n\nexport { CONSTANTS, Deferred, ErrorFactory, FirebaseError, MAX_VALUE_MILLIS, RANDOM_FACTOR, Sha1, areCookiesEnabled, assert, assertionError, async, base64, base64Decode, base64Encode, base64urlEncodeWithoutPadding, calculateBackoffMillis, contains, createMockUserToken, createSubscribe, decode, deepCopy, deepEqual, deepExtend, errorPrefix, extractQuerystring, getGlobal, getModularInstance, getUA, isAdmin, isBrowser, isBrowserExtension, isElectron, isEmpty, isIE, isIndexedDBAvailable, isMobileCordova, isNode, isNodeSdk, isReactNative, isSafari, isUWP, isValidFormat, isValidTimestamp, issuedAtTime, jsonEval, map, ordinal, querystring, querystringDecode, safeGet, stringLength, stringToByteArray, stringify, validateArgCount, validateCallback, validateContextObject, validateIndexedDBOpenable, validateNamespace };","function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nimport firebase from '@firebase/app';\n(function () {\n /*\n Copyright The Closure Library Authors.\n SPDX-License-Identifier: Apache-2.0\n */\n var k,\n aa = \"function\" == typeof Object.defineProperties ? Object.defineProperty : function (a, b, c) {\n a != Array.prototype && a != Object.prototype && (a[b] = c.value);\n };\n\n function ba(a) {\n a = [\"object\" == (typeof window === \"undefined\" ? \"undefined\" : _typeof(window)) && window, \"object\" == (typeof self === \"undefined\" ? \"undefined\" : _typeof(self)) && self, \"object\" == (typeof global === \"undefined\" ? \"undefined\" : _typeof(global)) && global, a];\n\n for (var b = 0; b < a.length; ++b) {\n var c = a[b];\n if (c && c.Math == Math) return c;\n }\n\n return globalThis;\n }\n\n var ca = ba(this);\n\n function da(a, b) {\n if (b) {\n var c = ca;\n a = a.split(\".\");\n\n for (var d = 0; d < a.length - 1; d++) {\n var e = a[d];\n e in c || (c[e] = {});\n c = c[e];\n }\n\n a = a[a.length - 1];\n d = c[a];\n b = b(d);\n b != d && null != b && aa(c, a, {\n configurable: !0,\n writable: !0,\n value: b\n });\n }\n }\n\n function ea(a) {\n var b = 0;\n return function () {\n return b < a.length ? {\n done: !1,\n value: a[b++]\n } : {\n done: !0\n };\n };\n }\n\n function fa(a) {\n var b = \"undefined\" != typeof Symbol && Symbol.iterator && a[Symbol.iterator];\n return b ? b.call(a) : {\n next: ea(a)\n };\n }\n\n da(\"Promise\", function (a) {\n function b(g) {\n this.b = 0;\n this.c = void 0;\n this.a = [];\n var h = this.f();\n\n try {\n g(h.resolve, h.reject);\n } catch (m) {\n h.reject(m);\n }\n }\n\n function c() {\n this.a = null;\n }\n\n function d(g) {\n return g instanceof b ? g : new b(function (h) {\n h(g);\n });\n }\n\n if (a) return a;\n\n c.prototype.b = function (g) {\n if (null == this.a) {\n this.a = [];\n var h = this;\n this.c(function () {\n h.g();\n });\n }\n\n this.a.push(g);\n };\n\n var e = ca.setTimeout;\n\n c.prototype.c = function (g) {\n e(g, 0);\n };\n\n c.prototype.g = function () {\n for (; this.a && this.a.length;) {\n var g = this.a;\n this.a = [];\n\n for (var h = 0; h < g.length; ++h) {\n var m = g[h];\n g[h] = null;\n\n try {\n m();\n } catch (p) {\n this.f(p);\n }\n }\n }\n\n this.a = null;\n };\n\n c.prototype.f = function (g) {\n this.c(function () {\n throw g;\n });\n };\n\n b.prototype.f = function () {\n function g(p) {\n return function (v) {\n m || (m = !0, p.call(h, v));\n };\n }\n\n var h = this,\n m = !1;\n return {\n resolve: g(this.m),\n reject: g(this.g)\n };\n };\n\n b.prototype.m = function (g) {\n if (g === this) this.g(new TypeError(\"A Promise cannot resolve to itself\"));else if (g instanceof b) this.s(g);else {\n a: switch (_typeof(g)) {\n case \"object\":\n var h = null != g;\n break a;\n\n case \"function\":\n h = !0;\n break a;\n\n default:\n h = !1;\n }\n\n h ? this.v(g) : this.h(g);\n }\n };\n\n b.prototype.v = function (g) {\n var h = void 0;\n\n try {\n h = g.then;\n } catch (m) {\n this.g(m);\n return;\n }\n\n \"function\" == typeof h ? this.u(h, g) : this.h(g);\n };\n\n b.prototype.g = function (g) {\n this.i(2, g);\n };\n\n b.prototype.h = function (g) {\n this.i(1, g);\n };\n\n b.prototype.i = function (g, h) {\n if (0 != this.b) throw Error(\"Cannot settle(\" + g + \", \" + h + \"): Promise already settled in state\" + this.b);\n this.b = g;\n this.c = h;\n this.l();\n };\n\n b.prototype.l = function () {\n if (null != this.a) {\n for (var g = 0; g < this.a.length; ++g) {\n f.b(this.a[g]);\n }\n\n this.a = null;\n }\n };\n\n var f = new c();\n\n b.prototype.s = function (g) {\n var h = this.f();\n g.Ra(h.resolve, h.reject);\n };\n\n b.prototype.u = function (g, h) {\n var m = this.f();\n\n try {\n g.call(h, m.resolve, m.reject);\n } catch (p) {\n m.reject(p);\n }\n };\n\n b.prototype.then = function (g, h) {\n function m(A, Q) {\n return \"function\" == typeof A ? function (ya) {\n try {\n p(A(ya));\n } catch (Ad) {\n v(Ad);\n }\n } : Q;\n }\n\n var p,\n v,\n B = new b(function (A, Q) {\n p = A;\n v = Q;\n });\n this.Ra(m(g, p), m(h, v));\n return B;\n };\n\n b.prototype[\"catch\"] = function (g) {\n return this.then(void 0, g);\n };\n\n b.prototype.Ra = function (g, h) {\n function m() {\n switch (p.b) {\n case 1:\n g(p.c);\n break;\n\n case 2:\n h(p.c);\n break;\n\n default:\n throw Error(\"Unexpected state: \" + p.b);\n }\n }\n\n var p = this;\n null == this.a ? f.b(m) : this.a.push(m);\n };\n\n b.resolve = d;\n\n b.reject = function (g) {\n return new b(function (h, m) {\n m(g);\n });\n };\n\n b.race = function (g) {\n return new b(function (h, m) {\n for (var p = fa(g), v = p.next(); !v.done; v = p.next()) {\n d(v.value).Ra(h, m);\n }\n });\n };\n\n b.all = function (g) {\n var h = fa(g),\n m = h.next();\n return m.done ? d([]) : new b(function (p, v) {\n function B(ya) {\n return function (Ad) {\n A[ya] = Ad;\n Q--;\n 0 == Q && p(A);\n };\n }\n\n var A = [],\n Q = 0;\n\n do {\n A.push(void 0), Q++, d(m.value).Ra(B(A.length - 1), v), m = h.next();\n } while (!m.done);\n });\n };\n\n return b;\n });\n var ha = ha || {},\n l = this || self,\n ia = /^[\\w+/_-]+[=]{0,2}$/,\n ja = null;\n\n function ka(a) {\n return (a = a.querySelector && a.querySelector(\"script[nonce]\")) && (a = a.nonce || a.getAttribute(\"nonce\")) && ia.test(a) ? a : \"\";\n }\n\n function la() {}\n\n function ma(a) {\n var b = _typeof(a);\n\n return \"object\" != b ? b : a ? Array.isArray(a) ? \"array\" : b : \"null\";\n }\n\n function na(a) {\n var b = ma(a);\n return \"array\" == b || \"object\" == b && \"number\" == typeof a.length;\n }\n\n function oa(a) {\n return \"function\" == ma(a);\n }\n\n function n(a) {\n var b = _typeof(a);\n\n return \"object\" == b && null != a || \"function\" == b;\n }\n\n function pa(a) {\n return Object.prototype.hasOwnProperty.call(a, qa) && a[qa] || (a[qa] = ++ra);\n }\n\n var qa = \"closure_uid_\" + (1E9 * Math.random() >>> 0),\n ra = 0;\n\n function sa(a, b, c) {\n return a.call.apply(a.bind, arguments);\n }\n\n function ta(a, b, c) {\n if (!a) throw Error();\n\n if (2 < arguments.length) {\n var d = Array.prototype.slice.call(arguments, 2);\n return function () {\n var e = Array.prototype.slice.call(arguments);\n Array.prototype.unshift.apply(e, d);\n return a.apply(b, e);\n };\n }\n\n return function () {\n return a.apply(b, arguments);\n };\n }\n\n function q(a, b, c) {\n Function.prototype.bind && -1 != Function.prototype.bind.toString().indexOf(\"native code\") ? q = sa : q = ta;\n return q.apply(null, arguments);\n }\n\n function ua(a, b) {\n var c = Array.prototype.slice.call(arguments, 1);\n return function () {\n var d = c.slice();\n d.push.apply(d, arguments);\n return a.apply(this, d);\n };\n }\n\n var va = Date.now;\n\n function r(a, b) {\n function c() {}\n\n c.prototype = b.prototype;\n a.bb = b.prototype;\n a.prototype = new c();\n a.prototype.constructor = a;\n }\n\n function wa(a) {\n return a;\n }\n\n ;\n /*\n Copyright 2017 Google LLC\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n http://www.apache.org/licenses/LICENSE-2.0\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n */\n\n function t(a, b, c) {\n this.code = xa + a;\n this.message = b || za[a] || \"\";\n this.a = c || null;\n }\n\n r(t, Error);\n\n t.prototype.w = function () {\n var a = {\n code: this.code,\n message: this.message\n };\n this.a && (a.serverResponse = this.a);\n return a;\n };\n\n t.prototype.toJSON = function () {\n return this.w();\n };\n\n function Aa(a) {\n var b = a && a.code;\n return b ? new t(b.substring(xa.length), a.message, a.serverResponse) : null;\n }\n\n var xa = \"auth/\",\n za = {\n \"admin-restricted-operation\": \"This operation is restricted to administrators only.\",\n \"argument-error\": \"\",\n \"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.\",\n \"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.\",\n \"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.\",\n \"code-expired\": \"The SMS code has expired. Please re-send the verification code to try again.\",\n \"cordova-not-ready\": \"Cordova framework is not ready.\",\n \"cors-unsupported\": \"This browser is not supported.\",\n \"credential-already-in-use\": \"This credential is already associated with a different user account.\",\n \"custom-token-mismatch\": \"The custom token corresponds to a different audience.\",\n \"requires-recent-login\": \"This operation is sensitive and requires recent authentication. Log in again before retrying this request.\",\n \"dynamic-link-not-activated\": \"Please activate Dynamic Links in the Firebase Console and agree to the terms and conditions.\",\n \"email-change-needs-verification\": \"Multi-factor users must always have a verified email.\",\n \"email-already-in-use\": \"The email address is already in use by another account.\",\n \"expired-action-code\": \"The action code has expired. \",\n \"cancelled-popup-request\": \"This operation has been cancelled due to another conflicting popup being opened.\",\n \"internal-error\": \"An internal error has occurred.\",\n \"invalid-app-credential\": \"The phone verification request contains an invalid application verifier. The reCAPTCHA token response is either invalid or expired.\",\n \"invalid-app-id\": \"The mobile app identifier is not registed for the current project.\",\n \"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.\",\n \"invalid-auth-event\": \"An internal error has occurred.\",\n \"invalid-verification-code\": \"The SMS verification code used to create the phone auth credential is invalid. Please resend the verification code sms and be sure to use the verification code provided by the user.\",\n \"invalid-continue-uri\": \"The continue URL provided in the request is invalid.\",\n \"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.\",\n \"invalid-custom-token\": \"The custom token format is incorrect. Please check the documentation.\",\n \"invalid-dynamic-link-domain\": \"The provided dynamic link domain is not configured or authorized for the current project.\",\n \"invalid-email\": \"The email address is badly formatted.\",\n \"invalid-api-key\": \"Your API key is invalid, please check you have copied it correctly.\",\n \"invalid-cert-hash\": \"The SHA-1 certificate hash provided is invalid.\",\n \"invalid-credential\": \"The supplied auth credential is malformed or has expired.\",\n \"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.\",\n \"invalid-multi-factor-session\": \"The request does not contain a valid proof of first factor successful sign-in.\",\n \"invalid-oauth-provider\": \"EmailAuthProvider is not supported for this operation. This operation only supports OAuth providers.\",\n \"invalid-oauth-client-id\": \"The OAuth client ID provided is either invalid or does not match the specified API key.\",\n \"unauthorized-domain\": \"This domain is not authorized for OAuth operations for your Firebase project. Edit the list of authorized domains from the Firebase console.\",\n \"invalid-action-code\": \"The action code is invalid. This can happen if the code is malformed, expired, or has already been used.\",\n \"wrong-password\": \"The password is invalid or the user does not have a password.\",\n \"invalid-persistence-type\": \"The specified persistence type is invalid. It can only be local, session or none.\",\n \"invalid-phone-number\": \"The format of the phone number provided is incorrect. Please enter the phone number in a format that can be parsed into E.164 format. E.164 phone numbers are written in the format [+][country code][subscriber number including area code].\",\n \"invalid-provider-id\": \"The specified provider ID is invalid.\",\n \"invalid-recipient-email\": \"The email corresponding to this action failed to send as the provided recipient email address is invalid.\",\n \"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.\",\n \"invalid-verification-id\": \"The verification ID used to create the phone auth credential is invalid.\",\n \"invalid-tenant-id\": \"The Auth instance's tenant ID is invalid.\",\n \"multi-factor-info-not-found\": \"The user does not have a second factor matching the identifier provided.\",\n \"multi-factor-auth-required\": \"Proof of ownership of a second factor is required to complete sign-in.\",\n \"missing-android-pkg-name\": \"An Android Package Name must be provided if the Android App is required to be installed.\",\n \"auth-domain-config-required\": \"Be sure to include authDomain when calling firebase.initializeApp(), by following the instructions in the Firebase console.\",\n \"missing-app-credential\": \"The phone verification request is missing an application verifier assertion. A reCAPTCHA response token needs to be provided.\",\n \"missing-verification-code\": \"The phone auth credential was created with an empty SMS verification code.\",\n \"missing-continue-uri\": \"A continue URL must be provided in the request.\",\n \"missing-iframe-start\": \"An internal error has occurred.\",\n \"missing-ios-bundle-id\": \"An iOS Bundle ID must be provided if an App Store ID is provided.\",\n \"missing-multi-factor-info\": \"No second factor identifier is provided.\",\n \"missing-multi-factor-session\": \"The request is missing proof of first factor successful sign-in.\",\n \"missing-or-invalid-nonce\": \"The request does not contain a valid nonce. This can occur if the SHA-256 hash of the provided raw nonce does not match the hashed nonce in the ID token payload.\",\n \"missing-phone-number\": \"To send verification codes, provide a phone number for the recipient.\",\n \"missing-verification-id\": \"The phone auth credential was created with an empty verification ID.\",\n \"app-deleted\": \"This instance of FirebaseApp has been deleted.\",\n \"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.\",\n \"network-request-failed\": \"A network error (such as timeout, interrupted connection or unreachable host) has occurred.\",\n \"no-auth-event\": \"An internal error has occurred.\",\n \"no-such-provider\": \"User was not linked to an account with the given provider.\",\n \"null-user\": \"A null user object was provided as the argument for an operation which requires a non-null user object.\",\n \"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.\",\n \"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.',\n \"popup-blocked\": \"Unable to establish a connection with the popup. It may have been blocked by the browser.\",\n \"popup-closed-by-user\": \"The popup has been closed by the user before finalizing the operation.\",\n \"provider-already-linked\": \"User can only be linked to one identity for the given provider.\",\n \"quota-exceeded\": \"The project's quota for this operation has been exceeded.\",\n \"redirect-cancelled-by-user\": \"The redirect operation has been cancelled by the user before finalizing.\",\n \"redirect-operation-pending\": \"A redirect sign-in operation is already pending.\",\n \"rejected-credential\": \"The request contains malformed or mismatching credentials.\",\n \"second-factor-already-in-use\": \"The second factor is already enrolled on this account.\",\n \"maximum-second-factor-count-exceeded\": \"The maximum allowed number of second factors on a user has been exceeded.\",\n \"tenant-id-mismatch\": \"The provided tenant ID does not match the Auth instance's tenant ID\",\n timeout: \"The operation has timed out.\",\n \"user-token-expired\": \"The user's credential is no longer valid. The user must sign in again.\",\n \"too-many-requests\": \"We have blocked all requests from this device due to unusual activity. Try again later.\",\n \"unauthorized-continue-uri\": \"The domain of the continue URL is not whitelisted. Please whitelist the domain in the Firebase console.\",\n \"unsupported-first-factor\": \"Enrolling a second factor or signing in with a multi-factor account requires sign-in with a supported first factor.\",\n \"unsupported-persistence-type\": \"The current environment does not support the specified persistence type.\",\n \"unsupported-tenant-operation\": \"This operation is not supported in a multi-tenant context.\",\n \"unverified-email\": \"The operation requires a verified email.\",\n \"user-cancelled\": \"The user did not grant your application the permissions it requested.\",\n \"user-not-found\": \"There is no user record corresponding to this identifier. The user may have been deleted.\",\n \"user-disabled\": \"The user account has been disabled by an administrator.\",\n \"user-mismatch\": \"The supplied credentials do not correspond to the previously signed in user.\",\n \"user-signed-out\": \"\",\n \"weak-password\": \"The password must be 6 characters long or more.\",\n \"web-storage-unsupported\": \"This browser is not supported or 3rd party cookies and data may be disabled.\"\n };\n var Ba = {\n ld: {\n Ua: \"https://staging-identitytoolkit.sandbox.googleapis.com/identitytoolkit/v3/relyingparty/\",\n $a: \"https://staging-securetoken.sandbox.googleapis.com/v1/token\",\n Xa: \"https://staging-identitytoolkit.sandbox.googleapis.com/v2/\",\n id: \"b\"\n },\n sd: {\n Ua: \"https://www.googleapis.com/identitytoolkit/v3/relyingparty/\",\n $a: \"https://securetoken.googleapis.com/v1/token\",\n Xa: \"https://identitytoolkit.googleapis.com/v2/\",\n id: \"p\"\n },\n ud: {\n Ua: \"https://staging-www.sandbox.googleapis.com/identitytoolkit/v3/relyingparty/\",\n $a: \"https://staging-securetoken.sandbox.googleapis.com/v1/token\",\n Xa: \"https://staging-identitytoolkit.sandbox.googleapis.com/v2/\",\n id: \"s\"\n },\n vd: {\n Ua: \"https://www-googleapis-test.sandbox.google.com/identitytoolkit/v3/relyingparty/\",\n $a: \"https://test-securetoken.sandbox.googleapis.com/v1/token\",\n Xa: \"https://test-identitytoolkit.sandbox.googleapis.com/v2/\",\n id: \"t\"\n }\n };\n\n function Ca(a) {\n for (var b in Ba) {\n if (Ba[b].id === a) return a = Ba[b], {\n firebaseEndpoint: a.Ua,\n secureTokenEndpoint: a.$a,\n identityPlatformEndpoint: a.Xa\n };\n }\n\n return null;\n }\n\n var Da;\n Da = Ca(\"__EID__\") ? \"__EID__\" : void 0;\n\n function Ea(a) {\n if (!a) return !1;\n\n try {\n return !!a.$goog_Thenable;\n } catch (b) {\n return !1;\n }\n }\n\n ;\n\n function u(a) {\n if (Error.captureStackTrace) Error.captureStackTrace(this, u);else {\n var b = Error().stack;\n b && (this.stack = b);\n }\n a && (this.message = String(a));\n }\n\n r(u, Error);\n u.prototype.name = \"CustomError\";\n\n function Fa(a, b) {\n a = a.split(\"%s\");\n\n for (var c = \"\", d = a.length - 1, e = 0; e < d; e++) {\n c += a[e] + (e < b.length ? b[e] : \"%s\");\n }\n\n u.call(this, c + a[d]);\n }\n\n r(Fa, u);\n Fa.prototype.name = \"AssertionError\";\n\n function Ga(a, b) {\n throw new Fa(\"Failure\" + (a ? \": \" + a : \"\"), Array.prototype.slice.call(arguments, 1));\n }\n\n ;\n\n function Ha(a, b) {\n this.c = a;\n this.f = b;\n this.b = 0;\n this.a = null;\n }\n\n Ha.prototype.get = function () {\n if (0 < this.b) {\n this.b--;\n var a = this.a;\n this.a = a.next;\n a.next = null;\n } else a = this.c();\n\n return a;\n };\n\n function Ia(a, b) {\n a.f(b);\n 100 > a.b && (a.b++, b.next = a.a, a.a = b);\n }\n\n ;\n\n function Ja() {\n this.b = this.a = null;\n }\n\n var La = new Ha(function () {\n return new Ka();\n }, function (a) {\n a.reset();\n });\n\n Ja.prototype.add = function (a, b) {\n var c = La.get();\n c.set(a, b);\n this.b ? this.b.next = c : this.a = c;\n this.b = c;\n };\n\n function Ma() {\n var a = Na,\n b = null;\n a.a && (b = a.a, a.a = a.a.next, a.a || (a.b = null), b.next = null);\n return b;\n }\n\n function Ka() {\n this.next = this.b = this.a = null;\n }\n\n Ka.prototype.set = function (a, b) {\n this.a = a;\n this.b = b;\n this.next = null;\n };\n\n Ka.prototype.reset = function () {\n this.next = this.b = this.a = null;\n };\n\n var Oa = Array.prototype.indexOf ? function (a, b) {\n return Array.prototype.indexOf.call(a, b, void 0);\n } : function (a, b) {\n if (\"string\" === typeof a) return \"string\" !== typeof b || 1 != b.length ? -1 : a.indexOf(b, 0);\n\n for (var c = 0; c < a.length; c++) {\n if (c in a && a[c] === b) return c;\n }\n\n return -1;\n },\n w = Array.prototype.forEach ? function (a, b, c) {\n Array.prototype.forEach.call(a, b, c);\n } : function (a, b, c) {\n for (var d = a.length, e = \"string\" === typeof a ? a.split(\"\") : a, f = 0; f < d; f++) {\n f in e && b.call(c, e[f], f, a);\n }\n };\n\n function Pa(a, b) {\n for (var c = \"string\" === typeof a ? a.split(\"\") : a, d = a.length - 1; 0 <= d; --d) {\n d in c && b.call(void 0, c[d], d, a);\n }\n }\n\n var Qa = Array.prototype.filter ? function (a, b) {\n return Array.prototype.filter.call(a, b, void 0);\n } : function (a, b) {\n for (var c = a.length, d = [], e = 0, f = \"string\" === typeof a ? a.split(\"\") : a, g = 0; g < c; g++) {\n if (g in f) {\n var h = f[g];\n b.call(void 0, h, g, a) && (d[e++] = h);\n }\n }\n\n return d;\n },\n Ra = Array.prototype.map ? function (a, b) {\n return Array.prototype.map.call(a, b, void 0);\n } : function (a, b) {\n for (var c = a.length, d = Array(c), e = \"string\" === typeof a ? a.split(\"\") : a, f = 0; f < c; f++) {\n f in e && (d[f] = b.call(void 0, e[f], f, a));\n }\n\n return d;\n },\n Sa = Array.prototype.some ? function (a, b) {\n return Array.prototype.some.call(a, b, void 0);\n } : function (a, b) {\n for (var c = a.length, d = \"string\" === typeof a ? a.split(\"\") : a, e = 0; e < c; e++) {\n if (e in d && b.call(void 0, d[e], e, a)) return !0;\n }\n\n return !1;\n };\n\n function Ta(a) {\n a: {\n var b = Ua;\n\n for (var c = a.length, d = \"string\" === typeof a ? a.split(\"\") : a, e = 0; e < c; e++) {\n if (e in d && b.call(void 0, d[e], e, a)) {\n b = e;\n break a;\n }\n }\n\n b = -1;\n }\n\n return 0 > b ? null : \"string\" === typeof a ? a.charAt(b) : a[b];\n }\n\n function Va(a, b) {\n return 0 <= Oa(a, b);\n }\n\n function Wa(a, b) {\n b = Oa(a, b);\n var c;\n (c = 0 <= b) && Array.prototype.splice.call(a, b, 1);\n return c;\n }\n\n function Xa(a, b) {\n var c = 0;\n Pa(a, function (d, e) {\n b.call(void 0, d, e, a) && 1 == Array.prototype.splice.call(a, e, 1).length && c++;\n });\n }\n\n function Ya(a) {\n return Array.prototype.concat.apply([], arguments);\n }\n\n function Za(a) {\n var b = a.length;\n\n if (0 < b) {\n for (var c = Array(b), d = 0; d < b; d++) {\n c[d] = a[d];\n }\n\n return c;\n }\n\n return [];\n }\n\n ;\n var $a = String.prototype.trim ? function (a) {\n return a.trim();\n } : function (a) {\n return /^[\\s\\xa0]*([\\s\\S]*?)[\\s\\xa0]*$/.exec(a)[1];\n },\n ab = /&/g,\n bb = //g,\n db = /\"/g,\n eb = /'/g,\n fb = /\\x00/g,\n gb = /[\\x00&<>\"']/;\n\n function x(a, b) {\n return -1 != a.indexOf(b);\n }\n\n function hb(a, b) {\n return a < b ? -1 : a > b ? 1 : 0;\n }\n\n ;\n var ib;\n\n a: {\n var jb = l.navigator;\n\n if (jb) {\n var kb = jb.userAgent;\n\n if (kb) {\n ib = kb;\n break a;\n }\n }\n\n ib = \"\";\n }\n\n function y(a) {\n return x(ib, a);\n }\n\n ;\n\n function lb(a, b) {\n for (var c in a) {\n b.call(void 0, a[c], c, a);\n }\n }\n\n function mb(a) {\n for (var b in a) {\n return !1;\n }\n\n return !0;\n }\n\n function nb(a) {\n var b = {},\n c;\n\n for (c in a) {\n b[c] = a[c];\n }\n\n return b;\n }\n\n var ob = \"constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf\".split(\" \");\n\n function z(a, b) {\n for (var c, d, e = 1; e < arguments.length; e++) {\n d = arguments[e];\n\n for (c in d) {\n a[c] = d[c];\n }\n\n for (var f = 0; f < ob.length; f++) {\n c = ob[f], Object.prototype.hasOwnProperty.call(d, c) && (a[c] = d[c]);\n }\n }\n }\n\n ;\n\n function pb(a, b) {\n a: {\n try {\n var c = a && a.ownerDocument,\n d = c && (c.defaultView || c.parentWindow);\n d = d || l;\n\n if (d.Element && d.Location) {\n var e = d;\n break a;\n }\n } catch (g) {}\n\n e = null;\n }\n\n if (e && \"undefined\" != typeof e[b] && (!a || !(a instanceof e[b]) && (a instanceof e.Location || a instanceof e.Element))) {\n if (n(a)) try {\n var f = a.constructor.displayName || a.constructor.name || Object.prototype.toString.call(a);\n } catch (g) {\n f = \"\";\n } else f = void 0 === a ? \"undefined\" : null === a ? \"null\" : _typeof(a);\n Ga(\"Argument is not a %s (or a non-Element, non-Location mock); got: %s\", b, f);\n }\n }\n\n ;\n\n function qb(a, b) {\n this.a = a === rb && b || \"\";\n this.b = sb;\n }\n\n qb.prototype.ta = !0;\n\n qb.prototype.sa = function () {\n return this.a;\n };\n\n qb.prototype.toString = function () {\n return \"Const{\" + this.a + \"}\";\n };\n\n function tb(a) {\n if (a instanceof qb && a.constructor === qb && a.b === sb) return a.a;\n Ga(\"expected object of type Const, got '\" + a + \"'\");\n return \"type_error:Const\";\n }\n\n var sb = {},\n rb = {};\n var ub;\n\n function vb() {\n if (void 0 === ub) {\n var a = null,\n b = l.trustedTypes;\n\n if (b && b.createPolicy) {\n try {\n a = b.createPolicy(\"goog#html\", {\n createHTML: wa,\n createScript: wa,\n createScriptURL: wa\n });\n } catch (c) {\n l.console && l.console.error(c.message);\n }\n\n ub = a;\n } else ub = a;\n }\n\n return ub;\n }\n\n ;\n\n function wb(a, b) {\n this.a = b === xb ? a : \"\";\n }\n\n wb.prototype.ta = !0;\n\n wb.prototype.sa = function () {\n return this.a.toString();\n };\n\n wb.prototype.toString = function () {\n return \"TrustedResourceUrl{\" + this.a + \"}\";\n };\n\n function yb(a) {\n if (a instanceof wb && a.constructor === wb) return a.a;\n Ga(\"expected object of type TrustedResourceUrl, got '\" + a + \"' of type \" + ma(a));\n return \"type_error:TrustedResourceUrl\";\n }\n\n function zb(a, b) {\n var c = tb(a);\n if (!Ab.test(c)) throw Error(\"Invalid TrustedResourceUrl format: \" + c);\n a = c.replace(Bb, function (d, e) {\n if (!Object.prototype.hasOwnProperty.call(b, e)) throw Error('Found marker, \"' + e + '\", in format string, \"' + c + '\", but no valid label mapping found in args: ' + JSON.stringify(b));\n d = b[e];\n return d instanceof qb ? tb(d) : encodeURIComponent(String(d));\n });\n return Cb(a);\n }\n\n var Bb = /%{(\\w+)}/g,\n Ab = /^((https:)?\\/\\/[0-9a-z.:[\\]-]+\\/|\\/[^/\\\\]|[^:/\\\\%]+\\/|[^:/\\\\%]*[?#]|about:blank#)/i,\n xb = {};\n\n function Cb(a) {\n var b = vb();\n a = b ? b.createScriptURL(a) : a;\n return new wb(a, xb);\n }\n\n ;\n\n function C(a, b) {\n this.a = b === Db ? a : \"\";\n }\n\n C.prototype.ta = !0;\n\n C.prototype.sa = function () {\n return this.a.toString();\n };\n\n C.prototype.toString = function () {\n return \"SafeUrl{\" + this.a + \"}\";\n };\n\n function Eb(a) {\n if (a instanceof C && a.constructor === C) return a.a;\n Ga(\"expected object of type SafeUrl, got '\" + a + \"' of type \" + ma(a));\n return \"type_error:SafeUrl\";\n }\n\n var Fb = /^(?:audio\\/(?:3gpp2|3gpp|aac|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-matroska|x-wav|wav|webm)|font\\/\\w+|image\\/(?:bmp|gif|jpeg|jpg|png|tiff|webp|x-icon)|text\\/csv|video\\/(?:mpeg|mp4|ogg|webm|quicktime|x-matroska))(?:;\\w+=(?:\\w+|\"[\\w;,= ]+\"))*$/i,\n Gb = /^data:(.*);base64,[a-z0-9+\\/]+=*$/i,\n Hb = /^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i;\n\n function Ib(a) {\n if (a instanceof C) return a;\n a = \"object\" == _typeof(a) && a.ta ? a.sa() : String(a);\n if (Hb.test(a)) a = new C(a, Db);else {\n a = String(a);\n a = a.replace(/(%0A|%0D)/g, \"\");\n var b = a.match(Gb);\n a = b && Fb.test(b[1]) ? new C(a, Db) : null;\n }\n return a;\n }\n\n function Jb(a) {\n if (a instanceof C) return a;\n a = \"object\" == _typeof(a) && a.ta ? a.sa() : String(a);\n Hb.test(a) || (a = \"about:invalid#zClosurez\");\n return new C(a, Db);\n }\n\n var Db = {},\n Kb = new C(\"about:invalid#zClosurez\", Db);\n\n function Lb(a, b, c) {\n this.a = c === Mb ? a : \"\";\n }\n\n Lb.prototype.ta = !0;\n\n Lb.prototype.sa = function () {\n return this.a.toString();\n };\n\n Lb.prototype.toString = function () {\n return \"SafeHtml{\" + this.a + \"}\";\n };\n\n function Nb(a) {\n if (a instanceof Lb && a.constructor === Lb) return a.a;\n Ga(\"expected object of type SafeHtml, got '\" + a + \"' of type \" + ma(a));\n return \"type_error:SafeHtml\";\n }\n\n var Mb = {};\n\n function Ob(a, b) {\n pb(a, \"HTMLScriptElement\");\n a.src = yb(b);\n (b = a.ownerDocument && a.ownerDocument.defaultView) && b != l ? b = ka(b.document) : (null === ja && (ja = ka(l.document)), b = ja);\n b && a.setAttribute(\"nonce\", b);\n }\n\n function Pb(a, b, c, d) {\n a = a instanceof C ? a : Jb(a);\n b = b || l;\n c = c instanceof qb ? tb(c) : c || \"\";\n return b.open(Eb(a), c, d, void 0);\n }\n\n ;\n\n function Qb(a, b) {\n for (var c = a.split(\"%s\"), d = \"\", e = Array.prototype.slice.call(arguments, 1); e.length && 1 < c.length;) {\n d += c.shift() + e.shift();\n }\n\n return d + c.join(\"%s\");\n }\n\n function Rb(a) {\n gb.test(a) && (-1 != a.indexOf(\"&\") && (a = a.replace(ab, \"&\")), -1 != a.indexOf(\"<\") && (a = a.replace(bb, \"<\")), -1 != a.indexOf(\">\") && (a = a.replace(cb, \">\")), -1 != a.indexOf('\"') && (a = a.replace(db, \""\")), -1 != a.indexOf(\"'\") && (a = a.replace(eb, \"'\")), -1 != a.indexOf(\"\\x00\") && (a = a.replace(fb, \"�\")));\n return a;\n }\n\n ;\n\n function Sb(a) {\n Sb[\" \"](a);\n return a;\n }\n\n Sb[\" \"] = la;\n\n function Tb(a, b) {\n var c = Ub;\n return Object.prototype.hasOwnProperty.call(c, a) ? c[a] : c[a] = b(a);\n }\n\n ;\n var Vb = y(\"Opera\"),\n Wb = y(\"Trident\") || y(\"MSIE\"),\n Xb = y(\"Edge\"),\n Yb = Xb || Wb,\n Zb = y(\"Gecko\") && !(x(ib.toLowerCase(), \"webkit\") && !y(\"Edge\")) && !(y(\"Trident\") || y(\"MSIE\")) && !y(\"Edge\"),\n $b = x(ib.toLowerCase(), \"webkit\") && !y(\"Edge\");\n\n function ac() {\n var a = l.document;\n return a ? a.documentMode : void 0;\n }\n\n var bc;\n\n a: {\n var cc = \"\",\n dc = function () {\n var a = ib;\n if (Zb) return /rv:([^\\);]+)(\\)|;)/.exec(a);\n if (Xb) return /Edge\\/([\\d\\.]+)/.exec(a);\n if (Wb) return /\\b(?:MSIE|rv)[: ]([^\\);]+)(\\)|;)/.exec(a);\n if ($b) return /WebKit\\/(\\S+)/.exec(a);\n if (Vb) return /(?:Version)[ \\/]?(\\S+)/.exec(a);\n }();\n\n dc && (cc = dc ? dc[1] : \"\");\n\n if (Wb) {\n var ec = ac();\n\n if (null != ec && ec > parseFloat(cc)) {\n bc = String(ec);\n break a;\n }\n }\n\n bc = cc;\n }\n\n var Ub = {};\n\n function fc(a) {\n return Tb(a, function () {\n for (var b = 0, c = $a(String(bc)).split(\".\"), d = $a(String(a)).split(\".\"), e = Math.max(c.length, d.length), f = 0; 0 == b && f < e; f++) {\n var g = c[f] || \"\",\n h = d[f] || \"\";\n\n do {\n g = /(\\d*)(\\D*)(.*)/.exec(g) || [\"\", \"\", \"\", \"\"];\n h = /(\\d*)(\\D*)(.*)/.exec(h) || [\"\", \"\", \"\", \"\"];\n if (0 == g[0].length && 0 == h[0].length) break;\n b = hb(0 == g[1].length ? 0 : parseInt(g[1], 10), 0 == h[1].length ? 0 : parseInt(h[1], 10)) || hb(0 == g[2].length, 0 == h[2].length) || hb(g[2], h[2]);\n g = g[3];\n h = h[3];\n } while (0 == b);\n }\n\n return 0 <= b;\n });\n }\n\n var gc;\n\n if (l.document && Wb) {\n var hc = ac();\n gc = hc ? hc : parseInt(bc, 10) || void 0;\n } else gc = void 0;\n\n var ic = gc;\n\n try {\n new self.OffscreenCanvas(0, 0).getContext(\"2d\");\n } catch (a) {}\n\n var jc = !Wb || 9 <= Number(ic);\n\n function kc(a) {\n var b = document;\n return \"string\" === typeof a ? b.getElementById(a) : a;\n }\n\n function lc(a, b) {\n lb(b, function (c, d) {\n c && \"object\" == _typeof(c) && c.ta && (c = c.sa());\n \"style\" == d ? a.style.cssText = c : \"class\" == d ? a.className = c : \"for\" == d ? a.htmlFor = c : mc.hasOwnProperty(d) ? a.setAttribute(mc[d], c) : 0 == d.lastIndexOf(\"aria-\", 0) || 0 == d.lastIndexOf(\"data-\", 0) ? a.setAttribute(d, c) : a[d] = c;\n });\n }\n\n var mc = {\n cellpadding: \"cellPadding\",\n cellspacing: \"cellSpacing\",\n colspan: \"colSpan\",\n frameborder: \"frameBorder\",\n height: \"height\",\n maxlength: \"maxLength\",\n nonce: \"nonce\",\n role: \"role\",\n rowspan: \"rowSpan\",\n type: \"type\",\n usemap: \"useMap\",\n valign: \"vAlign\",\n width: \"width\"\n };\n\n function nc(a, b, c) {\n var d = arguments,\n e = document,\n f = String(d[0]),\n g = d[1];\n\n if (!jc && g && (g.name || g.type)) {\n f = [\"<\", f];\n g.name && f.push(' name=\"', Rb(g.name), '\"');\n\n if (g.type) {\n f.push(' type=\"', Rb(g.type), '\"');\n var h = {};\n z(h, g);\n delete h.type;\n g = h;\n }\n\n f.push(\">\");\n f = f.join(\"\");\n }\n\n f = oc(e, f);\n g && (\"string\" === typeof g ? f.className = g : Array.isArray(g) ? f.className = g.join(\" \") : lc(f, g));\n 2 < d.length && pc(e, f, d);\n return f;\n }\n\n function pc(a, b, c) {\n function d(h) {\n h && b.appendChild(\"string\" === typeof h ? a.createTextNode(h) : h);\n }\n\n for (var e = 2; e < c.length; e++) {\n var f = c[e];\n if (!na(f) || n(f) && 0 < f.nodeType) d(f);else {\n a: {\n if (f && \"number\" == typeof f.length) {\n if (n(f)) {\n var g = \"function\" == typeof f.item || \"string\" == typeof f.item;\n break a;\n }\n\n if (oa(f)) {\n g = \"function\" == typeof f.item;\n break a;\n }\n }\n\n g = !1;\n }\n\n w(g ? Za(f) : f, d);\n }\n }\n }\n\n function oc(a, b) {\n b = String(b);\n \"application/xhtml+xml\" === a.contentType && (b = b.toLowerCase());\n return a.createElement(b);\n }\n\n ;\n\n function qc(a) {\n l.setTimeout(function () {\n throw a;\n }, 0);\n }\n\n var rc;\n\n function sc() {\n var a = l.MessageChannel;\n \"undefined\" === typeof a && \"undefined\" !== typeof window && window.postMessage && window.addEventListener && !y(\"Presto\") && (a = function a() {\n var e = oc(document, \"IFRAME\");\n e.style.display = \"none\";\n document.documentElement.appendChild(e);\n var f = e.contentWindow;\n e = f.document;\n e.open();\n e.close();\n var g = \"callImmediate\" + Math.random(),\n h = \"file:\" == f.location.protocol ? \"*\" : f.location.protocol + \"//\" + f.location.host;\n e = q(function (m) {\n if ((\"*\" == h || m.origin == h) && m.data == g) this.port1.onmessage();\n }, this);\n f.addEventListener(\"message\", e, !1);\n this.port1 = {};\n this.port2 = {\n postMessage: function postMessage() {\n f.postMessage(g, h);\n }\n };\n });\n\n if (\"undefined\" !== typeof a && !y(\"Trident\") && !y(\"MSIE\")) {\n var b = new a(),\n c = {},\n d = c;\n\n b.port1.onmessage = function () {\n if (void 0 !== c.next) {\n c = c.next;\n var e = c.Hb;\n c.Hb = null;\n e();\n }\n };\n\n return function (e) {\n d.next = {\n Hb: e\n };\n d = d.next;\n b.port2.postMessage(0);\n };\n }\n\n return function (e) {\n l.setTimeout(e, 0);\n };\n }\n\n ;\n\n function tc(a, b) {\n uc || vc();\n wc || (uc(), wc = !0);\n Na.add(a, b);\n }\n\n var uc;\n\n function vc() {\n if (l.Promise && l.Promise.resolve) {\n var a = l.Promise.resolve(void 0);\n\n uc = function uc() {\n a.then(xc);\n };\n } else uc = function uc() {\n var b = xc;\n !oa(l.setImmediate) || l.Window && l.Window.prototype && !y(\"Edge\") && l.Window.prototype.setImmediate == l.setImmediate ? (rc || (rc = sc()), rc(b)) : l.setImmediate(b);\n };\n }\n\n var wc = !1,\n Na = new Ja();\n\n function xc() {\n for (var a; a = Ma();) {\n try {\n a.a.call(a.b);\n } catch (b) {\n qc(b);\n }\n\n Ia(La, a);\n }\n\n wc = !1;\n }\n\n ;\n\n function D(a, b) {\n this.a = yc;\n this.i = void 0;\n this.f = this.b = this.c = null;\n this.g = this.h = !1;\n if (a != la) try {\n var c = this;\n a.call(b, function (d) {\n zc(c, Ac, d);\n }, function (d) {\n if (!(d instanceof Bc)) try {\n if (d instanceof Error) throw d;\n throw Error(\"Promise rejected.\");\n } catch (e) {}\n zc(c, Cc, d);\n });\n } catch (d) {\n zc(this, Cc, d);\n }\n }\n\n var yc = 0,\n Ac = 2,\n Cc = 3;\n\n function Dc() {\n this.next = this.f = this.b = this.g = this.a = null;\n this.c = !1;\n }\n\n Dc.prototype.reset = function () {\n this.f = this.b = this.g = this.a = null;\n this.c = !1;\n };\n\n var Ec = new Ha(function () {\n return new Dc();\n }, function (a) {\n a.reset();\n });\n\n function Fc(a, b, c) {\n var d = Ec.get();\n d.g = a;\n d.b = b;\n d.f = c;\n return d;\n }\n\n function E(a) {\n if (a instanceof D) return a;\n var b = new D(la);\n zc(b, Ac, a);\n return b;\n }\n\n function F(a) {\n return new D(function (b, c) {\n c(a);\n });\n }\n\n function Gc(a, b, c) {\n Hc(a, b, c, null) || tc(ua(b, a));\n }\n\n function Ic(a) {\n return new D(function (b, c) {\n var d = a.length,\n e = [];\n if (d) for (var f = function f(p, v) {\n d--;\n e[p] = v;\n 0 == d && b(e);\n }, g = function g(p) {\n c(p);\n }, h = 0, m; h < a.length; h++) {\n m = a[h], Gc(m, ua(f, h), g);\n } else b(e);\n });\n }\n\n function Jc(a) {\n return new D(function (b) {\n var c = a.length,\n d = [];\n if (c) for (var e = function e(h, m, p) {\n c--;\n d[h] = m ? {\n Qb: !0,\n value: p\n } : {\n Qb: !1,\n reason: p\n };\n 0 == c && b(d);\n }, f = 0, g; f < a.length; f++) {\n g = a[f], Gc(g, ua(e, f, !0), ua(e, f, !1));\n } else b(d);\n });\n }\n\n D.prototype.then = function (a, b, c) {\n return Kc(this, oa(a) ? a : null, oa(b) ? b : null, c);\n };\n\n D.prototype.$goog_Thenable = !0;\n k = D.prototype;\n\n k.oa = function (a, b) {\n a = Fc(a, a, b);\n a.c = !0;\n Lc(this, a);\n return this;\n };\n\n k.o = function (a, b) {\n return Kc(this, null, a, b);\n };\n\n k.cancel = function (a) {\n if (this.a == yc) {\n var b = new Bc(a);\n tc(function () {\n Mc(this, b);\n }, this);\n }\n };\n\n function Mc(a, b) {\n if (a.a == yc) if (a.c) {\n var c = a.c;\n\n if (c.b) {\n for (var d = 0, e = null, f = null, g = c.b; g && (g.c || (d++, g.a == a && (e = g), !(e && 1 < d))); g = g.next) {\n e || (f = g);\n }\n\n e && (c.a == yc && 1 == d ? Mc(c, b) : (f ? (d = f, d.next == c.f && (c.f = d), d.next = d.next.next) : Nc(c), Oc(c, e, Cc, b)));\n }\n\n a.c = null;\n } else zc(a, Cc, b);\n }\n\n function Lc(a, b) {\n a.b || a.a != Ac && a.a != Cc || Pc(a);\n a.f ? a.f.next = b : a.b = b;\n a.f = b;\n }\n\n function Kc(a, b, c, d) {\n var e = Fc(null, null, null);\n e.a = new D(function (f, g) {\n e.g = b ? function (h) {\n try {\n var m = b.call(d, h);\n f(m);\n } catch (p) {\n g(p);\n }\n } : f;\n e.b = c ? function (h) {\n try {\n var m = c.call(d, h);\n void 0 === m && h instanceof Bc ? g(h) : f(m);\n } catch (p) {\n g(p);\n }\n } : g;\n });\n e.a.c = a;\n Lc(a, e);\n return e.a;\n }\n\n k.$c = function (a) {\n this.a = yc;\n zc(this, Ac, a);\n };\n\n k.ad = function (a) {\n this.a = yc;\n zc(this, Cc, a);\n };\n\n function zc(a, b, c) {\n a.a == yc && (a === c && (b = Cc, c = new TypeError(\"Promise cannot resolve to itself\")), a.a = 1, Hc(c, a.$c, a.ad, a) || (a.i = c, a.a = b, a.c = null, Pc(a), b != Cc || c instanceof Bc || Qc(a, c)));\n }\n\n function Hc(a, b, c, d) {\n if (a instanceof D) return Lc(a, Fc(b || la, c || null, d)), !0;\n if (Ea(a)) return a.then(b, c, d), !0;\n if (n(a)) try {\n var e = a.then;\n if (oa(e)) return Rc(a, e, b, c, d), !0;\n } catch (f) {\n return c.call(d, f), !0;\n }\n return !1;\n }\n\n function Rc(a, b, c, d, e) {\n function f(m) {\n h || (h = !0, d.call(e, m));\n }\n\n function g(m) {\n h || (h = !0, c.call(e, m));\n }\n\n var h = !1;\n\n try {\n b.call(a, g, f);\n } catch (m) {\n f(m);\n }\n }\n\n function Pc(a) {\n a.h || (a.h = !0, tc(a.gc, a));\n }\n\n function Nc(a) {\n var b = null;\n a.b && (b = a.b, a.b = b.next, b.next = null);\n a.b || (a.f = null);\n return b;\n }\n\n k.gc = function () {\n for (var a; a = Nc(this);) {\n Oc(this, a, this.a, this.i);\n }\n\n this.h = !1;\n };\n\n function Oc(a, b, c, d) {\n if (c == Cc && b.b && !b.c) for (; a && a.g; a = a.c) {\n a.g = !1;\n }\n if (b.a) b.a.c = null, Sc(b, c, d);else try {\n b.c ? b.g.call(b.f) : Sc(b, c, d);\n } catch (e) {\n Tc.call(null, e);\n }\n Ia(Ec, b);\n }\n\n function Sc(a, b, c) {\n b == Ac ? a.g.call(a.f, c) : a.b && a.b.call(a.f, c);\n }\n\n function Qc(a, b) {\n a.g = !0;\n tc(function () {\n a.g && Tc.call(null, b);\n });\n }\n\n var Tc = qc;\n\n function Bc(a) {\n u.call(this, a);\n }\n\n r(Bc, u);\n Bc.prototype.name = \"cancel\";\n\n function Uc() {\n 0 != Vc && (Wc[pa(this)] = this);\n this.ya = this.ya;\n this.pa = this.pa;\n }\n\n var Vc = 0,\n Wc = {};\n Uc.prototype.ya = !1;\n\n function Xc(a) {\n if (!a.ya && (a.ya = !0, a.Da(), 0 != Vc)) {\n var b = pa(a);\n if (0 != Vc && a.pa && 0 < a.pa.length) throw Error(a + \" did not empty its onDisposeCallbacks queue. This probably means it overrode dispose() or disposeInternal() without calling the superclass' method.\");\n delete Wc[b];\n }\n }\n\n Uc.prototype.Da = function () {\n if (this.pa) for (; this.pa.length;) {\n this.pa.shift()();\n }\n };\n\n var Yc = Object.freeze || function (a) {\n return a;\n };\n\n var Zc = !Wb || 9 <= Number(ic),\n $c = Wb && !fc(\"9\"),\n ad = function () {\n if (!l.addEventListener || !Object.defineProperty) return !1;\n var a = !1,\n b = Object.defineProperty({}, \"passive\", {\n get: function get() {\n a = !0;\n }\n });\n\n try {\n l.addEventListener(\"test\", la, b), l.removeEventListener(\"test\", la, b);\n } catch (c) {}\n\n return a;\n }();\n\n function G(a, b) {\n this.type = a;\n this.b = this.target = b;\n this.defaultPrevented = !1;\n }\n\n G.prototype.preventDefault = function () {\n this.defaultPrevented = !0;\n };\n\n function bd(a, b) {\n G.call(this, a ? a.type : \"\");\n this.relatedTarget = this.b = this.target = null;\n this.button = this.screenY = this.screenX = this.clientY = this.clientX = 0;\n this.key = \"\";\n this.metaKey = this.shiftKey = this.altKey = this.ctrlKey = !1;\n this.pointerId = 0;\n this.pointerType = \"\";\n this.a = null;\n\n if (a) {\n var c = this.type = a.type,\n d = a.changedTouches && a.changedTouches.length ? a.changedTouches[0] : null;\n this.target = a.target || a.srcElement;\n this.b = b;\n\n if (b = a.relatedTarget) {\n if (Zb) {\n a: {\n try {\n Sb(b.nodeName);\n var e = !0;\n break a;\n } catch (f) {}\n\n e = !1;\n }\n\n e || (b = null);\n }\n } else \"mouseover\" == c ? b = a.fromElement : \"mouseout\" == c && (b = a.toElement);\n\n this.relatedTarget = b;\n d ? (this.clientX = void 0 !== d.clientX ? d.clientX : d.pageX, this.clientY = void 0 !== d.clientY ? d.clientY : d.pageY, this.screenX = d.screenX || 0, this.screenY = d.screenY || 0) : (this.clientX = void 0 !== a.clientX ? a.clientX : a.pageX, this.clientY = void 0 !== a.clientY ? a.clientY : a.pageY, this.screenX = a.screenX || 0, this.screenY = a.screenY || 0);\n this.button = a.button;\n this.key = a.key || \"\";\n this.ctrlKey = a.ctrlKey;\n this.altKey = a.altKey;\n this.shiftKey = a.shiftKey;\n this.metaKey = a.metaKey;\n this.pointerId = a.pointerId || 0;\n this.pointerType = \"string\" === typeof a.pointerType ? a.pointerType : cd[a.pointerType] || \"\";\n this.a = a;\n a.defaultPrevented && this.preventDefault();\n }\n }\n\n r(bd, G);\n var cd = Yc({\n 2: \"touch\",\n 3: \"pen\",\n 4: \"mouse\"\n });\n\n bd.prototype.preventDefault = function () {\n bd.bb.preventDefault.call(this);\n var a = this.a;\n if (a.preventDefault) a.preventDefault();else if (a.returnValue = !1, $c) try {\n if (a.ctrlKey || 112 <= a.keyCode && 123 >= a.keyCode) a.keyCode = -1;\n } catch (b) {}\n };\n\n bd.prototype.g = function () {\n return this.a;\n };\n\n var dd = \"closure_listenable_\" + (1E6 * Math.random() | 0),\n ed = 0;\n\n function fd(a, b, c, d, e) {\n this.listener = a;\n this.proxy = null;\n this.src = b;\n this.type = c;\n this.capture = !!d;\n this.Wa = e;\n this.key = ++ed;\n this.wa = this.Qa = !1;\n }\n\n function gd(a) {\n a.wa = !0;\n a.listener = null;\n a.proxy = null;\n a.src = null;\n a.Wa = null;\n }\n\n ;\n\n function hd(a) {\n this.src = a;\n this.a = {};\n this.b = 0;\n }\n\n hd.prototype.add = function (a, b, c, d, e) {\n var f = a.toString();\n a = this.a[f];\n a || (a = this.a[f] = [], this.b++);\n var g = id(a, b, d, e);\n -1 < g ? (b = a[g], c || (b.Qa = !1)) : (b = new fd(b, this.src, f, !!d, e), b.Qa = c, a.push(b));\n return b;\n };\n\n function jd(a, b) {\n var c = b.type;\n c in a.a && Wa(a.a[c], b) && (gd(b), 0 == a.a[c].length && (delete a.a[c], a.b--));\n }\n\n function id(a, b, c, d) {\n for (var e = 0; e < a.length; ++e) {\n var f = a[e];\n if (!f.wa && f.listener == b && f.capture == !!c && f.Wa == d) return e;\n }\n\n return -1;\n }\n\n ;\n var kd = \"closure_lm_\" + (1E6 * Math.random() | 0),\n ld = {},\n md = 0;\n\n function nd(a, b, c, d, e) {\n if (d && d.once) od(a, b, c, d, e);else if (Array.isArray(b)) for (var f = 0; f < b.length; f++) {\n nd(a, b[f], c, d, e);\n } else c = pd(c), a && a[dd] ? qd(a, b, c, n(d) ? !!d.capture : !!d, e) : rd(a, b, c, !1, d, e);\n }\n\n function rd(a, b, c, d, e, f) {\n if (!b) throw Error(\"Invalid event type\");\n var g = n(e) ? !!e.capture : !!e,\n h = sd(a);\n h || (a[kd] = h = new hd(a));\n c = h.add(b, c, d, g, f);\n\n if (!c.proxy) {\n d = td();\n c.proxy = d;\n d.src = a;\n d.listener = c;\n if (a.addEventListener) ad || (e = g), void 0 === e && (e = !1), a.addEventListener(b.toString(), d, e);else if (a.attachEvent) a.attachEvent(ud(b.toString()), d);else if (a.addListener && a.removeListener) a.addListener(d);else throw Error(\"addEventListener and attachEvent are unavailable.\");\n md++;\n }\n }\n\n function td() {\n var a = vd,\n b = Zc ? function (c) {\n return a.call(b.src, b.listener, c);\n } : function (c) {\n c = a.call(b.src, b.listener, c);\n if (!c) return c;\n };\n return b;\n }\n\n function od(a, b, c, d, e) {\n if (Array.isArray(b)) for (var f = 0; f < b.length; f++) {\n od(a, b[f], c, d, e);\n } else c = pd(c), a && a[dd] ? wd(a, b, c, n(d) ? !!d.capture : !!d, e) : rd(a, b, c, !0, d, e);\n }\n\n function xd(a, b, c, d, e) {\n if (Array.isArray(b)) for (var f = 0; f < b.length; f++) {\n xd(a, b[f], c, d, e);\n } else (d = n(d) ? !!d.capture : !!d, c = pd(c), a && a[dd]) ? (a = a.v, b = String(b).toString(), b in a.a && (f = a.a[b], c = id(f, c, d, e), -1 < c && (gd(f[c]), Array.prototype.splice.call(f, c, 1), 0 == f.length && (delete a.a[b], a.b--)))) : a && (a = sd(a)) && (b = a.a[b.toString()], a = -1, b && (a = id(b, c, d, e)), (c = -1 < a ? b[a] : null) && yd(c));\n }\n\n function yd(a) {\n if (\"number\" !== typeof a && a && !a.wa) {\n var b = a.src;\n if (b && b[dd]) jd(b.v, a);else {\n var c = a.type,\n d = a.proxy;\n b.removeEventListener ? b.removeEventListener(c, d, a.capture) : b.detachEvent ? b.detachEvent(ud(c), d) : b.addListener && b.removeListener && b.removeListener(d);\n md--;\n (c = sd(b)) ? (jd(c, a), 0 == c.b && (c.src = null, b[kd] = null)) : gd(a);\n }\n }\n }\n\n function ud(a) {\n return a in ld ? ld[a] : ld[a] = \"on\" + a;\n }\n\n function zd(a, b, c, d) {\n var e = !0;\n if (a = sd(a)) if (b = a.a[b.toString()]) for (b = b.concat(), a = 0; a < b.length; a++) {\n var f = b[a];\n f && f.capture == c && !f.wa && (f = Bd(f, d), e = e && !1 !== f);\n }\n return e;\n }\n\n function Bd(a, b) {\n var c = a.listener,\n d = a.Wa || a.src;\n a.Qa && yd(a);\n return c.call(d, b);\n }\n\n function vd(a, b) {\n if (a.wa) return !0;\n\n if (!Zc) {\n if (!b) a: {\n b = [\"window\", \"event\"];\n\n for (var c = l, d = 0; d < b.length; d++) {\n if (c = c[b[d]], null == c) {\n b = null;\n break a;\n }\n }\n\n b = c;\n }\n d = b;\n b = new bd(d, this);\n c = !0;\n\n if (!(0 > d.keyCode || void 0 != d.returnValue)) {\n a: {\n var e = !1;\n if (0 == d.keyCode) try {\n d.keyCode = -1;\n break a;\n } catch (g) {\n e = !0;\n }\n if (e || void 0 == d.returnValue) d.returnValue = !0;\n }\n\n d = [];\n\n for (e = b.b; e; e = e.parentNode) {\n d.push(e);\n }\n\n a = a.type;\n\n for (e = d.length - 1; 0 <= e; e--) {\n b.b = d[e];\n var f = zd(d[e], a, !0, b);\n c = c && f;\n }\n\n for (e = 0; e < d.length; e++) {\n b.b = d[e], f = zd(d[e], a, !1, b), c = c && f;\n }\n }\n\n return c;\n }\n\n return Bd(a, new bd(b, this));\n }\n\n function sd(a) {\n a = a[kd];\n return a instanceof hd ? a : null;\n }\n\n var Cd = \"__closure_events_fn_\" + (1E9 * Math.random() >>> 0);\n\n function pd(a) {\n if (oa(a)) return a;\n a[Cd] || (a[Cd] = function (b) {\n return a.handleEvent(b);\n });\n return a[Cd];\n }\n\n ;\n\n function H() {\n Uc.call(this);\n this.v = new hd(this);\n this.bc = this;\n this.hb = null;\n }\n\n r(H, Uc);\n H.prototype[dd] = !0;\n\n H.prototype.addEventListener = function (a, b, c, d) {\n nd(this, a, b, c, d);\n };\n\n H.prototype.removeEventListener = function (a, b, c, d) {\n xd(this, a, b, c, d);\n };\n\n H.prototype.dispatchEvent = function (a) {\n var b,\n c = this.hb;\n if (c) for (b = []; c; c = c.hb) {\n b.push(c);\n }\n c = this.bc;\n var d = a.type || a;\n if (\"string\" === typeof a) a = new G(a, c);else if (a instanceof G) a.target = a.target || c;else {\n var e = a;\n a = new G(d, c);\n z(a, e);\n }\n e = !0;\n if (b) for (var f = b.length - 1; 0 <= f; f--) {\n var g = a.b = b[f];\n e = Dd(g, d, !0, a) && e;\n }\n g = a.b = c;\n e = Dd(g, d, !0, a) && e;\n e = Dd(g, d, !1, a) && e;\n if (b) for (f = 0; f < b.length; f++) {\n g = a.b = b[f], e = Dd(g, d, !1, a) && e;\n }\n return e;\n };\n\n H.prototype.Da = function () {\n H.bb.Da.call(this);\n\n if (this.v) {\n var a = this.v,\n b = 0,\n c;\n\n for (c in a.a) {\n for (var d = a.a[c], e = 0; e < d.length; e++) {\n ++b, gd(d[e]);\n }\n\n delete a.a[c];\n a.b--;\n }\n }\n\n this.hb = null;\n };\n\n function qd(a, b, c, d, e) {\n a.v.add(String(b), c, !1, d, e);\n }\n\n function wd(a, b, c, d, e) {\n a.v.add(String(b), c, !0, d, e);\n }\n\n function Dd(a, b, c, d) {\n b = a.v.a[String(b)];\n if (!b) return !0;\n b = b.concat();\n\n for (var e = !0, f = 0; f < b.length; ++f) {\n var g = b[f];\n\n if (g && !g.wa && g.capture == c) {\n var h = g.listener,\n m = g.Wa || g.src;\n g.Qa && jd(a.v, g);\n e = !1 !== h.call(m, d) && e;\n }\n }\n\n return e && !d.defaultPrevented;\n }\n\n ;\n\n function Ed(a, b, c) {\n if (oa(a)) c && (a = q(a, c));else if (a && \"function\" == typeof a.handleEvent) a = q(a.handleEvent, a);else throw Error(\"Invalid listener argument\");\n return 2147483647 < Number(b) ? -1 : l.setTimeout(a, b || 0);\n }\n\n function Fd(a) {\n var b = null;\n return new D(function (c, d) {\n b = Ed(function () {\n c(void 0);\n }, a);\n -1 == b && d(Error(\"Failed to schedule timer.\"));\n }).o(function (c) {\n l.clearTimeout(b);\n throw c;\n });\n }\n\n ;\n\n function Gd(a) {\n if (a.X && \"function\" == typeof a.X) return a.X();\n if (\"string\" === typeof a) return a.split(\"\");\n\n if (na(a)) {\n for (var b = [], c = a.length, d = 0; d < c; d++) {\n b.push(a[d]);\n }\n\n return b;\n }\n\n b = [];\n c = 0;\n\n for (d in a) {\n b[c++] = a[d];\n }\n\n return b;\n }\n\n function Hd(a) {\n if (a.Y && \"function\" == typeof a.Y) return a.Y();\n\n if (!a.X || \"function\" != typeof a.X) {\n if (na(a) || \"string\" === typeof a) {\n var b = [];\n a = a.length;\n\n for (var c = 0; c < a; c++) {\n b.push(c);\n }\n\n return b;\n }\n\n b = [];\n c = 0;\n\n for (var d in a) {\n b[c++] = d;\n }\n\n return b;\n }\n }\n\n function Id(a, b) {\n if (a.forEach && \"function\" == typeof a.forEach) a.forEach(b, void 0);else if (na(a) || \"string\" === typeof a) w(a, b, void 0);else for (var c = Hd(a), d = Gd(a), e = d.length, f = 0; f < e; f++) {\n b.call(void 0, d[f], c && c[f], a);\n }\n }\n\n ;\n\n function Jd(a, b) {\n this.b = {};\n this.a = [];\n this.c = 0;\n var c = arguments.length;\n\n if (1 < c) {\n if (c % 2) throw Error(\"Uneven number of arguments\");\n\n for (var d = 0; d < c; d += 2) {\n this.set(arguments[d], arguments[d + 1]);\n }\n } else if (a) if (a instanceof Jd) for (c = a.Y(), d = 0; d < c.length; d++) {\n this.set(c[d], a.get(c[d]));\n } else for (d in a) {\n this.set(d, a[d]);\n }\n }\n\n k = Jd.prototype;\n\n k.X = function () {\n Kd(this);\n\n for (var a = [], b = 0; b < this.a.length; b++) {\n a.push(this.b[this.a[b]]);\n }\n\n return a;\n };\n\n k.Y = function () {\n Kd(this);\n return this.a.concat();\n };\n\n k.clear = function () {\n this.b = {};\n this.c = this.a.length = 0;\n };\n\n function Kd(a) {\n if (a.c != a.a.length) {\n for (var b = 0, c = 0; b < a.a.length;) {\n var d = a.a[b];\n Ld(a.b, d) && (a.a[c++] = d);\n b++;\n }\n\n a.a.length = c;\n }\n\n if (a.c != a.a.length) {\n var e = {};\n\n for (c = b = 0; b < a.a.length;) {\n d = a.a[b], Ld(e, d) || (a.a[c++] = d, e[d] = 1), b++;\n }\n\n a.a.length = c;\n }\n }\n\n k.get = function (a, b) {\n return Ld(this.b, a) ? this.b[a] : b;\n };\n\n k.set = function (a, b) {\n Ld(this.b, a) || (this.c++, this.a.push(a));\n this.b[a] = b;\n };\n\n k.forEach = function (a, b) {\n for (var c = this.Y(), d = 0; d < c.length; d++) {\n var e = c[d],\n f = this.get(e);\n a.call(b, f, e, this);\n }\n };\n\n function Ld(a, b) {\n return Object.prototype.hasOwnProperty.call(a, b);\n }\n\n ;\n var Md = /^(?:([^:/?#.]+):)?(?:\\/\\/(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$/;\n\n function Nd(a, b) {\n if (a) {\n a = a.split(\"&\");\n\n for (var c = 0; c < a.length; c++) {\n var d = a[c].indexOf(\"=\"),\n e = null;\n\n if (0 <= d) {\n var f = a[c].substring(0, d);\n e = a[c].substring(d + 1);\n } else f = a[c];\n\n b(f, e ? decodeURIComponent(e.replace(/\\+/g, \" \")) : \"\");\n }\n }\n }\n\n ;\n\n function Od(a, b) {\n this.a = this.l = this.c = \"\";\n this.g = null;\n this.h = this.f = \"\";\n this.i = !1;\n var c;\n a instanceof Od ? (this.i = void 0 !== b ? b : a.i, Pd(this, a.c), this.l = a.l, this.a = a.a, Qd(this, a.g), this.f = a.f, Rd(this, Sd(a.b)), this.h = a.h) : a && (c = String(a).match(Md)) ? (this.i = !!b, Pd(this, c[1] || \"\", !0), this.l = Td(c[2] || \"\"), this.a = Td(c[3] || \"\", !0), Qd(this, c[4]), this.f = Td(c[5] || \"\", !0), Rd(this, c[6] || \"\", !0), this.h = Td(c[7] || \"\")) : (this.i = !!b, this.b = new Ud(null, this.i));\n }\n\n Od.prototype.toString = function () {\n var a = [],\n b = this.c;\n b && a.push(Vd(b, Wd, !0), \":\");\n var c = this.a;\n if (c || \"file\" == b) a.push(\"//\"), (b = this.l) && a.push(Vd(b, Wd, !0), \"@\"), a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g, \"%$1\")), c = this.g, null != c && a.push(\":\", String(c));\n if (c = this.f) this.a && \"/\" != c.charAt(0) && a.push(\"/\"), a.push(Vd(c, \"/\" == c.charAt(0) ? Xd : Yd, !0));\n (c = this.b.toString()) && a.push(\"?\", c);\n (c = this.h) && a.push(\"#\", Vd(c, Zd));\n return a.join(\"\");\n };\n\n Od.prototype.resolve = function (a) {\n var b = new Od(this),\n c = !!a.c;\n c ? Pd(b, a.c) : c = !!a.l;\n c ? b.l = a.l : c = !!a.a;\n c ? b.a = a.a : c = null != a.g;\n var d = a.f;\n if (c) Qd(b, a.g);else if (c = !!a.f) {\n if (\"/\" != d.charAt(0)) if (this.a && !this.f) d = \"/\" + d;else {\n var e = b.f.lastIndexOf(\"/\");\n -1 != e && (d = b.f.substr(0, e + 1) + d);\n }\n e = d;\n if (\"..\" == e || \".\" == e) d = \"\";else if (x(e, \"./\") || x(e, \"/.\")) {\n d = 0 == e.lastIndexOf(\"/\", 0);\n e = e.split(\"/\");\n\n for (var f = [], g = 0; g < e.length;) {\n var h = e[g++];\n \".\" == h ? d && g == e.length && f.push(\"\") : \"..\" == h ? ((1 < f.length || 1 == f.length && \"\" != f[0]) && f.pop(), d && g == e.length && f.push(\"\")) : (f.push(h), d = !0);\n }\n\n d = f.join(\"/\");\n } else d = e;\n }\n c ? b.f = d : c = \"\" !== a.b.toString();\n c ? Rd(b, Sd(a.b)) : c = !!a.h;\n c && (b.h = a.h);\n return b;\n };\n\n function Pd(a, b, c) {\n a.c = c ? Td(b, !0) : b;\n a.c && (a.c = a.c.replace(/:$/, \"\"));\n }\n\n function Qd(a, b) {\n if (b) {\n b = Number(b);\n if (isNaN(b) || 0 > b) throw Error(\"Bad port number \" + b);\n a.g = b;\n } else a.g = null;\n }\n\n function Rd(a, b, c) {\n b instanceof Ud ? (a.b = b, $d(a.b, a.i)) : (c || (b = Vd(b, ae)), a.b = new Ud(b, a.i));\n }\n\n function I(a, b, c) {\n a.b.set(b, c);\n }\n\n function be(a, b) {\n return a.b.get(b);\n }\n\n function J(a) {\n return a instanceof Od ? new Od(a) : new Od(a, void 0);\n }\n\n function ce(a, b, c, d) {\n var e = new Od(null, void 0);\n a && Pd(e, a);\n b && (e.a = b);\n c && Qd(e, c);\n d && (e.f = d);\n return e;\n }\n\n function Td(a, b) {\n return a ? b ? decodeURI(a.replace(/%25/g, \"%2525\")) : decodeURIComponent(a) : \"\";\n }\n\n function Vd(a, b, c) {\n return \"string\" === typeof a ? (a = encodeURI(a).replace(b, de), c && (a = a.replace(/%25([0-9a-fA-F]{2})/g, \"%$1\")), a) : null;\n }\n\n function de(a) {\n a = a.charCodeAt(0);\n return \"%\" + (a >> 4 & 15).toString(16) + (a & 15).toString(16);\n }\n\n var Wd = /[#\\/\\?@]/g,\n Yd = /[#\\?:]/g,\n Xd = /[#\\?]/g,\n ae = /[#\\?@]/g,\n Zd = /#/g;\n\n function Ud(a, b) {\n this.b = this.a = null;\n this.c = a || null;\n this.f = !!b;\n }\n\n function ee(a) {\n a.a || (a.a = new Jd(), a.b = 0, a.c && Nd(a.c, function (b, c) {\n a.add(decodeURIComponent(b.replace(/\\+/g, \" \")), c);\n }));\n }\n\n function fe(a) {\n var b = Hd(a);\n if (\"undefined\" == typeof b) throw Error(\"Keys are undefined\");\n var c = new Ud(null, void 0);\n a = Gd(a);\n\n for (var d = 0; d < b.length; d++) {\n var e = b[d],\n f = a[d];\n Array.isArray(f) ? ge(c, e, f) : c.add(e, f);\n }\n\n return c;\n }\n\n k = Ud.prototype;\n\n k.add = function (a, b) {\n ee(this);\n this.c = null;\n a = he(this, a);\n var c = this.a.get(a);\n c || this.a.set(a, c = []);\n c.push(b);\n this.b += 1;\n return this;\n };\n\n function ie(a, b) {\n ee(a);\n b = he(a, b);\n Ld(a.a.b, b) && (a.c = null, a.b -= a.a.get(b).length, a = a.a, Ld(a.b, b) && (delete a.b[b], a.c--, a.a.length > 2 * a.c && Kd(a)));\n }\n\n k.clear = function () {\n this.a = this.c = null;\n this.b = 0;\n };\n\n function je(a, b) {\n ee(a);\n b = he(a, b);\n return Ld(a.a.b, b);\n }\n\n k.forEach = function (a, b) {\n ee(this);\n this.a.forEach(function (c, d) {\n w(c, function (e) {\n a.call(b, e, d, this);\n }, this);\n }, this);\n };\n\n k.Y = function () {\n ee(this);\n\n for (var a = this.a.X(), b = this.a.Y(), c = [], d = 0; d < b.length; d++) {\n for (var e = a[d], f = 0; f < e.length; f++) {\n c.push(b[d]);\n }\n }\n\n return c;\n };\n\n k.X = function (a) {\n ee(this);\n var b = [];\n if (\"string\" === typeof a) je(this, a) && (b = Ya(b, this.a.get(he(this, a))));else {\n a = this.a.X();\n\n for (var c = 0; c < a.length; c++) {\n b = Ya(b, a[c]);\n }\n }\n return b;\n };\n\n k.set = function (a, b) {\n ee(this);\n this.c = null;\n a = he(this, a);\n je(this, a) && (this.b -= this.a.get(a).length);\n this.a.set(a, [b]);\n this.b += 1;\n return this;\n };\n\n k.get = function (a, b) {\n if (!a) return b;\n a = this.X(a);\n return 0 < a.length ? String(a[0]) : b;\n };\n\n function ge(a, b, c) {\n ie(a, b);\n 0 < c.length && (a.c = null, a.a.set(he(a, b), Za(c)), a.b += c.length);\n }\n\n k.toString = function () {\n if (this.c) return this.c;\n if (!this.a) return \"\";\n\n for (var a = [], b = this.a.Y(), c = 0; c < b.length; c++) {\n var d = b[c],\n e = encodeURIComponent(String(d));\n d = this.X(d);\n\n for (var f = 0; f < d.length; f++) {\n var g = e;\n \"\" !== d[f] && (g += \"=\" + encodeURIComponent(String(d[f])));\n a.push(g);\n }\n }\n\n return this.c = a.join(\"&\");\n };\n\n function Sd(a) {\n var b = new Ud();\n b.c = a.c;\n a.a && (b.a = new Jd(a.a), b.b = a.b);\n return b;\n }\n\n function he(a, b) {\n b = String(b);\n a.f && (b = b.toLowerCase());\n return b;\n }\n\n function $d(a, b) {\n b && !a.f && (ee(a), a.c = null, a.a.forEach(function (c, d) {\n var e = d.toLowerCase();\n d != e && (ie(this, d), ge(this, e, c));\n }, a));\n a.f = b;\n }\n\n ;\n\n function ke(a) {\n var b = [];\n le(new me(), a, b);\n return b.join(\"\");\n }\n\n function me() {}\n\n function le(a, b, c) {\n if (null == b) c.push(\"null\");else {\n if (\"object\" == _typeof(b)) {\n if (Array.isArray(b)) {\n var d = b;\n b = d.length;\n c.push(\"[\");\n\n for (var e = \"\", f = 0; f < b; f++) {\n c.push(e), le(a, d[f], c), e = \",\";\n }\n\n c.push(\"]\");\n return;\n }\n\n if (b instanceof String || b instanceof Number || b instanceof Boolean) b = b.valueOf();else {\n c.push(\"{\");\n e = \"\";\n\n for (d in b) {\n Object.prototype.hasOwnProperty.call(b, d) && (f = b[d], \"function\" != typeof f && (c.push(e), ne(d, c), c.push(\":\"), le(a, f, c), e = \",\"));\n }\n\n c.push(\"}\");\n return;\n }\n }\n\n switch (_typeof(b)) {\n case \"string\":\n ne(b, c);\n break;\n\n case \"number\":\n c.push(isFinite(b) && !isNaN(b) ? String(b) : \"null\");\n break;\n\n case \"boolean\":\n c.push(String(b));\n break;\n\n case \"function\":\n c.push(\"null\");\n break;\n\n default:\n throw Error(\"Unknown type: \" + _typeof(b));\n }\n }\n }\n\n var oe = {\n '\"': '\\\\\"',\n \"\\\\\": \"\\\\\\\\\",\n \"/\": \"\\\\/\",\n \"\\b\": \"\\\\b\",\n \"\\f\": \"\\\\f\",\n \"\\n\": \"\\\\n\",\n \"\\r\": \"\\\\r\",\n \"\\t\": \"\\\\t\",\n \"\\x0B\": \"\\\\u000b\"\n },\n pe = /\\uffff/.test(\"\\uFFFF\") ? /[\\\\\"\\x00-\\x1f\\x7f-\\uffff]/g : /[\\\\\"\\x00-\\x1f\\x7f-\\xff]/g;\n\n function ne(a, b) {\n b.push('\"', a.replace(pe, function (c) {\n var d = oe[c];\n d || (d = \"\\\\u\" + (c.charCodeAt(0) | 65536).toString(16).substr(1), oe[c] = d);\n return d;\n }), '\"');\n }\n\n ;\n\n function qe() {\n var a = K();\n return Wb && !!ic && 11 == ic || /Edge\\/\\d+/.test(a);\n }\n\n function re() {\n return l.window && l.window.location.href || self && self.location && self.location.href || \"\";\n }\n\n function se(a, b) {\n b = b || l.window;\n var c = \"about:blank\";\n a && (c = Eb(Ib(a) || Kb));\n b.location.href = c;\n }\n\n function te(a, b) {\n var c = [],\n d;\n\n for (d in a) {\n d in b ? _typeof(a[d]) != _typeof(b[d]) ? c.push(d) : \"object\" == _typeof(a[d]) && null != a[d] && null != b[d] ? 0 < te(a[d], b[d]).length && c.push(d) : a[d] !== b[d] && c.push(d) : c.push(d);\n }\n\n for (d in b) {\n d in a || c.push(d);\n }\n\n return c;\n }\n\n function ue() {\n var a = K();\n a = ve(a) != we ? null : (a = a.match(/\\sChrome\\/(\\d+)/i)) && 2 == a.length ? parseInt(a[1], 10) : null;\n return a && 30 > a ? !1 : !Wb || !ic || 9 < ic;\n }\n\n function xe(a) {\n a = (a || K()).toLowerCase();\n return a.match(/android/) || a.match(/webos/) || a.match(/iphone|ipad|ipod/) || a.match(/blackberry/) || a.match(/windows phone/) || a.match(/iemobile/) ? !0 : !1;\n }\n\n function ye(a) {\n a = a || l.window;\n\n try {\n a.close();\n } catch (b) {}\n }\n\n function ze(a, b, c) {\n var d = Math.floor(1E9 * Math.random()).toString();\n b = b || 500;\n c = c || 600;\n var e = (window.screen.availHeight - c) / 2,\n f = (window.screen.availWidth - b) / 2;\n b = {\n width: b,\n height: c,\n top: 0 < e ? e : 0,\n left: 0 < f ? f : 0,\n location: !0,\n resizable: !0,\n statusbar: !0,\n toolbar: !1\n };\n c = K().toLowerCase();\n d && (b.target = d, x(c, \"crios/\") && (b.target = \"_blank\"));\n ve(K()) == Ae && (a = a || \"http://localhost\", b.scrollbars = !0);\n c = a || \"\";\n (a = b) || (a = {});\n d = window;\n b = c instanceof C ? c : Ib(\"undefined\" != typeof c.href ? c.href : String(c)) || Kb;\n c = a.target || c.target;\n e = [];\n\n for (g in a) {\n switch (g) {\n case \"width\":\n case \"height\":\n case \"top\":\n case \"left\":\n e.push(g + \"=\" + a[g]);\n break;\n\n case \"target\":\n case \"noopener\":\n case \"noreferrer\":\n break;\n\n default:\n e.push(g + \"=\" + (a[g] ? 1 : 0));\n }\n }\n\n var g = e.join(\",\");\n if ((y(\"iPhone\") && !y(\"iPod\") && !y(\"iPad\") || y(\"iPad\") || y(\"iPod\")) && d.navigator && d.navigator.standalone && c && \"_self\" != c) g = oc(document, \"A\"), pb(g, \"HTMLAnchorElement\"), b = b instanceof C ? b : Jb(b), g.href = Eb(b), g.setAttribute(\"target\", c), a.noreferrer && g.setAttribute(\"rel\", \"noreferrer\"), a = document.createEvent(\"MouseEvent\"), a.initMouseEvent(\"click\", !0, !0, d, 1), g.dispatchEvent(a), g = {};else if (a.noreferrer) {\n if (g = Pb(\"\", d, c, g), a = Eb(b), g && (Yb && x(a, \";\") && (a = \"'\" + a.replace(/'/g, \"%27\") + \"'\"), g.opener = null, a = '', a = (d = vb()) ? d.createHTML(a) : a, a = new Lb(a, null, Mb), d = g.document)) d.write(Nb(a)), d.close();\n } else (g = Pb(b, d, c, g)) && a.noopener && (g.opener = null);\n if (g) try {\n g.focus();\n } catch (h) {}\n return g;\n }\n\n function Be(a) {\n return new D(function (b) {\n function c() {\n Fd(2E3).then(function () {\n if (!a || a.closed) b();else return c();\n });\n }\n\n return c();\n });\n }\n\n var Ce = /^\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}$/,\n De = /^[^@]+@[^@]+$/;\n\n function Ee() {\n var a = null;\n return new D(function (b) {\n \"complete\" == l.document.readyState ? b() : (a = function a() {\n b();\n }, od(window, \"load\", a));\n }).o(function (b) {\n xd(window, \"load\", a);\n throw b;\n });\n }\n\n function Fe() {\n return Ge(void 0) ? Ee().then(function () {\n return new D(function (a, b) {\n var c = l.document,\n d = setTimeout(function () {\n b(Error(\"Cordova framework is not ready.\"));\n }, 1E3);\n c.addEventListener(\"deviceready\", function () {\n clearTimeout(d);\n a();\n }, !1);\n });\n }) : F(Error(\"Cordova must run in an Android or iOS file scheme.\"));\n }\n\n function Ge(a) {\n a = a || K();\n return !(\"file:\" !== He() && \"ionic:\" !== He() || !a.toLowerCase().match(/iphone|ipad|ipod|android/));\n }\n\n function Ie() {\n var a = l.window;\n\n try {\n return !(!a || a == a.top);\n } catch (b) {\n return !1;\n }\n }\n\n function Je() {\n return \"undefined\" !== typeof l.WorkerGlobalScope && \"function\" === typeof l.importScripts;\n }\n\n function Ke() {\n return firebase.INTERNAL.hasOwnProperty(\"reactNative\") ? \"ReactNative\" : firebase.INTERNAL.hasOwnProperty(\"node\") ? \"Node\" : Je() ? \"Worker\" : \"Browser\";\n }\n\n function Le() {\n var a = Ke();\n return \"ReactNative\" === a || \"Node\" === a;\n }\n\n function Me() {\n for (var a = 50, b = []; 0 < a;) {\n b.push(\"1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\".charAt(Math.floor(62 * Math.random()))), a--;\n }\n\n return b.join(\"\");\n }\n\n var Ae = \"Firefox\",\n we = \"Chrome\";\n\n function ve(a) {\n var b = a.toLowerCase();\n if (x(b, \"opera/\") || x(b, \"opr/\") || x(b, \"opios/\")) return \"Opera\";\n if (x(b, \"iemobile\")) return \"IEMobile\";\n if (x(b, \"msie\") || x(b, \"trident/\")) return \"IE\";\n if (x(b, \"edge/\")) return \"Edge\";\n if (x(b, \"firefox/\")) return Ae;\n if (x(b, \"silk/\")) return \"Silk\";\n if (x(b, \"blackberry\")) return \"Blackberry\";\n if (x(b, \"webos\")) return \"Webos\";\n if (!x(b, \"safari/\") || x(b, \"chrome/\") || x(b, \"crios/\") || x(b, \"android\")) {\n if (!x(b, \"chrome/\") && !x(b, \"crios/\") || x(b, \"edge/\")) {\n if (x(b, \"android\")) return \"Android\";\n if ((a = a.match(/([a-zA-Z\\d\\.]+)\\/[a-zA-Z\\d\\.]*$/)) && 2 == a.length) return a[1];\n } else return we;\n } else return \"Safari\";\n return \"Other\";\n }\n\n var Ne = {\n md: \"FirebaseCore-web\",\n od: \"FirebaseUI-web\"\n };\n\n function Oe(a, b) {\n b = b || [];\n var c = [],\n d = {},\n e;\n\n for (e in Ne) {\n d[Ne[e]] = !0;\n }\n\n for (e = 0; e < b.length; e++) {\n \"undefined\" !== typeof d[b[e]] && (delete d[b[e]], c.push(b[e]));\n }\n\n c.sort();\n b = c;\n b.length || (b = [\"FirebaseCore-web\"]);\n c = Ke();\n \"Browser\" === c ? (d = K(), c = ve(d)) : \"Worker\" === c && (d = K(), c = ve(d) + \"-\" + c);\n return c + \"/JsCore/\" + a + \"/\" + b.join(\",\");\n }\n\n function K() {\n return l.navigator && l.navigator.userAgent || \"\";\n }\n\n function L(a, b) {\n a = a.split(\".\");\n b = b || l;\n\n for (var c = 0; c < a.length && \"object\" == _typeof(b) && null != b; c++) {\n b = b[a[c]];\n }\n\n c != a.length && (b = void 0);\n return b;\n }\n\n function Pe() {\n try {\n var a = l.localStorage,\n b = Qe();\n if (a) return a.setItem(b, \"1\"), a.removeItem(b), qe() ? !!l.indexedDB : !0;\n } catch (c) {\n return Je() && !!l.indexedDB;\n }\n\n return !1;\n }\n\n function Re() {\n return (Se() || \"chrome-extension:\" === He() || Ge()) && !Le() && Pe() && !Je();\n }\n\n function Se() {\n return \"http:\" === He() || \"https:\" === He();\n }\n\n function He() {\n return l.location && l.location.protocol || null;\n }\n\n function Te(a) {\n a = a || K();\n return xe(a) || ve(a) == Ae ? !1 : !0;\n }\n\n function Ue(a) {\n return \"undefined\" === typeof a ? null : ke(a);\n }\n\n function Ve(a) {\n var b = {},\n c;\n\n for (c in a) {\n a.hasOwnProperty(c) && null !== a[c] && void 0 !== a[c] && (b[c] = a[c]);\n }\n\n return b;\n }\n\n function We(a) {\n if (null !== a) return JSON.parse(a);\n }\n\n function Qe(a) {\n return a ? a : Math.floor(1E9 * Math.random()).toString();\n }\n\n function Xe(a) {\n a = a || K();\n return \"Safari\" == ve(a) || a.toLowerCase().match(/iphone|ipad|ipod/) ? !1 : !0;\n }\n\n function Ye() {\n var a = l.___jsl;\n if (a && a.H) for (var b in a.H) {\n if (a.H[b].r = a.H[b].r || [], a.H[b].L = a.H[b].L || [], a.H[b].r = a.H[b].L.concat(), a.CP) for (var c = 0; c < a.CP.length; c++) {\n a.CP[c] = null;\n }\n }\n }\n\n function Ze(a, b) {\n if (a > b) throw Error(\"Short delay should be less than long delay!\");\n this.a = a;\n this.c = b;\n a = K();\n b = Ke();\n this.b = xe(a) || \"ReactNative\" === b;\n }\n\n Ze.prototype.get = function () {\n var a = l.navigator;\n return (a && \"boolean\" === typeof a.onLine && (Se() || \"chrome-extension:\" === He() || \"undefined\" !== typeof a.connection) ? a.onLine : 1) ? this.b ? this.c : this.a : Math.min(5E3, this.a);\n };\n\n function $e() {\n var a = l.document;\n return a && \"undefined\" !== typeof a.visibilityState ? \"visible\" == a.visibilityState : !0;\n }\n\n function af() {\n var a = l.document,\n _b = null;\n return $e() || !a ? E() : new D(function (c) {\n _b = function b() {\n $e() && (a.removeEventListener(\"visibilitychange\", _b, !1), c());\n };\n\n a.addEventListener(\"visibilitychange\", _b, !1);\n }).o(function (c) {\n a.removeEventListener(\"visibilitychange\", _b, !1);\n throw c;\n });\n }\n\n function bf(a) {\n try {\n var b = new Date(parseInt(a, 10));\n if (!isNaN(b.getTime()) && !/[^0-9]/.test(a)) return b.toUTCString();\n } catch (c) {}\n\n return null;\n }\n\n function cf() {\n return !(!L(\"fireauth.oauthhelper\", l) && !L(\"fireauth.iframe\", l));\n }\n\n function df() {\n var a = l.navigator;\n return a && a.serviceWorker && a.serviceWorker.controller || null;\n }\n\n function ef() {\n var a = l.navigator;\n return a && a.serviceWorker ? E().then(function () {\n return a.serviceWorker.ready;\n }).then(function (b) {\n return b.active || null;\n }).o(function () {\n return null;\n }) : E(null);\n }\n\n ;\n /*\n Copyright 2017 Google Inc.\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n http://www.apache.org/licenses/LICENSE-2.0\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n */\n\n var ff = {};\n\n function gf(a) {\n ff[a] || (ff[a] = !0, \"undefined\" !== typeof console && \"function\" === typeof console.warn && console.warn(a));\n }\n\n ;\n var hf;\n\n try {\n var jf = {};\n Object.defineProperty(jf, \"abcd\", {\n configurable: !0,\n enumerable: !0,\n value: 1\n });\n Object.defineProperty(jf, \"abcd\", {\n configurable: !0,\n enumerable: !0,\n value: 2\n });\n hf = 2 == jf.abcd;\n } catch (a) {\n hf = !1;\n }\n\n function M(a, b, c) {\n hf ? Object.defineProperty(a, b, {\n configurable: !0,\n enumerable: !0,\n value: c\n }) : a[b] = c;\n }\n\n function N(a, b) {\n if (b) for (var c in b) {\n b.hasOwnProperty(c) && M(a, c, b[c]);\n }\n }\n\n function kf(a) {\n var b = {};\n N(b, a);\n return b;\n }\n\n function lf(a) {\n var b = {},\n c;\n\n for (c in a) {\n a.hasOwnProperty(c) && (b[c] = a[c]);\n }\n\n return b;\n }\n\n function mf(a, b) {\n if (!b || !b.length) return !0;\n if (!a) return !1;\n\n for (var c = 0; c < b.length; c++) {\n var d = a[b[c]];\n if (void 0 === d || null === d || \"\" === d) return !1;\n }\n\n return !0;\n }\n\n function nf(a) {\n var b = a;\n\n if (\"object\" == _typeof(a) && null != a) {\n b = \"length\" in a ? [] : {};\n\n for (var c in a) {\n M(b, c, nf(a[c]));\n }\n }\n\n return b;\n }\n\n ;\n /*\n Copyright 2019 Google Inc.\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n http://www.apache.org/licenses/LICENSE-2.0\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n */\n\n function of(a) {\n var b = a && (a[pf] ? \"phone\" : null);\n\n if (b && a && a[qf]) {\n M(this, \"uid\", a[qf]);\n M(this, \"displayName\", a[rf] || null);\n var c = null;\n a[sf] && (c = new Date(a[sf]).toUTCString());\n M(this, \"enrollmentTime\", c);\n M(this, \"factorId\", b);\n } else throw new t(\"internal-error\", \"Internal assert: invalid MultiFactorInfo object\");\n }\n\n of.prototype.w = function () {\n return {\n uid: this.uid,\n displayName: this.displayName,\n factorId: this.factorId,\n enrollmentTime: this.enrollmentTime\n };\n };\n\n function tf(a) {\n try {\n var b = new uf(a);\n } catch (c) {\n b = null;\n }\n\n return b;\n }\n\n var rf = \"displayName\",\n sf = \"enrolledAt\",\n qf = \"mfaEnrollmentId\",\n pf = \"phoneInfo\";\n\n function uf(a) {\n of.call(this, a);\n M(this, \"phoneNumber\", a[pf]);\n }\n\n r(uf, of);\n\n uf.prototype.w = function () {\n var a = uf.bb.w.call(this);\n a.phoneNumber = this.phoneNumber;\n return a;\n };\n\n function vf(a) {\n var b = {},\n c = a[wf],\n d = a[xf],\n e = a[yf];\n a = tf(a[zf]);\n if (!e || e != Af && e != Bf && !c || e == Bf && !d || e == Cf && !a) throw Error(\"Invalid checkActionCode response!\");\n e == Bf ? (b[Df] = c || null, b[Ef] = c || null, b[Ff] = d) : (b[Df] = d || null, b[Ef] = d || null, b[Ff] = c || null);\n b[Gf] = a || null;\n M(this, Hf, e);\n M(this, If, nf(b));\n }\n\n var Cf = \"REVERT_SECOND_FACTOR_ADDITION\",\n Af = \"EMAIL_SIGNIN\",\n Bf = \"VERIFY_AND_CHANGE_EMAIL\",\n wf = \"email\",\n zf = \"mfaInfo\",\n xf = \"newEmail\",\n yf = \"requestType\",\n Ff = \"email\",\n Df = \"fromEmail\",\n Gf = \"multiFactorInfo\",\n Ef = \"previousEmail\",\n If = \"data\",\n Hf = \"operation\";\n\n function Jf(a) {\n a = J(a);\n var b = be(a, Kf) || null,\n c = be(a, Lf) || null,\n d = be(a, Mf) || null;\n d = d ? Nf[d] || null : null;\n if (!b || !c || !d) throw new t(\"argument-error\", Kf + \", \" + Lf + \"and \" + Mf + \" are required in a valid action code URL.\");\n N(this, {\n apiKey: b,\n operation: d,\n code: c,\n continueUrl: be(a, Of) || null,\n languageCode: be(a, Pf) || null,\n tenantId: be(a, Qf) || null\n });\n }\n\n var Kf = \"apiKey\",\n Lf = \"oobCode\",\n Of = \"continueUrl\",\n Pf = \"languageCode\",\n Mf = \"mode\",\n Qf = \"tenantId\",\n Nf = {\n recoverEmail: \"RECOVER_EMAIL\",\n resetPassword: \"PASSWORD_RESET\",\n revertSecondFactorAddition: Cf,\n signIn: Af,\n verifyAndChangeEmail: Bf,\n verifyEmail: \"VERIFY_EMAIL\"\n };\n\n function Rf(a) {\n try {\n return new Jf(a);\n } catch (b) {\n return null;\n }\n }\n\n ;\n\n function Sf(a) {\n var b = a[Tf];\n if (\"undefined\" === typeof b) throw new t(\"missing-continue-uri\");\n if (\"string\" !== typeof b || \"string\" === typeof b && !b.length) throw new t(\"invalid-continue-uri\");\n this.h = b;\n this.b = this.a = null;\n this.g = !1;\n var c = a[Uf];\n\n if (c && \"object\" === _typeof(c)) {\n b = c[Vf];\n var d = c[Wf];\n c = c[Xf];\n\n if (\"string\" === typeof b && b.length) {\n this.a = b;\n if (\"undefined\" !== typeof d && \"boolean\" !== typeof d) throw new t(\"argument-error\", Wf + \" property must be a boolean when specified.\");\n this.g = !!d;\n if (\"undefined\" !== typeof c && (\"string\" !== typeof c || \"string\" === typeof c && !c.length)) throw new t(\"argument-error\", Xf + \" property must be a non empty string when specified.\");\n this.b = c || null;\n } else {\n if (\"undefined\" !== typeof b) throw new t(\"argument-error\", Vf + \" property must be a non empty string when specified.\");\n if (\"undefined\" !== typeof d || \"undefined\" !== typeof c) throw new t(\"missing-android-pkg-name\");\n }\n } else if (\"undefined\" !== typeof c) throw new t(\"argument-error\", Uf + \" property must be a non null object when specified.\");\n\n this.f = null;\n if ((b = a[Yf]) && \"object\" === _typeof(b)) {\n if (b = b[Zf], \"string\" === typeof b && b.length) this.f = b;else {\n if (\"undefined\" !== typeof b) throw new t(\"argument-error\", Zf + \" property must be a non empty string when specified.\");\n }\n } else if (\"undefined\" !== typeof b) throw new t(\"argument-error\", Yf + \" property must be a non null object when specified.\");\n b = a[$f];\n if (\"undefined\" !== typeof b && \"boolean\" !== typeof b) throw new t(\"argument-error\", $f + \" property must be a boolean when specified.\");\n this.c = !!b;\n a = a[ag];\n if (\"undefined\" !== typeof a && (\"string\" !== typeof a || \"string\" === typeof a && !a.length)) throw new t(\"argument-error\", ag + \" property must be a non empty string when specified.\");\n this.i = a || null;\n }\n\n var Uf = \"android\",\n ag = \"dynamicLinkDomain\",\n $f = \"handleCodeInApp\",\n Yf = \"iOS\",\n Tf = \"url\",\n Wf = \"installApp\",\n Xf = \"minimumVersion\",\n Vf = \"packageName\",\n Zf = \"bundleId\";\n\n function bg(a) {\n var b = {};\n b.continueUrl = a.h;\n b.canHandleCodeInApp = a.c;\n if (b.androidPackageName = a.a) b.androidMinimumVersion = a.b, b.androidInstallApp = a.g;\n b.iOSBundleId = a.f;\n b.dynamicLinkDomain = a.i;\n\n for (var c in b) {\n null === b[c] && delete b[c];\n }\n\n return b;\n }\n\n ;\n\n function cg(a) {\n return Ra(a, function (b) {\n b = b.toString(16);\n return 1 < b.length ? b : \"0\" + b;\n }).join(\"\");\n }\n\n ;\n var dg = null;\n\n function eg(a) {\n var b = [];\n fg(a, function (c) {\n b.push(c);\n });\n return b;\n }\n\n function fg(a, b) {\n function c(m) {\n for (; d < a.length;) {\n var p = a.charAt(d++),\n v = dg[p];\n if (null != v) return v;\n if (!/^[\\s\\xa0]*$/.test(p)) throw Error(\"Unknown base64 encoding at char: \" + p);\n }\n\n return m;\n }\n\n gg();\n\n for (var d = 0;;) {\n var e = c(-1),\n f = c(0),\n g = c(64),\n h = c(64);\n if (64 === h && -1 === e) break;\n b(e << 2 | f >> 4);\n 64 != g && (b(f << 4 & 240 | g >> 2), 64 != h && b(g << 6 & 192 | h));\n }\n }\n\n function gg() {\n if (!dg) {\n dg = {};\n\n for (var a = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789\".split(\"\"), b = [\"+/=\", \"+/\", \"-_=\", \"-_.\", \"-_\"], c = 0; 5 > c; c++) {\n for (var d = a.concat(b[c].split(\"\")), e = 0; e < d.length; e++) {\n var f = d[e];\n void 0 === dg[f] && (dg[f] = e);\n }\n }\n }\n }\n\n ;\n\n function hg(a) {\n var b = ig(a);\n if (!(b && b.sub && b.iss && b.aud && b.exp)) throw Error(\"Invalid JWT\");\n this.h = a;\n this.a = b.exp;\n this.i = b.sub;\n a = Date.now() / 1E3;\n this.g = b.iat || (a > this.a ? this.a : a);\n this.b = b.provider_id || b.firebase && b.firebase.sign_in_provider || null;\n this.f = b.firebase && b.firebase.tenant || null;\n this.c = !!b.is_anonymous || \"anonymous\" == this.b;\n }\n\n hg.prototype.T = function () {\n return this.f;\n };\n\n hg.prototype.l = function () {\n return this.c;\n };\n\n hg.prototype.toString = function () {\n return this.h;\n };\n\n function jg(a) {\n try {\n return new hg(a);\n } catch (b) {\n return null;\n }\n }\n\n function ig(a) {\n if (!a) return null;\n a = a.split(\".\");\n if (3 != a.length) return null;\n a = a[1];\n\n for (var b = (4 - a.length % 4) % 4, c = 0; c < b; c++) {\n a += \".\";\n }\n\n try {\n var d = eg(a);\n a = [];\n\n for (c = b = 0; b < d.length;) {\n var e = d[b++];\n if (128 > e) a[c++] = String.fromCharCode(e);else if (191 < e && 224 > e) {\n var f = d[b++];\n a[c++] = String.fromCharCode((e & 31) << 6 | f & 63);\n } else if (239 < e && 365 > e) {\n f = d[b++];\n var g = d[b++],\n h = d[b++],\n m = ((e & 7) << 18 | (f & 63) << 12 | (g & 63) << 6 | h & 63) - 65536;\n a[c++] = String.fromCharCode(55296 + (m >> 10));\n a[c++] = String.fromCharCode(56320 + (m & 1023));\n } else f = d[b++], g = d[b++], a[c++] = String.fromCharCode((e & 15) << 12 | (f & 63) << 6 | g & 63);\n }\n\n return JSON.parse(a.join(\"\"));\n } catch (p) {}\n\n return null;\n }\n\n ;\n var kg = \"oauth_consumer_key oauth_nonce oauth_signature oauth_signature_method oauth_timestamp oauth_token oauth_version\".split(\" \"),\n lg = [\"client_id\", \"response_type\", \"scope\", \"redirect_uri\", \"state\"],\n mg = {\n nd: {\n Ja: \"locale\",\n va: 700,\n ua: 600,\n fa: \"facebook.com\",\n Ya: lg\n },\n pd: {\n Ja: null,\n va: 500,\n ua: 750,\n fa: \"github.com\",\n Ya: lg\n },\n qd: {\n Ja: \"hl\",\n va: 515,\n ua: 680,\n fa: \"google.com\",\n Ya: lg\n },\n wd: {\n Ja: \"lang\",\n va: 485,\n ua: 705,\n fa: \"twitter.com\",\n Ya: kg\n },\n kd: {\n Ja: \"locale\",\n va: 640,\n ua: 600,\n fa: \"apple.com\",\n Ya: []\n }\n };\n\n function ng(a) {\n for (var b in mg) {\n if (mg[b].fa == a) return mg[b];\n }\n\n return null;\n }\n\n ;\n\n function og(a) {\n var b = {};\n b[\"facebook.com\"] = pg;\n b[\"google.com\"] = qg;\n b[\"github.com\"] = rg;\n b[\"twitter.com\"] = sg;\n var c = a && a[tg];\n\n try {\n if (c) return b[c] ? new b[c](a) : new ug(a);\n if (\"undefined\" !== typeof a[vg]) return new wg(a);\n } catch (d) {}\n\n return null;\n }\n\n var vg = \"idToken\",\n tg = \"providerId\";\n\n function wg(a) {\n var b = a[tg];\n\n if (!b && a[vg]) {\n var c = jg(a[vg]);\n c && c.b && (b = c.b);\n }\n\n if (!b) throw Error(\"Invalid additional user info!\");\n if (\"anonymous\" == b || \"custom\" == b) b = null;\n c = !1;\n \"undefined\" !== typeof a.isNewUser ? c = !!a.isNewUser : \"identitytoolkit#SignupNewUserResponse\" === a.kind && (c = !0);\n M(this, \"providerId\", b);\n M(this, \"isNewUser\", c);\n }\n\n function ug(a) {\n wg.call(this, a);\n a = We(a.rawUserInfo || \"{}\");\n M(this, \"profile\", nf(a || {}));\n }\n\n r(ug, wg);\n\n function pg(a) {\n ug.call(this, a);\n if (\"facebook.com\" != this.providerId) throw Error(\"Invalid provider ID!\");\n }\n\n r(pg, ug);\n\n function rg(a) {\n ug.call(this, a);\n if (\"github.com\" != this.providerId) throw Error(\"Invalid provider ID!\");\n M(this, \"username\", this.profile && this.profile.login || null);\n }\n\n r(rg, ug);\n\n function qg(a) {\n ug.call(this, a);\n if (\"google.com\" != this.providerId) throw Error(\"Invalid provider ID!\");\n }\n\n r(qg, ug);\n\n function sg(a) {\n ug.call(this, a);\n if (\"twitter.com\" != this.providerId) throw Error(\"Invalid provider ID!\");\n M(this, \"username\", a.screenName || null);\n }\n\n r(sg, ug);\n\n function xg(a) {\n var b = J(a),\n c = be(b, \"link\"),\n d = be(J(c), \"link\");\n b = be(b, \"deep_link_id\");\n return be(J(b), \"link\") || b || d || c || a;\n }\n\n ;\n\n function yg(a, b) {\n if (!a && !b) throw new t(\"internal-error\", \"Internal assert: no raw session string available\");\n if (a && b) throw new t(\"internal-error\", \"Internal assert: unable to determine the session type\");\n this.a = a || null;\n this.b = b || null;\n this.type = this.a ? zg : Ag;\n }\n\n var zg = \"enroll\",\n Ag = \"signin\";\n\n yg.prototype.Ha = function () {\n return this.a ? E(this.a) : E(this.b);\n };\n\n yg.prototype.w = function () {\n return this.type == zg ? {\n multiFactorSession: {\n idToken: this.a\n }\n } : {\n multiFactorSession: {\n pendingCredential: this.b\n }\n };\n };\n\n function Bg() {}\n\n Bg.prototype.ka = function () {};\n\n Bg.prototype.b = function () {};\n\n Bg.prototype.c = function () {};\n\n Bg.prototype.w = function () {};\n\n function Cg(a, b) {\n return a.then(function (c) {\n if (c[Dg]) {\n var d = jg(c[Dg]);\n if (!d || b != d.i) throw new t(\"user-mismatch\");\n return c;\n }\n\n throw new t(\"user-mismatch\");\n }).o(function (c) {\n throw c && c.code && c.code == xa + \"user-not-found\" ? new t(\"user-mismatch\") : c;\n });\n }\n\n function Eg(a, b) {\n if (b) this.a = b;else throw new t(\"internal-error\", \"failed to construct a credential\");\n M(this, \"providerId\", a);\n M(this, \"signInMethod\", a);\n }\n\n Eg.prototype.ka = function (a) {\n return Fg(a, Gg(this));\n };\n\n Eg.prototype.b = function (a, b) {\n var c = Gg(this);\n c.idToken = b;\n return Hg(a, c);\n };\n\n Eg.prototype.c = function (a, b) {\n return Cg(Ig(a, Gg(this)), b);\n };\n\n function Gg(a) {\n return {\n pendingToken: a.a,\n requestUri: \"http://localhost\"\n };\n }\n\n Eg.prototype.w = function () {\n return {\n providerId: this.providerId,\n signInMethod: this.signInMethod,\n pendingToken: this.a\n };\n };\n\n function Jg(a) {\n if (a && a.providerId && a.signInMethod && 0 == a.providerId.indexOf(\"saml.\") && a.pendingToken) try {\n return new Eg(a.providerId, a.pendingToken);\n } catch (b) {}\n return null;\n }\n\n function Kg(a, b, c) {\n this.a = null;\n if (b.idToken || b.accessToken) b.idToken && M(this, \"idToken\", b.idToken), b.accessToken && M(this, \"accessToken\", b.accessToken), b.nonce && !b.pendingToken && M(this, \"nonce\", b.nonce), b.pendingToken && (this.a = b.pendingToken);else if (b.oauthToken && b.oauthTokenSecret) M(this, \"accessToken\", b.oauthToken), M(this, \"secret\", b.oauthTokenSecret);else throw new t(\"internal-error\", \"failed to construct a credential\");\n M(this, \"providerId\", a);\n M(this, \"signInMethod\", c);\n }\n\n Kg.prototype.ka = function (a) {\n return Fg(a, Lg(this));\n };\n\n Kg.prototype.b = function (a, b) {\n var c = Lg(this);\n c.idToken = b;\n return Hg(a, c);\n };\n\n Kg.prototype.c = function (a, b) {\n var c = Lg(this);\n return Cg(Ig(a, c), b);\n };\n\n function Lg(a) {\n var b = {};\n a.idToken && (b.id_token = a.idToken);\n a.accessToken && (b.access_token = a.accessToken);\n a.secret && (b.oauth_token_secret = a.secret);\n b.providerId = a.providerId;\n a.nonce && !a.a && (b.nonce = a.nonce);\n b = {\n postBody: fe(b).toString(),\n requestUri: \"http://localhost\"\n };\n a.a && (delete b.postBody, b.pendingToken = a.a);\n return b;\n }\n\n Kg.prototype.w = function () {\n var a = {\n providerId: this.providerId,\n signInMethod: this.signInMethod\n };\n this.idToken && (a.oauthIdToken = this.idToken);\n this.accessToken && (a.oauthAccessToken = this.accessToken);\n this.secret && (a.oauthTokenSecret = this.secret);\n this.nonce && (a.nonce = this.nonce);\n this.a && (a.pendingToken = this.a);\n return a;\n };\n\n function Mg(a) {\n if (a && a.providerId && a.signInMethod) {\n var b = {\n idToken: a.oauthIdToken,\n accessToken: a.oauthTokenSecret ? null : a.oauthAccessToken,\n oauthTokenSecret: a.oauthTokenSecret,\n oauthToken: a.oauthTokenSecret && a.oauthAccessToken,\n nonce: a.nonce,\n pendingToken: a.pendingToken\n };\n\n try {\n return new Kg(a.providerId, b, a.signInMethod);\n } catch (c) {}\n }\n\n return null;\n }\n\n function Ng(a, b) {\n this.Qc = b || [];\n N(this, {\n providerId: a,\n isOAuthProvider: !0\n });\n this.Jb = {};\n this.qb = (ng(a) || {}).Ja || null;\n this.pb = null;\n }\n\n Ng.prototype.Ka = function (a) {\n this.Jb = nb(a);\n return this;\n };\n\n function Og(a) {\n if (\"string\" !== typeof a || 0 != a.indexOf(\"saml.\")) throw new t(\"argument-error\", 'SAML provider IDs must be prefixed with \"saml.\"');\n Ng.call(this, a, []);\n }\n\n r(Og, Ng);\n\n function Pg(a) {\n Ng.call(this, a, lg);\n this.a = [];\n }\n\n r(Pg, Ng);\n\n Pg.prototype.Ca = function (a) {\n Va(this.a, a) || this.a.push(a);\n return this;\n };\n\n Pg.prototype.Rb = function () {\n return Za(this.a);\n };\n\n Pg.prototype.credential = function (a, b) {\n var c;\n n(a) ? c = {\n idToken: a.idToken || null,\n accessToken: a.accessToken || null,\n nonce: a.rawNonce || null\n } : c = {\n idToken: a || null,\n accessToken: b || null\n };\n if (!c.idToken && !c.accessToken) throw new t(\"argument-error\", \"credential failed: must provide the ID token and/or the access token.\");\n return new Kg(this.providerId, c, this.providerId);\n };\n\n function Qg() {\n Pg.call(this, \"facebook.com\");\n }\n\n r(Qg, Pg);\n M(Qg, \"PROVIDER_ID\", \"facebook.com\");\n M(Qg, \"FACEBOOK_SIGN_IN_METHOD\", \"facebook.com\");\n\n function Rg(a) {\n if (!a) throw new t(\"argument-error\", \"credential failed: expected 1 argument (the OAuth access token).\");\n var b = a;\n n(a) && (b = a.accessToken);\n return new Qg().credential({\n accessToken: b\n });\n }\n\n function Sg() {\n Pg.call(this, \"github.com\");\n }\n\n r(Sg, Pg);\n M(Sg, \"PROVIDER_ID\", \"github.com\");\n M(Sg, \"GITHUB_SIGN_IN_METHOD\", \"github.com\");\n\n function Tg(a) {\n if (!a) throw new t(\"argument-error\", \"credential failed: expected 1 argument (the OAuth access token).\");\n var b = a;\n n(a) && (b = a.accessToken);\n return new Sg().credential({\n accessToken: b\n });\n }\n\n function Ug() {\n Pg.call(this, \"google.com\");\n this.Ca(\"profile\");\n }\n\n r(Ug, Pg);\n M(Ug, \"PROVIDER_ID\", \"google.com\");\n M(Ug, \"GOOGLE_SIGN_IN_METHOD\", \"google.com\");\n\n function Vg(a, b) {\n var c = a;\n n(a) && (c = a.idToken, b = a.accessToken);\n return new Ug().credential({\n idToken: c,\n accessToken: b\n });\n }\n\n function Wg() {\n Ng.call(this, \"twitter.com\", kg);\n }\n\n r(Wg, Ng);\n M(Wg, \"PROVIDER_ID\", \"twitter.com\");\n M(Wg, \"TWITTER_SIGN_IN_METHOD\", \"twitter.com\");\n\n function Xg(a, b) {\n var c = a;\n n(c) || (c = {\n oauthToken: a,\n oauthTokenSecret: b\n });\n if (!c.oauthToken || !c.oauthTokenSecret) throw new t(\"argument-error\", \"credential failed: expected 2 arguments (the OAuth access token and secret).\");\n return new Kg(\"twitter.com\", c, \"twitter.com\");\n }\n\n function Yg(a, b, c) {\n this.a = a;\n this.f = b;\n M(this, \"providerId\", \"password\");\n M(this, \"signInMethod\", c === Zg.EMAIL_LINK_SIGN_IN_METHOD ? Zg.EMAIL_LINK_SIGN_IN_METHOD : Zg.EMAIL_PASSWORD_SIGN_IN_METHOD);\n }\n\n Yg.prototype.ka = function (a) {\n return this.signInMethod == Zg.EMAIL_LINK_SIGN_IN_METHOD ? O(a, $g, {\n email: this.a,\n oobCode: this.f\n }) : O(a, ah, {\n email: this.a,\n password: this.f\n });\n };\n\n Yg.prototype.b = function (a, b) {\n return this.signInMethod == Zg.EMAIL_LINK_SIGN_IN_METHOD ? O(a, bh, {\n idToken: b,\n email: this.a,\n oobCode: this.f\n }) : O(a, ch, {\n idToken: b,\n email: this.a,\n password: this.f\n });\n };\n\n Yg.prototype.c = function (a, b) {\n return Cg(this.ka(a), b);\n };\n\n Yg.prototype.w = function () {\n return {\n email: this.a,\n password: this.f,\n signInMethod: this.signInMethod\n };\n };\n\n function dh(a) {\n return a && a.email && a.password ? new Yg(a.email, a.password, a.signInMethod) : null;\n }\n\n function Zg() {\n N(this, {\n providerId: \"password\",\n isOAuthProvider: !1\n });\n }\n\n function eh(a, b) {\n b = fh(b);\n if (!b) throw new t(\"argument-error\", \"Invalid email link!\");\n return new Yg(a, b.code, Zg.EMAIL_LINK_SIGN_IN_METHOD);\n }\n\n function fh(a) {\n a = xg(a);\n return (a = Rf(a)) && a.operation === Af ? a : null;\n }\n\n N(Zg, {\n PROVIDER_ID: \"password\"\n });\n N(Zg, {\n EMAIL_LINK_SIGN_IN_METHOD: \"emailLink\"\n });\n N(Zg, {\n EMAIL_PASSWORD_SIGN_IN_METHOD: \"password\"\n });\n\n function gh(a) {\n if (!(a.fb && a.eb || a.La && a.ea)) throw new t(\"internal-error\");\n this.a = a;\n M(this, \"providerId\", \"phone\");\n this.fa = \"phone\";\n M(this, \"signInMethod\", \"phone\");\n }\n\n gh.prototype.ka = function (a) {\n return a.gb(hh(this));\n };\n\n gh.prototype.b = function (a, b) {\n var c = hh(this);\n c.idToken = b;\n return O(a, ih, c);\n };\n\n gh.prototype.c = function (a, b) {\n var c = hh(this);\n c.operation = \"REAUTH\";\n a = O(a, jh, c);\n return Cg(a, b);\n };\n\n gh.prototype.w = function () {\n var a = {\n providerId: \"phone\"\n };\n this.a.fb && (a.verificationId = this.a.fb);\n this.a.eb && (a.verificationCode = this.a.eb);\n this.a.La && (a.temporaryProof = this.a.La);\n this.a.ea && (a.phoneNumber = this.a.ea);\n return a;\n };\n\n function kh(a) {\n if (a && \"phone\" === a.providerId && (a.verificationId && a.verificationCode || a.temporaryProof && a.phoneNumber)) {\n var b = {};\n w([\"verificationId\", \"verificationCode\", \"temporaryProof\", \"phoneNumber\"], function (c) {\n a[c] && (b[c] = a[c]);\n });\n return new gh(b);\n }\n\n return null;\n }\n\n function hh(a) {\n return a.a.La && a.a.ea ? {\n temporaryProof: a.a.La,\n phoneNumber: a.a.ea\n } : {\n sessionInfo: a.a.fb,\n code: a.a.eb\n };\n }\n\n function lh(a) {\n try {\n this.a = a || firebase.auth();\n } catch (b) {\n throw new t(\"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().\");\n }\n\n N(this, {\n providerId: \"phone\",\n isOAuthProvider: !1\n });\n }\n\n lh.prototype.gb = function (a, b) {\n var c = this.a.a;\n return E(b.verify()).then(function (d) {\n if (\"string\" !== typeof d) throw new t(\"argument-error\", \"An implementation of firebase.auth.ApplicationVerifier.prototype.verify() must return a firebase.Promise that resolves with a string.\");\n\n switch (b.type) {\n case \"recaptcha\":\n var e = n(a) ? a.session : null,\n f = n(a) ? a.phoneNumber : a,\n g;\n e && e.type == zg ? g = e.Ha().then(function (h) {\n return mh(c, {\n idToken: h,\n phoneEnrollmentInfo: {\n phoneNumber: f,\n recaptchaToken: d\n }\n });\n }) : e && e.type == Ag ? g = e.Ha().then(function (h) {\n return nh(c, {\n mfaPendingCredential: h,\n mfaEnrollmentId: a.multiFactorHint && a.multiFactorHint.uid || a.multiFactorUid,\n phoneSignInInfo: {\n recaptchaToken: d\n }\n });\n }) : g = oh(c, {\n phoneNumber: f,\n recaptchaToken: d\n });\n return g.then(function (h) {\n \"function\" === typeof b.reset && b.reset();\n return h;\n }, function (h) {\n \"function\" === typeof b.reset && b.reset();\n throw h;\n });\n\n default:\n throw new t(\"argument-error\", 'Only firebase.auth.ApplicationVerifiers with type=\"recaptcha\" are currently supported.');\n }\n });\n };\n\n function ph(a, b) {\n if (!a) throw new t(\"missing-verification-id\");\n if (!b) throw new t(\"missing-verification-code\");\n return new gh({\n fb: a,\n eb: b\n });\n }\n\n N(lh, {\n PROVIDER_ID: \"phone\"\n });\n N(lh, {\n PHONE_SIGN_IN_METHOD: \"phone\"\n });\n\n function qh(a) {\n if (a.temporaryProof && a.phoneNumber) return new gh({\n La: a.temporaryProof,\n ea: a.phoneNumber\n });\n var b = a && a.providerId;\n if (!b || \"password\" === b) return null;\n var c = a && a.oauthAccessToken,\n d = a && a.oauthTokenSecret,\n e = a && a.nonce,\n f = a && a.oauthIdToken,\n g = a && a.pendingToken;\n\n try {\n switch (b) {\n case \"google.com\":\n return Vg(f, c);\n\n case \"facebook.com\":\n return Rg(c);\n\n case \"github.com\":\n return Tg(c);\n\n case \"twitter.com\":\n return Xg(c, d);\n\n default:\n return c || d || f || g ? g ? 0 == b.indexOf(\"saml.\") ? new Eg(b, g) : new Kg(b, {\n pendingToken: g,\n idToken: a.oauthIdToken,\n accessToken: a.oauthAccessToken\n }, b) : new Pg(b).credential({\n idToken: f,\n accessToken: c,\n rawNonce: e\n }) : null;\n }\n } catch (h) {\n return null;\n }\n }\n\n function rh(a) {\n if (!a.isOAuthProvider) throw new t(\"invalid-oauth-provider\");\n }\n\n ;\n\n function sh(a, b, c, d, e, f, g) {\n this.c = a;\n this.b = b || null;\n this.g = c || null;\n this.f = d || null;\n this.i = f || null;\n this.h = g || null;\n this.a = e || null;\n\n if (this.g || this.a) {\n if (this.g && this.a) throw new t(\"invalid-auth-event\");\n if (this.g && !this.f) throw new t(\"invalid-auth-event\");\n } else throw new t(\"invalid-auth-event\");\n }\n\n sh.prototype.getUid = function () {\n var a = [];\n a.push(this.c);\n this.b && a.push(this.b);\n this.f && a.push(this.f);\n this.h && a.push(this.h);\n return a.join(\"-\");\n };\n\n sh.prototype.T = function () {\n return this.h;\n };\n\n sh.prototype.w = function () {\n return {\n type: this.c,\n eventId: this.b,\n urlResponse: this.g,\n sessionId: this.f,\n postBody: this.i,\n tenantId: this.h,\n error: this.a && this.a.w()\n };\n };\n\n function th(a) {\n a = a || {};\n return a.type ? new sh(a.type, a.eventId, a.urlResponse, a.sessionId, a.error && Aa(a.error), a.postBody, a.tenantId) : null;\n }\n\n ;\n /*\n Copyright 2018 Google Inc.\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n http://www.apache.org/licenses/LICENSE-2.0\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n */\n\n function uh() {\n this.b = null;\n this.a = [];\n }\n\n var vh = null;\n\n function wh(a) {\n var b = vh;\n b.a.push(a);\n b.b || (b.b = function (c) {\n for (var d = 0; d < b.a.length; d++) {\n b.a[d](c);\n }\n }, a = L(\"universalLinks.subscribe\", l), \"function\" === typeof a && a(null, b.b));\n }\n\n ;\n\n function xh(a) {\n var b = \"unauthorized-domain\",\n c = void 0,\n d = J(a);\n a = d.a;\n d = d.c;\n \"chrome-extension\" == d ? c = Qb(\"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.\", a) : \"http\" == d || \"https\" == d ? c = Qb(\"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.\", a) : b = \"operation-not-supported-in-this-environment\";\n t.call(this, b, c);\n }\n\n r(xh, t);\n\n function yh(a, b, c) {\n t.call(this, a, c);\n a = b || {};\n a.Kb && M(this, \"email\", a.Kb);\n a.ea && M(this, \"phoneNumber\", a.ea);\n a.credential && M(this, \"credential\", a.credential);\n a.$b && M(this, \"tenantId\", a.$b);\n }\n\n r(yh, t);\n\n yh.prototype.w = function () {\n var a = {\n code: this.code,\n message: this.message\n };\n this.email && (a.email = this.email);\n this.phoneNumber && (a.phoneNumber = this.phoneNumber);\n this.tenantId && (a.tenantId = this.tenantId);\n var b = this.credential && this.credential.w();\n b && z(a, b);\n return a;\n };\n\n yh.prototype.toJSON = function () {\n return this.w();\n };\n\n function zh(a) {\n if (a.code) {\n var b = a.code || \"\";\n 0 == b.indexOf(xa) && (b = b.substring(xa.length));\n var c = {\n credential: qh(a),\n $b: a.tenantId\n };\n if (a.email) c.Kb = a.email;else if (a.phoneNumber) c.ea = a.phoneNumber;else if (!c.credential) return new t(b, a.message || void 0);\n return new yh(b, c, a.message);\n }\n\n return null;\n }\n\n ;\n\n function Ah() {}\n\n Ah.prototype.c = null;\n\n function Bh(a) {\n return a.c || (a.c = a.b());\n }\n\n ;\n var Ch;\n\n function Dh() {}\n\n r(Dh, Ah);\n\n Dh.prototype.a = function () {\n var a = Eh(this);\n return a ? new ActiveXObject(a) : new XMLHttpRequest();\n };\n\n Dh.prototype.b = function () {\n var a = {};\n Eh(this) && (a[0] = !0, a[1] = !0);\n return a;\n };\n\n function Eh(a) {\n if (!a.f && \"undefined\" == typeof XMLHttpRequest && \"undefined\" != typeof ActiveXObject) {\n for (var b = [\"MSXML2.XMLHTTP.6.0\", \"MSXML2.XMLHTTP.3.0\", \"MSXML2.XMLHTTP\", \"Microsoft.XMLHTTP\"], c = 0; c < b.length; c++) {\n var d = b[c];\n\n try {\n return new ActiveXObject(d), a.f = d;\n } catch (e) {}\n }\n\n throw Error(\"Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed\");\n }\n\n return a.f;\n }\n\n Ch = new Dh();\n\n function Fh() {}\n\n r(Fh, Ah);\n\n Fh.prototype.a = function () {\n var a = new XMLHttpRequest();\n if (\"withCredentials\" in a) return a;\n if (\"undefined\" != typeof XDomainRequest) return new Gh();\n throw Error(\"Unsupported browser\");\n };\n\n Fh.prototype.b = function () {\n return {};\n };\n\n function Gh() {\n this.a = new XDomainRequest();\n this.readyState = 0;\n this.onreadystatechange = null;\n this.responseType = this.responseText = this.response = \"\";\n this.status = -1;\n this.statusText = \"\";\n this.a.onload = q(this.qc, this);\n this.a.onerror = q(this.Tb, this);\n this.a.onprogress = q(this.rc, this);\n this.a.ontimeout = q(this.vc, this);\n }\n\n k = Gh.prototype;\n\n k.open = function (a, b, c) {\n if (null != c && !c) throw Error(\"Only async requests are supported.\");\n this.a.open(a, b);\n };\n\n k.send = function (a) {\n if (a) {\n if (\"string\" == typeof a) this.a.send(a);else throw Error(\"Only string data is supported\");\n } else this.a.send();\n };\n\n k.abort = function () {\n this.a.abort();\n };\n\n k.setRequestHeader = function () {};\n\n k.getResponseHeader = function (a) {\n return \"content-type\" == a.toLowerCase() ? this.a.contentType : \"\";\n };\n\n k.qc = function () {\n this.status = 200;\n this.response = this.responseText = this.a.responseText;\n Hh(this, 4);\n };\n\n k.Tb = function () {\n this.status = 500;\n this.response = this.responseText = \"\";\n Hh(this, 4);\n };\n\n k.vc = function () {\n this.Tb();\n };\n\n k.rc = function () {\n this.status = 200;\n Hh(this, 1);\n };\n\n function Hh(a, b) {\n a.readyState = b;\n if (a.onreadystatechange) a.onreadystatechange();\n }\n\n k.getAllResponseHeaders = function () {\n return \"content-type: \" + this.a.contentType;\n };\n\n function Ih(a, b, c) {\n this.reset(a, b, c, void 0, void 0);\n }\n\n Ih.prototype.a = null;\n var Jh = 0;\n\n Ih.prototype.reset = function (a, b, c, d, e) {\n \"number\" == typeof e || Jh++;\n d || va();\n delete this.a;\n };\n\n function Kh(a) {\n this.f = a;\n this.b = this.c = this.a = null;\n }\n\n function Lh(a, b) {\n this.name = a;\n this.value = b;\n }\n\n Lh.prototype.toString = function () {\n return this.name;\n };\n\n var Mh = new Lh(\"SEVERE\", 1E3),\n Nh = new Lh(\"WARNING\", 900),\n Oh = new Lh(\"CONFIG\", 700),\n Ph = new Lh(\"FINE\", 500);\n\n function Qh(a) {\n if (a.c) return a.c;\n if (a.a) return Qh(a.a);\n Ga(\"Root logger has no level set.\");\n return null;\n }\n\n Kh.prototype.log = function (a, b, c) {\n if (a.value >= Qh(this).value) for (oa(b) && (b = b()), a = new Ih(a, String(b), this.f), c && (a.a = c), c = this; c;) {\n c = c.a;\n }\n };\n\n var Rh = {},\n Sh = null;\n\n function Th(a) {\n Sh || (Sh = new Kh(\"\"), Rh[\"\"] = Sh, Sh.c = Oh);\n var b;\n\n if (!(b = Rh[a])) {\n b = new Kh(a);\n var c = a.lastIndexOf(\".\"),\n d = a.substr(c + 1);\n c = Th(a.substr(0, c));\n c.b || (c.b = {});\n c.b[d] = b;\n b.a = c;\n Rh[a] = b;\n }\n\n return b;\n }\n\n ;\n\n function Uh(a, b) {\n a && a.log(Ph, b, void 0);\n }\n\n ;\n\n function Vh(a) {\n this.f = a;\n }\n\n r(Vh, Ah);\n\n Vh.prototype.a = function () {\n return new Wh(this.f);\n };\n\n Vh.prototype.b = function (a) {\n return function () {\n return a;\n };\n }({});\n\n function Wh(a) {\n H.call(this);\n this.u = a;\n this.h = void 0;\n this.readyState = Xh;\n this.status = 0;\n this.responseType = this.responseText = this.response = this.statusText = \"\";\n this.onreadystatechange = null;\n this.l = new Headers();\n this.b = null;\n this.s = \"GET\";\n this.f = \"\";\n this.a = !1;\n this.i = Th(\"goog.net.FetchXmlHttp\");\n this.m = this.c = this.g = null;\n }\n\n r(Wh, H);\n var Xh = 0;\n k = Wh.prototype;\n\n k.open = function (a, b) {\n if (this.readyState != Xh) throw this.abort(), Error(\"Error reopening a connection\");\n this.s = a;\n this.f = b;\n this.readyState = 1;\n Yh(this);\n };\n\n k.send = function (a) {\n if (1 != this.readyState) throw this.abort(), Error(\"need to call open() first. \");\n this.a = !0;\n var b = {\n headers: this.l,\n method: this.s,\n credentials: this.h,\n cache: void 0\n };\n a && (b.body = a);\n this.u.fetch(new Request(this.f, b)).then(this.uc.bind(this), this.Va.bind(this));\n };\n\n k.abort = function () {\n this.response = this.responseText = \"\";\n this.l = new Headers();\n this.status = 0;\n this.c && this.c.cancel(\"Request was aborted.\");\n 1 <= this.readyState && this.a && 4 != this.readyState && (this.a = !1, Zh(this));\n this.readyState = Xh;\n };\n\n k.uc = function (a) {\n this.a && (this.g = a, this.b || (this.status = this.g.status, this.statusText = this.g.statusText, this.b = a.headers, this.readyState = 2, Yh(this)), this.a && (this.readyState = 3, Yh(this), this.a && (\"arraybuffer\" === this.responseType ? a.arrayBuffer().then(this.sc.bind(this), this.Va.bind(this)) : \"undefined\" !== typeof l.ReadableStream && \"body\" in a ? (this.response = this.responseText = \"\", this.c = a.body.getReader(), this.m = new TextDecoder(), $h(this)) : a.text().then(this.tc.bind(this), this.Va.bind(this)))));\n };\n\n function $h(a) {\n a.c.read().then(a.pc.bind(a))[\"catch\"](a.Va.bind(a));\n }\n\n k.pc = function (a) {\n if (this.a) {\n var b = this.m.decode(a.value ? a.value : new Uint8Array(0), {\n stream: !a.done\n });\n b && (this.response = this.responseText += b);\n a.done ? Zh(this) : Yh(this);\n 3 == this.readyState && $h(this);\n }\n };\n\n k.tc = function (a) {\n this.a && (this.response = this.responseText = a, Zh(this));\n };\n\n k.sc = function (a) {\n this.a && (this.response = a, Zh(this));\n };\n\n k.Va = function (a) {\n var b = this.i;\n b && b.log(Nh, \"Failed to fetch url \" + this.f, a instanceof Error ? a : Error(a));\n this.a && Zh(this);\n };\n\n function Zh(a) {\n a.readyState = 4;\n a.g = null;\n a.c = null;\n a.m = null;\n Yh(a);\n }\n\n k.setRequestHeader = function (a, b) {\n this.l.append(a, b);\n };\n\n k.getResponseHeader = function (a) {\n return this.b ? this.b.get(a.toLowerCase()) || \"\" : ((a = this.i) && a.log(Nh, \"Attempting to get response header but no headers have been received for url: \" + this.f, void 0), \"\");\n };\n\n k.getAllResponseHeaders = function () {\n if (!this.b) {\n var a = this.i;\n a && a.log(Nh, \"Attempting to get all response headers but no headers have been received for url: \" + this.f, void 0);\n return \"\";\n }\n\n a = [];\n\n for (var b = this.b.entries(), c = b.next(); !c.done;) {\n c = c.value, a.push(c[0] + \": \" + c[1]), c = b.next();\n }\n\n return a.join(\"\\r\\n\");\n };\n\n function Yh(a) {\n a.onreadystatechange && a.onreadystatechange.call(a);\n }\n\n Object.defineProperty(Wh.prototype, \"withCredentials\", {\n get: function get() {\n return \"include\" === this.h;\n },\n set: function set(a) {\n this.h = a ? \"include\" : \"same-origin\";\n }\n });\n\n function ai(a) {\n H.call(this);\n this.headers = new Jd();\n this.D = a || null;\n this.c = !1;\n this.C = this.a = null;\n this.h = this.P = this.l = \"\";\n this.f = this.N = this.i = this.J = !1;\n this.g = 0;\n this.s = null;\n this.m = bi;\n this.u = this.S = !1;\n }\n\n r(ai, H);\n var bi = \"\";\n ai.prototype.b = Th(\"goog.net.XhrIo\");\n var ci = /^https?$/i,\n di = [\"POST\", \"PUT\"];\n\n function ei(a, b, c, d, e) {\n if (a.a) throw Error(\"[goog.net.XhrIo] Object is active with another request=\" + a.l + \"; newUri=\" + b);\n c = c ? c.toUpperCase() : \"GET\";\n a.l = b;\n a.h = \"\";\n a.P = c;\n a.J = !1;\n a.c = !0;\n a.a = a.D ? a.D.a() : Ch.a();\n a.C = a.D ? Bh(a.D) : Bh(Ch);\n a.a.onreadystatechange = q(a.Wb, a);\n\n try {\n Uh(a.b, fi(a, \"Opening Xhr\")), a.N = !0, a.a.open(c, String(b), !0), a.N = !1;\n } catch (g) {\n Uh(a.b, fi(a, \"Error opening Xhr: \" + g.message));\n gi(a, g);\n return;\n }\n\n b = d || \"\";\n var f = new Jd(a.headers);\n e && Id(e, function (g, h) {\n f.set(h, g);\n });\n e = Ta(f.Y());\n d = l.FormData && b instanceof l.FormData;\n !Va(di, c) || e || d || f.set(\"Content-Type\", \"application/x-www-form-urlencoded;charset=utf-8\");\n f.forEach(function (g, h) {\n this.a.setRequestHeader(h, g);\n }, a);\n a.m && (a.a.responseType = a.m);\n \"withCredentials\" in a.a && a.a.withCredentials !== a.S && (a.a.withCredentials = a.S);\n\n try {\n hi(a), 0 < a.g && (a.u = ii(a.a), Uh(a.b, fi(a, \"Will abort after \" + a.g + \"ms if incomplete, xhr2 \" + a.u)), a.u ? (a.a.timeout = a.g, a.a.ontimeout = q(a.Ma, a)) : a.s = Ed(a.Ma, a.g, a)), Uh(a.b, fi(a, \"Sending request\")), a.i = !0, a.a.send(b), a.i = !1;\n } catch (g) {\n Uh(a.b, fi(a, \"Send error: \" + g.message)), gi(a, g);\n }\n }\n\n function ii(a) {\n return Wb && fc(9) && \"number\" === typeof a.timeout && void 0 !== a.ontimeout;\n }\n\n function Ua(a) {\n return \"content-type\" == a.toLowerCase();\n }\n\n k = ai.prototype;\n\n k.Ma = function () {\n \"undefined\" != typeof ha && this.a && (this.h = \"Timed out after \" + this.g + \"ms, aborting\", Uh(this.b, fi(this, this.h)), this.dispatchEvent(\"timeout\"), this.abort(8));\n };\n\n function gi(a, b) {\n a.c = !1;\n a.a && (a.f = !0, a.a.abort(), a.f = !1);\n a.h = b;\n ji(a);\n ki(a);\n }\n\n function ji(a) {\n a.J || (a.J = !0, a.dispatchEvent(\"complete\"), a.dispatchEvent(\"error\"));\n }\n\n k.abort = function () {\n this.a && this.c && (Uh(this.b, fi(this, \"Aborting\")), this.c = !1, this.f = !0, this.a.abort(), this.f = !1, this.dispatchEvent(\"complete\"), this.dispatchEvent(\"abort\"), ki(this));\n };\n\n k.Da = function () {\n this.a && (this.c && (this.c = !1, this.f = !0, this.a.abort(), this.f = !1), ki(this, !0));\n ai.bb.Da.call(this);\n };\n\n k.Wb = function () {\n this.ya || (this.N || this.i || this.f ? li(this) : this.Jc());\n };\n\n k.Jc = function () {\n li(this);\n };\n\n function li(a) {\n if (a.c && \"undefined\" != typeof ha) if (a.C[1] && 4 == mi(a) && 2 == ni(a)) Uh(a.b, fi(a, \"Local request error detected and ignored\"));else if (a.i && 4 == mi(a)) Ed(a.Wb, 0, a);else if (a.dispatchEvent(\"readystatechange\"), 4 == mi(a)) {\n Uh(a.b, fi(a, \"Request complete\"));\n a.c = !1;\n\n try {\n var b = ni(a);\n\n a: switch (b) {\n case 200:\n case 201:\n case 202:\n case 204:\n case 206:\n case 304:\n case 1223:\n var c = !0;\n break a;\n\n default:\n c = !1;\n }\n\n var d;\n\n if (!(d = c)) {\n var e;\n\n if (e = 0 === b) {\n var f = String(a.l).match(Md)[1] || null;\n\n if (!f && l.self && l.self.location) {\n var g = l.self.location.protocol;\n f = g.substr(0, g.length - 1);\n }\n\n e = !ci.test(f ? f.toLowerCase() : \"\");\n }\n\n d = e;\n }\n\n if (d) a.dispatchEvent(\"complete\"), a.dispatchEvent(\"success\");else {\n try {\n var h = 2 < mi(a) ? a.a.statusText : \"\";\n } catch (m) {\n Uh(a.b, \"Can not get status: \" + m.message), h = \"\";\n }\n\n a.h = h + \" [\" + ni(a) + \"]\";\n ji(a);\n }\n } finally {\n ki(a);\n }\n }\n }\n\n function ki(a, b) {\n if (a.a) {\n hi(a);\n var c = a.a,\n d = a.C[0] ? la : null;\n a.a = null;\n a.C = null;\n b || a.dispatchEvent(\"ready\");\n\n try {\n c.onreadystatechange = d;\n } catch (e) {\n (a = a.b) && a.log(Mh, \"Problem encountered resetting onreadystatechange: \" + e.message, void 0);\n }\n }\n }\n\n function hi(a) {\n a.a && a.u && (a.a.ontimeout = null);\n a.s && (l.clearTimeout(a.s), a.s = null);\n }\n\n function mi(a) {\n return a.a ? a.a.readyState : 0;\n }\n\n function ni(a) {\n try {\n return 2 < mi(a) ? a.a.status : -1;\n } catch (b) {\n return -1;\n }\n }\n\n function oi(a) {\n try {\n return a.a ? a.a.responseText : \"\";\n } catch (b) {\n return Uh(a.b, \"Can not get responseText: \" + b.message), \"\";\n }\n }\n\n k.getResponse = function () {\n try {\n if (!this.a) return null;\n if (\"response\" in this.a) return this.a.response;\n\n switch (this.m) {\n case bi:\n case \"text\":\n return this.a.responseText;\n\n case \"arraybuffer\":\n if (\"mozResponseArrayBuffer\" in this.a) return this.a.mozResponseArrayBuffer;\n }\n\n var a = this.b;\n a && a.log(Mh, \"Response type \" + this.m + \" is not supported on this browser\", void 0);\n return null;\n } catch (b) {\n return Uh(this.b, \"Can not get response: \" + b.message), null;\n }\n };\n\n function fi(a, b) {\n return b + \" [\" + a.P + \" \" + a.l + \" \" + ni(a) + \"]\";\n }\n\n ;\n /*\n Portions of this code are from MochiKit, received by\n The Closure Authors under the MIT license. All other code is Copyright\n 2005-2009 The Closure Authors. All Rights Reserved.\n */\n\n function pi(a) {\n var b = qi;\n this.g = [];\n this.u = b;\n this.s = a || null;\n this.f = this.a = !1;\n this.c = void 0;\n this.v = this.C = this.i = !1;\n this.h = 0;\n this.b = null;\n this.l = 0;\n }\n\n pi.prototype.cancel = function (a) {\n if (this.a) this.c instanceof pi && this.c.cancel();else {\n if (this.b) {\n var b = this.b;\n delete this.b;\n a ? b.cancel(a) : (b.l--, 0 >= b.l && b.cancel());\n }\n\n this.u ? this.u.call(this.s, this) : this.v = !0;\n this.a || (a = new ri(this), si(this), ti(this, !1, a));\n }\n };\n\n pi.prototype.m = function (a, b) {\n this.i = !1;\n ti(this, a, b);\n };\n\n function ti(a, b, c) {\n a.a = !0;\n a.c = c;\n a.f = !b;\n ui(a);\n }\n\n function si(a) {\n if (a.a) {\n if (!a.v) throw new vi(a);\n a.v = !1;\n }\n }\n\n function wi(a, b) {\n xi(a, null, b, void 0);\n }\n\n function xi(a, b, c, d) {\n a.g.push([b, c, d]);\n a.a && ui(a);\n }\n\n pi.prototype.then = function (a, b, c) {\n var d,\n e,\n f = new D(function (g, h) {\n d = g;\n e = h;\n });\n xi(this, d, function (g) {\n g instanceof ri ? f.cancel() : e(g);\n });\n return f.then(a, b, c);\n };\n\n pi.prototype.$goog_Thenable = !0;\n\n function yi(a) {\n return Sa(a.g, function (b) {\n return oa(b[1]);\n });\n }\n\n function ui(a) {\n if (a.h && a.a && yi(a)) {\n var b = a.h,\n c = zi[b];\n c && (l.clearTimeout(c.a), delete zi[b]);\n a.h = 0;\n }\n\n a.b && (a.b.l--, delete a.b);\n b = a.c;\n\n for (var d = c = !1; a.g.length && !a.i;) {\n var e = a.g.shift(),\n f = e[0],\n g = e[1];\n e = e[2];\n if (f = a.f ? g : f) try {\n var h = f.call(e || a.s, b);\n void 0 !== h && (a.f = a.f && (h == b || h instanceof Error), a.c = b = h);\n if (Ea(b) || \"function\" === typeof l.Promise && b instanceof l.Promise) d = !0, a.i = !0;\n } catch (m) {\n b = m, a.f = !0, yi(a) || (c = !0);\n }\n }\n\n a.c = b;\n d && (h = q(a.m, a, !0), d = q(a.m, a, !1), b instanceof pi ? (xi(b, h, d), b.C = !0) : b.then(h, d));\n c && (b = new Ai(b), zi[b.a] = b, a.h = b.a);\n }\n\n function vi() {\n u.call(this);\n }\n\n r(vi, u);\n vi.prototype.message = \"Deferred has already fired\";\n vi.prototype.name = \"AlreadyCalledError\";\n\n function ri() {\n u.call(this);\n }\n\n r(ri, u);\n ri.prototype.message = \"Deferred was canceled\";\n ri.prototype.name = \"CanceledError\";\n\n function Ai(a) {\n this.a = l.setTimeout(q(this.c, this), 0);\n this.b = a;\n }\n\n Ai.prototype.c = function () {\n delete zi[this.a];\n throw this.b;\n };\n\n var zi = {};\n\n function Bi(a) {\n var b = {},\n c = b.document || document,\n d = yb(a).toString(),\n e = oc(document, \"SCRIPT\"),\n f = {\n Xb: e,\n Ma: void 0\n },\n g = new pi(f),\n h = null,\n m = null != b.timeout ? b.timeout : 5E3;\n 0 < m && (h = window.setTimeout(function () {\n Ci(e, !0);\n var p = new Di(Ei, \"Timeout reached for loading script \" + d);\n si(g);\n ti(g, !1, p);\n }, m), f.Ma = h);\n\n e.onload = e.onreadystatechange = function () {\n e.readyState && \"loaded\" != e.readyState && \"complete\" != e.readyState || (Ci(e, b.xd || !1, h), si(g), ti(g, !0, null));\n };\n\n e.onerror = function () {\n Ci(e, !0, h);\n var p = new Di(Fi, \"Error while loading script \" + d);\n si(g);\n ti(g, !1, p);\n };\n\n f = b.attributes || {};\n z(f, {\n type: \"text/javascript\",\n charset: \"UTF-8\"\n });\n lc(e, f);\n Ob(e, a);\n Gi(c).appendChild(e);\n return g;\n }\n\n function Gi(a) {\n var b;\n return (b = (a || document).getElementsByTagName(\"HEAD\")) && 0 != b.length ? b[0] : a.documentElement;\n }\n\n function qi() {\n if (this && this.Xb) {\n var a = this.Xb;\n a && \"SCRIPT\" == a.tagName && Ci(a, !0, this.Ma);\n }\n }\n\n function Ci(a, b, c) {\n null != c && l.clearTimeout(c);\n a.onload = la;\n a.onerror = la;\n a.onreadystatechange = la;\n b && window.setTimeout(function () {\n a && a.parentNode && a.parentNode.removeChild(a);\n }, 0);\n }\n\n var Fi = 0,\n Ei = 1;\n\n function Di(a, b) {\n var c = \"Jsloader error (code #\" + a + \")\";\n b && (c += \": \" + b);\n u.call(this, c);\n this.code = a;\n }\n\n r(Di, u);\n\n function Hi(a) {\n this.f = a;\n }\n\n r(Hi, Ah);\n\n Hi.prototype.a = function () {\n return new this.f();\n };\n\n Hi.prototype.b = function () {\n return {};\n };\n\n function Ii(a, b, c) {\n this.c = a;\n a = b || {};\n this.l = a.secureTokenEndpoint || \"https://securetoken.googleapis.com/v1/token\";\n this.m = a.secureTokenTimeout || Ji;\n this.g = nb(a.secureTokenHeaders || Ki);\n this.h = a.firebaseEndpoint || \"https://www.googleapis.com/identitytoolkit/v3/relyingparty/\";\n this.i = a.identityPlatformEndpoint || \"https://identitytoolkit.googleapis.com/v2/\";\n this.v = a.firebaseTimeout || Li;\n this.a = nb(a.firebaseHeaders || Mi);\n c && (this.a[\"X-Client-Version\"] = c, this.g[\"X-Client-Version\"] = c);\n c = \"Node\" == Ke();\n c = l.XMLHttpRequest || c && firebase.INTERNAL.node && firebase.INTERNAL.node.XMLHttpRequest;\n if (!c && !Je()) throw new t(\"internal-error\", \"The XMLHttpRequest compatibility library was not found.\");\n this.f = void 0;\n Je() ? this.f = new Vh(self) : Le() ? this.f = new Hi(c) : this.f = new Fh();\n this.b = null;\n }\n\n var Ni,\n Dg = \"idToken\",\n Ji = new Ze(3E4, 6E4),\n Ki = {\n \"Content-Type\": \"application/x-www-form-urlencoded\"\n },\n Li = new Ze(3E4, 6E4),\n Mi = {\n \"Content-Type\": \"application/json\"\n };\n\n function Oi(a, b) {\n b ? a.a[\"X-Firebase-Locale\"] = b : delete a.a[\"X-Firebase-Locale\"];\n }\n\n function Pi(a, b) {\n b && (a.l = Qi(\"https://securetoken.googleapis.com/v1/token\", b), a.h = Qi(\"https://www.googleapis.com/identitytoolkit/v3/relyingparty/\", b), a.i = Qi(\"https://identitytoolkit.googleapis.com/v2/\", b));\n }\n\n function Qi(a, b) {\n a = J(a);\n b = J(b.url);\n a.f = a.a + a.f;\n Pd(a, b.c);\n a.a = b.a;\n Qd(a, b.g);\n return a.toString();\n }\n\n function Ri(a, b) {\n b ? (a.a[\"X-Client-Version\"] = b, a.g[\"X-Client-Version\"] = b) : (delete a.a[\"X-Client-Version\"], delete a.g[\"X-Client-Version\"]);\n }\n\n Ii.prototype.T = function () {\n return this.b;\n };\n\n function Si(a, b, c, d, e, f, g) {\n ue() || Je() ? a = q(a.u, a) : (Ni || (Ni = new D(function (h, m) {\n Ti(h, m);\n })), a = q(a.s, a));\n a(b, c, d, e, f, g);\n }\n\n Ii.prototype.u = function (a, b, c, d, e, f) {\n if (Je() && (\"undefined\" === typeof l.fetch || \"undefined\" === typeof l.Headers || \"undefined\" === typeof l.Request)) throw new t(\"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.\");\n var g = new ai(this.f);\n\n if (f) {\n g.g = Math.max(0, f);\n var h = setTimeout(function () {\n g.dispatchEvent(\"timeout\");\n }, f);\n }\n\n qd(g, \"complete\", function () {\n h && clearTimeout(h);\n var m = null;\n\n try {\n m = JSON.parse(oi(this)) || null;\n } catch (p) {\n m = null;\n }\n\n b && b(m);\n });\n wd(g, \"ready\", function () {\n h && clearTimeout(h);\n Xc(this);\n });\n wd(g, \"timeout\", function () {\n h && clearTimeout(h);\n Xc(this);\n b && b(null);\n });\n ei(g, a, c, d, e);\n };\n\n var Ui = new qb(rb, \"https://apis.google.com/js/client.js?onload=%{onload}\"),\n Vi = \"__fcb\" + Math.floor(1E6 * Math.random()).toString();\n\n function Ti(a, b) {\n if (((window.gapi || {}).client || {}).request) a();else {\n l[Vi] = function () {\n ((window.gapi || {}).client || {}).request ? a() : b(Error(\"CORS_UNSUPPORTED\"));\n };\n\n var c = zb(Ui, {\n onload: Vi\n });\n wi(Bi(c), function () {\n b(Error(\"CORS_UNSUPPORTED\"));\n });\n }\n }\n\n Ii.prototype.s = function (a, b, c, d, e) {\n var f = this;\n Ni.then(function () {\n window.gapi.client.setApiKey(f.c);\n var g = window.gapi.auth.getToken();\n window.gapi.auth.setToken(null);\n window.gapi.client.request({\n path: a,\n method: c,\n body: d,\n headers: e,\n authType: \"none\",\n callback: function callback(h) {\n window.gapi.auth.setToken(g);\n b && b(h);\n }\n });\n }).o(function (g) {\n b && b({\n error: {\n message: g && g.message || \"CORS_UNSUPPORTED\"\n }\n });\n });\n };\n\n function Wi(a, b) {\n return new D(function (c, d) {\n \"refresh_token\" == b.grant_type && b.refresh_token || \"authorization_code\" == b.grant_type && b.code ? Si(a, a.l + \"?key=\" + encodeURIComponent(a.c), function (e) {\n e ? e.error ? d(Xi(e)) : e.access_token && e.refresh_token ? c(e) : d(new t(\"internal-error\")) : d(new t(\"network-request-failed\"));\n }, \"POST\", fe(b).toString(), a.g, a.m.get()) : d(new t(\"internal-error\"));\n });\n }\n\n function Yi(a, b, c, d, e, f, g) {\n var h = J(b + c);\n I(h, \"key\", a.c);\n g && I(h, \"cb\", Date.now().toString());\n var m = \"GET\" == d;\n if (m) for (var p in e) {\n e.hasOwnProperty(p) && I(h, p, e[p]);\n }\n return new D(function (v, B) {\n Si(a, h.toString(), function (A) {\n A ? A.error ? B(Xi(A, f || {})) : v(A) : B(new t(\"network-request-failed\"));\n }, d, m ? void 0 : ke(Ve(e)), a.a, a.v.get());\n });\n }\n\n function Zi(a) {\n a = a.email;\n if (\"string\" !== typeof a || !De.test(a)) throw new t(\"invalid-email\");\n }\n\n function $i(a) {\n \"email\" in a && Zi(a);\n }\n\n function aj(a, b) {\n return O(a, bj, {\n identifier: b,\n continueUri: Se() ? re() : \"http://localhost\"\n }).then(function (c) {\n return c.signinMethods || [];\n });\n }\n\n function cj(a) {\n return O(a, dj, {}).then(function (b) {\n return b.authorizedDomains || [];\n });\n }\n\n function P(a) {\n if (!a[Dg]) {\n if (a.mfaPendingCredential) throw new t(\"multi-factor-auth-required\", null, nb(a));\n throw new t(\"internal-error\");\n }\n }\n\n function ej(a) {\n if (a.phoneNumber || a.temporaryProof) {\n if (!a.phoneNumber || !a.temporaryProof) throw new t(\"internal-error\");\n } else {\n if (!a.sessionInfo) throw new t(\"missing-verification-id\");\n if (!a.code) throw new t(\"missing-verification-code\");\n }\n }\n\n Ii.prototype.Ab = function () {\n return O(this, fj, {});\n };\n\n Ii.prototype.Cb = function (a, b) {\n return O(this, gj, {\n idToken: a,\n email: b\n });\n };\n\n Ii.prototype.Db = function (a, b) {\n return O(this, ch, {\n idToken: a,\n password: b\n });\n };\n\n var hj = {\n displayName: \"DISPLAY_NAME\",\n photoUrl: \"PHOTO_URL\"\n };\n k = Ii.prototype;\n\n k.Eb = function (a, b) {\n var c = {\n idToken: a\n },\n d = [];\n lb(hj, function (e, f) {\n var g = b[f];\n null === g ? d.push(e) : f in b && (c[f] = g);\n });\n d.length && (c.deleteAttribute = d);\n return O(this, gj, c);\n };\n\n k.wb = function (a, b) {\n a = {\n requestType: \"PASSWORD_RESET\",\n email: a\n };\n z(a, b);\n return O(this, ij, a);\n };\n\n k.xb = function (a, b) {\n a = {\n requestType: \"EMAIL_SIGNIN\",\n email: a\n };\n z(a, b);\n return O(this, jj, a);\n };\n\n k.vb = function (a, b) {\n a = {\n requestType: \"VERIFY_EMAIL\",\n idToken: a\n };\n z(a, b);\n return O(this, kj, a);\n };\n\n k.Fb = function (a, b, c) {\n a = {\n requestType: \"VERIFY_AND_CHANGE_EMAIL\",\n idToken: a,\n newEmail: b\n };\n z(a, c);\n return O(this, lj, a);\n };\n\n function oh(a, b) {\n return O(a, mj, b);\n }\n\n k.gb = function (a) {\n return O(this, nj, a);\n };\n\n function mh(a, b) {\n return O(a, oj, b).then(function (c) {\n return c.phoneSessionInfo.sessionInfo;\n });\n }\n\n function pj(a) {\n if (!a.phoneVerificationInfo) throw new t(\"internal-error\");\n if (!a.phoneVerificationInfo.sessionInfo) throw new t(\"missing-verification-id\");\n if (!a.phoneVerificationInfo.code) throw new t(\"missing-verification-code\");\n }\n\n function nh(a, b) {\n return O(a, qj, b).then(function (c) {\n return c.phoneResponseInfo.sessionInfo;\n });\n }\n\n function rj(a, b, c) {\n return O(a, sj, {\n idToken: b,\n deleteProvider: c\n });\n }\n\n function tj(a) {\n if (!a.requestUri || !a.sessionId && !a.postBody && !a.pendingToken) throw new t(\"internal-error\");\n }\n\n function uj(a, b) {\n b.oauthIdToken && b.providerId && 0 == b.providerId.indexOf(\"oidc.\") && !b.pendingToken && (a.sessionId ? b.nonce = a.sessionId : a.postBody && (a = new Ud(a.postBody), je(a, \"nonce\") && (b.nonce = a.get(\"nonce\"))));\n return b;\n }\n\n function vj(a) {\n var b = null;\n a.needConfirmation ? (a.code = \"account-exists-with-different-credential\", b = zh(a)) : \"FEDERATED_USER_ID_ALREADY_LINKED\" == a.errorMessage ? (a.code = \"credential-already-in-use\", b = zh(a)) : \"EMAIL_EXISTS\" == a.errorMessage ? (a.code = \"email-already-in-use\", b = zh(a)) : a.errorMessage && (b = wj(a.errorMessage));\n if (b) throw b;\n P(a);\n }\n\n function Fg(a, b) {\n b.returnIdpCredential = !0;\n return O(a, xj, b);\n }\n\n function Hg(a, b) {\n b.returnIdpCredential = !0;\n return O(a, yj, b);\n }\n\n function Ig(a, b) {\n b.returnIdpCredential = !0;\n b.autoCreate = !1;\n return O(a, zj, b);\n }\n\n function Aj(a) {\n if (!a.oobCode) throw new t(\"invalid-action-code\");\n }\n\n k.ob = function (a, b) {\n return O(this, Bj, {\n oobCode: a,\n newPassword: b\n });\n };\n\n k.Sa = function (a) {\n return O(this, Cj, {\n oobCode: a\n });\n };\n\n k.kb = function (a) {\n return O(this, Dj, {\n oobCode: a\n });\n };\n\n var Dj = {\n endpoint: \"setAccountInfo\",\n A: Aj,\n Z: \"email\",\n B: !0\n },\n Cj = {\n endpoint: \"resetPassword\",\n A: Aj,\n G: function G(a) {\n var b = a.requestType;\n if (!b || !a.email && \"EMAIL_SIGNIN\" != b && \"VERIFY_AND_CHANGE_EMAIL\" != b) throw new t(\"internal-error\");\n },\n B: !0\n },\n Ej = {\n endpoint: \"signupNewUser\",\n A: function A(a) {\n Zi(a);\n if (!a.password) throw new t(\"weak-password\");\n },\n G: P,\n V: !0,\n B: !0\n },\n bj = {\n endpoint: \"createAuthUri\",\n B: !0\n },\n Fj = {\n endpoint: \"deleteAccount\",\n O: [\"idToken\"]\n },\n sj = {\n endpoint: \"setAccountInfo\",\n O: [\"idToken\", \"deleteProvider\"],\n A: function A(a) {\n if (!Array.isArray(a.deleteProvider)) throw new t(\"internal-error\");\n }\n },\n $g = {\n endpoint: \"emailLinkSignin\",\n O: [\"email\", \"oobCode\"],\n A: Zi,\n G: P,\n V: !0,\n B: !0\n },\n bh = {\n endpoint: \"emailLinkSignin\",\n O: [\"idToken\", \"email\", \"oobCode\"],\n A: Zi,\n G: P,\n V: !0\n },\n Gj = {\n endpoint: \"accounts/mfaEnrollment:finalize\",\n O: [\"idToken\", \"phoneVerificationInfo\"],\n A: pj,\n G: P,\n B: !0,\n Na: !0\n },\n Hj = {\n endpoint: \"accounts/mfaSignIn:finalize\",\n O: [\"mfaPendingCredential\", \"phoneVerificationInfo\"],\n A: pj,\n G: P,\n B: !0,\n Na: !0\n },\n Ij = {\n endpoint: \"getAccountInfo\"\n },\n jj = {\n endpoint: \"getOobConfirmationCode\",\n O: [\"requestType\"],\n A: function A(a) {\n if (\"EMAIL_SIGNIN\" != a.requestType) throw new t(\"internal-error\");\n Zi(a);\n },\n Z: \"email\",\n B: !0\n },\n kj = {\n endpoint: \"getOobConfirmationCode\",\n O: [\"idToken\", \"requestType\"],\n A: function A(a) {\n if (\"VERIFY_EMAIL\" != a.requestType) throw new t(\"internal-error\");\n },\n Z: \"email\",\n B: !0\n },\n lj = {\n endpoint: \"getOobConfirmationCode\",\n O: [\"idToken\", \"newEmail\", \"requestType\"],\n A: function A(a) {\n if (\"VERIFY_AND_CHANGE_EMAIL\" != a.requestType) throw new t(\"internal-error\");\n },\n Z: \"email\",\n B: !0\n },\n ij = {\n endpoint: \"getOobConfirmationCode\",\n O: [\"requestType\"],\n A: function A(a) {\n if (\"PASSWORD_RESET\" != a.requestType) throw new t(\"internal-error\");\n Zi(a);\n },\n Z: \"email\",\n B: !0\n },\n dj = {\n mb: !0,\n endpoint: \"getProjectConfig\",\n Vb: \"GET\"\n },\n Jj = {\n mb: !0,\n endpoint: \"getRecaptchaParam\",\n Vb: \"GET\",\n G: function G(a) {\n if (!a.recaptchaSiteKey) throw new t(\"internal-error\");\n }\n },\n Bj = {\n endpoint: \"resetPassword\",\n A: Aj,\n Z: \"email\",\n B: !0\n },\n mj = {\n endpoint: \"sendVerificationCode\",\n O: [\"phoneNumber\", \"recaptchaToken\"],\n Z: \"sessionInfo\",\n B: !0\n },\n gj = {\n endpoint: \"setAccountInfo\",\n O: [\"idToken\"],\n A: $i,\n V: !0\n },\n ch = {\n endpoint: \"setAccountInfo\",\n O: [\"idToken\"],\n A: function A(a) {\n $i(a);\n if (!a.password) throw new t(\"weak-password\");\n },\n G: P,\n V: !0\n },\n fj = {\n endpoint: \"signupNewUser\",\n G: P,\n V: !0,\n B: !0\n },\n oj = {\n endpoint: \"accounts/mfaEnrollment:start\",\n O: [\"idToken\", \"phoneEnrollmentInfo\"],\n A: function A(a) {\n if (!a.phoneEnrollmentInfo) throw new t(\"internal-error\");\n if (!a.phoneEnrollmentInfo.phoneNumber) throw new t(\"missing-phone-number\");\n if (!a.phoneEnrollmentInfo.recaptchaToken) throw new t(\"missing-app-credential\");\n },\n G: function G(a) {\n if (!a.phoneSessionInfo || !a.phoneSessionInfo.sessionInfo) throw new t(\"internal-error\");\n },\n B: !0,\n Na: !0\n },\n qj = {\n endpoint: \"accounts/mfaSignIn:start\",\n O: [\"mfaPendingCredential\", \"mfaEnrollmentId\", \"phoneSignInInfo\"],\n A: function A(a) {\n if (!a.phoneSignInInfo || !a.phoneSignInInfo.recaptchaToken) throw new t(\"missing-app-credential\");\n },\n G: function G(a) {\n if (!a.phoneResponseInfo || !a.phoneResponseInfo.sessionInfo) throw new t(\"internal-error\");\n },\n B: !0,\n Na: !0\n },\n xj = {\n endpoint: \"verifyAssertion\",\n A: tj,\n Za: uj,\n G: vj,\n V: !0,\n B: !0\n },\n zj = {\n endpoint: \"verifyAssertion\",\n A: tj,\n Za: uj,\n G: function G(a) {\n if (a.errorMessage && \"USER_NOT_FOUND\" == a.errorMessage) throw new t(\"user-not-found\");\n if (a.errorMessage) throw wj(a.errorMessage);\n P(a);\n },\n V: !0,\n B: !0\n },\n yj = {\n endpoint: \"verifyAssertion\",\n A: function A(a) {\n tj(a);\n if (!a.idToken) throw new t(\"internal-error\");\n },\n Za: uj,\n G: vj,\n V: !0\n },\n Kj = {\n endpoint: \"verifyCustomToken\",\n A: function A(a) {\n if (!a.token) throw new t(\"invalid-custom-token\");\n },\n G: P,\n V: !0,\n B: !0\n },\n ah = {\n endpoint: \"verifyPassword\",\n A: function A(a) {\n Zi(a);\n if (!a.password) throw new t(\"wrong-password\");\n },\n G: P,\n V: !0,\n B: !0\n },\n nj = {\n endpoint: \"verifyPhoneNumber\",\n A: ej,\n G: P,\n B: !0\n },\n ih = {\n endpoint: \"verifyPhoneNumber\",\n A: function A(a) {\n if (!a.idToken) throw new t(\"internal-error\");\n ej(a);\n },\n G: function G(a) {\n if (a.temporaryProof) throw a.code = \"credential-already-in-use\", zh(a);\n P(a);\n }\n },\n jh = {\n Ib: {\n USER_NOT_FOUND: \"user-not-found\"\n },\n endpoint: \"verifyPhoneNumber\",\n A: ej,\n G: P,\n B: !0\n },\n Lj = {\n endpoint: \"accounts/mfaEnrollment:withdraw\",\n O: [\"idToken\", \"mfaEnrollmentId\"],\n G: function G(a) {\n if (!!a[Dg] ^ !!a.refreshToken) throw new t(\"internal-error\");\n },\n B: !0,\n Na: !0\n };\n\n function O(a, b, c) {\n if (!mf(c, b.O)) return F(new t(\"internal-error\"));\n var d = !!b.Na,\n e = b.Vb || \"POST\",\n f;\n return E(c).then(b.A).then(function () {\n b.V && (c.returnSecureToken = !0);\n b.B && a.b && \"undefined\" === typeof c.tenantId && (c.tenantId = a.b);\n return d ? Yi(a, a.i, b.endpoint, e, c, b.Ib, b.mb || !1) : Yi(a, a.h, b.endpoint, e, c, b.Ib, b.mb || !1);\n }).then(function (g) {\n f = g;\n return b.Za ? b.Za(c, f) : f;\n }).then(b.G).then(function () {\n if (!b.Z) return f;\n if (!(b.Z in f)) throw new t(\"internal-error\");\n return f[b.Z];\n });\n }\n\n function wj(a) {\n return Xi({\n error: {\n errors: [{\n message: a\n }],\n code: 400,\n message: a\n }\n });\n }\n\n function Xi(a, b) {\n var c = (a.error && a.error.errors && a.error.errors[0] || {}).reason || \"\";\n var d = {\n keyInvalid: \"invalid-api-key\",\n ipRefererBlocked: \"app-not-authorized\"\n };\n if (c = d[c] ? new t(d[c]) : null) return c;\n c = a.error && a.error.message || \"\";\n d = {\n INVALID_CUSTOM_TOKEN: \"invalid-custom-token\",\n CREDENTIAL_MISMATCH: \"custom-token-mismatch\",\n MISSING_CUSTOM_TOKEN: \"internal-error\",\n INVALID_IDENTIFIER: \"invalid-email\",\n MISSING_CONTINUE_URI: \"internal-error\",\n INVALID_EMAIL: \"invalid-email\",\n INVALID_PASSWORD: \"wrong-password\",\n USER_DISABLED: \"user-disabled\",\n MISSING_PASSWORD: \"internal-error\",\n EMAIL_EXISTS: \"email-already-in-use\",\n PASSWORD_LOGIN_DISABLED: \"operation-not-allowed\",\n INVALID_IDP_RESPONSE: \"invalid-credential\",\n INVALID_PENDING_TOKEN: \"invalid-credential\",\n FEDERATED_USER_ID_ALREADY_LINKED: \"credential-already-in-use\",\n MISSING_OR_INVALID_NONCE: \"missing-or-invalid-nonce\",\n INVALID_MESSAGE_PAYLOAD: \"invalid-message-payload\",\n INVALID_RECIPIENT_EMAIL: \"invalid-recipient-email\",\n INVALID_SENDER: \"invalid-sender\",\n EMAIL_NOT_FOUND: \"user-not-found\",\n RESET_PASSWORD_EXCEED_LIMIT: \"too-many-requests\",\n EXPIRED_OOB_CODE: \"expired-action-code\",\n INVALID_OOB_CODE: \"invalid-action-code\",\n MISSING_OOB_CODE: \"internal-error\",\n INVALID_PROVIDER_ID: \"invalid-provider-id\",\n CREDENTIAL_TOO_OLD_LOGIN_AGAIN: \"requires-recent-login\",\n INVALID_ID_TOKEN: \"invalid-user-token\",\n TOKEN_EXPIRED: \"user-token-expired\",\n USER_NOT_FOUND: \"user-token-expired\",\n CORS_UNSUPPORTED: \"cors-unsupported\",\n DYNAMIC_LINK_NOT_ACTIVATED: \"dynamic-link-not-activated\",\n INVALID_APP_ID: \"invalid-app-id\",\n TOO_MANY_ATTEMPTS_TRY_LATER: \"too-many-requests\",\n WEAK_PASSWORD: \"weak-password\",\n OPERATION_NOT_ALLOWED: \"operation-not-allowed\",\n USER_CANCELLED: \"user-cancelled\",\n CAPTCHA_CHECK_FAILED: \"captcha-check-failed\",\n INVALID_APP_CREDENTIAL: \"invalid-app-credential\",\n INVALID_CODE: \"invalid-verification-code\",\n INVALID_PHONE_NUMBER: \"invalid-phone-number\",\n INVALID_SESSION_INFO: \"invalid-verification-id\",\n INVALID_TEMPORARY_PROOF: \"invalid-credential\",\n MISSING_APP_CREDENTIAL: \"missing-app-credential\",\n MISSING_CODE: \"missing-verification-code\",\n MISSING_PHONE_NUMBER: \"missing-phone-number\",\n MISSING_SESSION_INFO: \"missing-verification-id\",\n QUOTA_EXCEEDED: \"quota-exceeded\",\n SESSION_EXPIRED: \"code-expired\",\n REJECTED_CREDENTIAL: \"rejected-credential\",\n INVALID_CONTINUE_URI: \"invalid-continue-uri\",\n MISSING_ANDROID_PACKAGE_NAME: \"missing-android-pkg-name\",\n MISSING_IOS_BUNDLE_ID: \"missing-ios-bundle-id\",\n UNAUTHORIZED_DOMAIN: \"unauthorized-continue-uri\",\n INVALID_DYNAMIC_LINK_DOMAIN: \"invalid-dynamic-link-domain\",\n INVALID_OAUTH_CLIENT_ID: \"invalid-oauth-client-id\",\n INVALID_CERT_HASH: \"invalid-cert-hash\",\n UNSUPPORTED_TENANT_OPERATION: \"unsupported-tenant-operation\",\n INVALID_TENANT_ID: \"invalid-tenant-id\",\n TENANT_ID_MISMATCH: \"tenant-id-mismatch\",\n ADMIN_ONLY_OPERATION: \"admin-restricted-operation\",\n INVALID_MFA_PENDING_CREDENTIAL: \"invalid-multi-factor-session\",\n MFA_ENROLLMENT_NOT_FOUND: \"multi-factor-info-not-found\",\n MISSING_MFA_PENDING_CREDENTIAL: \"missing-multi-factor-session\",\n MISSING_MFA_ENROLLMENT_ID: \"missing-multi-factor-info\",\n EMAIL_CHANGE_NEEDS_VERIFICATION: \"email-change-needs-verification\",\n SECOND_FACTOR_EXISTS: \"second-factor-already-in-use\",\n SECOND_FACTOR_LIMIT_EXCEEDED: \"maximum-second-factor-count-exceeded\",\n UNSUPPORTED_FIRST_FACTOR: \"unsupported-first-factor\",\n UNVERIFIED_EMAIL: \"unverified-email\"\n };\n z(d, b || {});\n b = (b = c.match(/^[^\\s]+\\s*:\\s*([\\s\\S]*)$/)) && 1 < b.length ? b[1] : void 0;\n\n for (var e in d) {\n if (0 === c.indexOf(e)) return new t(d[e], b);\n }\n\n !b && a && (b = Ue(a));\n return new t(\"internal-error\", b);\n }\n\n ;\n\n function Mj(a) {\n this.b = a;\n this.a = null;\n this.sb = Nj(this);\n }\n\n function Nj(a) {\n return Oj().then(function () {\n return new D(function (b, c) {\n L(\"gapi.iframes.getContext\")().open({\n where: document.body,\n url: a.b,\n messageHandlersFilter: L(\"gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER\"),\n attributes: {\n style: {\n position: \"absolute\",\n top: \"-100px\",\n width: \"1px\",\n height: \"1px\"\n }\n },\n dontclear: !0\n }, function (d) {\n function e() {\n clearTimeout(f);\n b();\n }\n\n a.a = d;\n a.a.restyle({\n setHideOnLeave: !1\n });\n var f = setTimeout(function () {\n c(Error(\"Network Error\"));\n }, Pj.get());\n d.ping(e).then(e, function () {\n c(Error(\"Network Error\"));\n });\n });\n });\n });\n }\n\n function Qj(a, b) {\n return a.sb.then(function () {\n return new D(function (c) {\n a.a.send(b.type, b, c, L(\"gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER\"));\n });\n });\n }\n\n function Rj(a, b) {\n a.sb.then(function () {\n a.a.register(\"authEvent\", b, L(\"gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER\"));\n });\n }\n\n var Sj = new qb(rb, \"https://apis.google.com/js/api.js?onload=%{onload}\"),\n Tj = new Ze(3E4, 6E4),\n Pj = new Ze(5E3, 15E3),\n Uj = null;\n\n function Oj() {\n return Uj ? Uj : Uj = new D(function (a, b) {\n function c() {\n Ye();\n L(\"gapi.load\")(\"gapi.iframes\", {\n callback: a,\n ontimeout: function ontimeout() {\n Ye();\n b(Error(\"Network Error\"));\n },\n timeout: Tj.get()\n });\n }\n\n if (L(\"gapi.iframes.Iframe\")) a();else if (L(\"gapi.load\")) c();else {\n var d = \"__iframefcb\" + Math.floor(1E6 * Math.random()).toString();\n\n l[d] = function () {\n L(\"gapi.load\") ? c() : b(Error(\"Network Error\"));\n };\n\n d = zb(Sj, {\n onload: d\n });\n E(Bi(d)).o(function () {\n b(Error(\"Network Error\"));\n });\n }\n }).o(function (a) {\n Uj = null;\n throw a;\n });\n }\n\n ;\n\n function Vj(a, b, c, d) {\n this.l = a;\n this.h = b;\n this.i = c;\n this.g = d;\n this.f = null;\n this.g ? (a = J(this.g.url), a = ce(a.c, a.a, a.g, \"/emulator/auth/iframe\")) : a = ce(\"https\", this.l, null, \"/__/auth/iframe\");\n this.a = a;\n I(this.a, \"apiKey\", this.h);\n I(this.a, \"appName\", this.i);\n this.b = null;\n this.c = [];\n }\n\n Vj.prototype.toString = function () {\n this.f ? I(this.a, \"v\", this.f) : ie(this.a.b, \"v\");\n this.b ? I(this.a, \"eid\", this.b) : ie(this.a.b, \"eid\");\n this.c.length ? I(this.a, \"fw\", this.c.join(\",\")) : ie(this.a.b, \"fw\");\n return this.a.toString();\n };\n\n function Wj(a, b, c, d, e, f) {\n this.u = a;\n this.s = b;\n this.c = c;\n this.m = d;\n this.v = f;\n this.i = this.g = this.l = null;\n this.a = e;\n this.h = this.f = null;\n }\n\n Wj.prototype.zb = function (a) {\n this.h = a;\n return this;\n };\n\n Wj.prototype.toString = function () {\n if (this.v) {\n var a = J(this.v.url);\n a = ce(a.c, a.a, a.g, \"/emulator/auth/handler\");\n } else a = ce(\"https\", this.u, null, \"/__/auth/handler\");\n\n I(a, \"apiKey\", this.s);\n I(a, \"appName\", this.c);\n I(a, \"authType\", this.m);\n\n if (this.a.isOAuthProvider) {\n var b = this.a;\n\n try {\n var c = firebase.app(this.c).auth().la();\n } catch (h) {\n c = null;\n }\n\n b.pb = c;\n I(a, \"providerId\", this.a.providerId);\n c = this.a;\n b = Ve(c.Jb);\n\n for (var d in b) {\n b[d] = b[d].toString();\n }\n\n d = c.Qc;\n b = nb(b);\n\n for (var e = 0; e < d.length; e++) {\n var f = d[e];\n f in b && delete b[f];\n }\n\n c.qb && c.pb && !b[c.qb] && (b[c.qb] = c.pb);\n mb(b) || I(a, \"customParameters\", Ue(b));\n }\n\n \"function\" === typeof this.a.Rb && (c = this.a.Rb(), c.length && I(a, \"scopes\", c.join(\",\")));\n this.l ? I(a, \"redirectUrl\", this.l) : ie(a.b, \"redirectUrl\");\n this.g ? I(a, \"eventId\", this.g) : ie(a.b, \"eventId\");\n this.i ? I(a, \"v\", this.i) : ie(a.b, \"v\");\n if (this.b) for (var g in this.b) {\n this.b.hasOwnProperty(g) && !be(a, g) && I(a, g, this.b[g]);\n }\n this.h ? I(a, \"tid\", this.h) : ie(a.b, \"tid\");\n this.f ? I(a, \"eid\", this.f) : ie(a.b, \"eid\");\n g = Xj(this.c);\n g.length && I(a, \"fw\", g.join(\",\"));\n return a.toString();\n };\n\n function Xj(a) {\n try {\n return firebase.app(a).auth().Ga();\n } catch (b) {\n return [];\n }\n }\n\n function Yj(a, b, c, d, e, f) {\n this.s = a;\n this.g = b;\n this.b = c;\n this.f = f;\n this.c = d || null;\n this.i = e || null;\n this.l = this.u = this.C = null;\n this.h = [];\n this.m = this.a = null;\n }\n\n function Zj(a) {\n var b = re();\n return cj(a).then(function (c) {\n a: {\n var d = J(b),\n e = d.c;\n d = d.a;\n\n for (var f = 0; f < c.length; f++) {\n var g = c[f];\n var h = d;\n var m = e;\n 0 == g.indexOf(\"chrome-extension://\") ? h = J(g).a == h && \"chrome-extension\" == m : \"http\" != m && \"https\" != m ? h = !1 : Ce.test(g) ? h = h == g : (g = g.split(\".\").join(\"\\\\.\"), h = new RegExp(\"^(.+\\\\.\" + g + \"|\" + g + \")$\", \"i\").test(h));\n\n if (h) {\n c = !0;\n break a;\n }\n }\n\n c = !1;\n }\n\n if (!c) throw new xh(re());\n });\n }\n\n function ak(a) {\n if (a.m) return a.m;\n a.m = Ee().then(function () {\n if (!a.u) {\n var b = a.c,\n c = a.i,\n d = Xj(a.b),\n e = new Vj(a.s, a.g, a.b, a.f);\n e.f = b;\n e.b = c;\n e.c = Za(d || []);\n a.u = e.toString();\n }\n\n a.v = new Mj(a.u);\n bk(a);\n });\n return a.m;\n }\n\n k = Yj.prototype;\n\n k.Pb = function (a, b, c) {\n var d = new t(\"popup-closed-by-user\"),\n e = new t(\"web-storage-unsupported\"),\n f = this,\n g = !1;\n return this.ma().then(function () {\n ck(f).then(function (h) {\n h || (a && ye(a), b(e), g = !0);\n });\n }).o(function () {}).then(function () {\n if (!g) return Be(a);\n }).then(function () {\n if (!g) return Fd(c).then(function () {\n b(d);\n });\n });\n };\n\n k.Yb = function () {\n var a = K();\n return !Te(a) && !Xe(a);\n };\n\n k.Ub = function () {\n return !1;\n };\n\n k.Nb = function (a, b, c, d, e, f, g, h) {\n if (!a) return F(new t(\"popup-blocked\"));\n if (g && !Te()) return this.ma().o(function (p) {\n ye(a);\n e(p);\n }), d(), E();\n this.a || (this.a = Zj(dk(this)));\n var m = this;\n return this.a.then(function () {\n var p = m.ma().o(function (v) {\n ye(a);\n e(v);\n throw v;\n });\n d();\n return p;\n }).then(function () {\n rh(c);\n\n if (!g) {\n var p = ek(m.s, m.g, m.b, b, c, null, f, m.c, void 0, m.i, h, m.f);\n se(p, a);\n }\n }).o(function (p) {\n \"auth/network-request-failed\" == p.code && (m.a = null);\n throw p;\n });\n };\n\n function dk(a) {\n a.l || (a.C = a.c ? Oe(a.c, Xj(a.b)) : null, a.l = new Ii(a.g, Ca(a.i), a.C), a.f && Pi(a.l, a.f));\n return a.l;\n }\n\n k.Ob = function (a, b, c, d) {\n this.a || (this.a = Zj(dk(this)));\n var e = this;\n return this.a.then(function () {\n rh(b);\n var f = ek(e.s, e.g, e.b, a, b, re(), c, e.c, void 0, e.i, d, e.f);\n se(f);\n }).o(function (f) {\n \"auth/network-request-failed\" == f.code && (e.a = null);\n throw f;\n });\n };\n\n k.ma = function () {\n var a = this;\n return ak(this).then(function () {\n return a.v.sb;\n }).o(function () {\n a.a = null;\n throw new t(\"network-request-failed\");\n });\n };\n\n k.ac = function () {\n return !0;\n };\n\n function ek(a, b, c, d, e, f, g, h, m, p, v, B) {\n a = new Wj(a, b, c, d, e, B);\n a.l = f;\n a.g = g;\n a.i = h;\n a.b = nb(m || null);\n a.f = p;\n return a.zb(v).toString();\n }\n\n function bk(a) {\n if (!a.v) throw Error(\"IfcHandler must be initialized!\");\n Rj(a.v, function (b) {\n var c = {};\n\n if (b && b.authEvent) {\n var d = !1;\n b = th(b.authEvent);\n\n for (c = 0; c < a.h.length; c++) {\n d = a.h[c](b) || d;\n }\n\n c = {};\n c.status = d ? \"ACK\" : \"ERROR\";\n return E(c);\n }\n\n c.status = \"ERROR\";\n return E(c);\n });\n }\n\n function ck(a) {\n var b = {\n type: \"webStorageSupport\"\n };\n return ak(a).then(function () {\n return Qj(a.v, b);\n }).then(function (c) {\n if (c && c.length && \"undefined\" !== typeof c[0].webStorageSupport) return c[0].webStorageSupport;\n throw Error();\n });\n }\n\n k.Ea = function (a) {\n this.h.push(a);\n };\n\n k.Ta = function (a) {\n Xa(this.h, function (b) {\n return b == a;\n });\n };\n\n function fk(a) {\n this.a = a || firebase.INTERNAL.reactNative && firebase.INTERNAL.reactNative.AsyncStorage;\n if (!this.a) throw new t(\"internal-error\", \"The React Native compatibility library was not found.\");\n this.type = \"asyncStorage\";\n }\n\n k = fk.prototype;\n\n k.get = function (a) {\n return E(this.a.getItem(a)).then(function (b) {\n return b && We(b);\n });\n };\n\n k.set = function (a, b) {\n return E(this.a.setItem(a, Ue(b)));\n };\n\n k.U = function (a) {\n return E(this.a.removeItem(a));\n };\n\n k.ca = function () {};\n\n k.ia = function () {};\n\n function gk(a) {\n this.b = a;\n this.a = {};\n this.f = q(this.c, this);\n }\n\n var hk = [];\n\n function ik() {\n var a = Je() ? self : null;\n w(hk, function (c) {\n c.b == a && (b = c);\n });\n\n if (!b) {\n var b = new gk(a);\n hk.push(b);\n }\n\n return b;\n }\n\n gk.prototype.c = function (a) {\n var b = a.data.eventType,\n c = a.data.eventId,\n d = this.a[b];\n\n if (d && 0 < d.length) {\n a.ports[0].postMessage({\n status: \"ack\",\n eventId: c,\n eventType: b,\n response: null\n });\n var e = [];\n w(d, function (f) {\n e.push(E().then(function () {\n return f(a.origin, a.data.data);\n }));\n });\n Jc(e).then(function (f) {\n var g = [];\n w(f, function (h) {\n g.push({\n fulfilled: h.Qb,\n value: h.value,\n reason: h.reason ? h.reason.message : void 0\n });\n });\n w(g, function (h) {\n for (var m in h) {\n \"undefined\" === typeof h[m] && delete h[m];\n }\n });\n a.ports[0].postMessage({\n status: \"done\",\n eventId: c,\n eventType: b,\n response: g\n });\n });\n }\n };\n\n function jk(a, b, c) {\n mb(a.a) && a.b.addEventListener(\"message\", a.f);\n \"undefined\" === typeof a.a[b] && (a.a[b] = []);\n a.a[b].push(c);\n }\n\n ;\n\n function kk(a) {\n this.a = a;\n }\n\n kk.prototype.postMessage = function (a, b) {\n this.a.postMessage(a, b);\n };\n\n function lk(a) {\n this.c = a;\n this.b = !1;\n this.a = [];\n }\n\n function mk(a, b, c, d) {\n var e,\n f = c || {},\n g,\n h,\n m,\n p = null;\n if (a.b) return F(Error(\"connection_unavailable\"));\n var v = d ? 800 : 50,\n B = \"undefined\" !== typeof MessageChannel ? new MessageChannel() : null;\n return new D(function (A, Q) {\n B ? (e = Math.floor(Math.random() * Math.pow(10, 20)).toString(), B.port1.start(), h = setTimeout(function () {\n Q(Error(\"unsupported_event\"));\n }, v), g = function g(ya) {\n ya.data.eventId === e && (\"ack\" === ya.data.status ? (clearTimeout(h), m = setTimeout(function () {\n Q(Error(\"timeout\"));\n }, 3E3)) : \"done\" === ya.data.status ? (clearTimeout(m), \"undefined\" !== typeof ya.data.response ? A(ya.data.response) : Q(Error(\"unknown_error\"))) : (clearTimeout(h), clearTimeout(m), Q(Error(\"invalid_response\"))));\n }, p = {\n messageChannel: B,\n onMessage: g\n }, a.a.push(p), B.port1.addEventListener(\"message\", g), a.c.postMessage({\n eventType: b,\n eventId: e,\n data: f\n }, [B.port2])) : Q(Error(\"connection_unavailable\"));\n }).then(function (A) {\n nk(a, p);\n return A;\n }).o(function (A) {\n nk(a, p);\n throw A;\n });\n }\n\n function nk(a, b) {\n if (b) {\n var c = b.messageChannel,\n d = b.onMessage;\n c && (c.port1.removeEventListener(\"message\", d), c.port1.close());\n Xa(a.a, function (e) {\n return e == b;\n });\n }\n }\n\n lk.prototype.close = function () {\n for (; 0 < this.a.length;) {\n nk(this, this.a[0]);\n }\n\n this.b = !0;\n };\n\n function ok() {\n if (!pk()) throw new t(\"web-storage-unsupported\");\n this.c = {};\n this.a = [];\n this.b = 0;\n this.m = l.indexedDB;\n this.type = \"indexedDB\";\n this.g = this.v = this.f = this.l = null;\n this.s = !1;\n this.h = null;\n var a = this;\n Je() && self ? (this.v = ik(), jk(this.v, \"keyChanged\", function (b, c) {\n return qk(a).then(function (d) {\n 0 < d.length && w(a.a, function (e) {\n e(d);\n });\n return {\n keyProcessed: Va(d, c.key)\n };\n });\n }), jk(this.v, \"ping\", function () {\n return E([\"keyChanged\"]);\n })) : ef().then(function (b) {\n if (a.h = b) a.g = new lk(new kk(b)), mk(a.g, \"ping\", null, !0).then(function (c) {\n c[0].fulfilled && Va(c[0].value, \"keyChanged\") && (a.s = !0);\n }).o(function () {});\n });\n }\n\n var rk;\n\n function sk(a) {\n return new D(function (b, c) {\n var d = a.m.deleteDatabase(\"firebaseLocalStorageDb\");\n\n d.onsuccess = function () {\n b();\n };\n\n d.onerror = function (e) {\n c(Error(e.target.error));\n };\n });\n }\n\n function tk(a) {\n return new D(function (b, c) {\n var d = a.m.open(\"firebaseLocalStorageDb\", 1);\n\n d.onerror = function (e) {\n try {\n e.preventDefault();\n } catch (f) {}\n\n c(Error(e.target.error));\n };\n\n d.onupgradeneeded = function (e) {\n e = e.target.result;\n\n try {\n e.createObjectStore(\"firebaseLocalStorage\", {\n keyPath: \"fbase_key\"\n });\n } catch (f) {\n c(f);\n }\n };\n\n d.onsuccess = function (e) {\n e = e.target.result;\n e.objectStoreNames.contains(\"firebaseLocalStorage\") ? b(e) : sk(a).then(function () {\n return tk(a);\n }).then(function (f) {\n b(f);\n }).o(function (f) {\n c(f);\n });\n };\n });\n }\n\n function uk(a) {\n a.i || (a.i = tk(a));\n return a.i;\n }\n\n function vk(a, b) {\n function c(e, f) {\n uk(a).then(b).then(e).o(function (g) {\n if (3 < ++d) f(g);else return uk(a).then(function (h) {\n h.close();\n a.i = void 0;\n return c(e, f);\n }).o(function (h) {\n f(h);\n });\n });\n }\n\n var d = 0;\n return new D(c);\n }\n\n function pk() {\n try {\n return !!l.indexedDB;\n } catch (a) {\n return !1;\n }\n }\n\n function wk(a) {\n return a.objectStore(\"firebaseLocalStorage\");\n }\n\n function xk(a, b) {\n return a.transaction([\"firebaseLocalStorage\"], b ? \"readwrite\" : \"readonly\");\n }\n\n function yk(a) {\n return new D(function (b, c) {\n a.onsuccess = function (d) {\n d && d.target ? b(d.target.result) : b();\n };\n\n a.onerror = function (d) {\n c(d.target.error);\n };\n });\n }\n\n k = ok.prototype;\n\n k.set = function (a, b) {\n var c = this,\n d = !1;\n return vk(this, function (e) {\n e = wk(xk(e, !0));\n return yk(e.get(a));\n }).then(function (e) {\n return vk(c, function (f) {\n f = wk(xk(f, !0));\n if (e) return e.value = b, yk(f.put(e));\n c.b++;\n d = !0;\n var g = {};\n g.fbase_key = a;\n g.value = b;\n return yk(f.add(g));\n });\n }).then(function () {\n c.c[a] = b;\n return zk(c, a);\n }).oa(function () {\n d && c.b--;\n });\n };\n\n function zk(a, b) {\n return a.g && a.h && df() === a.h ? mk(a.g, \"keyChanged\", {\n key: b\n }, a.s).then(function () {}).o(function () {}) : E();\n }\n\n k.get = function (a) {\n return vk(this, function (b) {\n return yk(wk(xk(b, !1)).get(a));\n }).then(function (b) {\n return b && b.value;\n });\n };\n\n k.U = function (a) {\n var b = this,\n c = !1;\n return vk(this, function (d) {\n c = !0;\n b.b++;\n return yk(wk(xk(d, !0))[\"delete\"](a));\n }).then(function () {\n delete b.c[a];\n return zk(b, a);\n }).oa(function () {\n c && b.b--;\n });\n };\n\n function qk(a) {\n return uk(a).then(function (b) {\n var c = wk(xk(b, !1));\n return c.getAll ? yk(c.getAll()) : new D(function (d, e) {\n var f = [],\n g = c.openCursor();\n\n g.onsuccess = function (h) {\n (h = h.target.result) ? (f.push(h.value), h[\"continue\"]()) : d(f);\n };\n\n g.onerror = function (h) {\n e(h.target.error);\n };\n });\n }).then(function (b) {\n var c = {},\n d = [];\n\n if (0 == a.b) {\n for (d = 0; d < b.length; d++) {\n c[b[d].fbase_key] = b[d].value;\n }\n\n d = te(a.c, c);\n a.c = c;\n }\n\n return d;\n });\n }\n\n k.ca = function (a) {\n 0 == this.a.length && Ak(this);\n this.a.push(a);\n };\n\n k.ia = function (a) {\n Xa(this.a, function (b) {\n return b == a;\n });\n 0 == this.a.length && Bk(this);\n };\n\n function Ak(a) {\n function b() {\n a.f = setTimeout(function () {\n a.l = qk(a).then(function (c) {\n 0 < c.length && w(a.a, function (d) {\n d(c);\n });\n }).then(function () {\n b();\n }).o(function (c) {\n \"STOP_EVENT\" != c.message && b();\n });\n }, 800);\n }\n\n Bk(a);\n b();\n }\n\n function Bk(a) {\n a.l && a.l.cancel(\"STOP_EVENT\");\n a.f && (clearTimeout(a.f), a.f = null);\n }\n\n ;\n\n function Ck(a) {\n var b = this,\n c = null;\n this.a = [];\n this.type = \"indexedDB\";\n this.c = a;\n this.b = E().then(function () {\n if (pk()) {\n var d = Qe(),\n e = \"__sak\" + d;\n rk || (rk = new ok());\n c = rk;\n return c.set(e, d).then(function () {\n return c.get(e);\n }).then(function (f) {\n if (f !== d) throw Error(\"indexedDB not supported!\");\n return c.U(e);\n }).then(function () {\n return c;\n }).o(function () {\n return b.c;\n });\n }\n\n return b.c;\n }).then(function (d) {\n b.type = d.type;\n d.ca(function (e) {\n w(b.a, function (f) {\n f(e);\n });\n });\n return d;\n });\n }\n\n k = Ck.prototype;\n\n k.get = function (a) {\n return this.b.then(function (b) {\n return b.get(a);\n });\n };\n\n k.set = function (a, b) {\n return this.b.then(function (c) {\n return c.set(a, b);\n });\n };\n\n k.U = function (a) {\n return this.b.then(function (b) {\n return b.U(a);\n });\n };\n\n k.ca = function (a) {\n this.a.push(a);\n };\n\n k.ia = function (a) {\n Xa(this.a, function (b) {\n return b == a;\n });\n };\n\n function Dk() {\n this.a = {};\n this.type = \"inMemory\";\n }\n\n k = Dk.prototype;\n\n k.get = function (a) {\n return E(this.a[a]);\n };\n\n k.set = function (a, b) {\n this.a[a] = b;\n return E();\n };\n\n k.U = function (a) {\n delete this.a[a];\n return E();\n };\n\n k.ca = function () {};\n\n k.ia = function () {};\n\n function Ek() {\n if (!Fk()) {\n if (\"Node\" == Ke()) throw new t(\"internal-error\", \"The LocalStorage compatibility library was not found.\");\n throw new t(\"web-storage-unsupported\");\n }\n\n this.a = Gk() || firebase.INTERNAL.node.localStorage;\n this.type = \"localStorage\";\n }\n\n function Gk() {\n try {\n var a = l.localStorage,\n b = Qe();\n a && (a.setItem(b, \"1\"), a.removeItem(b));\n return a;\n } catch (c) {\n return null;\n }\n }\n\n function Fk() {\n var a = \"Node\" == Ke();\n a = Gk() || a && firebase.INTERNAL.node && firebase.INTERNAL.node.localStorage;\n if (!a) return !1;\n\n try {\n return a.setItem(\"__sak\", \"1\"), a.removeItem(\"__sak\"), !0;\n } catch (b) {\n return !1;\n }\n }\n\n k = Ek.prototype;\n\n k.get = function (a) {\n var b = this;\n return E().then(function () {\n var c = b.a.getItem(a);\n return We(c);\n });\n };\n\n k.set = function (a, b) {\n var c = this;\n return E().then(function () {\n var d = Ue(b);\n null === d ? c.U(a) : c.a.setItem(a, d);\n });\n };\n\n k.U = function (a) {\n var b = this;\n return E().then(function () {\n b.a.removeItem(a);\n });\n };\n\n k.ca = function (a) {\n l.window && nd(l.window, \"storage\", a);\n };\n\n k.ia = function (a) {\n l.window && xd(l.window, \"storage\", a);\n };\n\n function Hk() {\n this.type = \"nullStorage\";\n }\n\n k = Hk.prototype;\n\n k.get = function () {\n return E(null);\n };\n\n k.set = function () {\n return E();\n };\n\n k.U = function () {\n return E();\n };\n\n k.ca = function () {};\n\n k.ia = function () {};\n\n function Ik() {\n if (!Jk()) {\n if (\"Node\" == Ke()) throw new t(\"internal-error\", \"The SessionStorage compatibility library was not found.\");\n throw new t(\"web-storage-unsupported\");\n }\n\n this.a = Kk() || firebase.INTERNAL.node.sessionStorage;\n this.type = \"sessionStorage\";\n }\n\n function Kk() {\n try {\n var a = l.sessionStorage,\n b = Qe();\n a && (a.setItem(b, \"1\"), a.removeItem(b));\n return a;\n } catch (c) {\n return null;\n }\n }\n\n function Jk() {\n var a = \"Node\" == Ke();\n a = Kk() || a && firebase.INTERNAL.node && firebase.INTERNAL.node.sessionStorage;\n if (!a) return !1;\n\n try {\n return a.setItem(\"__sak\", \"1\"), a.removeItem(\"__sak\"), !0;\n } catch (b) {\n return !1;\n }\n }\n\n k = Ik.prototype;\n\n k.get = function (a) {\n var b = this;\n return E().then(function () {\n var c = b.a.getItem(a);\n return We(c);\n });\n };\n\n k.set = function (a, b) {\n var c = this;\n return E().then(function () {\n var d = Ue(b);\n null === d ? c.U(a) : c.a.setItem(a, d);\n });\n };\n\n k.U = function (a) {\n var b = this;\n return E().then(function () {\n b.a.removeItem(a);\n });\n };\n\n k.ca = function () {};\n\n k.ia = function () {};\n\n function Lk() {\n var a = {};\n a.Browser = Mk;\n a.Node = Nk;\n a.ReactNative = Ok;\n a.Worker = Pk;\n this.a = a[Ke()];\n }\n\n var Qk,\n Mk = {\n F: Ek,\n cb: Ik\n },\n Nk = {\n F: Ek,\n cb: Ik\n },\n Ok = {\n F: fk,\n cb: Hk\n },\n Pk = {\n F: Ek,\n cb: Hk\n };\n var Rk = {\n rd: \"local\",\n NONE: \"none\",\n td: \"session\"\n };\n\n function Sk(a) {\n var b = new t(\"invalid-persistence-type\"),\n c = new t(\"unsupported-persistence-type\");\n\n a: {\n for (d in Rk) {\n if (Rk[d] == a) {\n var d = !0;\n break a;\n }\n }\n\n d = !1;\n }\n\n if (!d || \"string\" !== typeof a) throw b;\n\n switch (Ke()) {\n case \"ReactNative\":\n if (\"session\" === a) throw c;\n break;\n\n case \"Node\":\n if (\"none\" !== a) throw c;\n break;\n\n case \"Worker\":\n if (\"session\" === a || !pk() && \"none\" !== a) throw c;\n break;\n\n default:\n if (!Pe() && \"none\" !== a) throw c;\n }\n }\n\n function Tk() {\n var a = !Xe(K()) && Ie() ? !0 : !1,\n b = Te(),\n c = Pe();\n this.m = a;\n this.h = b;\n this.l = c;\n this.a = {};\n Qk || (Qk = new Lk());\n a = Qk;\n\n try {\n this.g = !qe() && cf() || !l.indexedDB ? new a.a.F() : new Ck(Je() ? new Dk() : new a.a.F());\n } catch (d) {\n this.g = new Dk(), this.h = !0;\n }\n\n try {\n this.i = new a.a.cb();\n } catch (d) {\n this.i = new Dk();\n }\n\n this.v = new Dk();\n this.f = q(this.Zb, this);\n this.b = {};\n }\n\n var Uk;\n\n function Vk() {\n Uk || (Uk = new Tk());\n return Uk;\n }\n\n function Wk(a, b) {\n switch (b) {\n case \"session\":\n return a.i;\n\n case \"none\":\n return a.v;\n\n default:\n return a.g;\n }\n }\n\n function Xk(a, b) {\n return \"firebase:\" + a.name + (b ? \":\" + b : \"\");\n }\n\n function Yk(a, b, c) {\n var d = Xk(b, c),\n e = Wk(a, b.F);\n return a.get(b, c).then(function (f) {\n var g = null;\n\n try {\n g = We(l.localStorage.getItem(d));\n } catch (h) {}\n\n if (g && !f) return l.localStorage.removeItem(d), a.set(b, g, c);\n g && f && \"localStorage\" != e.type && l.localStorage.removeItem(d);\n });\n }\n\n k = Tk.prototype;\n\n k.get = function (a, b) {\n return Wk(this, a.F).get(Xk(a, b));\n };\n\n function Zk(a, b, c) {\n c = Xk(b, c);\n \"local\" == b.F && (a.b[c] = null);\n return Wk(a, b.F).U(c);\n }\n\n k.set = function (a, b, c) {\n var d = Xk(a, c),\n e = this,\n f = Wk(this, a.F);\n return f.set(d, b).then(function () {\n return f.get(d);\n }).then(function (g) {\n \"local\" == a.F && (e.b[d] = g);\n });\n };\n\n k.addListener = function (a, b, c) {\n a = Xk(a, b);\n this.l && (this.b[a] = l.localStorage.getItem(a));\n mb(this.a) && (Wk(this, \"local\").ca(this.f), this.h || (qe() || !cf()) && l.indexedDB || !this.l || $k(this));\n this.a[a] || (this.a[a] = []);\n this.a[a].push(c);\n };\n\n k.removeListener = function (a, b, c) {\n a = Xk(a, b);\n this.a[a] && (Xa(this.a[a], function (d) {\n return d == c;\n }), 0 == this.a[a].length && delete this.a[a]);\n mb(this.a) && (Wk(this, \"local\").ia(this.f), al(this));\n };\n\n function $k(a) {\n al(a);\n a.c = setInterval(function () {\n for (var b in a.a) {\n var c = l.localStorage.getItem(b),\n d = a.b[b];\n c != d && (a.b[b] = c, c = new bd({\n type: \"storage\",\n key: b,\n target: window,\n oldValue: d,\n newValue: c,\n a: !0\n }), a.Zb(c));\n }\n }, 1E3);\n }\n\n function al(a) {\n a.c && (clearInterval(a.c), a.c = null);\n }\n\n k.Zb = function (a) {\n if (a && a.g) {\n var b = a.a.key;\n if (null == b) for (var c in this.a) {\n var d = this.b[c];\n \"undefined\" === typeof d && (d = null);\n var e = l.localStorage.getItem(c);\n e !== d && (this.b[c] = e, this.nb(c));\n } else if (0 == b.indexOf(\"firebase:\") && this.a[b]) {\n \"undefined\" !== typeof a.a.a ? Wk(this, \"local\").ia(this.f) : al(this);\n if (this.m) if (c = l.localStorage.getItem(b), d = a.a.newValue, d !== c) null !== d ? l.localStorage.setItem(b, d) : l.localStorage.removeItem(b);else if (this.b[b] === d && \"undefined\" === typeof a.a.a) return;\n var f = this;\n\n c = function c() {\n if (\"undefined\" !== typeof a.a.a || f.b[b] !== l.localStorage.getItem(b)) f.b[b] = l.localStorage.getItem(b), f.nb(b);\n };\n\n Wb && ic && 10 == ic && l.localStorage.getItem(b) !== a.a.newValue && a.a.newValue !== a.a.oldValue ? setTimeout(c, 10) : c();\n }\n } else w(a, q(this.nb, this));\n };\n\n k.nb = function (a) {\n this.a[a] && w(this.a[a], function (b) {\n b();\n });\n };\n\n function bl(a) {\n this.a = a;\n this.b = Vk();\n }\n\n var cl = {\n name: \"authEvent\",\n F: \"local\"\n };\n\n function dl(a) {\n return a.b.get(cl, a.a).then(function (b) {\n return th(b);\n });\n }\n\n ;\n\n function el() {\n this.a = Vk();\n }\n\n ;\n\n function fl() {\n this.b = -1;\n }\n\n ;\n\n function gl(a, b) {\n this.b = hl;\n this.f = l.Uint8Array ? new Uint8Array(this.b) : Array(this.b);\n this.g = this.c = 0;\n this.a = [];\n this.i = a;\n this.h = b;\n this.l = l.Int32Array ? new Int32Array(64) : Array(64);\n void 0 === il && (l.Int32Array ? il = new Int32Array(jl) : il = jl);\n this.reset();\n }\n\n var il;\n r(gl, fl);\n\n for (var hl = 64, kl = hl - 1, ll = [], ml = 0; ml < kl; ml++) {\n ll[ml] = 0;\n }\n\n var nl = Ya(128, ll);\n\n gl.prototype.reset = function () {\n this.g = this.c = 0;\n this.a = l.Int32Array ? new Int32Array(this.h) : Za(this.h);\n };\n\n function ol(a) {\n for (var b = a.f, c = a.l, d = 0, e = 0; e < b.length;) {\n c[d++] = b[e] << 24 | b[e + 1] << 16 | b[e + 2] << 8 | b[e + 3], e = 4 * d;\n }\n\n for (b = 16; 64 > b; b++) {\n e = c[b - 15] | 0;\n d = c[b - 2] | 0;\n var f = (c[b - 16] | 0) + ((e >>> 7 | e << 25) ^ (e >>> 18 | e << 14) ^ e >>> 3) | 0,\n g = (c[b - 7] | 0) + ((d >>> 17 | d << 15) ^ (d >>> 19 | d << 13) ^ d >>> 10) | 0;\n c[b] = f + g | 0;\n }\n\n d = a.a[0] | 0;\n e = a.a[1] | 0;\n var h = a.a[2] | 0,\n m = a.a[3] | 0,\n p = a.a[4] | 0,\n v = a.a[5] | 0,\n B = a.a[6] | 0;\n f = a.a[7] | 0;\n\n for (b = 0; 64 > b; b++) {\n var A = ((d >>> 2 | d << 30) ^ (d >>> 13 | d << 19) ^ (d >>> 22 | d << 10)) + (d & e ^ d & h ^ e & h) | 0;\n g = p & v ^ ~p & B;\n f = f + ((p >>> 6 | p << 26) ^ (p >>> 11 | p << 21) ^ (p >>> 25 | p << 7)) | 0;\n g = g + (il[b] | 0) | 0;\n g = f + (g + (c[b] | 0) | 0) | 0;\n f = B;\n B = v;\n v = p;\n p = m + g | 0;\n m = h;\n h = e;\n e = d;\n d = g + A | 0;\n }\n\n a.a[0] = a.a[0] + d | 0;\n a.a[1] = a.a[1] + e | 0;\n a.a[2] = a.a[2] + h | 0;\n a.a[3] = a.a[3] + m | 0;\n a.a[4] = a.a[4] + p | 0;\n a.a[5] = a.a[5] + v | 0;\n a.a[6] = a.a[6] + B | 0;\n a.a[7] = a.a[7] + f | 0;\n }\n\n function pl(a, b, c) {\n void 0 === c && (c = b.length);\n var d = 0,\n e = a.c;\n if (\"string\" === typeof b) for (; d < c;) {\n a.f[e++] = b.charCodeAt(d++), e == a.b && (ol(a), e = 0);\n } else if (na(b)) for (; d < c;) {\n var f = b[d++];\n if (!(\"number\" == typeof f && 0 <= f && 255 >= f && f == (f | 0))) throw Error(\"message must be a byte array\");\n a.f[e++] = f;\n e == a.b && (ol(a), e = 0);\n } else throw Error(\"message must be string or array\");\n a.c = e;\n a.g += c;\n }\n\n var jl = [1116352408, 1899447441, 3049323471, 3921009573, 961987163, 1508970993, 2453635748, 2870763221, 3624381080, 310598401, 607225278, 1426881987, 1925078388, 2162078206, 2614888103, 3248222580, 3835390401, 4022224774, 264347078, 604807628, 770255983, 1249150122, 1555081692, 1996064986, 2554220882, 2821834349, 2952996808, 3210313671, 3336571891, 3584528711, 113926993, 338241895, 666307205, 773529912, 1294757372, 1396182291, 1695183700, 1986661051, 2177026350, 2456956037, 2730485921, 2820302411, 3259730800, 3345764771, 3516065817, 3600352804, 4094571909, 275423344, 430227734, 506948616, 659060556, 883997877, 958139571, 1322822218, 1537002063, 1747873779, 1955562222, 2024104815, 2227730452, 2361852424, 2428436474, 2756734187, 3204031479, 3329325298];\n\n function ql() {\n gl.call(this, 8, rl);\n }\n\n r(ql, gl);\n var rl = [1779033703, 3144134277, 1013904242, 2773480762, 1359893119, 2600822924, 528734635, 1541459225];\n\n function sl(a, b, c, d, e, f) {\n this.v = a;\n this.i = b;\n this.l = c;\n this.m = d || null;\n this.u = e || null;\n this.s = f;\n this.h = b + \":\" + c;\n this.C = new el();\n this.g = new bl(this.h);\n this.f = null;\n this.b = [];\n this.a = this.c = null;\n }\n\n function tl(a) {\n return new t(\"invalid-cordova-configuration\", a);\n }\n\n k = sl.prototype;\n\n k.ma = function () {\n return this.Ia ? this.Ia : this.Ia = Fe().then(function () {\n if (\"function\" !== typeof L(\"universalLinks.subscribe\", l)) throw tl(\"cordova-universal-links-plugin-fix is not installed\");\n if (\"undefined\" === typeof L(\"BuildInfo.packageName\", l)) throw tl(\"cordova-plugin-buildinfo is not installed\");\n if (\"function\" !== typeof L(\"cordova.plugins.browsertab.openUrl\", l)) throw tl(\"cordova-plugin-browsertab is not installed\");\n if (\"function\" !== typeof L(\"cordova.InAppBrowser.open\", l)) throw tl(\"cordova-plugin-inappbrowser is not installed\");\n }, function () {\n throw new t(\"cordova-not-ready\");\n });\n };\n\n function ul() {\n for (var a = 20, b = []; 0 < a;) {\n b.push(\"1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\".charAt(Math.floor(62 * Math.random()))), a--;\n }\n\n return b.join(\"\");\n }\n\n function vl(a) {\n var b = new ql();\n pl(b, a);\n a = [];\n var c = 8 * b.g;\n 56 > b.c ? pl(b, nl, 56 - b.c) : pl(b, nl, b.b - (b.c - 56));\n\n for (var d = 63; 56 <= d; d--) {\n b.f[d] = c & 255, c /= 256;\n }\n\n ol(b);\n\n for (d = c = 0; d < b.i; d++) {\n for (var e = 24; 0 <= e; e -= 8) {\n a[c++] = b.a[d] >> e & 255;\n }\n }\n\n return cg(a);\n }\n\n k.Pb = function (a, b) {\n b(new t(\"operation-not-supported-in-this-environment\"));\n return E();\n };\n\n k.Nb = function () {\n return F(new t(\"operation-not-supported-in-this-environment\"));\n };\n\n k.ac = function () {\n return !1;\n };\n\n k.Yb = function () {\n return !0;\n };\n\n k.Ub = function () {\n return !0;\n };\n\n k.Ob = function (a, b, c, d) {\n if (this.c) return F(new t(\"redirect-operation-pending\"));\n var e = this,\n f = l.document,\n g = null,\n h = null,\n m = null,\n p = null;\n return this.c = E().then(function () {\n rh(b);\n return wl(e);\n }).then(function () {\n return xl(e, a, b, c, d);\n }).then(function () {\n return new D(function (v, B) {\n h = function h() {\n var A = L(\"cordova.plugins.browsertab.close\", l);\n v();\n \"function\" === typeof A && A();\n e.a && \"function\" === typeof e.a.close && (e.a.close(), e.a = null);\n return !1;\n };\n\n e.Ea(h);\n\n m = function m() {\n g || (g = Fd(2E3).then(function () {\n B(new t(\"redirect-cancelled-by-user\"));\n }));\n };\n\n p = function p() {\n $e() && m();\n };\n\n f.addEventListener(\"resume\", m, !1);\n K().toLowerCase().match(/android/) || f.addEventListener(\"visibilitychange\", p, !1);\n }).o(function (v) {\n return yl(e).then(function () {\n throw v;\n });\n });\n }).oa(function () {\n m && f.removeEventListener(\"resume\", m, !1);\n p && f.removeEventListener(\"visibilitychange\", p, !1);\n g && g.cancel();\n h && e.Ta(h);\n e.c = null;\n });\n };\n\n function xl(a, b, c, d, e) {\n var f = ul(),\n g = new sh(b, d, null, f, new t(\"no-auth-event\"), null, e),\n h = L(\"BuildInfo.packageName\", l);\n if (\"string\" !== typeof h) throw new t(\"invalid-cordova-configuration\");\n var m = L(\"BuildInfo.displayName\", l),\n p = {};\n if (K().toLowerCase().match(/iphone|ipad|ipod/)) p.ibi = h;else if (K().toLowerCase().match(/android/)) p.apn = h;else return F(new t(\"operation-not-supported-in-this-environment\"));\n m && (p.appDisplayName = m);\n f = vl(f);\n p.sessionId = f;\n var v = ek(a.v, a.i, a.l, b, c, null, d, a.m, p, a.u, e, a.s);\n return a.ma().then(function () {\n var B = a.h;\n return a.C.a.set(cl, g.w(), B);\n }).then(function () {\n var B = L(\"cordova.plugins.browsertab.isAvailable\", l);\n if (\"function\" !== typeof B) throw new t(\"invalid-cordova-configuration\");\n var A = null;\n B(function (Q) {\n if (Q) {\n A = L(\"cordova.plugins.browsertab.openUrl\", l);\n if (\"function\" !== typeof A) throw new t(\"invalid-cordova-configuration\");\n A(v);\n } else {\n A = L(\"cordova.InAppBrowser.open\", l);\n if (\"function\" !== typeof A) throw new t(\"invalid-cordova-configuration\");\n Q = K();\n a.a = A(v, Q.match(/(iPad|iPhone|iPod).*OS 7_\\d/i) || Q.match(/(iPad|iPhone|iPod).*OS 8_\\d/i) ? \"_blank\" : \"_system\", \"location=yes\");\n }\n });\n });\n }\n\n function zl(a, b) {\n for (var c = 0; c < a.b.length; c++) {\n try {\n a.b[c](b);\n } catch (d) {}\n }\n }\n\n function wl(a) {\n a.f || (a.f = a.ma().then(function () {\n return new D(function (b) {\n function c(d) {\n b(d);\n a.Ta(c);\n return !1;\n }\n\n a.Ea(c);\n Al(a);\n });\n }));\n return a.f;\n }\n\n function yl(a) {\n var b = null;\n return dl(a.g).then(function (c) {\n b = c;\n c = a.g;\n return Zk(c.b, cl, c.a);\n }).then(function () {\n return b;\n });\n }\n\n function Al(a) {\n function b(g) {\n d = !0;\n e && e.cancel();\n yl(a).then(function (h) {\n var m = c;\n\n if (h && g && g.url) {\n var p = null;\n m = xg(g.url);\n -1 != m.indexOf(\"/__/auth/callback\") && (p = J(m), p = We(be(p, \"firebaseError\") || null), p = (p = \"object\" === _typeof(p) ? Aa(p) : null) ? new sh(h.c, h.b, null, null, p, null, h.T()) : new sh(h.c, h.b, m, h.f, null, null, h.T()));\n m = p || c;\n }\n\n zl(a, m);\n });\n }\n\n var c = new sh(\"unknown\", null, null, null, new t(\"no-auth-event\")),\n d = !1,\n e = Fd(500).then(function () {\n return yl(a).then(function () {\n d || zl(a, c);\n });\n }),\n f = l.handleOpenURL;\n\n l.handleOpenURL = function (g) {\n 0 == g.toLowerCase().indexOf(L(\"BuildInfo.packageName\", l).toLowerCase() + \"://\") && b({\n url: g\n });\n if (\"function\" === typeof f) try {\n f(g);\n } catch (h) {\n console.error(h);\n }\n };\n\n vh || (vh = new uh());\n wh(b);\n }\n\n k.Ea = function (a) {\n this.b.push(a);\n wl(this).o(function (b) {\n \"auth/invalid-cordova-configuration\" === b.code && (b = new sh(\"unknown\", null, null, null, new t(\"no-auth-event\")), a(b));\n });\n };\n\n k.Ta = function (a) {\n Xa(this.b, function (b) {\n return b == a;\n });\n };\n\n function Bl(a) {\n this.a = a;\n this.b = Vk();\n }\n\n var Cl = {\n name: \"pendingRedirect\",\n F: \"session\"\n };\n\n function Dl(a) {\n return a.b.set(Cl, \"pending\", a.a);\n }\n\n function El(a) {\n return Zk(a.b, Cl, a.a);\n }\n\n function Fl(a) {\n return a.b.get(Cl, a.a).then(function (b) {\n return \"pending\" == b;\n });\n }\n\n ;\n\n function Gl(a, b, c, d) {\n this.i = {};\n this.u = 0;\n this.D = a;\n this.v = b;\n this.m = c;\n this.J = d;\n this.h = [];\n this.f = !1;\n this.l = q(this.s, this);\n this.b = new Hl();\n this.C = new Il();\n this.g = new Bl(Jl(this.v, this.m));\n this.c = {};\n this.c.unknown = this.b;\n this.c.signInViaRedirect = this.b;\n this.c.linkViaRedirect = this.b;\n this.c.reauthViaRedirect = this.b;\n this.c.signInViaPopup = this.C;\n this.c.linkViaPopup = this.C;\n this.c.reauthViaPopup = this.C;\n this.a = Kl(this.D, this.v, this.m, Da, this.J);\n }\n\n function Kl(a, b, c, d, e) {\n var f = firebase.SDK_VERSION || null;\n return Ge() ? new sl(a, b, c, f, d, e) : new Yj(a, b, c, f, d, e);\n }\n\n Gl.prototype.reset = function () {\n this.f = !1;\n this.a.Ta(this.l);\n this.a = Kl(this.D, this.v, this.m, null, this.J);\n this.i = {};\n };\n\n function Ll(a) {\n a.f || (a.f = !0, a.a.Ea(a.l));\n var b = a.a;\n return a.a.ma().o(function (c) {\n a.a == b && a.reset();\n throw c;\n });\n }\n\n function Ml(a) {\n a.a.Yb() && Ll(a).o(function (b) {\n var c = new sh(\"unknown\", null, null, null, new t(\"operation-not-supported-in-this-environment\"));\n Nl(b) && a.s(c);\n });\n a.a.Ub() || Ol(a.b);\n }\n\n function Pl(a, b) {\n Va(a.h, b) || a.h.push(b);\n a.f || Fl(a.g).then(function (c) {\n c ? El(a.g).then(function () {\n Ll(a).o(function (d) {\n var e = new sh(\"unknown\", null, null, null, new t(\"operation-not-supported-in-this-environment\"));\n Nl(d) && a.s(e);\n });\n }) : Ml(a);\n }).o(function () {\n Ml(a);\n });\n }\n\n function Ql(a, b) {\n Xa(a.h, function (c) {\n return c == b;\n });\n }\n\n Gl.prototype.s = function (a) {\n if (!a) throw new t(\"invalid-auth-event\");\n 6E5 <= Date.now() - this.u && (this.i = {}, this.u = 0);\n if (a && a.getUid() && this.i.hasOwnProperty(a.getUid())) return !1;\n\n for (var b = !1, c = 0; c < this.h.length; c++) {\n var d = this.h[c];\n\n if (d.Gb(a.c, a.b)) {\n if (b = this.c[a.c]) b.h(a, d), a && (a.f || a.b) && (this.i[a.getUid()] = !0, this.u = Date.now());\n b = !0;\n break;\n }\n }\n\n Ol(this.b);\n return b;\n };\n\n var Rl = new Ze(2E3, 1E4),\n Sl = new Ze(3E4, 6E4);\n\n Gl.prototype.ra = function () {\n return this.b.ra();\n };\n\n function Tl(a, b, c, d, e, f, g) {\n return a.a.Nb(b, c, d, function () {\n a.f || (a.f = !0, a.a.Ea(a.l));\n }, function () {\n a.reset();\n }, e, f, g);\n }\n\n function Nl(a) {\n return a && \"auth/cordova-not-ready\" == a.code ? !0 : !1;\n }\n\n function Ul(a, b, c, d, e) {\n var f;\n return Dl(a.g).then(function () {\n return a.a.Ob(b, c, d, e).o(function (g) {\n if (Nl(g)) throw new t(\"operation-not-supported-in-this-environment\");\n f = g;\n return El(a.g).then(function () {\n throw f;\n });\n }).then(function () {\n return a.a.ac() ? new D(function () {}) : El(a.g).then(function () {\n return a.ra();\n }).then(function () {}).o(function () {});\n });\n });\n }\n\n function Vl(a, b, c, d, e) {\n return a.a.Pb(d, function (f) {\n b.na(c, null, f, e);\n }, Rl.get());\n }\n\n var Wl = {};\n\n function Jl(a, b, c) {\n a = a + \":\" + b;\n c && (a = a + \":\" + c.url);\n return a;\n }\n\n function Xl(a, b, c, d) {\n var e = Jl(b, c, d);\n Wl[e] || (Wl[e] = new Gl(a, b, c, d));\n return Wl[e];\n }\n\n function Hl() {\n this.b = null;\n this.f = [];\n this.c = [];\n this.a = null;\n this.i = this.g = !1;\n }\n\n Hl.prototype.reset = function () {\n this.b = null;\n this.a && (this.a.cancel(), this.a = null);\n };\n\n Hl.prototype.h = function (a, b) {\n if (a) {\n this.reset();\n this.g = !0;\n var c = a.c,\n d = a.b,\n e = a.a && \"auth/web-storage-unsupported\" == a.a.code,\n f = a.a && \"auth/operation-not-supported-in-this-environment\" == a.a.code;\n this.i = !(!e && !f);\n \"unknown\" != c || e || f ? a.a ? (Yl(this, !0, null, a.a), E()) : b.Fa(c, d) ? Zl(this, a, b) : F(new t(\"invalid-auth-event\")) : (Yl(this, !1, null, null), E());\n } else F(new t(\"invalid-auth-event\"));\n };\n\n function Ol(a) {\n a.g || (a.g = !0, Yl(a, !1, null, null));\n }\n\n function $l(a) {\n a.g && !a.i && Yl(a, !1, null, null);\n }\n\n function Zl(a, b, c) {\n c = c.Fa(b.c, b.b);\n var d = b.g,\n e = b.f,\n f = b.i,\n g = b.T(),\n h = !!b.c.match(/Redirect$/);\n c(d, e, g, f).then(function (m) {\n Yl(a, h, m, null);\n }).o(function (m) {\n Yl(a, h, null, m);\n });\n }\n\n function am(a, b) {\n a.b = function () {\n return F(b);\n };\n\n if (a.c.length) for (var c = 0; c < a.c.length; c++) {\n a.c[c](b);\n }\n }\n\n function bm(a, b) {\n a.b = function () {\n return E(b);\n };\n\n if (a.f.length) for (var c = 0; c < a.f.length; c++) {\n a.f[c](b);\n }\n }\n\n function Yl(a, b, c, d) {\n b ? d ? am(a, d) : bm(a, c) : bm(a, {\n user: null\n });\n a.f = [];\n a.c = [];\n }\n\n Hl.prototype.ra = function () {\n var a = this;\n return new D(function (b, c) {\n a.b ? a.b().then(b, c) : (a.f.push(b), a.c.push(c), cm(a));\n });\n };\n\n function cm(a) {\n var b = new t(\"timeout\");\n a.a && a.a.cancel();\n a.a = Fd(Sl.get()).then(function () {\n a.b || (a.g = !0, Yl(a, !0, null, b));\n });\n }\n\n function Il() {}\n\n Il.prototype.h = function (a, b) {\n if (a) {\n var c = a.c,\n d = a.b;\n a.a ? (b.na(a.c, null, a.a, a.b), E()) : b.Fa(c, d) ? dm(a, b) : F(new t(\"invalid-auth-event\"));\n } else F(new t(\"invalid-auth-event\"));\n };\n\n function dm(a, b) {\n var c = a.b,\n d = a.c;\n b.Fa(d, c)(a.g, a.f, a.T(), a.i).then(function (e) {\n b.na(d, e, null, c);\n }).o(function (e) {\n b.na(d, null, e, c);\n });\n }\n\n ;\n\n function em() {\n this.jb = !1;\n Object.defineProperty(this, \"appVerificationDisabled\", {\n get: function get() {\n return this.jb;\n },\n set: function set(a) {\n this.jb = a;\n },\n enumerable: !1\n });\n }\n\n ;\n\n function fm(a, b) {\n this.a = b;\n M(this, \"verificationId\", a);\n }\n\n fm.prototype.confirm = function (a) {\n a = ph(this.verificationId, a);\n return this.a(a);\n };\n\n function gm(a, b, c, d) {\n return new lh(a).gb(b, c).then(function (e) {\n return new fm(e, d);\n });\n }\n\n ;\n\n function hm(a) {\n var b = ig(a);\n if (!(b && b.exp && b.auth_time && b.iat)) throw new t(\"internal-error\", \"An internal error occurred. The token obtained by Firebase appears to be malformed. Please retry the operation.\");\n N(this, {\n token: a,\n expirationTime: bf(1E3 * b.exp),\n authTime: bf(1E3 * b.auth_time),\n issuedAtTime: bf(1E3 * b.iat),\n signInProvider: b.firebase && b.firebase.sign_in_provider ? b.firebase.sign_in_provider : null,\n signInSecondFactor: b.firebase && b.firebase.sign_in_second_factor ? b.firebase.sign_in_second_factor : null,\n claims: b\n });\n }\n\n ;\n\n function im(a, b, c) {\n var d = b && b[jm];\n if (!d) throw new t(\"argument-error\", \"Internal assert: Invalid MultiFactorResolver\");\n this.a = a;\n this.f = nb(b);\n this.g = c;\n this.c = new yg(null, d);\n this.b = [];\n var e = this;\n w(b[km] || [], function (f) {\n (f = tf(f)) && e.b.push(f);\n });\n M(this, \"auth\", this.a);\n M(this, \"session\", this.c);\n M(this, \"hints\", this.b);\n }\n\n var km = \"mfaInfo\",\n jm = \"mfaPendingCredential\";\n\n im.prototype.Rc = function (a) {\n var b = this;\n return a.tb(this.a.a, this.c).then(function (c) {\n var d = nb(b.f);\n delete d[km];\n delete d[jm];\n z(d, c);\n return b.g(d);\n });\n };\n\n function lm(a, b, c, d) {\n t.call(this, \"multi-factor-auth-required\", d, b);\n this.b = new im(a, b, c);\n M(this, \"resolver\", this.b);\n }\n\n r(lm, t);\n\n function mm(a, b, c) {\n if (a && n(a.serverResponse) && \"auth/multi-factor-auth-required\" === a.code) try {\n return new lm(b, a.serverResponse, c, a.message);\n } catch (d) {}\n return null;\n }\n\n ;\n\n function nm() {}\n\n nm.prototype.tb = function (a, b, c) {\n return b.type == zg ? om(this, a, b, c) : pm(this, a, b);\n };\n\n function om(a, b, c, d) {\n return c.Ha().then(function (e) {\n e = {\n idToken: e\n };\n \"undefined\" !== typeof d && (e.displayName = d);\n z(e, {\n phoneVerificationInfo: hh(a.a)\n });\n return O(b, Gj, e);\n });\n }\n\n function pm(a, b, c) {\n return c.Ha().then(function (d) {\n d = {\n mfaPendingCredential: d\n };\n z(d, {\n phoneVerificationInfo: hh(a.a)\n });\n return O(b, Hj, d);\n });\n }\n\n function qm(a) {\n M(this, \"factorId\", a.fa);\n this.a = a;\n }\n\n r(qm, nm);\n\n function rm(a) {\n qm.call(this, a);\n if (this.a.fa != lh.PROVIDER_ID) throw new t(\"argument-error\", \"firebase.auth.PhoneMultiFactorAssertion requires a valid firebase.auth.PhoneAuthCredential\");\n }\n\n r(rm, qm);\n\n function sm(a, b) {\n G.call(this, a);\n\n for (var c in b) {\n this[c] = b[c];\n }\n }\n\n r(sm, G);\n\n function tm(a, b) {\n this.a = a;\n this.b = [];\n this.c = q(this.yc, this);\n nd(this.a, \"userReloaded\", this.c);\n var c = [];\n b && b.multiFactor && b.multiFactor.enrolledFactors && w(b.multiFactor.enrolledFactors, function (d) {\n var e = null,\n f = {};\n\n if (d) {\n d.uid && (f[qf] = d.uid);\n d.displayName && (f[rf] = d.displayName);\n d.enrollmentTime && (f[sf] = new Date(d.enrollmentTime).toISOString());\n d.phoneNumber && (f[pf] = d.phoneNumber);\n\n try {\n e = new uf(f);\n } catch (g) {}\n\n d = e;\n } else d = null;\n\n d && c.push(d);\n });\n um(this, c);\n }\n\n function vm(a) {\n var b = [];\n w(a.mfaInfo || [], function (c) {\n (c = tf(c)) && b.push(c);\n });\n return b;\n }\n\n k = tm.prototype;\n\n k.yc = function (a) {\n um(this, vm(a.hd));\n };\n\n function um(a, b) {\n a.b = b;\n M(a, \"enrolledFactors\", b);\n }\n\n k.Sb = function () {\n return this.a.I().then(function (a) {\n return new yg(a, null);\n });\n };\n\n k.fc = function (a, b) {\n var c = this,\n d = this.a.a;\n return this.Sb().then(function (e) {\n return a.tb(d, e, b);\n }).then(function (e) {\n wm(c.a, e);\n return c.a.reload();\n });\n };\n\n k.bd = function (a) {\n var b = this,\n c = \"string\" === typeof a ? a : a.uid,\n d = this.a.a;\n return this.a.I().then(function (e) {\n return O(d, Lj, {\n idToken: e,\n mfaEnrollmentId: c\n });\n }).then(function (e) {\n var f = Qa(b.b, function (g) {\n return g.uid != c;\n });\n um(b, f);\n wm(b.a, e);\n return b.a.reload().o(function (g) {\n if (\"auth/user-token-expired\" != g.code) throw g;\n });\n });\n };\n\n k.w = function () {\n return {\n multiFactor: {\n enrolledFactors: Ra(this.b, function (a) {\n return a.w();\n })\n }\n };\n };\n\n function xm(a, b, c) {\n this.h = a;\n this.i = b;\n this.g = c;\n this.c = 3E4;\n this.f = 96E4;\n this.b = null;\n this.a = this.c;\n if (this.f < this.c) throw Error(\"Proactive refresh lower bound greater than upper bound!\");\n }\n\n xm.prototype.start = function () {\n this.a = this.c;\n ym(this, !0);\n };\n\n function zm(a, b) {\n if (b) return a.a = a.c, a.g();\n b = a.a;\n a.a *= 2;\n a.a > a.f && (a.a = a.f);\n return b;\n }\n\n function ym(a, b) {\n a.stop();\n a.b = Fd(zm(a, b)).then(function () {\n return af();\n }).then(function () {\n return a.h();\n }).then(function () {\n ym(a, !0);\n }).o(function (c) {\n a.i(c) && ym(a, !1);\n });\n }\n\n xm.prototype.stop = function () {\n this.b && (this.b.cancel(), this.b = null);\n };\n\n function Am(a) {\n this.f = a;\n this.b = this.a = null;\n this.c = Date.now();\n }\n\n Am.prototype.w = function () {\n return {\n apiKey: this.f.c,\n refreshToken: this.a,\n accessToken: this.b && this.b.toString(),\n expirationTime: this.c\n };\n };\n\n function Bm(a, b) {\n \"undefined\" === typeof b && (a.b ? (b = a.b, b = b.a - b.g) : b = 0);\n a.c = Date.now() + 1E3 * b;\n }\n\n function Cm(a, b) {\n a.b = jg(b[Dg] || \"\");\n a.a = b.refreshToken;\n b = b.expiresIn;\n Bm(a, \"undefined\" !== typeof b ? Number(b) : void 0);\n }\n\n function Dm(a, b) {\n a.b = b.b;\n a.a = b.a;\n a.c = b.c;\n }\n\n function Em(a, b) {\n return Wi(a.f, b).then(function (c) {\n a.b = jg(c.access_token);\n a.a = c.refresh_token;\n Bm(a, c.expires_in);\n return {\n accessToken: a.b.toString(),\n refreshToken: a.a\n };\n }).o(function (c) {\n \"auth/user-token-expired\" == c.code && (a.a = null);\n throw c;\n });\n }\n\n Am.prototype.getToken = function (a) {\n a = !!a;\n return this.b && !this.a ? F(new t(\"user-token-expired\")) : a || !this.b || Date.now() > this.c - 3E4 ? this.a ? Em(this, {\n grant_type: \"refresh_token\",\n refresh_token: this.a\n }) : E(null) : E({\n accessToken: this.b.toString(),\n refreshToken: this.a\n });\n };\n\n function Fm(a, b) {\n this.a = a || null;\n this.b = b || null;\n N(this, {\n lastSignInTime: bf(b || null),\n creationTime: bf(a || null)\n });\n }\n\n function Gm(a) {\n return new Fm(a.a, a.b);\n }\n\n Fm.prototype.w = function () {\n return {\n lastLoginAt: this.b,\n createdAt: this.a\n };\n };\n\n function Hm(a, b, c, d, e, f) {\n N(this, {\n uid: a,\n displayName: d || null,\n photoURL: e || null,\n email: c || null,\n phoneNumber: f || null,\n providerId: b\n });\n }\n\n function Im(a, b, c) {\n this.N = [];\n this.l = a.apiKey;\n this.m = a.appName;\n this.s = a.authDomain || null;\n var d = firebase.SDK_VERSION ? Oe(firebase.SDK_VERSION) : null;\n this.a = new Ii(this.l, Ca(Da), d);\n (this.u = a.emulatorConfig || null) && Pi(this.a, this.u);\n this.h = new Am(this.a);\n Jm(this, b[Dg]);\n Cm(this.h, b);\n M(this, \"refreshToken\", this.h.a);\n Km(this, c || {});\n H.call(this);\n this.P = !1;\n this.s && Re() && (this.b = Xl(this.s, this.l, this.m, this.u));\n this.W = [];\n this.i = null;\n this.D = Lm(this);\n this.ba = q(this.ib, this);\n var e = this;\n this.za = null;\n\n this.Pa = function (f) {\n e.xa(f.h);\n };\n\n this.qa = null;\n\n this.Ba = function (f) {\n Mm(e, f.c);\n };\n\n this.$ = null;\n this.aa = [];\n\n this.Oa = function (f) {\n Nm(e, f.f);\n };\n\n this.ja = null;\n this.S = new tm(this, c);\n M(this, \"multiFactor\", this.S);\n }\n\n r(Im, H);\n\n Im.prototype.xa = function (a) {\n this.za = a;\n Oi(this.a, a);\n };\n\n function Mm(a, b) {\n a.u = b;\n Pi(a.a, b);\n a.b && (b = a.b, a.b = Xl(a.s, a.l, a.m, a.u), a.P && (Ql(b, a), Pl(a.b, a)));\n }\n\n Im.prototype.la = function () {\n return this.za;\n };\n\n function Om(a, b) {\n a.qa && xd(a.qa, \"languageCodeChanged\", a.Pa);\n (a.qa = b) && nd(b, \"languageCodeChanged\", a.Pa);\n }\n\n function Pm(a, b) {\n a.$ && xd(a.$, \"emulatorConfigChanged\", a.Ba);\n (a.$ = b) && nd(b, \"emulatorConfigChanged\", a.Ba);\n }\n\n function Nm(a, b) {\n a.aa = b;\n Ri(a.a, firebase.SDK_VERSION ? Oe(firebase.SDK_VERSION, a.aa) : null);\n }\n\n Im.prototype.Ga = function () {\n return Za(this.aa);\n };\n\n function Qm(a, b) {\n a.ja && xd(a.ja, \"frameworkChanged\", a.Oa);\n (a.ja = b) && nd(b, \"frameworkChanged\", a.Oa);\n }\n\n Im.prototype.ib = function () {\n this.D.b && (this.D.stop(), this.D.start());\n };\n\n function Rm(a) {\n try {\n return firebase.app(a.m).auth();\n } catch (b) {\n throw new t(\"internal-error\", \"No firebase.auth.Auth instance is available for the Firebase App '\" + a.m + \"'!\");\n }\n }\n\n function Lm(a) {\n return new xm(function () {\n return a.I(!0);\n }, function (b) {\n return b && \"auth/network-request-failed\" == b.code ? !0 : !1;\n }, function () {\n var b = a.h.c - Date.now() - 3E5;\n return 0 < b ? b : 0;\n });\n }\n\n function Sm(a) {\n a.J || a.D.b || (a.D.start(), xd(a, \"tokenChanged\", a.ba), nd(a, \"tokenChanged\", a.ba));\n }\n\n function Tm(a) {\n xd(a, \"tokenChanged\", a.ba);\n a.D.stop();\n }\n\n function Jm(a, b) {\n a.Aa = b;\n M(a, \"_lat\", b);\n }\n\n function Um(a, b) {\n Xa(a.W, function (c) {\n return c == b;\n });\n }\n\n function Vm(a) {\n for (var b = [], c = 0; c < a.W.length; c++) {\n b.push(a.W[c](a));\n }\n\n return Jc(b).then(function () {\n return a;\n });\n }\n\n function Wm(a) {\n a.b && !a.P && (a.P = !0, Pl(a.b, a));\n }\n\n function Km(a, b) {\n N(a, {\n uid: b.uid,\n displayName: b.displayName || null,\n photoURL: b.photoURL || null,\n email: b.email || null,\n emailVerified: b.emailVerified || !1,\n phoneNumber: b.phoneNumber || null,\n isAnonymous: b.isAnonymous || !1,\n tenantId: b.tenantId || null,\n metadata: new Fm(b.createdAt, b.lastLoginAt),\n providerData: []\n });\n a.a.b = a.tenantId;\n }\n\n M(Im.prototype, \"providerId\", \"firebase\");\n\n function Xm() {}\n\n function Ym(a) {\n return E().then(function () {\n if (a.J) throw new t(\"app-deleted\");\n });\n }\n\n function Zm(a) {\n return Ra(a.providerData, function (b) {\n return b.providerId;\n });\n }\n\n function $m(a, b) {\n b && (an(a, b.providerId), a.providerData.push(b));\n }\n\n function an(a, b) {\n Xa(a.providerData, function (c) {\n return c.providerId == b;\n });\n }\n\n function bn(a, b, c) {\n (\"uid\" != b || c) && a.hasOwnProperty(b) && M(a, b, c);\n }\n\n function cn(a, b) {\n a != b && (N(a, {\n uid: b.uid,\n displayName: b.displayName,\n photoURL: b.photoURL,\n email: b.email,\n emailVerified: b.emailVerified,\n phoneNumber: b.phoneNumber,\n isAnonymous: b.isAnonymous,\n tenantId: b.tenantId,\n providerData: []\n }), b.metadata ? M(a, \"metadata\", Gm(b.metadata)) : M(a, \"metadata\", new Fm()), w(b.providerData, function (c) {\n $m(a, c);\n }), Dm(a.h, b.h), M(a, \"refreshToken\", a.h.a), um(a.S, b.S.b));\n }\n\n k = Im.prototype;\n\n k.reload = function () {\n var a = this;\n return R(this, Ym(this).then(function () {\n return dn(a).then(function () {\n return Vm(a);\n }).then(Xm);\n }));\n };\n\n function dn(a) {\n return a.I().then(function (b) {\n var c = a.isAnonymous;\n return en(a, b).then(function () {\n c || bn(a, \"isAnonymous\", !1);\n return b;\n });\n });\n }\n\n k.oc = function (a) {\n return this.I(a).then(function (b) {\n return new hm(b);\n });\n };\n\n k.I = function (a) {\n var b = this;\n return R(this, Ym(this).then(function () {\n return b.h.getToken(a);\n }).then(function (c) {\n if (!c) throw new t(\"internal-error\");\n c.accessToken != b.Aa && (Jm(b, c.accessToken), b.dispatchEvent(new sm(\"tokenChanged\")));\n bn(b, \"refreshToken\", c.refreshToken);\n return c.accessToken;\n }));\n };\n\n function wm(a, b) {\n b[Dg] && a.Aa != b[Dg] && (Cm(a.h, b), a.dispatchEvent(new sm(\"tokenChanged\")), Jm(a, b[Dg]), bn(a, \"refreshToken\", a.h.a));\n }\n\n function en(a, b) {\n return O(a.a, Ij, {\n idToken: b\n }).then(q(a.Kc, a));\n }\n\n k.Kc = function (a) {\n a = a.users;\n if (!a || !a.length) throw new t(\"internal-error\");\n a = a[0];\n Km(this, {\n uid: a.localId,\n displayName: a.displayName,\n photoURL: a.photoUrl,\n email: a.email,\n emailVerified: !!a.emailVerified,\n phoneNumber: a.phoneNumber,\n lastLoginAt: a.lastLoginAt,\n createdAt: a.createdAt,\n tenantId: a.tenantId\n });\n\n for (var b = fn(a), c = 0; c < b.length; c++) {\n $m(this, b[c]);\n }\n\n bn(this, \"isAnonymous\", !(this.email && a.passwordHash) && !(this.providerData && this.providerData.length));\n this.dispatchEvent(new sm(\"userReloaded\", {\n hd: a\n }));\n };\n\n function fn(a) {\n return (a = a.providerUserInfo) && a.length ? Ra(a, function (b) {\n return new Hm(b.rawId, b.providerId, b.email, b.displayName, b.photoUrl, b.phoneNumber);\n }) : [];\n }\n\n k.Lc = function (a) {\n gf(\"firebase.User.prototype.reauthenticateAndRetrieveDataWithCredential is deprecated. Please use firebase.User.prototype.reauthenticateWithCredential instead.\");\n return this.ub(a);\n };\n\n k.ub = function (a) {\n var b = this,\n c = null;\n return R(this, a.c(this.a, this.uid).then(function (d) {\n wm(b, d);\n c = gn(b, d, \"reauthenticate\");\n b.i = null;\n return b.reload();\n }).then(function () {\n return c;\n }), !0);\n };\n\n function hn(a, b) {\n return dn(a).then(function () {\n if (Va(Zm(a), b)) return Vm(a).then(function () {\n throw new t(\"provider-already-linked\");\n });\n });\n }\n\n k.Cc = function (a) {\n gf(\"firebase.User.prototype.linkAndRetrieveDataWithCredential is deprecated. Please use firebase.User.prototype.linkWithCredential instead.\");\n return this.rb(a);\n };\n\n k.rb = function (a) {\n var b = this,\n c = null;\n return R(this, hn(this, a.providerId).then(function () {\n return b.I();\n }).then(function (d) {\n return a.b(b.a, d);\n }).then(function (d) {\n c = gn(b, d, \"link\");\n return jn(b, d);\n }).then(function () {\n return c;\n }));\n };\n\n k.Dc = function (a, b) {\n var c = this;\n return R(this, hn(this, \"phone\").then(function () {\n return gm(Rm(c), a, b, q(c.rb, c));\n }));\n };\n\n k.Mc = function (a, b) {\n var c = this;\n return R(this, E().then(function () {\n return gm(Rm(c), a, b, q(c.ub, c));\n }), !0);\n };\n\n function gn(a, b, c) {\n var d = qh(b);\n b = og(b);\n return kf({\n user: a,\n credential: d,\n additionalUserInfo: b,\n operationType: c\n });\n }\n\n function jn(a, b) {\n wm(a, b);\n return a.reload().then(function () {\n return a;\n });\n }\n\n k.Cb = function (a) {\n var b = this;\n return R(this, this.I().then(function (c) {\n return b.a.Cb(c, a);\n }).then(function (c) {\n wm(b, c);\n return b.reload();\n }));\n };\n\n k.ed = function (a) {\n var b = this;\n return R(this, this.I().then(function (c) {\n return a.b(b.a, c);\n }).then(function (c) {\n wm(b, c);\n return b.reload();\n }));\n };\n\n k.Db = function (a) {\n var b = this;\n return R(this, this.I().then(function (c) {\n return b.a.Db(c, a);\n }).then(function (c) {\n wm(b, c);\n return b.reload();\n }));\n };\n\n k.Eb = function (a) {\n if (void 0 === a.displayName && void 0 === a.photoURL) return Ym(this);\n var b = this;\n return R(this, this.I().then(function (c) {\n return b.a.Eb(c, {\n displayName: a.displayName,\n photoUrl: a.photoURL\n });\n }).then(function (c) {\n wm(b, c);\n bn(b, \"displayName\", c.displayName || null);\n bn(b, \"photoURL\", c.photoUrl || null);\n w(b.providerData, function (d) {\n \"password\" === d.providerId && (M(d, \"displayName\", b.displayName), M(d, \"photoURL\", b.photoURL));\n });\n return Vm(b);\n }).then(Xm));\n };\n\n k.cd = function (a) {\n var b = this;\n return R(this, dn(this).then(function (c) {\n return Va(Zm(b), a) ? rj(b.a, c, [a]).then(function (d) {\n var e = {};\n w(d.providerUserInfo || [], function (f) {\n e[f.providerId] = !0;\n });\n w(Zm(b), function (f) {\n e[f] || an(b, f);\n });\n e[lh.PROVIDER_ID] || M(b, \"phoneNumber\", null);\n return Vm(b);\n }) : Vm(b).then(function () {\n throw new t(\"no-such-provider\");\n });\n }));\n };\n\n k[\"delete\"] = function () {\n var a = this;\n return R(this, this.I().then(function (b) {\n return O(a.a, Fj, {\n idToken: b\n });\n }).then(function () {\n a.dispatchEvent(new sm(\"userDeleted\"));\n })).then(function () {\n for (var b = 0; b < a.N.length; b++) {\n a.N[b].cancel(\"app-deleted\");\n }\n\n Om(a, null);\n Pm(a, null);\n Qm(a, null);\n a.N = [];\n a.J = !0;\n Tm(a);\n M(a, \"refreshToken\", null);\n a.b && Ql(a.b, a);\n });\n };\n\n k.Gb = function (a, b) {\n return \"linkViaPopup\" == a && (this.g || null) == b && this.f || \"reauthViaPopup\" == a && (this.g || null) == b && this.f || \"linkViaRedirect\" == a && (this.ga || null) == b || \"reauthViaRedirect\" == a && (this.ga || null) == b ? !0 : !1;\n };\n\n k.na = function (a, b, c, d) {\n \"linkViaPopup\" != a && \"reauthViaPopup\" != a || d != (this.g || null) || (c && this.C ? this.C(c) : b && !c && this.f && this.f(b), this.c && (this.c.cancel(), this.c = null), delete this.f, delete this.C);\n };\n\n k.Fa = function (a, b) {\n return \"linkViaPopup\" == a && b == (this.g || null) ? q(this.Lb, this) : \"reauthViaPopup\" == a && b == (this.g || null) ? q(this.Mb, this) : \"linkViaRedirect\" == a && (this.ga || null) == b ? q(this.Lb, this) : \"reauthViaRedirect\" == a && (this.ga || null) == b ? q(this.Mb, this) : null;\n };\n\n k.Ec = function (a) {\n var b = this;\n return kn(this, \"linkViaPopup\", a, function () {\n return hn(b, a.providerId).then(function () {\n return Vm(b);\n });\n }, !1);\n };\n\n k.Nc = function (a) {\n return kn(this, \"reauthViaPopup\", a, function () {\n return E();\n }, !0);\n };\n\n function kn(a, b, c, d, e) {\n if (!Re()) return F(new t(\"operation-not-supported-in-this-environment\"));\n if (a.i && !e) return F(a.i);\n var f = ng(c.providerId),\n g = Qe(a.uid + \":::\"),\n h = null;\n (!Te() || Ie()) && a.s && c.isOAuthProvider && (h = ek(a.s, a.l, a.m, b, c, null, g, firebase.SDK_VERSION || null, null, null, a.tenantId, a.u));\n var m = ze(h, f && f.va, f && f.ua);\n d = d().then(function () {\n ln(a);\n if (!e) return a.I().then(function () {});\n }).then(function () {\n return Tl(a.b, m, b, c, g, !!h, a.tenantId);\n }).then(function () {\n return new D(function (p, v) {\n a.na(b, null, new t(\"cancelled-popup-request\"), a.g || null);\n a.f = p;\n a.C = v;\n a.g = g;\n a.c = Vl(a.b, a, b, m, g);\n });\n }).then(function (p) {\n m && ye(m);\n return p ? kf(p) : null;\n }).o(function (p) {\n m && ye(m);\n throw p;\n });\n return R(a, d, e);\n }\n\n k.Fc = function (a) {\n var b = this;\n return mn(this, \"linkViaRedirect\", a, function () {\n return hn(b, a.providerId);\n }, !1);\n };\n\n k.Oc = function (a) {\n return mn(this, \"reauthViaRedirect\", a, function () {\n return E();\n }, !0);\n };\n\n function mn(a, b, c, d, e) {\n if (!Re()) return F(new t(\"operation-not-supported-in-this-environment\"));\n if (a.i && !e) return F(a.i);\n var f = null,\n g = Qe(a.uid + \":::\");\n d = d().then(function () {\n ln(a);\n if (!e) return a.I().then(function () {});\n }).then(function () {\n a.ga = g;\n return Vm(a);\n }).then(function (h) {\n a.ha && (h = a.ha, h = h.b.set(nn, a.w(), h.a));\n return h;\n }).then(function () {\n return Ul(a.b, b, c, g, a.tenantId);\n }).o(function (h) {\n f = h;\n if (a.ha) return on(a.ha);\n throw f;\n }).then(function () {\n if (f) throw f;\n });\n return R(a, d, e);\n }\n\n function ln(a) {\n if (!a.b || !a.P) {\n if (a.b && !a.P) throw new t(\"internal-error\");\n throw new t(\"auth-domain-config-required\");\n }\n }\n\n k.Lb = function (a, b, c, d) {\n var e = this;\n this.c && (this.c.cancel(), this.c = null);\n var f = null;\n c = this.I().then(function (g) {\n return Hg(e.a, {\n requestUri: a,\n postBody: d,\n sessionId: b,\n idToken: g\n });\n }).then(function (g) {\n f = gn(e, g, \"link\");\n return jn(e, g);\n }).then(function () {\n return f;\n });\n return R(this, c);\n };\n\n k.Mb = function (a, b, c, d) {\n var e = this;\n this.c && (this.c.cancel(), this.c = null);\n var f = null,\n g = E().then(function () {\n return Cg(Ig(e.a, {\n requestUri: a,\n sessionId: b,\n postBody: d,\n tenantId: c\n }), e.uid);\n }).then(function (h) {\n f = gn(e, h, \"reauthenticate\");\n wm(e, h);\n e.i = null;\n return e.reload();\n }).then(function () {\n return f;\n });\n return R(this, g, !0);\n };\n\n k.vb = function (a) {\n var b = this,\n c = null;\n return R(this, this.I().then(function (d) {\n c = d;\n return \"undefined\" === typeof a || mb(a) ? {} : bg(new Sf(a));\n }).then(function (d) {\n return b.a.vb(c, d);\n }).then(function (d) {\n if (b.email != d) return b.reload();\n }).then(function () {}));\n };\n\n k.Fb = function (a, b) {\n var c = this,\n d = null;\n return R(this, this.I().then(function (e) {\n d = e;\n return \"undefined\" === typeof b || mb(b) ? {} : bg(new Sf(b));\n }).then(function (e) {\n return c.a.Fb(d, a, e);\n }).then(function (e) {\n if (c.email != e) return c.reload();\n }).then(function () {}));\n };\n\n function R(a, b, c) {\n var d = pn(a, b, c);\n a.N.push(d);\n d.oa(function () {\n Wa(a.N, d);\n });\n return d.o(function (e) {\n var f = null;\n e && \"auth/multi-factor-auth-required\" === e.code && (f = mm(e.w(), Rm(a), q(a.jc, a)));\n throw f || e;\n });\n }\n\n k.jc = function (a) {\n var b = null,\n c = this;\n a = Cg(E(a), c.uid).then(function (d) {\n b = gn(c, d, \"reauthenticate\");\n wm(c, d);\n c.i = null;\n return c.reload();\n }).then(function () {\n return b;\n });\n return R(this, a, !0);\n };\n\n function pn(a, b, c) {\n return a.i && !c ? (b.cancel(), F(a.i)) : b.o(function (d) {\n !d || \"auth/user-disabled\" != d.code && \"auth/user-token-expired\" != d.code || (a.i || a.dispatchEvent(new sm(\"userInvalidated\")), a.i = d);\n throw d;\n });\n }\n\n k.toJSON = function () {\n return this.w();\n };\n\n k.w = function () {\n var a = {\n uid: this.uid,\n displayName: this.displayName,\n photoURL: this.photoURL,\n email: this.email,\n emailVerified: this.emailVerified,\n phoneNumber: this.phoneNumber,\n isAnonymous: this.isAnonymous,\n tenantId: this.tenantId,\n providerData: [],\n apiKey: this.l,\n appName: this.m,\n authDomain: this.s,\n stsTokenManager: this.h.w(),\n redirectEventId: this.ga || null\n };\n this.metadata && z(a, this.metadata.w());\n w(this.providerData, function (b) {\n a.providerData.push(lf(b));\n });\n z(a, this.S.w());\n return a;\n };\n\n function qn(a) {\n if (!a.apiKey) return null;\n var b = {\n apiKey: a.apiKey,\n authDomain: a.authDomain,\n appName: a.appName,\n emulatorConfig: a.emulatorConfig\n },\n c = {};\n\n if (a.stsTokenManager && a.stsTokenManager.accessToken) {\n c[Dg] = a.stsTokenManager.accessToken;\n c.refreshToken = a.stsTokenManager.refreshToken || null;\n var d = a.stsTokenManager.expirationTime;\n d && (c.expiresIn = (d - Date.now()) / 1E3);\n } else return null;\n\n var e = new Im(b, c, a);\n a.providerData && w(a.providerData, function (f) {\n f && $m(e, kf(f));\n });\n a.redirectEventId && (e.ga = a.redirectEventId);\n return e;\n }\n\n function rn(a, b, c, d) {\n var e = new Im(a, b);\n c && (e.ha = c);\n d && Nm(e, d);\n return e.reload().then(function () {\n return e;\n });\n }\n\n function sn(a, b, c, d) {\n var e = a.h,\n f = {};\n f[Dg] = e.b && e.b.toString();\n f.refreshToken = e.a;\n b = new Im(b || {\n apiKey: a.l,\n authDomain: a.s,\n appName: a.m\n }, f);\n c && (b.ha = c);\n d && Nm(b, d);\n cn(b, a);\n return b;\n }\n\n ;\n\n function tn(a) {\n this.a = a;\n this.b = Vk();\n }\n\n var nn = {\n name: \"redirectUser\",\n F: \"session\"\n };\n\n function on(a) {\n return Zk(a.b, nn, a.a);\n }\n\n function un(a, b) {\n return a.b.get(nn, a.a).then(function (c) {\n c && b && (c.authDomain = b);\n return qn(c || {});\n });\n }\n\n ;\n\n function vn(a) {\n this.a = a;\n this.b = Vk();\n this.c = null;\n this.f = wn(this);\n this.b.addListener(xn(\"local\"), this.a, q(this.g, this));\n }\n\n vn.prototype.g = function () {\n var a = this,\n b = xn(\"local\");\n yn(this, function () {\n return E().then(function () {\n return a.c && \"local\" != a.c.F ? a.b.get(b, a.a) : null;\n }).then(function (c) {\n if (c) return zn(a, \"local\").then(function () {\n a.c = b;\n });\n });\n });\n };\n\n function zn(a, b) {\n var c = [],\n d;\n\n for (d in Rk) {\n Rk[d] !== b && c.push(Zk(a.b, xn(Rk[d]), a.a));\n }\n\n c.push(Zk(a.b, An, a.a));\n return Ic(c);\n }\n\n function wn(a) {\n var b = xn(\"local\"),\n c = xn(\"session\"),\n d = xn(\"none\");\n return Yk(a.b, b, a.a).then(function () {\n return a.b.get(c, a.a);\n }).then(function (e) {\n return e ? c : a.b.get(d, a.a).then(function (f) {\n return f ? d : a.b.get(b, a.a).then(function (g) {\n return g ? b : a.b.get(An, a.a).then(function (h) {\n return h ? xn(h) : b;\n });\n });\n });\n }).then(function (e) {\n a.c = e;\n return zn(a, e.F);\n }).o(function () {\n a.c || (a.c = b);\n });\n }\n\n var An = {\n name: \"persistence\",\n F: \"session\"\n };\n\n function xn(a) {\n return {\n name: \"authUser\",\n F: a\n };\n }\n\n vn.prototype.yb = function (a) {\n var b = null,\n c = this;\n Sk(a);\n return yn(this, function () {\n return a != c.c.F ? c.b.get(c.c, c.a).then(function (d) {\n b = d;\n return zn(c, a);\n }).then(function () {\n c.c = xn(a);\n if (b) return c.b.set(c.c, b, c.a);\n }) : E();\n });\n };\n\n function Bn(a) {\n return yn(a, function () {\n return a.b.set(An, a.c.F, a.a);\n });\n }\n\n function Cn(a, b) {\n return yn(a, function () {\n return a.b.set(a.c, b.w(), a.a);\n });\n }\n\n function Dn(a) {\n return yn(a, function () {\n return Zk(a.b, a.c, a.a);\n });\n }\n\n function En(a, b, c) {\n return yn(a, function () {\n return a.b.get(a.c, a.a).then(function (d) {\n d && b && (d.authDomain = b);\n d && c && (d.emulatorConfig = c);\n return qn(d || {});\n });\n });\n }\n\n function yn(a, b) {\n a.f = a.f.then(b, b);\n return a.f;\n }\n\n ;\n\n function Fn(a) {\n this.l = !1;\n M(this, \"settings\", new em());\n M(this, \"app\", a);\n if (S(this).options && S(this).options.apiKey) a = firebase.SDK_VERSION ? Oe(firebase.SDK_VERSION) : null, this.a = new Ii(S(this).options && S(this).options.apiKey, Ca(Da), a);else throw new t(\"invalid-api-key\");\n this.P = [];\n this.s = [];\n this.N = [];\n this.Pa = firebase.INTERNAL.createSubscribe(q(this.zc, this));\n this.W = void 0;\n this.ib = firebase.INTERNAL.createSubscribe(q(this.Ac, this));\n Gn(this, null);\n this.i = new vn(S(this).options.apiKey + \":\" + S(this).name);\n this.D = new tn(S(this).options.apiKey + \":\" + S(this).name);\n this.$ = T(this, Hn(this));\n this.h = T(this, In(this));\n this.ba = !1;\n this.ja = q(this.Zc, this);\n this.Ba = q(this.da, this);\n this.qa = q(this.mc, this);\n this.za = q(this.wc, this);\n this.Aa = q(this.xc, this);\n this.b = null;\n Jn(this);\n this.INTERNAL = {};\n this.INTERNAL[\"delete\"] = q(this[\"delete\"], this);\n this.INTERNAL.logFramework = q(this.Gc, this);\n this.u = 0;\n H.call(this);\n Kn(this);\n this.J = [];\n this.R = null;\n }\n\n r(Fn, H);\n\n function Ln(a) {\n G.call(this, \"languageCodeChanged\");\n this.h = a;\n }\n\n r(Ln, G);\n\n function Mn(a) {\n G.call(this, \"emulatorConfigChanged\");\n this.c = a;\n }\n\n r(Mn, G);\n\n function Nn(a) {\n G.call(this, \"frameworkChanged\");\n this.f = a;\n }\n\n r(Nn, G);\n k = Fn.prototype;\n\n k.yb = function (a) {\n a = this.i.yb(a);\n return T(this, a);\n };\n\n k.xa = function (a) {\n this.aa === a || this.l || (this.aa = a, Oi(this.a, this.aa), this.dispatchEvent(new Ln(this.la())));\n };\n\n k.la = function () {\n return this.aa;\n };\n\n k.fd = function () {\n var a = l.navigator;\n this.xa(a ? a.languages && a.languages[0] || a.language || a.userLanguage || null : null);\n };\n\n k.gd = function (a, b) {\n if (!this.R) {\n if (!/^https?:\\/\\//.test(a)) throw new t(\"argument-error\", \"Emulator URL must start with a valid scheme (http:// or https://).\");\n b = b ? !!b.disableWarnings : !1;\n On(b);\n this.R = {\n url: a,\n ec: b\n };\n this.settings.jb = !0;\n Pi(this.a, this.R);\n this.dispatchEvent(new Mn(this.R));\n }\n };\n\n function On(a) {\n \"undefined\" !== typeof console && \"function\" === typeof console.info && console.info(\"WARNING: You are using the Auth Emulator, which is intended for local testing only. Do not use with production credentials.\");\n l.document && !a && Ee().then(function () {\n var b = l.document.createElement(\"div\");\n b.innerText = \"Running in emulator mode. Do not use with production credentials.\";\n b.style.position = \"fixed\";\n b.style.width = \"100%\";\n b.style.backgroundColor = \"#ffffff\";\n b.style.border = \".1em solid #000000\";\n b.style.color = \"#b50000\";\n b.style.bottom = \"0px\";\n b.style.left = \"0px\";\n b.style.margin = \"0px\";\n b.style.zIndex = 1E4;\n b.style.textAlign = \"center\";\n b.classList.add(\"firebase-emulator-warning\");\n l.document.body.appendChild(b);\n });\n }\n\n k.Gc = function (a) {\n this.J.push(a);\n Ri(this.a, firebase.SDK_VERSION ? Oe(firebase.SDK_VERSION, this.J) : null);\n this.dispatchEvent(new Nn(this.J));\n };\n\n k.Ga = function () {\n return Za(this.J);\n };\n\n k.zb = function (a) {\n this.S === a || this.l || (this.S = a, this.a.b = this.S);\n };\n\n k.T = function () {\n return this.S;\n };\n\n function Kn(a) {\n Object.defineProperty(a, \"lc\", {\n get: function get() {\n return this.la();\n },\n set: function set(b) {\n this.xa(b);\n },\n enumerable: !1\n });\n a.aa = null;\n Object.defineProperty(a, \"ti\", {\n get: function get() {\n return this.T();\n },\n set: function set(b) {\n this.zb(b);\n },\n enumerable: !1\n });\n a.S = null;\n Object.defineProperty(a, \"emulatorConfig\", {\n get: function get() {\n if (this.R) {\n var b = J(this.R.url);\n b = kf({\n protocol: b.c,\n host: b.a,\n port: b.g,\n options: kf({\n disableWarnings: this.R.ec\n })\n });\n } else b = null;\n\n return b;\n },\n enumerable: !1\n });\n }\n\n k.toJSON = function () {\n return {\n apiKey: S(this).options.apiKey,\n authDomain: S(this).options.authDomain,\n appName: S(this).name,\n currentUser: U(this) && U(this).w()\n };\n };\n\n function Pn(a) {\n return a.Oa || F(new t(\"auth-domain-config-required\"));\n }\n\n function Jn(a) {\n var b = S(a).options.authDomain,\n c = S(a).options.apiKey;\n b && Re() && (a.Oa = a.$.then(function () {\n if (!a.l) {\n a.b = Xl(b, c, S(a).name, a.R);\n Pl(a.b, a);\n U(a) && Wm(U(a));\n\n if (a.m) {\n Wm(a.m);\n var d = a.m;\n d.xa(a.la());\n Om(d, a);\n d = a.m;\n Nm(d, a.J);\n Qm(d, a);\n d = a.m;\n Mm(d, a.R);\n Pm(d, a);\n a.m = null;\n }\n\n return a.b;\n }\n }));\n }\n\n k.Gb = function (a, b) {\n switch (a) {\n case \"unknown\":\n case \"signInViaRedirect\":\n return !0;\n\n case \"signInViaPopup\":\n return this.g == b && !!this.f;\n\n default:\n return !1;\n }\n };\n\n k.na = function (a, b, c, d) {\n \"signInViaPopup\" == a && this.g == d && (c && this.C ? this.C(c) : b && !c && this.f && this.f(b), this.c && (this.c.cancel(), this.c = null), delete this.f, delete this.C);\n };\n\n k.Fa = function (a, b) {\n return \"signInViaRedirect\" == a || \"signInViaPopup\" == a && this.g == b && this.f ? q(this.ic, this) : null;\n };\n\n k.ic = function (a, b, c, d) {\n var e = this,\n f = {\n requestUri: a,\n postBody: d,\n sessionId: b,\n tenantId: c\n };\n this.c && (this.c.cancel(), this.c = null);\n return e.$.then(function () {\n return Qn(e, Fg(e.a, f));\n });\n };\n\n k.Xc = function (a) {\n if (!Re()) return F(new t(\"operation-not-supported-in-this-environment\"));\n var b = this,\n c = ng(a.providerId),\n d = Qe(),\n e = null;\n (!Te() || Ie()) && S(this).options.authDomain && a.isOAuthProvider && (e = ek(S(this).options.authDomain, S(this).options.apiKey, S(this).name, \"signInViaPopup\", a, null, d, firebase.SDK_VERSION || null, null, null, this.T(), this.R));\n var f = ze(e, c && c.va, c && c.ua);\n c = Pn(this).then(function (g) {\n return Tl(g, f, \"signInViaPopup\", a, d, !!e, b.T());\n }).then(function () {\n return new D(function (g, h) {\n b.na(\"signInViaPopup\", null, new t(\"cancelled-popup-request\"), b.g);\n b.f = g;\n b.C = h;\n b.g = d;\n b.c = Vl(b.b, b, \"signInViaPopup\", f, d);\n });\n }).then(function (g) {\n f && ye(f);\n return g ? kf(g) : null;\n }).o(function (g) {\n f && ye(f);\n throw g;\n });\n return T(this, c);\n };\n\n k.Yc = function (a) {\n if (!Re()) return F(new t(\"operation-not-supported-in-this-environment\"));\n var b = this,\n c = Pn(this).then(function () {\n return Bn(b.i);\n }).then(function () {\n return Ul(b.b, \"signInViaRedirect\", a, void 0, b.T());\n });\n return T(this, c);\n };\n\n function Rn(a) {\n if (!Re()) return F(new t(\"operation-not-supported-in-this-environment\"));\n var b = Pn(a).then(function () {\n return a.b.ra();\n }).then(function (c) {\n return c ? kf(c) : null;\n });\n return T(a, b);\n }\n\n k.ra = function () {\n var a = this;\n return Rn(this).then(function (b) {\n a.b && $l(a.b.b);\n return b;\n }).o(function (b) {\n a.b && $l(a.b.b);\n throw b;\n });\n };\n\n k.dd = function (a) {\n if (!a) return F(new t(\"null-user\"));\n if (this.S != a.tenantId) return F(new t(\"tenant-id-mismatch\"));\n var b = this,\n c = {};\n c.apiKey = S(this).options.apiKey;\n c.authDomain = S(this).options.authDomain;\n c.appName = S(this).name;\n var d = sn(a, c, b.D, b.Ga());\n return T(this, this.h.then(function () {\n if (S(b).options.apiKey != a.l) return d.reload();\n }).then(function () {\n if (U(b) && a.uid == U(b).uid) return cn(U(b), a), b.da(a);\n Gn(b, d);\n Wm(d);\n return b.da(d);\n }).then(function () {\n Sn(b);\n }));\n };\n\n function Tn(a, b) {\n var c = {};\n c.apiKey = S(a).options.apiKey;\n c.authDomain = S(a).options.authDomain;\n c.appName = S(a).name;\n a.R && (c.emulatorConfig = a.R);\n return a.$.then(function () {\n return rn(c, b, a.D, a.Ga());\n }).then(function (d) {\n if (U(a) && d.uid == U(a).uid) return cn(U(a), d), a.da(d);\n Gn(a, d);\n Wm(d);\n return a.da(d);\n }).then(function () {\n Sn(a);\n });\n }\n\n function Gn(a, b) {\n U(a) && (Um(U(a), a.Ba), xd(U(a), \"tokenChanged\", a.qa), xd(U(a), \"userDeleted\", a.za), xd(U(a), \"userInvalidated\", a.Aa), Tm(U(a)));\n b && (b.W.push(a.Ba), nd(b, \"tokenChanged\", a.qa), nd(b, \"userDeleted\", a.za), nd(b, \"userInvalidated\", a.Aa), 0 < a.u && Sm(b));\n M(a, \"currentUser\", b);\n b && (b.xa(a.la()), Om(b, a), Nm(b, a.J), Qm(b, a), Mm(b, a.R), Pm(b, a));\n }\n\n k.Bb = function () {\n var a = this,\n b = this.h.then(function () {\n a.b && $l(a.b.b);\n if (!U(a)) return E();\n Gn(a, null);\n return Dn(a.i).then(function () {\n Sn(a);\n });\n });\n return T(this, b);\n };\n\n function Un(a) {\n var b = un(a.D, S(a).options.authDomain).then(function (c) {\n if (a.m = c) c.ha = a.D;\n return on(a.D);\n });\n return T(a, b);\n }\n\n function Hn(a) {\n var b = S(a).options.authDomain,\n c = Un(a).then(function () {\n return En(a.i, b, a.R);\n }).then(function (d) {\n return d ? (d.ha = a.D, a.m && (a.m.ga || null) == (d.ga || null) ? d : d.reload().then(function () {\n return Cn(a.i, d).then(function () {\n return d;\n });\n }).o(function (e) {\n return \"auth/network-request-failed\" == e.code ? d : Dn(a.i);\n })) : null;\n }).then(function (d) {\n Gn(a, d || null);\n });\n return T(a, c);\n }\n\n function In(a) {\n return a.$.then(function () {\n return Rn(a);\n }).o(function () {}).then(function () {\n if (!a.l) return a.ja();\n }).o(function () {}).then(function () {\n if (!a.l) {\n a.ba = !0;\n var b = a.i;\n b.b.addListener(xn(\"local\"), b.a, a.ja);\n }\n });\n }\n\n k.Zc = function () {\n var a = this;\n return En(this.i, S(this).options.authDomain).then(function (b) {\n if (!a.l) {\n var c;\n\n if (c = U(a) && b) {\n c = U(a).uid;\n var d = b.uid;\n c = void 0 === c || null === c || \"\" === c || void 0 === d || null === d || \"\" === d ? !1 : c == d;\n }\n\n if (c) return cn(U(a), b), U(a).I();\n if (U(a) || b) Gn(a, b), b && (Wm(b), b.ha = a.D), a.b && Pl(a.b, a), Sn(a);\n }\n });\n };\n\n k.da = function (a) {\n return Cn(this.i, a);\n };\n\n k.mc = function () {\n Sn(this);\n this.da(U(this));\n };\n\n k.wc = function () {\n this.Bb();\n };\n\n k.xc = function () {\n this.Bb();\n };\n\n function Qn(a, b) {\n var c = null,\n d = null;\n return T(a, b.then(function (e) {\n c = qh(e);\n d = og(e);\n return Tn(a, e);\n }, function (e) {\n var f = null;\n e && \"auth/multi-factor-auth-required\" === e.code && (f = mm(e.w(), a, q(a.kc, a)));\n throw f || e;\n }).then(function () {\n return kf({\n user: U(a),\n credential: c,\n additionalUserInfo: d,\n operationType: \"signIn\"\n });\n }));\n }\n\n k.kc = function (a) {\n var b = this;\n return this.h.then(function () {\n return Qn(b, E(a));\n });\n };\n\n k.zc = function (a) {\n var b = this;\n this.addAuthTokenListener(function () {\n a.next(U(b));\n });\n };\n\n k.Ac = function (a) {\n var b = this;\n Vn(this, function () {\n a.next(U(b));\n });\n };\n\n k.Ic = function (a, b, c) {\n var d = this;\n this.ba && Promise.resolve().then(function () {\n \"function\" === typeof a ? a(U(d)) : \"function\" === typeof a.next && a.next(U(d));\n });\n return this.Pa(a, b, c);\n };\n\n k.Hc = function (a, b, c) {\n var d = this;\n this.ba && Promise.resolve().then(function () {\n d.W = d.getUid();\n \"function\" === typeof a ? a(U(d)) : \"function\" === typeof a.next && a.next(U(d));\n });\n return this.ib(a, b, c);\n };\n\n k.nc = function (a) {\n var b = this,\n c = this.h.then(function () {\n return U(b) ? U(b).I(a).then(function (d) {\n return {\n accessToken: d\n };\n }) : null;\n });\n return T(this, c);\n };\n\n k.Tc = function (a) {\n var b = this;\n return this.h.then(function () {\n return Qn(b, O(b.a, Kj, {\n token: a\n }));\n }).then(function (c) {\n var d = c.user;\n bn(d, \"isAnonymous\", !1);\n b.da(d);\n return c;\n });\n };\n\n k.Uc = function (a, b) {\n var c = this;\n return this.h.then(function () {\n return Qn(c, O(c.a, ah, {\n email: a,\n password: b\n }));\n });\n };\n\n k.dc = function (a, b) {\n var c = this;\n return this.h.then(function () {\n return Qn(c, O(c.a, Ej, {\n email: a,\n password: b\n }));\n });\n };\n\n k.ab = function (a) {\n var b = this;\n return this.h.then(function () {\n return Qn(b, a.ka(b.a));\n });\n };\n\n k.Sc = function (a) {\n gf(\"firebase.auth.Auth.prototype.signInAndRetrieveDataWithCredential is deprecated. Please use firebase.auth.Auth.prototype.signInWithCredential instead.\");\n return this.ab(a);\n };\n\n k.Ab = function () {\n var a = this;\n return this.h.then(function () {\n var b = U(a);\n\n if (b && b.isAnonymous) {\n var c = kf({\n providerId: null,\n isNewUser: !1\n });\n return kf({\n user: b,\n credential: null,\n additionalUserInfo: c,\n operationType: \"signIn\"\n });\n }\n\n return Qn(a, a.a.Ab()).then(function (d) {\n var e = d.user;\n bn(e, \"isAnonymous\", !0);\n a.da(e);\n return d;\n });\n });\n };\n\n function S(a) {\n return a.app;\n }\n\n function U(a) {\n return a.currentUser;\n }\n\n k.getUid = function () {\n return U(this) && U(this).uid || null;\n };\n\n function Wn(a) {\n return U(a) && U(a)._lat || null;\n }\n\n function Sn(a) {\n if (a.ba) {\n for (var b = 0; b < a.s.length; b++) {\n if (a.s[b]) a.s[b](Wn(a));\n }\n\n if (a.W !== a.getUid() && a.N.length) for (a.W = a.getUid(), b = 0; b < a.N.length; b++) {\n if (a.N[b]) a.N[b](Wn(a));\n }\n }\n }\n\n k.cc = function (a) {\n this.addAuthTokenListener(a);\n this.u++;\n 0 < this.u && U(this) && Sm(U(this));\n };\n\n k.Pc = function (a) {\n var b = this;\n w(this.s, function (c) {\n c == a && b.u--;\n });\n 0 > this.u && (this.u = 0);\n 0 == this.u && U(this) && Tm(U(this));\n this.removeAuthTokenListener(a);\n };\n\n k.addAuthTokenListener = function (a) {\n var b = this;\n this.s.push(a);\n T(this, this.h.then(function () {\n b.l || Va(b.s, a) && a(Wn(b));\n }));\n };\n\n k.removeAuthTokenListener = function (a) {\n Xa(this.s, function (b) {\n return b == a;\n });\n };\n\n function Vn(a, b) {\n a.N.push(b);\n T(a, a.h.then(function () {\n !a.l && Va(a.N, b) && a.W !== a.getUid() && (a.W = a.getUid(), b(Wn(a)));\n }));\n }\n\n k[\"delete\"] = function () {\n this.l = !0;\n\n for (var a = 0; a < this.P.length; a++) {\n this.P[a].cancel(\"app-deleted\");\n }\n\n this.P = [];\n this.i && (a = this.i, a.b.removeListener(xn(\"local\"), a.a, this.ja));\n this.b && (Ql(this.b, this), $l(this.b.b));\n return Promise.resolve();\n };\n\n function T(a, b) {\n a.P.push(b);\n b.oa(function () {\n Wa(a.P, b);\n });\n return b;\n }\n\n k.hc = function (a) {\n return T(this, aj(this.a, a));\n };\n\n k.Bc = function (a) {\n return !!fh(a);\n };\n\n k.xb = function (a, b) {\n var c = this;\n return T(this, E().then(function () {\n var d = new Sf(b);\n if (!d.c) throw new t(\"argument-error\", $f + \" must be true when sending sign in link to email\");\n return bg(d);\n }).then(function (d) {\n return c.a.xb(a, d);\n }).then(function () {}));\n };\n\n k.jd = function (a) {\n return this.Sa(a).then(function (b) {\n return b.data.email;\n });\n };\n\n k.ob = function (a, b) {\n return T(this, this.a.ob(a, b).then(function () {}));\n };\n\n k.Sa = function (a) {\n return T(this, this.a.Sa(a).then(function (b) {\n return new vf(b);\n }));\n };\n\n k.kb = function (a) {\n return T(this, this.a.kb(a).then(function () {}));\n };\n\n k.wb = function (a, b) {\n var c = this;\n return T(this, E().then(function () {\n return \"undefined\" === typeof b || mb(b) ? {} : bg(new Sf(b));\n }).then(function (d) {\n return c.a.wb(a, d);\n }).then(function () {}));\n };\n\n k.Wc = function (a, b) {\n return T(this, gm(this, a, b, q(this.ab, this)));\n };\n\n k.Vc = function (a, b) {\n var c = this;\n return T(this, E().then(function () {\n var d = b || re(),\n e = eh(a, d);\n d = fh(d);\n if (!d) throw new t(\"argument-error\", \"Invalid email link!\");\n if (d.tenantId !== c.T()) throw new t(\"tenant-id-mismatch\");\n return c.ab(e);\n }));\n };\n\n function Xn() {}\n\n Xn.prototype.render = function () {};\n\n Xn.prototype.reset = function () {};\n\n Xn.prototype.getResponse = function () {};\n\n Xn.prototype.execute = function () {};\n\n function Yn() {\n this.a = {};\n this.b = 1E12;\n }\n\n var Zn = null;\n\n Yn.prototype.render = function (a, b) {\n this.a[this.b.toString()] = new $n(a, b);\n return this.b++;\n };\n\n Yn.prototype.reset = function (a) {\n var b = ao(this, a);\n a = bo(a);\n b && a && (b[\"delete\"](), delete this.a[a]);\n };\n\n Yn.prototype.getResponse = function (a) {\n return (a = ao(this, a)) ? a.getResponse() : null;\n };\n\n Yn.prototype.execute = function (a) {\n (a = ao(this, a)) && a.execute();\n };\n\n function ao(a, b) {\n return (b = bo(b)) ? a.a[b] || null : null;\n }\n\n function bo(a) {\n return (a = \"undefined\" === typeof a ? 1E12 : a) ? a.toString() : null;\n }\n\n function $n(a, b) {\n this.g = !1;\n this.c = b;\n this.a = this.b = null;\n this.h = \"invisible\" !== this.c.size;\n this.f = kc(a);\n var c = this;\n\n this.i = function () {\n c.execute();\n };\n\n this.h ? this.execute() : nd(this.f, \"click\", this.i);\n }\n\n $n.prototype.getResponse = function () {\n co(this);\n return this.b;\n };\n\n $n.prototype.execute = function () {\n co(this);\n var a = this;\n this.a || (this.a = setTimeout(function () {\n a.b = Me();\n var b = a.c.callback,\n c = a.c[\"expired-callback\"];\n if (b) try {\n b(a.b);\n } catch (d) {}\n a.a = setTimeout(function () {\n a.a = null;\n a.b = null;\n if (c) try {\n c();\n } catch (d) {}\n a.h && a.execute();\n }, 6E4);\n }, 500));\n };\n\n $n.prototype[\"delete\"] = function () {\n co(this);\n this.g = !0;\n clearTimeout(this.a);\n this.a = null;\n xd(this.f, \"click\", this.i);\n };\n\n function co(a) {\n if (a.g) throw Error(\"reCAPTCHA mock was already deleted!\");\n }\n\n ;\n\n function eo() {}\n\n M(eo, \"FACTOR_ID\", \"phone\");\n\n function fo() {}\n\n fo.prototype.g = function () {\n Zn || (Zn = new Yn());\n return E(Zn);\n };\n\n fo.prototype.c = function () {};\n\n var go = null;\n\n function ho() {\n this.b = l.grecaptcha ? Infinity : 0;\n this.f = null;\n this.a = \"__rcb\" + Math.floor(1E6 * Math.random()).toString();\n }\n\n var io = new qb(rb, \"https://www.google.com/recaptcha/api.js?onload=%{onload}&render=explicit&hl=%{hl}\"),\n jo = new Ze(3E4, 6E4);\n\n ho.prototype.g = function (a) {\n var b = this;\n return new D(function (c, d) {\n var e = setTimeout(function () {\n d(new t(\"network-request-failed\"));\n }, jo.get());\n\n if (!l.grecaptcha || a !== b.f && !b.b) {\n l[b.a] = function () {\n if (l.grecaptcha) {\n b.f = a;\n var g = l.grecaptcha.render;\n\n l.grecaptcha.render = function (h, m) {\n h = g(h, m);\n b.b++;\n return h;\n };\n\n clearTimeout(e);\n c(l.grecaptcha);\n } else clearTimeout(e), d(new t(\"internal-error\"));\n\n delete l[b.a];\n };\n\n var f = zb(io, {\n onload: b.a,\n hl: a || \"\"\n });\n E(Bi(f)).o(function () {\n clearTimeout(e);\n d(new t(\"internal-error\", \"Unable to load external reCAPTCHA dependencies!\"));\n });\n } else clearTimeout(e), c(l.grecaptcha);\n });\n };\n\n ho.prototype.c = function () {\n this.b--;\n };\n\n var ko = null;\n\n function lo(a, b, c, d, e, f, g) {\n M(this, \"type\", \"recaptcha\");\n this.c = this.f = null;\n this.J = !1;\n this.v = b;\n this.g = null;\n g ? (go || (go = new fo()), g = go) : (ko || (ko = new ho()), g = ko);\n this.m = g;\n this.a = c || {\n theme: \"light\",\n type: \"image\"\n };\n this.h = [];\n if (this.a[mo]) throw new t(\"argument-error\", \"sitekey should not be provided for reCAPTCHA as one is automatically provisioned for the current project.\");\n this.i = \"invisible\" === this.a[no];\n if (!l.document) throw new t(\"operation-not-supported-in-this-environment\", \"RecaptchaVerifier is only supported in a browser HTTP/HTTPS environment with DOM support.\");\n if (!kc(b) || !this.i && kc(b).hasChildNodes()) throw new t(\"argument-error\", \"reCAPTCHA container is either not found or already contains inner elements!\");\n this.s = new Ii(a, f || null, e || null);\n\n this.u = d || function () {\n return null;\n };\n\n var h = this;\n this.l = [];\n var m = this.a[oo];\n\n this.a[oo] = function (v) {\n po(h, v);\n if (\"function\" === typeof m) m(v);else if (\"string\" === typeof m) {\n var B = L(m, l);\n \"function\" === typeof B && B(v);\n }\n };\n\n var p = this.a[qo];\n\n this.a[qo] = function () {\n po(h, null);\n if (\"function\" === typeof p) p();else if (\"string\" === typeof p) {\n var v = L(p, l);\n \"function\" === typeof v && v();\n }\n };\n }\n\n var oo = \"callback\",\n qo = \"expired-callback\",\n mo = \"sitekey\",\n no = \"size\";\n\n function po(a, b) {\n for (var c = 0; c < a.l.length; c++) {\n try {\n a.l[c](b);\n } catch (d) {}\n }\n }\n\n function ro(a, b) {\n Xa(a.l, function (c) {\n return c == b;\n });\n }\n\n function so(a, b) {\n a.h.push(b);\n b.oa(function () {\n Wa(a.h, b);\n });\n return b;\n }\n\n k = lo.prototype;\n\n k.Ia = function () {\n var a = this;\n return this.f ? this.f : this.f = so(this, E().then(function () {\n if (Se() && !Je()) return Ee();\n throw new t(\"operation-not-supported-in-this-environment\", \"RecaptchaVerifier is only supported in a browser HTTP/HTTPS environment.\");\n }).then(function () {\n return a.m.g(a.u());\n }).then(function (b) {\n a.g = b;\n return O(a.s, Jj, {});\n }).then(function (b) {\n a.a[mo] = b.recaptchaSiteKey;\n }).o(function (b) {\n a.f = null;\n throw b;\n }));\n };\n\n k.render = function () {\n to(this);\n var a = this;\n return so(this, this.Ia().then(function () {\n if (null === a.c) {\n var b = a.v;\n\n if (!a.i) {\n var c = kc(b);\n b = nc(\"DIV\");\n c.appendChild(b);\n }\n\n a.c = a.g.render(b, a.a);\n }\n\n return a.c;\n }));\n };\n\n k.verify = function () {\n to(this);\n var a = this;\n return so(this, this.render().then(function (b) {\n return new D(function (c) {\n var d = a.g.getResponse(b);\n if (d) c(d);else {\n var e = function e(f) {\n f && (ro(a, e), c(f));\n };\n\n a.l.push(e);\n a.i && a.g.execute(a.c);\n }\n });\n }));\n };\n\n k.reset = function () {\n to(this);\n null !== this.c && this.g.reset(this.c);\n };\n\n function to(a) {\n if (a.J) throw new t(\"internal-error\", \"RecaptchaVerifier instance has been destroyed.\");\n }\n\n k.clear = function () {\n to(this);\n this.J = !0;\n this.m.c();\n\n for (var a = 0; a < this.h.length; a++) {\n this.h[a].cancel(\"RecaptchaVerifier instance has been destroyed.\");\n }\n\n if (!this.i) {\n a = kc(this.v);\n\n for (var b; b = a.firstChild;) {\n a.removeChild(b);\n }\n }\n };\n\n function uo(a, b, c) {\n var d = !1;\n\n try {\n this.b = c || firebase.app();\n } catch (g) {\n throw new t(\"argument-error\", \"No firebase.app.App instance is currently initialized.\");\n }\n\n if (this.b.options && this.b.options.apiKey) c = this.b.options.apiKey;else throw new t(\"invalid-api-key\");\n var e = this,\n f = null;\n\n try {\n f = this.b.auth().Ga();\n } catch (g) {}\n\n try {\n d = this.b.auth().settings.appVerificationDisabledForTesting;\n } catch (g) {}\n\n f = firebase.SDK_VERSION ? Oe(firebase.SDK_VERSION, f) : null;\n lo.call(this, c, a, b, function () {\n try {\n var g = e.b.auth().la();\n } catch (h) {\n g = null;\n }\n\n return g;\n }, f, Ca(Da), d);\n }\n\n r(uo, lo);\n\n function vo(a, b, c, d) {\n a: {\n c = Array.prototype.slice.call(c);\n var e = 0;\n\n for (var f = !1, g = 0; g < b.length; g++) {\n if (b[g].optional) f = !0;else {\n if (f) throw new t(\"internal-error\", \"Argument validator encountered a required argument after an optional argument.\");\n e++;\n }\n }\n\n f = b.length;\n if (c.length < e || f < c.length) d = \"Expected \" + (e == f ? 1 == e ? \"1 argument\" : e + \" arguments\" : e + \"-\" + f + \" arguments\") + \" but got \" + c.length + \".\";else {\n for (e = 0; e < c.length; e++) {\n if (f = b[e].optional && void 0 === c[e], !b[e].M(c[e]) && !f) {\n b = b[e];\n if (0 > e || e >= wo.length) throw new t(\"internal-error\", \"Argument validator received an unsupported number of arguments.\");\n c = wo[e];\n d = (d ? \"\" : c + \" argument \") + (b.name ? '\"' + b.name + '\" ' : \"\") + \"must be \" + b.K + \".\";\n break a;\n }\n }\n\n d = null;\n }\n }\n\n if (d) throw new t(\"argument-error\", a + \" failed: \" + d);\n }\n\n var wo = \"First Second Third Fourth Fifth Sixth Seventh Eighth Ninth\".split(\" \");\n\n function V(a, b) {\n return {\n name: a || \"\",\n K: \"a valid string\",\n optional: !!b,\n M: function M(c) {\n return \"string\" === typeof c;\n }\n };\n }\n\n function xo(a, b) {\n return {\n name: a || \"\",\n K: \"a boolean\",\n optional: !!b,\n M: function M(c) {\n return \"boolean\" === typeof c;\n }\n };\n }\n\n function W(a, b) {\n return {\n name: a || \"\",\n K: \"a valid object\",\n optional: !!b,\n M: n\n };\n }\n\n function yo(a, b) {\n return {\n name: a || \"\",\n K: \"a function\",\n optional: !!b,\n M: function M(c) {\n return \"function\" === typeof c;\n }\n };\n }\n\n function zo(a, b) {\n return {\n name: a || \"\",\n K: \"null\",\n optional: !!b,\n M: function M(c) {\n return null === c;\n }\n };\n }\n\n function Ao() {\n return {\n name: \"\",\n K: \"an HTML element\",\n optional: !1,\n M: function M(a) {\n return !!(a && a instanceof Element);\n }\n };\n }\n\n function Bo() {\n return {\n name: \"auth\",\n K: \"an instance of Firebase Auth\",\n optional: !0,\n M: function M(a) {\n return !!(a && a instanceof Fn);\n }\n };\n }\n\n function Co() {\n return {\n name: \"app\",\n K: \"an instance of Firebase App\",\n optional: !0,\n M: function M(a) {\n return !!(a && a instanceof firebase.app.App);\n }\n };\n }\n\n function Do(a) {\n return {\n name: a ? a + \"Credential\" : \"credential\",\n K: a ? \"a valid \" + a + \" credential\" : \"a valid credential\",\n optional: !1,\n M: function M(b) {\n if (!b) return !1;\n var c = !a || b.providerId === a;\n return !(!b.ka || !c);\n }\n };\n }\n\n function Eo() {\n return {\n name: \"multiFactorAssertion\",\n K: \"a valid multiFactorAssertion\",\n optional: !1,\n M: function M(a) {\n return a ? !!a.tb : !1;\n }\n };\n }\n\n function Fo() {\n return {\n name: \"authProvider\",\n K: \"a valid Auth provider\",\n optional: !1,\n M: function M(a) {\n return !!(a && a.providerId && a.hasOwnProperty && a.hasOwnProperty(\"isOAuthProvider\"));\n }\n };\n }\n\n function Go(a, b) {\n return n(a) && \"string\" === typeof a.type && a.type === b && \"function\" === typeof a.Ha;\n }\n\n function Ho(a) {\n return n(a) && \"string\" === typeof a.uid;\n }\n\n function Io() {\n return {\n name: \"applicationVerifier\",\n K: \"an implementation of firebase.auth.ApplicationVerifier\",\n optional: !1,\n M: function M(a) {\n return !(!a || \"string\" !== typeof a.type || \"function\" !== typeof a.verify);\n }\n };\n }\n\n function X(a, b, c, d) {\n return {\n name: c || \"\",\n K: a.K + \" or \" + b.K,\n optional: !!d,\n M: function M(e) {\n return a.M(e) || b.M(e);\n }\n };\n }\n\n ;\n\n function Y(a, b) {\n for (var c in b) {\n var d = b[c].name;\n a[d] = Jo(d, a[c], b[c].j);\n }\n }\n\n function Ko(a, b) {\n for (var c in b) {\n var d = b[c].name;\n d !== c && Object.defineProperty(a, d, {\n get: ua(function (e) {\n return this[e];\n }, c),\n set: ua(function (e, f, g, h) {\n vo(e, [g], [h], !0);\n this[f] = h;\n }, d, c, b[c].lb),\n enumerable: !0\n });\n }\n }\n\n function Z(a, b, c, d) {\n a[b] = Jo(b, c, d);\n }\n\n function Jo(a, b, c) {\n function d() {\n var g = Array.prototype.slice.call(arguments);\n vo(e, c, g);\n return b.apply(this, g);\n }\n\n if (!c) return b;\n var e = Lo(a),\n f;\n\n for (f in b) {\n d[f] = b[f];\n }\n\n for (f in b.prototype) {\n d.prototype[f] = b.prototype[f];\n }\n\n return d;\n }\n\n function Lo(a) {\n a = a.split(\".\");\n return a[a.length - 1];\n }\n\n ;\n Y(Fn.prototype, {\n kb: {\n name: \"applyActionCode\",\n j: [V(\"code\")]\n },\n Sa: {\n name: \"checkActionCode\",\n j: [V(\"code\")]\n },\n ob: {\n name: \"confirmPasswordReset\",\n j: [V(\"code\"), V(\"newPassword\")]\n },\n dc: {\n name: \"createUserWithEmailAndPassword\",\n j: [V(\"email\"), V(\"password\")]\n },\n hc: {\n name: \"fetchSignInMethodsForEmail\",\n j: [V(\"email\")]\n },\n ra: {\n name: \"getRedirectResult\",\n j: []\n },\n Bc: {\n name: \"isSignInWithEmailLink\",\n j: [V(\"emailLink\")]\n },\n Hc: {\n name: \"onAuthStateChanged\",\n j: [X(W(), yo(), \"nextOrObserver\"), yo(\"opt_error\", !0), yo(\"opt_completed\", !0)]\n },\n Ic: {\n name: \"onIdTokenChanged\",\n j: [X(W(), yo(), \"nextOrObserver\"), yo(\"opt_error\", !0), yo(\"opt_completed\", !0)]\n },\n wb: {\n name: \"sendPasswordResetEmail\",\n j: [V(\"email\"), X(W(\"opt_actionCodeSettings\", !0), zo(null, !0), \"opt_actionCodeSettings\", !0)]\n },\n xb: {\n name: \"sendSignInLinkToEmail\",\n j: [V(\"email\"), W(\"actionCodeSettings\")]\n },\n yb: {\n name: \"setPersistence\",\n j: [V(\"persistence\")]\n },\n Sc: {\n name: \"signInAndRetrieveDataWithCredential\",\n j: [Do()]\n },\n Ab: {\n name: \"signInAnonymously\",\n j: []\n },\n ab: {\n name: \"signInWithCredential\",\n j: [Do()]\n },\n Tc: {\n name: \"signInWithCustomToken\",\n j: [V(\"token\")]\n },\n Uc: {\n name: \"signInWithEmailAndPassword\",\n j: [V(\"email\"), V(\"password\")]\n },\n Vc: {\n name: \"signInWithEmailLink\",\n j: [V(\"email\"), V(\"emailLink\", !0)]\n },\n Wc: {\n name: \"signInWithPhoneNumber\",\n j: [V(\"phoneNumber\"), Io()]\n },\n Xc: {\n name: \"signInWithPopup\",\n j: [Fo()]\n },\n Yc: {\n name: \"signInWithRedirect\",\n j: [Fo()]\n },\n dd: {\n name: \"updateCurrentUser\",\n j: [X(function (a) {\n return {\n name: \"user\",\n K: \"an instance of Firebase User\",\n optional: !!a,\n M: function M(b) {\n return !!(b && b instanceof Im);\n }\n };\n }(), zo(), \"user\")]\n },\n Bb: {\n name: \"signOut\",\n j: []\n },\n toJSON: {\n name: \"toJSON\",\n j: [V(null, !0)]\n },\n fd: {\n name: \"useDeviceLanguage\",\n j: []\n },\n gd: {\n name: \"useEmulator\",\n j: [V(\"url\"), W(\"options\", !0)]\n },\n jd: {\n name: \"verifyPasswordResetCode\",\n j: [V(\"code\")]\n }\n });\n Ko(Fn.prototype, {\n lc: {\n name: \"languageCode\",\n lb: X(V(), zo(), \"languageCode\")\n },\n ti: {\n name: \"tenantId\",\n lb: X(V(), zo(), \"tenantId\")\n }\n });\n Fn.Persistence = Rk;\n Fn.Persistence.LOCAL = \"local\";\n Fn.Persistence.SESSION = \"session\";\n Fn.Persistence.NONE = \"none\";\n Y(Im.prototype, {\n \"delete\": {\n name: \"delete\",\n j: []\n },\n oc: {\n name: \"getIdTokenResult\",\n j: [xo(\"opt_forceRefresh\", !0)]\n },\n I: {\n name: \"getIdToken\",\n j: [xo(\"opt_forceRefresh\", !0)]\n },\n Cc: {\n name: \"linkAndRetrieveDataWithCredential\",\n j: [Do()]\n },\n rb: {\n name: \"linkWithCredential\",\n j: [Do()]\n },\n Dc: {\n name: \"linkWithPhoneNumber\",\n j: [V(\"phoneNumber\"), Io()]\n },\n Ec: {\n name: \"linkWithPopup\",\n j: [Fo()]\n },\n Fc: {\n name: \"linkWithRedirect\",\n j: [Fo()]\n },\n Lc: {\n name: \"reauthenticateAndRetrieveDataWithCredential\",\n j: [Do()]\n },\n ub: {\n name: \"reauthenticateWithCredential\",\n j: [Do()]\n },\n Mc: {\n name: \"reauthenticateWithPhoneNumber\",\n j: [V(\"phoneNumber\"), Io()]\n },\n Nc: {\n name: \"reauthenticateWithPopup\",\n j: [Fo()]\n },\n Oc: {\n name: \"reauthenticateWithRedirect\",\n j: [Fo()]\n },\n reload: {\n name: \"reload\",\n j: []\n },\n vb: {\n name: \"sendEmailVerification\",\n j: [X(W(\"opt_actionCodeSettings\", !0), zo(null, !0), \"opt_actionCodeSettings\", !0)]\n },\n toJSON: {\n name: \"toJSON\",\n j: [V(null, !0)]\n },\n cd: {\n name: \"unlink\",\n j: [V(\"provider\")]\n },\n Cb: {\n name: \"updateEmail\",\n j: [V(\"email\")]\n },\n Db: {\n name: \"updatePassword\",\n j: [V(\"password\")]\n },\n ed: {\n name: \"updatePhoneNumber\",\n j: [Do(\"phone\")]\n },\n Eb: {\n name: \"updateProfile\",\n j: [W(\"profile\")]\n },\n Fb: {\n name: \"verifyBeforeUpdateEmail\",\n j: [V(\"email\"), X(W(\"opt_actionCodeSettings\", !0), zo(null, !0), \"opt_actionCodeSettings\", !0)]\n }\n });\n Y(Yn.prototype, {\n execute: {\n name: \"execute\"\n },\n render: {\n name: \"render\"\n },\n reset: {\n name: \"reset\"\n },\n getResponse: {\n name: \"getResponse\"\n }\n });\n Y(Xn.prototype, {\n execute: {\n name: \"execute\"\n },\n render: {\n name: \"render\"\n },\n reset: {\n name: \"reset\"\n },\n getResponse: {\n name: \"getResponse\"\n }\n });\n Y(D.prototype, {\n oa: {\n name: \"finally\"\n },\n o: {\n name: \"catch\"\n },\n then: {\n name: \"then\"\n }\n });\n Ko(em.prototype, {\n appVerificationDisabled: {\n name: \"appVerificationDisabledForTesting\",\n lb: xo(\"appVerificationDisabledForTesting\")\n }\n });\n Y(fm.prototype, {\n confirm: {\n name: \"confirm\",\n j: [V(\"verificationCode\")]\n }\n });\n Z(Bg, \"fromJSON\", function (a) {\n a = \"string\" === typeof a ? JSON.parse(a) : a;\n\n for (var b, c = [Mg, dh, kh, Jg], d = 0; d < c.length; d++) {\n if (b = c[d](a)) return b;\n }\n\n return null;\n }, [X(V(), W(), \"json\")]);\n Z(Zg, \"credential\", function (a, b) {\n return new Yg(a, b);\n }, [V(\"email\"), V(\"password\")]);\n Y(Yg.prototype, {\n w: {\n name: \"toJSON\",\n j: [V(null, !0)]\n }\n });\n Y(Qg.prototype, {\n Ca: {\n name: \"addScope\",\n j: [V(\"scope\")]\n },\n Ka: {\n name: \"setCustomParameters\",\n j: [W(\"customOAuthParameters\")]\n }\n });\n Z(Qg, \"credential\", Rg, [X(V(), W(), \"token\")]);\n Z(Zg, \"credentialWithLink\", eh, [V(\"email\"), V(\"emailLink\")]);\n Y(Sg.prototype, {\n Ca: {\n name: \"addScope\",\n j: [V(\"scope\")]\n },\n Ka: {\n name: \"setCustomParameters\",\n j: [W(\"customOAuthParameters\")]\n }\n });\n Z(Sg, \"credential\", Tg, [X(V(), W(), \"token\")]);\n Y(Ug.prototype, {\n Ca: {\n name: \"addScope\",\n j: [V(\"scope\")]\n },\n Ka: {\n name: \"setCustomParameters\",\n j: [W(\"customOAuthParameters\")]\n }\n });\n Z(Ug, \"credential\", Vg, [X(V(), X(W(), zo()), \"idToken\"), X(V(), zo(), \"accessToken\", !0)]);\n Y(Wg.prototype, {\n Ka: {\n name: \"setCustomParameters\",\n j: [W(\"customOAuthParameters\")]\n }\n });\n Z(Wg, \"credential\", Xg, [X(V(), W(), \"token\"), V(\"secret\", !0)]);\n Y(Pg.prototype, {\n Ca: {\n name: \"addScope\",\n j: [V(\"scope\")]\n },\n credential: {\n name: \"credential\",\n j: [X(V(), X(W(), zo()), \"optionsOrIdToken\"), X(V(), zo(), \"accessToken\", !0)]\n },\n Ka: {\n name: \"setCustomParameters\",\n j: [W(\"customOAuthParameters\")]\n }\n });\n Y(Kg.prototype, {\n w: {\n name: \"toJSON\",\n j: [V(null, !0)]\n }\n });\n Y(Eg.prototype, {\n w: {\n name: \"toJSON\",\n j: [V(null, !0)]\n }\n });\n Z(lh, \"credential\", ph, [V(\"verificationId\"), V(\"verificationCode\")]);\n Y(lh.prototype, {\n gb: {\n name: \"verifyPhoneNumber\",\n j: [X(V(), function (a, b) {\n return {\n name: a || \"phoneInfoOptions\",\n K: \"valid phone info options\",\n optional: !!b,\n M: function M(c) {\n return c ? c.session && c.phoneNumber ? Go(c.session, zg) && \"string\" === typeof c.phoneNumber : c.session && c.multiFactorHint ? Go(c.session, Ag) && Ho(c.multiFactorHint) : c.session && c.multiFactorUid ? Go(c.session, Ag) && \"string\" === typeof c.multiFactorUid : c.phoneNumber ? \"string\" === typeof c.phoneNumber : !1 : !1;\n }\n };\n }(), \"phoneInfoOptions\"), Io()]\n }\n });\n Y(gh.prototype, {\n w: {\n name: \"toJSON\",\n j: [V(null, !0)]\n }\n });\n Y(t.prototype, {\n toJSON: {\n name: \"toJSON\",\n j: [V(null, !0)]\n }\n });\n Y(yh.prototype, {\n toJSON: {\n name: \"toJSON\",\n j: [V(null, !0)]\n }\n });\n Y(xh.prototype, {\n toJSON: {\n name: \"toJSON\",\n j: [V(null, !0)]\n }\n });\n Y(lm.prototype, {\n toJSON: {\n name: \"toJSON\",\n j: [V(null, !0)]\n }\n });\n Y(im.prototype, {\n Rc: {\n name: \"resolveSignIn\",\n j: [Eo()]\n }\n });\n Y(tm.prototype, {\n Sb: {\n name: \"getSession\",\n j: []\n },\n fc: {\n name: \"enroll\",\n j: [Eo(), V(\"displayName\", !0)]\n },\n bd: {\n name: \"unenroll\",\n j: [X({\n name: \"multiFactorInfo\",\n K: \"a valid multiFactorInfo\",\n optional: !1,\n M: Ho\n }, V(), \"multiFactorInfoIdentifier\")]\n }\n });\n Y(uo.prototype, {\n clear: {\n name: \"clear\",\n j: []\n },\n render: {\n name: \"render\",\n j: []\n },\n verify: {\n name: \"verify\",\n j: []\n }\n });\n Z(Jf, \"parseLink\", Rf, [V(\"link\")]);\n Z(eo, \"assertion\", function (a) {\n return new rm(a);\n }, [Do(\"phone\")]);\n\n (function () {\n if (\"undefined\" !== typeof firebase && firebase.INTERNAL && firebase.INTERNAL.registerComponent) {\n var a = {\n ActionCodeInfo: {\n Operation: {\n EMAIL_SIGNIN: Af,\n PASSWORD_RESET: \"PASSWORD_RESET\",\n RECOVER_EMAIL: \"RECOVER_EMAIL\",\n REVERT_SECOND_FACTOR_ADDITION: Cf,\n VERIFY_AND_CHANGE_EMAIL: Bf,\n VERIFY_EMAIL: \"VERIFY_EMAIL\"\n }\n },\n Auth: Fn,\n AuthCredential: Bg,\n Error: t\n };\n Z(a, \"EmailAuthProvider\", Zg, []);\n Z(a, \"FacebookAuthProvider\", Qg, []);\n Z(a, \"GithubAuthProvider\", Sg, []);\n Z(a, \"GoogleAuthProvider\", Ug, []);\n Z(a, \"TwitterAuthProvider\", Wg, []);\n Z(a, \"OAuthProvider\", Pg, [V(\"providerId\")]);\n Z(a, \"SAMLAuthProvider\", Og, [V(\"providerId\")]);\n Z(a, \"PhoneAuthProvider\", lh, [Bo()]);\n Z(a, \"RecaptchaVerifier\", uo, [X(V(), Ao(), \"recaptchaContainer\"), W(\"recaptchaParameters\", !0), Co()]);\n Z(a, \"ActionCodeURL\", Jf, []);\n Z(a, \"PhoneMultiFactorGenerator\", eo, []);\n firebase.INTERNAL.registerComponent({\n name: \"auth\",\n instanceFactory: function instanceFactory(b) {\n b = b.getProvider(\"app\").getImmediate();\n return new Fn(b);\n },\n multipleInstances: !1,\n serviceProps: a,\n instantiationMode: \"LAZY\",\n type: \"PUBLIC\",\n onInstanceCreated: function onInstanceCreated(b) {\n b.getProvider(\"auth-internal\").initialize();\n }\n });\n firebase.INTERNAL.registerComponent({\n name: \"auth-internal\",\n instanceFactory: function instanceFactory(b) {\n b = b.getProvider(\"auth\").getImmediate();\n return {\n getUid: q(b.getUid, b),\n getToken: q(b.nc, b),\n addAuthTokenListener: q(b.cc, b),\n removeAuthTokenListener: q(b.Pc, b)\n };\n },\n multipleInstances: !1,\n instantiationMode: \"LAZY\",\n type: \"PRIVATE\"\n });\n firebase.registerVersion(\"@firebase/auth\", \"0.16.8\");\n firebase.INTERNAL.extendNamespace({\n User: Im\n });\n } else throw Error(\"Cannot find the firebase namespace; be sure to include firebase-app.js before this library.\");\n })();\n}).apply(typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : typeof window !== 'undefined' ? window : {});","import { __values, __read, __awaiter, __generator, __spreadArray } from 'tslib';\nimport { Deferred } from '@firebase/util';\n/**\r\n * Component for service name T, e.g. `auth`, `auth-internal`\r\n */\n\nvar Component =\n/** @class */\nfunction () {\n /**\r\n *\r\n * @param name The public service name, e.g. app, auth, firestore, database\r\n * @param instanceFactory Service factory responsible for creating the public interface\r\n * @param type whether the service provided by the component is public or private\r\n */\n function Component(name, instanceFactory, type) {\n this.name = name;\n this.instanceFactory = instanceFactory;\n this.type = type;\n this.multipleInstances = false;\n /**\r\n * Properties to be added to the service namespace\r\n */\n\n this.serviceProps = {};\n this.instantiationMode = \"LAZY\"\n /* LAZY */\n ;\n this.onInstanceCreated = null;\n }\n\n Component.prototype.setInstantiationMode = function (mode) {\n this.instantiationMode = mode;\n return this;\n };\n\n Component.prototype.setMultipleInstances = function (multipleInstances) {\n this.multipleInstances = multipleInstances;\n return this;\n };\n\n Component.prototype.setServiceProps = function (props) {\n this.serviceProps = props;\n return this;\n };\n\n Component.prototype.setInstanceCreatedCallback = function (callback) {\n this.onInstanceCreated = callback;\n return this;\n };\n\n return Component;\n}();\n/**\r\n * @license\r\n * Copyright 2019 Google LLC\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\n\n\nvar DEFAULT_ENTRY_NAME = '[DEFAULT]';\n/**\r\n * @license\r\n * Copyright 2019 Google LLC\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\n\n/**\r\n * Provider for instance for service name T, e.g. 'auth', 'auth-internal'\r\n * NameServiceMapping[T] is an alias for the type of the instance\r\n */\n\nvar Provider =\n/** @class */\nfunction () {\n function Provider(name, container) {\n this.name = name;\n this.container = container;\n this.component = null;\n this.instances = new Map();\n this.instancesDeferred = new Map();\n this.instancesOptions = new Map();\n this.onInitCallbacks = new Map();\n }\n /**\r\n * @param identifier A provider can provide mulitple instances of a service\r\n * if this.component.multipleInstances is true.\r\n */\n\n\n Provider.prototype.get = function (identifier) {\n // if multipleInstances is not supported, use the default name\n var normalizedIdentifier = this.normalizeInstanceIdentifier(identifier);\n\n if (!this.instancesDeferred.has(normalizedIdentifier)) {\n var deferred = new Deferred();\n this.instancesDeferred.set(normalizedIdentifier, deferred);\n\n if (this.isInitialized(normalizedIdentifier) || this.shouldAutoInitialize()) {\n // initialize the service if it can be auto-initialized\n try {\n var instance = this.getOrInitializeService({\n instanceIdentifier: normalizedIdentifier\n });\n\n if (instance) {\n deferred.resolve(instance);\n }\n } catch (e) {// when the instance factory throws an exception during get(), it should not cause\n // a fatal error. We just return the unresolved promise in this case.\n }\n }\n }\n\n return this.instancesDeferred.get(normalizedIdentifier).promise;\n };\n\n Provider.prototype.getImmediate = function (options) {\n var _a; // if multipleInstances is not supported, use the default name\n\n\n var normalizedIdentifier = this.normalizeInstanceIdentifier(options === null || options === void 0 ? void 0 : options.identifier);\n var optional = (_a = options === null || options === void 0 ? void 0 : options.optional) !== null && _a !== void 0 ? _a : false;\n\n if (this.isInitialized(normalizedIdentifier) || this.shouldAutoInitialize()) {\n try {\n return this.getOrInitializeService({\n instanceIdentifier: normalizedIdentifier\n });\n } catch (e) {\n if (optional) {\n return null;\n } else {\n throw e;\n }\n }\n } else {\n // In case a component is not initialized and should/can not be auto-initialized at the moment, return null if the optional flag is set, or throw\n if (optional) {\n return null;\n } else {\n throw Error(\"Service \" + this.name + \" is not available\");\n }\n }\n };\n\n Provider.prototype.getComponent = function () {\n return this.component;\n };\n\n Provider.prototype.setComponent = function (component) {\n var e_1, _a;\n\n if (component.name !== this.name) {\n throw Error(\"Mismatching Component \" + component.name + \" for Provider \" + this.name + \".\");\n }\n\n if (this.component) {\n throw Error(\"Component for \" + this.name + \" has already been provided\");\n }\n\n this.component = component; // return early without attempting to initialize the component if the component requires explicit initialization (calling `Provider.initialize()`)\n\n if (!this.shouldAutoInitialize()) {\n return;\n } // if the service is eager, initialize the default instance\n\n\n if (isComponentEager(component)) {\n try {\n this.getOrInitializeService({\n instanceIdentifier: DEFAULT_ENTRY_NAME\n });\n } catch (e) {// when the instance factory for an eager Component throws an exception during the eager\n // initialization, it should not cause a fatal error.\n // TODO: Investigate if we need to make it configurable, because some component may want to cause\n // a fatal error in this case?\n }\n }\n\n try {\n // Create service instances for the pending promises and resolve them\n // NOTE: if this.multipleInstances is false, only the default instance will be created\n // and all promises with resolve with it regardless of the identifier.\n for (var _b = __values(this.instancesDeferred.entries()), _c = _b.next(); !_c.done; _c = _b.next()) {\n var _d = __read(_c.value, 2),\n instanceIdentifier = _d[0],\n instanceDeferred = _d[1];\n\n var normalizedIdentifier = this.normalizeInstanceIdentifier(instanceIdentifier);\n\n try {\n // `getOrInitializeService()` should always return a valid instance since a component is guaranteed. use ! to make typescript happy.\n var instance = this.getOrInitializeService({\n instanceIdentifier: normalizedIdentifier\n });\n instanceDeferred.resolve(instance);\n } catch (e) {// when the instance factory throws an exception, it should not cause\n // a fatal error. We just leave the promise unresolved.\n }\n }\n } catch (e_1_1) {\n e_1 = {\n error: e_1_1\n };\n } finally {\n try {\n if (_c && !_c.done && (_a = _b[\"return\"])) _a.call(_b);\n } finally {\n if (e_1) throw e_1.error;\n }\n }\n };\n\n Provider.prototype.clearInstance = function (identifier) {\n if (identifier === void 0) {\n identifier = DEFAULT_ENTRY_NAME;\n }\n\n this.instancesDeferred[\"delete\"](identifier);\n this.instancesOptions[\"delete\"](identifier);\n this.instances[\"delete\"](identifier);\n }; // app.delete() will call this method on every provider to delete the services\n // TODO: should we mark the provider as deleted?\n\n\n Provider.prototype[\"delete\"] = function () {\n return __awaiter(this, void 0, void 0, function () {\n var services;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n services = Array.from(this.instances.values());\n return [4\n /*yield*/\n , Promise.all(__spreadArray(__spreadArray([], __read(services.filter(function (service) {\n return 'INTERNAL' in service;\n }) // legacy services\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n .map(function (service) {\n return service.INTERNAL[\"delete\"]();\n }))), __read(services.filter(function (service) {\n return '_delete' in service;\n }) // modularized services\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n .map(function (service) {\n return service._delete();\n }))))];\n\n case 1:\n _a.sent();\n\n return [2\n /*return*/\n ];\n }\n });\n });\n };\n\n Provider.prototype.isComponentSet = function () {\n return this.component != null;\n };\n\n Provider.prototype.isInitialized = function (identifier) {\n if (identifier === void 0) {\n identifier = DEFAULT_ENTRY_NAME;\n }\n\n return this.instances.has(identifier);\n };\n\n Provider.prototype.getOptions = function (identifier) {\n if (identifier === void 0) {\n identifier = DEFAULT_ENTRY_NAME;\n }\n\n return this.instancesOptions.get(identifier) || {};\n };\n\n Provider.prototype.initialize = function (opts) {\n var e_2, _a;\n\n if (opts === void 0) {\n opts = {};\n }\n\n var _b = opts.options,\n options = _b === void 0 ? {} : _b;\n var normalizedIdentifier = this.normalizeInstanceIdentifier(opts.instanceIdentifier);\n\n if (this.isInitialized(normalizedIdentifier)) {\n throw Error(this.name + \"(\" + normalizedIdentifier + \") has already been initialized\");\n }\n\n if (!this.isComponentSet()) {\n throw Error(\"Component \" + this.name + \" has not been registered yet\");\n }\n\n var instance = this.getOrInitializeService({\n instanceIdentifier: normalizedIdentifier,\n options: options\n });\n\n try {\n // resolve any pending promise waiting for the service instance\n for (var _c = __values(this.instancesDeferred.entries()), _d = _c.next(); !_d.done; _d = _c.next()) {\n var _e = __read(_d.value, 2),\n instanceIdentifier = _e[0],\n instanceDeferred = _e[1];\n\n var normalizedDeferredIdentifier = this.normalizeInstanceIdentifier(instanceIdentifier);\n\n if (normalizedIdentifier === normalizedDeferredIdentifier) {\n instanceDeferred.resolve(instance);\n }\n }\n } catch (e_2_1) {\n e_2 = {\n error: e_2_1\n };\n } finally {\n try {\n if (_d && !_d.done && (_a = _c[\"return\"])) _a.call(_c);\n } finally {\n if (e_2) throw e_2.error;\n }\n }\n\n return instance;\n };\n /**\r\n *\r\n * @param callback - a function that will be invoked after the provider has been initialized by calling provider.initialize().\r\n * The function is invoked SYNCHRONOUSLY, so it should not execute any longrunning tasks in order to not block the program.\r\n *\r\n * @param identifier An optional instance identifier\r\n * @returns a function to unregister the callback\r\n */\n\n\n Provider.prototype.onInit = function (callback, identifier) {\n var _a;\n\n var normalizedIdentifier = this.normalizeInstanceIdentifier(identifier);\n var existingCallbacks = (_a = this.onInitCallbacks.get(normalizedIdentifier)) !== null && _a !== void 0 ? _a : new Set();\n existingCallbacks.add(callback);\n this.onInitCallbacks.set(normalizedIdentifier, existingCallbacks);\n var existingInstance = this.instances.get(normalizedIdentifier);\n\n if (existingInstance) {\n callback(existingInstance, normalizedIdentifier);\n }\n\n return function () {\n existingCallbacks[\"delete\"](callback);\n };\n };\n /**\r\n * Invoke onInit callbacks synchronously\r\n * @param instance the service instance`\r\n */\n\n\n Provider.prototype.invokeOnInitCallbacks = function (instance, identifier) {\n var e_3, _a;\n\n var callbacks = this.onInitCallbacks.get(identifier);\n\n if (!callbacks) {\n return;\n }\n\n try {\n for (var callbacks_1 = __values(callbacks), callbacks_1_1 = callbacks_1.next(); !callbacks_1_1.done; callbacks_1_1 = callbacks_1.next()) {\n var callback = callbacks_1_1.value;\n\n try {\n callback(instance, identifier);\n } catch (_b) {// ignore errors in the onInit callback\n }\n }\n } catch (e_3_1) {\n e_3 = {\n error: e_3_1\n };\n } finally {\n try {\n if (callbacks_1_1 && !callbacks_1_1.done && (_a = callbacks_1[\"return\"])) _a.call(callbacks_1);\n } finally {\n if (e_3) throw e_3.error;\n }\n }\n };\n\n Provider.prototype.getOrInitializeService = function (_a) {\n var instanceIdentifier = _a.instanceIdentifier,\n _b = _a.options,\n options = _b === void 0 ? {} : _b;\n var instance = this.instances.get(instanceIdentifier);\n\n if (!instance && this.component) {\n instance = this.component.instanceFactory(this.container, {\n instanceIdentifier: normalizeIdentifierForFactory(instanceIdentifier),\n options: options\n });\n this.instances.set(instanceIdentifier, instance);\n this.instancesOptions.set(instanceIdentifier, options);\n /**\r\n * Invoke onInit listeners.\r\n * Note this.component.onInstanceCreated is different, which is used by the component creator,\r\n * while onInit listeners are registered by consumers of the provider.\r\n */\n\n this.invokeOnInitCallbacks(instance, instanceIdentifier);\n /**\r\n * Order is important\r\n * onInstanceCreated() should be called after this.instances.set(instanceIdentifier, instance); which\r\n * makes `isInitialized()` return true.\r\n */\n\n if (this.component.onInstanceCreated) {\n try {\n this.component.onInstanceCreated(this.container, instanceIdentifier, instance);\n } catch (_c) {// ignore errors in the onInstanceCreatedCallback\n }\n }\n }\n\n return instance || null;\n };\n\n Provider.prototype.normalizeInstanceIdentifier = function (identifier) {\n if (identifier === void 0) {\n identifier = DEFAULT_ENTRY_NAME;\n }\n\n if (this.component) {\n return this.component.multipleInstances ? identifier : DEFAULT_ENTRY_NAME;\n } else {\n return identifier; // assume multiple instances are supported before the component is provided.\n }\n };\n\n Provider.prototype.shouldAutoInitialize = function () {\n return !!this.component && this.component.instantiationMode !== \"EXPLICIT\"\n /* EXPLICIT */\n ;\n };\n\n return Provider;\n}(); // undefined should be passed to the service factory for the default instance\n\n\nfunction normalizeIdentifierForFactory(identifier) {\n return identifier === DEFAULT_ENTRY_NAME ? undefined : identifier;\n}\n\nfunction isComponentEager(component) {\n return component.instantiationMode === \"EAGER\"\n /* EAGER */\n ;\n}\n/**\r\n * @license\r\n * Copyright 2019 Google LLC\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\n\n/**\r\n * ComponentContainer that provides Providers for service name T, e.g. `auth`, `auth-internal`\r\n */\n\n\nvar ComponentContainer =\n/** @class */\nfunction () {\n function ComponentContainer(name) {\n this.name = name;\n this.providers = new Map();\n }\n /**\r\n *\r\n * @param component Component being added\r\n * @param overwrite When a component with the same name has already been registered,\r\n * if overwrite is true: overwrite the existing component with the new component and create a new\r\n * provider with the new component. It can be useful in tests where you want to use different mocks\r\n * for different tests.\r\n * if overwrite is false: throw an exception\r\n */\n\n\n ComponentContainer.prototype.addComponent = function (component) {\n var provider = this.getProvider(component.name);\n\n if (provider.isComponentSet()) {\n throw new Error(\"Component \" + component.name + \" has already been registered with \" + this.name);\n }\n\n provider.setComponent(component);\n };\n\n ComponentContainer.prototype.addOrOverwriteComponent = function (component) {\n var provider = this.getProvider(component.name);\n\n if (provider.isComponentSet()) {\n // delete the existing provider from the container, so we can register the new component\n this.providers[\"delete\"](component.name);\n }\n\n this.addComponent(component);\n };\n /**\r\n * getProvider provides a type safe interface where it can only be called with a field name\r\n * present in NameServiceMapping interface.\r\n *\r\n * Firebase SDKs providing services should extend NameServiceMapping interface to register\r\n * themselves.\r\n */\n\n\n ComponentContainer.prototype.getProvider = function (name) {\n if (this.providers.has(name)) {\n return this.providers.get(name);\n } // create a Provider for a service that hasn't registered with Firebase\n\n\n var provider = new Provider(name, this);\n this.providers.set(name, provider);\n return provider;\n };\n\n ComponentContainer.prototype.getProviders = function () {\n return Array.from(this.providers.values());\n };\n\n return ComponentContainer;\n}();\n\nexport { Component, ComponentContainer, Provider };","/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in compliance with the License. You may obtain a copy of the\r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\nfunction __spreadArrays() {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) {\n s += arguments[i].length;\n }\n\n for (var r = Array(s), k = 0, i = 0; i < il; i++) {\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) {\n r[k] = a[j];\n }\n }\n\n return r;\n}\n/**\r\n * @license\r\n * Copyright 2017 Google LLC\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\n\n\nvar _a;\n/**\r\n * A container for all of the Logger instances\r\n */\n\n\nvar instances = [];\n/**\r\n * The JS SDK supports 5 log levels and also allows a user the ability to\r\n * silence the logs altogether.\r\n *\r\n * The order is a follows:\r\n * DEBUG < VERBOSE < INFO < WARN < ERROR\r\n *\r\n * All of the log types above the current log level will be captured (i.e. if\r\n * you set the log level to `INFO`, errors will still be logged, but `DEBUG` and\r\n * `VERBOSE` logs will not)\r\n */\n\nvar LogLevel;\n\n(function (LogLevel) {\n LogLevel[LogLevel[\"DEBUG\"] = 0] = \"DEBUG\";\n LogLevel[LogLevel[\"VERBOSE\"] = 1] = \"VERBOSE\";\n LogLevel[LogLevel[\"INFO\"] = 2] = \"INFO\";\n LogLevel[LogLevel[\"WARN\"] = 3] = \"WARN\";\n LogLevel[LogLevel[\"ERROR\"] = 4] = \"ERROR\";\n LogLevel[LogLevel[\"SILENT\"] = 5] = \"SILENT\";\n})(LogLevel || (LogLevel = {}));\n\nvar levelStringToEnum = {\n 'debug': LogLevel.DEBUG,\n 'verbose': LogLevel.VERBOSE,\n 'info': LogLevel.INFO,\n 'warn': LogLevel.WARN,\n 'error': LogLevel.ERROR,\n 'silent': LogLevel.SILENT\n};\n/**\r\n * The default log level\r\n */\n\nvar defaultLogLevel = LogLevel.INFO;\n/**\r\n * By default, `console.debug` is not displayed in the developer console (in\r\n * chrome). To avoid forcing users to have to opt-in to these logs twice\r\n * (i.e. once for firebase, and once in the console), we are sending `DEBUG`\r\n * logs to the `console.log` function.\r\n */\n\nvar ConsoleMethod = (_a = {}, _a[LogLevel.DEBUG] = 'log', _a[LogLevel.VERBOSE] = 'log', _a[LogLevel.INFO] = 'info', _a[LogLevel.WARN] = 'warn', _a[LogLevel.ERROR] = 'error', _a);\n/**\r\n * The default log handler will forward DEBUG, VERBOSE, INFO, WARN, and ERROR\r\n * messages on to their corresponding console counterparts (if the log method\r\n * is supported by the current log level)\r\n */\n\nvar defaultLogHandler = function defaultLogHandler(instance, logType) {\n var args = [];\n\n for (var _i = 2; _i < arguments.length; _i++) {\n args[_i - 2] = arguments[_i];\n }\n\n if (logType < instance.logLevel) {\n return;\n }\n\n var now = new Date().toISOString();\n var method = ConsoleMethod[logType];\n\n if (method) {\n console[method].apply(console, __spreadArrays([\"[\" + now + \"] \" + instance.name + \":\"], args));\n } else {\n throw new Error(\"Attempted to log a message with an invalid logType (value: \" + logType + \")\");\n }\n};\n\nvar Logger =\n/** @class */\nfunction () {\n /**\r\n * Gives you an instance of a Logger to capture messages according to\r\n * Firebase's logging scheme.\r\n *\r\n * @param name The name that the logs will be associated with\r\n */\n function Logger(name) {\n this.name = name;\n /**\r\n * The log level of the given Logger instance.\r\n */\n\n this._logLevel = defaultLogLevel;\n /**\r\n * The main (internal) log handler for the Logger instance.\r\n * Can be set to a new function in internal package code but not by user.\r\n */\n\n this._logHandler = defaultLogHandler;\n /**\r\n * The optional, additional, user-defined log handler for the Logger instance.\r\n */\n\n this._userLogHandler = null;\n /**\r\n * Capture the current instance for later use\r\n */\n\n instances.push(this);\n }\n\n Object.defineProperty(Logger.prototype, \"logLevel\", {\n get: function get() {\n return this._logLevel;\n },\n set: function set(val) {\n if (!(val in LogLevel)) {\n throw new TypeError(\"Invalid value \\\"\" + val + \"\\\" assigned to `logLevel`\");\n }\n\n this._logLevel = val;\n },\n enumerable: false,\n configurable: true\n }); // Workaround for setter/getter having to be the same type.\n\n Logger.prototype.setLogLevel = function (val) {\n this._logLevel = typeof val === 'string' ? levelStringToEnum[val] : val;\n };\n\n Object.defineProperty(Logger.prototype, \"logHandler\", {\n get: function get() {\n return this._logHandler;\n },\n set: function set(val) {\n if (typeof val !== 'function') {\n throw new TypeError('Value assigned to `logHandler` must be a function');\n }\n\n this._logHandler = val;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(Logger.prototype, \"userLogHandler\", {\n get: function get() {\n return this._userLogHandler;\n },\n set: function set(val) {\n this._userLogHandler = val;\n },\n enumerable: false,\n configurable: true\n });\n /**\r\n * The functions below are all based on the `console` interface\r\n */\n\n Logger.prototype.debug = function () {\n var args = [];\n\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n\n this._userLogHandler && this._userLogHandler.apply(this, __spreadArrays([this, LogLevel.DEBUG], args));\n\n this._logHandler.apply(this, __spreadArrays([this, LogLevel.DEBUG], args));\n };\n\n Logger.prototype.log = function () {\n var args = [];\n\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n\n this._userLogHandler && this._userLogHandler.apply(this, __spreadArrays([this, LogLevel.VERBOSE], args));\n\n this._logHandler.apply(this, __spreadArrays([this, LogLevel.VERBOSE], args));\n };\n\n Logger.prototype.info = function () {\n var args = [];\n\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n\n this._userLogHandler && this._userLogHandler.apply(this, __spreadArrays([this, LogLevel.INFO], args));\n\n this._logHandler.apply(this, __spreadArrays([this, LogLevel.INFO], args));\n };\n\n Logger.prototype.warn = function () {\n var args = [];\n\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n\n this._userLogHandler && this._userLogHandler.apply(this, __spreadArrays([this, LogLevel.WARN], args));\n\n this._logHandler.apply(this, __spreadArrays([this, LogLevel.WARN], args));\n };\n\n Logger.prototype.error = function () {\n var args = [];\n\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n\n this._userLogHandler && this._userLogHandler.apply(this, __spreadArrays([this, LogLevel.ERROR], args));\n\n this._logHandler.apply(this, __spreadArrays([this, LogLevel.ERROR], args));\n };\n\n return Logger;\n}();\n\nfunction setLogLevel(level) {\n instances.forEach(function (inst) {\n inst.setLogLevel(level);\n });\n}\n\nfunction setUserLogHandler(logCallback, options) {\n var _loop_1 = function _loop_1(instance) {\n var customLogLevel = null;\n\n if (options && options.level) {\n customLogLevel = levelStringToEnum[options.level];\n }\n\n if (logCallback === null) {\n instance.userLogHandler = null;\n } else {\n instance.userLogHandler = function (instance, level) {\n var args = [];\n\n for (var _i = 2; _i < arguments.length; _i++) {\n args[_i - 2] = arguments[_i];\n }\n\n var message = args.map(function (arg) {\n if (arg == null) {\n return null;\n } else if (typeof arg === 'string') {\n return arg;\n } else if (typeof arg === 'number' || typeof arg === 'boolean') {\n return arg.toString();\n } else if (arg instanceof Error) {\n return arg.message;\n } else {\n try {\n return JSON.stringify(arg);\n } catch (ignored) {\n return null;\n }\n }\n }).filter(function (arg) {\n return arg;\n }).join(' ');\n\n if (level >= (customLogLevel !== null && customLogLevel !== void 0 ? customLogLevel : instance.logLevel)) {\n logCallback({\n level: LogLevel[level].toLowerCase(),\n message: message,\n args: args,\n type: instance.name\n });\n }\n };\n }\n };\n\n for (var _i = 0, instances_1 = instances; _i < instances_1.length; _i++) {\n var instance = instances_1[_i];\n\n _loop_1(instance);\n }\n}\n\nexport { LogLevel, Logger, setLogLevel, setUserLogHandler };","function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nimport { __assign } from 'tslib';\nimport { ErrorFactory, deepCopy, contains, deepExtend, createSubscribe, isBrowser, isNode } from '@firebase/util';\nimport { ComponentContainer, Component } from '@firebase/component';\nimport { Logger, setLogLevel, setUserLogHandler } from '@firebase/logger';\n/**\r\n * @license\r\n * Copyright 2019 Google LLC\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\n\nvar _a$1;\n\nvar ERRORS = (_a$1 = {}, _a$1[\"no-app\"\n/* NO_APP */\n] = \"No Firebase App '{$appName}' has been created - \" + 'call Firebase App.initializeApp()', _a$1[\"bad-app-name\"\n/* BAD_APP_NAME */\n] = \"Illegal App name: '{$appName}\", _a$1[\"duplicate-app\"\n/* DUPLICATE_APP */\n] = \"Firebase App named '{$appName}' already exists\", _a$1[\"app-deleted\"\n/* APP_DELETED */\n] = \"Firebase App named '{$appName}' already deleted\", _a$1[\"invalid-app-argument\"\n/* INVALID_APP_ARGUMENT */\n] = 'firebase.{$appName}() takes either no argument or a ' + 'Firebase App instance.', _a$1[\"invalid-log-argument\"\n/* INVALID_LOG_ARGUMENT */\n] = 'First argument to `onLog` must be null or a function.', _a$1);\nvar ERROR_FACTORY = new ErrorFactory('app', 'Firebase', ERRORS);\nvar name$c = \"@firebase/app\";\nvar version$1 = \"0.6.30\";\nvar name$b = \"@firebase/analytics\";\nvar name$a = \"@firebase/app-check\";\nvar name$9 = \"@firebase/auth\";\nvar name$8 = \"@firebase/database\";\nvar name$7 = \"@firebase/functions\";\nvar name$6 = \"@firebase/installations\";\nvar name$5 = \"@firebase/messaging\";\nvar name$4 = \"@firebase/performance\";\nvar name$3 = \"@firebase/remote-config\";\nvar name$2 = \"@firebase/storage\";\nvar name$1 = \"@firebase/firestore\";\nvar name = \"firebase-wrapper\";\n/**\r\n * @license\r\n * Copyright 2019 Google LLC\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\n\nvar _a;\n\nvar DEFAULT_ENTRY_NAME = '[DEFAULT]';\nvar PLATFORM_LOG_STRING = (_a = {}, _a[name$c] = 'fire-core', _a[name$b] = 'fire-analytics', _a[name$a] = 'fire-app-check', _a[name$9] = 'fire-auth', _a[name$8] = 'fire-rtdb', _a[name$7] = 'fire-fn', _a[name$6] = 'fire-iid', _a[name$5] = 'fire-fcm', _a[name$4] = 'fire-perf', _a[name$3] = 'fire-rc', _a[name$2] = 'fire-gcs', _a[name$1] = 'fire-fst', _a['fire-js'] = 'fire-js', _a[name] = 'fire-js-all', _a);\n/**\r\n * @license\r\n * Copyright 2019 Google LLC\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\n\nvar logger = new Logger('@firebase/app');\n/**\r\n * @license\r\n * Copyright 2017 Google LLC\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\n\n/**\r\n * Global context object for a collection of services using\r\n * a shared authentication state.\r\n */\n\nvar FirebaseAppImpl =\n/** @class */\nfunction () {\n function FirebaseAppImpl(options, config, firebase_) {\n var _this = this;\n\n this.firebase_ = firebase_;\n this.isDeleted_ = false;\n this.name_ = config.name;\n this.automaticDataCollectionEnabled_ = config.automaticDataCollectionEnabled || false;\n this.options_ = deepCopy(options);\n this.container = new ComponentContainer(config.name); // add itself to container\n\n this._addComponent(new Component('app', function () {\n return _this;\n }, \"PUBLIC\"\n /* PUBLIC */\n )); // populate ComponentContainer with existing components\n\n\n this.firebase_.INTERNAL.components.forEach(function (component) {\n return _this._addComponent(component);\n });\n }\n\n Object.defineProperty(FirebaseAppImpl.prototype, \"automaticDataCollectionEnabled\", {\n get: function get() {\n this.checkDestroyed_();\n return this.automaticDataCollectionEnabled_;\n },\n set: function set(val) {\n this.checkDestroyed_();\n this.automaticDataCollectionEnabled_ = val;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(FirebaseAppImpl.prototype, \"name\", {\n get: function get() {\n this.checkDestroyed_();\n return this.name_;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(FirebaseAppImpl.prototype, \"options\", {\n get: function get() {\n this.checkDestroyed_();\n return this.options_;\n },\n enumerable: false,\n configurable: true\n });\n\n FirebaseAppImpl.prototype[\"delete\"] = function () {\n var _this = this;\n\n return new Promise(function (resolve) {\n _this.checkDestroyed_();\n\n resolve();\n }).then(function () {\n _this.firebase_.INTERNAL.removeApp(_this.name_);\n\n return Promise.all(_this.container.getProviders().map(function (provider) {\n return provider[\"delete\"]();\n }));\n }).then(function () {\n _this.isDeleted_ = true;\n });\n };\n /**\r\n * Return a service instance associated with this app (creating it\r\n * on demand), identified by the passed instanceIdentifier.\r\n *\r\n * NOTE: Currently storage and functions are the only ones that are leveraging this\r\n * functionality. They invoke it by calling:\r\n *\r\n * ```javascript\r\n * firebase.app().storage('STORAGE BUCKET ID')\r\n * ```\r\n *\r\n * The service name is passed to this already\r\n * @internal\r\n */\n\n\n FirebaseAppImpl.prototype._getService = function (name, instanceIdentifier) {\n var _a;\n\n if (instanceIdentifier === void 0) {\n instanceIdentifier = DEFAULT_ENTRY_NAME;\n }\n\n this.checkDestroyed_(); // Initialize instance if InstatiationMode is `EXPLICIT`.\n\n var provider = this.container.getProvider(name);\n\n if (!provider.isInitialized() && ((_a = provider.getComponent()) === null || _a === void 0 ? void 0 : _a.instantiationMode) === \"EXPLICIT\"\n /* EXPLICIT */\n ) {\n provider.initialize();\n } // getImmediate will always succeed because _getService is only called for registered components.\n\n\n return provider.getImmediate({\n identifier: instanceIdentifier\n });\n };\n /**\r\n * Remove a service instance from the cache, so we will create a new instance for this service\r\n * when people try to get this service again.\r\n *\r\n * NOTE: currently only firestore is using this functionality to support firestore shutdown.\r\n *\r\n * @param name The service name\r\n * @param instanceIdentifier instance identifier in case multiple instances are allowed\r\n * @internal\r\n */\n\n\n FirebaseAppImpl.prototype._removeServiceInstance = function (name, instanceIdentifier) {\n if (instanceIdentifier === void 0) {\n instanceIdentifier = DEFAULT_ENTRY_NAME;\n } // eslint-disable-next-line @typescript-eslint/no-explicit-any\n\n\n this.container.getProvider(name).clearInstance(instanceIdentifier);\n };\n /**\r\n * @param component the component being added to this app's container\r\n */\n\n\n FirebaseAppImpl.prototype._addComponent = function (component) {\n try {\n this.container.addComponent(component);\n } catch (e) {\n logger.debug(\"Component \" + component.name + \" failed to register with FirebaseApp \" + this.name, e);\n }\n };\n\n FirebaseAppImpl.prototype._addOrOverwriteComponent = function (component) {\n this.container.addOrOverwriteComponent(component);\n };\n\n FirebaseAppImpl.prototype.toJSON = function () {\n return {\n name: this.name,\n automaticDataCollectionEnabled: this.automaticDataCollectionEnabled,\n options: this.options\n };\n };\n /**\r\n * This function will throw an Error if the App has already been deleted -\r\n * use before performing API actions on the App.\r\n */\n\n\n FirebaseAppImpl.prototype.checkDestroyed_ = function () {\n if (this.isDeleted_) {\n throw ERROR_FACTORY.create(\"app-deleted\"\n /* APP_DELETED */\n , {\n appName: this.name_\n });\n }\n };\n\n return FirebaseAppImpl;\n}(); // Prevent dead-code elimination of these methods w/o invalid property\n// copying.\n\n\nFirebaseAppImpl.prototype.name && FirebaseAppImpl.prototype.options || FirebaseAppImpl.prototype[\"delete\"] || console.log('dc');\nvar version = \"8.10.0\";\n/**\r\n * @license\r\n * Copyright 2019 Google LLC\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\n\n/**\r\n * Because auth can't share code with other components, we attach the utility functions\r\n * in an internal namespace to share code.\r\n * This function return a firebase namespace object without\r\n * any utility functions, so it can be shared between the regular firebaseNamespace and\r\n * the lite version.\r\n */\n\nfunction createFirebaseNamespaceCore(firebaseAppImpl) {\n var apps = {}; // eslint-disable-next-line @typescript-eslint/no-explicit-any\n\n var components = new Map(); // A namespace is a plain JavaScript Object.\n\n var namespace = {\n // Hack to prevent Babel from modifying the object returned\n // as the firebase namespace.\n // @ts-ignore\n __esModule: true,\n initializeApp: initializeApp,\n // @ts-ignore\n app: app,\n registerVersion: registerVersion,\n setLogLevel: setLogLevel,\n onLog: onLog,\n // @ts-ignore\n apps: null,\n SDK_VERSION: version,\n INTERNAL: {\n registerComponent: registerComponent,\n removeApp: removeApp,\n components: components,\n useAsService: useAsService\n }\n }; // Inject a circular default export to allow Babel users who were previously\n // using:\n //\n // import firebase from 'firebase';\n // which becomes: var firebase = require('firebase').default;\n //\n // instead of\n //\n // import * as firebase from 'firebase';\n // which becomes: var firebase = require('firebase');\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n\n namespace['default'] = namespace; // firebase.apps is a read-only getter.\n\n Object.defineProperty(namespace, 'apps', {\n get: getApps\n });\n /**\r\n * Called by App.delete() - but before any services associated with the App\r\n * are deleted.\r\n */\n\n function removeApp(name) {\n delete apps[name];\n }\n /**\r\n * Get the App object for a given name (or DEFAULT).\r\n */\n\n\n function app(name) {\n name = name || DEFAULT_ENTRY_NAME;\n\n if (!contains(apps, name)) {\n throw ERROR_FACTORY.create(\"no-app\"\n /* NO_APP */\n , {\n appName: name\n });\n }\n\n return apps[name];\n } // @ts-ignore\n\n\n app['App'] = firebaseAppImpl;\n\n function initializeApp(options, rawConfig) {\n if (rawConfig === void 0) {\n rawConfig = {};\n }\n\n if (_typeof(rawConfig) !== 'object' || rawConfig === null) {\n var name_1 = rawConfig;\n rawConfig = {\n name: name_1\n };\n }\n\n var config = rawConfig;\n\n if (config.name === undefined) {\n config.name = DEFAULT_ENTRY_NAME;\n }\n\n var name = config.name;\n\n if (typeof name !== 'string' || !name) {\n throw ERROR_FACTORY.create(\"bad-app-name\"\n /* BAD_APP_NAME */\n , {\n appName: String(name)\n });\n }\n\n if (contains(apps, name)) {\n throw ERROR_FACTORY.create(\"duplicate-app\"\n /* DUPLICATE_APP */\n , {\n appName: name\n });\n }\n\n var app = new firebaseAppImpl(options, config, namespace);\n apps[name] = app;\n return app;\n }\n /*\r\n * Return an array of all the non-deleted FirebaseApps.\r\n */\n\n\n function getApps() {\n // Make a copy so caller cannot mutate the apps list.\n return Object.keys(apps).map(function (name) {\n return apps[name];\n });\n }\n\n function registerComponent(component) {\n var componentName = component.name;\n\n if (components.has(componentName)) {\n logger.debug(\"There were multiple attempts to register component \" + componentName + \".\");\n return component.type === \"PUBLIC\"\n /* PUBLIC */\n ? // eslint-disable-next-line @typescript-eslint/no-explicit-any\n namespace[componentName] : null;\n }\n\n components.set(componentName, component); // create service namespace for public components\n\n if (component.type === \"PUBLIC\"\n /* PUBLIC */\n ) {\n // The Service namespace is an accessor function ...\n var serviceNamespace = function serviceNamespace(appArg) {\n if (appArg === void 0) {\n appArg = app();\n } // eslint-disable-next-line @typescript-eslint/no-explicit-any\n\n\n if (typeof appArg[componentName] !== 'function') {\n // Invalid argument.\n // This happens in the following case: firebase.storage('gs:/')\n throw ERROR_FACTORY.create(\"invalid-app-argument\"\n /* INVALID_APP_ARGUMENT */\n , {\n appName: componentName\n });\n } // Forward service instance lookup to the FirebaseApp.\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n\n\n return appArg[componentName]();\n }; // ... and a container for service-level properties.\n\n\n if (component.serviceProps !== undefined) {\n deepExtend(serviceNamespace, component.serviceProps);\n } // eslint-disable-next-line @typescript-eslint/no-explicit-any\n\n\n namespace[componentName] = serviceNamespace; // Patch the FirebaseAppImpl prototype\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n\n firebaseAppImpl.prototype[componentName] = // TODO: The eslint disable can be removed and the 'ignoreRestArgs'\n // option added to the no-explicit-any rule when ESlint releases it.\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n function () {\n var args = [];\n\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n\n var serviceFxn = this._getService.bind(this, componentName);\n\n return serviceFxn.apply(this, component.multipleInstances ? args : []);\n };\n } // add the component to existing app instances\n\n\n for (var _i = 0, _a = Object.keys(apps); _i < _a.length; _i++) {\n var appName = _a[_i];\n\n apps[appName]._addComponent(component);\n }\n\n return component.type === \"PUBLIC\"\n /* PUBLIC */\n ? // eslint-disable-next-line @typescript-eslint/no-explicit-any\n namespace[componentName] : null;\n }\n\n function registerVersion(libraryKeyOrName, version, variant) {\n var _a; // TODO: We can use this check to whitelist strings when/if we set up\n // a good whitelist system.\n\n\n var library = (_a = PLATFORM_LOG_STRING[libraryKeyOrName]) !== null && _a !== void 0 ? _a : libraryKeyOrName;\n\n if (variant) {\n library += \"-\" + variant;\n }\n\n var libraryMismatch = library.match(/\\s|\\//);\n var versionMismatch = version.match(/\\s|\\//);\n\n if (libraryMismatch || versionMismatch) {\n var warning = [\"Unable to register library \\\"\" + library + \"\\\" with version \\\"\" + version + \"\\\":\"];\n\n if (libraryMismatch) {\n warning.push(\"library name \\\"\" + library + \"\\\" contains illegal characters (whitespace or \\\"/\\\")\");\n }\n\n if (libraryMismatch && versionMismatch) {\n warning.push('and');\n }\n\n if (versionMismatch) {\n warning.push(\"version name \\\"\" + version + \"\\\" contains illegal characters (whitespace or \\\"/\\\")\");\n }\n\n logger.warn(warning.join(' '));\n return;\n }\n\n registerComponent(new Component(library + \"-version\", function () {\n return {\n library: library,\n version: version\n };\n }, \"VERSION\"\n /* VERSION */\n ));\n }\n\n function onLog(logCallback, options) {\n if (logCallback !== null && typeof logCallback !== 'function') {\n throw ERROR_FACTORY.create(\"invalid-log-argument\"\n /* INVALID_LOG_ARGUMENT */\n );\n }\n\n setUserLogHandler(logCallback, options);\n } // Map the requested service to a registered service name\n // (used to map auth to serverAuth service when needed).\n\n\n function useAsService(app, name) {\n if (name === 'serverAuth') {\n return null;\n }\n\n var useService = name;\n return useService;\n }\n\n return namespace;\n}\n/**\r\n * @license\r\n * Copyright 2019 Google LLC\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\n\n/**\r\n * Return a firebase namespace object.\r\n *\r\n * In production, this will be called exactly once and the result\r\n * assigned to the 'firebase' global. It may be called multiple times\r\n * in unit tests.\r\n */\n\n\nfunction createFirebaseNamespace() {\n var namespace = createFirebaseNamespaceCore(FirebaseAppImpl);\n namespace.INTERNAL = __assign(__assign({}, namespace.INTERNAL), {\n createFirebaseNamespace: createFirebaseNamespace,\n extendNamespace: extendNamespace,\n createSubscribe: createSubscribe,\n ErrorFactory: ErrorFactory,\n deepExtend: deepExtend\n });\n /**\r\n * Patch the top-level firebase namespace with additional properties.\r\n *\r\n * firebase.INTERNAL.extendNamespace()\r\n */\n\n function extendNamespace(props) {\n deepExtend(namespace, props);\n }\n\n return namespace;\n}\n\nvar firebase$1 = createFirebaseNamespace();\n/**\r\n * @license\r\n * Copyright 2019 Google LLC\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\n\nvar PlatformLoggerService =\n/** @class */\nfunction () {\n function PlatformLoggerService(container) {\n this.container = container;\n } // In initial implementation, this will be called by installations on\n // auth token refresh, and installations will send this string.\n\n\n PlatformLoggerService.prototype.getPlatformInfoString = function () {\n var providers = this.container.getProviders(); // Loop through providers and get library/version pairs from any that are\n // version components.\n\n return providers.map(function (provider) {\n if (isVersionServiceProvider(provider)) {\n var service = provider.getImmediate();\n return service.library + \"/\" + service.version;\n } else {\n return null;\n }\n }).filter(function (logString) {\n return logString;\n }).join(' ');\n };\n\n return PlatformLoggerService;\n}();\n/**\r\n *\r\n * @param provider check if this provider provides a VersionService\r\n *\r\n * NOTE: Using Provider<'app-version'> is a hack to indicate that the provider\r\n * provides VersionService. The provider is not necessarily a 'app-version'\r\n * provider.\r\n */\n\n\nfunction isVersionServiceProvider(provider) {\n var component = provider.getComponent();\n return (component === null || component === void 0 ? void 0 : component.type) === \"VERSION\"\n /* VERSION */\n ;\n}\n/**\r\n * @license\r\n * Copyright 2019 Google LLC\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\n\n\nfunction registerCoreComponents(firebase, variant) {\n firebase.INTERNAL.registerComponent(new Component('platform-logger', function (container) {\n return new PlatformLoggerService(container);\n }, \"PRIVATE\"\n /* PRIVATE */\n )); // Register `app` package.\n\n firebase.registerVersion(name$c, version$1, variant); // Register platform SDK identifier (no version).\n\n firebase.registerVersion('fire-js', '');\n}\n/**\r\n * @license\r\n * Copyright 2017 Google LLC\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\n// Firebase Lite detection test\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\n\n\nif (isBrowser() && self.firebase !== undefined) {\n logger.warn(\"\\n Warning: Firebase is already defined in the global scope. Please make sure\\n Firebase library is only loaded once.\\n \"); // eslint-disable-next-line\n\n var sdkVersion = self.firebase.SDK_VERSION;\n\n if (sdkVersion && sdkVersion.indexOf('LITE') >= 0) {\n logger.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 \");\n }\n}\n\nvar initializeApp = firebase$1.initializeApp; // TODO: This disable can be removed and the 'ignoreRestArgs' option added to\n// the no-explicit-any rule when ESlint releases it.\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\n\nfirebase$1.initializeApp = function () {\n var args = [];\n\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n } // Environment check before initializing app\n // Do the check in initializeApp, so people have a chance to disable it by setting logLevel\n // in @firebase/logger\n\n\n if (isNode()) {\n logger.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 \");\n }\n\n return initializeApp.apply(undefined, args);\n};\n\nvar firebase = firebase$1;\nregisterCoreComponents(firebase);\nexport default firebase;\nexport { firebase };"],"sourceRoot":""}