import $_$ from './$_$.js';$_$();const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./a7c810163b.js","./132612d6c5.js","./b1159a167a.js","./6e85008790.js","./a5510a142b.js","./dc9666998b.js","./6a500d4ad6.js","./ed29d12678.js","./f667307fee.js","./507bd9aec2.js","./6be42ef105.css","./e009eeded2.js","./d52ef52007.js","./6d3b89392d.js","./12d90d3af8.js","./16781e3fa1.js","./b144f4269c.js","./d91ddc7010.js","./97beffb6bc.js","./5ca60866cf.js","./a4002b8ef7.js","./7d19e9b004.js","./b524dd86a5.js","./6c8968f5c5.js","./45960b1673.css","./7c8f60b824.js","./9c3598ef46.css","./3d084a8859.js","./c4adc8e78d.css","./c19ba5e0c9.js","./db58c1ecf0.js","./7f3e2f3269.js","./38a78e2434.css","./90e8256fbf.js","./5875ae865a.css","./85c0610afb.js","./96b7f9330c.js","./21d225424a.css","./2fca51a1f0.css","./4303cd2f46.js","./5fd45cf85a.css","./4818580f99.js","./3f699c5f61.css","./ea6f98fe3d.js","./61ebd461bf.css","./b494628ba1.js","./5ae73cc86c.js","./2cb6fe1974.js","./bc15f9c2c7.css","./68a913eadb.js","./633e26a0c4.js","./273c9c3ee2.js","./12dc70c677.js","./38d9526622.css","./fd43334c2a.js","./5755933da2.js","./f6f289e7f7.js","./c585fafd3f.css","./330e215111.js","./58ccae57ed.js","./d4253a5c69.js","./68359b6d55.js","./f3611d5e49.css","./56bc9f269d.js","./5e1e5795de.js","./bd2a9b99ef.js","./64e7c1a062.js","./df45c6b92f.css","./d40c96e8b1.js","./98ee9c812a.js","./d8a405c36e.css","./84e07aeb6f.css","./9e7245402a.js","./fde4c2cd22.js","./6fc2cb977a.js","./aada400653.js","./6dc2d5619c.css","./c9b276f791.js","./8bb59821df.js","./1b6878347a.css","./f008208d19.css","./aa462f045a.js","./3469dc88e8.js","./4e0f28614f.js","./eae232bd8d.css","./715e1e9754.js","./6f2d619b52.css","./6a1c036266.css","./8fbb6542e5.js","./34911b25c8.css","./24cf0b2b44.js","./903d44464f.js","./ae50c57eb1.js","./768ed4a118.css","./95c6a60c53.css","./2a76b5769a.js","./bde76517d7.js","./c5a3080df9.js","./dab6347c11.js","./28f214da78.js","./8b58002513.css","./ca000c6c03.js","./d668790e62.js","./6588f40d6e.js","./ef09c5cd8b.css","./95a3e28a5c.js","./f73c14d2b0.js","./b2bf727ce0.js","./5f12a605fc.css","./82b122e383.js","./e8464351c5.js","./c7867063fb.js","./559a228c09.js","./3688559a6f.js","./6f623b2c9a.css","./b4f60f7e86.js","./edb3ff6f65.css","./b23639c8ae.js","./b109a52748.js","./bd7b2dc0c0.js","./7a9cf0d147.js","./58ee773c29.css","./314e6d5109.js","./162a6f35e7.js","./4eff7eb634.css","./dbc754e7e9.js","./e9cd5b211a.js","./bd2bebd3fa.css","./62fb171f62.css","./dbbca0a816.js","./a226d4c8b5.js","./797d89c6a9.css","./4854cf5854.js","./20eda3bde2.css","./a4b016391f.css","./653d4afebd.js","./c91f18f35e.js","./7e887bae68.css","./4023eb19b8.css","./8f45de9a16.js","./65ad8d8c37.css","./6b314469a3.js","./3616ddfeae.css","./1cf7305239.js","./385db2ee13.css","./e0a3ab3249.js","./6f899d609b.css","./585f1075b3.js","./b05d5c2759.css","./6bf6df2e8f.css","./aea4e0f6e7.js","./6d89c82546.js","./b53eff4075.js","./c3374567e9.css","./3302c9552c.js","./c1fb3c8757.js","./c5d55626ad.css","./327ce693d5.js","./6530776714.css","./e209c76499.css","./5e27f23308.js","./5b31f07974.css","./84ef849826.js","./8a176958c3.css","./1350699221.js","./b9747b2956.css","./20eba240fe.css","./ae70106a22.css","./18134482e4.js","./7a701b9406.js","./3e74625872.css","./7216a51ad1.js","./802256311d.css","./ab5bb43790.js","./a64fe00150.js","./9701d9c9d5.css","./30d4ab999b.js","./a7d5ce25dc.css","./a2df4ca50b.css","./2d02620592.js","./23dbe7bd47.css","./7b91e093a9.js","./4e745fa229.css","./6dab196582.css","./7a49b4e428.css","./cdaec5e710.js","./e0a79b4db7.css","./9f0c381776.js","./907956954d.js","./4eea5ecdfe.css","./761a74ccdc.js","./2f0b400be2.js","./a481647b63.css","./ed99b8e31b.js","./fb6ced8dbc.js","./ef72a4a5b8.css","./98f913d7d6.css","./c035e10666.js","./183ff3160e.js","./db4e109f7f.js","./b417c8592d.css","./81396be82e.css","./6941cfa0be.js","./e4ddfc1f6f.js","./428622d961.css","./cd42fe379b.css","./84fe26d047.js","./a664427812.css","./620ddbf3c0.js","./1ead21f7c3.js","./d9b2a5f43f.css","./b3cea9af76.js","./9e53d06a17.js","./82f0565516.css","./532aa8c543.js","./be95f75e08.css","./10d3c3952d.css","./cab3b3f33e.js","./7710f8c748.js","./34a8bea94e.js","./6e3788fcd4.js","./e7e07647a9.js","./f8072895e3.js","./b1fdbefebc.js","./3467c5a7ce.js","./642269d8ce.js","./ef9a708ecd.js","./edb6b291a2.js","./c8a5e425d0.js","./81b9998f00.js","./ac2b5b81a5.css","./771e4818e2.js","./346d993fa5.js","./dd43748750.css","./d5d9676564.css","./745f15120d.js","./59dde952dd.css","./17fad7f507.js","./21f98915f2.js","./2ea2933671.css","./6e7b223573.js","./75a56adc95.js","./737aa0ba6f.css","./17393d4996.js","./aec9b867d8.css","./6b6d52bd53.js","./e25ea89150.css","./d763ff7c2c.css","./2f29aeac8f.js","./cb3b1572ac.js","./7ec237acf8.css","./a89b17f1d8.js","./909ad8291e.js","./a6485b330d.css","./bf3b400a9f.js","./d29976c25d.css","./7f7d472cdd.js","./7c2a50d881.js","./ea31415a2d.css","./ae2e7a9a96.css","./82fbb51541.js","./8dcb8db2ab.css","./6e0eb1068b.js","./19baad1fef.css","./ac9f1c4ba6.js","./55e58d0d66.css","./c116391e29.js","./fbd7eddd50.css","./902c02220e.js","./7c9e409c21.css","./a1d822d3bc.js","./29c337deb0.js","./d0e819ea70.css","./ca9b73a51a.js","./9bff10f9d8.css","./97f47e5e2e.css","./c029f5a428.js","./3c1209f1ad.js","./fee0e2b6e0.css","./6c91f5dda2.css","./c711ecc6af.js","./5177185040.js","./a35e711e8e.js","./193b267bc6.css","./7dc0c97ada.css","./a77569f8d0.js","./9604bb50db.js","./9d16fb0e0a.css","./8e035fccb3.css","./5c14f5d495.js","./cedf2e0e74.css","./9428549c8f.js","./2a364a1463.js","./1ef02aaad1.css","./1358093c6a.js","./f74435fd8e.css","./6f8cec72a9.css","./e34ce5fa9b.js","./10c14e77d7.js","./a470fcd40c.css","./aee797c7d3.css","./35849d17c7.js","./e02774b908.css","./541ec2da14.js","./8dad31f7a1.js","./5588f07d46.css","./48526351f9.js","./39b5b7afc8.css","./abd63bba50.js","./a74a3499fb.js","./36aa938585.js","./b84f50d6f2.js","./2a390e3883.css","./bdc16759ba.js","./5b550d1d5b.css","./43cb8c005c.css","./fd72f06266.js","./a4b5166bcd.css","./7bae0c5dbd.js","./152b4d1566.css","./7a91a7cb45.js","./7d4c56f2f5.js","./311d5d4766.js","./50fd9d3688.js","./428e1e1b9b.js","./ea449998ee.css","./a01cb66891.js","./d323debb9e.css","./aa5f49aec2.js","./89bc33576e.css","./6959c5fb80.js","./d49c8c48e7.js","./261b107a59.js","./7fd1140098.css","./bb970e93c8.css","./aa96c71fd3.js","./57dd37fcbe.css","./dcea746d81.css","./242f71b3a4.js","./c1f2cf7a17.css","./df824100a2.js","./5f56dde653.js","./b11098217a.css","./39ed78760e.js","./3927e89179.js","./c6e33f3cf4.css","./d124a4f1e2.js","./aaef38e7f2.css","./22ae7cfda2.js","./6b49545475.css","./a27e473f34.js","./2206fb322e.css","./1d28a02d2b.js","./3db908f991.css","./7b56337220.js","./a2361d4d7e.css","./a8fb0d4e74.js","./6a38050f8c.css","./b2841f3739.js","./48131f3f39.js","./4220923a3a.js","./33224cf0b6.js","./978a005124.js","./ae36a433a4.js","./f88dac4a08.js","./64c9fcf370.js","./e51197290d.js","./ecb3d9e34f.js","./2511300179.js","./21344682b0.js","./92b182b50a.js","./56740cfb4c.js","./303c8f7a8c.js","./e39365a5da.css","./f379c69528.js","./3f3877fefc.css","./4ecd7af665.js","./bc329526bc.css","./6949875681.js","./92a384f401.css","./3d4cc67531.css","./28e4b69b00.js","./abdfd52f3e.css","./a09ce9e150.js","./3a1fd17551.js","./7f980bd830.js","./4b57571bb7.js","./c7f5ac3804.js","./6916577a21.js","./2e8676839f.js","./370ca8581e.js","./4e72fcb253.js","./f38ff5162b.css","./93c93994ff.js","./84a8ce1b7a.css","./9faf3e814d.js","./a55486610d.js","./6d69d4d5ad.js","./8a6bcc0633.css","./6219abd99a.js","./f1f41a4bc4.js","./48336c6586.js","./03ad5ab8dd.js","./dba6d7fe78.js","./242f66f7ff.js","./f69eb9fd2c.js","./13f0e51605.js","./fcda21b3c2.js","./709b608a9e.css","./cd588893da.js","./3622301339.css","./230d4fd485.css","./028e24d1d4.js","./67ac9a4640.js","./bc9105e12c.css","./7a41c98ff9.js","./2f37cb4c5c.js","./848d94a86c.js","./562b779068.css","./85d07d1edf.css","./4414e25d1e.js","./b53e7999df.js","./8973b131b6.css","./711241cac0.css","./b9994cdc89.js","./a8257a589e.js","./1c31dae127.css","./35fea48fd5.js","./a1a5729b82.css","./cd736a790e.js","./60fbd227ce.js","./54d06b3ba9.css","./bed7c75e7a.js","./542ddf69e6.css","./610e51f664.js","./cabef48743.js","./a9c9313f26.js","./ecc6fae2c0.css","./90d7dbc922.css","./d0b95be8ee.js","./17bf12861d.js","./a585a18e2c.js","./28bd876eb2.js","./bd8d76de99.js","./3d28dea4cf.js","./18313a58c4.js","./906e93ea92.js","./4a5db39d02.js","./f47adfde98.js","./a52c431ab5.js","./d985e91592.js","./76b5cd402e.js","./7c55d457ca.js","./dd13aba165.js","./150bedee24.js","./4dac66d9b2.js","./2ffec43ff0.js","./5d778f6300.js","./c28c753f55.js","./e418fbfd26.js","./309f33087c.js","./4848163a06.js","./cca742c60e.js","./6260c1bf0d.js","./40a6460851.js","./c1aeb13e39.js","./48387e8868.js","./7439d5c0b8.js","./8075cee664.js","./4d028d644f.js","./88ad37400d.css","./b644aea8c0.css","./8c4b6dab5c.js","./cac84178b8.js","./a49bf2c5b8.css","./3c0219314e.css","./fd27e85570.js","./df10bb4cf1.js","./63ff11705e.css","./d9679d4b5f.js","./d4e07612b7.css","./3fb3984c9f.js","./2458e6ed8b.js","./581185f79f.css","./ef05f89135.css","./3fa35746ee.js","./132dea3c2a.js","./673a2a024d.js","./77038256ef.js","./55a6065bfc.js","./6897f939b7.js","./760ea34c90.js","./39f5071386.js","./6e1a8650c5.js","./eea69a8400.js","./82dd9c13b5.js","./51155b0712.js","./3b9ba4442d.css","./6401cf5774.js","./1e1e57107c.css","./3cc383e195.js","./1613b8223d.js","./b54b5f0303.css","./610b2d222f.js","./46dfed1819.css","./f511c2a124.js","./2c7af43bab.js","./8668af5dff.js","./5cb7ae6d87.js","./3ab43130b7.js","./d7e839a98a.js","./6061495532.js","./8823963de7.js","./742fb59507.js","./584eb9d561.css","./cb62b10de1.js","./d1f0a28ec0.css","./4856cbd81d.js","./f2b6e73133.css","./92aedb2138.js","./327bbcf837.js","./18b763eb25.js","./4fe3c8bfe5.js","./b1d0695408.js","./a9acc76823.js","./d03852c8a0.js","./a03ab3b8a9.js","./540d8738ff.js","./c034d08209.js","./faeb74b28e.js","./eb61b791f0.js","./2fff74b976.js","./a3ba84ca4f.js","./405f08782f.js","./77f6ff284a.js","./ccb9839473.js","./b550c3f314.js","./06125ddfed.css","./e575668e57.js","./dfc0d0374b.css","./c6b079a314.js","./ef2aa7a45e.js","./32663c9573.js","./ae7529aca9.js","./c54f3baa2a.js","./3dc53860a1.js","./213ba8474f.js","./7df16725ad.css","./7256797755.js","./8ca84f348b.js","./5cf6b8aec2.js","./a13f4efed7.js","./316bff3204.css","./1564a4ca16.js","./94450eb643.css","./fb4345fd74.js","./f7a4b33aeb.js","./3ef4df1224.css","./993b92092e.js","./860f9fed2a.js","./b8f0844a29.css","./f61fdf068a.css","./719b5c0713.js","./cb71a2fbe9.js","./f719c32929.css","./97cea0ab5c.js","./a6dc31d3eb.css","./ac9eb5f0dc.js","./ba4aa2271d.js","./dbaea81a08.js","./54b7566223.js","./f40a2073e9.js","./b1b98dee41.js","./ffb85af35f.js","./21516e5cf5.js","./a52eb8fffc.js","./3e92731329.js","./22e9d98757.js","./a547d2bac1.js","./9e7e6578e8.css","./dba86be225.js","./ac54195069.css","./e8ad8a3389.js","./9820d33069.css","./b33453ad1a.css","./f4c0c655ba.js","./f96600ad75.js","./4e97ffdc66.css","./31e0a2cb6d.css","./a2055114c6.js","./5a0a00825b.css","./6c011d1be1.js","./5e575d565e.js","./a54464ba77.js","./6ee97d0aa5.js","./ab14fce538.js","./7b558a8193.css","./11f4697345.css","./b66e13a246.css","./7b1c300a33.js","./737e24b74c.css","./3b14056807.js","./4152bbba3e.js","./2f9d8553b2.js","./b07bf43780.js","./960587eda4.js","./ed6c025e1c.js","./841763e229.js","./16b78ec8f1.js","./af28187f6b.css","./265fd9b415.js","./15fb09bcc7.js","./c6beb3d921.js","./78d7d36591.js","./3451ab7a9b.js","./a57e6a075f.js","./8b5c0e6468.js","./27892b4776.js","./9d81a764e7.js","./b519630b76.js","./f80a044c20.js","./493c5e9183.js","./11fd6bdb3f.js","./e2eb12c90d.js","./eaabea8bd0.js","./6135cfd51c.css","./c099a968b3.css","./3dd4262437.js","./36db37fa8c.css","./ae4bc21804.js","./33d884f72e.js","./eecf44ad89.js","./77c23aa3c0.js","./681ad383b0.js","./ba14ab9406.js","./5a41edd975.js","./906218ccbe.css","./f2b55817c4.js","./ec48aa4978.js","./4b236533ea.js","./8ffed05343.js","./56505712d9.js","./a38dc94f01.js","./79c435f6a0.js","./8ddbdb7ed5.js","./c8c94d5315.js","./ebb9aa5029.js","./7e978deaba.js","./290426dacf.js","./bc3a0d3d98.js","./b24e61a108.js","./6114d77f4b.js"])))=>i.map(i=>d[i]); var $S=Object.defineProperty,VS=Object.defineProperties;var HS=Object.getOwnPropertyDescriptors;var tp=Object.getOwnPropertySymbols;var KS=Object.prototype.hasOwnProperty,WS=Object.prototype.propertyIsEnumerable;var Xi=(e,t,o)=>t in e?$S(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,d=(e,t)=>{for(var o in t||(t={}))KS.call(t,o)&&Xi(e,o,t[o]);if(tp)for(var o of tp(t))WS.call(t,o)&&Xi(e,o,t[o]);return e},N=(e,t)=>VS(e,HS(t));var T=(e,t,o)=>Xi(e,typeof t!="symbol"?t+"":t,o);import{joinRelativeURL as Y_,useNuxtApp as Fc,useRouter_6b031e as Xr,isChangingPage as YS,execAsync as I,BettingPageType as me,BettingType as ee,MENU_SECTION_URL_NAME_MAP as Gs,BettingRouteName as ye,default_8eb60a as mi,OfficeRouteName as op,default_561baf as jS,wrapMicrofrontRoutes as rp,default_4c9d6e as ZS,useRequestEvent as qS,useRuntimeConfig_660506 as Uc,isEmbedded as xc,navigateTo as JS,createError_399845 as XS,useLogger_b85e39 as oo,useHttpModule as _i,getConfigs as hi,getServerData as zS,useState as QS,unref as G,trimChar as ey,alert as $c,deepMerge as fi,AlertIconsSvg as Vc,AlertIcons as Hc,isDef as fe,toRef as ty,ref as Wt,watch_a82cbf as Kc,chunk as gi,createEvent_1a91ab as dc,isPromise_8fedcb as oy,noop as mc,reactive as ja,debounce as ry,useEventListener as sy,throttle as ny,useRoute_b41010 as ay,isString_097ebc as j_,isNumber as Z_,isObject_337462 as _c,onScopeDispose as hc,customRef as iy,useGlobalStorage as Si,computed_a82cbf as Fe,useMemoryStorage_b85e39 as ly,shallowRef as Za,tryOnUnmounted as cy,nextTick as q_,effectScope as uy,toDeepReadonly as J_,getCurrentScope as X_,uniqueBy as Yt,markRaw as z_,createSharedComposable_4f3e37 as yi,useRoute_6b031e as Q_,defineNuxtRouteMiddleware as Wc,useGlobalStore as Ot,apiMethodFactory as C,genLngParam as Y,genRefParam as He,genCurrencyParam as Fs,genTypedDateParam as qa,DATE_TO as eh,DATE_FROM as th,code as Ii,ID as py,createParamInt as be,createParamString as yr,REF as vt,LNG as Pt,genTextParam as oh,normalizeUrl as Co,translit as nr,default_4e344e as Er,default_34b99c as sp,default_5f9d59 as np,default_468e2c as wo,millisecondsInMinute as dy,getActivePinia as my,MarketsNameType as it,HttpClient as wt,clamp_2acf64 as _y,useApiInstances as Ei,errorAlert as rr,AppStorageKey as cr,LanguageCode as zi,disableReactivity_4407b5 as jt,formatMoney as ka,toCommonFraction as hy,getConfig as to,useAccountStore as gr,range as fy,useAppStorage as Vn,sendAnalyticsEvent as gy,GA_TO_FATMAN_EVENT_ID as ap,useClientHeaders as Sy,useCookies as rh,useT as vo,useNotifications_ef35af as qs,onAppUnmounted as Yc,themeType_d5f3b5 as Js,useUserConfigStore as ip,useRemoteProvider as sh,useRemoteViewManager as yy,showAuthorizationBlock as Iy,RemoteViewStates as Ey,delay as Ja,defineStore_a8752b as jc,getGlobalProperty as Tr,toRaw as Ty,random as Qi,StatisticPopupUrls as Oy,DependencyName as lt,openInNewTab as vy,AppStorageDynamicKeys as Zc,default_a147ae as nh,default_eb5d9a as Py,iconScoreboardTimeline as at,genIdParam as Ay,genQueryParams as qc,genCookiesAgreeTime as Cy,genEmailParam as ah,genPasswordConfirmationParam as by,genPasswordParam as ih,genDataParam as Ry,genUmailParam as Ny,genPromotionMailingAgreementParam as Ly,genPromoCodeParam as By,genFirstDepositBonusChoiceParam as My,genRedirectParam as Gy,genAmountParam as ky,genConfirmCodeParam as wy,genCountryCodeParam as Dy,genPhoneParam as Fy,deepClone as Uy,default_5b8934 as xy,default_f08858 as $y,default_a24695 as Vy,default_a713f8 as Hy,defineNuxtPlugin as Fo,createWebHashHistory as Ky,createWebHistory as Wy,createRouter as Yy,START_LOCATION as lp,shallowReactive as jy,useError as lh,clearError as Zy,showError as hn,isReadonly as qy,toArray as ch,createError_16b807 as cp,withoutBase as up,isEqual as Jy,defineAsyncComponent as Jc,hasProtocol as Xy,default_568e3c as zy,default_9c5184 as Qy,default_fa4184 as eI,default_1dd0e2 as tI,default_e13083 as oI,default_95b993 as rI,default_a2f2e4 as sI,default_82aae1 as nI,default_d4432b as aI,default_2879e5 as iI,default_e8178d as lI,default_998f03 as cI,default_5e3b14 as uI,default_b2ba55 as pI,default_9a1004 as dI,default_eeee71 as mI,default_fb4011 as _I,default_749566 as hI,default_6cb533 as fI,default_ee1b4c as gI,default_7d50e0 as SI,default_a6c888 as yI,default_aabf4e as II,default_930370 as EI,default_a78eb1 as TI,default_f5c6cf as OI,default_94c9ac as vI,default_bbd4e1 as PI,default_347f5c as AI,default_d09372 as CI,default_8e7c99 as bI,default_5fbe67 as RI,default_c868a1 as NI,default_3ba17f as LI,default_3d4239 as BI,default_923f50 as MI,default_ca65ef as GI,default_02beb9 as kI,default_e4a85b as wI,default_8fd835 as DI,default_c2893f as FI,default_1e43eb as UI,default_78dc03 as xI,default_1c2af4 as $I,default_565479 as VI,default_0fe3b5 as HI,default_0c4981 as KI,default_897ad2 as WI,default_60efed as YI,default_6a90f2 as jI,default_74ba69 as ZI,default_b8b6f5 as qI,default_da8335 as JI,default_877151 as XI,default_ac4c13 as zI,default_373a96 as QI,default_2206c5 as eE,default_245000 as tE,default_aaf9ee as oE,default_99c881 as rE,default_fc915e as sE,default_b2801c as pp,default_1bae8c as nE,default_a4980f as aE,default_8e1876 as iE,default_43fea7 as lE,default_198c81 as cE,default_28882b as uE,default_9853ce as pE,default_b0ca26 as dE,default_4711aa as mE,default_d62bea as _E,default_288f0d as hE,default_c45810 as fE,default_74d990 as gE,default_c15e94 as SE,default_fd078a as yE,default_6a1b6b as IE,default_f544ce as EE,default_b60dee as TE,default_497e7e as OE,default_c9092c as vE,default_0d8da1 as PE,default_76591a as AE,default_20c0a8 as CE,default_79a217 as bE,default_d8df96 as RE,default_a01ced as NE,default_8bd027 as LE,default_b0482e as BE,default_77af2c as ME,default_e9a89b as GE,default_fe930d as kE,default_928f76 as wE,default_8311e4 as DE,default_a6ecd4 as FE,default_052a92 as UE,default_e5f647 as xE,default_a856f7 as $E,default_26c89e as VE,default_537df7 as HE,default_8d752e as KE,default_95284d as WE,default_bf3b47 as YE,default_59e09b as jE,default_e43c4a as ZE,default_87b97a as qE,default_d2a4be as JE,default_19b54b as XE,default_5edf03 as zE,default_a3bf10 as QE,default_a989dc as eT,default_494832 as tT,default_c456d2 as oT,default_647494 as rT,default_1ea938 as sT,default_6f3c80 as nT,default_6dee80 as aT,default_39d954 as iT,default_9a434d as lT,default_5eeb41 as cT,default_cb4910 as uT,default_ad5cd4 as pT,default_2dca1f as dT,default_c000ac as mT,default_44da1f as _T,default_3aaf49 as hT,default_ec4f36 as fT,default_fe3d47 as gT,default_697abc as ST,default_5c69da as yT,default_922323 as IT,default_8af084 as ET,default_7a1b84 as TT,default_984ea7 as OT,default_bca03e as vT,default_9c3748 as PT,default_3b18f5 as AT,default_6a2650 as CT,default_92ac2a as bT,default_9dd23a as RT,default_e97508 as NT,default_7fd5fe as LT,default_d1e440 as BT,default_fd32fa as MT,default_f11373 as GT,default_905097 as kT,default_7d5621 as wT,default_93dcb4 as DT,default_4c292b as FT,default_7a32f0 as UT,default_888a89 as xT,default_ea6b71 as $T,default_42944c as VT,default_2043ea as HT,default_36b076 as KT,default_e6e420 as WT,default_b98928 as YT,default_dbd7f4 as jT,default_315325 as ZT,default_6583d2 as qT,default_731783 as JT,default_0c36d0 as XT,default_bf590a as zT,default_edbda7 as QT,default_b92324 as e0,default_3d2ce0 as t0,default_ce6cd0 as o0,default_f1709f as r0,default_1cc602 as s0,default_4951ac as n0,default_a1db29 as a0,default_592ab5 as i0,LeavingPage as l0,useCDN as uh,assert as bo,groupBy as c0,provideComponent as Tt,TEAM_LOGO_URL_PREFIX as el,DEFAULT_TEAM_LOGO_URL_NAME as ph,pick as u0,isArray_335f80 as Hn,TIME_GROUP_1_KEY as p0,TIME_GROUP_2_KEY as d0,TIME_GROUP_3_KEY as m0,apiInstances as dp,useSiteConfig as _0,windowOnLCP as h0,loadConfigs as f0,useCoreBus as dh,isRemoteView as g0,getServerDataKey as S0,default_cb1620 as y0,default_8ba650 as I0,default_6acfd6 as E0,default_d7dc09 as T0,default_67857a as O0,default_2d6ac3 as v0,default_83c079 as P0,createBlock as Is,openBlock as jr,provide as A0,PageRouteSymbol as C0,onErrorCaptured as b0,isNuxtError as R0,Suspense as N0,withCtx as L0,createElementBlock as B0,default_c6133a as M0,resolveDynamicComponent as G0,sharedEntry as k0}from"../../../shared-assets/Desktop/__shared_base-app_c04bff29a2.js";import w0 from"../../../shared-assets/Desktop/__shared_c29ed659a5.js";import fc from"../../../shared-assets/__shared_fast_deep_equal_RNYYWXHZ.js";import{CancelRequest as D0}from"../../../shared-assets/__shared_vue_deps_QPSMQ63M.js";const F0=()=>{var e;return((e=window==null?void 0:window[window.__APP])==null?void 0:e.config)||{}},Xa=()=>F0().app,U0=()=>Xa().baseURL,x0=()=>Xa().buildAssetsDir,$0=(...e)=>$_$() && Y_(mh(),x0(),...e),mh=(...e)=>{$_$();const t=Xa().cdnURL||Xa().baseURL;return e.length?Y_(t,...e):t};window.__buildAssetsURL=$0,window.__publicAssetsURL=mh;const V0=!1,tl=[],H0={scrollBehavior(e,t,o){$_$();var u,p;const r=Fc(),s=(p=(u=Xr().options)==null?void 0:u.scrollBehaviorType)!=null?p:"auto";let n=o||void 0;const l=typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop;if(!n&&t&&e&&l!==!1&&YS(e,t)&&(n={left:0,top:0}),e.path===t.path)return t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:mp(e.hash),behavior:s}:!1;const i=m=>{var c;return!!((c=m.meta.pageTransition)!=null?c:V0)},a=i(t)&&i(e)?"page:transition:finish":"page:finish";return new Promise(m=>{r.hooks.hookOnce(a,async()=>{$_$();let c,_;[c,_]=I(()=>new Promise(h=>setTimeout(h,0))),await c,_(),e.hash&&(n={el:e.hash,top:mp(e.hash),behavior:s}),m(n)})})}};function mp(e){try{const t=document.querySelector(e);if(t)return(Number.parseFloat(getComputedStyle(t).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0)}catch(t){}return 0}const K0="modulepreload",W0=function(e,t){return new URL(e,t).href},_p={},O=function(t,o,r){let s=Promise.resolve();if(o&&o.length>0){const l=document.getElementsByTagName("link"),i=document.querySelector("meta[property=csp-nonce]"),a=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));s=Promise.allSettled(o.map(u=>{if(u=W0(u,r),u in _p&&!u.endsWith(".css"))return;_p[u]=!0;const p=u.endsWith(".css"),m=p?'[rel="stylesheet"]':"";if(!!r)for(let h=l.length-1;h>=0;h--){const g=l[h];if(g.href===u&&(!p||g.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${u}"]${m}`))return;const _=document.createElement("link");if(_.rel=p?"stylesheet":K0,p||(_.as="script"),_.crossOrigin="",_.href=u,a&&_.setAttribute("nonce",a),document.head.appendChild(_),p)return new Promise((h,g)=>{_.addEventListener("load",h),_.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${u}`)))})}))}function n(l){const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=l,window.dispatchEvent(i),!i.defaultPrevented)throw l}return s.then(l=>{for(const i of l||[])i.status==="rejected"&&n(i.reason);return t().catch(n)})};var Y0=(e=>(e[e.LOADING=0]="LOADING",e[e.EMPTY=1]="EMPTY",e[e.FULL=2]="FULL",e))(Y0||{});const ex=" / ";var j0=(e=>(e.QUICK_COUPON="quick_coupon",e.REGULAR_COUPON="regular_coupon",e))(j0||{});const ks=1e4,Z0=[1001,1002,1003,1004,1005,1006,1007,1008,1009,1010,1011,1012],q0=[3,7,8,9,11,13,28,1012,...Z0],J0=[10001,1e4,10002,3,13,9,7,8,28,1012,1001,1002,1003,1004,1005,1006,1007,1008,1009,1010,1011],tx=[28,8,9],X0={0:me.HOME,8:me.MARBLE},ox=e=>{$_$();var t;if(!e)return me.HOME;const o=e.find(s=>s!==0),r=o!=null?o:0;return(t=X0[r])!=null?t:me.HOME},rx="secondary",sx=[95,0,42],z0=[85,89,144,190,1,4,3,2,13,5,8,7,67,15,14,6,66,21,30,9,29,28,16,17,41,27,10,25,189,49,26,31,18,36,40,23,22,24,19,76,74,84,180,47,71,73,75,182,183,239,44,92,132,133,12,56,252],nx={1:97,2:106,3:86,6:125,7:128,15:168,16:109,17:11,4:150,10:107,19:85,34:162,14:4014,5:4005,8:4008,9:4009,11:4011,12:4012,18:4018,20:4020,21:4021,22:4022,23:4023,24:4024,25:4025,26:4026,27:4027,28:4028,29:4029,30:4030,31:4031,32:4032,33:4033,35:4035,36:4036,37:4037,38:4038,39:4039,40:4040,41:4041,42:4042,43:4043,13:4050,46:4046,47:4047,48:4048},ax=[13,28],ix=[66,99,269,5],lx=[4,56,41,9,189,30,10,53,81,39,182,12,16],cx=[287],ux="country",px="sports";var Z=(e=>(e.FIFTEEN="fifteen",e.SCORE="score",e.FOOTBALL="football",e.HOCKEY="hockey",e.BASKETBALL="basket",e.CYBERFOOTBALL="cyberfootball",e.CYBERSPORT="cybersport",e.FREE="free",e.JACKPOT="jackpot",e.CRICKET="cricket",e))(Z||{}),Ne=(e=>(e[e.FIFTEEN=1]="FIFTEEN",e[e.SCORE=2]="SCORE",e[e.FOOTBALL=3]="FOOTBALL",e[e.HOCKEY=4]="HOCKEY",e[e.BASKETBALL=12]="BASKETBALL",e[e.CYBERFOOTBALL=6]="CYBERFOOTBALL",e[e.CYBERSPORT=9]="CYBERSPORT",e[e.FREE=7]="FREE",e[e.JACKPOT=8]="JACKPOT",e[e.CRICKET=11]="CRICKET",e))(Ne||{}),Zr=(e=>(e[e.ADOPTED=1]="ADOPTED",e[e.LOSE=2]="LOSE",e[e.WIN=3]="WIN",e[e.PAYMENT=4]="PAYMENT",e[e.DELETED=5]="DELETED",e[e.SOLD=8]="SOLD",e))(Zr||{}),fn=(e=>(e.DEFAULT="pending",e.WIN="success",e.LOSE="error",e.SELECTED="selected",e))(fn||{});const Q0={1:"1",2:"X",3:"2"},bs=[4,5,2,6,7],_h="1",eO="X",tO="2",Rn="toto_p1_tb",Nn="toto_p1_tm",Ln="toto_x",Bn="toto_p2_tb",Mn="toto_p2_tm",Kn="toto_ld",Xs=Object.values(Q0),dx={[Ne.FIFTEEN]:Z.FIFTEEN,[Ne.SCORE]:Z.SCORE,[Ne.FOOTBALL]:Z.FOOTBALL,[Ne.HOCKEY]:Z.HOCKEY,[Ne.BASKETBALL]:Z.BASKETBALL,[Ne.CYBERFOOTBALL]:Z.CYBERFOOTBALL,[Ne.FREE]:Z.FREE,[Ne.CYBERSPORT]:Z.CYBERSPORT,[Ne.JACKPOT]:Z.JACKPOT,[Ne.CRICKET]:Z.CRICKET};Z.FIFTEEN+"",Z.CYBERFOOTBALL+"",Z.FREE+"",Z.FOOTBALL+"",Z.SCORE+"",Z.HOCKEY+"",Z.CYBERSPORT+"",Z.BASKETBALL+"",Z.CRICKET+"",Z.JACKPOT+"";Z.FIFTEEN+"",Z.SCORE+"",Z.FOOTBALL+"",Z.HOCKEY+"",Z.BASKETBALL+"",Z.CYBERSPORT+"",Z.CRICKET+"",Z.CYBERFOOTBALL+"",Z.FREE+"",Z.JACKPOT+"";Z.BASKETBALL+"",Z.CYBERSPORT+"",Z.CRICKET+"",Z.SCORE+"";const mx=[Kn,Rn,Nn,Bn,Mn,Ln];Zr.ADOPTED+"",Zr.LOSE+"",Zr.WIN+"",Zr.PAYMENT+"",Zr.DELETED+"",Zr.SOLD+"";Z.FIFTEEN,Z.FOOTBALL,Z.CYBERFOOTBALL,Z.FREE,Z.JACKPOT;const oO=[20,30,31,40,41,42,50,51,52,53,60,61,62,63,64,11,12,22,13,23,33,14,24,34,44,15,25,35,45,55,10,21,32,43,54,65,27];Z.FIFTEEN+"",Z.SCORE+"",Z.FOOTBALL+"",Z.HOCKEY+"",Z.CYBERSPORT+"",Z.BASKETBALL+"",Z.CRICKET+"",Z.CYBERFOOTBALL+"",Z.FREE+"",Z.JACKPOT+"";Z.BASKETBALL+"",Z.CYBERSPORT+"",Z.CRICKET+"";const zs=[_h,eO,tO],ol=[Rn,Nn,Ln,Bn,Mn],_x={[Ne.FIFTEEN]:zs,[Ne.CYBERFOOTBALL]:zs,[Ne.FREE]:zs,[Ne.FOOTBALL]:zs,[Ne.SCORE]:["1:0","2:0","2:1","3:0","3:1","3:2","0:1","0:2","0:3","1:2","1:3","2:3","0:0","1:1","2:2","3:3",Kn],[Ne.HOCKEY]:["1:0","2:0","2:1","3:0","3:1","3:2","4:0","4:1","4:2","4:3","5:0","5:1","5:2","5:3","5:4","0:1","0:2","0:3","0:4","0:5","1:2","1:3","2:3","1:4","2:4","3:4","1:5","2:5","3:5","4:5","0:0","1:1","2:2","3:3","4:4","5:5",Kn],[Ne.CYBERSPORT]:ol,[Ne.BASKETBALL]:ol,[Ne.CRICKET]:ol,[Ne.JACKPOT]:zs},hx=_h,fx={[fn.WIN]:"office_history_toto_match_wining_outcome",[fn.LOSE]:"office_history_toto_match_losing_outcome",[fn.SELECTED]:"office_history_toto_match_selected_outcome",[fn.DEFAULT]:"office_history_toto_match_outcome"};Z.FIFTEEN+"",Ne.FIFTEEN,Z.SCORE+"",Ne.SCORE,Z.FOOTBALL+"",Ne.FOOTBALL,Z.HOCKEY+"",Ne.HOCKEY,Z.BASKETBALL+"",Ne.BASKETBALL,Z.CRICKET+"",Ne.CRICKET,Z.CYBERFOOTBALL+"",Ne.CYBERFOOTBALL,Z.CYBERSPORT+"",Ne.CYBERSPORT,Z.FREE+"",Ne.FREE,Z.JACKPOT+"",Ne.JACKPOT;const gx="betting-type",Sx="game-id",rO=[5,4,9],sO=[4,2],nO=2,aO="SP",iO="line",lO="live",cO={LIVE:lO,LINE:iO},yx=e=>Object.values(cO).includes(e),Ix=e=>$_$() && Object.values(me).includes(e),wa=`:section(${ee.LIVE}|${ee.LINE})`,uO=`:section(${ee.LIVE})`,Gn=`:menuSection(${Object.values(Gs).join("|")})`,hh=":sport",pO=":sportSection",Xc=":champ",dO=":game",zc=":team",fh=`${wa}/${Gn}?`,gh=`${uO}/${Gn}?`,kn=`${hh}?/${Xc}?`,Sh=`${hh}/${Xc}/${dO}`,Da=`${fh}/${kn}`,mO=`${gh}/${kn}`,Rs=`${fh}/${Sh}`,_O=`${gh}/${Sh}`,hO=`${zc}/${Da}`,fO=`${zc}/${Rs}`,Me="/sys-betting-app-front",Ex="/sys-platform-apps-front",Tx="/sys-banners-client-front",gO="/sys-office-app-front",Ox="/sys-welcome-app-front",vx="/sys-v3-host-app-front",SO="/sys-nuxt-third-party-front",Px="/sys-games-app-front";var yO=Object.defineProperty,IO=Object.defineProperties,EO=Object.getOwnPropertyDescriptors,hp=Object.getOwnPropertySymbols,TO=Object.prototype.hasOwnProperty,OO=Object.prototype.propertyIsEnumerable,fp=(e,t,o)=>t in e?yO(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,gp=(e,t)=>{for(var o in t||(t={}))TO.call(t,o)&&fp(e,o,t[o]);if(hp)for(var o of hp(t))OO.call(t,o)&&fp(e,o,t[o]);return e},Sp=(e,t)=>IO(e,EO(t));const Qs={default:()=>O(()=>import("./a7c810163b.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57]),import.meta.url),defaultAsian:()=>O(()=>import("./330e215111.js"),__vite__mapDeps([58,1,2,3,4,5,6,7,8,9,10,52,14,15,59,20,60,12,50,21,61,62,36,37,22,19,41,29,42,39,40,63,30,64,65,51,53,66,67]),import.meta.url),footer:()=>O(()=>import("./d40c96e8b1.js"),__vite__mapDeps([68,1,4,5,3,6,20,69,70,71]),import.meta.url)},vO=[{path:"",components:Sp(gp({},Qs),{bettingHeader:()=>O(()=>import("./9e7245402a.js"),__vite__mapDeps([72,1,73,74,75,76,21,5,36,37,12,69,70,4,3,6,77,78,29,20,7,79,80]),import.meta.url)}),children:[{path:"",name:ye.HOME}],meta:{3:[110],2:[3,93,5,32]}},{name:ye.BETSONYOUR_SECTION,path:`:pageType(${me.BETSONYOUR})/${Da}`,alias:`:pageType(${me.BETSONYOUR})/${wa}/${Gn}/${kn}`,components:Qs,meta:{key:Me,0:!0,13:23,3:[111],2:[3,93,5]}},{name:ye.TOPGAME_SECTION,path:`:pageType(${me.TOPGAME})/${Da}`,alias:`:pageType(${me.TOPGAME})/${wa}/${Gn}/${kn}`,components:Qs,meta:{key:Me,0:!0,3:[111],2:[3,93,5]}},{name:ye.MARBLE_SECTION,path:`:pageType(${me.MARBLE})/${mO}`,components:Qs,meta:{key:Me,0:!0,13:27,2:[3,93,5]}},{name:ye.TEAM_SECTION,path:`:pageType(${me.TEAM})/${hO}`,components:{default:()=>O(()=>import("./aa462f045a.js"),__vite__mapDeps([81,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,82,83,84,85,86,87]),import.meta.url),footer:()=>O(()=>import("./d40c96e8b1.js"),__vite__mapDeps([68,1,4,5,3,6,20,69,70,71]),import.meta.url)},meta:{key:Me,2:[3,93,5,32]}},{name:ye.TEAM_GAMES_INFO,path:`:pageType(${me.TEAM})/:section(${ee.LINE})/${zc}`,components:{defaultAsian:()=>O(()=>import("./8fbb6542e5.js"),__vite__mapDeps([88,58,1,2,3,4,5,6,7,8,9,10,52,14,15,59,20,60,12,50,21,61,62,36,37,22,19,41,29,42,39,40,63,30,64,65,51,53,66,67,82,83,84,85,86,89]),import.meta.url),default:()=>O(()=>import("./aa462f045a.js"),__vite__mapDeps([81,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,82,83,84,85,86,87]),import.meta.url),footer:()=>O(()=>import("./d40c96e8b1.js"),__vite__mapDeps([68,1,4,5,3,6,20,69,70,71]),import.meta.url)},meta:{key:Me,2:[3,93,5,32]}},{name:ye.MAIN_SECTION,path:Da,components:Sp(gp({},Qs),{bettingHeader:()=>O(()=>import("./24cf0b2b44.js"),__vite__mapDeps([90,91,36,37,1,4,5,3,6,12,41,29,42,43,44,23,24,25,26,19,20,92,93,74,75,76,94]),import.meta.url)}),alias:`${wa}/${Gn}/${kn}`,meta:{key:Me,12:[1,2],2:[3,93,5,32]}}],za=({params:{game:e,section:t,pageType:o}})=>$_$() && ({gameId:parseInt(e,10),gameType:t,pageType:o||me.HOME}),en={default:()=>O(()=>import("./2a76b5769a.js"),__vite__mapDeps([95,96,1,97,98,4,5,3,6,21,99,13,14,15,47,100,101,102,103,29,104,105,85,46,106,7,33,34,107,108,109,110,111,112,113,20,114,49,115,74,75,76,116,117,83,84,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,22,140,141,142,143,144,145,146,147,148,30,149,150,151,152,153,154,18,19,2,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184]),import.meta.url),defaultAsian:()=>O(()=>import("./2a76b5769a.js"),__vite__mapDeps([95,96,1,97,98,4,5,3,6,21,99,13,14,15,47,100,101,102,103,29,104,105,85,46,106,7,33,34,107,108,109,110,111,112,113,20,114,49,115,74,75,76,116,117,83,84,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,22,140,141,142,143,144,145,146,147,148,30,149,150,151,152,153,154,18,19,2,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184]),import.meta.url),footer:()=>O(()=>import("./d40c96e8b1.js"),__vite__mapDeps([68,1,4,5,3,6,20,69,70,71]),import.meta.url)},tn={default:za,defaultAsian:za},PO=[{name:ye.MARBLE_GAME,path:`:pageType(${me.MARBLE})/${_O}`,components:en,props:tn,meta:{key:Me}},{name:ye.TEAM_GAME,path:`:pageType(${me.TEAM})/${fO}`,components:en,props:tn,meta:{key:Me}},{name:ye.BETSONYOUR_GAME,path:`:pageType(${me.BETSONYOUR})/${Rs}`,components:en,props:tn,meta:{key:Me}},{name:ye.TOPGAME_GAME,path:`:pageType(${me.TOPGAME})/${Rs}`,components:en,props:tn,meta:{key:Me}},{name:ye.MAIN_GAME,path:Rs,components:en,props:tn,meta:{key:Me,12:[1,2],2:[5,93,55,61,57,3],3:[111,110,275,461,276,230,285,284,231,233,286,431,305,521,363,563,591]}}],AO={name:ye.MULTI_LIVE,path:"multi",component:()=>O(()=>import("./cdaec5e710.js"),__vite__mapDeps([185,101,1,3,102,103,29,104,96,97,98,4,5,6,21,99,13,14,15,47,100,105,85,46,106,7,33,34,107,108,109,110,111,112,113,20,114,49,115,74,75,76,116,117,83,84,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,22,140,141,142,143,144,145,146,147,148,30,149,150,151,152,153,154,18,19,2,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,12,186]),import.meta.url),meta:{key:Me,6:1,2:[23,55,61,57,93],13:25,3:[111,110,305,275,461,230,231,233,273,285,284,283,281,280,279,276,228,363,431,278,282,286,521,563]}},yp=e=>e.champId?parseInt(e.champId,10):void 0,CO={name:ye.CHAMP_RESULTS,path:"champs/:champId?",components:{default:()=>O(()=>import("./9f0c381776.js"),__vite__mapDeps([187,188,3,1,6,20,189]),import.meta.url),asideLeft:()=>O(()=>import("./761a74ccdc.js"),__vite__mapDeps([190,191,1,6,192,193,194,3,195,196,197,198,199,200,30,188,201]),import.meta.url)},props:{default:({params:e})=>({champId:yp(e)}),asideLeft:({params:e})=>({champId:yp(e)})},meta:{key:Me,13:24,2:[3]}},bO={default:()=>O(()=>import("./6941cfa0be.js"),__vite__mapDeps([202,4,5,1,3,6,73,74,75,76,21,36,37,12,69,70,77,78,29,20,7,79,203,204,205]),import.meta.url),defaultAsian:()=>O(()=>import("./84fe26d047.js"),__vite__mapDeps([206,4,5,1,3,6,29,207]),import.meta.url),asideLeft:()=>O(()=>import("./6e85008790.js").then(e=>e.BettingLeftAside),__vite__mapDeps([3,1]),import.meta.url),asideLeftAsian:()=>O(()=>import("./620ddbf3c0.js"),__vite__mapDeps([208,191,1,6,192,5,29,209,3,210,193,194,195,196,211,212,36,37,41,42,43,44,23,24,25,26,27,28,21,22,4,7,12,19,20,213,47,214,69,70,77,78,215,216]),import.meta.url)},RO={path:"",component:()=>O(()=>import("./c19ba5e0c9.js").then(e=>e.BettingLayoutApp),__vite__mapDeps([29,1]),import.meta.url),children:[{path:"",components:bO,props:{asideLeft:({params:{pageType:e,section:t}})=>({pageType:e,bettingType:t}),asideLeftAsian:({params:{pageType:e,section:t}})=>({pageType:e,bettingType:t})},children:[...vO,...PO],meta:{key:Me}},CO,AO],meta:{key:Me,3:[110,595,613,193,246,487,361,417,581,557],2:[[73],3,62,4,5,44,139]}},NO={name:"statisticPageRoute",path:"statistic",component:mi,children:[{path:"*"}],meta:{isExternalRoute:!0}},LO=[{name:op.BETS_HISTORY,path:"office/history",component:()=>O(()=>import("./cab3b3f33e.js"),__vite__mapDeps([217,218,219,1,220,221,111,3,222,6,223,2,4,5,7,106,46,55,50,9,224,225,226,227,29,12,228,60,52,14,15,21,61,62,229,230,231,232,233,234]),import.meta.url),meta:{isExternalRoute:!0,microfrontUrl:SO,2:[11,10,4,3,105]}},{name:op.RECHARGE,path:"office/recharge",meta:{isExternalRoute:!0}}],BO=[{name:"blockAppealBetsHistory",path:"block-appeal-history",component:()=>O(()=>import("./745f15120d.js"),__vite__mapDeps([235,218,219,1,220,221,111,3,222,6,223,2,4,5,7,106,46,55,50,9,224,225,226,227,29,12,228,60,52,14,15,21,61,62,229,230,231,232,233,236]),import.meta.url),meta:{4:!0,24:!0,2:[11,4,3],isExternalRoute:!0}}],MO={name:ye.TOP_EVENTS,path:`:pageType(${me.TOP_EVENTS})`,component:()=>O(()=>import("./6a500d4ad6.js").then(e=>e.TopEventsLayoutWrapper),__vite__mapDeps([6,1]),import.meta.url),children:[{name:ye.TOP_EVENTS_SECTION,path:":pageSubType",component:()=>O(()=>import("./17fad7f507.js"),__vite__mapDeps([237,1,238,239,3,240,241,242,243,6,244,245,246,247]),import.meta.url),children:[{name:ye.TOP_EVENTS_HOME,path:"",components:{default:()=>O(()=>import("./2f29aeac8f.js").then(e=>e.TopEventsHomePage),__vite__mapDeps([248,224,225,1,6,226,249,250,251,20,105,29,85,46,4,5,3,106,7,33,34,21,107,108,96,47,181,182,240,241,242,243,244,19,147,148,12,252,253,254,255,111,238,239,256,257,75,258,259]),import.meta.url),asideLeft:()=>O(()=>import("./82fbb51541.js"),__vite__mapDeps([260,1,256,6,12,5,20,19,15,29,249,225,250,261]),import.meta.url),asideRight:()=>O(()=>import("./6e0eb1068b.js"),__vite__mapDeps([262,257,75,1,29,111,3,258,263]),import.meta.url)},meta:{key:Me,2:[5]}},{name:ye.TOP_EVENTS_GAME,path:Rs,components:{default:()=>O(()=>import("./ac9f1c4ba6.js"),__vite__mapDeps([264,46,1,6,251,20,105,29,85,4,5,3,106,7,33,34,21,107,108,249,225,250,96,47,181,182,240,241,242,243,244,19,147,148,12,252,253,224,226,254,255,109,101,102,103,104,115,74,75,76,116,265]),import.meta.url),asideLeft:()=>O(()=>import("./82fbb51541.js"),__vite__mapDeps([260,1,256,6,12,5,20,19,15,29,249,225,250,261]),import.meta.url),asideRight:()=>O(()=>import("./6e0eb1068b.js"),__vite__mapDeps([262,257,75,1,29,111,3,258,263]),import.meta.url)},props:{default:za},meta:{key:Me,2:[5],3:[591]}}],meta:{key:Me}}],meta:{key:Me,2:[3,11,4,93,139],3:[110,487,489,491,495,497,501,503,511,515,585,557]}},GO={path:`${pO}(cricket)`,name:ye.CRICKET_SECTION,components:{asideLeft:()=>O(()=>import("./c116391e29.js"),__vite__mapDeps([266,6,1,267]),import.meta.url),toolbar:()=>O(()=>import("./902c02220e.js"),__vite__mapDeps([268,101,1,3,102,103,29,104,6,85,269]),import.meta.url),default:mi},meta:{key:Me,13:[74],2:[3,5,153,4],3:[507]},children:[{path:"",name:ye.CRICKET_HOME,component:()=>O(()=>import("./a1d822d3bc.js"),__vite__mapDeps([270,75,1,6,271,272,273,3,274,275]),import.meta.url),meta:{key:Me}},{path:"all-champs",name:ye.CRICKET_ALL_CHAMPS,component:()=>O(()=>import("./c029f5a428.js"),__vite__mapDeps([276,277,3,1,278,273,6,274,279]),import.meta.url),meta:{key:Me}},{path:"all-events",name:ye.CRICKET_ALL_EVENTS,component:()=>O(()=>import("./c711ecc6af.js"),__vite__mapDeps([280,12,5,1,277,3,278,281,36,37,19,6,20,9,7,4,21,11,2,252,29,253,46,282,13,14,15,16,283,284]),import.meta.url),meta:{key:Me}},{path:"broadcasts",name:ye.CRICKET_BROADCASTS,component:()=>O(()=>import("./a77569f8d0.js"),__vite__mapDeps([285,1,286,287,75,6,288]),import.meta.url),meta:{key:Me}},{path:"broadcast/:id",name:ye.CRICKET_BROADCAST,component:()=>O(()=>import("./5c14f5d495.js"),__vite__mapDeps([289,286,287,1,241,242,290]),import.meta.url),meta:{key:Me}},{path:`champ/${Xc}`,name:ye.CRICKET_CHAMP,component:()=>O(()=>import("./9428549c8f.js"),__vite__mapDeps([291,277,3,1,278,292,293,294,271,272,254,74,75,76,295,281,36,37,19,6,20,12,5,9,7,4,21,11,2,252,29,253,46,282,13,14,15,16,283,85,296]),import.meta.url),meta:{key:Me}},{path:"player-info/:id",name:ye.CRICKET_PLAYER_INFO,component:()=>O(()=>import("./e34ce5fa9b.js"),__vite__mapDeps([297,271,272,298,1,299,294,254,74,75,76,295,300]),import.meta.url),meta:{key:Me}},{path:Rs,name:ye.CRICKET_GAME,props:za,component:()=>O(()=>import("./35849d17c7.js"),__vite__mapDeps([301,96,1,4,5,3,6,85,298,299,110,105,29,46,106,7,33,34,21,107,108,111,112,113,20,114,292,293,241,242,243,47,302]),import.meta.url),meta:{key:Me}}]};var kO=Object.defineProperty,wO=Object.defineProperties,DO=Object.getOwnPropertyDescriptors,Ip=Object.getOwnPropertySymbols,FO=Object.prototype.hasOwnProperty,UO=Object.prototype.propertyIsEnumerable,Ep=(e,t,o)=>t in e?kO(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,xO=(e,t)=>{for(var o in t||(t={}))FO.call(t,o)&&Ep(e,o,t[o]);if(Ip)for(var o of Ip(t))UO.call(t,o)&&Ep(e,o,t[o]);return e},$O=(e,t)=>wO(e,DO(t));const VO=[{path:`:pageType(${me.TOP_SPORTS})`,name:ye.TOP_SPORTS_SECTION,redirect:e=>$_$() && ({name:ye.CRICKET_SECTION,params:$O(xO({},e.params),{sportSection:"cricket"})}),component:()=>O(()=>import("./541ec2da14.js"),__vite__mapDeps([303,240,241,242,1,243,6,244,304,305,306,191,192,256,3,307,245,246,308,309,310,311,220,227,222,29,312,313,314,315]),import.meta.url),children:[GO],meta:{key:Me}},{path:"cricket/:catchAll(.*)*",redirect:e=>({path:e.path.replace(/\/cricket/,"/top-sports/cricket"),query:e.query})}],HO=[{name:"printCoupon",path:"print-coupon/:couponId(\\d+)",props:({params:{couponId:e}})=>({couponId:Number(e)}),component:()=>O(()=>import("./fd72f06266.js"),__vite__mapDeps([316,29,1,317]),import.meta.url),meta:{13:48,2:[3],isExternalRoute:!0}}],KO={name:"resultsMain",path:"results/:type(live|zone)?",component:mi,meta:{13:60,isExternalRoute:!0}},WO=["esports",me.CYBER],YO=[{name:"esports",path:`:pageType(${WO.join("|")})/:rest(.*)*`}];var jO={};const gn=[MO,RO,NO,...LO,...BO,...HO,KO,...jO.RUNTIME_INSTANCE_TYPE==="prod"?[]:VO,...YO,{name:"Dummy",path:"/:catchAll(.*)",component:()=>O(()=>import("./6a500d4ad6.js").then(e=>e.Dummy),__vite__mapDeps([6,1]),import.meta.url),meta:{isExternalRoute:!0,3:[110]}}];gn.layout=jS;const ZO=gn.layout?rp(gn,gn.layout):rp(gn),qO={hashMode:!1,scrollBehaviorType:"auto"},uo=d(d(d(d({},qO),H0),ZS),ZO),JO=()=>{$_$();qS();const{public:{nuxtAppName:e}}=Uc();return{redirectTo:(o,r)=>{$_$();if(!xc())return JS(o,r?{redirectCode:r}:{});window.coreBus.emit(`redirect-${e}`,o)}}},XO=()=>{$_$();const{public:{nuxtAppName:e}}=Uc();return{showError:o=>{$_$();if(!xc())throw XS({statusCode:o});window.coreBus.emit(`error-${e}`,{statusCode:o})}}},zO=async()=>{$_$();let e,t;const o=oo(),r=_i(),[s,n,l,i]=hi(-1012,-1001,-1e3,-1010);try{const{data:a}=([e,t]=I(()=>$_$() && r("/champs-api/v1/get-champs-by-params-web",{headers:{"X-Whence":i,"X-Referral":l,"X-FCountry":s.id,"X-Project-Id":n},params:{test:zS("is")?"true":void 0},cache:{key:`get-champs-by-params-web-${i}-${l}-${s.id}-${n}`,expire:600}}).execute()),e=await e,t(),e);return Array.isArray(a.response)?a.response:[]}catch(a){return o.error("get-champs-by-params error",a),[]}},QO=async()=>{$_$();let e,t;const o=QS("topEventsConfig",()=>[]);return G(o).length?G(o):(o.value=([e,t]=I(()=>zO()),e=await e,t(),e),G(o))},Jn=e=>{throw new Error(`Required argument '${e}' is missing`)},ao=e=>(Jn(e),0),Xn=e=>(Jn(e),""),ev=e=>(Jn(e),{}),Ti=e=>(Jn(e),!1);function Ax(e=Xn("url"),{protocol:t="http://"}={}){const o=e.trim(),r=t.trim();return o.startsWith(r)?o:`${r}${o}`}const Cx=(e,t,o)=>{const r=e.indexOf(t);return r===-1?e.push(t):e.splice(r,1),r===-1},bx=(e,t,o)=>{const r=e.indexOf(t);return r!==-1&&e.splice(r,1),r===-1},yh=(...e)=>$_$() && ey(e.filter(Boolean).join("/").replace(/[/]+/g,"/"),"/"),Rx=({incomeMap:e,label:t,T:o})=>e.includes(t)?o(t):t,Ro=(e=>(t="")=>`${t}${++e}`)(0),tv=e=>new Promise((t,o)=>{requestAnimationFrame(()=>t())}),ov={",":"б","<":"Б",".":"ю",">":"Ю","/":".","?":",",";":"ж",":":"Ж","'":"э",'"':"Э","[":"х","{":"Х","]":"ъ","}":"Ъ"},rv={ru:N(d({},ov),{A:"Ф",B:"И",C:"С",D:"В",E:"У",F:"А",G:"П",H:"Р",I:"Ш",J:"О",K:"Л",L:"Д",M:"Ь",N:"Т",O:"Щ",P:"З",Q:"Й",R:"К",S:"Ы",T:"Е",U:"Г",V:"М",W:"Ц",X:"Ч",Y:"Н",Z:"Я",a:"ф",b:"и",c:"с",d:"в",e:"у",f:"а",g:"п",h:"р",i:"ш",j:"о",k:"л",l:"д",m:"ь",n:"т",o:"щ",p:"з",q:"й",r:"к",s:"ы",t:"е",u:"г",v:"м",w:"ц",x:"ч",y:"н",z:"я"})},Ih=(e="",{language:t=""}={})=>{var o;const r=(o=rv[t])!=null?o:{};return[...e].map(s=>{var n;return(n=r[s])!=null?n:s}).join("")},sv=(e=[],{isInverse:t=!1,fillEmpty:o}={})=>{if(!Array.isArray(e))return[];if(!t)return e.flat();const r=Math.max(...e.map(({length:n})=>n)),s=e.length;return Array.from({length:r}).flatMap((n,l)=>Array.from({length:s}).map((i,a)=>{var u;return(u=e[a][l])!=null?u:o?o():void 0}))},rl=e=>{const t=e.replace(/^([0-9]*).*$/,"$1"),o=Number(t);return!t||Number.isNaN(o)?void 0:o},Nx=(e,t)=>{const o=[2,0,1,1,1,2];return t[e%100>4&&e%100<20?2:o[e%10<5?e%10:5]]},Tp=e=>!Number.isNaN(parseInt(String(e),10)),Lx=(e,t=(...o)=>JSON.stringify(o))=>{const o=new Map;return(...r)=>{const s=t(...r);if(o.has(s))return o.get(s);const n=e(...r);return o.set(s,n),n}},sr=(e=[],{idKey:t="id",getValue:o=s=>s,getId:r=s=>s[t]}={})=>{const s=new Set;return e.reduce((n,l)=>{const i=r(l);return n.data[i]=o(l),s.has(i)||(n.order.push(i),s.add(i)),n},{data:{},order:[]})},nv=(...e)=>e.reduce((t,o)=>r=>o(t(r))),Op=(e,t,o)=>nv(Object.entries,r=>r.map(([s,n])=>[s,n(e)]),Object.fromEntries,o)(t),Bx=(e,t,...o)=>{let r,s;const n=new Promise((a,u)=>{r=a,s=u}),l=setTimeout(()=>r(e(...o)),t);return Object.assign(n,{timeoutId:l,cancel:()=>s(clearTimeout(l))})},Mx=async({T:e,text:t,title:o="",options:r={}})=>$_$() && $c({T:e,options:fi({title:o,html:t,icon:Hc.INFO,iconHtml:Vc.INFO,customClass:{icon:"swal2-icon--info"}},r)}),Gx=async({T:e,text:t,title:o="",options:r={}})=>$_$() && $c({T:e,options:fi({title:o,text:t,icon:Hc.QUESTION,iconHtml:Vc.QUESTION,showCancelButton:!0,cancelButtonText:e("main_cancel"),customClass:{icon:"swal2-icon--question"}},r)}),av=async({T:e,text:t,title:o=e("main_done"),options:r={}})=>$_$() && $c({T:e,options:fi({title:o,html:t,icon:Hc.SUCCESS,iconHtml:Vc.SUCCESS,customClass:{popup:"swal2-popup--good",icon:"swal2-icon--success"}},r)}),iv=(e,t=()=>{})=>{var o,r,s;const n=Math.max(...(o=e==null?void 0:e.map(l=>l==null?void 0:l.length))!=null?o:[]);return(s=(r=e==null?void 0:e.filter(Boolean))==null?void 0:r.map(l=>l.concat(...l.lengtht()):[])))!=null?s:[]},lv=(e,...t)=>{const o=t.pop();return e.reduce((r,s,n,l)=>{var i;let a=r;t.forEach(m=>{var c;const _=m(s,n,l);a[_]=(c=a[_])!=null?c:{},a=a[_]});const u=o(s,n,l),p=(i=a[u])!=null?i:[];return p.push(s),a[u]=p,r},{})},Wn=(e,t)=>$_$() && fe(t)?e.includes(t):!1,kx=(e,t)=>Wn(e,t)?(e.splice(e.indexOf(t),1),!0):!1,wx=(e,t)=>Wn(e,t)?!1:(e.push(t),!0),Dx=(e,t)=>Wn(e,t)?!1:(e.unshift(t),!0),Fx=(e,t)=>e.reduce((o,r,s)=>(o[t(r,s)]=r,o),{}),Eh=(...e)=>Array.from({length:Math.max(...e.map(t=>t.length))},(t,o)=>e.map(r=>r[o])),Ux=(...e)=>e.reduce((t,o)=>{const r=o(t);return Object.assign(t,r),t},{}),xx=(e,t)=>Object.fromEntries(t.map(o=>$_$() && [o,ty(e,o)])),$x=({source:e,query:t,chunkSize:o,fuseOptions:r})=>{$_$();const s=Wt(!1),n=Wt([]),l=Wt(),i=Wt([]),a=c=>{$_$();i.value=G(i).concat(G(c))},u=()=>{var c;(c=l.value)==null||c.abort(),i.value=[]},p=()=>{s.value=!1},m=()=>{$_$();if(u(),!G(t)||!G(e).length)return p();s.value=!0;const c=gi(G(e),G(o)).map(h=>()=>$_$() && new w0(h,G(r)).search(G(t)).map(({item:g})=>g)),_=()=>c.length?(l.value=tv(),n.value=c.shift()(),a(n),l.value.then(_).catch(()=>{})):p();return _()};return Kc(()=>$_$() && [G(e),G(t),G(r)],()=>m()),{isSearching:s,lastSearchChunkResult:n,searchResult:i}},cv=()=>window.innerWidth-window.document.documentElement.clientWidth,Vx=()=>{const e=window.innerWidth,t=cv(),o="(width:"+(e-t)+"px)";return window.matchMedia(o).matches?t:0},Hx=e=>{$_$();const t=dc(),o=dc(),r=(...s)=>{$_$();const n=e(...s);return t(...s),oy(n)?n.then(l=>(o({params:s,result:l}),l)):(o({params:s,result:n}),n)};return r.sync={watch:t.watch,unwatch:t.unwatch},r.done={watch:o.watch,unwatch:o.unwatch},r};function Th(e,t){return e.forEach((o,r,s)=>{o instanceof Map?Th(o,t):o.sort(t)}),e}const{round:vp}=Math,Oi=(e,t)=>{var o,r,s,n;const l=(r=(o=`${e}`.split(".")[1])==null?void 0:o.length)!=null?r:0,i=(n=(s=`${t}`.split(".")[1])==null?void 0:s.length)!=null?n:0,u=10**(l>i?l:i);return{left:vp(e*u),right:vp(t*u),exponent:u}},sl=[1,1],Fa=(e=0)=>{if(Number.isNaN(e))return 0;if(e<0)throw new Error(`getFactorial: n(${e}) должно быть больше 0`);let t=0;if(typeof e=="number"){if(sl[e])return sl[e];t=Fa(e-1)*e,sl[e]=t}return t},uv=(e,t)=>{const{left:o,right:r,exponent:s}=Oi(e,t);return(o+r)/s},Kx=(e,t)=>{const{left:o,right:r,exponent:s}=Oi(e,t);return(o-r)/s},Sr=(e,t)=>{const{left:o,right:r,exponent:s}=Oi(e,t);return o*r/(s*s)},Oh=(e,t)=>{const{left:o,right:r}=Oi(e,t);return o/r},Wx=e=>({getBlockTitleDictionaryArgs:o=>[o===0?e:"coupon_block",{blockId:o}]}),pv=10,Yx=({isRtl:e,offsetBound:t=pv})=>{$_$();const o=Wt(!1),r=Wt(!0),s=Wt(!1),n=Wt(!0);return{onScroll:i=>{$_$();const{target:a}=i;if(a){const{clientWidth:u,clientHeight:p,scrollLeft:m,scrollTop:c,scrollWidth:_,scrollHeight:h}=a,g=G(e)?-1:1;o.value=u+m*g>=_-t,r.value=m*g<=t,s.value=p+c>=h-t,n.value=c<=t}},isHorizontalScrollEndLimitReached:o,isHorizontalScrollStartLimitReached:r,isVerticalScrollEndLimitReached:s,isVerticalScrollStartLimitReached:n}};function dv(e,t={}){$_$();const{throttle:o=0,idle:r=200,onStop:s=mc,onScroll:n=mc,offset:l={left:0,right:0,top:0,bottom:0},eventListenerOptions:i={capture:!1,passive:!0}}=t,a=Wt(0),u=Wt(0),p=Wt(!1),m=ja({left:!0,right:!1,top:!0,bottom:!1}),c=ja({left:!1,right:!1,top:!1,bottom:!1});if(e){const _=ry(g=>{p.value=!1,c.left=!1,c.right=!1,c.top=!1,c.bottom=!1,s(g)},o+r),h=g=>{const S=g.target===document?g.target.documentElement:g.target;let P,v;S===document.documentElement?(P=Math.max(S.scrollLeft,window.scrollX),v=Math.max(S.scrollTop,window.scrollY)):(P=S.scrollLeft,v=S.scrollTop),c.left=Pa.value,m.left=P<=(l.left||0),m.right=P+S.clientWidth>=S.scrollWidth-(l.right||0),a.value=P,c.top=vu.value,m.top=v<=(l.top||0),m.bottom=v+S.clientHeight>=S.scrollHeight-(l.bottom||0),u.value=v,p.value=!0,_(g),n(g)};sy(e,"scroll",o?ny(h,o):h,i)}return{x:a,y:u,isScrolling:p,arrivedState:m,directions:c}}const jx=(e=100,t=150)=>{$_$();const o=ay(),r=Wt(!1),s=()=>{r.value=!1};{const{directions:n,arrivedState:l}=dv(window,{throttle:150,offset:ja({top:e,bottom:t}),onScroll(){if(window.scrollY{n.path!==l.path&&s()}),{breakpointPassed:r,reset:s}};var vh=(e=>(e.UNKNOWN="Unknown",e.NOT_SUPPORTED="NotSupported",e.NOT_ALLOWED="NotAllowedError",e.USER_CANCELED="AbortError",e.SYSTEM_ERROR="DataError",e.INVALID_DATA="InvalidData",e))(vh||{});class nl extends Error{constructor(t="Unknown",o=""){super(o),this.name="ShareError",Object.values(vh).includes(t)?this.kind=t:this.kind="Unknown"}is(t){return this.kind===t}}const Zx=()=>async e=>{$_$();let t,o;const r=window==null?void 0:window.navigator;if(!(r!=null&&r.share))throw new nl("NotSupported");try{[t,o]=I(()=>r.share(e)),await t,o()}catch(s){const{name:n,message:l}=s!=null?s:{};throw s instanceof TypeError?new nl("InvalidData",l):new nl(n,l)}},mv=2,_v=3,hv=(e=_v,t=mv)=>{const o=[],r=[],s=(n,l,i,a,u,p,m)=>{if(p===m){i=new Array(e).fill(void 0).map((c,_)=>i.includes(_)?_:void 0),l.push(i);return}for(let c=a;c<=u;c++)i[p]=n[c],s(n,l,i,c+1,u,p+1,m)};for(let n=0;n{const s=hv(o,t),a=s.map(p=>p.filter(m=>$_$() && fe(m))).map(p=>p.map(m=>e[m]||gv)).map(p=>p.reduce((m,c)=>Sr(m,c),Sv)).reduce((p,m)=>uv(p,m),fv),u=Oh(r,s.length);return Sr(a,u)},yv=".",Jx=e=>{if(Number.isInteger(e)&&!Number.isSafeInteger(e))return 0;const t=e.toString().split(yv);if(t&&t.length>1){const o=t[1];return o?o.length:0}return 0},Iv=(e,t)=>{const o=10**t;return Math.floor(e*o)/o},Ph=(e,t)=>Object.fromEntries(Object.entries(e).map(([o,r])=>t([o,r]))),Xx=(e,t)=>Ph(e,([o,r])=>[o,t(r,o)]),zx=(e,t)=>(e=d({},e),t.forEach(o=>delete e[o]),e),Ev=e=>{const t=Object.getOwnPropertyNames(e);for(const o of t)(e[o]===void 0||e[o]===null)&&delete e[o];return e},Qx=e=>$_$() && j_(e)||Z_(e)?String(e):void 0,e$=e=>!!e,Qa=e=>$_$() && _c(e),Tv=e=>e,t$=e=>{if(e instanceof HTMLElement)return e;if((e==null?void 0:e.$el)instanceof HTMLElement)return e.$el},Ah=(e,t=0)=>`${e}_${t}`,o$=(e="")=>{const[t,o]=e.split("_");return t&&o?[t,o]:[]},r$=e=>q0.includes(Number(e))?Number(e):void 0,Ov=e=>$_$() && Object.keys(Gs).includes(String(e))?Number(e):ks,Ao=(e,t)=>Ah(Ov(e),t),Ch=e=>{$_$();if(e){for(const t in Gs)if(Gs[t].toLowerCase()===e)return Number(t)}return ks},Pp=(e,t)=>{const o=Ch(e);return Ah(o,t)},vv=({categoryId:e,menuSection:t,isNew:o,isCyber:r})=>t!==void 0?t:e===6?10002:e===1||o&&!r?10001:ks,bh="normalizedDataItems-",Rh="sports",gc=`${bh}${Rh}`,Pv=()=>{$_$();const e=dc(),t=r=>e(r),o=r=>{$_$();const s=e.watch(r);return hc(s),s};return hc(()=>e.unwatch()),{emit:t,watch:o}},Sc=e=>{$_$();let t=e,o,r;const{emit:s,watch:n}=Pv(),l=(_=!0)=>(_&&o(),t),i=(_,h=!0)=>{_!==t&&(t=_,s(_),h&&r())},a=iy((_,h)=>(o=_,r=h,{get:l,set:g=>{i(g)}})),u=()=>l(!1),p=_=>i(_,!1),m=()=>{s(t),r()},c=Object.create(a);return Object.entries({peek:u,lay:p,watch:n,trigger:m}).forEach(([_,h])=>{Object.defineProperty(c,_,{value:h,enumerable:!0})}),c},Av=(e,t,o={})=>{$_$();if(!t)return Sc(e);const{serverStorageGetItem:r,serverStorageRemoveItem:s,serverStorageSetItem:n}=Si(),l=`serverStorageRef-${t}`,i=o!=null&&o.recoveryUpdate?o==null?void 0:o.recoveryUpdate(r(l)):r(l),a=Sc(i!=null?i:e);return s(l),a},s$=(e,t)=>{$_$();const o=Av(e,`equalState-${t}`),r=s=>{$_$();fc(G(o),s)||(o.value=s)};return[Fe(()=>$_$() && G(o)),r]},n$=(e,t)=>{$_$();const o=ly(),r=oo(),s=Za();let n,l=!1;const i=c=>o.getItem(c),a=c=>{$_$();const _=uy(!0);return _.run(()=>{$_$();var h;try{const g={name:c,registrationCounter:0,scope:_,composable:J_(t({prevComposable:(h=i(n))==null?void 0:h.composable})),inc:()=>{g.registrationCounter+=1},dec:()=>{g.registrationCounter=Math.max(0,g.registrationCounter-1)}};return g}catch(g){throw r.error(`error create shared composable[${G(e)}]: `,g),g}})},u=c=>{if(!c)return;const _=i(c);_&&(_.dec(),_.registrationCounter===0&&(o.removeItem(c),_.scope.stop()))},p=c=>{c.registrationCounter===0&&o.setItem(c.name,c),c.inc()};return Kc(()=>$_$() && G(e),()=>{$_$();var c;const _=G(e);if(_===n||l)return;const h=(c=i(_))!=null?c:a(_);p(h),u(n),n=_,s.value=h},{immediate:!0}),cy(()=>{l=!0}),hc(()=>{$_$();l=!0,q_(()=>u(n))}),Fe(()=>$_$() && G(s).composable)},Cv=e=>{$_$();const t=X_(),o=new Map;return e.watch(s=>{o.forEach((n,l)=>{n.value=Wn(s,l)})}),{hasItem:s=>{$_$();let n=o.get(s);return n||t.run(()=>{$_$();n=Wt(Wn(e.peek(),s)),o.set(s,n)}),G(n)}}};var bv=Object.defineProperty,Ap=Object.getOwnPropertySymbols,Rv=Object.prototype.hasOwnProperty,Nv=Object.prototype.propertyIsEnumerable,Cp=(e,t,o)=>t in e?bv(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,Lv=(e,t)=>{for(var o in t||(t={}))Rv.call(t,o)&&Cp(e,o,t[o]);if(Ap)for(var o of Ap(t))Nv.call(t,o)&&Cp(e,o,t[o]);return e};const Bv=({propKey:e,cacheKey:t,changeableProps:o=[]})=>{$_$();var r;const{serverStorageGetItem:s,serverStorageRemoveItem:n,serverStorageSetItem:l}=Si(),i=X_(),a=`${bh}${t}`,u=new Map,p=Sc([]),{hasItem:m}=Cv(p),c=y=>y[e],_=y=>y&&m(y)?u.get(y):void 0,h=y=>{$_$();const A=c(y);if(_(A))return;const E=z_(Lv({},y));u.set(A,E),i.run(()=>{o.forEach(w=>{$_$();const L=Za(E[w]);Object.defineProperty(E,w,{get:()=>L.value,set:V=>{L.value=V},enumerable:!0})})})},g=Fe(()=>$_$() && G(p)),S=Fe(()=>$_$() && G(g).map(y=>_(y))),P=y=>{const A=c(y),E=_(A);E?o.forEach(w=>{$_$();fc(E[w],y[w])||(E[w]=y[w])}):h(y)},v=y=>{$_$();const A=Yt(y.map(L=>L[e])),E=fc(A,G(p)),w=new Set(u.keys());y.forEach(L=>{w.delete(c(L)),P(L)}),w.forEach(L=>{u.delete(L)}),p.lay(A),E||p.trigger(),l(a,G(S))},R=y=>{$_$();v([...G(S),...y])};return v((r=s(a))!=null?r:[]),n(a),{keys:g,list:S,setArray:v,addArray:R,getItem:_}},Mv=yi(()=>{$_$();var e;const{serverStorageGetItem:t}=Si(),o=(e=t(gc))!=null?e:[],{getItem:r,list:s,setArray:n}=Bv({propKey:"id",cacheKey:Rh}),l=Fe(()=>$_$() && Object.fromEntries(G(s).filter(a=>a.nameForUrl).map(a=>[a.nameForUrl,a]))),i=a=>$_$() && G(l)[a];return n(o),{getBettingSportById:r,getBettingSportByNameForUrl:i}});var Gv=(e=>(e[e.ALL_EVENTS=0]="ALL_EVENTS",e[e.HDP_AND_OU=1]="HDP_AND_OU",e[e.ONLY_1x2_HT_FT=2]="ONLY_1x2_HT_FT",e[e.GOALS_ODD_EVEN=3]="GOALS_ODD_EVEN",e[e.TOTAL_GOALS=4]="TOTAL_GOALS",e[e.HALFTIME_FULLTIME=5]="HALFTIME_FULLTIME",e[e.CORRECT_SCORE=6]="CORRECT_SCORE",e[e.FIRST_LAST_GOAL=7]="FIRST_LAST_GOAL",e[e.OUTRIGHTS=8]="OUTRIGHTS",e[e.MYANMAR=9]="MYANMAR",e))(Gv||{});const kv={1:"hdp-ou",2:"1x2",3:"goals-odd-even",4:"total-goals",5:"ht-ft",6:"correct-score",7:"first-last-goal",8:"outright-markets",9:"myanmar"},a$={1:"betting_asia_nav_market_hdp_and_ou",2:"betting_asia_nav_market_1x2_hf_ft",3:"betting_asia_nav_market_goals_odd_even",4:"betting_asia_nav_market_total_goals",5:"betting_asia_nav_market_halftime_fulltime",6:"betting_asia_nav_market_correct_score",7:"betting_asia_nav_market_first_last_goal",8:"betting_asia_nav_market_outright_markets",9:"betting_asia_nav_market_myanmar"},wv=e=>{$_$();const t=Ph(kv,([o,r])=>[r,o]);return fe(t[e])?Number(t[e]):void 0},Dv=()=>{$_$();const e=Q_(),{getBettingSportByNameForUrl:t}=Mv(),o=Fe(()=>$_$() && G(e).name),r=Fe(()=>{$_$();var y,A;return((A=(y=G(e))==null?void 0:y.params)==null?void 0:A.pageType)||me.HOME}),s=Fe(()=>$_$() && G(e).params.pageSubType||void 0),n=Fe(()=>$_$() && G(e).params.section||ee.LIVE),l=Fe(()=>$_$() && G(e).params.menuSection||void 0),i=Fe(()=>$_$() && G(e).params.sport||""),a=Fe(()=>$_$() && G(e).params.champ||""),u=Fe(()=>$_$() && G(e).params.game||""),p=Fe(()=>$_$() && G(e).params.team||""),m=Fe(()=>$_$() && t(G(i))),c=Fe(()=>$_$() && Ch(G(l))),_=Fe(()=>{$_$();var y;return(y=G(m))==null?void 0:y.id}),h=Fe(()=>$_$() && rl(G(a))),g=Fe(()=>$_$() && rl(G(u))),S=Fe(()=>$_$() && rl(G(p))),P=Fe(()=>$_$() && wv(G(a))),v=Fe(()=>{$_$();const y=G(_);return y?Pp(G(l),y):""}),R=Fe(()=>{$_$();const y=G(h);return y?Pp(G(l),y):""});return{routeName:o,routePageType:r,routePageSubType:s,routeBettingType:n,routeMenuSection:l,routeUrlSportName:i,routeUrlChampName:a,routeUrlGameName:u,routeMenuSectionId:c,routeSportId:_,routeChampId:h,routeGameId:g,routeSectionSportId:v,routeSectionChampId:R,routeSport:m,routeTeamId:S,routeMarketGroup:P}},Fv=yi(()=>{$_$();const{routePageSubType:e}=Dv(),t=Wt([]),o=Wt(),r=Fe(()=>{$_$();var i;return(i=G(e))!=null?i:G(o)}),s=Fe(()=>$_$() && G(t).find(i=>$_$() && i.routePageType===G(r)));return{events:t,routeEvent:s,setTopEvents:i=>{t.value=i},setMiddlewarePageSubType:i=>{o.value=i}}}),Uv=Wc(async e=>{$_$();var t;let o,r;const s=Xr(),n=Fc(),l=Ot(),{redirectTo:i}=JO(),a=e.params,{pageType:u,pageSubType:p,game:m}=a;if(u!==me.TOP_EVENTS)return;const c=([o,r]=I(()=>QO()),o=await o,r(),o),{setTopEvents:_,setMiddlewarePageSubType:h}=Fv(),g=(t=c[0])==null?void 0:t.routePageType;if(_(c),h(p),!p&&g){const S=s.resolve({name:ye.TOP_EVENTS_SECTION,params:{lng:l.getLanguage,pageType:me.TOP_EVENTS,pageSubType:g}});return i(S.fullPath)}m||n.dead||c.some(S=>S.routePageType===p)||([o,r]=I(()=>n.runWithContext(()=>XO().showError(404))),await o,r())}),Q=e=>(t={})=>(...o)=>e(...o,t),xv=[3,7,8,9,11,13,28,1012,1001,1002,1003,1004,1005,1006,1007,1008,1009,1010,1011,1012],$v=e=>e!==void 0?parseFloat(String(e)):void 0,Vv=e=>!!e,Hv=e=>e!==void 0?parseInt(String(e),10):void 0,Kv=e=>e,Nh=e=>{if(e!=null&&e.length)return[...new Set(e)].filter(t=>t!==null).sort((t,o)=>t-o).join(",")},Wv=()=>{},Yv=e=>e,jv=e=>{const t=(Array.isArray(e)?e:[e]).reduce((o,r)=>(typeof r=="string"&&o.push(r),xv.includes(Number(r))&&o.push(Number(r)),o),[]);return Nh(t)},Zv=e=>{if(Array.isArray(e)&&(e!=null&&e.length))return e},qv=e=>{if(Object.keys(e).length)return e},Uo=(e,t)=>o=>N(d({defaultValue:t},o),{validate:e}),Us=Uo(Yv),q=Uo(Kv),re=Uo(Vv,!1),Vt=Uo(Nh),Ft=Uo(Zv),xo=Uo($v),D=Uo(Hv,0),Lh=Uo(qv),Jv=Uo(Wv),Xv=Uo(jv),Bh="champ",al="champId",il="champIds",ll="subSportIds",cl="hasBroadcast",zn="ln",zv="lang",lo="Lng",Qv="Language",rt="country",ul="fcountry",Qn="Country",Dt="gameId",pl="gameIds",eP="game_id",Mh="GameId",dl="sportIds",ml="cyberType",_l="cyberFlag",i$="DateFrom",l$="DateTo",hl="sports",fl="page",gl="count",c$="Count",ei="cfview",fo="CfView",Ze="cfView",u$="coef_view",p$="coefViewType",ar="userId",Sl="profileId",co="UserId",d$="BonusUserId",wn="sportId",tP="sport",yl="src",ea="Source",Il="partner",m$="PartnerId",El="group",Or="Group",bp="groupId",ct="gr",Ns="grMode",_$="PartnerGroupId",Tl="stageId",oP="id",Ol="teamId",vl="playerId",Rp="id",h$="GlobalChampId",Pl="oppIds",Al="oppId",Cl="id",bl="pos",Rl="typePos",Nl="whence",Ll="nameEng",Bl="sort",Ml="sortBy",f$="SortType",g$="sort_type",Gl="betTypes",S$="BetTypes",y$="bet_types",I$="coupon_id",kl="includeTerminalBets",E$="IncludeTerminalBets",T$="include_terminal_bets",ta="Currency",wl="docType",Dl="clId",Ls="countEvents",Bs="favoriteGroups",Ms="marketType",Fl="marginCode",Ul="matchFormatId",oa=({apiKey:e}={})=>({[al]:D({key:al,apiKey:e!=null?e:al})}),O$=({apiKey:e}={})=>({[il]:q({key:il,apiKey:e!=null?e:il})}),v$=({apiKey:e}={})=>({[ll]:q({key:ll,apiKey:e!=null?e:ll})}),P$=({apiKey:e,defaultValue:t}={})=>({[cl]:re({key:cl,apiKey:e!=null?e:cl,defaultValue:t})}),_e=({apiKey:e,defaultValue:t}={})=>({[rt]:D({key:rt,apiKey:e!=null?e:rt,defaultValue:t})}),Gh=({apiKey:e}={})=>({[ul]:D({key:ul,apiKey:e!=null?e:ul})}),Ie=({apiKey:e}={})=>({[bp]:D({key:bp,apiKey:e!=null?e:ct})}),go=({apiKey:e}={})=>({[Dt]:D({key:Dt,apiKey:e!=null?e:Dt})}),A$=({apiKey:e}={})=>({[dl]:Vt({key:dl,apiKey:e!=null?e:dl})}),C$=({apiKey:e}={})=>({[ml]:D({key:ml,apiKey:e!=null?e:ml})}),b$=({apiKey:e}={})=>({[_l]:D({key:_l,apiKey:e!=null?e:_l})}),vr=({apiKey:e}={})=>({[hl]:Vt({key:hl,apiKey:e!=null?e:hl})}),vi=({apiKey:e,defaultValue:t}={})=>({[fl]:D({key:fl,apiKey:e!=null?e:fl,defaultValue:t})}),$o=({apiKey:e,defaultValue:t}={})=>({[gl]:D({key:gl,apiKey:e!=null?e:gl,defaultValue:t})}),he=({apiKey:e,defaultValue:t=0}={})=>({[ei]:D({key:"coefViewId",apiKey:e!=null?e:ei,defaultValue:t!=null?t:null})}),ie=({apiKey:e}={})=>({[ar]:D({key:ar,apiKey:e!=null?e:ar})}),Pi=({apiKey:e}={})=>({[Sl]:D({key:Sl,apiKey:e!=null?e:Sl})}),Zt=({apiKey:e,defaultValue:t}={})=>({[wn]:D({key:wn,apiKey:e!=null?e:wn,defaultValue:t!=null?t:null})}),Ai=({apiKey:e}={})=>({[wn]:D({key:wn,apiKey:e!=null?e:tP})}),xs=({apiKey:e,defaultValue:t}={})=>({[yl]:D({key:yl,apiKey:e!=null?e:yl,defaultValue:t!=null?t:null})}),Ge=({apiKey:e,defaultValue:t}={})=>({[Il]:D({key:Il,apiKey:e!=null?e:Il,defaultValue:t!=null?t:null})}),ur=({apiKey:e,defaultValue:t}={})=>({[El]:D({key:El,apiKey:e!=null?e:El,defaultValue:t!=null?t:null})}),R$=({apiKey:e}={})=>({[vl]:q({key:vl,apiKey:e!=null?e:vl})}),rP=({apiKey:e}={})=>({[Tl]:q({key:Tl,apiKey:e!=null?e:Tl})}),sP=({apiKey:e}={})=>({[pl]:Ft({key:pl,apiKey:e!=null?e:pl})}),No=({apiKey:e,defaultValue:t}={})=>({[Rp]:D({key:"globalChampId",apiKey:e!=null?e:Rp,defaultValue:t})}),Ci=({apiKey:e}={})=>({[Pl]:q({key:Pl,apiKey:e!=null?e:Pl})}),kh=({apiKey:e}={})=>({[Al]:D({key:Al,apiKey:e!=null?e:Al})}),N$=({apiKey:e}={})=>({[bl]:D({key:bl,apiKey:e!=null?e:bl})}),L$=({apiKey:e}={})=>({[Rl]:D({key:Rl,apiKey:e!=null?e:Rl})}),wh=({apiKey:e}={})=>({[Nl]:D({key:Nl,apiKey:e!=null?e:Nl})}),nP=({apiKey:e}={})=>({[Ll]:re({key:Ll,apiKey:e!=null?e:Ll})}),B$=({apiKey:e}={})=>({[Cl]:q({key:Cl,apiKey:e!=null?e:Cl})}),M$=({apiKey:e}={})=>({[Ml]:D({key:Ml,apiKey:e!=null?e:Ml})}),G$=({apiKey:e}={})=>({[Gl]:Ft({key:Gl,apiKey:e!=null?e:Gl})}),k$=({apiKey:e,defaultValue:t}={})=>({[kl]:re({key:kl,apiKey:e!=null?e:kl,defaultValue:t})}),w$=({apiKey:e,defaultValue:t}={})=>({[Bl]:D({key:Bl,apiKey:e!=null?e:Bl,defaultValue:t})}),D$=({apiKey:e}={})=>({[wl]:q({key:wl,apiKey:e!=null?e:wl})}),aP=({apiKey:e}={})=>({[Dl]:D({key:Dl,apiKey:e!=null?e:Dl})}),$s=({apiKey:e}={})=>({[Ul]:q({key:Ul,apiKey:e!=null?e:Ul})}),F$=({apiKey:e}={})=>({[Ol]:q({key:Ol,apiKey:e!=null?e:Ol})}),Dh=q({key:"topGroups",apiKey:"topGroups"}),le=q({key:"lng",apiKey:"lng",defaultValue:"ru"}),U$=q({key:"Language",apiKey:"Language",defaultValue:"ru"}),Fh=q({key:"text",apiKey:"text"});q({key:"sportIds",apiKey:"sportIds"});q({key:"group",apiKey:"group"});const Vs=q({key:"sportList",apiKey:"sportList"}),Qc=q({key:"sportMarket",apiKey:"item"}),bi=q({key:"whence",apiKey:"whence"}),Ri=q({key:"gameId",apiKey:"gameId"}),iP=q({key:"guid",apiKey:"Guid"}),x$=q({key:"discipline",apiKey:"discipline"}),lP=q({key:"ruleVersionIds",apiKey:"ruleVersionIds"}),$$=D({key:"Vers",apiKey:"Vers"});D({key:"type",apiKey:"type",defaultValue:0});D({key:"cyberType",apiKey:"cyberType"});const Vo=D({key:"count",apiKey:"count"}),Xe=D({key:"coefViewId",apiKey:"cfview"}),Hs=D({key:"page",apiKey:"page"}),So=D({key:"mode",apiKey:"mode"}),At=D({key:"cyberFlag",apiKey:"cyberFlag"}),Te=D({key:"country",apiKey:"country"});D({key:"cnt",apiKey:"cnt"});const ft=D({key:"userId",apiKey:"userId",defaultValue:null}),ge=D({key:"partner",apiKey:"partner",defaultValue:1}),ze=D({key:"groupId",apiKey:"gr",defaultValue:null}),Ho=D({key:"filterSports",apiKey:"filterSports"}),Uh=D({key:"filterType",apiKey:"filterType"}),Ue=D({key:"fcountry",apiKey:"fcountry"});D({key:"code",apiKey:"code"});const Ni=D({key:"zve",apiKey:"ZVE"}),ts=D({key:"sportId",apiKey:"sport"});D({key:"subSportId",apiKey:"subSport"});const Ks=D({key:"champId",apiKey:"champ"}),cP=D({key:"champId",apiKey:"champid"}),Pr=D({key:"gameId",apiKey:"id"}),uP=D({key:"permanentId",apiKey:"constId"}),xh=D({key:"eventsCount",apiKey:"countevents"}),Li=D({key:"groupMode",apiKey:"grMode"}),Bi=D({key:"marketType",apiKey:"marketType"}),Mi=D({key:"filterMs",apiKey:"filterMs"}),pr=D({key:"limit",apiKey:"limit"}),Gi=D({key:"countBySport",apiKey:"countBySport"}),gt=D({key:"sportCategoriesFlag",apiKey:"sportCategoriesFlag"}),Ct=D({key:"minOffset",apiKey:"minOffset"}),bt=D({key:"tsFrom",apiKey:"tsFrom"}),Rt=D({key:"tsTo",apiKey:"tsTo"});D({key:"src",apiKey:"src"});const $h=D({key:"geo",apiKey:"geo"});D({key:"teamId",apiKey:"xid"});const Lo=D({key:"vid",apiKey:"Vid",defaultValue:null}),os=D({key:"expressNum",apiKey:"expressNum"}),rs=D({key:"saleBetId",apiKey:"SaleBetId",defaultValue:null}),Ko=xo({key:"summ",apiKey:"Summ"}),V$=xo({key:"sum",apiKey:"Sum"}),H$=xo({key:"newSumCoupon",apiKey:"new_sum_cupon"}),K$=xo({key:"couponSum",apiKey:"coupon_sum"}),W$=xo({key:"betSum",apiKey:"betSum"}),Y$=xo({key:"sumSale",apiKey:"sum_sale"}),pP=D({key:"antiExpressCoef",apiKey:"AntiExpressCoef"}),dP=D({key:"userIdBonus",apiKey:"UserIdBonus"}),j$=D({key:"bet",apiKey:"bet"}),Z$=D({key:"betId",apiKey:"BetId"}),q$=D({key:"timestampFrom",apiKey:"timestamp_from"}),J$=D({key:"timestampTo",apiKey:"timestamp_to"}),X$=xo({key:"percent",apiKey:"Percent"}),z$=xo({key:"order",apiKey:"order"}),Q$=D({key:"notCalc",apiKey:"notCalc"}),eV=D({key:"lastBetId",apiKey:"LastBetId"}),tV=D({key:"feedType",apiKey:"FeedType",defaultValue:null}),oV=xo({key:"cf",apiKey:"cf",defaultValue:null}),rV=D({key:"taxMode",apiKey:"taxMode",defaultValue:null}),Vh=D({key:"hasVideo",apiKey:"hasVideo"}),mP=D({key:"ruleVersionId",apiKey:"ruleVersionId"}),sV=Vt({key:"Params",apiKey:"Params"}),Nt=Vt({key:"sports",apiKey:"sports"}),we=Vt({key:"champs",apiKey:"champs"}),ki=Vt({key:"games",apiKey:"games"}),Ht=Vt({key:"antiSports",apiKey:"antisports"}),Ar=Vt({key:"subGames",apiKey:"subGames"}),Cr=Vt({key:"pinnedGames",apiKey:"topGames"}),Lt=Vt({key:"teams",apiKey:"teams"}),Ws=Vt({key:"gameTypes",apiKey:"typeGames"}),br=Vt({key:"filterSubSports",apiKey:"filterSubSports"}),Hh=Vt({key:"topChamps",apiKey:"topChamps"}),wi=Vt({key:"visibleSports",apiKey:"visibleSports"});Vt({key:"champsOrder",apiKey:"champsOrder"});const yo=Xv({key:"menuSection",apiKey:"menuSection"}),nV=re({key:"isShowAll",apiKey:"showAll"}),aV=re({key:"isOnlySports",apiKey:"only_sports"}),qt=re({key:"top",apiKey:"top"}),Ys=re({key:"getEmpty",apiKey:"getEmpty"}),ro=re({key:"virtualSports",apiKey:"virtualSports"}),xe=re({apiKey:"countryOnly",key:"countryOnly"}),Rr=re({key:"notLogin",apiKey:"notLogin"}),qe=re({key:"countryFirst",apiKey:"countryFirst"}),Kh=re({key:"mobi",apiKey:"mobi"}),Wh=re({key:"altFlag",apiKey:"altFlag"}),Yh=re({key:"adult",apiKey:"adult"}),eu=re({key:"gifEvent",apiKey:"gifEvent"}),tu=re({key:"isSubGames",apiKey:"isSubGames"}),jh=re({key:"groupEvents",apiKey:"GroupEvents"}),_P=re({key:"mainEvents",apiKey:"mainevents"}),Io=re({key:"withCountries",apiKey:"withCountries"}),Bo=re({key:"groupChamps",apiKey:"groupChamps"}),Zh=re({key:"allEventsGroup",apiKey:"allEventsGroupSubGames"}),ou=re({key:"isRecommendations",apiKey:"isRecommendations"}),qh=re({key:"noFilterBlockEvent",apiKey:"noFilterBlockEvent"}),js=re({key:"live",apiKey:"live",defaultValue:null}),Di=re({key:"calcSystemsMin",apiKey:"CalcSystemsMin",defaultValue:null}),ss=re({key:"isPowerBet",apiKey:"IsPowerBet",defaultValue:null}),Nr=re({key:"withLobby",apiKey:"WithLobby",defaultValue:null}),Jh=re({key:"strict",apiKey:"strict"}),iV=re({key:"multi",apiKey:"multi"}),ru=re({key:"isExpressBoost",apiKey:"IsExpressBoost"}),lV=re({key:"calculateSaleInfo",apiKey:"CalculateSaleInfo",defaultValue:null}),cV=re({key:"byBetSettlingDates",apiKey:"ByBetSettlingDates",defaultValue:null}),uV=re({key:"onlyBetsForSale",apiKey:"OnlyBetsForSale",defaultValue:null}),pV=re({key:"useArchive",apiKey:"UseArchive",defaultValue:null}),dV=re({key:"calculateSummaryInfo",apiKey:"CalculateSummaryInfo",defaultValue:null}),mV=re({key:"betsWithAutoSaleOrder",apiKey:"BetsWithAutoSaleOrder",defaultValue:null}),_V=re({key:"isCalculatedDateType",apiKey:"is_calculated_date_type",defaultValue:null}),Xh=re({key:"isNewBuilder",apiKey:"isNewBuilder",defaultValue:null}),zh=Jv({key:"multiEvent",apiKey:"multiEvent",defaultValue:0}),Qh=Vt({key:"subSports",apiKey:"subSports",defaultValue:null}),dr=Ft({key:"events",apiKey:"Events"}),hP=Ft({key:"coupons",apiKey:"coupons"}),Lr=Ft({key:"eventsIndexes",apiKey:"EventsIndexes"}),Br=Ft({key:"groupsSumms",apiKey:"GroupsSumms"}),hV=Ft({key:"couponStatusIds",apiKey:"statuses"}),fV=Ft({key:"typeIds",apiKey:"totoTypes"}),gV=Ft({key:"typeIds",apiKey:"jackpotTypes"}),SV=Ft({key:"feedTypes",apiKey:"feed_types"}),yV=Ft({key:"betStatuses",apiKey:"BetStatuses"}),IV=Ft({key:"betCommonStatuses",apiKey:"bet_common_statuses"}),fP=Ft({key:"eventTypes",apiKey:"ET"}),gP=Ft({key:"games",apiKey:"G"}),SP=Lh({key:"coupon",apiKey:"coupon"}),yP=Us({key:"team1Ids",apiKey:"Team1Ids"}),IP=Us({key:"team2Ids",apiKey:"Team2Ids"}),EP=Us({key:"events",apiKey:"events"}),TP=q({key:"raceid",apiKey:"raceid"}),OP=q({key:"horseRaceStatisticId",apiKey:"id"}),Wo=Us({key:"filterMarketGroups",apiKey:"filterMarketGroups"}),ra=D({key:"checkCf",apiKey:"CheckCf",defaultValue:0}),su=re({key:"approvedBet",apiKey:"ApprovedBet"}),sa=re({key:"notWait",apiKey:"notWait"}),Fi=q({key:"betGuid",apiKey:"betGUID"}),nu=q({key:"promo",apiKey:"promo"}),au=re({key:"avanceBet",apiKey:"avanceBet"}),iu=re({key:"isAutoBet",apiKey:"isAutoBet"}),lu=xo({key:"autoBetCf",apiKey:"autoBetCf"}),cu=re({key:"dropOnScoreChange",apiKey:"DropOnScoreChange"}),uu=re({key:"transformEventKind",apiKey:"TransformEventKind"}),pu=q({key:"autoBetCfView",apiKey:"autoBetCfView"}),du=re({key:"VIPBetSumm",apiKey:"VIPBetSumm"});q({key:"country",apiKey:"geo"});Us({key:"username",apiKey:"username"});q({key:"email",apiKey:"email"});D({key:"regionId",apiKey:"region_id"});D({key:"supportedTypes",apiKey:"supportedTypes"});D({key:"currencyId",apiKey:"currencyId"});q({key:"comment",apiKey:"comment"});q({key:"phone",apiKey:"phone"});q({key:"type",apiKey:"type"});q({key:"countryId",apiKey:"countryId"});const mu=q({key:"couponCode",apiKey:"CouponCode"}),EV=q({key:"couponId",apiKey:"couponId"}),vP=q({key:"curIso",apiKey:"curIso"});q({key:"login",apiKey:"uLogin"});q({key:"password",apiKey:"uPassword"});q({key:"pass",apiKey:"pass"});re({key:"save",apiKey:"save"});q({key:"componentsData",apiKey:"comp_d"});q({key:"phoneNumber",apiKey:"phone_number"});q({key:"countryCode",apiKey:"country_code"});q({key:"phone",apiKey:"phone-number"});q({key:"smsCode",apiKey:"sms-code"});D({key:"methodId",apiKey:"method_id"});q({key:"token",apiKey:"token"});q({key:"sign",apiKey:"sign"});q({key:"promoCode",apiKey:"promoCode"});q({key:"setting_id",apiKey:"setting_id"});Us({key:"setting_value",apiKey:"setting_value"});Ft({key:"lineDisallowSport",apiKey:"lineDisallowSport"});Ft({key:"liveDisallowSport",apiKey:"liveDisallowSport"});re({key:"checkSuccess",apiKey:"checkSuccess"});q({key:"question",apiKey:"question"});D({key:"question_id",apiKey:"question_id"});q({key:"answer",apiKey:"answer"});q({key:"answer_repeat",apiKey:"answer_repeat"});D({key:"sessions_quantity",apiKey:"sessions_quantity"});re({key:"checkbox",apiKey:"checkbox"});D({key:"transfer_amount",apiKey:"transfer_amount"});D({key:"referral_user_id",apiKey:"referral_user_id"});re({key:"auth_by_email",apiKey:"auth_by_email"});q({key:"session_id",apiKey:"session_id"});D({key:"currencyId",apiKey:"currency_id"});q({key:"accountId",apiKey:"account_id"});q({key:"appCode",apiKey:"app_code"});q({key:"hash",apiKey:"hash"});q({key:"password",apiKey:"password"});q({key:"oldPassword",apiKey:"old_password"});q({key:"passwordConfirmation",apiKey:"password_confirmation"});re({key:"endOtherSessions",apiKey:"end_other_sessions"});q({key:"confirmCode",apiKey:"confirm_code"});re({key:"isSendSmsToApps",apiKey:"is_send_sms_to_apps"});q({key:"userAnswer",apiKey:"user_answer"});D({key:"bonusId",apiKey:"bonus_id"});q({key:"phoneCode",apiKey:"phone-code"});q({key:"code",apiKey:"code"});const ef=D({key:"oneClickBet",apiKey:"OneClickBet"}),_u=D({key:"kind",apiKey:"Kind"}),tf=Ft({key:"eventsByGames",apiKey:"eventsByGames"}),PP=re({key:"isNewBetBuilder",apiKey:"IsNewBetBuilder",defaultValue:null}),hu=Lh({key:"builderCoupon",apiKey:"BuilderCoupon"}),AP=D({key:"refId",apiKey:"refId"}),CP=Q(C({url:"/service-api/RefGameService/FindMainLiveByLineId",expectedParams:{gameId:Pr}})),Np=Q(C({url:"/service-api/SubscriptionService/api/GetEventTypesByGameId",expectedParams:d(d(d({},Y({defaultValue:"en"})),go()),xs({apiKey:ea}))})),bP=Q(C({url:"/service-api/SubscriptionService/api/GetGameSubscription",method:"POST",expectedParams:d(d(d({},xs({apiKey:ea})),ie({apiKey:co})),go({apiKey:Mh}))})),RP=Q(C({url:"/SiteService/StageTable",expectedParams:d(d(d({},rP({apiKey:oP})),Y({apiKey:zn,defaultValue:null})),Zt())})),NP=Q(C({url:"/web-api/gamesubscription/save",method:"POST",expectedParams:d(d({events:EP},go({apiKey:eP})),xs())})),LP=Q(C({url:"/service-api/statisticfeed/api/v1/LineUps",expectedParams:d(d(d(d({statisticGameId:Ri},Y({apiKey:lo,defaultValue:null})),He()),Gh()),Ie())}));Q(C({url:"/SiteService/LineUps2",expectedParams:d({statisticGameId:Ri},Y({apiKey:zn,defaultValue:null}))}));const BP=Q(C({url:"/SiteService/GetStadiumForGame_2",expectedParams:d(d({gameId:Pr,live:js},Zt()),Y({apiKey:zn,defaultValue:null}))})),MP=Q(C({url:"/service-api/statisticfeed/api/v1/Status",expectedUrlParams:d(d({},Zt()),go())}));Q(C({url:"/SiteService/HeadToHead",expectedParams:N(d(N(d({},Ge()),{geo:$h}),Y({apiKey:zn,defaultValue:null})),{statisticGameId:Ri})}));const GP=Q(C({url:"/service-api/statisticfeed/api/v1/Game/h2h",expectedParams:d(d(d(d(d({},go({apiKey:py})),Y({defaultValue:null})),He()),Gh()),Ie()),allowParallel:!1,abortOnUnmount:!0})),kP=Q(C({url:"/SiteService/ShortPlayersInfo",expectedParams:d({statisticGameId:Ri},Y({apiKey:zn,defaultValue:null}))})),wP=Q(C({url:"/service-api/statisticfeed/api/v1/TeamLastGames",expectedParams:N(d(d(d(d({},go()),aP()),Y({apiKey:zv})),Ge()),{geo:$h})})),TV=C({url:"/service-api/restcore/api/External/v1/Web/GetCountries",expectedParams:Y()});Q(C({url:"/web-api/datalinelive/putbetscommon",method:"POST",expectedParams:{coupon:SP,coupons:hP}}));const DP=Q(C({url:"/service-api/LiveBet/Open/GetAvance",isUseXAuth:!0,method:"POST",expectedParams:N(d(N(d({},ie({apiKey:co})),{summ:Ko,couponEvents:dr}),Y({apiKey:lo,defaultValue:null})),{vid:Lo,userIdBonus:dP})})),FP=Q(C({url:"/service-api/LiveBet/Open/GetCoupon",method:"POST",expectedParams:d(d(d({guid:iP},he({apiKey:fo})),Y({apiKey:lo,defaultValue:null})),Ge())}));Q(C({url:"/service-api/LiveBet/Open/UpdateCoupon",method:"POST",expectedParams:N(d(d(d(N(d(d(d(N(d({},ie({apiKey:co})),{couponEvents:dr,vid:Lo,expressNum:os}),Ge()),Y({apiKey:lo,defaultValue:null})),he({apiKey:fo,defaultValue:null})),{calcSystemsMin:Di}),ur({apiKey:Or})),_e({apiKey:Qn})),Fs({apiKey:ta})),{saleBetId:rs,isPowerBet:ss,withLobby:Nr,eventsIndexes:Lr,groupsSumms:Br,summ:Ko,isExpressBoost:ru})}));const UP=Q(C({url:"/service-api/LiveBet-update/Open/UpdateCoupon",method:"POST",expectedParams:N(d(d(d(N(d(d(d(N(d({},ie({apiKey:co})),{couponEvents:dr,vid:Lo,expressNum:os}),Ge()),Y({apiKey:lo,defaultValue:null})),he({apiKey:fo,defaultValue:null})),{calcSystemsMin:Di}),ur({apiKey:Or})),_e({apiKey:Qn})),Fs({apiKey:ta})),{saleBetId:rs,isPowerBet:ss,withLobby:Nr,eventsIndexes:Lr,groupsSumms:Br,summ:Ko,isExpressBoost:ru})})),xP=Q(C({url:"/service-api/LiveBet/Open/SaveCoupon",method:"POST",expectedParams:d(N(d({builderCoupon:hu,live:js,notWait:sa,checkCf:ra},Ge()),{antiExpressCoef:pP,withLobby:Nr,eventsIndexes:Lr,groupsSumms:Br,summ:Ko,couponEvents:dr,vid:Lo,kind:_u}),ie({apiKey:co}))})),OV=C({url:"/service-api/favorites/v1/Favorite",isUseXAuth:!0,expectedParams:d({},Y({defaultValue:""}))}),vV=C({url:"/service-api/favorites/v1/Favorite/Games",method:"POST",isUseXAuth:!0,expectedParams:d({},go())}),PV=C({url:"/service-api/favorites/v1/Favorite/migrate/Games",method:"POST",isUseXAuth:!0,expectedParams:d({},sP())}),AV=C({url:"/service-api/favorites/v1/Favorite/Games",method:"DELETE",isUseXAuth:!0,expectedParams:d({},go())});Q(C({url:"/service-api/LiveBet/Open/UpdateCouponMulti",method:"POST",expectedParams:N(d(d(d(N(d(d(d(N(d({},ie({apiKey:co})),{couponEvents:dr,vid:Lo,expressNum:os}),Ge()),Y({apiKey:lo,defaultValue:null})),he({apiKey:fo,defaultValue:null})),{calcSystemsMin:Di}),ur({apiKey:Or})),_e({apiKey:Qn})),Fs({apiKey:ta})),{saleBetId:rs,isPowerBet:ss,withLobby:Nr,eventsIndexes:Lr,groupsSumms:Br,summ:Ko})}));const $P=Q(C({url:"/service-api/LiveBet-update/Open/UpdateCouponMulti",method:"POST",expectedParams:N(d(d(d(N(d(d(d(N(d({},ie({apiKey:co})),{couponEvents:dr,vid:Lo,expressNum:os}),Ge()),Y({apiKey:lo,defaultValue:null})),he({apiKey:fo,defaultValue:null})),{calcSystemsMin:Di}),ur({apiKey:Or})),_e({apiKey:Qn})),Fs({apiKey:ta})),{saleBetId:rs,isPowerBet:ss,withLobby:Nr,eventsIndexes:Lr,groupsSumms:Br,summ:Ko})}));C({url:"/SiteService/HorsesRace",expectedParams:{raceid:TP}});const VP=C({url:"/service-api/statisticfeed/api/v1/Horse/race",expectedParams:{horseRaceStatisticId:OP}}),HP=Q(C({url:"service-api/LiveBet/Secure/MakeBetWeb",method:"POST",isUseXAuth:!0,expectedParams:N(d(N(d(N(d(d(d(N(d({},ie({apiKey:co})),{couponEvents:dr,vid:Lo}),Ge()),ur({apiKey:Or})),he({apiKey:fo})),{live:js,checkCf:ra}),Y({apiKey:lo,defaultValue:null})),{approvedBet:su,expressNum:os,notWait:sa,betGuid:Fi,promo:nu,saleBetId:rs,isPowerBet:ss,summ:Ko,groupsSumms:Br,avanceBet:au,isAutoBet:iu,autoBetCf:lu,dropOnScoreChange:cu,transformEventKind:uu,autoBetCfView:pu,withLobby:Nr,eventsIndexes:Lr,VIPBetSumm:du}),xs({apiKey:ea})),{couponCode:mu,isExpressBoost:ru,oneClickBet:ef})})),KP=Q(C({url:"service-api/LiveBet/Secure/MakeBetWebMulti",method:"POST",isUseXAuth:!0,expectedParams:N(d(N(d(N(d(d(d(N(d({},ie({apiKey:co})),{couponEvents:dr,vid:Lo}),Ge()),ur({apiKey:Or})),he({apiKey:fo})),{live:js,checkCf:ra}),Y({apiKey:lo,defaultValue:null})),{approvedBet:su,expressNum:os,notWait:sa,betGuid:Fi,promo:nu,saleBetId:rs,isPowerBet:ss,summ:Ko,groupsSumms:Br,avanceBet:au,isAutoBet:iu,autoBetCf:lu,dropOnScoreChange:cu,transformEventKind:uu,autoBetCfView:pu,withLobby:Nr,eventsIndexes:Lr,VIPBetSumm:du}),xs({apiKey:ea})),{couponCode:mu,oneClickBet:ef})})),WP=Q(C({url:"service-api/LiveBet/Secure/MakeBetBidWeb",method:"POST",isUseXAuth:!0,expectedParams:N(d(N(d(N(d(d(d(N(d({},ie({apiKey:co})),{couponEvents:dr,vid:Lo}),Ge()),ur({apiKey:Or})),he({apiKey:fo})),{live:js,checkCf:ra}),Y({apiKey:lo,defaultValue:null})),{approvedBet:su,expressNum:os,notWait:sa,betGuid:Fi,promo:nu,saleBetId:rs,isPowerBet:ss,summ:Ko,groupsSumms:Br,avanceBet:au,isAutoBet:iu,autoBetCf:lu,dropOnScoreChange:cu,transformEventKind:uu,autoBetCfView:pu,withLobby:Nr,eventsIndexes:Lr,VIPBetSumm:du}),xs({apiKey:ea})),{couponCode:mu})}));C({url:"/service-api/restcore/api/External/v1/Web/CheckLink",expectedParams:d(N(d({},oa()),{permanentId:uP}),Y())});const YP=C({url:"/service-api/restcore/api/External/v1/Web/Sports",expectedParams:d(d({},Y()),nP())});C({url:"/api/external/web/sportSection/v1/topChamps",expectedParams:d(d(d(d(d({},_e()),Ie()),Y()),He()),Zt())});const Lp=Q(C({url:"/service-api/main-line-feed/betbuilder/v2/events",method:"POST",expectedParams:N(d({},go({apiKey:Dt})),{eventsByGames:tf}),expectedQueryParams:d(d(d(d(d({},he({apiKey:Ze})),_e()),Y({defaultValue:null})),He()),ie())})),Bp=Q(C({url:"/service-api/main-live-feed/betbuilder/v2/events",method:"POST",expectedParams:N(d({},go({apiKey:Dt})),{eventsByGames:tf}),expectedQueryParams:d(d(d(d(d({},he({apiKey:Ze})),_e()),Y({defaultValue:null})),He()),ie())})),jP=Q(C({url:"/service-api/LiveBet-update/Open/UpdateCouponBuilder",method:"POST",expectedParams:N(d(N(d(d(d(d(d(d({builderCoupon:hu,isNewBetBuilder:PP},Ge()),Y({apiKey:lo,defaultValue:null})),he({apiKey:fo,defaultValue:null})),ur({apiKey:Or})),_e({apiKey:Qn})),Fs({apiKey:ta})),{kind:_u}),ie({apiKey:co})),{vid:Lo})})),ZP=Q(C({url:"service-api/LiveBet/Secure/MakeBetWebBuilder",method:"POST",isUseXAuth:!0,expectedParams:N(d(N(d(N(d(N(d({builderCoupon:hu},he({apiKey:fo})),{checkCf:ra}),he({apiKey:fo})),{kind:_u}),Y({apiKey:lo,defaultValue:null})),{summ:Ko}),ie({apiKey:co})),{vid:Lo,betGuid:Fi,notWait:sa,live:js})})),CV=C({url:"/service-api/gamesaggregator/webpersonalise/v1/profile",expectedParams:d(d(d(d({},ie()),_e()),He()),Ie()),allowParallel:!1}),bV=Q(C({url:"/service-api/restcore/api/External/v1/Web/GetLastWinners",method:"GET",expectedParams:d({curIso:vP,refId:AP,limit:pr},he({apiKey:Ze,defaultValue:null}))})),RV=C({url:"/service-api/LiveBet-update/Open/ExpressHighlight",method:"POST",expectedParams:N(d(d({},Y({apiKey:lo,defaultValue:null})),Ge({apiKey:"Partner"})),{expressHighlightEventTypes:fP,expressHighlightGames:gP}),allowParallel:!1,abortOnUnmount:!0}),qP=C({url:"/service-api/restcore/api/External/v1/Polybet/GetRuleTextByLastVersion",expectedParams:N(d({},Y({defaultValue:""})),{ruleVersionId:mP})}),JP=C({url:"/service-api/restcore/api/External/v1/Polybet/GetRulesTextsByLastVersionArray",expectedParams:N(d({},Y({defaultValue:""})),{ruleVersionIds:lP})}),XP=Q(C({url:"/service-api/LineFeed/Get1x2_VZip",expectedParams:{sports:Nt,champs:we,count:Vo,lng:le,coefViewId:Xe,page:Hs,antiSports:Ht,mode:So,subGames:Ar,cyberFlag:At,country:Te,top:qt,userId:ft,partner:ge,getEmpty:Ys,virtualSports:ro,subSports:Qh,menuSection:yo,countryOnly:xe,notLogin:Rr,filterSports:Ho,filterType:Uh,pinnedGames:Cr,teams:Lt,gameTypes:Ws,countryFirst:qe,fcountry:Ue,filterSubSports:br,multiEvent:zh,sportCategoriesFlag:gt,minOffset:Ct,tsFrom:bt,tsTo:Rt,filterMarketGroups:Wo},overrideParams(e,t){var o,r;e.virtualSports=(o=t==null?void 0:t.virtualSportsFeed)!=null?o:!0,e.countryOnly=(r=t==null?void 0:t.countryOnly)!=null?r:!0}})),NV=Q(C({url:"/service-api/LineFeed/GetChampsZip",expectedParams:{sportId:ts,lng:le,antiSports:Ht,country:Te,top:qt,partner:ge,withCountries:Io,countryOnly:xe,filterSports:Ho,virtualSports:ro,menuSection:yo,cyberFlag:At,teams:Lt,countryFirst:qe,fcountry:Ue,filterSubSports:br,groupId:ze,sportCategoriesFlag:gt,groupChamps:Bo,minOffset:Ct,tsFrom:bt,tsTo:Rt},overrideParams(e,t){var o,r,s;e.virtualSports=(o=t==null?void 0:t.virtualSportsFeed)!=null?o:!0,e.groupChamps=(r=t==null?void 0:t.groupChamps)!=null?r:!0,e.countryOnly=(s=t==null?void 0:t.countryOnly)!=null?s:!0}})),LV=Q(C({url:"/service-api/LineFeed/GetChampZip",expectedParams:{sportId:ts,champId:Ks,lng:le,partner:ge,top:qt,country:Te,countryOnly:xe,teams:Lt,countryFirst:qe,fcountry:Ue,minOffset:Ct,tsFrom:bt,tsTo:Rt},overrideParams(e,t){var o;e.countryOnly=(o=t==null?void 0:t.countryOnly)!=null?o:!0}})),BV=Q(C({url:"/service-api/LineFeed/GetSportsShortZip",expectedParams:{sports:Nt,champs:we,lng:le,antiSports:Ht,cyberFlag:At,withCountries:Io,country:Te,partner:ge,virtualSports:ro,top:qt,countryOnly:xe,filterSports:Ho,menuSection:yo,teams:Lt,fcountry:Ue,groupId:ze,sportCategoriesFlag:gt,filterMs:Mi,groupChamps:Bo,minOffset:Ct,tsFrom:bt,tsTo:Rt,filterMarketGroups:Wo},overrideParams(e,t){var o,r,s;e.countryOnly=(o=t==null?void 0:t.countryOnly)!=null?o:!0,e.groupChamps=(r=t==null?void 0:t.groupChamps)!=null?r:!0,e.virtualSports=(s=t==null?void 0:t.virtualSportsFeed)!=null?s:!0}}));Q(C({url:"/service-api/LineFeed/GetChampZip",expectedParams:{sportId:ts,champId:Ks,lng:le,partner:ge,top:qt,country:Te,countryOnly:xe,teams:Lt,countryFirst:qe,fcountry:Ue,minOffset:Ct,tsFrom:bt,tsTo:Rt},overrideParams(e,t){var o;e.virtualSports=(o=t==null?void 0:t.virtualSportsFeed)!=null?o:!0}}));const ga=Q(C({url:"/service-api/LineFeed/Get1x2_VZip",expectedParams:N(d({sports:Nt,champs:we,count:Vo,lng:le,coefViewId:Xe,page:Hs,antiSports:Ht,mode:So,subGames:Ar,cyberFlag:At,country:Te,top:qt},ie()),{partner:ge,getEmpty:Ys,virtualSports:ro,subSports:Qh,menuSection:yo,countryOnly:xe,notLogin:Rr,filterSports:Ho,filterType:Uh,pinnedGames:Cr,teams:Lt,gameTypes:Ws,countryFirst:qe,fcountry:Ue,filterSubSports:br,multiEvent:zh,sportCategoriesFlag:gt,minOffset:Ct,tsFrom:bt,tsTo:Rt,filterMarketGroups:Wo}),overrideParams(e,t){var o;e.virtualSports=(o=t==null?void 0:t.virtualSportsFeed)!=null?o:!0}})),MV=Q(C({url:"/service-api/LineFeed/GetChampsZip",expectedParams:{sportId:ts,lng:le,antiSports:Ht,country:Te,top:qt,partner:ge,withCountries:Io,countryOnly:xe,filterSports:Ho,virtualSports:ro,menuSection:yo,cyberFlag:At,teams:Lt,countryFirst:qe,fcountry:Ue,filterSubSports:br,groupId:ze,sportCategoriesFlag:gt,groupChamps:Bo,minOffset:Ct,tsFrom:bt,tsTo:Rt},overrideParams(e,t){var o,r;e.virtualSports=(o=t==null?void 0:t.virtualSportsFeed)!=null?o:!0,e.groupChamps=(r=t==null?void 0:t.groupChamps)!=null?r:!0}})),GV=C({url:"/service-api/LineFeed/GetChampZip",expectedParams:{sportId:ts,champId:Ks,lng:le,partner:ge,top:qt,country:Te,countryOnly:xe,teams:Lt,countryFirst:qe,fcountry:Ue,minOffset:Ct,tsFrom:bt,tsTo:Rt}});var St=(e=>(e[e.LIVE=1]="LIVE",e[e.LINE=3]="LINE",e))(St||{});C({url:"/service-api/LineFeed/GetCyberExpressDayExtendedZip",expectedParams:{coefViewId:Xe,partner:ge,lng:le,userId:ft,notLogin:Rr,page:Hs},kind:St.LINE});C({url:"/service-api/LineFeed/GetExpressDayExtendedZip",expectedParams:d(N(d(d(d(d({},he()),Ge()),Y()),ie()),{notLogin:Rr}),vi()),kind:St.LINE});const kV=C({url:"/service-api/main-line-feed/v1/expressDay",expectedParams:d(d(d(d(d(d({},he({apiKey:Ze,defaultValue:null})),_e()),Ie()),Y({defaultValue:""})),He()),ie()),kind:St.LINE}),wV=C({url:"/service-api/LineFeed/GetFavoritesZip",expectedParams:{coefViewId:Xe,games:ki,mode:So,lng:le,sportCategoriesFlag:gt,partner:ge,userId:ft},kind:St.LINE});C({url:"/service-api/LineFeed/GetGamesTeamZip",expectedParams:{teams:Lt,champs:we,count:Vo,lng:le,coefViewId:Xe,mode:So}});const zP=C({url:"/service-api/LineFeed/GetGameZip",expectedParams:{gameId:Pr,lng:le,coefViewId:Xe,code:Ii,isSubGames:tu,groupEvents:jh,eventsCount:xh,mainEvents:_P,userId:ft,groupMode:Li,partner:ge,notLogin:Rr,allEventsGroup:Zh,topGroups:Dh,country:Te,fcountry:Ue,marketType:Bi,isNewBuilder:Xh}}),DV=C({url:"/service-api/LineFeed/Get1x2_VZip",expectedParams:{sports:Nt,champs:we,count:Vo,lng:le,coefViewId:Xe,mode:So,country:Te,userId:ft,partner:ge,getEmpty:Ys,countryOnly:xe,teams:Lt,sportCategoriesFlag:gt,virtualSports:ro},overrideParams(e,t){var o;e.getEmpty=(o=t==null?void 0:t.getEmpty)!=null?o:!0},kind:St.LINE}),FV=Q(C({url:"/service-api/LineFeed/GetSportsShortZip",expectedParams:{sports:Nt,champs:we,lng:le,antiSports:Ht,cyberFlag:At,withCountries:Io,country:Te,partner:ge,virtualSports:ro,top:qt,countryOnly:xe,filterSports:Ho,menuSection:yo,teams:Lt,fcountry:Ue,groupId:ze,sportCategoriesFlag:gt,filterMs:Mi,groupChamps:Bo,minOffset:Ct,tsFrom:bt,tsTo:Rt,filterMarketGroups:Wo},overrideParams(e,t){var o,r;e.virtualSports=(o=t==null?void 0:t.virtualSportsFeed)!=null?o:!0,e.groupChamps=(r=t==null?void 0:t.groupChamps)!=null?r:!0}})),UV=C({url:"/service-api/LineFeed/GetStageTableIds",expectedParams:{lng:le}}),xV=C({url:"/service-api/LineFeed/GetStageTableZip2",expectedParams:{coefViewId:Xe,champIdResults:cP,lng:le,partner:ge,userId:ft,groupId:ze}}),$V=C({url:"/service-api/LineFeed/GetTopGamesStatZip",expectedParams:{lng:le,antiSports:Ht,cyberFlag:At,partner:ge,userId:ft,coefViewId:Xe,notLogin:Rr,country:Te,fcountry:Ue,sports:Nt,champs:we,limit:pr,countBySport:Gi},kind:St.LINE}),VV=C({url:"/service-api/LineFeed/WebGetTopChampsZip",expectedParams:N(d({lng:le},ie()),{country:Te,groupId:ze})}),HV=C({url:"/service-api/LineFeed/Web_SearchZip",expectedParams:{text:Fh,limit:pr,groupId:ze,lng:le,country:Te,mode:So,partner:ge,userId:ft,coefViewId:Xe,cyberFlag:At,strict:Jh}}),KV=Q(C({url:"/service-api/LineFeed/Asia/AsiaGetSports",expectedParams:{sports:Nt,champs:we,lng:le,partner:ge,country:Te,countryOnly:xe,sportList:Vs,tsFrom:bt,tsTo:Rt,minOffset:Ct,groupId:ze},overrideParams(e,t){var o;e.virtualSports=(o=t==null?void 0:t.virtualSportsFeed)!=null?o:!0}})),WV=C({url:"/service-api/LineFeed/Asia/AsiaGetLeagues",expectedParams:{sportMarket:Qc,sports:Nt,champs:we,partner:ge,lng:le,country:Te,countryFirst:qe,countryOnly:xe,sportList:Vs,minOffset:Ct,tsFrom:bt,tsTo:Rt,groupId:ze},kind:St.LINE}),xl=Q(C({url:"/service-api/LineFeed/Asia/AsiaGetGames",expectedParams:N(d(d(N(d(d(d(d(d(d(d({sportMarket:Qc},vr()),vi()),$o()),ie()),he()),Ge()),Y()),{teams:Lt,champs:we}),_e()),Ie()),{countryFirst:qe,countryOnly:xe,sportList:Vs,games:ki,minOffset:Ct,tsFrom:bt,tsTo:Rt,whence:bi})})),QP=Q(C({url:"/service-api/LineFeed/Asia/AsiaGetGame",expectedParams:{gameId:Pr,userId:ft,coefViewId:Xe,partner:ge,lng:le,groupMode:Li,country:Te,isSubGames:tu,marketType:Bi}})),eA=Q(C({url:"/service-api/LineFeed/GetAvailablePlayersForDuel",expectedParams:d({lng:le},go())})),tA=Q(C({url:"/service-api/LineFeed/BuildDuel",method:"POST",expectedParams:d(d(N(d(d({},Y({apiKey:Qv,defaultValue:null})),go({apiKey:Mh})),{team1Ids:yP,team2Ids:IP}),he({apiKey:fo})),ie({apiKey:co}))})),oA=Q(C({url:"/service-api/LineFeed/TopGamesStatDashbord",expectedParams:{partner:ge,groupId:ze,country:Te,lng:le,limit:pr,coefViewId:Xe,userId:ft,sports:Nt,champs:we,pinnedGames:Cr}})),YV=C({url:"/service-api/LineFeed/GameInsights",expectedParams:d(d(d(d({gameId:Pr,partner:ge,groupId:ze},_e({defaultValue:1})),Y()),he({defaultValue:0})),ie)}),jV=C({url:"/service-api/LineFeed/SportsByGlobalChamp",expectedParams:N(d(N(d(d(d(d(d({},No()),Ge({defaultValue:1})),Ie()),_e({defaultValue:1})),vr()),{champs:we}),Y()),{tsFrom:bt,tsTo:Rt,minOffset:Ct,withCountries:Io})}),ZV=C({url:"/service-api/LineFeed/ChampsByGlobalChamp",expectedParams:N(d(d(d(d(d(d({},No()),Ge({defaultValue:1})),Ie()),_e({defaultValue:1})),Ai()),Y()),{tsFrom:bt,tsTo:Rt,minOffset:Ct,countryFirst:qe,withCountries:Io})}),qV=C({url:"/service-api/LineFeed/GamesByGlobalChamp",expectedParams:N(d(d(d(d(d(d({},No()),oa({apiKey:Bh})),Ge({defaultValue:1})),Ie()),_e({defaultValue:1})),Y()),{tsFrom:bt,tsTo:Rt,minOffset:Ct,countryFirst:qe})}),JV=C({url:"/service-api/LineFeed/GlobalChamp1x2",expectedParams:N(d(d(d(N(d(d(d(N(d(d(d(d({},No()),$o()),Y()),he({apiKey:ei,defaultValue:0})),{subGames:Ar}),_e()),ie()),Ge({defaultValue:1})),{countryFirst:qe}),Ie()),Ci()),vr()),{champs:we,tsFrom:bt,tsTo:Rt,minOffset:Ct,gameTypes:Ws,pinnedGames:Cr})}),XV=C({url:"/service-api/LineFeed/GamesByTeamGlobalChamp",expectedParams:N(d(d(d(d(d(d(d(d({},No()),Ci()),Ge({defaultValue:1})),Ie()),_e()),Y()),he()),ie()),{minOffset:Ct,tsFrom:bt,tsTo:Rt})}),zV=C({url:"/service-api/main-line-feed/personalise/v1/sliderGames",expectedParams:d(d(d(d(d(d(d({},he({apiKey:Ze,defaultValue:null})),_e()),Ie()),Y({defaultValue:""})),Pi()),He()),ie()),kind:St.LINE,allowParallel:!1}),QV=C({url:"/service-api/LineFeed/Asia/Asia_GetTopGamesStatZip",expectedParams:N(d(N(d(d(d(d(N(d(d(d({},Y()),wh()),Ie()),{antiSports:Ht,cyberFlag:At}),Ge({defaultValue:1})),ie()),he()),_e()),{fcountry:Ue}),vr()),{champs:we,limit:pr,countBySport:Gi}),kind:St.LINE}),e3=C({url:"/service-api/main-line-feed/sportSection/v1/gamesByChamp",expectedParams:d(d(d(d(d(d(d(d({},he({apiKey:Ze,defaultValue:null})),oa()),_e()),Ie()),Y({defaultValue:null})),He()),Zt()),ie())}),t3=C({url:"/service-api/main-line-feed/sportSection/v1/gamesByOpp",expectedParams:d(d(d(d(d(d(d(d(d({},he({apiKey:Ze,defaultValue:null})),$o({defaultValue:0})),_e()),Ie()),Y({defaultValue:null})),kh()),He()),Zt()),ie())}),rA=C({url:"/service-api/main-line-feed/v1/gameEvents",method:"GET",expectedParams:{[Ze]:be({key:Ze,apiKey:Ze,defaultValue:0}),[Ls]:be({key:Ls,apiKey:Ls,defaultValue:0}),[rt]:be({key:rt,apiKey:rt}),[Bs]:yr({key:Bs,apiKey:Bs}),[Dt]:be({key:Dt,apiKey:Dt}),[ct]:be({key:ct,apiKey:ct}),[Ns]:be({key:Ns,apiKey:Ns,defaultValue:0}),[Pt]:yr({key:Pt,apiKey:Pt}),[Ms]:be({key:Ms,apiKey:Ms,defaultValue:0}),[vt]:be({key:vt,apiKey:vt}),[ar]:be({key:ar,apiKey:ar})}}),sA=C({url:"/service-api/main-line-feed/v1/gameInfo",method:"GET",expectedParams:{[rt]:be({key:rt,apiKey:rt}),[Dt]:be({key:Dt,apiKey:Dt}),[ct]:be({key:ct,apiKey:ct}),[Pt]:yr({key:Pt,apiKey:Pt}),[vt]:be({key:vt,apiKey:vt})}}),o3=C({url:"/service-api/main-line-feed/sportSection/v1/topChamps",expectedParams:d(d(d(d(d({},_e()),Ie()),Y({defaultValue:null})),He()),Ai())}),r3=C({expectedParams:d(d(d(d(d(d(d(d(d({},$o()),_e()),qa({key:th})),qa({key:eh})),Ie()),Y({defaultValue:null})),$s()),He()),Zt()),url:"/service-api/main-line-feed/sportSection/v1/champsBySport"}),s3=C({url:"/service-api/main-line-feed/sportSection/v1/sport1x2",expectedParams:d(N(d(d(d(d(d(d(d(d(N(d({},he({apiKey:Ze,defaultValue:null})),{count:Vo}),_e()),qa({key:th})),qa({key:eh})),Ie()),Y({defaultValue:null})),$s()),He()),Zt()),{subGames:Ar}),ie())});C({url:"/service-api/main-line-feed/sportSection/v1/search",expectedParams:d(d(d(d(d(d(d(d(d(d({},he({apiKey:Ze})),$o({defaultValue:0})),_e()),Ie()),Y({defaultValue:null})),$s()),He()),Zt()),oh()),ie())});const n3=C({url:"/service-api/main-line-feed/v1/StageTableWhoWins",expectedParams:d(d(d(d(d(d(d({},he({apiKey:Ze})),_e()),Ie({apiKey:ct})),No()),Y({defaultValue:""})),He()),ie())});C({url:"/service-api/main-line-feed/v1/champsBar",method:"GET",expectedParams:{[rt]:be({key:rt,apiKey:rt}),[ct]:be({key:ct,apiKey:ct}),[Pt]:yr({key:Pt,apiKey:Pt}),[vt]:be({key:vt,apiKey:vt})}});const nA=Q(C({url:"/service-api/LiveFeed/Get1x2_VZip",expectedParams:{sports:Nt,champs:we,count:Vo,lng:le,groupId:ze,coefViewId:Xe,page:Hs,antiSports:Ht,mode:So,subGames:Ar,cyberFlag:At,country:Te,top:qt,userId:ft,code:Ii,partner:ge,getEmpty:Ys,mobi:Kh,countryOnly:xe,altFlag:Wh,filterSports:Ho,zve:Ni,topChamps:Hh,pinnedGames:Cr,virtualSports:ro,menuSection:yo,gameTypes:Ws,gifEvent:eu,teams:Lt,countryFirst:qe,visibleSports:wi,fcountry:Ue,filterSubSports:br,sportCategoriesFlag:gt,isRecommendations:ou,noFilterBlockEvent:qh,filterMarketGroups:Wo},overrideParams(e,t){var o,r,s;e.virtualSports=(o=t==null?void 0:t.virtualSportsFeed)!=null?o:!0,e.noFilterBlockEvent=(r=t==null?void 0:t.noFilterBlockEvent)!=null?r:!0,e.countryOnly=(s=t==null?void 0:t.countryOnly)!=null?s:!0}})),a3=Q(C({url:"/service-api/LiveFeed/GetChampsZip",expectedParams:{sportId:ts,lng:le,groupId:ze,country:Te,top:qt,partner:ge,withCountries:Io,countryOnly:xe,virtualSports:ro,menuSection:yo,cyberFlag:At,antiSports:Ht,countryFirst:qe,fcountry:Ue,filterSubSports:br,sportCategoriesFlag:gt,groupChamps:Bo},overrideParams(e,t){var o,r,s;e.virtualSports=(o=t==null?void 0:t.virtualSportsFeed)!=null?o:!0,e.groupChamps=(r=t==null?void 0:t.groupChamps)!=null?r:!0,e.countryOnly=(s=t==null?void 0:t.countryOnly)!=null?s:!0}})),i3=Q(C({url:"/service-api/LiveFeed/GetChampZip",expectedParams:{champId:Ks,lng:le,partner:ge,country:Te,countryOnly:xe,countryFirst:qe,fcountry:Ue,sportCategoriesFlag:gt,groupChamps:Bo},overrideParams(e,t){var o;e.countryOnly=(o=t==null?void 0:t.countryOnly)!=null?o:!0}})),l3=Q(C({url:"/service-api/LiveFeed/GetSportsShortZip",expectedParams:{sports:Nt,champs:we,lng:le,groupId:ze,cyberFlag:At,withCountries:Io,country:Te,top:qt,countryOnly:xe,antiSports:Ht,partner:ge,adult:Yh,filterSports:Ho,virtualSports:ro,menuSection:yo,teams:Lt,visibleSports:wi,fcountry:Ue,sportCategoriesFlag:gt,filterMs:Mi,groupChamps:Bo,zve:Ni,filterMarketGroups:Wo},overrideParams(e,t){var o,r,s;e.countryOnly=(o=t==null?void 0:t.countryOnly)!=null?o:!0,e.groupChamps=(r=t==null?void 0:t.groupChamps)!=null?r:!0,e.virtualSports=(s=t==null?void 0:t.virtualSportsFeed)!=null?s:!0}}));Q(C({url:"/service-api/LiveFeed/GetChampZip",expectedParams:{champId:Ks,lng:le,partner:ge,country:Te,countryOnly:xe,countryFirst:qe,fcountry:Ue,sportCategoriesFlag:gt,groupChamps:Bo},overrideParams(e,t){var o;e.virtualSports=(o=t==null?void 0:t.virtualSportsFeed)!=null?o:!0}}));const Sa=Q(C({url:"/service-api/LiveFeed/Get1x2_VZip",expectedParams:N(d({sports:Nt,champs:we,count:Vo,lng:le,groupId:ze,coefViewId:Xe,page:Hs,antiSports:Ht,mode:So,subGames:Ar,cyberFlag:At,country:Te,top:qt},ie()),{code:Ii,partner:ge,getEmpty:Ys,mobi:Kh,countryOnly:xe,altFlag:Wh,filterSports:Ho,zve:Ni,topChamps:Hh,pinnedGames:Cr,virtualSports:ro,menuSection:yo,gameTypes:Ws,gifEvent:eu,teams:Lt,countryFirst:qe,visibleSports:wi,fcountry:Ue,filterSubSports:br,sportCategoriesFlag:gt,isRecommendations:ou,noFilterBlockEvent:qh,filterMarketGroups:Wo}),overrideParams(e,t){var o,r;e.virtualSports=(o=t==null?void 0:t.virtualSportsFeed)!=null?o:!0,e.noFilterBlockEvent=(r=t==null?void 0:t.noFilterBlockEvent)!=null?r:!0}})),c3=Q(C({url:"/service-api/LiveFeed/GetChampsZip",expectedParams:{sportId:ts,lng:le,groupId:ze,country:Te,top:qt,partner:ge,withCountries:Io,countryOnly:xe,virtualSports:ro,menuSection:yo,cyberFlag:At,antiSports:Ht,countryFirst:qe,fcountry:Ue,filterSubSports:br,sportCategoriesFlag:gt,groupChamps:Bo},overrideParams(e,t){var o,r;e.virtualSports=(o=t==null?void 0:t.virtualSportsFeed)!=null?o:!0,e.groupChamps=(r=t==null?void 0:t.groupChamps)!=null?r:!0}})),u3=C({url:"/service-api/LiveFeed/GetChampZip",expectedParams:{champId:Ks,lng:le,partner:ge,country:Te,countryOnly:xe,countryFirst:qe,fcountry:Ue,sportCategoriesFlag:gt,groupChamps:Bo}});C({url:"/service-api/LiveFeed/GetCyberExpressExtendedZip",expectedParams:{coefViewId:Xe,partner:ge,lng:le,userId:ft,notLogin:Rr,page:Hs},kind:St.LIVE});C({url:"/service-api/LiveFeed/GetLiveExpressExtendedZip",expectedParams:d(N(d(d(d(d({},he()),Ge()),Y()),ie()),{notLogin:Rr}),vi()),kind:St.LIVE});const p3=C({url:"/service-api/main-live-feed/v1/expressDay",expectedParams:d(d(d(d(d(d({},he({apiKey:Ze,defaultValue:null})),_e()),Ie()),Y({defaultValue:""})),He()),ie()),kind:St.LIVE}),d3=C({url:"/service-api/LiveFeed/GetFavoritesZip",expectedParams:{coefViewId:Xe,games:ki,mode:So,lng:le,sportCategoriesFlag:gt,partner:ge,userId:ft},kind:St.LIVE});C({url:"/service-api/LiveFeed/GetGamesTeamZip",expectedParams:{teams:Lt,champs:we,count:Vo,lng:le,coefViewId:Xe,mode:So}});const aA=C({url:"/service-api/LiveFeed/GetGameZip",expectedParams:{gameId:Pr,lng:le,coefViewId:Xe,code:Ii,isSubGames:tu,groupEvents:jh,eventsCount:xh,userId:ft,groupMode:Li,partner:ge,allEventsGroup:Zh,topGroups:Dh,gifEvent:eu,country:Te,fcountry:Ue,marketType:Bi,minOffset:Ct,tsFrom:bt,tsTo:Rt,isNewBuilder:Xh}}),m3=C({url:"/service-api/LiveFeed/Get1x2_VZip",expectedParams:{sports:Nt,champs:we,count:Vo,lng:le,coefViewId:Xe,mode:So,country:Te,userId:ft,partner:ge,getEmpty:Ys,countryOnly:xe,teams:Lt,sportCategoriesFlag:gt,virtualSports:ro,isRecommendations:ou},overrideParams(e,t){var o,r;e.isRecommendations=(o=t==null?void 0:t.isRecommendations)!=null?o:!0,e.getEmpty=(r=t==null?void 0:t.getEmpty)!=null?r:!0},kind:St.LIVE}),_3=Q(C({url:"/service-api/LiveFeed/GetSportsShortZip",expectedParams:{sports:Nt,champs:we,lng:le,groupId:ze,cyberFlag:At,withCountries:Io,country:Te,top:qt,countryOnly:xe,antiSports:Ht,partner:ge,adult:Yh,filterSports:Ho,virtualSports:ro,menuSection:yo,teams:Lt,visibleSports:wi,fcountry:Ue,sportCategoriesFlag:gt,filterMs:Mi,groupChamps:Bo,zve:Ni,filterMarketGroups:Wo},overrideParams(e,t){var o,r;e.virtualSports=(o=t==null?void 0:t.virtualSportsFeed)!=null?o:!0,e.groupChamps=(r=t==null?void 0:t.groupChamps)!=null?r:!0}})),iA=Q(C({url:"/service-api/LiveFeed/GetChronoOfPlay",expectedParams:{gameId:Pr,lng:le}})),h3=C({url:"/service-api/LiveFeed/GetTopGamesStatZip",expectedParams:{lng:le,antiSports:Ht,cyberFlag:At,partner:ge,userId:ft,coefViewId:Xe,country:Te,sports:Nt,champs:we,limit:pr,countBySport:Gi},kind:St.LIVE}),f3=C({url:"/service-api/LiveFeed/WebGetTopChampsZip",expectedParams:N(d({lng:le,groupId:ze},ie()),{country:Te})}),g3=C({url:"/service-api/LiveFeed/Web_SearchZip",expectedParams:{text:Fh,limit:pr,groupId:ze,lng:le,country:Te,mode:So,partner:ge,userId:ft,coefViewId:Xe,cyberFlag:At,strict:Jh}}),S3=Q(C({url:"/service-api/LiveFeed/Asia/AsiaGetSports",expectedParams:{sports:Nt,champs:we,lng:le,partner:ge,country:Te,countryOnly:xe,sportList:Vs,groupId:ze},overrideParams(e,t){var o;e.virtualSports=(o=t==null?void 0:t.virtualSportsFeed)!=null?o:!0}})),y3=C({url:"/service-api/LiveFeed/Asia/AsiaGetLeagues",expectedParams:{sports:Nt,champs:we,partner:ge,lng:le,whence:bi,country:Te,countryFirst:qe,countryOnly:xe,fcountry:Ue,sportList:Vs,groupId:ze},kind:St.LIVE}),$l=Q(C({url:"/service-api/LiveFeed/Asia/AsiaGetGames",expectedParams:N(d(N(d(d(d(d(d(d(d(d(d({sportMarket:Qc},vr()),vi()),$o()),ie()),he()),Ge()),Y()),Ie()),ur()),{champs:we}),_e()),{countryFirst:qe,countryOnly:xe,fcountry:Ue,sportList:Vs,whence:bi,games:ki})})),lA=Q(C({url:"/service-api/LiveFeed/Asia/AsiaGetGame",expectedParams:{gameId:Pr,userId:ft,coefViewId:Xe,partner:ge,lng:le,whence:bi,groupMode:Li,groupId:ze,country:Te,fcountry:Ue,marketType:Bi}})),cA=Q(C({url:"/service-api/LiveFeed/TopGamesStatDashbord",expectedParams:{partner:ge,groupId:ze,country:Te,lng:le,limit:pr,coefViewId:Xe,userId:ft,sports:Nt,champs:we,pinnedGames:Cr}})),I3=C({url:"/service-api/LiveFeed/SportsByGlobalChamp",expectedParams:N(d(N(d(d(d(d(d({},No()),Ge({defaultValue:1})),Ie()),_e({defaultValue:1})),vr()),{champs:we}),Y()),{withCountries:Io})}),E3=C({url:"/service-api/LiveFeed/ChampsByGlobalChamp",expectedParams:N(d(d(d(d(d(d({},No()),Ge({defaultValue:1})),Ie()),_e({defaultValue:1})),Ai()),Y()),{countryFirst:qe,withCountries:Io})}),T3=C({url:"/service-api/LiveFeed/GamesByGlobalChamp",expectedParams:N(d(d(d(d(d(d({},No()),oa({apiKey:Bh})),Ge({defaultValue:1})),Ie()),_e({defaultValue:1})),Y()),{countryFirst:qe})}),O3=C({url:"/service-api/LiveFeed/GlobalChamp1x2",expectedParams:N(d(d(d(N(d(d(d(N(d(d(d(d({},No()),$o()),Y()),he({apiKey:ei,defaultValue:0})),{subGames:Ar}),_e()),ie()),Ge({defaultValue:1})),{countryFirst:qe}),Ie()),Ci()),vr()),{champs:we,gameTypes:Ws,pinnedGames:Cr})}),v3=C({url:"/service-api/LiveFeed/GamesByTeamGlobalChamp",expectedParams:d(d(d(d(d(d(d(d({},No()),Ci()),Ge({defaultValue:1})),Ie()),_e()),Y()),he()),ie())}),P3=C({url:"/service-api/main-live-feed/personalise/v1/sliderGames",expectedParams:d(d(d(d(d(d(d({},he({apiKey:Ze,defaultValue:null})),_e()),Ie()),Y({defaultValue:""})),Pi()),He()),ie()),kind:St.LIVE,allowParallel:!1}),A3=C({url:"/service-api/LiveFeed/Asia/Asia_GetTopGamesStatZip",expectedParams:N(d(N(d(d(d(d(N(d(d(d({},Y()),wh()),Ie()),{antiSports:Ht,cyberFlag:At}),Ge({defaultValue:1})),ie()),he()),_e()),{fcountry:Ue}),vr()),{champs:we,limit:pr,countBySport:Gi}),kind:St.LIVE}),C3=C({url:"/service-api/main-live-feed/sportSection/v1/gamesByChamp",expectedParams:d(d(d(d(d(d(d(d({},he({apiKey:Ze,defaultValue:null})),oa()),_e()),Ie()),Y({defaultValue:null})),He()),Zt()),ie())}),uA=C({url:"/service-api/main-live-feed/v1/gameEvents",method:"GET",expectedParams:{[Ze]:be({key:Ze,apiKey:Ze,defaultValue:0}),[Ls]:be({key:Ls,apiKey:Ls,defaultValue:0}),[rt]:be({key:rt,apiKey:rt}),[Bs]:yr({key:Bs,apiKey:Bs}),[Dt]:be({key:Dt,apiKey:Dt}),[ct]:be({key:ct,apiKey:ct}),[Ns]:be({key:Ns,apiKey:Ns,defaultValue:0}),[Pt]:yr({key:Pt,apiKey:Pt}),[Fl]:be({key:Fl,apiKey:Fl}),[Ms]:be({key:Ms,apiKey:Ms,defaultValue:0}),[vt]:be({key:vt,apiKey:vt}),[ar]:be({key:ar,apiKey:ar})}}),pA=C({url:"/service-api/main-live-feed/v1/gameInfo",method:"GET",expectedParams:{[rt]:be({key:rt,apiKey:rt}),[Dt]:be({key:Dt,apiKey:Dt}),[ct]:be({key:ct,apiKey:ct}),[Pt]:yr({key:Pt,apiKey:Pt}),[vt]:be({key:vt,apiKey:vt})}}),b3=C({url:"/service-api/main-live-feed/sportSection/v1/gamesByOpp",expectedParams:d(d(d(d(d(d(d(d(d({},he({apiKey:Ze,defaultValue:null})),$o({defaultValue:0})),_e()),Ie()),Y({defaultValue:null})),kh()),He()),Zt()),ie())}),R3=C({url:"/service-api/main-live-feed/sportSection/v1/topChamps",expectedParams:d(d(d(d(d({},_e()),Ie()),Y({defaultValue:null})),He()),Ai())}),N3=C({url:"/service-api/main-live-feed/sportSection/v1/champsBySport",expectedParams:d(d(d(d(d(d(d({},$o()),_e()),Ie()),Y({defaultValue:null})),$s()),He()),Zt())}),L3=C({url:"/service-api/main-live-feed/sportSection/v1/sport1x2",expectedParams:d(N(d(d(d(d(d(d(N(d({},he({apiKey:Ze,defaultValue:null})),{count:Vo}),_e()),Ie()),Y({defaultValue:null})),$s()),He()),Zt()),{subGames:Ar}),ie())});C({url:"/service-api/main-live-feed/sportSection/v1/search",expectedParams:d(d(d(d(d(d(d(d(d(d({},he({apiKey:Ze})),$o({defaultValue:0})),_e()),Ie()),Y({defaultValue:null})),$s()),He()),Zt()),oh()),ie())});const B3=C({url:"/service-api/main-live-feed/personalise/v1/games1x2",expectedParams:d(d(d(d(N(d(N(d(d({},he({apiKey:Ze,defaultValue:null})),_e()),{filterMarketGroups:Wo}),Ie()),{hasVideo:Vh}),Y({defaultValue:""})),Pi()),He()),ie()),allowParallel:!1}),M3=C({url:"/service-api/main-live-feed/personalise/v1/champsBySportWithGames",expectedParams:d(d(d(d(d(N(d(N(d(d({},he({apiKey:Ze,defaultValue:null})),_e()),{filterMarketGroups:Wo}),Ie()),{hasVideo:Vh}),Y({defaultValue:""})),Pi()),He()),Zt()),ie()),allowParallel:!1});C({url:"/service-api/main-live-feed/v1/champsBar",method:"GET",expectedParams:{[rt]:be({key:rt,apiKey:rt}),[ct]:be({key:ct,apiKey:ct}),[Pt]:yr({key:Pt,apiKey:Pt}),[vt]:be({key:vt,apiKey:vt})}});const na=({champId:e,champName:t,champNameEng:o}={})=>$_$() && e===void 0?"":o?Co(`${e}-${nr(o)}`):t?Co(`${e}-${nr(t)}`):String(e),dA=Wc(async e=>{});var mA=864e5;function _A(e,t){$_$();Er(2,arguments);var o=sp(e),r=sp(t),s=o.getTime()-np(o),n=r.getTime()-np(r);return Math.round((s-n)/mA)}function G3(e){$_$();Er(1,arguments);var t;if(e&&typeof e.forEach=="function")t=e;else if(typeof e=="object"&&e!==null)t=Array.prototype.slice.call(e);else return new Date(NaN);var o;return t.forEach(function(r){$_$();var s=wo(r);(o===void 0||o>s||isNaN(s.getDate()))&&(o=s)}),o||new Date(NaN)}function Mp(e,t){var o=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return o<0?-1:o>0?1:o}function of(e,t){$_$();Er(2,arguments);var o=wo(e),r=wo(t),s=Mp(o,r),n=Math.abs(_A(o,r));o.setDate(o.getDate()-s*n);var l=+(Mp(o,r)===-s),i=s*(n-l);return i===0?0:i}function hA(e,t){$_$();return Er(2,arguments),wo(e).getTime()-wo(t).getTime()}var Gp={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(e){return e<0?Math.ceil(e):Math.floor(e)}},fA="trunc";function gA(e){return e?Gp[e]:Gp[fA]}function k3(e,t,o){$_$();Er(2,arguments);var r=hA(e,t)/dy;return gA(void 0)(r)}function w3(e,t){$_$();Er(2,arguments);var o=wo(e),r=wo(t);return o.getTime()>r.getTime()}function D3(e,t){$_$();Er(2,arguments);var o=wo(e),r=wo(t);return o.getTime()[e,t,o].filter(Boolean).join("/");function U3(e){$_$();var t,o;const r=(t=G(e).matches)!=null?t:[],s=(o=G(e).topChampMatches)!=null?o:[];return r.length>0||s.length>0}var fu=(e=>(e[e.ALL=1]="ALL",e[e.POPULAR=2]="POPULAR",e[e.TOTAL=3]="TOTAL",e[e.HANDICAP=4]="HANDICAP",e[e.PLAYERS=5]="PLAYERS",e[e.GOALS=6]="GOALS",e[e.INTERVALS=7]="INTERVALS",e[e.FOULS=9]="FOULS",e[e.POINTS=10]="POINTS",e[e.GAMES=11]="GAMES",e[e.RESULT_AND_TOTAL=12]="RESULT_AND_TOTAL",e[e.ASIAN=13]="ASIAN",e[e.TIE_BREAK=14]="TIE_BREAK",e[e.POINT=15]="POINT",e[e.FRAG=17]="FRAG",e))(fu||{});const gu=[1,3,4,2,5,6,7,9,10,11,12,13,14,15,17],yc=2,SA=3,yA=fu.ALL,ti=250,rf=!1,IA=[236,243,210,311,234,235,153,167,146,257,258,292,274,268,284,287,312],EA=[1,2,7,13,28],sf=[36,41,44,132,68,151,82,102,135,154,195,196,208,188,214,116,129,242,220,205,136,199,249,194,19,22,23,24,71,72,73,74,75,76,77,78,84,9,18,20,26,31,38,44,51,52,65,68,79,81,82,87,102,111,112,119,132,133,137,133,147,151,176,189,202,216,138,142,197,259,284,264,291,304,301,305],TA=[4,94],OA=[4],vA={7:40,2:20,1:45,13:15,28:20},PA={1:15,13:15},AA={7:2,2:3,1:2,13:4,28:4},x3={1:2,13:1},$3=["WHEEL","21BET","KENO","BACKGAMMON","POKER"],V3=[1,66,3,2,4],ir=-1,Ui=109,nf=Symbol("properties"),CA=e=>{$_$();const t=e.$nuxt.$pinia,o=Object.entries(e.config.globalProperties).map(([s,n])=>[s.startsWith("$")?s.slice(1):s,n]),r=z_(Object.fromEntries(o));Object.defineProperty(t,nf,{value:r})},Bt=()=>$_$() && my()[nf];var bA=Object.defineProperty,RA=Object.defineProperties,NA=Object.getOwnPropertyDescriptors,kp=Object.getOwnPropertySymbols,LA=Object.prototype.hasOwnProperty,BA=Object.prototype.propertyIsEnumerable,wp=(e,t,o)=>t in e?bA(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,MA=(e,t)=>{for(var o in t||(t={}))LA.call(t,o)&&wp(e,o,t[o]);if(kp)for(var o of kp(t))BA.call(t,o)&&wp(e,o,t[o]);return e},GA=(e,t)=>RA(e,NA(t));async function kA({currentUrl:e="",sectionType:t=this.sectionType,gameId:o=this.currentGameId,marketType:r=this.marketType,fetchMarkets:s=!0,skipUrlValidation:n=!0,skipRestoreUiState:l=!1,requestType:i="",bettingView:a,marketsNameType:u,lng:p,timeZone:m,coefViewId:c,userId:_,isUserAuth:h,isCoeffCutLine:g,isCoeffCutLive:S,refId:P,geoCountryId:v,logger:R,betsModelsManager:y,marketDisplaySettings:A,couponStore:E,isBetBuilderMode:w=!1}={}){$_$();var L,V,U,H;let k,F;const{apiInstances:{gameApi:te}}=Bt();if(o===ir)return;i||(i=Po({bettingType:G(t),bettingView:G(a)}));let ce;const x=G(g)&&G(t)===ee.LINE,de=G(S)&&G(t)===ee.LIVE,se=x||de;try{if(this.gameFromRoute)ce={data:this.gameFromRoute},this.gameSetGameFromRoute(void 0);else{const{marketsPerPage:Oe,pinnedMarketGroupForeignIds:B}=this,ue=G(u)===it.short?4:0;if(ce=([k,F]=I(()=>$_$() && te.loadGame(i,{gameId:o,lng:G(p),timeZone:G(m),coefViewId:G(c),userId:x||de?G(_):void 0,eventsCount:s?G(Oe):1,topGroups:G(B).join(","),marketType:r,groupEvents:!0,isSubGames:!0,groupMode:ue,partner:P,country:v,isNewBuilder:!0},{marketsNameType:G(u)})),k=await k,F(),k),ce.status!==wt.STATUS_SUCCESS){ce.status!==wt.STATUS_CLOSE&&R.error("gameUpdate gameUpdate status",{gameId:o,status:ce.status});return}}const{currentGameId:ve=o,gameIds:K=this.gameIds,unparsedMarketGroupsByGameId:Se}=ce.data,{marketGroups:W=this.marketGroups}=ce.data,{gamesById:j=GA(MA({},this.gamesById),{[o]:this.gamesById[this.currentGameId]})}=ce.data,De=!Object.keys(ce.data).length||!j[ve]||!!((L=j[ve])!=null&&L.isGameOver),Pe=((V=this.currentGame)==null?void 0:V.typeId)===Ui,{filterQuery:X}=this;this.gameSetMarketType(r),this.gameSetCurrentGameId(ve),this.gameSetGameIds(K),Pe?this.gameUpdateDuel({lng:G(p),marketsNameType:G(u),coefViewId:G(c),userId:G(_),betsModelsManager:y,marketDisplaySettings:G(A)}):(this.gameSetMarketsCountByTypeDuel({}),this.gameSetFilteredMarketGroups([]),this.gameSetMarketGroups([])),(U=this.currentGame)!=null&&U.isBetBuilderAvailable&&G(w)?([k,F]=I(()=>this.gameUpdateBetBuilder({coefViewId:c,couponStore:E,geoCountryId:v,lng:p,refId:P,gamesById:j,isUserAuth:h,userIdIsNecessary:se,userId:_,marketsNameType:u,sectionType:t,gameId:o})),await k,F()):(this.gameSetMarketGroups(W),this.gameSetFilteredMarketGroups(W),this.gameSetGamesById(j),this.gameSetMenuSection((H=j[o])==null?void 0:H.menuSections[0])),this.gameSetIsGameOverFlag(De),X&&([k,F]=I(()=>$_$() && this.gameFilterMarketsByText(X,G(p))),await k,F()),l||([k,F]=I(()=>$_$() && this.gameRestoreUIState(G(h))),await k,F()),[k,F]=I(()=>$_$() && this.gameUpdateMarketGridLayout({marketDisplaySettings:G(A)})),await k,F(),this.gameSetIsLoadingInProgress(!1)}catch(ve){R.error("gameUpdate",e,t,o,r,s,n,l,ve),[k,F]=I(()=>Promise.reject(ve)),await k,F()}}async function wA({coefViewId:e,couponStore:t,geoCountryId:o,lng:r,refId:s,gamesById:n,isUserAuth:l,userIdIsNecessary:i,userId:a,marketsNameType:u,sectionType:p,gameId:m}){$_$();var c;let _,h;const{apiInstances:{gameApi:g}}=Bt(),S=G(e)===0?3:G(e),P=t.bets.flatMap(A=>A.builderMarkets).reduce((A,E)=>(A[E.id]=E,A),{}),{data:v}=([_,h]=I(()=>$_$() && g.getBetBuilderMarkets(G(p),{cfView:S,country:G(o),currentGame:this.currentGame,lng:G(r),ref:G(s),gamesById:G(n),selectedMarkets:P,userId:l&&i?G(a):void 0},{marketsNameType:G(u)})),_=await _,h(),_);if(!v)return;const{gamesByIdWithEvents:R,marketGroups:y}=v;this.gameSetMarketGroups(y),this.gameSetFilteredMarketGroups(y),this.gameSetGamesById(R),this.gameSetMenuSection((c=G(n)[G(m)])==null?void 0:c.menuSections[0])}var DA=Object.defineProperty,Dp=Object.getOwnPropertySymbols,FA=Object.prototype.hasOwnProperty,UA=Object.prototype.propertyIsEnumerable,Fp=(e,t,o)=>t in e?DA(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,xA=(e,t)=>{for(var o in t||(t={}))FA.call(t,o)&&Fp(e,o,t[o]);if(Dp)for(var o of Dp(t))UA.call(t,o)&&Fp(e,o,t[o]);return e};async function $A({sectionType:e=Xn("sectionType"),gameUpdateDependencies:t}={}){$_$();let o,r;const{areAllMarketsLoaded:s,totalMarketsCount:n}=this;s||(this.gameSetMarketsPerPageCount(n),[o,r]=I(()=>this.gameUpdate(xA({sectionType:e},t))),await o,r())}class Be{serializeArray(t){return t.map(o=>this.serializeValue(o))}serializeObject(t){const o={};return Object.keys(t).forEach(r=>{o[r]=this.serializeValue(t[r])}),o}serializeValue(t){return t===null?null:Array.isArray(t)?this.serializeArray(t):typeof t=="object"?this.serializeObject(t):t}toJSON(){return d({},this)}parseJSON(t,o){try{return JSON.parse(t)}catch(r){console.error(`Invalid JSON in field "${o}" ${t}`,r)}}}var VA=Object.defineProperty,HA=(e,t,o)=>t in e?VA(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,Xo=(e,t,o)=>HA(e,typeof t!="symbol"?t+"":t,o);const Up="dummy-market-group-model-";let af=class extends Be{constructor({id:t=Ro(Up),foreignId:o,name:r,gameId:s,groupId:n,groupShortId:l,gameName:i,marketColumns:a=[],specialSign:u=!1}){super(),Xo(this,"id"),Xo(this,"foreignId"),Xo(this,"name"),Xo(this,"gameId"),Xo(this,"groupId"),Xo(this,"groupShortId"),Xo(this,"gameName"),Xo(this,"marketColumns"),Xo(this,"specialSign"),this.id=t,this.foreignId=o,this.name=r,this.gameId=s,this.groupId=n,this.groupShortId=l,this.gameName=i,this.marketColumns=a,this.specialSign=u}static isDummy(t){return t.id.startsWith(Up)}};const KA=(e,t)=>[e,t].filter(Boolean).join(". "),WA=(e,t)=>{const o=KA(e.groupName,e.gameName).toLowerCase(),r=String(e.name).toLowerCase(),s=String(t).toLowerCase();return r.includes(s)||o.includes(s)};var YA=Object.defineProperty,jA=Object.defineProperties,ZA=Object.getOwnPropertyDescriptors,xp=Object.getOwnPropertySymbols,qA=Object.prototype.hasOwnProperty,JA=Object.prototype.propertyIsEnumerable,$p=(e,t,o)=>t in e?YA(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,XA=(e,t)=>{for(var o in t||(t={}))qA.call(t,o)&&$p(e,o,t[o]);if(xp)for(var o of xp(t))JA.call(t,o)&&$p(e,o,t[o]);return e},zA=(e,t)=>jA(e,ZA(t));async function QA(e,t){const{filterQuery:o="",filteredMarketGroups:r,marketGroups:s}=this,l=Ih(e,{language:t}).toLowerCase(),i=o.toLowerCase(),u=l.startsWith(i)?r:s,p=l?u.map(m=>{const c=m.marketColumns.map(_=>_.filter(h=>WA(h,l))).filter(_=>_.length);return new af(zA(XA({},m),{marketColumns:c}))}).filter(m=>m.marketColumns.length):s;this.gameSetFilterQuery(e),this.gameSetFilteredMarketGroups(p)}const eC=4;async function tC({marketGroups:e=this.filteredMarketGroups,marketDisplaySettings:t}){const{logger:o,marketLayoutService:r}=Bt(),{marketGridColumnsCount:s,areAllMarketGroupsCollapsed:n,expandedMarketGroupIdsByUser:l,collapsedMarketGroupIdsByUser:i,collapsedGridGroupNames:a,pinnedMarketGroupForeignIds:u}=this,{gridGroupingPaths:p}=this;try{const m=r.createLayout(e,{columnsCount:s,groupingPaths:p,collapseAllMarketGroups:n,collapseByMarketsCount:t===1,collapseMarketsCountLimit:eC,expandedMarketGroupIdsByUser:l,collapsedMarketGroupIdsByUser:i,collapsedGridGroupNames:a,pinnedMarketGroupForeignIds:u});this.gameSetMarketGridCategories(m)}catch(m){o.error("gameUpdateMarketGridLayout error",m)}}async function oC({marketDisplaySettings:e}){$_$();let t,o;const{areAllMarketGroupsCollapsed:r}=this,s=!r;[t,o]=I(()=>this.gamePersistCollapsedMarketGroupIds([])),await t,o(),[t,o]=I(()=>this.gamePersistExpandedMarketGroupIds([])),await t,o(),this.gameSetMarketGridCategories([]),[t,o]=I(()=>this.gamePersistAllMarketGroupsCollapsedState(s)),await t,o(),[t,o]=I(()=>this.gameUpdateMarketGridLayout({marketDisplaySettings:e})),await t,o()}function rC(){$_$();const e=_y(this.marketsPerPage+ti,ti,this.totalMarketsCount);this.gameSetMarketsPerPageCount(e)}var sC=Object.defineProperty,Vp=Object.getOwnPropertySymbols,nC=Object.prototype.hasOwnProperty,aC=Object.prototype.propertyIsEnumerable,Hp=(e,t,o)=>t in e?sC(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,iC=(e,t)=>{for(var o in t||(t={}))nC.call(t,o)&&Hp(e,o,t[o]);if(Vp)for(var o of Vp(t))aC.call(t,o)&&Hp(e,o,t[o]);return e};async function lC({gameId:e=ao("gameId"),sectionType:t=Jn("sectionType"),marketType:o=fu.ALL,gameUpdateDependencies:r}={}){$_$();let s,n;this.gameResetMarketsPerPageCount(),[s,n]=I(()=>this.gameUpdate(iC({gameId:e,sectionType:t,marketType:o},r))),await s,n()}async function cC({sectionType:e,gameId:t}){$_$();let o,r;const s=Ot(),{apiInstances:n}=Bt(),l=s.isUserAuth,i=s.getLanguage,{data:a,status:u}=([o,r]=I(()=>n.gameApi.getGameEventsToSubscribe(e,{gameId:t,lng:i})),o=await o,r(),o);u===wt.STATUS_SUCCESS&&(this.gameSetGameEventsToSubscribe(a),l&&([o,r]=I(()=>this.gameLoadActiveEventSubscriptions({gameId:t,sectionType:e,userId:s.getUserId})),await o,r()))}async function uC({gameId:e,userId:t,sectionType:o}){$_$();let r,s;const{gameApi:n}=Ei(),{logger:l}=Bt();let i=[];try{i=([r,s]=I(()=>n.getActiveGameEventSubscriptions(o,{gameId:e,userId:t})),r=await r,s(),r)}catch(a){l.error("gameLoadActiveEventSubscriptions action",a)}this.gameUpdateSubscribedEvents({subscribedEvents:i})}const pC=(e=[])=>(e||[]).filter(({isDisabled:t})=>!t).map(t=>({PeriodType:t.id,EventType:t.events.filter(({isDisabled:o})=>!o).map(({id:o})=>o)}));async function dC({events:e,gameId:t,sectionType:o=ee.LINE,successCallback:r}){$_$();let s,n;const{T:l,apiInstances:{gameApi:i}}=Bt(),a=pC(e);try{const u=([s,n]=I(()=>i.saveGameEventSubscriptions({events:a,gameId:t,sectionType:o})),s=await s,n(),s);if(!u.success)return rr({T:l,text:u.msg});this.gameSetGameEventsToSubscribe(e),r&&r(e);const p=u.msg||l("main_save_success");return av({T:l,text:p})}catch(u){rr({T:l,text:l("main_query_error")})}}async function mC(e){$_$();let t,o;const{logger:r}=Bt();try{const{areAllMarketGroupsCollapsed:s}=this;switch(e){case 2:s||([t,o]=I(()=>this.gamePersistAllMarketGroupsCollapsedState(!0)),await t,o());break;default:s&&([t,o]=I(()=>this.gamePersistAllMarketGroupsCollapsedState(!1)),await t,o());break}[t,o]=I(()=>this.gameUpdateMarketGridLayout({marketDisplaySettings:e})),await t,o()}catch(s){r.error("gameUpdateMarketDisplay action",s)}}async function _C({columnsCount:e=this.marketGridColumnsCount,skipStorage:t=!1,marketDisplaySettings:o}){$_$();let r,s;const{appStorage:n,logger:l}=Bt(),i=Math.min(this.maxMarketGridColumnsCount,e);if(this.marketGridColumnsCount!==i&&(this.gameSetMarketGridColumnsCount(i),[r,s]=I(()=>this.gameUpdateMarketGridLayout({marketDisplaySettings:o})),await r,s(),!t))try{[r,s]=I(()=>$_$() && n.setItem(cr.MARKET_COLUMNS_COUNT,i)),await r,s()}catch(a){l.error("gameSetMarketGridColumnsCount action","error while saving market columns count to app storage",a)}}async function hC(){$_$();var e;let t,o;const{appStorage:r,logger:s}=Bt();let n=yc;try{n=(e=([t,o]=I(()=>$_$() && r.getItem(cr.MARKET_COLUMNS_COUNT)),t=await t,o(),t))!=null?e:yc}catch(l){s.error("gameRestoreMarketGridColumnsCount action","error while obtaining market columns count from app storage")}this.gameSetMarketGridColumnsCount(n)}async function fC(){$_$();let e,t;const{logger:o,siteConfig:r,apiInstances:s}=Bt(),{currentGameId:n}=this;try{const{data:l,status:i}=([e,t]=I(()=>s.gameApi.getTimelineData({gameId:n,language:r.lng})),e=await e,t(),e);if(i!==wt.STATUS_SUCCESS)throw new Error("server side error");this.gameSetTimelineEvents({events:l})}catch(l){o.error(`Error while loading game timeline data, ${l}`)}}async function gC(e){$_$();let t,o;[t,o]=I(()=>this.gameRestoreAllMarketGroupsCollapsedState()),await t,o(),[t,o]=I(()=>this.gameRestoreCollapsedMarketGroupIds()),await t,o(),[t,o]=I(()=>this.gameRestoreExpandedMarketGroupIds()),await t,o(),[t,o]=I(()=>this.gameRestorePinnedMarketGroupForeignIds(e)),await t,o()}async function xi(e,t,o){$_$();let r,s,n;try{n=([r,s]=I(()=>e.getItem(t)),r=await r,s(),r)}catch(l){console.error("GameApp, fetchValueFromAppStorage",`error while obtaining value from app storage: ${l}`)}return n!=null?n:o}async function SC(){$_$();let e,t;const{appStorage:o}=Bt(),{allMarketGroupsCollapsedStorageKey:r}=this,s=([e,t]=I(()=>xi(o,r,rf)),e=await e,t(),e);this.gameSetAreAllMarketGroupsCollapsed(s)}async function yC(){$_$();let e,t;const{appStorage:o}=Bt(),{collapsedMarketGroupsStorageKey:r}=this,s=([e,t]=I(()=>xi(o,r,[])),e=await e,t(),e);this.gameSetCollapsedMarketGroupIds(s)}async function IC(){$_$();let e,t;const{appStorage:o}=Bt(),{expandedMarketGroupsStorageKey:r}=this,s=([e,t]=I(()=>xi(o,r,[])),e=await e,t(),e);this.gameSetExpandedMarketGroupIds(s)}async function EC(e){$_$();let t,o;const{appStorage:r}=Bt();if(!e)return this.gameSetPinnedMarketGroupForeignIds([]);const s=cr.GAME_PINNED_MARKET_GROUP_FOREIGN_IDS,n=([t,o]=I(()=>xi(r,s,[])),t=await t,o(),t);this.gameSetPinnedMarketGroupForeignIds(n)}async function TC(){$_$();let e,t;[e,t]=I(()=>this.gamePersistAllMarketGroupsCollapsedState(!1)),await e,t()}const OC="bets_model",Kp="BMN",vC="bets_model_map",Wp="BMM",PC=0,lf="/genfiles/cms/betstemplates",Yn=it.short,Yp=6,cf=[2,17,10694,10695,10696,10697],AC=[2,15,17,62,99,10694,10695,10696,10697],CC=[10694,10695],bC=[2804],Yo={0:[0,0,0],1:[1,2,3],2:[7,8],8:[4,5,6],14:[182,183],15:[11,12],17:[9,10],19:[180,181],22:[50,51],26:[2637],62:[13,14],99:[3827,3828],101:[401,402],109:[732,733],123:[835,836],135:[1794,1795],1087:[2191,2192,2193],2250:[2466,2467,2468],2257:[2486,2487],2508:[3014,3015,3016,3017,3018,3019,3020,3021],2766:[3653,3654,3655],2768:[3656,3657,3658],2854:[3829,3830],6643:[5167,5168],6771:[5320,5321],6773:[5322,5323],6831:[5390,5391],6833:[5392,5393],6919:[5497],7079:[13196,13195],8389:[7736,7737],9180:[9521,9522,9523,9524],9409:[10244,10245],9640:[11291,11292],9641:[11293,11294],9684:[11425,11426],9685:[11427,11428],9699:[11466,11467],9700:[11468,11469],9701:[11490,11491],9710:[11498,11499],9716:[11511,11512],9717:[11513,11514],9781:[11721,11722,11725],10237:[13192,13191],10238:[13198,13197],10316:[13411,13412],10317:[13413,13414],10318:[13409,13410],10393:[13643,13644],10394:[13645,13646],10694:[2068,2069],10695:[2070,2071],10696:[2072,2073],10697:[2074,2075],10786:[14720,14721],10789:[14727,14728],10804:[14786,14787],10805:[14788,14789],10781:[14697,14698,14699,14700,14701,14702],8495:[8049,8050],8497:[8051,8052]};var ya=typeof window!="undefined"||typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function uf(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}const RC=(e="",t=[],o,r)=>{const s=[136,2472],n=["fa"],l=function(a){return typeof a=="string"||!!a&&typeof a=="object"&&Object.prototype.toString.call(a)==="[object String]"};if(n.indexOf(r)!==-1&&s.indexOf(o)!==-1)for(var i=t.length-1;i>=0;i--)e=e.replace(l(t[i])?"[]":"()",t[i]);else for(i=0;i0?c=c.replace("()","(+"+a+")"):c=c.replace("()","("+a+")"):c=c.replace("()",a)),c;case 5:return(a||a===0)&&(i=parseInt(a),l=+parseFloat((a-i)*1e3).toFixed(2),h===311&&(l/=10),c=RC(c,[i,l],h,g)),c;case 7:return u&&(c=c.replace("[]",u)),c;case 9:return u&&(a||a===0)&&(h===3388&&a>0?c=c.replace("[]",u).replace("()","(+"+a+")"):c=c.replace("[]",u).replace("()","("+a+")")),c;case 11:return u&&(a||a===0)&&(i=parseInt(a),l=parseInt(((parseFloat(a)-i)*1e3).toFixed()),c=c.replace("[]",u).replace("()",i).replace("()",l)),c;case 13:return(a||a===0)&&(i=parseInt(a),l=parseFloat(((parseFloat(a)-i)*100).toFixed(2)),(p==1965||p==1966)&&(l=Math.abs(l)),c=c.replace("()",i/100).replace("()",l)),c;case 15:return(a||a===0)&&(i=parseInt(a),l=+parseFloat((parseFloat(a)-i)*1e3).toFixed(5),c=c.replace("()",i/1e3).replace("()",Math.round(l))),c;case 17:return(a||a===0)&&(i=parseInt(a),l=+parseFloat((parseFloat(a)-i)*1e3).toFixed(5),(p==1195||p==1196)&&(l=Math.abs(l)),c=c.replace("()",i/100).replace("()",l)),c;case 21:return(a||a===0)&&(i=parseInt(a),l=+parseFloat((parseFloat(a)-i)*1e3).toFixed(5),n=parseInt(l)+1,m==1&&(n==44||n==89)?n+=":59+":n+=":59",c=c.replace("()",i/100).replace("(1)",l+":00").replace("(2)",n)),c;case 23:return(a||a===0)&&(i=parseInt(a),l=+parseFloat((parseFloat(a)-i)*1e3).toFixed(5),n=parseInt(l)+4,m==1&&(n==44||n==89)?n+=":59+":n+=":59",c=c.replace("()",i/100).replace("(1)",l+":00").replace("(5)",n)),c;case 25:return(a||a===0)&&(i=parseInt(a),l=+parseFloat((parseFloat(a)-i)*1e3).toFixed(5),n=parseInt(l)+9,m==1&&(n==44||n==89)?n+=":59+":n+=":59",c=c.replace("()",i/100).replace("(1)",l+":00").replace("(10)",n)),c;case 27:return(a||a===0)&&(i=parseInt(a),l=+parseFloat((parseFloat(a)-i)*1e3).toFixed(5),n=parseInt(l)+14,m==1&&(n==44||n==89)?n+=":59+":n+=":59",c=c.replace("()",i/100).replace("(1)",l+":00").replace("(15)",n)),c;case 29:return(a||a===0)&&(i=parseInt(a),l=+parseFloat((parseFloat(a)-i)*1e3).toFixed(5),n=parseInt(l)+29,m==1&&(n==44||n==89)?n+=":59+":n+=":59",c=c.replace("()",i/100).replace("(1)",l+":00").replace("(30)",n)),c;case 31:return(a||a===0)&&(i=parseInt(a),l=+parseFloat((parseFloat(a)-i)*1e3).toFixed(5),c=c.replace("()",i+":00").replace("()",l+":59")),c;case 33:return a&&a!=0?c=c.replace("()",a):a===0&&(c=c.replace("()","")),c;case 35:return(a||a===0)&&(i=parseInt(a),l=+parseFloat((parseFloat(a)-i)*1e3).toFixed(5),n=+parseFloat((i/100-parseInt(i/100))*100).toFixed(5),c=c.replace("()",n).replace("()",l).replace("()",parseInt(i/100))),c;case 37:return(a||a===0)&&(i=parseInt(a),c=c.replace("()",i)),c;case 39:return(a||a===0)&&(i=parseInt(a),l=+parseFloat((parseFloat(a)-i)*1e3).toFixed(5),c=c.replace("()",l).replace("()",i)),c;case 41:return(a||a===0)&&(a>0?c=c.replace("()",a+":0"):c=c.replace("()","0:"+Math.abs(a))),c;case 43:return(a||a===0)&&(i=p==2144||p==2145||p==2257||p==2258?Math.abs(parseInt(a)):parseInt(a),l=+((parseFloat(a)-parseInt(a))*100).toFixed(2),c=c.replace("()",i).replace("()",l)),c;case 45:return(a||a===0)&&(i=p==2255||p==2256?Math.abs(parseInt(a)):parseInt(a),l=+((parseFloat(a)-parseInt(a))*1e3).toFixed(2),c=c.replace("()",i).replace("()",l)),c;case 49:return u&&(a||a===0)&&(i=parseInt(a),l=+parseFloat((parseFloat(a)-i)*1e3).toFixed(5),c=c.replace("[]",u).replace("()",i/100).replace("()",l)),c;case 51:return u&&(a||a===0)&&(i=parseInt(a),l=((parseFloat(a/1e3)-parseInt(i/1e3))*1e3).toFixed(),n=((parseFloat(a)-i)*1e3).toFixed(),c=c.replace("[]",u).replace("()",parseInt(i/1e3)).replace("()",l).replace("()",n)),c;case 53:return(a||a===0)&&(i=parseInt(a),l=+parseFloat((parseFloat(i/100)-parseInt(i/100))*100).toFixed(5),n=+parseFloat(((parseFloat(a)-i)*1e3).toFixed(2)).toFixed(5),c=c.replace("()",parseInt(i/100)).replace("()",l).replace("()",n)),c;case 55:return u&&(a||a===0)&&(i=parseInt(a),l=+parseFloat(((parseFloat(a)-i)*100).toFixed(2)).toFixed(5),c=c.replace("[]",u).replace("()",i).replace("()",l)),c;case 59:return u&&(a||a===0)&&(i=parseInt(a),l=+parseFloat(((parseFloat(a)-i)*1e3).toFixed(2)).toFixed(5),c=c.replace("[]",u).replace("()",i).replace("()",l)),c;case 61:return(a||a===0)&&(i=parseInt(a),l=+parseFloat((parseFloat(i/100)-parseInt(i/100))*100).toFixed(5),n=+parseFloat((parseFloat(a)-i)*1e3).toFixed(2),c=c.replace("()",parseInt(i/100)).replace("()",l).replace("()",n)),c;case 65:return(a||a===0)&&(i=parseInt(a),l=+((parseFloat(a/1e3)-parseInt(i/1e3))*1e3).toFixed(),n=+((parseFloat(a)-i)*1e3).toFixed(2),c=c.replace("()",parseInt(i/1e3)).replace("()",l).replace("()",n)),c;case 69:return u&&(a||a===0)&&(i=parseInt(a),l=+((parseFloat(a/100)-parseInt(i/100))*100).toFixed(),n=+((parseFloat(a)-i)*1e3).toFixed(2),c=c.replace("()",parseInt(i/100)).replace("()",l).replace("[]",u).replace("()",n)),c;case 71:return(a||a===0)&&(i=parseInt(a),l=(i-+parseFloat((parseFloat(a)-i)*10).toFixed(5)).toFixed(),n=(i+ +parseFloat((parseFloat(a)-i)*10).toFixed(5)).toFixed(),c=c.replace("()",l).replace("()",n)),c;case 75:return(a||a===0)&&(i=parseInt(a),l=parseInt((parseFloat(a)-i)*100),n=+(((parseFloat(a)-i-parseInt(parseFloat(a)-i))*100-parseInt((parseFloat(a)-i-parseInt(parseFloat(a)-i))*100))*100).toFixed(),c=c.replace("()",i/100).replace("()",Math.abs(l)).replace("()",Math.abs(n))),c;case 77:return u&&(a||a===0)&&(a>0?c=c.replace("()",a+":0"):c=c.replace("()","0:"+Math.abs(a)),c=c.replace("[]",u)),c;case 81:return(a||a===0)&&(i=parseInt(a),l=+((parseFloat(i/100)-parseInt(i/100))*100).toFixed(2),n=parseInt(parseFloat(((parseFloat(a)-parseInt(a))*100).toFixed(2))),s=+parseFloat((parseFloat(((parseFloat(a)-parseInt(a))*100).toFixed(2))-parseInt(((parseFloat(a)-parseInt(a))*100).toFixed(2)))*100).toFixed(5),c=c.replace("()",parseInt(i/100)).replace("()",l).replace("()",n).replace("()",s)),c;case 83:return(a||a===0)&&(i=parseInt(a),l=+((parseFloat(i/100)-parseInt(i/100))*100).toFixed(2),n=+((parseFloat(a)-parseInt(a))*100).toFixed(2),c=c.replace("()",parseInt(i/100)).replace("()",l).replace("()",n)),c;case 85:return(a||a===0)&&(i=parseInt(a),l=+((parseFloat(i/1e7)-parseInt(i/1e7))*100).toFixed(1),n=+(+(parseFloat(i/1e4)-parseInt(i/1e4)).toFixed(2)*100).toFixed(2),s=+((parseFloat(i/100)-parseInt(i/100))*100).toFixed(5),r=parseInt(parseFloat(((parseFloat(a)-parseInt(a))*100).toFixed(2))),o=+parseFloat((parseFloat(((parseFloat(a)-parseInt(a))*100).toFixed(2))-parseInt(((parseFloat(a)-parseInt(a))*100).toFixed(2)))*100).toFixed(5),c=c.replace("()",l).replace("()",n).replace("()",s).replace("()",r).replace("()",o)),c;case 87:return(a||a===0)&&(i=parseInt(a),l=+((parseFloat(i/1e4)-parseInt(i/1e4))*10).toFixed(1),n=parseInt((parseFloat(i/100)-parseInt(i/100))*100),s=parseInt(parseFloat(((parseFloat(a)-parseInt(a))*100).toFixed(2))),r=+parseFloat((parseFloat(((parseFloat(a)-parseInt(a))*100).toFixed(2))-parseInt(((parseFloat(a)-parseInt(a))*100).toFixed(2)))*100).toFixed(5),c=c.replace("()",l).replace("()",n).replace("()",s).replace("()",r)),c;case 89:return(a||a===0)&&(i=parseInt(a),l=+parseFloat((parseFloat(i/100)-parseInt(i/100))*100).toFixed(5),n=+((parseFloat(a)-i)*1e3).toFixed(2),c=c.replace("()",parseInt(i/100)).replace("()",l).replace("()",n)),c;case 91:return this.transformBetNameByType(N(d({},e),{TT:145}));case 93:return(a||a===0)&&(i=parseInt(a),l=parseInt(parseFloat(i/100)),n=+parseFloat(parseFloat(i/100)-parseInt(i/100)).toFixed(5)*100,s=parseInt(parseFloat(((parseFloat(a)-parseInt(a))*100).toFixed(2))),r=+parseFloat((parseFloat(((parseFloat(a)-parseInt(a))*100).toFixed(2))-parseInt(((parseFloat(a)-parseInt(a))*100).toFixed(2)))*100).toFixed(5),c=c.replace("()",l+":"+n).replace("()",s).replace("()",r)),c;case 95:return(a||a===0)&&(i=parseInt(a),l=+parseFloat(parseFloat(i/100)).toFixed(5),n=+parseFloat((parseFloat(a)-parseInt(a))*100).toFixed(5),c=c.replace("()",l).replace("()",n)),c;case 97:return(a||a===0)&&(i=parseInt(a),l=+parseFloat(parseFloat(i/1e3)).toFixed(5),n=+parseFloat((parseFloat(a)-parseInt(a))*10).toFixed(5),c=c.replace("()",l).replace("()",n)),c;case 99:return this.transformBetNameByType(N(d({},e),{TT:145}));case 101:return(a||a===0)&&(i=parseInt(a),l=+(parseFloat(parseFloat(a)-parseInt(i))*1e3).toFixed(5),n=+parseFloat(parseFloat(parseFloat(a)-parseInt(i))*1e3+.5).toFixed(5),c=c.replace("()",i).replace("()",l).replace("()",n)),c;case 103:return(a||a===0)&&(i=parseInt(a),l=+(parseFloat(parseFloat(a)-parseInt(i))*1e3).toFixed(5),n=+parseFloat(parseInt(a)-.5).toFixed(5),c=c.replace("()",i).replace("()",l).replace("()",n)),c;case 105:return(a||a===0)&&(i=parseInt(a),l=+((parseFloat(i/100)-parseInt(i/100))*100).toFixed(2),n=+((parseFloat(a)-parseInt(a))*1e3).toFixed(2),c=c.replace("()",parseInt(i/100)).replace("()",l).replace("()",n)),c;case 107:return e.betName=this.transformBetNameByType(N(d({},e),{TT:91})),this.transformBetNameByType(N(d({},e),{TT:5}));case 111:return u&&(c=c.replace("[]",u)),(a||a===0)&&(i=parseInt(a),l=parseInt(i/1e6),n=parseInt(+(parseFloat(i/1e6)-parseInt(i/1e6))*100),s=parseInt(+(parseFloat(i/1e4)-parseInt(i/1e4))*100),r=+(+(parseFloat(i/100)-parseInt(i/100)).toFixed(2)*100).toFixed(2),o=parseInt((a-i)*100),t=parseInt(+(+(a*100).toFixed(2)-parseInt(a*100)).toFixed(2)*100),c=c.replace("()",l).replace("()",n).replace("()",s).replace("()",r).replace("()",o).replace("()",t)),c;case 113:return e.betName=this.transformBetNameByType(N(d({},e),{TT:91})),this.transformBetNameByType(N(d({},e),{TT:3}));case 115:return u&&(c=c.replace("[]",u)),(a||a===0)&&(i=parseInt(a),l=parseInt(i/100),n=parseInt(+(parseFloat(i/100)-parseInt(i/100)).toFixed(2)*100),s=parseInt(+(a-i).toFixed(2)*100),r=parseInt(+(+(a*100).toFixed(2)-parseInt(a*100)).toFixed(2)*100),c=c.replace("()",l).replace("()",n).replace("()",s).replace("()",r)),c;case 117:return(a||a===0)&&(i=parseInt(a),l=(i/1e3).toFixed(1),n=Math.abs((a-i)*1e3).toFixed(1),c=c.replace("()",l).replace("()",n)),c;case 119:return(a||a===0)&&(i=parseInt(a),l=+(i/1e4).toFixed(1),n=+(+(parseFloat(i/1e3)-parseInt(i/1e3)).toFixed(5)*100).toFixed(1),s=+(+(parseFloat(a)-i).toFixed(5)*100).toFixed(1),c=c.replace("()",l).replace("()",n).replace("()",s)),c;case 121:return(a||a===0)&&(i=parseInt(a),l=+(+parseFloat(a-i).toFixed(5)*1e4).toFixed(5),c=c.replace("()",i).replace("()",l)),c;case 123:return(a||a===0)&&(i=parseInt(a),l=parseInt(i/1e6),n=parseInt(+(parseFloat(i/1e6)-parseInt(i/1e6))*100),s=parseInt((+(parseFloat(i/1e4)-parseInt(i/1e4))*100).toFixed(2)),r=+(+(parseFloat(i/100)-parseInt(i/100)).toFixed(2)*100).toFixed(2),o=parseInt((a-i)*100),t=parseInt(+(+(a*100).toFixed(2)-parseInt(a*100)).toFixed(2)*100),c=c.replace("()",l).replace("()",n).replace("()",s).replace("()",r).replace("()",o).replace("()",t)),c;case 125:return e.betName=this.transformBetNameByType(N(d({},e),{TT:91})),this.transformBetNameByType(N(d({},e),{TT:35}));case 127:return e.betName=this.transformBetNameByType(N(d({},e),{TT:7})),this.transformBetNameByType(N(d({},e),{TT:121}));case 129:if(a){a=a.toString();const y=(S=a.split("."))==null?void 0:S[1];((P=y==null?void 0:y.length)!=null?P:0)<6&&(a=a.split(".")[0]+"."+(y!=null?y:"")+new Array(6-((R=(v=a.split(".")[1])==null?void 0:v.length)!=null?R:0)+1).join("0")),i=parseInt(a.slice(-3)),l=parseInt(a.slice(-6,-3)),n=parseInt(a.slice(-10,-7)),s=parseInt(a.slice(-13,-10)),c=c.replace("()",s).replace("()",n).replace("()",l).replace("()",i)}return c;case 131:return e.betName=this.transformBetNameByType(N(d({},e),{TT:99})),this.transformBetNameByType(N(d({},e),{TT:35}));case 133:return e.betName=this.transformBetNameByType(N(d({},e),{TT:99})),this.transformBetNameByType(N(d({},e),{TT:3}));case 134:return a&&(i=parseInt(a),l=+parseFloat(i/1e3).toFixed(10),n=+(parseFloat(+(a-i).toFixed(10))*100).toFixed(10),c=c.replace("()",l).replace("()",n)),c;case 135:return e.betName=this.transformBetNameByType(N(d({},e),{TT:99})),this.transformBetNameByType(N(d({},e),{TT:5}));case 136:return e.betName=this.transformBetNameByType(N(d({},e),{TT:91})),this.transformBetNameByType(N(d({},e),{TT:81}));case 137:return e.betName=this.transformBetNameByType(N(d({},e),{TT:91})),this.transformBetNameByType(N(d({},e),{TT:123}));case 138:return(a||a===0)&&(i=parseInt(a),l=+parseFloat(i/1e3).toFixed(5),n=+Math.abs(parseFloat((a-i)*1e3)).toFixed(5),c=c.replace("()",l).replace("()",n)),c;case 139:return(a||a===0)&&(i=+a.toFixed(1),l=Math.round(+(Math.abs(a)-Math.abs(i)).toFixed(5)*100),n=+(+(Math.abs(a)-(+Math.abs(a)).toFixed(2)).toFixed(5)*1e4).toFixed(5),c=c.replace("()",i).replace("()",n*(l?-1:1))),c;case 140:return e.betName=this.transformBetNameByType(N(d({},e),{TT:91})),this.transformBetNameByType(N(d({},e),{TT:13}));case 143:return(a||a===0)&&(a=a.toString(),i=parseInt(a.slice(-2)),l=parseInt(a.slice(-4,-2)),n=parseInt(a.slice(-7,-5)),s=parseInt(a.slice(-9,-7)),r=parseInt(a.slice(-11,-9)),o=parseInt(a.slice(-13,-11)),t=parseInt(a.slice(-15,-13)),c=c.replace("()",t).replace("()",o).replace("()",r).replace("()",s).replace("()",n).replace("()",l).replace("()",i)),c;case 144:return(a||a===0)&&(i=Math.abs(parseInt(a)),l=+(a-parseInt(a)).toFixed(5)*1e3,c=c.replace("()",i).replace("()",l)),c;case 145:return u&&(u=u.split(" - ").length===1?u.split("/"):u.split(" - "),u.length&&u.forEach(y=>{c=c.replace("[]",y)})),c;case 146:return e.betName=this.transformBetNameByType(N(d({},e),{TT:145})),this.transformBetNameByType(N(d({},e),{TT:3}));case 147:return e.betName=this.transformBetNameByType(N(d({},e),{TT:145})),this.transformBetNameByType(N(d({},e),{TT:5}));case 148:return e.betName=this.transformBetNameByType(N(d({},e),{TT:99})),this.transformBetNameByType(N(d({},e),{TT:81}));case 149:return e.betName=this.transformBetNameByType(N(d({},e),{TT:99})),this.transformBetNameByType(N(d({},e),{TT:85}));case 150:return this.transformBetNameByType(N(d({},e),{TT:145}));case 151:return e.betName=this.transformBetNameByType(N(d({},e),{TT:91})),this.transformBetNameByType(N(d({},e),{TT:85}));case 152:return e.betName=this.transformBetNameByType(N(d({},e),{TT:119})),this.transformBetNameByType(N(d({},e),{TT:7}));case 153:return(a||a===0)&&(i=parseInt(a),l=+((parseFloat(a)-i)*1e3).toFixed(5),n=+((i/1e3-parseInt(i/1e3))*1e3).toFixed(5),c=c.replace("()",parseInt(i/1e3)).replace("()",n).replace("()",l)),c;case 154:return e.betName=this.transformBetNameByType(N(d({},e),{TT:99})),this.transformBetNameByType(N(d({},e),{TT:153}));case 155:return(a||a===0)&&(i=parseInt(a),l=+((parseFloat(a)-i)*1e6).toFixed(5),c=c.replace("()",i).replace("()",Math.round(l))),c;case 156:return(a||a===0)&&(i=parseInt(a),l=+(i/1e4%1*1e4).toFixed(5),n=+(a%1*1e4).toFixed(5),c=c.replace("()",parseInt(i/1e4)).replace("()",l).replace("()",n)),c;case 157:return(a||a===0)&&(i=parseInt(a),l=parseInt((i/1e5%1*100).toFixed(5)),n=parseInt((i/1e3%1*1e3).toFixed(5)),s=parseInt((a%1*100).toFixed(5)),r=parseInt((+(a*100).toFixed(5)%1*100).toFixed(5)),o=parseInt((+(a*1e4).toFixed(5)%1*1e3).toFixed(5)),c=c.replace("()",parseInt(i/1e5).toString().padStart(2,"0")).replace("()",l.toString().padStart(2,"0")).replace("()",n.toString().padStart(3,"0")).replace("()",s.toString().padStart(2,"0")).replace("()",r.toString().padStart(2,"0")).replace("()",o.toString().padStart(3,"0"))),c;case 158:return(a||a===0)&&(i=parseInt(a),l=+(i/100%1*100).toFixed(5),n=+(a%1*1e4).toFixed(5),c=c.replace("()",parseInt(i/100).toString().padStart(2,"0")).replace("()",l.toString().padStart(2,"0")).replace("()",n.toString().padStart(3,"0"))),c;default:return c}}};var LC={betNameParser:NC};const{betNameParser:BC}=LC,MC=({marketParam:e,playerName:t="",marketType:o,sportId:r,marketNameTemplate:s,marketTemplateType:n,marketGroupId:l,language:i="",firstOpponentName:a="",secondOpponentName:u=""})=>$_$() && BC.transformBetNameByType({P:e,Pl:{Name:t},T:o,sportId:r,betName:s,TT:n,groupId:l,lng:i}).replace(/\^1\^/g,a).replace(/\^2\^/g,u).replace(/\[\]/g,t);var Su={generateMarketName:MC};const aa=[5,4],yu=[4,2],Iu=[0,1,2,3,4,6,7,8,10001,9],pf=[10001],Eu=[5],K3=[1,2,4,1,2,1],W3=[0,1,2,9],df=[0,1,2,3,4,5,6,9],mf=[0,1,9],_f=[0,1,3,6,9],hf=[2,4],Y3=[2,4],j3=[1,10001,0],Ic=2,ff=[1,4,6,9],Z3={1:.1,10:.5,50:1,500:10,2e3:100,6e3:500,other:1e3},GC=[142,134,133,131,129],q3=[100,109,103,130,158218],kC=105781,J3={AMOUNT_CHANGED:kC},X3={BONUS:"Bonuses"},z3=15,Q3=1e15-1,wC=6414,Tu="SP",gf=70,ia=707,e5=22,t5=[1,2,4,6,3],o5=[9,10,7,8,11,12,13,14,3827,3828,3829,3830,7778,7779,7780,7781],DC=[zi.AR,zi.FA,zi.KU],FC=[136],zr=({gameId:e,param:t,typeId:o,playerId:r,duelMarketAdditionalId:s,isBetBuilder:n})=>[e,t,o,r,s,n].some(Boolean)?`${e}-${t}-${o}-${r}${s?`-${s}`:""}${n?"-bb":""}`:void 0,UC=e=>{const t=Math.abs(e);return e<0?`-${t}+`:`+${t}-`},xC=e=>{const t=String(e);if(Math.trunc(e)===e)return t;const[o,r]=t.split("."),s=`${r}${"0".repeat(3)}`.slice(0,3),n=+`${s.slice(0,2)}.${s.charAt(2)}`;return`(${o}) ${n}`},$C=e=>{var t;for(const o of CC)if((t=Yo[o])!=null&&t.includes(e))return!0;return!1},VC=(e,t)=>{if(t){if(Yo[2].includes(e))return UC(t);if($C(e))return xC(t)}},jn=e=>e===wC,lr=({additionalType:e="",name:t="",isParam:o,coef:r,coefByView:s,gameId:n,kind:l,playerId:i=0,typeId:a=0,groupId:u=0,param:p=AC.includes(u)?0:void 0,paramView:m,groupName:c,playerName:_,firstOpponentName:h,secondOpponentName:g,sportId:S,champId:P,subSportId:v,sportName:R,gameName:y,champName:A,isLocked:E,isTop:w,expressId:L,linkId:V,duelMarketAdditionalId:U,isBetBuilder:H=!1,id:k=zr({gameId:n!=null?n:0,param:p!=null?p:0,typeId:a,playerId:i,duelMarketAdditionalId:U,isBetBuilder:H}),gameType:F,mainGameId:te,ruleId:ce,builderMarkets:x=[],gameTypeId:de,gamePeriodId:se}={})=>{$_$();var ve,K;const Se=jn(a)?Tu:void 0,W=(ve=o&&VC(a!=null?a:0,p)||r)!=null?ve:"-";return jt({additionalType:e,name:t,isParam:o,gameId:n,kind:l,param:p,paramView:m,playerId:i,typeId:a,groupId:u,id:k,coef:Se?"0":W,coefByView:(K=Se!=null?Se:s)!=null?K:W.toString(),isLive:ff.includes(l),isSpecialCoef:jn(a)&&!r,groupName:c,playerName:_,firstOpponentName:h,secondOpponentName:g,sportId:S,champId:P,subSportId:v,sportName:R,gameName:y,champName:A,isLocked:E,isTop:w,expressId:L,linkId:V,gameType:F,duelMarketAdditionalId:U,isBetBuilder:H,mainGameId:te,ruleId:ce,builderMarkets:x,gameTypeId:de,gamePeriodId:se})},HC="ID",jp="CF",KC="CV",WC="T",Sf="EI",YC="EG",yf=(e,t,o,r,s)=>{$_$();var n,l;return lr({additionalType:t.additionalType,coef:e.C,coefByView:e.CV||e.C,groupId:e.G,typeId:e.T,param:e.P,paramView:e.PV,playerName:(n=e.PL)==null?void 0:n.N,playerId:(l=e.PL)==null?void 0:l.I,expressId:e[Sf],firstOpponentName:t.firstOpponentName,secondOpponentName:t.secondOpponentName,gameId:t.id,sportId:t.sportId,kind:t.sectionType,gameName:t.name,champName:t.champName,isLocked:!!e.B,isTop:!!e.CE&&(o===void 0||o>=10),gameType:t.type,gameTypeId:t.typeId,gamePeriodId:t.gamePeriodId,duelMarketAdditionalId:r,isBetBuilder:s,ruleId:e.RI})};function If({game:e,unparsedMarket:t,groupTemplateModel:o,marketsCount:r,language:s,duelMarketAdditionalId:n,isBetBuilder:l}){var u,p,m;const i=yf(t,e,r,n,l),a=(u=o==null?void 0:o.markets)==null?void 0:u[i.typeId];return i.groupName=(p=o==null?void 0:o.name)!=null?p:"",i.name=Su.generateMarketName({marketParam:i.param,playerName:i.playerName,marketType:i.typeId,sportId:i.sportId,marketTemplateType:a==null?void 0:a.templateTypeId,marketNameTemplate:(m=a==null?void 0:a.nameTemplate)!=null?m:"",marketGroupId:i.groupId,language:s,firstOpponentName:e.firstOpponentName,secondOpponentName:e.secondOpponentName}),i}const jC=3,ZC=30;function qC(e){$_$();const t=e.length===1,o=e[0].length>ZC;if(t&&o){const r=Math.ceil(e[0].length/jC);return gi(e[0],r)}return e}var JC=Object.defineProperty,XC=Object.defineProperties,zC=Object.getOwnPropertyDescriptors,Zp=Object.getOwnPropertySymbols,QC=Object.prototype.hasOwnProperty,eb=Object.prototype.propertyIsEnumerable,qp=(e,t,o)=>t in e?JC(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,tb=(e,t)=>{for(var o in t||(t={}))QC.call(t,o)&&qp(e,o,t[o]);if(Zp)for(var o of Zp(t))eb.call(t,o)&&qp(e,o,t[o]);return e},ob=(e,t)=>XC(e,zC(t));function rb({unparsedMarketColumns:e,game:t,groupTemplateModel:o,language:r,duelMarketAdditionalId:s,isBetBuilder:n}){const l=e.flat().length,i=e.map(a=>a.map(u=>{var p;return If({game:t,unparsedMarket:ob(tb({},u),{P:(p=u.P)!=null?p:0}),groupTemplateModel:o,marketsCount:l,language:r,duelMarketAdditionalId:s,isBetBuilder:n})}));return qC(i)}const Ou=(e,t)=>e.map(o=>yf(o,t));var sb=Object.defineProperty,nb=Object.defineProperties,ab=Object.getOwnPropertyDescriptors,Jp=Object.getOwnPropertySymbols,ib=Object.prototype.hasOwnProperty,lb=Object.prototype.propertyIsEnumerable,Ec=(e,t,o)=>t in e?sb(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,cb=(e,t)=>{for(var o in t||(t={}))ib.call(t,o)&&Ec(e,o,t[o]);if(Jp)for(var o of Jp(t))lb.call(t,o)&&Ec(e,o,t[o]);return e},ub=(e,t)=>nb(e,ab(t)),Vl=(e,t,o)=>Ec(e,typeof t!="symbol"?t+"":t,o);class Dn{constructor(t,o,{marketsNameType:r=Yn}={marketsNameType:Yn}){Vl(this,"betModelManager"),Vl(this,"marketsNameType"),Vl(this,"language"),this.betModelManager=t,this.marketsNameType=r,this.language=o}async parseMarketGroups(t,o=[],r=[],s=!1){$_$();let n,l;const i=(o||[]).map(async u=>{$_$();var p,m,c,_;let h,g;const S=u.G,P=u.GS||0,v=u.SS||!1,R=u.E,y=(p=([h,g]=I(()=>this.betModelManager.getGroupTemplateById({groupId:Number(S),marketsNameType:this.marketsNameType})),h=await h,g(),h))!=null?p:{name:""},A=t.typeId===Ui?r.join(":"):"";return y&&y.groupNames&&(y.name=(m=y.groupNames[P])!=null?m:y.name),y.name?new af({id:`${S}:${P}:${t.id}`,groupId:S,groupShortId:P,foreignId:S,name:(c=y.name)!=null?c:"",gameId:t.id,gameName:(_=t.name)!=null?_:"",specialSign:v,marketColumns:rb({unparsedMarketColumns:R,game:t,groupTemplateModel:y,language:this.language,duelMarketAdditionalId:A,isBetBuilder:s})}):void 0});return([n,l]=I(()=>Promise.all(i)),n=await n,l(),n).filter(fe)}parseMarketsWithName(t,o){const s=Ou(t,o).map(n=>{const l=!!Yo[n.groupId],i=a=>{const{markets:u={}}=a!=null?a:{},p=u[n.typeId],m=Su.generateMarketName({marketType:n.typeId,sportId:n.sportId,marketTemplateType:p==null?void 0:p.templateTypeId,marketNameTemplate:p==null?void 0:p.nameTemplate,marketGroupId:n.groupId,language:this.language});return lr(ub(cb({},n),{name:m==null?void 0:m.replace(/[()]/g,"")}))};return this.betModelManager.getGroupTemplateById({groupId:Number(n.groupId),isDefaultGroup:l,marketsNameType:this.marketsNameType}).then(i)});return Promise.all(s)}}async function pb({marketsNameType:e,marketDisplaySettings:t}){$_$();let o,r;const{betModelsManager:s,siteConfig:n}=Bt();if(this.unparsedMarketGroupsByGameId){const l=new Dn(s,n.lng,{marketsNameType:e}),a=([o,r]=I(()=>Promise.all(Object.entries(this.unparsedMarketGroupsByGameId).map(([u,p])=>l.parseMarketGroups(this.gamesById[u],p)))),o=await o,r(),o).flat();this.gameSetMarketGroups(a),this.gameSetFilteredMarketGroups(a),[o,r]=I(()=>this.gameUpdateMarketGridLayout({marketDisplaySettings:t})),await o,r(),this.gameSetUnparsedMarketGroupsByGameId(void 0)}}async function db(e){const{allMarketGroupsCollapsedStorageKey:t,gameStorageValueExpireDate:o}=this;this.gameSetAreAllMarketGroupsCollapsed(e),this.gamePersistValueInAppStorage({key:t,value:e,options:{expireDate:o}})}async function mb(e){$_$();let t,o;const{collapsedMarketGroupsStorageKey:r,gameStorageValueExpireDate:s}=this;this.gameSetCollapsedMarketGroupIds(e),[t,o]=I(()=>this.gamePersistValueInAppStorage({key:r,value:e,options:{expireDate:s}})),await t,o()}async function _b(e){$_$();let t,o;const{expandedMarketGroupsStorageKey:r,gameStorageValueExpireDate:s}=this;this.gameSetExpandedMarketGroupIds(e),[t,o]=I(()=>this.gamePersistValueInAppStorage({key:r,value:e,options:{expireDate:s}})),await t,o()}var hb=Object.defineProperty,Xp=Object.getOwnPropertySymbols,fb=Object.prototype.hasOwnProperty,gb=Object.prototype.propertyIsEnumerable,zp=(e,t,o)=>t in e?hb(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,Sb=(e,t)=>{for(var o in t||(t={}))fb.call(t,o)&&zp(e,o,t[o]);if(Xp)for(var o of Xp(t))gb.call(t,o)&&zp(e,o,t[o]);return e};async function yb(e,t){$_$();var o,r;let s,n;!e.isPinned?(this.gameSetPinnedMarketGroupForeignId((o=e.data)==null?void 0:o.foreignId),[s,n]=I(()=>this.gameUpdateMarketGridLayout({marketDisplaySettings:t.marketDisplaySettings})),await s,n()):(this.gameDeletePinnedMarketGroupForeignId((r=e.data)==null?void 0:r.foreignId),[s,n]=I(()=>this.gameUpdate(Sb({skipRestoreUiState:!0},t))),await s,n()),[s,n]=I(()=>$_$() && this.gamePersistValueInAppStorage({key:cr.GAME_PINNED_MARKET_GROUP_FOREIGN_IDS,value:this.pinnedMarketGroupForeignIds})),await s,n()}class Ef{constructor({playerByIds:t={},awayTeamActivePlayerIds:o=[],homeTeamActivePlayerIds:r=[],awayTeamAbsentPlayerIds:s=[],homeTeamAbsentPlayerIds:n=[]}={}){T(this,"playerByIds");T(this,"awayTeamActivePlayerIds");T(this,"homeTeamActivePlayerIds");T(this,"awayTeamAbsentPlayerIds");T(this,"homeTeamAbsentPlayerIds");this.playerByIds=t,this.awayTeamActivePlayerIds=o,this.homeTeamActivePlayerIds=r,this.awayTeamAbsentPlayerIds=s,this.homeTeamAbsentPlayerIds=n}}async function Ib(){$_$();let e,t;const{apiInstances:{gameApi:o},siteConfig:r,logger:s}=Bt();let n=new Ef;try{n=([e,t]=I(()=>o.getLineups({statisticGameId:this.currentGame.statisticGameId,language:r.lng})),e=await e,t(),e)}catch(l){s.error("gameEnsureLineupsAreLoaded action",l)}this.gameSetPlayersByIds(n.playerByIds),this.gameSetPlayersByIds(n.playerByIds),this.gameSetAwayTeamActivePlayerIds(n.awayTeamActivePlayerIds),this.gameSetHomeTeamActivePlayerIds(n.homeTeamActivePlayerIds),this.gameSetAwayTeamAbsentPlayerIds(n.awayTeamAbsentPlayerIds),this.gameSetHomeTeamAbsentPlayerIds(n.homeTeamAbsentPlayerIds)}const Ia=(e,t)=>e.some(o=>{var r;return((r=o.team.name)==null?void 0:r.localeCompare(t))===0});async function Eb(){const{apiInstances:{gameApi:e},siteConfig:t,logger:o}=Bt(),{sportId:r,stageId:s,firstOpponentName:n,secondOpponentName:l}=this.currentGame;let i=this.standingsGroups.some(a=>Ia(a,n)&&Ia(a,l));if(!i){const a=this.standingsGroups.some(p=>Ia(p,n)),u=this.standingsGroups.some(p=>Ia(p,l));i=a&&u}if(!i)return e.getStandingsData({stageId:s,sportId:r,language:t.lng}).catch(a=>(o.error("gameEnsureStandingsDataIsLoaded action",a),[[]])).then(a=>this.gameSetStandingsGroups(a))}const Tc={RUB:100,BYR:5e4,UAH:50,AZN:2.5,TMT:5,GEL:10,KGS:50,MDL:10,KZT:500,USD:2.5,EUR:2.5,AMD:500,TJS:10,PRB:10,GBP:2.5,TRY:10,MNT:5e3,COP:5e3,XAF:500,XOF:500,BRL:10,CNY:25,IRR:1e5,CLP:1e3,PEN:5,ARS:50,VEF:1e5,MXN:10,UYU:50,HTG:50,PLN:10,CHF:5,BGN:5,CZK:50,DKK:50,HRK:10,HUF:500,SEK:50,NOK:50,RSD:100,RON:10,ALL:100,BAM:5,ISK:500,MKD:100,AUD:1,NZD:5,CAD:5,BOB:5,PYG:5e3,UZS:5e3,BDT:50,VND:5e4,KRW:5e3,DTC:200,INR:100,ILS:5,JPY:500,MYR:10,PHP:50,SGD:5,THB:50,TWD:100,NGN:100,ETB:10,EGP:10,CDF:500,ZAR:10,TZS:1e3,SDG:10,KES:100,DZD:50,UGX:500,MAD:10,GHS:5,MZN:10,AOA:500,AED:10,HKD:10,IDR:1e4,MMK:1e3,KWD:.5,SAR:10,BYN:5,TND:5,OMR:.5,JOD:1,BHD:1,QAR:10,ZMW:5,ZWL:100,IQD:500,PKR:100,BCN:500,SIB:10,DGB:50,GNF:5e3,BTS:10,RWF:500,BWP:10,LKR:100,NPR:50,BIF:500,GMD:10,DJF:50,CVE:100,KMF:100,LSL:5,LRD:50,LYD:5,MGA:1e3,MWK:500,NAD:5,SZL:10,SCR:5,SOS:100,MUR:50,XVG:10,TRX:50,XRP:5,LBP:1e3,CRC:500,BAT:1,IRT:50,SLL:1e3,HNL:10,CUP:10,DOP:50,GTQ:5,NIO:10,PAB:1};var Tb=Object.defineProperty,Qp=Object.getOwnPropertySymbols,Ob=Object.prototype.hasOwnProperty,vb=Object.prototype.propertyIsEnumerable,ed=(e,t,o)=>t in e?Tb(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,Pb=(e,t)=>{for(var o in t||(t={}))Ob.call(t,o)&&ed(e,o,t[o]);if(Qp)for(var o of Qp(t))vb.call(t,o)&&ed(e,o,t[o]);return e};const Ab=()=>({amountStepByCurrencyIso:Pb({},Tc),isManualAmountStep:!1,changeCoefAction:2,isAutoMax:!1,isAutoMaxShown:!1,isVipBet:!1,isVipBetShown:!1,isBalanceShown:!0,isPossibleWinShown:!0,isSelectAccountShown:!0,isCouponFixed:!1,oneClickAmount:0,isActiveOneClick:!1,exactCoef:0,isDropOnScoreChange:!1,expressId:void 0,bonusAccountOneClickAmount:0,currencyIsoUsed:void 0,STORE_PREVENT_SAVE:void 0,stakes:void 0}),Cb=()=>({tab:1,typeId:0,isActivePlaceBet:!1,isActiveAutoMax:!1,isActiveVipBet:!1,isActiveSystemBanker:!0,isCouponLoadedFromCode:!1,isVisibleQuickCoupon:!1,activePlaceBetIds:[],bets:[],accountId:void 0,amount:void 0,amountByBlockId:{},amountByBetId:{},minBetAmount:0,maxBetAmount:Number.POSITIVE_INFINITY,availablePrepaidAmount:0,coef:void 0,coefByView:void 0,promoCode:void 0,manualPromoCode:void 0,promoCodes:[],systemValue:2,systemValues:[],antiExpressCoef:0,successCoupon:void 0,singlesResultCoupons:[],loadCouponInputValue:"",expressId:void 0,addedAtByBetId:{},maxPayout:void 0,initialAmount:void 0,amountStep:void 0,calcSystemsMin:!1,manuallyDeletedBonusBet:!1,hyperBonusPercent:void 0,minHyperBonusBetLimit:void 0,maxHyperBonusLimit:void 0,settings:Ab(),isNeedOfficeBindPhoneModal:!1,eventCountToBoost:void 0,minEventCoefToBoost:void 0,minEventCountToBoost:void 0,isExpressBoost:void 0,manuallyDeletedExpressBoost:!1,marketsLocked:[]}),Tf=e=>e.reduce((t,o)=>(t[o.blockId]?t[o.blockId].push(o):t[o.blockId]=[o],t),{});var bb=Object.defineProperty,Rb=(e,t,o)=>t in e?bb(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,mt=(e,t,o)=>Rb(e,typeof t!="symbol"?t+"":t,o);class Hl{constructor({id:t,accountId:o,amount:r,amountByBlockId:s,bets:n,changeCoefAction:l,coef:i,coefByView:a,coefViewId:u,exactCoef:p,isDropOnScoreChange:m,prepaidAmount:c,refId:_,systemValue:h,typeId:g,userId:S,hyperBonusPercent:P,minHyperBonusBetLimit:v,maxHyperBonusLimit:R}){mt(this,"id"),mt(this,"accountId"),mt(this,"amount"),mt(this,"amountByBlockId"),mt(this,"bets"),mt(this,"changeCoefAction"),mt(this,"coef"),mt(this,"coefByView"),mt(this,"coefViewId"),mt(this,"exactCoef"),mt(this,"isDropOnScoreChange"),mt(this,"prepaidAmount"),mt(this,"refId"),mt(this,"systemValue"),mt(this,"typeId"),mt(this,"userId"),mt(this,"hyperBonusPercent"),mt(this,"minHyperBonusBetLimit"),mt(this,"maxHyperBonusLimit"),this.id=t,this.accountId=o,this.amount=r,this.amountByBlockId=s,this.bets=n,this.changeCoefAction=l,this.coef=i,this.coefByView=a,this.coefViewId=u,this.exactCoef=p,this.isDropOnScoreChange=m,this.prepaidAmount=c,this.refId=_,this.systemValue=h,this.typeId=g,this.userId=S,this.hyperBonusPercent=P,this.minHyperBonusBetLimit=v,this.maxHyperBonusLimit=R}get hasBonus(){return this.bets.some(t=>t.isBonus)}get hasBlocks(){return aa.includes(this.typeId)}get hasSystem(){return yu.includes(this.typeId)}get hasAmount(){return Iu.includes(this.typeId)}get hasBetAmount(){return pf.includes(this.typeId)}get hasBlockAmount(){return Eu.includes(this.typeId)}get hasCoef(){return df.includes(this.typeId)}get hasPossibleWin(){return _f.includes(this.typeId)}get hasMinPossibleWin(){return hf.includes(this.typeId)}get hasBlockLobby(){return this.blockIds.includes(0)}get bet(){return this.bets[0]}get betIds(){return this.bets.map(t=>t.id)}get betsByBlockId(){var t;return Tf((t=this.bets)!=null?t:[])}get blockIds(){const t=this.bets.map(o=>o.blockId).sort((o,r)=>o-r);return Yt(t)}get betsIndexes(){let t=0;return Object.values(this.betsByBlockId).map(o=>o.map(()=>t++))}get hasSpecialCoef(){return this.coefByView===Tu||this.bets.some(({market:t})=>t.isSpecialCoef)}get possibleWin(){var t;return ka(((t=this.amount)!=null?t:0)*this.coef)}get systemOffset(){return this.hasBlocks?this.blockIds.filter(Boolean).length:this.bets.length}}var Nb=Object.defineProperty,Lb=(e,t,o)=>t in e?Nb(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,Ea=(e,t,o)=>Lb(e,typeof t!="symbol"?t+"":t,o);class vu{constructor({offset:t,value:o,minBetAmount:r,combo:s}){Ea(this,"value"),Ea(this,"offset"),Ea(this,"minBetAmount"),Ea(this,"combo"),this.value=o,this.offset=t,this.minBetAmount=r,this.combo=s}}const $i=({id:e,permanentId:t=e?Number(e):void 0,firstOpponentName:o,firstOpponentNameEng:r=o,secondOpponentName:s,secondOpponentNameEng:n=s,champName:l,champNameEng:i=l}={})=>$_$() && t===void 0?"":r&&n?Co(`${t}-${nr(r)}-${nr(n)}`):r?Co(`${t}-${nr(r)}`):i?Co(`${t}-${nr(i)}`):String(t),Qr=({sportName:e,sportNameEng:t=e})=>$_$() && t?Co(nr(t)):void 0,Bb=e=>({[-2]:"coupon_bet_status_not_calculated",[-1]:"coupon_bet_status_game_not_started",0:"coupon_bet_status_lose",1:"coupon_bet_status_win",2:"coupon_bet_status_return",3:"coupon_bet_status_forced_return",4:"coupon_bet_status_half_win_half_return",5:"coupon_bet_status_half_lose_half_return",6:"coupon_bet_status_half_lose_half_win"})[e];var Mb=Object.defineProperty,Gb=(e,t,o)=>t in e?Mb(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,Ee=(e,t,o)=>Gb(e,typeof t!="symbol"?t+"":t,o);class oi{constructor({additionalType:t,market:o,mainGameId:r,blockId:s,statusId:n=-2,typeId:l,gamePeriodId:i,cyberTypeId:a,sportNameEng:u,subSportNameForUrl:p,champNameEng:m,calculatedDateTime:c,gameNumber:_,gameIsFinished:h,gameIsLiveInLive:g,gamePermanentId:S,gameStatusId:P,gameStartDateTime:v,gameStartDateTimeFormatted:R,gameTimeSec:y,firstOpponentNameEng:A,secondOpponentNameEng:E,firstOpponentFullScore:w,secondOpponentFullScore:L,scoreFormatted:V,status:U,isBlocked:H=!1,isDepend:k=!1,isBannedExpress:F=!1,expressId:te,statisticId:ce,playersDuel:x=[],pageType:de,pageSubType:se,menuSectionNameForUrl:ve,builderMarkets:K=[]}){Ee(this,"additionalType"),Ee(this,"market"),Ee(this,"mainGameId"),Ee(this,"blockId"),Ee(this,"statusId"),Ee(this,"typeId"),Ee(this,"gamePeriodId"),Ee(this,"cyberTypeId"),Ee(this,"sportNameEng"),Ee(this,"subSportNameForUrl"),Ee(this,"champNameEng"),Ee(this,"calculatedDateTime"),Ee(this,"gameNumber"),Ee(this,"gameIsFinished"),Ee(this,"gameIsLiveInLive"),Ee(this,"gamePermanentId"),Ee(this,"gameStatusId"),Ee(this,"gameStartDateTime"),Ee(this,"gameStartDateTimeFormatted"),Ee(this,"gameTimeSec"),Ee(this,"firstOpponentNameEng"),Ee(this,"secondOpponentNameEng"),Ee(this,"firstOpponentFullScore"),Ee(this,"secondOpponentFullScore"),Ee(this,"scoreFormatted"),Ee(this,"status"),Ee(this,"isBlocked"),Ee(this,"isDepend"),Ee(this,"isBannedExpress"),Ee(this,"expressId"),Ee(this,"statisticId"),Ee(this,"playersDuel"),Ee(this,"pageType"),Ee(this,"pageSubType"),Ee(this,"menuSectionNameForUrl"),Ee(this,"builderMarkets"),this.additionalType=t,this.market=o,this.blockId=s,this.statusId=n,this.typeId=l,this.gamePeriodId=i,this.cyberTypeId=a,this.sportNameEng=u,this.subSportNameForUrl=p,this.champNameEng=m,this.calculatedDateTime=c,this.gameNumber=_,this.gameIsFinished=h,this.gameIsLiveInLive=g,this.gamePermanentId=S,this.gameStatusId=P,this.gameStartDateTime=v,this.gameStartDateTimeFormatted=R,this.gameTimeSec=y,this.firstOpponentNameEng=A,this.secondOpponentNameEng=E,this.firstOpponentFullScore=w,this.secondOpponentFullScore=L,this.scoreFormatted=V,this.status=U,this.isBlocked=H!=null?H:!1,this.isDepend=k!=null?k:!1,this.isBannedExpress=F!=null?F:!1,this.expressId=te,this.statisticId=ce,this.playersDuel=x,this.pageType=de,this.pageSubType=se,this.menuSectionNameForUrl=ve,this.builderMarkets=K!=null?K:[],this.mainGameId=r,jt(this)}get id(){return this.market.id}get caption(){var t;return[(t=this.gameNumber)!=null?t:this.market.sportName,this.market.champName].filter(Boolean).join(". ")}get isBonus(){return this.market.sportId===0||[gf,ia].includes(this.market.typeId)}get isGameFinished(){return this.gameIsFinished||this.gameStatusId===4}get isLocked(){return this.isBlocked||this.isDepend||this.isBannedExpress}get isLive(){return!this.isGameFinished&&(!!this.gameTimeSec||this.gameIsLiveInLive||this.gameStatusId===2||this.gameStatusId===3||this.market.isLive)}get hasScores(){return this.market.isLive&&typeof this.firstOpponentFullScore=="number"&&typeof this.secondOpponentFullScore=="number"}get hasStatistic(){return!!this.statisticId&&z0.includes(this.market.sportId)}get isSportWithoutScore(){return sf.includes(this.market.sportId)}get statusLabel(){return Bb(this.statusId)}get sportNameForUrl(){return Qr({sportName:this.market.sportName,sportNameEng:this.sportNameEng})}get gameNameForUrl(){return $i({id:this.market.gameId,permanentId:this.isLive?this.market.gameId:this.gamePermanentId,firstOpponentName:this.market.firstOpponentName,firstOpponentNameEng:this.firstOpponentNameEng,secondOpponentName:this.market.secondOpponentName,secondOpponentNameEng:this.secondOpponentNameEng,champName:this.market.champName,champNameEng:this.champNameEng})}get champNameForUrl(){return na({champId:this.market.champId,champName:this.market.champName,champNameEng:this.champNameEng})}}const Of=(e,t=3)=>parseFloat(e.toFixed(t)),ws=e=>Of(e).toString(),td=e=>ws(e),kb=e=>e>=2?`+${Math.round((e-1)*100)}`:e>1?`-${Math.round(100/(e-1))}`:"1",wb=e=>{$_$();const[t,o]=hy(e-1);return`${t}/${o}`},od=e=>ws(e-1),rd=e=>e>=2?ws(e-1):e>1?ws(-1/(e-1)):"1",sd=e=>e>2?ws(1/(1-e)):e>1?ws(e-1):"1",Db=(e,t)=>({0:td,1:wb,2:kb,3:td,4:od,5:rd,6:sd,14:od,15:rd,16:sd})[t](e),Fb=(e=0,t=0)=>{const o=t>=1&&t<10?1+t/100:1.1;return Of(e*o)},nd={RUB:150,BYR:1e5,UAH:50,AZN:5,TMT:10,GEL:40,KGS:100,MDL:30,KZT:1e3,USD:5,EUR:5,AMD:1500,TJS:10,PRB:30,GBP:3,TRY:50,MNT:15e3,µBT:50,COP:15e3,mBT:1.5,XAF:500,XOF:500,BRL:15,CNY:100,IRR:5e5,CLP:5e3,PEN:15,ARS:100,VEF:5e5,MXN:50,UYU:150,HTG:100,PLN:50,CHF:5,BGN:15,CZK:150,DKK:100,HRK:100,HUF:3e3,SEK:250,NOK:200,RSD:500,RON:50,ALL:400,BAM:10,ISK:500,MKD:200,AUD:3,NZD:30,CAD:15,BOB:25,PYG:2e4,UZS:1e4,BDT:200,VND:2e5,KRW:2e4,DTC:1e3,INR:300,ILS:30,JPY:1e3,MYR:50,PHP:300,SGD:20,THB:200,TWD:500,NGN:1e3,ETB:50,EGP:20,CDF:2e3,ZAR:30,TZS:3e3,SDG:50,KES:200,DZD:150,UGX:15e3,MAD:20,GHS:20,MZN:100,AOA:1e3,AED:30,HKD:100,IDR:5e4,MMK:5e3,KWD:3,SAR:30,BYN:10,TND:10,OMR:2,JOD:2,BHD:5,QAR:30,ZMW:20,ZWL:500,IQD:3e3,GAME:5,XEM:5,PKR:250,mDASH:5,mLTC:25,mETH:50,mXMR:25,mZEC:50,BCN:5e3,SIB:50,DGB:250,mBCH:50,mETC:250,GNF:1e4,BTS:50,RWF:2500,BWP:15,mBTG:50,LKR:200,NPR:250,BIF:1e3,GMD:50,DJF:200,CVE:500,KMF:500,LSL:10,LRD:100,LYD:5,MGA:5e3,MWK:1e3,NAD:25,SZL:20,SCR:25,SOS:500,MUR:100,DOGE:500,XVG:50,QTUM:3,STRAT:25,TRX:150,XRP:25,LBP:1e4,CRC:2500,USDT:15,LINK:1,OMG:1.5,BAT:5,TMTM:20,IRT:100,SLL:5e3,HNL:50,CUP:50,DOP:100,GTQ:20,NIO:50,PAB:2.5,VES:100},vf=(e,t)=>Sr(e,t<1?1:t)-e;var Ub=Object.defineProperty,xb=Object.defineProperties,$b=Object.getOwnPropertyDescriptors,ad=Object.getOwnPropertySymbols,Vb=Object.prototype.hasOwnProperty,Hb=Object.prototype.propertyIsEnumerable,id=(e,t,o)=>t in e?Ub(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,ld=(e,t)=>{for(var o in t||(t={}))Vb.call(t,o)&&id(e,o,t[o]);if(ad)for(var o of ad(t))Hb.call(t,o)&&id(e,o,t[o]);return e},cd=(e,t)=>xb(e,$b(t));const Kb={couponAmount:e=>e.amount,couponInitialAmount:e=>{$_$();var t,o;const r=Ot(),{currencyIso:s}=r;return(o=(t=e.initialAmount)!=null?t:nd[s])!=null?o:nd.RUB},couponAntiExpressCoef:e=>e.antiExpressCoef,couponBets:e=>e.bets.map(t=>new oi(t)),couponCoef:e=>e.coef,couponCoefByView:e=>e.coefByView,couponLoadInputValue:e=>e.loadCouponInputValue,couponMaxBetAmount:e=>e.maxBetAmount,couponMinBetAmount:e=>e.minBetAmount,couponCalcSystemsMin:e=>e.calcSystemsMin,couponAvailablePrepaidAmount:e=>e.availablePrepaidAmount,couponIsActivePlaceBet:e=>e.isActivePlaceBet,couponIsActiveSystemBanker:e=>e.isActiveSystemBanker,couponIsCouponLoadedFromCode:e=>e.isCouponLoadedFromCode,couponActivePlaceBetIds:e=>e.activePlaceBetIds,couponPromoCode:e=>e.promoCode,couponManualPromoCode:e=>e.manualPromoCode,couponPromoCodes:e=>e.promoCodes,couponSuccessCoupon:e=>e.successCoupon,couponSinglesResultCoupons:e=>e.singlesResultCoupons,couponSystemValue:e=>e.systemValue,couponTab:e=>e.tab,getHyperBonusPercent:e=>e.hyperBonusPercent,getMinHyperBonusBetLimit:e=>e.minHyperBonusBetLimit,getMaxHyperBonusLimit:e=>e.maxHyperBonusLimit,couponTypeId:e=>e.typeId,couponHasBlocks:e=>aa.includes(e.typeId),couponHasSystem:e=>yu.includes(e.typeId),couponHasExpress:e=>e.typeId===1,couponHasSinglesBets:e=>e.typeId===10001,couponHasAmount:e=>Iu.includes(e.typeId),couponHasMinAmount(e){$_$();var t;return((t=to(305))!=null?t:[]).map(Number).includes(e.typeId)&&this.couponMinBetAmount},couponHasSystemWithBanker(e){return this.couponHasBlockLobby&&e.typeId===2},couponHasMaxAmount(e){$_$();var t;return((t=to(306))!=null?t:[]).map(Number).includes(e.typeId)&&!this.couponIsBonusAccount},couponHasBetAmount:e=>pf.includes(e.typeId),couponHasBlockAmount:e=>Eu.includes(e.typeId),couponHasCoef:e=>df.includes(e.typeId),couponHasExactCoef:e=>mf.includes(e.typeId),couponHasPossibleWin:e=>_f.includes(e.typeId),couponHasMinPossibleWin:e=>hf.includes(e.typeId),couponHasOnlyLineBets(){return this.couponBets.every(e=>!e.market.isLive)},couponMaxPayout:e=>e.maxPayout,couponIsAccessedPromoCode:e=>e.typeId!==10001,couponAccountId:e=>{$_$();var t;const o=gr();return(t=e.accountId)!=null?t:o.activeId},couponAccount(){$_$();return gr().getAccount(this.couponAccountId)},couponCurrencyIso(){$_$();var e,t;const o=Ot();return(t=(e=this.couponAccount)==null?void 0:e.iso)!=null?t:o.currencyIso},couponCurrencySymbol(){var e;return(e=this.couponAccount)==null?void 0:e.symbol},couponAccountMoney(){var e;return(e=this.couponAccount)==null?void 0:e.money},couponIsBonusAccount(){$_$();const e=gr();return!!this.couponAccount&&this.couponAccount===e.bonusAccount},couponAmountByBetId(e){return Object.fromEntries(this.couponBetIds.map(t=>[t,e.amountByBetId[t]]))},couponAmountByBlockId(e){return Object.fromEntries(this.couponBlockIds.map(t=>[t,e.amountByBlockId[t]]))},couponMaxAmountByBlockId(e){return this.couponBlockIds.map(t=>{var o,r;const s=(o=e.amountByBlockId[t])!=null?o:0,n=(r=this.couponBetsByBlockId[t])!=null?r:[],l=n.map(i=>i.market.coef).reduce((i,a)=>i*parseFloat(a!=null?a:0),1);return{blockId:t,amount:s,bets:n,coef:l}}).reduce((t,o,r,s)=>{$_$();var n,l;if(r===0&&!fe(e.maxBetAmount))return t;const i=s[Math.max(0,r-1)],a=r===0?Number(e.maxBetAmount):((n=i==null?void 0:i.coef)!=null?n:0)*((l=i==null?void 0:i.amount)!=null?l:0);return t[o.blockId]=Iv(a,2),t},{})},couponBetIds(){return this.couponBets.flatMap(e=>e.builderMarkets.length?e.builderMarkets.map(t=>t.id):e.id)},couponPossibleWin({amount:e=0,coef:t=0,settings:o={}}){$_$();var r;const s=(r=o==null?void 0:o.exactCoef)!=null?r:0;return ka(e*(s||t))},couponPossiblePayout:({amount:e=0,coef:t=0,settings:o={}})=>{$_$();var r;const s=((r=o==null?void 0:o.exactCoef)!=null?r:0)||t;return ka(vf(e,s))},couponMinPossibleWin(){$_$();const{couponSystemValue:e,couponSystemOffset:t}=this,{amount:o=0,coef:r=0}=this,s=Fa(t)/(Fa(e)*Fa(t-e)),n=o/s*r;return ka(n)},couponBlockIds(){$_$();return Yt(this.couponBets.map(e=>e.blockId).sort((e,t)=>e-t))},couponHasBlockLobby(){return this.couponBlockIds.includes(0)},couponBetsByBlockId(){return Tf(this.couponBets)},couponBetsIndexes(){let e=0;return Object.values(this.couponBetsByBlockId).map(t=>t.map(()=>e++))},couponSystemOffset(){return this.couponHasBlocks||this.couponHasSystemWithBanker?this.couponBlockIds.filter(Boolean).length:this.couponBets.length},couponSystemValues(e){$_$();var t;if(!this.couponHasSystem)return[];const o=this.couponHasBlockLobby?this.couponBlockIds.length-1:this.couponBlockIds.length,r=this.couponTypeId===4||this.couponTypeId===2?o:this.couponBets.length;return this.couponSystemOffset===r&&((t=e.systemValues)!=null&&t.length)?e.systemValues:fy(2,this.couponSystemOffset).map(n=>new vu({value:n,offset:this.couponSystemOffset,minBetAmount:0,combo:0}))},couponHasSpecialCoef:e=>e.bets.some(({market:t})=>jn(t.typeId)&&!t.coef),couponHasBonusBet:e=>{$_$();const t=to(297),o=e.bets.length,r=e.typeId===1,s=e.bets.every(i=>i.market.kind!==7&&parseFloat(i.market.coef)>=1.1),n=o>=3,l=e.coef!==void 0&&e.coef>=1.01;return t&&r&&s&&n&&l},couponBonusBet(){$_$();const e=Ot(),t=this.couponBets.length,o=Fb(1,t),{coefViewId:r}=e;return new oi({market:{coef:o,coefByView:Db(o,r),sportId:0,typeId:gf}})},couponBetsWithBonus(){return this.couponHasBonusBet?this.couponBets.concat(this.couponBonusBet):this.couponBets},couponBaseCoupons(e){$_$();const t=Ot(),o=to(-1e3),r={accountId:this.couponAccountId,changeCoefAction:e.settings.changeCoefAction,coefViewId:t.coefViewId,refId:o,userId:t.getUserId};return e.typeId===10001?this.couponBets.map(s=>new Hl(cd(ld({},r),{amount:e.amountByBetId[s.id],bets:[s],typeId:0}))):[new Hl(cd(ld({},r),{amount:e.amount,amountByBlockId:e.amountByBlockId,bets:this.couponBetsWithBonus,hyperBonusPercent:this.hyperBonusPercent,minHyperBonusBetLimit:this.minHyperBonusBetLimit,maxHyperBonusLimit:this.maxHyperBonusLimit,coef:e.coef,coefByView:e.coefByView,exactCoef:e.settings.exactCoef,isDropOnScoreChange:e.settings.isDropOnScoreChange,systemValue:e.systemValue,typeId:e.typeId}))]},couponBaseCouponsOneClick(e){$_$();const t=Ot(),o=to(-1e3),r=gr();return[new Hl({accountId:r.activeId,amount:e.settings.oneClickAmount,bets:this.couponBets,changeCoefAction:1,coef:e.coef,coefByView:e.coefByView,coefViewId:t.coefViewId,refId:o,typeId:0,userId:t.userId})]},couponIsManuallyDeletedBonusBet:e=>e.manuallyDeletedBonusBet,couponVipBetAvailable(){$_$();var e;const[t,o]=hi(79,-1012);return(t?((e=t[o.id])!=null?e:t.default)==="true":!1)&&Number.isFinite(this.couponMaxBetAmount)&&this.couponHasOnlyLineBets&&this.couponBets.length&&this.couponTypeId!==10001},getAmountStep:e=>{$_$();var t,o;const r=Ot(),{currencyIso:s}=r;return(o=(t=e.settings.amountStepByCurrencyIso[s])!=null?t:Tc[s])!=null?o:Tc.RUB},getAmountStepMore(){$_$();return to(2148)&&!this.isManualAmountStep?Sr(this.getAmountStep,2):this.getAmountStep},getAmountStepLess(){$_$();return to(2148)&&!this.isManualAmountStep?Oh(this.getAmountStep,10):this.getAmountStep},isManualAmountStep:e=>!!e.settings.isManualAmountStep,oneClickAmount:e=>e.settings.oneClickAmount,isActiveOneClick:e=>$_$() && to(617)?e.settings.isActiveOneClick:!1,isCouponFixed:e=>!!e.settings.isCouponFixed,getBonusAccountOneClickAmount:e=>e.settings.bonusAccountOneClickAmount,getIsNeedOfficeBindPhoneModal:e=>e.isNeedOfficeBindPhoneModal,getCurrencyIsoUsed:e=>e.settings.currencyIsoUsed,couponEventCountToBoost:e=>e.eventCountToBoost,couponMinEventCoefToBoost:e=>e.minEventCoefToBoost,couponMinEventCountToBoost:e=>e.minEventCountToBoost,couponIsExpressBoost:e=>e.isExpressBoost,couponIsManuallyDeletedExpressBoost:e=>e.manuallyDeletedExpressBoost,hasBetBuilderMarkets:e=>e.bets.some(t=>!!t.builderMarkets.length),selectedBuilderMarkets:e=>e.bets.flatMap(t=>t.builderMarkets).reduce((t,o)=>(t[o.id]=o,t),{})};var Wb=Object.defineProperty,ud=Object.getOwnPropertySymbols,Yb=Object.prototype.hasOwnProperty,jb=Object.prototype.propertyIsEnumerable,pd=(e,t,o)=>t in e?Wb(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,dd=(e,t)=>{for(var o in t||(t={}))Yb.call(t,o)&&pd(e,o,t[o]);if(ud)for(var o of ud(t))jb.call(t,o)&&pd(e,o,t[o]);return e};const md=({appStorage:e,logger:t})=>{const o=async l=>{$_$();let i,a;try{[i,a]=I(()=>$_$() && e.setItem(cr.ANALYTICS_METRICS,l,{expireDate:new Date(Date.now()+864e5)})),await i,a()}catch(u){t.warn(`AnalyticsModule appStorage error ${u}`)}};return{setStorage:o,updateActionsMetrics:async(l,i)=>{$_$();let a,u;[a,u]=I(()=>o(dd(dd({},l),i))),await a,u()},resetStorage:async()=>{$_$();let l,i;[l,i]=I(()=>o({})),await l,i()},getStorage:async()=>{$_$();let l,i;try{const a=([l,i]=I(()=>$_$() && e.getItem(cr.ANALYTICS_METRICS)),l=await l,i(),l);return a!=null?a:void 0}catch(a){t.warn(`AnalyticsModule appStorage error ${a}`);return}}}},Pf=({fatmanCollector:e,appStorage:t,logger:o,isFatmanAnalyticsAvailable:r})=>{const{push:s,send:n}=e!=null?e:{push(E,w,L){},send(E,w){}},l=(E,w)=>{r&&n(E,w)},i=(E,w)=>{r&&s(E,w)};return{sendClickRegistrationBtn:E=>{i(1e3,{s1:E})},sendEventSmsWasSend:()=>{i(1247)},sendFailSendSms:E=>{i(1253,{s1:E})},sendCorrectCodeFromSms:()=>{i(1252)},clickNotReceivedSms:async()=>{$_$();var E,w;let L,V;const{getStorage:U}=md({appStorage:t,logger:o}),H=(E=([L,V]=I(()=>U()),L=await L,V(),L))!=null?E:{},k=(w=H.authTryCounter)!=null?w:0,F=H.lastAuthPopUpCallTime,te=F?Math.trunc((Date.now()-F)/1e3):0;i(1004,{i1:k,i2:te})},sendSuccessfullBet:({couponType:E,coefType:w,userGeo:L,userRef:V})=>{l(1e4,{i1:E,i2:w,i3:V,s1:L.toLowerCase()})},sendSuccessfullReg:async({type:E,countryCode:w})=>{$_$();var L,V;let U,H;const{getStorage:k}=md({appStorage:t,logger:o}),F=(L=([U,H]=I(()=>k()),U=await U,H(),U))!=null?L:{},te=(V=F.regTryCounter)!=null?V:0,ce=F.lastRegCallTime,x=ce?Math.trunc((Date.now()-ce)/1e3):0;l(1255,{i1:0,i2:x,i3:te,s1:E,s2:w.toLowerCase()})},sendPaymentsPageEvent:()=>{i(10002)},sendPaymentsStatus:E=>{l(10001,{i1:E})},sendEvent:l,sendCaptchaStatusSuccess:(E,w,L)=>{i(10190,{i1:E,s1:w,s2:L})},sendCaptchaStatusFailed:(E,w,L)=>{i(10191,{i1:E,s1:w,s2:L})},sendClickSportEventsAll:()=>{i(10431)},sendClickSportEventsScroll:()=>{i(10432)},sendClickBetEventInfo:()=>{i(10466)}}};var Zb=Object.defineProperty,qb=Object.defineProperties,Jb=Object.getOwnPropertyDescriptors,_d=Object.getOwnPropertySymbols,Xb=Object.prototype.hasOwnProperty,zb=Object.prototype.propertyIsEnumerable,hd=(e,t,o)=>t in e?Zb(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,fd=(e,t)=>{for(var o in t||(t={}))Xb.call(t,o)&&hd(e,o,t[o]);if(_d)for(var o of _d(t))zb.call(t,o)&&hd(e,o,t[o]);return e},Qb=(e,t)=>qb(e,Jb(t));const gd=async(e,t)=>{$_$();let o,r;const{id:s}=to(-1004);if(FC.includes(e.groupId)&&DC.includes(s)&&t===it.short&&typeof e.name=="string"&&(e.name=e.name.split("").reverse().join("")),e.name!==void 0&&e.groupName!==void 0||e.typeId===ia)return lr(e);const n=oo(),l=kR();try{const i=!!Yo[e.groupId],a=([o,r]=I(()=>l.getGroupTemplateById({groupId:Number(e.groupId),isDefaultGroup:i,marketsNameType:t})),o=await o,r(),o),u=a==null?void 0:a.markets[e.typeId],p=Su.generateMarketName({marketParam:e.param,playerName:e.playerName,marketType:e.typeId,sportId:e.sportId,marketTemplateType:u==null?void 0:u.templateTypeId,marketNameTemplate:u==null?void 0:u.nameTemplate,marketGroupId:e.groupId,language:s,firstOpponentName:e.firstOpponentName,secondOpponentName:e.secondOpponentName}),m=u==null?void 0:u.groupId,c=m&&(a!=null&&a.groupNames)?a.groupNames[m]:a==null?void 0:a.name;return Qb(fd({},lr(e)),{name:p,groupName:c})}catch(i){return n.error("createMarketWithName error",i),lr(fd({},e))}},Zn=e=>{$_$();var t,o,r;return fe((t=e.PlayersDuel)==null?void 0:t.Team1Ids)&&fe((o=e.PlayersDuel)==null?void 0:o.Team2Ids)?(r=[...e.PlayersDuel.Team1Ids,...e.PlayersDuel.Team2Ids])==null?void 0:r.join(":"):void 0};var e1=Object.defineProperty,Sd=Object.getOwnPropertySymbols,t1=Object.prototype.hasOwnProperty,o1=Object.prototype.propertyIsEnumerable,yd=(e,t,o)=>t in e?e1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,r1=(e,t)=>{for(var o in t||(t={}))t1.call(t,o)&&yd(e,o,t[o]);if(Sd)for(var o of Sd(t))o1.call(t,o)&&yd(e,o,t[o]);return e};const s1=({analyticsCategory:e}={})=>{$_$();const t=to(509),o=oo(),r=Au(),s=Vn(),{sendEvent:n}=Pf({fatmanCollector:r,appStorage:s,logger:o,isFatmanAnalyticsAvailable:t}),l=c=>$_$() && ap[c]?ap[c]:0,i=c=>{let _=0,h=0,g=0;return Object.entries(c).reduce((S,[P,v])=>$_$() && (v==="click"||P==="event_category"||P==="category"||(j_(v)&&(_++,S["s"+_.toString()]=v),Z_(v)&&(Number.isInteger(v)?(g++,S["i"+g.toString()]=v):(h++,S["f"+h.toString()]=v))),S),{})},a=(c,_,h)=>{const g=l(c);if(!g)return;const S=i(_);n(g,S)},u=(c,_,h)=>{$_$();const g=_!=null?_:{};h&&a(c,g),gy(c,g)};return{sendGoogleAndFatmanEvent:(c,_)=>{c.google&&u(c.google,_==null?void 0:_.google,!c.fatman),c.fatman&&n(c.fatman,_==null?void 0:_.fatman)},sendGTagEvent:(c,_="",h={})=>{const{category:g}=h,S=r1({event_label:_},h);(g!=null?g:e)&&(S.event_category=g!=null?g:e),u(c,S)},sendEventGoogle:u,sendFatmanEvent:n}},Id={2:"rise",0:"approve",1:"any_change"},on={0:"single",1:"express",6:"antiexress",3:"chain",5:"condition",7:"lucky",4:"multy",8:"patent",10001:"many_singles",2:"system",9:"bet_builder"},Kl={[ye.CYBER_SECTION]:"cyber",[ee.LINE]:ee.LINE,[ee.LIVE]:ee.LIVE},n1=Object.freeze({0:"Подтверждать",1:"Принять любое изменение",2:"Принять при повышении"});var a1=(e=>(e.HomePage="cricket_page",e.EventPage="event_page",e.FavoritesPage="favor_events",e.SearchPage="search_page",e.Streams="streams",e.ChampPage="champ_page",e.ChampPopularSection="champ_popular",e.ChampOtherSection="champ_other",e.PlayerInfoPage="player_page",e.PlayerEventsSection="player_events",e.BestPlayersSection="best_players",e.AllEventsPage="all_events",e.TopGamesSection="top_games",e.TopChampsSection="top_champs",e.BroadcastPage="streams_page",e))(a1||{});const i1={[ye.CRICKET_HOME]:"top_events_eventID",[ye.CRICKET_GAME]:"top_events_dashboard_eventID",[ye.TOP_EVENTS_SECTION]:"top_events_eventID",[ye.TOP_EVENTS_HOME]:"top_events_eventID",[ye.TOP_EVENTS_GAME]:"top_events_eventID",[ye.TOP_EVENTS_FAVORITES]:"top_events_eventID"};var Oo=(e=>(e.ChampResultsTable="Таблица результаты чемпионатов",e.LiveDashboard="Live-Дэшборд",e.LineDashboard="Линия-Дэшборд",e.PersonalizedLiveDashboard="live-rec",e.PersonalizedLineDashboard="line-rec",e.ExpressDayAddEvent="Экпресс дня | Добавлено событие",e.ExpressDayAllEventsAdded="Экпресс дня | Все события добавлены",e.ExpressDayAddGroupEvents="Экпресс дня | Добавлена группа событий",e.Favorite="Избранные",e.GamePageDesk="Страница игры десктоп",e.TopChamps="Топ чемпионаты",e.GamePageMobi="Страница игры моби",e.SearchModalDesk="Модальное окно поиска игр десктоп",e.SearchModalMobi="Модальное окно поиска игр моби",e.GamesSliderGame="Слайдер игр",e.Recommended="Рекомендованные",e.TopGames="ТОП-Игры",e.PlayerBets="PlayerBets",e.ChampionBanner="Страница CHAMPIONS | Баннер",e.ChampionsPage="Страница CHAMPIONS | Первый слайд",e.ChampionsLeftSideBar="Страница CHAMPIONS | Левый сайдбар",e.ChampionsPageWinnerCard="Страница CHAMPIONS | Карточка Победители",e.Insight="insight",e.Cricket="cricket",e))(Oo||{});const Ed={[Oo.Recommended]:"recommended",[Oo.TopGames]:"top_games",[Oo.Favorite]:"favor",[Oo.GamesSliderGame]:"slider",[Oo.Insight]:"insight",[Oo.LiveDashboard]:"dashboard",[Oo.LineDashboard]:"dashboard",[Oo.GamePageDesk]:"game_page",[Oo.GamePageMobi]:"game_page",[Oo.Cricket]:"cricket"};var l1=Object.defineProperty,Td=Object.getOwnPropertySymbols,c1=Object.prototype.hasOwnProperty,u1=Object.prototype.propertyIsEnumerable,Od=(e,t,o)=>t in e?l1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,vd=(e,t)=>{for(var o in t||(t={}))c1.call(t,o)&&Od(e,o,t[o]);if(Td)for(var o of Td(t))u1.call(t,o)&&Od(e,o,t[o]);return e};const rn=yi(()=>{const{sendEventGoogle:e,sendGTagEvent:t,sendGoogleAndFatmanEvent:o,sendFatmanEvent:r}=s1({analyticsCategory:"v3_Купон"}),s=({bets:$=[],section:J=ye.HOME,promoCode:Le="",isOneClick:st=!1,couponTypeId:dt=0,coefficientId:Et=0})=>$_$() && ({bets:$,section:J,promoCode:Le,isOneClick:st,couponTypeId:dt,coefficientId:Et});return{clickOnTabCoupon:($=1)=>{t($===1?"v3_Клик на “Купон ставок”":"v3_Клик на “Открытые ставки”")},clickOnLoadCoupon:()=>{t("v3_Загрузить событие")},clickOnSaveCoupon:()=>{t("v3_Сохранить событие")},clickOnSaveSettings:$=>{t("v3_Сохранить “Настройка купона”",$)},clickOnIcoRemoveAllBets:()=>{t("v3_Клик “Удалить ставку”","Мусорное ведро")},clickIcoRemoveOneBet:()=>{t("v3_Клик “Удалить ставку”","Крестик")},clickSaveStepBet:()=>{t("v3_Сохранить “Шаг ставки”")},saveExactCoef:$=>{t("v3_Сохранить “Точный коэффициент”",$)},resetExactCoef:$=>{t("v3_Очистить “Точный коэффициент”",$)},clickOnMaxBet:()=>{t("v3_Клик “Максимальная ставка”")},clickOnBalance:()=>{t("v3_Клик “Баланс”")},clickUpdatePrepaidAmount:()=>{t("v3_Клик “Обновить аванс”"),o({google:"bet_avance_responce",fatman:1067})},clickPlaceBet:$=>{const{couponTypeId:J,coefficientId:Le,isOneClick:st,promoCode:dt,bets:Et,section:et}=s($),tt=n1[Le],mr=i1[et];t("v3_Сделать ставку","Стандартная"),o({google:"bet_done",fatman:1070},{google:{screen:mr,bet_count:Et.length,bet_type:on[J]},fatman:{s2:on[J],i1:Et.length}}),t("v3_Тип ставки",on[J]),t("v3_При изменении коэффициента",tt),st&&t("v3_Тип ставки","В 1 клик"),dt&&t("v3_Ставка с промокодом",dt)},trackBetButtonClick:($,J)=>{$_$();const Le=Yt($.map(({market:st})=>st.sportId)).join("|");o({google:"bet_custom_call",fatman:1068},{google:{sport_id:Le,place_bet_source:J},fatman:{s1:Le,s2:J}})},trackOneClickBetCall:$=>{$_$();const J=Yt($.map(({market:Le})=>Le.sportId)).join("|");o({google:"bet_one_click_call",fatman:1069},{google:{sport_id:J},fatman:{s1:J}})},trackErrorPlaceBet:$=>{o({google:"bet_error",fatman:1071},{google:{error_code:$},fatman:{i1:$}})},clickOnBtnFixCoupon:()=>{t("v3_Зафиксировать купон")},saleCoupon:()=>{t("v3_Открытые ставки","Продать")},openInsuranceCoupon:()=>{t("v3_Открытые ставки","Застраховать")},repeatCoupon:()=>{t("v3_Открытые ставки","Повторить")},clickOnReg:()=>{t("v3_Регистрация")},insuranceCoupon:($=0)=>{t("v3_Страховка купона",$?String($):"Несколько спортов")},trackAddBet:({sportId:$,groupId:J,isAdded:Le,source:st,marketId:dt,gameCardPosition:Et})=>{Le&&(t("v3_Добавить событие в купон",String($)),t("v3_Маркет добавленного события",String(J)));const et={sport_id:$,action:Le?"add":"delete",market_id:dt,group_market_id:J},tt={s1:et.action,s2:et.market_id,i1:et.sport_id,i2:et.group_market_id};st&&(Ed[st]&&Object.assign(et,{bookmark_source:Ed[st]}),Object.assign(tt,{s3:st})),Et&&(Object.assign(et,{game_card_position:Et}),Object.assign(tt,{i3:Et})),o({google:"bet_click",fatman:1066},{google:et,fatman:tt})},trackClickBackButton:()=>{t("v3_Клик Назад")},trackClickUpdateButton:()=>{t("v3_Клик Обновить")},trackClickLiveButton:()=>{t("v3_Клик на Live")},trackClickLineButton:()=>{t("v3_Клик на Линия")},trackClickEventInCoupon:$=>{t(`v3_Клик на ${$}`)},trackClickCouponRecharge:()=>{o({google:"deposit_call",fatman:1045},{google:{screen:"coupon_empty"},fatman:{s1:"coupon_empty"}})},trackClickCouponRechargeBalance:$=>{o({google:"deposit_call",fatman:1045},{google:vd({screen:"coupon_balance"},$?{place_bet_source:$}:{}),fatman:vd({s1:"coupon_empty"},$?{s2:$}:{})})},trackClickOnAuth:()=>{t("v3_Открытые ставки","Клик на Вход")},trackClickOkInBetAccepted:()=>{t("v3_Ставка принята","Клик ОК")},trackClickGoLiveInBetAccepted:()=>{t("v3_Ставка принята","Клик на Перейти в Live")},trackClickOpenedBetsInBetAccepted:()=>{t("v3_Ставка принята","Клик на Открытые ставки")},trackClickGoBackInBetAccepted:()=>{t("v3_Ставка принята","Клик Назад")},trackTypeBet:($,J)=>{$_$();const Le={bet_type:on[$],option:J};fe(J)||delete Le.option,o({google:"coupon_type_bet",fatman:1083},{google:Le,fatman:{s1:on[$],s2:J}})},trackOneClick:($,J)=>{const Le=$?"on":"off";o({google:"coupon_one_click_call",fatman:1052},{google:{action:Le},fatman:{s1:Le}}),J==="v3_Киберспорт"?t("v3_Ставка в один клик",$?"Включить":"Отключить",{category:J}):t(`v3_Клик “${$?"Включить":"Отключить"} В 1 клик”`)},trackOneClickBetSave:$=>{$==="v3_Киберспорт"&&t("v3_Ставка в один клик","Сохранить",{category:$})},trackCleanAction:$=>{const J=$?1:0;o({google:"coupon_clean_action",fatman:1090},{google:{action:J},fatman:{i1:J}})},trackCleanPopupCall:()=>{o({google:"coupon_clean_popup",fatman:1089})},trackBetNoncalcCouponCall:()=>{e("bet_noncalc_coupon_call")},trackCouponAutoAction:($,J)=>{e("coupon_auto_action",{option:Id[$]}),r(11070,{s1:Id[$],s2:J})},trackSaveCall:()=>{o({google:"coupon_save_call",fatman:1053})},trackLoadCall:()=>{o({google:"coupon_load_call",fatman:1054})},trackClearCall:()=>{o({google:"coupon_clear_call",fatman:1055})},trackAddBetExpress:$=>{$&&o({google:"add_bet_express",fatman:1056},{google:{express_line:$},fatman:{s1:String($)}})},trackSellCoupon:$=>{o({google:"bet_sell_page_call",fatman:1057},{google:{screen:$},fatman:{s1:$}})},trackSellAcceptAll:()=>{o({google:"bet_sell_full_accept_call",fatman:1058})},trackSellOneClickAcceptAll:()=>{o({google:"bet_sell_one_click_accept_call",fatman:1059})},trackSellAutoAcceptAll:()=>{o({google:"bet_sell_auto_accept_call",fatman:1060})},trackSellDone:()=>{o({google:"bet_sell_done",fatman:1061})},trackSellError:()=>{o({google:"bet_sell_error",fatman:1062})},trackNoncalcAction:($,J)=>{o({google:"bet_noncalc_action",fatman:1063},{google:{action:$,screen:J},fatman:{s1:$,s2:J}})},clickOnTopUpBalanceError:({isCouponBalanceSimpleError:$,pageType:J})=>{$&&o({google:"deposit_call",fatman:1045},{google:{screen:"error_popup"},fatman:{s1:"error_popup"}}),J&&Kl[J]&&o({google:"deposit_call",fatman:1045},{google:{screen:`error_popup_${Kl[J]}`},fatman:{s1:`error_popup_${Kl[J]}`}})}}}),Af=({T:e},t)=>lr({coef:t[jp]||t.Coef,coefByView:t[KC]||t[jp]||t.Coef,groupId:t[YC]||t.GroupId,typeId:t[WC]||t.Type,expressId:t[Sf],gameId:t[HC]||t.GameId,sportId:0,kind:7,champName:e("express_day_bonus"),name:e("express_day_bonus_from_company"),groupName:""}),Oc=e=>e==null?void 0:e.map(t=>({GameId:t.gameId,Type:t.typeId,Coef:t.coef,Param:t.param||0,PV:null,PlayerId:t.playerId||0,Kind:t.kind,InstrumentId:0,Seconds:0,Price:0,Expired:0,PlayersDuel:t.playersDuel})),ri=(e,t,o)=>{if(e===10001)return 0;if(!yu.includes(e))return e;const r=String(t).padStart(2,"0"),s=String(o).padStart(2,"0");return parseInt(`2${r}${s}`,10)},p1=e=>e.reduce((t,o)=>(t[o.blockId]!==void 0?t[o.blockId].push(o):t[o.blockId]=[o],t),{}),Pu=e=>{const t=p1(e);let o=0;return Object.values(t).map(r=>r.map(()=>o++))},si=({bets:e,typeId:t})=>{$_$();var o;const r=(o=e==null?void 0:e.map(n=>n.blockId))!=null?o:[];return t===2?r.length:Yt(r).filter(n=>n>0).length};var d1=Object.defineProperty,Pd=Object.getOwnPropertySymbols,m1=Object.prototype.hasOwnProperty,_1=Object.prototype.propertyIsEnumerable,Ad=(e,t,o)=>t in e?d1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,h1=(e,t)=>{for(var o in t||(t={}))m1.call(t,o)&&Ad(e,o,t[o]);if(Pd)for(var o of Pd(t))_1.call(t,o)&&Ad(e,o,t[o]);return e};const Cd=(e,t)=>{var o,r;const s=e.cookies.get("uhash"),{whence:n,ref_id:l,group_id:i,isAvailablePrepaid:a}=e.siteConfig,u={userId:t.accountId,events:t.bets.map(p=>{var m,c;return h1({GameId:p.gameId,Type:p.typeId,Coef:p.coef,Param:(m=p.param)!=null?m:0,PV:null,PlayerId:(c=p.playerId)!=null?c:0,Kind:p.kind,InstrumentId:0,Seconds:0,Price:0,Expired:0},p.playersDuel?{PlayersDuel:p.playersDuel}:{})}),vid:ri(t.typeId,(o=t.systemValue)!=null?o:Ic,si({bets:t.bets,typeId:t.typeId})),partner:l,group:i,cfView:t.coefViewId,coefViewId:t.coefViewId,live:t.bets.some(p=>ff.includes(p.kind)),checkCf:t.changeCoefAction,lng:t.language,hash:s,approvedBet:t.isDuplicatesApproved,expressNum:t.expressId,notWait:!0,betGuid:t.guid,promo:t.promoCode,saleBetId:t.SaleBetId,isPowerBet:t.isPowerBet,src:n,couponCode:t.couponCode,oneClickBet:t.isOneClickBet?1:2};if(Eu.includes(t.typeId)){const p=t.blocks.map(m=>m.amount);Object.assign(u,{summ:p[0],groupsSumms:p})}else Iu.includes(t.typeId)&&(Object.assign(u,{summ:t.amount}),a&&t.isPrepaid&&Object.assign(u,{avanceBet:!0}));return mf.includes(t.typeId)&&t.exactCoef!==void 0&&Object.assign(u,{isAutoBet:!0,autoBetCf:t.exactCoef,dropOnScoreChange:(r=t.isDropOnScoreChange)!=null?r:!1,transformEventKind:!0,autoBetCfView:t.coefViewId}),aa.includes(t.typeId)&&Object.assign(u,{withLobby:t.typeId===4&&t.bets.some(p=>p.blockId===0),eventsIndexes:Pu(t.bets)}),t.isVipBet&&Object.assign(u,{VIPBetSumm:t.isVipBet}),t.isExpressBoost&&Object.assign(u,{isExpressBoost:t.isExpressBoost}),u};var f1=Object.defineProperty,g1=Object.defineProperties,S1=Object.getOwnPropertyDescriptors,bd=Object.getOwnPropertySymbols,y1=Object.prototype.hasOwnProperty,I1=Object.prototype.propertyIsEnumerable,Rd=(e,t,o)=>t in e?f1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,Wl=(e,t)=>{for(var o in t||(t={}))y1.call(t,o)&&Rd(e,o,t[o]);if(bd)for(var o of bd(t))I1.call(t,o)&&Rd(e,o,t[o]);return e},Yl=(e,t)=>g1(e,S1(t));const E1=(e,t,o,r=!1)=>{if(!e.success)return{success:!1,data:{gameIds:e.data.gameIds,coupon:t},error:{code:e.error.code,message:e.error.message}};if("waitTime"in e.data)return{success:!0,data:{guid:e.data.guid,waitTime:e.data.waitTime,coupon:t},error:void 0};const{isBetBuilder:s}=e.data.coupon,n=e.data.coupon.blocks.map(a=>Yl(Wl({},a),{bets:a.bets.map(u=>{var p,m,c,_,h,g,S,P,v,R,y,A;const E=r||s?t.bets[0]:t.bets.find(L=>L.id===u.marketId);return Yl(Wl({},u),{additionalType:E==null?void 0:E.additionalType,name:(p=E==null?void 0:E.market.name)!=null?p:"",groupName:(m=E==null?void 0:E.market.groupName)!=null?m:"",gameName:(c=E==null?void 0:E.market.gameName)!=null?c:"",gameType:(_=E==null?void 0:E.market.gameType)!=null?_:"",champName:(h=E==null?void 0:E.market.champName)!=null?h:"",champNameEng:(g=E==null?void 0:E.champNameEng)!=null?g:"",shortGameId:(S=E==null?void 0:E.gameNumber)!=null?S:0,sportId:(P=E==null?void 0:E.market.sportId)!=null?P:0,sportName:(v=E==null?void 0:E.market.sportName)!=null?v:"",sportNameEng:(R=E==null?void 0:E.sportNameEng)!=null?R:"",teamAwayName:(y=E==null?void 0:E.market.secondOpponentName)!=null?y:"",teamHomeName:(A=E==null?void 0:E.market.firstOpponentName)!=null?A:"",builderMarkets:u.builderMarkets})})})),l=n.map(a=>a.bets).flat(),i=Yl(Wl({},e.data.coupon),{currencyIso:o,blocks:n,bets:l});return{success:!0,data:{accountId:e.data.accountId,accountMoney:e.data.accountMoney,coupon:i},error:void 0}},Cf=(e,t)=>{let o=Number(String(e).slice(0,1));const r=Number(String(e).slice(1,3))||void 0,s=Number(String(e).slice(3,5))||void 0,n=o===2,l=s!==void 0?s1&&o===0&&(o=10001),{typeId:o,systemValue:r?Math.max(r,2):void 0,systemOffset:s}};var T1=Object.defineProperty,O1=Object.defineProperties,v1=Object.getOwnPropertyDescriptors,Nd=Object.getOwnPropertySymbols,P1=Object.prototype.hasOwnProperty,A1=Object.prototype.propertyIsEnumerable,Ld=(e,t,o)=>t in e?T1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,C1=(e,t)=>{for(var o in t||(t={}))P1.call(t,o)&&Ld(e,o,t[o]);if(Nd)for(var o of Nd(t))A1.call(t,o)&&Ld(e,o,t[o]);return e},b1=(e,t)=>O1(e,v1(t));const R1=e=>{var t,o;const r=parseInt((o=(t=e.match(/\d+/))==null?void 0:t[0])!=null?o:"",10),s=new Date(r);if(!Number.isNaN(s))return s},jl=(e,t)=>{var o,r,s,n,l,i,a,u,p,m,c;if(!t.Success)return{data:{gameIds:(s=(r=(o=t.Value)==null?void 0:o.AdditionalInfo)==null?void 0:r.GameIds)!=null?s:[]},error:{code:t.ErrorCode||9999,message:t.Error},success:!1};const{Value:_}=t,{Coupon:h}=_;if(h===null)return{data:{waitTime:_.waitTime,guid:_.betGUID},success:!0,error:void 0};const g=_.Id,{typeId:S,systemValue:P,systemOffset:v}=Cf(h.Vid,((n=h.Events)==null?void 0:n.length)||1),R=h.WithLobby?0:1,y=(i=(l=h.Events)==null?void 0:l.map((L,V)=>{var U,H,k;return{blockId:((H=(U=h==null?void 0:h.EventsIndexes)==null?void 0:U.findIndex(F=>F.includes(V)))!=null?H:V)+R,coef:L.Coef,coefByView:jn(L.Type)?Tu:L.CV||((k=L.Coef)==null?void 0:k.toString()),couponId:g,gameId:L.GameId,kind:L.Kind,marketId:zr({gameId:L.GameId,param:L.Param,typeId:L.Type,playerId:L.PlayerId,duelMarketAdditionalId:Zn(L)}),param:L.Param,playerId:L.PlayerId,teamAwayScore:typeof L.MS2=="string"?parseInt(L.MS2,10):void 0,teamHomeScore:typeof L.MS1=="string"?parseInt(L.MS1,10):void 0,typeId:L.Type,builderMarkets:[]}}))!=null?i:[];let A=((u=(a=h.EventsIndexes)!=null?a:h.Events)!=null?u:[]).map((L,V)=>{var U,H;const k=V+R;return{amount:(H=(U=h.GroupsSumms)==null?void 0:U[V])!=null?H:void 0,couponId:g,couponTypeId:S,id:k,bets:y.filter(F=>F.blockId===k)}});const{BuilderEvents:E}=h;if(E){const[L]=E;A=[{amount:h.Summ,couponId:g,couponTypeId:S,id:1,bets:[b1(C1({},L),{blockId:1,coef:L.coef?parseInt(L.coef,10):void 0,coefByView:L.coefByView,couponId:g,gameId:L.gameId,kind:L.kind,marketId:L.id,param:L.param,playerId:L.playerId,teamAwayScore:typeof L.teamAwayScore=="string"?parseInt(L.teamAwayScore,10):void 0,teamHomeScore:typeof L.teamHomeScore=="string"?parseInt(L.teamHomeScore,10):void 0,typeId:L.typeId,builderMarkets:E})]}]}return{data:{coupon:{accountId:e.accountId,amount:h.Summ,blocks:A,changeCoefAction:h.CheckCf,coef:h.Coef,maxPayout:h.MaxPayout,coefByView:((p=h.CoefView)==null?void 0:p.toString())||((m=h.Coef)==null?void 0:m.toString()),coefViewId:h.CfView,exactCoef:h.autoBetCf,id:_.Id,prepaidAmount:_.SummPrep,possibleWinAmount:h.Coef&&h.Summ?Sr(h.Coef,h.Summ):void 0,possiblePayoutAmount:h.Coef&&h.Summ?vf(h.Summ,h.Coef):void 0,payoutType:_.PayoutType,systemOffset:v,systemValue:P,typeId:S,systemValues:(c=h.MinBetSystems)==null?void 0:c.map(({p:L,b:V,s:U,c:H})=>new vu({value:L,offset:V,minBetAmount:U,combo:H})).reverse(),isBetBuilder:!!E,date:R1(_==null?void 0:_.Dt),organizer:h==null?void 0:h.Organizer,qrLink:_==null?void 0:_.QrLink},accountId:e.accountId,accountMoney:_.Balance},error:void 0,success:!0}};var N1=Object.defineProperty,L1=(e,t,o)=>t in e?N1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,B1=(e,t,o)=>L1(e,t+"",o);class bf{constructor(){B1(this,"map",new Map)}add(t,o){const r=this.map.get(t)||new Set;r.add(o),this.map.set(t,r)}delete(t,o){const r=this.map.get(t);r&&r.delete(o)}abortAllbyType(t){const o=this.map.get(t);o&&(o.forEach(r=>r()),this.map.delete(t))}abortAll(){for(const t of this.map.keys()){const o=this.map.get(t);o==null||o.forEach(r=>r()),this.map.delete(t)}}}const Rf=e=>{$_$();var t;const o=e instanceof D0||e.status===wt.STATUS_CLOSE,r=o?wt.STATUS_CLOSE:wt.STATUS_ERROR,s=o?499:(t=e.response)==null?void 0:t.status;return{data:e.response,status:r,httpCode:s,message:e.message,isCancel:o}};var M1=Object.defineProperty,G1=Object.defineProperties,k1=Object.getOwnPropertyDescriptors,Bd=Object.getOwnPropertySymbols,w1=Object.prototype.hasOwnProperty,D1=Object.prototype.propertyIsEnumerable,vc=(e,t,o)=>t in e?M1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,Zl=(e,t)=>{for(var o in t||(t={}))w1.call(t,o)&&vc(e,o,t[o]);if(Bd)for(var o of Bd(t))D1.call(t,o)&&vc(e,o,t[o]);return e},F1=(e,t)=>G1(e,k1(t)),sn=(e,t,o)=>vc(e,typeof t!="symbol"?t+"":t,o);let Nf=class{constructor(t){sn(this,"httpModule"),sn(this,"clientHeaders"),sn(this,"abortMap"),sn(this,"cookies"),sn(this,"logger"),this.httpModule=t.$httpModule,this.clientHeaders=t.$clientHeaders,this.cookies=t.$cookies,this.logger=t.$logger,this.abortMap=new bf}async loadRaw({type:t,api:o,params:r,query:s,abortController:n,options:l}){$_$();let i,a;const{execute:u,abort:p}=o.method(this.httpModule,{query:s,params:r,signal:n==null?void 0:n.signal,cache:!0});n||this.abortMap.add(t,p);try{const m={cookies:this.cookies,httpModule:this.httpModule,logger:this.logger},c=([i,a]=I(()=>u({headers:Zl(Zl({},this.clientHeaders),o.customHeaders),hookContext:m})),i=await i,a(),i),{kind:_}=o.method,h=([i,a]=I(()=>o.parser(Array.isArray(c)?c:F1(Zl({},c),{params:r,kind:_}),l)),i=await i,a(),i);return wt.createResult(h)}catch(m){throw m.isCancel=m.status===wt.STATUS_CLOSE,m}finally{this.abortMap.delete(t,p)}}load(t){return this.loadRaw(t).catch(o=>Rf(o))}cancelAllRequest(t){t?this.abortMap.abortAllbyType(t):this.abortMap.abortAll()}};var U1=Object.defineProperty,Md=Object.getOwnPropertySymbols,x1=Object.prototype.hasOwnProperty,$1=Object.prototype.propertyIsEnumerable,Gd=(e,t,o)=>t in e?U1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,V1=(e,t)=>{for(var o in t||(t={}))x1.call(t,o)&&Gd(e,o,t[o]);if(Md)for(var o of Md(t))$1.call(t,o)&&Gd(e,o,t[o]);return e};const H1=e=>V1({virtualSportsFeed:!0,noFilter1x2:!1,noFilterBlockEvent:!0,groupChamps:!0,cleanMarkets:!1},e),pe=H1();var K1=Object.defineProperty,W1=Object.defineProperties,Y1=Object.getOwnPropertyDescriptors,kd=Object.getOwnPropertySymbols,j1=Object.prototype.hasOwnProperty,Z1=Object.prototype.propertyIsEnumerable,wd=(e,t,o)=>t in e?K1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,q1=(e,t)=>{for(var o in t||(t={}))j1.call(t,o)&&wd(e,o,t[o]);if(kd)for(var o of kd(t))Z1.call(t,o)&&wd(e,o,t[o]);return e},J1=(e,t)=>W1(e,Y1(t));const X1=(e,t,o)=>{var r,s,n,l;const i={userId:e.accountId,events:Oc(e.bets),vid:ri(e.typeId,(r=e.systemValue)!=null?r:nO,si({bets:e.bets,typeId:e.typeId})),expressNum:e.expressId,partner:t.ref_id,lng:e.language,coefViewId:e.coefViewId,calcSystemsMin:sO.includes(e.typeId),group:t.group_id,country:t.geoCountryId,currency:t.geoCurrency.id,saleBetId:0,isPowerBet:!1,withLobby:void 0,eventsIndexes:void 0,groupsSumms:void 0,summ:e.amount};return e.isPowerBet&&(i.saleBetId=e.saleBetId,i.isPowerBet=e.isPowerBet),e.isExpressBoost&&(i.isExpressBoost=e.isExpressBoost),rO.includes(e.typeId)&&(i.withLobby=e.typeId===4&&e.bets.some(a=>a.blockId===0),i.eventsIndexes=Pu(e.bets),i.groupsSumms=e.groupsSumms,i.summ=(s=e.groupsSumms)!=null&&s.length?e.groupsSumms[0]:0),o?(l=(n=i.events)==null?void 0:n.map(a=>J1(q1({},i),{events:[a]})))!=null?l:[]:i};var z1=Object.defineProperty,Q1=(e,t,o)=>t in e?z1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,nn=(e,t,o)=>Q1(e,typeof t!="symbol"?t+"":t,o);class eR{constructor({id:t,amount:o,conditions:r,payoutType:s}){nn(this,"id"),nn(this,"name"),nn(this,"amount"),nn(this,"conditions"),nn(this,"payoutType"),this.id=t,this.amount=o,this.conditions=r,this.payoutType=s}get description(){return this.conditions.map(({label:t,value:o})=>`${t}: ${o}`).join(". ")}}const tR=e=>({key:e.Key,value:e.Value,label:e.Name}),oR=e=>new eR({id:e.PromoCodeName,amount:e.Amount,conditions:e.Conditions.map(tR),payoutType:e.PayoutType}),rR=e=>{$_$();const{maxBet:t,MaxPayout:o,UnlimitedBet:r}=e;let n=!(fe(t)&&t>0)||r?Number.POSITIVE_INFINITY:t;return o&&(n=Math.min(n,o)),n},Pc=e=>{var t,o,r,s,n;return{minBetAmount:(t=e.minBet)!=null?t:0,maxBetAmount:rR(e),calcSystemsMin:e.CalcSystemsMin,systemValues:(o=e.MinBetSystems)==null?void 0:o.map(({p:l,b:i,s:a,c:u})=>new vu({value:l,offset:i,minBetAmount:a,combo:u})).reverse(),antiExpressCoef:e.AntiExpressCoef,amount:e.Summ,coef:e.Coef,coefByView:e.CoefView,coefViewId:e.CfView,changeCoefActionId:e.CheckCf,typeId:e.Vid,promoCodes:(s=(r=e.promoCodes)==null?void 0:r.map(oR))!=null?s:[],betIdsByBlockId:e.EventsIndexes,initialAmount:e.InitialBet,amountStep:e.BetStep,maxPayout:e.MaxPayout,hyperBonusPercent:e.HyperBonusPercent,minHyperBonusBetLimit:e.MinHyperBonusBetLimit,maxHyperBonusLimit:e.MaxHyperBonusLimit,eventCountToBoost:e.EventCountToBoost,minEventCoefToBoost:e.MinEventCoefToBoost,minEventCountToBoost:e.MinEventCountToBoost,isExpressBoost:e.IsExpressBoost,isBuilderBlocked:(n=e.BuilderCoupon)==null?void 0:n.Block}};var sR=Object.defineProperty,nR=Object.defineProperties,aR=Object.getOwnPropertyDescriptors,Dd=Object.getOwnPropertySymbols,iR=Object.prototype.hasOwnProperty,lR=Object.prototype.propertyIsEnumerable,Fd=(e,t,o)=>t in e?sR(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,cR=(e,t)=>{for(var o in t||(t={}))iR.call(t,o)&&Fd(e,o,t[o]);if(Dd)for(var o of Dd(t))lR.call(t,o)&&Fd(e,o,t[o]);return e},uR=(e,t)=>nR(e,aR(t));const pR=(e,t,o,{T:r})=>{var s;const n=(U,H=!1)=>U.map(k=>{var F,te;return uR(cR({additionalType:k.GameVid,marketId:zr({gameId:k.GameId,param:k.Param,typeId:k.Type,playerId:k.PlayerId,duelMarketAdditionalId:Zn(k)}),gameId:k.GameId,groupId:k.GroupId,param:k.Param,playerId:k.PlayerId,sportId:k.SportId,typeId:k.Type,coef:k.Coef,coefByView:jn(k.Type)?aO:k.CV||k.Coef,coefViewId:k.coefViewId,isBlocked:!!k.Block,isDepend:!!k.IsRelation&&!o,isBannedExpress:!!k.IsBannedExpress&&!t&&!o,kind:k.Kind,teamHomeScore:(F=k.MS1)!=null?F:void 0,teamAwayScore:(te=k.MS2)!=null?te:void 0},H&&k.Kind===7&&{market:Af({T:r},k)}),{builderMarkets:[]})});if(o)return e.Value.map(U=>{const{minBetAmount:H,maxBetAmount:k,calcSystemsMin:F,systemValues:te,antiExpressCoef:ce,coef:x,coefByView:de,coefViewId:se,promoCodes:ve,maxPayout:K,initialAmount:Se,amountStep:W,hyperBonusPercent:j,minHyperBonusBetLimit:De,maxHyperBonusLimit:Pe,typeId:X}=Pc(U);return{bets:n(U.Events),minBetAmount:H,maxBetAmount:k,calcSystemsMin:F,systemValues:te,antiExpressCoef:ce,coef:x,coefByView:de,coefViewId:se,promoCodes:ve,maxPayout:K,initialAmount:Se,amountStep:W,hyperBonusPercent:j,minHyperBonusBetLimit:De,maxHyperBonusLimit:Pe,summ:U.Summ,type:U.Events.Type,typeId:X}});const{minBetAmount:l,maxBetAmount:i,calcSystemsMin:a,systemValues:u,antiExpressCoef:p,coef:m,coefByView:c,coefViewId:_,promoCodes:h,maxPayout:g,initialAmount:S,amountStep:P,hyperBonusPercent:v,minHyperBonusBetLimit:R,maxHyperBonusLimit:y,typeId:A,eventCountToBoost:E,minEventCoefToBoost:w,minEventCountToBoost:L,isExpressBoost:V}=Pc(e.Value);return{bets:n(e.Value.Events,!!e.Value.IsExpressBoost),minBetAmount:l,maxBetAmount:i,calcSystemsMin:a,systemValues:u,antiExpressCoef:p,coef:m,coefByView:c,coefViewId:_,promoCodes:h,maxPayout:g,initialAmount:S,amountStep:P,hyperBonusPercent:v,minHyperBonusBetLimit:R,maxHyperBonusLimit:y,summ:e.Value.Summ,type:(s=e.Value.Events[0])==null?void 0:s.Type,typeId:A,eventCountToBoost:E,minEventCoefToBoost:w,minEventCountToBoost:L,isExpressBoost:V}},dR=e=>{const{minBetAmount:t,maxBetAmount:o,calcSystemsMin:r,systemValues:s,antiExpressCoef:n,coef:l,coefByView:i,coefViewId:a,promoCodes:u,maxPayout:p,initialAmount:m,amountStep:c,hyperBonusPercent:_,minHyperBonusBetLimit:h,maxHyperBonusLimit:g,typeId:S,eventCountToBoost:P,minEventCoefToBoost:v,minEventCountToBoost:R,isExpressBoost:y,isBuilderBlocked:A}=Pc(e.Value);return{minBetAmount:t,maxBetAmount:o,calcSystemsMin:r,systemValues:s,antiExpressCoef:n,coef:l,coefByView:i,coefViewId:a,promoCodes:u,maxPayout:p,initialAmount:m,amountStep:c,hyperBonusPercent:_,minHyperBonusBetLimit:h,maxHyperBonusLimit:g,summ:e.Value.Summ,typeId:S,eventCountToBoost:P,minEventCoefToBoost:v,minEventCountToBoost:R,isExpressBoost:y,isBuilderBlocked:A}},mR=({game:e,webCoupon:t})=>{$_$();const[o]=e.Events,{BuilderCoupon:r,Kind:s}=t;return{Block:!1,CV:null,ChampId:r.ChampId,Coef:o.Coef,Expired:0,ExtraKind:0,FS1:null,FS2:null,Finish:!1,FullName:o.PlayerName,FullScore:0,GameId:e.GameId,GroupName:o.GroupName,InstrumentId:0,IsBannedExpress:!1,IsRelation:0,Kind:s,Liga:r.ChampName,MS1:null,MS2:null,MainGameId:r.I,MarketName:Yt([e.GameTypeName,...o.MarketName.includes(o.GroupName)?[o.MarketName]:[o.GroupName,o.MarketName]].filter(Boolean)).join(": "),Opp1:r.Opp1,Opp1Id:r.Opp1Id,Opp1Images:r.Opp1Images,Opp2:r.Opp2,Opp2Id:r.Opp2Id,Opp2Images:r.Opp2Images,PS:null,PV:null,Param:o.Param,ParamMobile:`${o.Param}`,PeriodName:"",PeriodScores:null,PlayerId:o.Player,PlayersDuel:{Team1Ids:null,Team2Ids:null},Price:0,Seconds:0,SpecialCoef:0,SportId:r.SportId,TimeDirection:0,TimeSec:0,Type:o.Type,UiFeature:null,GameType:null,GroupId:o.GroupId,Number:r.Number,PlayerName:o.PlayerName,SportName:r.SportName}},_R=(e,t)=>{$_$();const[o,...r]=e.BuilderCoupon.G.map(n=>mR({game:n,webCoupon:e})),s=t(o,0);return s.builderMarkets=[t(o,0),...r.map(t)],[s]};function hR({event:e,payload:t,targetOrigin:o="*",transfer:r}){}var fR=Object.defineProperty,gR=Object.defineProperties,SR=Object.getOwnPropertyDescriptors,Ud=Object.getOwnPropertySymbols,yR=Object.prototype.hasOwnProperty,IR=Object.prototype.propertyIsEnumerable,Ac=(e,t,o)=>t in e?fR(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,ql=(e,t)=>{for(var o in t||(t={}))yR.call(t,o)&&Ac(e,o,t[o]);if(Ud)for(var o of Ud(t))IR.call(t,o)&&Ac(e,o,t[o]);return e},Jl=(e,t)=>gR(e,SR(t)),Ta=(e,t,o)=>Ac(e,typeof t!="symbol"?t+"":t,o);class ER{constructor(t){Ta(this,"requestManager"),Ta(this,"siteConfig"),Ta(this,"cookies"),Ta(this,"T"),this.requestManager=new Nf(t),this.siteConfig=t.$siteConfig,this.cookies=t.$cookies,this.T=t.$T}async updateBuilderCoupon(t){$_$();let o,r;const[s]=t.bets,n=(s==null?void 0:s.builderMarkets)||[];if(!n.length)return{data:null,success:!1};const{kind:l,mainGameId:i}=n[0],a=n.reduce((p,{gameId:m,typeId:c,coef:_,param:h,playerId:g,playerName:S})=>(m&&(p[m]||(p[m]={GameId:m,Events:[]}),p[m].Events.push({Coef:_,Param:h,Player:g,PlayerName:S||null,Type:c})),p),{}),{data:u}=([o,r]=I(()=>$_$() && this.requestManager.loadRaw({type:"updateCouponBuilder",api:{method:jP(),parser:p=>dR(p)},params:{builderCoupon:{G:Object.values(a),I:i},isNewBuilder:!0,lng:t.language,coefViewId:t.coefViewId,group:this.siteConfig.group_id,kind:l,userId:t.accountId,vid:9}})),o=await o,r(),o);return{success:!0,data:u}}async updateCoupons(t){$_$();let o,r;const s=t.typeId===0,n=t.typeId===10001,l=n?"updateCouponMulti":"updateCoupon";this.requestManager.cancelAllRequest(l);const i=X1(t,this.siteConfig,n),a={method:n?$P(pe):UP(pe),parser:p=>pR(p,s,n,{T:this.T})},{data:u}=([o,r]=I(()=>this.requestManager.loadRaw({type:l,api:a,params:i})),o=await o,r(),o);return{success:!0,data:u}}async getAvailablePrepaidAmount(t){$_$();var o,r;let s,n;const l={userId:t.mainAccountId,summ:t.amount,events:Oc(t.bets),lng:t.language,vid:ri(t.typeId,(o=t.systemValue)!=null?o:Ic,si({bets:t.bets,typeId:t.typeId})),isUseXAuth:!0},i=t.mainAccountId===t.activeAccountId?l:Jl(ql({},l),{userIdBonus:t.activeAccountId}),a={method:DP(pe),parser:c=>{var _;return c.Success?{availablePrepaidAmount:(_=c.Value)!=null?_:0}:{error:{code:c.ErrorCode,message:c.Error}}}},{data:u,status:p,message:m}=([s,n]=I(()=>this.requestManager.load({type:"getAvance",api:a,params:i})),s=await s,n(),s);return u.error||p!==wt.STATUS_SUCCESS?{success:!1,error:(r=u.error)!=null?r:{code:p,message:m}}:{success:!0,data:u}}async putBetBuilderBet(t){$_$();let o,r;const[s]=t.bets,n=(s==null?void 0:s.builderMarkets)||[];if(!n.length)return;const{kind:l,mainGameId:i}=n[0],a=n.reduce((c,{gameId:_,typeId:h,coef:g,param:S,playerId:P,playerName:v})=>(_&&(c[_]||(c[_]={GameId:_,Events:[]}),c[_].Events.push({Coef:g,Param:S,Player:P,PlayerName:v||null,Type:h})),c),{}),u=l===1,p=!!t.guid||!u,{data:m}=([o,r]=I(()=>$_$() && this.requestManager.loadRaw({type:"makeBetBuilder",api:{method:ZP(),parser:c=>{var _;return(_=c.Value)!=null&&_.Coupon&&(c.Value.Coupon.BuilderEvents=n),jl(t,c)}},params:{builderCoupon:{G:Object.values(a),I:i},coefViewId:t.coefViewId,checkCf:t.changeCoefAction,coef:t.coef,kind:l,lng:t.language,summ:t.amount,userId:t.accountId,vid:9,betGuid:t.guid,notWait:p,live:u}})),o=await o,r(),o);return m}async putBet(t){$_$();var o,r;let s,n;const l=Cd({siteConfig:this.siteConfig,cookies:this.cookies},t),i=t.exactCoef!==0&&t.exactCoef!==void 0,a={method:i?WP(pe):HP(pe),parser:p=>jl(t,p)},{data:u}=([s,n]=I(()=>this.requestManager.loadRaw({type:i?"makeBetBidWeb":"makeBetWeb",api:a,params:l})),s=await s,n(),s);return(r=(o=u==null?void 0:u.data)==null?void 0:o.coupon)!=null&&r.id&&hR({event:"betAccepted",payload:{id:u.data.coupon.id}}),u}async putOrdinaryBets(t){$_$();let o,r;const s=t.map(i=>Cd({siteConfig:this.siteConfig,cookies:this.cookies},Jl(ql({},i),{typeId:0}))),n={method:KP(pe),parser:i=>i.map((a,u)=>jl(t[u],a))},{data:l}=([o,r]=I(()=>this.requestManager.loadRaw({type:"makeBetWebMulti",api:n,params:s})),o=await o,r(),o);return l}async saveCoupon(t){$_$();var o;let r,s;const n=Jl(ql({events:t.isBetBuilder?void 0:Oc(t.bets),summ:t.amount,vid:ri(t.typeId,(o=t.systemValue)!=null?o:Ic,si({bets:t.bets,typeId:t.typeId}))},aa.includes(t.typeId)?{withLobby:t.typeId===4&&t.bets.some(a=>a.blockId===0),eventsIndexes:Pu(t.bets),groupsSumms:t.groupsSumms}:void 0),{partner:this.siteConfig.ref_id,antiExpressCoef:t.antiExpressCoef,notWait:!0,checkCf:1,userId:t.accountId}),[l]=t.bets;if(t.isBetBuilder){const a=(l==null?void 0:l.builderMarkets)||[],{mainGameId:u}=a[0];n.kind=l.kind,n.builderCoupon={G:a.map(({gameId:p,groupId:m,typeId:c,coef:_,param:h,playerId:g,playerName:S})=>({GameId:p,Events:[{Coef:_,GroupId:m,Param:h,Player:g,PlayerName:S||null,Type:c}]})),I:u}}const{data:i}=([r,s]=I(()=>this.requestManager.loadRaw({type:"saveCoupon",api:{method:xP(),parser:a=>({code:a.Value})},params:n})),r=await r,s(),r);return i}async loadCoupon(t){$_$();var o;let r,s;const n={guid:t.code,coefViewId:t.coefViewId,lng:t.language,partner:this.siteConfig.ref_id},l={method:FP(pe),parser:p=>{var m,c;if(!p.Success)return{error:{code:p.ErrorCode,message:p.Error}};const _=p.Value.Vid===9,h=p.Value.WithLobby?0:1,g=(E,w)=>{var L,V,U,H,k,F;const te=zr({gameId:E.GameId,param:E.Param,typeId:E.Type,playerId:E.PlayerId||0,duelMarketAdditionalId:Zn(E),isBetBuilder:_});return{blockId:((U=(V=(L=p.Value)==null?void 0:L.EventsIndexes)==null?void 0:V.findIndex(ce=>ce.includes(w)))!=null?U:w)+h,champId:E.ChampId,champName:E.Liga,coef:E.Coef,coefByView:E.CV||E.Coef,gameId:E.GameId,groupId:E.GroupId,groupName:E.GroupName,gameName:E.GameName,isBlocked:!!E.Block,isDepend:!!E.IsRelation,kind:E.Kind,mainGameId:E.MainGameId,marketId:zr({gameId:E.GameId,param:E.Param,typeId:E.Type,playerId:E.PlayerId||0,duelMarketAdditionalId:Zn(E)}),id:te,name:E.MarketName,param:E.Param,playerId:E.PlayerId||0,playerName:E.PlayerName||void 0,shortGameId:E.Number,sportId:E.SportId,sportName:E.SportName,teamAwayName:E.Opp2,teamAwayScore:(H=E.MS2)!=null?H:void 0,teamHomeName:E.Opp1,teamHomeScore:(k=E.MS1)!=null?k:void 0,typeId:E.Type,playersDuel:(F=E.PlayersDuel)!=null?F:void 0,builderMarkets:E.BuilderMarkets||[],isBetBuilder:_}};let S=[];_?S=_R(p.Value,g):S=p.Value.Events.map((E,w)=>E.Type===ia?Af({T:this.T},E):g(E,w));const P=0,v=(m=p.Value.Summ)!=null?m:void 0,R=(c=p.Value.GroupsSumms)!=null?c:void 0,{typeId:y,systemValue:A}=Cf(p.Value.Vid,S.length);return{amount:v,bets:S,typeId:y,systemValue:A,antiExpressCoef:P,groupsSumms:R}}},{data:i,status:a,message:u}=([r,s]=I(()=>this.requestManager.load({type:"getCoupon",api:l,params:n})),r=await r,s(),r);return i.error||a!==wt.STATUS_SUCCESS?{success:!1,error:(o=i.error)!=null?o:{code:a,message:u}}:{success:!0,data:i}}createPlaceResultCommon(...t){return E1(...t)}}const xr=yi(()=>{$_$();const e=_i(),t=Sy(),o=rh(),r=oo(),s=vo(),[n,l,i,a,u,p]=hi(-1e3,-1001,-1010,-1012,-1008,39),m={ref_id:n,group_id:l,geoCountryId:a.id,geoCurrency:u,whence:i,isAvailablePrepaid:p};return{couponApi:new ER({$httpModule:e,$clientHeaders:t,$cookies:o,$logger:r,$siteConfig:m,$T:s})}});var TR=Object.defineProperty,OR=Object.defineProperties,vR=Object.getOwnPropertyDescriptors,xd=Object.getOwnPropertySymbols,PR=Object.prototype.hasOwnProperty,AR=Object.prototype.propertyIsEnumerable,$d=(e,t,o)=>t in e?TR(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,kt=(e,t)=>{for(var o in t||(t={}))PR.call(t,o)&&$d(e,o,t[o]);if(xd)for(var o of xd(t))AR.call(t,o)&&$d(e,o,t[o]);return e},po=(e,t)=>OR(e,vR(t));const CR={async couponAddBet({market:e,game:{firstOpponentNameEng:t,secondOpponentNameEng:o,firstOpponentFullScore:r,secondOpponentFullScore:s,number:n,champId:l,sportName:i,sportNameEng:a,champNameEng:u,menuSectionNameForUrl:p,subSportNameForUrl:m,cyberTypeId:c,mainGameId:_,id:h,name:g,isSubGame:S,typeId:P,gamePeriodId:v}={},shouldSkipOneClickBet:R=!1,manualBlockId:y,source:A,pageType:E,pageSubType:w,gameCardPosition:L,isBetBuilderMode:V=!1,onSubmit:U=mc}){$_$();var H,k;let F,te;const ce=vo(),x=to(303),de=Ot(),{trackAddBet:se}=rn();if(this.isActivePlaceBet)return;this.couponSetTab(1);const ve=y!=null?y:this.couponBlockIds.reduce((X,Oe)=>Oe>X?Oe:X,0)+1,K=Zn(e),Se=S?g:ce("game_main_game_name"),W=([F,te]=I(()=>gd(po(kt(kt({},e),(this.hasBetBuilderMarkets||V)&&e.isBetBuilder&&{mainGameId:_||h,name:[Se,e.groupName,e.name].filter(Boolean).join(": ")}),{duelMarketAdditionalId:K}),de.marketsNameType)),F=await F,te(),F);(H=W.champId)!=null||(W.champId=l),(k=W.sportName)!=null||(W.sportName=i);const j=new oi({builderMarkets:W.isBetBuilder?[W]:[],market:W,firstOpponentNameEng:t,secondOpponentNameEng:o,firstOpponentFullScore:r,secondOpponentFullScore:s,gameNumber:n,blockId:ve,expressId:e.expressId,playersDuel:e.playersDuel,sportNameEng:a,champNameEng:u,pageType:E,pageSubType:w,menuSectionNameForUrl:p,subSportNameForUrl:m,cyberTypeId:c,mainGameId:_||h,typeId:P,gamePeriodId:v});if(j.expressId&&j.expressId!==this.expressId&&this.couponBets.length||!j.expressId?(this.couponSetExpressId(void 0),[F,te]=I(()=>this.couponSettingsSetExpressId(void 0)),await F,te()):j.expressId&&!this.couponBets.length&&(this.couponSetExpressId(j.expressId),[F,te]=I(()=>this.couponSettingsSetExpressId(j.expressId)),await F,te()),this.isActiveOneClick&&!R){this.couponSetBets([j]),[F,te]=I(()=>this.couponPutOneClickBet()),await F,te();return}const De=this.bets.findIndex(X=>X.market.id===j.market.id);if(De!==-1&&!e.isBetBuilder){this.couponDeleteBet({index:De}),j.market.typeId===ia&&this.couponSetManuallyDeletedBonusBet(!1),se({sportId:e.sportId,groupId:j.market.groupId,marketId:j.market.id,isAdded:!1,source:A,gameCardPosition:L});return}if(se({sportId:e.sportId,groupId:j.market.groupId,marketId:j.market.id,isAdded:!0,source:A,gameCardPosition:L}),this.hasBetBuilderMarkets||V)return this.couponAddBuilderBet({bet:j,betMarket:W,onSubmit:U});const Pe=this.bets.findIndex(X=>X.market.gameId===W.gameId);if(Pe!==-1){this.couponReplaceBet({index:Pe,bet:j});return}if(this.couponBets.length+1>(x!=null?x:0)){[F,te]=I(()=>$_$() && rr({T:ce,text:ce("coupon_max_bets",{maxCount:x})})),await F,te();return}this.couponBets.length===0&&this.couponSetIsVisibleQuickCoupon(!0),this.manuallyDeletedExpressBoost=!1,this.couponPushBet(j)},couponAddBuilderBet({bet:e,betMarket:t,onSubmit:o}){$_$();const r=vo(),{notificationQuestion:s}=qs(),[n]=this.bets;if(!n)return t.isBetBuilder?(this.couponSetCouponTypeId(9),this.couponSetIsVisibleQuickCoupon(!0),this.couponPushBet(e)):s(r("coupon_bet_builder_notify_text"),{onSubmit:o});if(!t.isBetBuilder)return s(r("coupon_bet_builder_exit_notify_text"),{onSubmit:()=>{o(),this.couponSetBets([])}});const l=[...n.builderMarkets],i=l.findIndex(a=>a.id===t.id);return i===-1?l.push(t):l.splice(i,1),l.length?(this.couponSetCouponTypeId(9),this.couponReplaceBet({index:0,bet:po(kt({},e),{builderMarkets:l})})):this.couponDeleteBet({index:0})},async couponPutBetBuilderBet(){return this.couponPutBet({coupons:this.couponBaseCoupons})},async couponPutOneClickBet(){$_$();var e,t;let o,r;const s=vo(),{trackOneClickBetCall:n}=rn(),l=qs();n((t=(e=this.couponBaseCouponsOneClick[0])==null?void 0:e.bets)!=null?t:[]);const i=([o,r]=I(()=>this.couponPutBet({coupons:this.couponBaseCouponsOneClick,isOneClickBet:!0})),o=await o,r(),o);(i==null?void 0:i.success)===!1&&([o,r]=I(()=>$_$() && l.notificationError(i.error.message,{submitCustomTheme:Js.gray,title:s("main_error")})),await o,r())},async couponPutOrdinaryBets({coupons:e,guids:t,isApproved:o=!1,lng:r="",accountId:s=this.couponAccountId,accountBalance:n=this.couponAccountMoney,couponCode:l}){$_$();var i,a;let u,p;const m=Ot(),c=vo(),{couponApi:_}=xr(),{clickPlaceBet:h}=rn(),g=oo(),S=Xr(),{currentRoute:P}=S;r=r||m.getLanguage;try{this.couponSetIsActivePlaceBet(!0),this.couponAddActivePlaceBetIds(e.map(({betIds:x})=>x).flat());const v=15;if(e.length>v){[u,p]=I(()=>$_$() && rr({T:c,text:c("coupon_to_many_coupons_at_once",{maxCouponsCount:v,currentCouponsCount:e.length})})),await u,p(),this.couponSetIsActivePlaceBet(!1);return}const R=e.map((x,de)=>({accountId:s,amount:x.amount,bets:x.bets.map(se=>kt({blockId:se.blockId,coef:se.market.coef,gameId:se.market.gameId,kind:se.market.kind,param:se.market.param,playerId:se.market.playerId,typeId:se.market.typeId},se.playersDuel?{playersDuel:se.playersDuel}:{})),changeCoefAction:x.changeCoefAction,coefViewId:x.coefViewId,guid:t==null?void 0:t[de],isDuplicatesApproved:o,isPrepaid:x.amount>n,language:r,notWait:!0,couponCode:l,isOneClickBet:!1})),A=([u,p]=I(()=>_.putOrdinaryBets(R)),u=await u,p(),u).map((x,de)=>_.createPlaceResultCommon(x,e[de],this.couponCurrencyIso)),E=A.filter(x=>x.success&&"waitTime"in x.data&&x.data.waitTime>0),w=A.filter(x=>!("waitTime"in x.data)||x.data.waitTime===0),L=w.filter(x=>x.success),V=Math.max(...E.map(x=>x.data.waitTime),0),U=x=>{const de=x.data.coupon.bets[0];return"id"in de?de.id:de==null?void 0:de.marketId},H=w.map(U),k=L.map(U),F=this.couponBets.filter(x=>!k.includes(x.id)),te=this.couponBets.filter(x=>k.includes(x.id)),ce=Yt(this.singlesResultCoupons.map(U).concat(H)).map(x=>w.concat(this.singlesResultCoupons).find(de=>U(de)===x));if(this.couponSetBets(F),this.couponSetSinglesResultCoupons(ce),this.couponRemoveActivePlaceBetIds(H),V>0){const x=E.map(se=>se.data.coupon),de=E.map(se=>se.data.guid);return[u,p]=I(()=>$_$() && Ja(V)),await u,p(),this.couponPutOrdinaryBets({coupons:x,guids:de,isApproved:o,lng:r,accountId:s,accountBalance:n})}h({bets:te,couponTypeId:10001,isOneClick:this.isActiveOneClick,section:G(P).name,coefficientId:(a=(i=R[0])==null?void 0:i.coupons)==null?void 0:a.changeCoefAction}),this.couponRemoveActivePlaceBetIds(A.map(U)),this.couponPatchState({amount:void 0,amountByBetId:{},amountByBlockId:{},antiExpressCoef:void 0,isActivePlaceBet:!1,maxBetAmount:void 0,promoCode:void 0,systemValues:[]}),this.couponSettingsResetExactCoef(void 0),this.couponUpdateAccountMoney(L.slice().pop())}catch(v){this.couponSetIsActivePlaceBet(!1),this.couponAddActivePlaceBetIds([]),g.error(v),[u,p]=I(()=>$_$() && rr({T:c,text:c("main_error_server")})),await u,p()}},couponPutRegularBet(e){return this.couponPutBet({coupons:this.couponBaseCoupons,isCouponBalanceSimpleError:e==null?void 0:e.isCouponBalanceSimpleError,pageType:e==null?void 0:e.pageType})},async couponPutBet({coupons:e,guids:t,isForce:o=!1,isApproved:r=!1,promoCode:s=this.promoCode,typeId:n=this.typeId,lng:l="",userHash:i="",userId:a="",accountId:u=this.couponAccountId,accountBalance:p=this.couponAccountMoney,expressId:m=(v=>(v=this.expressId)!=null?v:this.settings.expressId)(),bets:c=this.couponBets,isPowerBet:_=!1,isOneClickBet:h=!1,pageType:g,isCouponBalanceSimpleError:S,isExpressBoost:P=this.isExpressBoost}){$_$();var v,R;let y,A;const E=Ot(),w=Co(`/${E.getLanguage}/office/recharge`),L=Co(`/${E.getLanguage}/office/identification`),V=Vn(),U=ip(),H=rh(),k=vo(),{couponApi:F}=xr(),te=Xr(),{currentRoute:ce}=te,{trackErrorPlaceBet:x,clickOnTopUpBalanceError:de,clickPlaceBet:se}=rn(),ve=oo(),[K,Se]=hi(361,509),W=qs(),j=this.isCouponLoadedFromCode?this.loadCouponInputValue:void 0,{inject:De}=sh(),{watchEntry:Pe}=yy();if(l=l||E.getLanguage,a=a||E.getUserId,i=i||H.get("uhash"),!!e.length){if(!a||!u){[y,A]=I(()=>this.couponSettingsSetIsActiveOneClick(!1)),await y,A();const{toggleAuthorizationBlock:X}=Iy();[y,A]=I(()=>$_$() && rr({T:k,text:k("main_authorize_v2")})),await y,A(),X();return}if(c.some(X=>X.isLocked)){this.couponSetIsActivePlaceBet(!1);return}if(!(this.isActivePlaceBet&&!o))try{const X={coupons:e,guids:t,isForce:o,isPowerBet:_,isApproved:r,promoCode:s,typeId:n,lng:l,userHash:i,userId:a,accountId:u,accountBalance:p,expressId:m,pageType:g,isCouponBalanceSimpleError:S,couponCode:j};if(n===10001)return this.couponPutOrdinaryBets(X);const Oe=(ae,Re)=>ae.blockIdae).flat());const B=e[0],ue=_?G(B).bets:[...this.bets],ut=ue.some(ae=>!!ae.builderMarkets.length),ke={accountId:u,amount:B.amount,bets:ue.sort(Oe).map(ae=>kt({builderMarkets:ae.builderMarkets,blockId:ae.blockId,coef:ae.market.coef,gameId:ae.market.gameId,kind:ae.market.kind,param:ae.market.param,playerId:ae.market.playerId,typeId:ae.market.typeId},ae.playersDuel?{playersDuel:ae.playersDuel}:{})),blocks:Object.entries(this.couponAmountByBlockId).map(([ae,Re])=>({id:parseInt(ae,10),amount:Re})),changeCoefAction:B.changeCoefAction,coefViewId:B.coefViewId,coef:B.coef,exactCoef:B.exactCoef,expressId:m,guid:t==null?void 0:t[0],isDropOnScoreChange:B.isDropOnScoreChange,isDuplicatesApproved:r,isPrepaid:B.amount>p,language:l,promoCode:s,systemValue:B.systemValue,typeId:this.couponHasSystemWithBanker?4:B.typeId,userHash:H.get("uhash"),isVipBet:this.isActiveVipBet,SaleBetId:_?B.id:void 0,isPowerBet:_,couponCode:j,isOneClickBet:h,isExpressBoost:P},Mt=([y,A]=I(()=>F[ut?"putBetBuilderBet":"putBet"](ke)),y=await y,A(),y);if(!Mt)return;const ne=F.createPlaceResultCommon(Mt,B,this.couponCurrencyIso,_);if(!ne.success){if(this.couponSetIsActivePlaceBet(!1),this.couponRemoveActivePlaceBetIds(e.map(({betIds:ae})=>ae).flat()),x(ne.error.code),GC.includes(ne.error.code)){const ae=this.bets.findIndex(({market:Re})=>ne.error.message.includes(Re.firstOpponentName)&&ne.error.message.includes(Re.secondOpponentName));if(ae===-1||this.bets.length<=1)return{success:!1,error:{message:ne.error.message}};[y,A]=I(()=>W.notificationQuestion(`${ne.error.message}. ${k("coupon_remove_bet_and_try")}`,{overlay:!0,onSubmit:async()=>{$_$();let Re,Ke;this.couponDeleteBet({index:ae}),[Re,Ke]=I(()=>$_$() && q_()),await Re,Ke(),this.couponPutBet(po(kt({},X),{coupons:this.couponBaseCoupons,guids:[],isForce:!0,isOneClickBet:h}))}})),await y,A();return}if(ne.error.code===130){[y,A]=I(()=>W.notificationQuestion(ne.error.message,{title:k("coupon_game_coef_changed_title"),overlay:!0,preConfirm:async()=>{$_$();let ae,Re;[ae,Re]=I(()=>this.couponUpdate()),await ae,Re(),this.couponPutBet(po(kt({},X),{changeCoefAction:2,coupons:this.couponBaseCoupons,guids:[],isForce:!0,isOneClickBet:h}))}})),await y,A();return}if(ne.error.code===158218){[y,A]=I(()=>W.notificationQuestion(ne.error.message,{confirmButtonText:k("main_continue"),onSubmit:async()=>this.couponPutBet(po(kt({},X),{guids:[],isApproved:!0,isForce:!0,isOneClickBet:h}))})),await y,A();return}if(ne.error.code===103){[y,A]=I(()=>$_$() && W.notificationError(k("main_no_have_money"),{title:k("main_error"),submitCaption:k(K),buttonTheme:Js.accent,onSubmit:()=>{de({isCouponBalanceSimpleError:S,pageType:g}),te.push(te.resolve(w).fullPath)}})),await y,A();return}if(ne.error.code===162319){[y,A]=I(()=>$_$() && W.notificationError(ne.error.message,{title:k("office_user_must_identify"),submitCaption:k("office_user_must_identify_btn"),buttonTheme:Js.accent,onSubmit:()=>{te.push(te.resolve(L).fullPath)}})),await y,A();return}if(ne.error.code===162557){this.couponSetIsNeedOfficeBindPhoneModal(!0);const ae=new Promise(Ke=>{try{const $e=Pe(gO,async It=>{$_$();let Ut,$;if(It.state===Ey.READY){const{showBindingPhoneModal:J}=De("officeApp/bindingPhoneModal");[Ut,$]=I(()=>J()),await Ut,$(),setTimeout(()=>{$e(),Ke(!0)})}})}catch($e){Ke(!1)}});if([y,A]=I(()=>ae),y=await y,A(),y)return}if(ne.success===!1&&(ne.error.code===158150||ne.error.code===158151)){const Re=this.couponBets.map($e=>ne.data.gameIds.includes($e.market.gameId)?$e.market.champName:void 0).filter(Boolean).map($e=>`'${$e}'`).join(", ");return{success:!1,error:{message:Re?ne.error.message.replace("''",Re):ne.error.message}}}return ne}if("waitTime"in ne.data)return[y,A]=I(()=>$_$() && Ja(ne.data.waitTime)),await y,A(),this.couponPutBet(po(kt({},X),{coupons:ut?this.couponBaseCoupons:e,guids:[ne.data.guid],isForce:!0,isPowerBet:_,isOneClickBet:h}));const{sendSuccessfullBet:yt}=Pf({fatmanCollector:Au(),appStorage:V,logger:ve,isFatmanAnalyticsAvailable:Se});se({couponTypeId:this.couponTypeId,isOneClick:this.isActiveOneClick,promoCode:this.couponPromoCode,bets:this.bets,section:G(ce).name,coefficientId:ne.data.coupon.changeCoefAction});const pt=(v=U.countryCode)!=null?v:"",Kt=(R=U.userRefId)!=null?R:0;if(yt({couponType:this.couponTypeId,coefType:B.coefViewId,userGeo:pt,userRef:Kt}),B.hyperBonusPercent){this.couponUpdate();const ae=this.couponBaseCoupons[0];ae&&(ne.data.coupon=po(kt({},ne.data.coupon),{hyperBonusPercent:ae.hyperBonusPercent,minHyperBonusBetLimit:ae.minHyperBonusBetLimit,maxHyperBonusLimit:ae.maxHyperBonusLimit}))}return this.couponPatchState({activePlaceBetIds:[],amount:void 0,amountByBetId:{},amountByBlockId:{},antiExpressCoef:void 0,bets:[],isActivePlaceBet:!1,maxBetAmount:void 0,promoCode:void 0,systemValues:[],successCoupon:po(kt({},ne.data.coupon),{isPowerBet:_,isUsedPromoCode:!!s})}),this.couponSettingsResetExactCoef(void 0),this.couponUpdateAccountMoney(ne),{success:!0}}catch(X){return this.couponSetIsActivePlaceBet(!1),this.couponAddActivePlaceBetIds([]),ve.error(X),{success:!1,error:{message:k("main_error_server")}}}}},async couponUpdate(){$_$();var e,t,o,r;let s,n;const l=Ot(),i=gr(),a=oo(),u=to(1986),{couponApi:p}=xr(),{isCoeffCutLine:m,isCoeffCutLive:c}=ip();if(this.bets.length===0){this.couponPatchState({initialAmount:void 0});return}const _={accountId:i.activeId,coefViewId:l.getCoefViewId,expressId:(e=this.expressId)!=null?e:this.settings.expressId,language:l.getLanguage,bets:this.bets.map(h=>kt({builderMarkets:h.builderMarkets,blockId:h.blockId,coef:h.market.coef,gameId:h.market.gameId,kind:h.market.kind,param:h.market.param,playerId:h.market.playerId,typeId:h.market.typeId},h.playersDuel?{playersDuel:h.playersDuel}:{})),typeId:this.couponTypeId,systemValue:this.couponSystemValue,groupsSumms:Object.values(this.couponAmountByBlockId),isCoeffCutLine:m,isCoeffCutLive:c};!this.manuallyDeletedExpressBoost&&u&&(_.isExpressBoost=!0);try{if(this.hasBetBuilderMarkets)return this.couponUpdateBetBuilder(_);const h=([s,n]=I(()=>p.updateCoupons(_)),s=await s,n(),s);if(!h.success)return;const g=y=>this.bets.find(A=>A.market.id===y.marketId),P=Array.isArray(h.data)&&this.couponTypeId===10001?h.data.reduce((y,A)=>(y.push(...A.bets),y),[]):h.data.bets,v=P.filter(g).map(y=>{$_$();const A=g(y),E={additionalType:y.additionalType,market:{additionalType:y.additionalType,coefByView:y.coefByView,coef:y.coef},firstOpponentFullScore:y.teamHomeScore,secondOpponentFullScore:y.teamAwayScore,isBlocked:y.isBlocked,isDepend:y.isDepend,isBannedExpress:y.isBannedExpress};return fi(A,E)});if(h.data.isExpressBoost&&P.some(y=>y.kind===7&&!this.bets.some(A=>A.market.id===y.marketId))){const y=P.find(A=>A.kind===7);v.push(y)}this.couponTypeId!==10001&&this.couponPatchState({antiExpressCoef:(t=h.data.antiExpressCoef)!=null?t:0,coef:h.data.coef,coefByView:h.data.coefByView,maxBetAmount:h.data.maxBetAmount,minBetAmount:h.data.minBetAmount,promoCodes:(o=h.data.promoCodes)!=null?o:[],systemValues:(r=h.data.systemValues)!=null?r:[],maxPayout:h.data.maxPayout,initialAmount:h.data.initialAmount,calcSystemsMin:!!h.data.calcSystemsMin,hyperBonusPercent:h.data.hyperBonusPercent,minHyperBonusBetLimit:h.data.minHyperBonusBetLimit,maxHyperBonusLimit:h.data.maxHyperBonusLimit}),this.couponPatchState({bets:aa.includes(_.typeId)||this.couponHasSystemWithBanker?v:v.map((y,A)=>po(kt({},y),{blockId:A+1})),eventCountToBoost:h.data.eventCountToBoost,minEventCoefToBoost:h.data.minEventCoefToBoost,minEventCountToBoost:h.data.minEventCountToBoost,isExpressBoost:h.data.isExpressBoost}),this.isManualAmountStep||([s,n]=I(()=>this.couponSettingsSetAmountStep(h.data.amountStep)),await s,n())}catch(h){h.isCancel||a.error(h)}},async couponUpdateBetBuilder(e){$_$();var t,o,r;let s,n;const{couponApi:l}=xr(),i=([s,n]=I(()=>l.updateBuilderCoupon(e)),s=await s,n(),s);if(!i.data)return;const a=this.bets[0];if(i.data.isBuilderBlocked){if(a.builderMarkets.length){const u=a.builderMarkets[a.builderMarkets.length-1];this.marketsLocked.includes(u.id)||this.couponSetMarketsLocked([...this.marketsLocked,u.id])}}else this.couponSetMarketsLocked([]);this.couponPatchState({antiExpressCoef:(t=i.data.antiExpressCoef)!=null?t:0,coef:i.data.coef,coefByView:i.data.coefByView,maxBetAmount:i.data.maxBetAmount,minBetAmount:i.data.minBetAmount,promoCodes:(o=i.data.promoCodes)!=null?o:[],systemValues:(r=i.data.systemValues)!=null?r:[],maxPayout:i.data.maxPayout,initialAmount:i.data.initialAmount,calcSystemsMin:!!i.data.calcSystemsMin,hyperBonusPercent:i.data.hyperBonusPercent,minHyperBonusBetLimit:i.data.minHyperBonusBetLimit,maxHyperBonusLimit:i.data.maxHyperBonusLimit}),this.isManualAmountStep||([s,n]=I(()=>this.couponSettingsSetAmountStep(i.data.amountStep)),await s,n())},async couponUpdateAccountMoney(e){$_$();let t,o;const r=gr(),s=to(449);e!=null&&e.data.accountMoney&&!s?r.setNewBalance({account_id:e.data.coupon.accountId,new_balance:e.data.accountMoney}):([t,o]=I(()=>r.updateData()),await t,o())},async couponLoadAvailablePrepaidAmount(){$_$();var e;let t,o;const r=gr(),s=Ot(),{couponApi:n}=xr(),l=oo(),i=vo(),a=r.activeId;if(G(a)!==void 0)try{const u={bets:this.bets.map(m=>kt({blockId:m.blockId,coef:m.market.coef,gameId:m.market.gameId,kind:m.market.kind,param:m.market.param,playerId:m.market.playerId,typeId:m.market.typeId},m.playersDuel?{playersDuel:m.playersDuel}:{})),amount:(e=this.amount)!=null?e:1,language:s.getLanguage,typeId:this.typeId,activeAccountId:G(a),mainAccountId:r.mainId},p=([t,o]=I(()=>n.getAvailablePrepaidAmount(u)),t=await t,o(),t);p.success?this.couponSetAvailablePrepaidAmount(p.data.availablePrepaidAmount):rr({T:i,text:p.error.message})}catch(u){l.error(u),[t,o]=I(()=>$_$() && rr({T:i,text:i("main_error_server")})),await t,o()}},async couponSaveCoupon(){$_$();let e,t;const{couponApi:o}=xr(),r=oo(),s=vo(),l=gr().activeId;try{const i={amount:this.amount,bets:this.bets.map(u=>po(kt({blockId:u.blockId,coef:u.market.coef,gameId:u.market.gameId,kind:u.market.kind,param:u.market.param,playerId:u.market.playerId,typeId:u.market.typeId},u.playersDuel?{playersDuel:u.playersDuel}:{}),{builderMarkets:u.builderMarkets})),typeId:this.couponTypeId,systemValue:this.couponSystemValue,antiExpressCoef:this.couponAntiExpressCoef,groupsSumms:Object.values(this.couponAmountByBlockId),isBetBuilder:this.hasBetBuilderMarkets,accountId:l},a=([e,t]=I(()=>o.saveCoupon(i)),e=await e,t(),e);this.couponSetLoadCouponInputValue(a.code)}catch(i){r.error(i),[e,t]=I(()=>$_$() && rr({T:s,text:s("main_error_server")})),await e,t()}},async couponLoadCoupon(){$_$();var e;let t,o;const r=Ot(),s=vo(),n=oo(),{couponApi:l}=xr(),i=qs();try{const a={code:this.loadCouponInputValue,coefViewId:r.getCoefViewId,language:r.getLanguage},u=([t,o]=I(()=>l.loadCoupon(a)),t=await t,o(),t);if(!u.success)return this.couponSetLoadCouponInputValue(void 0),i.notificationError(u.error.message,{title:s("main_error"),buttonTheme:Js.gray,overlay:!0});const p=u.data.bets.map(async c=>{$_$();var _,h,g,S,P;let v,R;const y={name:c.name,coef:c.coef,playerName:c.playerName,firstOpponentName:c.teamHomeName,secondOpponentName:c.teamAwayName,gameId:c.gameId,champId:c.champId,sportId:c.sportId,kind:c.kind,sportName:c.sportName,champName:c.champName,coefByView:c.coefByView,typeId:c.typeId,groupId:c.groupId,playerId:c.playerId,param:c.param,id:c.marketId,gameType:c.gameType,gameName:c.gameName,isBetBuilder:c.builderMarkets.length>0},A=(P=[(h=(_=c.playersDuel)==null?void 0:_.Team1Ids)==null?void 0:h.join(":"),(S=(g=c.playersDuel)==null?void 0:g.Team2Ids)==null?void 0:S.join(":")])==null?void 0:P.join("-"),E=([v,R]=I(()=>gd(po(kt({},y),{duelMarketAdditionalId:A}),r.marketsNameType)),v=await v,R(),v);return new oi({builderMarkets:c.builderMarkets,additionalType:c.additionalType,market:E,blockId:c.blockId,gameNumber:c.shortGameId,firstOpponentFullScore:c.teamHomeScore,secondOpponentFullScore:c.teamAwayScore,isBlocked:c.isBlocked,isDepend:c.isDepend,playersDuel:c.playersDuel,pageType:c.pageType,mainGameId:c.mainGameId})}),m=([t,o]=I(()=>Promise.all(p)),t=await t,o(),t);this.couponSetIsCouponLoadedFromCode(!0),this.couponPatchState({antiExpressCoef:(e=u.data.antiExpressCoef)!=null?e:0,bets:m,typeId:u.data.typeId}),this.couponSetSystemValue(u.data.systemValue),setTimeout(()=>this.couponSetIsCouponLoadedFromCode(!1))}catch(a){n.error(a),[t,o]=I(()=>$_$() && i.notificationError(s("main_error_server"),{title:s("main_error"),buttonTheme:Js.gray,overlay:!0})),await t,o()}},couponRepeatCoupon(e){if(!e.isCanRepeat)return;const t=e.bets.filter(o=>o.statusId===-2);this.couponPatchState({bets:t,typeId:e.typeId})},couponSettingsSetExpressId(e){this.couponSettingsMergeState({expressId:e})},couponSettingsSetChangeCoefAction(e){this.couponSettingsMergeState({changeCoefAction:e})},couponSettingsSetIsAutoMaxAction(e){this.couponSettingsMergeState({isAutoMax:e})},couponSettingsSetIsVipBetAction(e){this.couponSettingsMergeState({isVipBet:e})},couponSettingsSetOneClickAmount(e){this.couponSettingsMergeState({oneClickAmount:e})},couponSettingsSetIsDropOnScoreChange(e){this.couponSettingsMergeState({isDropOnScoreChange:e,isActiveOneClick:!1})},couponSettingsResetExactCoef(){this.couponSettingsMergeState({exactCoef:0,isDropOnScoreChange:!1})},couponSettingsSetIsCouponFixed(e){this.couponSettingsMergeState({isCouponFixed:e})},couponSettingsSetExactCoef(e){this.couponSettingsMergeState(e?{exactCoef:e}:{exactCoef:0,isDropOnScoreChange:!1})},couponSettingsSetAmountStep(e){$_$();const t=Ot(),{currencyIso:o}=t,r=po(kt({},this.settings.amountStepByCurrencyIso),{[o]:e});this.couponSettingsMergeState({amountStepByCurrencyIso:r})},couponSettingsSetIsManualAmountStep(e){this.couponSettingsMergeState({isManualAmountStep:e})},couponSettingsSetManualAmountStep(e){this.couponSettingsSetAmountStep(e),this.couponSettingsSetIsManualAmountStep(!0)},couponSettingsSetBonusAccountOneClickAmount(e){this.couponSettingsMutateBonusAccountOneClickAmount(e)},couponSettingsSetCurrencyIsoUsed(e){this.couponSettingsMergeState({currencyIsoUsed:e})},async couponSettingsSetIsActiveOneClick(e){$_$();var t;let o,r;const s=vo(),{trackCleanPopupCall:n,trackCleanAction:l}=rn(),i=qs();if(!e){this.couponSettingsMergeState({isActiveOneClick:e});return}if(!((t=this.couponBets)==null?void 0:t.length)){this.couponSettingsMergeState({isActiveOneClick:e});return}n();const{close:u}=([o,r]=I(()=>i.notificationPermanentQuestion(s("coupon_one_click_enable_warning"),{title:s("coupon_will_be_cleared"),submitCaption:s("main_enable"),cancelButtonText:s("main_undo"),showCancelButton:!0,onCancel:()=>l(!1),onSubmit:()=>{l(!0),this.couponPatchState({bets:[],eventCountToBoost:void 0,minEventCoefToBoost:void 0,minEventCountToBoost:void 0,isExpressBoost:void 0}),this.manuallyDeletedExpressBoost=!1,this.couponSettingsMergeState({isActiveOneClick:!0})}})),o=await o,r(),o);Yc(u)},couponSettingsSetStakes(e){this.couponSettingsMergeState({stakes:e})}},We=e=>function(o){this[e]=o},bR=()=>({couponPatchState(e){Object.assign(this,e)},couponReplaceBet({bet:e={market:{}},index:t=this.bets.findIndex(o=>o.market.id===e.market.id)}){t!==-1&&this.bets.splice(t,1,e)},couponDeleteBet({id:e,index:t=this.bets.findIndex(o=>o.market.id===e)}){t!==-1&&(this.bets[t].market.typeId===ia&&(this.manuallyDeletedBonusBet=!0),this.bets=this.bets.filter((o,r)=>r!==t))},couponDeleteExpressBoost(e){const t=this.bets.findIndex(o=>o.market.id===e);t!==-1&&(this.manuallyDeletedExpressBoost=!0,this.bets=this.bets.filter((o,r)=>r!==t))},couponPushBet(e){this.bets.push(e)},couponAddActivePlaceBetIds(e){$_$();this.activePlaceBetIds=Yt(this.activePlaceBetIds.concat(e))},couponRemoveActivePlaceBetIds(e){this.activePlaceBetIds=this.activePlaceBetIds.filter(t=>!e.includes(t))},couponToggleIsBanker({isChecked:e}){this.isActiveSystemBanker=e},couponSetAccountId:We("accountId"),couponSetAmount:We("amount"),couponSetAmountByBetId:We("amountByBetId"),couponSetAmountByBlockId:We("amountByBlockId"),couponSetAvailablePrepaidAmount:We("availablePrepaidAmount"),couponSetBets:We("bets"),couponSetCouponTypeId:We("typeId"),couponSetIsActivePlaceBet:We("isActivePlaceBet"),couponSetIsActiveAutoMax:We("isActiveAutoMax"),couponSetIsActiveVipBet:We("isActiveVipBet"),couponSetIsCouponLoadedFromCode:We("isCouponLoadedFromCode"),couponSetLoadCouponInputValue:We("loadCouponInputValue"),couponSetPromoCode:We("promoCode"),couponSetManualPromoCode:We("manualPromoCode"),couponSetSuccessCoupon:We("successCoupon"),couponSetSinglesResultCoupons:We("singlesResultCoupons"),couponSetTab:We("tab"),couponSetExpressId:We("expressId"),couponSetAddedAtByBetId:We("addedAtByBetId"),couponSetManuallyDeletedBonusBet:We("manuallyDeletedBonusBet"),couponSetIsVisibleQuickCoupon:We("isVisibleQuickCoupon"),couponSetIsNeedOfficeBindPhoneModal:We("isNeedOfficeBindPhoneModal"),couponSetManuallyDeletedExpressBoost:We("manuallyDeletedExpressBoost"),couponSetSystemValue(e=2){this.systemValue=Math.max(e,2)},couponSetMarketsLocked:We("marketsLocked"),couponSettingsMergeState(e){Object.assign(this.settings,e)},couponSettingsMutateBonusAccountOneClickAmount(e){this.settings.bonusAccountOneClickAmount=e}}),RR=bR();var NR=Object.defineProperty,Vd=Object.getOwnPropertySymbols,LR=Object.prototype.hasOwnProperty,BR=Object.prototype.propertyIsEnumerable,Hd=(e,t,o)=>t in e?NR(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,Kd=(e,t)=>{for(var o in t||(t={}))LR.call(t,o)&&Hd(e,o,t[o]);if(Vd)for(var o of Vd(t))BR.call(t,o)&&Hd(e,o,t[o]);return e};const MR=jc("coupon",{useSharedStore:!0,state:Cb,getters:Kb,actions:Kd(Kd({},CR),RR),hydrate(){}}),s5=Tr("$leavingPage"),GR=Tr("$statisticModule"),Au=Tr("$fatmanCollector"),kR=Tr("$betModelsManager"),n5=Tr("gameVideoAvailabilityService"),a5=Tr("$marketLayoutService"),i5=Tr("teamStatsService"),l5=Tr("storeMap");async function wR({gameStatsData:e}){$_$();let t,o;const r=GR(),s=Ei(),n=oo(),{gameId:l,sportId:i,permanentId:a}=e,{statisticGameId:u}=([t,o]=I(()=>s.gameApi.checkIfFinishedGameStatsExist({sportId:i,gameId:l})),t=await t,o(),t);if(fe(u))try{const p=r.getStatisticGameUrl({gameId:l,permanentId:a,statisticGameId:u,sportId:i});return this.gameSetStatisticUrl(p),p}catch(p){n.error("gameLoadFinishedGameStatsData",p);return}}async function DR({key:e,value:t,options:o}){$_$();let r,s;const{appStorage:n,logger:l}=Bt();try{[r,s]=I(()=>$_$() && n.setItem(e,Ty(t),o)),await r,s()}catch(i){l.error("GameApp, gamePersistValueInAppStorage",`error while saving value in app storage: ${i}`)}}async function FR({marketGroup:e,marketDisplaySettings:t}){$_$();var o,r,s;let n,l;const{collapsedMarketGroupsStorageKey:i,expandedMarketGroupsStorageKey:a,gameStorageValueExpireDate:u}=this,p=!e.isCollapsed;[n,l]=I(()=>this.gameRebuildMarketGridGroup({id:e.id,isCollapsed:p})),await n,l(),p?(this.gameDeleteExpandedMarketGroupIdByUser(e.id),this.gameSetCollapsedMarketGroupIdByUser(e.id)):(this.gameSetExpandedMarketGroupIdByUser(e.id),this.gameDeleteCollapsedMarketGroupIdByUser(e.id)),[n,l]=I(()=>Promise.all([this.gamePersistValueInAppStorage({key:i,value:this.collapsedMarketGroupIdsByUser,options:{expireDate:u}}),this.gamePersistValueInAppStorage({key:a,value:this.expandedMarketGroupIdsByUser,options:{expireDate:u}})])),await n,l();const m=(s=(r=(o=this.marketGridCategories.find(_=>_.groups.length))==null?void 0:o.groups[0])==null?void 0:r.isCollapsed)!=null?s:!1;!this.marketGridCategories.some(_=>_.groups.some(h=>m!==h.isCollapsed))&&m!==this.areAllMarketGroupsCollapsed&&([n,l]=I(()=>this.gameToggleAllMarketGroupsCollapsedState({marketDisplaySettings:t})),await n,l())}var Lf={exports:{}},Bf={exports:{}};(function(){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t={rotl:function(o,r){return o<>>32-r},rotr:function(o,r){return o<<32-r|o>>>r},endian:function(o){if(o.constructor==Number)return t.rotl(o,8)&16711935|t.rotl(o,24)&4278255360;for(var r=0;r0;o--)r.push(Math.floor(Math.random()*256));return r},bytesToWords:function(o){for(var r=[],s=0,n=0;s>>5]|=o[s]<<24-n%32;return r},wordsToBytes:function(o){for(var r=[],s=0;s>>5]>>>24-s%32&255);return r},bytesToHex:function(o){for(var r=[],s=0;s>>4).toString(16)),r.push((o[s]&15).toString(16));return r.join("")},hexToBytes:function(o){for(var r=[],s=0;s>>6*(3-l)&63)):r.push("=");return r.join("")},base64ToBytes:function(o){o=o.replace(/[^A-Z0-9+\/]/ig,"");for(var r=[],s=0,n=0;s>>6-n*2);return r}};Bf.exports=t})();var UR=Bf.exports,Cc={utf8:{stringToBytes:function(e){return Cc.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(Cc.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],o=0;o * @license MIT */var xR=function(e){return e!=null&&(Mf(e)||$R(e)||!!e._isBuffer)};function Mf(e){return!!e.constructor&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function $R(e){return typeof e.readFloatLE=="function"&&typeof e.slice=="function"&&Mf(e.slice(0,0))}(function(){var e=UR,t=Wd.utf8,o=xR,r=Wd.bin,s=function(n,l){n.constructor==String?l&&l.encoding==="binary"?n=r.stringToBytes(n):n=t.stringToBytes(n):o(n)?n=Array.prototype.slice.call(n,0):!Array.isArray(n)&&n.constructor!==Uint8Array&&(n=n.toString());for(var i=e.bytesToWords(n),a=n.length*8,u=1732584193,p=-271733879,m=-1732584194,c=271733878,_=0;_>>24)&16711935|(i[_]<<24|i[_]>>>8)&4278255360;i[a>>>5]|=128<>>9<<4)+14]=a;for(var h=s._ff,g=s._gg,S=s._hh,P=s._ii,_=0;_>>0,p=p+R>>>0,m=m+y>>>0,c=c+A>>>0}return e.endian([u,p,m,c])};s._ff=function(n,l,i,a,u,p,m){var c=n+(l&i|~l&a)+(u>>>0)+m;return(c<>>32-p)+l},s._gg=function(n,l,i,a,u,p,m){var c=n+(l&a|i&~a)+(u>>>0)+m;return(c<>>32-p)+l},s._hh=function(n,l,i,a,u,p,m){var c=n+(l^i^a)+(u>>>0)+m;return(c<>>32-p)+l},s._ii=function(n,l,i,a,u,p,m){var c=n+(i^(l|~a))+(u>>>0)+m;return(c<>>32-p)+l},s._blocksize=16,s._digestsize=16,Lf.exports=function(n,l){if(n==null)throw new Error("Illegal argument "+n);var i=e.wordsToBytes(s(n,l));return l&&l.asBytes?i:l&&l.asString?r.bytesToString(i):e.bytesToHex(i)}})();var VR=Lf.exports;const Gf=uf(VR),kf="dummy-market",HR=()=>$_$() && `${kf}-${Qi(0,1e5)}-${Qi(0,1e5)}-${Qi(0,1e5)}`,wf=()=>lr({id:HR()}),Df=e=>{var t,o;return(o=(t=e.id)==null?void 0:t.startsWith(kf))!=null?o:!1},KR=e=>e.reduce(({visitedRegistry:t,processedMarkets:o},r)=>{if(Df(r))return{visitedRegistry:t,processedMarkets:[...o,r]};const s=r.name;return t.has(s)?o.push(wf()):(t.add(s),o.push(r)),{visitedRegistry:t,processedMarkets:o}},{visitedRegistry:new Set,processedMarkets:[]}).processedMarkets;var WR=Object.defineProperty,YR=(e,t,o)=>t in e?WR(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,tr=(e,t,o)=>YR(e,typeof t!="symbol"?t+"":t,o);const Ff=class Es extends Be{constructor({id:t,marketGroupName:o="",data:r,isCollapsed:s=!1,isPinned:n=!1,isHidden:l=!1,categoryName:i=""}){var a;super(),tr(this,"id"),tr(this,"data"),tr(this,"name"),tr(this,"isCollapsed"),tr(this,"isPinned"),tr(this,"isHidden"),tr(this,"contentHash"),tr(this,"categoryName"),this.id=t,this.name=o!=null?o:"",this.data=r,this.isCollapsed=s!=null?s:!1,this.isPinned=n!=null?n:!1,this.isHidden=l!=null?l:!1,this.contentHash=Gf(((a=r==null?void 0:r.marketColumns)!=null?a:[]).flat().map(u=>u==null?void 0:u.id).join(":")),this.categoryName=i}static isDummy(t){return t.id.startsWith(Es.dummyIdPrefix)}static dummy(t){return Es.immutable({id:`${Ro(Es.dummyIdPrefix)}-${t}`})}static immutable({id:t,marketGroupName:o,data:r,isCollapsed:s,isPinned:n,isHidden:l,categoryName:i}){$_$();const a=new Es({id:t,marketGroupName:o,data:r,isCollapsed:s,isPinned:n,isHidden:l,categoryName:i});return jt(a)}static getMarkets(t){$_$();var o,r;const s=(o=t.data)==null?void 0:o.marketColumns.length,n=sv((r=t.data)==null?void 0:r.marketColumns,{isInverse:!0,fillEmpty:()=>wf()}),l=KR(n);return gi(l,s).filter(i=>!i.every(Df)).flat()}static rebuild(t,{name:o,data:r,isCollapsed:s,isPinned:n,isHidden:l,categoryName:i}={}){return Es.immutable({id:t.id,marketGroupName:o!=null?o:t.name,data:r!=null?r:t.data,isCollapsed:s!=null?s:t.isCollapsed,isPinned:n!=null?n:t.isPinned,isHidden:l!=null?l:t.isHidden,categoryName:i!=null?i:t.categoryName})}};tr(Ff,"dummyIdPrefix","dummy-market-grid-group-");let Uf=Ff;var jR=Object.defineProperty,ZR=(e,t,o)=>t in e?jR(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,Oa=(e,t,o)=>ZR(e,typeof t!="symbol"?t+"":t,o);class Jr extends Be{constructor({id:t,groups:o=[],categoryName:r="",isCollapsed:s=!1}={}){super(),Oa(this,"id"),Oa(this,"groups"),Oa(this,"categoryName"),Oa(this,"isCollapsed"),this.id=t!=null?t:Gf(r),this.groups=o,this.categoryName=r,this.isCollapsed=s}static immutable({id:t,groups:o=[],categoryName:r="",isCollapsed:s=!1}={}){$_$();const n=new Jr({id:t,groups:o,categoryName:r,isCollapsed:s});return jt(n)}static rebuildGroup(t,o,r={}){const s=t.groups.map(n=>n.id===o?Uf.rebuild(n,{isCollapsed:r.isCollapsed,isPinned:r.isPinned,isHidden:r.isHidden}):n);return Jr.rebuild(t,{groups:s})}static rebuild(t,{groups:o,categoryName:r,isCollapsed:s}={}){return Jr.immutable({id:t.id,groups:o||t.groups,categoryName:r||t.categoryName,isCollapsed:s!=null?s:t.isCollapsed})}}async function qR(e){const{marketGridCategories:t}=this,o=t.map(r=>r.groups.some(s=>s.id===e.id)?Jr.rebuildGroup(r,e.id,e):r);this.gameSetMarketGridCategories(o)}const JR=(e,t)=>{const o=new Set(e),r=o.has(t)?"delete":"add";return o[r](t),[...o]};async function XR(e){const{marketGridCategories:t,collapsedGridGroupNames:o}=this,r=JR(o,e.categoryName),s=t.map(n=>n.id===e.id?Jr.rebuild(n,{isCollapsed:!n.isCollapsed}):n);this.gameSetCollapsedGridGroupNames(r),this.gameSetMarketGridCategories(s)}async function zR({sectionType:e,language:t,gameId:o}){$_$();let r,s;const n=oo(),{gameApi:l}=Ei(),{data:i,status:a}=([r,s]=I(()=>l.getAvailablePlayersForDuel({sectionType:e,language:t,gameId:o})),r=await r,s(),r);a===wt.STATUS_SUCCESS?this.gameSetDuelTeams(i):a!==wt.STATUS_CLOSE&&n.error("get available players for duel request fail")}async function QR({language:e,gameId:t,team1Ids:o,team2Ids:r,coefView:s,userId:n,optionForParser:l,marketDisplaySettings:i}){$_$();var a,u,p,m,c,_;let h,g;const S=Ei();if(!o.length&&!r.length){[h,g]=I(()=>this.gameResetDuel(i)),await h,g();return}const{currentGame:P,filterQuery:v}=this,R=([h,g]=I(()=>S.gameApi.buildDuel({game:P,language:e,gameId:t,team1Ids:o,team2Ids:r,coefView:s,userId:n,optionForParser:l})),h=await h,g(),h);return this.gameSetMarketsCountByTypeDuel((u=(a=R.duel)==null?void 0:a.marketsCountByTypeDuel)!=null?u:{}),this.gameSetMarketGroups((m=(p=R.duel)==null?void 0:p.marketGroups)!=null?m:[]),this.gameSetFilteredMarketGroups((_=(c=R.duel)==null?void 0:c.marketGroups)!=null?_:[]),v&&this.gameFilterMarketsByText(v,e),[h,g]=I(()=>this.gameUpdateMarketGridLayout({marketDisplaySettings:i})),await h,g(),R}async function eN(e){$_$();let t,o;this.gameSetMarketsCountByTypeDuel({}),this.gameSetFilteredMarketGroups([]),this.gameSetMarketGroups([]),[t,o]=I(()=>this.gameUpdateMarketGridLayout({marketDisplaySettings:e})),await t,o()}async function tN({lng:e,marketsNameType:t,coefViewId:o,userId:r,betsModelsManager:s,marketDisplaySettings:n}={}){$_$();let l,i;const a={betsModelsManager:s,language:e,marketsNameType:t};[l,i]=I(()=>this.gameBuildDuel({language:e,gameId:this.currentGame.id,team1Ids:this.selectedDuelPlayersTeamFirst.map(u=>u.id),team2Ids:this.selectedDuelPlayersTeamSecond.map(u=>u.id),coefView:o,userId:r,optionForParser:a,marketDisplaySettings:n})),await l,i()}async function oN(e){this.selectedDuelPlayersTeamFirst.find(o=>o.id===e.id)?this.removeDuelPlayerFirstTeam(e):this.addDuelPlayerFirstTeam(e)}async function rN(e){this.selectedDuelPlayersTeamSecond.find(o=>o.id===e.id)?this.removeDuelPlayerSecondTeam(e):this.addDuelPlayerSecondTeam(e)}async function sN({selectedPlayer:e,newPlayer:t}){const o=this.selectedDuelPlayersTeamFirst.findIndex(r=>r.id===e.id);this.replaceDuelPlayerFirstTeam({selectedPlayerIndex:o,newPlayer:t})}async function nN({selectedPlayer:e,newPlayer:t}){const o=this.selectedDuelPlayersTeamSecond.findIndex(r=>r.id===e.id);this.replaceDuelPlayerSecondTeam({selectedPlayerIndex:o,newPlayer:t})}function aN(e){const t=new Set(this.pinnedMarketGroupForeignIds);t.delete(e),this.pinnedMarketGroupForeignIds=[...t]}function iN(e){$_$();const t=new Set([...this.pinnedMarketGroupForeignIds,e].filter(fe));this.pinnedMarketGroupForeignIds=[...t]}const xf=(e=[],t=[])=>{e.forEach(o=>{const r=t.find(({id:s})=>s===o.id);r&&(r.isDisabled=!1,xf(o.events,r.events))})};function lN({subscribedEvents:e=[]}={}){xf(e,this.gameEventsToSubscribe)}const Ae=e=>function(o){this[e]=o},cN={gameUpdate:kA,gameLoadAllMarkets:$A,gameFilterMarketsByText:QA,gameUpdateMarketGridLayout:tC,gameToggleAllMarketGroupsCollapsedState:oC,gameIncreaseMarketsPerPageCount:rC,gameRequestMarketsByMarketType:lC,gameLoadEventsToSubscribe:cC,gameLoadActiveEventSubscriptions:uC,gameSaveEventSubscriptions:dC,gameUpdateMarketDisplay:mC,gamePersistMarketGridColumnsCount:_C,gameRestoreMarketGridColumnsCount:hC,gameUpdateTimelineEvents:fC,gameRestoreUIState:gC,gameRestoreAllMarketGroupsCollapsedState:SC,gameRestoreCollapsedMarketGroupIds:yC,gameRestoreExpandedMarketGroupIds:IC,gameRestorePinnedMarketGroupForeignIds:EC,gameClearUIState:TC,gameParseUnparsedMarketGroups:pb,gamePersistAllMarketGroupsCollapsedState:db,gamePersistCollapsedMarketGroupIds:mb,gamePersistExpandedMarketGroupIds:_b,gameToggleMarketGroupPinnedState:yb,gameEnsureLineupsAreLoaded:Ib,gameEnsureStandingsDataIsLoaded:Eb,gameLoadFinishedGameStatsData:wR,gamePersistValueInAppStorage:DR,gameToggleMarketGroupCollapsedState:FR,gameRebuildMarketGridGroup:qR,gameToggleCategoryCollapsedState:XR,loadGameAvailablePlayersForDuel:zR,gameBuildDuel:QR,gameResetDuel:eN,gameUpdateDuel:tN,gameUpdateBetBuilder:wA,gameSelectDuelPlayerFirstTeam:oN,gameSelectDuelPlayerSecondTeam:rN,gameReplaceDuelPlayerFirstTeam:sN,gameReplaceDuelPlayerSecondTeam:nN,gameDeletePinnedMarketGroupForeignId:aN,gameSetPinnedMarketGroupForeignId:iN,gameUpdateSubscribedEvents:lN,gameSetAreAllMarketGroupsCollapsed:Ae("areAllMarketGroupsCollapsed"),gameSetAwayTeamAbsentPlayerIds:Ae("awayTeamAbsentPlayerIds"),gameSetCollapsedGridGroupNames:Ae("collapsedGridGroupNames"),gameSetCurrentGameId:Ae("currentGameId"),gameSetFilterQuery:Ae("filterQuery"),gameSetFilteredMarketGroups:Ae("filteredMarketGroups"),gameSetGameEventsToSubscribe:Ae("gameEventsToSubscribe"),gameSetGameIds:Ae("gameIds"),gameSetGamesById:Ae("gamesById"),gameSetHomeTeamAbsentPlayerIds:Ae("homeTeamAbsentPlayerIds"),gameSetIsGameOverFlag:Ae("isGameOver"),gameSetIsLoadingInProgress:Ae("isLoadingInProgress"),gameSetIsScoreboardLoadingInProgress:Ae("isScoreboardLoadingInProgress"),gameSetMarketGridCategories:Ae("marketGridCategories"),gameSetMarketGridColumnsCount:Ae("marketGridColumnsCount"),gameSetMarketGroups:Ae("marketGroups"),gameSetUnparsedMarketGroupsByGameId:Ae("unparsedMarketGroupsByGameId"),gameSetMarketType:Ae("marketType"),gameSetMarketsPanelCompactViewFlag:Ae("isMarketsPanelCompactView"),gameSetMarketsPerPageCount:Ae("marketsPerPage"),gameSetMaxMarketGridColumnsCount:Ae("maxMarketGridColumnsCount"),gameSetPinnedMarketGroupForeignIds:Ae("pinnedMarketGroupForeignIds"),gameSetPlayersByIds:Ae("playersByIds"),gameSetScoreboardCompactViewFlag:Ae("isScoreboardCompactView"),gameSetStandingsGroups:Ae("standingsGroups"),gameSetStatisticUrl:Ae("statisticUrl"),gameSetMarketGridWrapperWidth:Ae("marketGridWrapperWidth"),gameSetIsMarketGridStoredColumnsCountLoaded:Ae("isMarketGridStoredColumnsCountLoaded"),gameSetScoreboardSize:Ae("scoreboardSize"),gameSetDuelTeams:Ae("playerListForDuel"),gameSetMarketsCountByTypeDuel:Ae("marketsCountByTypeDuel"),gameSetMenuSection:Ae("menuSections"),gameSetSectionType:Ae("sectionType"),gameSetGameFromRoute(e){this.gameFromRoute=e},gameSetCollapsedMarketGroupIdByUser(e){$_$();this.collapsedMarketGroupIdsByUser=Yt([...this.collapsedMarketGroupIdsByUser,e].filter(fe))},gameSetCollapsedMarketGroupIds(e){$_$();this.collapsedMarketGroupIdsByUser=Yt(e)},gameDeleteCollapsedMarketGroupIdByUser(e){const t=new Set(this.collapsedMarketGroupIdsByUser);t.delete(e),this.collapsedMarketGroupIdsByUser=[...t]},gameSetExpandedMarketGroupIdByUser(e){$_$();this.expandedMarketGroupIdsByUser=Yt([...this.expandedMarketGroupIdsByUser,e].filter(fe))},gameSetExpandedMarketGroupIds(e){$_$();this.expandedMarketGroupIdsByUser=Yt(e)},gameDeleteExpandedMarketGroupIdByUser(e){const t=new Set(this.expandedMarketGroupIdsByUser);t.delete(e),this.expandedMarketGroupIdsByUser=[...t]},gameResetMarketsPerPageCount(){this.marketsPerPage=ti},gameSetTimelineEvents({events:e}={events:[]}){this.timelineEvents=e},gameSetAwayTeamActivePlayerIds(e){this.awayTeamActivePlayerIds=e},gameSetHomeTeamActivePlayerIds(e){this.homeTeamActivePlayerIds=e},unSelectAllPlayers(){this.selectedDuelPlayersTeamFirst=[],this.selectedDuelPlayersTeamSecond=[]},addDuelPlayerFirstTeam(e){this.selectedDuelPlayersTeamFirst=[...this.selectedDuelPlayersTeamFirst,e]},addDuelPlayerSecondTeam(e){this.selectedDuelPlayersTeamSecond=[...this.selectedDuelPlayersTeamSecond,e]},removeDuelPlayerFirstTeam(e){this.selectedDuelPlayersTeamFirst=this.selectedDuelPlayersTeamFirst.filter(t=>t.id!==e.id)},removeDuelPlayerSecondTeam(e){this.selectedDuelPlayersTeamSecond=this.selectedDuelPlayersTeamSecond.filter(t=>t.id!==e.id)},replaceDuelPlayerFirstTeam({selectedPlayerIndex:e,newPlayer:t}){this.selectedDuelPlayersTeamFirst=this.selectedDuelPlayersTeamFirst.map((o,r)=>r===e?t:o)},replaceDuelPlayerSecondTeam({selectedPlayerIndex:e,newPlayer:t}){this.selectedDuelPlayersTeamSecond=this.selectedDuelPlayersTeamSecond.map((o,r)=>r===e?t:o)}};function uN(){return this.currentGame.marketsCountByType||{}}function pN(){return this.currentGame.isSubGame?this.gamesById[this.currentGame.mainGameId]:this.currentGame}function dN(e){$_$();if(this.currentGame.isSubGame||e.sectionType===ee.LINE){const t=e.marketsCountByTypeDuel;return this.currentGame.typeId===Ui&&t?t[e.marketType]:this.currentGame.numberOfMarkets||0}return this.games.reduce((t,o)=>t+(o.numberOfMarkets||0),0)}class es extends Be{constructor({city:o="",country:r="",stage:s="",stadium:n="",gameType:l="",fieldType:i="",scoreLabel:a="",setsCount:u="",firstOpponentSeed:p="",secondOpponentSeed:m=""}={}){super();T(this,"city");T(this,"country");T(this,"stage");T(this,"stadium");T(this,"gameType");T(this,"fieldType");T(this,"scoreLabel");T(this,"setsCount");T(this,"firstOpponentSeed");T(this,"secondOpponentSeed");this.city=o,this.country=r,this.stage=s,this.stadium=n,this.gameType=l,this.fieldType=i,this.scoreLabel=a,this.setsCount=u,this.firstOpponentSeed=p,this.secondOpponentSeed=m}static fromEncodedData(o){return new es({city:o[7],country:o[11],stage:o[1],stadium:o[2],gameType:o[3],fieldType:o[10],scoreLabel:o[4],setsCount:o[34],firstOpponentSeed:o[5],secondOpponentSeed:o[6]})}static fromEncodedDataNew(o){return new es({city:o.locationCity,country:o.locationCountry,stage:o.tournamentStage,stadium:o.stadiumId,gameType:o.matchFormat,fieldType:o.surface,scoreLabel:o.seriesScore,setsCount:o.h2HLastScore,firstOpponentSeed:o.seedNum1,secondOpponentSeed:o.seedNum2})}}const $n=class $n extends Be{constructor({temperature:o,weatherCondition:r,windSpeed:s,pressure:n,humidity:l,windDirection:i,pressureDescription:a,humidityDescription:u,waveLength:p,waterTemperature:m,windSpeedWithDimension:c,pressureWithDimension:_,humidityWithDimension:h,precipitation:g,precipitationDescription:S}={}){super();T(this,"temperature");T(this,"weatherCondition");T(this,"humidity");T(this,"humidityDescription");T(this,"pressure");T(this,"pressureDescription");T(this,"windSpeed");T(this,"windDirection");T(this,"waveLength");T(this,"waterTemperature");T(this,"windSpeedWithDimension");T(this,"pressureWithDimension");T(this,"humidityWithDimension");T(this,"precipitation");T(this,"precipitationDescription");this.temperature=o,this.weatherCondition=r,this.humidity=l,this.humidityDescription=u,this.pressure=n,this.pressureDescription=a,this.windSpeed=s,this.windDirection=i,this.waveLength=p,this.waterTemperature=m,this.windSpeedWithDimension=c,this.pressureWithDimension=_,this.humidityWithDimension=h,this.precipitation=g,this.precipitationDescription=S}static fromEncodedDataNew(o){return new $n({temperature:o.temperature,weatherCondition:o.weatherDescription,windSpeed:o.weatherWindParam,windDirection:o.weatherWindDescription,pressure:o.weatherPressure,pressureDescription:o.weatherPressureDescription,humidity:o.weatherHumidity,humidityDescription:o.weatherHumidityDescription,waveLength:o.weatherWaveHeight,waterTemperature:o.weatherWaterTemperature,windSpeedWithDimension:this.getValueWithDimention(o.weatherWindParam,o.weatherWindDescription),pressureWithDimension:this.getValueWithDimention(o.weatherPressure,o.weatherPressureDescription),humidityWithDimension:this.getValueWithDimention(o.weatherHumidity,o.weatherHumidityDescription),precipitation:o.weatherPrecipitationChance,precipitationDescription:o.weatherPrecipitationChanceDescription})}static fromEncodedData(o,r=!0){$_$();const s=new $n({temperature:o[9],weatherCondition:o[21],windSpeed:o[23],windDirection:o[24],pressure:o[25],pressureDescription:o[26],humidity:o[27],humidityDescription:o[28],waveLength:o[29],waterTemperature:o[30],windSpeedWithDimension:this.getValueWithDimention(o[23],o[24]),pressureWithDimension:this.getValueWithDimention(o[25],o[26]),humidityWithDimension:this.getValueWithDimention(o[27],o[28]),precipitation:o[35],precipitationDescription:o[36]});return r?jt(s):s}};T($n,"getValueWithDimention",(o,r)=>{var s,n;if(o&&r){const l=r.split(","),i=(n=(s=l[l.length-1])==null?void 0:s.trim())!=null?n:"";return i?`${o} ${i}`:o}return o});let Ds=$n;const $f=e=>e,mN=()=>$_$() && jt($f({id:ir,isDummy:!0,firstOpponentName:"",firstOpponentNameEng:"",firstOpponentLogoFileNames:[],secondOpponentName:"",secondOpponentNameEng:"",secondOpponentLogoFileNames:[],subGames:[],subSportId:0,isSubGame:!1,isTimeDirectionBackward:!1,isTimeRunning:!1,isCyberSport:!1,isOurRegion:!1,subGamesCount:0,periodScores:[],statistics:{},matchInfo:new es,currentPeriod:"",currentPeriodLabel:"",summary:{},marketTypes:[],name:"",numberOfMarkets:0,menuSections:[],weatherData:new Ds,gameNameForUrl:String(ir),champNameForUrl:"",hasScores:!1,statisticStatus:0,winningProbabilities:{winFirst:0,draw:0,winSecond:0}}));function _N(){var e;return(e=this.gamesById[this.currentGameId])!=null?e:mN()}function hN(){return this.gameIds.map(e=>this.gamesById[e]).filter(Boolean)}function fN({marketGroups:e=[]}){return(e||[]).map(t=>(t.marketColumns||[]).flat()).flat()}const gN="";function SN(){return this.currentGame.isSubGame?[gN]:["gameName"]}function yN(e){$_$();const t=Ot(),{filterQuery:o}=e,r=t.getLanguage;return Ih(o,{language:r})}function IN(){return this.markets.length>this.totalMarketsCount&&console.error("game store, areAllMarketsLoaded getter",`Loaded markets count is greater than the total markets count, loaded markets count - ${this.markets.length}, total markets count - ${this.totalMarketsCount}`),this.markets.length>=this.totalMarketsCount}function EN(e){return e.maxMarketGridColumnsCount>1}var TN=(e,t,o)=>{if(!t.has(e))throw TypeError("Cannot "+o)},mo=(e,t,o)=>(TN(e,t,"read from private field"),o?o.call(e):t.get(e)),ON=(e,t,o)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,o)},Qt;class vN{constructor(t){ON(this,Qt,new Oy),this.statisticPopupUrls={horseUrl:(o,r)=>mo(this,Qt).horseUrl({horseId:o,lng:r})},this.getHorseUrl=mo(this,Qt).horseUrl,this.vModal=t[lt.MODAL],this.logger=t[lt.LOGGER]}openStatistic({url:t,shouldOpenInNewTab:o=!0,createStatisticModal:r,componentModal:s,lng:n,isRtl:l,timeZone:i,is12h:a}){$_$();o?vy(t,this.newWindowParams(),!1):r&&this.vModal.show(r(),{url:t,lng:n,isRtl:l,timeZone:i,is12h:a,componentModal:s})}openStatisticCoefficientGraphPopup({gameId:t,coefficientView:o=0,permanentId:r=0,shouldOpenInNewTab:s=!0,createStatisticModal:n,componentModal:l,lng:i,isRtl:a,timeZone:u,is12h:p}){try{const m=mo(this,Qt).coefficientGraphUrl({lng:i,gameId:t||r,coefficientView:o});this.openStatistic({url:m,shouldOpenInNewTab:s,createStatisticModal:n,componentModal:l,lng:i,isRtl:a,timeZone:u,is12h:p})}catch(m){this.logger.error("openStatisticCoefficientGraphPopup error",m)}}openStatisticRatingPopup({ratingId:t,gameId:o=0,sportId:r=0,shouldOpenInNewTab:s=!0,componentLoader:n,createStatisticModal:l,componentModal:i,lng:a,isRtl:u,timeZone:p,is12h:m}){try{const c=mo(this,Qt).ratingUrl({lng:a,ratingId:t||o,sportId:r});this.openStatistic({url:c,shouldOpenInNewTab:s,componentLoader:n,createStatisticModal:l,componentModal:i,lng:a,isRtl:u,timeZone:p,is12h:m})}catch(c){this.logger.error("openStatisticRatingPopup error",c)}}openStatisticStageTablePopup({gameId:t,sportId:o=0,stageId:r="",shouldOpenInNewTab:s=!0,componentLoader:n,createStatisticModal:l,componentModal:i,lng:a,isRtl:u,timeZone:p,is12h:m}){try{const c=mo(this,Qt).stageUrl({lng:a,sportId:o,stageId:r||`${t||""}`,tableType:2});this.openStatistic({url:c,shouldOpenInNewTab:s,componentLoader:n,createStatisticModal:l,componentModal:i,lng:a,isRtl:u,timeZone:p,is12h:m})}catch(c){this.logger.error("openStatisticStageTablePopup error",c)}}openStatisticStageNetPopup({gameId:t,sportId:o=0,stageId:r,shouldOpenInNewTab:s=!0,componentLoader:n,createStatisticModal:l,componentModal:i,lng:a,isRtl:u,timeZone:p,is12h:m}){try{const c=mo(this,Qt).stageUrl({lng:a,sportId:o,stageId:r||`${t||""}`,tableType:1});this.openStatistic({url:c,shouldOpenInNewTab:s,componentLoader:n,createStatisticModal:l,componentModal:i,lng:a,isRtl:u,timeZone:p,is12h:m})}catch(c){this.logger.error("openStatisticStageNetPopup error",c)}}openStatisticGamePopup({gameId:t=0,permanentId:o,sportId:r,statisticGameId:s="",shouldOpenInNewTab:n=!0,componentLoader:l,createStatisticModal:i,componentModal:a,lng:u,isRtl:p,timeZone:m,is12h:c}){try{const _=this.getStatisticGameUrl({lng:u,gameId:t,statisticGameId:s,permanentId:o,sportId:r});this.openStatistic({url:_,shouldOpenInNewTab:n,componentLoader:l,createStatisticModal:i,componentModal:a,lng:u,isRtl:p,timeZone:m,is12h:c})}catch(_){this.logger.error("openStatisticGamePopup error",_)}}openStatisticPlayerPopup({sportId:t=0,playerId:o="",shouldOpenInNewTab:r=!0,componentLoader:s,componentModal:n,createStatisticModal:l,lng:i,isRtl:a,timeZone:u,is12h:p}){try{const m=this.getStatisticPlayerUrl({lng:i,sportId:t,playerId:o});this.openStatistic({url:m,shouldOpenInNewTab:r,componentLoader:s,componentModal:n,createStatisticModal:l,lng:i,isRtl:a,timeZone:u,is12h:p})}catch(m){this.logger.error("openStatisticPlayerPopup error",m)}}openStatisticCyberPopup({sportId:t=0,tournamentId:o,seasonId:r,shouldOpenInNewTab:s=!0,componentLoader:n,componentModal:l,createStatisticModal:i,lng:a,isRtl:u,timeZone:p,is12h:m}){try{const c=mo(this,Qt).cyberUrl({lng:a,sportId:t,tournId:o,seasonId:r});this.openStatistic({url:c,shouldOpenInNewTab:s,componentLoader:n,componentModal:l,createStatisticModal:i,lng:a,isRtl:u,timeZone:p,is12h:m})}catch(c){this.logger.error("openStatisticCyberPopup error",c)}}openTeamStatisticsPopup({sportId:t=0,teamId:o="",shouldOpenInNewTab:r=!0,componentLoader:s,createStatisticModal:n,componentModal:l,lng:i,isRtl:a,timeZone:u,is12h:p}){try{const m=mo(this,Qt).teamUrl({lng:i,sportId:t,teamId:o});this.openStatistic({url:m,shouldOpenInNewTab:r,componentLoader:s,createStatisticModal:n,componentModal:l,lng:i,isRtl:a,timeZone:u,is12h:p})}catch(m){this.logger.error("openTeamStatisticsPopup error",m)}}openHorseStatisticsPopup({horseId:t="",shouldOpenInNewTab:o=!0,componentLoader:r,createStatisticModal:s,componentModal:n,lng:l,isRtl:i,timeZone:a,is12h:u}){try{const p=mo(this,Qt).horseUrl({lng:l,horseId:t});this.openStatistic({url:p,shouldOpenInNewTab:o,componentLoader:r,createStatisticModal:s,componentModal:n,lng:l,isRtl:i,timeZone:a,is12h:u})}catch(p){this.logger.error("openHorseStatisticsPopup error",p)}}getStatisticGameUrl({lng:t,gameId:o,permanentId:r=0,sportId:s=0,statisticGameId:n}){try{return mo(this,Qt).gameUrl({lng:t,gameId:n||o||r,sportId:s})}catch(l){throw new Error("getStatisticGameUrl error")}}getStatisticCyberUrl({sportId:t,tournamentId:o,seasonId:r}){try{return mo(this,Qt).cyberUrl({sportId:t,tournId:o,seasonId:r})}catch(s){throw new Error("getStatisticCyberUrl error")}}getStatisticPlayerUrl({lng:t,sportId:o=0,playerId:r}){try{return mo(this,Qt).playerUrl({lng:t,sportId:o,playerId:r})}catch(s){throw new Error("getStatisticPlayerUrl error")}}newWindowParams(){const t={SMALL:500,MEDIUM:780,LARGE:984},o={MEDIUM:1e3,LARGE:1200},r=1024,s=40,n=140,l=20;let i=t.SMALL;window.screen.height>o.LARGE?i=t.LARGE:window.screen.height>o.MEDIUM&&(i=t.MEDIUM);const[a,u]=[r,i],p=window.screenLeft||window.screen.left,m=window.screenTop||window.screen.top,c=window.innerWidth||window.screen.width,_=window.innerHeight||window.screen.height,h=parseInt(c/2-a/2+p,10),g=parseInt(_/2-u/2+m,10),S=window.outerHeight-window.innerHeight,P=S-l,v=window.screenTop+S+n>g?window.screenTop+S+n-g:0,R=window.screen.height-g-v-u-Pt?e:Py(t,1)}function RN(e){const{playersByIds:t,homeTeamActivePlayerIds:o}=e;return(o!=null?o:[]).map(r=>t[r])}function NN(e){const{playersByIds:t,homeTeamAbsentPlayerIds:o}=e;return(o!=null?o:[]).map(r=>t[r])}function LN(e){const{playersByIds:t,awayTeamActivePlayerIds:o}=e;return(o!=null?o:[]).map(r=>t[r])}function BN(e){const{playersByIds:t,awayTeamAbsentPlayerIds:o}=e;return(o!=null?o:[]).map(r=>t[r])}const c5={UNKNOWN:0,INJURED:1,DOUBTFULLY_INJURED:2,SUSPENDED:3,OTHER:4,INELIGIBLE:5,SICK:6,GROIN_INJURY:7,HEAD_INJURY:8,KNEE_INJURY:9,CALF_INJURY:10,ANKLE_INJURY:11,MUSCLE_INJURY:12,ACHILLES_TENDON_INJURY:13,HIP_INJURY:14,BACK_INJURY:15,SHOULDER_INJURY:16,ILLNESS:17,LEG_INJURY:18,NOT_IN_BEST_FORM:19,RED_CARD:20,INJURY:21,HEEL_INJURY:22,FINGER_INJURY:23,RIB_INJURY:24,BROKEN_ANKLE:25,TOO_MANY_YELLOW_CARDS:26,LOWER_LEG_INJURY:27,ABDOMINAL_MUSCLE_INJURY:28},Do={STARTING_LINEUPS:1,SUBSTITUTION:2,MANAGER:3,FIRST_LINE:4,SECOND_LINE:5,THIRD_LINE:6,FOURTH_LINE:7,FIFTH_LINE:8};class Cu{constructor({dateOfBirth:t,countryId:o,countryName:r="",events:s=[],picturePath:n="",lineNumber:l,name:i="",number:a,id:u,absenceReason:p,position:m,positionName:c="",shortName:_="",status:h,teamName:g="",type:S,numericId:P}={}){T(this,"dateOfBirth");T(this,"countryId");T(this,"countryName");T(this,"events");T(this,"picturePath");T(this,"lineNumber");T(this,"name");T(this,"number");T(this,"id");T(this,"absenceReason");T(this,"position");T(this,"positionName");T(this,"shortName");T(this,"status");T(this,"teamName");T(this,"type");T(this,"numericId");this.dateOfBirth=t,this.countryId=o,this.countryName=r,this.events=s,this.picturePath=n,this.lineNumber=l,this.name=i,this.number=a,this.id=u,this.absenceReason=p,this.position=m,this.positionName=c,this.shortName=_,this.status=h,this.teamName=g,this.type=S,this.numericId=P,this.hideStats=S===Do.MANAGER||p!==void 0}get numberLabel(){var t;return this.type===Do.MANAGER?"":String((t=this.number)!=null?t:"")}}class MN{constructor({awayTeamPlayer:t,homeTeamPlayer:o}){T(this,"awayTeamPlayer");T(this,"homeTeamPlayer");this.awayTeamPlayer=t,this.homeTeamPlayer=o}get id(){return`${this.awayTeamPlayer.id}-${this.homeTeamPlayer.id}`}}function Vf(e=[],t=[]){const[o,r]=iv([e!=null?e:[],t!=null?t:[]],()=>new Cu);return Eh(o,r).map(([s,n])=>new MN({awayTeamPlayer:n,homeTeamPlayer:s}))}function GN(){return e=>{const{homeTeamActivePlayers:t,awayTeamActivePlayers:o}=this,r=t.filter(n=>n.type===e),s=o.filter(n=>n.type===e);return Vf(r,s)}}function kN(){return Vf(this.homeTeamAbsentPlayers,this.awayTeamAbsentPlayers)}function wN(){const{getLineupsPlayersByType:e}=this;return e(Do.MANAGER)}function DN(){const{getLineupsPlayersByType:e}=this;return e(Do.FIRST_LINE)}function FN(){const{getLineupsPlayersByType:e}=this;return e(Do.SECOND_LINE)}function UN(){const{getLineupsPlayersByType:e}=this;return e(Do.THIRD_LINE)}function xN(){const{getLineupsPlayersByType:e}=this;return e(Do.FOURTH_LINE)}function $N(){const{getLineupsPlayersByType:e}=this;return e(Do.FIFTH_LINE)}function VN(){const{getLineupsPlayersByType:e}=this;return e(Do.SUBSTITUTION)}function HN(){const{getLineupsPlayersByType:e}=this;return e(Do.STARTING_LINEUPS)}class zo{constructor({label:t="",playerPairs:o=[]}={}){T(this,"label");T(this,"playerPairs");this.label=t,this.playerPairs=o}}function KN(){$_$();const{lineupsStartingLineupPlayers:e,lineupsSubstitutions:t,lineupsManagers:o,lineupsFirstLinePlayers:r,lineupsSecondLinePlayers:s,lineupsThirdLinePlayers:n,lineupsFourthLinePlayers:l,lineupsFifthLinePlayers:i,lineupsAbsentPlayers:a}=this,u=vo();return[new zo({label:u("game_scoreboard_info_starting_lineups"),playerPairs:e}),new zo({label:u("game_scoreboard_lineups_substitutions"),playerPairs:t}),new zo({label:u("game_scoreboard_lineups_managers"),playerPairs:o}),new zo({label:u("game_scoreboard_lineups_line",{lineNumber:1}),playerPairs:r}),new zo({label:u("game_scoreboard_lineups_line",{lineNumber:2}),playerPairs:s}),new zo({label:u("game_scoreboard_lineups_line",{lineNumber:3}),playerPairs:n}),new zo({label:u("game_scoreboard_lineups_line",{lineNumber:4}),playerPairs:l}),new zo({label:u("game_scoreboard_lineups_line",{lineNumber:5}),playerPairs:i}),new zo({label:u("game_scoreboard_absent_players_label"),playerPairs:a})].filter(p=>p.playerPairs.length>0)}const WN=e=>{var t;return((t=e.find(o=>o.code===200))!=null?t:e[0]).ico};var YN=Object.defineProperty,jN=(e,t,o)=>t in e?YN(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,Qo=(e,t,o)=>jN(e,typeof t!="symbol"?t+"":t,o);class Hf{constructor({id:t=Ro("timeline-event-model-"),code:o,name:r,playerName:s,timeInMinutes:n,teamNumber:l,status:i,additionalTimeInMinutes:a,periodNumber:u}={}){Qo(this,"id"),Qo(this,"code"),Qo(this,"name"),Qo(this,"playerName"),Qo(this,"timeInMinutes"),Qo(this,"teamNumber"),Qo(this,"status"),Qo(this,"additionalTimeInMinutes"),Qo(this,"periodNumber"),this.id=t,this.code=o,this.name=r,this.playerName=s,this.timeInMinutes=n,this.teamNumber=l,this.status=i,this.additionalTimeInMinutes=a,this.periodNumber=u}}const u5=Object.freeze({CLUBS:"clubs",DIAMONDS:"diamonds",HEARTS:"hearts",SPADES:"spades"}),p5="cardSuits",d5=Object.freeze({PHONE_QR:"phone-qr",PHONE_QR_PROMO:"phone-qr-promo",PHONE_MODAL:"modal-phone",PHONE_MODAL_LOCK_OPEN:"modal-phone-lock-open",PHONE_MODAL_LOCK_CLOSE:"modal-phone-lock-close",PHONE_MODAL_QR:"modal-phone-qr",PHONE_MODAL_AUTH:"modal-phone-auth",PHONE_MODAL_RELOAD:"modal-phone-reload",MODAL_ENVELOPE:"modal-envelope",MODAL_ADBLOCK:"modal-adblock",MODAL_PASSWORD_RESET:"modal-password-reset",MODAL_USER_ATTENTION:"modal-user-attention",MODAL_USER_EXISTS:"modal-user-exists",MODAL_OAUTH:"modal-auth",MODAL_IDENTIFICATION:"modal-identification",MODAL_PASSPORT:"modal-passport",MODAL_BONUS:"modal-bonus",MODAL_GIFT:"modal-gift",MODAL_GIFT_BOX:"modal-gift-box",MODAL_LIMIT_AGE:"modal-limit-age",MODAL_PROMO_BONUSES:"modal-promo-bonuses",MODAL_MAIL_SEND:"modal-mail-send",MODAL_DATA_SAVED:"modal-data-saved",VERIFICATION_SUCCESS_MOBILE:"verification-success-mobile",VERIFICATION_SUM_SUB_SUCCESS_MOBILE:"verification-sum-sub-success-mobile",VERIFICATION_SUCCESS_DESKTOP:"verification-success-desktop",LOYALTY_RESEARCH_GRADE:"loyalty-research-grade",BETTING_ALPHABET_HEADER_BG:"betting-alphabet-header-bg",BETTING_ALPHABET_CHECKLIST:"betting-alphabet-checklist",BAG:"bag",PAYING_HAND:"paying-hand",DIAMOND:"diamond",DIAMOND_MOBILE:"diamond-mobile",GOOGLE:"google",TELEGRAM:"telegram",METAMASK:"metamask",METAMASK_BG:"metamask-bg",DISCORD:"discord",TWITCH:"twitch",TWITTER:"twitter",FOOTBALL_GOAL:"football-goal",CHAMP_PRELOADER_MAP:"champ-preloader-map",SHOWCASE_DECORATION_LINE:"showcase-decoration-line",SHOWCASE_CURRENCIES_OVERLAY:"showcase-currencies-overlay",SUMMER_SLOT_CUP:"summer-slot-cup",TIMER:"timer",SHIELD:"shield",SUPPORT:"support",GIFTS_REMINDER:"gifts-reminder",GIFTS_REMINDER_REFLECTION:"gifts-reminder-reflection",COMPLETED_PROFILE:"completed-profile",NUMBER_CONFIRMATION:"number-confirmation",GOOGLE_PLAY:"google-play",JOYPAD:"joypad",INVITE_FRIENDS_BONUS_COMPACT:"invite-friends-bonus-compact",INVITE_FRIENDS_BONUS_DESKTOP:"invite-friends-bonus-desktop",INVITE_FRIENDS_BONUS_MOBILE:"invite-friends-bonus-mobile",APPLE:"apple",LINE:"line",EMAIL_SUBSCRIPTION_WIDGET_ENVELOPES:"email-subscription-widget-envelopes",BONUS_ACCOUNT_WIDGET_GIFTS:"bonus-account-widget-gifts"}),m5=Object.freeze({T10:"t10",T20:"t20",ODI:"odi",TEST:"test",CRICKET_HELMET:"cricket-helmet",VS_SLASH_FORWARD:"vs-slash-forward",BARS_PLAY_CIRCLE:"bars-play-circle",IPL_2025:"ipl-2025",CRICKET_BAT:"cricket-bat"}),_5="cricket",h5=Object.freeze({TIMELINE_FLAG:"timeline-flag",TIMELINE_PERSON_RUNNING_CRICKET_BAT:"timeline-person-running-cricket-bat"}),f5="scoreboardCricket",g5=Object.freeze({BACKGROUND_DICE:"background-dice",ROUND_DICE:"round-dice",WAVES:"waves"}),S5="scoreboardDice",y5=Object.freeze({PLAYER_1:"player-1",PLAYER_2:"player-2",RECTANGLE_QUESTION:"rectangle-question"}),I5="scoreboardEsportPoker",E5=Object.freeze({BASEBALL_BAT:"baseball-bat"}),T5="scoreboardBaseball",O5=Object.freeze({HAND:"hand",MEDITATION:"meditation"}),v5="scoreboardIndianPoker",P5=Object.freeze({CLUBS:"clubs",DIAMONDS:"diamonds",HEART:"heart",JOKER:"joker",JOKER_SHADOW:"joker-shadow",QUESTION:"question",SPADES:"spades",TOGGLE:"toggle",TOGGLE_BACKGROUND:"toggle-background"}),A5="scoreboardKillerJoker",C5="scoreboardSetteEMezzo",b5=Object.freeze({HAT:"hat",COMBINATIONS:"combinations"}),ZN=Object.freeze({PENALTY_FOOTBALL_GOAL:"penalty-football-goal",FOOTBALL_CORNER:"scoreboard-timeline-football-corners",FOOTBALL_GOAL:"scoreboard-timeline-football-goals",FOOTBALL_YELLOW_CARD:"scoreboard-timeline-football-yellow-cards",FOOTBALL_RED_CARD:"scoreboard-timeline-football-red-cards",MISSED_PENALTY:"scoreboard-timeline-missed-penalty",FIRST_PAT:"scoreboard-timeline-first-pat",SECOND_PAT:"scoreboard-timeline-second-pat",AMERICAN_FOOTBALL_FIELD_GOAL:"scoreboard-timeline-american-football-field-goal",AMERICAN_FOOTBALL_TOUCHDOWN:"scoreboard-timeline-american-football-touchdown",PUCK:"scoreboard-timeline-puck",CARDS:"scoreboard-timeline-cards",WHISTLE:"scoreboard-timeline-whistle",S_SHIELD:"scoreboard-timeline-s-shield",RUGBY_GOAL:"scoreboard-timeline-rugby-goal",RUGBY_TRY:"scoreboard-timeline-rugby-try",RUGBY_PENALTY:"scoreboard-timeline-rugby-penalty",AUSTRALIAN_FOOTBALL_BEHIND:"scoreboard-australian-football-behind",AUSTRALIAN_FOOTBALL_GOAL:"scoreboard-australian-football-goal",ARROWS:"scoreboard-timeline-arrows",BENCH:"scoreboard-timeline-bench",CIRCLE_BOLT:"scoreboard-timeline-circle-bolt"}),R5="scoreboardTimeline",Kf=ZN.CIRCLE_BOLT,N5="toto",L5=Object.freeze({CIRCLE_X_SOLID:"circle-x-solid",HORSESHOES_CIRCLE_ONE:"horseshoes-circle-one",HORSESHOES:"horseshoes"}),B5="scoreboardHorseRacing",M5=Object.freeze({USER:"user",QUESTION:"question"}),G5="scoreboardVictoryFormula",k5=Object.freeze({PLAYER:"player",USER:"user"}),w5="scoreboard",D5=Object.freeze({USER_DOLLAR_SIGN:"user-dollar-sign"}),F5="scoreboardBaccarat",U5=Object.freeze({CHEVRON_UP:"chevron-up",CLUBS:"clubs",DIAMONDS:"diamonds",HEARTS:"hearts",SPADES:"spades",USER_GROUP:"user-group",BOWLER:"bowler",BATSMAN:"batsman"}),x5="scoreboardCardsCricket",$5=Object.freeze({CLUBS:"clubs",DIAMONDS:"diamonds",HEARTS:"hearts",SPADES:"spades",CIRCLE_CHECK:"circle-check"}),V5="scoreboardCardBasketball",H5=Object.freeze({GAME_FIELD:"game-field",STATS:"stats",TRANSLATION:"translation",LOCATION_PIN:"location-pin",GLOBE:"globe",BOOKMARK:"bookmark",SMILE:"smile",FIRE_FLAME:"fire-flame",HEART_SOLID:"heart-solid",THUMBS_DOWN:"thumbs-down",THUMBS_UP:"thumbs-up",NETWORK_WIRED:"network-wired",BOOT:"boot"}),K5="topEvents",nt=Object.freeze({ACCOUNT_DISCOUNT:"account-discount",ALARM_CLOCK:"alarm-clock",ALERTS:"alerts",ALL_CATEGORY:"all-category",ANGLE:"angle",ANGLE_BOTTOM:"angle-bottom",ANGLE_LEFT:"angle-left",ANGLE_RIGHT:"angle-right",ANGLE_TOP:"angle-top",ANGLE_DOWN:"angle-down",ANGLE_UP:"angle-up",APP_DESKTOP:"app-desktop",APP_PHONE:"app-phone",APPLE_OF_FORTUNE:"apple-of-fortune",ARROW_DOWN:"arrow-down",ARROW_DOWN_LEFT:"arrow-down-left",ARROW_MAXIMIZE:"arrows-maximize",ARROW_LEFT_LONG:"arrow-left-long",ARROW_RIGHT:"arrow-right",ARROW_RIGHT_SERIF:"arrow-right-serif",ARROW_SIDE_LEFT:"arrow-side-left",ARROW_SIDE_RIGHT:"arrow-side-right",ARROW_RIGHT_ARROW_LEFT:"arrow-right-arrow-left",ARROW_ROTATE_RIGHT_ARROW_ROTATE_LEFT:"arrow-rotate-right-arrow-rotate-left",ARROW_UP:"arrow-up",ARROW_UP_RIGHT:"arrow-up-right",ARROWS_ALT:"arrows-alt",AWARD:"award",PLANE_AVIATOR:"plane-aviator",BACK:"back",BALL_SCIENTIST:"ball-scientist",BANNER:"banner",BACK_ARROW:"back-arrow",BADGE_GIFT:"badge-gift",BADGE_PERCENT:"badge-percent",BAG_MONEY:"bag-money",BALLONS:"ballons",BALLON_STAR:"baloon-star",BACCARAT:"baccarat",BAR_CARD:"bars-card",BASKET_MONEY:"basket-money",BELL:"bell",BET:"bet",BINOCULARS:"binoculars",BINGO:"bingo",BLOCKED:"blocked",BOLT_LIGHTNING:"bolt-lightning",BONUS:"bonus",BOOK_OPEN:"book-open",BOTTOM_NAVIGATION_TOGGLE:"bottom-navigation-toggle",BROADCAST:"broadcast",BROADCAST_TIME:"broadcast-time",BULB:"bulb",BULLETS:"bullets",BULLETS_NO:"bullets-no",BULLETS_YES:"bullets-yes",BULLHORN:"bullhorn",BULLSEYE_ARROW:"bullseye-arrow",CALCULATOR:"calculator",CALENDAR:"calendar",CALENDAR_CLOCK:"calendar-clock",CALENDAR_EMPTY:"calendar-empty",CAMERA:"camera",CARDS:"cards",CARDS_SPADE:"cards-spade",CHAMP_RESULTS:"champ-results",CASHBACK:"cashback",CASINO:"casino",CASINO_CHIP:"casino-chip",CAST:"cast",CHAMP:"champ",CHAMP_DEFAULT:"champs-default",CHART_ARROW_TOP:"chart-arrow-top",CHART_COLUMN:"chart-column",CHART_PIE_ALT:"chart-pie-alt",CHART_SIMPLE_STAR:"chart-simple-star",CHECK:"check",CHERRY:"cherry",CHEVRON_DOUBLE_DOWN:"chevron-double-down",CHEVRON_DOUBLE_DOWN_RESULTS:"chevron-double-down-results",CHEVRON_DOUBLE_LEFT:"chevron-double-left",CHEVRON_DOUBLE_RIGHT:"chevron-double-right",CHEVRON_DOUBLE_UP:"chevron-double-up",CHEVRON_DOUBLE_UP_RESULTS:"chevron-double-up-results",CHEVRON_DOWN:"chevron-down",CHEVRON_DOWN_RESULTS:"chevron-down-results",CHEVRON_LEFT:"chevron-left",CHEVRON_RIGHT:"chevron-right",CHIP:"chip",CHIP_SPADE:"chip-spade",CIRCLE_CALENDAR_DAYS:"circle-calendar-days",CIRCLE_ELLIPSIS:"circle-ellipsis",CIRCLE_EMPTY_EXCLAMATION:"circle-empty-exclamation",CIRCLE_EMPTY_QUESTION:"circle-empty-question",CIRCLE_INFO:"circle-info",CIRCLE_INFO_SOLID:"circle-info-solid",CIRCLE_PHONE_XMARK:"circle-phone-xmark",CIRCLE_PLAY:"circle-play",CIRCLE_SLICES:"circle-slices",CIRCLE_USER:"circle-user",CIRCLE_USERS:"circle-users",CLIP:"clip",CLOCK:"clock",CLOCK_ROTATE_LEFT:"clock-rotate-left",CLOCK_ROTATE_RIGHT:"clock-rotate-right",CLOCK_FILLED:"clock-filled",COEF_DOWN:"coef-down",COEF_GRAPH:"coef-graph",COEF_UP:"coef-up",COG:"cog",COIN_22:"coin-22",COINS_GROUP:"coins-group",COINS_GROUP_DOLLAR:"coins-group-dollar",COMET_GREEN:"comet-green",COMET_ORANGE:"comet-orange",COMMENT_DOTS:"comment-dots",COMMENT_INFO:"comment-info",COMPACT_VIEW:"compact-view",CONSTRUCTOR_BET:"constructor-bet",COOKIES_COLORED:"cookies-colored",COPY:"copy",COPY_BG_REVERSE:"copy-bg-reverse",COUPON:"coupon",COUPON_ALT:"coupon-alt",COURT_SPORT_LEFT:"court-sport-left",COURT_SPORT_RIGHT:"court-sport-right",CREDIT_CARD_ARROW_DOWN:"credit-card-arrow-down",CREDIT_CARD_ARROW_UP:"credit-card-arrow-up",CREDIT_CARD_ROTATE:"credit-card-rotate",CREDIT_CARD_XMARK:"credit-card-xmark",CRICKET:"cricket",CROWN:"crown",CROWN_FILLED:"crown-filled",CROWN_COLORED:"crown-colored",CROWN_VIP:"crown-vip",CIRCLE_CROWN_SOLID_STROKE:"circle-crown-solid-stroke",CUP:"cup",CUP_EMPTY:"cup-empty",CUBES:"cubes",CUPIS:"cupis",CUSTOMER_SERVICE:"customer-service",CYBER:"cyber",CYBER_SPORTS:"cyber-sports",CIRCLE_XMARK_SOLID:"circle-xmark-solid",CHIP_PERCENT:"chip-percent",CHIP_SPADES:"chip-spades",DART:"dart",DASH_ARROW_ROTATE_RIGHT_TEXT:"dash-arrow-rotate-right-text",DASHED_ROUTE_LINE:"dashed-route-line",DASHBOARD:"dashboard",DASHBOARD_STEPS:"dashboard-steps",DEALER:"dealer",DEFAULT_CHAMP:"default-champ",DESKTOP_NINE:"desktop-nine",DIAMOND:"diamond",DICE:"dice",DICE_COLORED:"dice-colored",DICE_D6:"dice-d6",DICE_THREE:"dice-three",DIAGONAL_LINES:"diagonal-lines",DISPLAY:"display",DOLLAR_SIGN:"dollar-sign",DOLLAR_SIGN_CIRCLE:"dollar-sign-circle",DOT_COLORED:"dot-colored",DOUBLE_PLATE_GROUP:"double-plate-group",DOWNLOAD:"download",DOWN_TINY_DOUBLE_CHEVRON:"down-tiny-double-chevron",DOTS_SQUARE:"dots-square",DROP_WINS:"drop-wins",EARTH_AFRICA:"earth-africa",EDIT:"edit",ELLIPSIS:"ellipsis",ELLIPSIS_HORIZONTAL:"ellipsis-horizontal",EMAIL:"email",ENVELOPE:"envelope",ENVELOPE_OPEN:"envelope-open",ERROR_CROSS:"error-cross",EURO_SIGN:"euro-sign",EVERYTHING:"everything",EXCHANGE_ALT:"exchange-alt",EXCLAMATION:"exclamation",EXCLAMATION_CIRCLE:"exclamation-circle",EXCLAMATION_POINT:"exclamation-point",EXCLAMATION_TRIANGLE:"exclamation-triangle",EXIT:"exit",EXPRESS:"express",EXTERNAL_LINK:"external-link",EYE_SLASH:"eye-slash",EYE:"eye",FACEBOOK_COLORED:"facebook-colored",FACE_HEADSET:"face-headset",FABERGE_EGG:"faberge-egg",FACELESS:"faceless",FAQ:"faq",FAST_GAMES:"fast-games",FAST_REG:"fast-reg",FAST_TICKET_DOLLAR:"fast-ticket-dollar",FAVORITE:"favorite",FIELD_ZONE:"field-zone",FIFTEEN:"fifteen",FILE:"file",FILE_EXCLAMATION:"file-exclamation",FILE_HAMMER:"file-hammer",FILE_LIST:"file-list",FILE_LINES_PEN:"file-lines-pen",FILTER:"filter",FILTER_LINE:"filter-line",FIRE_ALT:"fire-alt",FIRE_TIME:"fire-time",FIRE_FLAME:"fire-flame",FIRE_GRADIENT:"fire-gradient",FIRE_HOLDER:"fire-holder",FIX:"fix",FLAME:"flame",FLAME_COLORED:"flame-colored",FLAME_GRADIENT:"flame-gradient",FLAME_GRADIENT_1:"flame-gradient-1",FLAME_GRADIENT_2:"flame-gradient-2",FLAME_GRADIENT_3:"flame-gradient-3",FLAME_GRADIENT_4:"flame-gradient-4",FLAME_GRADIENT_5:"flame-gradient-5",FOLDER:"folder",FOLDER_PUNK:"folder-punk",FOOTBALL:"football",FOOTBALL_BALL:"football-ball",FOOTBALL_BOOT:"football-boot",FOOTBALL_CORNERS:"football-corners",FOOTBALL_FILTER:"football-filter",FOOTBALL_GOALS:"football-goals",FOOTBALL_RED_CARDS:"football-red-cards",FOOTBALL_RED_YELLOW_CARDS:"football-red-yellow-cards",FOOTBALL_SUBSTITUTION:"football-substitution",FOOTBALL_YELLOW_CARDS:"football-yellow-cards",FORTH:"forth",FORWARD_ARROW:"forward-arrow",FREE:"free",FRIENDS:"friends",FULL_REG:"full-reg",FULL_SCREEN_ALT:"full-screen-alt",FULL_SCREEN_OPEN:"full-screen-open",FULL_SCREEN_CLOSE:"full-screen-close",FULL_VIEW:"full-view",FULLSCREEN:"fullscreen",GAME_777:"game-777",GAMEPAD:"gamepad",GAMEPAD_BASKETBALL:"gamepad-basketball",GAMEPAD_MODERN_ALT:"gamepad-modern-alt",GEAR:"gear",GIFT:"gift",GIFT_SOLID:"gift-solid",GIFT_PERCENT:"gift-percent",GLASS:"glass",GLOBE:"globe",GLOBE_ASIA:"globe-asia",GRID_2:"grid-2",GRID_CHECKBOXES:"grid-checkboxes",HAND_CIRCLE_DOLLAR:"hand-circle-dollar",HANDSHAKE:"handshake",HANDSHAKE_CIRCLE_DOLLAR:"handshake-circle-dollar",HEADSET:"headset",HEADSET_FILLED:"headset-filled",HEALTH:"health",HEART:"heart",HEART_SOLID:"heart-solid",HIDE_AGENTS:"hide-agents",HISTORY:"history",HOME:"home",HOURGLASS:"hourglass",HOURGLASS_HALF:"hourglass-half",IDENTIFICATION:"identification",ISLAND_TREE_PALM:"island-tree-palm",IMAGE:"image",INFO:"info",INFO_CIRCLE:"info-circle",INFO_EMPTY_CIRCLE:"info-empty-circle",INSTAGRAM_COLORED:"instagram-colored",INVISIBLE:"invisible",ITEMS:"items",JOYSTICK:"joystick",KEY:"key",KEY_TILTED:"key-tilted",LANGUAGE:"language",LEFT_TINY_DOUBLE_CHEVRON:"left-tiny-double-chevron",LICENSES:"licenses",LIGHT_LONG_ARROW_LEFT:"light-long-arrow-left",LIGHT_LONG_ARROW_RIGHT:"light-long-arrow-right",LIGHT_STAR_EMPTY:"light-star-empty",LIGHTNING:"lightning",LIGHTNING_FILLED:"lightning-filled",LINK:"link",LIST:"list",LIVE:"live",LOCK:"lock",LOCK_OUTLINE:"lock-outline",LOGIN:"login",LOGOUT:"logout",LONG_ARROW_RIGHT:"long-arrow-right",LOTTO:"lotto",MAGNIFIER:"magnifier",MAGNIFYING_GLASS:"magnifying-glass",MAGNIFYING_GLASS_SOLID:"magnifying-glass-solid",MAGNIFYING_GLASS_XMARK:"magnifying-glass-xmark",MAILING:"mailing",MARKER_LIVE:"marker-live",MEGAPHONE:"megaphone",MEGA_WAYS:"mega-ways",MENU:"menu",MENU_MOBILE:"menu-mobile",MESSAGE:"message",MESSAGES:"messages",MESSAGE_DOLLAR:"message-dollar",MESSAGE_OUTLINE:"message-outline",MESSAGES_QUESTION:"messages-question",MICROPHONE:"microphone",MINIMIZE_SCREEN:"minimize-screen",MINUS:"minus",MINUS_CIRCLE:"minus-circle",MOBILE_ARROW_DOWN:"mobile-arrow-down",MONEY:"money",MONEY_BILL_ALT:"money-bill-alt",MORE:"more",MORE_DESKTOP:"more-desktop",NOTIFICATION_ALERT:"notification-alert",NOTIFICATION_DENIED:"notification-denied",NOTIFICATION_ERROR:"notification-error",NOTIFICATION_FAIL:"notification-fail",NOTIFICATION_INFO:"notification-info",NOTIFICATION_PENDING:"notification-pending",NOTIFICATION_QUESTION:"notification-question",NOTIFICATION_SUCCESS:"notification-success",NOTIFICATION_WARNING:"notification-warning",OLYMPIAD:"olympiad",OLYMPIC_TORCH:"olympic-torch",OLYMPIC_TORCH_COLORED:"olympic-torch-colored",ONE_AND_ZERO:"one-and-zero",ONE_CLICK:"one-click",ONLINE_CONSULTANT:"online-consultant",OTHER:"other",PAPER:"paper",PAR:"par",PASSPORT:"passport",PAUSE:"pause",PAUSE_CIRCLE:"pause-circle",PAYMENT_TERMINAL:"payment-terminal",PENALTY_MISSING:"penalty-missing",PENALTY_WIN:"penalty-win",PERCENT:"percent",PHONE:"phone",PHONE_ALT:"phone-alt",PHONE_DOLLAR:"phone-dollar",PHONE_HANGUP:"phone-hangup",PHONE_MISSED:"phone-missed",PHONE_XMARK:"phone-xmark",PHONE_REG:"phone-reg",PHONE_REVERT:"phone-revert",PLATE_GROUP:"plate-group",PLANET:"planet",PLAY:"play",PLAY_CIRCLE:"play-circle",PLAYER:"player",PLAYER_BET:"player-bet",PLUS:"plus",PLUS_CIRCLE:"plus-circle",PRAGMATIC_PLAY:"progmatic-play",POLITICIAN_PERSON:"politician-person",POPULARS:"populars",POKER:"poker",POWER_OFF:"power-off",PRESENTATION_SCREEN:"presentation-screen",PRINT:"print",PROMO:"promo",PROMO_CHECK:"promo-check",PROMO_SPORT:"promo-sport",PROVIDERS:"providers",PUZZLES:"puzzles",QR_CODE:"qr-code",QUESTION:"question",QUOTE:"quote",RANDOM:"random",RANKING_TROPHY:"ranking-trophy",RATING:"rating",RECEIPT:"receipt",RECENT:"recent",RECTANGLE_CHART_LINE_DOTS:"rectangle-chart-line-dots",REFRESH:"refresh",REGISTRATION:"registration",REMOVE:"remove",RENEW:"renew",REPLY:"reply",REQUEST:"request",RESULT_COEF:"result-coef",RESULTS:"results",RETRY:"retry",REWARD_SYSTEM:"reward-system",RIGHT_TINY_DOUBLE_CHEVRON:"right-tiny-double-chevron",ROCKET:"rocket",ROULETTE:"roulette",ROULETTE_777:"roulette-777",ROULETTE_SIMPLE:"roulette-simple",SACK:"sack",SCALE:"scale",SCALES:"scales",SCOREBOARD_TWO_ZERO:"scoreboard-two-zero",SQUARE_ARROW_UP_RIGHT:"square-arrow-up-right",SEARCH:"search",SEARCH_REGULAR:"search-regular",SELECTION_CHECK:"selection-check",SEND_MESSAGE:"send-message",SETTINGS:"settings",SETTINGS_FILLED:"settings-filled",SEVEN_BALL:"seven-ball",SEVEN_RECTANGLE_VERTICAL_HISTORY:"seven-rectangle-vertical-history",SHARE:"share",SHIELD:"shield",SHIELD_EXCLAMATION:"shield-exclamation",SHIELD_CHECK:"shield-check",SHIELD_DOLLAR:"shield-dollar",SHIELD_OUTLINE_CHECK:"shield-outline-check",SHOP:"shop",SHOP_COLORED:"shop-colored",SIGN_IN_ALT:"sign-in-alt",SIGN_OUT_ALT:"sign-out-alt",SIGN_UP:"sign-up",SIGNAL_STREAM:"signal-stream",SLIDERS_H:"sliders-h",SLOT_MACHINE:"slot-machine",SMS:"sms",SOC_REG:"soc-reg",SORT:"sort",SORT_BOLD:"sort-bold",SOUND_OFF:"sound-off",SPADE:"spade",SPADE_ALT:"spade-alt",SPIN_MACHINE:"spin-machine",SPORT:"sport",SPOT_DOLLAR:"spot-dollar",SQUARE_POLL_VERTICAL:"square-poll-vertical",STADIUM:"stadium",STAIRS:"stairs",STAR:"star",STAR_EMPTY:"star-empty",STAR_OUTLINED:"star-outlined",SLIDERS:"sliders",STAR_HALF:"star-half",STAR_ONE:"star-one",STAR_PLUS:"star-plus",STAR_STICK:"star-stick",STATS:"stats",STATUS_SUCCESS:"status-success",STEPS_FLOW:"steps-flow",STOPWATCH:"stopwatch",STREAM:"stream",SUCCESS_ARROW:"success-arrow",SUPPORT_COLORED:"support-colored",SWITCH_OFF:"switch-off",SWITCH_TYPE_DOTS:"switch-type-dots",SYNC_ALT:"sync-alt",TABLE_VIEW:"table-view",TABLET_MOBILE:"tablet-mobile",TALON:"talon",TEAM_CASH_CROWN:"team-cash-crown",TELEGRAM_COLORED:"telegram-colored",TELEGRAM_DOLLAR:"telegram-dollar",TELEGRAM_ROUNDED:"telegram-rounded",TH_LARGE:"th-large",TH_LARGE_PLAY:"th-large-play",THUMBS_UP:"thumbs-up",TICKET:"ticket",TICKET_DOLLARS:"ticket-dollars",TICKET_PERFORATED:"ticket-perforated",TICKET_SIMPLE:"ticket-simple",TICKET_STAR:"ticket-star",TIME:"time",TIME_HALF:"time-half",TIMER:"timer",TIMES:"times",TOGGLE_OFF:"toggle-off",TOGGLE_ON:"toggle-on",TONGUE:"tongue",TOTO:"toto",TOP_EVENTS:"top-events",TOUR_GRID:"tour-grid",TOUR_TABLE:"tour-table",TRANSLATION:"translation",TRASH:"trash",TRASH_ALT:"trash-alt",TRASH_CAN:"trash-can",TRIANGLE_EMPTY_EXCLAMATION:"triangle-empty-exclamation",TRIANGLE_SOLID_EXCLAMATION:"triangle-solid-exclamation",TRIANGLE_POWERBET:"triangle-powerbet",TROPHY_EURO_2024:"trophy-euro-2024",TROPHY_STAR:"trophy-star",TWENTY_ONE:"twenty-one",TWENTY_ONE_POINTS:"21-points",TWITTER_COLORED:"twitter-colored",CUP_STAR:"cup-star",UPDATE:"update",UPLOAD:"upload",USERS:"users",USER:"user",USER_LINE:"user-line",USER_ACCEPT:"user-accept",USER_BAN:"user-ban",USER_CIRCLE:"user-circle",USER_GROUP:"user-group",USER_LINES:"user-lines",USER_SQUARE:"user-square",USER_STAR:"user-star",VIP_CROWN:"vip-crown",VISIBLE:"visible",VOLUME:"volume",VOLUME_XMARK:"volume-xmark",VIP_TABLES:"vip-tables",WALLET:"wallet",WALLET_ALT:"wallet-alt",WARNING:"warning",WARNING_CIRCLE:"warning-circle",WATER_TEMPERATURE:"weather-water-temp",WAVE_LENGTH:"weather-wave-length",WEATHER_HUMIDITY:"weather-humidity",WEATHER_PRESSURE:"weather-pressure",WEATHER_TEMP:"weather-temp",WEATHER_WIND:"weather-wind",WELCOME_GIFT:"welcome-gift",WHEEL:"wheel",WHEEL_OF_FORTUNE:"wheel-of-fortune",WINDOW:"window",WINDOW_OPEN:"window-open",WREATH_LAUREL_STAR:"wreath-laurel-star",XMARK:"xmark",ZERO_ZERO:"zero-zero",ZONE:"zone",ZOOM_IN:"zoom-in",ELLIPSIS_VERTICAL:"ellipsis-vertical",TO_HOME_SCREEN:"to-home-screen"});Object.freeze([nt.LONG_ARROW_RIGHT,nt.BACK,nt.BET,nt.FORTH,nt.FORWARD_ARROW,nt.ANGLE_LEFT,nt.ANGLE_RIGHT,nt.ARROW_RIGHT_SERIF,nt.CHEVRON_DOUBLE_LEFT,nt.CHEVRON_DOUBLE_RIGHT,nt.CHEVRON_LEFT,nt.CHEVRON_RIGHT,nt.FIX,nt.FILE_LIST,nt.LIGHT_LONG_ARROW_LEFT,nt.LIGHT_LONG_ARROW_RIGHT,nt.LOGOUT,nt.SIGN_OUT_ALT,nt.PHONE_REVERT,nt.STAR_HALF]);const qN={51:at.AUSTRALIAN_FOOTBALL_GOAL,52:at.AUSTRALIAN_FOOTBALL_BEHIND,200:at.FOOTBALL_GOAL,201:at.FOOTBALL_CORNER,202:at.FOOTBALL_YELLOW_CARD,203:at.FOOTBALL_RED_CARD,218:at.PENALTY_FOOTBALL_GOAL,217:at.MISSED_PENALTY,204:at.ARROWS,205:at.BENCH,206:at.MISSED_PENALTY,207:at.RUGBY_TRY,208:at.RUGBY_GOAL,209:at.RUGBY_PENALTY,210:at.AMERICAN_FOOTBALL_FIELD_GOAL,211:at.AMERICAN_FOOTBALL_TOUCHDOWN,212:at.S_SHIELD,213:at.FIRST_PAT,214:at.SECOND_PAT},JN={200:at.PUCK},XN={2:JN},zN=({sportId:e,timelineEventCode:t})=>{var o,r,s;return(s=(r=(o=XN[e])==null?void 0:o[t])!=null?r:qN[t])!=null?s:Kf};var QN=Object.defineProperty,eL=Object.defineProperties,tL=Object.getOwnPropertyDescriptors,ni=Object.getOwnPropertySymbols,Wf=Object.prototype.hasOwnProperty,Yf=Object.prototype.propertyIsEnumerable,bc=(e,t,o)=>t in e?QN(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,Yd=(e,t)=>{for(var o in t||(t={}))Wf.call(t,o)&&bc(e,o,t[o]);if(ni)for(var o of ni(t))Yf.call(t,o)&&bc(e,o,t[o]);return e},oL=(e,t)=>eL(e,tL(t)),rL=(e,t)=>{var o={};for(var r in e)Wf.call(e,r)&&t.indexOf(r)<0&&(o[r]=e[r]);if(e!=null&&ni)for(var r of ni(e))t.indexOf(r)<0&&Yf.call(e,r)&&(o[r]=e[r]);return o},va=(e,t,o)=>bc(e,typeof t!="symbol"?t+"":t,o);class bu extends Hf{constructor(t={}){var o=t,{id:r=Ro("timeline-event-view-model-"),code:s,sportId:n,ico:l,timeInPercent:i=0,events:a=[],periodNumber:u}=o,p=rL(o,["id","code","sportId","ico","timeInPercent","events","periodNumber"]);super(Yd({id:r,code:s},p)),va(this,"timeInPercent"),va(this,"ico"),va(this,"events",[]),va(this,"periodNumber",0),this.timeInPercent=i,this.events=a,this.periodNumber=u!=null?u:0,this.ico=l,!l&&n&&s&&(this.ico=zN({timelineEventCode:s,sportId:n})),this.ico===Kf&&console.error(`Missed timeline event icon. sportId = ${n}, eventCode = ${s}`)}static aggregated(t,o){if(t.length<1)return;const[r]=t;if(!r)return;const s=o!=null?o:r.timeInMinutes,n=r.timeInMinutes*100/r.timeInPercent,l=s*100/n;return new bu(oL(Yd({},r),{timeInMinutes:s,timeInPercent:l,events:t,ico:WN(t)}))}get timeFormatted(){return this.timeInMinutes?[`${this.timeInMinutes}'`,this.additionalTimeInMinutes].filter(Boolean).join("+"):(console.error("TimelineEventViewModel error","Main time is undefined"),"")}get label(){return[this.name,this.playerName,this.status].filter(Boolean).join(". ")}}function sL(e){var t;const{timelineEvents:o}=e,{sportId:r}=this.currentGame,s=AA[r],n=vA[r];if(!s||!n)return[];const l=s*n,i=(t=PA[r])!=null?t:0,a=(c,_)=>_?s+Math.ceil((c-l)/i):Math.ceil(c/n),u=(c,_)=>_?l+(c-s-1)*i:(c-1)*n,p=(c,_,h)=>{const g=h?i:n;return Math.ceil((c-_)/g*100)};if(!n)return[];const m=c=>{var _;return r===13?((_=c.periodNumber)!=null?_:0)*n-c.timeInMinutes:c.timeInMinutes};return o.map(c=>{var _;const h=m(c),g=h>l&&!!i,S=(_=c.periodNumber)!=null?_:a(h,g),P=u(S,g),v=p(h,P,g);return new bu({timeInMinutes:h,name:c.name,playerName:c.playerName,teamNumber:c.teamNumber,code:c.code,sportId:r,timeInPercent:v,periodNumber:S,additionalTimeInMinutes:c.additionalTimeInMinutes})})}function nL(){const{timelineEventViewModels:e}=this,t=e.filter(r=>r.code===200);return t.every(r=>!!r.playerName)?t:[]}function jf(e,t){return e.filter(o=>o.teamNumber===t)}function aL(){return jf(this.timelineGoalsWithPlayerNames,1)}function iL(){return jf(this.timelineGoalsWithPlayerNames,2)}const lL=({matchInfo:e,statistics:t,sportId:o,firstOpponentName:r,champName:s,bettingType:n})=>{$_$();if(o===41){if(n===ee.LIVE&&r)return r;if(n===ee.LINE&&s)return s}return e&&t?[e.scoreLabel,e.country,e.fieldType,e.stage,e.gameType,t.info].filter(Boolean).join(". ").trim():""};function cL(){const{matchInfo:e,statistics:t,sportId:o,firstOpponentName:r,champName:s}=this.currentGame;return lL({matchInfo:e,statistics:t,sportId:o,firstOpponentName:r,champName:s,bettingType:this.sectionType})}function uL(){return this.currentGame.matchInfo.stadium}function pL(){var e,t;return(t=(e=this.currentGame.statistics.penaltyStatistics)==null?void 0:e.firstTeamSeries)!=null?t:[]}function dL(){var e,t;return(t=(e=this.currentGame.statistics.penaltyStatistics)==null?void 0:e.secondTeamSeries)!=null?t:[]}function mL(){return this.currentGame.statistics.firstTeamFoulStatistics}function _L(){return this.currentGame.statistics.secondTeamFoulStatistics}function hL(){const{currentGame:e,standingsGroups:t}=this,{firstOpponentName:o,secondOpponentName:r}=e,s=(a,u)=>a.some(p=>{var m;return((m=p.team.name)==null?void 0:m.localeCompare(u))===0}),n=t.find(a=>s(a,o)&&s(a,r));if(n)return n;const l=t.find(a=>s(a,o)),i=t.find(a=>s(a,r));return l&&i?[l,i]:[]}function fL(){$_$();var s;const{currentGame:{sportId:e,firstOpponentScoreLabel:t,secondOpponentScoreLabel:o,statistics:r}}=this;if(TA.includes(e)){const{firstOpponentScore:n,secondOpponentScore:l}=(s=r.subScore)!=null?s:{};return[fe(n)?String(n):void 0,fe(l)?String(l):void 0]}return[t,o]}function gL(){return!!this.currentGame.hasTimeline}var Ru=(e=>(e.BOARD="board",e.FULLSCREEN="fullscreen",e.OVERVIEW="overview",e.SIDE="side",e.NONE="",e))(Ru||{}),Zf=(e=>(e.VIDEO="video",e.ZONE="zone",e))(Zf||{});const W5=["board","fullscreen","overview","side"],Y5=["video","zone"],qf={video:"videoId",zone:"zoneId"},j5="/v2/videoCoreLoader.min.js?rand=",Z5={PATH:"/zone-static/getZone/liveplayer"};C({url:"/account-api/user/balance",isUseXAuth:!0});C({method:"post",url:"/web-api/user/balance"});C({method:"post",url:"/web-api/user/setactiveaccount",expectedParams:d({},Ay())});C({method:"post",url:"/web-api/api/internal/v1/user/activate",expectedParams:d({},qc()),transformParams:e=>({data:{attributes:d({},e.queryParams)}})});C({method:"post",url:"/web-api/api/internal/v1/user/activatefast",expectedParams:d({},qc()),transformParams:e=>({data:{attributes:d({},e.queryParams)}})});C({method:"get",url:"/web-api/user/getuserconfig"});const SL=C({method:"post",url:"/web-api/user/updatetoken",allowParallel:!1,abortOnUnmount:!0});C({method:"post",url:"/api-v3/v1/user/agreement-with-cookies/log",expectedParams:d({},Cy())});C({url:"/web-api/user/sendActivationMail",method:"post",expectedParams:d({},ah())});C({url:"/web-api/user/repeatActivationPopup",method:"post"});C({method:"get",url:"/web-api/api/internal/v1/user/passwordreset",expectedParams:d({},qc()),transformParams:e=>e.queryParams});C({method:"post",url:"/web-api/api/internal/v1/user/passwordreset",expectedParams:d(d(d({},Ry()),ih()),by())});C({method:"get",url:"/web-api/user/getphonecountries"});C({method:"get",url:"/web-api/api/user/phonemasks"});C({method:"post",url:"/web-api/user/secure"});C({url:"/web-api/user/mailing",method:"post",overrideParams:e=>(e.mail_type="vipDomain",e.type=0,e),expectedParams:d({},Ny())});C({method:"post",url:"/web-api/api/trustly/v1/deposit",expectedParams:d(d(d(d(d(d({},Fs()),ky()),Gy()),My()),By()),Ly())});C({method:"post",url:"/web-api/api/internal/user/store-credentials",expectedParams:d(d(d(d(d({},Fy()),Dy()),wy()),ih()),ah()),transformParams:e=>({data:{attributes:d({},e)}})});const yL=e=>{const t=qf[e.type];return`${e.type}-${e.gameId}-${e[t]}`},IL=({type:e,target:t=Ru.NONE,gameId:o,sportId:r,videoId:s,zoneId:n,title:l,boundingClientRect:i,id:a,gameLink:u,autoClearable:p=!0,isFloating:m=!1,isUserSelected:c=!1,isRecommended:_=!1})=>({id:a!=null?a:yL({type:e,gameId:o,videoId:s,zoneId:n}),type:e,target:t,gameId:o,sportId:r,videoId:s,zoneId:n,title:l,boundingClientRect:i,gameLink:u,autoClearable:p,isFloating:m,isUserSelected:c,isRecommended:_});var EL=Object.defineProperty,jd=Object.getOwnPropertySymbols,TL=Object.prototype.hasOwnProperty,OL=Object.prototype.propertyIsEnumerable,Zd=(e,t,o)=>t in e?EL(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,qd=(e,t)=>{for(var o in t||(t={}))TL.call(t,o)&&Zd(e,o,t[o]);if(jd)for(var o of jd(t))OL.call(t,o)&&Zd(e,o,t[o]);return e};const Jd=(e,t)=>{const o=e.id===void 0?qf[e.type]:"id";return t.findIndex(r=>r[o]===e[o])},vL={async mediaLoadUserVideoToken(){$_$();let e,t;const o=Ot(),r=_i();if(!o.getUserId)return;const{token:n}=([e,t]=I(()=>SL(r).execute()),e=await e,t(),e);this.mediaSetUserVideoToken(n)},async repopulateMedia(){$_$();var e;let t,o;const r=Vn();(!this.mediaEntities||this.mediaEntities.length===0)&&((e=([t,o]=I(()=>$_$() && r.getItem(cr.MEDIA_SIDE_ZONES)),t=await t,o(),t))!=null?e:[]).forEach(n=>{this.mediaSelectMedia(n)})},async rewriteMedia(e=this.mediaEntities){$_$();let t,o;const r=Vn();[t,o]=I(()=>$_$() && r.setItem(cr.MEDIA_SIDE_ZONES,Uy(e))),await t,o()},async mediaSelectMediaZone(e){$_$();let t,o;this.mediaSelectMedia(e),[t,o]=I(()=>this.rewriteMedia()),await t,o()},async mediaUnselectMediaZone(e){$_$();let t,o;this.mediaUnselectMedia(e),[t,o]=I(()=>this.rewriteMedia()),await t,o()},mediaClearMedia(){this.mediaEntities=this.mediaEntities.filter(({autoClearable:e})=>!e)},async mediaSelectMedia(e,t=!0){$_$();let o,r;const s=Jd(e,this.mediaEntities);if(s>-1){const n=qd(qd({},this.mediaEntities[s]),e);this.mediaEntities.splice(s,1,n),t&&([o,r]=I(()=>this.rewriteMedia()),await o,r());return}this.mediaEntities.push(IL(e)),t&&([o,r]=I(()=>this.rewriteMedia()),await o,r())},async mediaUnselectMedia(e,t=!0){$_$();let o,r;const s=Jd(e,this.mediaEntities);if(s!==-1){const n=this.mediaEntities.filter((l,i)=>i!==s);t&&([o,r]=I(()=>this.rewriteMedia(n)),await o,r()),this.mediaEntities=n}},mediaUnselectAllMediaGameId(e){this.mediaEntities=this.mediaEntities.filter(({gameId:t})=>t!==e)},mediaSelectMediaTargetScreen(e=""){this.mediaTargetScreen=e},mediaSetUserVideoToken(e){this.userVideoToken=e},setIsUserSelected(e,t){const o=this.mediaEntities.find(r=>r.id===e);o&&(o.isUserSelected=t)},mediaUnActiveAllMedia(){this.mediaEntities.forEach(e=>{e.isUserSelected=!1})},async mediaUnselectAllVideoByGameId(e){$_$();let t,o;const r=this.mediaEntities.filter(({gameId:s,type:n})=>s!==e||s===e&&n!==Zf.VIDEO);[t,o]=I(()=>this.rewriteMedia(r)),await t,o(),this.mediaEntities=r}},PL={getMediaEntities(){return({target:e,type:t,gameId:o}={})=>{const r=Object.entries({target:e,type:t,gameId:o}).filter(s=>s[1]!==void 0);return this.mediaEntities.filter(s=>r.every(([n,l])=>s[n]===l))}}},AL=()=>({mediaEntities:[],mediaTargetScreen:"",userVideoToken:void 0}),CL=jc("media",{useSharedStore:!0,state:AL,getters:PL,actions:vL});function bL(){const e=CL(),{currentGame:t}=this,{mediaEntities:o=[]}=e!=null?e:{};return o.filter(({gameId:r})=>t.id===r).filter(({target:r})=>r===Ru.FULLSCREEN).length===0}function RL(){var e;return!!((e=this.currentGame.cyberGameScores)!=null&&e.fightingPeriodsScores)}function NL(){return!!(this.shouldShowScoreboardWeather||this.scoreboardStadiumName||this.currentGame.champName)}const LL=e=>!(e.temperature||e.weatherCondition||e.windSpeed||e.windDirection||e.pressure||e.humidity||e.waveLength||e.waterTemperature);function BL(){const{weatherData:e}=this.currentGame;return!LL(e)}function ML(){return!!(this.shouldShowScoreboardWeather||this.scoreboardMatchInfoLabel||this.scoreboardStadiumName)}function GL(){var t,o,r,s;return[Object.keys(this.currentGame.summary).length>0,!!((o=(t=this.currentGame.statistics.cricket)==null?void 0:t.inningsStatistic)!=null&&o.length),!!((s=(r=this.currentGame.statistics.alpineSkiingCyber)==null?void 0:r.table)!=null&&s.length)].some(n=>!!n)}function kL(){$_$();return!!this.currentGame.hasLineups&&this.sectionType===ee.LIVE}function wL(){const e=this.currentGame.statisticStageType===2;return!!this.currentGame.stageId&&e}function DL(){return this.currentGame.sportId===1&&(this.firstTeamGoalsWithPlayerNames.length>0||this.secondTeamGoalsWithPlayerNames.length>0)}function FL(){var e,t;return((t=(e=this.currentGame.cyberGameScores)==null?void 0:e.fightingPeriodsScores)==null?void 0:t.length)>0}function UL(){return this.currentGame.periodScores.length>0}const q5=e=>{var t,o,r;return(r=(o=(t=e.statistics)==null?void 0:t.alternativeNames)==null?void 0:o.firstTeamName)!=null?r:e.firstOpponentName},J5=e=>{var t,o,r;return(r=(o=(t=e.statistics)==null?void 0:t.alternativeNames)==null?void 0:o.secondTeamName)!=null?r:e.secondOpponentName},X5=e=>{var t,o;return(o=(t=e==null?void 0:e.matchInfo)==null?void 0:t.firstOpponentSeed)!=null?o:""},z5=e=>{var t,o;return(o=(t=e==null?void 0:e.matchInfo)==null?void 0:t.secondOpponentSeed)!=null?o:""},Q5=(e,t)=>t?e.dateMonth:void 0,eH=(e,t)=>t?e.startTimeFormatted:e.timeFormatted,xL=e=>!e.secondOpponentName,tH=e=>e.gamePeriodName||e.currentPeriodLabel,oH=e=>e.firstOpponentScoreLabel,rH=e=>e.secondOpponentScoreLabel,sH=e=>{var t,o;return[(t=e.statistics)==null?void 0:t.extraTimeLabel,e.additionalInfo,e.additionalType,e.type,(o=e.matchInfo)==null?void 0:o.stage,`ID: ${e.id}`].filter(Boolean)};function $L(){const{currentGame:e}=this,{isDummy:t,sportId:o}=e,r=xL(e);return!t&&!r&&!sf.includes(o)}function VL(){return this.hasTimeline&&EA.includes(this.currentGame.sportId)}function HL(){return!!this.currentGame.hasLineups||this.shouldShowScoreboardTimeline||this.shouldShowScoreboardStandings||this.shouldShowCoatingTypes}function KL(){const{currentGame:{sportId:e}}=this;return OA.includes(e)}function WL(){return this.currentGame.sportId===4}function YL(){const{currentGame:e}=this;return IA.includes(e.sportId)}function jL(){return this.currentGame.typeId===Ui&&this.currentGame.isSubGame}function ZL(){return this.currentGame.gameStatus===64}const qL={marketsCountByType:uN,totalMarketsCount:dN,currentGame:_N,currentMainGame:pN,games:hN,markets:fN,gridGroupingPaths:SN,getFilterQuery:yN,areAllMarketsLoaded:IN,shouldShowMarketsSettings:EN,allMarketGroupsCollapsedStorageKey:PN,collapsedMarketGroupsStorageKey:AN,expandedMarketGroupsStorageKey:CN,gameStorageValueExpireDate:bN,homeTeamActivePlayers:RN,homeTeamAbsentPlayers:NN,awayTeamActivePlayers:LN,awayTeamAbsentPlayers:BN,getLineupsPlayersByType:GN,lineupsAbsentPlayers:kN,lineupsManagers:wN,lineupsFirstLinePlayers:DN,lineupsSecondLinePlayers:FN,lineupsThirdLinePlayers:UN,lineupsFourthLinePlayers:xN,lineupsFifthLinePlayers:$N,lineupsSubstitutions:VN,lineupsStartingLineupPlayers:HN,lineupsPlayerGroups:KN,timelineEventViewModels:sL,timelineGoalsWithPlayerNames:nL,firstTeamGoalsWithPlayerNames:aL,secondTeamGoalsWithPlayerNames:iL,scoreboardMatchInfoLabel:cL,scoreboardStadiumName:uL,firstTeamPenaltiesSeries:pL,secondTeamPenaltiesSeries:dL,firstTeamFoulStatistics:mL,secondTeamFoulStatistics:_L,standingsGroup:hL,mainScoreLabels:fL,hasTimeline:gL,shouldShowScoreboard:bL,shouldShowScoreboardCyberGameScores:RL,shouldShowScoreboardInfoTab:NL,shouldShowScoreboardWeather:BL,shouldShowScoreboardHeader:ML,shouldShowScoreboardStatistics:GL,shouldShowScoreboardLineups:kL,shouldShowScoreboardStandings:wL,shouldShowScoreboardGoalsTab:DL,shouldShowScoreboardCyberPeriods:FL,shouldShowScoreboardPeriods:UL,shouldShowScoreboardScores:$L,shouldShowScoreboardTimeline:VL,shouldShowScoreboardFooter:HL,shouldShowFinalScoreInPeriods:KL,shouldShowCoatingTypes:WL,isWideScreenScoreboard:YL,isMarketGridReady:e=>!e.isLoadingInProgress&&e.isMarketGridStoredColumnsCountLoaded,isDuelGame:jL,getSelectedDuelPlayersIdTeamFirst:e=>e.selectedDuelPlayersTeamFirst.map(t=>t.id),getSelectedDuelPlayersIdTeamSecond:e=>e.selectedDuelPlayersTeamSecond.map(t=>t.id),isCheckingVAR:ZL},JL=()=>({sectionType:void 0,currentGameId:ir,gamesById:{},marketGroups:[],unparsedMarketGroupsByGameId:void 0,filteredMarketGroups:[],gameIds:[],isLoadingInProgress:!1,isScoreboardLoadingInProgress:!1,marketGridColumnsCount:yc,collapsedMarketGroupIdsByUser:[],expandedMarketGroupIdsByUser:[],collapsedGridGroupNames:[],pinnedMarketGroupForeignIds:[],marketsPerPage:ti,marketType:yA,filterQuery:"",areAllMarketGroupsCollapsed:rf,gameEventsToSubscribe:[],isScoreboardCompactView:!1,isMarketsPanelCompactView:!1,timelineEvents:[],maxMarketGridColumnsCount:SA,homeTeamActivePlayerIds:[],homeTeamAbsentPlayerIds:[],awayTeamActivePlayerIds:[],awayTeamAbsentPlayerIds:[],playersByIds:{},statisticUrl:"",standingsGroups:[[]],isGameOver:!1,marketGridCategories:[],playerListForDuel:[],marketsCountByTypeDuel:{},isMarketGridStoredColumnsCountLoaded:!1,marketGridWrapperWidth:0,scoreboardSize:0,selectedDuelPlayersTeamFirst:[],selectedDuelPlayersTeamSecond:[],menuSections:[0],gameFromRoute:void 0,winningProbabilities:{winFirst:0,draw:0,winSecond:0}}),nH=jc("game",{state:JL,getters:qL,actions:cN}),XL=Wc(e=>{}),zL=[xy,$y,Vy,Uv,dA,XL,Hy],Fn={};function QL(e,t,o){$_$();const{pathname:r,search:s,hash:n}=t,l=e.indexOf("#");if(l>-1){const u=n.includes(e.slice(l))?e.slice(l).length:1;let p=n.slice(u);return p[0]!=="/"&&(p="/"+p),up(p,"")}const i=up(r,e),a=!o||Jy(i,o,{trailingSlash:!0})?i:o;return a+(a.includes("?")?"":s)+n}const eB=Fo({name:"nuxt:router",enforce:"pre",async setup(e){$_$();var S,P,v;let t,o,r=Uc().app.baseURL;uo.hashMode&&!r.includes("#")&&(r+="#");const s=(P=(S=uo.history)==null?void 0:S.call(uo,r))!=null?P:uo.hashMode?Ky(r):Wy(r),n=uo.routes&&(v=([t,o]=I(()=>uo.routes(tl)),t=await t,o(),t))!=null?v:tl;let l;const i=Yy(N(d({},uo),{scrollBehavior:(R,y,A)=>{$_$();if(y===lp){l=A;return}if(uo.scrollBehavior){if(i.options.scrollBehavior=uo.scrollBehavior,"scrollRestoration"in window.history){const E=i.beforeEach(()=>{E(),window.history.scrollRestoration="manual"})}return uo.scrollBehavior(R,lp,l||A)}},history:s,routes:n}));"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(i);const a=Za(i.currentRoute.value);i.afterEach((R,y)=>{a.value=y}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>a.value});const u=QL(r,window.location,e.payload.path),p=Za(i.currentRoute.value),m=()=>{p.value=i.currentRoute.value};e.hook("page:finish",m),i.afterEach((R,y)=>{var A,E,w,L;((E=(A=R.matched[0])==null?void 0:A.components)==null?void 0:E.default)===((L=(w=y.matched[0])==null?void 0:w.components)==null?void 0:L.default)&&m()});const c={};for(const R in p.value)Object.defineProperty(c,R,{get:()=>p.value[R],enumerable:!0});e._route=jy(c),e._middleware=e._middleware||{global:[],named:{}};const _=lh();i.afterEach(async(R,y,A)=>{$_$();let E,w;delete e._processingMiddleware,!e.isHydrating&&_.value&&([E,w]=I(()=>$_$() && e.runWithContext(Zy)),await E,w()),A&&([E,w]=I(()=>e.callHook("page:loading:end")),await E,w())});try{[t,o]=I(()=>i.isReady()),await t,o()}catch(R){[t,o]=I(()=>e.runWithContext(()=>$_$() && hn(R))),await t,o()}const h=u!==i.currentRoute.value.fullPath?i.resolve(u):i.currentRoute.value;m();const g=e.payload.state._layout;return i.beforeEach(async(R,y)=>{$_$();let A,E;[A,E]=I(()=>e.callHook("page:loading:start")),await A,E(),R.meta=ja(R.meta),e.isHydrating&&g&&!qy(R.meta.layout)&&(R.meta.layout=g),e._processingMiddleware=!0;{const w=new Set([...zL,...e._middleware.global]);for(const L of R.matched){const V=L.meta.middleware;if(V)for(const U of ch(V))w.add(U)}for(const L of w){const V=typeof L=="string"?e._middleware.named[L]||([A,E]=I(()=>{var H;return(H=Fn[L])==null?void 0:H.call(Fn).then(k=>k.default||k)}),A=await A,E(),A):L;if(!V)throw new Error(`Unknown route middleware: '${L}'.`);const U=([A,E]=I(()=>e.runWithContext(()=>V(R,y))),A=await A,E(),A);if(!e.payload.serverRendered&&e.isHydrating&&(U===!1||U instanceof Error)){const H=U||cp({statusCode:404,statusMessage:`Page Not Found: ${u}`});return[A,E]=I(()=>e.runWithContext(()=>$_$() && hn(H))),await A,E(),!1}if(U!==!0&&(U||U===!1))return U}}}),i.onError(async()=>{$_$();let R,y;delete e._processingMiddleware,[R,y]=I(()=>e.callHook("page:loading:end")),await R,y()}),i.afterEach(async(R,y)=>{$_$();let A,E;R.matched.length===0&&([A,E]=I(()=>e.runWithContext(()=>$_$() && hn(cp({statusCode:404,fatal:!1,statusMessage:`Page not found: ${R.fullPath}`,data:{path:R.fullPath}})))),await A,E())}),e.hooks.hookOnce("app:created",async()=>{$_$();let R,y;try{"name"in h&&(h.name=void 0),[R,y]=I(()=>i.replace(N(d({},h),{force:!0}))),await R,y(),i.options.scrollBehavior=uo.scrollBehavior}catch(A){[R,y]=I(()=>e.runWithContext(()=>$_$() && hn(A))),await R,y()}}),{provide:{router:i}}}}),tB=Jc(()=>O(()=>import("./c19ba5e0c9.js").then(e=>e.EscapeFromLayout),__vite__mapDeps([29,1]),import.meta.url).then(e=>e.default||e.default||e)),oB=Jc(()=>O(()=>import("./e58b14b5fc.js"),[],import.meta.url).then(e=>e.default||e.default||e)),rB=Jc(()=>O(()=>import("./7f7cb681d3.js"),[],import.meta.url).then(e=>e.default||e.default||e)),sB=[["EscapeFromLayout",tB],["NuxtPageDurable",oB],["T",rB]],nB=Fo({name:"nuxt:global-components",setup(e){for(const[t,o]of sB)e.vueApp.component(t,o),e.vueApp.component("Lazy"+t,o)}}),Pa={"mobile-default-layout-f":()=>O(()=>import("./7bae0c5dbd.js"),__vite__mapDeps([318,6,1,29,111,3,20,112,113,319]),import.meta.url)},aB=Fo({name:"nuxt:prefetch",setup(e){$_$();const t=Xr();e.hooks.hook("app:mounted",()=>{t.beforeEach(async o=>{$_$();var l;let r,s;const n=(l=o==null?void 0:o.meta)==null?void 0:l.layout;n&&typeof Pa[n]=="function"&&([r,s]=I(()=>Pa[n]()),await r,s())})}),e.hooks.hook("link:prefetch",o=>{$_$();if(Xy(o))return;const r=t.resolve(o);if(!r)return;const s=r.meta.layout;let n=ch(r.meta.middleware);n=n.filter(l=>typeof l=="string");for(const l of n)typeof Fn[l]=="function"&&Fn[l]();s&&typeof Pa[s]=="function"&&Pa[s]()})}}),iB=Fo(async()=>{}),lB=Fo(async()=>{}),cB=Fo(({vueApp:e})=>{$_$();e.component("BaseInput",zy).component("InputMask",Qy).component("InputMaskPhone",eI).component("NetworkPicture",tI).component("StatisticFrame",oI).component("StatisticModal",rI).component("UiAccordion",sI).component("UiAlert",nI).component("UiAngle",aI).component("UiAngleV2",iI).component("UiBadge",lI).component("UiBar",cI).component("UiBarBlock",uI).component("UiBarControl",pI).component("UiBarControls",dI).component("UiBarControlsItem",mI).component("UiBarDrops",_I).component("UiBarDropsItem",hI).component("UiBarGroup",fI).component("UiBarHeader",gI).component("UiBarSwitches",SI).component("UiBarToggle",yI).component("UiBonusSelect",II).component("UiBonusTracker",EI).component("UiBreadcrumbs",TI).component("UiButton",OI).component("UiButtonBase",vI).component("UiCaption",PI).component("UiChooseGroup",AI).component("UiCircleDiagram",CI).component("UiClipboard",bI).component("UiCodeConfirmField",RI).component("UiColoredSvg",NI).component("UiColumnNav",LI).component("UiColumnNavLink",BI).component("UiColumnNavList",MI).component("UiColumnNavSection",GI).component("UiColumnNavTitle",kI).component("UiColumnToggleButton",wI).component("UiContentWrapper",DI).component("UiDatepicker",FI).component("UiDatepickerRangeModal",UI).component("UiDropdown",xI).component("UiDropdownContent",$I).component("UiDropdownForm",VI).component("UiDropdownFormCol",HI).component("UiDropdownFormHeader",KI).component("UiDropdownFormRow",WI).component("UiDropdownFormSection",YI).component("UiDropdownPhoneCodes",jI).component("UiDropdownTrigger",ZI).component("UiEmptyMessage",qI).component("UiField",JI).component("UiFieldBase",XI).component("UiFieldDatepicker",zI).component("UiFieldDatepickerRange",QI).component("UiFieldGoogleCaptchaTerms",eE).component("UiFieldPhone",tE).component("UiFieldSelect",oE).component("UiFieldSelectModalTrigger",rE).component("UiHighlight",sE).component("UiIco",pp).component("UiIcoBase",pp).component("UiIcoCountry",nE).component("UiIcoCurrency",aE).component("UiIcoSport",iE).component("UiIcoTeam",lE).component("UiIcoTeamBase",cE).component("UiIcoV2",uE).component("UiImg",pE).component("UiImgV2",dE).component("UiIndeterminateProgressIndicator",mE).component("UiInformer",_E).component("UiInlineButton",hE).component("UiInput",fE).component("UiInputBase",gE).component("UiInputButton",SE).component("UiInputDatepicker",yE).component("UiInputImages",IE).component("UiInputImagesProgress",EE).component("UiInputPhone",TE).component("UiInputSelect",OE).component("UiInputv2",vE).component("UiLink",PE).component("UiMarket",AE).component("UiMessageBlock",CE).component("UiMessageBlockV2",bE).component("UiModal",RE).component("UiModalImage",NE).component("UiModalText",LE).component("UiModalTitle",BE).component("UiNav",ME).component("UiNavItem",GE).component("UiNavItems",kE).component("UiNavLink",wE).component("UiNavLinkToggle",DE).component("UiNotification",FE).component("UiNotificationAlert",UE).component("UiNotificationBase",xE).component("UiNotificationSnackbar",$E).component("UiNotificationV2",VE).component("UiNotifications",HE).component("UiNumberInput",KE).component("UiOption",WE).component("UiPhoneApprove",YE).component("UiPlug",jE).component("UiPlugBackground",ZE).component("UiPlugContacts",qE).component("UiPlugHelp",JE).component("UiPlugMessage",XE).component("UiPlugSocials",zE).component("UiPlugTile",QE).component("UiPlugTileLogo",eT).component("UiPlugTileText",tT).component("UiPlugTileTitle",oT).component("UiPopup",rT).component("UiPopupV2",sT).component("UiPreloader",nT).component("UiRange",aT).component("UiRangeV2",iT).component("UiScrollToTop",lT).component("UiScrollbar",cT).component("UiSearch",uT).component("UiSearchButton",pT).component("UiSection",dT).component("UiSectionContent",mT).component("UiSectionHead",_T).component("UiSectionHeadMore",hT).component("UiSectionNav",fT).component("UiSelectContent",gT).component("UiSelectItem",ST).component("UiSelectModal",yT).component("UiSelectModalCountry",IT).component("UiSelectModalCountryV2",ET).component("UiSelectModalPhoneCode",TT).component("UiSelectModalPhoneCodeV2",OT).component("UiSelectModalSelection",vT).component("UiSelectModalV2",PT).component("UiSelectOptions",AT).component("UiSelectValue",CT).component("UiSelection",bT).component("UiSelectionIco",RT).component("UiShowcaseBar",NT).component("UiShowcaseBarItem",LT).component("UiShowcaseCard",BT).component("UiSkeleton",MT).component("UiSlider",GT).component("UiSliderGroup",kT).component("UiSliderSlide",wT).component("UiSocialSelect",DT).component("UiStatus",FT).component("UiStatusIcon",UT).component("UiStatusMarker",xT).component("UiStepper",$T).component("UiSwipeSlider",VT).component("UiSwipeSliderV2",HT).component("UiSwitch",KT).component("UiSwitches",WT).component("UiTable",YT).component("UiTableCell",jT).component("UiTableRow",ZT).component("UiTabs",qT).component("UiTag",JT).component("UiTextContent",XT).component("UiTextModal",zT).component("UiTimeline",QT).component("UiTimer",e0).component("UiTopEventsNotification",t0).component("UiTopEventsNotifications",o0).component("UiTopEventsSection",r0).component("UiTopEventsSwitch",s0).component("UiTopEventsSwitches",n0).component("UiTopEventsSwitchesItem",a0).component("UiTopEventsTabs",i0)}),uB={install(e){$_$();e.config.globalProperties.$leavingPage=new l0,Yc(()=>{e.config.globalProperties.$leavingPage.destroy()})}},pB={install(e){e.config.globalProperties.$statisticModule=new vN({$vmodal:e.config.globalProperties.$vmodal,$logger:e.config.globalProperties.$logger})}},Jf=({base:e,prefix:t,postfix:o,marketsNameType:r=Yn,language:s="ru"}={})=>{$_$();const n=it[r];return`${e}/${t}_${n}_${s}${o!==void 0?`_${o}`:""}`};var Xf=e=>{throw TypeError(e)},dB=(e,t,o)=>t.has(e)||Xf("Cannot "+o),ps=(e,t,o)=>(dB(e,t,"read from private field"),o?o.call(e):t.get(e)),Xd=(e,t,o)=>t.has(e)?Xf("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,o),Sn,yn;class mB{constructor(){Xd(this,Sn,{[it.full]:{},[it.short]:{}}),Xd(this,yn,{[it.full]:void 0,[it.short]:void 0})}async fetchGroupRanges(t){$_$();let o,r;if(Object.keys(ps(this,Sn)[t]).length>0)return;!!ps(this,yn)[t]||(ps(this,yn)[t]=this.loadGroupRanges(t)),ps(this,Sn)[t]=([o,r]=I(()=>ps(this,yn)[t]),o=await o,r(),o)}async getChunkIdByGroupId(t,o){$_$();let r,s;[r,s]=I(()=>this.fetchGroupRanges(o)),await r,s();const n=this.findChunkIdInRanges(t,ps(this,Sn)[o]);if(!n)throw new Error(`Chunk for group was not found, group id: ${t}`);return n}findChunkIdInRanges(t,o){const[r]=Object.entries(o).find(([,[s,n]])=>s<=t&&t<=n)||[];return Number(r)}}Sn=new WeakMap;yn=new WeakMap;var zf=e=>{throw TypeError(e)},Qf=(e,t,o)=>t.has(e)||zf("Cannot "+o),er=(e,t,o)=>(Qf(e,t,"read from private field"),o?o.call(e):t.get(e)),an=(e,t,o)=>t.has(e)?zf("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,o),ln=(e,t,o,r)=>(Qf(e,t,"write to private field"),t.set(e,o),o),Ts,Ua,In,En,xa;let _B=class extends mB{constructor(t){super(),an(this,Ts),an(this,Ua),an(this,In),an(this,En),an(this,xa),ln(this,Ts,t.$siteConfig),ln(this,Ua,t.$httpModule),ln(this,In,t.$appStorage),ln(this,En,t.$logger),ln(this,xa,t.$getCDN)}async loadGroupRanges(t){$_$();let o,r;const s=new Date().toISOString(),n=Jf({base:er(this,xa).call(this,lf),prefix:vC,marketsNameType:t,language:er(this,Ts).lng});let l;try{l=([o,r]=I(()=>er(this,In).getItem(Wp)),o=await o,r(),o)}catch(a){er(this,En).error("Can't get group models from IndexedDB",a)}if(fe(l)){const a=JSON.parse(l);if(a.lng===er(this,Ts).lng&&a.marketsNameType===t){const u=of(new Date(s),new Date(a.timestamp));if(Math.abs(u)<1)return a.data}}const i=([o,r]=I(()=>er(this,Ua).call(this,`${n}.json`).execute()),o=await o,r(),o);if(fe(i)){const a=JSON.stringify({marketsNameType:t,lng:er(this,Ts).lng,timestamp:s,data:i});try{[o,r]=I(()=>er(this,In).setItem(Wp,a)),await o,r()}catch(u){er(this,En).error("Can't save group models to IndexedDB",u)}}return i}};Ts=new WeakMap;Ua=new WeakMap;In=new WeakMap;En=new WeakMap;xa=new WeakMap;const hB=e=>{$_$();const t=uh();e.config.globalProperties.$betModelChunksManager=new _B({$siteConfig:e.config.globalProperties.$siteConfig,$httpModule:e.config.globalProperties.$httpModule,$appStorage:e.config.globalProperties.$appStorage,$logger:e.config.globalProperties.$logger,$getCDN:t})};class fB{constructor(t,o,r){this.nameTemplate=t,this.groupId=o,this.templateTypeId=r,this.nameTemplate=t,this.groupId=o,this.templateTypeId=r}}var gB=Object.defineProperty,SB=Object.defineProperties,yB=Object.getOwnPropertyDescriptors,zd=Object.getOwnPropertySymbols,IB=Object.prototype.hasOwnProperty,EB=Object.prototype.propertyIsEnumerable,Qd=(e,t,o)=>t in e?gB(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,TB=(e,t)=>{for(var o in t||(t={}))IB.call(t,o)&&Qd(e,o,t[o]);if(zd)for(var o of zd(t))EB.call(t,o)&&Qd(e,o,t[o]);return e},OB=(e,t)=>SB(e,yB(t));const vB=(e,[t,o])=>$_$() && OB(TB({},e),{[t]:new fB(o.N,o.G,o.T)}),PB=e=>Object.entries(e).reduce(vB,{});class AB{constructor(t,o,r,s,n){this.groupId=t,this.markets=o,this.name=r,this.groupNames=s,this.marketColumnsCount=n,this.groupId=t,this.markets=o,this.name=r,this.groupNames=s,this.marketColumnsCount=n}}var CB=Object.defineProperty,bB=Object.defineProperties,RB=Object.getOwnPropertyDescriptors,em=Object.getOwnPropertySymbols,NB=Object.prototype.hasOwnProperty,LB=Object.prototype.propertyIsEnumerable,tm=(e,t,o)=>t in e?CB(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,BB=(e,t)=>{for(var o in t||(t={}))NB.call(t,o)&&tm(e,o,t[o]);if(em)for(var o of em(t))LB.call(t,o)&&tm(e,o,t[o]);return e},MB=(e,t)=>bB(e,RB(t));const GB=(e,[t,o])=>$_$() && MB(BB({},e),{[t]:new AB(Number(t),PB(o.M),o.N,o.GN,o.C)}),kB=e=>Object.entries(e).reduce(GB,{});var wB=Object.defineProperty,DB=Object.defineProperties,FB=Object.getOwnPropertyDescriptors,om=Object.getOwnPropertySymbols,UB=Object.prototype.hasOwnProperty,xB=Object.prototype.propertyIsEnumerable,rm=(e,t,o)=>t in e?wB(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,$B=(e,t)=>{for(var o in t||(t={}))UB.call(t,o)&&rm(e,o,t[o]);if(om)for(var o of om(t))xB.call(t,o)&&rm(e,o,t[o]);return e},VB=(e,t)=>DB(e,FB(t));const sm=e=>Object.entries(e).reduce((t,[o,r])=>VB($B({},t),{[o]:kB(r)}),{});var HB=Object.defineProperty,nm=Object.getOwnPropertySymbols,KB=Object.prototype.hasOwnProperty,WB=Object.prototype.propertyIsEnumerable,eg=e=>{throw TypeError(e)},am=(e,t,o)=>t in e?HB(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,im=(e,t)=>{for(var o in t||(t={}))KB.call(t,o)&&am(e,o,t[o]);if(nm)for(var o of nm(t))WB.call(t,o)&&am(e,o,t[o]);return e},YB=(e,t,o)=>t.has(e)||eg("Cannot "+o),$r=(e,t,o)=>(YB(e,t,"read from private field"),o?o.call(e):t.get(e)),lm=(e,t,o)=>t.has(e)?eg("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,o),Os,Tn;class jB{constructor(){lm(this,Os,{[it.full]:{},[it.short]:{}}),lm(this,Tn,{[it.full]:{},[it.short]:{}})}async getGroupTemplateModel(t,o,r){$_$();var s;let n,l;[n,l]=I(()=>this.fetchGroupTemplateModels(t,r)),await n,l();const i=(s=$r(this,Os)[r][t])==null?void 0:s[o];if(!i)throw new Error(`BetGroupModelsManager.getGroupModel, group template was not found: group id: ${o}, chunk id: ${t}, markets name type: ${it[r]}`);return i}async fetchGroupTemplateModels(t,o){$_$();let r,s;if(!!$r(this,Os)[o][t])return;!!$r(this,Tn)[o][t]||($r(this,Tn)[o][t]=this.loadGroups(t,o));const i=([r,s]=I(()=>$r(this,Tn)[o][t]),r=await r,s(),r);$r(this,Os)[o]=im(im({},$r(this,Os)[o]),i)}}Os=new WeakMap;Tn=new WeakMap;var tg=e=>{throw TypeError(e)},og=(e,t,o)=>t.has(e)||tg("Cannot "+o),xt=(e,t,o)=>(og(e,t,"read from private field"),o?o.call(e):t.get(e)),ds=(e,t,o)=>t.has(e)?tg("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,o),ms=(e,t,o,r)=>(og(e,t,"write to private field"),t.set(e,o),o),vs,$a,On,Go,vn,Va;const ZB=[0,1,2,3,4,5,6,7,8,9];let qB=class extends jB{constructor(t){super(),ds(this,vs),ds(this,$a),ds(this,On),ds(this,Go),ds(this,vn),ds(this,Va),ms(this,vs,t.$siteConfig),ms(this,$a,t.$httpModule),ms(this,On,t.$appStorage),ms(this,vn,t.$logger),ms(this,Va,t.$getCDN),ms(this,Go,{[it.full]:{},[it.short]:{}})}async loadGroups(t,o){$_$();let r,s;const n=new Date().toISOString(),l=Jf({base:`${xt(this,Va).call(this,lf)}`,prefix:OC,postfix:t,marketsNameType:o,language:xt(this,vs).lng});let i;try{i=([r,s]=I(()=>xt(this,On).getItem(Kp)),r=await r,s(),r)}catch(u){xt(this,vn).error("Can't get group models from IndexedDB",u)}if(fe(i)){const u=JSON.parse(i),p=of(new Date(n),new Date(u.timestamp));xt(this,Go)[u.marketsNameType]=u.data||{},(u.lng!==xt(this,vs).lng||Math.abs(p)>1)&&(xt(this,Go)[it.full]={},xt(this,Go)[it.short]={});const m=Object.keys(xt(this,Go)[u.marketsNameType]).map(Number)||[];if(u.marketsNameType===o&&m.includes(t))return sm({[t]:xt(this,Go)[u.marketsNameType][t]})}const a=([r,s]=I(()=>xt(this,$a).call(this,`${l}.json`).execute()),r=await r,s(),r);if(ZB.includes(t)){Object.assign(xt(this,Go)[o],a);const u=JSON.stringify({marketsNameType:o,lng:xt(this,vs).lng,timestamp:n,data:xt(this,Go)[o]});try{[r,s]=I(()=>xt(this,On).setItem(Kp,u)),await r,s()}catch(p){xt(this,vn).error("Can't save group models to IndexedDB",p)}}return sm(a)}};vs=new WeakMap;$a=new WeakMap;On=new WeakMap;Go=new WeakMap;vn=new WeakMap;Va=new WeakMap;const JB=e=>{$_$();const t=uh();e.config.globalProperties.$betModelGroupsManager=new qB({$siteConfig:e.config.globalProperties.$siteConfig,$httpModule:e.config.globalProperties.$httpModule,$appStorage:e.config.globalProperties.$appStorage,$logger:e.config.globalProperties.$logger,$getCDN:t})};var rg=e=>{throw TypeError(e)},sg=(e,t,o)=>t.has(e)||rg("Cannot "+o),_s=(e,t,o)=>(sg(e,t,"read from private field"),o?o.call(e):t.get(e)),Aa=(e,t,o)=>t.has(e)?rg("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,o),Xl=(e,t,o,r)=>(sg(e,t,"write to private field"),t.set(e,o),o),Ha,Ka,Pn,Wa;let XB=class{constructor({betModelChunksManager:t,betModelGroupsManager:o,$logger:r}){Aa(this,Ha),Aa(this,Ka),Aa(this,Pn),Aa(this,Wa,{[it.full]:{},[it.short]:{}}),Xl(this,Ha,t),Xl(this,Ka,o),Xl(this,Pn,r)}getFakeGroupTemplate(){return{groupId:0,markets:{},name:"-",groupNames:void 0,marketColumnsCount:0}}getChunkIdFromChunkManager(t,o){return _s(this,Ha).getChunkIdByGroupId(t,o)}async getChunkId(t,o,r){return t?PC:this.getChunkIdFromChunkManager(o,r).catch(s=>{_s(this,Pn).error("getGroupTemplateById error",s)})}getGroupTemplate(t,o){return _s(this,Wa)[t][o]}async setGroupTemplate(t,o,r){$_$();let s,n;_s(this,Wa)[r][o]=([s,n]=I(()=>_s(this,Ka).getGroupTemplateModel(Number(t),o,r)),s=await s,n(),s)}async getGroupTemplateById({groupId:t=ao("groupId"),isDefaultGroup:o=!!Yo[t],marketsNameType:r=Yn}){$_$();let s,n;if(!t)return this.getFakeGroupTemplate();const l=this.getGroupTemplate(r,t);if(l)return l;const i=([s,n]=I(()=>this.getChunkId(o,t,r)),s=await s,n(),s);if(i!==void 0){try{[s,n]=I(()=>this.setGroupTemplate(i,t,r)),await s,n()}catch(a){_s(this,Pn).error("setGroupTemplate error",a);return}return this.getGroupTemplate(r,t)}}async getGroupTemplatesByIds({groupIds:t,marketsNameType:o=Yn}){$_$();let r,s;return Object.fromEntries(([r,s]=I(()=>Promise.all(t.map(async n=>[n,await this.getGroupTemplateById({groupId:n,marketsNameType:o})]))),r=await r,s(),r))}};Ha=new WeakMap;Ka=new WeakMap;Pn=new WeakMap;Wa=new WeakMap;const zB={install(e){e.config.globalProperties.$betModelsManager=new XB({betModelChunksManager:e.config.globalProperties.$betModelChunksManager,betModelGroupsManager:e.config.globalProperties.$betModelGroupsManager,$logger:e.config.globalProperties.$logger})}},QB=e=>(t,o)=>{const r=e.indexOf(t.foreignId),s=e.indexOf(o.foreignId);return r===-1?1:s===-1?-1:r-s};var eM=Object.defineProperty,tM=(e,t,o)=>t in e?eM(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,oM=(e,t,o)=>tM(e,t+"",o);class rM{constructor(t){oM(this,"$logger"),bo(t.$logger,"$logger обязательное поле"),this.$logger=t.$logger}createLayout(t,{groupingPaths:o=[],collapseAllMarketGroups:r=!1,collapseByMarketsCount:s=!1,collapseMarketsCountLimit:n=0,expandedMarketGroupIdsByUser:l=[],collapsedMarketGroupIdsByUser:i=[],collapsedGridGroupNames:a=[],pinnedMarketGroupForeignIds:u=[]}={}){$_$();const p=c0(t,{groupingPaths:o,getLeafData:c=>c}),m=u.length>0?Th(p,QB(u)):p;return this.createMarketGridCategories(m,{collapseAllMarketGroups:r,collapseByMarketsCount:s,collapseMarketsCountLimit:n,expandedMarketGroupIds:l,collapsedMarketGroupIds:i,collapsedGridGroupNames:a,pinnedMarketGroupForeignIds:u})}createMarketGridCategories(t,{collapseAllMarketGroups:o,collapseByMarketsCount:r,collapseMarketsCountLimit:s,expandedMarketGroupIds:n,collapsedMarketGroupIds:l,collapsedGridGroupNames:i,pinnedMarketGroupForeignIds:a}){const u=new Set(n),p=new Set(l);return[...t.entries()].map(([m,c])=>{const _=c.map(h=>{var g,S;const v=((S=(g=h==null?void 0:h.marketColumns)==null?void 0:g.reduce((R,y)=>R+y.length,0))!=null?S:0)>s;return Uf.immutable({id:h.id,marketGroupName:h.name,data:h,isCollapsed:o&&!u.has(h.id)||!o&&p.has(h.id)||r&&v&&!u.has(h.id),isPinned:a.includes(h.foreignId),isHidden:i.includes(m),categoryName:m})});return Jr.immutable({groups:_,categoryName:m,isCollapsed:i.includes(m)})})}}const sM={install(e){e.config.globalProperties.$marketLayoutService=new rM({$logger:e.config.globalProperties.$logger})}},nM="DR_",aM=({siteConfig:e})=>e.allowVideo,iM=(e,t,o)=>{$_$();var r;const s=(r=t.videoWhisper[e])!=null?r:[];return!fe(o)||!s.includes(o)},lM=(e,t,o)=>{const{videoAllowedSports:r,allowVideo:s}=t,n=Array.isArray(r)&&r.includes(e);return s||o||n},cM=(e,t)=>!t.blockedChampIds.has(e),uM=(e,t)=>t.startsWith(nM)&&e.isAllowedIframeVideo,pM=({siteConfig:e,champId:t,sportId:o,videoId:r,videoAccessConfig:s,countryId:n,isCyberSport:l=!1,isOurRegion:i=!1})=>{if(e.isAllowedVideoForOurRegion&&i||uM(e,r))return!0;const a=iM(o,s,n),u=lM(o,e,l),p=cM(t,s);return a&&u&&p};var dM=Object.defineProperty,mM=Object.defineProperties,_M=Object.getOwnPropertyDescriptors,cm=Object.getOwnPropertySymbols,hM=Object.prototype.hasOwnProperty,fM=Object.prototype.propertyIsEnumerable,ng=e=>{throw TypeError(e)},Rc=(e,t,o)=>t in e?dM(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,gM=(e,t)=>{for(var o in t||(t={}))hM.call(t,o)&&Rc(e,o,t[o]);if(cm)for(var o of cm(t))fM.call(t,o)&&Rc(e,o,t[o]);return e},SM=(e,t)=>mM(e,_M(t)),zl=(e,t,o)=>Rc(e,typeof t!="symbol"?t+"":t,o),ag=(e,t,o)=>t.has(e)||ng("Cannot "+o),cn=(e,t,o)=>(ag(e,t,"read from private field"),t.get(e)),um=(e,t,o)=>t.has(e)?ng("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,o),pm=(e,t,o,r)=>(ag(e,t,"write to private field"),t.set(e,o),o),An,Ps;class yM{constructor(t){um(this,An),um(this,Ps),zl(this,"$httpModule"),zl(this,"$logger"),zl(this,"$siteConfig"),bo(t.$httpModule,"$httpModule обязательное поле"),bo(t.$logger,"$logger обязательное поле"),bo(t.$siteConfig,"$siteConfig обязательное поле"),this.$httpModule=t.$httpModule,this.$logger=t.$logger,this.$siteConfig=t.$siteConfig}async getConfig(){$_$();let t,o;const r=([t,o]=I(()=>this.$httpModule("/bff-api/config/video.json").execute()),t=await t,o(),t);return SM(gM({},r),{blockedChampIds:new Set(r.blockedChampIds)})}async loadConfig(){$_$();var t;let o,r;cn(this,Ps)||((t=cn(this,An))!=null||pm(this,An,this.getConfig()),pm(this,Ps,([o,r]=I(()=>cn(this,An)),o=await o,r(),o)))}async isAvailableDeferred(t){$_$();let o,r;return t.id===ir||!t.videoId?Promise.resolve(!1):([o,r]=I(()=>this.loadConfig()),await o,r(),this.isAvailable(t))}isAvailable(t){return cn(this,Ps)?t.videoId?this.isCheckVideoAccess(t):!1:(this.$logger.error("DefaultGameVideoAvailabilityService","Video access config is not loaded"),!1)}isCheckVideoAccess(t){return t.id===ir?!1:pM({siteConfig:this.$siteConfig,champId:t.champId,sportId:t.sportId,videoId:t.videoId,countryId:t.countryId,videoAccessConfig:cn(this,Ps),isCyberSport:t.isCyberSport,isOurRegion:t.isOurRegion})}isCheckVideoEnabled(t){return t.id===ir?!1:aM({siteConfig:this.$siteConfig})}}An=new WeakMap;Ps=new WeakMap;const IM={install(e){$_$();e.config.globalProperties.gameVideoAvailabilityService=new yM({[lt.HTTP_MODULE]:e.config.globalProperties.$httpModule,[lt.LOGGER]:e.config.globalProperties.$logger,[lt.SITE_CONFIG]:e.config.globalProperties.$siteConfig})}},EM=()=>{$_$();Tt("CouponAppDesktop",()=>O(()=>import("./7a91a7cb45.js").then(e=>e.CouponAppContainer),__vite__mapDeps([320,220,311,1,111,3,321,20,6,322,29,227,222,323,221,324,325,326,327,328,329,330,331,332,333,334,335,336,313,61,62,219,21,5,337]),import.meta.url)),Tt("OneClickBetWidget",()=>O(()=>import("./242f71b3a4.js"),__vite__mapDeps([338,219,1,220,221,111,3,222,29,339]),import.meta.url)),Tt("Dummy",()=>O(()=>import("./6a500d4ad6.js").then(e=>e.Dummy),__vite__mapDeps([6,1]),import.meta.url)),Tt("FavoritesAppClear",()=>O(()=>import("./df824100a2.js"),__vite__mapDeps([340,12,5,1]),import.meta.url)),Tt("BettingBanners",()=>O(()=>import("./5f56dde653.js"),__vite__mapDeps([341,1,342]),import.meta.url)),Tt("QuickCouponContainer",()=>O(()=>import("./39ed78760e.js"),__vite__mapDeps([343,3,1]),import.meta.url)),Tt("HomeShowcaseTopEvents",()=>O(()=>import("./6e85008790.js").then(e=>e.HomeShowcaseTopEvents),__vite__mapDeps([3,1]),import.meta.url)),Tt("HomeShowcaseTopSports",()=>O(()=>import("./6e85008790.js").then(e=>e.HomeShowcaseTopSports),__vite__mapDeps([3,1]),import.meta.url)),Tt("BettingMain",()=>O(()=>import("./6e85008790.js").then(e=>e.BettingMain),__vite__mapDeps([3,1]),import.meta.url),{manualHydration:!0}),Tt("HomeNavigation",()=>O(()=>import("./3927e89179.js"),__vite__mapDeps([344,3,1,345]),import.meta.url)),Tt("CricketWorldCupSlider",()=>O(()=>import("./d124a4f1e2.js"),__vite__mapDeps([346,75,1,19,6,20,29,347]),import.meta.url)),Tt("CricketAppUpcoming",()=>O(()=>import("./22ae7cfda2.js"),__vite__mapDeps([348,75,1,19,6,20,12,5,4,3,102,349]),import.meta.url)),Tt("BettingMainPromo",()=>O(()=>import("./a27e473f34.js"),__vite__mapDeps([350,3,1,351]),import.meta.url)),Tt("MediaApp",()=>O(()=>import("./6e7b223573.js").then(e=>e.MediaApp$1),__vite__mapDeps([240,241,242,1,243,6,244]),import.meta.url)),Tt("StickyActionBar",()=>O(()=>import("./1d28a02d2b.js"),__vite__mapDeps([352,320,220,311,1,111,3,321,20,6,322,29,227,222,323,221,324,325,326,327,328,329,330,331,332,333,334,335,336,313,61,62,219,21,5,337,353]),import.meta.url)),Tt("BetsHistoryApp",()=>O(()=>import("./7710f8c748.js"),__vite__mapDeps([218,219,1,220,221,111,3,222,6,223,2,4,5,7,106,46,55,50,9,224,225,226,227,29,12,228,60,52,14,15,21,61,62,229,230,231,232,233]),import.meta.url)),Tt("MyanmarMarketModal",()=>O(()=>import("./7b56337220.js"),__vite__mapDeps([354,1,355]),import.meta.url)),Tt("BettingMainPromoDesktop",()=>O(()=>import("./a8fb0d4e74.js").then(e=>e.BettingMainPromoDesktop),__vite__mapDeps([356,1,3,357]),import.meta.url))},Ca={ASIA_LIVE:Po({bettingType:ee.LIVE,bettingView:"asian"}),ASIA_LINE:Po({bettingType:ee.LINE,bettingView:"asian"}),EUROPE_LIVE:Po({bettingType:ee.LIVE,bettingView:"europe"}),EUROPE_LINE:Po({bettingType:ee.LINE,bettingView:"europe"})};var TM=Object.defineProperty,dm=Object.getOwnPropertySymbols,OM=Object.prototype.hasOwnProperty,vM=Object.prototype.propertyIsEnumerable,Nc=(e,t,o)=>t in e?TM(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,mm=(e,t)=>{for(var o in t||(t={}))OM.call(t,o)&&Nc(e,o,t[o]);if(dm)for(var o of dm(t))vM.call(t,o)&&Nc(e,o,t[o]);return e},un=(e,t,o)=>Nc(e,typeof t!="symbol"?t+"":t,o);class PM{constructor(t){un(this,"httpModule"),un(this,"clientHeaders"),un(this,"abortMap"),un(this,"cookies"),un(this,"logger"),this.httpModule=t.$httpModule,this.clientHeaders=t.$clientHeaders,this.cookies=t.$cookies,this.logger=t.$logger,this.abortMap=new bf}async loadRaw({type:t,api:o,params:r,query:s,abortController:n,options:l}){$_$();let i,a;const{execute:u,abort:p}=o.method(this.httpModule,{query:s,params:r,signal:n==null?void 0:n.signal,cache:!0});n||this.abortMap.add(t,p);try{const m={cookies:this.cookies,httpModule:this.httpModule,logger:this.logger},c=([i,a]=I(()=>u({headers:mm(mm({},this.clientHeaders),o.customHeaders),hookContext:m})),i=await i,a(),i),_=([i,a]=I(()=>o.parser(c,l)),i=await i,a(),i);return wt.createResult(_)}catch(m){throw m.isCancel=m.status===wt.STATUS_CLOSE,m}finally{this.abortMap.delete(t,p)}}load(t){return this.loadRaw(t).catch(o=>Rf(o))}cancelAllRequest(t){t?this.abortMap.abortAllbyType(t):this.abortMap.abortAll()}}async function AM({data:e,game:t,optionForParser:o,team1Ids:r,team2Ids:s}){$_$();let n,l;if(!e.Success)return;const i=new Dn(o.betsModelsManager,o.language,{marketsNameType:o.marketsNameType}),a=e.Value,u=a.GE||[],p=a.MEC||[],m=([n,l]=I(()=>i.parseMarketGroups(t,u,[...r,...s])),n=await n,l(),n);return{marketsCountByTypeDuel:sr(p,{idKey:"MT",getValue:_=>_.EC}).data,marketGroups:m}}const _m=`${ee.LIVE}/timeline`,CM=`${ee.LIVE}/gameEvents`,bM=`${ee.LINE}/gameEvents`,RM=`${ee.LIVE}/gameInfo`,NM=`${ee.LINE}/gameInfo`,LM="C",BM="R",MM="M",GM="C",kM="W",wM="D",DM="L",FM="S",UM="F",xM="P",$M="N",hm="T",VM="T",HM="I";class KM{constructor({position:t=ao("position"),gamesCount:o=ao("gamesCount"),winsCount:r=ao("winsCount"),drawsCount:s=ao("drawsCount"),lossesCount:n=ao("lossesCount"),scoredGoalsCount:l=ao("scoredGoalsCount"),concededGoalsCount:i=ao("concededGoalsCount"),points:a=ao("points"),nextStage:u="",team:p=ev("team")}={}){T(this,"position");T(this,"gamesCount");T(this,"winsCount");T(this,"drawsCount");T(this,"lossesCount");T(this,"scoredGoalsCount");T(this,"concededGoalsCount");T(this,"points");T(this,"team");T(this,"nextStage");this.position=t,this.gamesCount=o,this.winsCount=r,this.drawsCount=s,this.lossesCount=n,this.scoredGoalsCount=l,this.concededGoalsCount=i,this.points=a,this.nextStage=u,this.team=p}get goalDifferenceLabel(){if(!Tp(this.scoredGoalsCount)||!Tp(this.concededGoalsCount))return"";const t=this.scoredGoalsCount-this.concededGoalsCount,o=`${t>0?"+":""}${t}`;return`${this.scoredGoalsCount} - ${this.concededGoalsCount} | ${o}`}}class WM{constructor({name:t="",id:o=""}={}){T(this,"name");T(this,"id");this.name=t,this.id=o}}const fm=(e={})=>(e&&e[LM]||[]).map(t=>(t[BM]||[]).map(o=>{var r,s;return new KM({position:parseInt(o[MM],10),gamesCount:parseInt(o[GM],10),winsCount:parseInt(o[kM],10),drawsCount:parseInt(o[wM],10),lossesCount:parseInt(o[DM],10),scoredGoalsCount:parseInt(o[FM],10),concededGoalsCount:parseInt(o[UM],10),points:parseInt(o[xM],10),nextStage:o[$M],team:new WM({name:(r=o[hm])==null?void 0:r[VM],id:(s=o[hm])==null?void 0:s[HM]})})})),YM=e=>$_$() && ({id:e==null?void 0:e.I,name:e==null?void 0:e.N,shortName:e==null?void 0:e.S,translationPlayerId:e==null?void 0:e.XI,country:e==null?void 0:e.C,picture:e==null?void 0:e.M}),jM=e=>({tournament:e==null?void 0:e.T,period:e==null?void 0:e.P,titlesCount:e==null?void 0:e.N,prize:e==null?void 0:e.M,wins:e==null?void 0:e.W}),ZM=e=>{var t;return{height:e==null?void 0:e.HM,hand:e==null?void 0:e.PM,birthPlace:e==null?void 0:e.H,picture:e==null?void 0:e.M,playerOverview:((t=e==null?void 0:e.O)!=null?t:[]).map(jM)}},qM=e=>({tournamentType:e==null?void 0:e.T,ranking:e==null?void 0:e.R}),JM=e=>({date:e==null?void 0:e.D,tournament:e==null?void 0:e.T,round:e==null?void 0:e.R,points:e==null?void 0:e.P,dateEnd:e==null?void 0:e.DD}),gm=e=>{$_$();var t;return{id:Ro("short-players-info-"),player:YM(e==null?void 0:e.P),personalInfo:ZM(e==null?void 0:e.PI),rankingInfo:((t=e==null?void 0:e.R)!=null?t:[]).map(qM),breakdown:JM(e==null?void 0:e.LT)}},Sm=e=>({firstPlayerInfo:gm(e==null?void 0:e.H),secondPlayerInfo:gm(e==null?void 0:e.A)});class XM{constructor({address:t="",architect:o="",capacity:r="",category:s="",circuits:n=[],city:l="",latitude:i="",longitude:a="",cost:u="",countryId:p,covering:m="",developer:c="",email:_="",hasInfo:h=!1,history:g="",homeTeams:S="",images:P=[],info:v="",areImagesHidden:R=!1,majorEvents:y="",name:A="",oldName:E="",openedYear:w="",owner:L="",phone:V="",website:U="",zipCode:H=""}={}){T(this,"address");T(this,"architect");T(this,"capacity");T(this,"category");T(this,"circuits");T(this,"city");T(this,"latitude");T(this,"longitude");T(this,"cost");T(this,"countryId");T(this,"covering");T(this,"developer");T(this,"email");T(this,"hasInfo");T(this,"history");T(this,"homeTeams");T(this,"images");T(this,"info");T(this,"areImagesHidden");T(this,"majorEvents");T(this,"name");T(this,"oldName");T(this,"openedYear");T(this,"owner");T(this,"phone");T(this,"website");T(this,"zipCode");this.address=t,this.architect=o,this.capacity=r,this.category=s,this.circuits=n,this.city=l,this.latitude=i,this.longitude=a,this.cost=u,this.countryId=p,this.covering=m,this.developer=c,this.email=_,this.hasInfo=h,this.history=g,this.homeTeams=S,this.images=P,this.info=v,this.areImagesHidden=R,this.majorEvents=y,this.name=A,this.oldName=E,this.openedYear=w,this.owner=L,this.phone=V,this.website=U,this.zipCode=H}}class zM{constructor({trackName:t,lapLength:o,lapRecord:r,covering:s,turns:n}={}){T(this,"trackName");T(this,"lapLength");T(this,"lapRecord");T(this,"covering");T(this,"turns");this.trackName=t,this.lapLength=o,this.lapRecord=r,this.covering=s,this.turns=n}}function QM({Name:e,Length:t,RaceLapRecord:o,Surface:r,Turns:s}={}){return new zM({trackName:e,lapLength:t,lapRecord:o,covering:r,turns:s})}function ym({Address:e="",Architect:t="",Capacity:o="",Category:r="",Circuits:s=[],City:n="",CoordLat:l="",CoordLon:i="",Cost:a="",CountryId:u,Covering:p="",Developer:m="",Email:c="",HasInfo:_=!1,History:h="",HomeTeams:g="",Images:S=[],Info:P="",IsHideImages:v=!0,MajorEvents:R="",Name:y="",OldName:A="",Opened:E="",Owner:w="",Phone:L="",Website:V="",ZipCode:U=""}={}){var H;return new XM({address:e!=null?e:"",architect:t!=null?t:"",capacity:o!=null?o:"",category:r!=null?r:"",circuits:(H=s==null?void 0:s.map(QM))!=null?H:[],city:n!=null?n:"",latitude:l!=null?l:"",longitude:i!=null?i:"",cost:a!=null?a:"",countryId:u,covering:p!=null?p:"",developer:m!=null?m:"",email:c!=null?c:"",hasInfo:_!=null?_:!1,history:h!=null?h:"",homeTeams:g!=null?g:"",images:S!=null?S:[],info:P!=null?P:"",areImagesHidden:v!=null?v:!0,majorEvents:R!=null?R:"",name:y!=null?y:"",oldName:A!=null?A:"",openedYear:E!=null?E:"",owner:w!=null?w:"",phone:L!=null?L:"",website:V!=null?V:"",zipCode:U!=null?U:""})}var eG=Object.defineProperty,tG=(e,t,o)=>t in e?eG(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,Im=(e,t,o)=>tG(e,typeof t!="symbol"?t+"":t,o);class oG{constructor({hasStatistic:t=!1,statisticGameId:o}={}){Im(this,"hasStatistic"),Im(this,"statisticGameId"),this.hasStatistic=t,this.statisticGameId=o}}function Em({G:e,I:t}={}){$_$();return new oG({hasStatistic:!!e,statisticGameId:t})}const rG=({id:e=Ro("match-model-"),firstOpponentId:t=0,firstOpponentName:o="",firstOpponentSeed:r="",firstOpponentLogoPath:s="",firstTeamScore:n=0,secondOpponentId:l=0,secondOpponentName:i="",secondOpponentSeed:a="",secondOpponentLogoPath:u="",secondTeamScore:p=0,unixTimestamp:m,periodScores:c=[],winner:_=-1,champ:h})=>({id:e,firstOpponentId:t,firstOpponentName:o,firstOpponentSeed:r,firstOpponentLogoPath:s,firstTeamScore:n,secondOpponentId:l,secondOpponentName:i,secondOpponentSeed:a,secondOpponentLogoPath:u,secondTeamScore:p,unixTimestamp:m,periodScores:c,winner:_,champ:h}),Vi=(e,t)=>(t==null?void 0:t.champId)===String(e)?t==null?void 0:t.sign:void 0,Lc=(e="")=>e.replace(/\.png$/i,".webp");var sG=Object.defineProperty,nG=Object.defineProperties,aG=Object.getOwnPropertyDescriptors,ai=Object.getOwnPropertySymbols,ig=Object.prototype.hasOwnProperty,lg=Object.prototype.propertyIsEnumerable,Bc=(e,t,o)=>t in e?sG(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,hs=(e,t)=>{for(var o in t||(t={}))ig.call(t,o)&&Bc(e,o,t[o]);if(ai)for(var o of ai(t))lg.call(t,o)&&Bc(e,o,t[o]);return e},Tm=(e,t)=>nG(e,aG(t)),Om=(e,t)=>{var o={};for(var r in e)ig.call(e,r)&&t.indexOf(r)<0&&(o[r]=e[r]);if(e!=null&&ai)for(var r of ai(e))t.indexOf(r)<0&&lg.call(e,r)&&(o[r]=e[r]);return o},iG=(e,t,o)=>Bc(e,t+"",o);const Mc=class qr{static checkLogotypeIcon({raw:t}){if(!t.COIMG)return t.CHIMG}static parseChamp({navigationTopChamp:t,data:o}){return this.parseChampWithParams({navigationTopChamp:t,data:o})}static parseChampWithParams({navigationTopChamp:t,data:o,params:r={}}){const s={};for(const n in r)Object.prototype.hasOwnProperty.call(r,n)&&(s[n]=()=>r[n]);return qr.parseChampDataByParser({navigationTopChamp:t,data:o,fields:hs(hs({},this.parserFields),s)})}static parseChampGroup({navigationTopChamp:t,data:o}){return this.parseChampGroupWithParams({navigationTopChamp:t,data:o})}static parseChampGroupWithParams({navigationTopChamp:t,data:o,params:r={}}){var s;const n={};for(const u in r)Object.prototype.hasOwnProperty.call(r,u)&&(n[u]=()=>r[u]);const i=((s=o.SC)!=null?s:[]).map(u=>qr.parseChampDataByParser({navigationTopChamp:t,data:u,fields:Tm(hs(hs({},this.parserFields),n),{champGroupId:()=>$_$() && o.LI,sportId:p=>{$_$();var m;return(m=p.SI)!=null?m:o.SI}})})),a=this.parseChampGroupDataByParser({data:o,fields:Tm(hs(hs({},this.parserFields),n),{subChamps:()=>i})});return{champs:i,champGroup:a}}static parseChampGroupDataByParser({data:t,fields:o}){return Op(t,o,r=>{var s=r,{subChamps:n=[]}=s,l=Om(s,["subChamps"]),i,a,u,p,m,c,_,h,g;const S=[l.id,l.sportId].filter(Boolean).join("_"),P=(a=(i=n[0])==null?void 0:i.sportId)!=null?a:0,v=(p=(u=n[0])==null?void 0:u.subSportId)!=null?p:0,R=(m=l.menuSection)!=null?m:ks,y=n.reduce((A,E)=>A+E.gamesCountWithVideo,0);return qr.toReadonly({target:{id:l.id,key:S,name:l.name,gamesCount:l.gamesCount,subChampsCount:l.subChampsCount,logotype:Lc((c=l.logotypeAlt)!=null?c:l.logotype),sportId:(_=l.sportId)!=null?_:P,subSportId:(h=l.subSportId)!=null?h:v,sectionSportId:Ao(R,(g=l.sportId)!=null?g:P),sectionChampGroupId:Ao(R,l.id),gamesCountWithVideo:y}})})}static parseChampFromUnparsedGame({navigationTopChamp:t,dateTimeService:o,data:r}){return qr.parseChampDataByParser({navigationTopChamp:t,data:r,fields:{countryId:s=>$_$() && s.CI,id:s=>$_$() && s.LI,sportId:s=>$_$() && s.SI,name:s=>s.L,nameEng:s=>$_$() && s.LE,logotype:s=>s.CHIMG,menuSection:s=>s.MS,startUnixTimestamp:s=>s.S,startDateFormatted:({["S"]:s})=>s&&o.getFullDateFormatted(s),startTimeFormatted:({["S"]:s})=>s&&o.formatTimeByUnix(s)}})}static parseChampFromBettingGame({navigationTopChamp:t,game:o}){return qr.parseChampDataByParser({navigationTopChamp:t,data:o,fields:{id:r=>r.champId,key:r=>r.champUniqKey,sportId:r=>r.sportId,subSportId:r=>r.subSportId,countryId:r=>r.countryId,countryName:r=>r.countryName,name:r=>r.champName,nameEng:r=>r.champNameEng,logotype:r=>r.champLogotype,marketGroups:r=>r.marketGroups,isLong:r=>r.isLong,sportImage:r=>r.sportImage,sectionType:r=>r.sectionType,champNameForUrl:r=>r.champNameForUrl,menuSectionNameForUrl:r=>r.menuSectionNameForUrl}})}static parseChampDataByParser({navigationTopChamp:t,data:o,fields:r}){return Op(o,r,s=>{$_$();var n=s,{name:l="",nameEng:i=""}=n,a=Om(n,["name","nameEng"]),u,p,m,c,_,h,g,S,P,v,R,y,A,E,w,L,V;const U=[a.countryId,a.id].filter(Boolean).join("_"),H=(u=a.menuSection)!=null?u:ks,k=(p=a.champNameForUrl)!=null?p:na({champId:a.id,champName:l,champNameEng:i});return qr.toReadonly({target:{id:a.id,key:U,name:l,nameEng:i,countryId:a.countryId,sportId:a.sportId,logotype:Lc(a.logotype),countryName:(m=a.countryName)!=null?m:"",countryNameEng:(c=a.countryNameEng)!=null?c:"",sportImage:(_=a.sportImage)!=null?_:"",sportNameForUrl:(h=a.sportNameForUrl)!=null?h:"",isLong:(g=a.isLong)!=null?g:!1,marketGroups:(S=a.marketGroups)!=null?S:{},sectionType:(P=a.sectionType)!=null?P:[],gamesCountWithVideo:(v=a.gamesCountWithVideo)!=null?v:0,gamesCountWithZone:(R=a.gamesCountWithZone)!=null?R:0,isAlternative:(y=a.isAlternative)!=null?y:!1,gamesCount:(A=a.gamesCount)!=null?A:0,subSportId:(E=a.subSportId)!=null?E:0,subSportName:(w=a.subSportName)!=null?w:"",menuSection:H,top:(L=a.top)!=null?L:0,startUnixTimestamp:a.startUnixTimestamp,startDateFormatted:a.startDateFormatted,startTimeFormatted:a.startTimeFormatted,sectionSportId:Ao(H,a.sportId),sectionChampId:Ao(H,a.id),champNameForUrl:k,menuSectionNameForUrl:(V=a.menuSectionNameForUrl)!=null?V:Gs[H],champGroupId:a.champGroupId,sectionChampGroupId:a.champGroupId?Ao(H,a.champGroupId):void 0,tag:Vi(a.id,t),fieldType:""}})})}static toReadonly({target:t}){$_$();return J_(jt(t))}};iG(Mc,"parserFields",{id:e=>$_$() && e.LI,countryId:e=>$_$() && e.CI,sportId:e=>$_$() && e.SI,name:e=>e.L,nameEng:e=>$_$() && e.LE,logotype:e=>Mc.checkLogotypeIcon({raw:e}),logotypeAlt:e=>e.CHIMGALT,top:e=>e.T,gamesCount:e=>e.GC,gamesCountWithVideo:e=>e.V,gamesCountWithZone:e=>e.Z,subSportId:e=>e.SSI,isAlternative:e=>e.A,countryName:e=>e.CN,countryNameEng:e=>$_$() && e.CE,subChamps:e=>e.SC,subChampsCount:e=>e.CSC,subSportName:e=>e.SSN});let cg=Mc;var lG=Object.defineProperty,cG=(e,t,o)=>t in e?lG(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,pn=(e,t,o)=>cG(e,typeof t!="symbol"?t+"":t,o);class vm{constructor({awayTeamGames:t=[],awayTeamFutureGames:o=[],homeTeamGames:r=[],homeTeamFutureGames:s=[],previousMeetings:n=[]}={}){pn(this,"awayTeamGames"),pn(this,"awayTeamFutureGames"),pn(this,"homeTeamGames"),pn(this,"homeTeamFutureGames"),pn(this,"previousMeetings"),this.awayTeamGames=t,this.awayTeamFutureGames=o,this.homeTeamGames=r,this.homeTeamFutureGames=s,this.previousMeetings=n}}const Pm=({headToHead:e,navigationTopChamp:t})=>{if(!e)return new vm({awayTeamGames:[],awayTeamFutureGames:[],homeTeamGames:[],homeTeamFutureGames:[],previousMeetings:[]});const{entity:o,teams:r=[],gameShorts:s=[]}=e,n=s.map(l=>{const i=r.find(u=>u.id===l.team1),a=r.find(u=>u.id===l.team2);return rG({id:l.id,firstOpponentId:i==null?void 0:i.clId,firstOpponentName:i==null?void 0:i.title,firstTeamScore:l.score1,firstOpponentLogoPath:i!=null&&i.image?i.image.substring(i.image.lastIndexOf("/")+1,i.image.length):"",secondOpponentId:a==null?void 0:a.clId,secondOpponentName:a==null?void 0:a.title,secondTeamScore:l.score2,secondOpponentLogoPath:a!=null&&a.image?a.image.substring(a.image.lastIndexOf("/")+1,a.image.length):"",unixTimestamp:l.dateStart,periodScores:((l==null?void 0:l.periods)||[]).map(u=>({homeTeamScore:u.score1,awayTeamScore:u.score2,type:u.type})),winner:l.winner,champ:cg.parseChampDataByParser({navigationTopChamp:t,data:l,fields:{id:u=>u.stageTitle,countryId:u=>u.countryId,name:u=>u.tournamentTitle}})})});return new vm({awayTeamGames:n.filter(l=>{var i;return(i=o.team2GameIds)==null?void 0:i.includes(l.id)}).sort((l,i)=>i.unixTimestamp-l.unixTimestamp),awayTeamFutureGames:n.filter(l=>{var i;return(i=o.team2FutureGames)==null?void 0:i.includes(l.id)}).sort((l,i)=>i.unixTimestamp-l.unixTimestamp),homeTeamGames:n.filter(l=>{var i;return(i=o.team1GameIds)==null?void 0:i.includes(l.id)}).sort((l,i)=>i.unixTimestamp-l.unixTimestamp),homeTeamFutureGames:n.filter(l=>{var i;return(i=o.team1FutureGames)==null?void 0:i.includes(l.id)}).sort((l,i)=>i.unixTimestamp-l.unixTimestamp),previousMeetings:n.filter(l=>{var i;return(i=o.gameIds)==null?void 0:i.includes(l.id)}).sort((l,i)=>i.unixTimestamp-l.unixTimestamp)})},ug=e=>$_$() && e?e.includes(el)?e:`${el}${e}`:`${el}${ph}`,uG=({event:e,playersList:t})=>{var o,r,s,n,l,i;return{assistantId:(o=e==null?void 0:e.assistants[0])!=null?o:"",assistantName:(s=(r=t==null?void 0:t.find(({id:a})=>a===(e==null?void 0:e.assistants[0])))==null?void 0:r.name)!=null?s:"",playerId:(n=e==null?void 0:e.player)!=null?n:"",minute:(l=e==null?void 0:e.minute)!=null?l:"",note:(i=e==null?void 0:e.note)!=null?i:"",periodType:e==null?void 0:e.periodType,type:e==null?void 0:e.type}},Am=({lineUp:e,playersList:t})=>{$_$();var o;return new Cu({dateOfBirth:e.dateOfBirth&&e.birthDay!==0?nh(e.dateOfBirth):void 0,countryName:e.countryName,events:((o=e.events)!=null?o:[]).map(r=>r.events.reduce((s,n)=>uG({event:n,playersList:t}),{})),picturePath:ug(e.picturePath),lineNumber:e.lineNumber,name:e.name,number:e.number,id:e.id,position:e.position,positionName:e.positionName,shortName:e.shortName,teamName:e.teamName,type:e.type})},Cm=({missingPlayerData:e,playersList:t})=>{var o;const r=t==null?void 0:t.find(s=>s.id===e.player);return new Cu({absenceReason:e.reasonText,status:e.status,id:e.player,name:r==null?void 0:r.name,shortName:r==null?void 0:r.shortName,countryName:(o=r==null?void 0:r.country)==null?void 0:o.title,picturePath:ug(r==null?void 0:r.image)})};var pG=Object.defineProperty,dG=Object.defineProperties,mG=Object.getOwnPropertyDescriptors,bm=Object.getOwnPropertySymbols,_G=Object.prototype.hasOwnProperty,hG=Object.prototype.propertyIsEnumerable,Rm=(e,t,o)=>t in e?pG(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,fG=(e,t)=>{for(var o in t||(t={}))_G.call(t,o)&&Rm(e,o,t[o]);if(bm)for(var o of bm(t))hG.call(t,o)&&Rm(e,o,t[o]);return e},gG=(e,t)=>dG(e,mG(t));const Nm=({lineUp:e,playersList:t,teamName:o})=>(e!=null?e:[]).map(r=>{var s,n;const l=t==null?void 0:t.find(i=>i.id===r.player);return gG(fG({},r),{dateOfBirth:r.birthDay,number:r.num,id:l==null?void 0:l.id,countryId:(s=l==null?void 0:l.country)==null?void 0:s.id,countryName:(n=l==null?void 0:l.country)==null?void 0:n.title,picturePath:l==null?void 0:l.image,name:l==null?void 0:l.name,shortName:l==null?void 0:l.shortName,teamName:o})}),SG=e=>{var t,o;const{entity:r,players:s,teams:n}=e,{lineUpsAway:l,lineUpsHome:i,teamAway:a,teamHome:u,missingAway:p,missingHome:m}=r!=null?r:{},c=(t=n==null?void 0:n.find(y=>y.id===a))==null?void 0:t.title,_=(o=n==null?void 0:n.find(y=>y.id===u))==null?void 0:o.title,h=Nm({lineUp:l,playersList:s,teamName:c}),g=Nm({lineUp:i,playersList:s,teamName:_}),S=(h!=null?h:[]).map(y=>Am({lineUp:y,playersList:s})),P=(g!=null?g:[]).map(y=>Am({lineUp:y,playersList:s})),v=(p!=null?p:[]).map(y=>Cm({missingPlayerData:y,playersList:s})),R=(m!=null?m:[]).map(y=>Cm({missingPlayerData:y,playersList:s}));return{parsedLineUpsAway:h,parsedLineUpsHome:g,normalizedAwayTeamPlayers:S,normalizedHomeTeamPlayers:P,normalizedAwayTeamAbsentPlayers:v,normalizedHomeTeamAbsentPlayers:R}};var yG=Object.defineProperty,Lm=Object.getOwnPropertySymbols,IG=Object.prototype.hasOwnProperty,EG=Object.prototype.propertyIsEnumerable,Bm=(e,t,o)=>t in e?yG(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,ba=(e,t)=>{for(var o in t||(t={}))IG.call(t,o)&&Bm(e,o,t[o]);if(Lm)for(var o of Lm(t))EG.call(t,o)&&Bm(e,o,t[o]);return e};const Mm=e=>{const{normalizedAwayTeamPlayers:t,normalizedHomeTeamPlayers:o,normalizedAwayTeamAbsentPlayers:r,normalizedHomeTeamAbsentPlayers:s}=SG(e);return new Ef({playerByIds:ba(ba(ba(ba({},Object.fromEntries(t==null?void 0:t.map(n=>[n.id,n]))),Object.fromEntries(o==null?void 0:o.map(n=>[n.id,n]))),Object.fromEntries(r==null?void 0:r.map(n=>[n.id,n]))),Object.fromEntries(s==null?void 0:s.map(n=>[n.id,n]))),awayTeamActivePlayerIds:t==null?void 0:t.map(n=>n.id),homeTeamActivePlayerIds:o==null?void 0:o.map(n=>n.id),awayTeamAbsentPlayerIds:r==null?void 0:r.map(n=>n.id),homeTeamAbsentPlayerIds:s==null?void 0:s.map(n=>n.id)})},TG=5,OG=e=>{var t,o,r,s,n,l;if(!e||!Array.isArray((t=e==null?void 0:e.entity)==null?void 0:t.games))return;const{entity:i,teams:a}=e,u={};a.forEach(h=>{u[h.id]=h});const p=u[i.id],m=h=>{$_$();var g;return(g=h==null?void 0:h.split("/").at(-1))!=null?g:""},c=[...i.games].sort((h,g)=>g.dateStart-h.dateStart).slice(0,TG).map(h=>({dateStart:h.dateStart,score1:h.score1,score2:h.score2,teamId1:h.team1,teamId2:h.team2,teamImage1:m(u[h.team1].image),teamImage2:m(u[h.team2].image),teamTitle1:u[h.team1].title,teamTitle2:u[h.team2].title,statisticId:h.id,winner:h.winner})),_=c.map(h=>h.winner===0?1:p.id===h[`teamId${h.winner}`]?2:0);return{teamName:(o=p==null?void 0:p.title)!=null?o:"",teamLogo:m(p==null?void 0:p.image),teamCountryName:(s=(r=p==null?void 0:p.country)==null?void 0:r.title)!=null?s:"",countryId:Number(p==null?void 0:p.countryId)||0,stadiumName:(n=i.homeStadium)!=null?n:"",lastGames:c!=null?c:[],teamManagerName:(l=i==null?void 0:i.coach)!=null?l:"",teamGamesLastStatistic:_}},vG="GI",Gm="MGI",PG="C",AG="O1",CG="O1E",bG="O2",RG="O2E",NG="DS",LG=[4],BG=e=>LG.includes(e);var Ce=(e=>(e.FULL_SCORES_DATA="FS",e.CURRENT_PERIOD="CP",e.CURRENT_PERIOD_LABEL="CPS",e.PERIODS_COUNT="PC",e.IS_TIME_RUNNING="TR",e.TIME_IN_SECONDS="TS",e.STATISTIC_BY_PERIODS="ST",e.STATISTIC="S",e.COURSE_OF_PLAY="COP",e.TIME_DIRECTION="TD",e.SCORES_DATA_INFO="I",e.SUB_SCORE="SS",e.HAS_TIMELINE="HC",e.GAME_RESPONSE_PERIOD_SCORES="PS",e.GAME_RESPONSE_PERIODS_WINNERS="PW",e.SERVER_TEAM="P",e.GAME_STATUS="GS",e.GAME_POINTS="PT",e.GAME_TIME_STATUS="SLS",e.STAGE_TIME="STU",e))(Ce||{});const MG=[7571,9180,10781,9640,9641,6919,123,26,10786,10789,9701,2257],Nu=e=>e.some(t=>MG.includes(t.groupId)),GG=e=>{$_$();var t,o,r,s,n,l,i,a,u,p,m,c,_,h,g,S;return{id:e.I,mainGameId:e.MG,permanentId:e.CI,sportId:e.SI,champId:e.LI,countryId:e.COI,countryName:e.CN,sportName:e.SN,sportNameEng:(t=e.SE)!=null?t:e.SN,champName:e.L,champLogotype:e.CHIMG,champNameEng:(o=e.LE)!=null?o:e.L,firstOpponentId:e.O1I,firstOpponentName:(r=e.O1)!=null?r:"",firstOpponentNameEng:(s=e.O1E)!=null?s:e.O1,firstOpponentCountryId:e.O1C,firstOpponentLogoFileNames:e.O1IMG,firstOpponentIds:e.O1IS,secondOpponentId:e.O2I,secondOpponentName:(n=e.O2)!=null?n:"",secondOpponentNameEng:(l=e.O2E)!=null?l:e.O2,secondOpponentCountryId:e.O2C,secondOpponentLogoFileNames:e.O2IMG,secondOpponentIds:e.O2IS,startUnixTimestamp:e.S,isCyberSport:!!e.ICY,isOurRegion:!!e.Ou_R,gameVidId:e.IV,additionalType:e.V,type:e.TG,typeId:e.TI||1,additionalInfo:e.DI,number:e.N,videoId:(i=e.VI)!=null?i:"",subSportId:e.SSI||0,subSportName:e.SSN,subSportNameEng:e.SSNE,cyberTypeId:e.CT,mainGamePermanentId:e.CMG,subGamesCount:e.SGC||0,hasMarketsHistory:!!e.HMH,hasStatisticRatingTables:!!e.HSRT,statisticStageType:e.SST,stageId:e.STI,statisticStatus:e.SS||0,periodName:e.TN,topOrder:e.T,gamePeriodName:e.PN,gamePeriodId:e.P||0,isNew:!!e.IN,zoneId:e.ZP,name:e.PN,gameType:e.TG,numberOfMarkets:e.EC||0,sportImage:e.SIMG,sectionType:e.KI,hasLineups:!!e.HLU,statisticGameId:e.SGI,topChampMatches:e.TLG,markets:e.E||[],isGameOver:(a=e.F)!=null?a:!1,isDuel:(u=e.IDA)!=null?u:!1,isNotStarted:(p=e.GNS)!=null?p:!1,menuSections:(m=e.MS)!=null&&m.length?e.MS:[],unparsedScoresData:e.SC,unparsedGameInfo:(c=e.GI)!=null?c:[],unparsedMatchInfo:e.MIS,unparsedMarketsCountByType:e.MEC,additionalMarkets:e.AE,hasTimeline:e.COP,hasBroadcastAwaiting:!!e.GVE,hasInsights:!!e.HLGI,unparsedHomeAwayMatches:(_=e.STD)!=null?_:[],unparsedAltVideoZone:(h=e.AVZ)!=null?h:[],winningProbabilities:(g=e.WP)!=null?g:{},isBetBuilderAvailable:(S=e.BBA)!=null?S:!1}};function oe(e,t="parsedFieldKey"){try{return JSON.parse(e)}catch(o){return console.error(`Invalid JSON in field "${t}" ${e}`,o),{}}}var kG=Object.defineProperty,wG=(e,t,o)=>t in e?kG(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,Ra=(e,t,o)=>wG(e,typeof t!="symbol"?t+"":t,o);class ii extends Be{constructor({periodTitle:t,firstTeamScoreLabel:o,secondTeamScoreLabel:r}){super(),Ra(this,"periodTitle"),Ra(this,"firstTeamScoreLabel"),Ra(this,"secondTeamScoreLabel"),Ra(this,"isDefined"),this.periodTitle=t,this.firstTeamScoreLabel=o,this.secondTeamScoreLabel=r,this.isDefined=fe(this.firstTeamScoreLabel)&&fe(this.secondTeamScoreLabel)}}function pg(e){const{Team1Scores1:t="0",Team2Scores1:o="0",Team1Scores2:r="0",Team2Scores2:s="0"}=e;return[new ii({firstTeamScoreLabel:t==="0"&&o==="0"?void 0:t,secondTeamScoreLabel:t==="0"&&o==="0"?void 0:o}),new ii({firstTeamScoreLabel:r==="0"&&s==="0"?void 0:r,secondTeamScoreLabel:r==="0"&&s==="0"?void 0:s})].filter(n=>n.isDefined)}function DG(e){return e.map(t=>{var o,r,s;return new ii({periodTitle:((o=t==null?void 0:t.Value)==null?void 0:o.NF)||"",firstTeamScoreLabel:String(((r=t==null?void 0:t.Value)==null?void 0:r.S1)||0),secondTeamScoreLabel:String(((s=t==null?void 0:t.Value)==null?void 0:s.S2)||0)})})}function FG(e,{regularScores:t=[],statistic:o={}}={}){switch(e){case 66:case 99:return pg(o);default:return DG(t)}}const li=({sportId:e,hasScores:t,scoreLabel:o,gameStatistic:r,serverTeamNumber:s})=>e===66&&r.serverTeamNumber===s&&r.cricket.innsStatOver?`${o} (${r.cricket.innsStatOver})`:t?String(o):"",Vr={PLAYER_CARDS:"P",DEALER_CARDS:"B",STATUS:"S"};class ci{constructor(t){T(this,"suit");T(this,"rank");var o,r,s,n;this.suit=(r=(o=t.S)!=null?o:t.CS)!=null?r:t.Suit,this.rank=(n=(s=t.R)!=null?s:t.CV)!=null?n:t.Rank}}const Ve=e=>e?(!Array.isArray(e)&&typeof e=="object"&&(e=[e]),e.map(t=>new ci(t))):[];class UG extends Be{constructor({playerCards:o=[],dealerCards:r=[],status:s=""}){super();T(this,"playerCards");T(this,"dealerCards");T(this,"status");this.playerCards=o,this.dealerCards=r,this.status=s}}function xG(e){return new UG({playerCards:e[Vr.PLAYER_CARDS]?Ve(oe(e[Vr.PLAYER_CARDS],Vr.PLAYER_CARDS)):[],dealerCards:e[Vr.DEALER_CARDS]?Ve(oe(e[Vr.DEALER_CARDS],Vr.DEALER_CARDS)):[],status:e[Vr.STATUS]})}const km=6,$G={1:"s",2:"m",3:"l"},VG={0:"horizontal",1:"vertical"},Je={SHIPS_1:"F1Ships",SHIPS_2:"F2Ships",SHOTS_COUNT_1:"Pl1ShotsCount",SHOTS_COUNT_2:"Pl2ShotsCount",HITS_1:"F1Cross",HITS_2:"F2Cross",NEXT_STEP:"NextShot",COORDINATES:"C",COORDINATE_X:"X",COORDINATE_Y:"Y",SHIP_DIRECTION:"D",SHIP_SIZE:"S",LAST_HIT:"LS"};class HG extends Be{constructor({X:o=0,Y:r=0,isLast:s=!1}){super();T(this,"X");T(this,"Y");T(this,"isLast");this.X=o,this.Y=r,this.isLast=s}}class KG extends Be{constructor({firstPlayerShotsCount:o=0,secondPlayerShotsCount:r=0,firstPlayerField:s=[],secondPlayerField:n=[],nextStep:l=""}){super();T(this,"firstPlayerShotsCount");T(this,"secondPlayerShotsCount");T(this,"firstPlayerField");T(this,"secondPlayerField");T(this,"nextStep");this.firstPlayerShotsCount=o,this.secondPlayerShotsCount=r,this.firstPlayerField=s,this.secondPlayerField=n,this.nextStep=l}}const wm=e=>e.map(t=>(t[Je.COORDINATES][0].direction=VG[t[Je.SHIP_DIRECTION]],t[Je.COORDINATES][0].size=$G[t[Je.SHIP_SIZE]],t[Je.COORDINATES])).reduce((t,o)=>t.concat(o),[]),Dm=e=>e.map(t=>$_$() && new HG({X:t[Je.COORDINATE_X],Y:t[Je.COORDINATE_Y],isLast:t[Je.LAST_HIT]})),Fm=(e,t)=>Array.from({length:km}).map((o,r)=>Array.from({length:km}).map((s,n)=>({ship:e.find(l=>$_$() && l.X===n+1&&l.Y===r+1),isWrecked:t.find(l=>$_$() && l.X===n+1&&l.Y===r+1)})));function WG(e){const t=e[Je.SHIPS_1]?wm(oe(e[Je.SHIPS_1],Je.SHIPS_1)):[],o=e[Je.SHIPS_2]?wm(oe(e[Je.SHIPS_2],Je.SHIPS_2)):[],r=e[Je.HITS_1]?Dm(oe(e[Je.HITS_1],Je.HITS_1)):[],s=e[Je.HITS_2]?Dm(oe(e[Je.HITS_2],Je.HITS_2)):[];return new KG({firstPlayerShotsCount:parseInt(e[Je.SHOTS_COUNT_1],10)||0,secondPlayerShotsCount:parseInt(e[Je.SHOTS_COUNT_2],10)||0,firstPlayerField:Fm(t,r),secondPlayerField:Fm(o,s),nextStep:e[Je.NEXT_STEP]})}const $t={FORWARD_CARDS:"Att",FORWARD_PLAYED_COUNT:"AttPlayedCount",FORWARD_REVERSE_COUNT:"AttReserveCount",DEFENDER_CARDS:"Def",DEFENDER_PLAYED_COUNT:"DefPlayedCount",DEFENDER_REVERSE_COUNT:"DefReserveCount",GOALKEEPER_CARDS:"GK",GOALKEEPER_PLAYED_COUNT:"GKPlayedCount",GOALKEEPER_REVERSE_COUNT:"GKReserveCount",ATTACK_COUNT:"AttackCount",TEAM_1:"Team1",TEAM_2:"Team2",GOAL_1:"Goal1",GOAL_2:"Goal2"};class YG extends Be{constructor({attackCount:o=0,team1:r={},team2:s={},goal1:n=!1,goal2:l=!1}){super();T(this,"attackCount");T(this,"team1");T(this,"team2");T(this,"goal1");T(this,"goal2");this.attackCount=o,this.team1=r,this.team2=s,this.goal1=n,this.goal2=l}}const Um=e=>({forwardCards:Ve(e[$t.FORWARD_CARDS]),forwardPlayedCount:e[$t.FORWARD_PLAYED_COUNT],forwardReverseCount:e[$t.FORWARD_REVERSE_COUNT],defenderCards:Ve(e[$t.DEFENDER_CARDS]),defenderPlayedCount:e[$t.DEFENDER_PLAYED_COUNT],defenderReverseCount:e[$t.DEFENDER_REVERSE_COUNT],goalkeeperCards:Ve(e[$t.GOALKEEPER_CARDS]),goalkeeperPlayedCount:e[$t.GOALKEEPER_PLAYED_COUNT],goalkeeperReverseCount:e[$t.GOALKEEPER_REVERSE_COUNT]}),xm=e=>typeof e=="string"&&e.toLowerCase()==="true";function jG(e){return new YG({attackCount:Number(e[$t.ATTACK_COUNT]),team1:Um(oe(e[$t.TEAM_1],$t.TEAM_1)),team2:Um(oe(e[$t.TEAM_2],$t.TEAM_2)),goal1:xm(e[$t.GOAL_1]),goal2:xm(e[$t.GOAL_2])})}var eo=(e=>(e.POINTS_1="P1",e.POINTS_2="P2",e.WICKETS_1="W1",e.WICKETS_2="W2",e.CARDS_1_REMAINING="C1",e.CARDS_2_REMAINING="C2",e.STATUS="Status",e.NEXT_TIME="NextTime",e.INNING_1="I1",e.INNING_2="I2",e.POINTS="P",e.WICKET="W",e.CARD_SUIT="CS",e.CARD_VALUE="CV",e.BAT_CARD="Bat",e.BOW_CARD="Bow",e))(eo||{}),ZG=(e=>(e[e.PREMATCH=0]="PREMATCH",e[e.TEAM_1_SCORING=1]="TEAM_1_SCORING",e[e.BREAK=2]="BREAK",e[e.TEAM_2_SCORING=3]="TEAM_2_SCORING",e[e.TEAM_1_WON=4]="TEAM_1_WON",e[e.DRAW=5]="DRAW",e[e.TEAM_2_WON=6]="TEAM_2_WON",e))(ZG||{}),qG=Object.defineProperty,JG=(e,t,o)=>t in e?qG(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,Ql=(e,t,o)=>JG(e,typeof t!="symbol"?t+"":t,o);class XG extends Be{constructor({status:t,firstTeam:o,secondTeam:r}){super(),Ql(this,"status"),Ql(this,"firstTeam"),Ql(this,"secondTeam"),this.status=t,this.firstTeam=o,this.secondTeam=r}}function $m(e,t){const o=e[t];if(!o)return[];try{return oe(o,t).map((s,n)=>({id:n+1,batsman:new ci(s[eo.BAT_CARD]),bowler:new ci(s[eo.BOW_CARD]),points:Number(s[eo.POINTS]),wicket:s[eo.WICKET]===!0}))}catch(r){return[]}}function zG(e){return new XG({status:Number(e[eo.STATUS]),firstTeam:{points:Number(e[eo.POINTS_1]),wickets:Number(e[eo.WICKETS_1]),cardsRemaining:Number(e[eo.CARDS_1_REMAINING]),innings:$m(e,eo.INNING_1)},secondTeam:{points:Number(e[eo.POINTS_2]),wickets:Number(e[eo.WICKETS_2]),cardsRemaining:Number(e[eo.CARDS_2_REMAINING]),innings:$m(e,eo.INNING_2)}})}const Vm=e=>{if(!e)return[];try{return oe(e).map(o=>$_$() && ({quarter:o.Q,points:o.P,card:new ci(o.C),isSuccess:o.S}))}catch(t){return[]}},QG=e=>({status:e.Status,firstTeamScore:Vm(e.T1),secondTeamScore:Vm(e.T2)}),ek=0,tk=1,ok=2,rk=3,_t={FIRST_PLAYER_SCORE:"P1",SECOND_PLAYER_SCORE:"P2",THROWS:"T",THROWS_POINT:"P",THROWS_SECTOR:"PS",THROWS_RESULT:"PR",THROWS_COUNT:"TC",WHO_MOVE:"WM",ROUND:"RN",GAME_RESULT:"RG",GAME_INFO:"GameInfo"};class sk extends Be{constructor({throws:o,lastThrow:r,round:s,gameResult:n,firstPlayerScore:l,secondPlayerScore:i}){super();T(this,"throws");T(this,"lastThrow");T(this,"round");T(this,"gameResult");T(this,"firstPlayerScore");T(this,"secondPlayerScore");this.throws=o,this.lastThrow=r,this.round=s,this.gameResult=n,this.firstPlayerScore=l,this.secondPlayerScore=i}}class nk extends Be{constructor({score:o,sector:r,result:s,playerId:n}){super();T(this,"score");T(this,"sector");T(this,"result");T(this,"playerId");this.score=o,this.sector=r,this.result=s,this.playerId=n}}const Hm=(e,t)=>{const o=[];for(let r=0;re.slice().reverse().find(t=>t.result!==null);function ik(e){const t=oe(e[_t.GAME_INFO],_t.GAME_INFO),o=Hm(t[_t.FIRST_PLAYER_SCORE],1),r=Hm(t[_t.SECOND_PLAYER_SCORE],2),n={[ek]:[],[tk]:o.throws,[ok]:r.throws}[t[_t.WHO_MOVE]];return new sk({throws:n,lastThrow:ak(n),round:t[_t.ROUND],gameResult:t[_t.GAME_RESULT],firstPlayerScore:o,secondPlayerScore:r})}const io={PLAYER:"Pl",ROUND:"R",RESULT:"R",STATUS:"S",SCORES:"Sc",DICE_VALUE_1:"Sc1",DICE_VALUE_2:"Sc2",DICES:"D",THROWS:"T"};class lk extends Be{constructor({playerTurnId:o,result:r,dices:s,playersScores:n}){super();T(this,"playerTurnId");T(this,"result");T(this,"dices");T(this,"playersScores");this.playerTurnId=o,this.result=r,this.dices=s,this.playersScores=n}}const ck=e=>({diceValue1:e[io.DICE_VALUE_1],diceValue2:e[io.DICE_VALUE_2]}),uk=e=>{const t={player1:[{diceValue1:"—",diceValue2:"—"},{diceValue1:"—",diceValue2:"—"}],player2:[{diceValue1:"—",diceValue2:"—"},{diceValue1:"—",diceValue2:"—"}]};return e.forEach(o=>{const r=`player${o[io.PLAYER]}`;t[r][o[io.ROUND]]=ck(o[io.SCORES])}),t};function pk(e){return new lk({playerTurnId:e[io.STATUS],result:e[io.RESULT],dices:e[io.DICES]?oe(e[io.DICES],io.DICES):[],playersScores:e[io.THROWS]?uk(oe(e[io.THROWS],io.THROWS)):[]})}const je={TRUMP_CARD:"TrumpCard",DECK:"Deck",RESULT:"Result",REBOUND:"Rebound",TAKE:"Take",FIRST_PLAYER_CARDS_ON_TABLE:"PT1",SECOND_PLAYER_CARDS_ON_TABLE:"PT2",MODE:"Mode",STATUS:"Status",FIRST_PLAYER:"P1",SECOND_PLAYER:"P2",PLAYER:"Player"},cH={DISTRIBUTION:0,HANG_UP:2,TAKE:4,CARD_SET:6,RAFFLE:8,FINISHED:9};class dk extends Be{constructor({status:o,deck:r=0,result:s=0,rebound:n=0,take:l=0,additionalInfo:i={},trumpCard:a=[],firstPlayerCards:u=[],secondPlayerCards:p=[],firstPlayerCardsOnTable:m=[],secondPlayerCardsOnTable:c=[]}){super();T(this,"status");T(this,"deck");T(this,"result");T(this,"rebound");T(this,"take");T(this,"additionalInfo");T(this,"trumpCard");T(this,"firstPlayerCards");T(this,"secondPlayerCards");T(this,"firstPlayerCardsOnTable");T(this,"secondPlayerCardsOnTable");this.status=o,this.deck=r,this.result=s,this.rebound=n,this.take=l,this.additionalInfo=i,this.trumpCard=a,this.firstPlayerCards=u,this.secondPlayerCards=p,this.firstPlayerCardsOnTable=m,this.secondPlayerCardsOnTable=c}}const mk=e=>({player:e[je.PLAYER]});function _k(e){return new dk({status:Number(e[je.STATUS]),deck:Number(e[je.DECK]),result:Number(e[je.RESULT]),rebound:Number(e[je.REBOUND]),take:Number(e[je.TAKE])||0,additionalInfo:e[je.MODE]?mk(oe(e[je.MODE],je.MODE)):{},trumpCard:e[je.TRUMP_CARD]?Ve(oe(e[je.TRUMP_CARD],je.TRUMP_CARD)):[],firstPlayerCards:e[je.FIRST_PLAYER]?Ve(oe(e[je.FIRST_PLAYER],je.FIRST_PLAYER)):[],secondPlayerCards:e[je.SECOND_PLAYER]?Ve(oe(e[je.SECOND_PLAYER],je.SECOND_PLAYER)):[],firstPlayerCardsOnTable:e[je.FIRST_PLAYER_CARDS_ON_TABLE]?Ve(oe(e[je.FIRST_PLAYER_CARDS_ON_TABLE],je.FIRST_PLAYER_CARDS_ON_TABLE)):[],secondPlayerCardsOnTable:e[je.SECOND_PLAYER_CARDS_ON_TABLE]?Ve(oe(e[je.SECOND_PLAYER_CARDS_ON_TABLE],je.SECOND_PLAYER_CARDS_ON_TABLE)):[]})}const so={BOARD_CARDS:"Board",FIRST_PLAYER_CARDS:"P1Cards",SECOND_PLAYER_CARDS:"P2Cards",FIRST_PLAYER_COMBINATION_CARDS:"CardsInCombination1",SECOND_PLAYER_COMBINATION_CARDS:"CardsInCombination2",STATUS:"Status",COMBINATION_NAME_1:"Combination1",COMBINATION_NAME_2:"Combination2"};class hk extends Be{constructor({boardCards:o,firstPlayerCards:r,secondPlayerCards:s,firstPlayerCombinationCards:n,secondPlayerCombinationCards:l,status:i,combinationName1:a,combinationName2:u}){super();T(this,"boardCards");T(this,"firstPlayerCards");T(this,"secondPlayerCards");T(this,"firstPlayerCombinationCards");T(this,"secondPlayerCombinationCards");T(this,"status");T(this,"combinationName1");T(this,"combinationName2");this.boardCards=o,this.firstPlayerCards=r,this.secondPlayerCards=s,this.firstPlayerCombinationCards=n,this.secondPlayerCombinationCards=l,this.status=i,this.combinationName1=a,this.combinationName2=u}}function fk(e){var t,o,r;return new hk({boardCards:Ve(oe(e[so.BOARD_CARDS],so.BOARD_CARDS)),firstPlayerCards:Ve(oe(e[so.FIRST_PLAYER_CARDS],so.FIRST_PLAYER_CARDS)),secondPlayerCards:Ve(oe(e[so.SECOND_PLAYER_CARDS],so.SECOND_PLAYER_CARDS)),firstPlayerCombinationCards:Ve(oe(e[so.FIRST_PLAYER_COMBINATION_CARDS],so.FIRST_PLAYER_COMBINATION_CARDS)),secondPlayerCombinationCards:Ve(oe(e[so.SECOND_PLAYER_COMBINATION_CARDS],so.SECOND_PLAYER_COMBINATION_CARDS)),status:((t=e[so.STATUS])==null?void 0:t.replaceAll('"',""))||"",combinationName1:((o=e[so.COMBINATION_NAME_1])==null?void 0:o.replaceAll('"',""))||"",combinationName2:((r=e[so.COMBINATION_NAME_2])==null?void 0:r.replaceAll('"',""))||""})}const gk=2,To={TWENTY_ONE_GAME_MODE:"Ch",FIRST_PLAYER:"P1",SECOND_PLAYER:"P2",STATUS:"S",STATE:"STATE",PLAYER_CARDS:"P",DEALER_CARDS:"D",ROUND_SCORE_1:"RSc1",ROUND_SCORE_2:"RSc2"};class Sk extends Be{constructor({status:o,isTwentyOneDota:r,roundScore1:s,roundScore2:n,firstPlayerCards:l,secondPlayerCards:i}){super();T(this,"isTwentyOneDota");T(this,"roundScore1");T(this,"roundScore2");T(this,"status");T(this,"firstPlayerCards");T(this,"secondPlayerCards");this.isTwentyOneDota=r,this.roundScore1=s,this.roundScore2=n,this.status=o,this.firstPlayerCards=l,this.secondPlayerCards=i}}function yk(e){const t=Number(e[To.TWENTY_ONE_GAME_MODE])===gk,o=t?e[To.PLAYER_CARDS]:e[To.FIRST_PLAYER],r=t?e[To.DEALER_CARDS]:e[To.SECOND_PLAYER],s=t?e[To.STATUS]:e[To.STATE];return new Sk({status:s,isTwentyOneDota:t,roundScore1:e[To.ROUND_SCORE_1],roundScore2:e[To.ROUND_SCORE_2],firstPlayerCards:o?Ve(oe(o,To.FIRST_PLAYER)):[],secondPlayerCards:r?Ve(oe(r,To.SECOND_PLAYER)):[]})}class Lu{constructor({round:t,time:o,winner:r,winType:s,finishHim:n,playerWin:l,playerLose:i,enemyDeath:a,shinobiDeath:u,cameo:p}){T(this,"round");T(this,"time");T(this,"winner");T(this,"winType");T(this,"finishHim");T(this,"playerWin");T(this,"playerLose");T(this,"enemyDeath");T(this,"shinobiDeath");T(this,"cameo");this.round=t,this.time=o,this.winner=r,this.winType=s,this.finishHim=n,this.playerWin=l,this.playerLose=i,this.enemyDeath=a,this.shinobiDeath=u,this.cameo=p}static fromEncodedData(t,o){$_$();return Ev(new Lu({round:t.R,time:t.T?o.formatDuration(t.T||0):void 0,winner:t.W,winType:t.WT,finishHim:t.DI,playerWin:t.PW,playerLose:t.PL,enemyDeath:t.BD,shinobiDeath:t.SD,cameo:t.C2||t.C1}))}}class Ik extends Be{constructor({fightingPeriodsScores:o,mortalKombatType:r}){super();T(this,"fightingPeriodsScores");T(this,"mortalKombatType");this.fightingPeriodsScores=o,this.mortalKombatType=r}}const Ek=(e,t)=>e?oe(e,"RoundTable").map(r=>Lu.fromEncodedData(r,t)):[];function Tk(e,t){return new Ik({fightingPeriodsScores:Ek(e.RoundTable,t),mortalKombatType:e.MKType})}class Ok extends Be{constructor({firstOpponentWorkersCount:o=0,firstOpponentWarriorCount:r=0,firstOpponentBuildCount:s=0,firstOpponentUnits:n=[],secondOpponentWorkersCount:l=0,secondOpponentWarriorCount:i=0,secondOpponentBuildCount:a=0,secondOpponentUnits:u=[]}){super();T(this,"firstOpponentWorkersCount");T(this,"firstOpponentWarriorCount");T(this,"firstOpponentBuildCount");T(this,"firstOpponentUnits");T(this,"secondOpponentWorkersCount");T(this,"secondOpponentWarriorCount");T(this,"secondOpponentBuildCount");T(this,"secondOpponentUnits");this.firstOpponentWorkersCount=o,this.firstOpponentWarriorCount=r,this.firstOpponentBuildCount=s,this.firstOpponentUnits=n,this.secondOpponentWorkersCount=l,this.secondOpponentWarriorCount=i,this.secondOpponentBuildCount=a,this.secondOpponentUnits=u}}const ec="starcraft_stat",Km=e=>{var t;return(t=e==null?void 0:e.map(o=>({id:o.id,image:`/default/img/scoreboard/starcraft/${o.id}.jpg`,status:o.status===1})))!=null?t:[]},vk=e=>{if(!e[ec])return{};const t=oe(e[ec],ec);return new Ok({firstOpponentWorkersCount:Number(t.workers1)||0,firstOpponentWarriorCount:Number(t.warrior1)||0,firstOpponentBuildCount:Number(t.build1)||0,firstOpponentUnits:Km(t.unit1),secondOpponentWorkersCount:Number(t.workers2)||0,secondOpponentWarriorCount:Number(t.warrior2)||0,secondOpponentBuildCount:Number(t.build2)||0,secondOpponentUnits:Km(t.unit2)})},Hr={FIRST_PLAYER_CARDS:"P1",SECOND_PLAYER_CARDS:"P2",STATUS:"RG"};class Pk extends Be{constructor({firstPlayerCards:o=[],secondPlayerCards:r=[],status:s=""}){super();T(this,"firstPlayerCards");T(this,"secondPlayerCards");T(this,"status");this.firstPlayerCards=o,this.secondPlayerCards=r,this.status=s}}function Ak(e){return new Pk({firstPlayerCards:e[Hr.FIRST_PLAYER_CARDS]?Ve(oe(e[Hr.FIRST_PLAYER_CARDS],Hr.FIRST_PLAYER_CARDS)):[],secondPlayerCards:e[Hr.SECOND_PLAYER_CARDS]?Ve(oe(e[Hr.SECOND_PLAYER_CARDS],Hr.SECOND_PLAYER_CARDS)):[],status:e[Hr.STATUS]})}const Kr={FIRST_PLAYER_POINTS:"P1",SECOND_PLAYER_POINTS:"P2",FIRST_PLAYER_FORMULA:"F1",SECOND_PLAYER_FORMULA:"F2",STATUS:"RG"},Wm={SumSum:"x1 + x2 + x3",SumMult:"(x1 + x2) * x3",MultSum:"x1 * x2 + x3",MultMult:"x1 * x2 * x3"};class Ck extends Be{constructor({firstPlayerPoints:o=[],secondPlayerPoints:r=[],firstPlayerFormula:s="",secondPlayerFormula:n="",status:l=""}){super();T(this,"firstPlayerPoints");T(this,"secondPlayerPoints");T(this,"firstPlayerFormula");T(this,"secondPlayerFormula");T(this,"status");this.firstPlayerPoints=o,this.secondPlayerPoints=r,this.firstPlayerFormula=s,this.secondPlayerFormula=n,this.status=l}}const bk=e=>new Ck({firstPlayerPoints:oe(e[Kr.FIRST_PLAYER_POINTS],Kr.FIRST_PLAYER_POINTS),secondPlayerPoints:oe(e[Kr.SECOND_PLAYER_POINTS],Kr.SECOND_PLAYER_POINTS),firstPlayerFormula:Wm[e[Kr.FIRST_PLAYER_FORMULA]],secondPlayerFormula:Wm[e[Kr.SECOND_PLAYER_FORMULA]],status:e[Kr.STATUS]});var Rk=Object.defineProperty,Nk=(e,t,o)=>t in e?Rk(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,Ym=(e,t,o)=>Nk(e,typeof t!="symbol"?t+"":t,o);class Lk extends Be{constructor({cardsOnDesk:t=[],cardsInRound:o=[]}){super(),Ym(this,"cardsOnDesk",[]),Ym(this,"cardsInRound",[]),this.cardsOnDesk=t,this.cardsInRound=o}}const jm=(e,t=!1)=>({suit:e.suit,rank:e.rank,isOnDesk:t}),Bk=e=>{$_$();const t=Ve(oe(e.C)),o=Ve(oe(e.CP));return new Lk({cardsOnDesk:t.map(r=>jm(r,!0)),cardsInRound:o.map(r=>jm(r))})},dn={FIRST_PLAYER_SCORES:"S1",SECOND_PLAYER_SCORES:"S2",FIRST_PLAYER_NUMBERS:"Pl1",SECOND_PLAYER_NUMBERS:"Pl2",GAME_OVER:"End"},Zm=e=>Number(e)||0,qm=e=>{var t;return(t=e==null?void 0:e.split(",").reduce((o,r)=>(Number(r)&&o.push(Number(r)),o),[]))!=null?t:[]},Mk=e=>({firstPlayerScores:Zm(e[dn.FIRST_PLAYER_SCORES]),secondPlayerScores:Zm(e[dn.SECOND_PLAYER_SCORES]),firstPlayerNumbers:qm(e[dn.FIRST_PLAYER_NUMBERS]),secondPlayerNumbers:qm(e[dn.SECOND_PLAYER_NUMBERS]),gameOver:e[dn.GAME_OVER]!=="False"}),Gk=27,Jm=9,Xm=e=>{const t=Array.from({length:Math.ceil(Gk/Jm)},()=>Array.from({length:Jm}));return e.forEach(o=>{$_$();t[o.Y][o.X]=o.Num}),t},kk=e=>{var t,o,r,s;const n=oe((t=e.B1)!=null?t:"[]"),l=oe((o=e.B2)!=null?o:"[]");return{firstPlayerBarrels:Xm(n),secondPlayerBarrels:Xm(l),currentPlayBarrels:oe((r=e.NumsPlay)!=null?r:"[]"),playedBarrels:oe((s=e.NumsPlayed)!=null?s:"[]")}},fr={SCOREBOARD:"scoreboard",FIRST_PLAYER:"O1",SECOND_PLAYER:"O2",THIRD_PLAYER:"O3",FOURTH_PLAYER:"O4",NAME:"N",SCORES:"S",TIME:"T"},Na=e=>{var t,o;return{name:(t=e==null?void 0:e[fr.NAME].toLowerCase())!=null?t:"",score:(o=e==null?void 0:e[fr.SCORES])!=null?o:0}},wk=e=>{var t;return oe((t=e[fr.SCOREBOARD])!=null?t:"[]").map(r=>({players:[Na(r[fr.FIRST_PLAYER]),Na(r[fr.SECOND_PLAYER]),Na(r[fr.THIRD_PLAYER]),Na(r[fr.FOURTH_PLAYER])],time:r[fr.TIME]}))},or={PLAYERS_LIST:"HeroTable",PLAYER_NAME:"P",PLAYER_PLACE:"Place",PLAYER_KILLS:"K",PLAYER_DEATHS:"D",PLAYER_TIME_ALIVE:"T",PLAYER_BOMBS_PLANTED:"Planted",PLAYER_BOMBS_DEFUSED:"Defused",PLAYER_BASE:"B"},uH={8580089:"vinicius",8580091:"lewandowski",8580097:"haaland",8580099:"ronaldo",8580103:"dybala",8580105:"kane",8580095:"messi",8580101:"salah",8580107:"saka",8580093:"mbappe"},Dk=e=>({name:e[or.PLAYER_NAME],place:e[or.PLAYER_PLACE],kills:e[or.PLAYER_KILLS],deaths:e[or.PLAYER_DEATHS],timeAlive:e[or.PLAYER_TIME_ALIVE],bombsPlanted:e[or.PLAYER_BOMBS_PLANTED],bombsDefused:e[or.PLAYER_BOMBS_DEFUSED],base:e[or.PLAYER_BASE]}),Fk=e=>{var t;return oe((t=e[or.PLAYERS_LIST])!=null?t:"[]").map(Dk)},Ya={ROUND_TABLE:"UndisputedTable",ROUND:"R",KNOCKDOWN1:"KD1",KNOCKDOWN2:"KD2"},Uk=e=>({roundNumber:e[Ya.ROUND],knockdown1:e[Ya.KNOCKDOWN1],knockdown2:e[Ya.KNOCKDOWN2]}),xk=e=>{var t;return oe((t=e[Ya.ROUND_TABLE])!=null?t:"[]").map(Uk)},zm={TOURNAMENT_ID:"id_tourney",ITERATION_ID:"iteration"},$k=e=>{const t=e[zm.TOURNAMENT_ID],o=e[zm.ITERATION_ID];return t&&o?{tournamentId:parseInt(t,10),iterationId:parseInt(o,10)}:{}},Qm={TOURNAMENT_ID:"id_tourney",ITERATION_ID:"iteration"},Vk=e=>{const t=e[Qm.TOURNAMENT_ID],o=e[Qm.ITERATION_ID];return t&&o?{tournamentId:parseInt(t,10),iterationId:parseInt(o,10)}:{}},e_={TOURNAMENT_ID:"id_tournament",ITERATION_ID:"iteration"},Hk=e=>{const t=e[e_.TOURNAMENT_ID],o=e[e_.ITERATION_ID];return t&&o?{tournamentId:parseInt(t,10),iterationId:parseInt(o,10)}:{}};function Kk(e){$_$();var t,o,r,s;return{firstPlayerCards:(o=JSON.parse((t=e.P1)!=null?t:"[]"))!=null?o:[],secondPlayerCards:(s=JSON.parse((r=e.P2)!=null?r:"[]"))!=null?s:[],firstPlayerCombination:e.Combination1,secondPlayerCombination:e.Combination2,cardsTotal:e.AC,cardsLeft:e.RC,roundTime:e.RT,passedTime:e.PT,gameStatus:e.STATE}}const Wk=e=>{var t;return oe((t=e.StatQuidditch)!=null?t:"[]").map(r=>({numberTakenFirstSnitch:Number(r.S1)?Number(r.S1):null,numberTakenSecondSnitch:Number(r.S2)?Number(r.S2):null,timeOfGame:Number(r.T)?Number(r.T)/1e7:null}))[0]},dg=(e,t,o,r)=>{if(!e||!Object.keys(e).length)return{};switch(t){case 236:return xG(e);case 243:return WG(e);case 210:return jG(e);case 311:return zG(e);case 312:return QG(e);case 234:return ik(e);case 235:return pk(e);case 153:return _k(e);case 167:return o===2566618?Kk(e):fk(e);case 257:return Ak(e);case 146:return yk(e);case 277:case 141:case 90:case 207:case 103:case 213:case 128:case 318:return Tk(e,r);case 150:return vk(e);case 258:return bk(e);case 274:return Bk(e);case 292:return Mk(e);case 268:return kk(e);case 291:return wk(e);case 304:return Fk(e);case 305:return xk(e);case 85:return $k(e);case 144:return Vk(e);case 89:return Hk(e);case 317:return Wk(e);default:return{}}},Yk=e=>{var t;return oe((t=e.WoWTable)!=null?t:"[]").map(r=>{$_$();var s,n,l;return{statusGame:r.W,numberOfRound:r.I,typeOfArena:(s=r.A)==null?void 0:s.split("_").join(" "),typeOfClass:(n=r.C)==null?void 0:n.split("_").join(" "),typeOfRace:(l=r.R)==null?void 0:l.split("_").join(" ")}})};class ko extends Be{constructor({yellowCardsCount:o=0,redCardsCount:r=0,cornerKicksCount:s=0,penaltyKicksCount:n=0}={}){super();T(this,"yellowCardsCount");T(this,"redCardsCount");T(this,"cornerKicksCount");T(this,"penaltyKicksCount");this.yellowCardsCount=Number(o),this.redCardsCount=Number(r),this.cornerKicksCount=Number(s),this.penaltyKicksCount=Number(n)}static fromEncodedData(o={},{isFirstTeam:r=!0}={}){return new ko({yellowCardsCount:o[r?"IYellowCard1":"IYellowCard2"],redCardsCount:o[r?"IRedCard1":"IRedCard2"],penaltyKicksCount:o[r?"IPenalty1":"IPenalty2"],cornerKicksCount:o[r?"ICorner1":"ICorner2"]})}static fromSummary(o=[]){const r={firstTeam:new ko({yellowCardsCount:0,redCardsCount:0,penaltyKicksCount:0,cornerKicksCount:0}),secondTeam:new ko({yellowCardsCount:0,redCardsCount:0,penaltyKicksCount:0,cornerKicksCount:0})},s={26:"yellowCardsCount",71:"redCardsCount",72:"penaltyKicksCount",70:"cornerKicksCount"};return o.forEach(n=>{const l=s[n.id];l&&(r.firstTeam[l]=Number(n.firstOpponentScore),r.secondTeam[l]=Number(n.secondOpponentScore))}),r}}class Hi extends Be{constructor({firstTeamName:o,secondTeamName:r}={}){super();T(this,"firstTeamName");T(this,"secondTeamName");this.firstTeamName=o,this.secondTeamName=r}static fromEncodedData(o={}){var n,l;const[r,s]=(l=(n=o==null?void 0:o.AltOpp)==null?void 0:n.split("/"))!=null?l:[];return new Hi({firstTeamName:s?r:void 0,secondTeamName:s})}}const jk="v",Zk="x",qk="e",Jk="Shtout",Xk={[jk]:"goal",[Zk]:"miss",[qk]:"idle"},t_=(e,{maxQueueLength:t=5,isPenaltyInProgress:o=!1}={})=>{$_$();var u,p,m;const{[Jk]:r}=(u=JSON.parse(e||"{}"))!=null?u:{};if(!fe(r))return[];const s=(p=r==null?void 0:r.length)!=null?p:0,l=Math.max(t,s)-s,i=l===0,a=Array.from({length:o&&i?1:l}).fill("idle");return((m=r==null?void 0:r.split(""))!=null?m:[]).map(c=>{const _=Xk[c];if(!_){console.error("parsePenaltySeries",`Undefined encoded value ${c}`);return}return _}).filter(Boolean).concat(...a)};var zk=Object.defineProperty,Qk=(e,t,o)=>t in e?zk(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,o_=(e,t,o)=>Qk(e,typeof t!="symbol"?t+"":t,o);class qn extends Be{constructor({firstTeamSeries:t=[],secondTeamSeries:o=[]}={}){super(),o_(this,"firstTeamSeries"),o_(this,"secondTeamSeries"),this.firstTeamSeries=t,this.secondTeamSeries=o}static fromEncodedData(t,o={}){$_$();var r,s;const{["Stat1"]:n,["Stat2"]:l}=o;if(!fe(n)&&!fe(l))return new qn({firstTeamSeries:[],secondTeamSeries:[]});const i=(r=t_(n,{isPenaltyInProgress:t===1}))!=null?r:[],a=(s=t_(l,{isPenaltyInProgress:t===2}))!=null?s:[];return new qn({firstTeamSeries:i,secondTeamSeries:a})}}const mg="N",pH=0,dH=["R","B","4s","6s","SR"],r_={0:"",1:"game_cricket_bowled",2:"game_cricket_caught",3:"game_cricket_bowled_сaught",4:"game_cricket_foot_in_front_of_the_gate",6:"game_cricket_not_out",7:"game_cricket_run_out",9:"game_cricket_hit_wicket"},ew=["game_cricket_bai","game_cricket_leg_bai","game_cricket_uaid_bol","game_cricket_nou_bol"],tw=["game_cricket_wickets","game_cricket_overs_ov"];var ow=Object.defineProperty,rw=(e,t,o)=>t in e?ow(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,s_=(e,t,o)=>rw(e,typeof t!="symbol"?t+"":t,o);class sw{constructor(t){this.team=t,s_(this,"oversList"),s_(this,"parseOversList",o=>{var r;return(r=o.O)==null?void 0:r.map(s=>({number:s[mg],score:s.S,runs:s.R}))}),this.oversList=this.parseOversList(t)}}var nw=Object.defineProperty,aw=(e,t,o)=>t in e?nw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,fs=(e,t,o)=>aw(e,typeof t!="symbol"?t+"":t,o);class iw{constructor({team:t,T:o,logger:r}){fs(this,"T"),fs(this,"logger"),fs(this,"batsmanList"),fs(this,"parseBatsmans",s=>{var n;return(n=s.B)==null?void 0:n.sort((l,i)=>{const a=parseInt(l.N,10),u=parseInt(i.N,10);return(Number.isNaN(a)?0:a)-(Number.isNaN(u)?0:u)}).map(l=>({name:this.parsePlayerName(l.N),ballsFaced:l.B,boundaryFours:l.R4s,boundarySixes:l.R6s,strikeRate:l.SR,runs:l.R,stats:this.parseBatsmanStats({columnName:l.N,boulerName:l.S.BN,playerName:l.S.PN,method:l.S.M})}))}),fs(this,"parsePlayerName",s=>{switch(s){case"1000":return this.T("game_cricket_extra");case"1001":return this.T("game_cricket_overs_total");default:return s}}),fs(this,"parseBatsmanStats",({columnName:s,boulerName:n,playerName:l,method:i})=>{const a=u=>l==null?void 0:l.split(";").map((p,m)=>`${p} ${this.T(u[m])}`).join("; ");switch(s){case"1000":return a(ew);case"1001":return a(tw);default:if(r_[i]){const u=r_[i];return`${this.T(u)} ${l!=null?l:""} ${n?`${this.T("game_cricket_bouler")} ${n!=null?n:""}`:""}`}return""}}),this.T=o,this.logger=r,this.batsmanList=this.parseBatsmans(t)}}var lw=Object.defineProperty,cw=(e,t,o)=>t in e?lw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,n_=(e,t,o)=>cw(e,typeof t!="symbol"?t+"":t,o);class uw{constructor(t){this.team=t,n_(this,"destroyedWicketsList"),n_(this,"parseDestroyedWickets",o=>{var r;return(r=o.W)==null?void 0:r.map(s=>({name:s.B,number:s[mg],runs:s.R}))}),this.destroyedWicketsList=this.parseDestroyedWickets(t)}}class pw{constructor(t,o,r,s){this.statistic=t,this.periodName=o,this.T=r,this.logger=s,this.periodName=o,this.T=r,this.logger=s,this.statistic=this.parseStats()}parseStats(){var t,o;try{return((o=(t=JSON.parse(this.statistic))==null?void 0:t.St)!=null?o:[]).map((s,n)=>{const l=new iw({team:s,T:this.T,logger:this.logger}),i=new sw(s),a=new uw(s),u=s.P,p=s.RR;return{batsman:l.batsmanList,overs:i.oversList,destroyedWickets:a.destroyedWicketsList,teamName:`${s.N} ${u===0?"":u+" "+this.periodName}`,pureTeamName:`${s.N}`,period:u,index:n,currentRunRate:p}})}catch(r){this.logger.error("CricketIninngsStats error :",r)}}}const _g=({statistic:e,periodName:t,T:o,logger:r})=>{if(e)try{return new pw(e,t,o,r).statistic}catch(s){r.error("parseCricketStatistic error:",s);return}},dw="-",mH=6,_H=9,hH={name:"-",toParClass:"",toParText:"-",playerHoleStatus:0,toParTooltip:""},fH=1,mw=e=>e.map(t=>{const o=t.P===""?void 0:parseInt(t.P,10);return{name:t.N,playerHoleStatus:t.S,toPar:o}}),_w=e=>e.map(t=>$_$() && ({holeType:t.H,holeNumber:t.HI,items:t.I?mw(t.I):[]})),hw=e=>{var t;return(t=e.H)==null?void 0:t.map(o=>({number:o.N,par:o.P,scores:o.S}))},fw=e=>e.map(t=>$_$() && ({name:t.N,par:t.P,todayPar:t.T===""?dw:t.T,playerHoleStatus:t.S,holeType:t.H,holeNumber:t.HI,rank:t.C})),hg=({logger:e},t)=>{$_$();let o,r,s;try{o=t.golfTournTable?JSON.parse(t.golfTournTable):void 0}catch(u){e.error("Error occurred while parsing JSON golf statistic key golfTournTable")}try{r=t.golfScore?JSON.parse(t.golfScore):void 0}catch(u){e.error("Error occurred while parsing JSON golf statistic key golfScore")}try{s=t.golfPlayers?JSON.parse(t.golfPlayers):void 0}catch(u){e.error("Error occurred while parsing JSON golf statistic key golfPlayers")}const n=o!=null&&o.L?fw(o.L):void 0,l=o!=null&&o.G?_w(o.G):void 0,i=s==null?void 0:s.PL,a=r?hw(r):void 0;return{leaders:n,groups:l,playerNames:i,scores:a}},gw="Top",Sw="Bottom",fg=e=>{var t,o,r,s,n,l,i,a,u;const p=e.Hits1,m=e.Hits2,c=e.StatIng,_=(t=c==null?void 0:c.split(";"))!=null?t:[],h=_.length?{balls:(o=_[0])==null?void 0:o.slice(1),strikes:(r=_[1])==null?void 0:r.slice(1),outs:(s=_[2])==null?void 0:s.slice(1),activeBase1:parseInt((n=_[3])==null?void 0:n.slice(2),10),activeBase2:parseInt((l=_[4])==null?void 0:l.slice(2),10),activeBase3:parseInt((i=_[5])==null?void 0:i.slice(2),10),top:((a=_[6])==null?void 0:a.slice(0,3))===gw,bottom:((u=_[6])==null?void 0:u.slice(0,6))===Sw}:void 0;return{firstTeamHits:p,secondTeamHits:m,baseballExtraTablo:h}};var yw=Object.defineProperty,Iw=Object.defineProperties,Ew=Object.getOwnPropertyDescriptors,a_=Object.getOwnPropertySymbols,Tw=Object.prototype.hasOwnProperty,Ow=Object.prototype.propertyIsEnumerable,i_=(e,t,o)=>t in e?yw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,vw=(e,t)=>{for(var o in t||(t={}))Tw.call(t,o)&&i_(e,o,t[o]);if(a_)for(var o of a_(t))Ow.call(t,o)&&i_(e,o,t[o]);return e},Pw=(e,t)=>Iw(e,Ew(t));const mn=e=>({false:!1,true:!0})[e],Aw=e=>e.map(t=>({name:t.N,number:t.Period,firstTeamScore:t.Sc1,secondTeamScore:t.Sc2,winner:t.MW,firstTeamWinRoundsAsTerrorists:t.SCt1,secondTeamWinRoundsAsTerrorists:t.SCt2,firstTeamWinRoundsAsCounterTerrorists:t.SCct1,secondTeamWinRoundsAsCounterTerrorists:t.SCct2,firstTeamRoleInFirstHalf:t.fR1,secondTeamRoleInFirstHalf:t.sR1,firstTeamRoleInSecondHalf:t.fR2,secondTeamRoleInSecondHalf:t.sR2,mediaKey:`cyber_csgo_maps_${t.N.replace("de_","")}`})),Cw=e=>({type:"roundend",winner:Number(e.winner),counterTerroristScore:Number(e.ctScore),terroristScore:Number(e.tScore),winType:Number(e.winType)}),bw=e=>({type:"bombdefused",player:e.player}),Rw=e=>({type:"bombplanted",bombSite:e.bombSite,player:e.player,counterTerroristsCount:Number(e.ctPlayers),terroristsCount:Number(e.tPlayers)}),Nw=e=>$_$() && Pw(vw({type:"kill"},u0(e,["killer","victim","weapon","assister"])),{headShot:mn(e.headShot),penetrated:mn(e.penetrated),killerBlind:mn(e.killerBlind),throughSmoke:mn(e.throughSmoke),noScope:mn(e.noScope),killerSide:Number(e.killerSide),victimSide:Number(e.victimSide),assisterSide:e.assisterSide?Number(e.assisterSide):void 0}),Lw=e=>({type:"matchstarted",map:e.map}),Bw=()=>({type:"restart"}),Mw=()=>({type:"roundstart"}),Gw=e=>({type:"suicide",player:e.player,side:Number(e.side),weapon:e.weapon}),kw=e=>{const t=Object.keys(e)[0],o=e[t];switch(t){case"roundend":return Cw(o);case"bombdefused":return bw(o);case"bombplanted":return Rw(o);case"kill":return Nw(o);case"matchstarted":return Lw(o);case"restart":return Bw();case"roundstart":return Mw();case"suicide":return Gw(o);default:return}},ww=e=>{$_$();var t;const o=e.LJ,r=o==null?void 0:o.map(n=>JSON.parse(n)),s=(t=r==null?void 0:r.reverse().map(kw).filter(fe))!=null?t:[];return{currentRound:e.R,roundState:e.RS,mapName:e.M,hasBomb:e.B,bombTimer:e.BT,events:s,bestOf:e.BO,timer:e.T,mapStat:e.PM?Aw(e.PM):void 0}},Dw=e=>{var t;return{name:e.N,isAlive:e.Al,money:e.M,kills:e.K,assists:e.A,deaths:e.D,rating:e.R,picture:e.P,health:e.HP,hasHelmet:e.HM,hasArmor:e.KV,hasDefuseKit:e.DK,weapon:e.WP,hasBomb:e.BO,grenades:(t=e.GR)!=null?t:{}}},l_=e=>{var t;return{name:e.TM,playerList:((t=e.LP)!=null?t:[]).map(o=>Dw(o)),firstHalfEvents:e.fH,secondHalfEvents:e.sH,role:e.R,score:e.SC}},gg=({normalizedStatisticData:e})=>{const t=e.CSStat,o=e.Stat1,r=e.Stat2,s=t?JSON.parse(t):void 0,n=o?JSON.parse(o):void 0,l=r?JSON.parse(r):void 0;return{common:s?ww(s):void 0,firstTeam:n?l_(n):void 0,secondTeam:l?l_(l):void 0}},Sg=({logger:e},t)=>{$_$();var o,r,s,n,l,i,a,u;let p=[],m=[];try{p=(r=JSON.parse((o=t.P)!=null?o:"[]"))!=null?r:[],m=(n=JSON.parse((s=t.D)!=null?s:"[]"))!=null?n:[]}catch(L){e.error("Ошибка при разборе статистики SetteEMezzo в формате JSON")}const c=Ve(p),_=Ve(m),h=Number(t.PS),g=Number(t.DS),S=Number(t.STATE),P=Number(t.S),v=t.PT?Number(t.PT):void 0,R=t.PT?Number(t.DT):void 0,y=(l=Number(t.R))!=null?l:void 0,A=(i=Number(t.PP))!=null?i:void 0,E=(a=Number(t.MDP))!=null?a:void 0,w=(u=Number(t.Ch))!=null?u:1;return{playerCards:c,dealerCards:_,playerScore:h,dealerScore:g,gameStatus:S,playerCombination:v,dealerCombination:R,partitaCombination:A,royalCombination:y,manoCombination:E,gameRoyalStatus:P,champType:w}},Fw={RadiantTopTier1:1,RadiantTopTier2:2,RadiantTopTier3:3,RadiantMiddleTier1:4,RadiantMiddleTier2:5,RadiantMiddleTier3:6,RadiantBottomTier1:7,RadiantBottomTier2:8,RadiantBottomTier3:9,RadiantAncientBottom:10,RadiantAncientTop:11,DireTopTier1:12,DireTopTier2:13,DireTopTier3:14,DireMiddleTier1:15,DireMiddleTier2:16,DireMiddleTier3:17,DireBottomTier1:18,DireBottomTier2:19,DireBottomTier3:20,DireAncientBottom:21,DireAncientTop:22},Uw={RadiantTopMelee:1,RadiantTopRanged:2,RadiantMiddleMelee:3,RadiantMiddleRanged:4,RadiantBottomMelee:5,RadiantBottomRanged:6,DireTopMelee:7,DireTopRanged:8,DireMiddleMelee:9,DireMiddleRanged:10,DireBottomMelee:11,DireBottomRanged:12},c_=(e,t)=>Object.entries(t).reduce((o,[r,s])=>{const n=e>>s-1&1;return o[r]=!!n,o},{}),xw=e=>{$_$();var t;const o=s=>s.map(n=>({isBanned:Number(n.DIB),heroId:n.DID,teamNumber:n.DTN}));return{statisticInfo:(s=>({gameStatus:s.GS,gameDuration:s.GD,bestOfMaps:s.BO}))(e.ST),roshanRespawnTimer:e.RRT,towerState:e.TS?c_(e.TS,Fw):void 0,barracksState:e.BS?c_(e.BS,Uw):void 0,draft:(t=e.DR)!=null&&t.length?o(e.DR):void 0}},u_=e=>{const t=n=>$_$() && ({kills:n.KL,deaths:n.DT,assists:n.AS,lastHits:n.LH,denies:n.DN,netWorth:n.NW,goldPerMinute:n.GM,experiencePerMinute:n.XM,gold:n.GL}),o=n=>n.map(l=>{var i;return{id:l.Id,level:l.LVL,name:l.NM,build:(i=l.BLD)!=null?i:void 0}}),r=n=>n.map(l=>{var i;return{id:l.Id,level:l.LVL,levelled:l.LVD,position:l.POS,name:l.NM,build:(i=l.BLD)!=null?i:void 0}}),s=n=>n.map(l=>$_$() && ({heroId:l.HI,heroName:l.HN,level:l.LVL,playerName:l.PN,positionX:l.PX,positionY:l.PY,respawnTimer:l.RT,ultimateCoolDown:l.UCD,ultimateState:l.UST,itemIds:l.IT,hasAegis:l.HA,aegisTimer:l.AT,buyBack:l.BB,heroStatistic:l.HS?t(l.HS):void 0,ability:l.AB?o(l.AB):void 0,talent:l.TL?r(l.TL):void 0}));return{race:e.RS,heroesInfo:s(e.HR),bannedHeroesIds:e.BH,score:e.SC,netWorth:e.NW}},yg=({normalizedStatisticData:e})=>{const t=e.DotaStatistic,o=e.Stat1,r=e.Stat2,s=t?JSON.parse(t):void 0,n=o?JSON.parse(o):void 0,l=r?JSON.parse(r):void 0;return{common:s?xw(s):void 0,firstTeam:n?u_(n):void 0,secondTeam:l?u_(l):void 0}},Ig=e=>{$_$();var t,o,r,s,n,l,i,a,u,p,m;const c=(o=oe((t=e.P1)!=null?t:"[]"))!=null?o:[],_=(s=oe((r=e.P2)!=null?r:"[]"))!=null?s:[],h=(n=e.Combination1)!=null?n:"",g=(l=e.Combination2)!=null?l:"",S=oe((i=e.AC)!=null?i:0),P=oe((a=e.RC)!=null?a:0),v=oe((u=e.RT)!=null?u:0),R=oe((p=e.PT)!=null?p:0),y=oe((m=e.STATE)!=null?m:0),A=Ve(c),E=Ve(_);return{firstPlayerCards:A,secondPlayerCards:E,firstPlayerCombination:h,secondPlayerCombination:g,cardsTotal:S,cardsLeft:P,roundTime:v,passedTime:R,gameStatus:y}},Eg=({normalizedStatisticData:e})=>{const t=e.RoundTable;return t?JSON.parse(t):void 0},$w=e=>({pointId:e.P,winner:e.W,ace:!!e.A,fault:!!e.F,doubleFault:!!e.DF,out:!!e.O,let:!!e.L,challenge:!!e.CH}),Tg=({logger:e},t)=>{let o;try{o=t.RoundTable?JSON.parse(t.RoundTable):void 0}catch(s){e.error("Ошибка при разборе статистики EsportTennis в формате JSON")}return{esportTennisStatisticsPoints:o?o.map(s=>$w(s)):void 0}},Vw=(e,t)=>{const o=e.M1?JSON.parse(e.M1):[],r=e.M2?JSON.parse(e.M2):[],s=e.P1?JSON.parse(e.P1):void 0,n=e.P2?JSON.parse(e.P2):void 0,l=e.T?JSON.parse(e.T):void 0,i=e.S?JSON.parse(e.S):void 0,a=e.P?JSON.parse(e.P):void 0,u=e.SMain?JSON.parse(e.SMain):void 0,p=e.SDop?JSON.parse(e.SDop):void 0,m=e.AC1?JSON.parse(e.AC1):[],c=e.AC2?JSON.parse(e.AC2):[],_=t[Ce.TIME_IN_SECONDS];return{cardFirstPlayer:o,cardSecondPlayer:r,positionFirstPlayer:s,positionSecondPlayer:n,countStep:l,statusGame:i,currentPlayer:a,cubeValue:u,bonusStep:p,listActivatedBonusesFirstPlayer:m,listActivatedBonusesSecondPlayer:c,timeUntilNextTurn:_}},Og=e=>{$_$();var t;const o=(t=e.N)!=null?t:void 0,r=Number(e.Z),s=Number(e.S),n=e.A?e.A:void 0,l=e.R,i=e.C?e.C:"0";return{roundsNumbers:o,zeroCount:r,wheelAnimationValue:n,wheelBeforeAnimationValue:i,gameStatus:s,roundsWinnerIds:l}};var Hw=Object.defineProperty,Kw=(e,t,o)=>t in e?Hw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,Ye=(e,t,o)=>Kw(e,typeof t!="symbol"?t+"":t,o);let Ww=class extends Be{constructor({gameData:t,T:o,logger:r}){var s,n,l,i;super(),Ye(this,"courseOfPlay"),Ye(this,"info"),Ye(this,"subScore"),Ye(this,"hasTimeline"),Ye(this,"firstTeamFoulStatistics"),Ye(this,"secondTeamFoulStatistics"),Ye(this,"extraTimeLabel"),Ye(this,"alternativeNames"),Ye(this,"penaltyStatistics"),Ye(this,"serverTeamNumber"),Ye(this,"cricket"),Ye(this,"subwaySurfers"),Ye(this,"SETTE_E_MEZZO"),Ye(this,"golf"),Ye(this,"CSGO"),Ye(this,"crystalStatistic"),Ye(this,"dota"),Ye(this,"alpineSkiingCyber"),Ye(this,"indianPokerStatistic"),Ye(this,"esportTennisStatistic"),Ye(this,"cyberRoulette"),Ye(this,"baseballStatistic"),Ye(this,"goldRushStatistic"),Ye(this,"worldOfWarcraftStatistic");const a=t.unparsedScoresData,{champId:u,sportId:p,subSportId:m,summary:c}=t;this.courseOfPlay=a[Ce.COURSE_OF_PLAY],this.info=(s=a[Ce.SCORES_DATA_INFO])!=null?s:void 0,this.subScore=a[Ce.SUB_SCORE]!==void 0?{firstOpponentScore:a[Ce.SUB_SCORE].S1||0,secondOpponentScore:a[Ce.SUB_SCORE].S2||0}:void 0,this.hasTimeline=a[Ce.HAS_TIMELINE]===1,this.serverTeamNumber=a[Ce.SERVER_TEAM];const _=a[Ce.STATISTIC]||[],h=Hn(_)?sr(_,{idKey:"Key",getValue:P=>P.Value}).data:_;if(c){const P=ko.fromSummary(c==null?void 0:c[0]);this.firstTeamFoulStatistics=P.firstTeam,this.secondTeamFoulStatistics=P.secondTeam}else this.firstTeamFoulStatistics=ko.fromEncodedData(h),this.secondTeamFoulStatistics=ko.fromEncodedData(h,{isFirstTeam:!1});this.alternativeNames=Hi.fromEncodedData(h),this.penaltyStatistics=qn.fromEncodedData(a[Ce.SERVER_TEAM],h),this.extraTimeLabel=h.AddTime;const g=h==null?void 0:h.InnsStats,S=(n=g==null?void 0:g.split(";"))==null?void 0:n[2];this.cricket={innsStats:g,innsStatOver:S,inningsStatistic:_g({statistic:h.InningsStatistic,T:o,logger:r,periodName:t.periodName})},p===195&&(this.subwaySurfers={totalGold:parseInt((l=h==null?void 0:h.total_gold)!=null?l:"",10),totalScores:parseInt((i=h==null?void 0:h.total_scores)!=null?i:"",10)}),p===40&&(m===3||m===46)&&(this.CSGO=gg({normalizedStatisticData:h})),p===284&&(this.SETTE_E_MEZZO=Sg({logger:r},h)),p===287&&(this.crystalStatistic=h),[41,120].includes(p)&&(this.golf=hg({logger:r},h)),p===40&&m===1&&(this.dota=yg({normalizedStatisticData:h})),p===269&&(this.alpineSkiingCyber=Eg({normalizedStatisticData:h})),p===167&&u===2566618&&(this.indianPokerStatistic=Ig(h)),p===94&&(this.esportTennisStatistic=Tg({logger:r},h)),p===301&&(this.cyberRoulette=Og(h)),p===5&&(this.baseballStatistic=fg(h)),p===306&&(this.goldRushStatistic=Vw(h,a)),p===310&&(this.worldOfWarcraftStatistic=Yk(h))}},Yw=class vg extends Be{constructor({id:o,name:r="",firstOpponentScore:s,secondOpponentScore:n}={}){super();T(this,"id");T(this,"name");T(this,"firstOpponentScore");T(this,"secondOpponentScore");this.id=o,this.name=r,this.firstOpponentScore=s,this.secondOpponentScore=n}static fromEncodedData(o=i=>i,{S1:r="",S2:s="",ID:n}={},l=!0){$_$();const i=String(r!=null?r:""),a=String(s!=null?s:""),u=`statistic_game_${n}`,p=o(u)||String(n),m=new vg({id:n,firstOpponentScore:i,secondOpponentScore:a,name:p});return l?jt(m):m}};const jw=(e,t,o=!0)=>sr(t,{idKey:"Key",getValue:({Value:s})=>s.map(n=>Yw.fromEncodedData(e,n,o))}).data,la=({name:e,gameType:t,gameAdditionalType:o})=>[e,t].filter(Boolean).join(" ").trim()||o||"",Zw=1,qw=2,Jw=3,Xw=e=>{const t="/genfiles/cms/";switch(e){case Zw:return`${t}sport_preview_46230970c6cb2af5e693a5175730effd.png`;case qw:return`${t}sport_preview_e9e99e0520f2b4b23c88a3f49307fa9b.png`;case Jw:return`${t}sport_preview_fbdd801a89c98f3663092407f8abee0a.png`;default:return""}},p_="statDay",Pg=e=>{$_$();const t="#/#",o="###",r=e.replace(/(([^;]+;){3}[^#/]+)([#/])/g,"$1#$3#").split(t).flatMap(s=>s.split(o)).filter(Boolean);return r.length%2!==0&&r.push(""),gi(r,2)};var zw=Object.defineProperty,Qw=(e,t,o)=>t in e?zw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,tc=(e,t,o)=>Qw(e,typeof t!="symbol"?t+"":t,o);class Bu extends Be{constructor(t){super(),tc(this,"id"),tc(this,"name"),tc(this,"nameEng"),this.id=t.id,this.name=t.name,this.nameEng=t.nameEng}}var eD=Object.defineProperty,tD=(e,t,o)=>t in e?eD(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,no=(e,t,o)=>tD(e,typeof t!="symbol"?t+"":t,o);class ca extends Bu{constructor({id:t=Ro("game-"),sportId:o,champ:r,awayTeam:s,awayTeamFullScore:n,homeTeam:l,homeTeamFullScore:i,name:a,nameEng:u,countryId:p,videoId:m,zoneId:c,isOurRegion:_,startUnixDate:h,shortId:g,markets:S}){super({id:t,name:a,nameEng:u}),no(this,"sportId"),no(this,"champ"),no(this,"awayTeam"),no(this,"awayTeamFullScore"),no(this,"homeTeam"),no(this,"homeTeamFullScore"),no(this,"countryId"),no(this,"videoId"),no(this,"zoneId"),no(this,"isOurRegion"),no(this,"startUnixDate"),no(this,"shortId"),no(this,"markets"),this.sportId=o,this.champ=r,this.awayTeam=s,this.awayTeamFullScore=n,this.homeTeam=l,this.homeTeamFullScore=i,this.countryId=p,this.videoId=m,this.zoneId=c,this.isOurRegion=_,this.startUnixDate=h,this.shortId=g,this.markets=S}}var oD=Object.defineProperty,rD=(e,t,o)=>t in e?oD(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,d_=(e,t,o)=>rD(e,typeof t!="symbol"?t+"":t,o);class Ir extends Bu{constructor({id:t=Ro("team-"),countryId:o,logoFileNames:r,name:s,nameEng:n}){super({id:t,name:s,nameEng:n}),d_(this,"countryId"),d_(this,"logoFileNames"),this.countryId=o,this.logoFileNames=r}}function sD(e,t){const o=";";return Pg(e).map(([r,s])=>{const[n,l,,i]=r.split(o),[a,,,u]=s.split(o);return new ca({name:"",homeTeam:new Ir({name:n,countryId:t.countryId,logoFileNames:[i]}),awayTeam:new Ir({name:a,countryId:t.countryId,logoFileNames:[u]}),startUnixDate:Number(l),sportId:String(t.sportId),countryId:t.countryId,isOurRegion:t.isOurRegion})})}var nD=Object.defineProperty,ui=Object.getOwnPropertySymbols,Ag=Object.prototype.hasOwnProperty,Cg=Object.prototype.propertyIsEnumerable,Gc=(e,t,o)=>t in e?nD(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,aD=(e,t)=>{for(var o in t||(t={}))Ag.call(t,o)&&Gc(e,o,t[o]);if(ui)for(var o of ui(t))Cg.call(t,o)&&Gc(e,o,t[o]);return e},iD=(e,t)=>{var o={};for(var r in e)Ag.call(e,r)&&t.indexOf(r)<0&&(o[r]=e[r]);if(e!=null&&ui)for(var r of ui(e))t.indexOf(r)<0&&Cg.call(e,r)&&(o[r]=e[r]);return o},lD=(e,t,o)=>Gc(e,t+"",o);class Mu extends Bu{constructor(t){var o=t,{id:r=Ro("champ-")}=o,s=iD(o,["id"]);super(aD({id:r},s)),lD(this,"logotype"),this.logotype=s.logotype}}function cD(e,t,o,r){var s,n;const l=";",i=Pg(e),a=t.slice(0,i.length),u=((s=r.firstOpponentNameEng)!=null?s:"").split("/"),p=((n=r.secondOpponentNameEng)!=null?n:"").split("/");return Eh(i,a,u,p).map(([[m,c],_,h,g])=>{$_$();var S,P,v,R,y,A,E;const[w,L,,V]=(S=m==null?void 0:m.split(l))!=null?S:[],[U,H,,k]=(P=c==null?void 0:c.split(l))!=null?P:[],F=parseInt(L,10),te=parseInt(H,10),ce=String((v=_==null?void 0:_.GI)!=null?v:"")||void 0,x=Number.isNaN(F)?0:F,de=Number.isNaN(te)?0:te,se=new Ir({name:w,nameEng:h,countryId:r.countryId,logoFileNames:[V]}),ve=new Ir({name:U,nameEng:g,countryId:r.countryId,logoFileNames:[k]}),K=String(r.sportId),Se=new Mu({id:String((R=_==null?void 0:_.CI)!=null?R:"")||void 0,name:(y=r.champName)!=null?y:"",nameEng:(A=r.champNameEng)!=null?A:"",logotype:(E=r.champLogotype)!=null?E:""}),W=_!=null&&_.VI&&_.VI!=="0"?_.VI:void 0,j=o&&(_!=null&&_.ZP)&&_.ZP!=="0"?_.ZP:void 0;return new ca({id:ce,name:"",sportId:K,homeTeamFullScore:x,awayTeamFullScore:de,homeTeam:se,awayTeam:ve,champ:Se,zoneId:j,videoId:W,countryId:r.countryId,isOurRegion:r.isOurRegion})})}function uD(e,t,o,r,s){return t!=null&&t[p_]?sD(t[p_],r):e!=null&&e.AltCaptionsByTeams?cD(e.AltCaptionsByTeams,s,o,r):[]}const Gu=e=>$_$() && N(d({},e),{AE:void 0,I:void 0,CI:void 0,TG:void 0,V:void 0,PN:void 0,E:void 0,EC:void 0,MEC:void 0,P:void 0,TI:void 0});var pD=Object.defineProperty,dD=Object.defineProperties,mD=Object.getOwnPropertyDescriptors,m_=Object.getOwnPropertySymbols,_D=Object.prototype.hasOwnProperty,hD=Object.prototype.propertyIsEnumerable,__=(e,t,o)=>t in e?pD(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,h_=(e,t)=>{for(var o in t||(t={}))_D.call(t,o)&&__(e,o,t[o]);if(m_)for(var o of m_(t))hD.call(t,o)&&__(e,o,t[o]);return e},fD=(e,t)=>dD(e,mD(t));const gD=({unparsedSourceGame:e,gameModelFactory:t})=>{$_$();const o=e.MG,r=e.CMG,s=e.I,n=e.CI,l=fe(o),i=l?o:s,a=l?r:n,u=e.BIG||[],p=e.SG||[],m=l?u:p,c=Gu(e);return m.map(_=>t(fD(h_(h_({},c),_),{SG:void 0,BIG:void 0,HS:!1,MG:i,CMG:a})))},ku=e=>e.reduce((t,o)=>N(d({},t),{[o.groupId]:[...t[o.groupId]||[],o]}),{}),wu=({menuSection:e,isCyber:t,isNew:o}={})=>{$_$();var s;const r=vv({menuSection:e,isCyber:t,isNew:o});return Co((s=Gs[r])!=null?s:"")},bg=({unparsedMarket:e,gameData:t,marketGroupTemplatesByGroupId:o,language:r})=>{$_$();var s,n;const l=e.G,i=o[l];return If({unparsedMarket:e,groupTemplateModel:i,game:t,marketsCount:(n=(s=t.markets)==null?void 0:s.length)!=null?n:0,language:r})},SD=({gameData:e,marketGroupTemplatesByGroupId:t,language:o})=>{var r,s,n,l;return t?(s=(r=e.additionalMarkets)==null?void 0:r.map(i=>$_$() && ({groupId:i.G,additionalMarketsList:i.ME.map(a=>bg({unparsedMarket:a,gameData:e,language:o,marketGroupTemplatesByGroupId:t}))})))!=null?s:[]:(l=(n=e.additionalMarkets)==null?void 0:n.map(i=>$_$() && ({groupId:i.G,additionalMarketsList:Ou(i.ME,e)})))!=null?l:[]},yD=({gameData:e,marketGroupTemplatesByGroupId:t,language:o})=>{var r,s;return t?(s=(r=e.markets)==null?void 0:r.map(n=>bg({unparsedMarket:n,gameData:e,marketGroupTemplatesByGroupId:t,language:o})))!=null?s:[]:Ou(e.markets,e)},Du=e=>{$_$();pe.cleanMarkets&&(e.E=[],e.AE=[])},f_=(e,t)=>e==null?void 0:e.map(o=>$_$() && Lc(t===202?ph:o)),ID="Player",g_="O1",S_="O2",ED=({gameData:e,normalizedStatisticData:t})=>{$_$();let{firstOpponentName:o,secondOpponentName:r}=e;if(e.sportId===192){const s=t[ID];if(fe(s)){const n=oe(s);n[g_]&&(o=n[g_]),n[S_]&&(r=n[S_])}}return{firstOpponentName:o,secondOpponentName:r}},TD={1:"F",2:"M",3:"G"},OD={1:"noFront",2:"noRear",3:"noShoes",4:"noRearFirstTime",5:"noShoesFirstTime"},vD={1:"B",2:"D"},oc=({value:e,possibleValues:t})=>{if(e)return e in t?t[e]:void 0},Rg=({unparsedInfo:e,sportId:t})=>{const o=JSON.parse(e),r=n=>n.map(l=>{$_$();const i=l.F,a=i?`/resized/size16/sfiles/sppic1/horse_racing/${i}`:void 0;return{statisticId:l.SI,id:l.ID,name:l.N,jokey:l.J,jokeyWeight:l.W,position:l.R,shoe:oc({value:l.S,possibleValues:OD}),blinkers:l.B,jokeyClothesImage:i,jokeyClothesImagePath:a,lastForm:l.E,gender:oc({value:l.P,possibleValues:TD})||"-",age:l.A,trainer:l.T,status:l.U}}).sort((l,i)=>l.position-i.position),s=n=>n.map(l=>{$_$();var i,a,u;const p=l.F,m=p?`/resized/size16/sfiles/sppic1/greyhounds/${p}`:void 0;return{id:l.ID,name:l.N,position:l.R,gender:(i=oc({value:l.G,possibleValues:vD}))!=null?i:"-",dateBirth:(a=l.B)!=null?a:"-",lastForm:(u=l.E)!=null?u:"-",image:p,imagePath:m,status:l.U}}).sort((l,i)=>l.position-i.position);return{raceInfoSummary:{distance:o.D,age:o.AGE,name:o.RN},raceInfoRunners:t===44?r(o.R):s(o.R)}},Ng=e=>{var t,o;const r=new Ir({name:(t=e.O1)!=null?t:"",countryId:e.O1C,logoFileNames:e.O1IMG}),s=new Ir({name:(o=e.O2)!=null?o:"",countryId:e.O2C,logoFileNames:e.O2IMG});return{homeTeam:r,awayTeam:s}},PD="O1D",AD="O1S",CD="O2S",bD=e=>e.unparsedHomeAwayMatches.map((t,o)=>{$_$();var r,s,n,l,i,a,u,p;const{homeTeam:m,awayTeam:c}=Ng(t),{CI:_,GI:h,VI:g,ZP:S}=(r=e.unparsedAltVideoZone.at(o))!=null?r:{},P=`${t.O1}-${t.O2}`,v=g&&g!=="0"?g:void 0,R=e.sportId&&S&&S!=="0"?S:void 0,y=new Mu({id:_==null?void 0:_.toString(),name:(s=e.champName)!=null?s:"",nameEng:(n=e.champNameEng)!=null?n:"",logotype:(l=e.champLogotype)!=null?l:""});return new ca({id:h==null?void 0:h.toString(),name:P,champ:y,countryId:e.countryId,isOurRegion:e.isOurRegion,sportId:(a=(i=e.sportId)==null?void 0:i.toString())!=null?a:"",startUnixDate:t[PD],homeTeamFullScore:(u=t[AD])!=null?u:0,awayTeamFullScore:(p=t[CD])!=null?p:0,homeTeam:m,awayTeam:c,videoId:v,zoneId:R})}),RD=e=>{const t=e.P1?Sr(e.P1,100):-1,o=e.PX?Sr(e.PX,100):-1,r=e.P2?Sr(e.P2,100):-1;return{winFirst:t,draw:o,winSecond:r}},ND=(e,t,o)=>{if(!t||!e)return e;const r=Date.now()-t*1e3,s=Math.floor(r/1e3);return o?e-s:e+s};var LD=Object.defineProperty,BD=Object.defineProperties,MD=Object.getOwnPropertyDescriptors,y_=Object.getOwnPropertySymbols,GD=Object.prototype.hasOwnProperty,kD=Object.prototype.propertyIsEnumerable,I_=(e,t,o)=>t in e?LD(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,rc=(e,t)=>{for(var o in t||(t={}))GD.call(t,o)&&I_(e,o,t[o]);if(y_)for(var o of y_(t))kD.call(t,o)&&I_(e,o,t[o]);return e},E_=(e,t)=>BD(e,MD(t));class ua{static parseGameForSportMenu({unparsedGameData:t,marketGroupTemplatesByGroupId:o,dateTimeService:r,translationService:s,logger:n,lng:l,navigationTopChamp:i}){return this.parseGame({unparsedGameData:t,marketGroupTemplatesByGroupId:o,dateTimeService:r,translationService:s,logger:n,lng:l,navigationTopChamp:i})}static parseGameForDashboard({unparsedGameData:t,marketGroupTemplatesByGroupId:o,dateTimeService:r,translationService:s,logger:n,lng:l,navigationTopChamp:i}){return this.parseGame({unparsedGameData:t,marketGroupTemplatesByGroupId:o,dateTimeService:r,translationService:s,logger:n,lng:l,navigationTopChamp:i})}static parseGame({unparsedGameData:t,marketGroupTemplatesByGroupId:o,dateTimeService:r,translationService:s,logger:n,lng:l,navigationTopChamp:i}){return Du(t),this.parseGameDataByParser({unparsedGameData:t,parser:GG,marketGroupTemplatesByGroupId:o,dateTimeService:r,translationService:s,logger:n,lng:l,navigationTopChamp:i})}static parseGameDataByParser({unparsedGameData:t,parser:o,marketGroupTemplatesByGroupId:r,dateTimeService:s,translationService:n,logger:l,lng:i,navigationTopChamp:a}){$_$();var u,p,m,c,_,h,g,S,P,v,R,y,A,E,w,L,V,U,H,k,F,te,ce,x,de,se,ve,K,Se,W,j,De,Pe,X,Oe;const B=o(t),ue=BG(B.sportId)&&Hn((u=B.unparsedScoresData)==null?void 0:u[Ce.STATISTIC])?sr((m=(p=B.unparsedScoresData)==null?void 0:p[Ce.STATISTIC])!=null?m:[],{idKey:"Key",getValue:ot=>{var da;return(da=oe(ot==null?void 0:ot.Value,"Seed"))==null?void 0:da.Seed}}).data:(c=B.unparsedScoresData)==null?void 0:c[Ce.STATISTIC],ut=Hn((_=B.unparsedScoresData)==null?void 0:_[Ce.STATISTIC])?sr((h=B.unparsedScoresData)==null?void 0:h[Ce.STATISTIC],{idKey:"Key",getValue:ot=>ot.Value}).data:((g=B.unparsedScoresData)==null?void 0:g[Ce.STATISTIC])||[],ke=sr(B.unparsedMatchInfo,{idKey:"K",getValue:ot=>ot.V}).data,Mt=sr(B.unparsedMarketsCountByType,{idKey:"MT",getValue:ot=>ot.EC}).data,ne=sr(B.unparsedGameInfo,{idKey:"Key",getValue:ot=>ot.Value}).data,yt=((S=B.unparsedScoresData)==null?void 0:S[Ce.TIME_DIRECTION])===-1,pt=ND((P=B.unparsedScoresData)==null?void 0:P[Ce.TIME_IN_SECONDS],t.U,yt),Kt=(v=B.unparsedScoresData)==null?void 0:v[Ce.STAGE_TIME],ae=!!B.sportId,Re=jw(n,((R=B.unparsedScoresData)==null?void 0:R[Ce.STATISTIC_BY_PERIODS])||[]),Ke=B.unparsedScoresData?new Ww({gameData:E_(rc({},B),{summary:Re}),T:n,logger:l}):{},$e=!!B.unparsedScoresData,It=((A=(y=B.unparsedScoresData)==null?void 0:y[Ce.FULL_SCORES_DATA])==null?void 0:A.S1)||0,Ut=((w=(E=B.unparsedScoresData)==null?void 0:E[Ce.FULL_SCORES_DATA])==null?void 0:w.S2)||0,$=(V=(L=B.unparsedScoresData)==null?void 0:L[Ce.GAME_POINTS])!=null?V:{},J=!!Object.keys($).length,Le=$.S1||0,st=$.S2||0,dt=yD({gameData:B,marketGroupTemplatesByGroupId:r,language:i}),Et=SD({gameData:B,marketGroupTemplatesByGroupId:r,language:i}),[et=ks]=J0.filter(ot=>B.menuSections.includes(ot)),tt=B.mainGameId!==void 0,mr=B.sportId?Ao(et,B.sportId):void 0,ns=B.champId?Ao(et,B.champId):void 0;let Mr={};if(B.startUnixTimestamp){const ot=B.startUnixTimestamp*1e3;Mr={startTimestamp:ot,beforeStartMilliseconds:ot-Date.now(),dateMonth:s.getShortDateWithNumericMonth(B.startUnixTimestamp),timeBeforeStart:s.getTimeBeforeStart(B.startUnixTimestamp),shortDateWithAlphabeticMonth:s.getShortDateWithAlphabeticMonth(B.startUnixTimestamp),startDateFormatted:s.getFullDateFormatted(B.startUnixTimestamp),startShortDateFormatted:s.getShortDateWithNumericMonth(B.startUnixTimestamp),startTimeFormatted:s.formatTimeByUnix(B.startUnixTimestamp),gameTimeStatus:(U=B.unparsedScoresData)==null?void 0:U[Ce.GAME_TIME_STATUS]}}const Mo=FG(B.sportId,{regularScores:(H=B.unparsedScoresData)==null?void 0:H[Ce.GAME_RESPONSE_PERIOD_SCORES],statistic:ut}),as=gD({unparsedSourceGame:t,gameModelFactory:ot=>this.parseGame({unparsedGameData:ot,marketGroupTemplatesByGroupId:r,dateTimeService:s,translationService:n,logger:l,lng:i,navigationTopChamp:a})}),Zs=as.length||B.subGamesCount,jo=f_((k=B.firstOpponentLogoFileNames)!=null?k:[],B.sportId),Eo=f_((F=B.secondOpponentLogoFileNames)!=null?F:[],B.sportId),[Zo]=jo,[Gr]=Eo,{firstOpponentName:kr,secondOpponentName:wr}=ED({gameData:B,normalizedStatisticData:ut}),Wi=RD(B.winningProbabilities);return jt($f(rc(E_(rc({},B),{additionalMarkets:Et,isDummy:!1,firstOpponentFullScore:It,secondOpponentFullScore:Ut,firstOpponentLogoFileNames:jo,secondOpponentLogoFileNames:Eo,isSubGame:tt,hasScores:$e,champUniqKey:[B.countryId,B.champId].filter(Boolean).join("_"),homeTeamAdditionalInfo:(te=ue==null?void 0:ue.Stat1)!=null?te:"",awayTeamAdditionalInfo:(ce=ue==null?void 0:ue.Stat2)!=null?ce:"",zoneId:ae&&B.zoneId?String(B.zoneId):void 0,periodScores:Mo,cyberGameScores:dg(ut,B.sportId,B.champId,s),isTimeDirectionBackward:yt,isTimeRunning:((x=B.unparsedScoresData)==null?void 0:x[Ce.IS_TIME_RUNNING])!==void 0?((de=B.unparsedScoresData)==null?void 0:de[Ce.IS_TIME_RUNNING])!==-1:!1,timeInSeconds:pt,startOfNextRound:Kt,currentPeriod:((se=B.unparsedScoresData)==null?void 0:se[Ce.CURRENT_PERIOD])||"",currentPeriodLabel:((ve=B.unparsedScoresData)==null?void 0:ve[Ce.CURRENT_PERIOD_LABEL])||"",periodsCount:(Se=(K=B.unparsedScoresData)==null?void 0:K[Ce.PERIODS_COUNT])!=null?Se:void 0,gameStatus:((W=B.unparsedScoresData)==null?void 0:W[Ce.GAME_STATUS])||0,summary:Re,name:la({name:B.name,gameType:B.gameType,gameAdditionalType:tt?B.additionalType:void 0}),weatherData:Ds.fromEncodedData(ke),matchInfo:es.fromEncodedData(ke),marketsCountByType:Mt,marketTypes:gu.filter(ot=>Mt[ot]>0),sportImage:B.sportImage||Xw(B.subSportId),matches:uD(ut,ne,ae,{sportId:B.sportId,sportName:B.sportName,sportNameEng:B.sportNameEng,champName:B.champName,champNameEng:B.champNameEng,champLogotype:B.champLogotype,countryId:B.countryId,isCyberSport:B.isCyberSport,isOurRegion:B.isOurRegion,firstOpponentNameEng:B.firstOpponentNameEng||B.firstOpponentName,secondOpponentNameEng:B.secondOpponentNameEng||B.secondOpponentName},B.unparsedAltVideoZone),homeAwayMatches:bD(B),raceInfo:ne!=null&&ne.Stat?Rg({unparsedInfo:ne.Stat,sportId:B.sportId}):void 0,subGames:as,subGamesCount:Zs,sportNameForUrl:Qr({sportName:B.sportName||"",sportNameEng:B.sportNameEng}),subSportNameForUrl:Qr({sportName:B.subSportName||"",sportNameEng:B.subSportNameEng}),firstOpponentScoreLabel:li({sportId:B.sportId,hasScores:$e,scoreLabel:(De=(j=ut.Team1Scores)!=null?j:It)!=null?De:"",gameStatistic:Ke,serverTeamNumber:1}),secondOpponentScoreLabel:li({sportId:B.sportId,hasScores:$e,scoreLabel:(X=(Pe=ut.Team2Scores)!=null?Pe:Ut)!=null?X:"",gameStatistic:Ke,serverTeamNumber:2}),markets:dt,marketGroups:ku(dt),isLong:Nu(dt),statistics:Ke,gameIdForUrl:String(B.permanentId||B.id),gameNameForUrl:$i(B),champNameForUrl:na(B),menuSectionNameForUrl:wu({menuSection:et,isCyber:B.isCyberSport,isNew:B.isNew}),timeFormatted:pt?s.formatDuration(pt):void 0,sectionSportId:mr,sectionChampId:ns,firstOpponentLogo:Zo,secondOpponentLogo:Gr,firstOpponentName:kr,secondOpponentName:wr,isHasPoints:J,firstOpponentPoint:Le,secondOpponentPoint:st,champTag:Vi(B.champId,a),info:((Oe=B.unparsedScoresData)==null?void 0:Oe[Ce.SCORES_DATA_INFO])||"",winningProbabilities:Wi}),Mr)))}}const wD=({response:e,translationService:t,siteConfig:o,dateTimeService:r,logger:s})=>{$_$();const n=e[NG],[l]=n?n.split(/\D+/):[],i=l?Number(l.slice(0,10)):void 0;return ua.parseGame({unparsedGameData:{I:e[vG],MG:e[Gm],CMG:e[Gm],LI:e[PG],O1:e[AG],O2:e[bG],O1E:e[CG],O2E:e[RG],S:i},dateTimeService:r,translationService:t,logger:s,lng:o.lng,navigationTopChamp:o.navigationTopChamp})};var DD=Object.defineProperty,FD=(e,t,o)=>t in e?DD(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,gs=(e,t,o)=>FD(e,typeof t!="symbol"?t+"":t,o);class pi{constructor({name:t="",id:o,sportId:r,events:s=[],parentEventId:n,isDisabled:l=!0}){gs(this,"name"),gs(this,"id"),gs(this,"sportId"),gs(this,"parentEventId"),gs(this,"events"),gs(this,"isDisabled"),this.name=t,this.id=o,this.sportId=r,this.events=s,this.parentEventId=n,this.isDisabled=l}}const UD=(e=[])=>(e||[]).map(({PeriodType:t,EventType:o})=>new pi({id:t,isDisabled:!1,events:o.map(r=>new pi({id:r,isDisabled:!1,parentEventId:t}))})),T_=({EventsByPeriodType:e=[],Sport:t}={})=>(e||[]).map(({TypePeriod:o,TypesEvent:r})=>new pi({name:o.value,id:o.key,sportId:t,events:r.map(({Value:s,Key:n})=>new pi({name:s,id:n,sportId:t,parentEventId:o.key}))}));function xD(e){const o=e.split("+").map(s=>s.trim()).filter(Boolean),[,r]=o;return Number(r!=null?r:0)}const $D=e=>e&&Object.keys(e).length>0,VD=e=>{$_$();var t;const o=parseInt(e.CI,10),r=e.CN,s=e.P,n=parseInt(e.T,10),l=parseInt(e.S,10),i=String((t=e.DSC)!=null?t:""),a=e.PD,u=xD(String(e.T));return new Hf({code:o,name:r,playerName:s,timeInMinutes:n,teamNumber:l,status:i,additionalTimeInMinutes:u,periodNumber:a})},HD=e=>{let t=[];return e&&(t=e.filter($D).map(VD)),t},KD=e=>e,WD=e=>e==null?void 0:e.map(t=>KD({id:t.Id,logo:t.Logo,playerName:t.PlayerName,isAwayTeam:t.Team===2,isFirstTeamChecked:!1,isSecondTeamChecked:!1}));var YD=Object.defineProperty,jD=Object.defineProperties,ZD=Object.getOwnPropertyDescriptors,O_=Object.getOwnPropertySymbols,qD=Object.prototype.hasOwnProperty,JD=Object.prototype.propertyIsEnumerable,v_=(e,t,o)=>t in e?YD(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,P_=(e,t)=>{for(var o in t||(t={}))qD.call(t,o)&&v_(e,o,t[o]);if(O_)for(var o of O_(t))JD.call(t,o)&&v_(e,o,t[o]);return e},XD=(e,t)=>jD(e,ZD(t));const zD=e=>({horse:{horseId:e.id,horseName:e.name,horseGender:e.gender,horseBirthYear:e.yearBirth,horseFather:e.sire,horseMother:e.dam,horseMothersFather:e.damSire,horseColor:e.colour,horseCreator:e.breeder,horseOwner:e.owner,horseTrainer:e.trainerName}}),QD=e=>e&&{jokey:{jokeyId:e.id,jokeyName:e.name}},A_=e=>({raceId:e.entity.id,sportId:e.entity.sportId,raceStatus:e.entity.status,startDate:e.entity.dateStart,country:e.entity.country,hippodrome:e.entity.hippodrome,name:e.entity.name,stageId:e.entity.stageId,runners:(e.entity.runners||[]).map(t=>{var o;return XD(P_(P_({},zD(t.horse)),QD((o=e.jokeys.find(r=>r.id===t.jockeyId))!=null?o:{})),{startPosition:t.startPos,weight:t.weight,jockeyJacket:t.silk,distance:t.distance,position:t.position,age:t.age})})}),eF=({unparsedSubGame:e,translationService:t,siteConfig:o,dateTimeService:r,logger:s})=>$_$() && ua.parseGame({unparsedGameData:N(d({},e),{MG:void 0,PN:void 0,BIG:void 0,CI:e.CMG,I:e.MG,P:void 0,TI:void 0}),dateTimeService:r,translationService:t,logger:s,lng:o.lng,navigationTopChamp:o.navigationTopChamp}),tF=({otherGameSourceData:e,thisGameSourceData:t,mainGameId:o=ao("mainGameId"),translationService:r,siteConfig:s,dateTimeService:n,logger:l}={})=>{const i=Gu(e),a=N(d(d({},i),t),{SG:void 0,BIG:void 0,HS:!1,MG:o});return ua.parseGame({unparsedGameData:a,dateTimeService:n,translationService:r,logger:l,lng:s.lng,navigationTopChamp:s.navigationTopChamp})};var oF=Object.defineProperty,rF=Object.defineProperties,sF=Object.getOwnPropertyDescriptors,C_=Object.getOwnPropertySymbols,nF=Object.prototype.hasOwnProperty,aF=Object.prototype.propertyIsEnumerable,b_=(e,t,o)=>t in e?oF(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,iF=(e,t)=>{for(var o in t||(t={}))nF.call(t,o)&&b_(e,o,t[o]);if(C_)for(var o of C_(t))aF.call(t,o)&&b_(e,o,t[o]);return e},lF=(e,t)=>rF(e,sF(t));const cF=async(e,t,o)=>{$_$();let r,s;const{homeTeam:n,awayTeam:l}=Ng(e);return new ca({id:e.I,name:"",homeTeam:n,awayTeam:l,sportId:String(t.sportId),startUnixDate:Number(e.S),shortId:e.N,markets:([r,s]=I(()=>{$_$();var i;return o.parseMarketsWithName((i=e.E)!=null?i:[],lF(iF({},t),{firstOpponentName:n.name,secondOpponentName:l.name,id:e.I,champName:e.L}))}),r=await r,s(),r)})},uF=async(e,t)=>{$_$();let o,r,s=[];if(Array.isArray(e.topChampMatches)){const n={sportId:e.sportId,sectionType:e.sectionType,name:e.name};s=([o,r]=I(()=>Promise.all(e.topChampMatches.map(l=>cF(l,n,t)))),o=await o,r(),o)}return s};var pF=Object.defineProperty,dF=Object.defineProperties,mF=Object.getOwnPropertyDescriptors,R_=Object.getOwnPropertySymbols,_F=Object.prototype.hasOwnProperty,hF=Object.prototype.propertyIsEnumerable,N_=(e,t,o)=>t in e?pF(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,_o=(e,t)=>{for(var o in t||(t={}))_F.call(t,o)&&N_(e,o,t[o]);if(R_)for(var o of R_(t))hF.call(t,o)&&N_(e,o,t[o]);return e},sc=(e,t)=>dF(e,mF(t));class fF{static parseResponse({unparsedCurrentGameData:t,marketsParser:o,translationService:r,siteConfig:s,dateTimeService:n,logger:l}){return Object.keys(t).length?t.MG===void 0?this.parseMainGameResponse({unparsedCurrentGameData:t,marketsParser:o,translationService:r,siteConfig:s,dateTimeService:n,logger:l}):this.parseSubGameResponse({unparsedCurrentGameData:t,marketsParser:o,translationService:r,siteConfig:s,dateTimeService:n,logger:l}):Promise.resolve({})}static async parseMainGameResponse({unparsedCurrentGameData:t,marketsParser:o,translationService:r,siteConfig:s,dateTimeService:n,logger:l}){$_$();let i,a;const u=([i,a]=I(()=>this.parseMainGameSubGamesResponse({unparsedCurrentGameData:t,marketsParser:o,translationService:r,siteConfig:s,dateTimeService:n,logger:l})),i=await i,a(),i),{game:p,marketGroups:m,unparsedMarketGroupsByGameId:c}=([i,a]=I(()=>this.parseGame({unparsedGame:t,unparsedCurrentGameData:t,marketsParser:o,translationService:r,siteConfig:s,dateTimeService:n,logger:l})),i=await i,a(),i);return{currentGameId:p.id,gameIds:[p.id,...u.gameIds],gamesById:sc(_o({},u.gamesById),{[p.id]:p}),marketGroups:[...m,...u.marketGroups],unparsedMarketGroupsByGameId:_o(_o({},c),u.unparsedMarketGroupsByGameId)}}static async parseMainGameSubGamesResponse({unparsedCurrentGameData:t,marketsParser:o,translationService:r,siteConfig:s,dateTimeService:n,logger:l}){$_$();let i,a;const u=t.SG||[],p=t.I,m=u.map(_=>this.parseGame({unparsedGame:_,unparsedCurrentGameData:t,marketsParser:o,mainGameId:p,translationService:r,siteConfig:s,dateTimeService:n,logger:l}));return([i,a]=I(()=>Promise.all(m)),i=await i,a(),i).reduce((_,h)=>this.collectParsedData(_o({collectedData:_},h)),{currentGameId:void 0,gameIds:[],gamesById:{},marketGroups:[],unparsedMarketGroupsByGameId:{}})}static async parseSubGameResponse({unparsedCurrentGameData:t,marketsParser:o,translationService:r,siteConfig:s,dateTimeService:n,logger:l}){$_$();var i;let a,u;const p=(i=t.BIG)!=null?i:[],m=t.I,c=t.MG,_=eF({unparsedSubGame:t,translationService:r,siteConfig:s,dateTimeService:n,logger:l}),h=p.map(S=>$_$() && S.I===m?this.parseGame({unparsedCurrentGameData:t,unparsedGame:t,marketsParser:o,translationService:r,siteConfig:s,dateTimeService:n,logger:l}):Promise.resolve(this.parsePartialGame({unparsedSubGame:S,unparsedCurrentGameData:t,translationService:r,siteConfig:s,dateTimeService:n,logger:l})));return([a,u]=I(()=>Promise.all(h)),a=await a,u(),a).reduce((S,P)=>this.collectParsedData(_o({collectedData:S},P)),{currentGameId:m,gameIds:[c],gamesById:{[c]:_},marketGroups:[],unparsedMarketGroupsByGameId:{}})}static collectParsedData({collectedData:t,game:o,marketGroups:r,unparsedMarketGroupsByGameId:s}){return sc(_o({},t),{gameIds:[...t.gameIds,o.id],gamesById:sc(_o({},t.gamesById),{[o.id]:o}),marketGroups:[...t.marketGroups,...r],unparsedMarketGroupsByGameId:_o(_o({},t.unparsedMarketGroupsByGameId),s)})}static async parseGame({unparsedGame:t,unparsedCurrentGameData:o,mainGameId:r,marketsParser:s,translationService:n,siteConfig:l,dateTimeService:i,logger:a}){$_$();var u;let p,m;const c=ua.parseGame({unparsedGameData:_o(_o(_o({},o!==t?Gu(o):{}),t),r?{MG:r}:{}),translationService:n,dateTimeService:i,logger:a,lng:l.lng,navigationTopChamp:l.navigationTopChamp});c.topChampMatches&&(c.topChampMatches=([p,m]=I(()=>uF(c,s)),p=await p,m(),p));const _=(u=t.GE)!=null?u:[],h=_.length?{[c.id]:_}:void 0,g=([p,m]=I(()=>s.parseMarketGroups(c,_)),p=await p,m(),p);return{game:c,marketGroups:g,unparsedMarketGroupsByGameId:h}}static parsePartialGame({unparsedSubGame:t,unparsedCurrentGameData:o,dateTimeService:r,logger:s,siteConfig:n,translationService:l}){return{game:tF({otherGameSourceData:o,thisGameSourceData:t,mainGameId:o.MG,translationService:l,siteConfig:n,dateTimeService:r,logger:s}),marketGroups:[],unparsedMarketGroupsByGameId:{}}}}var di={exports:{}};di.exports;(function(e,t){var o=200,r="__lodash_hash_undefined__",s=9007199254740991,n="[object Arguments]",l="[object Array]",i="[object Boolean]",a="[object Date]",u="[object Error]",p="[object Function]",m="[object GeneratorFunction]",c="[object Map]",_="[object Number]",h="[object Object]",g="[object Promise]",S="[object RegExp]",P="[object Set]",v="[object String]",R="[object Symbol]",y="[object WeakMap]",A="[object ArrayBuffer]",E="[object DataView]",w="[object Float32Array]",L="[object Float64Array]",V="[object Int8Array]",U="[object Int16Array]",H="[object Int32Array]",k="[object Uint8Array]",F="[object Uint8ClampedArray]",te="[object Uint16Array]",ce="[object Uint32Array]",x=/[\\^$.*+?()[\]{}|]/g,de=/\w*$/,se=/^\[object .+?Constructor\]$/,ve=/^(?:0|[1-9]\d*)$/,K={};K[n]=K[l]=K[A]=K[E]=K[i]=K[a]=K[w]=K[L]=K[V]=K[U]=K[H]=K[c]=K[_]=K[h]=K[S]=K[P]=K[v]=K[R]=K[k]=K[F]=K[te]=K[ce]=!0,K[u]=K[p]=K[y]=!1;var Se=typeof ya=="object"&&ya&&ya.Object===Object&&ya,W=typeof self=="object"&&self&&self.Object===Object&&self,j=Se||W||Function("return this")(),De=t&&!t.nodeType&&t,Pe=De&&!0&&e&&!e.nodeType&&e,X=Pe&&Pe.exports===De;function Oe(f,b){return f.set(b[0],b[1]),f}function B(f,b){return f.add(b),f}function ue(f,b){for(var M=-1,z=f?f.length:0;++M-1}function Qg(f,b){var M=this.__data__,z=ma(M,f);return z<0?M.push([f,b]):M[z][1]=b,this}qo.prototype.clear=qg,qo.prototype.delete=Jg,qo.prototype.get=Xg,qo.prototype.has=zg,qo.prototype.set=Qg;function is(f){var b=-1,M=f?f.length:0;for(this.clear();++b-1&&f%1==0&&f-1&&f%1==0&&f<=s}function ha(f){var b=typeof f;return!!f&&(b=="object"||b=="function")}function FS(f){return!!f&&typeof f=="object"}function qi(f){return qu(f)?uS(f):fS(f)}function US(){return[]}function xS(){return!1}e.exports=MS})(di,di.exports);var gF=di.exports;const nc=uf(gF),La="",SF=async e=>{$_$();let t,o;if(!e.get("testEU"))return{GamesByGlobalChamp:void 0,GlobalChamp1x2:void 0,GetChronoOfPlay:void 0,GetGameZip:void 0};const r=JSON.parse(([t,o]=I(()=>$fetch(`${La}/genfiles/cms/1/desktop/cms/GamesByGlobalChamp.txt`)),t=await t,o(),t+"}")),s=JSON.parse(([t,o]=I(()=>$fetch(`${La}/genfiles/cms/1/desktop/cms/GlobalChamp1x2.txt`)),t=await t,o(),t+"}")),n=JSON.parse(([t,o]=I(()=>$fetch(`${La}/genfiles/cms/1/desktop/cms/GetChronoOfPlay.txt`)),t=await t,o(),t+"}")),l=JSON.parse(([t,o]=I(()=>$fetch(`${La}/genfiles/cms/1/desktop/cms/GetGameZip.txt`)),t=await t,o(),t+"")),i={GamesByGlobalChamp:r,GlobalChamp1x2:s,GetChronoOfPlay:n,GetGameZip:l},a=(_,h,g,S)=>{_-h.S*1e3>g&&(h.S=Math.floor((_-(S-h.S*1e3))/1e3))},u=(_,h,g,S)=>{$_$();const P=Number(new Date);switch(_){case"GamesByGlobalChamp":h.Value.G.forEach(v=>a(P,v,g,S));break;case"GlobalChamp1x2":h.Value.forEach(v=>a(P,v,g,S));break;case"GetGameZip":a(P,h.Value,g,S);break}},p=(_,h)=>{Object.keys(h).forEach(g=>{$_$();if(h[g]==="DELETE"){delete _[g];return}if(!_c(h[g])){_[g]=h[g];return}if(!_c(_[g])){_[g]=nc(h[g]);return}p(_[g],h[g]),Array.isArray(_[g])&&(_[g]=_[g].filter(S=>S!==void 0))})},m=Number(i.GlobalChamp1x2.state.time),c=Number(Object.keys(i.GlobalChamp1x2.mutations).at(-1))-m;return Object.keys(i).reduce((_,h)=>{const{state:g,mutations:S}=i[h],P=Object.keys(S);let v=nc(g.data),R=-1;return Object.defineProperty(_,h,{get(){const y=Number(new Date)-m,A=m+y%c;A<=Number(P[R])&&(v=nc(g.data),R=-1);for(let E=R+1;Number(P[E])<=A;E++){const w=S[P[E]];p(v,w),R=E}return u(h,v,c,A),v}}),_},{})},Ki=e=>"errorCode"in e,yF=(e,{navigationTopChamp:t,logger:o})=>{$_$();var r,s,n,l,i,a,u,p,m,c,_,h,g,S,P,v,R,y,A,E,w,L;if(!fe(e.id))return{isGameOver:!0};try{const{constId:V,countryId:U,dopInfo:H,hasGraph:k,id:F,isNewChamp:te,kind:ce,liga:x,matchInfoObj:de,menuSection:se,num:ve,opponent1:K,opponent2:Se,periodName:W,sport:j,startTs:De,statisticInfo:Pe,subSport:X,video:Oe,zonePlay:B,subGamesForMainGame:ue,isFinished:ut,mainGameId:ke,gameTypeName:Mt,gameVidName:ne,isBetBuilderAvailable:yt,nonStarted:pt}=e,Kt=j.id&&se?Ao(se,j.id):void 0,ae=x.id&&se?Ao(se,x.id):void 0,Re=((r=K==null?void 0:K.opps)!=null?r:[]).map(J=>J.image),Ke=((s=Se==null?void 0:Se.opps)!=null?s:[]).map(J=>J.image),$e=((n=K==null?void 0:K.opps)!=null?n:[]).map(J=>J.id),It=((l=Se==null?void 0:Se.opps)!=null?l:[]).map(J=>J.id),[Ut]=Re,[$]=Ke;return{id:F!=null?F:ir,mainGameId:ke,isSubGame:ke!==F,permanentId:V,sportId:j.id,champId:x.id,countryId:U,countryName:void 0,sportName:j.name,sportNameEng:j.nameEng,champName:x.name,champNameEng:x.nameEng,firstOpponentId:$e[0],firstOpponentName:(i=K==null?void 0:K.fullName)!=null?i:"",firstOpponentNameEng:K==null?void 0:K.fullNameEng,firstOpponentCountryId:K==null?void 0:K.countryId,firstOpponentLogoFileNames:Re,firstOpponentIds:$e,secondOpponentId:It[0],secondOpponentName:(a=Se==null?void 0:Se.fullName)!=null?a:"",secondOpponentNameEng:Se==null?void 0:Se.fullNameEng,secondOpponentCountryId:Se==null?void 0:Se.countryId,secondOpponentLogoFileNames:Ke,secondOpponentIds:It,startUnixTimestamp:De,isCyberSport:!!j.isCyber,additionalInfo:H!=null?H:"",number:ve,videoId:Oe==null?void 0:Oe.id,subSportId:X==null?void 0:X.id,subGamesCount:(u=ue==null?void 0:ue.length)!=null?u:0,hasMarketsHistory:k,hasStatisticRatingTables:!!(Pe!=null&&Pe.hasStatRatingTables),statisticStageType:Pe==null?void 0:Pe.stageType,stageId:Pe==null?void 0:Pe.stageId,statisticStatus:Pe==null?void 0:Pe.status,periodName:(p=j.timeName)!=null?p:"",gamePeriodName:W,name:la({name:W,gameType:Mt,gameAdditionalType:ke!==F?ne:void 0}),sectionType:ce,hasLineups:Pe==null?void 0:Pe.hasLineUps,statisticGameId:Pe==null?void 0:Pe.gameId,isGameOver:ut,isDuel:void 0,isNotStarted:pt,hasBroadcastAwaiting:Oe==null?void 0:Oe.enabled,hasInsights:!1,isDummy:!1,champUniqKey:[U,x.id].filter(Boolean).join("_"),sportNameForUrl:Qr({sportName:(m=j==null?void 0:j.name)!=null?m:"",sportNameEng:(c=j==null?void 0:j.nameEng)!=null?c:""}),subSportNameForUrl:Qr({sportName:(_=X==null?void 0:X.name)!=null?_:"",sportNameEng:(h=X==null?void 0:X.nameEng)!=null?h:""}),gameIdForUrl:String(F||V),gameNameForUrl:$i({id:F,permanentId:F,firstOpponentName:(g=K==null?void 0:K.fullName)!=null?g:"",firstOpponentNameEng:(P=(S=K==null?void 0:K.fullNameEng)!=null?S:K==null?void 0:K.fullName)!=null?P:"",secondOpponentName:(v=Se==null?void 0:Se.fullName)!=null?v:"",secondOpponentNameEng:(y=(R=Se==null?void 0:Se.fullNameEng)!=null?R:K==null?void 0:K.fullName)!=null?y:"",champName:(A=x==null?void 0:x.name)!=null?A:"",champNameEng:(E=x==null?void 0:x.nameEng)!=null?E:""}),champNameForUrl:na({champId:x==null?void 0:x.id,champName:(w=x==null?void 0:x.name)!=null?w:"",champNameEng:(L=x==null?void 0:x.nameEng)!=null?L:""}),menuSectionNameForUrl:wu({menuSection:se,sportId:j.id,isCyber:j.isCyber,isNew:te}),weatherData:de&&Ds.fromEncodedDataNew(de),matchInfo:de&&es.fromEncodedDataNew(de),sectionSportId:Kt,sectionChampId:ae,firstOpponentLogo:Ut,secondOpponentLogo:$,champTag:Vi(x==null?void 0:x.id,t),zoneId:fe(B)?String(B):void 0,isBetBuilderAvailable:yt}}catch(V){return o.error("parseLiveGameInfo Error: ",V),{isGameOver:!0}}},IF=(e,t)=>{if(!Ki(e))return yF(e,t)},EF=e=>{var t,o,r,s;const n=new Ir({name:(t=e.opponent1.name)!=null?t:"",countryId:e.opponent1.countryId,logoFileNames:[(o=e.opponent1.image)!=null?o:""]}),l=new Ir({name:(r=e.opponent2.name)!=null?r:"",countryId:e.opponent2.countryId,logoFileNames:[(s=e.opponent2.image)!=null?s:""]});return{homeTeam:n,awayTeam:l}},Lg=(e,{gameId:t,champId:o,champName:r,champNameEng:s,champLogotype:n,countryId:l,sportId:i})=>e.map(a=>{var u,p;const{homeTeam:m,awayTeam:c}=EF(a),_=new Mu({id:o.toString(),name:r!=null?r:"",nameEng:s!=null?s:"",logotype:n!=null?n:""}),h=[a.opponent1.name,a.opponent2.name].filter(Boolean).join("-");return new ca({id:t.toString(),name:h,champ:_,countryId:l,sportId:i.toString(),startUnixDate:a.startDate,homeTeamFullScore:(u=a.opponent1.score)!=null?u:0,awayTeamFullScore:(p=a.opponent2.score)!=null?p:0,homeTeam:m,awayTeam:c,videoId:void 0,zoneId:void 0})}),TF=(e,{logger:t,navigationTopChamp:o})=>{$_$();var r,s,n,l,i,a,u,p,m,c,_,h,g,S,P,v,R,y,A,E,w,L,V,U,H,k;if(!fe(e.id))return{isGameOver:!0};try{const{constId:F,countryId:te,dopInfo:ce,hasGraph:x,hasInsights:de,id:se,isDuelsAvailable:ve,isNewChamp:K,kind:Se,liga:W,matchInfoObj:j,menuSection:De,num:Pe,opponent1:X,opponent2:Oe,periodName:B,sport:ue,startTs:ut,statisticInfo:ke,subGamesForMainGame:Mt,subSport:ne,video:yt,mainGameId:pt,homeAwayFlag:Kt,gameTypeName:ae,gameVidName:Re,gameInfo:Ke,isBetBuilderAvailable:$e,alterOpponents:It}=e,Ut=ue!=null&&ue.id&&De?Ao(De,ue==null?void 0:ue.id):void 0,$=W!=null&&W.id&&De?Ao(De,W==null?void 0:W.id):void 0,J=((r=X==null?void 0:X.opps)!=null?r:[]).map(tt=>tt.image),Le=((s=Oe==null?void 0:Oe.opps)!=null?s:[]).map(tt=>tt.image),st=((n=X==null?void 0:X.opps)!=null?n:[]).map(tt=>tt.id),dt=((l=Oe==null?void 0:Oe.opps)!=null?l:[]).map(tt=>tt.id),[Et]=J,[et]=Le;return{id:se!=null?se:ir,mainGameId:pt,isSubGame:pt!==se,permanentId:F,sportId:ue==null?void 0:ue.id,champId:W==null?void 0:W.id,countryId:te,countryName:void 0,sportName:ue==null?void 0:ue.name,sportNameEng:ue==null?void 0:ue.nameEng,champName:W==null?void 0:W.name,champNameEng:W==null?void 0:W.nameEng,firstOpponentId:st[0],firstOpponentName:(i=X==null?void 0:X.fullName)!=null?i:"",firstOpponentNameEng:X==null?void 0:X.fullNameEng,firstOpponentCountryId:X==null?void 0:X.countryId,firstOpponentLogoFileNames:J,firstOpponentIds:st,secondOpponentId:dt[0],secondOpponentName:(a=Oe==null?void 0:Oe.fullName)!=null?a:"",secondOpponentNameEng:Oe==null?void 0:Oe.fullNameEng,secondOpponentCountryId:Oe==null?void 0:Oe.countryId,secondOpponentLogoFileNames:Le,secondOpponentIds:dt,startUnixTimestamp:ut,isCyberSport:ue==null?void 0:ue.isCyber,additionalInfo:ce!=null?ce:"",number:Pe,videoId:yt==null?void 0:yt.id,subSportId:ne==null?void 0:ne.id,subGamesCount:(u=Mt==null?void 0:Mt.length)!=null?u:0,hasMarketsHistory:x,hasStatisticRatingTables:ke==null?void 0:ke.hasStatRatingTables,statisticStageType:ke==null?void 0:ke.stageType,stageId:ke==null?void 0:ke.stageId,statisticStatus:ke==null?void 0:ke.status,periodName:(p=ue==null?void 0:ue.timeName)!=null?p:"",gamePeriodName:B,name:la({name:B,gameType:ae,gameAdditionalType:pt!==se?Re:void 0}),zoneId:void 0,sectionType:Se,hasLineups:ke==null?void 0:ke.hasLineUps,statisticGameId:(m=ke==null?void 0:ke.gameId)!=null?m:void 0,isDuel:ve,hasBroadcastAwaiting:yt==null?void 0:yt.enabled,hasInsights:de,isDummy:!1,isHomeAway:Kt,homeAwayMatches:Lg(It!=null?It:[],{gameId:pt,champId:W==null?void 0:W.id,champName:(c=W==null?void 0:W.name)!=null?c:"",champNameEng:(_=W==null?void 0:W.nameEng)!=null?_:"",champLogotype:(h=W==null?void 0:W.image)!=null?h:"",countryId:te,sportId:ue==null?void 0:ue.id}),champUniqKey:[te,W==null?void 0:W.id].filter(Boolean).join("_"),sportNameForUrl:Qr({sportName:(g=ue==null?void 0:ue.name)!=null?g:"",sportNameEng:(S=ue==null?void 0:ue.nameEng)!=null?S:""}),subSportNameForUrl:Qr({sportName:(P=ne==null?void 0:ne.name)!=null?P:"",sportNameEng:(v=ne==null?void 0:ne.nameEng)!=null?v:""}),gameIdForUrl:String(F||se),gameNameForUrl:$i({id:se,permanentId:F,firstOpponentName:(R=X==null?void 0:X.fullName)!=null?R:"",firstOpponentNameEng:(A=(y=X==null?void 0:X.fullNameEng)!=null?y:X==null?void 0:X.fullName)!=null?A:"",secondOpponentName:(E=Oe==null?void 0:Oe.fullName)!=null?E:"",secondOpponentNameEng:(L=(w=Oe==null?void 0:Oe.fullNameEng)!=null?w:X==null?void 0:X.fullName)!=null?L:"",champName:(V=W==null?void 0:W.name)!=null?V:"",champNameEng:(U=W==null?void 0:W.nameEng)!=null?U:""}),champNameForUrl:na({champId:W==null?void 0:W.id,champName:(H=W==null?void 0:W.name)!=null?H:"",champNameEng:(k=W==null?void 0:W.nameEng)!=null?k:""}),menuSectionNameForUrl:wu({menuSection:De,sportId:ue==null?void 0:ue.id,isCyber:ue==null?void 0:ue.isCyber,isNew:K}),weatherData:j&&Ds.fromEncodedDataNew(j),matchInfo:j&&es.fromEncodedDataNew(j),sectionSportId:Ut,sectionChampId:$,firstOpponentLogo:Et,secondOpponentLogo:et,champTag:Vi(W==null?void 0:W.id,o),baseSubGames:Mt,raceInfo:Ke!=null&&Ke.Stat?Rg({unparsedInfo:Ke==null?void 0:Ke.Stat,sportId:ue==null?void 0:ue.id}):void 0,isBetBuilderAvailable:$e}}catch(F){return t.error("parseLineGameInfo Error: ",F),{isGameOver:!0}}},OF=(e,t)=>{if(!Ki(e))return TF(e,t)},Bg=e=>sr(e,{idKey:"marketType",getValue:t=>t.eventsCount}).data;var vF=Object.defineProperty,PF=(e,t,o)=>t in e?vF(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,Qe=(e,t,o)=>PF(e,typeof t!="symbol"?t+"":t,o);class AF extends Be{constructor({score:t,statistic:o,sportId:r,subSportId:s,champId:n,summary:l,T:i,logger:a}){var u,p,m,c;if(super(),Qe(this,"courseOfPlay"),Qe(this,"info"),Qe(this,"subScore"),Qe(this,"hasTimeline"),Qe(this,"firstTeamFoulStatistics"),Qe(this,"secondTeamFoulStatistics"),Qe(this,"extraTimeLabel"),Qe(this,"alternativeNames"),Qe(this,"penaltyStatistics"),Qe(this,"serverTeamNumber"),Qe(this,"cricket"),Qe(this,"subwaySurfers"),Qe(this,"SETTE_E_MEZZO"),Qe(this,"golf"),Qe(this,"CSGO"),Qe(this,"crystalStatistic"),Qe(this,"dota"),Qe(this,"alpineSkiingCyber"),Qe(this,"indianPokerStatistic"),Qe(this,"esportTennisStatistic"),Qe(this,"cyberRoulette"),Qe(this,"baseballStatistic"),this.courseOfPlay=t.hasCourseOfPlay,this.info=t.info,this.subScore=t.subScore!==void 0?{firstOpponentScore:t.subScore.opponent1||0,secondOpponentScore:t.subScore.opponent2||0}:void 0,this.hasTimeline=t.hasCourseOfPlay,this.serverTeamNumber=(u=t.serve)!=null?u:0,l){const g=ko.fromSummary(l[0]);this.firstTeamFoulStatistics=r===1?g.firstTeam:void 0,this.secondTeamFoulStatistics=r===1?g.secondTeam:void 0}else this.firstTeamFoulStatistics=r===1?ko.fromEncodedData(o):void 0,this.secondTeamFoulStatistics=r===1?ko.fromEncodedData(o,{isFirstTeam:!1}):void 0;this.alternativeNames=Hi.fromEncodedData(o),this.penaltyStatistics=qn.fromEncodedData(this.serverTeamNumber,o),this.extraTimeLabel=o.AddTime;const _=o==null?void 0:o.InnsStats,h=(p=_==null?void 0:_.split(";"))==null?void 0:p[2];this.cricket={innsStats:_,innsStatOver:h,inningsStatistic:_g({statistic:o.InningsStatistic,T:i,logger:a,periodName:t.currentPeriodName})},r===195&&(this.subwaySurfers={totalGold:parseInt((m=o==null?void 0:o.total_gold)!=null?m:"",10),totalScores:parseInt((c=o==null?void 0:o.total_scores)!=null?c:"",10)}),r===40&&(s===3||s===46)&&(this.CSGO=gg({normalizedStatisticData:o})),r===284&&(this.SETTE_E_MEZZO=Sg({logger:a},o)),r===287&&(this.crystalStatistic=o),[41,120].includes(r)&&(this.golf=hg({logger:a},o)),r===40&&s===1&&(this.dota=yg({normalizedStatisticData:o})),r===269&&(this.alpineSkiingCyber=Eg({normalizedStatisticData:o})),r===167&&n===2566618&&(this.indianPokerStatistic=Ig(o)),r===94&&(this.esportTennisStatistic=Tg({logger:a},o)),r===301&&(this.cyberRoulette=Og(o)),r===5&&(this.baseballStatistic=fg(o))}}const CF=({translationService:e,logger:t,unparsedStatistic:o,score:r,summary:s,sportId:n,subSportId:l,champId:i})=>{var a;if(!r){t.info("Нет данных score");return}return new AF({score:r,statistic:(a=o==null?void 0:o.main)!=null?a:{},sportId:n,subSportId:l,champId:i,summary:s,T:e,logger:t})},Mg=(e,t)=>{const o=e*1e3;return e?{startTimestamp:o,beforeStartMilliseconds:o-Date.now(),dateMonth:t.getShortDateWithNumericMonth(e),timeBeforeStart:t.getTimeBeforeStart(e),shortDateWithAlphabeticMonth:t.getShortDateWithAlphabeticMonth(e),startDateFormatted:t.getFullDateFormatted(e),startShortDateFormatted:t.getShortDateWithNumericMonth(e),startTimeFormatted:t.formatTimeByUnix(e)}:{}};var bF=Object.defineProperty,RF=(e,t,o)=>t in e?bF(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,Ba=(e,t,o)=>RF(e,typeof t!="symbol"?t+"":t,o);class Fu extends Be{constructor({id:t,name:o="",firstOpponentScore:r,secondOpponentScore:s}){super(),Ba(this,"id"),Ba(this,"name"),Ba(this,"firstOpponentScore"),Ba(this,"secondOpponentScore"),this.id=t,this.name=o,this.firstOpponentScore=r,this.secondOpponentScore=s}static fromEncodedData({s1:t="",s2:o="",id:r},s=n=>n){const n=String(t!=null?t:""),l=String(o!=null?o:""),i=`statistic_game_${r}`,a=s(i)||String(r);return new Fu({id:r,firstOpponentScore:n,secondOpponentScore:l,name:a})}}const NF=(e,t)=>Object.fromEntries(Object.entries(t).map(([o,r])=>[o,r.map(s=>Fu.fromEncodedData(s,e))])),LF=e=>(e!=null?e:[]).map(t=>{var o;return new ii({periodTitle:(o=t==null?void 0:t.periodName)!=null?o:"",firstTeamScoreLabel:String((t==null?void 0:t.scoreOpp1)||0),secondTeamScoreLabel:String((t==null?void 0:t.scoreOpp2)||0)})});function BF(e,{regularScores:t=[],statistic:o={}}={}){switch(e){case 66:case 99:return pg(o);default:return LF(t)}}var MF=Object.defineProperty,L_=Object.getOwnPropertySymbols,GF=Object.prototype.hasOwnProperty,kF=Object.prototype.propertyIsEnumerable,B_=(e,t,o)=>t in e?MF(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,wF=(e,t)=>{for(var o in t||(t={}))GF.call(t,o)&&B_(e,o,t[o]);if(L_)for(var o of L_(t))kF.call(t,o)&&B_(e,o,t[o]);return e};const DF=async(e,{sportId:t,subSportId:o,champId:r,champName:s,champNameEng:n,champLogotype:l,countryId:i,dateTimeService:a,T:u,logger:p})=>{$_$();var m,c,_,h,g,S,P,v,R,y,A,E,w,L,V,U,H,k,F,te,ce,x,de,se,ve,K,Se,W,j,De,Pe,X,Oe,B,ue,ut,ke,Mt,ne,yt,pt,Kt,ae,Re,Ke,$e,It,Ut,$,J,Le,st,dt,Et,et,tt,mr,ns,Mr;try{if(!fe(e.id))return{isGameOver:!0};const Mo=(c=(m=e.scores)==null?void 0:m.timer)==null?void 0:c.timeSec,as=(g=(h=(_=e.scores)==null?void 0:_.fullScoreDetail)==null?void 0:h.scoreOpp1)!=null?g:0,Zs=(v=(P=(S=e.scores)==null?void 0:S.fullScoreDetail)==null?void 0:P.scoreOpp2)!=null?v:0,jo=Bg((R=e.marketEventsCount)!=null?R:[]),Eo=NF(u,(A=(y=e.scores)==null?void 0:y.tabloStats)!=null?A:{}),Zo=CF({translationService:u,logger:p,unparsedStatistic:(E=e.scores)==null?void 0:E.statistic,score:e.scores,summary:Eo,sportId:t,subSportId:o,champId:r}),Gr=Mg(e.startTs,a);return wF({id:e.id,mainGameId:e.mainGameId,permanentId:e.constId,firstOpponentFullScore:((L=(w=e.scores)==null?void 0:w.fullScoreDetail)==null?void 0:L.scoreOpp1)||0,secondOpponentFullScore:((U=(V=e.scores)==null?void 0:V.fullScoreDetail)==null?void 0:U.scoreOpp2)||0,isSubGame:e.mainGameId!==e.id,hasScores:!!e.scores,homeTeamAdditionalInfo:(te=(F=(k=(H=e.scores)==null?void 0:H.statistic)==null?void 0:k.main)==null?void 0:F.Stat1)!=null?te:"",awayTeamAdditionalInfo:(se=(de=(x=(ce=e.scores)==null?void 0:ce.statistic)==null?void 0:x.main)==null?void 0:de.Stat2)!=null?se:"",zoneId:t&&e.zonePlay?String(e.zonePlay):void 0,periodScores:BF(t,{regularScores:(ve=e.scores)==null?void 0:ve.periodScores,statistic:{}}),cyberGameScores:dg((W=(Se=(K=e.scores)==null?void 0:K.statistic)==null?void 0:Se.main)!=null?W:[],t,r,a),isTimeDirectionBackward:((De=(j=e.scores)==null?void 0:j.timer)==null?void 0:De.timeDirection)===-1,isTimeRunning:fe((X=(Pe=e.scores)==null?void 0:Pe.timer)==null?void 0:X.timeRun),timeInSeconds:Mo,currentPeriod:String((Oe=e.scores)==null?void 0:Oe.currentPeriod),currentPeriodLabel:(B=e.scores)==null?void 0:B.currentPeriodName,periodsCount:(ue=e.scores)==null?void 0:ue.periodsCount,gameStatus:0,summary:Eo,name:la({name:e.periodName,gameType:e.gameTypeName,gameAdditionalType:e.mainGameId!==e.id?e.gameVidName:void 0}),statistics:Zo,marketsCountByType:jo,marketTypes:gu.filter(kr=>jo[kr]>0),homeAwayMatches:Lg((ut=e.alterOpponents)!=null?ut:[],{gameId:e.mainGameId,champId:r,champName:s,champNameEng:n,champLogotype:l,countryId:i,sportId:t}),subGamesCount:(Mt=(ke=e.subGamesForMainGame)==null?void 0:ke.length)!=null?Mt:0,baseSubGames:e.subGamesForMainGame,firstOpponentScoreLabel:li({sportId:t,hasScores:!!e.scores,scoreLabel:(ae=(Kt=(pt=(yt=(ne=e.scores)==null?void 0:ne.statistic)==null?void 0:yt.main)==null?void 0:pt.Team1Scores)!=null?Kt:as)!=null?ae:"",gameStatistic:Zo,serverTeamNumber:1}),secondOpponentScoreLabel:li({sportId:t,hasScores:!!e.scores,scoreLabel:(Ut=(It=($e=(Ke=(Re=e.scores)==null?void 0:Re.statistic)==null?void 0:Ke.main)==null?void 0:$e.Team2Scores)!=null?It:Zs)!=null?Ut:"",gameStatistic:Zo,serverTeamNumber:2}),timeFormatted:Mo?a.formatDuration(Mo):void 0,isHasPoints:!!(($=e.scores)!=null&&$.points),firstOpponentPoint:(st=(Le=(J=e.scores)==null?void 0:J.points)==null?void 0:Le.scoreOpp1)!=null?st:0,secondOpponentPoint:(et=(Et=(dt=e.scores)==null?void 0:dt.points)==null?void 0:Et.scoreOpp2)!=null?et:0,info:((tt=e.scores)==null?void 0:tt.info)||"",numberOfMarkets:e.eventsCount,additionalMarkets:[],marketGroups:ku((mr=e.eventGroups)!=null?mr:[]),isLong:Nu((ns=e.eventGroups)!=null?ns:[]),unparsedEventGroups:(Mr=e.eventGroups)!=null?Mr:[],isEventAll:e.isEventAll,isGameOver:e.isFinished,sectionType:e.kind},Gr)}catch(Mo){return p.error("parseLiveEvents Error: ",Mo),{isGameOver:!0}}},FF=(e,t)=>{if(!Ki(e))return DF(e,t)};var UF=Object.defineProperty,M_=Object.getOwnPropertySymbols,xF=Object.prototype.hasOwnProperty,$F=Object.prototype.propertyIsEnumerable,G_=(e,t,o)=>t in e?UF(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,VF=(e,t)=>{for(var o in t||(t={}))xF.call(t,o)&&G_(e,o,t[o]);if(M_)for(var o of M_(t))$F.call(t,o)&&G_(e,o,t[o]);return e};const HF=(e,{logger:t,dateTimeService:o})=>{$_$();var r,s,n;if(!fe(e.id))return{isGameOver:!0};try{const l=Bg((r=e.marketEventsCount)!=null?r:[]),i=Mg(e.startTs,o);return VF({id:e.id,mainGameId:e.mainGameId,isSubGame:e.mainGameId!==e.id,permanentId:e.constId,sectionType:e.kind,marketsCountByType:l,marketTypes:gu.filter(a=>l[a]>0),numberOfMarkets:e.eventsCount,marketGroups:ku(e.eventGroups),isLong:Nu((s=e.eventGroups)!=null?s:[]),unparsedEventGroups:(n=e.eventGroups)!=null?n:[],isEventAll:e.isEventAll,name:la({name:e.periodName,gameType:e.gameTypeName,gameAdditionalType:e.mainGameId!==e.id?e.gameVidName:void 0})},i)}catch(l){return t.error("parseLineGameEvents Error: ",l),{isGameOver:!0}}},KF=(e,t)=>{if(!Ki(e))return HF(e,t)},WF=async({events:e=[],game:t,marketsParser:o,selectedMarkets:r={}})=>{$_$();let s,n;const{id:l}=t,i=e.find(c=>c.key.gameId===l),a=e.map(c=>c.key),u=a.map(c=>c.gameId);if(!i)return{keys:a,gameIds:u,marketGroups:[]};const p=i.value.reduce((c,_)=>{if(!_.groupId)return c;c[_.groupId]||(c[_.groupId]={shortGroupId:_.shortGroupId,types:{}});const h=c[_.groupId];return h.types[_.type]||(h.types[_.type]=[]),h.types[_.type].push(_),c},{}),m=Object.keys(p).reduce((c,_)=>{$_$();const h=p[Number(_)];return c.push({E:Object.keys(h.types).reduce((g,S)=>{const P=h.types[Number(S)];return g.push(P.map(v=>{$_$();var R,y;let A=v.blocked;if(A){const E=zr({gameId:l,param:(R=v.parameter)!=null?R:0,typeId:v.type,playerId:(y=v.playerId)!=null?y:0,isBetBuilder:!0});A=!Object.hasOwn(r,E)}return{B:A,C:v.cf,CV:v.cfView,G:v.groupId,GS:v.shortGroupId,T:v.type,P:v.parameter}})),g},[]),G:Number(_),GS:h.shortGroupId}),c},[]);return{keys:a,gameIds:u,marketGroups:([s,n]=I(()=>o.parseMarketGroups(t,m,[],!0)),s=await s,n(),s)}},YF=(e,t)=>{const o=new Map;return t.forEach(r=>{const s=String(r.key.gameId),n=e[s];n&&o.set(s,{event:r,numberOfMarkets:r.value.length,game:n})}),o},jF=async({events:e=[],game:t,gamesById:o,marketsParser:r,selectedMarkets:s={}})=>{$_$();let n,l;const{id:i}=t,a=YF(o,e),u=a.values().reduce((h,{game:g})=>(h[g.id]=g,h),{}),p=a.get(String(i));if(!p)return{gamesByIdWithEvents:u,marketGroups:[]};const{event:m}=p,c=m.value.reduce((h,g)=>{if(!g.groupId)return h;h[g.groupId]||(h[g.groupId]={shortGroupId:g.shortGroupId,types:{}});const S=h[g.groupId];return S.types[g.type]||(S.types[g.type]=[]),S.types[g.type].push(g),h},{}),_=Object.keys(c).reduce((h,g)=>{$_$();const S=c[Number(g)];return h.push({E:Object.keys(S.types).reduce((P,v)=>{const R=S.types[Number(v)];return P.push(R.map(y=>{$_$();var A,E;let w=y.blocked;if(w){const L=zr({gameId:i,param:(A=y.parameter)!=null?A:0,typeId:y.type,playerId:(E=y.playerId)!=null?E:0,isBetBuilder:!0});w=!Object.hasOwn(s,L)}return{B:w,C:y.cf,CV:y.cfView,G:y.groupId,GS:y.shortGroupId,T:y.type,P:y.parameter}})),P},[]),G:Number(g),GS:S.shortGroupId}),h},[]);return{gamesByIdWithEvents:u,marketGroups:([n,l]=I(()=>r.parseMarketGroups(t,_,[],!0)),n=await n,l(),n)}},ZF=({selectedMarkets:e,keys:t})=>{const o=Object.keys(e).reduce((r,s)=>{var n;const l=e[s],i=l.gameId;return r[i]||(r[i]={key:(n=t.find(a=>a.gameId===i))!=null?n:{gameId:i,gameType:1,gameVid:1},value:[]}),r[i].value.push({cf:l.coef,type:l.typeId}),r},{});return Object.values(o)},qF=({gamesById:e,selectedMarkets:t})=>{const o=Object.keys(t).reduce((r,s)=>{const n=t[s],l=e[n.gameId];if(!l)return r;const{id:i,typeId:a=1,gameVidId:u=1,gamePeriodId:p}=l;return r[i]||(r[i]={key:{gameId:i,gameType:a,gameVid:u,period:p},value:[]}),r[i].value.push({cf:n.coef,type:n.typeId}),r},{});return Object.values(o)};var JF=Object.defineProperty,XF=Object.defineProperties,zF=Object.getOwnPropertyDescriptors,k_=Object.getOwnPropertySymbols,QF=Object.prototype.hasOwnProperty,e2=Object.prototype.propertyIsEnumerable,kc=(e,t,o)=>t in e?JF(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,Wr=(e,t)=>{for(var o in t||(t={}))QF.call(t,o)&&kc(e,o,t[o]);if(k_)for(var o of k_(t))e2.call(t,o)&&kc(e,o,t[o]);return e},Ma=(e,t)=>XF(e,zF(t)),ho=(e,t,o)=>kc(e,typeof t!="symbol"?t+"":t,o);class Un{constructor(t){ho(this,"updateGameRequests"),ho(this,"getGameEventsToSubscribeRequests"),ho(this,"logger"),ho(this,"requestManager"),ho(this,"magickMock"),ho(this,"siteConfig"),ho(this,"T"),ho(this,"dateTimeService"),ho(this,"betModelsManager"),ho(this,"httpModule"),ho(this,"clientHeaders"),ho(this,"cookies"),Un.checkRequiredDependencies({$httpModule:t.$httpModule,$clientHeaders:t.$clientHeaders,$cookies:t.$clientHeaders,$logger:t.$logger,$siteConfig:t.$siteConfig,$betModelsManager:t.$betModelsManager,$T:t.$T,$dateTimeService:t.$dateTimeService}),this.logger=t.$logger,this.requestManager=new PM(t),this.magickMock=SF(t.$cookies),this.siteConfig=t.$siteConfig,this.T=t.$T,this.dateTimeService=t.$dateTimeService,this.httpModule=t.$httpModule,this.clientHeaders=t.$clientHeaders,this.cookies=t.$cookies,this.betModelsManager=t.$betModelsManager;const o=(r,s)=>{$_$();var n;const l=new Dn(t.$betModelsManager,t.$siteConfig.lng,{marketsNameType:s==null?void 0:s.marketsNameType});return fF.parseResponse({unparsedCurrentGameData:(n=r.Value)!=null?n:{},marketsParser:l,dateTimeService:t.$dateTimeService,logger:t.$logger,siteConfig:t.$siteConfig,translationService:t.$T})};this.updateGameRequests={[Ca.EUROPE_LINE]:{method:zP,parser:o},[Ca.EUROPE_LIVE]:{method:aA,parser:async(r,s)=>o(Wr(Wr({},r),(await this.magickMock).GetGameZip),s)},[Ca.ASIA_LINE]:{method:QP(pe),parser:o},[Ca.ASIA_LIVE]:{method:lA(pe),parser:o}},this.getGameEventsToSubscribeRequests={[ee.LINE]:{method:Np(pe),parser:r=>T_(r)},[ee.LIVE]:{method:Np(pe),parser:r=>T_(r)}}}static checkRequiredDependencies(t,o){o!=null||(o="обязательное поле"),Object.keys(t).forEach(r=>{$_$();bo(t[r],`${r} ${o}`)})}static isLive(t){$_$();return t.includes(ee.LIVE)}loadGameInfo(t,o,r){return Un.isLive(t)?this.loadLiveGameInfo(o,r):this.loadLineGameInfo(o,r)}loadGameEvents(t,o,r){return Un.isLive(t)?this.loadLiveGameEvents(o,r):this.loadLineGameEvents(o,r)}loadLiveGameInfo(t,o){return this.requestManager.load({type:RM,api:{method:pA,parser:r=>IF(r,Ma(Wr({},o),{logger:this.logger}))},params:t})}loadLineGameInfo(t,o){return this.requestManager.load({type:NM,api:{method:sA,parser:r=>OF(r,Ma(Wr({},o),{logger:this.logger}))},params:t})}loadLiveGameEvents(t,o){return this.requestManager.load({type:CM,api:{method:uA,parser:r=>FF(r,Ma(Wr({},o),{dateTimeService:this.dateTimeService,T:this.T,logger:this.logger}))},params:t})}loadLineGameEvents(t,o){return this.requestManager.load({type:bM,api:{method:rA,parser:r=>KF(r,Ma(Wr({},o),{logger:this.logger,dateTimeService:this.dateTimeService}))},params:t})}loadGame(t,o,r){return this.requestManager.load({type:t,api:this.updateGameRequests[t],params:o,options:r})}async loadBetBuilderMarkets(t,{cfView:o,country:r,currentGame:s,lng:n,ref:l,selectedMarkets:i,keys:a,userId:u},p){$_$();var m;return this.requestManager.load({type:t,api:{method:t===ee.LIVE?Bp():Lp(),parser:(c,_={})=>{const h=new Dn(this.betModelsManager,this.siteConfig.lng,{marketsNameType:_.marketsNameType});return WF({events:c,game:s,marketsParser:h,selectedMarkets:i})}},query:{coefViewId:o,country:r,lng:n,ref:l,userId:u},params:{gameId:(m=s.mainGameId)!=null?m:s.id,eventsByGames:ZF({selectedMarkets:i,keys:a})},options:p})}async getBetBuilderMarkets(t,{cfView:o,country:r,currentGame:s,lng:n,ref:l,gamesById:i,selectedMarkets:a,userId:u},p){$_$();var m;return this.requestManager.load({type:t,api:{method:t===ee.LIVE?Bp():Lp(),parser:(c,_={})=>{const h=new Dn(this.betModelsManager,this.siteConfig.lng,{marketsNameType:_.marketsNameType});return jF({events:c,game:s,gamesById:i,marketsParser:h,selectedMarkets:a})}},query:{coefViewId:o,country:r,lng:n,ref:l,userId:u},params:{gameId:(m=s.mainGameId)!=null?m:s.id,eventsByGames:qF({gamesById:i,selectedMarkets:a})},options:p})}findLiveGame(t){$_$();return this.requestManager.load({type:ee.LINE,api:{method:CP(pe),parser:o=>wD({response:o,translationService:this.T,siteConfig:this.siteConfig,dateTimeService:this.dateTimeService,logger:this.logger})},params:{gameId:t}})}getGameEventsToSubscribe(t,{gameId:o,lng:r}){$_$();return this.requestManager.load({type:t,api:this.getGameEventsToSubscribeRequests[t],params:{gameId:o,lng:r,src:t===ee.LIVE?0:1}})}async getTimelineData({gameId:t,language:o}){$_$();let r,s;const n=([r,s]=I(()=>this.magickMock),r=await r,s(),r);return this.requestManager.load({type:_m,api:{method:iA(pe),parser:async l=>{var i;return HD((i=n.GetChronoOfPlay)!=null?i:l.Value)}},params:{gameId:t,lng:o}})}getAvailablePlayersForDuel({gameId:t,language:o}){$_$();return this.requestManager.load({type:ee.LIVE,api:{method:eA(pe),parser:r=>WD(r.Value)},params:{gameId:t,lng:o}})}async getActiveGameEventSubscriptions(t,{gameId:o,userId:r}){$_$();let s,n;return([s,n]=I(()=>$_$() && this.requestManager.load({type:t,api:{method:bP(pe),parser:i=>UD(i)},params:{src:t===ee.LIVE?0:1,userId:r,gameId:o}})),s=await s,n(),s).data}async saveGameEventSubscriptions({events:t,gameId:o,sectionType:r}){$_$();let s,n;return([s,n]=I(()=>$_$() && this.requestManager.load({type:r,api:{method:NP(pe),parser:i=>i},params:{events:t,gameId:o,src:r===ee.LINE?1:0}})),s=await s,n(),s).data}async getStandingsData({stageId:t,language:o,sportId:r}){$_$();let s,n;try{const[l]=([s,n]=I(()=>Promise.all([this.requestManager.loadRaw({type:"",api:{method:RP(pe),parser:i=>fm(i)},params:{stageId:t,lng:o,sportId:r}})])),s=await s,n(),s);return l.data}catch(l){this.logger.error("getStandingsData error",l)}return fm({})}async getLineups({statisticGameId:t,language:o}){$_$();let r,s;try{return([r,s]=I(()=>this.requestManager.loadRaw({type:"",api:{method:LP(pe),parser:l=>Mm(l)},params:{gameId:t,lng:o}})),r=await r,s(),r).data}catch(n){this.logger.error("getLineups error",n)}return Mm({})}async getStadiumData({gameId:t,isLive:o,sportId:r,language:s}){$_$();let n,l;try{return([n,l]=I(()=>this.requestManager.loadRaw({type:"",api:{method:BP(pe),parser:a=>ym(a)},params:{gameId:t,live:o,sportId:r,lng:s}})),n=await n,l(),n).data}catch(i){this.logger.error("getStadiumData error",i)}return ym({})}async checkIfFinishedGameStatsExist({gameId:t,sportId:o}){$_$();let r,s;try{return([r,s]=I(()=>this.requestManager.loadRaw({type:"",api:{method:MP(pe),parser:l=>Em(l)},params:{gameId:t,sportId:o}})),r=await r,s(),r).data}catch(n){this.logger.error("checkIfFinishedGameStatsExist error",n)}return Em({})}async loadMatchesSchedule({gameId:t,lng:o,ref:r,fcountry:s,groupId:n}){$_$();let l,i;const a={gameId:t,lng:o,ref:r,fcountry:s,groupId:n};try{const u=([l,i]=I(()=>this.doRequest(GP(),a)),l=await l,i(),l);return Pm({headToHead:u,navigationTopChamp:this.siteConfig.navigationTopChamp})}catch(u){this.logger.error("loadMatchesSchedule error",u)}return Pm({headToHead:void 0,navigationTopChamp:this.siteConfig.navigationTopChamp})}async loadShortPlayersInfo({statisticGameId:t,language:o}){$_$();let r,s;try{return([r,s]=I(()=>this.requestManager.loadRaw({type:"",api:{method:kP(pe),parser:l=>Sm(l)},params:{gameId:t,lng:o}})),r=await r,s(),r).data}catch(n){this.logger.error("loadShortPlayersInfo error",n)}return Sm({})}async buildDuel({language:t,gameId:o,team1Ids:r=[],team2Ids:s=[],coefView:n,game:l,userId:i,optionForParser:a}){$_$();let u,p;const m=([u,p]=I(()=>this.requestManager.load({type:"",api:{method:tA(pe),parser:_=>_},params:{lng:t,gameId:o,team1Ids:r,team2Ids:s,coefViewId:n,userId:i}})),u=await u,p(),u);return m.status!==wt.STATUS_SUCCESS&&this.logger.error("Error of get build duel."),{duel:([u,p]=I(()=>AM({data:m.data,game:l,optionForParser:a,team1Ids:r,team2Ids:s})),u=await u,p(),u),success:m.status===wt.STATUS_SUCCESS,errorMessage:m.message}}async getTeamGames({gameId:t,clId:o,partner:r,lng:s,geo:n}){$_$();let l,i;try{return([l,i]=I(()=>this.requestManager.loadRaw({type:"",api:{method:wP(pe),parser:u=>OG(u)},params:{clId:o,gameId:t,geo:n,lng:s,partner:r}})),l=await l,i(),l).data}catch(a){this.logger.error("getTeamGames error",a)}}async getHorsesRaceData({raceId:t}){$_$();let o,r;try{return([o,r]=I(()=>this.requestManager.load({type:"",api:{method:VP,parser:n=>A_(n)},params:{horseRaceStatisticId:t}})),o=await o,r(),o).data}catch(s){this.logger.error("getStandingsData error",s)}return A_({})}async getGameRuleText({language:t,ruleId:o}){$_$();let r,s;try{const n=([r,s]=I(()=>this.requestManager.load({type:"",api:{method:qP,parser:l=>l},params:{lng:t,ruleVersionId:o}})),r=await r,s(),r);if(n.data)return n.data}catch(n){this.logger.error("getGameRuleText error",n)}}async getGameRulesTexts({language:t,ruleIds:o}){$_$();let r,s;try{const n=([r,s]=I(()=>this.requestManager.load({type:"",api:{method:JP,parser:l=>l},params:{lng:t,ruleVersionIds:o}})),r=await r,s(),r);if(Array.isArray(n.data))return n.data}catch(n){this.logger.error("getGameRulesTexts error",n)}return[]}cancelTimelineRequest(){this.requestManager.cancelAllRequest(_m)}cancelAllRequest(t){this.requestManager.cancelAllRequest(t)}async doRequest(t,o,r){$_$();let s,n;try{const{execute:l}=t(this.httpModule,{params:o,signal:r==null?void 0:r.signal,cache:!0});return[s,n]=I(()=>l({headers:Wr({},this.clientHeaders),hookContext:{cookies:this.cookies,httpModule:this.httpModule,logger:this.logger}})),s=await s,n(),s}catch(l){this.logger.error(l)}}}const t2=e=>new Un(e),o2="betting",SH=({name:e,type:t}={})=>yh(o2,t,e),zt=(e,t)=>{const o=[e,t].filter(r=>!!r);return yh(...o)},ht={HOME_LIVE:zt(me.HOME,ee.LIVE),HOME_LINE:zt(me.HOME,ee.LINE),BETSONYOUR_LIVE:zt(me.BETSONYOUR,ee.LIVE),BETSONYOUR_LINE:zt(me.BETSONYOUR,ee.LINE),MARBLE_LIVE:zt(me.MARBLE,ee.LIVE),MARBLE_LINE:zt(me.MARBLE,ee.LINE),TEAM_LINE:zt(me.TEAM,ee.LINE),TEAM_LIVE:zt(me.TEAM,ee.LIVE),TOPGAME_LIVE:zt(me.TOPGAME,ee.LIVE),TOPGAME_LINE:zt(me.TOPGAME,ee.LINE),RECOMMENDATION_LIVE:zt(me.RECOMMENDATION,ee.LIVE),RECOMMENDATION_LINE:zt(me.RECOMMENDATION,ee.LINE),TOP_GAMES_1X2_LIVE:zt(me.TOPGAME,ee.LIVE),TOP_GAMES_1X2_LINE:zt(me.TOPGAME,ee.LINE)},yH=[ht.HOME_LIVE,ht.BETSONYOUR_LIVE,ht.MARBLE_LIVE,ht.TEAM_LIVE,ht.TOPGAME_LIVE,ht.RECOMMENDATION_LIVE,ht.TOP_GAMES_1X2_LIVE],Ss={ASIAN_HOME_LIVE:Po({pageType:me.HOME,bettingType:ee.LIVE,bettingView:"asian"}),ASIAN_HOME_LINE:Po({pageType:me.HOME,bettingType:ee.LINE,bettingView:"asian"}),ASIAN_TEAM_LINE:Po({pageType:me.TEAM,bettingType:ee.LINE,bettingView:"asian"}),ASIAN_BETSONYOUR_LINE:Po({pageType:me.BETSONYOUR,bettingType:ee.LINE,bettingView:"asian"}),ASIAN_BETSONYOUR_LIVE:Po({pageType:me.BETSONYOUR,bettingType:ee.LIVE,bettingView:"asian"}),ASIAN_MARBLE_LIVE:Po({pageType:me.MARBLE,bettingType:ee.LIVE,bettingView:"asian"})},r2=e=>Object.keys(e).reduce((t,o)=>$_$() && (t[o]=Yt(e[o]),t[o].lengthe.slice(0,t).reduce((a,u)=>{var p,m,c,_,h,g;const S=ua.parseGameForDashboard({unparsedGameData:u,marketGroupTemplatesByGroupId:o,dateTimeService:s,translationService:n,logger:l,lng:i,navigationTopChamp:r}),P=(p=a.groupsBySport[S.sportId])!=null?p:[],v=(m=a.champsMap[S.champUniqKey])!=null?m:Tv(cg.parseChampFromBettingGame({navigationTopChamp:r,game:S}));return v.gamesCount+=1,v.isLong||(v.isLong=(c=S.isLong)!=null?c:!1),v.isLong||P.push(...Object.keys((_=S.marketGroups)!=null?_:[])),S.sportId===4&&((h=S.matchInfo)!=null&&h.fieldType)&&(v.fieldType||(v.name=`${v.name}. ${S.matchInfo.fieldType}`,v.fieldType=S.matchInfo.fieldType),v.fieldType&&v.fieldType!==S.matchInfo.fieldType&&(v.name=S.champName||"")),a.parsedGames.push(S),a.games.push(S,...(g=S.subGames)!=null?g:[]),a.champsMap[S.champUniqKey]=v,a.groupsBySport[S.sportId]=P,a},{parsedGames:[],games:[],champsMap:{},groupsBySport:{}}),s2=e=>{$_$();var t,o;const r=[];for(let s=0;s$_$() && Yt(s2(e)),kg=async({unparsedGames:e,betModelsManager:t,marketsNameType:o=it.full})=>{$_$();const r=n2(e);return t.getGroupTemplatesByIds({groupIds:r,marketsNameType:o})},a2={15:"betting_dashboard_it_1",62:"betting_dashboard_it_2",8:"betting_dashboard_double_chance",10694:"betting_dashboard_oirt_1",10695:"betting_dashboard_oirt_2",10696:"betting_dashboard_oirt_even_odd_1",10697:"betting_dashboard_oirt_even_odd_2",10804:"betting_dashboard_wheel_of_36",10805:"betting_dashboard_wheel_of_18"},i2=[{ids:[0],title:"betting_dashboard_empty"},{ids:[1,3653,7,58,401,50,1794,3829],title:"betting_dashboard_1"},{ids:[3,3655,8,59,402,51,1795,3830],title:"betting_dashboard_2"},{ids:[2,3654],title:"betting_dashboard_x"},{ids:[4,3656],title:"betting_dashboard_1x"},{ids:[5,3657],title:"betting_dashboard_double_chance"},{ids:[6,3658],title:"betting_dashboard_2x"},{ids:[9,11,13,5390,5392,2068,2070,3827],title:"betting_dashboard_more"},{ids:[10,12,14,5391,5393,2069,2071,3828],title:"betting_dashboard_less"},{ids:[2468,11725],title:"betting_dashboard_draw"},{ids:[180,835,8049,8051],title:"betting_dashboard_yes"},{ids:[181,836,8050,8052],title:"betting_dashboard_no"},{ids:[2466,123,11721,7736],title:"betting_dashboard_win_1"},{ids:[2467,124,11722,7737],title:"betting_dashboard_win_2"},{ids:[5320,5322,11425,11427,2072,2074,14786,14788],title:"betting_dashboard_even"},{ids:[5321,5323,11426,11428,2073,2075,14787,14789],title:"betting_dashboard_odd"}],l2={2:"betting_dashboard_hint_handicap"},c2={1:"betting_dashboard_hint_p1",2:"betting_dashboard_hint_draw",3:"betting_dashboard_hint_p2",4:"betting_dashboard_hint_1x",5:"betting_dashboard_hint_12",6:"betting_dashboard_hint_2x",9:"betting_dashboard_hint_total_over",10:"betting_dashboard_hint_total_under",7736:"betting_dashboard_hint_win_2_outcomes_1",7737:"betting_dashboard_hint_win_2_outcomes_2",401:"betting_dashboard_hint_team_1_wins",402:"betting_dashboard_hint_team_2_wins",3653:"betting_dashboard_hint_p1_on_main_time",3654:"betting_dashboard_hint_x_on_main_time",3655:"betting_dashboard_hint_p2_on_main_time",7:"betting_dashboard_hint_handicap_1",8:"betting_dashboard_hint_handicap_2",11:"betting_dashboard_hint_individual_total_1_more",12:"betting_dashboard_hint_individual_total_1_under",13:"betting_dashboard_hint_individual_total_2_more",14:"betting_dashboard_hint_individual_total_2_under",123:"betting_dashboard_hint_win_team_1_with_ot_and_bullets",124:"betting_dashboard_hint_win_team_2_with_ot_and_bullets",2466:"betting_dashboard_hint_team_1_wins_by_quarters",2468:"betting_dashboard_hint_draw_by_quarters",2467:"betting_dashboard_hint_team_2_wins_by_quarters",58:"betting_dashboard_hint_team_1_wins",59:"betting_dashboard_hint_team_2_wins",835:"betting_dashboard_hint_win_yes",5320:"betting_dashboard_hint_lowest_number_is_even",5321:"betting_dashboard_hint_lowest_number_is_odd",5322:"betting_dashboard_hint_highest_number_is_even",5323:"betting_dashboard_hint_highest_number_is_odd",11425:"betting_dashboard_hint_first_number_is_even",11426:"betting_dashboard_hint_first_number_is_odd",11427:"betting_dashboard_hint_last_number_is_even",11428:"betting_dashboard_hint_last_number_is_odd",11721:"betting_dashboard_hint_player_1_wins",11722:"betting_dashboard_hint_player_2_wins",11725:"betting_dashboard_hint_draw",180:"betting_dashboard_hint_both_scores_yes",181:"betting_dashboard_hint_both_scores_no",5390:"betting_dashboard_hint_dropped_number_more",5391:"betting_dashboard_hint_dropped_number_less",5392:"betting_dashboard_hint_dropped_number_more",5393:"betting_dashboard_hint_dropped_number_less",2068:"betting_dashboard_hint_over_individual_runs_total_1_more",2069:"betting_dashboard_hint_over_individual_runs_total_1_under",2070:"betting_dashboard_hint_over_individual_runs_total_2_more",2071:"betting_dashboard_hint_over_individual_runs_total_2_under",2072:"betting_dashboard_hint_over_individual_runs_total_1_even",2073:"betting_dashboard_hint_over_individual_runs_total_1_odd",2074:"betting_dashboard_hint_over_individual_runs_total_2_even",2075:"betting_dashboard_hint_over_individual_runs_total_2_odd",14786:"betting_dashboard_even",14788:"betting_dashboard_even",14787:"betting_dashboard_odd",14789:"betting_dashboard_odd",8049:"betting_dashboard_hint_player_exceed_yes",8050:"betting_dashboard_hint_player_exceed_no",8051:"betting_dashboard_hint_dealer_exceed_yes",8052:"betting_dashboard_hint_dealer_exceed_no",50:"betting_dashboard_hint_p1",51:"betting_dashboard_hint_p2",1794:"betting_dashboard_hint_p1",1795:"betting_dashboard_hint_p2"},xn=15,pa="-",wg=async({betModelsManager:e},t,o)=>e.getGroupTemplateById({groupId:t,marketsNameType:o}),u2=async({groupId:e,betModelsManager:t,marketsNameType:o,typeId:r})=>{$_$();var s,n;let l,i;const a=([l,i]=I(()=>wg({betModelsManager:t},e,o)),l=await l,i(),l);return(n=(s=a==null?void 0:a.markets[r])==null?void 0:s.nameTemplate)!=null?n:""},p2=async(e,t,o)=>{$_$();let r,s;const{playerName:n,typeId:l,groupId:i}=e;return{name:n||([r,s]=I(()=>u2({typeId:l,groupId:i,marketsNameType:t,betModelsManager:o})),r=await r,s(),r),groupId:i}},d2=(e,{T:t})=>{const o=a2[e];return o?t(o):void 0},Uu=({T:e},{groupId:t,name:o})=>{const r=d2(t,{T:e}),s=[];return s[1]=r!=null?r:o,{groupTitles:s,groupHints:[],fullTitle:o!=null?o:r,groupId:t}},m2=({T:e})=>Uu({T:e},{groupId:0,name:pa}),_2=async({betModelsManager:e,T:t},{markets:o,marketsNameType:r})=>{$_$();let s,n;const l=o.slice(0,xn),i=([s,n]=I(()=>Promise.all(l.map(async u=>{$_$();let p,m;const c=([p,m]=I(()=>p2(u,r,e)),p=await p,m(),p),_=Uu({T:t},c);return _.groupHints=_.groupTitles.map(h=>h&&h!==pa?h:""),_}))),s=await s,n(),s),a=i.length;return am2({T:t}))),i},h2=async({parsedGames:e,marketsNameType:t,T:o,betModelsManager:r})=>{$_$();let s,n;const l=e.filter(a=>a.isLong);if(!l.length)return{};const i=([s,n]=I(()=>Promise.all(l.map(async a=>[a.id,await _2({betModelsManager:r,T:o},{markets:a.markets,marketsNameType:t})]))),s=await s,n(),s);return Object.fromEntries(i)},xu=({groupId:e=0,typeId:t,coef:o=pa}={groupId:0})=>lr({id:void 0,groupId:e,coef:o,typeId:t}),f2=e=>{var t;const o=(t=Yo[e])!=null?t:[];return(o.length===3?o:[o[0],0,o[1]]).map(s=>xu({groupId:e,typeId:s}))};var g2=Object.defineProperty,S2=Object.defineProperties,y2=Object.getOwnPropertyDescriptors,w_=Object.getOwnPropertySymbols,I2=Object.prototype.hasOwnProperty,E2=Object.prototype.propertyIsEnumerable,D_=(e,t,o)=>t in e?g2(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,T2=(e,t)=>{for(var o in t||(t={}))I2.call(t,o)&&D_(e,o,t[o]);if(w_)for(var o of w_(t))E2.call(t,o)&&D_(e,o,t[o]);return e},O2=(e,t)=>S2(e,y2(t));const v2=e=>lr(O2(T2({},e),{isParam:!0,coef:e!=null&&e.param||(e==null?void 0:e.param)===0?String(e.param):void 0})),$u=({marketList:e,groupId:t,additionalMarkets:o,gameTypeId:r,period:s})=>({marketList:e,groupId:t,additionalMarkets:o,hasAdditionalMarkets:!1,specialSign:bC.includes(t),gameTypeId:r,period:s}),Dg=({groupId:e,gameTypeId:t,period:o})=>$u({marketList:[...new Array(3)].map(()=>xu({groupId:e})),additionalMarkets:[],groupId:e,gameTypeId:t,period:o}),P2=({markets:e,game:t,logger:o,groupId:r})=>{var s,n,l;const i=(s=Yo[r])!=null?s:[],a=Dg({groupId:r,gameTypeId:t.typeId||1,period:t.gamePeriodId||0}),u=Object.fromEntries(e.map(m=>[m.typeId,m])),p=[...i,0,0,0].slice(0,3).map(m=>u[m]);try{switch(e.length){case 2:[a.marketList[0],a.marketList[2]]=p,((n=a.marketList[0])!=null&&n.param||((l=a.marketList[0])==null?void 0:l.param)===0)&&(a.marketList[1]=v2(a.marketList[0]));break;case 3:a.marketList=p;break;default:o.error("что-то не так с маркетами",e,t)}}catch(m){o.warn("dashboard parse full markets error.",m)}return a},A2=({markets:e,logger:t,marketTypes:o,groupId:r,gameTypeId:s,period:n})=>{const l=Dg({groupId:r,gameTypeId:s,period:n});return o?(e.forEach(i=>{const a=o.indexOf(i.typeId);a!==-1&&(a>=0&&a<=2?l.marketList[a]=i:t.error("market index goes beyond 3",e))}),l):(t.error("нет карты для маркетов",e),l)},Fg=({markets:e,game:t,logger:o,groupId:r,existedGroup:s,isValidMarketsCount:n})=>n?P2({markets:e,game:t,logger:o,groupId:r}):A2({markets:e,logger:o,marketTypes:s,groupId:r,gameTypeId:t.typeId,period:t.gamePeriodId}),Ug=e=>{var t,o;const[r]=e,s=(t=r==null?void 0:r.groupId)!=null?t:0,n=Yo[s],l=e.length===((o=n==null?void 0:n.length)!=null?o:3);return{groupId:s,existedGroup:n,isValidMarketsCount:l}},C2=(e,t)=>e.find(o=>o.groupId===t),b2=e=>Object.values(lv(e,t=>t.param?Math.abs(t.param):"")),R2=e=>{const t=[],r=e.filter(({typeId:n})=>n===7).slice(0,2),s=e.filter(({typeId:n})=>n===8).slice(0,2);for(let n=0;n(l==null?void 0:l.param)===void 0?!1:a===l.param*-1);l&&i&&t.push([l,i])}return t},N2=e=>{const t=[];return e.forEach(o=>{var r,s;const n=(r=Yo[2])!=null?r:[];((s=o[0])==null?void 0:s.groupId)===2&&o.length>n.length?t.push(...R2(o)):t.push(o)}),t},L2=({game:e,groupId:t})=>{var o;const{additionalMarkets:r=[]}=e,s=C2(r,t),n=b2((o=s==null?void 0:s.additionalMarketsList)!=null?o:[]);return N2(n)},B2=({game:e,groupId:t,logger:o})=>{try{return e.additionalMarkets.length?L2({game:e,groupId:t}).map(s=>{const{groupId:n,existedGroup:l,isValidMarketsCount:i}=Ug(s);if(!(!i&&cf.includes(n)))return Fg({markets:s,game:e,logger:o,groupId:n,existedGroup:l,isValidMarketsCount:i})}).filter(Boolean):[]}catch(r){o.warn("dashboard create additional markets error.",r)}return[]},M2=({marketGroupsToRender:e,marketGroups:t,game:o,logger:r})=>e.map(s=>{const n=Number(s),l=t[n]||f2(n);try{const{groupId:i,existedGroup:a,isValidMarketsCount:u}=Ug(l),p=Fg({markets:l,game:o,logger:r,groupId:i,existedGroup:a,isValidMarketsCount:u});if(u&&cf.includes(i)){const m=B2({game:o,groupId:i,logger:r});p.additionalMarkets=m,p.hasAdditionalMarkets=m.length>1}return p}catch(i){r.warn(`dashboard group ${n} parse fail`,i);return}}).filter(Boolean),G2=()=>$_$() && jt($u({marketList:[void 0,xu(),void 0],groupId:0})),k2=e=>$_$() && jt($u({marketList:[void 0,jt(e),void 0],groupId:e.groupId})),w2=e=>new Array(Math.max(e.length,xn)).fill(void 0).map((t,o)=>{const r=e[o];return o>=xn||!r?G2():k2(r)});var D2=Object.defineProperty,F_=Object.getOwnPropertySymbols,F2=Object.prototype.hasOwnProperty,U2=Object.prototype.propertyIsEnumerable,U_=(e,t,o)=>t in e?D2(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,x2=(e,t)=>{for(var o in t||(t={}))F2.call(t,o)&&U_(e,o,t[o]);if(F_)for(var o of F_(t))U2.call(t,o)&&U_(e,o,t[o]);return e};const $2=({games:e,groupIdsBySportId:t,logger:o})=>e.reduce((r,s)=>{$_$();const n=s.isLong?w2(s.markets):M2({marketGroupsToRender:t[s.sportId],marketGroups:x2({},s.marketGroups),game:s,logger:o});return r[s.id]=jt(n),r},{}),IH=[p0,d0,m0],x_={default:[1,8,17,19,2,15,62,101,2766],3:[101,17,2,15,62,1,2250,8],13:[101,17,2,15,62,1,2250,8]},EH=10,V2=(e,[t,o])=>{var r;const s=Object.fromEntries(o.map(i=>[i.groupId,i])),l=(i=>i.map(a=>s[a]).filter(Boolean))((r=x_[Number(t)])!=null?r:x_.default);return e[t]=[...l,...o.filter(i=>!l.includes(i)).sort((i,a)=>i.groupId===0?1:a.groupId===0?-1:i.groupId-a.groupId)],e},H2=e=>{const t=Object.entries(e),o={};return t.reduce((r,s)=>V2(r,s),o)},ac=(e,{logger:t,T:o})=>{const r=i2.find(s=>typeof e=="number"&&s.ids.includes(e));return!r&&e!==0&&t.warn(`dashboard market group map for market type: ${e} is missing`),r!=null&&r.title?o(r.title):pa},K2=({logger:e,T:t},o,r)=>{switch(r.length){case 2:return[ac(r[0],{logger:e,T:t}),o.groupTitles[1],ac(r[1],{logger:e,T:t})];case 3:return r.map(s=>ac(s,{logger:e,T:t}));default:return e.error("dashboard market group titles not found for market types:",r),new Array(3).fill(pa)}},W2=({T:e},t,o)=>{var r,s;const n=o.map((l,i)=>{var a;const u=c2[l];return u?e(u):(a=t.groupTitles[i])!=null?a:""});if(n.length===2){const l=l2[t.groupId],i=l?e(l):(s=(r=t.fullTitle)!=null?r:t.groupTitles[1])!=null?s:"";n.splice(1,0,i)}return n},Y2=async({betModelsManager:e,logger:t,T:o},r,s)=>{$_$();var n,l;let i,a;try{const u=([i,a]=I(()=>wg({betModelsManager:e},r,s)),i=await i,a(),i);if(!u)throw new Error(`not found groupTemplateModel for ${r} groupId`);const p=(n=u==null?void 0:u.groupId)!=null?n:r,m=u==null?void 0:u.name,c=(l=u==null?void 0:u.markets)!=null?l:[],_=Uu({T:o},{groupId:p,name:m}),h=Yo[p],g=Object.values(c).map(({templateTypeId:P})=>P),S=h!=null?h:g;return _.groupTitles=K2({logger:t,T:o},_,S),_.groupHints=W2({T:o},_,S),_}catch(u){throw t.error(`dashboard market group ${r} load error`,u),u}},j2=async({groupIdsBySportId:e,marketsNameType:t},{betModelsManager:o,logger:r,T:s})=>{$_$();let n,l;try{const i=Object.keys(e),a=async p=>{$_$();let m,c;try{return[m,c]=I(()=>Y2({betModelsManager:o,logger:r,T:s},Number(p),t)),m=await m,c(),m}catch(_){r.error("create dashboard market group by sport error",_);return}},u=Object.fromEntries(([n,l]=I(()=>Promise.all(i.map(async p=>{$_$();let m,c;const h=([m,c]=I(()=>{var g;return Promise.all(((g=e[p])!=null?g:[]).map(a))}),m=await m,c(),m).filter(Boolean);return[p,h]}))),n=await n,l(),n));return H2(u)}catch(i){r.error("create dashboard market group by sport error",i);return}},Z2=({groupIdsBySportId:e,marketsNameType:t,T:o,betModelsManager:r,logger:s})=>j2({groupIdsBySportId:e,marketsNameType:t},{betModelsManager:r,logger:s,T:o}),q2=async({data:e,marketsNameType:t,responseSliceCount:o,logger:r,betModelsManager:s,T:n,navigationTopChamp:l,dateTimeService:i,translationService:a,lng:u})=>{$_$();let p,m;try{if(!e.Success)throw new Error("response data is null");const c=Qa(e)&&Hn(e.Value)?e.Value.filter(Qa):[];c.forEach(Du);const _=([p,m]=I(()=>kg({unparsedGames:c,betModelsManager:s,marketsNameType:t})),p=await p,m(),p);[p,m]=I(()=>$_$() && Ja(0)),await p,m();const{parsedGames:h,games:g,champsMap:S,groupsBySport:P}=Gg({unparsedGames:c,responseSliceCount:o,marketGroupTemplatesByGroupId:_,navigationTopChamp:l,dateTimeService:i,translationService:a,logger:r,lng:u}),v=r2(P);[p,m]=I(()=>$_$() && Ja(0)),await p,m();const R=pe.cleanMarkets?{}:$2({games:g,groupIdsBySportId:v,logger:r}),[y,A={}]=([p,m]=I(()=>Promise.all([h2({parsedGames:h,marketsNameType:t,T:n,betModelsManager:s}),pe.cleanMarkets?void 0:Z2({groupIdsBySportId:v,marketsNameType:t,T:n,betModelsManager:s,logger:r})])),p=await p,m(),p),E=Object.values(S);return{games:g,champs:E,marketsByGameId:R,marketGroupsBySportId:A,longMarketGroupsByGameId:y}}catch(c){return r.warn("response data is null",{error:c}),{games:[],champs:[],marketsByGameId:{},marketGroupsBySportId:{},longMarketGroupsByGameId:{},hasError:!0}}},J2=({games:e})=>e.reduce((t,o)=>{$_$();var r;return t[o.id]=jt((r=o.marketGroups)!=null?r:{}),t},{}),X2=async({data:e,marketsNameType:t,logger:o,betModelsManager:r,navigationTopChamp:s,dateTimeService:n,translationService:l,lng:i})=>{$_$();let a,u;const p=Qa(e)&&Hn(e.Value)?e.Value.filter(Qa):[];p.forEach(Du);const m=([a,u]=I(()=>kg({unparsedGames:p,betModelsManager:r,marketsNameType:t})),a=await a,u(),a),{parsedGames:c,games:_,champsMap:h}=Gg({unparsedGames:p,marketGroupTemplatesByGroupId:m,navigationTopChamp:s,dateTimeService:n,translationService:l,logger:o,lng:i}),g=pe.cleanMarkets?{}:J2({games:c}),S=Object.values(h);return{games:_,champs:S,marketsByGameId:g}};var z2=Object.defineProperty,Q2=(e,t,o)=>t in e?z2(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,Yr=(e,t,o)=>Q2(e,typeof t!="symbol"?t+"":t,o);class eU{constructor(t){Yr(this,"requests1x2"),Yr(this,"asiaRequests1x2"),Yr(this,"requestManager"),Yr(this,"limitCountItemsOnSSR",10),Yr(this,"T"),Yr(this,"siteConfig"),Yr(this,"dateTimeService"),this.requestManager=new Nf(t),this.T=t.$T,this.siteConfig=t.$siteConfig,this.dateTimeService=t.$dateTimeService;const o=(s,n)=>q2({betModelsManager:t.$betModelsManager,logger:t.$logger,T:this.T,data:s,marketsNameType:n==null?void 0:n.marketsNameType,responseSliceCount:void 0,navigationTopChamp:this.siteConfig.navigationTopChamp,dateTimeService:this.dateTimeService,translationService:this.T,lng:this.siteConfig.lng}),r=(s,n)=>X2({navigationTopChamp:this.siteConfig.navigationTopChamp,betModelsManager:t.$betModelsManager,logger:t.$logger,data:s,marketsNameType:n==null?void 0:n.marketsNameType,dateTimeService:this.dateTimeService,translationService:this.T,lng:this.siteConfig.lng});this.requests1x2={[ht.HOME_LIVE]:{method:Sa(pe),parser:o},[ht.HOME_LINE]:{method:ga(pe),parser:o},[ht.TEAM_LINE]:{method:ga(pe),parser:o},[ht.BETSONYOUR_LIVE]:{method:nA(pe),parser:o},[ht.BETSONYOUR_LINE]:{method:XP(pe),parser:o},[ht.MARBLE_LIVE]:{method:Sa(pe),parser:o},[ht.TOPGAME_LIVE]:{method:cA(pe),parser:o},[ht.TOPGAME_LINE]:{method:oA(pe),parser:o},[ht.RECOMMENDATION_LIVE]:{method:Sa(pe),parser:o},[ht.RECOMMENDATION_LINE]:{method:ga(pe),parser:o},[ht.TOP_GAMES_1X2_LIVE]:{method:Sa(pe),parser:o},[ht.TOP_GAMES_1X2_LINE]:{method:ga(pe),parser:o}},this.asiaRequests1x2={[Ss.ASIAN_HOME_LINE]:{method:xl(pe),parser:r},[Ss.ASIAN_TEAM_LINE]:{method:xl(pe),parser:r},[Ss.ASIAN_HOME_LIVE]:{method:$l(pe),parser:r},[Ss.ASIAN_BETSONYOUR_LINE]:{method:xl(pe),parser:r},[Ss.ASIAN_BETSONYOUR_LIVE]:{method:$l(pe),parser:r},[Ss.ASIAN_MARBLE_LIVE]:{method:$l(pe),parser:r}}}load1x2(t,o,r){return this.requestManager.load({type:t,api:this.requests1x2[t],params:o,options:r})}asiaLoad1x2(t,o,r){return this.requestManager.load({type:t,api:this.asiaRequests1x2[t],params:o,options:r})}cancelAllRequest(t){this.requestManager.cancelAllRequest(t)}}const tU=e=>new eU(e),oU=()=>{$_$();dp[lt.DASHBOARD_API]=tU,dp[lt.GAME_API]=t2};var rU=Object.defineProperty,sU=(e,t,o)=>t in e?rU(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,Ga=(e,t,o)=>sU(e,typeof t!="symbol"?t+"":t,o);class $_{constructor({id:t=Ro("played-matches-data-model-"),recentGames:o=[],futureGames:r=[],previousMeetings:s=[]}={}){Ga(this,"id"),Ga(this,"recentGames"),Ga(this,"futureGames"),Ga(this,"previousMeetings"),this.id=t,this.recentGames=o,this.futureGames=r,this.previousMeetings=s}}var nU=Object.defineProperty,xg=e=>{throw TypeError(e)},aU=(e,t,o)=>t in e?nU(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,ic=(e,t,o)=>aU(e,typeof t!="symbol"?t+"":t,o),iU=(e,t,o)=>t.has(e)||xg("Cannot "+o),_r=(e,t,o)=>(iU(e,t,"read from private field"),o?o.call(e):t.get(e)),lc=(e,t,o)=>t.has(e)?xg("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,o),Cn,As,wc;class lU{constructor(t){ic(this,"gameApi"),ic(this,"$logger"),ic(this,"$siteConfig"),lc(this,Cn,{}),lc(this,As,{}),lc(this,wc,({gameId:o})=>this.gameApi.loadMatchesSchedule({groupId:this.$siteConfig.group_id,ref:String(this.$siteConfig.ref_id),fcountry:this.$siteConfig.geoCountryId,lng:this.$siteConfig.lng,gameId:o})),bo(t.gameApi,"gameApi обязательное поле"),bo(t.$siteConfig,"$siteConfig обязательное поле"),bo(t.$logger,"$logger обязательное поле"),this.gameApi=t.gameApi,this.$siteConfig=t.$siteConfig,this.$logger=t.$logger}loadSchedule({gameId:t=ao("gameId"),isAwayTeam:o=Ti("isAwayTeam")}={}){$_$();const r=`${t}:${o}`;return fe(_r(this,As)[r])?Promise.resolve(_r(this,As)[r]):(fe(_r(this,Cn)[t])||(_r(this,Cn)[t]=_r(this,wc).call(this,{gameId:t})),_r(this,Cn)[t].then(s=>(_r(this,As)[r]=new $_({recentGames:o?s.awayTeamGames:s.homeTeamGames,futureGames:o?s.awayTeamFutureGames:s.homeTeamFutureGames,previousMeetings:s.previousMeetings}),_r(this,As)[r])).catch(s=>(this.$logger.error("MatchesScheduleService error",s),new $_)))}}Cn=new WeakMap;As=new WeakMap;wc=new WeakMap;const cU={install(e){$_$();e.config.globalProperties.matchesScheduleService=new lU({[lt.GAME_API]:e.config.globalProperties.$apiInstances.gameApi,[lt.LOGGER]:e.config.globalProperties.$logger,[lt.SITE_CONFIG]:e.config.globalProperties.$siteConfig})}};var uU=Object.defineProperty,pU=(e,t,o)=>t in e?uU(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,cc=(e,t,o)=>pU(e,typeof t!="symbol"?t+"":t,o);class V_{constructor({id:t=Ro("lineup-model-"),activePlayers:o=[],absentPlayers:r=[]}={}){cc(this,"id"),cc(this,"activePlayers"),cc(this,"absentPlayers"),this.id=t,this.activePlayers=o,this.absentPlayers=r}}var dU=Object.defineProperty,$g=e=>{throw TypeError(e)},mU=(e,t,o)=>t in e?dU(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,uc=(e,t,o)=>mU(e,typeof t!="symbol"?t+"":t,o),_U=(e,t,o)=>t.has(e)||$g("Cannot "+o),hr=(e,t,o)=>(_U(e,t,"read from private field"),o?o.call(e):t.get(e)),pc=(e,t,o)=>t.has(e)?$g("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,o),bn,Cs,Dc;class hU{constructor(t){uc(this,"gameApi"),uc(this,"$logger"),uc(this,"$siteConfig"),pc(this,bn,{}),pc(this,Cs,{}),pc(this,Dc,o=>this.gameApi.getLineups({statisticGameId:o,language:this.$siteConfig.lng})),bo(t.gameApi,"gameApi обязательное поле"),bo(t.$siteConfig,"$siteConfig обязательное поле"),bo(t.$logger,"$logger обязательное поле"),this.gameApi=t.gameApi,this.$siteConfig=t.$siteConfig,this.$logger=t.$logger}loadLineup({statisticGameId:t=Xn("statisticGameId"),isAwayTeam:o=Ti("isAwayTeam")}={}){$_$();const r=`${t}:${o}`;return fe(hr(this,Cs)[r])?Promise.resolve(hr(this,Cs)[r]):(fe(hr(this,bn)[t])||(hr(this,bn)[t]=hr(this,Dc).call(this,t)),hr(this,bn)[t].then(s=>{const n=o?s.awayTeamActivePlayerIds:s.homeTeamActivePlayerIds,l=o?s.awayTeamAbsentPlayerIds:s.homeTeamAbsentPlayerIds;return hr(this,Cs)[r]=new V_({activePlayers:n.map(i=>s.playerByIds[i]),absentPlayers:l.map(i=>s.playerByIds[i])}),hr(this,Cs)[r]}).catch(s=>(this.$logger.error("DefaultLineupsService error",s),new V_)))}}bn=new WeakMap;Cs=new WeakMap;Dc=new WeakMap;const fU={install(e){$_$();e.config.globalProperties.lineupsService=new hU({[lt.GAME_API]:e.config.globalProperties.$apiInstances.gameApi,[lt.LOGGER]:e.config.globalProperties.$logger,[lt.SITE_CONFIG]:e.config.globalProperties.$siteConfig})}};var gU=Object.defineProperty,SU=(e,t,o)=>t in e?gU(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,ys=(e,t,o)=>SU(e,typeof t!="symbol"?t+"":t,o);class yU{constructor(t){ys(this,"playersInfoResponsePromiseRegistry",{}),ys(this,"playersInfoModelRegistry",{}),ys(this,"gameApi"),ys(this,"siteConfig"),ys(this,"logger"),ys(this,"load",o=>this.gameApi.loadShortPlayersInfo({statisticGameId:o,language:this.siteConfig.lng})),this.gameApi=t.gameApi,this.siteConfig=t.$siteConfig,this.logger=t.$logger}loadInfo({statisticGameId:t=Xn("statisticGameId"),isAwayTeam:o=Ti("isAwayTeam")}){$_$();const r=`${t}:${o}`;return fe(this.playersInfoModelRegistry[r])?Promise.resolve(this.playersInfoModelRegistry[r]):(fe(this.playersInfoResponsePromiseRegistry[t])||(this.playersInfoResponsePromiseRegistry[t]=this.load(t)),this.playersInfoResponsePromiseRegistry[t].then(({firstPlayerInfo:s,secondPlayerInfo:n})=>(this.playersInfoModelRegistry[r]=o?n:s,this.playersInfoModelRegistry[r])).catch(s=>(this.logger.error("DefaultShortPlayersInfoService error",s),{})))}}const IU={install(e){$_$();e.config.globalProperties.shortPlayersInfoService=new yU({[lt.GAME_API]:e.config.globalProperties.$apiInstances.gameApi,[lt.LOGGER]:e.config.globalProperties.$logger,[lt.SITE_CONFIG]:e.config.globalProperties.$siteConfig})}};var EU=Object.defineProperty,TU=(e,t,o)=>t in e?EU(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,_n=(e,t,o)=>TU(e,typeof t!="symbol"?t+"":t,o);class OU{constructor(t){_n(this,"statsModelRegistry",{}),_n(this,"matchesScheduleService"),_n(this,"lineupsService"),_n(this,"shortPlayersInfoService"),_n(this,"logger"),this.matchesScheduleService=t.matchesScheduleService,this.lineupsService=t.lineupsService,this.shortPlayersInfoService=t.shortPlayersInfoService,this.logger=t.$logger}async loadStats({gameId:t=ao("gameId"),statisticGameId:o=Xn("statisticGameId"),isAwayTeam:r=Ti("isAwayTeam")}){$_$();let s,n;const l=`${o}:${r}`;if(fe(this.statsModelRegistry[l]))return this.statsModelRegistry[l];const i=this.matchesScheduleService.loadSchedule({gameId:t,isAwayTeam:r}),a=this.lineupsService.loadLineup({statisticGameId:o,isAwayTeam:r}),u=this.shortPlayersInfoService.loadInfo({statisticGameId:o,isAwayTeam:r}),[p,m,c]=([s,n]=I(()=>Promise.all([i,a,u])),s=await s,n(),s);return this.statsModelRegistry[l]={lineup:m,shortPlayerInfo:c,matchesSchedule:p},this.statsModelRegistry[l]}async loadMatchesSchedule({gameId:t,isAwayTeam:o}){$_$();let r,s;return[r,s]=I(()=>this.matchesScheduleService.loadSchedule({gameId:t,isAwayTeam:o})),r=await r,s(),r}}const vU={install(e){$_$();e.config.globalProperties.teamStatsService=new OU({[lt.MATCHES_SCHEDULE_SERVICE]:e.config.globalProperties.matchesScheduleService,[lt.LINEUPS_SERVICE]:e.config.globalProperties.lineupsService,[lt.SHORT_PLAYERS_INFO_SERVICE]:e.config.globalProperties.shortPlayersInfoService,[lt.LOGGER]:e.config.globalProperties.$logger})}},PU=e=>({store:t})=>{e.set(t.$id,t)},AU={install(e){const t=new Map;e.$nuxt.$pinia.use(PU(t)),e.config.globalProperties.storeMap=t}};var CU=Object.defineProperty,bU=Object.defineProperties,RU=Object.getOwnPropertyDescriptors,H_=Object.getOwnPropertySymbols,NU=Object.prototype.hasOwnProperty,LU=Object.prototype.propertyIsEnumerable,K_=(e,t,o)=>t in e?CU(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,BU=(e,t)=>{for(var o in t||(t={}))NU.call(t,o)&&K_(e,o,t[o]);if(H_)for(var o of H_(t))LU.call(t,o)&&K_(e,o,t[o]);return e},MU=(e,t)=>bU(e,RU(t));const GU=async()=>{$_$();let e,t;const o=oo(),r=Si(),s=_i(),{id:n}=to(-1004);if(!r.getItem(gc))try{const{execute:l}=YP(s,{cache:{key:`load-sports-${n}`,expire:86400},params:{lng:n,nameEng:!0}}),a=[...([e,t]=I(()=>l()),e=await e,t(),e)].map(({sportId:u,name:p,nameEng:m,isCyber:c,subSports:_})=>{$_$();var h;return jt({id:u,name:p,nameEng:m,nameForUrl:Co(nr((h=m!=null?m:p)!=null?h:"")),isCyber:!!c,subSports:_?_.map(g=>{$_$();var S;return MU(BU({},g),{nameForUrl:Co(nr((S=g.name)!=null?S:""))})}):[]})});r.setItem(gc,a)}catch(l){o.error("loadAllSports",l.message)}},W_=new Map([[20,6],[21,0],[24,0],[25,6],[26,5],[27,0],[28,5],[29,5],[30,0],[31,0],[32,5],[33,5],[34,0],[35,0],[36,5],[37,5],[38,6],[39,0],[40,0],[41,6],[42,5],[43,5],[44,6],[45,0],[46,0],[47,6],[48,5],[49,5],[50,6],[51,0],[54,0],[55,4]]),kU=async e=>{$_$();let t,o;const r=Vn(),s=Ot(),n=_0(),l=async m=>{$_$();let c,_;return{isActiveAbTest:([c,_]=I(()=>e.isAbTestActive(m)),c=await c,_(),c),sid:m}},i=Fe({get(){return s.getCoefViewId},set(m){$_$();s.installAppCoefView(m),r.setItem(cr.APP_COEFFICIENT_FORMAT_TYPE,m)}});if(G(i)!==n.defaultCoefFormat)return;const a=([t,o]=I(()=>e.getAbTestData()),t=await t,o(),t),p=([t,o]=I(()=>Promise.all(a.filter(m=>W_.has(m.sid)).map(m=>l(m.sid)))),t=await t,o(),t).find(m=>m.isActiveAbTest);p&&(i.value=W_.get(p.sid))},wU=()=>{const e=Au();kU(e)},DU=Fo(async e=>{$_$();let t,o;h0(),wU();const{vueApp:r}=e;r.use(oU),r.use(uB),r.use(pB),r.use(hB),r.use(JB),r.use(zB),r.use(sM),r.use(IM),r.use(CA),r.use(fU),r.use(IU),r.use(cU),r.use(vU),r.use(AU),EM(),[t,o]=I(()=>$_$() && Promise.all([f0(["b.core","d.betting","d.header","d.coupon","d.dicts","d.customize","d.modules","d.toto","d.boolean","d.banner","d.promo","b.other","d.thirdparty","d.office","d.global","d.reg","d.cyber"]),GU()])),await t,o()}),FU=Fo(async()=>{$_$();const{provide:e,unprovide:t}=sh(),o=dh(),r=MR();e("couponStore",r),o.off("couponAddBet"),o.on("couponAddBet",s=>{r.couponAddBet(s)}),o.off("couponUpdate"),o.on("couponUpdate",r.couponUpdate),Yc(()=>{o.off("couponUpdate"),o.off("couponAddBet"),t("couponStore")})}),UU=Fo(async()=>{$_$();if(window.BETTING_enable_external_navigation_plugin){const e=Xr(),t=dh(),o=s=>{var n,l;return(l=(n=s.meta)==null?void 0:n.isExternalRoute)!=null?l:!1},r=s=>s.name!=="ROOT_ROUTE_NAME"&&(o(s)||s.children.some(o));e.beforeEach(({fullPath:s,matched:n},l,i)=>{if(n.filter(r).length)t.emit("BETTING_CHANGE_ROUTE",{fullPath:s});else return i()})}}),xU=async(e,t)=>{$_$();var o;let r,s;{(o=e.$multiBuildPreloadComponents)!=null||(e.$multiBuildPreloadComponents={});const n=("mbc-"+t).toLowerCase(),l=new Set;document.querySelectorAll("[data-"+n+"]").forEach(a=>{const u=a.dataset[n];u&&!l.has(u)&&l.add(u)});const i=Object.assign({"../.nuxt/loaders/loadBetsHistoryDefaultCouponBetConfigDesktop.ts":()=>O(()=>import("./c19ba5e0c9.js").then(a=>a.loadBetsHistoryDefaultCouponBetConfigDesktop$1),__vite__mapDeps([29,1]),import.meta.url),"../.nuxt/loaders/loadBetsHistoryDefaultCouponBetConfigDesktopSync.ts":()=>O(()=>import("./b2841f3739.js"),__vite__mapDeps([358,359,360,1,361]),import.meta.url),"../.nuxt/loaders/loadBettingContentConfigDesktop.ts":()=>O(()=>import("./c19ba5e0c9.js").then(a=>a.loadBettingContentConfigDesktop$1),__vite__mapDeps([29,1]),import.meta.url),"../.nuxt/loaders/loadBettingContentConfigDesktopSync.ts":()=>O(()=>import("./978a005124.js").then(a=>a.loadBettingContentConfigDesktopSync),__vite__mapDeps([362,1]),import.meta.url),"../.nuxt/loaders/loadBettingDashboardConfigMobile.ts":()=>O(()=>import("./6a500d4ad6.js").then(a=>a.loadBettingDashboardConfigMobile$1),__vite__mapDeps([6,1]),import.meta.url),"../.nuxt/loaders/loadBettingDashboardConfigMobileSync.ts":()=>O(()=>import("./ae36a433a4.js").then(a=>a.loadBettingDashboardConfigMobileSync),__vite__mapDeps([363,364,1]),import.meta.url),"../.nuxt/loaders/loadBettingDashboardMobile.ts":()=>O(()=>import("./c19ba5e0c9.js").then(a=>a.loadBettingDashboardMobile),__vite__mapDeps([29,1]),import.meta.url),"../.nuxt/loaders/loadBettingDashboardMobileSync.ts":()=>O(()=>import("./64c9fcf370.js"),__vite__mapDeps([365,366,367,5,1,4,3,6,2,7,11,12,9,13,14,15,16,368,30,209,210,369,370,50,21,20,371,29,372,373,54,55,374,223,111,222,221,106,46,224,225,226,227,228,60,52,61,62,56,375,376,78,377,378,379,380,381,344,345,47,282,382]),import.meta.url),"../.nuxt/loaders/loadBettingLayoutAppConfigDesktop.ts":()=>O(()=>import("./6a500d4ad6.js").then(a=>a.loadBettingLayoutAppConfigDesktop$1),__vite__mapDeps([6,1]),import.meta.url),"../.nuxt/loaders/loadBettingLayoutAppConfigDesktopSync.ts":()=>O(()=>import("./a09ce9e150.js"),__vite__mapDeps([383,384,1,385,386]),import.meta.url),"../.nuxt/loaders/loadBettingLayoutAppDesktop.ts":()=>O(()=>import("./c19ba5e0c9.js").then(a=>a.loadBettingLayoutAppDesktop),__vite__mapDeps([29,1]),import.meta.url),"../.nuxt/loaders/loadBettingLayoutAppDesktopSync.ts":()=>O(()=>import("./c7f5ac3804.js"),__vite__mapDeps([387,388,245,246,47,4,5,1,3,6,21,240,241,242,243,244,304,305,389,308,191,192,309,310,311,220,227,222,29,312,313,314,315]),import.meta.url),"../.nuxt/loaders/loadBettingLayoutMobile.ts":()=>O(()=>import("./6e85008790.js").then(a=>a.loadBettingLayoutMobile),__vite__mapDeps([3,1]),import.meta.url),"../.nuxt/loaders/loadBettingLayoutMobileSync.ts":()=>O(()=>import("./370ca8581e.js"),__vite__mapDeps([390,391,13,4,5,1,3,6,14,15,2,7,282,11,12,9,16,374,245,246,47,21,392,393,394]),import.meta.url),"../.nuxt/loaders/loadBettingLeftAsideDesktop.ts":()=>O(()=>import("./6e85008790.js").then(a=>a.loadBettingLeftAsideDesktop),__vite__mapDeps([3,1]),import.meta.url),"../.nuxt/loaders/loadBettingLeftAsideDesktopSync.ts":()=>O(()=>import("./9faf3e814d.js"),__vite__mapDeps([395,396,191,1,6,192,306,256,3,307,5,397,29,398]),import.meta.url),"../.nuxt/loaders/loadBettingLeftAsideTemplateConfigDesktop.ts":()=>O(()=>import("./6e85008790.js").then(a=>a.loadBettingLeftAsideTemplateConfigDesktop$1),__vite__mapDeps([3,1]),import.meta.url),"../.nuxt/loaders/loadBettingLeftAsideTemplateConfigDesktopSync.ts":()=>O(()=>import("./6219abd99a.js"),__vite__mapDeps([399,400,1,401,402]),import.meta.url),"../.nuxt/loaders/loadBettingMain.ts":()=>O(()=>import("./c19ba5e0c9.js").then(a=>a.loadBettingMain$1),__vite__mapDeps([29,1]),import.meta.url),"../.nuxt/loaders/loadBettingMainConfigMobile.ts":()=>O(()=>import("./6a500d4ad6.js").then(a=>a.loadBettingMainConfigMobile$1),__vite__mapDeps([6,1]),import.meta.url),"../.nuxt/loaders/loadBettingMainConfigMobileSync.ts":()=>O(()=>import("./dba6d7fe78.js").then(a=>a.loadBettingMainConfigMobileSync),__vite__mapDeps([403,404,1]),import.meta.url),"../.nuxt/loaders/loadBettingMainMobile.ts":()=>O(()=>import("./6e85008790.js").then(a=>a.loadBettingMainMobile),__vite__mapDeps([3,1]),import.meta.url),"../.nuxt/loaders/loadBettingMainMobileSync.ts":()=>O(()=>import("./f69eb9fd2c.js"),__vite__mapDeps([405,406,371,6,1,2,3,4,5,7,368,13,14,15,16,369,370,50,21,20,29,372,373,78,54,55,56,407,223,111,222,221,106,46,9,224,225,226,227,12,228,60,52,61,62,408,378,379,409,410,411,412,367,11,30,209,210,374,375,413,414]),import.meta.url),"../.nuxt/loaders/loadBettingMainPromoDesktop.ts":()=>O(()=>import("./6e85008790.js").then(a=>a.loadBettingMainPromoDesktop$1),__vite__mapDeps([3,1]),import.meta.url),"../.nuxt/loaders/loadBettingMainPromoDesktopSync.ts":()=>O(()=>import("./7a41c98ff9.js"),__vite__mapDeps([415,416,417,6,1,418,75,29,12,5,25,26,225,226,21,419,420,85,421,422,423]),import.meta.url),"../.nuxt/loaders/loadBettingMainPromoMobile.ts":()=>O(()=>import("./6e85008790.js").then(a=>a.loadBettingMainPromoMobile$1),__vite__mapDeps([3,1]),import.meta.url),"../.nuxt/loaders/loadBettingMainPromoMobileSync.ts":()=>O(()=>import("./b9994cdc89.js"),__vite__mapDeps([424,425,75,1,417,6,418,21,5,29,426,427,421,422,428]),import.meta.url),"../.nuxt/loaders/loadBettingMainSync.ts":()=>O(()=>import("./cd736a790e.js"),__vite__mapDeps([429,430,356,1,3,357,21,5,409,6,410,431,432,203,204,433]),import.meta.url),"../.nuxt/loaders/loadCentralMenu.ts":()=>O(()=>import("./6a500d4ad6.js").then(a=>a.loadCentralMenu$1),__vite__mapDeps([6,1]),import.meta.url),"../.nuxt/loaders/loadCentralMenuConfig.ts":()=>O(()=>import("./6a500d4ad6.js").then(a=>a.loadCentralMenuConfig$1),__vite__mapDeps([6,1]),import.meta.url),"../.nuxt/loaders/loadCentralMenuConfigSync.ts":()=>O(()=>import("./610e51f664.js").then(a=>a.loadCentralMenuConfigSync),__vite__mapDeps([434,1]),import.meta.url),"../.nuxt/loaders/loadCentralMenuSync.ts":()=>O(()=>import("./cabef48743.js").then(a=>a.loadCentralMenuSync),__vite__mapDeps([435,1,99,5,4,3,6,13,14,15,21,47,100,101,102,103,29,104,51,50,52,53,436,437,438]),import.meta.url),"../.nuxt/loaders/loadChampResultsConfigDesktop.ts":()=>O(()=>import("./6a500d4ad6.js").then(a=>a.loadChampResultsConfigDesktop$1),__vite__mapDeps([6,1]),import.meta.url),"../.nuxt/loaders/loadChampResultsConfigDesktopSync.ts":()=>O(()=>import("./d0b95be8ee.js").then(a=>a.loadChampResultsConfigDesktopSync),__vite__mapDeps([439,440,1]),import.meta.url),"../.nuxt/loaders/loadCountryFilterSelectConfigDesktop.ts":()=>O(()=>import("./c19ba5e0c9.js").then(a=>a.loadCountryFilterSelectConfigDesktop$1),__vite__mapDeps([29,1]),import.meta.url),"../.nuxt/loaders/loadCountryFilterSelectConfigDesktopSync.ts":()=>O(()=>import("./a585a18e2c.js"),__vite__mapDeps([441,442,443,1,444]),import.meta.url),"../.nuxt/loaders/loadCouponConfigMobile.ts":()=>O(()=>import("./6e85008790.js").then(a=>a.loadCouponConfigMobile$1),__vite__mapDeps([3,1]),import.meta.url),"../.nuxt/loaders/loadCouponConfigMobileSync.ts":()=>O(()=>import("./18313a58c4.js"),__vite__mapDeps([445,446,447,1,448,449,450,451,452]),import.meta.url),"../.nuxt/loaders/loadCouponConfigsDesktop.ts":()=>O(()=>import("./6e85008790.js").then(a=>a.loadCouponConfigsDesktop$1),__vite__mapDeps([3,1]),import.meta.url),"../.nuxt/loaders/loadCouponConfigsDesktopSync.ts":()=>O(()=>import("./dd13aba165.js"),__vite__mapDeps([453,454,220,1,455,456,457,458]),import.meta.url),"../.nuxt/loaders/loadDashboardConfigDesktop.ts":()=>O(()=>import("./6e85008790.js").then(a=>a.loadDashboardConfigDesktop$1),__vite__mapDeps([3,1]),import.meta.url),"../.nuxt/loaders/loadDashboardConfigDesktopSync.ts":()=>O(()=>import("./e418fbfd26.js"),__vite__mapDeps([459,460,461,1,31,462,463]),import.meta.url),"../.nuxt/loaders/loadDashboardConfigMobile.ts":()=>O(()=>import("./6a500d4ad6.js").then(a=>a.loadDashboardConfigMobile$1),__vite__mapDeps([6,1]),import.meta.url),"../.nuxt/loaders/loadDashboardConfigMobileSync.ts":()=>O(()=>import("./40a6460851.js").then(a=>a.loadDashboardConfigMobileSync),__vite__mapDeps([464,465,1]),import.meta.url),"../.nuxt/loaders/loadDashboardGameCard.ts":()=>O(()=>import("./6e85008790.js").then(a=>a.loadDashboardGameCard$1),__vite__mapDeps([3,1]),import.meta.url),"../.nuxt/loaders/loadDashboardGameCardSync.ts":()=>O(()=>import("./48387e8868.js"),__vite__mapDeps([466,467,468,469,25,26,3,1,470,22,4,5,6,12,7,471,472,11,2,9,473,474,21,475,476,64,52,14,15,477,65,19,20,478,479,480,481,482,36,37,483,484]),import.meta.url),"../.nuxt/loaders/loadExpressDayConfigDesktop.ts":()=>O(()=>import("./6a500d4ad6.js").then(a=>a.loadExpressDayConfigDesktop$1),__vite__mapDeps([6,1]),import.meta.url),"../.nuxt/loaders/loadExpressDayConfigDesktopSync.ts":()=>O(()=>import("./3fa35746ee.js"),__vite__mapDeps([485,486,1,487,488,489]),import.meta.url),"../.nuxt/loaders/loadExpressDayConfigMobile.ts":()=>O(()=>import("./6a500d4ad6.js").then(a=>a.loadExpressDayConfigMobile$1),__vite__mapDeps([6,1]),import.meta.url),"../.nuxt/loaders/loadExpressDayConfigMobileSync.ts":()=>O(()=>import("./6897f939b7.js"),__vite__mapDeps([490,491,1,492,493,494]),import.meta.url),"../.nuxt/loaders/loadExpressDayHeader.ts":()=>O(()=>import("./c19ba5e0c9.js").then(a=>a.loadExpressDayHeader),__vite__mapDeps([29,1]),import.meta.url),"../.nuxt/loaders/loadExpressDayHeaderSync.ts":()=>O(()=>import("./82dd9c13b5.js"),__vite__mapDeps([495,496,1,497,498,499]),import.meta.url),"../.nuxt/loaders/loadExpressDayInfo.ts":()=>O(()=>import("./c19ba5e0c9.js").then(a=>a.loadExpressDayInfo),__vite__mapDeps([29,1]),import.meta.url),"../.nuxt/loaders/loadExpressDayInfoSync.ts":()=>O(()=>import("./3cc383e195.js"),__vite__mapDeps([500,501,1,502,503,504]),import.meta.url),"../.nuxt/loaders/loadFavoritesApp.ts":()=>O(()=>import("./6a500d4ad6.js").then(a=>a.loadFavoritesApp$1),__vite__mapDeps([6,1]),import.meta.url),"../.nuxt/loaders/loadFavoritesAppConfigDesktop.ts":()=>O(()=>import("./c19ba5e0c9.js").then(a=>a.loadFavoritesAppConfigDesktop$1),__vite__mapDeps([29,1]),import.meta.url),"../.nuxt/loaders/loadFavoritesAppConfigDesktopSync.ts":()=>O(()=>import("./f511c2a124.js"),__vite__mapDeps([505,506,507,1,508,509]),import.meta.url),"../.nuxt/loaders/loadFavoritesAppSync.ts":()=>O(()=>import("./d7e839a98a.js"),__vite__mapDeps([510,511,512,212,29,1,36,37,41,42,43,44,23,24,25,26,27,28,21,5,22,4,3,6,7,12,19,20,213,47,513,514,515,516,517,518]),import.meta.url),"../.nuxt/loaders/loadFavoritesGameCard.ts":()=>O(()=>import("./6e85008790.js").then(a=>a.loadFavoritesGameCard),__vite__mapDeps([3,1]),import.meta.url),"../.nuxt/loaders/loadFavoritesGameCardSync.ts":()=>O(()=>import("./92aedb2138.js"),__vite__mapDeps([519,520,468,469,25,26,3,1,470,22,4,5,6,12,7,471,19,20,9,521,513,479,522,482,36,37,483]),import.meta.url),"../.nuxt/loaders/loadGameConfigDesktop.ts":()=>O(()=>import("./6e85008790.js").then(a=>a.loadGameConfigDesktop$1),__vite__mapDeps([3,1]),import.meta.url),"../.nuxt/loaders/loadGameConfigDesktopSync.ts":()=>O(()=>import("./b1d0695408.js"),__vite__mapDeps([523,524,1,107,525,526]),import.meta.url),"../.nuxt/loaders/loadGameConfigMobile.ts":()=>O(()=>import("./6e85008790.js").then(a=>a.loadGameConfigMobile$1),__vite__mapDeps([3,1]),import.meta.url),"../.nuxt/loaders/loadGameConfigMobileSync.ts":()=>O(()=>import("./540d8738ff.js").then(a=>a.loadGameConfigMobileSync),__vite__mapDeps([527,528,1,529]),import.meta.url),"../.nuxt/loaders/loadGameProviderConfig.ts":()=>O(()=>import("./6e85008790.js").then(a=>a.loadGameProviderConfig$1),__vite__mapDeps([3,1]),import.meta.url),"../.nuxt/loaders/loadGameProviderConfigSync.ts":()=>O(()=>import("./eb61b791f0.js"),__vite__mapDeps([530,531,1,532,533,534]),import.meta.url),"../.nuxt/loaders/loadGameToolbarToggle.ts":()=>O(()=>import("./6e85008790.js").then(a=>a.loadGameToolbarToggle$1),__vite__mapDeps([3,1]),import.meta.url),"../.nuxt/loaders/loadGameToolbarToggleSync.ts":()=>O(()=>import("./ccb9839473.js"),__vite__mapDeps([535,536,1,537,538,539]),import.meta.url),"../.nuxt/loaders/loadGamesSearchConfigDesktop.ts":()=>O(()=>import("./6e85008790.js").then(a=>a.loadGamesSearchConfigDesktop$1),__vite__mapDeps([3,1]),import.meta.url),"../.nuxt/loaders/loadGamesSearchConfigDesktopSync.ts":()=>O(()=>import("./c6b079a314.js"),__vite__mapDeps([540,541,102,1,542,543]),import.meta.url),"../.nuxt/loaders/loadGamesSliderGameCard.ts":()=>O(()=>import("./6a500d4ad6.js").then(a=>a.loadGamesSliderGameCard$1),__vite__mapDeps([6,1]),import.meta.url),"../.nuxt/loaders/loadGamesSliderGameCardSync.ts":()=>O(()=>import("./c54f3baa2a.js"),__vite__mapDeps([544,545,468,469,25,26,3,1,470,22,4,5,6,12,7,471,546,473,474,21,9,547,19,20,479,548,482,36,37,483]),import.meta.url),"../.nuxt/loaders/loadHomeShowcaseTopEvents.ts":()=>O(()=>import("./6e85008790.js").then(a=>a.loadHomeShowcaseTopEvents),__vite__mapDeps([3,1]),import.meta.url),"../.nuxt/loaders/loadHomeShowcaseTopEventsSync.ts":()=>O(()=>import("./8ca84f348b.js"),__vite__mapDeps([549,550,12,5,1,25,26,36,37,4,3,6,19,20,63,52,14,15,21,22,551,75,29,552,553,91,41,42,43,44,23,24,92,93,78,554,555,9,7,556,85,102,557,558,2,54,55,50,559,560,39,40,17,18,27,28,30,31,32,45,46,47,48,11,214,561]),import.meta.url),"../.nuxt/loaders/loadHomeShowcaseTopSports.ts":()=>O(()=>import("./6e85008790.js").then(a=>a.loadHomeShowcaseTopSports),__vite__mapDeps([3,1]),import.meta.url),"../.nuxt/loaders/loadHomeShowcaseTopSportsSync.ts":()=>O(()=>import("./719b5c0713.js"),__vite__mapDeps([562,563,75,1,556,6,20,14,15,29,559,560,4,5,3,92,564,565,231,566]),import.meta.url),"../.nuxt/loaders/loadInsightsConfigMobile.ts":()=>O(()=>import("./6a500d4ad6.js").then(a=>a.loadInsightsConfigMobile),__vite__mapDeps([6,1]),import.meta.url),"../.nuxt/loaders/loadInsightsConfigMobileSync.ts":()=>O(()=>import("./ac9eb5f0dc.js").then(a=>a.loadInsightsConfigMobileSync),__vite__mapDeps([567,568,1]),import.meta.url),"../.nuxt/loaders/loadLeftSideApp.ts":()=>O(()=>import("./6a500d4ad6.js").then(a=>a.loadLeftSideApp$1),__vite__mapDeps([6,1]),import.meta.url),"../.nuxt/loaders/loadLeftSideAppConfigDesktop.ts":()=>O(()=>import("./6a500d4ad6.js").then(a=>a.loadLeftSideAppConfigDesktop$1),__vite__mapDeps([6,1]),import.meta.url),"../.nuxt/loaders/loadLeftSideAppConfigDesktopSync.ts":()=>O(()=>import("./dbaea81a08.js"),__vite__mapDeps([569,570,1,571,572,573,574,575]),import.meta.url),"../.nuxt/loaders/loadLeftSideAppSync.ts":()=>O(()=>import("./3e92731329.js"),__vite__mapDeps([576,577,578,29,1,579,580,209,3,210,6,581,582,5,4,30,370,50,21,13,14,15,77,78,20,7,583,211,212,36,37,41,42,43,44,23,24,25,26,27,28,22,12,19,213,47,214,69,70,215,193,194,195,196,584,585,102,586,16,198,199,197,200,35,38,368,372,111,256,369,587,588,589,590]),import.meta.url),"../.nuxt/loaders/loadQuickCouponContainer.ts":()=>O(()=>import("./6e85008790.js").then(a=>a.loadQuickCouponContainer$1),__vite__mapDeps([3,1]),import.meta.url),"../.nuxt/loaders/loadQuickCouponContainerSync.ts":()=>O(()=>import("./6c011d1be1.js"),__vite__mapDeps([591,592,1,111,3,593,448,85,594,324,311,220,222,325,595,596,326,327,256,323,61,62,321,20,6,322,221,313,223,2,4,5,7,106,46,55,50,9,224,225,226,227,29,12,228,60,52,14,15,21,597,598,599,600]),import.meta.url),"../.nuxt/loaders/loadRightSideConfigDesktop.ts":()=>O(()=>import("./6a500d4ad6.js").then(a=>a.loadRightSideConfigDesktop$1),__vite__mapDeps([6,1]),import.meta.url),"../.nuxt/loaders/loadRightSideConfigDesktopSync.ts":()=>O(()=>import("./3b14056807.js").then(a=>a.loadRightSideConfigDesktopSync),__vite__mapDeps([601,602,603,1]),import.meta.url),"../.nuxt/loaders/loadSearchAppConfigMobile.ts":()=>O(()=>import("./6a500d4ad6.js").then(a=>a.loadSearchAppConfigMobile),__vite__mapDeps([6,1]),import.meta.url),"../.nuxt/loaders/loadSearchAppConfigMobileSync.ts":()=>O(()=>import("./b07bf43780.js").then(a=>a.loadSearchAppConfigMobileSync),__vite__mapDeps([604,605,1]),import.meta.url),"../.nuxt/loaders/loadSearchGameCard.ts":()=>O(()=>import("./c19ba5e0c9.js").then(a=>a.loadSearchGameCard),__vite__mapDeps([29,1]),import.meta.url),"../.nuxt/loaders/loadSearchGameCardSync.ts":()=>O(()=>import("./ed6c025e1c.js"),__vite__mapDeps([606,607,468,469,25,26,3,1,470,22,4,5,6,12,7,471,608,473,474,609,19,20,9,476,64,52,14,15,477,65,478,479,228,222,610,482,36,37,483]),import.meta.url),"../.nuxt/loaders/loadSportsMenu.ts":()=>O(()=>import("./c19ba5e0c9.js").then(a=>a.loadSportsMenu$1),__vite__mapDeps([29,1]),import.meta.url),"../.nuxt/loaders/loadSportsMenuAppConfigDesktop.ts":()=>O(()=>import("./6e85008790.js").then(a=>a.loadSportsMenuAppConfigDesktop$1),__vite__mapDeps([3,1]),import.meta.url),"../.nuxt/loaders/loadSportsMenuAppConfigDesktopSync.ts":()=>O(()=>import("./15fb09bcc7.js"),__vite__mapDeps([611,612,1,199,613,614,615,616,617]),import.meta.url),"../.nuxt/loaders/loadSportsMenuConfigMobile.ts":()=>O(()=>import("./c19ba5e0c9.js").then(a=>a.loadSportsMenuConfigMobile$1),__vite__mapDeps([29,1]),import.meta.url),"../.nuxt/loaders/loadSportsMenuConfigMobileSync.ts":()=>O(()=>import("./9d81a764e7.js"),__vite__mapDeps([618,619,1,620,621]),import.meta.url),"../.nuxt/loaders/loadSportsMenuSync.ts":()=>O(()=>import("./11fd6bdb3f.js"),__vite__mapDeps([622,623,624,4,5,1,3,6,21,368,13,14,15,16,7,198,199,372,77,78,29,20,197,200,50,586,209,210,35,36,37,12,38,47,111,212,41,42,43,44,23,24,25,26,27,28,22,19,213,256,30,370,369,194,195,587,193,196,625,626,627,580,581,628]),import.meta.url),"../.nuxt/loaders/loadTopChampsAppConfigDesktop.ts":()=>O(()=>import("./c19ba5e0c9.js").then(a=>a.loadTopChampsAppConfigDesktop$1),__vite__mapDeps([29,1]),import.meta.url),"../.nuxt/loaders/loadTopChampsAppConfigDesktopSync.ts":()=>O(()=>import("./ae4bc21804.js"),__vite__mapDeps([629,630,1,631,632]),import.meta.url),"../.nuxt/loaders/loadTopGamesGameCard.ts":()=>O(()=>import("./6e85008790.js").then(a=>a.loadTopGamesGameCard$1),__vite__mapDeps([3,1]),import.meta.url),"../.nuxt/loaders/loadTopGamesGameCardSync.ts":()=>O(()=>import("./681ad383b0.js"),__vite__mapDeps([633,634,4,5,1,3,6,468,469,25,26,470,22,12,7,471,635,473,474,214,636,476,64,52,14,15,477,65,19,20,478,9,479,637,482,36,37,483]),import.meta.url),"../.nuxt/loaders/loadTopGamesSliderCard.ts":()=>O(()=>import("./6e85008790.js").then(a=>a.loadTopGamesSliderCard$1),__vite__mapDeps([3,1]),import.meta.url),"../.nuxt/loaders/loadTopGamesSliderCardSync.ts":()=>O(()=>import("./ec48aa4978.js"),__vite__mapDeps([638,639,468,469,25,26,3,1,470,22,4,5,6,12,7,471,472,11,2,9,473,474,21,475,282,13,14,15,16,19,20,413,214,479,640,482,36,37,483]),import.meta.url),"../.nuxt/loaders/loadUiGameCardConfigMobile.ts":()=>O(()=>import("./6a500d4ad6.js").then(a=>a.loadUiGameCardConfigMobile$1),__vite__mapDeps([6,1]),import.meta.url),"../.nuxt/loaders/loadUiGameCardConfigMobileSync.ts":()=>O(()=>import("./56505712d9.js").then(a=>a.loadUiGameCardConfigMobileSync),__vite__mapDeps([641,1]),import.meta.url),"../.nuxt/loaders/loadUiGameGoalConfigDesktop.ts":()=>O(()=>import("./c19ba5e0c9.js").then(a=>a.loadUiGameGoalConfigDesktop$1),__vite__mapDeps([29,1]),import.meta.url),"../.nuxt/loaders/loadUiGameGoalConfigDesktopSync.ts":()=>O(()=>import("./a38dc94f01.js"),__vite__mapDeps([642,643,644,1,645]),import.meta.url),"../.nuxt/loaders/loadUiGameScoresConfigDesktop.ts":()=>O(()=>import("./c19ba5e0c9.js").then(a=>a.loadUiGameScoresConfigDesktop$1),__vite__mapDeps([29,1]),import.meta.url),"../.nuxt/loaders/loadUiGameScoresConfigDesktopSync.ts":()=>O(()=>import("./ebb9aa5029.js").then(a=>a.loadUiGameScoresConfigDesktopSync),__vite__mapDeps([646,1]),import.meta.url),"../.nuxt/loaders/loadUiSportsEventConfigDesktop.ts":()=>O(()=>import("./c19ba5e0c9.js").then(a=>a.loadUiSportsEventConfigDesktop$1),__vite__mapDeps([29,1]),import.meta.url),"../.nuxt/loaders/loadUiSportsEventConfigDesktopSync.ts":()=>O(()=>import("./7e978deaba.js"),__vite__mapDeps([647,648,649,1,650,651]),import.meta.url)});[r,s]=I(()=>Promise.all([...l].map(async a=>{$_$();var u,p;let m,c;try{for(const _ in i)if(_.includes(`/load${a}.`)){const h=([m,c]=I(()=>{var S;return(S=i[_])==null?void 0:S.call(i)}),m=await m,c(),m),g=([m,c]=I(()=>{var S;return(S=h==null?void 0:h.default)==null?void 0:S.call(h)}),m=await m,c(),m);(p=(u=e.$multiBuildPreloadComponents)[a])!=null||(u[a]=g)}}catch(_){console.log(`MultiBuildComponent [${a}] is not preloaded`)}}))),await r,s()}},$U=Fo(async e=>{$_$();let t,o;!g0()&&xc()&&([t,o]=I(()=>$_$() && xU(e,S0())),await t,o())}),VU=[y0,I0,eB,E0,T0,nB,aB,O0,v0,P0,iB,lB,cB,DU,FU,UU,$U],HU=(e,t)=>{const o=e.__vccOpts||e;for(const[r,s]of t)o[r]=s;return o},KU={};function WU(e,t){$_$();const o=mi;return jr(),Is(o)}const YU=HU(KU,[["render",WU]]),jU={key:0},ZU={__name:"nuxt-root",setup(e){$_$();const t=()=>null,o=Fc(),r=o.deferHydration();if(o.isHydrating){const a=o.hooks.hookOnce("app:error",r);Xr().beforeEach(a)}const s=!1;A0(C0,Q_()),o.hooks.callHookWith(a=>a.map(u=>u()),"vue:setup");const n=lh(),l=!1;b0((a,u,p)=>{$_$();if(o.hooks.callHook("vue:error",a,u,p).catch(m=>console.error("[nuxt] Error in `vue:error` hook",m)),R0(a)&&(a.fatal||a.unhandled))return o.runWithContext(()=>$_$() && hn(a)),!1});const i=!1;return(a,u)=>$_$() && (jr(),Is(N0,{onResolve:G(r)},{default:L0(()=>$_$() && [G(l)?(jr(),B0("div",jU)):G(n)?(jr(),Is(G(M0),{key:1,error:G(n)},null,8,["error"])):G(i)?(jr(),Is(G(t),{key:2,context:G(i)},null,8,["context"])):G(s)?(jr(),Is(G0(G(s)),{key:3})):(jr(),Is(G(YU),{key:4}))]),_:1},8,["onResolve"]))}};k0({RootComponent:ZU,plugins:VU,baseURL:U0,nuxtAppName:"__BETTING_APP__"});export{Oo as AnalyticsBetSourceName,Tx as BANNERS_MICRO_FRONTEND_URL,yH as BETTING_STORE_TYPE_LIVE_LIST,ht as BETTING_STORE_TYPE_MAP,gx as BETTING_TYPE,yx as BETTING_TYPE_VALIDATOR,S$ as BET_TYPES_CAPITALIZE,y$ as BET_TYPES_SNAKE,gf as BONUS_MARKET_TYPE_ID,d$ as BONUS_USER_ID_CAPITALIZE,Hl as BaseCoupon,ua as BettingGameParser,fu as BettingMarketType,$3 as CHAMPS_WITH_CIRCULATION,fo as COEF_VIEW_CAPITALIZE,u$ as COEF_VIEW_SNAKE,p$ as COEF_VIEW_TYPE,c$ as COUNT_CAPITALIZE,I$ as COUPON_ID_SNAKE,pf as COUPON_TYPES_WITH_BET_AMOUNT,aa as COUPON_TYPES_WITH_BLOCKS,Eu as COUPON_TYPES_WITH_BLOCK_AMOUNT,df as COUPON_TYPES_WITH_COEF,j3 as COUPON_TYPES_WITH_HIGHLIGHT,Y3 as COUPON_TYPES_WITH_MAX_POSSIBLE_WIN,hf as COUPON_TYPES_WITH_MIN_POSSIBLE_WIN,_f as COUPON_TYPES_WITH_POSSIBLE_WIN,W3 as COUPON_TYPES_WITH_SALE_OPTIONS,yu as COUPON_TYPES_WITH_SYSTEM,K3 as COUPON_WITH_CUSTOM_STAKE_TRANSLATE,dH as CRICKET_PLAYER_STATS_ROWS_NAME,ZG as CardCricketStatus,cg as ChampParser,Y0 as ComponentListState,oi as CouponBet,X3 as CouponBetChampNames,J3 as CouponSaleErrorCodes,a1 as CricketScreen,Ss as DASHBOARD_TYPE_MAP,i$ as DATE_FROM_CAPITALIZE,l$ as DATE_TO_CAPITALIZE,rf as DEFAULT_ALL_MARKET_GROUPS_COLLAPSED_STATE,yc as DEFAULT_MARKET_GRID_COLUMNS_COUNT_OPTION,SA as DEFAULT_MARKET_GRID_MAX_COLUMNS_COUNT,yA as DEFAULT_MARKET_TYPE,ks as DEFAULT_MENU_SECTION,pH as DEFAULT_TEAM_STATS_INDEX,pa as DEFAULT_TITLE,ir as DUMMY_GAME_ID,eU as DashboardApi,cH as DurakGameStatus,ia as EXPRESS_DAY_BONUS_MARKET_TYPE_ID,KC as EXPRESS_DAY_RESPONSE_COEFFICIENT_BY_VIEW_FIELD,jp as EXPRESS_DAY_RESPONSE_COEFFICIENT_FIELD,Sf as EXPRESS_DAY_RESPONSE_EXPRESS_ID_FIELD,WC as EXPRESS_DAY_RESPONSE_GAME_TYPE_ID_FIELD,YC as EXPRESS_DAY_RESPONSE_GROUP_ID_FIELD,HC as EXPRESS_DAY_RESPONSE_ID_FIELD,pe as FEEDS_CONFIG,ko as FoulStatistics,Px as GAMES_MICRO_FRONTEND_URL,Sx as GAME_ID,Ui as GAME_TYPE_DUEL,h$ as GLOBAL_CHAMP_ID_CAPITALIZE,dw as GOLF_STATISTIC_TODAY_PAR_EMPTY_TEXT,cf as GROUP_IDS_WITH_ADDITIONAL_EVENTS,CC as GROUP_IDS_WITH_FORMATTED_PARAM,ca as GameModel,Yw as GameSummaryItem,p5 as ICON_CARD_SUITS_PATH,_5 as ICON_CRICKET_PATH,F5 as ICON_SCOREBOARD_BACCARAT_PATH,T5 as ICON_SCOREBOARD_BASEBALL_PATH,x5 as ICON_SCOREBOARD_CARDS_CRICKET_PATH,V5 as ICON_SCOREBOARD_CARD_BASKETBALL_PATH,f5 as ICON_SCOREBOARD_CRICKET_PATH,S5 as ICON_SCOREBOARD_DICE_PATH,I5 as ICON_SCOREBOARD_ESPORT_POKER_PATH,B5 as ICON_SCOREBOARD_HORSE_RACING_PATH,v5 as ICON_SCOREBOARD_INDIAN_POKER_PATH,A5 as ICON_SCOREBOARD_KILLER_JOKER_PATH,w5 as ICON_SCOREBOARD_PATH,R5 as ICON_SCOREBOARD_TIMELINE_PATH,G5 as ICON_SCOREBOARD_VICTORY_FORMULA_PATH,C5 as ICON_SETTE_E_MEZZO_PATH,K5 as ICON_TOP_EVENTS_PATH,N5 as ICON_TOTO_PATH,E$ as INCLUDE_TERMINAL_BETS_CAPITALIZE,T$ as INCLUDE_TERMINAL_BETS_SNAKE,lx as INDIVIDUAL_SPORT_IDS,nd as INITIAL_AMOUNT_BY_CURRENCY,ux as LANGS_NAME_PATH,Qv as LANGUAGE_CAPITALIZE,mH as LIVE_GOLF_SCOREBOARD_COMPACT_TABLE_COLUMNS_CHUNK_SIZE,hH as LIVE_GOLF_SCOREBOARD_GROUPS_TABLE_ITEM_DUMMY,_H as LIVE_GOLF_SCOREBOARD_TABLE_COLUMNS_CHUNK_SIZE,zo as LineupsPlayerGroup,Ef as LineupsResponseModel,ti as MARKET_PAGE_SIZE,z3 as MAX_BET_LENGTH,Q3 as MAX_BET_VALUE,Z5 as MEDIA_IFRAME_NEW_PLAYER_PARAMS,rx as MEDIA_KEY_WEBP,j5 as MEDIA_PLAYER_EMBED_PATH_NEW,W5 as MEDIA_TARGETS,Y5 as MEDIA_TYPES,Jr as MarketGridCategory,Uf as MarketGridGroup,af as MarketGroup,Dn as MarketsParser,es as MatchInfo,Ru as MediaTarget,Zf as MediaType,SO as NUXT_THIRD_PARTY_MICRO_FRONTEND_URL,gO as OFFICE_APP_MICRO_FRONTEND_URL,x3 as OVERTIME_PERIODS_TOTAL_NUMBER_BY_SPORT_ID,PA as OVERTIME_PERIOD_DURATION_BY_SPORT_ID,Ix as PAGE_TYPE_VALIDATOR,_$ as PARTNER_GROUP_ID_CAPITALIZE,m$ as PARTNER_ID_CAPITALIZE,AA as PERIODS_TOTAL_NUMBER_BY_SPORT_ID,vA as PERIOD_DURATION_BY_SPORT_ID,Ex as PLATFORM_APPS_MICRO_FRONTEND_URL,o5 as POWERBET_AVAILABLE_MARKETS,t5 as POWERBET_AVAILABLE_SPORTS,e5 as POWERBET_MODAL_ROW_MAX_LENGTH,q3 as PUT_BETS_FIXABLE_ERRORS,ii as PeriodScoresItem,c5 as PlayerAbsenceReason,Cu as PlayerModel,Do as PlayerType,uH as PowerOfPowerPlayersMap,ax as RUGBY_SPORTS,Nf as RequestManager,fH as SCOREBOARD_WITHOUT_TABS_MAX_CHUNK_COUNT,ex as SLASH_DELIMITER,Bl as SORT,J0 as SORTED_MENU_SECTIONS,f$ as SORT_TYPE_CAPITALIZE,g$ as SORT_TYPE_SNAKE,Tu as SPECIAL_COEF_MARKET_TITLE,tx as SPECIAL_GRID_LAYOUT_MENU_SECTIONS,px as SPORTS_NAME_PATH,ix as SPORTS_WITHOUT_CUSTOM_DASHBOARD,sf as SPORTS_WITHOUT_SCORES,sx as SPORTS_WITHOUT_STATUS,OA as SPORTS_WITH_FINAL_SCORES_IN_PERIODS,z0 as SPORTS_WITH_STATISTIC,V3 as SPORTS_WITH_STATISTICS_BLOCK,TA as SPORTS_WITH_SUB_SCORES_INSTEAD_OF_MAIN_SCORES,EA as SPORTS_WITH_TIMELINE,oP as STAGE_ID_SHORT,cx as SYNTHETIC_SPORTS,Ce as ScoresDataResponseModelFields,vh as ShareErrorType,nx as SportByCyberSubSport,Gv as SportsMenuMarketGroup,kv as SportsMenuMarketGroupRouteParam,a$ as SportsMenuMarketLabelsMap,XM as StadiumModel,hx as TOTO_BET_HISTORY_TOTO_OUTCOME_WIN,dx as TOTO_ICONS,_x as TOTO_OUTCOMES_KEYS,fx as TOTO_OUTCOME_LABEL_MAP,mx as TOTO_TRANSLATION_MAP_LABELS,Ir as TeamModel,bu as TimelineEventViewModel,Z as TotoType,Ne as TotoTypeId,vx as V3_HOST_APP_MICRO_FRONTEND_URL,Ox as WELCOME_APP_MICRO_FRONTEND_URL,IA as WIDE_SCREEN_SCOREBOARD_SPORTS,Ds as WeatherData,O as __vitePreload,HU as _export_sfc,uv as add,Ax as addUrlProtocol,j0 as analyticsPlaceBetSourceType,j$ as bet,IV as betCommonStatuses,Fi as betGuid,Z$ as betId,yV as betStatuses,W$ as betSum,mV as betsWithAutoSaleOrder,SH as bettingNestedName,cV as byBetSettlingDates,Fb as calculateBonusCoef,lV as calculateSaleInfo,dV as calculateSummaryInfo,oV as cf,Df as checkMarketIsDummy,nc as cloneDeep,Ux as combinePipelineModules,zt as compileBettingStoreType,Po as compileName,Db as convertToView,Jx as countDecimals,EV as couponId,hV as couponStatusIds,K$ as couponSum,mN as createBettingGameDummy,$u as createDashboardMarketGroup,Hx as createEffect,xu as createEmptyMarket,Rf as createErrorResult,Y2 as createGroup,_2 as createLongGroups,lr as createMarket,If as createMarketWithName,lL as createScoreboardMatchInfoLabel,vP as curIso,WO as cyberPageTypes,sV as dates,KA as decorateMarketGroupName,Q as defaultParamsWrapper,AV as deleteFavoriteGames,k3 as differenceInMinutes,x$ as discipline,Oh as divide,pC as encodeEventsForRequest,s$ as equalState,RV as expressHighlight,tV as feedType,SV as feedTypes,xi as fetchValueFromAppStorage,WA as filterByText,ac as findDashboardGroupTitle,Ih as fixKeyboardLayoutTypos,Du as fixSsrMarketsByUnparsedGame,ws as formatCoefView,xC as formatOverIndividualRunsTotalParam,G$ as genBetTypesParam,oa as genChampIdParam,O$ as genChampIdsParam,he as genCoefViewIdParam,$o as genCountParam,_e as genCountryParam,B$ as genCouponIdParam,b$ as genCyberFlagParam,C$ as genCyberTypeParam,D$ as genDocTypeParam,Gh as genFCountryParam,go as genGameIdParam,No as genGlobalChampId,Ie as genGroupIdParam,ur as genGroupParam,P$ as genHasBroadcastParam,k$ as genIncludeTerminalBetsParam,Ge as genPartnerParam,R$ as genPlayerIdParam,N$ as genPosParam,M$ as genSortByParam,w$ as genSortIntParam,A$ as genSportIdsParam,rP as genStageIdParam,F$ as genStatisticsTeamId,v$ as genSubSportIdsParam,L$ as genTypePosParam,ie as genUserIdParam,HR as generateDummyMarketId,zr as generateMarketId,na as getChampNameForUrl,TV as getCountries,Bb as getCouponBetStatusDictionaryKey,tH as getCurrentLabel,h2 as getDashboardParsedLongMarketGroupsByGameId,Z2 as getDashboardParsedMarketGroupsBySportId,$2 as getDashboardParsedMarketsByGameId,uf as getDefaultExportFromCjs,OV as getFavorite,oH as getFirstOpponentScoreLabel,q5 as getFirstTeamName,X5 as getFirstTeamSeed,$i as getGameNameForUrl,Q5 as getGameStartDateMonth,eH as getGameStartTimeFormatted,jf as getGoalsByTeamNumber,r2 as getGroupIdsBySportId,Vf as getHomeAwayPlayersRecords,sH as getInfoList,xL as getIsSinglePlayerEvent,bV as getLastWinners,kg as getMarketGroupTemplatesByGroupId,Vx as getMediaScrollbarWidthDifference,vv as getMenuSection,Ao as getMenuSectionEntityIdForUrl,Ch as getMenuSectionIdByMenuSectionUrlName,ox as getPageTypeBySection,Zn as getPlayersDuelMarketId,Nx as getPluralForm,CV as getProfile,rH as getSecondOpponentScoreLabel,J5 as getSecondTeamName,z5 as getSecondTeamSeed,Ah as getSectionEntityId,Qr as getSportNameForUrl,qx as getSystemBetPossibleWin,lv as groupBy,u5 as iconCardSuits,d5 as iconColoredSvg,m5 as iconCricket,k5 as iconScoreboard,D5 as iconScoreboardBaccarat,E5 as iconScoreboardBaseball,$5 as iconScoreboardCardBasketball,U5 as iconScoreboardCardsCricket,h5 as iconScoreboardCricket,g5 as iconScoreboardDice,y5 as iconScoreboardEsportPoker,L5 as iconScoreboardHorseRacing,O5 as iconScoreboardIndianPoker,P5 as iconScoreboardKillerJoker,M5 as iconScoreboardVictoryFormula,b5 as iconSetteEMezzo,H5 as iconTopEvents,Mx as infoAlert,w3 as isAfter,D3 as isBefore,_V as isCalculatedDateType,LL as isGameWeatherDataEmpty,U3 as isHomeAwayGame,e$ as isNotEmpty,aV as isOnlySports,F3 as isPast,Qa as isRecord,nV as isShowAll,jn as isSpecialCoefMarket,gV as jackpotTypes,U$ as language,eV as lastBetId,pr as limit,WV as lineAsiaGetLeaguesZipApi,KV as lineAsiaGetSportsZipApi,QV as lineAsiaGetTopGamesStatZipApi,LV as lineBetsOnYourGetChampZipApi,NV as lineBetsOnYourGetChampsZipApi,BV as lineBetsOnYourGetSportsShortZipApi,ZV as lineChampsByGlobalChampZipApi,YV as lineGameInsights,qV as lineGamesByGlobalChampZipApi,ga as lineGet1x2ZipApi,GV as lineGetChampZipApi,MV as lineGetChampsZipApi,wV as lineGetFavoritesZipApi,DV as lineGetRecommendedZipApi,FV as lineGetSportsShortZipApi,UV as lineGetStageTableIdsZipApi,xV as lineGetStageTableZipApi,$V as lineGetTopGamesStatZipApi,VV as lineGetTopMenuChampsZipApi,JV as lineGlobalChamp1x2ZipApi,XV as lineGlobalChampGamesByTeamZipApi,kV as lineMainGetExpressDayApi,zV as lineMainGetSliderGamesApi,e3 as lineSportSectionGetGamesByChamp,t3 as lineSportSectionGetGamesByOpp,s3 as lineSportSectionGetSport1x2,o3 as lineSportSectionGetTopChamps,jV as lineSportsByGlobalChampZipApi,r3 as lineSportsSectionGetChampsBySport,HV as lineWebSearchZipApi,n3 as lineWhoWins,kx as listDelete,wx as listPush,Dx as listUnshift,y3 as liveAsiaGetLeaguesZipApi,S3 as liveAsiaGetSportsZipApi,A3 as liveAsiaGetTopGamesStatZipApi,i3 as liveBetsOnYourGetChampZipApi,a3 as liveBetsOnYourGetChampsZipApi,l3 as liveBetsOnYourGetSportsShortZipApi,E3 as liveChampsByGlobalChampZipApi,T3 as liveGamesByGlobalChampZipApi,Sa as liveGet1x2ZipApi,u3 as liveGetChampZipApi,c3 as liveGetChampsZipApi,d3 as liveGetFavoritesZipApi,m3 as liveGetRecommendedZipApi,_3 as liveGetSportsShortZipApi,h3 as liveGetTopGamesStatZipApi,f3 as liveGetTopMenuChampsZipApi,O3 as liveGlobalChamp1x2ZipApi,v3 as liveGlobalChampGamesByTeamZipApi,p3 as liveMainGetExpressDayApi,M3 as liveMainGetPersonalizedChampsBySportWithGamesApi,B3 as liveMainGetPersonalizedGames1x2Api,P3 as liveMainGetSliderGamesApi,C3 as liveSportSectionGetGamesByChamp,b3 as liveSportSectionGetGamesByOpp,L3 as liveSportSectionGetSport1x2,R3 as liveSportSectionGetTopChamps,I3 as liveSportsByGlobalChampZipApi,N3 as liveSportsSectionGetChampsBySport,g3 as liveWebSearchZipApi,Xx as mapObjectValues,Yo as marketTypesByGroupId,Lx as memoize,r$ as menuSectionToOriginal,G3 as min,Kx as minus,iV as multi,Sr as multiply,H$ as newSumCoupon,Q$ as notCalc,zx as omit,uV as onlyBetsForSale,z$ as order,Cf as parseCouponType,q2 as parseDashboardResponse,Af as parseExpressDayBonusMarket,t$ as parseHTMLElementByComponent,o$ as parseSectionEntityId,Qx as parseString,ge as partner,X$ as percent,nv as pipe,hR as postMessageToParentWindow,Gx as questionAlert,bx as removeArrayItem,Lc as replaceImageExtension,Ti as requiredBoolean,ao as requiredNumber,Xn as requiredString,Of as roundCoef,Av as serverStorageShallowRef,vV as setFavoriteGames,PV as setFavoriteGamesBatch,Bx as setPromisedTimeout,H2 as sortDashboardGroups,Su as src,EH as ssrGamesLimit,Z3 as stepFromMaxAmount,av as successAlert,V$ as sum,Y$ as sumSale,rV as taxMode,IH as timeSort,q$ as timestampFrom,J$ as timestampTo,Tv as toDeepWritable,Fx as toMap,xx as toRefsByKeys,Cx as toggleArrayItem,JR as toggleCollectionElement,fV as totoTypes,Rx as translateLabel,gN as ungroupedGroupPath,md as useAnalyticsAppStorage,pV as useArchive,kR as useBetModelsManager,Wx as useBettingBlockTitleDictionary,Dv as useBettingRouteData,Mv as useBettingSportsStore,Cv as useCheckSelectedInList,$x as useChunkSearch,s1 as useCommonAnalytics,rn as useCouponAnalytics,xr as useCouponApi,MR as useCouponStore,Au as useFatmanCollector,Pf as useFatmanService,nH as useGameStore,n5 as useGameVideoAvailabilityService,QO as useInitTopEvents,s5 as useLeavingPage,SF as useMagickMock,a5 as useMarketLayoutService,CL as useMediaStore,Bv as useNormalizedData,n$ as useRegisterSharedComposable,Yx as useScrollPosition,Zx as useShare,GR as useStatisticModule,l5 as useStoreMap,i5 as useTeamStatsService,Fv as useTopEvents,jx as useTriggerOnScroll,$$ as vers};