Input: !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="1dade642-3b4c-46cd-b18e-7f950e1dc309",e._sentryDebugIdIdentifier="sentry-dbid-1dade642-3b4c-46cd-b18e-7f950e1dc309")}catch(e){}}(),function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="1dade642-3b4c-46cd-b18e-7f950e1dc309",e._sentryDebugIdIdentifier="sentry-dbid-1dade642-3b4c-46cd-b18e-7f950e1dc309")}catch(e){}}(),function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="1dade642-3b4c-46cd-b18e-7f950e1dc309",e._sentryDebugIdIdentifier="sentry-dbid-1dade642-3b4c-46cd-b18e-7f950e1dc309")}catch(e){}}(),(self.webpackChunktwitch_twilight=self.webpackChunktwitch_twilight||[]).push([[54324],{67043:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assignmentCacheFactory=void 0;const n=r(821552),i=r(382415),s=r(954035),a=r(171726),o=r(541479);t.assignmentCacheFactory=function({forceMemoryOnly:e=!1,chromeStorage:t,storageKeySuffix:r}){const u=new o.default;if(e)return u;if(t){const e=new i.default(t);return new s.default(u,e)}if((0,n.hasWindowLocalStorage)()){const e=new a.LocalStorageAssignmentCache(r);return new s.default(u,e)}return u}},382415:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(123231),i=r(330802);t.default=class{constructor(e){this.storage=new i.default(e)}set(e){this.storage.set((0,n.assignmentCacheKeyToString)(e),(0,n.assignmentCacheValueToString)(e))}has(e){throw new Error("This should never be called for ChromeStorageAssignmentCache, use getEntries() instead.")}async getEntries(){const e=await this.storage.entries();return Object.entries(e).map((([e,t])=>[e,t]))}}},330802:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=class{constructor(e){this.storage=e}async has(e){return!!await this.get(e)}async get(e){var t;const r=await this.storage.get(e);return null!==(t=null==r?void 0:r[e])&&void 0!==t?t:void 0}async entries(){return await this.storage.get(null)}async set(e,t){await this.storage.set({[e]:t})}}},954035:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=class{constructor(e,t){this.servingStore=e,this.persistentStore=t}async init(){const e=await this.persistentStore.getEntries();e&&this.servingStore.setEntries(e)}set(e){this.servingStore.set(e),this.persistentStore.set(e)}has(e){return this.servingStore.has(e)}}},171726:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LocalStorageAssignmentCache=void 0;const n=r(123231),i=r(100135);class s extends n.AbstractAssignmentCache{constructor(e){super(new i.LocalStorageAssignmentShim(e))}setEntries(e){e.forEach((([e,t])=>{e&&t&&this.delegate.set(e,t)}))}getEntries(){return Promise.resolve(Array.from(this.entries()))}}t.LocalStorageAssignmentCache=s},100135:(e,t,r)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.LocalStorageAssignmentShim=void 0;const i=r(821552);class s{constructor(e){if(this.size=this.getCache().size,this[n]=this.getCache()[Symbol.toStringTag],!(0,i.hasWindowLocalStorage)())throw new Error("LocalStorage is not available");const t=e?`-${e}`:"";this.localStorageKey=`eppo-assignment${t}`}clear(){this.getCache().clear()}delete(e){return this.getCache().delete(e)}forEach(e,t){this.getCache().forEach(e,t)}entries(){return this.getCache().entries()}keys(){return this.getCache().keys()}values(){return this.getCache().values()}[Symbol.iterator](){return this.getCache()[Symbol.iterator]()}has(e){return this.getCache().has(e)}get(e){var t;return null!==(t=this.getCache().get(e))&&void 0!==t?t:void 0}set(e,t){return this.setCache(this.getCache().set(e,t))}getCache(){const e=window.localStorage.getItem(this.localStorageKey);return e?new Map(JSON.parse(e)):new Map}setCache(e){return window.localStorage.setItem(this.localStorageKey,JSON.stringify(Array.from(e.entries()))),this}}t.LocalStorageAssignmentShim=s,n=Symbol.toStringTag},541479:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(123231);t.default=class{constructor(){this.store=new Map,this.cache=new n.NonExpiringInMemoryAssignmentCache(this.store)}set(e){this.cache.set(e)}has(e){return this.cache.has(e)}setEntries(e){const{store:t}=this;e.forEach((([e,r])=>t.set(e,r)))}getEntries(){return Promise.resolve(Array.from(this.cache.entries()))}}},806814:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChromeStorageEngine=void 0;const n=r(554406);t.ChromeStorageEngine=class{constructor(e,t){this.storageMap=e,this.getContentsJsonString=async()=>{const e=await this.storageMap.get(this.contentsKey);return null!=e?e:null},this.getMetaJsonString=async()=>{const e=await this.storageMap.get(this.metaKey);return null!=e?e:null},this.setContentsJsonString=async e=>{await this.storageMap.set(this.contentsKey,e)},this.setMetaJsonString=async e=>{await this.storageMap.set(this.metaKey,e)};const r=t?`-${t}`:"";this.contentsKey=n.CONFIGURATION_KEY+r,this.metaKey=n.META_KEY+r}}},883983:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ConfigSource=t.ConfigLoaderStatus=void 0,function(e){e[e.FAILED=0]="FAILED",e[e.DID_NOT_PRODUCE=1]="DID_NOT_PRODUCE",e[e.COMPLETED=2]="COMPLETED"}(t.ConfigLoaderStatus||(t.ConfigLoaderStatus={})),function(e){e[e.CONFIG_STORE=0]="CONFIG_STORE",e[e.FETCH=1]="FETCH",e[e.NONE=2]="NONE"}(t.ConfigSource||(t.ConfigSource={}))},821552:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.localStorageIfAvailable=t.hasWindowLocalStorage=t.chromeStorageIfAvailable=t.hasChromeStorage=t.overrideStorageFactory=t.configurationStorageFactory=t.precomputedBanditStoreFactory=t.precomputedFlagsStorageFactory=void 0;const n=r(123231),i=r(330802),s=r(806814),a=r(772557),o=r(137309),u=r(554406),c=r(297029);function l(){return"undefined"!=typeof chrome&&!!chrome.storage}function d(){try{return"undefined"!=typeof window&&!!window.localStorage}catch(e){return!1}}t.precomputedFlagsStorageFactory=function(){return new n.MemoryOnlyConfigurationStore},t.precomputedBanditStoreFactory=function(){return new n.MemoryOnlyConfigurationStore},t.configurationStorageFactory=function({maxAgeSeconds:e=0,servingStoreUpdateStrategy:t="always",hasChromeStorage:r=!1,hasWindowLocalStorage:u=!1,persistentStore:l,forceMemoryOnly:d=!1},{chromeStorage:h,windowLocalStorage:f,storageKeySuffix:p}={}){if(d)return new n.MemoryOnlyConfigurationStore;if(l)return new a.IsolatableHybridConfigurationStore(new n.MemoryStore,l,t);if(r&&h){const r=new s.ChromeStorageEngine(new i.default(h),null!=p?p:"");return new a.IsolatableHybridConfigurationStore(new n.MemoryStore,new c.StringValuedAsyncStore(r,e),t)}if(u&&f){const r=new o.LocalStorageEngine(f,null!=p?p:"");return new a.IsolatableHybridConfigurationStore(new n.MemoryStore,new c.StringValuedAsyncStore(r,e),t)}return new n.MemoryOnlyConfigurationStore},t.overrideStorageFactory=function({hasWindowLocalStorage:e=!1,forceMemoryOnly:t=!1},{windowLocalStorage:r,storageKey:i=u.OVERRIDES_KEY}={}){const s=new n.MemoryStore;if(!t&&e&&r){const e=r.getItem(i);if(e){const t=JSON.parse(e);s.setEntries(t)}}return s},t.hasChromeStorage=l,t.chromeStorageIfAvailable=function(){return l()?chrome.storage.local:void 0},t.hasWindowLocalStorage=d,t.localStorageIfAvailable=function(){return d()?window.localStorage:void 0}},851684:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=class{constructor(){if(this.listeners=[],this.debounceTimer=null,"undefined"==typeof window)throw new Error("BrowserNetworkStatusListener can only be used in a browser environment");this._isOffline="boolean"==typeof navigator.onLine&&!navigator.onLine,window.addEventListener("offline",(()=>this.notifyListeners(!0))),window.addEventListener("online",(()=>this.notifyListeners(!1)))}isOffline(){return this._isOffline}onNetworkStatusChange(e){this.listeners.push(e)}removeNetworkStatusChange(e){const t=this.listeners.indexOf(e);-1!==t&&this.listeners.splice(t,1)}notifyListeners(e){this.debounceTimer&&clearTimeout(this.debounceTimer),this.debounceTimer=setTimeout((()=>{this._isOffline=e,[...this.listeners].forEach((t=>t(e)))}),200)}}},30136:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(123231),i=r(359721);class s{constructor(e){this.name=e,this.eventKeys=[],this.localStorageKey=`eventQueue:${this.name}`,this.loadStateFromLocalStorage()}splice(e){const t=Array.from({length:e},(()=>this.shift()));return(0,i.takeWhile)(t,(e=>void 0!==e))}isEmpty(){return 0===this.length}get length(){return this.eventKeys.length}push(e){const t=this.generateEventKey(e),r=JSON.stringify(e);localStorage.setItem(t,r),this.eventKeys.push(t),this.saveStateToLocalStorage()}*[Symbol.iterator](){for(const e of this.eventKeys){const t=localStorage.getItem(e);t&&(yield JSON.parse(t))}}shift(){if(0===this.eventKeys.length)return;const e=this.eventKeys.shift();if(!e)throw new Error("Unexpected undefined event key");const t=localStorage.getItem(e);return t?(localStorage.removeItem(e),this.saveStateToLocalStorage(),JSON.parse(t)):void 0}loadStateFromLocalStorage(){const e=localStorage.getItem(this.localStorageKey);if(e)try{this.eventKeys=JSON.parse(e)}catch(e){n.applicationLogger.error(`Failed to parse event queue ${this.name} state. Initializing empty queue.`),this.eventKeys=[]}}saveStateToLocalStorage(){const e=JSON.stringify(this.eventKeys);localStorage.setItem(this.localStorageKey,e)}generateEventKey(e){const t=this.hashEvent(e);return`eventQueue:${this.name}:${t}`}hashEvent(e){const t=JSON.stringify(e);let r=0;for(let e=0;e<t.length;e++)r=(r<<5)-r+t.charCodeAt(e),r|=0;return r.toString(36)}}t.default=s},631265:(e,t,r)=>{"use strict";t.ge=t.LR=void 0;const n=r(123231),i=r(67043),s=r(954035),a=r(883983),o=r(821552),u=r(851684),c=r(30136),l=r(573142);var d=r(123231);var h=r(806814);const f=(0,o.configurationStorageFactory)({forceMemoryOnly:!0}),p=(0,o.precomputedFlagsStorageFactory)(),g=(0,o.precomputedBanditStoreFactory)();t.LR={attachContext:()=>{},dispatch:()=>{}};class m extends n.EppoClient{constructor(){super(...arguments),this.initialized=!1}getStringAssignment(e,t,r,n){return this.ensureInitialized(),super.getStringAssignment(e,t,r,n)}getStringAssignmentDetails(e,t,r,n){return this.ensureInitialized(),super.getStringAssignmentDetails(e,t,r,n)}getBoolAssignment(e,t,r,n){return this.getBooleanAssignment(e,t,r,n)}getBooleanAssignment(e,t,r,n){return this.ensureInitialized(),super.getBooleanAssignment(e,t,r,n)}getBooleanAssignmentDetails(e,t,r,n){return this.ensureInitialized(),super.getBooleanAssignmentDetails(e,t,r,n)}getIntegerAssignment(e,t,r,n){return this.ensureInitialized(),super.getIntegerAssignment(e,t,r,n)}getIntegerAssignmentDetails(e,t,r,n){return this.ensureInitialized(),super.getIntegerAssignmentDetails(e,t,r,n)}getNumericAssignment(e,t,r,n){return this.ensureInitialized(),super.getNumericAssignment(e,t,r,n)}getNumericAssignmentDetails(e,t,r,n){return this.ensureInitialized(),super.getNumericAssignmentDetails(e,t,r,n)}getJSONAssignment(e,t,r,n){return this.ensureInitialized(),super.getJSONAssignment(e,t,r,n)}getJSONAssignmentDetails(e,t,r,n){return this.ensureInitialized(),super.getJSONAssignmentDetails(e,t,r,n)}getBanditAction(e,t,r,n,i){return this.ensureInitialized(),super.getBanditAction(e,t,r,n,i)}getBanditActionDetails(e,t,r,n,i){return this.ensureInitialized(),super.getBanditActionDetails(e,t,r,n,i)}getExperimentContainerEntry(e,t,r){return this.ensureInitialized(),super.getExperimentContainerEntry(e,t,r)}ensureInitialized(){this.initialized||n.applicationLogger.warn("Eppo SDK assignment requested before init() completed")}async init(e){var r;let d;n.validation.validateNotBlank(e.apiKey,"API key required");const{apiKey:h,persistentStore:f,baseUrl:p,maxCacheAgeSeconds:g,updateOnFetch:m,requestTimeoutMs:y,numInitialRequestRetries:E,numPollRequestRetries:b,pollingIntervalMs:_,pollAfterSuccessfulInitialization:S=!1,pollAfterFailedInitialization:O=!1,skipInitialRequest:A=!1,eventTracking:w,enableOverrides:C=!1}=e;try{this.stopPolling(),this.setAssignmentLogger(e.assignmentLogger),e.banditLogger&&this.setBanditLogger(e.banditLogger);const r=v(h),I=(0,o.configurationStorageFactory)({maxAgeSeconds:g,servingStoreUpdateStrategy:m,persistentStore:f,hasChromeStorage:(0,o.hasChromeStorage)(),hasWindowLocalStorage:(0,o.hasWindowLocalStorage)()},{chromeStorage:(0,o.chromeStorageIfAvailable)(),windowLocalStorage:(0,o.localStorageIfAvailable)(),storageKeySuffix:r});if(I.setFormat(n.FormatEnum.CLIENT),this.setFlagConfigurationStore(I),C){const t=(0,o.overrideStorageFactory)({hasWindowLocalStorage:(0,o.hasWindowLocalStorage)()},{windowLocalStorage:(0,o.localStorageIfAvailable)(),storageKey:e.overridesStorageKey});this.setOverrideStore(t)}else this.unsetOverrideStore();const T=(0,i.assignmentCacheFactory)({chromeStorage:(0,o.chromeStorageIfAvailable)(),storageKeySuffix:r});T instanceof s.default&&await T.init(),this.useCustomAssignmentCache(T);const N={apiKey:h,sdkName:l.sdkName,sdkVersion:l.sdkVersion,baseUrl:p,requestTimeoutMs:y,numInitialRequestRetries:E,numPollRequestRetries:b,pollAfterSuccessfulInitialization:S,pollAfterFailedInitialization:O,pollingIntervalMs:_,throwOnFailedInitialization:!0,skipInitialPoll:A};let R,P;this.setConfigurationRequestParameters(N),this.setEventDispatcher(function(e,r={}){const{batchSize:i=1e3,deliveryIntervalMs:s=1e4,enabled:a=!1,maxQueueSize:l=1e4,maxRetries:d=3,maxRetryDelayMs:h=3e4,retryIntervalMs:f=5e3}=r;if(!a)return t.LR;const p=(0,o.hasWindowLocalStorage)()?new c.default("events"):new n.BoundedEventQueue("events",[],l),g={isOffline:()=>!1,onNetworkStatusChange:()=>{}},m="undefined"!=typeof window?new u.default:g;return(0,n.newDefaultEventDispatcher)(p,m,e,i,{deliveryIntervalMs:s,retryIntervalMs:f,maxRetryDelayMs:h,maxRetries:d})}(h,w));const L=I.init().then((async()=>{if(!I.getKeys().length)return n.applicationLogger.warn("Eppo SDK cached configuration is empty"),R=new Error("Configuration store was empty"),a.ConfigLoaderStatus.DID_NOT_PRODUCE;const t=await I.isExpired();return t&&!e.useExpiredCache?(n.applicationLogger.warn("Eppo SDK set not to use expired cached configuration"),R=new Error("Configuration store was expired"),a.ConfigLoaderStatus.DID_NOT_PRODUCE):(t&&e.useExpiredCache&&n.applicationLogger.warn("Eppo SDK config.useExpiredCache is true; using expired cache"),a.ConfigLoaderStatus.COMPLETED)})).catch((e=>(n.applicationLogger.warn("Eppo SDK encountered an error initializing from the configuration store",e),R=e,a.ConfigLoaderStatus.FAILED))).then((e=>({source:a.ConfigSource.CONFIG_STORE,result:e}))),j=this.fetchFlagConfigurations().then((()=>I.isInitialized()?a.ConfigLoaderStatus.COMPLETED:a.ConfigLoaderStatus.DID_NOT_PRODUCE)).catch((e=>(n.applicationLogger.warn("Eppo SDK encountered an error initializing from fetching",e),P=e,a.ConfigLoaderStatus.FAILED))).then((e=>({source:a.ConfigSource.FETCH,result:e}))),x=[L];let D;e.skipInitialRequest||x.push(j);const{source:M,result:k}=await Promise.race(x);if(k===a.ConfigLoaderStatus.COMPLETED)D=M;else{const e=M===a.ConfigSource.FETCH?L:j;D=await e.then((e=>{const{source:t,result:r}=e;return r===a.ConfigLoaderStatus.COMPLETED?t:a.ConfigSource.NONE}))}D===a.ConfigSource.NONE&&(d=P||(R||new Error("Eppo SDK: No configuration source produced a valid configuration"))),n.applicationLogger.debug("Initialization source",D)}catch(e){d=e instanceof Error?e:new Error(String(e))}if(d&&(n.applicationLogger.warn("Eppo SDK was unable to initialize with a configuration, assignment calls will return the default value and not be logged"+(e.pollAfterFailedInitialization?" until an experiment configuration is successfully retrieved":"")),null===(r=e.throwOnFailedInitialization)||void 0===r||r))throw d;return this.initialized=!0,this}offlineInit(e){var t,r,s;const a=null!==(t=e.isObfuscated)&&void 0!==t&&t,u=null===(r=e.throwOnFailedInitialization)||void 0===r||r,c=null!==(s=e.enableOverrides)&&void 0!==s&&s;try{const t=(0,o.configurationStorageFactory)({forceMemoryOnly:!0});if(t.setFormat(a?n.FormatEnum.CLIENT:n.FormatEnum.SERVER),t.setEntries(e.flagsConfiguration).catch((e=>n.applicationLogger.warn("Error setting flags for memory-only configuration store",e))),this.setFlagConfigurationStore(t),c){const t=(0,o.overrideStorageFactory)({hasWindowLocalStorage:(0,o.hasWindowLocalStorage)()},{windowLocalStorage:(0,o.localStorageIfAvailable)(),storageKey:e.overridesStorageKey});this.setOverrideStore(t)}else this.unsetOverrideStore();e.assignmentLogger&&this.setAssignmentLogger(e.assignmentLogger),e.banditLogger&&this.setBanditLogger(e.banditLogger);const r="offline",s=(0,i.assignmentCacheFactory)({storageKeySuffix:r,forceMemoryOnly:!0});this.useCustomAssignmentCache(s)}catch(e){if(n.applicationLogger.warn("Eppo SDK encountered an error initializing, assignment calls will return the default value and not be logged"),u)throw e}this.initialized=!0}}function v(e){return e.replace(/\W/g,"").substring(0,8)}m.instance=new m({flagConfigurationStore:f}),m.initialized=!1,t.ge=function(e){const t=E();return t.offlineInit(e),m.initialized=!0,t};let y=null;function E(){return m.instance}class b extends n.EppoPrecomputedClient{getStringAssignment(e,t){return b.getAssignmentInitializationCheck(),super.getStringAssignment(e,t)}getBooleanAssignment(e,t){return b.getAssignmentInitializationCheck(),super.getBooleanAssignment(e,t)}getIntegerAssignment(e,t){return b.getAssignmentInitializationCheck(),super.getIntegerAssignment(e,t)}getNumericAssignment(e,t){return b.getAssignmentInitializationCheck(),super.getNumericAssignment(e,t)}getJSONAssignment(e,t){return b.getAssignmentInitializationCheck(),super.getJSONAssignment(e,t)}getBanditAction(e,t){return b.getAssignmentInitializationCheck(),super.getBanditAction(e,t)}static getAssignmentInitializationCheck(){m.initialized||n.applicationLogger.warn("Eppo SDK assignment requested before init() completed")}}b.instance=new b({precomputedFlagStore:p,subject:{subjectKey:"",subjectAttributes:{}}}),b.initialized=!1},772557:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IsolatableHybridConfigurationStore=void 0;const n=r(123231);class i extends n.HybridConfigurationStore{constructor(e,t,r="always"){super(e,t),this.servingStoreUpdateStrategy=r}async setEntries(e){var t;this.persistentStore&&await this.persistentStore.setEntries(e);const r=!this.persistentStore||await this.persistentStore.isExpired(),n=!(null===(t=this.servingStore.getKeys())||void 0===t?void 0:t.length),i="always"===this.servingStoreUpdateStrategy||r&&"expired"===this.servingStoreUpdateStrategy||r&&n;return i&&this.servingStore.setEntries(e),i}}t.IsolatableHybridConfigurationStore=i},137309:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LocalStorageEngine=void 0;const n=r(554406);t.LocalStorageEngine=class{constructor(e,t){this.localStorage=e,this.getContentsJsonString=async()=>this.localStorage.getItem(this.contentsKey),this.getMetaJsonString=async()=>this.localStorage.getItem(this.metaKey),this.setContentsJsonString=async e=>{this.localStorage.setItem(this.contentsKey,e)},this.setMetaJsonString=async e=>{this.localStorage.setItem(this.metaKey,e)};const r=t?`-${t}`:"";this.contentsKey=n.CONFIGURATION_KEY+r,this.metaKey=n.META_KEY+r}}},573142:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sdkName=t.sdkVersion=void 0;const n=r(670299);t.sdkVersion=n.version,t.sdkName="js-client-sdk"},554406:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OVERRIDES_KEY=t.META_KEY=t.CONFIGURATION_KEY=void 0,t.CONFIGURATION_KEY="eppo-configuration",t.META_KEY="eppo-configuration-meta",t.OVERRIDES_KEY="eppo-overrides"},297029:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StringValuedAsyncStore=void 0;t.StringValuedAsyncStore=class{constructor(e,t=0){this.storageEngine=e,this.cooldownSeconds=t,this.initialized=!1}isInitialized(){return this.initialized}async isExpired(){if(!this.cooldownSeconds)return!0;const e=await this.storageEngine.getMetaJsonString();let t=!0;if(e){const r=JSON.parse(e).lastUpdatedAtMs;t=!r||Date.now()-r>1e3*this.cooldownSeconds}return t}async entries(){const e=await this.storageEngine.getContentsJsonString();return e?JSON.parse(e):{}}async setEntries(e){await this.storageEngine.setContentsJsonString(JSON.stringify(e));const t={lastUpdatedAtMs:(new Date).getTime()};await this.storageEngine.setMetaJsonString(JSON.stringify(t)),this.initialized=!0}}},359721:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.takeWhile=void 0,t.takeWhile=function(e,t){const r=[];for(const n of e){if(!t(n))break;r.push(n)}return r}},127660:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(723490);t.default=class{constructor(e){var t;this.params=e,this.params.baseUrl=null!==(t=e.baseUrl)&&void 0!==t?t:n.BASE_URL}endpoint(e){const t=`${this.params.baseUrl}${e}`,r=this.params.queryParams;if(!r)return t;const n=new URLSearchParams;return Object.entries(r).forEach((([e,t])=>n.append(e,t))),`${t}?${n}`}ufcEndpoint(){return this.endpoint(n.UFC_ENDPOINT)}banditParametersEndpoint(){return this.endpoint(n.BANDIT_ENDPOINT)}precomputedFlagsEndpoint(){return this.endpoint(n.PRECOMPUTED_FLAGS_ENDPOINT)}}},328902:(e,t,r)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.logger=t.loggerPrefix=void 0;const i=r(44874);t.loggerPrefix="[Eppo SDK]",t.logger=(0,i.default)({level:null!==(n={API_BASE_URL:void 0,CDN_URL:"https://assets.twitch.tv/",GQL_BASE_URL:void 0,PASSPORT_BASE_URL:void 0,INTERPOL_BASE_URL:void 0,PUBSUB_ENV:void 0,TMI_BASE_URL:void 0,MANIFEST_URL:"https://assets.twitch.tv/config/manifest.json?v=1",NODE_ENV:"production",PLAYER_BASE_URL:"https://player.twitch.tv",IS_DEV_BUILD:!1,IS_STAGING_BUILD:!1,IS_LOCAL_DEVSERVER:!1}.LOG_LEVEL)&&void 0!==n?n:"warn",browser:{disabled:!0}})},889182:(e,t,r)=>{"use strict";var n=r(443693);function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){n(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function a(e){return Boolean("object"==typeof e&&e&&"numericAttributes"in e&&"categoricalAttributes"in e)}function o(e){const t={numericAttributes:{},categoricalAttributes:{}};return Object.entries(e).forEach((([e,r])=>{"number"==typeof r?t.numericAttributes[e]=r:t.categoricalAttributes[e]=r})),t}Object.defineProperty(t,"__esModule",{value:!0}),t.isInstanceOfContextualAttributes=a,t.ensureNonContextualSubjectAttributes=function(e){let t;if(a(e)){const r=e;t=s(s({},r.numericAttributes),r.categoricalAttributes)}else t=e;return t},t.ensureContextualSubjectAttributes=function(e){return a(e)?e:o(e)},t.deduceAttributeContext=o,t.ensureActionsWithContextualAttributes=function(e){let t={};Array.isArray(e)?e.forEach((e=>{t[e]={numericAttributes:{},categoricalAttributes:{}}})):Object.values(e).every(a)?t=e:Object.entries(e).forEach((([e,r])=>{t[e]=o(r)}));return t}},30033:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BanditEvaluator=void 0;const n=r(723490),i=r(736055);t.BanditEvaluator=class{constructor(){this.assignmentShards=n.BANDIT_ASSIGNMENT_SHARDS,this.sharder=new i.MD5Sharder}evaluateBestBanditAction(e,t,r){const n=this.scoreActions(e,t,r),{topAction:i}=this.getTopScore(n);return i}evaluateBandit(e,t,r,n,i){const s=this.scoreActions(r,n,i),a=this.weighActions(s,i.gamma,i.actionProbabilityFloor),o=this.selectAction(e,t,a),u=Object.values(s).reduce(((e,t)=>t>e?t:e),-1/0)-s[o];return{flagKey:e,subjectKey:t,subjectAttributes:r,actionKey:o,actionAttributes:n[o],actionScore:s[o],actionWeight:a[o],gamma:i.gamma,optimalityGap:u}}scoreActions(e,t,r){const n={};return Object.entries(t).forEach((([t,i])=>{let s=r.defaultActionScore;const a=r.coefficients[t];a&&(s=a.intercept,s+=this.scoreNumericAttributes(a.subjectNumericCoefficients,e.numericAttributes),s+=this.scoreCategoricalAttributes(a.subjectCategoricalCoefficients,e.categoricalAttributes),s+=this.scoreNumericAttributes(a.actionNumericCoefficients,i.numericAttributes),s+=this.scoreCategoricalAttributes(a.actionCategoricalCoefficients,i.categoricalAttributes)),n[t]=s})),n}scoreNumericAttributes(e,t){return e.reduce(((e,r)=>{const n=t[r.attributeKey];return"number"==typeof n&&isFinite(n)?e+=n*r.coefficient:e+=r.missingValueCoefficient,e}),0)}scoreCategoricalAttributes(e,t){return e.reduce(((e,r)=>{var n;const i=null===(n=t[r.attributeKey])||void 0===n?void 0:n.toString(),s=i&&r.valueCoefficients[i];return e+="number"==typeof s?s:r.missingValueCoefficient}),0)}weighActions(e,t,r){const n={},i=Object.entries(e);if(!i.length)return n;const{topScore:s,topAction:a}=this.getTopScore(e);if(null===s||null===a)throw new Error("Unable to find top score");const o=s,u=a,c=i.length,l=r/c;let d=0;return i.forEach((([e,r])=>{if(e===u)return;const i=1/(c+t*(o-r)),s=Math.max(i,l);d+=s,n[e]=s})),n[u]=Math.max(1-d,0),n}selectAction(e,t,r){const n=Object.entries(r).sort(((r,n)=>{let i=this.sharder.getShard(`${e}-${t}-${r[0]}`,this.assignmentShards)-this.sharder.getShard(`${e}-${t}-${n[0]}`,this.assignmentShards);return 0===i&&(i=r[0]<n[0]?-1:1),i})),i=this.sharder.getShard(`${e}-${t}`,this.assignmentShards)/this.assignmentShards;let s=0,a=null;for(const e of n)if(s+=e[1],s>i){a=e[0];break}if(null===a)throw new Error(`No bandit action selected for flag "${e}" and subject "${t}"`);return a}getTopScore(e){const t=Object.entries(e);let r=null,n=null;return t.forEach((([e,t])=>{(null===r||null===n||t>r||t===r&&e<n)&&(r=t,n=e)})),{topScore:r,topAction:n}}}},305397:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AbstractAssignmentCache=void 0,t.assignmentCacheKeyToString=i,t.assignmentCacheValueToString=s;const n=r(142060);function i({subjectKey:e,flagKey:t}){return(0,n.getMD5Hash)([e,t].join(";"))}function s(e){return(0,n.getMD5Hash)(Object.values(e).join(";"))}t.AbstractAssignmentCache=class{constructor(e){this.delegate=e}has(e){return this.get(e)===s(e)}get(e){return this.delegate.get(i(e))}set(e){this.delegate.set(i(e),s(e))}entries(){return this.delegate.entries()}}},158368:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LRUCache=void 0;class r{constructor(e){this.capacity=e,this.cache=new Map,this.size=this.cache.size}[(Symbol.toStringTag,Symbol.iterator)](){return this.cache[Symbol.iterator]()}forEach(e,t){this.cache.forEach(e,t)}entries(){return this.cache.entries()}clear(){this.cache.clear()}delete(e){return this.cache.delete(e)}keys(){return this.cache.keys()}values(){return this.cache.values()}has(e){return this.cache.has(e)}get(e){if(!this.has(e))return;const t=this.cache.get(e);return void 0!==t&&(this.delete(e),this.cache.set(e,t)),t}set(e,t){if(0===this.capacity)return this;if(this.cache.has(e))this.cache.delete(e);else if(this.cache.size>=this.capacity){const e=this.cache.keys().next().value;e&&this.delete(e)}return this.cache.set(e,t),this}}t.LRUCache=r},704814:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LRUInMemoryAssignmentCache=void 0;const n=r(305397),i=r(158368);class s extends n.AbstractAssignmentCache{constructor(e){super(new i.LRUCache(e))}}t.LRUInMemoryAssignmentCache=s},358651:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NonExpiringInMemoryAssignmentCache=void 0;const n=r(305397);class i extends n.AbstractAssignmentCache{constructor(e=new Map){super(e)}}t.NonExpiringInMemoryAssignmentCache=i},998350:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TLRUCache=void 0;const n=r(158368);class i extends n.LRUCache{constructor(e,t){super(e),this.maxSize=e,this.ttl=t,this.cacheEntriesTTLRegistry=new Map}getCacheEntryEvictionTime(){return new Date(Date.now()+this.ttl)}clearCacheEntryEvictionTimeIfExists(e){this.cacheEntriesTTLRegistry.has(e)&&this.cacheEntriesTTLRegistry.delete(e)}isCacheEntryValid(e){const t=new Date(Date.now()),r=this.cacheEntriesTTLRegistry.get(e);return void 0!==r&&t<r}setCacheEntryEvictionTime(e){this.cacheEntriesTTLRegistry.set(e,this.getCacheEntryEvictionTime())}resetCacheEntryEvictionTime(e){this.clearCacheEntryEvictionTimeIfExists(e),this.setCacheEntryEvictionTime(e)}evictExpiredCacheEntries(){let e;for(e of this.cache.keys()){if(this.isCacheEntryValid(e))break;this.delete(e)}}entries(){return this.evictExpiredCacheEntries(),super.entries()}keys(){return this.evictExpiredCacheEntries(),super.keys()}values(){return this.evictExpiredCacheEntries(),super.values()}delete(e){return this.clearCacheEntryEvictionTimeIfExists(e),super.delete(e)}has(e){return this.isCacheEntryValid(e)?this.cache.has(e):(this.delete(e),!1)}get(e){if(!this.isCacheEntryValid(e))return void this.delete(e);const t=super.get(e);return void 0!==t&&this.resetCacheEntryEvictionTime(e),t}set(e,t){const r=super.set(e,t);return this.resetCacheEntryEvictionTime(e),r}}t.TLRUCache=i},655096:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TLRUInMemoryAssignmentCache=void 0;const n=r(723490),i=r(305397),s=r(998350);class a extends i.AbstractAssignmentCache{constructor(e,t=n.DEFAULT_TLRU_TTL_MS){super(new s.TLRUCache(e,t))}}t.TLRUInMemoryAssignmentCache=a},252635:(e,t,r)=>{"use strict";var n=r(443693);function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){n(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}Object.defineProperty(t,"__esModule",{value:!0}),t.checkTypeMatch=x,t.checkValueTypeMatch=function(e,t){if(null==e)return!0;switch(e){case I.VariationType.STRING:return"string"==typeof t;case I.VariationType.BOOLEAN:return"boolean"==typeof t;case I.VariationType.INTEGER:return"number"==typeof t&&Number.isInteger(t);case I.VariationType.NUMERIC:return"number"==typeof t;case I.VariationType.JSON:return"string"==typeof t;default:return!1}};const a=r(611775),o=r(127660),u=r(328902),c=r(889182),l=r(30033),d=r(704814),h=r(358651),f=r(655096),p=r(371152),g=r(780952),m=r(738882),v=r(723490),y=r(178898),E=r(923481),b=r(742686),_=r(660359),S=r(164503),O=r(111385),A=r(518963),w=r(833027),C=r(271067),I=r(763483),T=r(142060),N=r(294364),R=r(348869),P=r(63071),L=r(793252),j=r(212911);function x(e,t){return void 0===e||t===e}t.default=class{constructor({eventDispatcher:e=new S.default,isObfuscated:t,flagConfigurationStore:r,banditVariationConfigurationStore:n,banditModelConfigurationStore:i,overrideStore:s,configurationRequestParameters:a}){this.assignmentEventsQueue=new _.BoundedEventQueue("assignments"),this.banditEventsQueue=new _.BoundedEventQueue("bandit"),this.banditEvaluator=new l.BanditEvaluator,this.isGracefulFailureMode=!0,this.evaluator=new b.Evaluator,this.overrideValidator=new N.OverrideValidator,this.eventDispatcher=e,this.flagConfigurationStore=r,this.banditVariationConfigurationStore=n,this.banditModelConfigurationStore=i,this.overrideStore=s,this.configurationRequestParameters=a,void 0!==t&&u.logger.warn("[Eppo SDK] specifying isObfuscated no longer has an effect and will be removed in the next major release; obfuscation is now inferred from the configuration, so you can safely remove the option.")}getConfiguration(){return this.configurationRequestor?this.configurationRequestor.getConfiguration():new C.StoreBackedConfiguration(this.flagConfigurationStore,this.banditVariationConfigurationStore,this.banditModelConfigurationStore)}async parseOverrides(e){if(!e)return;const t=this.overrideValidator.parseOverridePayload(e);return await this.overrideValidator.validateKey(t.browserExtensionKey),t.overrides}withOverrides(e){if(e&&Object.keys(e).length){const t=(0,P.shallowClone)(this);return t.overrideStore=new g.MemoryOnlyConfigurationStore,t.overrideStore.setEntries(e),t}return this}setConfigurationRequestParameters(e){this.configurationRequestParameters=e}setFlagConfigurationStore(e){this.flagConfigurationStore=e,this.updateConfigRequestorIfExists()}setBanditVariationConfigurationStore(e){this.banditVariationConfigurationStore=e,this.updateConfigRequestorIfExists()}setEventDispatcher(e){this.eventDispatcher=e}setContext(e,t){var r;null===(r=this.eventDispatcher)||void 0===r||r.attachContext(e,t)}setBanditModelConfigurationStore(e){this.banditModelConfigurationStore=e,this.updateConfigRequestorIfExists()}updateConfigRequestorIfExists(){this.configurationRequestor&&this.configurationRequestor.setConfigurationStores(this.flagConfigurationStore,this.banditVariationConfigurationStore||null,this.banditModelConfigurationStore||null)}setIsObfuscated(e){u.logger.warn("[Eppo SDK] setIsObfuscated no longer has an effect and will be removed in the next major release; obfuscation is now inferred from the configuration, so you can safely remove the call to this method.")}setOverrideStore(e){this.overrideStore=e}unsetOverrideStore(){this.overrideStore=void 0}getOverrideVariationKeys(){var e,t;return Object.fromEntries(Object.entries(null!==(e=null===(t=this.overrideStore)||void 0===t?void 0:t.entries())&&void 0!==e?e:{}).map((([e,t])=>[e,t.key])))}async fetchFlagConfigurations(){var e,t,r;if(!this.configurationRequestParameters)throw new Error("Eppo SDK unable to fetch flag configurations without configuration request parameters");null===(e=this.requestPoller)||void 0===e||e.stop();const{apiKey:n,sdkName:i,sdkVersion:s,baseUrl:a,requestTimeoutMs:c=v.DEFAULT_REQUEST_TIMEOUT_MS,numInitialRequestRetries:l=v.DEFAULT_INITIAL_CONFIG_REQUEST_RETRIES,numPollRequestRetries:d=v.DEFAULT_POLL_CONFIG_REQUEST_RETRIES,pollAfterSuccessfulInitialization:h=!1,pollAfterFailedInitialization:f=!1,throwOnFailedInitialization:g=!1,skipInitialPoll:m=!1}=this.configurationRequestParameters;let{pollingIntervalMs:y=v.DEFAULT_POLL_INTERVAL_MS}=this.configurationRequestParameters;y<=0&&(u.logger.error("pollingIntervalMs must be greater than 0. Using default"),y=v.DEFAULT_POLL_INTERVAL_MS);const E=new o.default({baseUrl:a,queryParams:{apiKey:n,sdkName:i,sdkVersion:s}}),b=new w.default(E,c),_=new p.default(b,this.flagConfigurationStore,null!==(t=this.banditVariationConfigurationStore)&&void 0!==t?t:null,null!==(r=this.banditModelConfigurationStore)&&void 0!==r?r:null);this.configurationRequestor=_;this.requestPoller=(0,R.default)(y,(async function(){if(await _.isFlagConfigExpired())return _.fetchAndStoreConfigurations()}),{maxStartRetries:l,maxPollRetries:d,pollAfterSuccessfulStart:h,pollAfterFailedStart:f,errorOnFailedStart:g,skipInitialPoll:m}),await this.requestPoller.start()}stopPolling(){this.requestPoller&&this.requestPoller.stop()}getStringAssignment(e,t,r,n){return this.getStringAssignmentDetails(e,t,r,n).variation}getStringAssignmentDetails(e,t,r,n){var i;const{eppoValue:s,flagEvaluationDetails:a}=this.getAssignmentVariation(e,t,r,E.EppoValue.String(n),I.VariationType.STRING);return{variation:null!==(i=s.stringValue)&&void 0!==i?i:n,action:null,evaluationDetails:a}}getBoolAssignment(e,t,r,n){return this.getBooleanAssignment(e,t,r,n)}getBooleanAssignment(e,t,r,n){return this.getBooleanAssignmentDetails(e,t,r,n).variation}getBooleanAssignmentDetails(e,t,r,n){var i;const{eppoValue:s,flagEvaluationDetails:a}=this.getAssignmentVariation(e,t,r,E.EppoValue.Bool(n),I.VariationType.BOOLEAN);return{variation:null!==(i=s.boolValue)&&void 0!==i?i:n,action:null,evaluationDetails:a}}getIntegerAssignment(e,t,r,n){return this.getIntegerAssignmentDetails(e,t,r,n).variation}getIntegerAssignmentDetails(e,t,r,n){var i;const{eppoValue:s,flagEvaluationDetails:a}=this.getAssignmentVariation(e,t,r,E.EppoValue.Numeric(n),I.VariationType.INTEGER);return{variation:null!==(i=s.numericValue)&&void 0!==i?i:n,action:null,evaluationDetails:a}}getNumericAssignment(e,t,r,n){return this.getNumericAssignmentDetails(e,t,r,n).variation}getNumericAssignmentDetails(e,t,r,n){var i;const{eppoValue:s,flagEvaluationDetails:a}=this.getAssignmentVariation(e,t,r,E.EppoValue.Numeric(n),I.VariationType.NUMERIC);return{variation:null!==(i=s.numericValue)&&void 0!==i?i:n,action:null,evaluationDetails:a}}getJSONAssignment(e,t,r,n){return this.getJSONAssignmentDetails(e,t,r,n).variation}getJSONAssignmentDetails(e,t,r,n){var i;const{eppoValue:s,flagEvaluationDetails:a}=this.getAssignmentVariation(e,t,r,E.EppoValue.JSON(n),I.VariationType.JSON);return{variation:null!==(i=s.objectValue)&&void 0!==i?i:n,action:null,evaluationDetails:a}}getBanditAction(e,t,r,n,i){const{variation:s,action:a}=this.getBanditActionDetails(e,t,r,n,i);return{variation:s,action:a}}getBestAction(e,t,r,n){var i;const s=this.getConfiguration();let a=null;const o=s.getFlagBanditVariations(e),u=null==o||null===(i=o.at(0))||void 0===i?void 0:i.key;if(u){const e=s.getBandit(u);if(e){const n=(0,c.ensureContextualSubjectAttributes)(t),i=(0,c.ensureActionsWithContextualAttributes)(r);a=this.banditEvaluator.evaluateBestBanditAction(n,i,e.modelData)}}return null!=a?a:n}getBanditActionDetails(e,t,r,n,i){const s=this.getConfiguration();let a=i,o=null,l=this.newFlagEvaluationDetailsBuilder(s,e).buildForNoneResult("ASSIGNMENT_ERROR","Unexpected error getting assigned variation for bandit action");try{const d=(0,c.ensureNonContextualSubjectAttributes)(r),{variation:h,evaluationDetails:f}=this.getStringAssignmentDetails(e,t,d,i);a=h,l=f;const p=s.getFlagVariationBandit(e,a);if(!p)return{variation:a,action:null,evaluationDetails:l};l.banditKey=p.banditKey;const g=this.evaluateBanditAction(e,t,r,n,p.modelData);if(null!=g&&g.actionKey){o=g.actionKey;const r={timestamp:(new Date).toISOString(),featureFlag:e,bandit:p.banditKey,subject:t,action:o,actionProbability:g.actionWeight,optimalityGap:g.optimalityGap,modelVersion:p.modelVersion,subjectNumericAttributes:g.subjectAttributes.numericAttributes,subjectCategoricalAttributes:g.subjectAttributes.categoricalAttributes,actionNumericAttributes:g.actionAttributes.numericAttributes,actionCategoricalAttributes:g.actionAttributes.categoricalAttributes,metaData:this.buildLoggerMetadata(),evaluationDetails:l};try{this.logBanditAction(r)}catch(e){u.logger.error("Error logging bandit event",e)}l.banditAction=o}}catch(e){if(u.logger.error("Error determining bandit action",e),!this.isGracefulFailureMode)throw e;a&&(l.flagEvaluationCode="BANDIT_ERROR"),l.flagEvaluationDescription=`Error evaluating bandit action: ${e.message}`}return{variation:a,action:o,evaluationDetails:l}}getExperimentContainerEntry(e,t,r){const{flagKey:n,controlVariationEntry:i,treatmentVariationEntries:s}=e,a=this.getStringAssignment(n,t,r,"control");if("control"===a)return i;if(!a.startsWith("treatment-"))return u.logger.warn(`Variation '${a}' cannot be mapped to a container. Defaulting to control variation.`),i;const o=Number.parseInt(a.split("-")[1])-1;return isNaN(o)?(u.logger.warn(`Variation '${a}' cannot be mapped to a container. Defaulting to control variation.`),i):o>=s.length?(u.logger.warn(`Selected treatment variation (${o}) index is out of bounds. Defaulting to control variation.`),i):s[o]}evaluateBanditAction(e,t,r,n,i){if(!Object.keys(n).length)return null;const s=(0,c.ensureContextualSubjectAttributes)(r),a=(0,c.ensureActionsWithContextualAttributes)(n);return this.banditEvaluator.evaluateBandit(e,t,s,a,i)}logBanditAction(e){var t,r;const n=e.subject,i={flagKey:e.featureFlag,subjectKey:n,banditKey:e.bandit,actionKey:null!==(t=e.action)&&void 0!==t?t:"__eppo_no_action"};if(null===(r=this.banditAssignmentCache)||void 0===r||!r.has(i))try{var s;this.banditLogger?this.banditLogger.logBanditAction(e):this.banditEventsQueue.push(e),null===(s=this.banditAssignmentCache)||void 0===s||s.set(i)}catch(e){u.logger.warn("Error encountered logging bandit action",e)}}getAssignmentVariation(e,t,r,n,i){try{const s=this.getAssignmentDetail(e,t,r,i);return this.parseVariationWithDetails(s,n,i)}catch(e){const t=this.rethrowIfNotGraceful(e,n);if(e instanceof A.FlagEvaluationError&&e.flagEvaluationDetails)return{eppoValue:t,flagEvaluationDetails:e.flagEvaluationDetails};return{eppoValue:t,flagEvaluationDetails:new O.FlagEvaluationDetailsBuilder("",[],"","").buildForNoneResult("ASSIGNMENT_ERROR",`Assignment Error: ${e.message}`)}}}parseVariationWithDetails({flagEvaluationDetails:e,variation:t},r,n){try{if(!t||"MATCH"!==e.flagEvaluationCode)return{eppoValue:r,flagEvaluationDetails:e};return{eppoValue:E.EppoValue.valueOf(t.value,n),flagEvaluationDetails:e}}catch(t){return{eppoValue:this.rethrowIfNotGraceful(t,r),flagEvaluationDetails:e}}}rethrowIfNotGraceful(e,t){if(this.isGracefulFailureMode)return u.logger.error(`${u.loggerPrefix} Error getting assignment: ${e.message}`),null!=t?t:E.EppoValue.Null();throw e}getAllAssignments(e,t={}){const r=this.getConfiguration(),n=r.getFlagConfigDetails(),i=this.getFlagKeys(),s={};return i.forEach((i=>{const a=this.getNormalizedFlag(r,i);if(!a)return void u.logger.debug(`${u.loggerPrefix} No assigned variation. Flag does not exist.`);const o=this.evaluator.evaluateFlag(a,n,e,t,r.isObfuscated());o.variation&&o.allocationKey?s[i]={flagKey:i,allocationKey:o.allocationKey,doLog:o.doLog,extraLogging:o.extraLogging,variationKey:o.variation.key,variationType:a.variationType,variationValue:o.variation.value.toString()}:u.logger.debug(`${u.loggerPrefix} No assigned variation: ${i}`)})),s}getPrecomputedConfiguration(e,t={},r={},n){const i=this.getConfiguration(),s=i.getFlagConfigDetails(),a=(0,c.ensureContextualSubjectAttributes)(t),o=(0,c.ensureNonContextualSubjectAttributes)(t),u=this.getAllAssignments(e,o),l=this.computeBanditsForFlags(i,e,a,r,u),d=m.PrecomputedConfiguration.obfuscated(e,u,l,null!=n?n:"",a,s.configEnvironment),h=m.ConfigurationWireV1.precomputed(d);return JSON.stringify(h)}getAssignmentDetail(e,t,r={},n){var i;(0,L.validateNotBlank)(t,"Invalid argument: subjectKey cannot be blank"),(0,L.validateNotBlank)(e,"Invalid argument: flagKey cannot be blank");const s=this.getConfiguration(),a=this.newFlagEvaluationDetailsBuilder(s,e),o=null===(i=this.overrideStore)||void 0===i?void 0:i.get(e);if(o)return(0,b.overrideResult)(e,t,r,o,a);const c=s.getFlagConfigDetails(),l=this.getNormalizedFlag(s,e);if(null===l){u.logger.warn(`${u.loggerPrefix} No assigned variation. Flag not found: ${e}`);const n=a.buildForNoneResult("FLAG_UNRECOGNIZED_OR_DISABLED",`Unrecognized or disabled flag: ${e}`);return(0,b.noneResult)(e,t,r,n,c.configFormat)}if(!x(n,l.variationType)){const i=`Variation value does not have the correct type. Found ${l.variationType}, but expected ${n} for flag ${e}`;if(this.isGracefulFailureMode){const n=a.buildForNoneResult("TYPE_MISMATCH",i);return(0,b.noneResult)(e,t,r,n,c.configFormat)}throw new TypeError(i)}if(!l.enabled){u.logger.info(`${u.loggerPrefix} No assigned variation. Flag is disabled: ${e}`);const n=a.buildForNoneResult("FLAG_UNRECOGNIZED_OR_DISABLED",`Unrecognized or disabled flag: ${e}`);return(0,b.noneResult)(e,t,r,n,c.configFormat)}const d=s.isObfuscated(),h=this.evaluator.evaluateFlag(l,c,t,r,d,n);d&&(h.flagKey=e);try{null!=h&&h.doLog&&this.maybeLogAssignment(h)}catch(e){u.logger.error(`${u.loggerPrefix} Error logging assignment event: ${e}`)}return h}track(e,t){this.eventDispatcher.dispatch({uuid:(0,a.v4)(),type:e,timestamp:(new Date).getTime(),payload:t})}newFlagEvaluationDetailsBuilder(e,t){var r;const n=this.getNormalizedFlag(e,t),i=e.getFlagConfigDetails();return new O.FlagEvaluationDetailsBuilder(i.configEnvironment.name,null!==(r=null==n?void 0:n.allocations)&&void 0!==r?r:[],i.configFetchedAt,i.configPublishedAt)}getNormalizedFlag(e,t){return e.isObfuscated()?this.getObfuscatedFlag(e,t):e.getFlag(t)}getObfuscatedFlag(e,t){const r=e.getFlag((0,T.getMD5Hash)(t));return r?(0,y.decodeFlag)(r):null}getFlagKeys(){return this.getConfiguration().getFlagKeys()}isInitialized(){return this.getConfiguration().isInitialized()}setLogger(e){this.setAssignmentLogger(e)}setAssignmentLogger(e){var t;this.assignmentLogger=e,this.flushQueuedEvents(this.assignmentEventsQueue,null===(t=this.assignmentLogger)||void 0===t?void 0:t.logAssignment)}setBanditLogger(e){var t;this.banditLogger=e,this.flushQueuedEvents(this.banditEventsQueue,null===(t=this.banditLogger)||void 0===t?void 0:t.logBanditAction)}disableAssignmentCache(){this.assignmentCache=void 0}useNonExpiringInMemoryAssignmentCache(){this.assignmentCache=new h.NonExpiringInMemoryAssignmentCache}useLRUInMemoryAssignmentCache(e){this.assignmentCache=new d.LRUInMemoryAssignmentCache(e)}useCustomAssignmentCache(e){this.assignmentCache=e}disableBanditAssignmentCache(){this.banditAssignmentCache=void 0}useNonExpiringInMemoryBanditAssignmentCache(){this.banditAssignmentCache=new h.NonExpiringInMemoryAssignmentCache}useExpiringInMemoryBanditAssignmentCache(e,t){this.banditAssignmentCache=new f.TLRUInMemoryAssignmentCache(e,t)}useCustomBanditAssignmentCache(e){this.banditAssignmentCache=e}setIsGracefulFailureMode(e){this.isGracefulFailureMode=e}getFlagConfigurations(){return this.getConfiguration().getFlags()}flushQueuedEvents(e,t){const r=e.flush();t&&r.forEach((e=>{try{t(e)}catch(e){u.logger.error(`${u.loggerPrefix} Error flushing event to logger: ${e.message}`)}}))}maybeLogAssignment(e){var t;const{flagKey:r,format:n,subjectKey:i,allocationKey:a=null,subjectAttributes:o,variation:c,flagEvaluationDetails:l,extraLogging:d={},entityId:h}=e,f=s(s({},d),{},{allocation:a,experiment:a?`${r}-${a}`:null,featureFlag:r,format:n,variation:null!==(t=null==c?void 0:c.key)&&void 0!==t?t:null,subject:i,timestamp:(new Date).toISOString(),subjectAttributes:o,metaData:this.buildLoggerMetadata(),evaluationDetails:l,entityId:h});if(c&&a){var p;if(null===(p=this.assignmentCache)||void 0===p?void 0:p.has({flagKey:r,subjectKey:i,allocationKey:a,variationKey:c.key}))return}try{var g,m;this.assignmentLogger?this.assignmentLogger.logAssignment(f):this.assignmentEventsQueue.push(f),null===(g=this.assignmentCache)||void 0===g||g.set({flagKey:r,subjectKey:i,allocationKey:null!=a?a:"__eppo_no_allocation",variationKey:null!==(m=null==c?void 0:c.key)&&void 0!==m?m:"__eppo_no_variation"})}catch(e){u.logger.error(`${u.loggerPrefix} Error logging assignment event: ${e.message}`)}}buildLoggerMetadata(){return{obfuscated:this.getConfiguration().isObfuscated(),sdkLanguage:"javascript",sdkLibVersion:j.LIB_VERSION}}computeBanditsForFlags(e,t,r,n,i){const s={};return Object.keys(n).forEach((a=>{const o=i[a];if(o){const i=this.getPrecomputedBandit(e,a,o.variationValue,t,r,n[a]);i&&(s[a]=i)}})),s}getPrecomputedBandit(e,t,r,n,i,s){const a=e.getFlagVariationBandit(t,r);if(!a)return null;const o=this.evaluateBanditAction(t,n,i,s,a.modelData);return o?{banditKey:a.banditKey,action:o.actionKey,actionNumericAttributes:o.actionAttributes.numericAttributes,actionCategoricalAttributes:o.actionAttributes.categoricalAttributes,actionProbability:o.actionWeight,modelVersion:a.modelVersion,optimalityGap:o.optimalityGap}:null}}},956738:(e,t,r)=>{"use strict";var n=r(443693);function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){n(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}Object.defineProperty(t,"__esModule",{value:!0});const a=r(127660),o=r(328902),u=r(889182),c=r(704814),l=r(358651),d=r(723490),h=r(178898),f=r(833027),p=r(763483),g=r(142060),m=r(348869),v=r(675012),y=r(793252),E=r(212911),b=r(252635);t.default=class{constructor(e){this.queuedAssignmentEvents=[],this.banditEventsQueue=[],this.precomputedFlagStore=e.precomputedFlagStore,this.precomputedBanditStore=e.precomputedBanditStore,this.overrideStore=e.overrideStore;const{subjectKey:t,subjectAttributes:r}=e.subject;this.subject={subjectKey:t,subjectAttributes:(0,u.ensureContextualSubjectAttributes)(r)},this.banditActions=e.banditActions,e.requestParameters?this.requestParameters=e.requestParameters:(this.precomputedFlagStore.getKeys().length>0&&(this.precomputedFlagStore.isInitialized()||o.logger.error(`${o.loggerPrefix} EppoPrecomputedClient requires an initialized precomputedFlagStore if requestParameters are not provided`),this.precomputedFlagStore.salt||o.logger.error(`${o.loggerPrefix} EppoPrecomputedClient requires a precomputedFlagStore with a salt if requestParameters are not provided`)),this.precomputedBanditStore&&!this.precomputedBanditStore.isInitialized()&&o.logger.error(`${o.loggerPrefix} Passing banditOptions without requestParameters requires an initialized precomputedBanditStore`),this.precomputedBanditStore&&!this.precomputedBanditStore.salt&&o.logger.warn(`${o.loggerPrefix} EppoPrecomputedClient missing or empty salt for precomputedBanditStore`))}async fetchPrecomputedFlags(){var e,t=this;if(!this.requestParameters)throw new Error("Eppo SDK unable to fetch precomputed flags without the request parameters");null===(e=this.requestPoller)||void 0===e||e.stop();const{apiKey:r,sdkName:n,sdkVersion:i,baseUrl:s,requestTimeoutMs:u=d.DEFAULT_REQUEST_TIMEOUT_MS,numInitialRequestRetries:c=d.DEFAULT_INITIAL_CONFIG_REQUEST_RETRIES,numPollRequestRetries:l=d.DEFAULT_POLL_CONFIG_REQUEST_RETRIES,pollAfterSuccessfulInitialization:h=!1,pollAfterFailedInitialization:p=!1,throwOnFailedInitialization:g=!1,skipInitialPoll:y=!1}=this.requestParameters,{subjectKey:E,subjectAttributes:b}=this.subject;let{pollingIntervalMs:_=d.DEFAULT_POLL_INTERVAL_MS}=this.requestParameters;_<=0&&(o.logger.error("pollingIntervalMs must be greater than 0. Using default"),_=d.DEFAULT_POLL_INTERVAL_MS);const S=new a.default({baseUrl:null!=s?s:d.PRECOMPUTED_BASE_URL,queryParams:{apiKey:r,sdkName:n,sdkVersion:i}}),O=new f.default(S,u),A=new v.default(O,this.precomputedFlagStore,E,b,this.precomputedBanditStore,this.banditActions);this.requestPoller=(0,m.default)(_,(async function(){if(await t.precomputedFlagStore.isExpired())return A.fetchAndStorePrecomputedFlags()}),{maxStartRetries:c,maxPollRetries:l,pollAfterSuccessfulStart:h,pollAfterFailedStart:p,errorOnFailedStart:g,skipInitialPoll:y}),await this.requestPoller.start()}stopPolling(){this.requestPoller&&this.requestPoller.stop()}getPrecomputedAssignment(e,t,r,n=(e=>e)){var i,s,a,c,l,d,h;(0,y.validateNotBlank)(e,"Invalid argument: flagKey cannot be blank");const f=null===(i=this.overrideStore)||void 0===i?void 0:i.get(e);if(f)return n(f.value);const p=this.getPrecomputedFlag(e);if(null==p)return o.logger.warn(`${o.loggerPrefix} No assigned variation. Flag not found: ${e}`),t;if(!(0,b.checkTypeMatch)(r,p.variationType)){const n=`${o.loggerPrefix} Type mismatch: expected ${r} but flag ${e} has type ${p.variationType}`;return o.logger.error(n),t}const g={flagKey:e,format:null!==(s=this.precomputedFlagStore.getFormat())&&void 0!==s?s:"",subjectKey:null!==(a=this.subject.subjectKey)&&void 0!==a?a:"",subjectAttributes:(0,u.ensureNonContextualSubjectAttributes)(null!==(c=this.subject.subjectAttributes)&&void 0!==c?c:{}),variation:{key:null!==(l=p.variationKey)&&void 0!==l?l:"",value:p.variationValue},allocationKey:null!==(d=p.allocationKey)&&void 0!==d?d:"",extraLogging:null!==(h=p.extraLogging)&&void 0!==h?h:{},doLog:p.doLog,entityId:null};try{null!=g&&g.doLog&&this.logAssignment(g)}catch(e){o.logger.error(`${o.loggerPrefix} Error logging assignment event: ${e}`)}try{var m;return void 0!==(null===(m=g.variation)||void 0===m?void 0:m.value)?n(g.variation.value):t}catch(e){return o.logger.error(`${o.loggerPrefix} Error transforming value: ${e}`),t}}getStringAssignment(e,t){return this.getPrecomputedAssignment(e,t,p.VariationType.STRING)}getBooleanAssignment(e,t){return this.getPrecomputedAssignment(e,t,p.VariationType.BOOLEAN)}getIntegerAssignment(e,t){return this.getPrecomputedAssignment(e,t,p.VariationType.INTEGER)}getNumericAssignment(e,t){return this.getPrecomputedAssignment(e,t,p.VariationType.NUMERIC)}getJSONAssignment(e,t){return this.getPrecomputedAssignment(e,t,p.VariationType.JSON,(e=>"string"==typeof e?JSON.parse(e):t))}getBanditAction(e,t){if(!this.getPrecomputedFlag(e))return o.logger.warn(`${o.loggerPrefix} No assigned variation. Flag not found: ${e}`),{variation:t,action:null};const r=this.getPrecomputedBandit(e),n=this.getStringAssignment(e,t);if(r){var i;const t={timestamp:(new Date).toISOString(),featureFlag:e,bandit:r.banditKey,subject:null!==(i=this.subject.subjectKey)&&void 0!==i?i:"",action:r.action,actionProbability:r.actionProbability,optimalityGap:r.optimalityGap,modelVersion:r.modelVersion,subjectNumericAttributes:r.actionNumericAttributes,subjectCategoricalAttributes:r.actionCategoricalAttributes,actionNumericAttributes:r.actionNumericAttributes,actionCategoricalAttributes:r.actionCategoricalAttributes,metaData:this.buildLoggerMetadata(),evaluationDetails:null};try{this.logBanditAction(t)}catch(e){o.logger.error(`${o.loggerPrefix} Error logging bandit action: ${e}`)}return{variation:n,action:t.action}}return{variation:n,action:null}}getPrecomputedFlag(e){return this.getObfuscatedFlag(e)}getObfuscatedFlag(e){const t=this.precomputedFlagStore.salt,r=(0,g.getMD5Hash)(e,t),n=this.precomputedFlagStore.get(r);return n?(0,h.decodePrecomputedFlag)(n):null}getPrecomputedBandit(e){const t=this.getObfuscatedPrecomputedBandit(e);return t?(0,h.decodePrecomputedBandit)(t):null}getObfuscatedPrecomputedBandit(e){var t,r;const n=null===(t=this.precomputedBanditStore)||void 0===t?void 0:t.salt,i=(0,g.getMD5Hash)(e,n),s=null===(r=this.precomputedBanditStore)||void 0===r?void 0:r.get(i);return null!=s?s:null}isInitialized(){return this.precomputedFlagStore.isInitialized()}setAssignmentLogger(e){var t;this.assignmentLogger=e,this.flushQueuedEvents(this.queuedAssignmentEvents,null===(t=this.assignmentLogger)||void 0===t?void 0:t.logAssignment)}setBanditLogger(e){var t;this.banditLogger=e,this.flushQueuedEvents(this.banditEventsQueue,null===(t=this.banditLogger)||void 0===t?void 0:t.logBanditAction)}disableAssignmentCache(){this.assignmentCache=void 0}useNonExpiringInMemoryAssignmentCache(){this.assignmentCache=new l.NonExpiringInMemoryAssignmentCache}useLRUInMemoryAssignmentCache(e){this.assignmentCache=new c.LRUInMemoryAssignmentCache(e)}useCustomAssignmentCache(e){this.assignmentCache=e}flushQueuedEvents(e,t){const r=[...e];e.length=0,t&&r.forEach((e=>{try{t(e)}catch(e){o.logger.error(`${o.loggerPrefix} Error flushing event to logger: ${e.message}`)}}))}logAssignment(e){var t,r;const{flagKey:n,subjectKey:i,allocationKey:a,subjectAttributes:u,variation:c,format:l}=e,h=s(s({},null!==(t=e.extraLogging)&&void 0!==t?t:{}),{},{allocation:null!=a?a:null,experiment:a?`${n}-${a}`:null,featureFlag:n,format:l,variation:null!==(r=null==c?void 0:c.key)&&void 0!==r?r:null,subject:i,timestamp:(new Date).toISOString(),subjectAttributes:u,metaData:this.buildLoggerMetadata(),evaluationDetails:null});if(c&&a){var f;if(null===(f=this.assignmentCache)||void 0===f?void 0:f.has({flagKey:n,subjectKey:i,allocationKey:a,variationKey:c.key}))return}try{var p,g;this.assignmentLogger?this.assignmentLogger.logAssignment(h):this.queuedAssignmentEvents.length<d.MAX_EVENT_QUEUE_SIZE&&this.queuedAssignmentEvents.push(h),null===(p=this.assignmentCache)||void 0===p||p.set({flagKey:n,subjectKey:i,allocationKey:null!=a?a:"__eppo_no_allocation",variationKey:null!==(g=null==c?void 0:c.key)&&void 0!==g?g:"__eppo_no_variation"})}catch(e){o.logger.error(`${o.loggerPrefix} Error logging assignment event: ${e.message}`)}}logBanditAction(e){var t,r;const n=e.subject,i={flagKey:e.featureFlag,subjectKey:n,banditKey:e.bandit,actionKey:null!==(t=e.action)&&void 0!==t?t:"__eppo_no_action"};if(null===(r=this.banditAssignmentCache)||void 0===r||!r.has(i))try{var s;this.banditLogger?this.banditLogger.logBanditAction(e):this.banditEventsQueue.push(e),null===(s=this.banditAssignmentCache)||void 0===s||s.set(i)}catch(e){o.logger.warn("Error encountered logging bandit action",e)}}buildLoggerMetadata(){return{obfuscated:!0,sdkLanguage:"javascript",sdkLibVersion:E.LIB_VERSION}}setOverrideStore(e){this.overrideStore=e}unsetOverrideStore(){this.overrideStore=void 0}}},371152:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(271067);t.default=class{constructor(e,t,r,i){this.httpClient=e,this.flagConfigurationStore=t,this.banditVariationConfigurationStore=r,this.banditModelConfigurationStore=i,this.banditModelVersions=[],this.configuration=new n.StoreBackedConfiguration(this.flagConfigurationStore,this.banditVariationConfigurationStore,this.banditModelConfigurationStore)}setConfigurationStores(e,t,r){this.flagConfigurationStore=e,this.banditVariationConfigurationStore=t,this.banditModelConfigurationStore=r,this.configuration=new n.StoreBackedConfiguration(this.flagConfigurationStore,this.banditVariationConfigurationStore,this.banditModelConfigurationStore)}isFlagConfigExpired(){return this.flagConfigurationStore.isExpired()}getConfiguration(){return this.configuration}async fetchAndStoreConfigurations(){var e;const t=await this.httpClient.getUniversalFlagConfiguration();if(null==t||!t.flags)return;const r={entries:t.flags,environment:t.environment,createdAt:t.createdAt,format:t.format};let n,i;const s=Object.keys(null!==(e=t.banditReferences)&&void 0!==e?e:{}).length>0,a=Boolean(this.banditVariationConfigurationStore&&this.banditModelConfigurationStore);if(s&&a){if(n={entries:this.indexBanditVariationsByFlagKey(t.banditReferences),environment:t.environment,createdAt:t.createdAt,format:t.format},this.requiresBanditModelConfigurationStoreUpdate(this.banditModelVersions,t.banditReferences)){const e=await this.httpClient.getBanditParameters();null!=e&&e.bandits&&(i={entries:e.bandits,environment:t.environment,createdAt:t.createdAt,format:t.format},this.banditModelVersions=this.getLoadedBanditModelVersions(e.bandits))}}await this.configuration.hydrateConfigurationStores(r,n,i)}getLoadedBanditModelVersions(e){return Object.values(e).map((e=>e.modelVersion))}requiresBanditModelConfigurationStoreUpdate(e,t){return!Object.values(t).map((e=>e.modelVersion)).every((t=>e.includes(t)))}indexBanditVariationsByFlagKey(e){const t={};return Object.values(e).forEach((e=>{e.flagVariations.forEach((e=>{let r=t[e.flagKey];r||(r=[],t[e.flagKey]=r),r.push(e)}))})),t}}},646168:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hydrateConfigurationStore=async function(e,t){if(e){const r=await e.setEntries(t.entries);return r&&(e.setEnvironment(t.environment),e.setConfigFetchedAt((new Date).toISOString()),e.setConfigPublishedAt(t.createdAt),e.setFormat(t.format),e.salt=t.salt),r}return!1}},901741:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HybridConfigurationStore=void 0;const n=r(328902);t.HybridConfigurationStore=class{constructor(e,t){this.servingStore=e,this.persistentStore=t,this.environment=null,this.configFetchedAt=null,this.configPublishedAt=null,this.format=null}async init(){if(!this.persistentStore)return;this.persistentStore.isInitialized()||n.logger.warn(`${n.loggerPrefix} Persistent store is not initialized from remote configuration. Serving assignments that may be stale.`);const e=await this.persistentStore.entries();this.servingStore.setEntries(e)}isInitialized(){var e,t;return this.servingStore.isInitialized()&&(null===(e=null===(t=this.persistentStore)||void 0===t?void 0:t.isInitialized())||void 0===e||e)}async isExpired(){var e;const t=await(null===(e=this.persistentStore)||void 0===e?void 0:e.isExpired());return null==t||t}get(e){return this.servingStore.isInitialized()||n.logger.warn(`${n.loggerPrefix} getting a value from a ServingStore that is not initialized.`),this.servingStore.get(e)}entries(){return this.servingStore.entries()}getKeys(){return this.servingStore.getKeys()}async setEntries(e){return this.persistentStore&&await this.persistentStore.setEntries(e),this.servingStore.setEntries(e),!0}setEnvironment(e){this.environment=e}getEnvironment(){return this.environment}getConfigFetchedAt(){return this.configFetchedAt}setConfigFetchedAt(e){this.configFetchedAt=e}getConfigPublishedAt(){return this.configPublishedAt}setConfigPublishedAt(e){this.configPublishedAt=e}getFormat(){return this.format}setFormat(e){this.format=e}}},780952:(e,t,r)=>{"use strict";var n=r(443693);function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}Object.defineProperty(t,"__esModule",{value:!0}),t.MemoryOnlyConfigurationStore=t.MemoryStore=void 0;class s{constructor(){this.store={},this.initialized=!1}get(e){var t;return null!==(t=this.store[e])&&void 0!==t?t:null}entries(){return this.store}getKeys(){return Object.keys(this.store)}isInitialized(){return this.initialized}setEntries(e){this.store=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){n(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e),this.initialized=!0}}t.MemoryStore=s;t.MemoryOnlyConfigurationStore=class{constructor(){this.servingStore=new s,this.initialized=!1,this.configFetchedAt=null,this.configPublishedAt=null,this.environment=null,this.format=null}init(){return this.initialized=!0,Promise.resolve()}get(e){return this.servingStore.get(e)}entries(){return this.servingStore.entries()}getKeys(){return this.servingStore.getKeys()}async isExpired(){return!0}isInitialized(){return this.initialized}async setEntries(e){return this.servingStore.setEntries(e),this.initialized=!0,!0}getEnvironment(){return this.environment}setEnvironment(e){this.environment=e}getConfigFetchedAt(){return this.configFetchedAt}setConfigFetchedAt(e){this.configFetchedAt=e}getConfigPublishedAt(){return this.configPublishedAt}setConfigPublishedAt(e){this.configPublishedAt=e}getFormat(){return this.format}setFormat(e){this.format=e}}},58135:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ConfigurationWireHelper=void 0;const n=r(127660),i=r(833027),s=r(738882);class a{static build(e,t={sdkName:"android",sdkVersion:"4.0.0"}){const{sdkName:r,sdkVersion:n,baseUrl:i}=t;return new a(e,r,n,i)}constructor(e,t="android",r="4.0.0",s){const a={sdkName:t,sdkVersion:r,apiKey:e},o=new n.default({baseUrl:s,queryParams:a});this.httpClient=new i.default(o,5e3)}async fetchBootstrapConfiguration(){var e;let t;const r=await this.httpClient.getUniversalFlagConfiguration();if(null==r||!r.flags)return console.warn("Unable to fetch configuration, returning empty configuration"),Promise.resolve(s.ConfigurationWireV1.empty());return Object.keys(null!==(e=r.banditReferences)&&void 0!==e?e:{}).length>0&&(t=await this.httpClient.getBanditParameters()),s.ConfigurationWireV1.fromResponses(r,t)}}t.ConfigurationWireHelper=a},738882:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ConfigurationWireV1=t.ObfuscatedPrecomputedConfigurationResponse=t.PrecomputedConfigurationResponse=t.PrecomputedConfiguration=void 0,t.inflateResponse=function(e){return JSON.parse(e)},t.deflateResponse=c;const n=r(763483),i=r(142060);class s{constructor(e,t,r){this.subjectKey=e,this.subjectAttributes=t,this.environment=r,this.format=n.FormatEnum.PRECOMPUTED,this.createdAt=(new Date).toISOString()}}class a{constructor(e,t,r){this.response=e,this.subjectKey=t,this.subjectAttributes=r}static obfuscated(e,t,r,n,i,s){const o=new u(e,t,r,n,i,s);return new a(JSON.stringify(o),e,i)}static unobfuscated(e,t,r,n,i){const s=new o(e,t,r,n,i);return new a(JSON.stringify(s),e,n)}}t.PrecomputedConfiguration=a;class o extends s{constructor(e,t,r,n,i){super(e,n,i),this.flags=t,this.bandits=r,this.obfuscated=!1}}t.PrecomputedConfigurationResponse=o;class u extends s{constructor(e,t,r,n,s,a){super(e,s,a),this.obfuscated=!0,this.salt=n,this.bandits=(0,i.obfuscatePrecomputedBanditMap)(this.salt,r),this.flags=(0,i.obfuscatePrecomputedFlags)(this.salt,t)}}function c(e){return JSON.stringify(e)}t.ObfuscatedPrecomputedConfigurationResponse=u;class l{constructor(e,t,r){this.precomputed=e,this.config=t,this.bandits=r,this.version=1}static fromResponses(e,t,r,n){return new l(void 0,{response:c(e),fetchedAt:(new Date).toISOString(),etag:r},t?{response:c(t),fetchedAt:(new Date).toISOString(),etag:n}:void 0)}static precomputed(e){return new l(e)}static empty(){return new l}}t.ConfigurationWireV1=l},723490:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OBFUSCATED_FORMATS=t.DEFAULT_TLRU_TTL_MS=t.BANDIT_ASSIGNMENT_SHARDS=t.MAX_EVENT_QUEUE_SIZE=t.NULL_SENTINEL=t.SESSION_ASSIGNMENT_CONFIG_LOADED=t.PRECOMPUTED_FLAGS_ENDPOINT=t.PRECOMPUTED_BASE_URL=t.BANDIT_ENDPOINT=t.UFC_ENDPOINT=t.BASE_URL=t.DEFAULT_POLL_CONFIG_REQUEST_RETRIES=t.DEFAULT_INITIAL_CONFIG_REQUEST_RETRIES=t.POLL_JITTER_PCT=t.DEFAULT_POLL_INTERVAL_MS=t.REQUEST_TIMEOUT_MILLIS=t.DEFAULT_REQUEST_TIMEOUT_MS=void 0;const n=r(763483);t.DEFAULT_REQUEST_TIMEOUT_MS=5e3,t.REQUEST_TIMEOUT_MILLIS=t.DEFAULT_REQUEST_TIMEOUT_MS,t.DEFAULT_POLL_INTERVAL_MS=3e4,t.POLL_JITTER_PCT=.1,t.DEFAULT_INITIAL_CONFIG_REQUEST_RETRIES=1,t.DEFAULT_POLL_CONFIG_REQUEST_RETRIES=7,t.BASE_URL="https://fscdn.eppo.cloud/api",t.UFC_ENDPOINT="/flag-config/v1/config",t.BANDIT_ENDPOINT="/flag-config/v1/bandits",t.PRECOMPUTED_BASE_URL="https://fs-edge-assignment.eppo.cloud",t.PRECOMPUTED_FLAGS_ENDPOINT="/assignments",t.SESSION_ASSIGNMENT_CONFIG_LOADED="eppo-session-assignment-config-loaded",t.NULL_SENTINEL="EPPO_NULL",t.MAX_EVENT_QUEUE_SIZE=100,t.BANDIT_ASSIGNMENT_SHARDS=1e4,t.DEFAULT_TLRU_TTL_MS=6e5,t.OBFUSCATED_FORMATS=[n.FormatEnum.CLIENT,n.FormatEnum.PRECOMPUTED]},178898:(e,t,r)=>{"use strict";var n=r(443693);function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){n(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}Object.defineProperty(t,"__esModule",{value:!0}),t.decodeFlag=function(e){return s(s({},e),{},{variations:u(e.variations,e.variationType),allocations:e.allocations.map(l)})},t.decodeVariations=u,t.decodeValue=c,t.decodeAllocation=l,t.decodeSplit=d,t.decodeShard=h,t.decodeObject=f,t.decodeObjectTo=p,t.decodePrecomputedFlag=function(e){var t,r,n;return s(s({},e),{},{allocationKey:(0,o.decodeBase64)(null!==(t=e.allocationKey)&&void 0!==t?t:""),variationKey:(0,o.decodeBase64)(null!==(r=e.variationKey)&&void 0!==r?r:""),variationValue:c(e.variationValue,e.variationType),extraLogging:f(null!==(n=e.extraLogging)&&void 0!==n?n:{})})},t.decodePrecomputedBandit=function(e){var t,r;return s(s({},e),{},{banditKey:(0,o.decodeBase64)(e.banditKey),action:(0,o.decodeBase64)(e.action),modelVersion:(0,o.decodeBase64)(e.modelVersion),actionNumericAttributes:p(null!==(t=e.actionNumericAttributes)&&void 0!==t?t:{},(e=>+e)),actionCategoricalAttributes:f(null!==(r=e.actionCategoricalAttributes)&&void 0!==r?r:{})})};const a=r(763483),o=r(142060);function u(e,t){return Object.fromEntries(Object.entries(e).map((([,e])=>{const r=(0,o.decodeBase64)(e.key);return[r,{key:r,value:c(e.value,t)}]})))}function c(e,t){switch(t){case a.VariationType.INTEGER:case a.VariationType.NUMERIC:return Number((0,o.decodeBase64)(e));case a.VariationType.BOOLEAN:return"true"===(0,o.decodeBase64)(e);default:return(0,o.decodeBase64)(e)}}function l(e){return s(s({},e),{},{key:(0,o.decodeBase64)(e.key),splits:e.splits.map(d),startAt:e.startAt?new Date((0,o.decodeBase64)(e.startAt)).toISOString():void 0,endAt:e.endAt?new Date((0,o.decodeBase64)(e.endAt)).toISOString():void 0})}function d(e){return{extraLogging:e.extraLogging?f(e.extraLogging):void 0,variationKey:(0,o.decodeBase64)(e.variationKey),shards:e.shards.map(h)}}function h(e){return s(s({},e),{},{salt:(0,o.decodeBase64)(e.salt)})}function f(e){return p(e,(e=>e))}function p(e,t){return Object.fromEntries(Object.entries(e).map((([e,r])=>[(0,o.decodeBase64)(e),t((0,o.decodeBase64)(r))])))}},427310:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EppoAssignmentLogger=void 0;t.EppoAssignmentLogger=class{constructor(e){this.eppoClient=e}logAssignment(e){const{entityId:t,featureFlag:r,experiment:n,allocation:i,holdoutKey:s,holdoutVariation:a,subject:o,variation:u}=e;if(!t)return;const c={entity_id:t,experiment:n,feature_flag:r,allocation:i,holdout_variation:a,holdout:s,subject:o,variation:u};this.eppoClient.track("__eppo_assignment",c)}}},923481:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EppoValue=t.EppoValueType=void 0;const n=r(763483),i=r(142060);var s;!function(e){e[e.NullType=0]="NullType",e[e.BoolType=1]="BoolType",e[e.NumericType=2]="NumericType",e[e.StringType=3]="StringType",e[e.JSONType=4]="JSONType"}(s||(t.EppoValueType=s={}));class a{constructor(e,t,r,n,i){this.valueType=e,this.boolValue=t,this.numericValue=r,this.stringValue=n,this.objectValue=i}static valueOf(e,t){if(null==e)return a.Null();switch(t){case n.VariationType.BOOLEAN:return a.Bool(e);case n.VariationType.NUMERIC:case n.VariationType.INTEGER:return a.Numeric(e);case n.VariationType.STRING:return a.String(e);case n.VariationType.JSON:return a.JSON(e);default:return a.String(e)}}toString(){var e;switch(this.valueType){case s.NullType:return"null";case s.BoolType:return this.boolValue?"true":"false";case s.NumericType:return this.numericValue?this.numericValue.toString():"0";case s.StringType:return null!==(e=this.stringValue)&&void 0!==e?e:"";case s.JSONType:try{var t;return null!==(t=JSON.stringify(this.objectValue))&&void 0!==t?t:""}catch(e){var r;return null!==(r=this.stringValue)&&void 0!==r?r:""}}}toHashedString(){const e=this.toString();return(0,i.getMD5Hash)(e)}static Bool(e){return new a(s.BoolType,e,void 0,void 0,void 0)}static Numeric(e){return new a(s.NumericType,void 0,e,void 0,void 0)}static String(e){return new a(s.StringType,void 0,void 0,e,void 0)}static JSON(e){return new a(s.JSONType,void 0,void 0,void 0,"string"==typeof e?JSON.parse(e):e)}static Null(){return new a(s.NullType,void 0,void 0,void 0,void 0)}}t.EppoValue=a},742686:(e,t,r)=>{"use strict";var n=r(443693);function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){n(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}Object.defineProperty(t,"__esModule",{value:!0}),t.Evaluator=void 0,t.isInShardRange=d,t.hashKey=h,t.noneResult=f,t.matchesRules=p,t.overrideResult=function(e,t,r,n,i){const s="override-"+n.key,a=i.setMatch(0,n,{key:s,splits:[],doLog:!1},null,void 0).build("MATCH","Flag override applied");return{flagKey:e,subjectKey:t,variation:n,subjectAttributes:r,flagEvaluationDetails:a,doLog:!1,format:"",allocationKey:s,extraLogging:{},entityId:null}};const a=r(252635),o=r(111385),u=r(518963),c=r(131344),l=r(736055);function d(e,t){return t.start<=e&&e<t.end}function h(e,t){return`${e}-${t}`}function f(e,t,r,n,i){return{flagKey:e,format:i,subjectKey:t,subjectAttributes:r,allocationKey:null,variation:null,extraLogging:{},doLog:!1,flagEvaluationDetails:n,entityId:null}}function p(e,t,r){if(!e.length)return{matched:!0,matchedRule:null};let n=null;return e.some((e=>{const i=(0,c.matchesRule)(e,t,r);return i&&(n=e),i}))?{matched:!0,matchedRule:n}:{matched:!1,matchedRule:null}}t.Evaluator=class{constructor(e){this.getMatchedEvaluationCodeAndDescription=(e,t,r,n,i)=>{var s;if(!(0,a.checkValueTypeMatch)(i,e.value)){const{key:t,value:r}=e;return{flagEvaluationCode:"ASSIGNMENT_ERROR",flagEvaluationDescription:`Variation (${t}) is configured for type ${i}, but is set to incompatible value (${r})`}}const o=!(null===(s=t.rules)||void 0===s||!s.length),u=t.splits.length>1,c=r.shards.length>1,l=u||c;return o&&l?{flagEvaluationCode:"MATCH",flagEvaluationDescription:`Supplied attributes match rules defined in allocation "${t.key}" and ${n} belongs to the range of traffic assigned to "${r.variationKey}".`}:o&&!l?{flagEvaluationCode:"MATCH",flagEvaluationDescription:`Supplied attributes match rules defined in allocation "${t.key}".`}:{flagEvaluationCode:"MATCH",flagEvaluationDescription:`${n} belongs to the range of traffic assigned to "${r.variationKey}" defined in allocation "${t.key}".`}},this.sharder=null!=e?e:new l.MD5Sharder}evaluateFlag(e,t,r,n,i,a){const c=new o.FlagEvaluationDetailsBuilder(t.configEnvironment.name,e.allocations,t.configFetchedAt,t.configPublishedAt);try{if(!e.enabled)return f(e.key,r,n,c.buildForNoneResult("FLAG_UNRECOGNIZED_OR_DISABLED",`Unrecognized or disabled flag: ${e.key}`),t.configFormat);const u=new Date;for(let f=0;f<e.allocations.length;f++){var l;const g=e.allocations[f],m=e=>{c.addUnmatchedAllocation({key:g.key,allocationEvaluationCode:e,orderPosition:f+1})};if(g.startAt&&u<new Date(g.startAt)){m(o.AllocationEvaluationCode.BEFORE_START_TIME);continue}if(g.endAt&&u>new Date(g.endAt)){m(o.AllocationEvaluationCode.AFTER_END_TIME);continue}const{matched:v,matchedRule:y}=p(null!==(l=null==g?void 0:g.rules)&&void 0!==l?l:[],s({id:r},n),i);if(v){for(const i of g.splits)if(i.shards.every((t=>this.matchesShard(t,r,e.totalShards)))){var d,h;const s=e.variations[i.variationKey],{flagEvaluationCode:o,flagEvaluationDescription:u}=this.getMatchedEvaluationCodeAndDescription(s,g,i,r,a),l=c.setMatch(f,s,g,y,a).build(o,u);return{flagKey:e.key,format:t.configFormat,subjectKey:r,subjectAttributes:n,allocationKey:g.key,variation:s,extraLogging:null!==(d=i.extraLogging)&&void 0!==d?d:{},doLog:g.doLog,flagEvaluationDetails:l,entityId:null!==(h=e.entityId)&&void 0!==h?h:null}}m(o.AllocationEvaluationCode.TRAFFIC_EXPOSURE_MISS)}else m(o.AllocationEvaluationCode.FAILING_RULE)}return f(e.key,r,n,c.buildForNoneResult("DEFAULT_ALLOCATION_NULL",'No allocations matched. Falling back to "Default Allocation", serving NULL'),t.configFormat)}catch(e){console.error(">>>>",e);const t=c.gracefulBuild("ASSIGNMENT_ERROR",`Assignment Error: ${e.message}`);if(t){const r=new u.FlagEvaluationError(e.message);throw r.flagEvaluationDetails=t,r}throw e}}matchesShard(e,t,r){const n=this.sharder.getShard(h(e.salt,t),r);return e.ranges.some((e=>d(n,e)))}}},978333:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=class{constructor(e,t){this.eventQueue=e,this.batchSize=Math.max(100,Math.min(1e4,t))}nextBatch(){return this.eventQueue.splice(this.batchSize)}push(...e){this.eventQueue.push(...e)}isEmpty(){return this.eventQueue.isEmpty()}}},59320:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(328902);t.default=class{constructor(e,t){this.delivery=e,this.config=t}async retry(e,t,r=0){const{retryIntervalMs:i,maxRetryDelayMs:s,maxRetries:a}=this.config,o=Math.min(i*Math.pow(2,r),s);n.logger.info(`[BatchRetryManager] Retrying batch delivery of ${e.length} events in ${o}ms...`),await new Promise((e=>setTimeout(e,o)));const{failedEvents:u}=await this.delivery.deliver(e,t);return 0===u.length?(n.logger.info(`[BatchRetryManager] Batch delivery successfully after ${r+1} tries.`),[]):r<a-1?this.retry(u,t,r+1):(n.logger.warn(`[BatchRetryManager] Failed to deliver batch after ${a} tries, bailing`),e)}}},660359:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BoundedEventQueue=void 0;const n=r(328902),i=r(723490);class s{constructor(e,t=new Array,r=i.MAX_EVENT_QUEUE_SIZE){this.name=e,this.queue=t,this.maxSize=r}get length(){return this.queue.length}splice(e){return this.queue.splice(0,e)}isEmpty(){return 0===this.queue.length}[Symbol.iterator](){return this.queue[Symbol.iterator]()}push(...e){const{name:t,maxSize:r,queue:i}=this;for(;i.length<r&&e.length>0;)i.push(...e.splice(0,1));e.length>0&&n.logger.warn(`Dropping ${e.length} events for queue ${t} since maxSize of ${r} reached.`)}flush(){const e=[...this.queue];return this.queue.length=0,e}}t.BoundedEventQueue=s},456355:(e,t,r)=>{"use strict";var n=r(443693);function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){n(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_EVENT_DISPATCHER_CONFIG=t.DEFAULT_EVENT_DISPATCHER_BATCH_SIZE=void 0,t.newDefaultEventDispatcher=function(e,r,n,i=t.DEFAULT_EVENT_DISPATCHER_BATCH_SIZE,u=t.DEFAULT_EVENT_DISPATCHER_CONFIG){const c=(new d.default).decodeEventIngestionUrl(n);if(!c)return a.logger.debug("Unable to parse Event ingestion URL from SDK key, falling back to no-op event dispatcher"),new l.default;return new h(new o.default(e,i),r,s(s({},u),{},{ingestionUrl:c,sdkKey:n}))};const a=r(328902),o=r(978333),u=r(59320),c=r(703278),l=r(164503),d=r(599050);t.DEFAULT_EVENT_DISPATCHER_BATCH_SIZE=1e3,t.DEFAULT_EVENT_DISPATCHER_CONFIG={deliveryIntervalMs:1e4,retryIntervalMs:5e3,maxRetryDelayMs:3e4,maxRetries:3};class h{constructor(e,t,r){this.batchProcessor=e,this.networkStatusListener=t,this.context={},this.dispatchTimer=null,this.isOffline=!1,this.ensureConfigFields(r);const{sdkKey:n,ingestionUrl:i,retryIntervalMs:s,maxRetryDelayMs:o,maxRetries:l=3}=r;this.eventDelivery=new c.default(n,i),this.retryManager=new u.default(this.eventDelivery,{retryIntervalMs:s,maxRetryDelayMs:o,maxRetries:l}),this.deliveryIntervalMs=r.deliveryIntervalMs,this.networkStatusListener.onNetworkStatusChange((e=>{a.logger.info(`[EventDispatcher] Network status change, isOffline=${e}.`),this.isOffline=e,e?this.dispatchTimer=null:this.maybeScheduleNextDelivery()}))}attachContext(e,t){this.ensureValidContext(e,t),this.context[e]=t}dispatch(e){this.ensureValidEvent(e),this.batchProcessor.push(e),this.maybeScheduleNextDelivery()}ensureValidContext(e,t){if(t&&("object"==typeof t||Array.isArray(t)))throw new Error("Context value must be a string, number, boolean, or null");if(t&&JSON.stringify(s(s({},this.context),{},{[e]:t})).length>2048)throw new Error("The total context size must be less than 2048 characters")}ensureValidEvent(e){if(JSON.stringify(e).length>4096)throw new Error("Event serialized length exceeds maximum allowed length of 4096")}async deliverNextBatch(){if(this.isOffline)return void a.logger.warn("[EventDispatcher] Skipping delivery; network status is offline.");const e=this.batchProcessor.nextBatch();if(0===e.length)return void(this.dispatchTimer=null);const t=s({},this.context),{failedEvents:r}=await this.eventDelivery.deliver(e,t);if(r.length>0){a.logger.warn("[EventDispatcher] Failed to deliver some events from batch, retrying...");const e=await this.retryManager.retry(r,t);e.length>0&&this.batchProcessor.push(...e)}a.logger.debug(`[EventDispatcher] Delivered batch of ${e.length} events.`),this.dispatchTimer=null,this.maybeScheduleNextDelivery()}maybeScheduleNextDelivery(){this.isOffline||this.batchProcessor.isEmpty()||this.dispatchTimer||(a.logger.info(`[EventDispatcher] Scheduling next delivery in ${this.deliveryIntervalMs}ms.`),this.dispatchTimer=setTimeout((()=>this.deliverNextBatch()),this.deliveryIntervalMs))}ensureConfigFields(e){if(!e.ingestionUrl)throw new Error("Missing required ingestionUrl in EventDispatcherConfig");if(!e.deliveryIntervalMs)throw new Error("Missing required deliveryIntervalMs in EventDispatcherConfig");if(!e.retryIntervalMs)throw new Error("Missing required retryIntervalMs in EventDispatcherConfig");if(!e.maxRetryDelayMs)throw new Error("Missing required maxRetryDelayMs in EventDispatcherConfig")}}t.default=h},703278:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(328902);t.default=class{constructor(e,t){this.sdkKey=e,this.ingestionUrl=t}async deliver(e,t){try{n.logger.info(`[EventDispatcher] Delivering batch of ${e.length} events to ${this.ingestionUrl}...`);const r=await fetch(this.ingestionUrl,{method:"POST",headers:{"Content-Type":"application/json","x-eppo-token":this.sdkKey},body:JSON.stringify({eppo_events:e,context:t})});return r.ok?await this.parseFailedEvents(r,e):{failedEvents:e}}catch(t){return n.logger.warn("Failed to upload event batch",t),{failedEvents:e}}}async parseFailedEvents(e,t){n.logger.info("[EventDispatcher] Batch delivered successfully.");const r=await e.json(),i=new Set((null==r?void 0:r.failed_events)||[]);return i.size>0?(n.logger.warn(`[EventDispatcher] ${i.size}/${t.length} events failed ingestion.`),{failedEvents:t.filter((({uuid:e})=>i.has(e)))}):{failedEvents:[]}}}},164503:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=class{attachContext(e,t){}dispatch(e){}}},599050:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(808127),i="v0/i";t.default=class{decodeEventIngestionUrl(e){const t=e.split(".")[1];if(!t)return null;const r=n.Base64.decode(t),s=new URLSearchParams(r).get("eh");if(!s)return null;const a=s.endsWith("/")?`${s}${i}`:`${s}/${i}`;return a.startsWith("http://")||a.startsWith("https://")?a:`https://${a}`}}},111385:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FlagEvaluationDetailsBuilder=t.AllocationEvaluationCode=t.flagEvaluationCodes=void 0;const n=r(763483);var i;t.flagEvaluationCodes=["MATCH","FLAG_UNRECOGNIZED_OR_DISABLED","TYPE_MISMATCH","ASSIGNMENT_ERROR","DEFAULT_ALLOCATION_NULL","NO_ACTIONS_SUPPLIED_FOR_BANDIT","BANDIT_ERROR"],function(e){e.UNEVALUATED="UNEVALUATED",e.MATCH="MATCH",e.BEFORE_START_TIME="BEFORE_START_TIME",e.TRAFFIC_EXPOSURE_MISS="TRAFFIC_EXPOSURE_MISS",e.AFTER_END_TIME="AFTER_END_TIME",e.FAILING_RULE="FAILING_RULE"}(i||(t.AllocationEvaluationCode=i={}));t.FlagEvaluationDetailsBuilder=class{constructor(e,t,r,s){this.environmentName=e,this.allocations=t,this.configFetchedAt=r,this.configPublishedAt=s,this.variationKey=null,this.variationValue=null,this.matchedRule=null,this.matchedAllocation=null,this.unmatchedAllocations=[],this.addUnmatchedAllocation=e=>{this.unmatchedAllocations.push(e)},this.setNone=()=>(this.variationKey=null,this.variationValue=null,this.matchedRule=null,this.matchedAllocation=null,this),this.setMatch=(e,t,r,s,a)=>(this.variationKey=t.key,this.variationValue=a===n.VariationType.JSON&&"string"==typeof t.value?JSON.parse(t.value):t.value,this.matchedRule=s,this.matchedAllocation={key:r.key,allocationEvaluationCode:i.MATCH,orderPosition:e+1},this),this.buildForNoneResult=(e,t)=>this.setNone().build(e,t),this.build=(e,t)=>({environmentName:this.environmentName,flagEvaluationCode:e,flagEvaluationDescription:t,variationKey:this.variationKey,variationValue:this.variationValue,banditKey:null,banditAction:null,configFetchedAt:this.configFetchedAt,configPublishedAt:this.configPublishedAt,matchedRule:this.matchedRule,matchedAllocation:this.matchedAllocation,unmatchedAllocations:this.unmatchedAllocations,unevaluatedAllocations:this.calculateUnevaluatedAllocations()}),this.gracefulBuild=(e,t)=>{try{return this.build(e,t)}catch(e){return null}},this.calculateUnevaluatedAllocations=()=>{const e=this.matchedAllocation?this.unmatchedAllocations.length+1:this.unmatchedAllocations.length,t=e+1;return this.allocations.slice(e).map(((e,r)=>({key:e.key,allocationEvaluationCode:i.UNEVALUATED,orderPosition:t+r})))},this.setNone()}}},518963:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FlagEvaluationError=void 0;class r extends Error{}t.FlagEvaluationError=r},833027:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HttpRequestError=void 0;class r extends Error{constructor(e,t,r){super(e),this.message=e,this.status=t,this.cause=r,r&&(this.cause=r)}}t.HttpRequestError=r;t.default=class{constructor(e,t){this.apiEndpoints=e,this.timeout=t}async getUniversalFlagConfiguration(){const e=this.apiEndpoints.ufcEndpoint();return await this.rawGet(e)}async getBanditParameters(){const e=this.apiEndpoints.banditParametersEndpoint();return await this.rawGet(e)}async getPrecomputedFlags(e){const t=this.apiEndpoints.precomputedFlagsEndpoint();return await this.rawPost(t,e)}async rawGet(e){try{const t=new AbortController,n=t.signal,i=setTimeout((()=>t.abort()),this.timeout),s=await fetch(e,{signal:n});if(clearTimeout(i),null==s||!s.ok)throw new r("Failed to fetch data",null==s?void 0:s.status);return await s.json()}catch(e){if("AbortError"===e.name)throw new r("Request timed out",408,e);if(e instanceof r)throw e;throw new r("Network error",0,e)}}async rawPost(e,t){try{const n=new AbortController,i=n.signal,s=setTimeout((()=>n.abort()),this.timeout),a=await fetch(e,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t),signal:i});if(clearTimeout(s),null==a||!a.ok){const e=await a.text();throw new r(e||"Failed to post data",null==a?void 0:a.status)}return await a.json()}catch(e){if("AbortError"===e.name)throw new r("Request timed out",408,e);if(e instanceof r)throw e;throw new r("Network error",0,e)}}}},271067:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StoreBackedConfiguration=void 0;const n=r(646168),i=r(723490);t.StoreBackedConfiguration=class{constructor(e,t,r){this.flagConfigurationStore=e,this.banditVariationConfigurationStore=t,this.banditModelConfigurationStore=r}async hydrateConfigurationStores(e,t,r){const i=await(0,n.hydrateConfigurationStore)(this.flagConfigurationStore,e),s=[];return this.banditVariationConfigurationStore&&t&&s.push((0,n.hydrateConfigurationStore)(this.banditVariationConfigurationStore,t)),this.banditModelConfigurationStore&&r&&s.push((0,n.hydrateConfigurationStore)(this.banditModelConfigurationStore,r)),await Promise.all(s),i}getBandit(e){var t,r;return null!==(t=null===(r=this.banditModelConfigurationStore)||void 0===r?void 0:r.get(e))&&void 0!==t?t:null}getFlagVariationBandit(e,t){var r,n;const i=null===(r=this.banditVariationConfigurationStore)||void 0===r?void 0:r.get(e),s=null==i||null===(n=i.find((e=>e.variationValue===t)))||void 0===n?void 0:n.key;return s?this.getBandit(s):null}getFlag(e){var t;return null!==(t=this.flagConfigurationStore.get(e))&&void 0!==t?t:null}getFlagConfigDetails(){var e,t,r,n;return{configFetchedAt:null!==(e=this.flagConfigurationStore.getConfigFetchedAt())&&void 0!==e?e:"",configPublishedAt:null!==(t=this.flagConfigurationStore.getConfigPublishedAt())&&void 0!==t?t:"",configEnvironment:null!==(r=this.flagConfigurationStore.getEnvironment())&&void 0!==r?r:{name:""},configFormat:null!==(n=this.flagConfigurationStore.getFormat())&&void 0!==n?n:""}}getFlagBanditVariations(e){var t,r;return null!==(t=null===(r=this.banditVariationConfigurationStore)||void 0===r?void 0:r.get(e))&&void 0!==t?t:[]}getFlagKeys(){return this.flagConfigurationStore.getKeys()}getFlags(){return this.flagConfigurationStore.entries()}isObfuscated(){var e;return i.OBFUSCATED_FORMATS.includes(null!==(e=this.getFlagConfigDetails().configFormat)&&void 0!==e?e:"SERVER")}isInitialized(){return this.flagConfigurationStore.isInitialized()&&(!this.banditVariationConfigurationStore||this.banditVariationConfigurationStore.isInitialized())&&(!this.banditModelConfigurationStore||this.banditModelConfigurationStore.isInitialized())}getBandits(){var e,t;return null!==(e=null===(t=this.banditModelConfigurationStore)||void 0===t?void 0:t.entries())&&void 0!==e?e:{}}getBanditVariations(){var e,t;return null!==(e=null===(t=this.banditVariationConfigurationStore)||void 0===t?void 0:t.entries())&&void 0!==e?e:{}}}},123231:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.buildStorageKeySuffix=t.decodePrecomputedFlag=t.ConfigurationWireHelper=t.DefaultEventDispatcher=t.BatchEventProcessor=t.newDefaultEventDispatcher=t.DEFAULT_EVENT_DISPATCHER_BATCH_SIZE=t.DEFAULT_EVENT_DISPATCHER_CONFIG=t.BoundedEventQueue=t.FormatEnum=t.VariationType=t.assignmentCacheValueToString=t.assignmentCacheKeyToString=t.LRUInMemoryAssignmentCache=t.NonExpiringInMemoryAssignmentCache=t.MemoryOnlyConfigurationStore=t.HybridConfigurationStore=t.MemoryStore=t.EppoPrecomputedClient=t.validation=t.HttpClient=t.FlagConfigRequestor=t.ApiEndpoints=t.constants=t.EppoClient=t.EppoAssignmentLogger=t.AbstractAssignmentCache=t.applicationLogger=t.loggerPrefix=void 0;const n=r(127660);t.ApiEndpoints=n.default;const i=r(328902);Object.defineProperty(t,"applicationLogger",{enumerable:!0,get:function(){return i.logger}}),Object.defineProperty(t,"loggerPrefix",{enumerable:!0,get:function(){return i.loggerPrefix}});const s=r(305397);Object.defineProperty(t,"AbstractAssignmentCache",{enumerable:!0,get:function(){return s.AbstractAssignmentCache}}),Object.defineProperty(t,"assignmentCacheKeyToString",{enumerable:!0,get:function(){return s.assignmentCacheKeyToString}}),Object.defineProperty(t,"assignmentCacheValueToString",{enumerable:!0,get:function(){return s.assignmentCacheValueToString}});const a=r(704814);Object.defineProperty(t,"LRUInMemoryAssignmentCache",{enumerable:!0,get:function(){return a.LRUInMemoryAssignmentCache}});const o=r(358651);Object.defineProperty(t,"NonExpiringInMemoryAssignmentCache",{enumerable:!0,get:function(){return o.NonExpiringInMemoryAssignmentCache}});const u=r(252635);t.EppoClient=u.default;const c=r(956738);t.EppoPrecomputedClient=c.default;const l=r(371152);t.FlagConfigRequestor=l.default;const d=r(901741);Object.defineProperty(t,"HybridConfigurationStore",{enumerable:!0,get:function(){return d.HybridConfigurationStore}});const h=r(780952);Object.defineProperty(t,"MemoryStore",{enumerable:!0,get:function(){return h.MemoryStore}}),Object.defineProperty(t,"MemoryOnlyConfigurationStore",{enumerable:!0,get:function(){return h.MemoryOnlyConfigurationStore}});const f=r(58135);Object.defineProperty(t,"ConfigurationWireHelper",{enumerable:!0,get:function(){return f.ConfigurationWireHelper}});const p=r(723490);t.constants=p;const g=r(178898);Object.defineProperty(t,"decodePrecomputedFlag",{enumerable:!0,get:function(){return g.decodePrecomputedFlag}});const m=r(427310);Object.defineProperty(t,"EppoAssignmentLogger",{enumerable:!0,get:function(){return m.EppoAssignmentLogger}});const v=r(978333);t.BatchEventProcessor=v.default;const y=r(660359);Object.defineProperty(t,"BoundedEventQueue",{enumerable:!0,get:function(){return y.BoundedEventQueue}});const E=r(456355);t.DefaultEventDispatcher=E.default,Object.defineProperty(t,"DEFAULT_EVENT_DISPATCHER_CONFIG",{enumerable:!0,get:function(){return E.DEFAULT_EVENT_DISPATCHER_CONFIG}}),Object.defineProperty(t,"DEFAULT_EVENT_DISPATCHER_BATCH_SIZE",{enumerable:!0,get:function(){return E.DEFAULT_EVENT_DISPATCHER_BATCH_SIZE}}),Object.defineProperty(t,"newDefaultEventDispatcher",{enumerable:!0,get:function(){return E.newDefaultEventDispatcher}});const b=r(833027);t.HttpClient=b.default;const _=r(763483);Object.defineProperty(t,"VariationType",{enumerable:!0,get:function(){return _.VariationType}}),Object.defineProperty(t,"FormatEnum",{enumerable:!0,get:function(){return _.FormatEnum}});const S=r(142060);Object.defineProperty(t,"buildStorageKeySuffix",{enumerable:!0,get:function(){return S.buildStorageKeySuffix}});const O=r(793252);t.validation=O},763483:(e,t)=>{"use strict";var r,n;Object.defineProperty(t,"__esModule",{value:!0}),t.FormatEnum=t.UNKNOWN_ENVIRONMENT_NAME=t.VariationType=void 0,function(e){e.STRING="STRING",e.INTEGER="INTEGER",e.NUMERIC="NUMERIC",e.BOOLEAN="BOOLEAN",e.JSON="JSON"}(r||(t.VariationType=r={})),t.UNKNOWN_ENVIRONMENT_NAME="UNKNOWN",function(e){e.SERVER="SERVER",e.CLIENT="CLIENT",e.PRECOMPUTED="PRECOMPUTED"}(n||(t.FormatEnum=n={}))},142060:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getMD5Hash=s,t.buildStorageKeySuffix=function(e){return s(e).slice(0,16)},t.encodeBase64=a,t.attributeEncodeBase64=o,t.decodeBase64=function(e){return n.decode(e)},t.obfuscatePrecomputedBanditMap=function(e,t){return Object.fromEntries(Object.entries(t).map((([t,r])=>{return[s(t,e),(n=r,{banditKey:a(n.banditKey),action:a(n.action),actionProbability:n.actionProbability,optimalityGap:n.optimalityGap,modelVersion:a(n.modelVersion),actionNumericAttributes:u(n.actionNumericAttributes),actionCategoricalAttributes:u(n.actionCategoricalAttributes)})];var n})))},t.obfuscatePrecomputedFlags=function(e,t){const r={};return Object.keys(t).forEach((n=>{var i,o,u;const c=t[n],l=Object.fromEntries(Object.entries(null!==(i=c.extraLogging)&&void 0!==i?i:{}).map((e=>e.map(a)))),d=s(n,e);r[d]={flagKey:d,variationType:c.variationType,extraLogging:l,doLog:c.doLog,allocationKey:a(null!==(o=c.allocationKey)&&void 0!==o?o:""),variationKey:a(null!==(u=c.variationKey)&&void 0!==u?u:""),variationValue:a(c.variationValue)}})),r};const n=r(808127),i=r(275735);function s(e,t=""){return(new i).append(t).append(e).end()}function a(e){return n.encode(e)}function o(e){return a("string"!=typeof e?String(e):e)}function u(e){return Object.fromEntries(Object.entries(e).map((([e,t])=>[a(e),o(t)])))}},294364:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OverrideValidator=t.sendValidationRequest=void 0;const n=r(998350);t.sendValidationRequest=async e=>{const t=await fetch("https://eppo.cloud/api/flag-overrides/v1/validate-key",{method:"POST",body:JSON.stringify({key:e}),headers:{"Content-Type":"application/json"}});if(200!==t.status)throw new Error(`Unable to authorize key: ${t.statusText}`)};t.OverrideValidator=class{constructor(){this.validKeyCache=new n.TLRUCache(100,18e6)}parseOverridePayload(e){try{const t=JSON.parse(e);return this.validateParsedOverridePayload(t),t}catch(e){var t;const r=null!==(t=null==e?void 0:e.message)&&void 0!==t?t:"unknown error";throw new Error(`Unable to parse overridePayload: ${r}`)}}validateParsedOverridePayload(e){if("object"!=typeof e)throw new Error("Expected object, but received "+typeof e);const t=Object.keys(e);if(!t.includes("browserExtensionKey"))throw new Error("Missing required field: 'browserExtensionKey'");if(!t.includes("overrides"))throw new Error("Missing required field: 'overrides'");if("string"!=typeof e.browserExtensionKey)throw new Error("Invalid type for 'browserExtensionKey'. Expected string, but received "+typeof e.browserExtensionKey);if("object"!=typeof e.overrides)throw new Error(`Invalid type for 'overrides'. Expected object, but received ${typeof e.overrides}.`)}async validateKey(e){if("true"===this.validKeyCache.get(e))return!0;await(0,t.sendValidationRequest)(e),this.validKeyCache.set(e,"true")}}},348869:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){let o,u=!1,c=0,l=e,d=!1;const h=()=>{u||(u=!0,o&&clearTimeout(o),n.logger.info("Eppo SDK polling stopped"))};async function f(){if(!u){try{await t(),c=0,l=e,d&&(d=!1,n.logger.info("Eppo SDK poll successful; resuming normal polling"))}catch(t){var s;d=!0,n.logger.warn(`Eppo SDK encountered an error polling configurations: ${t.message}`);const o=1+(null!==(s=null==r?void 0:r.maxPollRetries)&&void 0!==s?s:i.DEFAULT_POLL_CONFIG_REQUEST_RETRIES);if(++c<o){const t=Math.pow(2,c),r=a(e);l=t*e+r,n.logger.warn(`Eppo SDK will try polling again in ${l} ms (${o-c} attempts remaining)`)}else n.logger.error(`Eppo SDK reached maximum of ${c} failed polling attempts. Stopping polling`),h()}setTimeout(f,l)}}return{start:async()=>{var c;u=!1;let l=!1,p=null!=r&&r.skipInitialPoll?0:1+(null!==(c=null==r?void 0:r.maxStartRetries)&&void 0!==c?c:i.DEFAULT_INITIAL_CONFIG_REQUEST_RETRIES),g=null;for(;!l&&p>0;)try{await t(),l=!0,d=!1,n.logger.info("Eppo SDK successfully requested initial configuration")}catch(t){if(d=!0,n.logger.warn(`Eppo SDK encountered an error with initial poll of configurations: ${t.message}`),--p>0){const t=a(e);n.logger.warn(`Eppo SDK will retry the initial poll again in ${t} ms (${p} attempts remaining)`),await(0,s.waitForMs)(t)}else null!=r&&r.pollAfterFailedStart?n.logger.warn("Eppo SDK initial poll failed; will attempt regular polling"):(n.logger.error("Eppo SDK initial poll failed. Aborting polling"),h()),null!=r&&r.errorOnFailedStart&&(g=t)}if(!u&&(l&&(null==r?void 0:r.pollAfterSuccessfulStart)||!l&&(null==r?void 0:r.pollAfterFailedStart))?(n.logger.info(`Eppo SDK starting regularly polling every ${e} ms`),o=setTimeout(f,e)):n.logger.info("Eppo SDK will not poll for configuration updates"),g)throw n.logger.info("Eppo SDK rethrowing start error"),g},stop:h}};const n=r(328902),i=r(723490),s=r(63071);function a(e){return e*i.POLL_JITTER_PCT/2+Math.max(Math.floor(Math.random()*e*i.POLL_JITTER_PCT/2),1)}},675012:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(646168),i=r(763483);t.default=class{constructor(e,t,r,n,i,s){this.httpClient=e,this.precomputedFlagStore=t,this.subjectKey=r,this.subjectAttributes=n,this.precomputedBanditsStore=i,this.banditActions=s}async fetchAndStorePrecomputedFlags(){var e;const t=await this.httpClient.getPrecomputedFlags({subject_key:this.subjectKey,subject_attributes:this.subjectAttributes,bandit_actions:this.banditActions});if(!t)return;const r=[];var s;(r.push((0,n.hydrateConfigurationStore)(this.precomputedFlagStore,{entries:t.flags,environment:null!==(e=t.environment)&&void 0!==e?e:{name:i.UNKNOWN_ENVIRONMENT_NAME},createdAt:t.createdAt,format:t.format,salt:t.salt})),this.precomputedBanditsStore)&&r.push((0,n.hydrateConfigurationStore)(this.precomputedBanditsStore,{entries:t.bandits,environment:null!==(s=t.environment)&&void 0!==s?s:{name:i.UNKNOWN_ENVIRONMENT_NAME},createdAt:t.createdAt,format:t.format,salt:t.salt}));await Promise.all(r)}}},131344:(e,t,r)=>{"use strict";var n=r(443693);function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}Object.defineProperty(t,"__esModule",{value:!0}),t.ObfuscatedOperatorType=t.OperatorType=void 0,t.matchesRule=function(e,t,r){return!function(e,t,r){return t.map((t=>r?function(e,t){const r=e[t.attribute];if(t.operator===u.IS_NULL)return t.value===(0,a.getMD5Hash)("true")?null==r:null!=r;if(null!=r)switch(t.operator){case u.GTE:case u.GT:case u.LTE:case u.LT:{const e=(0,a.decodeBase64)(t.value);if(g(e)===c.SEM_VER){return p(r,e,t.operator===u.GTE?s.gte:t.operator===u.GT?s.gt:t.operator===u.LTE?s.lte:s.lt)}const n=(e,r)=>t.operator===u.GTE?e>=r:t.operator===u.GT?e>r:t.operator===u.LTE?e<=r:e<r;return f(r,Number(e),n)}case u.MATCHES:return new RegExp((0,a.decodeBase64)(t.value)).test(r);case u.NOT_MATCHES:return!new RegExp((0,a.decodeBase64)(t.value)).test(r);case u.ONE_OF:return l((0,a.getMD5Hash)(r.toString()),t.value);case u.NOT_ONE_OF:return d((0,a.getMD5Hash)(r.toString()),t.value)}return!1}(Object.entries(e).reduce(((e,[t,r])=>function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){n(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({[(0,a.getMD5Hash)(t)]:r},e)),{}),t):function(e,t){const r=e[t.attribute];if(t.operator===o.IS_NULL)return t.value?null==r:null!=r;if(null!=r)switch(t.operator){case o.GTE:case o.GT:case o.LTE:case o.LT:{if(g(t.value)===c.SEM_VER){const e=t.operator===o.GTE?s.gte:t.operator===o.GT?s.gt:t.operator===o.LTE?s.lte:s.lt;return p(r,t.value,e)}const e=(e,r)=>t.operator===o.GTE?e>=r:t.operator===o.GT?e>r:t.operator===o.LTE?e<=r:e<r;return f(r,t.value,e)}case o.MATCHES:return new RegExp(t.value).test(r);case o.NOT_MATCHES:return!new RegExp(t.value).test(r);case o.ONE_OF:return l(r.toString(),t.value);case o.NOT_ONE_OF:return d(r.toString(),t.value)}return!1}(e,t)))}(t,e.conditions,r).includes(!1)};const s=r(999589),a=r(142060);var o,u,c;function l(e,t){return h(e,t).length>0}function d(e,t){return 0===h(e,t).length}function h(e,t){return t.filter((t=>t===e))}function f(e,t,r){return r(Number(e),Number(t))}function p(e,t,r){return!!(0,s.valid)(e)&&!!(0,s.valid)(t)&&r(e,t)}function g(e){return"number"==typeof e?c.NUMERIC:Array.isArray(e)?c.STRING_ARRAY:"string"==typeof e&&(0,s.valid)(e)?c.SEM_VER:isNaN(Number(e))?c.PLAIN_STRING:c.NUMERIC}!function(e){e.MATCHES="MATCHES",e.NOT_MATCHES="NOT_MATCHES",e.GTE="GTE",e.GT="GT",e.LTE="LTE",e.LT="LT",e.ONE_OF="ONE_OF",e.NOT_ONE_OF="NOT_ONE_OF",e.IS_NULL="IS_NULL"}(o||(t.OperatorType=o={})),function(e){e.MATCHES="05015086bdd8402218f6aad6528bef08",e.NOT_MATCHES="8323761667755378c3a78e0a6ed37a78",e.GTE="32d35312e8f24bc1669bd2b45c00d47c",e.GT="cd6a9bd2a175104eed40f0d33a8b4020",e.LTE="cc981ecc65ecf63ad1673cbec9c64198",e.LT="c562607189d77eb9dfb707464c1e7b0b",e.ONE_OF="27457ce369f2a74203396a35ef537c0b",e.NOT_ONE_OF="602f5ee0b6e84fe29f43ab48b9e1addf",e.IS_NULL="dbd9c38e0339e6c34bd48cafc59be388"}(u||(t.ObfuscatedOperatorType=u={})),function(e){e.PLAIN_STRING="PLAIN_STRING",e.STRING_ARRAY="STRING_ARRAY",e.SEM_VER="SEM_VER",e.NUMERIC="NUMERIC"}(c||(c={}))},736055:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DeterministicSharder=t.MD5Sharder=t.Sharder=void 0;const n=r(142060);class i{}t.Sharder=i;t.MD5Sharder=class extends i{getShard(e,t){const r=(0,n.getMD5Hash)(e);return parseInt(r.slice(0,8),16)%t}};t.DeterministicSharder=class extends i{constructor(e){super(),this.lookup=e}getShard(e,t){var r;return null!==(r=this.lookup[e])&&void 0!==r?r:0}}},63071:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.waitForMs=async function(e){await new Promise((t=>setTimeout(t,e)))},t.shallowClone=function(e){return Object.assign(Object.create(Object.getPrototypeOf(e)),e)}},793252:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InvalidArgumentError=void 0,t.validateNotBlank=function(e,t){if(null==e||0===e.length)throw new r(t)};class r extends Error{}t.InvalidArgumentError=r},212911:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LIB_VERSION=void 0;const n=r(841461);t.LIB_VERSION=n.version},271306:(e,t,r)=>{var n=r(177693),i=r(286162),s=i;s.v1=n,s.v4=i,e.exports=s},851187:e=>{for(var t=[],r=0;r<256;++r)t[r]=(r+256).toString(16).substr(1);e.exports=function(e,r){var n=r||0,i=t;return[i[e[n++]],i[e[n++]],i[e[n++]],i[e[n++]],"-",i[e[n++]],i[e[n++]],"-",i[e[n++]],i[e[n++]],"-",i[e[n++]],i[e[n++]],"-",i[e[n++]],i[e[n++]],i[e[n++]],i[e[n++]],i[e[n++]],i[e[n++]]].join("")}},40490:e=>{var t="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(t){var r=new Uint8Array(16);e.exports=function(){return t(r),r}}else{var n=new Array(16);e.exports=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),n[t]=e>>>((3&t)<<3)&255;return n}}},177693:(e,t,r)=>{var n,i,s=r(40490),a=r(851187),o=0,u=0;e.exports=function(e,t,r){var c=t&&r||0,l=t||[],d=(e=e||{}).node||n,h=void 0!==e.clockseq?e.clockseq:i;if(null==d||null==h){var f=s();null==d&&(d=n=[1|f[0],f[1],f[2],f[3],f[4],f[5]]),null==h&&(h=i=16383&(f[6]<<8|f[7]))}var p=void 0!==e.msecs?e.msecs:(new Date).getTime(),g=void 0!==e.nsecs?e.nsecs:u+1,m=p-o+(g-u)/1e4;if(m<0&&void 0===e.clockseq&&(h=h+1&16383),(m<0||p>o)&&void 0===e.nsecs&&(g=0),g>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");o=p,u=g,i=h;var v=(1e4*(268435455&(p+=122192928e5))+g)%4294967296;l[c++]=v>>>24&255,l[c++]=v>>>16&255,l[c++]=v>>>8&255,l[c++]=255&v;var y=p/4294967296*1e4&268435455;l[c++]=y>>>8&255,l[c++]=255&y,l[c++]=y>>>24&15|16,l[c++]=y>>>16&255,l[c++]=h>>>8|128,l[c++]=255&h;for(var E=0;E<6;++E)l[c+E]=d[E];return t||a(l)}},286162:(e,t,r)=>{var n=r(40490),i=r(851187);e.exports=function(e,t,r){var s=t&&r||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var a=(e=e||{}).random||(e.rng||n)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t)for(var o=0;o<16;++o)t[s+o]=a[o];return t||i(a)}},93904:(e,t,r)=>{"use strict";const n=Symbol("SemVer ANY");class i{static get ANY(){return n}constructor(e,t){if(t=s(t),e instanceof i){if(e.loose===!!t.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),c("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===n?this.value="":this.value=this.operator+this.semver.version,c("comp",this)}parse(e){const t=this.options.loose?a[o.COMPARATORLOOSE]:a[o.COMPARATOR],r=e.match(t);if(!r)throw new TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==r[1]?r[1]:"","="===this.operator&&(this.operator=""),r[2]?this.semver=new l(r[2],this.options.loose):this.semver=n}toString(){return this.value}test(e){if(c("Comparator.test",e,this.options.loose),this.semver===n||e===n)return!0;if("string"==typeof e)try{e=new l(e,this.options)}catch(e){return!1}return u(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof i))throw new TypeError("a Comparator is required");return""===this.operator?""===this.value||new d(e.value,t).test(this.value):""===e.operator?""===e.value||new d(this.value,t).test(e.semver):(!(t=s(t)).includePrerelease||"<0.0.0-0"!==this.value&&"<0.0.0-0"!==e.value)&&(!(!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0")))&&(!(!this.operator.startsWith(">")||!e.operator.startsWith(">"))||(!(!this.operator.startsWith("<")||!e.operator.startsWith("<"))||(!(this.semver.version!==e.semver.version||!this.operator.includes("=")||!e.operator.includes("="))||(!!(u(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<"))||!!(u(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))))))}}e.exports=i;const s=r(398587),{safeRe:a,t:o}=r(199718),u=r(272111),c=r(257272),l=r(853908),d=r(778311)},778311:(e,t,r)=>{"use strict";const n=/\s+/g;class i{constructor(e,t){if(t=a(t),e instanceof i)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new i(e.raw,t);if(e instanceof o)return this.raw=e.value,this.set=[[e]],this.formatted=void 0,this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().replace(n," "),this.set=this.raw.split("||").map((e=>this.parseRange(e.trim()))).filter((e=>e.length)),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!v(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&y(e[0])){this.set=[e];break}}this.formatted=void 0}get range(){if(void 0===this.formatted){this.formatted="";for(let e=0;e<this.set.length;e++){e>0&&(this.formatted+="||");const t=this.set[e];for(let e=0;e<t.length;e++)e>0&&(this.formatted+=" "),this.formatted+=t[e].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){const t=((this.options.includePrerelease&&g)|(this.options.loose&&m))+":"+e,r=s.get(t);if(r)return r;const n=this.options.loose,i=n?l[d.HYPHENRANGELOOSE]:l[d.HYPHENRANGE];e=e.replace(i,R(this.options.includePrerelease)),u("hyphen replace",e),e=e.replace(l[d.COMPARATORTRIM],h),u("comparator trim",e),e=e.replace(l[d.TILDETRIM],f),u("tilde trim",e),e=e.replace(l[d.CARETTRIM],p),u("caret trim",e);let a=e.split(" ").map((e=>b(e,this.options))).join(" ").split(/\s+/).map((e=>N(e,this.options)));n&&(a=a.filter((e=>(u("loose invalid filter",e,this.options),!!e.match(l[d.COMPARATORLOOSE]))))),u("range list",a);const c=new Map,y=a.map((e=>new o(e,this.options)));for(const e of y){if(v(e))return[e];c.set(e.value,e)}c.size>1&&c.has("")&&c.delete("");const E=[...c.values()];return s.set(t,E),E}intersects(e,t){if(!(e instanceof i))throw new TypeError("a Range is required");return this.set.some((r=>E(r,t)&&e.set.some((e=>E(e,t)&&r.every((r=>e.every((e=>r.intersects(e,t)))))))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new c(e,this.options)}catch(e){return!1}for(let t=0;t<this.set.length;t++)if(P(this.set[t],e,this.options))return!0;return!1}}e.exports=i;const s=new(r(668794)),a=r(398587),o=r(93904),u=r(257272),c=r(853908),{safeRe:l,t:d,comparatorTrimReplace:h,tildeTrimReplace:f,caretTrimReplace:p}=r(199718),{FLAG_INCLUDE_PRERELEASE:g,FLAG_LOOSE:m}=r(416874),v=e=>"<0.0.0-0"===e.value,y=e=>""===e.value,E=(e,t)=>{let r=!0;const n=e.slice();let i=n.pop();for(;r&&n.length;)r=n.every((e=>i.intersects(e,t))),i=n.pop();return r},b=(e,t)=>(e=e.replace(l[d.BUILD],""),u("comp",e,t),e=A(e,t),u("caret",e),e=S(e,t),u("tildes",e),e=C(e,t),u("xrange",e),e=T(e,t),u("stars",e),e),_=e=>!e||"x"===e.toLowerCase()||"*"===e,S=(e,t)=>e.trim().split(/\s+/).map((e=>O(e,t))).join(" "),O=(e,t)=>{const r=t.loose?l[d.TILDELOOSE]:l[d.TILDE];return e.replace(r,((t,r,n,i,s)=>{let a;return u("tilde",e,t,r,n,i,s),_(r)?a="":_(n)?a=`>=${r}.0.0 <${+r+1}.0.0-0`:_(i)?a=`>=${r}.${n}.0 <${r}.${+n+1}.0-0`:s?(u("replaceTilde pr",s),a=`>=${r}.${n}.${i}-${s} <${r}.${+n+1}.0-0`):a=`>=${r}.${n}.${i} <${r}.${+n+1}.0-0`,u("tilde return",a),a}))},A=(e,t)=>e.trim().split(/\s+/).map((e=>w(e,t))).join(" "),w=(e,t)=>{u("caret",e,t);const r=t.loose?l[d.CARETLOOSE]:l[d.CARET],n=t.includePrerelease?"-0":"";return e.replace(r,((t,r,i,s,a)=>{let o;return u("caret",e,t,r,i,s,a),_(r)?o="":_(i)?o=`>=${r}.0.0${n} <${+r+1}.0.0-0`:_(s)?o="0"===r?`>=${r}.${i}.0${n} <${r}.${+i+1}.0-0`:`>=${r}.${i}.0${n} <${+r+1}.0.0-0`:a?(u("replaceCaret pr",a),o="0"===r?"0"===i?`>=${r}.${i}.${s}-${a} <${r}.${i}.${+s+1}-0`:`>=${r}.${i}.${s}-${a} <${r}.${+i+1}.0-0`:`>=${r}.${i}.${s}-${a} <${+r+1}.0.0-0`):(u("no pr"),o="0"===r?"0"===i?`>=${r}.${i}.${s}${n} <${r}.${i}.${+s+1}-0`:`>=${r}.${i}.${s}${n} <${r}.${+i+1}.0-0`:`>=${r}.${i}.${s} <${+r+1}.0.0-0`),u("caret return",o),o}))},C=(e,t)=>(u("replaceXRanges",e,t),e.split(/\s+/).map((e=>I(e,t))).join(" ")),I=(e,t)=>{e=e.trim();const r=t.loose?l[d.XRANGELOOSE]:l[d.XRANGE];return e.replace(r,((r,n,i,s,a,o)=>{u("xRange",e,r,n,i,s,a,o);const c=_(i),l=c||_(s),d=l||_(a),h=d;return"="===n&&h&&(n=""),o=t.includePrerelease?"-0":"",c?r=">"===n||"<"===n?"<0.0.0-0":"*":n&&h?(l&&(s=0),a=0,">"===n?(n=">=",l?(i=+i+1,s=0,a=0):(s=+s+1,a=0)):"<="===n&&(n="<",l?i=+i+1:s=+s+1),"<"===n&&(o="-0"),r=`${n+i}.${s}.${a}${o}`):l?r=`>=${i}.0.0${o} <${+i+1}.0.0-0`:d&&(r=`>=${i}.${s}.0${o} <${i}.${+s+1}.0-0`),u("xRange return",r),r}))},T=(e,t)=>(u("replaceStars",e,t),e.trim().replace(l[d.STAR],"")),N=(e,t)=>(u("replaceGTE0",e,t),e.trim().replace(l[t.includePrerelease?d.GTE0PRE:d.GTE0],"")),R=e=>(t,r,n,i,s,a,o,u,c,l,d,h)=>`${r=_(n)?"":_(i)?`>=${n}.0.0${e?"-0":""}`:_(s)?`>=${n}.${i}.0${e?"-0":""}`:a?`>=${r}`:`>=${r}${e?"-0":""}`} ${u=_(c)?"":_(l)?`<${+c+1}.0.0-0`:_(d)?`<${c}.${+l+1}.0-0`:h?`<=${c}.${l}.${d}-${h}`:e?`<${c}.${l}.${+d+1}-0`:`<=${u}`}`.trim(),P=(e,t,r)=>{for(let r=0;r<e.length;r++)if(!e[r].test(t))return!1;if(t.prerelease.length&&!r.includePrerelease){for(let r=0;r<e.length;r++)if(u(e[r].semver),e[r].semver!==o.ANY&&e[r].semver.prerelease.length>0){const n=e[r].semver;if(n.major===t.major&&n.minor===t.minor&&n.patch===t.patch)return!0}return!1}return!0}},853908:(e,t,r)=>{"use strict";const n=r(257272),{MAX_LENGTH:i,MAX_SAFE_INTEGER:s}=r(416874),{safeRe:a,t:o}=r(199718),u=r(398587),{compareIdentifiers:c}=r(961123);class l{constructor(e,t){if(t=u(t),e instanceof l){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>i)throw new TypeError(`version is longer than ${i} characters`);n("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const r=e.trim().match(t.loose?a[o.LOOSE]:a[o.FULL]);if(!r)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>s||this.major<0)throw new TypeError("Invalid major version");if(this.minor>s||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>s||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<s)return t}return e})):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(n("SemVer.compare",this.version,this.options,e),!(e instanceof l)){if("string"==typeof e&&e===this.version)return 0;e=new l(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof l||(e=new l(e,this.options)),this.major<e.major?-1:this.major>e.major?1:this.minor<e.minor?-1:this.minor>e.minor?1:this.patch<e.patch?-1:this.patch>e.patch?1:0}comparePre(e){if(e instanceof l||(e=new l(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{const r=this.prerelease[t],i=e.prerelease[t];if(n("prerelease compare",t,r,i),void 0===r&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===r)return-1;if(r!==i)return c(r,i)}while(++t)}compareBuild(e){e instanceof l||(e=new l(e,this.options));let t=0;do{const r=this.build[t],i=e.build[t];if(n("build compare",t,r,i),void 0===r&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===r)return-1;if(r!==i)return c(r,i)}while(++t)}inc(e,t,r){if(e.startsWith("pre")){if(!t&&!1===r)throw new Error("invalid increment argument: identifier is empty");if(t){const e=`-${t}`.match(this.options.loose?a[o.PRERELEASELOOSE]:a[o.PRERELEASE]);if(!e||e[1]!==t)throw new Error(`invalid identifier: ${t}`)}}switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t,r);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t,r);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t,r),this.inc("pre",t,r);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t,r),this.inc("pre",t,r);break;case"release":if(0===this.prerelease.length)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":{const e=Number(r)?1:0;if(0===this.prerelease.length)this.prerelease=[e];else{let n=this.prerelease.length;for(;--n>=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);if(-1===n){if(t===this.prerelease.join(".")&&!1===r)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(e)}}if(t){let n=[t,e];!1===r&&(n=[t]),0===c(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=n):this.prerelease=n}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}e.exports=l},57414:(e,t,r)=>{"use strict";const n=r(830144);e.exports=(e,t)=>{const r=n(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null}},272111:(e,t,r)=>{"use strict";const n=r(694641),i=r(613999),s=r(535580),a=r(154089),o=r(207059),u=r(825200);e.exports=(e,t,r,c)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e===r;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e!==r;case"":case"=":case"==":return n(e,r,c);case"!=":return i(e,r,c);case">":return s(e,r,c);case">=":return a(e,r,c);case"<":return o(e,r,c);case"<=":return u(e,r,c);default:throw new TypeError(`Invalid operator: ${t}`)}}},546170:(e,t,r)=>{"use strict";const n=r(853908),i=r(830144),{safeRe:s,t:a}=r(199718);e.exports=(e,t)=>{if(e instanceof n)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let r=null;if((t=t||{}).rtl){const n=t.includePrerelease?s[a.COERCERTLFULL]:s[a.COERCERTL];let i;for(;(i=n.exec(e))&&(!r||r.index+r[0].length!==e.length);)r&&i.index+i[0].length===r.index+r[0].length||(r=i),n.lastIndex=i.index+i[1].length+i[2].length;n.lastIndex=-1}else r=e.match(t.includePrerelease?s[a.COERCEFULL]:s[a.COERCE]);if(null===r)return null;const o=r[2],u=r[3]||"0",c=r[4]||"0",l=t.includePrerelease&&r[5]?`-${r[5]}`:"",d=t.includePrerelease&&r[6]?`+${r[6]}`:"";return i(`${o}.${u}.${c}${l}${d}`,t)}},240909:(e,t,r)=>{"use strict";const n=r(853908);e.exports=(e,t,r)=>{const i=new n(e,r),s=new n(t,r);return i.compare(s)||i.compareBuild(s)}},111763:(e,t,r)=>{"use strict";const n=r(350560);e.exports=(e,t)=>n(e,t,!0)},350560:(e,t,r)=>{"use strict";const n=r(853908);e.exports=(e,t,r)=>new n(e,r).compare(new n(t,r))},251832:(e,t,r)=>{"use strict";const n=r(830144);e.exports=(e,t)=>{const r=n(e,null,!0),i=n(t,null,!0),s=r.compare(i);if(0===s)return null;const a=s>0,o=a?r:i,u=a?i:r,c=!!o.prerelease.length;if(!!u.prerelease.length&&!c){if(!u.patch&&!u.minor)return"major";if(0===u.compareMain(o))return u.minor&&!u.patch?"minor":"patch"}const l=c?"pre":"";return r.major!==i.major?l+"major":r.minor!==i.minor?l+"minor":r.patch!==i.patch?l+"patch":"prerelease"}},694641:(e,t,r)=>{"use strict";const n=r(350560);e.exports=(e,t,r)=>0===n(e,t,r)},535580:(e,t,r)=>{"use strict";const n=r(350560);e.exports=(e,t,r)=>n(e,t,r)>0},154089:(e,t,r)=>{"use strict";const n=r(350560);e.exports=(e,t,r)=>n(e,t,r)>=0},793007:(e,t,r)=>{"use strict";const n=r(853908);e.exports=(e,t,r,i,s)=>{"string"==typeof r&&(s=i,i=r,r=void 0);try{return new n(e instanceof n?e.version:e,r).inc(t,i,s).version}catch(e){return null}}},207059:(e,t,r)=>{"use strict";const n=r(350560);e.exports=(e,t,r)=>n(e,t,r)<0},825200:(e,t,r)=>{"use strict";const n=r(350560);e.exports=(e,t,r)=>n(e,t,r)<=0},532938:(e,t,r)=>{"use strict";const n=r(853908);e.exports=(e,t)=>new n(e,t).major},746254:(e,t,r)=>{"use strict";const n=r(853908);e.exports=(e,t)=>new n(e,t).minor},613999:(e,t,r)=>{"use strict";const n=r(350560);e.exports=(e,t,r)=>0!==n(e,t,r)},830144:(e,t,r)=>{"use strict";const n=r(853908);e.exports=(e,t,r=!1)=>{if(e instanceof n)return e;try{return new n(e,t)}catch(e){if(!r)return null;throw e}}},24493:(e,t,r)=>{"use strict";const n=r(853908);e.exports=(e,t)=>new n(e,t).patch},31729:(e,t,r)=>{"use strict";const n=r(830144);e.exports=(e,t)=>{const r=n(e,t);return r&&r.prerelease.length?r.prerelease:null}},809970:(e,t,r)=>{"use strict";const n=r(350560);e.exports=(e,t,r)=>n(t,e,r)},474277:(e,t,r)=>{"use strict";const n=r(240909);e.exports=(e,t)=>e.sort(((e,r)=>n(r,e,t)))},897638:(e,t,r)=>{"use strict";const n=r(778311);e.exports=(e,t,r)=>{try{t=new n(t,r)}catch(e){return!1}return t.test(e)}},343927:(e,t,r)=>{"use strict";const n=r(240909);e.exports=(e,t)=>e.sort(((e,r)=>n(e,r,t)))},556953:(e,t,r)=>{"use strict";const n=r(830144);e.exports=(e,t)=>{const r=n(e,t);return r?r.version:null}},999589:(e,t,r)=>{"use strict";const n=r(199718),i=r(416874),s=r(853908),a=r(961123),o=r(830144),u=r(556953),c=r(57414),l=r(793007),d=r(251832),h=r(532938),f=r(746254),p=r(24493),g=r(31729),m=r(350560),v=r(809970),y=r(111763),E=r(240909),b=r(343927),_=r(474277),S=r(535580),O=r(207059),A=r(694641),w=r(613999),C=r(154089),I=r(825200),T=r(272111),N=r(546170),R=r(93904),P=r(778311),L=r(897638),j=r(277631),x=r(919628),D=r(300270),M=r(441261),k=r(113874),F=r(697075),$=r(375571),U=r(5342),V=r(676780),B=r(972525),Z=r(475032);e.exports={parse:o,valid:u,clean:c,inc:l,diff:d,major:h,minor:f,patch:p,prerelease:g,compare:m,rcompare:v,compareLoose:y,compareBuild:E,sort:b,rsort:_,gt:S,lt:O,eq:A,neq:w,gte:C,lte:I,cmp:T,coerce:N,Comparator:R,Range:P,satisfies:L,toComparators:j,maxSatisfying:x,minSatisfying:D,minVersion:M,validRange:k,outside:F,gtr:$,ltr:U,intersects:V,simplifyRange:B,subset:Z,SemVer:s,re:n.re,src:n.src,tokens:n.t,SEMVER_SPEC_VERSION:i.SEMVER_SPEC_VERSION,RELEASE_TYPES:i.RELEASE_TYPES,compareIdentifiers:a.compareIdentifiers,rcompareIdentifiers:a.rcompareIdentifiers}},416874:e=>{"use strict";const t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:t,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},257272:e=>{"use strict";const t="object"==typeof process&&{API_BASE_URL:void 0,CDN_URL:"https://assets.twitch.tv/",GQL_BASE_URL:void 0,PASSPORT_BASE_URL:void 0,INTERPOL_BASE_URL:void 0,PUBSUB_ENV:void 0,TMI_BASE_URL:void 0,MANIFEST_URL:"https://assets.twitch.tv/config/manifest.json?v=1",NODE_ENV:"production",PLAYER_BASE_URL:"https://player.twitch.tv",IS_DEV_BUILD:!1,IS_STAGING_BUILD:!1,IS_LOCAL_DEVSERVER:!1}.NODE_DEBUG&&/\bsemver\b/i.test({API_BASE_URL:void 0,CDN_URL:"https://assets.twitch.tv/",GQL_BASE_URL:void 0,PASSPORT_BASE_URL:void 0,INTERPOL_BASE_URL:void 0,PUBSUB_ENV:void 0,TMI_BASE_URL:void 0,MANIFEST_URL:"https://assets.twitch.tv/config/manifest.json?v=1",NODE_ENV:"production",PLAYER_BASE_URL:"https://player.twitch.tv",IS_DEV_BUILD:!1,IS_STAGING_BUILD:!1,IS_LOCAL_DEVSERVER:!1}.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t},961123:e=>{"use strict";const t=/^[0-9]+$/,r=(e,r)=>{if("number"==typeof e&&"number"==typeof r)return e===r?0:e<r?-1:1;const n=t.test(e),i=t.test(r);return n&&i&&(e=+e,r=+r),e===r?0:n&&!i?-1:i&&!n?1:e<r?-1:1};e.exports={compareIdentifiers:r,rcompareIdentifiers:(e,t)=>r(t,e)}},668794:e=>{"use strict";e.exports=class{constructor(){this.max=1e3,this.map=new Map}get(e){const t=this.map.get(e);return void 0===t?void 0:(this.map.delete(e),this.map.set(e,t),t)}delete(e){return this.map.delete(e)}set(e,t){if(!this.delete(e)&&void 0!==t){if(this.map.size>=this.max){const e=this.map.keys().next().value;this.delete(e)}this.map.set(e,t)}return this}}},398587:e=>{"use strict";const t=Object.freeze({loose:!0}),r=Object.freeze({});e.exports=e=>e?"object"!=typeof e?t:e:r},199718:(e,t,r)=>{"use strict";const{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:i,MAX_LENGTH:s}=r(416874),a=r(257272),o=(t=e.exports={}).re=[],u=t.safeRe=[],c=t.src=[],l=t.safeSrc=[],d=t.t={};let h=0;const f="[a-zA-Z0-9-]",p=[["\\s",1],["\\d",s],[f,i]],g=(e,t,r)=>{const n=(e=>{for(const[t,r]of p)e=e.split(`${t}*`).join(`${t}{0,${r}}`).split(`${t}+`).join(`${t}{1,${r}}`);return e})(t),i=h++;a(e,i,t),d[e]=i,c[i]=t,l[i]=n,o[i]=new RegExp(t,r?"g":void 0),u[i]=new RegExp(n,r?"g":void 0)};g("NUMERICIDENTIFIER","0|[1-9]\\d*"),g("NUMERICIDENTIFIERLOOSE","\\d+"),g("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${f}*`),g("MAINVERSION",`(${c[d.NUMERICIDENTIFIER]})\\.(${c[d.NUMERICIDENTIFIER]})\\.(${c[d.NUMERICIDENTIFIER]})`),g("MAINVERSIONLOOSE",`(${c[d.NUMERICIDENTIFIERLOOSE]})\\.(${c[d.NUMERICIDENTIFIERLOOSE]})\\.(${c[d.NUMERICIDENTIFIERLOOSE]})`),g("PRERELEASEIDENTIFIER",`(?:${c[d.NONNUMERICIDENTIFIER]}|${c[d.NUMERICIDENTIFIER]})`),g("PRERELEASEIDENTIFIERLOOSE",`(?:${c[d.NONNUMERICIDENTIFIER]}|${c[d.NUMERICIDENTIFIERLOOSE]})`),g("PRERELEASE",`(?:-(${c[d.PRERELEASEIDENTIFIER]}(?:\\.${c[d.PRERELEASEIDENTIFIER]})*))`),g("PRERELEASELOOSE",`(?:-?(${c[d.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${c[d.PRERELEASEIDENTIFIERLOOSE]})*))`),g("BUILDIDENTIFIER",`${f}+`),g("BUILD",`(?:\\+(${c[d.BUILDIDENTIFIER]}(?:\\.${c[d.BUILDIDENTIFIER]})*))`),g("FULLPLAIN",`v?${c[d.MAINVERSION]}${c[d.PRERELEASE]}?${c[d.BUILD]}?`),g("FULL",`^${c[d.FULLPLAIN]}$`),g("LOOSEPLAIN",`[v=\\s]*${c[d.MAINVERSIONLOOSE]}${c[d.PRERELEASELOOSE]}?${c[d.BUILD]}?`),g("LOOSE",`^${c[d.LOOSEPLAIN]}$`),g("GTLT","((?:<|>)?=?)"),g("XRANGEIDENTIFIERLOOSE",`${c[d.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),g("XRANGEIDENTIFIER",`${c[d.NUMERICIDENTIFIER]}|x|X|\\*`),g("XRANGEPLAIN",`[v=\\s]*(${c[d.XRANGEIDENTIFIER]})(?:\\.(${c[d.XRANGEIDENTIFIER]})(?:\\.(${c[d.XRANGEIDENTIFIER]})(?:${c[d.PRERELEASE]})?${c[d.BUILD]}?)?)?`),g("XRANGEPLAINLOOSE",`[v=\\s]*(${c[d.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[d.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[d.XRANGEIDENTIFIERLOOSE]})(?:${c[d.PRERELEASELOOSE]})?${c[d.BUILD]}?)?)?`),g("XRANGE",`^${c[d.GTLT]}\\s*${c[d.XRANGEPLAIN]}$`),g("XRANGELOOSE",`^${c[d.GTLT]}\\s*${c[d.XRANGEPLAINLOOSE]}$`),g("COERCEPLAIN",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?`),g("COERCE",`${c[d.COERCEPLAIN]}(?:$|[^\\d])`),g("COERCEFULL",c[d.COERCEPLAIN]+`(?:${c[d.PRERELEASE]})?`+`(?:${c[d.BUILD]})?(?:$|[^\\d])`),g("COERCERTL",c[d.COERCE],!0),g("COERCERTLFULL",c[d.COERCEFULL],!0),g("LONETILDE","(?:~>?)"),g("TILDETRIM",`(\\s*)${c[d.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",g("TILDE",`^${c[d.LONETILDE]}${c[d.XRANGEPLAIN]}$`),g("TILDELOOSE",`^${c[d.LONETILDE]}${c[d.XRANGEPLAINLOOSE]}$`),g("LONECARET","(?:\\^)"),g("CARETTRIM",`(\\s*)${c[d.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",g("CARET",`^${c[d.LONECARET]}${c[d.XRANGEPLAIN]}$`),g("CARETLOOSE",`^${c[d.LONECARET]}${c[d.XRANGEPLAINLOOSE]}$`),g("COMPARATORLOOSE",`^${c[d.GTLT]}\\s*(${c[d.LOOSEPLAIN]})$|^$`),g("COMPARATOR",`^${c[d.GTLT]}\\s*(${c[d.FULLPLAIN]})$|^$`),g("COMPARATORTRIM",`(\\s*)${c[d.GTLT]}\\s*(${c[d.LOOSEPLAIN]}|${c[d.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",g("HYPHENRANGE",`^\\s*(${c[d.XRANGEPLAIN]})\\s+-\\s+(${c[d.XRANGEPLAIN]})\\s*$`),g("HYPHENRANGELOOSE",`^\\s*(${c[d.XRANGEPLAINLOOSE]})\\s+-\\s+(${c[d.XRANGEPLAINLOOSE]})\\s*$`),g("STAR","(<|>)?=?\\s*\\*"),g("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),g("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},375571:(e,t,r)=>{"use strict";const n=r(697075);e.exports=(e,t,r)=>n(e,t,">",r)},676780:(e,t,r)=>{"use strict";const n=r(778311);e.exports=(e,t,r)=>(e=new n(e,r),t=new n(t,r),e.intersects(t,r))},5342:(e,t,r)=>{"use strict";const n=r(697075);e.exports=(e,t,r)=>n(e,t,"<",r)},919628:(e,t,r)=>{"use strict";const n=r(853908),i=r(778311);e.exports=(e,t,r)=>{let s=null,a=null,o=null;try{o=new i(t,r)}catch(e){return null}return e.forEach((e=>{o.test(e)&&(s&&-1!==a.compare(e)||(s=e,a=new n(s,r)))})),s}},300270:(e,t,r)=>{"use strict";const n=r(853908),i=r(778311);e.exports=(e,t,r)=>{let s=null,a=null,o=null;try{o=new i(t,r)}catch(e){return null}return e.forEach((e=>{o.test(e)&&(s&&1!==a.compare(e)||(s=e,a=new n(s,r)))})),s}},441261:(e,t,r)=>{"use strict";const n=r(853908),i=r(778311),s=r(535580);e.exports=(e,t)=>{e=new i(e,t);let r=new n("0.0.0");if(e.test(r))return r;if(r=new n("0.0.0-0"),e.test(r))return r;r=null;for(let t=0;t<e.set.length;++t){const i=e.set[t];let a=null;i.forEach((e=>{const t=new n(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":a&&!s(t,a)||(a=t);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}})),!a||r&&!s(r,a)||(r=a)}return r&&e.test(r)?r:null}},697075:(e,t,r)=>{"use strict";const n=r(853908),i=r(93904),{ANY:s}=i,a=r(778311),o=r(897638),u=r(535580),c=r(207059),l=r(825200),d=r(154089);e.exports=(e,t,r,h)=>{let f,p,g,m,v;switch(e=new n(e,h),t=new a(t,h),r){case">":f=u,p=l,g=c,m=">",v=">=";break;case"<":f=c,p=d,g=u,m="<",v="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(o(e,t,h))return!1;for(let r=0;r<t.set.length;++r){const n=t.set[r];let a=null,o=null;if(n.forEach((e=>{e.semver===s&&(e=new i(">=0.0.0")),a=a||e,o=o||e,f(e.semver,a.semver,h)?a=e:g(e.semver,o.semver,h)&&(o=e)})),a.operator===m||a.operator===v)return!1;if((!o.operator||o.operator===m)&&p(e,o.semver))return!1;if(o.operator===v&&g(e,o.semver))return!1}return!0}},972525:(e,t,r)=>{"use strict";const n=r(897638),i=r(350560);e.exports=(e,t,r)=>{const s=[];let a=null,o=null;const u=e.sort(((e,t)=>i(e,t,r)));for(const e of u){n(e,t,r)?(o=e,a||(a=e)):(o&&s.push([a,o]),o=null,a=null)}a&&s.push([a,null]);const c=[];for(const[e,t]of s)e===t?c.push(e):t||e!==u[0]?t?e===u[0]?c.push(`<=${t}`):c.push(`${e} - ${t}`):c.push(`>=${e}`):c.push("*");const l=c.join(" || "),d="string"==typeof t.raw?t.raw:String(t);return l.length<d.length?l:t}},475032:(e,t,r)=>{"use strict";const n=r(778311),i=r(93904),{ANY:s}=i,a=r(897638),o=r(350560),u=[new i(">=0.0.0-0")],c=[new i(">=0.0.0")],l=(e,t,r)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===s){if(1===t.length&&t[0].semver===s)return!0;e=r.includePrerelease?u:c}if(1===t.length&&t[0].semver===s){if(r.includePrerelease)return!0;t=c}const n=new Set;let i,l,f,p,g,m,v;for(const t of e)">"===t.operator||">="===t.operator?i=d(i,t,r):"<"===t.operator||"<="===t.operator?l=h(l,t,r):n.add(t.semver);if(n.size>1)return null;if(i&&l){if(f=o(i.semver,l.semver,r),f>0)return null;if(0===f&&(">="!==i.operator||"<="!==l.operator))return null}for(const e of n){if(i&&!a(e,String(i),r))return null;if(l&&!a(e,String(l),r))return null;for(const n of t)if(!a(e,String(n),r))return!1;return!0}let y=!(!l||r.includePrerelease||!l.semver.prerelease.length)&&l.semver,E=!(!i||r.includePrerelease||!i.semver.prerelease.length)&&i.semver;y&&1===y.prerelease.length&&"<"===l.operator&&0===y.prerelease[0]&&(y=!1);for(const e of t){if(v=v||">"===e.operator||">="===e.operator,m=m||"<"===e.operator||"<="===e.operator,i)if(E&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===E.major&&e.semver.minor===E.minor&&e.semver.patch===E.patch&&(E=!1),">"===e.operator||">="===e.operator){if(p=d(i,e,r),p===e&&p!==i)return!1}else if(">="===i.operator&&!a(i.semver,String(e),r))return!1;if(l)if(y&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===y.major&&e.semver.minor===y.minor&&e.semver.patch===y.patch&&(y=!1),"<"===e.operator||"<="===e.operator){if(g=h(l,e,r),g===e&&g!==l)return!1}else if("<="===l.operator&&!a(l.semver,String(e),r))return!1;if(!e.operator&&(l||i)&&0!==f)return!1}return!(i&&m&&!l&&0!==f)&&(!(l&&v&&!i&&0!==f)&&(!E&&!y))},d=(e,t,r)=>{if(!e)return t;const n=o(e.semver,t.semver,r);return n>0?e:n<0||">"===t.operator&&">="===e.operator?t:e},h=(e,t,r)=>{if(!e)return t;const n=o(e.semver,t.semver,r);return n<0?e:n>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,r={})=>{if(e===t)return!0;e=new n(e,r),t=new n(t,r);let i=!1;e:for(const n of e.set){for(const e of t.set){const t=l(n,e,r);if(i=i||null!==t,t)continue e}if(i)return!1}return!0}},277631:(e,t,r)=>{"use strict";const n=r(778311);e.exports=(e,t)=>new n(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")))},113874:(e,t,r)=>{"use strict";const n=r(778311);e.exports=(e,t)=>{try{return new n(e,t).range||"*"}catch(e){return null}}},275735:e=>{e.exports=function(e){"use strict";var t=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];function r(e,t){var r=e[0],n=e[1],i=e[2],s=e[3];n=((n+=((i=((i+=((s=((s+=((r=((r+=(n&i|~n&s)+t[0]-680876936|0)<<7|r>>>25)+n|0)&n|~r&i)+t[1]-389564586|0)<<12|s>>>20)+r|0)&r|~s&n)+t[2]+606105819|0)<<17|i>>>15)+s|0)&s|~i&r)+t[3]-1044525330|0)<<22|n>>>10)+i|0,n=((n+=((i=((i+=((s=((s+=((r=((r+=(n&i|~n&s)+t[4]-176418897|0)<<7|r>>>25)+n|0)&n|~r&i)+t[5]+1200080426|0)<<12|s>>>20)+r|0)&r|~s&n)+t[6]-1473231341|0)<<17|i>>>15)+s|0)&s|~i&r)+t[7]-45705983|0)<<22|n>>>10)+i|0,n=((n+=((i=((i+=((s=((s+=((r=((r+=(n&i|~n&s)+t[8]+1770035416|0)<<7|r>>>25)+n|0)&n|~r&i)+t[9]-1958414417|0)<<12|s>>>20)+r|0)&r|~s&n)+t[10]-42063|0)<<17|i>>>15)+s|0)&s|~i&r)+t[11]-1990404162|0)<<22|n>>>10)+i|0,n=((n+=((i=((i+=((s=((s+=((r=((r+=(n&i|~n&s)+t[12]+1804603682|0)<<7|r>>>25)+n|0)&n|~r&i)+t[13]-40341101|0)<<12|s>>>20)+r|0)&r|~s&n)+t[14]-1502002290|0)<<17|i>>>15)+s|0)&s|~i&r)+t[15]+1236535329|0)<<22|n>>>10)+i|0,n=((n+=((i=((i+=((s=((s+=((r=((r+=(n&s|i&~s)+t[1]-165796510|0)<<5|r>>>27)+n|0)&i|n&~i)+t[6]-1069501632|0)<<9|s>>>23)+r|0)&n|r&~n)+t[11]+643717713|0)<<14|i>>>18)+s|0)&r|s&~r)+t[0]-373897302|0)<<20|n>>>12)+i|0,n=((n+=((i=((i+=((s=((s+=((r=((r+=(n&s|i&~s)+t[5]-701558691|0)<<5|r>>>27)+n|0)&i|n&~i)+t[10]+38016083|0)<<9|s>>>23)+r|0)&n|r&~n)+t[15]-660478335|0)<<14|i>>>18)+s|0)&r|s&~r)+t[4]-405537848|0)<<20|n>>>12)+i|0,n=((n+=((i=((i+=((s=((s+=((r=((r+=(n&s|i&~s)+t[9]+568446438|0)<<5|r>>>27)+n|0)&i|n&~i)+t[14]-1019803690|0)<<9|s>>>23)+r|0)&n|r&~n)+t[3]-187363961|0)<<14|i>>>18)+s|0)&r|s&~r)+t[8]+1163531501|0)<<20|n>>>12)+i|0,n=((n+=((i=((i+=((s=((s+=((r=((r+=(n&s|i&~s)+t[13]-1444681467|0)<<5|r>>>27)+n|0)&i|n&~i)+t[2]-51403784|0)<<9|s>>>23)+r|0)&n|r&~n)+t[7]+1735328473|0)<<14|i>>>18)+s|0)&r|s&~r)+t[12]-1926607734|0)<<20|n>>>12)+i|0,n=((n+=((i=((i+=((s=((s+=((r=((r+=(n^i^s)+t[5]-378558|0)<<4|r>>>28)+n|0)^n^i)+t[8]-2022574463|0)<<11|s>>>21)+r|0)^r^n)+t[11]+1839030562|0)<<16|i>>>16)+s|0)^s^r)+t[14]-35309556|0)<<23|n>>>9)+i|0,n=((n+=((i=((i+=((s=((s+=((r=((r+=(n^i^s)+t[1]-1530992060|0)<<4|r>>>28)+n|0)^n^i)+t[4]+1272893353|0)<<11|s>>>21)+r|0)^r^n)+t[7]-155497632|0)<<16|i>>>16)+s|0)^s^r)+t[10]-1094730640|0)<<23|n>>>9)+i|0,n=((n+=((i=((i+=((s=((s+=((r=((r+=(n^i^s)+t[13]+681279174|0)<<4|r>>>28)+n|0)^n^i)+t[0]-358537222|0)<<11|s>>>21)+r|0)^r^n)+t[3]-722521979|0)<<16|i>>>16)+s|0)^s^r)+t[6]+76029189|0)<<23|n>>>9)+i|0,n=((n+=((i=((i+=((s=((s+=((r=((r+=(n^i^s)+t[9]-640364487|0)<<4|r>>>28)+n|0)^n^i)+t[12]-421815835|0)<<11|s>>>21)+r|0)^r^n)+t[15]+530742520|0)<<16|i>>>16)+s|0)^s^r)+t[2]-995338651|0)<<23|n>>>9)+i|0,n=((n+=((s=((s+=(n^((r=((r+=(i^(n|~s))+t[0]-198630844|0)<<6|r>>>26)+n|0)|~i))+t[7]+1126891415|0)<<10|s>>>22)+r|0)^((i=((i+=(r^(s|~n))+t[14]-1416354905|0)<<15|i>>>17)+s|0)|~r))+t[5]-57434055|0)<<21|n>>>11)+i|0,n=((n+=((s=((s+=(n^((r=((r+=(i^(n|~s))+t[12]+1700485571|0)<<6|r>>>26)+n|0)|~i))+t[3]-1894986606|0)<<10|s>>>22)+r|0)^((i=((i+=(r^(s|~n))+t[10]-1051523|0)<<15|i>>>17)+s|0)|~r))+t[1]-2054922799|0)<<21|n>>>11)+i|0,n=((n+=((s=((s+=(n^((r=((r+=(i^(n|~s))+t[8]+1873313359|0)<<6|r>>>26)+n|0)|~i))+t[15]-30611744|0)<<10|s>>>22)+r|0)^((i=((i+=(r^(s|~n))+t[6]-1560198380|0)<<15|i>>>17)+s|0)|~r))+t[13]+1309151649|0)<<21|n>>>11)+i|0,n=((n+=((s=((s+=(n^((r=((r+=(i^(n|~s))+t[4]-145523070|0)<<6|r>>>26)+n|0)|~i))+t[11]-1120210379|0)<<10|s>>>22)+r|0)^((i=((i+=(r^(s|~n))+t[2]+718787259|0)<<15|i>>>17)+s|0)|~r))+t[9]-343485551|0)<<21|n>>>11)+i|0,e[0]=r+e[0]|0,e[1]=n+e[1]|0,e[2]=i+e[2]|0,e[3]=s+e[3]|0}function n(e){var t,r=[];for(t=0;t<64;t+=4)r[t>>2]=e.charCodeAt(t)+(e.charCodeAt(t+1)<<8)+(e.charCodeAt(t+2)<<16)+(e.charCodeAt(t+3)<<24);return r}function i(e){var t,r=[];for(t=0;t<64;t+=4)r[t>>2]=e[t]+(e[t+1]<<8)+(e[t+2]<<16)+(e[t+3]<<24);return r}function s(e){var t,i,s,a,o,u,c=e.length,l=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=c;t+=64)r(l,n(e.substring(t-64,t)));for(i=(e=e.substring(t-64)).length,s=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],t=0;t<i;t+=1)s[t>>2]|=e.charCodeAt(t)<<(t%4<<3);if(s[t>>2]|=128<<(t%4<<3),t>55)for(r(l,s),t=0;t<16;t+=1)s[t]=0;return a=(a=8*c).toString(16).match(/(.*?)(.{0,8})$/),o=parseInt(a[2],16),u=parseInt(a[1],16)||0,s[14]=o,s[15]=u,r(l,s),l}function a(e){var t,n,s,a,o,u,c=e.length,l=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=c;t+=64)r(l,i(e.subarray(t-64,t)));for(n=(e=t-64<c?e.subarray(t-64):new Uint8Array(0)).length,s=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],t=0;t<n;t+=1)s[t>>2]|=e[t]<<(t%4<<3);if(s[t>>2]|=128<<(t%4<<3),t>55)for(r(l,s),t=0;t<16;t+=1)s[t]=0;return a=(a=8*c).toString(16).match(/(.*?)(.{0,8})$/),o=parseInt(a[2],16),u=parseInt(a[1],16)||0,s[14]=o,s[15]=u,r(l,s),l}function o(e){var r,n="";for(r=0;r<4;r+=1)n+=t[e>>8*r+4&15]+t[e>>8*r&15];return n}function u(e){var t;for(t=0;t<e.length;t+=1)e[t]=o(e[t]);return e.join("")}function c(e){return/[\u0080-\uFFFF]/.test(e)&&(e=unescape(encodeURIComponent(e))),e}function l(e,t){var r,n=e.length,i=new ArrayBuffer(n),s=new Uint8Array(i);for(r=0;r<n;r+=1)s[r]=e.charCodeAt(r);return t?s:i}function d(e){return String.fromCharCode.apply(null,new Uint8Array(e))}function h(e,t,r){var n=new Uint8Array(e.byteLength+t.byteLength);return n.set(new Uint8Array(e)),n.set(new Uint8Array(t),e.byteLength),r?n:n.buffer}function f(e){var t,r=[],n=e.length;for(t=0;t<n-1;t+=2)r.push(parseInt(e.substr(t,2),16));return String.fromCharCode.apply(String,r)}function p(){this.reset()}return u(s("hello")),"undefined"==typeof ArrayBuffer||ArrayBuffer.prototype.slice||function(){function t(e,t){return(e=0|e||0)<0?Math.max(e+t,0):Math.min(e,t)}ArrayBuffer.prototype.slice=function(r,n){var i,s,a,o,u=this.byteLength,c=t(r,u),l=u;return n!==e&&(l=t(n,u)),c>l?new ArrayBuffer(0):(i=l-c,s=new ArrayBuffer(i),a=new Uint8Array(s),o=new Uint8Array(this,c,i),a.set(o),s)}}(),p.prototype.append=function(e){return this.appendBinary(c(e)),this},p.prototype.appendBinary=function(e){this._buff+=e,this._length+=e.length;var t,i=this._buff.length;for(t=64;t<=i;t+=64)r(this._hash,n(this._buff.substring(t-64,t)));return this._buff=this._buff.substring(t-64),this},p.prototype.end=function(e){var t,r,n=this._buff,i=n.length,s=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<i;t+=1)s[t>>2]|=n.charCodeAt(t)<<(t%4<<3);return this._finish(s,i),r=u(this._hash),e&&(r=f(r)),this.reset(),r},p.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},p.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash.slice()}},p.prototype.setState=function(e){return this._buff=e.buff,this._length=e.length,this._hash=e.hash,this},p.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},p.prototype._finish=function(e,t){var n,i,s,a=t;if(e[a>>2]|=128<<(a%4<<3),a>55)for(r(this._hash,e),a=0;a<16;a+=1)e[a]=0;n=(n=8*this._length).toString(16).match(/(.*?)(.{0,8})$/),i=parseInt(n[2],16),s=parseInt(n[1],16)||0,e[14]=i,e[15]=s,r(this._hash,e)},p.hash=function(e,t){return p.hashBinary(c(e),t)},p.hashBinary=function(e,t){var r=u(s(e));return t?f(r):r},p.ArrayBuffer=function(){this.reset()},p.ArrayBuffer.prototype.append=function(e){var t,n=h(this._buff.buffer,e,!0),s=n.length;for(this._length+=e.byteLength,t=64;t<=s;t+=64)r(this._hash,i(n.subarray(t-64,t)));return this._buff=t-64<s?new Uint8Array(n.buffer.slice(t-64)):new Uint8Array(0),this},p.ArrayBuffer.prototype.end=function(e){var t,r,n=this._buff,i=n.length,s=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<i;t+=1)s[t>>2]|=n[t]<<(t%4<<3);return this._finish(s,i),r=u(this._hash),e&&(r=f(r)),this.reset(),r},p.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},p.ArrayBuffer.prototype.getState=function(){var e=p.prototype.getState.call(this);return e.buff=d(e.buff),e},p.ArrayBuffer.prototype.setState=function(e){return e.buff=l(e.buff,!0),p.prototype.setState.call(this,e)},p.ArrayBuffer.prototype.destroy=p.prototype.destroy,p.ArrayBuffer.prototype._finish=p.prototype._finish,p.ArrayBuffer.hash=function(e,t){var r=u(a(new Uint8Array(e)));return t?f(r):r},p}()},611775:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.version=t.validate=t.v7=t.v6ToV1=t.v6=t.v5=t.v4=t.v3=t.v1ToV6=t.v1=t.stringify=t.parse=t.NIL=t.MAX=void 0;var n=r(559253);Object.defineProperty(t,"MAX",{enumerable:!0,get:function(){return n.default}});var i=r(632392);Object.defineProperty(t,"NIL",{enumerable:!0,get:function(){return i.default}});var s=r(835848);Object.defineProperty(t,"parse",{enumerable:!0,get:function(){return s.default}});var a=r(409958);Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return a.default}});var o=r(673598);Object.defineProperty(t,"v1",{enumerable:!0,get:function(){return o.default}});var u=r(703831);Object.defineProperty(t,"v1ToV6",{enumerable:!0,get:function(){return u.default}});var c=r(129140);Object.defineProperty(t,"v3",{enumerable:!0,get:function(){return c.default}});var l=r(756737);Object.defineProperty(t,"v4",{enumerable:!0,get:function(){return l.default}});var d=r(865810);Object.defineProperty(t,"v5",{enumerable:!0,get:function(){return d.default}});var h=r(72607);Object.defineProperty(t,"v6",{enumerable:!0,get:function(){return h.default}});var f=r(29923);Object.defineProperty(t,"v6ToV1",{enumerable:!0,get:function(){return f.default}});var p=r(537992);Object.defineProperty(t,"v7",{enumerable:!0,get:function(){return p.default}});var g=r(203389);Object.defineProperty(t,"validate",{enumerable:!0,get:function(){return g.default}});var m=r(806159);Object.defineProperty(t,"version",{enumerable:!0,get:function(){return m.default}})},559253:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default="ffffffff-ffff-ffff-ffff-ffffffffffff"},813495:(e,t)=>{"use strict";function r(e){return 14+(e+64>>>9<<4)+1}function n(e,t){const r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}function i(e,t,r,i,s,a){return n((o=n(n(t,e),n(i,a)))<<(u=s)|o>>>32-u,r);var o,u}function s(e,t,r,n,s,a,o){return i(t&r|~t&n,e,t,s,a,o)}function a(e,t,r,n,s,a,o){return i(t&n|r&~n,e,t,s,a,o)}function o(e,t,r,n,s,a,o){return i(t^r^n,e,t,s,a,o)}function u(e,t,r,n,s,a,o){return i(r^(t|~n),e,t,s,a,o)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(e){const t=new Uint8Array(4*e.length);for(let r=0;r<4*e.length;r++)t[r]=e[r>>2]>>>r%4*8&255;return t}(function(e,t){const i=new Uint32Array(r(t)).fill(0);i.set(e),i[t>>5]|=128<<t%32,i[i.length-1]=t,e=i;let c=1732584193,l=-271733879,d=-1732584194,h=271733878;for(let t=0;t<e.length;t+=16){const r=c,i=l,f=d,p=h;c=s(c,l,d,h,e[t],7,-680876936),h=s(h,c,l,d,e[t+1],12,-389564586),d=s(d,h,c,l,e[t+2],17,606105819),l=s(l,d,h,c,e[t+3],22,-1044525330),c=s(c,l,d,h,e[t+4],7,-176418897),h=s(h,c,l,d,e[t+5],12,1200080426),d=s(d,h,c,l,e[t+6],17,-1473231341),l=s(l,d,h,c,e[t+7],22,-45705983),c=s(c,l,d,h,e[t+8],7,1770035416),h=s(h,c,l,d,e[t+9],12,-1958414417),d=s(d,h,c,l,e[t+10],17,-42063),l=s(l,d,h,c,e[t+11],22,-1990404162),c=s(c,l,d,h,e[t+12],7,1804603682),h=s(h,c,l,d,e[t+13],12,-40341101),d=s(d,h,c,l,e[t+14],17,-1502002290),l=s(l,d,h,c,e[t+15],22,1236535329),c=a(c,l,d,h,e[t+1],5,-165796510),h=a(h,c,l,d,e[t+6],9,-1069501632),d=a(d,h,c,l,e[t+11],14,643717713),l=a(l,d,h,c,e[t],20,-373897302),c=a(c,l,d,h,e[t+5],5,-701558691),h=a(h,c,l,d,e[t+10],9,38016083),d=a(d,h,c,l,e[t+15],14,-660478335),l=a(l,d,h,c,e[t+4],20,-405537848),c=a(c,l,d,h,e[t+9],5,568446438),h=a(h,c,l,d,e[t+14],9,-1019803690),d=a(d,h,c,l,e[t+3],14,-187363961),l=a(l,d,h,c,e[t+8],20,1163531501),c=a(c,l,d,h,e[t+13],5,-1444681467),h=a(h,c,l,d,e[t+2],9,-51403784),d=a(d,h,c,l,e[t+7],14,1735328473),l=a(l,d,h,c,e[t+12],20,-1926607734),c=o(c,l,d,h,e[t+5],4,-378558),h=o(h,c,l,d,e[t+8],11,-2022574463),d=o(d,h,c,l,e[t+11],16,1839030562),l=o(l,d,h,c,e[t+14],23,-35309556),c=o(c,l,d,h,e[t+1],4,-1530992060),h=o(h,c,l,d,e[t+4],11,1272893353),d=o(d,h,c,l,e[t+7],16,-155497632),l=o(l,d,h,c,e[t+10],23,-1094730640),c=o(c,l,d,h,e[t+13],4,681279174),h=o(h,c,l,d,e[t],11,-358537222),d=o(d,h,c,l,e[t+3],16,-722521979),l=o(l,d,h,c,e[t+6],23,76029189),c=o(c,l,d,h,e[t+9],4,-640364487),h=o(h,c,l,d,e[t+12],11,-421815835),d=o(d,h,c,l,e[t+15],16,530742520),l=o(l,d,h,c,e[t+2],23,-995338651),c=u(c,l,d,h,e[t],6,-198630844),h=u(h,c,l,d,e[t+7],10,1126891415),d=u(d,h,c,l,e[t+14],15,-1416354905),l=u(l,d,h,c,e[t+5],21,-57434055),c=u(c,l,d,h,e[t+12],6,1700485571),h=u(h,c,l,d,e[t+3],10,-1894986606),d=u(d,h,c,l,e[t+10],15,-1051523),l=u(l,d,h,c,e[t+1],21,-2054922799),c=u(c,l,d,h,e[t+8],6,1873313359),h=u(h,c,l,d,e[t+15],10,-30611744),d=u(d,h,c,l,e[t+6],15,-1560198380),l=u(l,d,h,c,e[t+13],21,1309151649),c=u(c,l,d,h,e[t+4],6,-145523070),h=u(h,c,l,d,e[t+11],10,-1120210379),d=u(d,h,c,l,e[t+2],15,718787259),l=u(l,d,h,c,e[t+9],21,-343485551),c=n(c,r),l=n(l,i),d=n(d,f),h=n(h,p)}return Uint32Array.of(c,l,d,h)}(function(e){if(0===e.length)return new Uint32Array;const t=new Uint32Array(r(8*e.length)).fill(0);for(let r=0;r<e.length;r++)t[r>>2]|=(255&e[r])<<r%4*8;return t}(e),8*e.length))}},525612:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r="undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);t.default={randomUUID:r}},632392:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default="00000000-0000-0000-0000-000000000000"},835848:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(203389);t.default=function(e){if(!(0,n.default)(e))throw TypeError("Invalid UUID");let t;return Uint8Array.of((t=parseInt(e.slice(0,8),16))>>>24,t>>>16&255,t>>>8&255,255&t,(t=parseInt(e.slice(9,13),16))>>>8,255&t,(t=parseInt(e.slice(14,18),16))>>>8,255&t,(t=parseInt(e.slice(19,23),16))>>>8,255&t,(t=parseInt(e.slice(24,36),16))/1099511627776&255,t/4294967296&255,t>>>24&255,t>>>16&255,t>>>8&255,255&t)}},367256:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/i},876954:(e,t)=>{"use strict";let r;Object.defineProperty(t,"__esModule",{value:!0});const n=new Uint8Array(16);t.default=function(){if(!r){if("undefined"==typeof crypto||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");r=crypto.getRandomValues.bind(crypto)}return r(n)}},826786:(e,t)=>{"use strict";function r(e,t,r,n){switch(e){case 0:return t&r^~t&n;case 1:case 3:return t^r^n;case 2:return t&r^t&n^r&n}}function n(e,t){return e<<t|e>>>32-t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=[1518500249,1859775393,2400959708,3395469782],i=[1732584193,4023233417,2562383102,271733878,3285377520],s=new Uint8Array(e.length+1);s.set(e),s[e.length]=128;const a=(e=s).length/4+2,o=Math.ceil(a/16),u=new Array(o);for(let t=0;t<o;++t){const r=new Uint32Array(16);for(let n=0;n<16;++n)r[n]=e[64*t+4*n]<<24|e[64*t+4*n+1]<<16|e[64*t+4*n+2]<<8|e[64*t+4*n+3];u[t]=r}u[o-1][14]=8*(e.length-1)/Math.pow(2,32),u[o-1][14]=Math.floor(u[o-1][14]),u[o-1][15]=8*(e.length-1)&4294967295;for(let e=0;e<o;++e){const s=new Uint32Array(80);for(let t=0;t<16;++t)s[t]=u[e][t];for(let e=16;e<80;++e)s[e]=n(s[e-3]^s[e-8]^s[e-14]^s[e-16],1);let a=i[0],o=i[1],c=i[2],l=i[3],d=i[4];for(let e=0;e<80;++e){const i=Math.floor(e/20),u=n(a,5)+r(i,o,c,l)+d+t[i]+s[e]>>>0;d=l,l=c,c=n(o,30)>>>0,o=a,a=u}i[0]=i[0]+a>>>0,i[1]=i[1]+o>>>0,i[2]=i[2]+c>>>0,i[3]=i[3]+l>>>0,i[4]=i[4]+d>>>0}return Uint8Array.of(i[0]>>24,i[0]>>16,i[0]>>8,i[0],i[1]>>24,i[1]>>16,i[1]>>8,i[1],i[2]>>24,i[2]>>16,i[2]>>8,i[2],i[3]>>24,i[3]>>16,i[3]>>8,i[3],i[4]>>24,i[4]>>16,i[4]>>8,i[4])}},409958:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.unsafeStringify=void 0;const n=r(203389),i=[];for(let e=0;e<256;++e)i.push((e+256).toString(16).slice(1));function s(e,t=0){return(i[e[t+0]]+i[e[t+1]]+i[e[t+2]]+i[e[t+3]]+"-"+i[e[t+4]]+i[e[t+5]]+"-"+i[e[t+6]]+i[e[t+7]]+"-"+i[e[t+8]]+i[e[t+9]]+"-"+i[e[t+10]]+i[e[t+11]]+i[e[t+12]]+i[e[t+13]]+i[e[t+14]]+i[e[t+15]]).toLowerCase()}t.unsafeStringify=s,t.default=function(e,t=0){const r=s(e,t);if(!(0,n.default)(r))throw TypeError("Stringified UUID is invalid");return r}},673598:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updateV1State=void 0;const n=r(876954),i=r(409958),s={};function a(e,t,r){var n,i;return null!==(n=e.msecs)&&void 0!==n||(e.msecs=-1/0),null!==(i=e.nsecs)&&void 0!==i||(e.nsecs=0),t===e.msecs?(e.nsecs++,e.nsecs>=1e4&&(e.node=void 0,e.nsecs=0)):t>e.msecs?e.nsecs=0:t<e.msecs&&(e.node=void 0),e.node||(e.node=r.slice(10,16),e.node[0]|=1,e.clockseq=16383&(r[8]<<8|r[9])),e.msecs=t,e}function o(e,t,r,n,i,s,a=0){if(e.length<16)throw new Error("Random bytes length must be >= 16");if(s){if(a<0||a+16>s.length)throw new RangeError(`UUID byte range ${a}:${a+15} is out of buffer bounds`)}else s=new Uint8Array(16),a=0;null!=t||(t=Date.now()),null!=r||(r=0),null!=n||(n=16383&(e[8]<<8|e[9])),null!=i||(i=e.slice(10,16));const o=(1e4*(268435455&(t+=122192928e5))+r)%4294967296;s[a++]=o>>>24&255,s[a++]=o>>>16&255,s[a++]=o>>>8&255,s[a++]=255&o;const u=t/4294967296*1e4&268435455;s[a++]=u>>>8&255,s[a++]=255&u,s[a++]=u>>>24&15|16,s[a++]=u>>>16&255,s[a++]=n>>>8|128,s[a++]=255&n;for(let e=0;e<6;++e)s[a++]=i[e];return s}t.updateV1State=a,t.default=function(e,t,r){var u,c;let l;const d=null!==(u=null===(c=e)||void 0===c?void 0:c._v6)&&void 0!==u&&u;if(e){const t=Object.keys(e);1===t.length&&"_v6"===t[0]&&(e=void 0)}if(e){var h,f,p,g;l=o(null!==(h=null!==(f=e.random)&&void 0!==f?f:null===(p=(g=e).rng)||void 0===p?void 0:p.call(g))&&void 0!==h?h:(0,n.default)(),e.msecs,e.nsecs,e.clockseq,e.node,t,r)}else{const e=Date.now(),i=(0,n.default)();a(s,e,i),l=o(i,s.msecs,s.nsecs,d?void 0:s.clockseq,d?void 0:s.node,t,r)}return null!=t?t:(0,i.unsafeStringify)(l)}},703831:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(835848),i=r(409958);t.default=function(e){const t=function(e){return Uint8Array.of((15&e[6])<<4|e[7]>>4&15,(15&e[7])<<4|(240&e[4])>>4,(15&e[4])<<4|(240&e[5])>>4,(15&e[5])<<4|(240&e[0])>>4,(15&e[0])<<4|(240&e[1])>>4,(15&e[1])<<4|(240&e[2])>>4,96|15&e[2],e[3],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15])}("string"==typeof e?(0,n.default)(e):e);return"string"==typeof e?(0,i.unsafeStringify)(t):t}},129140:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.URL=t.DNS=void 0;const n=r(813495),i=r(245345);var s=r(245345);function a(e,t,r,s){return(0,i.default)(48,n.default,e,t,r,s)}Object.defineProperty(t,"DNS",{enumerable:!0,get:function(){return s.DNS}}),Object.defineProperty(t,"URL",{enumerable:!0,get:function(){return s.URL}}),a.DNS=i.DNS,a.URL=i.URL,t.default=a},245345:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.URL=t.DNS=t.stringToBytes=void 0;const n=r(835848),i=r(409958);function s(e){e=unescape(encodeURIComponent(e));const t=new Uint8Array(e.length);for(let r=0;r<e.length;++r)t[r]=e.charCodeAt(r);return t}t.stringToBytes=s,t.DNS="6ba7b810-9dad-11d1-80b4-00c04fd430c8",t.URL="6ba7b811-9dad-11d1-80b4-00c04fd430c8",t.default=function(e,t,r,a,o,u){var c;const l="string"==typeof r?s(r):r,d="string"==typeof a?(0,n.default)(a):a;if("string"==typeof a&&(a=(0,n.default)(a)),16!==(null===(c=a)||void 0===c?void 0:c.length))throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let h=new Uint8Array(16+l.length);if(h.set(d),h.set(l,d.length),h=t(h),h[6]=15&h[6]|e,h[8]=63&h[8]|128,o){u=u||0;for(let e=0;e<16;++e)o[u+e]=h[e];return o}return(0,i.unsafeStringify)(h)}},756737:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(525612),i=r(876954),s=r(409958);t.default=function(e,t,r){var a,o,u,c;if(n.default.randomUUID&&!t&&!e)return n.default.randomUUID();const l=null!==(a=null!==(o=(e=e||{}).random)&&void 0!==o?o:null===(u=(c=e).rng)||void 0===u?void 0:u.call(c))&&void 0!==a?a:(0,i.default)();if(l.length<16)throw new Error("Random bytes length must be >= 16");if(l[6]=15&l[6]|64,l[8]=63&l[8]|128,t){if((r=r||0)<0||r+16>t.length)throw new RangeError(`UUID byte range ${r}:${r+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[r+e]=l[e];return t}return(0,s.unsafeStringify)(l)}},865810:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.URL=t.DNS=void 0;const n=r(826786),i=r(245345);var s=r(245345);function a(e,t,r,s){return(0,i.default)(80,n.default,e,t,r,s)}Object.defineProperty(t,"DNS",{enumerable:!0,get:function(){return s.DNS}}),Object.defineProperty(t,"URL",{enumerable:!0,get:function(){return s.URL}}),a.DNS=i.DNS,a.URL=i.URL,t.default=a},72607:(e,t,r)=>{"use strict";var n=r(443693);function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){n(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}Object.defineProperty(t,"__esModule",{value:!0});const a=r(409958),o=r(673598),u=r(703831);t.default=function(e,t,r){null!=e||(e={}),null!=r||(r=0);let n=(0,o.default)(s(s({},e),{},{_v6:!0}),new Uint8Array(16));if(n=(0,u.default)(n),t){for(let e=0;e<16;e++)t[r+e]=n[e];return t}return(0,a.unsafeStringify)(n)}},29923:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(835848),i=r(409958);t.default=function(e){const t=function(e){return Uint8Array.of((15&e[3])<<4|e[4]>>4&15,(15&e[4])<<4|(240&e[5])>>4,(15&e[5])<<4|15&e[6],e[7],(15&e[1])<<4|(240&e[2])>>4,(15&e[2])<<4|(240&e[3])>>4,16|(240&e[0])>>4,(15&e[0])<<4|(240&e[1])>>4,e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15])}("string"==typeof e?(0,n.default)(e):e);return"string"==typeof e?(0,i.unsafeStringify)(t):t}},537992:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updateV7State=void 0;const n=r(876954),i=r(409958),s={};function a(e,t,r){var n,i;return null!==(n=e.msecs)&&void 0!==n||(e.msecs=-1/0),null!==(i=e.seq)&&void 0!==i||(e.seq=0),t>e.msecs?(e.seq=r[6]<<23|r[7]<<16|r[8]<<8|r[9],e.msecs=t):(e.seq=e.seq+1|0,0===e.seq&&e.msecs++),e}function o(e,t,r,n,i=0){if(e.length<16)throw new Error("Random bytes length must be >= 16");if(n){if(i<0||i+16>n.length)throw new RangeError(`UUID byte range ${i}:${i+15} is out of buffer bounds`)}else n=new Uint8Array(16),i=0;return null!=t||(t=Date.now()),null!=r||(r=127*e[6]<<24|e[7]<<16|e[8]<<8|e[9]),n[i++]=t/1099511627776&255,n[i++]=t/4294967296&255,n[i++]=t/16777216&255,n[i++]=t/65536&255,n[i++]=t/256&255,n[i++]=255&t,n[i++]=112|r>>>28&15,n[i++]=r>>>20&255,n[i++]=128|r>>>14&63,n[i++]=r>>>6&255,n[i++]=r<<2&255|3&e[10],n[i++]=e[11],n[i++]=e[12],n[i++]=e[13],n[i++]=e[14],n[i++]=e[15],n}t.updateV7State=a,t.default=function(e,t,r){let u;if(e){var c,l,d;u=o(null!==(c=null!==(l=e.random)&&void 0!==l?l:null===(d=e.rng)||void 0===d?void 0:d.call(e))&&void 0!==c?c:(0,n.default)(),e.msecs,e.seq,t,r)}else{const e=Date.now(),i=(0,n.default)();a(s,e,i),u=o(i,s.msecs,s.seq,t,r)}return null!=t?t:(0,i.unsafeStringify)(u)}},203389:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(367256);t.default=function(e){return"string"==typeof e&&n.default.test(e)}},806159:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(203389);t.default=function(e){if(!(0,n.default)(e))throw TypeError("Invalid UUID");return parseInt(e.slice(14,15),16)}},512955:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>c});var n={};r.r(n),r.d(n,{BRAND:()=>o.qt,DIRTY:()=>s.jm,EMPTY_PATH:()=>s.I3,INVALID:()=>s.uY,NEVER:()=>o.tm,OK:()=>s.OK,ParseStatus:()=>s.MY,Schema:()=>o.Sj,ZodAny:()=>o.Ml,ZodArray:()=>o.n,ZodBigInt:()=>o.Lr,ZodBoolean:()=>o.WF,ZodBranded:()=>o.eN,ZodCatch:()=>o.hw,ZodDate:()=>o.aP,ZodDefault:()=>o.Xi,ZodDiscriminatedUnion:()=>o.jv,ZodEffects:()=>o.k1,ZodEnum:()=>o.Vb,ZodError:()=>u.G,ZodFirstPartyTypeKind:()=>o.kY,ZodFunction:()=>o.CZ,ZodIntersection:()=>o.Jv,ZodIssueCode:()=>u.eq,ZodLazy:()=>o.Ih,ZodLiteral:()=>o.DN,ZodMap:()=>o.Ut,ZodNaN:()=>o.Tq,ZodNativeEnum:()=>o.WM,ZodNever:()=>o.iS,ZodNull:()=>o.PQ,ZodNullable:()=>o.l1,ZodNumber:()=>o.rS,ZodObject:()=>o.bv,ZodOptional:()=>o.Ii,ZodParsedType:()=>a.Zp,ZodPipeline:()=>o._c,ZodPromise:()=>o.$i,ZodReadonly:()=>o.EV,ZodRecord:()=>o.b8,ZodSchema:()=>o.lK,ZodSet:()=>o.Kz,ZodString:()=>o.ND,ZodSymbol:()=>o.K5,ZodTransformer:()=>o.BG,ZodTuple:()=>o.y0,ZodType:()=>o.aR,ZodUndefined:()=>o._Z,ZodUnion:()=>o.fZ,ZodUnknown:()=>o._,ZodVoid:()=>o.a0,addIssueToContext:()=>s.zn,any:()=>o.bz,array:()=>o.YO,bigint:()=>o.o,boolean:()=>o.zM,coerce:()=>o.au,custom:()=>o.Ie,date:()=>o.p6,datetimeRegex:()=>o.fm,defaultErrorMap:()=>i.su,discriminatedUnion:()=>o.gM,effect:()=>o.QZ,enum:()=>o.k5,function:()=>o.fH,getErrorMap:()=>i.$W,getParsedType:()=>a.CR,instanceof:()=>o.Nl,intersection:()=>o.E$,isAborted:()=>s.G4,isAsync:()=>s.xP,isDirty:()=>s.DM,isValid:()=>s.fn,late:()=>o.fn,lazy:()=>o.RZ,literal:()=>o.eu,makeIssue:()=>s.y7,map:()=>o.Tj,nan:()=>o.oi,nativeEnum:()=>o.fc,never:()=>o.Zm,null:()=>o.ch,nullable:()=>o.me,number:()=>o.ai,object:()=>o.Ik,objectUtil:()=>a.o6,oboolean:()=>o.yN,onumber:()=>o.p7,optional:()=>o.lq,ostring:()=>o.Di,pipeline:()=>o.Tk,preprocess:()=>o.vk,promise:()=>o.iv,quotelessJson:()=>u.WI,record:()=>o.g1,set:()=>o.hZ,setErrorMap:()=>i.pJ,strictObject:()=>o.re,string:()=>o.Yj,symbol:()=>o.HR,transformer:()=>o.Gu,tuple:()=>o.PV,undefined:()=>o.Vx,union:()=>o.KC,unknown:()=>o.L5,util:()=>a.ZS,void:()=>o.rI});var i=r(557698),s=r(98332),a=r(290783),o=r(115633),u=r(13212);const c=n},13212:(e,t,r)=>{"use strict";r.d(t,{G:()=>a,WI:()=>s,eq:()=>i});var n=r(290783);const i=n.ZS.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),s=e=>JSON.stringify(e,null,2).replace(/"([^"]+)":/g,"$1:");class a extends Error{get errors(){return this.issues}constructor(e){super(),this.issues=[],this.addIssue=e=>{this.issues=[...this.issues,e]},this.addIssues=(e=[])=>{this.issues=[...this.issues,...e]};const t=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,t):this.__proto__=t,this.name="ZodError",this.issues=e}format(e){const t=e||function(e){return e.message},r={_errors:[]},n=e=>{for(const i of e.issues)if("invalid_union"===i.code)i.unionErrors.map(n);else if("invalid_return_type"===i.code)n(i.returnTypeError);else if("invalid_arguments"===i.code)n(i.argumentsError);else if(0===i.path.length)r._errors.push(t(i));else{let e=r,n=0;for(;n<i.path.length;){const r=i.path[n];n===i.path.length-1?(e[r]=e[r]||{_errors:[]},e[r]._errors.push(t(i))):e[r]=e[r]||{_errors:[]},e=e[r],n++}}};return n(this),r}static assert(e){if(!(e instanceof a))throw new Error(`Not a ZodError: ${e}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,n.ZS.jsonStringifyReplacer,2)}get isEmpty(){return 0===this.issues.length}flatten(e=(e=>e.message)){const t={},r=[];for(const n of this.issues)if(n.path.length>0){const r=n.path[0];t[r]=t[r]||[],t[r].push(e(n))}else r.push(e(n));return{formErrors:r,fieldErrors:t}}get formErrors(){return this.flatten()}}a.create=e=>new a(e)},557698:(e,t,r)=>{"use strict";r.d(t,{$W:()=>a,pJ:()=>s,su:()=>n.A});var n=r(294954);let i=n.A;function s(e){i=e}function a(){return i}},98332:(e,t,r)=>{"use strict";r.d(t,{DM:()=>m,G4:()=>g,I3:()=>c,MY:()=>d,OK:()=>p,fn:()=>v,jm:()=>f,uY:()=>h,xP:()=>y,y7:()=>u,zn:()=>l});var n=r(364467),i=r(557698),s=r(294954);function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){(0,n.A)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const u=e=>{const{data:t,path:r,errorMaps:n,issueData:i}=e,s=[...r,...i.path||[]],a=o(o({},i),{},{path:s});if(void 0!==i.message)return o(o({},i),{},{path:s,message:i.message});let u="";const c=n.filter((e=>!!e)).slice().reverse();for(const e of c)u=e(a,{data:t,defaultError:u}).message;return o(o({},i),{},{path:s,message:u})},c=[];function l(e,t){const r=(0,i.$W)(),n=u({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,r,r===s.A?void 0:s.A].filter((e=>!!e))});e.common.issues.push(n)}class d{constructor(){this.value="valid"}dirty(){"valid"===this.value&&(this.value="dirty")}abort(){"aborted"!==this.value&&(this.value="aborted")}static mergeArray(e,t){const r=[];for(const n of t){if("aborted"===n.status)return h;"dirty"===n.status&&e.dirty(),r.push(n.value)}return{status:e.value,value:r}}static async mergeObjectAsync(e,t){const r=[];for(const e of t){const t=await e.key,n=await e.value;r.push({key:t,value:n})}return d.mergeObjectSync(e,r)}static mergeObjectSync(e,t){const r={};for(const n of t){const{key:t,value:i}=n;if("aborted"===t.status)return h;if("aborted"===i.status)return h;"dirty"===t.status&&e.dirty(),"dirty"===i.status&&e.dirty(),"__proto__"===t.value||void 0===i.value&&!n.alwaysSet||(r[t.value]=i.value)}return{status:e.value,value:r}}}const h=Object.freeze({status:"aborted"}),f=e=>({status:"dirty",value:e}),p=e=>({status:"valid",value:e}),g=e=>"aborted"===e.status,m=e=>"dirty"===e.status,v=e=>"valid"===e.status,y=e=>"undefined"!=typeof Promise&&e instanceof Promise},290783:(e,t,r)=>{"use strict";r.d(t,{CR:()=>c,ZS:()=>n,Zp:()=>u,o6:()=>i});var n,i,s=r(364467);function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){(0,s.A)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}!function(e){e.assertEqual=e=>{},e.assertIs=function(e){},e.assertNever=function(e){throw new Error},e.arrayToEnum=e=>{const t={};for(const r of e)t[r]=r;return t},e.getValidEnumValues=t=>{const r=e.objectKeys(t).filter((e=>"number"!=typeof t[t[e]])),n={};for(const e of r)n[e]=t[e];return e.objectValues(n)},e.objectValues=t=>e.objectKeys(t).map((function(e){return t[e]})),e.objectKeys="function"==typeof Object.keys?e=>Object.keys(e):e=>{const t=[];for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t},e.find=(e,t)=>{for(const r of e)if(t(r))return r},e.isInteger="function"==typeof Number.isInteger?e=>Number.isInteger(e):e=>"number"==typeof e&&Number.isFinite(e)&&Math.floor(e)===e,e.joinValues=function(e,t=" | "){return e.map((e=>"string"==typeof e?`'${e}'`:e)).join(t)},e.jsonStringifyReplacer=(e,t)=>"bigint"==typeof t?t.toString():t}(n||(n={})),function(e){e.mergeShapes=(e,t)=>o(o({},e),t)}(i||(i={}));const u=n.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),c=e=>{switch(typeof e){case"undefined":return u.undefined;case"string":return u.string;case"number":return Number.isNaN(e)?u.nan:u.number;case"boolean":return u.boolean;case"function":return u.function;case"bigint":return u.bigint;case"symbol":return u.symbol;case"object":return Array.isArray(e)?u.array:null===e?u.null:e.then&&"function"==typeof e.then&&e.catch&&"function"==typeof e.catch?u.promise:"undefined"!=typeof Map&&e instanceof Map?u.map:"undefined"!=typeof Set&&e instanceof Set?u.set:"undefined"!=typeof Date&&e instanceof Date?u.date:u.object;default:return u.unknown}}},294954:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(13212),i=r(290783);const s=(e,t)=>{let r;switch(e.code){case n.eq.invalid_type:r=e.received===i.Zp.undefined?"Required":`Expected ${e.expected}, received ${e.received}`;break;case n.eq.invalid_literal:r=`Invalid literal value, expected ${JSON.stringify(e.expected,i.ZS.jsonStringifyReplacer)}`;break;case n.eq.unrecognized_keys:r=`Unrecognized key(s) in object: ${i.ZS.joinValues(e.keys,", ")}`;break;case n.eq.invalid_union:r="Invalid input";break;case n.eq.invalid_union_discriminator:r=`Invalid discriminator value. Expected ${i.ZS.joinValues(e.options)}`;break;case n.eq.invalid_enum_value:r=`Invalid enum value. Expected ${i.ZS.joinValues(e.options)}, received '${e.received}'`;break;case n.eq.invalid_arguments:r="Invalid function arguments";break;case n.eq.invalid_return_type:r="Invalid function return type";break;case n.eq.invalid_date:r="Invalid date";break;case n.eq.invalid_string:"object"==typeof e.validation?"includes"in e.validation?(r=`Invalid input: must include "${e.validation.includes}"`,"number"==typeof e.validation.position&&(r=`${r} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?r=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?r=`Invalid input: must end with "${e.validation.endsWith}"`:i.ZS.assertNever(e.validation):r="regex"!==e.validation?`Invalid ${e.validation}`:"Invalid";break;case n.eq.too_small:r="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:"number"===e.type||"bigint"===e.type?`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:"date"===e.type?`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:"Invalid input";break;case n.eq.too_big:r="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"bigint"===e.type?`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"date"===e.type?`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:"Invalid input";break;case n.eq.custom:r="Invalid input";break;case n.eq.invalid_intersection_types:r="Intersection results could not be merged";break;case n.eq.not_multiple_of:r=`Number must be a multiple of ${e.multipleOf}`;break;case n.eq.not_finite:r="Number must be finite";break;default:r=t.defaultError,i.ZS.assertNever(e)}return{message:r}}},115633:(e,t,r)=>{"use strict";r.d(t,{qt:()=>_e,tm:()=>pt,Sj:()=>g,Ml:()=>q,n:()=>W,Lr:()=>U,WF:()=>V,eN:()=>Se,hw:()=>Ee,aP:()=>B,Xi:()=>ye,jv:()=>te,k1:()=>ge,Vb:()=>he,kY:()=>Te,CZ:()=>ue,Jv:()=>ne,Ih:()=>ce,DN:()=>le,Ut:()=>ae,Tq:()=>be,WM:()=>fe,iS:()=>Y,PQ:()=>z,l1:()=>ve,rS:()=>$,bv:()=>Q,Ii:()=>me,_c:()=>Oe,$i:()=>pe,EV:()=>Ae,b8:()=>se,lK:()=>g,Kz:()=>oe,ND:()=>k,K5:()=>Z,BG:()=>ge,y0:()=>ie,aR:()=>g,_Z:()=>K,fZ:()=>X,_:()=>G,a0:()=>H,bz:()=>$e,YO:()=>Ze,o:()=>je,zM:()=>xe,au:()=>ft,Ie:()=>Ce,p6:()=>De,fm:()=>x,gM:()=>Ge,QZ:()=>st,k5:()=>rt,fH:()=>Xe,Nl:()=>Ne,E$:()=>Ye,fn:()=>Ie,RZ:()=>et,eu:()=>tt,Tj:()=>Je,oi:()=>Le,fc:()=>nt,Zm:()=>Ve,ch:()=>Fe,me:()=>ot,ai:()=>Pe,Ik:()=>Ke,yN:()=>ht,p7:()=>dt,lq:()=>at,Di:()=>lt,Tk:()=>ct,vk:()=>ut,iv:()=>it,g1:()=>We,hZ:()=>Qe,re:()=>ze,Yj:()=>Re,HR:()=>Me,Gu:()=>st,PV:()=>He,Vx:()=>ke,KC:()=>qe,L5:()=>Ue,rI:()=>Be});var n,i=r(364467),s=r(13212),a=r(557698),o=r(294954);!function(e){e.errToObj=e=>"string"==typeof e?{message:e}:e||{},e.toString=e=>"string"==typeof e?e:null==e?void 0:e.message}(n||(n={}));var u=r(98332),c=r(290783);function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){(0,i.A)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}class h{constructor(e,t,r,n){this._cachedPath=[],this.parent=e,this.data=t,this._path=r,this._key=n}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const f=(e,t)=>{if((0,u.fn)(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const t=new s.G(e.common.issues);return this._error=t,this._error}}};function p(e){if(!e)return{};const{errorMap:t,invalid_type_error:r,required_error:n,description:i}=e;if(t&&(r||n))throw new Error('Can\'t use "invalid_type_error" or "required_error" in conjunction with custom error map.');if(t)return{errorMap:t,description:i};return{errorMap:(t,i)=>{var s;const{message:a}=e;return"invalid_enum_value"===t.code?{message:null!=a?a:i.defaultError}:void 0===i.data?{message:null!==(o=null!=a?a:n)&&void 0!==o?o:i.defaultError}:"invalid_type"!==t.code?{message:i.defaultError}:{message:null!==(s=null!=a?a:r)&&void 0!==s?s:i.defaultError};var o},description:i}}class g{get description(){return this._def.description}_getType(e){return(0,c.CR)(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:(0,c.CR)(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new u.MY,ctx:{common:e.parent.common,data:e.data,parsedType:(0,c.CR)(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){const t=this._parse(e);if((0,u.xP)(t))throw new Error("Synchronous parse encountered promise.");return t}_parseAsync(e){const t=this._parse(e);return Promise.resolve(t)}parse(e,t){const r=this.safeParse(e,t);if(r.success)return r.data;throw r.error}safeParse(e,t){var r;const n={common:{issues:[],async:null!==(r=null==t?void 0:t.async)&&void 0!==r&&r,contextualErrorMap:null==t?void 0:t.errorMap},path:(null==t?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:(0,c.CR)(e)},i=this._parseSync({data:e,path:n.path,parent:n});return f(n,i)}"~validate"(e){const t={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:(0,c.CR)(e)};if(!this["~standard"].async)try{const r=this._parseSync({data:e,path:[],parent:t});return(0,u.fn)(r)?{value:r.value}:{issues:t.common.issues}}catch(e){var r;null!=e&&null!==(r=e.message)&&void 0!==r&&null!==(r=r.toLowerCase())&&void 0!==r&&r.includes("encountered")&&(this["~standard"].async=!0),t.common={issues:[],async:!0}}return this._parseAsync({data:e,path:[],parent:t}).then((e=>(0,u.fn)(e)?{value:e.value}:{issues:t.common.issues}))}async parseAsync(e,t){const r=await this.safeParseAsync(e,t);if(r.success)return r.data;throw r.error}async safeParseAsync(e,t){const r={common:{issues:[],contextualErrorMap:null==t?void 0:t.errorMap,async:!0},path:(null==t?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:(0,c.CR)(e)},n=this._parse({data:e,path:r.path,parent:r}),i=await((0,u.xP)(n)?n:Promise.resolve(n));return f(r,i)}refine(e,t){return this._refinement(((r,n)=>{const i=e(r),a=()=>n.addIssue(d({code:s.eq.custom},(e=>"string"==typeof t||void 0===t?{message:t}:"function"==typeof t?t(e):t)(r)));return"undefined"!=typeof Promise&&i instanceof Promise?i.then((e=>!!e||(a(),!1))):!!i||(a(),!1)}))}refinement(e,t){return this._refinement(((r,n)=>!!e(r)||(n.addIssue("function"==typeof t?t(r,n):t),!1)))}_refinement(e){return new ge({schema:this,typeName:Te.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:e=>this["~validate"](e)}}optional(){return me.create(this,this._def)}nullable(){return ve.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return W.create(this)}promise(){return pe.create(this,this._def)}or(e){return X.create([this,e],this._def)}and(e){return ne.create(this,e,this._def)}transform(e){return new ge(d(d({},p(this._def)),{},{schema:this,typeName:Te.ZodEffects,effect:{type:"transform",transform:e}}))}default(e){const t="function"==typeof e?e:()=>e;return new ye(d(d({},p(this._def)),{},{innerType:this,defaultValue:t,typeName:Te.ZodDefault}))}brand(){return new Se(d({typeName:Te.ZodBranded,type:this},p(this._def)))}catch(e){const t="function"==typeof e?e:()=>e;return new Ee(d(d({},p(this._def)),{},{innerType:this,catchValue:t,typeName:Te.ZodCatch}))}describe(e){return new(0,this.constructor)(d(d({},this._def),{},{description:e}))}pipe(e){return Oe.create(this,e)}readonly(){return Ae.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const m=/^c[^\s-]{8,}$/i,v=/^[0-9a-z]+$/,y=/^[0-9A-HJKMNP-TV-Z]{26}$/i,E=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,b=/^[a-z0-9_-]{21}$/i,_=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,S=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,O=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i;let A;const w=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,C=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,I=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,T=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,N=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,R=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,P="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",L=new RegExp(`^${P}$`);function j(e){let t="[0-5]\\d";e.precision?t=`${t}\\.\\d{${e.precision}}`:null==e.precision&&(t=`${t}(\\.\\d+)?`);return`([01]\\d|2[0-3]):[0-5]\\d(:${t})${e.precision?"+":"?"}`}function x(e){let t=`${P}T${j(e)}`;const r=[];return r.push(e.local?"Z?":"Z"),e.offset&&r.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${r.join("|")})`,new RegExp(`^${t}$`)}function D(e,t){if(!_.test(e))return!1;try{const[r]=e.split(".");if(!r)return!1;const n=r.replace(/-/g,"+").replace(/_/g,"/").padEnd(r.length+(4-r.length%4)%4,"="),i=JSON.parse(atob(n));return"object"==typeof i&&null!==i&&((!("typ"in i)||"JWT"===(null==i?void 0:i.typ))&&(!!i.alg&&(!t||i.alg===t)))}catch(e){return!1}}function M(e,t){return!("v4"!==t&&t||!C.test(e))||!("v6"!==t&&t||!T.test(e))}class k extends g{_parse(e){this._def.coerce&&(e.data=String(e.data));if(this._getType(e)!==c.Zp.string){const t=this._getOrReturnCtx(e);return(0,u.zn)(t,{code:s.eq.invalid_type,expected:c.Zp.string,received:t.parsedType}),u.uY}const t=new u.MY;let r;for(const a of this._def.checks)if("min"===a.kind)e.data.length<a.value&&(r=this._getOrReturnCtx(e,r),(0,u.zn)(r,{code:s.eq.too_small,minimum:a.value,type:"string",inclusive:!0,exact:!1,message:a.message}),t.dirty());else if("max"===a.kind)e.data.length>a.value&&(r=this._getOrReturnCtx(e,r),(0,u.zn)(r,{code:s.eq.too_big,maximum:a.value,type:"string",inclusive:!0,exact:!1,message:a.message}),t.dirty());else if("length"===a.kind){const n=e.data.length>a.value,i=e.data.length<a.value;(n||i)&&(r=this._getOrReturnCtx(e,r),n?(0,u.zn)(r,{code:s.eq.too_big,maximum:a.value,type:"string",inclusive:!0,exact:!0,message:a.message}):i&&(0,u.zn)(r,{code:s.eq.too_small,minimum:a.value,type:"string",inclusive:!0,exact:!0,message:a.message}),t.dirty())}else if("email"===a.kind)O.test(e.data)||(r=this._getOrReturnCtx(e,r),(0,u.zn)(r,{validation:"email",code:s.eq.invalid_string,message:a.message}),t.dirty());else if("emoji"===a.kind)A||(A=new RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")),A.test(e.data)||(r=this._getOrReturnCtx(e,r),(0,u.zn)(r,{validation:"emoji",code:s.eq.invalid_string,message:a.message}),t.dirty());else if("uuid"===a.kind)E.test(e.data)||(r=this._getOrReturnCtx(e,r),(0,u.zn)(r,{validation:"uuid",code:s.eq.invalid_string,message:a.message}),t.dirty());else if("nanoid"===a.kind)b.test(e.data)||(r=this._getOrReturnCtx(e,r),(0,u.zn)(r,{validation:"nanoid",code:s.eq.invalid_string,message:a.message}),t.dirty());else if("cuid"===a.kind)m.test(e.data)||(r=this._getOrReturnCtx(e,r),(0,u.zn)(r,{validation:"cuid",code:s.eq.invalid_string,message:a.message}),t.dirty());else if("cuid2"===a.kind)v.test(e.data)||(r=this._getOrReturnCtx(e,r),(0,u.zn)(r,{validation:"cuid2",code:s.eq.invalid_string,message:a.message}),t.dirty());else if("ulid"===a.kind)y.test(e.data)||(r=this._getOrReturnCtx(e,r),(0,u.zn)(r,{validation:"ulid",code:s.eq.invalid_string,message:a.message}),t.dirty());else if("url"===a.kind)try{new URL(e.data)}catch(n){r=this._getOrReturnCtx(e,r),(0,u.zn)(r,{validation:"url",code:s.eq.invalid_string,message:a.message}),t.dirty()}else if("regex"===a.kind){a.regex.lastIndex=0;a.regex.test(e.data)||(r=this._getOrReturnCtx(e,r),(0,u.zn)(r,{validation:"regex",code:s.eq.invalid_string,message:a.message}),t.dirty())}else if("trim"===a.kind)e.data=e.data.trim();else if("includes"===a.kind)e.data.includes(a.value,a.position)||(r=this._getOrReturnCtx(e,r),(0,u.zn)(r,{code:s.eq.invalid_string,validation:{includes:a.value,position:a.position},message:a.message}),t.dirty());else if("toLowerCase"===a.kind)e.data=e.data.toLowerCase();else if("toUpperCase"===a.kind)e.data=e.data.toUpperCase();else if("startsWith"===a.kind)e.data.startsWith(a.value)||(r=this._getOrReturnCtx(e,r),(0,u.zn)(r,{code:s.eq.invalid_string,validation:{startsWith:a.value},message:a.message}),t.dirty());else if("endsWith"===a.kind)e.data.endsWith(a.value)||(r=this._getOrReturnCtx(e,r),(0,u.zn)(r,{code:s.eq.invalid_string,validation:{endsWith:a.value},message:a.message}),t.dirty());else if("datetime"===a.kind){x(a).test(e.data)||(r=this._getOrReturnCtx(e,r),(0,u.zn)(r,{code:s.eq.invalid_string,validation:"datetime",message:a.message}),t.dirty())}else if("date"===a.kind){L.test(e.data)||(r=this._getOrReturnCtx(e,r),(0,u.zn)(r,{code:s.eq.invalid_string,validation:"date",message:a.message}),t.dirty())}else if("time"===a.kind){new RegExp(`^${j(a)}$`).test(e.data)||(r=this._getOrReturnCtx(e,r),(0,u.zn)(r,{code:s.eq.invalid_string,validation:"time",message:a.message}),t.dirty())}else"duration"===a.kind?S.test(e.data)||(r=this._getOrReturnCtx(e,r),(0,u.zn)(r,{validation:"duration",code:s.eq.invalid_string,message:a.message}),t.dirty()):"ip"===a.kind?(n=e.data,("v4"!==(i=a.version)&&i||!w.test(n))&&("v6"!==i&&i||!I.test(n))&&(r=this._getOrReturnCtx(e,r),(0,u.zn)(r,{validation:"ip",code:s.eq.invalid_string,message:a.message}),t.dirty())):"jwt"===a.kind?D(e.data,a.alg)||(r=this._getOrReturnCtx(e,r),(0,u.zn)(r,{validation:"jwt",code:s.eq.invalid_string,message:a.message}),t.dirty()):"cidr"===a.kind?M(e.data,a.version)||(r=this._getOrReturnCtx(e,r),(0,u.zn)(r,{validation:"cidr",code:s.eq.invalid_string,message:a.message}),t.dirty()):"base64"===a.kind?N.test(e.data)||(r=this._getOrReturnCtx(e,r),(0,u.zn)(r,{validation:"base64",code:s.eq.invalid_string,message:a.message}),t.dirty()):"base64url"===a.kind?R.test(e.data)||(r=this._getOrReturnCtx(e,r),(0,u.zn)(r,{validation:"base64url",code:s.eq.invalid_string,message:a.message}),t.dirty()):c.ZS.assertNever(a);var n,i;return{status:t.value,value:e.data}}_regex(e,t,r){return this.refinement((t=>e.test(t)),d({validation:t,code:s.eq.invalid_string},n.errToObj(r)))}_addCheck(e){return new k(d(d({},this._def),{},{checks:[...this._def.checks,e]}))}email(e){return this._addCheck(d({kind:"email"},n.errToObj(e)))}url(e){return this._addCheck(d({kind:"url"},n.errToObj(e)))}emoji(e){return this._addCheck(d({kind:"emoji"},n.errToObj(e)))}uuid(e){return this._addCheck(d({kind:"uuid"},n.errToObj(e)))}nanoid(e){return this._addCheck(d({kind:"nanoid"},n.errToObj(e)))}cuid(e){return this._addCheck(d({kind:"cuid"},n.errToObj(e)))}cuid2(e){return this._addCheck(d({kind:"cuid2"},n.errToObj(e)))}ulid(e){return this._addCheck(d({kind:"ulid"},n.errToObj(e)))}base64(e){return this._addCheck(d({kind:"base64"},n.errToObj(e)))}base64url(e){return this._addCheck(d({kind:"base64url"},n.errToObj(e)))}jwt(e){return this._addCheck(d({kind:"jwt"},n.errToObj(e)))}ip(e){return this._addCheck(d({kind:"ip"},n.errToObj(e)))}cidr(e){return this._addCheck(d({kind:"cidr"},n.errToObj(e)))}datetime(e){var t,r;return"string"==typeof e?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:e}):this._addCheck(d({kind:"datetime",precision:void 0===(null==e?void 0:e.precision)?null:null==e?void 0:e.precision,offset:null!==(t=null==e?void 0:e.offset)&&void 0!==t&&t,local:null!==(r=null==e?void 0:e.local)&&void 0!==r&&r},n.errToObj(null==e?void 0:e.message)))}date(e){return this._addCheck({kind:"date",message:e})}time(e){return"string"==typeof e?this._addCheck({kind:"time",precision:null,message:e}):this._addCheck(d({kind:"time",precision:void 0===(null==e?void 0:e.precision)?null:null==e?void 0:e.precision},n.errToObj(null==e?void 0:e.message)))}duration(e){return this._addCheck(d({kind:"duration"},n.errToObj(e)))}regex(e,t){return this._addCheck(d({kind:"regex",regex:e},n.errToObj(t)))}includes(e,t){return this._addCheck(d({kind:"includes",value:e,position:null==t?void 0:t.position},n.errToObj(null==t?void 0:t.message)))}startsWith(e,t){return this._addCheck(d({kind:"startsWith",value:e},n.errToObj(t)))}endsWith(e,t){return this._addCheck(d({kind:"endsWith",value:e},n.errToObj(t)))}min(e,t){return this._addCheck(d({kind:"min",value:e},n.errToObj(t)))}max(e,t){return this._addCheck(d({kind:"max",value:e},n.errToObj(t)))}length(e,t){return this._addCheck(d({kind:"length",value:e},n.errToObj(t)))}nonempty(e){return this.min(1,n.errToObj(e))}trim(){return new k(d(d({},this._def),{},{checks:[...this._def.checks,{kind:"trim"}]}))}toLowerCase(){return new k(d(d({},this._def),{},{checks:[...this._def.checks,{kind:"toLowerCase"}]}))}toUpperCase(){return new k(d(d({},this._def),{},{checks:[...this._def.checks,{kind:"toUpperCase"}]}))}get isDatetime(){return!!this._def.checks.find((e=>"datetime"===e.kind))}get isDate(){return!!this._def.checks.find((e=>"date"===e.kind))}get isTime(){return!!this._def.checks.find((e=>"time"===e.kind))}get isDuration(){return!!this._def.checks.find((e=>"duration"===e.kind))}get isEmail(){return!!this._def.checks.find((e=>"email"===e.kind))}get isURL(){return!!this._def.checks.find((e=>"url"===e.kind))}get isEmoji(){return!!this._def.checks.find((e=>"emoji"===e.kind))}get isUUID(){return!!this._def.checks.find((e=>"uuid"===e.kind))}get isNANOID(){return!!this._def.checks.find((e=>"nanoid"===e.kind))}get isCUID(){return!!this._def.checks.find((e=>"cuid"===e.kind))}get isCUID2(){return!!this._def.checks.find((e=>"cuid2"===e.kind))}get isULID(){return!!this._def.checks.find((e=>"ulid"===e.kind))}get isIP(){return!!this._def.checks.find((e=>"ip"===e.kind))}get isCIDR(){return!!this._def.checks.find((e=>"cidr"===e.kind))}get isBase64(){return!!this._def.checks.find((e=>"base64"===e.kind))}get isBase64url(){return!!this._def.checks.find((e=>"base64url"===e.kind))}get minLength(){let e=null;for(const t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxLength(){let e=null;for(const t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}}function F(e,t){const r=(e.toString().split(".")[1]||"").length,n=(t.toString().split(".")[1]||"").length,i=r>n?r:n;return Number.parseInt(e.toFixed(i).replace(".",""))%Number.parseInt(t.toFixed(i).replace(".",""))/10**i}k.create=e=>{var t;return new k(d({checks:[],typeName:Te.ZodString,coerce:null!==(t=null==e?void 0:e.coerce)&&void 0!==t&&t},p(e)))};class $ extends g{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){this._def.coerce&&(e.data=Number(e.data));if(this._getType(e)!==c.Zp.number){const t=this._getOrReturnCtx(e);return(0,u.zn)(t,{code:s.eq.invalid_type,expected:c.Zp.number,received:t.parsedType}),u.uY}let t;const r=new u.MY;for(const n of this._def.checks)if("int"===n.kind)c.ZS.isInteger(e.data)||(t=this._getOrReturnCtx(e,t),(0,u.zn)(t,{code:s.eq.invalid_type,expected:"integer",received:"float",message:n.message}),r.dirty());else if("min"===n.kind){(n.inclusive?e.data<n.value:e.data<=n.value)&&(t=this._getOrReturnCtx(e,t),(0,u.zn)(t,{code:s.eq.too_small,minimum:n.value,type:"number",inclusive:n.inclusive,exact:!1,message:n.message}),r.dirty())}else if("max"===n.kind){(n.inclusive?e.data>n.value:e.data>=n.value)&&(t=this._getOrReturnCtx(e,t),(0,u.zn)(t,{code:s.eq.too_big,maximum:n.value,type:"number",inclusive:n.inclusive,exact:!1,message:n.message}),r.dirty())}else"multipleOf"===n.kind?0!==F(e.data,n.value)&&(t=this._getOrReturnCtx(e,t),(0,u.zn)(t,{code:s.eq.not_multiple_of,multipleOf:n.value,message:n.message}),r.dirty()):"finite"===n.kind?Number.isFinite(e.data)||(t=this._getOrReturnCtx(e,t),(0,u.zn)(t,{code:s.eq.not_finite,message:n.message}),r.dirty()):c.ZS.assertNever(n);return{status:r.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,n.toString(t))}gt(e,t){return this.setLimit("min",e,!1,n.toString(t))}lte(e,t){return this.setLimit("max",e,!0,n.toString(t))}lt(e,t){return this.setLimit("max",e,!1,n.toString(t))}setLimit(e,t,r,i){return new $(d(d({},this._def),{},{checks:[...this._def.checks,{kind:e,value:t,inclusive:r,message:n.toString(i)}]}))}_addCheck(e){return new $(d(d({},this._def),{},{checks:[...this._def.checks,e]}))}int(e){return this._addCheck({kind:"int",message:n.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:n.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:n.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:n.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:n.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:n.toString(t)})}finite(e){return this._addCheck({kind:"finite",message:n.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:n.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:n.toString(e)})}get minValue(){let e=null;for(const t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(const t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}get isInt(){return!!this._def.checks.find((e=>"int"===e.kind||"multipleOf"===e.kind&&c.ZS.isInteger(e.value)))}get isFinite(){let e=null,t=null;for(const r of this._def.checks){if("finite"===r.kind||"int"===r.kind||"multipleOf"===r.kind)return!0;"min"===r.kind?(null===t||r.value>t)&&(t=r.value):"max"===r.kind&&(null===e||r.value<e)&&(e=r.value)}return Number.isFinite(t)&&Number.isFinite(e)}}$.create=e=>new $(d({checks:[],typeName:Te.ZodNumber,coerce:(null==e?void 0:e.coerce)||!1},p(e)));class U extends g{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){if(this._def.coerce)try{e.data=BigInt(e.data)}catch(t){return this._getInvalidInput(e)}if(this._getType(e)!==c.Zp.bigint)return this._getInvalidInput(e);let t;const r=new u.MY;for(const n of this._def.checks)if("min"===n.kind){(n.inclusive?e.data<n.value:e.data<=n.value)&&(t=this._getOrReturnCtx(e,t),(0,u.zn)(t,{code:s.eq.too_small,type:"bigint",minimum:n.value,inclusive:n.inclusive,message:n.message}),r.dirty())}else if("max"===n.kind){(n.inclusive?e.data>n.value:e.data>=n.value)&&(t=this._getOrReturnCtx(e,t),(0,u.zn)(t,{code:s.eq.too_big,type:"bigint",maximum:n.value,inclusive:n.inclusive,message:n.message}),r.dirty())}else"multipleOf"===n.kind?e.data%n.value!==BigInt(0)&&(t=this._getOrReturnCtx(e,t),(0,u.zn)(t,{code:s.eq.not_multiple_of,multipleOf:n.value,message:n.message}),r.dirty()):c.ZS.assertNever(n);return{status:r.value,value:e.data}}_getInvalidInput(e){const t=this._getOrReturnCtx(e);return(0,u.zn)(t,{code:s.eq.invalid_type,expected:c.Zp.bigint,received:t.parsedType}),u.uY}gte(e,t){return this.setLimit("min",e,!0,n.toString(t))}gt(e,t){return this.setLimit("min",e,!1,n.toString(t))}lte(e,t){return this.setLimit("max",e,!0,n.toString(t))}lt(e,t){return this.setLimit("max",e,!1,n.toString(t))}setLimit(e,t,r,i){return new U(d(d({},this._def),{},{checks:[...this._def.checks,{kind:e,value:t,inclusive:r,message:n.toString(i)}]}))}_addCheck(e){return new U(d(d({},this._def),{},{checks:[...this._def.checks,e]}))}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:n.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:n.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:n.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:n.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:n.toString(t)})}get minValue(){let e=null;for(const t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(const t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}}U.create=e=>{var t;return new U(d({checks:[],typeName:Te.ZodBigInt,coerce:null!==(t=null==e?void 0:e.coerce)&&void 0!==t&&t},p(e)))};class V extends g{_parse(e){this._def.coerce&&(e.data=Boolean(e.data));if(this._getType(e)!==c.Zp.boolean){const t=this._getOrReturnCtx(e);return(0,u.zn)(t,{code:s.eq.invalid_type,expected:c.Zp.boolean,received:t.parsedType}),u.uY}return(0,u.OK)(e.data)}}V.create=e=>new V(d({typeName:Te.ZodBoolean,coerce:(null==e?void 0:e.coerce)||!1},p(e)));class B extends g{_parse(e){this._def.coerce&&(e.data=new Date(e.data));if(this._getType(e)!==c.Zp.date){const t=this._getOrReturnCtx(e);return(0,u.zn)(t,{code:s.eq.invalid_type,expected:c.Zp.date,received:t.parsedType}),u.uY}if(Number.isNaN(e.data.getTime())){const t=this._getOrReturnCtx(e);return(0,u.zn)(t,{code:s.eq.invalid_date}),u.uY}const t=new u.MY;let r;for(const n of this._def.checks)"min"===n.kind?e.data.getTime()<n.value&&(r=this._getOrReturnCtx(e,r),(0,u.zn)(r,{code:s.eq.too_small,message:n.message,inclusive:!0,exact:!1,minimum:n.value,type:"date"}),t.dirty()):"max"===n.kind?e.data.getTime()>n.value&&(r=this._getOrReturnCtx(e,r),(0,u.zn)(r,{code:s.eq.too_big,message:n.message,inclusive:!0,exact:!1,maximum:n.value,type:"date"}),t.dirty()):c.ZS.assertNever(n);return{status:t.value,value:new Date(e.data.getTime())}}_addCheck(e){return new B(d(d({},this._def),{},{checks:[...this._def.checks,e]}))}min(e,t){return this._addCheck({kind:"min",value:e.getTime(),message:n.toString(t)})}max(e,t){return this._addCheck({kind:"max",value:e.getTime(),message:n.toString(t)})}get minDate(){let e=null;for(const t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return null!=e?new Date(e):null}get maxDate(){let e=null;for(const t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return null!=e?new Date(e):null}}B.create=e=>new B(d({checks:[],coerce:(null==e?void 0:e.coerce)||!1,typeName:Te.ZodDate},p(e)));class Z extends g{_parse(e){if(this._getType(e)!==c.Zp.symbol){const t=this._getOrReturnCtx(e);return(0,u.zn)(t,{code:s.eq.invalid_type,expected:c.Zp.symbol,received:t.parsedType}),u.uY}return(0,u.OK)(e.data)}}Z.create=e=>new Z(d({typeName:Te.ZodSymbol},p(e)));class K extends g{_parse(e){if(this._getType(e)!==c.Zp.undefined){const t=this._getOrReturnCtx(e);return(0,u.zn)(t,{code:s.eq.invalid_type,expected:c.Zp.undefined,received:t.parsedType}),u.uY}return(0,u.OK)(e.data)}}K.create=e=>new K(d({typeName:Te.ZodUndefined},p(e)));class z extends g{_parse(e){if(this._getType(e)!==c.Zp.null){const t=this._getOrReturnCtx(e);return(0,u.zn)(t,{code:s.eq.invalid_type,expected:c.Zp.null,received:t.parsedType}),u.uY}return(0,u.OK)(e.data)}}z.create=e=>new z(d({typeName:Te.ZodNull},p(e)));class q extends g{constructor(){super(...arguments),this._any=!0}_parse(e){return(0,u.OK)(e.data)}}q.create=e=>new q(d({typeName:Te.ZodAny},p(e)));class G extends g{constructor(){super(...arguments),this._unknown=!0}_parse(e){return(0,u.OK)(e.data)}}G.create=e=>new G(d({typeName:Te.ZodUnknown},p(e)));class Y extends g{_parse(e){const t=this._getOrReturnCtx(e);return(0,u.zn)(t,{code:s.eq.invalid_type,expected:c.Zp.never,received:t.parsedType}),u.uY}}Y.create=e=>new Y(d({typeName:Te.ZodNever},p(e)));class H extends g{_parse(e){if(this._getType(e)!==c.Zp.undefined){const t=this._getOrReturnCtx(e);return(0,u.zn)(t,{code:s.eq.invalid_type,expected:c.Zp.void,received:t.parsedType}),u.uY}return(0,u.OK)(e.data)}}H.create=e=>new H(d({typeName:Te.ZodVoid},p(e)));class W extends g{_parse(e){const{ctx:t,status:r}=this._processInputParams(e),n=this._def;if(t.parsedType!==c.Zp.array)return(0,u.zn)(t,{code:s.eq.invalid_type,expected:c.Zp.array,received:t.parsedType}),u.uY;if(null!==n.exactLength){const e=t.data.length>n.exactLength.value,i=t.data.length<n.exactLength.value;(e||i)&&((0,u.zn)(t,{code:e?s.eq.too_big:s.eq.too_small,minimum:i?n.exactLength.value:void 0,maximum:e?n.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:n.exactLength.message}),r.dirty())}if(null!==n.minLength&&t.data.length<n.minLength.value&&((0,u.zn)(t,{code:s.eq.too_small,minimum:n.minLength.value,type:"array",inclusive:!0,exact:!1,message:n.minLength.message}),r.dirty()),null!==n.maxLength&&t.data.length>n.maxLength.value&&((0,u.zn)(t,{code:s.eq.too_big,maximum:n.maxLength.value,type:"array",inclusive:!0,exact:!1,message:n.maxLength.message}),r.dirty()),t.common.async)return Promise.all([...t.data].map(((e,r)=>n.type._parseAsync(new h(t,e,t.path,r))))).then((e=>u.MY.mergeArray(r,e)));const i=[...t.data].map(((e,r)=>n.type._parseSync(new h(t,e,t.path,r))));return u.MY.mergeArray(r,i)}get element(){return this._def.type}min(e,t){return new W(d(d({},this._def),{},{minLength:{value:e,message:n.toString(t)}}))}max(e,t){return new W(d(d({},this._def),{},{maxLength:{value:e,message:n.toString(t)}}))}length(e,t){return new W(d(d({},this._def),{},{exactLength:{value:e,message:n.toString(t)}}))}nonempty(e){return this.min(1,e)}}function J(e){if(e instanceof Q){const t={};for(const r in e.shape){const n=e.shape[r];t[r]=me.create(J(n))}return new Q(d(d({},e._def),{},{shape:()=>t}))}return e instanceof W?new W(d(d({},e._def),{},{type:J(e.element)})):e instanceof me?me.create(J(e.unwrap())):e instanceof ve?ve.create(J(e.unwrap())):e instanceof ie?ie.create(e.items.map((e=>J(e)))):e}W.create=(e,t)=>new W(d({type:e,minLength:null,maxLength:null,exactLength:null,typeName:Te.ZodArray},p(t)));class Q extends g{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(null!==this._cached)return this._cached;const e=this._def.shape(),t=c.ZS.objectKeys(e);return this._cached={shape:e,keys:t},this._cached}_parse(e){if(this._getType(e)!==c.Zp.object){const t=this._getOrReturnCtx(e);return(0,u.zn)(t,{code:s.eq.invalid_type,expected:c.Zp.object,received:t.parsedType}),u.uY}const{status:t,ctx:r}=this._processInputParams(e),{shape:n,keys:i}=this._getCached(),a=[];if(!(this._def.catchall instanceof Y&&"strip"===this._def.unknownKeys))for(const e in r.data)i.includes(e)||a.push(e);const o=[];for(const e of i){const t=n[e],i=r.data[e];o.push({key:{status:"valid",value:e},value:t._parse(new h(r,i,r.path,e)),alwaysSet:e in r.data})}if(this._def.catchall instanceof Y){const e=this._def.unknownKeys;if("passthrough"===e)for(const e of a)o.push({key:{status:"valid",value:e},value:{status:"valid",value:r.data[e]}});else if("strict"===e)a.length>0&&((0,u.zn)(r,{code:s.eq.unrecognized_keys,keys:a}),t.dirty());else if("strip"!==e)throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const e=this._def.catchall;for(const t of a){const n=r.data[t];o.push({key:{status:"valid",value:t},value:e._parse(new h(r,n,r.path,t)),alwaysSet:t in r.data})}}return r.common.async?Promise.resolve().then((async function(){const e=[];for(const t of o){const r=await t.key,n=await t.value;e.push({key:r,value:n,alwaysSet:t.alwaysSet})}return e})).then((e=>u.MY.mergeObjectSync(t,e))):u.MY.mergeObjectSync(t,o)}get shape(){return this._def.shape()}strict(e){return n.errToObj,new Q(d(d({},this._def),{},{unknownKeys:"strict"},void 0!==e?{errorMap:(t,r)=>{var i,s,a,o;const u=null!==(i=null===(s=(a=this._def).errorMap)||void 0===s?void 0:s.call(a,t,r).message)&&void 0!==i?i:r.defaultError;return"unrecognized_keys"===t.code?{message:null!==(o=n.errToObj(e).message)&&void 0!==o?o:u}:{message:u}}}:{}))}strip(){return new Q(d(d({},this._def),{},{unknownKeys:"strip"}))}passthrough(){return new Q(d(d({},this._def),{},{unknownKeys:"passthrough"}))}extend(e){return new Q(d(d({},this._def),{},{shape:()=>d(d({},this._def.shape()),e)}))}merge(e){return new Q({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>d(d({},this._def.shape()),e._def.shape()),typeName:Te.ZodObject})}setKey(e,t){return this.augment({[e]:t})}catchall(e){return new Q(d(d({},this._def),{},{catchall:e}))}pick(e){const t={};for(const r of c.ZS.objectKeys(e))e[r]&&this.shape[r]&&(t[r]=this.shape[r]);return new Q(d(d({},this._def),{},{shape:()=>t}))}omit(e){const t={};for(const r of c.ZS.objectKeys(this.shape))e[r]||(t[r]=this.shape[r]);return new Q(d(d({},this._def),{},{shape:()=>t}))}deepPartial(){return J(this)}partial(e){const t={};for(const r of c.ZS.objectKeys(this.shape)){const n=this.shape[r];e&&!e[r]?t[r]=n:t[r]=n.optional()}return new Q(d(d({},this._def),{},{shape:()=>t}))}required(e){const t={};for(const r of c.ZS.objectKeys(this.shape))if(e&&!e[r])t[r]=this.shape[r];else{let e=this.shape[r];for(;e instanceof me;)e=e._def.innerType;t[r]=e}return new Q(d(d({},this._def),{},{shape:()=>t}))}keyof(){return de(c.ZS.objectKeys(this.shape))}}Q.create=(e,t)=>new Q(d({shape:()=>e,unknownKeys:"strip",catchall:Y.create(),typeName:Te.ZodObject},p(t))),Q.strictCreate=(e,t)=>new Q(d({shape:()=>e,unknownKeys:"strict",catchall:Y.create(),typeName:Te.ZodObject},p(t))),Q.lazycreate=(e,t)=>new Q(d({shape:e,unknownKeys:"strip",catchall:Y.create(),typeName:Te.ZodObject},p(t)));class X extends g{_parse(e){const{ctx:t}=this._processInputParams(e),r=this._def.options;if(t.common.async)return Promise.all(r.map((async function(e){const r=d(d({},t),{},{common:d(d({},t.common),{},{issues:[]}),parent:null});return{result:await e._parseAsync({data:t.data,path:t.path,parent:r}),ctx:r}}))).then((function(e){for(const t of e)if("valid"===t.result.status)return t.result;for(const r of e)if("dirty"===r.result.status)return t.common.issues.push(...r.ctx.common.issues),r.result;const r=e.map((e=>new s.G(e.ctx.common.issues)));return(0,u.zn)(t,{code:s.eq.invalid_union,unionErrors:r}),u.uY}));{let e;const n=[];for(const i of r){const r=d(d({},t),{},{common:d(d({},t.common),{},{issues:[]}),parent:null}),s=i._parseSync({data:t.data,path:t.path,parent:r});if("valid"===s.status)return s;"dirty"!==s.status||e||(e={result:s,ctx:r}),r.common.issues.length&&n.push(r.common.issues)}if(e)return t.common.issues.push(...e.ctx.common.issues),e.result;const i=n.map((e=>new s.G(e)));return(0,u.zn)(t,{code:s.eq.invalid_union,unionErrors:i}),u.uY}}get options(){return this._def.options}}X.create=(e,t)=>new X(d({options:e,typeName:Te.ZodUnion},p(t)));const ee=e=>e instanceof ce?ee(e.schema):e instanceof ge?ee(e.innerType()):e instanceof le?[e.value]:e instanceof he?e.options:e instanceof fe?c.ZS.objectValues(e.enum):e instanceof ye?ee(e._def.innerType):e instanceof K?[void 0]:e instanceof z?[null]:e instanceof me?[void 0,...ee(e.unwrap())]:e instanceof ve?[null,...ee(e.unwrap())]:e instanceof Se||e instanceof Ae?ee(e.unwrap()):e instanceof Ee?ee(e._def.innerType):[];class te extends g{_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==c.Zp.object)return(0,u.zn)(t,{code:s.eq.invalid_type,expected:c.Zp.object,received:t.parsedType}),u.uY;const r=this.discriminator,n=t.data[r],i=this.optionsMap.get(n);return i?t.common.async?i._parseAsync({data:t.data,path:t.path,parent:t}):i._parseSync({data:t.data,path:t.path,parent:t}):((0,u.zn)(t,{code:s.eq.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[r]}),u.uY)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,t,r){const n=new Map;for(const r of t){const t=ee(r.shape[e]);if(!t.length)throw new Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(const i of t){if(n.has(i))throw new Error(`Discriminator property ${String(e)} has duplicate value ${String(i)}`);n.set(i,r)}}return new te(d({typeName:Te.ZodDiscriminatedUnion,discriminator:e,options:t,optionsMap:n},p(r)))}}function re(e,t){const r=(0,c.CR)(e),n=(0,c.CR)(t);if(e===t)return{valid:!0,data:e};if(r===c.Zp.object&&n===c.Zp.object){const r=c.ZS.objectKeys(t),n=c.ZS.objectKeys(e).filter((e=>-1!==r.indexOf(e))),i=d(d({},e),t);for(const r of n){const n=re(e[r],t[r]);if(!n.valid)return{valid:!1};i[r]=n.data}return{valid:!0,data:i}}if(r===c.Zp.array&&n===c.Zp.array){if(e.length!==t.length)return{valid:!1};const r=[];for(let n=0;n<e.length;n++){const i=re(e[n],t[n]);if(!i.valid)return{valid:!1};r.push(i.data)}return{valid:!0,data:r}}return r===c.Zp.date&&n===c.Zp.date&&+e==+t?{valid:!0,data:e}:{valid:!1}}class ne extends g{_parse(e){const{status:t,ctx:r}=this._processInputParams(e),n=(e,n)=>{if((0,u.G4)(e)||(0,u.G4)(n))return u.uY;const i=re(e.value,n.value);return i.valid?(((0,u.DM)(e)||(0,u.DM)(n))&&t.dirty(),{status:t.value,value:i.data}):((0,u.zn)(r,{code:s.eq.invalid_intersection_types}),u.uY)};return r.common.async?Promise.all([this._def.left._parseAsync({data:r.data,path:r.path,parent:r}),this._def.right._parseAsync({data:r.data,path:r.path,parent:r})]).then((([e,t])=>n(e,t))):n(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}}ne.create=(e,t,r)=>new ne(d({left:e,right:t,typeName:Te.ZodIntersection},p(r)));class ie extends g{_parse(e){const{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==c.Zp.array)return(0,u.zn)(r,{code:s.eq.invalid_type,expected:c.Zp.array,received:r.parsedType}),u.uY;if(r.data.length<this._def.items.length)return(0,u.zn)(r,{code:s.eq.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),u.uY;!this._def.rest&&r.data.length>this._def.items.length&&((0,u.zn)(r,{code:s.eq.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),t.dirty());const n=[...r.data].map(((e,t)=>{const n=this._def.items[t]||this._def.rest;return n?n._parse(new h(r,e,r.path,t)):null})).filter((e=>!!e));return r.common.async?Promise.all(n).then((e=>u.MY.mergeArray(t,e))):u.MY.mergeArray(t,n)}get items(){return this._def.items}rest(e){return new ie(d(d({},this._def),{},{rest:e}))}}ie.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new ie(d({items:e,typeName:Te.ZodTuple,rest:null},p(t)))};class se extends g{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==c.Zp.object)return(0,u.zn)(r,{code:s.eq.invalid_type,expected:c.Zp.object,received:r.parsedType}),u.uY;const n=[],i=this._def.keyType,a=this._def.valueType;for(const e in r.data)n.push({key:i._parse(new h(r,e,r.path,e)),value:a._parse(new h(r,r.data[e],r.path,e)),alwaysSet:e in r.data});return r.common.async?u.MY.mergeObjectAsync(t,n):u.MY.mergeObjectSync(t,n)}get element(){return this._def.valueType}static create(e,t,r){return new se(t instanceof g?d({keyType:e,valueType:t,typeName:Te.ZodRecord},p(r)):d({keyType:k.create(),valueType:e,typeName:Te.ZodRecord},p(t)))}}class ae extends g{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==c.Zp.map)return(0,u.zn)(r,{code:s.eq.invalid_type,expected:c.Zp.map,received:r.parsedType}),u.uY;const n=this._def.keyType,i=this._def.valueType,a=[...r.data.entries()].map((([e,t],s)=>({key:n._parse(new h(r,e,r.path,[s,"key"])),value:i._parse(new h(r,t,r.path,[s,"value"]))})));if(r.common.async){const e=new Map;return Promise.resolve().then((async function(){for(const r of a){const n=await r.key,i=await r.value;if("aborted"===n.status||"aborted"===i.status)return u.uY;"dirty"!==n.status&&"dirty"!==i.status||t.dirty(),e.set(n.value,i.value)}return{status:t.value,value:e}}))}{const e=new Map;for(const r of a){const n=r.key,i=r.value;if("aborted"===n.status||"aborted"===i.status)return u.uY;"dirty"!==n.status&&"dirty"!==i.status||t.dirty(),e.set(n.value,i.value)}return{status:t.value,value:e}}}}ae.create=(e,t,r)=>new ae(d({valueType:t,keyType:e,typeName:Te.ZodMap},p(r)));class oe extends g{_parse(e){const{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==c.Zp.set)return(0,u.zn)(r,{code:s.eq.invalid_type,expected:c.Zp.set,received:r.parsedType}),u.uY;const n=this._def;null!==n.minSize&&r.data.size<n.minSize.value&&((0,u.zn)(r,{code:s.eq.too_small,minimum:n.minSize.value,type:"set",inclusive:!0,exact:!1,message:n.minSize.message}),t.dirty()),null!==n.maxSize&&r.data.size>n.maxSize.value&&((0,u.zn)(r,{code:s.eq.too_big,maximum:n.maxSize.value,type:"set",inclusive:!0,exact:!1,message:n.maxSize.message}),t.dirty());const i=this._def.valueType;function a(e){const r=new Set;for(const n of e){if("aborted"===n.status)return u.uY;"dirty"===n.status&&t.dirty(),r.add(n.value)}return{status:t.value,value:r}}const o=[...r.data.values()].map(((e,t)=>i._parse(new h(r,e,r.path,t))));return r.common.async?Promise.all(o).then((e=>a(e))):a(o)}min(e,t){return new oe(d(d({},this._def),{},{minSize:{value:e,message:n.toString(t)}}))}max(e,t){return new oe(d(d({},this._def),{},{maxSize:{value:e,message:n.toString(t)}}))}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}}oe.create=(e,t)=>new oe(d({valueType:e,minSize:null,maxSize:null,typeName:Te.ZodSet},p(t)));class ue extends g{constructor(){super(...arguments),this.validate=this.implement}_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==c.Zp.function)return(0,u.zn)(t,{code:s.eq.invalid_type,expected:c.Zp.function,received:t.parsedType}),u.uY;function r(e,r){return(0,u.y7)({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,(0,a.$W)(),o.A].filter((e=>!!e)),issueData:{code:s.eq.invalid_arguments,argumentsError:r}})}function n(e,r){return(0,u.y7)({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,(0,a.$W)(),o.A].filter((e=>!!e)),issueData:{code:s.eq.invalid_return_type,returnTypeError:r}})}const i={errorMap:t.common.contextualErrorMap},l=t.data;if(this._def.returns instanceof pe){const e=this;return(0,u.OK)((async function(...t){const a=new s.G([]),o=await e._def.args.parseAsync(t,i).catch((e=>{throw a.addIssue(r(t,e)),a})),u=await Reflect.apply(l,this,o);return await e._def.returns._def.type.parseAsync(u,i).catch((e=>{throw a.addIssue(n(u,e)),a}))}))}{const e=this;return(0,u.OK)((function(...t){const a=e._def.args.safeParse(t,i);if(!a.success)throw new s.G([r(t,a.error)]);const o=Reflect.apply(l,this,a.data),u=e._def.returns.safeParse(o,i);if(!u.success)throw new s.G([n(o,u.error)]);return u.data}))}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new ue(d(d({},this._def),{},{args:ie.create(e).rest(G.create())}))}returns(e){return new ue(d(d({},this._def),{},{returns:e}))}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,t,r){return new ue(d({args:e||ie.create([]).rest(G.create()),returns:t||G.create(),typeName:Te.ZodFunction},p(r)))}}class ce extends g{get schema(){return this._def.getter()}_parse(e){const{ctx:t}=this._processInputParams(e);return this._def.getter()._parse({data:t.data,path:t.path,parent:t})}}ce.create=(e,t)=>new ce(d({getter:e,typeName:Te.ZodLazy},p(t)));class le extends g{_parse(e){if(e.data!==this._def.value){const t=this._getOrReturnCtx(e);return(0,u.zn)(t,{received:t.data,code:s.eq.invalid_literal,expected:this._def.value}),u.uY}return{status:"valid",value:e.data}}get value(){return this._def.value}}function de(e,t){return new he(d({values:e,typeName:Te.ZodEnum},p(t)))}le.create=(e,t)=>new le(d({value:e,typeName:Te.ZodLiteral},p(t)));class he extends g{_parse(e){if("string"!=typeof e.data){const t=this._getOrReturnCtx(e),r=this._def.values;return(0,u.zn)(t,{expected:c.ZS.joinValues(r),received:t.parsedType,code:s.eq.invalid_type}),u.uY}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(e.data)){const t=this._getOrReturnCtx(e),r=this._def.values;return(0,u.zn)(t,{received:t.data,code:s.eq.invalid_enum_value,options:r}),u.uY}return(0,u.OK)(e.data)}get options(){return this._def.values}get enum(){const e={};for(const t of this._def.values)e[t]=t;return e}get Values(){const e={};for(const t of this._def.values)e[t]=t;return e}get Enum(){const e={};for(const t of this._def.values)e[t]=t;return e}extract(e,t=this._def){return he.create(e,d(d({},this._def),t))}exclude(e,t=this._def){return he.create(this.options.filter((t=>!e.includes(t))),d(d({},this._def),t))}}he.create=de;class fe extends g{_parse(e){const t=c.ZS.getValidEnumValues(this._def.values),r=this._getOrReturnCtx(e);if(r.parsedType!==c.Zp.string&&r.parsedType!==c.Zp.number){const e=c.ZS.objectValues(t);return(0,u.zn)(r,{expected:c.ZS.joinValues(e),received:r.parsedType,code:s.eq.invalid_type}),u.uY}if(this._cache||(this._cache=new Set(c.ZS.getValidEnumValues(this._def.values))),!this._cache.has(e.data)){const e=c.ZS.objectValues(t);return(0,u.zn)(r,{received:r.data,code:s.eq.invalid_enum_value,options:e}),u.uY}return(0,u.OK)(e.data)}get enum(){return this._def.values}}fe.create=(e,t)=>new fe(d({values:e,typeName:Te.ZodNativeEnum},p(t)));class pe extends g{unwrap(){return this._def.type}_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==c.Zp.promise&&!1===t.common.async)return(0,u.zn)(t,{code:s.eq.invalid_type,expected:c.Zp.promise,received:t.parsedType}),u.uY;const r=t.parsedType===c.Zp.promise?t.data:Promise.resolve(t.data);return(0,u.OK)(r.then((e=>this._def.type.parseAsync(e,{path:t.path,errorMap:t.common.contextualErrorMap}))))}}pe.create=(e,t)=>new pe(d({type:e,typeName:Te.ZodPromise},p(t)));class ge extends g{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===Te.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){var t=this;const{status:r,ctx:n}=this._processInputParams(e),i=this._def.effect||null,s={addIssue:e=>{(0,u.zn)(n,e),e.fatal?r.abort():r.dirty()},get path(){return n.path}};if(s.addIssue=s.addIssue.bind(s),"preprocess"===i.type){const e=i.transform(n.data,s);if(n.common.async)return Promise.resolve(e).then((async function(e){if("aborted"===r.value)return u.uY;const i=await t._def.schema._parseAsync({data:e,path:n.path,parent:n});return"aborted"===i.status?u.uY:"dirty"===i.status||"dirty"===r.value?(0,u.jm)(i.value):i}));{if("aborted"===r.value)return u.uY;const t=this._def.schema._parseSync({data:e,path:n.path,parent:n});return"aborted"===t.status?u.uY:"dirty"===t.status||"dirty"===r.value?(0,u.jm)(t.value):t}}if("refinement"===i.type){const e=e=>{const t=i.refinement(e,s);if(n.common.async)return Promise.resolve(t);if(t instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return e};if(!1===n.common.async){const t=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});return"aborted"===t.status?u.uY:("dirty"===t.status&&r.dirty(),e(t.value),{status:r.value,value:t.value})}return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then((t=>"aborted"===t.status?u.uY:("dirty"===t.status&&r.dirty(),e(t.value).then((()=>({status:r.value,value:t.value}))))))}if("transform"===i.type){if(!1===n.common.async){const e=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});if(!(0,u.fn)(e))return u.uY;const t=i.transform(e.value,s);if(t instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:r.value,value:t}}return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then((e=>(0,u.fn)(e)?Promise.resolve(i.transform(e.value,s)).then((e=>({status:r.value,value:e}))):u.uY))}c.ZS.assertNever(i)}}ge.create=(e,t,r)=>new ge(d({schema:e,typeName:Te.ZodEffects,effect:t},p(r))),ge.createWithPreprocess=(e,t,r)=>new ge(d({schema:t,effect:{type:"preprocess",transform:e},typeName:Te.ZodEffects},p(r)));class me extends g{_parse(e){return this._getType(e)===c.Zp.undefined?(0,u.OK)(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}me.create=(e,t)=>new me(d({innerType:e,typeName:Te.ZodOptional},p(t)));class ve extends g{_parse(e){return this._getType(e)===c.Zp.null?(0,u.OK)(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}ve.create=(e,t)=>new ve(d({innerType:e,typeName:Te.ZodNullable},p(t)));class ye extends g{_parse(e){const{ctx:t}=this._processInputParams(e);let r=t.data;return t.parsedType===c.Zp.undefined&&(r=this._def.defaultValue()),this._def.innerType._parse({data:r,path:t.path,parent:t})}removeDefault(){return this._def.innerType}}ye.create=(e,t)=>new ye(d({innerType:e,typeName:Te.ZodDefault,defaultValue:"function"==typeof t.default?t.default:()=>t.default},p(t)));class Ee extends g{_parse(e){const{ctx:t}=this._processInputParams(e),r=d(d({},t),{},{common:d(d({},t.common),{},{issues:[]})}),n=this._def.innerType._parse({data:r.data,path:r.path,parent:d({},r)});return(0,u.xP)(n)?n.then((e=>({status:"valid",value:"valid"===e.status?e.value:this._def.catchValue({get error(){return new s.G(r.common.issues)},input:r.data})}))):{status:"valid",value:"valid"===n.status?n.value:this._def.catchValue({get error(){return new s.G(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}}Ee.create=(e,t)=>new Ee(d({innerType:e,typeName:Te.ZodCatch,catchValue:"function"==typeof t.catch?t.catch:()=>t.catch},p(t)));class be extends g{_parse(e){if(this._getType(e)!==c.Zp.nan){const t=this._getOrReturnCtx(e);return(0,u.zn)(t,{code:s.eq.invalid_type,expected:c.Zp.nan,received:t.parsedType}),u.uY}return{status:"valid",value:e.data}}}be.create=e=>new be(d({typeName:Te.ZodNaN},p(e)));const _e=Symbol("zod_brand");class Se extends g{_parse(e){const{ctx:t}=this._processInputParams(e),r=t.data;return this._def.type._parse({data:r,path:t.path,parent:t})}unwrap(){return this._def.type}}class Oe extends g{_parse(e){var t=this;const{status:r,ctx:n}=this._processInputParams(e);if(n.common.async){return async function(){const e=await t._def.in._parseAsync({data:n.data,path:n.path,parent:n});return"aborted"===e.status?u.uY:"dirty"===e.status?(r.dirty(),(0,u.jm)(e.value)):t._def.out._parseAsync({data:e.value,path:n.path,parent:n})}()}{const e=this._def.in._parseSync({data:n.data,path:n.path,parent:n});return"aborted"===e.status?u.uY:"dirty"===e.status?(r.dirty(),{status:"dirty",value:e.value}):this._def.out._parseSync({data:e.value,path:n.path,parent:n})}}static create(e,t){return new Oe({in:e,out:t,typeName:Te.ZodPipeline})}}class Ae extends g{_parse(e){const t=this._def.innerType._parse(e),r=e=>((0,u.fn)(e)&&(e.value=Object.freeze(e.value)),e);return(0,u.xP)(t)?t.then((e=>r(e))):r(t)}unwrap(){return this._def.innerType}}function we(e,t){const r="function"==typeof e?e(t):"string"==typeof e?{message:e}:e;return"string"==typeof r?{message:r}:r}function Ce(e,t={},r){return e?q.create().superRefine(((n,i)=>{const s=e(n);if(s instanceof Promise)return s.then((e=>{if(!e){var s,a;const e=we(t,n),o=null===(s=null!==(a=e.fatal)&&void 0!==a?a:r)||void 0===s||s;i.addIssue(d(d({code:"custom"},e),{},{fatal:o}))}}));if(!s){var a,o;const e=we(t,n),s=null===(a=null!==(o=e.fatal)&&void 0!==o?o:r)||void 0===a||a;i.addIssue(d(d({code:"custom"},e),{},{fatal:s}))}})):q.create()}Ae.create=(e,t)=>new Ae(d({innerType:e,typeName:Te.ZodReadonly},p(t)));const Ie={object:Q.lazycreate};var Te;!function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"}(Te||(Te={}));const Ne=(e,t={message:`Input not instance of ${e.name}`})=>Ce((t=>t instanceof e),t),Re=k.create,Pe=$.create,Le=be.create,je=U.create,xe=V.create,De=B.create,Me=Z.create,ke=K.create,Fe=z.create,$e=q.create,Ue=G.create,Ve=Y.create,Be=H.create,Ze=W.create,Ke=Q.create,ze=Q.strictCreate,qe=X.create,Ge=te.create,Ye=ne.create,He=ie.create,We=se.create,Je=ae.create,Qe=oe.create,Xe=ue.create,et=ce.create,tt=le.create,rt=he.create,nt=fe.create,it=pe.create,st=ge.create,at=me.create,ot=ve.create,ut=ge.createWithPreprocess,ct=Oe.create,lt=()=>Re().optional(),dt=()=>Pe().optional(),ht=()=>xe().optional(),ft={string:e=>k.create(d(d({},e),{},{coerce:!0})),number:e=>$.create(d(d({},e),{},{coerce:!0})),boolean:e=>V.create(d(d({},e),{},{coerce:!0})),bigint:e=>U.create(d(d({},e),{},{coerce:!0})),date:e=>B.create(d(d({},e),{},{coerce:!0}))},pt=u.uY},841461:e=>{"use strict";e.exports=JSON.parse('{"name":"@eppo/js-client-sdk-common","version":"4.14.4","description":"Common library for Eppo JavaScript SDKs (web, react native, and node)","main":"dist/index.js","files":["/dist","/src","!*.spec.ts"],"types":"./dist/index.d.ts","engines":{"node":">=18.x"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"lint":"eslint \'**/*.{ts,tsx}\' --cache","lint:fix":"eslint --fix \'**/*.{ts,tsx}\' --cache","lint:fix-pre-commit":"eslint -c .eslintrc.pre-commit.js --fix \'**/*.{ts,tsx}\' --no-eslintrc --cache","prepare":"make prepare","pre-commit":"lint-staged && tsc","typecheck":"tsc","test":"yarn test:unit","test:unit":"NODE_ENV=test jest \'.*\\\\.spec\\\\.ts\'","obfuscate-mock-ufc":"ts-node test/writeObfuscatedMockUFC"},"jsdelivr":"dist/eppo-sdk.js","repository":{"type":"git","url":"git+https://github.com/Eppo-exp/js-client-sdk-common.git"},"author":"","license":"MIT","bugs":{"url":"https://github.com/Eppo-exp/js-client-sdk-common/issues"},"homepage":"https://github.com/Eppo-exp/js-client-sdk-common#readme","devDependencies":{"@types/jest":"^29.5.11","@types/js-base64":"^3.3.1","@types/lodash":"^4.17.5","@types/semver":"^7.5.6","@types/spark-md5":"^3.0.5","@types/uuid":"^10.0.0","@typescript-eslint/eslint-plugin":"^5.13.0","@typescript-eslint/parser":"^5.13.0","eslint":"^8.17.0","eslint-config-prettier":"^10.0.1","eslint-import-resolver-typescript":"^3.7.0","eslint-plugin-import":"^2.25.4","eslint-plugin-prettier":"5.2.3","eslint-plugin-promise":"^7.2.1","eslint-plugin-unused-imports":"^4.1.4","jest":"^29.7.0","jest-environment-jsdom":"^29.7.0","lodash":"^4.17.21","prettier":"^3.4.2","prettier-eslint":"^16.3.0","terser-webpack-plugin":"^5.3.3","testdouble":"^3.20.1","ts-jest":"^29.1.1","ts-loader":"^9.3.1","ts-node":"^10.9.1","typescript":"^5.7.2","webpack":"^5.73.0","webpack-cli":"^6.0.1"},"dependencies":{"buffer":"npm:@eppo/buffer@6.2.0","js-base64":"^3.7.7","pino":"^9.5.0","semver":"^7.5.4","spark-md5":"^3.0.2","uuid":"^11.0.5"},"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"}')},670299:e=>{"use strict";e.exports=JSON.parse('{"name":"@eppo/js-client-sdk","version":"3.14.1","description":"Eppo SDK for client-side JavaScript applications","main":"dist/index.js","files":["/dist","/src","!*.spec.ts"],"types":"dist/index.d.ts","scripts":{"lint":"eslint \'**/*.ts\' --cache","lint:fix":"eslint --fix \'**/*.ts\' --cache","lint:fix-pre-commit":"eslint -c .eslintrc.pre-commit.js --fix \'**/*.ts\' --no-eslintrc --cache","prepare":"make prepare","pre-commit":"lint-staged && tsc && yarn docs","typecheck":"tsc","test":"yarn test:unit","test:unit":"NODE_ENV=test jest \'.*\\\\.spec\\\\.ts\'","docs":"api-documenter markdown -i ./temp -o ./docs"},"jsdelivr":"dist/eppo-sdk.js","repository":{"type":"git","url":"git+https://github.com/Eppo-exp/js-client-sdk.git"},"author":"","license":"MIT","bugs":{"url":"https://github.com/Eppo-exp/js-client-sdk/issues"},"homepage":"https://github.com/Eppo-exp/js-client-sdk#readme","devDependencies":{"@microsoft/api-documenter":"^7.26.3","@microsoft/api-extractor":"^7.48.1","@types/chrome":"^0.0.268","@types/jest":"^29.5.11","@types/spark-md5":"^3.0.5","@typescript-eslint/eslint-plugin":"^5.13.0","@typescript-eslint/parser":"^5.13.0","eslint":"^8.17.0","eslint-config-prettier":"^10.1.1","eslint-import-resolver-typescript":"^3.6.3","eslint-plugin-import":"^2.25.4","eslint-plugin-prettier":"^5.2.1","eslint-plugin-promise":"^7.2.1","husky":"^9.1.7","jest":"^29.7.0","jest-environment-jsdom":"^29.7.0","lint-staged":"^15.4.1","prettier":"^3.4.2","terser-webpack-plugin":"^5.3.3","testdouble":"^3.20.2","ts-jest":"^29.1.1","ts-loader":"^9.3.1","ts-node":"^10.9.2","typescript":"^4.7.4","webpack":"^5.73.0","webpack-cli":"^6.0.1"},"dependencies":{"@eppo/js-client-sdk-common":"4.14.4"},"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"}')}}]);

Output:
!function() {
	try {
		var var1 = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof self ? self : {}, stack = new var1.Error().stack;
		stack && (var1._sentryDebugIds = var1._sentryDebugIds || {}, var1._sentryDebugIds[stack] = "1dade642-3b4c-46cd-b18e-7f950e1dc309", var1._sentryDebugIdIdentifier = "sentry-dbid-1dade642-3b4c-46cd-b18e-7f950e1dc309");
	} catch (error) {}
}();
(function() {
	try {
		var var2 = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof self ? self : {}, stack1 = new var2.Error().stack;
		stack1 && (var2._sentryDebugIds = var2._sentryDebugIds || {}, var2._sentryDebugIds[stack1] = "1dade642-3b4c-46cd-b18e-7f950e1dc309", var2._sentryDebugIdIdentifier = "sentry-dbid-1dade642-3b4c-46cd-b18e-7f950e1dc309");
	} catch (error1) {}
})();
(function() {
	try {
		var var3 = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof self ? self : {}, stack2 = new var3.Error().stack;
		stack2 && (var3._sentryDebugIds = var3._sentryDebugIds || {}, var3._sentryDebugIds[stack2] = "1dade642-3b4c-46cd-b18e-7f950e1dc309", var3._sentryDebugIdIdentifier = "sentry-dbid-1dade642-3b4c-46cd-b18e-7f950e1dc309");
	} catch (error2) {}
})();
(self.webpackChunktwitch_twilight = self.webpackChunktwitch_twilight || []).push([[54324], {
	67043: (var4, assignmentCacheFactory, var5) => {
		"use strict";
		Object.defineProperty(assignmentCacheFactory, "__esModule", { value: true });
		assignmentCacheFactory.assignmentCacheFactory = undefined;
		const hasWindowLocalStorage = var5(821552), default1 = var5(382415), default2 = var5(954035), LocalStorageAssignmentCache = var5(171726), default3 = var5(541479);
		assignmentCacheFactory.assignmentCacheFactory = function({ forceMemoryOnly: var6 = false, chromeStorage: var7, storageKeySuffix: var8 }) {
			const obj = new default3.default();
			if (var6) return obj;
			if (var7) {
				const obj1 = new default1.default(var7);
				return new default2.default(obj, obj1);
			}
			if ((0, hasWindowLocalStorage.hasWindowLocalStorage)()) {
				const obj2 = new LocalStorageAssignmentCache.LocalStorageAssignmentCache(var8);
				return new default2.default(obj, obj2);
			}
			return obj;
		};
	},
	382415: (var9, default4, var10) => {
		"use strict";
		Object.defineProperty(default4, "__esModule", { value: true });
		const var11 = var10(123231), default5 = var10(330802);
		default4.default = class {
			constructor(var12) {
				this.storage = new default5.default(var12);
			}
			set(var13) {
				this.storage.set((0, var11.assignmentCacheKeyToString)(var13), (0, var11.assignmentCacheValueToString)(var13));
			}
			has(var14) {
				throw new Error("This should never be called for ChromeStorageAssignmentCache, use getEntries() instead.");
			}
			async getEntries() {
				const var15 = await this.storage.entries();
				return Object.entries(var15).map((([var16, var17]) => [var16, var17]));
			}
		};
	},
	330802: (var18, default6) => {
		"use strict";
		Object.defineProperty(default6, "__esModule", { value: true });
		default6.default = class {
			constructor(var19) {
				this.storage = var19;
			}
			async has(var20) {
				return !!await this.get(var20);
			}
			async get(var21) {
				var var22;
				const var23 = await this.storage.get(var21);
				return null !== (var22 = null == var23 ? undefined : var23[var21]) && undefined !== var22 ? var22 : undefined;
			}
			async entries() {
				return await this.storage.get(null);
			}
			async set(var24, var25) {
				await this.storage.set({ [var24]: var25 });
			}
		};
	},
	954035: (var26, default7) => {
		"use strict";
		Object.defineProperty(default7, "__esModule", { value: true });
		default7.default = class {
			constructor(var27, var28) {
				this.servingStore = var27;
				this.persistentStore = var28;
			}
			async init() {
				const var29 = await this.persistentStore.getEntries();
				var29 && this.servingStore.setEntries(var29);
			}
			set(var30) {
				this.servingStore.set(var30);
				this.persistentStore.set(var30);
			}
			has(var31) {
				return this.servingStore.has(var31);
			}
		};
	},
	171726: (var32, LocalStorageAssignmentCache1, var33) => {
		"use strict";
		Object.defineProperty(LocalStorageAssignmentCache1, "__esModule", { value: true });
		LocalStorageAssignmentCache1.LocalStorageAssignmentCache = undefined;
		const AbstractAssignmentCache = var33(123231), LocalStorageAssignmentShim = var33(100135);
		class fn83 extends AbstractAssignmentCache.AbstractAssignmentCache {
			constructor(var34) {
				super(new LocalStorageAssignmentShim.LocalStorageAssignmentShim(var34));
			}
			setEntries(list) {
				list.forEach((([var35, var36]) => {
					var35 && var36 && this.delegate.set(var35, var36);
				}));
			}
			getEntries() {
				return Promise.resolve(Array.from(this.entries()));
			}
		}
		LocalStorageAssignmentCache1.LocalStorageAssignmentCache = fn83;
	},
	100135: (var37, LocalStorageAssignmentShim1, var38) => {
		"use strict";
		var var39;
		Object.defineProperty(LocalStorageAssignmentShim1, "__esModule", { value: true });
		LocalStorageAssignmentShim1.LocalStorageAssignmentShim = undefined;
		const hasWindowLocalStorage1 = var38(821552);
		class fn1 {
			constructor(var40) {
				if (this.size = this.getCache().size, this[var39] = this.getCache()[Symbol.toStringTag], !(0, hasWindowLocalStorage1.hasWindowLocalStorage)()) throw new Error("LocalStorage is not available");
				this.localStorageKey = `eppo-assignment${var40 ? `-${var40}` : ""}`;
			}
			clear() {
				this.getCache().clear();
			}
			delete(var41) {
				return this.getCache().delete(var41);
			}
			forEach(var42, var43) {
				this.getCache().forEach(var42, var43);
			}
			entries() {
				return this.getCache().entries();
			}
			keys() {
				return this.getCache().keys();
			}
			values() {
				return this.getCache().values();
			}
			[Symbol.iterator]() {
				return this.getCache()[Symbol.iterator]();
			}
			has(var44) {
				return this.getCache().has(var44);
			}
			get(var45) {
				var var46;
				return null !== (var46 = this.getCache().get(var45)) && undefined !== var46 ? var46 : undefined;
			}
			set(var47, var48) {
				return this.setCache(this.getCache().set(var47, var48));
			}
			getCache() {
				const item = window.localStorage.getItem(this.localStorageKey);
				return item ? new Map(JSON.parse(item)) : new Map();
			}
			setCache(entries) {
				window.localStorage.setItem(this.localStorageKey, JSON.stringify(Array.from(entries.entries())));
				return this;
			}
		}
		LocalStorageAssignmentShim1.LocalStorageAssignmentShim = fn1;
		var39 = Symbol.toStringTag;
	},
	541479: (var49, default8, var50) => {
		"use strict";
		Object.defineProperty(default8, "__esModule", { value: true });
		const NonExpiringInMemoryAssignmentCache = var50(123231);
		default8.default = class {
			constructor() {
				this.store = new Map();
				this.cache = new NonExpiringInMemoryAssignmentCache.NonExpiringInMemoryAssignmentCache(this.store);
			}
			set(var51) {
				this.cache.set(var51);
			}
			has(var52) {
				return this.cache.has(var52);
			}
			setEntries(list1) {
				const { store: set1 } = this;
				list1.forEach((([var53, var54]) => set1.set(var53, var54)));
			}
			getEntries() {
				return Promise.resolve(Array.from(this.cache.entries()));
			}
		};
	},
	806814: (var55, ChromeStorageEngine, var56) => {
		"use strict";
		Object.defineProperty(ChromeStorageEngine, "__esModule", { value: true });
		ChromeStorageEngine.ChromeStorageEngine = undefined;
		const var57 = var56(554406);
		ChromeStorageEngine.ChromeStorageEngine = class {
			constructor(var58, var59) {
				this.storageMap = var58;
				this.getContentsJsonString = async () => {
					const var60 = await this.storageMap.get(this.contentsKey);
					return null != var60 ? var60 : null;
				};
				this.getMetaJsonString = async () => {
					const var61 = await this.storageMap.get(this.metaKey);
					return null != var61 ? var61 : null;
				};
				this.setContentsJsonString = async (var62) => {
					await this.storageMap.set(this.contentsKey, var62);
				};
				this.setMetaJsonString = async (var63) => {
					await this.storageMap.set(this.metaKey, var63);
				};
				const var64 = var59 ? `-${var59}` : "";
				this.contentsKey = var57.CONFIGURATION_KEY + var64;
				this.metaKey = var57.META_KEY + var64;
			}
		};
	},
	883983: (var65, var66) => {
		"use strict";
		Object.defineProperty(var66, "__esModule", { value: true });
		var66.ConfigSource = var66.ConfigLoaderStatus = undefined;
		(function(var67) {
			var67[var67.FAILED = 0] = "FAILED";
			var67[var67.DID_NOT_PRODUCE = 1] = "DID_NOT_PRODUCE";
			var67[var67.COMPLETED = 2] = "COMPLETED";
		})(var66.ConfigLoaderStatus || (var66.ConfigLoaderStatus = {}));
		(function(var68) {
			var68[var68.CONFIG_STORE = 0] = "CONFIG_STORE";
			var68[var68.FETCH = 1] = "FETCH";
			var68[var68.NONE = 2] = "NONE";
		})(var66.ConfigSource || (var66.ConfigSource = {}));
	},
	821552: (var69, var70, var71) => {
		"use strict";
		Object.defineProperty(var70, "__esModule", { value: true });
		var70.localStorageIfAvailable = var70.hasWindowLocalStorage = var70.chromeStorageIfAvailable = var70.hasChromeStorage = var70.overrideStorageFactory = var70.configurationStorageFactory = var70.precomputedBanditStoreFactory = var70.precomputedFlagsStorageFactory = undefined;
		const var72 = var71(123231), default9 = var71(330802), ChromeStorageEngine1 = var71(806814), IsolatableHybridConfigurationStore = var71(772557), LocalStorageEngine = var71(137309), OVERRIDES_KEY = var71(554406), StringValuedAsyncStore = var71(297029);
		function and() {
			return "undefined" != typeof chrome && !!chrome.storage;
		}
		function fn2() {
			try {
				return "undefined" != typeof window && !!window.localStorage;
			} catch (error3) {
				return false;
			}
		}
		var70.precomputedFlagsStorageFactory = function() {
			return new var72.MemoryOnlyConfigurationStore();
		};
		var70.precomputedBanditStoreFactory = function() {
			return new var72.MemoryOnlyConfigurationStore();
		};
		var70.configurationStorageFactory = function({ maxAgeSeconds: var73 = 0, servingStoreUpdateStrategy: var74 = "always", hasChromeStorage: var75 = false, hasWindowLocalStorage: var76 = false, persistentStore: var77, forceMemoryOnly: var78 = false }, { chromeStorage: var79, windowLocalStorage: var80, storageKeySuffix: var81 } = {}) {
			if (var78) return new var72.MemoryOnlyConfigurationStore();
			if (var77) return new IsolatableHybridConfigurationStore.IsolatableHybridConfigurationStore(new var72.MemoryStore(), var77, var74);
			if (var75 && var79) {
				const obj3 = new ChromeStorageEngine1.ChromeStorageEngine(new default9.default(var79), null != var81 ? var81 : "");
				return new IsolatableHybridConfigurationStore.IsolatableHybridConfigurationStore(new var72.MemoryStore(), new StringValuedAsyncStore.StringValuedAsyncStore(obj3, var73), var74);
			}
			if (var76 && var80) {
				const obj4 = new LocalStorageEngine.LocalStorageEngine(var80, null != var81 ? var81 : "");
				return new IsolatableHybridConfigurationStore.IsolatableHybridConfigurationStore(new var72.MemoryStore(), new StringValuedAsyncStore.StringValuedAsyncStore(obj4, var73), var74);
			}
			return new var72.MemoryOnlyConfigurationStore();
		};
		var70.overrideStorageFactory = function({ hasWindowLocalStorage: var82 = false, forceMemoryOnly: var83 = false }, { windowLocalStorage: getItem, storageKey: var84 = OVERRIDES_KEY.OVERRIDES_KEY } = {}) {
			const obj5 = new var72.MemoryStore();
			if (!var83 && var82 && getItem) {
				const item1 = getItem.getItem(var84);
				if (item1) {
					const parsed = JSON.parse(item1);
					obj5.setEntries(parsed);
				}
			}
			return obj5;
		};
		var70.hasChromeStorage = and;
		var70.chromeStorageIfAvailable = function() {
			return and() ? chrome.storage.local : undefined;
		};
		var70.hasWindowLocalStorage = fn2;
		var70.localStorageIfAvailable = function() {
			return fn2() ? window.localStorage : undefined;
		};
	},
	851684: (var85, default10) => {
		"use strict";
		Object.defineProperty(default10, "__esModule", { value: true });
		default10.default = class {
			constructor() {
				if (this.listeners = [], this.debounceTimer = null, "undefined" == typeof window) throw new Error("BrowserNetworkStatusListener can only be used in a browser environment");
				this._isOffline = "boolean" == typeof navigator.onLine && !navigator.onLine;
				window.addEventListener("offline", (() => this.notifyListeners(true)));
				window.addEventListener("online", (() => this.notifyListeners(false)));
			}
			isOffline() {
				return this._isOffline;
			}
			onNetworkStatusChange(var86) {
				this.listeners.push(var86);
			}
			removeNetworkStatusChange(var87) {
				const var88 = this.listeners.indexOf(var87);
				-1 !== var88 && this.listeners.splice(var88, 1);
			}
			notifyListeners(var89) {
				this.debounceTimer && clearTimeout(this.debounceTimer);
				this.debounceTimer = setTimeout((() => {
					this._isOffline = var89;
					[...this.listeners].forEach(((item2) => item2(var89)));
				}), 200);
			}
		};
	},
	30136: (var90, default11, var91) => {
		"use strict";
		Object.defineProperty(default11, "__esModule", { value: true });
		const applicationLogger = var91(123231), takeWhile = var91(359721);
		class fn3 {
			constructor(var92) {
				this.name = var92;
				this.eventKeys = [];
				this.localStorageKey = `eventQueue:${this.name}`;
				this.loadStateFromLocalStorage();
			}
			splice(var93) {
				const var94 = Array.from({ length: var93 }, (() => this.shift()));
				return (0, takeWhile.takeWhile)(var94, ((var95) => undefined !== var95));
			}
			isEmpty() {
				return 0 === this.length;
			}
			get length() {
				return this.eventKeys.length;
			}
			push(var96) {
				const var97 = this.generateEventKey(var96);
				localStorage.setItem(var97, JSON.stringify(var96));
				this.eventKeys.push(var97);
				this.saveStateToLocalStorage();
			}
			*[Symbol.iterator]() {
				for (const var98 of this.eventKeys) {
					const item3 = localStorage.getItem(var98);
					item3 && (yield JSON.parse(item3));
				}
			}
			shift() {
				if (0 === this.eventKeys.length) return;
				const var99 = this.eventKeys.shift();
				if (!var99) throw new Error("Unexpected undefined event key");
				const item4 = localStorage.getItem(var99);
				return item4 ? (localStorage.removeItem(var99), this.saveStateToLocalStorage(), JSON.parse(item4)) : undefined;
			}
			loadStateFromLocalStorage() {
				const item5 = localStorage.getItem(this.localStorageKey);
				if (item5) try {
					this.eventKeys = JSON.parse(item5);
				} catch (error4) {
					applicationLogger.applicationLogger.error(`Failed to parse event queue ${this.name} state. Initializing empty queue.`);
					this.eventKeys = [];
				}
			}
			saveStateToLocalStorage() {
				localStorage.setItem(this.localStorageKey, JSON.stringify(this.eventKeys));
			}
			generateEventKey(var100) {
				return `eventQueue:${this.name}:${this.hashEvent(var100)}`;
			}
			hashEvent(var101) {
				const json = JSON.stringify(var101);
				let num = 0;
				for (let index = 0; index < json.length; index++) {
					num = (num << 5) - num + json.charCodeAt(index);
					num |= 0;
				}
				return num.toString(36);
			}
		}
		default11.default = fn3;
	},
	631265: (var102, var103, var104) => {
		"use strict";
		var103.ge = var103.LR = undefined;
		const var105 = var104(123231), assignmentCacheFactory1 = var104(67043), default12 = var104(954035), var106 = var104(883983), var107 = var104(821552), default13 = var104(851684), default14 = var104(30136), var108 = var104(573142);
		var var109 = var104(123231);
		var var110 = var104(806814);
		const var111 = (0, var107.configurationStorageFactory)({ forceMemoryOnly: true }), var112 = (0, var107.precomputedFlagsStorageFactory)(), var113 = (0, var107.precomputedBanditStoreFactory)();
		var103.LR = {
			attachContext: () => {},
			dispatch: () => {}
		};
		class fn4 extends var105.EppoClient {
			constructor() {
				super(...arguments);
				this.initialized = false;
			}
			getStringAssignment(var114, var115, var116, var117) {
				this.ensureInitialized();
				return super.getStringAssignment(var114, var115, var116, var117);
			}
			getStringAssignmentDetails(var118, var119, var120, var121) {
				this.ensureInitialized();
				return super.getStringAssignmentDetails(var118, var119, var120, var121);
			}
			getBoolAssignment(var122, var123, var124, var125) {
				return this.getBooleanAssignment(var122, var123, var124, var125);
			}
			getBooleanAssignment(var126, var127, var128, var129) {
				this.ensureInitialized();
				return super.getBooleanAssignment(var126, var127, var128, var129);
			}
			getBooleanAssignmentDetails(var130, var131, var132, var133) {
				this.ensureInitialized();
				return super.getBooleanAssignmentDetails(var130, var131, var132, var133);
			}
			getIntegerAssignment(var134, var135, var136, var137) {
				this.ensureInitialized();
				return super.getIntegerAssignment(var134, var135, var136, var137);
			}
			getIntegerAssignmentDetails(var138, var139, var140, var141) {
				this.ensureInitialized();
				return super.getIntegerAssignmentDetails(var138, var139, var140, var141);
			}
			getNumericAssignment(var142, var143, var144, var145) {
				this.ensureInitialized();
				return super.getNumericAssignment(var142, var143, var144, var145);
			}
			getNumericAssignmentDetails(var146, var147, var148, var149) {
				this.ensureInitialized();
				return super.getNumericAssignmentDetails(var146, var147, var148, var149);
			}
			getJSONAssignment(var150, var151, var152, var153) {
				this.ensureInitialized();
				return super.getJSONAssignment(var150, var151, var152, var153);
			}
			getJSONAssignmentDetails(var154, var155, var156, var157) {
				this.ensureInitialized();
				return super.getJSONAssignmentDetails(var154, var155, var156, var157);
			}
			getBanditAction(var158, var159, var160, var161, var162) {
				this.ensureInitialized();
				return super.getBanditAction(var158, var159, var160, var161, var162);
			}
			getBanditActionDetails(var163, var164, var165, var166, var167) {
				this.ensureInitialized();
				return super.getBanditActionDetails(var163, var164, var165, var166, var167);
			}
			getExperimentContainerEntry(var168, var169, var170) {
				this.ensureInitialized();
				return super.getExperimentContainerEntry(var168, var169, var170);
			}
			ensureInitialized() {
				this.initialized || var105.applicationLogger.warn("Eppo SDK assignment requested before init() completed");
			}
			async init(var171) {
				var var172;
				let var173;
				var105.validation.validateNotBlank(var171.apiKey, "API key required");
				const { apiKey: var174, persistentStore: var175, baseUrl: var176, maxCacheAgeSeconds: var177, updateOnFetch: var178, requestTimeoutMs: var179, numInitialRequestRetries: var180, numPollRequestRetries: var181, pollingIntervalMs: var182, pollAfterSuccessfulInitialization: var183 = false, pollAfterFailedInitialization: var184 = false, skipInitialRequest: var185 = false, eventTracking: var186, enableOverrides: var187 = false } = var171;
				try {
					this.stopPolling();
					this.setAssignmentLogger(var171.assignmentLogger);
					var171.banditLogger && this.setBanditLogger(var171.banditLogger);
					const var188 = call(var174), var189 = (0, var107.configurationStorageFactory)({
						maxAgeSeconds: var177,
						servingStoreUpdateStrategy: var178,
						persistentStore: var175,
						hasChromeStorage: (0, var107.hasChromeStorage)(),
						hasWindowLocalStorage: (0, var107.hasWindowLocalStorage)()
					}, {
						chromeStorage: (0, var107.chromeStorageIfAvailable)(),
						windowLocalStorage: (0, var107.localStorageIfAvailable)(),
						storageKeySuffix: var188
					});
					if (var189.setFormat(var105.FormatEnum.CLIENT), this.setFlagConfigurationStore(var189), var187) {
						const var190 = (0, var107.overrideStorageFactory)({ hasWindowLocalStorage: (0, var107.hasWindowLocalStorage)() }, {
							windowLocalStorage: (0, var107.localStorageIfAvailable)(),
							storageKey: var171.overridesStorageKey
						});
						this.setOverrideStore(var190);
					} else this.unsetOverrideStore();
					const init = (0, assignmentCacheFactory1.assignmentCacheFactory)({
						chromeStorage: (0, var107.chromeStorageIfAvailable)(),
						storageKeySuffix: var188
					});
					init instanceof default12.default && await init.init();
					this.useCustomAssignmentCache(init);
					const obj6 = {
						apiKey: var174,
						sdkName: var108.sdkName,
						sdkVersion: var108.sdkVersion,
						baseUrl: var176,
						requestTimeoutMs: var179,
						numInitialRequestRetries: var180,
						numPollRequestRetries: var181,
						pollAfterSuccessfulInitialization: var183,
						pollAfterFailedInitialization: var184,
						pollingIntervalMs: var182,
						throwOnFailedInitialization: true,
						skipInitialPoll: var185
					};
					let var191, var192;
					this.setConfigurationRequestParameters(obj6);
					this.setEventDispatcher(function(var193, var194 = {}) {
						const { batchSize: var195 = 1e3, deliveryIntervalMs: var196 = 1e4, enabled: var197 = false, maxQueueSize: var198 = 1e4, maxRetries: var199 = 3, maxRetryDelayMs: var200 = 3e4, retryIntervalMs: var201 = 5e3 } = var194;
						if (!var197) return var103.LR;
						const obj7 = {
							isOffline: () => false,
							onNetworkStatusChange: () => {}
						};
						return (0, var105.newDefaultEventDispatcher)((0, var107.hasWindowLocalStorage)() ? new default14.default("events") : new var105.BoundedEventQueue("events", [], var198), "undefined" != typeof window ? new default13.default() : obj7, var193, var195, {
							deliveryIntervalMs: var196,
							retryIntervalMs: var201,
							maxRetryDelayMs: var200,
							maxRetries: var199
						});
					}(var174, var186));
					const var203 = var189.init().then((async () => {
						if (!var189.getKeys().length) return var105.applicationLogger.warn("Eppo SDK cached configuration is empty"), var191 = new Error("Configuration store was empty"), var106.ConfigLoaderStatus.DID_NOT_PRODUCE;
						const var204 = await var189.isExpired();
						return var204 && !var171.useExpiredCache ? (var105.applicationLogger.warn("Eppo SDK set not to use expired cached configuration"), var191 = new Error("Configuration store was expired"), var106.ConfigLoaderStatus.DID_NOT_PRODUCE) : (var204 && var171.useExpiredCache && var105.applicationLogger.warn("Eppo SDK config.useExpiredCache is true; using expired cache"), var106.ConfigLoaderStatus.COMPLETED);
					})).catch(((var205) => var105.applicationLogger.warn("Eppo SDK encountered an error initializing from the configuration store", var205))).then(((var206) => ({
						source: var106.ConfigSource.CONFIG_STORE,
						result: var206
					}))), var207 = this.fetchFlagConfigurations().then((() => var189.isInitialized() ? var106.ConfigLoaderStatus.COMPLETED : var106.ConfigLoaderStatus.DID_NOT_PRODUCE)).catch(((var208) => var105.applicationLogger.warn("Eppo SDK encountered an error initializing from fetching", var208))).then(((var209) => ({
						source: var106.ConfigSource.FETCH,
						result: var209
					}))), arr = [var203];
					let var210;
					var171.skipInitialRequest || arr.push(var207);
					const { source: var211, result: var212 } = await Promise.race(arr);
					if (var212 === var106.ConfigLoaderStatus.COMPLETED) var210 = var211;
					else {
						const then = var211 === var106.ConfigSource.FETCH ? var203 : var207;
						var210 = await then.then(((var213) => {
							const { source: var214, result: var215 } = var213;
							return var215 === var106.ConfigLoaderStatus.COMPLETED ? var214 : var106.ConfigSource.NONE;
						}));
					}
					var210 === var106.ConfigSource.NONE && (var173 = var192 || var191 || new Error("Eppo SDK: No configuration source produced a valid configuration"));
					var105.applicationLogger.debug("Initialization source", var210);
				} catch (error5) {
					var173 = error5 instanceof Error ? error5 : new Error(String(error5));
				}
				if (var173 && (var105.applicationLogger.warn("Eppo SDK was unable to initialize with a configuration, assignment calls will return the default value and not be logged" + (var171.pollAfterFailedInitialization ? " until an experiment configuration is successfully retrieved" : "")), null === (var172 = var171.throwOnFailedInitialization) || undefined === var172 || var172)) throw var173;
				this.initialized = true;
				return this;
			}
			offlineInit(var216) {
				var var217, var218, var219;
				const var220 = null !== (var217 = var216.isObfuscated) && undefined !== var217 && var217, var221 = null === (var218 = var216.throwOnFailedInitialization) || undefined === var218 || var218, var222 = null !== (var219 = var216.enableOverrides) && undefined !== var219 && var219;
				try {
					const var223 = (0, var107.configurationStorageFactory)({ forceMemoryOnly: true });
					if (var223.setFormat(var220 ? var105.FormatEnum.CLIENT : var105.FormatEnum.SERVER), var223.setEntries(var216.flagsConfiguration).catch(((var224) => var105.applicationLogger.warn("Error setting flags for memory-only configuration store", var224))), this.setFlagConfigurationStore(var223), var222) {
						const var225 = (0, var107.overrideStorageFactory)({ hasWindowLocalStorage: (0, var107.hasWindowLocalStorage)() }, {
							windowLocalStorage: (0, var107.localStorageIfAvailable)(),
							storageKey: var216.overridesStorageKey
						});
						this.setOverrideStore(var225);
					} else this.unsetOverrideStore();
					var216.assignmentLogger && this.setAssignmentLogger(var216.assignmentLogger);
					var216.banditLogger && this.setBanditLogger(var216.banditLogger);
					const var226 = (0, assignmentCacheFactory1.assignmentCacheFactory)({
						storageKeySuffix: "offline",
						forceMemoryOnly: true
					});
					this.useCustomAssignmentCache(var226);
				} catch (error6) {
					if (var105.applicationLogger.warn("Eppo SDK encountered an error initializing, assignment calls will return the default value and not be logged"), var221) throw error6;
				}
				this.initialized = true;
			}
		}
		function call(str) {
			return str.replace(/\W/g, "").substring(0, 8);
		}
		fn4.instance = new fn4({ flagConfigurationStore: var111 });
		fn4.initialized = false;
		var103.ge = function(var227) {
			const offlineInit = instance();
			offlineInit.offlineInit(var227);
			fn4.initialized = true;
			return offlineInit;
		};
		function instance() {
			return fn4.instance;
		}
		class fn5 extends var105.EppoPrecomputedClient {
			getStringAssignment(var228, var229) {
				fn5.getAssignmentInitializationCheck();
				return super.getStringAssignment(var228, var229);
			}
			getBooleanAssignment(var230, var231) {
				fn5.getAssignmentInitializationCheck();
				return super.getBooleanAssignment(var230, var231);
			}
			getIntegerAssignment(var232, var233) {
				fn5.getAssignmentInitializationCheck();
				return super.getIntegerAssignment(var232, var233);
			}
			getNumericAssignment(var234, var235) {
				fn5.getAssignmentInitializationCheck();
				return super.getNumericAssignment(var234, var235);
			}
			getJSONAssignment(var236, var237) {
				fn5.getAssignmentInitializationCheck();
				return super.getJSONAssignment(var236, var237);
			}
			getBanditAction(var238, var239) {
				fn5.getAssignmentInitializationCheck();
				return super.getBanditAction(var238, var239);
			}
			static getAssignmentInitializationCheck() {
				fn4.initialized || var105.applicationLogger.warn("Eppo SDK assignment requested before init() completed");
			}
		}
		fn5.instance = new fn5({
			precomputedFlagStore: var112,
			subject: {
				subjectKey: "",
				subjectAttributes: {}
			}
		});
		fn5.initialized = false;
	},
	772557: (var240, IsolatableHybridConfigurationStore1, var241) => {
		"use strict";
		Object.defineProperty(IsolatableHybridConfigurationStore1, "__esModule", { value: true });
		IsolatableHybridConfigurationStore1.IsolatableHybridConfigurationStore = undefined;
		const HybridConfigurationStore = var241(123231);
		class fn6 extends HybridConfigurationStore.HybridConfigurationStore {
			constructor(var242, var243, var244 = "always") {
				super(var242, var243);
				this.servingStoreUpdateStrategy = var244;
			}
			async setEntries(var245) {
				var list2;
				this.persistentStore && await this.persistentStore.setEntries(var245);
				const var246 = !this.persistentStore || await this.persistentStore.isExpired(), var247 = !(null === (list2 = this.servingStore.getKeys()) || undefined === list2 ? undefined : list2.length), var248 = "always" === this.servingStoreUpdateStrategy || var246 && "expired" === this.servingStoreUpdateStrategy || var246 && var247;
				var248 && this.servingStore.setEntries(var245);
				return var248;
			}
		}
		IsolatableHybridConfigurationStore1.IsolatableHybridConfigurationStore = fn6;
	},
	137309: (var249, LocalStorageEngine1, var250) => {
		"use strict";
		Object.defineProperty(LocalStorageEngine1, "__esModule", { value: true });
		LocalStorageEngine1.LocalStorageEngine = undefined;
		const var251 = var250(554406);
		LocalStorageEngine1.LocalStorageEngine = class {
			constructor(var252, var253) {
				this.localStorage = var252;
				this.getContentsJsonString = async () => this.localStorage.getItem(this.contentsKey);
				this.getMetaJsonString = async () => this.localStorage.getItem(this.metaKey);
				this.setContentsJsonString = async (var254) => {
					this.localStorage.setItem(this.contentsKey, var254);
				};
				this.setMetaJsonString = async (var255) => {
					this.localStorage.setItem(this.metaKey, var255);
				};
				const var256 = var253 ? `-${var253}` : "";
				this.contentsKey = var251.CONFIGURATION_KEY + var256;
				this.metaKey = var251.META_KEY + var256;
			}
		};
	},
	573142: (var257, var258, var259) => {
		"use strict";
		Object.defineProperty(var258, "__esModule", { value: true });
		var258.sdkName = var258.sdkVersion = undefined;
		var258.sdkVersion = var259(670299).version;
		var258.sdkName = "js-client-sdk";
	},
	554406: (var260, var261) => {
		"use strict";
		Object.defineProperty(var261, "__esModule", { value: true });
		var261.OVERRIDES_KEY = var261.META_KEY = var261.CONFIGURATION_KEY = undefined;
		var261.CONFIGURATION_KEY = "eppo-configuration";
		var261.META_KEY = "eppo-configuration-meta";
		var261.OVERRIDES_KEY = "eppo-overrides";
	},
	297029: (var262, StringValuedAsyncStore1) => {
		"use strict";
		Object.defineProperty(StringValuedAsyncStore1, "__esModule", { value: true });
		StringValuedAsyncStore1.StringValuedAsyncStore = undefined;
		StringValuedAsyncStore1.StringValuedAsyncStore = class {
			constructor(var263, var264 = 0) {
				this.storageEngine = var263;
				this.cooldownSeconds = var264;
				this.initialized = false;
			}
			isInitialized() {
				return this.initialized;
			}
			async isExpired() {
				if (!this.cooldownSeconds) return true;
				const var265 = await this.storageEngine.getMetaJsonString();
				let flag = true;
				if (var265) {
					const lastUpdatedAtMs = JSON.parse(var265).lastUpdatedAtMs;
					flag = !lastUpdatedAtMs || 0 - lastUpdatedAtMs > 1e3 * this.cooldownSeconds;
				}
				return flag;
			}
			async entries() {
				const var266 = await this.storageEngine.getContentsJsonString();
				return var266 ? JSON.parse(var266) : {};
			}
			async setEntries(var267) {
				await this.storageEngine.setContentsJsonString(JSON.stringify(var267));
				const obj8 = { lastUpdatedAtMs: 0 };
				await this.storageEngine.setMetaJsonString(JSON.stringify(obj8));
				this.initialized = true;
			}
		};
	},
	359721: (var268, takeWhile1) => {
		"use strict";
		Object.defineProperty(takeWhile1, "__esModule", { value: true });
		takeWhile1.takeWhile = undefined;
		takeWhile1.takeWhile = function(var269, var270) {
			const arr1 = [];
			for (const var271 of var269) {
				if (!var270(var271)) break;
				arr1.push(var271);
			}
			return arr1;
		};
	},
	127660: (var272, default15, var273) => {
		"use strict";
		Object.defineProperty(default15, "__esModule", { value: true });
		const var274 = var273(723490);
		default15.default = class {
			constructor(baseUrl) {
				var var275;
				this.params = baseUrl;
				this.params.baseUrl = null !== (var275 = baseUrl.baseUrl) && undefined !== var275 ? var275 : var274.BASE_URL;
			}
			endpoint(var276) {
				const str1 = `${this.params.baseUrl}${var276}`, queryParams = this.params.queryParams;
				if (!queryParams) return str1;
				const obj9 = new URLSearchParams();
				Object.entries(queryParams).forEach((([var277, var278]) => obj9.append(var277, var278)));
				return `${str1}?${obj9}`;
			}
			ufcEndpoint() {
				return this.endpoint(var274.UFC_ENDPOINT);
			}
			banditParametersEndpoint() {
				return this.endpoint(var274.BANDIT_ENDPOINT);
			}
			precomputedFlagsEndpoint() {
				return this.endpoint(var274.PRECOMPUTED_FLAGS_ENDPOINT);
			}
		};
	},
	328902: (var279, var280, var281) => {
		"use strict";
		var var282;
		Object.defineProperty(var280, "__esModule", { value: true });
		var280.logger = var280.loggerPrefix = undefined;
		const default16 = var281(44874);
		var280.loggerPrefix = "[Eppo SDK]";
		var280.logger = (0, default16.default)({
			level: null !== (var282 = {
				API_BASE_URL: undefined,
				CDN_URL: "https://assets.twitch.tv/",
				GQL_BASE_URL: undefined,
				PASSPORT_BASE_URL: undefined,
				INTERPOL_BASE_URL: undefined,
				PUBSUB_ENV: undefined,
				TMI_BASE_URL: undefined,
				MANIFEST_URL: "https://assets.twitch.tv/config/manifest.json?v=1",
				NODE_ENV: "production",
				PLAYER_BASE_URL: "https://player.twitch.tv",
				IS_DEV_BUILD: false,
				IS_STAGING_BUILD: false,
				IS_LOCAL_DEVSERVER: false
			}.LOG_LEVEL) && undefined !== var282 ? var282 : "warn",
			browser: { disabled: true }
		});
	},
	889182: (var283, var284, var285) => {
		"use strict";
		var var286 = var285(443693);
		function fn7(var287, var288) {
			var list3 = Object.keys(var287);
			if (Object.getOwnPropertySymbols) {
				var list4 = Object.getOwnPropertySymbols(var287);
				var288 && (list4 = list4.filter((function(item6) {
					return Object.getOwnPropertyDescriptor(var287, item6).enumerable;
				})));
				list3.push.apply(list3, list4);
			}
			return list3;
		}
		function fn8(var289) {
			for (var index1 = 1; index1 < arguments.length; index1++) {
				var var290 = null != arguments[index1] ? arguments[index1] : {};
				index1 % 2 ? fn7(Object(var290), true).forEach((function(item7) {
					var286(var289, item7, var290[item7]);
				})) : Object.getOwnPropertyDescriptors ? Object.defineProperties(var289, Object.getOwnPropertyDescriptors(var290)) : fn7(Object(var290)).forEach((function(item8) {
					Object.defineProperty(var289, item8, Object.getOwnPropertyDescriptor(var290, item8));
				}));
			}
			return var289;
		}
		function call1(var291) {
			return Boolean("object" == typeof var291 && var291 && "numericAttributes" in var291 && "categoricalAttributes" in var291);
		}
		function fn9(var292) {
			const obj10 = {
				numericAttributes: {},
				categoricalAttributes: {}
			};
			Object.entries(var292).forEach((([var293, var294]) => {
				"number" == typeof var294 ? obj10.numericAttributes[var293] = var294 : obj10.categoricalAttributes[var293] = var294;
			}));
			return obj10;
		}
		Object.defineProperty(var284, "__esModule", { value: true });
		var284.isInstanceOfContextualAttributes = call1;
		var284.ensureNonContextualSubjectAttributes = function(var295) {
			let var296;
			if (call1(var295)) {
				const var297 = var295;
				var296 = fn8(fn8({}, var297.numericAttributes), var297.categoricalAttributes);
			} else var296 = var295;
			return var296;
		};
		var284.ensureContextualSubjectAttributes = function(var298) {
			return call1(var298) ? var298 : fn9(var298);
		};
		var284.deduceAttributeContext = fn9;
		var284.ensureActionsWithContextualAttributes = function(list5) {
			let obj11 = {};
			Array.isArray(list5) ? list5.forEach(((item9) => {
				obj11[item9] = {
					numericAttributes: {},
					categoricalAttributes: {}
				};
			})) : Object.values(list5).every(call1) ? obj11 = list5 : Object.entries(list5).forEach((([var299, var300]) => {
				obj11[var299] = fn9(var300);
			}));
			return obj11;
		};
	},
	30033: (var301, BanditEvaluator, var302) => {
		"use strict";
		Object.defineProperty(BanditEvaluator, "__esModule", { value: true });
		BanditEvaluator.BanditEvaluator = undefined;
		const BANDIT_ASSIGNMENT_SHARDS = var302(723490), MD5Sharder = var302(736055);
		BanditEvaluator.BanditEvaluator = class {
			constructor() {
				this.assignmentShards = BANDIT_ASSIGNMENT_SHARDS.BANDIT_ASSIGNMENT_SHARDS;
				this.sharder = new MD5Sharder.MD5Sharder();
			}
			evaluateBestBanditAction(var303, var304, var305) {
				const { topAction: var306 } = this.getTopScore(this.scoreActions(var303, var304, var305));
				return var306;
			}
			evaluateBandit(var307, var308, var309, var310, var311) {
				const var312 = this.scoreActions(var309, var310, var311), var313 = this.selectAction(var307, var308, this.weighActions(var312, var311.gamma, var311.actionProbabilityFloor)), var314 = Object.values(var312).reduce(((acc, value) => value > acc ? value : acc), -1 / 0) - var312[var313];
				return {
					flagKey: var307,
					subjectKey: var308,
					subjectAttributes: var309,
					actionKey: var313,
					actionAttributes: var310[var313],
					actionScore: var312[var313],
					actionWeight: a[var313],
					gamma: var311.gamma,
					optimalityGap: var314
				};
			}
			scoreActions(var315, var316, var317) {
				const obj12 = {};
				Object.entries(var316).forEach((([var318, var319]) => {
					let defaultActionScore = var317.defaultActionScore;
					const var320 = var317.coefficients[var318];
					var320 && (defaultActionScore = var320.intercept, defaultActionScore += this.scoreNumericAttributes(var320.subjectNumericCoefficients, var315.numericAttributes), defaultActionScore += this.scoreCategoricalAttributes(var320.subjectCategoricalCoefficients, var315.categoricalAttributes), defaultActionScore += this.scoreNumericAttributes(var320.actionNumericCoefficients, var319.numericAttributes), defaultActionScore += this.scoreCategoricalAttributes(var320.actionCategoricalCoefficients, var319.categoricalAttributes));
					obj12[var318] = defaultActionScore;
				}));
				return obj12;
			}
			scoreNumericAttributes(reduce, var321) {
				return reduce.reduce(((acc1, value1) => {
					const var322 = var321[value1.attributeKey];
					"number" == typeof var322 && isFinite(var322) ? acc1 += var322 * value1.coefficient : acc1 += value1.missingValueCoefficient;
					return acc1;
				}), 0);
			}
			scoreCategoricalAttributes(reduce1, var323) {
				return reduce1.reduce(((acc2, value2) => {
					var var324;
					const var325 = null === (var324 = var323[value2.attributeKey]) || undefined === var324 ? undefined : var324.toString(), var326 = var325 && value2.valueCoefficients[var325];
					return acc2 += "number" == typeof var326 ? var326 : value2.missingValueCoefficient;
				}), 0);
			}
			weighActions(var327, var328, var329) {
				const obj13 = {}, list6 = Object.entries(var327);
				if (!list6.length) return obj13;
				const { topScore: var330, topAction: var331 } = this.getTopScore(var327);
				if (null === var330 || null === var331) throw new Error("Unable to find top score");
				const var332 = var330, var333 = var331, length = list6.length, var334 = var329 / length;
				let num1 = 0;
				list6.forEach((([var335, var336]) => {
					if (var335 === var333) return;
					const var337 = Math.max(1 / (length + var328 * (var332 - var336)), var334);
					num1 += var337;
					obj13[var335] = var337;
				}));
				obj13[var333] = Math.max(1 - num1, 0);
				return obj13;
			}
			selectAction(var338, var339, var340) {
				const var341 = Object.entries(var340).sort(((left, right) => {
					let var342 = this.sharder.getShard(`${var338}-${var339}-${left[0]}`, this.assignmentShards) - this.sharder.getShard(`${var338}-${var339}-${right[0]}`, this.assignmentShards);
					0 === var342 && (var342 = left[0] < right[0] ? -1 : 1);
					return var342;
				})), var343 = this.sharder.getShard(`${var338}-${var339}`, this.assignmentShards) / this.assignmentShards;
				let num2 = 0, var344 = null;
				for (const var345 of var341) if (num2 += var345[1], num2 > var343) {
					var344 = var345[0];
					break;
				}
				if (null === var344) throw new Error(`No bandit action selected for flag "${var338}" and subject "${var339}"`);
				return var344;
			}
			getTopScore(var346) {
				let var347 = null, var348 = null;
				Object.entries(var346).forEach((([var349, var350]) => {
					(null === var347 || null === var348 || var350 > var347 || var350 === var347 && var349 < var348) && (var347 = var350, var348 = var349);
				}));
				return {
					topScore: var347,
					topAction: var348
				};
			}
		};
	},
	305397: (var351, var352, var353) => {
		"use strict";
		Object.defineProperty(var352, "__esModule", { value: true });
		var352.AbstractAssignmentCache = undefined;
		var352.assignmentCacheKeyToString = call2;
		var352.assignmentCacheValueToString = call3;
		const getMD5Hash = var353(142060);
		function call2({ subjectKey: var354, flagKey: var355 }) {
			return (0, getMD5Hash.getMD5Hash)([var354, var355].join(";"));
		}
		function call3(var356) {
			return (0, getMD5Hash.getMD5Hash)(Object.values(var356).join(";"));
		}
		var352.AbstractAssignmentCache = class {
			constructor(var357) {
				this.delegate = var357;
			}
			has(var358) {
				return this.get(var358) === call3(var358);
			}
			get(var359) {
				return this.delegate.get(call2(var359));
			}
			set(var360) {
				this.delegate.set(call2(var360), call3(var360));
			}
			entries() {
				return this.delegate.entries();
			}
		};
	},
	158368: (var361, LRUCache) => {
		"use strict";
		Object.defineProperty(LRUCache, "__esModule", { value: true });
		LRUCache.LRUCache = undefined;
		class fn10 {
			constructor(var362) {
				this.capacity = var362;
				this.cache = new Map();
				this.size = this.cache.size;
			}
			[(Symbol.toStringTag, Symbol.iterator)]() {
				return this.cache[Symbol.iterator]();
			}
			forEach(var363, var364) {
				this.cache.forEach(var363, var364);
			}
			entries() {
				return this.cache.entries();
			}
			clear() {
				this.cache.clear();
			}
			delete(var365) {
				return this.cache.delete(var365);
			}
			keys() {
				return this.cache.keys();
			}
			values() {
				return this.cache.values();
			}
			has(var366) {
				return this.cache.has(var366);
			}
			get(var367) {
				if (!this.has(var367)) return;
				const var368 = this.cache.get(var367);
				undefined !== var368 && (this.delete(var367), this.cache.set(var367, var368));
				return var368;
			}
			set(var369, var370) {
				if (0 === this.capacity) return this;
				if (this.cache.has(var369)) this.cache.delete(var369);
				else if (this.cache.size >= this.capacity) {
					const value3 = this.cache.keys().next().value;
					value3 && this.delete(value3);
				}
				this.cache.set(var369, var370);
				return this;
			}
		}
		LRUCache.LRUCache = fn10;
	},
	704814: (var371, LRUInMemoryAssignmentCache, var372) => {
		"use strict";
		Object.defineProperty(LRUInMemoryAssignmentCache, "__esModule", { value: true });
		LRUInMemoryAssignmentCache.LRUInMemoryAssignmentCache = undefined;
		const AbstractAssignmentCache1 = var372(305397), LRUCache1 = var372(158368);
		class fn11 extends AbstractAssignmentCache1.AbstractAssignmentCache {
			constructor(var373) {
				super(new LRUCache1.LRUCache(var373));
			}
		}
		LRUInMemoryAssignmentCache.LRUInMemoryAssignmentCache = fn11;
	},
	358651: (var374, NonExpiringInMemoryAssignmentCache1, var375) => {
		"use strict";
		Object.defineProperty(NonExpiringInMemoryAssignmentCache1, "__esModule", { value: true });
		NonExpiringInMemoryAssignmentCache1.NonExpiringInMemoryAssignmentCache = undefined;
		const AbstractAssignmentCache2 = var375(305397);
		class fn12 extends AbstractAssignmentCache2.AbstractAssignmentCache {
			constructor(var376 = new Map()) {
				super(var376);
			}
		}
		NonExpiringInMemoryAssignmentCache1.NonExpiringInMemoryAssignmentCache = fn12;
	},
	998350: (var377, TLRUCache, var378) => {
		"use strict";
		Object.defineProperty(TLRUCache, "__esModule", { value: true });
		TLRUCache.TLRUCache = undefined;
		const LRUCache2 = var378(158368);
		class fn13 extends LRUCache2.LRUCache {
			constructor(var379, var380) {
				super(var379);
				this.maxSize = var379;
				this.ttl = var380;
				this.cacheEntriesTTLRegistry = new Map();
			}
			getCacheEntryEvictionTime() {
				return new Date(0 + this.ttl);
			}
			clearCacheEntryEvictionTimeIfExists(var381) {
				this.cacheEntriesTTLRegistry.has(var381) && this.cacheEntriesTTLRegistry.delete(var381);
			}
			isCacheEntryValid(var382) {
				const date = new Date(0), var383 = this.cacheEntriesTTLRegistry.get(var382);
				return undefined !== var383 && date < var383;
			}
			setCacheEntryEvictionTime(var384) {
				this.cacheEntriesTTLRegistry.set(var384, this.getCacheEntryEvictionTime());
			}
			resetCacheEntryEvictionTime(var385) {
				this.clearCacheEntryEvictionTimeIfExists(var385);
				this.setCacheEntryEvictionTime(var385);
			}
			evictExpiredCacheEntries() {
				let var386;
				for (var386 of this.cache.keys()) {
					if (this.isCacheEntryValid(var386)) break;
					this.delete(var386);
				}
			}
			entries() {
				this.evictExpiredCacheEntries();
				return super.entries();
			}
			keys() {
				this.evictExpiredCacheEntries();
				return super.keys();
			}
			values() {
				this.evictExpiredCacheEntries();
				return super.values();
			}
			delete(var387) {
				this.clearCacheEntryEvictionTimeIfExists(var387);
				return super.delete(var387);
			}
			has(var388) {
				return this.isCacheEntryValid(var388) ? this.cache.has(var388) : (this.delete(var388), false);
			}
			get(var389) {
				if (!this.isCacheEntryValid(var389)) return void this.delete(var389);
				const var390 = super.get(var389);
				undefined !== var390 && this.resetCacheEntryEvictionTime(var389);
				return var390;
			}
			set(var391, var392) {
				const var393 = super.set(var391, var392);
				this.resetCacheEntryEvictionTime(var391);
				return var393;
			}
		}
		TLRUCache.TLRUCache = fn13;
	},
	655096: (var394, TLRUInMemoryAssignmentCache, var395) => {
		"use strict";
		Object.defineProperty(TLRUInMemoryAssignmentCache, "__esModule", { value: true });
		TLRUInMemoryAssignmentCache.TLRUInMemoryAssignmentCache = undefined;
		const DEFAULT_TLRU_TTL_MS = var395(723490), AbstractAssignmentCache3 = var395(305397), TLRUCache1 = var395(998350);
		class fn14 extends AbstractAssignmentCache3.AbstractAssignmentCache {
			constructor(var396, var397 = DEFAULT_TLRU_TTL_MS.DEFAULT_TLRU_TTL_MS) {
				super(new TLRUCache1.TLRUCache(var396, var397));
			}
		}
		TLRUInMemoryAssignmentCache.TLRUInMemoryAssignmentCache = fn14;
	},
	252635: (var398, var399, var400) => {
		"use strict";
		var var401 = var400(443693);
		function fn15(var402, var403) {
			var list7 = Object.keys(var402);
			if (Object.getOwnPropertySymbols) {
				var list8 = Object.getOwnPropertySymbols(var402);
				var403 && (list8 = list8.filter((function(item10) {
					return Object.getOwnPropertyDescriptor(var402, item10).enumerable;
				})));
				list7.push.apply(list7, list8);
			}
			return list7;
		}
		function fn16(var404) {
			for (var index2 = 1; index2 < arguments.length; index2++) {
				var var405 = null != arguments[index2] ? arguments[index2] : {};
				index2 % 2 ? fn15(Object(var405), true).forEach((function(item11) {
					var401(var404, item11, var405[item11]);
				})) : Object.getOwnPropertyDescriptors ? Object.defineProperties(var404, Object.getOwnPropertyDescriptors(var405)) : fn15(Object(var405)).forEach((function(item12) {
					Object.defineProperty(var404, item12, Object.getOwnPropertyDescriptor(var405, item12));
				}));
			}
			return var404;
		}
		Object.defineProperty(var399, "__esModule", { value: true });
		var399.checkTypeMatch = or1;
		var399.checkValueTypeMatch = function(var406, var407) {
			if (null == var406) return true;
			switch (var406) {
				case VariationType.VariationType.STRING: return "string" == typeof var407;
				case VariationType.VariationType.BOOLEAN: return "boolean" == typeof var407;
				case VariationType.VariationType.INTEGER: return "number" == typeof var407 && Number.isInteger(var407);
				case VariationType.VariationType.NUMERIC: return "number" == typeof var407;
				case VariationType.VariationType.JSON: return "string" == typeof var407;
				default: return false;
			}
		};
		const var408 = var400(611775), default17 = var400(127660), var409 = var400(328902), var410 = var400(889182), BanditEvaluator1 = var400(30033), LRUInMemoryAssignmentCache1 = var400(704814), NonExpiringInMemoryAssignmentCache2 = var400(358651), TLRUInMemoryAssignmentCache1 = var400(655096), default18 = var400(371152), MemoryOnlyConfigurationStore = var400(780952), var411 = var400(738882), var412 = var400(723490), decodeFlag = var400(178898), EppoValue = var400(923481), var413 = var400(742686), BoundedEventQueue = var400(660359), default19 = var400(164503), FlagEvaluationDetailsBuilder = var400(111385), FlagEvaluationError = var400(518963), default20 = var400(833027), StoreBackedConfiguration = var400(271067), VariationType = var400(763483), getMD5Hash1 = var400(142060), OverrideValidator = var400(294364), default21 = var400(348869), shallowClone = var400(63071), validateNotBlank = var400(793252), LIB_VERSION = var400(212911);
		function or1(var414, var415) {
			return undefined === var414 || var415 === var414;
		}
		var399.default = class {
			constructor({ eventDispatcher: var416 = new default19.default(), isObfuscated: var417, flagConfigurationStore: var418, banditVariationConfigurationStore: var419, banditModelConfigurationStore: var420, overrideStore: var421, configurationRequestParameters: var422 }) {
				this.assignmentEventsQueue = new BoundedEventQueue.BoundedEventQueue("assignments");
				this.banditEventsQueue = new BoundedEventQueue.BoundedEventQueue("bandit");
				this.banditEvaluator = new BanditEvaluator1.BanditEvaluator();
				this.isGracefulFailureMode = true;
				this.evaluator = new var413.Evaluator();
				this.overrideValidator = new OverrideValidator.OverrideValidator();
				this.eventDispatcher = var416;
				this.flagConfigurationStore = var418;
				this.banditVariationConfigurationStore = var419;
				this.banditModelConfigurationStore = var420;
				this.overrideStore = var421;
				this.configurationRequestParameters = var422;
				undefined !== var417 && var409.logger.warn("[Eppo SDK] specifying isObfuscated no longer has an effect and will be removed in the next major release; obfuscation is now inferred from the configuration, so you can safely remove the option.");
			}
			getConfiguration() {
				return this.configurationRequestor ? this.configurationRequestor.getConfiguration() : new StoreBackedConfiguration.StoreBackedConfiguration(this.flagConfigurationStore, this.banditVariationConfigurationStore, this.banditModelConfigurationStore);
			}
			async parseOverrides(var423) {
				if (!var423) return;
				const var424 = this.overrideValidator.parseOverridePayload(var423);
				await this.overrideValidator.validateKey(var424.browserExtensionKey);
				return var424.overrides;
			}
			withOverrides(var425) {
				if (var425 && Object.keys(var425).length) {
					const overrideStore = (0, shallowClone.shallowClone)(this);
					overrideStore.overrideStore = new MemoryOnlyConfigurationStore.MemoryOnlyConfigurationStore();
					overrideStore.overrideStore.setEntries(var425);
					return overrideStore;
				}
				return this;
			}
			setConfigurationRequestParameters(var426) {
				this.configurationRequestParameters = var426;
			}
			setFlagConfigurationStore(var427) {
				this.flagConfigurationStore = var427;
				this.updateConfigRequestorIfExists();
			}
			setBanditVariationConfigurationStore(var428) {
				this.banditVariationConfigurationStore = var428;
				this.updateConfigRequestorIfExists();
			}
			setEventDispatcher(var429) {
				this.eventDispatcher = var429;
			}
			setContext(var430, var431) {
				var attachContext;
				null === (attachContext = this.eventDispatcher) || undefined === attachContext || attachContext.attachContext(var430, var431);
			}
			setBanditModelConfigurationStore(var432) {
				this.banditModelConfigurationStore = var432;
				this.updateConfigRequestorIfExists();
			}
			updateConfigRequestorIfExists() {
				this.configurationRequestor && this.configurationRequestor.setConfigurationStores(this.flagConfigurationStore, this.banditVariationConfigurationStore || null, this.banditModelConfigurationStore || null);
			}
			setIsObfuscated(var433) {
				var409.logger.warn("[Eppo SDK] setIsObfuscated no longer has an effect and will be removed in the next major release; obfuscation is now inferred from the configuration, so you can safely remove the call to this method.");
			}
			setOverrideStore(var434) {
				this.overrideStore = var434;
			}
			unsetOverrideStore() {
				this.overrideStore = undefined;
			}
			getOverrideVariationKeys() {
				return {};
			}
			async fetchFlagConfigurations() {
				var stop, var435, var436;
				if (!this.configurationRequestParameters) throw new Error("Eppo SDK unable to fetch flag configurations without configuration request parameters");
				null === (stop = this.requestPoller) || undefined === stop || stop.stop();
				const { apiKey: var437, sdkName: var438, sdkVersion: var439, baseUrl: var440, requestTimeoutMs: var441 = var412.DEFAULT_REQUEST_TIMEOUT_MS, numInitialRequestRetries: var442 = var412.DEFAULT_INITIAL_CONFIG_REQUEST_RETRIES, numPollRequestRetries: var443 = var412.DEFAULT_POLL_CONFIG_REQUEST_RETRIES, pollAfterSuccessfulInitialization: var444 = false, pollAfterFailedInitialization: var445 = false, throwOnFailedInitialization: var446 = false, skipInitialPoll: var447 = false } = this.configurationRequestParameters;
				let { pollingIntervalMs: var448 = var412.DEFAULT_POLL_INTERVAL_MS } = this.configurationRequestParameters;
				var448 <= 0 && (var409.logger.error("pollingIntervalMs must be greater than 0. Using default"), var448 = var412.DEFAULT_POLL_INTERVAL_MS);
				const obj14 = new default17.default({
					baseUrl: var440,
					queryParams: {
						apiKey: var437,
						sdkName: var438,
						sdkVersion: var439
					}
				}), obj15 = new default20.default(obj14, var441), obj16 = new default18.default(obj15, this.flagConfigurationStore, null !== (var435 = this.banditVariationConfigurationStore) && undefined !== var435 ? var435 : null, null !== (var436 = this.banditModelConfigurationStore) && undefined !== var436 ? var436 : null);
				this.configurationRequestor = obj16;
				this.requestPoller = (0, default21.default)(var448, (async function() {
					if (await obj16.isFlagConfigExpired()) return obj16.fetchAndStoreConfigurations();
				}), {
					maxStartRetries: var442,
					maxPollRetries: var443,
					pollAfterSuccessfulStart: var444,
					pollAfterFailedStart: var445,
					errorOnFailedStart: var446,
					skipInitialPoll: var447
				});
				await this.requestPoller.start();
			}
			stopPolling() {
				this.requestPoller && this.requestPoller.stop();
			}
			getStringAssignment(var449, var450, var451, var452) {
				return this.getStringAssignmentDetails(var449, var450, var451, var452).variation;
			}
			getStringAssignmentDetails(var453, var454, var455, var456) {
				var var457;
				const { eppoValue: stringValue, flagEvaluationDetails: var458 } = this.getAssignmentVariation(var453, var454, var455, EppoValue.EppoValue.String(var456), VariationType.VariationType.STRING);
				return {
					variation: null !== (var457 = stringValue.stringValue) && undefined !== var457 ? var457 : var456,
					action: null,
					evaluationDetails: var458
				};
			}
			getBoolAssignment(var459, var460, var461, var462) {
				return this.getBooleanAssignment(var459, var460, var461, var462);
			}
			getBooleanAssignment(var463, var464, var465, var466) {
				return this.getBooleanAssignmentDetails(var463, var464, var465, var466).variation;
			}
			getBooleanAssignmentDetails(var467, var468, var469, var470) {
				var var471;
				const { eppoValue: boolValue, flagEvaluationDetails: var472 } = this.getAssignmentVariation(var467, var468, var469, EppoValue.EppoValue.Bool(var470), VariationType.VariationType.BOOLEAN);
				return {
					variation: null !== (var471 = boolValue.boolValue) && undefined !== var471 ? var471 : var470,
					action: null,
					evaluationDetails: var472
				};
			}
			getIntegerAssignment(var473, var474, var475, var476) {
				return this.getIntegerAssignmentDetails(var473, var474, var475, var476).variation;
			}
			getIntegerAssignmentDetails(var477, var478, var479, var480) {
				var var481;
				const { eppoValue: numericValue, flagEvaluationDetails: var482 } = this.getAssignmentVariation(var477, var478, var479, EppoValue.EppoValue.Numeric(var480), VariationType.VariationType.INTEGER);
				return {
					variation: null !== (var481 = numericValue.numericValue) && undefined !== var481 ? var481 : var480,
					action: null,
					evaluationDetails: var482
				};
			}
			getNumericAssignment(var483, var484, var485, var486) {
				return this.getNumericAssignmentDetails(var483, var484, var485, var486).variation;
			}
			getNumericAssignmentDetails(var487, var488, var489, var490) {
				var var491;
				const { eppoValue: numericValue1, flagEvaluationDetails: var492 } = this.getAssignmentVariation(var487, var488, var489, EppoValue.EppoValue.Numeric(var490), VariationType.VariationType.NUMERIC);
				return {
					variation: null !== (var491 = numericValue1.numericValue) && undefined !== var491 ? var491 : var490,
					action: null,
					evaluationDetails: var492
				};
			}
			getJSONAssignment(var493, var494, var495, var496) {
				return this.getJSONAssignmentDetails(var493, var494, var495, var496).variation;
			}
			getJSONAssignmentDetails(var497, var498, var499, var500) {
				var var501;
				const { eppoValue: objectValue, flagEvaluationDetails: var502 } = this.getAssignmentVariation(var497, var498, var499, EppoValue.EppoValue.JSON(var500), VariationType.VariationType.JSON);
				return {
					variation: null !== (var501 = objectValue.objectValue) && undefined !== var501 ? var501 : var500,
					action: null,
					evaluationDetails: var502
				};
			}
			getBanditAction(var503, var504, var505, var506, var507) {
				const { variation: var508, action: var509 } = this.getBanditActionDetails(var503, var504, var505, var506, var507);
				return {
					variation: var508,
					action: var509
				};
			}
			getBestAction(var510, var511, var512, var513) {
				var key;
				const var514 = this.getConfiguration();
				let var515 = null;
				const var516 = var514.getFlagBanditVariations(var510), var517 = null == var516 || null === (key = var516.at(0)) || undefined === key ? undefined : key.key;
				if (var517) {
					const modelData = var514.getBandit(var517);
					if (modelData) {
						const var518 = (0, var410.ensureContextualSubjectAttributes)(var511), var519 = (0, var410.ensureActionsWithContextualAttributes)(var512);
						var515 = this.banditEvaluator.evaluateBestBanditAction(var518, var519, modelData.modelData);
					}
				}
				return null != var515 ? var515 : var513;
			}
			getBanditActionDetails(var520, var521, var522, var523, var524) {
				const getFlagVariationBandit = this.getConfiguration();
				let var525 = var524, var526 = null, var527 = this.newFlagEvaluationDetailsBuilder(getFlagVariationBandit, var520).buildForNoneResult("ASSIGNMENT_ERROR", "Unexpected error getting assigned variation for bandit action");
				try {
					const var528 = (0, var410.ensureNonContextualSubjectAttributes)(var522), { variation: var529, evaluationDetails: var530 } = this.getStringAssignmentDetails(var520, var521, var528, var524);
					var525 = var529;
					var527 = var530;
					const var531 = getFlagVariationBandit.getFlagVariationBandit(var520, var525);
					if (!var531) return {
						variation: var525,
						action: null,
						evaluationDetails: var527
					};
					var527.banditKey = var531.banditKey;
					const var532 = this.evaluateBanditAction(var520, var521, var522, var523, var531.modelData);
					if (null != var532 && var532.actionKey) {
						var526 = var532.actionKey;
						const obj17 = {
							timestamp: "1970-01-01T00:00:00.000Z",
							featureFlag: var520,
							bandit: var531.banditKey,
							subject: var521,
							action: var526,
							actionProbability: var532.actionWeight,
							optimalityGap: var532.optimalityGap,
							modelVersion: var531.modelVersion,
							subjectNumericAttributes: var532.subjectAttributes.numericAttributes,
							subjectCategoricalAttributes: var532.subjectAttributes.categoricalAttributes,
							actionNumericAttributes: var532.actionAttributes.numericAttributes,
							actionCategoricalAttributes: var532.actionAttributes.categoricalAttributes,
							metaData: this.buildLoggerMetadata(),
							evaluationDetails: var527
						};
						try {
							this.logBanditAction(obj17);
						} catch (error7) {
							var409.logger.error("Error logging bandit event", error7);
						}
						var527.banditAction = var526;
					}
				} catch (error8) {
					if (var409.logger.error("Error determining bandit action", error8), !this.isGracefulFailureMode) throw error8;
					var525 && (var527.flagEvaluationCode = "BANDIT_ERROR");
					var527.flagEvaluationDescription = `Error evaluating bandit action: ${error8.message}`;
				}
				return {
					variation: var525,
					action: var526,
					evaluationDetails: var527
				};
			}
			getExperimentContainerEntry(var533, var534, var535) {
				const { flagKey: var536, controlVariationEntry: var537, treatmentVariationEntries: list9 } = var533, str2 = this.getStringAssignment(var536, var534, var535, "control");
				if ("control" === str2) return var537;
				if (!str2.startsWith("treatment-")) return var409.logger.warn(`Variation '${str2}' cannot be mapped to a container. Defaulting to control variation.`), var537;
				const var538 = Number.parseInt(str2.split("-")[1]) - 1;
				return isNaN(var538) ? (var409.logger.warn(`Variation '${str2}' cannot be mapped to a container. Defaulting to control variation.`), var537) : var538 >= list9.length ? (var409.logger.warn(`Selected treatment variation (${var538}) index is out of bounds. Defaulting to control variation.`), var537) : list9[var538];
			}
			evaluateBanditAction(var539, var540, var541, var542, var543) {
				if (!Object.keys(var542).length) return null;
				return this.banditEvaluator.evaluateBandit(var539, var540, (0, var410.ensureContextualSubjectAttributes)(var541), (0, var410.ensureActionsWithContextualAttributes)(var542), var543);
			}
			logBanditAction(var545) {
				var var546, has;
				const obj18 = {
					flagKey: var545.featureFlag,
					subjectKey: var545.subject,
					banditKey: var545.bandit,
					actionKey: null !== (var546 = var545.action) && undefined !== var546 ? var546 : "__eppo_no_action"
				};
				if (null === (has = this.banditAssignmentCache) || undefined === has || !has.has(obj18)) try {
					var set2;
					this.banditLogger ? this.banditLogger.logBanditAction(var545) : this.banditEventsQueue.push(var545);
					null === (set2 = this.banditAssignmentCache) || undefined === set2 || set2.set(obj18);
				} catch (error9) {
					var409.logger.warn("Error encountered logging bandit action", error9);
				}
			}
			getAssignmentVariation(var547, var548, var549, var550, var551) {
				try {
					const var552 = this.getAssignmentDetail(var547, var548, var549, var551);
					return this.parseVariationWithDetails(var552, var550, var551);
				} catch (error10) {
					const var553 = this.rethrowIfNotGraceful(error10, var550);
					if (error10 instanceof FlagEvaluationError.FlagEvaluationError && error10.flagEvaluationDetails) return {
						eppoValue: var553,
						flagEvaluationDetails: error10.flagEvaluationDetails
					};
					return {
						eppoValue: var553,
						flagEvaluationDetails: new FlagEvaluationDetailsBuilder.FlagEvaluationDetailsBuilder("", [], "", "").buildForNoneResult("ASSIGNMENT_ERROR", `Assignment Error: ${error10.message}`)
					};
				}
			}
			parseVariationWithDetails({ flagEvaluationDetails: flagEvaluationCode, variation: value4 }, var554, var555) {
				try {
					if (!value4 || "MATCH" !== flagEvaluationCode.flagEvaluationCode) return {
						eppoValue: var554,
						flagEvaluationDetails: flagEvaluationCode
					};
					return {
						eppoValue: EppoValue.EppoValue.valueOf(value4.value, var555),
						flagEvaluationDetails: flagEvaluationCode
					};
				} catch (error11) {
					return {
						eppoValue: this.rethrowIfNotGraceful(error11, var554),
						flagEvaluationDetails: flagEvaluationCode
					};
				}
			}
			rethrowIfNotGraceful(message, var556) {
				if (this.isGracefulFailureMode) return var409.logger.error(`${var409.loggerPrefix} Error getting assignment: ${message.message}`), null != var556 ? var556 : EppoValue.EppoValue.Null();
				throw message;
			}
			getAllAssignments(var557, var558 = {}) {
				const var559 = this.getConfiguration(), var560 = var559.getFlagConfigDetails(), obj19 = {};
				this.getFlagKeys().forEach(((item13) => {
					const variationType = this.getNormalizedFlag(var559, item13);
					if (!variationType) return void var409.logger.debug(`${var409.loggerPrefix} No assigned variation. Flag does not exist.`);
					const var561 = this.evaluator.evaluateFlag(variationType, var560, var557, var558, var559.isObfuscated());
					var561.variation && var561.allocationKey ? obj19[item13] = {
						flagKey: item13,
						allocationKey: var561.allocationKey,
						doLog: var561.doLog,
						extraLogging: var561.extraLogging,
						variationKey: var561.variation.key,
						variationType: variationType.variationType,
						variationValue: var561.variation.value.toString()
					} : var409.logger.debug(`${var409.loggerPrefix} No assigned variation: ${item13}`);
				}));
				return obj19;
			}
			getPrecomputedConfiguration(var562, var563 = {}, var564 = {}, var565) {
				const getFlagConfigDetails = this.getConfiguration(), configEnvironment = getFlagConfigDetails.getFlagConfigDetails(), var566 = (0, var410.ensureContextualSubjectAttributes)(var563), var567 = this.getAllAssignments(var562, (0, var410.ensureNonContextualSubjectAttributes)(var563));
				return JSON.stringify(var411.ConfigurationWireV1.precomputed(var411.PrecomputedConfiguration.obfuscated(var562, var567, this.computeBanditsForFlags(getFlagConfigDetails, var562, var566, var564, var567), null != var565 ? var565 : "", var566, configEnvironment.configEnvironment)));
			}
			getAssignmentDetail(var570, var571, var572 = {}, var573) {
				var get1;
				(0, validateNotBlank.validateNotBlank)(var571, "Invalid argument: subjectKey cannot be blank");
				(0, validateNotBlank.validateNotBlank)(var570, "Invalid argument: flagKey cannot be blank");
				const var574 = this.getConfiguration(), buildForNoneResult = this.newFlagEvaluationDetailsBuilder(var574, var570), var575 = null === (get1 = this.overrideStore) || undefined === get1 ? undefined : get1.get(var570);
				if (var575) return (0, var413.overrideResult)(var570, var571, var572, var575, buildForNoneResult);
				const configFormat = var574.getFlagConfigDetails(), var576 = this.getNormalizedFlag(var574, var570);
				if (null === var576) {
					var409.logger.warn(`${var409.loggerPrefix} No assigned variation. Flag not found: ${var570}`);
					const var577 = buildForNoneResult.buildForNoneResult("FLAG_UNRECOGNIZED_OR_DISABLED", `Unrecognized or disabled flag: ${var570}`);
					return (0, var413.noneResult)(var570, var571, var572, var577, configFormat.configFormat);
				}
				if (!or1(var573, var576.variationType)) {
					const str3 = `Variation value does not have the correct type. Found ${var576.variationType}, but expected ${var573} for flag ${var570}`;
					if (this.isGracefulFailureMode) {
						const var578 = buildForNoneResult.buildForNoneResult("TYPE_MISMATCH", str3);
						return (0, var413.noneResult)(var570, var571, var572, var578, configFormat.configFormat);
					}
					throw new TypeError(str3);
				}
				if (!var576.enabled) {
					var409.logger.info(`${var409.loggerPrefix} No assigned variation. Flag is disabled: ${var570}`);
					const var579 = buildForNoneResult.buildForNoneResult("FLAG_UNRECOGNIZED_OR_DISABLED", `Unrecognized or disabled flag: ${var570}`);
					return (0, var413.noneResult)(var570, var571, var572, var579, configFormat.configFormat);
				}
				const var580 = var574.isObfuscated(), var581 = this.evaluator.evaluateFlag(var576, configFormat, var571, var572, var580, var573);
				var580 && (var581.flagKey = var570);
				try {
					null != var581 && var581.doLog && this.maybeLogAssignment(var581);
				} catch (error12) {
					var409.logger.error(`${var409.loggerPrefix} Error logging assignment event: ${error12}`);
				}
				return var581;
			}
			track(var582, var583) {
				this.eventDispatcher.dispatch({
					uuid: (0, var408.v4)(),
					type: var582,
					timestamp: 0,
					payload: var583
				});
			}
			newFlagEvaluationDetailsBuilder(getFlagConfigDetails1, var584) {
				var var585;
				const allocations = this.getNormalizedFlag(getFlagConfigDetails1, var584), var586 = getFlagConfigDetails1.getFlagConfigDetails();
				return new FlagEvaluationDetailsBuilder.FlagEvaluationDetailsBuilder(var586.configEnvironment.name, null !== (var585 = null == allocations ? undefined : allocations.allocations) && undefined !== var585 ? var585 : [], var586.configFetchedAt, var586.configPublishedAt);
			}
			getNormalizedFlag(var587, var588) {
				return var587.isObfuscated() ? this.getObfuscatedFlag(var587, var588) : var587.getFlag(var588);
			}
			getObfuscatedFlag(getFlag, var589) {
				const var590 = getFlag.getFlag((0, getMD5Hash1.getMD5Hash)(var589));
				return var590 ? (0, decodeFlag.decodeFlag)(var590) : null;
			}
			getFlagKeys() {
				return this.getConfiguration().getFlagKeys();
			}
			isInitialized() {
				return this.getConfiguration().isInitialized();
			}
			setLogger(var591) {
				this.setAssignmentLogger(var591);
			}
			setAssignmentLogger(var592) {
				var logAssignment;
				this.assignmentLogger = var592;
				this.flushQueuedEvents(this.assignmentEventsQueue, null === (logAssignment = this.assignmentLogger) || undefined === logAssignment ? undefined : logAssignment.logAssignment);
			}
			setBanditLogger(var593) {
				var logBanditAction;
				this.banditLogger = var593;
				this.flushQueuedEvents(this.banditEventsQueue, null === (logBanditAction = this.banditLogger) || undefined === logBanditAction ? undefined : logBanditAction.logBanditAction);
			}
			disableAssignmentCache() {
				this.assignmentCache = undefined;
			}
			useNonExpiringInMemoryAssignmentCache() {
				this.assignmentCache = new NonExpiringInMemoryAssignmentCache2.NonExpiringInMemoryAssignmentCache();
			}
			useLRUInMemoryAssignmentCache(var594) {
				this.assignmentCache = new LRUInMemoryAssignmentCache1.LRUInMemoryAssignmentCache(var594);
			}
			useCustomAssignmentCache(var595) {
				this.assignmentCache = var595;
			}
			disableBanditAssignmentCache() {
				this.banditAssignmentCache = undefined;
			}
			useNonExpiringInMemoryBanditAssignmentCache() {
				this.banditAssignmentCache = new NonExpiringInMemoryAssignmentCache2.NonExpiringInMemoryAssignmentCache();
			}
			useExpiringInMemoryBanditAssignmentCache(var596, var597) {
				this.banditAssignmentCache = new TLRUInMemoryAssignmentCache1.TLRUInMemoryAssignmentCache(var596, var597);
			}
			useCustomBanditAssignmentCache(var598) {
				this.banditAssignmentCache = var598;
			}
			setIsGracefulFailureMode(var599) {
				this.isGracefulFailureMode = var599;
			}
			getFlagConfigurations() {
				return this.getConfiguration().getFlags();
			}
			flushQueuedEvents(flush, var600) {
				const list10 = flush.flush();
				var600 && list10.forEach(((item14) => {
					try {
						var600(item14);
					} catch (error13) {
						var409.logger.error(`${var409.loggerPrefix} Error flushing event to logger: ${error13.message}`);
					}
				}));
			}
			maybeLogAssignment(var601) {
				var var602;
				const { flagKey: var603, format: var604, subjectKey: var605, allocationKey: var606 = null, subjectAttributes: var607, variation: key1, flagEvaluationDetails: var608, extraLogging: var609 = {}, entityId: var610 } = var601, var611 = fn16(fn16({}, var609), {}, {
					allocation: var606,
					experiment: var606 ? `${var603}-${var606}` : null,
					featureFlag: var603,
					format: var604,
					variation: null !== (var602 = null == key1 ? undefined : key1.key) && undefined !== var602 ? var602 : null,
					subject: var605,
					timestamp: "1970-01-01T00:00:00.000Z",
					subjectAttributes: var607,
					metaData: this.buildLoggerMetadata(),
					evaluationDetails: var608,
					entityId: var610
				});
				if (key1 && var606) {
					var has1;
					if (null === (has1 = this.assignmentCache) || undefined === has1 ? undefined : has1.has({
						flagKey: var603,
						subjectKey: var605,
						allocationKey: var606,
						variationKey: key1.key
					})) return;
				}
				try {
					var set3, var612;
					this.assignmentLogger ? this.assignmentLogger.logAssignment(var611) : this.assignmentEventsQueue.push(var611);
					null === (set3 = this.assignmentCache) || undefined === set3 || set3.set({
						flagKey: var603,
						subjectKey: var605,
						allocationKey: null != var606 ? var606 : "__eppo_no_allocation",
						variationKey: null !== (var612 = null == key1 ? undefined : key1.key) && undefined !== var612 ? var612 : "__eppo_no_variation"
					});
				} catch (error14) {
					var409.logger.error(`${var409.loggerPrefix} Error logging assignment event: ${error14.message}`);
				}
			}
			buildLoggerMetadata() {
				return {
					obfuscated: this.getConfiguration().isObfuscated(),
					sdkLanguage: "javascript",
					sdkLibVersion: LIB_VERSION.LIB_VERSION
				};
			}
			computeBanditsForFlags(var613, var614, var615, var616, var617) {
				const obj20 = {};
				Object.keys(var616).forEach(((item15) => {
					const variationValue = var617[item15];
					if (variationValue) {
						const var618 = this.getPrecomputedBandit(var613, item15, variationValue.variationValue, var614, var615, var616[item15]);
						var618 && (obj20[item15] = var618);
					}
				}));
				return obj20;
			}
			getPrecomputedBandit(getFlagVariationBandit1, var619, var620, var621, var622, var623) {
				const var624 = getFlagVariationBandit1.getFlagVariationBandit(var619, var620);
				if (!var624) return null;
				const var625 = this.evaluateBanditAction(var619, var621, var622, var623, var624.modelData);
				return var625 ? {
					banditKey: var624.banditKey,
					action: var625.actionKey,
					actionNumericAttributes: var625.actionAttributes.numericAttributes,
					actionCategoricalAttributes: var625.actionAttributes.categoricalAttributes,
					actionProbability: var625.actionWeight,
					modelVersion: var624.modelVersion,
					optimalityGap: var625.optimalityGap
				} : null;
			}
		};
	},
	956738: (var626, default22, var627) => {
		"use strict";
		var var628 = var627(443693);
		function fn17(var629, var630) {
			var list11 = Object.keys(var629);
			if (Object.getOwnPropertySymbols) {
				var list12 = Object.getOwnPropertySymbols(var629);
				var630 && (list12 = list12.filter((function(item16) {
					return Object.getOwnPropertyDescriptor(var629, item16).enumerable;
				})));
				list11.push.apply(list11, list12);
			}
			return list11;
		}
		function fn18(var631) {
			for (var index3 = 1; index3 < arguments.length; index3++) {
				var var632 = null != arguments[index3] ? arguments[index3] : {};
				index3 % 2 ? fn17(Object(var632), true).forEach((function(item17) {
					var628(var631, item17, var632[item17]);
				})) : Object.getOwnPropertyDescriptors ? Object.defineProperties(var631, Object.getOwnPropertyDescriptors(var632)) : fn17(Object(var632)).forEach((function(item18) {
					Object.defineProperty(var631, item18, Object.getOwnPropertyDescriptor(var632, item18));
				}));
			}
			return var631;
		}
		Object.defineProperty(default22, "__esModule", { value: true });
		const default23 = var627(127660), var633 = var627(328902), var634 = var627(889182), LRUInMemoryAssignmentCache2 = var627(704814), NonExpiringInMemoryAssignmentCache3 = var627(358651), var635 = var627(723490), var636 = var627(178898), default24 = var627(833027), VariationType1 = var627(763483), getMD5Hash2 = var627(142060), default25 = var627(348869), default26 = var627(675012), validateNotBlank1 = var627(793252), LIB_VERSION1 = var627(212911), checkTypeMatch = var627(252635);
		default22.default = class {
			constructor(var637) {
				this.queuedAssignmentEvents = [];
				this.banditEventsQueue = [];
				this.precomputedFlagStore = var637.precomputedFlagStore;
				this.precomputedBanditStore = var637.precomputedBanditStore;
				this.overrideStore = var637.overrideStore;
				const { subjectKey: var638, subjectAttributes: var639 } = var637.subject;
				this.subject = {
					subjectKey: var638,
					subjectAttributes: (0, var634.ensureContextualSubjectAttributes)(var639)
				};
				this.banditActions = var637.banditActions;
				var637.requestParameters ? this.requestParameters = var637.requestParameters : (this.precomputedFlagStore.getKeys().length > 0 && (this.precomputedFlagStore.isInitialized() || var633.logger.error(`${var633.loggerPrefix} EppoPrecomputedClient requires an initialized precomputedFlagStore if requestParameters are not provided`), this.precomputedFlagStore.salt || var633.logger.error(`${var633.loggerPrefix} EppoPrecomputedClient requires a precomputedFlagStore with a salt if requestParameters are not provided`)), this.precomputedBanditStore && !this.precomputedBanditStore.isInitialized() && var633.logger.error(`${var633.loggerPrefix} Passing banditOptions without requestParameters requires an initialized precomputedBanditStore`), this.precomputedBanditStore && !this.precomputedBanditStore.salt && var633.logger.warn(`${var633.loggerPrefix} EppoPrecomputedClient missing or empty salt for precomputedBanditStore`));
			}
			async fetchPrecomputedFlags() {
				var stop1, precomputedFlagStore = this;
				if (!this.requestParameters) throw new Error("Eppo SDK unable to fetch precomputed flags without the request parameters");
				null === (stop1 = this.requestPoller) || undefined === stop1 || stop1.stop();
				const { apiKey: var640, sdkName: var641, sdkVersion: var642, baseUrl: var643, requestTimeoutMs: var644 = var635.DEFAULT_REQUEST_TIMEOUT_MS, numInitialRequestRetries: var645 = var635.DEFAULT_INITIAL_CONFIG_REQUEST_RETRIES, numPollRequestRetries: var646 = var635.DEFAULT_POLL_CONFIG_REQUEST_RETRIES, pollAfterSuccessfulInitialization: var647 = false, pollAfterFailedInitialization: var648 = false, throwOnFailedInitialization: var649 = false, skipInitialPoll: var650 = false } = this.requestParameters, { subjectKey: var651, subjectAttributes: var652 } = this.subject;
				let { pollingIntervalMs: var653 = var635.DEFAULT_POLL_INTERVAL_MS } = this.requestParameters;
				var653 <= 0 && (var633.logger.error("pollingIntervalMs must be greater than 0. Using default"), var653 = var635.DEFAULT_POLL_INTERVAL_MS);
				const obj21 = new default23.default({
					baseUrl: null != var643 ? var643 : var635.PRECOMPUTED_BASE_URL,
					queryParams: {
						apiKey: var640,
						sdkName: var641,
						sdkVersion: var642
					}
				}), obj22 = new default24.default(obj21, var644), obj23 = new default26.default(obj22, this.precomputedFlagStore, var651, var652, this.precomputedBanditStore, this.banditActions);
				this.requestPoller = (0, default25.default)(var653, (async function() {
					if (await precomputedFlagStore.precomputedFlagStore.isExpired()) return obj23.fetchAndStorePrecomputedFlags();
				}), {
					maxStartRetries: var645,
					maxPollRetries: var646,
					pollAfterSuccessfulStart: var647,
					pollAfterFailedStart: var648,
					errorOnFailedStart: var649,
					skipInitialPoll: var650
				});
				await this.requestPoller.start();
			}
			stopPolling() {
				this.requestPoller && this.requestPoller.stop();
			}
			getPrecomputedAssignment(var654, var655, var656, var657 = ((var658) => var658)) {
				var get2, var659, var660, var661, var662, var663, var664;
				(0, validateNotBlank1.validateNotBlank)(var654, "Invalid argument: flagKey cannot be blank");
				const value5 = null === (get2 = this.overrideStore) || undefined === get2 ? undefined : get2.get(var654);
				if (value5) return var657(value5.value);
				const var665 = this.getPrecomputedFlag(var654);
				if (null == var665) return var633.logger.warn(`${var633.loggerPrefix} No assigned variation. Flag not found: ${var654}`), var655;
				if (!(0, checkTypeMatch.checkTypeMatch)(var656, var665.variationType)) {
					const str4 = `${var633.loggerPrefix} Type mismatch: expected ${var656} but flag ${var654} has type ${var665.variationType}`;
					var633.logger.error(str4);
					return var655;
				}
				const obj24 = {
					flagKey: var654,
					format: null !== (var659 = this.precomputedFlagStore.getFormat()) && undefined !== var659 ? var659 : "",
					subjectKey: null !== (var660 = this.subject.subjectKey) && undefined !== var660 ? var660 : "",
					subjectAttributes: (0, var634.ensureNonContextualSubjectAttributes)(null !== (var661 = this.subject.subjectAttributes) && undefined !== var661 ? var661 : {}),
					variation: {
						key: null !== (var662 = var665.variationKey) && undefined !== var662 ? var662 : "",
						value: var665.variationValue
					},
					allocationKey: null !== (var663 = var665.allocationKey) && undefined !== var663 ? var663 : "",
					extraLogging: null !== (var664 = var665.extraLogging) && undefined !== var664 ? var664 : {},
					doLog: var665.doLog,
					entityId: null
				};
				try {
					null != obj24 && obj24.doLog && this.logAssignment(obj24);
				} catch (error15) {
					var633.logger.error(`${var633.loggerPrefix} Error logging assignment event: ${error15}`);
				}
				try {
					var value6;
					return undefined !== (null === (value6 = obj24.variation) || undefined === value6 ? undefined : value6.value) ? var657(obj24.variation.value) : var655;
				} catch (error16) {
					var633.logger.error(`${var633.loggerPrefix} Error transforming value: ${error16}`);
					return var655;
				}
			}
			getStringAssignment(var666, var667) {
				return this.getPrecomputedAssignment(var666, var667, VariationType1.VariationType.STRING);
			}
			getBooleanAssignment(var668, var669) {
				return this.getPrecomputedAssignment(var668, var669, VariationType1.VariationType.BOOLEAN);
			}
			getIntegerAssignment(var670, var671) {
				return this.getPrecomputedAssignment(var670, var671, VariationType1.VariationType.INTEGER);
			}
			getNumericAssignment(var672, var673) {
				return this.getPrecomputedAssignment(var672, var673, VariationType1.VariationType.NUMERIC);
			}
			getJSONAssignment(var674, var675) {
				return this.getPrecomputedAssignment(var674, var675, VariationType1.VariationType.JSON, ((var676) => "string" == typeof var676 ? JSON.parse(var676) : var675));
			}
			getBanditAction(var677, var678) {
				if (!this.getPrecomputedFlag(var677)) return var633.logger.warn(`${var633.loggerPrefix} No assigned variation. Flag not found: ${var677}`), {
					variation: var678,
					action: null
				};
				const var679 = this.getPrecomputedBandit(var677), var680 = this.getStringAssignment(var677, var678);
				if (var679) {
					var var681;
					const obj25 = {
						timestamp: "1970-01-01T00:00:00.000Z",
						featureFlag: var677,
						bandit: var679.banditKey,
						subject: null !== (var681 = this.subject.subjectKey) && undefined !== var681 ? var681 : "",
						action: var679.action,
						actionProbability: var679.actionProbability,
						optimalityGap: var679.optimalityGap,
						modelVersion: var679.modelVersion,
						subjectNumericAttributes: var679.actionNumericAttributes,
						subjectCategoricalAttributes: var679.actionCategoricalAttributes,
						actionNumericAttributes: var679.actionNumericAttributes,
						actionCategoricalAttributes: var679.actionCategoricalAttributes,
						metaData: this.buildLoggerMetadata(),
						evaluationDetails: null
					};
					try {
						this.logBanditAction(obj25);
					} catch (error17) {
						var633.logger.error(`${var633.loggerPrefix} Error logging bandit action: ${error17}`);
					}
					return {
						variation: var680,
						action: obj25.action
					};
				}
				return {
					variation: var680,
					action: null
				};
			}
			getPrecomputedFlag(var682) {
				return this.getObfuscatedFlag(var682);
			}
			getObfuscatedFlag(var683) {
				const var685 = this.precomputedFlagStore.get((0, getMD5Hash2.getMD5Hash)(var683, this.precomputedFlagStore.salt));
				return var685 ? (0, var636.decodePrecomputedFlag)(var685) : null;
			}
			getPrecomputedBandit(var686) {
				const var687 = this.getObfuscatedPrecomputedBandit(var686);
				return var687 ? (0, var636.decodePrecomputedBandit)(var687) : null;
			}
			getObfuscatedPrecomputedBandit(var688) {
				var salt, get3;
				const var689 = (0, getMD5Hash2.getMD5Hash)(var688, null === (salt = this.precomputedBanditStore) || undefined === salt ? undefined : salt.salt), var690 = null === (get3 = this.precomputedBanditStore) || undefined === get3 ? undefined : get3.get(var689);
				return null != var690 ? var690 : null;
			}
			isInitialized() {
				return this.precomputedFlagStore.isInitialized();
			}
			setAssignmentLogger(var691) {
				var logAssignment1;
				this.assignmentLogger = var691;
				this.flushQueuedEvents(this.queuedAssignmentEvents, null === (logAssignment1 = this.assignmentLogger) || undefined === logAssignment1 ? undefined : logAssignment1.logAssignment);
			}
			setBanditLogger(var692) {
				var logBanditAction1;
				this.banditLogger = var692;
				this.flushQueuedEvents(this.banditEventsQueue, null === (logBanditAction1 = this.banditLogger) || undefined === logBanditAction1 ? undefined : logBanditAction1.logBanditAction);
			}
			disableAssignmentCache() {
				this.assignmentCache = undefined;
			}
			useNonExpiringInMemoryAssignmentCache() {
				this.assignmentCache = new NonExpiringInMemoryAssignmentCache3.NonExpiringInMemoryAssignmentCache();
			}
			useLRUInMemoryAssignmentCache(var693) {
				this.assignmentCache = new LRUInMemoryAssignmentCache2.LRUInMemoryAssignmentCache(var693);
			}
			useCustomAssignmentCache(var694) {
				this.assignmentCache = var694;
			}
			flushQueuedEvents(list13, var695) {
				const arr2 = [...list13];
				list13.length = 0;
				var695 && arr2.forEach(((item19) => {
					try {
						var695(item19);
					} catch (error18) {
						var633.logger.error(`${var633.loggerPrefix} Error flushing event to logger: ${error18.message}`);
					}
				}));
			}
			logAssignment(extraLogging) {
				var var696, var697;
				const { flagKey: var698, subjectKey: var699, allocationKey: var700, subjectAttributes: var701, variation: key2, format: var702 } = extraLogging, var703 = fn18(fn18({}, null !== (var696 = extraLogging.extraLogging) && undefined !== var696 ? var696 : {}), {}, {
					allocation: null != var700 ? var700 : null,
					experiment: var700 ? `${var698}-${var700}` : null,
					featureFlag: var698,
					format: var702,
					variation: null !== (var697 = null == key2 ? undefined : key2.key) && undefined !== var697 ? var697 : null,
					subject: var699,
					timestamp: "1970-01-01T00:00:00.000Z",
					subjectAttributes: var701,
					metaData: this.buildLoggerMetadata(),
					evaluationDetails: null
				});
				if (key2 && var700) {
					var has2;
					if (null === (has2 = this.assignmentCache) || undefined === has2 ? undefined : has2.has({
						flagKey: var698,
						subjectKey: var699,
						allocationKey: var700,
						variationKey: key2.key
					})) return;
				}
				try {
					var set4, var704;
					this.assignmentLogger ? this.assignmentLogger.logAssignment(var703) : this.queuedAssignmentEvents.length < var635.MAX_EVENT_QUEUE_SIZE && this.queuedAssignmentEvents.push(var703);
					null === (set4 = this.assignmentCache) || undefined === set4 || set4.set({
						flagKey: var698,
						subjectKey: var699,
						allocationKey: null != var700 ? var700 : "__eppo_no_allocation",
						variationKey: null !== (var704 = null == key2 ? undefined : key2.key) && undefined !== var704 ? var704 : "__eppo_no_variation"
					});
				} catch (error19) {
					var633.logger.error(`${var633.loggerPrefix} Error logging assignment event: ${error19.message}`);
				}
			}
			logBanditAction(var705) {
				var var706, has3;
				const obj26 = {
					flagKey: var705.featureFlag,
					subjectKey: var705.subject,
					banditKey: var705.bandit,
					actionKey: null !== (var706 = var705.action) && undefined !== var706 ? var706 : "__eppo_no_action"
				};
				if (null === (has3 = this.banditAssignmentCache) || undefined === has3 || !has3.has(obj26)) try {
					var set5;
					this.banditLogger ? this.banditLogger.logBanditAction(var705) : this.banditEventsQueue.push(var705);
					null === (set5 = this.banditAssignmentCache) || undefined === set5 || set5.set(obj26);
				} catch (error20) {
					var633.logger.warn("Error encountered logging bandit action", error20);
				}
			}
			buildLoggerMetadata() {
				return {
					obfuscated: true,
					sdkLanguage: "javascript",
					sdkLibVersion: LIB_VERSION1.LIB_VERSION
				};
			}
			setOverrideStore(var707) {
				this.overrideStore = var707;
			}
			unsetOverrideStore() {
				this.overrideStore = undefined;
			}
		};
	},
	371152: (var708, default27, var709) => {
		"use strict";
		Object.defineProperty(default27, "__esModule", { value: true });
		const StoreBackedConfiguration1 = var709(271067);
		default27.default = class {
			constructor(var710, var711, var712, var713) {
				this.httpClient = var710;
				this.flagConfigurationStore = var711;
				this.banditVariationConfigurationStore = var712;
				this.banditModelConfigurationStore = var713;
				this.banditModelVersions = [];
				this.configuration = new StoreBackedConfiguration1.StoreBackedConfiguration(this.flagConfigurationStore, this.banditVariationConfigurationStore, this.banditModelConfigurationStore);
			}
			setConfigurationStores(var714, var715, var716) {
				this.flagConfigurationStore = var714;
				this.banditVariationConfigurationStore = var715;
				this.banditModelConfigurationStore = var716;
				this.configuration = new StoreBackedConfiguration1.StoreBackedConfiguration(this.flagConfigurationStore, this.banditVariationConfigurationStore, this.banditModelConfigurationStore);
			}
			isFlagConfigExpired() {
				return this.flagConfigurationStore.isExpired();
			}
			getConfiguration() {
				return this.configuration;
			}
			async fetchAndStoreConfigurations() {
				var var717;
				const var718 = await this.httpClient.getUniversalFlagConfiguration();
				if (null == var718 || !var718.flags) return;
				const obj27 = {
					entries: var718.flags,
					environment: var718.environment,
					createdAt: var718.createdAt,
					format: var718.format
				};
				let var719, var720;
				const var721 = Object.keys(null !== (var717 = var718.banditReferences) && undefined !== var717 ? var717 : {}).length > 0;
				await this.configuration.hydrateConfigurationStores(obj27, var719, var720);
			}
			getLoadedBanditModelVersions(var722) {
				return Object.values(var722).map(((item20) => item20.modelVersion));
			}
			requiresBanditModelConfigurationStoreUpdate(includes, var723) {
				return !Object.values(var723).map(((item21) => item21.modelVersion)).every(((item22) => includes.includes(item22)));
			}
			indexBanditVariationsByFlagKey(var724) {
				const obj28 = {};
				Object.values(var724).forEach(((item23) => {
					item23.flagVariations.forEach(((item24) => {
						let list14 = obj28[item24.flagKey];
						list14 || (list14 = [], obj28[item24.flagKey] = list14);
						list14.push(item24);
					}));
				}));
				return obj28;
			}
		};
	},
	646168: (var725, hydrateConfigurationStore) => {
		"use strict";
		Object.defineProperty(hydrateConfigurationStore, "__esModule", { value: true });
		hydrateConfigurationStore.hydrateConfigurationStore = async function(var726, var727) {
			if (var726) {
				const var728 = await var726.setEntries(var727.entries);
				var728 && (var726.setEnvironment(var727.environment), var726.setConfigFetchedAt("1970-01-01T00:00:00.000Z"), var726.setConfigPublishedAt(var727.createdAt), var726.setFormat(var727.format), var726.salt = var727.salt);
				return var728;
			}
			return false;
		};
	},
	901741: (var729, HybridConfigurationStore1, var730) => {
		"use strict";
		Object.defineProperty(HybridConfigurationStore1, "__esModule", { value: true });
		HybridConfigurationStore1.HybridConfigurationStore = undefined;
		const var731 = var730(328902);
		HybridConfigurationStore1.HybridConfigurationStore = class {
			constructor(var732, var733) {
				this.servingStore = var732;
				this.persistentStore = var733;
				this.environment = null;
				this.configFetchedAt = null;
				this.configPublishedAt = null;
				this.format = null;
			}
			async init() {
				if (!this.persistentStore) return;
				this.persistentStore.isInitialized() || var731.logger.warn(`${var731.loggerPrefix} Persistent store is not initialized from remote configuration. Serving assignments that may be stale.`);
				const var734 = await this.persistentStore.entries();
				this.servingStore.setEntries(var734);
			}
			isInitialized() {
				var var735, isInitialized;
				return this.servingStore.isInitialized() && (null === (var735 = null === (isInitialized = this.persistentStore) || undefined === isInitialized ? undefined : isInitialized.isInitialized()) || undefined === var735 || var735);
			}
			async isExpired() {
				var isExpired;
				const var736 = await (null === (isExpired = this.persistentStore) || undefined === isExpired ? undefined : isExpired.isExpired());
				return null == var736 || var736;
			}
			get(var737) {
				this.servingStore.isInitialized() || var731.logger.warn(`${var731.loggerPrefix} getting a value from a ServingStore that is not initialized.`);
				return this.servingStore.get(var737);
			}
			entries() {
				return this.servingStore.entries();
			}
			getKeys() {
				return this.servingStore.getKeys();
			}
			async setEntries(var738) {
				this.persistentStore && await this.persistentStore.setEntries(var738);
				this.servingStore.setEntries(var738);
				return true;
			}
			setEnvironment(var739) {
				this.environment = var739;
			}
			getEnvironment() {
				return this.environment;
			}
			getConfigFetchedAt() {
				return this.configFetchedAt;
			}
			setConfigFetchedAt(var740) {
				this.configFetchedAt = var740;
			}
			getConfigPublishedAt() {
				return this.configPublishedAt;
			}
			setConfigPublishedAt(var741) {
				this.configPublishedAt = var741;
			}
			getFormat() {
				return this.format;
			}
			setFormat(var742) {
				this.format = var742;
			}
		};
	},
	780952: (var743, var744, var745) => {
		"use strict";
		var var746 = var745(443693);
		function fn19(var747, var748) {
			var list15 = Object.keys(var747);
			if (Object.getOwnPropertySymbols) {
				var list16 = Object.getOwnPropertySymbols(var747);
				var748 && (list16 = list16.filter((function(item25) {
					return Object.getOwnPropertyDescriptor(var747, item25).enumerable;
				})));
				list15.push.apply(list15, list16);
			}
			return list15;
		}
		Object.defineProperty(var744, "__esModule", { value: true });
		var744.MemoryOnlyConfigurationStore = var744.MemoryStore = undefined;
		class fn20 {
			constructor() {
				this.store = {};
				this.initialized = false;
			}
			get(var749) {
				var var750;
				return null !== (var750 = this.store[var749]) && undefined !== var750 ? var750 : null;
			}
			entries() {
				return this.store;
			}
			getKeys() {
				return Object.keys(this.store);
			}
			isInitialized() {
				return this.initialized;
			}
			setEntries(var751) {
				this.store = function(var752) {
					for (var index4 = 1; index4 < arguments.length; index4++) {
						var var753 = null != arguments[index4] ? arguments[index4] : {};
						index4 % 2 ? fn19(Object(var753), true).forEach((function(item26) {
							var746(var752, item26, var753[item26]);
						})) : Object.getOwnPropertyDescriptors ? Object.defineProperties(var752, Object.getOwnPropertyDescriptors(var753)) : fn19(Object(var753)).forEach((function(item27) {
							Object.defineProperty(var752, item27, Object.getOwnPropertyDescriptor(var753, item27));
						}));
					}
					return var752;
				}({}, var751);
				this.initialized = true;
			}
		}
		var744.MemoryStore = fn20;
		var744.MemoryOnlyConfigurationStore = class {
			constructor() {
				this.servingStore = new fn20();
				this.initialized = false;
				this.configFetchedAt = null;
				this.configPublishedAt = null;
				this.environment = null;
				this.format = null;
			}
			init() {
				this.initialized = true;
				return Promise.resolve();
			}
			get(var754) {
				return this.servingStore.get(var754);
			}
			entries() {
				return this.servingStore.entries();
			}
			getKeys() {
				return this.servingStore.getKeys();
			}
			async isExpired() {
				return true;
			}
			isInitialized() {
				return this.initialized;
			}
			async setEntries(var755) {
				this.servingStore.setEntries(var755);
				this.initialized = true;
				return true;
			}
			getEnvironment() {
				return this.environment;
			}
			setEnvironment(var756) {
				this.environment = var756;
			}
			getConfigFetchedAt() {
				return this.configFetchedAt;
			}
			setConfigFetchedAt(var757) {
				this.configFetchedAt = var757;
			}
			getConfigPublishedAt() {
				return this.configPublishedAt;
			}
			setConfigPublishedAt(var758) {
				this.configPublishedAt = var758;
			}
			getFormat() {
				return this.format;
			}
			setFormat(var759) {
				this.format = var759;
			}
		};
	},
	58135: (var760, ConfigurationWireHelper, var761) => {
		"use strict";
		Object.defineProperty(ConfigurationWireHelper, "__esModule", { value: true });
		ConfigurationWireHelper.ConfigurationWireHelper = undefined;
		const default28 = var761(127660), default29 = var761(833027), ConfigurationWireV1 = var761(738882);
		class fn21 {
			static build(var762, var763 = {
				sdkName: "android",
				sdkVersion: "4.0.0"
			}) {
				const { sdkName: var764, sdkVersion: var765, baseUrl: var766 } = var763;
				return new fn21(var762, var764, var765, var766);
			}
			constructor(var767, var768 = "android", var769 = "4.0.0", var770) {
				const obj29 = {
					sdkName: var768,
					sdkVersion: var769,
					apiKey: var767
				};
				this.httpClient = new default29.default(new default28.default({
					baseUrl: var770,
					queryParams: obj29
				}), 5e3);
			}
			async fetchBootstrapConfiguration() {
				var var771;
				let var772;
				const var773 = await this.httpClient.getUniversalFlagConfiguration();
				if (null == var773 || !var773.flags) return console.warn("Unable to fetch configuration, returning empty configuration"), Promise.resolve(ConfigurationWireV1.ConfigurationWireV1.empty());
				Object.keys(null !== (var771 = var773.banditReferences) && undefined !== var771 ? var771 : {}).length > 0 && (var772 = await this.httpClient.getBanditParameters());
				return ConfigurationWireV1.ConfigurationWireV1.fromResponses(var773, var772);
			}
		}
		ConfigurationWireHelper.ConfigurationWireHelper = fn21;
	},
	738882: (var774, var775, var776) => {
		"use strict";
		Object.defineProperty(var775, "__esModule", { value: true });
		var775.ConfigurationWireV1 = var775.ObfuscatedPrecomputedConfigurationResponse = var775.PrecomputedConfigurationResponse = var775.PrecomputedConfiguration = undefined;
		var775.inflateResponse = function(var777) {
			return JSON.parse(var777);
		};
		var775.deflateResponse = json1;
		const FormatEnum = var776(763483), var778 = var776(142060);
		class fn22 {
			constructor(var779, var780, var781) {
				this.subjectKey = var779;
				this.subjectAttributes = var780;
				this.environment = var781;
				this.format = FormatEnum.FormatEnum.PRECOMPUTED;
				this.createdAt = "1970-01-01T00:00:00.000Z";
			}
		}
		class fn23 {
			constructor(var782, var783, var784) {
				this.response = var782;
				this.subjectKey = var783;
				this.subjectAttributes = var784;
			}
			static obfuscated(var785, var786, var787, var788, var789, var790) {
				return new fn23(JSON.stringify(new fn25(var785, var786, var787, var788, var789, var790)), var785, var789);
			}
			static unobfuscated(var791, var792, var793, var794, var795) {
				return new fn23(JSON.stringify(new fn24(var791, var792, var793, var794, var795)), var791, var794);
			}
		}
		var775.PrecomputedConfiguration = fn23;
		class fn24 extends fn22 {
			constructor(var796, var797, var798, var799, var800) {
				super(var796, var799, var800);
				this.flags = var797;
				this.bandits = var798;
				this.obfuscated = false;
			}
		}
		var775.PrecomputedConfigurationResponse = fn24;
		class fn25 extends fn22 {
			constructor(var801, var802, var803, var804, var805, var806) {
				super(var801, var805, var806);
				this.obfuscated = true;
				this.salt = var804;
				this.bandits = (0, var778.obfuscatePrecomputedBanditMap)(this.salt, var803);
				this.flags = (0, var778.obfuscatePrecomputedFlags)(this.salt, var802);
			}
		}
		function json1(var807) {
			return JSON.stringify(var807);
		}
		var775.ObfuscatedPrecomputedConfigurationResponse = fn25;
		class fn26 {
			constructor(var808, var809, var810) {
				this.precomputed = var808;
				this.config = var809;
				this.bandits = var810;
				this.version = 1;
			}
			static fromResponses(var811, var812, var813, var814) {
				return new fn26(undefined, {
					response: json1(var811),
					fetchedAt: "1970-01-01T00:00:00.000Z",
					etag: var813
				}, var812 ? {
					response: json1(var812),
					fetchedAt: "1970-01-01T00:00:00.000Z",
					etag: var814
				} : undefined);
			}
			static precomputed(var815) {
				return new fn26(var815);
			}
			static empty() {
				return new fn26();
			}
		}
		var775.ConfigurationWireV1 = fn26;
	},
	723490: (var816, var817, var818) => {
		"use strict";
		Object.defineProperty(var817, "__esModule", { value: true });
		var817.OBFUSCATED_FORMATS = var817.DEFAULT_TLRU_TTL_MS = var817.BANDIT_ASSIGNMENT_SHARDS = var817.MAX_EVENT_QUEUE_SIZE = var817.NULL_SENTINEL = var817.SESSION_ASSIGNMENT_CONFIG_LOADED = var817.PRECOMPUTED_FLAGS_ENDPOINT = var817.PRECOMPUTED_BASE_URL = var817.BANDIT_ENDPOINT = var817.UFC_ENDPOINT = var817.BASE_URL = var817.DEFAULT_POLL_CONFIG_REQUEST_RETRIES = var817.DEFAULT_INITIAL_CONFIG_REQUEST_RETRIES = var817.POLL_JITTER_PCT = var817.DEFAULT_POLL_INTERVAL_MS = var817.REQUEST_TIMEOUT_MILLIS = var817.DEFAULT_REQUEST_TIMEOUT_MS = undefined;
		const FormatEnum1 = var818(763483);
		var817.DEFAULT_REQUEST_TIMEOUT_MS = 5e3;
		var817.REQUEST_TIMEOUT_MILLIS = var817.DEFAULT_REQUEST_TIMEOUT_MS;
		var817.DEFAULT_POLL_INTERVAL_MS = 3e4;
		var817.POLL_JITTER_PCT = .1;
		var817.DEFAULT_INITIAL_CONFIG_REQUEST_RETRIES = 1;
		var817.DEFAULT_POLL_CONFIG_REQUEST_RETRIES = 7;
		var817.BASE_URL = "https://fscdn.eppo.cloud/api";
		var817.UFC_ENDPOINT = "/flag-config/v1/config";
		var817.BANDIT_ENDPOINT = "/flag-config/v1/bandits";
		var817.PRECOMPUTED_BASE_URL = "https://fs-edge-assignment.eppo.cloud";
		var817.PRECOMPUTED_FLAGS_ENDPOINT = "/assignments";
		var817.SESSION_ASSIGNMENT_CONFIG_LOADED = "eppo-session-assignment-config-loaded";
		var817.NULL_SENTINEL = "EPPO_NULL";
		var817.MAX_EVENT_QUEUE_SIZE = 100;
		var817.BANDIT_ASSIGNMENT_SHARDS = 1e4;
		var817.DEFAULT_TLRU_TTL_MS = 6e5;
		var817.OBFUSCATED_FORMATS = [FormatEnum1.FormatEnum.CLIENT, FormatEnum1.FormatEnum.PRECOMPUTED];
	},
	178898: (var819, var820, var821) => {
		"use strict";
		var var822 = var821(443693);
		function fn27(var823, var824) {
			var list17 = Object.keys(var823);
			if (Object.getOwnPropertySymbols) {
				var list18 = Object.getOwnPropertySymbols(var823);
				var824 && (list18 = list18.filter((function(item28) {
					return Object.getOwnPropertyDescriptor(var823, item28).enumerable;
				})));
				list17.push.apply(list17, list18);
			}
			return list17;
		}
		function fn28(var825) {
			for (var index5 = 1; index5 < arguments.length; index5++) {
				var var826 = null != arguments[index5] ? arguments[index5] : {};
				index5 % 2 ? fn27(Object(var826), true).forEach((function(item29) {
					var822(var825, item29, var826[item29]);
				})) : Object.getOwnPropertyDescriptors ? Object.defineProperties(var825, Object.getOwnPropertyDescriptors(var826)) : fn27(Object(var826)).forEach((function(item30) {
					Object.defineProperty(var825, item30, Object.getOwnPropertyDescriptor(var826, item30));
				}));
			}
			return var825;
		}
		Object.defineProperty(var820, "__esModule", { value: true });
		var820.decodeFlag = function(var827) {
			return fn28(fn28({}, var827), {}, {
				variations: call4(var827.variations, var827.variationType),
				allocations: var827.allocations.map(call5)
			});
		};
		var820.decodeVariations = call4;
		var820.decodeValue = fn29;
		var820.decodeAllocation = call5;
		var820.decodeSplit = fn30;
		var820.decodeShard = call6;
		var820.decodeObject = call7;
		var820.decodeObjectTo = call8;
		var820.decodePrecomputedFlag = function(var828) {
			var var829, var830, var831;
			return fn28(fn28({}, var828), {}, {
				allocationKey: (0, decodeBase64.decodeBase64)(null !== (var829 = var828.allocationKey) && undefined !== var829 ? var829 : ""),
				variationKey: (0, decodeBase64.decodeBase64)(null !== (var830 = var828.variationKey) && undefined !== var830 ? var830 : ""),
				variationValue: fn29(var828.variationValue, var828.variationType),
				extraLogging: call7(null !== (var831 = var828.extraLogging) && undefined !== var831 ? var831 : {})
			});
		};
		var820.decodePrecomputedBandit = function(var832) {
			var var833, var834;
			return fn28(fn28({}, var832), {}, {
				banditKey: (0, decodeBase64.decodeBase64)(var832.banditKey),
				action: (0, decodeBase64.decodeBase64)(var832.action),
				modelVersion: (0, decodeBase64.decodeBase64)(var832.modelVersion),
				actionNumericAttributes: call8(null !== (var833 = var832.actionNumericAttributes) && undefined !== var833 ? var833 : {}, ((var835) => +var835)),
				actionCategoricalAttributes: call7(null !== (var834 = var832.actionCategoricalAttributes) && undefined !== var834 ? var834 : {})
			});
		};
		const VariationType2 = var821(763483), decodeBase64 = var821(142060);
		function call4(var836, var837) {
			return Object.fromEntries(Object.entries(var836).map((([, var838]) => {
				const var839 = (0, decodeBase64.decodeBase64)(var838.key);
				return [var839, {
					key: var839,
					value: fn29(var838.value, var837)
				}];
			})));
		}
		function fn29(var840, var841) {
			switch (var841) {
				case VariationType2.VariationType.INTEGER:
				case VariationType2.VariationType.NUMERIC: return Number((0, decodeBase64.decodeBase64)(var840));
				case VariationType2.VariationType.BOOLEAN: return "true" === (0, decodeBase64.decodeBase64)(var840);
				default: return (0, decodeBase64.decodeBase64)(var840);
			}
		}
		function call5(var842) {
			return fn28(fn28({}, var842), {}, {
				key: (0, decodeBase64.decodeBase64)(var842.key),
				splits: var842.splits.map(fn30),
				startAt: var842.startAt ? new Date((0, decodeBase64.decodeBase64)(var842.startAt)).toISOString() : undefined,
				endAt: var842.endAt ? new Date((0, decodeBase64.decodeBase64)(var842.endAt)).toISOString() : undefined
			});
		}
		function fn30(var843) {
			return {
				extraLogging: var843.extraLogging ? call7(var843.extraLogging) : undefined,
				variationKey: (0, decodeBase64.decodeBase64)(var843.variationKey),
				shards: var843.shards.map(call6)
			};
		}
		function call6(salt1) {
			return fn28(fn28({}, salt1), {}, { salt: (0, decodeBase64.decodeBase64)(salt1.salt) });
		}
		function call7(var844) {
			return call8(var844, ((var845) => var845));
		}
		function call8(var846, var847) {
			return Object.fromEntries(Object.entries(var846).map((([var848, var849]) => [(0, decodeBase64.decodeBase64)(var848), var847((0, decodeBase64.decodeBase64)(var849))])));
		}
	},
	427310: (var850, EppoAssignmentLogger) => {
		"use strict";
		Object.defineProperty(EppoAssignmentLogger, "__esModule", { value: true });
		EppoAssignmentLogger.EppoAssignmentLogger = undefined;
		EppoAssignmentLogger.EppoAssignmentLogger = class {
			constructor(var851) {
				this.eppoClient = var851;
			}
			logAssignment(var852) {
				const { entityId: var853, featureFlag: var854, experiment: var855, allocation: var856, holdoutKey: var857, holdoutVariation: var858, subject: var859, variation: var860 } = var852;
				if (!var853) return;
				const obj30 = {
					entity_id: var853,
					experiment: var855,
					feature_flag: var854,
					allocation: var856,
					holdout_variation: var858,
					holdout: var857,
					subject: var859,
					variation: var860
				};
				this.eppoClient.track("__eppo_assignment", obj30);
			}
		};
	},
	923481: (var861, var862, var863) => {
		"use strict";
		Object.defineProperty(var862, "__esModule", { value: true });
		var862.EppoValue = var862.EppoValueType = undefined;
		const VariationType3 = var863(763483), getMD5Hash3 = var863(142060);
		var var864;
		!function(var865) {
			var865[var865.NullType = 0] = "NullType";
			var865[var865.BoolType = 1] = "BoolType";
			var865[var865.NumericType = 2] = "NumericType";
			var865[var865.StringType = 3] = "StringType";
			var865[var865.JSONType = 4] = "JSONType";
		}(var864 || (var862.EppoValueType = var864 = {}));
		class fn31 {
			constructor(var866, var867, var868, var869, var870) {
				this.valueType = var866;
				this.boolValue = var867;
				this.numericValue = var868;
				this.stringValue = var869;
				this.objectValue = var870;
			}
			static valueOf(var871, var872) {
				if (null == var871) return fn31.Null();
				switch (var872) {
					case VariationType3.VariationType.BOOLEAN: return fn31.Bool(var871);
					case VariationType3.VariationType.NUMERIC:
					case VariationType3.VariationType.INTEGER: return fn31.Numeric(var871);
					case VariationType3.VariationType.STRING: return fn31.String(var871);
					case VariationType3.VariationType.JSON: return fn31.JSON(var871);
					default: return fn31.String(var871);
				}
			}
			toString() {
				var var873;
				switch (this.valueType) {
					case var864.NullType: return "null";
					case var864.BoolType: return this.boolValue ? "true" : "false";
					case var864.NumericType: return this.numericValue ? this.numericValue.toString() : "0";
					case var864.StringType: return null !== (var873 = this.stringValue) && undefined !== var873 ? var873 : "";
					case var864.JSONType: try {
						var var874;
						return null !== (var874 = JSON.stringify(this.objectValue)) && undefined !== var874 ? var874 : "";
					} catch (error21) {
						var var875;
						return null !== (var875 = this.stringValue) && undefined !== var875 ? var875 : "";
					}
				}
			}
			toHashedString() {
				return (0, getMD5Hash3.getMD5Hash)("[object Object]");
			}
			static Bool(var876) {
				return new fn31(var864.BoolType, var876, undefined, undefined, undefined);
			}
			static Numeric(var877) {
				return new fn31(var864.NumericType, undefined, var877, undefined, undefined);
			}
			static String(var878) {
				return new fn31(var864.StringType, undefined, undefined, var878, undefined);
			}
			static JSON(var879) {
				return new fn31(var864.JSONType, undefined, undefined, undefined, "string" == typeof var879 ? JSON.parse(var879) : var879);
			}
			static Null() {
				return new fn31(var864.NullType, undefined, undefined, undefined, undefined);
			}
		}
		var862.EppoValue = fn31;
	},
	742686: (var880, var881, var882) => {
		"use strict";
		var var883 = var882(443693);
		function fn32(var884, var885) {
			var list19 = Object.keys(var884);
			if (Object.getOwnPropertySymbols) {
				var list20 = Object.getOwnPropertySymbols(var884);
				var885 && (list20 = list20.filter((function(item31) {
					return Object.getOwnPropertyDescriptor(var884, item31).enumerable;
				})));
				list19.push.apply(list19, list20);
			}
			return list19;
		}
		function fn33(var886) {
			for (var index6 = 1; index6 < arguments.length; index6++) {
				var var887 = null != arguments[index6] ? arguments[index6] : {};
				index6 % 2 ? fn32(Object(var887), true).forEach((function(item32) {
					var883(var886, item32, var887[item32]);
				})) : Object.getOwnPropertyDescriptors ? Object.defineProperties(var886, Object.getOwnPropertyDescriptors(var887)) : fn32(Object(var887)).forEach((function(item33) {
					Object.defineProperty(var886, item33, Object.getOwnPropertyDescriptor(var887, item33));
				}));
			}
			return var886;
		}
		Object.defineProperty(var881, "__esModule", { value: true });
		var881.Evaluator = undefined;
		var881.isInShardRange = and1;
		var881.hashKey = fn34;
		var881.noneResult = fn35;
		var881.matchesRules = pick;
		var881.overrideResult = function(var888, var889, var890, key3, setMatch) {
			const var891 = "override-" + key3.key;
			return {
				flagKey: var888,
				subjectKey: var889,
				variation: key3,
				subjectAttributes: var890,
				flagEvaluationDetails: setMatch.setMatch(0, key3, {
					key: var891,
					splits: [],
					doLog: false
				}, null, undefined).build("MATCH", "Flag override applied"),
				doLog: false,
				format: "",
				allocationKey: var891,
				extraLogging: {},
				entityId: null
			};
		};
		const checkValueTypeMatch = var882(252635), var892 = var882(111385), FlagEvaluationError1 = var882(518963), matchesRule = var882(131344), MD5Sharder1 = var882(736055);
		function and1(var893, var894) {
			return var894.start <= var893 && var893 < var894.end;
		}
		function fn34(var895, var896) {
			return `${var895}-${var896}`;
		}
		function fn35(var897, var898, var899, var900, var901) {
			return {
				flagKey: var897,
				format: var901,
				subjectKey: var898,
				subjectAttributes: var899,
				allocationKey: null,
				variation: null,
				extraLogging: {},
				doLog: false,
				flagEvaluationDetails: var900,
				entityId: null
			};
		}
		function pick(var902, var903, var904) {
			if (!var902.length) return {
				matched: true,
				matchedRule: null
			};
			let var905 = null;
			return var902.some(((item34) => {
				const var906 = (0, matchesRule.matchesRule)(item34, var903, var904);
				var906 && (var905 = item34);
				return var906;
			})) ? {
				matched: true,
				matchedRule: var905
			} : {
				matched: false,
				matchedRule: null
			};
		}
		var881.Evaluator = class {
			constructor(var907) {
				this.getMatchedEvaluationCodeAndDescription = (value7, var908, var909, var910, var911) => {
					var list21;
					if (!(0, checkValueTypeMatch.checkValueTypeMatch)(var911, value7.value)) {
						const { key: var912, value: var913 } = value7;
						return {
							flagEvaluationCode: "ASSIGNMENT_ERROR",
							flagEvaluationDescription: `Variation (${var912}) is configured for type ${var911}, but is set to incompatible value (${var913})`
						};
					}
					const var914 = !(null === (list21 = var908.rules) || undefined === list21 || !list21.length), var915 = var908.splits.length > 1, var916 = var909.shards.length > 1, var917 = var915 || var916;
					return var914 && var917 ? {
						flagEvaluationCode: "MATCH",
						flagEvaluationDescription: `Supplied attributes match rules defined in allocation "${var908.key}" and ${var910} belongs to the range of traffic assigned to "${var909.variationKey}".`
					} : var914 && !var917 ? {
						flagEvaluationCode: "MATCH",
						flagEvaluationDescription: `Supplied attributes match rules defined in allocation "${var908.key}".`
					} : {
						flagEvaluationCode: "MATCH",
						flagEvaluationDescription: `${var910} belongs to the range of traffic assigned to "${var909.variationKey}" defined in allocation "${var908.key}".`
					};
				};
				this.sharder = null != var907 ? var907 : new MD5Sharder1.MD5Sharder();
			}
			evaluateFlag(var918, var919, var920, var921, var922, var923) {
				const obj31 = new var892.FlagEvaluationDetailsBuilder(var919.configEnvironment.name, var918.allocations, var919.configFetchedAt, var919.configPublishedAt);
				try {
					if (!var918.enabled) return fn35(var918.key, var920, var921, obj31.buildForNoneResult("FLAG_UNRECOGNIZED_OR_DISABLED", `Unrecognized or disabled flag: ${var918.key}`), var919.configFormat);
					const date1 = new Date();
					for (let index7 = 0; index7 < var918.allocations.length; index7++) {
						var var924;
						const var925 = var918.allocations[index7], var926 = (var927) => {
							obj31.addUnmatchedAllocation({
								key: var925.key,
								allocationEvaluationCode: var927,
								orderPosition: index7 + 1
							});
						};
						if (var925.startAt && date1 < new Date(var925.startAt)) {
							var926(var892.AllocationEvaluationCode.BEFORE_START_TIME);
							continue;
						}
						if (var925.endAt && date1 > new Date(var925.endAt)) {
							var926(var892.AllocationEvaluationCode.AFTER_END_TIME);
							continue;
						}
						const { matched: var928, matchedRule: var929 } = pick(null !== (var924 = null == var925 ? undefined : var925.rules) && undefined !== var924 ? var924 : [], fn33({ id: var920 }, var921), var922);
						if (var928) {
							for (const var930 of var925.splits) if (var930.shards.every(((item35) => this.matchesShard(item35, var920, var918.totalShards)))) {
								var var931, var932;
								const var933 = var918.variations[var930.variationKey], { flagEvaluationCode: var934, flagEvaluationDescription: var935 } = this.getMatchedEvaluationCodeAndDescription(var933, var925, var930, var920, var923), var936 = obj31.setMatch(index7, var933, var925, var929, var923).build(var934, var935);
								return {
									flagKey: var918.key,
									format: var919.configFormat,
									subjectKey: var920,
									subjectAttributes: var921,
									allocationKey: var925.key,
									variation: var933,
									extraLogging: null !== (var931 = var930.extraLogging) && undefined !== var931 ? var931 : {},
									doLog: var925.doLog,
									flagEvaluationDetails: var936,
									entityId: null !== (var932 = var918.entityId) && undefined !== var932 ? var932 : null
								};
							}
							var926(var892.AllocationEvaluationCode.TRAFFIC_EXPOSURE_MISS);
						} else var926(var892.AllocationEvaluationCode.FAILING_RULE);
					}
					return fn35(var918.key, var920, var921, obj31.buildForNoneResult("DEFAULT_ALLOCATION_NULL", "No allocations matched. Falling back to \"Default Allocation\", serving NULL"), var919.configFormat);
				} catch (error22) {
					console.error(">>>>", error22);
					const var937 = obj31.gracefulBuild("ASSIGNMENT_ERROR", `Assignment Error: ${error22.message}`);
					if (var937) {
						const obj32 = new FlagEvaluationError1.FlagEvaluationError(error22.message);
						obj32.flagEvaluationDetails = var937;
						throw obj32;
					}
					throw error22;
				}
			}
			matchesShard(var938, var939, var940) {
				const var941 = this.sharder.getShard(fn34(var938.salt, var939), var940);
				return var938.ranges.some(((item36) => item36.start <= var941 && var941 < item36.end));
			}
		};
	},
	978333: (var942, default30) => {
		"use strict";
		Object.defineProperty(default30, "__esModule", { value: true });
		default30.default = class {
			constructor(var943, var944) {
				this.eventQueue = var943;
				this.batchSize = Math.max(100, Math.min(1e4, var944));
			}
			nextBatch() {
				return this.eventQueue.splice(this.batchSize);
			}
			push(...var945) {
				this.eventQueue.push(...var945);
			}
			isEmpty() {
				return this.eventQueue.isEmpty();
			}
		};
	},
	59320: (var946, default31, var947) => {
		"use strict";
		Object.defineProperty(default31, "__esModule", { value: true });
		const logger = var947(328902);
		default31.default = class {
			constructor(var948, var949) {
				this.delivery = var948;
				this.config = var949;
			}
			async retry(list22, var950, var951 = 0) {
				const { retryIntervalMs: var952, maxRetryDelayMs: var953, maxRetries: var954 } = this.config, var955 = Math.min(var952 * Math.pow(2, var951), var953);
				logger.logger.info(`[BatchRetryManager] Retrying batch delivery of ${list22.length} events in ${var955}ms...`);
				await new Promise(((var956) => setTimeout(var956, var955)));
				const { failedEvents: list23 } = await this.delivery.deliver(list22, var950);
				return 0 === list23.length ? (logger.logger.info(`[BatchRetryManager] Batch delivery successfully after ${var951 + 1} tries.`), []) : var951 < var954 - 1 ? this.retry(list23, var950, var951 + 1) : (logger.logger.warn(`[BatchRetryManager] Failed to deliver batch after ${var954} tries, bailing`), list22);
			}
		};
	},
	660359: (var957, BoundedEventQueue1, var958) => {
		"use strict";
		Object.defineProperty(BoundedEventQueue1, "__esModule", { value: true });
		BoundedEventQueue1.BoundedEventQueue = undefined;
		const logger1 = var958(328902), MAX_EVENT_QUEUE_SIZE = var958(723490);
		class fn36 {
			constructor(var959, var960 = new Array(), var961 = MAX_EVENT_QUEUE_SIZE.MAX_EVENT_QUEUE_SIZE) {
				this.name = var959;
				this.queue = var960;
				this.maxSize = var961;
			}
			get length() {
				return this.queue.length;
			}
			splice(var962) {
				return this.queue.splice(0, var962);
			}
			isEmpty() {
				return 0 === this.queue.length;
			}
			[Symbol.iterator]() {
				return this.queue[Symbol.iterator]();
			}
			push(...list24) {
				const { name: var963, maxSize: var964, queue: list25 } = this;
				for (; list25.length < var964 && list24.length > 0;) list25.push(...list24.splice(0, 1));
				list24.length > 0 && logger1.logger.warn(`Dropping ${list24.length} events for queue ${var963} since maxSize of ${var964} reached.`);
			}
			flush() {
				const arr3 = [...this.queue];
				this.queue.length = 0;
				return arr3;
			}
		}
		BoundedEventQueue1.BoundedEventQueue = fn36;
	},
	456355: (var965, var966, var967) => {
		"use strict";
		var var968 = var967(443693);
		function fn37(var969, var970) {
			var list26 = Object.keys(var969);
			if (Object.getOwnPropertySymbols) {
				var list27 = Object.getOwnPropertySymbols(var969);
				var970 && (list27 = list27.filter((function(item37) {
					return Object.getOwnPropertyDescriptor(var969, item37).enumerable;
				})));
				list26.push.apply(list26, list27);
			}
			return list26;
		}
		function fn38(var971) {
			for (var index8 = 1; index8 < arguments.length; index8++) {
				var var972 = null != arguments[index8] ? arguments[index8] : {};
				index8 % 2 ? fn37(Object(var972), true).forEach((function(item38) {
					var968(var971, item38, var972[item38]);
				})) : Object.getOwnPropertyDescriptors ? Object.defineProperties(var971, Object.getOwnPropertyDescriptors(var972)) : fn37(Object(var972)).forEach((function(item39) {
					Object.defineProperty(var971, item39, Object.getOwnPropertyDescriptor(var972, item39));
				}));
			}
			return var971;
		}
		Object.defineProperty(var966, "__esModule", { value: true });
		var966.DEFAULT_EVENT_DISPATCHER_CONFIG = var966.DEFAULT_EVENT_DISPATCHER_BATCH_SIZE = undefined;
		var966.newDefaultEventDispatcher = function(var973, var974, var975, var976 = var966.DEFAULT_EVENT_DISPATCHER_BATCH_SIZE, var977 = var966.DEFAULT_EVENT_DISPATCHER_CONFIG) {
			const var978 = new default36.default().decodeEventIngestionUrl(var975);
			if (!var978) return logger2.logger.debug("Unable to parse Event ingestion URL from SDK key, falling back to no-op event dispatcher"), new default35.default();
			return new fn39(new default32.default(var973, var976), var974, fn38(fn38({}, var977), {}, {
				ingestionUrl: var978,
				sdkKey: var975
			}));
		};
		const logger2 = var967(328902), default32 = var967(978333), default33 = var967(59320), default34 = var967(703278), default35 = var967(164503), default36 = var967(599050);
		var966.DEFAULT_EVENT_DISPATCHER_BATCH_SIZE = 1e3;
		var966.DEFAULT_EVENT_DISPATCHER_CONFIG = {
			deliveryIntervalMs: 1e4,
			retryIntervalMs: 5e3,
			maxRetryDelayMs: 3e4,
			maxRetries: 3
		};
		class fn39 {
			constructor(var979, var980, deliveryIntervalMs) {
				this.batchProcessor = var979;
				this.networkStatusListener = var980;
				this.context = {};
				this.dispatchTimer = null;
				this.isOffline = false;
				this.ensureConfigFields(deliveryIntervalMs);
				const { sdkKey: var981, ingestionUrl: var982, retryIntervalMs: var983, maxRetryDelayMs: var984, maxRetries: var985 = 3 } = deliveryIntervalMs;
				this.eventDelivery = new default34.default(var981, var982);
				this.retryManager = new default33.default(this.eventDelivery, {
					retryIntervalMs: var983,
					maxRetryDelayMs: var984,
					maxRetries: var985
				});
				this.deliveryIntervalMs = deliveryIntervalMs.deliveryIntervalMs;
				this.networkStatusListener.onNetworkStatusChange(((var986) => {
					logger2.logger.info(`[EventDispatcher] Network status change, isOffline=${var986}.`);
					this.isOffline = var986;
					var986 ? this.dispatchTimer = null : this.maybeScheduleNextDelivery();
				}));
			}
			attachContext(var987, var988) {
				this.ensureValidContext(var987, var988);
				this.context[var987] = var988;
			}
			dispatch(var989) {
				this.ensureValidEvent(var989);
				this.batchProcessor.push(var989);
				this.maybeScheduleNextDelivery();
			}
			ensureValidContext(var990, var991) {
				if (var991 && ("object" == typeof var991 || Array.isArray(var991))) throw new Error("Context value must be a string, number, boolean, or null");
				if (var991 && JSON.stringify(fn38(fn38({}, this.context), {}, { [var990]: var991 })).length > 2048) throw new Error("The total context size must be less than 2048 characters");
			}
			ensureValidEvent(var992) {
				if (JSON.stringify(var992).length > 4096) throw new Error("Event serialized length exceeds maximum allowed length of 4096");
			}
			async deliverNextBatch() {
				if (this.isOffline) return void logger2.logger.warn("[EventDispatcher] Skipping delivery; network status is offline.");
				const list28 = this.batchProcessor.nextBatch();
				if (0 === list28.length) return void (this.dispatchTimer = null);
				const var993 = fn38({}, this.context), { failedEvents: list29 } = await this.eventDelivery.deliver(list28, var993);
				if (list29.length > 0) {
					logger2.logger.warn("[EventDispatcher] Failed to deliver some events from batch, retrying...");
					const list30 = await this.retryManager.retry(list29, var993);
					list30.length > 0 && this.batchProcessor.push(...list30);
				}
				logger2.logger.debug(`[EventDispatcher] Delivered batch of ${list28.length} events.`);
				this.dispatchTimer = null;
				this.maybeScheduleNextDelivery();
			}
			maybeScheduleNextDelivery() {
				this.isOffline || this.batchProcessor.isEmpty() || this.dispatchTimer || (logger2.logger.info(`[EventDispatcher] Scheduling next delivery in ${this.deliveryIntervalMs}ms.`), this.dispatchTimer = setTimeout((() => this.deliverNextBatch()), this.deliveryIntervalMs));
			}
			ensureConfigFields(var994) {
				if (!var994.ingestionUrl) throw new Error("Missing required ingestionUrl in EventDispatcherConfig");
				if (!var994.deliveryIntervalMs) throw new Error("Missing required deliveryIntervalMs in EventDispatcherConfig");
				if (!var994.retryIntervalMs) throw new Error("Missing required retryIntervalMs in EventDispatcherConfig");
				if (!var994.maxRetryDelayMs) throw new Error("Missing required maxRetryDelayMs in EventDispatcherConfig");
			}
		}
		var966.default = fn39;
	},
	703278: (var995, default37, var996) => {
		"use strict";
		Object.defineProperty(default37, "__esModule", { value: true });
		const logger3 = var996(328902);
		default37.default = class {
			constructor(var997, var998) {
				this.sdkKey = var997;
				this.ingestionUrl = var998;
			}
			async deliver(list31, var999) {
				try {
					logger3.logger.info(`[EventDispatcher] Delivering batch of ${list31.length} events to ${this.ingestionUrl}...`);
					const var1000 = await fetch(this.ingestionUrl, {
						method: "POST",
						headers: {
							"Content-Type": "application/json",
							"x-eppo-token": this.sdkKey
						},
						body: JSON.stringify({
							eppo_events: list31,
							context: var999
						})
					});
					return var1000.ok ? await this.parseFailedEvents(var1000, list31) : { failedEvents: list31 };
				} catch (error23) {
					logger3.logger.warn("Failed to upload event batch", error23);
					return { failedEvents: list31 };
				}
			}
			async parseFailedEvents(json2, list32) {
				logger3.logger.info("[EventDispatcher] Batch delivered successfully.");
				const failed_events = await json2.json(), set6 = new Set((null == failed_events ? undefined : failed_events.failed_events) || []);
				return set6.size > 0 ? (logger3.logger.warn(`[EventDispatcher] ${set6.size}/${list32.length} events failed ingestion.`), { failedEvents: list32.filter((({ uuid: var1001 }) => set6.has(var1001))) }) : { failedEvents: [] };
			}
		};
	},
	164503: (var1002, default38) => {
		"use strict";
		Object.defineProperty(default38, "__esModule", { value: true });
		default38.default = class {
			attachContext(var1003, var1004) {}
			dispatch(var1005) {}
		};
	},
	599050: (var1006, default39, var1007) => {
		"use strict";
		Object.defineProperty(default39, "__esModule", { value: true });
		const Base64 = var1007(808127), str5 = "v0/i";
		default39.default = class {
			decodeEventIngestionUrl(str6) {
				const var1008 = str6.split(".")[1];
				if (!var1008) return null;
				const str7 = new URLSearchParams(Base64.Base64.decode(var1008)).get("eh");
				if (!str7) return null;
				const str8 = str7.endsWith("/") ? `${str7}${str5}` : `${str7}/${str5}`;
				return str8.startsWith("http://") || str8.startsWith("https://") ? str8 : `https://${str8}`;
			}
		};
	},
	111385: (var1009, var1010, var1011) => {
		"use strict";
		Object.defineProperty(var1010, "__esModule", { value: true });
		var1010.FlagEvaluationDetailsBuilder = var1010.AllocationEvaluationCode = var1010.flagEvaluationCodes = undefined;
		const VariationType4 = var1011(763483);
		var var1012;
		var1010.flagEvaluationCodes = [
			"MATCH",
			"FLAG_UNRECOGNIZED_OR_DISABLED",
			"TYPE_MISMATCH",
			"ASSIGNMENT_ERROR",
			"DEFAULT_ALLOCATION_NULL",
			"NO_ACTIONS_SUPPLIED_FOR_BANDIT",
			"BANDIT_ERROR"
		];
		(function(var1013) {
			var1013.UNEVALUATED = "UNEVALUATED";
			var1013.MATCH = "MATCH";
			var1013.BEFORE_START_TIME = "BEFORE_START_TIME";
			var1013.TRAFFIC_EXPOSURE_MISS = "TRAFFIC_EXPOSURE_MISS";
			var1013.AFTER_END_TIME = "AFTER_END_TIME";
			var1013.FAILING_RULE = "FAILING_RULE";
		})(var1012 || (var1010.AllocationEvaluationCode = var1012 = {}));
		var1010.FlagEvaluationDetailsBuilder = class {
			constructor(var1014, var1015, var1016, var1017) {
				this.environmentName = var1014;
				this.allocations = var1015;
				this.configFetchedAt = var1016;
				this.configPublishedAt = var1017;
				this.variationKey = null;
				this.variationValue = null;
				this.matchedRule = null;
				this.matchedAllocation = null;
				this.unmatchedAllocations = [];
				this.addUnmatchedAllocation = (var1018) => {
					this.unmatchedAllocations.push(var1018);
				};
				this.setNone = () => this.variationKey = null;
				this.setMatch = (var1019, var1020, key4, var1021, var1022) => this.variationKey = var1020.key;
				this.buildForNoneResult = (var1023, var1024) => this.setNone().build(var1023, var1024);
				this.build = (var1025, var1026) => ({
					environmentName: this.environmentName,
					flagEvaluationCode: var1025,
					flagEvaluationDescription: var1026,
					variationKey: this.variationKey,
					variationValue: this.variationValue,
					banditKey: null,
					banditAction: null,
					configFetchedAt: this.configFetchedAt,
					configPublishedAt: this.configPublishedAt,
					matchedRule: this.matchedRule,
					matchedAllocation: this.matchedAllocation,
					unmatchedAllocations: this.unmatchedAllocations,
					unevaluatedAllocations: this.calculateUnevaluatedAllocations()
				});
				this.gracefulBuild = (var1027, var1028) => {
					try {
						return this.build(var1027, var1028);
					} catch (error24) {
						return null;
					}
				};
				this.calculateUnevaluatedAllocations = () => {
					const var1029 = this.matchedAllocation ? this.unmatchedAllocations.length + 1 : this.unmatchedAllocations.length, var1030 = var1029 + 1;
					return this.allocations.slice(var1029).map(((item40, index9) => ({
						key: item40.key,
						allocationEvaluationCode: var1012.UNEVALUATED,
						orderPosition: var1030 + index9
					})));
				};
				this.setNone();
			}
		};
	},
	518963: (var1031, FlagEvaluationError2) => {
		"use strict";
		Object.defineProperty(FlagEvaluationError2, "__esModule", { value: true });
		FlagEvaluationError2.FlagEvaluationError = undefined;
		class fn40 extends Error {}
		FlagEvaluationError2.FlagEvaluationError = fn40;
	},
	833027: (var1032, var1033) => {
		"use strict";
		Object.defineProperty(var1033, "__esModule", { value: true });
		var1033.HttpRequestError = undefined;
		class fn41 extends Error {
			constructor(var1034, var1035, var1036) {
				super(var1034);
				this.message = var1034;
				this.status = var1035;
				this.cause = var1036;
				var1036 && (this.cause = var1036);
			}
		}
		var1033.HttpRequestError = fn41;
		var1033.default = class {
			constructor(var1037, var1038) {
				this.apiEndpoints = var1037;
				this.timeout = var1038;
			}
			async getUniversalFlagConfiguration() {
				const var1039 = this.apiEndpoints.ufcEndpoint();
				return await this.rawGet(var1039);
			}
			async getBanditParameters() {
				const var1040 = this.apiEndpoints.banditParametersEndpoint();
				return await this.rawGet(var1040);
			}
			async getPrecomputedFlags(var1041) {
				const var1042 = this.apiEndpoints.precomputedFlagsEndpoint();
				return await this.rawPost(var1042, var1041);
			}
			async rawGet(var1043) {
				try {
					const obj33 = new AbortController(), signal = obj33.signal, var1044 = setTimeout((() => obj33.abort()), this.timeout), var1045 = await fetch(var1043, { signal });
					if (clearTimeout(var1044), null == var1045 || !var1045.ok) throw new fn41("Failed to fetch data", null == var1045 ? undefined : var1045.status);
					return await var1045.json();
				} catch (error25) {
					if ("AbortError" === error25.name) throw new fn41("Request timed out", 408, error25);
					if (error25 instanceof fn41) throw error25;
					throw new fn41("Network error", 0, error25);
				}
			}
			async rawPost(var1046, var1047) {
				try {
					const obj34 = new AbortController(), signal1 = obj34.signal, var1048 = setTimeout((() => obj34.abort()), this.timeout), var1049 = await fetch(var1046, {
						method: "POST",
						headers: { "Content-Type": "application/json" },
						body: JSON.stringify(var1047),
						signal: signal1
					});
					if (clearTimeout(var1048), null == var1049 || !var1049.ok) {
						const var1050 = await var1049.text();
						throw new fn41(var1050 || "Failed to post data", null == var1049 ? undefined : var1049.status);
					}
					return await var1049.json();
				} catch (error26) {
					if ("AbortError" === error26.name) throw new fn41("Request timed out", 408, error26);
					if (error26 instanceof fn41) throw error26;
					throw new fn41("Network error", 0, error26);
				}
			}
		};
	},
	271067: (var1051, StoreBackedConfiguration2, var1052) => {
		"use strict";
		Object.defineProperty(StoreBackedConfiguration2, "__esModule", { value: true });
		StoreBackedConfiguration2.StoreBackedConfiguration = undefined;
		const hydrateConfigurationStore1 = var1052(646168), OBFUSCATED_FORMATS = var1052(723490);
		StoreBackedConfiguration2.StoreBackedConfiguration = class {
			constructor(var1053, var1054, var1055) {
				this.flagConfigurationStore = var1053;
				this.banditVariationConfigurationStore = var1054;
				this.banditModelConfigurationStore = var1055;
			}
			async hydrateConfigurationStores(var1056, var1057, var1058) {
				const var1059 = await (0, hydrateConfigurationStore1.hydrateConfigurationStore)(this.flagConfigurationStore, var1056), arr4 = [];
				this.banditVariationConfigurationStore && var1057 && arr4.push((0, hydrateConfigurationStore1.hydrateConfigurationStore)(this.banditVariationConfigurationStore, var1057));
				this.banditModelConfigurationStore && var1058 && arr4.push((0, hydrateConfigurationStore1.hydrateConfigurationStore)(this.banditModelConfigurationStore, var1058));
				await Promise.all(arr4);
				return var1059;
			}
			getBandit(var1060) {
				var var1061, get4;
				return null !== (var1061 = null === (get4 = this.banditModelConfigurationStore) || undefined === get4 ? undefined : get4.get(var1060)) && undefined !== var1061 ? var1061 : null;
			}
			getFlagVariationBandit(var1062, var1063) {
				var get5, key5;
				const find = null === (get5 = this.banditVariationConfigurationStore) || undefined === get5 ? undefined : get5.get(var1062), var1064 = null == find || null === (key5 = find.find(((item41) => item41.variationValue === var1063))) || undefined === key5 ? undefined : key5.key;
				return var1064 ? this.getBandit(var1064) : null;
			}
			getFlag(var1065) {
				var var1066;
				return null !== (var1066 = this.flagConfigurationStore.get(var1065)) && undefined !== var1066 ? var1066 : null;
			}
			getFlagConfigDetails() {
				var var1067, var1068, var1069, var1070;
				return {
					configFetchedAt: null !== (var1067 = this.flagConfigurationStore.getConfigFetchedAt()) && undefined !== var1067 ? var1067 : "",
					configPublishedAt: null !== (var1068 = this.flagConfigurationStore.getConfigPublishedAt()) && undefined !== var1068 ? var1068 : "",
					configEnvironment: null !== (var1069 = this.flagConfigurationStore.getEnvironment()) && undefined !== var1069 ? var1069 : { name: "" },
					configFormat: null !== (var1070 = this.flagConfigurationStore.getFormat()) && undefined !== var1070 ? var1070 : ""
				};
			}
			getFlagBanditVariations(var1071) {
				var var1072, get6;
				return null !== (var1072 = null === (get6 = this.banditVariationConfigurationStore) || undefined === get6 ? undefined : get6.get(var1071)) && undefined !== var1072 ? var1072 : [];
			}
			getFlagKeys() {
				return this.flagConfigurationStore.getKeys();
			}
			getFlags() {
				return this.flagConfigurationStore.entries();
			}
			isObfuscated() {
				var var1073;
				return OBFUSCATED_FORMATS.OBFUSCATED_FORMATS.includes(null !== (var1073 = this.getFlagConfigDetails().configFormat) && undefined !== var1073 ? var1073 : "SERVER");
			}
			isInitialized() {
				return this.flagConfigurationStore.isInitialized() && (!this.banditVariationConfigurationStore || this.banditVariationConfigurationStore.isInitialized()) && (!this.banditModelConfigurationStore || this.banditModelConfigurationStore.isInitialized());
			}
			getBandits() {
				var var1074, entries1;
				return null !== (var1074 = null === (entries1 = this.banditModelConfigurationStore) || undefined === entries1 ? undefined : entries1.entries()) && undefined !== var1074 ? var1074 : {};
			}
			getBanditVariations() {
				var var1075, entries2;
				return null !== (var1075 = null === (entries2 = this.banditVariationConfigurationStore) || undefined === entries2 ? undefined : entries2.entries()) && undefined !== var1075 ? var1075 : {};
			}
		};
	},
	123231: (var1076, var1077, var1078) => {
		"use strict";
		Object.defineProperty(var1077, "__esModule", { value: true });
		var1077.buildStorageKeySuffix = var1077.decodePrecomputedFlag = var1077.ConfigurationWireHelper = var1077.DefaultEventDispatcher = var1077.BatchEventProcessor = var1077.newDefaultEventDispatcher = var1077.DEFAULT_EVENT_DISPATCHER_BATCH_SIZE = var1077.DEFAULT_EVENT_DISPATCHER_CONFIG = var1077.BoundedEventQueue = var1077.FormatEnum = var1077.VariationType = var1077.assignmentCacheValueToString = var1077.assignmentCacheKeyToString = var1077.LRUInMemoryAssignmentCache = var1077.NonExpiringInMemoryAssignmentCache = var1077.MemoryOnlyConfigurationStore = var1077.HybridConfigurationStore = var1077.MemoryStore = var1077.EppoPrecomputedClient = var1077.validation = var1077.HttpClient = var1077.FlagConfigRequestor = var1077.ApiEndpoints = var1077.constants = var1077.EppoClient = var1077.EppoAssignmentLogger = var1077.AbstractAssignmentCache = var1077.applicationLogger = var1077.loggerPrefix = undefined;
		var1077.ApiEndpoints = var1078(127660).default;
		const var1079 = var1078(328902);
		Object.defineProperty(var1077, "applicationLogger", {
			enumerable: true,
			get: function() {
				return var1079.logger;
			}
		});
		Object.defineProperty(var1077, "loggerPrefix", {
			enumerable: true,
			get: function() {
				return var1079.loggerPrefix;
			}
		});
		const var1080 = var1078(305397);
		Object.defineProperty(var1077, "AbstractAssignmentCache", {
			enumerable: true,
			get: function() {
				return var1080.AbstractAssignmentCache;
			}
		});
		Object.defineProperty(var1077, "assignmentCacheKeyToString", {
			enumerable: true,
			get: function() {
				return var1080.assignmentCacheKeyToString;
			}
		});
		Object.defineProperty(var1077, "assignmentCacheValueToString", {
			enumerable: true,
			get: function() {
				return var1080.assignmentCacheValueToString;
			}
		});
		const LRUInMemoryAssignmentCache3 = var1078(704814);
		Object.defineProperty(var1077, "LRUInMemoryAssignmentCache", {
			enumerable: true,
			get: function() {
				return LRUInMemoryAssignmentCache3.LRUInMemoryAssignmentCache;
			}
		});
		const NonExpiringInMemoryAssignmentCache4 = var1078(358651);
		Object.defineProperty(var1077, "NonExpiringInMemoryAssignmentCache", {
			enumerable: true,
			get: function() {
				return NonExpiringInMemoryAssignmentCache4.NonExpiringInMemoryAssignmentCache;
			}
		});
		var1077.EppoClient = var1078(252635).default;
		var1077.EppoPrecomputedClient = var1078(956738).default;
		var1077.FlagConfigRequestor = var1078(371152).default;
		const HybridConfigurationStore2 = var1078(901741);
		Object.defineProperty(var1077, "HybridConfigurationStore", {
			enumerable: true,
			get: function() {
				return HybridConfigurationStore2.HybridConfigurationStore;
			}
		});
		const var1081 = var1078(780952);
		Object.defineProperty(var1077, "MemoryStore", {
			enumerable: true,
			get: function() {
				return var1081.MemoryStore;
			}
		});
		Object.defineProperty(var1077, "MemoryOnlyConfigurationStore", {
			enumerable: true,
			get: function() {
				return var1081.MemoryOnlyConfigurationStore;
			}
		});
		const ConfigurationWireHelper1 = var1078(58135);
		Object.defineProperty(var1077, "ConfigurationWireHelper", {
			enumerable: true,
			get: function() {
				return ConfigurationWireHelper1.ConfigurationWireHelper;
			}
		});
		var1077.constants = var1078(723490);
		const decodePrecomputedFlag = var1078(178898);
		Object.defineProperty(var1077, "decodePrecomputedFlag", {
			enumerable: true,
			get: function() {
				return decodePrecomputedFlag.decodePrecomputedFlag;
			}
		});
		const EppoAssignmentLogger1 = var1078(427310);
		Object.defineProperty(var1077, "EppoAssignmentLogger", {
			enumerable: true,
			get: function() {
				return EppoAssignmentLogger1.EppoAssignmentLogger;
			}
		});
		var1077.BatchEventProcessor = var1078(978333).default;
		const BoundedEventQueue2 = var1078(660359);
		Object.defineProperty(var1077, "BoundedEventQueue", {
			enumerable: true,
			get: function() {
				return BoundedEventQueue2.BoundedEventQueue;
			}
		});
		const var1082 = var1078(456355);
		var1077.DefaultEventDispatcher = var1082.default;
		Object.defineProperty(var1077, "DEFAULT_EVENT_DISPATCHER_CONFIG", {
			enumerable: true,
			get: function() {
				return var1082.DEFAULT_EVENT_DISPATCHER_CONFIG;
			}
		});
		Object.defineProperty(var1077, "DEFAULT_EVENT_DISPATCHER_BATCH_SIZE", {
			enumerable: true,
			get: function() {
				return var1082.DEFAULT_EVENT_DISPATCHER_BATCH_SIZE;
			}
		});
		Object.defineProperty(var1077, "newDefaultEventDispatcher", {
			enumerable: true,
			get: function() {
				return var1082.newDefaultEventDispatcher;
			}
		});
		var1077.HttpClient = var1078(833027).default;
		const var1083 = var1078(763483);
		Object.defineProperty(var1077, "VariationType", {
			enumerable: true,
			get: function() {
				return var1083.VariationType;
			}
		});
		Object.defineProperty(var1077, "FormatEnum", {
			enumerable: true,
			get: function() {
				return var1083.FormatEnum;
			}
		});
		const buildStorageKeySuffix = var1078(142060);
		Object.defineProperty(var1077, "buildStorageKeySuffix", {
			enumerable: true,
			get: function() {
				return buildStorageKeySuffix.buildStorageKeySuffix;
			}
		});
		var1077.validation = var1078(793252);
	},
	763483: (var1084, var1085) => {
		"use strict";
		var var1086, var1087;
		Object.defineProperty(var1085, "__esModule", { value: true });
		var1085.FormatEnum = var1085.UNKNOWN_ENVIRONMENT_NAME = var1085.VariationType = undefined;
		(function(var1088) {
			var1088.STRING = "STRING";
			var1088.INTEGER = "INTEGER";
			var1088.NUMERIC = "NUMERIC";
			var1088.BOOLEAN = "BOOLEAN";
			var1088.JSON = "JSON";
		})(var1086 || (var1085.VariationType = var1086 = {}));
		var1085.UNKNOWN_ENVIRONMENT_NAME = "UNKNOWN";
		(function(var1089) {
			var1089.SERVER = "SERVER";
			var1089.CLIENT = "CLIENT";
			var1089.PRECOMPUTED = "PRECOMPUTED";
		})(var1087 || (var1085.FormatEnum = var1087 = {}));
	},
	142060: (var1090, var1091, var1092) => {
		"use strict";
		Object.defineProperty(var1091, "__esModule", { value: true });
		var1091.getMD5Hash = call9;
		var1091.buildStorageKeySuffix = function(var1093) {
			return call9(var1093).slice(0, 16);
		};
		var1091.encodeBase64 = call10;
		var1091.attributeEncodeBase64 = call11;
		var1091.decodeBase64 = function(var1094) {
			return var1108.decode(var1094);
		};
		var1091.obfuscatePrecomputedBanditMap = function(var1095, var1096) {
			return Object.fromEntries(Object.entries(var1096).map((([var1097, var1098]) => {
				return [call9(var1097, var1095), (var1099 = var1098, {
					banditKey: call10(var1099.banditKey),
					action: call10(var1099.action),
					actionProbability: var1099.actionProbability,
					optimalityGap: var1099.optimalityGap,
					modelVersion: call10(var1099.modelVersion),
					actionNumericAttributes: call12(var1099.actionNumericAttributes),
					actionCategoricalAttributes: call12(var1099.actionCategoricalAttributes)
				})];
				var var1099;
			})));
		};
		var1091.obfuscatePrecomputedFlags = function(var1100, var1101) {
			const obj35 = {};
			Object.keys(var1101).forEach(((item42) => {
				var var1102, var1103, var1104;
				const var1105 = var1101[item42], var1106 = Object.fromEntries(Object.entries(null !== (var1102 = var1105.extraLogging) && undefined !== var1102 ? var1102 : {}).map(((item43) => item43.map(call10)))), var1107 = call9(item42, var1100);
				obj35[var1107] = {
					flagKey: var1107,
					variationType: var1105.variationType,
					extraLogging: var1106,
					doLog: var1105.doLog,
					allocationKey: call10(null !== (var1103 = var1105.allocationKey) && undefined !== var1103 ? var1103 : ""),
					variationKey: call10(null !== (var1104 = var1105.variationKey) && undefined !== var1104 ? var1104 : ""),
					variationValue: call10(var1105.variationValue)
				};
			}));
			return obj35;
		};
		const var1108 = var1092(808127), var1109 = var1092(275735);
		function call9(var1110, var1111 = "") {
			return new var1109().append(var1111).append(var1110).end();
		}
		function call10(var1112) {
			return var1108.encode(var1112);
		}
		function call11(var1113) {
			return call10("string" != typeof var1113 ? String(var1113) : var1113);
		}
		function call12(var1114) {
			return Object.fromEntries(Object.entries(var1114).map((([var1115, var1116]) => [call10(var1115), call11(var1116)])));
		}
	},
	294364: (var1117, var1118, var1119) => {
		"use strict";
		Object.defineProperty(var1118, "__esModule", { value: true });
		var1118.OverrideValidator = var1118.sendValidationRequest = undefined;
		const TLRUCache2 = var1119(998350);
		var1118.sendValidationRequest = async (var1120) => {
			const var1121 = await fetch("https://eppo.cloud/api/flag-overrides/v1/validate-key", {
				method: "POST",
				body: JSON.stringify({ key: var1120 }),
				headers: { "Content-Type": "application/json" }
			});
			if (200 !== var1121.status) throw new Error(`Unable to authorize key: ${var1121.statusText}`);
		};
		var1118.OverrideValidator = class {
			constructor() {
				this.validKeyCache = new TLRUCache2.TLRUCache(100, 18e6);
			}
			parseOverridePayload(var1122) {
				try {
					const parsed1 = JSON.parse(var1122);
					this.validateParsedOverridePayload(parsed1);
					return parsed1;
				} catch (error27) {
					var var1123;
					const var1124 = null !== (var1123 = null == error27 ? undefined : error27.message) && undefined !== var1123 ? var1123 : "unknown error";
					throw new Error(`Unable to parse overridePayload: ${var1124}`);
				}
			}
			validateParsedOverridePayload(var1125) {
				if ("object" != typeof var1125) throw new Error("Expected object, but received " + typeof var1125);
				const includes1 = Object.keys(var1125);
				if (!includes1.includes("browserExtensionKey")) throw new Error("Missing required field: 'browserExtensionKey'");
				if (!includes1.includes("overrides")) throw new Error("Missing required field: 'overrides'");
				if ("string" != typeof var1125.browserExtensionKey) throw new Error("Invalid type for 'browserExtensionKey'. Expected string, but received " + typeof var1125.browserExtensionKey);
				if ("object" != typeof var1125.overrides) throw new Error(`Invalid type for 'overrides'. Expected object, but received ${typeof var1125.overrides}.`);
			}
			async validateKey(var1126) {
				if ("true" === this.validKeyCache.get(var1126)) return true;
				await (0, var1118.sendValidationRequest)(var1126);
				this.validKeyCache.set(var1126, "true");
			}
		};
	},
	348869: (var1127, default40, var1128) => {
		"use strict";
		Object.defineProperty(default40, "__esModule", { value: true });
		default40.default = function(var1129, var1130, var1131) {
			let var1132, flag2 = false, num3 = 0, var1133 = var1129, flag3 = false;
			const var1134 = () => {
				flag2 || (flag2 = true, var1132 && clearTimeout(var1132), logger4.logger.info("Eppo SDK polling stopped"));
			};
			async function fn42() {
				if (!flag2) {
					try {
						await var1130();
						num3 = 0;
						var1133 = var1129;
						flag3 && (flag3 = false, logger4.logger.info("Eppo SDK poll successful; resuming normal polling"));
					} catch (error28) {
						var var1135;
						flag3 = true;
						logger4.logger.warn(`Eppo SDK encountered an error polling configurations: ${error28.message}`);
						const var1136 = 1 + (null !== (var1135 = null == var1131 ? undefined : var1131.maxPollRetries) && undefined !== var1135 ? var1135 : var1143.DEFAULT_POLL_CONFIG_REQUEST_RETRIES);
						if (++num3 < var1136) {
							const var1137 = Math.pow(2, num3), var1138 = add(var1129);
							var1133 = var1137 * var1129 + var1138;
							logger4.logger.warn(`Eppo SDK will try polling again in ${var1133} ms (${var1136 - num3} attempts remaining)`);
						} else {
							logger4.logger.error(`Eppo SDK reached maximum of ${num3} failed polling attempts. Stopping polling`);
							var1134();
						}
					}
					setTimeout(fn42, var1133);
				}
			}
			return {
				start: async () => {
					var var1139;
					flag2 = false;
					let flag4 = false, var1140 = null != var1131 && var1131.skipInitialPoll ? 0 : 1 + (null !== (var1139 = null == var1131 ? undefined : var1131.maxStartRetries) && undefined !== var1139 ? var1139 : var1143.DEFAULT_INITIAL_CONFIG_REQUEST_RETRIES), var1141 = null;
					for (; !flag4 && var1140 > 0;) try {
						await var1130();
						flag4 = true;
						flag3 = false;
						logger4.logger.info("Eppo SDK successfully requested initial configuration");
					} catch (error29) {
						if (flag3 = true, logger4.logger.warn(`Eppo SDK encountered an error with initial poll of configurations: ${error29.message}`), --var1140 > 0) {
							const var1142 = add(var1129);
							logger4.logger.warn(`Eppo SDK will retry the initial poll again in ${var1142} ms (${var1140} attempts remaining)`);
							await (0, waitForMs.waitForMs)(var1142);
						} else {
							null != var1131 && var1131.pollAfterFailedStart ? logger4.logger.warn("Eppo SDK initial poll failed; will attempt regular polling") : (logger4.logger.error("Eppo SDK initial poll failed. Aborting polling"), var1134());
							null != var1131 && var1131.errorOnFailedStart && (var1141 = error29);
						}
					}
					if (!flag2 && (flag4 && (null == var1131 ? undefined : var1131.pollAfterSuccessfulStart) || !flag4 && (null == var1131 ? undefined : var1131.pollAfterFailedStart)) ? (logger4.logger.info(`Eppo SDK starting regularly polling every ${var1129} ms`), var1132 = setTimeout(fn42, var1129)) : logger4.logger.info("Eppo SDK will not poll for configuration updates"), var1141) throw logger4.logger.info("Eppo SDK rethrowing start error"), var1141;
				},
				stop: var1134
			};
		};
		const logger4 = var1128(328902), var1143 = var1128(723490), waitForMs = var1128(63071);
		function add(var1144) {
			return var1144 * var1143.POLL_JITTER_PCT / 2 + Math.max(Math.floor(Math.random() * var1144 * var1143.POLL_JITTER_PCT / 2), 1);
		}
	},
	675012: (var1145, default41, var1146) => {
		"use strict";
		Object.defineProperty(default41, "__esModule", { value: true });
		const hydrateConfigurationStore2 = var1146(646168), UNKNOWN_ENVIRONMENT_NAME = var1146(763483);
		default41.default = class {
			constructor(var1147, var1148, var1149, var1150, var1151, var1152) {
				this.httpClient = var1147;
				this.precomputedFlagStore = var1148;
				this.subjectKey = var1149;
				this.subjectAttributes = var1150;
				this.precomputedBanditsStore = var1151;
				this.banditActions = var1152;
			}
			async fetchAndStorePrecomputedFlags() {
				var var1153;
				const var1154 = await this.httpClient.getPrecomputedFlags({
					subject_key: this.subjectKey,
					subject_attributes: this.subjectAttributes,
					bandit_actions: this.banditActions
				});
				if (!var1154) return;
				const arr5 = [];
				var var1155;
				(arr5.push((0, hydrateConfigurationStore2.hydrateConfigurationStore)(this.precomputedFlagStore, {
					entries: var1154.flags,
					environment: null !== (var1153 = var1154.environment) && undefined !== var1153 ? var1153 : { name: UNKNOWN_ENVIRONMENT_NAME.UNKNOWN_ENVIRONMENT_NAME },
					createdAt: var1154.createdAt,
					format: var1154.format,
					salt: var1154.salt
				})), this.precomputedBanditsStore) && arr5.push((0, hydrateConfigurationStore2.hydrateConfigurationStore)(this.precomputedBanditsStore, {
					entries: var1154.bandits,
					environment: null !== (var1155 = var1154.environment) && undefined !== var1155 ? var1155 : { name: UNKNOWN_ENVIRONMENT_NAME.UNKNOWN_ENVIRONMENT_NAME },
					createdAt: var1154.createdAt,
					format: var1154.format,
					salt: var1154.salt
				}));
				await Promise.all(arr5);
			}
		};
	},
	131344: (var1156, var1157, var1158) => {
		"use strict";
		var var1159 = var1158(443693);
		function fn43(var1160, var1161) {
			var list33 = Object.keys(var1160);
			if (Object.getOwnPropertySymbols) {
				var list34 = Object.getOwnPropertySymbols(var1160);
				var1161 && (list34 = list34.filter((function(item44) {
					return Object.getOwnPropertyDescriptor(var1160, item44).enumerable;
				})));
				list33.push.apply(list33, list34);
			}
			return list33;
		}
		Object.defineProperty(var1157, "__esModule", { value: true });
		var1157.ObfuscatedOperatorType = var1157.OperatorType = undefined;
		var1157.matchesRule = function(conditions, var1162, var1163) {
			return !function(var1164, list35, var1165) {
				return list35.map(((item45) => var1165 ? function(var1166, var1167) {
					const var1168 = var1166[var1167.attribute];
					if (var1167.operator === var1185.IS_NULL) return var1167.value === (0, var1183.getMD5Hash)("true") ? null == var1168 : null != var1168;
					if (null != var1168) switch (var1167.operator) {
						case var1185.GTE:
						case var1185.GT:
						case var1185.LTE:
						case var1185.LT: {
							const var1169 = (0, var1183.decodeBase64)(var1167.value);
							if (pick3(var1169) === var1186.SEM_VER) {
								return and2(var1168, var1169, var1167.operator === var1185.GTE ? var1182.gte : var1167.operator === var1185.GT ? var1182.gt : var1167.operator === var1185.LTE ? var1182.lte : var1182.lt);
							}
							const pick1 = (var1170, var1171) => var1167.operator === var1185.GTE ? var1170 >= var1171 : var1167.operator === var1185.GT ? var1170 > var1171 : var1167.operator === var1185.LTE ? var1170 <= var1171 : var1170 < var1171;
							return call14(var1168, Number(var1169), pick1);
						}
						case var1185.MATCHES: return new RegExp((0, var1183.decodeBase64)(var1167.value)).test(var1168);
						case var1185.NOT_MATCHES: return !new RegExp((0, var1183.decodeBase64)(var1167.value)).test(var1168);
						case var1185.ONE_OF: return greaterThan((0, var1183.getMD5Hash)(var1168.toString()), var1167.value);
						case var1185.NOT_ONE_OF: return equals((0, var1183.getMD5Hash)(var1168.toString()), var1167.value);
					}
					return false;
				}(Object.entries(var1164).reduce(((acc3, [var1172, var1173]) => function(var1174) {
					for (var index10 = 1; index10 < arguments.length; index10++) {
						var var1175 = null != arguments[index10] ? arguments[index10] : {};
						index10 % 2 ? fn43(Object(var1175), true).forEach((function(item46) {
							var1159(var1174, item46, var1175[item46]);
						})) : Object.getOwnPropertyDescriptors ? Object.defineProperties(var1174, Object.getOwnPropertyDescriptors(var1175)) : fn43(Object(var1175)).forEach((function(item47) {
							Object.defineProperty(var1174, item47, Object.getOwnPropertyDescriptor(var1175, item47));
						}));
					}
					return var1174;
				}({ [(0, var1183.getMD5Hash)(var1172)]: var1173 }, acc3)), {}), item45) : function(var1176, var1177) {
					const var1178 = var1176[var1177.attribute];
					if (var1177.operator === var1184.IS_NULL) return var1177.value ? null == var1178 : null != var1178;
					if (null != var1178) switch (var1177.operator) {
						case var1184.GTE:
						case var1184.GT:
						case var1184.LTE:
						case var1184.LT: {
							if (pick3(var1177.value) === var1186.SEM_VER) {
								const var1179 = var1177.operator === var1184.GTE ? var1182.gte : var1177.operator === var1184.GT ? var1182.gt : var1177.operator === var1184.LTE ? var1182.lte : var1182.lt;
								return and2(var1178, var1177.value, var1179);
							}
							const pick2 = (var1180, var1181) => var1177.operator === var1184.GTE ? var1180 >= var1181 : var1177.operator === var1184.GT ? var1180 > var1181 : var1177.operator === var1184.LTE ? var1180 <= var1181 : var1180 < var1181;
							return call14(var1178, var1177.value, pick2);
						}
						case var1184.MATCHES: return new RegExp(var1177.value).test(var1178);
						case var1184.NOT_MATCHES: return !new RegExp(var1177.value).test(var1178);
						case var1184.ONE_OF: return greaterThan(var1178.toString(), var1177.value);
						case var1184.NOT_ONE_OF: return equals(var1178.toString(), var1177.value);
					}
					return false;
				}(var1164, item45)));
			}(var1162, conditions.conditions, var1163).includes(false);
		};
		const var1182 = var1158(999589), var1183 = var1158(142060);
		var var1184, var1185, var1186;
		function greaterThan(var1187, var1188) {
			return call13(var1187, var1188).length > 0;
		}
		function equals(var1189, var1190) {
			return 0 === call13(var1189, var1190).length;
		}
		function call13(var1191, list36) {
			return list36.filter(((item48) => item48 === var1191));
		}
		function call14(var1192, var1193, var1194) {
			return var1194(Number(var1192), Number(var1193));
		}
		function and2(var1195, var1196, var1197) {
			return !!(0, var1182.valid)(var1195) && !!(0, var1182.valid)(var1196) && var1197(var1195, var1196);
		}
		function pick3(var1198) {
			return "number" == typeof var1198 ? var1186.NUMERIC : Array.isArray(var1198) ? var1186.STRING_ARRAY : "string" == typeof var1198 && (0, var1182.valid)(var1198) ? var1186.SEM_VER : isNaN(Number(var1198)) ? var1186.PLAIN_STRING : var1186.NUMERIC;
		}
		!function(var1199) {
			var1199.MATCHES = "MATCHES";
			var1199.NOT_MATCHES = "NOT_MATCHES";
			var1199.GTE = "GTE";
			var1199.GT = "GT";
			var1199.LTE = "LTE";
			var1199.LT = "LT";
			var1199.ONE_OF = "ONE_OF";
			var1199.NOT_ONE_OF = "NOT_ONE_OF";
			var1199.IS_NULL = "IS_NULL";
		}(var1184 || (var1157.OperatorType = var1184 = {}));
		(function(var1200) {
			var1200.MATCHES = "05015086bdd8402218f6aad6528bef08";
			var1200.NOT_MATCHES = "8323761667755378c3a78e0a6ed37a78";
			var1200.GTE = "32d35312e8f24bc1669bd2b45c00d47c";
			var1200.GT = "cd6a9bd2a175104eed40f0d33a8b4020";
			var1200.LTE = "cc981ecc65ecf63ad1673cbec9c64198";
			var1200.LT = "c562607189d77eb9dfb707464c1e7b0b";
			var1200.ONE_OF = "27457ce369f2a74203396a35ef537c0b";
			var1200.NOT_ONE_OF = "602f5ee0b6e84fe29f43ab48b9e1addf";
			var1200.IS_NULL = "dbd9c38e0339e6c34bd48cafc59be388";
		})(var1185 || (var1157.ObfuscatedOperatorType = var1185 = {}));
		(function(var1201) {
			var1201.PLAIN_STRING = "PLAIN_STRING";
			var1201.STRING_ARRAY = "STRING_ARRAY";
			var1201.SEM_VER = "SEM_VER";
			var1201.NUMERIC = "NUMERIC";
		})(var1186 || (var1186 = {}));
	},
	736055: (var1202, var1203, var1204) => {
		"use strict";
		Object.defineProperty(var1203, "__esModule", { value: true });
		var1203.DeterministicSharder = var1203.MD5Sharder = var1203.Sharder = undefined;
		const getMD5Hash4 = var1204(142060);
		class fn44 {}
		var1203.Sharder = fn44;
		var1203.MD5Sharder = class extends fn44 {
			getShard(var1205, var1206) {
				return parseInt((0, getMD5Hash4.getMD5Hash)(var1205).slice(0, 8), 16) % var1206;
			}
		};
		var1203.DeterministicSharder = class extends fn44 {
			constructor(var1207) {
				super();
				this.lookup = var1207;
			}
			getShard(var1208, var1209) {
				var var1210;
				return null !== (var1210 = this.lookup[var1208]) && undefined !== var1210 ? var1210 : 0;
			}
		};
	},
	63071: (var1211, var1212) => {
		"use strict";
		Object.defineProperty(var1212, "__esModule", { value: true });
		var1212.waitForMs = async function(var1213) {
			await new Promise(((var1214) => setTimeout(var1214, var1213)));
		};
		var1212.shallowClone = function(var1215) {
			return Object.assign(Object.create(Object.getPrototypeOf(var1215)), var1215);
		};
	},
	793252: (var1216, var1217) => {
		"use strict";
		Object.defineProperty(var1217, "__esModule", { value: true });
		var1217.InvalidArgumentError = undefined;
		var1217.validateNotBlank = function(list37, var1218) {
			if (null == list37 || 0 === list37.length) throw new fn45(var1218);
		};
		class fn45 extends Error {}
		var1217.InvalidArgumentError = fn45;
	},
	212911: (var1219, LIB_VERSION2, var1220) => {
		"use strict";
		Object.defineProperty(LIB_VERSION2, "__esModule", { value: true });
		LIB_VERSION2.LIB_VERSION = undefined;
		LIB_VERSION2.LIB_VERSION = var1220(841461).version;
	},
	271306: (exports, var1221, var1222) => {
		var var1223 = var1222(177693), var1224 = var1222(286162), var1225 = var1224;
		var1225.v1 = var1223;
		var1225.v4 = var1224;
		exports.exports = var1225;
	},
	851187: (exports1) => {
		for (var arr6 = [], num4 = 0; num4 < 256; ++num4) arr6[num4] = (num4 + 256).toString(16).substr(1);
		exports1.exports = function(var1226, var1227) {
			var var1228 = var1227 || 0, var1229 = arr6;
			return [
				var1229[var1226[var1228++]],
				var1229[var1226[var1228++]],
				var1229[var1226[var1228++]],
				var1229[var1226[var1228++]],
				"-",
				var1229[var1226[var1228++]],
				var1229[var1226[var1228++]],
				"-",
				var1229[var1226[var1228++]],
				var1229[var1226[var1228++]],
				"-",
				var1229[var1226[var1228++]],
				var1229[var1226[var1228++]],
				"-",
				var1229[var1226[var1228++]],
				var1229[var1226[var1228++]],
				var1229[var1226[var1228++]],
				var1229[var1226[var1228++]],
				var1229[var1226[var1228++]],
				var1229[var1226[var1228++]]
			].join("");
		};
	},
	40490: (exports2) => {
		var var1230 = "undefined" != typeof crypto && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || "undefined" != typeof msCrypto && "function" == typeof window.msCrypto.getRandomValues && msCrypto.getRandomValues.bind(msCrypto);
		if (var1230) {
			var obj36 = new Uint8Array(16);
			exports2.exports = function() {
				var1230(obj36);
				return obj36;
			};
		} else {
			var arr7 = new Array(16);
			exports2.exports = function() {
				for (var var1231, num5 = 0; num5 < 16; num5++) {
					0 == (3 & num5) && (var1231 = 4294967296 * Math.random());
					arr7[num5] = var1231 >>> ((3 & num5) << 3) & 255;
				}
				return arr7;
			};
		}
	},
	177693: (exports3, var1232, var1233) => {
		var var1234, var1235, var1236 = var1233(40490), var1237 = var1233(851187), num6 = 0, num7 = 0;
		exports3.exports = function(var1238, var1239, var1240) {
			var var1241 = var1239 && var1240 || 0, var1242 = var1239 || [], var1243 = (var1238 = var1238 || {}).node || var1234, var1244 = undefined !== var1238.clockseq ? var1238.clockseq : var1235;
			if (null == var1243 || null == var1244) {
				var var1245 = var1236();
				null == var1243 && (var1243 = var1234 = [
					1 | var1245[0],
					var1245[1],
					var1245[2],
					var1245[3],
					var1245[4],
					var1245[5]
				]);
				null == var1244 && (var1244 = var1235 = 16383 & (var1245[6] << 8 | var1245[7]));
			}
			var var1246 = undefined !== var1238.msecs ? var1238.msecs : 0, var1247 = undefined !== var1238.nsecs ? var1238.nsecs : num7 + 1, var1248 = var1246 - num6 + (var1247 - num7) / 1e4;
			if (var1248 < 0 && undefined === var1238.clockseq && (var1244 = var1244 + 1 & 16383), (var1248 < 0 || var1246 > num6) && undefined === var1238.nsecs && (var1247 = 0), var1247 >= 1e4) throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");
			num6 = var1246;
			num7 = var1247;
			var1235 = var1244;
			var var1249 = (1e4 * (268435455 & (var1246 += 0xb1d069b5400)) + var1247) % 4294967296;
			var1242[var1241++] = var1249 >>> 24 & 255;
			var1242[var1241++] = var1249 >>> 16 & 255;
			var1242[var1241++] = var1249 >>> 8 & 255;
			var1242[var1241++] = 255 & var1249;
			var var1250 = var1246 / 4294967296 * 1e4 & 268435455;
			var1242[var1241++] = var1250 >>> 8 & 255;
			var1242[var1241++] = 255 & var1250;
			var1242[var1241++] = var1250 >>> 24 & 15 | 16;
			var1242[var1241++] = var1250 >>> 16 & 255;
			var1242[var1241++] = var1244 >>> 8 | 128;
			var1242[var1241++] = 255 & var1244;
			for (var index11 = 0; index11 < 6; ++index11) var1242[var1241 + index11] = var1243[index11];
			return var1239 || var1237(var1242);
		};
	},
	286162: (exports4, var1251, var1252) => {
		var var1253 = var1252(40490), var1254 = var1252(851187);
		exports4.exports = function(rng, var1255, var1256) {
			var var1257 = var1255 && var1256 || 0;
			"string" == typeof rng && (var1255 = "binary" === rng ? new Array(16) : null, rng = null);
			var var1258 = (rng = rng || {}).random || (rng.rng || var1253)();
			if (var1258[6] = 15 & var1258[6] | 64, var1258[8] = 63 & var1258[8] | 128, var1255) for (var index12 = 0; index12 < 16; ++index12) var1255[var1257 + index12] = var1258[index12];
			return var1255 || var1254(var1258);
		};
	},
	93904: (exports5, var1259, var1260) => {
		"use strict";
		const var1261 = Symbol("SemVer ANY");
		class fn46 {
			static get ANY() {
				return var1261;
			}
			constructor(var1262, loose) {
				if (loose = var1265(loose), var1262 instanceof fn46) {
					if (var1262.loose === !!loose.loose) return var1262;
					var1262 = var1262.value;
				}
				var1262 = var1262.trim().split(/\s+/).join(" ");
				var1269("comparator", var1262, loose);
				this.options = loose;
				this.loose = !!loose.loose;
				this.parse(var1262);
				this.semver === var1261 ? this.value = "" : this.value = this.operator + this.semver.version;
				var1269("comp", this);
			}
			parse(str9) {
				const match = str9.match(this.options.loose ? var1266[var1267.COMPARATORLOOSE] : var1266[var1267.COMPARATOR]);
				if (!match) throw new TypeError(`Invalid comparator: ${str9}`);
				this.operator = undefined !== match[1] ? match[1] : "";
				"=" === this.operator && (this.operator = "");
				match[2] ? this.semver = new var1270(match[2], this.options.loose) : this.semver = var1261;
			}
			toString() {
				return this.value;
			}
			test(var1263) {
				if (var1269("Comparator.test", var1263, this.options.loose), this.semver === var1261 || var1263 === var1261) return true;
				if ("string" == typeof var1263) try {
					var1263 = new var1270(var1263, this.options);
				} catch (error30) {
					return false;
				}
				return var1268(var1263, this.operator, this.semver, this.options);
			}
			intersects(var1264, includePrerelease) {
				if (!(var1264 instanceof fn46)) throw new TypeError("a Comparator is required");
				return "" === this.operator ? "" === this.value || new var1271(var1264.value, includePrerelease).test(this.value) : "" === var1264.operator ? "" === var1264.value || new var1271(this.value, includePrerelease).test(var1264.semver) : (!(includePrerelease = var1265(includePrerelease)).includePrerelease || "<0.0.0-0" !== this.value && "<0.0.0-0" !== var1264.value) && !(!includePrerelease.includePrerelease && (this.value.startsWith("<0.0.0") || var1264.value.startsWith("<0.0.0"))) && (!(!this.operator.startsWith(">") || !var1264.operator.startsWith(">")) || !(!this.operator.startsWith("<") || !var1264.operator.startsWith("<")) || !(this.semver.version !== var1264.semver.version || !this.operator.includes("=") || !var1264.operator.includes("=")) || !!(var1268(this.semver, "<", var1264.semver, includePrerelease) && this.operator.startsWith(">") && var1264.operator.startsWith("<")) || !!(var1268(this.semver, ">", var1264.semver, includePrerelease) && this.operator.startsWith("<") && var1264.operator.startsWith(">")));
			}
		}
		exports5.exports = fn46;
		const var1265 = var1260(398587), { safeRe: var1266, t: var1267 } = var1260(199718), var1268 = var1260(272111), var1269 = var1260(257272), var1270 = var1260(853908), var1271 = var1260(778311);
	},
	778311: (exports6, var1272, var1273) => {
		"use strict";
		const regex = /\s+/g;
		class fn47 {
			constructor(var1274, var1275) {
				if (var1275 = var1282(var1275), var1274 instanceof fn47) return var1274.loose === !!var1275.loose && var1274.includePrerelease === !!var1275.includePrerelease ? var1274 : new fn47(var1274.raw, var1275);
				if (var1274 instanceof ANY) return this.raw = var1274.value, this.set = [[var1274]], this.formatted = undefined, this;
				if (this.options = var1275, this.loose = !!var1275.loose, this.includePrerelease = !!var1275.includePrerelease, this.raw = var1274.trim().replace(regex, " "), this.set = this.raw.split("||").map(((item49) => this.parseRange(item49.trim()))).filter(((item50) => item50.length)), !this.set.length) throw new TypeError(`Invalid SemVer Range: ${this.raw}`);
				if (this.set.length > 1) {
					const var1276 = this.set[0];
					if (this.set = this.set.filter(((item51) => !("<0.0.0-0" === item51[0].value))), 0 === this.set.length) this.set = [var1276];
					else if (this.set.length > 1) {
						for (const list38 of this.set) if (1 === list38.length && "" === list38[0].value) {
							this.set = [list38];
							break;
						}
					}
				}
				this.formatted = undefined;
			}
			get range() {
				if (undefined === this.formatted) {
					this.formatted = "";
					for (let index13 = 0; index13 < this.set.length; index13++) {
						index13 > 0 && (this.formatted += "||");
						const list39 = this.set[index13];
						for (let index14 = 0; index14 < list39.length; index14++) {
							index14 > 0 && (this.formatted += " ");
							this.formatted += list39[index14].toString().trim();
						}
					}
				}
				return this.formatted;
			}
			format() {
				return this.range;
			}
			toString() {
				return this.range;
			}
			parseRange(str10) {
				const var1277 = ((this.options.includePrerelease && var1290) | (this.options.loose && var1291)) + ":" + str10, var1278 = obj37.get(var1277);
				if (var1278) return var1278;
				const loose1 = this.options.loose;
				str10 = str10.replace(loose1 ? var1285[var1286.HYPHENRANGELOOSE] : var1285[var1286.HYPHENRANGE], var1327(this.options.includePrerelease));
				var1283("hyphen replace", str10);
				str10 = str10.replace(var1285[var1286.COMPARATORTRIM], var1287);
				var1283("comparator trim", str10);
				str10 = str10.replace(var1285[var1286.TILDETRIM], var1288);
				var1283("tilde trim", str10);
				str10 = str10.replace(var1285[var1286.CARETTRIM], var1289);
				var1283("caret trim", str10);
				let list40 = str10.split(" ").map(((item52) => var1295(item52, this.options))).join(" ").split(/\s+/).map(((item53) => call22(item53, this.options)));
				loose1 && (list40 = list40.filter(((item54) => var1283("loose invalid filter", item54, this.options))));
				var1283("range list", list40);
				const map = new Map(), var1279 = list40.map(((item55) => new ANY(item55, this.options)));
				for (const value8 of var1279) {
					if ("<0.0.0-0" === value8.value) return [value8];
					map.set(value8.value, value8);
				}
				map.size > 1 && map.has("") && map.delete("");
				const arr8 = [...map.values()];
				obj37.set(var1277, arr8);
				return arr8;
			}
			intersects(set7, var1280) {
				if (!(set7 instanceof fn47)) throw new TypeError("a Range is required");
				return this.set.some(((item56) => var1292(item56, var1280) && set7.set.some(((item57) => var1292(item57, var1280) && item56.every(((item58) => item57.every(((item59) => item58.intersects(item59, var1280)))))))));
			}
			test(var1281) {
				if (!var1281) return false;
				if ("string" == typeof var1281) try {
					var1281 = new var1284(var1281, this.options);
				} catch (error31) {
					return false;
				}
				for (let index15 = 0; index15 < this.set.length; index15++) if (var1341(this.set[index15], var1281, this.options)) return true;
				return false;
			}
		}
		exports6.exports = fn47;
		const obj37 = new (var1273(668794))(), var1282 = var1273(398587), ANY = var1273(93904), var1283 = var1273(257272), var1284 = var1273(853908), { safeRe: var1285, t: var1286, comparatorTrimReplace: var1287, tildeTrimReplace: var1288, caretTrimReplace: var1289 } = var1273(199718), { FLAG_INCLUDE_PRERELEASE: var1290, FLAG_LOOSE: var1291 } = var1273(416874), var1292 = (list41, var1293) => {
			let flag5 = true;
			const var1294 = list41.slice();
			let intersects = var1294.pop();
			for (; flag5 && var1294.length;) {
				flag5 = var1294.every(((item60) => intersects.intersects(item60, var1293)));
				intersects = var1294.pop();
			}
			return flag5;
		}, var1295 = (str11, var1296) => str11 = str11.replace(var1285[var1286.BUILD], ""), call15 = (str13, var1297) => str13.trim().split(/\s+/).map(((item61) => call16(item61, var1297))).join(" "), call16 = (str14, loose2) => {
			return str14.replace(loose2.loose ? var1285[var1286.TILDELOOSE] : var1285[var1286.TILDE], ((var1298, var1299, var1300, var1301, var1302) => {
				let var1303;
				var1283("tilde", str14, var1298, var1299, var1300, var1301, var1302);
				!var1299 || "x" === var1299.toLowerCase() || "*" === var1299 ? var1303 = "" : !var1300 || "x" === var1300.toLowerCase() || "*" === var1300 ? var1303 = `>=${var1299}.0.0 <${+var1299 + 1}.0.0-0` : !var1301 || "x" === var1301.toLowerCase() || "*" === var1301 ? var1303 = `>=${var1299}.${var1300}.0 <${var1299}.${+var1300 + 1}.0-0` : var1302 ? (var1283("replaceTilde pr", var1302), var1303 = `>=${var1299}.${var1300}.${var1301}-${var1302} <${var1299}.${+var1300 + 1}.0-0`) : var1303 = `>=${var1299}.${var1300}.${var1301} <${var1299}.${+var1300 + 1}.0-0`;
				var1283("tilde return", var1303);
				return var1303;
			}));
		}, call17 = (str15, var1304) => str15.trim().split(/\s+/).map(((item62) => call18(item62, var1304))).join(" "), call18 = (str16, var1305) => {
			var1283("caret", str16, var1305);
			const var1306 = var1305.loose ? var1285[var1286.CARETLOOSE] : var1285[var1286.CARET], var1307 = var1305.includePrerelease ? "-0" : "";
			return str16.replace(var1306, ((var1308, var1309, var1310, var1311, var1312) => {
				let var1313;
				var1283("caret", str16, var1308, var1309, var1310, var1311, var1312);
				!var1309 || "x" === var1309.toLowerCase() || "*" === var1309 ? var1313 = "" : !var1310 || "x" === var1310.toLowerCase() || "*" === var1310 ? var1313 = `>=${var1309}.0.0${var1307} <${+var1309 + 1}.0.0-0` : !var1311 || "x" === var1311.toLowerCase() || "*" === var1311 ? var1313 = "0" === var1309 ? `>=${var1309}.${var1310}.0${var1307} <${var1309}.${+var1310 + 1}.0-0` : `>=${var1309}.${var1310}.0${var1307} <${+var1309 + 1}.0.0-0` : var1312 ? (var1283("replaceCaret pr", var1312), var1313 = "0" === var1309 ? "0" === var1310 ? `>=${var1309}.${var1310}.${var1311}-${var1312} <${var1309}.${var1310}.${+var1311 + 1}-0` : `>=${var1309}.${var1310}.${var1311}-${var1312} <${var1309}.${+var1310 + 1}.0-0` : `>=${var1309}.${var1310}.${var1311}-${var1312} <${+var1309 + 1}.0.0-0`) : (var1283("no pr"), var1313 = "0" === var1309 ? "0" === var1310 ? `>=${var1309}.${var1310}.${var1311}${var1307} <${var1309}.${var1310}.${+var1311 + 1}-0` : `>=${var1309}.${var1310}.${var1311}${var1307} <${var1309}.${+var1310 + 1}.0-0` : `>=${var1309}.${var1310}.${var1311} <${+var1309 + 1}.0.0-0`);
				var1283("caret return", var1313);
				return var1313;
			}));
		}, call19 = (str17, var1314) => var1283("replaceXRanges", str17, var1314), call20 = (str18, var1315) => {
			str18 = str18.trim();
			return str18.replace(var1315.loose ? var1285[var1286.XRANGELOOSE] : var1285[var1286.XRANGE], ((var1316, var1317, var1318, var1319, var1320, var1321) => {
				var1283("xRange", str18, var1316, var1317, var1318, var1319, var1320, var1321);
				const var1322 = !var1318 || "x" === var1318.toLowerCase() || "*" === var1318, var1323 = var1322 || !var1319 || "x" === var1319.toLowerCase() || "*" === var1319, var1324 = var1323 || !var1320 || "x" === var1320.toLowerCase() || "*" === var1320;
				"=" === var1317 && var1324 && (var1317 = "");
				var1321 = var1315.includePrerelease ? "-0" : "";
				var1322 ? var1316 = ">" === var1317 || "<" === var1317 ? "<0.0.0-0" : "*" : var1317 && var1324 ? (var1323 && (var1319 = 0), var1320 = 0, ">" === var1317 ? (var1317 = ">=", var1323 ? (var1318 = +var1318 + 1, var1319 = 0, var1320 = 0) : (var1319 = +var1319 + 1, var1320 = 0)) : "<=" === var1317 && (var1317 = "<", var1323 ? var1318 = +var1318 + 1 : var1319 = +var1319 + 1), "<" === var1317 && (var1321 = "-0"), var1316 = `${var1317 + var1318}.${var1319}.${var1320}${var1321}`) : var1323 ? var1316 = `>=${var1318}.0.0${var1321} <${+var1318 + 1}.0.0-0` : var1324 && (var1316 = `>=${var1318}.${var1319}.0${var1321} <${var1318}.${+var1319 + 1}.0-0`);
				var1283("xRange return", var1316);
				return var1316;
			}));
		}, call21 = (str19, var1326) => var1283("replaceStars", str19, var1326), call22 = (str20, includePrerelease1) => var1283("replaceGTE0", str20, includePrerelease1), var1327 = (var1328) => (var1329, var1330, var1331, var1332, var1333, var1334, var1335, var1336, var1337, var1338, var1339, var1340) => `${var1330 = !var1331 || "x" === var1331.toLowerCase() || "*" === var1331 ? "" : !var1332 || "x" === var1332.toLowerCase() || "*" === var1332 ? `>=${var1331}.0.0${var1328 ? "-0" : ""}` : !var1333 || "x" === var1333.toLowerCase() || "*" === var1333 ? `>=${var1331}.${var1332}.0${var1328 ? "-0" : ""}` : var1334 ? `>=${var1330}` : `>=${var1330}${var1328 ? "-0" : ""}`} ${var1336 = !var1337 || "x" === var1337.toLowerCase() || "*" === var1337 ? "" : !var1338 || "x" === var1338.toLowerCase() || "*" === var1338 ? `<${+var1337 + 1}.0.0-0` : !var1339 || "x" === var1339.toLowerCase() || "*" === var1339 ? `<${var1337}.${+var1338 + 1}.0-0` : var1340 ? `<=${var1337}.${var1338}.${var1339}-${var1340}` : var1328 ? `<${var1337}.${var1338}.${+var1339 + 1}-0` : `<=${var1336}`}`.trim(), var1341 = (list42, var1342, includePrerelease2) => {
			for (let index16 = 0; index16 < list42.length; index16++) if (!list42[index16].test(var1342)) return false;
			if (var1342.prerelease.length && !includePrerelease2.includePrerelease) {
				for (let index17 = 0; index17 < list42.length; index17++) if (var1283(list42[index17].semver), list42[index17].semver !== ANY.ANY && list42[index17].semver.prerelease.length > 0) {
					const semver = list42[index17].semver;
					if (semver.major === var1342.major && semver.minor === var1342.minor && semver.patch === var1342.patch) return true;
				}
				return false;
			}
			return true;
		};
	},
	853908: (exports7, var1343, var1344) => {
		"use strict";
		const var1345 = var1344(257272), { MAX_LENGTH: var1346, MAX_SAFE_INTEGER: var1347 } = var1344(416874), { safeRe: var1348, t: var1349 } = var1344(199718), var1350 = var1344(398587), { compareIdentifiers: var1351 } = var1344(961123);
		class fn48 {
			constructor(var1352, var1353) {
				if (var1353 = var1350(var1353), var1352 instanceof fn48) {
					if (var1352.loose === !!var1353.loose && var1352.includePrerelease === !!var1353.includePrerelease) return var1352;
					var1352 = var1352.version;
				} else if ("string" != typeof var1352) throw new TypeError(`Invalid version. Must be a string. Got type "${typeof var1352}".`);
				if (var1352.length > var1346) throw new TypeError(`version is longer than ${var1346} characters`);
				var1345("SemVer", var1352, var1353);
				this.options = var1353;
				this.loose = !!var1353.loose;
				this.includePrerelease = !!var1353.includePrerelease;
				const match1 = var1352.trim().match(var1353.loose ? var1348[var1349.LOOSE] : var1348[var1349.FULL]);
				if (!match1) throw new TypeError(`Invalid Version: ${var1352}`);
				if (this.raw = var1352, this.major = +match1[1], this.minor = +match1[2], this.patch = +match1[3], this.major > var1347 || this.major < 0) throw new TypeError("Invalid major version");
				if (this.minor > var1347 || this.minor < 0) throw new TypeError("Invalid minor version");
				if (this.patch > var1347 || this.patch < 0) throw new TypeError("Invalid patch version");
				match1[4] ? this.prerelease = match1[4].split(".").map(((item64) => {
					if (/^[0-9]+$/.test(item64)) {
						const var1354 = +item64;
						if (var1354 >= 0 && var1354 < var1347) return var1354;
					}
					return item64;
				})) : this.prerelease = [];
				this.build = match1[5] ? match1[5].split(".") : [];
				this.format();
			}
			format() {
				this.version = `${this.major}.${this.minor}.${this.patch}`;
				this.prerelease.length && (this.version += `-${this.prerelease.join(".")}`);
				return this.version;
			}
			toString() {
				return this.version;
			}
			compare(version) {
				if (var1345("SemVer.compare", this.version, this.options, version), !(version instanceof fn48)) {
					if ("string" == typeof version && version === this.version) return 0;
					version = new fn48(version, this.options);
				}
				return version.version === this.version ? 0 : this.compareMain(version) || this.comparePre(version);
			}
			compareMain(var1355) {
				var1355 instanceof fn48 || (var1355 = new fn48(var1355, this.options));
				return this.major < var1355.major ? -1 : this.major > var1355.major ? 1 : this.minor < var1355.minor ? -1 : this.minor > var1355.minor ? 1 : this.patch < var1355.patch ? -1 : this.patch > var1355.patch ? 1 : 0;
			}
			comparePre(prerelease) {
				if (prerelease instanceof fn48 || (prerelease = new fn48(prerelease, this.options)), this.prerelease.length && !prerelease.prerelease.length) return -1;
				if (!this.prerelease.length && prerelease.prerelease.length) return 1;
				if (!this.prerelease.length && !prerelease.prerelease.length) return 0;
				let num8 = 0;
				do {
					const var1356 = this.prerelease[num8], var1357 = prerelease.prerelease[num8];
					if (var1345("prerelease compare", num8, var1356, var1357), undefined === var1356 && undefined === var1357) return 0;
					if (undefined === var1357) return 1;
					if (undefined === var1356) return -1;
					if (var1356 !== var1357) return var1351(var1356, var1357);
				} while (++num8);
			}
			compareBuild(build) {
				build instanceof fn48 || (build = new fn48(build, this.options));
				let num9 = 0;
				do {
					const var1358 = this.build[num9], var1359 = build.build[num9];
					if (var1345("build compare", num9, var1358, var1359), undefined === var1358 && undefined === var1359) return 0;
					if (undefined === var1359) return 1;
					if (undefined === var1358) return -1;
					if (var1358 !== var1359) return var1351(var1358, var1359);
				} while (++num9);
			}
			inc(str21, var1360, var1361) {
				if (str21.startsWith("pre")) {
					if (!var1360 && false === var1361) throw new Error("invalid increment argument: identifier is empty");
					if (var1360) {
						const match2 = `-${var1360}`.match(this.options.loose ? var1348[var1349.PRERELEASELOOSE] : var1348[var1349.PRERELEASE]);
						if (!match2 || match2[1] !== var1360) throw new Error(`invalid identifier: ${var1360}`);
					}
				}
				switch (str21) {
					case "premajor":
						this.prerelease.length = 0;
						this.patch = 0;
						this.minor = 0;
						this.major++;
						this.inc("pre", var1360, var1361);
						break;
					case "preminor":
						this.prerelease.length = 0;
						this.patch = 0;
						this.minor++;
						this.inc("pre", var1360, var1361);
						break;
					case "prepatch":
						this.prerelease.length = 0;
						this.inc("patch", var1360, var1361);
						this.inc("pre", var1360, var1361);
						break;
					case "prerelease":
						0 === this.prerelease.length && this.inc("patch", var1360, var1361);
						this.inc("pre", var1360, var1361);
						break;
					case "release":
						if (0 === this.prerelease.length) throw new Error(`version ${this.raw} is not a prerelease`);
						this.prerelease.length = 0;
						break;
					case "major":
						0 === this.minor && 0 === this.patch && 0 !== this.prerelease.length || this.major++;
						this.minor = 0;
						this.patch = 0;
						this.prerelease = [];
						break;
					case "minor":
						0 === this.patch && 0 !== this.prerelease.length || this.minor++;
						this.patch = 0;
						this.prerelease = [];
						break;
					case "patch":
						0 === this.prerelease.length && this.patch++;
						this.prerelease = [];
						break;
					case "pre": {
						const var1362 = Number(var1361) ? 1 : 0;
						if (0 === this.prerelease.length) this.prerelease = [var1362];
						else {
							let length1 = this.prerelease.length;
							for (; --length1 >= 0;) "number" == typeof this.prerelease[length1] && (this.prerelease[length1]++, length1 = -2);
							if (-1 === length1) {
								if (var1360 === this.prerelease.join(".") && false === var1361) throw new Error("invalid increment argument: identifier already exists");
								this.prerelease.push(var1362);
							}
						}
						if (var1360) {
							let arr9 = [var1360, var1362];
							false === var1361 && (arr9 = [var1360]);
							0 === var1351(this.prerelease[0], var1360) ? isNaN(this.prerelease[1]) && (this.prerelease = arr9) : this.prerelease = arr9;
						}
						break;
					}
					default: throw new Error(`invalid increment argument: ${str21}`);
				}
				this.raw = this.format();
				this.build.length && (this.raw += `+${this.build.join(".")}`);
				return this;
			}
		}
		exports7.exports = fn48;
	},
	57414: (exports8, var1363, var1364) => {
		"use strict";
		const var1365 = var1364(830144);
		exports8.exports = (str22, var1366) => {
			const version1 = var1365(str22.trim().replace(/^[=v]+/, ""), var1366);
			return version1 ? version1.version : null;
		};
	},
	272111: (exports9, var1367, var1368) => {
		"use strict";
		const var1369 = var1368(694641), var1370 = var1368(613999), var1371 = var1368(535580), var1372 = var1368(154089), var1373 = var1368(207059), var1374 = var1368(825200);
		exports9.exports = (version2, var1375, version3, var1376) => {
			switch (var1375) {
				case "===":
					"object" == typeof version2 && (version2 = version2.version);
					"object" == typeof version3 && (version3 = version3.version);
					return version2 === version3;
				case "!==":
					"object" == typeof version2 && (version2 = version2.version);
					"object" == typeof version3 && (version3 = version3.version);
					return version2 !== version3;
				case "":
				case "=":
				case "==": return var1369(version2, version3, var1376);
				case "!=": return var1370(version2, version3, var1376);
				case ">": return var1371(version2, version3, var1376);
				case ">=": return var1372(version2, version3, var1376);
				case "<": return var1373(version2, version3, var1376);
				case "<=": return var1374(version2, version3, var1376);
				default: throw new TypeError(`Invalid operator: ${var1375}`);
			}
		};
	},
	546170: (exports10, var1377, var1378) => {
		"use strict";
		const var1379 = var1378(853908), var1380 = var1378(830144), { safeRe: var1381, t: var1382 } = var1378(199718);
		exports10.exports = (str23, includePrerelease3) => {
			if (str23 instanceof var1379) return str23;
			if ("number" == typeof str23 && (str23 = String(str23)), "string" != typeof str23) return null;
			let index18 = null;
			if ((includePrerelease3 = includePrerelease3 || {}).rtl) {
				const var1383 = includePrerelease3.includePrerelease ? var1381[var1382.COERCERTLFULL] : var1381[var1382.COERCERTL];
				let index19;
				for (; (index19 = var1383.exec(str23)) && (!index18 || index18.index + index18[0].length !== str23.length);) {
					index18 && index19.index + index19[0].length === index18.index + index18[0].length || (index18 = index19);
					var1383.lastIndex = index19.index + index19[1].length + index19[2].length;
				}
				var1383.lastIndex = -1;
			} else index18 = str23.match(includePrerelease3.includePrerelease ? var1381[var1382.COERCEFULL] : var1381[var1382.COERCE]);
			if (null === index18) return null;
			return var1380(`${index18[2]}.${index18[3] || "0"}.${index18[4] || "0"}${includePrerelease3.includePrerelease && index18[5] ? `-${index18[5]}` : ""}${includePrerelease3.includePrerelease && index18[6] ? `+${index18[6]}` : ""}`, includePrerelease3);
		};
	},
	240909: (exports11, var1388, var1389) => {
		"use strict";
		const var1390 = var1389(853908);
		exports11.exports = (var1391, var1392, var1393) => {
			const obj38 = new var1390(var1391, var1393), obj39 = new var1390(var1392, var1393);
			return obj38.compare(obj39) || obj38.compareBuild(obj39);
		};
	},
	111763: (exports12, var1394, var1395) => {
		"use strict";
		const var1396 = var1395(350560);
		exports12.exports = (var1397, var1398) => var1396(var1397, var1398, true);
	},
	350560: (exports13, var1399, var1400) => {
		"use strict";
		const var1401 = var1400(853908);
		exports13.exports = (var1402, var1403, var1404) => new var1401(var1402, var1404).compare(new var1401(var1403, var1404));
	},
	251832: (exports14, var1405, var1406) => {
		"use strict";
		const var1407 = var1406(830144);
		exports14.exports = (var1408, var1409) => {
			const var1410 = var1407(var1408, null, true), var1411 = var1407(var1409, null, true), var1412 = var1410.compare(var1411);
			if (0 === var1412) return null;
			const var1413 = var1412 > 0, prerelease1 = var1413 ? var1410 : var1411, var1414 = var1413 ? var1411 : var1410, var1415 = !!prerelease1.prerelease.length;
			if (!!var1414.prerelease.length && !var1415) {
				if (!var1414.patch && !var1414.minor) return "major";
				if (0 === var1414.compareMain(prerelease1)) return var1414.minor && !var1414.patch ? "minor" : "patch";
			}
			const var1416 = var1415 ? "pre" : "";
			return var1410.major !== var1411.major ? var1416 + "major" : var1410.minor !== var1411.minor ? var1416 + "minor" : var1410.patch !== var1411.patch ? var1416 + "patch" : "prerelease";
		};
	},
	694641: (exports15, var1417, var1418) => {
		"use strict";
		const var1419 = var1418(350560);
		exports15.exports = (var1420, var1421, var1422) => 0 === var1419(var1420, var1421, var1422);
	},
	535580: (exports16, var1423, var1424) => {
		"use strict";
		const var1425 = var1424(350560);
		exports16.exports = (var1426, var1427, var1428) => var1425(var1426, var1427, var1428) > 0;
	},
	154089: (exports17, var1429, var1430) => {
		"use strict";
		const var1431 = var1430(350560);
		exports17.exports = (var1432, var1433, var1434) => var1431(var1432, var1433, var1434) >= 0;
	},
	793007: (exports18, var1435, var1436) => {
		"use strict";
		const var1437 = var1436(853908);
		exports18.exports = (version4, var1438, var1439, var1440, var1441) => {
			"string" == typeof var1439 && (var1441 = var1440, var1440 = var1439, var1439 = undefined);
			try {
				return new var1437(version4 instanceof var1437 ? version4.version : version4, var1439).inc(var1438, var1440, var1441).version;
			} catch (error32) {
				return null;
			}
		};
	},
	207059: (exports19, var1442, var1443) => {
		"use strict";
		const var1444 = var1443(350560);
		exports19.exports = (var1445, var1446, var1447) => var1444(var1445, var1446, var1447) < 0;
	},
	825200: (exports20, var1448, var1449) => {
		"use strict";
		const var1450 = var1449(350560);
		exports20.exports = (var1451, var1452, var1453) => var1450(var1451, var1452, var1453) <= 0;
	},
	532938: (exports21, var1454, var1455) => {
		"use strict";
		const var1456 = var1455(853908);
		exports21.exports = (var1457, var1458) => new var1456(var1457, var1458).major;
	},
	746254: (exports22, var1459, var1460) => {
		"use strict";
		const var1461 = var1460(853908);
		exports22.exports = (var1462, var1463) => new var1461(var1462, var1463).minor;
	},
	613999: (exports23, var1464, var1465) => {
		"use strict";
		const var1466 = var1465(350560);
		exports23.exports = (var1467, var1468, var1469) => 0 !== var1466(var1467, var1468, var1469);
	},
	830144: (exports24, var1470, var1471) => {
		"use strict";
		const var1472 = var1471(853908);
		exports24.exports = (var1473, var1474, var1475 = false) => {
			if (var1473 instanceof var1472) return var1473;
			try {
				return new var1472(var1473, var1474);
			} catch (error33) {
				if (!var1475) return null;
				throw error33;
			}
		};
	},
	24493: (exports25, var1476, var1477) => {
		"use strict";
		const var1478 = var1477(853908);
		exports25.exports = (var1479, var1480) => new var1478(var1479, var1480).patch;
	},
	31729: (exports26, var1481, var1482) => {
		"use strict";
		const var1483 = var1482(830144);
		exports26.exports = (var1484, var1485) => {
			const prerelease2 = var1483(var1484, var1485);
			return prerelease2 && prerelease2.prerelease.length ? prerelease2.prerelease : null;
		};
	},
	809970: (exports27, var1486, var1487) => {
		"use strict";
		const var1488 = var1487(350560);
		exports27.exports = (var1489, var1490, var1491) => var1488(var1490, var1489, var1491);
	},
	474277: (exports28, var1492, var1493) => {
		"use strict";
		const var1494 = var1493(240909);
		exports28.exports = (list43, var1495) => list43.sort(((left1, right1) => var1494(right1, left1, var1495)));
	},
	897638: (exports29, var1496, var1497) => {
		"use strict";
		const var1498 = var1497(778311);
		exports29.exports = (var1499, test, var1500) => {
			try {
				test = new var1498(test, var1500);
			} catch (error34) {
				return false;
			}
			return test.test(var1499);
		};
	},
	343927: (exports30, var1501, var1502) => {
		"use strict";
		const var1503 = var1502(240909);
		exports30.exports = (list44, var1504) => list44.sort(((left2, right2) => var1503(left2, right2, var1504)));
	},
	556953: (exports31, var1505, var1506) => {
		"use strict";
		const var1507 = var1506(830144);
		exports31.exports = (var1508, var1509) => {
			const version5 = var1507(var1508, var1509);
			return version5 ? version5.version : null;
		};
	},
	999589: (exports32, var1510, var1511) => {
		"use strict";
		const var1512 = var1511(199718), var1513 = var1511(416874), var1514 = var1511(853908), var1515 = var1511(961123);
		exports32.exports = {
			parse: var1511(830144),
			valid: var1511(556953),
			clean: var1511(57414),
			inc: var1511(793007),
			diff: var1511(251832),
			major: var1511(532938),
			minor: var1511(746254),
			patch: var1511(24493),
			prerelease: var1511(31729),
			compare: var1511(350560),
			rcompare: var1511(809970),
			compareLoose: var1511(111763),
			compareBuild: var1511(240909),
			sort: var1511(343927),
			rsort: var1511(474277),
			gt: var1511(535580),
			lt: var1511(207059),
			eq: var1511(694641),
			neq: var1511(613999),
			gte: var1511(154089),
			lte: var1511(825200),
			cmp: var1511(272111),
			coerce: var1511(546170),
			Comparator: var1511(93904),
			Range: var1511(778311),
			satisfies: var1511(897638),
			toComparators: var1511(277631),
			maxSatisfying: var1511(919628),
			minSatisfying: var1511(300270),
			minVersion: var1511(441261),
			validRange: var1511(113874),
			outside: var1511(697075),
			gtr: var1511(375571),
			ltr: var1511(5342),
			intersects: var1511(676780),
			simplifyRange: var1511(972525),
			subset: var1511(475032),
			SemVer: var1514,
			re: var1512.re,
			src: var1512.src,
			tokens: var1512.t,
			SEMVER_SPEC_VERSION: var1513.SEMVER_SPEC_VERSION,
			RELEASE_TYPES: var1513.RELEASE_TYPES,
			compareIdentifiers: var1515.compareIdentifiers,
			rcompareIdentifiers: var1515.rcompareIdentifiers
		};
	},
	416874: (exports33) => {
		"use strict";
		exports33.exports = {
			MAX_LENGTH: 256,
			MAX_SAFE_COMPONENT_LENGTH: 16,
			MAX_SAFE_BUILD_LENGTH: 250,
			MAX_SAFE_INTEGER: Number.MAX_SAFE_INTEGER || 9007199254740991,
			RELEASE_TYPES: [
				"major",
				"premajor",
				"minor",
				"preminor",
				"patch",
				"prepatch",
				"prerelease"
			],
			SEMVER_SPEC_VERSION: "2.0.0",
			FLAG_INCLUDE_PRERELEASE: 1,
			FLAG_LOOSE: 2
		};
	},
	257272: (exports34) => {
		"use strict";
		const var1552 = "object" == typeof process && {
			API_BASE_URL: undefined,
			CDN_URL: "https://assets.twitch.tv/",
			GQL_BASE_URL: undefined,
			PASSPORT_BASE_URL: undefined,
			INTERPOL_BASE_URL: undefined,
			PUBSUB_ENV: undefined,
			TMI_BASE_URL: undefined,
			MANIFEST_URL: "https://assets.twitch.tv/config/manifest.json?v=1",
			NODE_ENV: "production",
			PLAYER_BASE_URL: "https://player.twitch.tv",
			IS_DEV_BUILD: false,
			IS_STAGING_BUILD: false,
			IS_LOCAL_DEVSERVER: false
		}.NODE_DEBUG && false ? (...var1553) => console.error("SEMVER", ...var1553) : () => {};
		exports34.exports = var1552;
	},
	961123: (exports35) => {
		"use strict";
		const regex1 = /^[0-9]+$/, pick4 = (var1554, var1555) => {
			if ("number" == typeof var1554 && "number" == typeof var1555) return var1554 === var1555 ? 0 : var1554 < var1555 ? -1 : 1;
			const var1556 = regex1.test(var1554), var1557 = regex1.test(var1555);
			var1556 && var1557 && (var1554 = +var1554, var1555 = +var1555);
			return var1554 === var1555 ? 0 : var1556 && !var1557 ? -1 : var1557 && !var1556 ? 1 : var1554 < var1555 ? -1 : 1;
		};
		exports35.exports = {
			compareIdentifiers: pick4,
			rcompareIdentifiers: (var1558, var1559) => pick4(var1559, var1558)
		};
	},
	668794: (exports36) => {
		"use strict";
		exports36.exports = class {
			constructor() {
				this.max = 1e3;
				this.map = new Map();
			}
			get(var1560) {
				const var1561 = this.map.get(var1560);
				return undefined === var1561 ? undefined : (this.map.delete(var1560), this.map.set(var1560, var1561), var1561);
			}
			delete(var1562) {
				return this.map.delete(var1562);
			}
			set(var1563, var1564) {
				if (!this.delete(var1563) && undefined !== var1564) {
					if (this.map.size >= this.max) {
						const value11 = this.map.keys().next().value;
						this.delete(value11);
					}
					this.map.set(var1563, var1564);
				}
				return this;
			}
		};
	},
	398587: (exports37) => {
		"use strict";
		const obj40 = { "loose": true }, obj41 = {};
		exports37.exports = (var1565) => var1565 ? "object" != typeof var1565 ? obj40 : var1565 : obj41;
	},
	199718: (exports38, var1566, var1567) => {
		"use strict";
		const { MAX_SAFE_COMPONENT_LENGTH: var1568, MAX_SAFE_BUILD_LENGTH: var1569, MAX_LENGTH: var1570 } = var1567(416874), var1571 = var1567(257272), var1572 = (var1566 = exports38.exports = {}).re = [], var1573 = var1566.safeRe = [], var1574 = var1566.src = [], var1575 = var1566.safeSrc = [], var1576 = var1566.t = {};
		let num10 = 0;
		const arr10 = [
			["\\s", 1],
			["\\d", var1570],
			["[a-zA-Z0-9-]", var1569]
		], var1577 = (var1578, var1579, var1580) => {
			const var1581 = ((str24) => {
				for (const [var1582, var1583] of arr10) str24 = str24.split(`${var1582}*`).join(`${var1582}{0,${var1583}}`).split(`${var1582}+`).join(`${var1582}{1,${var1583}}`);
				return str24;
			})(var1579), var1584 = num10++;
			var1571(var1578, var1584, var1579);
			var1576[var1578] = var1584;
			var1574[var1584] = var1579;
			var1575[var1584] = var1581;
			var1572[var1584] = new RegExp(var1579, var1580 ? "g" : undefined);
			var1573[var1584] = new RegExp(var1581, var1580 ? "g" : undefined);
		};
		var1577("NUMERICIDENTIFIER", "0|[1-9]\\d*");
		var1577("NUMERICIDENTIFIERLOOSE", "\\d+");
		var1577("NONNUMERICIDENTIFIER", "\\d*[a-zA-Z-][a-zA-Z0-9-]*");
		var1577("MAINVERSION", `(${var1574[var1576.NUMERICIDENTIFIER]})\\.(${var1574[var1576.NUMERICIDENTIFIER]})\\.(${var1574[var1576.NUMERICIDENTIFIER]})`);
		var1577("MAINVERSIONLOOSE", `(${var1574[var1576.NUMERICIDENTIFIERLOOSE]})\\.(${var1574[var1576.NUMERICIDENTIFIERLOOSE]})\\.(${var1574[var1576.NUMERICIDENTIFIERLOOSE]})`);
		var1577("PRERELEASEIDENTIFIER", `(?:${var1574[var1576.NONNUMERICIDENTIFIER]}|${var1574[var1576.NUMERICIDENTIFIER]})`);
		var1577("PRERELEASEIDENTIFIERLOOSE", `(?:${var1574[var1576.NONNUMERICIDENTIFIER]}|${var1574[var1576.NUMERICIDENTIFIERLOOSE]})`);
		var1577("PRERELEASE", `(?:-(${var1574[var1576.PRERELEASEIDENTIFIER]}(?:\\.${var1574[var1576.PRERELEASEIDENTIFIER]})*))`);
		var1577("PRERELEASELOOSE", `(?:-?(${var1574[var1576.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${var1574[var1576.PRERELEASEIDENTIFIERLOOSE]})*))`);
		var1577("BUILDIDENTIFIER", "[a-zA-Z0-9-]+");
		var1577("BUILD", `(?:\\+(${var1574[var1576.BUILDIDENTIFIER]}(?:\\.${var1574[var1576.BUILDIDENTIFIER]})*))`);
		var1577("FULLPLAIN", `v?${var1574[var1576.MAINVERSION]}${var1574[var1576.PRERELEASE]}?${var1574[var1576.BUILD]}?`);
		var1577("FULL", `^${var1574[var1576.FULLPLAIN]}$`);
		var1577("LOOSEPLAIN", `[v=\\s]*${var1574[var1576.MAINVERSIONLOOSE]}${var1574[var1576.PRERELEASELOOSE]}?${var1574[var1576.BUILD]}?`);
		var1577("LOOSE", `^${var1574[var1576.LOOSEPLAIN]}$`);
		var1577("GTLT", "((?:<|>)?=?)");
		var1577("XRANGEIDENTIFIERLOOSE", `${var1574[var1576.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);
		var1577("XRANGEIDENTIFIER", `${var1574[var1576.NUMERICIDENTIFIER]}|x|X|\\*`);
		var1577("XRANGEPLAIN", `[v=\\s]*(${var1574[var1576.XRANGEIDENTIFIER]})(?:\\.(${var1574[var1576.XRANGEIDENTIFIER]})(?:\\.(${var1574[var1576.XRANGEIDENTIFIER]})(?:${var1574[var1576.PRERELEASE]})?${var1574[var1576.BUILD]}?)?)?`);
		var1577("XRANGEPLAINLOOSE", `[v=\\s]*(${var1574[var1576.XRANGEIDENTIFIERLOOSE]})(?:\\.(${var1574[var1576.XRANGEIDENTIFIERLOOSE]})(?:\\.(${var1574[var1576.XRANGEIDENTIFIERLOOSE]})(?:${var1574[var1576.PRERELEASELOOSE]})?${var1574[var1576.BUILD]}?)?)?`);
		var1577("XRANGE", `^${var1574[var1576.GTLT]}\\s*${var1574[var1576.XRANGEPLAIN]}$`);
		var1577("XRANGELOOSE", `^${var1574[var1576.GTLT]}\\s*${var1574[var1576.XRANGEPLAINLOOSE]}$`);
		var1577("COERCEPLAIN", `(^|[^\\d])(\\d{1,${var1568}})(?:\\.(\\d{1,${var1568}}))?(?:\\.(\\d{1,${var1568}}))?`);
		var1577("COERCE", `${var1574[var1576.COERCEPLAIN]}(?:$|[^\\d])`);
		var1577("COERCEFULL", var1574[var1576.COERCEPLAIN] + `(?:${var1574[var1576.PRERELEASE]})?` + `(?:${var1574[var1576.BUILD]})?(?:$|[^\\d])`);
		var1577("COERCERTL", var1574[var1576.COERCE], true);
		var1577("COERCERTLFULL", var1574[var1576.COERCEFULL], true);
		var1577("LONETILDE", "(?:~>?)");
		var1577("TILDETRIM", `(\\s*)${var1574[var1576.LONETILDE]}\\s+`, true);
		var1566.tildeTrimReplace = "$1~";
		var1577("TILDE", `^${var1574[var1576.LONETILDE]}${var1574[var1576.XRANGEPLAIN]}$`);
		var1577("TILDELOOSE", `^${var1574[var1576.LONETILDE]}${var1574[var1576.XRANGEPLAINLOOSE]}$`);
		var1577("LONECARET", "(?:\\^)");
		var1577("CARETTRIM", `(\\s*)${var1574[var1576.LONECARET]}\\s+`, true);
		var1566.caretTrimReplace = "$1^";
		var1577("CARET", `^${var1574[var1576.LONECARET]}${var1574[var1576.XRANGEPLAIN]}$`);
		var1577("CARETLOOSE", `^${var1574[var1576.LONECARET]}${var1574[var1576.XRANGEPLAINLOOSE]}$`);
		var1577("COMPARATORLOOSE", `^${var1574[var1576.GTLT]}\\s*(${var1574[var1576.LOOSEPLAIN]})$|^$`);
		var1577("COMPARATOR", `^${var1574[var1576.GTLT]}\\s*(${var1574[var1576.FULLPLAIN]})$|^$`);
		var1577("COMPARATORTRIM", `(\\s*)${var1574[var1576.GTLT]}\\s*(${var1574[var1576.LOOSEPLAIN]}|${var1574[var1576.XRANGEPLAIN]})`, true);
		var1566.comparatorTrimReplace = "$1$2$3";
		var1577("HYPHENRANGE", `^\\s*(${var1574[var1576.XRANGEPLAIN]})\\s+-\\s+(${var1574[var1576.XRANGEPLAIN]})\\s*$`);
		var1577("HYPHENRANGELOOSE", `^\\s*(${var1574[var1576.XRANGEPLAINLOOSE]})\\s+-\\s+(${var1574[var1576.XRANGEPLAINLOOSE]})\\s*$`);
		var1577("STAR", "(<|>)?=?\\s*\\*");
		var1577("GTE0", "^\\s*>=\\s*0\\.0\\.0\\s*$");
		var1577("GTE0PRE", "^\\s*>=\\s*0\\.0\\.0-0\\s*$");
	},
	375571: (exports39, var1585, var1586) => {
		"use strict";
		const var1587 = var1586(697075);
		exports39.exports = (var1588, var1589, var1590) => var1587(var1588, var1589, ">", var1590);
	},
	676780: (exports40, var1591, var1592) => {
		"use strict";
		const var1593 = var1592(778311);
		exports40.exports = (intersects1, var1594, var1595) => intersects1 = new var1593(intersects1, var1595);
	},
	5342: (exports41, var1596, var1597) => {
		"use strict";
		const var1598 = var1597(697075);
		exports41.exports = (var1599, var1600, var1601) => var1598(var1599, var1600, "<", var1601);
	},
	919628: (exports42, var1602, var1603) => {
		"use strict";
		const var1604 = var1603(853908), var1605 = var1603(778311);
		exports42.exports = (list45, var1606, var1607) => {
			let var1608 = null, compare = null, test1 = null;
			try {
				test1 = new var1605(var1606, var1607);
			} catch (error35) {
				return null;
			}
			list45.forEach(((item65) => {
				test1.test(item65) && (var1608 && -1 !== compare.compare(item65) || (var1608 = item65, compare = new var1604(var1608, var1607)));
			}));
			return var1608;
		};
	},
	300270: (exports43, var1609, var1610) => {
		"use strict";
		const var1611 = var1610(853908), var1612 = var1610(778311);
		exports43.exports = (list46, var1613, var1614) => {
			let var1615 = null, compare1 = null, test2 = null;
			try {
				test2 = new var1612(var1613, var1614);
			} catch (error36) {
				return null;
			}
			list46.forEach(((item66) => {
				test2.test(item66) && (var1615 && 1 !== compare1.compare(item66) || (var1615 = item66, compare1 = new var1611(var1615, var1614)));
			}));
			return var1615;
		};
	},
	441261: (exports44, var1616, var1617) => {
		"use strict";
		const var1618 = var1617(853908), var1619 = var1617(778311), var1620 = var1617(535580);
		exports44.exports = (var1621, var1622) => {
			var1621 = new var1619(var1621, var1622);
			let obj42 = new var1618("0.0.0");
			if (var1621.test(obj42)) return obj42;
			if (obj42 = new var1618("0.0.0-0"), var1621.test(obj42)) return obj42;
			obj42 = null;
			for (let index20 = 0; index20 < var1621.set.length; ++index20) {
				const list47 = var1621.set[index20];
				let var1623 = null;
				list47.forEach(((item67) => {
					const obj43 = new var1618(item67.semver.version);
					switch (item67.operator) {
						case ">":
							0 === obj43.prerelease.length ? obj43.patch++ : obj43.prerelease.push(0);
							obj43.raw = obj43.format();
						case "":
						case ">=":
							var1623 && !var1620(obj43, var1623) || (var1623 = obj43);
							break;
						case "<":
						case "<=": break;
						default: throw new Error(`Unexpected operation: ${item67.operator}`);
					}
				}));
				!var1623 || obj42 && !var1620(obj42, var1623) || (obj42 = var1623);
			}
			return obj42 && var1621.test(obj42) ? obj42 : null;
		};
	},
	697075: (exports45, var1624, var1625) => {
		"use strict";
		const var1626 = var1625(853908), var1627 = var1625(93904), { ANY: var1628 } = var1627, var1629 = var1625(778311), var1630 = var1625(897638), var1631 = var1625(535580), var1632 = var1625(207059), var1633 = var1625(825200), var1634 = var1625(154089);
		exports45.exports = (var1635, set8, var1636, var1637) => {
			let var1638, var1639, var1640, var1641, var1642;
			switch (var1635 = new var1626(var1635, var1637), set8 = new var1629(set8, var1637), var1636) {
				case ">":
					var1638 = var1631;
					var1639 = var1633;
					var1640 = var1632;
					var1641 = ">";
					var1642 = ">=";
					break;
				case "<":
					var1638 = var1632;
					var1639 = var1634;
					var1640 = var1631;
					var1641 = "<";
					var1642 = "<=";
					break;
				default: throw new TypeError("Must provide a hilo val of \"<\" or \">\"");
			}
			if (var1630(var1635, set8, var1637)) return false;
			for (let index21 = 0; index21 < set8.set.length; ++index21) {
				const list48 = set8.set[index21];
				let var1643 = null, var1644 = null;
				if (list48.forEach(((item68) => {
					item68.semver === var1628 && (item68 = new var1627(">=0.0.0"));
					var1643 = var1643 || item68;
					var1644 = var1644 || item68;
					var1638(item68.semver, var1643.semver, var1637) ? var1643 = item68 : var1640(item68.semver, var1644.semver, var1637) && (var1644 = item68);
				})), var1643.operator === var1641 || var1643.operator === var1642) return false;
				if ((!var1644.operator || var1644.operator === var1641) && var1639(var1635, var1644.semver)) return false;
				if (var1644.operator === var1642 && var1640(var1635, var1644.semver)) return false;
			}
			return true;
		};
	},
	972525: (exports46, var1645, var1646) => {
		"use strict";
		const var1647 = var1646(897638), var1648 = var1646(350560);
		exports46.exports = (list49, raw, var1649) => {
			const arr11 = [];
			let var1650 = null, var1651 = null;
			const var1652 = list49.sort(((left3, right3) => var1648(left3, right3, var1649)));
			for (const var1653 of var1652) {
				var1647(var1653, raw, var1649) ? (var1651 = var1653, var1650 || (var1650 = var1653)) : (var1651 && arr11.push([var1650, var1651]), var1651 = null, var1650 = null);
			}
			var1650 && arr11.push([var1650, null]);
			const arr12 = [];
			for (const [var1654, var1655] of arr11) var1654 === var1655 ? arr12.push(var1654) : var1655 || var1654 !== var1652[0] ? var1655 ? var1654 === var1652[0] ? arr12.push(`<=${var1655}`) : arr12.push(`${var1654} - ${var1655}`) : arr12.push(`>=${var1654}`) : arr12.push("*");
			const list50 = arr12.join(" || ");
			return list50.length < ("string" == typeof raw.raw ? raw.raw : String(raw)).length ? list50 : raw;
		};
	},
	475032: (exports47, var1656, var1657) => {
		"use strict";
		const var1658 = var1657(778311), var1659 = var1657(93904), { ANY: var1660 } = var1659, var1661 = var1657(897638), var1662 = var1657(350560), arr13 = [new var1659(">=0.0.0-0")], arr14 = [new var1659(">=0.0.0")], and3 = (list51, list52, includePrerelease4) => {
			if (list51 === list52) return true;
			if (1 === list51.length && list51[0].semver === var1660) {
				if (1 === list52.length && list52[0].semver === var1660) return true;
				list51 = includePrerelease4.includePrerelease ? arr13 : arr14;
			}
			if (1 === list52.length && list52[0].semver === var1660) {
				if (includePrerelease4.includePrerelease) return true;
				list52 = arr14;
			}
			const set9 = new Set();
			let var1663, var1664, var1665, var1666, var1667, var1668, var1669;
			for (const var1670 of list51) ">" === var1670.operator || ">=" === var1670.operator ? var1663 = pick5(var1663, var1670, includePrerelease4) : "<" === var1670.operator || "<=" === var1670.operator ? var1664 = pick6(var1664, var1670, includePrerelease4) : set9.add(var1670.semver);
			if (set9.size > 1) return null;
			if (var1663 && var1664) {
				if (var1665 = var1662(var1663.semver, var1664.semver, includePrerelease4), var1665 > 0) return null;
				if (0 === var1665 && (">=" !== var1663.operator || "<=" !== var1664.operator)) return null;
			}
			for (const var1671 of set9) {
				if (var1663 && !var1661(var1671, String(var1663), includePrerelease4)) return null;
				if (var1664 && !var1661(var1671, String(var1664), includePrerelease4)) return null;
				for (const var1672 of list52) if (!var1661(var1671, String(var1672), includePrerelease4)) return false;
				return true;
			}
			let var1673 = !(!var1664 || includePrerelease4.includePrerelease || !var1664.semver.prerelease.length) && var1664.semver, var1674 = !(!var1663 || includePrerelease4.includePrerelease || !var1663.semver.prerelease.length) && var1663.semver;
			var1673 && 1 === var1673.prerelease.length && "<" === var1664.operator && 0 === var1673.prerelease[0] && (var1673 = false);
			for (const var1675 of list52) {
				if (var1669 = var1669 || ">" === var1675.operator || ">=" === var1675.operator, var1668 = var1668 || "<" === var1675.operator || "<=" === var1675.operator, var1663) {
					if (var1674 && var1675.semver.prerelease && var1675.semver.prerelease.length && var1675.semver.major === var1674.major && var1675.semver.minor === var1674.minor && var1675.semver.patch === var1674.patch && (var1674 = false), ">" === var1675.operator || ">=" === var1675.operator) {
						if (var1666 = pick5(var1663, var1675, includePrerelease4), var1666 === var1675 && var1666 !== var1663) return false;
					} else if (">=" === var1663.operator && !var1661(var1663.semver, String(var1675), includePrerelease4)) return false;
				}
				if (var1664) {
					if (var1673 && var1675.semver.prerelease && var1675.semver.prerelease.length && var1675.semver.major === var1673.major && var1675.semver.minor === var1673.minor && var1675.semver.patch === var1673.patch && (var1673 = false), "<" === var1675.operator || "<=" === var1675.operator) {
						if (var1667 = pick6(var1664, var1675, includePrerelease4), var1667 === var1675 && var1667 !== var1664) return false;
					} else if ("<=" === var1664.operator && !var1661(var1664.semver, String(var1675), includePrerelease4)) return false;
				}
				if (!var1675.operator && (var1664 || var1663) && 0 !== var1665) return false;
			}
			return !(var1663 && var1668 && !var1664 && 0 !== var1665) && !(var1664 && var1669 && !var1663 && 0 !== var1665) && !var1674 && !var1673;
		}, pick5 = (var1676, var1677, var1678) => {
			if (!var1676) return var1677;
			const var1679 = var1662(var1676.semver, var1677.semver, var1678);
			return var1679 > 0 ? var1676 : var1679 < 0 || ">" === var1677.operator && ">=" === var1676.operator ? var1677 : var1676;
		}, pick6 = (var1680, var1681, var1682) => {
			if (!var1680) return var1681;
			const var1683 = var1662(var1680.semver, var1681.semver, var1682);
			return var1683 < 0 ? var1680 : var1683 > 0 || "<" === var1681.operator && "<=" === var1680.operator ? var1681 : var1680;
		};
		exports47.exports = (set10, set11, var1684 = {}) => {
			if (set10 === set11) return true;
			set10 = new var1658(set10, var1684);
			set11 = new var1658(set11, var1684);
			let flag6 = false;
			e: for (const var1685 of set10.set) {
				for (const var1686 of set11.set) {
					const var1687 = and3(var1685, var1686, var1684);
					if (flag6 = flag6 || null !== var1687, var1687) continue e;
				}
				if (flag6) return false;
			}
			return true;
		};
	},
	277631: (exports48, var1688, var1689) => {
		"use strict";
		const var1690 = var1689(778311);
		exports48.exports = (var1691, var1692) => new var1690(var1691, var1692).set.map(((item69) => item69.map(((item70) => item70.value)).join(" ").trim().split(" ")));
	},
	113874: (exports49, var1693, var1694) => {
		"use strict";
		const var1695 = var1694(778311);
		exports49.exports = (var1696, var1697) => {
			try {
				return new var1695(var1696, var1697).range || "*";
			} catch (error37) {
				return null;
			}
		};
	},
	275735: (exports50) => {
		exports50.exports = function(var1698) {
			"use strict";
			var arr15 = [
				"0",
				"1",
				"2",
				"3",
				"4",
				"5",
				"6",
				"7",
				"8",
				"9",
				"a",
				"b",
				"c",
				"d",
				"e",
				"f"
			];
			function fn49(var1699, var1700) {
				var var1701 = var1699[0], var1702 = var1699[1], var1703 = var1699[2], var1704 = var1699[3];
				var1702 = ((var1702 += ((var1703 = ((var1703 += ((var1704 = ((var1704 += ((var1701 = ((var1701 += (var1702 & var1703 | ~var1702 & var1704) + var1700[0] - 680876936 | 0) << 7 | var1701 >>> 25) + var1702 | 0) & var1702 | ~var1701 & var1703) + var1700[1] - 389564586 | 0) << 12 | var1704 >>> 20) + var1701 | 0) & var1701 | ~var1704 & var1702) + var1700[2] + 606105819 | 0) << 17 | var1703 >>> 15) + var1704 | 0) & var1704 | ~var1703 & var1701) + var1700[3] - 1044525330 | 0) << 22 | var1702 >>> 10) + var1703 | 0;
				var1702 = ((var1702 += ((var1703 = ((var1703 += ((var1704 = ((var1704 += ((var1701 = ((var1701 += (var1702 & var1703 | ~var1702 & var1704) + var1700[4] - 176418897 | 0) << 7 | var1701 >>> 25) + var1702 | 0) & var1702 | ~var1701 & var1703) + var1700[5] + 1200080426 | 0) << 12 | var1704 >>> 20) + var1701 | 0) & var1701 | ~var1704 & var1702) + var1700[6] - 1473231341 | 0) << 17 | var1703 >>> 15) + var1704 | 0) & var1704 | ~var1703 & var1701) + var1700[7] - 45705983 | 0) << 22 | var1702 >>> 10) + var1703 | 0;
				var1702 = ((var1702 += ((var1703 = ((var1703 += ((var1704 = ((var1704 += ((var1701 = ((var1701 += (var1702 & var1703 | ~var1702 & var1704) + var1700[8] + 1770035416 | 0) << 7 | var1701 >>> 25) + var1702 | 0) & var1702 | ~var1701 & var1703) + var1700[9] - 1958414417 | 0) << 12 | var1704 >>> 20) + var1701 | 0) & var1701 | ~var1704 & var1702) + var1700[10] - 42063 | 0) << 17 | var1703 >>> 15) + var1704 | 0) & var1704 | ~var1703 & var1701) + var1700[11] - 1990404162 | 0) << 22 | var1702 >>> 10) + var1703 | 0;
				var1702 = ((var1702 += ((var1703 = ((var1703 += ((var1704 = ((var1704 += ((var1701 = ((var1701 += (var1702 & var1703 | ~var1702 & var1704) + var1700[12] + 1804603682 | 0) << 7 | var1701 >>> 25) + var1702 | 0) & var1702 | ~var1701 & var1703) + var1700[13] - 40341101 | 0) << 12 | var1704 >>> 20) + var1701 | 0) & var1701 | ~var1704 & var1702) + var1700[14] - 1502002290 | 0) << 17 | var1703 >>> 15) + var1704 | 0) & var1704 | ~var1703 & var1701) + var1700[15] + 1236535329 | 0) << 22 | var1702 >>> 10) + var1703 | 0;
				var1702 = ((var1702 += ((var1703 = ((var1703 += ((var1704 = ((var1704 += ((var1701 = ((var1701 += (var1702 & var1704 | var1703 & ~var1704) + var1700[1] - 165796510 | 0) << 5 | var1701 >>> 27) + var1702 | 0) & var1703 | var1702 & ~var1703) + var1700[6] - 1069501632 | 0) << 9 | var1704 >>> 23) + var1701 | 0) & var1702 | var1701 & ~var1702) + var1700[11] + 643717713 | 0) << 14 | var1703 >>> 18) + var1704 | 0) & var1701 | var1704 & ~var1701) + var1700[0] - 373897302 | 0) << 20 | var1702 >>> 12) + var1703 | 0;
				var1702 = ((var1702 += ((var1703 = ((var1703 += ((var1704 = ((var1704 += ((var1701 = ((var1701 += (var1702 & var1704 | var1703 & ~var1704) + var1700[5] - 701558691 | 0) << 5 | var1701 >>> 27) + var1702 | 0) & var1703 | var1702 & ~var1703) + var1700[10] + 38016083 | 0) << 9 | var1704 >>> 23) + var1701 | 0) & var1702 | var1701 & ~var1702) + var1700[15] - 660478335 | 0) << 14 | var1703 >>> 18) + var1704 | 0) & var1701 | var1704 & ~var1701) + var1700[4] - 405537848 | 0) << 20 | var1702 >>> 12) + var1703 | 0;
				var1702 = ((var1702 += ((var1703 = ((var1703 += ((var1704 = ((var1704 += ((var1701 = ((var1701 += (var1702 & var1704 | var1703 & ~var1704) + var1700[9] + 568446438 | 0) << 5 | var1701 >>> 27) + var1702 | 0) & var1703 | var1702 & ~var1703) + var1700[14] - 1019803690 | 0) << 9 | var1704 >>> 23) + var1701 | 0) & var1702 | var1701 & ~var1702) + var1700[3] - 187363961 | 0) << 14 | var1703 >>> 18) + var1704 | 0) & var1701 | var1704 & ~var1701) + var1700[8] + 1163531501 | 0) << 20 | var1702 >>> 12) + var1703 | 0;
				var1702 = ((var1702 += ((var1703 = ((var1703 += ((var1704 = ((var1704 += ((var1701 = ((var1701 += (var1702 & var1704 | var1703 & ~var1704) + var1700[13] - 1444681467 | 0) << 5 | var1701 >>> 27) + var1702 | 0) & var1703 | var1702 & ~var1703) + var1700[2] - 51403784 | 0) << 9 | var1704 >>> 23) + var1701 | 0) & var1702 | var1701 & ~var1702) + var1700[7] + 1735328473 | 0) << 14 | var1703 >>> 18) + var1704 | 0) & var1701 | var1704 & ~var1701) + var1700[12] - 1926607734 | 0) << 20 | var1702 >>> 12) + var1703 | 0;
				var1702 = ((var1702 += ((var1703 = ((var1703 += ((var1704 = ((var1704 += ((var1701 = ((var1701 += (var1702 ^ var1703 ^ var1704) + var1700[5] - 378558 | 0) << 4 | var1701 >>> 28) + var1702 | 0) ^ var1702 ^ var1703) + var1700[8] - 2022574463 | 0) << 11 | var1704 >>> 21) + var1701 | 0) ^ var1701 ^ var1702) + var1700[11] + 1839030562 | 0) << 16 | var1703 >>> 16) + var1704 | 0) ^ var1704 ^ var1701) + var1700[14] - 35309556 | 0) << 23 | var1702 >>> 9) + var1703 | 0;
				var1702 = ((var1702 += ((var1703 = ((var1703 += ((var1704 = ((var1704 += ((var1701 = ((var1701 += (var1702 ^ var1703 ^ var1704) + var1700[1] - 1530992060 | 0) << 4 | var1701 >>> 28) + var1702 | 0) ^ var1702 ^ var1703) + var1700[4] + 1272893353 | 0) << 11 | var1704 >>> 21) + var1701 | 0) ^ var1701 ^ var1702) + var1700[7] - 155497632 | 0) << 16 | var1703 >>> 16) + var1704 | 0) ^ var1704 ^ var1701) + var1700[10] - 1094730640 | 0) << 23 | var1702 >>> 9) + var1703 | 0;
				var1702 = ((var1702 += ((var1703 = ((var1703 += ((var1704 = ((var1704 += ((var1701 = ((var1701 += (var1702 ^ var1703 ^ var1704) + var1700[13] + 681279174 | 0) << 4 | var1701 >>> 28) + var1702 | 0) ^ var1702 ^ var1703) + var1700[0] - 358537222 | 0) << 11 | var1704 >>> 21) + var1701 | 0) ^ var1701 ^ var1702) + var1700[3] - 722521979 | 0) << 16 | var1703 >>> 16) + var1704 | 0) ^ var1704 ^ var1701) + var1700[6] + 76029189 | 0) << 23 | var1702 >>> 9) + var1703 | 0;
				var1702 = ((var1702 += ((var1703 = ((var1703 += ((var1704 = ((var1704 += ((var1701 = ((var1701 += (var1702 ^ var1703 ^ var1704) + var1700[9] - 640364487 | 0) << 4 | var1701 >>> 28) + var1702 | 0) ^ var1702 ^ var1703) + var1700[12] - 421815835 | 0) << 11 | var1704 >>> 21) + var1701 | 0) ^ var1701 ^ var1702) + var1700[15] + 530742520 | 0) << 16 | var1703 >>> 16) + var1704 | 0) ^ var1704 ^ var1701) + var1700[2] - 995338651 | 0) << 23 | var1702 >>> 9) + var1703 | 0;
				var1702 = ((var1702 += ((var1704 = ((var1704 += (var1702 ^ ((var1701 = ((var1701 += (var1703 ^ (var1702 | ~var1704)) + var1700[0] - 198630844 | 0) << 6 | var1701 >>> 26) + var1702 | 0) | ~var1703)) + var1700[7] + 1126891415 | 0) << 10 | var1704 >>> 22) + var1701 | 0) ^ ((var1703 = ((var1703 += (var1701 ^ (var1704 | ~var1702)) + var1700[14] - 1416354905 | 0) << 15 | var1703 >>> 17) + var1704 | 0) | ~var1701)) + var1700[5] - 57434055 | 0) << 21 | var1702 >>> 11) + var1703 | 0;
				var1702 = ((var1702 += ((var1704 = ((var1704 += (var1702 ^ ((var1701 = ((var1701 += (var1703 ^ (var1702 | ~var1704)) + var1700[12] + 1700485571 | 0) << 6 | var1701 >>> 26) + var1702 | 0) | ~var1703)) + var1700[3] - 1894986606 | 0) << 10 | var1704 >>> 22) + var1701 | 0) ^ ((var1703 = ((var1703 += (var1701 ^ (var1704 | ~var1702)) + var1700[10] - 1051523 | 0) << 15 | var1703 >>> 17) + var1704 | 0) | ~var1701)) + var1700[1] - 2054922799 | 0) << 21 | var1702 >>> 11) + var1703 | 0;
				var1702 = ((var1702 += ((var1704 = ((var1704 += (var1702 ^ ((var1701 = ((var1701 += (var1703 ^ (var1702 | ~var1704)) + var1700[8] + 1873313359 | 0) << 6 | var1701 >>> 26) + var1702 | 0) | ~var1703)) + var1700[15] - 30611744 | 0) << 10 | var1704 >>> 22) + var1701 | 0) ^ ((var1703 = ((var1703 += (var1701 ^ (var1704 | ~var1702)) + var1700[6] - 1560198380 | 0) << 15 | var1703 >>> 17) + var1704 | 0) | ~var1701)) + var1700[13] + 1309151649 | 0) << 21 | var1702 >>> 11) + var1703 | 0;
				var1702 = ((var1702 += ((var1704 = ((var1704 += (var1702 ^ ((var1701 = ((var1701 += (var1703 ^ (var1702 | ~var1704)) + var1700[4] - 145523070 | 0) << 6 | var1701 >>> 26) + var1702 | 0) | ~var1703)) + var1700[11] - 1120210379 | 0) << 10 | var1704 >>> 22) + var1701 | 0) ^ ((var1703 = ((var1703 += (var1701 ^ (var1704 | ~var1702)) + var1700[2] + 718787259 | 0) << 15 | var1703 >>> 17) + var1704 | 0) | ~var1701)) + var1700[9] - 343485551 | 0) << 21 | var1702 >>> 11) + var1703 | 0;
				var1699[0] = var1701 + var1699[0] | 0;
				var1699[1] = var1702 + var1699[1] | 0;
				var1699[2] = var1703 + var1699[2] | 0;
				var1699[3] = var1704 + var1699[3] | 0;
			}
			function fn50(str25) {
				var var1705, arr16 = [];
				for (var1705 = 0; var1705 < 64; var1705 += 4) arr16[var1705 >> 2] = str25.charCodeAt(var1705) + (str25.charCodeAt(var1705 + 1) << 8) + (str25.charCodeAt(var1705 + 2) << 16) + (str25.charCodeAt(var1705 + 3) << 24);
				return arr16;
			}
			function fn51(var1706) {
				var var1707, arr17 = [];
				for (var1707 = 0; var1707 < 64; var1707 += 4) arr17[var1707 >> 2] = var1706[var1707] + (var1706[var1707 + 1] << 8) + (var1706[var1707 + 2] << 16) + (var1706[var1707 + 3] << 24);
				return arr17;
			}
			function fn52(str26) {
				var var1708, var1709, var1710, var1711, var1712, var1713, length2 = str26.length, arr18 = [
					1732584193,
					-271733879,
					-1732584194,
					271733878
				];
				for (var1708 = 64; var1708 <= length2; var1708 += 64) fn49(arr18, fn50(str26.substring(var1708 - 64, var1708)));
				for (var1709 = (str26 = str26.substring(var1708 - 64)).length, var1710 = [
					0,
					0,
					0,
					0,
					0,
					0,
					0,
					0,
					0,
					0,
					0,
					0,
					0,
					0,
					0,
					0
				], var1708 = 0; var1708 < var1709; var1708 += 1) var1710[var1708 >> 2] |= str26.charCodeAt(var1708) << (var1708 % 4 << 3);
				if (var1710[var1708 >> 2] |= 128 << (var1708 % 4 << 3), var1708 > 55) for (fn49(arr18, var1710), var1708 = 0; var1708 < 16; var1708 += 1) var1710[var1708] = 0;
				var1711 = (8 * length2).toString(16).match(/(.*?)(.{0,8})$/);
				var1712 = parseInt(var1711[2], 16);
				var1713 = parseInt(var1711[1], 16) || 0;
				var1710[14] = var1712;
				var1710[15] = var1713;
				fn49(arr18, var1710);
				return arr18;
			}
			function fn53(var1714) {
				var var1715, var1716, var1717, var1718, var1719, var1720, length3 = var1714.length, arr19 = [
					1732584193,
					-271733879,
					-1732584194,
					271733878
				];
				for (var1715 = 64; var1715 <= length3; var1715 += 64) fn49(arr19, fn51(var1714.subarray(var1715 - 64, var1715)));
				for (var1716 = (var1714 = var1715 - 64 < length3 ? var1714.subarray(var1715 - 64) : new Uint8Array(0)).length, var1717 = [
					0,
					0,
					0,
					0,
					0,
					0,
					0,
					0,
					0,
					0,
					0,
					0,
					0,
					0,
					0,
					0
				], var1715 = 0; var1715 < var1716; var1715 += 1) var1717[var1715 >> 2] |= var1714[var1715] << (var1715 % 4 << 3);
				if (var1717[var1715 >> 2] |= 128 << (var1715 % 4 << 3), var1715 > 55) for (fn49(arr19, var1717), var1715 = 0; var1715 < 16; var1715 += 1) var1717[var1715] = 0;
				var1718 = (8 * length3).toString(16).match(/(.*?)(.{0,8})$/);
				var1719 = parseInt(var1718[2], 16);
				var1720 = parseInt(var1718[1], 16) || 0;
				var1717[14] = var1719;
				var1717[15] = var1720;
				fn49(arr19, var1717);
				return arr19;
			}
			function fn54(var1721) {
				var var1722, str27 = "";
				for (var1722 = 0; var1722 < 4; var1722 += 1) str27 += arr15[var1721 >> 8 * var1722 + 4 & 15] + arr15[var1721 >> 8 * var1722 & 15];
				return str27;
			}
			function call23(list53) {
				var var1723;
				for (var1723 = 0; var1723 < list53.length; var1723 += 1) list53[var1723] = fn54(list53[var1723]);
				return list53.join("");
			}
			function fn55(var1724) {
				/[\u0080-\uFFFF]/.test(var1724) && (var1724 = unescape(encodeURIComponent(var1724)));
				return var1724;
			}
			function pick7(str28, var1725) {
				var var1726, length4 = str28.length, obj44 = new ArrayBuffer(length4), obj45 = new Uint8Array(obj44);
				for (var1726 = 0; var1726 < length4; var1726 += 1) obj45[var1726] = str28.charCodeAt(var1726);
				return var1725 ? obj45 : obj44;
			}
			function call24(var1727) {
				return String.fromCharCode.apply(null, new Uint8Array(var1727));
			}
			function pick8(byteLength, byteLength1, var1728) {
				var obj46 = new Uint8Array(byteLength.byteLength + byteLength1.byteLength);
				obj46.set(new Uint8Array(byteLength));
				obj46.set(new Uint8Array(byteLength1), byteLength.byteLength);
				return var1728 ? obj46 : obj46.buffer;
			}
			function call25(str29) {
				var var1729, arr20 = [], length5 = str29.length;
				for (var1729 = 0; var1729 < length5 - 1; var1729 += 2) arr20.push(parseInt(str29.substr(var1729, 2), 16));
				return String.fromCharCode.apply(String, arr20);
			}
			function fn56() {
				this.reset();
			}
			"undefined" == typeof ArrayBuffer || ArrayBuffer.prototype.slice || function() {
				function pick9(var1730, var1731) {
					return (var1730 = 0 | var1730 || 0) < 0 ? Math.max(var1730 + var1731, 0) : Math.min(var1730, var1731);
				}
				ArrayBuffer.prototype.slice = function(var1732, var1733) {
					var var1734, var1735, set12, var1736, byteLength2 = this.byteLength, var1737 = pick9(var1732, byteLength2), var1738 = byteLength2;
					var1733 !== var1698 && (var1738 = pick9(var1733, byteLength2));
					return var1737 > var1738 ? new ArrayBuffer(0) : (var1734 = var1738 - var1737, var1735 = new ArrayBuffer(var1734), set12 = new Uint8Array(var1735), var1736 = new Uint8Array(this, var1737, var1734), set12.set(var1736), var1735);
				};
			}();
			fn56.prototype.append = function(var1739) {
				this.appendBinary(fn55(var1739));
				return this;
			};
			fn56.prototype.appendBinary = function(list54) {
				this._buff += list54;
				this._length += list54.length;
				var var1740, length6 = this._buff.length;
				for (var1740 = 64; var1740 <= length6; var1740 += 64) fn49(this._hash, fn50(this._buff.substring(var1740 - 64, var1740)));
				this._buff = this._buff.substring(var1740 - 64);
				return this;
			};
			fn56.prototype.end = function(var1741) {
				var var1742, var1743, _buff = this._buff, length7 = _buff.length, arr21 = [
					0,
					0,
					0,
					0,
					0,
					0,
					0,
					0,
					0,
					0,
					0,
					0,
					0,
					0,
					0,
					0
				];
				for (var1742 = 0; var1742 < length7; var1742 += 1) arr21[var1742 >> 2] |= _buff.charCodeAt(var1742) << (var1742 % 4 << 3);
				this._finish(arr21, length7);
				var1743 = call23(this._hash);
				var1741 && (var1743 = call25(var1743));
				this.reset();
				return var1743;
			};
			fn56.prototype.reset = function() {
				this._buff = "";
				this._length = 0;
				this._hash = [
					1732584193,
					-271733879,
					-1732584194,
					271733878
				];
				return this;
			};
			fn56.prototype.getState = function() {
				return {
					buff: this._buff,
					length: this._length,
					hash: this._hash.slice()
				};
			};
			fn56.prototype.setState = function(var1744) {
				this._buff = var1744.buff;
				this._length = var1744.length;
				this._hash = var1744.hash;
				return this;
			};
			fn56.prototype.destroy = function() {
				delete this._hash;
				delete this._buff;
				delete this._length;
			};
			fn56.prototype._finish = function(var1745, var1746) {
				var var1750 = var1746;
				if (var1745[var1750 >> 2] |= 128 << (var1750 % 4 << 3), var1750 > 55) for (fn49(this._hash, var1745), var1750 = 0; var1750 < 16; var1750 += 1) var1745[var1750] = 0;
				var1745[14] = parseInt("NaN", 16);
				var1745[15] = 0;
				fn49(this._hash, var1745);
			};
			fn56.hash = function(var1751, var1752) {
				return fn56.hashBinary(fn55(var1751), var1752);
			};
			fn56.hashBinary = function(var1753, var1754) {
				var var1755 = call23(fn52(var1753));
				return var1754 ? call25(var1755) : var1755;
			};
			fn56.ArrayBuffer = function() {
				this.reset();
			};
			fn56.ArrayBuffer.prototype.append = function(byteLength3) {
				var var1756, var1757 = pick8(this._buff.buffer, byteLength3, true), length8 = var1757.length;
				for (this._length += byteLength3.byteLength, var1756 = 64; var1756 <= length8; var1756 += 64) fn49(this._hash, fn51(var1757.subarray(var1756 - 64, var1756)));
				this._buff = var1756 - 64 < length8 ? new Uint8Array(var1757.buffer.slice(var1756 - 64)) : new Uint8Array(0);
				return this;
			};
			fn56.ArrayBuffer.prototype.end = function(var1758) {
				var var1759, var1760, length9 = this._buff.length, arr22 = [
					0,
					0,
					0,
					0,
					0,
					0,
					0,
					0,
					0,
					0,
					0,
					0,
					0,
					0,
					0,
					0
				];
				for (var1759 = 0; var1759 < length9; var1759 += 1) arr22[var1759 >> 2] |= fn50[var1759] << (var1759 % 4 << 3);
				this._finish(arr22, length9);
				var1760 = call23(this._hash);
				var1758 && (var1760 = call25(var1760));
				this.reset();
				return var1760;
			};
			fn56.ArrayBuffer.prototype.reset = function() {
				this._buff = new Uint8Array(0);
				this._length = 0;
				this._hash = [
					1732584193,
					-271733879,
					-1732584194,
					271733878
				];
				return this;
			};
			fn56.ArrayBuffer.prototype.getState = function() {
				var buff = fn56.prototype.getState.call(this);
				buff.buff = call24(buff.buff);
				return buff;
			};
			fn56.ArrayBuffer.prototype.setState = function(buff1) {
				buff1.buff = pick7(buff1.buff, true);
				return fn56.prototype.setState.call(this, buff1);
			};
			fn56.ArrayBuffer.prototype.destroy = fn56.prototype.destroy;
			fn56.ArrayBuffer.prototype._finish = fn56.prototype._finish;
			fn56.ArrayBuffer.hash = function(var1761, var1762) {
				var var1763 = call23(fn53(new Uint8Array(var1761)));
				return var1762 ? call25(var1763) : var1763;
			};
			return fn56;
		}();
	},
	611775: (var1764, var1765, var1766) => {
		"use strict";
		Object.defineProperty(var1765, "__esModule", { value: true });
		var1765.version = var1765.validate = var1765.v7 = var1765.v6ToV1 = var1765.v6 = var1765.v5 = var1765.v4 = var1765.v3 = var1765.v1ToV6 = var1765.v1 = var1765.stringify = var1765.parse = var1765.NIL = var1765.MAX = undefined;
		var default42 = var1766(559253);
		Object.defineProperty(var1765, "MAX", {
			enumerable: true,
			get: function() {
				return default42.default;
			}
		});
		var default43 = var1766(632392);
		Object.defineProperty(var1765, "NIL", {
			enumerable: true,
			get: function() {
				return default43.default;
			}
		});
		var default44 = var1766(835848);
		Object.defineProperty(var1765, "parse", {
			enumerable: true,
			get: function() {
				return default44.default;
			}
		});
		var default45 = var1766(409958);
		Object.defineProperty(var1765, "stringify", {
			enumerable: true,
			get: function() {
				return default45.default;
			}
		});
		var default46 = var1766(673598);
		Object.defineProperty(var1765, "v1", {
			enumerable: true,
			get: function() {
				return default46.default;
			}
		});
		var default47 = var1766(703831);
		Object.defineProperty(var1765, "v1ToV6", {
			enumerable: true,
			get: function() {
				return default47.default;
			}
		});
		var default48 = var1766(129140);
		Object.defineProperty(var1765, "v3", {
			enumerable: true,
			get: function() {
				return default48.default;
			}
		});
		var default49 = var1766(756737);
		Object.defineProperty(var1765, "v4", {
			enumerable: true,
			get: function() {
				return default49.default;
			}
		});
		var default50 = var1766(865810);
		Object.defineProperty(var1765, "v5", {
			enumerable: true,
			get: function() {
				return default50.default;
			}
		});
		var default51 = var1766(72607);
		Object.defineProperty(var1765, "v6", {
			enumerable: true,
			get: function() {
				return default51.default;
			}
		});
		var default52 = var1766(29923);
		Object.defineProperty(var1765, "v6ToV1", {
			enumerable: true,
			get: function() {
				return default52.default;
			}
		});
		var default53 = var1766(537992);
		Object.defineProperty(var1765, "v7", {
			enumerable: true,
			get: function() {
				return default53.default;
			}
		});
		var default54 = var1766(203389);
		Object.defineProperty(var1765, "validate", {
			enumerable: true,
			get: function() {
				return default54.default;
			}
		});
		var default55 = var1766(806159);
		Object.defineProperty(var1765, "version", {
			enumerable: true,
			get: function() {
				return default55.default;
			}
		});
	},
	559253: (var1767, default56) => {
		"use strict";
		Object.defineProperty(default56, "__esModule", { value: true });
		default56.default = "ffffffff-ffff-ffff-ffff-ffffffffffff";
	},
	813495: (var1768, default57) => {
		"use strict";
		function bitOr(var1770, var1771) {
			const var1772 = (65535 & var1770) + (65535 & var1771);
			return (var1770 >> 16) + (var1771 >> 16) + (var1772 >> 16) << 16 | 65535 & var1772;
		}
		function call26(var1773, var1774, var1775, var1776, var1777, var1778) {
			return bitOr((var1779 = bitOr(bitOr(var1774, var1773), bitOr(var1776, var1778))) << (var1780 = var1777) | var1779 >>> 32 - var1777, var1775);
			var var1779, var1780;
		}
		function call27(var1781, var1782, var1783, var1784, var1785, var1786, var1787) {
			return call26(var1782 & var1783 | ~var1782 & var1784, var1781, var1782, var1785, var1786, var1787);
		}
		function call28(var1788, var1789, var1790, var1791, var1792, var1793, var1794) {
			return call26(var1789 & var1791 | var1790 & ~var1791, var1788, var1789, var1792, var1793, var1794);
		}
		function call29(var1795, var1796, var1797, var1798, var1799, var1800, var1801) {
			return call26(var1796 ^ var1797 ^ var1798, var1795, var1796, var1799, var1800, var1801);
		}
		function call30(var1802, var1803, var1804, var1805, var1806, var1807, var1808) {
			return call26(var1804 ^ (var1803 | ~var1805), var1802, var1803, var1806, var1807, var1808);
		}
		Object.defineProperty(default57, "__esModule", { value: true });
		default57.default = function(list55) {
			return function(list56) {
				const obj47 = new Uint8Array(4 * list56.length);
				for (let index22 = 0; index22 < 4 * list56.length; index22++) obj47[index22] = list56[index22 >> 2] >>> index22 % 4 * 8 & 255;
				return obj47;
			}(function(list57, var1809) {
				const var1810 = new Uint32Array(14 + (var1809 + 64 >>> 9 << 4) + 1).fill(0);
				var1810.set(list57);
				var1810[var1809 >> 5] |= 128 << var1809 % 32;
				var1810[var1810.length - 1] = var1809;
				list57 = var1810;
				let num11 = 1732584193, var1811 = -271733879, var1812 = -1732584194, num12 = 271733878;
				for (let index23 = 0; index23 < list57.length; index23 += 16) {
					const var1813 = num11, var1814 = var1811, var1815 = var1812, var1816 = num12;
					num11 = call27(num11, var1811, var1812, num12, list57[index23], 7, -680876936);
					num12 = call27(num12, num11, var1811, var1812, list57[index23 + 1], 12, -389564586);
					var1812 = call27(var1812, num12, num11, var1811, list57[index23 + 2], 17, 606105819);
					var1811 = call27(var1811, var1812, num12, num11, list57[index23 + 3], 22, -1044525330);
					num11 = call27(num11, var1811, var1812, num12, list57[index23 + 4], 7, -176418897);
					num12 = call27(num12, num11, var1811, var1812, list57[index23 + 5], 12, 1200080426);
					var1812 = call27(var1812, num12, num11, var1811, list57[index23 + 6], 17, -1473231341);
					var1811 = call27(var1811, var1812, num12, num11, list57[index23 + 7], 22, -45705983);
					num11 = call27(num11, var1811, var1812, num12, list57[index23 + 8], 7, 1770035416);
					num12 = call27(num12, num11, var1811, var1812, list57[index23 + 9], 12, -1958414417);
					var1812 = call27(var1812, num12, num11, var1811, list57[index23 + 10], 17, -42063);
					var1811 = call27(var1811, var1812, num12, num11, list57[index23 + 11], 22, -1990404162);
					num11 = call27(num11, var1811, var1812, num12, list57[index23 + 12], 7, 1804603682);
					num12 = call27(num12, num11, var1811, var1812, list57[index23 + 13], 12, -40341101);
					var1812 = call27(var1812, num12, num11, var1811, list57[index23 + 14], 17, -1502002290);
					var1811 = call27(var1811, var1812, num12, num11, list57[index23 + 15], 22, 1236535329);
					num11 = call28(num11, var1811, var1812, num12, list57[index23 + 1], 5, -165796510);
					num12 = call28(num12, num11, var1811, var1812, list57[index23 + 6], 9, -1069501632);
					var1812 = call28(var1812, num12, num11, var1811, list57[index23 + 11], 14, 643717713);
					var1811 = call28(var1811, var1812, num12, num11, list57[index23], 20, -373897302);
					num11 = call28(num11, var1811, var1812, num12, list57[index23 + 5], 5, -701558691);
					num12 = call28(num12, num11, var1811, var1812, list57[index23 + 10], 9, 38016083);
					var1812 = call28(var1812, num12, num11, var1811, list57[index23 + 15], 14, -660478335);
					var1811 = call28(var1811, var1812, num12, num11, list57[index23 + 4], 20, -405537848);
					num11 = call28(num11, var1811, var1812, num12, list57[index23 + 9], 5, 568446438);
					num12 = call28(num12, num11, var1811, var1812, list57[index23 + 14], 9, -1019803690);
					var1812 = call28(var1812, num12, num11, var1811, list57[index23 + 3], 14, -187363961);
					var1811 = call28(var1811, var1812, num12, num11, list57[index23 + 8], 20, 1163531501);
					num11 = call28(num11, var1811, var1812, num12, list57[index23 + 13], 5, -1444681467);
					num12 = call28(num12, num11, var1811, var1812, list57[index23 + 2], 9, -51403784);
					var1812 = call28(var1812, num12, num11, var1811, list57[index23 + 7], 14, 1735328473);
					var1811 = call28(var1811, var1812, num12, num11, list57[index23 + 12], 20, -1926607734);
					num11 = call29(num11, var1811, var1812, num12, list57[index23 + 5], 4, -378558);
					num12 = call29(num12, num11, var1811, var1812, list57[index23 + 8], 11, -2022574463);
					var1812 = call29(var1812, num12, num11, var1811, list57[index23 + 11], 16, 1839030562);
					var1811 = call29(var1811, var1812, num12, num11, list57[index23 + 14], 23, -35309556);
					num11 = call29(num11, var1811, var1812, num12, list57[index23 + 1], 4, -1530992060);
					num12 = call29(num12, num11, var1811, var1812, list57[index23 + 4], 11, 1272893353);
					var1812 = call29(var1812, num12, num11, var1811, list57[index23 + 7], 16, -155497632);
					var1811 = call29(var1811, var1812, num12, num11, list57[index23 + 10], 23, -1094730640);
					num11 = call29(num11, var1811, var1812, num12, list57[index23 + 13], 4, 681279174);
					num12 = call29(num12, num11, var1811, var1812, list57[index23], 11, -358537222);
					var1812 = call29(var1812, num12, num11, var1811, list57[index23 + 3], 16, -722521979);
					var1811 = call29(var1811, var1812, num12, num11, list57[index23 + 6], 23, 76029189);
					num11 = call29(num11, var1811, var1812, num12, list57[index23 + 9], 4, -640364487);
					num12 = call29(num12, num11, var1811, var1812, list57[index23 + 12], 11, -421815835);
					var1812 = call29(var1812, num12, num11, var1811, list57[index23 + 15], 16, 530742520);
					var1811 = call29(var1811, var1812, num12, num11, list57[index23 + 2], 23, -995338651);
					num11 = call30(num11, var1811, var1812, num12, list57[index23], 6, -198630844);
					num12 = call30(num12, num11, var1811, var1812, list57[index23 + 7], 10, 1126891415);
					var1812 = call30(var1812, num12, num11, var1811, list57[index23 + 14], 15, -1416354905);
					var1811 = call30(var1811, var1812, num12, num11, list57[index23 + 5], 21, -57434055);
					num11 = call30(num11, var1811, var1812, num12, list57[index23 + 12], 6, 1700485571);
					num12 = call30(num12, num11, var1811, var1812, list57[index23 + 3], 10, -1894986606);
					var1812 = call30(var1812, num12, num11, var1811, list57[index23 + 10], 15, -1051523);
					var1811 = call30(var1811, var1812, num12, num11, list57[index23 + 1], 21, -2054922799);
					num11 = call30(num11, var1811, var1812, num12, list57[index23 + 8], 6, 1873313359);
					num12 = call30(num12, num11, var1811, var1812, list57[index23 + 15], 10, -30611744);
					var1812 = call30(var1812, num12, num11, var1811, list57[index23 + 6], 15, -1560198380);
					var1811 = call30(var1811, var1812, num12, num11, list57[index23 + 13], 21, 1309151649);
					num11 = call30(num11, var1811, var1812, num12, list57[index23 + 4], 6, -145523070);
					num12 = call30(num12, num11, var1811, var1812, list57[index23 + 11], 10, -1120210379);
					var1812 = call30(var1812, num12, num11, var1811, list57[index23 + 2], 15, 718787259);
					var1811 = call30(var1811, var1812, num12, num11, list57[index23 + 9], 21, -343485551);
					num11 = bitOr(num11, var1813);
					var1811 = bitOr(var1811, var1814);
					var1812 = bitOr(var1812, var1815);
					num12 = bitOr(num12, var1816);
				}
				return Uint32Array.of(num11, var1811, var1812, num12);
			}(function(list58) {
				if (0 === list58.length) return new Uint32Array();
				const var1817 = new Uint32Array(14 + (8 * list58.length + 64 >>> 9 << 4) + 1).fill(0);
				for (let index24 = 0; index24 < list58.length; index24++) var1817[index24 >> 2] |= (255 & list58[index24]) << index24 % 4 * 8;
				return var1817;
			}(list55), 8 * list55.length));
		};
	},
	525612: (var1818, default58) => {
		"use strict";
		Object.defineProperty(default58, "__esModule", { value: true });
		default58.default = { randomUUID: "undefined" != typeof crypto && crypto.randomUUID && crypto.randomUUID.bind(crypto) };
	},
	632392: (var1819, default59) => {
		"use strict";
		Object.defineProperty(default59, "__esModule", { value: true });
		default59.default = "00000000-0000-0000-0000-000000000000";
	},
	835848: (var1820, default60, var1821) => {
		"use strict";
		Object.defineProperty(default60, "__esModule", { value: true });
		const default61 = var1821(203389);
		default60.default = function(list59) {
			if (!(0, default61.default)(list59)) throw TypeError("Invalid UUID");
			let var1822;
			return Uint8Array.of((var1822 = parseInt(list59.slice(0, 8), 16)) >>> 24, var1822 >>> 16 & 255, var1822 >>> 8 & 255, 255 & var1822, (var1822 = parseInt(list59.slice(9, 13), 16)) >>> 8, 255 & var1822, (var1822 = parseInt(list59.slice(14, 18), 16)) >>> 8, 255 & var1822, (var1822 = parseInt(list59.slice(19, 23), 16)) >>> 8, 255 & var1822, (var1822 = parseInt(list59.slice(24, 36), 16)) / 1099511627776 & 255, var1822 / 4294967296 & 255, var1822 >>> 24 & 255, var1822 >>> 16 & 255, var1822 >>> 8 & 255, 255 & var1822);
		};
	},
	367256: (var1823, default62) => {
		"use strict";
		Object.defineProperty(default62, "__esModule", { value: true });
		default62.default = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/i;
	},
	876954: (var1824, default63) => {
		"use strict";
		let var1825;
		Object.defineProperty(default63, "__esModule", { value: true });
		const obj48 = new Uint8Array(16);
		default63.default = function() {
			if (!var1825) {
				if ("undefined" == typeof crypto || !crypto.getRandomValues) throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
				var1825 = crypto.getRandomValues.bind(crypto);
			}
			return var1825(obj48);
		};
	},
	826786: (var1826, default64) => {
		"use strict";
		function fn57(var1827, var1828, var1829, var1830) {
			switch (var1827) {
				case 0: return var1828 & var1829 ^ ~var1828 & var1830;
				case 1:
				case 3: return var1828 ^ var1829 ^ var1830;
				case 2: return var1828 & var1829 ^ var1828 & var1830 ^ var1829 & var1830;
			}
		}
		function bitOr1(var1831, var1832) {
			return var1831 << var1832 | var1831 >>> 32 - var1832;
		}
		Object.defineProperty(default64, "__esModule", { value: true });
		default64.default = function(list60) {
			const arr23 = [
				1518500249,
				1859775393,
				2400959708,
				3395469782
			], arr24 = [
				1732584193,
				4023233417,
				2562383102,
				271733878,
				3285377520
			], obj49 = new Uint8Array(list60.length + 1);
			obj49.set(list60);
			obj49[list60.length] = 128;
			const var1833 = Math.ceil(((list60 = obj49).length / 4 + 2) / 16), arr25 = new Array(var1833);
			for (let index25 = 0; index25 < var1833; ++index25) {
				const obj50 = new Uint32Array(16);
				for (let index26 = 0; index26 < 16; ++index26) obj50[index26] = list60[64 * index25 + 4 * index26] << 24 | list60[64 * index25 + 4 * index26 + 1] << 16 | list60[64 * index25 + 4 * index26 + 2] << 8 | list60[64 * index25 + 4 * index26 + 3];
				arr25[index25] = obj50;
			}
			arr25[var1833 - 1][14] = 8 * (list60.length - 1) / 4294967296;
			arr25[var1833 - 1][14] = Math.floor(arr25[var1833 - 1][14]);
			arr25[var1833 - 1][15] = 8 * (list60.length - 1) & 4294967295;
			for (let index27 = 0; index27 < var1833; ++index27) {
				const obj51 = new Uint32Array(80);
				for (let index28 = 0; index28 < 16; ++index28) obj51[index28] = arr25[index27][index28];
				for (let index29 = 16; index29 < 80; ++index29) obj51[index29] = bitOr1(obj51[index29 - 3] ^ obj51[index29 - 8] ^ obj51[index29 - 14] ^ obj51[index29 - 16], 1);
				let var1834 = arr24[0], var1835 = arr24[1], var1836 = arr24[2], var1837 = arr24[3], var1838 = arr24[4];
				for (let index30 = 0; index30 < 80; ++index30) {
					const var1839 = Math.floor(index30 / 20), var1840 = (var1834 << 5 | var1834 >>> 27) + fn57(var1839, var1835, var1836, var1837) + var1838 + arr23[var1839] + obj51[index30] >>> 0;
					var1838 = var1837;
					var1837 = var1836;
					var1836 = (var1835 << 30 | var1835 >>> 2) >>> 0;
					var1835 = var1834;
					var1834 = var1840;
				}
				arr24[0] = arr24[0] + var1834 >>> 0;
				arr24[1] = arr24[1] + var1835 >>> 0;
				arr24[2] = arr24[2] + var1836 >>> 0;
				arr24[3] = arr24[3] + var1837 >>> 0;
				arr24[4] = arr24[4] + var1838 >>> 0;
			}
			return Uint8Array.of(arr24[0] >> 24, arr24[0] >> 16, arr24[0] >> 8, arr24[0], arr24[1] >> 24, arr24[1] >> 16, arr24[1] >> 8, arr24[1], arr24[2] >> 24, arr24[2] >> 16, arr24[2] >> 8, arr24[2], arr24[3] >> 24, arr24[3] >> 16, arr24[3] >> 8, arr24[3], arr24[4] >> 24, arr24[4] >> 16, arr24[4] >> 8, arr24[4]);
		};
	},
	409958: (var1841, var1842, var1843) => {
		"use strict";
		Object.defineProperty(var1842, "__esModule", { value: true });
		var1842.unsafeStringify = undefined;
		const default65 = var1843(203389), arr26 = [];
		for (let index31 = 0; index31 < 256; ++index31) arr26.push((index31 + 256).toString(16).slice(1));
		function call31(var1844, var1845 = 0) {
			return (arr26[var1844[var1845 + 0]] + arr26[var1844[var1845 + 1]] + arr26[var1844[var1845 + 2]] + arr26[var1844[var1845 + 3]] + "-" + arr26[var1844[var1845 + 4]] + arr26[var1844[var1845 + 5]] + "-" + arr26[var1844[var1845 + 6]] + arr26[var1844[var1845 + 7]] + "-" + arr26[var1844[var1845 + 8]] + arr26[var1844[var1845 + 9]] + "-" + arr26[var1844[var1845 + 10]] + arr26[var1844[var1845 + 11]] + arr26[var1844[var1845 + 12]] + arr26[var1844[var1845 + 13]] + arr26[var1844[var1845 + 14]] + arr26[var1844[var1845 + 15]]).toLowerCase();
		}
		var1842.unsafeStringify = call31;
		var1842.default = function(var1846, var1847 = 0) {
			const var1848 = call31(var1846, var1847);
			if (!(0, default65.default)(var1848)) throw TypeError("Stringified UUID is invalid");
			return var1848;
		};
	},
	673598: (var1849, var1850, var1851) => {
		"use strict";
		Object.defineProperty(var1850, "__esModule", { value: true });
		var1850.updateV1State = undefined;
		const default66 = var1851(876954), unsafeStringify = var1851(409958), obj52 = {};
		function fn58(var1852, var1853, list61) {
			var var1854, var1855;
			null !== (var1854 = var1852.msecs) && undefined !== var1854 || (var1852.msecs = -1 / 0);
			null !== (var1855 = var1852.nsecs) && undefined !== var1855 || (var1852.nsecs = 0);
			var1853 === var1852.msecs ? (var1852.nsecs++, var1852.nsecs >= 1e4 && (var1852.node = undefined, var1852.nsecs = 0)) : var1853 > var1852.msecs ? var1852.nsecs = 0 : var1853 < var1852.msecs && (var1852.node = undefined);
			var1852.node || (var1852.node = list61.slice(10, 16), var1852.node[0] |= 1, var1852.clockseq = 16383 & (list61[8] << 8 | list61[9]));
			var1852.msecs = var1853;
			return var1852;
		}
		function fn59(list62, var1856, var1857, var1858, var1859, list63, var1860 = 0) {
			if (list62.length < 16) throw new Error("Random bytes length must be >= 16");
			if (list63) {
				if (var1860 < 0 || var1860 + 16 > list63.length) throw new RangeError(`UUID byte range ${var1860}:${var1860 + 15} is out of buffer bounds`);
			} else {
				list63 = new Uint8Array(16);
				var1860 = 0;
			}
			null != var1856 || (var1856 = 0);
			null != var1857 || (var1857 = 0);
			null != var1858 || (var1858 = 16383 & (list62[8] << 8 | list62[9]));
			null != var1859 || (var1859 = list62.slice(10, 16));
			const var1861 = (1e4 * (268435455 & (var1856 += 0xb1d069b5400)) + var1857) % 4294967296;
			list63[var1860++] = var1861 >>> 24 & 255;
			list63[var1860++] = var1861 >>> 16 & 255;
			list63[var1860++] = var1861 >>> 8 & 255;
			list63[var1860++] = 255 & var1861;
			const var1862 = var1856 / 4294967296 * 1e4 & 268435455;
			list63[var1860++] = var1862 >>> 8 & 255;
			list63[var1860++] = 255 & var1862;
			list63[var1860++] = var1862 >>> 24 & 15 | 16;
			list63[var1860++] = var1862 >>> 16 & 255;
			list63[var1860++] = var1858 >>> 8 | 128;
			list63[var1860++] = 255 & var1858;
			for (let index32 = 0; index32 < 6; ++index32) list63[var1860++] = var1859[index32];
			return list63;
		}
		var1850.updateV1State = fn58;
		var1850.default = function(var1863, var1864, var1865) {
			var var1866, var1867;
			let var1868;
			const var1869 = null !== (var1866 = null === (var1867 = var1863) || undefined === var1863 ? undefined : var1867._v6) && undefined !== var1866 && var1866;
			if (var1863) {
				const list64 = Object.keys(var1863);
				1 === list64.length && "_v6" === list64[0] && (var1863 = undefined);
			}
			if (var1863) {
				var var1870, var1871, var1872, var1873;
				var1868 = fn59(null !== (var1870 = null !== (var1871 = var1863.random) && undefined !== var1871 ? var1871 : null === (var1872 = (var1873 = var1863).rng) || undefined === var1872 ? undefined : var1872.call(var1863)) && undefined !== var1870 ? var1870 : (0, default66.default)(), var1863.msecs, var1863.nsecs, var1863.clockseq, var1863.node, var1864, var1865);
			} else {
				const num13 = 0, var1874 = (0, default66.default)();
				fn58(obj52, num13, var1874);
				var1868 = fn59(var1874, obj52.msecs, obj52.nsecs, var1869 ? undefined : obj52.clockseq, var1869 ? undefined : obj52.node, var1864, var1865);
			}
			return null != var1864 ? var1864 : (0, unsafeStringify.unsafeStringify)(var1868);
		};
	},
	703831: (var1875, default67, var1876) => {
		"use strict";
		Object.defineProperty(default67, "__esModule", { value: true });
		const default68 = var1876(835848), unsafeStringify1 = var1876(409958);
		default67.default = function(var1877) {
			const var1878 = function(var1879) {
				return Uint8Array.of((15 & var1879[6]) << 4 | var1879[7] >> 4 & 15, (15 & var1879[7]) << 4 | (240 & var1879[4]) >> 4, (15 & var1879[4]) << 4 | (240 & var1879[5]) >> 4, (15 & var1879[5]) << 4 | (240 & var1879[0]) >> 4, (15 & var1879[0]) << 4 | (240 & var1879[1]) >> 4, (15 & var1879[1]) << 4 | (240 & var1879[2]) >> 4, 96 | 15 & var1879[2], var1879[3], var1879[8], var1879[9], var1879[10], var1879[11], var1879[12], var1879[13], var1879[14], var1879[15]);
			}("string" == typeof var1877 ? (0, default68.default)(var1877) : var1877);
			return "string" == typeof var1877 ? (0, unsafeStringify1.unsafeStringify)(var1878) : var1878;
		};
	},
	129140: (var1880, var1881, var1882) => {
		"use strict";
		Object.defineProperty(var1881, "__esModule", { value: true });
		var1881.URL = var1881.DNS = undefined;
		const default69 = var1882(813495), var1883 = var1882(245345);
		var var1884 = var1882(245345);
		function call32(var1885, var1886, var1887, var1888) {
			return (0, var1883.default)(48, default69.default, var1885, var1886, var1887, var1888);
		}
		Object.defineProperty(var1881, "DNS", {
			enumerable: true,
			get: function() {
				return var1884.DNS;
			}
		});
		Object.defineProperty(var1881, "URL", {
			enumerable: true,
			get: function() {
				return var1884.URL;
			}
		});
		call32.DNS = var1883.DNS;
		call32.URL = var1883.URL;
		var1881.default = call32;
	},
	245345: (var1889, var1890, var1891) => {
		"use strict";
		Object.defineProperty(var1890, "__esModule", { value: true });
		var1890.URL = var1890.DNS = var1890.stringToBytes = undefined;
		const default70 = var1891(835848), unsafeStringify2 = var1891(409958);
		function fn60(str30) {
			str30 = unescape(encodeURIComponent(str30));
			const obj53 = new Uint8Array(str30.length);
			for (let index33 = 0; index33 < str30.length; ++index33) obj53[index33] = str30.charCodeAt(index33);
			return obj53;
		}
		var1890.stringToBytes = fn60;
		var1890.DNS = "6ba7b810-9dad-11d1-80b4-00c04fd430c8";
		var1890.URL = "6ba7b811-9dad-11d1-80b4-00c04fd430c8";
		var1890.default = function(var1892, var1893, var1894, var1895, var1896, var1897) {
			var list65;
			const list66 = "string" == typeof var1894 ? fn60(var1894) : var1894, list67 = "string" == typeof var1895 ? (0, default70.default)(var1895) : var1895;
			if ("string" == typeof var1895 && (var1895 = (0, default70.default)(var1895)), 16 !== (null === (list65 = var1895) || undefined === var1895 ? undefined : list65.length)) throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");
			let obj54 = new Uint8Array(16 + list66.length);
			if (obj54.set(list67), obj54.set(list66, list67.length), obj54 = var1893(obj54), obj54[6] = 15 & obj54[6] | var1892, obj54[8] = 63 & obj54[8] | 128, var1896) {
				var1897 = var1897 || 0;
				for (let index34 = 0; index34 < 16; ++index34) var1896[var1897 + index34] = obj54[index34];
				return var1896;
			}
			return (0, unsafeStringify2.unsafeStringify)(obj54);
		};
	},
	756737: (var1898, default71, var1899) => {
		"use strict";
		Object.defineProperty(default71, "__esModule", { value: true });
		const default72 = var1899(525612), default73 = var1899(876954), unsafeStringify3 = var1899(409958);
		default71.default = function(var1900, list68, var1901) {
			var var1902, var1903, var1904, var1905;
			if (default72.default.randomUUID && !list68 && !var1900) return default72.default.randomUUID();
			const list69 = null !== (var1902 = null !== (var1903 = (var1900 = var1900 || {}).random) && undefined !== var1903 ? var1903 : null === (var1904 = (var1905 = var1900).rng) || undefined === var1904 ? undefined : var1904.call(var1900)) && undefined !== var1902 ? var1902 : (0, default73.default)();
			if (list69.length < 16) throw new Error("Random bytes length must be >= 16");
			if (list69[6] = 15 & list69[6] | 64, list69[8] = 63 & list69[8] | 128, list68) {
				if ((var1901 = var1901 || 0) < 0 || var1901 + 16 > list68.length) throw new RangeError(`UUID byte range ${var1901}:${var1901 + 15} is out of buffer bounds`);
				for (let index35 = 0; index35 < 16; ++index35) list68[var1901 + index35] = list69[index35];
				return list68;
			}
			return (0, unsafeStringify3.unsafeStringify)(list69);
		};
	},
	865810: (var1906, var1907, var1908) => {
		"use strict";
		Object.defineProperty(var1907, "__esModule", { value: true });
		var1907.URL = var1907.DNS = undefined;
		const default74 = var1908(826786), var1909 = var1908(245345);
		var var1910 = var1908(245345);
		function call33(var1911, var1912, var1913, var1914) {
			return (0, var1909.default)(80, default74.default, var1911, var1912, var1913, var1914);
		}
		Object.defineProperty(var1907, "DNS", {
			enumerable: true,
			get: function() {
				return var1910.DNS;
			}
		});
		Object.defineProperty(var1907, "URL", {
			enumerable: true,
			get: function() {
				return var1910.URL;
			}
		});
		call33.DNS = var1909.DNS;
		call33.URL = var1909.URL;
		var1907.default = call33;
	},
	72607: (var1915, default75, var1916) => {
		"use strict";
		var var1917 = var1916(443693);
		function fn61(var1918, var1919) {
			var list70 = Object.keys(var1918);
			if (Object.getOwnPropertySymbols) {
				var list71 = Object.getOwnPropertySymbols(var1918);
				var1919 && (list71 = list71.filter((function(item71) {
					return Object.getOwnPropertyDescriptor(var1918, item71).enumerable;
				})));
				list70.push.apply(list70, list71);
			}
			return list70;
		}
		function fn62(var1920) {
			for (var index36 = 1; index36 < arguments.length; index36++) {
				var var1921 = null != arguments[index36] ? arguments[index36] : {};
				index36 % 2 ? fn61(Object(var1921), true).forEach((function(item72) {
					var1917(var1920, item72, var1921[item72]);
				})) : Object.getOwnPropertyDescriptors ? Object.defineProperties(var1920, Object.getOwnPropertyDescriptors(var1921)) : fn61(Object(var1921)).forEach((function(item73) {
					Object.defineProperty(var1920, item73, Object.getOwnPropertyDescriptor(var1921, item73));
				}));
			}
			return var1920;
		}
		Object.defineProperty(default75, "__esModule", { value: true });
		const unsafeStringify4 = var1916(409958), default76 = var1916(673598), default77 = var1916(703831);
		default75.default = function(var1922, var1923, var1924) {
			null != var1922 || (var1922 = {});
			null != var1924 || (var1924 = 0);
			let var1925 = (0, default76.default)(fn62(fn62({}, var1922), {}, { _v6: true }), new Uint8Array(16));
			if (var1925 = (0, default77.default)(var1925), var1923) {
				for (let index37 = 0; index37 < 16; index37++) var1923[var1924 + index37] = var1925[index37];
				return var1923;
			}
			return (0, unsafeStringify4.unsafeStringify)(var1925);
		};
	},
	29923: (var1926, default78, var1927) => {
		"use strict";
		Object.defineProperty(default78, "__esModule", { value: true });
		const default79 = var1927(835848), unsafeStringify5 = var1927(409958);
		default78.default = function(var1928) {
			const var1929 = function(var1930) {
				return Uint8Array.of((15 & var1930[3]) << 4 | var1930[4] >> 4 & 15, (15 & var1930[4]) << 4 | (240 & var1930[5]) >> 4, (15 & var1930[5]) << 4 | 15 & var1930[6], var1930[7], (15 & var1930[1]) << 4 | (240 & var1930[2]) >> 4, (15 & var1930[2]) << 4 | (240 & var1930[3]) >> 4, 16 | (240 & var1930[0]) >> 4, (15 & var1930[0]) << 4 | (240 & var1930[1]) >> 4, var1930[8], var1930[9], var1930[10], var1930[11], var1930[12], var1930[13], var1930[14], var1930[15]);
			}("string" == typeof var1928 ? (0, default79.default)(var1928) : var1928);
			return "string" == typeof var1928 ? (0, unsafeStringify5.unsafeStringify)(var1929) : var1929;
		};
	},
	537992: (var1931, var1932, var1933) => {
		"use strict";
		Object.defineProperty(var1932, "__esModule", { value: true });
		var1932.updateV7State = undefined;
		const default80 = var1933(876954), unsafeStringify6 = var1933(409958), obj55 = {};
		function fn63(var1934, var1935, var1936) {
			var var1937, var1938;
			null !== (var1937 = var1934.msecs) && undefined !== var1937 || (var1934.msecs = -1 / 0);
			null !== (var1938 = var1934.seq) && undefined !== var1938 || (var1934.seq = 0);
			var1935 > var1934.msecs ? (var1934.seq = var1936[6] << 23 | var1936[7] << 16 | var1936[8] << 8 | var1936[9], var1934.msecs = var1935) : (var1934.seq = var1934.seq + 1 | 0, 0 === var1934.seq && var1934.msecs++);
			return var1934;
		}
		function fn64(list72, var1939, var1940, list73, var1941 = 0) {
			if (list72.length < 16) throw new Error("Random bytes length must be >= 16");
			if (list73) {
				if (var1941 < 0 || var1941 + 16 > list73.length) throw new RangeError(`UUID byte range ${var1941}:${var1941 + 15} is out of buffer bounds`);
			} else {
				list73 = new Uint8Array(16);
				var1941 = 0;
			}
			null != var1939 || (var1939 = 0);
			null != var1940 || (var1940 = 127 * list72[6] << 24 | list72[7] << 16 | list72[8] << 8 | list72[9]);
			list73[var1941++] = var1939 / 1099511627776 & 255;
			list73[var1941++] = var1939 / 4294967296 & 255;
			list73[var1941++] = var1939 / 16777216 & 255;
			list73[var1941++] = var1939 / 65536 & 255;
			list73[var1941++] = var1939 / 256 & 255;
			list73[var1941++] = 255 & var1939;
			list73[var1941++] = 112 | var1940 >>> 28 & 15;
			list73[var1941++] = var1940 >>> 20 & 255;
			list73[var1941++] = 128 | var1940 >>> 14 & 63;
			list73[var1941++] = var1940 >>> 6 & 255;
			list73[var1941++] = var1940 << 2 & 255 | 3 & list72[10];
			list73[var1941++] = list72[11];
			list73[var1941++] = list72[12];
			list73[var1941++] = list72[13];
			list73[var1941++] = list72[14];
			list73[var1941++] = list72[15];
			return list73;
		}
		var1932.updateV7State = fn63;
		var1932.default = function(var1942, var1943, var1944) {
			let var1945;
			if (var1942) {
				var var1946, var1947, var1948;
				var1945 = fn64(null !== (var1946 = null !== (var1947 = var1942.random) && undefined !== var1947 ? var1947 : null === (var1948 = var1942.rng) || undefined === var1948 ? undefined : var1948.call(var1942)) && undefined !== var1946 ? var1946 : (0, default80.default)(), var1942.msecs, var1942.seq, var1943, var1944);
			} else {
				const num14 = 0, var1949 = (0, default80.default)();
				fn63(obj55, num14, var1949);
				var1945 = fn64(var1949, obj55.msecs, obj55.seq, var1943, var1944);
			}
			return null != var1943 ? var1943 : (0, unsafeStringify6.unsafeStringify)(var1945);
		};
	},
	203389: (var1950, default81, var1951) => {
		"use strict";
		Object.defineProperty(default81, "__esModule", { value: true });
		const default82 = var1951(367256);
		default81.default = function(var1952) {
			return "string" == typeof var1952 && default82.default.test(var1952);
		};
	},
	806159: (var1953, default83, var1954) => {
		"use strict";
		Object.defineProperty(default83, "__esModule", { value: true });
		const default84 = var1954(203389);
		default83.default = function(list74) {
			if (!(0, default84.default)(list74)) throw TypeError("Invalid UUID");
			return parseInt(list74.slice(14, 15), 16);
		};
	},
	512955: (var1955, var1956, var1957) => {
		"use strict";
		var1957.d(var1956, { Ay: () => var1963 });
		var obj56 = {};
		var1957.r(obj56);
		var1957.d(obj56, {
			BRAND: () => var1961.qt,
			DIRTY: () => var1959.jm,
			EMPTY_PATH: () => var1959.I3,
			INVALID: () => var1959.uY,
			NEVER: () => var1961.tm,
			OK: () => var1959.OK,
			ParseStatus: () => var1959.MY,
			Schema: () => var1961.Sj,
			ZodAny: () => var1961.Ml,
			ZodArray: () => var1961.n,
			ZodBigInt: () => var1961.Lr,
			ZodBoolean: () => var1961.WF,
			ZodBranded: () => var1961.eN,
			ZodCatch: () => var1961.hw,
			ZodDate: () => var1961.aP,
			ZodDefault: () => var1961.Xi,
			ZodDiscriminatedUnion: () => var1961.jv,
			ZodEffects: () => var1961.k1,
			ZodEnum: () => var1961.Vb,
			ZodError: () => var1962.G,
			ZodFirstPartyTypeKind: () => var1961.kY,
			ZodFunction: () => var1961.CZ,
			ZodIntersection: () => var1961.Jv,
			ZodIssueCode: () => var1962.eq,
			ZodLazy: () => var1961.Ih,
			ZodLiteral: () => var1961.DN,
			ZodMap: () => var1961.Ut,
			ZodNaN: () => var1961.Tq,
			ZodNativeEnum: () => var1961.WM,
			ZodNever: () => var1961.iS,
			ZodNull: () => var1961.PQ,
			ZodNullable: () => var1961.l1,
			ZodNumber: () => var1961.rS,
			ZodObject: () => var1961.bv,
			ZodOptional: () => var1961.Ii,
			ZodParsedType: () => var1960.Zp,
			ZodPipeline: () => var1961._c,
			ZodPromise: () => var1961.$i,
			ZodReadonly: () => var1961.EV,
			ZodRecord: () => var1961.b8,
			ZodSchema: () => var1961.lK,
			ZodSet: () => var1961.Kz,
			ZodString: () => var1961.ND,
			ZodSymbol: () => var1961.K5,
			ZodTransformer: () => var1961.BG,
			ZodTuple: () => var1961.y0,
			ZodType: () => var1961.aR,
			ZodUndefined: () => var1961._Z,
			ZodUnion: () => var1961.fZ,
			ZodUnknown: () => var1961._,
			ZodVoid: () => var1961.a0,
			addIssueToContext: () => var1959.zn,
			any: () => var1961.bz,
			array: () => var1961.YO,
			bigint: () => var1961.o,
			boolean: () => var1961.zM,
			coerce: () => var1961.au,
			custom: () => var1961.Ie,
			date: () => var1961.p6,
			datetimeRegex: () => var1961.fm,
			defaultErrorMap: () => var1958.su,
			discriminatedUnion: () => var1961.gM,
			effect: () => var1961.QZ,
			enum: () => var1961.k5,
			function: () => var1961.fH,
			getErrorMap: () => var1958.$W,
			getParsedType: () => var1960.CR,
			instanceof: () => var1961.Nl,
			intersection: () => var1961.E$,
			isAborted: () => var1959.G4,
			isAsync: () => var1959.xP,
			isDirty: () => var1959.DM,
			isValid: () => var1959.fn,
			late: () => var1961.fn,
			lazy: () => var1961.RZ,
			literal: () => var1961.eu,
			makeIssue: () => var1959.y7,
			map: () => var1961.Tj,
			nan: () => var1961.oi,
			nativeEnum: () => var1961.fc,
			never: () => var1961.Zm,
			null: () => var1961.ch,
			nullable: () => var1961.me,
			number: () => var1961.ai,
			object: () => var1961.Ik,
			objectUtil: () => var1960.o6,
			oboolean: () => var1961.yN,
			onumber: () => var1961.p7,
			optional: () => var1961.lq,
			ostring: () => var1961.Di,
			pipeline: () => var1961.Tk,
			preprocess: () => var1961.vk,
			promise: () => var1961.iv,
			quotelessJson: () => var1962.WI,
			record: () => var1961.g1,
			set: () => var1961.hZ,
			setErrorMap: () => var1958.pJ,
			strictObject: () => var1961.re,
			string: () => var1961.Yj,
			symbol: () => var1961.HR,
			transformer: () => var1961.Gu,
			tuple: () => var1961.PV,
			undefined: () => var1961.Vx,
			union: () => var1961.KC,
			unknown: () => var1961.L5,
			util: () => var1960.ZS,
			void: () => var1961.rI
		});
		var var1958 = var1957(557698), var1959 = var1957(98332), var1960 = var1957(290783), var1961 = var1957(115633), var1962 = var1957(13212);
		const var1963 = obj56;
	},
	13212: (var1964, var1965, var1966) => {
		"use strict";
		var1966.d(var1965, {
			G: () => create,
			WI: () => call34,
			eq: () => var1968
		});
		var var1967 = var1966(290783);
		const var1968 = var1967.ZS.arrayToEnum([
			"invalid_type",
			"invalid_literal",
			"custom",
			"invalid_union",
			"invalid_union_discriminator",
			"invalid_enum_value",
			"unrecognized_keys",
			"invalid_arguments",
			"invalid_return_type",
			"invalid_date",
			"invalid_string",
			"too_small",
			"too_big",
			"invalid_intersection_types",
			"not_multiple_of",
			"not_finite"
		]), call34 = (var1969) => JSON.stringify(var1969, null, 2).replace(/"([^"]+)":/g, "$1:");
		class create extends Error {
			get errors() {
				return this.issues;
			}
			constructor(var1970) {
				super();
				this.issues = [];
				this.addIssue = (var1971) => {
					this.issues = [...this.issues, var1971];
				};
				this.addIssues = (var1972 = []) => {
					this.issues = [...this.issues, ...var1972];
				};
				const var1973 = new.target.prototype;
				Object.setPrototypeOf ? Object.setPrototypeOf(this, var1973) : this.__proto__ = var1973;
				this.name = "ZodError";
				this.issues = var1970;
			}
			format(var1974) {
				const var1975 = var1974 || function(message1) {
					return message1.message;
				}, obj57 = { _errors: [] }, var1976 = (issues) => {
					for (const var1977 of issues.issues) if ("invalid_union" === var1977.code) var1977.unionErrors.map(var1976);
					else if ("invalid_return_type" === var1977.code) var1976(var1977.returnTypeError);
					else if ("invalid_arguments" === var1977.code) var1976(var1977.argumentsError);
					else if (0 === var1977.path.length) obj57._errors.push(var1975(var1977));
					else {
						let var1978 = obj57, num15 = 0;
						for (; num15 < var1977.path.length;) {
							const var1979 = var1977.path[num15];
							num15 === var1977.path.length - 1 ? (var1978[var1979] = var1978[var1979] || { _errors: [] }, var1978[var1979]._errors.push(var1975(var1977))) : var1978[var1979] = var1978[var1979] || { _errors: [] };
							var1978 = var1978[var1979];
							num15++;
						}
					}
				};
				var1976(this);
				return obj57;
			}
			static assert(var1980) {
				if (!(var1980 instanceof create)) throw new Error(`Not a ZodError: ${var1980}`);
			}
			toString() {
				return this.message;
			}
			get message() {
				return JSON.stringify(this.issues, var1967.ZS.jsonStringifyReplacer, 2);
			}
			get isEmpty() {
				return 0 === this.issues.length;
			}
			flatten(var1981 = ((message2) => message2.message)) {
				const obj58 = {}, arr27 = [];
				for (const path of this.issues) if (path.path.length > 0) {
					const var1982 = path.path[0];
					obj58[var1982] = obj58[var1982] || [];
					obj58[var1982].push(var1981(path));
				} else arr27.push(var1981(path));
				return {
					formErrors: arr27,
					fieldErrors: obj58
				};
			}
			get formErrors() {
				return this.flatten();
			}
		}
		create.create = (var1983) => new create(var1983);
	},
	557698: (var1984, var1985, var1986) => {
		"use strict";
		var1986.d(var1985, {
			$W: () => fn66,
			pJ: () => fn65,
			su: () => var1987.A
		});
		var var1987 = var1986(294954);
		let var1988 = var1987.A;
		function fn65(var1989) {
			var1988 = var1989;
		}
		function fn66() {
			return var1988;
		}
	},
	98332: (var1990, var1991, var1992) => {
		"use strict";
		var1992.d(var1991, {
			DM: () => equals4,
			G4: () => equals3,
			I3: () => arr29,
			MY: () => mergeObjectSync,
			OK: () => var2025,
			fn: () => equals5,
			jm: () => var2023,
			uY: () => obj60,
			xP: () => and4,
			y7: () => call35,
			zn: () => fn69
		});
		var var1993 = var1992(364467), var1994 = var1992(557698), var1995 = var1992(294954);
		function fn67(var1996, var1997) {
			var list75 = Object.keys(var1996);
			if (Object.getOwnPropertySymbols) {
				var list76 = Object.getOwnPropertySymbols(var1996);
				var1997 && (list76 = list76.filter((function(item74) {
					return Object.getOwnPropertyDescriptor(var1996, item74).enumerable;
				})));
				list75.push.apply(list75, list76);
			}
			return list75;
		}
		function fn68(var1998) {
			for (var index38 = 1; index38 < arguments.length; index38++) {
				var var1999 = null != arguments[index38] ? arguments[index38] : {};
				index38 % 2 ? fn67(Object(var1999), true).forEach((function(item75) {
					(0, var1993.A)(var1998, item75, var1999[item75]);
				})) : Object.getOwnPropertyDescriptors ? Object.defineProperties(var1998, Object.getOwnPropertyDescriptors(var1999)) : fn67(Object(var1999)).forEach((function(item76) {
					Object.defineProperty(var1998, item76, Object.getOwnPropertyDescriptor(var1999, item76));
				}));
			}
			return var1998;
		}
		const call35 = (var2000) => {
			const { data: var2001, path: var2002, errorMaps: list77, issueData: var2003 } = var2000, arr28 = [...var2002, ...var2003.path || []], var2004 = fn68(fn68({}, var2003), {}, { path: arr28 });
			if (undefined !== var2003.message) return fn68(fn68({}, var2003), {}, {
				path: arr28,
				message: var2003.message
			});
			let str31 = "";
			const var2005 = list77.filter(((item77) => !!item77)).slice().reverse();
			for (const var2006 of var2005) str31 = var2006(var2004, {
				data: var2001,
				defaultError: str31
			}).message;
			return fn68(fn68({}, var2003), {}, {
				path: arr28,
				message: str31
			});
		}, arr29 = [];
		function fn69(var2007, var2008) {
			const var2009 = (0, var1994.$W)(), var2010 = call35({
				issueData: var2008,
				data: var2007.data,
				path: var2007.path,
				errorMaps: [
					var2007.common.contextualErrorMap,
					var2007.schemaErrorMap,
					var2009,
					var2009 === var1995.A ? undefined : var1995.A
				].filter(((item78) => !!item78))
			});
			var2007.common.issues.push(var2010);
		}
		class mergeObjectSync {
			constructor() {
				this.value = "valid";
			}
			dirty() {
				"valid" === this.value && (this.value = "dirty");
			}
			abort() {
				"aborted" !== this.value && (this.value = "aborted");
			}
			static mergeArray(var2011, var2012) {
				const arr30 = [];
				for (const var2013 of var2012) {
					if ("aborted" === var2013.status) return obj60;
					"dirty" === var2013.status && var2011.dirty();
					arr30.push(var2013.value);
				}
				return {
					status: var2011.value,
					value: arr30
				};
			}
			static async mergeObjectAsync(var2014, var2015) {
				const arr31 = [];
				for (const var2016 of var2015) {
					const var2017 = await var2016.key, var2018 = await var2016.value;
					arr31.push({
						key: var2017,
						value: var2018
					});
				}
				return mergeObjectSync.mergeObjectSync(var2014, arr31);
			}
			static mergeObjectSync(var2019, var2020) {
				const obj59 = {};
				for (const alwaysSet of var2020) {
					const { key: var2021, value: var2022 } = alwaysSet;
					if ("aborted" === var2021.status) return obj60;
					if ("aborted" === var2022.status) return obj60;
					"dirty" === var2021.status && var2019.dirty();
					"dirty" === var2022.status && var2019.dirty();
					"__proto__" === var2021.value || undefined === var2022.value && !alwaysSet.alwaysSet || (obj59[var2021.value] = var2022.value);
				}
				return {
					status: var2019.value,
					value: obj59
				};
			}
		}
		const obj60 = { "status": "aborted" }, var2023 = (var2024) => ({
			status: "dirty",
			value: var2024
		}), var2025 = (var2026) => ({
			status: "valid",
			value: var2026
		}), equals3 = (status) => "aborted" === status.status, equals4 = (status1) => "dirty" === status1.status, equals5 = (status2) => "valid" === status2.status, and4 = (var2027) => "undefined" != typeof Promise && var2027 instanceof Promise;
	},
	290783: (var2028, var2029, var2030) => {
		"use strict";
		var2030.d(var2029, {
			CR: () => var2061,
			ZS: () => arrayToEnum,
			Zp: () => var2060,
			o6: () => var2031
		});
		var arrayToEnum, var2031, var2032 = var2030(364467);
		function fn70(var2033, var2034) {
			var list78 = Object.keys(var2033);
			if (Object.getOwnPropertySymbols) {
				var list79 = Object.getOwnPropertySymbols(var2033);
				var2034 && (list79 = list79.filter((function(item79) {
					return Object.getOwnPropertyDescriptor(var2033, item79).enumerable;
				})));
				list78.push.apply(list78, list79);
			}
			return list78;
		}
		function fn71(var2035) {
			for (var index39 = 1; index39 < arguments.length; index39++) {
				var var2036 = null != arguments[index39] ? arguments[index39] : {};
				index39 % 2 ? fn70(Object(var2036), true).forEach((function(item80) {
					(0, var2032.A)(var2035, item80, var2036[item80]);
				})) : Object.getOwnPropertyDescriptors ? Object.defineProperties(var2035, Object.getOwnPropertyDescriptors(var2036)) : fn70(Object(var2036)).forEach((function(item81) {
					Object.defineProperty(var2035, item81, Object.getOwnPropertyDescriptor(var2036, item81));
				}));
			}
			return var2035;
		}
		!function(var2037) {
			var2037.assertEqual = (var2038) => {};
			var2037.assertIs = function(var2039) {};
			var2037.assertNever = function(var2040) {
				throw new Error();
			};
			var2037.arrayToEnum = (var2041) => {
				const obj61 = {};
				for (const var2042 of var2041) obj61[var2042] = var2042;
				return obj61;
			};
			var2037.getValidEnumValues = (var2043) => {
				const var2044 = var2037.objectKeys(var2043).filter(((item82) => "number" != typeof var2043[var2043[item82]])), obj62 = {};
				for (const var2045 of var2044) obj62[var2045] = var2043[var2045];
				return var2037.objectValues(obj62);
			};
			var2037.objectValues = (var2046) => var2037.objectKeys(var2046).map((function(item83) {
				return var2046[item83];
			}));
			var2037.objectKeys = "function" == typeof Object.keys ? (var2047) => Object.keys(var2047) : (var2048) => {
				const arr32 = [];
				for (const var2049 in var2048) Object.prototype.hasOwnProperty.call(var2048, var2049) && arr32.push(var2049);
				return arr32;
			};
			var2037.find = (var2050, var2051) => {
				for (const var2052 of var2050) if (var2051(var2052)) return var2052;
			};
			var2037.isInteger = "function" == typeof Number.isInteger ? (var2053) => Number.isInteger(var2053) : (var2054) => "number" == typeof var2054 && Number.isFinite(var2054) && Math.floor(var2054) === var2054;
			var2037.joinValues = function(list80, var2055 = " | ") {
				return list80.map(((item84) => "string" == typeof item84 ? `'${item84}'` : item84)).join(var2055);
			};
			var2037.jsonStringifyReplacer = (var2056, var2057) => "bigint" == typeof var2057 ? var2057.toString() : var2057;
		}(arrayToEnum || (arrayToEnum = {}));
		(function(mergeShapes) {
			mergeShapes.mergeShapes = (var2058, var2059) => fn71(fn71({}, var2058), var2059);
		})(var2031 || (var2031 = {}));
		const var2060 = arrayToEnum.arrayToEnum([
			"string",
			"nan",
			"number",
			"integer",
			"float",
			"boolean",
			"date",
			"bigint",
			"symbol",
			"function",
			"undefined",
			"null",
			"array",
			"object",
			"unknown",
			"promise",
			"void",
			"never",
			"map",
			"set"
		]), var2061 = (var2062) => {
			switch (typeof var2062) {
				case "undefined": return var2060.undefined;
				case "string": return var2060.string;
				case "number": return Number.isNaN(var2062) ? var2060.nan : var2060.number;
				case "boolean": return var2060.boolean;
				case "function": return var2060.function;
				case "bigint": return var2060.bigint;
				case "symbol": return var2060.symbol;
				case "object": return Array.isArray(var2062) ? var2060.array : null === var2062 ? var2060.null : var2062.then && "function" == typeof var2062.then && var2062.catch && "function" == typeof var2062.catch ? var2060.promise : "undefined" != typeof Map && var2062 instanceof Map ? var2060.map : "undefined" != typeof Set && var2062 instanceof Set ? var2060.set : "undefined" != typeof Date && var2062 instanceof Date ? var2060.date : var2060.object;
				default: return var2060.unknown;
			}
		};
	},
	294954: (var2063, var2064, var2065) => {
		"use strict";
		var2065.d(var2064, { A: () => var2068 });
		var var2066 = var2065(13212), var2067 = var2065(290783);
		const var2068 = (var2069, defaultError) => {
			let var2070;
			switch (var2069.code) {
				case var2066.eq.invalid_type:
					var2070 = var2069.received === var2067.Zp.undefined ? "Required" : `Expected ${var2069.expected}, received ${var2069.received}`;
					break;
				case var2066.eq.invalid_literal:
					var2070 = `Invalid literal value, expected ${JSON.stringify(var2069.expected, var2067.ZS.jsonStringifyReplacer)}`;
					break;
				case var2066.eq.unrecognized_keys:
					var2070 = `Unrecognized key(s) in object: ${var2067.ZS.joinValues(var2069.keys, ", ")}`;
					break;
				case var2066.eq.invalid_union:
					var2070 = "Invalid input";
					break;
				case var2066.eq.invalid_union_discriminator:
					var2070 = `Invalid discriminator value. Expected ${var2067.ZS.joinValues(var2069.options)}`;
					break;
				case var2066.eq.invalid_enum_value:
					var2070 = `Invalid enum value. Expected ${var2067.ZS.joinValues(var2069.options)}, received '${var2069.received}'`;
					break;
				case var2066.eq.invalid_arguments:
					var2070 = "Invalid function arguments";
					break;
				case var2066.eq.invalid_return_type:
					var2070 = "Invalid function return type";
					break;
				case var2066.eq.invalid_date:
					var2070 = "Invalid date";
					break;
				case var2066.eq.invalid_string:
					"object" == typeof var2069.validation ? "includes" in var2069.validation ? (var2070 = `Invalid input: must include "${var2069.validation.includes}"`, "number" == typeof var2069.validation.position && (var2070 = `${var2070} at one or more positions greater than or equal to ${var2069.validation.position}`)) : "startsWith" in var2069.validation ? var2070 = `Invalid input: must start with "${var2069.validation.startsWith}"` : "endsWith" in var2069.validation ? var2070 = `Invalid input: must end with "${var2069.validation.endsWith}"` : var2067.ZS.assertNever(var2069.validation) : var2070 = "regex" !== var2069.validation ? `Invalid ${var2069.validation}` : "Invalid";
					break;
				case var2066.eq.too_small:
					var2070 = "array" === var2069.type ? `Array must contain ${var2069.exact ? "exactly" : var2069.inclusive ? "at least" : "more than"} ${var2069.minimum} element(s)` : "string" === var2069.type ? `String must contain ${var2069.exact ? "exactly" : var2069.inclusive ? "at least" : "over"} ${var2069.minimum} character(s)` : "number" === var2069.type || "bigint" === var2069.type ? `Number must be ${var2069.exact ? "exactly equal to " : var2069.inclusive ? "greater than or equal to " : "greater than "}${var2069.minimum}` : "date" === var2069.type ? `Date must be ${var2069.exact ? "exactly equal to " : var2069.inclusive ? "greater than or equal to " : "greater than "}${new Date(Number(var2069.minimum))}` : "Invalid input";
					break;
				case var2066.eq.too_big:
					var2070 = "array" === var2069.type ? `Array must contain ${var2069.exact ? "exactly" : var2069.inclusive ? "at most" : "less than"} ${var2069.maximum} element(s)` : "string" === var2069.type ? `String must contain ${var2069.exact ? "exactly" : var2069.inclusive ? "at most" : "under"} ${var2069.maximum} character(s)` : "number" === var2069.type ? `Number must be ${var2069.exact ? "exactly" : var2069.inclusive ? "less than or equal to" : "less than"} ${var2069.maximum}` : "bigint" === var2069.type ? `BigInt must be ${var2069.exact ? "exactly" : var2069.inclusive ? "less than or equal to" : "less than"} ${var2069.maximum}` : "date" === var2069.type ? `Date must be ${var2069.exact ? "exactly" : var2069.inclusive ? "smaller than or equal to" : "smaller than"} ${new Date(Number(var2069.maximum))}` : "Invalid input";
					break;
				case var2066.eq.custom:
					var2070 = "Invalid input";
					break;
				case var2066.eq.invalid_intersection_types:
					var2070 = "Intersection results could not be merged";
					break;
				case var2066.eq.not_multiple_of:
					var2070 = `Number must be a multiple of ${var2069.multipleOf}`;
					break;
				case var2066.eq.not_finite:
					var2070 = "Number must be finite";
					break;
				default:
					var2070 = defaultError.defaultError;
					var2067.ZS.assertNever(var2069);
			}
			return { message: var2070 };
		};
	},
	115633: (var2071, var2072, var2073) => {
		"use strict";
		var2073.d(var2072, {
			qt: () => var2491,
			tm: () => var2527,
			Sj: () => fn76,
			Ml: () => create10,
			n: () => create14,
			Lr: () => create4,
			WF: () => create5,
			eN: () => fn82,
			hw: () => create32,
			aP: () => create6,
			Xi: () => create31,
			jv: () => create16,
			k1: () => fn81,
			Vb: () => create26,
			kY: () => var2518,
			CZ: () => create22,
			Jv: () => create17,
			Ih: () => create23,
			DN: () => create24,
			Ut: () => create20,
			Tq: () => create33,
			WM: () => create27,
			iS: () => create12,
			PQ: () => create9,
			l1: () => create30,
			rS: () => create3,
			bv: () => fn79,
			Ii: () => create29,
			_c: () => create34,
			$i: () => create28,
			EV: () => create35,
			b8: () => create19,
			lK: () => fn76,
			Kz: () => create21,
			ND: () => create2,
			K5: () => create7,
			BG: () => fn81,
			y0: () => create18,
			aR: () => fn76,
			_Z: () => create8,
			fZ: () => create15,
			_: () => create11,
			a0: () => create13,
			bz: () => create45,
			YO: () => create49,
			o: () => create39,
			zM: () => create40,
			au: () => obj82,
			Ie: () => pick15,
			p6: () => create41,
			fm: () => create1,
			gM: () => create52,
			QZ: () => create64,
			k5: () => create61,
			fH: () => create58,
			Nl: () => call39,
			E$: () => create53,
			fn: () => obj81,
			RZ: () => create59,
			eu: () => create60,
			Tj: () => create56,
			oi: () => create38,
			fc: () => create62,
			Zm: () => create47,
			ch: () => create44,
			me: () => create66,
			ai: () => create37,
			Ik: () => create50,
			yN: () => call42,
			p7: () => call41,
			lq: () => create65,
			Di: () => call40,
			Tk: () => create67,
			vk: () => createWithPreprocess,
			iv: () => create63,
			g1: () => create55,
			hZ: () => create57,
			re: () => strictCreate,
			Yj: () => create36,
			HR: () => create42,
			Gu: () => create64,
			PV: () => create54,
			Vx: () => create43,
			KC: () => create51,
			L5: () => create46,
			rI: () => create48
		});
		var var2074, var2075 = var2073(364467), var2076 = var2073(13212), var2077 = var2073(557698), var2078 = var2073(294954);
		!function(var2079) {
			var2079.errToObj = (var2080) => "string" == typeof var2080 ? { message: var2080 } : var2080 || {};
			var2079.toString = (message3) => "string" == typeof message3 ? message3 : null == message3 ? undefined : message3.message;
		}(var2074 || (var2074 = {}));
		var var2081 = var2073(98332), var2082 = var2073(290783);
		function fn72(var2083, var2084) {
			var list81 = Object.keys(var2083);
			if (Object.getOwnPropertySymbols) {
				var list82 = Object.getOwnPropertySymbols(var2083);
				var2084 && (list82 = list82.filter((function(item85) {
					return Object.getOwnPropertyDescriptor(var2083, item85).enumerable;
				})));
				list81.push.apply(list81, list82);
			}
			return list81;
		}
		function fn73(var2085) {
			for (var index40 = 1; index40 < arguments.length; index40++) {
				var var2086 = null != arguments[index40] ? arguments[index40] : {};
				index40 % 2 ? fn72(Object(var2086), true).forEach((function(item86) {
					(0, var2075.A)(var2085, item86, var2086[item86]);
				})) : Object.getOwnPropertyDescriptors ? Object.defineProperties(var2085, Object.getOwnPropertyDescriptors(var2086)) : fn72(Object(var2086)).forEach((function(item87) {
					Object.defineProperty(var2085, item87, Object.getOwnPropertyDescriptor(var2086, item87));
				}));
			}
			return var2085;
		}
		class fn74 {
			constructor(var2087, var2088, var2089, var2090) {
				this._cachedPath = [];
				this.parent = var2087;
				this.data = var2088;
				this._path = var2089;
				this._key = var2090;
			}
			get path() {
				this._cachedPath.length || this._cachedPath.push(...this._path, this._key);
				return this._cachedPath;
			}
		}
		const var2091 = (common, value12) => {
			if ((0, var2081.fn)(value12)) return {
				success: true,
				data: value12.value
			};
			if (!common.common.issues.length) throw new Error("Validation failed but no issues detected.");
			return {
				success: false,
				get error() {
					if (this._error) return this._error;
					this._error = new var2076.G(common.common.issues);
					return this._error;
				}
			};
		};
		function fn75(var2092) {
			if (!var2092) return {};
			const { errorMap: var2093, invalid_type_error: var2094, required_error: var2095, description: var2096 } = var2092;
			if (var2093 && (var2094 || var2095)) throw new Error("Can't use \"invalid_type_error\" or \"required_error\" in conjunction with custom error map.");
			if (var2093) return {
				errorMap: var2093,
				description: var2096
			};
			return {
				errorMap: (code, var2097) => {
					var var2098;
					const { message: var2099 } = var2092;
					return "invalid_enum_value" === code.code ? { message: null != var2099 ? var2099 : var2097.defaultError } : undefined === var2097.data ? { message: null !== (var2100 = null != var2099 ? var2099 : var2095) && undefined !== var2100 ? var2100 : var2097.defaultError } : "invalid_type" !== code.code ? { message: var2097.defaultError } : { message: null !== (var2098 = null != var2099 ? var2099 : var2094) && undefined !== var2098 ? var2098 : var2097.defaultError };
					var var2100;
				},
				description: var2096
			};
		}
		class fn76 {
			get description() {
				return this._def.description;
			}
			_getType(data) {
				return (0, var2082.CR)(data.data);
			}
			_getOrReturnCtx(var2101, var2102) {
				return var2102 || {
					common: var2101.parent.common,
					data: var2101.data,
					parsedType: (0, var2082.CR)(var2101.data),
					schemaErrorMap: this._def.errorMap,
					path: var2101.path,
					parent: var2101.parent
				};
			}
			_processInputParams(var2103) {
				return {
					status: new var2081.MY(),
					ctx: {
						common: var2103.parent.common,
						data: var2103.data,
						parsedType: (0, var2082.CR)(var2103.data),
						schemaErrorMap: this._def.errorMap,
						path: var2103.path,
						parent: var2103.parent
					}
				};
			}
			_parseSync(var2104) {
				const var2105 = this._parse(var2104);
				if ((0, var2081.xP)(var2105)) throw new Error("Synchronous parse encountered promise.");
				return var2105;
			}
			_parseAsync(var2106) {
				return Promise.resolve(this._parse(var2106));
			}
			parse(var2107, var2108) {
				const var2109 = this.safeParse(var2107, var2108);
				if (var2109.success) return var2109.data;
				throw var2109.error;
			}
			safeParse(var2110, var2111) {
				var var2112;
				const obj63 = {
					common: {
						issues: [],
						async: null !== (var2112 = null == var2111 ? undefined : var2111.async) && undefined !== var2112 && var2112,
						contextualErrorMap: null == var2111 ? undefined : var2111.errorMap
					},
					path: (null == var2111 ? undefined : var2111.path) || [],
					schemaErrorMap: this._def.errorMap,
					parent: null,
					data: var2110,
					parsedType: (0, var2082.CR)(var2110)
				};
				return var2091(obj63, this._parseSync({
					data: var2110,
					path: obj63.path,
					parent: obj63
				}));
			}
			"~validate"(var2113) {
				const obj64 = {
					common: {
						issues: [],
						async: !!this["~standard"].async
					},
					path: [],
					schemaErrorMap: this._def.errorMap,
					parent: null,
					data: var2113,
					parsedType: (0, var2082.CR)(var2113)
				};
				if (!this["~standard"].async) try {
					const value13 = this._parseSync({
						data: var2113,
						path: [],
						parent: obj64
					});
					return (0, var2081.fn)(value13) ? { value: value13.value } : { issues: obj64.common.issues };
				} catch (error38) {
					var var2114;
					null != error38 && null !== (var2114 = error38.message) && undefined !== var2114 && null !== (var2114 = var2114.toLowerCase()) && undefined !== var2114 && var2114.includes("encountered") && (this["~standard"].async = true);
					obj64.common = {
						issues: [],
						async: true
					};
				}
				return this._parseAsync({
					data: var2113,
					path: [],
					parent: obj64
				}).then(((value14) => (0, var2081.fn)(value14) ? { value: value14.value } : { issues: obj64.common.issues }));
			}
			async parseAsync(var2115, var2116) {
				const var2117 = await this.safeParseAsync(var2115, var2116);
				if (var2117.success) return var2117.data;
				throw var2117.error;
			}
			async safeParseAsync(var2118, var2119) {
				const obj65 = {
					common: {
						issues: [],
						contextualErrorMap: null == var2119 ? undefined : var2119.errorMap,
						async: true
					},
					path: (null == var2119 ? undefined : var2119.path) || [],
					schemaErrorMap: this._def.errorMap,
					parent: null,
					data: var2118,
					parsedType: (0, var2082.CR)(var2118)
				}, var2120 = this._parse({
					data: var2118,
					path: obj65.path,
					parent: obj65
				}), var2121 = await ((0, var2081.xP)(var2120) ? var2120 : Promise.resolve(var2120));
				return var2091(obj65, var2121);
			}
			refine(var2122, var2123) {
				return this._refinement(((var2124, addIssue) => {
					const then1 = var2122(var2124), call36 = () => addIssue.addIssue(fn73({ code: var2076.eq.custom }, ((var2125) => "string" == typeof var2123 || undefined === var2123 ? { message: var2123 } : "function" == typeof var2123 ? var2123(var2125) : var2123)(var2124)));
					return "undefined" != typeof Promise && then1 instanceof Promise ? then1.then(((var2126) => !!var2126 || (call36(), false))) : !!then1 || (call36(), false);
				}));
			}
			refinement(var2127, var2128) {
				return this._refinement(((var2129, addIssue1) => !!var2127(var2129) || (addIssue1.addIssue("function" == typeof var2128 ? var2128(var2129, addIssue1) : var2128), false)));
			}
			_refinement(var2130) {
				return new fn81({
					schema: this,
					typeName: var2518.ZodEffects,
					effect: {
						type: "refinement",
						refinement: var2130
					}
				});
			}
			superRefine(var2131) {
				return this._refinement(var2131);
			}
			constructor(var2132) {
				this.spa = this.safeParseAsync;
				this._def = var2132;
				this.parse = this.parse.bind(this);
				this.safeParse = this.safeParse.bind(this);
				this.parseAsync = this.parseAsync.bind(this);
				this.safeParseAsync = this.safeParseAsync.bind(this);
				this.spa = this.spa.bind(this);
				this.refine = this.refine.bind(this);
				this.refinement = this.refinement.bind(this);
				this.superRefine = this.superRefine.bind(this);
				this.optional = this.optional.bind(this);
				this.nullable = this.nullable.bind(this);
				this.nullish = this.nullish.bind(this);
				this.array = this.array.bind(this);
				this.promise = this.promise.bind(this);
				this.or = this.or.bind(this);
				this.and = this.and.bind(this);
				this.transform = this.transform.bind(this);
				this.brand = this.brand.bind(this);
				this.default = this.default.bind(this);
				this.catch = this.catch.bind(this);
				this.describe = this.describe.bind(this);
				this.pipe = this.pipe.bind(this);
				this.readonly = this.readonly.bind(this);
				this.isNullable = this.isNullable.bind(this);
				this.isOptional = this.isOptional.bind(this);
				this["~standard"] = {
					version: 1,
					vendor: "zod",
					validate: (var2133) => this["~validate"](var2133)
				};
			}
			optional() {
				return create29.create(this, this._def);
			}
			nullable() {
				return create30.create(this, this._def);
			}
			nullish() {
				return this.nullable().optional();
			}
			array() {
				return create14.create(this);
			}
			promise() {
				return create28.create(this, this._def);
			}
			or(var2134) {
				return create15.create([this, var2134], this._def);
			}
			and(var2135) {
				return create17.create(this, var2135, this._def);
			}
			transform(var2136) {
				return new fn81(fn73(fn73({}, {}), {}, {
					schema: this,
					typeName: var2518.ZodEffects,
					effect: {
						type: "transform",
						transform: var2136
					}
				}));
			}
			default(var2137) {
				const var2138 = "function" == typeof var2137 ? var2137 : () => var2137;
				return new create31(fn73(fn73({}, {}), {}, {
					innerType: this,
					defaultValue: var2138,
					typeName: var2518.ZodDefault
				}));
			}
			brand() {
				return new fn82(fn73({
					typeName: var2518.ZodBranded,
					type: this
				}, {}));
			}
			catch(var2139) {
				const var2140 = "function" == typeof var2139 ? var2139 : () => var2139;
				return new create32(fn73(fn73({}, {}), {}, {
					innerType: this,
					catchValue: var2140,
					typeName: var2518.ZodCatch
				}));
			}
			describe(var2141) {
				return new (0, this.constructor)(fn73(fn73({}, this._def), {}, { description: var2141 }));
			}
			pipe(var2142) {
				return create34.create(this, var2142);
			}
			readonly() {
				return create35.create(this);
			}
			isOptional() {
				return this.safeParse(undefined).success;
			}
			isNullable() {
				return this.safeParse(null).success;
			}
		}
		const regex2 = /^c[^\s-]{8,}$/i, regex3 = /^[0-9a-z]+$/, regex4 = /^[0-9A-HJKMNP-TV-Z]{26}$/i, regex5 = /^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i, regex6 = /^[a-z0-9_-]{21}$/i, regex7 = /^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/, regex8 = /^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/, regex9 = /^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i;
		let test3;
		const regex10 = /^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/, regex11 = /^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/, regex12 = /^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/, regex13 = /^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/, regex14 = /^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/, regex15 = /^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/, str32 = "((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))", regex16 = new RegExp("^((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))$");
		function fn77(precision) {
			let str33 = "[0-5]\\d";
			precision.precision ? str33 = `${"[0-5]\\d"}\\.\\d{${precision.precision}}` : null == precision.precision && (str33 = "[0-5]\\d(\\.\\d+)?");
			return `([01]\\d|2[0-3]):[0-5]\\d(:${str33})${precision.precision ? "+" : "?"}`;
		}
		function create1(var2143) {
			let str34 = `${str32}T${fn77(var2143)}`;
			const arr33 = [];
			arr33.push(var2143.local ? "Z?" : "Z");
			var2143.offset && arr33.push("([+-]\\d{2}:?\\d{2})");
			str34 = `${str34}(${arr33.join("|")})`;
			return new RegExp(`^${str34}$`);
		}
		function fn78(str35, var2144) {
			if (!regex7.test(str35)) return false;
			try {
				const [str36] = str35.split(".");
				if (!str36) return false;
				const var2145 = str36.replace(/-/g, "+").replace(/_/g, "/").padEnd(str36.length + (4 - str36.length % 4) % 4, "="), parsed2 = JSON.parse(atob(var2145));
				return "object" == typeof parsed2 && null !== parsed2 && (!("typ" in parsed2) || "JWT" === (null == parsed2 ? undefined : parsed2.typ)) && !!parsed2.alg && (!var2144 || parsed2.alg === var2144);
			} catch (error39) {
				return false;
			}
		}
		function or2(var2146, var2147) {
			return !("v4" !== var2147 && var2147 || !regex11.test(var2146)) || !("v6" !== var2147 && var2147 || !regex13.test(var2146));
		}
		class create2 extends fn76 {
			_parse(data1) {
				this._def.coerce && (data1.data = String(data1.data));
				if (this._getType(data1) !== var2082.Zp.string) {
					const parsedType = this._getOrReturnCtx(data1);
					(0, var2081.zn)(parsedType, {
						code: var2076.eq.invalid_type,
						expected: var2082.Zp.string,
						received: parsedType.parsedType
					});
					return var2081.uY;
				}
				const obj66 = new var2081.MY();
				let var2148;
				for (const var2149 of this._def.checks) if ("min" === var2149.kind) data1.data.length < var2149.value && (var2148 = this._getOrReturnCtx(data1, var2148), (0, var2081.zn)(var2148, {
					code: var2076.eq.too_small,
					minimum: var2149.value,
					type: "string",
					inclusive: true,
					exact: false,
					message: var2149.message
				}), obj66.dirty());
				else if ("max" === var2149.kind) data1.data.length > var2149.value && (var2148 = this._getOrReturnCtx(data1, var2148), (0, var2081.zn)(var2148, {
					code: var2076.eq.too_big,
					maximum: var2149.value,
					type: "string",
					inclusive: true,
					exact: false,
					message: var2149.message
				}), obj66.dirty());
				else if ("length" === var2149.kind) {
					const var2150 = data1.data.length > var2149.value, var2151 = data1.data.length < var2149.value;
					(var2150 || var2151) && (var2148 = this._getOrReturnCtx(data1, var2148), var2150 ? (0, var2081.zn)(var2148, {
						code: var2076.eq.too_big,
						maximum: var2149.value,
						type: "string",
						inclusive: true,
						exact: true,
						message: var2149.message
					}) : var2151 && (0, var2081.zn)(var2148, {
						code: var2076.eq.too_small,
						minimum: var2149.value,
						type: "string",
						inclusive: true,
						exact: true,
						message: var2149.message
					}), obj66.dirty());
				} else if ("email" === var2149.kind) regex9.test(data1.data) || (var2148 = this._getOrReturnCtx(data1, var2148), (0, var2081.zn)(var2148, {
					validation: "email",
					code: var2076.eq.invalid_string,
					message: var2149.message
				}), obj66.dirty());
				else if ("emoji" === var2149.kind) {
					test3 || (test3 = new RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$", "u"));
					test3.test(data1.data) || (var2148 = this._getOrReturnCtx(data1, var2148), (0, var2081.zn)(var2148, {
						validation: "emoji",
						code: var2076.eq.invalid_string,
						message: var2149.message
					}), obj66.dirty());
				} else if ("uuid" === var2149.kind) regex5.test(data1.data) || (var2148 = this._getOrReturnCtx(data1, var2148), (0, var2081.zn)(var2148, {
					validation: "uuid",
					code: var2076.eq.invalid_string,
					message: var2149.message
				}), obj66.dirty());
				else if ("nanoid" === var2149.kind) regex6.test(data1.data) || (var2148 = this._getOrReturnCtx(data1, var2148), (0, var2081.zn)(var2148, {
					validation: "nanoid",
					code: var2076.eq.invalid_string,
					message: var2149.message
				}), obj66.dirty());
				else if ("cuid" === var2149.kind) regex2.test(data1.data) || (var2148 = this._getOrReturnCtx(data1, var2148), (0, var2081.zn)(var2148, {
					validation: "cuid",
					code: var2076.eq.invalid_string,
					message: var2149.message
				}), obj66.dirty());
				else if ("cuid2" === var2149.kind) regex3.test(data1.data) || (var2148 = this._getOrReturnCtx(data1, var2148), (0, var2081.zn)(var2148, {
					validation: "cuid2",
					code: var2076.eq.invalid_string,
					message: var2149.message
				}), obj66.dirty());
				else if ("ulid" === var2149.kind) regex4.test(data1.data) || (var2148 = this._getOrReturnCtx(data1, var2148), (0, var2081.zn)(var2148, {
					validation: "ulid",
					code: var2076.eq.invalid_string,
					message: var2149.message
				}), obj66.dirty());
				else if ("url" === var2149.kind) try {
					new URL(data1.data);
				} catch (error40) {
					var2148 = this._getOrReturnCtx(data1, var2148);
					(0, var2081.zn)(var2148, {
						validation: "url",
						code: var2076.eq.invalid_string,
						message: var2149.message
					});
					obj66.dirty();
				}
				else if ("regex" === var2149.kind) {
					var2149.regex.lastIndex = 0;
					var2149.regex.test(data1.data) || (var2148 = this._getOrReturnCtx(data1, var2148), (0, var2081.zn)(var2148, {
						validation: "regex",
						code: var2076.eq.invalid_string,
						message: var2149.message
					}), obj66.dirty());
				} else if ("trim" === var2149.kind) data1.data = data1.data.trim();
				else if ("includes" === var2149.kind) data1.data.includes(var2149.value, var2149.position) || (var2148 = this._getOrReturnCtx(data1, var2148), (0, var2081.zn)(var2148, {
					code: var2076.eq.invalid_string,
					validation: {
						includes: var2149.value,
						position: var2149.position
					},
					message: var2149.message
				}), obj66.dirty());
				else if ("toLowerCase" === var2149.kind) data1.data = data1.data.toLowerCase();
				else if ("toUpperCase" === var2149.kind) data1.data = data1.data.toUpperCase();
				else if ("startsWith" === var2149.kind) data1.data.startsWith(var2149.value) || (var2148 = this._getOrReturnCtx(data1, var2148), (0, var2081.zn)(var2148, {
					code: var2076.eq.invalid_string,
					validation: { startsWith: var2149.value },
					message: var2149.message
				}), obj66.dirty());
				else if ("endsWith" === var2149.kind) data1.data.endsWith(var2149.value) || (var2148 = this._getOrReturnCtx(data1, var2148), (0, var2081.zn)(var2148, {
					code: var2076.eq.invalid_string,
					validation: { endsWith: var2149.value },
					message: var2149.message
				}), obj66.dirty());
				else if ("datetime" === var2149.kind) {
					create1(var2149).test(data1.data) || (var2148 = this._getOrReturnCtx(data1, var2148), (0, var2081.zn)(var2148, {
						code: var2076.eq.invalid_string,
						validation: "datetime",
						message: var2149.message
					}), obj66.dirty());
				} else if ("date" === var2149.kind) {
					regex16.test(data1.data) || (var2148 = this._getOrReturnCtx(data1, var2148), (0, var2081.zn)(var2148, {
						code: var2076.eq.invalid_string,
						validation: "date",
						message: var2149.message
					}), obj66.dirty());
				} else if ("time" === var2149.kind) {
					new RegExp(`^${fn77(var2149)}$`).test(data1.data) || (var2148 = this._getOrReturnCtx(data1, var2148), (0, var2081.zn)(var2148, {
						code: var2076.eq.invalid_string,
						validation: "time",
						message: var2149.message
					}), obj66.dirty());
				} else "duration" === var2149.kind ? regex8.test(data1.data) || (var2148 = this._getOrReturnCtx(data1, var2148), (0, var2081.zn)(var2148, {
					validation: "duration",
					code: var2076.eq.invalid_string,
					message: var2149.message
				}), obj66.dirty()) : "ip" === var2149.kind ? (var2152 = data1.data, ("v4" !== (var2153 = var2149.version) && var2153 || !regex10.test(var2152)) && ("v6" !== var2153 && var2153 || !regex12.test(var2152)) && (var2148 = this._getOrReturnCtx(data1, var2148), (0, var2081.zn)(var2148, {
					validation: "ip",
					code: var2076.eq.invalid_string,
					message: var2149.message
				}), obj66.dirty())) : "jwt" === var2149.kind ? fn78(data1.data, var2149.alg) || (var2148 = this._getOrReturnCtx(data1, var2148), (0, var2081.zn)(var2148, {
					validation: "jwt",
					code: var2076.eq.invalid_string,
					message: var2149.message
				}), obj66.dirty()) : "cidr" === var2149.kind ? or2(data1.data, var2149.version) || (var2148 = this._getOrReturnCtx(data1, var2148), (0, var2081.zn)(var2148, {
					validation: "cidr",
					code: var2076.eq.invalid_string,
					message: var2149.message
				}), obj66.dirty()) : "base64" === var2149.kind ? regex14.test(data1.data) || (var2148 = this._getOrReturnCtx(data1, var2148), (0, var2081.zn)(var2148, {
					validation: "base64",
					code: var2076.eq.invalid_string,
					message: var2149.message
				}), obj66.dirty()) : "base64url" === var2149.kind ? regex15.test(data1.data) || (var2148 = this._getOrReturnCtx(data1, var2148), (0, var2081.zn)(var2148, {
					validation: "base64url",
					code: var2076.eq.invalid_string,
					message: var2149.message
				}), obj66.dirty()) : var2082.ZS.assertNever(var2149);
				var var2152, var2153;
				return {
					status: obj66.value,
					value: data1.data
				};
			}
			_regex(test4, var2154, var2155) {
				return this.refinement(((var2156) => test4.test(var2156)), fn73({
					validation: var2154,
					code: var2076.eq.invalid_string
				}, var2074.errToObj(var2155)));
			}
			_addCheck(var2157) {
				return new create2(fn73(fn73({}, this._def), {}, { checks: [...this._def.checks, var2157] }));
			}
			email(var2158) {
				return this._addCheck(fn73({ kind: "email" }, var2074.errToObj(var2158)));
			}
			url(var2159) {
				return this._addCheck(fn73({ kind: "url" }, var2074.errToObj(var2159)));
			}
			emoji(var2160) {
				return this._addCheck(fn73({ kind: "emoji" }, var2074.errToObj(var2160)));
			}
			uuid(var2161) {
				return this._addCheck(fn73({ kind: "uuid" }, var2074.errToObj(var2161)));
			}
			nanoid(var2162) {
				return this._addCheck(fn73({ kind: "nanoid" }, var2074.errToObj(var2162)));
			}
			cuid(var2163) {
				return this._addCheck(fn73({ kind: "cuid" }, var2074.errToObj(var2163)));
			}
			cuid2(var2164) {
				return this._addCheck(fn73({ kind: "cuid2" }, var2074.errToObj(var2164)));
			}
			ulid(var2165) {
				return this._addCheck(fn73({ kind: "ulid" }, var2074.errToObj(var2165)));
			}
			base64(var2166) {
				return this._addCheck(fn73({ kind: "base64" }, var2074.errToObj(var2166)));
			}
			base64url(var2167) {
				return this._addCheck(fn73({ kind: "base64url" }, var2074.errToObj(var2167)));
			}
			jwt(var2168) {
				return this._addCheck(fn73({ kind: "jwt" }, var2074.errToObj(var2168)));
			}
			ip(var2169) {
				return this._addCheck(fn73({ kind: "ip" }, var2074.errToObj(var2169)));
			}
			cidr(var2170) {
				return this._addCheck(fn73({ kind: "cidr" }, var2074.errToObj(var2170)));
			}
			datetime(var2171) {
				var var2172, var2173;
				return "string" == typeof var2171 ? this._addCheck({
					kind: "datetime",
					precision: null,
					offset: false,
					local: false,
					message: var2171
				}) : this._addCheck(fn73({
					kind: "datetime",
					precision: undefined === (null == var2171 ? undefined : var2171.precision) ? null : null == var2171 ? undefined : var2171.precision,
					offset: null !== (var2172 = null == var2171 ? undefined : var2171.offset) && undefined !== var2172 && var2172,
					local: null !== (var2173 = null == var2171 ? undefined : var2171.local) && undefined !== var2173 && var2173
				}, var2074.errToObj(null == var2171 ? undefined : var2171.message)));
			}
			date(var2174) {
				return this._addCheck({
					kind: "date",
					message: var2174
				});
			}
			time(var2175) {
				return "string" == typeof var2175 ? this._addCheck({
					kind: "time",
					precision: null,
					message: var2175
				}) : this._addCheck(fn73({
					kind: "time",
					precision: undefined === (null == var2175 ? undefined : var2175.precision) ? null : null == var2175 ? undefined : var2175.precision
				}, var2074.errToObj(null == var2175 ? undefined : var2175.message)));
			}
			duration(var2176) {
				return this._addCheck(fn73({ kind: "duration" }, var2074.errToObj(var2176)));
			}
			regex(var2177, var2178) {
				return this._addCheck(fn73({
					kind: "regex",
					regex: var2177
				}, var2074.errToObj(var2178)));
			}
			includes(var2179, var2180) {
				return this._addCheck(fn73({
					kind: "includes",
					value: var2179,
					position: null == var2180 ? undefined : var2180.position
				}, var2074.errToObj(null == var2180 ? undefined : var2180.message)));
			}
			startsWith(var2181, var2182) {
				return this._addCheck(fn73({
					kind: "startsWith",
					value: var2181
				}, var2074.errToObj(var2182)));
			}
			endsWith(var2183, var2184) {
				return this._addCheck(fn73({
					kind: "endsWith",
					value: var2183
				}, var2074.errToObj(var2184)));
			}
			min(var2185, var2186) {
				return this._addCheck(fn73({
					kind: "min",
					value: var2185
				}, var2074.errToObj(var2186)));
			}
			max(var2187, var2188) {
				return this._addCheck(fn73({
					kind: "max",
					value: var2187
				}, var2074.errToObj(var2188)));
			}
			length(var2189, var2190) {
				return this._addCheck(fn73({
					kind: "length",
					value: var2189
				}, var2074.errToObj(var2190)));
			}
			nonempty(var2191) {
				return this.min(1, var2074.errToObj(var2191));
			}
			trim() {
				return new create2(fn73(fn73({}, this._def), {}, { checks: [...this._def.checks, { kind: "trim" }] }));
			}
			toLowerCase() {
				return new create2(fn73(fn73({}, this._def), {}, { checks: [...this._def.checks, { kind: "toLowerCase" }] }));
			}
			toUpperCase() {
				return new create2(fn73(fn73({}, this._def), {}, { checks: [...this._def.checks, { kind: "toUpperCase" }] }));
			}
			get isDatetime() {
				return !!this._def.checks.find(((item88) => "datetime" === item88.kind));
			}
			get isDate() {
				return !!this._def.checks.find(((item89) => "date" === item89.kind));
			}
			get isTime() {
				return !!this._def.checks.find(((item90) => "time" === item90.kind));
			}
			get isDuration() {
				return !!this._def.checks.find(((item91) => "duration" === item91.kind));
			}
			get isEmail() {
				return !!this._def.checks.find(((item92) => "email" === item92.kind));
			}
			get isURL() {
				return !!this._def.checks.find(((item93) => "url" === item93.kind));
			}
			get isEmoji() {
				return !!this._def.checks.find(((item94) => "emoji" === item94.kind));
			}
			get isUUID() {
				return !!this._def.checks.find(((item95) => "uuid" === item95.kind));
			}
			get isNANOID() {
				return !!this._def.checks.find(((item96) => "nanoid" === item96.kind));
			}
			get isCUID() {
				return !!this._def.checks.find(((item97) => "cuid" === item97.kind));
			}
			get isCUID2() {
				return !!this._def.checks.find(((item98) => "cuid2" === item98.kind));
			}
			get isULID() {
				return !!this._def.checks.find(((item99) => "ulid" === item99.kind));
			}
			get isIP() {
				return !!this._def.checks.find(((item100) => "ip" === item100.kind));
			}
			get isCIDR() {
				return !!this._def.checks.find(((item101) => "cidr" === item101.kind));
			}
			get isBase64() {
				return !!this._def.checks.find(((item102) => "base64" === item102.kind));
			}
			get isBase64url() {
				return !!this._def.checks.find(((item103) => "base64url" === item103.kind));
			}
			get minLength() {
				let var2192 = null;
				for (const var2193 of this._def.checks) "min" === var2193.kind && (null === var2192 || var2193.value > var2192) && (var2192 = var2193.value);
				return var2192;
			}
			get maxLength() {
				let var2194 = null;
				for (const var2195 of this._def.checks) "max" === var2195.kind && (null === var2194 || var2195.value < var2194) && (var2194 = var2195.value);
				return var2194;
			}
		}
		function div(var2196, var2197) {
			const length10 = (var2196.toString().split(".")[1] || "").length, length11 = (var2197.toString().split(".")[1] || "").length, var2198 = length10 > length11 ? length10 : length11;
			return Number.parseInt(var2196.toFixed(var2198).replace(".", "")) % Number.parseInt(var2197.toFixed(var2198).replace(".", "")) / 10 ** var2198;
		}
		create2.create = (coerce) => {
			var var2199;
			return new create2(fn73({
				checks: [],
				typeName: var2518.ZodString,
				coerce: null !== (var2199 = null == coerce ? undefined : coerce.coerce) && undefined !== var2199 && var2199
			}, fn75(coerce)));
		};
		class create3 extends fn76 {
			constructor() {
				super(...arguments);
				this.min = this.gte;
				this.max = this.lte;
				this.step = this.multipleOf;
			}
			_parse(data2) {
				this._def.coerce && (data2.data = Number(data2.data));
				if (this._getType(data2) !== var2082.Zp.number) {
					const parsedType1 = this._getOrReturnCtx(data2);
					(0, var2081.zn)(parsedType1, {
						code: var2076.eq.invalid_type,
						expected: var2082.Zp.number,
						received: parsedType1.parsedType
					});
					return var2081.uY;
				}
				let var2200;
				const obj67 = new var2081.MY();
				for (const var2201 of this._def.checks) if ("int" === var2201.kind) var2082.ZS.isInteger(data2.data) || (var2200 = this._getOrReturnCtx(data2, var2200), (0, var2081.zn)(var2200, {
					code: var2076.eq.invalid_type,
					expected: "integer",
					received: "float",
					message: var2201.message
				}), obj67.dirty());
				else if ("min" === var2201.kind) {
					(var2201.inclusive ? data2.data < var2201.value : data2.data <= var2201.value) && (var2200 = this._getOrReturnCtx(data2, var2200), (0, var2081.zn)(var2200, {
						code: var2076.eq.too_small,
						minimum: var2201.value,
						type: "number",
						inclusive: var2201.inclusive,
						exact: false,
						message: var2201.message
					}), obj67.dirty());
				} else if ("max" === var2201.kind) {
					(var2201.inclusive ? data2.data > var2201.value : data2.data >= var2201.value) && (var2200 = this._getOrReturnCtx(data2, var2200), (0, var2081.zn)(var2200, {
						code: var2076.eq.too_big,
						maximum: var2201.value,
						type: "number",
						inclusive: var2201.inclusive,
						exact: false,
						message: var2201.message
					}), obj67.dirty());
				} else "multipleOf" === var2201.kind ? 0 !== div(data2.data, var2201.value) && (var2200 = this._getOrReturnCtx(data2, var2200), (0, var2081.zn)(var2200, {
					code: var2076.eq.not_multiple_of,
					multipleOf: var2201.value,
					message: var2201.message
				}), obj67.dirty()) : "finite" === var2201.kind ? Number.isFinite(data2.data) || (var2200 = this._getOrReturnCtx(data2, var2200), (0, var2081.zn)(var2200, {
					code: var2076.eq.not_finite,
					message: var2201.message
				}), obj67.dirty()) : var2082.ZS.assertNever(var2201);
				return {
					status: obj67.value,
					value: data2.data
				};
			}
			gte(var2202, var2203) {
				return this.setLimit("min", var2202, true, var2074.toString(var2203));
			}
			gt(var2204, var2205) {
				return this.setLimit("min", var2204, false, var2074.toString(var2205));
			}
			lte(var2206, var2207) {
				return this.setLimit("max", var2206, true, var2074.toString(var2207));
			}
			lt(var2208, var2209) {
				return this.setLimit("max", var2208, false, var2074.toString(var2209));
			}
			setLimit(var2210, var2211, var2212, var2213) {
				return new create3(fn73(fn73({}, this._def), {}, { checks: [...this._def.checks, {
					kind: var2210,
					value: var2211,
					inclusive: var2212,
					message: var2074.toString(var2213)
				}] }));
			}
			_addCheck(var2214) {
				return new create3(fn73(fn73({}, this._def), {}, { checks: [...this._def.checks, var2214] }));
			}
			int(var2215) {
				return this._addCheck({
					kind: "int",
					message: var2074.toString(var2215)
				});
			}
			positive(var2216) {
				return this._addCheck({
					kind: "min",
					value: 0,
					inclusive: false,
					message: var2074.toString(var2216)
				});
			}
			negative(var2217) {
				return this._addCheck({
					kind: "max",
					value: 0,
					inclusive: false,
					message: var2074.toString(var2217)
				});
			}
			nonpositive(var2218) {
				return this._addCheck({
					kind: "max",
					value: 0,
					inclusive: true,
					message: var2074.toString(var2218)
				});
			}
			nonnegative(var2219) {
				return this._addCheck({
					kind: "min",
					value: 0,
					inclusive: true,
					message: var2074.toString(var2219)
				});
			}
			multipleOf(var2220, var2221) {
				return this._addCheck({
					kind: "multipleOf",
					value: var2220,
					message: var2074.toString(var2221)
				});
			}
			finite(var2222) {
				return this._addCheck({
					kind: "finite",
					message: var2074.toString(var2222)
				});
			}
			safe(var2223) {
				return this._addCheck({
					kind: "min",
					inclusive: true,
					value: Number.MIN_SAFE_INTEGER,
					message: var2074.toString(var2223)
				})._addCheck({
					kind: "max",
					inclusive: true,
					value: Number.MAX_SAFE_INTEGER,
					message: var2074.toString(var2223)
				});
			}
			get minValue() {
				let var2224 = null;
				for (const var2225 of this._def.checks) "min" === var2225.kind && (null === var2224 || var2225.value > var2224) && (var2224 = var2225.value);
				return var2224;
			}
			get maxValue() {
				let var2226 = null;
				for (const var2227 of this._def.checks) "max" === var2227.kind && (null === var2226 || var2227.value < var2226) && (var2226 = var2227.value);
				return var2226;
			}
			get isInt() {
				return !!this._def.checks.find(((item104) => "int" === item104.kind || "multipleOf" === item104.kind && var2082.ZS.isInteger(item104.value)));
			}
			get isFinite() {
				let var2228 = null, var2229 = null;
				for (const var2230 of this._def.checks) {
					if ("finite" === var2230.kind || "int" === var2230.kind || "multipleOf" === var2230.kind) return true;
					"min" === var2230.kind ? (null === var2229 || var2230.value > var2229) && (var2229 = var2230.value) : "max" === var2230.kind && (null === var2228 || var2230.value < var2228) && (var2228 = var2230.value);
				}
				return Number.isFinite(var2229) && Number.isFinite(var2228);
			}
		}
		create3.create = (coerce1) => new create3(fn73({
			checks: [],
			typeName: var2518.ZodNumber,
			coerce: (null == coerce1 ? undefined : coerce1.coerce) || false
		}, fn75(coerce1)));
		class create4 extends fn76 {
			constructor() {
				super(...arguments);
				this.min = this.gte;
				this.max = this.lte;
			}
			_parse(data3) {
				if (this._def.coerce) try {
					data3.data = BigInt(data3.data);
				} catch (error41) {
					return this._getInvalidInput(data3);
				}
				if (this._getType(data3) !== var2082.Zp.bigint) return this._getInvalidInput(data3);
				let var2231;
				const obj68 = new var2081.MY();
				for (const var2232 of this._def.checks) if ("min" === var2232.kind) {
					(var2232.inclusive ? data3.data < var2232.value : data3.data <= var2232.value) && (var2231 = this._getOrReturnCtx(data3, var2231), (0, var2081.zn)(var2231, {
						code: var2076.eq.too_small,
						type: "bigint",
						minimum: var2232.value,
						inclusive: var2232.inclusive,
						message: var2232.message
					}), obj68.dirty());
				} else if ("max" === var2232.kind) {
					(var2232.inclusive ? data3.data > var2232.value : data3.data >= var2232.value) && (var2231 = this._getOrReturnCtx(data3, var2231), (0, var2081.zn)(var2231, {
						code: var2076.eq.too_big,
						type: "bigint",
						maximum: var2232.value,
						inclusive: var2232.inclusive,
						message: var2232.message
					}), obj68.dirty());
				} else "multipleOf" === var2232.kind ? data3.data % var2232.value !== BigInt(0) && (var2231 = this._getOrReturnCtx(data3, var2231), (0, var2081.zn)(var2231, {
					code: var2076.eq.not_multiple_of,
					multipleOf: var2232.value,
					message: var2232.message
				}), obj68.dirty()) : var2082.ZS.assertNever(var2232);
				return {
					status: obj68.value,
					value: data3.data
				};
			}
			_getInvalidInput(var2233) {
				const parsedType2 = this._getOrReturnCtx(var2233);
				(0, var2081.zn)(parsedType2, {
					code: var2076.eq.invalid_type,
					expected: var2082.Zp.bigint,
					received: parsedType2.parsedType
				});
				return var2081.uY;
			}
			gte(var2234, var2235) {
				return this.setLimit("min", var2234, true, var2074.toString(var2235));
			}
			gt(var2236, var2237) {
				return this.setLimit("min", var2236, false, var2074.toString(var2237));
			}
			lte(var2238, var2239) {
				return this.setLimit("max", var2238, true, var2074.toString(var2239));
			}
			lt(var2240, var2241) {
				return this.setLimit("max", var2240, false, var2074.toString(var2241));
			}
			setLimit(var2242, var2243, var2244, var2245) {
				return new create4(fn73(fn73({}, this._def), {}, { checks: [...this._def.checks, {
					kind: var2242,
					value: var2243,
					inclusive: var2244,
					message: var2074.toString(var2245)
				}] }));
			}
			_addCheck(var2246) {
				return new create4(fn73(fn73({}, this._def), {}, { checks: [...this._def.checks, var2246] }));
			}
			positive(var2247) {
				return this._addCheck({
					kind: "min",
					value: BigInt(0),
					inclusive: false,
					message: var2074.toString(var2247)
				});
			}
			negative(var2248) {
				return this._addCheck({
					kind: "max",
					value: BigInt(0),
					inclusive: false,
					message: var2074.toString(var2248)
				});
			}
			nonpositive(var2249) {
				return this._addCheck({
					kind: "max",
					value: BigInt(0),
					inclusive: true,
					message: var2074.toString(var2249)
				});
			}
			nonnegative(var2250) {
				return this._addCheck({
					kind: "min",
					value: BigInt(0),
					inclusive: true,
					message: var2074.toString(var2250)
				});
			}
			multipleOf(var2251, var2252) {
				return this._addCheck({
					kind: "multipleOf",
					value: var2251,
					message: var2074.toString(var2252)
				});
			}
			get minValue() {
				let var2253 = null;
				for (const var2254 of this._def.checks) "min" === var2254.kind && (null === var2253 || var2254.value > var2253) && (var2253 = var2254.value);
				return var2253;
			}
			get maxValue() {
				let var2255 = null;
				for (const var2256 of this._def.checks) "max" === var2256.kind && (null === var2255 || var2256.value < var2255) && (var2255 = var2256.value);
				return var2255;
			}
		}
		create4.create = (coerce2) => {
			var var2257;
			return new create4(fn73({
				checks: [],
				typeName: var2518.ZodBigInt,
				coerce: null !== (var2257 = null == coerce2 ? undefined : coerce2.coerce) && undefined !== var2257 && var2257
			}, fn75(coerce2)));
		};
		class create5 extends fn76 {
			_parse(data4) {
				this._def.coerce && (data4.data = Boolean(data4.data));
				if (this._getType(data4) !== var2082.Zp.boolean) {
					const parsedType3 = this._getOrReturnCtx(data4);
					(0, var2081.zn)(parsedType3, {
						code: var2076.eq.invalid_type,
						expected: var2082.Zp.boolean,
						received: parsedType3.parsedType
					});
					return var2081.uY;
				}
				return (0, var2081.OK)(data4.data);
			}
		}
		create5.create = (coerce3) => new create5(fn73({
			typeName: var2518.ZodBoolean,
			coerce: (null == coerce3 ? undefined : coerce3.coerce) || false
		}, fn75(coerce3)));
		class create6 extends fn76 {
			_parse(data5) {
				this._def.coerce && (data5.data = new Date(data5.data));
				if (this._getType(data5) !== var2082.Zp.date) {
					const parsedType4 = this._getOrReturnCtx(data5);
					(0, var2081.zn)(parsedType4, {
						code: var2076.eq.invalid_type,
						expected: var2082.Zp.date,
						received: parsedType4.parsedType
					});
					return var2081.uY;
				}
				if (Number.isNaN(data5.data.getTime())) {
					const var2258 = this._getOrReturnCtx(data5);
					(0, var2081.zn)(var2258, { code: var2076.eq.invalid_date });
					return var2081.uY;
				}
				const obj69 = new var2081.MY();
				let var2259;
				for (const var2260 of this._def.checks) "min" === var2260.kind ? data5.data.getTime() < var2260.value && (var2259 = this._getOrReturnCtx(data5, var2259), (0, var2081.zn)(var2259, {
					code: var2076.eq.too_small,
					message: var2260.message,
					inclusive: true,
					exact: false,
					minimum: var2260.value,
					type: "date"
				}), obj69.dirty()) : "max" === var2260.kind ? data5.data.getTime() > var2260.value && (var2259 = this._getOrReturnCtx(data5, var2259), (0, var2081.zn)(var2259, {
					code: var2076.eq.too_big,
					message: var2260.message,
					inclusive: true,
					exact: false,
					maximum: var2260.value,
					type: "date"
				}), obj69.dirty()) : var2082.ZS.assertNever(var2260);
				return {
					status: obj69.value,
					value: new Date(data5.data.getTime())
				};
			}
			_addCheck(var2261) {
				return new create6(fn73(fn73({}, this._def), {}, { checks: [...this._def.checks, var2261] }));
			}
			min(getTime, var2262) {
				return this._addCheck({
					kind: "min",
					value: getTime.getTime(),
					message: var2074.toString(var2262)
				});
			}
			max(getTime1, var2263) {
				return this._addCheck({
					kind: "max",
					value: getTime1.getTime(),
					message: var2074.toString(var2263)
				});
			}
			get minDate() {
				let var2264 = null;
				for (const var2265 of this._def.checks) "min" === var2265.kind && (null === var2264 || var2265.value > var2264) && (var2264 = var2265.value);
				return null != var2264 ? new Date(var2264) : null;
			}
			get maxDate() {
				let var2266 = null;
				for (const var2267 of this._def.checks) "max" === var2267.kind && (null === var2266 || var2267.value < var2266) && (var2266 = var2267.value);
				return null != var2266 ? new Date(var2266) : null;
			}
		}
		create6.create = (coerce4) => new create6(fn73({
			checks: [],
			coerce: (null == coerce4 ? undefined : coerce4.coerce) || false,
			typeName: var2518.ZodDate
		}, fn75(coerce4)));
		class create7 extends fn76 {
			_parse(data6) {
				if (this._getType(data6) !== var2082.Zp.symbol) {
					const parsedType5 = this._getOrReturnCtx(data6);
					(0, var2081.zn)(parsedType5, {
						code: var2076.eq.invalid_type,
						expected: var2082.Zp.symbol,
						received: parsedType5.parsedType
					});
					return var2081.uY;
				}
				return (0, var2081.OK)(data6.data);
			}
		}
		create7.create = (var2268) => new create7(fn73({ typeName: var2518.ZodSymbol }, fn75(var2268)));
		class create8 extends fn76 {
			_parse(data7) {
				if (this._getType(data7) !== var2082.Zp.undefined) {
					const parsedType6 = this._getOrReturnCtx(data7);
					(0, var2081.zn)(parsedType6, {
						code: var2076.eq.invalid_type,
						expected: var2082.Zp.undefined,
						received: parsedType6.parsedType
					});
					return var2081.uY;
				}
				return (0, var2081.OK)(data7.data);
			}
		}
		create8.create = (var2269) => new create8(fn73({ typeName: var2518.ZodUndefined }, fn75(var2269)));
		class create9 extends fn76 {
			_parse(data8) {
				if (this._getType(data8) !== var2082.Zp.null) {
					const parsedType7 = this._getOrReturnCtx(data8);
					(0, var2081.zn)(parsedType7, {
						code: var2076.eq.invalid_type,
						expected: var2082.Zp.null,
						received: parsedType7.parsedType
					});
					return var2081.uY;
				}
				return (0, var2081.OK)(data8.data);
			}
		}
		create9.create = (var2270) => new create9(fn73({ typeName: var2518.ZodNull }, fn75(var2270)));
		class create10 extends fn76 {
			constructor() {
				super(...arguments);
				this._any = true;
			}
			_parse(data9) {
				return (0, var2081.OK)(data9.data);
			}
		}
		create10.create = (var2271) => new create10(fn73({ typeName: var2518.ZodAny }, fn75(var2271)));
		class create11 extends fn76 {
			constructor() {
				super(...arguments);
				this._unknown = true;
			}
			_parse(data10) {
				return (0, var2081.OK)(data10.data);
			}
		}
		create11.create = (var2272) => new create11(fn73({ typeName: var2518.ZodUnknown }, fn75(var2272)));
		class create12 extends fn76 {
			_parse(var2273) {
				const parsedType8 = this._getOrReturnCtx(var2273);
				(0, var2081.zn)(parsedType8, {
					code: var2076.eq.invalid_type,
					expected: var2082.Zp.never,
					received: parsedType8.parsedType
				});
				return var2081.uY;
			}
		}
		create12.create = (var2274) => new create12(fn73({ typeName: var2518.ZodNever }, fn75(var2274)));
		class create13 extends fn76 {
			_parse(data11) {
				if (this._getType(data11) !== var2082.Zp.undefined) {
					const parsedType9 = this._getOrReturnCtx(data11);
					(0, var2081.zn)(parsedType9, {
						code: var2076.eq.invalid_type,
						expected: var2082.Zp.void,
						received: parsedType9.parsedType
					});
					return var2081.uY;
				}
				return (0, var2081.OK)(data11.data);
			}
		}
		create13.create = (var2275) => new create13(fn73({ typeName: var2518.ZodVoid }, fn75(var2275)));
		class create14 extends fn76 {
			_parse(var2276) {
				const { ctx: var2277, status: dirty } = this._processInputParams(var2276), _def = this._def;
				if (var2277.parsedType !== var2082.Zp.array) return (0, var2081.zn)(var2277, {
					code: var2076.eq.invalid_type,
					expected: var2082.Zp.array,
					received: var2277.parsedType
				}), var2081.uY;
				if (null !== _def.exactLength) {
					const var2278 = var2277.data.length > _def.exactLength.value, var2279 = var2277.data.length < _def.exactLength.value;
					(var2278 || var2279) && ((0, var2081.zn)(var2277, {
						code: var2278 ? var2076.eq.too_big : var2076.eq.too_small,
						minimum: var2279 ? _def.exactLength.value : undefined,
						maximum: var2278 ? _def.exactLength.value : undefined,
						type: "array",
						inclusive: true,
						exact: true,
						message: _def.exactLength.message
					}), dirty.dirty());
				}
				if (null !== _def.minLength && var2277.data.length < _def.minLength.value && ((0, var2081.zn)(var2277, {
					code: var2076.eq.too_small,
					minimum: _def.minLength.value,
					type: "array",
					inclusive: true,
					exact: false,
					message: _def.minLength.message
				}), dirty.dirty()), null !== _def.maxLength && var2277.data.length > _def.maxLength.value && ((0, var2081.zn)(var2277, {
					code: var2076.eq.too_big,
					maximum: _def.maxLength.value,
					type: "array",
					inclusive: true,
					exact: false,
					message: _def.maxLength.message
				}), dirty.dirty()), var2277.common.async) return Promise.all([...var2277.data].map(((item105, index41) => _def.type._parseAsync(new fn74(var2277, item105, var2277.path, index41))))).then(((var2280) => var2081.MY.mergeArray(dirty, var2280)));
				const var2281 = [...var2277.data].map(((item106, index42) => _def.type._parseSync(new fn74(var2277, item106, var2277.path, index42))));
				return var2081.MY.mergeArray(dirty, var2281);
			}
			get element() {
				return this._def.type;
			}
			min(var2282, var2283) {
				return new create14(fn73(fn73({}, this._def), {}, { minLength: {
					value: var2282,
					message: var2074.toString(var2283)
				} }));
			}
			max(var2284, var2285) {
				return new create14(fn73(fn73({}, this._def), {}, { maxLength: {
					value: var2284,
					message: var2074.toString(var2285)
				} }));
			}
			length(var2286, var2287) {
				return new create14(fn73(fn73({}, this._def), {}, { exactLength: {
					value: var2286,
					message: var2074.toString(var2287)
				} }));
			}
			nonempty(var2288) {
				return this.min(1, var2288);
			}
		}
		function pick10(var2289) {
			if (var2289 instanceof fn79) {
				const obj70 = {};
				for (const var2290 in var2289.shape) {
					const var2291 = var2289.shape[var2290];
					obj70[var2290] = create29.create(pick10(var2291));
				}
				return new fn79(fn73(fn73({}, var2289._def), {}, { shape: () => obj70 }));
			}
			return var2289 instanceof create14 ? new create14(fn73(fn73({}, var2289._def), {}, { type: pick10(var2289.element) })) : var2289 instanceof create29 ? create29.create(pick10(var2289.unwrap())) : var2289 instanceof create30 ? create30.create(pick10(var2289.unwrap())) : var2289 instanceof create18 ? create18.create(var2289.items.map(((item107) => pick10(item107)))) : var2289;
		}
		create14.create = (var2292, var2293) => new create14(fn73({
			type: var2292,
			minLength: null,
			maxLength: null,
			exactLength: null,
			typeName: var2518.ZodArray
		}, fn75(var2293)));
		class fn79 extends fn76 {
			constructor() {
				super(...arguments);
				this._cached = null;
				this.nonstrict = this.passthrough;
				this.augment = this.extend;
			}
			_getCached() {
				if (null !== this._cached) return this._cached;
				const var2294 = this._def.shape();
				this._cached = {
					shape: var2294,
					keys: var2082.ZS.objectKeys(var2294)
				};
				return this._cached;
			}
			_parse(var2295) {
				if (this._getType(var2295) !== var2082.Zp.object) {
					const parsedType10 = this._getOrReturnCtx(var2295);
					(0, var2081.zn)(parsedType10, {
						code: var2076.eq.invalid_type,
						expected: var2082.Zp.object,
						received: parsedType10.parsedType
					});
					return var2081.uY;
				}
				const { status: dirty1, ctx: var2296 } = this._processInputParams(var2295), { shape: var2297, keys: includes2 } = this._getCached(), arr34 = [];
				if (!(this._def.catchall instanceof create12 && "strip" === this._def.unknownKeys)) for (const var2298 in var2296.data) includes2.includes(var2298) || arr34.push(var2298);
				const arr35 = [];
				for (const var2299 of includes2) {
					const _parse = var2297[var2299], var2300 = var2296.data[var2299];
					arr35.push({
						key: {
							status: "valid",
							value: var2299
						},
						value: _parse._parse(new fn74(var2296, var2300, var2296.path, var2299)),
						alwaysSet: var2299 in var2296.data
					});
				}
				if (this._def.catchall instanceof create12) {
					const unknownKeys = this._def.unknownKeys;
					if ("passthrough" === unknownKeys) for (const var2301 of arr34) arr35.push({
						key: {
							status: "valid",
							value: var2301
						},
						value: {
							status: "valid",
							value: var2296.data[var2301]
						}
					});
					else if ("strict" === unknownKeys) arr34.length > 0 && ((0, var2081.zn)(var2296, {
						code: var2076.eq.unrecognized_keys,
						keys: arr34
					}), dirty1.dirty());
					else if ("strip" !== unknownKeys) throw new Error("Internal ZodObject error: invalid unknownKeys value.");
				} else {
					const catchall = this._def.catchall;
					for (const var2302 of arr34) {
						const var2303 = var2296.data[var2302];
						arr35.push({
							key: {
								status: "valid",
								value: var2302
							},
							value: catchall._parse(new fn74(var2296, var2303, var2296.path, var2302)),
							alwaysSet: var2302 in var2296.data
						});
					}
				}
				return var2296.common.async ? Promise.resolve().then((async function() {
					const arr36 = [];
					for (const var2304 of arr35) {
						const var2305 = await var2304.key, var2306 = await var2304.value;
						arr36.push({
							key: var2305,
							value: var2306,
							alwaysSet: var2304.alwaysSet
						});
					}
					return arr36;
				})).then(((var2307) => var2081.MY.mergeObjectSync(dirty1, var2307))) : var2081.MY.mergeObjectSync(dirty1, arr35);
			}
			get shape() {
				return this._def.shape();
			}
			strict(var2308) {
				var2074.errToObj;
				return new fn79(fn73(fn73({}, this._def), {}, { unknownKeys: "strict" }, undefined !== var2308 ? { errorMap: (code1, defaultError1) => {
					var var2309, var2310, var2311, var2312;
					const var2313 = null !== (var2309 = null === (var2310 = (var2311 = this._def).errorMap) || undefined === var2310 ? undefined : var2310.call(var2311, code1, defaultError1).message) && undefined !== var2309 ? var2309 : defaultError1.defaultError;
					return "unrecognized_keys" === code1.code ? { message: null !== (var2312 = var2074.errToObj(var2308).message) && undefined !== var2312 ? var2312 : var2313 } : { message: var2313 };
				} } : {}));
			}
			strip() {
				return new fn79(fn73(fn73({}, this._def), {}, { unknownKeys: "strip" }));
			}
			passthrough() {
				return new fn79(fn73(fn73({}, this._def), {}, { unknownKeys: "passthrough" }));
			}
			extend(var2314) {
				return new fn79(fn73(fn73({}, this._def), {}, { shape: () => fn73(fn73({}, this._def.shape()), var2314) }));
			}
			merge(_def1) {
				return new fn79({
					unknownKeys: _def1._def.unknownKeys,
					catchall: _def1._def.catchall,
					shape: () => fn73(fn73({}, this._def.shape()), _def1._def.shape()),
					typeName: var2518.ZodObject
				});
			}
			setKey(var2315, var2316) {
				return this.augment({ [var2315]: var2316 });
			}
			catchall(var2317) {
				return new fn79(fn73(fn73({}, this._def), {}, { catchall: var2317 }));
			}
			pick(var2318) {
				const obj71 = {};
				for (const var2319 of var2082.ZS.objectKeys(var2318)) var2318[var2319] && this.shape[var2319] && (obj71[var2319] = this.shape[var2319]);
				return new fn79(fn73(fn73({}, this._def), {}, { shape: () => obj71 }));
			}
			omit(var2320) {
				const obj72 = {};
				for (const var2321 of var2082.ZS.objectKeys(this.shape)) var2320[var2321] || (obj72[var2321] = this.shape[var2321]);
				return new fn79(fn73(fn73({}, this._def), {}, { shape: () => obj72 }));
			}
			deepPartial() {
				return pick10(this);
			}
			partial(var2322) {
				const obj73 = {};
				for (const var2323 of var2082.ZS.objectKeys(this.shape)) {
					const optional = this.shape[var2323];
					var2322 && !var2322[var2323] ? obj73[var2323] = optional : obj73[var2323] = optional.optional();
				}
				return new fn79(fn73(fn73({}, this._def), {}, { shape: () => obj73 }));
			}
			required(var2324) {
				const obj74 = {};
				for (const var2325 of var2082.ZS.objectKeys(this.shape)) if (var2324 && !var2324[var2325]) obj74[var2325] = this.shape[var2325];
				else {
					let _def2 = this.shape[var2325];
					for (; _def2 instanceof create29;) _def2 = _def2._def.innerType;
					obj74[var2325] = _def2;
				}
				return new fn79(fn73(fn73({}, this._def), {}, { shape: () => obj74 }));
			}
			keyof() {
				return create25(var2082.ZS.objectKeys(this.shape));
			}
		}
		fn79.create = (var2326, var2327) => new fn79(fn73({
			shape: () => var2326,
			unknownKeys: "strip",
			catchall: create12.create(),
			typeName: var2518.ZodObject
		}, fn75(var2327)));
		fn79.strictCreate = (var2328, var2329) => new fn79(fn73({
			shape: () => var2328,
			unknownKeys: "strict",
			catchall: create12.create(),
			typeName: var2518.ZodObject
		}, fn75(var2329)));
		fn79.lazycreate = (var2330, var2331) => new fn79(fn73({
			shape: var2330,
			unknownKeys: "strip",
			catchall: create12.create(),
			typeName: var2518.ZodObject
		}, fn75(var2331)));
		class create15 extends fn76 {
			_parse(var2332) {
				const { ctx: var2333 } = this._processInputParams(var2332), options = this._def.options;
				if (var2333.common.async) return Promise.all(options.map((async function(item108) {
					const var2334 = fn73(fn73({}, var2333), {}, {
						common: fn73(fn73({}, var2333.common), {}, { issues: [] }),
						parent: null
					});
					return {
						result: await item108._parseAsync({
							data: var2333.data,
							path: var2333.path,
							parent: var2334
						}),
						ctx: var2334
					};
				}))).then((function(list83) {
					for (const result of list83) if ("valid" === result.result.status) return result.result;
					for (const var2335 of list83) if ("dirty" === var2335.result.status) return var2333.common.issues.push(...var2335.ctx.common.issues), var2335.result;
					const var2336 = list83.map(((item109) => new var2076.G(item109.ctx.common.issues)));
					(0, var2081.zn)(var2333, {
						code: var2076.eq.invalid_union,
						unionErrors: var2336
					});
					return var2081.uY;
				}));
				{
					let var2337;
					const arr37 = [];
					for (const _parseSync of options) {
						const common1 = fn73(fn73({}, var2333), {}, {
							common: fn73(fn73({}, var2333.common), {}, { issues: [] }),
							parent: null
						}), status3 = _parseSync._parseSync({
							data: var2333.data,
							path: var2333.path,
							parent: common1
						});
						if ("valid" === status3.status) return status3;
						"dirty" !== status3.status || var2337 || (var2337 = {
							result: status3,
							ctx: common1
						});
						common1.common.issues.length && arr37.push(common1.common.issues);
					}
					if (var2337) return var2333.common.issues.push(...var2337.ctx.common.issues), var2337.result;
					const var2338 = arr37.map(((item110) => new var2076.G(item110)));
					(0, var2081.zn)(var2333, {
						code: var2076.eq.invalid_union,
						unionErrors: var2338
					});
					return var2081.uY;
				}
			}
			get options() {
				return this._def.options;
			}
		}
		create15.create = (var2339, var2340) => new create15(fn73({
			options: var2339,
			typeName: var2518.ZodUnion
		}, fn75(var2340)));
		const pick11 = (var2341) => var2341 instanceof create23 ? pick11(var2341.schema) : var2341 instanceof fn81 ? pick11(var2341.innerType()) : var2341 instanceof create24 ? [var2341.value] : var2341 instanceof create26 ? var2341.options : var2341 instanceof create27 ? var2082.ZS.objectValues(var2341.enum) : var2341 instanceof create31 ? pick11(var2341._def.innerType) : var2341 instanceof create8 ? [undefined] : var2341 instanceof create9 ? [null] : var2341 instanceof create29 ? [undefined, ...pick11(var2341.unwrap())] : var2341 instanceof create30 ? [null, ...pick11(var2341.unwrap())] : var2341 instanceof fn82 || var2341 instanceof create35 ? pick11(var2341.unwrap()) : var2341 instanceof create32 ? pick11(var2341._def.innerType) : [];
		class create16 extends fn76 {
			_parse(var2342) {
				const { ctx: var2343 } = this._processInputParams(var2342);
				if (var2343.parsedType !== var2082.Zp.object) return (0, var2081.zn)(var2343, {
					code: var2076.eq.invalid_type,
					expected: var2082.Zp.object,
					received: var2343.parsedType
				}), var2081.uY;
				const discriminator = this.discriminator, var2344 = this.optionsMap.get(var2343.data[discriminator]);
				return var2344 ? var2343.common.async ? var2344._parseAsync({
					data: var2343.data,
					path: var2343.path,
					parent: var2343
				}) : var2344._parseSync({
					data: var2343.data,
					path: var2343.path,
					parent: var2343
				}) : ((0, var2081.zn)(var2343, {
					code: var2076.eq.invalid_union_discriminator,
					options: Array.from(this.optionsMap.keys()),
					path: [discriminator]
				}), var2081.uY);
			}
			get discriminator() {
				return this._def.discriminator;
			}
			get options() {
				return this._def.options;
			}
			get optionsMap() {
				return this._def.optionsMap;
			}
			static create(var2345, var2346, var2347) {
				const map1 = new Map();
				for (const shape of var2346) {
					const list84 = pick11(shape.shape[var2345]);
					if (!list84.length) throw new Error(`A discriminator value for key \`${var2345}\` could not be extracted from all schema options`);
					for (const var2348 of list84) {
						if (map1.has(var2348)) throw new Error(`Discriminator property ${String(var2345)} has duplicate value ${String(var2348)}`);
						map1.set(var2348, shape);
					}
				}
				return new create16(fn73({
					typeName: var2518.ZodDiscriminatedUnion,
					discriminator: var2345,
					options: var2346,
					optionsMap: map1
				}, fn75(var2347)));
			}
		}
		function pick12(list85, list86) {
			const var2349 = (0, var2082.CR)(list85), var2350 = (0, var2082.CR)(list86);
			if (list85 === list86) return {
				valid: true,
				data: list85
			};
			if (var2349 === var2082.Zp.object && var2350 === var2082.Zp.object) {
				const list87 = var2082.ZS.objectKeys(list86), var2351 = var2082.ZS.objectKeys(list85).filter(((item111) => -1 !== list87.indexOf(item111))), var2352 = fn73(fn73({}, list85), list86);
				for (const var2353 of var2351) {
					const var2354 = pick12(list85[var2353], list86[var2353]);
					if (!var2354.valid) return { valid: false };
					var2352[var2353] = var2354.data;
				}
				return {
					valid: true,
					data: var2352
				};
			}
			if (var2349 === var2082.Zp.array && var2350 === var2082.Zp.array) {
				if (list85.length !== list86.length) return { valid: false };
				const arr38 = [];
				for (let index43 = 0; index43 < list85.length; index43++) {
					const var2355 = pick12(list85[index43], list86[index43]);
					if (!var2355.valid) return { valid: false };
					arr38.push(var2355.data);
				}
				return {
					valid: true,
					data: arr38
				};
			}
			return var2349 === var2082.Zp.date && var2350 === var2082.Zp.date && +list85 == +list86 ? {
				valid: true,
				data: list85
			} : { valid: false };
		}
		class create17 extends fn76 {
			_parse(var2356) {
				const { status: var2357, ctx: var2358 } = this._processInputParams(var2356), pick13 = (value15, value16) => {
					if ((0, var2081.G4)(value15) || (0, var2081.G4)(value16)) return var2081.uY;
					const var2359 = pick12(value15.value, value16.value);
					return var2359.valid ? (((0, var2081.DM)(value15) || (0, var2081.DM)(value16)) && var2357.dirty(), {
						status: var2357.value,
						value: var2359.data
					}) : ((0, var2081.zn)(var2358, { code: var2076.eq.invalid_intersection_types }), var2081.uY);
				};
				return var2358.common.async ? Promise.all([this._def.left._parseAsync({
					data: var2358.data,
					path: var2358.path,
					parent: var2358
				}), this._def.right._parseAsync({
					data: var2358.data,
					path: var2358.path,
					parent: var2358
				})]).then((([var2360, var2361]) => pick13(var2360, var2361))) : pick13(this._def.left._parseSync({
					data: var2358.data,
					path: var2358.path,
					parent: var2358
				}), this._def.right._parseSync({
					data: var2358.data,
					path: var2358.path,
					parent: var2358
				}));
			}
		}
		create17.create = (var2362, var2363, var2364) => new create17(fn73({
			left: var2362,
			right: var2363,
			typeName: var2518.ZodIntersection
		}, fn75(var2364)));
		class create18 extends fn76 {
			_parse(var2365) {
				const { status: dirty2, ctx: var2366 } = this._processInputParams(var2365);
				if (var2366.parsedType !== var2082.Zp.array) return (0, var2081.zn)(var2366, {
					code: var2076.eq.invalid_type,
					expected: var2082.Zp.array,
					received: var2366.parsedType
				}), var2081.uY;
				if (var2366.data.length < this._def.items.length) return (0, var2081.zn)(var2366, {
					code: var2076.eq.too_small,
					minimum: this._def.items.length,
					inclusive: true,
					exact: false,
					type: "array"
				}), var2081.uY;
				!this._def.rest && var2366.data.length > this._def.items.length && ((0, var2081.zn)(var2366, {
					code: var2076.eq.too_big,
					maximum: this._def.items.length,
					inclusive: true,
					exact: false,
					type: "array"
				}), dirty2.dirty());
				const var2367 = [...var2366.data].map(((item112, index44) => {
					const _parse1 = this._def.items[index44] || this._def.rest;
					return _parse1 ? _parse1._parse(new fn74(var2366, item112, var2366.path, index44)) : null;
				})).filter(((item113) => !!item113));
				return var2366.common.async ? Promise.all(var2367).then(((var2368) => var2081.MY.mergeArray(dirty2, var2368))) : var2081.MY.mergeArray(dirty2, var2367);
			}
			get items() {
				return this._def.items;
			}
			rest(var2369) {
				return new create18(fn73(fn73({}, this._def), {}, { rest: var2369 }));
			}
		}
		create18.create = (var2370, var2371) => {
			if (!Array.isArray(var2370)) throw new Error("You must pass an array of schemas to z.tuple([ ... ])");
			return new create18(fn73({
				items: var2370,
				typeName: var2518.ZodTuple,
				rest: null
			}, fn75(var2371)));
		};
		class create19 extends fn76 {
			get keySchema() {
				return this._def.keyType;
			}
			get valueSchema() {
				return this._def.valueType;
			}
			_parse(var2372) {
				const { status: var2373, ctx: var2374 } = this._processInputParams(var2372);
				if (var2374.parsedType !== var2082.Zp.object) return (0, var2081.zn)(var2374, {
					code: var2076.eq.invalid_type,
					expected: var2082.Zp.object,
					received: var2374.parsedType
				}), var2081.uY;
				const arr39 = [], keyType = this._def.keyType, valueType = this._def.valueType;
				for (const var2375 in var2374.data) arr39.push({
					key: keyType._parse(new fn74(var2374, var2375, var2374.path, var2375)),
					value: valueType._parse(new fn74(var2374, var2374.data[var2375], var2374.path, var2375)),
					alwaysSet: var2375 in var2374.data
				});
				return var2374.common.async ? var2081.MY.mergeObjectAsync(var2373, arr39) : var2081.MY.mergeObjectSync(var2373, arr39);
			}
			get element() {
				return this._def.valueType;
			}
			static create(var2376, var2377, var2378) {
				return new create19(var2377 instanceof fn76 ? fn73({
					keyType: var2376,
					valueType: var2377,
					typeName: var2518.ZodRecord
				}, fn75(var2378)) : fn73({
					keyType: create2.create(),
					valueType: var2376,
					typeName: var2518.ZodRecord
				}, fn75(var2377)));
			}
		}
		class create20 extends fn76 {
			get keySchema() {
				return this._def.keyType;
			}
			get valueSchema() {
				return this._def.valueType;
			}
			_parse(var2379) {
				const { status: var2380, ctx: var2381 } = this._processInputParams(var2379);
				if (var2381.parsedType !== var2082.Zp.map) return (0, var2081.zn)(var2381, {
					code: var2076.eq.invalid_type,
					expected: var2082.Zp.map,
					received: var2381.parsedType
				}), var2081.uY;
				const keyType1 = this._def.keyType, valueType1 = this._def.valueType, var2382 = [...var2381.data.entries()].map((([var2383, var2384], index45) => ({
					key: keyType1._parse(new fn74(var2381, var2383, var2381.path, [index45, "key"])),
					value: valueType1._parse(new fn74(var2381, var2384, var2381.path, [index45, "value"]))
				})));
				if (var2381.common.async) {
					const map2 = new Map();
					return Promise.resolve().then((async function() {
						for (const var2385 of var2382) {
							const var2386 = await var2385.key, var2387 = await var2385.value;
							if ("aborted" === var2386.status || "aborted" === var2387.status) return var2081.uY;
							"dirty" !== var2386.status && "dirty" !== var2387.status || var2380.dirty();
							map2.set(var2386.value, var2387.value);
						}
						return {
							status: var2380.value,
							value: map2
						};
					}));
				}
				{
					const map3 = new Map();
					for (const var2388 of var2382) {
						const key6 = var2388.key, value17 = var2388.value;
						if ("aborted" === key6.status || "aborted" === value17.status) return var2081.uY;
						"dirty" !== key6.status && "dirty" !== value17.status || var2380.dirty();
						map3.set(key6.value, value17.value);
					}
					return {
						status: var2380.value,
						value: map3
					};
				}
			}
		}
		create20.create = (var2389, var2390, var2391) => new create20(fn73({
			valueType: var2390,
			keyType: var2389,
			typeName: var2518.ZodMap
		}, fn75(var2391)));
		class create21 extends fn76 {
			_parse(var2392) {
				const { status: var2393, ctx: var2394 } = this._processInputParams(var2392);
				if (var2394.parsedType !== var2082.Zp.set) return (0, var2081.zn)(var2394, {
					code: var2076.eq.invalid_type,
					expected: var2082.Zp.set,
					received: var2394.parsedType
				}), var2081.uY;
				const _def3 = this._def;
				null !== _def3.minSize && var2394.data.size < _def3.minSize.value && ((0, var2081.zn)(var2394, {
					code: var2076.eq.too_small,
					minimum: _def3.minSize.value,
					type: "set",
					inclusive: true,
					exact: false,
					message: _def3.minSize.message
				}), var2393.dirty());
				null !== _def3.maxSize && var2394.data.size > _def3.maxSize.value && ((0, var2081.zn)(var2394, {
					code: var2076.eq.too_big,
					maximum: _def3.maxSize.value,
					type: "set",
					inclusive: true,
					exact: false,
					message: _def3.maxSize.message
				}), var2393.dirty());
				const valueType2 = this._def.valueType;
				function fn80(var2395) {
					const set13 = new Set();
					for (const var2396 of var2395) {
						if ("aborted" === var2396.status) return var2081.uY;
						"dirty" === var2396.status && var2393.dirty();
						set13.add(var2396.value);
					}
					return {
						status: var2393.value,
						value: set13
					};
				}
				const var2397 = [...var2394.data.values()].map(((item114, index46) => valueType2._parse(new fn74(var2394, item114, var2394.path, index46))));
				return var2394.common.async ? Promise.all(var2397).then(((var2398) => fn80(var2398))) : fn80(var2397);
			}
			min(var2399, var2400) {
				return new create21(fn73(fn73({}, this._def), {}, { minSize: {
					value: var2399,
					message: var2074.toString(var2400)
				} }));
			}
			max(var2401, var2402) {
				return new create21(fn73(fn73({}, this._def), {}, { maxSize: {
					value: var2401,
					message: var2074.toString(var2402)
				} }));
			}
			size(var2403, var2404) {
				return this.min(var2403, var2404).max(var2403, var2404);
			}
			nonempty(var2405) {
				return this.min(1, var2405);
			}
		}
		create21.create = (var2406, var2407) => new create21(fn73({
			valueType: var2406,
			minSize: null,
			maxSize: null,
			typeName: var2518.ZodSet
		}, fn75(var2407)));
		class create22 extends fn76 {
			constructor() {
				super(...arguments);
				this.validate = this.implement;
			}
			_parse(var2408) {
				const { ctx: var2409 } = this._processInputParams(var2408);
				if (var2409.parsedType !== var2082.Zp.function) return (0, var2081.zn)(var2409, {
					code: var2076.eq.invalid_type,
					expected: var2082.Zp.function,
					received: var2409.parsedType
				}), var2081.uY;
				function call37(var2410, var2411) {
					return (0, var2081.y7)({
						data: var2410,
						path: var2409.path,
						errorMaps: [
							var2409.common.contextualErrorMap,
							var2409.schemaErrorMap,
							(0, var2077.$W)(),
							var2078.A
						].filter(((item115) => !!item115)),
						issueData: {
							code: var2076.eq.invalid_arguments,
							argumentsError: var2411
						}
					});
				}
				function call38(var2412, var2413) {
					return (0, var2081.y7)({
						data: var2412,
						path: var2409.path,
						errorMaps: [
							var2409.common.contextualErrorMap,
							var2409.schemaErrorMap,
							(0, var2077.$W)(),
							var2078.A
						].filter(((item116) => !!item116)),
						issueData: {
							code: var2076.eq.invalid_return_type,
							returnTypeError: var2413
						}
					});
				}
				const obj75 = { errorMap: var2409.common.contextualErrorMap }, data12 = var2409.data;
				if (this._def.returns instanceof create28) {
					const _def4 = this;
					return (0, var2081.OK)((async function(...var2414) {
						const obj76 = new var2076.G([]), var2415 = await _def4._def.args.parseAsync(var2414, obj75).catch(((var2416) => {
							obj76.addIssue(call37(var2414, var2416));
							throw obj76;
						})), var2417 = await Reflect.apply(data12, this, var2415);
						return await _def4._def.returns._def.type.parseAsync(var2417, obj75).catch(((var2418) => {
							obj76.addIssue(call38(var2417, var2418));
							throw obj76;
						}));
					}));
				}
				{
					const _def5 = this;
					return (0, var2081.OK)((function(...var2419) {
						const var2420 = _def5._def.args.safeParse(var2419, obj75);
						if (!var2420.success) throw new var2076.G([call37(var2419, var2420.error)]);
						const var2421 = Reflect.apply(data12, this, var2420.data), var2422 = _def5._def.returns.safeParse(var2421, obj75);
						if (!var2422.success) throw new var2076.G([call38(var2421, var2422.error)]);
						return var2422.data;
					}));
				}
			}
			parameters() {
				return this._def.args;
			}
			returnType() {
				return this._def.returns;
			}
			args(...var2423) {
				return new create22(fn73(fn73({}, this._def), {}, { args: create18.create(var2423).rest(create11.create()) }));
			}
			returns(var2424) {
				return new create22(fn73(fn73({}, this._def), {}, { returns: var2424 }));
			}
			implement(var2425) {
				return this.parse(var2425);
			}
			strictImplement(var2426) {
				return this.parse(var2426);
			}
			static create(var2427, var2428, var2429) {
				return new create22(fn73({
					args: var2427 || create18.create([]).rest(create11.create()),
					returns: var2428 || create11.create(),
					typeName: var2518.ZodFunction
				}, fn75(var2429)));
			}
		}
		class create23 extends fn76 {
			get schema() {
				return this._def.getter();
			}
			_parse(var2430) {
				const { ctx: var2431 } = this._processInputParams(var2430);
				return this._def.getter()._parse({
					data: var2431.data,
					path: var2431.path,
					parent: var2431
				});
			}
		}
		create23.create = (var2432, var2433) => new create23(fn73({
			getter: var2432,
			typeName: var2518.ZodLazy
		}, fn75(var2433)));
		class create24 extends fn76 {
			_parse(data13) {
				if (data13.data !== this._def.value) {
					const data14 = this._getOrReturnCtx(data13);
					(0, var2081.zn)(data14, {
						received: data14.data,
						code: var2076.eq.invalid_literal,
						expected: this._def.value
					});
					return var2081.uY;
				}
				return {
					status: "valid",
					value: data13.data
				};
			}
			get value() {
				return this._def.value;
			}
		}
		function create25(var2434, var2435) {
			return new create26(fn73({
				values: var2434,
				typeName: var2518.ZodEnum
			}, fn75(var2435)));
		}
		create24.create = (var2436, var2437) => new create24(fn73({
			value: var2436,
			typeName: var2518.ZodLiteral
		}, fn75(var2437)));
		class create26 extends fn76 {
			_parse(data15) {
				if ("string" != typeof data15.data) {
					const parsedType11 = this._getOrReturnCtx(data15), values = this._def.values;
					(0, var2081.zn)(parsedType11, {
						expected: var2082.ZS.joinValues(values),
						received: parsedType11.parsedType,
						code: var2076.eq.invalid_type
					});
					return var2081.uY;
				}
				if (this._cache || (this._cache = new Set(this._def.values)), !this._cache.has(data15.data)) {
					const data16 = this._getOrReturnCtx(data15), values1 = this._def.values;
					(0, var2081.zn)(data16, {
						received: data16.data,
						code: var2076.eq.invalid_enum_value,
						options: values1
					});
					return var2081.uY;
				}
				return (0, var2081.OK)(data15.data);
			}
			get options() {
				return this._def.values;
			}
			get enum() {
				const obj77 = {};
				for (const var2438 of this._def.values) obj77[var2438] = var2438;
				return obj77;
			}
			get Values() {
				const obj78 = {};
				for (const var2439 of this._def.values) obj78[var2439] = var2439;
				return obj78;
			}
			get Enum() {
				const obj79 = {};
				for (const var2440 of this._def.values) obj79[var2440] = var2440;
				return obj79;
			}
			extract(var2441, var2442 = this._def) {
				return create26.create(var2441, fn73(fn73({}, this._def), var2442));
			}
			exclude(includes3, var2443 = this._def) {
				return create26.create(this.options.filter(((item117) => !includes3.includes(item117))), fn73(fn73({}, this._def), var2443));
			}
		}
		create26.create = create25;
		class create27 extends fn76 {
			_parse(data17) {
				const var2444 = var2082.ZS.getValidEnumValues(this._def.values), var2445 = this._getOrReturnCtx(data17);
				if (var2445.parsedType !== var2082.Zp.string && var2445.parsedType !== var2082.Zp.number) {
					const var2446 = var2082.ZS.objectValues(var2444);
					(0, var2081.zn)(var2445, {
						expected: var2082.ZS.joinValues(var2446),
						received: var2445.parsedType,
						code: var2076.eq.invalid_type
					});
					return var2081.uY;
				}
				if (this._cache || (this._cache = new Set(var2082.ZS.getValidEnumValues(this._def.values))), !this._cache.has(data17.data)) {
					const var2447 = var2082.ZS.objectValues(var2444);
					(0, var2081.zn)(var2445, {
						received: var2445.data,
						code: var2076.eq.invalid_enum_value,
						options: var2447
					});
					return var2081.uY;
				}
				return (0, var2081.OK)(data17.data);
			}
			get enum() {
				return this._def.values;
			}
		}
		create27.create = (var2448, var2449) => new create27(fn73({
			values: var2448,
			typeName: var2518.ZodNativeEnum
		}, fn75(var2449)));
		class create28 extends fn76 {
			unwrap() {
				return this._def.type;
			}
			_parse(var2450) {
				const { ctx: var2451 } = this._processInputParams(var2450);
				if (var2451.parsedType !== var2082.Zp.promise && false === var2451.common.async) return (0, var2081.zn)(var2451, {
					code: var2076.eq.invalid_type,
					expected: var2082.Zp.promise,
					received: var2451.parsedType
				}), var2081.uY;
				return (0, var2081.OK)((var2451.parsedType === var2082.Zp.promise ? var2451.data : Promise.resolve(var2451.data)).then(((var2452) => this._def.type.parseAsync(var2452, {
					path: var2451.path,
					errorMap: var2451.common.contextualErrorMap
				}))));
			}
		}
		create28.create = (var2453, var2454) => new create28(fn73({
			type: var2453,
			typeName: var2518.ZodPromise
		}, fn75(var2454)));
		class fn81 extends fn76 {
			innerType() {
				return this._def.schema;
			}
			sourceType() {
				return this._def.schema._def.typeName === var2518.ZodEffects ? this._def.schema.sourceType() : this._def.schema;
			}
			_parse(var2455) {
				var _def6 = this;
				const { status: var2456, ctx: var2457 } = this._processInputParams(var2455), var2458 = this._def.effect || null, obj80 = {
					addIssue: (fatal) => {
						(0, var2081.zn)(var2457, fatal);
						fatal.fatal ? var2456.abort() : var2456.dirty();
					},
					get path() {
						return var2457.path;
					}
				};
				if (obj80.addIssue = obj80.addIssue.bind(obj80), "preprocess" === var2458.type) {
					const var2459 = var2458.transform(var2457.data, obj80);
					if (var2457.common.async) return Promise.resolve(var2459).then((async function(var2460) {
						if ("aborted" === var2456.value) return var2081.uY;
						const var2461 = await _def6._def.schema._parseAsync({
							data: var2460,
							path: var2457.path,
							parent: var2457
						});
						return "aborted" === var2461.status ? var2081.uY : "dirty" === var2461.status || "dirty" === var2456.value ? (0, var2081.jm)(var2461.value) : var2461;
					}));
					{
						if ("aborted" === var2456.value) return var2081.uY;
						const var2462 = this._def.schema._parseSync({
							data: var2459,
							path: var2457.path,
							parent: var2457
						});
						return "aborted" === var2462.status ? var2081.uY : "dirty" === var2462.status || "dirty" === var2456.value ? (0, var2081.jm)(var2462.value) : var2462;
					}
				}
				if ("refinement" === var2458.type) {
					const var2463 = (var2464) => {
						const var2465 = var2458.refinement(var2464, obj80);
						if (var2457.common.async) return Promise.resolve(var2465);
						if (var2465 instanceof Promise) throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");
						return var2464;
					};
					if (false === var2457.common.async) {
						const var2466 = this._def.schema._parseSync({
							data: var2457.data,
							path: var2457.path,
							parent: var2457
						});
						return "aborted" === var2466.status ? var2081.uY : ("dirty" === var2466.status && var2456.dirty(), var2463(var2466.value), {
							status: var2456.value,
							value: var2466.value
						});
					}
					return this._def.schema._parseAsync({
						data: var2457.data,
						path: var2457.path,
						parent: var2457
					}).then(((var2467) => "aborted" === var2467.status ? var2081.uY : ("dirty" === var2467.status && var2456.dirty(), var2463(var2467.value).then((() => ({
						status: var2456.value,
						value: var2467.value
					}))))));
				}
				if ("transform" === var2458.type) {
					if (false === var2457.common.async) {
						const value18 = this._def.schema._parseSync({
							data: var2457.data,
							path: var2457.path,
							parent: var2457
						});
						if (!(0, var2081.fn)(value18)) return var2081.uY;
						const var2468 = var2458.transform(value18.value, obj80);
						if (var2468 instanceof Promise) throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");
						return {
							status: var2456.value,
							value: var2468
						};
					}
					return this._def.schema._parseAsync({
						data: var2457.data,
						path: var2457.path,
						parent: var2457
					}).then(((value19) => (0, var2081.fn)(value19) ? Promise.resolve(var2458.transform(value19.value, obj80)).then(((var2469) => ({
						status: var2456.value,
						value: var2469
					}))) : var2081.uY));
				}
				var2082.ZS.assertNever(var2458);
			}
		}
		fn81.create = (var2470, var2471, var2472) => new fn81(fn73({
			schema: var2470,
			typeName: var2518.ZodEffects,
			effect: var2471
		}, fn75(var2472)));
		fn81.createWithPreprocess = (var2473, var2474, var2475) => new fn81(fn73({
			schema: var2474,
			effect: {
				type: "preprocess",
				transform: var2473
			},
			typeName: var2518.ZodEffects
		}, fn75(var2475)));
		class create29 extends fn76 {
			_parse(var2476) {
				return this._getType(var2476) === var2082.Zp.undefined ? (0, var2081.OK)(undefined) : this._def.innerType._parse(var2476);
			}
			unwrap() {
				return this._def.innerType;
			}
		}
		create29.create = (var2477, var2478) => new create29(fn73({
			innerType: var2477,
			typeName: var2518.ZodOptional
		}, fn75(var2478)));
		class create30 extends fn76 {
			_parse(var2479) {
				return this._getType(var2479) === var2082.Zp.null ? (0, var2081.OK)(null) : this._def.innerType._parse(var2479);
			}
			unwrap() {
				return this._def.innerType;
			}
		}
		create30.create = (var2480, var2481) => new create30(fn73({
			innerType: var2480,
			typeName: var2518.ZodNullable
		}, fn75(var2481)));
		class create31 extends fn76 {
			_parse(var2482) {
				const { ctx: var2483 } = this._processInputParams(var2482);
				let data18 = var2483.data;
				var2483.parsedType === var2082.Zp.undefined && (data18 = this._def.defaultValue());
				return this._def.innerType._parse({
					data: data18,
					path: var2483.path,
					parent: var2483
				});
			}
			removeDefault() {
				return this._def.innerType;
			}
		}
		create31.create = (var2484, default85) => new create31(fn73({
			innerType: var2484,
			typeName: var2518.ZodDefault,
			defaultValue: "function" == typeof default85.default ? default85.default : () => default85.default
		}, fn75(default85)));
		class create32 extends fn76 {
			_parse(var2485) {
				const { ctx: common2 } = this._processInputParams(var2485), var2486 = fn73(fn73({}, common2), {}, { common: fn73(fn73({}, common2.common), {}, { issues: [] }) }), var2487 = this._def.innerType._parse({
					data: var2486.data,
					path: var2486.path,
					parent: fn73({}, var2486)
				});
				return (0, var2081.xP)(var2487) ? var2487.then(((var2488) => ({
					status: "valid",
					value: "valid" === var2488.status ? var2488.value : this._def.catchValue({
						get error() {
							return new var2076.G(var2486.common.issues);
						},
						input: var2486.data
					})
				}))) : {
					status: "valid",
					value: "valid" === var2487.status ? var2487.value : this._def.catchValue({
						get error() {
							return new var2076.G(var2486.common.issues);
						},
						input: var2486.data
					})
				};
			}
			removeCatch() {
				return this._def.innerType;
			}
		}
		create32.create = (var2489, catch1) => new create32(fn73({
			innerType: var2489,
			typeName: var2518.ZodCatch,
			catchValue: "function" == typeof catch1.catch ? catch1.catch : () => catch1.catch
		}, fn75(catch1)));
		class create33 extends fn76 {
			_parse(data19) {
				if (this._getType(data19) !== var2082.Zp.nan) {
					const parsedType12 = this._getOrReturnCtx(data19);
					(0, var2081.zn)(parsedType12, {
						code: var2076.eq.invalid_type,
						expected: var2082.Zp.nan,
						received: parsedType12.parsedType
					});
					return var2081.uY;
				}
				return {
					status: "valid",
					value: data19.data
				};
			}
		}
		create33.create = (var2490) => new create33(fn73({ typeName: var2518.ZodNaN }, fn75(var2490)));
		const var2491 = Symbol("zod_brand");
		class fn82 extends fn76 {
			_parse(var2492) {
				const { ctx: var2493 } = this._processInputParams(var2492);
				return this._def.type._parse({
					data: var2493.data,
					path: var2493.path,
					parent: var2493
				});
			}
			unwrap() {
				return this._def.type;
			}
		}
		class create34 extends fn76 {
			_parse(var2494) {
				var _def7 = this;
				const { status: dirty3, ctx: var2495 } = this._processInputParams(var2494);
				if (var2495.common.async) {
					return async function() {
						const var2496 = await _def7._def.in._parseAsync({
							data: var2495.data,
							path: var2495.path,
							parent: var2495
						});
						return "aborted" === var2496.status ? var2081.uY : "dirty" === var2496.status ? (dirty3.dirty(), (0, var2081.jm)(var2496.value)) : _def7._def.out._parseAsync({
							data: var2496.value,
							path: var2495.path,
							parent: var2495
						});
					}();
				}
				{
					const var2497 = this._def.in._parseSync({
						data: var2495.data,
						path: var2495.path,
						parent: var2495
					});
					return "aborted" === var2497.status ? var2081.uY : "dirty" === var2497.status ? (dirty3.dirty(), {
						status: "dirty",
						value: var2497.value
					}) : this._def.out._parseSync({
						data: var2497.value,
						path: var2495.path,
						parent: var2495
					});
				}
			}
			static create(var2498, var2499) {
				return new create34({
					in: var2498,
					out: var2499,
					typeName: var2518.ZodPipeline
				});
			}
		}
		class create35 extends fn76 {
			_parse(var2500) {
				const then2 = this._def.innerType._parse(var2500), and5 = (value20) => (0, var2081.fn)(value20) && (value20.value = Object.freeze(value20.value));
				return (0, var2081.xP)(then2) ? then2.then(((var2501) => and5(var2501))) : and5(then2);
			}
			unwrap() {
				return this._def.innerType;
			}
		}
		function pick14(var2502, var2503) {
			const var2504 = "function" == typeof var2502 ? var2502(var2503) : "string" == typeof var2502 ? { message: var2502 } : var2502;
			return "string" == typeof var2504 ? { message: var2504 } : var2504;
		}
		function pick15(var2505, var2506 = {}, var2507) {
			return var2505 ? create10.create().superRefine(((var2508, addIssue2) => {
				const then3 = var2505(var2508);
				if (then3 instanceof Promise) return then3.then(((var2509) => {
					if (!var2509) {
						var var2510, var2511;
						const fatal1 = pick14(var2506, var2508), var2512 = null === (var2510 = null !== (var2511 = fatal1.fatal) && undefined !== var2511 ? var2511 : var2507) || undefined === var2510 || var2510;
						addIssue2.addIssue(fn73(fn73({ code: "custom" }, fatal1), {}, { fatal: var2512 }));
					}
				}));
				if (!then3) {
					var var2513, var2514;
					const fatal2 = pick14(var2506, var2508), var2515 = null === (var2513 = null !== (var2514 = fatal2.fatal) && undefined !== var2514 ? var2514 : var2507) || undefined === var2513 || var2513;
					addIssue2.addIssue(fn73(fn73({ code: "custom" }, fatal2), {}, { fatal: var2515 }));
				}
			})) : create10.create();
		}
		create35.create = (var2516, var2517) => new create35(fn73({
			innerType: var2516,
			typeName: var2518.ZodReadonly
		}, fn75(var2517)));
		const obj81 = { object: fn79.lazycreate };
		var var2518;
		!function(var2519) {
			var2519.ZodString = "ZodString";
			var2519.ZodNumber = "ZodNumber";
			var2519.ZodNaN = "ZodNaN";
			var2519.ZodBigInt = "ZodBigInt";
			var2519.ZodBoolean = "ZodBoolean";
			var2519.ZodDate = "ZodDate";
			var2519.ZodSymbol = "ZodSymbol";
			var2519.ZodUndefined = "ZodUndefined";
			var2519.ZodNull = "ZodNull";
			var2519.ZodAny = "ZodAny";
			var2519.ZodUnknown = "ZodUnknown";
			var2519.ZodNever = "ZodNever";
			var2519.ZodVoid = "ZodVoid";
			var2519.ZodArray = "ZodArray";
			var2519.ZodObject = "ZodObject";
			var2519.ZodUnion = "ZodUnion";
			var2519.ZodDiscriminatedUnion = "ZodDiscriminatedUnion";
			var2519.ZodIntersection = "ZodIntersection";
			var2519.ZodTuple = "ZodTuple";
			var2519.ZodRecord = "ZodRecord";
			var2519.ZodMap = "ZodMap";
			var2519.ZodSet = "ZodSet";
			var2519.ZodFunction = "ZodFunction";
			var2519.ZodLazy = "ZodLazy";
			var2519.ZodLiteral = "ZodLiteral";
			var2519.ZodEnum = "ZodEnum";
			var2519.ZodEffects = "ZodEffects";
			var2519.ZodNativeEnum = "ZodNativeEnum";
			var2519.ZodOptional = "ZodOptional";
			var2519.ZodNullable = "ZodNullable";
			var2519.ZodDefault = "ZodDefault";
			var2519.ZodCatch = "ZodCatch";
			var2519.ZodPromise = "ZodPromise";
			var2519.ZodBranded = "ZodBranded";
			var2519.ZodPipeline = "ZodPipeline";
			var2519.ZodReadonly = "ZodReadonly";
		}(var2518 || (var2518 = {}));
		const call39 = (name, var2520 = { message: `Input not instance of ${name.name}` }) => pick15(((var2521) => var2521 instanceof name), var2520), create36 = create2.create, create37 = create3.create, create38 = create33.create, create39 = create4.create, create40 = create5.create, create41 = create6.create, create42 = create7.create, create43 = create8.create, create44 = create9.create, create45 = create10.create, create46 = create11.create, create47 = create12.create, create48 = create13.create, create49 = create14.create, create50 = fn79.create, strictCreate = fn79.strictCreate, create51 = create15.create, create52 = create16.create, create53 = create17.create, create54 = create18.create, create55 = create19.create, create56 = create20.create, create57 = create21.create, create58 = create22.create, create59 = create23.create, create60 = create24.create, create61 = create26.create, create62 = create27.create, create63 = create28.create, create64 = fn81.create, create65 = create29.create, create66 = create30.create, createWithPreprocess = fn81.createWithPreprocess, create67 = create34.create, call40 = () => create36().optional(), call41 = () => create37().optional(), call42 = () => create40().optional(), obj82 = {
			string: (var2522) => create2.create(fn73(fn73({}, var2522), {}, { coerce: true })),
			number: (var2523) => create3.create(fn73(fn73({}, var2523), {}, { coerce: true })),
			boolean: (var2524) => create5.create(fn73(fn73({}, var2524), {}, { coerce: true })),
			bigint: (var2525) => create4.create(fn73(fn73({}, var2525), {}, { coerce: true })),
			date: (var2526) => create6.create(fn73(fn73({}, var2526), {}, { coerce: true }))
		}, var2527 = var2081.uY;
	},
	841461: (exports51) => {
		"use strict";
		exports51.exports = JSON.parse("{\"name\":\"@eppo/js-client-sdk-common\",\"version\":\"4.14.4\",\"description\":\"Common library for Eppo JavaScript SDKs (web, react native, and node)\",\"main\":\"dist/index.js\",\"files\":[\"/dist\",\"/src\",\"!*.spec.ts\"],\"types\":\"./dist/index.d.ts\",\"engines\":{\"node\":\">=18.x\"},\"exports\":{\".\":{\"types\":\"./dist/index.d.ts\",\"default\":\"./dist/index.js\"}},\"scripts\":{\"lint\":\"eslint '**/*.{ts,tsx}' --cache\",\"lint:fix\":\"eslint --fix '**/*.{ts,tsx}' --cache\",\"lint:fix-pre-commit\":\"eslint -c .eslintrc.pre-commit.js --fix '**/*.{ts,tsx}' --no-eslintrc --cache\",\"prepare\":\"make prepare\",\"pre-commit\":\"lint-staged && tsc\",\"typecheck\":\"tsc\",\"test\":\"yarn test:unit\",\"test:unit\":\"NODE_ENV=test jest '.*\\\\.spec\\\\.ts'\",\"obfuscate-mock-ufc\":\"ts-node test/writeObfuscatedMockUFC\"},\"jsdelivr\":\"dist/eppo-sdk.js\",\"repository\":{\"type\":\"git\",\"url\":\"git+https://github.com/Eppo-exp/js-client-sdk-common.git\"},\"author\":\"\",\"license\":\"MIT\",\"bugs\":{\"url\":\"https://github.com/Eppo-exp/js-client-sdk-common/issues\"},\"homepage\":\"https://github.com/Eppo-exp/js-client-sdk-common#readme\",\"devDependencies\":{\"@types/jest\":\"^29.5.11\",\"@types/js-base64\":\"^3.3.1\",\"@types/lodash\":\"^4.17.5\",\"@types/semver\":\"^7.5.6\",\"@types/spark-md5\":\"^3.0.5\",\"@types/uuid\":\"^10.0.0\",\"@typescript-eslint/eslint-plugin\":\"^5.13.0\",\"@typescript-eslint/parser\":\"^5.13.0\",\"eslint\":\"^8.17.0\",\"eslint-config-prettier\":\"^10.0.1\",\"eslint-import-resolver-typescript\":\"^3.7.0\",\"eslint-plugin-import\":\"^2.25.4\",\"eslint-plugin-prettier\":\"5.2.3\",\"eslint-plugin-promise\":\"^7.2.1\",\"eslint-plugin-unused-imports\":\"^4.1.4\",\"jest\":\"^29.7.0\",\"jest-environment-jsdom\":\"^29.7.0\",\"lodash\":\"^4.17.21\",\"prettier\":\"^3.4.2\",\"prettier-eslint\":\"^16.3.0\",\"terser-webpack-plugin\":\"^5.3.3\",\"testdouble\":\"^3.20.1\",\"ts-jest\":\"^29.1.1\",\"ts-loader\":\"^9.3.1\",\"ts-node\":\"^10.9.1\",\"typescript\":\"^5.7.2\",\"webpack\":\"^5.73.0\",\"webpack-cli\":\"^6.0.1\"},\"dependencies\":{\"buffer\":\"npm:@eppo/buffer@6.2.0\",\"js-base64\":\"^3.7.7\",\"pino\":\"^9.5.0\",\"semver\":\"^7.5.4\",\"spark-md5\":\"^3.0.2\",\"uuid\":\"^11.0.5\"},\"packageManager\":\"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e\"}");
	},
	670299: (exports52) => {
		"use strict";
		exports52.exports = {
			"name": "@eppo/js-client-sdk",
			"version": "3.14.1",
			"description": "Eppo SDK for client-side JavaScript applications",
			"main": "dist/index.js",
			"files": [
				"/dist",
				"/src",
				"!*.spec.ts"
			],
			"types": "dist/index.d.ts",
			"scripts": {
				"lint": "eslint '**/*.ts' --cache",
				"lint:fix": "eslint --fix '**/*.ts' --cache",
				"lint:fix-pre-commit": "eslint -c .eslintrc.pre-commit.js --fix '**/*.ts' --no-eslintrc --cache",
				"prepare": "make prepare",
				"pre-commit": "lint-staged && tsc && yarn docs",
				"typecheck": "tsc",
				"test": "yarn test:unit",
				"test:unit": "NODE_ENV=test jest '.*\\.spec\\.ts'",
				"docs": "api-documenter markdown -i ./temp -o ./docs"
			},
			"jsdelivr": "dist/eppo-sdk.js",
			"repository": {
				"type": "git",
				"url": "git+https://github.com/Eppo-exp/js-client-sdk.git"
			},
			"author": "",
			"license": "MIT",
			"bugs": { "url": "https://github.com/Eppo-exp/js-client-sdk/issues" },
			"homepage": "https://github.com/Eppo-exp/js-client-sdk#readme",
			"devDependencies": {
				"@microsoft/api-documenter": "^7.26.3",
				"@microsoft/api-extractor": "^7.48.1",
				"@types/chrome": "^0.0.268",
				"@types/jest": "^29.5.11",
				"@types/spark-md5": "^3.0.5",
				"@typescript-eslint/eslint-plugin": "^5.13.0",
				"@typescript-eslint/parser": "^5.13.0",
				"eslint": "^8.17.0",
				"eslint-config-prettier": "^10.1.1",
				"eslint-import-resolver-typescript": "^3.6.3",
				"eslint-plugin-import": "^2.25.4",
				"eslint-plugin-prettier": "^5.2.1",
				"eslint-plugin-promise": "^7.2.1",
				"husky": "^9.1.7",
				"jest": "^29.7.0",
				"jest-environment-jsdom": "^29.7.0",
				"lint-staged": "^15.4.1",
				"prettier": "^3.4.2",
				"terser-webpack-plugin": "^5.3.3",
				"testdouble": "^3.20.2",
				"ts-jest": "^29.1.1",
				"ts-loader": "^9.3.1",
				"ts-node": "^10.9.2",
				"typescript": "^4.7.4",
				"webpack": "^5.73.0",
				"webpack-cli": "^6.0.1"
			},
			"dependencies": { "@eppo/js-client-sdk-common": "4.14.4" },
			"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
		};
	}
}]);