{"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 = \"