import{vn as e}from"./BZecBhUN.mjs";function t(e){return e==null?e===void 0?`[object Undefined]`:`[object Null]`:Object.prototype.toString.call(e)}var n=`[object RegExp]`,r=`[object String]`,i=`[object Number]`,a=`[object Boolean]`,o=`[object Arguments]`,s=`[object Symbol]`,c=`[object Date]`,l=`[object Map]`,u=`[object Set]`,d=`[object Array]`,ee=`[object Function]`,f=`[object ArrayBuffer]`,p=`[object Object]`,m=`[object Error]`,h=`[object DataView]`,g=`[object Uint8Array]`,_=`[object Uint8ClampedArray]`,v=`[object Uint16Array]`,y=`[object Uint32Array]`,b=`[object BigUint64Array]`,x=`[object Int8Array]`,S=`[object Int16Array]`,C=`[object Int32Array]`,w=`[object BigInt64Array]`,T=`[object Float32Array]`,E=`[object Float64Array]`;function D(e){return e==null||typeof e!=`object`&&typeof e!=`function`}function O(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function k(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}var A=typeof globalThis==`object`&&globalThis||typeof window==`object`&&window||typeof self==`object`&&self||typeof global==`object`&&global||(function(){return this})();function j(e){return A.Buffer!==void 0&&A.Buffer.isBuffer(e)}function M(e,t){return N(e,void 0,e,new Map,t)}function N(e,t,n,r=new Map,i=void 0){let a=i?.(e,t,n,r);if(a!==void 0)return a;if(D(e))return e;if(r.has(e))return r.get(e);if(Array.isArray(e)){let t=Array(e.length);r.set(e,t);for(let a=0;a{let d=n?.(s,c,l,u);if(d!==void 0)return d;if(typeof e==`object`){if(t(e)===`[object Object]`&&typeof e.constructor!=`function`){let t={};return u.set(e,t),P(t,e,l,u),t}switch(Object.prototype.toString.call(e)){case i:case r:case a:{let t=new e.constructor(e?.valueOf());return P(t,e),t}case o:{let t={};return P(t,e),t.length=e.length,t[Symbol.iterator]=e[Symbol.iterator],t}default:return}}})}function L(e){return I(e)}function R(){}function z(e){if(D(e))return e;if(Array.isArray(e)||O(e)||e instanceof ArrayBuffer||typeof SharedArrayBuffer<`u`&&e instanceof SharedArrayBuffer)return e.slice(0);let t=Object.getPrototypeOf(e);if(t==null)return Object.assign(Object.create(t),e);let n=t.constructor;if(e instanceof Date||e instanceof Map||e instanceof Set)return new n(e);if(e instanceof RegExp){let t=new n(e);return t.lastIndex=e.lastIndex,t}if(e instanceof DataView)return new n(e.buffer.slice(0));if(e instanceof Error){let t;return t=e instanceof AggregateError?new n(e.errors,e.message,{cause:e.cause}):new n(e.message,{cause:e.cause}),t.stack=e.stack,Object.assign(t,e),t}return typeof File<`u`&&e instanceof File?new n([e],e.name,{type:e.type,lastModified:e.lastModified}):typeof e==`object`?Object.assign(Object.create(t),e):e}function B(e){return e===`__proto__`}function V(e){if(typeof e!=`object`||!e)return!1;if(Object.getPrototypeOf(e)===null)return!0;if(Object.prototype.toString.call(e)!==`[object Object]`){let t=e[Symbol.toStringTag];return t==null||!Object.getOwnPropertyDescriptor(e,Symbol.toStringTag)?.writable?!1:e.toString()===`[object ${t}]`}let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function H(e){return typeof e==`object`&&!!e&&t(e)===`[object Arguments]`}function U(e){return typeof e==`object`&&!!e}function te(e){return Number.isSafeInteger(e)&&e>=0}function W(e){return e!=null&&typeof e!=`function`&&te(e.length)}function G(e){return U(e)&&W(e)}function K(e){return O(e)}function q(e,...t){let n=t.slice(0,-1),r=t[t.length-1],i=e;for(let e=0;e({VITE_ALLOW_INDEXING:t.seo.allowIndexing,VITE_DISPLAY_SITE_NAME:t.seo.displaySiteName,VITE_SITE:t.seo.siteName,VITE_SITE_DICTIONARY:t.i18n.messageOverlays[t.i18n.messageOverlays.length-1],VITE_CANONICAL_URL:t.seo.canonicalDomain,VITE_GRAPHQL_WS_ENDPOINT:Z(t.graphql.wsEndpoint,`graphql.wsEndpoint`),VITE_GTM_ID:t.analytics.gtmId,VITE_MIX_PANEL_TOKEN:t.analytics.mixpanel.token,VITE_INSIDER_PARTNER_NAME:t.analytics.insider.partnerName,VITE_INSIDER_PARTNER_ID:t.analytics.insider.partnerId,VITE_DATA_DOG_RUM_APP_ID:t.observability.dataDog.rumAppId,VITE_DATA_DOG_RUM_CLIENT_TOKEN:t.observability.dataDog.clientToken,VITE_DATA_DOG_RUM_SITE:t.observability.dataDog.rumSite,VITE_DATA_DOG_RUM_ENV:t.observability.dataDog.env==="default"?``:t.observability.dataDog.env,VITE_DATA_DOG_BROWSER_LOGS_CLIENT_TOKEN:t.observability.dataDog.browserLogs.enabled?t.observability.dataDog.clientToken:``,VITE_INTERCOM_APP_ID:t.integrations.intercom.appId,VITE_TURNSTILE_KEY:t.authentication.turnstileKey,VITE_GOOGLE_AUTH_CLIENT_ID:t.authentication.googleAuthClientId,VITE_GOOGLE_PLACE_API_KEY:t.integrations.googlePlaceApiKey,VITE_MOONPAY_SWAP_CRYPTO_KEY:t.fiatPayments.moonpaySwapCryptoKey,VITE_SOFTSWISS_V2_CONNECTOR_URL:t.casino.softswissV2ConnectorUrl,VITE_USE_48_BIT_RNG:t.casino.use48BitRng,VITE_RNG_48BIT_CHANGEOVER_DATE:t.casino.rng48ChangeoverDate??``,VITE_SANITY_DATASET:t.integrations.sanity.dataset,VITE_SANITY_PROJECT_ID:t.integrations.sanity.projectId,VITE_SANITY_API_VERSION:t.integrations.sanity.apiVersion,VITE_AFFILIATE_PLATFORM:t.affiliate.platform,VITE_FEATURE_SPORTS_ENABLED:t.sportsbook.enabled,VITE_FEATURE_TIPS_ENABLED:t.engagement.tipsEnabled,VITE_FEATURE_RAIN_ENABLED:t.engagement.rainEnabled,VITE_FEATURE_DAILY_BONUS:t.engagement.dailyBonus,VITE_FEATURE_TOP_UP_ENABLED:t.fiatPayments.topUpEnabled,VITE_FEATURE_GIFTS_ENABLED:t.engagement.giftsEnabled,VITE_FEATURE_BUY_CRYPTO_ENABLED:t.fiatPayments.buyCryptoEnabled,VITE_FEATURE_VERIFF_ENABLED:t.authentication.veriff.enabled,VITE_FEATURE_VERIFF_ENFORCED_AFTER_REGISTRATION:t.authentication.veriff.enforcedAfterRegistration,VITE_FEATURE_PHONE_ENABLED:t.authentication.phoneEnabled,VITE_FEATURE_IOVATION_ENABLED:t.authentication.iovationEnabled,VITE_FEATURE_OAUTH_PROVIDER_KICK_ENABLED:t.authentication.loginOauthProviders.includes(e.kick),VITE_FEATURE_OAUTH_PROVIDER_LINE_ENABLED:t.authentication.loginOauthProviders.includes(e.line),VITE_FEATURE_VIP_IRON_ENABLED:t.vip.ironEnabled,VITE_FEATURE_MAINTAIN_VIP_HOST_ENABLED:t.vip.maintainHostEnabled,VITE_FEATURE_ONBOARDING:t.authentication.onboardingEnabled,VITE_FEATURE_EMAIL_UNSUBSCRIBE:t.communications.emailUnsubscribe,VITE_FEATURE_USER_DATA_TRANSFER_ENABLED:t.complianceFeatures.userDataTransferEnabled,VITE_FEATURE_CONVERSIONS_ENABLED:t.fiatPayments.conversionsEnabled,VITE_FEATURE_EARLY_ACCESS:t.engagement.earlyAccess,VITE_FEATURE_PRIVACY_POLICY_ENABLED:t.complianceFeatures.privacyPolicyEnabled,VITE_FEATURE_FLAGS_ENABLED:t.featureFlags.enabled,VITE_SESSION_TIMER:!!t.responsibleGambling.desktopHeaderSessionTimerConfig||!!t.responsibleGambling.mobileHeaderSessionTimerConfig});function Q(e,t){return X(L(e),t)}function re(e,t){return[`staging`,`local`].includes(t)&&e.overrides?.staging?Q(e.production,e.overrides.staging):t===`preproduction`&&e.overrides?.preproduction?Q(e.production,e.overrides.preproduction):e.production}function $(e){if(typeof e!=`object`||!e||Object.isFrozen(e))return e;Object.freeze(e);for(let t of Object.keys(e))$(e[t]);return e}var ie=new class e{homeAllowDiceAsset;canonicalURL;graphql;emails;supportedLanguages;defaultLanguage;englishFlag;defaultExchangeCurrency;defaultPlayableCurrency;defaultTransactableCurrency;typesOfBetRacesEnabled;transactableCurrencies;playableCurrencies;displayCryptoInFiatCurrencies;acpCoinToggleCurrencies;helpCenter;mirrors;baseVipRankEnabled;vip;defaultAutoCompleteValue;responsibleGambling;userScreening;isFixedSingleCurrencyMarket;locationTracking;appReviewTokens;acpTrustUserPageEnabled;logoConfig;transactions;authentication;promotions;sportsPromotions;engagement;cryptoSwapEnabled;communications;complianceFeatures;sportsbook;affiliate;marketing;kycValidationSource;fiatPayments;cryptoPayments;acp;acpUserActions;challenge;rollover;chat;navigation;settings;singleKycEnabled;kycSubroutes;currencyConfig;dateTimeConfig;userPreferences;footer;seo;i18n;analytics;observability;onboarding;casino;integrations;cookieManagement;kasada;anonymousIdEnabled;announcements;displayLimitedNotice;featureFlags;expandableHeroEnabled;userSanctionsEnabled;branding;static checkDefaultLanguage(e,t){if(!e.includes(t))throw Error(`Default language ${t} is not supported`)}static checkDefaultPlayableCurrency(e,t){if(!e.includes(t))throw Error(`Default currency ${t} is not supported`)}static checkDefaultTransactableCurrency(e,t){if(t&&!e.includes(t))throw Error(`Default transactable currency ${t} is not supported`)}init(t){e.checkDefaultLanguage(t.supportedLanguages,t.defaultLanguage),e.checkDefaultPlayableCurrency(t.playableCurrencies,t.defaultPlayableCurrency),e.checkDefaultTransactableCurrency(t.transactableCurrencies,t.defaultTransactableCurrency),this.canonicalURL=t.canonicalURL,this.graphql=t.graphql,this.emails=t.emails,this.supportedLanguages=t.supportedLanguages,this.defaultLanguage=t.defaultLanguage,this.englishFlag=t.englishFlag,this.defaultExchangeCurrency=t.defaultExchangeCurrency,this.defaultPlayableCurrency=t.defaultPlayableCurrency,this.defaultTransactableCurrency=t.defaultTransactableCurrency,this.transactableCurrencies=t.transactableCurrencies,this.playableCurrencies=t.playableCurrencies,this.displayCryptoInFiatCurrencies=t.displayCryptoInFiatCurrencies,this.acpCoinToggleCurrencies=t.acpCoinToggleCurrencies,this.helpCenter=t.helpCenter,this.mirrors=t.mirrors,this.baseVipRankEnabled=t.baseVipRankEnabled,this.vip=t.vip,this.defaultAutoCompleteValue=t.defaultAutoCompleteValue,this.responsibleGambling=t.responsibleGambling,this.userScreening=t.userScreening,this.isFixedSingleCurrencyMarket=t.isFixedSingleCurrencyMarket,this.locationTracking=t.locationTracking,this.appReviewTokens=t.appReviewTokens,this.acpTrustUserPageEnabled=t.acpTrustUserPageEnabled,this.logoConfig=t.logoConfig,this.typesOfBetRacesEnabled=t.typesOfBetRacesEnabled,this.transactions=t.transactions,this.authentication=t.authentication,this.promotions=t.promotions,this.sportsPromotions=t.sportsPromotions,this.engagement=t.engagement,this.cryptoSwapEnabled=t.cryptoSwapEnabled,this.communications=t.communications,this.complianceFeatures=t.complianceFeatures,this.sportsbook=t.sportsbook,this.affiliate=t.affiliate,this.marketing=t.marketing,this.kycValidationSource=t.kycValidationSource,this.fiatPayments=t.fiatPayments,this.cryptoPayments=t.cryptoPayments,this.acp=t.acp,this.acpUserActions=t.acpUserActions,this.challenge=t.challenge,this.rollover=t.rollover,this.chat=t.chat,this.navigation=t.navigation,this.settings=t.settings,this.singleKycEnabled=t.singleKycEnabled,this.kycSubroutes=t.kycSubroutes,this.currencyConfig=t.currencyConfig,this.dateTimeConfig=t.dateTimeConfig,this.userPreferences=t.userPreferences,this.footer=t.footer,this.seo=t.seo,this.i18n=t.i18n,this.analytics=t.analytics,this.observability=t.observability,this.onboarding=t.onboarding,this.vip=t.vip,this.casino=t.casino,this.integrations=t.integrations,this.cookieManagement=t.cookieManagement,this.kasada=t.kasada,this.announcements=t.announcements,this.displayLimitedNotice=t.displayLimitedNotice,this.featureFlags=t.featureFlags,this.expandableHeroEnabled=t.expandableHeroEnabled,this.userSanctionsEnabled=t.userSanctionsEnabled,this.anonymousIdEnabled=t.anonymousIdEnabled,this.homeAllowDiceAsset=t.homeAllowDiceAsset,this.branding=t.branding;for(let e of Object.keys(this))$(this[e])}getVipNoticesLink(e){return this.vip.noticesLinks[e]??this.vip.noticesLinks.en}get viteEnv(){return ne(this)}};export{C as A,y as B,h as C,E as D,T as E,n as F,_ as H,u as I,r as L,l as M,i as N,ee as O,p as P,s as R,a as S,m as T,t as U,g as V,D as _,G as a,w as b,H as c,R as d,L as f,k as g,j as h,K as i,x as j,S as k,V as l,N as m,re as n,W as o,I as p,Y as r,U as s,ie as t,B as u,f as v,c as w,b as x,d as y,v as z};