PageSourceSearch

https://extensions.dev/293.5d40230cc1f8284c.js

js extensions.dev collected 2026-10-01 10:26:40 UTC 23,036 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkmarketplace=self.webpackChunkmarketplace||[]).push([[293],{2293:(Yn,Me,T)=>{T.r(Me),T.d(Me,{initializeAnalytics:()=>ft,logEvent:()=>pt});var l=T(5861),h=T(6881),mt=T(1877),g=T(2090),C=T(3475);let Oe,Le;const Fe=new WeakMap,M=new WeakMap,$e=new WeakMap,O=new WeakMap,L=new WeakMap;let F={get(e,t,n){if(e instanceof IDBTransaction){if("done"===t)return M.get(e);if("objectStoreNames"===t)return e.objectStoreNames||$e.get(e);if("store"===t)return n.objectStoreNames[1]?void 0:n.objectStore(n.objectStoreNames[0])}return _(e[t])},set:(e,t,n)=>(e[t]=n,!0),has:(e,t)=>e instanceof IDBTransaction&&("done"===t||"store"===t)||t in e};function xt(e){return"function"==typeof e?function vt(e){return e!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?function _t(){return Le||(Le=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}().includes(e)?function(...t){return e.apply($(this),t),_(Fe.get(this))}:function(...t){return _(e.apply($(this),t))}:function(t,...n){const r=e.call($(this),t,...n);return $e.set(r,t.sort?t.sort():[t]),_(r)}}(e):(e instanceof IDBTransaction&&function Tt(e){if(M.has(e))return;const t=new Promise((n,r)=>{const i=()=>{e.removeEventListener("complete",s),e.removeEventListener("error",o),e.removeEventListener("abort",o)},s=()=>{n(),i()},o=()=>{r(e.error||new DOMException("AbortError","AbortError")),i()};e.addEventListener("complete",s),e.addEventListener("error",o),e.addEventListener("abort",o)});M.set(e,t)}(e),((e,t)=>t.some(n=>e instanceof n))(e,function It(){return Oe||(Oe=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}())?new Proxy(e,F):e)}function _(e){if(e instanceof IDBRequest)return function bt(e){const t=new Promise((n,r)=>{const i=()=>{e.removeEventListener("success",s),e.removeEventListener("error",o)},s=()=>{n(_(e.result)),i()},o=()=>{r(e.error),i()};e.addEventListener("success",s),e.addEventListener("error",o)});return t.then(n=>{n instanceof IDBCursor&&Fe.set(n,e)}).catch(()=>{}),L.set(t,e),t}(e);if(O.has(e))return O.get(e);const t=xt(e);return t!==e&&(O.set(e,t),L.set(t,e)),t}const $=e=>L.get(e),St=["get","getKey","getAll","getAllKeys","count"],Et=["put","add","delete","clear"],N=new Map;function Ne(e,t){if(!(e instanceof IDBDatabase)||t in e||"string"!=typeof t)return;if(N.get(t))return N.get(t);const n=t.replace(/FromIndex$/,""),r=t!==n,i=Et.includes(n);if(!(n in(r?IDBIndex:IDBObjectStore).prototype)||!i&&!St.includes(n))return;const s=function(){var o=(0,l.Z)(function*(c,...a){const u=this.transaction(c,i?"readwrite":"readonly");let f=u.store;return r&&(f=f.index(a.shift())),(yield Promise.all([f[n](...a),i&&u.done]))[0]});return function(a){return o.apply(this,arguments)}}();return N.set(t,s),s}!function wt(e){F=e(F)}(e=>({...e,get:(t,n,r)=>Ne(t,n)||e.get(t,n,r),has:(t,n)=>!!Ne(t,n)||e.has(t,n)}));const Be="@firebase/installations",B="0.6.4",qe=`w:${B}`,Ge="FIS_v2",I=new g.LL("installations","Installations",{"missing-app-config-values":'Missing App configuration value: "{$valueName}"',"not-registered":"Firebase Installation is not registered.","installation-not-found":"Firebase Installation not found.","request-failed":'{$requestName} request failed with error "{$serverCode} {$serverStatus}: {$serverMessage}"',"app-offline":"Could not process request. Application offline.","delete-pending-registration":"Can't delete installation while there is a pending registration request."});function Ze(e){return e instanceof g.ZR&&e.code.includes("request-failed")}function j({projectId:e}){return`https://firebaseinstallations.googleapis.com/v1/projects/${e}/installations`}function Ue(e){return{token:e.token,requestStatus:2,expiresIn:Mt(e.expiresIn),creationTime:Date.now()}}function q(e,t){return G.apply(this,arguments)}function G(){return(G=(0,l.Z)(function*(e,t){const r=(yield t.json()).error;return I.create("request-failed",{requestName:e,serverCode:r.code,serverMessage:r.message,serverStatus:r.status})})).apply(this,arguments)}function Ve({apiKey:e}){return new Headers({"Content-Type":"application/json",Accept:"application/json","x-goog-api-key":e})}function ze(e,{refreshToken:t}){const n=Ve(e);return n.append("Authorization",function Ot(e){return`${Ge} ${e}`}(t)),n}function Z(e){return U.apply(this,arguments)}function U(){return(U=(0,l.Z)(function*(e){const t=yield e();return t.status>=500&&t.status<600?e():t})).apply(this,arguments)}function Mt(e){return Number(e.replace("s","000"))}function Lt(e,t){return V.apply(this,arguments)}function V(){return(V=(0,l.Z)(function*({appConfig:e,heartbeatServiceProvider:t},{fid:n}){const r=j(e),i=Ve(e),s=t.getImmediate({optional:!0});if(s){const u=yield s.getHeartbeatsHeader();u&&i.append("x-firebase-client",u)}const c={method:"POST",headers:i,body:JSON.stringify({fid:n,authVersion:Ge,appId:e.appId,sdkVersion:qe})},a=yield Z(()=>fetch(r,c));if(a.ok){const u=yield a.json();return{fid:u.fid||n,registrationStatus:2,refreshToken:u.refreshToken,authToken:Ue(u.authToken)}}throw yield q("Create Installation",a)})).apply(this,arguments)}function Ke(e){return new Promise(t=>{setTimeout(t,e)})}const $t=/^[cdef][\w-]{21}$/;function Nt(){try{const e=new Uint8Array(17);(self.crypto||self.msCrypto).getRandomValues(e),e[0]=112+e[0]%16;const n=function Bt(e){return function Ft(e){return btoa(String.fromCharCode(...e)).replace(/\+/g,"-").replace(/\//g,"_")}(e).substr(0,22)}(e);return $t.test(n)?n:""}catch{return""}}function A(e){return`${e.appName}!${e.appId}`}const S=new Map;function We(e,t){const n=A(e);He(n,t),function Gt(e,t){const n=function Ye(){return!w&&"BroadcastChannel"in self&&(w=new BroadcastChannel("[Firebase] FID Change"),w.onmessage=e=>{He(e.data.key,e.data.fid)}),w}();n&&n.postMessage({key:e,fid:t}),function Xe(){0===S.size&&w&&(w.close(),w=null)}()}(n,t)}function He(e,t){const n=S.get(e);if(n)for(const r of n)r(t)}let w=null;const v="firebase-installations-store";let K=null;function W(){return K||(K=function At(e,t,{blocked:n,upgrade:r,blocking:i,terminated:s}={}){const o=indexedDB.open(e,t),c=_(o);return r&&o.addEventListener("upgradeneeded",a=>{r(_(o.result),a.oldVersion,a.newVersion,_(o.transaction))}),n&&o.addEventListener("blocked",()=>n()),c.then(a=>{s&&a.addEventListener("close",()=>s()),i&&a.addEventListener("versionchange",()=>i())}).catch(()=>{}),c}("firebase-installations-database",1,{upgrade:(e,t)=>{0===t&&e.createObjectStore(v)}})),K}function D(e,t){return H.apply(this,arguments)}function H(){return(H=(0,l.Z)(function*(e,t){const n=A(e),i=(yield W()).transaction(v,"readwrite"),s=i.objectStore(v),o=yield s.get(n);return yield s.put(t,n),yield i.done,(!o||o.fid!==t.fid)&&We(e,t.fid),t})).apply(this,arguments)}function Y(e){return X.apply(this,arguments)}function X(){return(X=(0,l.Z)(function*(e){const t=A(e),r=(yield W()).transaction(v,"readwrite");yield r.objectStore(v).delete(t),yield r.done})).apply(this,arguments)}function E(e,t){return J.apply(this,arguments)}function J(){return(J=(0,l.Z)(function*(e,t){const n=A(e),i=(yield W()).transaction(v,"readwrite"),s=i.objectStore(v),o=yield s.get(n),c=t(o);return void 0===c?yield s.delete(n):yield s.put(c,n),yield i.done,c&&(!o||o.fid!==c.fid)&&We(e,c.fid),c})).apply(this,arguments)}function Q(e){return ee.apply(this,arguments)}function ee(){return(ee=(0,l.Z)(function*(e){let t;const n=yield E(e.appConfig,r=>{const i=Vt(r),s=zt(e,i);return t=s.registrationPromise,s.installationEntry});return""===n.fid?{installationEntry:yield t}:{installationEntry:n,registrationPromise:t}})).apply(this,arguments)}function Vt(e){return Qe(e||{fid:Nt(),registrationStatus:0})}function zt(e,t){if(0===t.registrationStatus){if(!navigator.onLine)return{installationEntry:t,registrationPromise:Promise.reject(I.create("app-offline"))};const n={fid:t.fid,registrationStatus:1,registrationTime:Date.now()},r=function Kt(e,t){return te.apply(this,arguments)}
1(e,n);return{installationEntry:n,registrationPromise:r}}return 1===t.registrationStatus?{installationEntry:t,registrationPromise:Wt(e)}:{installationEntry:t}}function te(){return(te=(0,l.Z)(function*(e,t){try{const n=yield Lt(e,t);return D(e.appConfig,n)}catch(n){throw Ze(n)&&409===n.customData.serverCode?yield Y(e.appConfig):yield D(e.appConfig,{fid:t.fid,registrationStatus:0}),n}})).apply(this,arguments)}function Wt(e){return ne.apply(this,arguments)}function ne(){return(ne=(0,l.Z)(function*(e){let t=yield Je(e.appConfig);for(;1===t.registrationStatus;)yield Ke(100),t=yield Je(e.appConfig);if(0===t.registrationStatus){const{installationEntry:n,registrationPromise:r}=yield Q(e);return r||n}return t})).apply(this,arguments)}function Je(e){return E(e,t=>{if(!t)throw I.create("installation-not-found");return Qe(t)})}function Qe(e){return function Ht(e){return 1===e.registrationStatus&&e.registrationTime+1e4<Date.now()}(e)?{fid:e.fid,registrationStatus:0}:e}function Yt(e,t){return re.apply(this,arguments)}function re(){return(re=(0,l.Z)(function*({appConfig:e,heartbeatServiceProvider:t},n){const r=Xt(e,n),i=ze(e,n),s=t.getImmediate({optional:!0});if(s){const u=yield s.getHeartbeatsHeader();u&&i.append("x-firebase-client",u)}const c={method:"POST",headers:i,body:JSON.stringify({installation:{sdkVersion:qe,appId:e.appId}})},a=yield Z(()=>fetch(r,c));if(a.ok)return Ue(yield a.json());throw yield q("Generate Auth Token",a)})).apply(this,arguments)}function Xt(e,{fid:t}){return`${j(e)}/${t}/authTokens:generate`}function ie(e){return se.apply(this,arguments)}function se(){return(se=(0,l.Z)(function*(e,t=!1){let n;const r=yield E(e.appConfig,s=>{if(!tt(s))throw I.create("not-registered");const o=s.authToken;if(!t&&en(o))return s;if(1===o.requestStatus)return n=Jt(e,t),s;{if(!navigator.onLine)throw I.create("app-offline");const c=nn(s);return n=Qt(e,c),c}});return n?yield n:r.authToken})).apply(this,arguments)}function Jt(e,t){return oe.apply(this,arguments)}function oe(){return(oe=(0,l.Z)(function*(e,t){let n=yield et(e.appConfig);for(;1===n.authToken.requestStatus;)yield Ke(100),n=yield et(e.appConfig);const r=n.authToken;return 0===r.requestStatus?ie(e,t):r})).apply(this,arguments)}function et(e){return E(e,t=>{if(!tt(t))throw I.create("not-registered");return function rn(e){return 1===e.requestStatus&&e.requestTime+1e4<Date.now()}(t.authToken)?Object.assign(Object.assign({},t),{authToken:{requestStatus:0}}):t})}function Qt(e,t){return ae.apply(this,arguments)}function ae(){return(ae=(0,l.Z)(function*(e,t){try{const n=yield Yt(e,t),r=Object.assign(Object.assign({},t),{authToken:n});return yield D(e.appConfig,r),n}catch(n){if(!Ze(n)||401!==n.customData.serverCode&&404!==n.customData.serverCode){const r=Object.assign(Object.assign({},t),{authToken:{requestStatus:0}});yield D(e.appConfig,r)}else yield Y(e.appConfig);throw n}})).apply(this,arguments)}function tt(e){return void 0!==e&&2===e.registrationStatus}function en(e){return 2===e.requestStatus&&!function tn(e){const t=Date.now();return t<e.creationTime||e.creationTime+e.expiresIn<t+36e5}(e)}function nn(e){const t={requestStatus:1,requestTime:Date.now()};return Object.assign(Object.assign({},e),{authToken:t})}function ce(){return(ce=(0,l.Z)(function*(e){const t=e,{installationEntry:n,registrationPromise:r}=yield Q(t);return r?r.catch(console.error):ie(t).catch(console.error),n.fid})).apply(this,arguments)}function ue(){return(ue=(0,l.Z)(function*(e,t=!1){const n=e;return yield an(n),(yield ie(n,t)).token})).apply(this,arguments)}function an(e){return le.apply(this,arguments)}function le(){return(le=(0,l.Z)(function*(e){const{registrationPromise:t}=yield Q(e);t&&(yield t)})).apply(this,arguments)}function pe(e){return I.create("missing-app-config-values",{valueName:e})}const nt="installations",fn=e=>{const t=e.getProvider("app").getImmediate(),n=function ln(e){if(!e||!e.options)throw pe("App Configuration");if(!e.name)throw pe("App Name");const t=["projectId","apiKey","appId"];for(const n of t)if(!e.options[n])throw pe(n);return{appName:e.name,projectId:e.options.projectId,apiKey:e.options.apiKey,appId:e.options.appId}}(t);return{app:t,appConfig:n,heartbeatServiceProvider:(0,h.qX)(t,"heartbeat"),_delete:()=>Promise.resolve()}}
1,pn=e=>{const t=e.getProvider("app").getImmediate(),n=(0,h.qX)(t,nt).getImmediate();return{getId:()=>function sn(e){return ce.apply(this,arguments)}(n),getToken:i=>function on(e){return ue.apply(this,arguments)}(n,i)}};(function gn(){(0,h.Xd)(new C.wA(nt,fn,"PUBLIC")),(0,h.Xd)(new C.wA("installations-internal",pn,"PRIVATE"))})(),(0,h.KN)(Be,B),(0,h.KN)(Be,B,"esm2017");const k="analytics",hn="firebase_id",In="https://firebase.googleapis.com/v1alpha/projects/-/apps/{app-id}/webConfig",ge="https://www.googletagmanager.com/gtag/js",d=new mt.Yd("@firebase/analytics"),p=new g.LL("analytics","Analytics",{"already-exists":"A Firebase Analytics instance with the appId {$id}  already exists. Only one Firebase Analytics instance can be created for each appId.","already-initialized":"initializeAnalytics() cannot be called again with different options than those it was initially called with. It can be called again with the same options to return the existing instance, or getAnalytics() can be used to get a reference to the already-intialized instance.","already-initialized-settings":"Firebase Analytics has already been initialized.settings() must be called before initializing any Analytics instanceor it will have no effect.","interop-component-reg-failed":"Firebase Analytics Interop Component failed to instantiate: {$reason}","invalid-analytics-context":"Firebase Analytics is not supported in this environment. Wrap initialization of analytics in analytics.isSupported() to prevent initialization in unsupported environments. Details: {$errorInfo}","indexeddb-unavailable":"IndexedDB unavailable or restricted in this environment. Wrap initialization of analytics in analytics.isSupported() to prevent initialization in unsupported environments. Details: {$errorInfo}","fetch-throttle":"The config fetch request timed out while in an exponential backoff state. Unix timestamp in milliseconds when fetch request throttling ends: {$throttleEndTimeMillis}.","config-fetch-failed":"Dynamic config fetch failed: [{$httpStatus}] {$responseMessage}","no-api-key":'The "apiKey" field is empty in the local Firebase config. Firebase Analytics requires this field tocontain a valid API key.',"no-app-id":'The "appId" field is empty in the local Firebase config. Firebase Analytics requires this field tocontain a valid app ID.',"no-client-id":'The "client_id" field is empty.',"invalid-gtag-resource":"Trusted Types detected an invalid gtag resource: {$gtagURL}."});function bn(e){if(!e.startsWith(ge)){const t=p.create("invalid-gtag-resource",{gtagURL:e});return d.warn(t.message),""}return e}function rt(e){return Promise.all(e.map(t=>t.catch(n=>n)))}function wn(e,t){const n=function Tn(e,t){let n;return window.trustedTypes&&(n=window.trustedTypes.createPolicy(e,t)),n}("firebase-js-sdk-policy",{createScriptURL:bn}),r=document.createElement("script"),i=`${ge}?l=${e}&id=${t}`;r.src=n?n?.createScriptURL(i):i,r.async=!0,document.head.appendChild(r)}function xn(e,t,n,r,i,s){return he.apply(this,arguments)}function he(){return(he=(0,l.Z)(function*(e,t,n,r,i,s){const o=r[i];try{if(o)yield t[o];else{const a=(yield rt(n)).find(u=>u.measurementId===i);a&&(yield t[a.appId])}}catch(c){d.error(c)}e("config",i,s)})).apply(this,arguments)}function An(e,t,n,r,i){return me.apply(this,arguments)}function me(){return(me=(0,l.Z)(function*(e,t,n,r,i){try{let s=[];if(i&&i.send_to){let o=i.send_to;Array.isArray(o)||(o=[o]);const c=yield rt(n);for(const a of o){const u=c.find(x=>x.measurementId===a),f=u&&t[u.appId];if(!f){s=[];break}s.push(f)}}0===s.length&&(s=Object.values(t)),yield Promise.all(s),e("event",r,i||{})}catch(s){d.error(s)}})).apply(this,arguments)}function Cn(e){const t=window.document.getElementsByTagName("script");for(const n of Object.values(t))if(n.src&&n.src.includes(ge)&&n.src.includes(e))return n;return null}const it=new class Rn{constructor(t={},n=1e3){this.throttleMetadata=t,this.intervalMillis=n}getThrottleMetadata(t){return this.throttleMetadata[t]}setThrottleMetadata(t,n){this.throttleMetadata[t]=n}deleteThrottleMetadata(t){delete this.throttleMetadata[t]}};function Pn(e){return new Headers({Accept:"application/json","x-goog-api-key":e})}function Mn(e){return ye.apply(this,arguments)}function ye(){return(ye=(0,l.Z)(function*(e){var t;const{appId:n,apiKey:r}=e,i={method:"GET",headers:Pn(r)},s=In.replace("{app-id}",n),o=yield fetch(s,i);if(200!==o.status&&304!==o.status){let c="";try{const a=yield o.json();null!==(t=a.error)&&void 0!==t&&t.message&&(c=a.error.message)}catch{}throw p.create("config-fetch-failed",{httpStatus:o.status,responseMessage:c})}return o.json()})).apply(this,arguments)}function On(e){return Ie.apply(this,arguments)}function Ie(){return(Ie=(0,l.Z)(function*(e,t=it,n){const{appId:r,apiKey:i,measurementId:s}=e.options;if(!r)throw p.create("no-app-id");
1if(!i){if(s)return{measurementId:s,appId:r};throw p.create("no-api-key")}const o=t.getThrottleMetadata(r)||{backoffCount:0,throttleEndTimeMillis:Date.now()},c=new $n;return setTimeout((0,l.Z)(function*(){c.abort()}),void 0!==n?n:6e4),st({appId:r,apiKey:i,measurementId:s},o,c,t)})).apply(this,arguments)}function st(e,t,n){return _e.apply(this,arguments)}function _e(){return(_e=(0,l.Z)(function*(e,{throttleEndTimeMillis:t,backoffCount:n},r,i=it){var s;const{appId:o,measurementId:c}=e;try{yield Ln(r,t)}catch(a){if(c)return d.warn(`Timed out fetching this Firebase app's measurement ID from the server. Falling back to the measurement ID ${c} provided in the "measurementId" field in the local Firebase config. [${a?.message}]`),{appId:o,measurementId:c};throw a}try{const a=yield Mn(e);return i.deleteThrottleMetadata(o),a}catch(a){const u=a;if(!Fn(u)){if(i.deleteThrottleMetadata(o),c)return d.warn(`Failed to fetch this Firebase app's measurement ID from the server. Falling back to the measurement ID ${c} provided in the "measurementId" field in the local Firebase config. [${u?.message}]`),{appId:o,measurementId:c};throw a}const f=503===Number(null===(s=u?.customData)||void 0===s?void 0:s.httpStatus)?(0,g.$s)(n,i.intervalMillis,30):(0,g.$s)(n,i.intervalMillis),x={throttleEndTimeMillis:Date.now()+f,backoffCount:n+1};return i.setThrottleMetadata(o,x),d.debug(`Calling attemptFetch again in ${f} millis`),st(e,x,r,i)}})).apply(this,arguments)}function Ln(e,t){return new Promise((n,r)=>{const i=Math.max(t-Date.now(),0),s=setTimeout(n,i);e.addEventListener(()=>{clearTimeout(s),r(p.create("fetch-throttle",{throttleEndTimeMillis:t}))})})}function Fn(e){if(!(e instanceof g.ZR&&e.customData))return!1;const t=Number(e.customData.httpStatus);return 429===t||500===t||503===t||504===t}class $n{constructor(){this.listeners=[]}addEventListener(t){this.listeners.push(t)}abort(){this.listeners.forEach(t=>t())}}let be,Ee;function Te(){return(Te=(0,l.Z)(function*(e,t,n,r,i){if(i&&i.global)e("event",n,r);else{const s=yield t;e("event",n,Object.assign(Object.assign({},r),{send_to:s}))}})).apply(this,arguments)}function ot(e){Ee=e}function at(e){be=e}function Un(){return Ce.apply(this,arguments)}function Ce(){return(Ce=(0,l.Z)(function*(){if(!(0,g.hl)())return d.warn(p.create("indexeddb-unavailable",{errorInfo:"IndexedDB is not available in this environment."}).message),!1;try{yield(0,g.eu)()}catch(e){return d.warn(p.create("indexeddb-unavailable",{errorInfo:e?.toString()}).message),!1}return!0})).apply(this,arguments)}function De(){return(De=(0,l.Z)(function*(e,t,n,r,i,s,o){var c;const a=On(e);a.then(b=>{n[b.measurementId]=b.appId,e.options.measurementId&&b.measurementId!==e.options.measurementId&&d.warn(`The measurement ID in the local Firebase config (${e.options.measurementId}) does not match the measurement ID fetched from the server (${b.measurementId}). To ensure analytics events are always sent to the correct Analytics property, update the measurement ID field in the local config or remove it from the local config.`)}).catch(b=>d.error(b)),t.push(a);const u=Un().then(b=>{if(b)return r.getId()}),[f,x]=yield Promise.all([a,u]);Cn(s)||wn(s,f.measurementId),Ee&&(i("consent","default",Ee),ot(void 0)),i("js",new Date);const P=null!==(c=o?.config)&&void 0!==c?c:{};return P.origin="firebase",P.update=!0,null!=x&&(P[hn]=x),i("config",f.measurementId,P),be&&(i("set",be),at(void 0)),f.measurementId})).apply(this,arguments)}class zn{constructor(t){this.app=t}_delete(){return delete m[this.app.options.appId],Promise.resolve()}}let m={},ct=[];const ut={};let dt,y,R="dataLayer",ke=!1;function Wn(e,t,n){!function Kn(){const e=[];if((0,g.ru)()&&e.push("This is a browser extension environment."),(0,g.zI)()||e.push("Cookies are not available."),e.length>0){const t=e.map((r,i)=>`(${i+1}) ${r}`).join(" "),n=p.create("invalid-analytics-context",{errorInfo:t});d.warn(n.message)}}();const r=e.options.appId;if(!r)throw p.create("no-app-id");if(!e.options.apiKey){if(!e.options.measurementId)throw p.create("no-api-key");d.warn(`The "apiKey" field is empty in the local Firebase config. This is needed to fetch the latest measurement ID for this Firebase app. Falling back to the measurement ID ${e.options.measurementId} provided in the "measurementId" field in the local Firebase config.`)}if(null!=m[r])throw p.create("already-exists",{id:r});if(!ke){!function vn(e){let t=[];Array.isArray(window[e])?t=window[e]:window[e]=t}(R);const{wrappedGtag:s,gtagCore:o}=function En(e,t,n,r,i){let s=function(...o){window[r].push(arguments)};return window[i]&&"function"==typeof window[i]&&(s=window[i]),window[i]=function Sn(e,t,n,r){function s(){return(s=(0,l.Z)(function*(o,...c){try{if("event"===o){const[a,u]=c;yield An(e,t,n,a,u)}else if("config"===o){const[a,u]=c;yield xn(e,t,n,r,a,u)}else if("consent"===o){const[a]=c;e("consent","update",a)}else if("get"===o){const[a,u,f]=c;e("get",a,u,f)}else if("set"===o){const[a]=c;e("set",a)}else e(o,...c)}catch(a){d.error(a)}})).apply(this,arguments)}return function i(o){return s.apply(this,arguments)}}(s,e,t,n),{gtagCore:s,wrappedGtag:window[i]}}(m,ct,ut,R,"gtag");y=s,dt=o,ke=!0}return m[r]=function Vn(e,t,n,r,i,s,o){return De.apply(this,arguments)}(e,ct,ut,t,dt,R,n),new zn(e)}function ft(e,t={}){const n=(0,h.qX)(e,k);if(n.isInitialized()){const i=n.getImmediate();if((0,g.vZ)(t,n.getOptions()))return i;throw p.create("already-initialized")}return n.initialize({options:t})}function pt(e,t,n,r){e=(0,g.m9)(e),function Nn(e,t,n,r,i){return Te.apply(this,arguments)}(y,m[e.app.options.appId],t,n,r).catch(i=>d.error(i))}const gt="@firebase/analytics";!function Hn(){(0,h.Xd)(new C.wA(k,(t,{options:n})=>Wn(t.getProvider("app").getImmediate(),t.getProvider("installations-internal").getImmediate(),n),"PUBLIC")),(0,h.Xd)(new C.wA("analytics-internal",function e(t){try{const n=t.getProvider(k).getImmediate();return{logEvent:(r,i,s)=>pt(n,r,i,s)}}catch(n){throw p.create("interop-component-reg-failed",{reason:n})}},"PRIVATE")),(0,h.KN)(gt,"0.10.0"),(0,h.KN)(gt,"0.10.0","esm2017")}()}}]);

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