PageSourceSearch

https://mythopia.io/chunk-WGQ2YRGK.js

js mythopia.io collected 2026-10-03 02:51:03 UTC 1,298 bytes, 1 lines download raw bytes

1import{a as l}from"./chunk-QQ7UA7ME.js";import{N as u,Qc as o,S as s,ra as f}from"./chunk-C55ULECF.js";var g=(()=>{class i{constructor(){this.platformId=s(f),this.analytics=s(l),this.pendingEvents=[],this.flushTimeoutId=null}trackEvent(t,n,e){if(!o(this.platformId))return;this.analytics.requestLoadFromEvent();let r=window.gtag;if(typeof r!="function"){this.queueEvent({eventName:t,eventDetails:n,eventCategory:e});return}this.flushPendingEvents(),r("event",t,{event_category:e,event_label:t,value:n})}queueEvent(t){this.pendingEvents.push(t),!(this.flushTimeoutId!==null||typeof window>"u")&&(this.flushTimeoutId=window.setTimeout(()=>{this.flushTimeoutId=null,this.flushPendingEvents()},800))}flushPendingEvents(){if(!o(this.platformId)||!this.pendingEvents.length)return;let t=window.gtag;if(typeof t!="function"){this.pendingEvents.length&&typeof window<"u"&&(this.flushTimeoutId=window.setTimeout(()=>{this.flushTimeoutId=null,this.flushPendingEvents()},1200));return}let n=[...this.pendingEvents];this.pendingEvents=[];for(let e of n)t("event",e.eventName,{event_category:e.eventCategory,event_label:e.eventName,value:e.eventDetails})}static{this.\u0275fac=function(n){return new(n||i)}}static{this.\u0275prov=u({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();export{g as a};

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.