1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,46240,675643,56958,365884,597104,1684,472913,155276,648131,779502,162685,e=>{"use strict";let t;var r=e.i(843476),s=e.i(271645),i=e.i(138413),n=e.i(298291);e.i(26623);var o=e.i(678616);let a=new Set,l=e=>(a.add(e),()=>{a.delete(e)}),u=()=>t,c=()=>void 0;function d(e){t!==e&&(t=e,a.forEach(e=>e()))}function h(){return(0,s.useSyncExternalStore)(l,u,c)}e.s(["setAuthProfileSnapshot",0,d,"useAuthProfileSnapshot",0,h],675643);var p=e.i(276320),f=e.i(436178);let m=(0,s.createContext)({profile:void 0,loading:!0});function g(){return(0,s.useContext)(m)}e.s(["AuthProvider",0,function({children:e}){var t;let a,l,u=(0,o.useMountedAfterHydration)(),c=h(),{data:g}=(0,i.useQuery)(n.GET_PROFILE_QUERY,{skip:!u,fetchPolicy:"cache-only",returnPartialData:!0,errorPolicy:"all",ssr:!1}),y=!!(g&&Object.prototype.hasOwnProperty.call(g,"getProfile"));(0,s.useEffect)(()=>{y&&d(g?.getProfile??null)},[g?.getProfile,y]);let b=(0,s.useMemo)(()=>({profile:u&&y?g?.getProfile??null:c,loading:!u||!y&&void 0===c}),[c,g?.getProfile,y,u]);return t=b.profile,a=(0,p.useApolloClient)(),l=(0,s.useRef)(null),(0,s.useEffect)(()=>{l.current=t?.id??null}),(0,s.useEffect)(()=>{let e=!1;return f.sessionRejectedEvent.subscribe(()=>{let t=l.current;e||null===t||(e=!0,a.query({query:n.GET_PROFILE_QUERY,fetchPolicy:"no-cache"}).then(({data:e,error:r})=>{r||e?.getProfile!==null||l.current===t&&(a.writeQuery({query:n.GET_PROFILE_QUERY,data:{getProfile:null}}),d(null))}).catch(()=>void 0).finally(()=>{e=!1}))})},[a]),(0,r.jsx)(m.Provider,{value:b,children:e})},"useAuthContext",0,g],56958);var y=e.i(514089),b=e.i(28016),v=e.i(431466);(0,v.graphql)(` 2 query GetUserMetadata($id: Int!) { 3 getUser(id: $id) { 4 id 5 userName 6 } 7 } 8`);let w=(0,v.graphql)(` 9 query User($id: Int!) { 10 getUser(id: $id) { 11 id 12 userName 13 userId 14 avatar 15 social 16 createdAt 17 } 18 } 19`),E=(0,v.graphql)(` 20 query GetUserStats($id: Int!) { 21 getUserStats(id: $id) { 22 defaultGamesCount 23 terminalGamesCount 24 upgradeGamesCount 25 daysOnSite 26 } 27 } 28`);(0,v.graphql)(` 29 fragment UserFavoriteFields on UserFavorite { 30 getCase { 31 ...CaseFields 32 } 33 getGame { 34 ...GameFields 35 } 36 } 37`),(0,v.graphql)(` 38 query GetFavoriteOdd($userId: Int!) { 39 getUserFavorite(userId: $userId) { 40 ...UserFavoriteFields 41 } 42 } 43`);let S=(0,v.graphql)(` 44 query GetProfileStats { 45 getProfileStats { 46 defaultGamesCount 47 terminalGamesCount 48 upgradeGamesCount 49 daysOnSite 50 } 51 } 52`);(0,v.graphql)(` 53 mutation RefetchSteam { 54 refetchSteam { 55 id 56 avatar 57 userName 58 props 59 } 60 } 61`),(0,v.graphql)(` 62 mutation RefetchVk { 63 refetchVk 64 } 65`),(0,v.graphql)(` 66 mutation RefetchTelegram { 67 refetchTelegram 68 } 69`),(0,v.graphql)(` 70 mutation RefetchTwitter { 71 refetchTwitter 72 } 73`),(0,v.graphql)(` 74 mutation RefetchFacebook { 75 refetchFacebook 76 } 77`);let P=(0,v.graphql)(` 78 mutation UpdateTradeUrl($tradeUrl: String!) { 79 updateTradeUrl(tradeUrl: $tradeUrl) { 80 id 81 tradeUrl 82 } 83 } 84`),C=(0,v.graphql)(` 85 mutation UpdateEmail($email: String!) { 86 updateEmail(email: $email) { 87 id 88 email 89 } 90 } 91`),_=(0,v.graphql)(` 92 mutation UpdatePhoneNumber($input: UpdatePhoneNumberInput!) { 93 updatePhoneNumber(input: $input) { 94 message 95 } 96 } 97`),k=(0,v.graphql)(` 98 mutation UnLinkExternalAccount($externalAccountId: Int!) { 99 unLinkExternalAccount(externalAccountId: $externalAccountId) { 100 id 101 } 102 } 103`),T=(0,v.graphql)(` 104 mutation UpdateStreamerMode($streamerMode: Boolean!) { 105 updateStreamerMode(streamerMode: $streamerMode) { 106 id 107 streamerMode 108 } 109 } 110`),R=()=>{let{profile:e,loading:t}=g(),r=h();return t?r:e??null};e.s(["useProfile",0,R,"useProfileStats",0,()=>{let e=(0,o.useMountedAfterHydration)(),t=R(),{data:r,loading:s}=(0,i.useQuery)(S,{skip:!e||!t?.id,errorPolicy:"all",ssr:!1}),n=r?.getProfileStats;return{isPending:!n&&(!e||s),stats:n}},"useUpdateEmail",0,e=>(0,y.useMutation)(C,{variables:{email:e}}),"useUpdateStreamerMode",0,e=>(0,y.useMutation)(T,{variables:{streamerMode:e}}),"useUpdateTradeUrl",0,e=>(0,y.useMutation)(P,{variables:{tradeUrl:e}}),"useUserStats",0,e=>{let{data:t}=(0,b.useSuspenseQuery)(E,{variables:{id:e}});return t?.getUserStats}],365884),(0,v.graphql)(`
111 fragment ExternalAccountFields on ExternalAccount { 112 id 113 avatar 114 accountId 115 userName 116 service 117 getUrl 118 props 119 } 120`);let I=(0,v.graphql)(` 121 query GetExternalAccounts { 122 getProfile { 123 ...ProfileCore 124 getExternalAccounts { 125 ...ExternalAccountFields 126 } 127 } 128 } 129`);e.s(["useGetExternalAccounts",0,()=>(0,b.useSuspenseQuery)(I)],597104);let U=(0,v.graphql)(` 130 query GetConfigCountries { 131 getConfig { 132 getCountries { 133 id 134 image 135 key 136 name 137 } 138 } 139 } 140`);(0,v.graphql)(` 141 query GetConfig { 142 getConfig { 143 siteOffline 144 trustpilot 145 hostname 146 countryCode 147 isEU 148 isRU 149 modeDistribution { 150 cases 151 terminals 152 upgrades 153 bonusWheel 154 } 155 minDepositSum 156 caseBonusPrizeFormula 157 upgradeFormula 158 wheelSpinCost 159 itemPercentUser 160 getCountries { 161 id 162 key 163 name 164 image 165 amountExclude 166 } 167 getCurrency { 168 id 169 code 170 char 171 symbol 172 } 173 getPaymentSystems { 174 id 175 key 176 name 177 image 178 countries 179 aggregator 180 desc 181 type 182 minAmount 183 getPaymentCards { 184 id 185 nominal 186 image 187 url 188 getCurrency { 189 id 190 symbol 191 } 192 } 193 } 194 seo 195 getSaleTime 196 discount 197 isAnonDiscount 198 isBeta 199 userAgent 200 ip 201 getEvent { 202 id 203 props 204 endDate 205 getUrl 206 isLaunched 207 isEndend 208 startDate 209 } 210 getBattlePass { 211 id 212 props 213 endDate 214 getUrl 215 isLaunched 216 isEndend 217 startDate 218 isStart 219 } 220 stream 221 } 222 } 223`),(0,v.graphql)(` 224 query GetConfigTerminalMode { 225 getConfig { 226 isTerminal 227 } 228 } 229`),e.s(["usePhoneNumberData",0,()=>({countries:(0,i.useQuery)(U,{errorPolicy:"all"}),updatePhone:(0,y.useMutation)(_)})],1684),e.s(["useCachedHeaderProfile",0,()=>(0,p.useApolloClient)().cache.readQuery({query:n.GET_PROFILE_QUERY}),"useCachedHeaderSellAllItems",0,e=>{let t=(0,p.useApolloClient)();return null!==e?t.cache.readQuery({query:n.GET_SELL_ALL_ITEMS_QUERY,variables:{userId:e}}):null},"useHeaderProfileData",0,()=>(0,i.useQuery)(n.GET_PROFILE_QUERY,{errorPolicy:"all",ssr:!1}),"useHeaderSellAllItemsData",0,(e,t)=>(0,i.useQuery)(n.GET_SELL_ALL_ITEMS_QUERY,{variables:{userId:e},skip:!t,errorPolicy:"all",ssr:!1}),"useSeedHeaderSellAllItems",0,(e,t)=>{let r=(0,p.useApolloClient)();(0,s.useState)(()=>(null!==e&&t&&r.writeQuery({query:n.GET_SELL_ALL_ITEMS_QUERY,variables:{userId:e},data:{getStats:t}}),!0))}],472913),e.s(["usePublicUser",0,function(e){let{data:t}=(0,b.useSuspenseQuery)(w,{variables:{id:e}});return t?.getUser??null},"useSellAllItems",0,function(e,t){let r=(0,i.useQuery)(n.GET_SELL_ALL_ITEMS_QUERY,{fetchPolicy:"cache-only",nextFetchPolicy:"cache-only",returnPartialData:!0,skip:!t,ssr:!1,variables:{userId:e}});return{...r,clearSellAllItemsCache:()=>{r.client.cache.writeQuery({query:n.GET_SELL_ALL_ITEMS_QUERY,data:{getStats:{sumItems:0,sumItemsOld:0}},variables:{userId:e}})}}},"useUnlinkExternalAccount",0,function(){return(0,y.useMutation)(k)}],155276);
229var q=e.i(412901);let A=(0,v.graphql)(` 230 subscription UpdateProfile { 231 updateProfile { 232 id 233 userName 234 # userId/isPay ÑиÑÐ°ÐµÑ Ð°Ð½Ð°Ð»Ð¸Ñика (syncAnalyticsUser). Ðез Ð½Ð¸Ñ Ð¿Ð¾Ð»Ñ 235 # замоÑаживаÑÑÑÑ Ð½Ð° пеÑвом GET_PROFILE_QUERY: поÑле депозиÑа пÑилеÑÐ¸Ñ Ð½Ð¾Ð²Ñй 236 # money, а isPay Ñак и оÑÑанеÑÑÑ false до полной пеÑезагÑÑзки ÑÑÑаниÑÑ. 237 userId 238 isPay 239 avatar 240 money 241 battlePassCoins 242 coins 243 referralMoney 244 getWheelStep 245 lastWheelGame 246 joinedToGroup 247 joinedToGroupTelegram 248 deposit24Hour 249 lastFreeGameDate 250 deposit24HourTtl 251 getDistributionsPaymentConditions 252 joinedToTwitter 253 joinedToFacebook 254 } 255 } 256`);function M(){return(0,q.useSubscription)(A),null}e.s(["OnlineProfileSubscription",0,function(){let{profile:e}=g();return e?(0,r.jsx)(M,{},e.id):null}],648131);var O=e.i(378714),D=e.i(559815);let F="oc:debug:header-balance",L=null,Q=0;function x(){return"u">typeof performance&&performance.now?performance.now():0}function j(){try{return"1"===window.localStorage.getItem(F)}catch{return!1}}window.__headerBalanceDebug||(window.__headerBalanceDebug={on(){try{window.localStorage.setItem(F,"1")}catch(e){(0,D.reportRecoverableError)(e,"entities/user/model/balance-debug.ts#1")}console.info("[balance] debug ON â sell/open an item to capture the flow")},off(){try{window.localStorage.removeItem(F)}catch(e){(0,D.reportRecoverableError)(e,"entities/user/model/balance-debug.ts#2")}console.info("[balance] debug OFF")},status:()=>j(),reset(){L=x(),Q=0}}),e.s(["headerBalanceDebugLog",0,function(e,t){if(!j())return;null===L&&(L=x());let r=(x()-L).toFixed(1),s=(0,O.getThemeConsoleStyles)();Q+=1,console.log(`%c[balance]%c #${Q} +${r}ms %c${e}`,s.badge,"color:inherit",s.event,t??{})}],779502);let G=(0,e.i(613857).createEvent)("opencase:upgrade-header-inventory-freeze");e.s(["dispatchUpgradeHeaderInventoryFreeze",0,e=>{G.dispatch({frozen:e})},"subscribeUpgradeHeaderInventoryFreeze",0,e=>G.subscribe(e)],162685),e.s([],46240)},298291,e=>{"use strict";var t=e.i(431466);let r=(0,t.graphql)(` 257 query WheelBlock { 258 getProfile { 259 ...ProfileCore 260 getWheelStep 261 getLastFreeGame { 262 id 263 } 264 } 265 } 266`),s=(0,t.graphql)(` 267 query GetSellAllItems($userId: Int!) { 268 getStats(userId: $userId) { 269 sumItems 270 sumItemsOld 271 } 272 } 273`),i=(0,t.graphql)(` 274 query CircleControls { 275 getProfile { 276 ...ProfileCore 277 getWheelLetters 278 getWheelStep 279 lastWheelGame 280 battlePassCoins 281 wheelCoins 282 } 283 } 284`),n=(0,t.graphql)(` 285 query GetProfile { 286 getProfile { 287 ...ProfileCore 288 deposit24Hour 289 lastFreeGameDate 290 deposit24HourTtl 291 userName 292 userId 293 avatar 294 social 295 wheelCoins 296 battlePassCoins 297 coins 298 group 299 createdAt 300 tradeUrl 301 inputMoney 302 bonusCode 303 referralMoney 304 country 305 language 306 email 307 phone 308 getWheelStep 309 joinedToGroup 310 joinedToGroupTelegram 311 joinedToTwitter 312 joinedToFacebook 313 getDistributionsPaymentConditions 314 getExternalAccounts { 315 id 316 avatar 317 accountId 318 userName 319 service 320 getUrl 321 props 322 } 323 paymentsCount 324 lastPaymentAt 325 showHotOffer 326 depositSum30d 327 streamerMode 328 } 329 } 330`);e.s(["CIRCLE_CONTROLS_QUERY",0,i,"GET_PROFILE_QUERY",0,n,"GET_SELL_ALL_ITEMS_QUERY",0,s,"WHEEL_BLOCK_QUERY",0,r])},436178,e=>{"use strict";var t=e.i(876023);let r=(0,e.i(613857).createEvent)("auth:session-rejected");e.s(["isSessionRejection",0,e=>t.CombinedGraphQLErrors.is(e)&&e.errors.some(({extensions:e})=>e?.code==="UNAUTHENTICATED"),"sessionRejectedEvent",0,r])},613857,e=>{"use strict";let t=()=>window;e.s(["createEvent",0,(e,r=t)=>({dispatch:t=>{let s=r();if(!s)return!1;let i=s.CustomEvent??s.defaultView?.CustomEvent??s.ownerDocument?.defaultView?.CustomEvent??("u"<typeof CustomEvent?null:CustomEvent);return!!i&&s.dispatchEvent(new i(e,{detail:t}))},name:e,subscribe:t=>{let s=r();if(!s)return()=>void 0;let i=e=>{let r=e.detail;t(null===r?void 0:r)};return s.addEventListener(e,i),()=>s.removeEventListener(e,i)}})])},876023,84874,e=>{"use strict";function t(e,t){return"object"==typeof e&&null!==e&&e[Symbol.for("apollo.error")]===t}function r(e){Object.defineProperty(e,Symbol.for("apollo.error"),{value:e.name,enumerable:!1,writable:!1,
330configurable:!1})}function s(e){return e.filter(e=>e).map(e=>e.message||"Error message not found.").join("\n")}e.s(["brand",0,r,"isBranded",0,t],84874);class i extends Error{static is(e){return t(e,"CombinedGraphQLErrors")}static formatMessage=s;errors;data;extensions;constructor(e,t=e.errors||[]){super(i.formatMessage(t,{result:e,defaultFormatMessage:s})),this.errors=t,this.data=e.data,this.extensions=e.extensions,this.name="CombinedGraphQLErrors",r(this),Object.setPrototypeOf(this,i.prototype)}}e.s(["CombinedGraphQLErrors",0,i],876023)},391928,e=>{"use strict";var t=e.i(271645),r=e.i(625097);let s=t.use||function(e){let t=(0,r.decoratePromise)(e);switch(t.status){case"pending":throw t;case"rejected":throw t.reason;case"fulfilled":return t.value}};e.s(["__use",0,s])},301440,e=>{"use strict";var t=e.i(271645);let r=e.i(12124).canUseDOM?t.useLayoutEffect:t.useEffect;e.s(["useIsomorphicLayoutEffect",0,r])},176911,e=>{"use strict";var t=e.i(271645),r=e.i(895426),s=e.i(769105);e.s(["useSuspenseHookCacheKey",0,function(e,i){let{queryKey:n=[],variables:o}=i,a=(0,r.canonicalStringify)(o),[l,u]=t.useState(a);return i!==s.skipToken&&l!==a&&u(l=a),[e,l,...[].concat(n)]}])},514089,e=>{"use strict";var t=e.i(869981),r=e.i(271645),s=e.i(559409),i=e.i(991407),n=e.i(301440),o=e.i(276320);function a(e){return{data:void 0,error:void 0,called:!1,loading:!1,client:e}}e.s(["useMutation",0,function(e,l){let u=(0,o.useApolloClient)(l?.client),[c,d]=r.useState(()=>a(u)),h=r.useRef({result:c,mutationId:0,isMounted:!0,client:u,mutation:e,options:l});(0,n.useIsomorphicLayoutEffect)(()=>{Object.assign(h.current,{client:u,options:l,mutation:e})});let p=r.useCallback((e={})=>{let{options:r,mutation:n}=h.current,o={...r,mutation:n},a=e.client||h.current.client,l="function"==typeof e.context?e.context(r?.context):e.context;!h.current.result.loading&&h.current.isMounted&&d(h.current.result={loading:!0,error:void 0,data:void 0,called:!0,client:a});let u=++h.current.mutationId,c=(0,s.mergeOptions)(o,{...e,context:l});return(0,i.preventUnhandledRejection)(a.mutate(c).then(r=>{let{data:s,error:i}=r,n=e.onError||h.current.options?.onError;if(i&&n&&n(i,c),u===h.current.mutationId){let e={called:!0,loading:!1,data:s,error:i,client:a};h.current.isMounted&&!(0,t.equal)(h.current.result,e)&&d(h.current.result=e)}let o=e.onCompleted||h.current.options?.onCompleted;return i||o?.(r.data,c),r},r=>{if(u===h.current.mutationId&&h.current.isMounted){let e={loading:!1,error:r,data:void 0,called:!0,client:a};(0,t.equal)(h.current.result,e)||d(h.current.result=e)}let s=e.onError||h.current.options?.onError;throw s&&s(r,c),r}))},[]),f=r.useCallback(()=>{if(h.current.isMounted){let e=a(h.current.client);Object.assign(h.current,{mutationId:0,result:e}),d(e)}},[]);return r.useEffect(()=>{let e=h.current;return e.isMounted=!0,()=>{e.isMounted=!1}},[]),[p,{reset:f,...c}]}])},412901,e=>{"use strict";var t=e.i(869981),r=e.i(271645),s=e.i(310614),i=e.i(675714),n=e.i(301440),o=e.i(276320),a=e.i(161368);e.s(["useSubscription",0,function(e,...[l={}]){let u=(0,o.useApolloClient)(l.client),{skip:c,fetchPolicy:d,errorPolicy:h,shouldResubscribe:p,context:f,extensions:m,ignoreResults:g}=l,y=(0,i.useDeepMemo)(()=>l.variables,[l.variables]),b=()=>{var t,r,s,i,n;let o,a;return t=u,r=e,s=y,i=d,n=h,a={...o={query:r,variables:s,fetchPolicy:i,errorPolicy:n,context:f,extensions:m},client:t,completed:!1,result:{loading:!0,data:void 0,error:void 0},setResult(e){a.result=e}},Object.assign(t.subscribe(o),{__:a})},[v,w]=r.useState(l.skip?null:b),E=r.useRef(b);(0,n.useIsomorphicLayoutEffect)(()=>{E.current=b}),c?v&&w(v=null):v&&(u===v.__.client&&e===v.__.query&&d===v.__.fetchPolicy&&h===v.__.errorPolicy&&(0,t.equal)(y,v.__.variables)||("function"==typeof p?!!p(l):p)===!1)||w(v=b());let S=r.useRef(l);r.useEffect(()=>{S.current=l});let P=!c&&!g,C=r.useMemo(()=>({loading:P,error:void 0,data:void 0}),[P]),_=r.useRef(g);(0,n.useIsomorphicLayoutEffect)(()=>{_.current=g});let k=(0,a.useSyncExternalStore)(r.useCallback(e=>{if(!v)return()=>{};let t=!1,r=v.__.client,s=v.subscribe({next(s){if(t)return;let i={loading:!1,data:s.data,error:s.error};v.__.setResult(i),_.current||e(),i.error?S.current.onError?.(i.error):S.current.onData&&S.current.onData({client:r,data:i})},complete(){v.__.completed=!0,!t&&S.current.onComplete&&S.current.onComplete()}});return()=>{t=!0,setTimeout(()=>s.unsubscribe())}},[v]),()=>!v||c||g?C:v.__.result,()=>C),T=r.useCallback(()=>{(0,s.invariant)(!S.current.skip,33),v?.__.completed?w(E.current()):v?.restart()},[v,w,S,E]);return r.useMemo(()=>({...k,restart:T}),[k,T])}])},28016,e=>{"use strict";var t=e.i(271645),r=e.i(107799),s=e.i(431888),i=e.i(785),n=e.i(727692),o=e.i(769105),a=e.i(391928),l=e.i(675714),u=e.i(176911),c=e.i(479032),d=e.i(310614),h=e.i(276320);function p(e,i){let n=(0,h.useApolloClient)(i.client),o=(0,s.getSuspenseCache)(n),l=f({client:n,query:e,options:i}),{fetchPolicy:c}=l,d=(0,u.useSuspenseHookCacheKey)(e,i),p=o.getQueryRef(d,()=>n.watchQuery(l)),[m,g]=t.useState([p.key,p.promise]);m[0]!==p.key&&(m[0]=p.key,m[1]=p.promise);let y=m[1];p.didChangeOptions(l)&&(m[1]=y=p.applyOptions(l)),t.useEffect(()=>{let e=p.retain(),t=p.listen(e=>{g([p.key,e])});return()=>{t(),e()}},[p]);let b=t.useMemo(()=>{let e=p.result.error,t=!!p.result.data;return{loading:!1,data:p.result.data,dataState:p.result.dataState,networkStatus:e?r.NetworkStatus.error:r.NetworkStatus.ready,error:e,complete:t,partial:!t}},[p.result]),v="standby"===c?b:(0,a.__use)(y),w=t.useCallback(e=>{let t=p.fetchMore(e);return g([p.key,p.promise]),t},[p]),E=t.useCallback(e=>{let t=p.refetch(e);return g([p.key,p.promise]),t},[p]),S=p.observable.subscribeToMore;return t.useMemo(()=>({client:n,data:v.data,dataState:v.dataState,error:v.error,networkStatus:v.networkStatus,fetchMore:w,refetch:E,subscribeToMore:S}),[n,w,E,v,S])}function f({client:e,query:t,options:r}){return(0,l.useDeepMemo)(()=>
330{if(r===o.skipToken)return{query:t,fetchPolicy:"standby",[n.variablesUnknownSymbol]:!0};let s=r.fetchPolicy||e.defaultOptions.watchQuery?.fetchPolicy||"cache-first",a={...r,fetchPolicy:s,query:t,notifyOnNetworkStatusChange:!1,nextFetchPolicy:void 0};return i.__DEV__&&function(e){var t,r;let{fetchPolicy:s,returnPartialData:n}=e;(function(e="cache-first"){(0,d.invariant)(["cache-first","network-only","no-cache","cache-and-network"].includes(e),35,e)})(s),t=s,r=n,"no-cache"===t&&r&&i.__DEV__&&d.invariant.warn(36)}(a),r.skip&&(a.fetchPolicy="standby"),a},[e,r,t])}e.s(["useSuspenseQuery",0,function(e,t){return(0,c.wrapHook)("useSuspenseQuery",p,(0,h.useApolloClient)("object"==typeof t?t.client:void 0))(e,t??{})},"useWatchQueryOptions",0,f],28016)},431888,e=>{"use strict";var t=e.i(540059),r=e.i(869981),s=e.i(946379),i=e.i(625097);class n{observable;key={};promise;resolve;reject;subscription;listeners=new Set;autoDisposeTimeoutId;references=0;constructor(e,t,r){this.dispose=this.dispose.bind(this),this.handleNext=this.handleNext.bind(this),this.handleError=this.handleError.bind(this),this.observable=e.watchFragment(t),r.onDispose&&(this.onDispose=r.onDispose);const i=this.observable.getCurrentResult(),n=()=>{this.references||(this.autoDisposeTimeoutId=setTimeout(this.dispose,r.autoDisposeTimeoutMs??3e4))};this.promise=i.complete?(0,s.createFulfilledPromise)(i.data):this.createPendingPromise(),this.subscribeToFragment(),this.promise.then(n,n)}listen(e){return this.listeners.add(e),()=>{this.listeners.delete(e)}}retain(){this.references++,clearTimeout(this.autoDisposeTimeoutId);let e=!1;return()=>{e||(e=!0,this.references--,setTimeout(()=>{this.references||this.dispose()}))}}dispose(){this.subscription.unsubscribe()}onDispose(){}subscribeToFragment(){this.subscription=this.observable.subscribe(this.handleNext.bind(this),this.handleError.bind(this)),this.subscription.add(this.onDispose)}handleNext(e){switch(this.promise.status){case"pending":if(e.complete)return this.resolve?.(e.data);this.deliver(this.promise);break;case"fulfilled":if((0,r.equal)(this.promise.value,e.data))return;this.promise=e.complete?(0,s.createFulfilledPromise)(e.data):this.createPendingPromise(),this.deliver(this.promise)}}handleError(e){this.reject?.(e)}deliver(e){this.listeners.forEach(t=>t(e))}createPendingPromise(){return(0,i.decoratePromise)(new Promise((e,t)=>{this.resolve=e,this.reject=t}))}}var o=e.i(927490);class a{queryRefs=new t.Trie;fragmentRefs=new t.Trie;options;constructor(e={}){this.options=e}getQueryRef(e,t){let r=this.queryRefs.lookupArray(e);return r.current||(r.current=new o.InternalQueryReference(t(),{autoDisposeTimeoutMs:this.options.autoDisposeTimeoutMs,onDispose:()=>{delete r.current}})),r.current}getFragmentRef(e,t,r){let s=this.fragmentRefs.lookupArray(e);return s.current||(s.current=new n(t,r,{autoDisposeTimeoutMs:this.options.autoDisposeTimeoutMs,onDispose:()=>{delete s.current}})),s.current}add(e,t){this.queryRefs.lookupArray(e).current=t}}let l=Symbol.for("apollo.suspenseCache");e.s(["getSuspenseCache",0,function(e){return e[l]||(e[l]=new a(e.defaultOptions.react?.suspense)),e[l]}],431888)},872243,e=>{"use strict";var t=e.i(480781);let r=Symbol.for("apollo.cacheSize"),s={...t.global[r]};e.s(["cacheSizes",0,s])},125638,65842,952812,e=>{"use strict";function t(){}class r{constructor(e=1/0,r=t){this.max=e,this.dispose=r,this.map=new Map,this.newest=null,this.oldest=null}has(e){return this.map.has(e)}get(e){let t=this.getNode(e);return t&&t.value}get size(){return this.map.size}getNode(e){let t=this.map.get(e);if(t&&t!==this.newest){let{older:e,newer:r}=t;r&&(r.older=e),e&&(e.newer=r),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=r)}return t}set(e,t){let r=this.getNode(e);return r?r.value=t:(r={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=r),this.newest=r,this.oldest=this.oldest||r,this.map.set(e,r),r.value)}clean(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)}delete(e){let t=this.map.get(e);return!!t&&(t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.map.delete(e),this.dispose(t.value,e),!0)}}function s(){}e.s(["StrongCache",0,r],65842);let i="u">typeof WeakRef?WeakRef:function(e){return{deref:()=>e}}
330,n="u">typeof WeakMap?WeakMap:Map,o="u">typeof FinalizationRegistry?FinalizationRegistry:function(){return{register:s,unregister:s}};class a{constructor(e=1/0,t=s){this.max=e,this.dispose=t,this.map=new n,this.newest=null,this.oldest=null,this.unfinalizedNodes=new Set,this.finalizationScheduled=!1,this.size=0,this.finalize=()=>{let e=this.unfinalizedNodes.values();for(let t=0;t<10024;t++){let t=e.next().value;if(!t)break;this.unfinalizedNodes.delete(t);let r=t.key;delete t.key,t.keyRef=new i(r),this.registry.register(r,t,t)}this.unfinalizedNodes.size>0?queueMicrotask(this.finalize):this.finalizationScheduled=!1},this.registry=new o(this.deleteNode.bind(this))}has(e){return this.map.has(e)}get(e){let t=this.getNode(e);return t&&t.value}getNode(e){let t=this.map.get(e);if(t&&t!==this.newest){let{older:e,newer:r}=t;r&&(r.older=e),e&&(e.newer=r),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=r)}return t}set(e,t){let r=this.getNode(e);return r?r.value=t:(r={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=r),this.newest=r,this.oldest=this.oldest||r,this.scheduleFinalization(r),this.map.set(e,r),this.size++,r.value)}clean(){for(;this.oldest&&this.size>this.max;)this.deleteNode(this.oldest)}deleteNode(e){e===this.newest&&(this.newest=e.older),e===this.oldest&&(this.oldest=e.newer),e.newer&&(e.newer.older=e.older),e.older&&(e.older.newer=e.newer),this.size--;let t=e.key||e.keyRef&&e.keyRef.deref();this.dispose(e.value,t),e.keyRef?this.registry.unregister(e):this.unfinalizedNodes.delete(e),t&&this.map.delete(t)}delete(e){let t=this.map.get(e);return!!t&&(this.deleteNode(t),!0)}scheduleFinalization(e){this.unfinalizedNodes.add(e),this.finalizationScheduled||(this.finalizationScheduled=!0,queueMicrotask(this.finalize))}}e.s(["WeakCache",0,a],952812);let l=new WeakSet;function u(e){!(e.size<=(e.max||-1))&&(l.has(e)||(l.add(e),setTimeout(()=>{e.clean(),l.delete(e)},100)))}e.s(["AutoCleanedStrongCache",0,function(e,t){let s=new r(e,t);return s.set=function(e,t){let s=r.prototype.set.call(this,e,t);return u(this),s},s},"AutoCleanedWeakCache",0,function(e,t){let r=new a(e,t);return r.set=function(e,t){let r=a.prototype.set.call(this,e,t);return u(this),r},r}],125638)},946379,625097,722249,927490,95434,895426,e=>{"use strict";let t;function r(e){let t=Promise.resolve(e);return t.status="fulfilled",t.value=e,t}function s(e){return"status"in e||(e.status="pending",e.then(t=>{"pending"===e.status&&(e.status="fulfilled",e.value=t)},t=>{"pending"===e.status&&(e.status="rejected",e.reason=t)})),e}e.s(["createFulfilledPromise",0,r],946379),e.s(["decoratePromise",0,s],625097);var i=e.i(869981),n=e.i(902965),o=e.i(627608);function a(e,t){return(0,n.operate)(function(r,s){var i=0;r.subscribe((0,o.createOperatorSubscriber)(s,function(r){return e.call(t,r,i++)&&s.next(r)}))})}e.s(["filter",0,a],722249);let l=Symbol.for("apollo.internal.queryRef"),u=Symbol.for("apollo.internal.refPromise"),c=["context","errorPolicy","fetchPolicy","refetchOn","refetchWritePolicy","returnPartialData"];class d{result;key={};observable;promise;queue;subscription;listeners=new Set;autoDisposeTimeoutId;resolve;reject;references=0;softReferences=0;constructor(e,t){this.handleNext=this.handleNext.bind(this),this.dispose=this.dispose.bind(this),this.observable=e,t.onDispose&&(this.onDispose=t.onDispose),this.setResult(),this.subscribeToQuery();const r=()=>{this.references||(this.autoDisposeTimeoutId=setTimeout(this.dispose,t.autoDisposeTimeoutMs??3e4))};this.promise.then(r,r)}get disposed(){return this.subscription.closed}get watchQueryOptions(){return this.observable.options}reinitialize(){let{observable:e}=this,t=this.watchQueryOptions.fetchPolicy,r="no-cache"===t||"standby"===t;try{r?e.applyOptions({fetchPolicy:"standby"}):(e.reset(),e.applyOptions({fetchPolicy:"cache-first"})),r||this.setResult(),this.subscribeToQuery()}finally{e.applyOptions({fetchPolicy:t})}}retain(){this.references++,clearTimeout(this.autoDisposeTimeoutId);let e=!1;return()=>{e||(e=!0,this.references--,setTimeout(()=>{this.references||this.dispose()}))}}softRetain(){this.softReferences++;let e=!1;return()=>{e||(e=!0,this.softReferences--,setTimeout(()=>{this.softReferences||this.references||this.dispose()}))}}didChangeOptions(e){return c.some(t=>t in e&&!(0,i.equal)(this.watchQueryOptions[t],e[t]))}applyOptions(e){let{fetchPolicy:t}=this.watchQueryOptions;return"standby"===t&&t!==e.fetchPolicy?this.initiateFetch(this.observable.reobserve(e)):this.observable.applyOptions(e),this.promise}listen(e){return this.listeners.add(e),this.queue&&(this.deliver(this.queue),this.queue=void 0),()=>{this.listeners.delete(e)}}refetch(e){return this.initiateFetch(this.observable.refetch(e))}fetchMore(e){return this.initiateFetch(this.observable.fetchMore(e))}dispose(){this.subscription.unsubscribe()}onDispose(){}handleNext(e){if("pending"===this.promise.status)void 0===e.data&&(e.data=this.result.data,e.data&&(e.dataState="complete")),this.shouldReject(e)?this.reject?.(e.error):(this.result=e,this.resolve?.(e));else{if(e.data===this.result.data&&e.networkStatus===this.result.networkStatus)return;if(void 0===e.data&&(e.data=this.result.data),this.shouldReject(e)){var t;let r;this.promise=((r=Promise.reject(t=e.error)).catch(()=>{}),r.status="rejected",r.reason=t,r),this.deliver(this.promise)}else this.result=e,this.promise=r(e),this.deliver(this.promise)}}deliver(e){0===this.listeners.size&&(this.queue=e),this.listeners.forEac
330h(t=>t(e))}initiateFetch(e){return this.promise=this.createPendingPromise(),this.promise.catch(()=>{}),e.then(()=>{setTimeout(()=>{"pending"===this.promise.status&&(this.result=this.observable.getCurrentResult(),this.resolve?.(this.result))})}).catch(e=>this.reject?.(e)),e}subscribeToQuery(){this.subscription=this.observable.pipe(a(e=>!(0,i.equal)(e,this.result))).subscribe(this.handleNext),this.subscription.add(this.onDispose)}setResult(){let e=this.observable.getCurrentResult();(0,i.equal)(e,this.result)||(this.result=e,this.promise=e.data?r(e):this.createPendingPromise())}shouldReject(e){let{errorPolicy:t="none"}=this.watchQueryOptions;return e.error&&"none"===t}createPendingPromise(){return s(new Promise((e,t)=>{this.resolve=e,this.reject=t}))}}e.s(["InternalQueryReference",0,d,"unwrapQueryRef",0,function(e){return e[l]},"updateWrappedQueryRef",0,function(e,t){e[u]=t},"wrapQueryRef",0,function(e){return{[l]:e,[u]:e.promise}}],927490);var h=e.i(785),p=e.i(872243),f=e.i(125638);let m={};function g(e,t){m[e]=t}h.__DEV__,h.__DEV__,h.__DEV__;e.s(["registerGlobalCache",0,g],95434);let y=Object.assign(function(e){return JSON.stringify(e,b)},{reset(){t=new f.AutoCleanedStrongCache(p.cacheSizes.canonicalStringify||1e3)}});function b(e,r){if(r&&"object"==typeof r){let e=Object.getPrototypeOf(r);if(e===Object.prototype||null===e){let s=Object.keys(r);if(s.every(v))return r;let i=JSON.stringify(s),n=t.get(i);if(!n){s.sort();let e=JSON.stringify(s);n=t.get(e)||s,t.set(i,n),t.set(e,n)}let o=Object.create(e);return n.forEach(e=>{o[e]=r[e]}),o}}return r}function v(e,t,r){return 0===t||r[t-1]<=e}h.__DEV__&&g("canonicalStringify",()=>t.size),y.reset(),e.s(["canonicalStringify",0,y],895426)},991407,e=>{"use strict";e.s(["preventUnhandledRejection",0,function(e){return e.catch(()=>{}),e}])},540059,e=>{"use strict";let t=()=>Object.create(null),{forEach:r,slice:s}=Array.prototype,{hasOwnProperty:i}=Object.prototype;e.s(["Trie",0,class e{constructor(e=!0,r=t){this.weakness=e,this.makeData=r}lookup(){return this.lookupArray(arguments)}lookupArray(e){let t=this;return r.call(e,e=>t=t.getChildTrie(e)),i.call(t,"data")?t.data:t.data=this.makeData(s.call(e))}peek(){return this.peekArray(arguments)}peekArray(e){let t=this;for(let r=0,s=e.length;t&&r<s;++r){let s=t.mapFor(e[r],!1);t=s&&s.get(e[r])}return t&&t.data}remove(){return this.removeArray(arguments)}removeArray(e){let t;if(e.length){let r=e[0],i=this.mapFor(r,!1),n=i&&i.get(r);n&&(t=n.removeArray(s.call(e,1)),n.data||n.weak||n.strong&&n.strong.size||i.delete(r))}else t=this.data,delete this.data;return t}getChildTrie(t){let r=this.mapFor(t,!0),s=r.get(t);return s||r.set(t,s=new e(this.weakness,this.makeData)),s}mapFor(e,t){return this.weakness&&function(e){switch(typeof e){case"object":if(null===e)break;case"function":return!0}return!1}(e)?this.weak||(t?this.weak=new WeakMap:void 0):this.strong||(t?this.strong=new Map:void 0)}}])}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.